Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Fixed console warnings and build issue. (#1596)
Browse files Browse the repository at this point in the history
Co-authored-by: SM051274 <[email protected]>
  • Loading branch information
supreethmr and SM051274 authored Feb 6, 2023
1 parent 953c08d commit c418ab6
Show file tree
Hide file tree
Showing 16 changed files with 43 additions and 58 deletions.
3 changes: 3 additions & 0 deletions packages/terra-application-navigation/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

* Changed
* Updated jest snapshot for decorative icon changes.

## 1.60.0 - (December 13, 2022)

* Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ exports[`CompactHeader should render title element 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<IconBase
ariaLabel={null}
data-name="Layer 1"
focusable="false"
height="1em"
Expand All @@ -225,11 +224,11 @@ exports[`CompactHeader should render title element 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<svg
aria-hidden="true"
className="tui-Icon icon"
data-name="Layer 1"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -445,7 +444,6 @@ exports[`CompactHeader should render with function callbacks 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<IconBase
ariaLabel={null}
data-name="Layer 1"
focusable="false"
height="1em"
Expand All @@ -456,11 +454,11 @@ exports[`CompactHeader should render with function callbacks 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<svg
aria-hidden="true"
className="tui-Icon icon"
data-name="Layer 1"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -831,7 +829,6 @@ exports[`CompactHeader should render with ids for navigation and extension items
xmlns="http://www.w3.org/2000/svg"
>
<IconBase
ariaLabel={null}
data-name="Layer 1"
focusable="false"
height="1em"
Expand All @@ -842,11 +839,11 @@ exports[`CompactHeader should render with ids for navigation and extension items
xmlns="http://www.w3.org/2000/svg"
>
<svg
aria-hidden="true"
className="tui-Icon icon"
data-name="Layer 1"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -1161,7 +1158,6 @@ exports[`CompactHeader should render with menu callback 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<IconBase
ariaLabel={null}
data-name="Layer 1"
focusable="false"
height="1em"
Expand All @@ -1172,11 +1168,11 @@ exports[`CompactHeader should render with menu callback 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<svg
aria-hidden="true"
className="tui-Icon icon"
data-name="Layer 1"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,6 @@ exports[`Header should render with function callbacks 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<IconBase
ariaLabel={null}
className="caret-icon"
focusable="false"
height="1em"
Expand All @@ -1078,10 +1077,10 @@ exports[`Header should render with function callbacks 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<svg
aria-hidden="true"
className="tui-Icon icon is-bidi caret-icon"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -1854,7 +1853,6 @@ exports[`Header should render with navigation and extension item ids 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<IconBase
ariaLabel={null}
className="caret-icon"
focusable="false"
height="1em"
Expand All @@ -1865,10 +1863,10 @@ exports[`Header should render with navigation and extension item ids 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<svg
aria-hidden="true"
className="tui-Icon icon is-bidi caret-icon"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,6 @@ exports[`UtilityMenu should render with function callbacks 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<IconBase
ariaLabel={null}
data-name="Layer 1"
focusable="false"
height="1em"
Expand All @@ -607,11 +606,11 @@ exports[`UtilityMenu should render with function callbacks 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<svg
aria-hidden="true"
className="tui-Icon icon"
data-name="Layer 1"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -678,7 +677,6 @@ exports[`UtilityMenu should render with function callbacks 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<IconBase
ariaLabel={null}
focusable="false"
height="1em"
isBidi={false}
Expand All @@ -688,10 +686,10 @@ exports[`UtilityMenu should render with function callbacks 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<svg
aria-hidden="true"
className="tui-Icon icon"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ exports[`UtilityMenuHeaderButton should render default element 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<IconBase
ariaLabel={null}
className="IconRollup rollup-icon"
focusable="false"
height="1em"
Expand All @@ -90,10 +89,10 @@ exports[`UtilityMenuHeaderButton should render default element 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<svg
aria-hidden="true"
className="tui-Icon icon IconRollup rollup-icon"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -193,7 +192,6 @@ exports[`UtilityMenuHeaderButton should render with click callback 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<IconBase
ariaLabel={null}
className="IconRollup rollup-icon"
focusable="false"
height="1em"
Expand All @@ -204,10 +202,10 @@ exports[`UtilityMenuHeaderButton should render with click callback 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<svg
aria-hidden="true"
className="tui-Icon icon IconRollup rollup-icon"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -391,7 +389,6 @@ exports[`UtilityMenuHeaderButton should render with function callbacks 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<IconBase
ariaLabel={null}
className="caret-icon"
focusable="false"
height="1em"
Expand All @@ -402,10 +399,10 @@ exports[`UtilityMenuHeaderButton should render with function callbacks 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<svg
aria-hidden="true"
className="tui-Icon icon is-bidi caret-icon"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down
3 changes: 3 additions & 0 deletions packages/terra-date-picker/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

* Changed
* Updated jest snapshot for decorative icon changes.

## 4.75.0 - (December 13, 2022)

* Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@ exports[`correctly applies the theme context className 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<IconBase
ariaLabel={null}
className="icon-svg"
focusable="false"
height="1em"
Expand All @@ -360,10 +359,10 @@ exports[`correctly applies the theme context className 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<svg
aria-hidden="true"
className="tui-Icon icon icon-svg"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -413,10 +412,10 @@ exports[`should pass in refCallback as the ref prop of the calendar button 1`] =
class="icon"
>
<svg
aria-hidden="true"
class="tui-Icon icon icon-svg"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -738,10 +737,10 @@ exports[`should pass in refCallback as the ref prop of the calendar button 1`] =
class="icon"
>
<svg
aria-hidden="true"
class="tui-Icon icon icon-svg"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -794,7 +793,6 @@ exports[`should pass in refCallback as the ref prop of the calendar button 1`] =
xmlns="http://www.w3.org/2000/svg"
>
<IconBase
ariaLabel={null}
className="icon-svg"
focusable="false"
height="1em"
Expand All @@ -805,10 +803,10 @@ exports[`should pass in refCallback as the ref prop of the calendar button 1`] =
xmlns="http://www.w3.org/2000/svg"
>
<svg
aria-hidden="true"
className="tui-Icon icon icon-svg"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -916,10 +914,10 @@ exports[`should render a date input with isIncomplete and required props 1`] = `
class="icon"
>
<svg
aria-hidden="true"
class="tui-Icon icon icon-svg"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -1023,10 +1021,10 @@ exports[`should render a date input with isInvalid prop 1`] = `
class="icon"
>
<svg
aria-hidden="true"
class="tui-Icon icon icon-svg"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -1130,10 +1128,10 @@ exports[`should render a default date input 1`] = `
class="icon"
>
<svg
aria-hidden="true"
class="tui-Icon icon icon-svg"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -1178,10 +1176,10 @@ exports[`should render a default date input with all props 1`] = `
class="icon"
>
<svg
aria-hidden="true"
class="tui-Icon icon icon-svg"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -1526,10 +1524,10 @@ exports[`should render a default date input with all props 1`] = `
class="icon"
>
<svg
aria-hidden="true"
class="tui-Icon icon icon-svg"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -1582,7 +1580,6 @@ exports[`should render a default date input with all props 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<IconBase
ariaLabel={null}
className="icon-svg"
focusable="false"
height="1em"
Expand All @@ -1593,10 +1590,10 @@ exports[`should render a default date input with all props 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<svg
aria-hidden="true"
className="tui-Icon icon icon-svg"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 48 48"
width="1em"
xmlns="http://www.w3.org/2000/svg"
Expand Down
Loading

0 comments on commit c418ab6

Please sign in to comment.