@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.
- package/dist/components/Box/Box.utilities.js +2 -2
- package/dist/components/Breadcrumb/Breadcrumb.js +4 -8
- package/dist/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.js +2 -2
- package/dist/components/Button/Button.js +0 -1
- package/dist/components/Button/ButtonLoader/ButtonLoader.js +2 -2
- package/dist/components/Button/ButtonLoader/ButtonLoader.style.js +1 -1
- package/dist/components/ButtonBase/ButtonBase.js +14 -27
- package/dist/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.js +4 -4
- package/dist/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.js +3 -3
- package/dist/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.style.js +1 -1
- package/dist/components/Chart/DonutChart/components/CustomLabel/CustomLabel.js +2 -2
- package/dist/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.js +4 -4
- package/dist/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.style.js +1 -1
- package/dist/components/Controls/CheckBox/CheckBox.js +3 -3
- package/dist/components/Controls/Switch/Switch.js +22 -25
- package/dist/components/DatePicker/DatePickInput/DatePickInput.js +31 -31
- package/dist/components/DatePicker/DatePicker.js +18 -18
- package/dist/components/DatePicker/Day/Day.js +3 -3
- package/dist/components/DatePicker/Month/Month.js +11 -32
- package/dist/components/DatePicker/OverlayComponent/OverlayComponent.js +21 -21
- package/dist/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.js +5 -5
- package/dist/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.style.js +1 -1
- package/dist/components/Drawer/Drawer.js +3 -3
- package/dist/components/Drawer/components/DrawerHeader/DrawerHeader.js +3 -3
- package/dist/components/DropdownButton/DropdownButton.js +5 -5
- package/dist/components/Filter/StatefulFilter.js +7 -7
- package/dist/components/Filter/components/FilterButton/FilterButton.js +3 -3
- package/dist/components/Filter/hooks/useFilterWithSelectionUtils.js +26 -26
- package/dist/components/Icon/Icon.js +3 -3
- package/dist/components/Label/Label.style.js +1 -1
- package/dist/components/List/List.js +3 -3
- package/dist/components/List/Window.js +13 -18
- package/dist/components/List/components/ListItemText/ListItemText.js +3 -3
- package/dist/components/List/components/ListItemWrapper/ListItemWrapper.js +7 -10
- package/dist/components/Modal/Modal.js +4 -4
- package/dist/components/MultiTextFieldBase/MultiTextFieldBase.js +39 -41
- package/dist/components/Notification/NotificationVisual/NotificationVisual.js +3 -3
- package/dist/components/Notification/Snackbar/Snackbar.js +6 -7
- package/dist/components/Notification/subcomponents/CompactNotification/CompactNotification.js +8 -8
- package/dist/components/Notification/subcomponents/CompactNotification/CompactNotification.style.js +1 -1
- package/dist/components/Notification/subcomponents/NotificationActionsArea/NotificationActionsArea.js +1 -1
- package/dist/components/NumberField/components/Stepper/Stepper.js +1 -1
- package/dist/components/ProgressIndicator/components/ProgressBar/ProgressBar.js +7 -9
- package/dist/components/ProgressIndicator/components/ProgressBar/ProgressBar.style.js +1 -1
- package/dist/components/Search/Search.js +4 -4
- package/dist/components/Search/StatefulSearch.js +3 -3
- package/dist/components/Select/Select.js +41 -42
- package/dist/components/Select/StatefulSelect.js +10 -10
- package/dist/components/Select/components/SelectMenu/SelectMenu.js +3 -3
- package/dist/components/Select/components/SelectMenu/SelectMenu.style.js +1 -1
- package/dist/components/TabStepper/components/TabStep/TabStep.js +4 -4
- package/dist/components/TabStepper/components/TabStep/TabStep.style.js +2 -2
- package/dist/components/Table/Table.js +23 -23
- package/dist/components/Table/components/TD/TD.js +3 -3
- package/dist/components/Table/components/TH/TH.js +3 -3
- package/dist/components/Table/components/TH/TH.style.js +4 -4
- package/dist/components/Table/components/TPagination/TPagination.js +6 -6
- package/dist/components/Table/components/TTitle/TTitle.js +4 -4
- package/dist/components/Table/hooks/useTable.js +70 -71
- package/dist/components/TableV4/TableV4.js +27 -27
- package/dist/components/TableV4/components/RenderRowOrNestedRow/components/ExpandedButtonCell/ExpandedButtonCell.js +1 -1
- package/dist/components/TextArea/TextArea.js +8 -8
- package/dist/components/TextInputBase/TextInputBase.js +3 -3
- package/dist/components/Toast/Toast.js +3 -3
- package/dist/components/ToastV4/ToastV4.js +8 -8
- package/dist/components/ToastV4/ToastV4.style.js +1 -1
- package/dist/components/TopAppBar/TopAppBar.js +1 -1
- package/dist/components/TopAppBar/components/Search/Search.js +3 -3
- package/dist/components/TopAppBar/components/Search/Search.style.js +1 -1
- package/dist/components/utils/Overlay/Overlay.js +0 -2
- package/dist/components/utils/Slots.js +3 -3
- package/dist/hooks/useBreakpoints.js +0 -1
- package/dist/hooks/useKeyboardEvents.js +2 -2
- package/dist/hooks/useTypeColorToColorMatch.js +11 -11
- package/dist/index.js +189 -189
- package/dist/package.json.d.ts +12 -39
- package/dist/package.json.js +1 -1
- package/dist/src/badge/Badge.css.d.ts +34 -0
- package/dist/src/badge/Badge.d.ts +425 -0
- package/dist/src/badge/Badge.test.d.ts +1 -0
- package/dist/src/badge/index.d.ts +1 -0
- package/dist/src/cover/Cover.css.d.ts +19 -0
- package/dist/src/cover/Cover.d.ts +426 -0
- package/dist/src/cover/index.d.ts +1 -0
- package/dist/src/data-table/DataTable.d.ts +8 -0
- package/dist/src/data-table/DataTableBody.d.ts +2 -2
- package/dist/src/icons/{Icon.d.ts → IconPrimitive.d.ts} +2 -2
- package/dist/src/icons/index.d.ts +1 -0
- package/dist/src/tag-group/TagGroup.css.d.ts +33 -0
- package/dist/src/tag-group/TagGroup.d.ts +850 -0
- package/dist/src/tag-group/TagGroup.test.d.ts +1 -0
- package/dist/src/tag-group/index.d.ts +1 -0
- package/dist/src/vanilla/Popover/Popover.css.d.ts +5 -0
- package/dist/src/vanilla/Popover/Popover.d.ts +6 -6
- package/dist/src/vanilla/Table/TableCell.css.d.ts +1 -0
- package/dist/src/vanilla/Table/TableCell.d.ts +1 -1
- package/dist/src/vanilla/index.d.ts +4 -0
- package/dist/theme/index.js +6 -6
- package/dist/vanilla/Dropdown/Dropdown-css.js +3 -3
- package/dist/vanilla/Menu/Menu-css.js +5 -5
- package/dist/vanilla/Popover/Popover-css.js +6 -5
- package/dist/vanilla/Popover/Popover.js +9 -14
- package/dist/vanilla/Table/Table-css.js +5 -5
- package/dist/vanilla/Table/TableBody-css.js +3 -3
- package/dist/vanilla/Table/TableCell-css.js +5 -5
- package/dist/vanilla/Table/TableFooter-css.js +3 -3
- package/dist/vanilla/Table/TableHeader-css.js +3 -3
- package/dist/vanilla/Table/TableHeaderCell-css.js +7 -7
- package/dist/vanilla/Table/TableRow-css.js +4 -4
- package/dist/vanilla/Text/Text-css.js +3 -3
- package/dist/vanilla/Tooltip/Tooltip-css.js +7 -7
- package/dist/vanilla/Tooltip/Tooltip.js +1 -1
- package/dist/vanilla/assets/src/actions/ActionsContent.css.ts.vanilla-Blx4pWwn.css +22 -0
- package/dist/vanilla/assets/src/avatar/{Avatar.css.ts.vanilla-CZZZLE6B.css → Avatar.css.ts.vanilla-CU7FGH6V.css} +20 -20
- package/dist/vanilla/assets/src/avatar/AvatarGroup.css.ts.vanilla-D6kTnJJc.css +4 -0
- package/dist/vanilla/assets/src/button/{Button.css.ts.vanilla-DWGwo7ec.css → Button.css.ts.vanilla-oeHduGpK.css} +5 -5
- package/dist/vanilla/assets/src/cover/Cover.css.ts.vanilla-C7DEoyT4.css +35 -0
- package/dist/vanilla/assets/src/data-table/DataTableBody.css.ts.vanilla-CV2meKzA.css +73 -0
- package/dist/vanilla/assets/src/data-table/{DataTableHeaderCell.css.ts.vanilla-oEbGsneI.css → DataTableHeaderCell.css.ts.vanilla-B6ro3v2t.css} +9 -9
- package/dist/vanilla/assets/src/layers/layers.css.ts.vanilla-IMjbF_n6.css +1 -0
- package/dist/vanilla/assets/src/nav/{Nav.css.ts.vanilla-DvISuT4D.css → Nav.css.ts.vanilla-z6mYlE6m.css} +12 -12
- package/dist/vanilla/assets/src/skeleton/Skeleton.css.ts.vanilla-DjAtJh-R.css +6 -0
- package/dist/vanilla/assets/src/sprinkles/{properties.css.ts.vanilla-DyLlJF0l.css → properties.css.ts.vanilla-CgAnwoJl.css} +3361 -3361
- package/dist/vanilla/assets/src/tag-group/TagGroup.css.ts.vanilla-CRfENPd1.css +40 -0
- package/dist/vanilla/assets/src/vanilla/Menu/{Menu.css.ts.vanilla-BbxUO_2R.css → Menu.css.ts.vanilla-_CX_KJYW.css} +6 -6
- package/dist/vanilla/assets/src/vanilla/Popover/Popover.css.ts.vanilla-ChNqyd-w.css +24 -0
- package/dist/vanilla/assets/src/vanilla/Table/{Table.css.ts.vanilla-DHPpvjXF.css → Table.css.ts.vanilla-Cx9oEFSr.css} +7 -7
- package/dist/vanilla/assets/src/vanilla/Table/TableBody.css.ts.vanilla-D6wJiebX.css +6 -0
- package/dist/vanilla/assets/src/vanilla/Table/{TableCell.css.ts.vanilla-x-g765jR.css → TableCell.css.ts.vanilla-yoCXB3yl.css} +10 -10
- package/dist/vanilla/assets/src/vanilla/Table/{TableFooter.css.ts.vanilla-JeIag8ft.css → TableFooter.css.ts.vanilla-6lhlGhY6.css} +4 -4
- package/dist/vanilla/assets/src/vanilla/Table/TableHeader.css.ts.vanilla-BFUvzHUo.css +8 -0
- package/dist/vanilla/assets/src/vanilla/Table/{TableHeaderCell.css.ts.vanilla-CXhM02nT.css → TableHeaderCell.css.ts.vanilla-BEjMlivm.css} +9 -9
- package/dist/vanilla/assets/src/vanilla/Table/{TableRow.css.ts.vanilla-DsvTxUhf.css → TableRow.css.ts.vanilla-Ce2GojWZ.css} +5 -5
- package/dist/vanilla/assets/src/vanilla/Text/{Text.css.ts.vanilla-DJwkC8fa.css → Text.css.ts.vanilla-Dc-awaCi.css} +13 -13
- package/dist/vanilla/assets/src/vanilla/Tooltip/{Tooltip.css.ts.vanilla-D1vIOhs9.css → Tooltip.css.ts.vanilla-C_aGKL12.css} +13 -13
- package/dist/vanilla/index.d.ts +2476 -281
- package/dist/vanilla/index.js +6 -0
- package/dist/vanilla/package.json.js +1 -1
- package/dist/vanilla/src/actions/ActionsContent-css.js +5 -5
- package/dist/vanilla/src/actions/ActionsRoot-css.js +3 -3
- package/dist/vanilla/src/avatar/Avatar-css.js +7 -7
- package/dist/vanilla/src/avatar/AvatarGroup-css.js +5 -5
- package/dist/vanilla/src/badge/Badge-css.js +12 -0
- package/dist/vanilla/src/badge/Badge.js +48 -0
- package/dist/vanilla/src/button/Button-css.js +6 -6
- package/dist/vanilla/src/button/Button.js +1 -1
- package/dist/vanilla/src/components/Controls/CheckBox/CheckBox.js +1 -1
- package/dist/vanilla/src/components/Controls/Radio/Radio.js +0 -2
- package/dist/vanilla/src/components/Controls/Radio/components/RadioGroup/RadioGroup.js +0 -2
- package/dist/vanilla/src/components/Controls/Switch/Switch.js +2 -2
- package/dist/vanilla/src/components/Icon/Icon.js +1 -1
- package/dist/vanilla/src/cover/Cover-css.js +7 -0
- package/dist/vanilla/src/cover/Cover.js +13 -0
- package/dist/vanilla/src/data-table/DataTableBody-css.js +11 -11
- package/dist/vanilla/src/data-table/DataTableBody.js +3 -0
- package/dist/vanilla/src/data-table/DataTableEditColumns.js +1 -0
- package/dist/vanilla/src/data-table/DataTableHeaderCell-css.js +9 -9
- package/dist/vanilla/src/data-table/DataTableHeaderCell.js +1 -0
- package/dist/vanilla/src/data-table/DataTableRow.js +11 -23
- package/dist/vanilla/src/icon/Icon.js +1 -0
- package/dist/vanilla/src/icons/AccountIcon.js +2 -2
- package/dist/vanilla/src/icons/AlbumIcon.js +2 -2
- package/dist/vanilla/src/icons/AnalyticsIcon.js +2 -2
- package/dist/vanilla/src/icons/AppsIcon.js +2 -2
- package/dist/vanilla/src/icons/ArrowDownIcon.js +2 -2
- package/dist/vanilla/src/icons/ArrowLeftIcon.js +2 -2
- package/dist/vanilla/src/icons/ArrowRightIcon.js +2 -2
- package/dist/vanilla/src/icons/ArrowUpIcon.js +2 -2
- package/dist/vanilla/src/icons/ArtistIcon.js +2 -2
- package/dist/vanilla/src/icons/AssetIcon.js +2 -2
- package/dist/vanilla/src/icons/AudioIcon.js +2 -2
- package/dist/vanilla/src/icons/AudioOffIcon.js +2 -2
- package/dist/vanilla/src/icons/BookmarkIcon.js +2 -2
- package/dist/vanilla/src/icons/BookmarkOffIcon.js +2 -2
- package/dist/vanilla/src/icons/BroadcastIcon.js +2 -2
- package/dist/vanilla/src/icons/CalendarIcon.js +2 -2
- package/dist/vanilla/src/icons/CatalogIcon.js +2 -2
- package/dist/vanilla/src/icons/ChannelIcon.js +2 -2
- package/dist/vanilla/src/icons/ChatIcon.js +2 -2
- package/dist/vanilla/src/icons/CheckIcon.js +2 -2
- package/dist/vanilla/src/icons/ChevronDownIcon.js +2 -2
- package/dist/vanilla/src/icons/ChevronLeftIcon.js +2 -2
- package/dist/vanilla/src/icons/ChevronRightIcon.js +2 -2
- package/dist/vanilla/src/icons/ChevronUpIcon.js +2 -2
- package/dist/vanilla/src/icons/CinemaIcon.js +2 -2
- package/dist/vanilla/src/icons/ClaimIcon.js +2 -2
- package/dist/vanilla/src/icons/CloseIcon.js +2 -2
- package/dist/vanilla/src/icons/ColumnChooserIcon.js +2 -2
- package/dist/vanilla/src/icons/CompositionIcon.js +2 -2
- package/dist/vanilla/src/icons/ConcertIcon.js +2 -2
- package/dist/vanilla/src/icons/ConflictIcon.js +2 -2
- package/dist/vanilla/src/icons/ConvertIcon.js +2 -2
- package/dist/vanilla/src/icons/CopyIcon.js +2 -2
- package/dist/vanilla/src/icons/CueSheetIcon.js +2 -2
- package/dist/vanilla/src/icons/DashboardIcon.js +2 -2
- package/dist/vanilla/src/icons/DatasetIcon.js +2 -2
- package/dist/vanilla/src/icons/DeleteIcon.js +2 -2
- package/dist/vanilla/src/icons/DeliveryIcon.js +2 -2
- package/dist/vanilla/src/icons/DetailsIcon.js +2 -2
- package/dist/vanilla/src/icons/DigitalIcon.js +2 -2
- package/dist/vanilla/src/icons/DistributionIcon.js +2 -2
- package/dist/vanilla/src/icons/DownloadIcon.js +2 -2
- package/dist/vanilla/src/icons/EarningsIcon.js +2 -2
- package/dist/vanilla/src/icons/EditIcon.js +2 -2
- package/dist/vanilla/src/icons/EntitiesIcon.js +2 -2
- package/dist/vanilla/src/icons/ErrorIcon.js +2 -2
- package/dist/vanilla/src/icons/ExternalLinkIcon.js +2 -2
- package/dist/vanilla/src/icons/EyeIcon.js +2 -2
- package/dist/vanilla/src/icons/EyeOffIcon.js +2 -2
- package/dist/vanilla/src/icons/FavoriteIcon.js +2 -2
- package/dist/vanilla/src/icons/FavoriteOffIcon.js +2 -2
- package/dist/vanilla/src/icons/FileIcon.js +2 -2
- package/dist/vanilla/src/icons/FilterIcon.js +2 -2
- package/dist/vanilla/src/icons/FlagIcon.js +2 -2
- package/dist/vanilla/src/icons/FlagOffIcon.js +2 -2
- package/dist/vanilla/src/icons/ForwardIcon.js +2 -2
- package/dist/vanilla/src/icons/FreezeIcon.js +2 -2
- package/dist/vanilla/src/icons/HelpIcon.js +2 -2
- package/dist/vanilla/src/icons/{Icon.js → IconPrimitive.js} +3 -3
- package/dist/vanilla/src/icons/ImageIcon.js +2 -2
- package/dist/vanilla/src/icons/ImageOffIcon.js +2 -2
- package/dist/vanilla/src/icons/IncomeIcon.js +2 -2
- package/dist/vanilla/src/icons/InformationalIcon.js +2 -2
- package/dist/vanilla/src/icons/InsightIcon.js +2 -2
- package/dist/vanilla/src/icons/InvoiceIcon.js +2 -2
- package/dist/vanilla/src/icons/IssueIcon.js +2 -2
- package/dist/vanilla/src/icons/KeywordIcon.js +2 -2
- package/dist/vanilla/src/icons/LanguageIcon.js +2 -2
- package/dist/vanilla/src/icons/LegalIcon.js +2 -2
- package/dist/vanilla/src/icons/LicenseIcon.js +2 -2
- package/dist/vanilla/src/icons/LinkIcon.js +2 -2
- package/dist/vanilla/src/icons/LocationIcon.js +2 -2
- package/dist/vanilla/src/icons/LockIcon.js +2 -2
- package/dist/vanilla/src/icons/LoginIcon.js +2 -2
- package/dist/vanilla/src/icons/LogoutIcon.js +2 -2
- package/dist/vanilla/src/icons/MailIcon.js +2 -2
- package/dist/vanilla/src/icons/ManualIcon.js +2 -2
- package/dist/vanilla/src/icons/MediaFileIcon.js +2 -2
- package/dist/vanilla/src/icons/MenuIcon.js +2 -2
- package/dist/vanilla/src/icons/MinusIcon.js +2 -2
- package/dist/vanilla/src/icons/MoreOptionsIcon.js +2 -2
- package/dist/vanilla/src/icons/NextIcon.js +2 -2
- package/dist/vanilla/src/icons/NotificationIcon.js +2 -2
- package/dist/vanilla/src/icons/OrganizationIcon.js +2 -2
- package/dist/vanilla/src/icons/PageFirstIcon.js +2 -2
- package/dist/vanilla/src/icons/PageLastIcon.js +2 -2
- package/dist/vanilla/src/icons/PairIcon.js +2 -2
- package/dist/vanilla/src/icons/PauseIcon.js +2 -2
- package/dist/vanilla/src/icons/PendingIcon.js +2 -2
- package/dist/vanilla/src/icons/PlayIcon.js +2 -2
- package/dist/vanilla/src/icons/PlaycountIcon.js +2 -2
- package/dist/vanilla/src/icons/PlusIcon.js +2 -2
- package/dist/vanilla/src/icons/PolicyIcon.js +2 -2
- package/dist/vanilla/src/icons/PreviousIcon.js +2 -2
- package/dist/vanilla/src/icons/PublicPerformanceIcon.js +2 -2
- package/dist/vanilla/src/icons/PublisherIcon.js +2 -2
- package/dist/vanilla/src/icons/RadioIcon.js +2 -2
- package/dist/vanilla/src/icons/RecordLabelIcon.js +2 -2
- package/dist/vanilla/src/icons/RecordingIcon.js +2 -2
- package/dist/vanilla/src/icons/RedoIcon.js +2 -2
- package/dist/vanilla/src/icons/RefreshIcon.js +2 -2
- package/dist/vanilla/src/icons/ReportIcon.js +2 -2
- package/dist/vanilla/src/icons/RestoreIcon.js +2 -2
- package/dist/vanilla/src/icons/ResumeIcon.js +2 -2
- package/dist/vanilla/src/icons/ReviewIcon.js +2 -2
- package/dist/vanilla/src/icons/RewindIcon.js +2 -2
- package/dist/vanilla/src/icons/RoleIcon.js +2 -2
- package/dist/vanilla/src/icons/SearchFilledIcon.js +2 -2
- package/dist/vanilla/src/icons/SearchIcon.js +2 -2
- package/dist/vanilla/src/icons/SettingsIcon.js +2 -2
- package/dist/vanilla/src/icons/ShareIcon.js +2 -2
- package/dist/vanilla/src/icons/SortAscendingIcon.js +2 -2
- package/dist/vanilla/src/icons/SortDescendingIcon.js +2 -2
- package/dist/vanilla/src/icons/SortIcon.js +2 -2
- package/dist/vanilla/src/icons/StatusIndicatorIcon.js +2 -2
- package/dist/vanilla/src/icons/StopIcon.js +2 -2
- package/dist/vanilla/src/icons/SuccessIcon.js +2 -2
- package/dist/vanilla/src/icons/TagIcon.js +2 -2
- package/dist/vanilla/src/icons/TelevisionIcon.js +2 -2
- package/dist/vanilla/src/icons/ThumbsDownIcon.js +2 -2
- package/dist/vanilla/src/icons/ThumbsUpIcon.js +2 -2
- package/dist/vanilla/src/icons/TrendingDownIcon.js +2 -2
- package/dist/vanilla/src/icons/TrendingUpIcon.js +2 -2
- package/dist/vanilla/src/icons/TriangleDownIcon.js +2 -2
- package/dist/vanilla/src/icons/TriangleLeftIcon.js +2 -2
- package/dist/vanilla/src/icons/TriangleRightIcon.js +2 -2
- package/dist/vanilla/src/icons/TriangleUpIcon.js +2 -2
- package/dist/vanilla/src/icons/UndoIcon.js +2 -2
- package/dist/vanilla/src/icons/UnfreezeIcon.js +2 -2
- package/dist/vanilla/src/icons/UnlinkIcon.js +2 -2
- package/dist/vanilla/src/icons/UnlockIcon.js +2 -2
- package/dist/vanilla/src/icons/UnpairIcon.js +2 -2
- package/dist/vanilla/src/icons/UnverifiedIcon.js +2 -2
- package/dist/vanilla/src/icons/UpdateIcon.js +2 -2
- package/dist/vanilla/src/icons/UploadIcon.js +2 -2
- package/dist/vanilla/src/icons/UsageIcon.js +2 -2
- package/dist/vanilla/src/icons/UserIcon.js +2 -2
- package/dist/vanilla/src/icons/UsersIcon.js +2 -2
- package/dist/vanilla/src/icons/VerifiedIcon.js +2 -2
- package/dist/vanilla/src/icons/VideoIcon.js +2 -2
- package/dist/vanilla/src/icons/VideoOffIcon.js +2 -2
- package/dist/vanilla/src/icons/WarningIcon.js +2 -2
- package/dist/vanilla/src/icons/WorkIcon.js +2 -2
- package/dist/vanilla/src/icons/WriterIcon.js +2 -2
- package/dist/vanilla/src/icons/YouTubeIcon.js +2 -2
- package/dist/vanilla/src/layers/layers-css.js +2 -2
- package/dist/vanilla/src/nav/Nav-css.js +12 -12
- package/dist/vanilla/src/nav/Nav.js +2 -1
- package/dist/vanilla/src/skeleton/Skeleton-css.js +4 -4
- package/dist/vanilla/src/sprinkles/properties-css.js +5 -5
- package/dist/vanilla/src/tag-group/TagGroup-css.js +13 -0
- package/dist/vanilla/src/tag-group/TagGroup.js +211 -0
- package/package.json +12 -39
- package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/index.d.ts +0 -0
- package/dist/src/components/ThemeProvider/Test.d.ts +0 -3
- package/dist/src/utils/storyshots.d.ts +0 -18
- package/dist/vanilla/assets/src/actions/ActionsContent.css.ts.vanilla-CUCKXWVY.css +0 -22
- package/dist/vanilla/assets/src/avatar/AvatarGroup.css.ts.vanilla-BsWotv-l.css +0 -4
- package/dist/vanilla/assets/src/data-table/DataTableBody.css.ts.vanilla-hZeHXPeK.css +0 -70
- package/dist/vanilla/assets/src/layers/layers.css.ts.vanilla-CuOp6byd.css +0 -1
- package/dist/vanilla/assets/src/skeleton/Skeleton.css.ts.vanilla-CTwtVX07.css +0 -6
- package/dist/vanilla/assets/src/vanilla/Popover/Popover.css.ts.vanilla-DBnr4NHP.css +0 -10
- package/dist/vanilla/assets/src/vanilla/Table/TableBody.css.ts.vanilla-CVJsulIB.css +0 -6
- package/dist/vanilla/assets/src/vanilla/Table/TableHeader.css.ts.vanilla-BTAe_sKO.css +0 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n, jsxs as l } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import O from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { optionsContainer as H, thContent as V, thContainer as g } from "./TH.style.js";
|
|
4
4
|
import j from "./components/THOptions/THOptions.js";
|
|
5
5
|
import w from "./components/SortingButton/SortingButton.js";
|
|
6
6
|
var y = {
|
|
@@ -27,7 +27,7 @@ const z = ({
|
|
|
27
27
|
} = r ?? {}, {
|
|
28
28
|
contentAlign: v = "left"
|
|
29
29
|
} = d, x = () => /* @__PURE__ */ n(w, { id: t, isDesc: i, onClick: () => i === !0 ? m() : e(i === !1, o), badge: B, dataTestPrefixId: s });
|
|
30
|
-
return /* @__PURE__ */ n("th", { css:
|
|
30
|
+
return /* @__PURE__ */ n("th", { css: g({
|
|
31
31
|
isCheckbox: b,
|
|
32
32
|
isExpandedButton: C,
|
|
33
33
|
rowSize: h,
|
|
@@ -39,7 +39,7 @@ const z = ({
|
|
|
39
39
|
contentAlign: v
|
|
40
40
|
}), children: [
|
|
41
41
|
/* @__PURE__ */ n("div", { css: y, "data-testid": `${s}_table_th_${t}_title`, children: p }),
|
|
42
|
-
c && /* @__PURE__ */ l("div", { css:
|
|
42
|
+
c && /* @__PURE__ */ l("div", { css: H(), "data-header-role": "options", "data-testid": `${s}_table_th_${t}_options`, children: [
|
|
43
43
|
x(),
|
|
44
44
|
/* @__PURE__ */ n(j, { onSort: e, isMultiSortable: o, onButtonClick: (a) => k(a), dataTestPrefixId: `${s}_sort_${t}` })
|
|
45
45
|
] })
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { css as s } from "@emotion/react";
|
|
2
2
|
import { generateStylesFromTokens as a } from "../../../Typography/utils.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { contentAlignToFlex as g, ACTIONS_CELL_WIDTH as d } from "../../constants.js";
|
|
4
|
+
import { vars as t, rem as m } from "@orfium/tokens";
|
|
5
5
|
import { lineEllipsis as y } from "../../../../theme/functions.js";
|
|
6
6
|
const f = {
|
|
7
7
|
sm: t.sizing[11],
|
|
@@ -15,9 +15,9 @@ const f = {
|
|
|
15
15
|
hasVisibleOptions: r,
|
|
16
16
|
isSortable: n,
|
|
17
17
|
sx: c
|
|
18
|
-
}) => (i) => /* @__PURE__ */ s("width:", o || l ? m(
|
|
18
|
+
}) => (i) => /* @__PURE__ */ s("width:", o || l ? m(d) : e ? `${e}%` : "100%", ";height:", f[p], ";align-content:center;box-sizing:border-box;padding:", t.spacing[4], " ", t.spacing[6], ";color:", t.color.text.default[r ? "primary" : "secondary"], ";", a(i.tokens.typography.get("normal.body02")), ";[data-header-role='options'],[data-header-role='sorting-button']{opacity:", r ? 1 : 0, ";}&:hover,&:focus-visible{color:", n && t.color.text.default.primary, ";", n && a(i.tokens.typography.get("normal.label02")), ";[data-header-role='options'],[data-header-role='sorting-button']{opacity:1;}}button:focus-visible{opacity:1;}", c, ";", ""), z = ({
|
|
19
19
|
contentAlign: o
|
|
20
|
-
}) => /* @__PURE__ */ s("display:flex;align-items:center;justify-content:",
|
|
20
|
+
}) => /* @__PURE__ */ s("display:flex;align-items:center;justify-content:", g[o], ";gap:", t.spacing[4], ";", y, ";", "");
|
|
21
21
|
var u = {
|
|
22
22
|
name: "unrh3l",
|
|
23
23
|
styles: "display:flex;justify-content:space-between;width:100%"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { itemsPerPageContainer as h, counterWrapper as y, buttonsContainer as v, counterContainer as C, paginationContainer as f } from "./TPagination.style.js";
|
|
3
3
|
import $ from "../../../Select/Select.js";
|
|
4
4
|
import s from "../../../Typography/Typography.js";
|
|
5
5
|
import r from "../../../IconButton/IconButton.js";
|
|
@@ -19,18 +19,18 @@ const k = ({
|
|
|
19
19
|
isNextPageDisabled: _,
|
|
20
20
|
isPrevPageDisabled: d
|
|
21
21
|
} = g;
|
|
22
|
-
return /* @__PURE__ */ n("div", { css:
|
|
22
|
+
return /* @__PURE__ */ n("div", { css: f({
|
|
23
23
|
isSticky: m
|
|
24
24
|
}), children: [
|
|
25
|
-
/* @__PURE__ */ e("div", { css:
|
|
26
|
-
/* @__PURE__ */ n("div", { css:
|
|
27
|
-
/* @__PURE__ */ n("div", { css:
|
|
25
|
+
/* @__PURE__ */ e("div", { css: h(), children: c && l && /* @__PURE__ */ e($, { label: "", size: "compact", options: l, selectedOption: c, isSearchable: !1, onChange: b, dataTestId: `${t}_table_show_items` }) }),
|
|
26
|
+
/* @__PURE__ */ n("div", { css: C(), children: [
|
|
27
|
+
/* @__PURE__ */ n("div", { css: y(), "data-testid": `${t}_table_pages_info`, children: [
|
|
28
28
|
/* @__PURE__ */ e(s, { type: "secondary", variant: "body03", children: "page" }),
|
|
29
29
|
/* @__PURE__ */ e(s, { variant: "label03", "data-testid": `${t}_table_current_page`, children: a }),
|
|
30
30
|
/* @__PURE__ */ e(s, { type: "secondary", variant: "body03", children: "of" }),
|
|
31
31
|
/* @__PURE__ */ e(s, { variant: "label03", "data-testid": `${t}_table_total_pages`, children: i })
|
|
32
32
|
] }),
|
|
33
|
-
/* @__PURE__ */ n("div", { css:
|
|
33
|
+
/* @__PURE__ */ n("div", { css: v(), children: [
|
|
34
34
|
p && /* @__PURE__ */ e(r, { iconName: "pageFirst", size: "compact", type: "tertiary", onClick: () => o(1), isDisabled: a === 1 || d, dataTestPrefixId: `${t}_table_go_to_first_page` }),
|
|
35
35
|
/* @__PURE__ */ e(r, { iconName: "chevronLeft", size: "compact", type: "tertiary", onClick: () => o(a - 1), isDisabled: a === 1 || d, dataTestPrefixId: `${t}_table_go_to_prev_page` }),
|
|
36
36
|
/* @__PURE__ */ e(r, { iconName: "chevronRight", size: "compact", type: "tertiary", onClick: () => o(a + 1), isDisabled: a === i || _, dataTestPrefixId: `${t}_table_go_to_next_page` }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as e, jsx as s, Fragment as f } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import T, { useMemo as j } from "react";
|
|
3
3
|
import w from "react-fast-compare";
|
|
4
|
-
import {
|
|
4
|
+
import { titleContent as A, actionsContent as $, tTitleContainer as g } from "./TTitle.style.js";
|
|
5
5
|
import a from "../../../Typography/Typography.js";
|
|
6
6
|
import k from "./components/ColumnChooser/ColumnChooser.js";
|
|
7
7
|
const R = ({
|
|
@@ -28,12 +28,12 @@ const R = ({
|
|
|
28
28
|
t ? "selected" : ""
|
|
29
29
|
] })
|
|
30
30
|
] }), [i, t, n, o]);
|
|
31
|
-
return /* @__PURE__ */ e("div", { css:
|
|
32
|
-
/* @__PURE__ */ s("div", { css:
|
|
31
|
+
return /* @__PURE__ */ e("div", { css: g(), children: [
|
|
32
|
+
/* @__PURE__ */ s("div", { css: A(), children: y && /* @__PURE__ */ e(f, { children: [
|
|
33
33
|
_,
|
|
34
34
|
C && b
|
|
35
35
|
] }) }),
|
|
36
|
-
/* @__PURE__ */ e("div", { css:
|
|
36
|
+
/* @__PURE__ */ e("div", { css: $(), children: [
|
|
37
37
|
v,
|
|
38
38
|
l && /* @__PURE__ */ s(k, { columns: d, columnsConfig: l, containerRef: u, dataTestPrefixId: i })
|
|
39
39
|
] })
|
|
@@ -1,62 +1,61 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useReactTable as
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
const n = H(), c = r ? [{
|
|
1
|
+
import { jsx as d, Fragment as _ } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useReactTable as y, getExpandedRowModel as P, getCoreRowModel as M, createColumnHelper as E } from "@tanstack/react-table";
|
|
3
|
+
import { concat as H } from "lodash-es";
|
|
4
|
+
import T, { useMemo as h } from "react";
|
|
5
|
+
import { vars as f } from "@orfium/tokens";
|
|
6
|
+
import { lineEllipsis as v } from "../../../theme/functions.js";
|
|
7
|
+
import V from "../../Typography/Typography.js";
|
|
8
|
+
import A from "../../Controls/CheckBox/CheckBox.js";
|
|
9
|
+
import $ from "../../Icon/Icon.js";
|
|
10
|
+
const b = (S, g, r, l) => {
|
|
11
|
+
const i = E(), n = g ? [{
|
|
13
12
|
id: "checkbox_select",
|
|
14
13
|
header: ({
|
|
15
14
|
table: e
|
|
16
|
-
}) => /* @__PURE__ */
|
|
15
|
+
}) => /* @__PURE__ */ d(A, { isSelected: e.getIsAllPageRowsSelected(), isIndeterminate: e.getIsSomePageRowsSelected() && !e.getIsAllPageRowsSelected(), onChange: () => {
|
|
17
16
|
const t = e.getIsAllPageRowsSelected();
|
|
18
17
|
e.toggleAllPageRowsSelected(!t);
|
|
19
|
-
}, dataTestPrefixId: `${
|
|
18
|
+
}, dataTestPrefixId: `${l}_table_select_all` }),
|
|
20
19
|
cell: ({
|
|
21
20
|
row: e
|
|
22
|
-
}) => /* @__PURE__ */
|
|
23
|
-
|
|
21
|
+
}) => /* @__PURE__ */ d("div", { className: "px-1", children: /* @__PURE__ */ d(
|
|
22
|
+
A,
|
|
24
23
|
{
|
|
25
24
|
isSelected: e.getIsSelected(),
|
|
26
25
|
isDisabled: !e.getCanSelect(),
|
|
27
26
|
onChange: e.getToggleSelectedHandler(),
|
|
28
|
-
dataTestPrefixId: `${
|
|
27
|
+
dataTestPrefixId: `${l}_table_select_${e.id}`
|
|
29
28
|
}
|
|
30
29
|
) }),
|
|
31
30
|
meta: {
|
|
32
31
|
contentAlign: "left"
|
|
33
32
|
}
|
|
34
|
-
}] : [],
|
|
33
|
+
}] : [], c = r ? [{
|
|
35
34
|
id: "details_iconButton",
|
|
36
|
-
header: () => /* @__PURE__ */
|
|
35
|
+
header: () => /* @__PURE__ */ d(_, {}),
|
|
37
36
|
cell: ({
|
|
38
37
|
row: e
|
|
39
|
-
}) => /* @__PURE__ */
|
|
38
|
+
}) => /* @__PURE__ */ d($, { name: e.getIsExpanded() ? "triangleDown" : "triangleRight", size: f.sizing[5], color: f.color.text.default.secondary, onClick: () => {
|
|
40
39
|
const t = e.getIsExpanded();
|
|
41
40
|
e.toggleExpanded(!t);
|
|
42
|
-
}, dataTestId: `${
|
|
41
|
+
}, dataTestId: `${l}_table_expand_${e.id}` }),
|
|
43
42
|
meta: {
|
|
44
43
|
contentAlign: "left"
|
|
45
44
|
}
|
|
46
|
-
}] : [],
|
|
45
|
+
}] : [], p = S.reduce((e, t) => {
|
|
47
46
|
if ("columns" in t) {
|
|
48
|
-
const
|
|
47
|
+
const a = {
|
|
49
48
|
id: t.id,
|
|
50
49
|
header: t.header,
|
|
51
|
-
columns:
|
|
50
|
+
columns: b(t.columns, !1, !1, l)
|
|
52
51
|
};
|
|
53
|
-
e.push(
|
|
52
|
+
e.push(i.group(a));
|
|
54
53
|
} else
|
|
55
|
-
e.push(
|
|
54
|
+
e.push(i.accessor(t.id, {
|
|
56
55
|
header: t.header,
|
|
57
|
-
cell: (
|
|
58
|
-
const
|
|
59
|
-
return typeof
|
|
56
|
+
cell: (a) => {
|
|
57
|
+
const s = a.getValue();
|
|
58
|
+
return typeof s == "string" || typeof s == "number" ? /* @__PURE__ */ d(V, { variant: "body02", component: "span", css: v, children: s }) : s;
|
|
60
59
|
},
|
|
61
60
|
size: t.width ?? "auto",
|
|
62
61
|
minSize: t.width,
|
|
@@ -66,26 +65,26 @@ const x = (m, r, i, s, a) => {
|
|
|
66
65
|
}
|
|
67
66
|
}));
|
|
68
67
|
return e;
|
|
69
|
-
},
|
|
70
|
-
return
|
|
71
|
-
},
|
|
72
|
-
type:
|
|
73
|
-
data:
|
|
74
|
-
columns:
|
|
75
|
-
sorting:
|
|
76
|
-
rowsConfig:
|
|
68
|
+
}, n);
|
|
69
|
+
return H(p, c);
|
|
70
|
+
}, q = ({
|
|
71
|
+
type: S = "read-only",
|
|
72
|
+
data: g,
|
|
73
|
+
columns: r,
|
|
74
|
+
sorting: l,
|
|
75
|
+
rowsConfig: i,
|
|
77
76
|
columnsConfig: n,
|
|
78
77
|
dataTestPrefixId: c,
|
|
79
78
|
...p
|
|
80
79
|
}) => {
|
|
81
|
-
const
|
|
80
|
+
const e = S === "interactive", {
|
|
82
81
|
rowSelection: t,
|
|
83
|
-
setRowSelection:
|
|
84
|
-
expanded:
|
|
85
|
-
setExpanded:
|
|
86
|
-
} =
|
|
87
|
-
...
|
|
88
|
-
sorting:
|
|
82
|
+
setRowSelection: a,
|
|
83
|
+
expanded: s,
|
|
84
|
+
setExpanded: u
|
|
85
|
+
} = i ?? {}, R = g.some((m) => m.details) && !!s, x = h(() => g.map((m) => m.cells), [g]), w = !!(t && e), I = h(() => b(r, w, R, c), [r, w, R, c]), C = T.useMemo(() => ({
|
|
86
|
+
...l && {
|
|
87
|
+
sorting: l.sortingColumn
|
|
89
88
|
},
|
|
90
89
|
...t && e && {
|
|
91
90
|
rowSelection: t
|
|
@@ -93,32 +92,32 @@ const x = (m, r, i, s, a) => {
|
|
|
93
92
|
...n && {
|
|
94
93
|
columnVisibility: n.columnVisibility
|
|
95
94
|
},
|
|
96
|
-
...
|
|
97
|
-
expanded:
|
|
95
|
+
...s && {
|
|
96
|
+
expanded: s
|
|
98
97
|
}
|
|
99
|
-
}), [n,
|
|
98
|
+
}), [n, s, e, t, l]), o = y({
|
|
100
99
|
/** Basic Functionality */
|
|
101
|
-
data:
|
|
102
|
-
columns:
|
|
103
|
-
getCoreRowModel:
|
|
100
|
+
data: x,
|
|
101
|
+
columns: I,
|
|
102
|
+
getCoreRowModel: M(),
|
|
104
103
|
/** States */
|
|
105
|
-
state:
|
|
104
|
+
state: C,
|
|
106
105
|
/** States callbacks and extra config */
|
|
107
106
|
/** Sorting */
|
|
108
|
-
...
|
|
107
|
+
...l && {
|
|
109
108
|
manualSorting: !0,
|
|
110
|
-
onSortingChange:
|
|
111
|
-
enableMultiSort:
|
|
109
|
+
onSortingChange: l.handleSorting,
|
|
110
|
+
enableMultiSort: l.isMultiSortable ?? !1
|
|
112
111
|
},
|
|
113
112
|
/** Row Selection */
|
|
114
|
-
...
|
|
113
|
+
...a && e && {
|
|
115
114
|
enableRowSelection: !0,
|
|
116
|
-
onRowSelectionChange:
|
|
115
|
+
onRowSelectionChange: a
|
|
117
116
|
},
|
|
118
117
|
/** Row Details */
|
|
119
|
-
...
|
|
120
|
-
getExpandedRowModel:
|
|
121
|
-
onExpandedChange:
|
|
118
|
+
...s && u && {
|
|
119
|
+
getExpandedRowModel: P(),
|
|
120
|
+
onExpandedChange: u
|
|
122
121
|
},
|
|
123
122
|
/** Column Visibility */
|
|
124
123
|
...n && {
|
|
@@ -127,19 +126,19 @@ const x = (m, r, i, s, a) => {
|
|
|
127
126
|
...p
|
|
128
127
|
});
|
|
129
128
|
return {
|
|
130
|
-
getHeaderGroups:
|
|
131
|
-
getRowModel:
|
|
132
|
-
getIsAllRowsSelected:
|
|
133
|
-
getIsSomeRowsSelected:
|
|
134
|
-
getToggleAllRowsSelectedHandler:
|
|
135
|
-
toggleAllRowsSelected:
|
|
136
|
-
getAllLeafColumns:
|
|
137
|
-
getIsAllPageRowsSelected:
|
|
138
|
-
getIsSomePageRowsSelected:
|
|
139
|
-
getToggleAllPageRowsSelectedHandler:
|
|
140
|
-
toggleAllPageRowsSelected:
|
|
129
|
+
getHeaderGroups: o.getHeaderGroups,
|
|
130
|
+
getRowModel: o.getRowModel,
|
|
131
|
+
getIsAllRowsSelected: o.getIsAllRowsSelected,
|
|
132
|
+
getIsSomeRowsSelected: o.getIsSomeRowsSelected,
|
|
133
|
+
getToggleAllRowsSelectedHandler: o.getToggleAllRowsSelectedHandler,
|
|
134
|
+
toggleAllRowsSelected: o.toggleAllRowsSelected,
|
|
135
|
+
getAllLeafColumns: o.getAllLeafColumns,
|
|
136
|
+
getIsAllPageRowsSelected: o.getIsAllPageRowsSelected,
|
|
137
|
+
getIsSomePageRowsSelected: o.getIsSomePageRowsSelected,
|
|
138
|
+
getToggleAllPageRowsSelectedHandler: o.getToggleAllPageRowsSelectedHandler,
|
|
139
|
+
toggleAllPageRowsSelected: o.toggleAllPageRowsSelected
|
|
141
140
|
};
|
|
142
141
|
};
|
|
143
142
|
export {
|
|
144
|
-
|
|
143
|
+
q as default
|
|
145
144
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsxs as p, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import G from "../../hooks/useBreakpoints.js";
|
|
3
3
|
import { head as E } from "lodash-es";
|
|
4
4
|
import I from "pluralize";
|
|
5
5
|
import h, { memo as J, useState as j, useEffect as R } from "react";
|
|
6
6
|
import Q from "react-fast-compare";
|
|
7
|
-
import { tableCTAStyle as U,
|
|
7
|
+
import { tableCTAStyle as U, tableRowHeadersStyle as X, tableStyle as Y } from "./TableV4.style.js";
|
|
8
8
|
import V from "./components/TableRow/TableRow.js";
|
|
9
9
|
import u from "./components/TableCell/TableCell.js";
|
|
10
10
|
import Z from "../Controls/CheckBox/CheckBox.js";
|
|
11
|
+
import { isItemString as f } from "./utils/utils.js";
|
|
11
12
|
import W from "./components/ExtendedColumnItem/ExtendedColumnItem.js";
|
|
12
13
|
import H from "./components/TableRowWrapper/TableRowWrapper.js";
|
|
13
|
-
import { isItemString as f } from "./utils/utils.js";
|
|
14
14
|
const D = (n, i, c) => !i && !c ? n.length : i && c ? n.length + 2 : n.length + 1;
|
|
15
15
|
function T({
|
|
16
16
|
data: n,
|
|
@@ -32,58 +32,58 @@ function T({
|
|
|
32
32
|
isInitiallyExpanded: v = !1,
|
|
33
33
|
dataTestIdPrefix: s
|
|
34
34
|
}) {
|
|
35
|
-
const x = G(), z = B ? `${B}%` : x.des1920 ? "5%" : "7%", [
|
|
35
|
+
const x = G(), z = B ? `${B}%` : x.des1920 ? "5%" : "7%", [l, d] = j(void 0), [M, A] = j(q), N = n.some((e) => !!e.expanded), O = D(i, t, N);
|
|
36
36
|
R(() => {
|
|
37
|
-
t &&
|
|
38
|
-
}, [t,
|
|
39
|
-
|
|
37
|
+
t && l && t(l);
|
|
38
|
+
}, [t, l]), R(() => {
|
|
39
|
+
d(void 0);
|
|
40
40
|
}, [n]);
|
|
41
41
|
const C = h.useCallback((e) => {
|
|
42
|
-
|
|
43
|
-
}, []),
|
|
42
|
+
d((r = []) => r.indexOf(e) === -1 ? [...r, e] : r.filter((k) => k !== e));
|
|
43
|
+
}, []), S = h.useMemo(() => E(n)?.cells?.map(({
|
|
44
44
|
content: e
|
|
45
|
-
}) => !Number.isNaN(Number(e))) || [], [n]),
|
|
45
|
+
}) => !Number.isNaN(Number(e))) || [], [n]), _ = h.useMemo(() => E(n)?.cells?.map(({
|
|
46
46
|
align: e
|
|
47
|
-
}) => e) || [], [n]),
|
|
47
|
+
}) => e) || [], [n]), $ = h.useMemo(() => E(n)?.cells?.map(({
|
|
48
48
|
widthPercentage: e
|
|
49
49
|
}) => e) || [], [n]), L = (e) => {
|
|
50
|
-
A((
|
|
50
|
+
A((r) => w ? (y?.(e, w), {
|
|
51
51
|
column: e,
|
|
52
52
|
order: w
|
|
53
|
-
}) :
|
|
53
|
+
}) : r.column !== e ? (y?.(e, "asc"), {
|
|
54
54
|
column: e,
|
|
55
55
|
order: "asc"
|
|
56
|
-
}) : (y?.(e,
|
|
56
|
+
}) : (y?.(e, r.order === "asc" ? "desc" : "asc"), {
|
|
57
57
|
column: e,
|
|
58
|
-
order:
|
|
58
|
+
order: r.order === "asc" ? "desc" : "asc"
|
|
59
59
|
}));
|
|
60
60
|
};
|
|
61
61
|
return /* @__PURE__ */ p(h.Fragment, { children: [
|
|
62
62
|
(t || b || K) && /* @__PURE__ */ o("table", { css: U(a), children: /* @__PURE__ */ o("thead", { children: /* @__PURE__ */ p(V, { children: [
|
|
63
|
-
t && /* @__PURE__ */ o(u, { component: "th", width: 50, isPadded: m, dataTestIdPrefix: s, rowIndex: 0, index: 0, children: /* @__PURE__ */ o(Z, { isSelected: !!(
|
|
64
|
-
|
|
63
|
+
t && /* @__PURE__ */ o(u, { component: "th", width: 50, isPadded: m, dataTestIdPrefix: s, rowIndex: 0, index: 0, children: /* @__PURE__ */ o(Z, { isSelected: !!(l && l.length > 0), isIndeterminate: l && l.length > 0 && l?.length !== n.length, onChange: () => {
|
|
64
|
+
l?.length === n.length ? d([]) : d(n.map(({
|
|
65
65
|
id: e
|
|
66
66
|
}) => e));
|
|
67
67
|
} }) }),
|
|
68
|
-
/* @__PURE__ */ o(u, { isPadded: m, dataTestIdPrefix: s, rowIndex: 0, index: 1, children:
|
|
69
|
-
/* @__PURE__ */ o("b", { children:
|
|
68
|
+
/* @__PURE__ */ o(u, { isPadded: m, dataTestIdPrefix: s, rowIndex: 0, index: 1, children: l && l?.length > 0 ? /* @__PURE__ */ p("span", { children: [
|
|
69
|
+
/* @__PURE__ */ o("b", { children: l.length }),
|
|
70
70
|
" ",
|
|
71
|
-
I("item",
|
|
71
|
+
I("item", l.length),
|
|
72
72
|
" selected"
|
|
73
73
|
] }) : K }),
|
|
74
|
-
b && /* @__PURE__ */ o(u, { textAlign: "right", isPadded: m, colSpan: O - (t ? 2 : 1), dataTestIdPrefix: s, rowIndex: 0, index: 2, children: b(n,
|
|
74
|
+
b && /* @__PURE__ */ o(u, { textAlign: "right", isPadded: m, colSpan: O - (t ? 2 : 1), dataTestIdPrefix: s, rowIndex: 0, index: 2, children: b(n, l) })
|
|
75
75
|
] }) }) }),
|
|
76
|
-
/* @__PURE__ */ p("table", { css:
|
|
77
|
-
(t || b || c === "normal") && /* @__PURE__ */ o("thead", { children: c === "normal" && /* @__PURE__ */ p(V, { css:
|
|
76
|
+
/* @__PURE__ */ p("table", { css: Y(), children: [
|
|
77
|
+
(t || b || c === "normal") && /* @__PURE__ */ o("thead", { children: c === "normal" && /* @__PURE__ */ p(V, { css: X(N, !!t, g), children: [
|
|
78
78
|
t && /* @__PURE__ */ o(u, { component: "th", isPaddedSticky: a, isSticky: g, width: 50, isPadded: m, dataTestIdPrefix: s }),
|
|
79
|
-
i.map((e,
|
|
79
|
+
i.map((e, r) => /* @__PURE__ */ o(u, { textAlign: _ && _[r] ? _[r] : S && S[r] ? "right" : "left", component: "th", isSticky: g, isPaddedSticky: a, isPadded: m, width: $[r] ? `${$[r]}%` : "initial", isSortable: !f(e) && e.isSortable, isActive: !f(e) && e.content.sortingKey === M.column, onClick: () => {
|
|
80
80
|
!f(e) && e.isSortable && L(e.content.sortingKey);
|
|
81
|
-
}, dataTestIdPrefix: `${s}_${f(e) ? e.trim().toLowerCase().replace(/ /g, "_") : e.content.sortingKey.trim().toLowerCase().replace(/ /g, "_")}`, children: f(e) ? /* @__PURE__ */ o(W, { item: e }) : /* @__PURE__ */ o(W, { sorting: M, isNumerical:
|
|
81
|
+
}, dataTestIdPrefix: `${s}_${f(e) ? e.trim().toLowerCase().replace(/ /g, "_") : e.content.sortingKey.trim().toLowerCase().replace(/ /g, "_")}`, children: f(e) ? /* @__PURE__ */ o(W, { item: e }) : /* @__PURE__ */ o(W, { sorting: M, isNumerical: S && S[r], item: e }) }, `${f(e) ? e : e.content.sortingKey}`)),
|
|
82
82
|
N && /* @__PURE__ */ o(u, { component: "th", isSticky: g, isPaddedSticky: a, width: z, dataTestIdPrefix: s })
|
|
83
83
|
] }) }),
|
|
84
|
-
/* @__PURE__ */ o("tbody", { children: n.map((e,
|
|
84
|
+
/* @__PURE__ */ o("tbody", { children: n.map((e, r) => (
|
|
85
85
|
// @ts-expect-error - this is a test component
|
|
86
|
-
/* @__PURE__ */ o(H, { row: e, isRowSelected:
|
|
86
|
+
/* @__PURE__ */ o(H, { row: e, isRowSelected: l ? l.indexOf(e.id) !== -1 : !1, onSelectionAdd: C, isPadded: m, columns: i, hasFixedHeader: g, type: c, columnCount: O, columnsWithWidth: $, hasOnSelectionChange: !!t, isExpanded: !!e.expanded, actionWidth: B, isInitiallyExpanded: v, dataTestIdPrefix: s, rowIndex: r + 1 }, e.id)
|
|
87
87
|
)) })
|
|
88
88
|
] })
|
|
89
89
|
] });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { css as n } from "@emotion/react";
|
|
3
|
-
import
|
|
3
|
+
import f from "../../../../../../hooks/useBreakpoints.js";
|
|
4
4
|
import u from "react";
|
|
5
5
|
import { vars as e } from "@orfium/tokens";
|
|
6
6
|
import h from "../../../TableCell/TableCell.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as d, jsx as n } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import * as m from "react";
|
|
3
3
|
import R from "react-fast-compare";
|
|
4
4
|
import { inputStyle as w } from "../TextInputBase/TextInputBase.style.js";
|
|
@@ -23,7 +23,7 @@ const x = m.forwardRef((c, f) => {
|
|
|
23
23
|
...l
|
|
24
24
|
} = c, r = e?.type === "read-only", h = q({
|
|
25
25
|
isResizeEnabled: !t && !r && v
|
|
26
|
-
}), p = i && e?.type != "error", b = p ? /* @__PURE__ */
|
|
26
|
+
}), p = i && e?.type != "error", b = p ? /* @__PURE__ */ d("div", { css: E({
|
|
27
27
|
isDisabled: t
|
|
28
28
|
}), children: [
|
|
29
29
|
l.value?.length,
|
|
@@ -33,22 +33,22 @@ const x = m.forwardRef((c, f) => {
|
|
|
33
33
|
...e,
|
|
34
34
|
hintMessage: p ? void 0 : e.hintMessage
|
|
35
35
|
} : void 0;
|
|
36
|
-
return /* @__PURE__ */
|
|
37
|
-
/* @__PURE__ */
|
|
38
|
-
/* @__PURE__ */
|
|
36
|
+
return /* @__PURE__ */ d(m.Fragment, { children: [
|
|
37
|
+
/* @__PURE__ */ n(A, { ...c, status: g, sx: h, children: /* @__PURE__ */ d("div", { css: T, children: [
|
|
38
|
+
/* @__PURE__ */ n("textarea", { role: "textbox", "aria-multiline": !0, readOnly: r || y, css: w({
|
|
39
39
|
placeholder: a,
|
|
40
40
|
label: s,
|
|
41
41
|
sx: h,
|
|
42
42
|
isLocked: r,
|
|
43
43
|
isDisabled: t
|
|
44
44
|
}), placeholder: a ? `${a} ${o ? "*" : ""}` : s, required: o, id: u, maxLength: i, disabled: t || r, ...l, ref: f }),
|
|
45
|
-
/* @__PURE__ */
|
|
45
|
+
/* @__PURE__ */ n(S, { htmlFor: u, label: s, isRequired: o, isAnimated: !!l.value, hasError: !t && e?.type === "error" })
|
|
46
46
|
] }) }),
|
|
47
47
|
b
|
|
48
48
|
] });
|
|
49
49
|
});
|
|
50
50
|
x.displayName = "TextArea";
|
|
51
|
-
const
|
|
51
|
+
const F = m.memo(x, R);
|
|
52
52
|
export {
|
|
53
|
-
|
|
53
|
+
F as default
|
|
54
54
|
};
|
|
@@ -3,7 +3,7 @@ import c from "react";
|
|
|
3
3
|
import g from "react-fast-compare";
|
|
4
4
|
import { generateTestDataId as f } from "../../utils/helpers.js";
|
|
5
5
|
import { vars as n } from "@orfium/tokens";
|
|
6
|
-
import { hintMessageStyle as h,
|
|
6
|
+
import { hintMessageStyle as h, textFieldStyle as y, wrapperStyle as w } from "./TextInputBase.style.js";
|
|
7
7
|
import x from "../Icon/Icon.js";
|
|
8
8
|
const M = ({
|
|
9
9
|
isDisabled: o,
|
|
@@ -27,13 +27,13 @@ const M = ({
|
|
|
27
27
|
/* @__PURE__ */ e("span", { id: r.id, children: r.hintMessage })
|
|
28
28
|
] });
|
|
29
29
|
return /* @__PURE__ */ m(c.Fragment, { children: [
|
|
30
|
-
/* @__PURE__ */ e("div", { "data-testid": t, css:
|
|
30
|
+
/* @__PURE__ */ e("div", { "data-testid": t, css: w({
|
|
31
31
|
isDisabled: o,
|
|
32
32
|
status: r,
|
|
33
33
|
size: i,
|
|
34
34
|
sx: a,
|
|
35
35
|
isInteractive: l
|
|
36
|
-
}), children: /* @__PURE__ */ e("div", { css:
|
|
36
|
+
}), children: /* @__PURE__ */ e("div", { css: y({
|
|
37
37
|
sx: a
|
|
38
38
|
}), children: p }) }),
|
|
39
39
|
r.hintMessage && s
|
|
@@ -2,7 +2,7 @@ import { jsx as n, jsxs as k } from "@emotion/react/jsx-runtime";
|
|
|
2
2
|
import T, { forwardRef as l } from "react";
|
|
3
3
|
import { useToastRegion as A, useToast as I } from "react-aria";
|
|
4
4
|
import { createPortal as R, flushSync as b } from "react-dom";
|
|
5
|
-
import {
|
|
5
|
+
import { useToastQueue as w, ToastQueue as P } from "react-stately";
|
|
6
6
|
import { SlotProvider as h } from "../utils/Slots.js";
|
|
7
7
|
import { useDOMRef as y } from "../utils/useDOMRef.js";
|
|
8
8
|
import { styles as a, getIconColor as V } from "./Toast.style.js";
|
|
@@ -14,7 +14,7 @@ function S(o) {
|
|
|
14
14
|
}).ready.catch(() => {
|
|
15
15
|
}) : o();
|
|
16
16
|
}
|
|
17
|
-
const m = new
|
|
17
|
+
const m = new P({
|
|
18
18
|
maxVisibleToasts: E,
|
|
19
19
|
wrapUpdate: S
|
|
20
20
|
}), x = (o, {
|
|
@@ -74,7 +74,7 @@ const z = l(({
|
|
|
74
74
|
placement: o = "bottom right",
|
|
75
75
|
...t
|
|
76
76
|
}, e) => {
|
|
77
|
-
const s =
|
|
77
|
+
const s = w(m);
|
|
78
78
|
return s.visibleToasts.length > 0 ? R(/* @__PURE__ */ n(g, { ref: e, ...t, placement: o, state: s }), document.body) : null;
|
|
79
79
|
});
|
|
80
80
|
z.displayName = "ToastContainer";
|
|
@@ -4,7 +4,7 @@ import { useState as C } from "react";
|
|
|
4
4
|
import { generateTestDataId as c } from "../../utils/helpers.js";
|
|
5
5
|
import { typeToColorStyle as h, actionContainer as u } from "../Notification/Notification.style.js";
|
|
6
6
|
import { typeToIconName as I } from "../Notification/subcomponents/CompactNotification/CompactNotification.js";
|
|
7
|
-
import {
|
|
7
|
+
import { infoIconContainer as S, infoContainer as z, chevronIconContainer as T, actionIconsContainer as g, topContainer as j, expandedContainer as k, toastContainer as w } from "./ToastV4.style.js";
|
|
8
8
|
import d from "../Icon/Icon.js";
|
|
9
9
|
const t = (r) => ["success", "error", "warning", "info"].includes(r), B = ({
|
|
10
10
|
message: r,
|
|
@@ -17,20 +17,20 @@ const t = (r) => ["success", "error", "warning", "info"].includes(r), B = ({
|
|
|
17
17
|
dataTestId: i
|
|
18
18
|
}) => {
|
|
19
19
|
const [s, x] = C(m);
|
|
20
|
-
return /* @__PURE__ */ e("div", { css:
|
|
20
|
+
return /* @__PURE__ */ e("div", { css: w(o, f), ...t(o) && {
|
|
21
21
|
"notification-type": "toast"
|
|
22
22
|
}, children: [
|
|
23
|
-
/* @__PURE__ */ e("div", { css:
|
|
24
|
-
/* @__PURE__ */ e("div", { css:
|
|
25
|
-
t(o) && /* @__PURE__ */ n("div", { css:
|
|
23
|
+
/* @__PURE__ */ e("div", { css: j(o), children: [
|
|
24
|
+
/* @__PURE__ */ e("div", { css: z(), children: [
|
|
25
|
+
t(o) && /* @__PURE__ */ n("div", { css: S(), children: /* @__PURE__ */ n(d, { name: I(o), color: a.color.text.default[h(o)], size: 24 }) }),
|
|
26
26
|
/* @__PURE__ */ n("div", { children: r })
|
|
27
27
|
] }),
|
|
28
|
-
/* @__PURE__ */ e("div", { css:
|
|
29
|
-
/* @__PURE__ */ n("span", { css:
|
|
28
|
+
/* @__PURE__ */ e("div", { css: g(), children: [
|
|
29
|
+
/* @__PURE__ */ n("span", { css: T(s), onClick: () => x(!s), "data-testid": c("toast-expand", i), children: /* @__PURE__ */ n(d, { name: "chevronDown", color: t(o) ? a.color.text.default.secondary : "#ffffff", size: 24 }) }),
|
|
30
30
|
/* @__PURE__ */ n("span", { css: u(), onClick: l, "data-testid": c("toast-close", i), children: /* @__PURE__ */ n(d, { name: "close", color: t(o) ? a.color.text.default.secondary : "#ffffff", size: 24 }) })
|
|
31
31
|
] })
|
|
32
32
|
] }),
|
|
33
|
-
/* @__PURE__ */ n("div", { css:
|
|
33
|
+
/* @__PURE__ */ n("div", { css: k(o, s, p), "data-testid": c("expanded-container", i), children: v })
|
|
34
34
|
] });
|
|
35
35
|
};
|
|
36
36
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css as r } from "@emotion/react";
|
|
2
|
-
import {
|
|
2
|
+
import { vars as t, rem as e } from "@orfium/tokens";
|
|
3
3
|
import { typeToColorStyle as s, typeToBackgroundStyle as g } from "../Notification/Notification.style.js";
|
|
4
4
|
import { label01 as f } from "../Typography/Typography.config.styles.js";
|
|
5
5
|
import { flexCenter as m, transition as l } from "../../theme/functions.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as s, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import B from "../../hooks/useBreakpoints.js";
|
|
3
3
|
import r from "./TopAppBar.style.js";
|
|
4
4
|
import u from "./components/SidebarMenuIcon/SidebarMenuIcon.js";
|
|
5
5
|
import S from "./components/Logo/Logo.wrapper.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as o, jsx as a } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { vars as t } from "@orfium/tokens";
|
|
3
3
|
import { iconWrapperStyle as n } from "../../../TextField/TextField.style.js";
|
|
4
|
-
import {
|
|
4
|
+
import { customInputStyle as d, searchWrapper as p } from "./Search.style.js";
|
|
5
5
|
import f from "../../../Icon/Icon.js";
|
|
6
6
|
const x = ({
|
|
7
7
|
searchPlaceholder: r = "Search",
|
|
@@ -10,14 +10,14 @@ const x = ({
|
|
|
10
10
|
onKeyPressHandler: c,
|
|
11
11
|
isSearchDisabled: l = !1,
|
|
12
12
|
isDark: e = !1
|
|
13
|
-
}) => /* @__PURE__ */ o("div", { "aria-disabled": l, css:
|
|
13
|
+
}) => /* @__PURE__ */ o("div", { "aria-disabled": l, css: p(e), children: [
|
|
14
14
|
/* @__PURE__ */ o("div", { css: n({
|
|
15
15
|
iconPosition: "left"
|
|
16
16
|
}), children: [
|
|
17
17
|
/* @__PURE__ */ a(f, { name: "search", color: e ? t.color.text.inverted.primary : t.color.text.default.secondary, size: 20 }),
|
|
18
18
|
" "
|
|
19
19
|
] }),
|
|
20
|
-
/* @__PURE__ */ a("input", { readOnly: !1, css:
|
|
20
|
+
/* @__PURE__ */ a("input", { readOnly: !1, css: d(r, e), placeholder: r, defaultValue: s, id: "top-nav-search", "data-testid": "top-nav-search", disabled: !1, onChange: i, onKeyPress: c })
|
|
21
21
|
] });
|
|
22
22
|
export {
|
|
23
23
|
x as default
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css as c } from "@emotion/react";
|
|
2
|
-
import {
|
|
2
|
+
import { vars as t, rem as n } from "@orfium/tokens";
|
|
3
3
|
import { lighten as i, darken as a } from "polished";
|
|
4
4
|
import { inputStyle as s } from "../../../TextInputBase/TextInputBase.style.js";
|
|
5
5
|
import { flex as u, flexCenterVertical as p } from "../../../../theme/functions.js";
|