@thecb/components 11.8.0-beta.8 → 11.8.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.cjs.js CHANGED
@@ -26839,9 +26839,10 @@ var PasswordRequirements = function PasswordRequirements(_ref) {
26839
26839
  color: RAZZMATAZZ_RED
26840
26840
  }), INPUT_STATE_VALID, {
26841
26841
  icon: /*#__PURE__*/React__default.createElement(IconValid, {
26842
- margin: "0 0.5rem 0 0"
26842
+ margin: "0 0.5rem 0 0",
26843
+ bgFill: SEA_GREEN
26843
26844
  }),
26844
- color: FOREST_GREEN
26845
+ color: SEA_GREEN
26845
26846
  });
26846
26847
  var validationMap = {
26847
26848
  charactersValidation: {
@@ -51221,7 +51222,11 @@ var Tooltip = function Tooltip(_ref) {
51221
51222
  _ref$triggerExtraStyl = _ref.triggerExtraStyles,
51222
51223
  triggerExtraStyles = _ref$triggerExtraStyl === void 0 ? "" : _ref$triggerExtraStyl,
51223
51224
  _ref$triggerButtonVar = _ref.triggerButtonVariant,
51224
- triggerButtonVariant = _ref$triggerButtonVar === void 0 ? "smallGhost" : _ref$triggerButtonVar;
51225
+ triggerButtonVariant = _ref$triggerButtonVar === void 0 ? "smallGhost" : _ref$triggerButtonVar,
51226
+ _ref$contentExtraStyl = _ref.contentExtraStyles,
51227
+ contentExtraStyles = _ref$contentExtraStyl === void 0 ? "" : _ref$contentExtraStyl,
51228
+ _ref$contentBackgroun = _ref.contentBackgroundColor,
51229
+ contentBackgroundColor = _ref$contentBackgroun === void 0 ? WHITE : _ref$contentBackgroun;
51225
51230
  var closeTimeoutRef = React.useRef(null);
51226
51231
  var _useState = React.useState(false),
51227
51232
  _useState2 = _slicedToArray(_useState, 2),
@@ -51310,8 +51315,9 @@ var Tooltip = function Tooltip(_ref) {
51310
51315
  role: "tooltip",
51311
51316
  id: tooltipID,
51312
51317
  "aria-hidden": !tooltipOpen,
51318
+ background: contentBackgroundColor,
51313
51319
  "data-qa": "tooltip-contents",
51314
- extraStyles: "\n position: absolute;\n display: ".concat(tooltipOpen ? "block" : "none", ";\n top: ").concat(top, "; \n right: ").concat(right, ";\n bottom: ").concat(bottom, ";\n left: ").concat(left, ";\n height: ").concat(height, ";\n "),
51320
+ extraStyles: "\n position: absolute;\n display: ".concat(tooltipOpen ? "block" : "none", ";\n top: ").concat(top, "; \n right: ").concat(right, ";\n bottom: ").concat(bottom, ";\n left: ").concat(left, ";\n height: ").concat(height, ";\n ").concat(contentExtraStyles, "\n "),
51315
51321
  boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
51316
51322
  border: "1px solid transparent",
51317
51323
  borderRadius: "4px",