@aviala-design/spiral 2.8.1 → 2.9.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
@@ -323,6 +323,9 @@ var zhCN = {
323
323
  Modal: {
324
324
  close: "\u5173\u95ED\u5BF9\u8BDD\u6846"
325
325
  },
326
+ Drawer: {
327
+ close: "\u5173\u95ED\u62BD\u5C49"
328
+ },
326
329
  Feedback: {
327
330
  close: "\u5173\u95ED"
328
331
  },
@@ -457,6 +460,9 @@ var enUS = {
457
460
  Modal: {
458
461
  close: "Close dialog"
459
462
  },
463
+ Drawer: {
464
+ close: "Close drawer"
465
+ },
460
466
  Feedback: {
461
467
  close: "Dismiss"
462
468
  },
@@ -4948,6 +4954,7 @@ import * as SliderPrimitive from "@radix-ui/react-slider";
4948
4954
  import { cva as cva10 } from "class-variance-authority";
4949
4955
  import {
4950
4956
  forwardRef as forwardRef25,
4957
+ useLayoutEffect as useLayoutEffect4,
4951
4958
  useState as useState11
4952
4959
  } from "react";
4953
4960
 
@@ -5094,6 +5101,7 @@ var Slider = forwardRef25(
5094
5101
  onLostPointerCapture,
5095
5102
  showValueTooltip = false,
5096
5103
  formatValueTooltip,
5104
+ orientation,
5097
5105
  ...props
5098
5106
  }, ref) => {
5099
5107
  const resolvedType = type ?? "default";
@@ -5106,10 +5114,31 @@ var Slider = forwardRef25(
5106
5114
  const [activeThumbIndex, setActiveThumbIndex] = useState11(
5107
5115
  null
5108
5116
  );
5117
+ const valueTransitionAxisKey = `${resolvedType}:${orientation ?? "horizontal"}`;
5118
+ const [valueTransitionGate, setValueTransitionGate] = useState11({
5119
+ axisKey: valueTransitionAxisKey,
5120
+ ready: false
5121
+ });
5122
+ const valueTransitionReady = valueTransitionGate.axisKey === valueTransitionAxisKey && valueTransitionGate.ready;
5109
5123
  const [uncontrolledValue, setUncontrolledValue] = useState11(
5110
5124
  resolvedDefaultValue
5111
5125
  );
5112
5126
  const currentValues = value ?? uncontrolledValue;
5127
+ useLayoutEffect4(() => {
5128
+ let frame2 = 0;
5129
+ const frame1 = requestAnimationFrame(() => {
5130
+ frame2 = requestAnimationFrame(() => {
5131
+ setValueTransitionGate({
5132
+ axisKey: valueTransitionAxisKey,
5133
+ ready: true
5134
+ });
5135
+ });
5136
+ });
5137
+ return () => {
5138
+ cancelAnimationFrame(frame1);
5139
+ cancelAnimationFrame(frame2);
5140
+ };
5141
+ }, [valueTransitionAxisKey]);
5113
5142
  const handleValueChange = (next) => {
5114
5143
  if (value == null) setUncontrolledValue(next);
5115
5144
  if (showValueTooltip) {
@@ -5161,7 +5190,9 @@ var Slider = forwardRef25(
5161
5190
  "data-type": resolvedType,
5162
5191
  "data-disabled": disabled ? "true" : void 0,
5163
5192
  "data-dragging": isDragging ? "true" : void 0,
5193
+ "data-value-transition": valueTransitionReady ? "true" : void 0,
5164
5194
  "data-value-tooltip": showValueTooltip ? "true" : void 0,
5195
+ orientation,
5165
5196
  onValueChange: handleValueChange,
5166
5197
  onPointerDown: handlePointerDown,
5167
5198
  onPointerMove: handlePointerMove,
@@ -5458,7 +5489,7 @@ import {
5458
5489
  useCallback as useCallback10,
5459
5490
  useContext as useContext10,
5460
5491
  useEffect as useEffect8,
5461
- useLayoutEffect as useLayoutEffect4,
5492
+ useLayoutEffect as useLayoutEffect5,
5462
5493
  useMemo as useMemo6,
5463
5494
  useRef as useRef7,
5464
5495
  useState as useState13
@@ -5977,7 +6008,7 @@ function CascaderOptionsMenu({ className }) {
5977
6008
  }
5978
6009
  return paths;
5979
6010
  }, [activePath, getOptionsAtPath2, selectedPath]);
5980
- useLayoutEffect4(() => {
6011
+ useLayoutEffect5(() => {
5981
6012
  if (!open) {
5982
6013
  prevColumnCountRef.current = null;
5983
6014
  prevColumnPathsRef.current = [];
@@ -6157,7 +6188,7 @@ import {
6157
6188
  useCallback as useCallback12,
6158
6189
  useEffect as useEffect10,
6159
6190
  useId as useId5,
6160
- useLayoutEffect as useLayoutEffect6,
6191
+ useLayoutEffect as useLayoutEffect7,
6161
6192
  useMemo as useMemo9,
6162
6193
  useRef as useRef9,
6163
6194
  useState as useState14
@@ -6371,7 +6402,7 @@ import { useMemo as useMemo8 } from "react";
6371
6402
  import {
6372
6403
  useCallback as useCallback11,
6373
6404
  useEffect as useEffect9,
6374
- useLayoutEffect as useLayoutEffect5,
6405
+ useLayoutEffect as useLayoutEffect6,
6375
6406
  useMemo as useMemo7,
6376
6407
  useRef as useRef8
6377
6408
  } from "react";
@@ -6627,7 +6658,7 @@ function DatePickerTimeWheelColumn({
6627
6658
  }
6628
6659
  scrollEndTimerRef.current = setTimeout(settleScroll, WHEEL_SCROLL_END_MS);
6629
6660
  }, [settleScroll, syncClipTrack]);
6630
- useLayoutEffect5(() => {
6661
+ useLayoutEffect6(() => {
6631
6662
  syncScrollToValue("auto");
6632
6663
  syncClipTrack();
6633
6664
  const raf = requestAnimationFrame(() => {
@@ -7607,7 +7638,7 @@ function DatePickerCalendar({ className }) {
7607
7638
  const [panelSlide, setPanelSlide] = useState14(null);
7608
7639
  const panelRef = useRef9(panel);
7609
7640
  panelRef.current = panel;
7610
- useLayoutEffect6(() => {
7641
+ useLayoutEffect7(() => {
7611
7642
  const previous = panelRef.current;
7612
7643
  if (targetPanel === previous) return;
7613
7644
  if (prefersReducedMotion2()) {
@@ -7623,7 +7654,7 @@ function DatePickerCalendar({ className }) {
7623
7654
  setPanel(targetPanel);
7624
7655
  panelRef.current = targetPanel;
7625
7656
  }, [targetPanel]);
7626
- useLayoutEffect6(() => {
7657
+ useLayoutEffect7(() => {
7627
7658
  const previous = contentViewRef.current;
7628
7659
  if (targetContentView === previous) return;
7629
7660
  if (prefersReducedMotion2()) {
@@ -7636,7 +7667,7 @@ function DatePickerCalendar({ className }) {
7636
7667
  setContentView(targetContentView);
7637
7668
  contentViewRef.current = targetContentView;
7638
7669
  }, [targetContentView]);
7639
- useLayoutEffect6(() => {
7670
+ useLayoutEffect7(() => {
7640
7671
  const previous = prevViewMonthRef.current;
7641
7672
  const diff = monthDiff(previous, viewMonth);
7642
7673
  prevViewMonthRef.current = viewMonth;
@@ -7649,7 +7680,7 @@ function DatePickerCalendar({ className }) {
7649
7680
  outgoingMonth: previous
7650
7681
  });
7651
7682
  }, [contentView, panel, viewMonth]);
7652
- useLayoutEffect6(() => {
7683
+ useLayoutEffect7(() => {
7653
7684
  if (!pendingDayFocusRef.current || !focusedDay) return;
7654
7685
  const grid = dayGridRef.current;
7655
7686
  if (!grid) return;
@@ -8707,10 +8738,168 @@ var ModalFooter = forwardRef31(
8707
8738
  );
8708
8739
  ModalFooter.displayName = "ModalFooter";
8709
8740
 
8741
+ // src/components/drawer.tsx
8742
+ import * as DialogPrimitive2 from "@radix-ui/react-dialog";
8743
+ import { SymbolWrong as SymbolWrong3 } from "@aviala-design/icons";
8744
+ import { cva as cva12 } from "class-variance-authority";
8745
+ import {
8746
+ cloneElement as cloneElement9,
8747
+ forwardRef as forwardRef32,
8748
+ isValidElement as isValidElement14,
8749
+ useState as useState20
8750
+ } from "react";
8751
+ import { Fragment as Fragment7, jsx as jsx50, jsxs as jsxs35 } from "react/jsx-runtime";
8752
+ var DRAWER_ICON_SIZE = 22;
8753
+ var drawerContentVariants = cva12("aviala-drawer-content", {
8754
+ variants: {
8755
+ position: {
8756
+ left: "aviala-drawer-content--position-left",
8757
+ right: "aviala-drawer-content--position-right",
8758
+ top: "aviala-drawer-content--position-top",
8759
+ bottom: "aviala-drawer-content--position-bottom"
8760
+ }
8761
+ },
8762
+ defaultVariants: {
8763
+ position: "right"
8764
+ }
8765
+ });
8766
+ function assignRef4(ref, value) {
8767
+ if (!ref) return;
8768
+ if (typeof ref === "function") {
8769
+ ref(value);
8770
+ return;
8771
+ }
8772
+ ref.current = value;
8773
+ }
8774
+ function renderDrawerIcon(node) {
8775
+ if (!node) return null;
8776
+ const content = isValidElement14(node) && typeof node.type !== "string" ? cloneElement9(node, {
8777
+ width: DRAWER_ICON_SIZE,
8778
+ height: DRAWER_ICON_SIZE,
8779
+ className: cn(
8780
+ node.props.className,
8781
+ "shrink-0"
8782
+ )
8783
+ }) : node;
8784
+ return /* @__PURE__ */ jsx50("span", { className: "aviala-drawer__icon", "aria-hidden": true, children: content });
8785
+ }
8786
+ var Drawer = DialogPrimitive2.Root;
8787
+ var DrawerTrigger = DialogPrimitive2.Trigger;
8788
+ var DrawerPortal = DialogPrimitive2.Portal;
8789
+ var DrawerClose = DialogPrimitive2.Close;
8790
+ var DrawerOverlay = forwardRef32(({ className, ...props }, ref) => /* @__PURE__ */ jsx50(
8791
+ DialogPrimitive2.Overlay,
8792
+ {
8793
+ ref,
8794
+ className: cn("aviala-drawer-overlay", className),
8795
+ ...props
8796
+ }
8797
+ ));
8798
+ DrawerOverlay.displayName = DialogPrimitive2.Overlay.displayName;
8799
+ var DrawerContent = forwardRef32(
8800
+ ({
8801
+ className,
8802
+ children,
8803
+ position = "right",
8804
+ portalled = true,
8805
+ showOverlay = true,
8806
+ onOpenAutoFocus,
8807
+ ...props
8808
+ }, ref) => {
8809
+ const [overlayContainer, setOverlayContainer] = useState20(null);
8810
+ const overlay = showOverlay ? /* @__PURE__ */ jsx50(DrawerOverlay, {}) : null;
8811
+ const panel = /* @__PURE__ */ jsx50(
8812
+ DialogPrimitive2.Content,
8813
+ {
8814
+ ref: (node) => {
8815
+ assignRef4(ref, node);
8816
+ setOverlayContainer(node);
8817
+ },
8818
+ className: cn(drawerContentVariants({ position }), className),
8819
+ "data-position": position ?? "right",
8820
+ onOpenAutoFocus,
8821
+ ...props,
8822
+ children: /* @__PURE__ */ jsx50(OverlayContainerProvider, { container: overlayContainer, children: /* @__PURE__ */ jsx50("div", { className: "aviala-drawer-content__surface", children }) })
8823
+ }
8824
+ );
8825
+ if (!portalled) {
8826
+ return /* @__PURE__ */ jsxs35(Fragment7, { children: [
8827
+ overlay,
8828
+ panel
8829
+ ] });
8830
+ }
8831
+ return /* @__PURE__ */ jsxs35(DialogPrimitive2.Portal, { children: [
8832
+ overlay,
8833
+ panel
8834
+ ] });
8835
+ }
8836
+ );
8837
+ DrawerContent.displayName = DialogPrimitive2.Content.displayName;
8838
+ var DrawerHeader = forwardRef32(
8839
+ ({
8840
+ className,
8841
+ children,
8842
+ icon,
8843
+ showIcon = false,
8844
+ showClose = true,
8845
+ closeLabel,
8846
+ ...props
8847
+ }, ref) => {
8848
+ const locale = useLocaleMessages("Drawer");
8849
+ const resolvedCloseLabel = closeLabel ?? locale.close;
8850
+ return /* @__PURE__ */ jsx50("div", { ref, className: cn("aviala-drawer__header", className), ...props, children: /* @__PURE__ */ jsxs35("div", { className: "aviala-drawer__header-row", children: [
8851
+ showIcon ? renderDrawerIcon(icon) : null,
8852
+ /* @__PURE__ */ jsx50("div", { className: "aviala-drawer__header-main", children }),
8853
+ showClose ? /* @__PURE__ */ jsx50(DialogPrimitive2.Close, { asChild: true, children: /* @__PURE__ */ jsx50(
8854
+ Button,
8855
+ {
8856
+ type: "button",
8857
+ mode: "noBackgroundCustom",
8858
+ iconOnly: true,
8859
+ "aria-label": resolvedCloseLabel,
8860
+ className: "aviala-drawer__close",
8861
+ leftIcon: /* @__PURE__ */ jsx50(SymbolWrong3, { "aria-hidden": true })
8862
+ }
8863
+ ) }) : null
8864
+ ] }) });
8865
+ }
8866
+ );
8867
+ DrawerHeader.displayName = "DrawerHeader";
8868
+ var DrawerTitle = forwardRef32(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx50(DialogPrimitive2.Title, { ref, asChild: true, ...props, children: /* @__PURE__ */ jsx50(Typography, { level: "text", className: cn("aviala-drawer__title", className), children }) }));
8869
+ DrawerTitle.displayName = DialogPrimitive2.Title.displayName;
8870
+ var DrawerDescription = forwardRef32(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx50(DialogPrimitive2.Description, { ref, asChild: true, ...props, children: /* @__PURE__ */ jsx50(Typography, { level: "caption", className: cn("aviala-drawer__description", className), children }) }));
8871
+ DrawerDescription.displayName = DialogPrimitive2.Description.displayName;
8872
+ function DrawerHeaderText({
8873
+ title,
8874
+ description,
8875
+ ...props
8876
+ }) {
8877
+ return /* @__PURE__ */ jsx50(DrawerHeader, { ...props, children: /* @__PURE__ */ jsxs35("div", { className: "aviala-drawer__header-typeface", children: [
8878
+ /* @__PURE__ */ jsx50(DrawerTitle, { children: title }),
8879
+ description ? /* @__PURE__ */ jsx50(DrawerDescription, { children: description }) : null
8880
+ ] }) });
8881
+ }
8882
+ var DrawerBody = forwardRef32(
8883
+ ({ className, children, layout = "default", title, description, ...props }, ref) => /* @__PURE__ */ jsx50("div", { ref, className: cn("aviala-drawer__body", className), ...props, children: layout === "text" ? /* @__PURE__ */ jsx50(
8884
+ Typeface,
8885
+ {
8886
+ className: "aviala-drawer__body-typeface",
8887
+ content: "textTitle",
8888
+ primary: title,
8889
+ secondary: description ?? children
8890
+ }
8891
+ ) : children })
8892
+ );
8893
+ DrawerBody.displayName = "DrawerBody";
8894
+ var DrawerFooter = forwardRef32(
8895
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx50("div", { ref, className: cn("aviala-drawer__footer", className), ...props })
8896
+ );
8897
+ DrawerFooter.displayName = "DrawerFooter";
8898
+
8710
8899
  // src/components/tooltip.tsx
8711
8900
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
8712
- import { forwardRef as forwardRef32 } from "react";
8713
- import { jsx as jsx50, jsxs as jsxs35 } from "react/jsx-runtime";
8901
+ import { forwardRef as forwardRef33 } from "react";
8902
+ import { jsx as jsx51, jsxs as jsxs36 } from "react/jsx-runtime";
8714
8903
  var TOOLTIP_DELAY_DURATION = 300;
8715
8904
  function TooltipProvider({
8716
8905
  children,
@@ -8718,7 +8907,7 @@ function TooltipProvider({
8718
8907
  skipDelayDuration = 0,
8719
8908
  ...props
8720
8909
  }) {
8721
- return /* @__PURE__ */ jsx50(
8910
+ return /* @__PURE__ */ jsx51(
8722
8911
  TooltipPrimitive.Provider,
8723
8912
  {
8724
8913
  delayDuration,
@@ -8730,7 +8919,7 @@ function TooltipProvider({
8730
8919
  }
8731
8920
  var Tooltip = TooltipPrimitive.Root;
8732
8921
  var TooltipTrigger = TooltipPrimitive.Trigger;
8733
- var TooltipContent = forwardRef32(
8922
+ var TooltipContent = forwardRef33(
8734
8923
  ({
8735
8924
  className,
8736
8925
  children,
@@ -8741,7 +8930,7 @@ var TooltipContent = forwardRef32(
8741
8930
  ...props
8742
8931
  }, ref) => {
8743
8932
  const overlayContainer = useOverlayPortalContainer();
8744
- return /* @__PURE__ */ jsx50(TooltipPrimitive.Portal, { container: overlayContainer, children: /* @__PURE__ */ jsxs35(
8933
+ return /* @__PURE__ */ jsx51(TooltipPrimitive.Portal, { container: overlayContainer, children: /* @__PURE__ */ jsxs36(
8745
8934
  TooltipPrimitive.Content,
8746
8935
  {
8747
8936
  ref,
@@ -8750,7 +8939,7 @@ var TooltipContent = forwardRef32(
8750
8939
  className: cn("aviala-tooltip-content", className),
8751
8940
  ...props,
8752
8941
  children: [
8753
- /* @__PURE__ */ jsx50(
8942
+ /* @__PURE__ */ jsx51(
8754
8943
  "div",
8755
8944
  {
8756
8945
  className: cn(
@@ -8760,13 +8949,13 @@ var TooltipContent = forwardRef32(
8760
8949
  children
8761
8950
  }
8762
8951
  ),
8763
- showArrow ? /* @__PURE__ */ jsx50(
8952
+ showArrow ? /* @__PURE__ */ jsx51(
8764
8953
  TooltipPrimitive.Arrow,
8765
8954
  {
8766
8955
  asChild: true,
8767
8956
  width: TOOLTIP_POINTER.width,
8768
8957
  height: TOOLTIP_POINTER.height,
8769
- children: /* @__PURE__ */ jsx50(
8958
+ children: /* @__PURE__ */ jsx51(
8770
8959
  OverlayPointerSvg,
8771
8960
  {
8772
8961
  className: "aviala-tooltip-content__arrow",
@@ -8789,9 +8978,9 @@ import {
8789
8978
  useCallback as useCallback16,
8790
8979
  useEffect as useEffect14,
8791
8980
  useRef as useRef12,
8792
- useState as useState20
8981
+ useState as useState21
8793
8982
  } from "react";
8794
- import { jsx as jsx51, jsxs as jsxs36 } from "react/jsx-runtime";
8983
+ import { jsx as jsx52, jsxs as jsxs37 } from "react/jsx-runtime";
8795
8984
  var RESPONSIVE_TOOLTIP_LONG_PRESS_MS = 500;
8796
8985
  var LONG_PRESS_MOVE_THRESHOLD_PX = 10;
8797
8986
  function ResponsiveTooltip({
@@ -8812,7 +9001,7 @@ function ResponsiveTooltip({
8812
9001
  }) {
8813
9002
  const coarse = useCoarsePointer();
8814
9003
  const isControlled = openProp !== void 0;
8815
- const [internalOpen, setInternalOpen] = useState20(defaultOpen);
9004
+ const [internalOpen, setInternalOpen] = useState21(defaultOpen);
8816
9005
  const open = isControlled ? openProp : internalOpen;
8817
9006
  const setOpen = useCallback16(
8818
9007
  (next) => {
@@ -8863,8 +9052,8 @@ function ResponsiveTooltip({
8863
9052
  pressOriginRef.current = null;
8864
9053
  }, [clearLongPressTimer]);
8865
9054
  if (coarse) {
8866
- return /* @__PURE__ */ jsxs36(Popover, { open, onOpenChange: setOpen, children: [
8867
- /* @__PURE__ */ jsx51(
9055
+ return /* @__PURE__ */ jsxs37(Popover, { open, onOpenChange: setOpen, children: [
9056
+ /* @__PURE__ */ jsx52(
8868
9057
  PopoverTrigger,
8869
9058
  {
8870
9059
  asChild: true,
@@ -8887,7 +9076,7 @@ function ResponsiveTooltip({
8887
9076
  children
8888
9077
  }
8889
9078
  ),
8890
- /* @__PURE__ */ jsx51(
9079
+ /* @__PURE__ */ jsx52(
8891
9080
  PopoverContent,
8892
9081
  {
8893
9082
  appearance: "tooltip",
@@ -8903,7 +9092,7 @@ function ResponsiveTooltip({
8903
9092
  )
8904
9093
  ] });
8905
9094
  }
8906
- return /* @__PURE__ */ jsxs36(
9095
+ return /* @__PURE__ */ jsxs37(
8907
9096
  Tooltip,
8908
9097
  {
8909
9098
  delayDuration,
@@ -8911,8 +9100,8 @@ function ResponsiveTooltip({
8911
9100
  defaultOpen,
8912
9101
  onOpenChange,
8913
9102
  children: [
8914
- /* @__PURE__ */ jsx51(TooltipTrigger, { asChild: true, children }),
8915
- /* @__PURE__ */ jsx51(
9103
+ /* @__PURE__ */ jsx52(TooltipTrigger, { asChild: true, children }),
9104
+ /* @__PURE__ */ jsx52(
8916
9105
  TooltipContent,
8917
9106
  {
8918
9107
  side,
@@ -8931,23 +9120,23 @@ function ResponsiveTooltip({
8931
9120
  }
8932
9121
 
8933
9122
  // src/components/feedback.tsx
8934
- import { cva as cva12 } from "class-variance-authority";
9123
+ import { cva as cva13 } from "class-variance-authority";
8935
9124
  import {
8936
9125
  GeneralNotification,
8937
9126
  SymbolInformationCircle as SymbolInformationCircle2,
8938
9127
  SymbolRightCircle,
8939
9128
  SymbolWarningCircle,
8940
- SymbolWrong as SymbolWrong3,
9129
+ SymbolWrong as SymbolWrong4,
8941
9130
  SymbolWrongCircle as SymbolWrongCircle2
8942
9131
  } from "@aviala-design/icons";
8943
9132
  import {
8944
- cloneElement as cloneElement9,
8945
- forwardRef as forwardRef33,
8946
- isValidElement as isValidElement14
9133
+ cloneElement as cloneElement10,
9134
+ forwardRef as forwardRef34,
9135
+ isValidElement as isValidElement15
8947
9136
  } from "react";
8948
- import { jsx as jsx52, jsxs as jsxs37 } from "react/jsx-runtime";
9137
+ import { jsx as jsx53, jsxs as jsxs38 } from "react/jsx-runtime";
8949
9138
  var FEEDBACK_ICON_SIZE = 22;
8950
- var feedbackVariants = cva12("aviala-feedback", {
9139
+ var feedbackVariants = cva13("aviala-feedback", {
8951
9140
  variants: {
8952
9141
  type: {
8953
9142
  information: "aviala-feedback--type-information",
@@ -8973,7 +9162,7 @@ var feedbackVariants = cva12("aviala-feedback", {
8973
9162
  });
8974
9163
  function renderFeedbackIcon(node) {
8975
9164
  if (!node) return null;
8976
- const content = isValidElement14(node) && typeof node.type !== "string" ? cloneElement9(node, {
9165
+ const content = isValidElement15(node) && typeof node.type !== "string" ? cloneElement10(node, {
8977
9166
  width: FEEDBACK_ICON_SIZE,
8978
9167
  height: FEEDBACK_ICON_SIZE,
8979
9168
  className: cn(
@@ -8981,25 +9170,25 @@ function renderFeedbackIcon(node) {
8981
9170
  "shrink-0"
8982
9171
  )
8983
9172
  }) : node;
8984
- return /* @__PURE__ */ jsx52("span", { className: "aviala-feedback__icon", "aria-hidden": true, children: content });
9173
+ return /* @__PURE__ */ jsx53("span", { className: "aviala-feedback__icon", "aria-hidden": true, children: content });
8985
9174
  }
8986
9175
  function defaultStatusIcon(type, mode) {
8987
9176
  const iconMode = mode === "primary" ? "fill" : "default";
8988
9177
  const thickness = "Regular";
8989
9178
  switch (type) {
8990
9179
  case "information":
8991
- return /* @__PURE__ */ jsx52(SymbolInformationCircle2, { thickness, mode: iconMode, "aria-hidden": true });
9180
+ return /* @__PURE__ */ jsx53(SymbolInformationCircle2, { thickness, mode: iconMode, "aria-hidden": true });
8992
9181
  case "warning":
8993
- return /* @__PURE__ */ jsx52(SymbolWarningCircle, { thickness, mode: iconMode, "aria-hidden": true });
9182
+ return /* @__PURE__ */ jsx53(SymbolWarningCircle, { thickness, mode: iconMode, "aria-hidden": true });
8994
9183
  case "wrong":
8995
- return /* @__PURE__ */ jsx52(SymbolWrongCircle2, { thickness, mode: iconMode, "aria-hidden": true });
9184
+ return /* @__PURE__ */ jsx53(SymbolWrongCircle2, { thickness, mode: iconMode, "aria-hidden": true });
8996
9185
  case "success":
8997
- return /* @__PURE__ */ jsx52(SymbolRightCircle, { thickness, mode: iconMode, "aria-hidden": true });
9186
+ return /* @__PURE__ */ jsx53(SymbolRightCircle, { thickness, mode: iconMode, "aria-hidden": true });
8998
9187
  case "normal":
8999
- return /* @__PURE__ */ jsx52(GeneralNotification, { thickness, mode: "default", "aria-hidden": true });
9188
+ return /* @__PURE__ */ jsx53(GeneralNotification, { thickness, mode: "default", "aria-hidden": true });
9000
9189
  }
9001
9190
  }
9002
- var Feedback = forwardRef33(
9191
+ var Feedback = forwardRef34(
9003
9192
  ({
9004
9193
  className,
9005
9194
  type = "information",
@@ -9023,7 +9212,7 @@ var Feedback = forwardRef33(
9023
9212
  const tone = mode === "primary" ? "white" : "default";
9024
9213
  const isSmall = resolvedSize === "small";
9025
9214
  const resolvedRole = resolvedType === "wrong" ? "alert" : "status";
9026
- return /* @__PURE__ */ jsx52(
9215
+ return /* @__PURE__ */ jsx53(
9027
9216
  "div",
9028
9217
  {
9029
9218
  ref,
@@ -9037,9 +9226,9 @@ var Feedback = forwardRef33(
9037
9226
  "data-size": resolvedSize,
9038
9227
  "data-mode": mode,
9039
9228
  ...props,
9040
- children: /* @__PURE__ */ jsxs37("div", { className: "aviala-feedback__body", children: [
9229
+ children: /* @__PURE__ */ jsxs38("div", { className: "aviala-feedback__body", children: [
9041
9230
  renderFeedbackIcon(icon ?? defaultStatusIcon(resolvedType, mode)),
9042
- isSmall ? /* @__PURE__ */ jsx52(Typography, { level: "text", tone, className: "aviala-feedback__title", children: title }) : /* @__PURE__ */ jsx52(
9231
+ isSmall ? /* @__PURE__ */ jsx53(Typography, { level: "text", tone, className: "aviala-feedback__title", children: title }) : /* @__PURE__ */ jsx53(
9043
9232
  Typeface,
9044
9233
  {
9045
9234
  className: "aviala-feedback__typeface",
@@ -9049,7 +9238,7 @@ var Feedback = forwardRef33(
9049
9238
  tone
9050
9239
  }
9051
9240
  ),
9052
- action ? /* @__PURE__ */ jsx52(
9241
+ action ? /* @__PURE__ */ jsx53(
9053
9242
  Link,
9054
9243
  {
9055
9244
  level: "text",
@@ -9065,7 +9254,7 @@ var Feedback = forwardRef33(
9065
9254
  children: action
9066
9255
  }
9067
9256
  ) : null,
9068
- showClose ? /* @__PURE__ */ jsx52(
9257
+ showClose ? /* @__PURE__ */ jsx53(
9069
9258
  Link,
9070
9259
  {
9071
9260
  level: "text",
@@ -9074,7 +9263,7 @@ var Feedback = forwardRef33(
9074
9263
  href: onClose ? "#" : void 0,
9075
9264
  "aria-label": resolvedCloseLabel,
9076
9265
  className: "aviala-feedback__close",
9077
- leftIcon: /* @__PURE__ */ jsx52(SymbolWrong3, { "aria-hidden": true }),
9266
+ leftIcon: /* @__PURE__ */ jsx53(SymbolWrong4, { "aria-hidden": true }),
9078
9267
  onClick: (event) => {
9079
9268
  if (onClose) {
9080
9269
  event.preventDefault();
@@ -9095,18 +9284,18 @@ import {
9095
9284
  SymbolInformationCircle as SymbolInformationCircle3,
9096
9285
  SymbolRightCircle as SymbolRightCircle2,
9097
9286
  SymbolWarningCircle as SymbolWarningCircle2,
9098
- SymbolWrong as SymbolWrong4,
9287
+ SymbolWrong as SymbolWrong5,
9099
9288
  SymbolWrongCircle as SymbolWrongCircle3
9100
9289
  } from "@aviala-design/icons";
9101
- import { cva as cva13 } from "class-variance-authority";
9290
+ import { cva as cva14 } from "class-variance-authority";
9102
9291
  import {
9103
- cloneElement as cloneElement10,
9104
- forwardRef as forwardRef34,
9105
- isValidElement as isValidElement15
9292
+ cloneElement as cloneElement11,
9293
+ forwardRef as forwardRef35,
9294
+ isValidElement as isValidElement16
9106
9295
  } from "react";
9107
- import { jsx as jsx53, jsxs as jsxs38 } from "react/jsx-runtime";
9296
+ import { jsx as jsx54, jsxs as jsxs39 } from "react/jsx-runtime";
9108
9297
  var ALERT_ICON_SIZE = 16;
9109
- var alertVariants = cva13("aviala-alert", {
9298
+ var alertVariants = cva14("aviala-alert", {
9110
9299
  variants: {
9111
9300
  type: {
9112
9301
  info: "aviala-alert--type-info",
@@ -9132,7 +9321,7 @@ var alertVariants = cva13("aviala-alert", {
9132
9321
  });
9133
9322
  function renderAlertIcon(node) {
9134
9323
  if (!node) return null;
9135
- const content = isValidElement15(node) && typeof node.type !== "string" ? cloneElement10(node, {
9324
+ const content = isValidElement16(node) && typeof node.type !== "string" ? cloneElement11(node, {
9136
9325
  width: ALERT_ICON_SIZE,
9137
9326
  height: ALERT_ICON_SIZE,
9138
9327
  className: cn(
@@ -9140,23 +9329,23 @@ function renderAlertIcon(node) {
9140
9329
  "shrink-0"
9141
9330
  )
9142
9331
  }) : node;
9143
- return /* @__PURE__ */ jsx53("span", { className: "aviala-alert__icon", "aria-hidden": true, children: content });
9332
+ return /* @__PURE__ */ jsx54("span", { className: "aviala-alert__icon", "aria-hidden": true, children: content });
9144
9333
  }
9145
9334
  function defaultStatusIcon2(type) {
9146
9335
  const iconProps = { thickness: "Regular", mode: "fill", "aria-hidden": true };
9147
9336
  switch (type) {
9148
9337
  case "info":
9149
9338
  case "neutral":
9150
- return /* @__PURE__ */ jsx53(SymbolInformationCircle3, { ...iconProps });
9339
+ return /* @__PURE__ */ jsx54(SymbolInformationCircle3, { ...iconProps });
9151
9340
  case "warning":
9152
- return /* @__PURE__ */ jsx53(SymbolWarningCircle2, { ...iconProps });
9341
+ return /* @__PURE__ */ jsx54(SymbolWarningCircle2, { ...iconProps });
9153
9342
  case "error":
9154
- return /* @__PURE__ */ jsx53(SymbolWrongCircle3, { ...iconProps });
9343
+ return /* @__PURE__ */ jsx54(SymbolWrongCircle3, { ...iconProps });
9155
9344
  case "success":
9156
- return /* @__PURE__ */ jsx53(SymbolRightCircle2, { ...iconProps });
9345
+ return /* @__PURE__ */ jsx54(SymbolRightCircle2, { ...iconProps });
9157
9346
  }
9158
9347
  }
9159
- var Alert = forwardRef34(
9348
+ var Alert = forwardRef35(
9160
9349
  ({
9161
9350
  className,
9162
9351
  type = "info",
@@ -9184,7 +9373,7 @@ var Alert = forwardRef34(
9184
9373
  const resolvedType = type ?? "info";
9185
9374
  const resolvedRole = resolvedType === "error" ? "alert" : "status";
9186
9375
  const hasActions = showActions && (action || secondaryAction);
9187
- return /* @__PURE__ */ jsxs38(
9376
+ return /* @__PURE__ */ jsxs39(
9188
9377
  "div",
9189
9378
  {
9190
9379
  ref,
@@ -9196,9 +9385,9 @@ var Alert = forwardRef34(
9196
9385
  "data-appearance": appearance,
9197
9386
  ...props,
9198
9387
  children: [
9199
- /* @__PURE__ */ jsxs38("div", { className: "aviala-alert__body", children: [
9388
+ /* @__PURE__ */ jsxs39("div", { className: "aviala-alert__body", children: [
9200
9389
  showIcon ? renderAlertIcon(icon ?? defaultStatusIcon2(resolvedType)) : null,
9201
- isSmall ? /* @__PURE__ */ jsx53(Typography, { level: "text", className: "aviala-alert__title", children: title }) : /* @__PURE__ */ jsx53(
9390
+ isSmall ? /* @__PURE__ */ jsx54(Typography, { level: "text", className: "aviala-alert__title", children: title }) : /* @__PURE__ */ jsx54(
9202
9391
  Typeface,
9203
9392
  {
9204
9393
  className: "aviala-alert__typeface",
@@ -9207,7 +9396,7 @@ var Alert = forwardRef34(
9207
9396
  secondary: description
9208
9397
  }
9209
9398
  ),
9210
- quickAction ? /* @__PURE__ */ jsx53(
9399
+ quickAction ? /* @__PURE__ */ jsx54(
9211
9400
  Link,
9212
9401
  {
9213
9402
  level: "text",
@@ -9223,7 +9412,7 @@ var Alert = forwardRef34(
9223
9412
  children: quickAction
9224
9413
  }
9225
9414
  ) : null,
9226
- dismissible ? /* @__PURE__ */ jsx53(
9415
+ dismissible ? /* @__PURE__ */ jsx54(
9227
9416
  Link,
9228
9417
  {
9229
9418
  level: "text",
@@ -9232,7 +9421,7 @@ var Alert = forwardRef34(
9232
9421
  href: onDismiss ? "#" : void 0,
9233
9422
  "aria-label": resolvedCloseLabel,
9234
9423
  className: "aviala-alert__close",
9235
- leftIcon: /* @__PURE__ */ jsx53(SymbolWrong4, { "aria-hidden": true }),
9424
+ leftIcon: /* @__PURE__ */ jsx54(SymbolWrong5, { "aria-hidden": true }),
9236
9425
  onClick: (event) => {
9237
9426
  if (onDismiss) {
9238
9427
  event.preventDefault();
@@ -9242,8 +9431,8 @@ var Alert = forwardRef34(
9242
9431
  }
9243
9432
  ) : null
9244
9433
  ] }),
9245
- hasActions ? /* @__PURE__ */ jsxs38("div", { className: "aviala-alert__actions", children: [
9246
- action ? /* @__PURE__ */ jsx53(
9434
+ hasActions ? /* @__PURE__ */ jsxs39("div", { className: "aviala-alert__actions", children: [
9435
+ action ? /* @__PURE__ */ jsx54(
9247
9436
  Link,
9248
9437
  {
9249
9438
  level: "caption",
@@ -9259,7 +9448,7 @@ var Alert = forwardRef34(
9259
9448
  children: action
9260
9449
  }
9261
9450
  ) : null,
9262
- secondaryAction ? /* @__PURE__ */ jsx53(
9451
+ secondaryAction ? /* @__PURE__ */ jsx54(
9263
9452
  Link,
9264
9453
  {
9265
9454
  level: "caption",
@@ -9290,34 +9479,34 @@ import {
9290
9479
  GeneralSetting
9291
9480
  } from "@aviala-design/icons";
9292
9481
  import {
9293
- cloneElement as cloneElement11,
9294
- forwardRef as forwardRef35,
9295
- isValidElement as isValidElement16
9482
+ cloneElement as cloneElement12,
9483
+ forwardRef as forwardRef36,
9484
+ isValidElement as isValidElement17
9296
9485
  } from "react";
9297
- import { Fragment as Fragment7, jsx as jsx54, jsxs as jsxs39 } from "react/jsx-runtime";
9298
- var List = forwardRef35(
9299
- ({ className, title, children, ...props }, ref) => /* @__PURE__ */ jsxs39("div", { ref, className: cn("aviala-list", className), ...props, children: [
9300
- title != null ? /* @__PURE__ */ jsx54(ListTitle, { children: title }) : null,
9301
- /* @__PURE__ */ jsx54(ListGroup, { children })
9486
+ import { Fragment as Fragment8, jsx as jsx55, jsxs as jsxs40 } from "react/jsx-runtime";
9487
+ var List = forwardRef36(
9488
+ ({ className, title, children, ...props }, ref) => /* @__PURE__ */ jsxs40("div", { ref, className: cn("aviala-list", className), ...props, children: [
9489
+ title != null ? /* @__PURE__ */ jsx55(ListTitle, { children: title }) : null,
9490
+ /* @__PURE__ */ jsx55(ListGroup, { children })
9302
9491
  ] })
9303
9492
  );
9304
9493
  List.displayName = "List";
9305
- var ListTitle = forwardRef35(
9306
- ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx54("div", { ref, className: cn("aviala-list-title", className), ...props, children: /* @__PURE__ */ jsx54("span", { className: cn(typographyVariants({ level: "text" })), children }) })
9494
+ var ListTitle = forwardRef36(
9495
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx55("div", { ref, className: cn("aviala-list-title", className), ...props, children: /* @__PURE__ */ jsx55("span", { className: cn(typographyVariants({ level: "text" })), children }) })
9307
9496
  );
9308
9497
  ListTitle.displayName = "ListTitle";
9309
- var ListGroup = forwardRef35(
9310
- ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx54("div", { ref, className: cn("aviala-list-group", className), role: "list", ...props, children })
9498
+ var ListGroup = forwardRef36(
9499
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx55("div", { ref, className: cn("aviala-list-group", className), role: "list", ...props, children })
9311
9500
  );
9312
9501
  ListGroup.displayName = "ListGroup";
9313
9502
  function ListItemGroup({ label, children, className }) {
9314
- return /* @__PURE__ */ jsxs39("div", { className: cn("aviala-list", className), children: [
9315
- label != null ? /* @__PURE__ */ jsx54(ListTitle, { children: label }) : null,
9316
- /* @__PURE__ */ jsx54(ListGroup, { children })
9503
+ return /* @__PURE__ */ jsxs40("div", { className: cn("aviala-list", className), children: [
9504
+ label != null ? /* @__PURE__ */ jsx55(ListTitle, { children: label }) : null,
9505
+ /* @__PURE__ */ jsx55(ListGroup, { children })
9317
9506
  ] });
9318
9507
  }
9319
- var ListDivider = forwardRef35(
9320
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx54(
9508
+ var ListDivider = forwardRef36(
9509
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
9321
9510
  "span",
9322
9511
  {
9323
9512
  ref,
@@ -9328,15 +9517,15 @@ var ListDivider = forwardRef35(
9328
9517
  )
9329
9518
  );
9330
9519
  ListDivider.displayName = "ListDivider";
9331
- var ListSeparator = forwardRef35(
9332
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx54("hr", { ref, className: cn("aviala-list-separator", className), ...props })
9520
+ var ListSeparator = forwardRef36(
9521
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx55("hr", { ref, className: cn("aviala-list-separator", className), ...props })
9333
9522
  );
9334
9523
  ListSeparator.displayName = "ListSeparator";
9335
9524
  function renderLeadingIcon(node, leading) {
9336
9525
  if (leading === "none") return null;
9337
9526
  const iconSize = leading === "shaped" ? 20 : 22;
9338
- const content = node ?? (leading === "shaped" ? /* @__PURE__ */ jsx54(GeneralSetting, { "aria-hidden": true }) : /* @__PURE__ */ jsx54(GeneralSetting, { "aria-hidden": true }));
9339
- const rendered = isValidElement16(content) && typeof content.type !== "string" ? cloneElement11(content, {
9527
+ const content = node ?? (leading === "shaped" ? /* @__PURE__ */ jsx55(GeneralSetting, { "aria-hidden": true }) : /* @__PURE__ */ jsx55(GeneralSetting, { "aria-hidden": true }));
9528
+ const rendered = isValidElement17(content) && typeof content.type !== "string" ? cloneElement12(content, {
9340
9529
  width: iconSize,
9341
9530
  height: iconSize,
9342
9531
  className: cn(
@@ -9344,7 +9533,7 @@ function renderLeadingIcon(node, leading) {
9344
9533
  "shrink-0"
9345
9534
  )
9346
9535
  }) : content;
9347
- return /* @__PURE__ */ jsx54("span", { className: "aviala-list-item__icon", children: /* @__PURE__ */ jsx54(
9536
+ return /* @__PURE__ */ jsx55("span", { className: "aviala-list-item__icon", children: /* @__PURE__ */ jsx55(
9348
9537
  "span",
9349
9538
  {
9350
9539
  className: cn(
@@ -9354,7 +9543,7 @@ function renderLeadingIcon(node, leading) {
9354
9543
  }
9355
9544
  ) });
9356
9545
  }
9357
- var ListItem = forwardRef35(
9546
+ var ListItem = forwardRef36(
9358
9547
  ({
9359
9548
  className,
9360
9549
  itemType = "select",
@@ -9385,45 +9574,45 @@ var ListItem = forwardRef35(
9385
9574
  const ChevronIcon = rtl ? DirectionArrowLeftLight3 : DirectionArrowRightLight3;
9386
9575
  const isInteractive = interactive ?? (onClick != null || href != null);
9387
9576
  const chevronVisible = showChevron ?? itemType === "action";
9388
- const primaryAction = action ?? /* @__PURE__ */ jsx54(Button, { mode: "primary", size: "regular", leftIcon: /* @__PURE__ */ jsx54(GeneralSetting, { "aria-hidden": true }), children: actionLabel });
9389
- const chevron = chevronVisible ? /* @__PURE__ */ jsx54("span", { className: "aviala-list-item__chevron", "aria-hidden": true, children: /* @__PURE__ */ jsx54(ChevronIcon, { width: 18, height: 18 }) }) : null;
9577
+ const primaryAction = action ?? /* @__PURE__ */ jsx55(Button, { mode: "primary", size: "regular", leftIcon: /* @__PURE__ */ jsx55(GeneralSetting, { "aria-hidden": true }), children: actionLabel });
9578
+ const chevron = chevronVisible ? /* @__PURE__ */ jsx55("span", { className: "aviala-list-item__chevron", "aria-hidden": true, children: /* @__PURE__ */ jsx55(ChevronIcon, { width: 18, height: 18 }) }) : null;
9390
9579
  const renderTrailing = () => {
9391
9580
  const hideActions = !showTrailing || trailing === null;
9392
9581
  if (hideActions) {
9393
- return chevron && itemType === "action" ? /* @__PURE__ */ jsx54("div", { className: "aviala-list-item__more", children: chevron }) : null;
9582
+ return chevron && itemType === "action" ? /* @__PURE__ */ jsx55("div", { className: "aviala-list-item__more", children: chevron }) : null;
9394
9583
  }
9395
9584
  if (trailing !== void 0) return trailing;
9396
9585
  switch (itemType) {
9397
9586
  case "action":
9398
- return /* @__PURE__ */ jsxs39("div", { className: "aviala-list-item__more", children: [
9399
- /* @__PURE__ */ jsxs39("div", { className: "aviala-list-item__trailing", children: [
9587
+ return /* @__PURE__ */ jsxs40("div", { className: "aviala-list-item__more", children: [
9588
+ /* @__PURE__ */ jsxs40("div", { className: "aviala-list-item__trailing", children: [
9400
9589
  primaryAction,
9401
- secondaryAction ?? /* @__PURE__ */ jsx54(
9590
+ secondaryAction ?? /* @__PURE__ */ jsx55(
9402
9591
  Button,
9403
9592
  {
9404
9593
  mode: "default",
9405
9594
  size: "regular",
9406
9595
  iconOnly: true,
9407
9596
  "aria-label": locale.more,
9408
- leftIcon: /* @__PURE__ */ jsx54(GeneralSetting, { "aria-hidden": true })
9597
+ leftIcon: /* @__PURE__ */ jsx55(GeneralSetting, { "aria-hidden": true })
9409
9598
  }
9410
9599
  )
9411
9600
  ] }),
9412
- /* @__PURE__ */ jsx54(ListDivider, {}),
9601
+ /* @__PURE__ */ jsx55(ListDivider, {}),
9413
9602
  chevron
9414
9603
  ] });
9415
9604
  case "switch":
9416
- return /* @__PURE__ */ jsxs39("div", { className: "aviala-list-item__trailing", children: [
9605
+ return /* @__PURE__ */ jsxs40("div", { className: "aviala-list-item__trailing", children: [
9417
9606
  primaryAction,
9418
- /* @__PURE__ */ jsx54(ListDivider, {}),
9419
- /* @__PURE__ */ jsx54(Switch, { ...switchProps })
9607
+ /* @__PURE__ */ jsx55(ListDivider, {}),
9608
+ /* @__PURE__ */ jsx55(Switch, { ...switchProps })
9420
9609
  ] });
9421
9610
  case "select":
9422
9611
  default:
9423
- return /* @__PURE__ */ jsxs39("div", { className: "aviala-list-item__trailing", children: [
9612
+ return /* @__PURE__ */ jsxs40("div", { className: "aviala-list-item__trailing", children: [
9424
9613
  primaryAction,
9425
- /* @__PURE__ */ jsx54(ListDivider, {}),
9426
- /* @__PURE__ */ jsx54("span", { className: "aviala-list-item__select", children: select })
9614
+ /* @__PURE__ */ jsx55(ListDivider, {}),
9615
+ /* @__PURE__ */ jsx55("span", { className: "aviala-list-item__select", children: select })
9427
9616
  ] });
9428
9617
  }
9429
9618
  };
@@ -9437,15 +9626,15 @@ var ListItem = forwardRef35(
9437
9626
  "data-top-divider": showTopDivider === void 0 ? void 0 : showTopDivider ? "true" : "false"
9438
9627
  };
9439
9628
  const trailingNode = renderTrailing();
9440
- const body = /* @__PURE__ */ jsxs39(Fragment7, { children: [
9629
+ const body = /* @__PURE__ */ jsxs40(Fragment8, { children: [
9441
9630
  renderLeadingIcon(icon, leading),
9442
- /* @__PURE__ */ jsx54("div", { className: "aviala-list-item__body", children: /* @__PURE__ */ jsxs39("div", { className: "aviala-list-item__content", children: [
9443
- /* @__PURE__ */ jsx54("div", { className: "aviala-list-item__head", children: /* @__PURE__ */ jsx54(Typeface, { content: "textCaption", primary: title, secondary: subtitle }) }),
9631
+ /* @__PURE__ */ jsx55("div", { className: "aviala-list-item__body", children: /* @__PURE__ */ jsxs40("div", { className: "aviala-list-item__content", children: [
9632
+ /* @__PURE__ */ jsx55("div", { className: "aviala-list-item__head", children: /* @__PURE__ */ jsx55(Typeface, { content: "textCaption", primary: title, secondary: subtitle }) }),
9444
9633
  trailingNode
9445
9634
  ] }) })
9446
9635
  ] });
9447
9636
  if (href && !disabled) {
9448
- return /* @__PURE__ */ jsx54(
9637
+ return /* @__PURE__ */ jsx55(
9449
9638
  "a",
9450
9639
  {
9451
9640
  ref,
@@ -9461,7 +9650,7 @@ var ListItem = forwardRef35(
9461
9650
  }
9462
9651
  );
9463
9652
  }
9464
- return /* @__PURE__ */ jsx54(
9653
+ return /* @__PURE__ */ jsx55(
9465
9654
  "div",
9466
9655
  {
9467
9656
  ref,
@@ -9482,16 +9671,16 @@ import * as PopoverPrimitive7 from "@radix-ui/react-popover";
9482
9671
  import { Slot as Slot5 } from "@radix-ui/react-slot";
9483
9672
  import {
9484
9673
  createContext as createContext12,
9485
- forwardRef as forwardRef36,
9674
+ forwardRef as forwardRef37,
9486
9675
  useCallback as useCallback17,
9487
9676
  useContext as useContext13,
9488
9677
  useEffect as useEffect15,
9489
- useLayoutEffect as useLayoutEffect7,
9678
+ useLayoutEffect as useLayoutEffect8,
9490
9679
  useMemo as useMemo11,
9491
9680
  useRef as useRef13,
9492
- useState as useState21
9681
+ useState as useState22
9493
9682
  } from "react";
9494
- import { Fragment as Fragment8, jsx as jsx55, jsxs as jsxs40 } from "react/jsx-runtime";
9683
+ import { Fragment as Fragment9, jsx as jsx56, jsxs as jsxs41 } from "react/jsx-runtime";
9495
9684
  function navigationItemButtonMode(active) {
9496
9685
  return active ? "second" : "noBackgroundCustom";
9497
9686
  }
@@ -9667,7 +9856,7 @@ function useNavigationIndicator(groupRef, direction, layoutKey) {
9667
9856
  const layoutTrackingFrameRef = useRef13(null);
9668
9857
  const isLayoutTrackingRef = useRef13(false);
9669
9858
  const isInitialMount = useRef13(true);
9670
- const [activeRevision, setActiveRevision] = useState21(0);
9859
+ const [activeRevision, setActiveRevision] = useState22(0);
9671
9860
  const measureIndicator = useCallback17(() => {
9672
9861
  const group = groupRef.current;
9673
9862
  if (!group) return null;
@@ -9761,7 +9950,7 @@ function useNavigationIndicator(groupRef, direction, layoutKey) {
9761
9950
  isInitialMount.current = false;
9762
9951
  }
9763
9952
  }, []);
9764
- useLayoutEffect7(() => {
9953
+ useLayoutEffect8(() => {
9765
9954
  const group = groupRef.current;
9766
9955
  const next = measureIndicator();
9767
9956
  if (!next) return;
@@ -9809,7 +9998,7 @@ function useNavigationIndicator(groupRef, direction, layoutKey) {
9809
9998
  syncIndicator,
9810
9999
  groupRef
9811
10000
  ]);
9812
- useLayoutEffect7(() => {
10001
+ useLayoutEffect8(() => {
9813
10002
  const group = groupRef.current;
9814
10003
  if (!group) return;
9815
10004
  const observer = new MutationObserver((mutations) => {
@@ -9894,7 +10083,7 @@ function useNavigationIndicator(groupRef, direction, layoutKey) {
9894
10083
  }, [direction, groupRef, measureIndicator, syncIndicator]);
9895
10084
  return onIndicatorRef;
9896
10085
  }
9897
- var Navigation = forwardRef36(
10086
+ var Navigation = forwardRef37(
9898
10087
  ({
9899
10088
  className,
9900
10089
  as: Tag2 = "nav",
@@ -9902,7 +10091,7 @@ var Navigation = forwardRef36(
9902
10091
  direction = "vertical",
9903
10092
  dividingLine = false,
9904
10093
  ...props
9905
- }, ref) => /* @__PURE__ */ jsx55(NavigationDirectionContext.Provider, { value: direction, children: /* @__PURE__ */ jsx55(
10094
+ }, ref) => /* @__PURE__ */ jsx56(NavigationDirectionContext.Provider, { value: direction, children: /* @__PURE__ */ jsx56(
9906
10095
  Tag2,
9907
10096
  {
9908
10097
  ref,
@@ -9915,8 +10104,8 @@ var Navigation = forwardRef36(
9915
10104
  ) })
9916
10105
  );
9917
10106
  Navigation.displayName = "Navigation";
9918
- var NavigationBrand = forwardRef36(
9919
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
10107
+ var NavigationBrand = forwardRef37(
10108
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx56(
9920
10109
  "div",
9921
10110
  {
9922
10111
  ref,
@@ -9926,30 +10115,30 @@ var NavigationBrand = forwardRef36(
9926
10115
  )
9927
10116
  );
9928
10117
  NavigationBrand.displayName = "NavigationBrand";
9929
- var NavigationBrandTitle = forwardRef36(({ className, asChild = false, children, ...props }, ref) => {
10118
+ var NavigationBrandTitle = forwardRef37(({ className, asChild = false, children, ...props }, ref) => {
9930
10119
  const Comp = asChild ? Slot5 : "a";
9931
- return /* @__PURE__ */ jsx55(
10120
+ return /* @__PURE__ */ jsx56(
9932
10121
  Comp,
9933
10122
  {
9934
10123
  ref,
9935
10124
  className: cn("aviala-navigation-brand__title aviala-focus-ring", className),
9936
10125
  ...props,
9937
- children: asChild ? children : /* @__PURE__ */ jsx55(Typography, { level: "text", as: "span", children })
10126
+ children: asChild ? children : /* @__PURE__ */ jsx56(Typography, { level: "text", as: "span", children })
9938
10127
  }
9939
10128
  );
9940
10129
  });
9941
10130
  NavigationBrandTitle.displayName = "NavigationBrandTitle";
9942
- var NavigationSection = forwardRef36(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx55(
10131
+ var NavigationSection = forwardRef37(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx56(
9943
10132
  "div",
9944
10133
  {
9945
10134
  ref,
9946
10135
  className: cn("aviala-navigation-section", className),
9947
10136
  ...props,
9948
- children: /* @__PURE__ */ jsx55(Typography, { level: "caption", as: "p", children })
10137
+ children: /* @__PURE__ */ jsx56(Typography, { level: "caption", as: "p", children })
9949
10138
  }
9950
10139
  ));
9951
10140
  NavigationSection.displayName = "NavigationSection";
9952
- var NavigationGroup = forwardRef36(
10141
+ var NavigationGroup = forwardRef37(
9953
10142
  ({ className, children, ...props }, ref) => {
9954
10143
  const direction = useNavigationDirection();
9955
10144
  const layoutKey = useThemeLayoutKey();
@@ -9970,14 +10159,14 @@ var NavigationGroup = forwardRef36(
9970
10159
  },
9971
10160
  [ref]
9972
10161
  );
9973
- return /* @__PURE__ */ jsxs40(
10162
+ return /* @__PURE__ */ jsxs41(
9974
10163
  "div",
9975
10164
  {
9976
10165
  ref: setRefs,
9977
10166
  className: cn("aviala-navigation-group", className),
9978
10167
  ...props,
9979
10168
  children: [
9980
- /* @__PURE__ */ jsx55(
10169
+ /* @__PURE__ */ jsx56(
9981
10170
  "span",
9982
10171
  {
9983
10172
  ref: onIndicatorRef,
@@ -9993,17 +10182,17 @@ var NavigationGroup = forwardRef36(
9993
10182
  }
9994
10183
  );
9995
10184
  NavigationGroup.displayName = "NavigationGroup";
9996
- var NavigationItemGroup = forwardRef36(({ className, expanded, children, ...props }, ref) => {
10185
+ var NavigationItemGroup = forwardRef37(({ className, expanded, children, ...props }, ref) => {
9997
10186
  const isCollapsible = expanded !== void 0;
9998
10187
  const isCollapsed = isCollapsible && !expanded;
9999
10188
  const innerRef = useRef13(null);
10000
- useLayoutEffect7(() => {
10189
+ useLayoutEffect8(() => {
10001
10190
  const inner = innerRef.current;
10002
10191
  if (!inner) return;
10003
10192
  if (isCollapsed) inner.setAttribute("inert", "");
10004
10193
  else inner.removeAttribute("inert");
10005
10194
  }, [isCollapsed]);
10006
- return /* @__PURE__ */ jsx55(
10195
+ return /* @__PURE__ */ jsx56(
10007
10196
  "div",
10008
10197
  {
10009
10198
  ref,
@@ -10011,7 +10200,7 @@ var NavigationItemGroup = forwardRef36(({ className, expanded, children, ...prop
10011
10200
  "data-expanded": isCollapsible ? expanded ? "true" : "false" : void 0,
10012
10201
  "aria-hidden": isCollapsed ? true : void 0,
10013
10202
  ...props,
10014
- children: isCollapsible ? /* @__PURE__ */ jsx55("div", { ref: innerRef, className: "aviala-navigation-item-group__inner", children }) : children
10203
+ children: isCollapsible ? /* @__PURE__ */ jsx56("div", { ref: innerRef, className: "aviala-navigation-item-group__inner", children }) : children
10015
10204
  }
10016
10205
  );
10017
10206
  });
@@ -10022,9 +10211,9 @@ function renderItemIcon3(node) {
10022
10211
  level: "text",
10023
10212
  biggerSize: true
10024
10213
  });
10025
- return /* @__PURE__ */ jsx55("span", { className: "aviala-navigation-item__icon", children: content });
10214
+ return /* @__PURE__ */ jsx56("span", { className: "aviala-navigation-item__icon", children: content });
10026
10215
  }
10027
- var NavigationItem = forwardRef36(
10216
+ var NavigationItem = forwardRef37(
10028
10217
  ({
10029
10218
  className,
10030
10219
  active,
@@ -10039,9 +10228,9 @@ var NavigationItem = forwardRef36(
10039
10228
  const Comp = asChild ? Slot5 : "a";
10040
10229
  const isActive = active ?? ariaCurrent === "page";
10041
10230
  const mode = navigationItemButtonMode(isActive);
10042
- const controlContent = /* @__PURE__ */ jsxs40(Fragment8, { children: [
10231
+ const controlContent = /* @__PURE__ */ jsxs41(Fragment9, { children: [
10043
10232
  renderItemIcon3(leftIcon),
10044
- /* @__PURE__ */ jsx55(
10233
+ /* @__PURE__ */ jsx56(
10045
10234
  Typography,
10046
10235
  {
10047
10236
  level: "text",
@@ -10050,15 +10239,15 @@ var NavigationItem = forwardRef36(
10050
10239
  children
10051
10240
  }
10052
10241
  ),
10053
- rightIcon ? /* @__PURE__ */ jsx55("span", { className: "aviala-navigation-item__chevron", children: renderItemIcon3(rightIcon) }) : null
10242
+ rightIcon ? /* @__PURE__ */ jsx56("span", { className: "aviala-navigation-item__chevron", children: renderItemIcon3(rightIcon) }) : null
10054
10243
  ] });
10055
- return /* @__PURE__ */ jsx55(
10244
+ return /* @__PURE__ */ jsx56(
10056
10245
  "span",
10057
10246
  {
10058
10247
  className: cn("aviala-navigation-item", className),
10059
10248
  "data-item-type": itemType,
10060
10249
  "data-active": isActive ? "true" : "false",
10061
- children: /* @__PURE__ */ jsx55(
10250
+ children: /* @__PURE__ */ jsx56(
10062
10251
  Comp,
10063
10252
  {
10064
10253
  ref,
@@ -10077,7 +10266,7 @@ var NavigationItem = forwardRef36(
10077
10266
  }
10078
10267
  );
10079
10268
  NavigationItem.displayName = "NavigationItem";
10080
- var NavigationActions = forwardRef36(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx55(
10269
+ var NavigationActions = forwardRef37(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx56(
10081
10270
  "div",
10082
10271
  {
10083
10272
  ref,
@@ -10087,7 +10276,7 @@ var NavigationActions = forwardRef36(({ className, children, ...props }, ref) =>
10087
10276
  }
10088
10277
  ));
10089
10278
  NavigationActions.displayName = "NavigationActions";
10090
- var NavigationActionsSlot = forwardRef36(({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
10279
+ var NavigationActionsSlot = forwardRef37(({ className, ...props }, ref) => /* @__PURE__ */ jsx56(
10091
10280
  "div",
10092
10281
  {
10093
10282
  ref,
@@ -10113,10 +10302,10 @@ function NavigationItemMenu({
10113
10302
  onOpenChange,
10114
10303
  children
10115
10304
  }) {
10116
- const [internalValue, setInternalValue] = useState21(defaultValue);
10305
+ const [internalValue, setInternalValue] = useState22(defaultValue);
10117
10306
  const isValueControlled = valueProp !== void 0;
10118
10307
  const value = isValueControlled ? valueProp : internalValue;
10119
- const [internalOpen, setInternalOpen] = useState21(false);
10308
+ const [internalOpen, setInternalOpen] = useState22(false);
10120
10309
  const isOpenControlled = openProp !== void 0;
10121
10310
  const open = isOpenControlled ? openProp : internalOpen;
10122
10311
  const closeTimerRef = useRef13(null);
@@ -10179,9 +10368,9 @@ function NavigationItemMenu({
10179
10368
  },
10180
10369
  [cancelClose, setOpen]
10181
10370
  );
10182
- return /* @__PURE__ */ jsx55(NavigationItemMenuContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx55(Popover, { open, onOpenChange: handleOpenChange, children }) });
10371
+ return /* @__PURE__ */ jsx56(NavigationItemMenuContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx56(Popover, { open, onOpenChange: handleOpenChange, children }) });
10183
10372
  }
10184
- var NavigationItemMenuTrigger = forwardRef36(
10373
+ var NavigationItemMenuTrigger = forwardRef37(
10185
10374
  ({
10186
10375
  className,
10187
10376
  active,
@@ -10193,7 +10382,7 @@ var NavigationItemMenuTrigger = forwardRef36(
10193
10382
  const menu = useNavigationItemMenuContext("NavigationItemMenuTrigger");
10194
10383
  const isActive = active ?? menu.hasSelection;
10195
10384
  const mode = navigationItemButtonMode(isActive);
10196
- return /* @__PURE__ */ jsx55(
10385
+ return /* @__PURE__ */ jsx56(
10197
10386
  "span",
10198
10387
  {
10199
10388
  className: cn("aviala-navigation-item", className),
@@ -10201,7 +10390,7 @@ var NavigationItemMenuTrigger = forwardRef36(
10201
10390
  "data-active": isActive ? "true" : "false",
10202
10391
  onMouseEnter: () => menu.openMenu(true),
10203
10392
  onMouseLeave: menu.scheduleClose,
10204
- children: /* @__PURE__ */ jsx55(PopoverPrimitive7.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs40(
10393
+ children: /* @__PURE__ */ jsx56(PopoverPrimitive7.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs41(
10205
10394
  "button",
10206
10395
  {
10207
10396
  ref,
@@ -10214,7 +10403,7 @@ var NavigationItemMenuTrigger = forwardRef36(
10214
10403
  ...props,
10215
10404
  children: [
10216
10405
  renderItemIcon3(leftIcon),
10217
- /* @__PURE__ */ jsx55(
10406
+ /* @__PURE__ */ jsx56(
10218
10407
  Typography,
10219
10408
  {
10220
10409
  level: "text",
@@ -10223,7 +10412,7 @@ var NavigationItemMenuTrigger = forwardRef36(
10223
10412
  children
10224
10413
  }
10225
10414
  ),
10226
- rightIcon ? /* @__PURE__ */ jsx55("span", { className: "aviala-navigation-item__chevron", children: renderItemIcon3(rightIcon) }) : null
10415
+ rightIcon ? /* @__PURE__ */ jsx56("span", { className: "aviala-navigation-item__chevron", children: renderItemIcon3(rightIcon) }) : null
10227
10416
  ]
10228
10417
  }
10229
10418
  ) })
@@ -10232,7 +10421,7 @@ var NavigationItemMenuTrigger = forwardRef36(
10232
10421
  }
10233
10422
  );
10234
10423
  NavigationItemMenuTrigger.displayName = "NavigationItemMenuTrigger";
10235
- var NavigationItemMenuContent = forwardRef36(
10424
+ var NavigationItemMenuContent = forwardRef37(
10236
10425
  ({
10237
10426
  className,
10238
10427
  side,
@@ -10246,7 +10435,7 @@ var NavigationItemMenuContent = forwardRef36(
10246
10435
  const direction = useNavigationDirection();
10247
10436
  const writingDirection = useDirection();
10248
10437
  const menu = useNavigationItemMenuContext("NavigationItemMenuContent");
10249
- return /* @__PURE__ */ jsx55(PopoverPrimitive7.Portal, { container: overlayContainer, children: /* @__PURE__ */ jsx55(
10438
+ return /* @__PURE__ */ jsx56(PopoverPrimitive7.Portal, { container: overlayContainer, children: /* @__PURE__ */ jsx56(
10250
10439
  PopoverPrimitive7.Content,
10251
10440
  {
10252
10441
  ref,
@@ -10267,7 +10456,7 @@ var NavigationItemMenuContent = forwardRef36(
10267
10456
  }
10268
10457
  );
10269
10458
  NavigationItemMenuContent.displayName = "NavigationItemMenuContent";
10270
- var NavigationItemMenuItem = forwardRef36(
10459
+ var NavigationItemMenuItem = forwardRef37(
10271
10460
  ({
10272
10461
  className,
10273
10462
  value,
@@ -10281,7 +10470,7 @@ var NavigationItemMenuItem = forwardRef36(
10281
10470
  }, ref) => {
10282
10471
  const menu = useNavigationItemMenuContext("NavigationItemMenuItem");
10283
10472
  const isSelected = selected ?? menu.value === value;
10284
- return /* @__PURE__ */ jsxs40(
10473
+ return /* @__PURE__ */ jsxs41(
10285
10474
  "button",
10286
10475
  {
10287
10476
  ref,
@@ -10301,7 +10490,7 @@ var NavigationItemMenuItem = forwardRef36(
10301
10490
  ...props,
10302
10491
  children: [
10303
10492
  renderItemIcon3(leftIcon),
10304
- /* @__PURE__ */ jsx55(
10493
+ /* @__PURE__ */ jsx56(
10305
10494
  Typography,
10306
10495
  {
10307
10496
  level: "text",
@@ -10310,7 +10499,7 @@ var NavigationItemMenuItem = forwardRef36(
10310
10499
  children
10311
10500
  }
10312
10501
  ),
10313
- rightIcon ? /* @__PURE__ */ jsx55("span", { className: "aviala-navigation-menu-item__trailing", children: renderItemIcon3(rightIcon) }) : null
10502
+ rightIcon ? /* @__PURE__ */ jsx56("span", { className: "aviala-navigation-menu-item__trailing", children: renderItemIcon3(rightIcon) }) : null
10314
10503
  ]
10315
10504
  }
10316
10505
  );
@@ -10321,16 +10510,16 @@ NavigationItemMenuItem.displayName = "NavigationItemMenuItem";
10321
10510
  // src/components/tab.tsx
10322
10511
  import {
10323
10512
  createContext as createContext13,
10324
- forwardRef as forwardRef37,
10513
+ forwardRef as forwardRef38,
10325
10514
  useCallback as useCallback18,
10326
10515
  useContext as useContext14,
10327
10516
  useEffect as useEffect16,
10328
- useLayoutEffect as useLayoutEffect8,
10517
+ useLayoutEffect as useLayoutEffect9,
10329
10518
  useMemo as useMemo12,
10330
10519
  useRef as useRef14,
10331
- useState as useState22
10520
+ useState as useState23
10332
10521
  } from "react";
10333
- import { jsx as jsx56, jsxs as jsxs41 } from "react/jsx-runtime";
10522
+ import { jsx as jsx57, jsxs as jsxs42 } from "react/jsx-runtime";
10334
10523
  var TabContext = createContext13(null);
10335
10524
  function useTabContext() {
10336
10525
  const ctx = useContext14(TabContext);
@@ -10345,7 +10534,7 @@ function tabItemButtonMode(style, active) {
10345
10534
  return active ? "noBackground" : "noBackgroundCustom";
10346
10535
  }
10347
10536
  function useTabState(value, defaultValue, onValueChange) {
10348
- const [internal, setInternal] = useState22(defaultValue ?? "");
10537
+ const [internal, setInternal] = useState23(defaultValue ?? "");
10349
10538
  const isControlled = value !== void 0;
10350
10539
  const current = isControlled ? value : internal;
10351
10540
  const setValue = useCallback18(
@@ -10406,7 +10595,7 @@ function useTabIndicator(listRef, enabled, layoutKey, value) {
10406
10595
  },
10407
10596
  [enabled, listRef]
10408
10597
  );
10409
- useLayoutEffect8(() => {
10598
+ useLayoutEffect9(() => {
10410
10599
  if (!enabled) {
10411
10600
  if (indicatorRef.current) indicatorRef.current.dataset.visible = "false";
10412
10601
  return;
@@ -10437,11 +10626,11 @@ function renderTabIcon(node) {
10437
10626
  level: "text",
10438
10627
  biggerSize: true
10439
10628
  });
10440
- return /* @__PURE__ */ jsx56("span", { className: "aviala-tab-item__icon", children: content });
10629
+ return /* @__PURE__ */ jsx57("span", { className: "aviala-tab-item__icon", children: content });
10441
10630
  }
10442
10631
  function TabCardEar({ side }) {
10443
10632
  const d = side === "start" ? "M8 8L0 8C4 8 8 5.5 8 0L8 8Z" : "M0 8L8 8C4 8 0 5.5 0 0L0 8Z";
10444
- return /* @__PURE__ */ jsx56("span", { className: "aviala-tab-item__ear", "data-side": side, "aria-hidden": true, children: /* @__PURE__ */ jsx56(
10633
+ return /* @__PURE__ */ jsx57("span", { className: "aviala-tab-item__ear", "data-side": side, "aria-hidden": true, children: /* @__PURE__ */ jsx57(
10445
10634
  "svg",
10446
10635
  {
10447
10636
  xmlns: "http://www.w3.org/2000/svg",
@@ -10449,11 +10638,11 @@ function TabCardEar({ side }) {
10449
10638
  height: "8",
10450
10639
  viewBox: "0 0 8 8",
10451
10640
  fill: "none",
10452
- children: /* @__PURE__ */ jsx56("path", { d, fill: "currentColor" })
10641
+ children: /* @__PURE__ */ jsx57("path", { d, fill: "currentColor" })
10453
10642
  }
10454
10643
  ) });
10455
10644
  }
10456
- var Tab = forwardRef37(
10645
+ var Tab = forwardRef38(
10457
10646
  ({
10458
10647
  className,
10459
10648
  style: tabStyle = "default",
@@ -10539,7 +10728,7 @@ var Tab = forwardRef37(
10539
10728
  }
10540
10729
  }
10541
10730
  };
10542
- return /* @__PURE__ */ jsx56(TabContext.Provider, { value: ctx, children: /* @__PURE__ */ jsxs41(
10731
+ return /* @__PURE__ */ jsx57(TabContext.Provider, { value: ctx, children: /* @__PURE__ */ jsxs42(
10543
10732
  "div",
10544
10733
  {
10545
10734
  ref,
@@ -10549,8 +10738,8 @@ var Tab = forwardRef37(
10549
10738
  ...spiralDebugId("tab"),
10550
10739
  ...props,
10551
10740
  children: [
10552
- startSlot != null && startSlot !== false ? /* @__PURE__ */ jsx56("div", { className: "aviala-tab__slot", "data-slot": "start", children: startSlot }) : null,
10553
- /* @__PURE__ */ jsxs41(
10741
+ startSlot != null && startSlot !== false ? /* @__PURE__ */ jsx57("div", { className: "aviala-tab__slot", "data-slot": "start", children: startSlot }) : null,
10742
+ /* @__PURE__ */ jsxs42(
10554
10743
  "div",
10555
10744
  {
10556
10745
  ref: listRef,
@@ -10560,7 +10749,7 @@ var Tab = forwardRef37(
10560
10749
  onKeyDown: handleListKeyDown,
10561
10750
  ...spiralDebugId("tab.list"),
10562
10751
  children: [
10563
- showIndicator ? /* @__PURE__ */ jsx56(
10752
+ showIndicator ? /* @__PURE__ */ jsx57(
10564
10753
  "span",
10565
10754
  {
10566
10755
  ref: indicatorRef,
@@ -10573,14 +10762,14 @@ var Tab = forwardRef37(
10573
10762
  ]
10574
10763
  }
10575
10764
  ),
10576
- endSlot != null && endSlot !== false ? /* @__PURE__ */ jsx56("div", { className: "aviala-tab__slot", "data-slot": "end", children: endSlot }) : null
10765
+ endSlot != null && endSlot !== false ? /* @__PURE__ */ jsx57("div", { className: "aviala-tab__slot", "data-slot": "end", children: endSlot }) : null
10577
10766
  ]
10578
10767
  }
10579
10768
  ) });
10580
10769
  }
10581
10770
  );
10582
10771
  Tab.displayName = "Tab";
10583
- var TabItem = forwardRef37(
10772
+ var TabItem = forwardRef38(
10584
10773
  ({
10585
10774
  className,
10586
10775
  value,
@@ -10603,7 +10792,7 @@ var TabItem = forwardRef37(
10603
10792
  [ctx, ref, value]
10604
10793
  );
10605
10794
  const showCardEars = ctx.style === "card" && active;
10606
- return /* @__PURE__ */ jsxs41(
10795
+ return /* @__PURE__ */ jsxs42(
10607
10796
  "span",
10608
10797
  {
10609
10798
  className: cn("aviala-tab-item", className),
@@ -10612,8 +10801,8 @@ var TabItem = forwardRef37(
10612
10801
  "data-disabled": disabled ? "true" : void 0,
10613
10802
  ...spiralDebugId("tab.item"),
10614
10803
  children: [
10615
- showCardEars ? /* @__PURE__ */ jsx56(TabCardEar, { side: "start" }) : null,
10616
- /* @__PURE__ */ jsxs41(
10804
+ showCardEars ? /* @__PURE__ */ jsx57(TabCardEar, { side: "start" }) : null,
10805
+ /* @__PURE__ */ jsxs42(
10617
10806
  "button",
10618
10807
  {
10619
10808
  ref: setRefs,
@@ -10636,7 +10825,7 @@ var TabItem = forwardRef37(
10636
10825
  ...props,
10637
10826
  children: [
10638
10827
  renderTabIcon(leftIcon),
10639
- children != null && children !== false ? /* @__PURE__ */ jsx56(
10828
+ children != null && children !== false ? /* @__PURE__ */ jsx57(
10640
10829
  Typography,
10641
10830
  {
10642
10831
  level: "text",
@@ -10648,7 +10837,7 @@ var TabItem = forwardRef37(
10648
10837
  ]
10649
10838
  }
10650
10839
  ),
10651
- showCardEars ? /* @__PURE__ */ jsx56(TabCardEar, { side: "end" }) : null
10840
+ showCardEars ? /* @__PURE__ */ jsx57(TabCardEar, { side: "end" }) : null
10652
10841
  ]
10653
10842
  }
10654
10843
  );
@@ -10658,14 +10847,14 @@ TabItem.displayName = "TabItem";
10658
10847
 
10659
10848
  // src/components/upload.tsx
10660
10849
  import { GeneralUpload } from "@aviala-design/icons";
10661
- import { cva as cva14 } from "class-variance-authority";
10850
+ import { cva as cva15 } from "class-variance-authority";
10662
10851
  import {
10663
- forwardRef as forwardRef38,
10852
+ forwardRef as forwardRef39,
10664
10853
  useRef as useRef15,
10665
- useState as useState23
10854
+ useState as useState24
10666
10855
  } from "react";
10667
- import { jsx as jsx57, jsxs as jsxs42 } from "react/jsx-runtime";
10668
- var uploadVariants = cva14("aviala-upload aviala-focus-ring", {
10856
+ import { jsx as jsx58, jsxs as jsxs43 } from "react/jsx-runtime";
10857
+ var uploadVariants = cva15("aviala-upload aviala-focus-ring", {
10669
10858
  variants: {
10670
10859
  style: {
10671
10860
  default: "aviala-upload--style-default",
@@ -10676,7 +10865,7 @@ var uploadVariants = cva14("aviala-upload aviala-focus-ring", {
10676
10865
  style: "default"
10677
10866
  }
10678
10867
  });
10679
- var Upload = forwardRef38(
10868
+ var Upload = forwardRef39(
10680
10869
  ({
10681
10870
  className,
10682
10871
  style = "default",
@@ -10699,7 +10888,7 @@ var Upload = forwardRef38(
10699
10888
  const resolvedDescription = description ?? locale.description;
10700
10889
  const resolvedLabel = label ?? locale.label;
10701
10890
  const inputRef = useRef15(null);
10702
- const [dragging, setDragging] = useState23(false);
10891
+ const [dragging, setDragging] = useState24(false);
10703
10892
  const resolvedStyle = style ?? "default";
10704
10893
  const allowDrag = dragAndDrop ?? resolvedStyle === "large";
10705
10894
  const openPicker = () => {
@@ -10718,7 +10907,7 @@ var Upload = forwardRef38(
10718
10907
  onChange?.(event.dataTransfer.files);
10719
10908
  }
10720
10909
  };
10721
- return /* @__PURE__ */ jsxs42(
10910
+ return /* @__PURE__ */ jsxs43(
10722
10911
  "div",
10723
10912
  {
10724
10913
  ref,
@@ -10749,7 +10938,7 @@ var Upload = forwardRef38(
10749
10938
  onDrop: handleDrop,
10750
10939
  ...props,
10751
10940
  children: [
10752
- /* @__PURE__ */ jsx57(
10941
+ /* @__PURE__ */ jsx58(
10753
10942
  "input",
10754
10943
  {
10755
10944
  ref: inputRef,
@@ -10764,8 +10953,8 @@ var Upload = forwardRef38(
10764
10953
  ...inputProps
10765
10954
  }
10766
10955
  ),
10767
- /* @__PURE__ */ jsx57("span", { className: "aviala-upload__icon", "aria-hidden": true, children: /* @__PURE__ */ jsx57(GeneralUpload, { width: 16, height: 16 }) }),
10768
- resolvedStyle === "large" ? /* @__PURE__ */ jsx57(
10956
+ /* @__PURE__ */ jsx58("span", { className: "aviala-upload__icon", "aria-hidden": true, children: /* @__PURE__ */ jsx58(GeneralUpload, { width: 16, height: 16 }) }),
10957
+ resolvedStyle === "large" ? /* @__PURE__ */ jsx58(
10769
10958
  Typeface,
10770
10959
  {
10771
10960
  className: "aviala-upload__typeface",
@@ -10773,7 +10962,7 @@ var Upload = forwardRef38(
10773
10962
  primary: resolvedTitle,
10774
10963
  secondary: resolvedDescription
10775
10964
  }
10776
- ) : /* @__PURE__ */ jsx57(Typography, { level: "text", as: "span", className: "aviala-upload__label", children: resolvedLabel })
10965
+ ) : /* @__PURE__ */ jsx58(Typography, { level: "text", as: "span", className: "aviala-upload__label", children: resolvedLabel })
10777
10966
  ]
10778
10967
  }
10779
10968
  );
@@ -10783,7 +10972,7 @@ Upload.displayName = "Upload";
10783
10972
 
10784
10973
  // src/components/video/video.tsx
10785
10974
  import {
10786
- forwardRef as forwardRef39,
10975
+ forwardRef as forwardRef40,
10787
10976
  useImperativeHandle,
10788
10977
  useRef as useRef20
10789
10978
  } from "react";
@@ -10797,14 +10986,14 @@ import {
10797
10986
  GeneralVolumeMin,
10798
10987
  GeneralVolumeSlash
10799
10988
  } from "@aviala-design/icons";
10800
- import { memo as memo2, useEffect as useEffect18, useRef as useRef18, useState as useState26 } from "react";
10989
+ import { memo as memo2, useEffect as useEffect18, useRef as useRef18, useState as useState27 } from "react";
10801
10990
 
10802
10991
  // src/components/video/use-video-state.ts
10803
10992
  import {
10804
10993
  useCallback as useCallback19,
10805
10994
  useEffect as useEffect17,
10806
10995
  useRef as useRef16,
10807
- useState as useState24
10996
+ useState as useState25
10808
10997
  } from "react";
10809
10998
  function videoObjectFitToCss(fit) {
10810
10999
  switch (fit) {
@@ -10869,20 +11058,20 @@ function useVideoState({
10869
11058
  onPrevious,
10870
11059
  onNext
10871
11060
  }) {
10872
- const [playing, setPlaying] = useState24(false);
10873
- const [currentTime, setCurrentTime] = useState24(0);
10874
- const [duration, setDuration] = useState24(0);
10875
- const [seeking, setSeeking] = useState24(false);
10876
- const [fullscreen, setFullscreen] = useState24(false);
10877
- const [internalMuted, setInternalMuted] = useState24(defaultMuted);
11061
+ const [playing, setPlaying] = useState25(false);
11062
+ const [currentTime, setCurrentTime] = useState25(0);
11063
+ const [duration, setDuration] = useState25(0);
11064
+ const [seeking, setSeeking] = useState25(false);
11065
+ const [fullscreen, setFullscreen] = useState25(false);
11066
+ const [internalMuted, setInternalMuted] = useState25(defaultMuted);
10878
11067
  const muted = mutedProp ?? internalMuted;
10879
- const [internalRate, setInternalRate] = useState24(defaultPlaybackRate);
11068
+ const [internalRate, setInternalRate] = useState25(defaultPlaybackRate);
10880
11069
  const playbackRate = rateProp ?? internalRate;
10881
- const [internalObjectFit, setInternalObjectFit] = useState24(defaultObjectFit);
11070
+ const [internalObjectFit, setInternalObjectFit] = useState25(defaultObjectFit);
10882
11071
  const objectFit = objectFitProp ?? internalObjectFit;
10883
- const [internalVolumeBalance, setInternalVolumeBalance] = useState24(defaultVolumeBalance);
11072
+ const [internalVolumeBalance, setInternalVolumeBalance] = useState25(defaultVolumeBalance);
10884
11073
  const volumeBalance = volumeBalanceProp ?? internalVolumeBalance;
10885
- const [internalVolume, setInternalVolume] = useState24(
11074
+ const [internalVolume, setInternalVolume] = useState25(
10886
11075
  () => Math.min(1, Math.max(0, defaultVolume))
10887
11076
  );
10888
11077
  const volume = volumeProp ?? internalVolume;
@@ -11176,7 +11365,7 @@ function useVideoState({
11176
11365
  }
11177
11366
 
11178
11367
  // src/components/video/video-animated-icon.tsx
11179
- import { memo, useId as useId6, useLayoutEffect as useLayoutEffect9, useRef as useRef17 } from "react";
11368
+ import { memo, useId as useId6, useLayoutEffect as useLayoutEffect10, useRef as useRef17 } from "react";
11180
11369
 
11181
11370
  // src/components/video/video-animated-icon-markup.ts
11182
11371
  var VIDEO_ANIMATED_ICON_MARKUP = {
@@ -11187,7 +11376,7 @@ var VIDEO_ANIMATED_ICON_MARKUP = {
11187
11376
  };
11188
11377
 
11189
11378
  // src/components/video/video-animated-icon.tsx
11190
- import { jsx as jsx58, jsxs as jsxs43 } from "react/jsx-runtime";
11379
+ import { jsx as jsx59, jsxs as jsxs44 } from "react/jsx-runtime";
11191
11380
  var VIDEO_TRANSPORT_ANIMATION_MS = 550;
11192
11381
  function prefersReducedMotion3() {
11193
11382
  return typeof window !== "undefined" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
@@ -11261,7 +11450,7 @@ var VideoAnimatedIcon = memo(function VideoAnimatedIcon2({
11261
11450
  const nameRef = useRef17(name);
11262
11451
  nameRef.current = name;
11263
11452
  const isPlayPause = name === "play" || name === "pause";
11264
- useLayoutEffect9(() => {
11453
+ useLayoutEffect10(() => {
11265
11454
  if (isPlayPause) {
11266
11455
  const playLayer = playLayerRef.current;
11267
11456
  const pauseLayer = pauseLayerRef.current;
@@ -11285,7 +11474,7 @@ var VideoAnimatedIcon = memo(function VideoAnimatedIcon2({
11285
11474
  setLayerRest(layer, true);
11286
11475
  shownRef.current = name;
11287
11476
  }, []);
11288
- useLayoutEffect9(() => {
11477
+ useLayoutEffect10(() => {
11289
11478
  if (playToken === 0) return;
11290
11479
  if (prefersReducedMotion3()) {
11291
11480
  const target2 = nameRef.current;
@@ -11337,7 +11526,7 @@ var VideoAnimatedIcon = memo(function VideoAnimatedIcon2({
11337
11526
  }, VIDEO_TRANSPORT_ANIMATION_MS);
11338
11527
  return () => window.clearTimeout(timer);
11339
11528
  }, [playToken]);
11340
- useLayoutEffect9(() => {
11529
+ useLayoutEffect10(() => {
11341
11530
  if (lockRef.current) return;
11342
11531
  if (shownRef.current === name) return;
11343
11532
  if (name !== "play" && name !== "pause") return;
@@ -11350,8 +11539,8 @@ var VideoAnimatedIcon = memo(function VideoAnimatedIcon2({
11350
11539
  shownRef.current = name;
11351
11540
  }, [name]);
11352
11541
  if (isPlayPause) {
11353
- return /* @__PURE__ */ jsxs43("span", { ref: hostRef, className: "aviala-video__animated-icon", "aria-hidden": true, children: [
11354
- /* @__PURE__ */ jsx58(
11542
+ return /* @__PURE__ */ jsxs44("span", { ref: hostRef, className: "aviala-video__animated-icon", "aria-hidden": true, children: [
11543
+ /* @__PURE__ */ jsx59(
11355
11544
  "span",
11356
11545
  {
11357
11546
  ref: playLayerRef,
@@ -11359,7 +11548,7 @@ var VideoAnimatedIcon = memo(function VideoAnimatedIcon2({
11359
11548
  "data-active": "true"
11360
11549
  }
11361
11550
  ),
11362
- /* @__PURE__ */ jsx58(
11551
+ /* @__PURE__ */ jsx59(
11363
11552
  "span",
11364
11553
  {
11365
11554
  ref: pauseLayerRef,
@@ -11369,7 +11558,7 @@ var VideoAnimatedIcon = memo(function VideoAnimatedIcon2({
11369
11558
  )
11370
11559
  ] });
11371
11560
  }
11372
- return /* @__PURE__ */ jsx58(
11561
+ return /* @__PURE__ */ jsx59(
11373
11562
  "span",
11374
11563
  {
11375
11564
  ref: hostRef,
@@ -11377,7 +11566,7 @@ var VideoAnimatedIcon = memo(function VideoAnimatedIcon2({
11377
11566
  "data-flip": name === "next" ? "true" : void 0,
11378
11567
  "data-mirror-motion": name === "previous" ? "true" : void 0,
11379
11568
  "aria-hidden": true,
11380
- children: /* @__PURE__ */ jsx58(
11569
+ children: /* @__PURE__ */ jsx59(
11381
11570
  "span",
11382
11571
  {
11383
11572
  ref: singleLayerRef,
@@ -11391,7 +11580,7 @@ var VideoAnimatedIcon = memo(function VideoAnimatedIcon2({
11391
11580
  });
11392
11581
 
11393
11582
  // src/components/video/video-settings.tsx
11394
- import { jsx as jsx59, jsxs as jsxs44 } from "react/jsx-runtime";
11583
+ import { jsx as jsx60, jsxs as jsxs45 } from "react/jsx-runtime";
11395
11584
  function VideoSettings({
11396
11585
  locale,
11397
11586
  objectFit,
@@ -11400,29 +11589,29 @@ function VideoSettings({
11400
11589
  onVolumeBalanceChange,
11401
11590
  trigger
11402
11591
  }) {
11403
- return /* @__PURE__ */ jsxs44(Popover, { children: [
11404
- /* @__PURE__ */ jsx59(PopoverTrigger, { asChild: true, children: trigger }),
11405
- /* @__PURE__ */ jsx59(PopoverContent, { side: "top", align: "end", showArrow: true, flush: true, sideOffset: 8, children: /* @__PURE__ */ jsxs44("div", { className: "aviala-video__settings-body", children: [
11406
- /* @__PURE__ */ jsx59(Typography, { level: "subtitle", children: locale.settingsTitle }),
11407
- /* @__PURE__ */ jsxs44("div", { className: "aviala-video__settings-section", children: [
11408
- /* @__PURE__ */ jsx59(Typography, { level: "text", children: locale.aspectRatio }),
11409
- /* @__PURE__ */ jsxs44(
11592
+ return /* @__PURE__ */ jsxs45(Popover, { children: [
11593
+ /* @__PURE__ */ jsx60(PopoverTrigger, { asChild: true, children: trigger }),
11594
+ /* @__PURE__ */ jsx60(PopoverContent, { side: "top", align: "end", showArrow: true, flush: true, sideOffset: 8, children: /* @__PURE__ */ jsxs45("div", { className: "aviala-video__settings-body", children: [
11595
+ /* @__PURE__ */ jsx60(Typography, { level: "subtitle", children: locale.settingsTitle }),
11596
+ /* @__PURE__ */ jsxs45("div", { className: "aviala-video__settings-section", children: [
11597
+ /* @__PURE__ */ jsx60(Typography, { level: "text", children: locale.aspectRatio }),
11598
+ /* @__PURE__ */ jsxs45(
11410
11599
  SegmentatorGroup,
11411
11600
  {
11412
11601
  equalWidth: true,
11413
11602
  value: objectFit,
11414
11603
  onValueChange: (value) => onObjectFitChange(value),
11415
11604
  children: [
11416
- /* @__PURE__ */ jsx59(SegmentatorItem, { value: "original", children: locale.aspectOriginal }),
11417
- /* @__PURE__ */ jsx59(SegmentatorItem, { value: "stretch", children: locale.aspectStretch }),
11418
- /* @__PURE__ */ jsx59(SegmentatorItem, { value: "fill", children: locale.aspectFill })
11605
+ /* @__PURE__ */ jsx60(SegmentatorItem, { value: "original", children: locale.aspectOriginal }),
11606
+ /* @__PURE__ */ jsx60(SegmentatorItem, { value: "stretch", children: locale.aspectStretch }),
11607
+ /* @__PURE__ */ jsx60(SegmentatorItem, { value: "fill", children: locale.aspectFill })
11419
11608
  ]
11420
11609
  }
11421
11610
  )
11422
11611
  ] }),
11423
- /* @__PURE__ */ jsxs44("div", { className: "aviala-video__settings-row", children: [
11424
- /* @__PURE__ */ jsx59(Typography, { level: "text", children: locale.volumeBalance }),
11425
- /* @__PURE__ */ jsx59(
11612
+ /* @__PURE__ */ jsxs45("div", { className: "aviala-video__settings-row", children: [
11613
+ /* @__PURE__ */ jsx60(Typography, { level: "text", children: locale.volumeBalance }),
11614
+ /* @__PURE__ */ jsx60(
11426
11615
  Switch,
11427
11616
  {
11428
11617
  size: "small",
@@ -11438,8 +11627,8 @@ function VideoSettings({
11438
11627
 
11439
11628
  // src/components/video/video-speed.tsx
11440
11629
  import { SymbolRight as SymbolRight3 } from "@aviala-design/icons";
11441
- import { useState as useState25 } from "react";
11442
- import { jsx as jsx60, jsxs as jsxs45 } from "react/jsx-runtime";
11630
+ import { useState as useState26 } from "react";
11631
+ import { jsx as jsx61, jsxs as jsxs46 } from "react/jsx-runtime";
11443
11632
  function formatSpeedRate(template, rate) {
11444
11633
  return interpolate(template, { rate });
11445
11634
  }
@@ -11452,11 +11641,11 @@ function VideoSpeed({
11452
11641
  onPlaybackRateChange,
11453
11642
  trigger
11454
11643
  }) {
11455
- const [open, setOpen] = useState25(false);
11456
- return /* @__PURE__ */ jsxs45(Popover, { open, onOpenChange: setOpen, children: [
11457
- /* @__PURE__ */ jsx60(PopoverTrigger, { asChild: true, children: trigger }),
11458
- /* @__PURE__ */ jsx60(PopoverContent, { side: "top", align: "center", showArrow: true, flush: true, sideOffset: 8, children: /* @__PURE__ */ jsx60("div", { className: "aviala-video__speed-menu", children: /* @__PURE__ */ jsxs45("div", { className: "aviala-select-group", role: "none", children: [
11459
- /* @__PURE__ */ jsx60(
11644
+ const [open, setOpen] = useState26(false);
11645
+ return /* @__PURE__ */ jsxs46(Popover, { open, onOpenChange: setOpen, children: [
11646
+ /* @__PURE__ */ jsx61(PopoverTrigger, { asChild: true, children: trigger }),
11647
+ /* @__PURE__ */ jsx61(PopoverContent, { side: "top", align: "center", showArrow: true, flush: true, sideOffset: 8, children: /* @__PURE__ */ jsx61("div", { className: "aviala-video__speed-menu", children: /* @__PURE__ */ jsxs46("div", { className: "aviala-select-group", role: "none", children: [
11648
+ /* @__PURE__ */ jsx61(
11460
11649
  "div",
11461
11650
  {
11462
11651
  className: cn(
@@ -11466,7 +11655,7 @@ function VideoSpeed({
11466
11655
  children: title
11467
11656
  }
11468
11657
  ),
11469
- /* @__PURE__ */ jsx60(
11658
+ /* @__PURE__ */ jsx61(
11470
11659
  "div",
11471
11660
  {
11472
11661
  className: "aviala-select-group__slot",
@@ -11474,7 +11663,7 @@ function VideoSpeed({
11474
11663
  "aria-label": label,
11475
11664
  children: playbackRates.map((rate) => {
11476
11665
  const selected = rate === playbackRate;
11477
- return /* @__PURE__ */ jsxs45(
11666
+ return /* @__PURE__ */ jsxs46(
11478
11667
  "button",
11479
11668
  {
11480
11669
  type: "button",
@@ -11488,7 +11677,7 @@ function VideoSpeed({
11488
11677
  setOpen(false);
11489
11678
  },
11490
11679
  children: [
11491
- /* @__PURE__ */ jsx60(
11680
+ /* @__PURE__ */ jsx61(
11492
11681
  "span",
11493
11682
  {
11494
11683
  className: cn(
@@ -11498,12 +11687,12 @@ function VideoSpeed({
11498
11687
  children: formatSpeedRate(rateTemplate, rate)
11499
11688
  }
11500
11689
  ),
11501
- selected ? /* @__PURE__ */ jsx60(
11690
+ selected ? /* @__PURE__ */ jsx61(
11502
11691
  "span",
11503
11692
  {
11504
11693
  className: "aviala-select-item__trailing-radio",
11505
11694
  "aria-hidden": true,
11506
- children: /* @__PURE__ */ jsx60(SymbolRight3, { level: "text", biggerSize: true, "aria-hidden": true })
11695
+ children: /* @__PURE__ */ jsx61(SymbolRight3, { level: "text", biggerSize: true, "aria-hidden": true })
11507
11696
  }
11508
11697
  ) : null
11509
11698
  ]
@@ -11518,17 +11707,17 @@ function VideoSpeed({
11518
11707
  }
11519
11708
 
11520
11709
  // src/components/video/video-volume.tsx
11521
- import { jsx as jsx61, jsxs as jsxs46 } from "react/jsx-runtime";
11710
+ import { jsx as jsx62, jsxs as jsxs47 } from "react/jsx-runtime";
11522
11711
  function VideoVolume({
11523
11712
  label,
11524
11713
  percent,
11525
11714
  onPercentChange,
11526
11715
  trigger
11527
11716
  }) {
11528
- return /* @__PURE__ */ jsxs46(Popover, { children: [
11529
- /* @__PURE__ */ jsx61(PopoverTrigger, { asChild: true, children: trigger }),
11530
- /* @__PURE__ */ jsx61(PopoverContent, { side: "top", align: "center", showArrow: true, flush: true, sideOffset: 8, children: /* @__PURE__ */ jsxs46("div", { className: "aviala-video__volume-body", children: [
11531
- /* @__PURE__ */ jsx61(
11717
+ return /* @__PURE__ */ jsxs47(Popover, { children: [
11718
+ /* @__PURE__ */ jsx62(PopoverTrigger, { asChild: true, children: trigger }),
11719
+ /* @__PURE__ */ jsx62(PopoverContent, { side: "top", align: "center", showArrow: true, flush: true, sideOffset: 8, children: /* @__PURE__ */ jsxs47("div", { className: "aviala-video__volume-body", children: [
11720
+ /* @__PURE__ */ jsx62(
11532
11721
  Slider,
11533
11722
  {
11534
11723
  className: "aviala-video__volume-slider",
@@ -11542,13 +11731,13 @@ function VideoVolume({
11542
11731
  onValueChange: (values) => onPercentChange(values[0] ?? 0)
11543
11732
  }
11544
11733
  ),
11545
- /* @__PURE__ */ jsx61(Typography, { level: "text", children: `${percent}%` })
11734
+ /* @__PURE__ */ jsx62(Typography, { level: "text", children: `${percent}%` })
11546
11735
  ] }) })
11547
11736
  ] });
11548
11737
  }
11549
11738
 
11550
11739
  // src/components/video/video-controls.tsx
11551
- import { jsx as jsx62, jsxs as jsxs47 } from "react/jsx-runtime";
11740
+ import { jsx as jsx63, jsxs as jsxs48 } from "react/jsx-runtime";
11552
11741
  function volumePercent(volume, muted) {
11553
11742
  if (muted) return 0;
11554
11743
  return Math.round(Math.min(1, Math.max(0, volume)) * 100);
@@ -11556,17 +11745,17 @@ function volumePercent(volume, muted) {
11556
11745
  function VolumeTriggerIcon({
11557
11746
  percent
11558
11747
  }) {
11559
- if (percent <= 0) return /* @__PURE__ */ jsx62(GeneralVolumeSlash, { mode: "fill", "aria-hidden": true });
11560
- if (percent < 34) return /* @__PURE__ */ jsx62(GeneralVolumeMin, { mode: "fill", "aria-hidden": true });
11561
- if (percent < 67) return /* @__PURE__ */ jsx62(GeneralVolumeMiddle, { mode: "fill", "aria-hidden": true });
11562
- return /* @__PURE__ */ jsx62(GeneralVolumeMax, { mode: "fill", "aria-hidden": true });
11748
+ if (percent <= 0) return /* @__PURE__ */ jsx63(GeneralVolumeSlash, { mode: "fill", "aria-hidden": true });
11749
+ if (percent < 34) return /* @__PURE__ */ jsx63(GeneralVolumeMin, { mode: "fill", "aria-hidden": true });
11750
+ if (percent < 67) return /* @__PURE__ */ jsx63(GeneralVolumeMiddle, { mode: "fill", "aria-hidden": true });
11751
+ return /* @__PURE__ */ jsx63(GeneralVolumeMax, { mode: "fill", "aria-hidden": true });
11563
11752
  }
11564
11753
  function ControlIconButton({
11565
11754
  label,
11566
11755
  icon,
11567
11756
  onClick
11568
11757
  }) {
11569
- return /* @__PURE__ */ jsx62(
11758
+ return /* @__PURE__ */ jsx63(
11570
11759
  Button,
11571
11760
  {
11572
11761
  type: "button",
@@ -11587,27 +11776,27 @@ var VideoTransportButtons = memo2(function VideoTransportButtons2({
11587
11776
  onPrevious,
11588
11777
  onNext
11589
11778
  }) {
11590
- const [prevToken, setPrevToken] = useState26(0);
11591
- const [nextToken, setNextToken] = useState26(0);
11592
- const [playToken, setPlayToken] = useState26(0);
11779
+ const [prevToken, setPrevToken] = useState27(0);
11780
+ const [nextToken, setNextToken] = useState27(0);
11781
+ const [playToken, setPlayToken] = useState27(0);
11593
11782
  const playLockRef = useRef18(false);
11594
- return /* @__PURE__ */ jsxs47("div", { className: "aviala-video__group", children: [
11595
- /* @__PURE__ */ jsx62(
11783
+ return /* @__PURE__ */ jsxs48("div", { className: "aviala-video__group", children: [
11784
+ /* @__PURE__ */ jsx63(
11596
11785
  ControlIconButton,
11597
11786
  {
11598
11787
  label: locale.previous,
11599
- icon: /* @__PURE__ */ jsx62(VideoAnimatedIcon, { name: "previous", playToken: prevToken }),
11788
+ icon: /* @__PURE__ */ jsx63(VideoAnimatedIcon, { name: "previous", playToken: prevToken }),
11600
11789
  onClick: () => {
11601
11790
  setPrevToken((token) => token + 1);
11602
11791
  onPrevious();
11603
11792
  }
11604
11793
  }
11605
11794
  ),
11606
- /* @__PURE__ */ jsx62(
11795
+ /* @__PURE__ */ jsx63(
11607
11796
  ControlIconButton,
11608
11797
  {
11609
11798
  label: playing ? locale.pause : locale.play,
11610
- icon: /* @__PURE__ */ jsx62(
11799
+ icon: /* @__PURE__ */ jsx63(
11611
11800
  VideoAnimatedIcon,
11612
11801
  {
11613
11802
  name: playing ? "pause" : "play",
@@ -11625,11 +11814,11 @@ var VideoTransportButtons = memo2(function VideoTransportButtons2({
11625
11814
  }
11626
11815
  }
11627
11816
  ),
11628
- /* @__PURE__ */ jsx62(
11817
+ /* @__PURE__ */ jsx63(
11629
11818
  ControlIconButton,
11630
11819
  {
11631
11820
  label: locale.next,
11632
- icon: /* @__PURE__ */ jsx62(VideoAnimatedIcon, { name: "next", playToken: nextToken }),
11821
+ icon: /* @__PURE__ */ jsx63(VideoAnimatedIcon, { name: "next", playToken: nextToken }),
11633
11822
  onClick: () => {
11634
11823
  setNextToken((token) => token + 1);
11635
11824
  onNext();
@@ -11645,8 +11834,8 @@ function VideoTimeInput({
11645
11834
  }) {
11646
11835
  const safeDuration = Number.isFinite(duration) && duration > 0 ? duration : 0;
11647
11836
  const timeLabel = `${formatVideoTime(currentTime)} / ${formatVideoTime(safeDuration)}`;
11648
- const [editing, setEditing] = useState26(false);
11649
- const [draft, setDraft] = useState26(timeLabel);
11837
+ const [editing, setEditing] = useState27(false);
11838
+ const [draft, setDraft] = useState27(timeLabel);
11650
11839
  useEffect18(() => {
11651
11840
  if (!editing) setDraft(timeLabel);
11652
11841
  }, [editing, timeLabel]);
@@ -11658,7 +11847,7 @@ function VideoTimeInput({
11658
11847
  }
11659
11848
  setEditing(false);
11660
11849
  };
11661
- return /* @__PURE__ */ jsx62(
11850
+ return /* @__PURE__ */ jsx63(
11662
11851
  Input,
11663
11852
  {
11664
11853
  className: "aviala-video__time",
@@ -11720,9 +11909,9 @@ function VideoControls({
11720
11909
  const sliderMax = safeDuration > 0 ? safeDuration : 1;
11721
11910
  const sliderValue = Math.min(Math.max(0, currentTime), sliderMax);
11722
11911
  const percent = volumePercent(volume, muted);
11723
- return /* @__PURE__ */ jsx62("div", { className: "aviala-video__controls", children: /* @__PURE__ */ jsxs47("div", { className: "aviala-video__bar", children: [
11724
- /* @__PURE__ */ jsx62("div", { className: "aviala-video__bar-bg", "aria-hidden": true }),
11725
- /* @__PURE__ */ jsx62(
11912
+ return /* @__PURE__ */ jsx63("div", { className: "aviala-video__controls", children: /* @__PURE__ */ jsxs48("div", { className: "aviala-video__bar", children: [
11913
+ /* @__PURE__ */ jsx63("div", { className: "aviala-video__bar-bg", "aria-hidden": true }),
11914
+ /* @__PURE__ */ jsx63(
11726
11915
  VideoTransportButtons,
11727
11916
  {
11728
11917
  playing,
@@ -11732,8 +11921,8 @@ function VideoControls({
11732
11921
  onNext
11733
11922
  }
11734
11923
  ),
11735
- /* @__PURE__ */ jsxs47("div", { className: "aviala-video__progress", children: [
11736
- /* @__PURE__ */ jsx62(
11924
+ /* @__PURE__ */ jsxs48("div", { className: "aviala-video__progress", children: [
11925
+ /* @__PURE__ */ jsx63(
11737
11926
  VideoTimeInput,
11738
11927
  {
11739
11928
  currentTime,
@@ -11746,7 +11935,7 @@ function VideoControls({
11746
11935
  }
11747
11936
  }
11748
11937
  ),
11749
- /* @__PURE__ */ jsx62(
11938
+ /* @__PURE__ */ jsx63(
11750
11939
  Slider,
11751
11940
  {
11752
11941
  className: "aviala-video__seek",
@@ -11770,8 +11959,8 @@ function VideoControls({
11770
11959
  }
11771
11960
  )
11772
11961
  ] }),
11773
- /* @__PURE__ */ jsxs47("div", { className: "aviala-video__group", children: [
11774
- /* @__PURE__ */ jsx62(
11962
+ /* @__PURE__ */ jsxs48("div", { className: "aviala-video__group", children: [
11963
+ /* @__PURE__ */ jsx63(
11775
11964
  VideoSpeed,
11776
11965
  {
11777
11966
  label: locale.speed,
@@ -11780,7 +11969,7 @@ function VideoControls({
11780
11969
  playbackRate,
11781
11970
  playbackRates,
11782
11971
  onPlaybackRateChange,
11783
- trigger: /* @__PURE__ */ jsx62(
11972
+ trigger: /* @__PURE__ */ jsx63(
11784
11973
  Button,
11785
11974
  {
11786
11975
  type: "button",
@@ -11794,13 +11983,13 @@ function VideoControls({
11794
11983
  )
11795
11984
  }
11796
11985
  ),
11797
- /* @__PURE__ */ jsx62(
11986
+ /* @__PURE__ */ jsx63(
11798
11987
  VideoVolume,
11799
11988
  {
11800
11989
  label: locale.volume,
11801
11990
  percent,
11802
11991
  onPercentChange: (next) => onVolumeChange(next / 100),
11803
- trigger: /* @__PURE__ */ jsx62(
11992
+ trigger: /* @__PURE__ */ jsx63(
11804
11993
  Button,
11805
11994
  {
11806
11995
  type: "button",
@@ -11809,12 +11998,12 @@ function VideoControls({
11809
11998
  iconOnly: true,
11810
11999
  allRound: true,
11811
12000
  "aria-label": locale.volume,
11812
- leftIcon: /* @__PURE__ */ jsx62(VolumeTriggerIcon, { percent })
12001
+ leftIcon: /* @__PURE__ */ jsx63(VolumeTriggerIcon, { percent })
11813
12002
  }
11814
12003
  )
11815
12004
  }
11816
12005
  ),
11817
- /* @__PURE__ */ jsx62(
12006
+ /* @__PURE__ */ jsx63(
11818
12007
  VideoSettings,
11819
12008
  {
11820
12009
  locale,
@@ -11822,7 +12011,7 @@ function VideoControls({
11822
12011
  volumeBalance,
11823
12012
  onObjectFitChange,
11824
12013
  onVolumeBalanceChange,
11825
- trigger: /* @__PURE__ */ jsx62(
12014
+ trigger: /* @__PURE__ */ jsx63(
11826
12015
  Button,
11827
12016
  {
11828
12017
  type: "button",
@@ -11831,16 +12020,16 @@ function VideoControls({
11831
12020
  iconOnly: true,
11832
12021
  allRound: true,
11833
12022
  "aria-label": locale.settings,
11834
- leftIcon: /* @__PURE__ */ jsx62(GeneralSetting2, { mode: "fill", "aria-hidden": true })
12023
+ leftIcon: /* @__PURE__ */ jsx63(GeneralSetting2, { mode: "fill", "aria-hidden": true })
11835
12024
  }
11836
12025
  )
11837
12026
  }
11838
12027
  ),
11839
- /* @__PURE__ */ jsx62(
12028
+ /* @__PURE__ */ jsx63(
11840
12029
  ControlIconButton,
11841
12030
  {
11842
12031
  label: fullscreen ? locale.exitFullscreen : locale.fullscreen,
11843
- icon: /* @__PURE__ */ jsx62(GeneralFullScreen, { mode: "fill", "aria-hidden": true }),
12032
+ icon: /* @__PURE__ */ jsx63(GeneralFullScreen, { mode: "fill", "aria-hidden": true }),
11844
12033
  onClick: onToggleFullscreen
11845
12034
  }
11846
12035
  )
@@ -11853,7 +12042,7 @@ import {
11853
12042
  useCallback as useCallback20,
11854
12043
  useEffect as useEffect19,
11855
12044
  useRef as useRef19,
11856
- useState as useState27
12045
+ useState as useState28
11857
12046
  } from "react";
11858
12047
  var DEFAULT_AUTO_HIDE_DELAY_MS = 2500;
11859
12048
  function isOverlayOpen() {
@@ -11876,7 +12065,7 @@ function useVideoControlsAutoHide({
11876
12065
  seeking,
11877
12066
  rootRef
11878
12067
  }) {
11879
- const [hidden, setHidden] = useState27(false);
12068
+ const [hidden, setHidden] = useState28(false);
11880
12069
  const timerRef = useRef19(null);
11881
12070
  const enabledRef = useRef19(enabled);
11882
12071
  const playingRef = useRef19(playing);
@@ -11943,8 +12132,8 @@ function useVideoControlsAutoHide({
11943
12132
  }
11944
12133
 
11945
12134
  // src/components/video/video.tsx
11946
- import { jsx as jsx63, jsxs as jsxs48 } from "react/jsx-runtime";
11947
- var Video = forwardRef39(
12135
+ import { jsx as jsx64, jsxs as jsxs49 } from "react/jsx-runtime";
12136
+ var Video = forwardRef40(
11948
12137
  ({
11949
12138
  appearance = "default",
11950
12139
  skipSeconds = 10,
@@ -12017,7 +12206,7 @@ var Video = forwardRef39(
12017
12206
  }),
12018
12207
  []
12019
12208
  );
12020
- return /* @__PURE__ */ jsxs48(
12209
+ return /* @__PURE__ */ jsxs49(
12021
12210
  "div",
12022
12211
  {
12023
12212
  ref: rootRef,
@@ -12038,7 +12227,7 @@ var Video = forwardRef39(
12038
12227
  "data-fullscreen": state.fullscreen ? "true" : void 0,
12039
12228
  ...spiralDebugId("video"),
12040
12229
  children: [
12041
- /* @__PURE__ */ jsx63("div", { className: "aviala-video__stage", children: /* @__PURE__ */ jsx63(
12230
+ /* @__PURE__ */ jsx64("div", { className: "aviala-video__stage", children: /* @__PURE__ */ jsx64(
12042
12231
  "video",
12043
12232
  {
12044
12233
  ref: videoRef,
@@ -12057,7 +12246,7 @@ var Video = forwardRef39(
12057
12246
  children
12058
12247
  }
12059
12248
  ) }),
12060
- /* @__PURE__ */ jsx63(
12249
+ /* @__PURE__ */ jsx64(
12061
12250
  VideoControls,
12062
12251
  {
12063
12252
  locale,
@@ -12097,11 +12286,11 @@ import {
12097
12286
  useCallback as useCallback21,
12098
12287
  useEffect as useEffect20,
12099
12288
  useId as useId7,
12100
- useLayoutEffect as useLayoutEffect10,
12289
+ useLayoutEffect as useLayoutEffect11,
12101
12290
  useMemo as useMemo13,
12102
12291
  useRef as useRef21
12103
12292
  } from "react";
12104
- import { jsx as jsx64, jsxs as jsxs49 } from "react/jsx-runtime";
12293
+ import { jsx as jsx65, jsxs as jsxs50 } from "react/jsx-runtime";
12105
12294
  var LOOP_SECTIONS2 = WHEEL_LOOP_SECTIONS;
12106
12295
  var MIDDLE_SECTION2 = WHEEL_LOOP_MIDDLE_SECTION;
12107
12296
  function readMetrics(container) {
@@ -12129,7 +12318,7 @@ function readRawIndex(container, metrics) {
12129
12318
  return Math.round(fractionalIndexAtScrollTop(metrics, container.scrollTop));
12130
12319
  }
12131
12320
  function ScrollPicker({ className, children, ...props }) {
12132
- return /* @__PURE__ */ jsx64("div", { className: cn("aviala-scroll-picker", className), ...props, children });
12321
+ return /* @__PURE__ */ jsx65("div", { className: cn("aviala-scroll-picker", className), ...props, children });
12133
12322
  }
12134
12323
  function ScrollPickerColumn({
12135
12324
  className,
@@ -12256,7 +12445,7 @@ function ScrollPickerColumn({
12256
12445
  }
12257
12446
  scrollEndTimerRef.current = setTimeout(settleScroll, WHEEL_SCROLL_END_MS);
12258
12447
  }, [settleScroll, syncClipTrack]);
12259
- useLayoutEffect10(() => {
12448
+ useLayoutEffect11(() => {
12260
12449
  if (isUserScrollingRef.current) return;
12261
12450
  if (smoothTargetValueRef.current != null && Object.is(smoothTargetValueRef.current, value)) {
12262
12451
  return;
@@ -12393,9 +12582,9 @@ function ScrollPickerColumn({
12393
12582
  }
12394
12583
  };
12395
12584
  const selectedOptionId = `${reactId}-${getIndex(value)}`;
12396
- return /* @__PURE__ */ jsx64("div", { className: cn("aviala-scroll-picker-column", className), children: /* @__PURE__ */ jsxs49("div", { className: "aviala-scroll-picker-column__viewport", children: [
12397
- /* @__PURE__ */ jsx64("div", { className: "aviala-scroll-picker-column__highlight", "aria-hidden": true }),
12398
- /* @__PURE__ */ jsx64(
12585
+ return /* @__PURE__ */ jsx65("div", { className: cn("aviala-scroll-picker-column", className), children: /* @__PURE__ */ jsxs50("div", { className: "aviala-scroll-picker-column__viewport", children: [
12586
+ /* @__PURE__ */ jsx65("div", { className: "aviala-scroll-picker-column__highlight", "aria-hidden": true }),
12587
+ /* @__PURE__ */ jsx65(
12399
12588
  "div",
12400
12589
  {
12401
12590
  ref: scrollRef,
@@ -12406,13 +12595,13 @@ function ScrollPickerColumn({
12406
12595
  "aria-activedescendant": selectedOptionId,
12407
12596
  tabIndex: 0,
12408
12597
  onKeyDown: handleKeyDown,
12409
- children: /* @__PURE__ */ jsx64("ul", { className: "aviala-scroll-picker-column__list", children: repeatedValues.map((itemValue, index) => {
12598
+ children: /* @__PURE__ */ jsx65("ul", { className: "aviala-scroll-picker-column__list", children: repeatedValues.map((itemValue, index) => {
12410
12599
  const isCommitted = Object.is(itemValue, value);
12411
12600
  const valueIndex = loop ? normalizeWheelIndex(index, values.length) : index;
12412
12601
  const optionId = `${reactId}-${loop ? index : valueIndex}`;
12413
12602
  const key = getValueKey?.(itemValue, index) ?? `${String(itemValue)}-${index}`;
12414
12603
  const useSelectedId = isCommitted && (!loop || Math.floor(index / values.length) === MIDDLE_SECTION2);
12415
- return /* @__PURE__ */ jsx64("li", { className: "contents", children: /* @__PURE__ */ jsx64(
12604
+ return /* @__PURE__ */ jsx65("li", { className: "contents", children: /* @__PURE__ */ jsx65(
12416
12605
  ScrollPickerItem,
12417
12606
  {
12418
12607
  id: useSelectedId ? selectedOptionId : optionId,
@@ -12431,9 +12620,9 @@ function ScrollPickerColumn({
12431
12620
  }) })
12432
12621
  }
12433
12622
  ),
12434
- /* @__PURE__ */ jsx64("div", { className: "aviala-scroll-picker-column__clip", "aria-hidden": true, children: /* @__PURE__ */ jsx64("div", { ref: clipTrackRef, className: "aviala-scroll-picker-column__clip-track", children: /* @__PURE__ */ jsx64("div", { className: "aviala-scroll-picker-column__list", children: repeatedValues.map((itemValue, index) => {
12623
+ /* @__PURE__ */ jsx65("div", { className: "aviala-scroll-picker-column__clip", "aria-hidden": true, children: /* @__PURE__ */ jsx65("div", { ref: clipTrackRef, className: "aviala-scroll-picker-column__clip-track", children: /* @__PURE__ */ jsx65("div", { className: "aviala-scroll-picker-column__list", children: repeatedValues.map((itemValue, index) => {
12435
12624
  const key = getValueKey?.(itemValue, index) ?? `clip-${String(itemValue)}-${index}`;
12436
- return /* @__PURE__ */ jsx64(
12625
+ return /* @__PURE__ */ jsx65(
12437
12626
  "div",
12438
12627
  {
12439
12628
  className: cn(
@@ -12454,7 +12643,7 @@ function ScrollPickerItem({
12454
12643
  className,
12455
12644
  onSelect
12456
12645
  }) {
12457
- return /* @__PURE__ */ jsx64(
12646
+ return /* @__PURE__ */ jsx65(
12458
12647
  "button",
12459
12648
  {
12460
12649
  type: "button",
@@ -12480,20 +12669,20 @@ import {
12480
12669
  DirectionArrowRightLight as DirectionArrowRightLight4,
12481
12670
  SymbolMore
12482
12671
  } from "@aviala-design/icons";
12483
- import { cva as cva15 } from "class-variance-authority";
12672
+ import { cva as cva16 } from "class-variance-authority";
12484
12673
  import {
12485
12674
  createContext as createContext14,
12486
- forwardRef as forwardRef40,
12675
+ forwardRef as forwardRef41,
12487
12676
  useCallback as useCallback22,
12488
12677
  useContext as useContext15,
12489
- useState as useState28
12678
+ useState as useState29
12490
12679
  } from "react";
12491
- import { Fragment as Fragment9, jsx as jsx65, jsxs as jsxs50 } from "react/jsx-runtime";
12680
+ import { Fragment as Fragment10, jsx as jsx66, jsxs as jsxs51 } from "react/jsx-runtime";
12492
12681
  var BreadcrumbSizeContext = createContext14("default");
12493
12682
  function breadcrumbTypeLevel(size) {
12494
12683
  return size === "small" ? "caption" : "text";
12495
12684
  }
12496
- var breadcrumbVariants = cva15("aviala-breadcrumb", {
12685
+ var breadcrumbVariants = cva16("aviala-breadcrumb", {
12497
12686
  variants: {
12498
12687
  size: {
12499
12688
  default: "aviala-breadcrumb--size-default",
@@ -12504,11 +12693,11 @@ var breadcrumbVariants = cva15("aviala-breadcrumb", {
12504
12693
  size: "default"
12505
12694
  }
12506
12695
  });
12507
- var Breadcrumb = forwardRef40(
12696
+ var Breadcrumb = forwardRef41(
12508
12697
  ({ className, size = "default", children, ...props }, ref) => {
12509
12698
  const locale = useLocaleMessages("Breadcrumb");
12510
12699
  const resolvedSize = size ?? "default";
12511
- return /* @__PURE__ */ jsx65(BreadcrumbSizeContext.Provider, { value: resolvedSize, children: /* @__PURE__ */ jsx65(
12700
+ return /* @__PURE__ */ jsx66(BreadcrumbSizeContext.Provider, { value: resolvedSize, children: /* @__PURE__ */ jsx66(
12512
12701
  "nav",
12513
12702
  {
12514
12703
  ref,
@@ -12516,18 +12705,18 @@ var Breadcrumb = forwardRef40(
12516
12705
  className: cn(breadcrumbVariants({ size: resolvedSize }), className),
12517
12706
  "data-size": resolvedSize,
12518
12707
  ...props,
12519
- children: /* @__PURE__ */ jsx65("ol", { className: "aviala-breadcrumb__list", children })
12708
+ children: /* @__PURE__ */ jsx66("ol", { className: "aviala-breadcrumb__list", children })
12520
12709
  }
12521
12710
  ) });
12522
12711
  }
12523
12712
  );
12524
12713
  Breadcrumb.displayName = "Breadcrumb";
12525
- var BreadcrumbItem = forwardRef40(
12714
+ var BreadcrumbItem = forwardRef41(
12526
12715
  ({ className, href, current = false, icon, onClick, children, ...props }, ref) => {
12527
12716
  const size = useContext15(BreadcrumbSizeContext);
12528
- const label = /* @__PURE__ */ jsxs50(Fragment9, { children: [
12529
- icon ? /* @__PURE__ */ jsx65("span", { className: "aviala-breadcrumb-item__icon", children: icon }) : null,
12530
- children != null ? /* @__PURE__ */ jsx65(
12717
+ const label = /* @__PURE__ */ jsxs51(Fragment10, { children: [
12718
+ icon ? /* @__PURE__ */ jsx66("span", { className: "aviala-breadcrumb-item__icon", children: icon }) : null,
12719
+ children != null ? /* @__PURE__ */ jsx66(
12531
12720
  Typography,
12532
12721
  {
12533
12722
  level: breadcrumbTypeLevel(size),
@@ -12537,13 +12726,13 @@ var BreadcrumbItem = forwardRef40(
12537
12726
  }
12538
12727
  ) : null
12539
12728
  ] });
12540
- return /* @__PURE__ */ jsx65(
12729
+ return /* @__PURE__ */ jsx66(
12541
12730
  "li",
12542
12731
  {
12543
12732
  ref,
12544
12733
  className: cn("aviala-breadcrumb-item-wrap", className),
12545
12734
  ...props,
12546
- children: href != null ? /* @__PURE__ */ jsx65(
12735
+ children: href != null ? /* @__PURE__ */ jsx66(
12547
12736
  "a",
12548
12737
  {
12549
12738
  href,
@@ -12552,7 +12741,7 @@ var BreadcrumbItem = forwardRef40(
12552
12741
  "aria-current": current ? "page" : void 0,
12553
12742
  children: label
12554
12743
  }
12555
- ) : onClick != null ? /* @__PURE__ */ jsx65(
12744
+ ) : onClick != null ? /* @__PURE__ */ jsx66(
12556
12745
  "button",
12557
12746
  {
12558
12747
  type: "button",
@@ -12562,7 +12751,7 @@ var BreadcrumbItem = forwardRef40(
12562
12751
  onClick,
12563
12752
  children: label
12564
12753
  }
12565
- ) : /* @__PURE__ */ jsx65(
12754
+ ) : /* @__PURE__ */ jsx66(
12566
12755
  "span",
12567
12756
  {
12568
12757
  className: "aviala-breadcrumb-item",
@@ -12576,10 +12765,10 @@ var BreadcrumbItem = forwardRef40(
12576
12765
  }
12577
12766
  );
12578
12767
  BreadcrumbItem.displayName = "BreadcrumbItem";
12579
- var BreadcrumbSeparator = forwardRef40(
12768
+ var BreadcrumbSeparator = forwardRef41(
12580
12769
  ({ className, children = "/", ...props }, ref) => {
12581
12770
  const size = useContext15(BreadcrumbSizeContext);
12582
- return /* @__PURE__ */ jsx65(
12771
+ return /* @__PURE__ */ jsx66(
12583
12772
  "li",
12584
12773
  {
12585
12774
  ref,
@@ -12587,13 +12776,13 @@ var BreadcrumbSeparator = forwardRef40(
12587
12776
  "aria-hidden": true,
12588
12777
  className: cn("aviala-breadcrumb-separator", className),
12589
12778
  ...props,
12590
- children: /* @__PURE__ */ jsx65(Typography, { level: breadcrumbTypeLevel(size), as: "span", children })
12779
+ children: /* @__PURE__ */ jsx66(Typography, { level: breadcrumbTypeLevel(size), as: "span", children })
12591
12780
  }
12592
12781
  );
12593
12782
  }
12594
12783
  );
12595
12784
  BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
12596
- var BreadcrumbEllipsisItem = forwardRef40(
12785
+ var BreadcrumbEllipsisItem = forwardRef41(
12597
12786
  ({
12598
12787
  className,
12599
12788
  href,
@@ -12604,12 +12793,12 @@ var BreadcrumbEllipsisItem = forwardRef40(
12604
12793
  }, ref) => {
12605
12794
  const rtl = useRtl();
12606
12795
  const ChevronIcon = rtl ? DirectionArrowLeftLight4 : DirectionArrowRightLight4;
12607
- const content = /* @__PURE__ */ jsxs50(Fragment9, { children: [
12608
- /* @__PURE__ */ jsx65(Typography, { level: "text", as: "span", className: "aviala-breadcrumb-ellipsis-item__label", children }),
12609
- showChevron ? /* @__PURE__ */ jsx65("span", { className: "aviala-breadcrumb-ellipsis-item__chevron", "aria-hidden": true, children: /* @__PURE__ */ jsx65(ChevronIcon, { width: 14, height: 14, thickness: "Light" }) }) : null
12796
+ const content = /* @__PURE__ */ jsxs51(Fragment10, { children: [
12797
+ /* @__PURE__ */ jsx66(Typography, { level: "text", as: "span", className: "aviala-breadcrumb-ellipsis-item__label", children }),
12798
+ showChevron ? /* @__PURE__ */ jsx66("span", { className: "aviala-breadcrumb-ellipsis-item__chevron", "aria-hidden": true, children: /* @__PURE__ */ jsx66(ChevronIcon, { width: 14, height: 14, thickness: "Light" }) }) : null
12610
12799
  ] });
12611
12800
  if (href != null) {
12612
- return /* @__PURE__ */ jsx65(
12801
+ return /* @__PURE__ */ jsx66(
12613
12802
  "a",
12614
12803
  {
12615
12804
  ref,
@@ -12621,7 +12810,7 @@ var BreadcrumbEllipsisItem = forwardRef40(
12621
12810
  }
12622
12811
  );
12623
12812
  }
12624
- return /* @__PURE__ */ jsx65(
12813
+ return /* @__PURE__ */ jsx66(
12625
12814
  "button",
12626
12815
  {
12627
12816
  ref,
@@ -12635,7 +12824,7 @@ var BreadcrumbEllipsisItem = forwardRef40(
12635
12824
  }
12636
12825
  );
12637
12826
  BreadcrumbEllipsisItem.displayName = "BreadcrumbEllipsisItem";
12638
- var BreadcrumbEllipsis = forwardRef40(
12827
+ var BreadcrumbEllipsis = forwardRef41(
12639
12828
  ({
12640
12829
  className,
12641
12830
  children,
@@ -12649,7 +12838,7 @@ var BreadcrumbEllipsis = forwardRef40(
12649
12838
  }, ref) => {
12650
12839
  const locale = useLocaleMessages("Breadcrumb");
12651
12840
  const size = useContext15(BreadcrumbSizeContext);
12652
- const [uncontrolledActivated, setUncontrolledActivated] = useState28(defaultActivated);
12841
+ const [uncontrolledActivated, setUncontrolledActivated] = useState29(defaultActivated);
12653
12842
  const isControlled = activatedProp !== void 0;
12654
12843
  const activated = isControlled ? Boolean(activatedProp) : uncontrolledActivated;
12655
12844
  const setActivated = useCallback22(
@@ -12660,8 +12849,8 @@ var BreadcrumbEllipsis = forwardRef40(
12660
12849
  [isControlled, onActivatedChange]
12661
12850
  );
12662
12851
  const iconSize = 14;
12663
- const icon = children ?? /* @__PURE__ */ jsx65(SymbolMore, { width: iconSize, height: iconSize, thickness: "Light", "aria-hidden": true });
12664
- const trigger = /* @__PURE__ */ jsx65(
12852
+ const icon = children ?? /* @__PURE__ */ jsx66(SymbolMore, { width: iconSize, height: iconSize, thickness: "Light", "aria-hidden": true });
12853
+ const trigger = /* @__PURE__ */ jsx66(
12665
12854
  "button",
12666
12855
  {
12667
12856
  type: "button",
@@ -12680,9 +12869,9 @@ var BreadcrumbEllipsis = forwardRef40(
12680
12869
  children: icon
12681
12870
  }
12682
12871
  );
12683
- return /* @__PURE__ */ jsx65("li", { ref, className: cn("aviala-breadcrumb-ellipsis-wrap", className), children: menu != null ? /* @__PURE__ */ jsxs50(Popover, { open: activated, onOpenChange: setActivated, children: [
12684
- /* @__PURE__ */ jsx65(PopoverTrigger, { asChild: true, children: trigger }),
12685
- /* @__PURE__ */ jsx65(
12872
+ return /* @__PURE__ */ jsx66("li", { ref, className: cn("aviala-breadcrumb-ellipsis-wrap", className), children: menu != null ? /* @__PURE__ */ jsxs51(Popover, { open: activated, onOpenChange: setActivated, children: [
12873
+ /* @__PURE__ */ jsx66(PopoverTrigger, { asChild: true, children: trigger }),
12874
+ /* @__PURE__ */ jsx66(
12686
12875
  PopoverContent,
12687
12876
  {
12688
12877
  className: "aviala-breadcrumb-ellipsis-menu",
@@ -12691,7 +12880,7 @@ var BreadcrumbEllipsis = forwardRef40(
12691
12880
  sideOffset: 7,
12692
12881
  showArrow: false,
12693
12882
  role: "menu",
12694
- children: /* @__PURE__ */ jsx65("div", { className: "aviala-breadcrumb-ellipsis-menu__items", children: menu })
12883
+ children: /* @__PURE__ */ jsx66("div", { className: "aviala-breadcrumb-ellipsis-menu__items", children: menu })
12695
12884
  }
12696
12885
  )
12697
12886
  ] }) : trigger });
@@ -12701,10 +12890,10 @@ BreadcrumbEllipsis.displayName = "BreadcrumbEllipsis";
12701
12890
 
12702
12891
  // src/components/pagehead.tsx
12703
12892
  import {
12704
- forwardRef as forwardRef41
12893
+ forwardRef as forwardRef42
12705
12894
  } from "react";
12706
- import { jsx as jsx66, jsxs as jsxs51 } from "react/jsx-runtime";
12707
- var Pagehead = forwardRef41(
12895
+ import { jsx as jsx67, jsxs as jsxs52 } from "react/jsx-runtime";
12896
+ var Pagehead = forwardRef42(
12708
12897
  ({
12709
12898
  className,
12710
12899
  back,
@@ -12714,16 +12903,16 @@ var Pagehead = forwardRef41(
12714
12903
  actions,
12715
12904
  children,
12716
12905
  ...props
12717
- }, ref) => /* @__PURE__ */ jsxs51("header", { ref, className: cn("aviala-pagehead", className), ...props, children: [
12718
- /* @__PURE__ */ jsxs51("div", { className: "aviala-pagehead__main", children: [
12719
- back != null ? /* @__PURE__ */ jsx66("div", { className: "aviala-pagehead__back", children: back }) : null,
12720
- /* @__PURE__ */ jsxs51("div", { className: "aviala-pagehead__title-block", children: [
12721
- breadcrumb != null ? /* @__PURE__ */ jsx66("div", { className: "aviala-pagehead__breadcrumb", children: breadcrumb }) : null,
12722
- title != null || description != null ? /* @__PURE__ */ jsx66("div", { className: "aviala-pagehead__title", children: /* @__PURE__ */ jsx66(Typeface, { content: "textCaption", primary: title, secondary: description }) }) : null,
12906
+ }, ref) => /* @__PURE__ */ jsxs52("header", { ref, className: cn("aviala-pagehead", className), ...props, children: [
12907
+ /* @__PURE__ */ jsxs52("div", { className: "aviala-pagehead__main", children: [
12908
+ back != null ? /* @__PURE__ */ jsx67("div", { className: "aviala-pagehead__back", children: back }) : null,
12909
+ /* @__PURE__ */ jsxs52("div", { className: "aviala-pagehead__title-block", children: [
12910
+ breadcrumb != null ? /* @__PURE__ */ jsx67("div", { className: "aviala-pagehead__breadcrumb", children: breadcrumb }) : null,
12911
+ title != null || description != null ? /* @__PURE__ */ jsx67("div", { className: "aviala-pagehead__title", children: /* @__PURE__ */ jsx67(Typeface, { content: "textCaption", primary: title, secondary: description }) }) : null,
12723
12912
  children
12724
12913
  ] })
12725
12914
  ] }),
12726
- actions != null ? /* @__PURE__ */ jsx66("div", { className: "aviala-pagehead__actions", children: actions }) : null
12915
+ actions != null ? /* @__PURE__ */ jsx67("div", { className: "aviala-pagehead__actions", children: actions }) : null
12727
12916
  ] })
12728
12917
  );
12729
12918
  Pagehead.displayName = "Pagehead";
@@ -12732,14 +12921,14 @@ Pagehead.displayName = "Pagehead";
12732
12921
  import {
12733
12922
  SymbolRight as SymbolRight4,
12734
12923
  SymbolWarning,
12735
- SymbolWrong as SymbolWrong5
12924
+ SymbolWrong as SymbolWrong6
12736
12925
  } from "@aviala-design/icons";
12737
- import { cva as cva16 } from "class-variance-authority";
12926
+ import { cva as cva17 } from "class-variance-authority";
12738
12927
  import {
12739
- forwardRef as forwardRef42
12928
+ forwardRef as forwardRef43
12740
12929
  } from "react";
12741
- import { jsx as jsx67, jsxs as jsxs52 } from "react/jsx-runtime";
12742
- var stepsVariants = cva16("aviala-steps", {
12930
+ import { jsx as jsx68, jsxs as jsxs53 } from "react/jsx-runtime";
12931
+ var stepsVariants = cva17("aviala-steps", {
12743
12932
  variants: {
12744
12933
  direction: {
12745
12934
  horizontal: "aviala-steps--direction-horizontal",
@@ -12750,8 +12939,8 @@ var stepsVariants = cva16("aviala-steps", {
12750
12939
  direction: "horizontal"
12751
12940
  }
12752
12941
  });
12753
- var Steps = forwardRef42(
12754
- ({ className, direction = "horizontal", children, ...props }, ref) => /* @__PURE__ */ jsx67(
12942
+ var Steps = forwardRef43(
12943
+ ({ className, direction = "horizontal", children, ...props }, ref) => /* @__PURE__ */ jsx68(
12755
12944
  "div",
12756
12945
  {
12757
12946
  ref,
@@ -12766,20 +12955,20 @@ Steps.displayName = "Steps";
12766
12955
  function defaultStepsIconContent(state, index) {
12767
12956
  switch (state) {
12768
12957
  case "done":
12769
- return /* @__PURE__ */ jsx67(SymbolRight4, { width: 12, height: 12, thickness: "Bold", "aria-hidden": true });
12958
+ return /* @__PURE__ */ jsx68(SymbolRight4, { width: 12, height: 12, thickness: "Bold", "aria-hidden": true });
12770
12959
  case "fail":
12771
- return /* @__PURE__ */ jsx67(SymbolWrong5, { width: 12, height: 12, thickness: "Bold", "aria-hidden": true });
12960
+ return /* @__PURE__ */ jsx68(SymbolWrong6, { width: 12, height: 12, thickness: "Bold", "aria-hidden": true });
12772
12961
  case "warning":
12773
- return /* @__PURE__ */ jsx67(SymbolWarning, { width: 12, height: 12, thickness: "Bold", "aria-hidden": true });
12962
+ return /* @__PURE__ */ jsx68(SymbolWarning, { width: 12, height: 12, thickness: "Bold", "aria-hidden": true });
12774
12963
  case "waiting":
12775
12964
  case "inProgress":
12776
12965
  case "default":
12777
12966
  default:
12778
- return index != null ? /* @__PURE__ */ jsx67(Typography, { level: "caption", as: "span", className: "aviala-steps-icon__index", children: index }) : null;
12967
+ return index != null ? /* @__PURE__ */ jsx68(Typography, { level: "caption", as: "span", className: "aviala-steps-icon__index", children: index }) : null;
12779
12968
  }
12780
12969
  }
12781
- var StepsIcon = forwardRef42(
12782
- ({ className, state = "default", index, children, ...props }, ref) => /* @__PURE__ */ jsx67(
12970
+ var StepsIcon = forwardRef43(
12971
+ ({ className, state = "default", index, children, ...props }, ref) => /* @__PURE__ */ jsx68(
12783
12972
  "span",
12784
12973
  {
12785
12974
  ref,
@@ -12791,7 +12980,7 @@ var StepsIcon = forwardRef42(
12791
12980
  )
12792
12981
  );
12793
12982
  StepsIcon.displayName = "StepsIcon";
12794
- var StepsItem = forwardRef42(
12983
+ var StepsItem = forwardRef43(
12795
12984
  ({
12796
12985
  className,
12797
12986
  state = "default",
@@ -12801,7 +12990,7 @@ var StepsItem = forwardRef42(
12801
12990
  icon,
12802
12991
  children,
12803
12992
  ...props
12804
- }, ref) => /* @__PURE__ */ jsxs52(
12993
+ }, ref) => /* @__PURE__ */ jsxs53(
12805
12994
  "div",
12806
12995
  {
12807
12996
  ref,
@@ -12809,9 +12998,9 @@ var StepsItem = forwardRef42(
12809
12998
  "data-state": state,
12810
12999
  ...props,
12811
13000
  children: [
12812
- icon ?? /* @__PURE__ */ jsx67(StepsIcon, { state, index }),
12813
- /* @__PURE__ */ jsxs52("div", { className: "aviala-steps-item__body", children: [
12814
- title != null ? /* @__PURE__ */ jsx67(
13001
+ icon ?? /* @__PURE__ */ jsx68(StepsIcon, { state, index }),
13002
+ /* @__PURE__ */ jsxs53("div", { className: "aviala-steps-item__body", children: [
13003
+ title != null ? /* @__PURE__ */ jsx68(
12815
13004
  Typography,
12816
13005
  {
12817
13006
  level: "subtitle",
@@ -12820,7 +13009,7 @@ var StepsItem = forwardRef42(
12820
13009
  children: title
12821
13010
  }
12822
13011
  ) : null,
12823
- description != null ? /* @__PURE__ */ jsx67(
13012
+ description != null ? /* @__PURE__ */ jsx68(
12824
13013
  Typography,
12825
13014
  {
12826
13015
  level: "text",
@@ -12843,10 +13032,10 @@ import {
12843
13032
  DirectionArrowRightLight as DirectionArrowRightLight5
12844
13033
  } from "@aviala-design/icons";
12845
13034
  import {
12846
- forwardRef as forwardRef43,
12847
- useState as useState29
13035
+ forwardRef as forwardRef44,
13036
+ useState as useState30
12848
13037
  } from "react";
12849
- import { jsx as jsx68, jsxs as jsxs53 } from "react/jsx-runtime";
13038
+ import { jsx as jsx69, jsxs as jsxs54 } from "react/jsx-runtime";
12850
13039
  function buildPageList(page, pageCount) {
12851
13040
  if (pageCount <= 7) {
12852
13041
  return Array.from({ length: pageCount }, (_, index) => index + 1);
@@ -12879,7 +13068,7 @@ function ellipsisRange(pages, index) {
12879
13068
  for (let p = start; p <= end; p += 1) range.push(p);
12880
13069
  return range;
12881
13070
  }
12882
- var Pagination = forwardRef43(
13071
+ var Pagination = forwardRef44(
12883
13072
  ({
12884
13073
  className,
12885
13074
  page: pageProp,
@@ -12904,10 +13093,10 @@ var Pagination = forwardRef43(
12904
13093
  const resolvedJumpLabel = jumpLabel ?? locale.jumpTo;
12905
13094
  const resolvedSizeLabel = sizeLabel ?? locale.pageSize;
12906
13095
  const resolvedSizeOptionLabel = sizeOptionLabel ?? ((size) => interpolate(locale.items, { size }));
12907
- const [uncontrolledPage, setUncontrolledPage] = useState29(defaultPage);
12908
- const [uncontrolledPageSize, setUncontrolledPageSize] = useState29(defaultPageSize);
12909
- const [jumpValue, setJumpValue] = useState29("");
12910
- const [openEllipsis, setOpenEllipsis] = useState29(null);
13096
+ const [uncontrolledPage, setUncontrolledPage] = useState30(defaultPage);
13097
+ const [uncontrolledPageSize, setUncontrolledPageSize] = useState30(defaultPageSize);
13098
+ const [jumpValue, setJumpValue] = useState30("");
13099
+ const [openEllipsis, setOpenEllipsis] = useState30(null);
12911
13100
  const page = pageProp ?? uncontrolledPage;
12912
13101
  const pageSize = pageSizeProp ?? uncontrolledPageSize;
12913
13102
  const safePageCount = Math.max(1, pageCount);
@@ -12928,7 +13117,7 @@ var Pagination = forwardRef43(
12928
13117
  setPage(parsed);
12929
13118
  setJumpValue("");
12930
13119
  };
12931
- return /* @__PURE__ */ jsxs53(
13120
+ return /* @__PURE__ */ jsxs54(
12932
13121
  "div",
12933
13122
  {
12934
13123
  ref,
@@ -12937,8 +13126,8 @@ var Pagination = forwardRef43(
12937
13126
  "aria-label": props["aria-label"] ?? locale.pagination,
12938
13127
  ...props,
12939
13128
  children: [
12940
- /* @__PURE__ */ jsxs53("div", { className: "aviala-pagination__controls", children: [
12941
- /* @__PURE__ */ jsx68(
13129
+ /* @__PURE__ */ jsxs54("div", { className: "aviala-pagination__controls", children: [
13130
+ /* @__PURE__ */ jsx69(
12942
13131
  Button,
12943
13132
  {
12944
13133
  mode: "noBackgroundCustom",
@@ -12946,18 +13135,18 @@ var Pagination = forwardRef43(
12946
13135
  iconOnly: true,
12947
13136
  "aria-label": locale.previous,
12948
13137
  disabled: currentPage <= 1,
12949
- leftIcon: /* @__PURE__ */ jsx68(PrevIcon, { "aria-hidden": true }),
13138
+ leftIcon: /* @__PURE__ */ jsx69(PrevIcon, { "aria-hidden": true }),
12950
13139
  onClick: () => setPage(currentPage - 1)
12951
13140
  }
12952
13141
  ),
12953
- /* @__PURE__ */ jsx68("div", { className: "aviala-pagination__pages", children: pages.map(
12954
- (item, index) => item === "ellipsis" ? /* @__PURE__ */ jsxs53(
13142
+ /* @__PURE__ */ jsx69("div", { className: "aviala-pagination__pages", children: pages.map(
13143
+ (item, index) => item === "ellipsis" ? /* @__PURE__ */ jsxs54(
12955
13144
  Popover,
12956
13145
  {
12957
13146
  open: openEllipsis === index,
12958
13147
  onOpenChange: (open) => setOpenEllipsis(open ? index : null),
12959
13148
  children: [
12960
- /* @__PURE__ */ jsx68(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsx68(
13149
+ /* @__PURE__ */ jsx69(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsx69(
12961
13150
  "button",
12962
13151
  {
12963
13152
  type: "button",
@@ -12968,10 +13157,10 @@ var Pagination = forwardRef43(
12968
13157
  ),
12969
13158
  "aria-label": locale.morePages,
12970
13159
  "aria-haspopup": "menu",
12971
- children: /* @__PURE__ */ jsx68(Typography, { level: "text", as: "span", children: "\u2026" })
13160
+ children: /* @__PURE__ */ jsx69(Typography, { level: "text", as: "span", children: "\u2026" })
12972
13161
  }
12973
13162
  ) }),
12974
- /* @__PURE__ */ jsx68(PopoverContent, { className: "aviala-pagination__ellipsis-content", showArrow: true, flush: true, children: /* @__PURE__ */ jsx68("div", { className: "aviala-pagination__ellipsis-menu", children: ellipsisRange(pages, index).map((p) => /* @__PURE__ */ jsx68(
13163
+ /* @__PURE__ */ jsx69(PopoverContent, { className: "aviala-pagination__ellipsis-content", showArrow: true, flush: true, children: /* @__PURE__ */ jsx69("div", { className: "aviala-pagination__ellipsis-menu", children: ellipsisRange(pages, index).map((p) => /* @__PURE__ */ jsx69(
12975
13164
  "button",
12976
13165
  {
12977
13166
  type: "button",
@@ -12984,14 +13173,14 @@ var Pagination = forwardRef43(
12984
13173
  setPage(p);
12985
13174
  setOpenEllipsis(null);
12986
13175
  },
12987
- children: /* @__PURE__ */ jsx68(Typography, { level: "text", as: "span", children: p })
13176
+ children: /* @__PURE__ */ jsx69(Typography, { level: "text", as: "span", children: p })
12988
13177
  },
12989
13178
  p
12990
13179
  )) }) })
12991
13180
  ]
12992
13181
  },
12993
13182
  `ellipsis-${index}`
12994
- ) : /* @__PURE__ */ jsx68(
13183
+ ) : /* @__PURE__ */ jsx69(
12995
13184
  "button",
12996
13185
  {
12997
13186
  type: "button",
@@ -13003,12 +13192,12 @@ var Pagination = forwardRef43(
13003
13192
  "data-active": item === currentPage ? "true" : void 0,
13004
13193
  "aria-current": item === currentPage ? "page" : void 0,
13005
13194
  onClick: () => setPage(item),
13006
- children: /* @__PURE__ */ jsx68(Typography, { level: "text", as: "span", children: item })
13195
+ children: /* @__PURE__ */ jsx69(Typography, { level: "text", as: "span", children: item })
13007
13196
  },
13008
13197
  item
13009
13198
  )
13010
13199
  ) }),
13011
- /* @__PURE__ */ jsx68(
13200
+ /* @__PURE__ */ jsx69(
13012
13201
  Button,
13013
13202
  {
13014
13203
  mode: "noBackgroundCustom",
@@ -13016,14 +13205,14 @@ var Pagination = forwardRef43(
13016
13205
  iconOnly: true,
13017
13206
  "aria-label": locale.next,
13018
13207
  disabled: currentPage >= safePageCount,
13019
- leftIcon: /* @__PURE__ */ jsx68(NextIcon, { "aria-hidden": true }),
13208
+ leftIcon: /* @__PURE__ */ jsx69(NextIcon, { "aria-hidden": true }),
13020
13209
  onClick: () => setPage(currentPage + 1)
13021
13210
  }
13022
13211
  )
13023
13212
  ] }),
13024
- showJump ? /* @__PURE__ */ jsxs53("div", { className: "aviala-pagination__jump", children: [
13025
- /* @__PURE__ */ jsx68(Typography, { level: "text", as: "span", children: resolvedJumpLabel }),
13026
- /* @__PURE__ */ jsx68(
13213
+ showJump ? /* @__PURE__ */ jsxs54("div", { className: "aviala-pagination__jump", children: [
13214
+ /* @__PURE__ */ jsx69(Typography, { level: "text", as: "span", children: resolvedJumpLabel }),
13215
+ /* @__PURE__ */ jsx69(
13027
13216
  Input,
13028
13217
  {
13029
13218
  className: "aviala-pagination__jump-input",
@@ -13043,15 +13232,15 @@ var Pagination = forwardRef43(
13043
13232
  }
13044
13233
  )
13045
13234
  ] }) : null,
13046
- showSizeChanger ? /* @__PURE__ */ jsxs53("div", { className: "aviala-pagination__size", children: [
13047
- /* @__PURE__ */ jsx68(Typography, { level: "text", as: "span", children: resolvedSizeLabel }),
13048
- /* @__PURE__ */ jsxs53(
13235
+ showSizeChanger ? /* @__PURE__ */ jsxs54("div", { className: "aviala-pagination__size", children: [
13236
+ /* @__PURE__ */ jsx69(Typography, { level: "text", as: "span", children: resolvedSizeLabel }),
13237
+ /* @__PURE__ */ jsxs54(
13049
13238
  Select,
13050
13239
  {
13051
13240
  value: String(pageSize),
13052
13241
  onValueChange: (value) => setPageSize(Number(value)),
13053
13242
  children: [
13054
- /* @__PURE__ */ jsx68(
13243
+ /* @__PURE__ */ jsx69(
13055
13244
  SelectTrigger,
13056
13245
  {
13057
13246
  size: "regular",
@@ -13059,7 +13248,7 @@ var Pagination = forwardRef43(
13059
13248
  "aria-label": locale.pageSizeAria
13060
13249
  }
13061
13250
  ),
13062
- /* @__PURE__ */ jsx68(SelectContent, { children: /* @__PURE__ */ jsx68(SelectItemGroup, { children: pageSizeOptions.map((option) => /* @__PURE__ */ jsx68(
13251
+ /* @__PURE__ */ jsx69(SelectContent, { children: /* @__PURE__ */ jsx69(SelectItemGroup, { children: pageSizeOptions.map((option) => /* @__PURE__ */ jsx69(
13063
13252
  SelectItem,
13064
13253
  {
13065
13254
  value: String(option),
@@ -13086,18 +13275,18 @@ import {
13086
13275
  GeneralSetting as GeneralSetting3
13087
13276
  } from "@aviala-design/icons";
13088
13277
  import {
13089
- cloneElement as cloneElement12,
13090
- forwardRef as forwardRef44,
13091
- isValidElement as isValidElement17
13278
+ cloneElement as cloneElement13,
13279
+ forwardRef as forwardRef45,
13280
+ isValidElement as isValidElement18
13092
13281
  } from "react";
13093
- import { Fragment as Fragment10, jsx as jsx69, jsxs as jsxs54 } from "react/jsx-runtime";
13094
- var Card = forwardRef44(
13095
- ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx69("div", { ref, className: cn("aviala-card", className), ...props, children })
13282
+ import { Fragment as Fragment11, jsx as jsx70, jsxs as jsxs55 } from "react/jsx-runtime";
13283
+ var Card = forwardRef45(
13284
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx70("div", { ref, className: cn("aviala-card", className), ...props, children })
13096
13285
  );
13097
13286
  Card.displayName = "Card";
13098
13287
  function renderCardIcon(node) {
13099
13288
  if (!node) return null;
13100
- const content = isValidElement17(node) && typeof node.type !== "string" ? cloneElement12(node, {
13289
+ const content = isValidElement18(node) && typeof node.type !== "string" ? cloneElement13(node, {
13101
13290
  width: 14,
13102
13291
  height: 14,
13103
13292
  className: cn(
@@ -13105,9 +13294,9 @@ function renderCardIcon(node) {
13105
13294
  "shrink-0"
13106
13295
  )
13107
13296
  }) : node;
13108
- return /* @__PURE__ */ jsx69("span", { className: "aviala-card-head__icon", children: content });
13297
+ return /* @__PURE__ */ jsx70("span", { className: "aviala-card-head__icon", children: content });
13109
13298
  }
13110
- var CardHead = forwardRef44(
13299
+ var CardHead = forwardRef45(
13111
13300
  ({
13112
13301
  className,
13113
13302
  slotType = "select",
@@ -13126,38 +13315,38 @@ var CardHead = forwardRef44(
13126
13315
  const locale = useLocaleMessages("Card");
13127
13316
  const rtl = useRtl();
13128
13317
  const ChevronIcon = rtl ? DirectionArrowLeftLight6 : DirectionArrowRightLight6;
13129
- const primaryAction = action ?? /* @__PURE__ */ jsx69(Button, { mode: "primary", size: "regular", leftIcon: /* @__PURE__ */ jsx69(GeneralSetting3, { "aria-hidden": true }), children: actionLabel });
13318
+ const primaryAction = action ?? /* @__PURE__ */ jsx70(Button, { mode: "primary", size: "regular", leftIcon: /* @__PURE__ */ jsx70(GeneralSetting3, { "aria-hidden": true }), children: actionLabel });
13130
13319
  const renderTrailing = () => {
13131
13320
  if (trailing !== void 0) return trailing;
13132
13321
  switch (slotType) {
13133
13322
  case "action":
13134
- return /* @__PURE__ */ jsxs54("div", { className: "aviala-card-head__trailing", children: [
13323
+ return /* @__PURE__ */ jsxs55("div", { className: "aviala-card-head__trailing", children: [
13135
13324
  primaryAction,
13136
- secondaryAction ?? /* @__PURE__ */ jsx69(
13325
+ secondaryAction ?? /* @__PURE__ */ jsx70(
13137
13326
  Button,
13138
13327
  {
13139
13328
  mode: "default",
13140
13329
  size: "regular",
13141
13330
  iconOnly: true,
13142
13331
  "aria-label": locale.more,
13143
- leftIcon: /* @__PURE__ */ jsx69(GeneralSetting3, { "aria-hidden": true })
13332
+ leftIcon: /* @__PURE__ */ jsx70(GeneralSetting3, { "aria-hidden": true })
13144
13333
  }
13145
13334
  ),
13146
- /* @__PURE__ */ jsx69("span", { className: "aviala-card__divider", "aria-hidden": true }),
13147
- /* @__PURE__ */ jsx69(ChevronIcon, { width: 14, height: 14, "aria-hidden": true })
13335
+ /* @__PURE__ */ jsx70("span", { className: "aviala-card__divider", "aria-hidden": true }),
13336
+ /* @__PURE__ */ jsx70(ChevronIcon, { width: 14, height: 14, "aria-hidden": true })
13148
13337
  ] });
13149
13338
  case "switch":
13150
- return /* @__PURE__ */ jsxs54("div", { className: "aviala-card-head__trailing", children: [
13339
+ return /* @__PURE__ */ jsxs55("div", { className: "aviala-card-head__trailing", children: [
13151
13340
  primaryAction,
13152
- /* @__PURE__ */ jsx69("span", { className: "aviala-card__divider", "aria-hidden": true }),
13153
- /* @__PURE__ */ jsx69(Switch, { ...switchProps })
13341
+ /* @__PURE__ */ jsx70("span", { className: "aviala-card__divider", "aria-hidden": true }),
13342
+ /* @__PURE__ */ jsx70(Switch, { ...switchProps })
13154
13343
  ] });
13155
13344
  case "select":
13156
13345
  default:
13157
- return select != null ? /* @__PURE__ */ jsx69("div", { className: "aviala-card-head__trailing", children: select }) : null;
13346
+ return select != null ? /* @__PURE__ */ jsx70("div", { className: "aviala-card-head__trailing", children: select }) : null;
13158
13347
  }
13159
13348
  };
13160
- return /* @__PURE__ */ jsxs54(
13349
+ return /* @__PURE__ */ jsxs55(
13161
13350
  "div",
13162
13351
  {
13163
13352
  ref,
@@ -13165,9 +13354,9 @@ var CardHead = forwardRef44(
13165
13354
  "data-type": slotType,
13166
13355
  ...props,
13167
13356
  children: [
13168
- /* @__PURE__ */ jsxs54("div", { className: "aviala-card-head__main", children: [
13169
- renderCardIcon(icon ?? /* @__PURE__ */ jsx69(GeneralSetting3, { "aria-hidden": true })),
13170
- /* @__PURE__ */ jsx69("div", { className: "aviala-card-head__title", children: title != null || description != null ? /* @__PURE__ */ jsx69(Typeface, { content: "textCaption", primary: title, secondary: description }) : children })
13357
+ /* @__PURE__ */ jsxs55("div", { className: "aviala-card-head__main", children: [
13358
+ renderCardIcon(icon ?? /* @__PURE__ */ jsx70(GeneralSetting3, { "aria-hidden": true })),
13359
+ /* @__PURE__ */ jsx70("div", { className: "aviala-card-head__title", children: title != null || description != null ? /* @__PURE__ */ jsx70(Typeface, { content: "textCaption", primary: title, secondary: description }) : children })
13171
13360
  ] }),
13172
13361
  renderTrailing()
13173
13362
  ]
@@ -13176,11 +13365,11 @@ var CardHead = forwardRef44(
13176
13365
  }
13177
13366
  );
13178
13367
  CardHead.displayName = "CardHead";
13179
- var CardBody = forwardRef44(
13180
- ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx69("div", { ref, className: cn("aviala-card-body", className), ...props, children: /* @__PURE__ */ jsx69("div", { className: "aviala-card-body__content", children: typeof children === "string" || typeof children === "number" ? /* @__PURE__ */ jsx69(Typography, { level: "text", as: "span", children }) : children }) })
13368
+ var CardBody = forwardRef45(
13369
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx70("div", { ref, className: cn("aviala-card-body", className), ...props, children: /* @__PURE__ */ jsx70("div", { className: "aviala-card-body__content", children: typeof children === "string" || typeof children === "number" ? /* @__PURE__ */ jsx70(Typography, { level: "text", as: "span", children }) : children }) })
13181
13370
  );
13182
13371
  CardBody.displayName = "CardBody";
13183
- var CardBottom = forwardRef44(
13372
+ var CardBottom = forwardRef45(
13184
13373
  ({
13185
13374
  className,
13186
13375
  slotType = "action",
@@ -13196,46 +13385,46 @@ var CardBottom = forwardRef44(
13196
13385
  const locale = useLocaleMessages("Card");
13197
13386
  const rtl = useRtl();
13198
13387
  const ChevronIcon = rtl ? DirectionArrowLeftLight6 : DirectionArrowRightLight6;
13199
- const primaryAction = action ?? /* @__PURE__ */ jsx69(Button, { mode: "primary", size: "regular", leftIcon: /* @__PURE__ */ jsx69(GeneralSetting3, { "aria-hidden": true }), children: actionLabel });
13388
+ const primaryAction = action ?? /* @__PURE__ */ jsx70(Button, { mode: "primary", size: "regular", leftIcon: /* @__PURE__ */ jsx70(GeneralSetting3, { "aria-hidden": true }), children: actionLabel });
13200
13389
  const renderTrailing = () => {
13201
13390
  if (trailing !== void 0) return trailing;
13202
13391
  if (children != null) return children;
13203
13392
  switch (slotType) {
13204
13393
  case "switch":
13205
- return /* @__PURE__ */ jsxs54(Fragment10, { children: [
13394
+ return /* @__PURE__ */ jsxs55(Fragment11, { children: [
13206
13395
  primaryAction,
13207
- /* @__PURE__ */ jsx69("span", { className: "aviala-card__divider", "aria-hidden": true }),
13208
- /* @__PURE__ */ jsx69(Switch, { ...switchProps })
13396
+ /* @__PURE__ */ jsx70("span", { className: "aviala-card__divider", "aria-hidden": true }),
13397
+ /* @__PURE__ */ jsx70(Switch, { ...switchProps })
13209
13398
  ] });
13210
13399
  case "select":
13211
13400
  return select;
13212
13401
  case "action":
13213
13402
  default:
13214
- return /* @__PURE__ */ jsxs54(Fragment10, { children: [
13403
+ return /* @__PURE__ */ jsxs55(Fragment11, { children: [
13215
13404
  primaryAction,
13216
- secondaryAction ?? /* @__PURE__ */ jsx69(
13405
+ secondaryAction ?? /* @__PURE__ */ jsx70(
13217
13406
  Button,
13218
13407
  {
13219
13408
  mode: "default",
13220
13409
  size: "regular",
13221
13410
  iconOnly: true,
13222
13411
  "aria-label": locale.more,
13223
- leftIcon: /* @__PURE__ */ jsx69(GeneralSetting3, { "aria-hidden": true })
13412
+ leftIcon: /* @__PURE__ */ jsx70(GeneralSetting3, { "aria-hidden": true })
13224
13413
  }
13225
13414
  ),
13226
- /* @__PURE__ */ jsx69("span", { className: "aviala-card__divider", "aria-hidden": true }),
13227
- /* @__PURE__ */ jsx69(ChevronIcon, { width: 14, height: 14, "aria-hidden": true })
13415
+ /* @__PURE__ */ jsx70("span", { className: "aviala-card__divider", "aria-hidden": true }),
13416
+ /* @__PURE__ */ jsx70(ChevronIcon, { width: 14, height: 14, "aria-hidden": true })
13228
13417
  ] });
13229
13418
  }
13230
13419
  };
13231
- return /* @__PURE__ */ jsx69(
13420
+ return /* @__PURE__ */ jsx70(
13232
13421
  "div",
13233
13422
  {
13234
13423
  ref,
13235
13424
  className: cn("aviala-card-bottom", className),
13236
13425
  "data-type": slotType,
13237
13426
  ...props,
13238
- children: /* @__PURE__ */ jsx69("div", { className: "aviala-card-bottom__trailing", children: renderTrailing() })
13427
+ children: /* @__PURE__ */ jsx70("div", { className: "aviala-card-bottom__trailing", children: renderTrailing() })
13239
13428
  }
13240
13429
  );
13241
13430
  }
@@ -13244,13 +13433,13 @@ CardBottom.displayName = "CardBottom";
13244
13433
 
13245
13434
  // src/components/table.tsx
13246
13435
  import {
13247
- cloneElement as cloneElement13,
13248
- forwardRef as forwardRef45,
13249
- isValidElement as isValidElement18
13436
+ cloneElement as cloneElement14,
13437
+ forwardRef as forwardRef46,
13438
+ isValidElement as isValidElement19
13250
13439
  } from "react";
13251
- import { Fragment as Fragment11, jsx as jsx70, jsxs as jsxs55 } from "react/jsx-runtime";
13252
- var Table = forwardRef45(
13253
- ({ className, stickyHeader = false, children, ...props }, ref) => /* @__PURE__ */ jsx70(
13440
+ import { Fragment as Fragment12, jsx as jsx71, jsxs as jsxs56 } from "react/jsx-runtime";
13441
+ var Table = forwardRef46(
13442
+ ({ className, stickyHeader = false, children, ...props }, ref) => /* @__PURE__ */ jsx71(
13254
13443
  "div",
13255
13444
  {
13256
13445
  ref,
@@ -13263,8 +13452,8 @@ var Table = forwardRef45(
13263
13452
  )
13264
13453
  );
13265
13454
  Table.displayName = "Table";
13266
- var TableRow = forwardRef45(
13267
- ({ className, header = false, children, ...props }, ref) => /* @__PURE__ */ jsx70(
13455
+ var TableRow = forwardRef46(
13456
+ ({ className, header = false, children, ...props }, ref) => /* @__PURE__ */ jsx71(
13268
13457
  "div",
13269
13458
  {
13270
13459
  ref,
@@ -13279,7 +13468,7 @@ var TableRow = forwardRef45(
13279
13468
  TableRow.displayName = "TableRow";
13280
13469
  function renderCellIcon(node, sized = true) {
13281
13470
  if (!node) return null;
13282
- const content = sized && isValidElement18(node) && typeof node.type !== "string" ? cloneElement13(node, {
13471
+ const content = sized && isValidElement19(node) && typeof node.type !== "string" ? cloneElement14(node, {
13283
13472
  width: 16,
13284
13473
  height: 16,
13285
13474
  className: cn(
@@ -13287,39 +13476,39 @@ function renderCellIcon(node, sized = true) {
13287
13476
  "shrink-0"
13288
13477
  )
13289
13478
  }) : node;
13290
- return /* @__PURE__ */ jsx70("span", { className: "aviala-table-cell__icon", children: content });
13479
+ return /* @__PURE__ */ jsx71("span", { className: "aviala-table-cell__icon", children: content });
13291
13480
  }
13292
13481
  function renderTextBlock(text, caption) {
13293
- return /* @__PURE__ */ jsxs55("span", { className: "aviala-table-cell__text", children: [
13294
- /* @__PURE__ */ jsx70(Typography, { level: "text", as: "span", children: text }),
13295
- caption != null && caption !== false ? /* @__PURE__ */ jsx70(Typography, { level: "caption", as: "span", className: "aviala-table-cell__caption", children: caption }) : null
13482
+ return /* @__PURE__ */ jsxs56("span", { className: "aviala-table-cell__text", children: [
13483
+ /* @__PURE__ */ jsx71(Typography, { level: "text", as: "span", children: text }),
13484
+ caption != null && caption !== false ? /* @__PURE__ */ jsx71(Typography, { level: "caption", as: "span", className: "aviala-table-cell__caption", children: caption }) : null
13296
13485
  ] });
13297
13486
  }
13298
13487
  function renderActions(actions) {
13299
13488
  if (actions == null) return null;
13300
- return /* @__PURE__ */ jsx70("div", { className: "aviala-table-cell__actions", children: actions });
13489
+ return /* @__PURE__ */ jsx71("div", { className: "aviala-table-cell__actions", children: actions });
13301
13490
  }
13302
13491
  function renderCellBody(main, actions) {
13303
- return /* @__PURE__ */ jsxs55("span", { className: "aviala-table-cell__body", children: [
13304
- /* @__PURE__ */ jsx70("span", { className: "aviala-table-cell__main", children: main }),
13492
+ return /* @__PURE__ */ jsxs56("span", { className: "aviala-table-cell__body", children: [
13493
+ /* @__PURE__ */ jsx71("span", { className: "aviala-table-cell__main", children: main }),
13305
13494
  renderActions(actions)
13306
13495
  ] });
13307
13496
  }
13308
- var TableHead = forwardRef45(
13497
+ var TableHead = forwardRef46(
13309
13498
  ({ className, content = "text", actions, checkboxProps, children, ...props }, ref) => {
13310
13499
  const renderBody = () => {
13311
13500
  if (content === "checkbox") {
13312
- return children ?? /* @__PURE__ */ jsx70(Checkbox, { ...checkboxProps });
13501
+ return children ?? /* @__PURE__ */ jsx71(Checkbox, { ...checkboxProps });
13313
13502
  }
13314
13503
  if (children != null) {
13315
- return /* @__PURE__ */ jsxs55(Fragment11, { children: [
13316
- /* @__PURE__ */ jsx70("span", { className: "aviala-table-cell__main", children: typeof children === "string" || typeof children === "number" ? /* @__PURE__ */ jsx70(Typography, { level: "text", as: "span", children }) : children }),
13504
+ return /* @__PURE__ */ jsxs56(Fragment12, { children: [
13505
+ /* @__PURE__ */ jsx71("span", { className: "aviala-table-cell__main", children: typeof children === "string" || typeof children === "number" ? /* @__PURE__ */ jsx71(Typography, { level: "text", as: "span", children }) : children }),
13317
13506
  renderActions(actions)
13318
13507
  ] });
13319
13508
  }
13320
13509
  return null;
13321
13510
  };
13322
- return /* @__PURE__ */ jsx70(
13511
+ return /* @__PURE__ */ jsx71(
13323
13512
  "div",
13324
13513
  {
13325
13514
  ref,
@@ -13333,7 +13522,7 @@ var TableHead = forwardRef45(
13333
13522
  }
13334
13523
  );
13335
13524
  TableHead.displayName = "TableHead";
13336
- var TableCell = forwardRef45(
13525
+ var TableCell = forwardRef46(
13337
13526
  ({
13338
13527
  className,
13339
13528
  content = "text",
@@ -13355,16 +13544,16 @@ var TableCell = forwardRef45(
13355
13544
  if (children != null) return children;
13356
13545
  switch (content) {
13357
13546
  case "checkbox":
13358
- return /* @__PURE__ */ jsx70(Checkbox, { ...checkboxProps });
13547
+ return /* @__PURE__ */ jsx71(Checkbox, { ...checkboxProps });
13359
13548
  case "switch":
13360
- return /* @__PURE__ */ jsx70(Switch, { ...switchProps });
13549
+ return /* @__PURE__ */ jsx71(Switch, { ...switchProps });
13361
13550
  case "action":
13362
13551
  return renderActions(actions);
13363
13552
  case "icon+text":
13364
- return /* @__PURE__ */ jsxs55(Fragment11, { children: [
13553
+ return /* @__PURE__ */ jsxs56(Fragment12, { children: [
13365
13554
  grabber,
13366
13555
  renderCellBody(
13367
- /* @__PURE__ */ jsxs55(Fragment11, { children: [
13556
+ /* @__PURE__ */ jsxs56(Fragment12, { children: [
13368
13557
  renderCellIcon(icon),
13369
13558
  renderTextBlock(text, caption)
13370
13559
  ] }),
@@ -13372,44 +13561,44 @@ var TableCell = forwardRef45(
13372
13561
  )
13373
13562
  ] });
13374
13563
  case "icon-place+text":
13375
- return /* @__PURE__ */ jsxs55(Fragment11, { children: [
13564
+ return /* @__PURE__ */ jsxs56(Fragment12, { children: [
13376
13565
  grabber,
13377
13566
  renderCellBody(
13378
- /* @__PURE__ */ jsxs55(Fragment11, { children: [
13379
- /* @__PURE__ */ jsx70("span", { className: "aviala-table-cell__icon-place", children: iconPlace ?? renderCellIcon(icon, false) ?? /* @__PURE__ */ jsx70(Avatar, { content: "text", level: "text", lineHeightFix: false, children: "A" }) }),
13567
+ /* @__PURE__ */ jsxs56(Fragment12, { children: [
13568
+ /* @__PURE__ */ jsx71("span", { className: "aviala-table-cell__icon-place", children: iconPlace ?? renderCellIcon(icon, false) ?? /* @__PURE__ */ jsx71(Avatar, { content: "text", level: "text", lineHeightFix: false, children: "A" }) }),
13380
13569
  renderTextBlock(text, caption)
13381
13570
  ] }),
13382
13571
  actions
13383
13572
  )
13384
13573
  ] });
13385
13574
  case "people":
13386
- return /* @__PURE__ */ jsxs55(Fragment11, { children: [
13575
+ return /* @__PURE__ */ jsxs56(Fragment12, { children: [
13387
13576
  grabber,
13388
13577
  renderCellBody(
13389
- /* @__PURE__ */ jsxs55(Fragment11, { children: [
13390
- people ?? /* @__PURE__ */ jsx70(Avatar, { content: "text", level: "text", lineHeightFix: false, children: "A" }),
13578
+ /* @__PURE__ */ jsxs56(Fragment12, { children: [
13579
+ people ?? /* @__PURE__ */ jsx71(Avatar, { content: "text", level: "text", lineHeightFix: false, children: "A" }),
13391
13580
  renderTextBlock(text, caption)
13392
13581
  ] }),
13393
13582
  actions
13394
13583
  )
13395
13584
  ] });
13396
13585
  case "badge":
13397
- return /* @__PURE__ */ jsxs55(Fragment11, { children: [
13586
+ return /* @__PURE__ */ jsxs56(Fragment12, { children: [
13398
13587
  grabber,
13399
13588
  renderCellBody(
13400
- badge ?? /* @__PURE__ */ jsx70(Badge, { style: "theme", level: "caption", children: badgeLabel ?? "Text" }),
13589
+ badge ?? /* @__PURE__ */ jsx71(Badge, { style: "theme", level: "caption", children: badgeLabel ?? "Text" }),
13401
13590
  actions
13402
13591
  )
13403
13592
  ] });
13404
13593
  case "text":
13405
13594
  default:
13406
- return /* @__PURE__ */ jsxs55(Fragment11, { children: [
13595
+ return /* @__PURE__ */ jsxs56(Fragment12, { children: [
13407
13596
  grabber,
13408
13597
  renderCellBody(renderTextBlock(text, caption), actions)
13409
13598
  ] });
13410
13599
  }
13411
13600
  };
13412
- return /* @__PURE__ */ jsx70(
13601
+ return /* @__PURE__ */ jsx71(
13413
13602
  "div",
13414
13603
  {
13415
13604
  ref,
@@ -13469,6 +13658,18 @@ export {
13469
13658
  DatePickerContent,
13470
13659
  DatePickerField,
13471
13660
  DatePickerTrigger,
13661
+ Drawer,
13662
+ DrawerBody,
13663
+ DrawerClose,
13664
+ DrawerContent,
13665
+ DrawerDescription,
13666
+ DrawerFooter,
13667
+ DrawerHeader,
13668
+ DrawerHeaderText,
13669
+ DrawerOverlay,
13670
+ DrawerPortal,
13671
+ DrawerTitle,
13672
+ DrawerTrigger,
13472
13673
  Feedback,
13473
13674
  Fieldset,
13474
13675
  Form,
@@ -13584,6 +13785,7 @@ export {
13584
13785
  backChevronSide,
13585
13786
  buttonVariants,
13586
13787
  cn,
13788
+ drawerContentVariants,
13587
13789
  en_US_default as enUS,
13588
13790
  formatDisplayDate,
13589
13791
  formatMonthYear,