asma-ui-datetime 0.0.0 → 0.0.1

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 (329) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/Readme.md +1 -1
  3. package/dist/asma-ui-table.es.js +20 -0
  4. package/dist/src/hooks/useToggleMenuVisibility.hook.d.ts +1 -1
  5. package/dist/src/index.d.ts +2 -42
  6. package/dist/src/shared-components/CheckIcon.d.ts +2 -0
  7. package/dist/src/shared-components/ChevronLeftIcon.d.ts +2 -0
  8. package/dist/src/shared-components/ChevronRightIcon.d.ts +2 -0
  9. package/dist/src/shared-components/ClockOutlineIcon.d.ts +2 -0
  10. package/dist/src/shared-components/CloseIcon.d.ts +2 -0
  11. package/dist/src/shared-components/EraserIcon.d.ts +2 -0
  12. package/dist/src/shared-components/ExpandIcon.d.ts +2 -0
  13. package/dist/src/{components/icons/check-fact-outline-icon/CheckFactOutlineIcon.d.ts → shared-components/OutlineCalendarMonth.d.ts} +1 -1
  14. package/dist/src/shared-components/StyledButton.d.ts +2 -0
  15. package/dist/tailwind.config.d.ts +167 -67
  16. package/package.json +12 -27
  17. package/dist/asma-core-ui.es.js +0 -47
  18. package/dist/src/components/custom/module/module-title/StyledModuleTitle.d.ts +0 -5
  19. package/dist/src/components/custom/widget/widget/StyledWidget.d.ts +0 -16
  20. package/dist/src/components/custom/widget/widget-header/StyledWidgetHeader.d.ts +0 -5
  21. package/dist/src/components/custom/widget/widget-title/StyledWidgetTitle.d.ts +0 -2
  22. package/dist/src/components/data-display/badge/StyledBadge.d.ts +0 -5
  23. package/dist/src/components/data-display/badge/index.d.ts +0 -1
  24. package/dist/src/components/data-display/chip/StyledChip.d.ts +0 -5
  25. package/dist/src/components/data-display/chip/index.d.ts +0 -1
  26. package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +0 -2
  27. package/dist/src/components/data-display/tooltip/index.d.ts +0 -1
  28. package/dist/src/components/data-display/typography/StyledTypography.d.ts +0 -2
  29. package/dist/src/components/data-display/typography/index.d.ts +0 -1
  30. package/dist/src/components/feedback/alert/StyledAlert.d.ts +0 -2
  31. package/dist/src/components/feedback/alert/StyledAlertTitle.d.ts +0 -2
  32. package/dist/src/components/feedback/alert/index.d.ts +0 -2
  33. package/dist/src/components/feedback/dialog/StyledDialog.d.ts +0 -10
  34. package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +0 -2
  35. package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +0 -2
  36. package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +0 -2
  37. package/dist/src/components/feedback/dialog/index.d.ts +0 -4
  38. package/dist/src/components/feedback/minimizable-dialog/MinimizableDialog.d.ts +0 -20
  39. package/dist/src/components/feedback/snack-bar/SnackbarProvider.d.ts +0 -32
  40. package/dist/src/components/feedback/snack-bar/StyledAlertSnackbar.d.ts +0 -11
  41. package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +0 -2
  42. package/dist/src/components/feedback/snack-bar/components/StyledInfoSnackbar.d.ts +0 -12
  43. package/dist/src/components/feedback/snack-bar/components/processMessageError.d.ts +0 -3
  44. package/dist/src/components/feedback/snack-bar/components/processMessageInfo.d.ts +0 -3
  45. package/dist/src/components/feedback/snack-bar/components/types.d.ts +0 -10
  46. package/dist/src/components/feedback/snack-bar/components-styled/InfoMessages.d.ts +0 -2
  47. package/dist/src/components/feedback/snack-bar/index.d.ts +0 -6
  48. package/dist/src/components/feedback/snack-bar/message.d.ts +0 -17
  49. package/dist/src/components/feedback/snack-bar/processAlertSnackBar.d.ts +0 -1
  50. package/dist/src/components/feedback/snack-bar/processInfoSnackbar.d.ts +0 -1
  51. package/dist/src/components/icons/IconTemplate.d.ts +0 -3
  52. package/dist/src/components/icons/Icons.d.ts +0 -5
  53. package/dist/src/components/icons/Icons.types.d.ts +0 -12
  54. package/dist/src/components/icons/archive-icon/ArchiveIcon.d.ts +0 -3
  55. package/dist/src/components/icons/archive-icon/index.d.ts +0 -1
  56. package/dist/src/components/icons/assignment/AssignmentIcon.d.ts +0 -3
  57. package/dist/src/components/icons/assignment/index.d.ts +0 -1
  58. package/dist/src/components/icons/assignment-outline-icon/AssignmentOutlineIcon.d.ts +0 -3
  59. package/dist/src/components/icons/assignment-outline-icon/index.d.ts +0 -1
  60. package/dist/src/components/icons/badge-icon/BadgeIcon.d.ts +0 -2
  61. package/dist/src/components/icons/badge-icon/index.d.ts +0 -1
  62. package/dist/src/components/icons/bell-icon/BellIcon.d.ts +0 -3
  63. package/dist/src/components/icons/bell-icon/index.d.ts +0 -1
  64. package/dist/src/components/icons/bell-outline-icon/BellOutlineIcon.d.ts +0 -3
  65. package/dist/src/components/icons/bell-outline-icon/index.d.ts +0 -1
  66. package/dist/src/components/icons/calendar-blank-outline-icon/CalendarBlankOutlineIcon.d.ts +0 -3
  67. package/dist/src/components/icons/calendar-blank-outline-icon/index.d.ts +0 -1
  68. package/dist/src/components/icons/calendar-icon/CalendarIcon.d.ts +0 -3
  69. package/dist/src/components/icons/calendar-icon/NewCalendarIcon.d.ts +0 -2
  70. package/dist/src/components/icons/calendar-icon/index.d.ts +0 -2
  71. package/dist/src/components/icons/calendar-range-icon/CalendarIcon.d.ts +0 -3
  72. package/dist/src/components/icons/calendar-range-icon/index.d.ts +0 -1
  73. package/dist/src/components/icons/check-fact-icon/CheckFactIcon.d.ts +0 -2
  74. package/dist/src/components/icons/check-fact-icon/index.d.ts +0 -1
  75. package/dist/src/components/icons/check-fact-outline-icon/index.d.ts +0 -1
  76. package/dist/src/components/icons/check-icon/CheckIcon.d.ts +0 -3
  77. package/dist/src/components/icons/check-icon/index.d.ts +0 -1
  78. package/dist/src/components/icons/check-outline-icon/CheckOutlineIcon.d.ts +0 -2
  79. package/dist/src/components/icons/check-outline-icon/index.d.ts +0 -1
  80. package/dist/src/components/icons/checkbox-checked-icon/CheckBoxCheckedIcon.d.ts +0 -3
  81. package/dist/src/components/icons/checkbox-checked-icon/index.d.ts +0 -1
  82. package/dist/src/components/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.d.ts +0 -3
  83. package/dist/src/components/icons/chevron-double-left-icon/index.d.ts +0 -1
  84. package/dist/src/components/icons/chevron-double-right-icon/ChevronDoubleRightIcon.d.ts +0 -3
  85. package/dist/src/components/icons/chevron-double-right-icon/index.d.ts +0 -1
  86. package/dist/src/components/icons/chevron-down-icon/ChevronDownIcon.d.ts +0 -3
  87. package/dist/src/components/icons/chevron-down-icon/index.d.ts +0 -1
  88. package/dist/src/components/icons/chevron-left-icon/ChevronLeftIcon.d.ts +0 -3
  89. package/dist/src/components/icons/chevron-left-icon/index.d.ts +0 -1
  90. package/dist/src/components/icons/chevron-right-icon/ChevronRightIcon.d.ts +0 -3
  91. package/dist/src/components/icons/chevron-right-icon/index.d.ts +0 -1
  92. package/dist/src/components/icons/chevron-up-icon/ChevronUpIcon.d.ts +0 -3
  93. package/dist/src/components/icons/chevron-up-icon/index.d.ts +0 -1
  94. package/dist/src/components/icons/clock-outline-icon/ClockOutlineIcon.d.ts +0 -3
  95. package/dist/src/components/icons/clock-outline-icon/index.d.ts +0 -1
  96. package/dist/src/components/icons/close-icon/CloseIcon.d.ts +0 -3
  97. package/dist/src/components/icons/close-icon/index.d.ts +0 -1
  98. package/dist/src/components/icons/consents-icon/ConsentsIcon.d.ts +0 -2
  99. package/dist/src/components/icons/consents-icon/index.d.ts +0 -1
  100. package/dist/src/components/icons/dashboard-view-icon/DashboardViewIcon.d.ts +0 -3
  101. package/dist/src/components/icons/dashboard-view-icon/index.d.ts +0 -1
  102. package/dist/src/components/icons/dashboard-view-outline-icon/DashboardViewOutlineIcon.d.ts +0 -3
  103. package/dist/src/components/icons/dashboard-view-outline-icon/index.d.ts +0 -1
  104. package/dist/src/components/icons/delete-outline-icon/DeleteOutlineIcon.d.ts +0 -3
  105. package/dist/src/components/icons/delete-outline-icon/index.d.ts +0 -1
  106. package/dist/src/components/icons/dots-vertical-icon/DotsVerticalIcon.d.ts +0 -3
  107. package/dist/src/components/icons/dots-vertical-icon/index.d.ts +0 -1
  108. package/dist/src/components/icons/download-icon/DownloadIcon.d.ts +0 -3
  109. package/dist/src/components/icons/download-icon/index.d.ts +0 -1
  110. package/dist/src/components/icons/drag-horizontal-icon/DragHorizontalIcon.d.ts +0 -3
  111. package/dist/src/components/icons/drag-horizontal-icon/index.d.ts +0 -1
  112. package/dist/src/components/icons/drop-down-icon/DropDownIcon.d.ts +0 -3
  113. package/dist/src/components/icons/drop-down-icon/index.d.ts +0 -1
  114. package/dist/src/components/icons/drop-up-icon/DropUpIcon.d.ts +0 -3
  115. package/dist/src/components/icons/drop-up-icon/index.d.ts +0 -1
  116. package/dist/src/components/icons/dvr-icon/DvrIcon.d.ts +0 -3
  117. package/dist/src/components/icons/dvr-icon/index.d.ts +0 -1
  118. package/dist/src/components/icons/earth-icon/EarthIcon.d.ts +0 -3
  119. package/dist/src/components/icons/earth-icon/index.d.ts +0 -1
  120. package/dist/src/components/icons/edit-square-icon/EditSquareIcon.d.ts +0 -2
  121. package/dist/src/components/icons/edit-square-icon/index.d.ts +0 -1
  122. package/dist/src/components/icons/empty-page-icon/EmptyPageIcon.d.ts +0 -3
  123. package/dist/src/components/icons/empty-page-icon/index.d.ts +0 -1
  124. package/dist/src/components/icons/error-outline-icon/ErrorOutlineIcon.d.ts +0 -3
  125. package/dist/src/components/icons/error-outline-icon/index.d.ts +0 -1
  126. package/dist/src/components/icons/fast-check-outline-icon/FastCheckOutlineIcon.d.ts +0 -3
  127. package/dist/src/components/icons/fast-check-outline-icon/index.d.ts +0 -1
  128. package/dist/src/components/icons/file-pdf-icon/FilePdfIcon.d.ts +0 -3
  129. package/dist/src/components/icons/file-pdf-icon/index.d.ts +0 -1
  130. package/dist/src/components/icons/filter-icon/FilterIcon.d.ts +0 -3
  131. package/dist/src/components/icons/filter-icon/index.d.ts +0 -1
  132. package/dist/src/components/icons/find-replace-icon/FindReplaceIcon.d.ts +0 -3
  133. package/dist/src/components/icons/find-replace-icon/index.d.ts +0 -1
  134. package/dist/src/components/icons/find-replace-people-icon/FindReplacePeopleIcon.d.ts +0 -6
  135. package/dist/src/components/icons/find-replace-people-icon/index.d.ts +0 -1
  136. package/dist/src/components/icons/hamburger-icon/HamburgerIcon.d.ts +0 -3
  137. package/dist/src/components/icons/hamburger-icon/index.d.ts +0 -1
  138. package/dist/src/components/icons/handyman-icon/HandymanIcon.d.ts +0 -2
  139. package/dist/src/components/icons/handyman-icon/index.d.ts +0 -1
  140. package/dist/src/components/icons/handyman-outline-icon/HandymanOutlineIcon.d.ts +0 -2
  141. package/dist/src/components/icons/handyman-outline-icon/index.d.ts +0 -1
  142. package/dist/src/components/icons/inbox-outbox-icon/InboxOutboxIcon.d.ts +0 -3
  143. package/dist/src/components/icons/inbox-outbox-icon/index.d.ts +0 -1
  144. package/dist/src/components/icons/inbox-outbox-outline-icon/InboxOutboxOutlineIcon.d.ts +0 -3
  145. package/dist/src/components/icons/inbox-outbox-outline-icon/index.d.ts +0 -1
  146. package/dist/src/components/icons/index.d.ts +0 -82
  147. package/dist/src/components/icons/keyboard-capslock-icon/KeyboardCapslockIcon.d.ts +0 -2
  148. package/dist/src/components/icons/keyboard-capslock-icon/index.d.ts +0 -1
  149. package/dist/src/components/icons/link-outline-icon/LinkOutlineIcon.d.ts +0 -3
  150. package/dist/src/components/icons/link-outline-icon/index.d.ts +0 -1
  151. package/dist/src/components/icons/list-numbered-icon/ListNumberedIcon.d.ts +0 -3
  152. package/dist/src/components/icons/list-numbered-icon/index.d.ts +0 -1
  153. package/dist/src/components/icons/list-settings-line-icon/ListSettingsLineIcon.d.ts +0 -3
  154. package/dist/src/components/icons/list-settings-line-icon/index.d.ts +0 -1
  155. package/dist/src/components/icons/list-status-icon/ListStatusIcon.d.ts +0 -3
  156. package/dist/src/components/icons/list-status-icon/index.d.ts +0 -1
  157. package/dist/src/components/icons/loading-icon/LoadingIcon.d.ts +0 -3
  158. package/dist/src/components/icons/loading-icon/index.d.ts +0 -1
  159. package/dist/src/components/icons/lock-icon/LockIcon.d.ts +0 -3
  160. package/dist/src/components/icons/lock-icon/index.d.ts +0 -1
  161. package/dist/src/components/icons/message-processing-icon/MessageProcessingIcon.d.ts +0 -3
  162. package/dist/src/components/icons/message-processing-icon/index.d.ts +0 -1
  163. package/dist/src/components/icons/message-processing-outline-icon/MessageProcessingOutlineIcon.d.ts +0 -3
  164. package/dist/src/components/icons/message-processing-outline-icon/index.d.ts +0 -1
  165. package/dist/src/components/icons/message-reply-icon/MessageReplyIcon.d.ts +0 -2
  166. package/dist/src/components/icons/message-reply-icon/index.d.ts +0 -1
  167. package/dist/src/components/icons/minimize-icon/MinimizeIcon.d.ts +0 -2
  168. package/dist/src/components/icons/minimize-icon/index.d.ts +0 -1
  169. package/dist/src/components/icons/outline-calendar-month/OutlineCalendarMonth.d.ts +0 -3
  170. package/dist/src/components/icons/outline-calendar-month/index.d.ts +0 -1
  171. package/dist/src/components/icons/pdf-icon/PdfIcon.d.ts +0 -3
  172. package/dist/src/components/icons/pdf-icon/index.d.ts +0 -1
  173. package/dist/src/components/icons/pencil-outline-icon/PencilOutlineIcon.d.ts +0 -3
  174. package/dist/src/components/icons/pencil-outline-icon/index.d.ts +0 -1
  175. package/dist/src/components/icons/people-icon/PeopleIcon.d.ts +0 -3
  176. package/dist/src/components/icons/people-icon/index.d.ts +0 -1
  177. package/dist/src/components/icons/people-outline-icon/PeopleOutlineIcon.d.ts +0 -3
  178. package/dist/src/components/icons/people-outline-icon/index.d.ts +0 -1
  179. package/dist/src/components/icons/perm-media-icon/PermMediaIcon.d.ts +0 -3
  180. package/dist/src/components/icons/perm-media-icon/index.d.ts +0 -1
  181. package/dist/src/components/icons/perm-media-outline-icon/PermMediaOutline.d.ts +0 -3
  182. package/dist/src/components/icons/perm-media-outline-icon/index.d.ts +0 -1
  183. package/dist/src/components/icons/person-icon/PersonIcon.d.ts +0 -3
  184. package/dist/src/components/icons/person-icon/index.d.ts +0 -1
  185. package/dist/src/components/icons/person-outline-icon/PersonOutlineIcon.d.ts +0 -3
  186. package/dist/src/components/icons/person-outline-icon/index.d.ts +0 -1
  187. package/dist/src/components/icons/pin-icon/PinIcon.d.ts +0 -2
  188. package/dist/src/components/icons/pin-icon/index.d.ts +0 -1
  189. package/dist/src/components/icons/plus-icon/PlusIcon.d.ts +0 -2
  190. package/dist/src/components/icons/plus-icon/index.d.ts +0 -1
  191. package/dist/src/components/icons/plus-icon-circle/PlusIconCircle.d.ts +0 -2
  192. package/dist/src/components/icons/plus-icon-circle/index.d.ts +0 -1
  193. package/dist/src/components/icons/qnr-icon/QnrIcon.d.ts +0 -3
  194. package/dist/src/components/icons/qnr-icon/index.d.ts +0 -1
  195. package/dist/src/components/icons/replay-icon/ReplayIcon.d.ts +0 -3
  196. package/dist/src/components/icons/replay-icon/index.d.ts +0 -1
  197. package/dist/src/components/icons/report-box-icon/ReportBoxIcon.d.ts +0 -3
  198. package/dist/src/components/icons/report-box-icon/index.d.ts +0 -1
  199. package/dist/src/components/icons/report-box-outline-icon/ReportBoxOutlineIcon.d.ts +0 -3
  200. package/dist/src/components/icons/report-box-outline-icon/index.d.ts +0 -1
  201. package/dist/src/components/icons/search-icon/SearchIcon.d.ts +0 -3
  202. package/dist/src/components/icons/search-icon/index.d.ts +0 -1
  203. package/dist/src/components/icons/settings-icon/SettingsIcon.d.ts +0 -3
  204. package/dist/src/components/icons/settings-icon/index.d.ts +0 -1
  205. package/dist/src/components/icons/settings-menu-horizontal-icon/SettingsMenuHorizontalIcon.d.ts +0 -3
  206. package/dist/src/components/icons/settings-menu-horizontal-icon/index.d.ts +0 -1
  207. package/dist/src/components/icons/settings-outline-icon/SettingsOutlineIcon.d.ts +0 -3
  208. package/dist/src/components/icons/settings-outline-icon/index.d.ts +0 -1
  209. package/dist/src/components/icons/text-box-check-outline-icon/TextBoxCheckOutlineIcon.d.ts +0 -3
  210. package/dist/src/components/icons/text-box-check-outline-icon/index.d.ts +0 -1
  211. package/dist/src/components/icons/topic-icon/TopicIcon.d.ts +0 -3
  212. package/dist/src/components/icons/topic-icon/index.d.ts +0 -1
  213. package/dist/src/components/icons/unknown-document-outline-rounded-icon/UnknownDocumentOutlineRoundedIcon.d.ts +0 -3
  214. package/dist/src/components/icons/unknown-document-outline-rounded-icon/index.d.ts +0 -1
  215. package/dist/src/components/icons/warning-icon/WarningAmberOutlineIcon.d.ts +0 -2
  216. package/dist/src/components/icons/warning-icon/index.d.ts +0 -1
  217. package/dist/src/components/icons/work-icon/WorkIcon.d.ts +0 -2
  218. package/dist/src/components/icons/work-icon/index.d.ts +0 -1
  219. package/dist/src/components/inputs/button/StyledButton.d.ts +0 -40
  220. package/dist/src/components/inputs/button/index.d.ts +0 -1
  221. package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +0 -5
  222. package/dist/src/components/inputs/checkbox/index.d.ts +0 -1
  223. package/dist/src/components/inputs/input-field/index.d.ts +0 -2
  224. package/dist/src/components/inputs/input-field/story/components/StyledInputFieldExample.d.ts +0 -2
  225. package/dist/src/components/inputs/label/StyledLabel.d.ts +0 -9
  226. package/dist/src/components/inputs/label/index.d.ts +0 -1
  227. package/dist/src/components/inputs/radio-button/StyledRadio.d.ts +0 -4
  228. package/dist/src/components/inputs/radio-button/StyledRadioGroup.d.ts +0 -4
  229. package/dist/src/components/inputs/radio-button/index.d.ts +0 -2
  230. package/dist/src/components/inputs/rich-input/RichInput.d.ts +0 -13
  231. package/dist/src/components/inputs/rich-input/index.d.ts +0 -1
  232. package/dist/src/components/inputs/select/index.d.ts +0 -3
  233. package/dist/src/components/inputs/select/story/components/StyledSelectExample.d.ts +0 -2
  234. package/dist/src/components/inputs/select-autocomplete/StyledSelectAutocomplete.d.ts +0 -12
  235. package/dist/src/components/inputs/select-autocomplete/index.d.ts +0 -1
  236. package/dist/src/components/inputs/select-autocomplete/story/components/StyledSelectAutocompleteExample.d.ts +0 -2
  237. package/dist/src/components/inputs/slider/StyledSlider.d.ts +0 -5
  238. package/dist/src/components/inputs/slider/index.d.ts +0 -1
  239. package/dist/src/components/inputs/switch/StyledSwitch.d.ts +0 -5
  240. package/dist/src/components/inputs/switch/index.d.ts +0 -1
  241. package/dist/src/components/inputs/textarea/StyledTextarea.d.ts +0 -58
  242. package/dist/src/components/inputs/textarea/index.d.ts +0 -1
  243. package/dist/src/components/inputs/textarea/useAutosizeTextArea.d.ts +0 -1
  244. package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +0 -2
  245. package/dist/src/components/miscellaneous/StyledFormGroup.d.ts +0 -3
  246. package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +0 -2
  247. package/dist/src/components/miscellaneous/StyledFormLabel.d.ts +0 -2
  248. package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +0 -2
  249. package/dist/src/components/navigation/drawer/StyledDrawer.d.ts +0 -3
  250. package/dist/src/components/navigation/drawer/index.d.ts +0 -1
  251. package/dist/src/components/navigation/link/StyledLink.d.ts +0 -20
  252. package/dist/src/components/navigation/link/index.d.ts +0 -1
  253. package/dist/src/components/navigation/menu/StyledMenu.d.ts +0 -2
  254. package/dist/src/components/navigation/menu/StyledMenuItem.d.ts +0 -2
  255. package/dist/src/components/navigation/menu/StyledMenuList.d.ts +0 -2
  256. package/dist/src/components/navigation/menu/index.d.ts +0 -4
  257. package/dist/src/components/navigation/tabs/StyledTab.d.ts +0 -3
  258. package/dist/src/components/navigation/tabs/StyledTabs.d.ts +0 -3
  259. package/dist/src/components/navigation/tabs/index.d.ts +0 -2
  260. package/dist/src/components/pickers/date-picker/story/components/DatePickerContainer.d.ts +0 -5
  261. package/dist/src/components/pickers/date-picker/story/components/NestedRangePickerExample.d.ts +0 -2
  262. package/dist/src/components/pickers/date-picker/story/components/RangePickerCompactExample.d.ts +0 -2
  263. package/dist/src/components/pickers/date-picker/story/components/RangePickerExample.d.ts +0 -2
  264. package/dist/src/components/pickers/date-picker/story/components/SinglePickerExample.d.ts +0 -2
  265. package/dist/src/components/table/StyledTable.d.ts +0 -18
  266. package/dist/src/components/table/components/TableBody.d.ts +0 -9
  267. package/dist/src/components/table/components/TableFooter.d.ts +0 -9
  268. package/dist/src/components/table/components/TableHeader.d.ts +0 -10
  269. package/dist/src/components/table/components/TableHeaderCell.d.ts +0 -10
  270. package/dist/src/components/table/components/TableNoRowsOverlay.d.ts +0 -5
  271. package/dist/src/components/table/components/TablePagination.d.ts +0 -6
  272. package/dist/src/components/table/components/TableRow.d.ts +0 -10
  273. package/dist/src/components/table/components/TableRows.d.ts +0 -9
  274. package/dist/src/components/table/components/TableSkeleton.d.ts +0 -4
  275. package/dist/src/components/table/components/columns/action-column/actionColumn.d.ts +0 -21
  276. package/dist/src/components/table/components/columns/action-column/components/HeaderActionMenu.d.ts +0 -5
  277. package/dist/src/components/table/components/columns/action-column/components/RowActionMenu.d.ts +0 -12
  278. package/dist/src/components/table/components/columns/expandColumn.d.ts +0 -11
  279. package/dist/src/components/table/components/columns/selectColumn.d.ts +0 -9
  280. package/dist/src/components/table/helpers/getTableHeaderStyle.d.ts +0 -10
  281. package/dist/src/components/table/helpers/injectColumns.d.ts +0 -4
  282. package/dist/src/components/table/hooks/useStyledTable.d.ts +0 -6
  283. package/dist/src/components/table/index.d.ts +0 -3
  284. package/dist/src/components/table/story/components/styled-flex-table/generateActions.d.ts +0 -6
  285. package/dist/src/components/table/story/components/styled-flex-table/useColumns.d.ts +0 -5
  286. package/dist/src/components/table/story/components/styled-table/RenderSubRows.d.ts +0 -5
  287. package/dist/src/components/table/story/components/styled-table/getRowActions.d.ts +0 -23
  288. package/dist/src/components/table/story/components/styled-table/useTableColumns.d.ts +0 -10
  289. package/dist/src/components/table/story/components/styled-table/useTableSubRowsColumns.d.ts +0 -5
  290. package/dist/src/components/table/story/service/Templates.query.d.ts +0 -5
  291. package/dist/src/components/table/story/service/types.d.ts +0 -9
  292. package/dist/src/components/table/story/service/useFetchTemplates.d.ts +0 -4
  293. package/dist/src/components/table/types.d.ts +0 -65
  294. package/dist/src/components/utils/accordion/StyledAccordion.d.ts +0 -2
  295. package/dist/src/components/utils/accordion/StyledAccordionDetails.d.ts +0 -2
  296. package/dist/src/components/utils/accordion/StyledAccordionSummary.d.ts +0 -2
  297. package/dist/src/components/utils/accordion/index.d.ts +0 -3
  298. package/dist/src/components/utils/filter-menu/StyledFilterMenu.d.ts +0 -18
  299. package/dist/src/components/utils/popover/StyledPopover.d.ts +0 -2
  300. package/dist/src/components/utils/popover/index.d.ts +0 -1
  301. package/dist/src/helpers/index.d.ts +0 -2
  302. package/dist/src/helpers/reflections.helper.d.ts +0 -1
  303. package/tw-configs/twConfigs.json +0 -113
  304. /package/dist/src/components/{pickers/date-picker → date-picker}/StyledDatePicker.d.ts +0 -0
  305. /package/dist/src/components/{pickers/date-picker → date-picker}/components/DatePickerInputIndex.d.ts +0 -0
  306. /package/dist/src/components/{pickers/date-picker → date-picker}/components/DatePickerInputRange.d.ts +0 -0
  307. /package/dist/src/components/{pickers/date-picker → date-picker}/components/DatePickerInputRangeCompact.d.ts +0 -0
  308. /package/dist/src/components/{pickers/date-picker → date-picker}/components/DatePickerInputSingle.d.ts +0 -0
  309. /package/dist/src/components/{pickers/date-picker → date-picker}/components/StyledCalendarPicker.d.ts +0 -0
  310. /package/dist/src/components/{pickers/date-picker → date-picker}/components/StyledCalendarPickerCaption.d.ts +0 -0
  311. /package/dist/src/components/{pickers/date-picker → date-picker}/components/StyledCalendarPickerFooter.d.ts +0 -0
  312. /package/dist/src/components/{pickers/date-picker → date-picker}/components/StyledCalendarPickerSelectMonth.d.ts +0 -0
  313. /package/dist/src/components/{pickers/date-picker → date-picker}/components/StyledCalendarPickerSelectYear.d.ts +0 -0
  314. /package/dist/src/components/{pickers/date-picker → date-picker}/helpers.d.ts +0 -0
  315. /package/dist/src/components/{pickers/date-picker → date-picker}/index.d.ts +0 -0
  316. /package/dist/src/components/{pickers/date-picker → date-picker}/types.d.ts +0 -0
  317. /package/dist/src/components/{pickers/time-picker → time-picker}/StyledTimePicker.d.ts +0 -0
  318. /package/dist/src/components/{pickers/time-picker → time-picker}/TimePickerInput.d.ts +0 -0
  319. /package/dist/src/components/{pickers/time-picker → time-picker}/TimePickerPopper.d.ts +0 -0
  320. /package/dist/src/components/{pickers/time-picker → time-picker}/components/HelperText.d.ts +0 -0
  321. /package/dist/src/components/{pickers/time-picker → time-picker}/components/TimePickerBody.d.ts +0 -0
  322. /package/dist/src/components/{pickers/time-picker → time-picker}/components/TimePickerColumn.d.ts +0 -0
  323. /package/dist/src/components/{pickers/time-picker → time-picker}/helpers/getTimeFromValue.d.ts +0 -0
  324. /package/dist/src/components/{pickers/time-picker → time-picker}/index.d.ts +0 -0
  325. /package/dist/src/components/{pickers/time-picker → time-picker}/types.d.ts +0 -0
  326. /package/dist/src/{components/miscellaneous → shared-components}/StyledFormControl.d.ts +0 -0
  327. /package/dist/src/{components/inputs/input-field → shared-components}/StyledInputField.d.ts +0 -0
  328. /package/dist/src/{components/inputs/select → shared-components}/StyledSelect.d.ts +0 -0
  329. /package/dist/src/{components/inputs/select → shared-components}/StyledSelectItem.d.ts +0 -0
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import { type AutocompleteProps, type ChipTypeMap } from '@mui/material';
3
- /**
4
- *
5
- * @inputRef
6
- * inputRef to get Node of Input Element inside
7
- *
8
- */
9
- export declare function StyledSelectAutocomplete<T, Multiple extends boolean | undefined = false, DisableClearable extends boolean | undefined = false, FreeSolo extends boolean | undefined = false, ChipComponent extends React.ElementType = ChipTypeMap['defaultComponent']>({ dataTest, autoHeight, ...props }: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo, ChipComponent> & {
10
- dataTest: string;
11
- autoHeight?: boolean;
12
- }): JSX.Element;
@@ -1 +0,0 @@
1
- export * from './StyledSelectAutocomplete';
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const StyledSelectAutocompleteExample: React.FC;
@@ -1,5 +0,0 @@
1
- import { type SliderProps } from '@mui/material';
2
- export interface StyledSliderProps extends SliderProps {
3
- dataTest: string;
4
- }
5
- export declare const StyledSlider: ({ dataTest, ...props }: StyledSliderProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './StyledSlider';
@@ -1,5 +0,0 @@
1
- import { type SwitchProps as _SwitchProps } from '@mui/material';
2
- export type SwitchProps = _SwitchProps;
3
- export declare const StyledSwitch: ({ dataTest, ...props }: _SwitchProps & {
4
- dataTest: string;
5
- }) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './StyledSwitch';
@@ -1,58 +0,0 @@
1
- import React, { type ChangeEvent, type ReactNode } from 'react';
2
- type TextareaCommonProps = {
3
- id?: string;
4
- value?: string;
5
- label?: ReactNode;
6
- labelClassName?: string;
7
- description?: ReactNode;
8
- containerClassName?: string;
9
- className?: string;
10
- dataTest?: string;
11
- };
12
- type TextAreaNotEditableProps = {
13
- variant?: 'not_editable' | 'view_only';
14
- minRows?: never;
15
- maxRows?: never;
16
- disabled?: never;
17
- placeholder?: never;
18
- error?: never;
19
- errorMessage?: never;
20
- onChange?: never;
21
- maxLength?: never;
22
- counter?: never;
23
- refLink?: never;
24
- counterLimit?: never;
25
- };
26
- type TextAreaActiveProps = {
27
- variant?: 'active';
28
- minRows?: number;
29
- maxRows?: number;
30
- disabled?: boolean;
31
- placeholder?: string;
32
- onChange?: (e: ChangeEvent<HTMLTextAreaElement>) => void;
33
- error?: boolean;
34
- errorMessage?: string;
35
- maxLength?: number;
36
- counter?: boolean;
37
- refLink?: React.RefObject<HTMLTextAreaElement> | null | undefined;
38
- counterLimit?: number;
39
- };
40
- type TextareaConditionalProps = TextAreaActiveProps | TextAreaNotEditableProps;
41
- type StyledTextAreaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement> & TextareaCommonProps & TextareaConditionalProps;
42
- /**
43
- * Developer: bularga.alexandru@carasent.com
44
- *
45
- * Custom props:
46
- * @param variant - 'not_editable' | 'view_only' | 'active'
47
- * @param error - boolean
48
- * @param errorMessage - string
49
- * @param minRows - number
50
- * @param maxRows - number
51
- * @param counter - number
52
- * @param maxLength - number
53
- * @param refLink - ref to component
54
- * @param dataTest - data-test tag
55
- *
56
- */
57
- export declare const StyledTextarea: React.FC<StyledTextAreaProps>;
58
- export {};
@@ -1 +0,0 @@
1
- export * from './StyledTextarea';
@@ -1 +0,0 @@
1
- export declare const useAutosizeTextArea: (textAreaRef: HTMLTextAreaElement | null, value: string, minRows: number, maxRows: number, mounted: boolean, counterEnabled?: boolean) => void;
@@ -1,2 +0,0 @@
1
- import { type FormControlLabelProps } from '@mui/material';
2
- export declare const StyledFormControlLabel: (props: FormControlLabelProps) => JSX.Element;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { type FormGroupProps } from '@mui/material';
3
- export declare const StyledFormGroup: React.FC<FormGroupProps>;
@@ -1,2 +0,0 @@
1
- import { type FormHelperTextProps } from '@mui/material';
2
- export declare const StyledFormHelperText: (props: FormHelperTextProps) => JSX.Element;
@@ -1,2 +0,0 @@
1
- import { type FormLabelProps } from '@mui/material';
2
- export declare const StyledFormLabel: (props: FormLabelProps) => JSX.Element;
@@ -1,2 +0,0 @@
1
- import { type InputLabelProps } from '@mui/material';
2
- export declare const StyledInputLabel: (props: InputLabelProps) => JSX.Element;
@@ -1,3 +0,0 @@
1
- import { type DrawerProps } from '@mui/material';
2
- import type { FC } from 'react';
3
- export declare const StyledDrawer: FC<DrawerProps>;
@@ -1 +0,0 @@
1
- export * from './StyledDrawer';
@@ -1,20 +0,0 @@
1
- import React, { type AnchorHTMLAttributes, type ReactNode } from 'react';
2
- export type StyledLinkProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
3
- disabled?: boolean;
4
- size?: 'small' | 'large';
5
- children?: never;
6
- reflink?: React.Ref<HTMLAnchorElement>;
7
- dataTest?: string;
8
- content: ReactNode;
9
- };
10
- /**
11
- * Developer: bularga.alexandru@carasent.com
12
- *
13
- * Custom props:
14
- * @param content - content of the link
15
- * @param disabled = disabled
16
- * @param size - 'large' | 'small'
17
- * @param refLink - ref to component
18
- * @param dataTest - data-test tag
19
- */
20
- export declare const StyledLink: React.FC<StyledLinkProps>;
@@ -1 +0,0 @@
1
- export * from './StyledLink';
@@ -1,2 +0,0 @@
1
- import { type MenuProps } from '@mui/material';
2
- export declare const StyledMenu: (props: MenuProps) => JSX.Element;
@@ -1,2 +0,0 @@
1
- import { type MenuItemProps } from '@mui/material';
2
- export declare const StyledMenuItem: (props: MenuItemProps) => JSX.Element;
@@ -1,2 +0,0 @@
1
- import { type MenuListProps } from '@mui/material';
2
- export declare const StyledMenuList: (props: MenuListProps) => JSX.Element;
@@ -1,4 +0,0 @@
1
- export * from './StyledMenu';
2
- export * from './StyledMenuItem';
3
- export * from './StyledMenuList';
4
- export { type MenuProps } from '@mui/material';
@@ -1,3 +0,0 @@
1
- import { type TabProps } from '@mui/material';
2
- import type { FC } from 'react';
3
- export declare const StyledTab: FC<TabProps>;
@@ -1,3 +0,0 @@
1
- import { type TabsProps } from '@mui/material';
2
- import type { FC } from 'react';
3
- export declare const StyledTabs: FC<TabsProps>;
@@ -1,2 +0,0 @@
1
- export * from './StyledTab';
2
- export * from './StyledTabs';
@@ -1,5 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- export declare const DatePickerContainer: React.FC<{
3
- title: string;
4
- node: ReactNode;
5
- }>;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const NestedRangePickerExample: React.FC;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const RangePickerCompactExample: React.FC;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const RangePickerExample: React.FC;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const SinglePickerExample: React.FC;
@@ -1,18 +0,0 @@
1
- import { type StyledTableProps, type TableState } from './types';
2
- import { TableBody } from './components/TableBody';
3
- import type { ColumnSizingState } from './types';
4
- /**
5
- *
6
- * Custom props:
7
- * @param size: Column sizing. use NaN (width 100%) - only one time for the main column. It will make the column very responsive.. Example is in Storybook.
8
- *
9
- * @param focusable: Used for controlling the focus of rows. If set to true, the tabIndex={0} attribute will be added to each table row. Used, for example, when adding a new item to scroll to it and focus it
10
- *
11
- */
12
- export declare const StyledTable: <TData extends {
13
- id: string | number;
14
- }, TCustomData = Record<string, unknown>>(props: StyledTableProps<TData, TCustomData> & {
15
- getColumnSizing?: ((column_sizing: ColumnSizingState) => void) | undefined;
16
- getTableState?: ((tableState: TableState) => void) | undefined;
17
- }) => JSX.Element;
18
- export declare const MemoizedTableBody: typeof TableBody;
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { type Table } from '@tanstack/react-table';
3
- import type { StyledTableProps } from '../types';
4
- export declare function TableBody<TData extends {
5
- id: string | number;
6
- }, TCustomData = Record<string, unknown>>({ table, styledTableProps }: {
7
- table: Table<TData>;
8
- styledTableProps: StyledTableProps<TData, TCustomData>;
9
- }): JSX.Element;
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { type Table } from '@tanstack/react-table';
3
- import type { StyledTableProps } from '../types';
4
- export declare function TableFooter<TData extends {
5
- id: string | number;
6
- }, TCustomData = Record<string, unknown>>({ table, styledTableProps }: {
7
- table: Table<TData>;
8
- styledTableProps: StyledTableProps<TData, TCustomData>;
9
- }): JSX.Element | null;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { type Table } from '@tanstack/react-table';
3
- import type { StyledTableProps } from '../types';
4
- export declare function TableHeader<TData extends {
5
- id: string | number;
6
- }, TCustomData = Record<string, unknown>>({ table, styledTableProps, tableCanResize, }: {
7
- table: Table<TData>;
8
- styledTableProps: StyledTableProps<TData, TCustomData>;
9
- tableCanResize: boolean;
10
- }): JSX.Element | null;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { type Header } from '@tanstack/react-table';
3
- import { type StyledTableProps } from '../types';
4
- export declare function TableHeaderCell<TData extends {
5
- id: string | number;
6
- }, TCustomData = Record<string, unknown>>({ styledTableProps, header, tableCanResize, }: {
7
- styledTableProps: StyledTableProps<TData, TCustomData>;
8
- header: Header<TData, unknown>;
9
- tableCanResize: boolean;
10
- }): JSX.Element;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const TableNoRowsOverlay: React.FC<{
3
- colSpan: number;
4
- noRowsOverlay?: React.ReactNode;
5
- }>;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import type { Table } from '@tanstack/react-table';
3
- export declare function TablePagination<TData>({ table, locale }: {
4
- locale: 'en' | 'no';
5
- table: Table<TData>;
6
- }): JSX.Element | null;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { type Row } from '@tanstack/react-table';
3
- import type { StyledTableProps } from '../types';
4
- export declare function TableRow<TData extends {
5
- id: string | number;
6
- }, TCustomData = Record<string, unknown>>({ styledTableProps, row, index, }: {
7
- styledTableProps: StyledTableProps<TData, TCustomData>;
8
- row: Row<TData>;
9
- index: number;
10
- }): JSX.Element;
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { type Table } from '@tanstack/react-table';
3
- import type { StyledTableProps } from '../types';
4
- export declare function TableRows<TData extends {
5
- id: string | number;
6
- }, TCustomData = Record<string, unknown>>({ styledTableProps, table }: {
7
- styledTableProps: StyledTableProps<TData, TCustomData>;
8
- table: Table<TData>;
9
- }): JSX.Element;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const TableSkeleton: React.FC<{
3
- colSpan: number;
4
- }>;
@@ -1,21 +0,0 @@
1
- import { type CellContext, type HeaderContext, type Row } from '@tanstack/react-table';
2
- import type { ReactNode } from 'react';
3
- export declare function generateActionsColumn<TData>(options: {
4
- headerPin: boolean;
5
- actions?: (row: Row<TData>) => {
6
- label: ReactNode;
7
- className?: string;
8
- disabled?: boolean;
9
- hide?: boolean;
10
- onClick?: (row: Row<TData>) => void;
11
- }[];
12
- customActionsNode?: (row: CellContext<TData, TData>) => ReactNode;
13
- }): {
14
- id: string;
15
- enableHiding: boolean;
16
- enableSorting: boolean;
17
- accessorFn: (row: TData) => TData;
18
- header: (props: HeaderContext<TData, TData>) => JSX.Element | null;
19
- cell: (cell: CellContext<TData, TData>) => JSX.Element | null;
20
- size: number;
21
- };
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import type { HeaderContext } from '@tanstack/react-table';
3
- export declare function HeaderActionMenu<TData>({ headerData }: {
4
- headerData: HeaderContext<TData, TData>;
5
- }): JSX.Element;
@@ -1,12 +0,0 @@
1
- import type { CellContext, Row } from '@tanstack/react-table';
2
- import type { ReactNode } from 'react';
3
- export declare function RowActionMenu<TData>({ tableData, actions, }: {
4
- tableData: CellContext<TData, TData>;
5
- actions: (row: Row<TData>) => {
6
- label: ReactNode;
7
- className?: string;
8
- disabled?: boolean;
9
- hide?: boolean;
10
- onClick?: (row: Row<TData>) => void;
11
- }[];
12
- }): JSX.Element;
@@ -1,11 +0,0 @@
1
- import { type CellContext } from '@tanstack/react-table';
2
- export declare function generateExpandColumn<TData>(): {
3
- id: string;
4
- minSize: number;
5
- maxSize: number;
6
- size: number;
7
- enableHiding: boolean;
8
- enableSorting: boolean;
9
- header: () => null;
10
- cell: ({ cell }: CellContext<TData, TData>) => JSX.Element | null;
11
- };
@@ -1,9 +0,0 @@
1
- import type { CellContext, HeaderContext } from '@tanstack/react-table';
2
- export declare function selectColumn<TData>(): {
3
- id: string;
4
- minSize: number;
5
- maxSize: number;
6
- size: number;
7
- header: ({ table }: HeaderContext<TData, TData>) => JSX.Element;
8
- cell: ({ cell }: CellContext<TData, TData>) => JSX.Element;
9
- };
@@ -1,10 +0,0 @@
1
- import type { Header } from '@tanstack/react-table';
2
- export declare const getTableHeaderStyle: <TData>(props: {
3
- enableResizing: boolean;
4
- header: Header<TData, unknown>;
5
- element: HTMLTableCellElement | null;
6
- }) => {
7
- width: string | number | undefined;
8
- maxWidth: string | number | undefined;
9
- minWidth: string | number | undefined;
10
- };
@@ -1,4 +0,0 @@
1
- import { type StyledTableProps } from '../types';
2
- export declare const injectColumns: <TData extends {
3
- id: string | number;
4
- }, TCustomData = Record<string, unknown>>(props: StyledTableProps<TData, TCustomData>) => void;
@@ -1,6 +0,0 @@
1
- import { type StyledTableProps } from '../types';
2
- export declare const useStyledTable: <TData extends {
3
- id: string | number;
4
- }, TCustomData = Record<string, unknown>>(props: StyledTableProps<TData, TCustomData>) => {
5
- table: import("@tanstack/react-table").Table<TData>;
6
- };
@@ -1,3 +0,0 @@
1
- export * from './types';
2
- export * from './StyledTable';
3
- export { createColumnHelper, type Table, type Row, type ColumnDef } from '@tanstack/react-table';
@@ -1,6 +0,0 @@
1
- import type { Row } from '@tanstack/react-table';
2
- import type { ITemplate } from '../../service/types';
3
- export declare const generateActions: (row: Row<ITemplate>) => {
4
- label: string;
5
- onClick: () => void;
6
- }[];
@@ -1,5 +0,0 @@
1
- import type { ColumnDef } from '@tanstack/react-table';
2
- import type { ITemplate } from '../../service/types';
3
- export declare const useColumns: () => {
4
- columns: ColumnDef<ITemplate, ITemplate>[];
5
- };
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import type { Participant } from '../../helpers/makeData';
3
- export declare const RenderSubRows: React.FC<{
4
- subRows: Participant[];
5
- }>;
@@ -1,23 +0,0 @@
1
- import type { Person } from '../../helpers/makeData';
2
- import type { Row } from '@tanstack/react-table';
3
- export declare function getRowActions(row: Row<Person>): ({
4
- label: string;
5
- hide: boolean;
6
- onClick: () => void;
7
- className?: undefined;
8
- } | {
9
- label: string;
10
- onClick: () => void;
11
- hide?: undefined;
12
- className?: undefined;
13
- } | {
14
- label: string;
15
- className: string;
16
- onClick: () => void;
17
- hide?: undefined;
18
- } | {
19
- label: string;
20
- hide: boolean;
21
- className: string;
22
- onClick: () => void;
23
- })[];
@@ -1,10 +0,0 @@
1
- import type { Person } from '../../helpers/makeData';
2
- import type { ColumnDef } from '@tanstack/react-table';
3
- /**
4
- * Custom props:
5
- * @param size. use NaN (width 100%) only one time for the main column. It will make the column very responsive
6
- *
7
- */
8
- export declare const useStyledTableColumns: () => {
9
- columns: ColumnDef<Person, Person>[];
10
- };
@@ -1,5 +0,0 @@
1
- import type { Participant } from '../../helpers/makeData';
2
- import type { ColumnDef } from '@tanstack/react-table';
3
- export declare const useTableSubRowsColumns: () => {
4
- columns: ColumnDef<Participant, Participant>[];
5
- };
@@ -1,5 +0,0 @@
1
- export declare const TemplatesQueryString: () => string;
2
- export declare const TemplatesQuery: {
3
- query: string;
4
- variables: {};
5
- };
@@ -1,9 +0,0 @@
1
- export type ITemplate = {
2
- id: string;
3
- context: string;
4
- archived: string;
5
- title: string;
6
- template_uuid: string;
7
- valid_days: string;
8
- updated_at: string;
9
- };
@@ -1,4 +0,0 @@
1
- import type { ITemplate } from './types';
2
- export declare const useFetchTemplates: () => {
3
- data: ITemplate[];
4
- };
@@ -1,65 +0,0 @@
1
- import type { CellContext, ColumnMeta, HeaderContext, Row, TableOptions, Table } from '@tanstack/react-table';
2
- import type { AccessorFn, ColumnDefTemplate } from '@tanstack/react-table';
3
- import type { ColumnPinningColumnDef, ColumnSizingColumnDef, FiltersColumnDef, GroupingColumnDef, RowData, SortingColumnDef, VisibilityColumnDef } from '@tanstack/react-table';
4
- import type { MouseEvent, ReactElement, ReactNode } from 'react';
5
- declare module '@tanstack/react-table' {
6
- interface ColumnDefExtensions<TData extends RowData, TValue = unknown> extends VisibilityColumnDef, ColumnPinningColumnDef, FiltersColumnDef<TData>, SortingColumnDef<TData>, GroupingColumnDef<TData, TValue>, ColumnSizingColumnDef {
7
- className?: string;
8
- cellAlign?: 'left' | 'center' | 'right';
9
- headerAlign?: 'left' | 'center' | 'right';
10
- }
11
- interface ColumnDefBase<TData extends RowData, TValue = unknown> extends ColumnDefExtensions<TData, TValue> {
12
- getUniqueValues?: AccessorFn<TData, unknown[]>;
13
- footer?: ColumnDefTemplate<HeaderContext<TData, TValue>>;
14
- cell?: ColumnDefTemplate<CellContext<TData, TValue>>;
15
- meta?: ColumnMeta<TData, TValue>;
16
- }
17
- }
18
- export interface IAction<TData> {
19
- label: ReactNode;
20
- className?: string;
21
- disabled?: boolean;
22
- hide?: boolean;
23
- onClick?: (row: Row<TData>) => void;
24
- }
25
- type IFooter<TData> = {
26
- footer?: (table: Table<TData>) => ReactNode;
27
- hideFooter?: never;
28
- };
29
- type IHideFooter = {
30
- footer?: never;
31
- hideFooter?: boolean;
32
- };
33
- type TFooter<TData> = IFooter<TData> | IHideFooter;
34
- type TTableOptions<TData> = TableOptions<TData>;
35
- export type * from '@tanstack/react-table';
36
- export type StyledTableProps<TData, TCustomData> = {
37
- locale?: 'no' | 'en';
38
- height?: string | number;
39
- actions?: (row: Row<TData>) => IAction<TData>[];
40
- customActionsNode?: (row: CellContext<TData, TData>) => ReactNode;
41
- customSubRowData?: Map<string, TCustomData[]>;
42
- headerPin?: boolean;
43
- expandArrow?: boolean;
44
- loading?: boolean;
45
- noRowsOverlay?: ReactElement;
46
- tableInstanceRef?: React.MutableRefObject<Table<TData> | null>;
47
- className?: string;
48
- rowHeight?: number;
49
- tdClassName?: string;
50
- focusable?: boolean;
51
- stickyHeader?: boolean;
52
- getRowClassName?: (row: Row<TData>) => string;
53
- onRowClick?: (e: MouseEvent<HTMLTableRowElement, globalThis.MouseEvent>, row: Row<TData>) => void;
54
- renderSubRows?: (props: {
55
- rows: TCustomData[];
56
- row: TData;
57
- }) => ReactElement | null;
58
- getRowSelectionIds?: (ids: string[]) => void;
59
- hideHeader?: boolean;
60
- pageSize?: number;
61
- enableResizing?: boolean;
62
- } & Omit<TTableOptions<TData>, 'getCoreRowModel' | 'getExpandedRowModel' | 'getFilteredRowModel' | 'getSortedRowModel'> & TFooter<TData>;
63
- export declare const SELECT_COLUMN_ID = "select";
64
- export declare const EXPAND_COLUMN_ID = "expand-column-id";
65
- export declare const ACTIONS_COLUMN_ID = "actions";
@@ -1,2 +0,0 @@
1
- import { type AccordionProps } from '@mui/material';
2
- export declare const StyledAccordion: (props: AccordionProps) => JSX.Element;
@@ -1,2 +0,0 @@
1
- import { type AccordionDetailsProps } from '@mui/material';
2
- export declare const StyledAccordionDetails: (props: AccordionDetailsProps) => JSX.Element;
@@ -1,2 +0,0 @@
1
- import { type AccordionSummaryProps } from '@mui/material';
2
- export declare const StyledAccordionSummary: (props: AccordionSummaryProps) => JSX.Element;
@@ -1,3 +0,0 @@
1
- export * from './StyledAccordion';
2
- export * from './StyledAccordionSummary';
3
- export * from './StyledAccordionDetails';
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import type { PopoverProps } from '@mui/material';
3
- /**
4
- * Custom props:
5
- * @param filterIsActive - needed to determine whether or not to show the dot in the top right corner indicating some changes were made
6
- * @param popoverContent
7
- */
8
- type StyledFilterMenuProps = {
9
- dataTest: string;
10
- filterIsActive: boolean;
11
- popoverContent: React.ReactNode;
12
- disabled?: boolean;
13
- size?: 'small' | 'large' | 'medium';
14
- variant?: 'contained' | 'outlined' | 'text' | 'textGray';
15
- popoverProps?: Omit<PopoverProps, 'open' | 'anchorEl' | 'onClose'>;
16
- };
17
- export declare const StyledFilterMenu: React.FC<StyledFilterMenuProps>;
18
- export {};
@@ -1,2 +0,0 @@
1
- import { type PopoverProps } from '@mui/material';
2
- export declare const StyledPopover: (props: PopoverProps) => JSX.Element;