@thecb/components 10.1.1-beta.1 → 10.1.1-beta.2

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 CHANGED
@@ -12972,7 +12972,7 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
12972
12972
  var isMobile = themeContext.isMobile;
12973
12973
  var hoverStyles = "\n outline: none;\n background-color: ".concat(themeValues.hoverBackgroundColor, ";\n border-color: ").concat(themeValues.hoverBorderColor, ";\n color: ").concat(themeValues.hoverColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n cursor: pointer;\n ");
12974
12974
  var activeStyles = "\n outline: none;\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border-color: ").concat(themeValues.activeBorderColor, ";\n color: ").concat(themeValues.activeColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n ");
12975
- var disabledStyles = "\n background-color: #6D717E;\n border-color: #6D717E;\n color: #FFFFFF;\n cursor: default;\n &:focus {\n box-shadow: 0 0 10px #6D717E;\n outline: none;\n }\n ".concat(extraDisabledStyles, "\n ");
12975
+ var disabledStyles = "\n background-color: #6D717E;\n border-color: #6D717E;\n color: #FFFFFF;\n cursor: default;\n &:focus {\n outline: 3px solid #6D717E;\n outline-offset: 2px;\n }\n ".concat(extraDisabledStyles, "\n ");
12976
12976
  return /*#__PURE__*/React__default.createElement(Box, _extends({
12977
12977
  ref: ref,
12978
12978
  variant: variant,
@@ -22162,7 +22162,7 @@ var ENTER = 13;
22162
22162
  var ESCAPE = 27;
22163
22163
  var SPACEBAR = 32;
22164
22164
 
22165
- var CheckboxContainer = styled__default.div.withConfig({
22165
+ var CheckboxContainer = styled__default.span.withConfig({
22166
22166
  displayName: "Checkbox__CheckboxContainer",
22167
22167
  componentId: "sc-36kqbv-0"
22168
22168
  })(["display:inline-block;vertical-align:middle;"]);
@@ -22185,7 +22185,7 @@ var HiddenCheckbox = styled__default.input.attrs({
22185
22185
  displayName: "Checkbox__HiddenCheckbox",
22186
22186
  componentId: "sc-36kqbv-3"
22187
22187
  })(["border:0;clip:rect(0 0 0 0);clippath:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px;"]);
22188
- var StyledCheckbox = styled__default.div.withConfig({
22188
+ var StyledCheckbox = styled__default.span.withConfig({
22189
22189
  displayName: "Checkbox__StyledCheckbox",
22190
22190
  componentId: "sc-36kqbv-4"
22191
22191
  })(["display:inline-block;width:24px;height:24px;border-radius:2px;transition:all 150ms;", "{visibility:", ";}", ";"], CheckboxIcon, function (_ref2) {
@@ -26154,11 +26154,7 @@ var FormInput = function FormInput(_ref15) {
26154
26154
  weight: themeValues.fontWeight,
26155
26155
  extraStyles: "word-break: break-word;\n font-family: Public Sans;\n &::first-letter {\n text-transform: uppercase;\n }",
26156
26156
  id: createIdFromString(labelTextWhenNoError)
26157
- }, labelTextWhenNoError), /*#__PURE__*/React__default.createElement(Text$1, {
26158
- color: themeValues.linkColor,
26159
- variant: "pS",
26160
- weight: themeValues.fontWeight
26161
- }, helperModal())) : /*#__PURE__*/React__default.createElement(Box, {
26157
+ }, labelTextWhenNoError), helperModal()) : /*#__PURE__*/React__default.createElement(Box, {
26162
26158
  padding: "0",
26163
26159
  minWidth: "100%"
26164
26160
  }, /*#__PURE__*/React__default.createElement(Cluster, {