@jars-labs/jars-components 1.1.6 → 1.1.7

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.
@@ -59,7 +59,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
59
59
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
60
60
  };
61
61
 
62
- var styles$r = {"accordion":"Accordion-module_accordion__Nl0Vb","item":"Accordion-module_item__85Qrt","item-neutral":"Accordion-module_item-neutral__c06SU","item-white":"Accordion-module_item-white__l-DtA","chevron":"Accordion-module_chevron__kqKKx","bottom-right":"Accordion-module_bottom-right__2C-t6","control":"Accordion-module_control__92uvC","content":"Accordion-module_content__LkKAo","label":"Accordion-module_label__VkyEF"};
62
+ var styles$s = {"accordion":"Accordion-module_accordion__Nl0Vb","item":"Accordion-module_item__85Qrt","item-neutral":"Accordion-module_item-neutral__c06SU","item-white":"Accordion-module_item-white__l-DtA","chevron":"Accordion-module_chevron__kqKKx","bottom-right":"Accordion-module_bottom-right__2C-t6","control":"Accordion-module_control__92uvC","content":"Accordion-module_content__LkKAo","label":"Accordion-module_label__VkyEF"};
63
63
 
64
64
  var serverSideRenderSVG = function (_a, children) {
65
65
  var width = _a.width, height = _a.height, viewBox = _a.viewBox, fill = _a.fill, rotate = _a.rotate;
@@ -131,30 +131,30 @@ var Accordion = function (_a) {
131
131
  return child;
132
132
  });
133
133
  return (jsx(Accordion$1, { variant: "unstyled", chevron: jsx(Chevron, { rotate: 270, width: "24px", height: "24px" }), chevronSize: 24, classNames: {
134
- root: styles$r.accordion,
135
- chevron: "".concat(styles$r.chevron, " ").concat(styles$r[customChevronPosition]),
134
+ root: styles$s.accordion,
135
+ chevron: "".concat(styles$s.chevron, " ").concat(styles$s[customChevronPosition]),
136
136
  }, multiple: true, children: childrenWithColor }));
137
137
  };
138
138
  Accordion.displayName = 'Accordion';
139
139
  var AccordionItem = function (_a) {
140
140
  var children = _a.children, value = _a.value, _b = _a.bgColor, bgColor = _b === undefined ? 'neutral' : _b, props = __rest(_a, ["children", "value", "bgColor"]);
141
141
  return (jsx(AccordionItem$1, __assign({ classNames: {
142
- item: "".concat(styles$r.item, " ").concat(bgColor === 'white' ? styles$r['item-white'] : styles$r['item-neutral']),
142
+ item: "".concat(styles$s.item, " ").concat(bgColor === 'white' ? styles$s['item-white'] : styles$s['item-neutral']),
143
143
  }, value: value }, props, { children: children })));
144
144
  };
145
145
  AccordionItem.displayName = 'AccordionItem';
146
146
  var AccordionControl = function (_a) {
147
147
  var children = _a.children;
148
- return (jsx(AccordionControl$1, { classNames: { label: styles$r.label, control: styles$r.control }, children: children }));
148
+ return (jsx(AccordionControl$1, { classNames: { label: styles$s.label, control: styles$s.control }, children: children }));
149
149
  };
150
150
  AccordionControl.displayName = 'AccordionControl';
151
151
  var AccordionPanel = function (_a) {
152
152
  var children = _a.children;
153
- return (jsx(AccordionPanel$1, { classNames: { content: styles$r.content }, children: children }));
153
+ return (jsx(AccordionPanel$1, { classNames: { content: styles$s.content }, children: children }));
154
154
  };
155
155
  AccordionPanel.displayName = 'AccordionPanel';
156
156
 
157
- var styles$q = {"root":"ActionIcon-module_root__orJKP"};
157
+ var styles$r = {"root":"ActionIcon-module_root__orJKP"};
158
158
 
159
159
  /**
160
160
  * ActionIcon component to display an icon with a clickable action.
@@ -173,7 +173,7 @@ var styles$q = {"root":"ActionIcon-module_root__orJKP"};
173
173
  var ActionIcon = forwardRef(function (_a, ref) {
174
174
  var onClick = _a.onClick, _b = _a.radius, radius = _b === undefined ? 'xl' : _b, _c = _a.color, color = _c === undefined ? 'var(--color-neutral-200)' : _c, _d = _a.variant, variant = _d === undefined ? 'filled' : _d, _e = _a.size, size = _e === undefined ? 'md' : _e, _f = _a.disabled, disabled = _f === undefined ? false : _f, children = _a.children, rest = __rest(_a, ["onClick", "radius", "color", "variant", "size", "disabled", "children"]);
175
175
  return (jsx(ActionIcon$1, __assign({ onClick: onClick && onClick, radius: radius, variant: variant, size: size, disabled: disabled, classNames: {
176
- root: styles$q.root,
176
+ root: styles$r.root,
177
177
  }, color: color, ref: ref }, rest, { children: jsx(Group, { children: children }) })));
178
178
  });
179
179
  ActionIcon.displayName = 'ActionIcon';
@@ -183,7 +183,7 @@ var Animation = function (_a) {
183
183
  var refVector = useRef(null);
184
184
  var _b = useState(null), lottie = _b[0], setLottie = _b[1];
185
185
  useEffect(function () {
186
- import('./lottie-C2fOezZO.js').then(function (n) { return n.l; }).then(function (Lottie) { return setLottie(Lottie.default); });
186
+ import('./lottie-DT7Di9_8.js').then(function (n) { return n.l; }).then(function (Lottie) { return setLottie(Lottie.default); });
187
187
  }, []);
188
188
  useEffect(function () {
189
189
  if (lottie && refVector.current) {
@@ -201,7 +201,7 @@ var Animation = function (_a) {
201
201
  };
202
202
  Animation.displayName = 'Animation';
203
203
 
204
- var styles$p = {"dropdown":"Dropdown-module_dropdown__Pf3Aj","option":"Dropdown-module_option__5-7L7"};
204
+ var styles$q = {"dropdown":"Dropdown-module_dropdown__Pf3Aj","option":"Dropdown-module_option__5-7L7"};
205
205
 
206
206
  /**
207
207
  *
@@ -241,7 +241,7 @@ var Dropdown = function (_a) {
241
241
  store.selectOption(index);
242
242
  onOptionSubmit === null || onOptionSubmit === undefined ? undefined : onOptionSubmit(option);
243
243
  closeOnSelect && store.closeDropdown();
244
- }, className: styles$p.option, children: option }, index));
244
+ }, className: styles$q.option, children: option }, index));
245
245
  }
246
246
  return option;
247
247
  });
@@ -249,7 +249,7 @@ var Dropdown = function (_a) {
249
249
  return (jsxs(Combobox, __assign({ store: store, onOptionSubmit: function (value) {
250
250
  onOptionSubmit === null || onOptionSubmit === undefined ? undefined : onOptionSubmit(value);
251
251
  closeOnSelect && store.closeDropdown();
252
- } }, rest, { children: [jsx(Combobox.Target, { children: jsx(Flex, { w: "100%", children: typeof children === 'function' ? children(store) : children }) }), jsxs(Combobox.Dropdown, { classNames: { dropdown: styles$p.dropdown }, children: [jsx(Combobox.Options, { mah: maxHeight, style: { overflow: maxHeight ? 'auto' : 'unset' }, children: renderOptions(options, onOptionSubmit) }), footer && (jsx(Combobox.Footer, { children: typeof footer === 'function' ? footer(store) : footer }))] })] })));
252
+ } }, rest, { children: [jsx(Combobox.Target, { children: jsx(Flex, { w: "100%", children: typeof children === 'function' ? children(store) : children }) }), jsxs(Combobox.Dropdown, { classNames: { dropdown: styles$q.dropdown }, children: [jsx(Combobox.Options, { mah: maxHeight, style: { overflow: maxHeight ? 'auto' : 'unset' }, children: renderOptions(options, onOptionSubmit) }), footer && (jsx(Combobox.Footer, { children: typeof footer === 'function' ? footer(store) : footer }))] })] })));
253
253
  };
254
254
  Dropdown.displayName = 'Dropdown';
255
255
  Dropdown.Option = Combobox.Option;
@@ -358,11 +358,11 @@ function requireClassnames () {
358
358
  var classnamesExports = requireClassnames();
359
359
  var classNames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
360
360
 
361
- var styles$o = {"container":"Input-module_container__zzWGm","input":"Input-module_input__aRXjR","inputError":"Input-module_inputError__s3cRz","inputLeftIcon":"Input-module_inputLeftIcon__gObSe","inputRightIcon":"Input-module_inputRightIcon__hWB1a","label":"Input-module_label__HtZ2L","labelFocused":"Input-module_labelFocused__3-p5R","labelError":"Input-module_labelError__MA8Ti","labelDisabled":"Input-module_labelDisabled__lhjNw","description":"Input-module_description__Q1Rbw","error":"Input-module_error__yiAgw","errorVisible":"Input-module_errorVisible__IS7J2","errorHidden":"Input-module_errorHidden__8-hAw","errorText":"Input-module_errorText__wKZ67","leftSection":"Input-module_leftSection__YyGeo","rightSection":"Input-module_rightSection__zMH-z"};
361
+ var styles$p = {"container":"Input-module_container__zzWGm","input":"Input-module_input__aRXjR","inputError":"Input-module_inputError__s3cRz","inputLeftIcon":"Input-module_inputLeftIcon__gObSe","inputRightIcon":"Input-module_inputRightIcon__hWB1a","label":"Input-module_label__HtZ2L","labelFocused":"Input-module_labelFocused__3-p5R","labelError":"Input-module_labelError__MA8Ti","labelDisabled":"Input-module_labelDisabled__lhjNw","description":"Input-module_description__Q1Rbw","error":"Input-module_error__yiAgw","errorVisible":"Input-module_errorVisible__IS7J2","errorHidden":"Input-module_errorHidden__8-hAw","errorText":"Input-module_errorText__wKZ67","leftSection":"Input-module_leftSection__YyGeo","rightSection":"Input-module_rightSection__zMH-z"};
362
362
 
363
363
  var inputWrapperSlotElement = { component: 'div' };
364
- var inputDescriptionProps = __assign({ className: styles$o.description }, inputWrapperSlotElement);
365
- var inputErrorProps = __assign({ className: styles$o.error }, inputWrapperSlotElement);
364
+ var inputDescriptionProps = __assign({ className: styles$p.description }, inputWrapperSlotElement);
365
+ var inputErrorProps = __assign({ className: styles$p.error }, inputWrapperSlotElement);
366
366
 
367
367
  var Info = function (_a) {
368
368
  var width = _a.width, height = _a.height, viewBox = _a.viewBox, _b = _a.stroke, stroke = _b === undefined ? 'currentColor' : _b, _c = _a.strokeWidth, strokeWidth = _c === undefined ? 1.5 : _c;
@@ -370,7 +370,7 @@ var Info = function (_a) {
370
370
  };
371
371
  Info.displayName = 'Info';
372
372
 
373
- var styles$n = {"text":"Text-module_text__3xRq3","h1":"Text-module_h1__RkLfx","h2":"Text-module_h2__fAm7L","h3":"Text-module_h3__o11c2","h4":"Text-module_h4__RIwZg","m":"Text-module_m__nlfmp","s":"Text-module_s__t9q3d","xs":"Text-module_xs__ZU2jV","xxs":"Text-module_xxs__hmZHQ","bold":"Text-module_bold__N75tZ","medium":"Text-module_medium__Q8kf4","regular":"Text-module_regular__-EdPk"};
373
+ var styles$o = {"text":"Text-module_text__3xRq3","h1":"Text-module_h1__RkLfx","h2":"Text-module_h2__fAm7L","h3":"Text-module_h3__o11c2","h4":"Text-module_h4__RIwZg","m":"Text-module_m__nlfmp","s":"Text-module_s__t9q3d","xs":"Text-module_xs__ZU2jV","xxs":"Text-module_xxs__hmZHQ","bold":"Text-module_bold__N75tZ","medium":"Text-module_medium__Q8kf4","regular":"Text-module_regular__-EdPk"};
374
374
 
375
375
  var elementType = {
376
376
  h1: 'h1',
@@ -381,7 +381,7 @@ var elementType = {
381
381
  var Text = React.forwardRef(function (props, ref) {
382
382
  var as = props.as, children = props.children, className = props.className, color = props.color, style = props.style, variant = props.variant, weight = props.weight, rest = __rest(props, ["as", "children", "className", "color", "style", "variant", "weight"]);
383
383
  var combinedStyle = __assign(__assign({}, style), { color: color });
384
- var combinedClassName = classNames(className, styles$n['text'], styles$n[variant || ''], styles$n[weight || '']);
384
+ var combinedClassName = classNames(className, styles$o['text'], styles$o[variant || ''], styles$o[weight || '']);
385
385
  return React.createElement(as || elementType[variant] || 'p', __assign({ ref: ref, className: combinedClassName, style: combinedStyle }, rest), children);
386
386
  });
387
387
  Text.displayName = 'Text';
@@ -451,19 +451,19 @@ var Input = function (_a) {
451
451
  var showLabel = !hideLabel && (isFocused || value.trim());
452
452
  var placeHolderValue = placeholder && isFocused ? placeholder : (label !== null && label !== undefined ? label : placeholder);
453
453
  var ErrorSection = useMemo(function () {
454
- return holdSpace && (jsxs(Flex, { className: classNames(styles$o.error, error ? styles$o.errorVisible : styles$o.errorHidden), gap: 4, ml: 0, style: { alignItems: 'flex-start' }, children: [jsx(Flex, { style: { flexShrink: 0 }, children: jsx(Info, { width: "18px", height: "18px", viewBox: "0 0 24 24", stroke: "var(--color-red-300)" }) }), jsx(Text, { variant: "xs", className: classNames(styles$o.errorText), as: "span", children: capitalizeFirstSentenceLetter(error) })] }));
454
+ return holdSpace && (jsxs(Flex, { className: classNames(styles$p.error, error ? styles$p.errorVisible : styles$p.errorHidden), gap: 4, ml: 0, style: { alignItems: 'flex-start' }, children: [jsx(Flex, { style: { flexShrink: 0 }, children: jsx(Info, { width: "18px", height: "18px", viewBox: "0 0 24 24", stroke: "var(--color-red-300)" }) }), jsx(Text, { variant: "xs", className: classNames(styles$p.errorText), as: "span", children: capitalizeFirstSentenceLetter(error) })] }));
455
455
  }, [error]);
456
- return (jsxs("div", { className: styles$o.container, children: [showLabel && (jsx("label", { className: classNames(styles$o.label, (_b = {},
457
- _b[styles$o.labelError] = error && !isFocused,
458
- _b[styles$o.labelFocused] = isFocused || isHovered,
459
- _b[styles$o.labelDisabled] = disabled,
456
+ return (jsxs("div", { className: styles$p.container, children: [showLabel && (jsx("label", { className: classNames(styles$p.label, (_b = {},
457
+ _b[styles$p.labelError] = error && !isFocused,
458
+ _b[styles$p.labelFocused] = isFocused || isHovered,
459
+ _b[styles$p.labelDisabled] = disabled,
460
460
  _b)), children: label })), jsx("div", { onMouseEnter: function () { return setIsHovered(true); }, onMouseLeave: function () { return setIsHovered(false); }, onFocus: function () { return setIsFocused(true); }, onBlur: function () { return setIsFocused(false); }, children: jsx(TextInput, __assign({ classNames: {
461
- input: classNames(styles$o.input, (_c = {},
462
- _c[styles$o.inputLeftIcon] = leftSection,
463
- _c[styles$o.inputRightIcon] = rightSection,
464
- _c[styles$o.inputError] = error,
461
+ input: classNames(styles$p.input, (_c = {},
462
+ _c[styles$p.inputLeftIcon] = leftSection,
463
+ _c[styles$p.inputRightIcon] = rightSection,
464
+ _c[styles$p.inputError] = error,
465
465
  _c)),
466
- }, placeholder: placeHolderValue, name: name, error: ErrorSection, description: !error && jsx(Text, { variant: "xs", children: description }), descriptionProps: inputDescriptionProps, errorProps: inputErrorProps, inputWrapperOrder: ['label', 'input', 'description', 'error'], value: value, onChange: onChange, leftSection: leftSection, rightSection: rightSection, leftSectionProps: { className: styles$o.leftSection }, rightSectionProps: { className: styles$o.rightSection }, type: type, disabled: disabled }, rest)) })] }));
466
+ }, placeholder: placeHolderValue, name: name, error: ErrorSection, description: !error && jsx(Text, { variant: "xs", children: description }), descriptionProps: inputDescriptionProps, errorProps: inputErrorProps, inputWrapperOrder: ['label', 'input', 'description', 'error'], value: value, onChange: onChange, leftSection: leftSection, rightSection: rightSection, leftSectionProps: { className: styles$p.leftSection }, rightSectionProps: { className: styles$p.rightSection }, type: type, disabled: disabled }, rest)) })] }));
467
467
  };
468
468
  Input.displayName = 'Input';
469
469
 
@@ -556,7 +556,7 @@ var Autocomplete = function (_a) {
556
556
  };
557
557
  Autocomplete.displayName = 'Autocomplete';
558
558
 
559
- var styles$m = {"avatar":"Avatar-module_avatar__QJpdG","placeholder":"Avatar-module_placeholder__9AtPN"};
559
+ var styles$n = {"avatar":"Avatar-module_avatar__QJpdG","placeholder":"Avatar-module_placeholder__9AtPN"};
560
560
 
561
561
  var AvatarPlaceholder = function (_a) {
562
562
  var width = _a.width, height = _a.height, _b = _a.viewBox, viewBox = _b === undefined ? '0 0 24 24' : _b, rotate = _a.rotate, rest = __rest(_a, ["width", "height", "viewBox", "rotate"]);
@@ -584,8 +584,8 @@ var Avatar = function (_a) {
584
584
  minHeight: sizeMapping[size],
585
585
  },
586
586
  }, classNames: {
587
- root: styles$m.avatar,
588
- placeholder: styles$m.placeholder,
587
+ root: styles$n.avatar,
588
+ placeholder: styles$n.placeholder,
589
589
  } }, rest, { children: jsx(AvatarPlaceholder, { role: "img", "aria-label": alt, "data-testid": testId ? "".concat(testId, "-placeholder") : undefined, width: placeholderSizeMapping[size], height: placeholderSizeMapping[size] }) })));
590
590
  };
591
591
  Avatar.displayName = 'Avatar';
@@ -656,19 +656,19 @@ var Badge = forwardRef(function (_a, ref) {
656
656
  });
657
657
  Badge.displayName = 'Badge';
658
658
 
659
- var styles$l = {"button":"Button-module_button__7BLGt","label":"Button-module_label__447Ll","button-flex":"Button-module_button-flex__bzVRB","button--filled":"Button-module_button--filled__BKGu2","label-color--filled":"Button-module_label-color--filled__wJHlw","label-color--filled--disabled":"Button-module_label-color--filled--disabled__BbMbV","button--outlined":"Button-module_button--outlined__QZysw","label-color--outlined":"Button-module_label-color--outlined__seGi5","label-color--outlined--disabled":"Button-module_label-color--outlined--disabled__qXPjI","button--outlined-error":"Button-module_button--outlined-error__xR07R","label-color--outlined-error":"Button-module_label-color--outlined-error__-2cf9","label-color--outlined-error--disabled":"Button-module_label-color--outlined-error--disabled__LZB7z","button--underlined":"Button-module_button--underlined__BsY5s","label-color--underlined":"Button-module_label-color--underlined__ymMfq","label-color--underlined--disabled":"Button-module_label-color--underlined--disabled__TBDd8","button--underlined-neutral":"Button-module_button--underlined-neutral__30A91","label-color--underlined-neutral":"Button-module_label-color--underlined-neutral__1xWMY","label-color--underlined-neutral--disabled":"Button-module_label-color--underlined-neutral--disabled__RQKW7","button--delete":"Button-module_button--delete__Xqpbl","label-color--delete":"Button-module_label-color--delete__iPB3X","label-color--delete--disabled":"Button-module_label-color--delete--disabled__lJkM6","button--small":"Button-module_button--small__3npYU","button--medium":"Button-module_button--medium__WRSIQ","button--large":"Button-module_button--large__bGVS1"};
659
+ var styles$m = {"button":"Button-module_button__7BLGt","label":"Button-module_label__447Ll","button-flex":"Button-module_button-flex__bzVRB","button--filled":"Button-module_button--filled__BKGu2","label-color--filled":"Button-module_label-color--filled__wJHlw","label-color--filled--disabled":"Button-module_label-color--filled--disabled__BbMbV","button--secondary":"Button-module_button--secondary__GKHCb","button--outlined":"Button-module_button--outlined__QZysw","label-color--outlined":"Button-module_label-color--outlined__seGi5","label-color--outlined--disabled":"Button-module_label-color--outlined--disabled__qXPjI","button--outlined-error":"Button-module_button--outlined-error__xR07R","label-color--outlined-error":"Button-module_label-color--outlined-error__-2cf9","label-color--outlined-error--disabled":"Button-module_label-color--outlined-error--disabled__LZB7z","button--underlined":"Button-module_button--underlined__BsY5s","label-color--underlined":"Button-module_label-color--underlined__ymMfq","label-color--underlined--disabled":"Button-module_label-color--underlined--disabled__TBDd8","button--underlined-neutral":"Button-module_button--underlined-neutral__30A91","label-color--underlined-neutral":"Button-module_label-color--underlined-neutral__1xWMY","label-color--underlined-neutral--disabled":"Button-module_label-color--underlined-neutral--disabled__RQKW7","button--delete":"Button-module_button--delete__Xqpbl","label-color--delete":"Button-module_label-color--delete__iPB3X","label-color--delete--disabled":"Button-module_label-color--delete--disabled__lJkM6","button--small":"Button-module_button--small__3npYU","button--medium":"Button-module_button--medium__WRSIQ","button--large":"Button-module_button--large__bGVS1"};
660
660
 
661
661
  var Button = forwardRef(function (_a, ref) {
662
662
  var _b;
663
663
  var _c = _a.variant, variant = _c === undefined ? 'filled' : _c, submit = _a.submit, _d = _a.size, size = _d === undefined ? 'medium' : _d, fullWidth = _a.fullWidth, backgroundColor = _a.backgroundColor, label = _a.label, icon = _a.icon, children = _a.children, props = __rest(_a, ["variant", "submit", "size", "fullWidth", "backgroundColor", "label", "icon", "children"]);
664
- var mode = styles$l["button--".concat(variant)];
665
- return (jsx("button", __assign({ ref: ref, type: submit ? 'submit' : 'button', style: __assign(__assign({}, props.style), { backgroundColor: backgroundColor, width: fullWidth ? '100%' : 'auto' }) }, props, { className: [styles$l.button, styles$l["button--".concat(size)], mode].join(' '), children: jsxs("div", { className: styles$l['button-flex'], children: [!!icon && icon, label ? (jsx(Text, { className: classNames(styles$l.label, styles$l["label-color--".concat(variant)], (_b = {},
666
- _b[styles$l["label-color--".concat(variant, "--disabled")]] = props.disabled,
664
+ var mode = styles$m["button--".concat(variant)];
665
+ return (jsx("button", __assign({ ref: ref, type: submit ? 'submit' : 'button', style: __assign(__assign({}, props.style), { backgroundColor: backgroundColor, width: fullWidth ? '100%' : 'auto' }) }, props, { className: [styles$m.button, styles$m["button--".concat(size)], mode].join(' '), children: jsxs("div", { className: styles$m['button-flex'], children: [!!icon && icon, label ? (jsx(Text, { className: classNames(styles$m.label, styles$m["label-color--".concat(variant)], (_b = {},
666
+ _b[styles$m["label-color--".concat(variant, "--disabled")]] = props.disabled,
667
667
  _b)), children: label })) : (children)] }) })));
668
668
  });
669
669
  Button.displayName = 'Button';
670
670
 
671
- var styles$k = {"card":"Card-module_card__-PlHa","footerDivider":"Card-module_footerDivider__nt5J7","mdShadow":"Card-module_mdShadow__yft6m","lgShadow":"Card-module_lgShadow__WzWj7","variantDefault":"Card-module_variantDefault__AIy3D","variantPlain":"Card-module_variantPlain__MOaH5","variantNeutral":"Card-module_variantNeutral__OAsYA","variantSuccess":"Card-module_variantSuccess__GWiOd","variantWarning":"Card-module_variantWarning__jappm","variantNotice":"Card-module_variantNotice__C7UUh","variantInfo":"Card-module_variantInfo__B26E9","variantPrimary":"Card-module_variantPrimary__9E-0B","variantCaution":"Card-module_variantCaution__-p-t8","paddingMd":"Card-module_paddingMd__i1uBq","paddingXs":"Card-module_paddingXs__9BSaQ","paddingCustom":"Card-module_paddingCustom__km95M","appearanceFilled":"Card-module_appearanceFilled__r6-rn","appearanceOutline":"Card-module_appearanceOutline__tseCa","borderWidthDefault":"Card-module_borderWidthDefault__QblrJ","borderWidthMd":"Card-module_borderWidthMd__lCL3w"};
671
+ var styles$l = {"card":"Card-module_card__-PlHa","footerDivider":"Card-module_footerDivider__nt5J7","mdShadow":"Card-module_mdShadow__yft6m","lgShadow":"Card-module_lgShadow__WzWj7","variantDefault":"Card-module_variantDefault__AIy3D","variantPlain":"Card-module_variantPlain__MOaH5","variantNeutral":"Card-module_variantNeutral__OAsYA","variantSuccess":"Card-module_variantSuccess__GWiOd","variantWarning":"Card-module_variantWarning__jappm","variantNotice":"Card-module_variantNotice__C7UUh","variantInfo":"Card-module_variantInfo__B26E9","variantPrimary":"Card-module_variantPrimary__9E-0B","variantCaution":"Card-module_variantCaution__-p-t8","paddingMd":"Card-module_paddingMd__i1uBq","paddingXs":"Card-module_paddingXs__9BSaQ","paddingCustom":"Card-module_paddingCustom__km95M","appearanceFilled":"Card-module_appearanceFilled__r6-rn","appearanceOutline":"Card-module_appearanceOutline__tseCa","borderWidthDefault":"Card-module_borderWidthDefault__QblrJ","borderWidthMd":"Card-module_borderWidthMd__lCL3w"};
672
672
 
673
673
  var capitalize = function (value) {
674
674
  return value.charAt(0).toUpperCase() + value.slice(1);
@@ -676,15 +676,15 @@ var capitalize = function (value) {
676
676
  var Card = function (_a) {
677
677
  var _b;
678
678
  var header = _a.header, children = _a.children, footer = _a.footer, style = _a.style, _c = _a.shadow, shadow = _c === undefined ? 'md' : _c, _d = _a.variant, variant = _d === undefined ? 'default' : _d, _e = _a.appearance, appearance = _e === undefined ? 'filled' : _e, _f = _a.padding, padding = _f === undefined ? 'md' : _f, _g = _a.borderWidth, borderWidth = _g === undefined ? 'default' : _g;
679
- var cardClassName = classNames(styles$k.card, (_b = {},
680
- _b[styles$k.mdShadow] = shadow === 'md',
681
- _b[styles$k.lgShadow] = shadow === 'lg',
682
- _b), styles$k["variant".concat(capitalize(variant))], styles$k["appearance".concat(capitalize(appearance))], styles$k["padding".concat(capitalize(padding))], styles$k["borderWidth".concat(capitalize(borderWidth))]);
683
- return (jsxs("div", { className: cardClassName, style: style, children: [header, children, footer && jsx("div", { className: styles$k.footerDivider }), footer] }));
679
+ var cardClassName = classNames(styles$l.card, (_b = {},
680
+ _b[styles$l.mdShadow] = shadow === 'md',
681
+ _b[styles$l.lgShadow] = shadow === 'lg',
682
+ _b), styles$l["variant".concat(capitalize(variant))], styles$l["appearance".concat(capitalize(appearance))], styles$l["padding".concat(capitalize(padding))], styles$l["borderWidth".concat(capitalize(borderWidth))]);
683
+ return (jsxs("div", { className: cardClassName, style: style, children: [header, children, footer && jsx("div", { className: styles$l.footerDivider }), footer] }));
684
684
  };
685
685
  Card.displayName = 'Card';
686
686
 
687
- var styles$j = {"cardStatus":"CardStatus-module_cardStatus__5T4aF","cardStatus--leftIcon":"CardStatus-module_cardStatus--leftIcon__ULp9A"};
687
+ var styles$k = {"cardStatus":"CardStatus-module_cardStatus__5T4aF","cardStatus--leftIcon":"CardStatus-module_cardStatus--leftIcon__ULp9A"};
688
688
 
689
689
  var cardStatusVariantMap = {
690
690
  notes: {
@@ -721,11 +721,11 @@ var CardStatus = function (_a) {
721
721
  ? (_b = cardStatusVariantMap[variant]) === null || _b === undefined ? undefined : _b.backgroundColor
722
722
  : undefined;
723
723
  var sizeStyles = sizeMap[size || 'small'];
724
- return (jsxs("div", { className: "".concat(styles$j.cardStatus, " ").concat(leftIcon ? styles$j['cardStatus--leftIcon'] : ''), style: backgroundColor ? { backgroundColor: backgroundColor } : undefined, children: [leftIcon && icon, jsx(Text, { variant: sizeStyles.textVariant, color: 'var(--color-neutral-600)', children: label }), !leftIcon && icon] }));
724
+ return (jsxs("div", { className: "".concat(styles$k.cardStatus, " ").concat(leftIcon ? styles$k['cardStatus--leftIcon'] : ''), style: backgroundColor ? { backgroundColor: backgroundColor } : undefined, children: [leftIcon && icon, jsx(Text, { variant: sizeStyles.textVariant, color: 'var(--color-neutral-600)', children: label }), !leftIcon && icon] }));
725
725
  };
726
726
  CardStatus.displayName = 'CardStatus';
727
727
 
728
- var styles$i = {"inner":"Checkbox-module_inner__R7olC","input":"Checkbox-module_input__XnCmS","label":"Checkbox-module_label__l8z5T","label-disabled":"Checkbox-module_label-disabled__fXIgW","icon-disabled":"Checkbox-module_icon-disabled__Nw0dG"};
728
+ var styles$j = {"inner":"Checkbox-module_inner__R7olC","input":"Checkbox-module_input__XnCmS","label":"Checkbox-module_label__l8z5T","label-disabled":"Checkbox-module_label-disabled__fXIgW","icon-disabled":"Checkbox-module_icon-disabled__Nw0dG"};
729
729
 
730
730
  /**
731
731
  * Checkbox component for selecting multiple options from a set.
@@ -743,20 +743,20 @@ var Checkbox = function (_a) {
743
743
  var _b, _c;
744
744
  var _d = _a.checked, checked = _d === undefined ? false : _d, _e = _a.disabled, disabled = _e === undefined ? false : _e, label = _a.label, onChange = _a.onChange, id = _a.id, rest = __rest(_a, ["checked", "disabled", "label", "onChange", "id"]);
745
745
  return (jsx(Checkbox$1, __assign({ checked: checked, label: label, disabled: disabled, onChange: onChange, id: id, color: "var(--color-primary-300)", classNames: {
746
- labelWrapper: styles$i.labelWrapper,
747
- label: classNames(styles$i.label, (_b = {},
748
- _b[styles$i['label-disabled']] = disabled,
746
+ labelWrapper: styles$j.labelWrapper,
747
+ label: classNames(styles$j.label, (_b = {},
748
+ _b[styles$j['label-disabled']] = disabled,
749
749
  _b)),
750
- input: styles$i.input,
751
- inner: styles$i.inner,
750
+ input: styles$j.input,
751
+ inner: styles$j.inner,
752
752
  icon: classNames((_c = {},
753
- _c[styles$i['icon-disabled']] = disabled,
753
+ _c[styles$j['icon-disabled']] = disabled,
754
754
  _c)),
755
755
  } }, rest)));
756
756
  };
757
757
  Checkbox.displayName = 'Checkbox';
758
758
 
759
- var styles$h = {"chip-wrapper":"Chip-module_chip-wrapper__XcAWQ","chip-wrapper-text":"Chip-module_chip-wrapper-text__MGQ2X","chip-wrapper-menu-text":"Chip-module_chip-wrapper-menu-text__6-ZGF","chip-number":"Chip-module_chip-number__Y2-Tg","chip-number-wide":"Chip-module_chip-number-wide__qIVlX","chip-menu-dropdown":"Chip-module_chip-menu-dropdown__36ced","chip-menu-item":"Chip-module_chip-menu-item__-u2K-","chip-wrapper-filter":"Chip-module_chip-wrapper-filter__0GhdM"};
759
+ var styles$i = {"chip-wrapper":"Chip-module_chip-wrapper__XcAWQ","chip-wrapper-text":"Chip-module_chip-wrapper-text__MGQ2X","chip-wrapper-menu-text":"Chip-module_chip-wrapper-menu-text__6-ZGF","chip-number":"Chip-module_chip-number__Y2-Tg","chip-number-wide":"Chip-module_chip-number-wide__qIVlX","chip-menu-dropdown":"Chip-module_chip-menu-dropdown__36ced","chip-menu-item":"Chip-module_chip-menu-item__-u2K-","chip-wrapper-filter":"Chip-module_chip-wrapper-filter__0GhdM"};
760
760
 
761
761
  var ChevronCollapse = function (_a) {
762
762
  var _b = _a.width, width = _b === undefined ? '32px' : _b, _c = _a.height, height = _c === undefined ? '32px' : _c, _d = _a.viewBox, viewBox = _d === undefined ? '0 0 32 32' : _d, _e = _a.stroke, stroke = _e === undefined ? 'currentColor' : _e, _f = _a.fill, fill = _f === undefined ? 'none' : _f;
@@ -780,10 +780,10 @@ var Chip = function (_a) {
780
780
  return null;
781
781
  // Just one filter
782
782
  if (itemGroup.length === 1) {
783
- return (jsxs(Flex, { className: styles$h['chip-wrapper'], children: [jsx(Text, { variant: "xs", weight: "regular", className: styles$h['chip-wrapper-text'], children: itemGroup[0] }), jsx(ActionIcon, { variant: "light", size: "xs", onClick: function () { return handleDelete(itemGroup[0]); }, children: jsx(Close, { width: "18px", height: "18px" }) })] }));
783
+ return (jsxs(Flex, { className: styles$i['chip-wrapper'], children: [jsx(Text, { variant: "xs", weight: "regular", className: styles$i['chip-wrapper-text'], children: itemGroup[0] }), jsx(ActionIcon, { variant: "light", size: "xs", onClick: function () { return handleDelete(itemGroup[0]); }, children: jsx(Close, { width: "18px", height: "18px" }) })] }));
784
784
  }
785
785
  // More than one filter
786
- return (jsxs(Menu$1, { opened: opened, onChange: setOpened, withinPortal: true, position: "bottom-start", closeOnItemClick: false, children: [jsx(Menu$1.Target, { children: jsxs(Flex, { className: styles$h['chip-wrapper'], children: [jsxs(Flex, { className: styles$h['chip-wrapper-menu-text'], children: [jsx(Text, { variant: "xs", weight: "regular", children: item }), jsx(Flex, { className: "".concat(styles$h['chip-number'], " ").concat(itemGroup.length > 9 ? styles$h['chip-number-wide'] : ''), children: jsx(Text, { variant: "xxs", weight: "bold", color: "var(--color-white)", style: { lineHeight: 1 }, children: itemGroup.length }) })] }), jsx(ActionIcon, { variant: "light", size: "xs", onClick: function () { return setOpened(function (o) { return !o; }); }, children: jsx(ChevronCollapse, { width: "24px", height: "24px" }) })] }) }), jsx(Menu$1.Dropdown, { className: styles$h['chip-menu-dropdown'], children: itemGroup.map(function (f) { return (jsx(Menu$1.Item, { className: styles$h['chip-menu-item'], children: jsx(Checkbox, { label: jsxs(Flex, { className: styles$h['chip-wrapper-filter'], children: [jsx(Text, { variant: "xs", weight: "regular", children: f }), jsxs(Text, { variant: "xs", weight: "regular", children: ["(", f.length, ")"] })] }), checked: itemGroup.includes(f), onChange: function () { return handleDelete(f); } }) }, f)); }) })] }));
786
+ return (jsxs(Menu$1, { opened: opened, onChange: setOpened, withinPortal: true, position: "bottom-start", closeOnItemClick: false, children: [jsx(Menu$1.Target, { children: jsxs(Flex, { className: styles$i['chip-wrapper'], children: [jsxs(Flex, { className: styles$i['chip-wrapper-menu-text'], children: [jsx(Text, { variant: "xs", weight: "regular", children: item }), jsx(Flex, { className: "".concat(styles$i['chip-number'], " ").concat(itemGroup.length > 9 ? styles$i['chip-number-wide'] : ''), children: jsx(Text, { variant: "xxs", weight: "bold", color: "var(--color-white)", style: { lineHeight: 1 }, children: itemGroup.length }) })] }), jsx(ActionIcon, { variant: "light", size: "xs", onClick: function () { return setOpened(function (o) { return !o; }); }, children: jsx(ChevronCollapse, { width: "24px", height: "24px" }) })] }) }), jsx(Menu$1.Dropdown, { className: styles$i['chip-menu-dropdown'], children: itemGroup.map(function (f) { return (jsx(Menu$1.Item, { className: styles$i['chip-menu-item'], children: jsx(Checkbox, { label: jsxs(Flex, { className: styles$i['chip-wrapper-filter'], children: [jsx(Text, { variant: "xs", weight: "regular", children: f }), jsxs(Text, { variant: "xs", weight: "regular", children: ["(", f.length, ")"] })] }), checked: itemGroup.includes(f), onChange: function () { return handleDelete(f); } }) }, f)); }) })] }));
787
787
  };
788
788
  Chip.displayName = 'Chip';
789
789
 
@@ -874,10 +874,10 @@ var DateInput = function (_a) {
874
874
  var showLabel = !hideLabel && (isFocused || value);
875
875
  var placeHolderValue = placeholder && isFocused ? placeholder : (label !== null && label !== undefined ? label : placeholder);
876
876
  var ErrorSection = useMemo(function () {
877
- return holdSpace && (jsxs(Flex, { className: styles$o.error, gap: 4, ml: 16, style: {
877
+ return holdSpace && (jsxs(Flex, { className: styles$p.error, gap: 4, ml: 16, style: {
878
878
  visibility: error ? 'visible' : 'hidden',
879
879
  alignItems: 'flex-start',
880
- }, children: [jsx(Flex, { style: { flexShrink: 0 }, children: jsx(Info, { width: "18px", height: "18px", viewBox: "0 0 24 24", stroke: "var(--color-red-300)" }) }), jsx(Text, { variant: "xs", className: classNames(styles$o.errorText), children: capitalizeFirstSentenceLetter(error || '') })] }));
880
+ }, children: [jsx(Flex, { style: { flexShrink: 0 }, children: jsx(Info, { width: "18px", height: "18px", viewBox: "0 0 24 24", stroke: "var(--color-red-300)" }) }), jsx(Text, { variant: "xs", className: classNames(styles$p.errorText), children: capitalizeFirstSentenceLetter(error || '') })] }));
881
881
  }, [error, holdSpace]);
882
882
  var handleBlur = function (e) {
883
883
  setIsFocused(false);
@@ -885,36 +885,36 @@ var DateInput = function (_a) {
885
885
  onBlur(e);
886
886
  }
887
887
  };
888
- return (jsxs("div", { className: styles$o.container, children: [showLabel && (jsx("label", { className: classNames(styles$o.label, (_b = {},
889
- _b[styles$o.labelError] = error && !isFocused,
890
- _b[styles$o.labelFocused] = isFocused || isHovered,
891
- _b[styles$o.labelDisabled] = disabled,
888
+ return (jsxs("div", { className: styles$p.container, children: [showLabel && (jsx("label", { className: classNames(styles$p.label, (_b = {},
889
+ _b[styles$p.labelError] = error && !isFocused,
890
+ _b[styles$p.labelFocused] = isFocused || isHovered,
891
+ _b[styles$p.labelDisabled] = disabled,
892
892
  _b)), children: label })), jsx("div", { onMouseEnter: function () { return setIsHovered(true); }, onMouseLeave: function () { return setIsHovered(false); }, onFocus: function () { return setIsFocused(true); }, onBlur: function () { return setIsFocused(false); }, children: jsx(DateInput$1, __assign({ name: name, classNames: {
893
- input: classNames(styles$o.input, (_c = {},
894
- _c[styles$o.inputError] = error,
895
- _c[styles$o.inputRightIcon] = true,
893
+ input: classNames(styles$p.input, (_c = {},
894
+ _c[styles$p.inputError] = error,
895
+ _c[styles$p.inputRightIcon] = true,
896
896
  _c)),
897
- }, valueFormat: "MM/DD/YYYY", dateParser: dateParser, rightSection: jsx(Calendar, { stroke: "var(--color-neutral-600)", width: "18px", height: "18px", viewBox: "0 0 24 24" }), rightSectionProps: { className: styles$o.rightSection }, placeholder: placeHolderValue, value: value, onChange: onChange, onBlur: handleBlur, error: ErrorSection, errorProps: inputErrorProps, inputWrapperOrder: ['label', 'input', 'error'], disabled: disabled }, rest)) })] }));
897
+ }, valueFormat: "MM/DD/YYYY", dateParser: dateParser, rightSection: jsx(Calendar, { stroke: "var(--color-neutral-600)", width: "18px", height: "18px", viewBox: "0 0 24 24" }), rightSectionProps: { className: styles$p.rightSection }, placeholder: placeHolderValue, value: value, onChange: onChange, onBlur: handleBlur, error: ErrorSection, errorProps: inputErrorProps, inputWrapperOrder: ['label', 'input', 'error'], disabled: disabled }, rest)) })] }));
898
898
  };
899
899
  DateInput.displayName = 'DateInput';
900
900
 
901
- var styles$g = {"code-input":"EnterCodeInput-module_code-input__bCj-T","code-input--2":"EnterCodeInput-module_code-input--2__yoYWJ","code-input--3":"EnterCodeInput-module_code-input--3__0xXFa","code-input--4":"EnterCodeInput-module_code-input--4__stWlP","code-input-error":"EnterCodeInput-module_code-input-error__l8yKQ"};
901
+ var styles$h = {"code-input":"EnterCodeInput-module_code-input__bCj-T","code-input--2":"EnterCodeInput-module_code-input--2__yoYWJ","code-input--3":"EnterCodeInput-module_code-input--3__0xXFa","code-input--4":"EnterCodeInput-module_code-input--4__stWlP","code-input-error":"EnterCodeInput-module_code-input-error__l8yKQ"};
902
902
 
903
903
  var EnterCodeInput = React.forwardRef(function (props, ref) {
904
904
  var className = [
905
- styles$g['code-input'],
906
- styles$g["code-input--".concat(props.inline)],
905
+ styles$h['code-input'],
906
+ styles$h["code-input--".concat(props.inline)],
907
907
  ].join(' ');
908
908
  if (props.error) {
909
- className = [className, styles$g['code-input-error']].join(' ');
909
+ className = [className, styles$h['code-input-error']].join(' ');
910
910
  }
911
911
  return (jsx("input", __assign({}, (typeof props.field === 'object' ? props.field : {}), props, { ref: ref, name: props.name, autoFocus: true, className: className, type: props.type, maxLength: 6, placeholder: props.placeholder, onChange: props.onChange, onBlur: props.onBlur, onKeyUp: props.onKeyUp, value: props.value })));
912
912
  });
913
913
  EnterCodeInput.displayName = 'EnterCodeInput';
914
914
 
915
- var styles$f = {"container":"FileInput-module_container__PUDhK","dropzone":"FileInput-module_dropzone__y5BNo","dragging":"FileInput-module_dragging__DoJPz","disabled":"FileInput-module_disabled__2Vlih","input":"FileInput-module_input__xiCkj","icon":"FileInput-module_icon__lXNr-","content":"FileInput-module_content__V9dYE","label":"FileInput-module_label__3DYWx","helper":"FileInput-module_helper__vVlYi","fileFormatText":"FileInput-module_fileFormatText__3E24H","fileList":"FileInput-module_fileList__xwhfk"};
915
+ var styles$g = {"container":"FileInput-module_container__PUDhK","dropzone":"FileInput-module_dropzone__y5BNo","dragging":"FileInput-module_dragging__DoJPz","disabled":"FileInput-module_disabled__2Vlih","input":"FileInput-module_input__xiCkj","icon":"FileInput-module_icon__lXNr-","content":"FileInput-module_content__V9dYE","label":"FileInput-module_label__3DYWx","helper":"FileInput-module_helper__vVlYi","fileFormatText":"FileInput-module_fileFormatText__3E24H","fileList":"FileInput-module_fileList__xwhfk"};
916
916
 
917
- var styles$e = {"fileItem":"FileUpload-module_fileItem__TQAj3","fileInfo":"FileUpload-module_fileInfo__0Rsbg","successIcon":"FileUpload-module_successIcon__P4ekl","errorIcon":"FileUpload-module_errorIcon__3IUcP","fileName":"FileUpload-module_fileName__iE6N7","fileSize":"FileUpload-module_fileSize__BuAI5","fileMessage":"FileUpload-module_fileMessage__ymYSV","progressBar":"FileUpload-module_progressBar__MYqP0","progress":"FileUpload-module_progress__eXpUX"};
917
+ var styles$f = {"fileItem":"FileUpload-module_fileItem__TQAj3","fileInfo":"FileUpload-module_fileInfo__0Rsbg","successIcon":"FileUpload-module_successIcon__P4ekl","errorIcon":"FileUpload-module_errorIcon__3IUcP","fileName":"FileUpload-module_fileName__iE6N7","fileSize":"FileUpload-module_fileSize__BuAI5","fileMessage":"FileUpload-module_fileMessage__ymYSV","progressBar":"FileUpload-module_progressBar__MYqP0","progress":"FileUpload-module_progress__eXpUX"};
918
918
 
919
919
  var Clock = function (_a) {
920
920
  var _b = _a.width, width = _b === undefined ? '32px' : _b, _c = _a.height, height = _c === undefined ? '32px' : _c, _d = _a.viewBox, viewBox = _d === undefined ? '0 0 32 32' : _d, _e = _a.stroke, stroke = _e === undefined ? 'currentColor' : _e;
@@ -970,25 +970,25 @@ var getMessage = function (status, message, progress) {
970
970
  if (status === 'failed') {
971
971
  if (message === null || message === undefined ? undefined : message.includes('-')) {
972
972
  var _a = message.split('-'), errorReason = _a[0], errorMessage = _a[1];
973
- return (jsxs(Text, { className: styles$e.fileMessage, color: "var(--color-red-400)", children: [jsx("strong", { children: errorReason }), " - ", errorMessage] }));
973
+ return (jsxs(Text, { className: styles$f.fileMessage, color: "var(--color-red-400)", children: [jsx("strong", { children: errorReason }), " - ", errorMessage] }));
974
974
  }
975
- return (jsx(Text, { className: styles$e.fileMessage, color: "var(--color-red-400)", children: message }));
975
+ return (jsx(Text, { className: styles$f.fileMessage, color: "var(--color-red-400)", children: message }));
976
976
  }
977
977
  if (status === 'duplicate') {
978
978
  if (message === null || message === undefined ? undefined : message.includes('-')) {
979
979
  var _b = message.split('-'), errorReason = _b[0], errorMessage = _b[1];
980
- return (jsxs(Text, { className: styles$e.fileMessage, color: "var(--color-orange-400)", children: [jsx("strong", { children: errorReason }), " - ", errorMessage] }));
980
+ return (jsxs(Text, { className: styles$f.fileMessage, color: "var(--color-orange-400)", children: [jsx("strong", { children: errorReason }), " - ", errorMessage] }));
981
981
  }
982
- return (jsx(Text, { className: styles$e.fileMessage, color: "var(--color-orange-400)", children: message }));
982
+ return (jsx(Text, { className: styles$f.fileMessage, color: "var(--color-orange-400)", children: message }));
983
983
  }
984
984
  if (status === 'uploading') {
985
- return (jsxs(Flex, { align: "center", gap: 24, children: [jsx(Flex, { className: styles$e.progressBar, children: jsx(Flex, { className: styles$e.progress, w: "".concat(progress, "%") }) }), jsxs(Text, { color: "var(--color-neutral-500)", variant: "m", style: { margin: 0 }, children: [progress, "%"] })] }));
985
+ return (jsxs(Flex, { align: "center", gap: 24, children: [jsx(Flex, { className: styles$f.progressBar, children: jsx(Flex, { className: styles$f.progress, w: "".concat(progress, "%") }) }), jsxs(Text, { color: "var(--color-neutral-500)", variant: "m", style: { margin: 0 }, children: [progress, "%"] })] }));
986
986
  }
987
987
  if (status === 'previously-uploaded') {
988
- return (jsx(Text, { className: styles$e.fileMessage, color: "var(--color-green-400)", children: message }));
988
+ return (jsx(Text, { className: styles$f.fileMessage, color: "var(--color-green-400)", children: message }));
989
989
  }
990
990
  if (status === 'uploaded') {
991
- return (jsx(Text, { className: styles$e.fileMessage, color: "var(--color-green-400)", children: message }));
991
+ return (jsx(Text, { className: styles$f.fileMessage, color: "var(--color-green-400)", children: message }));
992
992
  }
993
993
  return null;
994
994
  };
@@ -1004,7 +1004,7 @@ var parseFileSize = function (size) {
1004
1004
 
1005
1005
  var FileUpload = function (_a) {
1006
1006
  var id = _a.id, name = _a.name, size = _a.size, status = _a.status, message = _a.message, progress = _a.progress, removeFile = _a.removeFile;
1007
- return (jsxs(Fragment, { children: [jsx(Divider, { color: "var(--color-neutral-300)" }), jsxs("div", { className: styles$e.fileItem, children: [jsxs("div", { className: styles$e.fileInfo, children: [getIcon$1(status), jsxs(Flex, { direction: "column", w: "100%", children: [jsx(Text, { className: styles$e.fileName, children: name }), jsx(Text, { className: styles$e.fileSize, color: "var(--color-neutral-500)", children: parseFileSize(size) }), getMessage(status, message, progress)] })] }), removeFile && (jsx(ActionIcon, { variant: "light", size: 'md', onClick: function () { return removeFile(id); }, "aria-label": "Remove ".concat(name), children: jsx(Close, {}) }))] }, "".concat(name, "-").concat(id))] }));
1007
+ return (jsxs(Fragment, { children: [jsx(Divider, { color: "var(--color-neutral-300)" }), jsxs("div", { className: styles$f.fileItem, children: [jsxs("div", { className: styles$f.fileInfo, children: [getIcon$1(status), jsxs(Flex, { direction: "column", w: "100%", children: [jsx(Text, { className: styles$f.fileName, children: name }), jsx(Text, { className: styles$f.fileSize, color: "var(--color-neutral-500)", children: parseFileSize(size) }), getMessage(status, message, progress)] })] }), removeFile && (jsx(ActionIcon, { variant: "light", size: 'md', onClick: function () { return removeFile(id); }, "aria-label": "Remove ".concat(name), children: jsx(Close, {}) }))] }, "".concat(name, "-").concat(id))] }));
1008
1008
  };
1009
1009
  FileUpload.displayName = 'FileUpload';
1010
1010
 
@@ -1062,34 +1062,34 @@ var FileInput = function (_a) {
1062
1062
  .join(', ')
1063
1063
  .slice('.'.length)
1064
1064
  .toUpperCase(), ". Max file size: ").concat(maxSize, "MB");
1065
- return (jsxs(Fragment, { children: [jsx("div", { className: styles$f.container, children: jsxs("div", { className: classNames(styles$f.dropzone, (_b = {},
1066
- _b[styles$f.dragging] = isDragging,
1067
- _b[styles$f.disabled] = disabled,
1068
- _b)), onDragOver: handleDragOver, onDragLeave: handleDragLeave, onDrop: handleDrop, children: [jsx("input", { type: "file", accept: acceptedFormats.join(','), onChange: handleFileInput, className: styles$f.input, "aria-label": label, disabled: disabled, multiple: true }), jsx("div", { className: styles$f.icon, children: jsx(Upload, { stroke: color, width: "2.6rem", height: "2.6rem", viewBox: "0 0 40 40" }) }), jsxs("div", { className: styles$f.content, children: [jsxs(Flex, { gap: 4, children: [jsx(Text, { variant: "m", weight: "medium", color: color, children: "Drag or" }), jsxs(Text, { variant: "m", weight: "medium", color: color, style: { textDecoration: 'underline' }, children: ["click to upload ", label] })] }), jsx(Text, { className: styles$f.fileFormatText, color: color, children: fileFormatText })] })] }) }), files.some(function (f) { return f.status === 'failed'; }) ? (jsx(Text, { variant: "xs", className: styles$f.helper, children: errorMessage })) : (jsx(Text, { variant: "xs", className: styles$f.helper, children: helperText })), files.length > 0 && (jsx(Flex, { className: styles$f.fileList, children: files.map(function (_a, index) {
1065
+ return (jsxs(Fragment, { children: [jsx("div", { className: styles$g.container, children: jsxs("div", { className: classNames(styles$g.dropzone, (_b = {},
1066
+ _b[styles$g.dragging] = isDragging,
1067
+ _b[styles$g.disabled] = disabled,
1068
+ _b)), onDragOver: handleDragOver, onDragLeave: handleDragLeave, onDrop: handleDrop, children: [jsx("input", { type: "file", accept: acceptedFormats.join(','), onChange: handleFileInput, className: styles$g.input, "aria-label": label, disabled: disabled, multiple: true }), jsx("div", { className: styles$g.icon, children: jsx(Upload, { stroke: color, width: "2.6rem", height: "2.6rem", viewBox: "0 0 40 40" }) }), jsxs("div", { className: styles$g.content, children: [jsxs(Flex, { gap: 4, children: [jsx(Text, { variant: "m", weight: "medium", color: color, children: "Drag or" }), jsxs(Text, { variant: "m", weight: "medium", color: color, style: { textDecoration: 'underline' }, children: ["click to upload ", label] })] }), jsx(Text, { className: styles$g.fileFormatText, color: color, children: fileFormatText })] })] }) }), files.some(function (f) { return f.status === 'failed'; }) ? (jsx(Text, { variant: "xs", className: styles$g.helper, children: errorMessage })) : (jsx(Text, { variant: "xs", className: styles$g.helper, children: helperText })), files.length > 0 && (jsx(Flex, { className: styles$g.fileList, children: files.map(function (_a, index) {
1069
1069
  var file = _a.file, rest = __rest(_a, ["file"]);
1070
1070
  return (jsx(FileUpload, __assign({ file: file, removeFile: removeFile }, rest), "".concat(file.name, "-").concat(index)));
1071
1071
  }) }))] }));
1072
1072
  };
1073
1073
  FileInput.displayName = 'FileInput';
1074
1074
 
1075
- var styles$d = {"flex":"IncrementNumber-module_flex__Zo8-v","increment-button":"IncrementNumber-module_increment-button__qpw2X"};
1075
+ var styles$e = {"flex":"IncrementNumber-module_flex__Zo8-v","increment-button":"IncrementNumber-module_increment-button__qpw2X"};
1076
1076
 
1077
1077
  var IncrementNumber = function (props) {
1078
1078
  var formatter = new Intl.NumberFormat('en-US', {
1079
1079
  style: 'currency',
1080
1080
  currency: 'USD',
1081
1081
  });
1082
- return (jsxs("div", { className: styles$d['flex'], children: [props.disableDecrease ? (jsx("div", { style: { width: 24 } })) : (jsx("button", { className: styles$d['increment-button'], onClick: function () { return props.handleDecrease(props.value); }, children: jsx("img", { src: props.minusIconPath, width: 24, height: 24, alt: "-", style: {
1082
+ return (jsxs("div", { className: styles$e['flex'], children: [props.disableDecrease ? (jsx("div", { style: { width: 24 } })) : (jsx("button", { className: styles$e['increment-button'], onClick: function () { return props.handleDecrease(props.value); }, children: jsx("img", { src: props.minusIconPath, width: 24, height: 24, alt: "-", style: {
1083
1083
  maxWidth: '100%',
1084
1084
  height: 'auto',
1085
- } }) })), jsx(Text, { variant: "m", weight: "regular", style: { minWidth: 120 }, children: formatter.format(props.value) }), props.disableIncrease ? (jsx("div", { style: { width: 24 } })) : (jsx("button", { className: styles$d['increment-button'], onClick: function () { return props.handleIncrease(props.value); }, children: jsx("img", { src: props.plusIconPath, width: 24, height: 24, alt: "+", style: {
1085
+ } }) })), jsx(Text, { variant: "m", weight: "regular", style: { minWidth: 120 }, children: formatter.format(props.value) }), props.disableIncrease ? (jsx("div", { style: { width: 24 } })) : (jsx("button", { className: styles$e['increment-button'], onClick: function () { return props.handleIncrease(props.value); }, children: jsx("img", { src: props.plusIconPath, width: 24, height: 24, alt: "+", style: {
1086
1086
  maxWidth: '100%',
1087
1087
  height: 'auto',
1088
1088
  } }) }))] }));
1089
1089
  };
1090
1090
  IncrementNumber.displayName = 'IncrementNumber';
1091
1091
 
1092
- var styles$c = {"link":"Link-module_link__8oxip","s":"Link-module_s__YsU8H","m":"Link-module_m__8-UFj","bold":"Link-module_bold__H3baG","medium":"Link-module_medium__nuncU","regular":"Link-module_regular__4VBH2","disabledUnderlined":"Link-module_disabledUnderlined__rLghi"};
1092
+ var styles$d = {"link":"Link-module_link__8oxip","s":"Link-module_s__YsU8H","m":"Link-module_m__8-UFj","bold":"Link-module_bold__H3baG","medium":"Link-module_medium__nuncU","regular":"Link-module_regular__4VBH2","disabledUnderlined":"Link-module_disabledUnderlined__rLghi"};
1093
1093
 
1094
1094
  /**
1095
1095
  *
@@ -1119,15 +1119,15 @@ var styles$c = {"link":"Link-module_link__8oxip","s":"Link-module_s__YsU8H","m":
1119
1119
  var Link = function (_a) {
1120
1120
  var children = _a.children, variant = _a.variant, weight = _a.weight, href = _a.href, target = _a.target, _b = _a.disabledUnderlined, disabledUnderlined = _b === undefined ? false : _b, rel = _a.rel, rest = __rest(_a, ["children", "variant", "weight", "href", "target", "disabledUnderlined", "rel"]);
1121
1121
  return (jsx("a", __assign({}, rest, { href: href || '#', target: target, rel: rel, className: [
1122
- styles$c['link'],
1123
- styles$c[variant || ''],
1124
- styles$c[weight || ''],
1125
- disabledUnderlined ? styles$c['disabledUnderlined'] : '',
1122
+ styles$d['link'],
1123
+ styles$d[variant || ''],
1124
+ styles$d[weight || ''],
1125
+ disabledUnderlined ? styles$d['disabledUnderlined'] : '',
1126
1126
  ].join(' '), children: children })));
1127
1127
  };
1128
1128
  Link.displayName = 'Link';
1129
1129
 
1130
- var styles$b = {"modal":"Modal-module_modal__gMPgi","body":"Modal-module_body__OhLb0","header":"Modal-module_header__5sBzU"};
1130
+ var styles$c = {"modal":"Modal-module_modal__gMPgi","body":"Modal-module_body__OhLb0","header":"Modal-module_header__5sBzU"};
1131
1131
 
1132
1132
  var Modal = function (_a) {
1133
1133
  var isOpen = _a.isOpen, onClose = _a.onClose, noLabel = _a.noLabel, yesLabel = _a.yesLabel, invertColors = _a.invertColors, underButton = _a.underButton, no = _a.no, yes = _a.yes, _b = _a.size, size = _b === undefined ? 'sm' : _b, _c = _a.padding, padding = _c === undefined ? 'sm' : _c, _d = _a.customRadius, customRadius = _d === undefined ? 16 : _d, children = _a.children, _e = _a.disabled, disabled = _e === undefined ? false : _e;
@@ -1152,9 +1152,9 @@ var Modal = function (_a) {
1152
1152
  title: 'Close modal',
1153
1153
  icon: jsx(Close, { fill: "var(--color-neutral-200)" }),
1154
1154
  }, classNames: {
1155
- content: styles$b.modal,
1156
- body: styles$b.body,
1157
- header: styles$b.header,
1155
+ content: styles$c.modal,
1156
+ body: styles$c.body,
1157
+ header: styles$c.header,
1158
1158
  }, styles: {
1159
1159
  body: {
1160
1160
  padding: paddingMap[padding],
@@ -1180,7 +1180,7 @@ var Warning = function (_a) {
1180
1180
  };
1181
1181
  Warning.displayName = 'Warning';
1182
1182
 
1183
- var styles$a = {"message":"Message-module_message__HyLo0","general":"Message-module_general__jNnP2","alert":"Message-module_alert__3mQLB","negative":"Message-module_negative__H-tsT","positive":"Message-module_positive__CU0EL","success":"Message-module_success__08wEY","center":"Message-module_center__Y4KjG","top":"Message-module_top__J-o9d","bottom":"Message-module_bottom__2p2bW"};
1183
+ var styles$b = {"message":"Message-module_message__HyLo0","general":"Message-module_general__jNnP2","alert":"Message-module_alert__3mQLB","negative":"Message-module_negative__H-tsT","positive":"Message-module_positive__CU0EL","success":"Message-module_success__08wEY","center":"Message-module_center__Y4KjG","top":"Message-module_top__J-o9d","bottom":"Message-module_bottom__2p2bW"};
1184
1184
 
1185
1185
  /**
1186
1186
  * Message component for displaying feedback to the user.
@@ -1211,18 +1211,18 @@ var getIcon = function (status) {
1211
1211
  };
1212
1212
  var Message = function (_a) {
1213
1213
  var content = _a.content, _b = _a.variant, variant = _b === undefined ? 'form' : _b, _c = _a.status, status = _c === undefined ? 'general' : _c, _d = _a.iconAlignment, iconAlignment = _d === undefined ? 'center' : _d;
1214
- return (jsxs(Flex, { className: classNames(styles$a.message, styles$a[status], styles$a[variant]), children: [jsx(Flex, { className: styles$a[iconAlignment], children: getIcon(status) }), typeof content === 'string' ? (jsx(Text, { variant: "xs", children: content })) : (content)] }));
1214
+ return (jsxs(Flex, { className: classNames(styles$b.message, styles$b[status], styles$b[variant]), children: [jsx(Flex, { className: styles$b[iconAlignment], children: getIcon(status) }), typeof content === 'string' ? (jsx(Text, { variant: "xs", children: content })) : (content)] }));
1215
1215
  };
1216
1216
  Message.displayName = 'Message';
1217
1217
 
1218
1218
  var multiselectStyles = {"input":"Multiselect-module_input__lwmrJ","inputFocused":"Multiselect-module_inputFocused__rm-OP","disabled":"Multiselect-module_disabled__DyqLt","pill":"Multiselect-module_pill__NwXcT","pillText":"Multiselect-module_pillText__6hobG"};
1219
1219
 
1220
- var styles$9 = {"tooltip":"Tooltip-module_tooltip__Q1YfF"};
1220
+ var styles$a = {"tooltip":"Tooltip-module_tooltip__Q1YfF"};
1221
1221
 
1222
1222
  var Tooltip = function (_a) {
1223
1223
  var children = _a.children, props = __rest(_a, ["children"]);
1224
1224
  return (jsx(Tooltip$1, __assign({}, props, { classNames: {
1225
- tooltip: styles$9.tooltip,
1225
+ tooltip: styles$a.tooltip,
1226
1226
  }, offset: 4, children: children })));
1227
1227
  };
1228
1228
  Tooltip.displayName = 'Tooltip';
@@ -1373,17 +1373,17 @@ var MultiselectInternal = function (_a) {
1373
1373
  }, onClick: function (e) { return e.stopPropagation(); } }))] }));
1374
1374
  };
1375
1375
  PillAndSearchSection.displayName = 'PillAndSearchSection';
1376
- var ErrorSection = (jsxs(Flex, { className: styles$o.error, gap: 4, ml: 16, mt: 8, style: { visibility: error ? 'visible' : 'hidden' }, children: [jsx(Info, { width: "18px", height: "18px", viewBox: "0 0 24 24", stroke: "var(--color-red-300)" }), jsx(Text, { variant: "xs", className: classNames(styles$o.errorText), children: error })] }));
1377
- var DescriptionSection = (jsx(Flex, { className: styles$o.description, gap: 4, ml: 16, mt: 8, style: { visibility: description ? 'visible' : 'hidden' }, children: jsx(Text, { variant: "xs", children: description }) }));
1376
+ var ErrorSection = (jsxs(Flex, { className: styles$p.error, gap: 4, ml: 16, mt: 8, style: { visibility: error ? 'visible' : 'hidden' }, children: [jsx(Info, { width: "18px", height: "18px", viewBox: "0 0 24 24", stroke: "var(--color-red-300)" }), jsx(Text, { variant: "xs", className: classNames(styles$p.errorText), children: error })] }));
1377
+ var DescriptionSection = (jsx(Flex, { className: styles$p.description, gap: 4, ml: 16, mt: 8, style: { visibility: description ? 'visible' : 'hidden' }, children: jsx(Text, { variant: "xs", children: description }) }));
1378
1378
  var dropdownFooter = function (store) { return (jsxs(Flex, { justify: "flex-end", py: 8, gap: 8, children: [jsx(Button, { variant: "outlined", label: "Clear", size: "small", onClick: handleClear }), jsx(Button, { variant: "filled", label: "Apply", size: "small", onClick: function () { return handleApply(store.closeDropdown); } })] })); };
1379
1379
  return (jsx(Dropdown, { options: dropdownOptions, maxHeight: 300, footer: dropdownFooter, children: function (store) {
1380
1380
  var _a, _b;
1381
1381
  var floatLabel = store.dropdownOpened || hasSelectedOptions;
1382
- return (jsxs("div", { className: styles$o.container, children: [floatLabel && (jsx("label", { className: classNames(styles$o.label, (_a = {},
1383
- _a[styles$o.labelError] = error && !isFocused,
1384
- _a[styles$o.labelFocused] = isFocused || isHovered,
1385
- _a)), children: label })), jsxs(Box, { className: classNames(styles$o.input, multiselectStyles.input, (_b = {},
1386
- _b[styles$o.inputError] = error && !isFocused,
1382
+ return (jsxs("div", { className: styles$p.container, children: [floatLabel && (jsx("label", { className: classNames(styles$p.label, (_a = {},
1383
+ _a[styles$p.labelError] = error && !isFocused,
1384
+ _a[styles$p.labelFocused] = isFocused || isHovered,
1385
+ _a)), children: label })), jsxs(Box, { className: classNames(styles$p.input, multiselectStyles.input, (_b = {},
1386
+ _b[styles$p.inputError] = error && !isFocused,
1387
1387
  _b[multiselectStyles.inputFocused] = isFocused || store.dropdownOpened,
1388
1388
  _b[multiselectStyles.disabled] = disabled,
1389
1389
  _b)), onMouseEnter: function () { return setIsHovered(true); }, onMouseLeave: function () { return setIsHovered(false); }, onClick: function () { return store.toggleDropdown(); }, onFocus: function () { return setIsFocused(true); }, onBlur: handleBlur, children: [jsx(PillAndSearchSection, { store: store, maxPills: maxPills }), jsx(Chevron, { rotate: store.dropdownOpened ? 90 : 270 })] }), error ? ErrorSection : DescriptionSection] }));
@@ -1471,15 +1471,15 @@ var NavBar = function (_a) {
1471
1471
  };
1472
1472
  NavBar.displayName = 'NavBar';
1473
1473
 
1474
- var styles$8 = {"navbarSideContainer":"NavBarSide-module_navbarSideContainer__P8vLp","tabsRoot":"NavBarSide-module_tabsRoot__AAHNn","tabsList":"NavBarSide-module_tabsList__q9npG","tab":"NavBarSide-module_tab__i8yDE","tabsPanel":"NavBarSide-module_tabsPanel__-JWPo"};
1474
+ var styles$9 = {"navbarSideContainer":"NavBarSide-module_navbarSideContainer__P8vLp","tabsRoot":"NavBarSide-module_tabsRoot__AAHNn","tabsList":"NavBarSide-module_tabsList__q9npG","tab":"NavBarSide-module_tab__i8yDE","tabsPanel":"NavBarSide-module_tabsPanel__-JWPo"};
1475
1475
 
1476
1476
  var NavBarSide = function (_a) {
1477
1477
  var tabs = _a.tabs, onChange = _a.onChange, value = _a.value;
1478
- return (jsx("div", { className: styles$8.navbarSideContainer, children: jsxs(Tabs$1, { value: value, onChange: onChange, orientation: "vertical", keepMounted: false, classNames: {
1479
- list: styles$8.tabsList,
1480
- tab: styles$8.tab,
1481
- panel: styles$8.tabsPanel,
1482
- root: styles$8.tabsRoot,
1478
+ return (jsx("div", { className: styles$9.navbarSideContainer, children: jsxs(Tabs$1, { value: value, onChange: onChange, orientation: "vertical", keepMounted: false, classNames: {
1479
+ list: styles$9.tabsList,
1480
+ tab: styles$9.tab,
1481
+ panel: styles$9.tabsPanel,
1482
+ root: styles$9.tabsRoot,
1483
1483
  }, children: [jsx(Tabs$1.List, { children: tabs.map(function (tab) { return (jsx(Tabs$1.Tab, { value: tab.value, "data-active": undefined, children: tab.label }, tab.value)); }) }), tabs.map(function (tab) { return (jsx(Tabs$1.Panel, { value: tab.value, children: tab.content }, tab.value)); })] }) }));
1484
1484
  };
1485
1485
  NavBarSide.displayName = 'NavBarSide';
@@ -1542,7 +1542,7 @@ var PasswordInput = function (_a) {
1542
1542
  };
1543
1543
  PasswordInput.displayName = 'PasswordInput';
1544
1544
 
1545
- var styles$7 = {"pill":"Pill-module_pill__LeCgu","badge":"Pill-module_badge__DN2xw","secondary":"Pill-module_secondary__gu5Nq","text":"Pill-module_text__kUgzL","secondarySelected":"Pill-module_secondarySelected__-f9tB","primary":"Pill-module_primary__ZlP8y","primarySelected":"Pill-module_primarySelected__JC8JY","disabled":"Pill-module_disabled__1KocP"};
1545
+ var styles$8 = {"pill":"Pill-module_pill__LeCgu","badge":"Pill-module_badge__DN2xw","secondary":"Pill-module_secondary__gu5Nq","text":"Pill-module_text__kUgzL","secondarySelected":"Pill-module_secondarySelected__-f9tB","primary":"Pill-module_primary__ZlP8y","primarySelected":"Pill-module_primarySelected__JC8JY","disabled":"Pill-module_disabled__1KocP"};
1546
1546
 
1547
1547
  /**
1548
1548
  * Pill component is used to display a pill with a label and an optional icon
@@ -1560,12 +1560,40 @@ var styles$7 = {"pill":"Pill-module_pill__LeCgu","badge":"Pill-module_badge__DN2
1560
1560
  var Pill = function (_a) {
1561
1561
  var label = _a.label, rightIcon = _a.rightIcon, leftIcon = _a.leftIcon, _b = _a.isSelected, isSelected = _b === undefined ? false : _b, onClick = _a.onClick, _c = _a.disabled, disabled = _c === undefined ? false : _c, _d = _a.className, className = _d === undefined ? '' : _d, dataFsElement = _a.dataFsElement, _e = _a.variant, variant = _e === undefined ? 'secondary' : _e;
1562
1562
  var variantClass = isSelected
1563
- ? styles$7["".concat(variant, "Selected")]
1564
- : styles$7[variant];
1565
- return (jsxs("div", __assign({ className: classNames(styles$7.pill, variantClass, disabled && styles$7.disabled, className), onClick: disabled ? undefined : onClick }, (dataFsElement ? { 'data-fs-element': dataFsElement } : {}), { children: [leftIcon, jsx(Text, { variant: "xs", weight: "medium", className: "\n ".concat(styles$7.text, "\n ").concat(isSelected ? styles$7.selectedText : '', "\n ").concat(disabled ? styles$7.disabledText : '', "\n "), children: label }), rightIcon] })));
1563
+ ? styles$8["".concat(variant, "Selected")]
1564
+ : styles$8[variant];
1565
+ return (jsxs("div", __assign({ className: classNames(styles$8.pill, variantClass, disabled && styles$8.disabled, className), onClick: disabled ? undefined : onClick }, (dataFsElement ? { 'data-fs-element': dataFsElement } : {}), { children: [leftIcon, jsx(Text, { variant: "xs", weight: "medium", className: "\n ".concat(styles$8.text, "\n ").concat(isSelected ? styles$8.selectedText : '', "\n ").concat(disabled ? styles$8.disabledText : '', "\n "), children: label }), rightIcon] })));
1566
1566
  };
1567
1567
  Pill.displayName = 'Pill';
1568
1568
 
1569
+ var StepIndicator = function (_a) {
1570
+ var _b = _a.width, width = _b === undefined ? '32px' : _b, _c = _a.height, height = _c === undefined ? '32px' : _c, _d = _a.viewBox, viewBox = _d === undefined ? '0 0 32 32' : _d, _e = _a.stroke, stroke = _e === undefined ? 'var(--color-primary-300)' : _e, _f = _a.fill, fill = _f === undefined ? 'var(--color-primary-50)' : _f, _g = _a.rotate, rotate = _g === undefined ? 0 : _g, props = __rest(_a, ["width", "height", "viewBox", "stroke", "fill", "rotate"]);
1571
+ return (jsxs(Icon, __assign({}, props, { width: width, height: height, viewBox: viewBox, rotate: rotate, stroke: "var(--color-primary-50)", children: [jsx("circle", { cx: "16", cy: "16", r: "16", fill: "var(--color-primary-50)" }), jsx("path", { d: "M16 25C20.9706 25 25 20.9706 25 16C25 11.0294 20.9706 7 16 7C11.0294 7 7 11.0294 7 16C7 20.9706 11.0294 25 16 25Z", stroke: stroke, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("circle", { cx: "16", cy: "16", r: "1.25", stroke: stroke, strokeWidth: "1.5", fill: fill })] })));
1572
+ };
1573
+ StepIndicator.displayName = 'StepIndicator';
1574
+
1575
+ var styles$7 = {"wrapper":"ProgressStepper-module_wrapper__ELFBB","circle":"ProgressStepper-module_circle__MaKFo","line":"ProgressStepper-module_line__pQ1eN"};
1576
+
1577
+ /**
1578
+ * ProgressStepper component, use it to show progress across a fixed number
1579
+ * of steps as a horizontal line of circular indicators
1580
+ *
1581
+ * @param {number} totalSteps - Total number of steps to render
1582
+ * @param {number} active - Current active step (0-indexed)
1583
+ *
1584
+ * @returns {React.ReactElement} The ProgressStepper component
1585
+ *
1586
+ */
1587
+ var ProgressStepper = function (_a) {
1588
+ var totalSteps = _a.totalSteps, active = _a.active, className = _a.className;
1589
+ return (jsx("div", { className: "".concat(styles$7.wrapper, " ").concat(className !== null && className !== undefined ? className : ''), children: Array.from({ length: totalSteps }).map(function (_, index) {
1590
+ var state = index < active ? 'completed' : index === active ? 'active' : 'pending';
1591
+ var isLast = index === totalSteps - 1;
1592
+ return (jsxs(React.Fragment, { children: [jsxs("div", { className: styles$7.circle, "data-state": state, children: [state === 'completed' && (jsx(Tick, { width: "14px", height: "14px", viewBox: "0 0 32 32", stroke: "var(--color-primary-300)", strokeWidth: 3 })), state === 'active' && (jsx(StepIndicator, { width: "24px", height: "24px" }))] }), !isLast && (jsx("div", { className: styles$7.line, "data-state": index < active ? 'completed' : 'pending' }))] }, index));
1593
+ }) }));
1594
+ };
1595
+ ProgressStepper.displayName = 'ProgressStepper';
1596
+
1569
1597
  var styles$6 = {"radio":"RadioButton-module_radio__0A47m","label":"RadioButton-module_label__4gTzQ","disabled-label":"RadioButton-module_disabled-label__Nk0NW"};
1570
1598
 
1571
1599
  /**
@@ -1724,12 +1752,6 @@ var Arrow = function (_a) {
1724
1752
  };
1725
1753
  Arrow.displayName = 'Arrow';
1726
1754
 
1727
- var StepIndicator = function (_a) {
1728
- var _b = _a.width, width = _b === undefined ? '32px' : _b, _c = _a.height, height = _c === undefined ? '32px' : _c, _d = _a.viewBox, viewBox = _d === undefined ? '0 0 32 32' : _d, _e = _a.stroke, stroke = _e === undefined ? 'var(--color-primary-300)' : _e, _f = _a.fill, fill = _f === undefined ? 'var(--color-primary-50)' : _f, _g = _a.rotate, rotate = _g === undefined ? 0 : _g, props = __rest(_a, ["width", "height", "viewBox", "stroke", "fill", "rotate"]);
1729
- return (jsxs(Icon, __assign({}, props, { width: width, height: height, viewBox: viewBox, rotate: rotate, stroke: "var(--color-primary-50)", children: [jsx("circle", { cx: "16", cy: "16", r: "16", fill: "var(--color-primary-50)" }), jsx("path", { d: "M16 25C20.9706 25 25 20.9706 25 16C25 11.0294 20.9706 7 16 7C11.0294 7 7 11.0294 7 16C7 20.9706 11.0294 25 16 25Z", stroke: stroke, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("circle", { cx: "16", cy: "16", r: "1.25", stroke: stroke, strokeWidth: "1.5", fill: fill })] })));
1730
- };
1731
- StepIndicator.displayName = 'StepIndicator';
1732
-
1733
1755
  /**
1734
1756
  * Stepper component, use it to select an option from a list of options
1735
1757
  * For selecting multiple options, use the MultipleSelect component
@@ -1741,6 +1763,7 @@ StepIndicator.displayName = 'StepIndicator';
1741
1763
  * @param {React.ReactNode} backButton - Custom back button
1742
1764
  * @param {React.ReactNode} nextButton - Custom next button
1743
1765
  * @param {boolean} allowNextStepsSelect - Whether to allow selecting next steps
1766
+ * @param {'full' | 'half'} progressBarVariant - 'full' fills progress bar for the active step (default), 'half' fills only halfway through it
1744
1767
  * @param {Step[]} stepCompleted - Content to show when all steps are completed
1745
1768
  *
1746
1769
  * @returns {React.ReactElement} The Stepper component
@@ -1748,9 +1771,9 @@ StepIndicator.displayName = 'StepIndicator';
1748
1771
  */
1749
1772
  var Stepper = function (_a) {
1750
1773
  var _b, _c, _d;
1751
- var steps = _a.steps, controlledActive = _a.active, _e = _a.fullSize, fullSize = _e === undefined ? false : _e, onStepChange = _a.onStepChange, _f = _a.showControls, showControls = _f === undefined ? true : _f, backButton = _a.backButton, nextButton = _a.nextButton, _g = _a.allowNextStepsSelect, allowNextStepsSelect = _g === undefined ? false : _g, stepCompleted = _a.stepCompleted, completedComponent = _a.completedComponent, props = __rest(_a, ["steps", "active", "fullSize", "onStepChange", "showControls", "backButton", "nextButton", "allowNextStepsSelect", "stepCompleted", "completedComponent"]);
1752
- var _h = useState(0), internalActive = _h[0], setInternalActive = _h[1];
1753
- var _j = useState(false), isCompleted = _j[0], setIsCompleted = _j[1];
1774
+ var steps = _a.steps, controlledActive = _a.active, _e = _a.fullSize, fullSize = _e === undefined ? false : _e, onStepChange = _a.onStepChange, _f = _a.showControls, showControls = _f === undefined ? true : _f, backButton = _a.backButton, nextButton = _a.nextButton, _g = _a.allowNextStepsSelect, allowNextStepsSelect = _g === undefined ? false : _g, _h = _a.progressBarVariant, progressBarVariant = _h === undefined ? 'full' : _h, stepCompleted = _a.stepCompleted, completedComponent = _a.completedComponent, props = __rest(_a, ["steps", "active", "fullSize", "onStepChange", "showControls", "backButton", "nextButton", "allowNextStepsSelect", "progressBarVariant", "stepCompleted", "completedComponent"]);
1775
+ var _j = useState(0), internalActive = _j[0], setInternalActive = _j[1];
1776
+ var _k = useState(false), isCompleted = _k[0], setIsCompleted = _k[1];
1754
1777
  var active = controlledActive !== null && controlledActive !== undefined ? controlledActive : internalActive;
1755
1778
  var setActive = function (step) {
1756
1779
  if (controlledActive === undefined) {
@@ -1767,6 +1790,9 @@ var Stepper = function (_a) {
1767
1790
  }
1768
1791
  };
1769
1792
  var prevStep = function () { return setActive(active > 0 ? active - 1 : active); };
1793
+ var progressValue = progressBarVariant === 'half'
1794
+ ? ((active + 0.5) / steps.length) * 100
1795
+ : ((active + 1) / steps.length) * 100;
1770
1796
  if (isCompleted) {
1771
1797
  return (jsx(Flex, { justify: "center", children: completedComponent || (jsx("div", { children: stepCompleted
1772
1798
  ? stepCompleted.map(function (step, idx) { return (jsx("div", { children: step.content || step.label }, idx)); })
@@ -1781,7 +1807,7 @@ var Stepper = function (_a) {
1781
1807
  step: styles$3.step,
1782
1808
  }, children: steps.map(function (step, index) { return (jsx(StepperStep, { label: step.label, classNames: {
1783
1809
  stepLabel: index === active ? styles$3.stepLabelInactive : styles$3.stepLabel,
1784
- }, icon: jsx(Notification, { width: "32px", height: "32px", fill: "var(--color-white)" }) }, index)); }) })), jsx(Flex, { className: styles$3.progressWrapper, children: jsx(Progress, { value: ((active + 1) / steps.length) * 100, size: 10, radius: "xl", color: "var(--color-primary-200)", w: fullSize ? '100%' : '60%' }) }), jsx(Flex, { className: styles$3.stepWrapper, children: (_b = steps[active]) === null || _b === undefined ? undefined : _b.content }), showControls && (jsxs(Flex, { className: styles$3.buttonsWrapper, children: [active > 0 ? (backButton ? (backButton({ prevStep: prevStep, active: active })) : (jsx(Button, { variant: "outlined", size: "medium", onClick: prevStep, icon: jsx(Arrow, { width: "18px", height: "18px", rotate: 180 }), children: "Back" }))) : (jsx("div", {})), nextButton ? (nextButton({
1810
+ }, icon: jsx(Notification, { width: "32px", height: "32px", fill: "var(--color-white)" }) }, index)); }) })), jsx(Flex, { className: styles$3.progressWrapper, children: jsx(Progress, { value: progressValue, size: 10, radius: "xl", color: "var(--color-primary-200)", w: fullSize ? '100%' : '60%' }) }), jsx(Flex, { className: styles$3.stepWrapper, children: (_b = steps[active]) === null || _b === undefined ? undefined : _b.content }), showControls && (jsxs(Flex, { className: styles$3.buttonsWrapper, children: [active > 0 ? (backButton ? (backButton({ prevStep: prevStep, active: active })) : (jsx(Button, { variant: "outlined", size: "medium", onClick: prevStep, icon: jsx(Arrow, { width: "18px", height: "18px", rotate: 180 }), children: "Back" }))) : (jsx("div", {})), nextButton ? (nextButton({
1785
1811
  nextStep: nextStep,
1786
1812
  active: active,
1787
1813
  disabled: ((_c = steps[active]) === null || _c === undefined ? undefined : _c.isValid) === false,
@@ -1889,14 +1915,14 @@ var Textarea = function (_a) {
1889
1915
  var _j = useState(false), isHovered = _j[0], setIsHovered = _j[1];
1890
1916
  var showLabel = !hideLabel && (isFocused || value.trim());
1891
1917
  var ErrorSection = useMemo(function () {
1892
- return holdSpace && (jsxs(Flex, { className: styles$o.error, gap: 4, ml: 0, style: { visibility: error ? 'visible' : 'hidden' }, children: [jsx(Info, { width: "18px", height: "18px", viewBox: "0 0 24 24", stroke: "var(--color-red-300)" }), jsx(Text, { variant: "xs", className: classNames(styles$o.errorText), as: "span", children: capitalizeFirstSentenceLetter(error) })] }));
1918
+ return holdSpace && (jsxs(Flex, { className: styles$p.error, gap: 4, ml: 0, style: { visibility: error ? 'visible' : 'hidden' }, children: [jsx(Info, { width: "18px", height: "18px", viewBox: "0 0 24 24", stroke: "var(--color-red-300)" }), jsx(Text, { variant: "xs", className: classNames(styles$p.errorText), as: "span", children: capitalizeFirstSentenceLetter(error) })] }));
1893
1919
  }, [error]);
1894
- return (jsxs("div", { className: styles$o.container, children: [showLabel && (jsx("label", { className: classNames(styles$o.label, (_b = {},
1895
- _b[styles$o.labelError] = error && !isFocused,
1896
- _b[styles$o.labelFocused] = isFocused || isHovered,
1920
+ return (jsxs("div", { className: styles$p.container, children: [showLabel && (jsx("label", { className: classNames(styles$p.label, (_b = {},
1921
+ _b[styles$p.labelError] = error && !isFocused,
1922
+ _b[styles$p.labelFocused] = isFocused || isHovered,
1897
1923
  _b)), children: label })), jsx("div", { onMouseEnter: function () { return setIsHovered(true); }, onMouseLeave: function () { return setIsHovered(false); }, onFocus: function () { return setIsFocused(true); }, onBlur: function () { return setIsFocused(false); }, children: jsx(Textarea$1, __assign({ classNames: {
1898
- input: classNames(styles$o.input, (_c = {},
1899
- _c[styles$o.inputError] = error,
1924
+ input: classNames(styles$p.input, (_c = {},
1925
+ _c[styles$p.inputError] = error,
1900
1926
  _c)),
1901
1927
  }, placeholder: placeholder !== null && placeholder !== undefined ? placeholder : label, name: name, error: ErrorSection, description: !error && jsx(Text, { variant: "xs", children: description }), descriptionProps: inputDescriptionProps, errorProps: inputErrorProps, inputWrapperOrder: ['label', 'input', 'description', 'error'], value: value, onChange: onChange, autosize: rest.h ? false : rest.autosize, minRows: 2 }, rest, { styles: {
1902
1928
  input: {
@@ -2061,6 +2087,12 @@ var House = function (_a) {
2061
2087
  };
2062
2088
  House.displayName = 'House';
2063
2089
 
2090
+ var HouseCheck = function (_a) {
2091
+ var _b = _a.width, width = _b === undefined ? '32px' : _b, _c = _a.height, height = _c === undefined ? '32px' : _c, _d = _a.viewBox, viewBox = _d === undefined ? '0 0 32 32' : _d, _e = _a.stroke, stroke = _e === undefined ? 'currentColor' : _e, _f = _a.strokeWidth, strokeWidth = _f === undefined ? 1.5 : _f, _g = _a.fill, fill = _g === undefined ? 'none' : _g;
2092
+ return (jsx(Icon, { width: width, height: height, viewBox: viewBox, fill: fill, children: jsxs("g", { stroke: stroke, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: strokeWidth, opacity: "0.9", children: [jsx("path", { d: "M1 11.262l10.58-9.069c.817-.7 2.023-.7 2.84 0L25 11.263" }), jsx("path", { d: "M23.288 9.817V2.09A1.09 1.09 0 0022.197 1h-3.273a1.09 1.09 0 00-1.09 1.09v3.051M21 14.333A5.333 5.333 0 1121 25a5.333 5.333 0 010-10.667M19 20.286l1.875 1.714 3.125-4M9.732 23.669v-6.91c0-.602.488-1.09 1.09-1.09h2.183M2.715 9.82v13.85M13 23.67H1" })] }) }));
2093
+ };
2094
+ HouseCheck.displayName = 'HouseCheck';
2095
+
2064
2096
  var HouseTime = function (_a) {
2065
2097
  var _b = _a.width, width = _b === undefined ? '32px' : _b, _c = _a.height, height = _c === undefined ? '32px' : _c, _d = _a.viewBox, viewBox = _d === undefined ? '0 0 32 32' : _d, _e = _a.stroke, stroke = _e === undefined ? 'currentColor' : _e, _f = _a.fill, fill = _f === undefined ? 'none' : _f;
2066
2098
  return (jsx(Icon, { width: width, height: height, viewBox: viewBox, fill: fill, children: jsxs("g", { stroke: stroke, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", opacity: "0.9", children: [jsx("path", { d: "M1 11.262l10.58-9.069c.817-.7 2.023-.7 2.84 0L25 11.263" }), jsx("path", { d: "M23.288 9.817V2.09A1.09 1.09 0 0022.197 1h-3.273a1.09 1.09 0 00-1.09 1.09v3.051M21 14.333A5.333 5.333 0 1121 25a5.333 5.333 0 010-10.667M23.432 19.947h-2.59M20.84 19.946v-3.121M9.732 23.669v-6.91c0-.602.488-1.09 1.09-1.09h2.183M2.715 9.82v13.85M13 23.67H1" })] }) }));
@@ -2162,5 +2194,5 @@ var World = function (_a) {
2162
2194
  };
2163
2195
  World.displayName = 'World';
2164
2196
 
2165
- export { Attachment as $, Accordion as A, Badge as B, Card as C, DateInput as D, EnterCodeInput as E, FileInput as F, Stepper as G, Tabs as H, IncrementNumber as I, Text as J, Textarea as K, Link as L, Message as M, NavBar as N, ToastContainer as O, Pagination as P, Tooltip as Q, RadioButton as R, SegmentedControl as S, Table as T, AIGenerate as U, AIPrompt as V, AIRedo as W, AISearch as X, Alert as Y, Archive as Z, Arrow as _, AccordionItem as a, AvatarPlaceholder as a0, Bell as a1, Calendar as a2, Camera as a3, Cat as a4, Chat as a5, Check as a6, CheckSquare as a7, Chevron as a8, ChevronCollapse as a9, Open as aA, Pets as aB, Phone as aC, Plaid as aD, Plus as aE, Refresh as aF, Remove as aG, Search as aH, Shield as aI, StepIndicator as aJ, ThreeDots as aK, ThumbsDown as aL, Tick as aM, Umbrello as aN, Upload as aO, Visa as aP, Warning as aQ, World as aR, capitalizeFirstSentenceLetter as aS, Clock as aa, Close as ab, Cloud as ac, CloudUpload as ad, CreditCard as ae, Curriculum as af, Delete as ag, Document as ah, Dog as ai, EyeHide as aj, EyeShow as ak, Fingerprint as al, Flash as am, Google as an, Grid as ao, Hamburger as ap, HappyFace as aq, House as ar, HouseTime as as, Identification as at, Info as au, Location as av, Mail as aw, Menu as ax, MenuTouched as ay, Notification as az, AccordionControl as b, AccordionPanel as c, ActionIcon as d, Animation as e, Autocomplete as f, getDefaultExportFromCjs as g, Avatar as h, badgeVariantMap as i, Button as j, cardStatusVariantMap as k, CardStatus as l, Checkbox as m, Chip as n, Dropdown as o, FileUpload as p, Input as q, LinkModal as r, Loader as s, Modal as t, Multiselect as u, NavBarSide as v, PasswordInput as w, Pill as x, Select as y, StatusBadge as z };
2166
- //# sourceMappingURL=index-D6OoXp0A.js.map
2197
+ export { Arrow as $, Accordion as A, Badge as B, Card as C, DateInput as D, EnterCodeInput as E, FileInput as F, StatusBadge as G, Stepper as H, IncrementNumber as I, Tabs as J, Text as K, Link as L, Message as M, NavBar as N, Textarea as O, Pagination as P, ToastContainer as Q, RadioButton as R, SegmentedControl as S, Table as T, Tooltip as U, AIGenerate as V, AIPrompt as W, AIRedo as X, AISearch as Y, Alert as Z, Archive as _, AccordionItem as a, Attachment as a0, AvatarPlaceholder as a1, Bell as a2, Calendar as a3, Camera as a4, Cat as a5, Chat as a6, Check as a7, CheckSquare as a8, Chevron as a9, MenuTouched as aA, Notification as aB, Open as aC, Pets as aD, Phone as aE, Plaid as aF, Plus as aG, Refresh as aH, Remove as aI, Search as aJ, Shield as aK, StepIndicator as aL, ThreeDots as aM, ThumbsDown as aN, Tick as aO, Umbrello as aP, Upload as aQ, Visa as aR, Warning as aS, World as aT, capitalizeFirstSentenceLetter as aU, ChevronCollapse as aa, Clock as ab, Close as ac, Cloud as ad, CloudUpload as ae, CreditCard as af, Curriculum as ag, Delete as ah, Document as ai, Dog as aj, EyeHide as ak, EyeShow as al, Fingerprint as am, Flash as an, Google as ao, Grid as ap, Hamburger as aq, HappyFace as ar, House as as, HouseCheck as at, HouseTime as au, Identification as av, Info as aw, Location as ax, Mail as ay, Menu as az, AccordionControl as b, AccordionPanel as c, ActionIcon as d, Animation as e, Autocomplete as f, getDefaultExportFromCjs as g, Avatar as h, badgeVariantMap as i, Button as j, cardStatusVariantMap as k, CardStatus as l, Checkbox as m, Chip as n, Dropdown as o, FileUpload as p, Input as q, LinkModal as r, Loader as s, Modal as t, Multiselect as u, NavBarSide as v, PasswordInput as w, Pill as x, ProgressStepper as y, Select as z };
2198
+ //# sourceMappingURL=index-C2t8gcjZ.js.map