@aivenio/aquarium 4.0.0 → 4.1.0

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
@@ -4996,7 +4996,7 @@ var Button2 = React3.forwardRef(
4996
4996
  dense,
4997
4997
  loading,
4998
4998
  className: UNSAFE_className,
4999
- "aria-label": ariaLabel ?? tooltip,
4999
+ "aria-label": kind === "icon" ? ariaLabel ?? tooltip : ariaLabel,
5000
5000
  ...props
5001
5001
  },
5002
5002
  /* @__PURE__ */ React3.createElement(LoadingSpinner, { dense: true, loading }, icon && iconPlacement === "left" && /* @__PURE__ */ React3.createElement(Icon, { icon, dense }), children, icon && iconPlacement === "right" && /* @__PURE__ */ React3.createElement(Icon, { icon, dense }))
@@ -10291,6 +10291,15 @@ var Dialog = (props) => {
10291
10291
 
10292
10292
  // src/atoms/DropdownMenu/DropdownMenu.tsx
10293
10293
  import React28 from "react";
10294
+ import {
10295
+ Collection as AriaCollection,
10296
+ composeRenderProps,
10297
+ Header as AriaHeader,
10298
+ Menu as AriaMenu,
10299
+ MenuItem as AriaMenuItem,
10300
+ MenuSection as AriaMenuSection
10301
+ } from "react-aria-components";
10302
+ import { tv as tv4 } from "tailwind-variants";
10294
10303
 
10295
10304
  // src/molecules/Badge/Badge.tsx
10296
10305
  import React27 from "react";
@@ -10423,80 +10432,232 @@ var ChipBadge = createBadge("chip", "ChipBadge");
10423
10432
 
10424
10433
  // src/atoms/DropdownMenu/DropdownMenu.tsx
10425
10434
  var import_tick3 = __toESM(require_tick());
10426
- var DropdownMenu = React28.forwardRef(
10427
- ({ minHeight, maxHeight = "100%", minWidth = "125px", maxWidth, className, children, ...props }, ref) => /* @__PURE__ */ React28.createElement(
10428
- "div",
10435
+ var dropdownMenuStyles = tv4({
10436
+ base: "bg-popover-content w-full flex flex-col overflow-x-hidden typography-small text-default"
10437
+ });
10438
+ var DropdownMenu = ({
10439
+ minHeight,
10440
+ maxHeight = "100%",
10441
+ minWidth = "125px",
10442
+ maxWidth,
10443
+ className,
10444
+ children,
10445
+ ...props
10446
+ }) => {
10447
+ return /* @__PURE__ */ React28.createElement(
10448
+ AriaMenu,
10429
10449
  {
10430
- ref,
10431
10450
  style: { minHeight, maxHeight, minWidth, maxWidth },
10432
- className: classNames(
10433
- className,
10434
- "Aquarium-DropdownMenu.Menu bg-popover-content w-full flex flex-col overflow-x-hidden typography-small text-default"
10435
- ),
10451
+ className: dropdownMenuStyles({ className: ["Aquarium-DropdownMenu", className] }),
10436
10452
  ...props
10437
10453
  },
10438
10454
  children
10439
- )
10440
- );
10455
+ );
10456
+ };
10441
10457
  var ContentContainer = ({ children }) => /* @__PURE__ */ React28.createElement("div", { className: tw("p-3 overflow-y-auto overflow-x-hidden") }, children);
10442
10458
  DropdownMenu.ContentContainer = ContentContainer;
10443
- var List = React28.forwardRef(
10444
- ({ children, className, ...props }, ref) => /* @__PURE__ */ React28.createElement("ul", { ref, className: classNames(className, "outline-none ring-0"), ...props }, children)
10445
- );
10446
- DropdownMenu.List = List;
10447
- var Group = React28.forwardRef(
10448
- ({ className, title, titleProps, children, ...props }, ref) => /* @__PURE__ */ React28.createElement("li", { ref, ...props }, title && /* @__PURE__ */ React28.createElement(
10449
- "div",
10450
- {
10451
- className: classNames(
10452
- className,
10453
- "Aquarium-DropdownMenu.Group p-3 text-inactive uppercase cursor-default typography-caption"
10454
- ),
10455
- ...titleProps
10456
- },
10457
- title
10458
- ), children)
10459
- );
10459
+ var dropdownMenuGroupStyles = tv4({
10460
+ slots: {
10461
+ base: [
10462
+ '[&:not(:first-child)]:before:content-[""] [&:not(:first-child)]:before:block',
10463
+ "[&:not(:first-child)]:before:h-[1px] [&:not(:first-child)]:before:bg-default [&:not(:first-child)]:before:m-3"
10464
+ ],
10465
+ title: "p-3 text-inactive uppercase cursor-default typography-caption"
10466
+ }
10467
+ });
10468
+ var Group = ({ className, title, titleProps, children, ...props }) => {
10469
+ const styles = dropdownMenuGroupStyles();
10470
+ return /* @__PURE__ */ React28.createElement(AriaMenuSection, { className: styles.base({ className: "Aquarium-DropdownMenu.Group" }), ...props }, title && /* @__PURE__ */ React28.createElement(AriaHeader, { className: styles.title(), ...titleProps }, title), /* @__PURE__ */ React28.createElement(AriaCollection, null, children));
10471
+ };
10460
10472
  DropdownMenu.Group = Group;
10461
- var Item2 = React28.forwardRef(
10462
- ({ kind, highlighted, selected, className, icon, showNotification = false, children, ...props }, ref) => /* @__PURE__ */ React28.createElement(
10463
- "li",
10473
+ var dropdownMenuItemStyles = tv4({
10474
+ base: "group flex items-center gap-x-3 p-3 outline-none cursor-pointer",
10475
+ variants: {
10476
+ isDisabled: {
10477
+ true: "text-inactive cursor-not-allowed"
10478
+ },
10479
+ isFocused: {
10480
+ true: "bg-muted"
10481
+ },
10482
+ kind: {
10483
+ action: "",
10484
+ danger: "",
10485
+ default: ""
10486
+ }
10487
+ },
10488
+ compoundVariants: [
10464
10489
  {
10465
- ref,
10466
- className: classNames(className, "Aquarium-DropdownMenu.Item flex items-center gap-x-3 p-3 outline-none", {
10467
- "cursor-pointer hover:bg-muted": !props.disabled,
10468
- "bg-muted": highlighted,
10469
- "text-primary-intense": kind === "action" && !props.disabled,
10470
- "text-danger-default": kind === "danger" && !props.disabled,
10471
- "text-inactive cursor-not-allowed": props.disabled
10472
- }),
10473
- ...props
10490
+ kind: "action",
10491
+ disabled: false,
10492
+ className: "text-primary-intense"
10474
10493
  },
10475
- icon && showNotification && /* @__PURE__ */ React28.createElement(Badge.Notification, null, /* @__PURE__ */ React28.createElement(InlineIcon2, { icon })),
10476
- icon && !showNotification && /* @__PURE__ */ React28.createElement(InlineIcon2, { icon }),
10477
- /* @__PURE__ */ React28.createElement("span", { className: tw("grow") }, children),
10478
- selected && /* @__PURE__ */ React28.createElement(InlineIcon2, { icon: import_tick3.default })
10479
- )
10494
+ {
10495
+ kind: "danger",
10496
+ disabled: false,
10497
+ className: "text-danger-default"
10498
+ }
10499
+ ]
10500
+ });
10501
+ var Item2 = ({
10502
+ kind = "default",
10503
+ className,
10504
+ icon,
10505
+ description,
10506
+ showNotification = false,
10507
+ disabled,
10508
+ ...props
10509
+ }) => /* @__PURE__ */ React28.createElement(
10510
+ AriaMenuItem,
10511
+ {
10512
+ className: (values) => dropdownMenuItemStyles({ ...values, kind, className: ["Aquarium-DropdownMenu.Item", className] }),
10513
+ isDisabled: disabled,
10514
+ ...props
10515
+ },
10516
+ composeRenderProps(props.children, (children, { selectionMode, isSelected, isDisabled }) => /* @__PURE__ */ React28.createElement(React28.Fragment, null, icon && showNotification && /* @__PURE__ */ React28.createElement(Badge.Notification, null, /* @__PURE__ */ React28.createElement(InlineIcon2, { icon })), icon && !showNotification && /* @__PURE__ */ React28.createElement(InlineIcon2, { icon }), /* @__PURE__ */ React28.createElement("span", { className: tw("grow") }, children, description && /* @__PURE__ */ React28.createElement(Typography2.Caption, { color: isDisabled ? "inactive" : "muted" }, description)), selectionMode !== "none" && isSelected && /* @__PURE__ */ React28.createElement(InlineIcon2, { icon: import_tick3.default })))
10480
10517
  );
10481
10518
  DropdownMenu.Item = Item2;
10482
- var Description = ({ disabled, children }) => /* @__PURE__ */ React28.createElement(Typography2.Caption, { color: disabled ? "inactive" : "muted" }, children);
10483
- DropdownMenu.Description = Description;
10484
- var Separator = ({ className, ...props }) => {
10485
- return /* @__PURE__ */ React28.createElement("li", { ...props, className: classNames(className, tw("m-3 block bg-default h-[1px]")) });
10486
- };
10487
- DropdownMenu.Separator = Separator;
10488
10519
  var EmptyStateContainer = ({ className, children, ...props }) => /* @__PURE__ */ React28.createElement("div", { className: classNames(tw("border border-dashed border-default p-3"), className), ...props }, children);
10489
10520
  DropdownMenu.EmptyStateContainer = EmptyStateContainer;
10490
10521
 
10522
+ // src/atoms/Filter/Filter.tsx
10523
+ import React29 from "react";
10524
+ import {
10525
+ Button as AriaButton,
10526
+ DatePickerStateContext as AriaDatePickerStateContext,
10527
+ DateRangePickerStateContext as AriaDateRangePickerStateContext,
10528
+ Group as AriaGroup
10529
+ } from "react-aria-components";
10530
+ import { tv as tv5 } from "tailwind-variants";
10531
+ var import_cross3 = __toESM(require_cross());
10532
+ var DATE_FORMAT_OPTIONS = {
10533
+ locale: "en-GB",
10534
+ options: { day: "numeric", month: "numeric", year: "numeric" }
10535
+ };
10536
+ var filterWrapper = tv5({
10537
+ base: "rounded-full inline-flex items-center pressed:border-info-default justify-between outline-0 outline-none border border-dashed border-default text-default bg-transparent",
10538
+ variants: {
10539
+ isHovered: {
10540
+ true: "hover:bg-muted"
10541
+ },
10542
+ isFocusWithin: {
10543
+ true: "border-solid border-info-default"
10544
+ },
10545
+ isInvalid: {
10546
+ true: "border-solid border-danger-default"
10547
+ },
10548
+ hasValue: {
10549
+ true: "border-solid"
10550
+ }
10551
+ }
10552
+ });
10553
+ var FilterTrigger = ({
10554
+ labelText,
10555
+ icon,
10556
+ badge,
10557
+ onClear,
10558
+ onClick,
10559
+ value,
10560
+ // children,
10561
+ error: error2 = false,
10562
+ ...props
10563
+ }) => {
10564
+ const ariaDatePickerState = React29.useContext(AriaDatePickerStateContext);
10565
+ const ariaDateRangePickerState = React29.useContext(AriaDateRangePickerStateContext);
10566
+ const isUsedInsideDatePicker = !!ariaDatePickerState?.value;
10567
+ const isUsedInsideDateRangePicker = !!ariaDateRangePickerState?.value.start && !!ariaDateRangePickerState.value.end;
10568
+ const onClearDatePickerRelated = () => {
10569
+ if (isUsedInsideDatePicker) {
10570
+ ariaDatePickerState.setValue(null);
10571
+ } else if (isUsedInsideDateRangePicker) {
10572
+ ariaDateRangePickerState.setValue(null);
10573
+ }
10574
+ };
10575
+ const hasValue = !!value || isUsedInsideDatePicker || isUsedInsideDateRangePicker;
10576
+ const showClearButton = !!onClear && !!value || isUsedInsideDatePicker || isUsedInsideDateRangePicker;
10577
+ return /* @__PURE__ */ React29.createElement(
10578
+ AriaGroup,
10579
+ {
10580
+ ...props,
10581
+ isInvalid: error2,
10582
+ className: (renderProps) => filterWrapper({ ...renderProps, hasValue: hasValue || !!badge })
10583
+ },
10584
+ /* @__PURE__ */ React29.createElement(React29.Fragment, null, /* @__PURE__ */ React29.createElement(
10585
+ AriaButton,
10586
+ {
10587
+ onPress: () => {
10588
+ onClick && onClick();
10589
+ },
10590
+ className: tw("outline-0 outline-none flex items-center py-3 cursor-pointer", {
10591
+ "pl-4 pr-[6px]": showClearButton,
10592
+ // keep padding right the same as padding left of <FilterClearButton>
10593
+ "px-4": !showClearButton
10594
+ })
10595
+ },
10596
+ /* @__PURE__ */ React29.createElement("div", { className: tw("flex items-center gap-3 divide-x divide-grey-20") }, /* @__PURE__ */ React29.createElement("div", { className: tw("flex items-center gap-3") }, /* @__PURE__ */ React29.createElement("div", { className: tw("flex items-center gap-2") }, /* @__PURE__ */ React29.createElement(InlineIcon2, { icon }), /* @__PURE__ */ React29.createElement(Typography2.Small, null, labelText)), badge && /* @__PURE__ */ React29.createElement(Typography2, { color: "primary-active", className: tw("flex items-center") }, /* @__PURE__ */ React29.createElement(Badge, { dense: true, value: badge }))), hasValue && /* @__PURE__ */ React29.createElement("div", { className: "pl-3" }, /* @__PURE__ */ React29.createElement(
10597
+ Typography2.Small,
10598
+ {
10599
+ className: tw("truncate max-w-[233px]"),
10600
+ color: error2 ? "danger-intense" : "primary-active"
10601
+ },
10602
+ value,
10603
+ isUsedInsideDatePicker && /* @__PURE__ */ React29.createElement(DateDisplay, { state: ariaDatePickerState }),
10604
+ isUsedInsideDateRangePicker && /* @__PURE__ */ React29.createElement(DateDisplay, { state: ariaDateRangePickerState })
10605
+ )))
10606
+ ), showClearButton && /* @__PURE__ */ React29.createElement(
10607
+ FilterClearButton,
10608
+ {
10609
+ onClear: () => {
10610
+ onClearDatePickerRelated();
10611
+ onClear?.();
10612
+ }
10613
+ }
10614
+ ))
10615
+ );
10616
+ };
10617
+ var isDateRangePickerState = (state) => {
10618
+ return "value" in state && state.value !== null && "start" in state.value;
10619
+ };
10620
+ var DateDisplay = ({ state }) => {
10621
+ const primary = isDateRangePickerState(state) ? state.formatValue(DATE_FORMAT_OPTIONS.locale, DATE_FORMAT_OPTIONS.options)?.start : state.formatValue(DATE_FORMAT_OPTIONS.locale, DATE_FORMAT_OPTIONS.options);
10622
+ const secondary = isDateRangePickerState(state) ? state.formatValue(DATE_FORMAT_OPTIONS.locale, DATE_FORMAT_OPTIONS.options)?.end : void 0;
10623
+ return /* @__PURE__ */ React29.createElement(Box.Flex, { gap: "2" }, /* @__PURE__ */ React29.createElement("span", null, primary), secondary && /* @__PURE__ */ React29.createElement(React29.Fragment, null, /* @__PURE__ */ React29.createElement("span", { "aria-hidden": true, className: tw("text-muted") }, "-"), /* @__PURE__ */ React29.createElement("span", null, secondary)));
10624
+ };
10625
+ var FilterClearButton = ({ onClear }) => (
10626
+ // using a native HTML <button> here instead of <Button slot={null} /> from react-aria because react-aria <DialogTrigger> doesn't support it as a child. If we used <Button slot={null}>, the popover would open simultaneously with the clear callback, which is unintended behavior. Interestingly, this issue doesn't occur in react-aria's <DatePicker>, but for consistency and to avoid conflicts here, we're sticking with a plain button.
10627
+ /* @__PURE__ */ React29.createElement(
10628
+ "button",
10629
+ {
10630
+ "aria-label": "Clear filter",
10631
+ onClick: (e) => {
10632
+ e.preventDefault();
10633
+ e.stopPropagation();
10634
+ const previousButton = e.currentTarget.previousElementSibling;
10635
+ if (previousButton instanceof HTMLElement) {
10636
+ previousButton.focus();
10637
+ }
10638
+ onClear();
10639
+ },
10640
+ className: tw(
10641
+ "py-[10px] pl-[6px] pr-4 inline-flex items-center hover:bg-default focus:bg-default outline-0 outline-none rounded-r-full"
10642
+ // keep padding left the same as padding right of its button sibling.
10643
+ )
10644
+ },
10645
+ /* @__PURE__ */ React29.createElement(InlineIcon2, { icon: import_cross3.default })
10646
+ )
10647
+ );
10648
+ var Filter = () => null;
10649
+ FilterTrigger.displayName = "Filter.Trigger";
10650
+ Filter.Trigger = FilterTrigger;
10651
+
10491
10652
  // src/atoms/InputGroup/InputGroup.tsx
10492
- import React31 from "react";
10653
+ import React32 from "react";
10493
10654
 
10494
10655
  // src/molecules/Grid/Grid.tsx
10495
- import React30 from "react";
10656
+ import React31 from "react";
10496
10657
  import { isEmpty, mapValues, pick } from "lodash-es";
10497
10658
 
10498
10659
  // src/molecules/Tailwindify/Tailwindify.tsx
10499
- import React29 from "react";
10660
+ import React30 from "react";
10500
10661
  import { get as get2, isUndefined as isUndefined7 } from "lodash-es";
10501
10662
  function Tailwindify(Component) {
10502
10663
  return ({
@@ -10557,8 +10718,8 @@ function Tailwindify(Component) {
10557
10718
  ...otherProps,
10558
10719
  style: finalStyle
10559
10720
  };
10560
- const childrenWithProps = React29.Children.map(children, (child, index) => {
10561
- if (!React29.isValidElement(child)) {
10721
+ const childrenWithProps = React30.Children.map(children, (child, index) => {
10722
+ if (!React30.isValidElement(child)) {
10562
10723
  return child;
10563
10724
  }
10564
10725
  const isLastChild = index === children.length - 1;
@@ -10579,9 +10740,9 @@ function Tailwindify(Component) {
10579
10740
  }
10580
10741
  const childStyle = get2(child, ["props", "style"], {});
10581
10742
  const newProps = { ...childProps, style: { ...childStyle, ...additionalStyle } };
10582
- return React29.cloneElement(child, newProps);
10743
+ return React30.cloneElement(child, newProps);
10583
10744
  });
10584
- return /* @__PURE__ */ React29.createElement(Component, { className, ...componentProps }, childrenWithProps);
10745
+ return /* @__PURE__ */ React30.createElement(Component, { className, ...componentProps }, childrenWithProps);
10585
10746
  };
10586
10747
  }
10587
10748
 
@@ -10620,7 +10781,7 @@ var GridItem = Tailwindify(
10620
10781
  gridRowEnd: rowEnd
10621
10782
  });
10622
10783
  const HtmlElement = htmlTag;
10623
- return /* @__PURE__ */ React30.createElement(
10784
+ return /* @__PURE__ */ React31.createElement(
10624
10785
  HtmlElement,
10625
10786
  {
10626
10787
  style: { ...hookStyle, ...style },
@@ -10632,7 +10793,7 @@ var GridItem = Tailwindify(
10632
10793
  }
10633
10794
  );
10634
10795
  var Grid = (props) => {
10635
- return /* @__PURE__ */ React30.createElement(GridComponent, { ...props });
10796
+ return /* @__PURE__ */ React31.createElement(GridComponent, { ...props });
10636
10797
  };
10637
10798
  var GridComponent = Tailwindify(
10638
10799
  ({
@@ -10687,7 +10848,7 @@ var GridComponent = Tailwindify(
10687
10848
  gridRowEnd: rowEnd
10688
10849
  });
10689
10850
  const HtmlElement = htmlTag;
10690
- return /* @__PURE__ */ React30.createElement(
10851
+ return /* @__PURE__ */ React31.createElement(
10691
10852
  HtmlElement,
10692
10853
  {
10693
10854
  style: { ...hookStyle, ...style },
@@ -10710,7 +10871,7 @@ var gridColumnStyles = {
10710
10871
  "auto": "auto-cols-fr"
10711
10872
  };
10712
10873
  var InputGroup = ({ cols = "1", children, ...rest }) => {
10713
- return /* @__PURE__ */ React31.createElement(
10874
+ return /* @__PURE__ */ React32.createElement(
10714
10875
  Grid,
10715
10876
  {
10716
10877
  ...rest,
@@ -10725,9 +10886,9 @@ var InputGroup = ({ cols = "1", children, ...rest }) => {
10725
10886
  };
10726
10887
 
10727
10888
  // src/atoms/Link/Link.tsx
10728
- import React32 from "react";
10729
- import { tv as tv4 } from "tailwind-variants";
10730
- var linkStyle = tv4({
10889
+ import React33 from "react";
10890
+ import { tv as tv6 } from "tailwind-variants";
10891
+ var linkStyle = tv6({
10731
10892
  extend: interactiveTextStyles,
10732
10893
  base: ["no-underline hover:underline inline-flex gap-3 items-center", focusRingStyle()]
10733
10894
  });
@@ -10737,13 +10898,13 @@ var LinkButton = ({
10737
10898
  kind = "primary",
10738
10899
  dense,
10739
10900
  ...props
10740
- }) => /* @__PURE__ */ React32.createElement("a", { className: classNames(className, buttonClasses({ kind, dense })), ...props }, children);
10741
- var Link = ({ children, className, ...props }) => /* @__PURE__ */ React32.createElement("a", { className: classNames(className, linkStyle()), ...props }, children);
10901
+ }) => /* @__PURE__ */ React33.createElement("a", { className: classNames(className, buttonClasses({ kind, dense })), ...props }, children);
10902
+ var Link = ({ children, className, ...props }) => /* @__PURE__ */ React33.createElement("a", { className: classNames(className, linkStyle()), ...props }, children);
10742
10903
 
10743
10904
  // src/atoms/Modal/Modal.tsx
10744
- import React33 from "react";
10745
- import { tv as tv5 } from "tailwind-variants";
10746
- var modalStyles = tv5({
10905
+ import React34 from "react";
10906
+ import { tv as tv7 } from "tailwind-variants";
10907
+ var modalStyles = tv7({
10747
10908
  slots: {
10748
10909
  overlay: "inset-0 overflow-y-auto z-modal fixed",
10749
10910
  backdrop: "-z-10 fixed min-w-full min-h-full bg-body-intense opacity-70",
@@ -10846,67 +11007,67 @@ var Modal = ({
10846
11007
  ...rest
10847
11008
  }) => {
10848
11009
  const { overlay } = modalStyles({ kind });
10849
- return open ? /* @__PURE__ */ React33.createElement("div", { ...rest, className: overlay({ className }) }, children) : null;
11010
+ return open ? /* @__PURE__ */ React34.createElement("div", { ...rest, className: overlay({ className }) }, children) : null;
10850
11011
  };
10851
11012
  Modal.BackDrop = ({ className, ...rest }) => {
10852
11013
  const { backdrop } = modalStyles();
10853
- return /* @__PURE__ */ React33.createElement("div", { ...rest, className: backdrop({ className }) });
11014
+ return /* @__PURE__ */ React34.createElement("div", { ...rest, className: backdrop({ className }) });
10854
11015
  };
10855
- Modal.Dialog = React33.forwardRef(
11016
+ Modal.Dialog = React34.forwardRef(
10856
11017
  ({ kind = "dialog", children, className, size = "md", ...rest }, ref) => {
10857
11018
  const { dialog } = modalStyles({ kind, size });
10858
- return /* @__PURE__ */ React33.createElement("div", { ref, "aria-modal": "true", ...rest, className: dialog({ className }) }, children);
11019
+ return /* @__PURE__ */ React34.createElement("div", { ref, "aria-modal": "true", ...rest, className: dialog({ className }) }, children);
10859
11020
  }
10860
11021
  );
10861
11022
  Modal.Header = ({ kind = "dialog", size = "md", children, className, ...rest }) => {
10862
11023
  const { header } = modalStyles({ kind, size });
10863
- return /* @__PURE__ */ React33.createElement("div", { ...rest, className: header({ className }) }, children);
11024
+ return /* @__PURE__ */ React34.createElement("div", { ...rest, className: header({ className }) }, children);
10864
11025
  };
10865
11026
  Modal.HeaderImage = ({ backgroundImage, className, ...rest }) => {
10866
11027
  const { headerImage } = modalStyles({ backgroundImage: Boolean(backgroundImage) });
10867
- return backgroundImage ? /* @__PURE__ */ React33.createElement("img", { "aria-hidden": true, src: backgroundImage, ...rest, className: headerImage({ className }) }) : /* @__PURE__ */ React33.createElement("div", { className: headerImage({ className }) });
11028
+ return backgroundImage ? /* @__PURE__ */ React34.createElement("img", { "aria-hidden": true, src: backgroundImage, ...rest, className: headerImage({ className }) }) : /* @__PURE__ */ React34.createElement("div", { className: headerImage({ className }) });
10868
11029
  };
10869
11030
  Modal.CloseButtonContainer = ({ className, ...rest }) => {
10870
11031
  const { closeButtonContainer } = modalStyles();
10871
- return /* @__PURE__ */ React33.createElement("div", { ...rest, className: closeButtonContainer({ className }) });
11032
+ return /* @__PURE__ */ React34.createElement("div", { ...rest, className: closeButtonContainer({ className }) });
10872
11033
  };
10873
11034
  Modal.Title = ({ kind = "dialog", children, className, ...rest }) => {
10874
11035
  const { title } = modalStyles({ kind });
10875
- return /* @__PURE__ */ React33.createElement(Typography, { htmlTag: "h2", variant: "subheading", color: "intense", className: title({ className }), ...rest }, children);
11036
+ return /* @__PURE__ */ React34.createElement(Typography, { htmlTag: "h2", variant: "subheading", color: "intense", className: title({ className }), ...rest }, children);
10876
11037
  };
10877
- Modal.Subtitle = ({ children, ...rest }) => /* @__PURE__ */ React33.createElement(Typography, { variant: "small", color: "default", ...rest }, children);
11038
+ Modal.Subtitle = ({ children, ...rest }) => /* @__PURE__ */ React34.createElement(Typography, { variant: "small", color: "default", ...rest }, children);
10878
11039
  Modal.TitleContainer = ({ children, className, ...rest }) => {
10879
11040
  const { titleContainer } = modalStyles();
10880
- return /* @__PURE__ */ React33.createElement("div", { ...rest, className: titleContainer({ className }) }, children);
11041
+ return /* @__PURE__ */ React34.createElement("div", { ...rest, className: titleContainer({ className }) }, children);
10881
11042
  };
10882
11043
  Modal.Body = ({ children, className, noFooter = false, maxHeight, style, ...rest }) => {
10883
11044
  const { body } = modalStyles();
10884
- return /* @__PURE__ */ React33.createElement("div", { ...rest, className: body({ noFooter, className }), style: { maxHeight, ...style } }, children);
11045
+ return /* @__PURE__ */ React34.createElement("div", { ...rest, className: body({ noFooter, className }), style: { maxHeight, ...style } }, children);
10885
11046
  };
10886
11047
  Modal.Footer = ({ children, className, ...rest }) => {
10887
11048
  const { footer } = modalStyles();
10888
- return /* @__PURE__ */ React33.createElement("div", { ...rest, className: footer({ className }) }, children);
11049
+ return /* @__PURE__ */ React34.createElement("div", { ...rest, className: footer({ className }) }, children);
10889
11050
  };
10890
11051
  Modal.Actions = ({ children, className, ...rest }) => {
10891
11052
  const { actions } = modalStyles();
10892
- return /* @__PURE__ */ React33.createElement("div", { ...rest, className: actions({ className }) }, children);
11053
+ return /* @__PURE__ */ React34.createElement("div", { ...rest, className: actions({ className }) }, children);
10893
11054
  };
10894
11055
 
10895
11056
  // src/atoms/Navigation/Navigation.tsx
10896
- import React34 from "react";
11057
+ import React35 from "react";
10897
11058
  var Navigation = ({
10898
11059
  className,
10899
11060
  children,
10900
11061
  "aria-label": ariaLabel,
10901
11062
  ...rest
10902
- }) => /* @__PURE__ */ React34.createElement("nav", { className: classNames(tw("bg-muted h-full")), "aria-label": ariaLabel }, /* @__PURE__ */ React34.createElement("ul", { ...rest, className: classNames(tw("flex flex-col h-full"), className), role: "menubar" }, children));
10903
- var Header = ({ className, ...rest }) => /* @__PURE__ */ React34.createElement("li", { ...rest, role: "presentation", className: classNames(tw("px-6 py-5"), className) });
10904
- var Title2 = ({ className, ...props }) => /* @__PURE__ */ React34.createElement(Typography, { variant: "caption", className: classNames("uppercase text-muted", className), ...props });
10905
- var Subtitle = ({ className, ...props }) => /* @__PURE__ */ React34.createElement(Typography, { variant: "small-strong", className: classNames("text-intense", className), ...props });
10906
- var Footer = ({ className, ...rest }) => /* @__PURE__ */ React34.createElement("li", { ...rest, role: "presentation", className: classNames(tw("px-6 py-5 mt-auto"), className) });
10907
- var Section = ({ title, className, ...rest }) => /* @__PURE__ */ React34.createElement("li", { role: "presentation", className: tw("py-5") }, title && /* @__PURE__ */ React34.createElement("div", { className: classNames(className, "py-2 px-6 text-inactive uppercase cursor-default typography-caption") }, title), /* @__PURE__ */ React34.createElement("ul", { ...rest, role: "group", className: classNames(tw("flex flex-col"), className) }));
10908
- var Divider = ({ className, ...rest }) => /* @__PURE__ */ React34.createElement("li", { "aria-hidden": true, ...rest, className: classNames(tw("border-t-2 border-muted"), className) });
10909
- var Item3 = ({ className, active, ...rest }) => /* @__PURE__ */ React34.createElement("li", { role: "presentation" }, /* @__PURE__ */ React34.createElement(
11063
+ }) => /* @__PURE__ */ React35.createElement("nav", { className: classNames(tw("bg-muted h-full")), "aria-label": ariaLabel }, /* @__PURE__ */ React35.createElement("ul", { ...rest, className: classNames(tw("flex flex-col h-full"), className), role: "menubar" }, children));
11064
+ var Header = ({ className, ...rest }) => /* @__PURE__ */ React35.createElement("li", { ...rest, role: "presentation", className: classNames(tw("px-6 py-5"), className) });
11065
+ var Title2 = ({ className, ...props }) => /* @__PURE__ */ React35.createElement(Typography, { variant: "caption", className: classNames("uppercase text-muted", className), ...props });
11066
+ var Subtitle = ({ className, ...props }) => /* @__PURE__ */ React35.createElement(Typography, { variant: "small-strong", className: classNames("text-intense", className), ...props });
11067
+ var Footer = ({ className, ...rest }) => /* @__PURE__ */ React35.createElement("li", { ...rest, role: "presentation", className: classNames(tw("px-6 py-5 mt-auto"), className) });
11068
+ var Section = ({ title, className, ...rest }) => /* @__PURE__ */ React35.createElement("li", { role: "presentation", className: tw("py-5") }, title && /* @__PURE__ */ React35.createElement("div", { className: classNames(className, "py-2 px-6 text-inactive uppercase cursor-default typography-caption") }, title), /* @__PURE__ */ React35.createElement("ul", { ...rest, role: "group", className: classNames(tw("flex flex-col"), className) }));
11069
+ var Divider = ({ className, ...rest }) => /* @__PURE__ */ React35.createElement("li", { "aria-hidden": true, ...rest, className: classNames(tw("border-t-2 border-muted"), className) });
11070
+ var Item3 = ({ className, active, ...rest }) => /* @__PURE__ */ React35.createElement("li", { role: "presentation" }, /* @__PURE__ */ React35.createElement(
10910
11071
  "a",
10911
11072
  {
10912
11073
  ...rest,
@@ -10926,7 +11087,7 @@ var Submenu = ({
10926
11087
  title,
10927
11088
  id,
10928
11089
  ...rest
10929
- }) => /* @__PURE__ */ React34.createElement("li", { role: "presentation" }, /* @__PURE__ */ React34.createElement(
11090
+ }) => /* @__PURE__ */ React35.createElement("li", { role: "presentation" }, /* @__PURE__ */ React35.createElement(
10930
11091
  "a",
10931
11092
  {
10932
11093
  role: "menuitem",
@@ -10940,8 +11101,8 @@ var Submenu = ({
10940
11101
  ...rest
10941
11102
  },
10942
11103
  title
10943
- ), /* @__PURE__ */ React34.createElement("ul", { role: "menu", className: classNames(tw("flex flex-col")), "aria-labelledby": id }, children));
10944
- var SubmenuItem = ({ className, active, ...rest }) => /* @__PURE__ */ React34.createElement(Navigation.Item, { ...rest, active, className: classNames(className, tw("pl-[56px]")) });
11104
+ ), /* @__PURE__ */ React35.createElement("ul", { role: "menu", className: classNames(tw("flex flex-col")), "aria-labelledby": id }, children));
11105
+ var SubmenuItem = ({ className, active, ...rest }) => /* @__PURE__ */ React35.createElement(Navigation.Item, { ...rest, active, className: classNames(className, tw("pl-[56px]")) });
10945
11106
  Header.Title = Title2;
10946
11107
  Header.Subtitle = Subtitle;
10947
11108
  Submenu.Item = SubmenuItem;
@@ -10953,11 +11114,11 @@ Navigation.Submenu = Submenu;
10953
11114
  Navigation.Divider = Divider;
10954
11115
 
10955
11116
  // src/atoms/PageHeader/PageHeader.tsx
10956
- import React35 from "react";
10957
- var PageHeader = ({ children, className, ...rest }) => /* @__PURE__ */ React35.createElement("div", { className: classNames(tw("flex flex-row gap-4 pb-6"), className), ...rest }, children);
10958
- PageHeader.Container = ({ children, className, ...rest }) => /* @__PURE__ */ React35.createElement("div", { className: classNames(tw("flex flex-col grow gap-0"), className), ...rest }, children);
10959
- PageHeader.TitleContainer = ({ children, className, ...rest }) => /* @__PURE__ */ React35.createElement("div", { className: classNames(tw("flex flex-col justify-center gap-2"), className), ...rest }, children);
10960
- PageHeader.Title = ({ isSubHeader = false, children, ...rest }) => /* @__PURE__ */ React35.createElement(
11117
+ import React36 from "react";
11118
+ var PageHeader = ({ children, className, ...rest }) => /* @__PURE__ */ React36.createElement("div", { className: classNames(tw("flex flex-row gap-4 pb-6"), className), ...rest }, children);
11119
+ PageHeader.Container = ({ children, className, ...rest }) => /* @__PURE__ */ React36.createElement("div", { className: classNames(tw("flex flex-col grow gap-0"), className), ...rest }, children);
11120
+ PageHeader.TitleContainer = ({ children, className, ...rest }) => /* @__PURE__ */ React36.createElement("div", { className: classNames(tw("flex flex-col justify-center gap-2"), className), ...rest }, children);
11121
+ PageHeader.Title = ({ isSubHeader = false, children, ...rest }) => /* @__PURE__ */ React36.createElement(
10961
11122
  Typography2,
10962
11123
  {
10963
11124
  ...rest,
@@ -10967,32 +11128,32 @@ PageHeader.Title = ({ isSubHeader = false, children, ...rest }) => /* @__PURE__
10967
11128
  },
10968
11129
  children
10969
11130
  );
10970
- PageHeader.Subtitle = ({ children, ...rest }) => /* @__PURE__ */ React35.createElement(Typography2.Small, { ...rest, color: "default" }, children);
10971
- PageHeader.Chips = ({ children, className, ...rest }) => /* @__PURE__ */ React35.createElement("div", { className: classNames(tw("flex gap-3"), className), ...rest }, children);
10972
- PageHeader.Actions = ({ children, className, ...rest }) => /* @__PURE__ */ React35.createElement("div", { className: classNames(tw("flex flex-row gap-4 self-start"), className), ...rest }, children);
11131
+ PageHeader.Subtitle = ({ children, ...rest }) => /* @__PURE__ */ React36.createElement(Typography2.Small, { ...rest, color: "default" }, children);
11132
+ PageHeader.Chips = ({ children, className, ...rest }) => /* @__PURE__ */ React36.createElement("div", { className: classNames(tw("flex gap-3"), className), ...rest }, children);
11133
+ PageHeader.Actions = ({ children, className, ...rest }) => /* @__PURE__ */ React36.createElement("div", { className: classNames(tw("flex flex-row gap-4 self-start"), className), ...rest }, children);
10973
11134
 
10974
11135
  // src/atoms/Popover/Popover.tsx
10975
- import React36 from "react";
11136
+ import React37 from "react";
10976
11137
  import {
10977
- composeRenderProps,
11138
+ composeRenderProps as composeRenderProps2,
10978
11139
  OverlayArrow,
10979
11140
  Popover as AriaPopover
10980
11141
  } from "react-aria-components";
10981
- import { tv as tv6 } from "tailwind-variants";
10982
- var popoverStyles = tv6({
11142
+ import { tv as tv8 } from "tailwind-variants";
11143
+ var popoverStyles = tv8({
10983
11144
  base: "rounded-sm shadow-16dp bg-popover-content mt-1 overflow-y-auto flex flex-col border border-default outline-none"
10984
11145
  });
10985
- var Popover = React36.forwardRef(
11146
+ var Popover = React37.forwardRef(
10986
11147
  ({ children, offset = 0, className, placement: _placement = "bottom-left", ...props }, ref) => {
10987
11148
  const placement = _placement.replace("-", " ");
10988
- return /* @__PURE__ */ React36.createElement(
11149
+ return /* @__PURE__ */ React37.createElement(
10989
11150
  AriaPopover,
10990
11151
  {
10991
11152
  ref,
10992
11153
  offset,
10993
11154
  placement,
10994
11155
  ...props,
10995
- className: composeRenderProps(
11156
+ className: composeRenderProps2(
10996
11157
  className,
10997
11158
  (className2, renderProps) => popoverStyles({ ...renderProps, className: className2 })
10998
11159
  )
@@ -11001,7 +11162,7 @@ var Popover = React36.forwardRef(
11001
11162
  );
11002
11163
  }
11003
11164
  );
11004
- var PopoverArrow = () => /* @__PURE__ */ React36.createElement(OverlayArrow, { className: "group" }, /* @__PURE__ */ React36.createElement(
11165
+ var PopoverArrow = () => /* @__PURE__ */ React37.createElement(OverlayArrow, { className: "group" }, /* @__PURE__ */ React37.createElement(
11005
11166
  "svg",
11006
11167
  {
11007
11168
  width: 12,
@@ -11009,18 +11170,18 @@ var PopoverArrow = () => /* @__PURE__ */ React36.createElement(OverlayArrow, { c
11009
11170
  viewBox: "0 0 12 12",
11010
11171
  className: "block fill-white stroke-1 stroke-black group-placement-bottom:rotate-180 group-placement-left:-rotate-90 group-placement-right:rotate-90"
11011
11172
  },
11012
- /* @__PURE__ */ React36.createElement("path", { d: "M0 0 L6 6 L12 0" })
11173
+ /* @__PURE__ */ React37.createElement("path", { d: "M0 0 L6 6 L12 0" })
11013
11174
  ));
11014
11175
  PopoverArrow.displayName = "Popover.Arrow";
11015
11176
  Popover.Arrow = PopoverArrow;
11016
11177
 
11017
11178
  // src/atoms/PopoverDialog/PopoverDialog.tsx
11018
- import React37 from "react";
11019
- var Header2 = ({ children, className, ...rest }) => /* @__PURE__ */ React37.createElement("div", { ...rest, className: classNames(tw("p-5 gap-3 flex items-center"), className) }, children);
11020
- var Title3 = ({ children, className, ...rest }) => /* @__PURE__ */ React37.createElement(Typography, { ...rest, htmlTag: "h1", variant: "small-strong" }, children);
11021
- var Body = ({ children, className, ...rest }) => /* @__PURE__ */ React37.createElement(Typography, { ...rest, htmlTag: "div", variant: "caption", className: classNames(tw("px-5 overflow-y-auto"), className) }, children);
11022
- var Footer2 = ({ children, className, ...rest }) => /* @__PURE__ */ React37.createElement("div", { ...rest, className: classNames(tw("p-5"), className) }, children);
11023
- var Actions2 = ({ children, className, ...rest }) => /* @__PURE__ */ React37.createElement("div", { ...rest, className: classNames(tw("flex gap-4"), className) }, children);
11179
+ import React38 from "react";
11180
+ var Header2 = ({ children, className, ...rest }) => /* @__PURE__ */ React38.createElement("div", { ...rest, className: classNames(tw("p-5 gap-3 flex items-center"), className) }, children);
11181
+ var Title3 = ({ children, className, ...rest }) => /* @__PURE__ */ React38.createElement(Typography, { ...rest, htmlTag: "h1", variant: "small-strong" }, children);
11182
+ var Body = ({ children, className, ...rest }) => /* @__PURE__ */ React38.createElement(Typography, { ...rest, htmlTag: "div", variant: "caption", className: classNames(tw("px-5 overflow-y-auto"), className) }, children);
11183
+ var Footer2 = ({ children, className, ...rest }) => /* @__PURE__ */ React38.createElement("div", { ...rest, className: classNames(tw("p-5"), className) }, children);
11184
+ var Actions2 = ({ children, className, ...rest }) => /* @__PURE__ */ React38.createElement("div", { ...rest, className: classNames(tw("flex gap-4"), className) }, children);
11024
11185
  var PopoverDialog = {
11025
11186
  Header: Header2,
11026
11187
  Title: Title3,
@@ -11030,9 +11191,9 @@ var PopoverDialog = {
11030
11191
  };
11031
11192
 
11032
11193
  // src/atoms/ProgressBar/ProgressBar.tsx
11033
- import React38 from "react";
11194
+ import React39 from "react";
11034
11195
  import { clamp } from "lodash-es";
11035
- var ProgressBar = ({ children, className, ...rest }) => /* @__PURE__ */ React38.createElement(
11196
+ var ProgressBar = ({ children, className, ...rest }) => /* @__PURE__ */ React39.createElement(
11036
11197
  "div",
11037
11198
  {
11038
11199
  ...rest,
@@ -11048,7 +11209,7 @@ var STATUS_COLORS = {
11048
11209
  };
11049
11210
  ProgressBar.Indicator = ({ min, max, value, "aria-label": ariaLabel, status, className, ...rest }) => {
11050
11211
  const completedPercentage = clamp((value - min) / (max - min) * 100, 0, 100);
11051
- return /* @__PURE__ */ React38.createElement(
11212
+ return /* @__PURE__ */ React39.createElement(
11052
11213
  "div",
11053
11214
  {
11054
11215
  ...rest,
@@ -11066,17 +11227,17 @@ ProgressBar.Indicator = ({ min, max, value, "aria-label": ariaLabel, status, cla
11066
11227
  }
11067
11228
  );
11068
11229
  };
11069
- ProgressBar.Labels = ({ children, startLabel, endLabel, className, ...rest }) => /* @__PURE__ */ React38.createElement("div", { className: classNames(tw("flex flex-row"), className) }, /* @__PURE__ */ React38.createElement("span", { ...rest, className: tw("grow text-default typography-caption") }, startLabel), /* @__PURE__ */ React38.createElement("span", { ...rest, className: tw("grow text-default typography-caption text-right") }, endLabel));
11230
+ ProgressBar.Labels = ({ children, startLabel, endLabel, className, ...rest }) => /* @__PURE__ */ React39.createElement("div", { className: classNames(tw("flex flex-row"), className) }, /* @__PURE__ */ React39.createElement("span", { ...rest, className: tw("grow text-default typography-caption") }, startLabel), /* @__PURE__ */ React39.createElement("span", { ...rest, className: tw("grow text-default typography-caption text-right") }, endLabel));
11070
11231
 
11071
11232
  // src/atoms/Section/Section.tsx
11072
- import React39 from "react";
11233
+ import React40 from "react";
11073
11234
  var import_caretUp2 = __toESM(require_caretUp());
11074
11235
  var Section2 = ({
11075
11236
  children,
11076
11237
  className,
11077
11238
  ...rest
11078
- }) => /* @__PURE__ */ React39.createElement(Box, { component: "section", ...rest, className: classNames(tw("border border-muted"), className) }, children);
11079
- Section2.Header = ({ children, className, expanded, ...rest }) => /* @__PURE__ */ React39.createElement(
11239
+ }) => /* @__PURE__ */ React40.createElement(Box, { component: "section", ...rest, className: classNames(tw("border border-muted"), className) }, children);
11240
+ Section2.Header = ({ children, className, expanded, ...rest }) => /* @__PURE__ */ React40.createElement(
11080
11241
  "div",
11081
11242
  {
11082
11243
  ...rest,
@@ -11089,8 +11250,8 @@ Section2.Header = ({ children, className, expanded, ...rest }) => /* @__PURE__ *
11089
11250
  },
11090
11251
  children
11091
11252
  );
11092
- Section2.TitleContainer = React39.forwardRef(
11093
- ({ children, className, collapsible, ...rest }, ref) => /* @__PURE__ */ React39.createElement(
11253
+ Section2.TitleContainer = React40.forwardRef(
11254
+ ({ children, className, collapsible, ...rest }, ref) => /* @__PURE__ */ React40.createElement(
11094
11255
  "div",
11095
11256
  {
11096
11257
  ...rest,
@@ -11105,14 +11266,14 @@ Section2.TitleContainer = React39.forwardRef(
11105
11266
  children
11106
11267
  )
11107
11268
  );
11108
- Section2.Toggle = (props) => /* @__PURE__ */ React39.createElement(Icon2, { ...props, icon: import_caretUp2.default, height: 22, width: 22 });
11109
- Section2.Title = ({ children, ...rest }) => /* @__PURE__ */ React39.createElement(Typography2.Large, { ...rest, htmlTag: "h2", color: "intense", className: "flex gap-3 items-center" }, children);
11110
- Section2.Subtitle = ({ children, ...rest }) => /* @__PURE__ */ React39.createElement(Typography2.Small, { ...rest, color: "default" }, children);
11111
- Section2.Actions = ({ children, className, ...rest }) => /* @__PURE__ */ React39.createElement("div", { ...rest, className: classNames(tw("flex gap-4 justify-end"), className) }, children);
11112
- Section2.Body = ({ children, className, ...rest }) => /* @__PURE__ */ React39.createElement("div", { ...rest, className: classNames(tw("p-6"), className) }, /* @__PURE__ */ React39.createElement(Typography, { htmlTag: "div", color: "default" }, children));
11269
+ Section2.Toggle = (props) => /* @__PURE__ */ React40.createElement(Icon2, { ...props, icon: import_caretUp2.default, height: 22, width: 22 });
11270
+ Section2.Title = ({ children, ...rest }) => /* @__PURE__ */ React40.createElement(Typography2.Large, { ...rest, htmlTag: "h2", color: "intense", className: "flex gap-3 items-center" }, children);
11271
+ Section2.Subtitle = ({ children, ...rest }) => /* @__PURE__ */ React40.createElement(Typography2.Small, { ...rest, color: "default" }, children);
11272
+ Section2.Actions = ({ children, className, ...rest }) => /* @__PURE__ */ React40.createElement("div", { ...rest, className: classNames(tw("flex gap-4 justify-end"), className) }, children);
11273
+ Section2.Body = ({ children, className, ...rest }) => /* @__PURE__ */ React40.createElement("div", { ...rest, className: classNames(tw("p-6"), className) }, /* @__PURE__ */ React40.createElement(Typography, { htmlTag: "div", color: "default" }, children));
11113
11274
 
11114
11275
  // src/atoms/Select/Select.tsx
11115
- import React40 from "react";
11276
+ import React41 from "react";
11116
11277
  var import_chevronDown4 = __toESM(require_chevronDown());
11117
11278
  var import_chevronUp4 = __toESM(require_chevronUp());
11118
11279
  var import_search2 = __toESM(require_search());
@@ -11130,11 +11291,11 @@ function isOptionDisabledBuiltin(option) {
11130
11291
  return !!option.disabled;
11131
11292
  }
11132
11293
  var getValues = (children) => {
11133
- const values = React40.Children.map(children, (c) => c?.props?.value);
11294
+ const values = React41.Children.map(children, (c) => c?.props?.value);
11134
11295
  return values?.filter((v) => v !== void 0 && v !== null) ?? [];
11135
11296
  };
11136
- var InputContainer = React40.forwardRef(
11137
- ({ variant = "default", className, ...props }, ref) => /* @__PURE__ */ React40.createElement(
11297
+ var InputContainer = React41.forwardRef(
11298
+ ({ variant = "default", className, ...props }, ref) => /* @__PURE__ */ React41.createElement(
11138
11299
  "div",
11139
11300
  {
11140
11301
  ref,
@@ -11157,7 +11318,7 @@ var InputContainer = React40.forwardRef(
11157
11318
  }
11158
11319
  )
11159
11320
  );
11160
- var Input = React40.forwardRef(({ className, required, ...props }, ref) => /* @__PURE__ */ React40.createElement(
11321
+ var Input = React41.forwardRef(({ className, required, ...props }, ref) => /* @__PURE__ */ React41.createElement(
11161
11322
  "input",
11162
11323
  {
11163
11324
  ref,
@@ -11175,8 +11336,8 @@ var Input = React40.forwardRef(({ className, required, ...props }, ref) => /* @_
11175
11336
  ...props
11176
11337
  }
11177
11338
  ));
11178
- var Menu = React40.forwardRef(
11179
- ({ maxHeight = "450px", className, children, ...props }, ref) => /* @__PURE__ */ React40.createElement(
11339
+ var Menu = React41.forwardRef(
11340
+ ({ maxHeight = "450px", className, children, ...props }, ref) => /* @__PURE__ */ React41.createElement(
11180
11341
  "ul",
11181
11342
  {
11182
11343
  ref,
@@ -11187,12 +11348,12 @@ var Menu = React40.forwardRef(
11187
11348
  children
11188
11349
  )
11189
11350
  );
11190
- var NoResults = React40.forwardRef(
11191
- ({ className, children, ...rest }, ref) => /* @__PURE__ */ React40.createElement("li", { ref, ...rest, className: classNames(tw("p-3 text-inactive typography-small"), className) }, children)
11351
+ var NoResults = React41.forwardRef(
11352
+ ({ className, children, ...rest }, ref) => /* @__PURE__ */ React41.createElement("li", { ref, ...rest, className: classNames(tw("p-3 text-inactive typography-small"), className) }, children)
11192
11353
  );
11193
- var EmptyStateContainer2 = React40.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React40.createElement("li", { ref, className: tw("border border-dashed border-default m-4 p-6"), ...props }, children));
11194
- var Divider2 = (props) => /* @__PURE__ */ React40.createElement("div", { className: tw("border-b-1 border-muted mx-3 my-4"), ...props });
11195
- var Group2 = React40.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React40.createElement(
11354
+ var EmptyStateContainer2 = React41.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React41.createElement("li", { ref, className: tw("border border-dashed border-default m-4 p-6"), ...props }, children));
11355
+ var Divider2 = (props) => /* @__PURE__ */ React41.createElement("div", { className: tw("border-b-1 border-muted mx-3 my-4"), ...props });
11356
+ var Group2 = React41.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React41.createElement(
11196
11357
  "li",
11197
11358
  {
11198
11359
  ref,
@@ -11205,8 +11366,8 @@ var Group2 = React40.forwardRef(({ className, children, ...props }, ref) => /* @
11205
11366
  children
11206
11367
  ));
11207
11368
  var endAdornmentSize = { width: 14, height: 14 };
11208
- var Item4 = React40.forwardRef(
11209
- ({ highlighted, selected, className, children, ...props }, ref) => /* @__PURE__ */ React40.createElement(
11369
+ var Item4 = React41.forwardRef(
11370
+ ({ highlighted, selected, className, children, ...props }, ref) => /* @__PURE__ */ React41.createElement(
11210
11371
  "li",
11211
11372
  {
11212
11373
  ref,
@@ -11217,12 +11378,12 @@ var Item4 = React40.forwardRef(
11217
11378
  }),
11218
11379
  ...props
11219
11380
  },
11220
- /* @__PURE__ */ React40.createElement("span", { className: tw("grow flex gap-x-3") }, children),
11221
- selected ? /* @__PURE__ */ React40.createElement(InlineIcon2, { icon: import_tick4.default, ...endAdornmentSize }) : /* @__PURE__ */ React40.createElement("div", { style: endAdornmentSize })
11381
+ /* @__PURE__ */ React41.createElement("span", { className: tw("grow flex gap-x-3") }, children),
11382
+ selected ? /* @__PURE__ */ React41.createElement(InlineIcon2, { icon: import_tick4.default, ...endAdornmentSize }) : /* @__PURE__ */ React41.createElement("div", { style: endAdornmentSize })
11222
11383
  )
11223
11384
  );
11224
- var ActionItem = React40.forwardRef(
11225
- ({ className, dense, icon, onClick, children, ...props }, ref) => /* @__PURE__ */ React40.createElement(
11385
+ var ActionItem = React41.forwardRef(
11386
+ ({ className, dense, icon, onClick, children, ...props }, ref) => /* @__PURE__ */ React41.createElement(
11226
11387
  "li",
11227
11388
  {
11228
11389
  ref,
@@ -11236,11 +11397,11 @@ var ActionItem = React40.forwardRef(
11236
11397
  }),
11237
11398
  ...props
11238
11399
  },
11239
- icon && /* @__PURE__ */ React40.createElement(InlineIcon2, { icon }),
11400
+ icon && /* @__PURE__ */ React41.createElement(InlineIcon2, { icon }),
11240
11401
  children
11241
11402
  )
11242
11403
  );
11243
- var Toggle = React40.forwardRef(({ hasFocus, isOpen, ...props }, ref) => /* @__PURE__ */ React40.createElement(
11404
+ var Toggle = React41.forwardRef(({ hasFocus, isOpen, ...props }, ref) => /* @__PURE__ */ React41.createElement(
11244
11405
  "button",
11245
11406
  {
11246
11407
  ref,
@@ -11249,7 +11410,7 @@ var Toggle = React40.forwardRef(({ hasFocus, isOpen, ...props }, ref) => /* @__P
11249
11410
  ...props,
11250
11411
  className: tw("grow-0 leading-none", { "cursor-not-allowed": props.disabled ?? false })
11251
11412
  },
11252
- /* @__PURE__ */ React40.createElement(
11413
+ /* @__PURE__ */ React41.createElement(
11253
11414
  InlineIcon2,
11254
11415
  {
11255
11416
  color: props.disabled ? "inactive" : "default",
@@ -11271,15 +11432,15 @@ var Select = {
11271
11432
  };
11272
11433
 
11273
11434
  // src/atoms/Stepper/Stepper.tsx
11274
- import React41 from "react";
11435
+ import React42 from "react";
11275
11436
  var import_tick5 = __toESM(require_tick());
11276
- var Stepper = ({ className, ...rest }) => /* @__PURE__ */ React41.createElement("div", { ...rest, className: classNames(className) });
11437
+ var Stepper = ({ className, ...rest }) => /* @__PURE__ */ React42.createElement("div", { ...rest, className: classNames(className) });
11277
11438
  var ConnectorContainer = ({
11278
11439
  className,
11279
11440
  completed,
11280
11441
  dense,
11281
11442
  ...rest
11282
- }) => /* @__PURE__ */ React41.createElement(
11443
+ }) => /* @__PURE__ */ React42.createElement(
11283
11444
  "div",
11284
11445
  {
11285
11446
  ...rest,
@@ -11292,7 +11453,7 @@ var ConnectorContainer = ({
11292
11453
  )
11293
11454
  }
11294
11455
  );
11295
- var Connector = ({ children, className, completed, dense, ...rest }) => /* @__PURE__ */ React41.createElement(
11456
+ var Connector = ({ children, className, completed, dense, ...rest }) => /* @__PURE__ */ React42.createElement(
11296
11457
  "div",
11297
11458
  {
11298
11459
  ...rest,
@@ -11307,7 +11468,7 @@ var Connector = ({ children, className, completed, dense, ...rest }) => /* @__PU
11307
11468
  )
11308
11469
  }
11309
11470
  );
11310
- var Step = ({ className, state, ...rest }) => /* @__PURE__ */ React41.createElement(
11471
+ var Step = ({ className, state, ...rest }) => /* @__PURE__ */ React42.createElement(
11311
11472
  "div",
11312
11473
  {
11313
11474
  ...rest,
@@ -11330,7 +11491,7 @@ var getDenseClassNames = (state) => tw("h-[8px] w-[8px]", {
11330
11491
  "bg-intense": state === "inactive",
11331
11492
  "text-success-default": state === "completed"
11332
11493
  });
11333
- var Indicator = ({ children, className, state, dense, ...rest }) => /* @__PURE__ */ React41.createElement(
11494
+ var Indicator = ({ children, className, state, dense, ...rest }) => /* @__PURE__ */ React42.createElement(
11334
11495
  "div",
11335
11496
  {
11336
11497
  ...rest,
@@ -11341,7 +11502,7 @@ var Indicator = ({ children, className, state, dense, ...rest }) => /* @__PURE__
11341
11502
  className
11342
11503
  )
11343
11504
  },
11344
- state === "completed" ? /* @__PURE__ */ React41.createElement(InlineIcon2, { icon: import_tick5.default }) : dense ? null : children
11505
+ state === "completed" ? /* @__PURE__ */ React42.createElement(InlineIcon2, { icon: import_tick5.default }) : dense ? null : children
11345
11506
  );
11346
11507
  Step.Indicator = Indicator;
11347
11508
  Stepper.Step = Step;
@@ -11349,10 +11510,10 @@ ConnectorContainer.Connector = Connector;
11349
11510
  Stepper.ConnectorContainer = ConnectorContainer;
11350
11511
 
11351
11512
  // src/atoms/Switch/Switch.tsx
11352
- import React42 from "react";
11513
+ import React43 from "react";
11353
11514
  var import_ban2 = __toESM(require_ban());
11354
- var Switch = React42.forwardRef(
11355
- ({ id, children, name, disabled = false, readOnly = false, ...props }, ref) => /* @__PURE__ */ React42.createElement("span", { className: tw("relative inline-flex justify-center items-center self-center group") }, /* @__PURE__ */ React42.createElement(
11515
+ var Switch = React43.forwardRef(
11516
+ ({ id, children, name, disabled = false, readOnly = false, ...props }, ref) => /* @__PURE__ */ React43.createElement("span", { className: tw("relative inline-flex justify-center items-center self-center group") }, /* @__PURE__ */ React43.createElement(
11356
11517
  "input",
11357
11518
  {
11358
11519
  id,
@@ -11374,7 +11535,7 @@ var Switch = React42.forwardRef(
11374
11535
  readOnly,
11375
11536
  disabled
11376
11537
  }
11377
- ), /* @__PURE__ */ React42.createElement(
11538
+ ), /* @__PURE__ */ React43.createElement(
11378
11539
  "span",
11379
11540
  {
11380
11541
  className: tw(
@@ -11385,15 +11546,15 @@ var Switch = React42.forwardRef(
11385
11546
  }
11386
11547
  )
11387
11548
  },
11388
- disabled && /* @__PURE__ */ React42.createElement(Icon2, { icon: import_ban2.default, width: "10px", height: "10px" })
11549
+ disabled && /* @__PURE__ */ React43.createElement(Icon2, { icon: import_ban2.default, width: "10px", height: "10px" })
11389
11550
  ))
11390
11551
  );
11391
11552
 
11392
11553
  // src/atoms/VisuallyHidden/VisuallyHidden.tsx
11393
- import React43 from "react";
11554
+ import React44 from "react";
11394
11555
  import { VisuallyHidden as AriaVisuallyHidden } from "@react-aria/visually-hidden";
11395
11556
  var VisuallyHidden = (props) => {
11396
- return /* @__PURE__ */ React43.createElement(AriaVisuallyHidden, { ...props });
11557
+ return /* @__PURE__ */ React44.createElement(AriaVisuallyHidden, { ...props });
11397
11558
  };
11398
11559
  export {
11399
11560
  Alert,
@@ -11407,6 +11568,7 @@ export {
11407
11568
  DataList,
11408
11569
  Dialog,
11409
11570
  DropdownMenu,
11571
+ Filter,
11410
11572
  Icon,
11411
11573
  InputGroup,
11412
11574
  Item,
@@ -11431,6 +11593,9 @@ export {
11431
11593
  VisuallyHidden,
11432
11594
  buttonClasses,
11433
11595
  cellClassNames,
11596
+ dropdownMenuGroupStyles,
11597
+ dropdownMenuItemStyles,
11598
+ dropdownMenuStyles,
11434
11599
  getAlignClassNames,
11435
11600
  getBodyCellClassNames,
11436
11601
  getHeadCellClassNames,