@orfium/ictinus 5.39.2 → 5.39.4

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 (1072) hide show
  1. package/.eslintrc.json +127 -0
  2. package/.turbo/turbo-build.log +75 -0
  3. package/CHANGELOG.md +7 -0
  4. package/codemods/avatarCodemod.ts +53 -0
  5. package/codemods/buttonCodemod.ts +52 -0
  6. package/codemods/checkboxCodemod.ts +42 -0
  7. package/codemods/chipCodemode.ts +45 -0
  8. package/codemods/drawerCodemod.ts +73 -0
  9. package/codemods/filterCodemod.ts +29 -0
  10. package/codemods/globalsCodemod.ts +145 -0
  11. package/codemods/iconButtonCodemod.ts +54 -0
  12. package/codemods/iconCodemod.ts +24 -0
  13. package/codemods/loaderCodemod.ts +47 -0
  14. package/codemods/menuCodemod.ts +43 -0
  15. package/codemods/notificationsCodemod.ts +21 -0
  16. package/codemods/paginationCodemod.ts +36 -0
  17. package/codemods/radioCodemod.ts +27 -0
  18. package/codemods/radioGroupCodemod.ts +23 -0
  19. package/codemods/searchCodemod.ts +38 -0
  20. package/codemods/selectCodemod.ts +88 -0
  21. package/codemods/switchCodemod.ts +40 -0
  22. package/codemods/tableCodemod.ts +24 -0
  23. package/codemods/textareaCodemod.ts +58 -0
  24. package/codemods/textfieldCodemod.ts +55 -0
  25. package/codemods/tooltipCodemod.ts +35 -0
  26. package/codemods/unchangedIconsCodemod.ts +62 -0
  27. package/dist/index.cjs +70 -83
  28. package/dist/index.js +19352 -22870
  29. package/dist/src/components/Avatar/Avatar.d.ts +2 -2
  30. package/dist/src/components/Avatar/Avatar.types.d.ts +2 -2
  31. package/dist/src/components/Avatar/AvatarStack/AvatarStack.d.ts +1 -2
  32. package/dist/src/components/Avatar/AvatarStack/AvatarStack.types.d.ts +4 -2
  33. package/dist/src/components/Controls/ControlLabel/ControlHelpText.d.ts +1 -0
  34. package/dist/src/components/Controls/ControlLabel/ControlLabelText.d.ts +1 -0
  35. package/dist/src/components/Controls/index.d.ts +1 -0
  36. package/dist/src/components/Filter/Filter.types.d.ts +1 -1
  37. package/dist/src/components/Filter/components/FilterButton/FilterButton.d.ts +4 -4
  38. package/dist/src/components/Icon/index.d.ts +2 -0
  39. package/dist/src/components/InlineAlert/index.d.ts +1 -1
  40. package/dist/src/components/Link/Link.tokens.d.ts +1 -1
  41. package/dist/src/components/ProgressIndicator/components/ProgressBar/ProgressBar.d.ts +1 -1
  42. package/dist/src/components/Search/Search.style.d.ts +9 -9
  43. package/dist/src/components/Slider/Slider.d.ts +2 -2
  44. package/dist/src/components/Table/Table.d.ts +2 -1
  45. package/dist/src/components/TableV4/TableRowContext.d.ts +1 -1
  46. package/dist/src/components/TableV4/TableV4.d.ts +1 -65
  47. package/dist/src/components/TableV4/components/RenderRowOrNestedRow/RenderRowOrNestedRow.d.ts +1 -1
  48. package/dist/src/components/TableV4/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.d.ts +1 -1
  49. package/dist/src/components/TableV4/components/TableRowWrapper/TableRowWrapper.d.ts +1 -1
  50. package/dist/src/components/TableV4/index.d.ts +2 -2
  51. package/dist/src/components/TableV4/types.d.ts +64 -0
  52. package/dist/src/components/TableV4/utils/TableStoryComponents.d.ts +1 -2
  53. package/dist/src/components/TextField/index.d.ts +1 -1
  54. package/dist/src/components/Toast/index.d.ts +1 -0
  55. package/dist/src/components/Typography/index.d.ts +3 -1
  56. package/dist/src/css/sprinkles.css.d.ts +2 -2
  57. package/dist/src/index.d.ts +191 -2
  58. package/dist/src/test/utils.d.ts +2 -1
  59. package/dist/src/theme/index.d.ts +2 -1
  60. package/dist/src/theme/palette.config.d.ts +4 -4
  61. package/dist/src/theme/palette.d.ts +6 -0
  62. package/dist/src/utils/common.d.ts +12 -2
  63. package/dist/src/utils/types.d.ts +2 -2
  64. package/dist/src/vanilla/Box/Box.d.ts +1 -1
  65. package/package.json +13 -60
  66. package/postcss.config.mjs +13 -0
  67. package/src/components/Avatar/Avatar.style.ts +57 -0
  68. package/src/components/Avatar/Avatar.tokens.ts +19 -0
  69. package/src/components/Avatar/Avatar.tsx +38 -0
  70. package/src/components/Avatar/Avatar.types.ts +24 -0
  71. package/src/components/Avatar/AvatarStack/AvatarStack.style.ts +27 -0
  72. package/src/components/Avatar/AvatarStack/AvatarStack.tsx +49 -0
  73. package/src/components/Avatar/AvatarStack/AvatarStack.types.ts +12 -0
  74. package/src/components/Avatar/AvatarStack/index.ts +2 -0
  75. package/src/components/Avatar/AvatarStack/utils.ts +10 -0
  76. package/src/components/Avatar/assets/user-avatar.svg +4 -0
  77. package/src/components/Avatar/constants.ts +31 -0
  78. package/src/components/Avatar/index.ts +3 -0
  79. package/src/components/Box/Box.style.ts +3 -0
  80. package/src/components/Box/Box.test.ts +98 -0
  81. package/src/components/Box/Box.tsx +52 -0
  82. package/src/components/Box/Box.types.ts +339 -0
  83. package/src/components/Box/Box.utilities.ts +160 -0
  84. package/src/components/Box/index.ts +3 -0
  85. package/src/components/Breadcrumb/BackToItem/BackToItem.style.ts +15 -0
  86. package/src/components/Breadcrumb/BackToItem/BackToItem.tsx +28 -0
  87. package/src/components/Breadcrumb/BackToItem/index.ts +1 -0
  88. package/src/components/Breadcrumb/Breadcrumb.style.ts +18 -0
  89. package/src/components/Breadcrumb/Breadcrumb.tsx +79 -0
  90. package/src/components/Breadcrumb/Breadcrumb.types.ts +16 -0
  91. package/src/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.style.ts +28 -0
  92. package/src/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.tsx +33 -0
  93. package/src/components/Breadcrumb/BreadcrumbItem/index.ts +1 -0
  94. package/src/components/Breadcrumb/index.ts +3 -0
  95. package/src/components/Broadcast/Broadcast.style.ts +137 -0
  96. package/src/components/Broadcast/Broadcast.tsx +92 -0
  97. package/src/components/Broadcast/Broadcast.types.ts +43 -0
  98. package/src/components/Broadcast/index.ts +1 -0
  99. package/src/components/Broadcast/tests/Broadcast.test.tsx +70 -0
  100. package/src/components/Button/Button.style.ts +10 -0
  101. package/src/components/Button/Button.tokens.ts +11 -0
  102. package/src/components/Button/Button.tsx +72 -0
  103. package/src/components/Button/Button.types.ts +5 -0
  104. package/src/components/Button/ButtonLoader/ButtonLoader.style.ts +52 -0
  105. package/src/components/Button/ButtonLoader/ButtonLoader.tsx +20 -0
  106. package/src/components/Button/ButtonLoader/index.ts +2 -0
  107. package/src/components/Button/index.ts +2 -0
  108. package/src/components/ButtonBase/ButtonBase.style.ts +95 -0
  109. package/src/components/ButtonBase/ButtonBase.tsx +101 -0
  110. package/src/components/ButtonBase/constants.ts +37 -0
  111. package/src/components/ButtonBase/index.ts +2 -0
  112. package/src/components/Card/Card.style.ts +21 -0
  113. package/src/components/Card/Card.tsx +25 -0
  114. package/src/components/Card/index.ts +2 -0
  115. package/src/components/Chart/BarChart/BarChart.tsx +156 -0
  116. package/src/components/Chart/BarChart/components/CustomLabel/CustomLabel.tsx +35 -0
  117. package/src/components/Chart/BarChart/components/CustomLabel/index.ts +1 -0
  118. package/src/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.style.ts +45 -0
  119. package/src/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.tsx +47 -0
  120. package/src/components/Chart/BarChart/components/CustomTooltip/index.ts +1 -0
  121. package/src/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.style.ts +46 -0
  122. package/src/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.tsx +31 -0
  123. package/src/components/Chart/BarChart/components/CustomTooltipContent/index.ts +1 -0
  124. package/src/components/Chart/BarChart/index.ts +1 -0
  125. package/src/components/Chart/BarChart/utils.ts +69 -0
  126. package/src/components/Chart/DonutChart/DonutChart.tsx +50 -0
  127. package/src/components/Chart/DonutChart/components/CustomLabel/CustomLabel.style.ts +20 -0
  128. package/src/components/Chart/DonutChart/components/CustomLabel/CustomLabel.tsx +44 -0
  129. package/src/components/Chart/DonutChart/components/CustomLabel/index.ts +1 -0
  130. package/src/components/Chart/DonutChart/index.ts +1 -0
  131. package/src/components/Chart/LineChart/LineChart.test.ts +33 -0
  132. package/src/components/Chart/LineChart/LineChart.tsx +103 -0
  133. package/src/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.style.ts +41 -0
  134. package/src/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.tsx +32 -0
  135. package/src/components/Chart/LineChart/components/CustomTooltip/index.ts +1 -0
  136. package/src/components/Chart/LineChart/components/GradientLine/GradientLine.tsx +17 -0
  137. package/src/components/Chart/LineChart/components/GradientLine/index.ts +1 -0
  138. package/src/components/Chart/LineChart/index.ts +1 -0
  139. package/src/components/Chart/LineChart/mockedData.ts +43 -0
  140. package/src/components/Chart/LineChart/story.utils.ts +13 -0
  141. package/src/components/Chart/LineChart/utils.ts +33 -0
  142. package/src/components/Chart/Wrapper.tsx +31 -0
  143. package/src/components/Controls/CheckBox/CheckBox.style.ts +83 -0
  144. package/src/components/Controls/CheckBox/CheckBox.test.tsx +85 -0
  145. package/src/components/Controls/CheckBox/CheckBox.tsx +99 -0
  146. package/src/components/Controls/CheckBox/__snapshots__/CheckBox.stories.storyshot +2410 -0
  147. package/src/components/Controls/CheckBox/__snapshots__/CheckBox.test.tsx.snap +163 -0
  148. package/src/components/Controls/CheckBox/index.ts +2 -0
  149. package/src/components/Controls/ControlLabel/ControlHelpText.tsx +16 -0
  150. package/src/components/Controls/ControlLabel/ControlLabel.style.ts +39 -0
  151. package/src/components/Controls/ControlLabel/ControlLabelText.tsx +18 -0
  152. package/src/components/Controls/ControlLabel/index.ts +2 -0
  153. package/src/components/Controls/Controls.tokens.ts +11 -0
  154. package/src/components/Controls/Controls.types.ts +12 -0
  155. package/src/components/Controls/Radio/Radio.style.ts +95 -0
  156. package/src/components/Controls/Radio/Radio.test.tsx +62 -0
  157. package/src/components/Controls/Radio/Radio.tsx +73 -0
  158. package/src/components/Controls/Radio/__snapshots__/Radio.stories.storyshot +2659 -0
  159. package/src/components/Controls/Radio/__snapshots__/Radio.test.tsx.snap +122 -0
  160. package/src/components/Controls/Radio/components/RadioGroup/RadioGroup.tsx +42 -0
  161. package/src/components/Controls/Radio/components/RadioGroup/RadioGroupContext.ts +6 -0
  162. package/src/components/Controls/Radio/components/RadioGroup/index.ts +2 -0
  163. package/src/components/Controls/Radio/index.ts +2 -0
  164. package/src/components/Controls/Switch/Switch.style.ts +84 -0
  165. package/src/components/Controls/Switch/Switch.test.tsx +53 -0
  166. package/src/components/Controls/Switch/Switch.tsx +84 -0
  167. package/src/components/Controls/Switch/__snapshots__/Switch.test.tsx.snap +141 -0
  168. package/src/components/Controls/Switch/index.ts +2 -0
  169. package/src/components/Controls/index.ts +5 -0
  170. package/src/components/DatePicker/DatePickInput/DatePickInput.style.ts +25 -0
  171. package/src/components/DatePicker/DatePickInput/DatePickInput.tsx +170 -0
  172. package/src/components/DatePicker/DatePickInput/index.ts +2 -0
  173. package/src/components/DatePicker/DatePicker.style.ts +17 -0
  174. package/src/components/DatePicker/DatePicker.test.tsx +319 -0
  175. package/src/components/DatePicker/DatePicker.tokens.ts +13 -0
  176. package/src/components/DatePicker/DatePicker.tsx +231 -0
  177. package/src/components/DatePicker/DatePicker.types.ts +57 -0
  178. package/src/components/DatePicker/Day/Day.style.ts +122 -0
  179. package/src/components/DatePicker/Day/Day.test.tsx +98 -0
  180. package/src/components/DatePicker/Day/Day.tsx +100 -0
  181. package/src/components/DatePicker/Day/__snapshots__/Day.test.tsx.snap +320 -0
  182. package/src/components/DatePicker/Day/index.ts +2 -0
  183. package/src/components/DatePicker/Month/Month.style.ts +39 -0
  184. package/src/components/DatePicker/Month/Month.test.tsx +96 -0
  185. package/src/components/DatePicker/Month/Month.tsx +154 -0
  186. package/src/components/DatePicker/Month/Month.utils.ts +107 -0
  187. package/src/components/DatePicker/Month/__snapshots__/Month.test.tsx.snap +803 -0
  188. package/src/components/DatePicker/Month/hooks/useMonthKeyboardNavigation.ts +84 -0
  189. package/src/components/DatePicker/Month/index.ts +2 -0
  190. package/src/components/DatePicker/OverlayComponent/OverlayComponent.style.ts +85 -0
  191. package/src/components/DatePicker/OverlayComponent/OverlayComponent.test.tsx +110 -0
  192. package/src/components/DatePicker/OverlayComponent/OverlayComponent.tsx +118 -0
  193. package/src/components/DatePicker/OverlayComponent/__snapshots__/OverlayComponent.test.tsx.snap +3256 -0
  194. package/src/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.style.ts +60 -0
  195. package/src/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.test.tsx +52 -0
  196. package/src/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.tsx +154 -0
  197. package/src/components/DatePicker/OverlayComponent/components/MonthWrapper/__snapshots__/MonthWrapper.test.tsx.snap +1136 -0
  198. package/src/components/DatePicker/OverlayComponent/index.ts +2 -0
  199. package/src/components/DatePicker/OverlayComponent/utils.ts +15 -0
  200. package/src/components/DatePicker/constants.ts +69 -0
  201. package/src/components/DatePicker/index.ts +4 -0
  202. package/src/components/DatePicker/utils.ts +47 -0
  203. package/src/components/Drawer/Drawer.style.ts +195 -0
  204. package/src/components/Drawer/Drawer.test.tsx +126 -0
  205. package/src/components/Drawer/Drawer.tsx +80 -0
  206. package/src/components/Drawer/Drawer.types.ts +20 -0
  207. package/src/components/Drawer/DrawerContext.tsx +103 -0
  208. package/src/components/Drawer/components/DrawerContent/DrawerContent.tsx +26 -0
  209. package/src/components/Drawer/components/DrawerContent/hooks/useDrawerContentObserver.ts +52 -0
  210. package/src/components/Drawer/components/DrawerContent/index.ts +1 -0
  211. package/src/components/Drawer/components/DrawerFooter/DrawerFooter.tsx +20 -0
  212. package/src/components/Drawer/components/DrawerFooter/index.ts +1 -0
  213. package/src/components/Drawer/components/DrawerHeader/DrawerHeader.tsx +22 -0
  214. package/src/components/Drawer/components/DrawerHeader/index.ts +1 -0
  215. package/src/components/Drawer/components/index.ts +3 -0
  216. package/src/components/Drawer/index.ts +5 -0
  217. package/src/components/DropdownButton/DropdownButton.style.ts +84 -0
  218. package/src/components/DropdownButton/DropdownButton.test.tsx +56 -0
  219. package/src/components/DropdownButton/DropdownButton.tsx +159 -0
  220. package/src/components/DropdownButton/index.ts +1 -0
  221. package/src/components/ExpandCollapse/ExpandCollapse.style.ts +9 -0
  222. package/src/components/ExpandCollapse/ExpandCollapse.tsx +56 -0
  223. package/src/components/ExpandCollapse/ExpandCollapse.types.ts +68 -0
  224. package/src/components/ExpandCollapse/index.ts +3 -0
  225. package/src/components/ExpandCollapse/useManageContentRef.ts +45 -0
  226. package/src/components/ExpandCollapse/utils.ts +21 -0
  227. package/src/components/Filter/Filter.test.tsx +217 -0
  228. package/src/components/Filter/Filter.tokens.ts +11 -0
  229. package/src/components/Filter/Filter.tsx +162 -0
  230. package/src/components/Filter/Filter.types.ts +77 -0
  231. package/src/components/Filter/StatefulFilter.tsx +37 -0
  232. package/src/components/Filter/components/FilterButton/FilterButton.style.ts +75 -0
  233. package/src/components/Filter/components/FilterButton/FilterButton.tsx +105 -0
  234. package/src/components/Filter/components/FilterButton/index.ts +1 -0
  235. package/src/components/Filter/components/FilterMenu/FilterMenu.style.ts +19 -0
  236. package/src/components/Filter/components/FilterMenu/FilterMenu.tsx +78 -0
  237. package/src/components/Filter/components/FilterMenu/components/FilterSearchField/FilterSearchField.style.ts +30 -0
  238. package/src/components/Filter/components/FilterMenu/components/FilterSearchField/FilterSearchField.tsx +103 -0
  239. package/src/components/Filter/components/FilterMenu/components/FilterSearchField/index.ts +1 -0
  240. package/src/components/Filter/components/FilterMenu/components/Options/Options.style.ts +37 -0
  241. package/src/components/Filter/components/FilterMenu/components/Options/Options.tsx +94 -0
  242. package/src/components/Filter/components/FilterMenu/components/Options/index.ts +1 -0
  243. package/src/components/Filter/components/FilterMenu/index.ts +1 -0
  244. package/src/components/Filter/constants.ts +39 -0
  245. package/src/components/Filter/hooks/index.ts +1 -0
  246. package/src/components/Filter/hooks/useFilterWithSelectionUtils.ts +122 -0
  247. package/src/components/Filter/index.ts +3 -0
  248. package/src/components/Icon/Icon.style.ts +52 -0
  249. package/src/components/Icon/Icon.tsx +64 -0
  250. package/src/components/Icon/Icon.types.ts +169 -0
  251. package/src/components/Icon/assets/audioControls/forward.svg +3 -0
  252. package/src/components/Icon/assets/audioControls/next.svg +3 -0
  253. package/src/components/Icon/assets/audioControls/pause.svg +3 -0
  254. package/src/components/Icon/assets/audioControls/play.svg +3 -0
  255. package/src/components/Icon/assets/audioControls/previous.svg +3 -0
  256. package/src/components/Icon/assets/audioControls/resume.svg +4 -0
  257. package/src/components/Icon/assets/audioControls/rewind.svg +3 -0
  258. package/src/components/Icon/assets/audioControls/stop.svg +3 -0
  259. package/src/components/Icon/assets/basicActions/check.svg +3 -0
  260. package/src/components/Icon/assets/basicActions/close.svg +3 -0
  261. package/src/components/Icon/assets/basicActions/columnChooser.svg +3 -0
  262. package/src/components/Icon/assets/basicActions/convert.svg +3 -0
  263. package/src/components/Icon/assets/basicActions/copy.svg +3 -0
  264. package/src/components/Icon/assets/basicActions/delete.svg +3 -0
  265. package/src/components/Icon/assets/basicActions/download.svg +3 -0
  266. package/src/components/Icon/assets/basicActions/edit.svg +3 -0
  267. package/src/components/Icon/assets/basicActions/login.svg +3 -0
  268. package/src/components/Icon/assets/basicActions/logout.svg +3 -0
  269. package/src/components/Icon/assets/basicActions/mediaFile.svg +3 -0
  270. package/src/components/Icon/assets/basicActions/minus.svg +3 -0
  271. package/src/components/Icon/assets/basicActions/plus.svg +3 -0
  272. package/src/components/Icon/assets/basicActions/redo.svg +3 -0
  273. package/src/components/Icon/assets/basicActions/refresh.svg +3 -0
  274. package/src/components/Icon/assets/basicActions/restore.svg +4 -0
  275. package/src/components/Icon/assets/basicActions/review.svg +3 -0
  276. package/src/components/Icon/assets/basicActions/search.svg +3 -0
  277. package/src/components/Icon/assets/basicActions/share.svg +3 -0
  278. package/src/components/Icon/assets/basicActions/sort.svg +4 -0
  279. package/src/components/Icon/assets/basicActions/sortAscending.svg +5 -0
  280. package/src/components/Icon/assets/basicActions/sortDescending.svg +5 -0
  281. package/src/components/Icon/assets/basicActions/thumbsDown.svg +3 -0
  282. package/src/components/Icon/assets/basicActions/thumbsUp.svg +3 -0
  283. package/src/components/Icon/assets/basicActions/undo.svg +3 -0
  284. package/src/components/Icon/assets/basicActions/update.svg +4 -0
  285. package/src/components/Icon/assets/basicActions/upload.svg +3 -0
  286. package/src/components/Icon/assets/dataAndFinance/analytics.svg +3 -0
  287. package/src/components/Icon/assets/dataAndFinance/dashboard.svg +3 -0
  288. package/src/components/Icon/assets/dataAndFinance/dataset.svg +3 -0
  289. package/src/components/Icon/assets/dataAndFinance/earnings.svg +3 -0
  290. package/src/components/Icon/assets/dataAndFinance/income.svg +3 -0
  291. package/src/components/Icon/assets/dataAndFinance/insight.svg +3 -0
  292. package/src/components/Icon/assets/dataAndFinance/invoice.svg +3 -0
  293. package/src/components/Icon/assets/dataAndFinance/trendingDown.svg +3 -0
  294. package/src/components/Icon/assets/dataAndFinance/trendingUp.svg +3 -0
  295. package/src/components/Icon/assets/generic/calendar.svg +3 -0
  296. package/src/components/Icon/assets/generic/chat.svg +3 -0
  297. package/src/components/Icon/assets/generic/delivery.svg +3 -0
  298. package/src/components/Icon/assets/generic/details.svg +3 -0
  299. package/src/components/Icon/assets/generic/externalLink.svg +3 -0
  300. package/src/components/Icon/assets/generic/file.svg +3 -0
  301. package/src/components/Icon/assets/generic/filter.svg +3 -0
  302. package/src/components/Icon/assets/generic/issue.svg +3 -0
  303. package/src/components/Icon/assets/generic/keyword.svg +3 -0
  304. package/src/components/Icon/assets/generic/language.svg +3 -0
  305. package/src/components/Icon/assets/generic/legal.svg +3 -0
  306. package/src/components/Icon/assets/generic/location.svg +3 -0
  307. package/src/components/Icon/assets/generic/mail.svg +3 -0
  308. package/src/components/Icon/assets/generic/manual.svg +3 -0
  309. package/src/components/Icon/assets/generic/moreOptions.svg +5 -0
  310. package/src/components/Icon/assets/generic/notification.svg +3 -0
  311. package/src/components/Icon/assets/generic/policy.svg +3 -0
  312. package/src/components/Icon/assets/generic/report.svg +3 -0
  313. package/src/components/Icon/assets/generic/search filled.svg +3 -0
  314. package/src/components/Icon/assets/generic/settings.svg +3 -0
  315. package/src/components/Icon/assets/generic/tag.svg +3 -0
  316. package/src/components/Icon/assets/iconSelector.ts +311 -0
  317. package/src/components/Icon/assets/musicBusiness/album.svg +3 -0
  318. package/src/components/Icon/assets/musicBusiness/artist.svg +3 -0
  319. package/src/components/Icon/assets/musicBusiness/asset.svg +3 -0
  320. package/src/components/Icon/assets/musicBusiness/broadcast.svg +3 -0
  321. package/src/components/Icon/assets/musicBusiness/catalog.svg +3 -0
  322. package/src/components/Icon/assets/musicBusiness/channel.svg +5 -0
  323. package/src/components/Icon/assets/musicBusiness/cinema.svg +3 -0
  324. package/src/components/Icon/assets/musicBusiness/claim.svg +3 -0
  325. package/src/components/Icon/assets/musicBusiness/composition.svg +3 -0
  326. package/src/components/Icon/assets/musicBusiness/concert.svg +3 -0
  327. package/src/components/Icon/assets/musicBusiness/conflict.svg +3 -0
  328. package/src/components/Icon/assets/musicBusiness/cueSheet.svg +3 -0
  329. package/src/components/Icon/assets/musicBusiness/digital.svg +3 -0
  330. package/src/components/Icon/assets/musicBusiness/distribution.svg +3 -0
  331. package/src/components/Icon/assets/musicBusiness/license.svg +3 -0
  332. package/src/components/Icon/assets/musicBusiness/playcount.svg +3 -0
  333. package/src/components/Icon/assets/musicBusiness/publicPerformance.svg +3 -0
  334. package/src/components/Icon/assets/musicBusiness/publisher.svg +4 -0
  335. package/src/components/Icon/assets/musicBusiness/radio.svg +3 -0
  336. package/src/components/Icon/assets/musicBusiness/recordLabel.svg +3 -0
  337. package/src/components/Icon/assets/musicBusiness/recording.svg +3 -0
  338. package/src/components/Icon/assets/musicBusiness/television.svg +3 -0
  339. package/src/components/Icon/assets/musicBusiness/usage.svg +3 -0
  340. package/src/components/Icon/assets/musicBusiness/work.svg +3 -0
  341. package/src/components/Icon/assets/musicBusiness/writer.svg +5 -0
  342. package/src/components/Icon/assets/musicBusiness/youTube.svg +3 -0
  343. package/src/components/Icon/assets/navigation/apps.svg +3 -0
  344. package/src/components/Icon/assets/navigation/arrowDown.svg +3 -0
  345. package/src/components/Icon/assets/navigation/arrowLeft.svg +3 -0
  346. package/src/components/Icon/assets/navigation/arrowRight.svg +3 -0
  347. package/src/components/Icon/assets/navigation/arrowUp.svg +3 -0
  348. package/src/components/Icon/assets/navigation/chevronDown.svg +3 -0
  349. package/src/components/Icon/assets/navigation/chevronLeft.svg +3 -0
  350. package/src/components/Icon/assets/navigation/chevronRight.svg +3 -0
  351. package/src/components/Icon/assets/navigation/chevronUp.svg +3 -0
  352. package/src/components/Icon/assets/navigation/menu.svg +3 -0
  353. package/src/components/Icon/assets/navigation/pageFirst.svg +3 -0
  354. package/src/components/Icon/assets/navigation/pageLast.svg +3 -0
  355. package/src/components/Icon/assets/navigation/triangleDown.svg +3 -0
  356. package/src/components/Icon/assets/navigation/triangleLeft.svg +3 -0
  357. package/src/components/Icon/assets/navigation/triangleRight.svg +3 -0
  358. package/src/components/Icon/assets/navigation/triangleUp.svg +3 -0
  359. package/src/components/Icon/assets/toggledActions/audio.svg +3 -0
  360. package/src/components/Icon/assets/toggledActions/audioOff.svg +6 -0
  361. package/src/components/Icon/assets/toggledActions/bookmark.svg +3 -0
  362. package/src/components/Icon/assets/toggledActions/bookmarkOff.svg +3 -0
  363. package/src/components/Icon/assets/toggledActions/eye.svg +3 -0
  364. package/src/components/Icon/assets/toggledActions/eyeOff.svg +3 -0
  365. package/src/components/Icon/assets/toggledActions/favorite.svg +3 -0
  366. package/src/components/Icon/assets/toggledActions/favoriteOff.svg +3 -0
  367. package/src/components/Icon/assets/toggledActions/flag.svg +3 -0
  368. package/src/components/Icon/assets/toggledActions/flagOff.svg +3 -0
  369. package/src/components/Icon/assets/toggledActions/freeze.svg +3 -0
  370. package/src/components/Icon/assets/toggledActions/image.svg +3 -0
  371. package/src/components/Icon/assets/toggledActions/imageOff.svg +4 -0
  372. package/src/components/Icon/assets/toggledActions/link.svg +3 -0
  373. package/src/components/Icon/assets/toggledActions/lock.svg +3 -0
  374. package/src/components/Icon/assets/toggledActions/pair.svg +3 -0
  375. package/src/components/Icon/assets/toggledActions/unfreeze.svg +4 -0
  376. package/src/components/Icon/assets/toggledActions/unlink.svg +3 -0
  377. package/src/components/Icon/assets/toggledActions/unlock.svg +3 -0
  378. package/src/components/Icon/assets/toggledActions/unpair.svg +3 -0
  379. package/src/components/Icon/assets/toggledActions/video.svg +3 -0
  380. package/src/components/Icon/assets/toggledActions/videoOff.svg +4 -0
  381. package/src/components/Icon/assets/usersAndStatus/account.svg +3 -0
  382. package/src/components/Icon/assets/usersAndStatus/entities.svg +3 -0
  383. package/src/components/Icon/assets/usersAndStatus/error.svg +3 -0
  384. package/src/components/Icon/assets/usersAndStatus/help.svg +3 -0
  385. package/src/components/Icon/assets/usersAndStatus/informational.svg +3 -0
  386. package/src/components/Icon/assets/usersAndStatus/organization.svg +3 -0
  387. package/src/components/Icon/assets/usersAndStatus/pending.svg +3 -0
  388. package/src/components/Icon/assets/usersAndStatus/role.svg +3 -0
  389. package/src/components/Icon/assets/usersAndStatus/statusIndicator.svg +3 -0
  390. package/src/components/Icon/assets/usersAndStatus/success.svg +3 -0
  391. package/src/components/Icon/assets/usersAndStatus/unverified.svg +4 -0
  392. package/src/components/Icon/assets/usersAndStatus/user.svg +3 -0
  393. package/src/components/Icon/assets/usersAndStatus/users.svg +6 -0
  394. package/src/components/Icon/assets/usersAndStatus/verified.svg +3 -0
  395. package/src/components/Icon/assets/usersAndStatus/warning.svg +3 -0
  396. package/src/components/Icon/constants.ts +199 -0
  397. package/src/components/Icon/index.ts +5 -0
  398. package/src/components/IconButton/IconButton.tsx +50 -0
  399. package/src/components/IconButton/index.ts +2 -0
  400. package/src/components/InlineAlert/InlineAlert.style.ts +124 -0
  401. package/src/components/InlineAlert/InlineAlert.tsx +92 -0
  402. package/src/components/InlineAlert/InlineAlert.types.ts +48 -0
  403. package/src/components/InlineAlert/index.ts +2 -0
  404. package/src/components/InlineAlert/tests/InlineAlert.test.tsx +65 -0
  405. package/src/components/Label/Label.style.ts +44 -0
  406. package/src/components/Label/Label.tsx +36 -0
  407. package/src/components/Label/index.ts +2 -0
  408. package/src/components/Link/Link.style.ts +72 -0
  409. package/src/components/Link/Link.tokens.ts +11 -0
  410. package/src/components/Link/Link.tsx +57 -0
  411. package/src/components/Link/Link.types.ts +23 -0
  412. package/src/components/Link/constants.ts +9 -0
  413. package/src/components/Link/index.ts +1 -0
  414. package/src/components/List/List.style.ts +51 -0
  415. package/src/components/List/List.tokens.ts +11 -0
  416. package/src/components/List/List.tsx +168 -0
  417. package/src/components/List/ListItem.tsx +28 -0
  418. package/src/components/List/ListSection.tsx +22 -0
  419. package/src/components/List/Window.tsx +87 -0
  420. package/src/components/List/components/ListItemAction/ListItemAction.style.ts +10 -0
  421. package/src/components/List/components/ListItemAction/ListItemAction.tsx +12 -0
  422. package/src/components/List/components/ListItemAction/index.ts +2 -0
  423. package/src/components/List/components/ListItemText/ListItemText.style.ts +43 -0
  424. package/src/components/List/components/ListItemText/ListItemText.tsx +19 -0
  425. package/src/components/List/components/ListItemText/index.ts +2 -0
  426. package/src/components/List/components/ListItemWrapper/ListItemWrapper.style.ts +67 -0
  427. package/src/components/List/components/ListItemWrapper/ListItemWrapper.tsx +49 -0
  428. package/src/components/List/components/ListItemWrapper/README.md +1 -0
  429. package/src/components/List/components/ListItemWrapper/index.ts +2 -0
  430. package/src/components/List/index.ts +7 -0
  431. package/src/components/List/types.ts +13 -0
  432. package/src/components/List/utils.tsx +13 -0
  433. package/src/components/Menu/Menu.style.ts +85 -0
  434. package/src/components/Menu/Menu.tsx +86 -0
  435. package/src/components/Menu/MenuItemDivider.tsx +33 -0
  436. package/src/components/Menu/index.ts +4 -0
  437. package/src/components/Modal/Modal.style.ts +47 -0
  438. package/src/components/Modal/Modal.test.tsx +94 -0
  439. package/src/components/Modal/Modal.tsx +88 -0
  440. package/src/components/Modal/ModalContent/ModalContent.style.ts +49 -0
  441. package/src/components/Modal/ModalContent/ModalContent.tsx +78 -0
  442. package/src/components/Modal/ModalContent/index.ts +1 -0
  443. package/src/components/Modal/index.ts +1 -0
  444. package/src/components/MultiTextFieldBase/MultiTextFieldBase.style.ts +130 -0
  445. package/src/components/MultiTextFieldBase/MultiTextFieldBase.tsx +186 -0
  446. package/src/components/MultiTextFieldBase/hooks.tsx +98 -0
  447. package/src/components/MultiTextFieldBase/index.ts +1 -0
  448. package/src/components/Navigation/Directory/Directory.style.ts +142 -0
  449. package/src/components/Navigation/Directory/Directory.tsx +36 -0
  450. package/src/components/Navigation/Directory/MenuItem/MenuItem.tsx +125 -0
  451. package/src/components/Navigation/Directory/index.ts +1 -0
  452. package/src/components/Navigation/Navigation.style.ts +23 -0
  453. package/src/components/Navigation/Navigation.test.tsx +53 -0
  454. package/src/components/Navigation/Navigation.tsx +37 -0
  455. package/src/components/Navigation/index.ts +3 -0
  456. package/src/components/Navigation/types.ts +17 -0
  457. package/src/components/Notification/Banner/Banner.tsx +63 -0
  458. package/src/components/Notification/Banner/index.tsx +2 -0
  459. package/src/components/Notification/InlineNotification/InlineNotification.tsx +59 -0
  460. package/src/components/Notification/InlineNotification/index.tsx +2 -0
  461. package/src/components/Notification/Notification.style.ts +78 -0
  462. package/src/components/Notification/Notification.test.tsx +292 -0
  463. package/src/components/Notification/Notification.tsx +16 -0
  464. package/src/components/Notification/NotificationVisual/NotificationVisual.style.tsx +23 -0
  465. package/src/components/Notification/NotificationVisual/NotificationVisual.tsx +58 -0
  466. package/src/components/Notification/NotificationVisual/index.tsx +2 -0
  467. package/src/components/Notification/NotificationsContainer/NotificationsContainer.style.tsx +56 -0
  468. package/src/components/Notification/NotificationsContainer/NotificationsContainer.tsx +31 -0
  469. package/src/components/Notification/NotificationsContainer/index.ts +2 -0
  470. package/src/components/Notification/Snackbar/Snackbar.style.ts +68 -0
  471. package/src/components/Notification/Snackbar/Snackbar.tsx +103 -0
  472. package/src/components/Notification/Snackbar/index.tsx +2 -0
  473. package/src/components/Notification/subcomponents/CompactNotification/CompactNotification.style.ts +62 -0
  474. package/src/components/Notification/subcomponents/CompactNotification/CompactNotification.tsx +127 -0
  475. package/src/components/Notification/subcomponents/CompactNotification/index.tsx +2 -0
  476. package/src/components/Notification/subcomponents/NotificationActionsArea/NotificationActionsArea.tsx +43 -0
  477. package/src/components/Notification/subcomponents/NotificationActionsArea/index.ts +1 -0
  478. package/src/components/NumberField/NumberField.style.ts +10 -0
  479. package/src/components/NumberField/NumberField.test.tsx +83 -0
  480. package/src/components/NumberField/NumberField.tsx +135 -0
  481. package/src/components/NumberField/components/Stepper/Stepper.style.ts +39 -0
  482. package/src/components/NumberField/components/Stepper/Stepper.tsx +51 -0
  483. package/src/components/NumberField/components/Stepper/index.ts +1 -0
  484. package/src/components/NumberField/index.ts +2 -0
  485. package/src/components/Pagination/Pagination.tsx +89 -0
  486. package/src/components/Pagination/index.ts +2 -0
  487. package/src/components/ProgressIndicator/ProgressIndicator.tokens.ts +11 -0
  488. package/src/components/ProgressIndicator/ProgressIndicator.tsx +25 -0
  489. package/src/components/ProgressIndicator/ProgressIndicator.types.ts +12 -0
  490. package/src/components/ProgressIndicator/__snapshots__/ProgressIndicator.stories.storyshot +883 -0
  491. package/src/components/ProgressIndicator/components/ProgressBar/ProgressBar.style.ts +86 -0
  492. package/src/components/ProgressIndicator/components/ProgressBar/ProgressBar.tsx +37 -0
  493. package/src/components/ProgressIndicator/components/ProgressBar/index.ts +1 -0
  494. package/src/components/ProgressIndicator/components/ProgressCircle/ProgressCircle.style.ts +24 -0
  495. package/src/components/ProgressIndicator/components/ProgressCircle/ProgressCircle.tsx +66 -0
  496. package/src/components/ProgressIndicator/components/ProgressCircle/index.ts +1 -0
  497. package/src/components/ProgressIndicator/index.ts +1 -0
  498. package/src/components/Search/Search.style.ts +113 -0
  499. package/src/components/Search/Search.test.tsx +86 -0
  500. package/src/components/Search/Search.tokens.ts +11 -0
  501. package/src/components/Search/Search.tsx +92 -0
  502. package/src/components/Search/Search.types.ts +32 -0
  503. package/src/components/Search/StatefulSearch.tsx +66 -0
  504. package/src/components/Search/constants.ts +10 -0
  505. package/src/components/Search/index.ts +3 -0
  506. package/src/components/Select/Select.style.ts +27 -0
  507. package/src/components/Select/Select.test.tsx +412 -0
  508. package/src/components/Select/Select.tsx +418 -0
  509. package/src/components/Select/StatefulSelect.tsx +36 -0
  510. package/src/components/Select/components/SelectMenu/SelectMenu.style.tsx +58 -0
  511. package/src/components/Select/components/SelectMenu/SelectMenu.tsx +121 -0
  512. package/src/components/Select/components/SelectMenu/index.ts +2 -0
  513. package/src/components/Select/constants.ts +58 -0
  514. package/src/components/Select/index.ts +4 -0
  515. package/src/components/Select/storyUtils.ts +48 -0
  516. package/src/components/Select/types.ts +74 -0
  517. package/src/components/Slider/Slider.style.tsx +23 -0
  518. package/src/components/Slider/Slider.tsx +208 -0
  519. package/src/components/Slider/components/SliderMark/SliderMark.style.tsx +74 -0
  520. package/src/components/Slider/components/SliderMark/SliderMark.tsx +56 -0
  521. package/src/components/Slider/components/SliderMark/index.ts +2 -0
  522. package/src/components/Slider/components/SliderThumb/SliderThumb.style.tsx +43 -0
  523. package/src/components/Slider/components/SliderThumb/SliderThumb.tsx +36 -0
  524. package/src/components/Slider/components/SliderThumb/index.ts +2 -0
  525. package/src/components/Slider/components/SliderTrack/SliderTrack.style.tsx +14 -0
  526. package/src/components/Slider/components/SliderTrack/SliderTrack.tsx +64 -0
  527. package/src/components/Slider/components/SliderTrack/index.ts +2 -0
  528. package/src/components/Slider/index.ts +2 -0
  529. package/src/components/TabStepper/TabStepper.tsx +44 -0
  530. package/src/components/TabStepper/components/TabStep/TabStep.style.ts +28 -0
  531. package/src/components/TabStepper/components/TabStep/TabStep.tsx +77 -0
  532. package/src/components/TabStepper/components/TabStep/index.ts +1 -0
  533. package/src/components/TabStepper/components/TabStepList/TabStepList.style.ts +127 -0
  534. package/src/components/TabStepper/components/TabStepList/TabStepList.tsx +19 -0
  535. package/src/components/TabStepper/components/TabStepList/index.ts +1 -0
  536. package/src/components/TabStepper/components/index.ts +2 -0
  537. package/src/components/TabStepper/constants.tsx +46 -0
  538. package/src/components/TabStepper/index.ts +3 -0
  539. package/src/components/TabStepper/types.ts +48 -0
  540. package/src/components/TabStepper/utils/TabStepperStoryComponents.tsx +7 -0
  541. package/src/components/Table/Table.style.ts +33 -0
  542. package/src/components/Table/Table.tsx +162 -0
  543. package/src/components/Table/components/OptimizedTableRow.tsx +121 -0
  544. package/src/components/Table/components/TBody/TBody.style.ts +22 -0
  545. package/src/components/Table/components/TBody/TBody.tsx +25 -0
  546. package/src/components/Table/components/TBody/index.ts +1 -0
  547. package/src/components/Table/components/TD/TD.style.ts +62 -0
  548. package/src/components/Table/components/TD/TD.tsx +64 -0
  549. package/src/components/Table/components/TD/index.ts +1 -0
  550. package/src/components/Table/components/TH/TH.style.ts +86 -0
  551. package/src/components/Table/components/TH/TH.tsx +120 -0
  552. package/src/components/Table/components/TH/components/SortingButton/SortingButton.style.ts +17 -0
  553. package/src/components/Table/components/TH/components/SortingButton/SortingButton.tsx +48 -0
  554. package/src/components/Table/components/TH/components/SortingButton/index.ts +1 -0
  555. package/src/components/Table/components/TH/components/THOptions/THOptions.style.ts +9 -0
  556. package/src/components/Table/components/TH/components/THOptions/THOptions.tsx +106 -0
  557. package/src/components/Table/components/TH/components/THOptions/components/SortingOption.tsx +42 -0
  558. package/src/components/Table/components/TH/components/THOptions/components/index.ts +1 -0
  559. package/src/components/Table/components/TH/components/THOptions/index.ts +1 -0
  560. package/src/components/Table/components/TH/components/index.ts +1 -0
  561. package/src/components/Table/components/TH/index.ts +1 -0
  562. package/src/components/Table/components/THead/THead.style.ts +41 -0
  563. package/src/components/Table/components/THead/THead.tsx +18 -0
  564. package/src/components/Table/components/THead/index.ts +1 -0
  565. package/src/components/Table/components/TPagination/TPagination.style.ts +68 -0
  566. package/src/components/Table/components/TPagination/TPagination.tsx +113 -0
  567. package/src/components/Table/components/TPagination/index.ts +1 -0
  568. package/src/components/Table/components/TR/TR.style.ts +32 -0
  569. package/src/components/Table/components/TR/TR.tsx +39 -0
  570. package/src/components/Table/components/TR/index.ts +1 -0
  571. package/src/components/Table/components/TTitle/TTitle.style.ts +39 -0
  572. package/src/components/Table/components/TTitle/TTitle.tsx +82 -0
  573. package/src/components/Table/components/TTitle/components/ColumnChooser/ColumnChooser.style.ts +9 -0
  574. package/src/components/Table/components/TTitle/components/ColumnChooser/ColumnChooser.tsx +152 -0
  575. package/src/components/Table/components/TTitle/components/ColumnChooser/index.ts +1 -0
  576. package/src/components/Table/components/TTitle/components/utils.ts +9 -0
  577. package/src/components/Table/components/TTitle/index.ts +1 -0
  578. package/src/components/Table/components/index.ts +7 -0
  579. package/src/components/Table/constants.tsx +350 -0
  580. package/src/components/Table/hooks/index.ts +1 -0
  581. package/src/components/Table/hooks/useTable.tsx +242 -0
  582. package/src/components/Table/index.ts +7 -0
  583. package/src/components/Table/types.ts +151 -0
  584. package/src/components/Table/utils/TableStoryComponents.tsx +21 -0
  585. package/src/components/TableV4/TableRowContext.ts +37 -0
  586. package/src/components/TableV4/TableV4.style.ts +41 -0
  587. package/src/components/TableV4/TableV4.test.tsx +233 -0
  588. package/src/components/TableV4/TableV4.tsx +294 -0
  589. package/src/components/TableV4/components/ExtendedColumnItem/ExtendedColumnItem.style.tsx +21 -0
  590. package/src/components/TableV4/components/ExtendedColumnItem/ExtendedColumnItem.tsx +101 -0
  591. package/src/components/TableV4/components/ExtendedColumnItem/index.ts +2 -0
  592. package/src/components/TableV4/components/RenderRowOrNestedRow/RenderRowOrNestedRow.style.ts +33 -0
  593. package/src/components/TableV4/components/RenderRowOrNestedRow/RenderRowOrNestedRow.tsx +178 -0
  594. package/src/components/TableV4/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.style.ts +13 -0
  595. package/src/components/TableV4/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.tsx +71 -0
  596. package/src/components/TableV4/components/RenderRowOrNestedRow/components/ContentCell/index.ts +1 -0
  597. package/src/components/TableV4/components/RenderRowOrNestedRow/components/ExpandedButtonCell/ExpandedButtonCell.tsx +69 -0
  598. package/src/components/TableV4/components/RenderRowOrNestedRow/components/ExpandedButtonCell/index.ts +1 -0
  599. package/src/components/TableV4/components/RenderRowOrNestedRow/index.ts +1 -0
  600. package/src/components/TableV4/components/TableCell/TableCell.style.tsx +27 -0
  601. package/src/components/TableV4/components/TableCell/TableCell.tsx +90 -0
  602. package/src/components/TableV4/components/TableCell/index.ts +2 -0
  603. package/src/components/TableV4/components/TableCell/utils.tsx +27 -0
  604. package/src/components/TableV4/components/TableRow/TableRow.tsx +48 -0
  605. package/src/components/TableV4/components/TableRow/index.ts +2 -0
  606. package/src/components/TableV4/components/TableRowWrapper/TableRowWrapper.tsx +75 -0
  607. package/src/components/TableV4/components/TableRowWrapper/index.ts +2 -0
  608. package/src/components/TableV4/index.ts +3 -0
  609. package/src/components/TableV4/types.ts +93 -0
  610. package/src/components/TableV4/utils/TableStoryComponents.tsx +12 -0
  611. package/src/components/TableV4/utils/index.ts +1 -0
  612. package/src/components/TableV4/utils/utils.ts +12 -0
  613. package/src/components/Tabs/Tabs.style.ts +27 -0
  614. package/src/components/Tabs/Tabs.test.tsx +80 -0
  615. package/src/components/Tabs/Tabs.tsx +54 -0
  616. package/src/components/Tabs/components/Tab/Tab.style.ts +13 -0
  617. package/src/components/Tabs/components/Tab/Tab.tsx +19 -0
  618. package/src/components/Tabs/components/Tab/index.ts +1 -0
  619. package/src/components/Tabs/components/TabList/TabList.style.ts +86 -0
  620. package/src/components/Tabs/components/TabList/TabList.tsx +19 -0
  621. package/src/components/Tabs/components/TabList/index.ts +1 -0
  622. package/src/components/Tabs/components/TabPanel/TabPanel.tsx +18 -0
  623. package/src/components/Tabs/components/TabPanel/index.ts +1 -0
  624. package/src/components/Tabs/components/TabsContainer/TabsContainer.style.ts +12 -0
  625. package/src/components/Tabs/components/TabsContainer/TabsContainer.tsx +25 -0
  626. package/src/components/Tabs/components/TabsContainer/index.ts +1 -0
  627. package/src/components/Tabs/components/index.ts +4 -0
  628. package/src/components/Tabs/constants.tsx +54 -0
  629. package/src/components/Tabs/index.ts +3 -0
  630. package/src/components/Tabs/types.ts +74 -0
  631. package/src/components/Tabs/utils/TabsStoryComponents.tsx +7 -0
  632. package/src/components/Tag/Tag.style.ts +105 -0
  633. package/src/components/Tag/Tag.test.tsx +95 -0
  634. package/src/components/Tag/Tag.tokens.ts +11 -0
  635. package/src/components/Tag/Tag.tsx +51 -0
  636. package/src/components/Tag/Tag.types.ts +26 -0
  637. package/src/components/Tag/__snapshots__/Tag.stories.storyshot +2293 -0
  638. package/src/components/Tag/constants.ts +36 -0
  639. package/src/components/Tag/hooks/useGetTagUtils.tsx +96 -0
  640. package/src/components/Tag/index.ts +2 -0
  641. package/src/components/TextArea/TextArea.style.ts +56 -0
  642. package/src/components/TextArea/TextArea.tsx +118 -0
  643. package/src/components/TextArea/index.ts +2 -0
  644. package/src/components/TextField/TextField.style.ts +32 -0
  645. package/src/components/TextField/TextField.test.tsx +146 -0
  646. package/src/components/TextField/TextField.tsx +156 -0
  647. package/src/components/TextField/components/commons.tsx +13 -0
  648. package/src/components/TextField/index.ts +2 -0
  649. package/src/components/TextInputBase/TextInputBase.style.ts +225 -0
  650. package/src/components/TextInputBase/TextInputBase.tokens.ts +11 -0
  651. package/src/components/TextInputBase/TextInputBase.tsx +96 -0
  652. package/src/components/TextInputBase/index.ts +2 -0
  653. package/src/components/ThemeProvider/Test.tsx +14 -0
  654. package/src/components/ThemeProvider/ThemeProvider.style.ts +61 -0
  655. package/src/components/ThemeProvider/ThemeProvider.test.tsx +46 -0
  656. package/src/components/ThemeProvider/ThemeProvider.tsx +48 -0
  657. package/src/components/ThemeProvider/index.ts +2 -0
  658. package/src/components/Toast/Toast.style.ts +127 -0
  659. package/src/components/Toast/Toast.test.tsx +110 -0
  660. package/src/components/Toast/Toast.tsx +170 -0
  661. package/src/components/Toast/Toast.types.ts +51 -0
  662. package/src/components/Toast/index.ts +2 -0
  663. package/src/components/ToastV4/ToastV4.style.ts +103 -0
  664. package/src/components/ToastV4/ToastV4.test.tsx +67 -0
  665. package/src/components/ToastV4/ToastV4.tsx +126 -0
  666. package/src/components/ToastV4/index.tsx +2 -0
  667. package/src/components/Tooltip/Tooltip.style.ts +50 -0
  668. package/src/components/Tooltip/Tooltip.tsx +49 -0
  669. package/src/components/Tooltip/Tooltip.types.ts +34 -0
  670. package/src/components/Tooltip/index.ts +3 -0
  671. package/src/components/Tooltip/utils.ts +11 -0
  672. package/src/components/TopAppBar/TopAppBar.style.ts +55 -0
  673. package/src/components/TopAppBar/TopAppBar.test.tsx +60 -0
  674. package/src/components/TopAppBar/TopAppBar.tsx +48 -0
  675. package/src/components/TopAppBar/TopAppBar.types.ts +26 -0
  676. package/src/components/TopAppBar/__snapshots__/TopAppBar.test.tsx.snap +845 -0
  677. package/src/components/TopAppBar/components/Logo/Logo.style.ts +29 -0
  678. package/src/components/TopAppBar/components/Logo/Logo.wrapper.tsx +20 -0
  679. package/src/components/TopAppBar/components/Logo/index.ts +2 -0
  680. package/src/components/TopAppBar/components/Search/Search.style.ts +71 -0
  681. package/src/components/TopAppBar/components/Search/Search.tsx +55 -0
  682. package/src/components/TopAppBar/components/Search/index.ts +2 -0
  683. package/src/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.style.ts +13 -0
  684. package/src/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.tsx +21 -0
  685. package/src/components/TopAppBar/components/SidebarMenuIcon/index.ts +2 -0
  686. package/src/components/TopAppBar/components/UserMenu/UserMenu.style.ts +12 -0
  687. package/src/components/TopAppBar/components/UserMenu/UserMenu.tsx +59 -0
  688. package/src/components/TopAppBar/components/UserMenu/index.ts +2 -0
  689. package/src/components/TopAppBar/components/index.ts +6 -0
  690. package/src/components/TopAppBar/index.ts +3 -0
  691. package/src/components/TruncatedContent/TruncatedContent.style.tsx +7 -0
  692. package/src/components/TruncatedContent/TruncatedContent.test.tsx +58 -0
  693. package/src/components/TruncatedContent/TruncatedContent.tsx +75 -0
  694. package/src/components/TruncatedContent/index.ts +2 -0
  695. package/src/components/Typography/Typography.config.styles.ts +87 -0
  696. package/src/components/Typography/Typography.style.ts +78 -0
  697. package/src/components/Typography/Typography.tsx +103 -0
  698. package/src/components/Typography/index.ts +4 -0
  699. package/src/components/Typography/utils.ts +13 -0
  700. package/src/components/utils/ClickAwayListener/ClickAwayListener.tsx +45 -0
  701. package/src/components/utils/ClickAwayListener/index.tsx +1 -0
  702. package/src/components/utils/DropdownOptions/index.tsx +33 -0
  703. package/src/components/utils/Overlay/Overlay.tsx +196 -0
  704. package/src/components/utils/Overlay/index.ts +1 -0
  705. package/src/components/utils/PositionInScreen/PositionInScreen.tsx +58 -0
  706. package/src/components/utils/PositionInScreen/hooks.ts +151 -0
  707. package/src/components/utils/PositionInScreen/index.tsx +1 -0
  708. package/src/components/utils/Slots.tsx +109 -0
  709. package/src/components/utils/handleSearch.ts +36 -0
  710. package/src/components/utils/tests/Slots.test.tsx +94 -0
  711. package/src/components/utils/useDOMRef.ts +49 -0
  712. package/src/css/atoms.ts +5 -0
  713. package/src/css/global.css.ts +174 -0
  714. package/src/css/index.ts +3 -0
  715. package/src/css/layerStyle.css.ts +18 -0
  716. package/src/css/layers.css.ts +16 -0
  717. package/src/css/sprinkles.css.ts +300 -0
  718. package/src/css/tokens.ts +145 -0
  719. package/src/css/vars.css.ts +158 -0
  720. package/src/hooks/__tests__/useSearchQueryParams.test.ts +29 -0
  721. package/src/hooks/index.ts +1 -0
  722. package/src/hooks/storyUtils/DemoUseSearchQueryParams.tsx +30 -0
  723. package/src/hooks/useBreakpoints.test.ts +39 -0
  724. package/src/hooks/useBreakpoints.tsx +47 -0
  725. package/src/hooks/useCheck.ts +25 -0
  726. package/src/hooks/useCombinedRefs.ts +23 -0
  727. package/src/hooks/useElementSize.ts +47 -0
  728. package/src/hooks/useEscape.ts +18 -0
  729. package/src/hooks/useEventListener.ts +43 -0
  730. package/src/hooks/useFieldUtils.tsx +59 -0
  731. package/src/hooks/useIsoMorphicLayoutEffect.ts +5 -0
  732. package/src/hooks/useKeyboardEvents.ts +78 -0
  733. package/src/hooks/useLoading.ts +29 -0
  734. package/src/hooks/useLocationToGetCurrentMenuItem.ts +30 -0
  735. package/src/hooks/useOverlayStack.ts +92 -0
  736. package/src/hooks/usePagination.ts +62 -0
  737. package/src/hooks/useSearchQueryParams.ts +16 -0
  738. package/src/hooks/useTheme.ts +7 -0
  739. package/src/hooks/useThemeSwitch.tsx +32 -0
  740. package/src/hooks/useToggle.ts +16 -0
  741. package/src/hooks/useTypeColorToColorMatch.tsx +103 -0
  742. package/src/index.ts +290 -0
  743. package/src/test/index.ts +1 -0
  744. package/src/test/setup.ts +51 -0
  745. package/src/test/utils.tsx +26 -0
  746. package/src/theme/dimension/borderRadius.ts +16 -0
  747. package/src/theme/dimension/borderWidth.ts +16 -0
  748. package/src/theme/dimension/index.ts +19 -0
  749. package/src/theme/dimension/minHeight.ts +16 -0
  750. package/src/theme/dimension/opacity.ts +16 -0
  751. package/src/theme/dimension/sizing.ts +16 -0
  752. package/src/theme/dimension/spacing.ts +16 -0
  753. package/src/theme/dimension/state.ts +16 -0
  754. package/src/theme/dimension/variables/borderRadius.ts +29 -0
  755. package/src/theme/dimension/variables/borderWidth.ts +24 -0
  756. package/src/theme/dimension/variables/minHeight.ts +21 -0
  757. package/src/theme/dimension/variables/opacity.ts +19 -0
  758. package/src/theme/dimension/variables/sizing.ts +31 -0
  759. package/src/theme/dimension/variables/spacing.ts +44 -0
  760. package/src/theme/dimension/variables/state.ts +26 -0
  761. package/src/theme/emotion.d.ts +7 -0
  762. package/src/theme/functions.ts +77 -0
  763. package/src/theme/globals/borderRadius.ts +14 -0
  764. package/src/theme/globals/borderWidth.ts +14 -0
  765. package/src/theme/globals/colors.ts +15 -0
  766. package/src/theme/globals/constants/README.md +3 -0
  767. package/src/theme/globals/constants/borderRadius.ts +44 -0
  768. package/src/theme/globals/constants/borderWidth.ts +18 -0
  769. package/src/theme/globals/constants/colors.ts +296 -0
  770. package/src/theme/globals/constants/fontFamily.ts +13 -0
  771. package/src/theme/globals/constants/fontSize.ts +45 -0
  772. package/src/theme/globals/constants/fontWeight.ts +19 -0
  773. package/src/theme/globals/constants/letterSpacing.ts +20 -0
  774. package/src/theme/globals/constants/lineHeight.ts +49 -0
  775. package/src/theme/globals/constants/opacity.ts +30 -0
  776. package/src/theme/globals/constants/sizing.ts +96 -0
  777. package/src/theme/globals/constants/spacing.ts +56 -0
  778. package/src/theme/globals/constants/textCase.ts +12 -0
  779. package/src/theme/globals/constants/textDecoration.ts +13 -0
  780. package/src/theme/globals/elevation.ts +15 -0
  781. package/src/theme/globals/index.ts +23 -0
  782. package/src/theme/globals/oldColors.ts +6 -0
  783. package/src/theme/globals/opacity.ts +14 -0
  784. package/src/theme/globals/sizing.ts +14 -0
  785. package/src/theme/globals/spacing.ts +14 -0
  786. package/src/theme/globals/typography.ts +111 -0
  787. package/src/theme/index.ts +46 -0
  788. package/src/theme/overrides.ts +5 -0
  789. package/src/theme/palette.config.ts +135 -0
  790. package/src/theme/palette.ts +191 -0
  791. package/src/theme/states/disabled.ts +27 -0
  792. package/src/theme/states/focus.ts +36 -0
  793. package/src/theme/states/hover.ts +32 -0
  794. package/src/theme/states/index.ts +6 -0
  795. package/src/theme/states/pressed.ts +32 -0
  796. package/src/theme/states/statesConfig.ts +102 -0
  797. package/src/theme/states/tests/states.test.ts +124 -0
  798. package/src/theme/states/utils.ts +27 -0
  799. package/src/theme/tests/const.js +21 -0
  800. package/src/theme/tests/utils.test.ts +50 -0
  801. package/src/theme/tokens/components/variables/avatar.ts +104 -0
  802. package/src/theme/tokens/components/variables/button.ts +28 -0
  803. package/src/theme/tokens/components/variables/controls.ts +20 -0
  804. package/src/theme/tokens/components/variables/datePicker.ts +19 -0
  805. package/src/theme/tokens/components/variables/field.ts +94 -0
  806. package/src/theme/tokens/components/variables/filter.ts +9 -0
  807. package/src/theme/tokens/components/variables/link.ts +59 -0
  808. package/src/theme/tokens/components/variables/listItem.ts +14 -0
  809. package/src/theme/tokens/components/variables/progressIndicator.ts +16 -0
  810. package/src/theme/tokens/components/variables/search.ts +11 -0
  811. package/src/theme/tokens/components/variables/tag.ts +18 -0
  812. package/src/theme/tokens/index.ts +7 -0
  813. package/src/theme/tokens/semantic/boxShadow.ts +14 -0
  814. package/src/theme/tokens/semantic/colors.ts +15 -0
  815. package/src/theme/tokens/semantic/disabledState.ts +13 -0
  816. package/src/theme/tokens/semantic/index.ts +15 -0
  817. package/src/theme/tokens/semantic/state.ts +13 -0
  818. package/src/theme/tokens/semantic/tests/constants.ts +23 -0
  819. package/src/theme/tokens/semantic/tests/utils.test.ts +27 -0
  820. package/src/theme/tokens/semantic/typography.ts +28 -0
  821. package/src/theme/tokens/semantic/variables/README.md +3 -0
  822. package/src/theme/tokens/semantic/variables/boxShadow.ts +72 -0
  823. package/src/theme/tokens/semantic/variables/colors.ts +309 -0
  824. package/src/theme/tokens/semantic/variables/disabledState.ts +8 -0
  825. package/src/theme/tokens/semantic/variables/state.ts +25 -0
  826. package/src/theme/tokens/semantic/variables/typography.ts +382 -0
  827. package/src/theme/tokens/utils/components.ts +32 -0
  828. package/src/theme/tokens/utils/index.ts +4 -0
  829. package/src/theme/tokens/utils/parsers.ts +122 -0
  830. package/src/theme/tokens/utils/semantic.ts +23 -0
  831. package/src/theme/tokens/utils/types.ts +55 -0
  832. package/src/theme/types.ts +87 -0
  833. package/src/theme/utils.ts +161 -0
  834. package/src/tokens/borderRadius.ts +12 -0
  835. package/src/tokens/borderWidth.ts +5 -0
  836. package/src/tokens/color.ts +82 -0
  837. package/src/tokens/fontFamily.ts +4 -0
  838. package/src/tokens/fontSize.ts +12 -0
  839. package/src/tokens/fontWeight.ts +5 -0
  840. package/src/tokens/letterSpacing.ts +6 -0
  841. package/src/tokens/lineHeight.ts +13 -0
  842. package/src/tokens/sizing.ts +27 -0
  843. package/src/tokens/spacing.ts +17 -0
  844. package/src/types.d.ts +21 -0
  845. package/src/utils/common.ts +142 -0
  846. package/src/utils/date.ts +20 -0
  847. package/src/utils/errors.ts +13 -0
  848. package/src/utils/helpers.ts +51 -0
  849. package/src/utils/storyshots.ts +37 -0
  850. package/src/utils/tests/helpers.test.ts +21 -0
  851. package/src/utils/tests/themeFunctions.test.ts +63 -0
  852. package/src/utils/themeFunctions.ts +106 -0
  853. package/src/utils/types.ts +12 -0
  854. package/src/vanilla/Box/Box.tsx +44 -0
  855. package/src/vanilla/Box/index.ts +1 -0
  856. package/src/vanilla/ThemeProvider/ThemeProvider.tsx +89 -0
  857. package/src/vanilla/ThemeProvider/index.ts +1 -0
  858. package/src/vanilla/index.ts +2 -0
  859. package/src/vite-env.d.ts +5 -0
  860. package/tsconfig.codemods.json +4 -0
  861. package/tsconfig.json +36 -0
  862. package/tsconfig.node.json +15 -0
  863. package/vite.codemods.config.ts +40 -0
  864. package/vite.config.ts +100 -0
  865. package/vite.vars.config.ts +22 -0
  866. package/README.md +0 -95
  867. package/dist/codemods/assets/header.png +0 -0
  868. package/dist/codemods/assets/header.svg +0 -417
  869. package/dist/src/components/Avatar/Avatar.stories.d.ts +0 -60
  870. package/dist/src/components/Avatar/AvatarStack.stories.d.ts +0 -19
  871. package/dist/src/components/Box/Box.stories.d.ts +0 -26
  872. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts +0 -31
  873. package/dist/src/components/Broadcast/Broadcast.stories.d.ts +0 -15
  874. package/dist/src/components/Button/Button.stories.d.ts +0 -101
  875. package/dist/src/components/Card/Card.stories.d.ts +0 -23
  876. package/dist/src/components/Chart/Chart.stories.d.ts +0 -55
  877. package/dist/src/components/Controls/CheckBox/CheckBox.stories.d.ts +0 -98
  878. package/dist/src/components/Controls/Radio/Radio.stories.d.ts +0 -88
  879. package/dist/src/components/Controls/Switch/Switch.stories.d.ts +0 -89
  880. package/dist/src/components/DatePicker/DatePicker.stories.d.ts +0 -137
  881. package/dist/src/components/DatePicker/play-utils.d.ts +0 -3
  882. package/dist/src/components/Drawer/Drawer.stories.d.ts +0 -96
  883. package/dist/src/components/Drawer/components/DrawerContent/DrawerContent.stories.d.ts +0 -18
  884. package/dist/src/components/Drawer/components/DrawerFooter/DrawerFooter.stories.d.ts +0 -18
  885. package/dist/src/components/Drawer/components/DrawerHeader/DrawerHeader.stories.d.ts +0 -18
  886. package/dist/src/components/DropdownButton/DropdownButton.stories.d.ts +0 -32
  887. package/dist/src/components/ExpandCollapse/ExpandCollapse.stories.d.ts +0 -14
  888. package/dist/src/components/Filter/Filter.stories.d.ts +0 -119
  889. package/dist/src/components/Icon/Icon.stories.d.ts +0 -52
  890. package/dist/src/components/IconButton/IconButton.stories.d.ts +0 -40
  891. package/dist/src/components/InlineAlert/InlineAlert.stories.d.ts +0 -15
  892. package/dist/src/components/Link/Link.stories.d.ts +0 -81
  893. package/dist/src/components/List/stories/List.stories.d.ts +0 -35
  894. package/dist/src/components/List/stories/ListItem.stories.d.ts +0 -23
  895. package/dist/src/components/List/stories/ListItemAction.stories.d.ts +0 -18
  896. package/dist/src/components/List/stories/ListItemText.stories.d.ts +0 -23
  897. package/dist/src/components/List/stories/ListSection.stories.d.ts +0 -23
  898. package/dist/src/components/Menu/Menu.stories.d.ts +0 -59
  899. package/dist/src/components/Modal/Modal.stories.d.ts +0 -63
  900. package/dist/src/components/Navigation/Navigation.stories.d.ts +0 -23
  901. package/dist/src/components/Notification/Notification.stories.d.ts +0 -101
  902. package/dist/src/components/NumberField/NumberField.stories.d.ts +0 -112
  903. package/dist/src/components/Pagination/Pagination.stories.d.ts +0 -33
  904. package/dist/src/components/ProgressIndicator/ProgressIndicator.stories.d.ts +0 -89
  905. package/dist/src/components/Search/Search.stories.d.ts +0 -60
  906. package/dist/src/components/Select/Select.stories.d.ts +0 -128
  907. package/dist/src/components/Slider/Slider.stories.d.ts +0 -41
  908. package/dist/src/components/TabStepper/TabStepper.stories.d.ts +0 -21
  909. package/dist/src/components/TabStepper/components/TabStep/TabStep.stories.d.ts +0 -17
  910. package/dist/src/components/TabStepper/components/TabStepList/TabStepList.stories.d.ts +0 -16
  911. package/dist/src/components/Table/components/TBody/TBody.stories.d.ts +0 -16
  912. package/dist/src/components/Table/components/TD/TD.stories.d.ts +0 -22
  913. package/dist/src/components/Table/components/TH/TH.stories.d.ts +0 -25
  914. package/dist/src/components/Table/components/THead/THead.stories.d.ts +0 -13
  915. package/dist/src/components/Table/components/TR/TR.stories.d.ts +0 -13
  916. package/dist/src/components/Table/components/TTitle/TTitle.stories.d.ts +0 -16
  917. package/dist/src/components/Table/docs/Basics/Basics.stories.d.ts +0 -14
  918. package/dist/src/components/Table/docs/Columns/Columns.stories.d.ts +0 -62
  919. package/dist/src/components/Table/docs/Header/Header.stories.d.ts +0 -22
  920. package/dist/src/components/Table/docs/Pagination/Pagination.stories.d.ts +0 -29
  921. package/dist/src/components/Table/docs/RowsAndCells/RowsAndCells.stories.d.ts +0 -73
  922. package/dist/src/components/Table/docs/Showcase/Showcase.stories.d.ts +0 -92
  923. package/dist/src/components/Table/hooks/useTable.stories.d.ts +0 -13
  924. package/dist/src/components/TableV4/TableV4.stories.d.ts +0 -47
  925. package/dist/src/components/Tabs/Tabs.stories.d.ts +0 -71
  926. package/dist/src/components/Tabs/components/Tab/Tab.stories.d.ts +0 -13
  927. package/dist/src/components/Tabs/components/TabList/TabList.stories.d.ts +0 -16
  928. package/dist/src/components/Tabs/components/TabPanel/TabPanel.stories.d.ts +0 -13
  929. package/dist/src/components/Tabs/components/TabsContainer/TabsContainer.stories.d.ts +0 -19
  930. package/dist/src/components/Tag/Tag.stories.d.ts +0 -83
  931. package/dist/src/components/TextArea/TextArea.stories.d.ts +0 -76
  932. package/dist/src/components/TextField/TextField.stories.d.ts +0 -98
  933. package/dist/src/components/ThemeProvider/ThemeProvider.stories.d.ts +0 -14
  934. package/dist/src/components/Toast/Toast.stories.d.ts +0 -27
  935. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +0 -75
  936. package/dist/src/components/TopAppBar/TopAppBar.stories.d.ts +0 -52
  937. package/dist/src/components/TruncatedContent/TruncatedContent.stories.d.ts +0 -18
  938. package/dist/src/components/Typography/Typography.stories.d.ts +0 -39
  939. package/dist/src/components/storyUtils/BarChartShowCase/BarChartShowCase.d.ts +0 -5
  940. package/dist/src/components/storyUtils/BarChartShowCase/index.d.ts +0 -1
  941. package/dist/src/components/storyUtils/BreadcrumbShowcase/BreadcrumbShowcase.d.ts +0 -7
  942. package/dist/src/components/storyUtils/BreadcrumbShowcase/index.d.ts +0 -1
  943. package/dist/src/components/storyUtils/Breakpoints/Breakpoints.d.ts +0 -2
  944. package/dist/src/components/storyUtils/Breakpoints/index.d.ts +0 -1
  945. package/dist/src/components/storyUtils/ButtonShowcases/ButtonShowcase.d.ts +0 -7
  946. package/dist/src/components/storyUtils/ButtonShowcases/LoadingButtonShowcase.d.ts +0 -3
  947. package/dist/src/components/storyUtils/ButtonShowcases/index.d.ts +0 -2
  948. package/dist/src/components/storyUtils/CardShowcase/CardShowcase.d.ts +0 -10
  949. package/dist/src/components/storyUtils/CardShowcase/CardShowcase.style.d.ts +0 -3
  950. package/dist/src/components/storyUtils/CardShowcase/index.d.ts +0 -1
  951. package/dist/src/components/storyUtils/ColorUtility/ColorBox.d.ts +0 -9
  952. package/dist/src/components/storyUtils/ColorUtility/ColorUtility.d.ts +0 -4
  953. package/dist/src/components/storyUtils/ColorUtility/ColorUtility.style.d.ts +0 -4
  954. package/dist/src/components/storyUtils/ColorUtility/RangeInput.d.ts +0 -7
  955. package/dist/src/components/storyUtils/ColorUtility/useColors.d.ts +0 -16
  956. package/dist/src/components/storyUtils/ColorUtility/utils.d.ts +0 -2
  957. package/dist/src/components/storyUtils/DonutChartShowCase/DonutChartShowCase.d.ts +0 -7
  958. package/dist/src/components/storyUtils/DonutChartShowCase/index.d.ts +0 -1
  959. package/dist/src/components/storyUtils/EdgeCasesSelectShowcase/EdgeCasesSelectShowcase.d.ts +0 -3
  960. package/dist/src/components/storyUtils/EdgeCasesSelectShowcase/EdgeCasesSelectShowcase.style.d.ts +0 -2
  961. package/dist/src/components/storyUtils/EdgeCasesSelectShowcase/index.d.ts +0 -1
  962. package/dist/src/components/storyUtils/IconographyShowcase/IconographyShowcase.d.ts +0 -3
  963. package/dist/src/components/storyUtils/IconographyShowcase/index.d.ts +0 -1
  964. package/dist/src/components/storyUtils/LabelConfigStoryComponents.d.ts +0 -4
  965. package/dist/src/components/storyUtils/ModalShowcase/ModalShowcase.d.ts +0 -7
  966. package/dist/src/components/storyUtils/ModalShowcase/index.d.ts +0 -1
  967. package/dist/src/components/storyUtils/NavigationShowcase/MenuItems.d.ts +0 -2
  968. package/dist/src/components/storyUtils/NavigationShowcase/NavigationShowcase.d.ts +0 -6
  969. package/dist/src/components/storyUtils/NavigationShowcase/index.d.ts +0 -1
  970. package/dist/src/components/storyUtils/NotificationShowcase/NotificationShowcase.d.ts +0 -11
  971. package/dist/src/components/storyUtils/NotificationShowcase/index.d.ts +0 -2
  972. package/dist/src/components/storyUtils/PaletteShowcase/PaletteShowcase.d.ts +0 -2
  973. package/dist/src/components/storyUtils/PaletteShowcase/PaletteShowcase.style.d.ts +0 -17
  974. package/dist/src/components/storyUtils/PaletteShowcase/PaletteShowcase.test.d.ts +0 -1
  975. package/dist/src/components/storyUtils/PaletteShowcase/index.d.ts +0 -1
  976. package/dist/src/components/storyUtils/PresentComponent/PresentComponent.d.ts +0 -8
  977. package/dist/src/components/storyUtils/PresentComponent/index.d.ts +0 -1
  978. package/dist/src/components/storyUtils/SelectShowcase/MultiSelectShowcase.d.ts +0 -8
  979. package/dist/src/components/storyUtils/SelectShowcase/MultiSelectShowcase.style.d.ts +0 -4
  980. package/dist/src/components/storyUtils/SelectShowcase/SelectShowcase.d.ts +0 -10
  981. package/dist/src/components/storyUtils/SelectShowcase/index.d.ts +0 -2
  982. package/dist/src/components/storyUtils/SliderShowcase/SliderShowcase.d.ts +0 -11
  983. package/dist/src/components/storyUtils/SliderShowcase/index.d.ts +0 -1
  984. package/dist/src/components/storyUtils/Stack/Stack.d.ts +0 -9
  985. package/dist/src/components/storyUtils/Stack/index.d.ts +0 -1
  986. package/dist/src/components/storyUtils/TableFilterShowcase/TableFilterShowcase.d.ts +0 -3
  987. package/dist/src/components/storyUtils/TableFilterShowcase/index.d.ts +0 -1
  988. package/dist/src/components/storyUtils/TextFieldShowcases/MultiTextFieldShowcase.d.ts +0 -6
  989. package/dist/src/components/storyUtils/TextFieldShowcases/TextFieldShowCase.d.ts +0 -7
  990. package/dist/src/components/storyUtils/TextFieldShowcases/index.d.ts +0 -2
  991. package/dist/src/components/storyUtils/ThemeWrapper/ThemeWrapper.d.ts +0 -3
  992. package/dist/src/components/storyUtils/ThemeWrapper/index.d.ts +0 -1
  993. package/dist/src/components/storyUtils/TooltipShowcase/TooltipShowcase.d.ts +0 -5
  994. package/dist/src/components/storyUtils/TooltipShowcase/components/TooltipContent/TooltipContent.d.ts +0 -6
  995. package/dist/src/components/storyUtils/TooltipShowcase/components/TooltipContent/TooltipContent.style.d.ts +0 -4
  996. package/dist/src/components/storyUtils/TooltipShowcase/components/TooltipContent/index.d.ts +0 -1
  997. package/dist/src/components/storyUtils/TooltipShowcase/index.d.ts +0 -1
  998. package/dist/src/components/storyUtils/TopAppBarShowcase.d.ts +0 -19
  999. package/dist/src/components/storyUtils/componentsForTypes.d.ts +0 -11
  1000. package/dist/src/hooks/useSearchQueryParams.stories.d.ts +0 -23
  1001. package/dist/src/storybook/Alert/Alert.d.ts +0 -12
  1002. package/dist/src/storybook/Alert/index.d.ts +0 -1
  1003. package/dist/src/storybook/Link/Link.d.ts +0 -7
  1004. package/dist/src/storybook/Link/Link.style.d.ts +0 -3
  1005. package/dist/src/storybook/Link/index.d.ts +0 -2
  1006. package/dist/src/storybook/Note/Note.d.ts +0 -3
  1007. package/dist/src/storybook/Note/Note.style.d.ts +0 -3
  1008. package/dist/src/storybook/Note/index.d.ts +0 -1
  1009. package/dist/src/storybook/Overview/Overview.d.ts +0 -5
  1010. package/dist/src/storybook/Overview/Overview.style.d.ts +0 -2
  1011. package/dist/src/storybook/Overview/index.d.ts +0 -1
  1012. package/dist/src/storybook/Preview/Preview.d.ts +0 -6
  1013. package/dist/src/storybook/Preview/Preview.style.d.ts +0 -2
  1014. package/dist/src/storybook/Preview/index.d.ts +0 -2
  1015. package/dist/src/storybook/SectionHeader/SectionHeader.d.ts +0 -11
  1016. package/dist/src/storybook/SectionHeader/SectionHeader.style.d.ts +0 -5
  1017. package/dist/src/storybook/SectionHeader/index.d.ts +0 -2
  1018. package/dist/src/storybook/Showcases/BorderWidthShowcase/BorderWidthShowcase.d.ts +0 -2
  1019. package/dist/src/storybook/Showcases/BorderWidthShowcase/index.d.ts +0 -1
  1020. package/dist/src/storybook/Showcases/BoxShadowShowcase/BoxShadowShowcase.d.ts +0 -2
  1021. package/dist/src/storybook/Showcases/BoxShadowShowcase/index.d.ts +0 -1
  1022. package/dist/src/storybook/Showcases/LayoutShowcase/LayoutShowcase.d.ts +0 -12
  1023. package/dist/src/storybook/Showcases/LayoutShowcase/LayoutShowcase.style.d.ts +0 -12
  1024. package/dist/src/storybook/Showcases/LayoutShowcase/index.d.ts +0 -1
  1025. package/dist/src/storybook/Showcases/MinHeightShowcase/MinHeightShowcase.d.ts +0 -2
  1026. package/dist/src/storybook/Showcases/MinHeightShowcase/index.d.ts +0 -1
  1027. package/dist/src/storybook/Showcases/OpacityShowcase/OpacityShowcase.d.ts +0 -2
  1028. package/dist/src/storybook/Showcases/OpacityShowcase/index.d.ts +0 -1
  1029. package/dist/src/storybook/Showcases/OverviewShowcase/OverviewShowcase.d.ts +0 -9
  1030. package/dist/src/storybook/Showcases/OverviewShowcase/OverviewShowcase.style.d.ts +0 -2
  1031. package/dist/src/storybook/Showcases/OverviewShowcase/index.d.ts +0 -1
  1032. package/dist/src/storybook/Showcases/RadiusShowcase/RadiusShowcase.d.ts +0 -5
  1033. package/dist/src/storybook/Showcases/RadiusShowcase/index.d.ts +0 -1
  1034. package/dist/src/storybook/Showcases/SizingShowcase/SizingShowcase.d.ts +0 -5
  1035. package/dist/src/storybook/Showcases/SizingShowcase/index.d.ts +0 -1
  1036. package/dist/src/storybook/Showcases/SpacingSizingShowcase/SpacingSizingShowcase.d.ts +0 -5
  1037. package/dist/src/storybook/Showcases/SpacingSizingShowcase/SpacingSizingShowcase.style.d.ts +0 -0
  1038. package/dist/src/storybook/Showcases/SpacingSizingShowcase/index.d.ts +0 -1
  1039. package/dist/src/storybook/Showcases/StateShowcase/StateShowcase.d.ts +0 -2
  1040. package/dist/src/storybook/Showcases/StateShowcase/index.d.ts +0 -1
  1041. package/dist/src/storybook/Showcases/TagShowcase/TagShowcase.d.ts +0 -8
  1042. package/dist/src/storybook/Showcases/TagShowcase/index.d.ts +0 -1
  1043. package/dist/src/storybook/Showcases/TextColorShowcase/TextColorShowcase.d.ts +0 -2
  1044. package/dist/src/storybook/Showcases/TextColorShowcase/TextColorShowcase.style.d.ts +0 -4
  1045. package/dist/src/storybook/Showcases/TextColorShowcase/index.d.ts +0 -1
  1046. package/dist/src/storybook/Showcases/TokenColorsShowcase/TokenColorsShowcase.d.ts +0 -9
  1047. package/dist/src/storybook/Showcases/TokenColorsShowcase/TokenColorsShowcase.style.d.ts +0 -6
  1048. package/dist/src/storybook/Showcases/TokenColorsShowcase/index.d.ts +0 -2
  1049. package/dist/src/storybook/Showcases/TokenColorsShowcase/utils.d.ts +0 -17
  1050. package/dist/src/storybook/Showcases/TypographyTokensShowcase/TypographyTokensShowcase.d.ts +0 -2
  1051. package/dist/src/storybook/Showcases/TypographyTokensShowcase/TypographyTokensShowcase.style.d.ts +0 -3
  1052. package/dist/src/storybook/Showcases/TypographyTokensShowcase/index.d.ts +0 -1
  1053. package/dist/src/storybook/SubsectionHeader/SubsectionHeader.d.ts +0 -8
  1054. package/dist/src/storybook/SubsectionHeader/SubsectionHeader.style.d.ts +0 -2
  1055. package/dist/src/storybook/SubsectionHeader/index.d.ts +0 -1
  1056. package/dist/src/storybook/Tip/Tip.d.ts +0 -6
  1057. package/dist/src/storybook/Tip/Tip.style.d.ts +0 -4
  1058. package/dist/src/storybook/Tip/index.d.ts +0 -2
  1059. package/dist/src/storybook/Typography/Typography.d.ts +0 -8
  1060. package/dist/src/storybook/Typography/Typography.style.d.ts +0 -3
  1061. package/dist/src/storybook/Typography/constants.d.ts +0 -4
  1062. package/dist/src/storybook/Typography/index.d.ts +0 -2
  1063. package/dist/src/storybook/UsageGuidelines/UsageGuidelines.d.ts +0 -6
  1064. package/dist/src/storybook/UsageGuidelines/UsageGuidelines.style.d.ts +0 -3
  1065. package/dist/src/storybook/UsageGuidelines/index.d.ts +0 -1
  1066. package/dist/src/storybook/index.d.ts +0 -8
  1067. package/dist/src/storybook/styles/OverviewCard.style.d.ts +0 -3
  1068. package/dist/src/storybook.test.d.ts +0 -1
  1069. package/dist/src/vanilla/Box/Box.stories.d.ts +0 -6
  1070. package/dist/src/vanilla/ThemeProvider/ThemeProvider.stories.d.ts +0 -6
  1071. /package/dist/{ictinus.css → styles.css} +0 -0
  1072. /package/{dist/src/components/storyUtils/ColorUtility/index.d.ts → src/components/DatePicker/OverlayComponent/components/MonthWrapper/index.ts} +0 -0
package/.eslintrc.json ADDED
@@ -0,0 +1,127 @@
1
+ {
2
+ "extends": [
3
+ "eslint:recommended",
4
+ "prettier",
5
+ "plugin:@typescript-eslint/recommended",
6
+ "plugin:react-hooks/recommended",
7
+ "plugin:react/recommended",
8
+ "plugin:import/typescript"
9
+ ],
10
+ "plugins": ["react", "@emotion", "@typescript-eslint", "import", "unused-imports"],
11
+ "env": {
12
+ "node": true,
13
+ "browser": true,
14
+ "jasmine": true,
15
+ "jest": true,
16
+ "es6": true
17
+ },
18
+ "rules": {
19
+ "no-unused-vars": "off", // or "@typescript-eslint/no-unused-vars": "off",
20
+ "unused-imports/no-unused-imports": "error",
21
+ "unused-imports/no-unused-vars": [
22
+ "warn",
23
+ { "vars": "all", "varsIgnorePattern": "^_", "args": "after-used", "argsIgnorePattern": "^_" }
24
+ ],
25
+ "@typescript-eslint/consistent-type-imports": "error",
26
+ "react/no-unknown-property": ["error", { "ignore": ["css"] }],
27
+ /* React rules */
28
+ "react/no-direct-mutation-state": "error",
29
+ "react/no-unused-prop-types": "warn",
30
+ "react/self-closing-comp": [
31
+ "warn",
32
+ {
33
+ "component": true,
34
+ "html": true
35
+ }
36
+ ],
37
+ "react/prop-types": "off",
38
+ "react/button-has-type": "warn",
39
+
40
+ "@typescript-eslint/no-explicit-any": "off",
41
+ "react/no-array-index-key": "warn",
42
+ "react/no-render-return-value": 0,
43
+ /* JSX rules */
44
+ "react/jsx-key": "error",
45
+ "react/jsx-curly-brace-presence": ["error", "never"],
46
+ // Since we are using React 17+ we no longer need these
47
+ "react/jsx-uses-react": "off",
48
+ "react/react-in-jsx-scope": "off",
49
+ "react/no-children-prop": "off",
50
+
51
+ "react-hooks/rules-of-hooks": "error",
52
+ "react-hooks/exhaustive-deps": "warn",
53
+ /* eslint basic rules */
54
+ "padding-line-between-statements": [
55
+ "error",
56
+ {
57
+ "blankLine": "always",
58
+ "prev": "function",
59
+ "next": "*"
60
+ },
61
+ {
62
+ "blankLine": "always",
63
+ "prev": "*",
64
+ "next": "function"
65
+ },
66
+ {
67
+ "blankLine": "always",
68
+ "prev": "*",
69
+ "next": "return"
70
+ }
71
+ ],
72
+ // Disable this in favour of @typescript-eslint/no-unused-expressions
73
+ // so that function calls with optional chaining do not throw warnings
74
+ // https://github.com/facebook/create-react-app/issues/8107#issuecomment-565365982
75
+ // "no-unused-expressions": "warn",
76
+ "no-debugger": "warn",
77
+ "no-console": "warn",
78
+ /* Typescript rules */
79
+ "@typescript-eslint/naming-convention": [
80
+ "warn",
81
+ {
82
+ "selector": ["variable", "parameter", "property"],
83
+ "types": ["boolean"],
84
+ "format": ["PascalCase"], // As per documentation, prefix is trimmed before checking for format , so we need pascal case for values like `isBoolean` https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/naming-convention.md#format-options
85
+ "prefix": ["is", "has"]
86
+ }
87
+ ],
88
+ "@typescript-eslint/no-unused-expressions": "warn",
89
+ "@typescript-eslint/no-unused-vars": [
90
+ "warn",
91
+ {
92
+ "args": "all",
93
+ "argsIgnorePattern": "^__",
94
+ "varsIgnorePattern": "^__|React"
95
+ }
96
+ ],
97
+ "@typescript-eslint/ban-ts-ignore": 0,
98
+ "@typescript-eslint/no-empty-function": 0,
99
+ "@typescript-eslint/camelcase": 0,
100
+ "@typescript-eslint/prefer-interface": 0,
101
+ "@typescript-eslint/no-inferrable-types": 0,
102
+ "@typescript-eslint/explicit-member-accessibility": 0,
103
+ "@typescript-eslint/explicit-function-return-type": 0,
104
+ "@typescript-eslint/ban-ts-comment": "warn"
105
+ },
106
+ "settings": {
107
+ "react": {
108
+ "pragma": "React",
109
+ "version": "detect"
110
+ },
111
+ "import/resolver": {
112
+ "typescript": {
113
+ "project": "./tsconfig.json"
114
+ }
115
+ }
116
+ },
117
+ "parser": "@typescript-eslint/parser",
118
+ "ignorePatterns": ["rollup.config.js"],
119
+ "parserOptions": {
120
+ "ecmaFeatures": {
121
+ "jsx": true
122
+ },
123
+ "ecmaVersion": 2022,
124
+ "sourceType": "module",
125
+ "project": ["./tsconfig.json", "./tsconfig.node.json"]
126
+ }
127
+ }
@@ -0,0 +1,75 @@
1
+
2
+ > @orfium/ictinus@5.39.4 build /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
3
+ > pnpm build:main && pnpm build:vars && pnpm build:codemods
4
+
5
+
6
+ > @orfium/ictinus@5.39.4 build:main /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
7
+ > vite build
8
+
9
+ production /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
10
+ vite v7.1.3 building for production...
11
+ production /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
12
+ transforming...
13
+ ✓ 1127 modules transformed.
14
+ rendering chunks...
15
+
16
+ [vite:dts] Start generate declaration files...
17
+ computing gzip size...
18
+ dist/styles.css 161.60 kB │ gzip: 18.15 kB
19
+ dist/vanilla/index.js 104.37 kB │ gzip: 15.40 kB
20
+ dist/index.js 887.47 kB │ gzip: 217.68 kB
21
+ [vite:dts] Declaration files built in 12366ms.
22
+
23
+ dist/styles.css 161.60 kB │ gzip: 18.15 kB
24
+ dist/vanilla/index.cjs  90.85 kB │ gzip: 15.03 kB
25
+ dist/index.cjs 701.13 kB │ gzip: 199.71 kB
26
+ ✓ built in 18.19s
27
+
28
+ > @orfium/ictinus@5.39.4 build:vars /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
29
+ > vite build --config vite.vars.config.ts
30
+
31
+ vite v7.1.3 building for production...
32
+ transforming...
33
+ ✓ 3 modules transformed.
34
+ rendering chunks...
35
+ computing gzip size...
36
+ dist/vars/vars.css 14.57 kB │ gzip: 2.11 kB
37
+ dist/vars/vars.js  9.41 kB │ gzip: 1.41 kB
38
+ ✓ built in 399ms
39
+
40
+ > @orfium/ictinus@5.39.4 build:codemods /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
41
+ > vite build --config vite.codemods.config.ts
42
+
43
+ vite v7.1.3 building for production...
44
+ transforming...
45
+ ✓ 23 modules transformed.
46
+ rendering chunks...
47
+
48
+ [vite:dts] Start generate declaration files...
49
+ computing gzip size...
50
+ dist/codemods/iconCodemod.cjs 0.25 kB │ gzip: 0.20 kB
51
+ dist/codemods/notificationsCodemod.cjs 0.26 kB │ gzip: 0.21 kB
52
+ dist/codemods/radioCodemod.cjs 0.28 kB │ gzip: 0.23 kB
53
+ dist/codemods/radioGroupCodemod.cjs 0.28 kB │ gzip: 0.23 kB
54
+ dist/codemods/tableCodemod.cjs 0.40 kB │ gzip: 0.25 kB
55
+ dist/codemods/filterCodemod.cjs 0.42 kB │ gzip: 0.27 kB
56
+ dist/codemods/tooltipCodemod.cjs 0.47 kB │ gzip: 0.29 kB
57
+ dist/codemods/switchCodemod.cjs 0.48 kB │ gzip: 0.31 kB
58
+ dist/codemods/checkboxCodemod.cjs 0.49 kB │ gzip: 0.33 kB
59
+ dist/codemods/searchCodemod.cjs 0.49 kB │ gzip: 0.28 kB
60
+ dist/codemods/menuCodemod.cjs 0.59 kB │ gzip: 0.37 kB
61
+ dist/codemods/avatarCodemod.cjs 0.60 kB │ gzip: 0.33 kB
62
+ dist/codemods/chipCodemode.cjs 0.61 kB │ gzip: 0.33 kB
63
+ dist/codemods/loaderCodemod.cjs 0.68 kB │ gzip: 0.37 kB
64
+ dist/codemods/paginationCodemod.cjs 0.68 kB │ gzip: 0.35 kB
65
+ dist/codemods/textareaCodemod.cjs 0.73 kB │ gzip: 0.43 kB
66
+ dist/codemods/textfieldCodemod.cjs 0.77 kB │ gzip: 0.44 kB
67
+ dist/codemods/iconButtonCodemod.cjs 0.98 kB │ gzip: 0.41 kB
68
+ dist/codemods/buttonCodemod.cjs 0.98 kB │ gzip: 0.41 kB
69
+ dist/codemods/selectCodemod.cjs 1.02 kB │ gzip: 0.57 kB
70
+ dist/codemods/drawerCodemod.cjs 1.07 kB │ gzip: 0.42 kB
71
+ dist/codemods/unchangedIconsCodemod.cjs 1.12 kB │ gzip: 0.56 kB
72
+ dist/codemods/globalsCodemod.cjs 7.12 kB │ gzip: 1.12 kB
73
+ [vite:dts] Declaration files built in 975ms.
74
+
75
+ ✓ built in 1.15s
package/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # @orfium/ictinus
2
+
3
+ ## 5.39.4
4
+
5
+ ### Patch Changes
6
+
7
+ - e8c779e: An empty release to test monorepo
@@ -0,0 +1,53 @@
1
+ import type { Transform } from 'jscodeshift';
2
+
3
+ const transform: Transform = (file, api) => {
4
+ const j = api.jscodeshift;
5
+ const root = j(file.source);
6
+
7
+ // Find all Avatar components
8
+ root.findJSXElements('Avatar').forEach((path) => {
9
+ j(path)
10
+ .find(j.JSXAttribute)
11
+ .forEach((attrPath) => {
12
+ const attr = attrPath.node.name;
13
+
14
+ // If the attribute is size, update it
15
+ if (attr.name === 'size') {
16
+ const sizeValue = attrPath.node.value.value;
17
+ switch (sizeValue) {
18
+ case 'xs':
19
+ attrPath.node.value.value = '1';
20
+ break;
21
+ case 'sm':
22
+ case 'md':
23
+ attrPath.node.value.value = '2';
24
+ break;
25
+ case 'lg':
26
+ attrPath.node.value.value = '4';
27
+ break;
28
+ }
29
+ }
30
+
31
+ // If the attribute is color, update it
32
+ if (attr.name === 'color') {
33
+ const colorValue = attrPath.node.value.value;
34
+ attrPath.node.value.value = colorValue.split('-')[0];
35
+ }
36
+
37
+ // Update color property
38
+ const colorValue = attrPath.node.value.value;
39
+ if (!['blue', 'teal', 'purple', 'red', 'orange'].includes(colorValue)) {
40
+ attrPath.node.value.value = 'blue';
41
+ }
42
+
43
+ // If the attribute is iconName, update it
44
+ if (attr.name === 'iconName') {
45
+ attr.name = 'src';
46
+ }
47
+ });
48
+ });
49
+
50
+ return root.toSource();
51
+ };
52
+
53
+ export default transform;
@@ -0,0 +1,52 @@
1
+ import type { Transform } from 'jscodeshift';
2
+
3
+ const transform: Transform = (file, api) => {
4
+ const j = api.jscodeshift;
5
+ const root = j(file.source);
6
+
7
+ // Find all Button components
8
+ root.findJSXElements('Button').forEach((path) => {
9
+ j(path)
10
+ .find(j.JSXAttribute)
11
+ .forEach((attrPath) => {
12
+ const attr = attrPath.node.name;
13
+
14
+ // If the attribute is one of the deprecated ones, remove it
15
+ if (['color', 'transparent', 'filled'].includes(attr.name)) {
16
+ j(attrPath).remove();
17
+ }
18
+
19
+ // If the attribute is one of the ones that changed, update it
20
+ if (attr.name === 'size') {
21
+ const sizeValue = attrPath.node.value.value;
22
+ if (sizeValue === 'sm' && attrPath.node.value.type === 'StringLiteral') {
23
+ attrPath.node.value.value = 'compact';
24
+ } else if (
25
+ attrPath.node.value.type === 'JSXExpressionContainer' &&
26
+ attrPath.node.value.expression.value === 'sm'
27
+ ) {
28
+ attrPath.node.value.expression.value = 'compact';
29
+ } else if (attrPath.node.value.type === 'StringLiteral') {
30
+ attrPath.node.value.value = 'normal';
31
+ } else if (attrPath.node.value.type === 'JSXExpressionContainer') {
32
+ attrPath.node.value.expression.value = 'normal';
33
+ }
34
+ }
35
+ if (attr.name === 'type') {
36
+ const sizeValue = attrPath.node.value.value;
37
+ if (sizeValue === 'link' && attrPath.node.value.type === 'Literal') {
38
+ attrPath.node.value.value = 'tertiary';
39
+ }
40
+ }
41
+ if (attr.name === 'loading') attr.name = 'isLoading';
42
+ if (attr.name === 'disabled') attr.name = 'isDisabled';
43
+ if (attr.name === 'buttonType') attr.name = 'htmlType';
44
+ if (attr.name === 'iconLeft') attr.name = 'iconLeftName';
45
+ if (attr.name === 'iconRight') attr.name = 'iconRightName';
46
+ });
47
+ });
48
+
49
+ return root.toSource();
50
+ };
51
+
52
+ export default transform;
@@ -0,0 +1,42 @@
1
+ import type { Transform } from 'jscodeshift';
2
+
3
+ const transform: Transform = (file, api) => {
4
+ const j = api.jscodeshift;
5
+ const root = j(file.source);
6
+
7
+ root.findJSXElements('CheckBox').forEach((path) => {
8
+ j(path)
9
+ .find(j.JSXAttribute)
10
+ .forEach((attrPath) => {
11
+ const attr = attrPath.node.name;
12
+
13
+ // Remove 'filled' attribute
14
+ if (attr.name === 'filled') {
15
+ j(attrPath).remove();
16
+ }
17
+
18
+ // Replace 'label' with 'labelConfig'
19
+ if (attr.name === 'label') {
20
+ attr.name = 'labelConfig';
21
+ attrPath.node.value = j.jsxExpressionContainer(
22
+ j.objectExpression([
23
+ j.property(
24
+ 'init',
25
+ j.identifier('helpText'),
26
+ attrPath.node.value.expression || j.stringLiteral('')
27
+ ),
28
+ ])
29
+ );
30
+ }
31
+
32
+ // Rename 'checked' to 'isSelected'
33
+ if (attr.name === 'checked') {
34
+ attr.name = 'isSelected';
35
+ }
36
+ });
37
+ });
38
+
39
+ return root.toSource({ quote: 'single' });
40
+ };
41
+
42
+ export default transform;
@@ -0,0 +1,45 @@
1
+ import type { Transform } from 'jscodeshift';
2
+
3
+ const transform: Transform = (file, api) => {
4
+ const j = api.jscodeshift;
5
+ const root = j(file.source);
6
+
7
+ root
8
+ .find(j.ImportDeclaration)
9
+ .filter((path) => path.node.source.value === '@orfium/ictinus')
10
+ .forEach((path) => {
11
+ path.node.specifiers.forEach((specifier) => {
12
+ if (specifier.imported && specifier.imported.name === 'Chip') {
13
+ specifier.imported.name = 'Tag';
14
+ }
15
+ });
16
+ });
17
+
18
+ root.find(j.JSXElement).forEach((path) => {
19
+ const openingElement = path.node.openingElement;
20
+ const closingElement = path.node.closingElement;
21
+
22
+ if (openingElement.name.name === 'Chip') {
23
+ openingElement.name.name = 'Tag';
24
+
25
+ if (closingElement && closingElement.name) {
26
+ closingElement.name.name = 'Tag';
27
+ }
28
+
29
+ // Rename 'fill' attribute to 'color'
30
+ openingElement.attributes.forEach((attribute) => {
31
+ if (attribute.name && attribute.name.name === 'fill') {
32
+ const colorValue = attribute.value.value;
33
+ if (colorValue === 'neutralWhite') {
34
+ attribute.value.value = 'neutral';
35
+ }
36
+ attribute.name.name = 'color';
37
+ }
38
+ });
39
+ }
40
+ });
41
+
42
+ return root.toSource({ quote: 'single' });
43
+ };
44
+
45
+ export default transform;
@@ -0,0 +1,73 @@
1
+ import type { Transform } from 'jscodeshift';
2
+
3
+ const transform: Transform = (file, api) => {
4
+ const j = api.jscodeshift;
5
+ const root = j(file.source);
6
+
7
+ // Update import declarations from '@orfium/ictinus'
8
+ root
9
+ .find(j.ImportDeclaration)
10
+ .filter((path) => path.node.source.value.includes('@orfium/ictinus'))
11
+ .forEach((path) => {
12
+ path.node.specifiers.forEach((specifier) => {
13
+ if (specifier.imported && specifier.imported.name === 'MenuItem') {
14
+ specifier.imported.name = 'NavigationMenuItem';
15
+ }
16
+ if (specifier.local && specifier.local.name === 'MenuItem') {
17
+ specifier.local.name = 'NavigationMenuItem';
18
+ }
19
+ });
20
+ });
21
+
22
+ // Update function return types and other usages of MenuItem
23
+ root.find(j.Identifier, { name: 'MenuItem' }).forEach((path) => {
24
+ // Ensure the change is only made for identifiers related to '@orfium/ictinus' import
25
+ const parentPath = path.parentPath;
26
+ if (
27
+ parentPath &&
28
+ parentPath.node.type === 'ImportSpecifier' &&
29
+ parentPath.parentPath.node.source.value.includes('@orfium/ictinus')
30
+ ) {
31
+ path.node.name = 'NavigationMenuItem';
32
+ }
33
+ });
34
+
35
+ // Rename Drawer to Navigation in import declarations
36
+ root
37
+ .find(j.ImportDeclaration)
38
+ .filter((path) => path.node.source.value === '@orfium/ictinus')
39
+ .forEach((path) => {
40
+ path.node.specifiers.forEach((specifier) => {
41
+ if (specifier.imported && specifier.imported.name === 'Drawer') {
42
+ specifier.imported.name = 'Navigation';
43
+ }
44
+ });
45
+ });
46
+
47
+ // Update Drawer to Navigation in JSX and rename expanded to isExpanded
48
+ root.find(j.JSXElement).forEach((path) => {
49
+ const openingElement = path.node.openingElement;
50
+ const closingElement = path.node.closingElement;
51
+
52
+ // Check for Drawer in opening element
53
+ if (openingElement.name.name === 'Drawer') {
54
+ openingElement.name.name = 'Navigation';
55
+
56
+ // Update closing element if it exists
57
+ if (closingElement && closingElement.name) {
58
+ closingElement.name.name = 'Navigation';
59
+ }
60
+
61
+ // Rename 'expanded' attribute to 'isExpanded'
62
+ openingElement.attributes.forEach((attribute) => {
63
+ if (attribute.name && attribute.name.name === 'expanded') {
64
+ attribute.name.name = 'isExpanded';
65
+ }
66
+ });
67
+ }
68
+ });
69
+
70
+ return root.toSource({ quote: 'single' });
71
+ };
72
+
73
+ export default transform;
@@ -0,0 +1,29 @@
1
+ import type { Transform } from 'jscodeshift';
2
+
3
+ const transform: Transform = (file, api) => {
4
+ const j = api.jscodeshift;
5
+ const root = j(file.source);
6
+
7
+ // Find all Button components
8
+ root.findJSXElements('Filter').forEach((path) => {
9
+ j(path)
10
+ .find(j.JSXAttribute)
11
+ .forEach((attrPath) => {
12
+ const attr = attrPath.node.name;
13
+
14
+ if (['styleType'].includes(attr.name)) {
15
+ j(attrPath).remove();
16
+ }
17
+
18
+ // If the attribute is one of the ones that changed, update it
19
+ if (attr.name === 'multi') attr.name = 'isMulti';
20
+ if (attr.name === 'disabled') attr.name = 'isDisabled';
21
+ if (attr.name === 'selectedItem') attr.name = 'selectedFilter';
22
+ if (attr.name === 'onSelect') attr.name = 'onChange';
23
+ });
24
+ });
25
+
26
+ return root.toSource();
27
+ };
28
+
29
+ export default transform;
@@ -0,0 +1,145 @@
1
+ const transform = (file, api) => {
2
+ const j = api.jscodeshift;
3
+ const root = j(file.source);
4
+ const spacingReplaceMap = {
5
+ 'theme.spacing.xsm': "theme.globals.spacing.get('3')",
6
+ 'theme.spacing.sm': "theme.globals.spacing.get('4')",
7
+ 'theme.spacing.md': "theme.globals.spacing.get('6')",
8
+ 'theme.spacing.lg': "theme.globals.spacing.get('8')",
9
+ 'theme.spacing.xl': "theme.globals.spacing.get('9')",
10
+ 'props.theme.spacing.xsm': "props.theme.globals.spacing.get('3')",
11
+ 'props.theme.spacing.sm': "props.theme.globals.spacing.get('4')",
12
+ 'props.theme.spacing.md': "props.theme.globals.spacing.get('6')",
13
+ 'props.theme.spacing.lg': "props.theme.globals.spacing.get('8')",
14
+ 'props.theme.spacing.xl': "props.theme.globals.spacing.get('9')",
15
+ 'theme.typography.weights.regular': "theme.globals.typography.fontWeight.get('regular')",
16
+ 'theme.typography.weights.medium': "theme.globals.typography.fontWeight.get('medium')",
17
+ 'theme.typography.weights.bold': "theme.globals.typography.fontWeight.get('bold')",
18
+ 'props.theme.typography.weights.regular':
19
+ "props.theme.globals.typography.fontWeight.get('regular')",
20
+ 'props.theme.typography.weights.medium':
21
+ "props.theme.globals.typography.fontWeight.get('medium')",
22
+ 'props.theme.typography.weights.bold': "props.theme.globals.typography.fontWeight.get('bold')",
23
+ "theme.typography.fontSizes['10']": "theme.globals.typography.fontSize.get('1')",
24
+ "theme.typography.fontSizes['11']": "theme.globals.typography.fontSize.get('1')",
25
+ "theme.typography.fontSizes['12']": "theme.globals.typography.fontSize.get('2')",
26
+ "theme.typography.fontSizes['13']": "theme.globals.typography.fontSize.get('3')",
27
+ "theme.typography.fontSizes['14']": "theme.globals.typography.fontSize.get('3')",
28
+ "theme.typography.fontSizes['15']": "theme.globals.typography.fontSize.get('4')",
29
+ "theme.typography.fontSizes['16']": "theme.globals.typography.fontSize.get('4')",
30
+ "theme.typography.fontSizes['20']": "theme.globals.typography.fontSize.get('7')",
31
+ "theme.typography.fontSizes['22']": "theme.globals.typography.fontSize.get('7')",
32
+ "theme.typography.fontSizes['24']": "theme.globals.typography.fontSize.get('8')",
33
+ "theme.typography.fontSizes['28']": "theme.globals.typography.fontSize.get('9')",
34
+ "theme.typography.fontSizes['32']": "theme.globals.typography.fontSize.get('10')",
35
+ 'theme.typography.fontSizes[10]': "theme.globals.typography.fontSize.get('1')",
36
+ 'theme.typography.fontSizes[11]': "theme.globals.typography.fontSize.get('1')",
37
+ 'theme.typography.fontSizes[12]': "theme.globals.typography.fontSize.get('2')",
38
+ 'theme.typography.fontSizes[13]': "theme.globals.typography.fontSize.get('3')",
39
+ 'theme.typography.fontSizes[14]': "theme.globals.typography.fontSize.get('3')",
40
+ 'theme.typography.fontSizes[15]': "theme.globals.typography.fontSize.get('4')",
41
+ 'theme.typography.fontSizes[16]': "theme.globals.typography.fontSize.get('4')",
42
+ 'theme.typography.fontSizes[20]': "theme.globals.typography.fontSize.get('7')",
43
+ 'theme.typography.fontSizes[22]': "theme.globals.typography.fontSize.get('7')",
44
+ 'theme.typography.fontSizes[24]': "theme.globals.typography.fontSize.get('8')",
45
+ 'theme.typography.fontSizes[28]': "theme.globals.typography.fontSize.get('9')",
46
+ 'theme.typography.fontSizes[32]': "theme.globals.typography.fontSize.get('10')",
47
+
48
+ "props.theme.typography.fontSizes['10']": "props.theme.globals.typography.fontSize.get('1')",
49
+ "props.theme.typography.fontSizes['11']": "props.theme.globals.typography.fontSize.get('1')",
50
+ "props.theme.typography.fontSizes['12']": "props.theme.globals.typography.fontSize.get('2')",
51
+ "props.theme.typography.fontSizes['13']": "props.theme.globals.typography.fontSize.get('3')",
52
+ "props.theme.typography.fontSizes['14']": "props.theme.globals.typography.fontSize.get('3')",
53
+ "props.theme.typography.fontSizes['15']": "props.theme.globals.typography.fontSize.get('4')",
54
+ "props.theme.typography.fontSizes['16']": "props.theme.globals.typography.fontSize.get('4')",
55
+ "props.theme.typography.fontSizes['20']": "props.theme.globals.typography.fontSize.get('7')",
56
+ "props.theme.typography.fontSizes['22']": "props.theme.globals.typography.fontSize.get('7')",
57
+ "props.theme.typography.fontSizes['24']": "props.theme.globals.typography.fontSize.get('8')",
58
+ "props.theme.typography.fontSizes['28']": "props.theme.globals.typography.fontSize.get('9')",
59
+ "props.theme.typography.fontSizes['32']": "props.theme.globals.typography.fontSize.get('10')",
60
+ 'props.theme.typography.fontSizes[10]': "props.theme.globals.typography.fontSize.get('1')",
61
+ 'props.theme.typography.fontSizes[11]': "props.theme.globals.typography.fontSize.get('1')",
62
+ 'props.theme.typography.fontSizes[12]': "props.theme.globals.typography.fontSize.get('2')",
63
+ 'props.theme.typography.fontSizes[13]': "props.theme.globals.typography.fontSize.get('3')",
64
+ 'props.theme.typography.fontSizes[14]': "props.theme.globals.typography.fontSize.get('3')",
65
+ 'props.theme.typography.fontSizes[15]': "props.theme.globals.typography.fontSize.get('4')",
66
+ 'props.theme.typography.fontSizes[16]': "props.theme.globals.typography.fontSize.get('4')",
67
+ 'props.theme.typography.fontSizes[20]': "props.theme.globals.typography.fontSize.get('7')",
68
+ 'props.theme.typography.fontSizes[22]': "props.theme.globals.typography.fontSize.get('7')",
69
+ 'props.theme.typography.fontSizes[24]': "props.theme.globals.typography.fontSize.get('8')",
70
+ 'props.theme.typography.fontSizes[28]': "props.theme.globals.typography.fontSize.get('9')",
71
+ 'props.theme.typography.fontSizes[32]': "props.theme.globals.typography.fontSize.get('10')",
72
+
73
+ "theme.elevation['01']": "theme.globals.elevation['01']",
74
+ "theme.elevation['02']": "theme.globals.elevation['02']",
75
+ "theme.elevation['03']": "theme.globals.elevation['03']",
76
+ "props.theme.elevation['01']": "props.theme.globals.elevation['01']",
77
+ "props.theme.elevation['02']": "props.theme.globals.elevation['02']",
78
+ "props.theme.elevation['03']": "props.theme.globals.elevation['03']",
79
+
80
+ 'theme.palette.white': 'theme.globals.oldColors.white',
81
+ 'theme.palette.black': 'theme.globals.oldColors.black',
82
+ "theme.palette['white']": "theme.globals.oldColors['white']",
83
+ "theme.palette['black']": "theme.globals.oldColors['black']",
84
+ 'theme.palette.primary[400]': 'theme.globals.oldColors.primary[400]',
85
+ 'props.theme.palette.white': 'props.theme.globals.oldColors.white',
86
+ 'props.theme.palette.black': 'props.theme.globals.oldColors.black',
87
+ "props.theme.palette['white']": "props.theme.globals.oldColors['white']",
88
+ "props.theme.palette['black']": "props.theme.globals.oldColors['black']",
89
+ 'props.theme.palette.primary[400]': 'props.theme.globals.oldColors.primary[400]',
90
+ };
91
+
92
+ // Function to create a replacement expression from a string
93
+ const createReplacementExpression = (replacement) => {
94
+ const parts = replacement.split('.');
95
+ let expression = j.identifier(parts[0]);
96
+
97
+ for (let i = 1; i < parts.length; i++) {
98
+ const part = parts[i];
99
+ if (part.includes('(')) {
100
+ // Handle method calls like get('9')
101
+ const methodName = part.substring(0, part.indexOf('('));
102
+ const methodArgsStr = part.substring(part.indexOf('(') + 1, part.lastIndexOf(')'));
103
+ const args = methodArgsStr.split(',').map((arg) => {
104
+ // Remove the surrounding quotes
105
+ const trimmedArg = arg.trim().replace(/^['"]|['"]$/g, '');
106
+
107
+ return j.literal(trimmedArg);
108
+ });
109
+ expression = j.callExpression(
110
+ j.memberExpression(expression, j.identifier(methodName)),
111
+ args
112
+ );
113
+ } else {
114
+ expression = j.memberExpression(expression, j.identifier(part));
115
+ }
116
+ }
117
+
118
+ return expression;
119
+ };
120
+
121
+ // Replace member expressions
122
+ root.find(j.MemberExpression).forEach((path) => {
123
+ let sourceCode = j(path).toSource();
124
+
125
+ // Special handling for numeric index
126
+ if (path.node.property.type === 'Literal' && !isNaN(path.node.property.value)) {
127
+ sourceCode = `${j(path.node.object).toSource()}[${path.node.property.value}]`;
128
+ }
129
+
130
+ if (spacingReplaceMap[sourceCode]) {
131
+ const newExpression = createReplacementExpression(spacingReplaceMap[sourceCode]);
132
+ j(path).replaceWith(newExpression);
133
+ }
134
+ });
135
+
136
+ // Replace import paths
137
+ root.find(j.ImportDeclaration).forEach((path) => {
138
+ if (path.node.source.value.startsWith('@orfium/ictinus/')) {
139
+ path.node.source.value = '@orfium/ictinus';
140
+ }
141
+ });
142
+
143
+ return root.toSource();
144
+ };
145
+ export default transform;