@thecb/components 9.2.0-beta.11 → 9.2.0-beta.13

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
@@ -27299,7 +27299,7 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
27299
27299
  var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$u);
27300
27300
 
27301
27301
  var activeColor$6 = "".concat(MATISSE_BLUE);
27302
- var inactiveColor = "".concat(GREY_CHATEAU);
27302
+ var inactiveColor = "".concat(STORM_GREY);
27303
27303
  var fallbackValues$v = {
27304
27304
  activeColor: activeColor$6,
27305
27305
  inactiveColor: inactiveColor
@@ -27332,19 +27332,21 @@ var RadioButton$1 = function RadioButton(_ref2) {
27332
27332
  var buttonBorder = {
27333
27333
  onFocused: {
27334
27334
  borderColor: themeValues.activeColor,
27335
- boxShadow: "0px 0px 4px 0px ".concat(themeValues.activeColor)
27335
+ outline: "3px solid ".concat(themeValues.activeColor),
27336
+ outlineOffset: "2px"
27336
27337
  },
27337
27338
  offFocused: {
27338
27339
  borderColor: themeValues.activeColor,
27339
- boxShadow: "0px 0px 4px 0px ".concat(themeValues.activeColor)
27340
+ outline: "3px solid ".concat(themeValues.activeColor),
27341
+ outlineOffset: "2px"
27340
27342
  },
27341
27343
  on: {
27342
27344
  borderColor: themeValues.activeColor,
27343
- boxShadow: "0px 0px 0px 0px #FFFFFF"
27345
+ outline: "0"
27344
27346
  },
27345
27347
  off: {
27346
27348
  borderColor: themeValues.inactiveColor,
27347
- boxShadow: "0px 0px 0px 0px #FFFFFF"
27349
+ outline: "0"
27348
27350
  }
27349
27351
  };
27350
27352
  var buttonCenter = {
@@ -27393,7 +27395,7 @@ var RadioButton$1 = function RadioButton(_ref2) {
27393
27395
  borderWidth: "1px",
27394
27396
  borderStyle: "solid",
27395
27397
  borderRadius: "12px",
27396
- margin: "4px 14px 4px 4px",
27398
+ margin: "6px 14px 6px 6px",
27397
27399
  height: "24px",
27398
27400
  width: "24px",
27399
27401
  variants: buttonBorder,
@@ -50341,19 +50343,19 @@ var ToastNotification = function ToastNotification(_ref) {
50341
50343
  backgroundColor = _ref.backgroundColor;
50342
50344
  return /*#__PURE__*/React__default.createElement(Box, {
50343
50345
  onClick: closeToastNotification,
50344
- background: backgroundColor ? backgroundColor : variant === VARIANTS.SUCCESS ? HINT_GREEN : variant === "error" ? ERROR_BACKGROUND_COLOR : WHITE,
50346
+ background: backgroundColor ? backgroundColor : variant === VARIANTS.SUCCESS ? HINT_GREEN : variant === VARIANTS.ERROR ? ERROR_BACKGROUND_COLOR : WHITE,
50345
50347
  minWidth: minWidth,
50346
50348
  minHeight: height && parseInt(height) < 100 ? height : "100px",
50347
50349
  height: height ? height : "auto",
50348
50350
  tabIndex: toastOpen ? "-1" : "0",
50349
50351
  padding: "0rem 1rem",
50350
50352
  borderRadius: "4px",
50351
- boxShadow: "0px 4px 4px rgba(41, 42, 51, 0.15), 0px 1px 7px rgba(41, 42, 51, 0.2), 0px 7px 12px rgba(41, 42, 51, 0.15)",
50353
+ boxShadow: generateShadows().standard.base,
50352
50354
  extraStyles: "\n display: ".concat(toastOpen ? "block" : "none", ";\n position: fixed; bottom: 4rem; left: 4rem;\n ").concat(extraStyles, ";\n cursor: pointer;\n ")
50353
50355
  }, /*#__PURE__*/React__default.createElement(Cluster, {
50354
50356
  align: "center",
50355
50357
  childGap: childGap
50356
- }, variant === "success" && /*#__PURE__*/React__default.createElement(SuccessfulIconMedium, null), variant === "error" && /*#__PURE__*/React__default.createElement(ErroredIcon, null), /*#__PURE__*/React__default.createElement(Box, {
50358
+ }, variant === VARIANTS.SUCCESS && /*#__PURE__*/React__default.createElement(SuccessfulIconMedium, null), variant === VARIANTS.ERROR && /*#__PURE__*/React__default.createElement(ErroredIcon, null), /*#__PURE__*/React__default.createElement(Box, {
50357
50359
  padding: "1rem 0",
50358
50360
  maxWidth: maxWidth
50359
50361
  }, /*#__PURE__*/React__default.createElement(Paragraph$1, {