@orfium/ictinus 5.5.0 → 5.5.2

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 (764) hide show
  1. package/dist/codemods/assets/header.png +0 -0
  2. package/dist/codemods/assets/header.svg +417 -0
  3. package/dist/codemods/avatarCodemod.js +1 -45
  4. package/dist/codemods/buttonCodemod.js +1 -32
  5. package/dist/codemods/checkboxCodemod.js +1 -29
  6. package/dist/codemods/chipCodemode.js +1 -39
  7. package/dist/codemods/{avatarCodemod.d.ts → codemods/avatarCodemod.d.ts} +2 -1
  8. package/dist/codemods/{buttonCodemod.d.ts → codemods/buttonCodemod.d.ts} +2 -1
  9. package/dist/codemods/{checkboxCodemod.d.ts → codemods/checkboxCodemod.d.ts} +2 -1
  10. package/dist/codemods/{chipCodemode.d.ts → codemods/chipCodemode.d.ts} +2 -1
  11. package/dist/codemods/{drawerCodemod.d.ts → codemods/drawerCodemod.d.ts} +2 -1
  12. package/dist/codemods/{filterCodemod.d.ts → codemods/filterCodemod.d.ts} +2 -1
  13. package/dist/codemods/{iconButtonCodemod.d.ts → codemods/iconButtonCodemod.d.ts} +2 -1
  14. package/dist/codemods/{iconCodemod.d.ts → codemods/iconCodemod.d.ts} +2 -1
  15. package/dist/codemods/{loaderCodemod.d.ts → codemods/loaderCodemod.d.ts} +2 -1
  16. package/dist/codemods/{menuCodemod.d.ts → codemods/menuCodemod.d.ts} +2 -1
  17. package/dist/codemods/{notificationsCodemod.d.ts → codemods/notificationsCodemod.d.ts} +2 -1
  18. package/dist/codemods/{paginationCodemod.d.ts → codemods/paginationCodemod.d.ts} +2 -1
  19. package/dist/codemods/{radioCodemod.d.ts → codemods/radioCodemod.d.ts} +2 -1
  20. package/dist/codemods/{radioGroupCodemod.d.ts → codemods/radioGroupCodemod.d.ts} +2 -1
  21. package/dist/codemods/{searchCodemod.d.ts → codemods/searchCodemod.d.ts} +2 -1
  22. package/dist/codemods/{selectCodemod.d.ts → codemods/selectCodemod.d.ts} +2 -1
  23. package/dist/codemods/{switchCodemod.d.ts → codemods/switchCodemod.d.ts} +2 -1
  24. package/dist/codemods/{tableCodemod.d.ts → codemods/tableCodemod.d.ts} +2 -1
  25. package/dist/codemods/{textareaCodemod.d.ts → codemods/textareaCodemod.d.ts} +2 -1
  26. package/dist/codemods/{textfieldCodemod.d.ts → codemods/textfieldCodemod.d.ts} +2 -1
  27. package/dist/codemods/{tooltipCodemod.d.ts → codemods/tooltipCodemod.d.ts} +2 -1
  28. package/dist/codemods/{unchangedIconsCodemod.d.ts → codemods/unchangedIconsCodemod.d.ts} +2 -1
  29. package/dist/codemods/drawerCodemod.js +1 -61
  30. package/dist/codemods/filterCodemod.js +1 -27
  31. package/dist/codemods/globalsCodemod.js +1 -130
  32. package/dist/codemods/iconButtonCodemod.js +1 -28
  33. package/dist/codemods/iconCodemod.js +1 -19
  34. package/dist/codemods/loaderCodemod.js +1 -42
  35. package/dist/codemods/menuCodemod.js +1 -31
  36. package/dist/codemods/notificationsCodemod.js +1 -17
  37. package/dist/codemods/paginationCodemod.js +1 -32
  38. package/dist/codemods/radioCodemod.js +1 -21
  39. package/dist/codemods/radioGroupCodemod.js +1 -18
  40. package/dist/codemods/searchCodemod.js +1 -31
  41. package/dist/codemods/selectCodemod.js +1 -66
  42. package/dist/codemods/switchCodemod.js +1 -28
  43. package/dist/codemods/tableCodemod.js +1 -23
  44. package/dist/codemods/textareaCodemod.js +1 -44
  45. package/dist/codemods/textfieldCodemod.js +1 -43
  46. package/dist/codemods/tooltipCodemod.js +1 -26
  47. package/dist/codemods/unchangedIconsCodemod.js +1 -56
  48. package/dist/{index.mjs → index.js} +5739 -5690
  49. package/dist/index.umd.cjs +147 -0
  50. package/dist/src/components/Avatar/Avatar.d.ts +5 -0
  51. package/dist/src/components/Avatar/Avatar.stories.d.ts +61 -0
  52. package/dist/src/components/Avatar/Avatar.style.d.ts +9 -0
  53. package/dist/src/components/Avatar/Avatar.tokens.d.ts +8 -0
  54. package/dist/src/components/Avatar/Avatar.types.d.ts +22 -0
  55. package/dist/src/components/Avatar/AvatarStack/AvatarStack.d.ts +6 -0
  56. package/dist/src/components/Avatar/AvatarStack/AvatarStack.style.d.ts +11 -0
  57. package/dist/src/components/Avatar/AvatarStack/AvatarStack.types.d.ts +10 -0
  58. package/dist/src/components/Avatar/AvatarStack/index.d.ts +2 -0
  59. package/dist/src/components/Avatar/AvatarStack/utils.d.ts +7 -0
  60. package/dist/src/components/Avatar/AvatarStack.stories.d.ts +20 -0
  61. package/dist/src/components/Avatar/constants.d.ts +4 -0
  62. package/dist/src/components/Avatar/index.d.ts +3 -0
  63. package/dist/src/components/Box/Box.d.ts +6 -0
  64. package/dist/src/components/Box/Box.stories.d.ts +27 -0
  65. package/dist/src/components/Box/Box.style.d.ts +5 -0
  66. package/dist/src/components/Box/Box.test.d.ts +1 -0
  67. package/dist/src/components/Box/Box.types.d.ts +145 -0
  68. package/dist/src/components/Box/Box.utilities.d.ts +19 -0
  69. package/dist/src/components/Box/index.d.ts +3 -0
  70. package/dist/src/components/Breadcrumb/BackToItem/BackToItem.d.ts +6 -0
  71. package/dist/src/components/Breadcrumb/BackToItem/BackToItem.style.d.ts +4 -0
  72. package/dist/src/components/Breadcrumb/BackToItem/index.d.ts +1 -0
  73. package/dist/src/components/Breadcrumb/Breadcrumb.d.ts +7 -0
  74. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts +31 -0
  75. package/dist/src/components/Breadcrumb/Breadcrumb.style.d.ts +4 -0
  76. package/dist/src/components/Breadcrumb/Breadcrumb.types.d.ts +13 -0
  77. package/dist/src/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.d.ts +10 -0
  78. package/dist/src/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.style.d.ts +6 -0
  79. package/dist/src/components/Breadcrumb/BreadcrumbItem/index.d.ts +1 -0
  80. package/dist/src/components/Breadcrumb/index.d.ts +2 -0
  81. package/dist/src/components/Button/Button.d.ts +40 -0
  82. package/dist/src/components/Button/Button.stories.d.ts +102 -0
  83. package/dist/src/components/Button/Button.style.d.ts +8 -0
  84. package/dist/src/components/Button/Button.tokens.d.ts +6 -0
  85. package/dist/src/components/Button/Button.types.d.ts +4 -0
  86. package/dist/src/components/Button/ButtonLoader/ButtonLoader.d.ts +6 -0
  87. package/dist/src/components/Button/ButtonLoader/ButtonLoader.style.d.ts +6 -0
  88. package/dist/src/components/Button/ButtonLoader/index.d.ts +2 -0
  89. package/dist/src/components/Button/index.d.ts +2 -0
  90. package/dist/src/components/ButtonBase/ButtonBase.d.ts +57 -0
  91. package/dist/src/components/ButtonBase/ButtonBase.style.d.ts +13 -0
  92. package/dist/src/components/ButtonBase/constants.d.ts +7 -0
  93. package/dist/src/components/ButtonBase/index.d.ts +2 -0
  94. package/dist/src/components/Card/Card.d.ts +14 -0
  95. package/dist/src/components/Card/Card.stories.d.ts +24 -0
  96. package/dist/src/components/Card/Card.style.d.ts +5 -0
  97. package/dist/src/components/Card/index.d.ts +2 -0
  98. package/dist/src/components/Chart/BarChart/BarChart.d.ts +26 -0
  99. package/dist/src/components/Chart/BarChart/components/CustomLabel/CustomLabel.d.ts +9 -0
  100. package/dist/src/components/Chart/BarChart/components/CustomLabel/index.d.ts +1 -0
  101. package/dist/src/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.d.ts +8 -0
  102. package/dist/src/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.style.d.ts +6 -0
  103. package/dist/src/components/Chart/BarChart/components/CustomTooltip/index.d.ts +1 -0
  104. package/dist/src/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.d.ts +6 -0
  105. package/dist/src/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.style.d.ts +39 -0
  106. package/dist/src/components/Chart/BarChart/components/CustomTooltipContent/index.d.ts +1 -0
  107. package/dist/src/components/Chart/BarChart/index.d.ts +1 -0
  108. package/dist/src/components/Chart/BarChart/utils.d.ts +11 -0
  109. package/dist/src/components/Chart/Chart.stories.d.ts +55 -0
  110. package/dist/src/components/Chart/DonutChart/DonutChart.d.ts +17 -0
  111. package/dist/src/components/Chart/DonutChart/components/CustomLabel/CustomLabel.d.ts +9 -0
  112. package/dist/src/components/Chart/DonutChart/components/CustomLabel/CustomLabel.style.d.ts +5 -0
  113. package/dist/src/components/Chart/DonutChart/components/CustomLabel/index.d.ts +1 -0
  114. package/dist/src/components/Chart/DonutChart/index.d.ts +1 -0
  115. package/dist/src/components/Chart/LineChart/LineChart.d.ts +17 -0
  116. package/dist/src/components/Chart/LineChart/LineChart.test.d.ts +1 -0
  117. package/dist/src/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.d.ts +6 -0
  118. package/dist/src/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.style.d.ts +32 -0
  119. package/dist/src/components/Chart/LineChart/components/CustomTooltip/index.d.ts +1 -0
  120. package/dist/src/components/Chart/LineChart/components/GradientLine/GradientLine.d.ts +8 -0
  121. package/dist/src/components/Chart/LineChart/components/GradientLine/index.d.ts +1 -0
  122. package/dist/src/components/Chart/LineChart/index.d.ts +1 -0
  123. package/dist/src/components/Chart/LineChart/mockedData.d.ts +11 -0
  124. package/dist/src/components/Chart/LineChart/story.utils.d.ts +1 -0
  125. package/dist/src/components/Chart/LineChart/utils.d.ts +14 -0
  126. package/dist/src/components/Chart/Wrapper.d.ts +8 -0
  127. package/dist/src/components/Controls/CheckBox/CheckBox.d.ts +32 -0
  128. package/dist/src/components/Controls/CheckBox/CheckBox.stories.d.ts +99 -0
  129. package/dist/src/components/Controls/CheckBox/CheckBox.style.d.ts +7 -0
  130. package/dist/src/components/Controls/CheckBox/CheckBox.test.d.ts +1 -0
  131. package/dist/src/components/Controls/CheckBox/index.d.ts +2 -0
  132. package/dist/src/components/Controls/ControlLabel/ControlLabel.d.ts +7 -0
  133. package/dist/src/components/Controls/ControlLabel/ControlLabel.style.d.ts +7 -0
  134. package/dist/src/components/Controls/ControlLabel/index.d.ts +1 -0
  135. package/dist/src/components/Controls/Controls.tokens.d.ts +6 -0
  136. package/dist/src/components/Controls/Controls.types.d.ts +12 -0
  137. package/dist/src/components/Controls/Radio/Radio.d.ts +23 -0
  138. package/dist/src/components/Controls/Radio/Radio.stories.d.ts +89 -0
  139. package/dist/src/components/Controls/Radio/Radio.style.d.ts +7 -0
  140. package/dist/src/components/Controls/Radio/Radio.test.d.ts +1 -0
  141. package/dist/src/components/Controls/Radio/components/RadioGroup/RadioGroup.d.ts +27 -0
  142. package/dist/src/components/Controls/Radio/components/RadioGroup/RadioGroupContext.d.ts +5 -0
  143. package/dist/src/components/Controls/Radio/components/RadioGroup/index.d.ts +2 -0
  144. package/dist/src/components/Controls/Radio/index.d.ts +2 -0
  145. package/dist/src/components/Controls/Switch/Switch.d.ts +27 -0
  146. package/dist/src/components/Controls/Switch/Switch.stories.d.ts +90 -0
  147. package/dist/src/components/Controls/Switch/Switch.style.d.ts +5 -0
  148. package/dist/src/components/Controls/Switch/Switch.test.d.ts +1 -0
  149. package/dist/src/components/Controls/Switch/index.d.ts +2 -0
  150. package/dist/src/components/Controls/index.d.ts +4 -0
  151. package/dist/src/components/DatePicker/DatePickInput/DatePickInput.d.ts +40 -0
  152. package/dist/src/components/DatePicker/DatePickInput/DatePickInput.style.d.ts +4 -0
  153. package/dist/src/components/DatePicker/DatePickInput/index.d.ts +2 -0
  154. package/dist/src/components/DatePicker/DatePicker.d.ts +6 -0
  155. package/dist/src/components/DatePicker/DatePicker.stories.d.ts +138 -0
  156. package/dist/src/components/DatePicker/DatePicker.style.d.ts +4 -0
  157. package/dist/src/components/DatePicker/DatePicker.test.d.ts +1 -0
  158. package/dist/src/components/DatePicker/DatePicker.tokens.d.ts +6 -0
  159. package/dist/src/components/DatePicker/DatePicker.types.d.ts +48 -0
  160. package/dist/src/components/DatePicker/Day/Day.d.ts +17 -0
  161. package/dist/src/components/DatePicker/Day/Day.style.d.ts +20 -0
  162. package/dist/src/components/DatePicker/Day/Day.test.d.ts +1 -0
  163. package/dist/src/components/DatePicker/Day/index.d.ts +2 -0
  164. package/dist/src/components/DatePicker/Month/Month.d.ts +15 -0
  165. package/dist/src/components/DatePicker/Month/Month.style.d.ts +6 -0
  166. package/dist/src/components/DatePicker/Month/Month.test.d.ts +1 -0
  167. package/dist/src/components/DatePicker/Month/Month.utils.d.ts +8 -0
  168. package/dist/src/components/DatePicker/Month/hooks/useMonthKeyboardNavigation.d.ts +14 -0
  169. package/dist/src/components/DatePicker/Month/index.d.ts +2 -0
  170. package/dist/src/components/DatePicker/OverlayComponent/OverlayComponent.d.ts +20 -0
  171. package/dist/src/components/DatePicker/OverlayComponent/OverlayComponent.style.d.ts +11 -0
  172. package/dist/src/components/DatePicker/OverlayComponent/OverlayComponent.test.d.ts +1 -0
  173. package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.d.ts +17 -0
  174. package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.style.d.ts +12 -0
  175. package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.test.d.ts +1 -0
  176. package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/index.d.ts +0 -0
  177. package/dist/src/components/DatePicker/OverlayComponent/index.d.ts +2 -0
  178. package/dist/src/components/DatePicker/OverlayComponent/utils.d.ts +5 -0
  179. package/dist/src/components/DatePicker/constants.d.ts +51 -0
  180. package/dist/src/components/DatePicker/index.d.ts +4 -0
  181. package/dist/src/components/DatePicker/play-utils.d.ts +3 -0
  182. package/dist/src/components/DatePicker/utils.d.ts +11 -0
  183. package/dist/src/components/Drawer/Drawer.d.ts +14 -0
  184. package/dist/src/components/Drawer/Drawer.stories.d.ts +91 -0
  185. package/dist/src/components/Drawer/Drawer.style.d.ts +23 -0
  186. package/dist/src/components/Drawer/Drawer.test.d.ts +1 -0
  187. package/dist/src/components/Drawer/Drawer.types.d.ts +19 -0
  188. package/dist/src/components/Drawer/DrawerContext.d.ts +28 -0
  189. package/dist/src/components/Drawer/components/DrawerContent/DrawerContent.d.ts +5 -0
  190. package/dist/src/components/Drawer/components/DrawerContent/DrawerContent.stories.d.ts +18 -0
  191. package/dist/src/components/Drawer/components/DrawerContent/hooks/useDrawerContentObserver.d.ts +6 -0
  192. package/dist/src/components/Drawer/components/DrawerContent/index.d.ts +1 -0
  193. package/dist/src/components/Drawer/components/DrawerFooter/DrawerFooter.d.ts +5 -0
  194. package/dist/src/components/Drawer/components/DrawerFooter/DrawerFooter.stories.d.ts +18 -0
  195. package/dist/src/components/Drawer/components/DrawerFooter/index.d.ts +1 -0
  196. package/dist/src/components/Drawer/components/DrawerHeader/DrawerHeader.d.ts +5 -0
  197. package/dist/src/components/Drawer/components/DrawerHeader/DrawerHeader.stories.d.ts +18 -0
  198. package/dist/src/components/Drawer/components/DrawerHeader/index.d.ts +1 -0
  199. package/dist/src/components/Drawer/components/index.d.ts +3 -0
  200. package/dist/src/components/Drawer/index.d.ts +5 -0
  201. package/dist/src/components/DropdownButton/DropdownButton.d.ts +42 -0
  202. package/dist/src/components/DropdownButton/DropdownButton.stories.d.ts +33 -0
  203. package/dist/src/components/DropdownButton/DropdownButton.style.d.ts +16 -0
  204. package/dist/src/components/DropdownButton/DropdownButton.test.d.ts +1 -0
  205. package/dist/src/components/DropdownButton/index.d.ts +1 -0
  206. package/dist/src/components/ExpandCollapse/ExpandCollapse.d.ts +4 -0
  207. package/dist/src/components/ExpandCollapse/ExpandCollapse.stories.d.ts +14 -0
  208. package/dist/src/components/ExpandCollapse/ExpandCollapse.style.d.ts +1 -0
  209. package/dist/src/components/ExpandCollapse/ExpandCollapse.types.d.ts +65 -0
  210. package/dist/src/components/ExpandCollapse/index.d.ts +3 -0
  211. package/dist/src/components/ExpandCollapse/useManageContentRef.d.ts +2 -0
  212. package/dist/src/components/ExpandCollapse/utils.d.ts +7 -0
  213. package/dist/src/components/Filter/Filter.d.ts +5 -0
  214. package/dist/src/components/Filter/Filter.stories.d.ts +114 -0
  215. package/dist/src/components/Filter/Filter.test.d.ts +1 -0
  216. package/dist/src/components/Filter/Filter.tokens.d.ts +6 -0
  217. package/dist/src/components/Filter/Filter.types.d.ts +66 -0
  218. package/dist/src/components/Filter/StatefulFilter.d.ts +5 -0
  219. package/dist/src/components/Filter/components/FilterButton/FilterButton.d.ts +23 -0
  220. package/dist/src/components/Filter/components/FilterButton/FilterButton.style.d.ts +6 -0
  221. package/dist/src/components/Filter/components/FilterButton/index.d.ts +1 -0
  222. package/dist/src/components/Filter/components/FilterMenu/FilterMenu.d.ts +12 -0
  223. package/dist/src/components/Filter/components/FilterMenu/FilterMenu.style.d.ts +3 -0
  224. package/dist/src/components/Filter/components/FilterMenu/components/FilterSearchField/FilterSearchField.d.ts +10 -0
  225. package/dist/src/components/Filter/components/FilterMenu/components/FilterSearchField/FilterSearchField.style.d.ts +2 -0
  226. package/dist/src/components/Filter/components/FilterMenu/components/FilterSearchField/index.d.ts +1 -0
  227. package/dist/src/components/Filter/components/FilterMenu/components/Options/Options.d.ts +9 -0
  228. package/dist/src/components/Filter/components/FilterMenu/components/Options/Options.style.d.ts +6 -0
  229. package/dist/src/components/Filter/components/FilterMenu/components/Options/index.d.ts +1 -0
  230. package/dist/src/components/Filter/components/FilterMenu/index.d.ts +1 -0
  231. package/dist/src/components/Filter/constants.d.ts +16 -0
  232. package/dist/src/components/Filter/hooks/index.d.ts +1 -0
  233. package/dist/src/components/Filter/hooks/useFilterWithSelectionUtils.d.ts +14 -0
  234. package/dist/src/components/Filter/index.d.ts +3 -0
  235. package/dist/src/components/Icon/Icon.d.ts +19 -0
  236. package/dist/src/components/Icon/Icon.stories.d.ts +53 -0
  237. package/dist/src/components/Icon/Icon.style.d.ts +7 -0
  238. package/dist/src/components/Icon/Icon.types.d.ts +9 -0
  239. package/dist/src/components/Icon/assets/iconSelector.d.ts +6 -0
  240. package/dist/src/components/Icon/constants.d.ts +38 -0
  241. package/dist/src/components/Icon/index.d.ts +3 -0
  242. package/dist/src/components/IconButton/IconButton.d.ts +23 -0
  243. package/dist/src/components/IconButton/IconButton.stories.d.ts +41 -0
  244. package/dist/src/components/IconButton/index.d.ts +2 -0
  245. package/dist/src/components/Label/Label.d.ts +18 -0
  246. package/dist/src/components/Label/Label.style.d.ts +6 -0
  247. package/dist/src/components/Label/index.d.ts +2 -0
  248. package/dist/src/components/Link/Link.d.ts +12 -0
  249. package/dist/src/components/Link/Link.stories.d.ts +82 -0
  250. package/dist/src/components/Link/Link.style.d.ts +5 -0
  251. package/dist/src/components/Link/Link.tokens.d.ts +6 -0
  252. package/dist/src/components/Link/Link.types.d.ts +21 -0
  253. package/dist/src/components/Link/constants.d.ts +4 -0
  254. package/dist/src/components/Link/index.d.ts +1 -0
  255. package/dist/src/components/List/List.d.ts +44 -0
  256. package/dist/src/components/List/List.style.d.ts +13 -0
  257. package/dist/src/components/List/List.tokens.d.ts +6 -0
  258. package/dist/src/components/List/ListItem.d.ts +15 -0
  259. package/dist/src/components/List/ListSection.d.ts +14 -0
  260. package/dist/src/components/List/Window.d.ts +20 -0
  261. package/dist/src/components/List/components/ListItemAction/ListItemAction.d.ts +5 -0
  262. package/dist/src/components/List/components/ListItemAction/ListItemAction.style.d.ts +3 -0
  263. package/dist/src/components/List/components/ListItemAction/index.d.ts +2 -0
  264. package/dist/src/components/List/components/ListItemText/ListItemText.d.ts +7 -0
  265. package/dist/src/components/List/components/ListItemText/ListItemText.style.d.ts +5 -0
  266. package/dist/src/components/List/components/ListItemText/index.d.ts +2 -0
  267. package/dist/src/components/List/components/ListItemWrapper/ListItemWrapper.d.ts +29 -0
  268. package/dist/src/components/List/components/ListItemWrapper/ListItemWrapper.style.d.ts +9 -0
  269. package/dist/src/components/List/components/ListItemWrapper/index.d.ts +2 -0
  270. package/dist/src/components/List/index.d.ts +7 -0
  271. package/dist/src/components/List/stories/List.stories.d.ts +36 -0
  272. package/dist/src/components/List/stories/ListItem.stories.d.ts +23 -0
  273. package/dist/src/components/List/stories/ListItemAction.stories.d.ts +18 -0
  274. package/dist/src/components/List/stories/ListItemText.stories.d.ts +24 -0
  275. package/dist/src/components/List/stories/ListSection.stories.d.ts +23 -0
  276. package/dist/src/components/List/types.d.ts +9 -0
  277. package/dist/src/components/List/utils.d.ts +6 -0
  278. package/dist/src/components/Menu/Menu.d.ts +26 -0
  279. package/dist/src/components/Menu/Menu.stories.d.ts +51 -0
  280. package/dist/src/components/Menu/Menu.style.d.ts +13 -0
  281. package/dist/src/components/Menu/MenuItemDivider.d.ts +8 -0
  282. package/dist/src/components/Menu/index.d.ts +4 -0
  283. package/dist/src/components/Modal/Modal.d.ts +18 -0
  284. package/dist/src/components/Modal/Modal.stories.d.ts +37 -0
  285. package/dist/src/components/Modal/Modal.style.d.ts +8 -0
  286. package/dist/src/components/Modal/Modal.test.d.ts +1 -0
  287. package/dist/src/components/Modal/ModalContent/ModalContent.d.ts +22 -0
  288. package/dist/src/components/Modal/ModalContent/ModalContent.style.d.ts +8 -0
  289. package/dist/src/components/Modal/ModalContent/index.d.ts +1 -0
  290. package/dist/src/components/Modal/index.d.ts +1 -0
  291. package/dist/src/components/MultiTextFieldBase/MultiTextFieldBase.d.ts +44 -0
  292. package/dist/src/components/MultiTextFieldBase/MultiTextFieldBase.style.d.ts +58 -0
  293. package/dist/src/components/MultiTextFieldBase/hooks.d.ts +19 -0
  294. package/dist/src/components/MultiTextFieldBase/index.d.ts +1 -0
  295. package/dist/src/components/Navigation/Directory/Directory.d.ts +6 -0
  296. package/dist/src/components/Navigation/Directory/Directory.style.d.ts +11 -0
  297. package/dist/src/components/Navigation/Directory/MenuItem/MenuItem.d.ts +12 -0
  298. package/dist/src/components/Navigation/Directory/index.d.ts +1 -0
  299. package/dist/src/components/Navigation/Navigation.d.ts +15 -0
  300. package/dist/src/components/Navigation/Navigation.stories.d.ts +24 -0
  301. package/dist/src/components/Navigation/Navigation.style.d.ts +4 -0
  302. package/dist/src/components/Navigation/Navigation.test.d.ts +1 -0
  303. package/dist/src/components/Navigation/index.d.ts +3 -0
  304. package/dist/src/components/Navigation/types.d.ts +13 -0
  305. package/dist/src/components/Notification/Banner/Banner.d.ts +21 -0
  306. package/dist/src/components/Notification/Banner/index.d.ts +2 -0
  307. package/dist/src/components/Notification/InlineNotification/InlineNotification.d.ts +19 -0
  308. package/dist/src/components/Notification/InlineNotification/index.d.ts +2 -0
  309. package/dist/src/components/Notification/Notification.d.ts +13 -0
  310. package/dist/src/components/Notification/Notification.stories.d.ts +102 -0
  311. package/dist/src/components/Notification/Notification.style.d.ts +11 -0
  312. package/dist/src/components/Notification/Notification.test.d.ts +1 -0
  313. package/dist/src/components/Notification/NotificationVisual/NotificationVisual.d.ts +13 -0
  314. package/dist/src/components/Notification/NotificationVisual/NotificationVisual.style.d.ts +5 -0
  315. package/dist/src/components/Notification/NotificationVisual/index.d.ts +2 -0
  316. package/dist/src/components/Notification/NotificationsContainer/NotificationsContainer.d.ts +10 -0
  317. package/dist/src/components/Notification/NotificationsContainer/NotificationsContainer.style.d.ts +4 -0
  318. package/dist/src/components/Notification/NotificationsContainer/index.d.ts +2 -0
  319. package/dist/src/components/Notification/Snackbar/Snackbar.d.ts +19 -0
  320. package/dist/src/components/Notification/Snackbar/Snackbar.style.d.ts +8 -0
  321. package/dist/src/components/Notification/Snackbar/index.d.ts +2 -0
  322. package/dist/src/components/Notification/subcomponents/CompactNotification/CompactNotification.d.ts +28 -0
  323. package/dist/src/components/Notification/subcomponents/CompactNotification/CompactNotification.style.d.ts +10 -0
  324. package/dist/src/components/Notification/subcomponents/CompactNotification/index.d.ts +2 -0
  325. package/dist/src/components/Notification/subcomponents/NotificationActionsArea/NotificationActionsArea.d.ts +7 -0
  326. package/dist/src/components/Notification/subcomponents/NotificationActionsArea/index.d.ts +1 -0
  327. package/dist/src/components/NumberField/NumberField.d.ts +36 -0
  328. package/dist/src/components/NumberField/NumberField.stories.d.ts +95 -0
  329. package/dist/src/components/NumberField/NumberField.style.d.ts +3 -0
  330. package/dist/src/components/NumberField/NumberField.test.d.ts +1 -0
  331. package/dist/src/components/NumberField/components/Stepper/Stepper.d.ts +8 -0
  332. package/dist/src/components/NumberField/components/Stepper/Stepper.style.d.ts +5 -0
  333. package/dist/src/components/NumberField/components/Stepper/index.d.ts +1 -0
  334. package/dist/src/components/NumberField/index.d.ts +2 -0
  335. package/dist/src/components/Pagination/Pagination.d.ts +16 -0
  336. package/dist/src/components/Pagination/Pagination.stories.d.ts +33 -0
  337. package/dist/src/components/Pagination/index.d.ts +2 -0
  338. package/dist/src/components/ProgressIndicator/ProgressIndicator.d.ts +9 -0
  339. package/dist/src/components/ProgressIndicator/ProgressIndicator.stories.d.ts +90 -0
  340. package/dist/src/components/ProgressIndicator/ProgressIndicator.tokens.d.ts +6 -0
  341. package/dist/src/components/ProgressIndicator/ProgressIndicator.types.d.ts +12 -0
  342. package/dist/src/components/ProgressIndicator/components/ProgressBar/ProgressBar.d.ts +5 -0
  343. package/dist/src/components/ProgressIndicator/components/ProgressBar/ProgressBar.style.d.ts +7 -0
  344. package/dist/src/components/ProgressIndicator/components/ProgressBar/index.d.ts +1 -0
  345. package/dist/src/components/ProgressIndicator/components/ProgressCircle/ProgressCircle.d.ts +5 -0
  346. package/dist/src/components/ProgressIndicator/components/ProgressCircle/ProgressCircle.style.d.ts +3 -0
  347. package/dist/src/components/ProgressIndicator/components/ProgressCircle/index.d.ts +1 -0
  348. package/dist/src/components/ProgressIndicator/index.d.ts +1 -0
  349. package/dist/src/components/Search/Search.d.ts +6 -0
  350. package/dist/src/components/Search/Search.stories.d.ts +51 -0
  351. package/dist/src/components/Search/Search.style.d.ts +1937 -0
  352. package/dist/src/components/Search/Search.test.d.ts +1 -0
  353. package/dist/src/components/Search/Search.tokens.d.ts +6 -0
  354. package/dist/src/components/Search/Search.types.d.ts +11 -0
  355. package/dist/src/components/Search/StatefulSearch.d.ts +5 -0
  356. package/dist/src/components/Search/constants.d.ts +5 -0
  357. package/dist/src/components/Search/index.d.ts +3 -0
  358. package/dist/src/components/Select/Select.d.ts +6 -0
  359. package/dist/src/components/Select/Select.stories.d.ts +123 -0
  360. package/dist/src/components/Select/Select.style.d.ts +5 -0
  361. package/dist/src/components/Select/Select.test.d.ts +1 -0
  362. package/dist/src/components/Select/StatefulSelect.d.ts +5 -0
  363. package/dist/src/components/Select/components/SelectMenu/SelectMenu.d.ts +27 -0
  364. package/dist/src/components/Select/components/SelectMenu/SelectMenu.style.d.ts +12 -0
  365. package/dist/src/components/Select/components/SelectMenu/index.d.ts +2 -0
  366. package/dist/src/components/Select/constants.d.ts +45 -0
  367. package/dist/src/components/Select/index.d.ts +4 -0
  368. package/dist/src/components/Select/storyUtils.d.ts +6 -0
  369. package/dist/src/components/Select/types.d.ts +66 -0
  370. package/dist/src/components/Slider/Slider.d.ts +22 -0
  371. package/dist/src/components/Slider/Slider.stories.d.ts +42 -0
  372. package/dist/src/components/Slider/Slider.style.d.ts +13 -0
  373. package/dist/src/components/Slider/components/SliderMark/SliderMark.d.ts +13 -0
  374. package/dist/src/components/Slider/components/SliderMark/SliderMark.style.d.ts +17 -0
  375. package/dist/src/components/Slider/components/SliderMark/index.d.ts +2 -0
  376. package/dist/src/components/Slider/components/SliderThumb/SliderThumb.d.ts +12 -0
  377. package/dist/src/components/Slider/components/SliderThumb/SliderThumb.style.d.ts +10 -0
  378. package/dist/src/components/Slider/components/SliderThumb/index.d.ts +2 -0
  379. package/dist/src/components/Slider/components/SliderTrack/SliderTrack.d.ts +12 -0
  380. package/dist/src/components/Slider/components/SliderTrack/SliderTrack.style.d.ts +10 -0
  381. package/dist/src/components/Slider/components/SliderTrack/index.d.ts +2 -0
  382. package/dist/src/components/Slider/index.d.ts +2 -0
  383. package/dist/src/components/Table/Table.d.ts +70 -0
  384. package/dist/src/components/Table/Table.stories.d.ts +48 -0
  385. package/dist/src/components/Table/Table.style.d.ts +6 -0
  386. package/dist/src/components/Table/Table.test.d.ts +1 -0
  387. package/dist/src/components/Table/TableRowContext.d.ts +21 -0
  388. package/dist/src/components/Table/components/ExtendedColumnItem/ExtendedColumnItem.d.ts +10 -0
  389. package/dist/src/components/Table/components/ExtendedColumnItem/ExtendedColumnItem.style.d.ts +5 -0
  390. package/dist/src/components/Table/components/ExtendedColumnItem/index.d.ts +2 -0
  391. package/dist/src/components/Table/components/RenderRowOrNestedRow/RenderRowOrNestedRow.d.ts +14 -0
  392. package/dist/src/components/Table/components/RenderRowOrNestedRow/RenderRowOrNestedRow.style.d.ts +11 -0
  393. package/dist/src/components/Table/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.d.ts +20 -0
  394. package/dist/src/components/Table/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.style.d.ts +4 -0
  395. package/dist/src/components/Table/components/RenderRowOrNestedRow/components/ContentCell/index.d.ts +1 -0
  396. package/dist/src/components/Table/components/RenderRowOrNestedRow/components/ExpandedButtonCell/ExpandedButtonCell.d.ts +13 -0
  397. package/dist/src/components/Table/components/RenderRowOrNestedRow/components/ExpandedButtonCell/index.d.ts +1 -0
  398. package/dist/src/components/Table/components/RenderRowOrNestedRow/index.d.ts +1 -0
  399. package/dist/src/components/Table/components/TableCell/TableCell.d.ts +19 -0
  400. package/dist/src/components/Table/components/TableCell/TableCell.style.d.ts +6 -0
  401. package/dist/src/components/Table/components/TableCell/index.d.ts +2 -0
  402. package/dist/src/components/Table/components/TableCell/utils.d.ts +3 -0
  403. package/dist/src/components/Table/components/TableRow/TableRow.d.ts +8 -0
  404. package/dist/src/components/Table/components/TableRow/index.d.ts +2 -0
  405. package/dist/src/components/Table/components/TableRowWrapper/TableRowWrapper.d.ts +21 -0
  406. package/dist/src/components/Table/components/TableRowWrapper/index.d.ts +2 -0
  407. package/dist/src/components/Table/index.d.ts +3 -0
  408. package/dist/src/components/Table/types.d.ts +18 -0
  409. package/dist/src/components/Table/utils/TableStoryComponents.d.ts +10 -0
  410. package/dist/src/components/Table/utils/index.d.ts +1 -0
  411. package/dist/src/components/Table/utils/utils.d.ts +6 -0
  412. package/dist/src/components/Tag/Tag.d.ts +11 -0
  413. package/dist/src/components/Tag/Tag.stories.d.ts +84 -0
  414. package/dist/src/components/Tag/Tag.style.d.ts +9 -0
  415. package/dist/src/components/Tag/Tag.test.d.ts +1 -0
  416. package/dist/src/components/Tag/Tag.tokens.d.ts +6 -0
  417. package/dist/src/components/Tag/Tag.types.d.ts +23 -0
  418. package/dist/src/components/Tag/constants.d.ts +4 -0
  419. package/dist/src/components/Tag/hooks/useGetTagUtils.d.ts +13 -0
  420. package/dist/src/components/Tag/index.d.ts +2 -0
  421. package/dist/src/components/TextArea/TextArea.d.ts +33 -0
  422. package/dist/src/components/TextArea/TextArea.stories.d.ts +77 -0
  423. package/dist/src/components/TextArea/TextArea.style.d.ts +11 -0
  424. package/dist/src/components/TextArea/index.d.ts +2 -0
  425. package/dist/src/components/TextField/TextField.d.ts +37 -0
  426. package/dist/src/components/TextField/TextField.stories.d.ts +99 -0
  427. package/dist/src/components/TextField/TextField.style.d.ts +8 -0
  428. package/dist/src/components/TextField/TextField.test.d.ts +1 -0
  429. package/dist/src/components/TextField/components/commons.d.ts +6 -0
  430. package/dist/src/components/TextField/index.d.ts +2 -0
  431. package/dist/src/components/TextInputBase/TextInputBase.d.ts +39 -0
  432. package/dist/src/components/TextInputBase/TextInputBase.style.d.ts +14 -0
  433. package/dist/src/components/TextInputBase/TextInputBase.tokens.d.ts +6 -0
  434. package/dist/src/components/TextInputBase/index.d.ts +2 -0
  435. package/dist/src/components/ThemeProvider/Test.d.ts +4 -0
  436. package/dist/src/components/ThemeProvider/ThemeProvider.d.ts +9 -0
  437. package/dist/src/components/ThemeProvider/ThemeProvider.stories.d.ts +14 -0
  438. package/dist/src/components/ThemeProvider/ThemeProvider.style.d.ts +5 -0
  439. package/dist/src/components/ThemeProvider/ThemeProvider.test.d.ts +1 -0
  440. package/dist/src/components/ThemeProvider/index.d.ts +2 -0
  441. package/dist/src/components/Toast/Toast.d.ts +23 -0
  442. package/dist/src/components/Toast/Toast.style.d.ts +12 -0
  443. package/dist/src/components/Toast/Toast.test.d.ts +1 -0
  444. package/dist/src/components/Toast/index.d.ts +2 -0
  445. package/dist/src/components/Tooltip/Tooltip.d.ts +5 -0
  446. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +76 -0
  447. package/dist/src/components/Tooltip/Tooltip.style.d.ts +5 -0
  448. package/dist/src/components/Tooltip/Tooltip.types.d.ts +29 -0
  449. package/dist/src/components/Tooltip/index.d.ts +3 -0
  450. package/dist/src/components/Tooltip/utils.d.ts +3 -0
  451. package/dist/src/components/TopAppBar/TopAppBar.d.ts +5 -0
  452. package/dist/src/components/TopAppBar/TopAppBar.stories.d.ts +53 -0
  453. package/dist/src/components/TopAppBar/TopAppBar.style.d.ts +10 -0
  454. package/dist/src/components/TopAppBar/TopAppBar.test.d.ts +1 -0
  455. package/dist/src/components/TopAppBar/TopAppBar.types.d.ts +25 -0
  456. package/dist/src/components/TopAppBar/components/Logo/Logo.style.d.ts +9 -0
  457. package/dist/src/components/TopAppBar/components/Logo/Logo.wrapper.d.ts +7 -0
  458. package/dist/src/components/TopAppBar/components/Logo/index.d.ts +2 -0
  459. package/dist/src/components/TopAppBar/components/Search/Search.d.ts +13 -0
  460. package/dist/src/components/TopAppBar/components/Search/Search.style.d.ts +5 -0
  461. package/dist/src/components/TopAppBar/components/Search/index.d.ts +2 -0
  462. package/dist/src/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.d.ts +5 -0
  463. package/dist/src/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.style.d.ts +7 -0
  464. package/dist/src/components/TopAppBar/components/SidebarMenuIcon/index.d.ts +2 -0
  465. package/dist/src/components/TopAppBar/components/UserMenu/UserMenu.d.ts +13 -0
  466. package/dist/src/components/TopAppBar/components/UserMenu/UserMenu.style.d.ts +7 -0
  467. package/dist/src/components/TopAppBar/components/UserMenu/index.d.ts +2 -0
  468. package/dist/src/components/TopAppBar/components/index.d.ts +6 -0
  469. package/dist/src/components/TopAppBar/index.d.ts +3 -0
  470. package/dist/src/components/TruncatedContent/TruncatedContent.d.ts +12 -0
  471. package/dist/src/components/TruncatedContent/TruncatedContent.stories.d.ts +18 -0
  472. package/dist/src/components/TruncatedContent/TruncatedContent.style.d.ts +5 -0
  473. package/dist/src/components/TruncatedContent/TruncatedContent.test.d.ts +1 -0
  474. package/dist/src/components/TruncatedContent/index.d.ts +2 -0
  475. package/dist/src/components/Typography/Typography.config.styles.d.ts +19 -0
  476. package/dist/src/components/Typography/Typography.d.ts +29 -0
  477. package/dist/src/components/Typography/Typography.stories.d.ts +40 -0
  478. package/dist/src/components/Typography/Typography.style.d.ts +14 -0
  479. package/dist/src/components/Typography/index.d.ts +2 -0
  480. package/dist/src/components/Typography/utils.d.ts +4 -0
  481. package/dist/src/components/storyUtils/BarChartShowCase/BarChartShowCase.d.ts +5 -0
  482. package/dist/src/components/storyUtils/BarChartShowCase/index.d.ts +1 -0
  483. package/dist/src/components/storyUtils/BreadcrumbShowcase/BreadcrumbShowcase.d.ts +8 -0
  484. package/dist/src/components/storyUtils/BreadcrumbShowcase/index.d.ts +1 -0
  485. package/dist/src/components/storyUtils/Breakpoints/Breakpoints.d.ts +2 -0
  486. package/dist/src/components/storyUtils/Breakpoints/index.d.ts +1 -0
  487. package/dist/src/components/storyUtils/ButtonShowcases/ButtonShowcase.d.ts +8 -0
  488. package/dist/src/components/storyUtils/ButtonShowcases/LoadingButtonShowcase.d.ts +4 -0
  489. package/dist/src/components/storyUtils/ButtonShowcases/index.d.ts +2 -0
  490. package/dist/src/components/storyUtils/CardShowcase/CardShowcase.d.ts +11 -0
  491. package/dist/src/components/storyUtils/CardShowcase/CardShowcase.style.d.ts +4 -0
  492. package/dist/src/components/storyUtils/CardShowcase/index.d.ts +1 -0
  493. package/dist/src/components/storyUtils/ColorUtility/ColorBox.d.ts +10 -0
  494. package/dist/src/components/storyUtils/ColorUtility/ColorUtility.d.ts +4 -0
  495. package/dist/src/components/storyUtils/ColorUtility/ColorUtility.style.d.ts +4 -0
  496. package/dist/src/components/storyUtils/ColorUtility/RangeInput.d.ts +8 -0
  497. package/dist/src/components/storyUtils/ColorUtility/index.d.ts +0 -0
  498. package/dist/src/components/storyUtils/ColorUtility/useColors.d.ts +17 -0
  499. package/dist/src/components/storyUtils/ColorUtility/utils.d.ts +2 -0
  500. package/dist/src/components/storyUtils/DonutChartShowCase/DonutChartShowCase.d.ts +8 -0
  501. package/dist/src/components/storyUtils/DonutChartShowCase/index.d.ts +1 -0
  502. package/dist/src/components/storyUtils/EdgeCasesSelectShowcase/EdgeCasesSelectShowcase.d.ts +4 -0
  503. package/dist/src/components/storyUtils/EdgeCasesSelectShowcase/EdgeCasesSelectShowcase.style.d.ts +3 -0
  504. package/dist/src/components/storyUtils/EdgeCasesSelectShowcase/index.d.ts +1 -0
  505. package/dist/src/components/storyUtils/IconographyShowcase/IconographyShowcase.d.ts +4 -0
  506. package/dist/src/components/storyUtils/IconographyShowcase/index.d.ts +1 -0
  507. package/dist/src/components/storyUtils/LabelConfigStoryComponents.d.ts +5 -0
  508. package/dist/src/components/storyUtils/ModalShowcase/ModalShowcase.d.ts +8 -0
  509. package/dist/src/components/storyUtils/ModalShowcase/index.d.ts +1 -0
  510. package/dist/src/components/storyUtils/NavigationShowcase/MenuItems.d.ts +3 -0
  511. package/dist/src/components/storyUtils/NavigationShowcase/NavigationShowcase.d.ts +7 -0
  512. package/dist/src/components/storyUtils/NavigationShowcase/index.d.ts +1 -0
  513. package/dist/src/components/storyUtils/NotificationShowcase/NotificationShowcase.d.ts +12 -0
  514. package/dist/src/components/storyUtils/NotificationShowcase/index.d.ts +2 -0
  515. package/dist/src/components/storyUtils/PaletteShowcase/PaletteShowcase.d.ts +2 -0
  516. package/dist/src/components/storyUtils/PaletteShowcase/PaletteShowcase.style.d.ts +18 -0
  517. package/dist/src/components/storyUtils/PaletteShowcase/PaletteShowcase.test.d.ts +1 -0
  518. package/dist/src/components/storyUtils/PaletteShowcase/index.d.ts +1 -0
  519. package/dist/src/components/storyUtils/PresentComponent/PresentComponent.d.ts +8 -0
  520. package/dist/src/components/storyUtils/PresentComponent/index.d.ts +1 -0
  521. package/dist/src/components/storyUtils/SelectShowcase/MultiSelectShowcase.d.ts +9 -0
  522. package/dist/src/components/storyUtils/SelectShowcase/MultiSelectShowcase.style.d.ts +5 -0
  523. package/dist/src/components/storyUtils/SelectShowcase/SelectShowcase.d.ts +11 -0
  524. package/dist/src/components/storyUtils/SelectShowcase/index.d.ts +2 -0
  525. package/dist/src/components/storyUtils/SliderShowcase/SliderShowcase.d.ts +10 -0
  526. package/dist/src/components/storyUtils/SliderShowcase/index.d.ts +1 -0
  527. package/dist/src/components/storyUtils/Stack/Stack.d.ts +10 -0
  528. package/dist/src/components/storyUtils/Stack/index.d.ts +1 -0
  529. package/dist/src/components/storyUtils/TableFilterShowcase/TableFilterShowcase.d.ts +4 -0
  530. package/dist/src/components/storyUtils/TableFilterShowcase/index.d.ts +1 -0
  531. package/dist/src/components/storyUtils/TextFieldShowcases/MultiTextFieldShowcase.d.ts +7 -0
  532. package/dist/src/components/storyUtils/TextFieldShowcases/TextFieldShowCase.d.ts +8 -0
  533. package/dist/src/components/storyUtils/TextFieldShowcases/index.d.ts +2 -0
  534. package/dist/src/components/storyUtils/ThemeWrapper/ThemeWrapper.d.ts +4 -0
  535. package/dist/src/components/storyUtils/ThemeWrapper/index.d.ts +1 -0
  536. package/dist/src/components/storyUtils/TooltipShowcase/TooltipShowcase.d.ts +6 -0
  537. package/dist/src/components/storyUtils/TooltipShowcase/components/TooltipContent/TooltipContent.d.ts +7 -0
  538. package/dist/src/components/storyUtils/TooltipShowcase/components/TooltipContent/TooltipContent.style.d.ts +5 -0
  539. package/dist/src/components/storyUtils/TooltipShowcase/components/TooltipContent/index.d.ts +1 -0
  540. package/dist/src/components/storyUtils/TooltipShowcase/index.d.ts +1 -0
  541. package/dist/src/components/storyUtils/TopAppBarShowcase.d.ts +20 -0
  542. package/dist/src/components/storyUtils/componentsForTypes.d.ts +12 -0
  543. package/dist/src/components/utils/ClickAwayListener/ClickAwayListener.d.ts +12 -0
  544. package/dist/src/components/utils/ClickAwayListener/index.d.ts +1 -0
  545. package/dist/src/components/utils/DropdownOptions/index.d.ts +9 -0
  546. package/dist/src/components/utils/PositionInScreen/PositionInScreen.d.ts +25 -0
  547. package/dist/src/components/utils/PositionInScreen/PositionInScreen.style.d.ts +11 -0
  548. package/dist/src/components/utils/PositionInScreen/hooks.d.ts +5 -0
  549. package/dist/src/components/utils/PositionInScreen/index.d.ts +1 -0
  550. package/dist/src/components/utils/PositionInScreen/utils.d.ts +1 -0
  551. package/dist/src/components/utils/handleSearch.d.ts +12 -0
  552. package/dist/src/hooks/__tests__/useSearchQueryParams.test.d.ts +1 -0
  553. package/dist/src/hooks/index.d.ts +1 -0
  554. package/dist/src/hooks/storyUtils/DemoUseSearchQueryParams.d.ts +7 -0
  555. package/dist/src/hooks/useBreakpoints.d.ts +4 -0
  556. package/dist/src/hooks/useBreakpoints.test.d.ts +1 -0
  557. package/dist/src/hooks/useCheck.d.ts +7 -0
  558. package/dist/src/hooks/useCombinedRefs.d.ts +3 -0
  559. package/dist/src/hooks/useElementSize.d.ts +10 -0
  560. package/dist/src/hooks/useEscape.d.ts +2 -0
  561. package/dist/src/hooks/useEventListener.d.ts +4 -0
  562. package/dist/src/hooks/useFieldUtils.d.ts +14 -0
  563. package/dist/src/hooks/useIsoMorphicLayoutEffect.d.ts +4 -0
  564. package/dist/src/hooks/useKeyboardEvents.d.ts +31 -0
  565. package/dist/src/hooks/useLoading.d.ts +8 -0
  566. package/dist/src/hooks/useLocationToGetCurrentMenuItem.d.ts +4 -0
  567. package/dist/src/hooks/usePagination.d.ts +15 -0
  568. package/dist/src/hooks/useSearchQueryParams.d.ts +2 -0
  569. package/dist/src/hooks/useSearchQueryParams.stories.d.ts +23 -0
  570. package/dist/src/hooks/useTheme.d.ts +2 -0
  571. package/dist/src/hooks/useThemeSwitch.d.ts +9 -0
  572. package/dist/src/hooks/useToggle.d.ts +2 -0
  573. package/dist/src/hooks/useTypeColorToColorMatch.d.ts +17 -0
  574. package/dist/src/index.d.ts +119 -0
  575. package/dist/src/storybook/Link/Link.d.ts +8 -0
  576. package/dist/src/storybook/Link/Link.style.d.ts +4 -0
  577. package/dist/src/storybook/Link/index.d.ts +2 -0
  578. package/dist/src/storybook/Note/Note.d.ts +4 -0
  579. package/dist/src/storybook/Note/Note.style.d.ts +4 -0
  580. package/dist/src/storybook/Note/index.d.ts +1 -0
  581. package/dist/src/storybook/Overview/Overview.d.ts +6 -0
  582. package/dist/src/storybook/Overview/Overview.style.d.ts +3 -0
  583. package/dist/src/storybook/Overview/index.d.ts +1 -0
  584. package/dist/src/storybook/Preview/Preview.d.ts +7 -0
  585. package/dist/src/storybook/Preview/Preview.style.d.ts +3 -0
  586. package/dist/src/storybook/Preview/index.d.ts +2 -0
  587. package/dist/src/storybook/SectionHeader/SectionHeader.d.ts +12 -0
  588. package/dist/src/storybook/SectionHeader/SectionHeader.style.d.ts +6 -0
  589. package/dist/src/storybook/SectionHeader/index.d.ts +2 -0
  590. package/dist/src/storybook/Showcases/BorderWidthShowcase/BorderWidthShowcase.d.ts +2 -0
  591. package/dist/src/storybook/Showcases/BorderWidthShowcase/index.d.ts +1 -0
  592. package/dist/src/storybook/Showcases/BoxShadowShowcase/BoxShadowShowcase.d.ts +2 -0
  593. package/dist/src/storybook/Showcases/BoxShadowShowcase/index.d.ts +1 -0
  594. package/dist/src/storybook/Showcases/LayoutShowcase/LayoutShowcase.d.ts +13 -0
  595. package/dist/src/storybook/Showcases/LayoutShowcase/LayoutShowcase.style.d.ts +13 -0
  596. package/dist/src/storybook/Showcases/LayoutShowcase/index.d.ts +1 -0
  597. package/dist/src/storybook/Showcases/MinHeightShowcase/MinHeightShowcase.d.ts +2 -0
  598. package/dist/src/storybook/Showcases/MinHeightShowcase/index.d.ts +1 -0
  599. package/dist/src/storybook/Showcases/OpacityShowcase/OpacityShowcase.d.ts +2 -0
  600. package/dist/src/storybook/Showcases/OpacityShowcase/index.d.ts +1 -0
  601. package/dist/src/storybook/Showcases/OverviewShowcase/OverviewShowcase.d.ts +10 -0
  602. package/dist/src/storybook/Showcases/OverviewShowcase/OverviewShowcase.style.d.ts +3 -0
  603. package/dist/src/storybook/Showcases/OverviewShowcase/index.d.ts +1 -0
  604. package/dist/src/storybook/Showcases/RadiusShowcase/RadiusShowcase.d.ts +5 -0
  605. package/dist/src/storybook/Showcases/RadiusShowcase/index.d.ts +1 -0
  606. package/dist/src/storybook/Showcases/SizingShowcase/SizingShowcase.d.ts +5 -0
  607. package/dist/src/storybook/Showcases/SizingShowcase/index.d.ts +1 -0
  608. package/dist/src/storybook/Showcases/SpacingSizingShowcase/SpacingSizingShowcase.d.ts +5 -0
  609. package/dist/src/storybook/Showcases/SpacingSizingShowcase/SpacingSizingShowcase.style.d.ts +0 -0
  610. package/dist/src/storybook/Showcases/SpacingSizingShowcase/index.d.ts +1 -0
  611. package/dist/src/storybook/Showcases/StateShowcase/StateShowcase.d.ts +2 -0
  612. package/dist/src/storybook/Showcases/StateShowcase/index.d.ts +1 -0
  613. package/dist/src/storybook/Showcases/TagShowcase/TagShowcase.d.ts +9 -0
  614. package/dist/src/storybook/Showcases/TagShowcase/index.d.ts +1 -0
  615. package/dist/src/storybook/Showcases/TextColorShowcase/TextColorShowcase.d.ts +2 -0
  616. package/dist/src/storybook/Showcases/TextColorShowcase/TextColorShowcase.style.d.ts +5 -0
  617. package/dist/src/storybook/Showcases/TextColorShowcase/index.d.ts +1 -0
  618. package/dist/src/storybook/Showcases/TokenColorsShowcase/TokenColorsShowcase.d.ts +10 -0
  619. package/dist/src/storybook/Showcases/TokenColorsShowcase/TokenColorsShowcase.style.d.ts +7 -0
  620. package/dist/src/storybook/Showcases/TokenColorsShowcase/index.d.ts +2 -0
  621. package/dist/src/storybook/Showcases/TokenColorsShowcase/utils.d.ts +17 -0
  622. package/dist/src/storybook/Showcases/TypographyTokensShowcase/TypographyTokensShowcase.d.ts +2 -0
  623. package/dist/src/storybook/Showcases/TypographyTokensShowcase/TypographyTokensShowcase.style.d.ts +4 -0
  624. package/dist/src/storybook/Showcases/TypographyTokensShowcase/index.d.ts +1 -0
  625. package/dist/src/storybook/SubsectionHeader/SubsectionHeader.d.ts +9 -0
  626. package/dist/src/storybook/SubsectionHeader/SubsectionHeader.style.d.ts +3 -0
  627. package/dist/src/storybook/SubsectionHeader/index.d.ts +1 -0
  628. package/dist/src/storybook/Tip/Tip.d.ts +7 -0
  629. package/dist/src/storybook/Tip/Tip.style.d.ts +5 -0
  630. package/dist/src/storybook/Tip/index.d.ts +2 -0
  631. package/dist/src/storybook/Typography/Typography.d.ts +9 -0
  632. package/dist/src/storybook/Typography/Typography.style.d.ts +4 -0
  633. package/dist/src/storybook/Typography/constants.d.ts +4 -0
  634. package/dist/src/storybook/Typography/index.d.ts +2 -0
  635. package/dist/src/storybook/UsageGuidelines/UsageGuidelines.d.ts +7 -0
  636. package/dist/src/storybook/UsageGuidelines/UsageGuidelines.style.d.ts +4 -0
  637. package/dist/src/storybook/UsageGuidelines/index.d.ts +1 -0
  638. package/dist/src/storybook/index.d.ts +8 -0
  639. package/dist/src/storybook/styles/OverviewCard.style.d.ts +4 -0
  640. package/dist/src/storybook.test.d.ts +1 -0
  641. package/dist/src/test/index.d.ts +1 -0
  642. package/dist/src/test/setup.d.ts +1 -0
  643. package/dist/src/test/utils.d.ts +7 -0
  644. package/dist/src/theme/dimension/borderRadius.d.ts +9 -0
  645. package/dist/src/theme/dimension/borderWidth.d.ts +9 -0
  646. package/dist/src/theme/dimension/index.d.ts +10 -0
  647. package/dist/src/theme/dimension/minHeight.d.ts +9 -0
  648. package/dist/src/theme/dimension/opacity.d.ts +9 -0
  649. package/dist/src/theme/dimension/sizing.d.ts +9 -0
  650. package/dist/src/theme/dimension/spacing.d.ts +9 -0
  651. package/dist/src/theme/dimension/state.d.ts +9 -0
  652. package/dist/src/theme/dimension/variables/borderRadius.d.ts +28 -0
  653. package/dist/src/theme/dimension/variables/borderWidth.d.ts +23 -0
  654. package/dist/src/theme/dimension/variables/minHeight.d.ts +20 -0
  655. package/dist/src/theme/dimension/variables/opacity.d.ts +18 -0
  656. package/dist/src/theme/dimension/variables/sizing.d.ts +30 -0
  657. package/dist/src/theme/dimension/variables/spacing.d.ts +43 -0
  658. package/dist/src/theme/dimension/variables/state.d.ts +25 -0
  659. package/dist/src/theme/functions.d.ts +9 -0
  660. package/dist/src/theme/globals/borderRadius.d.ts +8 -0
  661. package/dist/src/theme/globals/borderWidth.d.ts +8 -0
  662. package/dist/src/theme/globals/colors.d.ts +9 -0
  663. package/dist/src/theme/globals/constants/borderRadius.d.ts +43 -0
  664. package/dist/src/theme/globals/constants/borderWidth.d.ts +17 -0
  665. package/dist/src/theme/globals/constants/colors.d.ts +295 -0
  666. package/dist/src/theme/globals/constants/fontFamily.d.ts +12 -0
  667. package/dist/src/theme/globals/constants/fontSize.d.ts +44 -0
  668. package/dist/src/theme/globals/constants/fontWeight.d.ts +18 -0
  669. package/dist/src/theme/globals/constants/letterSpacing.d.ts +19 -0
  670. package/dist/src/theme/globals/constants/lineHeight.d.ts +48 -0
  671. package/dist/src/theme/globals/constants/opacity.d.ts +29 -0
  672. package/dist/src/theme/globals/constants/sizing.d.ts +95 -0
  673. package/dist/src/theme/globals/constants/spacing.d.ts +55 -0
  674. package/dist/src/theme/globals/constants/textCase.d.ts +11 -0
  675. package/dist/src/theme/globals/constants/textDecoration.d.ts +12 -0
  676. package/dist/src/theme/globals/elevation.d.ts +8 -0
  677. package/dist/src/theme/globals/index.d.ts +12 -0
  678. package/dist/src/theme/globals/oldColors.d.ts +2 -0
  679. package/dist/src/theme/globals/opacity.d.ts +8 -0
  680. package/dist/src/theme/globals/sizing.d.ts +8 -0
  681. package/dist/src/theme/globals/spacing.d.ts +8 -0
  682. package/dist/src/theme/globals/typography.d.ts +54 -0
  683. package/dist/src/theme/index.d.ts +5 -0
  684. package/dist/src/theme/overrides.d.ts +3 -0
  685. package/dist/src/theme/palette.config.d.ts +46 -0
  686. package/dist/src/theme/palette.d.ts +74 -0
  687. package/dist/src/theme/states/disabled.d.ts +12 -0
  688. package/dist/src/theme/states/focus.d.ts +17 -0
  689. package/dist/src/theme/states/hover.d.ts +16 -0
  690. package/dist/src/theme/states/index.d.ts +6 -0
  691. package/dist/src/theme/states/pressed.d.ts +16 -0
  692. package/dist/src/theme/states/statesConfig.d.ts +37 -0
  693. package/dist/src/theme/states/tests/states.test.d.ts +1 -0
  694. package/dist/src/theme/states/utils.d.ts +10 -0
  695. package/dist/src/theme/tests/utils.test.d.ts +1 -0
  696. package/dist/src/theme/tokens/components/variables/avatar.d.ts +103 -0
  697. package/dist/src/theme/tokens/components/variables/button.d.ts +27 -0
  698. package/dist/src/theme/tokens/components/variables/controls.d.ts +19 -0
  699. package/dist/src/theme/tokens/components/variables/datePicker.d.ts +18 -0
  700. package/dist/src/theme/tokens/components/variables/field.d.ts +93 -0
  701. package/dist/src/theme/tokens/components/variables/filter.d.ts +8 -0
  702. package/dist/src/theme/tokens/components/variables/link.d.ts +58 -0
  703. package/dist/src/theme/tokens/components/variables/listItem.d.ts +13 -0
  704. package/dist/src/theme/tokens/components/variables/progressIndicator.d.ts +15 -0
  705. package/dist/src/theme/tokens/components/variables/search.d.ts +10 -0
  706. package/dist/src/theme/tokens/components/variables/tag.d.ts +17 -0
  707. package/dist/src/theme/tokens/index.d.ts +10 -0
  708. package/dist/src/theme/tokens/semantic/boxShadow.d.ts +8 -0
  709. package/dist/src/theme/tokens/semantic/colors.d.ts +9 -0
  710. package/dist/src/theme/tokens/semantic/disabledState.d.ts +8 -0
  711. package/dist/src/theme/tokens/semantic/index.d.ts +8 -0
  712. package/dist/src/theme/tokens/semantic/state.d.ts +8 -0
  713. package/dist/src/theme/tokens/semantic/tests/constants.d.ts +22 -0
  714. package/dist/src/theme/tokens/semantic/tests/utils.test.d.ts +1 -0
  715. package/dist/src/theme/tokens/semantic/typography.d.ts +12 -0
  716. package/dist/src/theme/tokens/semantic/variables/boxShadow.d.ts +71 -0
  717. package/dist/src/theme/tokens/semantic/variables/colors.d.ts +308 -0
  718. package/dist/src/theme/tokens/semantic/variables/disabledState.d.ts +7 -0
  719. package/dist/src/theme/tokens/semantic/variables/state.d.ts +24 -0
  720. package/dist/src/theme/tokens/semantic/variables/typography.d.ts +359 -0
  721. package/dist/src/theme/tokens/utils/components.d.ts +13 -0
  722. package/dist/src/theme/tokens/utils/index.d.ts +4 -0
  723. package/dist/src/theme/tokens/utils/parsers.d.ts +21 -0
  724. package/dist/src/theme/tokens/utils/semantic.d.ts +11 -0
  725. package/dist/src/theme/tokens/utils/types.d.ts +49 -0
  726. package/dist/src/theme/types.d.ts +82 -0
  727. package/dist/src/theme/utils.d.ts +51 -0
  728. package/dist/src/utils/common.d.ts +22 -0
  729. package/dist/src/utils/date.d.ts +5 -0
  730. package/dist/src/utils/errors.d.ts +6 -0
  731. package/dist/src/utils/helpers.d.ts +20 -0
  732. package/dist/src/utils/storyshots.d.ts +18 -0
  733. package/dist/src/utils/tests/helpers.test.d.ts +1 -0
  734. package/dist/src/utils/tests/themeFunctions.test.d.ts +1 -0
  735. package/dist/src/utils/themeFunctions.d.ts +35 -0
  736. package/dist/src/utils/types.d.ts +11 -0
  737. package/dist/types/index.d.ts +1 -0
  738. package/package.json +24 -14
  739. package/dist/codemods/avatarCodemod.js.map +0 -1
  740. package/dist/codemods/buttonCodemod.js.map +0 -1
  741. package/dist/codemods/checkboxCodemod.js.map +0 -1
  742. package/dist/codemods/chipCodemode.js.map +0 -1
  743. package/dist/codemods/drawerCodemod.js.map +0 -1
  744. package/dist/codemods/filterCodemod.js.map +0 -1
  745. package/dist/codemods/globalsCodemod.js.map +0 -1
  746. package/dist/codemods/iconButtonCodemod.js.map +0 -1
  747. package/dist/codemods/iconCodemod.js.map +0 -1
  748. package/dist/codemods/loaderCodemod.js.map +0 -1
  749. package/dist/codemods/menuCodemod.js.map +0 -1
  750. package/dist/codemods/notificationsCodemod.js.map +0 -1
  751. package/dist/codemods/paginationCodemod.js.map +0 -1
  752. package/dist/codemods/radioCodemod.js.map +0 -1
  753. package/dist/codemods/radioGroupCodemod.js.map +0 -1
  754. package/dist/codemods/searchCodemod.js.map +0 -1
  755. package/dist/codemods/selectCodemod.js.map +0 -1
  756. package/dist/codemods/switchCodemod.js.map +0 -1
  757. package/dist/codemods/tableCodemod.js.map +0 -1
  758. package/dist/codemods/textareaCodemod.js.map +0 -1
  759. package/dist/codemods/textfieldCodemod.js.map +0 -1
  760. package/dist/codemods/tooltipCodemod.js.map +0 -1
  761. package/dist/codemods/unchangedIconsCodemod.js.map +0 -1
  762. package/dist/index.d.ts +0 -3479
  763. package/dist/index.umd.js +0 -147
  764. /package/dist/codemods/{globalsCodemod.d.ts → codemods/globalsCodemod.d.ts} +0 -0
@@ -0,0 +1,138 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ title: string;
4
+ component: import('react').NamedExoticComponent<import('./DatePicker.types').DatePickerProps & import('../..').TestProps>;
5
+ parameters: {
6
+ design: {
7
+ type: string;
8
+ name: string;
9
+ url: string;
10
+ }[];
11
+ };
12
+ args: {
13
+ filterType: string;
14
+ hintMessage: string;
15
+ label: string;
16
+ status: string;
17
+ };
18
+ argTypes: {
19
+ disableDates: {
20
+ type: string;
21
+ options: string[];
22
+ mapping: {
23
+ 'Disable days of week (only Monday)': {
24
+ daysOfWeek: number[];
25
+ };
26
+ 'Disable dates after this day': {
27
+ after: import('dayjs').Dayjs;
28
+ };
29
+ 'Disable dates before this day': {
30
+ before: import('dayjs').Dayjs;
31
+ };
32
+ 'Disable dates before and after a date (-/+ 7 days)': {
33
+ before: Date;
34
+ after: Date;
35
+ };
36
+ 'Enable dates from/to a date (7 days)': {
37
+ before: Date;
38
+ after: Date;
39
+ };
40
+ 'Array of disabled dates(Today, last 2 days, and the 4th day to today)': {
41
+ days: Date[];
42
+ };
43
+ };
44
+ };
45
+ filterType: {
46
+ type: string;
47
+ options: string[];
48
+ };
49
+ status: {
50
+ type: string;
51
+ options: string[];
52
+ };
53
+ isDisabled: {
54
+ type: string;
55
+ };
56
+ };
57
+ };
58
+ export default _default;
59
+ export declare const DatePickerStory: {
60
+ render: (args: any) => import("@emotion/react/jsx-runtime").JSX.Element;
61
+ autoPlay: boolean;
62
+ play: ({ canvasElement }: {
63
+ canvasElement: HTMLElement;
64
+ }) => Promise<void>;
65
+ name: string;
66
+ parameters: {
67
+ controls: {
68
+ include: string[];
69
+ };
70
+ };
71
+ };
72
+ export declare const DateRangePicker: {
73
+ render: (args: any) => import("@emotion/react/jsx-runtime").JSX.Element;
74
+ parameters: {
75
+ controls: {
76
+ include: string[];
77
+ };
78
+ };
79
+ autoPlay: boolean;
80
+ play: ({ canvasElement }: {
81
+ canvasElement: HTMLElement;
82
+ }) => Promise<void>;
83
+ name: string;
84
+ };
85
+ export declare const DateRangePickerWithPresetOptions: {
86
+ render: (args: any) => import("@emotion/react/jsx-runtime").JSX.Element;
87
+ parameters: {
88
+ controls: {
89
+ include: string[];
90
+ };
91
+ };
92
+ name: string;
93
+ };
94
+ export declare const DatePickerWithFilter: {
95
+ render: () => import("@emotion/react/jsx-runtime").JSX.Element;
96
+ parameters: {
97
+ controls: {
98
+ disable: boolean;
99
+ };
100
+ };
101
+ name: string;
102
+ };
103
+ export declare const DatePickerWithDisabledDates: {
104
+ render: (args: any) => import("@emotion/react/jsx-runtime").JSX.Element;
105
+ name: string;
106
+ parameters: {
107
+ controls: {
108
+ include: string[];
109
+ };
110
+ };
111
+ };
112
+ export declare const DatePickerAndDateRangePickerStatuses: {
113
+ render: (args: any) => import("@emotion/react/jsx-runtime").JSX.Element;
114
+ parameters: {
115
+ controls: {
116
+ include: string[];
117
+ };
118
+ };
119
+ name: string;
120
+ };
121
+ export declare const DisabledDatePickerDateRangePicker: {
122
+ render: (args: any) => import("@emotion/react/jsx-runtime").JSX.Element;
123
+ parameters: {
124
+ controls: {
125
+ include: string[];
126
+ };
127
+ };
128
+ name: string;
129
+ };
130
+ export declare const Playground: {
131
+ render: (args: any) => import("@emotion/react/jsx-runtime").JSX.Element;
132
+ parameters: {
133
+ controls: {
134
+ include: string[];
135
+ };
136
+ };
137
+ name: string;
138
+ };
@@ -0,0 +1,4 @@
1
+ import { SerializedStyles } from '@emotion/react';
2
+ import { Theme } from '../../theme';
3
+
4
+ export declare const datePickerStyles: () => (theme: Theme) => SerializedStyles;
@@ -0,0 +1,6 @@
1
+ import { default as datePicker } from '../../theme/tokens/components/variables/datePicker';
2
+ import { DotKeys } from '../../theme/tokens/utils';
3
+ import { Theme } from '../../theme';
4
+
5
+ export type DatePickerTokens = DotKeys<typeof datePicker>;
6
+ export declare const getDatePickerTokens: (theme: Theme) => ((path: DatePickerTokens, fn?: (val: string) => any) => string);
@@ -0,0 +1,48 @@
1
+ import { Dayjs } from 'utils/date';
2
+ import { TextFieldProps } from '../TextField/TextField';
3
+ import { FilterType } from '../Filter/Filter.types';
4
+
5
+ export type DisabledDates = {
6
+ daysOfWeek?: number[];
7
+ days?: Date[];
8
+ after?: Date;
9
+ before?: Date;
10
+ };
11
+ export type DateRange = {
12
+ from: Date | undefined;
13
+ to: Date | undefined;
14
+ };
15
+ export type DatePickerProps = {
16
+ /** This property is to define if this is a day picker or a day range picker */
17
+ isRangePicker?: boolean;
18
+ /** A callback to return user selection */
19
+ onChange?: (range: DateRange) => void;
20
+ /** Option to disable some dates */
21
+ disableDates?: DisabledDates;
22
+ /** Value to define if needed an initial state or to handle it externally */
23
+ value: DateRange;
24
+ /** Calendar options for DateRangePicker */
25
+ options?: ExtraOption[];
26
+ /** Props of the TextField input */
27
+ inputProps?: Omit<TextFieldProps, 'size'>;
28
+ /** The format of the date displayed in the input field */
29
+ dateFormatOverride?: DateFormatType;
30
+ /** if the datepicker can be clear with backspace */
31
+ isClearable?: boolean;
32
+ /** if the datepicker's default date is today instead of placeholder text */
33
+ /** @deprecated This prop is being deprecated and is not used as you can manipulate date from value, will be removed in the future **/
34
+ isDefaultNow?: boolean;
35
+ /** Style properties for the DatePicker with a filter base */
36
+ filterConfig?: {
37
+ /** The filter's label */
38
+ label?: string;
39
+ /** This property defines the Filter's type */
40
+ filterType?: FilterType;
41
+ };
42
+ };
43
+ export type ExtraOption = {
44
+ value: string;
45
+ label: string;
46
+ dates: Dayjs[];
47
+ };
48
+ export type DateFormatType = 'MM/DD/YYYY' | 'DD/MM/YYYY' | 'MMMM D, YYYY' | 'dddd, MMMM D, YYYY' | 'M/D/YYYY' | 'MMM D, YYYY' | 'ddd, MMM D, YYYY' | 'DD MMM YYYY';
@@ -0,0 +1,17 @@
1
+ import { default as React } from 'react';
2
+ import { Dayjs } from 'utils/date';
3
+
4
+ export type DayProps = {
5
+ day?: number;
6
+ month: number;
7
+ year: number;
8
+ onSelect?: (date: Dayjs) => void;
9
+ isSelected?: boolean;
10
+ isBetween?: boolean;
11
+ isLast?: boolean;
12
+ isFirst?: boolean;
13
+ isDisabled?: boolean;
14
+ tabIndex?: number;
15
+ };
16
+ declare const _default: React.NamedExoticComponent<DayProps>;
17
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import { SerializedStyles } from '@emotion/react';
2
+ import { Theme } from 'theme';
3
+
4
+ type DayStyleProps = {
5
+ day?: number;
6
+ isSelected?: boolean;
7
+ isBetween?: boolean;
8
+ isLast?: boolean;
9
+ isFirst?: boolean;
10
+ isDisabled?: boolean;
11
+ isToday: boolean;
12
+ };
13
+ export declare const dayWrapperStyle: ({ isSelected, isBetween, isLast, isFirst, isToday, isDisabled, }: DayStyleProps & {
14
+ isToday: boolean;
15
+ }) => (theme: Theme) => SerializedStyles;
16
+ export declare const emptyDayStyle: ({ isBetween }: {
17
+ isBetween: boolean;
18
+ }) => (theme: Theme) => SerializedStyles;
19
+ export declare const dayStyle: ({ isSelected, isToday, isDisabled, isBetween }: DayStyleProps) => (theme: Theme) => SerializedStyles;
20
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ export { default } from './Day';
2
+ export * from './Day';
@@ -0,0 +1,15 @@
1
+ import { Dayjs } from 'utils/date';
2
+ import { DisabledDates } from '../DatePicker.types';
3
+ import { Range } from '../OverlayComponent/OverlayComponent';
4
+ import * as React from 'react';
5
+ export type WeekRow = number[];
6
+ export type MonthProps = {
7
+ year: number;
8
+ month: number;
9
+ onDaySelect?: (date: Dayjs) => void;
10
+ selectedDays: Range;
11
+ disabledDates?: DisabledDates;
12
+ isFirstCalendar?: boolean;
13
+ };
14
+ declare const _default: React.NamedExoticComponent<React.PropsWithChildren<MonthProps>>;
15
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { SerializedStyles } from '@emotion/react';
2
+ import { Theme } from 'theme';
3
+
4
+ export declare const weekDaysWrapperStyle: () => SerializedStyles;
5
+ export declare const weekDayStyle: () => (theme: Theme) => SerializedStyles;
6
+ export declare const datesWrapperStyle: () => (theme: Theme) => SerializedStyles;
@@ -0,0 +1,8 @@
1
+ import { Dayjs } from 'utils/date';
2
+ import { DisabledDates } from '../DatePicker.types';
3
+
4
+ export declare const calculateDisabledDays: (day: number | undefined, month: number, year: number, disabledDates?: DisabledDates) => boolean;
5
+ export declare const calculatedDayIsBetween: (day: number | undefined, month: number, year: number, from: Dayjs | undefined, to: Dayjs | undefined) => boolean;
6
+ export declare const calculateSelectedDayPosition: (day: number | undefined, position: 'last' | 'first', month: number, year: number, from: Dayjs | undefined, to: Dayjs | undefined) => boolean;
7
+ export declare const calculateSelectedDay: (day: number, month: number, year: number, from: Dayjs | undefined, to: Dayjs | undefined) => boolean;
8
+ export declare const getNumWeeksForMonth: (year: number, month: number) => number;
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+ import { MonthProps } from '../Month';
3
+
4
+ type Props = Omit<MonthProps, 'onDaySelect' | 'disabledDates'>;
5
+ /**
6
+ * Custom hook that holds all the logic for the keyboard navigation inside the calendar-grid
7
+ */
8
+ declare const useMonthKeyboardNavigation: ({ selectedDays, isFirstCalendar, month, year }: Props) => {
9
+ focusedDay: number;
10
+ setFocusedDay: React.Dispatch<React.SetStateAction<number>>;
11
+ calendarRef: React.MutableRefObject<HTMLTableElement>;
12
+ keyboardProps: import('@react-types/shared').DOMAttributes<import('@react-types/shared').FocusableElement>;
13
+ };
14
+ export default useMonthKeyboardNavigation;
@@ -0,0 +1,2 @@
1
+ export { default } from './Month';
2
+ export * from './Month';
@@ -0,0 +1,20 @@
1
+ import { Dayjs } from 'utils/date';
2
+ import { DisabledDates, ExtraOption } from '../DatePicker.types';
3
+ import * as React from 'react';
4
+ export type OverlayComponentProps = {
5
+ selectedOption?: string;
6
+ onClearAll?: () => void;
7
+ onApply?: () => void;
8
+ setSelectedOption?: (x: string) => void;
9
+ isRangePicker?: boolean;
10
+ extraOptions?: ExtraOption[];
11
+ selectedDays: Range;
12
+ onDaySelect: (date: Dayjs) => void;
13
+ disabledDates?: DisabledDates;
14
+ };
15
+ export type Range = {
16
+ from?: Dayjs;
17
+ to?: Dayjs;
18
+ };
19
+ declare const _default: React.NamedExoticComponent<React.PropsWithChildren<OverlayComponentProps>>;
20
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { SerializedStyles } from '@emotion/react';
2
+ import { Theme } from 'theme';
3
+
4
+ export declare const overlayWrapperStyle: () => (theme: Theme) => SerializedStyles;
5
+ export declare const optionsWrapperStyle: () => (theme: Theme) => SerializedStyles;
6
+ export declare const optionStyle: ({ isSelected }: {
7
+ isSelected?: boolean;
8
+ }) => (theme: Theme) => SerializedStyles;
9
+ export declare const buttonsMonthsWrapperStyle: () => SerializedStyles;
10
+ export declare const monthsWrapperStyle: () => SerializedStyles;
11
+ export declare const buttonsWrapperStyle: () => (theme: Theme) => SerializedStyles;
@@ -0,0 +1,17 @@
1
+ import { default as React } from 'react';
2
+ import { Dayjs } from 'utils/date';
3
+ import { DisabledDates } from '../../../DatePicker.types';
4
+ import { Range } from '../../OverlayComponent';
5
+
6
+ type MonthWrapperProps = {
7
+ showedArrows?: 'left' | 'right' | 'both';
8
+ isRangePicker?: boolean;
9
+ date: Dayjs;
10
+ selectedDays: Range;
11
+ onDaySelect?: (date: Dayjs) => void;
12
+ handleArrow?: (p: 'forward' | 'back') => void;
13
+ setDate: React.Dispatch<React.SetStateAction<Dayjs>>;
14
+ disabledDates?: DisabledDates;
15
+ };
16
+ declare const _default: React.MemoExoticComponent<({ setDate, onDaySelect, selectedDays, date, handleArrow, showedArrows, disabledDates, isRangePicker, }: MonthWrapperProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
17
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import { SerializedStyles } from '@emotion/react';
2
+ import { Theme } from 'theme';
3
+
4
+ export declare const monthWrapperStyle: () => (theme: Theme) => SerializedStyles;
5
+ export declare const monthHeaderWrapperStyle: () => () => SerializedStyles;
6
+ export declare const monthHeaderNavigationIconWrapperStyle: ({ position }: {
7
+ position: 'left' | 'right';
8
+ }) => () => SerializedStyles;
9
+ export declare const monthHeaderTitleWrapperStyle: () => SerializedStyles;
10
+ export declare const monthHeaderTitleStyle: ({ isRangePicker }: {
11
+ isRangePicker: boolean;
12
+ }) => (theme: Theme) => SerializedStyles;
@@ -0,0 +1,2 @@
1
+ export { default } from './OverlayComponent';
2
+ export * from './OverlayComponent';
@@ -0,0 +1,5 @@
1
+ import { Dayjs } from 'dayjs';
2
+ import { Range } from './OverlayComponent';
3
+
4
+ export declare const getLeftCalendarDate: (selectedDays: Range) => Dayjs;
5
+ export declare const getRightCalendarDate: (selectedDays: Range) => Dayjs;
@@ -0,0 +1,51 @@
1
+ import { ExtraOption } from './DatePicker.types';
2
+
3
+ export declare const APPLY = "Apply";
4
+ export declare const CLEAR_ALL = "Clear All";
5
+ export declare const DATE_PICKER_LABEL = "Select Date";
6
+ export declare const DATE_RANGE_PICKER_LABEL = "Enter Date Range";
7
+ export declare const EMPTY_STATE: {
8
+ from: any;
9
+ to: any;
10
+ };
11
+ export declare const CALENDAR_DEFAULT_OPTIONS: ExtraOption[];
12
+ /** Stories constants */
13
+ export declare const mockDate: import('dayjs').Dayjs;
14
+ export declare const rangePickerOptions: boolean[];
15
+ export declare const filterTypeOptions: readonly ["preset", "added"];
16
+ export declare const disableDates: {
17
+ days: Date[];
18
+ };
19
+ export declare const options: {
20
+ 'Disable days of week (only Monday)': {
21
+ daysOfWeek: number[];
22
+ };
23
+ 'Disable dates after this day': {
24
+ after: import('dayjs').Dayjs;
25
+ };
26
+ 'Disable dates before this day': {
27
+ before: import('dayjs').Dayjs;
28
+ };
29
+ 'Disable dates before and after a date (-/+ 7 days)': {
30
+ before: Date;
31
+ after: Date;
32
+ };
33
+ 'Enable dates from/to a date (7 days)': {
34
+ before: Date;
35
+ after: Date;
36
+ };
37
+ 'Array of disabled dates(Today, last 2 days, and the 4th day to today)': {
38
+ days: Date[];
39
+ };
40
+ };
41
+ export declare const dateFormatOptions: {
42
+ "Enables system's locale format": any;
43
+ 'MM/DD/YYYY': string;
44
+ 'DD/MM/YYYY': string;
45
+ 'MMMM D, YYYY': string;
46
+ 'dddd, MMMM D, YYYY': string;
47
+ 'M/D/YYYY': string;
48
+ 'MMM D, YYYY': string;
49
+ 'ddd, MMM D, YYYY': string;
50
+ 'DD MMM YYYY': string;
51
+ };
@@ -0,0 +1,4 @@
1
+ export { default } from './DatePicker';
2
+ export * from './DatePicker';
3
+ export * from './DatePicker.types';
4
+ export { CALENDAR_DEFAULT_OPTIONS } from './constants';
@@ -0,0 +1,3 @@
1
+ export declare const openDatePicker: ({ canvasElement }: {
2
+ canvasElement: HTMLElement;
3
+ }) => Promise<void>;
@@ -0,0 +1,11 @@
1
+ import { KEYBOARD_EVENT_KEYS } from '../../hooks/useKeyboardEvents';
2
+ import { Dayjs } from 'utils/date';
3
+ import { Range } from './OverlayComponent/OverlayComponent';
4
+
5
+ export declare const currentDay: Dayjs;
6
+ export declare const initDates: (value: {
7
+ from?: Date;
8
+ to?: Date;
9
+ }) => Range;
10
+ export declare const clickOnElement: (element: HTMLElement, key: string, charCode: number) => boolean;
11
+ export declare const navigateOnElement: (element: HTMLElement, path: (keyof typeof KEYBOARD_EVENT_KEYS)[]) => void;
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+
3
+ declare const Drawer: React.ForwardRefExoticComponent<{
4
+ isOpen: boolean;
5
+ onClose: () => void;
6
+ anchor?: import('./Drawer.types').AnchorType;
7
+ size: number;
8
+ isBackgroundActive?: boolean;
9
+ hasFixedLayout?: boolean;
10
+ parent?: HTMLElement;
11
+ } & import('../..').TestProps & {
12
+ children?: React.ReactNode;
13
+ } & React.RefAttributes<HTMLDivElement>>;
14
+ export default Drawer;
@@ -0,0 +1,91 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ title: string;
4
+ component: import('react').ForwardRefExoticComponent<{
5
+ isOpen: boolean;
6
+ onClose: () => void;
7
+ anchor?: import('./Drawer.types').AnchorType;
8
+ size: number;
9
+ isBackgroundActive?: boolean;
10
+ hasFixedLayout?: boolean;
11
+ parent?: HTMLElement;
12
+ } & import('../..').TestProps & {
13
+ children?: import('react').ReactNode;
14
+ } & import('react').RefAttributes<HTMLDivElement>>;
15
+ parameters: {
16
+ design: {
17
+ type: string;
18
+ name: string;
19
+ url: string;
20
+ }[];
21
+ chromatic: {
22
+ delay: number;
23
+ };
24
+ };
25
+ args: {
26
+ anchor: string;
27
+ };
28
+ };
29
+ export default _default;
30
+ export declare const Sizes: {
31
+ render: () => import("@emotion/react/jsx-runtime").JSX.Element;
32
+ name: string;
33
+ autoPlay: boolean;
34
+ play: ({ canvasElement }: {
35
+ canvasElement: HTMLElement;
36
+ }) => void;
37
+ parameters: {
38
+ controls: {
39
+ disable: boolean;
40
+ };
41
+ };
42
+ };
43
+ export declare const Placement: {
44
+ render: () => import("@emotion/react/jsx-runtime").JSX.Element;
45
+ name: string;
46
+ parameters: {
47
+ controls: {
48
+ disable: boolean;
49
+ };
50
+ };
51
+ };
52
+ export declare const Background: {
53
+ render: () => import("@emotion/react/jsx-runtime").JSX.Element;
54
+ name: string;
55
+ parameters: {
56
+ controls: {
57
+ disable: boolean;
58
+ };
59
+ };
60
+ };
61
+ export declare const FixedContent: {
62
+ render: () => import("@emotion/react/jsx-runtime").JSX.Element;
63
+ name: string;
64
+ autoPlay: boolean;
65
+ play: ({ canvasElement }: {
66
+ canvasElement: HTMLElement;
67
+ }) => void;
68
+ parameters: {
69
+ controls: {
70
+ disable: boolean;
71
+ };
72
+ };
73
+ };
74
+ export declare const MoreExamples: {
75
+ render: () => import("@emotion/react/jsx-runtime").JSX.Element;
76
+ name: string;
77
+ parameters: {
78
+ controls: {
79
+ disable: boolean;
80
+ };
81
+ };
82
+ };
83
+ export declare const Playground: {
84
+ render: (args: any) => import("@emotion/react/jsx-runtime").JSX.Element;
85
+ name: string;
86
+ parameters: {
87
+ controls: {
88
+ include: string[];
89
+ };
90
+ };
91
+ };
@@ -0,0 +1,23 @@
1
+ import { SerializedStyles } from '@emotion/react';
2
+ import { Theme } from 'theme';
3
+ import { DrawerProps } from './Drawer.types';
4
+
5
+ export declare const backdropStyle: ({ isOpen, anchor, size, isBackgroundActive, }: Pick<DrawerProps, 'isOpen' | 'anchor' | 'size' | 'isBackgroundActive'>) => () => SerializedStyles;
6
+ export declare const anchorStyle: ({ anchor, size, isBackgroundActive, }: Pick<DrawerProps, 'anchor' | 'size' | 'isBackgroundActive'>) => {
7
+ display: string;
8
+ height: string;
9
+ width: string;
10
+ };
11
+ export declare const overlayStyle: ({ isOpen, anchor, hasFixedLayout }: Pick<DrawerProps, 'isOpen' | 'anchor' | 'hasFixedLayout'>) => (theme: Theme) => SerializedStyles;
12
+ export declare const closeIconContainer: () => (theme: Theme) => SerializedStyles;
13
+ export declare const headerStyle: ({ isFixed, hasBoxShadow }: {
14
+ isFixed?: boolean;
15
+ hasBoxShadow?: boolean;
16
+ }) => (theme: Theme) => SerializedStyles;
17
+ export declare const contentStyle: ({ hasFixedHeader }: {
18
+ hasFixedHeader?: boolean;
19
+ }) => (theme: Theme) => SerializedStyles;
20
+ export declare const footerStyle: ({ isFixed, hasBoxShadow }: {
21
+ isFixed?: boolean;
22
+ hasBoxShadow?: boolean;
23
+ }) => (theme: Theme) => SerializedStyles;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,19 @@
1
+ import { TestProps } from 'utils/types';
2
+
3
+ export type AnchorType = 'bottom' | 'left' | 'right' | 'top';
4
+ export type DrawerProps = {
5
+ /** If true, the drawer is open.*/
6
+ isOpen: boolean;
7
+ /** Callback fired when the component requests to be closed. */
8
+ onClose: () => void;
9
+ /** Side from which the overlay will appear. */
10
+ anchor?: AnchorType;
11
+ /** Drawer size are relative to the viewport (percentage) */
12
+ size: number;
13
+ /** Whether the background behind the Drawer is interactive. Defaults to false */
14
+ isBackgroundActive?: boolean;
15
+ /** If true, then the header and footer are fixed positioned */
16
+ hasFixedLayout?: boolean;
17
+ /** The parent element, in which the drawer will be rendered. Defaults to document.body */
18
+ parent?: HTMLElement | null;
19
+ } & TestProps;
@@ -0,0 +1,28 @@
1
+ import { Dispatch, FCC, default as React } from 'react';
2
+
3
+ declare const SET_HAS_FIXED_LAYOUT = "SET_HAS_FIXED_LAYOUT";
4
+ declare const SET_ON_CLOSE = "SET_ON_CLOSE";
5
+ declare const TOGGLE_IS_SCROLLBAR_ON_TOP = "TOGGLE_IS_SCROLLBAR_ON_TOP";
6
+ declare const TOGGLE_IS_SCROLLBAR_ON_BOTTOM = "TOGGLE_IS_SCROLLBAR_ON_BOTTOM";
7
+ export type DrawerContextState = {
8
+ hasFixedLayout?: boolean;
9
+ onClose?: () => void;
10
+ isScrollbarOnTop?: boolean;
11
+ isScrollbarOnBottom?: boolean;
12
+ };
13
+ export type DrawerContextAction = {
14
+ type: typeof SET_HAS_FIXED_LAYOUT | typeof SET_ON_CLOSE | typeof TOGGLE_IS_SCROLLBAR_ON_BOTTOM | typeof TOGGLE_IS_SCROLLBAR_ON_TOP;
15
+ payload: any;
16
+ };
17
+ export declare const setHasFixedLayout: (payload: any) => DrawerContextAction;
18
+ export declare const setOnClose: (payload: any) => DrawerContextAction;
19
+ export declare const toggleIsScrollbarOnTop: (payload: any) => DrawerContextAction;
20
+ export declare const toggleIsScrollbarOnBottom: (payload: any) => DrawerContextAction;
21
+ export declare const DrawerContext: React.Context<[DrawerContextState, Dispatch<DrawerContextAction>]>;
22
+ export type DrawerContextReducer = (state: DrawerContextState, action: DrawerContextAction) => DrawerContextState;
23
+ export declare const DrawerContextProvider: FCC<{
24
+ hasFixedLayout?: boolean;
25
+ onClose: () => void;
26
+ }>;
27
+ export declare const useDrawerContext: () => [DrawerContextState, Dispatch<DrawerContextAction>];
28
+ export {};
@@ -0,0 +1,5 @@
1
+ import { FCC } from 'react';
2
+ import { TestProps } from 'utils/types';
3
+
4
+ declare const DrawerContent: FCC<TestProps>;
5
+ export default DrawerContent;