opus-toolkit-components 0.6.4 → 0.6.6

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.
@@ -34,7 +34,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ``, "",{"version":3,"sources":[],"names
34
34
 
35
35
  /***/ }),
36
36
 
37
- /***/ 865:
37
+ /***/ 117:
38
38
  /***/ ((module, __webpack_exports__, __webpack_require__) => {
39
39
 
40
40
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
@@ -49,7 +49,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ``, "",{"version":3,"sources":[],"names
49
49
 
50
50
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
51
51
  // Module
52
- ___CSS_LOADER_EXPORT___.push([module.id, `.dark-card{color:#fff}.light-card{background-color:#fff}`, "",{"version":3,"sources":["webpack://./src/components/Cards/card.scss"],"names":[],"mappings":"AAGA,WAEI,UAAA,CAEJ,YACI,qBAAA","sourcesContent":["@import 'opus-toolkit-styles/fragments/colours';\r\n\r\n\r\n.dark-card {\r\n // background-color: $opusNavy;\r\n color: white;\r\n}\r\n.light-card {\r\n background-color: white;\r\n // color: $opusDeepBlue;\r\n}"],"sourceRoot":""}]);
52
+ ___CSS_LOADER_EXPORT___.push([module.id, `input[type=date]::-webkit-calendar-picker-indicator{display:none}`, "",{"version":3,"sources":["webpack://./src/components/Forms/Datepickers/datepicker.scss"],"names":[],"mappings":"AAAA,oDACI,YAAA","sourcesContent":["input[type=\"date\"]::-webkit-calendar-picker-indicator {\r\n display: none;\r\n}"],"sourceRoot":""}]);
53
53
  // Exports
54
54
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
55
55
 
@@ -633,21 +633,21 @@ const Accordion = _ref => {
633
633
  }
634
634
  }, [activeIndex]);
635
635
  return /*#__PURE__*/external_react_default().createElement("div", {
636
- className: "accordion rounded-md"
636
+ className: "accordion rounded-md bg-[--color-primary-bg] border border-[--color-stroke] drop-shadow-raised w-full"
637
637
  }, /*#__PURE__*/external_react_default().createElement("div", {
638
638
  className: "accordion-item rounded-lg",
639
639
  key: index
640
640
  }, /*#__PURE__*/external_react_default().createElement("div", {
641
- className: "accordion-header flex justify-between p-2",
641
+ className: "accordion-header flex justify-between p-3",
642
642
  onClick: toggle // Handle both internal and external toggles
643
643
  ,
644
644
  style: {
645
645
  cursor: "pointer"
646
646
  }
647
647
  }, /*#__PURE__*/external_react_default().createElement("h2", {
648
- className: "text-1xl text-gray-800"
648
+ className: "text-1xl text-[--color-text-strong]"
649
649
  }, title), /*#__PURE__*/external_react_default().createElement("div", null, isActive ? "-" : "+"))), isActive && /*#__PURE__*/external_react_default().createElement("div", {
650
- className: "accordion-body p-2"
650
+ className: "accordion-body border-0 border border-t-2 border-solid border-greyLight100 p-3"
651
651
  }, children));
652
652
  };
653
653
  /* harmony default export */ const Accordions_Accordion = (Accordion);
@@ -3509,9 +3509,9 @@ function Button(_ref) {
3509
3509
  } = _ref;
3510
3510
  // Define styles for button ranks
3511
3511
  const rankStyles = {
3512
- primary: 'bg-brandPink600 hover:bg-brandPink700 text-greyBaseLight',
3512
+ primary: 'bg-[--color-primary-btn] hover:bg-[--color-primary-btn-hover] text-greyBaseLight',
3513
3513
  secondary: 'bg-greyBaseDark900 hover:bg-brandPink700 text-greyBaseLight',
3514
- outline: 'bg-greyLight50 border-solid border-2 border-greyLight100 hover:border-greyLight700 hover:greyLight100 text-greyLight700',
3514
+ outline: 'bg-greyLight50 border-solid border-2 border-[--color-outline-btn] hover:border-[--color-outline-btn-hover] text-[--color-text-strong]',
3515
3515
  neutral: 'bg-greyLight50 hover:bg-greyLight100 text-greyLight700',
3516
3516
  destructive: 'bg-utilRed1000 hover:bg-utilRed800 text-greyBaseLight'
3517
3517
  };
@@ -3520,10 +3520,10 @@ function Button(_ref) {
3520
3520
  const disabledStyles = 'bg-greyLight100 text-greyLight500 cursor-not-allowed';
3521
3521
 
3522
3522
  // Icon animation style (if applicable)
3523
- const iconClassNames = "\n inline-block \n transition-transform \n ease-in-out \n duration-200\n h-5 w-5\n ".concat(iconPosition === 'right' ? 'ml-2' : 'mr-2', "\n ").concat(isIconAnimated && !isSaving ? 'group-hover:translate-x-1' : '', "\n ").concat(isSaving ? 'animate-spin' : '', " // Add spinning animation\n ");
3523
+ const iconClassNames = "inline-block \n transition-transform \n ease-in-out \n duration-200\n h-5 w-5\n ".concat(iconPosition === 'right' ? 'ml-2' : 'mr-2', "\n ").concat(isIconAnimated && !isSaving ? 'group-hover:translate-x-1' : '', "\n ").concat(isSaving ? 'animate-spin' : '', " // Add spinning animation\n ");
3524
3524
 
3525
3525
  // Main button class names
3526
- const classNames = "\n ".concat(state === 'disabled' || isSaving ? disabledStyles : rankStyles[rank] || rankStyles.primary, "\n group\n transition \n ease-in-out \n duration-700 \n rounded-lg \n px-6 \n py-2 \n text-").concat(size, " \n flex \n items-center\n justify-center\n whitespace-nowrap // Prevents text wrapping\n ").concat(isFullWidth ? 'w-full' : '', "\n ").concat(className, "\n ");
3526
+ const classNames = " \n ".concat(state === 'disabled' || isSaving ? disabledStyles : rankStyles[rank] || rankStyles.primary, "\n group \n transition \n ease-in-out \n duration-700 \n rounded-lg \n px-5 \n py-2 \n text-").concat(size, " \n flex \n items-center \n justify-center \n whitespace-nowrap // Prevents text wrapping\n ").concat(isFullWidth ? 'w-full' : '', "\n ").concat(className, "\n ");
3527
3527
  return /*#__PURE__*/external_react_default().createElement("button", {
3528
3528
  type: type,
3529
3529
  title: title,
@@ -3535,49 +3535,21 @@ function Button(_ref) {
3535
3535
  className: iconClassNames
3536
3536
  }) : iconPosition === 'left' && Icon && /*#__PURE__*/external_react_default().createElement(Icon, {
3537
3537
  className: iconClassNames
3538
- }), isSaving ? savingText : text, !isSaving && iconPosition === 'right' && Icon && /*#__PURE__*/external_react_default().createElement(Icon, {
3538
+ }), /*#__PURE__*/external_react_default().createElement("span", {
3539
+ className: isSaving ? 'ml-2' : ''
3540
+ }, isSaving ? savingText : text), !isSaving && iconPosition === 'right' && Icon && /*#__PURE__*/external_react_default().createElement(Icon, {
3539
3541
  className: iconClassNames
3540
3542
  }));
3541
3543
  }
3542
- // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/components/Cards/card.scss
3543
- var card = __webpack_require__(865);
3544
- ;// ./src/components/Cards/card.scss
3545
-
3546
-
3547
-
3548
-
3549
-
3550
-
3551
-
3552
-
3553
-
3554
-
3555
-
3556
- var card_options = {};
3557
-
3558
- card_options.styleTagTransform = (styleTagTransform_default());
3559
- card_options.setAttributes = (setAttributesWithoutAttributes_default());
3560
- card_options.insert = insertBySelector_default().bind(null, "head");
3561
- card_options.domAPI = (styleDomAPI_default());
3562
- card_options.insertStyleElement = (insertStyleElement_default());
3563
-
3564
- var card_update = injectStylesIntoStyleTag_default()(card/* default */.A, card_options);
3565
-
3566
-
3567
-
3568
-
3569
- /* harmony default export */ const Cards_card = (card/* default */.A && card/* default */.A.locals ? card/* default */.A.locals : undefined);
3570
-
3571
3544
  ;// ./src/components/Cards/Card.js
3572
3545
 
3573
-
3574
3546
  function Card(_ref) {
3575
3547
  let {
3576
3548
  mode = 'light',
3577
3549
  className = '',
3578
3550
  children
3579
3551
  } = _ref;
3580
- const cardClasses = "p-5 ".concat(mode, "-card rounded-lg shadow-lg border-solid border-2 border-greyLight100 ").concat(className);
3552
+ const cardClasses = "\n p-5 \n bg-[--color-primary-bg] \n text-[--color-text-weak] \n rounded-lg \n shadow-lg \n border-solid \n border-2 \n border-[--color-stroke] \n ".concat(className, "\n ");
3581
3553
  return /*#__PURE__*/external_react_default().createElement("div", {
3582
3554
  className: cardClasses
3583
3555
  }, children);
@@ -3616,12 +3588,12 @@ const Input = /*#__PURE__*/(0,external_react_.forwardRef)((_ref, ref) => {
3616
3588
  // Custom component to render
3617
3589
  customComponentProps = {} // Props for the custom component
3618
3590
  } = _ref;
3619
- const inputClasses = "".concat(className, " flex items-center rounded-md bg-white border ").concat(isValid ? 'border-greyLight500' : 'border-utilRed1000', " text-md font-normal text-gray-900");
3620
- const iconClasses = "h-5 w-5 ".concat(isAnimated ? 'transition-transform duration-200 group-focus-within:scale-125' : '', " text-gray-400");
3591
+ const inputClasses = "".concat(className, " flex items-center rounded-md bg-[--color-input-bg] border ").concat(isValid ? 'border-[--color-stroke]' : 'border-utilRed1000', " text-md font-normal text-[--color-text-weak]");
3592
+ const iconClasses = "h-5 w-5 ".concat(isAnimated ? 'transition-transform duration-200 group-focus-within:scale-125' : '', " text-[--color-text-weak]");
3621
3593
  return /*#__PURE__*/external_react_default().createElement("div", {
3622
3594
  className: "flex flex-col mb-4"
3623
3595
  }, /*#__PURE__*/external_react_default().createElement("label", {
3624
- className: "text-greyLight1000 mb-1 flex items-center"
3596
+ className: "text-[--color-text-weak] mb-1 flex items-center"
3625
3597
  }, label, required && /*#__PURE__*/external_react_default().createElement("span", {
3626
3598
  className: "text-utilRed1000 ml-1"
3627
3599
  }, "*")), /*#__PURE__*/external_react_default().createElement("div", {
@@ -3632,7 +3604,7 @@ const Input = /*#__PURE__*/(0,external_react_.forwardRef)((_ref, ref) => {
3632
3604
  className: iconClasses
3633
3605
  })), /*#__PURE__*/external_react_default().createElement("input", {
3634
3606
  ref: ref,
3635
- className: "w-full ".concat(Icon ? iconPosition === 'left' ? 'pl-10' : 'pr-10' : '', " bg-transparent border-none focus:ring-0 focus:outline-none rounded-md p-3"),
3607
+ className: "w-full ".concat(Icon ? iconPosition === 'left' ? 'pl-10' : 'pr-10' : '', " bg-[--color-input-bg] border-none focus:ring-0 focus:outline-none rounded-md p-3"),
3636
3608
  type: type,
3637
3609
  name: name,
3638
3610
  placeholder: placeholder,
@@ -3651,8 +3623,66 @@ const Input = /*#__PURE__*/(0,external_react_.forwardRef)((_ref, ref) => {
3651
3623
  }, errorMessage), shouldRenderCustomComponent && customComponent && /*#__PURE__*/external_react_default().createElement(customComponent, Input_objectSpread({}, customComponentProps)));
3652
3624
  });
3653
3625
  /* harmony default export */ const Inputs_Input = (Input);
3626
+ ;// ./node_modules/@heroicons/react/24/outline/esm/CalendarIcon.js
3627
+
3628
+ function CalendarIcon({
3629
+ title,
3630
+ titleId,
3631
+ ...props
3632
+ }, svgRef) {
3633
+ return /*#__PURE__*/external_react_.createElement("svg", Object.assign({
3634
+ xmlns: "http://www.w3.org/2000/svg",
3635
+ fill: "none",
3636
+ viewBox: "0 0 24 24",
3637
+ strokeWidth: 1.5,
3638
+ stroke: "currentColor",
3639
+ "aria-hidden": "true",
3640
+ "data-slot": "icon",
3641
+ ref: svgRef,
3642
+ "aria-labelledby": titleId
3643
+ }, props), title ? /*#__PURE__*/external_react_.createElement("title", {
3644
+ id: titleId
3645
+ }, title) : null, /*#__PURE__*/external_react_.createElement("path", {
3646
+ strokeLinecap: "round",
3647
+ strokeLinejoin: "round",
3648
+ d: "M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5"
3649
+ }));
3650
+ }
3651
+ const ForwardRef = /*#__PURE__*/ external_react_.forwardRef(CalendarIcon);
3652
+ /* harmony default export */ const esm_CalendarIcon = (ForwardRef);
3653
+ // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/components/Forms/Datepickers/datepicker.scss
3654
+ var datepicker = __webpack_require__(117);
3655
+ ;// ./src/components/Forms/Datepickers/datepicker.scss
3656
+
3657
+
3658
+
3659
+
3660
+
3661
+
3662
+
3663
+
3664
+
3665
+
3666
+
3667
+ var datepicker_options = {};
3668
+
3669
+ datepicker_options.styleTagTransform = (styleTagTransform_default());
3670
+ datepicker_options.setAttributes = (setAttributesWithoutAttributes_default());
3671
+ datepicker_options.insert = insertBySelector_default().bind(null, "head");
3672
+ datepicker_options.domAPI = (styleDomAPI_default());
3673
+ datepicker_options.insertStyleElement = (insertStyleElement_default());
3674
+
3675
+ var datepicker_update = injectStylesIntoStyleTag_default()(datepicker/* default */.A, datepicker_options);
3676
+
3677
+
3678
+
3679
+
3680
+ /* harmony default export */ const Datepickers_datepicker = (datepicker/* default */.A && datepicker/* default */.A.locals ? datepicker/* default */.A.locals : undefined);
3681
+
3654
3682
  ;// ./src/components/Forms/Datepickers/DatePicker.js
3655
3683
 
3684
+
3685
+
3656
3686
  function DatePicker(_ref) {
3657
3687
  let {
3658
3688
  initialDate = '',
@@ -3660,47 +3690,60 @@ function DatePicker(_ref) {
3660
3690
  isValid = true,
3661
3691
  errorMessage = "Error message",
3662
3692
  name = 'date',
3663
- // Add name prop for form identification
3664
3693
  onChange,
3665
- // Add onChange prop for passing event to parent
3666
3694
  value,
3667
3695
  className = '',
3668
3696
  title = '',
3669
- required = false // Add the required prop
3697
+ required = false
3670
3698
  } = _ref;
3671
3699
  const [selectedDate, setSelectedDate] = (0,external_react_.useState)(value || initialDate);
3700
+ const inputRef = (0,external_react_.useRef)(null); // Create a reference for the input element
3701
+
3672
3702
  (0,external_react_.useEffect)(() => {
3673
3703
  if (value !== undefined) {
3674
- setSelectedDate(value); // Sync with controlled prop if it's passed
3704
+ setSelectedDate(value);
3675
3705
  } else {
3676
- setSelectedDate(initialDate); // Fallback to initial date if uncontrolled
3706
+ setSelectedDate(initialDate);
3677
3707
  }
3678
3708
  }, [value, initialDate]);
3679
3709
  const handleDateChange = e => {
3680
3710
  setSelectedDate(e.target.value);
3681
3711
  if (onChange) {
3682
- onChange(e); // Pass the full event object to the parent component
3712
+ onChange(e);
3713
+ }
3714
+ };
3715
+ const handleIconClick = () => {
3716
+ if (inputRef.current) {
3717
+ inputRef.current.showPicker(); // Opens the native date picker (supported in modern browsers)
3683
3718
  }
3684
3719
  };
3685
- const inputClasses = "".concat(className, " flex items-center rounded-md bg-white border ").concat(isValid ? 'border-greyLight500' : 'border-utilRed1000', " p-2 text-md font-normal text-gray-900");
3686
3720
  return /*#__PURE__*/external_react_default().createElement("div", {
3687
- className: "flex flex-col mb-4"
3721
+ className: "relative flex flex-col mb-4"
3688
3722
  }, /*#__PURE__*/external_react_default().createElement("label", {
3689
- htmlFor: "date"
3723
+ htmlFor: name,
3724
+ className: "text-[--color-text-weak]"
3690
3725
  }, label, required && /*#__PURE__*/external_react_default().createElement("span", {
3691
3726
  className: "text-utilRed1000 ml-1"
3692
3727
  }, "*")), /*#__PURE__*/external_react_default().createElement("input", {
3693
3728
  type: "date",
3694
- id: "date",
3695
- name: name // Pass the name to identify the input in the event
3729
+ id: name,
3730
+ name: name,
3731
+ ref: inputRef // Assign the ref to the input
3696
3732
  ,
3697
3733
  value: selectedDate,
3698
3734
  title: title,
3699
3735
  "aria-label": title,
3700
3736
  onChange: handleDateChange,
3701
- className: inputClasses,
3702
- required: required // Apply the required attribute to the input
3703
- }), !isValid && /*#__PURE__*/external_react_default().createElement("span", {
3737
+ required: required,
3738
+ className: "w-full py-2 px-3 pr-10 rounded-md bg-[--color-input-bg] border ".concat(isValid ? 'border-[--color-stroke]' : 'border-utilRed1000', " text-md font-normal text-[--color-text-weak] ").concat(className)
3739
+ }), /*#__PURE__*/external_react_default().createElement("button", {
3740
+ type: "button",
3741
+ onClick: handleIconClick,
3742
+ className: "absolute top-1/2 right-3 transform",
3743
+ "aria-label": "Open date picker"
3744
+ }, /*#__PURE__*/external_react_default().createElement(esm_CalendarIcon, {
3745
+ className: "w-5 h-5 text-[--color-text-weak]"
3746
+ })), !isValid && /*#__PURE__*/external_react_default().createElement("span", {
3704
3747
  className: "text-utilRed1000 text-sm"
3705
3748
  }, errorMessage));
3706
3749
  }
@@ -3747,14 +3790,14 @@ const RadioButton = _ref => {
3747
3790
  return /*#__PURE__*/external_react_default().createElement("div", {
3748
3791
  className: "flex flex-col mb-4"
3749
3792
  }, /*#__PURE__*/external_react_default().createElement("label", {
3750
- className: "text-greyLight700 mb-2 flex items-center"
3793
+ className: "text-[--color-text-strong] mb-2 flex items-center"
3751
3794
  }, label, required && /*#__PURE__*/external_react_default().createElement("span", {
3752
3795
  className: "text-utilRed1000 ml-1"
3753
3796
  }, "*")), /*#__PURE__*/external_react_default().createElement("div", {
3754
3797
  className: "flex space-x-4"
3755
3798
  }, options.map(option => /*#__PURE__*/external_react_default().createElement("label", {
3756
3799
  key: option.value,
3757
- className: "cursor-pointer py-2 px-4 border rounded-lg ".concat(selectedValue === option.value ? 'bg-greyBaseDark900 text-greyBaseLight border-greyBaseDark900' : "bg-white text-greyLight700 ".concat(!isValid && selectedValue === '' ? 'border-utilRed1000' : 'border-greyLight500'), " transition duration-200")
3800
+ className: "cursor-pointer py-2 px-4 border rounded-lg ".concat(selectedValue === option.value ? 'bg-[--color-primary-btn] text-[--color-text-strong] border-[--color-stroke]' : "bg-[--color-input-bg] text-[--color-text-strong] ".concat(!isValid && selectedValue === '' ? 'border-utilRed1000' : 'border-[--color-stroke]'), " transition duration-200")
3758
3801
  }, /*#__PURE__*/external_react_default().createElement("input", {
3759
3802
  type: "radio",
3760
3803
  tabindex: tabIndex,
@@ -12065,8 +12108,8 @@ function ChevronDownIcon({
12065
12108
  clipRule: "evenodd"
12066
12109
  }));
12067
12110
  }
12068
- const ForwardRef = /*#__PURE__*/ external_react_.forwardRef(ChevronDownIcon);
12069
- /* harmony default export */ const esm_ChevronDownIcon = (ForwardRef);
12111
+ const ChevronDownIcon_ForwardRef = /*#__PURE__*/ external_react_.forwardRef(ChevronDownIcon);
12112
+ /* harmony default export */ const esm_ChevronDownIcon = (ChevronDownIcon_ForwardRef);
12070
12113
  ;// ./src/components/Forms/Dropdowns/Dropdown.jsx
12071
12114
 
12072
12115
 
@@ -12191,7 +12234,7 @@ const Navbar = _ref => {
12191
12234
  logo
12192
12235
  } = _ref;
12193
12236
  return /*#__PURE__*/external_react_default().createElement("div", {
12194
- className: "p-4 w-full bg-greyBaseDark900 navbar"
12237
+ className: "p-4 w-full bg-[--color-primary-bg] navbar"
12195
12238
  }, /*#__PURE__*/external_react_default().createElement("div", {
12196
12239
  className: "container mx-auto flex items-center justify-between"
12197
12240
  }, /*#__PURE__*/external_react_default().createElement("img", {
@@ -12199,7 +12242,7 @@ const Navbar = _ref => {
12199
12242
  alt: "Navbar Logo",
12200
12243
  className: "nav-logo"
12201
12244
  }), /*#__PURE__*/external_react_default().createElement("div", {
12202
- className: "right-content"
12245
+ className: "right-content text-[--color-text-strong]"
12203
12246
  }, children)));
12204
12247
  };
12205
12248
  /* harmony default export */ const Navbar_Navbar = (Navbar);
@@ -12242,24 +12285,25 @@ const Modal = _ref => {
12242
12285
  footerClassName = "",
12243
12286
  headerClassName = ""
12244
12287
  } = _ref;
12245
- if (!isOpen) return null;
12288
+ if (!isOpen) return true;
12246
12289
  return /*#__PURE__*/external_react_default().createElement("div", {
12247
12290
  className: "fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50"
12248
12291
  }, /*#__PURE__*/external_react_default().createElement("div", {
12249
- className: "bg-greyBaseLight rounded-lg shadow-lg w-11/12 max-w-fit p-6 ".concat(className)
12292
+ className: "bg-[--color-primary-bg] rounded-lg shadow-xl w-11/12 max-w-fit p-6 ".concat(className)
12250
12293
  }, /*#__PURE__*/external_react_default().createElement("div", {
12251
12294
  className: "flex justify-end pb-3"
12252
12295
  }, /*#__PURE__*/external_react_default().createElement("div", {
12253
12296
  onClick: onClose,
12254
- className: "hover:cursor-pointer"
12297
+ className: "hover:cursor-pointer text-[--color-text-strong]"
12255
12298
  }, /*#__PURE__*/external_react_default().createElement(esm_XMarkIcon, {
12256
- width: "24px"
12299
+ width: "24px",
12300
+ className: "text-[--color-text-strong]"
12257
12301
  }))), /*#__PURE__*/external_react_default().createElement("div", {
12258
- className: "border-b border-greyLight100 pb-4 ".concat(headerClassName)
12302
+ className: "border-b border-[--color-stroke] pb-4 text-[--color-text-strong] ".concat(headerClassName)
12259
12303
  }, header), /*#__PURE__*/external_react_default().createElement("div", {
12260
- className: "my-2"
12304
+ className: "my-2 text-[--color-text-strong]"
12261
12305
  }, body), /*#__PURE__*/external_react_default().createElement("div", {
12262
- className: "".concat(footerClassName)
12306
+ className: "text-[--color-text-weak] ".concat(footerClassName)
12263
12307
  }, footer)));
12264
12308
  };
12265
12309
  /* harmony default export */ const Modals_Modal = (Modal);
@@ -12297,4 +12341,4 @@ function Loader(_ref) {
12297
12341
  /******/ })()
12298
12342
  ;
12299
12343
  });
12300
- //# sourceMappingURL=main.150d0110766978527710.js.map
12344
+ //# sourceMappingURL=main.824df0449a5aae477ded.js.map