@luscii-healthtech/web-ui 2.48.1 → 2.48.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.
@@ -2430,7 +2430,41 @@ var List = function List(_ref) {
2430
2430
  var css_248z$5 = ".input::-ms-clear {\n display: none;\n}";
2431
2431
  styleInject(css_248z$5);
2432
2432
 
2433
- var _excluded$3 = ["withSuffix", "withPrefix", "className", "clearable", "type", "isDisabled", "width", "icon", "name", "value", "onChange", "isError", "asFormField"];
2433
+ var _excluded$3 = ["name"],
2434
+ _excluded2 = ["name"];
2435
+ var Icon = function Icon(_ref) {
2436
+ var name = _ref.name,
2437
+ iconProps = _objectWithoutPropertiesLoose(_ref, _excluded$3);
2438
+
2439
+ return /*#__PURE__*/React__default.createElement(Icons[name], iconProps);
2440
+ };
2441
+ /**
2442
+ * This is a temporary component to transition the way we pass icons to components.
2443
+ * Once all components are passed an IconKey instead of a function component we can replace it with the Icon component.
2444
+ */
2445
+
2446
+ var IconComponentOrKey = function IconComponentOrKey(props) {
2447
+ var name = props.name,
2448
+ iconProps = _objectWithoutPropertiesLoose(props, _excluded2);
2449
+
2450
+ if (isIconKey(name)) {
2451
+ return /*#__PURE__*/React__default.createElement(Icon, _extends({
2452
+ name: name
2453
+ }, iconProps));
2454
+ }
2455
+
2456
+ return /*#__PURE__*/React__default.createElement(name, iconProps);
2457
+ };
2458
+
2459
+ function isIconKey(key) {
2460
+ if (typeof key === "string") {
2461
+ return key in Icons;
2462
+ }
2463
+
2464
+ return false;
2465
+ }
2466
+
2467
+ var _excluded$4 = ["withSuffix", "withPrefix", "className", "clearable", "type", "isDisabled", "width", "icon", "name", "value", "onChange", "isError", "asFormField"];
2434
2468
  // Don't know why yet but it can be fixed later.
2435
2469
 
2436
2470
  var INPUT_TYPES = {
@@ -2460,7 +2494,7 @@ var Input = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
2460
2494
  onChange = _ref.onChange,
2461
2495
  isError = _ref.isError,
2462
2496
  asFormField = _ref.asFormField,
2463
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$3);
2497
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$4);
2464
2498
 
2465
2499
  var hasNoExtraContent = withPrefix === "" && withSuffix === "";
2466
2500
 
@@ -2520,8 +2554,9 @@ var Input = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
2520
2554
  style: {
2521
2555
  transform: "translateY(-50%)"
2522
2556
  }
2523
- }, /*#__PURE__*/React__default.createElement(icon, {
2524
- className: "w-6 h-6 text-slate-300 "
2557
+ }, /*#__PURE__*/React__default.createElement(IconComponentOrKey, {
2558
+ name: icon,
2559
+ className: "w-6 h-6 text-slate-300"
2525
2560
  })), /*#__PURE__*/React__default.createElement("input", _extends({}, otherProps, {
2526
2561
  "data-test-id": "input-" + name,
2527
2562
  name: name,
@@ -2574,7 +2609,7 @@ var Input = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
2574
2609
 
2575
2610
  var SearchInput = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
2576
2611
  return /*#__PURE__*/React__default.createElement(Input, _extends({}, props, {
2577
- icon: SearchIcon,
2612
+ icon: "SearchIcon",
2578
2613
  type: "text",
2579
2614
  width: "xl",
2580
2615
  clearable: true,
@@ -2602,7 +2637,7 @@ var Spinner = function Spinner(props) {
2602
2637
  }));
2603
2638
  };
2604
2639
 
2605
- var _excluded$4 = ["onClick", "text", "textColor", "textHoverColor", "icon", "isDisabled", "isPending", "className"];
2640
+ var _excluded$5 = ["onClick", "text", "textColor", "textHoverColor", "icon", "isDisabled", "isPending", "className"];
2606
2641
  var ButtonV2 = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
2607
2642
  var onClick = _ref.onClick,
2608
2643
  text = _ref.text,
@@ -2612,7 +2647,7 @@ var ButtonV2 = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef)
2612
2647
  isDisabled = _ref.isDisabled,
2613
2648
  isPending = _ref.isPending,
2614
2649
  className = _ref.className,
2615
- otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$4);
2650
+ otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$5);
2616
2651
 
2617
2652
  function handleClick(event) {
2618
2653
  event.stopPropagation();
@@ -2641,7 +2676,8 @@ var ButtonV2 = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef)
2641
2676
  onClick: handleClick,
2642
2677
  disabled: isDisabled,
2643
2678
  "aria-disabled": isDisabled
2644
- }), icon && !isPending && /*#__PURE__*/React__default.createElement(icon, {
2679
+ }), icon && !isPending && /*#__PURE__*/React__default.createElement(IconComponentOrKey, {
2680
+ name: icon,
2645
2681
  className: "w-6 h-6 " + textColorClass
2646
2682
  }), isPending && /*#__PURE__*/React__default.createElement("span", {
2647
2683
  className: "opacity-100",
@@ -2743,7 +2779,7 @@ var img$5 = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='utf-8'%3f%3e%3
2743
2779
  var css_248z$6 = ".cweb-loading {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.cweb-loading .cweb-loading-text {\n margin-bottom: 24px;\n}\n\n.cweb-loading.as-modal {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n z-index: 9999;\n background-color: rgba(255, 255, 255, 0.6);\n}\n\n.cweb-loading.as-modal .cweb-loading-panel {\n position: relative;\n width: 320px;\n min-height: 120px;\n border-radius: 4px;\n padding: 16px;\n box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.36);\n background-color: #ffffff;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n}\n\n.cweb-loading.as-modal .cweb-loading-panel:before {\n position: absolute;\n content: \"\";\n top: 0;\n left: 0;\n right: 0;\n z-index: 1;\n height: 3px;\n background-color: #6abfa5;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n}";
2744
2780
  styleInject(css_248z$6);
2745
2781
 
2746
- var _excluded$5 = ["asModal", "asSpinner", "className", "spinnerColor", "dataTestId"];
2782
+ var _excluded$6 = ["asModal", "asSpinner", "className", "spinnerColor", "dataTestId"];
2747
2783
  function LoadingIndicator(_ref) {
2748
2784
  var _ref$asModal = _ref.asModal,
2749
2785
  asModal = _ref$asModal === void 0 ? false : _ref$asModal,
@@ -2755,7 +2791,7 @@ function LoadingIndicator(_ref) {
2755
2791
  spinnerColor = _ref$spinnerColor === void 0 ? "blue" : _ref$spinnerColor,
2756
2792
  _ref$dataTestId = _ref.dataTestId,
2757
2793
  dataTestId = _ref$dataTestId === void 0 ? "loading-indicator" : _ref$dataTestId,
2758
- restProps = _objectWithoutPropertiesLoose(_ref, _excluded$5);
2794
+ restProps = _objectWithoutPropertiesLoose(_ref, _excluded$6);
2759
2795
 
2760
2796
  var spinnerToRender = spinnerColor === "blue" ? img$4 : img$5;
2761
2797
  var containerClassName = classNames("cweb-loading", className, {
@@ -2774,7 +2810,7 @@ function LoadingIndicator(_ref) {
2774
2810
  }));
2775
2811
  }
2776
2812
 
2777
- var _excluded$6 = ["localisations", "buttonProps", "accordionItems", "isSearchEnabled", "isLoading"];
2813
+ var _excluded$7 = ["localisations", "buttonProps", "accordionItems", "isSearchEnabled", "isLoading"];
2778
2814
  var AccordionList = function AccordionList(_ref) {
2779
2815
  var _ref$localisations = _ref.localisations,
2780
2816
  title = _ref$localisations.title,
@@ -2788,7 +2824,7 @@ var AccordionList = function AccordionList(_ref) {
2788
2824
  isSearchEnabled = _ref$isSearchEnabled === void 0 ? false : _ref$isSearchEnabled,
2789
2825
  _ref$isLoading = _ref.isLoading,
2790
2826
  isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
2791
- accordionProps = _objectWithoutPropertiesLoose(_ref, _excluded$6);
2827
+ accordionProps = _objectWithoutPropertiesLoose(_ref, _excluded$7);
2792
2828
 
2793
2829
  var _useState = React.useState(""),
2794
2830
  searchString = _useState[0],
@@ -3103,7 +3139,7 @@ var BUTTON_ROLES = {
3103
3139
  ICON: "icon"
3104
3140
  };
3105
3141
 
3106
- var _excluded$7 = ["text", "role", "type", "title", "link", "isPending", "isDisabled", "onClick", "className", "iconName", "hasIcon", "dynamicIcon"];
3142
+ var _excluded$8 = ["text", "role", "type", "title", "link", "isPending", "isDisabled", "onClick", "className", "iconName", "hasIcon", "dynamicIcon"];
3107
3143
 
3108
3144
  function Button(props) {
3109
3145
  var _props$text = props.text,
@@ -3128,7 +3164,7 @@ function Button(props) {
3128
3164
  _props$hasIcon = props.hasIcon,
3129
3165
  hasIconProps = _props$hasIcon === void 0 ? false : _props$hasIcon,
3130
3166
  dynamicIcon = props.dynamicIcon,
3131
- otherAttributes = _objectWithoutPropertiesLoose(props, _excluded$7);
3167
+ otherAttributes = _objectWithoutPropertiesLoose(props, _excluded$8);
3132
3168
 
3133
3169
  var hasAddIcon = className.includes("add-button");
3134
3170
  var hasEditIcon = className.includes("edit-button");
@@ -3498,7 +3534,8 @@ var ConfirmationDialogTitle = function ConfirmationDialogTitle(props) {
3498
3534
  className: classNames("flex flex-col space-y-2 text-center", {
3499
3535
  "items-center justify-center": (_props$title = props.title) == null ? void 0 : _props$title.icon
3500
3536
  })
3501
- }, props.title.icon && /*#__PURE__*/React__default.createElement(props.title.icon, {
3537
+ }, props.title.icon && /*#__PURE__*/React__default.createElement(IconComponentOrKey, {
3538
+ name: props.title.icon,
3502
3539
  className: "text-blue-800 dialog-header-icon h-12 w-12"
3503
3540
  }), /*#__PURE__*/React__default.createElement(Title, {
3504
3541
  text: props.title.title,
@@ -3604,7 +3641,7 @@ NotificationBanner.defaultProps = {
3604
3641
  var css_248z$a = ".radio-form-field-label input[type=\"radio\"]:checked + .radio-circle {\n --bg-opacity: 1;\n background-color: #0074DD;\n background-color: rgba(0, 116, 221, var(--bg-opacity));\n}\n\n.radio-form-field-label[data-has-error=\"true\"] .radio-circle {\n --border-opacity: 1;\n border-color: #c53030;\n border-color: rgba(197, 48, 48, var(--border-opacity));\n outline: 4px solid rgba(255, 98, 102, 0.3);\n outline-offset: 0;\n}\n\n.radio-form-field-label\n input[type=\"radio\"]:checked\n + .radio-circle\n .radio-inner-circle {\n --bg-opacity: 1;\n background-color: #fff;\n background-color: rgba(255, 255, 255, var(--bg-opacity));\n}\n";
3605
3642
  styleInject(css_248z$a);
3606
3643
 
3607
- var _excluded$8 = ["text", "info", "isError", "innerRef", "className", "name"];
3644
+ var _excluded$9 = ["text", "info", "isError", "innerRef", "className", "name"];
3608
3645
 
3609
3646
  function RadioInner(_ref) {
3610
3647
  var text = _ref.text,
@@ -3613,7 +3650,7 @@ function RadioInner(_ref) {
3613
3650
  innerRef = _ref.innerRef,
3614
3651
  className = _ref.className,
3615
3652
  name = _ref.name,
3616
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$8);
3653
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$9);
3617
3654
 
3618
3655
  var value = otherProps.value,
3619
3656
  disabled = otherProps.disabled;
@@ -3666,14 +3703,14 @@ var RadioV2 = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
3666
3703
  }));
3667
3704
  });
3668
3705
 
3669
- var _excluded$9 = ["innerRef", "options", "defaultValue", "title"];
3706
+ var _excluded$a = ["innerRef", "options", "defaultValue", "title"];
3670
3707
 
3671
3708
  function RadioGroupInner(_ref) {
3672
3709
  var innerRef = _ref.innerRef,
3673
3710
  options = _ref.options,
3674
3711
  defaultValue = _ref.defaultValue,
3675
3712
  title = _ref.title,
3676
- registerProps = _objectWithoutPropertiesLoose(_ref, _excluded$9);
3713
+ registerProps = _objectWithoutPropertiesLoose(_ref, _excluded$a);
3677
3714
 
3678
3715
  return /*#__PURE__*/React__default.createElement("div", {
3679
3716
  className: classNames("flex flex-col space-y-2"),
@@ -3746,11 +3783,11 @@ var ConfirmationDialogMessage = function ConfirmationDialogMessage(props) {
3746
3783
  }));
3747
3784
  };
3748
3785
 
3749
- var _excluded$a = ["dataTestId"];
3786
+ var _excluded$b = ["dataTestId"];
3750
3787
  var ConfirmationDialog = function ConfirmationDialog(_ref) {
3751
3788
  var _ref$dataTestId = _ref.dataTestId,
3752
3789
  dataTestId = _ref$dataTestId === void 0 ? "confirmation-dialog-modal" : _ref$dataTestId,
3753
- props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
3790
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
3754
3791
 
3755
3792
  var choices = props.choices;
3756
3793
 
@@ -3814,7 +3851,7 @@ var ConfirmationDialog = function ConfirmationDialog(_ref) {
3814
3851
  var css_248z$b = ".cweb-box-shadow-default {\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 0 2px 0 rgba(0, 0, 0, 0.12);\n}\n\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n .cweb-box-shadow-default {\n box-shadow: 0 2px 2px 1px rgba(0, 0, 0, 0.24), 0 0 2px 1px rgba(0, 0, 0, 0.12);\n }\n}\n\n.cweb-datepicker {\n width: 182px;\n height: 44px;\n border: 1px solid #cccccc;\n border-radius: 4px;\n background-color: #ffffff;\n outline: none;\n padding: 12px 12px 11px 12px;\n}\n\n.cweb-datepicker input.cweb-datepicker {\n font-size: 14px;\n}\n\n.cweb-datepicker:-ms-input-placeholder {\n color: #64748b;\n}\n\n.cweb-datepicker::placeholder {\n color: #64748b;\n}\n\n.cweb-datepicker:-ms-input-placeholder {\n color: #64748b !important;\n}\n\n.cweb-datepicker::-ms-input-placeholder {\n color: #64748b;\n}\n\n.react-datepicker-popper {\n z-index: 5;\n}\n\n.react-datepicker-popper[data-placement^=bottom] {\n margin-top: 4px;\n}\n\n.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {\n border-bottom-color: #ffffff;\n margin-top: -4px;\n}\n\n.react-datepicker-popper[data-placement^=top] {\n margin-bottom: 4px;\n}\n\n.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {\n border-top-color: #ffffff;\n margin-bottom: -4px;\n}\n\n.cweb-datepicker-calendar {\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);\n padding: 0;\n border: 1px solid #cccccc;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n}\n\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n .cweb-datepicker-calendar {\n box-shadow: 0 4px 8px 1px rgba(0, 0, 0, 0.2);\n }\n}\n\n.cweb-datepicker-calendar .react-datepicker__triangle {\n left: 10px;\n border: 6px solid transparent;\n}\n\n.cweb-datepicker-calendar .react-datepicker__navigation {\n top: 19px;\n width: 19px;\n height: 10px;\n background: url(\"data:image/svg+xml,%3Csvg width%3D%2210%22 height%3D%227%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E %3Cpath d%3D%22M0 1.5L1.5 0 5 3.5 8.5 0 10 1.5l-5 5z%22 fill%3D%22%231D9BD8%22 fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E\") no-repeat center;\n}\n\n.cweb-datepicker-calendar .react-datepicker__navigation.react-datepicker__navigation--previous {\n border: 0;\n transform: rotate(90deg);\n}\n\n.cweb-datepicker-calendar .react-datepicker__navigation.react-datepicker__navigation--next {\n border: 0;\n transform: rotate(-90deg);\n}\n\n.cweb-datepicker-calendar .react-datepicker__time-container .react-datepicker__time-box {\n width: auto;\n}\n\n.cweb-datepicker-calendar .react-datepicker__time-container .react-datepicker__time-list {\n overflow-x: hidden;\n}\n\n.cweb-datepicker-calendar .react-datepicker__time-container .react-datepicker__time-list-item {\n font-family: \"Inter\", \"Roboto\", sans-serif;\n font-size: 14px;\n font-weight: normal;\n line-height: 19px;\n color: #1e293b;\n margin: 0;\n display: flex;\n justify-content: center;\n flex-direction: row;\n align-items: center;\n height: 40px !important;\n padding: 0 !important;\n}\n\n.cweb-datepicker-calendar .react-datepicker__time-container .react-datepicker__time-list-item.react-datepicker__time-list-item--selected {\n color: #ffffff;\n background-color: #0074dd !important;\n position: relative;\n}\n\n.cweb-datepicker-calendar .react-datepicker__time-container .react-datepicker__time-list-item.react-datepicker__time-list-item--selected:hover {\n background-color: #045baa !important;\n}\n\n.cweb-datepicker-calendar .react-datepicker__time-container .react-datepicker__time-list-item.react-datepicker__time-list-item--selected:before {\n content: \"\";\n position: absolute;\n bottom: -3px;\n right: 0;\n left: initial;\n top: initial;\n border-style: solid;\n border-width: 6px 6px 6px 0;\n border-color: transparent #ffffff transparent transparent;\n transform: rotate(-135deg);\n}\n\n.cweb-datepicker-calendar .react-datepicker__header {\n padding-top: 0;\n border: none;\n background-color: #ffffff;\n font-size: 14px;\n}\n\n.cweb-datepicker-calendar .react-datepicker__header .react-datepicker__current-month {\n font-family: \"Inter\", \"Roboto\", sans-serif;\n font-size: 14px;\n font-weight: 600;\n line-height: 19px;\n color: #2d2d2d;\n margin: 0;\n padding-top: 16px;\n padding-bottom: 16px;\n text-transform: capitalize;\n}\n\n.cweb-datepicker-calendar .react-datepicker__header .react-datepicker__header__dropdown {\n margin-bottom: 15px;\n}\n\n.cweb-datepicker-calendar .react-datepicker__header .react-datepicker__month-select,\n.cweb-datepicker-calendar .react-datepicker__header .react-datepicker__year-select {\n font-family: \"Inter\", \"Roboto\", sans-serif;\n font-size: 14px;\n font-weight: normal;\n line-height: 19px;\n color: #1e293b;\n margin: 0;\n height: 44px;\n padding-left: 12px;\n border-radius: 4px;\n background: #ffffff url(\"data:image/svg+xml,%3Csvg width%3D%228%22 height%3D%2214%22 viewBox%3D%220 0 8 14%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M4 0C4.26522 5.96046e-08 4.51957 0.105357 4.70711 0.292893L7.70711 3.29289C8.09763 3.68342 8.09763 4.31658 7.70711 4.70711C7.31658 5.09763 6.68342 5.09763 6.29289 4.70711L4 2.41421L1.70711 4.70711C1.31658 5.09763 0.683417 5.09763 0.292893 4.70711C-0.0976311 4.31658 -0.097631 3.68342 0.292893 3.29289L3.29289 0.292893C3.48043 0.105357 3.73478 0 4 0ZM0.292893 9.29289C0.683417 8.90237 1.31658 8.90237 1.70711 9.29289L4 11.5858L6.29289 9.29289C6.68342 8.90237 7.31658 8.90237 7.70711 9.29289C8.09763 9.68342 8.09763 10.3166 7.70711 10.7071L4.70711 13.7071C4.31658 14.0976 3.68342 14.0976 3.29289 13.7071L0.292893 10.7071C-0.0976311 10.3166 -0.0976311 9.68342 0.292893 9.29289Z%22 fill%3D%22%239CA3AF%22%2F%3E%3C%2Fsvg%3E\") no-repeat right 8px center;\n text-transform: capitalize;\n -webkit-appearance: none;\n -moz-appearance: none;\n border: 1px solid #cccccc;\n transition: all 0.4s ease;\n}\n\n.cweb-datepicker-calendar .react-datepicker__header .react-datepicker__month-select:hover, .cweb-datepicker-calendar .react-datepicker__header .react-datepicker__month-select:focus,\n.cweb-datepicker-calendar .react-datepicker__header .react-datepicker__year-select:hover,\n.cweb-datepicker-calendar .react-datepicker__header .react-datepicker__year-select:focus {\n color: #0074dd;\n border-color: #0074dd;\n cursor: pointer;\n}\n\n.cweb-datepicker-calendar .react-datepicker__header .react-datepicker__month-select {\n min-width: 172px;\n}\n\n.cweb-datepicker-calendar .react-datepicker__header .react-datepicker__year-select {\n min-width: 107px;\n}\n\n.cweb-datepicker-calendar .react-datepicker__header.react-datepicker__header--time {\n display: flex;\n justify-content: center;\n flex-direction: row;\n align-items: center;\n height: 52px;\n padding: 0;\n background-color: #f3f3f3;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day-names,\n.cweb-datepicker-calendar .react-datepicker__month {\n margin: 0.4rem;\n}\n\n.cweb-datepicker-calendar .react-datepicker__month {\n padding-bottom: 8px;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day-names,\n.cweb-datepicker-calendar .react-datepicker__week {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day-name,\n.cweb-datepicker-calendar .react-datepicker__day {\n font-family: \"Inter\", \"Roboto\", sans-serif;\n font-size: 14px;\n font-weight: normal;\n line-height: 19px;\n color: #1e293b;\n margin: 0;\n width: 41px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day-name {\n height: 19px;\n text-transform: capitalize;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day {\n height: 30px;\n border-radius: 4px;\n transition: background-color 0.3s ease-in-out;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--highlighted {\n background-color: #ffffff;\n color: #0074dd;\n position: relative;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--highlighted:after {\n content: \"\";\n position: absolute;\n width: 4px;\n height: 4px;\n border-radius: 50%;\n background-color: #0074dd;\n left: 0;\n right: 0;\n bottom: 2px;\n margin: 0 auto;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--highlighted.react-datepicker__day--selected:after, .cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--highlighted.react-datepicker__day--keyboard-selected:after, .cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--highlighted.react-datepicker__day--in-range:after {\n background-color: #ffffff;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--today {\n font-weight: bold;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--in-selecting-range {\n background-color: #e8f5fc;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day:hover {\n background-color: #f8fafc;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--in-range, .cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--selected {\n color: #ffffff;\n background-color: #0074dd;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--in-range:hover, .cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--selected:hover {\n background-color: #045baa;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--keyboard-selected {\n color: #ffffff;\n background-color: #045baa;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--selected {\n position: relative;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--range-start {\n position: relative;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--range-start:before {\n content: \"\";\n position: absolute;\n top: -3px;\n left: 0;\n bottom: initial;\n right: initial;\n border-style: solid;\n border-width: 6px 6px 6px 0;\n border-color: transparent #ffffff transparent transparent;\n transform: rotate(45deg);\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--range-end {\n position: relative;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--range-end:before {\n content: \"\";\n position: absolute;\n bottom: -3px;\n right: 0;\n left: initial;\n top: initial;\n border-style: solid;\n border-width: 6px 6px 6px 0;\n border-color: transparent #ffffff transparent transparent;\n transform: rotate(-135deg);\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--disabled {\n color: #cccccc;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--disabled:hover {\n background-color: #ffffff;\n}\n\n.cweb-datepicker-calendar .react-datepicker__day.react-datepicker__day--outside-month {\n color: #cccccc;\n}";
3815
3852
  styleInject(css_248z$b);
3816
3853
 
3817
- var _excluded$b = ["className", "hasCloseButton", "closeButtonText", "adjustDateOnChange", "showMonthDropdown", "showYearDropdown", "shouldCloseOnSelect", "allowSameDay", "minDate", "maxDate", "isDisabled", "selected"];
3854
+ var _excluded$c = ["className", "hasCloseButton", "closeButtonText", "adjustDateOnChange", "showMonthDropdown", "showYearDropdown", "shouldCloseOnSelect", "allowSameDay", "minDate", "maxDate", "isDisabled", "selected"];
3818
3855
 
3819
3856
  var Datepicker = /*#__PURE__*/function (_Component) {
3820
3857
  _inheritsLoose(Datepicker, _Component);
@@ -3869,7 +3906,7 @@ var Datepicker = /*#__PURE__*/function (_Component) {
3869
3906
  _this$props2$isDisabl = _this$props2.isDisabled,
3870
3907
  isDisabled = _this$props2$isDisabl === void 0 ? false : _this$props2$isDisabl,
3871
3908
  selected = _this$props2.selected,
3872
- otherProps = _objectWithoutPropertiesLoose(_this$props2, _excluded$b);
3909
+ otherProps = _objectWithoutPropertiesLoose(_this$props2, _excluded$c);
3873
3910
 
3874
3911
  var dateFormat = this.getDateFormat();
3875
3912
  var pickerClassName = classNames("cweb-datepicker text-slate-800 text-sm", className);
@@ -3930,7 +3967,7 @@ var img$g = "data:image/svg+xml,%3csvg width='8' height='14' viewBox='0 0 8 14'
3930
3967
  var css_248z$c = ".cweb-box-shadow-default {\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 0 2px 0 rgba(0, 0, 0, 0.12);\n}\n\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n .cweb-box-shadow-default {\n box-shadow: 0 2px 2px 1px rgba(0, 0, 0, 0.24), 0 0 2px 1px rgba(0, 0, 0, 0.12);\n }\n}\n\n.cweb-dropdown {\n display: flex;\n justify-content: flex-start;\n flex-direction: column;\n align-items: flex-start;\n position: relative;\n outline: none;\n border-radius: 4px;\n}\n\n.cweb-dropdown:focus {\n outline: 4px solid rgba(0, 159, 227, 0.3);\n}\n\n.cweb-dropdown > .dropdown-header {\n display: flex;\n justify-content: space-between;\n flex-direction: row;\n align-items: center;\n align-self: stretch;\n height: 44px;\n border-radius: 4px;\n transition: all 0.4s ease;\n}\n\n.cweb-dropdown > .dropdown-header > .dropdown-header-icon {\n opacity: 0.5;\n transition: opacity 0.3s ease-in-out;\n}\n\n.cweb-dropdown > .dropdown-header:hover > .dropdown-header-icon {\n opacity: 1;\n}\n\n.cweb-dropdown > .dropdown-list {\n box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.56);\n display: none;\n position: absolute;\n top: 100%;\n z-index: 1;\n width: 100%;\n max-height: 360px;\n overflow-y: auto;\n align-self: stretch;\n margin-top: 8px;\n padding: 0;\n background-color: #ffffff;\n list-style: none;\n border: 1px solid #d1d5db;\n border-radius: 4px;\n}\n\n.cweb-dropdown > .dropdown-list > .dropdown-list-item {\n cursor: pointer;\n}\n\n.cweb-dropdown > .dropdown-list > .dropdown-list-item-group > .dropdown-list-item {\n cursor: pointer;\n}\n\n.cweb-dropdown.is-open > .dropdown-list {\n display: block;\n margin-bottom: 32px;\n}\n\n.cweb-dropdown.is-open > .dropdown-list.wider {\n width: 200%;\n}";
3931
3968
  styleInject(css_248z$c);
3932
3969
 
3933
- var _excluded$c = ["placeholder", "className", "initialSelectedItemId", "onItemSelect", "items", "wider"];
3970
+ var _excluded$d = ["placeholder", "className", "initialSelectedItemId", "onItemSelect", "items", "wider"];
3934
3971
  var ITEM_QUERY_FIELD_NAMES = {
3935
3972
  ID: "id",
3936
3973
  HIGHLIGHT_INDEX: "highlightIndex"
@@ -4202,7 +4239,7 @@ var Dropdown = /*#__PURE__*/function (_PureComponent) {
4202
4239
  _this$props$placehold = _this$props.placeholder,
4203
4240
  placeholder = _this$props$placehold === void 0 ? "" : _this$props$placehold,
4204
4241
  className = _this$props.className,
4205
- otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded$c);
4242
+ otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded$d);
4206
4243
  /* eslint-enable @typescript-eslint/no-unused-vars */
4207
4244
 
4208
4245
 
@@ -4297,7 +4334,7 @@ Dropdown.propTypes = {
4297
4334
  var css_248z$d = ".cweb-error-block {\n position: relative;\n padding: 16px 16px 16px 56px;\n background-color: #fff1f1;\n border-radius: 8px;\n}\n\n.cweb-error-block:before {\n content: \"\";\n position: absolute;\n left: 16px;\n top: 14px;\n z-index: 1;\n width: 24px;\n height: 23px;\n background: url(\"data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E %3Cg fill%3D%22none%22 fill-rule%3D%22evenodd%22%3E %3Ccircle cx%3D%2212%22 cy%3D%2212%22 r%3D%2212%22 fill%3D%22%23FF6266%22%2F%3E %3Ccircle cx%3D%2212%22 cy%3D%2217%22 r%3D%222%22 fill%3D%22%23FFF%22%2F%3E %3Crect width%3D%224%22 height%3D%2210%22 x%3D%2210%22 y%3D%224%22 fill%3D%22%23FFF%22 rx%3D%222%22%2F%3E %3C%2Fg%3E%3C%2Fsvg%3E\") no-repeat center;\n background-size: contain;\n}";
4298
4335
  styleInject(css_248z$d);
4299
4336
 
4300
- var _excluded$d = ["message", "className"];
4337
+ var _excluded$e = ["message", "className"];
4301
4338
  ErrorBlock.propTypes = {
4302
4339
  message: PropTypes.string.isRequired,
4303
4340
  className: PropTypes.string
@@ -4307,7 +4344,7 @@ function ErrorBlock(_ref) {
4307
4344
  var message = _ref.message,
4308
4345
  _ref$className = _ref.className,
4309
4346
  className = _ref$className === void 0 ? "" : _ref$className,
4310
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$d);
4347
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$e);
4311
4348
 
4312
4349
  var containerClassName = classNames("cweb-error-block", className);
4313
4350
  return /*#__PURE__*/React__default.createElement("div", {
@@ -4641,7 +4678,7 @@ var PaginationMenuSmall = function PaginationMenuSmall(props) {
4641
4678
  var css_248z$f = ".customized-select [class*=IndicatorsContainer] {\n background: url(\"data:image/svg+xml,%3Csvg width%3D%228%22 height%3D%2214%22 viewBox%3D%220 0 8 14%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M4 0C4.26522 5.96046e-08 4.51957 0.105357 4.70711 0.292893L7.70711 3.29289C8.09763 3.68342 8.09763 4.31658 7.70711 4.70711C7.31658 5.09763 6.68342 5.09763 6.29289 4.70711L4 2.41421L1.70711 4.70711C1.31658 5.09763 0.683417 5.09763 0.292893 4.70711C-0.0976311 4.31658 -0.097631 3.68342 0.292893 3.29289L3.29289 0.292893C3.48043 0.105357 3.73478 0 4 0ZM0.292893 9.29289C0.683417 8.90237 1.31658 8.90237 1.70711 9.29289L4 11.5858L6.29289 9.29289C6.68342 8.90237 7.31658 8.90237 7.70711 9.29289C8.09763 9.68342 8.09763 10.3166 7.70711 10.7071L4.70711 13.7071C4.31658 14.0976 3.68342 14.0976 3.29289 13.7071L0.292893 10.7071C-0.0976311 10.3166 -0.0976311 9.68342 0.292893 9.29289Z%22 fill%3D%22%239CA3AF%22%2F%3E%3C%2Fsvg%3E\") no-repeat center;\n opacity: 0.5;\n transition: opacity 0.3s ease-in-out;\n margin-right: 0.75rem;\n}\n\n.customized-select [class*=IndicatorsContainer] svg {\n display: none;\n}\n\n.customized-select [class*=MenuList] [class*=option]::after {\n position: absolute;\n content: \"\";\n background: url(\"data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2216%22 height%3D%2216%22 viewBox%3D%220 0 16 16%22%3E %3Cg transform%3D%22translate(1.5%2C 0.5)%22%3E %3Cpath fill%3D%22none%22 fill-rule%3D%22evenodd%22 stroke%3D%22%230074DD%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22 stroke-width%3D%222%22 d%3D%22M12.643 3.357L6.03 9.97l-2.674 2.674L0 9.286%22%2F%3E %3C%2Fg%3E%3C%2Fsvg%3E\") no-repeat center;\n right: 12px;\n height: 1rem;\n width: 1rem;\n}";
4642
4679
  styleInject(css_248z$f);
4643
4680
 
4644
- var _excluded$e = ["isError", "styles", "options", "onChange", "value", "width", "isMulti", "className"];
4681
+ var _excluded$f = ["isError", "styles", "options", "onChange", "value", "width", "isMulti", "className"];
4645
4682
 
4646
4683
  function generateCustomStyles(hasError, isIE11) {
4647
4684
  return {
@@ -4762,7 +4799,7 @@ var Select = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
4762
4799
  width = _ref$width === void 0 ? "full" : _ref$width,
4763
4800
  isMulti = _ref.isMulti,
4764
4801
  className = _ref.className,
4765
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$e);
4802
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$f);
4766
4803
 
4767
4804
  var isIE11 = "MSInputMethodContext" in window && "documentMode" in document;
4768
4805
  var customStyles = generateCustomStyles(isError, isIE11);
@@ -4960,7 +4997,7 @@ var TableFooter = function TableFooter(props) {
4960
4997
  }, props.paginationMenuProps)))));
4961
4998
  };
4962
4999
 
4963
- var _excluded$f = ["items", "fieldConfigurations", "emptyRowsText", "emptyFieldContentText", "isLoading", "showHeader", "paginationMenuProps", "onRowClick", "className", "dataTestId"];
5000
+ var _excluded$g = ["items", "fieldConfigurations", "emptyRowsText", "emptyFieldContentText", "isLoading", "showHeader", "paginationMenuProps", "onRowClick", "className", "dataTestId"];
4964
5001
  function Table(_ref) {
4965
5002
  var items = _ref.items,
4966
5003
  fieldConfigurations = _ref.fieldConfigurations,
@@ -4974,7 +5011,7 @@ function Table(_ref) {
4974
5011
  onRowClick = _ref.onRowClick,
4975
5012
  className = _ref.className,
4976
5013
  dataTestId = _ref.dataTestId,
4977
- otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$f);
5014
+ otherAttributes = _objectWithoutPropertiesLoose(_ref, _excluded$g);
4978
5015
 
4979
5016
  // For not displaying empty view at creation
4980
5017
  var _useState = React.useState(true),
@@ -5928,7 +5965,7 @@ Page.propTypes = {
5928
5965
  navLayoutProps: PropTypes.object
5929
5966
  };
5930
5967
 
5931
- var _excluded$g = ["text", "type", "className"];
5968
+ var _excluded$h = ["text", "type", "className"];
5932
5969
  var TITLE_TYPE_OPTIONS = {
5933
5970
  DEFAULT: "default",
5934
5971
  BIG: "big",
@@ -5947,7 +5984,7 @@ function LegacyTitle(_ref) {
5947
5984
  type = _ref.type,
5948
5985
  _ref$className = _ref.className,
5949
5986
  className = _ref$className === void 0 ? "" : _ref$className,
5950
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$g);
5987
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$h);
5951
5988
 
5952
5989
  var ContainerElement;
5953
5990
  var containerClassName = classNames("cweb-title", className, {
@@ -6334,7 +6371,7 @@ Radio.propTypes = {
6334
6371
  var css_248z$m = ".cweb-radio-group {\n display: flex;\n justify-content: flex-start;\n flex-direction: row;\n align-items: center;\n}\n\n.cweb-radio-group > .cweb-radio {\n flex: 0 0 auto;\n margin-right: 8px;\n}\n\n.cweb-radio-group .cweb-form-field {\n margin-bottom: 12px;\n}\n\n.cweb-radio-group .cweb-form-info-text {\n margin-left: 1.5rem;\n}\n\n.cweb-radio-group.vertical {\n display: flex;\n justify-content: flex-start;\n flex-direction: column;\n align-items: flex-start;\n}\n\n.cweb-radio-group.vertical .cweb-form-field:not(:last-child) {\n margin-bottom: 8px;\n}\n\n.cweb-radio-group.vertical > .cweb-radio {\n flex: 0 0 auto;\n margin-bottom: 8px;\n}\n\n.cweb-radio-group.hasError > .cweb-radio .cweb-radio-icon-container {\n border: 1px solid #ff6266 !important;\n}";
6335
6372
  styleInject(css_248z$m);
6336
6373
 
6337
- var _excluded$h = ["className", "radioClassName", "name", "selectedOption", "isVertical", "radioOptions", "onChange", "error", "isDisabled"];
6374
+ var _excluded$i = ["className", "radioClassName", "name", "selectedOption", "isVertical", "radioOptions", "onChange", "error", "isDisabled"];
6338
6375
  /**
6339
6376
  * @deprecated: use RadioV2 instead
6340
6377
  */
@@ -6349,7 +6386,7 @@ function RadioGroup(_ref) {
6349
6386
  onChange = _ref.onChange,
6350
6387
  error = _ref.error,
6351
6388
  isDisabled = _ref.isDisabled,
6352
- otherOptions = _objectWithoutPropertiesLoose(_ref, _excluded$h);
6389
+ otherOptions = _objectWithoutPropertiesLoose(_ref, _excluded$i);
6353
6390
 
6354
6391
  var containerClassName = classNames("cweb-radio-group", {
6355
6392
  vertical: isVertical
@@ -6395,7 +6432,7 @@ RadioGroup.propTypes = {
6395
6432
  var css_248z$n = ".cweb-section .cweb-button:last-of-type {\n margin-right: 24px;\n}\n\n.cweb-section .cweb-button:not(:last-of-type) {\n margin-right: 8px;\n}\n\n.cweb-section .cweb-button.add-button, .cweb-section .cweb-button.edit-button, .cweb-section .cweb-button.delete-button {\n margin-left: auto;\n width: 32px;\n height: 32px;\n}\n\n.cweb-section .cweb-button.add-button {\n background: url(\"data:image/svg+xml,%3Csvg width%3D%2244%22 height%3D%2244%22 viewBox%3D%220 0 44 44%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle cx%3D%2222%22 cy%3D%2222%22 r%3D%2222%22 fill%3D%22white%22%2F%3E%3Crect x%3D%220.5%22 y%3D%220.5%22 width%3D%2243%22 height%3D%2243%22 rx%3D%2221.5%22 stroke%3D%22%23009FE3%22%2F%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M22 32C23.1046 32 24 31.1046 24 30L24 24H30C31.1046 24 32 23.1046 32 22C32 20.8954 31.1046 20 30 20H24L24 14C24 12.8954 23.1046 12 22 12C20.8954 12 20 12.8954 20 14L20 20H14C12.8954 20 12 20.8954 12 22C12 23.1046 12.8954 24 14 24H20L20 30C20 31.1046 20.8954 32 22 32Z%22 fill%3D%22%23009FE3%22%2F%3E%3C%2Fsvg%3E\") no-repeat center;\n background-size: contain;\n}\n\n.cweb-section .cweb-button.add-button:hover, .cweb-section .cweb-button.add-button:active, .cweb-section .cweb-button.add-button:focus {\n background: url(\"data:image/svg+xml,%3Csvg width%3D%2244%22 height%3D%2244%22 viewBox%3D%220 0 44 44%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect x%3D%220.5%22 y%3D%220.5%22 width%3D%2243%22 height%3D%2243%22 rx%3D%2221.5%22 stroke%3D%22%230A78B2%22%2F%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M21 12C19.8954 12 19 12.8954 19 14V19L14 19C12.8954 19 12 19.8954 12 21V23C12 24.1046 12.8954 25 14 25H19V30C19 31.1046 19.8954 32 21 32H23C24.1046 32 25 31.1046 25 30V25H30C31.1046 25 32 24.1046 32 23V21C32 19.8954 31.1046 19 30 19L25 19V14C25 12.8954 24.1046 12 23 12H21Z%22 fill%3D%22%23007BBB%22%2F%3E%3C%2Fsvg%3E\") no-repeat center;\n background-size: contain;\n}\n\n.cweb-section .cweb-button.edit-button {\n background: url(\"data:image/svg+xml,%3Csvg width%3D%2244%22 height%3D%2244%22 viewBox%3D%220 0 44 44%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect x%3D%220.5%22 y%3D%220.5%22 width%3D%2243%22 height%3D%2243%22 rx%3D%2221.5%22 stroke%3D%22%23009FE3%22%2F%3E%3Cpath d%3D%22M13.5643 27.1001C13.4169 26.9527 13.1433 27.0159 13.1012 27.2266L12.0065 31.6507C11.9644 31.8614 12.1328 32.051 12.3433 31.9878L16.7851 30.9134C16.9956 30.8712 17.0799 30.5973 16.9114 30.4499L13.5643 27.1001Z%22 fill%3D%22%23009FE3%22%2F%3E%3Cpath d%3D%22M26.2161 14.1222C26.1109 14.0169 25.9214 14.0169 25.8161 14.1222L14.4484 25.4987C14.3432 25.604 14.3432 25.7936 14.4484 25.8989L18.1114 29.5647C18.2166 29.67 18.4061 29.67 18.5113 29.5647L29.879 18.1882C29.9843 18.0829 29.9843 17.8933 29.879 17.788L26.2161 14.1222Z%22 fill%3D%22%23009FE3%22%2F%3E%3Cpath d%3D%22M31.1633 12.8374C30.0475 11.7209 28.2161 11.7209 27.1004 12.8374C27.0583 12.8796 27.0583 12.9217 27.1004 12.9638L31.037 16.9035C31.0791 16.9456 31.1212 16.9456 31.1633 16.9035C32.279 15.7869 32.279 13.954 31.1633 12.8374Z%22 fill%3D%22%23009FE3%22%2F%3E%3C%2Fsvg%3E\") no-repeat center;\n background-size: contain;\n}\n\n.cweb-section .cweb-button.edit-button:hover, .cweb-section .cweb-button.edit-button:active, .cweb-section .cweb-button.edit-button:focus {\n background: url(\"data:image/svg+xml,%3Csvg width%3D%2244%22 height%3D%2244%22 viewBox%3D%220 0 44 44%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect x%3D%220.5%22 y%3D%220.5%22 width%3D%2243%22 height%3D%2243%22 rx%3D%2221.5%22 stroke%3D%22%23007BBB%22%2F%3E%3Cpath d%3D%22M13.5643 27.1001C13.4169 26.9527 13.1433 27.0159 13.1012 27.2266L12.0065 31.6507C11.9644 31.8614 12.1328 32.051 12.3433 31.9878L16.7851 30.9134C16.9956 30.8712 17.0799 30.5973 16.9114 30.4499L13.5643 27.1001Z%22 fill%3D%22%230A78B2%22%2F%3E%3Cpath d%3D%22M26.2161 14.1222C26.1109 14.0169 25.9214 14.0169 25.8161 14.1222L14.4484 25.4987C14.3432 25.604 14.3432 25.7936 14.4484 25.8989L18.1114 29.5647C18.2166 29.67 18.4061 29.67 18.5113 29.5647L29.879 18.1882C29.9843 18.0829 29.9843 17.8933 29.879 17.788L26.2161 14.1222Z%22 fill%3D%22%230A78B2%22%2F%3E%3Cpath d%3D%22M31.1633 12.8374C30.0475 11.7209 28.2161 11.7209 27.1004 12.8374C27.0583 12.8796 27.0583 12.9217 27.1004 12.9638L31.037 16.9035C31.0791 16.9456 31.1212 16.9456 31.1633 16.9035C32.279 15.7869 32.279 13.954 31.1633 12.8374Z%22 fill%3D%22%230A78B2%22%2F%3E%3C%2Fsvg%3E\") no-repeat center;\n background-size: contain;\n}\n\n.cweb-section .cweb-button.delete-button {\n background: url(\"data:image/svg+xml,%3Csvg width%3D%2244%22 height%3D%2244%22 viewBox%3D%220 0 44 44%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect x%3D%220.5%22 y%3D%220.5%22 width%3D%2243%22 height%3D%2243%22 rx%3D%2221.5%22 stroke%3D%22%23FF6266%22%2F%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M13 12C12.4477 12 12 12.4477 12 13C12 13.5523 12.4477 14 13 14H31C31.5523 14 32 13.5523 32 13C32 12.4477 31.5523 12 31 12H13ZM14 16H30V30C30 31.1046 29.1046 32 28 32H16C14.8954 32 14 31.1046 14 30V16ZM17 18H19V30H17V18ZM21 18H23V30H21V18ZM27 18H25V30H27V18Z%22 fill%3D%22%23FF6266%22%2F%3E%3C%2Fsvg%3E\") no-repeat center;\n background-size: contain;\n}\n\n.cweb-section .cweb-button.delete-button:hover, .cweb-section .cweb-button.delete-button:active, .cweb-section .cweb-button.delete-button:focus {\n background: url(\"data:image/svg+xml,%3Csvg width%3D%2244%22 height%3D%2244%22 viewBox%3D%220 0 44 44%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M13 12C12.4477 12 12 12.4477 12 13C12 13.5523 12.4477 14 13 14H31C31.5523 14 32 13.5523 32 13C32 12.4477 31.5523 12 31 12H13ZM14 16H30V30C30 31.1046 29.1046 32 28 32H16C14.8954 32 14 31.1046 14 30V16ZM17 18H19V30H17V18ZM21 18H23V30H21V18ZM27 18H25V30H27V18Z%22 fill%3D%22%23FC494E%22%2F%3E%3Crect x%3D%220.5%22 y%3D%220.5%22 width%3D%2243%22 height%3D%2243%22 rx%3D%2221.5%22 stroke%3D%22%23FC494E%22%2F%3E%3C%2Fsvg%3E\") no-repeat center;\n background-size: contain;\n}\n\n.cweb-section > .cweb-section-header {\n display: flex;\n justify-content: space-between;\n flex-direction: row;\n align-items: center;\n border-bottom: 1px solid #eeeeee;\n width: 100%;\n padding: 18px 24px;\n}\n\n.cweb-section > .cweb-section-footer {\n display: flex;\n justify-content: space-between;\n flex-direction: row;\n align-items: center;\n border-top: 1px solid #eeeeee;\n width: 100%;\n padding: 1rem 24px 1rem 24px;\n}\n\n.cweb-section > .cweb-section-footer img {\n width: 32px;\n height: 32px;\n}";
6396
6433
  styleInject(css_248z$n);
6397
6434
 
6398
- var _excluded$i = ["title", "buttons", "footer", "children", "className", "isLoading", "loadingIndicatorProps"];
6435
+ var _excluded$j = ["title", "buttons", "footer", "children", "className", "isLoading", "loadingIndicatorProps"];
6399
6436
  function Section(_ref) {
6400
6437
  var title = _ref.title,
6401
6438
  buttons = _ref.buttons,
@@ -6405,7 +6442,7 @@ function Section(_ref) {
6405
6442
  _ref$isLoading = _ref.isLoading,
6406
6443
  isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
6407
6444
  loadingIndicatorProps = _ref.loadingIndicatorProps,
6408
- restProps = _objectWithoutPropertiesLoose(_ref, _excluded$i);
6445
+ restProps = _objectWithoutPropertiesLoose(_ref, _excluded$j);
6409
6446
 
6410
6447
  return /*#__PURE__*/React__default.createElement("div", _extends({}, restProps, {
6411
6448
  className: classNames("cweb-section", "flex justify-start flex-col items-start", "rounded-lg", "mx-0 my-4", "bg-white", "w-full", className)
@@ -6436,12 +6473,12 @@ function Section(_ref) {
6436
6473
  var css_248z$o = ".cweb-list-item {\n display: flex;\n justify-content: flex-start;\n flex-direction: row;\n align-items: center;\n padding: 16px 0 16px 0;\n border-bottom: 1px solid #eeeeee;\n}\n\n.cweb-list-item:last-child {\n border-bottom: none;\n}\n\n.cweb-list-item.cweb-list-item-clickable {\n cursor: pointer;\n}\n\n.cweb-list-item.cweb-list-item-clickable:hover {\n background-color: #f2fafd;\n}";
6437
6474
  styleInject(css_248z$o);
6438
6475
 
6439
- var _excluded$j = ["children", "className", "onClick"];
6476
+ var _excluded$k = ["children", "className", "onClick"];
6440
6477
  var SectionItem = function SectionItem(props) {
6441
6478
  var children = props.children,
6442
6479
  className = props.className,
6443
6480
  onClick = props.onClick,
6444
- rest = _objectWithoutPropertiesLoose(props, _excluded$j);
6481
+ rest = _objectWithoutPropertiesLoose(props, _excluded$k);
6445
6482
 
6446
6483
  var classes = classNames("cweb-list-item", className, {
6447
6484
  "cweb-list-item-clickable": !!onClick
@@ -6452,7 +6489,7 @@ var SectionItem = function SectionItem(props) {
6452
6489
  }, rest), children);
6453
6490
  };
6454
6491
 
6455
- var _excluded$k = ["text", "icon", "className", "iconClass", "onClick"];
6492
+ var _excluded$l = ["text", "icon", "className", "iconClass", "onClick"];
6456
6493
 
6457
6494
  function SectionItemWithContent(props) {
6458
6495
  var text = props.text,
@@ -6460,7 +6497,7 @@ function SectionItemWithContent(props) {
6460
6497
  className = props.className,
6461
6498
  iconClass = props.iconClass,
6462
6499
  onClick = props.onClick,
6463
- rest = _objectWithoutPropertiesLoose(props, _excluded$k);
6500
+ rest = _objectWithoutPropertiesLoose(props, _excluded$l);
6464
6501
 
6465
6502
  var mergedClasses = classNames("cweb-section-text-item", className);
6466
6503
  var iconClasses = classNames("w-6 h-6 mr-4", iconClass);
@@ -6699,7 +6736,7 @@ Switcher.propTypes = {
6699
6736
 
6700
6737
  var img$i = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3e%3cpath d='M18 16V2C18 0.9 17.1 0 16 0H2C0.9 0 0 0.9 0 2V16C0 17.1 0.9 18 2 18H16C17.1 18 18 17.1 18 16ZM5.9 10.98L8 13.51L11.1 9.52C11.3 9.26 11.7 9.26 11.9 9.53L15.41 14.21C15.66 14.54 15.42 15.01 15.01 15.01H3.02C2.6 15.01 2.37 14.53 2.63 14.2L5.12 11C5.31 10.74 5.69 10.73 5.9 10.98Z' fill='%23D1D5DB'/%3e%3c/svg%3e";
6701
6738
 
6702
- var _excluded$l = ["src", "className", "children", "onClick", "showIconOnFailure"];
6739
+ var _excluded$m = ["src", "className", "children", "onClick", "showIconOnFailure"];
6703
6740
 
6704
6741
  var Image$1 = function Image(_ref) {
6705
6742
  var src = _ref.src,
@@ -6709,7 +6746,7 @@ var Image$1 = function Image(_ref) {
6709
6746
  onClick = _ref.onClick,
6710
6747
  _ref$showIconOnFailur = _ref.showIconOnFailure,
6711
6748
  showIconOnFailure = _ref$showIconOnFailur === void 0 ? true : _ref$showIconOnFailur,
6712
- otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$l);
6749
+ otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$m);
6713
6750
 
6714
6751
  var _useState = React.useState(false),
6715
6752
  isError = _useState[0],
@@ -7245,7 +7282,7 @@ var TagGroup = function TagGroup(_ref) {
7245
7282
  var css_248z$q = ".cweb-textarea {\n border: 1px solid #cccccc;\n border-radius: 4px;\n outline: none;\n background-color: #ffffff;\n resize: none;\n}\n\n.cweb-textarea.has-icon {\n background-size: 24px;\n background-position: 10px 10px;\n background-repeat: no-repeat;\n padding-left: 44px;\n}\n\n.cweb-textarea.resizable {\n resize: both;\n}\n\n.cweb-textarea.resizable-x {\n resize: horizontal;\n}\n\n.cweb-textarea.resizable-y {\n resize: vertical;\n}\n\n.cweb-textarea:-ms-input-placeholder {\n color: #737373;\n}\n\n.cweb-textarea::placeholder {\n color: #737373;\n}\n\n.cweb-textarea:-ms-input-placeholder {\n color: #64748b !important;\n}\n\n.cweb-textarea::-ms-input-placeholder {\n color: #64748b;\n}\n\n.cweb-textarea:focus {\n border-color: #0074dd;\n}\n\n.cweb-textarea:disabled {\n cursor: not-allowed;\n}\n\n.cweb-textarea.has-error {\n border: 1px solid #ff6266;\n color: #ff6266;\n}";
7246
7283
  styleInject(css_248z$q);
7247
7284
 
7248
- var _excluded$m = ["className", "value", "name", "placeholder", "maxLength", "rows", "resizable", "isDisabled", "icon", "onChange", "onBlur", "onFocus", "onKeyPress", "onKeyDown", "onCtrlEnter"];
7285
+ var _excluded$n = ["className", "value", "name", "placeholder", "maxLength", "rows", "resizable", "isDisabled", "icon", "onChange", "onBlur", "onFocus", "onKeyPress", "onKeyDown", "onCtrlEnter"];
7249
7286
  var RESIZE_TYPES = {
7250
7287
  NONE: "none",
7251
7288
  BOTH: "both",
@@ -7289,7 +7326,7 @@ function Textarea(props) {
7289
7326
  onKeyPress = props.onKeyPress,
7290
7327
  _onKeyDown = props.onKeyDown,
7291
7328
  onCtrlEnter = props.onCtrlEnter,
7292
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$m);
7329
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$n);
7293
7330
 
7294
7331
  var style;
7295
7332
 
@@ -7472,7 +7509,7 @@ var Timeline = function Timeline(props) {
7472
7509
  }, props.loadMoreButtonProps)));
7473
7510
  };
7474
7511
 
7475
- var _excluded$n = ["titleProps", "title", "titleAccessory", "contentProps", "content", "defaultContent", "className", "buttons"];
7512
+ var _excluded$o = ["titleProps", "title", "titleAccessory", "contentProps", "content", "defaultContent", "className", "buttons"];
7476
7513
  function ViewItem(_ref) {
7477
7514
  var titleProps = _ref.titleProps,
7478
7515
  title = _ref.title,
@@ -7483,7 +7520,7 @@ function ViewItem(_ref) {
7483
7520
  defaultContent = _ref$defaultContent === void 0 ? "-" : _ref$defaultContent,
7484
7521
  className = _ref.className,
7485
7522
  buttons = _ref.buttons,
7486
- restProps = _objectWithoutPropertiesLoose(_ref, _excluded$n);
7523
+ restProps = _objectWithoutPropertiesLoose(_ref, _excluded$o);
7487
7524
 
7488
7525
  var titlePropsMerged = titleProps != null ? titleProps : {
7489
7526
  text: title != null ? title : defaultContent
@@ -7586,7 +7623,7 @@ var isRequired = function isRequired(options) {
7586
7623
  return !!(options && "required" in options);
7587
7624
  };
7588
7625
 
7589
- var _excluded$o = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
7626
+ var _excluded$p = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
7590
7627
  /**
7591
7628
  * Input field that can be used in any react-hook-form context.
7592
7629
  */
@@ -7600,7 +7637,7 @@ var FormInput = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef)
7600
7637
  label = _ref.label,
7601
7638
  info = _ref.info,
7602
7639
  decoratorClassname = _ref.decoratorClassname,
7603
- fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$o);
7640
+ fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$p);
7604
7641
 
7605
7642
  return /*#__PURE__*/React__default.createElement(FormFieldDecorator, {
7606
7643
  name: name,
@@ -7623,7 +7660,7 @@ var FormInput = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef)
7623
7660
  }));
7624
7661
  });
7625
7662
 
7626
- var _excluded$p = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
7663
+ var _excluded$q = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
7627
7664
  /**
7628
7665
  * Radio Group that can be used in any react-hook-form context.
7629
7666
  */
@@ -7637,7 +7674,7 @@ var FormRadioGroup = /*#__PURE__*/React__default.forwardRef(function (_ref, inne
7637
7674
  label = _ref.label,
7638
7675
  info = _ref.info,
7639
7676
  decoratorClassname = _ref.decoratorClassname,
7640
- fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$p);
7677
+ fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$q);
7641
7678
 
7642
7679
  return /*#__PURE__*/React__default.createElement(FormFieldDecorator, {
7643
7680
  name: name,
@@ -7664,7 +7701,7 @@ var FormRadioGroup = /*#__PURE__*/React__default.forwardRef(function (_ref, inne
7664
7701
  }));
7665
7702
  });
7666
7703
 
7667
- var _excluded$q = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
7704
+ var _excluded$r = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
7668
7705
 
7669
7706
  var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
7670
7707
  var control = _ref.control,
@@ -7675,7 +7712,7 @@ var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef
7675
7712
  label = _ref.label,
7676
7713
  info = _ref.info,
7677
7714
  decoratorClassname = _ref.decoratorClassname,
7678
- selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$q);
7715
+ selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$r);
7679
7716
 
7680
7717
  return /*#__PURE__*/React__default.createElement(FormFieldDecorator, {
7681
7718
  name: name,
@@ -7697,7 +7734,7 @@ var FormSelect = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef
7697
7734
  }));
7698
7735
  });
7699
7736
 
7700
- var _excluded$r = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
7737
+ var _excluded$s = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
7701
7738
 
7702
7739
  var FormImagePicker = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
7703
7740
  var control = _ref.control,
@@ -7708,7 +7745,7 @@ var FormImagePicker = /*#__PURE__*/React__default.forwardRef(function (_ref, inn
7708
7745
  label = _ref.label,
7709
7746
  info = _ref.info,
7710
7747
  decoratorClassname = _ref.decoratorClassname,
7711
- fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$r);
7748
+ fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$s);
7712
7749
 
7713
7750
  return /*#__PURE__*/React__default.createElement(FormFieldDecorator, {
7714
7751
  name: name,
@@ -7747,7 +7784,7 @@ var FormImagePicker = /*#__PURE__*/React__default.forwardRef(function (_ref, inn
7747
7784
  }));
7748
7785
  });
7749
7786
 
7750
- var _excluded$s = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
7787
+ var _excluded$t = ["control", "name", "rules", "fieldErrors", "fieldRequired", "label", "info", "decoratorClassname"];
7751
7788
  var FormFieldCheckbox = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
7752
7789
  var control = _ref.control,
7753
7790
  name = _ref.name,
@@ -7757,7 +7794,7 @@ var FormFieldCheckbox = /*#__PURE__*/React__default.forwardRef(function (_ref, i
7757
7794
  label = _ref.label,
7758
7795
  info = _ref.info,
7759
7796
  decoratorClassname = _ref.decoratorClassname,
7760
- fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$s);
7797
+ fieldProps = _objectWithoutPropertiesLoose(_ref, _excluded$t);
7761
7798
 
7762
7799
  return /*#__PURE__*/React__default.createElement(FormFieldDecorator, {
7763
7800
  name: name,
@@ -7939,14 +7976,6 @@ function FormFieldMapper(formFieldProps, useFormReturn) {
7939
7976
  }
7940
7977
  }
7941
7978
 
7942
- var _excluded$t = ["name"];
7943
- var Icon = function Icon(_ref) {
7944
- var name = _ref.name,
7945
- iconProps = _objectWithoutPropertiesLoose(_ref, _excluded$t);
7946
-
7947
- return /*#__PURE__*/React__default.createElement(Icons[name], iconProps);
7948
- };
7949
-
7950
7979
  var FullPageModalHeader = function FullPageModalHeader(_ref) {
7951
7980
  var primaryButtonProps = _ref.primaryButtonProps,
7952
7981
  title = _ref.title;