@thecb/components 12.0.5-beta.0 → 12.0.6-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +12 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +12 -6
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/icons/AccountsIconSmall.js +1 -1
- package/src/components/atoms/icons/FindIconSmall.js +1 -1
- package/src/components/atoms/icons/HistoryIconSmall.js +1 -1
- package/src/components/atoms/icons/PropertiesIconSmall.js +1 -1
- package/src/components/atoms/icons/SettingsIconSmall.js +1 -1
- package/src/components/atoms/icons/WalletIconSmall.js +1 -1
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ import { themeComponent } from "../../../util/themeUtils";
|
|
|
5
5
|
// When ariaHidden is true, aria-hidden="true" is added to the SVG, which tells
|
|
6
6
|
// screen readers to skip this element. Use this when the icon is purely decorative
|
|
7
7
|
// and adjacent text already conveys its meaning (e.g. an icon inside a labeled nav link).
|
|
8
|
-
const AccountsIconSmall = ({ themeValues, ariaHidden }) => {
|
|
8
|
+
const AccountsIconSmall = ({ themeValues, ariaHidden = true }) => {
|
|
9
9
|
return (
|
|
10
10
|
<svg
|
|
11
11
|
width="22px"
|
|
@@ -5,7 +5,7 @@ import { themeComponent } from "../../../util/themeUtils";
|
|
|
5
5
|
// When ariaHidden is true, aria-hidden="true" is added to the SVG, which tells
|
|
6
6
|
// screen readers to skip this element. Use this when the icon is purely decorative
|
|
7
7
|
// and adjacent text already conveys its meaning (e.g. an icon inside a labeled nav link).
|
|
8
|
-
const FindIconSmall = ({ themeValues, iconIndex = 0, ariaHidden }) => {
|
|
8
|
+
const FindIconSmall = ({ themeValues, iconIndex = 0, ariaHidden = true }) => {
|
|
9
9
|
const maskId = `find-icon-mask-${iconIndex}`;
|
|
10
10
|
return (
|
|
11
11
|
<svg
|
|
@@ -5,7 +5,7 @@ import { themeComponent } from "../../../util/themeUtils";
|
|
|
5
5
|
// When ariaHidden is true, aria-hidden="true" is added to the SVG, which tells
|
|
6
6
|
// screen readers to skip this element. Use this when the icon is purely decorative
|
|
7
7
|
// and adjacent text already conveys its meaning (e.g. an icon inside a labeled nav link).
|
|
8
|
-
const HistoryIconSmall = ({ themeValues, ariaHidden }) => {
|
|
8
|
+
const HistoryIconSmall = ({ themeValues, ariaHidden = true }) => {
|
|
9
9
|
return (
|
|
10
10
|
<svg
|
|
11
11
|
width="20"
|
|
@@ -5,7 +5,7 @@ import { themeComponent } from "../../../util/themeUtils";
|
|
|
5
5
|
// When ariaHidden is true, aria-hidden="true" is added to the SVG, which tells
|
|
6
6
|
// screen readers to skip this element. Use this when the icon is purely decorative
|
|
7
7
|
// and adjacent text already conveys its meaning (e.g. an icon inside a labeled nav link).
|
|
8
|
-
const PropertiesIconSmall = ({ themeValues, ariaHidden }) => {
|
|
8
|
+
const PropertiesIconSmall = ({ themeValues, ariaHidden = true }) => {
|
|
9
9
|
return (
|
|
10
10
|
<svg
|
|
11
11
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -5,7 +5,7 @@ import { themeComponent } from "../../../util/themeUtils";
|
|
|
5
5
|
// When ariaHidden is true, aria-hidden="true" is added to the SVG, which tells
|
|
6
6
|
// screen readers to skip this element. Use this when the icon is purely decorative
|
|
7
7
|
// and adjacent text already conveys its meaning (e.g. an icon inside a labeled nav link).
|
|
8
|
-
const SettingsIconSmall = ({ themeValues, ariaHidden }) => {
|
|
8
|
+
const SettingsIconSmall = ({ themeValues, ariaHidden = true }) => {
|
|
9
9
|
return (
|
|
10
10
|
<svg
|
|
11
11
|
width="22px"
|