asma-ui-core 3.44.0 → 3.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. package/dist/asma-ui-core.css +1 -1
  2. package/dist/components/custom/module/header-layout/ToolbarActionGroup.js +2 -2
  3. package/dist/components/custom/module/module-title/StyledModuleTitle.module.js +1 -1
  4. package/dist/components/custom/widget/widget/StyledWidget.module.js +8 -8
  5. package/dist/components/custom/widget/widget-title/StyledWidgetTitle.module.js +1 -1
  6. package/dist/components/data-display/ai-disclosure/StyledAIDisclosure.js +7 -5
  7. package/dist/components/data-display/badge/StyledBadge.js +53 -23
  8. package/dist/components/data-display/chip/StyledChip.js +62 -59
  9. package/dist/components/data-display/chip/chipPadding.js +44 -0
  10. package/dist/components/data-display/form-label/components/StyledFormLabel.js +18 -10
  11. package/dist/components/data-display/form-label/styles/StyledFormLabel.module.js +4 -4
  12. package/dist/components/data-display/interactive-chip/StyledInteractiveChip.js +35 -39
  13. package/dist/components/data-display/interactive-chip/StyledInteractiveChip.module.js +4 -0
  14. package/dist/components/data-display/tooltip/StyledTooltip.js +51 -33
  15. package/dist/components/data-display/typography/StyledTypography.js +62 -4
  16. package/dist/components/feedback/dialog/StyledDialog.js +102 -39
  17. package/dist/components/feedback/dialog/StyledDialog.module.js +2 -9
  18. package/dist/components/feedback/dialog/StyledDialogActions.js +16 -16
  19. package/dist/components/feedback/dialog/StyledDialogContent.js +18 -14
  20. package/dist/components/feedback/dialog/StyledDialogTitle.js +18 -13
  21. package/dist/components/feedback/empty-page/StyledEmptyPage.js +4 -4
  22. package/dist/components/feedback/filtered-empty-state/StyledFilteredEmptyState.js +7 -7
  23. package/dist/components/feedback/minimizable-dialog/MinimizableDialog.js +123 -114
  24. package/dist/components/feedback/minimizable-dialog/components/CloseBtn.js +6 -5
  25. package/dist/components/feedback/minimizable-dialog/components/FullscreenBtn.js +13 -12
  26. package/dist/components/feedback/minimizable-dialog/components/MinimizeBtn.js +15 -13
  27. package/dist/components/feedback/minimizable-dialog/v2/MinimizableDialogV2.js +67 -61
  28. package/dist/components/feedback/snack-bar/StyledAlert.js +95 -14
  29. package/dist/components/feedback/snack-bar/StyledSnackbar.js +34 -8
  30. package/dist/components/feedback/snack-bar/components/StyledDefaultSnackbar.js +32 -33
  31. package/dist/components/feedback/snack-bar/components/StyledDefaultSnackbar.module.js +16 -16
  32. package/dist/components/icons/check-icon/CheckIcon.js +8 -7
  33. package/dist/components/inputs/button/StyledButton.js +22 -18
  34. package/dist/components/inputs/button/StyledButton.module.js +5 -5
  35. package/dist/components/inputs/checkbox/base-ui/StyledCheckbox.js +61 -55
  36. package/dist/components/inputs/checkbox/base-ui/StyledCheckbox.module.js +12 -11
  37. package/dist/components/inputs/dynamic-select/components/DynamicInteractiveChipGroup.js +54 -50
  38. package/dist/components/inputs/dynamic-select/components/DynamicSelectAutocomplete.js +107 -99
  39. package/dist/components/inputs/field-styles.js +8 -0
  40. package/dist/components/inputs/input-field/StyledInputField.js +188 -83
  41. package/dist/components/inputs/input-field/StyledInputField.module.js +10 -0
  42. package/dist/components/inputs/label/StyledLabel.js +19 -11
  43. package/dist/components/inputs/label/StyledLabel.module.js +1 -1
  44. package/dist/components/inputs/radio-button/base-ui/RadioGroupContext.js +6 -0
  45. package/dist/components/inputs/radio-button/base-ui/StyledRadio.js +43 -28
  46. package/dist/components/inputs/radio-button/base-ui/StyledRadio.module.js +7 -6
  47. package/dist/components/inputs/radio-button/base-ui/StyledRadioGroup.js +37 -24
  48. package/dist/components/inputs/search-field/StyledSearchField.js +49 -43
  49. package/dist/components/inputs/select/StyledSelect.js +170 -45
  50. package/dist/components/inputs/select/StyledSelectItem.js +19 -23
  51. package/dist/components/inputs/select-autocomplete/StyledSelectAutocomplete.js +228 -150
  52. package/dist/components/inputs/slider/StyledSlider.js +100 -52
  53. package/dist/components/inputs/slider/StyledSlider.module.js +10 -0
  54. package/dist/components/inputs/switch/base-ui/StyledSwitch.js +45 -38
  55. package/dist/components/inputs/switch/base-ui/StyledSwitch.module.js +4 -4
  56. package/dist/components/inputs/textarea/StyledTextarea.js +44 -43
  57. package/dist/components/inputs/textarea/StyledTextarea.module.js +1 -1
  58. package/dist/components/miscellaneous/FormControlContext.js +6 -0
  59. package/dist/components/miscellaneous/StyledFormControl.js +42 -21
  60. package/dist/components/miscellaneous/StyledFormControlLabel.js +29 -15
  61. package/dist/components/miscellaneous/StyledFormGroup.js +16 -4
  62. package/dist/components/miscellaneous/StyledFormHelperText.js +12 -4
  63. package/dist/components/miscellaneous/StyledInputLabel.js +20 -4
  64. package/dist/components/mui-compat/Avatar.js +34 -0
  65. package/dist/components/mui-compat/ClickAwayListener.js +42 -0
  66. package/dist/components/mui-compat/Container.js +24 -0
  67. package/dist/components/mui-compat/Fade.js +29 -0
  68. package/dist/components/mui-compat/Fade.module.js +9 -0
  69. package/dist/components/mui-compat/FormLabel.js +22 -0
  70. package/dist/components/mui-compat/Paper.js +44 -0
  71. package/dist/components/mui-compat/Popper.js +35 -0
  72. package/dist/components/mui-compat/Skeleton.js +27 -0
  73. package/dist/components/mui-compat/Stack.js +24 -0
  74. package/dist/components/navigation/drawer/StyledDrawer.js +45 -4
  75. package/dist/components/navigation/link/StyledLink.module.js +5 -5
  76. package/dist/components/navigation/listbox/Listbox.js +7 -7
  77. package/dist/components/navigation/menu/StyledMenu.js +28 -11
  78. package/dist/components/navigation/menu/StyledMenuItem.js +21 -19
  79. package/dist/components/navigation/menu/StyledMenuList.js +34 -4
  80. package/dist/components/navigation/tabs/StyledTab.js +28 -13
  81. package/dist/components/navigation/tabs/StyledTabs.js +115 -66
  82. package/dist/components/navigation/tabs/TabsContext.js +6 -0
  83. package/dist/components/utils/accordion/base-ui/AccordionContext.js +10 -0
  84. package/dist/components/utils/accordion/base-ui/StyledAccordion.js +28 -21
  85. package/dist/components/utils/accordion/base-ui/StyledAccordion.module.js +7 -7
  86. package/dist/components/utils/accordion/base-ui/StyledAccordionDetails.js +28 -14
  87. package/dist/components/utils/accordion/base-ui/StyledAccordionSummary.js +34 -27
  88. package/dist/components/utils/copy-wrapper/CopyButton.js +8 -7
  89. package/dist/components/utils/copy-wrapper/CopyWrapper.js +23 -20
  90. package/dist/components/utils/filter-menu/StyledFilterButton.js +14 -13
  91. package/dist/components/utils/filter-menu/StyledFilterMenu.js +16 -15
  92. package/dist/components/utils/popover/StyledPopover.js +51 -15
  93. package/dist/components/utils/virtual-list/VirtualList.js +46 -0
  94. package/dist/datetime/components/date-picker/StyledDatePicker.js +17 -17
  95. package/dist/datetime/components/date-picker/components/BaseDatePickerInput.js +98 -99
  96. package/dist/datetime/components/date-picker/components/DatePickerButton.js +11 -9
  97. package/dist/datetime/components/date-picker/components/StyledCalendarPicker.js +11 -11
  98. package/dist/datetime/components/date-picker/components/StyledCalendarPicker.module.js +20 -20
  99. package/dist/datetime/components/date-picker/components/StyledCalendarPickerCaption.js +8 -7
  100. package/dist/datetime/components/date-picker/components/StyledCalendarPickerFooter.js +13 -14
  101. package/dist/datetime/components/date-picker/components/StyledCalendarPickerSelectMonth.js +17 -24
  102. package/dist/datetime/components/date-picker/components/StyledCalendarPickerSelectYear.js +7 -8
  103. package/dist/datetime/components/date-picker/components/StyledDayPicker.js +4 -5
  104. package/dist/datetime/components/date-picker/helpers.js +7 -7
  105. package/dist/datetime/components/date-picker/hooks/useDatePickerMask.js +3 -7
  106. package/dist/datetime/components/time-picker/StyledTimePicker.js +25 -25
  107. package/dist/datetime/components/time-picker/StyledTimePicker.module.js +6 -6
  108. package/dist/datetime/components/time-picker/TimePickerInput.js +56 -50
  109. package/dist/datetime/components/time-picker/TimePickerPopper.js +22 -19
  110. package/dist/datetime/components/time-picker/components/TimePickerColumn.js +12 -12
  111. package/dist/datetime/components/time-picker/helpers/getTimeFromValue.js +3 -3
  112. package/dist/datetime/helpers/cn.js +4 -5
  113. package/dist/datetime/hooks/useWindowWidthSize.hook.js +1 -1
  114. package/dist/helpers/arrays.js +4 -0
  115. package/dist/helpers/classOverride.js +12 -0
  116. package/dist/helpers/cn.js +4 -5
  117. package/dist/helpers/inputMask.js +58 -0
  118. package/dist/helpers/sx.js +46 -0
  119. package/dist/hooks/useFocusTrap.hook.js +34 -0
  120. package/dist/hooks/useTopLayer.hook.js +25 -0
  121. package/dist/index.js +185 -175
  122. package/dist/src/api-surface.test.d.ts +1 -0
  123. package/dist/src/components/custom/module/header-layout/DynamicToolbar.d.ts +10 -0
  124. package/dist/src/components/custom/module/module-title/StyledModuleTitle.d.ts +4 -0
  125. package/dist/src/components/custom/widget/widget/StyledWidget.d.ts +8 -0
  126. package/dist/src/components/custom/widget/widget-header/StyledWidgetHeader.d.ts +4 -0
  127. package/dist/src/components/custom/widget/widget-title/StyledWidgetTitle.d.ts +4 -0
  128. package/dist/src/components/data-display/ai-disclosure/StyledAIDisclosure.d.ts +7 -0
  129. package/dist/src/components/data-display/badge/StyledBadge.d.ts +40 -2
  130. package/dist/src/components/data-display/chip/StyledChip.d.ts +74 -5
  131. package/dist/src/components/data-display/chip/chipPadding.d.ts +3 -0
  132. package/dist/src/components/data-display/form-label/types.d.ts +11 -0
  133. package/dist/src/components/data-display/interactive-chip/StyledInteractiveChip.d.ts +22 -4
  134. package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +43 -1
  135. package/dist/src/components/data-display/typography/StyledTypography.d.ts +32 -1
  136. package/dist/src/components/feedback/dialog/StyledDialog.d.ts +60 -4
  137. package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +12 -2
  138. package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +12 -2
  139. package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +10 -2
  140. package/dist/src/components/feedback/empty-page/StyledEmptyPage.d.ts +6 -0
  141. package/dist/src/components/feedback/filtered-empty-state/StyledFilteredEmptyState.d.ts +7 -0
  142. package/dist/src/components/feedback/loading/StyledLoading.d.ts +9 -0
  143. package/dist/src/components/feedback/minimizable-dialog/v2/types.d.ts +13 -0
  144. package/dist/src/components/feedback/minimizable-dialog/v2/useControlledProps.d.ts +4 -2
  145. package/dist/src/components/feedback/minimizable-dialog/v2/useTranslations.d.ts +17 -12
  146. package/dist/src/components/feedback/snack-bar/SnackbarProvider.d.ts +1 -1
  147. package/dist/src/components/feedback/snack-bar/StyledAlert.d.ts +41 -2
  148. package/dist/src/components/feedback/snack-bar/StyledAlertSnackbar.d.ts +1 -1
  149. package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +25 -2
  150. package/dist/src/components/feedback/snack-bar/components/StyledDefaultSnackbar.d.ts +10 -1
  151. package/dist/src/components/feedback/snack-bar/components/StyledInfoSnackbar.d.ts +1 -1
  152. package/dist/src/components/feedback/snack-bar/components/types.d.ts +1 -1
  153. package/dist/src/components/inputs/button/StyledButton.d.ts +15 -1
  154. package/dist/src/components/inputs/checkbox/base-ui/StyledCheckbox.d.ts +33 -4
  155. package/dist/src/components/inputs/dynamic-select/StyledDynamicSelect.d.ts +16 -0
  156. package/dist/src/components/inputs/dynamic-select/types.d.ts +25 -14
  157. package/dist/src/components/inputs/field-styles.d.ts +27 -0
  158. package/dist/src/components/inputs/input-field/StyledInputField.d.ts +85 -10
  159. package/dist/src/components/inputs/input-field/index.d.ts +1 -1
  160. package/dist/src/components/inputs/label/StyledLabel.d.ts +13 -0
  161. package/dist/src/components/inputs/radio-button/base-ui/RadioGroupContext.d.ts +10 -0
  162. package/dist/src/components/inputs/radio-button/base-ui/StyledRadio.d.ts +60 -5
  163. package/dist/src/components/inputs/radio-button/base-ui/StyledRadioGroup.d.ts +30 -7
  164. package/dist/src/components/inputs/search-field/StyledSearchField.d.ts +9 -1
  165. package/dist/src/components/inputs/select/StyledSelect.d.ts +70 -16
  166. package/dist/src/components/inputs/select/StyledSelectItem.d.ts +14 -2
  167. package/dist/src/components/inputs/select/index.d.ts +0 -1
  168. package/dist/src/components/inputs/select-autocomplete/StyledSelectAutocomplete.d.ts +120 -17
  169. package/dist/src/components/inputs/slider/StyledSlider.d.ts +66 -3
  170. package/dist/src/components/inputs/switch/base-ui/StyledSwitch.d.ts +44 -4
  171. package/dist/src/components/inputs/textarea/StyledTextarea.d.ts +19 -0
  172. package/dist/src/components/miscellaneous/FormControlContext.d.ts +14 -0
  173. package/dist/src/components/miscellaneous/StyledFormControl.d.ts +27 -2
  174. package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +21 -2
  175. package/dist/src/components/miscellaneous/StyledFormGroup.d.ts +11 -2
  176. package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +12 -2
  177. package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +20 -2
  178. package/dist/src/components/mui-compat/Avatar.d.ts +6 -0
  179. package/dist/src/components/mui-compat/ClickAwayListener.d.ts +19 -0
  180. package/dist/src/components/mui-compat/Container.d.ts +6 -0
  181. package/dist/src/components/mui-compat/Fade.d.ts +21 -0
  182. package/dist/src/components/mui-compat/FormLabel.d.ts +6 -0
  183. package/dist/src/components/mui-compat/Paper.d.ts +6 -0
  184. package/dist/src/components/mui-compat/Popper.d.ts +29 -0
  185. package/dist/src/components/mui-compat/Skeleton.d.ts +7 -0
  186. package/dist/src/components/mui-compat/Stack.d.ts +7 -0
  187. package/dist/src/components/mui-compat/index.d.ts +9 -0
  188. package/dist/src/components/mui-compat/types.d.ts +46 -0
  189. package/dist/src/components/navigation/drawer/StyledDrawer.d.ts +33 -2
  190. package/dist/src/components/navigation/link/StyledLink.d.ts +13 -0
  191. package/dist/src/components/navigation/menu/StyledMenu.d.ts +33 -2
  192. package/dist/src/components/navigation/menu/StyledMenuItem.d.ts +35 -2
  193. package/dist/src/components/navigation/menu/StyledMenuList.d.ts +16 -2
  194. package/dist/src/components/navigation/menu/index.d.ts +0 -1
  195. package/dist/src/components/navigation/tabs/StyledTab.d.ts +27 -3
  196. package/dist/src/components/navigation/tabs/StyledTabs.d.ts +22 -7
  197. package/dist/src/components/navigation/tabs/TabsContext.d.ts +11 -0
  198. package/dist/src/components/utils/accordion/base-ui/AccordionContext.d.ts +10 -0
  199. package/dist/src/components/utils/accordion/base-ui/StyledAccordion.d.ts +9 -3
  200. package/dist/src/components/utils/accordion/base-ui/StyledAccordionDetails.d.ts +5 -0
  201. package/dist/src/components/utils/accordion/base-ui/StyledAccordionSummary.d.ts +16 -4
  202. package/dist/src/components/utils/copy-wrapper/CopyWrapper.d.ts +6 -1
  203. package/dist/src/components/utils/filter-menu/StyledFilterButton.d.ts +4 -0
  204. package/dist/src/components/utils/filter-menu/StyledFilterMenu.d.ts +8 -2
  205. package/dist/src/components/utils/popover/StyledPopover.d.ts +39 -2
  206. package/dist/src/components/utils/virtual-list/VirtualList.d.ts +32 -0
  207. package/dist/src/components/utils/virtual-list/index.d.ts +1 -0
  208. package/dist/src/datetime/components/date-picker/StyledDatePicker.d.ts +11 -0
  209. package/dist/src/datetime/components/date-picker/components/DatePickerButton.d.ts +2 -0
  210. package/dist/src/datetime/components/date-picker/components/StyledCalendarPicker.d.ts +1 -1
  211. package/dist/src/datetime/components/date-picker/components/StyledDayPicker.d.ts +1 -1
  212. package/dist/src/datetime/components/date-picker/hooks/useDatePickerMask.d.ts +1 -2
  213. package/dist/src/datetime/components/date-picker/hooks/useDatePickerValidation.d.ts +7 -5
  214. package/dist/src/datetime/components/time-picker/StyledTimePicker.d.ts +10 -0
  215. package/dist/src/datetime/components/time-picker/TimePickerInput.d.ts +1 -1
  216. package/dist/src/datetime/components/time-picker/TimePickerPopper.d.ts +1 -1
  217. package/dist/src/datetime/components/time-picker/types.d.ts +1 -2
  218. package/dist/src/datetime/hooks/useToggleMenuVisibility.hook.d.ts +6 -4
  219. package/dist/src/datetime/shared-components/StyledFormControl.d.ts +1 -2
  220. package/dist/src/datetime/shared-components/StyledInputField.d.ts +1 -12
  221. package/dist/src/datetime/shared-components/StyledSelect.d.ts +1 -16
  222. package/dist/src/datetime/shared-components/StyledSelectItem.d.ts +1 -2
  223. package/dist/src/datetime/shared-components/StyledTooltip.d.ts +1 -2
  224. package/dist/src/helpers/applyImportantPadding.d.ts +8 -0
  225. package/dist/src/helpers/arrays.d.ts +2 -0
  226. package/dist/src/helpers/arrays.test.d.ts +1 -0
  227. package/dist/src/helpers/classOverride.d.ts +21 -0
  228. package/dist/src/helpers/classOverride.test.d.ts +1 -0
  229. package/dist/src/helpers/inputMask.d.ts +40 -0
  230. package/dist/src/helpers/inputMask.test.d.ts +1 -0
  231. package/dist/src/helpers/sx.d.ts +2 -0
  232. package/dist/src/helpers/sx.test.d.ts +1 -0
  233. package/dist/src/hooks/useFocusTrap.hook.d.ts +10 -0
  234. package/dist/src/hooks/useTopLayer.hook.d.ts +49 -0
  235. package/dist/src/index.d.ts +2 -1
  236. package/dist/src/table/components/columns/helpers/useElementHeightPx.d.ts +6 -3
  237. package/dist/src/table/components/columns/helpers/useProxyHorizontalScrollSync.d.ts +9 -6
  238. package/dist/src/table/hooks/useToggleMenuVisibility.hook.d.ts +6 -4
  239. package/dist/src/table/hooks/useTranslations.d.ts +15 -8
  240. package/dist/src/table/shared-components/StyledCheckbox.d.ts +7 -4
  241. package/dist/src/table/shared-components/StyledMenuItem.d.ts +18 -2
  242. package/dist/src/table/shared-components/menu-item/index.d.ts +13 -2
  243. package/dist/src/table/shared-components/tooltip/index.d.ts +5 -1
  244. package/dist/src/table/types.d.ts +1 -1
  245. package/dist/table/components/Fetching.js +4 -4
  246. package/dist/table/components/StyledTable.module.js +48 -48
  247. package/dist/table/components/TableRow.js +7 -7
  248. package/dist/table/components/TableSkeleton.js +6 -6
  249. package/dist/table/components/columns/action-column/actionColumn.js +14 -11
  250. package/dist/table/components/columns/action-column/components/HeaderActionMenu.js +52 -49
  251. package/dist/table/components/columns/action-column/components/RowActionMenu.js +40 -36
  252. package/dist/table/components/columns/expandColumn.js +12 -9
  253. package/dist/table/components/table-footer/TablePagination.js +28 -25
  254. package/dist/table/components/table-footer/TableRowCountSelect.js +31 -28
  255. package/dist/table/components/table-header/TableHeaderCell.js +54 -45
  256. package/dist/table/custom-features/focus-rows/FocusRowsFeature.js +29 -25
  257. package/dist/table/helpers/cn.js +4 -5
  258. package/dist/table/hooks/useColumnVirtualizer.js +1 -1
  259. package/dist/table/hooks/usePersistedPageSize.js +6 -6
  260. package/dist/table/hooks/useTranslations.js +6 -4
  261. package/dist/table/hooks/useWindowWidthSize.hook.js +1 -1
  262. package/dist/table/shared-components/StyledCheckbox.js +54 -55
  263. package/dist/table/shared-components/StyledCheckbox.module.js +9 -9
  264. package/dist/table/shared-components/StyledMenuItem.js +14 -17
  265. package/dist/table/shared-components/button/StyledButton.module.js +8 -8
  266. package/dist/table/shared-components/menu-item/index.js +15 -16
  267. package/dist/table/shared-components/tooltip/index.js +4 -23
  268. package/package.json +9 -18
  269. package/src/styles/components-colors/inputVariables.css +59 -57
  270. package/src/styles/index.css +38 -0
  271. package/dist/components/feedback/dialog/StyledDialogActions.module.js +0 -8
  272. package/dist/components/feedback/dialog/StyledDialogContent.module.js +0 -4
  273. package/dist/components/feedback/dialog/StyledDialogTitle.module.js +0 -4
  274. package/dist/components/icons/arrow-expand/ArrowExpand.js +0 -18
  275. package/dist/components/icons/arrow-expand/index.js +0 -1
  276. package/dist/components/icons/arrow-shrink/ArrowShrink.js +0 -18
  277. package/dist/components/icons/arrow-shrink/index.js +0 -1
  278. package/dist/components/inputs/checkbox/StyledCheckbox.js +0 -20
  279. package/dist/components/inputs/radio-button/StyledRadio.js +0 -17
  280. package/dist/datetime/components/date-picker/components/HelperTextWithTooltip.js +0 -39
  281. package/dist/datetime/shared-components/ExpandIcon.js +0 -18
  282. package/dist/datetime/shared-components/StyledFormControl.js +0 -23
  283. package/dist/datetime/shared-components/StyledInputField.js +0 -47
  284. package/dist/datetime/shared-components/StyledSelect.js +0 -47
  285. package/dist/datetime/shared-components/StyledSelectItem.js +0 -13
  286. package/dist/datetime/shared-components/StyledTooltip.js +0 -32
  287. package/dist/src/components/icons/arrow-expand/ArrowExpand.d.ts +0 -2
  288. package/dist/src/components/icons/arrow-expand/index.d.ts +0 -1
  289. package/dist/src/components/icons/arrow-shrink/ArrowShrink.d.ts +0 -2
  290. package/dist/src/components/icons/arrow-shrink/index.d.ts +0 -1
  291. package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +0 -4
  292. package/dist/src/components/inputs/radio-button/StyledRadio.d.ts +0 -4
  293. package/dist/src/components/inputs/radio-button/StyledRadioGroup.d.ts +0 -4
  294. package/dist/src/components/inputs/switch/StyledSwitch.d.ts +0 -5
  295. package/dist/src/components/utils/accordion/StyledAccordion.d.ts +0 -2
  296. package/dist/src/components/utils/accordion/StyledAccordionDetails.d.ts +0 -2
  297. package/dist/src/components/utils/accordion/StyledAccordionSummary.d.ts +0 -8
  298. package/dist/src/datetime/components/date-picker/components/HelperTextWithTooltip.d.ts +0 -5
@@ -1,3 +1,34 @@
1
- import { DrawerProps } from '@mui/material';
2
- import { FC } from 'react';
1
+ import { FC, ReactNode } from 'react';
2
+ export type DrawerAnchor = 'left' | 'right' | 'top' | 'bottom';
3
+ export type DrawerCloseReason = 'backdropClick' | 'escapeKeyDown';
4
+ export interface DrawerProps {
5
+ open?: boolean;
6
+ onClose?: (event: Event | React.SyntheticEvent, reason: DrawerCloseReason) => void;
7
+ anchor?: DrawerAnchor;
8
+ variant?: 'temporary' | 'persistent' | 'permanent';
9
+ hideBackdrop?: boolean;
10
+ className?: string;
11
+ sx?: unknown;
12
+ PaperProps?: {
13
+ className?: string;
14
+ sx?: unknown;
15
+ };
16
+ /**
17
+ * Accepted for MUI `Drawer` parity (DEC-003). The panel always stays mounted so the slide
18
+ * transition can play, so `keepMounted` is effectively always-on — this prop is a typed no-op.
19
+ */
20
+ ModalProps?: {
21
+ keepMounted?: boolean;
22
+ };
23
+ children?: ReactNode;
24
+ }
25
+ /**
26
+ * Sliding edge panel (replaces MUI `Drawer`). Portalled, slides from `anchor`, temporary variant
27
+ * shows a backdrop and closes on backdrop-click / Escape. Public props preserved (DEC-003). TASK-304.
28
+ *
29
+ * @figmaNode none — no dedicated Figma drawer/side-sheet. As a modal edge-panel it reuses the DS
30
+ * **modal family** tokens established by `StyledDialog`: overlay `bg/modal` #626e7eb2 (delta-600 @70%)
31
+ * + Dialogue-popup elevation (#22213366, 0 4 40). Edge panels are flush (no radius); content is
32
+ * consumer-supplied.
33
+ */
3
34
  export declare const StyledDrawer: FC<DrawerProps>;
@@ -1,10 +1,23 @@
1
1
  import { default as React, AnchorHTMLAttributes, ReactNode } from 'react';
2
+ /**
3
+ * @figmaNode wXrXt5uKNNzV2DnQCgyYZH#14472-14569 (Design-System · "Link")
4
+ *
5
+ * Underlined SemiBold text link. Enabled/Visited = gama-500, Hover = gama-600, Pressed = gama-500,
6
+ * Disabled = delta-300; Focused/Pressed adds a 1px gama-400 rounded indicator (radius 4, px4/py2).
7
+ * State is derived at runtime from `:hover`/`:focus`/`disabled`, not a prop.
8
+ */
2
9
  export type StyledLinkProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
10
+ /** @figmaProp State = true→"Disabled" (renders a non-interactive <span>, delta-300) */
3
11
  disabled?: boolean;
12
+ /** @figmaProp Size = small→"Base" (14/20) | large→"Medium" (16/24); xs (12/20) = none (no DS size) */
4
13
  size?: 'small' | 'large' | 'xs';
14
+ /** @figmaProp none — ref */
5
15
  reflink?: React.Ref<HTMLAnchorElement>;
16
+ /** @figmaProp none — test hook */
6
17
  dataTest?: string;
18
+ /** @figmaProp none — deprecated content slot (use contentNode) */
7
19
  content?: ReactNode;
20
+ /** @figmaProp none — the link label slot */
8
21
  contentNode?: ReactNode;
9
22
  };
10
23
  /**
@@ -1,2 +1,33 @@
1
- import { MenuProps } from '@mui/material';
2
- export declare const StyledMenu: (props: MenuProps) => JSX.Element;
1
+ import { CSSProperties, MouseEvent, ReactNode } from 'react';
2
+ import { PopoverOrigin, StyledPopoverProps } from '../../utils/popover';
3
+ export interface MenuProps {
4
+ open: boolean;
5
+ anchorEl?: Element | null;
6
+ onClose?: StyledPopoverProps['onClose'];
7
+ anchorOrigin?: PopoverOrigin;
8
+ transformOrigin?: PopoverOrigin;
9
+ id?: string;
10
+ className?: string;
11
+ sx?: unknown;
12
+ classes?: {
13
+ paper?: string;
14
+ list?: string;
15
+ };
16
+ /** MUI `Menu` `slotProps.paper` parity (DEC-003): styles/classes forwarded to the menu paper. */
17
+ slotProps?: {
18
+ paper?: {
19
+ className?: string;
20
+ sx?: unknown;
21
+ style?: CSSProperties;
22
+ };
23
+ };
24
+ autoFocus?: boolean;
25
+ onClick?: (event: MouseEvent<HTMLUListElement>) => void;
26
+ children?: ReactNode;
27
+ }
28
+ /**
29
+ * Anchored menu (replaces MUI `Menu`) = `StyledPopover` + a keyboard-navigable `StyledMenuList`.
30
+ * Public props (`open`/`anchorEl`/`onClose`/`anchorOrigin`/`classes`/`autoFocus`) preserved
31
+ * (DEC-003). TASK-303.
32
+ */
33
+ export declare const StyledMenu: ({ open, anchorEl, onClose, anchorOrigin, transformOrigin, id, className, sx, classes, slotProps, autoFocus, onClick, children, }: MenuProps) => JSX.Element;
@@ -1,2 +1,35 @@
1
- import { MenuItemProps } from '@mui/material';
2
- export declare const StyledMenuItem: (props: MenuItemProps) => JSX.Element;
1
+ import { MouseEvent, ReactNode } from 'react';
2
+ /**
3
+ * @figmaNode wXrXt5uKNNzV2DnQCgyYZH#16073-19226
4
+ * Figma "Menus item" (h40, label 16px text-icon/body). Figma **State** (Enabled/Hover/Selected/
5
+ * Disabled) ← native hover + `selected`/`disabled`; **Type** (Only Label/Icon/Checkbox/Check mark)
6
+ * is expressed via `children`. Selected bg = `gama-50`, hover bg = `delta-50`.
7
+ */
8
+ export interface StyledMenuItemProps {
9
+ /** @figmaProp content — Type (Only Label / Icon / Checkbox / Check mark) via composition */
10
+ children?: ReactNode;
11
+ onClick?: (event: MouseEvent<HTMLLIElement>) => void;
12
+ /** Forwarded to the `<li>` — e.g. `stopPropagation` so a menu-item mousedown doesn't dismiss the menu. */
13
+ onMouseDown?: (event: MouseEvent<HTMLLIElement>) => void;
14
+ onMouseUp?: (event: MouseEvent<HTMLLIElement>) => void;
15
+ /** @figmaProp State = true→"Disabled" */
16
+ disabled?: boolean;
17
+ /** @figmaProp State = true→"Selected" */
18
+ selected?: boolean;
19
+ /** Compact vertical padding (MUI `MenuItem` `dense` parity, DEC-003). */
20
+ dense?: boolean;
21
+ value?: unknown;
22
+ className?: string;
23
+ classes?: {
24
+ root?: string;
25
+ selected?: string;
26
+ };
27
+ sx?: unknown;
28
+ 'data-test'?: string;
29
+ 'data-testid'?: string;
30
+ }
31
+ /**
32
+ * Native `role="menuitem"` (replaces MUI `MenuItem`). Enter/Space activate; a disabled item stays
33
+ * focusable but non-interactive (MUI parity). Public props preserved (DEC-003). TASK-303.
34
+ */
35
+ export declare const StyledMenuItem: ({ children, onClick, onMouseDown, onMouseUp, disabled, selected, dense, className, classes, sx, "data-test": dataTest, "data-testid": dataTestId, value: _value, }: StyledMenuItemProps) => JSX.Element;
@@ -1,2 +1,16 @@
1
- import { MenuListProps } from '@mui/material';
2
- export declare const StyledMenuList: (props: MenuListProps) => JSX.Element;
1
+ import { KeyboardEvent, MouseEvent, ReactNode } from 'react';
2
+ export interface StyledMenuListProps {
3
+ children?: ReactNode;
4
+ className?: string;
5
+ /** Focus the first enabled item on mount (MUI Menu autoFocus behaviour). */
6
+ autoFocus?: boolean;
7
+ /** Drop the default vertical padding (MUI `disablePadding`). */
8
+ disablePadding?: boolean;
9
+ onClick?: (event: MouseEvent<HTMLUListElement>) => void;
10
+ onKeyDown?: (event: KeyboardEvent<HTMLUListElement>) => void;
11
+ }
12
+ /**
13
+ * Keyboard-navigable `role="menu"` list (replaces MUI `MenuList`). Arrow-key / Home / End roving
14
+ * focus over enabled `[role="menuitem"]` children. TASK-303.
15
+ */
16
+ export declare const StyledMenuList: ({ children, className, autoFocus, disablePadding, onClick, onKeyDown, }: StyledMenuListProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
1
  export * from './StyledMenu';
2
2
  export * from './StyledMenuItem';
3
3
  export * from './StyledMenuList';
4
- export { type MenuProps } from '@mui/material';
@@ -1,3 +1,27 @@
1
- import { TabProps } from '@mui/material';
2
- import { FC } from 'react';
3
- export declare const StyledTab: FC<TabProps>;
1
+ import { FC, ReactNode } from 'react';
2
+ import { TabValue } from './TabsContext';
3
+ /**
4
+ * @figmaNode wXrXt5uKNNzV2DnQCgyYZH#15981-35855
5
+ * Figma "Tab" / `_BASE_Tab`. Figma **Active** (on/off) ← whether this tab is the selected one in the
6
+ * surrounding `StyledTabs`; **State** (Enabled/Hovered/Focused/Disabled) ← native hover/focus +
7
+ * `disabled`. **Size** (Medium/Small) comes from `StyledTabs.size`. Active label + 2px underline =
8
+ * `gama-500` #168181 (text-icon/primary).
9
+ */
10
+ export interface StyledTabProps {
11
+ /** @figmaProp none — selection value */
12
+ value?: TabValue;
13
+ /** @figmaProp Label (tab content; may include a leading icon) */
14
+ label?: ReactNode;
15
+ /** @figmaProp State = true→"Disabled" */
16
+ disabled?: boolean;
17
+ className?: string;
18
+ sx?: unknown;
19
+ /** @internal Injected by `StyledTabs` so a value-less tab selects by position (MUI parity). */
20
+ index?: number;
21
+ }
22
+ /**
23
+ * Native tab button (replaces MUI `Tab`). Reads selection/size from the surrounding
24
+ * `StyledTabs` context and reports its node so the parent can position the active indicator.
25
+ * Public props (`value`/`label`/`disabled`/`className`) preserved (DEC-003). TASK-202.
26
+ */
27
+ export declare const StyledTab: FC<StyledTabProps>;
@@ -1,11 +1,26 @@
1
- import { TabsProps } from '@mui/material';
2
- import { FC } from 'react';
3
- type StyledTabsProps = TabsProps & {
1
+ import { FC, ReactNode, SyntheticEvent } from 'react';
2
+ import { TabValue } from './TabsContext';
3
+ /**
4
+ * @figmaNode wXrXt5uKNNzV2DnQCgyYZH#15981-35855
5
+ * The tablist. `value` marks which child `StyledTab` is Figma **Active**; `size` maps to Figma
6
+ * **Size** (`default`→Medium 48px, `small`→40px). The animated 2px underline is `gama-500`.
7
+ */
8
+ export interface StyledTabsProps {
9
+ /** @figmaProp Active — selects the matching child tab */
10
+ value?: TabValue;
11
+ onChange?(event: SyntheticEvent, value: TabValue): void;
12
+ variant?: 'standard' | 'scrollable' | 'fullWidth';
13
+ scrollButtons?: 'auto' | boolean;
14
+ centered?: boolean;
4
15
  size?: 'default' | 'small';
5
- };
16
+ className?: string;
17
+ sx?: unknown;
18
+ children?: ReactNode;
19
+ }
6
20
  /**
7
- * Styled wrapper for MUI Tabs with consistent theming tokens.
8
- * Provides customized styling for tab indicators, scroll buttons, and inactive states.
21
+ * Native tablist (replaces MUI `Tabs`). Provides selection/size via context to `StyledTab`
22
+ * children, animates an underline indicator measured from the active tab, and in the
23
+ * `scrollable` variant — shows overflow scroll buttons. Roving-tabindex arrow-key nav. Public
24
+ * props (`value`/`onChange`/`variant`/`scrollButtons`/`centered`/`size`) preserved (DEC-003). TASK-202.
9
25
  */
10
26
  export declare const StyledTabs: FC<StyledTabsProps>;
11
- export {};
@@ -0,0 +1,11 @@
1
+ import { SyntheticEvent } from 'react';
2
+ export type TabValue = unknown;
3
+ export interface TabsContextValue {
4
+ value: TabValue;
5
+ size: 'default' | 'small';
6
+ onSelect: (event: SyntheticEvent, value: TabValue) => void;
7
+ /** Registers a tab button so the parent can measure the active indicator and drive arrow-key focus. */
8
+ register: (value: TabValue, node: HTMLButtonElement | null) => void;
9
+ }
10
+ export declare const TabsContext: import('node_modules/@types/react').Context<TabsContextValue | null>;
11
+ export declare const useTabsContext: () => TabsContextValue | null;
@@ -0,0 +1,10 @@
1
+ export interface AccordionContextValue {
2
+ open: boolean;
3
+ toggle: () => void;
4
+ disabled?: boolean;
5
+ triggerId: string;
6
+ panelId: string;
7
+ }
8
+ /** Shared open-state + ARIA ids for the accordion compound (replaces `@base-ui/react`). */
9
+ export declare const AccordionContext: import('node_modules/@types/react').Context<AccordionContextValue | null>;
10
+ export declare const useAccordionContext: () => AccordionContextValue;
@@ -1,11 +1,17 @@
1
- import { Accordion } from '@base-ui/react/accordion';
1
+ import { HTMLAttributes } from 'react';
2
2
  import * as React from 'react';
3
- interface StyledAccordionProps extends Omit<React.ComponentProps<typeof Accordion.Root>, 'value' | 'onValueChange' | 'defaultValue' | 'onChange'> {
3
+ interface StyledAccordionProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'> {
4
4
  className?: string;
5
5
  children: React.ReactNode;
6
6
  expanded?: boolean;
7
7
  defaultExpanded?: boolean;
8
+ disabled?: boolean;
8
9
  onChange?: (expanded: boolean) => void;
9
10
  }
10
- export declare const StyledAccordion: ({ className, children, expanded, defaultExpanded, onChange, ...props }: StyledAccordionProps) => JSX.Element;
11
+ /**
12
+ * Native accordion root (replaces `@base-ui/react`): owns the open state (controlled via `expanded`
13
+ * or uncontrolled via `defaultExpanded`) and shares it with `StyledAccordionSummary`/`Details`
14
+ * through context. TASK-201.
15
+ */
16
+ export declare const StyledAccordion: ({ className, children, expanded, defaultExpanded, disabled, onChange, ...props }: StyledAccordionProps) => JSX.Element;
11
17
  export {};
@@ -2,5 +2,10 @@ import * as React from 'react';
2
2
  type StyledAccordionDetailsProps = React.HTMLAttributes<HTMLDivElement> & {
3
3
  contentClassName?: string;
4
4
  };
5
+ /**
6
+ * Native accordion panel (replaces `@base-ui/react`): a `role="region"` whose height animates
7
+ * between 0 and its measured content height via the SCSS `--accordion-panel-height` var (was
8
+ * base-ui-provided). Kept `hidden` when closed after the transition for a11y. TASK-201.
9
+ */
5
10
  export declare const StyledAccordionDetails: ({ children, className, contentClassName, ...props }: StyledAccordionDetailsProps) => JSX.Element;
6
11
  export {};
@@ -1,10 +1,22 @@
1
- import { Accordion } from '@base-ui/react/accordion';
2
1
  import * as React from 'react';
3
2
  export type StyledAccordionSummarySize = 'small' | 'large';
4
- export interface StyledAccordionSummaryProps extends React.ComponentProps<typeof Accordion.Trigger> {
5
- headerClassName?: string | ((state: Accordion.Item.State) => string);
3
+ /**
4
+ * @figmaNode wXrXt5uKNNzV2DnQCgyYZH#21228-37809
5
+ * The accordion header. Figma: rounded-8 white container (border/outline delta-300), 16px padding,
6
+ * title = Section title 18px SemiBold delta-800 with a 24px chevron. Figma places the chevron to the
7
+ * **left** of the title; `expandChevronRight` opts into the right-hand (MUI-style) placement.
8
+ */
9
+ export interface StyledAccordionSummaryProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'type'> {
10
+ headerClassName?: string;
11
+ /** @figmaProp size = large→"Default" (72px, 18px title) | small→48px, 14px */
6
12
  size?: StyledAccordionSummarySize;
13
+ /** @figmaProp Chevron placement — Figma default is left; true = right (MUI parity) */
7
14
  expandChevronRight?: boolean;
8
15
  sx?: React.CSSProperties;
9
16
  }
10
- export declare const StyledAccordionSummary: ({ size, expandChevronRight, className, headerClassName, sx, children, ...rest }: StyledAccordionSummaryProps) => JSX.Element;
17
+ /**
18
+ * Native accordion trigger (replaces `@base-ui/react`): a `<button aria-expanded aria-controls>`
19
+ * inside a header, toggling the shared context. `data-panel-open` drives the chevron rotation in
20
+ * SCSS. TASK-201.
21
+ */
22
+ export declare const StyledAccordionSummary: ({ size, expandChevronRight, className, headerClassName, sx, children, onClick, ...rest }: StyledAccordionSummaryProps) => JSX.Element;
@@ -1,4 +1,4 @@
1
- import { AlertColor } from '@mui/material';
1
+ import { AlertColor } from '../../feedback/snack-bar/StyledAlert';
2
2
  import { SnackbarProviderProps } from 'notistack';
3
3
  import { FC, PropsWithChildren, ReactNode } from 'react';
4
4
  export type MessageProps = SnackbarProviderProps & {
@@ -9,6 +9,11 @@ export type MessageProps = SnackbarProviderProps & {
9
9
  id?: string;
10
10
  type?: 'loading';
11
11
  };
12
+ /**
13
+ * @figmaNode none — bespoke copy affordance (no DS component). Wraps `children` with a copy button
14
+ * that appears on hover; composes the aligned `StyledButton` (Tertiary/text, ContentCopyIcon 20) +
15
+ * `StyledTooltip`. Only own styling = the `gama-500` hover accent (token). Token-clean/theme-safe.
16
+ */
12
17
  export declare const CopyWrapper: FC<PropsWithChildren<{
13
18
  className?: string;
14
19
  contentToCopy: string;
@@ -1,5 +1,9 @@
1
1
  import { StyledButtonProps } from '../../inputs/button';
2
2
  /**
3
+ * @figmaNode wXrXt5uKNNzV2DnQCgyYZH#16741-35884 (Design-System · "Filter button") — button-only variant
4
+ * of `StyledFilterMenu` (no popover). Aligned `StyledButton` (Outlined) + the "Filters applied" badge:
5
+ * an 8px `gama-400` dot at top-right when `filterIsActive`.
6
+ *
3
7
  * Custom props:
4
8
  * @param filterIsActive - needed to determine whether or not to show the dot in the top right corner indicating some changes were made
5
9
  * @param hideLabel - icon-only mode. When omitted, follows the surrounding DynamicToolbar layout (filterIconOnly).
@@ -1,6 +1,12 @@
1
1
  import { default as React, ReactNode } from 'react';
2
- import { PopoverProps } from '@mui/material';
2
+ import { StyledPopoverProps } from '../popover';
3
3
  /**
4
+ * @figmaNode wXrXt5uKNNzV2DnQCgyYZH#16741-35884 (Design-System · "Filter button")
5
+ *
6
+ * Composes the aligned `StyledButton` (Secondary/Outlined, filter icon 24/20) + `StyledPopover`
7
+ * (Menus surface). `filterIsActive` shows the DS "Filters applied" badge — an 8px `gama-400` dot at
8
+ * top-right. No own styling beyond that dot; all visuals come from the aligned primitives.
9
+ *
4
10
  * Custom props:
5
11
  * @param filterIsActive - needed to determine whether or not to show the dot in the top right corner indicating some changes were made
6
12
  * @param popoverContent
@@ -16,7 +22,7 @@ interface StyledFilterMenuProps {
16
22
  disabled?: boolean;
17
23
  size?: 'small' | 'large' | 'medium';
18
24
  variant?: 'contained' | 'outlined' | 'text' | 'textGray';
19
- popoverProps?: Omit<PopoverProps, 'open' | 'anchorEl' | 'onClose'>;
25
+ popoverProps?: Omit<StyledPopoverProps, 'open' | 'anchorEl' | 'onClose' | 'children'>;
20
26
  anchorNode?: (props: {
21
27
  isOpen: boolean;
22
28
  onClose: () => void;
@@ -1,2 +1,39 @@
1
- import { PopoverProps } from '@mui/material';
2
- export declare const StyledPopover: ({ anchorOrigin, transformOrigin, className, ...props }: PopoverProps) => JSX.Element;
1
+ import { ReactNode } from 'react';
2
+ export interface PopoverOrigin {
3
+ vertical: 'top' | 'center' | 'bottom' | number;
4
+ horizontal: 'left' | 'center' | 'right' | number;
5
+ }
6
+ export type PopoverCloseReason = 'backdropClick' | 'escapeKeyDown';
7
+ export interface StyledPopoverProps {
8
+ open: boolean;
9
+ anchorEl?: Element | null;
10
+ onClose?: (event: object, reason?: PopoverCloseReason) => void;
11
+ anchorOrigin?: PopoverOrigin;
12
+ transformOrigin?: PopoverOrigin;
13
+ id?: string;
14
+ className?: string;
15
+ sx?: unknown;
16
+ slotProps?: {
17
+ paper?: {
18
+ className?: string;
19
+ sx?: unknown;
20
+ style?: React.CSSProperties;
21
+ };
22
+ };
23
+ onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
24
+ children?: ReactNode;
25
+ }
26
+ /**
27
+ * @figmaNode none — no standalone Figma component
28
+ * Anchored-overlay **primitive** (replaces MUI `Popover`); the Figma DS has no "Popover" component,
29
+ * so the base paper uses the DS floating-surface defaults: white, radius **4** (Figma `menus`/
30
+ * `text-field` radius token), and the **Float** elevation (drop-shadow `0 1 12 rgba(0,0,0,.15)`).
31
+ * Styled consumers override the paper — `StyledMenu` adds the delta-300 border + Menus shadow
32
+ * (`0 2 4 rgba(34,33,51,.15)`), the date-picker calendar keeps this base. Rendered in the browser
33
+ * **top layer** (see `useTopLayerRef`) so it paints above a modal `<dialog>`.
34
+ *
35
+ * Positions against `anchorEl`, flips/shifts on collision, portalled, closes on outside-press/escape
36
+ * mapping to MUI's `onClose(event, reason)`. `anchorOrigin`/`transformOrigin`/`slotProps.paper`
37
+ * preserved (DEC-003). TASK-302.
38
+ */
39
+ export declare const StyledPopover: ({ open, anchorEl, onClose, anchorOrigin, transformOrigin, id, className, sx, slotProps, onClick, children, }: StyledPopoverProps) => JSX.Element | null;
@@ -0,0 +1,32 @@
1
+ import { CSSProperties, Key, ReactNode } from 'react';
2
+ export interface TVirtualListProps<TItem> {
3
+ items: readonly TItem[];
4
+ /** Fixed row height in px, or a per-index height. Treated as an estimate when `measureRows` is on. */
5
+ itemSize: number | ((index: number) => number);
6
+ /** Viewport height of the scroll container. */
7
+ height: number | string;
8
+ /** Viewport width of the scroll container. Defaults to '100%'. */
9
+ width?: number | string;
10
+ /** Re-measure rendered rows with a ResizeObserver — for rows whose real height is content-driven. */
11
+ measureRows?: boolean;
12
+ overscan?: number;
13
+ /** Stable row identity for the measurement cache; defaults to the row index. */
14
+ getItemKey?: (index: number) => Key;
15
+ className?: string;
16
+ /** Class of the inner sizer element — e.g. pass a min-width class to allow horizontal overflow. */
17
+ contentClassName?: string;
18
+ contentStyle?: CSSProperties;
19
+ dataTest?: string;
20
+ renderItem: (item: TItem, index: number) => ReactNode;
21
+ }
22
+ /**
23
+ * @figmaNode none — **headless windowing primitive** (no DS visuals). It only owns a scroll
24
+ * container + absolutely-positioned row wrappers; all row appearance is the consumer's `renderItem`.
25
+ * Nothing to align — it carries no colours/dimensions of its own.
26
+ *
27
+ * Windowed vertical list on top of `@tanstack/react-virtual`. Covers both the fixed-size and the
28
+ * variable-size case (`itemSize` as number or per-index function), and content-driven row heights
29
+ * via `measureRows` — no imperative reset calls needed when a row changes height. The component
30
+ * owns its scroll container, so no explicit pixel width/AutoSizer wrapper is required.
31
+ */
32
+ export declare const VirtualList: <TItem>({ items, itemSize, height, width, measureRows, overscan, getItemKey, className, contentClassName, contentStyle, dataTest, renderItem, }: TVirtualListProps<TItem>) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './VirtualList';
@@ -1,2 +1,13 @@
1
1
  import { DatePickerProps } from './types';
2
+ /**
3
+ * @figmaNode wXrXt5uKNNzV2DnQCgyYZH#14333-90631
4
+ * Figma "Date picker". The trigger is the outlined **Input field** (`field-styles`) + a `delta-500`
5
+ * outlined calendar **Button** (disabled with the field). The calendar is the **Date picker month**
6
+ * (360×392) in a `StyledPopover` (desktop) or a bottom-sheet `Drawer` (mobile, with safe-area `pb`).
7
+ * **Day** cells are 40×40, number Body Base SemiBold 16/lh24, per state (node 14333-90932):
8
+ * default text delta-800 / hover delta-50 / radius 4; **today** gama-50 + 2px gama-400 border (hover
9
+ * gama-100); **selected** gama-500 fill + white text + white inset ring, radius 8 (hover gama-600);
10
+ * **other-month** delta-600 Regular; **range** gama-50 fill (hover gama-100); **disabled** delta-300;
11
+ * week number delta-700 14px; weekday header delta-600. Non-annotated props are behavioral.
12
+ */
2
13
  export declare const StyledDatePicker: (props: DatePickerProps) => JSX.Element;
@@ -2,6 +2,8 @@ import { default as React } from 'react';
2
2
  interface DatePickerButtonProps {
3
3
  onClick: (e: React.MouseEvent<HTMLButtonElement>) => void;
4
4
  disabled?: boolean;
5
+ /** Locale code (e.g. `nb`) for the icon-only button's accessible name. */
6
+ localeCode?: string;
5
7
  }
6
8
  export declare const DatePickerButton: React.FC<DatePickerButtonProps>;
7
9
  export {};
@@ -1,5 +1,5 @@
1
1
  import { DatePickerProps } from '../types';
2
- import { PopoverProps } from '@mui/material';
2
+ import { StyledPopoverProps as PopoverProps } from '../../../../components/utils/popover';
3
3
  export declare const StyledCalendarPicker: React.FC<{
4
4
  datePickerProps: DatePickerProps;
5
5
  popoverProps: PopoverProps;
@@ -1,5 +1,5 @@
1
1
  import { DatePickerProps } from '../types';
2
- import { PopoverProps } from '@mui/material';
2
+ import { StyledPopoverProps as PopoverProps } from '../../../../components/utils/popover';
3
3
  export declare const StyledDayPicker: React.FC<{
4
4
  datePickerProps: DatePickerProps;
5
5
  popoverProps: PopoverProps;
@@ -1,4 +1,3 @@
1
- import { MutableRefObject } from 'node_modules/@types/react';
2
1
  export declare const useDatePickerMask: () => {
3
- maskRef: MutableRefObject<HTMLInputElement | null>;
2
+ maskRef: (element: HTMLInputElement | null) => void;
4
3
  };
@@ -1,7 +1,9 @@
1
1
  import { Matcher } from 'react-day-picker';
2
- export declare const useDatePickerValidation: () => {
2
+ interface DatePickerValidation {
3
3
  validationError: boolean;
4
- handleValidation: ({ value, disabledDays, localeCode, disallowPast, disallowFuture, required, minDate, }: {
4
+ errHelperText: string;
5
+ clearValidation: () => void;
6
+ handleValidation: (args: {
5
7
  value: string;
6
8
  disabledDays?: Matcher | Matcher[];
7
9
  localeCode?: string;
@@ -10,6 +12,6 @@ export declare const useDatePickerValidation: () => {
10
12
  required?: boolean;
11
13
  minDate?: Date;
12
14
  }) => boolean;
13
- errHelperText: string;
14
- clearValidation: () => void;
15
- };
15
+ }
16
+ export declare const useDatePickerValidation: () => DatePickerValidation;
17
+ export {};
@@ -1,2 +1,12 @@
1
1
  import { StyledTimePickerProps } from './types';
2
+ /**
3
+ * @figmaNode wXrXt5uKNNzV2DnQCgyYZH#15561-37391
4
+ * Figma has no distinct time-picker-popover component — the trigger is the outlined **Input field**
5
+ * (`field-styles`: 40px, border delta-500 / hover gama-300 / focus gama-400 / error error-500) with
6
+ * a trailing **clock icon** (delta-700 like the select/search field icons; delta-300 when disabled).
7
+ * The dropdown follows the **Menus** surface (delta-300 border + Menus shadow `0 2 4 rgba(34,33,51,
8
+ * .15)`): scrollable hour/minute columns of 36px cells — hover delta-50, "now" gama-50 (like the
9
+ * calendar "today"), selected gama-500 white — plus an eraser + confirm footer. State (Enabled/Focus/
10
+ * Error/Disabled) ← the field. Non-annotated props are behavioral.
11
+ */
2
12
  export declare const StyledTimePicker: React.FC<StyledTimePickerProps>;
@@ -1,5 +1,5 @@
1
1
  import { StyledTimePickerProps } from './types';
2
- import { PopupState } from 'material-ui-popup-state/hooks';
2
+ import { PopupState } from '../../../hooks/usePopupState';
3
3
  import { ChangeEvent } from 'react';
4
4
  export declare const TimePickerInput: React.FC<StyledTimePickerProps & {
5
5
  popupState: PopupState;
@@ -1,4 +1,4 @@
1
- import { PopupState } from 'material-ui-popup-state/hooks';
1
+ import { PopupState } from '../../../hooks/usePopupState';
2
2
  import { StyledTimePickerProps } from './types';
3
3
  export declare const TimePickerPopper: React.FC<StyledTimePickerProps & {
4
4
  popupState: PopupState;
@@ -1,4 +1,3 @@
1
- import { default as PopupState } from 'material-ui-popup-state';
2
1
  import { ReactNode } from 'react';
3
2
  /**
4
3
  * @param notBeforeTime - Start time of the range. Selected time must be after this value.
@@ -19,4 +18,4 @@ export interface StyledTimePickerProps {
19
18
  title?: string;
20
19
  notBeforeTime?: Date;
21
20
  }
22
- export type IPopupStateType = ReturnType<typeof PopupState>;
21
+ export type IPopupStateType = JSX.Element;
@@ -1,6 +1,8 @@
1
- export declare const useToggleMenuVisibility: () => {
1
+ interface ToggleMenuVisibility {
2
2
  open: boolean;
3
- handleClose: () => void;
4
- handleOpen: (event: React.MouseEvent<HTMLElement | SVGSVGElement>) => void;
5
3
  anchorEl: HTMLElement | SVGSVGElement | null;
6
- };
4
+ handleOpen: (event: React.MouseEvent<HTMLElement | SVGSVGElement>) => void;
5
+ handleClose: () => void;
6
+ }
7
+ export declare const useToggleMenuVisibility: () => ToggleMenuVisibility;
8
+ export {};
@@ -1,2 +1 @@
1
- import { FormControlProps } from '@mui/material';
2
- export declare const StyledFormControl: (props: FormControlProps) => JSX.Element;
1
+ export { StyledFormControl, type FormControlProps } from '../../components/miscellaneous/StyledFormControl';
@@ -1,12 +1 @@
1
- import { TextFieldProps } from '@mui/material';
2
- /**
3
- *
4
- * @inputRef
5
- * inputRef to get Node of Input Element inside
6
- *
7
- * type='mui-input' is temporary, remove it after deleting antd from all projects. Antd lib overwrites styles for type[text]
8
- */
9
- export declare const StyledInputField: React.FC<TextFieldProps & {
10
- readOnly?: boolean;
11
- dataTest: string;
12
- }>;
1
+ export { StyledInputField, type StyledInputFieldProps } from '../../components/inputs/input-field/StyledInputField';
@@ -1,16 +1 @@
1
- import { SelectProps } from '@mui/material';
2
- /**
3
- *
4
- * @usage
5
- * use StyleSelect only inside StyledFormControl
6
- *
7
- * @size
8
- * control the size through StyledFormControl
9
- *
10
- * @inputRef
11
- * inputRef to get Node of Input Element inside
12
- *
13
- */
14
- export declare const StyledSelect: React.FC<SelectProps & {
15
- dataTest: string;
16
- }>;
1
+ export { StyledSelect, type StyledSelectProps, type SelectChangeEvent } from '../../components/inputs/select/StyledSelect';
@@ -1,2 +1 @@
1
- import { MenuItemProps } from '@mui/material';
2
- export declare const StyledSelectItem: (item: MenuItemProps) => JSX.Element;
1
+ export { StyledSelectItem, type StyledSelectItemProps } from '../../components/inputs/select/StyledSelectItem';
@@ -1,2 +1 @@
1
- import { TooltipProps } from '@mui/material';
2
- export declare const StyledTooltip: (props: TooltipProps) => JSX.Element;
1
+ export { StyledTooltip, type TooltipProps } from '../../components/data-display/tooltip/StyledTooltip';