@zentrades-ui/components 0.1.7 → 0.2.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
@@ -941,7 +941,9 @@ var isNativeInputElement = (node) => React3.isValidElement(node) && typeof node.
941
941
  var Input = forwardRef8(function Input2(props, ref) {
942
942
  const {
943
943
  label,
944
- mandatory = false,
944
+ required = false,
945
+ mandatory,
946
+ // deprecated - kept for backwards compatibility
945
947
  helperText,
946
948
  error = false,
947
949
  errorMessage,
@@ -957,6 +959,7 @@ var Input = forwardRef8(function Input2(props, ref) {
957
959
  noOutline = false,
958
960
  ...inputProps
959
961
  } = props;
962
+ const isRequired = required || mandatory || false;
960
963
  const inputId = id || `input-${React3.useId()}`;
961
964
  const helperTextId = `${inputId}-helper`;
962
965
  const displayHelperText = error && errorMessage ? errorMessage : helperText;
@@ -994,7 +997,7 @@ var Input = forwardRef8(function Input2(props, ref) {
994
997
  children: label
995
998
  }
996
999
  ),
997
- mandatory && /* @__PURE__ */ jsx8(Text2, { fontVariant: "text-m-regular", color: "contentTertiary", as: "span", children: "*" })
1000
+ isRequired && /* @__PURE__ */ jsx8(Text2, { fontVariant: "text-m-regular", color: "contentTertiary", as: "span", children: "*" })
998
1001
  ] });
999
1002
  const inputElement2 = /* @__PURE__ */ jsxs3(Box2, { className: inputWrapper, children: [
1000
1003
  /* @__PURE__ */ jsxs3(
@@ -1150,13 +1153,20 @@ var Checkbox = React4.forwardRef(
1150
1153
  className,
1151
1154
  label,
1152
1155
  description,
1156
+ // deprecated
1157
+ helperText,
1153
1158
  disabled,
1154
1159
  checked,
1155
1160
  partialChecked,
1156
1161
  size = "md",
1162
+ required,
1163
+ error = false,
1164
+ errorMessage,
1157
1165
  ...props
1158
1166
  }, forwardedRef) => {
1159
1167
  const boxSize = sizePxMap[size];
1168
+ const checkboxId = props.id || `checkbox-${React4.useId()}`;
1169
+ const displayHelperText = error && errorMessage ? errorMessage : helperText || description;
1160
1170
  const checkboxStyles = {
1161
1171
  display: "flex",
1162
1172
  justifyContent: "center",
@@ -1175,10 +1185,13 @@ var Checkbox = React4.forwardRef(
1175
1185
  CheckboxPrimitive.Root,
1176
1186
  {
1177
1187
  ref: forwardedRef,
1188
+ id: checkboxId,
1178
1189
  style: checkboxStyles,
1179
1190
  className: cn(checkboxRoot, className),
1180
1191
  disabled,
1181
1192
  checked,
1193
+ required,
1194
+ "aria-invalid": error || void 0,
1182
1195
  ...props,
1183
1196
  children: /* @__PURE__ */ jsx9(
1184
1197
  CheckboxPrimitive.Indicator,
@@ -1190,35 +1203,47 @@ var Checkbox = React4.forwardRef(
1190
1203
  )
1191
1204
  }
1192
1205
  );
1193
- if (label || description) {
1194
- return /* @__PURE__ */ jsxs4(
1195
- Inline2,
1196
- {
1197
- gap: "sm",
1198
- alignItems: "flex-start",
1199
- opacity: disabled ? "50" : "100",
1200
- cursor: disabled ? "not-allowed" : "pointer",
1201
- children: [
1202
- checkbox,
1203
- /* @__PURE__ */ jsxs4(
1204
- Stack2,
1205
- {
1206
- gap: "xs",
1207
- onClick: (e) => {
1208
- if (!disabled) {
1209
- const button = e.currentTarget.parentElement?.querySelector("button");
1210
- button?.click();
1211
- }
1212
- },
1213
- children: [
1214
- label && /* @__PURE__ */ jsx9(Text2, { as: "span", fontVariant: "text-s-medium", children: label }),
1215
- description && /* @__PURE__ */ jsx9(Text2, { as: "span", color: "contentTertiary", fontVariant: "text-m-regular", children: description })
1216
- ]
1217
- }
1218
- )
1219
- ]
1220
- }
1221
- );
1206
+ if (label || displayHelperText) {
1207
+ return /* @__PURE__ */ jsxs4(Stack2, { gap: "xs", children: [
1208
+ /* @__PURE__ */ jsxs4(
1209
+ Inline2,
1210
+ {
1211
+ gap: "sm",
1212
+ alignItems: "flex-start",
1213
+ opacity: disabled ? "50" : "100",
1214
+ cursor: disabled ? "not-allowed" : "pointer",
1215
+ children: [
1216
+ checkbox,
1217
+ /* @__PURE__ */ jsx9(
1218
+ Stack2,
1219
+ {
1220
+ gap: "xs",
1221
+ onClick: (e) => {
1222
+ if (!disabled) {
1223
+ const button = e.currentTarget.parentElement?.querySelector("button");
1224
+ button?.click();
1225
+ }
1226
+ },
1227
+ children: label && /* @__PURE__ */ jsxs4(Inline2, { gap: "2xs", alignItems: "center", children: [
1228
+ /* @__PURE__ */ jsx9(Text2, { as: "label", fontVariant: "text-s-medium", htmlFor: checkboxId, children: label }),
1229
+ required && /* @__PURE__ */ jsx9(Text2, { as: "span", color: "contentTertiary", fontVariant: "text-s-medium", children: "*" })
1230
+ ] })
1231
+ }
1232
+ )
1233
+ ]
1234
+ }
1235
+ ),
1236
+ displayHelperText && /* @__PURE__ */ jsx9(
1237
+ Text2,
1238
+ {
1239
+ fontVariant: "text-s-regular",
1240
+ color: error ? "contentNegative" : "contentTertiary",
1241
+ role: error ? "alert" : void 0,
1242
+ style: { marginLeft: boxSize + 8 },
1243
+ children: displayHelperText
1244
+ }
1245
+ )
1246
+ ] });
1222
1247
  }
1223
1248
  return checkbox;
1224
1249
  }
@@ -1226,7 +1251,7 @@ var Checkbox = React4.forwardRef(
1226
1251
  Checkbox.displayName = "Checkbox";
1227
1252
 
1228
1253
  // src/components/Switch/Switch.tsx
1229
- import { forwardRef as forwardRef10 } from "react";
1254
+ import React5, { forwardRef as forwardRef10 } from "react";
1230
1255
  import * as SwitchPrimitive from "@radix-ui/react-switch";
1231
1256
 
1232
1257
  // src/components/Switch/switch.css.ts
@@ -1235,30 +1260,86 @@ var switchRoot = _7a4684({ defaultClassName: "switch__1q0tj351 switch_baseSwitch
1235
1260
  var switchThumb = _7a4684({ defaultClassName: "switch__1q0tj356 switch_baseSwitchThumb__1q0tj355", variantClassNames: { size: { sm: "switch_switchThumb_size_sm__1q0tj357", md: "switch_switchThumb_size_md__1q0tj358", lg: "switch_switchThumb_size_lg__1q0tj359" } }, defaultVariants: { size: "md" }, compoundVariants: [] });
1236
1261
 
1237
1262
  // src/components/Switch/Switch.tsx
1238
- import { jsx as jsx10 } from "react/jsx-runtime";
1239
- var Switch = forwardRef10(({ size = "md", className, ...props }, ref) => {
1240
- const rootClasses = switchRoot({ size });
1241
- const thumbClasses = switchThumb({ size });
1242
- return /* @__PURE__ */ jsx10(
1243
- SwitchPrimitive.Root,
1244
- {
1245
- ref,
1246
- className: cn(rootClasses, className),
1247
- ...props,
1248
- children: /* @__PURE__ */ jsx10(SwitchPrimitive.Thumb, { className: thumbClasses })
1263
+ import { jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
1264
+ var Switch = forwardRef10(
1265
+ ({
1266
+ size = "md",
1267
+ className,
1268
+ label,
1269
+ helperText,
1270
+ required,
1271
+ error = false,
1272
+ errorMessage,
1273
+ disabled,
1274
+ ...props
1275
+ }, ref) => {
1276
+ const rootClasses = switchRoot({ size });
1277
+ const thumbClasses = switchThumb({ size });
1278
+ const switchId = props.id || `switch-${React5.useId()}`;
1279
+ const displayHelperText = error && errorMessage ? errorMessage : helperText;
1280
+ const switchElement = /* @__PURE__ */ jsx10(
1281
+ SwitchPrimitive.Root,
1282
+ {
1283
+ ref,
1284
+ id: switchId,
1285
+ className: cn(rootClasses, className),
1286
+ disabled,
1287
+ "aria-invalid": error || void 0,
1288
+ ...props,
1289
+ children: /* @__PURE__ */ jsx10(SwitchPrimitive.Thumb, { className: thumbClasses })
1290
+ }
1291
+ );
1292
+ if (label || displayHelperText) {
1293
+ return /* @__PURE__ */ jsxs5(Stack2, { gap: "xs", children: [
1294
+ /* @__PURE__ */ jsxs5(
1295
+ Inline2,
1296
+ {
1297
+ gap: "sm",
1298
+ alignItems: "center",
1299
+ opacity: disabled ? "50" : "100",
1300
+ cursor: disabled ? "not-allowed" : "pointer",
1301
+ children: [
1302
+ switchElement,
1303
+ label && /* @__PURE__ */ jsxs5(Inline2, { gap: "2xs", alignItems: "center", children: [
1304
+ /* @__PURE__ */ jsx10(
1305
+ Text2,
1306
+ {
1307
+ as: "label",
1308
+ fontVariant: "text-s-medium",
1309
+ htmlFor: switchId,
1310
+ style: { cursor: disabled ? "not-allowed" : "pointer" },
1311
+ children: label
1312
+ }
1313
+ ),
1314
+ required && /* @__PURE__ */ jsx10(Text2, { as: "span", color: "contentTertiary", fontVariant: "text-s-medium", children: "*" })
1315
+ ] })
1316
+ ]
1317
+ }
1318
+ ),
1319
+ displayHelperText && /* @__PURE__ */ jsx10(
1320
+ Text2,
1321
+ {
1322
+ fontVariant: "text-s-regular",
1323
+ color: error ? "contentNegative" : "contentTertiary",
1324
+ role: error ? "alert" : void 0,
1325
+ children: displayHelperText
1326
+ }
1327
+ )
1328
+ ] });
1249
1329
  }
1250
- );
1251
- });
1330
+ return switchElement;
1331
+ }
1332
+ );
1252
1333
  Switch.displayName = "Switch";
1253
1334
 
1254
1335
  // src/components/Chip/Chip.tsx
1255
1336
  import React6, { forwardRef as forwardRef11 } from "react";
1256
- import { jsx as jsx11, jsxs as jsxs5 } from "react/jsx-runtime";
1337
+ import { jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
1257
1338
  var ChipComponent = forwardRef11(function Chip(props, ref) {
1258
1339
  const { icon, outline, variant, children, disabled, onClick, ...restProps } = props;
1259
1340
  const isValidIcon = icon && React6.isValidElement(icon);
1260
1341
  const isOnlyIcon = icon && React6.isValidElement(icon) && !children;
1261
- return /* @__PURE__ */ jsxs5(
1342
+ return /* @__PURE__ */ jsxs6(
1262
1343
  Inline2,
1263
1344
  {
1264
1345
  ref,
@@ -1304,7 +1385,7 @@ var tooltipArrow = "tooltip_tooltipArrow__jg1db35";
1304
1385
  var tooltipContent = "tooltip_tooltipContent__jg1db34";
1305
1386
 
1306
1387
  // src/components/Tooltip/Tooltip.tsx
1307
- import { jsx as jsx12, jsxs as jsxs6 } from "react/jsx-runtime";
1388
+ import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
1308
1389
  var TooltipProvider = TooltipPrimitive.Provider;
1309
1390
  var Tooltip = ({
1310
1391
  children,
@@ -1323,9 +1404,9 @@ var Tooltip = ({
1323
1404
  delayDuration,
1324
1405
  skipDelayDuration,
1325
1406
  disableHoverableContent,
1326
- children: /* @__PURE__ */ jsxs6(TooltipPrimitive.Root, { children: [
1407
+ children: /* @__PURE__ */ jsxs7(TooltipPrimitive.Root, { children: [
1327
1408
  /* @__PURE__ */ jsx12(TooltipPrimitive.Trigger, { asChild: true, children }),
1328
- /* @__PURE__ */ jsx12(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs6(
1409
+ /* @__PURE__ */ jsx12(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs7(
1329
1410
  TooltipPrimitive.Content,
1330
1411
  {
1331
1412
  className: tooltipContent,
@@ -1376,7 +1457,7 @@ var selectValue = "select_selectValue__ijj2cg8";
1376
1457
  var selectViewport = "select_selectViewport__ijj2cgb";
1377
1458
 
1378
1459
  // src/components/Select/Select.tsx
1379
- import { jsx as jsx13, jsxs as jsxs7 } from "react/jsx-runtime";
1460
+ import { jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
1380
1461
  var ChevronDownIcon = ({ className }) => /* @__PURE__ */ jsx13(
1381
1462
  "svg",
1382
1463
  {
@@ -1395,7 +1476,7 @@ var ChevronDownIcon = ({ className }) => /* @__PURE__ */ jsx13(
1395
1476
  var SelectRoot = SelectPrimitive.Root;
1396
1477
  SelectRoot.displayName = "SelectRoot";
1397
1478
  var SelectTrigger = React7.forwardRef(({ children, error, ...props }, ref) => {
1398
- return /* @__PURE__ */ jsxs7(
1479
+ return /* @__PURE__ */ jsxs8(
1399
1480
  SelectPrimitive.Trigger,
1400
1481
  {
1401
1482
  ref,
@@ -1421,7 +1502,7 @@ var SelectContent = React7.forwardRef(
1421
1502
  ...props
1422
1503
  }, ref) => {
1423
1504
  const contentChildren = disableListWrapper ? children : /* @__PURE__ */ jsx13(Stack2, { as: "ul", gap: "xs", children });
1424
- return /* @__PURE__ */ jsx13(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs7(
1505
+ return /* @__PURE__ */ jsx13(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs8(
1425
1506
  SelectPrimitive.Content,
1426
1507
  {
1427
1508
  ref,
@@ -1471,12 +1552,12 @@ var Select = React7.forwardRef(
1471
1552
  }, ref) => {
1472
1553
  const helperTextId = `${name}-helper`;
1473
1554
  const displayHelperText = error && Boolean(errorMessage) ? errorMessage : helperText;
1474
- return /* @__PURE__ */ jsxs7(Stack2, { gap: "sm", children: [
1475
- label && /* @__PURE__ */ jsxs7("label", { className: selectLabel, children: [
1555
+ return /* @__PURE__ */ jsxs8(Stack2, { gap: "sm", children: [
1556
+ label && /* @__PURE__ */ jsxs8("label", { className: selectLabel, children: [
1476
1557
  label,
1477
1558
  required && /* @__PURE__ */ jsx13(Text2, { as: "span", color: "contentTertiary", children: "*" })
1478
1559
  ] }),
1479
- /* @__PURE__ */ jsxs7(
1560
+ /* @__PURE__ */ jsxs8(
1480
1561
  SelectRoot,
1481
1562
  {
1482
1563
  value,
@@ -1728,7 +1809,7 @@ var textareaElement = _7a4689({ defaultClassName: "textarea__o7hyjda textarea_ba
1728
1809
  var textareaField = _7a4689({ defaultClassName: "textarea__o7hyjd4 textarea_baseTextareaField__o7hyjd3", variantClassNames: { state: { "default": "textarea_textareaField_state_default__o7hyjd5", error: "textarea_textareaField_state_error__o7hyjd6", disabled: "textarea_textareaField_state_disabled__o7hyjd7", view: "textarea_textareaField_state_view__o7hyjd8" } }, defaultVariants: { state: "default" }, compoundVariants: [] });
1729
1810
 
1730
1811
  // src/components/TextArea/TextArea.tsx
1731
- import { jsx as jsx17, jsxs as jsxs8 } from "react/jsx-runtime";
1812
+ import { jsx as jsx17, jsxs as jsxs9 } from "react/jsx-runtime";
1732
1813
  var ResizeIcon = () => /* @__PURE__ */ jsx17(
1733
1814
  "svg",
1734
1815
  {
@@ -1753,7 +1834,9 @@ var TextArea = forwardRef15(
1753
1834
  function TextArea2(props, ref) {
1754
1835
  const {
1755
1836
  label,
1756
- mandatory = false,
1837
+ required = false,
1838
+ mandatory,
1839
+ // deprecated - kept for backwards compatibility
1757
1840
  helperText,
1758
1841
  error = false,
1759
1842
  errorMessage,
@@ -1766,6 +1849,7 @@ var TextArea = forwardRef15(
1766
1849
  readOnly,
1767
1850
  ...textareaProps
1768
1851
  } = props;
1852
+ const isRequired = required || mandatory || false;
1769
1853
  const textareaId = id || `textarea-${React10.useId()}`;
1770
1854
  const helperTextId = `${textareaId}-helper`;
1771
1855
  const displayHelperText = error && errorMessage ? errorMessage : helperText;
@@ -1775,7 +1859,7 @@ var TextArea = forwardRef15(
1775
1859
  if (error) return "error";
1776
1860
  return "default";
1777
1861
  };
1778
- const labelElement = label && /* @__PURE__ */ jsxs8(Inline2, { gap: "2xs", style: horizontal ? { padding: "9px 0px" } : void 0, children: [
1862
+ const labelElement = label && /* @__PURE__ */ jsxs9(Inline2, { gap: "2xs", style: horizontal ? { padding: "9px 0px" } : void 0, children: [
1779
1863
  /* @__PURE__ */ jsx17(
1780
1864
  Text2,
1781
1865
  {
@@ -1786,11 +1870,11 @@ var TextArea = forwardRef15(
1786
1870
  children: label
1787
1871
  }
1788
1872
  ),
1789
- mandatory && /* @__PURE__ */ jsx17(Text2, { fontVariant: "text-m-regular", color: "contentTertiary", as: "span", children: "*" })
1873
+ isRequired && /* @__PURE__ */ jsx17(Text2, { fontVariant: "text-m-regular", color: "contentTertiary", as: "span", children: "*" })
1790
1874
  ] });
1791
1875
  const state = getState();
1792
- const textareaElement2 = /* @__PURE__ */ jsxs8(Stack2, { gap: "sm", width: "full", children: [
1793
- /* @__PURE__ */ jsxs8(Box2, { className: textareaField({ state }), children: [
1876
+ const textareaElement2 = /* @__PURE__ */ jsxs9(Stack2, { gap: "sm", width: "full", children: [
1877
+ /* @__PURE__ */ jsxs9(Box2, { className: textareaField({ state }), children: [
1794
1878
  /* @__PURE__ */ jsx17(
1795
1879
  "textarea",
1796
1880
  {
@@ -1818,7 +1902,7 @@ var TextArea = forwardRef15(
1818
1902
  }
1819
1903
  )
1820
1904
  ] });
1821
- return /* @__PURE__ */ jsxs8(
1905
+ return /* @__PURE__ */ jsxs9(
1822
1906
  Box2,
1823
1907
  {
1824
1908
  className: textareaContainer({
@@ -1849,7 +1933,7 @@ var iconWrapper3 = "accordion_iconWrapper__1m7j6g7a";
1849
1933
  var triggerTitle = "accordion_triggerTitle__1m7j6g79";
1850
1934
 
1851
1935
  // src/components/Accordion/Accordion.tsx
1852
- import { jsx as jsx18, jsxs as jsxs9 } from "react/jsx-runtime";
1936
+ import { jsx as jsx18, jsxs as jsxs10 } from "react/jsx-runtime";
1853
1937
  var ChevronDownIcon2 = () => /* @__PURE__ */ jsx18(
1854
1938
  "svg",
1855
1939
  {
@@ -1920,7 +2004,7 @@ var AccordionTrigger = React11.forwardRef(({ children, className, variant, ...pr
1920
2004
  ref,
1921
2005
  className: cn(accordionTrigger({ variant: resolvedVariant }), className),
1922
2006
  ...props,
1923
- children: /* @__PURE__ */ jsxs9(
2007
+ children: /* @__PURE__ */ jsxs10(
1924
2008
  Inline2,
1925
2009
  {
1926
2010
  flex: "1",
@@ -1982,7 +2066,7 @@ var menuSubContent = "menu_menuSubContent__1b87dxfe";
1982
2066
  var menuSubTrigger = "menu_menuSubTrigger__1b87dxfd menu_menuItemBase__1b87dxfa";
1983
2067
 
1984
2068
  // src/components/Menu/Menu.tsx
1985
- import { jsx as jsx19, jsxs as jsxs10 } from "react/jsx-runtime";
2069
+ import { jsx as jsx19, jsxs as jsxs11 } from "react/jsx-runtime";
1986
2070
  var ChevronRightIcon = () => /* @__PURE__ */ jsx19(
1987
2071
  "svg",
1988
2072
  {
@@ -2108,7 +2192,7 @@ var Menu = ({
2108
2192
  ...defaultOpen !== void 0 ? { defaultOpen } : {},
2109
2193
  ...onOpenChange ? { onOpenChange } : {}
2110
2194
  };
2111
- return /* @__PURE__ */ jsxs10(MenuRoot, { ...menuRootProps, children: [
2195
+ return /* @__PURE__ */ jsxs11(MenuRoot, { ...menuRootProps, children: [
2112
2196
  /* @__PURE__ */ jsx19(MenuTrigger, { children: triggerWithHoverHandlers }),
2113
2197
  /* @__PURE__ */ jsx19(
2114
2198
  MenuContent,
@@ -2168,8 +2252,8 @@ var MenuSeparator = ({ className }) => {
2168
2252
  };
2169
2253
  MenuSeparator.displayName = "MenuSeparator";
2170
2254
  var MenuSub = ({ children, label, padding = "xs" }) => {
2171
- return /* @__PURE__ */ jsxs10(DropdownMenu.Sub, { children: [
2172
- /* @__PURE__ */ jsxs10(DropdownMenu.SubTrigger, { className: menuSubTrigger, children: [
2255
+ return /* @__PURE__ */ jsxs11(DropdownMenu.Sub, { children: [
2256
+ /* @__PURE__ */ jsxs11(DropdownMenu.SubTrigger, { className: menuSubTrigger, children: [
2173
2257
  label,
2174
2258
  /* @__PURE__ */ jsx19(ChevronRightIcon, {})
2175
2259
  ] }),
@@ -2202,8 +2286,8 @@ var dialogHeader = "dialog_dialogHeader__1934qpw8";
2202
2286
  var dialogOverlay = "dialog_dialogOverlay__1934qpw2";
2203
2287
 
2204
2288
  // src/components/Dialog/Dialog.tsx
2205
- import { jsx as jsx20, jsxs as jsxs11 } from "react/jsx-runtime";
2206
- var CloseIcon = () => /* @__PURE__ */ jsxs11(
2289
+ import { jsx as jsx20, jsxs as jsxs12 } from "react/jsx-runtime";
2290
+ var CloseIcon = () => /* @__PURE__ */ jsxs12(
2207
2291
  "svg",
2208
2292
  {
2209
2293
  width: "20",
@@ -2228,7 +2312,7 @@ var DialogRoot = ({
2228
2312
  children,
2229
2313
  modal = true
2230
2314
  }) => {
2231
- return /* @__PURE__ */ jsxs11(
2315
+ return /* @__PURE__ */ jsxs12(
2232
2316
  DialogPrimitive.Root,
2233
2317
  {
2234
2318
  open,
@@ -2258,9 +2342,9 @@ var DialogContent = React13.forwardRef(
2258
2342
  }, ref) => {
2259
2343
  const resolvedMaxHeight = typeof maxHeight === "number" ? `${maxHeight / 16}rem` : maxHeight;
2260
2344
  const resolvedHeight = typeof height === "number" ? `${height / 16}rem` : height;
2261
- return /* @__PURE__ */ jsxs11(DialogPrimitive.Portal, { children: [
2345
+ return /* @__PURE__ */ jsxs12(DialogPrimitive.Portal, { children: [
2262
2346
  /* @__PURE__ */ jsx20(DialogPrimitive.Overlay, { className: dialogOverlay }),
2263
- /* @__PURE__ */ jsxs11(
2347
+ /* @__PURE__ */ jsxs12(
2264
2348
  DialogPrimitive.Content,
2265
2349
  {
2266
2350
  ref,
@@ -2345,7 +2429,7 @@ var Dialog = Object.assign(DialogRoot, {
2345
2429
 
2346
2430
  // src/components/Dialog/AlertDialog.tsx
2347
2431
  import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
2348
- import { jsx as jsx21, jsxs as jsxs12 } from "react/jsx-runtime";
2432
+ import { jsx as jsx21, jsxs as jsxs13 } from "react/jsx-runtime";
2349
2433
  var AlertDialog = ({
2350
2434
  layout = "medium",
2351
2435
  title,
@@ -2365,9 +2449,9 @@ var AlertDialog = ({
2365
2449
  const isMedium = layout === "medium";
2366
2450
  const isStacked = layout === "stacked";
2367
2451
  const maxWidthStyle = maxWidth ? `${maxWidth / 16}rem` : void 0;
2368
- return /* @__PURE__ */ jsxs12(AlertDialogPrimitive.Root, { open, onOpenChange, children: [
2452
+ return /* @__PURE__ */ jsxs13(AlertDialogPrimitive.Root, { open, onOpenChange, children: [
2369
2453
  trigger && /* @__PURE__ */ jsx21(AlertDialogPrimitive.Trigger, { asChild: true, children: trigger }),
2370
- /* @__PURE__ */ jsxs12(AlertDialogPrimitive.Portal, { children: [
2454
+ /* @__PURE__ */ jsxs13(AlertDialogPrimitive.Portal, { children: [
2371
2455
  /* @__PURE__ */ jsx21(
2372
2456
  AlertDialogPrimitive.Overlay,
2373
2457
  {
@@ -2380,7 +2464,7 @@ var AlertDialog = ({
2380
2464
  {
2381
2465
  className: cn(alertDialogContent({ layout })),
2382
2466
  style: maxWidthStyle ? { maxWidth: maxWidthStyle } : void 0,
2383
- children: /* @__PURE__ */ jsxs12(
2467
+ children: /* @__PURE__ */ jsxs13(
2384
2468
  Stack2,
2385
2469
  {
2386
2470
  gap: "20",
@@ -2392,7 +2476,7 @@ var AlertDialog = ({
2392
2476
  padding: "xl",
2393
2477
  shadow: "L4",
2394
2478
  children: [
2395
- /* @__PURE__ */ jsxs12(
2479
+ /* @__PURE__ */ jsxs13(
2396
2480
  Stack2,
2397
2481
  {
2398
2482
  gap: "sm",
@@ -2404,7 +2488,7 @@ var AlertDialog = ({
2404
2488
  ]
2405
2489
  }
2406
2490
  ),
2407
- isMedium ? /* @__PURE__ */ jsxs12(Inline2, { gap: "md", justifyContent: "end", children: [
2491
+ isMedium ? /* @__PURE__ */ jsxs13(Inline2, { gap: "md", justifyContent: "end", children: [
2408
2492
  /* @__PURE__ */ jsx21(AlertDialogPrimitive.Cancel, { asChild: true, children: /* @__PURE__ */ jsx21(
2409
2493
  Button,
2410
2494
  {
@@ -2431,7 +2515,7 @@ var AlertDialog = ({
2431
2515
  children: continueText
2432
2516
  }
2433
2517
  ) })
2434
- ] }) : /* @__PURE__ */ jsxs12(Stack2, { gap: "md", children: [
2518
+ ] }) : /* @__PURE__ */ jsxs13(Stack2, { gap: "md", children: [
2435
2519
  preventCloseOnAction ? /* @__PURE__ */ jsx21(
2436
2520
  Button,
2437
2521
  {
@@ -2488,8 +2572,8 @@ var toastViewportPositions = { "top-left": "toast_toastViewportPositions_top-lef
2488
2572
  var toastViewportStyle = "toast_toastViewportStyle__1c9srd86";
2489
2573
 
2490
2574
  // src/components/Toast/Toast.tsx
2491
- import { jsx as jsx22, jsxs as jsxs13 } from "react/jsx-runtime";
2492
- var CloseIcon2 = () => /* @__PURE__ */ jsxs13(
2575
+ import { jsx as jsx22, jsxs as jsxs14 } from "react/jsx-runtime";
2576
+ var CloseIcon2 = () => /* @__PURE__ */ jsxs14(
2493
2577
  "svg",
2494
2578
  {
2495
2579
  width: "16",
@@ -2506,7 +2590,7 @@ var CloseIcon2 = () => /* @__PURE__ */ jsxs13(
2506
2590
  ]
2507
2591
  }
2508
2592
  );
2509
- var InfoIcon = () => /* @__PURE__ */ jsxs13(
2593
+ var InfoIcon = () => /* @__PURE__ */ jsxs14(
2510
2594
  "svg",
2511
2595
  {
2512
2596
  width: "20",
@@ -2524,7 +2608,7 @@ var InfoIcon = () => /* @__PURE__ */ jsxs13(
2524
2608
  ]
2525
2609
  }
2526
2610
  );
2527
- var SuccessIcon = () => /* @__PURE__ */ jsxs13(
2611
+ var SuccessIcon = () => /* @__PURE__ */ jsxs14(
2528
2612
  "svg",
2529
2613
  {
2530
2614
  width: "20",
@@ -2541,7 +2625,7 @@ var SuccessIcon = () => /* @__PURE__ */ jsxs13(
2541
2625
  ]
2542
2626
  }
2543
2627
  );
2544
- var WarningIcon = () => /* @__PURE__ */ jsxs13(
2628
+ var WarningIcon = () => /* @__PURE__ */ jsxs14(
2545
2629
  "svg",
2546
2630
  {
2547
2631
  width: "20",
@@ -2559,7 +2643,7 @@ var WarningIcon = () => /* @__PURE__ */ jsxs13(
2559
2643
  ]
2560
2644
  }
2561
2645
  );
2562
- var ErrorIcon = () => /* @__PURE__ */ jsxs13(
2646
+ var ErrorIcon = () => /* @__PURE__ */ jsxs14(
2563
2647
  "svg",
2564
2648
  {
2565
2649
  width: "20",
@@ -2604,7 +2688,7 @@ var Toast = React14.forwardRef(
2604
2688
  showClose = true
2605
2689
  }, ref) => {
2606
2690
  const displayIcon = icon !== void 0 ? icon : getIconForVariant(variant);
2607
- return /* @__PURE__ */ jsxs13(
2691
+ return /* @__PURE__ */ jsxs14(
2608
2692
  ToastPrimitive.Root,
2609
2693
  {
2610
2694
  ref,
@@ -2614,7 +2698,7 @@ var Toast = React14.forwardRef(
2614
2698
  className: cn(toastRoot({ variant }), className),
2615
2699
  children: [
2616
2700
  displayIcon && /* @__PURE__ */ jsx22("div", { className: toastIcon, children: displayIcon }),
2617
- /* @__PURE__ */ jsxs13("div", { className: toastContent, children: [
2701
+ /* @__PURE__ */ jsxs14("div", { className: toastContent, children: [
2618
2702
  /* @__PURE__ */ jsx22(ToastPrimitive.Title, { className: toastTitle, children: title }),
2619
2703
  description && /* @__PURE__ */ jsx22(ToastPrimitive.Description, { className: toastDescription, children: description })
2620
2704
  ] }),
@@ -2698,8 +2782,8 @@ var popoverClose = "popover_popoverClose__qv1k3xa";
2698
2782
  var popoverContent = _7a46814({ defaultClassName: "popover_popoverContent__qv1k3x4", variantClassNames: { size: { sm: "popover_popoverContent_size_sm__qv1k3x5", md: "popover_popoverContent_size_md__qv1k3x6", lg: "popover_popoverContent_size_lg__qv1k3x7", auto: "popover_popoverContent_size_auto__qv1k3x8" } }, defaultVariants: { size: "md" }, compoundVariants: [] });
2699
2783
 
2700
2784
  // src/components/Popover/Popover.tsx
2701
- import { jsx as jsx23, jsxs as jsxs14 } from "react/jsx-runtime";
2702
- var CloseIcon3 = () => /* @__PURE__ */ jsxs14(
2785
+ import { jsx as jsx23, jsxs as jsxs15 } from "react/jsx-runtime";
2786
+ var CloseIcon3 = () => /* @__PURE__ */ jsxs15(
2703
2787
  "svg",
2704
2788
  {
2705
2789
  width: "16",
@@ -2735,7 +2819,7 @@ var PopoverContent = React15.forwardRef(
2735
2819
  onClose,
2736
2820
  ...props
2737
2821
  }, ref) => {
2738
- return /* @__PURE__ */ jsx23(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsxs14(
2822
+ return /* @__PURE__ */ jsx23(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsxs15(
2739
2823
  PopoverPrimitive.Content,
2740
2824
  {
2741
2825
  ref,
@@ -2777,7 +2861,7 @@ var Popover = ({
2777
2861
  showClose = false,
2778
2862
  modal = false
2779
2863
  }) => {
2780
- return /* @__PURE__ */ jsxs14(PopoverRoot, { open, defaultOpen, onOpenChange, modal, children: [
2864
+ return /* @__PURE__ */ jsxs15(PopoverRoot, { open, defaultOpen, onOpenChange, modal, children: [
2781
2865
  /* @__PURE__ */ jsx23(PopoverTrigger, { children: trigger }),
2782
2866
  /* @__PURE__ */ jsx23(
2783
2867
  PopoverContent,
@@ -2820,7 +2904,7 @@ var tabItem = _7a46815({ defaultClassName: "tabs_tabItem__1c5op4v7", variantClas
2820
2904
  var tabsList = _7a46815({ defaultClassName: "tabs_tabsList__1c5op4v2", variantClassNames: { variant: { pills: "tabs_tabsList_variant_pills__1c5op4v3", underline: "tabs_tabsList_variant_underline__1c5op4v4" }, fullWidth: { true: "tabs_tabsList_fullWidth_true__1c5op4v5", false: "tabs_tabsList_fullWidth_false__1c5op4v6" } }, defaultVariants: { variant: "pills", fullWidth: false }, compoundVariants: [] });
2821
2905
 
2822
2906
  // src/components/Tabs/Tabs.tsx
2823
- import { jsx as jsx24, jsxs as jsxs15 } from "react/jsx-runtime";
2907
+ import { jsx as jsx24, jsxs as jsxs16 } from "react/jsx-runtime";
2824
2908
  var TabsContext = createContext2({ variant: "pills" });
2825
2909
  var useTabsContext = () => useContext2(TabsContext);
2826
2910
  var TabsRoot = forwardRef21(({ variant = "pills", children, ...props }, ref) => {
@@ -2864,7 +2948,7 @@ var TabsTrigger = forwardRef21(({ value, icon, children, className, disabled, va
2864
2948
  ),
2865
2949
  "data-variant": resolvedVariant,
2866
2950
  ...props,
2867
- children: /* @__PURE__ */ jsxs15(Inline2, { gap: "sm", alignItems: "center", justifyContent: "center", children: [
2951
+ children: /* @__PURE__ */ jsxs16(Inline2, { gap: "sm", alignItems: "center", justifyContent: "center", children: [
2868
2952
  icon && React16.cloneElement(icon, {
2869
2953
  size: "20",
2870
2954
  style: { color: "inherit" }
@@ -2923,8 +3007,8 @@ var sectionHeader = "drawer_sectionHeader__4fc39fl";
2923
3007
  var sectionText = "drawer_sectionText__4fc39fm";
2924
3008
 
2925
3009
  // src/components/Drawer/Drawer.tsx
2926
- import { jsx as jsx25, jsxs as jsxs16 } from "react/jsx-runtime";
2927
- var CloseIcon4 = ({ size = "20" }) => /* @__PURE__ */ jsxs16(
3010
+ import { jsx as jsx25, jsxs as jsxs17 } from "react/jsx-runtime";
3011
+ var CloseIcon4 = ({ size = "20" }) => /* @__PURE__ */ jsxs17(
2928
3012
  "svg",
2929
3013
  {
2930
3014
  width: size,
@@ -2976,7 +3060,7 @@ var DrawerHeader = forwardRef22(
2976
3060
  showCloseButton = true,
2977
3061
  closeLabel = "Close drawer",
2978
3062
  ...props
2979
- }, ref) => title || children ? /* @__PURE__ */ jsxs16("header", { ref, className: cn(drawerHeader, className), ...props, children: [
3063
+ }, ref) => title || children ? /* @__PURE__ */ jsxs17("header", { ref, className: cn(drawerHeader, className), ...props, children: [
2980
3064
  typeof title === "string" ? /* @__PURE__ */ jsx25(Text2, { fontVariant: "text-xl-medium", color: "contentPrimary", children: title }) : title || children,
2981
3065
  showCloseButton && /* @__PURE__ */ jsx25(
2982
3066
  DialogPrimitive2.Close,
@@ -3027,8 +3111,8 @@ var DrawerFooter = forwardRef22(
3027
3111
  );
3028
3112
  DrawerFooter.displayName = "Drawer.Footer";
3029
3113
  var DrawerSection = forwardRef22(
3030
- ({ title, description, actions, children, className, ...props }, ref) => /* @__PURE__ */ jsxs16("section", { ref, className: cn(section, className), ...props, children: [
3031
- (title || description || actions) && /* @__PURE__ */ jsxs16(
3114
+ ({ title, description, actions, children, className, ...props }, ref) => /* @__PURE__ */ jsxs17("section", { ref, className: cn(section, className), ...props, children: [
3115
+ (title || description || actions) && /* @__PURE__ */ jsxs17(
3032
3116
  Inline2,
3033
3117
  {
3034
3118
  className: sectionHeader,
@@ -3036,7 +3120,7 @@ var DrawerSection = forwardRef22(
3036
3120
  alignItems: "flex-start",
3037
3121
  gap: "md",
3038
3122
  children: [
3039
- /* @__PURE__ */ jsxs16(Stack2, { className: sectionText, gap: "2xs", children: [
3123
+ /* @__PURE__ */ jsxs17(Stack2, { className: sectionText, gap: "2xs", children: [
3040
3124
  title && /* @__PURE__ */ jsx25(Text2, { fontVariant: "text-m-medium", color: "contentPrimary", children: title }),
3041
3125
  description && /* @__PURE__ */ jsx25(Text2, { fontVariant: "text-s-regular", color: "contentSecondary", children: description })
3042
3126
  ] }),
@@ -3059,11 +3143,11 @@ var Drawer = ({
3059
3143
  size = "lg",
3060
3144
  showCloseButton = true
3061
3145
  }) => {
3062
- return /* @__PURE__ */ jsxs16(DrawerRoot, { open, onOpenChange, children: [
3146
+ return /* @__PURE__ */ jsxs17(DrawerRoot, { open, onOpenChange, children: [
3063
3147
  trigger && /* @__PURE__ */ jsx25(DrawerTrigger, { asChild: true, children: trigger }),
3064
- /* @__PURE__ */ jsxs16(DrawerPortal, { children: [
3148
+ /* @__PURE__ */ jsxs17(DrawerPortal, { children: [
3065
3149
  showOverlay && /* @__PURE__ */ jsx25(DrawerOverlay, {}),
3066
- /* @__PURE__ */ jsxs16(DrawerContent, { side, size, children: [
3150
+ /* @__PURE__ */ jsxs17(DrawerContent, { side, size, children: [
3067
3151
  title && /* @__PURE__ */ jsx25(DrawerHeader, { title, showCloseButton }),
3068
3152
  children
3069
3153
  ] })
@@ -3096,7 +3180,7 @@ var rangeTextSecondary = "pagination_rangeTextSecondary__x6drlhd";
3096
3180
  var rangeWrapper = "pagination_rangeWrapper__x6drlhc";
3097
3181
 
3098
3182
  // src/components/Pagination/Pagination.tsx
3099
- import { jsx as jsx26, jsxs as jsxs17 } from "react/jsx-runtime";
3183
+ import { jsx as jsx26, jsxs as jsxs18 } from "react/jsx-runtime";
3100
3184
  var ChevronLeftIcon = ({ size = "16" }) => /* @__PURE__ */ jsx26(
3101
3185
  "svg",
3102
3186
  {
@@ -3139,7 +3223,7 @@ var ChevronDownIcon3 = ({ size = "16" }) => /* @__PURE__ */ jsx26(
3139
3223
  children: /* @__PURE__ */ jsx26("path", { d: "M6 9l6 6 6-6" })
3140
3224
  }
3141
3225
  );
3142
- var EllipsisIcon = ({ size = "16" }) => /* @__PURE__ */ jsxs17(
3226
+ var EllipsisIcon = ({ size = "16" }) => /* @__PURE__ */ jsxs18(
3143
3227
  "svg",
3144
3228
  {
3145
3229
  width: size,
@@ -3166,7 +3250,7 @@ var PaginationPrevious = ({
3166
3250
  children = "Previous",
3167
3251
  className
3168
3252
  }) => {
3169
- return /* @__PURE__ */ jsxs17(
3253
+ return /* @__PURE__ */ jsxs18(
3170
3254
  "button",
3171
3255
  {
3172
3256
  className: cn(paginationItem({ variant: "previous" }), className),
@@ -3187,7 +3271,7 @@ var PaginationNext = ({
3187
3271
  children = "Next",
3188
3272
  className
3189
3273
  }) => {
3190
- return /* @__PURE__ */ jsxs17(
3274
+ return /* @__PURE__ */ jsxs18(
3191
3275
  "button",
3192
3276
  {
3193
3277
  className: cn(paginationItem({ variant: "next" }), className),
@@ -3265,8 +3349,8 @@ var PaginationInfoRange = ({
3265
3349
  end,
3266
3350
  total
3267
3351
  }) => {
3268
- return /* @__PURE__ */ jsxs17("div", { className: rangeWrapper, children: [
3269
- /* @__PURE__ */ jsxs17("span", { className: rangeTextSecondary, children: [
3352
+ return /* @__PURE__ */ jsxs18("div", { className: rangeWrapper, children: [
3353
+ /* @__PURE__ */ jsxs18("span", { className: rangeTextSecondary, children: [
3270
3354
  start,
3271
3355
  "-",
3272
3356
  end
@@ -3287,12 +3371,12 @@ var PaginationInfoComplete = ({
3287
3371
  }) => {
3288
3372
  const start = Math.min((currentPage - 1) * pageSize + 1, totalItems);
3289
3373
  const end = Math.min(currentPage * pageSize, totalItems);
3290
- return /* @__PURE__ */ jsxs17(PaginationInfoRoot, { className, children: [
3374
+ return /* @__PURE__ */ jsxs18(PaginationInfoRoot, { className, children: [
3291
3375
  /* @__PURE__ */ jsx26(PaginationInfoLabel, { children: label }),
3292
3376
  /* @__PURE__ */ jsx26(
3293
3377
  Menu,
3294
3378
  {
3295
- trigger: /* @__PURE__ */ jsxs17("button", { className: pickerButton({ disabled: false }), children: [
3379
+ trigger: /* @__PURE__ */ jsxs18("button", { className: pickerButton({ disabled: false }), children: [
3296
3380
  pageSize,
3297
3381
  /* @__PURE__ */ jsx26(
3298
3382
  Inline2,
@@ -3501,7 +3585,7 @@ var imageStyles = _7a46819({ defaultClassName: "image_imageStyles__1hj4ov11", va
3501
3585
  var placeholderStyles = "image_placeholderStyles__1hj4ov19";
3502
3586
 
3503
3587
  // src/components/Image/Image.tsx
3504
- import { jsx as jsx29, jsxs as jsxs18 } from "react/jsx-runtime";
3588
+ import { jsx as jsx29, jsxs as jsxs19 } from "react/jsx-runtime";
3505
3589
  var Image3 = forwardRef24(function Image4({
3506
3590
  src,
3507
3591
  alt,
@@ -3536,7 +3620,7 @@ var Image3 = forwardRef24(function Image4({
3536
3620
  const showPlaceholder = imageState === "loading" && placeholder;
3537
3621
  const showFallback = imageState === "error" && fallback;
3538
3622
  const showImage = imageState !== "error";
3539
- return /* @__PURE__ */ jsxs18(
3623
+ return /* @__PURE__ */ jsxs19(
3540
3624
  Box2,
3541
3625
  {
3542
3626
  ref,
@@ -3606,7 +3690,7 @@ var Image3 = forwardRef24(function Image4({
3606
3690
  Image3.displayName = "Image";
3607
3691
 
3608
3692
  // src/components/FileUpload/FileUpload.tsx
3609
- import { useCallback as useCallback4, useId, useMemo as useMemo3, useRef as useRef2, useState as useState4 } from "react";
3693
+ import { useCallback as useCallback4, useId as useId2, useMemo as useMemo3, useRef as useRef2, useState as useState4 } from "react";
3610
3694
 
3611
3695
  // src/components/FileUpload/fileUpload.css.ts
3612
3696
  import { createRuntimeFn as _7a46820 } from "@vanilla-extract/recipes/createRuntimeFn";
@@ -3624,7 +3708,7 @@ var previewImage = "fileUpload_previewImage__1nxjf87h";
3624
3708
  var uploaderContainer = "fileUpload_uploaderContainer__1nxjf870";
3625
3709
 
3626
3710
  // src/components/FileUpload/FileUpload.tsx
3627
- import { jsx as jsx30, jsxs as jsxs19 } from "react/jsx-runtime";
3711
+ import { jsx as jsx30, jsxs as jsxs20 } from "react/jsx-runtime";
3628
3712
  var UploadCloudIcon = ({ size = "24", color = "currentColor" }) => /* @__PURE__ */ jsx30(
3629
3713
  "svg",
3630
3714
  {
@@ -3703,7 +3787,7 @@ function FileUpload({
3703
3787
  onRemoveFile,
3704
3788
  className
3705
3789
  }) {
3706
- const inputId = useId();
3790
+ const inputId = useId2();
3707
3791
  const inputRef = useRef2(null);
3708
3792
  const dragCounterRef = useRef2(0);
3709
3793
  const [isDragging, setIsDragging] = useState4(false);
@@ -3788,8 +3872,8 @@ function FileUpload({
3788
3872
  state: isDragging ? "dragging" : "default",
3789
3873
  disabled
3790
3874
  });
3791
- return /* @__PURE__ */ jsxs19(Stack2, { className: cn(uploaderContainer, className), gap: "sm", children: [
3792
- (title || description) && /* @__PURE__ */ jsxs19(Stack2, { gap: "2xs", children: [
3875
+ return /* @__PURE__ */ jsxs20(Stack2, { className: cn(uploaderContainer, className), gap: "sm", children: [
3876
+ (title || description) && /* @__PURE__ */ jsxs20(Stack2, { gap: "2xs", children: [
3793
3877
  title ? /* @__PURE__ */ jsx30(Heading2, { fontVariant: "heading-xs-medium", color: "contentPrimary", children: title }) : null,
3794
3878
  description ? /* @__PURE__ */ jsx30(Text2, { fontVariant: "text-s-regular", color: "contentQuaternary", children: description }) : null
3795
3879
  ] }),
@@ -3807,9 +3891,9 @@ function FileUpload({
3807
3891
  onDragLeave: handleDragLeave,
3808
3892
  onDragOver: handleDragOver,
3809
3893
  onDrop: handleDrop,
3810
- children: variant === "compact" ? /* @__PURE__ */ jsxs19(Inline2, { alignItems: "center", gap: "xs", wrap: true, children: [
3894
+ children: variant === "compact" ? /* @__PURE__ */ jsxs20(Inline2, { alignItems: "center", gap: "xs", wrap: true, children: [
3811
3895
  /* @__PURE__ */ jsx30(UploadCloudIcon, { size: "24", color: "var(--zen-color-content-secondary)" }),
3812
- /* @__PURE__ */ jsxs19(Inline2, { alignItems: "center", gap: "xs", wrap: true, children: [
3896
+ /* @__PURE__ */ jsxs20(Inline2, { alignItems: "center", gap: "xs", wrap: true, children: [
3813
3897
  /* @__PURE__ */ jsx30(Text2, { fontVariant: "text-s-medium", color: "contentSecondary", children: compactDragLabel }),
3814
3898
  /* @__PURE__ */ jsx30(
3815
3899
  "button",
@@ -3825,13 +3909,13 @@ function FileUpload({
3825
3909
  }
3826
3910
  )
3827
3911
  ] })
3828
- ] }) : /* @__PURE__ */ jsxs19(Stack2, { gap: "sm", alignItems: "center", children: [
3912
+ ] }) : /* @__PURE__ */ jsxs20(Stack2, { gap: "sm", alignItems: "center", children: [
3829
3913
  /* @__PURE__ */ jsx30(UploadCloudIcon, { size: "24", color: "var(--zen-color-content-secondary)" }),
3830
- /* @__PURE__ */ jsxs19(Stack2, { gap: "2xs", alignItems: "center", children: [
3914
+ /* @__PURE__ */ jsxs20(Stack2, { gap: "2xs", alignItems: "center", children: [
3831
3915
  /* @__PURE__ */ jsx30(Text2, { fontVariant: "text-s-medium", color: "contentSecondary", children: dragLabel }),
3832
3916
  supportedText ? /* @__PURE__ */ jsx30(Text2, { fontVariant: "text-xs-regular", color: "contentQuaternary", children: supportedText }) : null
3833
3917
  ] }),
3834
- /* @__PURE__ */ jsxs19(Stack2, { gap: "2xs", alignItems: "center", children: [
3918
+ /* @__PURE__ */ jsxs20(Stack2, { gap: "2xs", alignItems: "center", children: [
3835
3919
  /* @__PURE__ */ jsx30(
3836
3920
  Button,
3837
3921
  {
@@ -3850,7 +3934,7 @@ function FileUpload({
3850
3934
  ] })
3851
3935
  }
3852
3936
  ),
3853
- variant === "compact" && (supportedText || maxSizeLabel) ? /* @__PURE__ */ jsxs19(
3937
+ variant === "compact" && (supportedText || maxSizeLabel) ? /* @__PURE__ */ jsxs20(
3854
3938
  Inline2,
3855
3939
  {
3856
3940
  alignItems: "center",
@@ -3867,8 +3951,8 @@ function FileUpload({
3867
3951
  helperText ? /* @__PURE__ */ jsx30(Text2, { fontVariant: "text-s-regular", className: helperTextStyle, children: helperText }) : null,
3868
3952
  resolvedFiles.length ? /* @__PURE__ */ jsx30("div", { className: fileList, children: resolvedFiles.map((file) => {
3869
3953
  const previewLabel = getPreviewLabel(file);
3870
- return /* @__PURE__ */ jsxs19("div", { className: fileItem, children: [
3871
- /* @__PURE__ */ jsxs19("div", { className: fileMeta, children: [
3954
+ return /* @__PURE__ */ jsxs20("div", { className: fileItem, children: [
3955
+ /* @__PURE__ */ jsxs20("div", { className: fileMeta, children: [
3872
3956
  /* @__PURE__ */ jsx30("div", { className: previewBox, children: file.previewUrl ? /* @__PURE__ */ jsx30(
3873
3957
  "img",
3874
3958
  {
@@ -3877,7 +3961,7 @@ function FileUpload({
3877
3961
  className: previewImage
3878
3962
  }
3879
3963
  ) : /* @__PURE__ */ jsx30("span", { className: previewFallback, children: previewLabel }) }),
3880
- /* @__PURE__ */ jsxs19(Stack2, { gap: "2xs", flex: "1", minWidth: "none", children: [
3964
+ /* @__PURE__ */ jsxs20(Stack2, { gap: "2xs", flex: "1", minWidth: "none", children: [
3881
3965
  /* @__PURE__ */ jsx30("span", { className: fileName, children: file.name }),
3882
3966
  file.sizeLabel ? /* @__PURE__ */ jsx30("span", { className: fileSize, children: file.sizeLabel }) : null
3883
3967
  ] })
@@ -3911,7 +3995,7 @@ function FileUpload({
3911
3995
 
3912
3996
  // src/components/Icon/Icon.tsx
3913
3997
  import { forwardRef as forwardRef25 } from "react";
3914
- import { jsx as jsx31, jsxs as jsxs20 } from "react/jsx-runtime";
3998
+ import { jsx as jsx31, jsxs as jsxs21 } from "react/jsx-runtime";
3915
3999
  var Icon2 = forwardRef25(function Icon3({
3916
4000
  title,
3917
4001
  viewBox = "0 0 24 24",
@@ -3920,7 +4004,7 @@ var Icon2 = forwardRef25(function Icon3({
3920
4004
  className,
3921
4005
  ...restProps
3922
4006
  }, ref) {
3923
- return /* @__PURE__ */ jsxs20(
4007
+ return /* @__PURE__ */ jsxs21(
3924
4008
  "svg",
3925
4009
  {
3926
4010
  ref,
@@ -4018,7 +4102,7 @@ function MinusIcon2(props) {
4018
4102
  return /* @__PURE__ */ jsx31(Icon2, { viewBox: "0 0 12 12", ...props, children: /* @__PURE__ */ jsx31("path", { d: "M2.5 6H9.5", stroke: "currentColor", strokeLinecap: "round" }) });
4019
4103
  }
4020
4104
  function SearchIcon(props) {
4021
- return /* @__PURE__ */ jsxs20(Icon2, { viewBox: "0 0 12 12", ...props, children: [
4105
+ return /* @__PURE__ */ jsxs21(Icon2, { viewBox: "0 0 12 12", ...props, children: [
4022
4106
  /* @__PURE__ */ jsx31(
4023
4107
  "path",
4024
4108
  {
@@ -4047,7 +4131,7 @@ function CalendarIcon(props) {
4047
4131
  ) });
4048
4132
  }
4049
4133
  function ClockIcon(props) {
4050
- return /* @__PURE__ */ jsxs20(Icon2, { viewBox: "0 0 20 20", ...props, children: [
4134
+ return /* @__PURE__ */ jsxs21(Icon2, { viewBox: "0 0 20 20", ...props, children: [
4051
4135
  /* @__PURE__ */ jsx31(
4052
4136
  "path",
4053
4137
  {
@@ -4078,7 +4162,7 @@ function UploadCloudIcon2(props) {
4078
4162
  ) });
4079
4163
  }
4080
4164
  function MoreVerticalIcon(props) {
4081
- return /* @__PURE__ */ jsxs20(Icon2, { viewBox: "0 0 12 12", ...props, children: [
4165
+ return /* @__PURE__ */ jsxs21(Icon2, { viewBox: "0 0 12 12", ...props, children: [
4082
4166
  /* @__PURE__ */ jsx31(
4083
4167
  "path",
4084
4168
  {
@@ -4109,7 +4193,7 @@ function MoreVerticalIcon(props) {
4109
4193
  ] });
4110
4194
  }
4111
4195
  function MoreHorizontalIcon(props) {
4112
- return /* @__PURE__ */ jsxs20(Icon2, { viewBox: "0 0 12 12", ...props, children: [
4196
+ return /* @__PURE__ */ jsxs21(Icon2, { viewBox: "0 0 12 12", ...props, children: [
4113
4197
  /* @__PURE__ */ jsx31(
4114
4198
  "path",
4115
4199
  {
@@ -4162,7 +4246,7 @@ function ArrowRightIcon(props) {
4162
4246
  ) });
4163
4247
  }
4164
4248
  function InfoIcon2(props) {
4165
- return /* @__PURE__ */ jsxs20(Icon2, { viewBox: "0 0 20 20", ...props, children: [
4249
+ return /* @__PURE__ */ jsxs21(Icon2, { viewBox: "0 0 20 20", ...props, children: [
4166
4250
  /* @__PURE__ */ jsx31(
4167
4251
  "path",
4168
4252
  {
@@ -4183,7 +4267,7 @@ function InfoIcon2(props) {
4183
4267
  ] });
4184
4268
  }
4185
4269
  function AlertCircleIcon(props) {
4186
- return /* @__PURE__ */ jsxs20(Icon2, { viewBox: "0 0 20 20", ...props, children: [
4270
+ return /* @__PURE__ */ jsxs21(Icon2, { viewBox: "0 0 20 20", ...props, children: [
4187
4271
  /* @__PURE__ */ jsx31(
4188
4272
  "path",
4189
4273
  {
@@ -4204,7 +4288,7 @@ function AlertCircleIcon(props) {
4204
4288
  ] });
4205
4289
  }
4206
4290
  function CheckCircleIcon(props) {
4207
- return /* @__PURE__ */ jsxs20(Icon2, { viewBox: "0 0 20 20", ...props, children: [
4291
+ return /* @__PURE__ */ jsxs21(Icon2, { viewBox: "0 0 20 20", ...props, children: [
4208
4292
  /* @__PURE__ */ jsx31(
4209
4293
  "path",
4210
4294
  {
@@ -4248,7 +4332,7 @@ function EditIcon(props) {
4248
4332
  ) });
4249
4333
  }
4250
4334
  function CopyIcon(props) {
4251
- return /* @__PURE__ */ jsxs20(Icon2, { viewBox: "0 0 12 12", ...props, children: [
4335
+ return /* @__PURE__ */ jsxs21(Icon2, { viewBox: "0 0 12 12", ...props, children: [
4252
4336
  /* @__PURE__ */ jsx31(
4253
4337
  "path",
4254
4338
  {
@@ -4483,7 +4567,7 @@ var parseInputDate = (value) => {
4483
4567
  };
4484
4568
 
4485
4569
  // src/components/DatePicker/CalendarGrid.tsx
4486
- import { Fragment, jsx as jsx34, jsxs as jsxs21 } from "react/jsx-runtime";
4570
+ import { Fragment, jsx as jsx34, jsxs as jsxs22 } from "react/jsx-runtime";
4487
4571
  var CALENDAR_ROWS = 5;
4488
4572
  var CALENDAR_CELLS = CALENDAR_ROWS * 7;
4489
4573
  var useCalendarDays = ({
@@ -4594,7 +4678,7 @@ var CalendarGrid = ({
4594
4678
  if (day.isDisabled || day.isUnavailable) return;
4595
4679
  onDateSelect?.(day.date);
4596
4680
  };
4597
- return /* @__PURE__ */ jsxs21(Fragment, { children: [
4681
+ return /* @__PURE__ */ jsxs22(Fragment, { children: [
4598
4682
  /* @__PURE__ */ jsx34(Box2, { className: calendarWeekdaysRow, children: WEEKDAYS.map((day) => /* @__PURE__ */ jsx34(
4599
4683
  Text2,
4600
4684
  {
@@ -4665,7 +4749,7 @@ var CalendarGrid = ({
4665
4749
  CalendarGrid.displayName = "CalendarGrid";
4666
4750
 
4667
4751
  // src/components/DatePicker/Calendar.tsx
4668
- import { jsx as jsx35, jsxs as jsxs22 } from "react/jsx-runtime";
4752
+ import { jsx as jsx35, jsxs as jsxs23 } from "react/jsx-runtime";
4669
4753
  var Calendar = ({
4670
4754
  month,
4671
4755
  year,
@@ -4684,8 +4768,8 @@ var Calendar = ({
4684
4768
  showOutsideDays = true,
4685
4769
  className
4686
4770
  }) => {
4687
- return /* @__PURE__ */ jsxs22(Box2, { className: cn(calendarContainer, className), children: [
4688
- /* @__PURE__ */ jsxs22(Box2, { className: calendarHeader, children: [
4771
+ return /* @__PURE__ */ jsxs23(Box2, { className: cn(calendarContainer, className), children: [
4772
+ /* @__PURE__ */ jsxs23(Box2, { className: calendarHeader, children: [
4689
4773
  /* @__PURE__ */ jsx35(
4690
4774
  CalendarArrowButton,
4691
4775
  {
@@ -4694,7 +4778,7 @@ var Calendar = ({
4694
4778
  disabled: previousMonthDisabled
4695
4779
  }
4696
4780
  ),
4697
- /* @__PURE__ */ jsxs22(
4781
+ /* @__PURE__ */ jsxs23(
4698
4782
  Text2,
4699
4783
  {
4700
4784
  as: "span",
@@ -4767,7 +4851,7 @@ var timePickerHeader = "timePicker_timePickerHeader__1trbi7d1";
4767
4851
  var timeScrollContainer = "timePicker_timeScrollContainer__1trbi7d5";
4768
4852
 
4769
4853
  // src/components/TimePicker/TimePicker.tsx
4770
- import { Fragment as Fragment2, jsx as jsx36, jsxs as jsxs23 } from "react/jsx-runtime";
4854
+ import { Fragment as Fragment2, jsx as jsx36, jsxs as jsxs24 } from "react/jsx-runtime";
4771
4855
  var DEFAULT_PRESETS = [
4772
4856
  { label: "Now", time: { hours: -1, minutes: -1 } },
4773
4857
  // Special marker for "now"
@@ -4995,7 +5079,7 @@ var TimePicker = forwardRef26(
4995
5079
  const renderTriggerElement = () => {
4996
5080
  if (renderTrigger) return renderTrigger(displayValue || placeholder);
4997
5081
  if (trigger) return trigger;
4998
- return /* @__PURE__ */ jsxs23(
5082
+ return /* @__PURE__ */ jsxs24(
4999
5083
  Box2,
5000
5084
  {
5001
5085
  ref,
@@ -5015,15 +5099,15 @@ var TimePicker = forwardRef26(
5015
5099
  );
5016
5100
  };
5017
5101
  const selectedDisplayHours = selectedTime ? getDisplayHours(selectedTime.hours) : null;
5018
- return /* @__PURE__ */ jsxs23(MenuRoot, { open, onOpenChange: setOpen, children: [
5102
+ return /* @__PURE__ */ jsxs24(MenuRoot, { open, onOpenChange: setOpen, children: [
5019
5103
  /* @__PURE__ */ jsx36(MenuTrigger, { disabled, children: renderTriggerElement() }),
5020
- /* @__PURE__ */ jsx36(MenuContent, { padding: "none", sideOffset: 8, align: "start", children: /* @__PURE__ */ jsxs23(Box2, { className: timePickerContainer, children: [
5021
- /* @__PURE__ */ jsxs23(Box2, { className: timePickerHeader, children: [
5104
+ /* @__PURE__ */ jsx36(MenuContent, { padding: "none", sideOffset: 8, align: "start", children: /* @__PURE__ */ jsxs24(Box2, { className: timePickerContainer, children: [
5105
+ /* @__PURE__ */ jsxs24(Box2, { className: timePickerHeader, children: [
5022
5106
  /* @__PURE__ */ jsx36(Text2, { fontVariant: "text-m-medium", color: "contentPrimary", children: "Select Time" }),
5023
5107
  selectedTime && /* @__PURE__ */ jsx36(Text2, { fontVariant: "text-s-regular", color: "contentBrand", children: displayValue })
5024
5108
  ] }),
5025
- /* @__PURE__ */ jsxs23(Inline2, { gap: "xs", alignItems: "center", children: [
5026
- /* @__PURE__ */ jsxs23(Box2, { className: timeColumn, children: [
5109
+ /* @__PURE__ */ jsxs24(Inline2, { gap: "xs", alignItems: "center", children: [
5110
+ /* @__PURE__ */ jsxs24(Box2, { className: timeColumn, children: [
5027
5111
  /* @__PURE__ */ jsx36("span", { className: columnLabel, children: "Hour" }),
5028
5112
  /* @__PURE__ */ jsx36(Box2, { ref: hoursRef, className: timeScrollContainer, children: hoursArray.map((hour) => {
5029
5113
  const isSelected = selectedDisplayHours === hour;
@@ -5052,7 +5136,7 @@ var TimePicker = forwardRef26(
5052
5136
  }) })
5053
5137
  ] }),
5054
5138
  /* @__PURE__ */ jsx36("span", { className: columnSeparator, children: ":" }),
5055
- /* @__PURE__ */ jsxs23(Box2, { className: timeColumn, children: [
5139
+ /* @__PURE__ */ jsxs24(Box2, { className: timeColumn, children: [
5056
5140
  /* @__PURE__ */ jsx36("span", { className: columnLabel, children: "Min" }),
5057
5141
  /* @__PURE__ */ jsx36(Box2, { ref: minutesRef, className: timeScrollContainer, children: minutesArray.map((minute) => {
5058
5142
  const isSelected = selectedTime?.minutes === minute;
@@ -5082,9 +5166,9 @@ var TimePicker = forwardRef26(
5082
5166
  );
5083
5167
  }) })
5084
5168
  ] }),
5085
- showSeconds && /* @__PURE__ */ jsxs23(Fragment2, { children: [
5169
+ showSeconds && /* @__PURE__ */ jsxs24(Fragment2, { children: [
5086
5170
  /* @__PURE__ */ jsx36("span", { className: columnSeparator, children: ":" }),
5087
- /* @__PURE__ */ jsxs23(Box2, { className: timeColumn, children: [
5171
+ /* @__PURE__ */ jsxs24(Box2, { className: timeColumn, children: [
5088
5172
  /* @__PURE__ */ jsx36("span", { className: columnLabel, children: "Sec" }),
5089
5173
  /* @__PURE__ */ jsx36(
5090
5174
  Box2,
@@ -5112,9 +5196,9 @@ var TimePicker = forwardRef26(
5112
5196
  )
5113
5197
  ] })
5114
5198
  ] }),
5115
- format === "12h" && /* @__PURE__ */ jsxs23(Box2, { className: periodColumn, children: [
5199
+ format === "12h" && /* @__PURE__ */ jsxs24(Box2, { className: periodColumn, children: [
5116
5200
  /* @__PURE__ */ jsx36("span", { className: periodLabel, children: "Period" }),
5117
- /* @__PURE__ */ jsxs23(Stack2, { gap: "xs", children: [
5201
+ /* @__PURE__ */ jsxs24(Stack2, { gap: "xs", children: [
5118
5202
  /* @__PURE__ */ jsx36(
5119
5203
  "button",
5120
5204
  {
@@ -5152,7 +5236,7 @@ var TimePicker = forwardRef26(
5152
5236
  },
5153
5237
  index
5154
5238
  )) }),
5155
- /* @__PURE__ */ jsxs23(Box2, { className: timePickerFooter, children: [
5239
+ /* @__PURE__ */ jsxs24(Box2, { className: timePickerFooter, children: [
5156
5240
  /* @__PURE__ */ jsx36(
5157
5241
  Button,
5158
5242
  {
@@ -5187,7 +5271,7 @@ var segmentText = "dateTimeInput_segmentText__183d6eha";
5187
5271
  var singleInputSegment = "dateTimeInput_singleInputSegment__183d6ehe";
5188
5272
 
5189
5273
  // src/components/DateTimeInput/DateTimeInput.tsx
5190
- import { Fragment as Fragment3, jsx as jsx37, jsxs as jsxs24 } from "react/jsx-runtime";
5274
+ import { Fragment as Fragment3, jsx as jsx37, jsxs as jsxs25 } from "react/jsx-runtime";
5191
5275
  var padZero2 = (num) => num.toString().padStart(2, "0");
5192
5276
  var formatTimeDisplay = (time, format, showSeconds) => {
5193
5277
  if (!time) return "";
@@ -5317,7 +5401,7 @@ var DateTimeInput = forwardRef27(
5317
5401
  return formatTimeDisplay(selectedTime, timeFormat, showSeconds);
5318
5402
  }, [selectedTime, timeFormat, showSeconds]);
5319
5403
  const hasValue = mode === "date" && selectedDate || mode === "time" && selectedTime || mode === "datetime" && (selectedDate || selectedTime);
5320
- const labelElement = label && /* @__PURE__ */ jsxs24(Inline2, { gap: "2xs", style: horizontal ? { padding: "9px 0px" } : void 0, children: [
5404
+ const labelElement = label && /* @__PURE__ */ jsxs25(Inline2, { gap: "2xs", style: horizontal ? { padding: "9px 0px" } : void 0, children: [
5321
5405
  /* @__PURE__ */ jsx37(
5322
5406
  Text2,
5323
5407
  {
@@ -5330,8 +5414,8 @@ var DateTimeInput = forwardRef27(
5330
5414
  ),
5331
5415
  mandatory && /* @__PURE__ */ jsx37(Text2, { fontVariant: "text-m-regular", color: "contentTertiary", as: "span", children: "*" })
5332
5416
  ] });
5333
- const renderDateSegment = (withSeparator = false) => /* @__PURE__ */ jsxs24(MenuRoot, { open: dateOpen, onOpenChange: setDateOpen, children: [
5334
- /* @__PURE__ */ jsx37(MenuTrigger, { disabled, children: /* @__PURE__ */ jsxs24(
5417
+ const renderDateSegment = (withSeparator = false) => /* @__PURE__ */ jsxs25(MenuRoot, { open: dateOpen, onOpenChange: setDateOpen, children: [
5418
+ /* @__PURE__ */ jsx37(MenuTrigger, { disabled, children: /* @__PURE__ */ jsxs25(
5335
5419
  Box2,
5336
5420
  {
5337
5421
  className: withSeparator ? dateTimeSegmentWithSeparator : singleInputSegment,
@@ -5345,7 +5429,7 @@ var DateTimeInput = forwardRef27(
5345
5429
  ]
5346
5430
  }
5347
5431
  ) }),
5348
- /* @__PURE__ */ jsx37(MenuContent, { padding: "none", sideOffset: 8, align: "start", children: /* @__PURE__ */ jsxs24(Stack2, { padding: "md", gap: "md", children: [
5432
+ /* @__PURE__ */ jsx37(MenuContent, { padding: "none", sideOffset: 8, align: "start", children: /* @__PURE__ */ jsxs25(Stack2, { padding: "md", gap: "md", children: [
5349
5433
  /* @__PURE__ */ jsx37(Text2, { fontVariant: "text-m-medium", color: "contentPrimary", children: "Select Date" }),
5350
5434
  /* @__PURE__ */ jsx37(
5351
5435
  Calendar,
@@ -5363,8 +5447,8 @@ var DateTimeInput = forwardRef27(
5363
5447
  )
5364
5448
  ] }) })
5365
5449
  ] });
5366
- const renderTimeSegment = () => /* @__PURE__ */ jsxs24(MenuRoot, { open: timeOpen, onOpenChange: setTimeOpen, children: [
5367
- /* @__PURE__ */ jsx37(MenuTrigger, { disabled, children: /* @__PURE__ */ jsxs24(
5450
+ const renderTimeSegment = () => /* @__PURE__ */ jsxs25(MenuRoot, { open: timeOpen, onOpenChange: setTimeOpen, children: [
5451
+ /* @__PURE__ */ jsx37(MenuTrigger, { disabled, children: /* @__PURE__ */ jsxs25(
5368
5452
  Box2,
5369
5453
  {
5370
5454
  className: singleInputSegment,
@@ -5392,8 +5476,8 @@ var DateTimeInput = forwardRef27(
5392
5476
  }
5393
5477
  ) })
5394
5478
  ] });
5395
- const inputElement2 = /* @__PURE__ */ jsxs24(Box2, { className: inputWrapper2, children: [
5396
- /* @__PURE__ */ jsxs24(
5479
+ const inputElement2 = /* @__PURE__ */ jsxs25(Box2, { className: inputWrapper2, children: [
5480
+ /* @__PURE__ */ jsxs25(
5397
5481
  Box2,
5398
5482
  {
5399
5483
  ref,
@@ -5404,7 +5488,7 @@ var DateTimeInput = forwardRef27(
5404
5488
  children: [
5405
5489
  mode === "date" && renderDateSegment(false),
5406
5490
  mode === "time" && renderTimeSegment(),
5407
- mode === "datetime" && /* @__PURE__ */ jsxs24(Fragment3, { children: [
5491
+ mode === "datetime" && /* @__PURE__ */ jsxs25(Fragment3, { children: [
5408
5492
  renderDateSegment(true),
5409
5493
  renderTimeSegment()
5410
5494
  ] }),
@@ -5432,7 +5516,7 @@ var DateTimeInput = forwardRef27(
5432
5516
  }
5433
5517
  )
5434
5518
  ] });
5435
- return /* @__PURE__ */ jsxs24(
5519
+ return /* @__PURE__ */ jsxs25(
5436
5520
  Box2,
5437
5521
  {
5438
5522
  className: dateTimeInputContainer({
@@ -5515,10 +5599,10 @@ var TimePickerContent = ({
5515
5599
  }
5516
5600
  };
5517
5601
  const selectedDisplayHours = selectedTime ? getDisplayHours(selectedTime.hours) : null;
5518
- return /* @__PURE__ */ jsxs24(Box2, { className: timePickerContainer, children: [
5602
+ return /* @__PURE__ */ jsxs25(Box2, { className: timePickerContainer, children: [
5519
5603
  /* @__PURE__ */ jsx37(Box2, { className: timePickerHeader, children: /* @__PURE__ */ jsx37(Text2, { fontVariant: "text-m-medium", color: "contentPrimary", children: "Select Time" }) }),
5520
- /* @__PURE__ */ jsxs24(Inline2, { gap: "xs", alignItems: "start", children: [
5521
- /* @__PURE__ */ jsxs24(Box2, { className: timeColumn, children: [
5604
+ /* @__PURE__ */ jsxs25(Inline2, { gap: "xs", alignItems: "start", children: [
5605
+ /* @__PURE__ */ jsxs25(Box2, { className: timeColumn, children: [
5522
5606
  /* @__PURE__ */ jsx37("span", { className: columnLabel, children: "Hour" }),
5523
5607
  /* @__PURE__ */ jsx37(Box2, { className: timeScrollContainer, children: hoursArray.map((hour) => /* @__PURE__ */ jsx37(
5524
5608
  "button",
@@ -5535,7 +5619,7 @@ var TimePickerContent = ({
5535
5619
  )) })
5536
5620
  ] }),
5537
5621
  /* @__PURE__ */ jsx37("span", { className: columnSeparator, children: ":" }),
5538
- /* @__PURE__ */ jsxs24(Box2, { className: timeColumn, children: [
5622
+ /* @__PURE__ */ jsxs25(Box2, { className: timeColumn, children: [
5539
5623
  /* @__PURE__ */ jsx37("span", { className: columnLabel, children: "Min" }),
5540
5624
  /* @__PURE__ */ jsx37(Box2, { className: timeScrollContainer, children: minutesArray.map((minute) => /* @__PURE__ */ jsx37(
5541
5625
  "button",
@@ -5551,9 +5635,9 @@ var TimePickerContent = ({
5551
5635
  minute
5552
5636
  )) })
5553
5637
  ] }),
5554
- showSeconds && /* @__PURE__ */ jsxs24(Fragment3, { children: [
5638
+ showSeconds && /* @__PURE__ */ jsxs25(Fragment3, { children: [
5555
5639
  /* @__PURE__ */ jsx37("span", { className: columnSeparator, children: ":" }),
5556
- /* @__PURE__ */ jsxs24(Box2, { className: timeColumn, children: [
5640
+ /* @__PURE__ */ jsxs25(Box2, { className: timeColumn, children: [
5557
5641
  /* @__PURE__ */ jsx37("span", { className: columnLabel, children: "Sec" }),
5558
5642
  /* @__PURE__ */ jsx37(Box2, { className: timeScrollContainer, children: secondsArray.map((second) => /* @__PURE__ */ jsx37(
5559
5643
  "button",
@@ -5570,9 +5654,9 @@ var TimePickerContent = ({
5570
5654
  )) })
5571
5655
  ] })
5572
5656
  ] }),
5573
- format === "12h" && /* @__PURE__ */ jsxs24(Box2, { className: periodColumn, children: [
5657
+ format === "12h" && /* @__PURE__ */ jsxs25(Box2, { className: periodColumn, children: [
5574
5658
  /* @__PURE__ */ jsx37("span", { className: periodLabel, children: "Period" }),
5575
- /* @__PURE__ */ jsxs24(Stack2, { gap: "xs", children: [
5659
+ /* @__PURE__ */ jsxs25(Stack2, { gap: "xs", children: [
5576
5660
  /* @__PURE__ */ jsx37(
5577
5661
  "button",
5578
5662
  {
@@ -5594,7 +5678,7 @@ var TimePickerContent = ({
5594
5678
  ] })
5595
5679
  ] })
5596
5680
  ] }),
5597
- /* @__PURE__ */ jsxs24(Box2, { className: timePickerFooter, children: [
5681
+ /* @__PURE__ */ jsxs25(Box2, { className: timePickerFooter, children: [
5598
5682
  /* @__PURE__ */ jsx37(Button, { variant: "ghost", destructive: true, size: "md", onClick: onClear, children: "Cancel" }),
5599
5683
  /* @__PURE__ */ jsx37(Button, { size: "md", onClick: () => onApply(selectedTime), disabled: !selectedTime, children: "Apply" })
5600
5684
  ] })