@aivenio/aquarium 2.10.1 → 2.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/atoms.mjs CHANGED
@@ -689,6 +689,22 @@ var require_capslock = __commonJS({
689
689
  }
690
690
  });
691
691
 
692
+ // src/icons/caretDownFilled.js
693
+ var require_caretDownFilled = __commonJS({
694
+ "src/icons/caretDownFilled.js"(exports) {
695
+ "use strict";
696
+ var data = {
697
+ "body": '<path fill="currentColor" d="M6.386 8.532a.5.5 0 01-.772 0l-3.27-3.964a.5.5 0 01.386-.818h6.54a.5.5 0 01.385.818l-3.27 3.964Z"/>',
698
+ "left": 0,
699
+ "top": 0,
700
+ "width": 12,
701
+ "height": 12
702
+ };
703
+ exports.__esModule = true;
704
+ exports.default = data;
705
+ }
706
+ });
707
+
692
708
  // src/icons/caretDown.js
693
709
  var require_caretDown = __commonJS({
694
710
  "src/icons/caretDown.js"(exports) {
@@ -737,6 +753,22 @@ var require_caretRight = __commonJS({
737
753
  }
738
754
  });
739
755
 
756
+ // src/icons/caretUpFilled.js
757
+ var require_caretUpFilled = __commonJS({
758
+ "src/icons/caretUpFilled.js"(exports) {
759
+ "use strict";
760
+ var data = {
761
+ "body": '<path fill="currentColor" d="M5.614 3.468a.5.5 0 01.772 0l3.27 3.964a.5.5 0 01-.386.818H2.73a.5.5 0 01-.385-.818l3.27-3.964Z"/>',
762
+ "left": 0,
763
+ "top": 0,
764
+ "width": 12,
765
+ "height": 12
766
+ };
767
+ exports.__esModule = true;
768
+ exports.default = data;
769
+ }
770
+ });
771
+
740
772
  // src/icons/caretUp.js
741
773
  var require_caretUp = __commonJS({
742
774
  "src/icons/caretUp.js"(exports) {
@@ -6004,9 +6036,7 @@ var createSimpleComponent = (Component, defaultProps, displayName) => {
6004
6036
  const Curried = (props) => {
6005
6037
  const propsClassName = hasClassName(props) ? props.className : "";
6006
6038
  const className = defaultClassName || propsClassName ? classNames(defaultClassName, propsClassName) : void 0;
6007
- return /* @__PURE__ */ React2.createElement(Component, __spreadProps(__spreadValues(__spreadValues({}, defaultProps), props), {
6008
- className
6009
- }));
6039
+ return /* @__PURE__ */ React2.createElement(Component, __spreadProps(__spreadValues(__spreadValues({}, defaultProps), props), { className }));
6010
6040
  };
6011
6041
  Curried.displayName = displayName;
6012
6042
  return Curried;
@@ -6138,14 +6168,15 @@ var Box = (_a) => {
6138
6168
  [`text-${color != null ? color : ""}`]: Boolean(color),
6139
6169
  [`bg-${backgroundColor != null ? backgroundColor : ""}`]: Boolean(backgroundColor)
6140
6170
  });
6141
- return /* @__PURE__ */ React3.createElement(Element, __spreadValues({
6142
- style: __spreadValues(__spreadValues({}, styles), style),
6143
- className: finalClassname !== "" ? finalClassname : void 0
6144
- }, rest));
6145
- };
6146
- var FlexBox = (props) => /* @__PURE__ */ React3.createElement(Box, __spreadValues({
6147
- display: "flex"
6148
- }, props));
6171
+ return /* @__PURE__ */ React3.createElement(
6172
+ Element,
6173
+ __spreadValues({
6174
+ style: __spreadValues(__spreadValues({}, styles), style),
6175
+ className: finalClassname !== "" ? finalClassname : void 0
6176
+ }, rest)
6177
+ );
6178
+ };
6179
+ var FlexBox = (props) => /* @__PURE__ */ React3.createElement(Box, __spreadValues({ display: "flex" }, props));
6149
6180
  FlexBox.displayName = "Box.Flex";
6150
6181
  Box.Flex = FlexBox;
6151
6182
  var BorderBox = createSimpleComponent(Box, { className: "rounded border", borderColor: "muted" }, "BorderBox");
@@ -6167,28 +6198,36 @@ var Toast = (_a) => {
6167
6198
  "className",
6168
6199
  "variant"
6169
6200
  ]);
6170
- return /* @__PURE__ */ React6.createElement("div", __spreadProps(__spreadValues({}, rest), {
6171
- className: classNames3(
6172
- "Aquarium-Toast",
6173
- tw("typography-small rounded grid grid-cols-[1fr_auto] items-center gap-x-6 gap-y-2 p-4", {
6174
- "bg-body-intense text-opposite-default": variant === "default",
6175
- "bg-danger-intense text-white": variant === "danger"
6176
- }),
6177
- className
6178
- )
6179
- }), children);
6201
+ return /* @__PURE__ */ React6.createElement(
6202
+ "div",
6203
+ __spreadProps(__spreadValues({}, rest), {
6204
+ className: classNames3(
6205
+ "Aquarium-Toast",
6206
+ tw("typography-small rounded grid grid-cols-[1fr_auto] items-center gap-x-6 gap-y-2 p-4", {
6207
+ "bg-body-intense text-opposite-default": variant === "default",
6208
+ "bg-danger-intense text-white": variant === "danger"
6209
+ }),
6210
+ className
6211
+ )
6212
+ }),
6213
+ children
6214
+ );
6180
6215
  };
6181
6216
  var Dismiss = (_a) => {
6182
6217
  var _b = _a, { children, className, variant } = _b, rest = __objRest(_b, ["children", "className", "variant"]);
6183
- return /* @__PURE__ */ React6.createElement("div", __spreadProps(__spreadValues({}, rest), {
6184
- className: classNames3(
6185
- tw("self-start [&>button]:p-0 flex", {
6186
- "[&>button]:text-muted": variant === "default",
6187
- "[&>button]:text-danger-muted": variant === "danger"
6188
- }),
6189
- className
6190
- )
6191
- }), children);
6218
+ return /* @__PURE__ */ React6.createElement(
6219
+ "div",
6220
+ __spreadProps(__spreadValues({}, rest), {
6221
+ className: classNames3(
6222
+ tw("self-start [&>button]:p-0 flex", {
6223
+ "[&>button]:text-muted": variant === "default",
6224
+ "[&>button]:text-danger-muted": variant === "danger"
6225
+ }),
6226
+ className
6227
+ )
6228
+ }),
6229
+ children
6230
+ );
6192
6231
  };
6193
6232
  Toast.Dismiss = Dismiss;
6194
6233
 
@@ -6233,9 +6272,11 @@ var import_box = __toESM(require_box());
6233
6272
  var import_briefcase = __toESM(require_briefcase());
6234
6273
  var import_calendar = __toESM(require_calendar());
6235
6274
  var import_capslock = __toESM(require_capslock());
6275
+ var import_caretDownFilled = __toESM(require_caretDownFilled());
6236
6276
  var import_caretDown = __toESM(require_caretDown());
6237
6277
  var import_caretLeft = __toESM(require_caretLeft());
6238
6278
  var import_caretRight = __toESM(require_caretRight());
6279
+ var import_caretUpFilled = __toESM(require_caretUpFilled());
6239
6280
  var import_caretUp = __toESM(require_caretUp());
6240
6281
  var import_certificate = __toESM(require_certificate());
6241
6282
  var import_chart = __toESM(require_chart());
@@ -6613,9 +6654,7 @@ function Tailwindify(Component) {
6613
6654
  const newProps = __spreadProps(__spreadValues({}, childProps), { style: __spreadValues(__spreadValues({}, childStyle), additionalStyle) });
6614
6655
  return React10.cloneElement(child, newProps);
6615
6656
  });
6616
- return /* @__PURE__ */ React10.createElement(Component, __spreadValues({
6617
- className
6618
- }, componentProps), childrenWithProps);
6657
+ return /* @__PURE__ */ React10.createElement(Component, __spreadValues({ className }, componentProps), childrenWithProps);
6619
6658
  };
6620
6659
  }
6621
6660
 
@@ -6648,10 +6687,7 @@ var Flexbox = Tailwindify(
6648
6687
  rowGap
6649
6688
  });
6650
6689
  const HtmlElement = htmlTag;
6651
- return /* @__PURE__ */ React11.createElement(HtmlElement, {
6652
- style: __spreadValues(__spreadValues({}, hookStyle), style),
6653
- className
6654
- }, children);
6690
+ return /* @__PURE__ */ React11.createElement(HtmlElement, { style: __spreadValues(__spreadValues({}, hookStyle), style), className }, children);
6655
6691
  }
6656
6692
  );
6657
6693
 
@@ -6664,20 +6700,12 @@ import {
6664
6700
  var Icon = React12.forwardRef((_a, ref) => {
6665
6701
  var _b = _a, { color, className } = _b, rest = __objRest(_b, ["color", "className"]);
6666
6702
  const classes2 = classNames("Aquarium-Icon", className, color && `text-${String(color)}`);
6667
- return /* @__PURE__ */ React12.createElement(IconifyIconComponent, __spreadValues({
6668
- ref: ref != null ? ref : void 0,
6669
- className: classes2 !== "" ? classes2 : void 0
6670
- }, rest));
6703
+ return /* @__PURE__ */ React12.createElement(IconifyIconComponent, __spreadValues({ ref: ref != null ? ref : void 0, className: classes2 !== "" ? classes2 : void 0 }, rest));
6671
6704
  });
6672
6705
  var InlineIcon = React12.forwardRef((_a, ref) => {
6673
6706
  var _b = _a, { color, className } = _b, rest = __objRest(_b, ["color", "className"]);
6674
6707
  const classes2 = classNames("Aquarium-InlineIcon", color && `text-${String(color)}`);
6675
- return /* @__PURE__ */ React12.createElement("span", {
6676
- className: classNames(tw("children:inline-block inline-flex justify-center items-center"), className)
6677
- }, /* @__PURE__ */ React12.createElement(IconifyInlineIconComponent, __spreadValues({
6678
- ref: ref != null ? ref : void 0,
6679
- className: classes2 !== "" ? classes2 : void 0
6680
- }, rest)));
6708
+ return /* @__PURE__ */ React12.createElement("span", { className: classNames(tw("children:inline-block inline-flex justify-center items-center"), className) }, /* @__PURE__ */ React12.createElement(IconifyInlineIconComponent, __spreadValues({ ref: ref != null ? ref : void 0, className: classes2 !== "" ? classes2 : void 0 }, rest)));
6681
6709
  });
6682
6710
 
6683
6711
  // src/molecules/Tooltip/Tooltip.tsx
@@ -6851,31 +6879,40 @@ var Tooltip = (_a) => {
6851
6879
  (_a3 = props.onPointerUp) == null ? void 0 : _a3.call(props, e);
6852
6880
  (_b2 = triggerProps.onPointerUp) == null ? void 0 : _b2.call(triggerProps, e);
6853
6881
  };
6854
- return /* @__PURE__ */ React13.createElement("div", __spreadProps(__spreadValues({
6855
- className: display
6856
- }, triggerProps), {
6857
- onFocus: (e) => {
6858
- var _a3, _b2;
6859
- (_a3 = triggerProps.onFocus) == null ? void 0 : _a3.call(triggerProps, e);
6860
- (_b2 = focusWithinProps.onFocus) == null ? void 0 : _b2.call(focusWithinProps, e);
6861
- },
6862
- onBlur: (e) => {
6863
- var _a3, _b2;
6864
- (_a3 = triggerProps.onBlur) == null ? void 0 : _a3.call(triggerProps, e);
6865
- (_b2 = focusWithinProps.onBlur) == null ? void 0 : _b2.call(focusWithinProps, e);
6866
- },
6867
- onClick: handleClick,
6868
- onMouseDown: handleMouseDown,
6869
- onMouseUp: handleMouseUp,
6870
- onPointerDown: handlePointerDown,
6871
- onPointerUp: handlePointerUp,
6872
- ref: triggerRef
6873
- }), props.children, state.isOpen && /* @__PURE__ */ React13.createElement(TooltipWrapper, __spreadValues({
6874
- ref: overlayRef,
6875
- state,
6876
- placement,
6877
- arrowProps
6878
- }, mergeProps(tooltipProps, overlayProps)), content));
6882
+ return /* @__PURE__ */ React13.createElement(
6883
+ "div",
6884
+ __spreadProps(__spreadValues({
6885
+ className: display
6886
+ }, triggerProps), {
6887
+ onFocus: (e) => {
6888
+ var _a3, _b2;
6889
+ (_a3 = triggerProps.onFocus) == null ? void 0 : _a3.call(triggerProps, e);
6890
+ (_b2 = focusWithinProps.onFocus) == null ? void 0 : _b2.call(focusWithinProps, e);
6891
+ },
6892
+ onBlur: (e) => {
6893
+ var _a3, _b2;
6894
+ (_a3 = triggerProps.onBlur) == null ? void 0 : _a3.call(triggerProps, e);
6895
+ (_b2 = focusWithinProps.onBlur) == null ? void 0 : _b2.call(focusWithinProps, e);
6896
+ },
6897
+ onClick: handleClick,
6898
+ onMouseDown: handleMouseDown,
6899
+ onMouseUp: handleMouseUp,
6900
+ onPointerDown: handlePointerDown,
6901
+ onPointerUp: handlePointerUp,
6902
+ ref: triggerRef
6903
+ }),
6904
+ props.children,
6905
+ state.isOpen && /* @__PURE__ */ React13.createElement(
6906
+ TooltipWrapper,
6907
+ __spreadValues({
6908
+ ref: overlayRef,
6909
+ state,
6910
+ placement,
6911
+ arrowProps
6912
+ }, mergeProps(tooltipProps, overlayProps)),
6913
+ content
6914
+ )
6915
+ );
6879
6916
  };
6880
6917
  var TooltipWrapper = React13.forwardRef(
6881
6918
  (_a, forwardedRef) => {
@@ -6885,15 +6922,18 @@ var TooltipWrapper = React13.forwardRef(
6885
6922
  React13.useImperativeHandle(forwardedRef, () => ref.current);
6886
6923
  const { tooltipProps } = useTooltip(props, state);
6887
6924
  const arrowStyle = getArrowStyle(ref.current, placement, (_a2 = arrowProps.style) != null ? _a2 : {});
6888
- return /* @__PURE__ */ React13.createElement(OverlayContainer, null, /* @__PURE__ */ React13.createElement("div", __spreadValues({
6889
- ref,
6890
- className: classNames(
6891
- "Aquarium-Tooltip",
6892
- tw("p-3 rounded-sm typography-caption max-w-[320px] bg-body-intense text-opposite-default")
6893
- )
6894
- }, mergeProps(props, tooltipProps)), props.children, /* @__PURE__ */ React13.createElement(Arrow, __spreadProps(__spreadValues({}, arrowProps), {
6895
- style: arrowStyle
6896
- }))));
6925
+ return /* @__PURE__ */ React13.createElement(OverlayContainer, null, /* @__PURE__ */ React13.createElement(
6926
+ "div",
6927
+ __spreadValues({
6928
+ ref,
6929
+ className: classNames(
6930
+ "Aquarium-Tooltip",
6931
+ tw("p-3 rounded-sm typography-caption max-w-[320px] bg-body-intense text-opposite-default")
6932
+ )
6933
+ }, mergeProps(props, tooltipProps)),
6934
+ props.children,
6935
+ /* @__PURE__ */ React13.createElement(Arrow, __spreadProps(__spreadValues({}, arrowProps), { style: arrowStyle }))
6936
+ ));
6897
6937
  }
6898
6938
  );
6899
6939
  var isNotNumberProperty = (p) => typeof p === "string";
@@ -6928,9 +6968,7 @@ var getArrowStyle = (element, position, { left, top }) => {
6928
6968
  return { left, top };
6929
6969
  };
6930
6970
  var Arrow = (props) => {
6931
- return /* @__PURE__ */ React13.createElement("div", __spreadValues({
6932
- className: tw("absolute w-3 h-3 bg-body-intense rotate-45")
6933
- }, props));
6971
+ return /* @__PURE__ */ React13.createElement("div", __spreadValues({ className: tw("absolute w-3 h-3 bg-body-intense rotate-45") }, props));
6934
6972
  };
6935
6973
 
6936
6974
  // src/utils/constants.ts
@@ -6966,13 +7004,7 @@ var COLOR_CLASSNAMES = {
6966
7004
  )
6967
7005
  };
6968
7006
  var LoadingSpinner = ({ size = "20px" }) => {
6969
- return /* @__PURE__ */ React14.createElement(InlineIcon, {
6970
- icon: import_loading2.default,
6971
- width: size,
6972
- height: size,
6973
- color: "primary-intense",
6974
- "data-testid": "loading-button"
6975
- });
7007
+ return /* @__PURE__ */ React14.createElement(InlineIcon, { icon: import_loading2.default, width: size, height: size, color: "primary-intense", "data-testid": "loading-button" });
6976
7008
  };
6977
7009
  var asButton = (Component, isDropdownButton) => {
6978
7010
  return React14.forwardRef(
@@ -7025,156 +7057,99 @@ var asButton = (Component, isDropdownButton) => {
7025
7057
  }
7026
7058
  const buttonContent = () => {
7027
7059
  if (!!isDropdownButton && (kind === "primary" || kind === "secondary" || kind === "ghost")) {
7028
- return /* @__PURE__ */ React14.createElement(Flexbox, {
7029
- gap: dense ? "2" : "4",
7030
- alignItems: "center",
7031
- justifyContent: "center"
7032
- }, hasChildren && /* @__PURE__ */ React14.createElement("div", null, children), /* @__PURE__ */ React14.createElement(InlineIcon, {
7033
- icon: import_chevronDown2.default,
7034
- width: iconSize,
7035
- height: iconSize
7036
- }));
7060
+ return /* @__PURE__ */ React14.createElement(Flexbox, { gap: dense ? "2" : "4", alignItems: "center", justifyContent: "center" }, hasChildren && /* @__PURE__ */ React14.createElement("div", null, children), /* @__PURE__ */ React14.createElement(InlineIcon, { icon: import_chevronDown2.default, width: iconSize, height: iconSize }));
7037
7061
  } else if (icon) {
7038
- return /* @__PURE__ */ React14.createElement(Flexbox, {
7039
- gap: dense ? "2" : "3",
7040
- alignItems: "center",
7041
- justifyContent: "center",
7042
- direction: iconPlacement === "right" ? "row-reverse" : "row"
7043
- }, /* @__PURE__ */ React14.createElement(InlineIcon, {
7044
- icon,
7045
- width: iconSize,
7046
- height: iconSize
7047
- }), hasChildren && /* @__PURE__ */ React14.createElement("div", null, children));
7062
+ return /* @__PURE__ */ React14.createElement(
7063
+ Flexbox,
7064
+ {
7065
+ gap: dense ? "2" : "3",
7066
+ alignItems: "center",
7067
+ justifyContent: "center",
7068
+ direction: iconPlacement === "right" ? "row-reverse" : "row"
7069
+ },
7070
+ /* @__PURE__ */ React14.createElement(InlineIcon, { icon, width: iconSize, height: iconSize }),
7071
+ hasChildren && /* @__PURE__ */ React14.createElement("div", null, children)
7072
+ );
7048
7073
  } else {
7049
7074
  return children;
7050
7075
  }
7051
7076
  };
7052
- const buttonComponent = /* @__PURE__ */ React14.createElement(Component, __spreadProps(__spreadValues({
7053
- ref
7054
- }, props), {
7055
- className: classNames(
7056
- "Aquarium-Button",
7057
- {
7058
- [`Aquarium-Button.${capitalize(camelCase(kind))}`]: !isIconOnlyButton,
7059
- "Aquarium-Button.Icon": isIconOnlyButton,
7060
- "Aquarium-Dense": dense,
7061
- "Aquarium-Busy": loading2
7062
- },
7063
- UNSAFE_className,
7064
- !isIconOnlyButton && COLOR_CLASSNAMES[kind],
7065
- tw(
7066
- "inline-block border-0 rounded-sm transition whitespace-nowrap focus:outline-none relative text-center",
7077
+ const buttonComponent = /* @__PURE__ */ React14.createElement(
7078
+ Component,
7079
+ __spreadProps(__spreadValues({
7080
+ ref
7081
+ }, props), {
7082
+ className: classNames(
7083
+ "Aquarium-Button",
7067
7084
  {
7068
- "text-default p-2 active:text-default active:bg-transparent hover:text-intense hover:bg-icon-button-hover focus-visible:text-intense focus-visible:bg-muted disabled:text-inactive disabled:bg-transparent": isIconOnlyButton,
7069
- "typography-default-strong": !dense && !isIconOnlyButton && kind !== "text",
7070
- "typography-small-strong": dense && !isIconOnlyButton && kind !== "text",
7071
- "py-3 px-4": !dense && isButton,
7072
- "py-2 px-3": dense && isButton,
7073
- "py-3": !dense && isGhost,
7074
- "py-2": dense && isGhost,
7075
- "block w-full": fullWidth && !isIconOnlyButton,
7076
- "cursor-not-allowed": !!disabled || !!loading2,
7077
- "icon-stroke-2": !isIconOnlyButton
7078
- }
7079
- )
7080
- ),
7081
- "aria-label": isIconOnlyButton ? ariaLabel != null ? ariaLabel : tooltip : ariaLabel,
7082
- disabled: disabled || loading2
7083
- }), loading2 && !isGhost ? /* @__PURE__ */ React14.createElement(React14.Fragment, null, /* @__PURE__ */ React14.createElement("div", {
7084
- className: tw("absolute left-1/2 top-0 bottom-0 flex"),
7085
- style: { transform: "translate(-50%)" }
7086
- }, /* @__PURE__ */ React14.createElement(LoadingSpinner, {
7087
- size: iconSize
7088
- })), /* @__PURE__ */ React14.createElement("div", {
7089
- className: tw({ invisible: loading2 })
7090
- }, buttonContent())) : buttonContent());
7091
- return tooltip ? /* @__PURE__ */ React14.createElement(Tooltip, {
7092
- content: tooltip,
7093
- placement: tooltipPlacement
7094
- }, buttonComponent) : buttonComponent;
7085
+ [`Aquarium-Button.${capitalize(camelCase(kind))}`]: !isIconOnlyButton,
7086
+ "Aquarium-Button.Icon": isIconOnlyButton,
7087
+ "Aquarium-Dense": dense,
7088
+ "Aquarium-Busy": loading2
7089
+ },
7090
+ UNSAFE_className,
7091
+ !isIconOnlyButton && COLOR_CLASSNAMES[kind],
7092
+ tw(
7093
+ "inline-block border-0 rounded-sm transition whitespace-nowrap focus:outline-none relative text-center",
7094
+ {
7095
+ "text-default p-2 active:text-default active:bg-transparent hover:text-intense hover:bg-icon-button-hover focus-visible:text-intense focus-visible:bg-muted disabled:text-inactive disabled:bg-transparent": isIconOnlyButton,
7096
+ "typography-default-strong": !dense && !isIconOnlyButton && kind !== "text",
7097
+ "typography-small-strong": dense && !isIconOnlyButton && kind !== "text",
7098
+ "py-3 px-4": !dense && isButton,
7099
+ "py-2 px-3": dense && isButton,
7100
+ "py-3": !dense && isGhost,
7101
+ "py-2": dense && isGhost,
7102
+ "block w-full": fullWidth && !isIconOnlyButton,
7103
+ "cursor-not-allowed": !!disabled || !!loading2,
7104
+ "icon-stroke-2": !isIconOnlyButton
7105
+ }
7106
+ )
7107
+ ),
7108
+ "aria-label": isIconOnlyButton ? ariaLabel != null ? ariaLabel : tooltip : ariaLabel,
7109
+ disabled: disabled || loading2
7110
+ }),
7111
+ loading2 && !isGhost ? /* @__PURE__ */ React14.createElement(React14.Fragment, null, /* @__PURE__ */ React14.createElement("div", { className: tw("absolute left-1/2 top-0 bottom-0 flex"), style: { transform: "translate(-50%)" } }, /* @__PURE__ */ React14.createElement(LoadingSpinner, { size: iconSize })), /* @__PURE__ */ React14.createElement("div", { className: tw({ invisible: loading2 }) }, buttonContent())) : buttonContent()
7112
+ );
7113
+ return tooltip ? /* @__PURE__ */ React14.createElement(Tooltip, { content: tooltip, placement: tooltipPlacement }, buttonComponent) : buttonComponent;
7095
7114
  }
7096
7115
  );
7097
7116
  };
7098
7117
  var Button = asButton("button");
7099
7118
  Button.displayName = "Button";
7100
- var PrimaryButton = React14.forwardRef((props, ref) => /* @__PURE__ */ React14.createElement(Button, __spreadProps(__spreadValues({
7101
- ref
7102
- }, props), {
7103
- kind: "primary"
7104
- })));
7119
+ var PrimaryButton = React14.forwardRef((props, ref) => /* @__PURE__ */ React14.createElement(Button, __spreadProps(__spreadValues({ ref }, props), { kind: "primary" })));
7105
7120
  PrimaryButton.displayName = "Button.Primary";
7106
7121
  Button.Primary = PrimaryButton;
7107
- var SecondaryButton = React14.forwardRef((props, ref) => /* @__PURE__ */ React14.createElement(Button, __spreadProps(__spreadValues({
7108
- ref
7109
- }, props), {
7110
- kind: "secondary"
7111
- })));
7122
+ var SecondaryButton = React14.forwardRef((props, ref) => /* @__PURE__ */ React14.createElement(Button, __spreadProps(__spreadValues({ ref }, props), { kind: "secondary" })));
7112
7123
  SecondaryButton.displayName = "Button.Secondary";
7113
7124
  Button.Secondary = SecondaryButton;
7114
- var GhostButton = React14.forwardRef((props, ref) => /* @__PURE__ */ React14.createElement(Button, __spreadProps(__spreadValues({
7115
- ref
7116
- }, props), {
7117
- kind: "ghost"
7118
- })));
7125
+ var GhostButton = React14.forwardRef((props, ref) => /* @__PURE__ */ React14.createElement(Button, __spreadProps(__spreadValues({ ref }, props), { kind: "ghost" })));
7119
7126
  GhostButton.displayName = "Button.Ghost";
7120
7127
  Button.Ghost = GhostButton;
7121
- var SecondaryGhostButton = React14.forwardRef((props, ref) => /* @__PURE__ */ React14.createElement(Button, __spreadProps(__spreadValues({
7122
- ref
7123
- }, props), {
7124
- kind: "secondary-ghost"
7125
- })));
7128
+ var SecondaryGhostButton = React14.forwardRef((props, ref) => /* @__PURE__ */ React14.createElement(Button, __spreadProps(__spreadValues({ ref }, props), { kind: "secondary-ghost" })));
7126
7129
  SecondaryGhostButton.displayName = "Button.SecondaryGhost";
7127
7130
  Button.SecondaryGhost = SecondaryGhostButton;
7128
- var TextButton = React14.forwardRef((props, ref) => /* @__PURE__ */ React14.createElement(Button, __spreadProps(__spreadValues({
7129
- ref
7130
- }, props), {
7131
- kind: "text"
7132
- })));
7131
+ var TextButton = React14.forwardRef((props, ref) => /* @__PURE__ */ React14.createElement(Button, __spreadProps(__spreadValues({ ref }, props), { kind: "text" })));
7133
7132
  TextButton.displayName = "Button.Text";
7134
7133
  Button.Text = TextButton;
7135
- var IconButton = React14.forwardRef((props, ref) => /* @__PURE__ */ React14.createElement(Button, __spreadProps(__spreadValues({
7136
- ref
7137
- }, props), {
7138
- kind: "ghost",
7139
- loading: false,
7140
- fullWidth: false
7141
- })));
7134
+ var IconButton = React14.forwardRef((props, ref) => /* @__PURE__ */ React14.createElement(Button, __spreadProps(__spreadValues({ ref }, props), { kind: "ghost", loading: false, fullWidth: false })));
7142
7135
  IconButton.displayName = "Button.Icon";
7143
7136
  Button.Icon = IconButton;
7144
7137
  var ExternalLinkButton = asButton("a");
7145
7138
  ExternalLinkButton.displayName = "Button.ExternalLink";
7146
7139
  Button.ExternalLink = ExternalLinkButton;
7147
- var IconExternalLinkButton = React14.forwardRef((props, ref) => /* @__PURE__ */ React14.createElement(ExternalLinkButton, __spreadProps(__spreadValues({
7148
- ref
7149
- }, props), {
7150
- kind: "ghost",
7151
- loading: false,
7152
- fullWidth: false
7153
- })));
7140
+ var IconExternalLinkButton = React14.forwardRef((props, ref) => /* @__PURE__ */ React14.createElement(ExternalLinkButton, __spreadProps(__spreadValues({ ref }, props), { kind: "ghost", loading: false, fullWidth: false })));
7154
7141
  IconExternalLinkButton.displayName = "Button.IconExternalLink";
7155
7142
  Button.IconExternalLink = IconExternalLinkButton;
7156
7143
  var DropdownButton = asButton("button", true);
7157
7144
  DropdownButton.displayName = "Button.Dropdown";
7158
7145
  Button.Dropdown = DropdownButton;
7159
- var PrimaryDropdownButton = React14.forwardRef((props, ref) => /* @__PURE__ */ React14.createElement(DropdownButton, __spreadProps(__spreadValues({
7160
- ref
7161
- }, props), {
7162
- kind: "primary"
7163
- })));
7146
+ var PrimaryDropdownButton = React14.forwardRef((props, ref) => /* @__PURE__ */ React14.createElement(DropdownButton, __spreadProps(__spreadValues({ ref }, props), { kind: "primary" })));
7164
7147
  PrimaryDropdownButton.displayName = "Button.PrimaryDropdown";
7165
7148
  Button.PrimaryDropdown = PrimaryDropdownButton;
7166
- var SecondaryDropdownButton = React14.forwardRef((props, ref) => /* @__PURE__ */ React14.createElement(DropdownButton, __spreadProps(__spreadValues({
7167
- ref
7168
- }, props), {
7169
- kind: "secondary"
7170
- })));
7149
+ var SecondaryDropdownButton = React14.forwardRef((props, ref) => /* @__PURE__ */ React14.createElement(DropdownButton, __spreadProps(__spreadValues({ ref }, props), { kind: "secondary" })));
7171
7150
  SecondaryDropdownButton.displayName = "Button.SecondaryDropdown";
7172
7151
  Button.SecondaryDropdown = SecondaryDropdownButton;
7173
- var GhostDropdownButton = React14.forwardRef((props, ref) => /* @__PURE__ */ React14.createElement(DropdownButton, __spreadProps(__spreadValues({
7174
- ref
7175
- }, props), {
7176
- kind: "ghost"
7177
- })));
7152
+ var GhostDropdownButton = React14.forwardRef((props, ref) => /* @__PURE__ */ React14.createElement(DropdownButton, __spreadProps(__spreadValues({ ref }, props), { kind: "ghost" })));
7178
7153
  GhostDropdownButton.displayName = "Button.GhostDropdownButton";
7179
7154
  Button.GhostDropdown = GhostDropdownButton;
7180
7155
 
@@ -7201,10 +7176,14 @@ var Typography = (_a) => {
7201
7176
  const HtmlElement = htmlTag;
7202
7177
  const resolvedColorName = isUndefined6(color) || color === "current" ? "default" : color;
7203
7178
  const style = useStyle({ fontWeight });
7204
- return /* @__PURE__ */ React15.createElement(HtmlElement, __spreadValues({
7205
- className: classNames(typographies[variant], `text-${resolvedColorName.toString()}`, className),
7206
- style
7207
- }, rest), children);
7179
+ return /* @__PURE__ */ React15.createElement(
7180
+ HtmlElement,
7181
+ __spreadValues({
7182
+ className: classNames(typographies[variant], `text-${resolvedColorName.toString()}`, className),
7183
+ style
7184
+ }, rest),
7185
+ children
7186
+ );
7208
7187
  };
7209
7188
 
7210
7189
  // src/atoms/Alert/Alert.tsx
@@ -7248,63 +7227,45 @@ var Alert = (_a) => {
7248
7227
  "type",
7249
7228
  "dense"
7250
7229
  ]);
7251
- return /* @__PURE__ */ React16.createElement("div", __spreadProps(__spreadValues({}, rest), {
7252
- role: type === "error" || type === "warning" ? "alert" : "status",
7253
- className: classNames(
7254
- tw("rounded grid grid-cols-[auto_1fr_auto] items-center gap-x-3 gap-y-2", {
7255
- "bg-status-danger": type === "error",
7256
- "bg-status-info": type === "information",
7257
- "bg-status-success": type === "success",
7258
- "bg-status-warning": type === "warning",
7259
- "bg-status-announcement": type === "announcement",
7260
- "p-4": Boolean(dense),
7261
- "p-5": !dense
7262
- }),
7263
- className
7264
- )
7265
- }), children);
7230
+ return /* @__PURE__ */ React16.createElement(
7231
+ "div",
7232
+ __spreadProps(__spreadValues({}, rest), {
7233
+ role: type === "error" || type === "warning" ? "alert" : "status",
7234
+ className: classNames(
7235
+ tw("rounded grid grid-cols-[auto_1fr_auto] items-center gap-x-3 gap-y-2", {
7236
+ "bg-status-danger": type === "error",
7237
+ "bg-status-info": type === "information",
7238
+ "bg-status-success": type === "success",
7239
+ "bg-status-warning": type === "warning",
7240
+ "bg-status-announcement": type === "announcement",
7241
+ "p-4": Boolean(dense),
7242
+ "p-5": !dense
7243
+ }),
7244
+ className
7245
+ )
7246
+ }),
7247
+ children
7248
+ );
7266
7249
  };
7267
7250
  Alert.Title = (_a) => {
7268
7251
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
7269
- return /* @__PURE__ */ React16.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
7270
- variant: "default-strong",
7271
- color: "intense",
7272
- className: classNames(tw("col-start-2"), className)
7273
- }), children);
7252
+ return /* @__PURE__ */ React16.createElement(Typography, __spreadProps(__spreadValues({}, rest), { variant: "default-strong", color: "intense", className: classNames(tw("col-start-2"), className) }), children);
7274
7253
  };
7275
7254
  Alert.Description = (_a) => {
7276
7255
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
7277
- return /* @__PURE__ */ React16.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
7278
- variant: "small",
7279
- color: "default",
7280
- className: classNames(tw("col-start-2"), className)
7281
- }), children);
7256
+ return /* @__PURE__ */ React16.createElement(Typography, __spreadProps(__spreadValues({}, rest), { variant: "small", color: "default", className: classNames(tw("col-start-2"), className) }), children);
7282
7257
  };
7283
7258
  Alert.Actions = (_a) => {
7284
7259
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
7285
- return /* @__PURE__ */ React16.createElement("div", __spreadProps(__spreadValues({}, rest), {
7286
- className: classNames(tw("flex gap-4 col-start-2"), className)
7287
- }), children);
7260
+ return /* @__PURE__ */ React16.createElement("div", __spreadProps(__spreadValues({}, rest), { className: classNames(tw("flex gap-4 col-start-2"), className) }), children);
7288
7261
  };
7289
7262
  Alert.Icon = (_a) => {
7290
7263
  var _b = _a, { type, dense } = _b, rest = __objRest(_b, ["type", "dense"]);
7291
- return /* @__PURE__ */ React16.createElement("div", {
7292
- className: tw("h-[20px] col-start-1 row-start-1", { "self-start": !dense })
7293
- }, /* @__PURE__ */ React16.createElement(Icon, __spreadProps(__spreadValues({}, rest), {
7294
- icon: alertTypes[type].icon,
7295
- color: alertTypes[type].color,
7296
- fontSize: 20
7297
- })));
7264
+ return /* @__PURE__ */ React16.createElement("div", { className: tw("h-[20px] col-start-1 row-start-1", { "self-start": !dense }) }, /* @__PURE__ */ React16.createElement(Icon, __spreadProps(__spreadValues({}, rest), { icon: alertTypes[type].icon, color: alertTypes[type].color, fontSize: 20 })));
7298
7265
  };
7299
7266
  Alert.Dismiss = (_a) => {
7300
7267
  var _b = _a, { type } = _b, rest = __objRest(_b, ["type"]);
7301
- return /* @__PURE__ */ React16.createElement("div", {
7302
- className: tw("h-[20px] col-start-3 row-start-1")
7303
- }, /* @__PURE__ */ React16.createElement(Button.Icon, __spreadProps(__spreadValues({}, rest), {
7304
- UNSAFE_className: tw("-m-2"),
7305
- tooltip: "Dismiss",
7306
- icon: import_cross2.default
7307
- })));
7268
+ return /* @__PURE__ */ React16.createElement("div", { className: tw("h-[20px] col-start-3 row-start-1") }, /* @__PURE__ */ React16.createElement(Button.Icon, __spreadProps(__spreadValues({}, rest), { UNSAFE_className: tw("-m-2"), tooltip: "Dismiss", icon: import_cross2.default })));
7308
7269
  };
7309
7270
  var Banner = (_a) => {
7310
7271
  var _b = _a, {
@@ -7316,40 +7277,41 @@ var Banner = (_a) => {
7316
7277
  "className",
7317
7278
  "type"
7318
7279
  ]);
7319
- return /* @__PURE__ */ React16.createElement("div", __spreadProps(__spreadValues({}, rest), {
7320
- role: type === "error" || type === "warning" ? "alert" : "status",
7321
- className: classNames(
7322
- tw("relative flex px-[60px] justify-center", {
7323
- "bg-status-danger": type === "error",
7324
- "bg-status-announcement": type === "information",
7325
- "bg-status-success": type === "success",
7326
- "bg-status-warning": type === "warning"
7327
- }),
7328
- className
7329
- )
7330
- }), children);
7280
+ return /* @__PURE__ */ React16.createElement(
7281
+ "div",
7282
+ __spreadProps(__spreadValues({}, rest), {
7283
+ role: type === "error" || type === "warning" ? "alert" : "status",
7284
+ className: classNames(
7285
+ tw("relative flex px-[60px] justify-center", {
7286
+ "bg-status-danger": type === "error",
7287
+ "bg-status-announcement": type === "information",
7288
+ "bg-status-success": type === "success",
7289
+ "bg-status-warning": type === "warning"
7290
+ }),
7291
+ className
7292
+ )
7293
+ }),
7294
+ children
7295
+ );
7331
7296
  };
7332
7297
  Alert.Banner = Banner;
7333
7298
  Alert.Banner.displayName = "Alert.Banner";
7334
7299
  Banner.Content = (_a) => {
7335
7300
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
7336
- return /* @__PURE__ */ React16.createElement("div", __spreadValues({
7337
- className: classNames(
7338
- tw("flex flex-row flex-wrap gap-x-3 items-center justify-center py-4 text-center z-10"),
7339
- className
7340
- )
7341
- }, props));
7301
+ return /* @__PURE__ */ React16.createElement(
7302
+ "div",
7303
+ __spreadValues({
7304
+ className: classNames(
7305
+ tw("flex flex-row flex-wrap gap-x-3 items-center justify-center py-4 text-center z-10"),
7306
+ className
7307
+ )
7308
+ }, props)
7309
+ );
7342
7310
  };
7343
7311
  Banner.Content.displayName = "Alert.Banner.Content";
7344
7312
  Banner.Dismiss = (_a) => {
7345
7313
  var _b = _a, { type } = _b, rest = __objRest(_b, ["type"]);
7346
- return /* @__PURE__ */ React16.createElement("div", {
7347
- className: tw("h-[20px] absolute right-4 top-[18px]")
7348
- }, /* @__PURE__ */ React16.createElement(Button.Icon, __spreadProps(__spreadValues({}, rest), {
7349
- UNSAFE_className: tw("-m-2"),
7350
- tooltip: "Dismiss",
7351
- icon: import_cross2.default
7352
- })));
7314
+ return /* @__PURE__ */ React16.createElement("div", { className: tw("h-[20px] absolute right-4 top-[18px]") }, /* @__PURE__ */ React16.createElement(Button.Icon, __spreadProps(__spreadValues({}, rest), { UNSAFE_className: tw("-m-2"), tooltip: "Dismiss", icon: import_cross2.default })));
7353
7315
  };
7354
7316
  Banner.Dismiss.displayName = "Alert.Banner.Dismiss";
7355
7317
  var ILLUSTRATION_COLORS = {
@@ -7361,52 +7323,40 @@ var ILLUSTRATION_COLORS = {
7361
7323
  var IllustrationLeft = (_a) => {
7362
7324
  var _b = _a, { type } = _b, props = __objRest(_b, ["type"]);
7363
7325
  const clipPathId = useId();
7364
- return /* @__PURE__ */ React16.createElement("svg", __spreadValues({
7365
- xmlns: "http://www.w3.org/2000/svg",
7366
- width: 120,
7367
- height: 48,
7368
- fill: "none"
7369
- }, props), /* @__PURE__ */ React16.createElement("g", {
7370
- clipPath: `url(#${clipPathId})`
7371
- }, /* @__PURE__ */ React16.createElement("path", {
7372
- className: ILLUSTRATION_COLORS[type].fill,
7373
- d: "M25.68 105.063c-4.556 17.047 5.533 34.57 22.537 39.138 17.003 4.568 34.48-5.55 39.037-22.597L136.75-63.593c4.555-17.046-5.536-34.57-22.538-39.137-17.003-4.567-34.48 5.55-39.036 22.596L25.68 105.063Z"
7374
- }), /* @__PURE__ */ React16.createElement("path", {
7375
- className: ILLUSTRATION_COLORS[type].stroke,
7376
- strokeWidth: 2,
7377
- d: "M-71.39 445.432c-29.483-7.92-46.981-38.306-39.08-67.87l87.385-326.96c7.901-29.562 38.211-47.105 67.693-39.185 29.481 7.92 46.983 38.306 39.082 67.869l-87.385 326.96c-7.901 29.564-38.211 47.107-67.694 39.186Z"
7378
- })), /* @__PURE__ */ React16.createElement("defs", null, /* @__PURE__ */ React16.createElement("clipPath", {
7379
- id: clipPathId
7380
- }, /* @__PURE__ */ React16.createElement("path", {
7381
- fill: "#fff",
7382
- d: "M-38-23h188v200H-38z"
7383
- }))));
7326
+ return /* @__PURE__ */ React16.createElement("svg", __spreadValues({ xmlns: "http://www.w3.org/2000/svg", width: 120, height: 48, fill: "none" }, props), /* @__PURE__ */ React16.createElement("g", { clipPath: `url(#${clipPathId})` }, /* @__PURE__ */ React16.createElement(
7327
+ "path",
7328
+ {
7329
+ className: ILLUSTRATION_COLORS[type].fill,
7330
+ d: "M25.68 105.063c-4.556 17.047 5.533 34.57 22.537 39.138 17.003 4.568 34.48-5.55 39.037-22.597L136.75-63.593c4.555-17.046-5.536-34.57-22.538-39.137-17.003-4.567-34.48 5.55-39.036 22.596L25.68 105.063Z"
7331
+ }
7332
+ ), /* @__PURE__ */ React16.createElement(
7333
+ "path",
7334
+ {
7335
+ className: ILLUSTRATION_COLORS[type].stroke,
7336
+ strokeWidth: 2,
7337
+ d: "M-71.39 445.432c-29.483-7.92-46.981-38.306-39.08-67.87l87.385-326.96c7.901-29.562 38.211-47.105 67.693-39.185 29.481 7.92 46.983 38.306 39.082 67.869l-87.385 326.96c-7.901 29.564-38.211 47.107-67.694 39.186Z"
7338
+ }
7339
+ )), /* @__PURE__ */ React16.createElement("defs", null, /* @__PURE__ */ React16.createElement("clipPath", { id: clipPathId }, /* @__PURE__ */ React16.createElement("path", { fill: "#fff", d: "M-38-23h188v200H-38z" }))));
7384
7340
  };
7385
7341
  Banner.IllustrationLeft = IllustrationLeft;
7386
7342
  Banner.IllustrationLeft.displayName = "Alert.Banner.IllustrationLeft";
7387
7343
  var IllustrationRight = (_a) => {
7388
7344
  var _b = _a, { type } = _b, props = __objRest(_b, ["type"]);
7389
7345
  const clipPathId = useId();
7390
- return /* @__PURE__ */ React16.createElement("svg", __spreadValues({
7391
- xmlns: "http://www.w3.org/2000/svg",
7392
- width: 120,
7393
- height: 48,
7394
- fill: "none"
7395
- }, props), /* @__PURE__ */ React16.createElement("g", {
7396
- clipPath: `url(#${clipPathId})`
7397
- }, /* @__PURE__ */ React16.createElement("path", {
7398
- className: ILLUSTRATION_COLORS[type].fill,
7399
- d: "M114.341 71.088c11.599-20.12 4.741-45.834-15.32-57.433-20.06-11.6-45.727-4.691-57.326 15.43L-84.32 247.67c-11.599 20.119-4.739 45.835 15.321 57.433 20.06 11.599 45.726 4.69 57.325-15.429L114.341 71.088Z"
7400
- }), /* @__PURE__ */ React16.createElement("path", {
7401
- className: ILLUSTRATION_COLORS[type].stroke,
7402
- strokeWidth: 2.632,
7403
- d: "M353.696-328.567c34.785 20.113 46.681 64.704 26.564 99.599L157.785 156.939c-20.115 34.892-64.626 46.87-99.409 26.758-34.782-20.112-46.682-64.706-26.566-99.598l222.475-385.907c20.116-34.894 64.626-46.872 99.411-26.759Z"
7404
- })), /* @__PURE__ */ React16.createElement("defs", null, /* @__PURE__ */ React16.createElement("clipPath", {
7405
- id: clipPathId
7406
- }, /* @__PURE__ */ React16.createElement("path", {
7407
- fill: "#fff",
7408
- d: "m151.148 255.847-239.01-64.043 68.13-254.266L219.278 1.58z"
7409
- }))));
7346
+ return /* @__PURE__ */ React16.createElement("svg", __spreadValues({ xmlns: "http://www.w3.org/2000/svg", width: 120, height: 48, fill: "none" }, props), /* @__PURE__ */ React16.createElement("g", { clipPath: `url(#${clipPathId})` }, /* @__PURE__ */ React16.createElement(
7347
+ "path",
7348
+ {
7349
+ className: ILLUSTRATION_COLORS[type].fill,
7350
+ d: "M114.341 71.088c11.599-20.12 4.741-45.834-15.32-57.433-20.06-11.6-45.727-4.691-57.326 15.43L-84.32 247.67c-11.599 20.119-4.739 45.835 15.321 57.433 20.06 11.599 45.726 4.69 57.325-15.429L114.341 71.088Z"
7351
+ }
7352
+ ), /* @__PURE__ */ React16.createElement(
7353
+ "path",
7354
+ {
7355
+ className: ILLUSTRATION_COLORS[type].stroke,
7356
+ strokeWidth: 2.632,
7357
+ d: "M353.696-328.567c34.785 20.113 46.681 64.704 26.564 99.599L157.785 156.939c-20.115 34.892-64.626 46.87-99.409 26.758-34.782-20.112-46.682-64.706-26.566-99.598l222.475-385.907c20.116-34.894 64.626-46.872 99.411-26.759Z"
7358
+ }
7359
+ )), /* @__PURE__ */ React16.createElement("defs", null, /* @__PURE__ */ React16.createElement("clipPath", { id: clipPathId }, /* @__PURE__ */ React16.createElement("path", { fill: "#fff", d: "m151.148 255.847-239.01-64.043 68.13-254.266L219.278 1.58z" }))));
7410
7360
  };
7411
7361
  Banner.IllustrationRight = IllustrationRight;
7412
7362
  Banner.IllustrationRight.displayName = "Alert.Banner.IllustrationRight";
@@ -7425,72 +7375,78 @@ var Banner2 = (_a) => {
7425
7375
  "layout",
7426
7376
  "variant"
7427
7377
  ]);
7428
- return /* @__PURE__ */ React17.createElement("div", __spreadProps(__spreadValues({}, rest), {
7429
- className: classNames(
7430
- className,
7431
- tw(`rounded flex justify-between gap-7 flex-nowrap p-6`, {
7432
- "items-center": layout === "horizontal",
7433
- "bg-muted": variant === "default",
7434
- "bg-body border border-muted": variant === "outlined"
7435
- })
7436
- )
7437
- }), children);
7378
+ return /* @__PURE__ */ React17.createElement(
7379
+ "div",
7380
+ __spreadProps(__spreadValues({}, rest), {
7381
+ className: classNames(
7382
+ className,
7383
+ tw(`rounded flex justify-between gap-7 flex-nowrap p-6`, {
7384
+ "items-center": layout === "horizontal",
7385
+ "bg-muted": variant === "default",
7386
+ "bg-body border border-muted": variant === "outlined"
7387
+ })
7388
+ )
7389
+ }),
7390
+ children
7391
+ );
7438
7392
  };
7439
7393
  Banner2.Title = (_a) => {
7440
7394
  var _b = _a, { children, className, layout } = _b, rest = __objRest(_b, ["children", "className", "layout"]);
7441
- return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
7442
- variant: "subheading",
7443
- color: "intense",
7444
- className: classNames(
7445
- className,
7446
- tw({
7447
- "mb-3": layout === "vertical"
7448
- })
7449
- )
7450
- }), children);
7395
+ return /* @__PURE__ */ React17.createElement(
7396
+ Typography,
7397
+ __spreadProps(__spreadValues({}, rest), {
7398
+ variant: "subheading",
7399
+ color: "intense",
7400
+ className: classNames(
7401
+ className,
7402
+ tw({
7403
+ "mb-3": layout === "vertical"
7404
+ })
7405
+ )
7406
+ }),
7407
+ children
7408
+ );
7451
7409
  };
7452
7410
  Banner2.Description = (_a) => {
7453
7411
  var _b = _a, { flexGrow, children, className } = _b, rest = __objRest(_b, ["flexGrow", "children", "className"]);
7454
- return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
7455
- variant: "default",
7456
- className: classNames(className, tw({ "flex-grow": flexGrow }))
7457
- }), children);
7412
+ return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, rest), { variant: "default", className: classNames(className, tw({ "flex-grow": flexGrow })) }), children);
7458
7413
  };
7459
7414
  Banner2.ContentContainer = (_a) => {
7460
7415
  var _b = _a, { layout, children, className } = _b, rest = __objRest(_b, ["layout", "children", "className"]);
7461
- return /* @__PURE__ */ React17.createElement("div", __spreadProps(__spreadValues({}, rest), {
7462
- className: classNames(
7463
- className,
7464
- tw("flex w-full", {
7465
- "flex-col": layout === "vertical",
7466
- "flex-row flex-nowrap gap-7 items-center": layout === "horizontal"
7467
- })
7468
- )
7469
- }), children);
7416
+ return /* @__PURE__ */ React17.createElement(
7417
+ "div",
7418
+ __spreadProps(__spreadValues({}, rest), {
7419
+ className: classNames(
7420
+ className,
7421
+ tw("flex w-full", {
7422
+ "flex-col": layout === "vertical",
7423
+ "flex-row flex-nowrap gap-7 items-center": layout === "horizontal"
7424
+ })
7425
+ )
7426
+ }),
7427
+ children
7428
+ );
7470
7429
  };
7471
7430
  Banner2.ImageContainer = (_a) => {
7472
7431
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
7473
- return /* @__PURE__ */ React17.createElement(Box, __spreadProps(__spreadValues({}, rest), {
7474
- display: "inline-flex",
7475
- alignItems: "center",
7476
- margin: "-6",
7477
- marginLeft: "0"
7478
- }), children);
7432
+ return /* @__PURE__ */ React17.createElement(Box, __spreadProps(__spreadValues({}, rest), { display: "inline-flex", alignItems: "center", margin: "-6", marginLeft: "0" }), children);
7479
7433
  };
7480
7434
  Banner2.Actions = (_a) => {
7481
7435
  var _b = _a, { children, className, layout } = _b, rest = __objRest(_b, ["children", "className", "layout"]);
7482
- return /* @__PURE__ */ React17.createElement("div", __spreadProps(__spreadValues({}, rest), {
7483
- className: classNames(className, tw("flex gap-4", { "mt-5": layout === "vertical" }))
7484
- }), children);
7436
+ return /* @__PURE__ */ React17.createElement("div", __spreadProps(__spreadValues({}, rest), { className: classNames(className, tw("flex gap-4", { "mt-5": layout === "vertical" })) }), children);
7485
7437
  };
7486
7438
  Banner2.DismissContainer = (_a) => {
7487
7439
  var _b = _a, { layout, children, className } = _b, rest = __objRest(_b, ["layout", "children", "className"]);
7488
- return /* @__PURE__ */ React17.createElement("div", __spreadProps(__spreadValues({}, rest), {
7489
- className: classNames(
7490
- className,
7491
- tw({ "self-start": layout === "vertical", "self-center": layout === "horizontal" })
7492
- )
7493
- }), children);
7440
+ return /* @__PURE__ */ React17.createElement(
7441
+ "div",
7442
+ __spreadProps(__spreadValues({}, rest), {
7443
+ className: classNames(
7444
+ className,
7445
+ tw({ "self-start": layout === "vertical", "self-center": layout === "horizontal" })
7446
+ )
7447
+ }),
7448
+ children
7449
+ );
7494
7450
  };
7495
7451
 
7496
7452
  // src/atoms/Card/Card.tsx
@@ -7504,169 +7460,108 @@ var Typography2 = (props) => /* @__PURE__ */ React18.createElement(Typography, _
7504
7460
  Typography2.displayName = "Typography";
7505
7461
  Typography2.LargeHeading = (_a) => {
7506
7462
  var _b = _a, { htmlTag = "h1" } = _b, props = __objRest(_b, ["htmlTag"]);
7507
- return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7508
- htmlTag,
7509
- variant: "large-heading"
7510
- }));
7463
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), { htmlTag, variant: "large-heading" }));
7511
7464
  };
7512
7465
  Typography2.LargeHeading.displayName = "Typography.LargeHeading";
7513
7466
  Typography2.Heading = (_a) => {
7514
7467
  var _b = _a, { htmlTag = "h1", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
7515
- return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7516
- htmlTag,
7517
- variant: "heading"
7518
- }));
7468
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), { htmlTag, variant: "heading" }));
7519
7469
  };
7520
7470
  Typography2.Heading.displayName = "Typography.Heading";
7521
7471
  Typography2.Subheading = (_a) => {
7522
7472
  var _b = _a, { htmlTag = "h2", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
7523
- return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7524
- htmlTag,
7525
- variant: "subheading"
7526
- }));
7473
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), { htmlTag, variant: "subheading" }));
7527
7474
  };
7528
7475
  Typography2.Subheading.displayName = "Typography.Subheading";
7529
7476
  Typography2.LargeStrong = (_a) => {
7530
7477
  var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7531
- return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7532
- htmlTag,
7533
- variant: "large-strong"
7534
- }));
7478
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), { htmlTag, variant: "large-strong" }));
7535
7479
  };
7536
7480
  Typography2.LargeStrong.displayName = "Typography.LargeStrong";
7537
7481
  Typography2.Large = (_a) => {
7538
7482
  var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7539
- return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7540
- htmlTag,
7541
- variant: "large"
7542
- }));
7483
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), { htmlTag, variant: "large" }));
7543
7484
  };
7544
7485
  Typography2.Large.displayName = "Typography.Large";
7545
7486
  Typography2.DefaultStrong = (_a) => {
7546
7487
  var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7547
- return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7548
- htmlTag,
7549
- variant: "default-strong"
7550
- }));
7488
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), { htmlTag, variant: "default-strong" }));
7551
7489
  };
7552
7490
  Typography2.DefaultStrong.displayName = "Typography.DefaultStrong";
7553
7491
  Typography2.Default = (_a) => {
7554
7492
  var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7555
- return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7556
- htmlTag,
7557
- variant: "default"
7558
- }));
7493
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), { htmlTag, variant: "default" }));
7559
7494
  };
7560
7495
  Typography2.Default.displayName = "Typography.Default";
7561
7496
  Typography2.Paragraph = (_a) => {
7562
7497
  var _b = _a, { htmlTag = "p", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
7563
- return /* @__PURE__ */ React18.createElement(Typography2.Default, __spreadProps(__spreadValues({}, props), {
7564
- htmlTag
7565
- }));
7498
+ return /* @__PURE__ */ React18.createElement(Typography2.Default, __spreadProps(__spreadValues({}, props), { htmlTag }));
7566
7499
  };
7567
7500
  Typography2.P = Typography2.Paragraph;
7568
7501
  Typography2.Paragraph.displayName = "Typography.Paragraph";
7569
7502
  Typography2.Small = (_a) => {
7570
7503
  var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7571
- return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7572
- htmlTag,
7573
- variant: "small"
7574
- }));
7504
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), { htmlTag, variant: "small" }));
7575
7505
  };
7576
7506
  Typography2.Small.displayName = "Typography.Small";
7577
7507
  Typography2.SmallStrong = (_a) => {
7578
7508
  var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7579
- return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7580
- htmlTag,
7581
- variant: "small-strong"
7582
- }));
7509
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), { htmlTag, variant: "small-strong" }));
7583
7510
  };
7584
7511
  Typography2.SmallStrong.displayName = "Typography.SmallStrong";
7585
7512
  Typography2.Strong = (_a) => {
7586
7513
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
7587
- return /* @__PURE__ */ React18.createElement("strong", __spreadValues({
7588
- className: classNames4(tw("font-semibold"), className)
7589
- }, props));
7514
+ return /* @__PURE__ */ React18.createElement("strong", __spreadValues({ className: classNames4(tw("font-semibold"), className) }, props));
7590
7515
  };
7591
7516
  Typography2.Strong.displayName = "Typography.Strong";
7592
7517
  Typography2.Caption = (_a) => {
7593
7518
  var _b = _a, { htmlTag = "div", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
7594
- return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7595
- htmlTag,
7596
- variant: "caption"
7597
- }));
7519
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), { htmlTag, variant: "caption" }));
7598
7520
  };
7599
7521
  Typography2.Caption.displayName = "Typography.Caption";
7600
7522
  Typography2.Code = (_a) => {
7601
7523
  var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7602
- return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7603
- htmlTag,
7604
- variant: "code"
7605
- }));
7524
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), { htmlTag, variant: "code" }));
7606
7525
  };
7607
7526
  Typography2.Code.displayName = "Typography.Code";
7608
7527
  Typography2.CodeStrong = (_a) => {
7609
7528
  var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7610
- return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7611
- htmlTag,
7612
- variant: "code-strong"
7613
- }));
7529
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), { htmlTag, variant: "code-strong" }));
7614
7530
  };
7615
7531
  Typography2.CodeStrong.displayName = "Typography.CodeStrong";
7616
7532
  Typography2.CodeSmall = (_a) => {
7617
7533
  var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7618
- return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7619
- htmlTag,
7620
- variant: "code-small"
7621
- }));
7534
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), { htmlTag, variant: "code-small" }));
7622
7535
  };
7623
7536
  Typography2.CodeSmall.displayName = "Typography.Code";
7624
7537
  Typography2.CodeSmallStrong = (_a) => {
7625
7538
  var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7626
- return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7627
- htmlTag,
7628
- variant: "code-small-strong"
7629
- }));
7539
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), { htmlTag, variant: "code-small-strong" }));
7630
7540
  };
7631
7541
  Typography2.CodeSmallStrong.displayName = "Typography.CodeSmallStrong";
7632
7542
  Typography2.LargeText = (_a) => {
7633
7543
  var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7634
- return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7635
- htmlTag,
7636
- variant: "large-strong"
7637
- }));
7544
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), { htmlTag, variant: "large-strong" }));
7638
7545
  };
7639
7546
  Typography2.LargeText.displayName = "Typography.LargeText";
7640
7547
  Typography2.MediumText = (_a) => {
7641
7548
  var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7642
- return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7643
- htmlTag,
7644
- variant: "default-strong"
7645
- }));
7549
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), { htmlTag, variant: "default-strong" }));
7646
7550
  };
7647
7551
  Typography2.MediumText.displayName = "Typography.MediumText";
7648
7552
  Typography2.Text = (_a) => {
7649
7553
  var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7650
- return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7651
- htmlTag,
7652
- variant: "default"
7653
- }));
7554
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), { htmlTag, variant: "default" }));
7654
7555
  };
7655
7556
  Typography2.Text.displayName = "Typography.Text";
7656
7557
  Typography2.SmallText = (_a) => {
7657
7558
  var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7658
- return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7659
- htmlTag,
7660
- variant: "small"
7661
- }));
7559
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), { htmlTag, variant: "small" }));
7662
7560
  };
7663
7561
  Typography2.SmallText.displayName = "Typography.SmallText";
7664
7562
  Typography2.SmallTextBold = (_a) => {
7665
7563
  var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7666
- return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7667
- htmlTag,
7668
- variant: "small-strong"
7669
- }));
7564
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, props), { htmlTag, variant: "small-strong" }));
7670
7565
  };
7671
7566
  Typography2.SmallTextBold.displayName = "Typography.SmallTextBold";
7672
7567
 
@@ -7675,12 +7570,16 @@ import React19 from "react";
7675
7570
  var LineClamp = React19.forwardRef(
7676
7571
  (_a, ref) => {
7677
7572
  var _b = _a, { lines = 1, clamped = true, children, className, wordBreak = "break-words" } = _b, props = __objRest(_b, ["lines", "clamped", "children", "className", "wordBreak"]);
7678
- return /* @__PURE__ */ React19.createElement("div", __spreadValues({
7679
- ref,
7680
- className: classNames(className, wordBreak === "break-words" ? "break-words" : "break-all", {
7681
- [`line-clamp-${lines}`]: clamped
7682
- })
7683
- }, props), children);
7573
+ return /* @__PURE__ */ React19.createElement(
7574
+ "div",
7575
+ __spreadValues({
7576
+ ref,
7577
+ className: classNames(className, wordBreak === "break-words" ? "break-words" : "break-all", {
7578
+ [`line-clamp-${lines}`]: clamped
7579
+ })
7580
+ }, props),
7581
+ children
7582
+ );
7684
7583
  }
7685
7584
  );
7686
7585
 
@@ -7716,33 +7615,41 @@ var Card = React20.forwardRef((props, ref) => {
7716
7615
  "fullWidth"
7717
7616
  ]);
7718
7617
  const clickable = Boolean(role !== void 0 && !disabled);
7719
- return /* @__PURE__ */ React20.createElement("div", __spreadProps(__spreadValues({
7720
- ref,
7721
- role
7722
- }, rest), {
7723
- className: classNames(
7724
- getCommonCardStyles(props),
7725
- tw({
7726
- "cursor-pointer hover:bg-primary-hover active:bg-body": clickable && !disabled,
7727
- "focusable": clickable && modality === "keyboard"
7728
- }),
7729
- className
7730
- )
7731
- }), children);
7618
+ return /* @__PURE__ */ React20.createElement(
7619
+ "div",
7620
+ __spreadProps(__spreadValues({
7621
+ ref,
7622
+ role
7623
+ }, rest), {
7624
+ className: classNames(
7625
+ getCommonCardStyles(props),
7626
+ tw({
7627
+ "cursor-pointer hover:bg-primary-hover active:bg-body": clickable && !disabled,
7628
+ "focusable": clickable && modality === "keyboard"
7629
+ }),
7630
+ className
7631
+ )
7632
+ }),
7633
+ children
7634
+ );
7732
7635
  });
7733
7636
  var Label = (props) => {
7734
7637
  const _a = props, { className, checked = false, children, modality, enableMinWidth, fullWidth, disabled } = _a, rest = __objRest(_a, ["className", "checked", "children", "modality", "enableMinWidth", "fullWidth", "disabled"]);
7735
- return /* @__PURE__ */ React20.createElement("label", __spreadProps(__spreadValues({}, rest), {
7736
- className: classNames(
7737
- getCommonCardStyles(props),
7738
- tw({
7739
- "cursor-pointer hover:bg-primary-hover active:bg-body": !disabled,
7740
- "border-primary-default": checked,
7741
- "focusable": modality === "keyboard"
7742
- }),
7743
- className
7744
- )
7745
- }), children);
7638
+ return /* @__PURE__ */ React20.createElement(
7639
+ "label",
7640
+ __spreadProps(__spreadValues({}, rest), {
7641
+ className: classNames(
7642
+ getCommonCardStyles(props),
7643
+ tw({
7644
+ "cursor-pointer hover:bg-primary-hover active:bg-body": !disabled,
7645
+ "border-primary-default": checked,
7646
+ "focusable": modality === "keyboard"
7647
+ }),
7648
+ className
7649
+ )
7650
+ }),
7651
+ children
7652
+ );
7746
7653
  };
7747
7654
  var ColorHighlight = (_a) => {
7748
7655
  var _b = _a, {
@@ -7752,48 +7659,49 @@ var ColorHighlight = (_a) => {
7752
7659
  "color",
7753
7660
  "className"
7754
7661
  ]);
7755
- return /* @__PURE__ */ React20.createElement(Box, __spreadProps(__spreadValues({}, rest), {
7756
- backgroundColor: color,
7757
- className: classNames(tw("h-1 w-full absolute top-0 left-0 right-0"), className)
7758
- }));
7662
+ return /* @__PURE__ */ React20.createElement(
7663
+ Box,
7664
+ __spreadProps(__spreadValues({}, rest), {
7665
+ backgroundColor: color,
7666
+ className: classNames(tw("h-1 w-full absolute top-0 left-0 right-0"), className)
7667
+ })
7668
+ );
7759
7669
  };
7760
7670
  var ImageContainer = (_a) => {
7761
7671
  var _b = _a, { className, fullSize } = _b, rest = __objRest(_b, ["className", "fullSize"]);
7762
- return /* @__PURE__ */ React20.createElement("div", __spreadProps(__spreadValues({}, rest), {
7763
- className: classNames(
7764
- tw("-mx-4", {
7765
- "-mt-4": Boolean(fullSize)
7766
- }),
7767
- className
7768
- )
7769
- }));
7672
+ return /* @__PURE__ */ React20.createElement(
7673
+ "div",
7674
+ __spreadProps(__spreadValues({}, rest), {
7675
+ className: classNames(
7676
+ tw("-mx-4", {
7677
+ "-mt-4": Boolean(fullSize)
7678
+ }),
7679
+ className
7680
+ )
7681
+ })
7682
+ );
7770
7683
  };
7771
7684
  var classes = "w-full bg-cover object-cover";
7772
- var Image = ({ image, imageAlt, fullSize = false, imageHeight }) => /* @__PURE__ */ React20.createElement("img", {
7773
- src: image,
7774
- alt: imageAlt,
7775
- className: tw(classes, {
7776
- "h-[174px]": !imageHeight && !fullSize,
7777
- "h-[225px]": !imageHeight && fullSize
7778
- }),
7779
- style: { height: isNumber(imageHeight) ? `${imageHeight}px` : imageHeight }
7780
- });
7781
- var Title = (props) => /* @__PURE__ */ React20.createElement(Box.Flex, __spreadValues({
7782
- component: "div",
7783
- alignItems: "center",
7784
- gap: "2"
7785
- }, props));
7685
+ var Image = ({ image, imageAlt, fullSize = false, imageHeight }) => /* @__PURE__ */ React20.createElement(
7686
+ "img",
7687
+ {
7688
+ src: image,
7689
+ alt: imageAlt,
7690
+ className: tw(classes, {
7691
+ "h-[174px]": !imageHeight && !fullSize,
7692
+ "h-[225px]": !imageHeight && fullSize
7693
+ }),
7694
+ style: { height: isNumber(imageHeight) ? `${imageHeight}px` : imageHeight }
7695
+ }
7696
+ );
7697
+ var Title = (props) => /* @__PURE__ */ React20.createElement(Box.Flex, __spreadValues({ component: "div", alignItems: "center", gap: "2" }, props));
7786
7698
  var Content = (_a) => {
7787
7699
  var _b = _a, { className, dense } = _b, rest = __objRest(_b, ["className", "dense"]);
7788
- return /* @__PURE__ */ React20.createElement("div", __spreadProps(__spreadValues({}, rest), {
7789
- className: classNames(tw("flex flex-col", { "gap-4": !dense }), className)
7790
- }));
7700
+ return /* @__PURE__ */ React20.createElement("div", __spreadProps(__spreadValues({}, rest), { className: classNames(tw("flex flex-col", { "gap-4": !dense }), className) }));
7791
7701
  };
7792
7702
  var Actions = (_a) => {
7793
7703
  var _b = _a, { className, dense } = _b, rest = __objRest(_b, ["className", "dense"]);
7794
- return /* @__PURE__ */ React20.createElement("div", __spreadProps(__spreadValues({}, rest), {
7795
- className: classNames(tw("flex gap-3 items-center", { "pt-3 ": !dense }), className)
7796
- }));
7704
+ return /* @__PURE__ */ React20.createElement("div", __spreadProps(__spreadValues({}, rest), { className: classNames(tw("flex gap-3 items-center", { "pt-3 ": !dense }), className) }));
7797
7705
  };
7798
7706
  Card.Label = Label;
7799
7707
  Card.Title = Title;
@@ -7815,15 +7723,9 @@ var getTitleContent = ({
7815
7723
  "Wrap a custom card title element with <Card.Title> to get the desired spacing between children elements applied."
7816
7724
  );
7817
7725
  }
7818
- const titleContent = /* @__PURE__ */ React20.createElement(Typography2, {
7819
- variant: dense ? "small-strong" : "default-strong",
7820
- color: "intense"
7821
- }, title);
7726
+ const titleContent = /* @__PURE__ */ React20.createElement(Typography2, { variant: dense ? "small-strong" : "default-strong", color: "intense" }, title);
7822
7727
  if (clampTitle) {
7823
- return /* @__PURE__ */ React20.createElement(LineClamp, {
7824
- lines: clampTitle,
7825
- wordBreak: "break-all"
7826
- }, titleContent);
7728
+ return /* @__PURE__ */ React20.createElement(LineClamp, { lines: clampTitle, wordBreak: "break-all" }, titleContent);
7827
7729
  }
7828
7730
  return titleContent;
7829
7731
  };
@@ -7835,41 +7737,52 @@ var import_tick2 = __toESM(require_tick());
7835
7737
  var Checkbox = React21.forwardRef(
7836
7738
  (_a, ref) => {
7837
7739
  var _b = _a, { id, children, name, disabled = false, readOnly = false, indeterminate = false } = _b, props = __objRest(_b, ["id", "children", "name", "disabled", "readOnly", "indeterminate"]);
7838
- return /* @__PURE__ */ React21.createElement("span", {
7839
- className: classNames(tw("inline-flex justify-center items-center self-center relative"), {
7840
- "hover:border-intense peer-checked:border-primary-default": !disabled,
7841
- "border-muted": disabled
7842
- })
7843
- }, /* @__PURE__ */ React21.createElement("input", __spreadProps(__spreadValues({
7844
- id,
7845
- ref,
7846
- type: "checkbox",
7847
- name
7848
- }, props), {
7849
- className: classNames(
7850
- tw("peer appearance-none outline-none w-5 h-5 rounded-sm border border-transparent", {
7851
- "cursor-pointer checked:bg-primary-default": !disabled,
7852
- "cursor-not-allowed bg-muted checked:bg-primary-muted": disabled
7740
+ return /* @__PURE__ */ React21.createElement(
7741
+ "span",
7742
+ {
7743
+ className: classNames(tw("inline-flex justify-center items-center self-center relative"), {
7744
+ "hover:border-intense peer-checked:border-primary-default": !disabled,
7745
+ "border-muted": disabled
7746
+ })
7747
+ },
7748
+ /* @__PURE__ */ React21.createElement(
7749
+ "input",
7750
+ __spreadProps(__spreadValues({
7751
+ id,
7752
+ ref,
7753
+ type: "checkbox",
7754
+ name
7755
+ }, props), {
7756
+ className: classNames(
7757
+ tw("peer appearance-none outline-none w-5 h-5 rounded-sm border border-transparent", {
7758
+ "cursor-pointer checked:bg-primary-default": !disabled,
7759
+ "cursor-not-allowed bg-muted checked:bg-primary-muted": disabled
7760
+ })
7761
+ ),
7762
+ readOnly,
7763
+ disabled
7853
7764
  })
7854
7765
  ),
7855
- readOnly,
7856
- disabled
7857
- })), /* @__PURE__ */ React21.createElement(Icon, {
7858
- icon: indeterminate ? import_minus2.default : import_tick2.default,
7859
- strokeWidth: "3px",
7860
- className: classNames(
7861
- tw(
7862
- "absolute top-0 right-0",
7863
- "pointer-events-none p-[2px] w-5 h-5",
7864
- "text-transparent [&>path]:stroke-transparent [&>path]:stroke-[3px]",
7865
- "rounded-sm border border-default peer-focus:border-info-default"
7866
- ),
7766
+ /* @__PURE__ */ React21.createElement(
7767
+ Icon,
7867
7768
  {
7868
- "border-default peer-hover:border-intense peer-checked:text-white peer-checked:[&>path]:stroke-white peer-checked:border-primary-default": !disabled,
7869
- "border-muted peer-checked:text-primary-default peer-checked:[&>path]:stroke-primary-70 peer-checked:border-transparent": disabled
7769
+ icon: indeterminate ? import_minus2.default : import_tick2.default,
7770
+ strokeWidth: "3px",
7771
+ className: classNames(
7772
+ tw(
7773
+ "absolute top-0 right-0",
7774
+ "pointer-events-none p-[2px] w-5 h-5",
7775
+ "text-transparent [&>path]:stroke-transparent [&>path]:stroke-[3px]",
7776
+ "rounded-sm border border-default peer-focus:border-info-default"
7777
+ ),
7778
+ {
7779
+ "border-default peer-hover:border-intense peer-checked:text-white peer-checked:[&>path]:stroke-white peer-checked:border-primary-default": !disabled,
7780
+ "border-muted peer-checked:text-primary-default peer-checked:[&>path]:stroke-primary-70 peer-checked:border-transparent": disabled
7781
+ }
7782
+ )
7870
7783
  }
7871
7784
  )
7872
- }));
7785
+ );
7873
7786
  }
7874
7787
  );
7875
7788
 
@@ -7878,16 +7791,20 @@ import React22 from "react";
7878
7791
  var Container = React22.forwardRef(
7879
7792
  (_a, ref) => {
7880
7793
  var _b = _a, { dense = false, className, children } = _b, rest = __objRest(_b, ["dense", "className", "children"]);
7881
- return /* @__PURE__ */ React22.createElement("span", __spreadValues({
7882
- ref,
7883
- className: classNames(
7884
- tw("inline-flex items-center rounded-sm transition whitespace-nowrap", {
7885
- "typography-small py-2 px-3 gap-x-3 leading-tight": !dense,
7886
- "typography-caption py-1 px-2 gap-x-2": dense
7887
- }),
7888
- className
7889
- )
7890
- }, rest), children);
7794
+ return /* @__PURE__ */ React22.createElement(
7795
+ "span",
7796
+ __spreadValues({
7797
+ ref,
7798
+ className: classNames(
7799
+ tw("inline-flex items-center rounded-sm transition whitespace-nowrap", {
7800
+ "typography-small py-2 px-3 gap-x-3 leading-tight": !dense,
7801
+ "typography-caption py-1 px-2 gap-x-2": dense
7802
+ }),
7803
+ className
7804
+ )
7805
+ }, rest),
7806
+ children
7807
+ );
7891
7808
  }
7892
7809
  );
7893
7810
  var Chip = {
@@ -7905,26 +7822,29 @@ import React23 from "react";
7905
7822
  var RadioButton = React23.forwardRef(
7906
7823
  (_a, ref) => {
7907
7824
  var _b = _a, { id, children, name, disabled = false, readOnly = false } = _b, props = __objRest(_b, ["id", "children", "name", "disabled", "readOnly"]);
7908
- return /* @__PURE__ */ React23.createElement("input", __spreadProps(__spreadValues({
7909
- id,
7910
- ref,
7911
- type: "radio",
7912
- name
7913
- }, props), {
7914
- className: classNames(
7915
- tw(
7916
- "inline-flex justify-center items-center self-center appearance-none",
7917
- "w-5 h-5 p-[3px] rounded-full border border-default",
7918
- "outline-none focus:border-info-default checked:bg-primary-default checked:shadow-bodyInset",
7919
- {
7920
- "cursor-pointer hover:border-intense checked:border-primary-default": !disabled,
7921
- "cursor-not-allowed border-muted bg-muted checked:bg-primary-muted checked:border-transparent": disabled
7922
- }
7923
- )
7924
- ),
7925
- readOnly,
7926
- disabled
7927
- }));
7825
+ return /* @__PURE__ */ React23.createElement(
7826
+ "input",
7827
+ __spreadProps(__spreadValues({
7828
+ id,
7829
+ ref,
7830
+ type: "radio",
7831
+ name
7832
+ }, props), {
7833
+ className: classNames(
7834
+ tw(
7835
+ "inline-flex justify-center items-center self-center appearance-none",
7836
+ "w-5 h-5 p-[3px] rounded-full border border-default",
7837
+ "outline-none focus:border-info-default checked:bg-primary-default checked:shadow-bodyInset",
7838
+ {
7839
+ "cursor-pointer hover:border-intense checked:border-primary-default": !disabled,
7840
+ "cursor-not-allowed border-muted bg-muted checked:bg-primary-muted checked:border-transparent": disabled
7841
+ }
7842
+ )
7843
+ ),
7844
+ readOnly,
7845
+ disabled
7846
+ })
7847
+ );
7928
7848
  }
7929
7849
  );
7930
7850
 
@@ -7935,16 +7855,11 @@ var HeadContext = React24.createContext(null);
7935
7855
  var tableClassNames = tw("w-full relative typography-default border-spacing-0 border-separate");
7936
7856
  var Table = (_a) => {
7937
7857
  var _b = _a, { children, ariaLabel, className } = _b, rest = __objRest(_b, ["children", "ariaLabel", "className"]);
7938
- return /* @__PURE__ */ React24.createElement("table", __spreadProps(__spreadValues({}, rest), {
7939
- className: classNames(tableClassNames, className),
7940
- "aria-label": ariaLabel
7941
- }), children);
7858
+ return /* @__PURE__ */ React24.createElement("table", __spreadProps(__spreadValues({}, rest), { className: classNames(tableClassNames, className), "aria-label": ariaLabel }), children);
7942
7859
  };
7943
7860
  var TableHead = (_a) => {
7944
7861
  var _b = _a, { children, sticky } = _b, rest = __objRest(_b, ["children", "sticky"]);
7945
- return /* @__PURE__ */ React24.createElement("thead", __spreadValues({}, rest), /* @__PURE__ */ React24.createElement("tr", null, /* @__PURE__ */ React24.createElement(HeadContext.Provider, {
7946
- value: { children, sticky }
7947
- }, children)));
7862
+ return /* @__PURE__ */ React24.createElement("thead", __spreadValues({}, rest), /* @__PURE__ */ React24.createElement("tr", null, /* @__PURE__ */ React24.createElement(HeadContext.Provider, { value: { children, sticky } }, children)));
7948
7863
  };
7949
7864
  var TableBody = (_a) => {
7950
7865
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
@@ -7953,11 +7868,15 @@ var TableBody = (_a) => {
7953
7868
  var rowClassNames = tw("children:border-default group children:last:border-b-0 hover:bg-muted");
7954
7869
  var TableRow = (_a) => {
7955
7870
  var _b = _a, { children, className, disabled } = _b, rest = __objRest(_b, ["children", "className", "disabled"]);
7956
- return /* @__PURE__ */ React24.createElement("tr", __spreadProps(__spreadValues(__spreadValues({}, rest), { inert: disabled ? "" : void 0 }), {
7957
- className: classNames(rowClassNames, className, {
7958
- "opacity-70": disabled
7959
- })
7960
- }), children);
7871
+ return /* @__PURE__ */ React24.createElement(
7872
+ "tr",
7873
+ __spreadProps(__spreadValues(__spreadValues({}, rest), { inert: disabled ? "" : void 0 }), {
7874
+ className: classNames(rowClassNames, className, {
7875
+ "opacity-70": disabled
7876
+ })
7877
+ }),
7878
+ children
7879
+ );
7961
7880
  };
7962
7881
  var cellClassNames = tw("px-4 border-b typography-small leading-[18px]");
7963
7882
  var getBodyCellClassNames = (table = true, stickyColumn) => tw("text-default py-3", {
@@ -7984,34 +7903,36 @@ var TableCell = React24.forwardRef(
7984
7903
  (_a, ref) => {
7985
7904
  var _b = _a, { children, className, stickyColumn, align = "left" } = _b, rest = __objRest(_b, ["children", "className", "stickyColumn", "align"]);
7986
7905
  const headContext = React24.useContext(HeadContext);
7987
- return headContext ? /* @__PURE__ */ React24.createElement("th", __spreadProps(__spreadValues({}, rest), {
7988
- ref,
7989
- className: classNames(
7990
- cellClassNames,
7991
- getHeadCellClassNames(headContext.sticky, stickyColumn),
7992
- getAlignClassNames(align),
7993
- className
7994
- )
7995
- }), children) : /* @__PURE__ */ React24.createElement("td", __spreadProps(__spreadValues({}, rest), {
7996
- ref,
7997
- className: classNames(
7998
- cellClassNames,
7999
- getBodyCellClassNames(true, stickyColumn),
8000
- getAlignClassNames(align),
8001
- className
8002
- )
8003
- }), children);
7906
+ return headContext ? /* @__PURE__ */ React24.createElement(
7907
+ "th",
7908
+ __spreadProps(__spreadValues({}, rest), {
7909
+ ref,
7910
+ className: classNames(
7911
+ cellClassNames,
7912
+ getHeadCellClassNames(headContext.sticky, stickyColumn),
7913
+ getAlignClassNames(align),
7914
+ className
7915
+ )
7916
+ }),
7917
+ children
7918
+ ) : /* @__PURE__ */ React24.createElement(
7919
+ "td",
7920
+ __spreadProps(__spreadValues({}, rest), {
7921
+ ref,
7922
+ className: classNames(
7923
+ cellClassNames,
7924
+ getBodyCellClassNames(true, stickyColumn),
7925
+ getAlignClassNames(align),
7926
+ className
7927
+ )
7928
+ }),
7929
+ children
7930
+ );
8004
7931
  }
8005
7932
  );
8006
7933
  var TableSelectCell = (_a) => {
8007
7934
  var _b = _a, { ariaLabel } = _b, props = __objRest(_b, ["ariaLabel"]);
8008
- return /* @__PURE__ */ React24.createElement(Table.Cell, {
8009
- className: tw("leading-[0px]")
8010
- }, props.type === "radio" ? /* @__PURE__ */ React24.createElement(RadioButton, __spreadValues({
8011
- "aria-label": ariaLabel
8012
- }, props)) : /* @__PURE__ */ React24.createElement(Checkbox, __spreadValues({
8013
- "aria-label": ariaLabel
8014
- }, props)));
7935
+ return /* @__PURE__ */ React24.createElement(Table.Cell, { className: tw("leading-[0px]") }, props.type === "radio" ? /* @__PURE__ */ React24.createElement(RadioButton, __spreadValues({ "aria-label": ariaLabel }, props)) : /* @__PURE__ */ React24.createElement(Checkbox, __spreadValues({ "aria-label": ariaLabel }, props)));
8015
7936
  };
8016
7937
  var getSortCellButtonClassNames = (align) => tw("group flex items-center gap-x-4 text-muted", { "flex-row-reverse": align === "right" });
8017
7938
  var getSortCellIconClassNames = (active) => {
@@ -8020,38 +7941,21 @@ var getSortCellIconClassNames = (active) => {
8020
7941
  var TableSortCell = React24.forwardRef(
8021
7942
  (_a, ref) => {
8022
7943
  var _b = _a, { children, direction = "none", onClick } = _b, rest = __objRest(_b, ["children", "direction", "onClick"]);
8023
- return /* @__PURE__ */ React24.createElement(Table.Cell, __spreadProps(__spreadValues({}, rest), {
8024
- "aria-sort": direction,
8025
- ref
8026
- }), /* @__PURE__ */ React24.createElement("span", {
8027
- className: getSortCellButtonClassNames(rest.align),
8028
- role: "button",
8029
- tabIndex: -1,
8030
- onClick
8031
- }, children, /* @__PURE__ */ React24.createElement("div", {
8032
- "data-sort-icons": true,
8033
- className: tw("flex flex-col", {
8034
- "invisible group-hover:visible": direction === "none"
8035
- })
8036
- }, /* @__PURE__ */ React24.createElement(InlineIcon, {
8037
- icon: import_chevronUp2.default,
8038
- className: getSortCellIconClassNames(direction === "ascending")
8039
- }), /* @__PURE__ */ React24.createElement(InlineIcon, {
8040
- icon: import_chevronDown3.default,
8041
- className: getSortCellIconClassNames(direction === "descending")
8042
- }))));
7944
+ return /* @__PURE__ */ React24.createElement(Table.Cell, __spreadProps(__spreadValues({}, rest), { "aria-sort": direction, ref }), /* @__PURE__ */ React24.createElement("span", { className: getSortCellButtonClassNames(rest.align), role: "button", tabIndex: -1, onClick }, children, /* @__PURE__ */ React24.createElement(
7945
+ "div",
7946
+ {
7947
+ "data-sort-icons": true,
7948
+ className: tw("flex flex-col", {
7949
+ "invisible group-hover:visible": direction === "none"
7950
+ })
7951
+ },
7952
+ /* @__PURE__ */ React24.createElement(InlineIcon, { icon: import_chevronUp2.default, className: getSortCellIconClassNames(direction === "ascending") }),
7953
+ /* @__PURE__ */ React24.createElement(InlineIcon, { icon: import_chevronDown3.default, className: getSortCellIconClassNames(direction === "descending") })
7954
+ )));
8043
7955
  }
8044
7956
  );
8045
- var Caption = ({ children }) => /* @__PURE__ */ React24.createElement(Typography2.Caption, {
8046
- htmlTag: "caption"
8047
- }, children);
8048
- var Item = ({ image, imageAlt, imageSize = 35, title, caption }) => /* @__PURE__ */ React24.createElement("div", {
8049
- className: tw("flex gap-4 items-center")
8050
- }, image && /* @__PURE__ */ React24.createElement("img", {
8051
- src: image,
8052
- alt: imageAlt != null ? imageAlt : "",
8053
- style: { width: imageSize, height: imageSize }
8054
- }), /* @__PURE__ */ React24.createElement("div", null, title, caption && /* @__PURE__ */ React24.createElement(Typography2.Caption, null, caption)));
7957
+ var Caption = ({ children }) => /* @__PURE__ */ React24.createElement(Typography2.Caption, { htmlTag: "caption" }, children);
7958
+ var Item = ({ image, imageAlt, imageSize = 35, title, caption }) => /* @__PURE__ */ React24.createElement("div", { className: tw("flex gap-4 items-center") }, image && /* @__PURE__ */ React24.createElement("img", { src: image, alt: imageAlt != null ? imageAlt : "", style: { width: imageSize, height: imageSize } }), /* @__PURE__ */ React24.createElement("div", null, title, caption && /* @__PURE__ */ React24.createElement(Typography2.Caption, null, caption)));
8055
7959
  Table.Head = React24.memo(TableHead);
8056
7960
  Table.Body = React24.memo(TableBody);
8057
7961
  Table.Row = React24.memo(TableRow);
@@ -8074,16 +7978,15 @@ var DataList = (_a) => {
8074
7978
  };
8075
7979
  var TreeLine = (_a) => {
8076
7980
  var _b = _a, { className, style, isLast } = _b, rest = __objRest(_b, ["className", "style", "isLast"]);
8077
- return /* @__PURE__ */ React25.createElement("div", __spreadProps(__spreadValues({}, rest), {
8078
- className: classNames(tw("flex justify-start h-full mx-4"), className)
8079
- }), /* @__PURE__ */ React25.createElement("div", {
8080
- className: tw("border-l border-default border-dashed flex-1", {
8081
- "h-full": !isLast,
8082
- "h-1/2": Boolean(isLast)
8083
- })
8084
- }), /* @__PURE__ */ React25.createElement("div", {
8085
- className: tw("border-t border-default border-dashed self-center w-[18px]")
8086
- }));
7981
+ return /* @__PURE__ */ React25.createElement("div", __spreadProps(__spreadValues({}, rest), { className: classNames(tw("flex justify-start h-full mx-4"), className) }), /* @__PURE__ */ React25.createElement(
7982
+ "div",
7983
+ {
7984
+ className: tw("border-l border-default border-dashed flex-1", {
7985
+ "h-full": !isLast,
7986
+ "h-1/2": Boolean(isLast)
7987
+ })
7988
+ }
7989
+ ), /* @__PURE__ */ React25.createElement("div", { className: tw("border-t border-default border-dashed self-center w-[18px]") }));
8087
7990
  };
8088
7991
  var HeadCell = (_a) => {
8089
7992
  var _b = _a, {
@@ -8097,16 +8000,19 @@ var HeadCell = (_a) => {
8097
8000
  "align",
8098
8001
  "stickyColumn"
8099
8002
  ]);
8100
- return /* @__PURE__ */ React25.createElement("div", __spreadProps(__spreadValues({
8101
- role: "columnheader"
8102
- }, rest), {
8103
- className: classNames(
8104
- cellClassNames,
8105
- getHeadCellClassNames(sticky, stickyColumn),
8106
- getAlignClassNames2(align),
8107
- className
8108
- )
8109
- }));
8003
+ return /* @__PURE__ */ React25.createElement(
8004
+ "div",
8005
+ __spreadProps(__spreadValues({
8006
+ role: "columnheader"
8007
+ }, rest), {
8008
+ className: classNames(
8009
+ cellClassNames,
8010
+ getHeadCellClassNames(sticky, stickyColumn),
8011
+ getAlignClassNames2(align),
8012
+ className
8013
+ )
8014
+ })
8015
+ );
8110
8016
  };
8111
8017
  var Cell = (_a) => {
8112
8018
  var _b = _a, {
@@ -8118,16 +8024,19 @@ var Cell = (_a) => {
8118
8024
  "align",
8119
8025
  "stickyColumn"
8120
8026
  ]);
8121
- return /* @__PURE__ */ React25.createElement("div", __spreadProps(__spreadValues({}, rest), {
8122
- role: "cell",
8123
- className: classNames(
8124
- cellClassNames,
8125
- getBodyCellClassNames(false, stickyColumn),
8126
- getAlignClassNames2(align),
8127
- tw("border-default"),
8128
- className
8129
- )
8130
- }));
8027
+ return /* @__PURE__ */ React25.createElement(
8028
+ "div",
8029
+ __spreadProps(__spreadValues({}, rest), {
8030
+ role: "cell",
8031
+ className: classNames(
8032
+ cellClassNames,
8033
+ getBodyCellClassNames(false, stickyColumn),
8034
+ getAlignClassNames2(align),
8035
+ tw("border-default"),
8036
+ className
8037
+ )
8038
+ })
8039
+ );
8131
8040
  };
8132
8041
  var Row = (_a) => {
8133
8042
  var _b = _a, {
@@ -8145,54 +8054,45 @@ var Row = (_a) => {
8145
8054
  "active",
8146
8055
  "noDivider"
8147
8056
  ]);
8148
- return /* @__PURE__ */ React25.createElement("div", __spreadProps(__spreadValues(__spreadProps(__spreadValues({}, rest), {
8149
- role: isGroup ? "rowgroup" : "row"
8150
- }), { inert: disabled ? "" : void 0 }), {
8151
- className: classNames(tw("contents"), className, {
8152
- "[&>*]:border-b-transparent": noDivider,
8153
- "children:opacity-70": disabled,
8154
- "[&>*]:bg-primary-active": active,
8155
- "[&>*]:hover:bg-muted": !disabled && !header
8057
+ return /* @__PURE__ */ React25.createElement(
8058
+ "div",
8059
+ __spreadProps(__spreadValues(__spreadProps(__spreadValues({}, rest), {
8060
+ role: isGroup ? "rowgroup" : "row"
8061
+ }), { inert: disabled ? "" : void 0 }), {
8062
+ className: classNames(tw("contents"), className, {
8063
+ "[&>*]:border-b-transparent": noDivider,
8064
+ "children:opacity-70": disabled,
8065
+ "[&>*]:bg-primary-active": active,
8066
+ "[&>*]:hover:bg-muted": !disabled && !header
8067
+ })
8156
8068
  })
8157
- }));
8069
+ );
8158
8070
  };
8159
8071
  var SubGroupSpacing = (_a) => {
8160
8072
  var _b = _a, { className, divider } = _b, rest = __objRest(_b, ["className", "divider"]);
8161
- return /* @__PURE__ */ React25.createElement("span", __spreadProps(__spreadValues({}, rest), {
8162
- "aria-hidden": true,
8163
- className: classNames(tw("col-span-full h-6 bg-muted border-default", { "border-b": Boolean(divider) }), className)
8164
- }));
8073
+ return /* @__PURE__ */ React25.createElement(
8074
+ "span",
8075
+ __spreadProps(__spreadValues({}, rest), {
8076
+ "aria-hidden": true,
8077
+ className: classNames(tw("col-span-full h-6 bg-muted border-default", { "border-b": Boolean(divider) }), className)
8078
+ })
8079
+ );
8165
8080
  };
8166
8081
  var SortCell = (_a) => {
8167
8082
  var _b = _a, { children, direction = "none", onClick, sticky } = _b, rest = __objRest(_b, ["children", "direction", "onClick", "sticky"]);
8168
- return /* @__PURE__ */ React25.createElement(HeadCell, __spreadProps(__spreadValues({}, rest), {
8169
- "aria-sort": direction,
8170
- role: "columnheader",
8171
- sticky
8172
- }), /* @__PURE__ */ React25.createElement("span", {
8173
- className: getSortCellButtonClassNames(rest.align),
8174
- role: "button",
8175
- tabIndex: -1,
8176
- onClick
8177
- }, children, /* @__PURE__ */ React25.createElement("div", {
8178
- "data-sort-icons": true,
8179
- className: tw("flex flex-col", {
8180
- "invisible group-hover:visible": direction === "none"
8181
- })
8182
- }, /* @__PURE__ */ React25.createElement(InlineIcon, {
8183
- icon: import_chevronUp3.default,
8184
- className: getSortCellIconClassNames(direction === "ascending")
8185
- }), /* @__PURE__ */ React25.createElement(InlineIcon, {
8186
- icon: import_chevronDown4.default,
8187
- className: getSortCellIconClassNames(direction === "descending")
8188
- }))));
8189
- };
8190
- var EmptyGroup = ({ icon, children }) => /* @__PURE__ */ React25.createElement("div", {
8191
- className: tw("flex gap-3 items-center")
8192
- }, icon && /* @__PURE__ */ React25.createElement(Icon, {
8193
- icon,
8194
- width: 22
8195
- }), children);
8083
+ return /* @__PURE__ */ React25.createElement(HeadCell, __spreadProps(__spreadValues({}, rest), { "aria-sort": direction, role: "columnheader", sticky }), /* @__PURE__ */ React25.createElement("span", { className: getSortCellButtonClassNames(rest.align), role: "button", tabIndex: -1, onClick }, children, /* @__PURE__ */ React25.createElement(
8084
+ "div",
8085
+ {
8086
+ "data-sort-icons": true,
8087
+ className: tw("flex flex-col", {
8088
+ "invisible group-hover:visible": direction === "none"
8089
+ })
8090
+ },
8091
+ /* @__PURE__ */ React25.createElement(InlineIcon, { icon: import_chevronUp3.default, className: getSortCellIconClassNames(direction === "ascending") }),
8092
+ /* @__PURE__ */ React25.createElement(InlineIcon, { icon: import_chevronDown4.default, className: getSortCellIconClassNames(direction === "descending") })
8093
+ )));
8094
+ };
8095
+ var EmptyGroup = ({ icon, children }) => /* @__PURE__ */ React25.createElement("div", { className: tw("flex gap-3 items-center") }, icon && /* @__PURE__ */ React25.createElement(Icon, { icon, width: 22 }), children);
8196
8096
  DataList.EmptyGroup = EmptyGroup;
8197
8097
  DataList.EmptyGroup.displayName = "DataList.EmptyGroup";
8198
8098
  DataList.HeadCell = HeadCell;
@@ -8209,39 +8109,39 @@ DataList.TreeLine = TreeLine;
8209
8109
  DataList.TreeLine.displayName = "DataList.TreeLine";
8210
8110
  var ToolbarContainer = (_a) => {
8211
8111
  var _b = _a, { className, sticky = true } = _b, rest = __objRest(_b, ["className", "sticky"]);
8212
- return /* @__PURE__ */ React25.createElement("div", __spreadProps(__spreadValues({}, rest), {
8213
- role: "row",
8214
- className: classNames(
8215
- tw("col-span-full flex items-stretch py-4 px-l2 border-b border-default", {
8216
- "sticky top-[47px] bg-body z-10": sticky
8217
- }),
8218
- className
8219
- )
8220
- }));
8112
+ return /* @__PURE__ */ React25.createElement(
8113
+ "div",
8114
+ __spreadProps(__spreadValues({}, rest), {
8115
+ role: "row",
8116
+ className: classNames(
8117
+ tw("col-span-full flex items-stretch py-4 px-l2 border-b border-default", {
8118
+ "sticky top-[47px] bg-body z-10": sticky
8119
+ }),
8120
+ className
8121
+ )
8122
+ })
8123
+ );
8221
8124
  };
8222
8125
  ToolbarContainer.displayName = "DataList.Toolbar.Container";
8223
8126
  var ToolbarGroup = (_a) => {
8224
8127
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
8225
- return /* @__PURE__ */ React25.createElement("div", __spreadProps(__spreadValues({
8226
- role: "cell"
8227
- }, rest), {
8228
- className: classNames(tw("flex items-center px-l2 border-r-1 border-muted last:border-r-0"), className)
8229
- }));
8128
+ return /* @__PURE__ */ React25.createElement(
8129
+ "div",
8130
+ __spreadProps(__spreadValues({
8131
+ role: "cell"
8132
+ }, rest), {
8133
+ className: classNames(tw("flex items-center px-l2 border-r-1 border-muted last:border-r-0"), className)
8134
+ })
8135
+ );
8230
8136
  };
8231
8137
  ToolbarGroup.displayName = "DataList.Toolbar.Group";
8232
8138
  var ToolbarSelectionCount = (_a) => {
8233
8139
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
8234
- return /* @__PURE__ */ React25.createElement(Typography, __spreadValues({
8235
- variant: "small",
8236
- color: "muted",
8237
- className: classNames(tw("whitespace-nowrap"), className)
8238
- }, rest));
8140
+ return /* @__PURE__ */ React25.createElement(Typography, __spreadValues({ variant: "small", color: "muted", className: classNames(tw("whitespace-nowrap"), className) }, rest));
8239
8141
  };
8240
8142
  var ToolbarActions = (_a) => {
8241
8143
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
8242
- return /* @__PURE__ */ React25.createElement("div", __spreadProps(__spreadValues({}, rest), {
8243
- className: classNames(tw("flex items-center gap-x-5"), className)
8244
- }));
8144
+ return /* @__PURE__ */ React25.createElement("div", __spreadProps(__spreadValues({}, rest), { className: classNames(tw("flex items-center gap-x-5"), className) }));
8245
8145
  };
8246
8146
  ToolbarActions.displayName = "DataList.Toolbar.Actions";
8247
8147
  DataList.Toolbar = {
@@ -8301,23 +8201,26 @@ var Skeleton = (_a) => {
8301
8201
  width: isNumber2(width) ? `${width}px` : width,
8302
8202
  height: isNumber2(height) ? `${height}px` : height
8303
8203
  };
8304
- return /* @__PURE__ */ React26.createElement("div", __spreadProps(__spreadValues({
8305
- "aria-label": "Loading..."
8306
- }, rest), {
8307
- style: __spreadValues(__spreadValues({}, styles), style),
8308
- role: "progressbar",
8309
- className: classNames(
8310
- "Aquarium-Skeleton",
8311
- tw("bg-default", {
8312
- "h-auto before:content-['_'] whitespace-pre origin-[0%_45%] scale-[0.55]": isUndefined7(height),
8313
- "rounded-full": rounded,
8314
- "block": display === "block",
8315
- "inline-block": display === "inline-block",
8316
- "animate-pulse": animate
8317
- }),
8318
- className
8319
- )
8320
- }));
8204
+ return /* @__PURE__ */ React26.createElement(
8205
+ "div",
8206
+ __spreadProps(__spreadValues({
8207
+ "aria-label": "Loading..."
8208
+ }, rest), {
8209
+ style: __spreadValues(__spreadValues({}, styles), style),
8210
+ role: "progressbar",
8211
+ className: classNames(
8212
+ "Aquarium-Skeleton",
8213
+ tw("bg-default", {
8214
+ "h-auto before:content-['_'] whitespace-pre origin-[0%_45%] scale-[0.55]": isUndefined7(height),
8215
+ "rounded-full": rounded,
8216
+ "block": display === "block",
8217
+ "inline-block": display === "inline-block",
8218
+ "animate-pulse": animate
8219
+ }),
8220
+ className
8221
+ )
8222
+ })
8223
+ );
8321
8224
  };
8322
8225
 
8323
8226
  // src/molecules/Badge/Badge.tsx
@@ -8325,62 +8228,71 @@ var createBadge = (type, displayName) => {
8325
8228
  const Component = (props) => {
8326
8229
  const _a = props, { kind = "filled", value, textClassname, dense = false, disabled = false } = _a, rest = __objRest(_a, ["kind", "value", "textClassname", "dense", "disabled"]);
8327
8230
  const valueStr = value.toString();
8328
- return /* @__PURE__ */ React27.createElement("span", __spreadProps(__spreadValues({}, rest), {
8329
- className: classNames(
8330
- tw("inline-block text-center", {
8331
- "rounded-full": type === "default" || type === "chip",
8332
- "rounded": type === "tab",
8333
- "text-default border border-current": kind === "outlined",
8334
- "bg-current": kind === "filled" && type !== "chip",
8335
- "bg-white": type === "chip" && !disabled,
8336
- "bg-muted": type === "chip" && disabled,
8337
- "typography-caption-small leading-none py-1 px-2": !dense,
8338
- "text-[8px]": dense,
8339
- "px-1": dense && valueStr.length > 1,
8340
- "px-[4px]": dense && valueStr.length === 1
8341
- }),
8342
- "Aquarium-Badge"
8343
- )
8344
- }), /* @__PURE__ */ React27.createElement("span", {
8345
- className: classNames(
8346
- textClassname,
8347
- tw("inline-block", {
8348
- "text-white": !textClassname && kind === "filled",
8349
- "m-[1px]": kind === "filled"
8350
- })
8231
+ return /* @__PURE__ */ React27.createElement(
8232
+ "span",
8233
+ __spreadProps(__spreadValues({}, rest), {
8234
+ className: classNames(
8235
+ tw("inline-block text-center", {
8236
+ "rounded-full": type === "default" || type === "chip",
8237
+ "rounded": type === "tab",
8238
+ "text-default border border-current": kind === "outlined",
8239
+ "bg-current": kind === "filled" && type !== "chip",
8240
+ "bg-white": type === "chip" && !disabled,
8241
+ "bg-muted": type === "chip" && disabled,
8242
+ "typography-caption-small leading-none py-1 px-2": !dense,
8243
+ "text-[8px]": dense,
8244
+ "px-1": dense && valueStr.length > 1,
8245
+ "px-[4px]": dense && valueStr.length === 1
8246
+ }),
8247
+ "Aquarium-Badge"
8248
+ )
8249
+ }),
8250
+ /* @__PURE__ */ React27.createElement(
8251
+ "span",
8252
+ {
8253
+ className: classNames(
8254
+ textClassname,
8255
+ tw("inline-block", {
8256
+ "text-white": !textClassname && kind === "filled",
8257
+ "m-[1px]": kind === "filled"
8258
+ })
8259
+ )
8260
+ },
8261
+ valueStr
8351
8262
  )
8352
- }, valueStr));
8263
+ );
8353
8264
  };
8354
8265
  Component.displayName = displayName;
8355
- Component.Skeleton = () => /* @__PURE__ */ React27.createElement(Skeleton, {
8356
- height: 16,
8357
- width: 16,
8358
- display: "inline-block",
8359
- className: tw(type === "tab" ? "rounded" : "rounded-full")
8360
- });
8266
+ Component.Skeleton = () => /* @__PURE__ */ React27.createElement(
8267
+ Skeleton,
8268
+ {
8269
+ height: 16,
8270
+ width: 16,
8271
+ display: "inline-block",
8272
+ className: tw(type === "tab" ? "rounded" : "rounded-full")
8273
+ }
8274
+ );
8361
8275
  Component.Skeleton.displayName = `${displayName}.Skeleton`;
8362
8276
  return Component;
8363
8277
  };
8364
8278
  var NotificationBadge = (_a) => {
8365
8279
  var _b = _a, { children, top = "-2px", right = "-2px" } = _b, props = __objRest(_b, ["children", "top", "right"]);
8366
- return /* @__PURE__ */ React27.createElement("div", __spreadProps(__spreadValues({}, props), {
8367
- className: classNames("Aquarium-Badge.Notification", tw("relative inline-flex text-default"))
8368
- }), children, /* @__PURE__ */ React27.createElement("span", {
8369
- style: { top, right },
8370
- className: tw("absolute rounded-full w-[6px] h-[6px] bg-danger-intense")
8371
- }));
8280
+ return /* @__PURE__ */ React27.createElement("div", __spreadProps(__spreadValues({}, props), { className: classNames("Aquarium-Badge.Notification", tw("relative inline-flex text-default")) }), children, /* @__PURE__ */ React27.createElement("span", { style: { top, right }, className: tw("absolute rounded-full w-[6px] h-[6px] bg-danger-intense") }));
8372
8281
  };
8373
8282
  var DotBadge = (_a) => {
8374
8283
  var _b = _a, { dense = false } = _b, props = __objRest(_b, ["dense"]);
8375
- return /* @__PURE__ */ React27.createElement("span", __spreadProps(__spreadValues({}, props), {
8376
- className: classNames(
8377
- "Aquarium-Badge.Dot",
8378
- tw("rounded-full bg-current", {
8379
- "w-[6px] h-[6px]": dense,
8380
- "w-[9px] h-[9px]": !dense
8381
- })
8382
- )
8383
- }));
8284
+ return /* @__PURE__ */ React27.createElement(
8285
+ "span",
8286
+ __spreadProps(__spreadValues({}, props), {
8287
+ className: classNames(
8288
+ "Aquarium-Badge.Dot",
8289
+ tw("rounded-full bg-current", {
8290
+ "w-[6px] h-[6px]": dense,
8291
+ "w-[9px] h-[9px]": !dense
8292
+ })
8293
+ )
8294
+ })
8295
+ );
8384
8296
  };
8385
8297
  var Badge = createBadge("default", "Badge");
8386
8298
  Badge.displayName = "Badge";
@@ -8396,84 +8308,78 @@ var import_tick3 = __toESM(require_tick());
8396
8308
  var DropdownMenu = React28.forwardRef(
8397
8309
  (_a, ref) => {
8398
8310
  var _b = _a, { minHeight, maxHeight = "100%", minWidth = "125px", maxWidth, className, children } = _b, props = __objRest(_b, ["minHeight", "maxHeight", "minWidth", "maxWidth", "className", "children"]);
8399
- return /* @__PURE__ */ React28.createElement("div", __spreadValues({
8400
- ref,
8401
- style: { minHeight, maxHeight, minWidth, maxWidth },
8402
- className: classNames(
8403
- className,
8404
- "Aquarium-DropdownMenu.Menu bg-popover-content w-full flex flex-col overflow-x-hidden typography-small text-default"
8405
- )
8406
- }, props), children);
8311
+ return /* @__PURE__ */ React28.createElement(
8312
+ "div",
8313
+ __spreadValues({
8314
+ ref,
8315
+ style: { minHeight, maxHeight, minWidth, maxWidth },
8316
+ className: classNames(
8317
+ className,
8318
+ "Aquarium-DropdownMenu.Menu bg-popover-content w-full flex flex-col overflow-x-hidden typography-small text-default"
8319
+ )
8320
+ }, props),
8321
+ children
8322
+ );
8407
8323
  }
8408
8324
  );
8409
- var ContentContainer = ({ children }) => /* @__PURE__ */ React28.createElement("div", {
8410
- className: tw("p-3 overflow-y-auto overflow-x-hidden")
8411
- }, children);
8325
+ var ContentContainer = ({ children }) => /* @__PURE__ */ React28.createElement("div", { className: tw("p-3 overflow-y-auto overflow-x-hidden") }, children);
8412
8326
  DropdownMenu.ContentContainer = ContentContainer;
8413
8327
  var List = React28.forwardRef(
8414
8328
  (_a, ref) => {
8415
8329
  var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
8416
- return /* @__PURE__ */ React28.createElement("ul", __spreadValues({
8417
- ref,
8418
- className: classNames(className, "outline-none ring-0")
8419
- }, props), children);
8330
+ return /* @__PURE__ */ React28.createElement("ul", __spreadValues({ ref, className: classNames(className, "outline-none ring-0") }, props), children);
8420
8331
  }
8421
8332
  );
8422
8333
  DropdownMenu.List = List;
8423
8334
  var Group = React28.forwardRef(
8424
8335
  (_a, ref) => {
8425
8336
  var _b = _a, { className, title, titleProps, children } = _b, props = __objRest(_b, ["className", "title", "titleProps", "children"]);
8426
- return /* @__PURE__ */ React28.createElement("li", __spreadValues({
8427
- ref
8428
- }, props), title && /* @__PURE__ */ React28.createElement("div", __spreadValues({
8429
- className: classNames(
8430
- className,
8431
- "Aquarium-DropdownMenu.Group p-3 text-inactive uppercase cursor-default typography-caption"
8432
- )
8433
- }, titleProps), title), children);
8337
+ return /* @__PURE__ */ React28.createElement("li", __spreadValues({ ref }, props), title && /* @__PURE__ */ React28.createElement(
8338
+ "div",
8339
+ __spreadValues({
8340
+ className: classNames(
8341
+ className,
8342
+ "Aquarium-DropdownMenu.Group p-3 text-inactive uppercase cursor-default typography-caption"
8343
+ )
8344
+ }, titleProps),
8345
+ title
8346
+ ), children);
8434
8347
  }
8435
8348
  );
8436
8349
  DropdownMenu.Group = Group;
8437
8350
  var Item2 = React28.forwardRef(
8438
8351
  (_a, ref) => {
8439
8352
  var _b = _a, { kind, highlighted, selected, className, icon, showNotification = false, children } = _b, props = __objRest(_b, ["kind", "highlighted", "selected", "className", "icon", "showNotification", "children"]);
8440
- return /* @__PURE__ */ React28.createElement("li", __spreadValues({
8441
- ref,
8442
- className: classNames(className, "Aquarium-DropdownMenu.Item flex items-center gap-x-3 p-3 outline-none", {
8443
- "cursor-pointer hover:bg-muted": !props.disabled,
8444
- "bg-muted": highlighted,
8445
- "text-primary-intense": kind === "action" && !props.disabled,
8446
- "text-danger-default": kind === "danger" && !props.disabled,
8447
- "text-inactive cursor-not-allowed": props.disabled
8448
- })
8449
- }, props), icon && showNotification && /* @__PURE__ */ React28.createElement(Badge.Notification, null, /* @__PURE__ */ React28.createElement(InlineIcon, {
8450
- icon
8451
- })), icon && !showNotification && /* @__PURE__ */ React28.createElement(InlineIcon, {
8452
- icon
8453
- }), /* @__PURE__ */ React28.createElement("span", {
8454
- className: tw("grow")
8455
- }, children), selected && /* @__PURE__ */ React28.createElement(InlineIcon, {
8456
- icon: import_tick3.default
8457
- }));
8353
+ return /* @__PURE__ */ React28.createElement(
8354
+ "li",
8355
+ __spreadValues({
8356
+ ref,
8357
+ className: classNames(className, "Aquarium-DropdownMenu.Item flex items-center gap-x-3 p-3 outline-none", {
8358
+ "cursor-pointer hover:bg-muted": !props.disabled,
8359
+ "bg-muted": highlighted,
8360
+ "text-primary-intense": kind === "action" && !props.disabled,
8361
+ "text-danger-default": kind === "danger" && !props.disabled,
8362
+ "text-inactive cursor-not-allowed": props.disabled
8363
+ })
8364
+ }, props),
8365
+ icon && showNotification && /* @__PURE__ */ React28.createElement(Badge.Notification, null, /* @__PURE__ */ React28.createElement(InlineIcon, { icon })),
8366
+ icon && !showNotification && /* @__PURE__ */ React28.createElement(InlineIcon, { icon }),
8367
+ /* @__PURE__ */ React28.createElement("span", { className: tw("grow") }, children),
8368
+ selected && /* @__PURE__ */ React28.createElement(InlineIcon, { icon: import_tick3.default })
8369
+ );
8458
8370
  }
8459
8371
  );
8460
8372
  DropdownMenu.Item = Item2;
8461
- var Description = ({ disabled, children }) => /* @__PURE__ */ React28.createElement(Typography2.Caption, {
8462
- color: disabled ? "inactive" : "muted"
8463
- }, children);
8373
+ var Description = ({ disabled, children }) => /* @__PURE__ */ React28.createElement(Typography2.Caption, { color: disabled ? "inactive" : "muted" }, children);
8464
8374
  DropdownMenu.Description = Description;
8465
8375
  var Separator = (_a) => {
8466
8376
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
8467
- return /* @__PURE__ */ React28.createElement("li", __spreadProps(__spreadValues({}, props), {
8468
- className: classNames(className, tw("m-3 block bg-default h-[1px]"))
8469
- }));
8377
+ return /* @__PURE__ */ React28.createElement("li", __spreadProps(__spreadValues({}, props), { className: classNames(className, tw("m-3 block bg-default h-[1px]")) }));
8470
8378
  };
8471
8379
  DropdownMenu.Separator = Separator;
8472
8380
  var EmptyStateContainer = (_a) => {
8473
8381
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
8474
- return /* @__PURE__ */ React28.createElement("div", __spreadValues({
8475
- className: classNames(tw("border border-dashed border-default p-3"), className)
8476
- }, props), children);
8382
+ return /* @__PURE__ */ React28.createElement("div", __spreadValues({ className: classNames(tw("border border-dashed border-default p-3"), className) }, props), children);
8477
8383
  };
8478
8384
  DropdownMenu.EmptyStateContainer = EmptyStateContainer;
8479
8385
 
@@ -8532,11 +8438,15 @@ var GridItem = Tailwindify(
8532
8438
  gridRowEnd: rowEnd
8533
8439
  });
8534
8440
  const HtmlElement = htmlTag;
8535
- return /* @__PURE__ */ React29.createElement(HtmlElement, {
8536
- style: __spreadValues(__spreadValues({}, hookStyle), style),
8537
- className,
8538
- "aria-label": ariaLabel ? ariaLabel : void 0
8539
- }, children);
8441
+ return /* @__PURE__ */ React29.createElement(
8442
+ HtmlElement,
8443
+ {
8444
+ style: __spreadValues(__spreadValues({}, hookStyle), style),
8445
+ className,
8446
+ "aria-label": ariaLabel ? ariaLabel : void 0
8447
+ },
8448
+ children
8449
+ );
8540
8450
  }
8541
8451
  );
8542
8452
  var Grid = (props) => {
@@ -8595,11 +8505,15 @@ var GridComponent = Tailwindify(
8595
8505
  gridRowEnd: rowEnd
8596
8506
  });
8597
8507
  const HtmlElement = htmlTag;
8598
- return /* @__PURE__ */ React29.createElement(HtmlElement, {
8599
- style: __spreadValues(__spreadValues({}, hookStyle), style),
8600
- className,
8601
- "aria-label": ariaLabel ? ariaLabel : void 0
8602
- }, children);
8508
+ return /* @__PURE__ */ React29.createElement(
8509
+ HtmlElement,
8510
+ {
8511
+ style: __spreadValues(__spreadValues({}, hookStyle), style),
8512
+ className,
8513
+ "aria-label": ariaLabel ? ariaLabel : void 0
8514
+ },
8515
+ children
8516
+ );
8603
8517
  }
8604
8518
  );
8605
8519
  Grid.displayName = "Grid";
@@ -8615,22 +8529,24 @@ var gridColumnStyles = {
8615
8529
  };
8616
8530
  var InputGroup = (_a) => {
8617
8531
  var _b = _a, { cols = "1", children } = _b, rest = __objRest(_b, ["cols", "children"]);
8618
- return /* @__PURE__ */ React30.createElement(Grid, __spreadProps(__spreadValues({}, rest), {
8619
- display: "inline-grid",
8620
- colGap: "l4",
8621
- rowGap: "3",
8622
- cols: cols !== "auto" ? cols : void 0,
8623
- className: gridColumnStyles[cols]
8624
- }), children);
8532
+ return /* @__PURE__ */ React30.createElement(
8533
+ Grid,
8534
+ __spreadProps(__spreadValues({}, rest), {
8535
+ display: "inline-grid",
8536
+ colGap: "l4",
8537
+ rowGap: "3",
8538
+ cols: cols !== "auto" ? cols : void 0,
8539
+ className: gridColumnStyles[cols]
8540
+ }),
8541
+ children
8542
+ );
8625
8543
  };
8626
8544
 
8627
8545
  // src/atoms/Link/Link.tsx
8628
8546
  import React31 from "react";
8629
8547
  var Link = (_a) => {
8630
8548
  var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
8631
- return /* @__PURE__ */ React31.createElement("a", __spreadValues({
8632
- className: classNames(className, linkStyle)
8633
- }, props), children);
8549
+ return /* @__PURE__ */ React31.createElement("a", __spreadValues({ className: classNames(className, linkStyle) }, props), children);
8634
8550
  };
8635
8551
 
8636
8552
  // src/atoms/Modal/Modal.tsx
@@ -8744,235 +8660,209 @@ var Modal = (_a) => {
8744
8660
  "open"
8745
8661
  ]);
8746
8662
  const { overlay } = modalStyles({ kind });
8747
- return open ? /* @__PURE__ */ React32.createElement("div", __spreadProps(__spreadValues({}, rest), {
8748
- className: overlay({ className })
8749
- }), children) : null;
8663
+ return open ? /* @__PURE__ */ React32.createElement("div", __spreadProps(__spreadValues({}, rest), { className: overlay({ className }) }), children) : null;
8750
8664
  };
8751
8665
  Modal.BackDrop = (_a) => {
8752
8666
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
8753
8667
  const { backdrop } = modalStyles();
8754
- return /* @__PURE__ */ React32.createElement("div", __spreadProps(__spreadValues({}, rest), {
8755
- className: backdrop({ className })
8756
- }));
8668
+ return /* @__PURE__ */ React32.createElement("div", __spreadProps(__spreadValues({}, rest), { className: backdrop({ className }) }));
8757
8669
  };
8758
8670
  Modal.Dialog = React32.forwardRef(
8759
8671
  (_a, ref) => {
8760
8672
  var _b = _a, { kind = "dialog", children, className, size = "md" } = _b, rest = __objRest(_b, ["kind", "children", "className", "size"]);
8761
8673
  const { dialog } = modalStyles({ kind, size });
8762
- return /* @__PURE__ */ React32.createElement("div", __spreadProps(__spreadValues({
8763
- ref,
8764
- "aria-modal": "true"
8765
- }, rest), {
8766
- className: dialog({ className })
8767
- }), children);
8674
+ return /* @__PURE__ */ React32.createElement("div", __spreadProps(__spreadValues({ ref, "aria-modal": "true" }, rest), { className: dialog({ className }) }), children);
8768
8675
  }
8769
8676
  );
8770
8677
  Modal.Header = (_a) => {
8771
8678
  var _b = _a, { kind = "dialog", size = "md", children, className } = _b, rest = __objRest(_b, ["kind", "size", "children", "className"]);
8772
8679
  const { header } = modalStyles({ kind, size });
8773
- return /* @__PURE__ */ React32.createElement("div", __spreadProps(__spreadValues({}, rest), {
8774
- className: header({ className })
8775
- }), children);
8680
+ return /* @__PURE__ */ React32.createElement("div", __spreadProps(__spreadValues({}, rest), { className: header({ className }) }), children);
8776
8681
  };
8777
8682
  Modal.HeaderImage = (_a) => {
8778
8683
  var _b = _a, { backgroundImage, className } = _b, rest = __objRest(_b, ["backgroundImage", "className"]);
8779
8684
  const { headerImage } = modalStyles({ backgroundImage: Boolean(backgroundImage) });
8780
- return backgroundImage ? /* @__PURE__ */ React32.createElement("img", __spreadProps(__spreadValues({
8781
- "aria-hidden": true,
8782
- src: backgroundImage
8783
- }, rest), {
8784
- className: headerImage({ className })
8785
- })) : /* @__PURE__ */ React32.createElement("div", {
8786
- className: headerImage({ className })
8787
- });
8685
+ return backgroundImage ? /* @__PURE__ */ React32.createElement("img", __spreadProps(__spreadValues({ "aria-hidden": true, src: backgroundImage }, rest), { className: headerImage({ className }) })) : /* @__PURE__ */ React32.createElement("div", { className: headerImage({ className }) });
8788
8686
  };
8789
8687
  Modal.CloseButtonContainer = (_a) => {
8790
8688
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
8791
8689
  const { closeButtonContainer } = modalStyles();
8792
- return /* @__PURE__ */ React32.createElement("div", __spreadProps(__spreadValues({}, rest), {
8793
- className: closeButtonContainer({ className })
8794
- }));
8690
+ return /* @__PURE__ */ React32.createElement("div", __spreadProps(__spreadValues({}, rest), { className: closeButtonContainer({ className }) }));
8795
8691
  };
8796
8692
  Modal.Title = (_a) => {
8797
8693
  var _b = _a, { kind = "dialog", children, className } = _b, rest = __objRest(_b, ["kind", "children", "className"]);
8798
8694
  const { title } = modalStyles({ kind });
8799
- return /* @__PURE__ */ React32.createElement(Typography, __spreadValues({
8800
- htmlTag: "h2",
8801
- variant: "subheading",
8802
- color: "intense",
8803
- className: title({ className })
8804
- }, rest), children);
8695
+ return /* @__PURE__ */ React32.createElement(Typography, __spreadValues({ htmlTag: "h2", variant: "subheading", color: "intense", className: title({ className }) }, rest), children);
8805
8696
  };
8806
8697
  Modal.Subtitle = (_a) => {
8807
8698
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
8808
- return /* @__PURE__ */ React32.createElement(Typography, __spreadValues({
8809
- variant: "small",
8810
- color: "default"
8811
- }, rest), children);
8699
+ return /* @__PURE__ */ React32.createElement(Typography, __spreadValues({ variant: "small", color: "default" }, rest), children);
8812
8700
  };
8813
8701
  Modal.TitleContainer = (_a) => {
8814
8702
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8815
8703
  const { titleContainer } = modalStyles();
8816
- return /* @__PURE__ */ React32.createElement("div", __spreadProps(__spreadValues({}, rest), {
8817
- className: titleContainer({ className })
8818
- }), children);
8704
+ return /* @__PURE__ */ React32.createElement("div", __spreadProps(__spreadValues({}, rest), { className: titleContainer({ className }) }), children);
8819
8705
  };
8820
8706
  Modal.Body = (_a) => {
8821
8707
  var _b = _a, { children, className, noFooter = false, maxHeight, style } = _b, rest = __objRest(_b, ["children", "className", "noFooter", "maxHeight", "style"]);
8822
8708
  const { body } = modalStyles();
8823
- return /* @__PURE__ */ React32.createElement("div", __spreadProps(__spreadValues({}, rest), {
8824
- className: body({ noFooter, className }),
8825
- style: __spreadValues({ maxHeight }, style)
8826
- }), children);
8709
+ return /* @__PURE__ */ React32.createElement("div", __spreadProps(__spreadValues({}, rest), { className: body({ noFooter, className }), style: __spreadValues({ maxHeight }, style) }), children);
8827
8710
  };
8828
8711
  Modal.Footer = (_a) => {
8829
8712
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8830
8713
  const { footer } = modalStyles();
8831
- return /* @__PURE__ */ React32.createElement("div", __spreadProps(__spreadValues({}, rest), {
8832
- className: footer({ className })
8833
- }), children);
8714
+ return /* @__PURE__ */ React32.createElement("div", __spreadProps(__spreadValues({}, rest), { className: footer({ className }) }), children);
8834
8715
  };
8835
8716
  Modal.Actions = (_a) => {
8836
8717
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8837
8718
  const { actions } = modalStyles();
8838
- return /* @__PURE__ */ React32.createElement("div", __spreadProps(__spreadValues({}, rest), {
8839
- className: actions({ className })
8840
- }), children);
8719
+ return /* @__PURE__ */ React32.createElement("div", __spreadProps(__spreadValues({}, rest), { className: actions({ className }) }), children);
8841
8720
  };
8842
8721
 
8843
8722
  // src/atoms/Navigation/Navigation.tsx
8844
8723
  import React33 from "react";
8845
8724
  var Navigation = (_a) => {
8846
- var _b = _a, { className, children } = _b, rest = __objRest(_b, ["className", "children"]);
8847
- return /* @__PURE__ */ React33.createElement("nav", {
8848
- className: classNames(tw("bg-muted h-full"))
8849
- }, /* @__PURE__ */ React33.createElement("ul", __spreadProps(__spreadValues({}, rest), {
8850
- className: classNames(tw("flex flex-col h-full"), className),
8851
- role: "menubar"
8852
- }), children));
8725
+ var _b = _a, {
8726
+ className,
8727
+ children,
8728
+ "aria-label": ariaLabel
8729
+ } = _b, rest = __objRest(_b, [
8730
+ "className",
8731
+ "children",
8732
+ "aria-label"
8733
+ ]);
8734
+ return /* @__PURE__ */ React33.createElement("nav", { className: classNames(tw("bg-muted h-full")), "aria-label": ariaLabel }, /* @__PURE__ */ React33.createElement("ul", __spreadProps(__spreadValues({}, rest), { className: classNames(tw("flex flex-col h-full"), className), role: "menubar" }), children));
8853
8735
  };
8854
8736
  var Header = (_a) => {
8855
8737
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
8856
- return /* @__PURE__ */ React33.createElement("li", __spreadProps(__spreadValues({}, rest), {
8857
- role: "presentation",
8858
- className: classNames(tw("px-6 py-5"), className)
8859
- }));
8738
+ return /* @__PURE__ */ React33.createElement("li", __spreadProps(__spreadValues({}, rest), { role: "presentation", className: classNames(tw("px-6 py-5"), className) }));
8860
8739
  };
8861
8740
  var Footer = (_a) => {
8862
8741
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
8863
- return /* @__PURE__ */ React33.createElement("li", __spreadProps(__spreadValues({}, rest), {
8864
- role: "presentation",
8865
- className: classNames(tw("px-6 py-5 mt-auto"), className)
8866
- }));
8742
+ return /* @__PURE__ */ React33.createElement("li", __spreadProps(__spreadValues({}, rest), { role: "presentation", className: classNames(tw("px-6 py-5 mt-auto"), className) }));
8867
8743
  };
8868
8744
  var Section = (_a) => {
8869
8745
  var _b = _a, { title, className } = _b, rest = __objRest(_b, ["title", "className"]);
8870
- return /* @__PURE__ */ React33.createElement("li", {
8871
- role: "presentation",
8872
- className: tw("py-5")
8873
- }, title && /* @__PURE__ */ React33.createElement("div", {
8874
- className: classNames(className, "py-2 px-6 text-inactive uppercase cursor-default typography-caption")
8875
- }, title), /* @__PURE__ */ React33.createElement("ul", __spreadProps(__spreadValues({}, rest), {
8876
- role: "group",
8877
- className: classNames(tw("flex flex-col"), className)
8878
- })));
8746
+ return /* @__PURE__ */ React33.createElement("li", { role: "presentation", className: tw("py-5") }, title && /* @__PURE__ */ React33.createElement("div", { className: classNames(className, "py-2 px-6 text-inactive uppercase cursor-default typography-caption") }, title), /* @__PURE__ */ React33.createElement("ul", __spreadProps(__spreadValues({}, rest), { role: "group", className: classNames(tw("flex flex-col"), className) })));
8879
8747
  };
8880
8748
  var Divider = (_a) => {
8881
8749
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
8882
- return /* @__PURE__ */ React33.createElement("li", __spreadProps(__spreadValues({
8883
- role: "separator"
8884
- }, rest), {
8885
- className: classNames(tw("border-t-2 border-muted"), className)
8886
- }));
8750
+ return /* @__PURE__ */ React33.createElement("li", __spreadProps(__spreadValues({ "aria-hidden": true }, rest), { className: classNames(tw("border-t-2 border-muted"), className) }));
8887
8751
  };
8888
8752
  var Item3 = (_a) => {
8889
8753
  var _b = _a, { className, active } = _b, rest = __objRest(_b, ["className", "active"]);
8890
- return /* @__PURE__ */ React33.createElement("li", {
8891
- role: "presentation"
8892
- }, /* @__PURE__ */ React33.createElement("a", __spreadProps(__spreadValues({}, rest), {
8893
- role: "menuitem",
8894
- className: classNames(
8895
- tw("py-3 px-6 hover:bg-default cursor-pointer flex gap-4 items-center typography-small focusable", {
8896
- "text-default": !active,
8897
- "text-primary-intense": !!active
8898
- }),
8899
- className
8900
- )
8901
- })));
8754
+ return /* @__PURE__ */ React33.createElement("li", { role: "presentation" }, /* @__PURE__ */ React33.createElement(
8755
+ "a",
8756
+ __spreadProps(__spreadValues({}, rest), {
8757
+ role: "menuitem",
8758
+ className: classNames(
8759
+ tw("py-3 px-6 hover:bg-default cursor-pointer flex gap-4 items-center typography-small focusable", {
8760
+ "text-default": !active,
8761
+ "text-primary-intense": !!active
8762
+ }),
8763
+ className
8764
+ )
8765
+ })
8766
+ ));
8902
8767
  };
8768
+ var Submenu = (_a) => {
8769
+ var _b = _a, {
8770
+ children,
8771
+ className,
8772
+ title,
8773
+ id
8774
+ } = _b, rest = __objRest(_b, [
8775
+ "children",
8776
+ "className",
8777
+ "title",
8778
+ "id"
8779
+ ]);
8780
+ return /* @__PURE__ */ React33.createElement("li", { role: "presentation" }, /* @__PURE__ */ React33.createElement(
8781
+ "a",
8782
+ __spreadValues({
8783
+ role: "menuitem",
8784
+ "aria-haspopup": "true",
8785
+ href: "#",
8786
+ id,
8787
+ className: classNames(
8788
+ tw("py-3 pr-6 pl-3 hover:bg-default cursor-pointer typography-small focusable flex items-center w-full"),
8789
+ className
8790
+ )
8791
+ }, rest),
8792
+ title
8793
+ ), /* @__PURE__ */ React33.createElement("ul", { role: "menu", className: classNames(tw("flex flex-col")), "aria-labelledby": id }, children));
8794
+ };
8795
+ var SubmenuItem = (_a) => {
8796
+ var _b = _a, { className, active } = _b, rest = __objRest(_b, ["className", "active"]);
8797
+ return /* @__PURE__ */ React33.createElement(Navigation.Item, __spreadProps(__spreadValues({}, rest), { active, className: classNames(className, tw("pl-[56px]")) }));
8798
+ };
8799
+ Submenu.Item = SubmenuItem;
8903
8800
  Navigation.Header = Header;
8904
8801
  Navigation.Footer = Footer;
8905
8802
  Navigation.Section = Section;
8906
8803
  Navigation.Item = Item3;
8804
+ Navigation.Submenu = Submenu;
8907
8805
  Navigation.Divider = Divider;
8908
8806
 
8909
8807
  // src/atoms/PageHeader/PageHeader.tsx
8910
8808
  import React34 from "react";
8911
8809
  var PageHeader = (_a) => {
8912
8810
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8913
- return /* @__PURE__ */ React34.createElement("div", __spreadValues({
8914
- className: classNames(tw("flex flex-row gap-4 pb-6"), className)
8915
- }, rest), children);
8811
+ return /* @__PURE__ */ React34.createElement("div", __spreadValues({ className: classNames(tw("flex flex-row gap-4 pb-6"), className) }, rest), children);
8916
8812
  };
8917
8813
  PageHeader.Container = (_a) => {
8918
8814
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8919
- return /* @__PURE__ */ React34.createElement("div", __spreadValues({
8920
- className: classNames(tw("flex flex-col grow gap-0"), className)
8921
- }, rest), children);
8815
+ return /* @__PURE__ */ React34.createElement("div", __spreadValues({ className: classNames(tw("flex flex-col grow gap-0"), className) }, rest), children);
8922
8816
  };
8923
8817
  PageHeader.TitleContainer = (_a) => {
8924
8818
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8925
- return /* @__PURE__ */ React34.createElement("div", __spreadValues({
8926
- className: classNames(tw("flex flex-col justify-center gap-2"), className)
8927
- }, rest), children);
8819
+ return /* @__PURE__ */ React34.createElement("div", __spreadValues({ className: classNames(tw("flex flex-col justify-center gap-2"), className) }, rest), children);
8928
8820
  };
8929
8821
  PageHeader.Title = (_a) => {
8930
8822
  var _b = _a, { isSubHeader = false, children } = _b, rest = __objRest(_b, ["isSubHeader", "children"]);
8931
- return /* @__PURE__ */ React34.createElement(Typography2, __spreadProps(__spreadValues({}, rest), {
8932
- color: "intense",
8933
- variant: isSubHeader ? "subheading" : "heading",
8934
- htmlTag: isSubHeader ? "h2" : "h1"
8935
- }), children);
8823
+ return /* @__PURE__ */ React34.createElement(
8824
+ Typography2,
8825
+ __spreadProps(__spreadValues({}, rest), {
8826
+ color: "intense",
8827
+ variant: isSubHeader ? "subheading" : "heading",
8828
+ htmlTag: isSubHeader ? "h2" : "h1"
8829
+ }),
8830
+ children
8831
+ );
8936
8832
  };
8937
8833
  PageHeader.Subtitle = (_a) => {
8938
8834
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
8939
- return /* @__PURE__ */ React34.createElement(Typography2.Small, __spreadProps(__spreadValues({}, rest), {
8940
- color: "default"
8941
- }), children);
8835
+ return /* @__PURE__ */ React34.createElement(Typography2.Small, __spreadProps(__spreadValues({}, rest), { color: "default" }), children);
8942
8836
  };
8943
8837
  PageHeader.Chips = (_a) => {
8944
8838
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8945
- return /* @__PURE__ */ React34.createElement("div", __spreadValues({
8946
- className: classNames(tw("flex gap-3"), className)
8947
- }, rest), children);
8839
+ return /* @__PURE__ */ React34.createElement("div", __spreadValues({ className: classNames(tw("flex gap-3"), className) }, rest), children);
8948
8840
  };
8949
8841
  PageHeader.Actions = (_a) => {
8950
8842
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8951
- return /* @__PURE__ */ React34.createElement("div", __spreadValues({
8952
- className: classNames(tw("flex flex-row gap-4 self-start"), className)
8953
- }, rest), children);
8843
+ return /* @__PURE__ */ React34.createElement("div", __spreadValues({ className: classNames(tw("flex flex-row gap-4 self-start"), className) }, rest), children);
8954
8844
  };
8955
8845
 
8956
8846
  // src/atoms/Popover/Popover.tsx
8957
8847
  import React35 from "react";
8958
8848
  var PopoverPanel = React35.forwardRef((_a, ref) => {
8959
8849
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
8960
- return /* @__PURE__ */ React35.createElement("div", __spreadValues({
8961
- ref,
8962
- className: classNames(
8963
- className,
8964
- tw(
8965
- "rounded-sm shadow-16dp bg-popover-content mt-1 overflow-y-auto flex flex-col border border-default outline-none"
8850
+ return /* @__PURE__ */ React35.createElement(
8851
+ "div",
8852
+ __spreadValues({
8853
+ ref,
8854
+ className: classNames(
8855
+ className,
8856
+ tw(
8857
+ "rounded-sm shadow-16dp bg-popover-content mt-1 overflow-y-auto flex flex-col border border-default outline-none"
8858
+ )
8966
8859
  )
8967
- )
8968
- }, props), children);
8860
+ }, props),
8861
+ children
8862
+ );
8969
8863
  });
8970
8864
  PopoverPanel.displayName = "Popover.Panel";
8971
- var PopoverUnderlay = React35.forwardRef((props, ref) => /* @__PURE__ */ React35.createElement("div", __spreadProps(__spreadValues({
8972
- ref
8973
- }, props), {
8974
- className: tw("fixed inset-0")
8975
- })));
8865
+ var PopoverUnderlay = React35.forwardRef((props, ref) => /* @__PURE__ */ React35.createElement("div", __spreadProps(__spreadValues({ ref }, props), { className: tw("fixed inset-0") })));
8976
8866
  PopoverUnderlay.displayName = "Popover.Underlay";
8977
8867
  var Popover = {
8978
8868
  Panel: PopoverPanel,
@@ -8983,36 +8873,23 @@ var Popover = {
8983
8873
  import React36 from "react";
8984
8874
  var Header2 = (_a) => {
8985
8875
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8986
- return /* @__PURE__ */ React36.createElement("div", __spreadProps(__spreadValues({}, rest), {
8987
- className: classNames(tw("p-5 gap-3 flex items-center"), className)
8988
- }), children);
8876
+ return /* @__PURE__ */ React36.createElement("div", __spreadProps(__spreadValues({}, rest), { className: classNames(tw("p-5 gap-3 flex items-center"), className) }), children);
8989
8877
  };
8990
8878
  var Title2 = (_a) => {
8991
8879
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8992
- return /* @__PURE__ */ React36.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
8993
- htmlTag: "h1",
8994
- variant: "small-strong"
8995
- }), children);
8880
+ return /* @__PURE__ */ React36.createElement(Typography, __spreadProps(__spreadValues({}, rest), { htmlTag: "h1", variant: "small-strong" }), children);
8996
8881
  };
8997
8882
  var Body = (_a) => {
8998
8883
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8999
- return /* @__PURE__ */ React36.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
9000
- htmlTag: "div",
9001
- variant: "caption",
9002
- className: classNames(tw("px-5 overflow-y-auto"), className)
9003
- }), children);
8884
+ return /* @__PURE__ */ React36.createElement(Typography, __spreadProps(__spreadValues({}, rest), { htmlTag: "div", variant: "caption", className: classNames(tw("px-5 overflow-y-auto"), className) }), children);
9004
8885
  };
9005
8886
  var Footer2 = (_a) => {
9006
8887
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
9007
- return /* @__PURE__ */ React36.createElement("div", __spreadProps(__spreadValues({}, rest), {
9008
- className: classNames(tw("p-5"), className)
9009
- }), children);
8888
+ return /* @__PURE__ */ React36.createElement("div", __spreadProps(__spreadValues({}, rest), { className: classNames(tw("p-5"), className) }), children);
9010
8889
  };
9011
8890
  var Actions2 = (_a) => {
9012
8891
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
9013
- return /* @__PURE__ */ React36.createElement("div", __spreadProps(__spreadValues({}, rest), {
9014
- className: classNames(tw("flex gap-4"), className)
9015
- }), children);
8892
+ return /* @__PURE__ */ React36.createElement("div", __spreadProps(__spreadValues({}, rest), { className: classNames(tw("flex gap-4"), className) }), children);
9016
8893
  };
9017
8894
  var PopoverDialog = {
9018
8895
  Header: Header2,
@@ -9027,9 +8904,13 @@ import React37 from "react";
9027
8904
  import { clamp } from "lodash-es";
9028
8905
  var ProgressBar = (_a) => {
9029
8906
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
9030
- return /* @__PURE__ */ React37.createElement("div", __spreadProps(__spreadValues({}, rest), {
9031
- className: classNames(tw("relative flex items-center w-full bg-muted h-2 rounded-full overflow-hidden"), className)
9032
- }), children);
8907
+ return /* @__PURE__ */ React37.createElement(
8908
+ "div",
8909
+ __spreadProps(__spreadValues({}, rest), {
8910
+ className: classNames(tw("relative flex items-center w-full bg-muted h-2 rounded-full overflow-hidden"), className)
8911
+ }),
8912
+ children
8913
+ );
9033
8914
  };
9034
8915
  var STATUS_COLORS = {
9035
8916
  info: tw("bg-info-default"),
@@ -9040,29 +8921,26 @@ var STATUS_COLORS = {
9040
8921
  ProgressBar.Indicator = (_a) => {
9041
8922
  var _b = _a, { min, max, value, "aria-label": ariaLabel, status, className } = _b, rest = __objRest(_b, ["min", "max", "value", "aria-label", "status", "className"]);
9042
8923
  const completedPercentage = clamp((value - min) / (max - min) * 100, 0, 100);
9043
- return /* @__PURE__ */ React37.createElement("div", __spreadProps(__spreadValues({}, rest), {
9044
- className: classNames(
9045
- tw("h-2 rounded-full transition-all ease-in-out delay-150"),
9046
- STATUS_COLORS[status],
9047
- className
9048
- ),
9049
- style: { width: `${completedPercentage}%` },
9050
- role: "progressbar",
9051
- "aria-label": ariaLabel || value.toString(),
9052
- "aria-valuenow": value,
9053
- "aria-valuemin": min,
9054
- "aria-valuemax": max
9055
- }));
8924
+ return /* @__PURE__ */ React37.createElement(
8925
+ "div",
8926
+ __spreadProps(__spreadValues({}, rest), {
8927
+ className: classNames(
8928
+ tw("h-2 rounded-full transition-all ease-in-out delay-150"),
8929
+ STATUS_COLORS[status],
8930
+ className
8931
+ ),
8932
+ style: { width: `${completedPercentage}%` },
8933
+ role: "progressbar",
8934
+ "aria-label": ariaLabel || value.toString(),
8935
+ "aria-valuenow": value,
8936
+ "aria-valuemin": min,
8937
+ "aria-valuemax": max
8938
+ })
8939
+ );
9056
8940
  };
9057
8941
  ProgressBar.Labels = (_a) => {
9058
8942
  var _b = _a, { children, startLabel, endLabel, className } = _b, rest = __objRest(_b, ["children", "startLabel", "endLabel", "className"]);
9059
- return /* @__PURE__ */ React37.createElement("div", {
9060
- className: classNames(tw("flex flex-row"), className)
9061
- }, /* @__PURE__ */ React37.createElement("span", __spreadProps(__spreadValues({}, rest), {
9062
- className: tw("grow text-default typography-caption")
9063
- }), startLabel), /* @__PURE__ */ React37.createElement("span", __spreadProps(__spreadValues({}, rest), {
9064
- className: tw("grow text-default typography-caption text-right")
9065
- }), endLabel));
8943
+ return /* @__PURE__ */ React37.createElement("div", { className: classNames(tw("flex flex-row"), className) }, /* @__PURE__ */ React37.createElement("span", __spreadProps(__spreadValues({}, rest), { className: tw("grow text-default typography-caption") }), startLabel), /* @__PURE__ */ React37.createElement("span", __spreadProps(__spreadValues({}, rest), { className: tw("grow text-default typography-caption text-right") }), endLabel));
9066
8944
  };
9067
8945
 
9068
8946
  // src/atoms/Section/Section.tsx
@@ -9076,70 +8954,57 @@ var Section2 = (_a) => {
9076
8954
  "children",
9077
8955
  "className"
9078
8956
  ]);
9079
- return /* @__PURE__ */ React38.createElement(Box, __spreadProps(__spreadValues({
9080
- component: "section"
9081
- }, rest), {
9082
- className: classNames(tw("border border-muted"), className)
9083
- }), children);
8957
+ return /* @__PURE__ */ React38.createElement(Box, __spreadProps(__spreadValues({ component: "section" }, rest), { className: classNames(tw("border border-muted"), className) }), children);
9084
8958
  };
9085
8959
  Section2.Header = (_a) => {
9086
8960
  var _b = _a, { children, className, expanded } = _b, rest = __objRest(_b, ["children", "className", "expanded"]);
9087
- return /* @__PURE__ */ React38.createElement("div", __spreadProps(__spreadValues({}, rest), {
9088
- className: classNames(
9089
- tw("px-6 flex gap-5 justify-between items-center h-[72px]", {
9090
- "bg-muted": expanded
9091
- }),
9092
- className
9093
- )
9094
- }), children);
9095
- };
9096
- Section2.TitleContainer = React38.forwardRef(
9097
- (_a, ref) => {
9098
- var _b = _a, { children, className, collapsible } = _b, rest = __objRest(_b, ["children", "className", "collapsible"]);
9099
- return /* @__PURE__ */ React38.createElement("div", __spreadProps(__spreadValues({}, rest), {
9100
- ref,
8961
+ return /* @__PURE__ */ React38.createElement(
8962
+ "div",
8963
+ __spreadProps(__spreadValues({}, rest), {
9101
8964
  className: classNames(
9102
- tw("grow grid grid-cols-[auto_1fr] gap-x-3 items-center", {
9103
- "cursor-pointer focus:outline-none focusable": collapsible
8965
+ tw("px-6 flex gap-5 justify-between items-center h-[72px]", {
8966
+ "bg-muted": expanded
9104
8967
  }),
9105
8968
  className
9106
8969
  )
9107
- }), children);
8970
+ }),
8971
+ children
8972
+ );
8973
+ };
8974
+ Section2.TitleContainer = React38.forwardRef(
8975
+ (_a, ref) => {
8976
+ var _b = _a, { children, className, collapsible } = _b, rest = __objRest(_b, ["children", "className", "collapsible"]);
8977
+ return /* @__PURE__ */ React38.createElement(
8978
+ "div",
8979
+ __spreadProps(__spreadValues({}, rest), {
8980
+ ref,
8981
+ className: classNames(
8982
+ tw("grow grid grid-cols-[auto_1fr] gap-x-3 items-center", {
8983
+ "cursor-pointer focus:outline-none focusable": collapsible
8984
+ }),
8985
+ className
8986
+ )
8987
+ }),
8988
+ children
8989
+ );
9108
8990
  }
9109
8991
  );
9110
- Section2.Toggle = (props) => /* @__PURE__ */ React38.createElement(Icon, __spreadProps(__spreadValues({}, props), {
9111
- icon: import_caretUp2.default,
9112
- height: 22,
9113
- width: 22
9114
- }));
8992
+ Section2.Toggle = (props) => /* @__PURE__ */ React38.createElement(Icon, __spreadProps(__spreadValues({}, props), { icon: import_caretUp2.default, height: 22, width: 22 }));
9115
8993
  Section2.Title = (_a) => {
9116
8994
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
9117
- return /* @__PURE__ */ React38.createElement(Typography2.Large, __spreadProps(__spreadValues({}, rest), {
9118
- htmlTag: "h2",
9119
- color: "intense",
9120
- className: "flex gap-3 items-center"
9121
- }), children);
8995
+ return /* @__PURE__ */ React38.createElement(Typography2.Large, __spreadProps(__spreadValues({}, rest), { htmlTag: "h2", color: "intense", className: "flex gap-3 items-center" }), children);
9122
8996
  };
9123
8997
  Section2.Subtitle = (_a) => {
9124
8998
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
9125
- return /* @__PURE__ */ React38.createElement(Typography2.Small, __spreadProps(__spreadValues({}, rest), {
9126
- color: "default"
9127
- }), children);
8999
+ return /* @__PURE__ */ React38.createElement(Typography2.Small, __spreadProps(__spreadValues({}, rest), { color: "default" }), children);
9128
9000
  };
9129
9001
  Section2.Actions = (_a) => {
9130
9002
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
9131
- return /* @__PURE__ */ React38.createElement("div", __spreadProps(__spreadValues({}, rest), {
9132
- className: classNames(tw("flex gap-4 justify-end"), className)
9133
- }), children);
9003
+ return /* @__PURE__ */ React38.createElement("div", __spreadProps(__spreadValues({}, rest), { className: classNames(tw("flex gap-4 justify-end"), className) }), children);
9134
9004
  };
9135
9005
  Section2.Body = (_a) => {
9136
9006
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
9137
- return /* @__PURE__ */ React38.createElement("div", __spreadProps(__spreadValues({}, rest), {
9138
- className: classNames(tw("p-6"), className)
9139
- }), /* @__PURE__ */ React38.createElement(Typography, {
9140
- htmlTag: "div",
9141
- color: "default"
9142
- }, children));
9007
+ return /* @__PURE__ */ React38.createElement("div", __spreadProps(__spreadValues({}, rest), { className: classNames(tw("p-6"), className) }), /* @__PURE__ */ React38.createElement(Typography, { htmlTag: "div", color: "default" }, children));
9143
9008
  };
9144
9009
 
9145
9010
  // src/atoms/Select/Select.tsx
@@ -9172,134 +9037,140 @@ var getValues = (children) => {
9172
9037
  var InputContainer = React39.forwardRef(
9173
9038
  (_a, ref) => {
9174
9039
  var _b = _a, { variant = "default", className } = _b, props = __objRest(_b, ["variant", "className"]);
9175
- return /* @__PURE__ */ React39.createElement("div", __spreadValues({
9040
+ return /* @__PURE__ */ React39.createElement(
9041
+ "div",
9042
+ __spreadValues({
9043
+ ref,
9044
+ className: classNames(
9045
+ className,
9046
+ "relative rounded-sm typography-default-strong w-full flex flex-row items-center focus-visible:outline-0 focus-visible:border-info-default group",
9047
+ {
9048
+ "border px-3 py-[6px]": variant !== "readOnly",
9049
+ "cursor-default": variant === "readOnly",
9050
+ "border-default": variant !== "error" && variant !== "readOnly",
9051
+ "border-danger-default": variant === "error",
9052
+ "hover:border-intense": variant !== "error" && variant !== "disabled" && variant !== "focused",
9053
+ "border-info-default": variant === "focused",
9054
+ "bg-body": variant !== "disabled",
9055
+ "cursor-not-allowed border-default bg-default": variant === "disabled"
9056
+ }
9057
+ )
9058
+ }, props)
9059
+ );
9060
+ }
9061
+ );
9062
+ var Input = React39.forwardRef((_a, ref) => {
9063
+ var _b = _a, { className, required } = _b, props = __objRest(_b, ["className", "required"]);
9064
+ return /* @__PURE__ */ React39.createElement(
9065
+ "input",
9066
+ __spreadValues({
9176
9067
  ref,
9068
+ type: "text",
9069
+ "aria-required": required,
9177
9070
  className: classNames(
9178
9071
  className,
9179
- "relative rounded-sm typography-default-strong w-full flex flex-row items-center focus-visible:outline-0 focus-visible:border-info-default group",
9072
+ "grow rounded border-0 focus:outline-none px-[1px] my-1 min-w-0 typography-small disabled:cursor-not-allowed disabled:bg-default placeholder:text-inactive",
9180
9073
  {
9181
- "border px-3 py-[6px]": variant !== "readOnly",
9182
- "cursor-default": variant === "readOnly",
9183
- "border-default": variant !== "error" && variant !== "readOnly",
9184
- "border-danger-default": variant === "error",
9185
- "hover:border-intense": variant !== "error" && variant !== "disabled" && variant !== "focused",
9186
- "border-info-default": variant === "focused",
9187
- "bg-body": variant !== "disabled",
9188
- "cursor-not-allowed border-default bg-default": variant === "disabled"
9074
+ "text-default": !props.disabled,
9075
+ "text-inactive": props.disabled,
9076
+ "bg-body": !props.readOnly,
9077
+ "cursor-default bg-transparent": props.readOnly
9189
9078
  }
9190
9079
  )
9191
- }, props));
9192
- }
9193
- );
9194
- var Input = React39.forwardRef((_a, ref) => {
9195
- var _b = _a, { className, required } = _b, props = __objRest(_b, ["className", "required"]);
9196
- return /* @__PURE__ */ React39.createElement("input", __spreadValues({
9197
- ref,
9198
- type: "text",
9199
- "aria-required": required,
9200
- className: classNames(
9201
- className,
9202
- "grow rounded border-0 focus:outline-none px-[1px] my-1 min-w-0 typography-small disabled:cursor-not-allowed disabled:bg-default placeholder:text-inactive",
9203
- {
9204
- "text-default": !props.disabled,
9205
- "text-inactive": props.disabled,
9206
- "bg-body": !props.readOnly,
9207
- "cursor-default bg-transparent": props.readOnly
9208
- }
9209
- )
9210
- }, props));
9080
+ }, props)
9081
+ );
9211
9082
  });
9212
9083
  var Menu = React39.forwardRef(
9213
9084
  (_a, ref) => {
9214
9085
  var _b = _a, { maxHeight = "450px", className, children } = _b, props = __objRest(_b, ["maxHeight", "className", "children"]);
9215
- return /* @__PURE__ */ React39.createElement("ul", __spreadValues({
9216
- ref,
9217
- style: { maxHeight },
9218
- className: classNames(className, tw("text-default bg-body"))
9219
- }, props), children);
9086
+ return /* @__PURE__ */ React39.createElement("ul", __spreadValues({ ref, style: { maxHeight }, className: classNames(className, tw("text-default bg-body")) }, props), children);
9220
9087
  }
9221
9088
  );
9222
9089
  var NoResults = React39.forwardRef(
9223
9090
  (_a, ref) => {
9224
9091
  var _b = _a, { className, children } = _b, rest = __objRest(_b, ["className", "children"]);
9225
- return /* @__PURE__ */ React39.createElement("li", __spreadProps(__spreadValues({
9226
- ref
9227
- }, rest), {
9228
- className: classNames(tw("p-3 text-inactive typography-small"), className)
9229
- }), children);
9092
+ return /* @__PURE__ */ React39.createElement("li", __spreadProps(__spreadValues({ ref }, rest), { className: classNames(tw("p-3 text-inactive typography-small"), className) }), children);
9230
9093
  }
9231
9094
  );
9232
9095
  var EmptyStateContainer2 = React39.forwardRef((_a, ref) => {
9233
9096
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
9234
- return /* @__PURE__ */ React39.createElement("li", __spreadValues({
9235
- ref,
9236
- className: tw("border border-dashed border-default m-4 p-6")
9237
- }, props), children);
9238
- });
9239
- var Divider2 = (props) => /* @__PURE__ */ React39.createElement("div", __spreadValues({
9240
- className: tw("border-b-1 border-muted mx-3 my-4")
9241
- }, props));
9097
+ return /* @__PURE__ */ React39.createElement("li", __spreadValues({ ref, className: tw("border border-dashed border-default m-4 p-6") }, props), children);
9098
+ });
9099
+ var Divider2 = (props) => /* @__PURE__ */ React39.createElement("div", __spreadValues({ className: tw("border-b-1 border-muted mx-3 my-4") }, props));
9242
9100
  var Group2 = React39.forwardRef((_a, ref) => {
9243
9101
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
9244
- return /* @__PURE__ */ React39.createElement("li", __spreadValues({
9245
- ref,
9246
- className: classNames(
9247
- className,
9248
- "flex items-center gap-x-3 p-3 text-inactive uppercase cursor-default typography-caption mt-4 first:mt-0"
9249
- )
9250
- }, props), children);
9102
+ return /* @__PURE__ */ React39.createElement(
9103
+ "li",
9104
+ __spreadValues({
9105
+ ref,
9106
+ className: classNames(
9107
+ className,
9108
+ "flex items-center gap-x-3 p-3 text-inactive uppercase cursor-default typography-caption mt-4 first:mt-0"
9109
+ )
9110
+ }, props),
9111
+ children
9112
+ );
9251
9113
  });
9252
9114
  var endAdornmentSize = { width: 14, height: 14 };
9253
9115
  var Item4 = React39.forwardRef(
9254
9116
  (_a, ref) => {
9255
9117
  var _b = _a, { highlighted, selected, className, children } = _b, props = __objRest(_b, ["highlighted", "selected", "className", "children"]);
9256
- return /* @__PURE__ */ React39.createElement("li", __spreadValues({
9257
- ref,
9258
- className: classNames(className, "flex items-center gap-x-3 p-3 typography-small", {
9259
- "cursor-pointer hover:bg-muted": !props["aria-disabled"],
9260
- "cursor-not-allowed opacity-40 grayscale": props["aria-disabled"],
9261
- "bg-muted": highlighted
9262
- })
9263
- }, props), /* @__PURE__ */ React39.createElement("span", {
9264
- className: tw("grow flex gap-x-3")
9265
- }, children), selected ? /* @__PURE__ */ React39.createElement(InlineIcon, __spreadValues({
9266
- icon: import_tick4.default
9267
- }, endAdornmentSize)) : /* @__PURE__ */ React39.createElement("div", {
9268
- style: endAdornmentSize
9269
- }));
9118
+ return /* @__PURE__ */ React39.createElement(
9119
+ "li",
9120
+ __spreadValues({
9121
+ ref,
9122
+ className: classNames(className, "flex items-center gap-x-3 p-3 typography-small", {
9123
+ "cursor-pointer hover:bg-muted": !props["aria-disabled"],
9124
+ "cursor-not-allowed opacity-40 grayscale": props["aria-disabled"],
9125
+ "bg-muted": highlighted
9126
+ })
9127
+ }, props),
9128
+ /* @__PURE__ */ React39.createElement("span", { className: tw("grow flex gap-x-3") }, children),
9129
+ selected ? /* @__PURE__ */ React39.createElement(InlineIcon, __spreadValues({ icon: import_tick4.default }, endAdornmentSize)) : /* @__PURE__ */ React39.createElement("div", { style: endAdornmentSize })
9130
+ );
9270
9131
  }
9271
9132
  );
9272
9133
  var ActionItem = React39.forwardRef(
9273
9134
  (_a, ref) => {
9274
9135
  var _b = _a, { className, dense, icon, onClick, children } = _b, props = __objRest(_b, ["className", "dense", "icon", "onClick", "children"]);
9275
- return /* @__PURE__ */ React39.createElement("li", __spreadValues({
9276
- ref,
9277
- role: "button",
9278
- onClick: () => !props.disabled && onClick(),
9279
- className: classNames(className, "flex items-center gap-x-3 typography-small", {
9280
- "p-3": !dense,
9281
- "px-3 py-2": dense,
9282
- "text-primary-intense cursor-pointer hover:text-primary-default": !props.disabled,
9283
- "text-inactive cursor-not-allowed": props.disabled
9284
- })
9285
- }, props), icon && /* @__PURE__ */ React39.createElement(InlineIcon, {
9286
- icon
9287
- }), children);
9136
+ return /* @__PURE__ */ React39.createElement(
9137
+ "li",
9138
+ __spreadValues({
9139
+ ref,
9140
+ role: "button",
9141
+ onClick: () => !props.disabled && onClick(),
9142
+ className: classNames(className, "flex items-center gap-x-3 typography-small", {
9143
+ "p-3": !dense,
9144
+ "px-3 py-2": dense,
9145
+ "text-primary-intense cursor-pointer hover:text-primary-default": !props.disabled,
9146
+ "text-inactive cursor-not-allowed": props.disabled
9147
+ })
9148
+ }, props),
9149
+ icon && /* @__PURE__ */ React39.createElement(InlineIcon, { icon }),
9150
+ children
9151
+ );
9288
9152
  }
9289
9153
  );
9290
9154
  var Toggle = React39.forwardRef((_a, ref) => {
9291
9155
  var _b = _a, { hasFocus, isOpen } = _b, props = __objRest(_b, ["hasFocus", "isOpen"]);
9292
9156
  var _a2;
9293
- return /* @__PURE__ */ React39.createElement("button", __spreadProps(__spreadValues({
9294
- ref,
9295
- type: "button",
9296
- "aria-label": "Toggle"
9297
- }, props), {
9298
- className: tw("grow-0 leading-none", { "cursor-not-allowed": (_a2 = props.disabled) != null ? _a2 : false })
9299
- }), /* @__PURE__ */ React39.createElement(InlineIcon, {
9300
- color: props.disabled ? "inactive" : "default",
9301
- icon: hasFocus ? import_search2.default : isOpen ? import_chevronUp4.default : import_chevronDown5.default
9302
- }));
9157
+ return /* @__PURE__ */ React39.createElement(
9158
+ "button",
9159
+ __spreadProps(__spreadValues({
9160
+ ref,
9161
+ type: "button",
9162
+ "aria-label": "Toggle"
9163
+ }, props), {
9164
+ className: tw("grow-0 leading-none", { "cursor-not-allowed": (_a2 = props.disabled) != null ? _a2 : false })
9165
+ }),
9166
+ /* @__PURE__ */ React39.createElement(
9167
+ InlineIcon,
9168
+ {
9169
+ color: props.disabled ? "inactive" : "default",
9170
+ icon: hasFocus ? import_search2.default : isOpen ? import_chevronUp4.default : import_chevronDown5.default
9171
+ }
9172
+ )
9173
+ );
9303
9174
  });
9304
9175
  var Select = {
9305
9176
  InputContainer,
@@ -9319,9 +9190,7 @@ import React40 from "react";
9319
9190
  var import_tick5 = __toESM(require_tick());
9320
9191
  var Stepper = (_a) => {
9321
9192
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
9322
- return /* @__PURE__ */ React40.createElement("div", __spreadProps(__spreadValues({}, rest), {
9323
- className: classNames(className)
9324
- }));
9193
+ return /* @__PURE__ */ React40.createElement("div", __spreadProps(__spreadValues({}, rest), { className: classNames(className) }));
9325
9194
  };
9326
9195
  var ConnectorContainer = (_a) => {
9327
9196
  var _b = _a, {
@@ -9333,41 +9202,50 @@ var ConnectorContainer = (_a) => {
9333
9202
  "completed",
9334
9203
  "dense"
9335
9204
  ]);
9336
- return /* @__PURE__ */ React40.createElement("div", __spreadProps(__spreadValues({}, rest), {
9337
- className: classNames(
9338
- tw("absolute w-full -left-1/2", {
9339
- "top-[3px] px-[14px]": Boolean(dense),
9340
- "top-[14px] px-[20px]": !dense
9341
- }),
9342
- className
9343
- )
9344
- }));
9205
+ return /* @__PURE__ */ React40.createElement(
9206
+ "div",
9207
+ __spreadProps(__spreadValues({}, rest), {
9208
+ className: classNames(
9209
+ tw("absolute w-full -left-1/2", {
9210
+ "top-[3px] px-[14px]": Boolean(dense),
9211
+ "top-[14px] px-[20px]": !dense
9212
+ }),
9213
+ className
9214
+ )
9215
+ })
9216
+ );
9345
9217
  };
9346
9218
  var Connector = (_a) => {
9347
9219
  var _b = _a, { children, className, completed, dense } = _b, rest = __objRest(_b, ["children", "className", "completed", "dense"]);
9348
- return /* @__PURE__ */ React40.createElement("div", __spreadProps(__spreadValues({}, rest), {
9349
- className: classNames(
9350
- tw("w-full", {
9351
- "bg-intense": !completed,
9352
- "bg-success-default": Boolean(completed),
9353
- "h-[2px]": !dense,
9354
- "h-[3px]": Boolean(dense)
9355
- }),
9356
- className
9357
- )
9358
- }));
9220
+ return /* @__PURE__ */ React40.createElement(
9221
+ "div",
9222
+ __spreadProps(__spreadValues({}, rest), {
9223
+ className: classNames(
9224
+ tw("w-full", {
9225
+ "bg-intense": !completed,
9226
+ "bg-success-default": Boolean(completed),
9227
+ "h-[2px]": !dense,
9228
+ "h-[3px]": Boolean(dense)
9229
+ }),
9230
+ className
9231
+ )
9232
+ })
9233
+ );
9359
9234
  };
9360
9235
  var Step = (_a) => {
9361
9236
  var _b = _a, { className, state } = _b, rest = __objRest(_b, ["className", "state"]);
9362
- return /* @__PURE__ */ React40.createElement("div", __spreadProps(__spreadValues({}, rest), {
9363
- className: classNames(
9364
- tw("flex flex-col items-center relative text-center", {
9365
- "text-intense": state !== "inactive",
9366
- "text-inactive": state === "inactive"
9367
- }),
9368
- className
9369
- )
9370
- }));
9237
+ return /* @__PURE__ */ React40.createElement(
9238
+ "div",
9239
+ __spreadProps(__spreadValues({}, rest), {
9240
+ className: classNames(
9241
+ tw("flex flex-col items-center relative text-center", {
9242
+ "text-intense": state !== "inactive",
9243
+ "text-inactive": state === "inactive"
9244
+ }),
9245
+ className
9246
+ )
9247
+ })
9248
+ );
9371
9249
  };
9372
9250
  var getClassNames = (state) => tw("h-[32px] w-[32px] border-2", {
9373
9251
  "border-intense": state === "active",
@@ -9381,15 +9259,17 @@ var getDenseClassNames = (state) => tw("h-[8px] w-[8px]", {
9381
9259
  });
9382
9260
  var Indicator = (_a) => {
9383
9261
  var _b = _a, { children, className, state, dense } = _b, rest = __objRest(_b, ["children", "className", "state", "dense"]);
9384
- return /* @__PURE__ */ React40.createElement("div", __spreadProps(__spreadValues({}, rest), {
9385
- className: classNames(
9386
- tw("rounded-full flex justify-center items-center mx-2 mb-3"),
9387
- dense ? getDenseClassNames(state) : getClassNames(state),
9388
- className
9389
- )
9390
- }), state === "completed" ? /* @__PURE__ */ React40.createElement(InlineIcon, {
9391
- icon: import_tick5.default
9392
- }) : dense ? null : children);
9262
+ return /* @__PURE__ */ React40.createElement(
9263
+ "div",
9264
+ __spreadProps(__spreadValues({}, rest), {
9265
+ className: classNames(
9266
+ tw("rounded-full flex justify-center items-center mx-2 mb-3"),
9267
+ dense ? getDenseClassNames(state) : getClassNames(state),
9268
+ className
9269
+ )
9270
+ }),
9271
+ state === "completed" ? /* @__PURE__ */ React40.createElement(InlineIcon, { icon: import_tick5.default }) : dense ? null : children
9272
+ );
9393
9273
  };
9394
9274
  Step.Indicator = Indicator;
9395
9275
  Stepper.Step = Step;
@@ -9402,40 +9282,41 @@ var import_ban2 = __toESM(require_ban());
9402
9282
  var Switch = React41.forwardRef(
9403
9283
  (_a, ref) => {
9404
9284
  var _b = _a, { id, children, name, disabled = false, readOnly = false } = _b, props = __objRest(_b, ["id", "children", "name", "disabled", "readOnly"]);
9405
- return /* @__PURE__ */ React41.createElement("span", {
9406
- className: tw("relative inline-flex justify-center items-center self-center group")
9407
- }, /* @__PURE__ */ React41.createElement("input", __spreadProps(__spreadValues({
9408
- id,
9409
- ref,
9410
- type: "checkbox",
9411
- name
9412
- }, props), {
9413
- className: classNames(
9414
- tw(
9415
- "appearance-none peer/switch rounded-full inline-block w-[34px] h-[20px] transition duration-300",
9416
- "outline-none focusable bg-intense",
9417
- "cursor-pointer disabled:cursor-not-allowed",
9285
+ return /* @__PURE__ */ React41.createElement("span", { className: tw("relative inline-flex justify-center items-center self-center group") }, /* @__PURE__ */ React41.createElement(
9286
+ "input",
9287
+ __spreadProps(__spreadValues({
9288
+ id,
9289
+ ref,
9290
+ type: "checkbox",
9291
+ name
9292
+ }, props), {
9293
+ className: classNames(
9294
+ tw(
9295
+ "appearance-none peer/switch rounded-full inline-block w-[34px] h-[20px] transition duration-300",
9296
+ "outline-none focusable bg-intense",
9297
+ "cursor-pointer disabled:cursor-not-allowed",
9298
+ {
9299
+ "hover:bg-intense checked:bg-primary-default hover:checked:bg-primary-intense": !disabled,
9300
+ "bg-default checked:opacity-50 checked:bg-primary-muted": disabled
9301
+ }
9302
+ )
9303
+ ),
9304
+ readOnly,
9305
+ disabled
9306
+ })
9307
+ ), /* @__PURE__ */ React41.createElement(
9308
+ "span",
9309
+ {
9310
+ className: tw(
9311
+ "pointer-events-none rounded-full absolute inline-flex justify-center items-center transition duration-300 h-4 w-4 transform peer-checked/switch:translate-x-5",
9312
+ "bg-white left-2 peer-checked/switch:left-1 text-inactive peer-checked/switch:text-primary-muted",
9418
9313
  {
9419
- "hover:bg-intense checked:bg-primary-default hover:checked:bg-primary-intense": !disabled,
9420
- "bg-default checked:opacity-50 checked:bg-primary-muted": disabled
9314
+ "shadow-4dp": !disabled
9421
9315
  }
9422
9316
  )
9423
- ),
9424
- readOnly,
9425
- disabled
9426
- })), /* @__PURE__ */ React41.createElement("span", {
9427
- className: tw(
9428
- "pointer-events-none rounded-full absolute inline-flex justify-center items-center transition duration-300 h-4 w-4 transform peer-checked/switch:translate-x-5",
9429
- "bg-white left-2 peer-checked/switch:left-1 text-inactive peer-checked/switch:text-primary-muted",
9430
- {
9431
- "shadow-4dp": !disabled
9432
- }
9433
- )
9434
- }, disabled && /* @__PURE__ */ React41.createElement(Icon, {
9435
- icon: import_ban2.default,
9436
- width: "10px",
9437
- height: "10px"
9438
- })));
9317
+ },
9318
+ disabled && /* @__PURE__ */ React41.createElement(Icon, { icon: import_ban2.default, width: "10px", height: "10px" })
9319
+ ));
9439
9320
  }
9440
9321
  );
9441
9322
  export {