@thecb/components 12.0.5 → 12.0.6
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 +48 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +48 -12
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/icons/AccountsIconSmall.js +5 -1
- package/src/components/atoms/icons/FindIconSmall.js +5 -1
- package/src/components/atoms/icons/HistoryIconSmall.js +5 -1
- package/src/components/atoms/icons/PropertiesIconSmall.js +5 -1
- package/src/components/atoms/icons/SettingsIconSmall.js +5 -1
- package/src/components/atoms/icons/WalletIconSmall.js +10 -1
package/dist/index.cjs.js
CHANGED
|
@@ -14075,8 +14075,13 @@ var PaymentMethodIcon = function PaymentMethodIcon(_ref) {
|
|
|
14075
14075
|
};
|
|
14076
14076
|
var PaymentMethodIcon$1 = themeComponent(PaymentMethodIcon, "Icons", fallbackValues$2, "info");
|
|
14077
14077
|
|
|
14078
|
+
// When ariaHidden is true, aria-hidden="true" is added to the SVG, which tells
|
|
14079
|
+
// screen readers to skip this element. Use this when the icon is purely decorative
|
|
14080
|
+
// and adjacent text already conveys its meaning (e.g. an icon inside a labeled nav link).
|
|
14078
14081
|
var AccountsIconSmall = function AccountsIconSmall(_ref) {
|
|
14079
|
-
var themeValues = _ref.themeValues
|
|
14082
|
+
var themeValues = _ref.themeValues,
|
|
14083
|
+
_ref$ariaHidden = _ref.ariaHidden,
|
|
14084
|
+
ariaHidden = _ref$ariaHidden === void 0 ? true : _ref$ariaHidden;
|
|
14080
14085
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
14081
14086
|
width: "22px",
|
|
14082
14087
|
height: "22px",
|
|
@@ -14087,7 +14092,8 @@ var AccountsIconSmall = function AccountsIconSmall(_ref) {
|
|
|
14087
14092
|
style: {
|
|
14088
14093
|
display: "inline-block",
|
|
14089
14094
|
verticalAlign: "text-bottom"
|
|
14090
|
-
}
|
|
14095
|
+
},
|
|
14096
|
+
"aria-hidden": ariaHidden ? "true" : undefined
|
|
14091
14097
|
}, /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("rect", {
|
|
14092
14098
|
id: "path-1-accountssmall",
|
|
14093
14099
|
x: "0",
|
|
@@ -14254,8 +14260,13 @@ var ProfileIconSmall = function ProfileIconSmall(_ref) {
|
|
|
14254
14260
|
};
|
|
14255
14261
|
var ProfileIconSmall$1 = themeComponent(ProfileIconSmall, "Icons", fallbackValues$2, "primary");
|
|
14256
14262
|
|
|
14263
|
+
// When ariaHidden is true, aria-hidden="true" is added to the SVG, which tells
|
|
14264
|
+
// screen readers to skip this element. Use this when the icon is purely decorative
|
|
14265
|
+
// and adjacent text already conveys its meaning (e.g. an icon inside a labeled nav link).
|
|
14257
14266
|
var SettingsIconSmall = function SettingsIconSmall(_ref) {
|
|
14258
|
-
var themeValues = _ref.themeValues
|
|
14267
|
+
var themeValues = _ref.themeValues,
|
|
14268
|
+
_ref$ariaHidden = _ref.ariaHidden,
|
|
14269
|
+
ariaHidden = _ref$ariaHidden === void 0 ? true : _ref$ariaHidden;
|
|
14259
14270
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
14260
14271
|
width: "22px",
|
|
14261
14272
|
height: "22px",
|
|
@@ -14266,7 +14277,8 @@ var SettingsIconSmall = function SettingsIconSmall(_ref) {
|
|
|
14266
14277
|
style: {
|
|
14267
14278
|
display: "inline-block",
|
|
14268
14279
|
verticalAlign: "text-bottom"
|
|
14269
|
-
}
|
|
14280
|
+
},
|
|
14281
|
+
"aria-hidden": ariaHidden ? "true" : undefined
|
|
14270
14282
|
}, /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("rect", {
|
|
14271
14283
|
id: "path-1-paymentssmall",
|
|
14272
14284
|
x: "0",
|
|
@@ -14304,17 +14316,23 @@ var SettingsIconSmall = function SettingsIconSmall(_ref) {
|
|
|
14304
14316
|
};
|
|
14305
14317
|
var SettingsIconSmall$1 = themeComponent(SettingsIconSmall, "Icons", fallbackValues$2, "primary");
|
|
14306
14318
|
|
|
14319
|
+
// When ariaHidden is true, aria-hidden="true" is added to the SVG, which tells
|
|
14320
|
+
// screen readers to skip this element. Use this when the icon is purely decorative
|
|
14321
|
+
// and adjacent text already conveys its meaning (e.g. an icon inside a labeled nav link).
|
|
14307
14322
|
var WalletIconSmall = function WalletIconSmall(_ref) {
|
|
14308
14323
|
var themeValues = _ref.themeValues,
|
|
14309
14324
|
_ref$iconIndex = _ref.iconIndex,
|
|
14310
14325
|
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex,
|
|
14311
|
-
colorOverride = _ref.colorOverride
|
|
14326
|
+
colorOverride = _ref.colorOverride,
|
|
14327
|
+
_ref$ariaHidden = _ref.ariaHidden,
|
|
14328
|
+
ariaHidden = _ref$ariaHidden === void 0 ? true : _ref$ariaHidden;
|
|
14312
14329
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
14313
14330
|
width: "20",
|
|
14314
14331
|
height: "20",
|
|
14315
14332
|
viewBox: "0 0 20 20",
|
|
14316
14333
|
fill: "none",
|
|
14317
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
14334
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14335
|
+
"aria-hidden": ariaHidden ? "true" : undefined
|
|
14318
14336
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
14319
14337
|
fillRule: "evenodd",
|
|
14320
14338
|
clipRule: "evenodd",
|
|
@@ -14454,8 +14472,13 @@ var PropertiesAddIcon = function PropertiesAddIcon(_ref) {
|
|
|
14454
14472
|
};
|
|
14455
14473
|
var PropertiesAddIcon$1 = themeComponent(PropertiesAddIcon, "Icons", fallbackValues$2, "info");
|
|
14456
14474
|
|
|
14475
|
+
// When ariaHidden is true, aria-hidden="true" is added to the SVG, which tells
|
|
14476
|
+
// screen readers to skip this element. Use this when the icon is purely decorative
|
|
14477
|
+
// and adjacent text already conveys its meaning (e.g. an icon inside a labeled nav link).
|
|
14457
14478
|
var PropertiesIconSmall = function PropertiesIconSmall(_ref) {
|
|
14458
|
-
var themeValues = _ref.themeValues
|
|
14479
|
+
var themeValues = _ref.themeValues,
|
|
14480
|
+
_ref$ariaHidden = _ref.ariaHidden,
|
|
14481
|
+
ariaHidden = _ref$ariaHidden === void 0 ? true : _ref$ariaHidden;
|
|
14459
14482
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
14460
14483
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14461
14484
|
width: "22px",
|
|
@@ -14466,7 +14489,8 @@ var PropertiesIconSmall = function PropertiesIconSmall(_ref) {
|
|
|
14466
14489
|
style: {
|
|
14467
14490
|
display: "inline-block",
|
|
14468
14491
|
verticalAlign: "text-bottom"
|
|
14469
|
-
}
|
|
14492
|
+
},
|
|
14493
|
+
"aria-hidden": ariaHidden ? "true" : undefined
|
|
14470
14494
|
}, /*#__PURE__*/React__default.createElement("g", {
|
|
14471
14495
|
fill: "none",
|
|
14472
14496
|
fillRule: "evenodd",
|
|
@@ -17232,17 +17256,23 @@ var CashieringImage = function CashieringImage() {
|
|
|
17232
17256
|
})));
|
|
17233
17257
|
};
|
|
17234
17258
|
|
|
17259
|
+
// When ariaHidden is true, aria-hidden="true" is added to the SVG, which tells
|
|
17260
|
+
// screen readers to skip this element. Use this when the icon is purely decorative
|
|
17261
|
+
// and adjacent text already conveys its meaning (e.g. an icon inside a labeled nav link).
|
|
17235
17262
|
var FindIconSmall = function FindIconSmall(_ref) {
|
|
17236
17263
|
var themeValues = _ref.themeValues,
|
|
17237
17264
|
_ref$iconIndex = _ref.iconIndex,
|
|
17238
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex
|
|
17265
|
+
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex,
|
|
17266
|
+
_ref$ariaHidden = _ref.ariaHidden,
|
|
17267
|
+
ariaHidden = _ref$ariaHidden === void 0 ? true : _ref$ariaHidden;
|
|
17239
17268
|
var maskId = "find-icon-mask-".concat(iconIndex);
|
|
17240
17269
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
17241
17270
|
width: "20",
|
|
17242
17271
|
height: "20",
|
|
17243
17272
|
viewBox: "0 0 20 20",
|
|
17244
17273
|
fill: "none",
|
|
17245
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
17274
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17275
|
+
"aria-hidden": ariaHidden ? "true" : undefined
|
|
17246
17276
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
17247
17277
|
fillRule: "evenodd",
|
|
17248
17278
|
clipRule: "evenodd",
|
|
@@ -17273,14 +17303,20 @@ var FindIconSmall = function FindIconSmall(_ref) {
|
|
|
17273
17303
|
};
|
|
17274
17304
|
var FindIconSmall$1 = themeComponent(FindIconSmall, "Icons", fallbackValues$2, "primary");
|
|
17275
17305
|
|
|
17306
|
+
// When ariaHidden is true, aria-hidden="true" is added to the SVG, which tells
|
|
17307
|
+
// screen readers to skip this element. Use this when the icon is purely decorative
|
|
17308
|
+
// and adjacent text already conveys its meaning (e.g. an icon inside a labeled nav link).
|
|
17276
17309
|
var HistoryIconSmall = function HistoryIconSmall(_ref) {
|
|
17277
|
-
var themeValues = _ref.themeValues
|
|
17310
|
+
var themeValues = _ref.themeValues,
|
|
17311
|
+
_ref$ariaHidden = _ref.ariaHidden,
|
|
17312
|
+
ariaHidden = _ref$ariaHidden === void 0 ? true : _ref$ariaHidden;
|
|
17278
17313
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
17279
17314
|
width: "20",
|
|
17280
17315
|
height: "20",
|
|
17281
17316
|
viewBox: "0 0 20 20",
|
|
17282
17317
|
fill: "none",
|
|
17283
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
17318
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17319
|
+
"aria-hidden": ariaHidden ? "true" : undefined
|
|
17284
17320
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
17285
17321
|
d: "M3.33337 8.33333C3.33337 7.8731 3.70647 7.5 4.16671 7.5H15.8334C16.2936 7.5 16.6667 7.8731 16.6667 8.33333V16.6667C16.6667 17.1269 16.2936 17.5 15.8334 17.5H4.16671C3.70647 17.5 3.33337 17.1269 3.33337 16.6667V8.33333Z",
|
|
17286
17322
|
fill: themeValues.singleIconColor
|