@konstructio/ui 0.1.2-alpha.101 → 0.1.2-alpha.104

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 (349) hide show
  1. package/README.md +15 -21
  2. package/dist/{AdditionalOptions-Cj29eeMF.js → AdditionalOptions-D0BAS2HG.js} +1 -1
  3. package/dist/AlertDialogTrigger-BGo_acd5.js +109 -0
  4. package/dist/{Breadcrumb-Bmv0vzgt.js → Breadcrumb-Cp3abB2w.js} +1 -1
  5. package/dist/Checkbox-B_ngk9Dj.js +249 -0
  6. package/dist/{Combination-cjXRJS03.js → Combination-CnMM05mt.js} +51 -45
  7. package/dist/{CommandInput-CYYsk_31.js → CommandInput-BLq69pOT.js} +2 -2
  8. package/dist/Counter-BV680M5r.js +195 -0
  9. package/dist/{DayPicker-CwO8Zff5.js → DayPicker-kweJz134.js} +750 -746
  10. package/dist/DropdownButton-DfNojmCW.js +493 -0
  11. package/dist/FlagSelectorList-CkTR3j6O.js +856 -0
  12. package/dist/{HamburgerTrigger-7a4POUaM.js → HamburgerTrigger-DRylBL2d.js} +2 -2
  13. package/dist/{ImageUpload-DZTm4SBB.js → ImageUpload-DiwymQcU.js} +1 -1
  14. package/dist/{Input-DG3snJf_.js → Input-Cf44DzfE.js} +19 -19
  15. package/dist/{Loading-fD0Xiyeq.js → Loading-DUh9PMJN.js} +3 -1
  16. package/dist/Modal-Dyn088X7.js +81 -0
  17. package/dist/Sidebar.css +1 -1
  18. package/dist/{Spinner-BegZ5yd7.js → Spinner-CUwE2bLm.js} +1 -1
  19. package/dist/Switch-aPhL5rNG.js +196 -0
  20. package/dist/Toast-3NEz7LLa.js +460 -0
  21. package/dist/Wrapper-BhqUVI1G.js +171 -0
  22. package/dist/Wrapper-CVJSuYWx.js +114 -0
  23. package/dist/{Wrapper-DtT29fc5.js → Wrapper-DP6Sxngx.js} +185 -180
  24. package/dist/components/Alert/Alert.js +22 -22
  25. package/dist/components/AlertDialog/AlertDialog.js +1 -1
  26. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
  27. package/dist/components/AlertDialog/components/index.js +1 -1
  28. package/dist/components/AlertDialog/hooks/useAlertDialog.js +14 -10
  29. package/dist/components/Autocomplete/components/List/List.js +22 -26
  30. package/dist/components/Autocomplete/components/List/List.variants.js +7 -19
  31. package/dist/components/Autocomplete/hooks/useAutocomplete.js +39 -38
  32. package/dist/components/Autocomplete/hooks/useNavigationList.js +2 -1
  33. package/dist/components/Badge/Badge.js +37 -36
  34. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  35. package/dist/components/Button/Button.js +1 -1
  36. package/dist/components/Checkbox/Checkbox.js +1 -1
  37. package/dist/components/Command/Command.js +2 -2
  38. package/dist/components/Command/components/Command.js +6 -6
  39. package/dist/components/Command/components/CommandEmpty.js +1 -1
  40. package/dist/components/Command/components/CommandGroup.js +1 -1
  41. package/dist/components/Command/components/CommandInput.js +1 -1
  42. package/dist/components/Command/components/CommandItem.js +1 -1
  43. package/dist/components/Command/components/CommandList.js +2 -2
  44. package/dist/components/Command/components/CommandSeparator.js +1 -1
  45. package/dist/components/Command/components/DialogContent.js +3 -3
  46. package/dist/components/Command/components/DialogOverlay.js +1 -1
  47. package/dist/components/Command/components/index.js +1 -1
  48. package/dist/components/Command/contexts/Command.provider.js +16 -12
  49. package/dist/components/Counter/Counter.js +1 -1
  50. package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/CalendarMonth.js +2 -2
  51. package/dist/components/DateRangePicker/components/CalendarPanel/components/IndependentModeCalendar/IndependentModeCalendar.js +57 -58
  52. package/dist/components/DateRangePicker/components/CalendarPanel/components/TogetherModeCalendar/TogetherModeCalendar.js +42 -43
  53. package/dist/components/DateRangePicker/components/CalendarPanel/constants/dayPickerClassNames.js +1 -1
  54. package/dist/components/DateRangePicker/components/CalendarPanel/constants/index.js +1 -1
  55. package/dist/components/DateRangePicker/components/CalendarPanel/hooks/index.js +1 -1
  56. package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useIndependentCarousel.js +42 -50
  57. package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useTogetherCarousel.js +61 -79
  58. package/dist/components/DateRangePicker/components/CalendarPanel/utils/index.js +1 -1
  59. package/dist/components/DateRangePicker/components/DateTimeInputs/components/EndInputFields/EndInputFields.js +1 -1
  60. package/dist/components/DateRangePicker/components/DateTimeInputs/components/StartInputFields/StartInputFields.js +1 -1
  61. package/dist/components/DateRangePicker/components/DateTimeInputs/hooks/useDateTimeInputs.js +89 -122
  62. package/dist/components/Datepicker/DatePicker.js +15 -16
  63. package/dist/components/Drawer/Drawer.js +54 -49
  64. package/dist/components/Drawer/hooks/useDrawer.js +39 -44
  65. package/dist/components/DropdownButton/DropdownButton.js +1 -1
  66. package/dist/components/Filter/Filter.js +25 -23
  67. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.hook.js +42 -57
  68. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +60 -65
  69. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +29 -50
  70. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +40 -45
  71. package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.hook.js +35 -49
  72. package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.js +45 -51
  73. package/dist/components/Filter/components/FilterDropdown/FilterDropdown.js +28 -0
  74. package/dist/components/Filter/components/ResetButton/ResetButton.js +21 -18
  75. package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.js +56 -61
  76. package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.hook.js +35 -50
  77. package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.js +70 -75
  78. package/dist/components/Filter/contexts/filter.provider.js +15 -7
  79. package/dist/components/Filter/events/index.js +26 -5
  80. package/dist/components/Filter/hooks/index.js +4 -0
  81. package/dist/components/Filter/hooks/useFilterDropdownSync.js +26 -0
  82. package/dist/components/Filter/utils/index.js +1 -1
  83. package/dist/components/ImageUpload/ImageUpload.js +1 -1
  84. package/dist/components/Input/Input.js +1 -1
  85. package/dist/components/LineChart/LineChart.js +1 -1
  86. package/dist/components/Loading/Loading.js +1 -1
  87. package/dist/components/Modal/Modal.js +1 -1
  88. package/dist/components/Modal/components/Body/Body.js +1 -1
  89. package/dist/components/Modal/components/Footer/Footer.js +1 -1
  90. package/dist/components/Modal/components/Header/Header.js +1 -1
  91. package/dist/components/Modal/components/Wrapper/Wrapper.js +1 -1
  92. package/dist/components/Modal/components/index.js +1 -1
  93. package/dist/components/Modal/contexts/Modal.provider.js +26 -19
  94. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +1 -1
  95. package/dist/components/MultiSelectDropdown/components/List/List.js +1 -1
  96. package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +1 -1
  97. package/dist/components/MultiSelectDropdown/components/index.js +1 -1
  98. package/dist/components/MultiSelectDropdown/hooks/useMultiSelectDropdown.js +14 -13
  99. package/dist/components/PhoneNumberInput/PhoneNumberInput.js +2 -2
  100. package/dist/components/PhoneNumberInput/components/FlagContent/FlagContent.js +6 -4
  101. package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +1 -1
  102. package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +16 -16
  103. package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +2 -2
  104. package/dist/components/PhoneNumberInput/components/Wrapper.js +1 -1
  105. package/dist/components/PhoneNumberInput/components/index.js +2 -2
  106. package/dist/components/PhoneNumberInput/contexts/index.js +1 -1
  107. package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +1 -1
  108. package/dist/components/PieChart/PieChart.js +33 -32
  109. package/dist/components/ProgressBar/ProgressBar.js +26 -20
  110. package/dist/components/Radio/Radio.js +28 -30
  111. package/dist/components/RadioCardGroup/RadioCardGroup.js +18 -18
  112. package/dist/components/RadioGroup/RadioGroup.js +24 -24
  113. package/dist/components/Range/Range.js +15 -13
  114. package/dist/components/Select/Select.js +2 -2
  115. package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.js +1 -1
  116. package/dist/components/Select/components/List/List.js +3 -3
  117. package/dist/components/Select/components/ListItem/ListItem.js +30 -30
  118. package/dist/components/Select/components/Wrapper.js +1 -1
  119. package/dist/components/Select/components/index.js +2 -2
  120. package/dist/components/Select/hooks/useSelect.js +39 -38
  121. package/dist/components/Sidebar/Sidebar.js +21 -18
  122. package/dist/components/Sidebar/components/CollapseTrigger/CollapseTrigger.js +30 -0
  123. package/dist/components/Sidebar/components/CollapseTrigger/CollapseTrigger.variants.js +20 -0
  124. package/dist/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.js +1 -1
  125. package/dist/components/Sidebar/components/Logo/Logo.js +14 -10
  126. package/dist/components/Sidebar/components/Logo/Logo.variants.js +14 -4
  127. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +41 -37
  128. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +4 -5
  129. package/dist/components/Sidebar/components/Wrapper/Wrapper.js +75 -68
  130. package/dist/components/Sidebar/components/index.js +17 -15
  131. package/dist/components/Sidebar/contexts/SidebarContext.js +8 -5
  132. package/dist/components/Slider/Slider.js +17 -15
  133. package/dist/components/Spinner/Spinner.js +1 -1
  134. package/dist/components/Stepper/Stepper.variants.js +6 -6
  135. package/dist/components/Stepper/hooks/useStepItemLogic.js +12 -17
  136. package/dist/components/Switch/Switch.js +1 -1
  137. package/dist/components/Table/components/Filter.js +1 -1
  138. package/dist/components/Tabs/Tabs.js +1 -1
  139. package/dist/components/Tabs/Tabs.variants.js +1 -1
  140. package/dist/components/Tabs/components/Content.js +1 -1
  141. package/dist/components/Tabs/components/List.js +1 -1
  142. package/dist/components/Tabs/components/Trigger.js +1 -1
  143. package/dist/components/Tag/Tag.js +1 -1
  144. package/dist/components/Tag/Tag.variants.js +17 -17
  145. package/dist/components/TagSelect/TagSelect.js +1 -1
  146. package/dist/components/TagSelect/components/Wrapper/Wrapper.js +1 -1
  147. package/dist/components/TagSelect/components/index.js +1 -1
  148. package/dist/components/TagSelect/hooks/useTagSelect.js +12 -11
  149. package/dist/components/TimePicker/components/HoursList/HoursList.js +34 -38
  150. package/dist/components/TimePicker/components/MeridianList/MeridianList.js +25 -29
  151. package/dist/components/TimePicker/components/MinutesList/MinutesList.js +33 -33
  152. package/dist/components/TimePicker/components/Wrapper/Wrapper.js +91 -99
  153. package/dist/components/TimePicker/components/WrapperList/WrapperList.js +29 -30
  154. package/dist/components/TimePicker/contexts/time-picker.provider.js +10 -10
  155. package/dist/components/Toast/Toast.js +1 -1
  156. package/dist/components/Toast/Toast.variants.js +1 -1
  157. package/dist/components/Tooltip/Tooltip.js +1 -1
  158. package/dist/components/VirtualizedTable/VirtualizedTable.js +92 -89
  159. package/dist/components/VirtualizedTable/components/Actions/Actions.js +19 -21
  160. package/dist/components/VirtualizedTable/components/Body/Body.js +50 -49
  161. package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +67 -21
  162. package/dist/components/VirtualizedTable/components/ExpandableRow/ExpandableRow.js +1 -1
  163. package/dist/components/VirtualizedTable/components/Filter/Filter.js +67 -75
  164. package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +10 -10
  165. package/dist/components/VirtualizedTable/components/Header/Header.js +47 -34
  166. package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +19 -15
  167. package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +10 -10
  168. package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +1 -1
  169. package/dist/components/VirtualizedTable/components/WrapperBody/WrapperBody.js +8 -8
  170. package/dist/components/VirtualizedTable/contexts/index.js +1 -1
  171. package/dist/components/VirtualizedTable/contexts/table.context.js +1 -0
  172. package/dist/components/VirtualizedTable/contexts/table.provider.js +1 -1
  173. package/dist/components/VirtualizedTable/events/filters/filters.js +7 -0
  174. package/dist/components/VirtualizedTable/events/index.js +10 -25
  175. package/dist/components/VirtualizedTable/events/refresh/refresh.js +7 -0
  176. package/dist/components/VirtualizedTable/events/row/row.js +22 -0
  177. package/dist/components/VirtualizedTable/utils/get-table-id.js +4 -0
  178. package/dist/components/VirtualizedTable/utils/index.js +4 -2
  179. package/dist/components/index.js +96 -90
  180. package/dist/{components-CYt24H4n.js → components-Cf345jTv.js} +45 -41
  181. package/dist/constants-CxJJRVK3.js +31 -0
  182. package/dist/{debounce-KoeGNmnW.js → debounce-C5Ycjilj.js} +14 -14
  183. package/dist/dist-BUocnzkM.js +99 -0
  184. package/dist/{dist-DGO9opgu.js → dist-BZNE2Tnx.js} +51 -51
  185. package/dist/dist-BaPW7qXd2.js +166 -0
  186. package/dist/dist-BdobXn93.js +192 -0
  187. package/dist/dist-BlPTJNIm.js +118 -0
  188. package/dist/dist-C3YVLapk.js +194 -0
  189. package/dist/dist-C4j75TwZ.js +20 -0
  190. package/dist/dist-CCdbu9GU.js +46 -0
  191. package/dist/dist-CzKqHuqJ2.js +427 -0
  192. package/dist/dist-D-yS0HN8.js +228 -0
  193. package/dist/dist-D5XYRjmR.js +15 -0
  194. package/dist/dist-DDck_2lb.js +451 -0
  195. package/dist/dist-DFCz63oC2.js +1320 -0
  196. package/dist/dist-DGOjiAnB2.js +14 -0
  197. package/dist/dist-DKryKPmP.js +193 -0
  198. package/dist/dist-DX0sBG3Q.js +31 -0
  199. package/dist/dist-DYIabsrY.js +17 -0
  200. package/dist/dist-pWlMx4Fi2.js +36 -0
  201. package/dist/dist-tGUUcv8n.js +359 -0
  202. package/dist/dist-xCbHbMLA.js +116 -0
  203. package/dist/es2015-CoHq2g4y.js +231 -0
  204. package/dist/es2015-DigR3dar.js +795 -0
  205. package/dist/events.types-BG1Uh8i6.js +6 -0
  206. package/dist/hooks/index.js +6 -4
  207. package/dist/hooks/useClickOutside.js +14 -0
  208. package/dist/index.js +147 -139
  209. package/dist/{isObject-1ZmdWuhC.js → isObject-BeFFiVJK.js} +8 -8
  210. package/dist/lib/components/Alert/Alert.types.d.ts +1 -1
  211. package/dist/lib/components/AlertDialog/AlertDialog.types.d.ts +1 -1
  212. package/dist/lib/components/AlertDialog/components/AlertDialogTrigger.types.d.ts +2 -2
  213. package/dist/lib/components/Autocomplete/Autocomplete.types.d.ts +1 -1
  214. package/dist/lib/components/Autocomplete/components/List/List.variants.d.ts +0 -1
  215. package/dist/lib/components/Breadcrumb/Breadcrumb.types.d.ts +1 -1
  216. package/dist/lib/components/Breadcrumb/components/BackButton/BackButton.types.d.ts +1 -1
  217. package/dist/lib/components/Breadcrumb/components/Item/Item.types.d.ts +1 -1
  218. package/dist/lib/components/Button/Button.types.d.ts +1 -1
  219. package/dist/lib/components/ButtonGroup/ButtonGroup.types.d.ts +1 -1
  220. package/dist/lib/components/Card/Card.types.d.ts +1 -1
  221. package/dist/lib/components/Checkbox/Checkbox.types.d.ts +1 -1
  222. package/dist/lib/components/Command/Command.types.d.ts +1 -1
  223. package/dist/lib/components/Counter/Counter.types.d.ts +1 -1
  224. package/dist/lib/components/DateRangePicker/DateRangePicker.types.d.ts +1 -1
  225. package/dist/lib/components/Drawer/Drawer.types.d.ts +1 -1
  226. package/dist/lib/components/DropdownButton/DropdownButton.d.ts +5 -6
  227. package/dist/lib/components/DropdownButton/DropdownButton.types.d.ts +2 -0
  228. package/dist/lib/components/Filter/Filter.types.d.ts +3 -1
  229. package/dist/lib/components/Filter/components/BadgeDropdown/BadgeMultiSelect.hook.d.ts +2 -3
  230. package/dist/lib/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.d.ts +1 -2
  231. package/dist/lib/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.hook.d.ts +2 -3
  232. package/dist/lib/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.types.d.ts +1 -1
  233. package/dist/lib/components/Filter/components/FilterDropdown/FilterDropdown.d.ts +3 -0
  234. package/dist/lib/components/Filter/components/FilterDropdown/FilterDropdown.types.d.ts +9 -0
  235. package/dist/lib/components/Filter/components/ResetButton/ResetButton.types.d.ts +1 -1
  236. package/dist/lib/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.hook.d.ts +1 -2
  237. package/dist/lib/components/Filter/contexts/filter.context.d.ts +2 -0
  238. package/dist/lib/components/Filter/events/index.d.ts +10 -2
  239. package/dist/lib/components/Filter/hooks/index.d.ts +1 -0
  240. package/dist/lib/components/Filter/hooks/useFilterDropdownSync.d.ts +2 -0
  241. package/dist/lib/components/Filter/hooks/useFilterDropdownSync.types.d.ts +5 -0
  242. package/dist/lib/components/ImageUpload/ImageUpload.types.d.ts +1 -1
  243. package/dist/lib/components/Input/Input.types.d.ts +1 -1
  244. package/dist/lib/components/LineChart/LineChart.types.d.ts +1 -1
  245. package/dist/lib/components/Loading/Loading.types.d.ts +1 -1
  246. package/dist/lib/components/Modal/Modal.types.d.ts +1 -1
  247. package/dist/lib/components/Modal/components/Wrapper/Wrapper.types.d.ts +1 -1
  248. package/dist/lib/components/MultiSelectDropdown/components/Item/Item.types.d.ts +1 -1
  249. package/dist/lib/components/MultiSelectDropdown/components/List/List.types.d.ts +1 -1
  250. package/dist/lib/components/MultiSelectDropdown/components/Wrapper/Wrapper.types.d.ts +1 -1
  251. package/dist/lib/components/PieChart/PieChart.types.d.ts +4 -4
  252. package/dist/lib/components/ProgressBar/ProgressBar.types.d.ts +3 -1
  253. package/dist/lib/components/Radio/Radio.types.d.ts +1 -1
  254. package/dist/lib/components/RadioCard/RadioCard.types.d.ts +1 -1
  255. package/dist/lib/components/RadioCardGroup/RadioCardGroup.types.d.ts +1 -1
  256. package/dist/lib/components/RadioGroup/RadioGroup.types.d.ts +1 -1
  257. package/dist/lib/components/Range/Range.types.d.ts +1 -1
  258. package/dist/lib/components/Select/Select.types.d.ts +1 -1
  259. package/dist/lib/components/Select/hooks/useSelect.d.ts +2 -1
  260. package/dist/lib/components/Sidebar/Sidebar.d.ts +2 -2
  261. package/dist/lib/components/Sidebar/Sidebar.types.d.ts +8 -7
  262. package/dist/lib/components/Sidebar/components/CollapseTrigger/CollapseTrigger.d.ts +4 -0
  263. package/dist/lib/components/Sidebar/components/CollapseTrigger/CollapseTrigger.types.d.ts +4 -0
  264. package/dist/lib/components/Sidebar/components/CollapseTrigger/CollapseTrigger.variants.d.ts +1 -0
  265. package/dist/lib/components/Sidebar/components/Label/Label.types.d.ts +1 -1
  266. package/dist/lib/components/Sidebar/components/Logo/Logo.types.d.ts +8 -0
  267. package/dist/lib/components/Sidebar/components/Logo/Logo.variants.d.ts +3 -1
  268. package/dist/lib/components/Sidebar/components/index.d.ts +2 -0
  269. package/dist/lib/components/Sidebar/contexts/SidebarContext.d.ts +12 -0
  270. package/dist/lib/components/Slider/Slider.types.d.ts +1 -1
  271. package/dist/lib/components/Spinner/Spinner.types.d.ts +2 -2
  272. package/dist/lib/components/Stepper/Stepper.types.d.ts +1 -1
  273. package/dist/lib/components/Stepper/components/StepItem/StepItem.types.d.ts +1 -1
  274. package/dist/lib/components/Switch/Switch.types.d.ts +1 -1
  275. package/dist/lib/components/Table/Table.types.d.ts +1 -1
  276. package/dist/lib/components/Tabs/Tabs.types.d.ts +1 -1
  277. package/dist/lib/components/TagSelect/TagSelect.types.d.ts +1 -1
  278. package/dist/lib/components/TagSelect/components/Item/Item.types.d.ts +2 -2
  279. package/dist/lib/components/TagSelect/components/List/List.types.d.ts +1 -1
  280. package/dist/lib/components/TagSelect/components/Wrapper/Wrapper.types.d.ts +1 -1
  281. package/dist/lib/components/TagSelect/contexts/TagSelect.types.d.ts +1 -1
  282. package/dist/lib/components/TextArea/TextArea.types.d.ts +1 -1
  283. package/dist/lib/components/Toast/Toast.types.d.ts +1 -1
  284. package/dist/lib/components/Typography/Typography.types.d.ts +1 -1
  285. package/dist/lib/components/VirtualizedTable/VirtualizedTable.d.ts +1 -0
  286. package/dist/lib/components/VirtualizedTable/VirtualizedTable.types.d.ts +27 -3
  287. package/dist/lib/components/VirtualizedTable/components/Body/Body.d.ts +1 -1
  288. package/dist/lib/components/VirtualizedTable/components/Body/Body.types.d.ts +1 -0
  289. package/dist/lib/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.types.d.ts +2 -0
  290. package/dist/lib/components/VirtualizedTable/components/Filter/Filter.types.d.ts +1 -1
  291. package/dist/lib/components/VirtualizedTable/components/Header/Header.d.ts +1 -1
  292. package/dist/lib/components/VirtualizedTable/components/Header/Header.types.d.ts +1 -0
  293. package/dist/lib/components/VirtualizedTable/components/Pagination/Pagination.types.d.ts +2 -0
  294. package/dist/lib/components/VirtualizedTable/components/TruncateText/TruncateText.types.d.ts +1 -1
  295. package/dist/lib/components/VirtualizedTable/contexts/table.context.d.ts +2 -0
  296. package/dist/lib/components/VirtualizedTable/contexts/table.provider.d.ts +1 -1
  297. package/dist/lib/components/VirtualizedTable/contexts/table.types.d.ts +1 -0
  298. package/dist/lib/components/VirtualizedTable/events/events.types.d.ts +11 -0
  299. package/dist/lib/components/VirtualizedTable/events/filters/filters.d.ts +1 -0
  300. package/dist/lib/components/VirtualizedTable/events/index.d.ts +4 -14
  301. package/dist/lib/components/VirtualizedTable/events/refresh/refresh.d.ts +2 -0
  302. package/dist/lib/components/VirtualizedTable/events/refresh/refresh.types.d.ts +3 -0
  303. package/dist/lib/components/VirtualizedTable/events/row/row.d.ts +3 -0
  304. package/dist/lib/components/VirtualizedTable/utils/get-table-id.d.ts +1 -0
  305. package/dist/lib/components/VirtualizedTable/utils/index.d.ts +1 -0
  306. package/dist/lib/components/index.d.ts +2 -2
  307. package/dist/lib/contexts/theme.context.d.ts +1 -1
  308. package/dist/lib/contexts/theme.hook.d.ts +1 -1
  309. package/dist/lib/hooks/index.d.ts +1 -0
  310. package/dist/lib/hooks/useClickOutside.d.ts +2 -0
  311. package/dist/package.json +38 -37
  312. package/dist/{phone-number.provider-CJJOFYk-.js → phone-number.provider-BxQCTxp8.js} +457 -457
  313. package/dist/{prop-types-CaJpPVsa.js → prop-types-CfEYxTbR.js} +52 -52
  314. package/dist/styles.css +1 -1
  315. package/dist/{table.provider-9uUt5a-s.js → table.provider-B0BafHuU.js} +429 -388
  316. package/dist/ui/civo-theme.css +4 -0
  317. package/dist/ui/kubefirst-theme.css +4 -0
  318. package/dist/{utils-B6A9pnrH.js → utils-B-BTGYA5.js} +193 -193
  319. package/dist/{x-CESTrenk.js → x-BI9jmc7e.js} +1 -1
  320. package/package.json +38 -37
  321. package/dist/AlertDialogTrigger-HhbFOOUE.js +0 -124
  322. package/dist/Checkbox-B1rTwzR3.js +0 -240
  323. package/dist/Counter-DWKyr569.js +0 -208
  324. package/dist/DropdownButton-Beel5_gN.js +0 -92
  325. package/dist/FlagSelectorList-BARhzfj2.js +0 -848
  326. package/dist/Modal-Bcu6LLAp.js +0 -76
  327. package/dist/Switch-1RGhhTtg.js +0 -178
  328. package/dist/Toast-CS-igZor.js +0 -467
  329. package/dist/Wrapper-DNEn4fef.js +0 -161
  330. package/dist/Wrapper-DwxJAkNQ.js +0 -110
  331. package/dist/constants-DXrF9vV4.js +0 -31
  332. package/dist/dist-7edduNXi.js +0 -398
  333. package/dist/dist-B-Aoze_D.js +0 -10
  334. package/dist/dist-BkYHh2kH.js +0 -408
  335. package/dist/dist-C6Cif8-U.js +0 -28
  336. package/dist/dist-C8NWUTUh.js +0 -62
  337. package/dist/dist-CVy-ulDZ.js +0 -42
  338. package/dist/dist-CeuUxVmT.js +0 -13
  339. package/dist/dist-CfYOvauX.js +0 -125
  340. package/dist/dist-CktbIsHq.js +0 -264
  341. package/dist/dist-DGqWMRtc.js +0 -183
  342. package/dist/dist-DdFwUrO22.js +0 -11
  343. package/dist/dist-DnGj9MTf.js +0 -1692
  344. package/dist/dist-DqKFpce5.js +0 -98
  345. package/dist/dist-DvoMuWKO2.js +0 -31
  346. package/dist/dist-eAwtFCCA.js +0 -87
  347. package/dist/dist-ppXKUlVt.js +0 -10
  348. /package/dist/{dist-AihTpWdF2.js → dist-AihTpWdF.js} +0 -0
  349. /package/dist/{x-a_LpoXzG.js → x-a_LpoXzG2.js} +0 -0
@@ -1,13 +1,12 @@
1
- import { DateRange, DateRangeWithTime } from '../../../../../components/DateRangePicker/DateRangePicker.types';
1
+ import { DateRange, DateRangeWithTime } from '../../../DateRangePicker/DateRangePicker.types';
2
2
  import { DateRangeFilterDropdownProps } from './DateRangeFilterDropdown.types';
3
3
  export declare const useDateRangeFilterDropdown: ({ defaultRange, onApply, countryCode, }: Pick<DateRangeFilterDropdownProps, "defaultRange" | "onApply" | "countryCode">) => {
4
4
  id: string;
5
5
  appliedRange: string | undefined;
6
6
  isOpen: boolean;
7
7
  selectedRange: DateRange | undefined;
8
- wrapperRef: import('react').RefObject<HTMLDivElement | null>;
9
8
  handleApply: () => void;
10
- handleOpen: () => void;
9
+ handleOpenChange: (open: boolean) => void;
11
10
  handleRangeChange: (range: DateRangeWithTime) => void;
12
11
  handleReset: () => void;
13
12
  };
@@ -1,4 +1,4 @@
1
- import { DateRange, DateRangeWithTime } from '../../../../../components/DateRangePicker/DateRangePicker.types';
1
+ import { DateRange, DateRangeWithTime } from '../../../DateRangePicker/DateRangePicker.types';
2
2
  export type DateRangeFilterDropdownProps = {
3
3
  /** Label for the filter button */
4
4
  label: string;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { FilterDropdownProps } from './FilterDropdown.types';
3
+ export declare const FilterDropdown: FC<FilterDropdownProps>;
@@ -0,0 +1,9 @@
1
+ import { PropsWithChildren, ReactNode } from 'react';
2
+ export type FilterDropdownProps = PropsWithChildren & {
3
+ isOpen: boolean;
4
+ trigger: ReactNode;
5
+ triggerClassName?: string;
6
+ position?: 'left' | 'right';
7
+ contentClassName?: string;
8
+ onOpenChange: (open: boolean) => void;
9
+ };
@@ -1,4 +1,4 @@
1
- import { Props as ButtonProps } from '../../../../../components/Button/Button.types';
1
+ import { Props as ButtonProps } from '../../../Button/Button.types';
2
2
  export type ResetButtonProps = ButtonProps & {
3
3
  disabled?: boolean;
4
4
  onClick?: VoidFunction;
@@ -5,9 +5,8 @@ export declare const useTimeFilterDropdown: ({ onApply, format, }: Pick<TimeFilt
5
5
  isOpen: boolean;
6
6
  selectedTime: Date | undefined;
7
7
  selectedPresetLabel: string | undefined;
8
- wrapperRef: import('react').RefObject<HTMLDivElement | null>;
9
8
  handleApply: () => void;
10
- handleOpen: () => void;
9
+ handleOpenChange: (open: boolean) => void;
11
10
  handleSelectPreset: (preset: TimePreset) => void;
12
11
  handleSelectCustom: (time: Date) => void;
13
12
  handleReset: () => void;
@@ -1,4 +1,6 @@
1
1
  export type FilterContextType = {
2
2
  closeOnApply: boolean;
3
+ resetScope?: string;
4
+ theme?: string;
3
5
  };
4
6
  export declare const FilterContext: import('react').Context<FilterContextType>;
@@ -1,6 +1,14 @@
1
1
  export declare enum FilterEvent {
2
+ OPEN = "@konstructio/KonstructFilter/event-OPEN",
3
+ RESET = "@konstructio/KonstructFilter/event-RESET"
4
+ }
5
+ /** @deprecated Use FilterEvent instead */
6
+ export declare enum LegacyFilterEvent {
2
7
  OPEN = "@konstrtuctio/KonstructFilter/event-OPEN",
3
8
  RESET = "@konstrtuctio/KonstructFilter/event-RESET"
4
9
  }
5
- export declare const sendOpenFilterEvent: (id: string) => boolean;
6
- export declare const resetEvent: () => boolean;
10
+ export declare const sendOpenFilterEvent: (id: string) => void;
11
+ export declare const resetEvent: (scope?: string) => void;
12
+ export declare const addFilterEventListener: <T>(event: FilterEvent, handler: (event: CustomEvent<T>) => void, options: {
13
+ signal?: AbortSignal;
14
+ }) => void;
@@ -0,0 +1 @@
1
+ export * from './useFilterDropdownSync';
@@ -0,0 +1,2 @@
1
+ import { Props } from './useFilterDropdownSync.types';
2
+ export declare const useFilterDropdownSync: ({ id, onClose, onReset }: Props) => void;
@@ -0,0 +1,5 @@
1
+ export type Props = {
2
+ id: string;
3
+ onClose: () => void;
4
+ onReset: () => void;
5
+ };
@@ -1,6 +1,6 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { ChangeEvent, ReactNode } from 'react';
3
- import { Theme } from '../../../domain/theme';
3
+ import { Theme } from '../../domain/theme';
4
4
  import { imageUploadVariants } from './ImageUpload.variants';
5
5
  /**
6
6
  * Upload status states for the ImageUpload component.
@@ -1,6 +1,6 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { InputHTMLAttributes, ReactNode } from 'react';
3
- import { Theme } from '../../../domain/theme';
3
+ import { Theme } from '../../domain/theme';
4
4
  import { inputVariants } from './Input.variants';
5
5
  /**
6
6
  * Props for the Input component.
@@ -1,4 +1,4 @@
1
- import { Props as TypographyProps } from '../../../components/Typography/Typography.types';
1
+ import { Props as TypographyProps } from '../Typography/Typography.types';
2
2
  export interface LineChartDataset {
3
3
  /** Dataset label (used in legend) */
4
4
  label: string;
@@ -1,6 +1,6 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { InputHTMLAttributes } from 'react';
3
- import { Theme } from '../../../domain/theme';
3
+ import { Theme } from '../../domain/theme';
4
4
  import { loadingVariants } from './Loading.variants';
5
5
  /**
6
6
  * Props for the Loading component.
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { Transition } from 'motion/react';
3
3
  import { PropsWithChildren, ReactNode } from 'react';
4
- import { Theme } from '../../../domain/theme';
4
+ import { Theme } from '../../domain/theme';
5
5
  import { modalVariants } from './components/Wrapper/Wrapper.variants';
6
6
  /**
7
7
  * Props for the Modal component.
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { Transition } from 'motion/react';
3
3
  import { PropsWithChildren } from 'react';
4
- import { Theme } from '../../../../../domain/theme';
4
+ import { Theme } from '../../../../domain/theme';
5
5
  import { modalVariants } from './Wrapper.variants';
6
6
  export type Props = PropsWithChildren & VariantProps<typeof modalVariants> & {
7
7
  buttonCloseClassName?: string;
@@ -1,4 +1,4 @@
1
- import { Theme } from '../../../../../domain/theme';
1
+ import { Theme } from '../../../../domain/theme';
2
2
  import { MultiSelectDropdownOption } from '../../MultiSelectDropdown.types';
3
3
  export type ItemProps = {
4
4
  option: MultiSelectDropdownOption;
@@ -1,4 +1,4 @@
1
- import { Theme } from '../../../../../domain/theme';
1
+ import { Theme } from '../../../../domain/theme';
2
2
  export type ListProps = {
3
3
  theme?: Theme;
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { ForwardedRef } from 'react';
2
- import { Theme } from '../../../../../domain/theme';
2
+ import { Theme } from '../../../../domain/theme';
3
3
  import { Props as MultiSelectDropdownProps } from '../../MultiSelectDropdown.types';
4
4
  export type WrapperProps = Omit<MultiSelectDropdownProps, 'options' | 'multiselect'> & {
5
5
  ref?: ForwardedRef<HTMLInputElement>;
@@ -18,7 +18,7 @@ type CSSColor = `var(--${string})` | `rgb(${number}, ${number}, ${number})` | `r
18
18
  export type Props = {
19
19
  /**
20
20
  * Array of hexadecimal colors for the borders of the pie chart segments
21
- * @default ['#FFFFFF', '#FFFFFF']
21
+ * @default [resolveColor('--color-white'), resolveColor('--color-white')]
22
22
  */
23
23
  borderColors?: HexColor[] | CSSColor[] | (HexColor | CSSColor)[];
24
24
  /**
@@ -28,7 +28,7 @@ export type Props = {
28
28
  borderWidth?: number;
29
29
  /**
30
30
  * Array of hexadecimal colors for filling the pie chart segments
31
- * @default ['#525252', '#00D492']
31
+ * @default [resolveColor('--color-neutral-600'), resolveColor('--color-emerald-400')]
32
32
  */
33
33
  colors?: HexColor[] | CSSColor[] | (HexColor | CSSColor)[];
34
34
  /**
@@ -43,7 +43,7 @@ export type Props = {
43
43
  redraw?: boolean;
44
44
  /**
45
45
  * Hexadecimal color for the subtitle text
46
- * @default '#6B7280'
46
+ * @default resolveColor('--color-gray-500')
47
47
  */
48
48
  subtitleColor?: HexColor;
49
49
  /**
@@ -58,7 +58,7 @@ export type Props = {
58
58
  subtitleFontWeight?: 'bold' | 'normal';
59
59
  /**
60
60
  * Hexadecimal color for the title text
61
- * @default '#111827'
61
+ * @default resolveColor('--color-gray-900')
62
62
  */
63
63
  titleColor?: HexColor;
64
64
  /**
@@ -1,8 +1,10 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
- import { Theme } from '../../../domain/theme';
3
+ import { Theme } from '../../domain/theme';
4
4
  import { progressBarFillVariants } from './ProgressBar.variants';
5
5
  export interface Props extends VariantProps<typeof progressBarFillVariants> {
6
+ /** Accessible name announced for the progress bar */
7
+ ariaLabel?: string;
6
8
  /** Additional CSS classes for the outer wrapper */
7
9
  className?: string;
8
10
  /** Custom CSS class for the progress bar fill (e.g., "bg-purple-500") */
@@ -1,6 +1,6 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { InputHTMLAttributes, ReactNode } from 'react';
3
- import { Theme } from '../../../domain/theme';
3
+ import { Theme } from '../../domain/theme';
4
4
  import { radioVariants } from './Radio.variants';
5
5
  /**
6
6
  * Props for the Radio component.
@@ -1,4 +1,4 @@
1
- import { Theme } from '../../../domain/theme';
1
+ import { Theme } from '../../domain/theme';
2
2
  import { Props as CardProps } from '../Card/Card.types';
3
3
  import { Props as RadioProps } from '../Radio/Radio.types';
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Theme } from '../../../domain/theme';
1
+ import { Theme } from '../../domain/theme';
2
2
  import { Props as RadioCardProps } from '../RadioCard/RadioCard.types';
3
3
  /**
4
4
  * Props for the RadioCardGroup component.
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { Theme } from '../../../domain/theme';
2
+ import { Theme } from '../../domain/theme';
3
3
  import { Props as RadioProps } from '../Radio/Radio.types';
4
4
  /**
5
5
  * Props for the RadioGroup component.
@@ -1,6 +1,6 @@
1
1
  import { SliderProps as SliderPropsBase } from '@radix-ui/react-slider';
2
2
  import { VariantProps } from 'class-variance-authority';
3
- import { Theme } from '../../../domain/theme';
3
+ import { Theme } from '../../domain/theme';
4
4
  import { rangeVariants } from './Range.variants';
5
5
  /**
6
6
  * Props for the Range component.
@@ -1,6 +1,6 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { InputHTMLAttributes, ReactNode } from 'react';
3
- import { Theme } from '../../../domain/theme';
3
+ import { Theme } from '../../domain/theme';
4
4
  import { selectVariants } from './Select.variants';
5
5
  /**
6
6
  * Option type for Select dropdown items.
@@ -3,11 +3,12 @@ import { SelectProps, Option } from '../Select.types';
3
3
  type UseSelectParams = {
4
4
  ulRef: RefObject<ComponentRef<'ul'> | null>;
5
5
  inputRef?: RefObject<ComponentRef<'input'> | null>;
6
+ searchInputRef?: RefObject<ComponentRef<'input'> | null>;
6
7
  disabled: boolean;
7
8
  internalValue?: Option;
8
9
  onBlur?: SelectProps['onBlur'];
9
10
  };
10
- export declare const useSelect: ({ ulRef, inputRef, disabled, internalValue, onBlur, }: UseSelectParams) => {
11
+ export declare const useSelect: ({ ulRef, inputRef, searchInputRef, disabled, internalValue, onBlur, }: UseSelectParams) => {
11
12
  wrapperRef: RefObject<HTMLDivElement | null>;
12
13
  wrapperInputRef: RefObject<HTMLDivElement | null>;
13
14
  handleOpen: () => void;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { Footer, Label, Logo, Navigation, NavigationGroup, NavigationOption, NavigationSeparator } from './components';
2
+ import { CollapseTrigger, Footer, Label, Logo, Navigation, NavigationGroup, NavigationOption, NavigationSeparator } from './components';
3
3
  import { SidebarChildrenProps, Props as SidebarProps } from './Sidebar.types';
4
4
  /**
5
5
  * A compound component for building application sidebars.
@@ -25,4 +25,4 @@ import { SidebarChildrenProps, Props as SidebarProps } from './Sidebar.types';
25
25
  * @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-sidebar--docs Storybook}
26
26
  */
27
27
  declare const Sidebar: FC<SidebarProps> & SidebarChildrenProps;
28
- export { Footer, Label, Logo, Navigation, NavigationGroup, NavigationOption, NavigationSeparator, Sidebar, };
28
+ export { CollapseTrigger, Footer, Label, Logo, Navigation, NavigationGroup, NavigationOption, NavigationSeparator, Sidebar, };
@@ -1,10 +1,10 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { CSSProperties, FC, PropsWithChildren } from 'react';
3
- import { ClassNames as DrawerClassNames } from '../../../components/Drawer/Drawer.types';
4
- import { Theme } from '../../../domain/theme';
3
+ import { ClassNames as DrawerClassNames } from '../Drawer/Drawer.types';
4
+ import { Theme } from '../../domain/theme';
5
5
  import { SidebarModeProp } from './hooks/useSidebarMode';
6
6
  import { wrapperSiderbarVariants } from './Sidebar.variants';
7
- import { FooterProps, LabelProps, LogoProps, NavigationGroupProps, NavigationOptionProps, NavigationProps, NavigationSeparatorProps } from './components';
7
+ import { CollapseTriggerProps, FooterProps, LabelProps, LogoProps, NavigationGroupProps, NavigationOptionProps, NavigationProps, NavigationSeparatorProps } from './components';
8
8
  /**
9
9
  * Props for the Sidebar component.
10
10
  * A compound component for building application sidebars with navigation.
@@ -77,7 +77,7 @@ export interface Props extends Omit<VariantProps<typeof wrapperSiderbarVariants>
77
77
  * the panel's horizontal padding so dividers can span edge-to-edge,
78
78
  * raising the root `z-index` past higher-z layers, etc.
79
79
  *
80
- * The Sidebar already applies sensible defaults internally (root `z-[60]`,
80
+ * The Sidebar already applies sensible defaults internally (root `z-60`,
81
81
  * panel uses `wrapperClassName`, content `gap-0`); user-provided classes
82
82
  * are appended via `cn`, so they win on conflicts.
83
83
  */
@@ -107,9 +107,9 @@ export interface Props extends Omit<VariantProps<typeof wrapperSiderbarVariants>
107
107
  * Inline styles applied to the wrapper `<aside>` (or the drawer panel in
108
108
  * drawer mode). Useful for setting CSS custom properties that drive
109
109
  * theming via the protection stylesheet (e.g.
110
- * `--konstruct-sidebar-hover-bg`, `--konstruct-sidebar-active-bg`),
111
- * since inline styles outrank un-layered utilities shipped by federated
112
- * remote micro-frontends.
110
+ * `--konstruct-sidebar-logo-padding-expanded`), since inline styles
111
+ * outrank un-layered utilities shipped by federated remote
112
+ * micro-frontends.
113
113
  */
114
114
  style?: CSSProperties;
115
115
  }
@@ -119,6 +119,7 @@ export type SidebarProps = Props;
119
119
  * Sidebar compound component type with sub-components.
120
120
  */
121
121
  export type SidebarChildrenProps = {
122
+ CollapseTrigger: FC<CollapseTriggerProps>;
122
123
  Footer: FC<FooterProps>;
123
124
  Label: FC<LabelProps>;
124
125
  Logo: FC<LogoProps>;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { Props } from './CollapseTrigger.types';
3
+ declare const CollapseTrigger: FC<Props>;
4
+ export { CollapseTrigger };
@@ -0,0 +1,4 @@
1
+ export interface Props {
2
+ className?: string;
3
+ }
4
+ export type CollapseTriggerProps = Props;
@@ -0,0 +1 @@
1
+ export declare const collapseTriggerVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
@@ -1,6 +1,6 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { PropsWithChildren } from 'react';
3
- import { typographyVariants } from '../../../../../components/Typography/Typography.variants';
3
+ import { typographyVariants } from '../../../Typography/Typography.variants';
4
4
  export interface Props extends PropsWithChildren {
5
5
  className?: string;
6
6
  variant?: VariantProps<typeof typographyVariants>['variant'];
@@ -3,6 +3,14 @@ import { PropsWithChildren } from 'react';
3
3
  import { logoVariants } from './Logo.variants';
4
4
  export interface Props extends PropsWithChildren, VariantProps<typeof logoVariants> {
5
5
  className?: string;
6
+ /**
7
+ * When true, keeps the logo content visible while the sidebar is in
8
+ * `collapsed` mode. By default the logo content hides in collapsed mode,
9
+ * while a `Sidebar.CollapseTrigger` placed as a direct child of
10
+ * `Sidebar.Logo` stays visible so the user can still expand the sidebar.
11
+ * Defaults to `false`.
12
+ */
13
+ showOnCollapse?: boolean;
6
14
  }
7
15
  /** @deprecated Use Props instead */
8
16
  export type LogoProps = Props;
@@ -1 +1,3 @@
1
- export declare const logoVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
1
+ export declare const logoVariants: (props?: ({
2
+ showOnCollapse?: boolean | null | undefined;
3
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,3 +1,5 @@
1
+ export * from './CollapseTrigger/CollapseTrigger';
2
+ export type { CollapseTriggerProps } from './CollapseTrigger/CollapseTrigger.types';
1
3
  export * from './Footer/Footer';
2
4
  export type { FooterProps } from './Footer/Footer.types';
3
5
  export * from './HamburgerTrigger/HamburgerTrigger';
@@ -11,6 +11,18 @@ export interface SidebarContextValue {
11
11
  * navigation events (e.g. when the user clicks a link).
12
12
  */
13
13
  closeDrawer: () => void;
14
+ /**
15
+ * Whether the sidebar can be toggled between `expanded` and `collapsed`.
16
+ * `false` in `drawer` mode, where the drawer's own open/close controls
17
+ * apply instead.
18
+ */
19
+ canToggle: boolean;
20
+ /**
21
+ * Toggles the sidebar between `expanded` and `collapsed`, overriding the
22
+ * viewport-derived mode until the viewport crosses a breakpoint. No-op in
23
+ * `drawer` mode.
24
+ */
25
+ toggleMode: () => void;
14
26
  }
15
27
  export declare const SidebarContext: import('react').Context<SidebarContextValue>;
16
28
  export declare const useSidebarContext: () => SidebarContextValue;
@@ -1,6 +1,6 @@
1
1
  import { SliderProps as SliderPropsBase } from '@radix-ui/react-slider';
2
2
  import { VariantProps } from 'class-variance-authority';
3
- import { Theme } from '../../../domain/theme';
3
+ import { Theme } from '../../domain/theme';
4
4
  import { sliderVariants } from './Slider.variants';
5
5
  /**
6
6
  * Props for the Slider component.
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { HTMLAttributes, ReactNode } from 'react';
3
- import { Props as TypographyProps } from '../../../components/Typography/Typography.types';
4
- import { Theme } from '../../../domain/theme';
3
+ import { Props as TypographyProps } from '../Typography/Typography.types';
4
+ import { Theme } from '../../domain/theme';
5
5
  import { spinnerVariants } from './Spinner.variants';
6
6
  export type Props = HTMLAttributes<HTMLDivElement> & VariantProps<typeof spinnerVariants> & {
7
7
  spinnerClassName?: string;
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
- import { Theme } from '../../../domain/theme';
3
+ import { Theme } from '../../domain/theme';
4
4
  import { stepperVariants } from './Stepper.variants';
5
5
  export type StepStatus = 'completed' | 'active' | 'pending' | 'error';
6
6
  export type StepSize = 'sm' | 'md' | 'lg';
@@ -1,5 +1,5 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
- import { Theme } from '../../../../../domain/theme';
2
+ import { Theme } from '../../../../domain/theme';
3
3
  import { Step, StepperClassNames, StepperIcons, StepSize, StepStatus, StepVariant } from '../../Stepper.types';
4
4
  import { stepIndicatorVariants } from '../../Stepper.variants';
5
5
  export type Props = VariantProps<typeof stepIndicatorVariants> & {
@@ -1,5 +1,5 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
- import { Theme } from '../../../domain/theme';
2
+ import { Theme } from '../../domain/theme';
3
3
  import { switchVariants } from './Switch.variants';
4
4
  /**
5
5
  * Props for the Switch component.
@@ -1,6 +1,6 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { PropsWithChildren } from 'react';
3
- import { Theme } from '../../../domain/theme';
3
+ import { Theme } from '../../domain/theme';
4
4
  import { bodyVariants, headVariants, rowVariants, tableVariants } from './Table.variants';
5
5
  /**
6
6
  * Props for the Table component.
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { PropsWithChildren } from 'react';
3
3
  import { triggerVariants } from './Tabs.variants';
4
- import { Theme } from '../../../domain/theme';
4
+ import { Theme } from '../../domain/theme';
5
5
  import * as ReactTabs from '@radix-ui/react-tabs';
6
6
  /**
7
7
  * Props for the Tabs component.
@@ -1,5 +1,5 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
- import { Props as TagProps } from '../../../components/Tag/Tag.types';
2
+ import { Props as TagProps } from '../Tag/Tag.types';
3
3
  import { tagSelectVariants } from './TagSelect.variants';
4
4
  /**
5
5
  * Props for the TagSelect component.
@@ -1,5 +1,5 @@
1
- import { Props as TagProps } from '../../../../../components/Tag/Tag.types';
2
- import { Theme } from '../../../../../domain/theme';
1
+ import { Props as TagProps } from '../../../Tag/Tag.types';
2
+ import { Theme } from '../../../../domain/theme';
3
3
  export type ItemProps = {
4
4
  option: TagProps;
5
5
  theme?: Theme;
@@ -1,4 +1,4 @@
1
- import { Theme } from '../../../../../domain/theme';
1
+ import { Theme } from '../../../../domain/theme';
2
2
  export type ListProps = {
3
3
  theme?: Theme;
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { ForwardedRef } from 'react';
2
- import { Theme } from '../../../../../domain/theme';
2
+ import { Theme } from '../../../../domain/theme';
3
3
  import { Props as TagSelectProps } from '../../TagSelect.types';
4
4
  export type WrapperProps = Omit<TagSelectProps, 'options' | 'multiselect'> & {
5
5
  ref?: ForwardedRef<HTMLInputElement>;
@@ -1,5 +1,5 @@
1
1
  import { PropsWithChildren, RefObject } from 'react';
2
- import { Props as TagProps } from '../../../../components/Tag/Tag.types';
2
+ import { Props as TagProps } from '../../Tag/Tag.types';
3
3
  export type State = {
4
4
  tags: TagProps[];
5
5
  selectedTags: TagProps[];
@@ -1,6 +1,6 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { InputHTMLAttributes, ReactNode } from 'react';
3
- import { Theme } from '../../../domain/theme';
3
+ import { Theme } from '../../domain/theme';
4
4
  import { textAreaVariants } from './TextArea.variants';
5
5
  /**
6
6
  * Props for the TextArea component.
@@ -1,6 +1,6 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { PropsWithChildren, ReactNode } from 'react';
3
- import { Theme } from '../../../domain/theme';
3
+ import { Theme } from '../../domain/theme';
4
4
  import { toastVariants } from './Toast.variants';
5
5
  /**
6
6
  * Props for the Toast component.
@@ -1,6 +1,6 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { ComponentRef, HTMLAttributes, ReactNode, Ref } from 'react';
3
- import { Theme } from '../../../domain/theme';
3
+ import { Theme } from '../../domain/theme';
4
4
  import { typographyVariants } from './Typography.variants';
5
5
  /** Valid HTML heading tags */
6
6
  export type HeadingTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
@@ -10,6 +10,7 @@ type VirtualizedTableCompound = (<TData extends RowData>(props: Props<TData>) =>
10
10
  sendCollapseRowEvent: (tableId: string, rowId: string) => void;
11
11
  sendToggleRowEvent: (tableId: string, rowId: string) => void;
12
12
  sendResetFiltersEvent: (tableId: string) => void;
13
+ sendRefreshEvent: (tableId?: string) => void;
13
14
  };
14
15
  displayName?: string;
15
16
  };