alif-ui 2.0.0-alpha.13 → 2.0.0-alpha.15

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 (137) hide show
  1. package/dist/components/Accordion/Accordion.js +1 -0
  2. package/dist/components/Accordion/AccordionContent/AccordionContent.js +1 -0
  3. package/dist/components/Accordion/AccordionItem/AccordionItem.js +1 -0
  4. package/dist/components/Accordion/AccordionTrigger/AccordionTrigger.js +1 -0
  5. package/dist/components/Alert/Alert.js +1 -0
  6. package/dist/components/Backdrop/Backdrop.js +1 -0
  7. package/dist/components/Badge/Badge.js +1 -0
  8. package/dist/components/Checkbox/Checkbox.js +1 -0
  9. package/dist/components/Dates/InputDatePicker/DatePicker/DatePicker.js +1 -0
  10. package/dist/components/Dates/InputDatePicker/DatePicker/DayView/DayView.js +1 -0
  11. package/dist/components/Dates/InputDatePicker/DatePicker/MonthView/MonthView.js +1 -0
  12. package/dist/components/Dates/InputDatePicker/InputDatePicker.js +19 -18
  13. package/dist/components/Dates/InputMonthPicker/InputMonthPicker.js +1 -0
  14. package/dist/components/Dates/InputMonthPicker/MonthPicker/MonthPicker.js +1 -0
  15. package/dist/components/Dates/InputMonthYearPicker/InputMonthYearPicker.js +1 -0
  16. package/dist/components/Dates/InputMonthYearPicker/MonthYearPicker/MonthView/MonthView.js +1 -0
  17. package/dist/components/Dates/InputMonthYearPicker/MonthYearPicker/MonthYearPicker.js +1 -0
  18. package/dist/components/Dates/InputTimePicker/InputTimePicker.js +1 -0
  19. package/dist/components/Dates/InputTimePicker/TimePicker/TimePicker.js +1 -0
  20. package/dist/components/Dates/InputYearPicker/InputYearPicker.js +1 -0
  21. package/dist/components/Dates/InputYearPicker/YearPicker/YearPicker.js +1 -0
  22. package/dist/components/Dates/PickerInput/PickerInput.js +42 -38
  23. package/dist/components/Dates/PickerOptions/PickerOptions.js +1 -0
  24. package/dist/components/Drawer/Drawer.js +1 -0
  25. package/dist/components/Field/Field.js +1 -0
  26. package/dist/components/Field/InputBaseWrapper/InputBaseWrapper.js +1 -0
  27. package/dist/components/FileUploader/FileUploader.js +1 -0
  28. package/dist/components/InputOtp/InputOtp.js +1 -0
  29. package/dist/components/List/List.js +1 -0
  30. package/dist/components/List/ListGroup/ListGroup.js +1 -0
  31. package/dist/components/List/ListItem/ListItem.js +1 -0
  32. package/dist/components/Menu/MenuItem/MenuItem.js +1 -0
  33. package/dist/components/Pagination/Pagination.js +1 -0
  34. package/dist/components/Popover/Popover.js +1 -0
  35. package/dist/components/Popover/PopoverDropdown/PopoverDropdown.js +1 -0
  36. package/dist/components/Popover/PopoverTrigger/PopoverTrigger.js +1 -0
  37. package/dist/components/Radio/Radio.js +1 -0
  38. package/dist/components/Rating/Rating.js +1 -0
  39. package/dist/components/Rating/RatingItem/RatingItem.js +1 -0
  40. package/dist/components/RemoveScroll/RemoveScroll.js +1 -0
  41. package/dist/components/Select/Select.js +1 -0
  42. package/dist/components/Select/SelectMultiple/SelectMultiple.js +1 -0
  43. package/dist/components/SelectorInput/SelectorInput.js +1 -0
  44. package/dist/components/Sidebar/Sidebar.js +1 -0
  45. package/dist/components/Sidebar/SidebarCollapse/SidebarCollapse.js +1 -0
  46. package/dist/components/Sidebar/SidebarElement/SidebarElement.js +1 -0
  47. package/dist/components/Sidebar/SidebarFooter/SidebarFooter.js +1 -0
  48. package/dist/components/Sidebar/SidebarGroup/SidebarGroup.js +1 -0
  49. package/dist/components/Sidebar/SidebarHeader/SidebarHeader.js +1 -0
  50. package/dist/components/Sidebar/SidebarItem/SidebarItem.js +1 -0
  51. package/dist/components/Sidebar/SidebarItems/SidebarItems.js +1 -0
  52. package/dist/components/Sidebar/SidebarProfile/SidebarProfile.js +1 -0
  53. package/dist/components/Slider/Thumb/Thumb.js +1 -0
  54. package/dist/components/Snackbar/Snackbar.js +1 -0
  55. package/dist/components/Snackbar/SnackbarCard/SnackbarCard.js +1 -0
  56. package/dist/components/Snackbar/SnackbarSlot/SnackbarSlot.js +1 -0
  57. package/dist/components/Snackbar/SnackbarTimer/SnackbarTimer.js +1 -0
  58. package/dist/components/Switch/Switch.js +1 -0
  59. package/dist/components/Tab/Tab.js +1 -0
  60. package/dist/components/Tabs/TabsMenu/TabsMenu.js +1 -0
  61. package/dist/components/Tabs/TabsPanel/TabsPanel.js +1 -0
  62. package/dist/components/Tabs/TabsTab/TabsTab.js +1 -0
  63. package/dist/components/Textarea/Textarea.js +1 -0
  64. package/dist/components/Timeline/TimelineContent/TimelineContent.js +1 -0
  65. package/dist/components/Timeline/TimelineItem/TimelineItem.js +1 -0
  66. package/dist/components/Timeline/TimelineOppositeContent/TimelineOppositeContent.js +1 -0
  67. package/dist/components/Transition/Transition.js +1 -0
  68. package/dist/icons/components/OutlineFinancePosTerminal.js +2 -2
  69. package/dist/icons/components/SolidSystemSearch.js +2 -2
  70. package/dist/src/lib/components/Accordion/Accordion.d.ts.map +1 -1
  71. package/dist/src/lib/components/Accordion/AccordionContent/AccordionContent.d.ts.map +1 -1
  72. package/dist/src/lib/components/Accordion/AccordionItem/AccordionItem.d.ts.map +1 -1
  73. package/dist/src/lib/components/Accordion/AccordionTrigger/AccordionTrigger.d.ts.map +1 -1
  74. package/dist/src/lib/components/Alert/Alert.d.ts.map +1 -1
  75. package/dist/src/lib/components/Backdrop/Backdrop.d.ts.map +1 -1
  76. package/dist/src/lib/components/Badge/Badge.d.ts.map +1 -1
  77. package/dist/src/lib/components/Checkbox/Checkbox.d.ts.map +1 -1
  78. package/dist/src/lib/components/Dates/InputDatePicker/DatePicker/DatePicker.d.ts.map +1 -1
  79. package/dist/src/lib/components/Dates/InputDatePicker/DatePicker/DayView/DayView.d.ts.map +1 -1
  80. package/dist/src/lib/components/Dates/InputDatePicker/DatePicker/MonthView/MonthView.d.ts.map +1 -1
  81. package/dist/src/lib/components/Dates/InputDatePicker/InputDatePicker.d.ts.map +1 -1
  82. package/dist/src/lib/components/Dates/InputMonthPicker/InputMonthPicker.d.ts.map +1 -1
  83. package/dist/src/lib/components/Dates/InputMonthPicker/MonthPicker/MonthPicker.d.ts.map +1 -1
  84. package/dist/src/lib/components/Dates/InputMonthYearPicker/InputMonthYearPicker.d.ts.map +1 -1
  85. package/dist/src/lib/components/Dates/InputMonthYearPicker/MonthYearPicker/MonthView/MonthView.d.ts.map +1 -1
  86. package/dist/src/lib/components/Dates/InputMonthYearPicker/MonthYearPicker/MonthYearPicker.d.ts.map +1 -1
  87. package/dist/src/lib/components/Dates/InputTimePicker/InputTimePicker.d.ts.map +1 -1
  88. package/dist/src/lib/components/Dates/InputTimePicker/TimePicker/TimePicker.d.ts.map +1 -1
  89. package/dist/src/lib/components/Dates/InputYearPicker/InputYearPicker.d.ts.map +1 -1
  90. package/dist/src/lib/components/Dates/InputYearPicker/YearPicker/YearPicker.d.ts.map +1 -1
  91. package/dist/src/lib/components/Dates/PickerInput/PickerInput.d.ts.map +1 -1
  92. package/dist/src/lib/components/Dates/PickerOptions/PickerOptions.d.ts.map +1 -1
  93. package/dist/src/lib/components/Drawer/Drawer.d.ts.map +1 -1
  94. package/dist/src/lib/components/Field/Field.d.ts.map +1 -1
  95. package/dist/src/lib/components/Field/InputBaseWrapper/InputBaseWrapper.d.ts.map +1 -1
  96. package/dist/src/lib/components/FileUploader/FileUploader.d.ts.map +1 -1
  97. package/dist/src/lib/components/InputOtp/InputOtp.d.ts.map +1 -1
  98. package/dist/src/lib/components/List/List.d.ts.map +1 -1
  99. package/dist/src/lib/components/List/ListGroup/ListGroup.d.ts.map +1 -1
  100. package/dist/src/lib/components/List/ListItem/ListItem.d.ts.map +1 -1
  101. package/dist/src/lib/components/Menu/MenuItem/MenuItem.d.ts.map +1 -1
  102. package/dist/src/lib/components/Pagination/Pagination.d.ts.map +1 -1
  103. package/dist/src/lib/components/Popover/Popover.d.ts.map +1 -1
  104. package/dist/src/lib/components/Popover/PopoverDropdown/PopoverDropdown.d.ts.map +1 -1
  105. package/dist/src/lib/components/Popover/PopoverTrigger/PopoverTrigger.d.ts.map +1 -1
  106. package/dist/src/lib/components/Radio/Radio.d.ts.map +1 -1
  107. package/dist/src/lib/components/Rating/Rating.d.ts.map +1 -1
  108. package/dist/src/lib/components/Rating/RatingItem/RatingItem.d.ts.map +1 -1
  109. package/dist/src/lib/components/RemoveScroll/RemoveScroll.d.ts.map +1 -1
  110. package/dist/src/lib/components/Select/Select.d.ts.map +1 -1
  111. package/dist/src/lib/components/Select/SelectMultiple/SelectMultiple.d.ts.map +1 -1
  112. package/dist/src/lib/components/SelectorInput/SelectorInput.d.ts.map +1 -1
  113. package/dist/src/lib/components/Sidebar/Sidebar.d.ts.map +1 -1
  114. package/dist/src/lib/components/Sidebar/SidebarCollapse/SidebarCollapse.d.ts.map +1 -1
  115. package/dist/src/lib/components/Sidebar/SidebarElement/SidebarElement.d.ts.map +1 -1
  116. package/dist/src/lib/components/Sidebar/SidebarFooter/SidebarFooter.d.ts.map +1 -1
  117. package/dist/src/lib/components/Sidebar/SidebarGroup/SidebarGroup.d.ts.map +1 -1
  118. package/dist/src/lib/components/Sidebar/SidebarHeader/SidebarHeader.d.ts.map +1 -1
  119. package/dist/src/lib/components/Sidebar/SidebarItem/SidebarItem.d.ts.map +1 -1
  120. package/dist/src/lib/components/Sidebar/SidebarItems/SidebarItems.d.ts.map +1 -1
  121. package/dist/src/lib/components/Sidebar/SidebarProfile/SidebarProfile.d.ts.map +1 -1
  122. package/dist/src/lib/components/Slider/Thumb/Thumb.d.ts.map +1 -1
  123. package/dist/src/lib/components/Snackbar/Snackbar.d.ts.map +1 -1
  124. package/dist/src/lib/components/Snackbar/SnackbarCard/SnackbarCard.d.ts.map +1 -1
  125. package/dist/src/lib/components/Snackbar/SnackbarSlot/SnackbarSlot.d.ts.map +1 -1
  126. package/dist/src/lib/components/Snackbar/SnackbarTimer/SnackbarTimer.d.ts.map +1 -1
  127. package/dist/src/lib/components/Switch/Switch.d.ts.map +1 -1
  128. package/dist/src/lib/components/Tab/Tab.d.ts.map +1 -1
  129. package/dist/src/lib/components/Tabs/TabsMenu/TabsMenu.d.ts.map +1 -1
  130. package/dist/src/lib/components/Tabs/TabsPanel/TabsPanel.d.ts.map +1 -1
  131. package/dist/src/lib/components/Tabs/TabsTab/TabsTab.d.ts.map +1 -1
  132. package/dist/src/lib/components/Textarea/Textarea.d.ts.map +1 -1
  133. package/dist/src/lib/components/Timeline/TimelineContent/TimelineContent.d.ts.map +1 -1
  134. package/dist/src/lib/components/Timeline/TimelineItem/TimelineItem.d.ts.map +1 -1
  135. package/dist/src/lib/components/Timeline/TimelineOppositeContent/TimelineOppositeContent.d.ts.map +1 -1
  136. package/dist/src/lib/components/Transition/Transition.d.ts.map +1 -1
  137. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../utils/class-names.js";
2
3
  import { AccordionContextProvider as t } from "./Accordion.context.js";
3
4
  import n from "../../lib/components/Accordion/Accordion.module.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../utils/class-names.js";
2
3
  import { useAccordionItemContext as t } from "../Accordion.context.js";
3
4
  import n from "../../../lib/components/Accordion/Accordion.module.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../utils/class-names.js";
2
3
  import { AccordionItemContextProvider as t, useAccordionContext as n } from "../Accordion.context.js";
3
4
  import r from "../../../lib/components/Accordion/Accordion.module.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../utils/class-names.js";
2
3
  import { useAccordionContext as t, useAccordionItemContext as n } from "../Accordion.context.js";
3
4
  import r from "../../../lib/components/Accordion/Accordion.module.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../utils/class-names.js";
2
3
  import { OutlineSystemCheckCircle as t } from "../../icons/components/OutlineSystemCheckCircle.js";
3
4
  import { OutlineSystemClose as n } from "../../icons/components/OutlineSystemClose.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../utils/class-names.js";
2
3
  import { closeEscape as t } from "../../utils/close-escape.js";
3
4
  import n from "../../lib/components/Backdrop/Backdrop.module.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../utils/class-names.js";
2
3
  import { useMode as t } from "../../providers/hooks/useMode/useMode.js";
3
4
  import n from "../../lib/components/Badge/Badge.module.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../utils/class-names.js";
2
3
  import { OutlineSystemRemove as t } from "../../icons/components/OutlineSystemRemove.js";
3
4
  import n from "../../lib/components/Checkbox/Checkbox.module.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../../utils/class-names.js";
2
3
  import { useLocale as t } from "../../../../providers/hooks/useLocale/useLocale.js";
3
4
  import n from "../../../../lib/components/Dates/Dates.module.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { resolveTypography as e } from "../../../../../utils/typography.js";
2
3
  import { classNames as t } from "../../../../../utils/class-names.js";
3
4
  import { useLocale as n } from "../../../../../providers/hooks/useLocale/useLocale.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { resolveTypography as e } from "../../../../../utils/typography.js";
2
3
  import { classNames as t } from "../../../../../utils/class-names.js";
3
4
  import { useLocale as n } from "../../../../../providers/hooks/useLocale/useLocale.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { OutlineSystemCalendar as e } from "../../../icons/components/OutlineSystemCalendar.js";
2
3
  import { useLocale as t } from "../../../providers/hooks/useLocale/useLocale.js";
3
4
  import { Popover as n } from "../../Popover/Popover.js";
@@ -16,6 +17,23 @@ var _ = ({ value: _, isRange: v, withTime: y, onChange: b, onBlur: x, onClear: S
16
17
  B(i(e.target.value, V));
17
18
  }, W = () => {
18
19
  B(""), b(null), S?.();
20
+ }, G = (e) => {
21
+ let t = d(e.target.value, v), n = (e) => T?.some((t) => r.isSameDay(t, e)) ?? !1, i = (e) => r.isOutOfRange(e, C, w) || n(e);
22
+ if (!t) {
23
+ W(), x?.(e);
24
+ return;
25
+ }
26
+ if (v && Array.isArray(t)) {
27
+ let [n, r] = t;
28
+ i(n) || i(r) ? W() : (b(t), H(t)), x?.(e);
29
+ return;
30
+ }
31
+ if (!v && t instanceof Date) if (i(t)) W();
32
+ else {
33
+ let e = y ? u(t, E, D, O, k) : t;
34
+ b(e), H(e);
35
+ }
36
+ x?.(e);
19
37
  };
20
38
  return p(() => {
21
39
  H(_);
@@ -25,24 +43,6 @@ var _ = ({ value: _, isRange: v, withTime: y, onChange: b, onBlur: x, onClear: S
25
43
  onClose: () => R(!1),
26
44
  position: "bottom-start",
27
45
  children: [/* @__PURE__ */ h(n.Trigger, {
28
- onBlur: (e) => {
29
- let t = d(e.target.value, v), n = (e) => T?.some((t) => r.isSameDay(t, e)) ?? !1, i = (e) => r.isOutOfRange(e, C, w) || n(e);
30
- if (!t) {
31
- W(), x?.(e);
32
- return;
33
- }
34
- if (v && Array.isArray(t)) {
35
- let [n, r] = t;
36
- i(n) || i(r) ? W() : (b(t), H(t)), x?.(e);
37
- return;
38
- }
39
- if (!v && t instanceof Date) if (i(t)) W();
40
- else {
41
- let e = y ? u(t, E, D, O, k) : t;
42
- b(e), H(e);
43
- }
44
- x?.(e);
45
- },
46
46
  className: M,
47
47
  style: {
48
48
  width: "100%",
@@ -53,6 +53,7 @@ var _ = ({ value: _, isRange: v, withTime: y, onChange: b, onBlur: x, onClear: S
53
53
  value: z,
54
54
  mask: V,
55
55
  onChange: U,
56
+ onBlur: G,
56
57
  onClear: S ? W : void 0,
57
58
  onFieldClick: () => R((e) => !e),
58
59
  rightIcon: P
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { OutlineSystemCalendar as e } from "../../../icons/components/OutlineSystemCalendar.js";
2
3
  import { useLocale as t } from "../../../providers/hooks/useLocale/useLocale.js";
3
4
  import { Popover as n } from "../../Popover/Popover.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { resolveTypography as e } from "../../../../utils/typography.js";
2
3
  import { classNames as t } from "../../../../utils/class-names.js";
3
4
  import { useLocale as n } from "../../../../providers/hooks/useLocale/useLocale.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { OutlineSystemCalendar as e } from "../../../icons/components/OutlineSystemCalendar.js";
2
3
  import { useLocale as t } from "../../../providers/hooks/useLocale/useLocale.js";
3
4
  import { Popover as n } from "../../Popover/Popover.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { resolveTypography as e } from "../../../../../utils/typography.js";
2
3
  import { classNames as t } from "../../../../../utils/class-names.js";
3
4
  import { useLocale as n } from "../../../../../providers/hooks/useLocale/useLocale.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../../utils/class-names.js";
2
3
  import { useLocale as t } from "../../../../providers/hooks/useLocale/useLocale.js";
3
4
  import n from "../../../../lib/components/Dates/Dates.module.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { OutlineSystemClock as e } from "../../../icons/components/OutlineSystemClock.js";
2
3
  import { useLocale as t } from "../../../providers/hooks/useLocale/useLocale.js";
3
4
  import { Popover as n } from "../../Popover/Popover.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { resolveTypography as e } from "../../../../utils/typography.js";
2
3
  import { classNames as t } from "../../../../utils/class-names.js";
3
4
  import { useLocale as n } from "../../../../providers/hooks/useLocale/useLocale.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { OutlineSystemCalendar as e } from "../../../icons/components/OutlineSystemCalendar.js";
2
3
  import { useLocale as t } from "../../../providers/hooks/useLocale/useLocale.js";
3
4
  import { Popover as n } from "../../Popover/Popover.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { resolveTypography as e } from "../../../../utils/typography.js";
2
3
  import { classNames as t } from "../../../../utils/class-names.js";
3
4
  import { makeScrollTargetYear as n, normalizeRange as r } from "./YearPicker.utils.js";
@@ -1,46 +1,50 @@
1
- import { syncRefs as e } from "../../../utils/sync-refs.js";
2
- import { useComponentId as t } from "../../../hooks/useComponentId/useComponentId.js";
3
- import { InputBaseWrapper as n } from "../../Field/InputBaseWrapper/InputBaseWrapper.js";
4
- import { InputBase as r } from "../../Field/InputBase/InputBase.js";
5
- import i from "../../../lib/components/Dates/PickerInput/PickerInput.module.js";
6
- import { useRef as a } from "react";
7
- import { jsx as o, jsxs as s } from "react/jsx-runtime";
1
+ "use client";
2
+ import { resolveTypography as e } from "../../../utils/typography.js";
3
+ import { classNames as t } from "../../../utils/class-names.js";
4
+ import { syncRefs as n } from "../../../utils/sync-refs.js";
5
+ import { useComponentId as r } from "../../../hooks/useComponentId/useComponentId.js";
6
+ import { InputBaseWrapper as i } from "../../Field/InputBaseWrapper/InputBaseWrapper.js";
7
+ import { InputBase as a } from "../../Field/InputBase/InputBase.js";
8
+ import o from "../../../lib/components/Dates/PickerInput/PickerInput.module.js";
9
+ import { useRef as s } from "react";
10
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
8
11
  //#region src/lib/components/Dates/PickerInput/PickerInput.tsx
9
- var c = ({ id: c, label: l, onClear: u, leftIcon: d, rightIcon: f, hasError: p, value: m, className: h, disabled: g, style: _, fullWidth: v = !0, size: y = "m", onFieldClick: b, ref: x, hintLeftSection: S, hintRightSection: C, mask: w, ...T }) => {
10
- let E = a(null), D = t(c), O = (e, t) => e.length >= t.length ? e : e + t?.slice(e.length);
11
- return /* @__PURE__ */ o(n, {
12
- label: l,
13
- onClear: u,
14
- leftIcon: d,
15
- rightIcon: f,
16
- id: D,
17
- size: y,
12
+ var u = ({ id: u, label: d, onClear: f, leftIcon: p, rightIcon: m, hasError: h, value: g, className: _, disabled: v, style: y, fullWidth: b = !0, size: x = "m", onFieldClick: S, ref: C, hintLeftSection: w, hintRightSection: T, mask: E, ...D }) => {
13
+ let O = s(null), k = r(u), A = (e, t) => e.length >= t.length ? e : e + t?.slice(e.length);
14
+ return /* @__PURE__ */ c(i, {
15
+ label: d,
16
+ onClear: f,
17
+ leftIcon: p,
18
+ rightIcon: m,
19
+ id: k,
20
+ size: x,
18
21
  keepLabel: !0,
19
22
  bordered: !0,
20
- inputRef: E,
21
- hasError: p,
22
- disabled: g,
23
- value: m,
24
- fullWidth: v,
25
- className: h,
26
- style: _,
27
- onClick: b,
28
- hintLeftSection: S,
29
- hintRightSection: C,
30
- children: /* @__PURE__ */ s("div", {
31
- className: i.wrapper,
32
- children: [/* @__PURE__ */ o(r, {
33
- id: D,
34
- ref: e(E, x),
35
- value: m,
36
- disabled: g,
37
- ...T
38
- }), w && /* @__PURE__ */ o("span", {
39
- className: i.mask,
40
- children: O(m, w)
23
+ inputRef: O,
24
+ hasError: h,
25
+ disabled: v,
26
+ value: g,
27
+ fullWidth: b,
28
+ className: _,
29
+ style: y,
30
+ onClick: S,
31
+ hintLeftSection: w,
32
+ hintRightSection: T,
33
+ children: /* @__PURE__ */ l("div", {
34
+ className: o.wrapper,
35
+ children: [/* @__PURE__ */ c(a, {
36
+ id: k,
37
+ ref: n(O, C),
38
+ value: g,
39
+ disabled: v,
40
+ ...D
41
+ }), E && /* @__PURE__ */ c("span", {
42
+ style: e("body", "m"),
43
+ className: t(o.mask, "uiFont"),
44
+ children: A(g, E)
41
45
  })]
42
46
  })
43
47
  });
44
48
  };
45
49
  //#endregion
46
- export { c as PickerInput };
50
+ export { u as PickerInput };
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useLocale as e } from "../../../providers/hooks/useLocale/useLocale.js";
2
3
  import { Button as t } from "../../Button/Button.js";
3
4
  import n from "../../../lib/components/Dates/Dates.module.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../utils/class-names.js";
2
3
  import { OutlineSystemClose as t } from "../../icons/components/OutlineSystemClose.js";
3
4
  import { Backdrop as n } from "../Backdrop/Backdrop.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { syncRefs as e } from "../../utils/sync-refs.js";
2
3
  import { useComponentId as t } from "../../hooks/useComponentId/useComponentId.js";
3
4
  import { InputBaseWrapper as n } from "./InputBaseWrapper/InputBaseWrapper.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../utils/class-names.js";
2
3
  import { OutlineSystemClose as t } from "../../../icons/components/OutlineSystemClose.js";
3
4
  import { UnstyledButton as n } from "../../UnstyledButton/UnstyledButton.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../utils/class-names.js";
2
3
  import { syncRefs as t } from "../../utils/sync-refs.js";
3
4
  import { OutlineSystemUploadCloud as n } from "../../icons/components/OutlineSystemUploadCloud.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../utils/class-names.js";
2
3
  import t from "../../lib/components/InputOtp/InputOtp.module.js";
3
4
  import { getInputOtpStyles as n, isFilled as r, keepOnlyDigits as i, normalizeOtpValue as a } from "./InputOtp.utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../utils/class-names.js";
2
3
  import { useLocale as t } from "../../providers/hooks/useLocale/useLocale.js";
3
4
  import n from "../../lib/components/List/List.module.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { resolveTypography as e } from "../../../utils/typography.js";
2
3
  import { classNames as t } from "../../../utils/class-names.js";
3
4
  import { SolidNavigationChevronDown as n } from "../../../icons/components/SolidNavigationChevronDown.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../utils/class-names.js";
2
3
  import { activateOnKey as t } from "../../../utils/keyboard-activation.js";
3
4
  import { OutlineSystemCheck as n } from "../../../icons/components/OutlineSystemCheck.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { resolveTypography as e } from "../../../utils/typography.js";
2
3
  import { classNames as t } from "../../../utils/class-names.js";
3
4
  import n from "../../../lib/components/Menu/MenuItem/MenuItem.module.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../utils/class-names.js";
2
3
  import { OutlineNavigationChevronLeft as t } from "../../icons/components/OutlineNavigationChevronLeft.js";
3
4
  import { OutlineNavigationChevronRight as n } from "../../icons/components/OutlineNavigationChevronRight.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { getDefaultZIndex as e } from "../../lib/utils/get-default-z-index.js";
2
3
  import { PopoverContextProvider as t, useOptionalPopoverContext as n } from "./Popover.context.js";
3
4
  import { useOutsideClick as r } from "../../hooks/useOutsideClick/useOutsideClick.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { Portal as e } from "../../Portal/Portal.js";
2
3
  import { Transition as t } from "../../Transition/Transition.js";
3
4
  import { usePopoverContext as n } from "../Popover.context.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../utils/class-names.js";
2
3
  import { closeEscape as t } from "../../../utils/close-escape.js";
3
4
  import { usePopoverContext as n } from "../Popover.context.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../utils/class-names.js";
2
3
  import { InlineInput as t } from "../InlineInput/InlineInput.js";
3
4
  import { useComponentId as n } from "../../hooks/useComponentId/useComponentId.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../utils/class-names.js";
2
3
  import { useComponentId as t } from "../../hooks/useComponentId/useComponentId.js";
3
4
  import n from "../../lib/components/Rating/Rating.module.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../utils/class-names.js";
2
3
  import { OutlineSystemStar as t } from "../../../icons/components/OutlineSystemStar.js";
3
4
  import { SolidSystemStar as n } from "../../../icons/components/SolidSystemStar.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useEffect as e } from "react";
2
3
  import { Fragment as t, jsx as n } from "react/jsx-runtime";
3
4
  //#region src/lib/components/RemoveScroll/RemoveScroll.tsx
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../utils/class-names.js";
2
3
  import { OutlineNavigationChevronDown as t } from "../../icons/components/OutlineNavigationChevronDown.js";
3
4
  import { Popover as n } from "../Popover/Popover.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../utils/class-names.js";
2
3
  import { syncRefs as t } from "../../../utils/sync-refs.js";
3
4
  import { OutlineNavigationChevronDown as n } from "../../../icons/components/OutlineNavigationChevronDown.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../utils/class-names.js";
2
3
  import { OutlineNavigationChevronDown as t } from "../../icons/components/OutlineNavigationChevronDown.js";
3
4
  import { Popover as n } from "../Popover/Popover.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../utils/class-names.js";
2
3
  import t from "../../lib/components/Sidebar/Sidebar.module.js";
3
4
  import { SidebarContextProvider as n } from "./Sidebar.context.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../utils/class-names.js";
2
3
  import { SolidNavigationChevronUp as t } from "../../../icons/components/SolidNavigationChevronUp.js";
3
4
  import { SolidNavigationChevronDown as n } from "../../../icons/components/SolidNavigationChevronDown.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../utils/class-names.js";
2
3
  import { useSidebarContext as t } from "../Sidebar.context.js";
3
4
  import n from "../../../lib/components/Sidebar/SidebarElement/SidebarElement.module.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { Divider as e } from "../../Divider/Divider.js";
2
3
  import { useSidebarContext as t } from "../Sidebar.context.js";
3
4
  import n from "../../../lib/components/Sidebar/SidebarFooter/SidebarFooter.module.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { Typography as e } from "../../Typography/Typography.js";
2
3
  import { useSidebarContext as t } from "../Sidebar.context.js";
3
4
  import n from "../../../lib/components/Sidebar/SidebarGroup/SidebarGroup.module.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../utils/class-names.js";
2
3
  import { OutlineSystemSidebar as t } from "../../../icons/components/OutlineSystemSidebar.js";
3
4
  import { SolidSystemSidebar as n } from "../../../icons/components/SolidSystemSidebar.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../utils/class-names.js";
2
3
  import { UnstyledButton as t } from "../../UnstyledButton/UnstyledButton.js";
3
4
  import { Indicator as n } from "../../Indicator/Indicator.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { Divider as e } from "../../Divider/Divider.js";
2
3
  import { useSidebarContext as t } from "../Sidebar.context.js";
3
4
  import { SidebarGroup as n } from "../SidebarGroup/SidebarGroup.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../utils/class-names.js";
2
3
  import { Avatar as t } from "../../Avatar/Avatar.js";
3
4
  import { Typography as n } from "../../Typography/Typography.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../utils/class-names.js";
2
3
  import { Tooltip as t } from "../../Tooltip/Tooltip.js";
3
4
  import { calculateSliderValue as n, getPercent as r } from "../Slider.utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { Portal as e } from "../Portal/Portal.js";
2
3
  import { POSITIONS as t, dismissSnackbar as n, getContainerStyles as r, getSnapshot as i, setSnackbarDefaults as a, subscribe as o } from "./Snackbar.utils.js";
3
4
  import { SnackbarSlot as s } from "./SnackbarSlot/SnackbarSlot.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { resolveTypography as e } from "../../../utils/typography.js";
2
3
  import { classNames as t } from "../../../utils/class-names.js";
3
4
  import { OutlineSystemClose as n } from "../../../icons/components/OutlineSystemClose.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { removeSnackbar as e } from "../Snackbar.utils.js";
2
3
  import { slotTransition as t } from "./SnackbarSlot.utils.js";
3
4
  import { SnackbarCard as n } from "../SnackbarCard/SnackbarCard.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { Typography as e } from "../../Typography/Typography.js";
2
3
  import t from "../../../lib/components/Snackbar/Snackbar.module.js";
3
4
  import { useEffect as n, useRef as r, useState as i } from "react";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../utils/class-names.js";
2
3
  import { InlineInput as t } from "../InlineInput/InlineInput.js";
3
4
  import { useComponentId as n } from "../../hooks/useComponentId/useComponentId.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../utils/class-names.js";
2
3
  import { useComponentId as t } from "../../hooks/useComponentId/useComponentId.js";
3
4
  import n from "../../lib/components/Tab/Tab.module.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../utils/class-names.js";
2
3
  import { useTabsContext as t } from "../Tabs.context.js";
3
4
  import { getTabMenuStyles as n } from "./TabsMenu.utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useTabsContext as e } from "../Tabs.context.js";
2
3
  import { Activity as t } from "react";
3
4
  import { jsx as n } from "react/jsx-runtime";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../utils/class-names.js";
2
3
  import { Tab as t } from "../../Tab/Tab.js";
3
4
  import { useTabsContext as n } from "../Tabs.context.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { resolveTypography as e } from "../../utils/typography.js";
2
3
  import { classNames as t } from "../../utils/class-names.js";
3
4
  import { syncRefs as n } from "../../utils/sync-refs.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../utils/class-names.js";
2
3
  import { useTimelineContext as t } from "../Timeline.context.js";
3
4
  import n from "../../../lib/components/Timeline/TimelineContent/TimelineContent.module.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../utils/class-names.js";
2
3
  import { useTimelineContext as t } from "../Timeline.context.js";
3
4
  import { TimelineOppositeContent as n } from "../TimelineOppositeContent/TimelineOppositeContent.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { classNames as e } from "../../../utils/class-names.js";
2
3
  import { useTimelineContext as t } from "../Timeline.context.js";
3
4
  import n from "../../../lib/components/Timeline/TimelineOppositeContent/TimelineOppositeContent.module.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useTransition as e } from "./Transition.hook.js";
2
3
  import { getTransitionStyles as t } from "./Transition.utils.js";
3
4
  import { jsx as n } from "react/jsx-runtime";
@@ -3,8 +3,8 @@ import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
3
3
  //#region src/lib/icons/components/OutlineFinancePosTerminal.tsx
4
4
  var i = e(({ fill: e }) => /* @__PURE__ */ r(t, { children: [
5
5
  /* @__PURE__ */ n("path", {
6
- "fill-rule": "evenodd",
7
- "clip-rule": "evenodd",
6
+ fillRule: "evenodd",
7
+ clipRule: "evenodd",
8
8
  d: "M5.99999 5.15002C5.53055 5.15002 5.14999 5.53058 5.14999 6.00002V10C5.14999 10.4695 5.53055 10.85 5.99999 10.85H14C14.4694 10.85 14.85 10.4695 14.85 10V6.00002C14.85 5.53058 14.4694 5.15002 14 5.15002H5.99999ZM6.84999 9.15002V6.85002H13.15V9.15002H6.84999Z",
9
9
  fill: e
10
10
  }),
@@ -5,8 +5,8 @@ var i = e(() => /* @__PURE__ */ r(t, { children: [/* @__PURE__ */ n("path", {
5
5
  d: "M11.0752 6C13.878 6.00011 16.1504 8.27242 16.1504 11.0752C16.1503 13.8779 13.8779 16.1503 11.0752 16.1504C8.27242 16.1504 6.00011 13.878 6 11.0752C6 8.27235 8.27235 6 11.0752 6Z",
6
6
  fill: "currentColor"
7
7
  }), /* @__PURE__ */ n("path", {
8
- "fill-rule": "evenodd",
9
- "clip-rule": "evenodd",
8
+ fillRule: "evenodd",
9
+ clipRule: "evenodd",
10
10
  d: "M11 2C15.9706 2 20 6.02944 20 11C20 13.1247 19.2616 15.0757 18.0303 16.6152L21.8574 20.4385C22.2479 20.8288 22.2477 21.4619 21.8574 21.8525C21.4671 22.2432 20.834 22.2438 20.4434 21.8535L16.6162 18.0293C15.0765 19.2611 13.1252 20 11 20C6.02944 20 2 15.9706 2 11C2 6.02944 6.02944 2 11 2ZM11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18C14.866 18 18 14.866 18 11C18 7.13401 14.866 4 11 4Z",
11
11
  fill: "currentColor"
12
12
  })] }), {
@@ -1 +1 @@
1
- {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAQnD,eAAO,MAAM,SAAS;6GAYnB,cAAc;;;;CA8BhB,CAAC"}
1
+ {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAQnD,eAAO,MAAM,SAAS;6GAYnB,cAAc;;;;CA8BhB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionContent.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/components/Accordion/AccordionContent/AccordionContent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAIjE,eAAO,MAAM,gBAAgB,GAAI,sCAK9B,qBAAqB,4CAiBvB,CAAC"}
1
+ {"version":3,"file":"AccordionContent.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/components/Accordion/AccordionContent/AccordionContent.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAIjE,eAAO,MAAM,gBAAgB,GAAI,sCAK9B,qBAAqB,4CAiBvB,CAAC"}