@orfium/ictinus 5.45.2 → 5.46.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (311) hide show
  1. package/dist/components/Box/Box.utilities.js +2 -2
  2. package/dist/components/Breadcrumb/Breadcrumb.js +4 -8
  3. package/dist/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.js +2 -2
  4. package/dist/components/Button/Button.js +0 -1
  5. package/dist/components/Button/ButtonLoader/ButtonLoader.js +2 -2
  6. package/dist/components/Button/ButtonLoader/ButtonLoader.style.js +1 -1
  7. package/dist/components/ButtonBase/ButtonBase.js +14 -27
  8. package/dist/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.js +4 -4
  9. package/dist/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.js +3 -3
  10. package/dist/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.style.js +1 -1
  11. package/dist/components/Chart/DonutChart/components/CustomLabel/CustomLabel.js +2 -2
  12. package/dist/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.js +4 -4
  13. package/dist/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.style.js +1 -1
  14. package/dist/components/Controls/CheckBox/CheckBox.js +3 -3
  15. package/dist/components/Controls/Switch/Switch.js +22 -25
  16. package/dist/components/DatePicker/DatePickInput/DatePickInput.js +31 -31
  17. package/dist/components/DatePicker/DatePicker.js +18 -18
  18. package/dist/components/DatePicker/Day/Day.js +3 -3
  19. package/dist/components/DatePicker/Month/Month.js +11 -32
  20. package/dist/components/DatePicker/OverlayComponent/OverlayComponent.js +21 -21
  21. package/dist/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.js +5 -5
  22. package/dist/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.style.js +1 -1
  23. package/dist/components/Drawer/Drawer.js +3 -3
  24. package/dist/components/Drawer/components/DrawerHeader/DrawerHeader.js +3 -3
  25. package/dist/components/DropdownButton/DropdownButton.js +5 -5
  26. package/dist/components/Filter/StatefulFilter.js +7 -7
  27. package/dist/components/Filter/components/FilterButton/FilterButton.js +3 -3
  28. package/dist/components/Filter/hooks/useFilterWithSelectionUtils.js +26 -26
  29. package/dist/components/Icon/Icon.js +3 -3
  30. package/dist/components/Label/Label.style.js +1 -1
  31. package/dist/components/List/List.js +3 -3
  32. package/dist/components/List/Window.js +13 -18
  33. package/dist/components/List/components/ListItemText/ListItemText.js +3 -3
  34. package/dist/components/List/components/ListItemWrapper/ListItemWrapper.js +7 -10
  35. package/dist/components/Modal/Modal.js +4 -4
  36. package/dist/components/MultiTextFieldBase/MultiTextFieldBase.js +39 -41
  37. package/dist/components/Notification/NotificationVisual/NotificationVisual.js +3 -3
  38. package/dist/components/Notification/Snackbar/Snackbar.js +6 -7
  39. package/dist/components/Notification/subcomponents/CompactNotification/CompactNotification.js +8 -8
  40. package/dist/components/Notification/subcomponents/CompactNotification/CompactNotification.style.js +1 -1
  41. package/dist/components/Notification/subcomponents/NotificationActionsArea/NotificationActionsArea.js +1 -1
  42. package/dist/components/NumberField/components/Stepper/Stepper.js +1 -1
  43. package/dist/components/ProgressIndicator/components/ProgressBar/ProgressBar.js +7 -9
  44. package/dist/components/ProgressIndicator/components/ProgressBar/ProgressBar.style.js +1 -1
  45. package/dist/components/Search/Search.js +4 -4
  46. package/dist/components/Search/StatefulSearch.js +3 -3
  47. package/dist/components/Select/Select.js +41 -42
  48. package/dist/components/Select/StatefulSelect.js +10 -10
  49. package/dist/components/Select/components/SelectMenu/SelectMenu.js +3 -3
  50. package/dist/components/Select/components/SelectMenu/SelectMenu.style.js +1 -1
  51. package/dist/components/TabStepper/components/TabStep/TabStep.js +4 -4
  52. package/dist/components/TabStepper/components/TabStep/TabStep.style.js +2 -2
  53. package/dist/components/Table/Table.js +23 -23
  54. package/dist/components/Table/components/TD/TD.js +3 -3
  55. package/dist/components/Table/components/TH/TH.js +3 -3
  56. package/dist/components/Table/components/TH/TH.style.js +4 -4
  57. package/dist/components/Table/components/TPagination/TPagination.js +6 -6
  58. package/dist/components/Table/components/TTitle/TTitle.js +4 -4
  59. package/dist/components/Table/hooks/useTable.js +70 -71
  60. package/dist/components/TableV4/TableV4.js +27 -27
  61. package/dist/components/TableV4/components/RenderRowOrNestedRow/components/ExpandedButtonCell/ExpandedButtonCell.js +1 -1
  62. package/dist/components/TextArea/TextArea.js +8 -8
  63. package/dist/components/TextInputBase/TextInputBase.js +3 -3
  64. package/dist/components/Toast/Toast.js +3 -3
  65. package/dist/components/ToastV4/ToastV4.js +8 -8
  66. package/dist/components/ToastV4/ToastV4.style.js +1 -1
  67. package/dist/components/TopAppBar/TopAppBar.js +1 -1
  68. package/dist/components/TopAppBar/components/Search/Search.js +3 -3
  69. package/dist/components/TopAppBar/components/Search/Search.style.js +1 -1
  70. package/dist/components/utils/Overlay/Overlay.js +0 -2
  71. package/dist/components/utils/Slots.js +3 -3
  72. package/dist/hooks/useBreakpoints.js +0 -1
  73. package/dist/hooks/useKeyboardEvents.js +2 -2
  74. package/dist/hooks/useTypeColorToColorMatch.js +11 -11
  75. package/dist/index.js +189 -189
  76. package/dist/package.json.d.ts +12 -39
  77. package/dist/package.json.js +1 -1
  78. package/dist/src/badge/Badge.css.d.ts +34 -0
  79. package/dist/src/badge/Badge.d.ts +425 -0
  80. package/dist/src/badge/Badge.test.d.ts +1 -0
  81. package/dist/src/badge/index.d.ts +1 -0
  82. package/dist/src/icons/{Icon.d.ts → IconPrimitive.d.ts} +2 -2
  83. package/dist/src/icons/index.d.ts +1 -0
  84. package/dist/src/tag-group/TagGroup.css.d.ts +33 -0
  85. package/dist/src/tag-group/TagGroup.d.ts +850 -0
  86. package/dist/src/tag-group/TagGroup.test.d.ts +1 -0
  87. package/dist/src/tag-group/index.d.ts +1 -0
  88. package/dist/src/vanilla/index.d.ts +2 -0
  89. package/dist/theme/index.js +6 -6
  90. package/dist/vanilla/Dropdown/Dropdown-css.js +3 -3
  91. package/dist/vanilla/Menu/Menu-css.js +5 -5
  92. package/dist/vanilla/Popover/Popover-css.js +5 -5
  93. package/dist/vanilla/Table/Table-css.js +5 -5
  94. package/dist/vanilla/Table/TableBody-css.js +3 -3
  95. package/dist/vanilla/Table/TableCell-css.js +5 -5
  96. package/dist/vanilla/Table/TableFooter-css.js +3 -3
  97. package/dist/vanilla/Table/TableHeader-css.js +3 -3
  98. package/dist/vanilla/Table/TableHeaderCell-css.js +7 -7
  99. package/dist/vanilla/Table/TableRow-css.js +4 -4
  100. package/dist/vanilla/Text/Text-css.js +3 -3
  101. package/dist/vanilla/Tooltip/Tooltip-css.js +7 -7
  102. package/dist/vanilla/Tooltip/Tooltip.js +1 -1
  103. package/dist/vanilla/assets/src/actions/ActionsContent.css.ts.vanilla-BRor0njc.css +22 -0
  104. package/dist/vanilla/assets/src/avatar/{Avatar.css.ts.vanilla-BRhHBoq9.css → Avatar.css.ts.vanilla-B8YOpClT.css} +20 -20
  105. package/dist/vanilla/assets/src/badge/Badge.css.ts.vanilla-DBW4ApPP.css +4 -0
  106. package/dist/vanilla/assets/src/button/{Button.css.ts.vanilla-DueIYPl1.css → Button.css.ts.vanilla-CkqUCUdv.css} +5 -5
  107. package/dist/vanilla/assets/src/cover/Cover.css.ts.vanilla-BVCEjs0e.css +35 -0
  108. package/dist/vanilla/assets/src/data-table/DataTableBody.css.ts.vanilla-BzEq26dD.css +73 -0
  109. package/dist/vanilla/assets/src/data-table/{DataTableHeaderCell.css.ts.vanilla-qWsAYNJP.css → DataTableHeaderCell.css.ts.vanilla-BDyQQ7jY.css} +9 -9
  110. package/dist/vanilla/assets/src/layers/layers.css.ts.vanilla-CtSIwWTL.css +1 -0
  111. package/dist/vanilla/assets/src/nav/{Nav.css.ts.vanilla-DhJra5VE.css → Nav.css.ts.vanilla-Bl45Ose-.css} +12 -12
  112. package/dist/vanilla/assets/src/skeleton/Skeleton.css.ts.vanilla-GmG3sJg2.css +6 -0
  113. package/dist/vanilla/assets/src/sprinkles/{properties.css.ts.vanilla-BcRKAQD_.css → properties.css.ts.vanilla-BSZBeQXc.css} +3361 -3361
  114. package/dist/vanilla/assets/src/tag-group/TagGroup.css.ts.vanilla-dwPBJckz.css +40 -0
  115. package/dist/vanilla/assets/src/vanilla/Menu/{Menu.css.ts.vanilla-DArDfJ85.css → Menu.css.ts.vanilla-BiDs6aJg.css} +5 -5
  116. package/dist/vanilla/assets/src/vanilla/Popover/{Popover.css.ts.vanilla-CiACUbBM.css → Popover.css.ts.vanilla-DC5-_J3d.css} +7 -7
  117. package/dist/vanilla/assets/src/vanilla/Table/{Table.css.ts.vanilla-DarQMr6Y.css → Table.css.ts.vanilla-lytm_tFZ.css} +7 -7
  118. package/dist/vanilla/assets/src/vanilla/Table/TableBody.css.ts.vanilla-Dy_Iita7.css +6 -0
  119. package/dist/vanilla/assets/src/vanilla/Table/{TableCell.css.ts.vanilla-Csp77ipL.css → TableCell.css.ts.vanilla-C6cK2HG4.css} +10 -10
  120. package/dist/vanilla/assets/src/vanilla/Table/{TableFooter.css.ts.vanilla-DucTzTTQ.css → TableFooter.css.ts.vanilla-CiPokl7E.css} +4 -4
  121. package/dist/vanilla/assets/src/vanilla/Table/TableHeader.css.ts.vanilla-CbAEIDI7.css +8 -0
  122. package/dist/vanilla/assets/src/vanilla/Table/{TableHeaderCell.css.ts.vanilla-Du_-Wub7.css → TableHeaderCell.css.ts.vanilla-CFKYK8eI.css} +9 -9
  123. package/dist/vanilla/assets/src/vanilla/Table/{TableRow.css.ts.vanilla-C0OfPLuX.css → TableRow.css.ts.vanilla-CFVaangZ.css} +5 -5
  124. package/dist/vanilla/assets/src/vanilla/Text/{Text.css.ts.vanilla-CR7LEA7K.css → Text.css.ts.vanilla-Pi0pAZ7T.css} +13 -13
  125. package/dist/vanilla/assets/src/vanilla/Tooltip/{Tooltip.css.ts.vanilla-DfwLEQ86.css → Tooltip.css.ts.vanilla-sco5O5JH.css} +13 -13
  126. package/dist/vanilla/index.d.ts +931 -38
  127. package/dist/vanilla/index.js +3 -0
  128. package/dist/vanilla/package.json.js +1 -1
  129. package/dist/vanilla/src/actions/ActionsContent-css.js +5 -5
  130. package/dist/vanilla/src/actions/ActionsRoot-css.js +3 -3
  131. package/dist/vanilla/src/avatar/Avatar-css.js +7 -7
  132. package/dist/vanilla/src/avatar/AvatarGroup-css.js +5 -5
  133. package/dist/vanilla/src/badge/Badge-css.js +12 -0
  134. package/dist/vanilla/src/badge/Badge.js +48 -0
  135. package/dist/vanilla/src/button/Button-css.js +6 -6
  136. package/dist/vanilla/src/button/Button.js +1 -1
  137. package/dist/vanilla/src/components/Controls/CheckBox/CheckBox.js +1 -1
  138. package/dist/vanilla/src/components/Controls/Radio/Radio.js +0 -2
  139. package/dist/vanilla/src/components/Controls/Radio/components/RadioGroup/RadioGroup.js +0 -2
  140. package/dist/vanilla/src/components/Controls/Switch/Switch.js +2 -2
  141. package/dist/vanilla/src/components/Icon/Icon.js +1 -1
  142. package/dist/vanilla/src/cover/Cover-css.js +3 -3
  143. package/dist/vanilla/src/data-table/DataTableBody-css.js +11 -11
  144. package/dist/vanilla/src/data-table/DataTableEditColumns.js +1 -0
  145. package/dist/vanilla/src/data-table/DataTableHeaderCell-css.js +9 -9
  146. package/dist/vanilla/src/data-table/DataTableHeaderCell.js +1 -0
  147. package/dist/vanilla/src/icon/Icon.js +1 -0
  148. package/dist/vanilla/src/icons/AccountIcon.js +2 -2
  149. package/dist/vanilla/src/icons/AlbumIcon.js +2 -2
  150. package/dist/vanilla/src/icons/AnalyticsIcon.js +2 -2
  151. package/dist/vanilla/src/icons/AppsIcon.js +2 -2
  152. package/dist/vanilla/src/icons/ArrowDownIcon.js +2 -2
  153. package/dist/vanilla/src/icons/ArrowLeftIcon.js +2 -2
  154. package/dist/vanilla/src/icons/ArrowRightIcon.js +2 -2
  155. package/dist/vanilla/src/icons/ArrowUpIcon.js +2 -2
  156. package/dist/vanilla/src/icons/ArtistIcon.js +2 -2
  157. package/dist/vanilla/src/icons/AssetIcon.js +2 -2
  158. package/dist/vanilla/src/icons/AudioIcon.js +2 -2
  159. package/dist/vanilla/src/icons/AudioOffIcon.js +2 -2
  160. package/dist/vanilla/src/icons/BookmarkIcon.js +2 -2
  161. package/dist/vanilla/src/icons/BookmarkOffIcon.js +2 -2
  162. package/dist/vanilla/src/icons/BroadcastIcon.js +2 -2
  163. package/dist/vanilla/src/icons/CalendarIcon.js +2 -2
  164. package/dist/vanilla/src/icons/CatalogIcon.js +2 -2
  165. package/dist/vanilla/src/icons/ChannelIcon.js +2 -2
  166. package/dist/vanilla/src/icons/ChatIcon.js +2 -2
  167. package/dist/vanilla/src/icons/CheckIcon.js +2 -2
  168. package/dist/vanilla/src/icons/ChevronDownIcon.js +2 -2
  169. package/dist/vanilla/src/icons/ChevronLeftIcon.js +2 -2
  170. package/dist/vanilla/src/icons/ChevronRightIcon.js +2 -2
  171. package/dist/vanilla/src/icons/ChevronUpIcon.js +2 -2
  172. package/dist/vanilla/src/icons/CinemaIcon.js +2 -2
  173. package/dist/vanilla/src/icons/ClaimIcon.js +2 -2
  174. package/dist/vanilla/src/icons/CloseIcon.js +2 -2
  175. package/dist/vanilla/src/icons/ColumnChooserIcon.js +2 -2
  176. package/dist/vanilla/src/icons/CompositionIcon.js +2 -2
  177. package/dist/vanilla/src/icons/ConcertIcon.js +2 -2
  178. package/dist/vanilla/src/icons/ConflictIcon.js +2 -2
  179. package/dist/vanilla/src/icons/ConvertIcon.js +2 -2
  180. package/dist/vanilla/src/icons/CopyIcon.js +2 -2
  181. package/dist/vanilla/src/icons/CueSheetIcon.js +2 -2
  182. package/dist/vanilla/src/icons/DashboardIcon.js +2 -2
  183. package/dist/vanilla/src/icons/DatasetIcon.js +2 -2
  184. package/dist/vanilla/src/icons/DeleteIcon.js +2 -2
  185. package/dist/vanilla/src/icons/DeliveryIcon.js +2 -2
  186. package/dist/vanilla/src/icons/DetailsIcon.js +2 -2
  187. package/dist/vanilla/src/icons/DigitalIcon.js +2 -2
  188. package/dist/vanilla/src/icons/DistributionIcon.js +2 -2
  189. package/dist/vanilla/src/icons/DownloadIcon.js +2 -2
  190. package/dist/vanilla/src/icons/EarningsIcon.js +2 -2
  191. package/dist/vanilla/src/icons/EditIcon.js +2 -2
  192. package/dist/vanilla/src/icons/EntitiesIcon.js +2 -2
  193. package/dist/vanilla/src/icons/ErrorIcon.js +2 -2
  194. package/dist/vanilla/src/icons/ExternalLinkIcon.js +2 -2
  195. package/dist/vanilla/src/icons/EyeIcon.js +2 -2
  196. package/dist/vanilla/src/icons/EyeOffIcon.js +2 -2
  197. package/dist/vanilla/src/icons/FavoriteIcon.js +2 -2
  198. package/dist/vanilla/src/icons/FavoriteOffIcon.js +2 -2
  199. package/dist/vanilla/src/icons/FileIcon.js +2 -2
  200. package/dist/vanilla/src/icons/FilterIcon.js +2 -2
  201. package/dist/vanilla/src/icons/FlagIcon.js +2 -2
  202. package/dist/vanilla/src/icons/FlagOffIcon.js +2 -2
  203. package/dist/vanilla/src/icons/ForwardIcon.js +2 -2
  204. package/dist/vanilla/src/icons/FreezeIcon.js +2 -2
  205. package/dist/vanilla/src/icons/HelpIcon.js +2 -2
  206. package/dist/vanilla/src/icons/{Icon.js → IconPrimitive.js} +3 -3
  207. package/dist/vanilla/src/icons/ImageIcon.js +2 -2
  208. package/dist/vanilla/src/icons/ImageOffIcon.js +2 -2
  209. package/dist/vanilla/src/icons/IncomeIcon.js +2 -2
  210. package/dist/vanilla/src/icons/InformationalIcon.js +2 -2
  211. package/dist/vanilla/src/icons/InsightIcon.js +2 -2
  212. package/dist/vanilla/src/icons/InvoiceIcon.js +2 -2
  213. package/dist/vanilla/src/icons/IssueIcon.js +2 -2
  214. package/dist/vanilla/src/icons/KeywordIcon.js +2 -2
  215. package/dist/vanilla/src/icons/LanguageIcon.js +2 -2
  216. package/dist/vanilla/src/icons/LegalIcon.js +2 -2
  217. package/dist/vanilla/src/icons/LicenseIcon.js +2 -2
  218. package/dist/vanilla/src/icons/LinkIcon.js +2 -2
  219. package/dist/vanilla/src/icons/LocationIcon.js +2 -2
  220. package/dist/vanilla/src/icons/LockIcon.js +2 -2
  221. package/dist/vanilla/src/icons/LoginIcon.js +2 -2
  222. package/dist/vanilla/src/icons/LogoutIcon.js +2 -2
  223. package/dist/vanilla/src/icons/MailIcon.js +2 -2
  224. package/dist/vanilla/src/icons/ManualIcon.js +2 -2
  225. package/dist/vanilla/src/icons/MediaFileIcon.js +2 -2
  226. package/dist/vanilla/src/icons/MenuIcon.js +2 -2
  227. package/dist/vanilla/src/icons/MinusIcon.js +2 -2
  228. package/dist/vanilla/src/icons/MoreOptionsIcon.js +2 -2
  229. package/dist/vanilla/src/icons/NextIcon.js +2 -2
  230. package/dist/vanilla/src/icons/NotificationIcon.js +2 -2
  231. package/dist/vanilla/src/icons/OrganizationIcon.js +2 -2
  232. package/dist/vanilla/src/icons/PageFirstIcon.js +2 -2
  233. package/dist/vanilla/src/icons/PageLastIcon.js +2 -2
  234. package/dist/vanilla/src/icons/PairIcon.js +2 -2
  235. package/dist/vanilla/src/icons/PauseIcon.js +2 -2
  236. package/dist/vanilla/src/icons/PendingIcon.js +2 -2
  237. package/dist/vanilla/src/icons/PlayIcon.js +2 -2
  238. package/dist/vanilla/src/icons/PlaycountIcon.js +2 -2
  239. package/dist/vanilla/src/icons/PlusIcon.js +2 -2
  240. package/dist/vanilla/src/icons/PolicyIcon.js +2 -2
  241. package/dist/vanilla/src/icons/PreviousIcon.js +2 -2
  242. package/dist/vanilla/src/icons/PublicPerformanceIcon.js +2 -2
  243. package/dist/vanilla/src/icons/PublisherIcon.js +2 -2
  244. package/dist/vanilla/src/icons/RadioIcon.js +2 -2
  245. package/dist/vanilla/src/icons/RecordLabelIcon.js +2 -2
  246. package/dist/vanilla/src/icons/RecordingIcon.js +2 -2
  247. package/dist/vanilla/src/icons/RedoIcon.js +2 -2
  248. package/dist/vanilla/src/icons/RefreshIcon.js +2 -2
  249. package/dist/vanilla/src/icons/ReportIcon.js +2 -2
  250. package/dist/vanilla/src/icons/RestoreIcon.js +2 -2
  251. package/dist/vanilla/src/icons/ResumeIcon.js +2 -2
  252. package/dist/vanilla/src/icons/ReviewIcon.js +2 -2
  253. package/dist/vanilla/src/icons/RewindIcon.js +2 -2
  254. package/dist/vanilla/src/icons/RoleIcon.js +2 -2
  255. package/dist/vanilla/src/icons/SearchFilledIcon.js +2 -2
  256. package/dist/vanilla/src/icons/SearchIcon.js +2 -2
  257. package/dist/vanilla/src/icons/SettingsIcon.js +2 -2
  258. package/dist/vanilla/src/icons/ShareIcon.js +2 -2
  259. package/dist/vanilla/src/icons/SortAscendingIcon.js +2 -2
  260. package/dist/vanilla/src/icons/SortDescendingIcon.js +2 -2
  261. package/dist/vanilla/src/icons/SortIcon.js +2 -2
  262. package/dist/vanilla/src/icons/StatusIndicatorIcon.js +2 -2
  263. package/dist/vanilla/src/icons/StopIcon.js +2 -2
  264. package/dist/vanilla/src/icons/SuccessIcon.js +2 -2
  265. package/dist/vanilla/src/icons/TagIcon.js +2 -2
  266. package/dist/vanilla/src/icons/TelevisionIcon.js +2 -2
  267. package/dist/vanilla/src/icons/ThumbsDownIcon.js +2 -2
  268. package/dist/vanilla/src/icons/ThumbsUpIcon.js +2 -2
  269. package/dist/vanilla/src/icons/TrendingDownIcon.js +2 -2
  270. package/dist/vanilla/src/icons/TrendingUpIcon.js +2 -2
  271. package/dist/vanilla/src/icons/TriangleDownIcon.js +2 -2
  272. package/dist/vanilla/src/icons/TriangleLeftIcon.js +2 -2
  273. package/dist/vanilla/src/icons/TriangleRightIcon.js +2 -2
  274. package/dist/vanilla/src/icons/TriangleUpIcon.js +2 -2
  275. package/dist/vanilla/src/icons/UndoIcon.js +2 -2
  276. package/dist/vanilla/src/icons/UnfreezeIcon.js +2 -2
  277. package/dist/vanilla/src/icons/UnlinkIcon.js +2 -2
  278. package/dist/vanilla/src/icons/UnlockIcon.js +2 -2
  279. package/dist/vanilla/src/icons/UnpairIcon.js +2 -2
  280. package/dist/vanilla/src/icons/UnverifiedIcon.js +2 -2
  281. package/dist/vanilla/src/icons/UpdateIcon.js +2 -2
  282. package/dist/vanilla/src/icons/UploadIcon.js +2 -2
  283. package/dist/vanilla/src/icons/UsageIcon.js +2 -2
  284. package/dist/vanilla/src/icons/UserIcon.js +2 -2
  285. package/dist/vanilla/src/icons/UsersIcon.js +2 -2
  286. package/dist/vanilla/src/icons/VerifiedIcon.js +2 -2
  287. package/dist/vanilla/src/icons/VideoIcon.js +2 -2
  288. package/dist/vanilla/src/icons/VideoOffIcon.js +2 -2
  289. package/dist/vanilla/src/icons/WarningIcon.js +2 -2
  290. package/dist/vanilla/src/icons/WorkIcon.js +2 -2
  291. package/dist/vanilla/src/icons/WriterIcon.js +2 -2
  292. package/dist/vanilla/src/icons/YouTubeIcon.js +2 -2
  293. package/dist/vanilla/src/layers/layers-css.js +2 -2
  294. package/dist/vanilla/src/nav/Nav-css.js +12 -12
  295. package/dist/vanilla/src/nav/Nav.js +2 -1
  296. package/dist/vanilla/src/skeleton/Skeleton-css.js +4 -4
  297. package/dist/vanilla/src/sprinkles/properties-css.js +5 -5
  298. package/dist/vanilla/src/tag-group/TagGroup-css.js +13 -0
  299. package/dist/vanilla/src/tag-group/TagGroup.js +211 -0
  300. package/package.json +12 -39
  301. package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/index.d.ts +0 -0
  302. package/dist/src/components/ThemeProvider/Test.d.ts +0 -3
  303. package/dist/src/utils/storyshots.d.ts +0 -18
  304. package/dist/vanilla/assets/src/actions/ActionsContent.css.ts.vanilla-BZf5EbPi.css +0 -22
  305. package/dist/vanilla/assets/src/avatar/AvatarGroup.css.ts.vanilla-z3uMcKT_.css +0 -4
  306. package/dist/vanilla/assets/src/cover/Cover.css.ts.vanilla-D3GnlIpg.css +0 -35
  307. package/dist/vanilla/assets/src/data-table/DataTableBody.css.ts.vanilla-BowUQZcc.css +0 -70
  308. package/dist/vanilla/assets/src/layers/layers.css.ts.vanilla-DFmEGtie.css +0 -1
  309. package/dist/vanilla/assets/src/skeleton/Skeleton.css.ts.vanilla-D4xf3GmW.css +0 -6
  310. package/dist/vanilla/assets/src/vanilla/Table/TableBody.css.ts.vanilla-Btjzd27g.css +0 -6
  311. package/dist/vanilla/assets/src/vanilla/Table/TableHeader.css.ts.vanilla-BY1AQFKf.css +0 -8
@@ -1,6 +1,6 @@
1
1
  import { vars as g } from "@orfium/tokens";
2
- import { curry as m, pick as d, omit as u, get as e } from "lodash-es";
3
- const f = ["p", "pt", "pr", "pb", "pl", "px", "py", "m", "mt", "mr", "mb", "ml", "mx", "my"], p = ["color", "backgroundAttachment", "backgroundClip", "backgroundColor", "backgroundImage", "backgroundOrigin", "backgroundPosition", "backgroundRepeat", "backgroundSize", "alignContent", "alignItems", "alignSelf", "flexDirection", "display", "flex", "grid", "gap", "gridArea", "gridAutoColumns", "gridAutoFlow", "gridAutoRows", "gridColumn", "gridColumnEnd", "gridColumnGap", "gridColumnStart", "gridGap", "gridRow", "gridRowEnd", "gridRowGap", "gridRowStart", "gridTemplate", "gridTemplateAreas", "gridTemplateColumns", "gridTemplateRows", "justifyContent", "justifyItems", "justifySelf", "position", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "overflow", "m", "mt", "mr", "mb", "ml", "mx", "my", "p", "pt", "pr", "pb", "pl", "px", "py", "placeContent", "placeItems", "placeSelf", "flexWrap", "left", "top", "right", "bottom", "textOverflow", "whiteSpace"], x = (t) => d(t, p), C = (t) => u(t, p), S = m((t, r, l, o, i) => {
2
+ import { pick as m, omit as d, curry as u, get as e } from "lodash-es";
3
+ const f = ["p", "pt", "pr", "pb", "pl", "px", "py", "m", "mt", "mr", "mb", "ml", "mx", "my"], p = ["color", "backgroundAttachment", "backgroundClip", "backgroundColor", "backgroundImage", "backgroundOrigin", "backgroundPosition", "backgroundRepeat", "backgroundSize", "alignContent", "alignItems", "alignSelf", "flexDirection", "display", "flex", "grid", "gap", "gridArea", "gridAutoColumns", "gridAutoFlow", "gridAutoRows", "gridColumn", "gridColumnEnd", "gridColumnGap", "gridColumnStart", "gridGap", "gridRow", "gridRowEnd", "gridRowGap", "gridRowStart", "gridTemplate", "gridTemplateAreas", "gridTemplateColumns", "gridTemplateRows", "justifyContent", "justifyItems", "justifySelf", "position", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "overflow", "m", "mt", "mr", "mb", "ml", "mx", "my", "p", "pt", "pr", "pb", "pl", "px", "py", "placeContent", "placeItems", "placeSelf", "flexWrap", "left", "top", "right", "bottom", "textOverflow", "whiteSpace"], x = (t) => m(t, p), C = (t) => d(t, p), S = u((t, r, l, o, i) => {
4
4
  if (r[o]) {
5
5
  if (i === "spacing") {
6
6
  if (o === "px" || o === "py") {
@@ -17,14 +17,10 @@ const u = (r, e) => e === r.length - 1, $ = n.forwardRef(({
17
17
  href: c
18
18
  } = a;
19
19
  return u(r, s) ? /* @__PURE__ */ m("span", { "data-testid": `${t}_breadcrumb_${o}`, children: o }) : /* @__PURE__ */ m(L, { size: 2, dataTestPrefixId: `${t}_breadcrumb_link_${o}`, ...d(a, "label"), children: o }, c);
20
- }, [t, r]), l = n.useMemo(
21
- // eslint-disable-next-line react/display-name
22
- () => (a, s) => {
23
- const o = h("data_item_"), c = u(r, s);
24
- return /* @__PURE__ */ m(B, { childComponent: a, isLastItem: c }, o);
25
- },
26
- [r]
27
- ), p = n.useMemo(() => {
20
+ }, [t, r]), l = n.useMemo(() => (a, s) => {
21
+ const o = h("data_item_"), c = u(r, s);
22
+ return /* @__PURE__ */ m(B, { childComponent: a, isLastItem: c }, o);
23
+ }, [r]), p = n.useMemo(() => {
28
24
  if (!f(r))
29
25
  return r.map(i).map(l);
30
26
  if (e)
@@ -1,11 +1,11 @@
1
1
  import { jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
2
2
  import { vars as e } from "@orfium/tokens";
3
- import { breadcrumbListStyles as c, breadcrumbItemStyles as i } from "./BreadcrumbItem.style.js";
3
+ import { breadcrumbItemStyles as c, breadcrumbListStyles as i } from "./BreadcrumbItem.style.js";
4
4
  import m from "../../Icon/Icon.js";
5
5
  const f = ({
6
6
  childComponent: t,
7
7
  isLastItem: r = !1
8
- }) => /* @__PURE__ */ o("li", { css: c(), children: /* @__PURE__ */ s("div", { css: i({
8
+ }) => /* @__PURE__ */ o("li", { css: i(), children: /* @__PURE__ */ s("div", { css: c({
9
9
  isLastItem: r
10
10
  }), ...r ? {
11
11
  typography: "body02"
@@ -7,7 +7,6 @@ import c from "../Icon/Icon.js";
7
7
  const x = u.forwardRef((a, s) => {
8
8
  const {
9
9
  type: t = "primary",
10
- size: B = "normal",
11
10
  iconLeftName: e,
12
11
  iconRightName: i,
13
12
  avatar: o,
@@ -1,8 +1,8 @@
1
1
  import { jsx as r } from "@emotion/react/jsx-runtime";
2
- import { loaderWrapperStyle as e, barWrapperStyle as a, barStyle as d } from "./ButtonLoader.style.js";
2
+ import { barStyle as e, barWrapperStyle as a, loaderWrapperStyle as d } from "./ButtonLoader.style.js";
3
3
  const o = ({
4
4
  dataTestId: t
5
- }) => /* @__PURE__ */ r("div", { css: e(), "data-testid": t, children: /* @__PURE__ */ r("div", { css: a(), children: /* @__PURE__ */ r("div", { css: d() }) }) });
5
+ }) => /* @__PURE__ */ r("div", { css: d(), "data-testid": t, children: /* @__PURE__ */ r("div", { css: a(), children: /* @__PURE__ */ r("div", { css: e() }) }) });
6
6
  o.displayName = "ButtonLoader";
7
7
  export {
8
8
  o as default
@@ -1,4 +1,4 @@
1
- import { css as e, keyframes as i } from "@emotion/react";
1
+ import { keyframes as i, css as e } from "@emotion/react";
2
2
  import { rem as r, vars as t } from "@orfium/tokens";
3
3
  var a = {
4
4
  name: "1duu0ib",
@@ -4,7 +4,7 @@ import T from "react";
4
4
  import { generateTestDataId as g } from "../../utils/helpers.js";
5
5
  import k from "../Button/ButtonLoader/ButtonLoader.js";
6
6
  import { useSlotProps as L } from "../utils/Slots.js";
7
- import { buttonWrapperStyle as R, buttonBaseStyle as S } from "./ButtonBase.style.js";
7
+ import { buttonBaseStyle as R, buttonWrapperStyle as S } from "./ButtonBase.style.js";
8
8
  const j = T.forwardRef((t, n) => {
9
9
  t = L(t, "button");
10
10
  const {
@@ -24,35 +24,22 @@ const j = T.forwardRef((t, n) => {
24
24
  sx: y,
25
25
  ...I
26
26
  } = t, r = `${p}button`;
27
- return /* @__PURE__ */ x("div", { css: R({
27
+ return /* @__PURE__ */ x("div", { css: S({
28
28
  isBlock: o
29
29
  }), children: [
30
30
  a && !e && /* @__PURE__ */ i(k, { dataTestId: r }),
31
- /* @__PURE__ */ i(
32
- "button",
33
- {
34
- ...N(I, ["avatar", "iconRightName", "iconLeftName", "iconName"]),
35
- ref: n,
36
- type: B,
37
- "data-testid": g(r, u),
38
- css: S({
39
- type: m,
40
- size: d,
41
- isLoading: a,
42
- isBlock: o,
43
- isDisabled: e,
44
- isIconButton: l,
45
- shape: f,
46
- sx: y
47
- }),
48
- onClick: (h) => {
49
- s && s(h);
50
- },
51
- onBlur: b,
52
- disabled: e,
53
- children: c
54
- }
55
- )
31
+ /* @__PURE__ */ i("button", { ...N(I, ["avatar", "iconRightName", "iconLeftName", "iconName"]), ref: n, type: B, "data-testid": g(r, u), css: R({
32
+ type: m,
33
+ size: d,
34
+ isLoading: a,
35
+ isBlock: o,
36
+ isDisabled: e,
37
+ isIconButton: l,
38
+ shape: f,
39
+ sx: y
40
+ }), onClick: (h) => {
41
+ s && s(h);
42
+ }, onBlur: b, disabled: e, children: c })
56
43
  ] });
57
44
  });
58
45
  j.displayName = "ButtonBase";
@@ -1,6 +1,6 @@
1
1
  import { jsxs as c, jsx as l } from "@emotion/react/jsx-runtime";
2
2
  import { useRef as p, useState as o, useEffect as v, useCallback as i } from "react";
3
- import { tickStyle as m, tooltipStyle as h, tooltipArrowStyle as A } from "./CustomTooltip.style.js";
3
+ import { tooltipStyle as m, tooltipArrowStyle as h, tickStyle as A } from "./CustomTooltip.style.js";
4
4
  const b = ({
5
5
  content: s,
6
6
  fill: n
@@ -14,11 +14,11 @@ const b = ({
14
14
  }, [t]), d = i(() => {
15
15
  t(!1);
16
16
  }, [t]);
17
- return /* @__PURE__ */ c("div", { ref: e, onMouseEnter: u, onMouseLeave: d, css: m(n), children: [
17
+ return /* @__PURE__ */ c("div", { ref: e, onMouseEnter: u, onMouseLeave: d, css: A(n), children: [
18
18
  s,
19
19
  a && f && /* @__PURE__ */ c("div", { children: [
20
- /* @__PURE__ */ l("div", { css: h(), children: s }),
21
- /* @__PURE__ */ l("div", { css: A() })
20
+ /* @__PURE__ */ l("div", { css: m(), children: s }),
21
+ /* @__PURE__ */ l("div", { css: h() })
22
22
  ] })
23
23
  ] });
24
24
  };
@@ -1,14 +1,14 @@
1
1
  import { jsx as o, jsxs as t } from "@emotion/react/jsx-runtime";
2
- import { tooltipStyle as c, tooltipUlStyle as d, tooltipLiStyle as e } from "./CustomTooltipContent.style.js";
2
+ import { tooltipLiStyle as c, tooltipUlStyle as d, tooltipStyle as e } from "./CustomTooltipContent.style.js";
3
3
  const m = ({
4
4
  payload: i
5
5
  }) => {
6
6
  const l = i && i[0]?.payload?.options?.hoverInfo;
7
- return l ? /* @__PURE__ */ o("div", { className: "custom-tooltip", css: c(), children: /* @__PURE__ */ o("ul", { css: d(), children: l.map(({
7
+ return l ? /* @__PURE__ */ o("div", { className: "custom-tooltip", css: e(), children: /* @__PURE__ */ o("ul", { css: d(), children: l.map(({
8
8
  name: s,
9
9
  value: n,
10
10
  percentage: r
11
- }) => /* @__PURE__ */ t("li", { css: e(), children: [
11
+ }) => /* @__PURE__ */ t("li", { css: c(), children: [
12
12
  /* @__PURE__ */ o("div", { children: s }),
13
13
  /* @__PURE__ */ t("div", { children: [
14
14
  /* @__PURE__ */ o("span", { children: /* @__PURE__ */ o("b", { children: n }) }),
@@ -1,4 +1,4 @@
1
- import { rem as t, vars as n } from "@orfium/tokens";
1
+ import { vars as n, rem as t } from "@orfium/tokens";
2
2
  const o = () => ({
3
3
  fontSize: n["font-size"][3],
4
4
  padding: `${n.spacing[4]} ${n.spacing[6]}`,
@@ -1,7 +1,7 @@
1
1
  import { jsxs as o, jsx as e } from "@emotion/react/jsx-runtime";
2
2
  import c from "../../../../../hooks/useTheme.js";
3
3
  import { vars as a } from "@orfium/tokens";
4
- import { flexContainer as d, labelUnitStyle as m } from "./CustomLabel.style.js";
4
+ import { labelUnitStyle as d, flexContainer as m } from "./CustomLabel.style.js";
5
5
  const p = ({
6
6
  viewBox: l,
7
7
  value: r,
@@ -13,7 +13,7 @@ const p = ({
13
13
  } = l, s = c();
14
14
  return /* @__PURE__ */ o("g", { children: [
15
15
  /* @__PURE__ */ e("text", { x: n, y: t, className: "recharts-text recharts-label", textAnchor: "middle", dominantBaseline: "central", children: /* @__PURE__ */ e("tspan", { x: "50%", dy: "-7", alignmentBaseline: "middle", fontSize: a["font-size"][4], fill: s.globals.oldColors.black, children: r }) }),
16
- /* @__PURE__ */ e("foreignObject", { y: "52%", width: "100%", height: t && t / 2.5, children: /* @__PURE__ */ e("div", { css: d(), children: /* @__PURE__ */ e("div", { css: m(), children: i }) }) })
16
+ /* @__PURE__ */ e("foreignObject", { y: "52%", width: "100%", height: t && t / 2.5, children: /* @__PURE__ */ e("div", { css: m(), children: /* @__PURE__ */ e("div", { css: d(), children: i }) }) })
17
17
  ] });
18
18
  };
19
19
  export {
@@ -1,20 +1,20 @@
1
1
  import { jsxs as i, jsx as l } from "@emotion/react/jsx-runtime";
2
- import { tooltipStyle as r, tooltipHrStyle as c, tooltipUlStyle as m, tooltipLiStyle as n } from "./CustomTooltip.style.js";
2
+ import { tooltipHrStyle as r, tooltipLiStyle as c, tooltipUlStyle as m, tooltipStyle as n } from "./CustomTooltip.style.js";
3
3
  const d = ({
4
4
  label: e,
5
5
  payload: t
6
- }) => /* @__PURE__ */ i("div", { className: "custom-tooltip", css: r(), children: [
6
+ }) => /* @__PURE__ */ i("div", { className: "custom-tooltip", css: n(), children: [
7
7
  /* @__PURE__ */ i("p", { className: "label", style: {
8
8
  margin: "0px"
9
9
  }, children: [
10
10
  `${e}`,
11
11
  " "
12
12
  ] }),
13
- t && t.length > 1 && /* @__PURE__ */ l("hr", { css: c() }),
13
+ t && t.length > 1 && /* @__PURE__ */ l("hr", { css: r() }),
14
14
  t && /* @__PURE__ */ l("ul", { css: m(), children: t.map(({
15
15
  name: s,
16
16
  value: o
17
- }) => /* @__PURE__ */ i("li", { css: n(), children: [
17
+ }) => /* @__PURE__ */ i("li", { css: c(), children: [
18
18
  /* @__PURE__ */ l("div", { children: s }),
19
19
  " ",
20
20
  /* @__PURE__ */ l("div", { children: o })
@@ -1,4 +1,4 @@
1
- import { rem as t, vars as o } from "@orfium/tokens";
1
+ import { vars as o, rem as t } from "@orfium/tokens";
2
2
  const n = () => ({
3
3
  fontSize: o["font-size"][3],
4
4
  padding: o.spacing[4],
@@ -2,7 +2,7 @@ import { jsxs as d, jsx as t } from "@emotion/react/jsx-runtime";
2
2
  import $ from "react";
3
3
  import { Checkbox as u } from "react-aria-components";
4
4
  import { vars as m } from "@orfium/tokens";
5
- import { checkboxWrapperStyles as C, checkboxStyles as I } from "./CheckBox.style.js";
5
+ import { checkboxStyles as C, checkboxWrapperStyles as I } from "./CheckBox.style.js";
6
6
  import s from "../../Box/Box.js";
7
7
  import T from "../../Icon/Icon.js";
8
8
  import g from "../ControlLabel/ControlLabelText.js";
@@ -24,10 +24,10 @@ const j = $.forwardRef((p, f) => {
24
24
  helpText: c,
25
25
  sx: _
26
26
  } = b;
27
- return /* @__PURE__ */ d("div", { css: C({
27
+ return /* @__PURE__ */ d("div", { css: I({
28
28
  sx: _
29
29
  }), children: [
30
- /* @__PURE__ */ t(u, { id: x, css: I(), isSelected: a, onChange: h, isIndeterminate: o, isDisabled: l, value: e, ref: f, "data-testid": `${r}${e ? `_${e}` : ""}_checkbox`, children: /* @__PURE__ */ d(s, { display: "flex", alignItems: "center", gap: "5", flexDirection: i === "left" ? "row-reverse" : "row", justifyContent: i === "left" ? "space-between" : "unset", children: [
30
+ /* @__PURE__ */ t(u, { id: x, css: C(), isSelected: a, onChange: h, isIndeterminate: o, isDisabled: l, value: e, ref: f, "data-testid": `${r}${e ? `_${e}` : ""}_checkbox`, children: /* @__PURE__ */ d(s, { display: "flex", alignItems: "center", gap: "5", flexDirection: i === "left" ? "row-reverse" : "row", justifyContent: i === "left" ? "space-between" : "unset", children: [
31
31
  /* @__PURE__ */ t(s, { "data-role": "checkbox-icon", children: /* @__PURE__ */ t(T, { name: o ? "minus" : "check", size: m.sizing[5], color: m.color.text.inverted.primary, dataTestId: `${r}${e ? `_${e}` : ""}_${o ? "minus" : a ? "checkmark" : "unselected"}` }) }),
32
32
  n && /* @__PURE__ */ t(g, { size: k, dataTestPrefixId: `${r}_checkbox_${e?.split(" ").join("_")}`, children: n })
33
33
  ] }) }),
@@ -1,13 +1,12 @@
1
- import { jsxs as o, jsx as e } from "@emotion/react/jsx-runtime";
2
- import { css as b } from "@emotion/react";
3
- import * as g from "react";
4
- import { Switch as y } from "react-aria-components";
1
+ import { jsxs as a, jsx as e } from "@emotion/react/jsx-runtime";
2
+ import * as b from "react";
3
+ import { Switch as g } from "react-aria-components";
5
4
  import { rem as c } from "polished";
6
- import { switchWrapperStyles as S, switchStyles as T } from "./Switch.style.js";
7
- import a from "../../Box/Box.js";
8
- import $ from "../ControlLabel/ControlLabelText.js";
9
- import C from "../ControlLabel/ControlHelpText.js";
10
- const _ = g.forwardRef((m, p) => {
5
+ import { switchStyles as y, switchWrapperStyles as S } from "./Switch.style.js";
6
+ import o from "../../Box/Box.js";
7
+ import T from "../ControlLabel/ControlLabelText.js";
8
+ import $ from "../ControlLabel/ControlHelpText.js";
9
+ const C = b.forwardRef((m, p) => {
11
10
  const {
12
11
  id: f,
13
12
  value: i,
@@ -24,37 +23,35 @@ const _ = g.forwardRef((m, p) => {
24
23
  helpText: s,
25
24
  sx: v
26
25
  } = w;
27
- return /* @__PURE__ */ o("div", { css: S({
26
+ return /* @__PURE__ */ a("div", { css: S({
28
27
  sx: v
29
28
  }), children: [
30
- /* @__PURE__ */ e(y, { id: f, value: i, isSelected: h, isDisabled: d, onChange: x, css: T({
29
+ /* @__PURE__ */ e(g, { id: f, value: i, isSelected: h, isDisabled: d, onChange: x, css: y({
31
30
  placement: t
32
31
  }), "data-testid": `${l}${i ? `_${i}` : ""}_switch`, ref: p, excludeFromTabOrder: r, "aria-hidden": r || void 0, style: r ? {
33
32
  pointerEvents: "none"
34
- } : void 0, children: /* @__PURE__ */ o(a, { display: "flex", gap: "5", flexDirection: t === "left" ? "row-reverse" : "row", justifyContent: t === "left" ? "space-between" : "unset", children: [
35
- /* @__PURE__ */ o(a, { children: [
33
+ } : void 0, children: /* @__PURE__ */ a(o, { display: "flex", gap: "5", flexDirection: t === "left" ? "row-reverse" : "row", justifyContent: t === "left" ? "space-between" : "unset", children: [
34
+ /* @__PURE__ */ a(o, { children: [
36
35
  /* @__PURE__ */ e("div", { className: "bar" }),
37
36
  /* @__PURE__ */ e("div", { className: "indicator" })
38
37
  ] }),
39
- n && /* @__PURE__ */ e($, { size: u, dataTestPrefixId: `${l}_switch_${i?.split(" ").join("_")}`, children: n })
38
+ n && /* @__PURE__ */ e(T, { size: u, dataTestPrefixId: `${l}_switch_${i?.split(" ").join("_")}`, children: n })
40
39
  ] }) }),
41
40
  s && /* @__PURE__ */ e(
42
- a,
41
+ o,
43
42
  {
44
- css: /* @__PURE__ */ b({
45
- ...t === "left" ? {
46
- paddingRight: c(48)
47
- } : {
48
- paddingLeft: c(48)
49
- }
50
- }, "", ""),
43
+ css: t === "left" ? {
44
+ paddingRight: c(48)
45
+ } : {
46
+ paddingLeft: c(48)
47
+ },
51
48
  "data-disabled": d,
52
- children: /* @__PURE__ */ e(C, { helpText: s, children: s })
49
+ children: /* @__PURE__ */ e($, { helpText: s, children: s })
53
50
  }
54
51
  )
55
52
  ] });
56
53
  });
57
- _.displayName = "Switch";
54
+ C.displayName = "Switch";
58
55
  export {
59
- _ as default
56
+ C as default
60
57
  };
@@ -1,45 +1,45 @@
1
1
  import { jsx as m } from "@emotion/react/jsx-runtime";
2
- import { vars as p } from "@orfium/tokens";
3
- import B, { useCallback as C, useMemo as L } from "react";
4
- import F from "../../../utils/date.js";
2
+ import { vars as _ } from "@orfium/tokens";
3
+ import w, { useMemo as p } from "react";
4
+ import B from "../../../utils/date.js";
5
5
  import { getLocaleFormat as I } from "../../../utils/helpers.js";
6
- import x from "../../TextField/TextField.js";
6
+ import L from "../../TextField/TextField.js";
7
7
  import { DATE_RANGE_PICKER_LABEL as N, DATE_PICKER_LABEL as h } from "../constants.js";
8
- import { FIELD_TOKENS as D } from "./DatePickInput.style.js";
9
- import M from "../../Icon/Icon.js";
10
- import { FilterButton as Y } from "../../Filter/components/FilterButton/FilterButton.js";
11
- const A = () => {
12
- }, g = (o) => (r) => r ? F(r).format(I(o)) : "", W = (o, r) => ({
13
- selectDate: `Select Date${o ? "s" : ""}`,
14
- to: o ? `- ${r}` : ""
15
- }), j = B.forwardRef(({
16
- handleIconClick: o,
8
+ import { FIELD_TOKENS as x } from "./DatePickInput.style.js";
9
+ import C from "../../Icon/Icon.js";
10
+ import { FilterButton as M } from "../../Filter/components/FilterButton/FilterButton.js";
11
+ const D = () => {
12
+ }, Y = (t) => (r) => r ? B(r).format(I(t)) : "", g = (t, r) => ({
13
+ selectDate: `Select Date${t ? "s" : ""}`,
14
+ to: t ? `- ${r}` : ""
15
+ }), O = w.forwardRef(({
16
+ handleIconClick: t,
17
17
  filterConfig: r = {},
18
- handleClear: f,
18
+ handleClear: l,
19
19
  dataTestId: u,
20
20
  isRangePicker: e,
21
21
  inputProps: n,
22
- selectedDay: t,
23
- dateFormatOverride: c = "MM/DD/YYYY",
22
+ selectedDay: o,
23
+ dateFormatOverride: A = "MM/DD/YYYY",
24
24
  isOpen: K
25
- }, s) => {
26
- const b = C(g(c), [c]), a = b(t.from), l = b(t.to), T = W(e, l), {
27
- filterType: $,
28
- label: v
29
- } = r, d = {
25
+ }, c) => {
26
+ const s = Y(A), a = s(o.from), f = s(o.to), v = g(e, f), {
27
+ filterType: d,
28
+ label: F
29
+ } = r, $ = {
30
30
  wrapper: {
31
- minWidth: e ? D.minWidth.extraLarge.normal : D.minWidth.medium.normal
31
+ minWidth: e ? x.minWidth.extraLarge.normal : x.minWidth.medium.normal
32
32
  }
33
- }, E = L(() => /* @__PURE__ */ m(M, { tabIndex: 0, name: "calendar", size: p.sizing[5], color: p.color.text.default.secondary, onClick: o, dataTestId: "calendar_button", onKeyDown: (i) => {
34
- i.code === "Enter" && o();
35
- } }), [o]), _ = L(() => n?.label?.length ? n.label : e ? N : h, [n?.label, e]);
36
- if ($) {
37
- const i = `${v ?? T.selectDate}`, w = `${t.from ? `: ${a}` : ""} ${e && t.to ? `- ${l}` : ""}`;
38
- return /* @__PURE__ */ m("div", { children: /* @__PURE__ */ m(Y, { isPopulated: !!(t.from && `${a} - ${l}`), isActive: K, onClear: f, filterType: $, onClick: o, children: `${i}${w}` }) });
33
+ }, b = p(() => /* @__PURE__ */ m(C, { tabIndex: 0, name: "calendar", size: _.sizing[5], color: _.color.text.default.secondary, onClick: t, dataTestId: "calendar_button", onKeyDown: (i) => {
34
+ i.code === "Enter" && t();
35
+ } }), [t]), E = p(() => n?.label?.length ? n.label : e ? N : h, [n?.label, e]);
36
+ if (d) {
37
+ const i = `${F ?? v.selectDate}`, T = `${o.from ? `: ${a}` : ""} ${e && o.to ? `- ${f}` : ""}`;
38
+ return /* @__PURE__ */ m("div", { children: /* @__PURE__ */ m(M, { isPopulated: !!(o.from && `${a} - ${f}`), isActive: K, onClear: l, filterType: d, onClick: t, children: `${i}${T}` }) });
39
39
  }
40
- return e ? /* @__PURE__ */ m(x, { ref: s, ...n, label: _, onKeyDown: f, dataTestId: u, onChange: A, value: t.from ? `${a} - ${l}` : "", suffix: E, sx: d }) : /* @__PURE__ */ m("div", { children: /* @__PURE__ */ m(x, { ref: s, ...n, label: _, onKeyDown: f, dataTestId: u, onChange: A, value: t.to ? a : "", suffix: E, sx: d }) });
40
+ return e ? /* @__PURE__ */ m(L, { ref: c, ...n, label: E, onKeyDown: l, dataTestId: u, onChange: D, value: o.from ? `${a} - ${f}` : "", suffix: b, sx: $ }) : /* @__PURE__ */ m("div", { children: /* @__PURE__ */ m(L, { ref: c, ...n, label: E, onKeyDown: l, dataTestId: u, onChange: D, value: o.to ? a : "", suffix: b, sx: $ }) });
41
41
  });
42
- j.displayName = "DatePickInput";
42
+ O.displayName = "DatePickInput";
43
43
  export {
44
- j as default
44
+ O as default
45
45
  };
@@ -1,14 +1,14 @@
1
1
  import { jsx as u } from "@emotion/react/jsx-runtime";
2
- import { PositionInScreen as _ } from "../utils/PositionInScreen/PositionInScreen.js";
3
- import $ from "../../hooks/useKeyboardEvents.js";
4
- import { memo as z, useMemo as F, useState as v, useCallback as f } from "react";
5
- import G from "react-fast-compare";
2
+ import { PositionInScreen as V } from "../utils/PositionInScreen/PositionInScreen.js";
3
+ import z from "../../hooks/useKeyboardEvents.js";
4
+ import { memo as F, useMemo as G, useState as v, useCallback as f } from "react";
5
+ import H from "react-fast-compare";
6
6
  import { EMPTY_STATE as i } from "./constants.js";
7
- import { datePickerStyles as H } from "./DatePicker.style.js";
8
- import J from "./OverlayComponent/OverlayComponent.js";
9
- import { initDates as L } from "./utils.js";
10
- import N from "./DatePickInput/DatePickInput.js";
11
- const Q = ({
7
+ import { datePickerStyles as J } from "./DatePicker.style.js";
8
+ import L from "./OverlayComponent/OverlayComponent.js";
9
+ import { initDates as N } from "./utils.js";
10
+ import Q from "./DatePickInput/DatePickInput.js";
11
+ const U = ({
12
12
  isRangePicker: c = !1,
13
13
  onChange: o = () => {
14
14
  },
@@ -24,9 +24,9 @@ const Q = ({
24
24
  dataTestId: x,
25
25
  placement: B
26
26
  }) => {
27
- const s = F(() => L(T || {}), [T]), [l, n] = v(!1), [D, b] = v(""), [O, m] = v(s), {
27
+ const s = G(() => N(T || {}), [T]), [l, n] = v(!1), [D, b] = v(""), [O, m] = v(s), {
28
28
  keyboardProps: M
29
- } = $({
29
+ } = z({
30
30
  events: {
31
31
  keydown: {
32
32
  onEscape: () => {
@@ -55,7 +55,7 @@ const Q = ({
55
55
  });
56
56
  }, [o]), d = f(() => {
57
57
  D.length && b("");
58
- }, [D]), h = f((e) => {
58
+ }, [D]), _ = f((e) => {
59
59
  const t = e.startOf("day"), a = e.endOf("day");
60
60
  return m(c ? (r) => r.from && r.to ? {
61
61
  from: t,
@@ -73,11 +73,11 @@ const Q = ({
73
73
  from: t,
74
74
  to: a
75
75
  });
76
- }, [c]), j = f(() => {
76
+ }, [c]), h = f(() => {
77
77
  m(i), o(i), d(), n(!1);
78
- }, [o, d]), q = f(() => {
78
+ }, [o, d]), j = f(() => {
79
79
  n(!l);
80
- }, [l]), K = f((e) => {
80
+ }, [l]), q = f((e) => {
81
81
  if (!k && !p.filterType)
82
82
  return !1;
83
83
  if (p?.filterType)
@@ -95,11 +95,11 @@ const Q = ({
95
95
  });
96
96
  m(i), o(i);
97
97
  }
98
- }, [k, p?.filterType, d, o, A, c, s.from, s.to]), V = f(() => {
98
+ }, [k, p?.filterType, d, o, A, c, s.from, s.to]), K = f(() => {
99
99
  E(O);
100
100
  }, [E, O]);
101
- return /* @__PURE__ */ u("div", { ...M, children: /* @__PURE__ */ u(_, { isVisible: l, setIsVisible: n, placement: B, offsetY: 8, parent: /* @__PURE__ */ u(N, { filterConfig: p, isRangePicker: c, selectedDay: s, inputProps: P, dateFormatOverride: w, handleIconClick: q, handleClear: K, isOpen: l, dataTestId: x }), children: /* @__PURE__ */ u("div", { css: H(), children: /* @__PURE__ */ u(J, { selectedOption: D, setSelectedOption: Y, extraOptions: y, isRangePicker: c, onDaySelect: h, selectedDays: O, disabledDates: I, onClearAll: j, onApply: V }) }) }) });
102
- }, te = z(Q, G);
101
+ return /* @__PURE__ */ u("div", { ...M, children: /* @__PURE__ */ u(V, { isVisible: l, setIsVisible: n, placement: B, offsetY: 8, parent: /* @__PURE__ */ u(Q, { filterConfig: p, isRangePicker: c, selectedDay: s, inputProps: P, dateFormatOverride: w, handleIconClick: j, handleClear: q, isOpen: l, dataTestId: x }), children: /* @__PURE__ */ u("div", { css: J(), children: /* @__PURE__ */ u(L, { selectedOption: D, setSelectedOption: Y, extraOptions: y, isRangePicker: c, onDaySelect: _, selectedDays: O, disabledDates: I, onClearAll: h, onApply: K }) }) }) });
102
+ }, te = F(U, H);
103
103
  export {
104
104
  te as default
105
105
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "@emotion/react/jsx-runtime";
2
2
  import _ from "../../../hooks/useKeyboardEvents.js";
3
3
  import n from "react";
4
- import { emptyDayStyle as $, dayWrapperStyle as C, dayStyle as D } from "./Day.style.js";
4
+ import { emptyDayStyle as $, dayStyle as C, dayWrapperStyle as D } from "./Day.style.js";
5
5
  import { currentDay as a } from "../utils.js";
6
6
  const g = ({
7
7
  day: t,
@@ -31,14 +31,14 @@ const g = ({
31
31
  });
32
32
  return t ? /* @__PURE__ */ s("td", { style: {
33
33
  padding: 0
34
- }, onClick: e ? void 0 : u, children: /* @__PURE__ */ s("div", { css: C({
34
+ }, onClick: e ? void 0 : u, children: /* @__PURE__ */ s("div", { css: D({
35
35
  isSelected: c,
36
36
  isBetween: l,
37
37
  isLast: i,
38
38
  isFirst: y,
39
39
  isToday: d,
40
40
  isDisabled: e
41
- }), tabIndex: v, "data-testid": `${t}_${r + 1}_${o}${c ? "_selected" : ""}`, ...k, children: /* @__PURE__ */ s("div", { css: D({
41
+ }), tabIndex: v, "data-testid": `${t}_${r + 1}_${o}${c ? "_selected" : ""}`, ...k, children: /* @__PURE__ */ s("div", { css: C({
42
42
  isSelected: c,
43
43
  isBetween: l,
44
44
  isToday: d,
@@ -4,11 +4,11 @@ import { inRange as v, chunk as C } from "lodash-es";
4
4
  import * as l from "react";
5
5
  import { useCallback as i } from "react";
6
6
  import T from "../../../utils/date.js";
7
- import j from "./hooks/useMonthKeyboardNavigation.js";
8
- import { weekDaysWrapperStyle as P, weekDayStyle as R, datesWrapperStyle as _ } from "./Month.style.js";
9
- import { getNumWeeksForMonth as A, calculateSelectedDay as L, calculateDisabledDays as N, calculatedDayIsBetween as O, calculateSelectedDayPosition as K } from "./Month.utils.js";
10
- import Y from "../Day/Day.js";
11
- import { currentDay as q } from "../utils.js";
7
+ import j from "../Day/Day.js";
8
+ import { currentDay as P } from "../utils.js";
9
+ import R from "./hooks/useMonthKeyboardNavigation.js";
10
+ import { weekDayStyle as _, weekDaysWrapperStyle as A, datesWrapperStyle as L } from "./Month.style.js";
11
+ import { getNumWeeksForMonth as N, calculateSelectedDay as O, calculateDisabledDays as K, calculatedDayIsBetween as Y, calculateSelectedDayPosition as q } from "./Month.utils.js";
12
12
  T.extend(g);
13
13
  const z = ["Monday", "Tuesday", "Wednesday", "Thurdsday", "Friday", "Saturday", "Sunday"], E = ({
14
14
  year: t,
@@ -19,48 +19,27 @@ const z = ["Monday", "Tuesday", "Wednesday", "Thurdsday", "Friday", "Saturday",
19
19
  isFirstCalendar: y
20
20
  }) => {
21
21
  const b = l.useMemo(() => {
22
- const s = q.month(e).year(t).date(1), n = s.daysInMonth(), o = s.day() || 7, c = 7, F = A(t, e), w = Array(F * c).fill(null).reduce((W, H, $) => {
22
+ const s = P.month(e).year(t).date(1), n = s.daysInMonth(), o = s.day() || 7, c = 7, F = N(t, e), w = Array(F * c).fill(null).reduce((W, H, $) => {
23
23
  const m = $ + 1, x = v(m, o, n + o) ? m - o + 1 : void 0;
24
24
  return [...W, x];
25
25
  }, []);
26
26
  return C(w, c);
27
- }, [t, e]), S = i(L, []), k = i(N, []), D = i(O, []), d = i(K, []), {
27
+ }, [t, e]), S = i(O, []), k = i(K, []), D = i(Y, []), d = i(q, []), {
28
28
  focusedDay: u,
29
29
  setFocusedDay: h,
30
30
  calendarRef: M,
31
31
  keyboardProps: B
32
- } = j({
32
+ } = R({
33
33
  selectedDays: a,
34
34
  isFirstCalendar: y,
35
35
  month: e,
36
36
  year: t
37
37
  });
38
38
  return /* @__PURE__ */ I(l.Fragment, { children: [
39
- /* @__PURE__ */ r("div", { css: P(), children: z.map((s) => /* @__PURE__ */ r("div", { css: R(), children: s.substr(0, 2) }, s)) }),
40
- /* @__PURE__ */ r("table", { css: _(), ref: M, tabIndex: 0, "data-testid": "calendar_table", ...B, onFocus: () => {
39
+ /* @__PURE__ */ r("div", { css: A(), children: z.map((s) => /* @__PURE__ */ r("div", { css: _(), children: s.substr(0, 2) }, s)) }),
40
+ /* @__PURE__ */ r("table", { css: L(), ref: M, tabIndex: 0, "data-testid": "calendar_table", ...B, onFocus: () => {
41
41
  u === 0 && h(1);
42
- }, children: /* @__PURE__ */ r("tbody", { children: b.map((s, n) => /* @__PURE__ */ r(
43
- "tr",
44
- {
45
- children: s.map((o, c) => /* @__PURE__ */ r(
46
- Y,
47
- {
48
- tabIndex: u === o ? 0 : -1,
49
- year: t,
50
- month: e,
51
- day: o,
52
- onSelect: f,
53
- isDisabled: !!k(o, e, t, p),
54
- isSelected: !!S(o, e, t, a.from, a.to),
55
- isBetween: !!D(o, e, t, a.from, a.to),
56
- isLast: !!d(o, "last", e, t, a.from, a.to),
57
- isFirst: !!d(o, "first", e, t, a.from, a.to)
58
- },
59
- `${t}-${e}-${n}-${c}-day`
60
- ))
61
- },
62
- `${t}-${e}-${n}-week`
63
- )) }) })
42
+ }, children: /* @__PURE__ */ r("tbody", { children: b.map((s, n) => /* @__PURE__ */ r("tr", { children: s.map((o, c) => /* @__PURE__ */ r(j, { tabIndex: u === o ? 0 : -1, year: t, month: e, day: o, onSelect: f, isDisabled: !!k(o, e, t, p), isSelected: !!S(o, e, t, a.from, a.to), isBetween: !!D(o, e, t, a.from, a.to), isLast: !!d(o, "last", e, t, a.from, a.to), isFirst: !!d(o, "first", e, t, a.from, a.to) }, `${t}-${e}-${n}-${c}-day`)) }, `${t}-${e}-${n}-week`)) }) })
64
43
  ] });
65
44
  }, st = l.memo(E);
66
45
  export {