@konstructio/ui 0.1.2-alpha.119 → 0.1.2-alpha.120

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.
Files changed (135) hide show
  1. package/dist/Breadcrumb-DDRmDlWK.js +93 -0
  2. package/dist/{Checkbox-DRdyrKjk.js → Checkbox-DrounE52.js} +2 -2
  3. package/dist/{CollapsedSteps-CR7oCTRC.js → CollapsedSteps-DvBeYShi.js} +3 -3
  4. package/dist/{CommandInput-Du2o616y.js → CommandInput-_vujzQ6B.js} +2 -2
  5. package/dist/{Counter-DMkXIsOO.js → Counter-LQ5_uh06.js} +2 -2
  6. package/dist/{DayPicker-BtpJg2q3.js → DayPicker-D7KFB2bI.js} +383 -383
  7. package/dist/DropdownButton-BWfWN4fg.js +121 -0
  8. package/dist/{HamburgerTrigger-BgeS_nBA.js → HamburgerTrigger-CfrAnhmG.js} +10 -10
  9. package/dist/{Input-2M2I_H60.js → Input-O2bqyJKW.js} +2 -2
  10. package/dist/Modal-B-l4ii6w.js +84 -0
  11. package/dist/{Wrapper-JmStmade.js → Wrapper-B5PmrW4J.js} +3 -3
  12. package/dist/{Wrapper-ThpRi_Gg.js → Wrapper-CZCSSCLm.js} +2 -2
  13. package/dist/components/Alert/Alert.js +1 -1
  14. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  15. package/dist/components/Breadcrumb/components/CollapsedSteps/CollapsedSteps.js +1 -1
  16. package/dist/components/Breadcrumb/components/index.js +1 -1
  17. package/dist/components/Button/Button.variants.js +1 -0
  18. package/dist/components/Checkbox/Checkbox.js +1 -1
  19. package/dist/components/CheckboxCard/CheckboxCard.js +1 -1
  20. package/dist/components/Command/components/CommandInput.js +1 -1
  21. package/dist/components/Command/components/DialogContent.js +1 -1
  22. package/dist/components/Command/components/index.js +1 -1
  23. package/dist/components/ConfirmDialog/ConfirmDialog.js +7 -5
  24. package/dist/components/CopyButton/CopyButton.variants.js +3 -1
  25. package/dist/components/Counter/Counter.js +1 -1
  26. package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/components/CalendarMonthContent/CalendarMonthContent.js +1 -1
  27. package/dist/components/DateRangePicker/components/DateTimeInputs/components/EndInputFields/EndInputFields.js +1 -1
  28. package/dist/components/DateRangePicker/components/DateTimeInputs/components/StartInputFields/StartInputFields.js +1 -1
  29. package/dist/components/Datepicker/components/DatePickerContent/DatePickerContent.js +1 -1
  30. package/dist/components/Drawer/Drawer.js +78 -58
  31. package/dist/components/Drawer/Drawer.variants.js +40 -22
  32. package/dist/components/Drawer/components/Footer/Footer.js +5 -5
  33. package/dist/components/Drawer/constants/index.js +5 -4
  34. package/dist/components/DropdownButton/DropdownButton.js +1 -1
  35. package/dist/components/DropdownButton/components/ActionSheet/ActionSheet.js +34 -0
  36. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +1 -1
  37. package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.js +1 -1
  38. package/dist/components/Filter/utils/index.js +2 -2
  39. package/dist/components/Input/Input.js +1 -1
  40. package/dist/components/Input/Input.variants.js +1 -0
  41. package/dist/components/LineChart/components/LineChartContent/LineChartContent.js +1 -1
  42. package/dist/components/Modal/Modal.js +1 -1
  43. package/dist/components/Modal/components/Wrapper/Wrapper.js +1 -1
  44. package/dist/components/Modal/components/Wrapper/Wrapper.variants.js +12 -6
  45. package/dist/components/Modal/components/index.js +1 -1
  46. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +1 -1
  47. package/dist/components/MultiSelectDropdown/components/List/List.js +1 -1
  48. package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +1 -1
  49. package/dist/components/MultiSelectDropdown/components/index.js +1 -1
  50. package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +1 -1
  51. package/dist/components/PhoneNumberInput/components/PhoneNumberInputContent.js +2 -2
  52. package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +2 -2
  53. package/dist/components/PhoneNumberInput/components/Wrapper.js +1 -1
  54. package/dist/components/PhoneNumberInput/components/index.js +1 -1
  55. package/dist/components/PhoneNumberInput/contexts/index.js +1 -1
  56. package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +1 -1
  57. package/dist/components/PhoneNumberInput/utils/index.js +1 -1
  58. package/dist/components/PieChart/components/PieChartContent/PieChartContent.js +1 -1
  59. package/dist/components/Select/Select.variants.js +2 -0
  60. package/dist/components/Select/components/List/List.js +2 -2
  61. package/dist/components/Sheet/Sheet.js +130 -0
  62. package/dist/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.js +1 -1
  63. package/dist/components/Sidebar/components/Wrapper/Wrapper.js +103 -86
  64. package/dist/components/Sidebar/components/index.js +1 -1
  65. package/dist/components/Table/components/Filter.js +1 -1
  66. package/dist/components/Tabs/components/Trigger.js +13 -13
  67. package/dist/components/TagSelect/TagSelect.js +1 -1
  68. package/dist/components/TagSelect/components/Wrapper/Wrapper.js +1 -1
  69. package/dist/components/TagSelect/components/index.js +1 -1
  70. package/dist/components/TextArea/TextArea.variants.js +1 -0
  71. package/dist/components/VirtualizedTable/components/Actions/components/ActionsTrigger/ActionsTrigger.js +7 -7
  72. package/dist/components/VirtualizedTable/components/Body/Body.js +47 -44
  73. package/dist/components/VirtualizedTable/components/Filter/Filter.js +68 -68
  74. package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +1 -1
  75. package/dist/components/VirtualizedTable/components/Header/Header.js +38 -31
  76. package/dist/components/VirtualizedTable/components/ScrollContainer/ScrollContainer.js +75 -0
  77. package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +42 -35
  78. package/dist/components/VirtualizedTable/components/VirtualizedTableContent/VirtualizedTableContent.js +72 -72
  79. package/dist/components/VirtualizedTable/components/index.js +14 -12
  80. package/dist/components/VirtualizedTable/constants/index.js +5 -3
  81. package/dist/components/VirtualizedTable/constants/responsive.js +10 -0
  82. package/dist/components/VirtualizedTable/contexts/index.js +1 -1
  83. package/dist/components/VirtualizedTable/contexts/table.context.js +4 -0
  84. package/dist/components/VirtualizedTable/contexts/table.provider.js +1 -1
  85. package/dist/components/VirtualizedTable/utils/index.js +8 -4
  86. package/dist/components/VirtualizedTable/utils/pinned-columns/index.js +6 -0
  87. package/dist/components/VirtualizedTable/utils/pinned-columns/pinned-columns.js +32 -0
  88. package/dist/components/index.js +147 -145
  89. package/dist/{components-B_SWqhCL.js → components-Bq71eyUH.js} +1 -1
  90. package/dist/{country-locale-map-DbrJ3bEE.js → country-locale-map-BQYYErun.js} +1407 -1407
  91. package/dist/{debounce-dMRJxNsT.js → debounce-DhCY9mXz.js} +2 -2
  92. package/dist/{dist-Dg3vyTx9.js → dist-BCqfbYE9.js} +1356 -1317
  93. package/dist/dist-CMqY_9n-.js +445 -0
  94. package/dist/{es2015-B_07N-UL.js → es2015-BvX7Yq5Q.js} +2 -2
  95. package/dist/index.js +158 -156
  96. package/dist/{isSymbol-BG9higgO.js → isSymbol-CcfkyZfq.js} +1 -1
  97. package/dist/lib/components/Drawer/Drawer.types.d.ts +10 -0
  98. package/dist/lib/components/Drawer/Drawer.variants.d.ts +1 -0
  99. package/dist/lib/components/Drawer/constants/index.d.ts +1 -0
  100. package/dist/lib/components/DropdownButton/DropdownButton.d.ts +2 -1
  101. package/dist/lib/components/DropdownButton/DropdownButton.types.d.ts +25 -0
  102. package/dist/lib/components/DropdownButton/components/ActionSheet/ActionSheet.d.ts +7 -0
  103. package/dist/lib/components/DropdownButton/components/ActionSheet/ActionSheet.types.d.ts +12 -0
  104. package/dist/lib/components/Modal/Modal.types.d.ts +2 -0
  105. package/dist/lib/components/Modal/components/Wrapper/Wrapper.types.d.ts +1 -0
  106. package/dist/lib/components/Sheet/Sheet.d.ts +21 -0
  107. package/dist/lib/components/Sheet/Sheet.types.d.ts +39 -0
  108. package/dist/lib/components/Sidebar/Sidebar.types.d.ts +9 -0
  109. package/dist/lib/components/VirtualizedTable/VirtualizedTable.types.d.ts +11 -2
  110. package/dist/lib/components/VirtualizedTable/components/ScrollContainer/ScrollContainer.d.ts +10 -0
  111. package/dist/lib/components/VirtualizedTable/components/ScrollContainer/ScrollContainer.types.d.ts +6 -0
  112. package/dist/lib/components/VirtualizedTable/components/VirtualizedTableContent/VirtualizedTableContent.d.ts +1 -1
  113. package/dist/lib/components/VirtualizedTable/components/index.d.ts +1 -0
  114. package/dist/lib/components/VirtualizedTable/constants/index.d.ts +1 -0
  115. package/dist/lib/components/VirtualizedTable/constants/responsive.d.ts +2 -0
  116. package/dist/lib/components/VirtualizedTable/contexts/table.context.d.ts +4 -0
  117. package/dist/lib/components/VirtualizedTable/contexts/table.provider.d.ts +1 -1
  118. package/dist/lib/components/VirtualizedTable/contexts/table.types.d.ts +2 -1
  119. package/dist/lib/components/VirtualizedTable/utils/index.d.ts +1 -0
  120. package/dist/lib/components/VirtualizedTable/utils/pinned-columns/index.d.ts +1 -0
  121. package/dist/lib/components/VirtualizedTable/utils/pinned-columns/pinned-columns.d.ts +23 -0
  122. package/dist/lib/components/index.d.ts +3 -1
  123. package/dist/{libphonenumber-DtibHRPP.js → libphonenumber-BIeQOhzl.js} +196 -164
  124. package/dist/package.json +18 -18
  125. package/dist/{phone-number.provider-DnuL-yYF.js → phone-number.provider-CJeivoDY.js} +2 -2
  126. package/dist/{prop-types-BCUW56rg.js → prop-types-qsAjMBb1.js} +1 -1
  127. package/dist/{rolldown-runtime-Dw9YIBcH.js → rolldown-runtime-B28h4lGi.js} +6 -6
  128. package/dist/styles.css +1 -1
  129. package/dist/{table.provider-CzfMGbe4.js → table.provider-QUo2buYX.js} +561 -523
  130. package/dist/{x-Vur_9PXW.js → x-BmNOD9Gr.js} +2 -2
  131. package/package.json +18 -18
  132. package/dist/Breadcrumb-CpXRb08J.js +0 -93
  133. package/dist/DropdownButton-JilCRLJY.js +0 -92
  134. package/dist/Modal-0Wp5szX4.js +0 -84
  135. package/dist/dist-BCoDIdCt.js +0 -429
@@ -1,5 +1,5 @@
1
- import { t } from "../../dist-B9GE4SXf.js";
2
- var a = t([
1
+ import { t as r } from "../../dist-B9GE4SXf.js";
2
+ var e = r([
3
3
  "bg-white",
4
4
  "dark:bg-metal-900",
5
5
  "duration-300",
@@ -14,30 +14,48 @@ var a = t([
14
14
  "transition-transform",
15
15
  "z-50"
16
16
  ], {
17
- variants: { position: {
18
- left: [
19
- "left-0",
20
- "border-r",
21
- "border-slate-200",
22
- "dark:border-metal-700"
23
- ],
24
- right: [
25
- "right-0",
26
- "border-l",
27
- "border-slate-200",
28
- "dark:border-metal-700"
29
- ]
30
- } },
31
- defaultVariants: { position: "right" }
32
- }), e = t([
17
+ variants: {
18
+ fullScreenOnMobile: {
19
+ true: ["max-md:w-full!", "max-md:border-0"],
20
+ false: ""
21
+ },
22
+ position: {
23
+ left: [
24
+ "left-0",
25
+ "border-r",
26
+ "border-slate-200",
27
+ "dark:border-metal-700"
28
+ ],
29
+ right: [
30
+ "right-0",
31
+ "border-l",
32
+ "border-slate-200",
33
+ "dark:border-metal-700"
34
+ ]
35
+ }
36
+ },
37
+ defaultVariants: {
38
+ position: "right",
39
+ fullScreenOnMobile: !0
40
+ }
41
+ }), a = r([
33
42
  "fixed",
34
43
  "inset-0",
35
44
  "z-40",
36
45
  "bg-black",
37
46
  "transition-opacity",
38
47
  "duration-300"
39
- ]), o = t([
48
+ ]), o = r([
40
49
  "absolute",
50
+ "rounded",
51
+ "outline-none",
52
+ "focus-visible:ring-1",
53
+ "focus-visible:ring-aurora-500",
54
+ "flex",
55
+ "items-center",
56
+ "justify-center",
57
+ "pointer-coarse:min-h-11",
58
+ "pointer-coarse:min-w-11",
41
59
  "right-3",
42
60
  "top-3",
43
61
  "cursor-pointer",
@@ -47,7 +65,7 @@ var a = t([
47
65
  "dark:hover:text-metal-300",
48
66
  "transition-colors",
49
67
  "z-10"
50
- ]), i = t([
68
+ ]), i = r([
51
69
  "absolute",
52
70
  "bg-slate-200",
53
71
  "dark:bg-metal-700",
@@ -72,7 +90,7 @@ var a = t([
72
90
  });
73
91
  export {
74
92
  o as buttonCloseVariants,
75
- a as drawerVariants,
76
- e as overlayVariants,
93
+ e as drawerVariants,
94
+ a as overlayVariants,
77
95
  i as resizeHandleVariants
78
96
  };
@@ -1,11 +1,11 @@
1
1
  import { t } from "../../../../utils-DnIJruo0.js";
2
- import { useDrawerContext as m } from "../../contexts/Drawer.context.js";
3
- import { memo as a } from "react";
2
+ import { useDrawerContext as a } from "../../contexts/Drawer.context.js";
3
+ import { memo as m } from "react";
4
4
  import { jsx as s } from "react/jsx-runtime";
5
- var i = a(({ children: r, className: o }) => {
6
- const { classNames: e } = m();
5
+ var i = m(({ children: r, className: e }) => {
6
+ const { classNames: o } = a();
7
7
  return /* @__PURE__ */ s("div", {
8
- className: t("flex-shrink-0", "border-t", "border-slate-200", "dark:border-metal-700", "p-4", e?.footer, o),
8
+ className: t("flex-shrink-0", "border-t", "border-slate-200", "dark:border-metal-700", "p-4", "max-md:pb-[calc(1rem+env(safe-area-inset-bottom))]", o?.footer, e),
9
9
  children: r
10
10
  });
11
11
  });
@@ -1,9 +1,10 @@
1
- var A = 500, _ = 400, I = 800, T = 10, D = 300, E = 20;
1
+ var _ = 500, A = 400, I = 800, T = 10, D = 300, E = 20, r = 60;
2
2
  export {
3
3
  T as ANIMATION_DELAY_MS,
4
4
  D as ANIMATION_DURATION_MS,
5
5
  I as DEFAULT_MAX_WIDTH,
6
- _ as DEFAULT_MIN_WIDTH,
7
- A as DEFAULT_WIDTH,
8
- E as KEYBOARD_RESIZE_STEP
6
+ A as DEFAULT_MIN_WIDTH,
7
+ _ as DEFAULT_WIDTH,
8
+ E as KEYBOARD_RESIZE_STEP,
9
+ r as SWIPE_THRESHOLD
9
10
  };
@@ -1,4 +1,4 @@
1
- import { t } from "../../DropdownButton-JilCRLJY.js";
1
+ import { t } from "../../DropdownButton-BWfWN4fg.js";
2
2
  export {
3
3
  t as DropdownButton
4
4
  };
@@ -0,0 +1,34 @@
1
+ import { t as o } from "../../../../utils-DnIJruo0.js";
2
+ import { Sheet as x } from "../../../Sheet/Sheet.js";
3
+ import { Fragment as h } from "react";
4
+ import { jsx as a, jsxs as l } from "react/jsx-runtime";
5
+ var g = ({ isOpen: r, onClose: t, title: d, options: i, itemClassName: m, position: b = "bottom", theme: n }) => /* @__PURE__ */ a(x, {
6
+ isOpen: r,
7
+ onClose: t,
8
+ title: d,
9
+ position: b,
10
+ theme: n,
11
+ className: "px-4",
12
+ bodyClassName: "overflow-visible",
13
+ children: /* @__PURE__ */ a("div", {
14
+ className: "flex flex-col",
15
+ children: i.map((e, c) => {
16
+ const s = e.disabled || !!e.disabledReason;
17
+ return /* @__PURE__ */ l(h, { children: [e.separator && /* @__PURE__ */ a("hr", { className: "-mx-4 my-2 border-slate-200 dark:border-metal-700" }), /* @__PURE__ */ l("button", {
18
+ type: "button",
19
+ disabled: s,
20
+ className: o("flex min-h-11 w-full items-center justify-between gap-4 rounded px-2 text-left text-base", "hover:bg-slate-50 focus-visible:bg-slate-50 dark:hover:bg-metal-700 dark:focus-visible:bg-metal-700", "outline-none disabled:cursor-not-allowed disabled:hover:bg-transparent", e.destructive && "text-red-600 dark:text-red-400", s && "text-slate-400 dark:text-metal-400", m),
21
+ onClick: () => {
22
+ e.onClick?.(), t();
23
+ },
24
+ children: [/* @__PURE__ */ a("span", { children: e.label }), e.disabledReason && /* @__PURE__ */ a("span", {
25
+ className: "shrink-0 text-xs text-slate-400 dark:text-metal-400",
26
+ children: e.disabledReason
27
+ })]
28
+ })] }, c);
29
+ })
30
+ })
31
+ });
32
+ export {
33
+ g as ActionSheet
34
+ };
@@ -1,4 +1,4 @@
1
- import { t as o } from "../../../../Checkbox-DRdyrKjk.js";
1
+ import { t as o } from "../../../../Checkbox-DrounE52.js";
2
2
  import { t as c } from "../../../../utils-DnIJruo0.js";
3
3
  import { Button as m } from "../../../Button/Button.js";
4
4
  import { t as O } from "../../../../chevron-down-BODx0Q7h.js";
@@ -1,4 +1,4 @@
1
- import { t as d } from "../../../../Checkbox-DRdyrKjk.js";
1
+ import { t as d } from "../../../../Checkbox-DrounE52.js";
2
2
  import { t as s } from "../../../../utils-DnIJruo0.js";
3
3
  import { Button as m } from "../../../Button/Button.js";
4
4
  import { t as y } from "../../../../chevron-down-BODx0Q7h.js";
@@ -1,5 +1,5 @@
1
- import { o as t } from "../../../rolldown-runtime-Dw9YIBcH.js";
2
- var l = "en-US", r, e, p = () => (e || (e = import("../../../country-locale-map-DbrJ3bEE.js").then((a) => /* @__PURE__ */ t(a.default, 1)).then((a) => {
1
+ import { o as t } from "../../../rolldown-runtime-B28h4lGi.js";
2
+ var l = "en-US", r, e, p = () => (e || (e = import("../../../country-locale-map-BQYYErun.js").then((a) => /* @__PURE__ */ t(a.default, 1)).then((a) => {
3
3
  r = a.default;
4
4
  })), e), u = (a = "US") => r?.getCountryByAlpha2(a)?.default_locale?.replace("_", "-") ?? l;
5
5
  export {
@@ -1,4 +1,4 @@
1
- import { t as o } from "../../Input-2M2I_H60.js";
1
+ import { t as o } from "../../Input-O2bqyJKW.js";
2
2
  export {
3
3
  o as Input
4
4
  };
@@ -16,6 +16,7 @@ var r = e([
16
16
  "rounded",
17
17
  "text-slate-800",
18
18
  "text-sm",
19
+ "max-md:text-base",
19
20
  "transition-all",
20
21
  "w-full",
21
22
  "disabled:bg-gray-50",
@@ -1,6 +1,6 @@
1
1
  import { a as l, t as _ } from "../../../../utils-DnIJruo0.js";
2
2
  import { Typography as z } from "../../../Typography/Typography.js";
3
- import { a as P, c as j, d as D, i as E, l as F, n as H, o as N, s as O, u as M } from "../../../../dist-Dg3vyTx9.js";
3
+ import { a as P, c as j, d as D, i as E, l as F, n as H, o as N, s as O, u as M } from "../../../../dist-BCqfbYE9.js";
4
4
  import { useMemo as h } from "react";
5
5
  import { jsx as p, jsxs as V } from "react/jsx-runtime";
6
6
  P.register(E, F, M, O, N, j, D);
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t } from "../../Modal-0Wp5szX4.js";
2
+ import { t } from "../../Modal-B-l4ii6w.js";
3
3
  export {
4
4
  t as Modal
5
5
  };
@@ -1,4 +1,4 @@
1
- import { n as p } from "../../../../Modal-0Wp5szX4.js";
1
+ import { n as p } from "../../../../Modal-B-l4ii6w.js";
2
2
  export {
3
3
  p as Wrapper
4
4
  };
@@ -1,5 +1,5 @@
1
- import { t } from "../../../../dist-B9GE4SXf.js";
2
- var a = t([
1
+ import { t as e } from "../../../../dist-B9GE4SXf.js";
2
+ var r = e([
3
3
  "bg-white",
4
4
  "border",
5
5
  "border-transparent",
@@ -9,7 +9,8 @@ var a = t([
9
9
  "flex-col",
10
10
  "justify-between",
11
11
  "min-h-112.5",
12
- "min-w-125",
12
+ "min-w-[min(31.25rem,100%)]",
13
+ "max-w-full",
13
14
  "relative",
14
15
  "rounded-md",
15
16
  "shadow-xs",
@@ -17,8 +18,13 @@ var a = t([
17
18
  "fade-in-0",
18
19
  "zoom-in-95",
19
20
  "duration-150"
20
- ]), r = t([
21
+ ]), a = e([
21
22
  "absolute",
23
+ "flex",
24
+ "items-center",
25
+ "justify-center",
26
+ "pointer-coarse:min-h-11",
27
+ "pointer-coarse:min-w-11",
22
28
  "right-1.5",
23
29
  "top-1.5",
24
30
  "cursor-pointer",
@@ -28,6 +34,6 @@ var a = t([
28
34
  "dark:hover:text-slate-100"
29
35
  ]);
30
36
  export {
31
- r as buttonCloseVariants,
32
- a as modalVariants
37
+ a as buttonCloseVariants,
38
+ r as modalVariants
33
39
  };
@@ -1,7 +1,7 @@
1
1
  import { Body as o } from "./Body/Body.js";
2
2
  import { Footer as p } from "./Footer/Footer.js";
3
3
  import { Header as e } from "./Header/Header.js";
4
- import { n as i } from "../../../Modal-0Wp5szX4.js";
4
+ import { n as i } from "../../../Modal-B-l4ii6w.js";
5
5
  export {
6
6
  o as Body,
7
7
  p as Footer,
@@ -1,4 +1,4 @@
1
- import { t } from "../../components-B_SWqhCL.js";
1
+ import { t } from "../../components-Bq71eyUH.js";
2
2
  export {
3
3
  t as MultiSelectDropdown
4
4
  };
@@ -1,4 +1,4 @@
1
- import { r as o } from "../../../../components-B_SWqhCL.js";
1
+ import { r as o } from "../../../../components-Bq71eyUH.js";
2
2
  export {
3
3
  o as List
4
4
  };
@@ -1,4 +1,4 @@
1
- import { n as p } from "../../../../components-B_SWqhCL.js";
1
+ import { n as p } from "../../../../components-Bq71eyUH.js";
2
2
  export {
3
3
  p as Wrapper
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { Item as m } from "./Item/Item.js";
2
- import { n as p, r as t } from "../../../components-B_SWqhCL.js";
2
+ import { n as p, r as t } from "../../../components-Bq71eyUH.js";
3
3
  export {
4
4
  m as Item,
5
5
  t as List,
@@ -1,4 +1,4 @@
1
- import { t as i } from "../../../../Input-2M2I_H60.js";
1
+ import { t as i } from "../../../../Input-O2bqyJKW.js";
2
2
  import { t as c } from "../../../../utils-DnIJruo0.js";
3
3
  import { usePhoneNumberContext as d } from "../../contexts/phone-number.hook.js";
4
4
  import { t as p } from "../../../../FlagSelectorList-iZ3gUVpf.js";
@@ -1,5 +1,5 @@
1
- import { t as m } from "../../../phone-number.provider-DnuL-yYF.js";
2
- import { t as n } from "../../../Wrapper-ThpRi_Gg.js";
1
+ import { t as m } from "../../../phone-number.provider-CJeivoDY.js";
2
+ import { t as n } from "../../../Wrapper-CZCSSCLm.js";
3
3
  import { forwardRef as p } from "react";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  var a = p(({ defaultCountryCode: o = "US", ...e }, t) => /* @__PURE__ */ r(m, {
@@ -1,6 +1,6 @@
1
- import { o as f } from "../../../../rolldown-runtime-Dw9YIBcH.js";
1
+ import { o as f } from "../../../../rolldown-runtime-B28h4lGi.js";
2
2
  import { a as u, o as b, r as m, t as p } from "../../../../dist-vUCyiTQy.js";
3
- import { t as h } from "../../../../debounce-dMRJxNsT.js";
3
+ import { t as h } from "../../../../debounce-DhCY9mXz.js";
4
4
  import { useCallback as T, useEffect as i, useRef as w, useState as g } from "react";
5
5
  import { jsx as s, jsxs as a } from "react/jsx-runtime";
6
6
  var v = /* @__PURE__ */ f(h(), 1), R = ({ text: r, prefix: o }) => {
@@ -1,4 +1,4 @@
1
- import { t as p } from "../../../Wrapper-ThpRi_Gg.js";
1
+ import { t as p } from "../../../Wrapper-CZCSSCLm.js";
2
2
  export {
3
3
  p as Wrapper
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { t } from "../../../FlagSelectorList-iZ3gUVpf.js";
2
- import { t as p } from "../../../Wrapper-ThpRi_Gg.js";
2
+ import { t as p } from "../../../Wrapper-CZCSSCLm.js";
3
3
  export {
4
4
  t as FlagSelectorList,
5
5
  p as Wrapper
@@ -1,4 +1,4 @@
1
- import { t as r } from "../../../phone-number.provider-DnuL-yYF.js";
1
+ import { t as r } from "../../../phone-number.provider-CJeivoDY.js";
2
2
  import { PhoneNumberContext as m } from "./phone-number.context.js";
3
3
  import { usePhoneNumberContext as n } from "./phone-number.hook.js";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { t as o } from "../../../phone-number.provider-DnuL-yYF.js";
1
+ import { t as o } from "../../../phone-number.provider-CJeivoDY.js";
2
2
  export {
3
3
  o as PhoneNumberProvider
4
4
  };
@@ -1,4 +1,4 @@
1
- import { t as m } from "../../../libphonenumber-DtibHRPP.js";
1
+ import { t as m } from "../../../libphonenumber-BIeQOhzl.js";
2
2
  var n = m(), e = n.PhoneNumberUtil.getInstance(), p = (t) => {
3
3
  const r = t.code, o = e.getExampleNumber(r);
4
4
  if (!o) return;
@@ -1,5 +1,5 @@
1
1
  import { a as e } from "../../../../utils-DnIJruo0.js";
2
- import { a as j, r as A, t as B } from "../../../../dist-Dg3vyTx9.js";
2
+ import { a as j, r as A, t as B } from "../../../../dist-BCqfbYE9.js";
3
3
  import { useMemo as i } from "react";
4
4
  import { jsx as T } from "react/jsx-runtime";
5
5
  j.register(A);
@@ -56,6 +56,7 @@ var a = e([
56
56
  "outline-none",
57
57
  "text-metal-700",
58
58
  "text-sm",
59
+ "max-md:text-base",
59
60
  "capitalize",
60
61
  "placeholder:text-sm",
61
62
  "placeholder:normal-case",
@@ -65,6 +66,7 @@ var a = e([
65
66
  ]), d = e([
66
67
  "cursor-pointer",
67
68
  "text-sm",
69
+ "max-md:text-base",
68
70
  "leading-5",
69
71
  "tracking-[0.1px]",
70
72
  "dark:text-metal-50"
@@ -1,10 +1,10 @@
1
- import { o as $ } from "../../../../rolldown-runtime-Dw9YIBcH.js";
1
+ import { o as $ } from "../../../../rolldown-runtime-B28h4lGi.js";
2
2
  import { t as n } from "../../../../utils-DnIJruo0.js";
3
3
  import { t as R } from "../../../../Loading-u8hXrFJR.js";
4
4
  import { useSelectContext as ee } from "../../contexts/select.hook.js";
5
5
  import { n as te, t as re } from "../../../../AdditionalOptions-ClcR_Kf7.js";
6
6
  import { listGroupLabelVariants as oe, listVariants as ae } from "./List.variants.js";
7
- import { t as ne } from "../../../../debounce-dMRJxNsT.js";
7
+ import { t as ne } from "../../../../debounce-DhCY9mXz.js";
8
8
  import "../../constants/pagination.js";
9
9
  import "../../constants/list.js";
10
10
  import { useNavigationUlList as se } from "../../hooks/useNavigationList.js";
@@ -0,0 +1,130 @@
1
+ "use client";
2
+ import { t as m } from "../../utils-DnIJruo0.js";
3
+ import { a as H, o as _, r as j, s as L, t as $ } from "../../dist-BqDJX7m1.js";
4
+ import { useCallback as q, useRef as f, useState as h } from "react";
5
+ import { jsx as e, jsxs as x } from "react/jsx-runtime";
6
+ import { AnimatePresence as R, motion as s, useReducedMotion as B } from "motion/react";
7
+ var N = {
8
+ duration: 0.2,
9
+ ease: "easeOut"
10
+ }, S = {
11
+ duration: 0.6,
12
+ ease: [
13
+ 0.4,
14
+ 0,
15
+ 0.2,
16
+ 1
17
+ ]
18
+ }, l = "100%", K = {
19
+ enter: (a) => ({
20
+ opacity: 0,
21
+ x: a > 0 ? l : `-${l}`
22
+ }),
23
+ center: {
24
+ opacity: 1,
25
+ x: 0
26
+ },
27
+ exit: (a) => ({
28
+ opacity: 0,
29
+ x: a > 0 ? `-${l}` : l
30
+ })
31
+ }, V = ({ isOpen: a, onClose: T, title: k, hideTitle: A = !1, leading: I, position: c = "bottom", step: n = 0, className: O, bodyClassName: w, theme: C, children: D }) => {
32
+ const i = B(), p = f(null), r = f(null), o = f(null), [F, d] = h("auto"), [E, v] = h(!1), [u, M] = h({
33
+ step: n,
34
+ direction: 1
35
+ });
36
+ u.step !== n && M({
37
+ step: n,
38
+ direction: n > u.step ? 1 : -1
39
+ });
40
+ const { direction: g } = u, b = c === "bottom" ? "100%" : "-100%", P = i ? {
41
+ initial: !1,
42
+ animate: { y: 0 },
43
+ exit: { y: 0 }
44
+ } : {
45
+ initial: { y: b },
46
+ animate: { y: 0 },
47
+ exit: { y: b }
48
+ }, z = q((t) => {
49
+ if (r.current?.disconnect(), r.current = null, o.current !== null && (cancelAnimationFrame(o.current), o.current = null), !t) {
50
+ v(!1), d("auto");
51
+ return;
52
+ }
53
+ d(t.getBoundingClientRect().height), typeof ResizeObserver < "u" && (r.current = new ResizeObserver(([y]) => {
54
+ y && d(y.contentRect.height);
55
+ }), r.current.observe(t)), o.current = requestAnimationFrame(() => {
56
+ v(!0);
57
+ });
58
+ }, []);
59
+ return /* @__PURE__ */ e($, {
60
+ open: a,
61
+ onOpenChange: (t) => !t && T(),
62
+ children: /* @__PURE__ */ e(R, { children: a && /* @__PURE__ */ e(_, {
63
+ forceMount: !0,
64
+ children: /* @__PURE__ */ x("div", {
65
+ "data-theme": C,
66
+ className: "contents",
67
+ children: [/* @__PURE__ */ e(H, {
68
+ asChild: !0,
69
+ forceMount: !0,
70
+ children: /* @__PURE__ */ e(s.div, {
71
+ className: "fixed inset-0 z-50 bg-black/55",
72
+ initial: { opacity: 0 },
73
+ animate: { opacity: 1 },
74
+ exit: { opacity: 0 },
75
+ transition: N
76
+ })
77
+ }), /* @__PURE__ */ e(j, {
78
+ asChild: !0,
79
+ forceMount: !0,
80
+ onOpenAutoFocus: (t) => {
81
+ t.preventDefault(), p.current?.focus();
82
+ },
83
+ children: /* @__PURE__ */ x(s.div, {
84
+ ref: p,
85
+ tabIndex: -1,
86
+ className: m("konstruct-sheet fixed inset-x-0 z-50 flex max-h-[calc(100dvh-4rem)] flex-col", "bg-white text-slate-800 shadow-xl outline-none", "dark:bg-metal-800 dark:text-metal-50", c === "bottom" ? "bottom-0 rounded-t-lg pt-4 pb-[calc(1rem+env(safe-area-inset-bottom))]" : "top-0 rounded-b-lg pb-4 pt-[calc(1rem+env(safe-area-inset-top))]", O),
87
+ "data-position": c,
88
+ "data-step": n,
89
+ transition: N,
90
+ ...P,
91
+ children: [/* @__PURE__ */ x("div", {
92
+ className: m("flex min-h-9 shrink-0 items-center gap-2 px-6 pb-2", A && "sr-only"),
93
+ children: [I, /* @__PURE__ */ e(L, {
94
+ className: "text-xs font-semibold uppercase tracking-wide text-slate-500 dark:text-metal-400",
95
+ children: k
96
+ })]
97
+ }), /* @__PURE__ */ e(s.div, {
98
+ className: m("flex min-h-0 flex-col overflow-y-auto overflow-x-hidden", w),
99
+ animate: { height: F },
100
+ transition: i || !E ? { duration: 0 } : S,
101
+ children: /* @__PURE__ */ e("div", {
102
+ ref: z,
103
+ className: "relative",
104
+ children: /* @__PURE__ */ e(R, {
105
+ mode: "popLayout",
106
+ initial: !1,
107
+ custom: g,
108
+ children: /* @__PURE__ */ e(s.div, {
109
+ custom: g,
110
+ className: "flex w-full flex-col",
111
+ variants: i ? void 0 : K,
112
+ initial: i ? !1 : "enter",
113
+ animate: "center",
114
+ exit: i ? void 0 : "exit",
115
+ transition: S,
116
+ children: D
117
+ }, n)
118
+ })
119
+ })
120
+ })]
121
+ })
122
+ })]
123
+ })
124
+ }) })
125
+ });
126
+ };
127
+ V.displayName = "KonstructSheet";
128
+ export {
129
+ V as Sheet
130
+ };
@@ -1,4 +1,4 @@
1
- import { t as e } from "../../../../HamburgerTrigger-BgeS_nBA.js";
1
+ import { t as e } from "../../../../HamburgerTrigger-CfrAnhmG.js";
2
2
  export {
3
3
  e as HamburgerTrigger
4
4
  };