@eqtylab/equality 4.14.1 → 5.0.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/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as React15 from 'react';
2
- import { forwardRef, useState, useRef, useEffect, useMemo, useCallback, useLayoutEffect, createElement, useSyncExternalStore } from 'react';
2
+ import { forwardRef, useEffect, useLayoutEffect, useState, useRef, useMemo, useCallback, createElement, useSyncExternalStore } from 'react';
3
3
  import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
4
4
  import styles2 from './alert-dialog.module.module.css.module.css';
5
- import { Slot } from '@radix-ui/react-slot';
5
+ import { Slot, Slottable } from '@radix-ui/react-slot';
6
6
  import { cva } from 'class-variance-authority';
7
7
  import styles from './button.module.module.css.module.css';
8
8
  import { clsx } from 'clsx';
@@ -10,7 +10,7 @@ import { twMerge } from 'tailwind-merge';
10
10
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
11
11
  import styles4 from './alert.module.module.css.module.css';
12
12
  import * as LucideIcons from 'lucide-react';
13
- import { Check, ChevronRight, Search, Circle, TriangleAlert, ChevronDown, X, SearchIcon, CalendarDays, ChevronLeft, Grid3X3, List, AlertOctagon, Home, ChevronsLeft, ChevronsRight, ArrowUp, ArrowDown, ArrowUpDown } from 'lucide-react';
13
+ import { Check, ChevronRight, Search, Circle, TriangleAlert, ChevronLeft, ChevronDown, ChevronsUpDown, X, SearchIcon, CalendarDays, AlertOctagon, Home, ChevronsLeft, ChevronsRight, ArrowUp, ArrowDown, ArrowUpDown } from 'lucide-react';
14
14
  import styles3 from './icon.module.module.css.module.css';
15
15
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
16
16
  import styles5 from './avatar.module.module.css.module.css';
@@ -36,62 +36,59 @@ import * as PopoverPrimitive from '@radix-ui/react-popover';
36
36
  import styles18 from './popover.module.module.css.module.css';
37
37
  import Truncate from 'react-truncate-inside';
38
38
  import styles20 from './display-field.module.module.css.module.css';
39
- import { Drawer as Drawer$1 } from 'vaul';
40
- import styles21 from './drawer.module.module.css.module.css';
41
39
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
42
- import styles22 from './dropdown-menu.module.module.css.module.css';
43
- import styles23 from './empty-table-state.module.module.css.module.css';
44
- import styles24 from './filter-dropdown.module.module.css.module.css';
40
+ import styles21 from './dropdown-menu.module.module.css.module.css';
41
+ import styles22 from './empty-table-state.module.module.css.module.css';
42
+ import styles23 from './filter-dropdown.module.module.css.module.css';
45
43
  import { useFormContext, FormProvider, Controller } from 'react-hook-form';
46
- import styles26 from './form.module.module.css.module.css';
44
+ import styles25 from './form.module.module.css.module.css';
47
45
  import * as LabelPrimitive from '@radix-ui/react-label';
48
- import styles25 from './label.module.module.css.module.css';
49
- import styles27 from './format-date.module.module.css.module.css';
50
- import styles28 from './heading.module.module.css.module.css';
51
- import styles29 from './info-card.module.module.css.module.css';
52
- import styles31 from './input.module.module.css.module.css';
46
+ import styles24 from './label.module.module.css.module.css';
47
+ import styles26 from './format-date.module.module.css.module.css';
48
+ import styles27 from './heading.module.module.css.module.css';
49
+ import styles28 from './info-card.module.module.css.module.css';
50
+ import styles30 from './input.module.module.css.module.css';
53
51
  import { AnimatePresence, motion } from 'motion/react';
54
- import styles30 from './motion-collapsible.module.module.css.module.css';
55
- import styles32 from './list-or-grid-view-toggle.module.module.css.module.css';
56
- import styles34 from './loading-overlay.module.module.css.module.css';
57
- import styles33 from './spinner.module.module.css.module.css';
58
- import styles35 from './metric-card.module.module.css.module.css';
59
- import styles36 from './page-not-found.module.module.css.module.css';
60
- import styles38 from './pagination.module.module.css.module.css';
52
+ import styles29 from './motion-collapsible.module.module.css.module.css';
53
+ import styles32 from './loading-overlay.module.module.css.module.css';
54
+ import styles31 from './spinner.module.module.css.module.css';
55
+ import styles33 from './metric-card.module.module.css.module.css';
56
+ import styles35 from './nav-list.module.module.css.module.css';
57
+ import styles40 from './nav.module.module.css.module.css';
61
58
  import * as SelectPrimitive from '@radix-ui/react-select';
62
- import styles37 from './select.module.module.css.module.css';
63
- import styles39 from './panel-label.module.module.css.module.css';
64
- import styles41 from './progress-indicator.module.module.css.module.css';
59
+ import styles38 from './select.module.module.css.module.css';
60
+ import styles39 from './skeleton.module.module.css.module.css';
61
+ import styles41 from './page-not-found.module.module.css.module.css';
62
+ import styles42 from './pagination.module.module.css.module.css';
63
+ import styles43 from './panel-label.module.module.css.module.css';
64
+ import styles45 from './progress-indicator.module.module.css.module.css';
65
65
  import * as ProgressPrimitive from '@radix-ui/react-progress';
66
- import styles40 from './progress.module.module.css.module.css';
67
- import styles42 from './radial-graph.module.module.css.module.css';
68
- import styles43 from './radio-dropdown.module.module.css.module.css';
66
+ import styles44 from './progress.module.module.css.module.css';
67
+ import styles46 from './radial-graph.module.module.css.module.css';
68
+ import styles47 from './radio-dropdown.module.module.css.module.css';
69
69
  import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
70
- import styles44 from './radio-group.module.module.css.module.css';
71
- import styles45 from './resource-badge.module.module.css.module.css';
72
- import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
73
- import styles46 from './scroll-area.module.module.css.module.css';
74
- import styles47 from './search-bar.module.module.css.module.css';
75
- import styles48 from './section-heading.module.module.css.module.css';
76
- import styles49 from './segmented-controls.module.module.css.module.css';
70
+ import styles48 from './radio-group.module.module.css.module.css';
71
+ import styles49 from './resource-badge.module.module.css.module.css';
72
+ import styles50 from './search-bar.module.module.css.module.css';
73
+ import styles51 from './section-heading.module.module.css.module.css';
74
+ import styles52 from './segmented-controls.module.module.css.module.css';
77
75
  import * as SeparatorPrimitive from '@radix-ui/react-separator';
78
- import styles50 from './separator.module.module.css.module.css';
79
- import styles51 from './sheet.module.module.css.module.css';
80
- import styles52 from './skeleton.module.module.css.module.css';
81
- import styles53 from './sort-button.module.module.css.module.css';
82
- import styles54 from './sort-selector.module.module.css.module.css';
76
+ import styles53 from './separator.module.module.css.module.css';
77
+ import styles54 from './sheet.module.module.css.module.css';
78
+ import styles55 from './sort-button.module.module.css.module.css';
79
+ import styles56 from './sort-selector.module.module.css.module.css';
83
80
  import * as SwitchPrimitives from '@radix-ui/react-switch';
84
- import styles55 from './switch.module.module.css.module.css';
85
- import styles56 from './table-components.module.module.css.module.css';
81
+ import styles57 from './switch.module.module.css.module.css';
82
+ import styles58 from './table-components.module.module.css.module.css';
86
83
  import * as TabsPrimitive from '@radix-ui/react-tabs';
87
- import styles57 from './tabs-components.module.module.css.module.css';
88
- import styles58 from './tabs.module.module.css.module.css';
89
- import styles59 from './textarea.module.module.css.module.css';
84
+ import styles59 from './tabs-components.module.module.css.module.css';
85
+ import styles60 from './tabs.module.module.css.module.css';
86
+ import styles61 from './textarea.module.module.css.module.css';
90
87
  import * as ToastPrimitives from '@radix-ui/react-toast';
91
- import styles60 from './toast-components.module.module.css.module.css';
92
- import styles61 from './toast.module.module.css.module.css';
93
- import styles62 from './truncated-description.module.module.css.module.css';
94
- import styles63 from './theme.module.module.css.module.css';
88
+ import styles62 from './toast-components.module.module.css.module.css';
89
+ import styles63 from './toast.module.module.css.module.css';
90
+ import styles64 from './truncated-description.module.module.css.module.css';
91
+ import styles65 from './theme.module.module.css.module.css';
95
92
 
96
93
  // src/components/alert-dialog/alert-dialog.tsx
97
94
  var PORTAL_ROOT_ID = "equality-theme-provider-root-portal";
@@ -250,12 +247,12 @@ var ELEVATION = {
250
247
  RAISED: "raised",
251
248
  OVERLAY: "overlay"
252
249
  };
253
- var generateElevationVariants = (styles64, baseClassName, defaultElevation) => {
250
+ var generateElevationVariants = (styles66, baseClassName, defaultElevation) => {
254
251
  const classNames = {};
255
252
  Object.values(ELEVATION).forEach((elevation) => {
256
- classNames[elevation] = styles64[`${baseClassName}--${elevation}`];
253
+ classNames[elevation] = styles66[`${baseClassName}--${elevation}`];
257
254
  });
258
- const variants = cva(styles64[baseClassName], {
255
+ const variants = cva(styles66[baseClassName], {
259
256
  variants: {
260
257
  elevation: classNames
261
258
  },
@@ -867,51 +864,57 @@ var iconSizeMap = {
867
864
  md: 22,
868
865
  lg: 26
869
866
  };
870
- function IconButton({
871
- className,
872
- size = "sm",
873
- variant = "primary",
874
- name,
875
- label,
876
- href,
877
- target,
878
- download,
879
- disabled,
880
- ...props
881
- }) {
882
- const Icon3 = LucideIcons[name];
883
- const iconSize = iconSizeMap[size || "sm"];
884
- const IconComponent = Icon3;
885
- if (!Icon3) {
886
- throw new Error(`Icon "${name}" not found in lucide-react`);
887
- }
888
- const content = /* @__PURE__ */ jsx(IconComponent, { size: iconSize });
889
- if (href && !disabled) {
867
+ var IconButton = React15.forwardRef(
868
+ function IconButton2({
869
+ className,
870
+ size = "sm",
871
+ variant = "primary",
872
+ name,
873
+ label,
874
+ href,
875
+ target,
876
+ download,
877
+ disabled,
878
+ ...props
879
+ }, ref) {
880
+ const Icon3 = LucideIcons[name];
881
+ const iconSize = iconSizeMap[size || "sm"];
882
+ const IconComponent = Icon3;
883
+ if (!Icon3) {
884
+ throw new Error(`Icon "${name}" not found in lucide-react`);
885
+ }
886
+ const content = /* @__PURE__ */ jsx(IconComponent, { size: iconSize });
887
+ if (href && !disabled) {
888
+ return /* @__PURE__ */ jsx(
889
+ "a",
890
+ {
891
+ ref,
892
+ href,
893
+ target,
894
+ download,
895
+ "aria-label": label,
896
+ rel: target === "_blank" ? "noopener noreferrer" : void 0,
897
+ className: cn(iconButtonVariants({ size, variant }), className),
898
+ ...props,
899
+ children: content
900
+ }
901
+ );
902
+ }
890
903
  return /* @__PURE__ */ jsx(
891
- "a",
904
+ "button",
892
905
  {
893
- href,
894
- target,
895
- download,
906
+ ref,
907
+ type: "button",
896
908
  "aria-label": label,
897
- rel: target === "_blank" ? "noopener noreferrer" : void 0,
909
+ disabled,
898
910
  className: cn(iconButtonVariants({ size, variant }), className),
911
+ ...props,
899
912
  children: content
900
913
  }
901
914
  );
902
915
  }
903
- return /* @__PURE__ */ jsx(
904
- "button",
905
- {
906
- type: "button",
907
- "aria-label": label,
908
- disabled,
909
- className: cn(iconButtonVariants({ size, variant }), className),
910
- ...props,
911
- children: content
912
- }
913
- );
914
- }
916
+ );
917
+ IconButton.displayName = "IconButton";
915
918
  function CopyButton({
916
919
  value,
917
920
  label = "Copy to clipboard",
@@ -1608,68 +1611,6 @@ function DisplayField({
1608
1611
  }
1609
1612
  );
1610
1613
  }
1611
- var Drawer = ({
1612
- shouldScaleBackground = true,
1613
- ...props
1614
- }) => /* @__PURE__ */ jsx(Drawer$1.Root, { shouldScaleBackground, ...props });
1615
- Drawer.displayName = "Drawer";
1616
- var DrawerTrigger = Drawer$1.Trigger;
1617
- var DrawerPortal = ({ children }) => /* @__PURE__ */ jsx(Drawer$1.Portal, { container: usePortalContainer(), children });
1618
- var DrawerClose = Drawer$1.Close;
1619
- var DrawerOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1620
- Drawer$1.Overlay,
1621
- {
1622
- ref,
1623
- className: cn(styles21["drawer-overlay"], className),
1624
- ...props
1625
- }
1626
- ));
1627
- DrawerOverlay.displayName = Drawer$1.Overlay.displayName;
1628
- var DrawerContent = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(DrawerPortal, { children: [
1629
- /* @__PURE__ */ jsx(DrawerOverlay, {}),
1630
- /* @__PURE__ */ jsxs(
1631
- Drawer$1.Content,
1632
- {
1633
- ref,
1634
- className: cn(styles21["drawer-content"], className),
1635
- ...props,
1636
- children: [
1637
- /* @__PURE__ */ jsx("div", { className: styles21["drawer-content-divider"] }),
1638
- children
1639
- ]
1640
- }
1641
- )
1642
- ] }));
1643
- DrawerContent.displayName = "DrawerContent";
1644
- var DrawerHeader = ({ className, ...props }) => /* @__PURE__ */ jsx("div", { className: cn(styles21["drawer-header"], className), ...props });
1645
- DrawerHeader.displayName = "DrawerHeader";
1646
- var DrawerHeaderActions = React15.forwardRef(({ className, rowSpan, style, ...props }, ref) => {
1647
- return /* @__PURE__ */ jsx(
1648
- "div",
1649
- {
1650
- ref,
1651
- className: cn(styles21["drawer-header-actions"], className),
1652
- style: { ...style, "--row-span": rowSpan },
1653
- ...props
1654
- }
1655
- );
1656
- });
1657
- DrawerHeaderActions.displayName = "DrawerHeaderActions";
1658
- var DrawerFooter = ({ className, ...props }) => /* @__PURE__ */ jsx("div", { className: cn(styles21["drawer-footer"], className), ...props });
1659
- DrawerFooter.displayName = "DrawerFooter";
1660
- var DrawerTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Drawer$1.Title, { ref, className: cn(styles21["drawer-title"], className), ...props }));
1661
- DrawerTitle.displayName = Drawer$1.Title.displayName;
1662
- var DrawerDescription = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1663
- Drawer$1.Description,
1664
- {
1665
- ref,
1666
- className: cn(styles21["drawer-description"], className),
1667
- ...props
1668
- }
1669
- ));
1670
- DrawerDescription.displayName = Drawer$1.Description.displayName;
1671
- var DrawerInnerContent = ({ className, ...props }) => /* @__PURE__ */ jsx("div", { className: cn(styles21["drawer-inner-content"], className), ...props });
1672
- DrawerInnerContent.displayName = "DrawerInnerContent";
1673
1614
  function useMatchRegistry() {
1674
1615
  const itemsRef = React15.useRef(/* @__PURE__ */ new Map());
1675
1616
  const [matchCount, setMatchCount] = React15.useState(0);
@@ -1961,14 +1902,14 @@ var DropdownMenuSubTrigger = React15.forwardRef(({ className, inset, children, .
1961
1902
  {
1962
1903
  ref,
1963
1904
  className: cn(
1964
- styles22["dropdown-menu-trigger"],
1965
- inset && styles22["dropdown-menu-inset"],
1905
+ styles21["dropdown-menu-trigger"],
1906
+ inset && styles21["dropdown-menu-inset"],
1966
1907
  className
1967
1908
  ),
1968
1909
  ...props,
1969
1910
  children: [
1970
1911
  children,
1971
- /* @__PURE__ */ jsx(ChevronRightIcon2, { className: styles22["dropdown-menu-subtrigger-chevron"] })
1912
+ /* @__PURE__ */ jsx(ChevronRightIcon2, { className: styles21["dropdown-menu-subtrigger-chevron"] })
1972
1913
  ]
1973
1914
  }
1974
1915
  );
@@ -1978,7 +1919,7 @@ var DropdownMenuSubContent = React15.forwardRef(({ className, ...props }, ref) =
1978
1919
  DropdownMenuPrimitive.SubContent,
1979
1920
  {
1980
1921
  ref,
1981
- className: cn(styles22["dropdown-menu-sub-content"], className),
1922
+ className: cn(styles21["dropdown-menu-sub-content"], className),
1982
1923
  ...props
1983
1924
  }
1984
1925
  ));
@@ -2042,7 +1983,7 @@ var DropdownMenuContent = React15.forwardRef(
2042
1983
  DropdownMenuPrimitive.Content,
2043
1984
  {
2044
1985
  ref: composedContentRef,
2045
- className: cn(styles22["dropdown-menu-content"], className),
1986
+ className: cn(styles21["dropdown-menu-content"], className),
2046
1987
  sideOffset,
2047
1988
  ...sideProps,
2048
1989
  onFocus: handleFocus,
@@ -2057,7 +1998,7 @@ var DropdownMenuContent = React15.forwardRef(
2057
1998
  },
2058
1999
  ...props,
2059
2000
  children: [
2060
- ctx?.enabled ? /* @__PURE__ */ jsx("div", { className: styles22["dropdown-menu-sr-status"], role: "status", "aria-live": "polite", children: searching && resultCount > 0 ? formatResultCount(resultCount) : null }) : null,
2001
+ ctx?.enabled ? /* @__PURE__ */ jsx("div", { className: styles21["dropdown-menu-sr-status"], role: "status", "aria-live": "polite", children: searching && resultCount > 0 ? formatResultCount(resultCount) : null }) : null,
2061
2002
  children
2062
2003
  ]
2063
2004
  }
@@ -2081,15 +2022,15 @@ var DropdownMenuSearch = React15.forwardRef(
2081
2022
  }
2082
2023
  const { ref, isRendered } = useSearchInput(ctx, alwaysVisible, forwardedRef);
2083
2024
  if (!isRendered) return null;
2084
- return /* @__PURE__ */ jsxs("div", { className: styles22["dropdown-menu-search"], children: [
2085
- /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: styles22["dropdown-menu-item-icon"], children: icon ?? /* @__PURE__ */ jsx(SearchIcon2, { className: styles22["icon-size"] }) }),
2025
+ return /* @__PURE__ */ jsxs("div", { className: styles21["dropdown-menu-search"], children: [
2026
+ /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: styles21["dropdown-menu-item-icon"], children: icon ?? /* @__PURE__ */ jsx(SearchIcon2, { className: styles21["icon-size"] }) }),
2086
2027
  /* @__PURE__ */ jsx(
2087
2028
  "input",
2088
2029
  {
2089
2030
  ...props,
2090
2031
  ref,
2091
2032
  "data-dropdown-search": "",
2092
- className: cn(styles22["dropdown-menu-search-input"], className),
2033
+ className: cn(styles21["dropdown-menu-search-input"], className),
2093
2034
  value: ctx.query,
2094
2035
  placeholder,
2095
2036
  "aria-label": ariaLabel ?? placeholder,
@@ -2135,7 +2076,7 @@ var DropdownMenuEmpty = ({
2135
2076
  ...props,
2136
2077
  role: "status",
2137
2078
  "aria-live": "polite",
2138
- className: isEmpty ? cn(styles22["dropdown-menu-empty"], className) : void 0,
2079
+ className: isEmpty ? cn(styles21["dropdown-menu-empty"], className) : void 0,
2139
2080
  children: isEmpty ? children : null
2140
2081
  }
2141
2082
  );
@@ -2144,7 +2085,7 @@ DropdownMenuEmpty.displayName = "DropdownMenuEmpty";
2144
2085
  var ItemBreadcrumb = () => {
2145
2086
  const ancestry = useBreadcrumbAncestry();
2146
2087
  if (!ancestry.length) return null;
2147
- return /* @__PURE__ */ jsx("span", { className: styles22["dropdown-menu-breadcrumb"], "aria-hidden": "true", children: ancestry.map((crumb, index) => /* @__PURE__ */ jsxs(React15.Fragment, { children: [
2088
+ return /* @__PURE__ */ jsx("span", { className: styles21["dropdown-menu-breadcrumb"], "aria-hidden": "true", children: ancestry.map((crumb, index) => /* @__PURE__ */ jsxs(React15.Fragment, { children: [
2148
2089
  crumb,
2149
2090
  /* @__PURE__ */ jsx(ChevronRightIcon2, {})
2150
2091
  ] }, index)) });
@@ -2158,10 +2099,10 @@ var DropdownMenuItem = React15.forwardRef(({ className, inset, variant = "neutra
2158
2099
  ref,
2159
2100
  textValue,
2160
2101
  className: cn(
2161
- styles22["dropdown-menu-item"],
2162
- inset && styles22["dropdown-menu-inset"],
2163
- variant === "warning" && styles22["dropdown-menu-item-warning"],
2164
- variant === "danger" && styles22["dropdown-menu-item-danger"],
2102
+ styles21["dropdown-menu-item"],
2103
+ inset && styles21["dropdown-menu-inset"],
2104
+ variant === "warning" && styles21["dropdown-menu-item-warning"],
2105
+ variant === "danger" && styles21["dropdown-menu-item-danger"],
2165
2106
  className
2166
2107
  ),
2167
2108
  ...props,
@@ -2182,12 +2123,12 @@ var DropdownMenuCheckboxItem = React15.forwardRef(({ className, children, checke
2182
2123
  {
2183
2124
  ref,
2184
2125
  textValue,
2185
- className: cn(styles22["dropdown-menu-checkbox-item"], className),
2126
+ className: cn(styles21["dropdown-menu-checkbox-item"], className),
2186
2127
  checked,
2187
2128
  ...props,
2188
2129
  "data-persistent": persistent ? "" : void 0,
2189
2130
  children: [
2190
- /* @__PURE__ */ jsx("span", { className: styles22["dropdown-menu-item-indicator-checkbox"], children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckIcon2, { className: styles22["icon-size"] }) }) }),
2131
+ /* @__PURE__ */ jsx("span", { className: styles21["dropdown-menu-item-indicator-checkbox"], children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckIcon2, { className: styles21["icon-size"] }) }) }),
2191
2132
  /* @__PURE__ */ jsx(ItemBreadcrumb, {}),
2192
2133
  children
2193
2134
  ]
@@ -2203,11 +2144,11 @@ var DropdownMenuRadioItem = React15.forwardRef(({ className, children, textValue
2203
2144
  {
2204
2145
  ref,
2205
2146
  textValue,
2206
- className: cn(styles22["dropdown-menu-radio-item"], className),
2147
+ className: cn(styles21["dropdown-menu-radio-item"], className),
2207
2148
  ...props,
2208
2149
  "data-persistent": persistent ? "" : void 0,
2209
2150
  children: [
2210
- /* @__PURE__ */ jsx("span", { className: styles22["dropdown-menu-item-indicator-radio"], children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CircleIcon, { className: styles22["radio-icon"] }) }) }),
2151
+ /* @__PURE__ */ jsx("span", { className: styles21["dropdown-menu-item-indicator-radio"], children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CircleIcon, { className: styles21["radio-icon"] }) }) }),
2211
2152
  /* @__PURE__ */ jsx(ItemBreadcrumb, {}),
2212
2153
  children
2213
2154
  ]
@@ -2223,8 +2164,8 @@ var DropdownMenuLabel = React15.forwardRef(({ className, inset, ...props }, ref)
2223
2164
  {
2224
2165
  ref,
2225
2166
  className: cn(
2226
- styles22["dropdown-menu-label"],
2227
- inset && styles22["dropdown-menu-inset"],
2167
+ styles21["dropdown-menu-label"],
2168
+ inset && styles21["dropdown-menu-inset"],
2228
2169
  className
2229
2170
  ),
2230
2171
  ...props
@@ -2239,14 +2180,14 @@ var DropdownMenuSeparator = React15.forwardRef(({ className, persistent, ...prop
2239
2180
  DropdownMenuPrimitive.Separator,
2240
2181
  {
2241
2182
  ref,
2242
- className: cn(styles22["dropdown-menu-separator"], className),
2183
+ className: cn(styles21["dropdown-menu-separator"], className),
2243
2184
  ...props
2244
2185
  }
2245
2186
  );
2246
2187
  });
2247
2188
  DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
2248
2189
  var DropdownMenuShortcut = ({ className, ...props }) => {
2249
- return /* @__PURE__ */ jsx("span", { className: cn(styles22["dropdown-menu-shortcut"], className), ...props });
2190
+ return /* @__PURE__ */ jsx("span", { className: cn(styles21["dropdown-menu-shortcut"], className), ...props });
2250
2191
  };
2251
2192
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
2252
2193
  var EmptyTableState = ({
@@ -2259,13 +2200,13 @@ var EmptyTableState = ({
2259
2200
  className
2260
2201
  }) => {
2261
2202
  const showButton = showClearButton && onClear;
2262
- return /* @__PURE__ */ jsxs("div", { className: cn(styles23["empty-table-state"], className), children: [
2263
- /* @__PURE__ */ jsxs("div", { className: styles23["icon-and-title-container"], children: [
2203
+ return /* @__PURE__ */ jsxs("div", { className: cn(styles22["empty-table-state"], className), children: [
2204
+ /* @__PURE__ */ jsxs("div", { className: styles22["icon-and-title-container"], children: [
2264
2205
  /* @__PURE__ */ jsx(Icon, { icon, size: "md", background: "circle", elevation }),
2265
- /* @__PURE__ */ jsx("span", { className: styles23["title"], children: title })
2206
+ /* @__PURE__ */ jsx("span", { className: styles22["title"], children: title })
2266
2207
  ] }),
2267
- description && /* @__PURE__ */ jsx("span", { className: styles23["description"], children: description }),
2268
- showButton && /* @__PURE__ */ jsx(Button, { variant: "tertiary", size: "sm", onClick: onClear, className: styles23["clear-button"], children: "Clear Filters" })
2208
+ description && /* @__PURE__ */ jsx("span", { className: styles22["description"], children: description }),
2209
+ showButton && /* @__PURE__ */ jsx(Button, { variant: "tertiary", size: "sm", onClick: onClear, className: styles22["clear-button"], children: "Clear Filters" })
2269
2210
  ] });
2270
2211
  };
2271
2212
  var ChevronDownIcon = ChevronDown;
@@ -2302,13 +2243,13 @@ var FilterDropdown = ({
2302
2243
  {
2303
2244
  variant: "tertiary",
2304
2245
  disabled,
2305
- className: cn(styles24["selector-button"], buttonClassName),
2246
+ className: cn(styles23["selector-button"], buttonClassName),
2306
2247
  children: [
2307
- /* @__PURE__ */ jsxs("span", { className: styles24["selector-button-content"], children: [
2248
+ /* @__PURE__ */ jsxs("span", { className: styles23["selector-button-content"], children: [
2308
2249
  label,
2309
2250
  hasSelectedFilters && /* @__PURE__ */ jsx(Badge, { variant: "primary", children: selectedFilters.length })
2310
2251
  ] }),
2311
- /* @__PURE__ */ jsx(ChevronDownIcon, { className: styles24["chevron-icon"] })
2252
+ /* @__PURE__ */ jsx(ChevronDownIcon, { className: styles23["chevron-icon"] })
2312
2253
  ]
2313
2254
  }
2314
2255
  ) }),
@@ -2316,16 +2257,16 @@ var FilterDropdown = ({
2316
2257
  DropdownMenuContent,
2317
2258
  {
2318
2259
  align: "end",
2319
- className: cn(styles24["dropdown-menu-content"], contentClassName),
2260
+ className: cn(styles23["dropdown-menu-content"], contentClassName),
2320
2261
  children: [
2321
2262
  searchable && /* @__PURE__ */ jsxs(Fragment, { children: [
2322
2263
  /* @__PURE__ */ jsx(DropdownMenuSearch, { placeholder: searchPlaceholder, "aria-label": label }),
2323
2264
  /* @__PURE__ */ jsx(DropdownMenuEmpty, { children: emptyPlaceholder })
2324
2265
  ] }),
2325
2266
  !searchable && /* @__PURE__ */ jsxs(Fragment, { children: [
2326
- /* @__PURE__ */ jsxs(DropdownMenuLabel, { className: styles24["filters-header"], children: [
2267
+ /* @__PURE__ */ jsxs(DropdownMenuLabel, { className: styles23["filters-header"], children: [
2327
2268
  "Filters",
2328
- hasSelectedFilters && clearAll(styles24["clear-all-inline"])
2269
+ hasSelectedFilters && clearAll(styles23["clear-all-inline"])
2329
2270
  ] }),
2330
2271
  /* @__PURE__ */ jsx(DropdownMenuSeparator, {})
2331
2272
  ] }),
@@ -2337,21 +2278,21 @@ var FilterDropdown = ({
2337
2278
  checked: isSelected,
2338
2279
  onCheckedChange: () => onToggleFilter(option.value),
2339
2280
  onSelect: (e) => e.preventDefault(),
2340
- children: /* @__PURE__ */ jsx("span", { className: styles24["option-label"], title: option.label, children: option.label })
2281
+ children: /* @__PURE__ */ jsx("span", { className: styles23["option-label"], title: option.label, children: option.label })
2341
2282
  },
2342
2283
  option.value
2343
2284
  );
2344
2285
  }),
2345
- searchable && hasSelectedFilters && /* @__PURE__ */ jsxs("div", { className: styles24["clear-all-footer"], children: [
2286
+ searchable && hasSelectedFilters && /* @__PURE__ */ jsxs("div", { className: styles23["clear-all-footer"], children: [
2346
2287
  /* @__PURE__ */ jsx(DropdownMenuSeparator, { persistent: true }),
2347
- clearAll(styles24["clear-all"])
2288
+ clearAll(styles23["clear-all"])
2348
2289
  ] })
2349
2290
  ]
2350
2291
  }
2351
2292
  )
2352
2293
  ] });
2353
2294
  };
2354
- var labelVariants = cva(styles25["label"]);
2295
+ var labelVariants = cva(styles24["label"]);
2355
2296
  var Label2 = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(LabelPrimitive.Root, { ref, className: cn(labelVariants(), className), ...props }));
2356
2297
  Label2.displayName = LabelPrimitive.Root.displayName;
2357
2298
  var Form = FormProvider;
@@ -2383,7 +2324,7 @@ var FormItemContext = React15.createContext({});
2383
2324
  var FormItem = React15.forwardRef(
2384
2325
  ({ className, ...props }, ref) => {
2385
2326
  const id = React15.useId();
2386
- return /* @__PURE__ */ jsx(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx("div", { ref, className: cn(styles26["form-item"], className), ...props }) });
2327
+ return /* @__PURE__ */ jsx(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx("div", { ref, className: cn(styles25["form-item"], className), ...props }) });
2387
2328
  }
2388
2329
  );
2389
2330
  FormItem.displayName = "FormItem";
@@ -2393,7 +2334,7 @@ var FormLabel = React15.forwardRef(({ className, ...props }, ref) => {
2393
2334
  Label2,
2394
2335
  {
2395
2336
  ref,
2396
- className: cn(styles26["form-label"], error && styles26["form-label--failure"], className),
2337
+ className: cn(styles25["form-label"], error && styles25["form-label--failure"], className),
2397
2338
  htmlFor: formItemId,
2398
2339
  ...props
2399
2340
  }
@@ -2421,7 +2362,7 @@ var FormDescription = React15.forwardRef(({ className, ...props }, ref) => {
2421
2362
  {
2422
2363
  ref,
2423
2364
  id: formDescriptionId,
2424
- className: cn(styles26["form-description"], className),
2365
+ className: cn(styles25["form-description"], className),
2425
2366
  ...props
2426
2367
  }
2427
2368
  );
@@ -2433,7 +2374,7 @@ var FormMessage = React15.forwardRef(({ className, children, ...props }, ref) =>
2433
2374
  if (!body) {
2434
2375
  return null;
2435
2376
  }
2436
- return /* @__PURE__ */ jsx("p", { ref, id: formMessageId, className: cn(styles26["form-message"], className), ...props, children: body });
2377
+ return /* @__PURE__ */ jsx("p", { ref, id: formMessageId, className: cn(styles25["form-message"], className), ...props, children: body });
2437
2378
  });
2438
2379
  FormMessage.displayName = "FormMessage";
2439
2380
  var DEFAULT_LOCALE = "en-US";
@@ -2519,8 +2460,8 @@ function DatePlaceholder({
2519
2460
  className,
2520
2461
  ...props
2521
2462
  }) {
2522
- return /* @__PURE__ */ jsxs("span", { className: cn(styles27["format-date"], className), ...props, children: [
2523
- /* @__PURE__ */ jsx("span", { className: styles27["visually-hidden"], children: label }),
2463
+ return /* @__PURE__ */ jsxs("span", { className: cn(styles26["format-date"], className), ...props, children: [
2464
+ /* @__PURE__ */ jsx("span", { className: styles26["visually-hidden"], children: label }),
2524
2465
  /* @__PURE__ */ jsx("span", { "aria-hidden": "true", children: NO_DATE_PLACEHOLDER })
2525
2466
  ] });
2526
2467
  }
@@ -2550,7 +2491,7 @@ function FormatDate({
2550
2491
  return /* @__PURE__ */ jsx(DatePlaceholder, { label: "No date", className, ...props });
2551
2492
  }
2552
2493
  if (!parsed) {
2553
- return /* @__PURE__ */ jsx("span", { className: cn(styles27["format-date"], className), ...props, children: "Invalid date" });
2494
+ return /* @__PURE__ */ jsx("span", { className: cn(styles26["format-date"], className), ...props, children: "Invalid date" });
2554
2495
  }
2555
2496
  const machineValue = parsed.toISOString();
2556
2497
  const absolute = formatAbsolute(
@@ -2560,14 +2501,14 @@ function FormatDate({
2560
2501
  locale
2561
2502
  );
2562
2503
  if (isAbsolute) {
2563
- return /* @__PURE__ */ jsx("time", { dateTime: machineValue, className: cn(styles27["format-date"], className), ...props, children: absolute });
2504
+ return /* @__PURE__ */ jsx("time", { dateTime: machineValue, className: cn(styles26["format-date"], className), ...props, children: absolute });
2564
2505
  }
2565
2506
  const measured = !mounted ? absolute : displayAs === "relative" ? formatRelative(parsed, now, locale) : formatCountdown(parsed, now, locale);
2566
2507
  if (measured === null) {
2567
2508
  return /* @__PURE__ */ jsx(DatePlaceholder, { label: "Date has passed", className, ...props });
2568
2509
  }
2569
2510
  if (!tooltip) {
2570
- return /* @__PURE__ */ jsx("time", { dateTime: machineValue, className: cn(styles27["format-date"], className), ...props, children: measured });
2511
+ return /* @__PURE__ */ jsx("time", { dateTime: machineValue, className: cn(styles26["format-date"], className), ...props, children: measured });
2571
2512
  }
2572
2513
  return /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsxs(Tooltip, { children: [
2573
2514
  /* @__PURE__ */ jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
@@ -2575,7 +2516,7 @@ function FormatDate({
2575
2516
  {
2576
2517
  dateTime: machineValue,
2577
2518
  tabIndex: 0,
2578
- className: cn(styles27["format-date"], styles27["format-date--interactive"], className),
2519
+ className: cn(styles26["format-date"], styles26["format-date--interactive"], className),
2579
2520
  ...props,
2580
2521
  children: measured
2581
2522
  }
@@ -2586,12 +2527,12 @@ function FormatDate({
2586
2527
  var Heading = forwardRef(
2587
2528
  ({ className, as, displayAs, children, ...props }, ref) => {
2588
2529
  const displayClasses = {
2589
- h1: styles28["h1"],
2590
- h2: styles28["h2"],
2591
- h3: styles28["h3"],
2592
- h4: styles28["h4"],
2593
- h5: styles28["h5"],
2594
- h6: styles28["h6"]
2530
+ h1: styles27["h1"],
2531
+ h2: styles27["h2"],
2532
+ h3: styles27["h3"],
2533
+ h4: styles27["h4"],
2534
+ h5: styles27["h5"],
2535
+ h6: styles27["h6"]
2595
2536
  };
2596
2537
  const displayClass = displayClasses[displayAs] || displayClasses[as];
2597
2538
  const HeadingTag = as;
@@ -2608,7 +2549,7 @@ var InfoCard = ({
2608
2549
  onClick,
2609
2550
  ...props
2610
2551
  }) => {
2611
- return /* @__PURE__ */ jsx(Card, { className, onClick, elevation, ...props, children: /* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsxs("div", { className: styles29["info-card-content"], children: [
2552
+ return /* @__PURE__ */ jsx(Card, { className, onClick, elevation, ...props, children: /* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsxs("div", { className: styles28["info-card-content"], children: [
2612
2553
  /* @__PURE__ */ jsx(
2613
2554
  Icon,
2614
2555
  {
@@ -2618,9 +2559,9 @@ var InfoCard = ({
2618
2559
  elevation: elevation === ELEVATION.SUNKEN ? ELEVATION.BASE : getRelativeElevation(elevation, -1)
2619
2560
  }
2620
2561
  ),
2621
- /* @__PURE__ */ jsxs("div", { className: styles29["copy-container"], children: [
2622
- /* @__PURE__ */ jsx("p", { className: styles29["label"], children: label }),
2623
- /* @__PURE__ */ jsx("div", { className: styles29["description"], children: description })
2562
+ /* @__PURE__ */ jsxs("div", { className: styles28["copy-container"], children: [
2563
+ /* @__PURE__ */ jsx("p", { className: styles28["label"], children: label }),
2564
+ /* @__PURE__ */ jsx("div", { className: styles28["description"], children: description })
2624
2565
  ] })
2625
2566
  ] }) }) });
2626
2567
  };
@@ -2654,8 +2595,8 @@ var MotionCollapsibleContent = ({
2654
2595
  onAnimationStart: () => setIsSettled(false),
2655
2596
  onAnimationComplete: () => setIsSettled(isOpen),
2656
2597
  className: cn(
2657
- styles30["motion-collapsible"],
2658
- isSettled && styles30["motion-collapsible--settled"],
2598
+ styles29["motion-collapsible"],
2599
+ isSettled && styles29["motion-collapsible--settled"],
2659
2600
  className
2660
2601
  ),
2661
2602
  children: /* @__PURE__ */ jsx("div", { ref: contentRef, children })
@@ -2685,128 +2626,84 @@ var Input = React15.forwardRef(
2685
2626
  const hasError = hasErrorText || isMarkedInvalid;
2686
2627
  const showHelpText = !!helpText && !hasErrorText;
2687
2628
  const describedBy = [ariaDescribedBy, showHelpText && helpTextId, hasErrorText && errorTextId].filter(Boolean).join(" ") || void 0;
2688
- const errorIcon = /* @__PURE__ */ jsx(TriangleAlert, { className: styles31["input-error-icon"], "aria-hidden": "true" });
2689
- const errorMessage = errorList && errorList.length > 1 ? /* @__PURE__ */ jsx("ul", { id: errorTextId, role: "alert", className: styles31["input-error-list"], children: errorList.map((message) => /* @__PURE__ */ jsxs("li", { className: styles31["input-error-text"], children: [
2629
+ const errorIcon = /* @__PURE__ */ jsx(TriangleAlert, { className: styles30["input-error-icon"], "aria-hidden": "true" });
2630
+ const errorMessage = errorList && errorList.length > 1 ? /* @__PURE__ */ jsx("ul", { id: errorTextId, role: "alert", className: styles30["input-error-list"], children: errorList.map((message) => /* @__PURE__ */ jsxs("li", { className: styles30["input-error-text"], children: [
2690
2631
  errorIcon,
2691
2632
  /* @__PURE__ */ jsx("span", { children: message })
2692
- ] }, message)) }) : /* @__PURE__ */ jsxs("p", { id: errorTextId, role: "alert", className: styles31["input-error-text"], children: [
2633
+ ] }, message)) }) : /* @__PURE__ */ jsxs("p", { id: errorTextId, role: "alert", className: styles30["input-error-text"], children: [
2693
2634
  errorIcon,
2694
2635
  /* @__PURE__ */ jsx("span", { children: errorList ? errorList[0] : errorText })
2695
2636
  ] });
2696
- return /* @__PURE__ */ jsxs("div", { className: cn(styles31["input-container"], containerClassName), children: [
2637
+ return /* @__PURE__ */ jsxs("div", { className: cn(styles30["input-container"], containerClassName), children: [
2697
2638
  /* @__PURE__ */ jsxs(
2698
2639
  "div",
2699
2640
  {
2700
2641
  className: cn(
2701
- styles31["input-wrapper"],
2702
- hasError && styles31["input-wrapper--error"],
2642
+ styles30["input-wrapper"],
2643
+ hasError && styles30["input-wrapper--error"],
2703
2644
  className
2704
2645
  ),
2705
2646
  children: [
2706
- prefix && /* @__PURE__ */ jsx("span", { className: styles31["input-prefix"], children: prefix }),
2647
+ prefix && /* @__PURE__ */ jsx("span", { className: styles30["input-prefix"], children: prefix }),
2707
2648
  /* @__PURE__ */ jsx(
2708
2649
  "input",
2709
2650
  {
2710
2651
  type,
2711
- className: styles31["input-element"],
2652
+ className: styles30["input-element"],
2712
2653
  ref,
2713
2654
  "aria-invalid": isMarkedInvalid ? ariaInvalid : hasErrorText || void 0,
2714
2655
  "aria-describedby": describedBy,
2715
2656
  ...props
2716
2657
  }
2717
2658
  ),
2718
- suffix && /* @__PURE__ */ jsx("span", { className: styles31["input-suffix"], children: suffix })
2659
+ suffix && /* @__PURE__ */ jsx("span", { className: styles30["input-suffix"], children: suffix })
2719
2660
  ]
2720
2661
  }
2721
2662
  ),
2722
2663
  helpText ? hasErrorText && errorMessage : /* @__PURE__ */ jsx(MotionCollapsibleContent, { isOpen: hasErrorText, children: errorMessage }),
2723
- showHelpText && /* @__PURE__ */ jsx("p", { id: helpTextId, className: styles31["input-help-text"], children: helpText })
2664
+ showHelpText && /* @__PURE__ */ jsx("p", { id: helpTextId, className: styles30["input-help-text"], children: helpText })
2724
2665
  ] });
2725
2666
  }
2726
2667
  );
2727
2668
  Input.displayName = "Input";
2728
- var ListOrGridViewToggle = ({
2729
- viewMode,
2730
- onViewModeChange,
2731
- order = ["grid", "list"],
2732
- className
2733
- }) => {
2734
- const currentActiveIndex = order.indexOf(viewMode);
2735
- const handleGridClick = () => {
2736
- onViewModeChange("grid");
2737
- };
2738
- const handleListClick = () => {
2739
- onViewModeChange("list");
2740
- };
2741
- return /* @__PURE__ */ jsxs("div", { className: cn(styles32["list-or-grid-view-toggle"], className), children: [
2742
- order.map((mode) => {
2743
- const currentlyActive = mode === viewMode;
2744
- const Icon3 = mode === "grid" ? Grid3X3 : List;
2745
- return /* @__PURE__ */ jsx(
2746
- "button",
2747
- {
2748
- type: "button",
2749
- "aria-label": mode === "grid" ? "Grid view" : "List view",
2750
- className: cn(
2751
- styles32["icon-button"],
2752
- currentlyActive ? styles32["icon-button--active"] : styles32["icon-button--inactive"]
2753
- ),
2754
- onClick: mode === "grid" ? handleGridClick : handleListClick,
2755
- children: /* @__PURE__ */ jsx(Icon3, { size: 16 })
2756
- },
2757
- mode
2758
- );
2759
- }),
2760
- /* @__PURE__ */ jsx(
2761
- "div",
2762
- {
2763
- className: styles32["active-button-indicator"],
2764
- style: {
2765
- transform: `translateX(${currentActiveIndex * 100}%)`,
2766
- width: `${100 / order.length}%`
2767
- }
2768
- }
2769
- )
2770
- ] });
2771
- };
2772
2669
  var Spinner = ({ size = "md", variant = "primary" }) => {
2773
- return /* @__PURE__ */ jsxs("div", { className: styles33["spinner-container"], children: [
2774
- /* @__PURE__ */ jsx("div", { className: cn(styles33["spinner"], styles33[size], styles33[variant]) }),
2775
- /* @__PURE__ */ jsx("div", { className: cn(styles33["spinner-background"], styles33[size]) })
2670
+ return /* @__PURE__ */ jsxs("div", { className: styles31["spinner-container"], children: [
2671
+ /* @__PURE__ */ jsx("div", { className: cn(styles31["spinner"], styles31[size], styles31[variant]) }),
2672
+ /* @__PURE__ */ jsx("div", { className: cn(styles31["spinner-background"], styles31[size]) })
2776
2673
  ] });
2777
2674
  };
2778
2675
  function LoadingOverlay({ isVisible, message = "Loading..." }) {
2779
2676
  if (!isVisible) return null;
2780
- return /* @__PURE__ */ jsx("div", { className: styles34["loading-overlay"], children: /* @__PURE__ */ jsxs("div", { className: styles34["content"], children: [
2677
+ return /* @__PURE__ */ jsx("div", { className: styles32["loading-overlay"], children: /* @__PURE__ */ jsxs("div", { className: styles32["content"], children: [
2781
2678
  /* @__PURE__ */ jsx(Spinner, { variant: "primary" }),
2782
- /* @__PURE__ */ jsx("p", { className: styles34["message"], children: message })
2679
+ /* @__PURE__ */ jsx("p", { className: styles32["message"], children: message })
2783
2680
  ] }) });
2784
2681
  }
2785
2682
  var metricCardElevationVariants = generateElevationVariants(
2786
- styles35,
2683
+ styles33,
2787
2684
  "metric-card",
2788
2685
  ELEVATION.RAISED
2789
2686
  );
2790
2687
  var VARIANTS = {
2791
2688
  default: {
2792
- text: styles35["text-default"],
2793
- iconBg: styles35["bg-default"]
2689
+ text: styles33["text-default"],
2690
+ iconBg: styles33["bg-default"]
2794
2691
  },
2795
2692
  primary: {
2796
- text: styles35["text-primary"],
2797
- iconBg: styles35["bg-primary"]
2693
+ text: styles33["text-primary"],
2694
+ iconBg: styles33["bg-primary"]
2798
2695
  },
2799
2696
  danger: {
2800
- text: styles35["text-danger"],
2801
- iconBg: styles35["bg-danger"]
2697
+ text: styles33["text-danger"],
2698
+ iconBg: styles33["bg-danger"]
2802
2699
  },
2803
2700
  success: {
2804
- text: styles35["text-success"],
2805
- iconBg: styles35["bg-success"]
2701
+ text: styles33["text-success"],
2702
+ iconBg: styles33["bg-success"]
2806
2703
  },
2807
2704
  warning: {
2808
- text: styles35["text-warning"],
2809
- iconBg: styles35["bg-warning"]
2705
+ text: styles33["text-warning"],
2706
+ iconBg: styles33["bg-warning"]
2810
2707
  }
2811
2708
  };
2812
2709
  var MetricCard = ({
@@ -2819,8 +2716,8 @@ var MetricCard = ({
2819
2716
  }) => {
2820
2717
  const variantStyles = VARIANTS[variant];
2821
2718
  return /* @__PURE__ */ jsxs("div", { className: cn(metricCardElevationVariants({ elevation }), className), children: [
2822
- /* @__PURE__ */ jsxs("div", { className: styles35["value-container"], children: [
2823
- /* @__PURE__ */ jsx("p", { className: cn(styles35.value), children: value }),
2719
+ /* @__PURE__ */ jsxs("div", { className: styles33["value-container"], children: [
2720
+ /* @__PURE__ */ jsx("p", { className: cn(styles33.value), children: value }),
2824
2721
  icon && /* @__PURE__ */ jsx(
2825
2722
  Icon,
2826
2723
  {
@@ -2831,28 +2728,398 @@ var MetricCard = ({
2831
2728
  }
2832
2729
  )
2833
2730
  ] }),
2834
- /* @__PURE__ */ jsx("p", { className: styles35.label, children: label })
2731
+ /* @__PURE__ */ jsx("p", { className: styles33.label, children: label })
2835
2732
  ] });
2836
2733
  };
2837
- var OctagonAlert = AlertOctagon;
2838
- var HomeIcon = Home;
2839
- var NotFound = ({
2840
- className,
2841
- title = "Oops! Page Not Found",
2842
- description = "The page or resource you're looking for doesn't exist or has been moved.",
2843
- showHomeButton = true,
2844
- onHomeClick = () => window.location.href = "/"
2845
- }) => {
2846
- return /* @__PURE__ */ jsx("div", { className: cn(styles36["page-not-found"], className), children: /* @__PURE__ */ jsxs("div", { className: styles36["page-not-found-inner"], children: [
2847
- /* @__PURE__ */ jsx("div", { className: styles36["icon-container"], children: /* @__PURE__ */ jsx(OctagonAlert, { className: styles36["alert-icon"] }) }),
2848
- /* @__PURE__ */ jsx("h1", { className: styles36["title"], children: title }),
2849
- /* @__PURE__ */ jsx("p", { className: styles36["description"], children: description }),
2850
- /* @__PURE__ */ jsx("div", { className: styles36["actions"], children: showHomeButton && /* @__PURE__ */ jsxs(Button, { onClick: onHomeClick, variant: "secondary", children: [
2851
- /* @__PURE__ */ jsx(HomeIcon, { className: styles36["home-icon"] }),
2852
- "Return Home"
2853
- ] }) })
2854
- ] }) });
2734
+ var NavDrillContext = React15.createContext(null);
2735
+ var useIsomorphicLayoutEffect = typeof window === "undefined" ? useEffect : useLayoutEffect;
2736
+ var MOTION = {
2737
+ drill: {
2738
+ current: [
2739
+ { transform: "translateX(12px)", opacity: 0 },
2740
+ { transform: "translateX(0)", opacity: 1 }
2741
+ ],
2742
+ previous: [
2743
+ { transform: "translateX(0)", opacity: 1 },
2744
+ { opacity: 0, offset: 0.35 },
2745
+ { transform: "translateX(-12px)", opacity: 0 }
2746
+ ]
2747
+ },
2748
+ back: {
2749
+ current: [
2750
+ { transform: "translateX(-12px)", opacity: 0 },
2751
+ { transform: "translateX(0)", opacity: 1 }
2752
+ ],
2753
+ previous: [
2754
+ { transform: "translateX(0)", opacity: 1 },
2755
+ { opacity: 0, offset: 0.35 },
2756
+ { transform: "translateX(12px)", opacity: 0 }
2757
+ ]
2758
+ }
2759
+ };
2760
+ var TIMING = { duration: 300, easing: "cubic-bezier(.2, .8, .2, 1)" };
2761
+ var LEVEL = '[data-slot="nav-drill-level"]';
2762
+ var NavDrillBackContext = React15.createContext(() => {
2763
+ });
2764
+ var LEAVING_DRILL_CONTEXT = { requestDrill: () => {
2765
+ }, leaving: true };
2766
+ var NO_BACK = () => {
2855
2767
  };
2768
+ var NavDrill = React15.forwardRef(
2769
+ ({
2770
+ value: valueProp,
2771
+ defaultValue,
2772
+ onValueChange,
2773
+ animate = true,
2774
+ className,
2775
+ children,
2776
+ ...props
2777
+ }, ref) => {
2778
+ const [ownView, setOwnView] = React15.useState(defaultValue);
2779
+ const view = valueProp ?? ownView;
2780
+ const [shownView, setShownView] = React15.useState(view);
2781
+ const [request, setRequest] = React15.useState(null);
2782
+ const [leaving, setLeaving] = React15.useState(null);
2783
+ const rootRef = React15.useRef(null);
2784
+ const ghostRef = React15.useRef(null);
2785
+ const running = React15.useRef([]);
2786
+ const focusRequest = React15.useRef(null);
2787
+ const observer = React15.useRef(null);
2788
+ const previousView = React15.useRef(view);
2789
+ const level = React15.Children.toArray(children).find(
2790
+ (child) => React15.isValidElement(child) && child.props.value === view
2791
+ ) ?? null;
2792
+ if (view !== shownView) {
2793
+ setShownView(view);
2794
+ setRequest(null);
2795
+ setLeaving(
2796
+ request?.slide && request.view === view && request.element && level ? {
2797
+ element: request.element,
2798
+ direction: request.direction,
2799
+ top: request.top,
2800
+ id: (leaving?.id ?? 0) + 1
2801
+ } : null
2802
+ );
2803
+ }
2804
+ const liveLevel = () => rootRef.current?.querySelector(`:scope > ${LEVEL}`) ?? null;
2805
+ const tryFocus = () => {
2806
+ const pending = focusRequest.current;
2807
+ const root = rootRef.current;
2808
+ if (!pending?.landed || !root) return;
2809
+ const active = document.activeElement;
2810
+ if (active && active !== document.body && !root.contains(active)) {
2811
+ focusRequest.current = null;
2812
+ return;
2813
+ }
2814
+ const live = liveLevel();
2815
+ const target = pending.direction === "drill" ? live?.querySelector('[data-slot="nav-drill-back"]') ?? live?.querySelector('[data-slot="nav-list-item"]') : live?.querySelector(`[data-drill="${CSS.escape(pending.from ?? "")}"]`) ?? live?.querySelector('[aria-current="page"]');
2816
+ if (!target) return;
2817
+ focusRequest.current = null;
2818
+ observer.current?.disconnect();
2819
+ target.focus({ preventScroll: true });
2820
+ target.scrollIntoView({ block: "nearest" });
2821
+ };
2822
+ const makeRequest = (target, direction) => {
2823
+ const reduced = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
2824
+ setRequest({
2825
+ view: target,
2826
+ direction,
2827
+ element: level,
2828
+ top: liveLevel()?.getBoundingClientRect().top ?? 0,
2829
+ slide: animate && !reduced
2830
+ });
2831
+ focusRequest.current = { direction, view: target, from: view, landed: false };
2832
+ observer.current?.disconnect();
2833
+ if (direction === "back" && rootRef.current) {
2834
+ observer.current ??= new MutationObserver(() => tryFocus());
2835
+ observer.current.observe(rootRef.current, { childList: true, subtree: true });
2836
+ }
2837
+ if (valueProp === void 0) setOwnView(target);
2838
+ onValueChange?.(target, direction);
2839
+ };
2840
+ const makeRequestRef = React15.useRef(makeRequest);
2841
+ useIsomorphicLayoutEffect(() => {
2842
+ makeRequestRef.current = makeRequest;
2843
+ });
2844
+ const drillContext = React15.useMemo(
2845
+ () => ({
2846
+ requestDrill: (target) => makeRequestRef.current(target, "drill"),
2847
+ leaving: false
2848
+ }),
2849
+ []
2850
+ );
2851
+ const requestBack = React15.useCallback(
2852
+ (parent) => makeRequestRef.current(parent, "back"),
2853
+ []
2854
+ );
2855
+ useIsomorphicLayoutEffect(() => {
2856
+ if (previousView.current === view) return;
2857
+ previousView.current = view;
2858
+ const pending = focusRequest.current;
2859
+ if (pending && !pending.landed && pending.view === view) pending.landed = true;
2860
+ else {
2861
+ focusRequest.current = null;
2862
+ observer.current?.disconnect();
2863
+ }
2864
+ const scroller = rootRef.current?.closest("[data-nav-scroller]");
2865
+ if (scroller) scroller.scrollTop = 0;
2866
+ }, [view]);
2867
+ useIsomorphicLayoutEffect(() => {
2868
+ running.current.forEach((animation) => animation.cancel());
2869
+ running.current = [];
2870
+ const live = liveLevel();
2871
+ const ghost = ghostRef.current;
2872
+ const ghostLevel = ghost?.querySelector(LEVEL);
2873
+ if (!leaving || !live || !ghost || !ghostLevel) return;
2874
+ ghostLevel.style.marginTop = `${leaving.top - live.getBoundingClientRect().top}px`;
2875
+ const animations = [
2876
+ live.animate(MOTION[leaving.direction].current, TIMING),
2877
+ ghost.animate(MOTION[leaving.direction].previous, TIMING)
2878
+ ];
2879
+ running.current = animations;
2880
+ Promise.all(animations.map((animation) => animation.finished)).then(
2881
+ () => {
2882
+ ghost.style.visibility = "hidden";
2883
+ setLeaving((current) => current === leaving ? null : current);
2884
+ },
2885
+ // Cancelled by a later change, which owns the ghost now
2886
+ () => {
2887
+ }
2888
+ );
2889
+ }, [leaving]);
2890
+ React15.useEffect(() => {
2891
+ tryFocus();
2892
+ });
2893
+ React15.useEffect(() => {
2894
+ const dropOutside = (event) => {
2895
+ if (rootRef.current?.contains(event.target)) return;
2896
+ focusRequest.current = null;
2897
+ observer.current?.disconnect();
2898
+ setRequest((current) => current ? null : current);
2899
+ };
2900
+ const events = ["pointerdown", "keydown", "focusin"];
2901
+ events.forEach((type) => document.addEventListener(type, dropOutside, true));
2902
+ return () => {
2903
+ events.forEach((type) => document.removeEventListener(type, dropOutside, true));
2904
+ running.current.forEach((animation) => animation.cancel());
2905
+ observer.current?.disconnect();
2906
+ };
2907
+ }, []);
2908
+ const setRootRef = React15.useCallback(
2909
+ (node) => {
2910
+ rootRef.current = node;
2911
+ if (typeof ref === "function") ref(node);
2912
+ else if (ref) ref.current = node;
2913
+ },
2914
+ [ref]
2915
+ );
2916
+ const setGhostRef = React15.useCallback((node) => {
2917
+ ghostRef.current = node;
2918
+ if (node) node.inert = true;
2919
+ }, []);
2920
+ return /* @__PURE__ */ jsxs(
2921
+ "div",
2922
+ {
2923
+ ref: setRootRef,
2924
+ "data-slot": "nav-drill",
2925
+ "data-motion": leaving?.direction,
2926
+ className: cn(styles35["nav-drill"], className),
2927
+ ...props,
2928
+ children: [
2929
+ /* @__PURE__ */ jsx(NavDrillContext.Provider, { value: drillContext, children: /* @__PURE__ */ jsx(NavDrillBackContext.Provider, { value: requestBack, children: level && /* @__PURE__ */ jsx(React15.Fragment, { children: level }, view) }) }),
2930
+ leaving && /* @__PURE__ */ jsx(
2931
+ "div",
2932
+ {
2933
+ ref: setGhostRef,
2934
+ "data-slot": "nav-drill-ghost",
2935
+ "data-motion": leaving.direction,
2936
+ "aria-hidden": "true",
2937
+ className: styles35["nav-drill-ghost"],
2938
+ children: /* @__PURE__ */ jsx(NavDrillContext.Provider, { value: LEAVING_DRILL_CONTEXT, children: /* @__PURE__ */ jsx(NavDrillBackContext.Provider, { value: NO_BACK, children: leaving.element }) })
2939
+ },
2940
+ leaving.id
2941
+ )
2942
+ ]
2943
+ }
2944
+ );
2945
+ }
2946
+ );
2947
+ NavDrill.displayName = "NavDrill";
2948
+ var NavDrillLevel = React15.forwardRef(
2949
+ ({ value, parent, label, backLabel, className, children, ...props }, ref) => {
2950
+ const requestBack = React15.useContext(NavDrillBackContext);
2951
+ React15.useEffect(() => {
2952
+ if (typeof process !== "undefined" && process.env.NODE_ENV !== "production" && parent !== void 0 && backLabel && label && !backLabel.startsWith(label)) {
2953
+ console.warn(
2954
+ `NavDrillLevel: backLabel "${backLabel}" must start with label "${label}", so voice users can say what they see (WCAG 2.5.3)`
2955
+ );
2956
+ }
2957
+ }, [parent, label, backLabel]);
2958
+ return /* @__PURE__ */ jsxs(
2959
+ "div",
2960
+ {
2961
+ ref,
2962
+ "data-slot": "nav-drill-level",
2963
+ "data-value": value,
2964
+ className: cn(styles35["nav-drill-level"], className),
2965
+ ...props,
2966
+ children: [
2967
+ parent !== void 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
2968
+ /* @__PURE__ */ jsxs(
2969
+ "button",
2970
+ {
2971
+ type: "button",
2972
+ "data-slot": "nav-drill-back",
2973
+ "aria-label": backLabel ?? `${label}, back`,
2974
+ className: cn(styles35["nav-list-item"], styles35["nav-list-item--back"]),
2975
+ onClick: () => requestBack(parent),
2976
+ children: [
2977
+ /* @__PURE__ */ jsx("span", { className: styles35["nav-list-item-prefix"], "aria-hidden": "true", children: /* @__PURE__ */ jsx(ChevronLeft, {}) }),
2978
+ /* @__PURE__ */ jsx("span", { className: styles35["nav-list-item-label"], title: label, children: label })
2979
+ ]
2980
+ }
2981
+ ),
2982
+ /* @__PURE__ */ jsx("hr", { className: styles35["nav-drill-rule"] })
2983
+ ] }),
2984
+ children
2985
+ ]
2986
+ }
2987
+ );
2988
+ }
2989
+ );
2990
+ NavDrillLevel.displayName = "NavDrillLevel";
2991
+ var ListDepthContext = React15.createContext(0);
2992
+ var NavList = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn(styles35["nav-list"], className), ...props }));
2993
+ NavList.displayName = "NavList";
2994
+ var NavListGroup = React15.forwardRef(
2995
+ ({ label, className, children, ...props }, ref) => {
2996
+ const labelId = React15.useId();
2997
+ const depth = React15.useContext(ListDepthContext);
2998
+ const group = /* @__PURE__ */ jsxs(
2999
+ "div",
3000
+ {
3001
+ ref,
3002
+ className: cn(
3003
+ styles35["nav-list-group"],
3004
+ !label && styles35["nav-list-group--unlabelled"],
3005
+ className
3006
+ ),
3007
+ ...props,
3008
+ children: [
3009
+ label && /* @__PURE__ */ jsx("div", { id: labelId, className: styles35["nav-list-group-label"], children: label }),
3010
+ /* @__PURE__ */ jsx(
3011
+ "ul",
3012
+ {
3013
+ "data-depth": depth,
3014
+ "aria-labelledby": label ? labelId : void 0,
3015
+ className: styles35["nav-list-items"],
3016
+ children: /* @__PURE__ */ jsx(ListDepthContext.Provider, { value: depth + 1, children })
3017
+ }
3018
+ )
3019
+ ]
3020
+ }
3021
+ );
3022
+ return depth > 0 ? /* @__PURE__ */ jsx("li", { children: group }) : group;
3023
+ }
3024
+ );
3025
+ NavListGroup.displayName = "NavListGroup";
3026
+ var NavListItem = React15.forwardRef(
3027
+ ({
3028
+ label,
3029
+ prefix,
3030
+ suffix,
3031
+ current = false,
3032
+ drill,
3033
+ asChild = false,
3034
+ className,
3035
+ children,
3036
+ onClick,
3037
+ ...props
3038
+ }, ref) => {
3039
+ const drillContext = React15.useContext(NavDrillContext);
3040
+ const Comp = asChild ? Slot : props.href ? "a" : "button";
3041
+ const leaving = drillContext?.leaving ?? false;
3042
+ const handleClick = (event) => {
3043
+ onClick?.(event);
3044
+ if (!drill || !drillContext) return;
3045
+ if (event.button !== 0 || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey)
3046
+ return;
3047
+ drillContext.requestDrill(drill);
3048
+ };
3049
+ return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(
3050
+ Comp,
3051
+ {
3052
+ ref,
3053
+ type: Comp === "button" ? "button" : void 0,
3054
+ "data-slot": "nav-list-item",
3055
+ "data-drill": drill,
3056
+ "aria-current": current && !leaving ? "page" : void 0,
3057
+ "data-current": current && leaving ? "page" : void 0,
3058
+ className: cn(styles35["nav-list-item"], className),
3059
+ onClick: handleClick,
3060
+ ...props,
3061
+ children: [
3062
+ prefix && /* @__PURE__ */ jsx("span", { className: styles35["nav-list-item-prefix"], "aria-hidden": "true", children: prefix }),
3063
+ /* @__PURE__ */ jsx("span", { className: styles35["nav-list-item-label"], title: label, children: label }),
3064
+ /* @__PURE__ */ jsx(Slottable, { children }),
3065
+ suffix && /* @__PURE__ */ jsx("span", { className: styles35["nav-list-item-suffix"], children: suffix }),
3066
+ drill && /* @__PURE__ */ jsx("span", { className: styles35["nav-list-item-caret"], "aria-hidden": "true", children: /* @__PURE__ */ jsx(ChevronRight, {}) })
3067
+ ]
3068
+ }
3069
+ ) });
3070
+ }
3071
+ );
3072
+ NavListItem.displayName = "NavListItem";
3073
+ var NavListSeparator = React15.forwardRef(
3074
+ ({ className, ...props }, ref) => {
3075
+ const nested = React15.useContext(ListDepthContext) > 0;
3076
+ const Comp = nested ? "li" : "hr";
3077
+ return /* @__PURE__ */ jsx(
3078
+ Comp,
3079
+ {
3080
+ ref,
3081
+ role: nested ? "separator" : void 0,
3082
+ className: cn(styles35["nav-list-separator"], className),
3083
+ ...props
3084
+ }
3085
+ );
3086
+ }
3087
+ );
3088
+ NavListSeparator.displayName = "NavListSeparator";
3089
+ var NavPanel = React15.forwardRef(
3090
+ ({ header, className, children, ...props }, ref) => /* @__PURE__ */ jsx("nav", { ref, className: cn(styles40["nav-panel"], className), ...props, children: /* @__PURE__ */ jsxs("div", { className: styles40["nav-scroller"], "data-nav-scroller": "", children: [
3091
+ header && /* @__PURE__ */ jsx("div", { className: styles40["nav-panel-header"], children: header }),
3092
+ children
3093
+ ] }) })
3094
+ );
3095
+ NavPanel.displayName = "NavPanel";
3096
+ var NavRail = React15.forwardRef(
3097
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx("nav", { ref, className: cn(styles40["nav-rail"], className), ...props, children: /* @__PURE__ */ jsx("div", { className: styles40["nav-scroller"], children: /* @__PURE__ */ jsx(TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ jsx("ul", { className: styles40["nav-rail-list"], children }) }) }) })
3098
+ );
3099
+ NavRail.displayName = "NavRail";
3100
+ var NavRailItem = React15.forwardRef(
3101
+ ({ icon, label, current = false, asChild = false, className, children, ...props }, ref) => {
3102
+ const Comp = asChild ? Slot : "a";
3103
+ return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(Tooltip, { children: [
3104
+ /* @__PURE__ */ jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(
3105
+ Comp,
3106
+ {
3107
+ ref,
3108
+ "aria-label": label,
3109
+ "aria-current": current ? "page" : void 0,
3110
+ className: cn(styles40["nav-rail-item"], className),
3111
+ ...props,
3112
+ children: [
3113
+ /* @__PURE__ */ jsx("span", { "aria-hidden": "true", children: icon }),
3114
+ /* @__PURE__ */ jsx(Slottable, { children })
3115
+ ]
3116
+ }
3117
+ ) }),
3118
+ /* @__PURE__ */ jsx(TooltipContent, { side: "right", children: label })
3119
+ ] }) });
3120
+ }
3121
+ );
3122
+ NavRailItem.displayName = "NavRailItem";
2856
3123
  var CheckIcon3 = Check;
2857
3124
  var ChevronDownIcon2 = ChevronDown;
2858
3125
  var SearchIcon3 = Search;
@@ -2902,14 +3169,14 @@ var SelectGroup = React15.forwardRef(({ hidden, ...props }, ref) => {
2902
3169
  });
2903
3170
  SelectGroup.displayName = SelectPrimitive.Group.displayName;
2904
3171
  var SelectValue = SelectPrimitive.Value;
2905
- var SelectTrigger = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(SelectPrimitive.Trigger, { ref, className: cn(styles37["select-trigger"], className), ...props, children: [
3172
+ var SelectTrigger = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(SelectPrimitive.Trigger, { ref, className: cn(styles38["select-trigger"], className), ...props, children: [
2906
3173
  children,
2907
- /* @__PURE__ */ jsx(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx(ChevronDownIcon2, { className: cn(styles37["select-icon"], styles37["select-icon--low-opacity"]) }) })
3174
+ /* @__PURE__ */ jsx(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx(ChevronDownIcon2, { className: cn(styles38["select-icon"], styles38["select-icon--low-opacity"]) }) })
2908
3175
  ] }));
2909
3176
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
2910
3177
  var SelectPortal = ({ children }) => /* @__PURE__ */ jsx(SelectPrimitive.Portal, { container: usePortalContainer(), children });
2911
3178
  var selectContentElevationVariants = generateElevationVariants(
2912
- styles37,
3179
+ styles38,
2913
3180
  "select-content",
2914
3181
  ELEVATION.OVERLAY
2915
3182
  );
@@ -2962,8 +3229,8 @@ var SelectContent = React15.forwardRef(
2962
3229
  {
2963
3230
  ref: composedContentRef,
2964
3231
  className: cn(
2965
- styles37["select-content"],
2966
- position === "popper" && styles37["select-content--popper"],
3232
+ styles38["select-content"],
3233
+ position === "popper" && styles38["select-content--popper"],
2967
3234
  selectContentElevationVariants({ elevation }),
2968
3235
  className
2969
3236
  ),
@@ -2981,13 +3248,13 @@ var SelectContent = React15.forwardRef(
2981
3248
  },
2982
3249
  ...props,
2983
3250
  children: [
2984
- ctx?.enabled ? /* @__PURE__ */ jsx("div", { className: styles37["select-sr-status"], role: "status", "aria-live": "polite", children: searching && resultCount > 0 ? formatResultCount(resultCount) : null }) : null,
3251
+ ctx?.enabled ? /* @__PURE__ */ jsx("div", { className: styles38["select-sr-status"], role: "status", "aria-live": "polite", children: searching && resultCount > 0 ? formatResultCount(resultCount) : null }) : null,
2985
3252
  /* @__PURE__ */ jsx(
2986
3253
  SelectPrimitive.Viewport,
2987
3254
  {
2988
3255
  className: cn(
2989
- styles37["select-viewport"],
2990
- position === "popper" && styles37["select-viewport--popper"]
3256
+ styles38["select-viewport"],
3257
+ position === "popper" && styles38["select-viewport--popper"]
2991
3258
  ),
2992
3259
  children
2993
3260
  }
@@ -3014,15 +3281,15 @@ var SelectSearch = React15.forwardRef(
3014
3281
  }
3015
3282
  const { ref, isRendered } = useSearchInput(ctx, alwaysVisible, forwardedRef);
3016
3283
  if (!isRendered) return null;
3017
- return /* @__PURE__ */ jsxs("div", { className: styles37["select-search"], children: [
3018
- /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: styles37["select-search-icon"], children: icon ?? /* @__PURE__ */ jsx(SearchIcon3, { className: cn(styles37["select-icon"], styles37["select-icon--sm"]) }) }),
3284
+ return /* @__PURE__ */ jsxs("div", { className: styles38["select-search"], children: [
3285
+ /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: styles38["select-search-icon"], children: icon ?? /* @__PURE__ */ jsx(SearchIcon3, { className: cn(styles38["select-icon"], styles38["select-icon--sm"]) }) }),
3019
3286
  /* @__PURE__ */ jsx(
3020
3287
  "input",
3021
3288
  {
3022
3289
  ...props,
3023
3290
  ref,
3024
3291
  "data-select-search": "",
3025
- className: cn(styles37["select-search-input"], className),
3292
+ className: cn(styles38["select-search-input"], className),
3026
3293
  value: ctx.query,
3027
3294
  placeholder,
3028
3295
  "aria-label": ariaLabel ?? placeholder,
@@ -3059,7 +3326,7 @@ var SelectEmpty = ({ className, children, ...props }) => {
3059
3326
  ...props,
3060
3327
  role: "status",
3061
3328
  "aria-live": "polite",
3062
- className: isEmpty ? cn(styles37["select-empty"], className) : void 0,
3329
+ className: isEmpty ? cn(styles38["select-empty"], className) : void 0,
3063
3330
  children: isEmpty ? children : null
3064
3331
  }
3065
3332
  );
@@ -3071,7 +3338,7 @@ var SelectLabel = React15.forwardRef(({ className, hidden, ...props }, ref) => {
3071
3338
  SelectPrimitive.Label,
3072
3339
  {
3073
3340
  ref,
3074
- className: cn(styles37["select-label"], className),
3341
+ className: cn(styles38["select-label"], className),
3075
3342
  ...props,
3076
3343
  hidden: hidden || searching || void 0
3077
3344
  }
@@ -3086,14 +3353,14 @@ var SelectItem = React15.forwardRef(({ className, children, textValue, hidden, p
3086
3353
  SelectPrimitive.Item,
3087
3354
  {
3088
3355
  ref,
3089
- className: cn(styles37["select-item"], className),
3356
+ className: cn(styles38["select-item"], className),
3090
3357
  ...props,
3091
3358
  "data-persistent": persistent ? "" : void 0,
3092
3359
  textValue,
3093
3360
  hidden: hidden || !matches || void 0,
3094
3361
  children: [
3095
- /* @__PURE__ */ jsx("span", { className: styles37["select-item-indicator"], children: /* @__PURE__ */ jsx(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckIcon3, { className: styles37["select-icon"] }) }) }),
3096
- /* @__PURE__ */ jsx("span", { className: styles37["select-item-text"], children: /* @__PURE__ */ jsx(SelectPrimitive.ItemText, { children }) })
3362
+ /* @__PURE__ */ jsx("span", { className: styles38["select-item-indicator"], children: /* @__PURE__ */ jsx(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckIcon3, { className: styles38["select-icon"] }) }) }),
3363
+ /* @__PURE__ */ jsx("span", { className: styles38["select-item-text"], children: /* @__PURE__ */ jsx(SelectPrimitive.ItemText, { children }) })
3097
3364
  ]
3098
3365
  }
3099
3366
  );
@@ -3106,12 +3373,156 @@ var SelectSeparator = React15.forwardRef(({ className, persistent, ...props }, r
3106
3373
  SelectPrimitive.Separator,
3107
3374
  {
3108
3375
  ref,
3109
- className: cn(styles37["select-separator"], className),
3376
+ className: cn(styles38["select-separator"], className),
3110
3377
  ...props
3111
3378
  }
3112
3379
  );
3113
3380
  });
3114
3381
  SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
3382
+
3383
+ // src/components/select/select-typeahead.ts
3384
+ var blockClosedTypeahead = (event) => {
3385
+ const typed = event.key.length === 1 && event.key !== " ";
3386
+ if (typed && !event.ctrlKey && !event.metaKey && !event.altKey) event.preventDefault();
3387
+ };
3388
+ function Skeleton({ className, ...props }) {
3389
+ return /* @__PURE__ */ jsx("div", { className: cn(styles39["skeleton"], className), ...props });
3390
+ }
3391
+ var NavSwitcherSelect = React15.forwardRef(
3392
+ ({ label, noun, collection, options, value, onValueChange, onHighlight, onHighlightEnd, action }, ref) => {
3393
+ const labelId = React15.useId();
3394
+ const actionValue = React15.useId();
3395
+ const actionPending = React15.useRef(false);
3396
+ if (options.length <= 1 && !action) {
3397
+ return /* @__PURE__ */ jsx("h2", { className: styles40["nav-switcher-heading"], children: /* @__PURE__ */ jsx(
3398
+ "span",
3399
+ {
3400
+ className: cn(styles40["nav-switcher-plain"], styles40["nav-switcher-name"]),
3401
+ title: label,
3402
+ children: label
3403
+ }
3404
+ ) });
3405
+ }
3406
+ return /* @__PURE__ */ jsx("h2", { "aria-labelledby": labelId, className: styles40["nav-switcher-heading"], children: /* @__PURE__ */ jsxs(
3407
+ Select,
3408
+ {
3409
+ value,
3410
+ onValueChange: (next) => {
3411
+ if (next === actionValue) actionPending.current = true;
3412
+ else onValueChange(next);
3413
+ },
3414
+ children: [
3415
+ /* @__PURE__ */ jsxs(
3416
+ SelectTrigger,
3417
+ {
3418
+ ref,
3419
+ "aria-label": `${label}, switch ${noun}`,
3420
+ className: styles40["nav-switcher"],
3421
+ onKeyDown: blockClosedTypeahead,
3422
+ children: [
3423
+ /* @__PURE__ */ jsx(
3424
+ "span",
3425
+ {
3426
+ id: labelId,
3427
+ className: cn(styles40["nav-switcher-label"], styles40["nav-switcher-name"]),
3428
+ title: label,
3429
+ children: label
3430
+ }
3431
+ ),
3432
+ /* @__PURE__ */ jsx(ChevronsUpDown, { className: styles40["nav-switcher-icon"], "aria-hidden": "true" })
3433
+ ]
3434
+ }
3435
+ ),
3436
+ /* @__PURE__ */ jsxs(
3437
+ SelectContent,
3438
+ {
3439
+ className: styles40["nav-switcher-list"],
3440
+ onCloseAutoFocus: () => {
3441
+ if (!actionPending.current) return;
3442
+ actionPending.current = false;
3443
+ action?.onSelect();
3444
+ },
3445
+ children: [
3446
+ /* @__PURE__ */ jsx(
3447
+ SelectSearch,
3448
+ {
3449
+ placeholder: `Search ${collection}...`,
3450
+ "aria-label": `Search ${collection}`
3451
+ }
3452
+ ),
3453
+ /* @__PURE__ */ jsxs(SelectEmpty, { children: [
3454
+ "No ",
3455
+ collection,
3456
+ " found"
3457
+ ] }),
3458
+ options.map((option) => /* @__PURE__ */ jsx(
3459
+ SelectItem,
3460
+ {
3461
+ value: option.value,
3462
+ textValue: [option.label, ...option.keywords ?? []].join(" "),
3463
+ onPointerEnter: () => onHighlight?.(option.value),
3464
+ onPointerLeave: onHighlightEnd,
3465
+ onFocus: () => onHighlight?.(option.value),
3466
+ onBlur: onHighlightEnd,
3467
+ children: /* @__PURE__ */ jsx("span", { className: styles40["nav-switcher-option"], title: option.label, children: option.label })
3468
+ },
3469
+ option.value
3470
+ )),
3471
+ action && /* @__PURE__ */ jsxs("div", { className: styles40["nav-switcher-footer"], children: [
3472
+ /* @__PURE__ */ jsx(SelectSeparator, { persistent: true }),
3473
+ /* @__PURE__ */ jsx(
3474
+ SelectItem,
3475
+ {
3476
+ value: actionValue,
3477
+ textValue: action.label,
3478
+ persistent: true,
3479
+ className: styles40["nav-switcher-action"],
3480
+ children: /* @__PURE__ */ jsx("span", { className: buttonVariants({ variant: "link", size: "sm" }), children: action.label })
3481
+ }
3482
+ )
3483
+ ] })
3484
+ ]
3485
+ }
3486
+ )
3487
+ ]
3488
+ }
3489
+ ) });
3490
+ }
3491
+ );
3492
+ NavSwitcherSelect.displayName = "NavSwitcherSelect";
3493
+ var NavSwitcher = React15.forwardRef(
3494
+ (props, ref) => props.loading ? /* @__PURE__ */ jsxs(
3495
+ "div",
3496
+ {
3497
+ className: cn(styles40["nav-switcher-heading"], styles40["nav-switcher-placeholder"]),
3498
+ "aria-busy": "true",
3499
+ children: [
3500
+ /* @__PURE__ */ jsx(Skeleton, { className: styles40["nav-switcher-skeleton"] }),
3501
+ /* @__PURE__ */ jsx("span", { className: styles40["nav-switcher-loading-label"], children: "Loading" })
3502
+ ]
3503
+ }
3504
+ ) : /* @__PURE__ */ jsx(NavSwitcherSelect, { ref, ...props })
3505
+ );
3506
+ NavSwitcher.displayName = "NavSwitcher";
3507
+ var OctagonAlert = AlertOctagon;
3508
+ var HomeIcon = Home;
3509
+ var NotFound = ({
3510
+ className,
3511
+ title = "Oops! Page Not Found",
3512
+ description = "The page or resource you're looking for doesn't exist or has been moved.",
3513
+ showHomeButton = true,
3514
+ onHomeClick = () => window.location.href = "/"
3515
+ }) => {
3516
+ return /* @__PURE__ */ jsx("div", { className: cn(styles41["page-not-found"], className), children: /* @__PURE__ */ jsxs("div", { className: styles41["page-not-found-inner"], children: [
3517
+ /* @__PURE__ */ jsx("div", { className: styles41["icon-container"], children: /* @__PURE__ */ jsx(OctagonAlert, { className: styles41["alert-icon"] }) }),
3518
+ /* @__PURE__ */ jsx("h1", { className: styles41["title"], children: title }),
3519
+ /* @__PURE__ */ jsx("p", { className: styles41["description"], children: description }),
3520
+ /* @__PURE__ */ jsx("div", { className: styles41["actions"], children: showHomeButton && /* @__PURE__ */ jsxs(Button, { onClick: onHomeClick, variant: "secondary", children: [
3521
+ /* @__PURE__ */ jsx(HomeIcon, { className: styles41["home-icon"] }),
3522
+ "Return Home"
3523
+ ] }) })
3524
+ ] }) });
3525
+ };
3115
3526
  var ChevronLeftIcon2 = ChevronLeft;
3116
3527
  var ChevronRightIcon3 = ChevronRight;
3117
3528
  var ChevronsLeftIcon = ChevronsLeft;
@@ -3154,10 +3565,6 @@ var Pagination = ({
3154
3565
  scrollTargetRef.current.scrollIntoView({ behavior: "smooth" });
3155
3566
  }
3156
3567
  }
3157
- const viewport = document.querySelector("[data-radix-scroll-area-viewport]");
3158
- if (viewport) {
3159
- viewport.scrollTop = 0;
3160
- }
3161
3568
  }
3162
3569
  };
3163
3570
  const handleItemsPerPageChange = (value) => {
@@ -3210,8 +3617,8 @@ var Pagination = ({
3210
3617
  }
3211
3618
  return pageButtons;
3212
3619
  };
3213
- return /* @__PURE__ */ jsxs("div", { className: cn(styles38["pagination"], className), children: [
3214
- /* @__PURE__ */ jsx("div", { className: styles38["info-container"], children: showInfo && hasFilteredItems && /* @__PURE__ */ jsxs(Fragment, { children: [
3620
+ return /* @__PURE__ */ jsxs("div", { className: cn(styles42["pagination"], className), children: [
3621
+ /* @__PURE__ */ jsx("div", { className: styles42["info-container"], children: showInfo && hasFilteredItems && /* @__PURE__ */ jsxs(Fragment, { children: [
3215
3622
  /* @__PURE__ */ jsxs("span", { children: [
3216
3623
  "Showing ",
3217
3624
  startItem,
@@ -3221,7 +3628,7 @@ var Pagination = ({
3221
3628
  /* @__PURE__ */ jsx(
3222
3629
  SelectTrigger,
3223
3630
  {
3224
- className: styles38["items-per-page-trigger"],
3631
+ className: styles42["items-per-page-trigger"],
3225
3632
  "aria-label": "Items per page",
3226
3633
  children: /* @__PURE__ */ jsx(SelectValue, {})
3227
3634
  }
@@ -3235,7 +3642,7 @@ var Pagination = ({
3235
3642
  type
3236
3643
  ] })
3237
3644
  ] }) }),
3238
- /* @__PURE__ */ jsxs("nav", { className: styles38["page-navigation-container"], "aria-label": "Pagination", children: [
3645
+ /* @__PURE__ */ jsxs("nav", { className: styles42["page-navigation-container"], "aria-label": "Pagination", children: [
3239
3646
  showFirstLastButtons && /* @__PURE__ */ jsx(
3240
3647
  Button,
3241
3648
  {
@@ -3285,13 +3692,13 @@ var Pagination = ({
3285
3692
  ] });
3286
3693
  };
3287
3694
  var PanelLabel = ({ className, label }) => {
3288
- return /* @__PURE__ */ jsx("div", { className: cn(styles39["panel-label"], className), children: label });
3695
+ return /* @__PURE__ */ jsx("div", { className: cn(styles43["panel-label"], className), children: label });
3289
3696
  };
3290
3697
  var Progress = React15.forwardRef(
3291
- ({ className, value, color = "primary", ...props }, ref) => /* @__PURE__ */ jsx(ProgressPrimitive.Root, { ref, className: cn(styles40["progress"], className), ...props, children: /* @__PURE__ */ jsx(
3698
+ ({ className, value, color = "primary", ...props }, ref) => /* @__PURE__ */ jsx(ProgressPrimitive.Root, { ref, className: cn(styles44["progress"], className), ...props, children: /* @__PURE__ */ jsx(
3292
3699
  ProgressPrimitive.Indicator,
3293
3700
  {
3294
- className: cn(styles40["progress-indicator"], styles40[color]),
3701
+ className: cn(styles44["progress-indicator"], styles44[color]),
3295
3702
  style: { transform: `translateX(-${100 - (value || 0)}%)` }
3296
3703
  }
3297
3704
  ) })
@@ -3313,29 +3720,29 @@ var STATUS_LABELS = {
3313
3720
  info: "Information",
3314
3721
  danger: "Error"
3315
3722
  };
3316
- var layoutVariants = cva(styles41["progress-indicator"], {
3723
+ var layoutVariants = cva(styles45["progress-indicator"], {
3317
3724
  variants: {
3318
3725
  layout: {
3319
- horizontal: styles41["progress-indicator--horizontal"],
3320
- vertical: styles41["progress-indicator--vertical"]
3726
+ horizontal: styles45["progress-indicator--horizontal"],
3727
+ vertical: styles45["progress-indicator--vertical"]
3321
3728
  }
3322
3729
  },
3323
3730
  defaultVariants: {
3324
3731
  layout: "horizontal"
3325
3732
  }
3326
3733
  });
3327
- var markerVariants = cva(styles41["progress-indicator-step-marker"], {
3734
+ var markerVariants = cva(styles45["progress-indicator-step-marker"], {
3328
3735
  variants: {
3329
3736
  status: {
3330
3737
  editing: "",
3331
3738
  empty: "",
3332
3739
  neutral: "",
3333
3740
  info: "",
3334
- success: styles41["progress-indicator-step-marker--success"],
3335
- danger: styles41["progress-indicator-step-marker--danger"]
3741
+ success: styles45["progress-indicator-step-marker--success"],
3742
+ danger: styles45["progress-indicator-step-marker--danger"]
3336
3743
  },
3337
3744
  active: {
3338
- true: styles41["progress-indicator-step-marker--active"],
3745
+ true: styles45["progress-indicator-step-marker--active"],
3339
3746
  false: ""
3340
3747
  }
3341
3748
  },
@@ -3376,18 +3783,18 @@ function ProgressIndicator({
3376
3783
  });
3377
3784
  const Container = interactive ? "nav" : "div";
3378
3785
  return /* @__PURE__ */ jsxs(Container, { className: cn(layoutVariants({ layout }), className), ...props, children: [
3379
- /* @__PURE__ */ jsx("div", { className: styles41["progress-indicator-track"], "aria-hidden": "true", children: /* @__PURE__ */ jsx(
3786
+ /* @__PURE__ */ jsx("div", { className: styles45["progress-indicator-track"], "aria-hidden": "true", children: /* @__PURE__ */ jsx(
3380
3787
  Progress,
3381
3788
  {
3382
3789
  value: 100,
3383
3790
  color: "primary",
3384
- className: styles41["progress-indicator-rail"],
3791
+ className: styles45["progress-indicator-rail"],
3385
3792
  style: {
3386
3793
  "--pi-fill-size": `${fillSize}%`
3387
3794
  }
3388
3795
  }
3389
3796
  ) }),
3390
- /* @__PURE__ */ jsx("ul", { className: styles41["progress-indicator-steps"], "aria-label": ariaLabel, children: steps })
3797
+ /* @__PURE__ */ jsx("ul", { className: styles45["progress-indicator-steps"], "aria-label": ariaLabel, children: steps })
3391
3798
  ] });
3392
3799
  }
3393
3800
  function ProgressIndicatorStep({
@@ -3419,15 +3826,15 @@ function ProgressIndicatorStep({
3419
3826
  className: markerVariants({ status: effectiveStatus, active })
3420
3827
  }
3421
3828
  ),
3422
- /* @__PURE__ */ jsxs("span", { className: styles41["progress-indicator-step-text"], children: [
3423
- /* @__PURE__ */ jsx("span", { className: styles41["progress-indicator-step-name"], children: name }),
3424
- description && /* @__PURE__ */ jsx("span", { className: styles41["progress-indicator-step-description"], children: description }),
3425
- statusLabel && /* @__PURE__ */ jsx("span", { className: styles41["progress-indicator-step-status"], children: statusLabel })
3829
+ /* @__PURE__ */ jsxs("span", { className: styles45["progress-indicator-step-text"], children: [
3830
+ /* @__PURE__ */ jsx("span", { className: styles45["progress-indicator-step-name"], children: name }),
3831
+ description && /* @__PURE__ */ jsx("span", { className: styles45["progress-indicator-step-description"], children: description }),
3832
+ statusLabel && /* @__PURE__ */ jsx("span", { className: styles45["progress-indicator-step-status"], children: statusLabel })
3426
3833
  ] })
3427
3834
  ] });
3428
3835
  const innerClassName = cn(
3429
- styles41["progress-indicator-step-inner"],
3430
- interactive && styles41["progress-indicator-step-inner--interactive"]
3836
+ styles45["progress-indicator-step-inner"],
3837
+ interactive && styles45["progress-indicator-step-inner--interactive"]
3431
3838
  );
3432
3839
  let inner;
3433
3840
  if (href) {
@@ -3450,8 +3857,8 @@ function ProgressIndicatorStep({
3450
3857
  "li",
3451
3858
  {
3452
3859
  className: cn(
3453
- styles41["progress-indicator-step"],
3454
- active && styles41["progress-indicator-step--active"],
3860
+ styles45["progress-indicator-step"],
3861
+ active && styles45["progress-indicator-step--active"],
3455
3862
  className
3456
3863
  ),
3457
3864
  ...props,
@@ -3475,16 +3882,16 @@ var RadialGraph = forwardRef(
3475
3882
  "div",
3476
3883
  {
3477
3884
  ref,
3478
- className: cn(styles42["radial-graph"], styles42[graphSize], className),
3885
+ className: cn(styles46["radial-graph"], styles46[graphSize], className),
3479
3886
  ...props,
3480
3887
  children: [
3481
- /* @__PURE__ */ jsx("div", { className: styles42["bars-container"], children: bars.map((_, i) => {
3888
+ /* @__PURE__ */ jsx("div", { className: styles46["bars-container"], children: bars.map((_, i) => {
3482
3889
  const isActive = i < percentage;
3483
3890
  const delay = `${i * 10}ms`;
3484
3891
  return /* @__PURE__ */ jsx(
3485
3892
  "div",
3486
3893
  {
3487
- className: styles42["bar"],
3894
+ className: styles46["bar"],
3488
3895
  style: {
3489
3896
  transform: `rotate(${i * 3.6}deg)`
3490
3897
  },
@@ -3492,22 +3899,22 @@ var RadialGraph = forwardRef(
3492
3899
  "div",
3493
3900
  {
3494
3901
  className: cn(
3495
- styles42["bar-inner"],
3496
- isActive ? styles42["bar-inner--active"] : styles42["bar-inner--inactive"]
3902
+ styles46["bar-inner"],
3903
+ isActive ? styles46["bar-inner--active"] : styles46["bar-inner--inactive"]
3497
3904
  ),
3498
3905
  style: {
3499
3906
  transitionDelay: delay,
3500
3907
  animationDelay: delay
3501
3908
  },
3502
3909
  children: [
3503
- /* @__PURE__ */ jsx("div", { className: styles42["bar-background"] }),
3910
+ /* @__PURE__ */ jsx("div", { className: styles46["bar-background"] }),
3504
3911
  /* @__PURE__ */ jsx(
3505
3912
  "div",
3506
3913
  {
3507
3914
  className: cn(
3508
- styles42["bar-gradient"],
3509
- styles42[`bar-gradient--${variant}`],
3510
- isActive ? styles42["bar-gradient--active"] : styles42["bar-gradient--inactive"]
3915
+ styles46["bar-gradient"],
3916
+ styles46[`bar-gradient--${variant}`],
3917
+ isActive ? styles46["bar-gradient--active"] : styles46["bar-gradient--inactive"]
3511
3918
  ),
3512
3919
  style: {
3513
3920
  transitionDelay: delay,
@@ -3522,9 +3929,9 @@ var RadialGraph = forwardRef(
3522
3929
  i
3523
3930
  );
3524
3931
  }) }),
3525
- /* @__PURE__ */ jsxs("div", { className: styles42["label-container"], children: [
3526
- /* @__PURE__ */ jsx("p", { className: cn(styles42["label"], styles42[graphSize]), children: label }),
3527
- subLabel && /* @__PURE__ */ jsx("p", { className: styles42["sub-label"], children: subLabel })
3932
+ /* @__PURE__ */ jsxs("div", { className: styles46["label-container"], children: [
3933
+ /* @__PURE__ */ jsx("p", { className: cn(styles46["label"], styles46[graphSize]), children: label }),
3934
+ subLabel && /* @__PURE__ */ jsx("p", { className: styles46["sub-label"], children: subLabel })
3528
3935
  ] })
3529
3936
  ]
3530
3937
  }
@@ -3550,13 +3957,13 @@ var RadioDropdown = ({
3550
3957
  );
3551
3958
  return /* @__PURE__ */ jsxs(DropdownMenu, { children: [
3552
3959
  /* @__PURE__ */ jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(Button, { variant: "tertiary", className, children: [
3553
- /* @__PURE__ */ jsxs("span", { className: styles43["selector-button-inner"], children: [
3960
+ /* @__PURE__ */ jsxs("span", { className: styles47["selector-button-inner"], children: [
3554
3961
  selectedOption?.label || label,
3555
3962
  hasSelectedCount && /* @__PURE__ */ jsx(Badge, { variant: "primary", children: selectedOption.count })
3556
3963
  ] }),
3557
- /* @__PURE__ */ jsx(ChevronDownIcon3, { className: styles43["chevron-icon"] })
3964
+ /* @__PURE__ */ jsx(ChevronDownIcon3, { className: styles47["chevron-icon"] })
3558
3965
  ] }) }),
3559
- /* @__PURE__ */ jsxs(DropdownMenuContent, { align: "end", className: styles43["dropdown-menu-content"], children: [
3966
+ /* @__PURE__ */ jsxs(DropdownMenuContent, { align: "end", className: styles47["dropdown-menu-content"], children: [
3560
3967
  searchable && /* @__PURE__ */ jsxs(Fragment, { children: [
3561
3968
  /* @__PURE__ */ jsx(DropdownMenuSearch, { placeholder: searchPlaceholder, "aria-label": label }),
3562
3969
  /* @__PURE__ */ jsx(DropdownMenuEmpty, { children: emptyPlaceholder })
@@ -3580,7 +3987,7 @@ var RadioGroup2 = React15.forwardRef(({ className, ...props }, ref) => {
3580
3987
  return /* @__PURE__ */ jsx(
3581
3988
  RadioGroupPrimitive.Root,
3582
3989
  {
3583
- className: cn(styles44["radio-group"], className),
3990
+ className: cn(styles48["radio-group"], className),
3584
3991
  ...props,
3585
3992
  ref
3586
3993
  }
@@ -3592,9 +3999,9 @@ var RadioGroupItem = React15.forwardRef(({ className, ...props }, ref) => {
3592
3999
  RadioGroupPrimitive.Item,
3593
4000
  {
3594
4001
  ref,
3595
- className: cn(styles44["radio-group-item"], className),
4002
+ className: cn(styles48["radio-group-item"], className),
3596
4003
  ...props,
3597
- children: /* @__PURE__ */ jsx(RadioGroupPrimitive.Indicator, { className: styles44["radio-group-item-indicator"], children: /* @__PURE__ */ jsx(CircleIcon2, { className: styles44["indicator-icon"] }) })
4004
+ children: /* @__PURE__ */ jsx(RadioGroupPrimitive.Indicator, { className: styles48["radio-group-item-indicator"], children: /* @__PURE__ */ jsx(CircleIcon2, { className: styles48["indicator-icon"] }) })
3598
4005
  }
3599
4006
  );
3600
4007
  });
@@ -3627,160 +4034,138 @@ var getTypeConfig = (type) => {
3627
4034
  case "agent":
3628
4035
  return {
3629
4036
  icon: "Bot",
3630
- className: styles45["badge--agent"],
4037
+ className: styles49["badge--agent"],
3631
4038
  label: "Agent"
3632
4039
  };
3633
4040
  case "benchmark":
3634
4041
  return {
3635
4042
  icon: "LineChart",
3636
- className: styles45["badge--benchmark"],
4043
+ className: styles49["badge--benchmark"],
3637
4044
  label: "Benchmark"
3638
4045
  };
3639
4046
  case "benchmark-result":
3640
4047
  return {
3641
4048
  icon: "FileChartLine",
3642
- className: styles45["badge--benchmark-result"],
4049
+ className: styles49["badge--benchmark-result"],
3643
4050
  label: "Benchmark Result"
3644
4051
  };
3645
4052
  case "code":
3646
4053
  return {
3647
4054
  icon: "Code",
3648
- className: styles45["badge--code"],
4055
+ className: styles49["badge--code"],
3649
4056
  label: "Code"
3650
4057
  };
3651
4058
  case "binary":
3652
4059
  return {
3653
4060
  icon: "Binary",
3654
- className: styles45["badge--binary"],
4061
+ className: styles49["badge--binary"],
3655
4062
  label: "Binary"
3656
4063
  };
3657
4064
  case "certificate":
3658
4065
  return {
3659
4066
  icon: "Award",
3660
- className: styles45["badge--certificate"],
4067
+ className: styles49["badge--certificate"],
3661
4068
  label: "Certificate"
3662
4069
  };
3663
4070
  case "compute":
3664
4071
  return {
3665
4072
  icon: "Cpu",
3666
- className: styles45["badge--compute"],
4073
+ className: styles49["badge--compute"],
3667
4074
  label: "Compute"
3668
4075
  };
3669
4076
  case "credential":
3670
4077
  return {
3671
4078
  icon: "IdCardLanyard",
3672
- className: styles45["badge--credential"],
4079
+ className: styles49["badge--credential"],
3673
4080
  label: "Credential"
3674
4081
  };
3675
4082
  case "database":
3676
4083
  return {
3677
4084
  icon: "Database",
3678
- className: styles45["badge--database"],
4085
+ className: styles49["badge--database"],
3679
4086
  label: "Database"
3680
4087
  };
3681
4088
  case "dataset":
3682
4089
  return {
3683
4090
  icon: "Table",
3684
- className: styles45["badge--dataset"],
4091
+ className: styles49["badge--dataset"],
3685
4092
  label: "Dataset"
3686
4093
  };
3687
4094
  case "document":
3688
4095
  return {
3689
4096
  icon: "FileText",
3690
- className: styles45["badge--document"],
4097
+ className: styles49["badge--document"],
3691
4098
  label: "Document"
3692
4099
  };
3693
4100
  case "skill":
3694
4101
  return {
3695
4102
  icon: "FileCog",
3696
- className: styles45["badge--skill"],
4103
+ className: styles49["badge--skill"],
3697
4104
  label: "Skill"
3698
4105
  };
3699
4106
  case "media":
3700
4107
  return {
3701
4108
  icon: "FileImage",
3702
- className: styles45["badge--media"],
4109
+ className: styles49["badge--media"],
3703
4110
  label: "Media"
3704
4111
  };
3705
4112
  case "guardrail":
3706
4113
  return {
3707
4114
  icon: "Fence",
3708
- className: styles45["badge--guardrail"],
4115
+ className: styles49["badge--guardrail"],
3709
4116
  label: "Guardrail"
3710
4117
  };
3711
4118
  case "model":
3712
4119
  return {
3713
4120
  icon: "Brain",
3714
- className: styles45["badge--model"],
4121
+ className: styles49["badge--model"],
3715
4122
  label: "Model"
3716
4123
  };
3717
4124
  case "prompt":
3718
4125
  return {
3719
4126
  icon: "MessageSquareText",
3720
- className: styles45["badge--prompt"],
4127
+ className: styles49["badge--prompt"],
3721
4128
  label: "Prompt"
3722
4129
  };
3723
4130
  case "system-prompt":
3724
4131
  return {
3725
4132
  icon: "MessageSquareCode",
3726
- className: styles45["badge--system-prompt"],
4133
+ className: styles49["badge--system-prompt"],
3727
4134
  label: "System Prompt"
3728
4135
  };
3729
4136
  case "reasoning":
3730
4137
  return {
3731
4138
  icon: "MessageSquareMore",
3732
- className: styles45["badge--reasoning"],
4139
+ className: styles49["badge--reasoning"],
3733
4140
  label: "Reasoning"
3734
4141
  };
3735
4142
  case "token":
3736
4143
  return {
3737
4144
  icon: "Coins",
3738
- className: styles45["badge--token"],
4145
+ className: styles49["badge--token"],
3739
4146
  label: "Token"
3740
4147
  };
3741
4148
  case "tool":
3742
4149
  return {
3743
4150
  icon: "Wrench",
3744
- className: styles45["badge--tool"],
4151
+ className: styles49["badge--tool"],
3745
4152
  label: "Tool"
3746
4153
  };
3747
4154
  case "config":
3748
4155
  return {
3749
4156
  icon: "Settings2",
3750
- className: styles45["badge--config"],
4157
+ className: styles49["badge--config"],
3751
4158
  label: "Configuration"
3752
4159
  };
3753
4160
  case "unknown":
3754
4161
  default:
3755
4162
  return {
3756
4163
  icon: "Box",
3757
- className: styles45["badge--unknown"],
4164
+ className: styles49["badge--unknown"],
3758
4165
  label: "Unknown"
3759
4166
  };
3760
4167
  }
3761
4168
  };
3762
- var ScrollArea = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(ScrollAreaPrimitive.Root, { ref, className: cn(styles46["scroll-area"], className), ...props, children: [
3763
- /* @__PURE__ */ jsx(ScrollAreaPrimitive.Viewport, { className: styles46["scroll-area-viewport"], children }),
3764
- /* @__PURE__ */ jsx(ScrollBar, {}),
3765
- /* @__PURE__ */ jsx(ScrollAreaPrimitive.Corner, {})
3766
- ] }));
3767
- ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
3768
- var ScrollBar = React15.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx(
3769
- ScrollAreaPrimitive.ScrollAreaScrollbar,
3770
- {
3771
- ref,
3772
- orientation,
3773
- className: cn(
3774
- styles46["scroll-bar"],
3775
- orientation === "vertical" && styles46["scroll-bar--vertical"],
3776
- orientation === "horizontal" && styles46["scroll-bar--horizontal"],
3777
- className
3778
- ),
3779
- ...props,
3780
- children: /* @__PURE__ */ jsx(ScrollAreaPrimitive.ScrollAreaThumb, { className: styles46["scroll-area-thumb"] })
3781
- }
3782
- ));
3783
- ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
3784
4169
  var SearchIcon4 = Search;
3785
4170
  var SearchBar = ({
3786
4171
  searchQuery,
@@ -3794,20 +4179,20 @@ var SearchBar = ({
3794
4179
  const handleClear = () => {
3795
4180
  setSearchQuery("");
3796
4181
  };
3797
- return /* @__PURE__ */ jsx("search", { className: cn(styles47["search-bar"], className), children: /* @__PURE__ */ jsx(
4182
+ return /* @__PURE__ */ jsx("search", { className: cn(styles50["search-bar"], className), children: /* @__PURE__ */ jsx(
3798
4183
  Input,
3799
4184
  {
3800
4185
  placeholder,
3801
4186
  value: searchQuery,
3802
4187
  onChange: handleChange,
3803
- className: styles47["input"],
3804
- prefix: /* @__PURE__ */ jsx(SearchIcon4, { className: styles47["search-icon"] }),
4188
+ className: styles50["input"],
4189
+ prefix: /* @__PURE__ */ jsx(SearchIcon4, { className: styles50["search-icon"] }),
3805
4190
  suffix: searchQuery && /* @__PURE__ */ jsx(
3806
4191
  IconButton,
3807
4192
  {
3808
4193
  name: "X",
3809
4194
  onClick: handleClear,
3810
- className: styles47["clear-button"],
4195
+ className: styles50["clear-button"],
3811
4196
  label: "Clear search"
3812
4197
  }
3813
4198
  )
@@ -3821,15 +4206,14 @@ var SectionHeading = ({
3821
4206
  className
3822
4207
  }) => {
3823
4208
  const hasRightContent = !!renderRightContent;
3824
- return /* @__PURE__ */ jsxs("div", { className: cn(hasRightContent && styles48["section-heading--right-content"], className), children: [
3825
- /* @__PURE__ */ jsxs("div", { className: styles48["content"], children: [
3826
- /* @__PURE__ */ jsx("h3", { className: styles48["heading"], children: heading }),
3827
- description && /* @__PURE__ */ jsx("p", { className: styles48["description"], children: description })
4209
+ return /* @__PURE__ */ jsxs("div", { className: cn(hasRightContent && styles51["section-heading--right-content"], className), children: [
4210
+ /* @__PURE__ */ jsxs("div", { className: styles51["content"], children: [
4211
+ /* @__PURE__ */ jsx("h3", { className: styles51["heading"], children: heading }),
4212
+ description && /* @__PURE__ */ jsx("p", { className: styles51["description"], children: description })
3828
4213
  ] }),
3829
4214
  hasRightContent && renderRightContent()
3830
4215
  ] });
3831
4216
  };
3832
- var useIsomorphicLayoutEffect = typeof window === "undefined" ? useEffect : useLayoutEffect;
3833
4217
  var SegmentedControls = ({
3834
4218
  options,
3835
4219
  value,
@@ -3879,9 +4263,9 @@ var SegmentedControls = ({
3879
4263
  "aria-label": ariaLabel,
3880
4264
  "aria-labelledby": ariaLabelledBy,
3881
4265
  className: cn(
3882
- styles49["segmented-controls"],
3883
- styles49[`size--${size}`],
3884
- styles49[`variant--${activeVariant}`],
4266
+ styles52["segmented-controls"],
4267
+ styles52[`size--${size}`],
4268
+ styles52[`variant--${activeVariant}`],
3885
4269
  className
3886
4270
  ),
3887
4271
  children: [
@@ -3900,15 +4284,15 @@ var SegmentedControls = ({
3900
4284
  "aria-label": isIconOnly ? option.label : void 0,
3901
4285
  title: isIconOnly ? option.label : void 0,
3902
4286
  className: cn(
3903
- styles49["segment"],
3904
- isIconOnly && styles49["segment--icon-only"],
3905
- currentlyActive ? styles49["segment--active"] : styles49["segment--inactive"]
4287
+ styles52["segment"],
4288
+ isIconOnly && styles52["segment--icon-only"],
4289
+ currentlyActive ? styles52["segment--active"] : styles52["segment--inactive"]
3906
4290
  ),
3907
4291
  onClick: () => onValueChange(option.value),
3908
4292
  children: [
3909
- showIcon && /* @__PURE__ */ jsx(Icon, { icon: option.icon, size: "xs", className: styles49["segment-icon"] }),
4293
+ showIcon && /* @__PURE__ */ jsx(Icon, { icon: option.icon, size: "xs", className: styles52["segment-icon"] }),
3910
4294
  showLabel && /* @__PURE__ */ jsx("span", { children: option.label }),
3911
- !isIconOnly && option.suffix && /* @__PURE__ */ jsx("span", { className: styles49["segment-suffix"], children: option.suffix })
4295
+ !isIconOnly && option.suffix && /* @__PURE__ */ jsx("span", { className: styles52["segment-suffix"], children: option.suffix })
3912
4296
  ]
3913
4297
  },
3914
4298
  option.value
@@ -3918,8 +4302,8 @@ var SegmentedControls = ({
3918
4302
  "div",
3919
4303
  {
3920
4304
  className: cn(
3921
- styles49["active-segment-indicator"],
3922
- animateIndicator && styles49["active-segment-indicator--animated"]
4305
+ styles52["active-segment-indicator"],
4306
+ animateIndicator && styles52["active-segment-indicator--animated"]
3923
4307
  ),
3924
4308
  style: {
3925
4309
  transform: `translateX(${indicator.left}px)`,
@@ -3938,8 +4322,8 @@ var Separator3 = React15.forwardRef(({ className, orientation = "horizontal", de
3938
4322
  decorative,
3939
4323
  orientation,
3940
4324
  className: cn(
3941
- styles50["separator"],
3942
- orientation === "horizontal" ? styles50["separator--horizontal"] : styles50["separator--vertical"],
4325
+ styles53["separator"],
4326
+ orientation === "horizontal" ? styles53["separator--horizontal"] : styles53["separator--vertical"],
3943
4327
  className
3944
4328
  ),
3945
4329
  ...props
@@ -3950,15 +4334,15 @@ var Sheet = DialogPrimitive.Root;
3950
4334
  var SheetTrigger = DialogPrimitive.Trigger;
3951
4335
  var SheetClose = DialogPrimitive.Close;
3952
4336
  var SheetPortal = ({ children }) => /* @__PURE__ */ jsx(DialogPrimitive.Portal, { container: usePortalContainer(), children });
3953
- var SheetOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(DialogPrimitive.Overlay, { className: cn(styles51["sheet-overlay"], className), ...props, ref }));
4337
+ var SheetOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(DialogPrimitive.Overlay, { className: cn(styles54["sheet-overlay"], className), ...props, ref }));
3954
4338
  SheetOverlay.displayName = DialogPrimitive.Overlay.displayName;
3955
- var sheetVariants = cva(styles51["sheet-content"], {
4339
+ var sheetVariants = cva(styles54["sheet-content"], {
3956
4340
  variants: {
3957
4341
  side: {
3958
- top: styles51["sheet-content--side-top"],
3959
- bottom: styles51["sheet-content--side-bottom"],
3960
- left: styles51["sheet-content--side-left"],
3961
- right: styles51["sheet-content--side-right"]
4342
+ top: styles54["sheet-content--side-top"],
4343
+ bottom: styles54["sheet-content--side-bottom"],
4344
+ left: styles54["sheet-content--side-left"],
4345
+ right: styles54["sheet-content--side-right"]
3962
4346
  }
3963
4347
  },
3964
4348
  defaultVariants: {
@@ -3970,7 +4354,7 @@ var SheetContainer = React15.forwardRef(({ side = "right", className, children,
3970
4354
  /* @__PURE__ */ jsx(DialogPrimitive.Content, { ref, className: cn(sheetVariants({ side }), className), ...props, children })
3971
4355
  ] }));
3972
4356
  SheetContainer.displayName = DialogPrimitive.Content.displayName;
3973
- var SheetHeaderIcon = ({ className, ...props }) => /* @__PURE__ */ jsx("div", { className: cn(styles51["sheet-header-icon"], className), ...props });
4357
+ var SheetHeaderIcon = ({ className, ...props }) => /* @__PURE__ */ jsx("div", { className: cn(styles54["sheet-header-icon"], className), ...props });
3974
4358
  SheetHeaderIcon.displayName = "SheetHeaderIcon";
3975
4359
  var SheetHeader = ({ className, children, ...props }) => {
3976
4360
  const childrenArray = React15.Children.toArray(children);
@@ -3980,31 +4364,28 @@ var SheetHeader = ({ className, children, ...props }) => {
3980
4364
  const otherChildren = childrenArray.filter(
3981
4365
  (child) => !(React15.isValidElement(child) && child.type === SheetHeaderIcon)
3982
4366
  );
3983
- return /* @__PURE__ */ jsxs("div", { className: cn(styles51["sheet-header"], className), ...props, children: [
4367
+ return /* @__PURE__ */ jsxs("div", { className: cn(styles54["sheet-header"], className), ...props, children: [
3984
4368
  icon,
3985
- /* @__PURE__ */ jsx("div", { className: styles51["sheet-header-text-content"], children: otherChildren }),
3986
- /* @__PURE__ */ jsx(DialogPrimitive.Close, { asChild: true, children: /* @__PURE__ */ jsx(IconButton, { name: "X", label: "Close", className: styles51["sheet-close"] }) })
4369
+ /* @__PURE__ */ jsx("div", { className: styles54["sheet-header-text-content"], children: otherChildren }),
4370
+ /* @__PURE__ */ jsx(DialogPrimitive.Close, { asChild: true, children: /* @__PURE__ */ jsx(IconButton, { name: "X", label: "Close", className: styles54["sheet-close"] }) })
3987
4371
  ] });
3988
4372
  };
3989
4373
  SheetHeader.displayName = "SheetHeader";
3990
- var SheetFooter = ({ className, ...props }) => /* @__PURE__ */ jsx("div", { className: cn(styles51["sheet-footer"], className), ...props });
4374
+ var SheetFooter = ({ className, ...props }) => /* @__PURE__ */ jsx("div", { className: cn(styles54["sheet-footer"], className), ...props });
3991
4375
  SheetFooter.displayName = "SheetFooter";
3992
- var SheetTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(DialogPrimitive.Title, { ref, className: cn(styles51["sheet-title"], className), ...props }));
4376
+ var SheetTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(DialogPrimitive.Title, { ref, className: cn(styles54["sheet-title"], className), ...props }));
3993
4377
  SheetTitle.displayName = DialogPrimitive.Title.displayName;
3994
4378
  var SheetDescription = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3995
4379
  DialogPrimitive.Description,
3996
4380
  {
3997
4381
  ref,
3998
- className: cn(styles51["sheet-description"], className),
4382
+ className: cn(styles54["sheet-description"], className),
3999
4383
  ...props
4000
4384
  }
4001
4385
  ));
4002
4386
  SheetDescription.displayName = DialogPrimitive.Description.displayName;
4003
- var SheetContent = ({ className, ...props }) => /* @__PURE__ */ jsx("div", { className: cn(styles51["sheet-body"], className), ...props });
4387
+ var SheetContent = ({ className, ...props }) => /* @__PURE__ */ jsx("div", { className: cn(styles54["sheet-body"], className), ...props });
4004
4388
  SheetContent.displayName = "SheetContent";
4005
- function Skeleton({ className, ...props }) {
4006
- return /* @__PURE__ */ jsx("div", { className: cn(styles52["skeleton"], className), ...props });
4007
- }
4008
4389
  var ArrowDownIcon = ArrowDown;
4009
4390
  var ArrowUpIcon = ArrowUp;
4010
4391
  var ArrowUpDownIcon = ArrowUpDown;
@@ -4021,10 +4402,10 @@ function SortButton({
4021
4402
  const handleClick = () => {
4022
4403
  onSort(field);
4023
4404
  };
4024
- return /* @__PURE__ */ jsxs("button", { type: "button", onClick: handleClick, className: styles53["sort-button"], children: [
4405
+ return /* @__PURE__ */ jsxs("button", { type: "button", onClick: handleClick, className: styles55["sort-button"], children: [
4025
4406
  icon,
4026
4407
  children,
4027
- /* @__PURE__ */ jsx("div", { className: styles53["arrow-container"], children: isActive ? isAscending ? /* @__PURE__ */ jsx(ArrowUpIcon, {}) : /* @__PURE__ */ jsx(ArrowDownIcon, {}) : /* @__PURE__ */ jsx(ArrowUpDownIcon, { className: styles53["arrow-up-down-icon"] }) })
4408
+ /* @__PURE__ */ jsx("div", { className: styles55["arrow-container"], children: isActive ? isAscending ? /* @__PURE__ */ jsx(ArrowUpIcon, {}) : /* @__PURE__ */ jsx(ArrowDownIcon, {}) : /* @__PURE__ */ jsx(ArrowUpDownIcon, { className: styles55["arrow-up-down-icon"] }) })
4028
4409
  ] });
4029
4410
  }
4030
4411
  var ChevronDownIcon4 = ChevronDown;
@@ -4069,9 +4450,9 @@ function SortSelector({
4069
4450
  setCurrentPage?.(1);
4070
4451
  };
4071
4452
  return /* @__PURE__ */ jsxs(DropdownMenu, { children: [
4072
- /* @__PURE__ */ jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(Button, { variant: "tertiary", className: cn(styles54["sort-selector-trigger"], className), children: [
4453
+ /* @__PURE__ */ jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(Button, { variant: "tertiary", className: cn(styles56["sort-selector-trigger"], className), children: [
4073
4454
  /* @__PURE__ */ jsx("span", { children: currentLabel }),
4074
- /* @__PURE__ */ jsx(ChevronDownIcon4, { className: styles54["chevron-down-icon"] })
4455
+ /* @__PURE__ */ jsx(ChevronDownIcon4, { className: styles56["chevron-down-icon"] })
4075
4456
  ] }) }),
4076
4457
  /* @__PURE__ */ jsxs(
4077
4458
  DropdownMenuContent,
@@ -4104,27 +4485,27 @@ var Switch = React15.forwardRef(
4104
4485
  return /* @__PURE__ */ jsx(
4105
4486
  SwitchPrimitives.Root,
4106
4487
  {
4107
- className: cn(styles55["switch"], styles55[size], styles55[variant], className),
4488
+ className: cn(styles57["switch"], styles57[size], styles57[variant], className),
4108
4489
  ...props,
4109
4490
  ref,
4110
- children: /* @__PURE__ */ jsx(SwitchPrimitives.Thumb, { className: cn(styles55["thumb"], styles55[size]), children: thumbIcon && /* @__PURE__ */ jsx(Icon, { icon: thumbIcon, className: styles55["thumb-icon"], size: iconSize }) })
4491
+ children: /* @__PURE__ */ jsx(SwitchPrimitives.Thumb, { className: cn(styles57["thumb"], styles57[size]), children: thumbIcon && /* @__PURE__ */ jsx(Icon, { icon: thumbIcon, className: styles57["thumb-icon"], size: iconSize }) })
4111
4492
  }
4112
4493
  );
4113
4494
  }
4114
4495
  );
4115
4496
  Switch.displayName = SwitchPrimitives.Root.displayName;
4116
- var tableElevationVariants = generateElevationVariants(styles56, "table", ELEVATION.RAISED);
4497
+ var tableElevationVariants = generateElevationVariants(styles58, "table", ELEVATION.RAISED);
4117
4498
  var TableContainer = React15.forwardRef(({ className, style, elevation = ELEVATION.RAISED, border, columns, ...props }, ref) => /* @__PURE__ */ jsx(
4118
4499
  "div",
4119
4500
  {
4120
4501
  className: cn(
4121
- styles56["table"],
4502
+ styles58["table"],
4122
4503
  tableElevationVariants({ elevation }),
4123
- border && styles56["table-border"],
4504
+ border && styles58["table-border"],
4124
4505
  className
4125
4506
  ),
4126
4507
  style: columns ? { ...style, "--table-columns": columns } : style,
4127
- children: /* @__PURE__ */ jsx("table", { ref, className: styles56["table-inner"], ...props })
4508
+ children: /* @__PURE__ */ jsx("table", { ref, className: styles58["table-inner"], ...props })
4128
4509
  }
4129
4510
  ));
4130
4511
  TableContainer.displayName = "Table";
@@ -4133,18 +4514,18 @@ var TableHeader = React15.forwardRef(({ className, sticky = false, ...props }, r
4133
4514
  {
4134
4515
  ref,
4135
4516
  className: cn(
4136
- styles56["table-header"],
4137
- sticky === "container" && styles56["table-header--sticky-container"],
4138
- sticky === "page" && styles56["table-header--sticky-page"],
4517
+ styles58["table-header"],
4518
+ sticky === "container" && styles58["table-header--sticky-container"],
4519
+ sticky === "page" && styles58["table-header--sticky-page"],
4139
4520
  className
4140
4521
  ),
4141
4522
  ...props
4142
4523
  }
4143
4524
  ));
4144
4525
  TableHeader.displayName = "TableHeader";
4145
- var TableBody = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tbody", { ref, className: cn(styles56["table-body"], className), ...props }));
4526
+ var TableBody = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tbody", { ref, className: cn(styles58["table-body"], className), ...props }));
4146
4527
  TableBody.displayName = "TableBody";
4147
- var TableFooter = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tfoot", { ref, className: cn(styles56["table-footer"], className), ...props }));
4528
+ var TableFooter = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tfoot", { ref, className: cn(styles58["table-footer"], className), ...props }));
4148
4529
  TableFooter.displayName = "TableFooter";
4149
4530
  var TableRow = React15.forwardRef(
4150
4531
  ({ className, clickable, href, hrefLabel = "View details", children, onClick, ...props }, ref) => {
@@ -4161,15 +4542,15 @@ var TableRow = React15.forwardRef(
4161
4542
  {
4162
4543
  ref,
4163
4544
  className: cn(
4164
- styles56["table-row"],
4165
- isClickable && styles56["table-row--clickable"],
4166
- href && styles56["table-row--linked"],
4545
+ styles58["table-row"],
4546
+ isClickable && styles58["table-row--clickable"],
4547
+ href && styles58["table-row--linked"],
4167
4548
  className
4168
4549
  ),
4169
4550
  onClick: onClick ? handleClick : void 0,
4170
4551
  ...props,
4171
4552
  children: [
4172
- href && /* @__PURE__ */ jsx("a", { href, className: styles56["table-row-link"], "data-table-row-link": true, children: /* @__PURE__ */ jsx("span", { className: styles56["table-row-link-label"], children: hrefLabel }) }),
4553
+ href && /* @__PURE__ */ jsx("a", { href, className: styles58["table-row-link"], "data-table-row-link": true, children: /* @__PURE__ */ jsx("span", { className: styles58["table-row-link-label"], children: hrefLabel }) }),
4173
4554
  children
4174
4555
  ]
4175
4556
  }
@@ -4177,18 +4558,18 @@ var TableRow = React15.forwardRef(
4177
4558
  }
4178
4559
  );
4179
4560
  TableRow.displayName = "TableRow";
4180
- var TableHead = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("th", { ref, className: cn(styles56["table-head"], className), ...props }));
4561
+ var TableHead = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("th", { ref, className: cn(styles58["table-head"], className), ...props }));
4181
4562
  TableHead.displayName = "TableHead";
4182
- var TableCell = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("td", { ref, className: cn(styles56["table-cell"], className), ...props }));
4563
+ var TableCell = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("td", { ref, className: cn(styles58["table-cell"], className), ...props }));
4183
4564
  TableCell.displayName = "TableCell";
4184
- var TableCaption = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("caption", { ref, className: cn(styles56["table-caption"], className), ...props }));
4565
+ var TableCaption = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("caption", { ref, className: cn(styles58["table-caption"], className), ...props }));
4185
4566
  TableCaption.displayName = "TableCaption";
4186
4567
  var TabsContainer = TabsPrimitive.Root;
4187
- var TabsList = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(TabsPrimitive.List, { ref, className: cn(styles57["tabs-list"], className), ...props }));
4568
+ var TabsList = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(TabsPrimitive.List, { ref, className: cn(styles59["tabs-list"], className), ...props }));
4188
4569
  TabsList.displayName = TabsPrimitive.List.displayName;
4189
- var TabsTrigger = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(TabsPrimitive.Trigger, { ref, className: cn(styles57["tabs-trigger"], className), ...props }));
4570
+ var TabsTrigger = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(TabsPrimitive.Trigger, { ref, className: cn(styles59["tabs-trigger"], className), ...props }));
4190
4571
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
4191
- var TabsContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(TabsPrimitive.Content, { ref, className: cn(styles57["tabs-content"], className), ...props }));
4572
+ var TabsContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(TabsPrimitive.Content, { ref, className: cn(styles59["tabs-content"], className), ...props }));
4192
4573
  TabsContent.displayName = TabsPrimitive.Content.displayName;
4193
4574
  var Tabs = ({
4194
4575
  items,
@@ -4251,13 +4632,13 @@ var Tabs = ({
4251
4632
  };
4252
4633
  const renderIcon = (icon) => {
4253
4634
  if (icon) {
4254
- return /* @__PURE__ */ jsx(Icon, { icon, size: "sm", className: styles58["tabs-icon"] });
4635
+ return /* @__PURE__ */ jsx(Icon, { icon, size: "sm", className: styles60["tabs-icon"] });
4255
4636
  }
4256
4637
  return null;
4257
4638
  };
4258
4639
  const indicatorClass = cn(
4259
- styles58["active-tab-indicator"],
4260
- isFilled ? styles58["active-tab-indicator--filled"] : styles58["active-tab-indicator--transparent"]
4640
+ styles60["active-tab-indicator"],
4641
+ isFilled ? styles60["active-tab-indicator--filled"] : styles60["active-tab-indicator--transparent"]
4261
4642
  );
4262
4643
  const renderTriggerIndicator = (value2) => {
4263
4644
  if (staticRender) {
@@ -4266,7 +4647,7 @@ var Tabs = ({
4266
4647
  {
4267
4648
  "aria-hidden": true,
4268
4649
  "data-slot": "tabs-indicator",
4269
- className: cn(indicatorClass, styles58["active-tab-indicator--static"])
4650
+ className: cn(indicatorClass, styles60["active-tab-indicator--static"])
4270
4651
  }
4271
4652
  );
4272
4653
  }
@@ -4280,15 +4661,15 @@ var Tabs = ({
4280
4661
  {
4281
4662
  value: activeTab,
4282
4663
  onValueChange: handleValueChange,
4283
- className: cn(styles58["tabs"], className),
4664
+ className: cn(styles60["tabs"], className),
4284
4665
  children: [
4285
4666
  /* @__PURE__ */ jsxs(
4286
4667
  TabsList,
4287
4668
  {
4288
4669
  ref: listRef,
4289
4670
  className: cn(
4290
- styles58["tabs-list"],
4291
- isFilled ? styles58["tabs-list--filled"] : styles58["tabs-list--transparent"]
4671
+ styles60["tabs-list"],
4672
+ isFilled ? styles60["tabs-list--filled"] : styles60["tabs-list--transparent"]
4292
4673
  ),
4293
4674
  children: [
4294
4675
  items.map(({ label, value: value2, icon, suffix, triggerProps }) => {
@@ -4302,8 +4683,8 @@ var Tabs = ({
4302
4683
  },
4303
4684
  value: value2,
4304
4685
  className: cn(
4305
- styles58["tabs-trigger"],
4306
- isFilled ? styles58["tabs-trigger--filled"] : styles58["tabs-trigger--transparent"],
4686
+ styles60["tabs-trigger"],
4687
+ isFilled ? styles60["tabs-trigger--filled"] : styles60["tabs-trigger--transparent"],
4307
4688
  triggerProps?.className
4308
4689
  )
4309
4690
  },
@@ -4320,8 +4701,8 @@ var Tabs = ({
4320
4701
  "data-slot": "tabs-indicator",
4321
4702
  className: cn(
4322
4703
  indicatorClass,
4323
- styles58["active-tab-indicator--shared"],
4324
- animateIndicator && styles58["active-tab-indicator--animated"]
4704
+ styles60["active-tab-indicator--shared"],
4705
+ animateIndicator && styles60["active-tab-indicator--animated"]
4325
4706
  ),
4326
4707
  style: {
4327
4708
  transform: `translateX(${indicator.left}px)`,
@@ -4337,7 +4718,7 @@ var Tabs = ({
4337
4718
  TabsContent,
4338
4719
  {
4339
4720
  value: value2,
4340
- className: styles58["content"],
4721
+ className: styles60["content"],
4341
4722
  forceMount: staticRender || void 0,
4342
4723
  children: content
4343
4724
  },
@@ -4349,7 +4730,7 @@ var Tabs = ({
4349
4730
  };
4350
4731
  var Textarea = React15.forwardRef(
4351
4732
  ({ className, ...props }, ref) => {
4352
- return /* @__PURE__ */ jsx("textarea", { className: cn(styles59["textarea"], className), ref, ...props });
4733
+ return /* @__PURE__ */ jsx("textarea", { className: cn(styles61["textarea"], className), ref, ...props });
4353
4734
  }
4354
4735
  );
4355
4736
  Textarea.displayName = "Textarea";
@@ -4359,18 +4740,18 @@ var ToastViewport = React15.forwardRef(({ className, ...props }, ref) => /* @__P
4359
4740
  ToastPrimitives.Viewport,
4360
4741
  {
4361
4742
  ref,
4362
- className: cn(styles60["toast-viewport"], className),
4743
+ className: cn(styles62["toast-viewport"], className),
4363
4744
  ...props
4364
4745
  }
4365
4746
  ));
4366
4747
  ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
4367
- var toastVariants = cva(styles60["toast"], {
4748
+ var toastVariants = cva(styles62["toast"], {
4368
4749
  variants: {
4369
4750
  variant: {
4370
- default: styles60["toast--default"],
4371
- danger: styles60["toast--danger"],
4372
- warning: styles60["toast--warning"],
4373
- success: styles60["toast--success"]
4751
+ default: styles62["toast--default"],
4752
+ danger: styles62["toast--danger"],
4753
+ warning: styles62["toast--warning"],
4754
+ success: styles62["toast--success"]
4374
4755
  }
4375
4756
  },
4376
4757
  defaultVariants: {
@@ -4395,7 +4776,7 @@ var ToastAction = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
4395
4776
  ref,
4396
4777
  className: cn(
4397
4778
  buttonVariants({ variant: "secondary", size: "sm" }),
4398
- styles60["toast-action"],
4779
+ styles62["toast-action"],
4399
4780
  className
4400
4781
  ),
4401
4782
  ...props
@@ -4407,19 +4788,19 @@ var ToastClose = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE
4407
4788
  {
4408
4789
  ref,
4409
4790
  "aria-label": "Close",
4410
- className: cn(styles60["toast-close"], className),
4791
+ className: cn(styles62["toast-close"], className),
4411
4792
  ...props,
4412
- children: /* @__PURE__ */ jsx(XIcon2, { className: styles60["toast-close-icon"] })
4793
+ children: /* @__PURE__ */ jsx(XIcon2, { className: styles62["toast-close-icon"] })
4413
4794
  }
4414
4795
  ));
4415
4796
  ToastClose.displayName = ToastPrimitives.Close.displayName;
4416
- var ToastTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ToastPrimitives.Title, { ref, className: cn(styles60["toast-title"], className), ...props }));
4797
+ var ToastTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ToastPrimitives.Title, { ref, className: cn(styles62["toast-title"], className), ...props }));
4417
4798
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
4418
4799
  var ToastDescription = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4419
4800
  ToastPrimitives.Description,
4420
4801
  {
4421
4802
  ref,
4422
- className: cn(styles60["toast-description"], className),
4803
+ className: cn(styles62["toast-description"], className),
4423
4804
  ...props
4424
4805
  }
4425
4806
  ));
@@ -4554,14 +4935,14 @@ var Toast = ({ toast: toast2 }) => {
4554
4935
  };
4555
4936
  const displayIcon = icon !== void 0 ? icon : getDefaultIcon();
4556
4937
  return /* @__PURE__ */ jsxs(ToastContainer, { ...props, variant, children: [
4557
- /* @__PURE__ */ jsxs("div", { className: styles61["toast-copy"], children: [
4558
- title && /* @__PURE__ */ jsxs("div", { className: styles61["toast-title-container"], children: [
4938
+ /* @__PURE__ */ jsxs("div", { className: styles63["toast-copy"], children: [
4939
+ title && /* @__PURE__ */ jsxs("div", { className: styles63["toast-title-container"], children: [
4559
4940
  displayIcon && /* @__PURE__ */ jsx(Icon, { icon: displayIcon, size: "sm", background: "transparent" }),
4560
4941
  /* @__PURE__ */ jsx(ToastTitle, { children: title })
4561
4942
  ] }),
4562
4943
  description && /* @__PURE__ */ jsx(ToastDescription, { children: description })
4563
4944
  ] }),
4564
- action && /* @__PURE__ */ jsx("div", { className: styles61["toast-action"], children: action }),
4945
+ action && /* @__PURE__ */ jsx("div", { className: styles63["toast-action"], children: action }),
4565
4946
  /* @__PURE__ */ jsx(ToastClose, {})
4566
4947
  ] });
4567
4948
  };
@@ -4596,7 +4977,7 @@ var TruncatedDescription = ({
4596
4977
  e.stopPropagation();
4597
4978
  setExpanded(!expanded);
4598
4979
  };
4599
- return /* @__PURE__ */ jsxs("div", { className: cn(styles62["truncated-description"], className), children: [
4980
+ return /* @__PURE__ */ jsxs("div", { className: cn(styles64["truncated-description"], className), children: [
4600
4981
  /* @__PURE__ */ jsx("div", { dangerouslySetInnerHTML: { __html: displayDescription } }),
4601
4982
  isLongDescription && /* @__PURE__ */ jsx(Button, { variant: "link", size: "sm", onClick: handleToggle, children: expanded ? "Show less" : "Show more" })
4602
4983
  ] });
@@ -4617,7 +4998,7 @@ var ThemeProvider = ({ customVars, portalContainer, children }) => {
4617
4998
  {
4618
4999
  id: "equality-theme-provider-root",
4619
5000
  "data-equality-root": true,
4620
- className: styles63.root,
5001
+ className: styles65.root,
4621
5002
  style: customVars,
4622
5003
  children: [
4623
5004
  children,
@@ -4743,6 +5124,6 @@ var useTheme = () => {
4743
5124
  return [theme, setTheme];
4744
5125
  };
4745
5126
 
4746
- export { Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, BarGraph, BarGraphSegment, BgGradient, Button, CODE_BLOCK_ATTRIBUTE, Card, CardContent, CardContentHeader, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeBlock, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlStatusBadge, CopyButton, DateRangePicker, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHeaderIcon, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplayField, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerHeaderActions, DrawerInnerContent, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuEmpty, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSearch, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ELEVATION, EmptyTableState, FilterDropdown, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormatDate, Heading, Icon, IconButton, InfoCard, Input, Label2 as Label, ListOrGridViewToggle, LoadingOverlay, MetricCard, MotionCollapsibleContent, NotFound, PORTAL_ROOT_ID, Pagination, PanelLabel, Popover, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, ProgressIndicator, ProgressIndicatorStep, RadialGraph, RadioDropdown, RadioGroup2 as RadioGroup, RadioGroupItem, ResourceBadge, ScrollArea, ScrollBar, SearchBar, SectionHeading, SegmentedControls, Select, SelectContent, SelectEmpty, SelectGroup, SelectItem, SelectLabel, SelectSearch, SelectSeparator, SelectTrigger, SelectValue, Separator3 as Separator, Sheet, SheetClose, SheetContainer, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetHeaderIcon, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SortButton, SortSelector, Spinner, Switch, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContainer, TabsContent, TabsList, TabsTrigger, Textarea, ThemeProvider, Toast, ToastAction, ToastClose, ToastContainer, ToastDescription, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TruncatedDescription, badgeVariants, buttonVariants, reducer, scheduleHighlight, toast, useDropdownMenuSearchQuery, useFormField, usePortalContainer, useSelectSearchQuery, useTheme, useToast };
5127
+ export { Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, BarGraph, BarGraphSegment, BgGradient, Button, CODE_BLOCK_ATTRIBUTE, Card, CardContent, CardContentHeader, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeBlock, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlStatusBadge, CopyButton, DateRangePicker, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHeaderIcon, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisplayField, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuEmpty, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSearch, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ELEVATION, EmptyTableState, FilterDropdown, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormatDate, Heading, Icon, IconButton, InfoCard, Input, Label2 as Label, LoadingOverlay, MetricCard, MotionCollapsibleContent, NavDrill, NavDrillLevel, NavList, NavListGroup, NavListItem, NavListSeparator, NavPanel, NavRail, NavRailItem, NavSwitcher, NotFound, PORTAL_ROOT_ID, Pagination, PanelLabel, Popover, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, ProgressIndicator, ProgressIndicatorStep, RadialGraph, RadioDropdown, RadioGroup2 as RadioGroup, RadioGroupItem, ResourceBadge, SearchBar, SectionHeading, SegmentedControls, Select, SelectContent, SelectEmpty, SelectGroup, SelectItem, SelectLabel, SelectSearch, SelectSeparator, SelectTrigger, SelectValue, Separator3 as Separator, Sheet, SheetClose, SheetContainer, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetHeaderIcon, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SortButton, SortSelector, Spinner, Switch, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContainer, TabsContent, TabsList, TabsTrigger, Textarea, ThemeProvider, Toast, ToastAction, ToastClose, ToastContainer, ToastDescription, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TruncatedDescription, badgeVariants, blockClosedTypeahead, buttonVariants, reducer, scheduleHighlight, toast, useDropdownMenuSearchQuery, useFormField, usePortalContainer, useSelectSearchQuery, useTheme, useToast };
4747
5128
  //# sourceMappingURL=index.js.map
4748
5129
  //# sourceMappingURL=index.js.map