@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.esm.js CHANGED
@@ -12964,7 +12964,7 @@ var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
12964
12964
  var isMobile = themeContext.isMobile;
12965
12965
  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 ");
12966
12966
  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 ");
12967
- 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 ");
12967
+ 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 ");
12968
12968
  return /*#__PURE__*/React.createElement(Box, _extends({
12969
12969
  ref: ref,
12970
12970
  variant: variant,
@@ -22154,7 +22154,7 @@ var ENTER = 13;
22154
22154
  var ESCAPE = 27;
22155
22155
  var SPACEBAR = 32;
22156
22156
 
22157
- var CheckboxContainer = styled.div.withConfig({
22157
+ var CheckboxContainer = styled.span.withConfig({
22158
22158
  displayName: "Checkbox__CheckboxContainer",
22159
22159
  componentId: "sc-36kqbv-0"
22160
22160
  })(["display:inline-block;vertical-align:middle;"]);
@@ -22177,7 +22177,7 @@ var HiddenCheckbox = styled.input.attrs({
22177
22177
  displayName: "Checkbox__HiddenCheckbox",
22178
22178
  componentId: "sc-36kqbv-3"
22179
22179
  })(["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;"]);
22180
- var StyledCheckbox = styled.div.withConfig({
22180
+ var StyledCheckbox = styled.span.withConfig({
22181
22181
  displayName: "Checkbox__StyledCheckbox",
22182
22182
  componentId: "sc-36kqbv-4"
22183
22183
  })(["display:inline-block;width:24px;height:24px;border-radius:2px;transition:all 150ms;", "{visibility:", ";}", ";"], CheckboxIcon, function (_ref2) {
@@ -26146,11 +26146,7 @@ var FormInput = function FormInput(_ref15) {
26146
26146
  weight: themeValues.fontWeight,
26147
26147
  extraStyles: "word-break: break-word;\n font-family: Public Sans;\n &::first-letter {\n text-transform: uppercase;\n }",
26148
26148
  id: createIdFromString(labelTextWhenNoError)
26149
- }, labelTextWhenNoError), /*#__PURE__*/React.createElement(Text$1, {
26150
- color: themeValues.linkColor,
26151
- variant: "pS",
26152
- weight: themeValues.fontWeight
26153
- }, helperModal())) : /*#__PURE__*/React.createElement(Box, {
26149
+ }, labelTextWhenNoError), helperModal()) : /*#__PURE__*/React.createElement(Box, {
26154
26150
  padding: "0",
26155
26151
  minWidth: "100%"
26156
26152
  }, /*#__PURE__*/React.createElement(Cluster, {