@thecb/components 11.10.4-beta.0 → 11.10.4-beta.1
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.esm.js
CHANGED
|
@@ -25938,7 +25938,8 @@ var FormInput = function FormInput(_ref15) {
|
|
|
25938
25938
|
minWidth: "100%"
|
|
25939
25939
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
25940
25940
|
justify: "space-between",
|
|
25941
|
-
align: "center"
|
|
25941
|
+
align: "center",
|
|
25942
|
+
overflow: true
|
|
25942
25943
|
}, labelDisplayOverride ? labelDisplayOverride : /*#__PURE__*/React__default.createElement(Text$1, {
|
|
25943
25944
|
as: "label",
|
|
25944
25945
|
color: themeValues.labelColor,
|
|
@@ -25946,22 +25947,16 @@ var FormInput = function FormInput(_ref15) {
|
|
|
25946
25947
|
fontWeight: themeValues.fontWeight,
|
|
25947
25948
|
extraStyles: "word-break: break-word;\n font-family: Public Sans;\n &::first-letter {\n text-transform: uppercase;\n }",
|
|
25948
25949
|
id: createIdFromString(labelTextWhenNoError)
|
|
25949
|
-
}, labelTextWhenNoError), type === "password" && /*#__PURE__*/React__default.createElement(
|
|
25950
|
-
variant:
|
|
25951
|
-
|
|
25952
|
-
|
|
25953
|
-
hoverStyles: themeValues.hoverFocusStyles,
|
|
25954
|
-
extraStyles: "text-decoration: underline; cursor: pointer; &:focus { outline-offset: -2px; }",
|
|
25955
|
-
onClick: function onClick() {
|
|
25950
|
+
}, labelTextWhenNoError), type === "password" && /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
25951
|
+
variant: "smallGhost",
|
|
25952
|
+
text: showPassword ? "Hide" : "Show",
|
|
25953
|
+
action: function action() {
|
|
25956
25954
|
return setShowPassword(!showPassword);
|
|
25957
25955
|
},
|
|
25958
|
-
tabIndex: "0",
|
|
25959
25956
|
"aria-label": showPassword ? "Hide Password" : "Show password",
|
|
25960
|
-
"
|
|
25961
|
-
|
|
25962
|
-
|
|
25963
|
-
}
|
|
25964
|
-
}, showPassword ? "Hide" : "Show"), isMobile && decorator && /*#__PURE__*/React__default.createElement(Box, {
|
|
25957
|
+
extraStyles: "margin: 0; min-width: auto;",
|
|
25958
|
+
textExtraStyles: "color: ".concat(themeValues.linkColor, ";")
|
|
25959
|
+
}), isMobile && decorator && /*#__PURE__*/React__default.createElement(Box, {
|
|
25965
25960
|
padding: "0 0 0 auto"
|
|
25966
25961
|
}, decorator)))), /*#__PURE__*/React__default.createElement(Box, {
|
|
25967
25962
|
padding: "0"
|