@thecb/components 9.0.4-beta.2 → 9.0.4-beta.4
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 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +12 -12
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/alert/Alert.js +4 -4
- package/src/components/atoms/form-layouts/FormInput.js +0 -2
- package/src/components/molecules/partial-amount-form/PartialAmountForm.js +0 -1
package/dist/index.cjs.js
CHANGED
|
@@ -18764,7 +18764,7 @@ var Alert = function Alert(_ref) {
|
|
|
18764
18764
|
_ref$contentFullHeigh = _ref.contentFullHeight,
|
|
18765
18765
|
contentFullHeight = _ref$contentFullHeigh === void 0 ? false : _ref$contentFullHeigh,
|
|
18766
18766
|
_ref$ariaRole = _ref.ariaRole,
|
|
18767
|
-
ariaRole = _ref$ariaRole === void 0 ?
|
|
18767
|
+
ariaRole = _ref$ariaRole === void 0 ? null : _ref$ariaRole,
|
|
18768
18768
|
_ref$ariaAtomic = _ref.ariaAtomic,
|
|
18769
18769
|
ariaAtomic = _ref$ariaAtomic === void 0 ? true : _ref$ariaAtomic,
|
|
18770
18770
|
_ref$ariaLive = _ref.ariaLive,
|
|
@@ -18814,7 +18814,7 @@ var Alert = function Alert(_ref) {
|
|
|
18814
18814
|
minHeight: "100%",
|
|
18815
18815
|
onClick: onLinkClick
|
|
18816
18816
|
}, /*#__PURE__*/React__default.createElement(IconQuit, null))))));
|
|
18817
|
-
return /*#__PURE__*/React__default.createElement(Box, {
|
|
18817
|
+
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
18818
18818
|
padding: padding,
|
|
18819
18819
|
width: "100%",
|
|
18820
18820
|
minHeight: height && parseInt(height) < 100 ? height : "100px",
|
|
@@ -18824,11 +18824,14 @@ var Alert = function Alert(_ref) {
|
|
|
18824
18824
|
borderColor: themeValues.border,
|
|
18825
18825
|
borderSize: noBorder ? "0px" : "1px",
|
|
18826
18826
|
boxShadow: enableBoxShadow ? (_generateShadows = generateShadows()) === null || _generateShadows === void 0 ? void 0 : (_generateShadows$inse = _generateShadows.inset) === null || _generateShadows$inse === void 0 ? void 0 : _generateShadows$inse.base : "",
|
|
18827
|
-
extraStyles: extraStyles
|
|
18828
|
-
|
|
18829
|
-
"aria-atomic": ariaAtomic
|
|
18827
|
+
extraStyles: extraStyles
|
|
18828
|
+
}, ariaAtomic !== null ? {
|
|
18829
|
+
"aria-atomic": ariaAtomic
|
|
18830
|
+
} : {}, ariaLive !== null ? {
|
|
18830
18831
|
"aria-live": ariaLive
|
|
18831
|
-
},
|
|
18832
|
+
} : {}, ariaRole !== null ? {
|
|
18833
|
+
role: ariaRole
|
|
18834
|
+
} : {}), maxContentWidth ? /*#__PURE__*/React__default.createElement(Center, {
|
|
18832
18835
|
maxWidth: maxContentWidth
|
|
18833
18836
|
}, content) : content);
|
|
18834
18837
|
};
|
|
@@ -26055,8 +26058,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26055
26058
|
$customHeight: customHeight,
|
|
26056
26059
|
$extraStyles: extraStyles,
|
|
26057
26060
|
"data-qa": dataQa || labelTextWhenNoError,
|
|
26058
|
-
autoComplete: autocompleteValue
|
|
26059
|
-
"aria-busy": true
|
|
26061
|
+
autoComplete: autocompleteValue
|
|
26060
26062
|
}, props)) : /*#__PURE__*/React__default.createElement(InputField, _extends({
|
|
26061
26063
|
"aria-labelledby": createIdFromString(labelTextWhenNoError),
|
|
26062
26064
|
"aria-describedby": createIdFromString(labelTextWhenNoError, "error message"),
|
|
@@ -26075,8 +26077,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26075
26077
|
$customHeight: customHeight,
|
|
26076
26078
|
$extraStyles: extraStyles,
|
|
26077
26079
|
"data-qa": dataQa || labelTextWhenNoError,
|
|
26078
|
-
autoComplete: autocompleteValue
|
|
26079
|
-
"aria-busy": true
|
|
26080
|
+
autoComplete: autocompleteValue
|
|
26080
26081
|
}, props))), /*#__PURE__*/React__default.createElement("div", {
|
|
26081
26082
|
role: "status",
|
|
26082
26083
|
"aria-atomic": true
|
|
@@ -46764,8 +46765,7 @@ var PartialAmountForm = function PartialAmountForm(_ref) {
|
|
|
46764
46765
|
}, "Amount owed:", " ", /*#__PURE__*/React__default.createElement(Text$1, {
|
|
46765
46766
|
variant: "p",
|
|
46766
46767
|
weight: "600"
|
|
46767
|
-
}, displayCurrency(li.amount)))
|
|
46768
|
-
"aria-busy": true
|
|
46768
|
+
}, displayCurrency(li.amount)))
|
|
46769
46769
|
});
|
|
46770
46770
|
})));
|
|
46771
46771
|
};
|