@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
package/dist/index.js CHANGED
@@ -1,17 +1,17 @@
1
- import { t as o } from "./Checkbox-DRdyrKjk.js";
2
- import { t as m } from "./DropdownButton-JilCRLJY.js";
3
- import { t as p } from "./Breadcrumb-CpXRb08J.js";
4
- import { t as a } from "./Input-2M2I_H60.js";
5
- import { t as s } from "./Counter-DMkXIsOO.js";
1
+ import { t as o } from "./Checkbox-DrounE52.js";
2
+ import { t as m } from "./DropdownButton-BWfWN4fg.js";
3
+ import { t as e } from "./Breadcrumb-DDRmDlWK.js";
4
+ import { t as a } from "./Input-O2bqyJKW.js";
5
+ import { t as s } from "./Counter-LQ5_uh06.js";
6
6
  import { a as l, t as d } from "./utils-DnIJruo0.js";
7
7
  import { Alert as T } from "./components/Alert/Alert.js";
8
- import { Button as C } from "./components/Button/Button.js";
8
+ import { Button as S } from "./components/Button/Button.js";
9
9
  import { AlertDialog as c } from "./components/AlertDialog/AlertDialog.js";
10
10
  import { useClickOutside as R } from "./hooks/useClickOutside.js";
11
11
  import { useIsHydrated as A } from "./hooks/useIsHydrated/useIsHydrated.js";
12
12
  import { useMediaQuery as b } from "./hooks/useMediaQuery.js";
13
13
  import { useToggle as I } from "./hooks/useToggle.js";
14
- import { Autocomplete as h } from "./components/Autocomplete/Autocomplete.js";
14
+ import { Autocomplete as w } from "./components/Autocomplete/Autocomplete.js";
15
15
  import { Avatar as B } from "./components/Avatar/Avatar.js";
16
16
  import { AvatarGroup as P } from "./components/AvatarGroup/AvatarGroup.js";
17
17
  import { t as y } from "./Loading-u8hXrFJR.js";
@@ -24,193 +24,195 @@ import { Card as X } from "./components/Card/Card.js";
24
24
  import { CheckboxCard as q } from "./components/CheckboxCard/CheckboxCard.js";
25
25
  import { Collapse as K } from "./components/Collapse/Collapse.js";
26
26
  import { CopyButton as Z } from "./components/CopyButton/CopyButton.js";
27
- import { t as rr } from "./Modal-0Wp5szX4.js";
27
+ import { t as rr } from "./Modal-B-l4ii6w.js";
28
28
  import { ConfirmDialog as tr } from "./components/ConfirmDialog/ConfirmDialog.js";
29
29
  import { DatePicker as ir } from "./components/Datepicker/DatePicker.js";
30
- import { Radio as er } from "./components/Radio/Radio.js";
30
+ import { Radio as pr } from "./components/Radio/Radio.js";
31
31
  import { RadioGroup as fr } from "./components/RadioGroup/RadioGroup.js";
32
32
  import { TimePicker as nr } from "./components/TimePicker/TimePicker.js";
33
33
  import { DateRangePicker as dr } from "./components/DateRangePicker/DateRangePicker.js";
34
34
  import { Divider as Tr } from "./components/Divider/Divider.js";
35
- import { Drawer as Cr } from "./components/Drawer/Drawer.js";
36
- import { BadgeMultiSelect as cr } from "./components/Filter/components/BadgeDropdown/BadgeMultiSelect.js";
37
- import { CustomDateRangeFilterDropdown as Rr } from "./components/Filter/components/CustomDateRangeFilterDropdown/CustomDateRangeFilterDropdown.js";
38
- import { DateFilterDropdown as Ar } from "./components/Filter/components/DateFilterDropdown/DateFilterDropdown.js";
39
- import { DateRangeFilterDropdown as br } from "./components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.js";
40
- import { TextMultiSelect as Ir } from "./components/Filter/components/TextMultiSelect/TextMultiSelect.js";
41
- import { TimeFilterDropdown as hr } from "./components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.js";
42
- import { Filter as Br } from "./components/Filter/Filter.js";
43
- import { t as Pr } from "./ImageUpload-BNZjCUTX.js";
44
- import { LineChart as yr } from "./components/LineChart/LineChart.js";
45
- import { OtpInput as Mr } from "./components/OtpInput/OtpInput.js";
46
- import { PasswordRules as Or } from "./components/PasswordRules/PasswordRules.js";
47
- import { t as Gr } from "./components-B_SWqhCL.js";
48
- import { PhoneNumberInput as Ur } from "./components/PhoneNumberInput/PhoneNumberInput.js";
49
- import { PieChart as Qr } from "./components/PieChart/PieChart.js";
50
- import { ProgressBar as Xr } from "./components/ProgressBar/ProgressBar.js";
51
- import { RadioCard as qr } from "./components/RadioCard/RadioCard.js";
52
- import { RadioCardGroup as Kr } from "./components/RadioCardGroup/RadioCardGroup.js";
53
- import { Range as Zr } from "./components/Range/Range.js";
54
- import { Select as ro } from "./components/Select/Select.js";
55
- import { CollapseTrigger as to } from "./components/Sidebar/components/CollapseTrigger/CollapseTrigger.js";
56
- import { Footer as io } from "./components/Sidebar/components/Footer/Footer.js";
57
- import { Label as eo } from "./components/Sidebar/components/Label/Label.js";
58
- import { Logo as fo } from "./components/Sidebar/components/Logo/Logo.js";
59
- import { NavigationGroup as no } from "./components/Sidebar/components/NavigationGroup/NavigationGroup.js";
60
- import { NavigationOption as uo } from "./components/Sidebar/components/NavigationOption/NavigationOption.js";
61
- import { NavigationSeparator as go } from "./components/Sidebar/components/NavigationSeparator/NavigationSeparator.js";
62
- import { Navigation as So } from "./components/Sidebar/components/Navigation/Navigation.js";
63
- import { Sidebar as Do } from "./components/Sidebar/Sidebar.js";
64
- import { Skeleton as vo } from "./components/Skeleton/Skeleton.js";
65
- import { Slider as Vo } from "./components/Slider/Slider.js";
66
- import { t as Eo } from "./Spinner-CTonkSzG.js";
67
- import { horizontalConnectorWrapperVariants as wo, stepConnectorVariants as ho, stepContentVariants as Lo, stepDescriptionVariants as Bo, stepIndicatorVariants as Fo, stepItemVariants as Po, stepLabelVariants as xo, stepListVariants as yo, stepVariants as ko, stepperVariants as Mo } from "./components/Stepper/Stepper.variants.js";
68
- import { Stepper as Oo } from "./components/Stepper/Stepper.js";
69
- import { t as Go } from "./Switch-5cdUxbhX.js";
70
- import { Table as Uo } from "./components/Table/Table.js";
71
- import { Content as Qo } from "./components/Tabs/components/Content.js";
72
- import { List as Xo } from "./components/Tabs/components/List.js";
73
- import { Trigger as qo } from "./components/Tabs/components/Trigger.js";
74
- import { Tabs as Ko } from "./components/Tabs/Tabs.js";
75
- import { Tag as Zo } from "./components/Tag/Tag.js";
76
- import { TagSelect as rt } from "./components/TagSelect/TagSelect.js";
77
- import { TagsInput as tt } from "./components/TagsInput/TagsInput.js";
78
- import { TextArea as it } from "./components/TextArea/TextArea.js";
79
- import { DEFAULT_MAX_VISIBLE_TOASTS as et, DEFAULT_TOAST_DURATION as at, DEFAULT_TOAST_LIMIT as ft } from "./components/Toast/constants/index.js";
80
- import { createToastStore as nt } from "./components/Toast/store/create-toast-store.js";
81
- import { useToastStore as dt, useToastStoreApi as ut } from "./components/Toast/hooks/useToastStore/useToastStore.js";
82
- import { useToast as gt } from "./components/Toast/hooks/useToast/useToast.js";
83
- import { Toast as St } from "./components/Toast/Toast.js";
84
- import { ToastProvider as Dt } from "./components/Toast/ToastProvider.js";
85
- import { t as vt } from "./events.types-BG1Uh8i6.js";
86
- import { sendResetFiltersEvent as Vt } from "./components/VirtualizedTable/events/filters/filters.js";
87
- import { sendRefreshEvent as Et } from "./components/VirtualizedTable/events/refresh/refresh.js";
88
- import { sendCollapseRowEvent as wt, sendExpandRowEvent as ht, sendToggleRowEvent as Lt } from "./components/VirtualizedTable/events/row/row.js";
89
- import { EmptyState as Ft } from "./components/VirtualizedTable/components/EmptyState/EmptyState.js";
90
- import { EmptyResults as xt } from "./components/VirtualizedTable/components/EmptyResults/EmptyResults.js";
91
- import { ErrorState as kt } from "./components/VirtualizedTable/components/ErrorState/ErrorState.js";
92
- import { TruncateText as Nt } from "./components/VirtualizedTable/components/TruncateText/TruncateText.js";
93
- import { preloadVirtualizedTable as _t } from "./components/VirtualizedTable/utils/load-content/load-content.js";
94
- import { VirtualizedTable as zt } from "./components/VirtualizedTable/VirtualizedTable.js";
95
- import { useVirtualizedTableReady as Ht } from "./components/VirtualizedTable/hooks/useVirtualizedTableReady/useVirtualizedTableReady.js";
96
- import { ThemeContext as Wt } from "./contexts/theme.context.js";
97
- import { useTheme as jt } from "./contexts/theme.hook.js";
98
- import { t as Jt } from "./theme.provider-CvL6sqHq.js";
35
+ import { Drawer as Sr } from "./components/Drawer/Drawer.js";
36
+ import { Sheet as cr } from "./components/Sheet/Sheet.js";
37
+ import { BadgeMultiSelect as Rr } from "./components/Filter/components/BadgeDropdown/BadgeMultiSelect.js";
38
+ import { CustomDateRangeFilterDropdown as Ar } from "./components/Filter/components/CustomDateRangeFilterDropdown/CustomDateRangeFilterDropdown.js";
39
+ import { DateFilterDropdown as br } from "./components/Filter/components/DateFilterDropdown/DateFilterDropdown.js";
40
+ import { DateRangeFilterDropdown as Ir } from "./components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.js";
41
+ import { TextMultiSelect as wr } from "./components/Filter/components/TextMultiSelect/TextMultiSelect.js";
42
+ import { TimeFilterDropdown as Br } from "./components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.js";
43
+ import { Filter as Pr } from "./components/Filter/Filter.js";
44
+ import { t as yr } from "./ImageUpload-BNZjCUTX.js";
45
+ import { LineChart as Mr } from "./components/LineChart/LineChart.js";
46
+ import { OtpInput as Or } from "./components/OtpInput/OtpInput.js";
47
+ import { PasswordRules as Gr } from "./components/PasswordRules/PasswordRules.js";
48
+ import { t as Ur } from "./components-Bq71eyUH.js";
49
+ import { PhoneNumberInput as Qr } from "./components/PhoneNumberInput/PhoneNumberInput.js";
50
+ import { PieChart as Xr } from "./components/PieChart/PieChart.js";
51
+ import { ProgressBar as qr } from "./components/ProgressBar/ProgressBar.js";
52
+ import { RadioCard as Kr } from "./components/RadioCard/RadioCard.js";
53
+ import { RadioCardGroup as Zr } from "./components/RadioCardGroup/RadioCardGroup.js";
54
+ import { Range as ro } from "./components/Range/Range.js";
55
+ import { Select as to } from "./components/Select/Select.js";
56
+ import { CollapseTrigger as io } from "./components/Sidebar/components/CollapseTrigger/CollapseTrigger.js";
57
+ import { Footer as po } from "./components/Sidebar/components/Footer/Footer.js";
58
+ import { Label as fo } from "./components/Sidebar/components/Label/Label.js";
59
+ import { Logo as no } from "./components/Sidebar/components/Logo/Logo.js";
60
+ import { NavigationGroup as uo } from "./components/Sidebar/components/NavigationGroup/NavigationGroup.js";
61
+ import { NavigationOption as go } from "./components/Sidebar/components/NavigationOption/NavigationOption.js";
62
+ import { NavigationSeparator as Co } from "./components/Sidebar/components/NavigationSeparator/NavigationSeparator.js";
63
+ import { Navigation as Do } from "./components/Sidebar/components/Navigation/Navigation.js";
64
+ import { Sidebar as vo } from "./components/Sidebar/Sidebar.js";
65
+ import { Skeleton as Vo } from "./components/Skeleton/Skeleton.js";
66
+ import { Slider as Eo } from "./components/Slider/Slider.js";
67
+ import { t as ho } from "./Spinner-CTonkSzG.js";
68
+ import { horizontalConnectorWrapperVariants as Lo, stepConnectorVariants as Bo, stepContentVariants as Fo, stepDescriptionVariants as Po, stepIndicatorVariants as xo, stepItemVariants as yo, stepLabelVariants as ko, stepListVariants as Mo, stepVariants as No, stepperVariants as Oo } from "./components/Stepper/Stepper.variants.js";
69
+ import { Stepper as Go } from "./components/Stepper/Stepper.js";
70
+ import { t as Uo } from "./Switch-5cdUxbhX.js";
71
+ import { Table as Qo } from "./components/Table/Table.js";
72
+ import { Content as Xo } from "./components/Tabs/components/Content.js";
73
+ import { List as qo } from "./components/Tabs/components/List.js";
74
+ import { Trigger as Ko } from "./components/Tabs/components/Trigger.js";
75
+ import { Tabs as Zo } from "./components/Tabs/Tabs.js";
76
+ import { Tag as rt } from "./components/Tag/Tag.js";
77
+ import { TagSelect as tt } from "./components/TagSelect/TagSelect.js";
78
+ import { TagsInput as it } from "./components/TagsInput/TagsInput.js";
79
+ import { TextArea as pt } from "./components/TextArea/TextArea.js";
80
+ import { DEFAULT_MAX_VISIBLE_TOASTS as ft, DEFAULT_TOAST_DURATION as st, DEFAULT_TOAST_LIMIT as nt } from "./components/Toast/constants/index.js";
81
+ import { createToastStore as dt } from "./components/Toast/store/create-toast-store.js";
82
+ import { useToastStore as Tt, useToastStoreApi as gt } from "./components/Toast/hooks/useToastStore/useToastStore.js";
83
+ import { useToast as Ct } from "./components/Toast/hooks/useToast/useToast.js";
84
+ import { Toast as Dt } from "./components/Toast/Toast.js";
85
+ import { ToastProvider as vt } from "./components/Toast/ToastProvider.js";
86
+ import { t as Vt } from "./events.types-BG1Uh8i6.js";
87
+ import { sendResetFiltersEvent as Et } from "./components/VirtualizedTable/events/filters/filters.js";
88
+ import { sendRefreshEvent as ht } from "./components/VirtualizedTable/events/refresh/refresh.js";
89
+ import { sendCollapseRowEvent as Lt, sendExpandRowEvent as Bt, sendToggleRowEvent as Ft } from "./components/VirtualizedTable/events/row/row.js";
90
+ import { EmptyState as xt } from "./components/VirtualizedTable/components/EmptyState/EmptyState.js";
91
+ import { EmptyResults as kt } from "./components/VirtualizedTable/components/EmptyResults/EmptyResults.js";
92
+ import { ErrorState as Nt } from "./components/VirtualizedTable/components/ErrorState/ErrorState.js";
93
+ import { TruncateText as _t } from "./components/VirtualizedTable/components/TruncateText/TruncateText.js";
94
+ import { preloadVirtualizedTable as zt } from "./components/VirtualizedTable/utils/load-content/load-content.js";
95
+ import { VirtualizedTable as Ht } from "./components/VirtualizedTable/VirtualizedTable.js";
96
+ import { useVirtualizedTableReady as Wt } from "./components/VirtualizedTable/hooks/useVirtualizedTableReady/useVirtualizedTableReady.js";
97
+ import { ThemeContext as jt } from "./contexts/theme.context.js";
98
+ import { useTheme as Jt } from "./contexts/theme.hook.js";
99
+ import { t as Yt } from "./theme.provider-CvL6sqHq.js";
99
100
  import "./contexts/index.js";
100
101
  export {
101
102
  T as Alert,
102
103
  c as AlertDialog,
103
- h as Autocomplete,
104
+ w as Autocomplete,
104
105
  B as Avatar,
105
106
  P as AvatarGroup,
106
107
  M as Badge,
107
108
  G as BadgeGroup,
108
- cr as BadgeMultiSelect,
109
- p as Breadcrumb,
110
- C as Button,
109
+ Rr as BadgeMultiSelect,
110
+ e as Breadcrumb,
111
+ S as Button,
111
112
  Q as ButtonGroup,
112
113
  X as Card,
113
114
  o as Checkbox,
114
115
  q as CheckboxCard,
115
116
  K as Collapse,
116
- to as CollapseTrigger,
117
+ io as CollapseTrigger,
117
118
  tr as ConfirmDialog,
118
- Qo as Content,
119
+ Xo as Content,
119
120
  Z as CopyButton,
120
121
  s as Counter,
121
- Rr as CustomDateRangeFilterDropdown,
122
- et as DEFAULT_MAX_VISIBLE_TOASTS,
123
- at as DEFAULT_TOAST_DURATION,
124
- ft as DEFAULT_TOAST_LIMIT,
125
- Ar as DateFilterDropdown,
122
+ Ar as CustomDateRangeFilterDropdown,
123
+ ft as DEFAULT_MAX_VISIBLE_TOASTS,
124
+ st as DEFAULT_TOAST_DURATION,
125
+ nt as DEFAULT_TOAST_LIMIT,
126
+ br as DateFilterDropdown,
126
127
  ir as DatePicker,
127
- br as DateRangeFilterDropdown,
128
+ Ir as DateRangeFilterDropdown,
128
129
  dr as DateRangePicker,
129
130
  Tr as Divider,
130
- Cr as Drawer,
131
- ro as Dropdown,
131
+ Sr as Drawer,
132
+ to as Dropdown,
132
133
  m as DropdownButton,
133
- xt as EmptyResults,
134
- Ft as EmptyState,
135
- kt as ErrorState,
136
- Br as Filter,
137
- io as Footer,
138
- Pr as ImageUpload,
134
+ kt as EmptyResults,
135
+ xt as EmptyState,
136
+ Nt as ErrorState,
137
+ Pr as Filter,
138
+ po as Footer,
139
+ yr as ImageUpload,
139
140
  a as Input,
140
- eo as Label,
141
- yr as LineChart,
142
- Xo as List,
141
+ fo as Label,
142
+ Mr as LineChart,
143
+ qo as List,
143
144
  y as Loading,
144
- fo as Logo,
145
+ no as Logo,
145
146
  rr as Modal,
146
- Gr as MultiSelectDropdown,
147
- So as Navigation,
148
- no as NavigationGroup,
149
- uo as NavigationOption,
150
- go as NavigationSeparator,
147
+ Ur as MultiSelectDropdown,
148
+ Do as Navigation,
149
+ uo as NavigationGroup,
150
+ go as NavigationOption,
151
+ Co as NavigationSeparator,
151
152
  s as NumberInput,
152
- Mr as OtpInput,
153
- Or as PasswordRules,
154
- Ur as PhoneNumberInput,
155
- Qr as PieChart,
156
- Xr as ProgressBar,
157
- er as Radio,
158
- qr as RadioCard,
159
- Kr as RadioCardGroup,
153
+ Or as OtpInput,
154
+ Gr as PasswordRules,
155
+ Qr as PhoneNumberInput,
156
+ Xr as PieChart,
157
+ qr as ProgressBar,
158
+ pr as Radio,
159
+ Kr as RadioCard,
160
+ Zr as RadioCardGroup,
160
161
  fr as RadioGroup,
161
- Zr as Range,
162
- ro as Select,
163
- Do as Sidebar,
164
- vo as Skeleton,
165
- Vo as Slider,
166
- Eo as Spinner,
167
- Oo as Stepper,
168
- Go as Switch,
169
- Uo as Table,
170
- Ko as Tabs,
171
- Zo as Tag,
172
- rt as TagSelect,
173
- tt as TagsInput,
174
- it as TextArea,
175
- Ir as TextMultiSelect,
176
- Wt as ThemeContext,
177
- Jt as ThemeProvider,
178
- hr as TimeFilterDropdown,
162
+ ro as Range,
163
+ to as Select,
164
+ cr as Sheet,
165
+ vo as Sidebar,
166
+ Vo as Skeleton,
167
+ Eo as Slider,
168
+ ho as Spinner,
169
+ Go as Stepper,
170
+ Uo as Switch,
171
+ Qo as Table,
172
+ Zo as Tabs,
173
+ rt as Tag,
174
+ tt as TagSelect,
175
+ it as TagsInput,
176
+ pt as TextArea,
177
+ wr as TextMultiSelect,
178
+ jt as ThemeContext,
179
+ Yt as ThemeProvider,
180
+ Br as TimeFilterDropdown,
179
181
  nr as TimePicker,
180
- St as Toast,
181
- Dt as ToastProvider,
182
+ Dt as Toast,
183
+ vt as ToastProvider,
182
184
  O as Tooltip,
183
- qo as Trigger,
184
- Nt as TruncateText,
185
+ Ko as Trigger,
186
+ _t as TruncateText,
185
187
  U as Typography,
186
- zt as VirtualizedTable,
187
- vt as VirtualizedTableEvent,
188
+ Ht as VirtualizedTable,
189
+ Vt as VirtualizedTableEvent,
188
190
  d as cn,
189
- nt as createToastStore,
190
- wo as horizontalConnectorWrapperVariants,
191
- _t as preloadVirtualizedTable,
191
+ dt as createToastStore,
192
+ Lo as horizontalConnectorWrapperVariants,
193
+ zt as preloadVirtualizedTable,
192
194
  l as resolveColor,
193
- wt as sendCollapseRowEvent,
194
- ht as sendExpandRowEvent,
195
- Et as sendRefreshEvent,
196
- Vt as sendResetFiltersEvent,
197
- Lt as sendToggleRowEvent,
198
- ho as stepConnectorVariants,
199
- Lo as stepContentVariants,
200
- Bo as stepDescriptionVariants,
201
- Fo as stepIndicatorVariants,
202
- Po as stepItemVariants,
203
- xo as stepLabelVariants,
204
- yo as stepListVariants,
205
- ko as stepVariants,
206
- Mo as stepperVariants,
195
+ Lt as sendCollapseRowEvent,
196
+ Bt as sendExpandRowEvent,
197
+ ht as sendRefreshEvent,
198
+ Et as sendResetFiltersEvent,
199
+ Ft as sendToggleRowEvent,
200
+ Bo as stepConnectorVariants,
201
+ Fo as stepContentVariants,
202
+ Po as stepDescriptionVariants,
203
+ xo as stepIndicatorVariants,
204
+ yo as stepItemVariants,
205
+ ko as stepLabelVariants,
206
+ Mo as stepListVariants,
207
+ No as stepVariants,
208
+ Oo as stepperVariants,
207
209
  R as useClickOutside,
208
210
  A as useIsHydrated,
209
211
  b as useMediaQuery,
210
- jt as useTheme,
211
- gt as useToast,
212
- dt as useToastStore,
213
- ut as useToastStoreApi,
212
+ Jt as useTheme,
213
+ Ct as useToast,
214
+ Tt as useToastStore,
215
+ gt as useToastStoreApi,
214
216
  I as useToggle,
215
- Ht as useVirtualizedTableReady
217
+ Wt as useVirtualizedTableReady
216
218
  };
@@ -1,4 +1,4 @@
1
- import { t as i } from "./rolldown-runtime-Dw9YIBcH.js";
1
+ import { t as i } from "./rolldown-runtime-B28h4lGi.js";
2
2
  var m = /* @__PURE__ */ i(((n, t) => {
3
3
  function r(e) {
4
4
  var o = typeof e;
@@ -60,6 +60,16 @@ export type Props = PropsWithChildren & VariantProps<typeof drawerVariants> & {
60
60
  position?: 'left' | 'right';
61
61
  /** Show the X close button in the corner */
62
62
  showCloseButton?: boolean;
63
+ /** Close on a horizontal swipe towards the edge the panel came from (default: true) */
64
+ closeOnSwipe?: boolean;
65
+ /** Take the whole screen below 768px, whatever `defaultWidth` says (default: true) */
66
+ fullScreenOnMobile?: boolean;
67
+ /**
68
+ * Where focus lands on open: the first focusable element (default) or the
69
+ * panel itself, for drawers opened by a tap that should not start with a
70
+ * focus ring on their first control.
71
+ */
72
+ initialFocus?: 'first' | 'panel';
63
73
  /** Theme override for this component */
64
74
  theme?: Theme;
65
75
  /** Callback when drawer is closed (Escape key, overlay click, or close button) */
@@ -1,4 +1,5 @@
1
1
  export declare const drawerVariants: (props?: ({
2
+ fullScreenOnMobile?: boolean | null | undefined;
2
3
  position?: "left" | "right" | null | undefined;
3
4
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
4
5
  export declare const overlayVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
@@ -4,3 +4,4 @@ export declare const DEFAULT_MAX_WIDTH = 800;
4
4
  export declare const ANIMATION_DELAY_MS = 10;
5
5
  export declare const ANIMATION_DURATION_MS = 300;
6
6
  export declare const KEYBOARD_RESIZE_STEP = 20;
7
+ export declare const SWIPE_THRESHOLD = 60;
@@ -3,7 +3,8 @@ import { Props } from './DropdownButton.types';
3
3
  /**
4
4
  * A button with an attached dropdown menu for selecting actions.
5
5
  * Built on Radix DropdownMenu: closes on outside click or Escape, and
6
- * supports full keyboard navigation.
6
+ * supports full keyboard navigation. With `sheetTitle` the menu becomes an
7
+ * action sheet docked to the bottom of the screen on touch devices.
7
8
  *
8
9
  * @example
9
10
  * ```tsx
@@ -1,4 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
+ import { Theme } from '../../domain/theme';
2
3
  import { Props as ButtonProps } from '../Button/Button.types';
3
4
  /**
4
5
  * Configuration for a dropdown menu option.
@@ -8,6 +9,14 @@ export type Option = {
8
9
  label: string | ReactNode;
9
10
  /** Callback fired when this option is selected */
10
11
  onClick?: VoidFunction;
12
+ /** Keep the option visible but inert */
13
+ disabled?: boolean;
14
+ /** Why the option is disabled; rendered beside the label and implies `disabled` */
15
+ disabledReason?: ReactNode;
16
+ /** Style the option as a destructive action */
17
+ destructive?: boolean;
18
+ /** Draw a divider above this option */
19
+ separator?: boolean;
11
20
  };
12
21
  /**
13
22
  * Props for the DropdownButton component.
@@ -24,6 +33,8 @@ export type Option = {
24
33
  * ```
25
34
  */
26
35
  export type Props = {
36
+ /** Edge of the trigger the menu aligns to (default: 'start') */
37
+ align?: 'start' | 'end';
27
38
  /** Appearance of the trigger button */
28
39
  appearance?: ButtonProps['appearance'];
29
40
  /** Additional CSS classes for the trigger button */
@@ -42,6 +53,20 @@ export type Props = {
42
53
  listClassName?: string;
43
54
  /** Array of options to display in the dropdown */
44
55
  options: Option[];
56
+ /**
57
+ * Render the options as an action sheet docked to the bottom of the screen
58
+ * instead of a dropdown while `sheetQuery` matches. The title heads the sheet.
59
+ */
60
+ sheetTitle?: ReactNode;
61
+ /**
62
+ * Media query that switches to the action sheet (default: touch pointers and
63
+ * viewports under 768px).
64
+ */
65
+ sheetQuery?: string;
66
+ /** Screen edge the action sheet docks to (default: 'bottom') */
67
+ sheetPosition?: 'bottom' | 'top';
68
+ /** Theme override for the dropdown and the sheet */
69
+ theme?: Theme;
45
70
  /** Variant of the trigger button */
46
71
  variant?: ButtonProps['variant'];
47
72
  /** Version of the trigger button */
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ import { Props } from './ActionSheet.types';
3
+ /**
4
+ * The touch-screen counterpart of the dropdown menu: a Sheet with one 44px
5
+ * button per option.
6
+ */
7
+ export declare const ActionSheet: FC<Props>;
@@ -0,0 +1,12 @@
1
+ import { ReactNode } from 'react';
2
+ import { Theme } from '../../../../domain/theme';
3
+ import { Option } from '../../DropdownButton.types';
4
+ export type Props = {
5
+ isOpen: boolean;
6
+ onClose: () => void;
7
+ title: ReactNode;
8
+ options: Option[];
9
+ itemClassName?: string;
10
+ position?: 'bottom' | 'top';
11
+ theme?: Theme;
12
+ };
@@ -34,6 +34,8 @@ export type Props = PropsWithChildren & VariantProps<typeof modalVariants> & {
34
34
  container?: Element | DocumentFragment;
35
35
  /** Whether the modal is open */
36
36
  isOpen?: boolean;
37
+ /** Close when the overlay behind the modal is clicked. Defaults to true */
38
+ closeOnOverlayClick?: boolean;
37
39
  /** Show the X close button in the corner */
38
40
  showCloseButton?: boolean;
39
41
  /** Theme override for this component */
@@ -10,6 +10,7 @@ export type Props = PropsWithChildren & VariantProps<typeof modalVariants> & {
10
10
  autoFocus?: boolean;
11
11
  buttonCloseClassName?: string;
12
12
  className?: string;
13
+ closeOnOverlayClick?: boolean;
13
14
  containerClassName?: string;
14
15
  showCloseButton?: boolean;
15
16
  theme?: Theme;
@@ -0,0 +1,21 @@
1
+ import { FC } from 'react';
2
+ import { Props } from './Sheet.types';
3
+ /**
4
+ * A dialog docked to the bottom (or top) edge of the screen, full width: the
5
+ * touch-screen counterpart of a dropdown or a popover menu. It slides in and
6
+ * out, dims the page behind a scrim, and keeps its content scrollable within
7
+ * the viewport. Radix unmounts closed dialogs, so the portal is force-mounted
8
+ * and AnimatePresence keeps it around for the exit animation.
9
+ *
10
+ * Multi-step sheets pass a `step`: when it changes the content slides across
11
+ * (forward for a higher step, back for a lower one) and the panel height
12
+ * animates to the new content.
13
+ *
14
+ * @example
15
+ * ```tsx
16
+ * <Sheet isOpen={isOpen} onClose={() => setIsOpen(false)} title="Region">
17
+ * <button type="button">London</button>
18
+ * </Sheet>
19
+ * ```
20
+ */
21
+ export declare const Sheet: FC<Props>;
@@ -0,0 +1,39 @@
1
+ import { PropsWithChildren, ReactNode } from 'react';
2
+ import { Theme } from '../../domain/theme';
3
+ export type SheetPosition = 'bottom' | 'top';
4
+ /**
5
+ * Props for the Sheet component.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * <Sheet isOpen={isOpen} onClose={() => setIsOpen(false)} title="Region">
10
+ * <button type="button">London</button>
11
+ * </Sheet>
12
+ * ```
13
+ */
14
+ export type Props = PropsWithChildren<{
15
+ /** Whether the sheet is open */
16
+ isOpen: boolean;
17
+ /** Called when the sheet asks to close: scrim tap, Escape, or `closeOnSelect` */
18
+ onClose: () => void;
19
+ /** Heading of the sheet; also its accessible name */
20
+ title: ReactNode;
21
+ /** Keep the title for assistive technology only */
22
+ hideTitle?: boolean;
23
+ /** Rendered before the title, e.g. a back button for a nested step */
24
+ leading?: ReactNode;
25
+ /** Screen edge the sheet docks to (default: 'bottom') */
26
+ position?: SheetPosition;
27
+ /**
28
+ * Index of the step the content shows. Changing it slides the content across
29
+ * (forward for a higher index, back for a lower one) and animates the panel
30
+ * height to the new content.
31
+ */
32
+ step?: number;
33
+ /** Additional CSS classes for the panel */
34
+ className?: string;
35
+ /** Additional CSS classes for the scrolling body */
36
+ bodyClassName?: string;
37
+ /** Theme override for the sheet */
38
+ theme?: Theme;
39
+ }>;
@@ -72,6 +72,15 @@ export interface Props extends Omit<VariantProps<typeof wrapperSiderbarVariants>
72
72
  triggerClassName?: string;
73
73
  /** Accessible label for the mobile navigation trigger */
74
74
  openNavigationLabel?: string;
75
+ /**
76
+ * In `collapsed` mode, expanding through the CollapseTrigger floats the
77
+ * expanded sidebar over the page behind a scrim instead of pushing the
78
+ * content. Tapping the scrim, pressing Escape or choosing a destination
79
+ * collapses it again. The `<aside>` carries `data-overlay` while floating.
80
+ */
81
+ expandAsOverlay?: boolean;
82
+ /** Additional CSS classes for the scrim rendered behind the floating sidebar */
83
+ overlayClassName?: string;
75
84
  /**
76
85
  * Per-slot class overrides for the underlying `Drawer` rendered in
77
86
  * `drawer` mode. Mirrors `Drawer`'s `classNames` shape: `root`, `overlay`,