@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "12.0.5-beta.0",
3
+ "version": "12.0.6-beta.0",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -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"
@@ -9,7 +9,7 @@ const WalletIconSmall = ({
9
9
  themeValues,
10
10
  iconIndex = 0,
11
11
  colorOverride,
12
- ariaHidden
12
+ ariaHidden = true
13
13
  }) => {
14
14
  return (
15
15
  <svg