@orfium/ictinus 5.45.1 → 5.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (324) 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/cover/Cover.css.d.ts +19 -0
  83. package/dist/src/cover/Cover.d.ts +426 -0
  84. package/dist/src/cover/index.d.ts +1 -0
  85. package/dist/src/data-table/DataTable.d.ts +8 -0
  86. package/dist/src/data-table/DataTableBody.d.ts +2 -2
  87. package/dist/src/icons/{Icon.d.ts → IconPrimitive.d.ts} +2 -2
  88. package/dist/src/icons/index.d.ts +1 -0
  89. package/dist/src/tag-group/TagGroup.css.d.ts +33 -0
  90. package/dist/src/tag-group/TagGroup.d.ts +850 -0
  91. package/dist/src/tag-group/TagGroup.test.d.ts +1 -0
  92. package/dist/src/tag-group/index.d.ts +1 -0
  93. package/dist/src/vanilla/Popover/Popover.css.d.ts +5 -0
  94. package/dist/src/vanilla/Popover/Popover.d.ts +6 -6
  95. package/dist/src/vanilla/Table/TableCell.css.d.ts +1 -0
  96. package/dist/src/vanilla/Table/TableCell.d.ts +1 -1
  97. package/dist/src/vanilla/index.d.ts +4 -0
  98. package/dist/theme/index.js +6 -6
  99. package/dist/vanilla/Dropdown/Dropdown-css.js +3 -3
  100. package/dist/vanilla/Menu/Menu-css.js +5 -5
  101. package/dist/vanilla/Popover/Popover-css.js +6 -5
  102. package/dist/vanilla/Popover/Popover.js +9 -14
  103. package/dist/vanilla/Table/Table-css.js +5 -5
  104. package/dist/vanilla/Table/TableBody-css.js +3 -3
  105. package/dist/vanilla/Table/TableCell-css.js +5 -5
  106. package/dist/vanilla/Table/TableFooter-css.js +3 -3
  107. package/dist/vanilla/Table/TableHeader-css.js +3 -3
  108. package/dist/vanilla/Table/TableHeaderCell-css.js +7 -7
  109. package/dist/vanilla/Table/TableRow-css.js +4 -4
  110. package/dist/vanilla/Text/Text-css.js +3 -3
  111. package/dist/vanilla/Tooltip/Tooltip-css.js +7 -7
  112. package/dist/vanilla/Tooltip/Tooltip.js +1 -1
  113. package/dist/vanilla/assets/src/actions/ActionsContent.css.ts.vanilla-Blx4pWwn.css +22 -0
  114. package/dist/vanilla/assets/src/avatar/{Avatar.css.ts.vanilla-CZZZLE6B.css → Avatar.css.ts.vanilla-CU7FGH6V.css} +20 -20
  115. package/dist/vanilla/assets/src/avatar/AvatarGroup.css.ts.vanilla-D6kTnJJc.css +4 -0
  116. package/dist/vanilla/assets/src/button/{Button.css.ts.vanilla-DWGwo7ec.css → Button.css.ts.vanilla-oeHduGpK.css} +5 -5
  117. package/dist/vanilla/assets/src/cover/Cover.css.ts.vanilla-C7DEoyT4.css +35 -0
  118. package/dist/vanilla/assets/src/data-table/DataTableBody.css.ts.vanilla-CV2meKzA.css +73 -0
  119. package/dist/vanilla/assets/src/data-table/{DataTableHeaderCell.css.ts.vanilla-oEbGsneI.css → DataTableHeaderCell.css.ts.vanilla-B6ro3v2t.css} +9 -9
  120. package/dist/vanilla/assets/src/layers/layers.css.ts.vanilla-IMjbF_n6.css +1 -0
  121. package/dist/vanilla/assets/src/nav/{Nav.css.ts.vanilla-DvISuT4D.css → Nav.css.ts.vanilla-z6mYlE6m.css} +12 -12
  122. package/dist/vanilla/assets/src/skeleton/Skeleton.css.ts.vanilla-DjAtJh-R.css +6 -0
  123. package/dist/vanilla/assets/src/sprinkles/{properties.css.ts.vanilla-DyLlJF0l.css → properties.css.ts.vanilla-CgAnwoJl.css} +3361 -3361
  124. package/dist/vanilla/assets/src/tag-group/TagGroup.css.ts.vanilla-CRfENPd1.css +40 -0
  125. package/dist/vanilla/assets/src/vanilla/Menu/{Menu.css.ts.vanilla-BbxUO_2R.css → Menu.css.ts.vanilla-_CX_KJYW.css} +6 -6
  126. package/dist/vanilla/assets/src/vanilla/Popover/Popover.css.ts.vanilla-ChNqyd-w.css +24 -0
  127. package/dist/vanilla/assets/src/vanilla/Table/{Table.css.ts.vanilla-DHPpvjXF.css → Table.css.ts.vanilla-Cx9oEFSr.css} +7 -7
  128. package/dist/vanilla/assets/src/vanilla/Table/TableBody.css.ts.vanilla-D6wJiebX.css +6 -0
  129. package/dist/vanilla/assets/src/vanilla/Table/{TableCell.css.ts.vanilla-x-g765jR.css → TableCell.css.ts.vanilla-yoCXB3yl.css} +10 -10
  130. package/dist/vanilla/assets/src/vanilla/Table/{TableFooter.css.ts.vanilla-JeIag8ft.css → TableFooter.css.ts.vanilla-6lhlGhY6.css} +4 -4
  131. package/dist/vanilla/assets/src/vanilla/Table/TableHeader.css.ts.vanilla-BFUvzHUo.css +8 -0
  132. package/dist/vanilla/assets/src/vanilla/Table/{TableHeaderCell.css.ts.vanilla-CXhM02nT.css → TableHeaderCell.css.ts.vanilla-BEjMlivm.css} +9 -9
  133. package/dist/vanilla/assets/src/vanilla/Table/{TableRow.css.ts.vanilla-DsvTxUhf.css → TableRow.css.ts.vanilla-Ce2GojWZ.css} +5 -5
  134. package/dist/vanilla/assets/src/vanilla/Text/{Text.css.ts.vanilla-DJwkC8fa.css → Text.css.ts.vanilla-Dc-awaCi.css} +13 -13
  135. package/dist/vanilla/assets/src/vanilla/Tooltip/{Tooltip.css.ts.vanilla-D1vIOhs9.css → Tooltip.css.ts.vanilla-C_aGKL12.css} +13 -13
  136. package/dist/vanilla/index.d.ts +2476 -281
  137. package/dist/vanilla/index.js +6 -0
  138. package/dist/vanilla/package.json.js +1 -1
  139. package/dist/vanilla/src/actions/ActionsContent-css.js +5 -5
  140. package/dist/vanilla/src/actions/ActionsRoot-css.js +3 -3
  141. package/dist/vanilla/src/avatar/Avatar-css.js +7 -7
  142. package/dist/vanilla/src/avatar/AvatarGroup-css.js +5 -5
  143. package/dist/vanilla/src/badge/Badge-css.js +12 -0
  144. package/dist/vanilla/src/badge/Badge.js +48 -0
  145. package/dist/vanilla/src/button/Button-css.js +6 -6
  146. package/dist/vanilla/src/button/Button.js +1 -1
  147. package/dist/vanilla/src/components/Controls/CheckBox/CheckBox.js +1 -1
  148. package/dist/vanilla/src/components/Controls/Radio/Radio.js +0 -2
  149. package/dist/vanilla/src/components/Controls/Radio/components/RadioGroup/RadioGroup.js +0 -2
  150. package/dist/vanilla/src/components/Controls/Switch/Switch.js +2 -2
  151. package/dist/vanilla/src/components/Icon/Icon.js +1 -1
  152. package/dist/vanilla/src/cover/Cover-css.js +7 -0
  153. package/dist/vanilla/src/cover/Cover.js +13 -0
  154. package/dist/vanilla/src/data-table/DataTableBody-css.js +11 -11
  155. package/dist/vanilla/src/data-table/DataTableBody.js +3 -0
  156. package/dist/vanilla/src/data-table/DataTableEditColumns.js +1 -0
  157. package/dist/vanilla/src/data-table/DataTableHeaderCell-css.js +9 -9
  158. package/dist/vanilla/src/data-table/DataTableHeaderCell.js +1 -0
  159. package/dist/vanilla/src/data-table/DataTableRow.js +11 -23
  160. package/dist/vanilla/src/icon/Icon.js +1 -0
  161. package/dist/vanilla/src/icons/AccountIcon.js +2 -2
  162. package/dist/vanilla/src/icons/AlbumIcon.js +2 -2
  163. package/dist/vanilla/src/icons/AnalyticsIcon.js +2 -2
  164. package/dist/vanilla/src/icons/AppsIcon.js +2 -2
  165. package/dist/vanilla/src/icons/ArrowDownIcon.js +2 -2
  166. package/dist/vanilla/src/icons/ArrowLeftIcon.js +2 -2
  167. package/dist/vanilla/src/icons/ArrowRightIcon.js +2 -2
  168. package/dist/vanilla/src/icons/ArrowUpIcon.js +2 -2
  169. package/dist/vanilla/src/icons/ArtistIcon.js +2 -2
  170. package/dist/vanilla/src/icons/AssetIcon.js +2 -2
  171. package/dist/vanilla/src/icons/AudioIcon.js +2 -2
  172. package/dist/vanilla/src/icons/AudioOffIcon.js +2 -2
  173. package/dist/vanilla/src/icons/BookmarkIcon.js +2 -2
  174. package/dist/vanilla/src/icons/BookmarkOffIcon.js +2 -2
  175. package/dist/vanilla/src/icons/BroadcastIcon.js +2 -2
  176. package/dist/vanilla/src/icons/CalendarIcon.js +2 -2
  177. package/dist/vanilla/src/icons/CatalogIcon.js +2 -2
  178. package/dist/vanilla/src/icons/ChannelIcon.js +2 -2
  179. package/dist/vanilla/src/icons/ChatIcon.js +2 -2
  180. package/dist/vanilla/src/icons/CheckIcon.js +2 -2
  181. package/dist/vanilla/src/icons/ChevronDownIcon.js +2 -2
  182. package/dist/vanilla/src/icons/ChevronLeftIcon.js +2 -2
  183. package/dist/vanilla/src/icons/ChevronRightIcon.js +2 -2
  184. package/dist/vanilla/src/icons/ChevronUpIcon.js +2 -2
  185. package/dist/vanilla/src/icons/CinemaIcon.js +2 -2
  186. package/dist/vanilla/src/icons/ClaimIcon.js +2 -2
  187. package/dist/vanilla/src/icons/CloseIcon.js +2 -2
  188. package/dist/vanilla/src/icons/ColumnChooserIcon.js +2 -2
  189. package/dist/vanilla/src/icons/CompositionIcon.js +2 -2
  190. package/dist/vanilla/src/icons/ConcertIcon.js +2 -2
  191. package/dist/vanilla/src/icons/ConflictIcon.js +2 -2
  192. package/dist/vanilla/src/icons/ConvertIcon.js +2 -2
  193. package/dist/vanilla/src/icons/CopyIcon.js +2 -2
  194. package/dist/vanilla/src/icons/CueSheetIcon.js +2 -2
  195. package/dist/vanilla/src/icons/DashboardIcon.js +2 -2
  196. package/dist/vanilla/src/icons/DatasetIcon.js +2 -2
  197. package/dist/vanilla/src/icons/DeleteIcon.js +2 -2
  198. package/dist/vanilla/src/icons/DeliveryIcon.js +2 -2
  199. package/dist/vanilla/src/icons/DetailsIcon.js +2 -2
  200. package/dist/vanilla/src/icons/DigitalIcon.js +2 -2
  201. package/dist/vanilla/src/icons/DistributionIcon.js +2 -2
  202. package/dist/vanilla/src/icons/DownloadIcon.js +2 -2
  203. package/dist/vanilla/src/icons/EarningsIcon.js +2 -2
  204. package/dist/vanilla/src/icons/EditIcon.js +2 -2
  205. package/dist/vanilla/src/icons/EntitiesIcon.js +2 -2
  206. package/dist/vanilla/src/icons/ErrorIcon.js +2 -2
  207. package/dist/vanilla/src/icons/ExternalLinkIcon.js +2 -2
  208. package/dist/vanilla/src/icons/EyeIcon.js +2 -2
  209. package/dist/vanilla/src/icons/EyeOffIcon.js +2 -2
  210. package/dist/vanilla/src/icons/FavoriteIcon.js +2 -2
  211. package/dist/vanilla/src/icons/FavoriteOffIcon.js +2 -2
  212. package/dist/vanilla/src/icons/FileIcon.js +2 -2
  213. package/dist/vanilla/src/icons/FilterIcon.js +2 -2
  214. package/dist/vanilla/src/icons/FlagIcon.js +2 -2
  215. package/dist/vanilla/src/icons/FlagOffIcon.js +2 -2
  216. package/dist/vanilla/src/icons/ForwardIcon.js +2 -2
  217. package/dist/vanilla/src/icons/FreezeIcon.js +2 -2
  218. package/dist/vanilla/src/icons/HelpIcon.js +2 -2
  219. package/dist/vanilla/src/icons/{Icon.js → IconPrimitive.js} +3 -3
  220. package/dist/vanilla/src/icons/ImageIcon.js +2 -2
  221. package/dist/vanilla/src/icons/ImageOffIcon.js +2 -2
  222. package/dist/vanilla/src/icons/IncomeIcon.js +2 -2
  223. package/dist/vanilla/src/icons/InformationalIcon.js +2 -2
  224. package/dist/vanilla/src/icons/InsightIcon.js +2 -2
  225. package/dist/vanilla/src/icons/InvoiceIcon.js +2 -2
  226. package/dist/vanilla/src/icons/IssueIcon.js +2 -2
  227. package/dist/vanilla/src/icons/KeywordIcon.js +2 -2
  228. package/dist/vanilla/src/icons/LanguageIcon.js +2 -2
  229. package/dist/vanilla/src/icons/LegalIcon.js +2 -2
  230. package/dist/vanilla/src/icons/LicenseIcon.js +2 -2
  231. package/dist/vanilla/src/icons/LinkIcon.js +2 -2
  232. package/dist/vanilla/src/icons/LocationIcon.js +2 -2
  233. package/dist/vanilla/src/icons/LockIcon.js +2 -2
  234. package/dist/vanilla/src/icons/LoginIcon.js +2 -2
  235. package/dist/vanilla/src/icons/LogoutIcon.js +2 -2
  236. package/dist/vanilla/src/icons/MailIcon.js +2 -2
  237. package/dist/vanilla/src/icons/ManualIcon.js +2 -2
  238. package/dist/vanilla/src/icons/MediaFileIcon.js +2 -2
  239. package/dist/vanilla/src/icons/MenuIcon.js +2 -2
  240. package/dist/vanilla/src/icons/MinusIcon.js +2 -2
  241. package/dist/vanilla/src/icons/MoreOptionsIcon.js +2 -2
  242. package/dist/vanilla/src/icons/NextIcon.js +2 -2
  243. package/dist/vanilla/src/icons/NotificationIcon.js +2 -2
  244. package/dist/vanilla/src/icons/OrganizationIcon.js +2 -2
  245. package/dist/vanilla/src/icons/PageFirstIcon.js +2 -2
  246. package/dist/vanilla/src/icons/PageLastIcon.js +2 -2
  247. package/dist/vanilla/src/icons/PairIcon.js +2 -2
  248. package/dist/vanilla/src/icons/PauseIcon.js +2 -2
  249. package/dist/vanilla/src/icons/PendingIcon.js +2 -2
  250. package/dist/vanilla/src/icons/PlayIcon.js +2 -2
  251. package/dist/vanilla/src/icons/PlaycountIcon.js +2 -2
  252. package/dist/vanilla/src/icons/PlusIcon.js +2 -2
  253. package/dist/vanilla/src/icons/PolicyIcon.js +2 -2
  254. package/dist/vanilla/src/icons/PreviousIcon.js +2 -2
  255. package/dist/vanilla/src/icons/PublicPerformanceIcon.js +2 -2
  256. package/dist/vanilla/src/icons/PublisherIcon.js +2 -2
  257. package/dist/vanilla/src/icons/RadioIcon.js +2 -2
  258. package/dist/vanilla/src/icons/RecordLabelIcon.js +2 -2
  259. package/dist/vanilla/src/icons/RecordingIcon.js +2 -2
  260. package/dist/vanilla/src/icons/RedoIcon.js +2 -2
  261. package/dist/vanilla/src/icons/RefreshIcon.js +2 -2
  262. package/dist/vanilla/src/icons/ReportIcon.js +2 -2
  263. package/dist/vanilla/src/icons/RestoreIcon.js +2 -2
  264. package/dist/vanilla/src/icons/ResumeIcon.js +2 -2
  265. package/dist/vanilla/src/icons/ReviewIcon.js +2 -2
  266. package/dist/vanilla/src/icons/RewindIcon.js +2 -2
  267. package/dist/vanilla/src/icons/RoleIcon.js +2 -2
  268. package/dist/vanilla/src/icons/SearchFilledIcon.js +2 -2
  269. package/dist/vanilla/src/icons/SearchIcon.js +2 -2
  270. package/dist/vanilla/src/icons/SettingsIcon.js +2 -2
  271. package/dist/vanilla/src/icons/ShareIcon.js +2 -2
  272. package/dist/vanilla/src/icons/SortAscendingIcon.js +2 -2
  273. package/dist/vanilla/src/icons/SortDescendingIcon.js +2 -2
  274. package/dist/vanilla/src/icons/SortIcon.js +2 -2
  275. package/dist/vanilla/src/icons/StatusIndicatorIcon.js +2 -2
  276. package/dist/vanilla/src/icons/StopIcon.js +2 -2
  277. package/dist/vanilla/src/icons/SuccessIcon.js +2 -2
  278. package/dist/vanilla/src/icons/TagIcon.js +2 -2
  279. package/dist/vanilla/src/icons/TelevisionIcon.js +2 -2
  280. package/dist/vanilla/src/icons/ThumbsDownIcon.js +2 -2
  281. package/dist/vanilla/src/icons/ThumbsUpIcon.js +2 -2
  282. package/dist/vanilla/src/icons/TrendingDownIcon.js +2 -2
  283. package/dist/vanilla/src/icons/TrendingUpIcon.js +2 -2
  284. package/dist/vanilla/src/icons/TriangleDownIcon.js +2 -2
  285. package/dist/vanilla/src/icons/TriangleLeftIcon.js +2 -2
  286. package/dist/vanilla/src/icons/TriangleRightIcon.js +2 -2
  287. package/dist/vanilla/src/icons/TriangleUpIcon.js +2 -2
  288. package/dist/vanilla/src/icons/UndoIcon.js +2 -2
  289. package/dist/vanilla/src/icons/UnfreezeIcon.js +2 -2
  290. package/dist/vanilla/src/icons/UnlinkIcon.js +2 -2
  291. package/dist/vanilla/src/icons/UnlockIcon.js +2 -2
  292. package/dist/vanilla/src/icons/UnpairIcon.js +2 -2
  293. package/dist/vanilla/src/icons/UnverifiedIcon.js +2 -2
  294. package/dist/vanilla/src/icons/UpdateIcon.js +2 -2
  295. package/dist/vanilla/src/icons/UploadIcon.js +2 -2
  296. package/dist/vanilla/src/icons/UsageIcon.js +2 -2
  297. package/dist/vanilla/src/icons/UserIcon.js +2 -2
  298. package/dist/vanilla/src/icons/UsersIcon.js +2 -2
  299. package/dist/vanilla/src/icons/VerifiedIcon.js +2 -2
  300. package/dist/vanilla/src/icons/VideoIcon.js +2 -2
  301. package/dist/vanilla/src/icons/VideoOffIcon.js +2 -2
  302. package/dist/vanilla/src/icons/WarningIcon.js +2 -2
  303. package/dist/vanilla/src/icons/WorkIcon.js +2 -2
  304. package/dist/vanilla/src/icons/WriterIcon.js +2 -2
  305. package/dist/vanilla/src/icons/YouTubeIcon.js +2 -2
  306. package/dist/vanilla/src/layers/layers-css.js +2 -2
  307. package/dist/vanilla/src/nav/Nav-css.js +12 -12
  308. package/dist/vanilla/src/nav/Nav.js +2 -1
  309. package/dist/vanilla/src/skeleton/Skeleton-css.js +4 -4
  310. package/dist/vanilla/src/sprinkles/properties-css.js +5 -5
  311. package/dist/vanilla/src/tag-group/TagGroup-css.js +13 -0
  312. package/dist/vanilla/src/tag-group/TagGroup.js +211 -0
  313. package/package.json +12 -39
  314. package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/index.d.ts +0 -0
  315. package/dist/src/components/ThemeProvider/Test.d.ts +0 -3
  316. package/dist/src/utils/storyshots.d.ts +0 -18
  317. package/dist/vanilla/assets/src/actions/ActionsContent.css.ts.vanilla-CUCKXWVY.css +0 -22
  318. package/dist/vanilla/assets/src/avatar/AvatarGroup.css.ts.vanilla-BsWotv-l.css +0 -4
  319. package/dist/vanilla/assets/src/data-table/DataTableBody.css.ts.vanilla-hZeHXPeK.css +0 -70
  320. package/dist/vanilla/assets/src/layers/layers.css.ts.vanilla-CuOp6byd.css +0 -1
  321. package/dist/vanilla/assets/src/skeleton/Skeleton.css.ts.vanilla-CTwtVX07.css +0 -6
  322. package/dist/vanilla/assets/src/vanilla/Popover/Popover.css.ts.vanilla-DBnr4NHP.css +0 -10
  323. package/dist/vanilla/assets/src/vanilla/Table/TableBody.css.ts.vanilla-CVJsulIB.css +0 -6
  324. package/dist/vanilla/assets/src/vanilla/Table/TableHeader.css.ts.vanilla-BTAe_sKO.css +0 -8
@@ -1,45 +1,45 @@
1
1
  import { jsx as r, jsxs as l } from "@emotion/react/jsx-runtime";
2
2
  import * as W from "react";
3
- import { useState as c, useCallback as w } from "react";
4
- import v from "./components/MonthWrapper/MonthWrapper.js";
5
- import { overlayWrapperStyle as A, buttonsMonthsWrapperStyle as L, optionsWrapperStyle as j, optionStyle as x, monthsWrapperStyle as M, buttonsWrapperStyle as B } from "./OverlayComponent.style.js";
3
+ import { useState as i, useCallback as w } from "react";
4
+ import f from "./components/MonthWrapper/MonthWrapper.js";
5
+ import { optionStyle as A, optionsWrapperStyle as L, monthsWrapperStyle as j, buttonsWrapperStyle as x, buttonsMonthsWrapperStyle as M, overlayWrapperStyle as B } from "./OverlayComponent.style.js";
6
6
  import { getLeftCalendarDate as I, getRightCalendarDate as T } from "./utils.js";
7
7
  import { CLEAR_ALL as _, APPLY as k } from "../constants.js";
8
- import y from "../../Button/Button.js";
8
+ import c from "../../Button/Button.js";
9
9
  var z = {
10
10
  name: "zjik7",
11
11
  styles: "display:flex"
12
12
  };
13
13
  const E = ({
14
- selectedOption: u,
15
- setSelectedOption: C = () => {
14
+ selectedOption: v,
15
+ setSelectedOption: y = () => {
16
16
  },
17
17
  isRangePicker: o = !1,
18
18
  extraOptions: n = [],
19
19
  onDaySelect: s,
20
20
  selectedDays: e,
21
21
  disabledDates: p,
22
- onClearAll: S = () => {
22
+ onClearAll: u = () => {
23
23
  },
24
- onApply: b = () => {
24
+ onApply: C = () => {
25
25
  }
26
26
  }) => {
27
- const [d, m] = c(I(e)), [h, i] = c(T(e)), f = w((t = "back") => {
28
- m((a) => a.month(a.month() + (t === "forward" ? 1 : -1))), i((a) => a.month(a.month() + (t === "forward" ? 1 : -1)));
29
- }, [d, h]);
30
- return /* @__PURE__ */ r("div", { css: A(), children: /* @__PURE__ */ l("div", { css: L(), "data-testid": "buttonMonthsWrapperStyle", children: [
27
+ const [S, d] = i(I(e)), [b, m] = i(T(e)), h = w((t = "back") => {
28
+ d((a) => a.month(a.month() + (t === "forward" ? 1 : -1))), m((a) => a.month(a.month() + (t === "forward" ? 1 : -1)));
29
+ }, []);
30
+ return /* @__PURE__ */ r("div", { css: B(), children: /* @__PURE__ */ l("div", { css: M(), "data-testid": "buttonMonthsWrapperStyle", children: [
31
31
  /* @__PURE__ */ l("div", { css: z, children: [
32
- n.length > 0 && o && /* @__PURE__ */ r("div", { css: j(), "data-testid": "optionsWrapperStyle", children: n.map((t) => /* @__PURE__ */ r("div", { css: x({
33
- isSelected: u === t.value
34
- }), onClick: () => C(t.value), children: t.label }, t.value)) }),
35
- /* @__PURE__ */ l("div", { css: M(), children: [
36
- /* @__PURE__ */ r(v, { date: d, onDaySelect: s, selectedDays: e, setDate: m, handleArrow: f, showedArrows: o ? "left" : "both", disabledDates: p, isRangePicker: o }),
37
- o && /* @__PURE__ */ r(v, { date: h, onDaySelect: s, selectedDays: e, setDate: i, handleArrow: f, showedArrows: o ? "right" : "both", disabledDates: p, isRangePicker: o })
32
+ n.length > 0 && o && /* @__PURE__ */ r("div", { css: L(), "data-testid": "optionsWrapperStyle", children: n.map((t) => /* @__PURE__ */ r("div", { css: A({
33
+ isSelected: v === t.value
34
+ }), onClick: () => y(t.value), children: t.label }, t.value)) }),
35
+ /* @__PURE__ */ l("div", { css: j(), children: [
36
+ /* @__PURE__ */ r(f, { date: S, onDaySelect: s, selectedDays: e, setDate: d, handleArrow: h, showedArrows: o ? "left" : "both", disabledDates: p, isRangePicker: o }),
37
+ o && /* @__PURE__ */ r(f, { date: b, onDaySelect: s, selectedDays: e, setDate: m, handleArrow: h, showedArrows: o ? "right" : "both", disabledDates: p, isRangePicker: o })
38
38
  ] })
39
39
  ] }),
40
- /* @__PURE__ */ l("div", { css: B(), children: [
41
- /* @__PURE__ */ r(y, { onClick: S, dataTestId: "cancel", type: "tertiary", children: _ }),
42
- /* @__PURE__ */ r(y, { onClick: b, dataTestId: "apply", isDisabled: !e.from || !e.to, children: k })
40
+ /* @__PURE__ */ l("div", { css: x(), children: [
41
+ /* @__PURE__ */ r(c, { onClick: u, dataTestId: "cancel", type: "tertiary", children: _ }),
42
+ /* @__PURE__ */ r(c, { onClick: C, dataTestId: "apply", isDisabled: !e.from || !e.to, children: k })
43
43
  ] })
44
44
  ] }) });
45
45
  }, H = W.memo(E);
@@ -2,7 +2,7 @@ import { jsx as o, jsxs as r } from "@emotion/react/jsx-runtime";
2
2
  import b from "../../../../../hooks/useKeyboardEvents.js";
3
3
  import { head as S, range as k } from "lodash-es";
4
4
  import y, { useState as C, useMemo as O, useRef as T } from "react";
5
- import { monthWrapperStyle as I, monthHeaderWrapperStyle as W, monthHeaderNavigationIconWrapperStyle as d, monthHeaderTitleWrapperStyle as _, monthHeaderTitleStyle as x } from "./MonthWrapper.style.js";
5
+ import { monthHeaderNavigationIconWrapperStyle as d, monthHeaderTitleStyle as I, monthHeaderTitleWrapperStyle as W, monthHeaderWrapperStyle as _, monthWrapperStyle as x } from "./MonthWrapper.style.js";
6
6
  import H from "../../../Month/Month.js";
7
7
  import u from "../../../../IconButton/IconButton.js";
8
8
  import F from "../../../../Select/components/SelectMenu/SelectMenu.js";
@@ -45,16 +45,16 @@ const L = ({
45
45
  },
46
46
  hasPropagation: !0
47
47
  });
48
- return /* @__PURE__ */ o(y.Fragment, { children: /* @__PURE__ */ r("div", { css: I(), children: [
49
- /* @__PURE__ */ r("div", { css: W(), children: [
48
+ return /* @__PURE__ */ o(y.Fragment, { children: /* @__PURE__ */ r("div", { css: x(), children: [
49
+ /* @__PURE__ */ r("div", { css: _(), children: [
50
50
  (e === "left" || e === "both") && /* @__PURE__ */ o("div", { css: d({
51
51
  position: "left"
52
52
  }), children: /* @__PURE__ */ o(u, { iconName: "triangleLeft", type: "tertiary", onClick: () => l("back"), dataTestId: "month_back" }) }),
53
53
  /* @__PURE__ */ r(N, { onClick: () => {
54
54
  c(!1);
55
55
  }, children: [
56
- /* @__PURE__ */ r("div", { css: _(), children: [
57
- /* @__PURE__ */ o("div", { css: x({
56
+ /* @__PURE__ */ r("div", { css: W(), children: [
57
+ /* @__PURE__ */ o("div", { css: I({
58
58
  isRangePicker: s
59
59
  }), "data-testid": "month_header", ...s ? {} : v, children: /* @__PURE__ */ r($, { onClick: s ? void 0 : () => c(!f), type: "tertiary", dataTestId: `${e !== "both" ? e + "_" : ""}month`, children: [
60
60
  t.format("MMMM"),
@@ -1,5 +1,5 @@
1
1
  import { css as n } from "@emotion/react";
2
- import { vars as e, rem as i } from "@orfium/tokens";
2
+ import { rem as i, vars as e } from "@orfium/tokens";
3
3
  const s = () => /* @__PURE__ */ n("display:flex;flex-direction:column;gap:", e.spacing[5], ";padding:", e.spacing[7], ";", "");
4
4
  var r = {
5
5
  name: "1wwyjck",
@@ -4,7 +4,7 @@ import v from "react-dom";
4
4
  import { useDOMRef as n } from "../utils/useDOMRef.js";
5
5
  import p from "../../hooks/useEscape.js";
6
6
  import { useOverlayStack as D } from "../../hooks/useOverlayStack.js";
7
- import { backdropStyle as R, anchorStyle as _, overlayStyle as b } from "./Drawer.style.js";
7
+ import { overlayStyle as R, anchorStyle as _, backdropStyle as b } from "./Drawer.style.js";
8
8
  import { DrawerContextProvider as S } from "./DrawerContext.js";
9
9
  const x = u.forwardRef(({
10
10
  isOpen: r,
@@ -31,7 +31,7 @@ const x = u.forwardRef(({
31
31
  o || l();
32
32
  }), w(() => {
33
33
  r ? e.style.overflow = "hidden" : e.style.overflow = "";
34
- }, [r, e.style]), e === null ? null : v.createPortal(/* @__PURE__ */ t(S, { hasFixedLayout: s, onClose: l, children: /* @__PURE__ */ t("div", { css: R({
34
+ }, [r, e.style]), e === null ? null : v.createPortal(/* @__PURE__ */ t(S, { hasFixedLayout: s, onClose: l, children: /* @__PURE__ */ t("div", { css: b({
35
35
  isOpen: r,
36
36
  anchor: f,
37
37
  size: a,
@@ -40,7 +40,7 @@ const x = u.forwardRef(({
40
40
  anchor: f,
41
41
  size: a,
42
42
  isBackgroundActive: o
43
- }), children: /* @__PURE__ */ t("div", { ...y, ref: d, css: b({
43
+ }), children: /* @__PURE__ */ t("div", { ...y, ref: d, css: R({
44
44
  isOpen: r,
45
45
  anchor: f,
46
46
  hasFixedLayout: s
@@ -1,5 +1,5 @@
1
1
  import { jsxs as a, jsx as o } from "@emotion/react/jsx-runtime";
2
- import { headerStyle as i, closeIconContainer as c } from "../../Drawer.style.js";
2
+ import { closeIconContainer as i, headerStyle as c } from "../../Drawer.style.js";
3
3
  import { useDrawerContext as d } from "../../DrawerContext.js";
4
4
  import l from "../../../Icon/Icon.js";
5
5
  const p = ({
@@ -11,12 +11,12 @@ const p = ({
11
11
  onClose: t = () => null,
12
12
  isScrollbarOnTop: n
13
13
  }] = d();
14
- return /* @__PURE__ */ a("div", { css: i({
14
+ return /* @__PURE__ */ a("div", { css: c({
15
15
  isFixed: s,
16
16
  hasBoxShadow: !n
17
17
  }), children: [
18
18
  e,
19
- /* @__PURE__ */ o("div", { css: c(), children: /* @__PURE__ */ o(l, { name: "close", onClick: t, dataTestId: `${r}_close_button` }) })
19
+ /* @__PURE__ */ o("div", { css: i(), children: /* @__PURE__ */ o(l, { name: "close", onClick: t, dataTestId: `${r}_close_button` }) })
20
20
  ] });
21
21
  };
22
22
  export {
@@ -6,7 +6,7 @@ import w, { useCallback as c } from "react";
6
6
  import { generateTestDataId as d } from "../../utils/helpers.js";
7
7
  import N from "../utils/ClickAwayListener/ClickAwayListener.js";
8
8
  import { optionsStyle as j } from "../utils/DropdownOptions/index.js";
9
- import { wrapperStyle as z, iconButtonWrapper as _, buttonSpanStyle as A, iconButtonSpanStyle as F } from "./DropdownButton.style.js";
9
+ import { iconButtonWrapper as z, buttonSpanStyle as _, iconButtonSpanStyle as A, wrapperStyle as F } from "./DropdownButton.style.js";
10
10
  import y from "../IconButton/IconButton.js";
11
11
  import R from "../Button/Button.js";
12
12
  import q from "../List/List.js";
@@ -36,15 +36,15 @@ const H = w.forwardRef((I, B) => {
36
36
  const O = String(L(Array.from(t))), u = s?.find((P) => P === O);
37
37
  u && p(u);
38
38
  }, [p, s]);
39
- return /* @__PURE__ */ o(N, { onClick: () => i(!1), children: /* @__PURE__ */ h("div", { css: z(), children: [
40
- v ? /* @__PURE__ */ o("div", { css: _({
39
+ return /* @__PURE__ */ o(N, { onClick: () => i(!1), children: /* @__PURE__ */ h("div", { css: F(), children: [
40
+ v ? /* @__PURE__ */ o("div", { css: z({
41
41
  type: e,
42
42
  isOpen: n
43
43
  }), children: /* @__PURE__ */ o(y, { type: e, size: r, iconName: S, onClick: f, dataTestPrefixId: d("icon-dropdown", a) }) }) : /* @__PURE__ */ h("div", { css: G, children: [
44
- /* @__PURE__ */ o("div", { css: A({
44
+ /* @__PURE__ */ o("div", { css: _({
45
45
  type: e
46
46
  }), children: /* @__PURE__ */ o(R, { type: e, size: r, ref: B, onClick: g, dataTestPrefixId: d("dropdown", a), children: x }) }),
47
- /* @__PURE__ */ o("div", { css: F({
47
+ /* @__PURE__ */ o("div", { css: A({
48
48
  isOpen: n,
49
49
  type: e
50
50
  }), children: /* @__PURE__ */ o(y, { type: e, size: r, iconName: "triangleDown", shape: "square", onClick: f, dataTestPrefixId: d("dropdown-toggle", a) }) })
@@ -1,24 +1,24 @@
1
1
  import { jsx as c } from "@emotion/react/jsx-runtime";
2
- import i, { forwardRef as n, useState as p, useCallback as d } from "react";
2
+ import i, { forwardRef as d, useState as n, useCallback as p } from "react";
3
3
  import F from "react-fast-compare";
4
4
  import S from "./Filter.js";
5
- const o = n(({
5
+ const o = d(({
6
6
  isMulti: t,
7
7
  selectedFilter: e,
8
8
  onChange: a = () => {
9
9
  },
10
10
  ...f
11
- }, m) => {
12
- const [u, r] = p(t ? e || [] : e || void 0), s = d((l) => {
11
+ }, u) => {
12
+ const [m, r] = n(t ? e || [] : e || void 0), s = p((l) => {
13
13
  r(l), a(l);
14
14
  }, [a]);
15
15
  return (
16
16
  // @ts-ignore
17
- /* @__PURE__ */ c(S, { ...f, selectedFilter: u, isMulti: t, onChange: s, onClear: () => r(t ? [] : void 0), ref: m })
17
+ /* @__PURE__ */ c(S, { ...f, selectedFilter: m, isMulti: t, onChange: s, onClear: () => r(t ? [] : void 0), ref: u })
18
18
  );
19
19
  });
20
20
  o.displayName = "StatefulFilter";
21
- const C = i.memo(o, F);
21
+ const x = i.memo(o, F);
22
22
  export {
23
- C as default
23
+ x as default
24
24
  };
@@ -1,7 +1,7 @@
1
1
  import { jsxs as a, jsx as i } from "@emotion/react/jsx-runtime";
2
2
  import { vars as t } from "@orfium/tokens";
3
3
  import d from "react";
4
- import { buttonStyles as h, iconStyles as w } from "./FilterButton.style.js";
4
+ import { iconStyles as h, buttonStyles as w } from "./FilterButton.style.js";
5
5
  import g from "../../../Tag/Tag.js";
6
6
  import n from "../../../Icon/Icon.js";
7
7
  var I = {
@@ -26,7 +26,7 @@ const T = d.forwardRef((c, f) => {
26
26
  } = c, x = m === "added", b = d.useMemo(() => r ? void 0 : (y) => {
27
27
  y.stopPropagation(), s();
28
28
  }, [r, s]);
29
- return /* @__PURE__ */ a("button", { css: h({
29
+ return /* @__PURE__ */ a("button", { css: w({
30
30
  isActive: e,
31
31
  isPopulated: v,
32
32
  isDisabled: r
@@ -36,7 +36,7 @@ const T = d.forwardRef((c, f) => {
36
36
  "+",
37
37
  l
38
38
  ] }),
39
- /* @__PURE__ */ i("div", { css: w({
39
+ /* @__PURE__ */ i("div", { css: h({
40
40
  isActive: e
41
41
  }), children: /* @__PURE__ */ i(n, { name: "triangleDown", size: t.sizing[4], color: e ? t.color.text.inverted.primary : t.color.text.default.active }) }),
42
42
  x && /* @__PURE__ */ i(n, { role: "button", "aria-label": "Remove filter", name: "close", size: t.sizing[4], color: e ? t.color.text.inverted.primary : t.color.text.default.active, onClick: b, dataTestPrefixId: `${o}_filter_close` })
@@ -1,52 +1,52 @@
1
- import { differenceBy as O, debounce as _, isEqual as y } from "lodash-es";
2
- import p, { useState as A } from "react";
3
- import { SELECT_ALL_OPTION as D } from "../../Select/constants.js";
4
- const T = ({
5
- isMulti: f,
6
- setIsOpen: h,
7
- isSearchable: i,
8
- onChange: a,
1
+ import { differenceBy as _, debounce as b, isEqual as D } from "lodash-es";
2
+ import m, { useState as E } from "react";
3
+ import { SELECT_ALL_OPTION as I } from "../../Select/constants.js";
4
+ const k = ({
5
+ isMulti: a,
6
+ setIsOpen: L,
7
+ isSearchable: n,
8
+ onChange: f,
9
9
  selectedFilter: t,
10
- onAsyncSearch: m,
10
+ onAsyncSearch: s,
11
11
  isAsync: o,
12
- minCharactersToSearch: s,
12
+ minCharactersToSearch: d,
13
13
  items: l,
14
- onClear: d
14
+ onClear: p
15
15
  }) => {
16
- const [u, n] = A(""), c = p.useMemo(() => {
16
+ const [u, i] = E(""), c = m.useMemo(() => {
17
17
  if (!l) return;
18
- const e = f && Array.isArray(t) ? O(l, t, "value") : l;
18
+ const e = a && Array.isArray(t) ? _(l, t, "value") : l;
19
19
  return o ? e : e.filter((r) => !u || r.label.toLowerCase().includes(u.toLowerCase()));
20
- }, [o, l, f, t, u]), L = (e) => {
21
- f || h(!1), i && n(""), f === !0 ? a && t && (y(e, D) ? a([...t, ...c.filter((r) => !r.isDisabled)]) : a([...t, e])) : a(e);
22
- }, b = p.useCallback(_((e) => {
23
- m?.(e);
24
- }, 400), []);
20
+ }, [o, l, a, t, u]), h = (e) => {
21
+ a || L(!1), n && i(""), a === !0 ? f && t && (D(e, I) ? f([...t, ...c.filter((r) => !r.isDisabled)]) : f([...t, e])) : f(e);
22
+ }, v = m.useMemo(() => b((e) => {
23
+ s?.(e);
24
+ }, 400), [s]);
25
25
  return {
26
26
  searchValue: u,
27
- handleFilterClick: L,
27
+ handleFilterClick: h,
28
28
  handleInput: (e) => {
29
29
  const {
30
30
  target: {
31
31
  value: r
32
32
  }
33
33
  } = e;
34
- if (i && n(r), o) {
35
- if (e.persist(), s && r.length && r.length < s)
34
+ if (n && i(r), o) {
35
+ if (e.persist(), d && r.length && r.length < d)
36
36
  return;
37
- b(r.trim());
37
+ v(r.trim());
38
38
  }
39
39
  },
40
40
  filteredOptions: c,
41
41
  handleFilterDelete: (e) => {
42
- const r = Array.isArray(t) ? t.filter((v) => v.value !== e.value) : [];
43
- f === !0 && a && a(r);
42
+ const r = Array.isArray(t) ? t.filter((O) => O.value !== e.value) : [];
43
+ a === !0 && f && f(r);
44
44
  },
45
45
  handleClear: () => {
46
- d && d(), n("");
46
+ p && p(), i("");
47
47
  }
48
48
  };
49
49
  };
50
50
  export {
51
- T as default
51
+ k as default
52
52
  };
@@ -5,7 +5,7 @@ import y from "../../hooks/useCombinedRefs.js";
5
5
  import * as I from "react";
6
6
  import { useRef as R } from "react";
7
7
  import x from "./assets/iconSelector.js";
8
- import { iconContainerStyles as S, iconStyles as b } from "./Icon.style.js";
8
+ import { iconStyles as S, iconContainerStyles as b } from "./Icon.style.js";
9
9
  const h = I.forwardRef((o, c) => {
10
10
  o = v(o, "icon");
11
11
  const {
@@ -17,13 +17,13 @@ const h = I.forwardRef((o, c) => {
17
17
  hasHover: f,
18
18
  ...d
19
19
  } = o, n = y(c, R(null)), t = !!e, l = x[i];
20
- return /* @__PURE__ */ s("div", { onClick: e, css: S({
20
+ return /* @__PURE__ */ s("div", { onClick: e, css: b({
21
21
  size: r,
22
22
  hasHover: f ?? t,
23
23
  isInteractive: t
24
24
  }), "data-testid": m, ref: n, tabIndex: t ? 0 : void 0, onKeyDown: (u) => {
25
25
  u.key === "Enter" && e && n.current.click();
26
- }, ...d, children: /* @__PURE__ */ s(l, { css: b({
26
+ }, ...d, children: /* @__PURE__ */ s(l, { css: S({
27
27
  color: a,
28
28
  size: r
29
29
  }) }) });
@@ -1,5 +1,5 @@
1
1
  import { css as i } from "@emotion/react";
2
- import { rem as r, vars as o } from "@orfium/tokens";
2
+ import { vars as o, rem as r } from "@orfium/tokens";
3
3
  import { generateStylesFromTokens as m } from "../Typography/utils.js";
4
4
  const t = r(3), f = ({
5
5
  isAnimated: e,
@@ -5,7 +5,7 @@ import { useListState as R } from "react-stately";
5
5
  import v from "../../hooks/useCombinedRefs.js";
6
6
  import x from "./components/ListItemWrapper/ListItemWrapper.js";
7
7
  import { ListItemWrapperStyled as I } from "./components/ListItemWrapper/ListItemWrapper.style.js";
8
- import { wrapperStyle as P, listStyle as _, groupedUlStyle as k } from "./List.style.js";
8
+ import { listStyle as P, wrapperStyle as _, groupedUlStyle as k } from "./List.style.js";
9
9
  import { LIST_ITEM_HEIGHT as F } from "./utils.js";
10
10
  import B from "./Window.js";
11
11
  const T = p.forwardRef((e, l) => {
@@ -22,11 +22,11 @@ const T = p.forwardRef((e, l) => {
22
22
  }), c = p.useRef(null), a = v(c, l), {
23
23
  listBoxProps: m
24
24
  } = b(e, t, a), f = t.collection.getFirstKey(), y = f ? t.collection.getItem(f) : null;
25
- return /* @__PURE__ */ i("div", { css: P({
25
+ return /* @__PURE__ */ i("div", { css: _({
26
26
  width: d
27
27
  }), children: /* @__PURE__ */ i("div", { "data-testid": s ? `${s}_list` : "ictinus_list", children: /* @__PURE__ */ i("div", { style: {
28
28
  height: o && r ? r : "100%"
29
- }, children: /* @__PURE__ */ i(B, { ...m, css: _({
29
+ }, children: /* @__PURE__ */ i(B, { ...m, css: P({
30
30
  width: d,
31
31
  height: r
32
32
  }), id: m.id, isVirtualizationEnabled: o, rowHeight: F[y?.props.rowSize ?? "normal"], ref: a, children: Array.from(t.collection).map((n) => n.type === "section" ? /* @__PURE__ */ i(E, { section: n, state: t }, n.key) : /* @__PURE__ */ i(u, { item: n, state: t }, n.key)) }) }) }) });
@@ -6,36 +6,31 @@ import v from "../../hooks/useCombinedRefs.js";
6
6
  const a = 5, I = g(({
7
7
  rowHeight: e,
8
8
  children: o,
9
- gap: r = 0,
10
- isVirtualizationEnabled: m = !0,
9
+ gap: i = 0,
10
+ isVirtualizationEnabled: r = !0,
11
11
  ...c
12
12
  }, u) => {
13
13
  const [p, {
14
- height: f
14
+ height: m
15
15
  }] = S(), d = v(p, u), [l, h] = t.useState(0), x = t.useMemo(() => {
16
- if (!m)
17
- return o.map((s, i) => t.cloneElement(s, {}));
18
- const n = Math.max(Math.floor(l / e) - a, 0), y = Math.min(Math.ceil((l + f) / e - 1) + a, o.length - 1);
19
- return o.slice(n, y + 1).map((s, i) => t.cloneElement(s, {
16
+ if (!r)
17
+ return o.map((s) => t.cloneElement(s, {}));
18
+ const n = Math.max(Math.floor(l / e) - a, 0), y = Math.min(Math.ceil((l + m) / e - 1) + a, o.length - 1);
19
+ return o.slice(n, y + 1).map((s, f) => t.cloneElement(s, {
20
20
  style: {
21
21
  position: "absolute",
22
- top: (n + i) * e + i * r,
22
+ top: (n + f) * e + f * i,
23
23
  height: e,
24
24
  left: 0,
25
25
  right: 0,
26
26
  lineHeight: `${e}px`
27
27
  }
28
28
  }));
29
- }, [o, f, e, l, r, m]), M = t.useMemo(() => b(
30
- function(n) {
31
- h(n.target.scrollTop);
32
- },
33
- 50,
34
- // eslint-disable-next-line @typescript-eslint/naming-convention
35
- {
36
- leading: !1
37
- }
38
- ), []);
29
+ }, [o, m, e, l, i, r]), M = t.useMemo(() => b(function(n) {
30
+ h(n.target.scrollTop);
31
+ }, 50, {
32
+ leading: !1
33
+ }), []);
39
34
  return /* @__PURE__ */ R("ul", { onScroll: M, ...c, style: {
40
35
  overflowY: "auto",
41
36
  position: "relative",
@@ -1,8 +1,8 @@
1
1
  import { jsxs as i, jsx as t } from "@emotion/react/jsx-runtime";
2
- import { listItemTextWrapperStyles as s, descriptionStyles as r } from "./ListItemText.style.js";
3
- const d = (e) => /* @__PURE__ */ i("div", { css: s(), children: [
2
+ import { descriptionStyles as s, listItemTextWrapperStyles as r } from "./ListItemText.style.js";
3
+ const d = (e) => /* @__PURE__ */ i("div", { css: r(), children: [
4
4
  /* @__PURE__ */ t("span", { children: e.children }),
5
- e.description && /* @__PURE__ */ t("p", { css: r(), children: e.description })
5
+ e.description && /* @__PURE__ */ t("p", { css: s(), children: e.description })
6
6
  ] });
7
7
  export {
8
8
  d as default
@@ -1,16 +1,13 @@
1
- import { jsx as s } from "@emotion/react/jsx-runtime";
2
- import m from "react";
3
- import { ListItemWrapperStyled as d } from "./ListItemWrapper.style.js";
4
- const p = m.forwardRef(({
1
+ import { jsx as m } from "@emotion/react/jsx-runtime";
2
+ import p from "react";
3
+ import { ListItemWrapperStyled as s } from "./ListItemWrapper.style.js";
4
+ const o = p.forwardRef(({
5
5
  children: e,
6
6
  rowSize: a,
7
7
  isDisabled: r = !1,
8
- isHighlighted: f = !1,
9
- searchTerm: l,
10
- dataTestId: o,
11
8
  ...t
12
- }, i) => /* @__PURE__ */ s(d, { "data-testid": `ictinus_list_item_${t["data-key"]?.replace(/ /g, "_")}`, ...t, rowSize: a, isDisabled: r, ref: i, children: e }));
13
- p.displayName = "ListItem";
9
+ }, i) => /* @__PURE__ */ m(s, { "data-testid": `ictinus_list_item_${t["data-key"]?.replace(/ /g, "_")}`, ...t, rowSize: a, isDisabled: r, ref: i, children: e }));
10
+ o.displayName = "ListItem";
14
11
  export {
15
- p as default
12
+ o as default
16
13
  };
@@ -4,7 +4,7 @@ import u from "../../hooks/useEscape.js";
4
4
  import { useOverlayStack as p } from "../../hooks/useOverlayStack.js";
5
5
  import { useRef as v, useEffect as y } from "react";
6
6
  import { generateTestDataId as h } from "../../utils/helpers.js";
7
- import { backgroundContainer as C, cardSizing as b, closeContainer as g, modalContainer as k } from "./Modal.style.js";
7
+ import { backgroundContainer as C, closeContainer as b, modalContainer as g, cardSizing as k } from "./Modal.style.js";
8
8
  import x from "./ModalContent/ModalContent.js";
9
9
  import I from "../Card/Card.js";
10
10
  import M from "../IconButton/IconButton.js";
@@ -30,9 +30,9 @@ const D = ({
30
30
  e();
31
31
  }), y(() => (r && (document.body.style.overflow = "hidden"), () => {
32
32
  document.body.style.overflow = "";
33
- }), [r]), r ? /* @__PURE__ */ o("div", { css: C, "data-testid": h("modal-container", d), children: /* @__PURE__ */ o("div", { ...m, ref: i, css: b(n, c), children: /* @__PURE__ */ f(I, { elevated: "02", radius: "3", children: [
34
- /* @__PURE__ */ o("div", { css: g, children: /* @__PURE__ */ o(M, { type: "tertiary", iconName: "close", onClick: e, iconColor: "secondary", dataTestId: "modal-close" }) }),
35
- /* @__PURE__ */ o("div", { css: k({
33
+ }), [r]), r ? /* @__PURE__ */ o("div", { css: C, "data-testid": h("modal-container", d), children: /* @__PURE__ */ o("div", { ...m, ref: i, css: k(n, c), children: /* @__PURE__ */ f(I, { elevated: "02", radius: "3", children: [
34
+ /* @__PURE__ */ o("div", { css: b, children: /* @__PURE__ */ o(M, { type: "tertiary", iconName: "close", onClick: e, iconColor: "secondary", dataTestId: "modal-close" }) }),
35
+ /* @__PURE__ */ o("div", { css: g({
36
36
  isContentPadded: s
37
37
  }), children: t ? /* @__PURE__ */ o(x, { ...t }) : l })
38
38
  ] }) }) }) : null;
@@ -1,82 +1,80 @@
1
- import { jsx as t, Fragment as L, jsxs as x } from "@emotion/react/jsx-runtime";
1
+ import { jsx as t, Fragment as L, jsxs as h } from "@emotion/react/jsx-runtime";
2
2
  import { inputStyle as P } from "../TextInputBase/TextInputBase.style.js";
3
- import { merge as S, omit as U, last as $ } from "lodash-es";
3
+ import { omit as S, last as U, merge as $ } from "lodash-es";
4
4
  import j, { useRef as A, useMemo as k } from "react";
5
5
  import { generateUniqueID as E, generateUniqueKey as N } from "../../utils/helpers.js";
6
6
  import V from "./hooks.js";
7
- import { tagStyle as W, tagContent as z, inputContainer as G, rightIconsContainer as H, progressIndicatorStyles as J, textInputBaseOverrides as Q, inputOverrides as X } from "./MultiTextFieldBase.style.js";
7
+ import { tagContent as z, tagStyle as G, inputContainer as H, progressIndicatorStyles as J, rightIconsContainer as Q, textInputBaseOverrides as W, inputOverrides as X } from "./MultiTextFieldBase.style.js";
8
8
  import Y from "../Tag/Tag.js";
9
9
  import Z from "../TextInputBase/TextInputBase.js";
10
10
  import ee from "../Label/Label.js";
11
11
  import te from "../ProgressIndicator/ProgressIndicator.js";
12
- const ie = j.forwardRef((I, v) => {
12
+ const se = j.forwardRef((x, I) => {
13
13
  const {
14
14
  selectedOptions: r,
15
15
  value: n,
16
- isDisabled: s,
17
- status: i = {
16
+ isDisabled: i,
17
+ status: s = {
18
18
  type: "normal"
19
19
  },
20
- isReadOnly: T,
20
+ isReadOnly: v,
21
21
  label: a,
22
- id: b,
22
+ id: T,
23
23
  placeholder: f,
24
24
  isRequired: o = !1,
25
25
  onOptionDelete: c,
26
- onClearAllOptions: D,
27
- isLoading: R,
26
+ onClearAllOptions: b,
27
+ isLoading: D,
28
28
  isInteractive: m = !0,
29
29
  isResponsive: _ = !1,
30
- isTextfield: g = !1,
31
- onKeyDown: B,
32
- sx: M,
30
+ isTextfield: y = !1,
31
+ onKeyDown: M,
32
+ sx: O,
33
33
  ...d
34
- } = I, u = A(b || E("multiTextfield_")).current, p = !!(n || r?.length && r?.length > 0), l = i?.type === "read-only", h = i?.hintMessage ? i?.id ?? `${u}_hintMessage` : void 0, {
35
- inputPlaceholder: O,
36
- handleKeyDown: C,
37
- icon: w,
34
+ } = x, p = A(T || E("multiTextfield_")).current, u = !!(n || r?.length && r?.length > 0), l = s?.type === "read-only", g = s?.hintMessage ? s?.id ?? `${p}_hintMessage` : void 0, {
35
+ inputPlaceholder: R,
36
+ handleKeyDown: B,
37
+ icon: C,
38
38
  hasLabel: F,
39
- TextfieldRef: y
39
+ TextfieldRef: q
40
40
  } = V({
41
- isTextfield: g,
41
+ isTextfield: y,
42
42
  label: a,
43
43
  placeholder: f,
44
44
  isRequired: o,
45
- hasValue: p,
45
+ hasValue: u,
46
46
  isLocked: l,
47
47
  value: n,
48
48
  onOptionDelete: c,
49
- onClearAllOptions: D,
50
- onKeyDown: B
51
- }), q = k(() => /* @__PURE__ */ t(L, { children: r?.map((e, K) => /* @__PURE__ */ t("span", { css: W(), children: /* @__PURE__ */ t(Y, { onClear: i?.type === "read-only" || s ? void 0 : () => c(e), dataTestPrefixId: `tag_${K}`, children: /* @__PURE__ */ t("div", { title: typeof e == "string" ? e : e.label, css: z({
52
- maxWidth: y.current?.getBoundingClientRect().width
53
- }), children: typeof e == "string" ? e : e.label }) }) }, N("tag" + (typeof e == "string" ? e : e.label)))) }), [s, c, r, i?.type]);
54
- return /* @__PURE__ */ t("div", { ref: y, children: /* @__PURE__ */ x(Z, { isDisabled: m && s, status: m ? {
55
- ...i,
56
- id: h
49
+ onClearAllOptions: b,
50
+ onKeyDown: M
51
+ }), w = k(() => /* @__PURE__ */ t(L, { children: r?.map((e, K) => /* @__PURE__ */ t("span", { css: G(), children: /* @__PURE__ */ t(Y, { onClear: s?.type === "read-only" || i ? void 0 : () => c(e), dataTestPrefixId: `tag_${K}`, children: /* @__PURE__ */ t("div", { title: typeof e == "string" ? e : e.label, css: z({}), children: typeof e == "string" ? e : e.label }) }) }, N("tag" + (typeof e == "string" ? e : e.label)))) }), [i, c, r, s?.type]);
52
+ return /* @__PURE__ */ t("div", { ref: q, children: /* @__PURE__ */ h(Z, { isDisabled: m && i, status: m ? {
53
+ ...s,
54
+ id: g
57
55
  } : {
58
56
  type: "normal"
59
- }, ...d, isInteractive: m, sx: S(Q({
60
- hasValue: p,
57
+ }, ...d, isInteractive: m, sx: $(W({
58
+ hasValue: u,
61
59
  hasLabel: F,
62
60
  isResponsive: _,
63
- isTextfield: g
64
- }), M), children: [
65
- /* @__PURE__ */ x("div", { css: G(), "data-testid": "selected-tags", children: [
66
- q,
67
- /* @__PURE__ */ t("input", { readOnly: l || T, onKeyDown: C($(r)), css: P({
61
+ isTextfield: y
62
+ }), O), children: [
63
+ /* @__PURE__ */ h("div", { css: H(), "data-testid": "selected-tags", children: [
64
+ w,
65
+ /* @__PURE__ */ t("input", { readOnly: l || v, onKeyDown: B(U(r)), css: P({
68
66
  placeholder: f,
69
67
  label: a,
70
68
  sx: X(),
71
69
  isLocked: l,
72
- isDisabled: s
73
- }), placeholder: O, required: o, id: u, disabled: s || l, "data-testid": d.dataTestId ? `input_${d.dataTestId}` : "input", "aria-invalid": i?.type === "error", "aria-describedby": h, ...U(d, "dataTestId"), value: n, ref: v }),
74
- a && /* @__PURE__ */ t(ee, { htmlFor: u, label: a, isRequired: o, isAnimated: p, hasError: !s && i?.type === "error" })
70
+ isDisabled: i
71
+ }), placeholder: R, required: o, id: p, disabled: i || l, "data-testid": d.dataTestId ? `input_${d.dataTestId}` : "input", "aria-invalid": s?.type === "error", "aria-describedby": g, ...S(d, "dataTestId"), value: n, ref: I }),
72
+ a && /* @__PURE__ */ t(ee, { htmlFor: p, label: a, isRequired: o, isAnimated: u, hasError: !i && s?.type === "error" })
75
73
  ] }),
76
- !s && /* @__PURE__ */ t("div", { css: H(), children: R ? /* @__PURE__ */ t("div", { css: J(), children: /* @__PURE__ */ t(te, { type: "circular", dataTestPrefixId: "multi_textdield_base" }) }) : w })
74
+ !i && /* @__PURE__ */ t("div", { css: Q(), children: D ? /* @__PURE__ */ t("div", { css: J(), children: /* @__PURE__ */ t(te, { type: "circular", dataTestPrefixId: "multi_textdield_base" }) }) : C })
77
75
  ] }) });
78
76
  });
79
- ie.displayName = "MultiTextFieldBase";
77
+ se.displayName = "MultiTextFieldBase";
80
78
  export {
81
- ie as default
79
+ se as default
82
80
  };