@orfium/ictinus 5.45.2 → 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/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/index.d.ts +2 -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 +5 -5
- 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-BRhHBoq9.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-DueIYPl1.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-qWsAYNJP.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-DhJra5VE.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-BcRKAQD_.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-DArDfJ85.css → Menu.css.ts.vanilla-_CX_KJYW.css} +5 -5
- package/dist/vanilla/assets/src/vanilla/Popover/{Popover.css.ts.vanilla-CiACUbBM.css → Popover.css.ts.vanilla-ChNqyd-w.css} +7 -7
- package/dist/vanilla/assets/src/vanilla/Table/{Table.css.ts.vanilla-DarQMr6Y.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-Csp77ipL.css → TableCell.css.ts.vanilla-yoCXB3yl.css} +10 -10
- package/dist/vanilla/assets/src/vanilla/Table/{TableFooter.css.ts.vanilla-DucTzTTQ.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-Du_-Wub7.css → TableHeaderCell.css.ts.vanilla-BEjMlivm.css} +9 -9
- package/dist/vanilla/assets/src/vanilla/Table/{TableRow.css.ts.vanilla-C0OfPLuX.css → TableRow.css.ts.vanilla-Ce2GojWZ.css} +5 -5
- package/dist/vanilla/assets/src/vanilla/Text/{Text.css.ts.vanilla-CR7LEA7K.css → Text.css.ts.vanilla-Dc-awaCi.css} +13 -13
- package/dist/vanilla/assets/src/vanilla/Tooltip/{Tooltip.css.ts.vanilla-DfwLEQ86.css → Tooltip.css.ts.vanilla-C_aGKL12.css} +13 -13
- package/dist/vanilla/index.d.ts +931 -38
- package/dist/vanilla/index.js +3 -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 +3 -3
- package/dist/vanilla/src/data-table/DataTableBody-css.js +11 -11
- 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/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-BZf5EbPi.css +0 -22
- package/dist/vanilla/assets/src/avatar/AvatarGroup.css.ts.vanilla-z3uMcKT_.css +0 -4
- package/dist/vanilla/assets/src/cover/Cover.css.ts.vanilla-D3GnlIpg.css +0 -35
- package/dist/vanilla/assets/src/data-table/DataTableBody.css.ts.vanilla-BowUQZcc.css +0 -70
- package/dist/vanilla/assets/src/layers/layers.css.ts.vanilla-DFmEGtie.css +0 -1
- package/dist/vanilla/assets/src/skeleton/Skeleton.css.ts.vanilla-D4xf3GmW.css +0 -6
- package/dist/vanilla/assets/src/vanilla/Table/TableBody.css.ts.vanilla-Btjzd27g.css +0 -6
- package/dist/vanilla/assets/src/vanilla/Table/TableHeader.css.ts.vanilla-BY1AQFKf.css +0 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as l, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { generateTestDataId as r } from "../../../utils/helpers.js";
|
|
3
|
-
import {
|
|
3
|
+
import { descriptionContainer as f, visualContainer as m } from "./NotificationVisual.style.js";
|
|
4
4
|
import { boldMessageContainer as u } from "../Notification.style.js";
|
|
5
5
|
import v from "../subcomponents/NotificationActionsArea/NotificationActionsArea.js";
|
|
6
6
|
const N = ({
|
|
@@ -13,9 +13,9 @@ const N = ({
|
|
|
13
13
|
dataTestId: i
|
|
14
14
|
}) => {
|
|
15
15
|
const d = o && s || n && e;
|
|
16
|
-
return /* @__PURE__ */ l("div", { css:
|
|
16
|
+
return /* @__PURE__ */ l("div", { css: m(), children: [
|
|
17
17
|
/* @__PURE__ */ t("div", { css: u(), "data-testid": r("visual-title", i), children: a }),
|
|
18
|
-
/* @__PURE__ */ t("div", { css:
|
|
18
|
+
/* @__PURE__ */ t("div", { css: f(), "data-testid": r("visual-description", i), children: c }),
|
|
19
19
|
d && /* @__PURE__ */ t(v, { primaryCTA: o, primaryCTALabel: s, secondaryCTA: n, secondaryCTALabel: e, dataTestPrefixId: "visual", dataTestId: i })
|
|
20
20
|
] });
|
|
21
21
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as r, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { vars as a } from "@orfium/tokens";
|
|
3
3
|
import { generateTestDataId as d } from "../../../utils/helpers.js";
|
|
4
|
-
import {
|
|
4
|
+
import { typeToColorStyle as k, iconContainer as x, boldMessageContainer as C, actionContainer as b } from "../Notification.style.js";
|
|
5
5
|
import { typeToIconName as u } from "../subcomponents/CompactNotification/CompactNotification.js";
|
|
6
|
-
import {
|
|
6
|
+
import { infoContainer as g, topContainer as j, descriptionContainer as z, cardContainer as I } from "./Snackbar.style.js";
|
|
7
7
|
import l from "../../Icon/Icon.js";
|
|
8
8
|
import N from "../subcomponents/NotificationActionsArea/NotificationActionsArea.js";
|
|
9
9
|
const B = ({
|
|
@@ -21,16 +21,15 @@ const B = ({
|
|
|
21
21
|
const v = e && t || s && c;
|
|
22
22
|
return (
|
|
23
23
|
// @TODO remove the below or change to data-
|
|
24
|
-
|
|
25
|
-
/* @__PURE__ */ r("div", { css: g(i, f), "notification-type": "snackbar", children: [
|
|
24
|
+
/* @__PURE__ */ r("div", { css: I(i, f), "notification-type": "snackbar", children: [
|
|
26
25
|
/* @__PURE__ */ r("div", { css: j(), children: [
|
|
27
|
-
/* @__PURE__ */ r("div", { css:
|
|
28
|
-
/* @__PURE__ */ o("div", { css:
|
|
26
|
+
/* @__PURE__ */ r("div", { css: g(), children: [
|
|
27
|
+
/* @__PURE__ */ o("div", { css: x(), children: /* @__PURE__ */ o(l, { name: u(i), color: a.color.text.default[k(i)], size: 24 }) }),
|
|
29
28
|
/* @__PURE__ */ o("div", { css: C(i), children: m })
|
|
30
29
|
] }),
|
|
31
30
|
/* @__PURE__ */ o("span", { css: b(), onClick: h, "data-testid": d("snackbar-close", n), children: /* @__PURE__ */ o(l, { name: "close", color: a.color.text.default.secondary, size: 24 }) })
|
|
32
31
|
] }),
|
|
33
|
-
/* @__PURE__ */ o("div", { css:
|
|
32
|
+
/* @__PURE__ */ o("div", { css: z(), "data-testid": d("snackbar-description", n), children: p }),
|
|
34
33
|
v && /* @__PURE__ */ o(N, { primaryCTA: e, primaryCTALabel: t, secondaryCTA: s, secondaryCTALabel: c, dataTestPrefixId: "snackbar", dataTestId: n })
|
|
35
34
|
] })
|
|
36
35
|
);
|
package/dist/components/Notification/subcomponents/CompactNotification/CompactNotification.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as c, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { vars as l } from "@orfium/tokens";
|
|
3
3
|
import { generateTestDataId as t } from "../../../../utils/helpers.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { typeToColorStyle as C, iconContainer as u, actionContainer as x } from "../../Notification.style.js";
|
|
5
|
+
import { headContainer as v, messageContainer as y, infoContainer as g, primaryActionContainer as b, actionsContainer as j, notificationsContainer as k } from "./CompactNotification.style.js";
|
|
6
6
|
import m from "../../../Icon/Icon.js";
|
|
7
7
|
import z from "../../../Button/Button.js";
|
|
8
8
|
const N = (e) => e === "info" ? "informational" : e, F = ({
|
|
@@ -16,16 +16,16 @@ const N = (e) => e === "info" ? "informational" : e, F = ({
|
|
|
16
16
|
closeCTA: d,
|
|
17
17
|
title: h,
|
|
18
18
|
dataTestId: n
|
|
19
|
-
}) => /* @__PURE__ */ c("div", { css:
|
|
19
|
+
}) => /* @__PURE__ */ c("div", { css: k(r, p), "data-testid": t(i, n), ...i == "banner" && {
|
|
20
20
|
"notification-type": "banner"
|
|
21
21
|
}, children: [
|
|
22
|
-
/* @__PURE__ */ c("div", { css:
|
|
23
|
-
e && /* @__PURE__ */ o("div", { css:
|
|
24
|
-
i === "banner" && /* @__PURE__ */ o("div", { css:
|
|
25
|
-
/* @__PURE__ */ o("div", { css:
|
|
22
|
+
/* @__PURE__ */ c("div", { css: g(), children: [
|
|
23
|
+
e && /* @__PURE__ */ o("div", { css: u(), children: /* @__PURE__ */ o(m, { name: N(r), color: l.color.text.default[C(r)], size: 24 }) }),
|
|
24
|
+
i === "banner" && /* @__PURE__ */ o("div", { css: v(), "data-testid": t(`${i}-title`, n), children: h }),
|
|
25
|
+
/* @__PURE__ */ o("div", { css: y(), "data-testid": t(`${i}-message`, n), children: f })
|
|
26
26
|
] }),
|
|
27
27
|
/* @__PURE__ */ c("div", { css: j(), children: [
|
|
28
|
-
a && s && /* @__PURE__ */ o(z, { type: "tertiary", css:
|
|
28
|
+
a && s && /* @__PURE__ */ o(z, { type: "tertiary", css: b(), onClick: a, "data-testid": t("notification-primary", n), children: s }),
|
|
29
29
|
d && /* @__PURE__ */ o("span", { css: x(), onClick: d, "data-testid": t("notification-close", n), children: /* @__PURE__ */ o(m, { name: "close", color: l.color.text.default.secondary, size: 16 }) })
|
|
30
30
|
] })
|
|
31
31
|
] });
|
package/dist/components/Notification/subcomponents/CompactNotification/CompactNotification.style.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css as n } from "@emotion/react";
|
|
2
|
-
import {
|
|
2
|
+
import { vars as i, rem as r } from "@orfium/tokens";
|
|
3
3
|
import { notificationsContainerPerType as a } from "../../Notification.style.js";
|
|
4
4
|
const g = (e, t) => (o) => /* @__PURE__ */ n("box-sizing:border-box;display:flex;justify-content:space-between;overflow:hidden;width:100%;min-height:", r(46), ";border-radius:", i["border-radius"][2], ";color:", i.color.text.default.primary, ";font-size:", i["font-size"][3], ";", a(e, t, o), ";", ""), m = () => /* @__PURE__ */ n("display:flex;align-items:center;padding:0 ", i.spacing[6], ";", ""), f = () => /* @__PURE__ */ n("padding:", i.spacing[6], " 0;", ""), l = () => /* @__PURE__ */ n("display:flex;align-items:center;padding-right:", i.spacing[6], ";font-weight:", i.weight.medium, ";", ""), h = () => /* @__PURE__ */ n("padding-right:", i.spacing[3], ";font-weight:", i.weight.medium, ";", "");
|
|
5
5
|
var s = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as m, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { generateTestDataId as s } from "../../../../utils/helpers.js";
|
|
3
|
-
import {
|
|
3
|
+
import { actionContainer as d, actionsContainer as l } from "../../Notification.style.js";
|
|
4
4
|
import a from "../../../Button/Button.js";
|
|
5
5
|
const v = ({
|
|
6
6
|
primaryCTA: i,
|
|
@@ -2,7 +2,7 @@ import { jsxs as l, jsx as t } from "@emotion/react/jsx-runtime";
|
|
|
2
2
|
import { vars as e } from "@orfium/tokens";
|
|
3
3
|
import { rem as p } from "polished";
|
|
4
4
|
import { Button as m } from "react-aria-components";
|
|
5
|
-
import {
|
|
5
|
+
import { buttonWrapperStyle as i, stepperContainerStyle as d } from "./Stepper.style.js";
|
|
6
6
|
import a from "../../../Icon/Icon.js";
|
|
7
7
|
const x = ({
|
|
8
8
|
size: r,
|
|
@@ -2,25 +2,23 @@ import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
|
2
2
|
import { isUndefined as n } from "lodash-es";
|
|
3
3
|
import m from "react";
|
|
4
4
|
import { ProgressBar as d } from "react-aria-components";
|
|
5
|
-
import {
|
|
5
|
+
import { fillStyles as l, barStyles as f, progressBarContainer as p } from "./ProgressBar.style.js";
|
|
6
6
|
const c = m.forwardRef(({
|
|
7
7
|
value: r,
|
|
8
8
|
status: t,
|
|
9
9
|
isBlock: s = !1,
|
|
10
10
|
dataTestPrefixId: a
|
|
11
11
|
}, o) => {
|
|
12
|
-
const i = {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
value: r
|
|
17
|
-
}
|
|
12
|
+
const i = n(r) ? {
|
|
13
|
+
isIndeterminate: !0
|
|
14
|
+
} : {
|
|
15
|
+
value: r
|
|
18
16
|
};
|
|
19
|
-
return /* @__PURE__ */ e(d, { ...i, css:
|
|
17
|
+
return /* @__PURE__ */ e(d, { ...i, css: p({
|
|
20
18
|
isBlock: s
|
|
21
19
|
}), ref: o, children: () => /* @__PURE__ */ e("div", { css: f({
|
|
22
20
|
isBlock: s
|
|
23
|
-
}), className: "bar", "data-testid": `${a}_linear_progress_container`, children: /* @__PURE__ */ e("div", { css:
|
|
21
|
+
}), className: "bar", "data-testid": `${a}_linear_progress_container`, children: /* @__PURE__ */ e("div", { css: l({
|
|
24
22
|
status: t,
|
|
25
23
|
value: r,
|
|
26
24
|
isBlock: s
|
|
@@ -4,7 +4,7 @@ import m from "react";
|
|
|
4
4
|
import I from "react-fast-compare";
|
|
5
5
|
import { vars as t } from "@orfium/tokens";
|
|
6
6
|
import { inputStyle as g } from "../TextInputBase/TextInputBase.style.js";
|
|
7
|
-
import {
|
|
7
|
+
import { searchInputStyles as v, getSX as C, filterStyles as b, searchContainer as z } from "./Search.style.js";
|
|
8
8
|
import T from "../TextInputBase/TextInputBase.js";
|
|
9
9
|
import d from "../Icon/Icon.js";
|
|
10
10
|
import $ from "../Filter/Filter.js";
|
|
@@ -22,21 +22,21 @@ const f = m.forwardRef((h, p) => {
|
|
|
22
22
|
} = h, y = a && a.length > 0, l = !!(o?.defaultValue && o?.label);
|
|
23
23
|
return _(() => {
|
|
24
24
|
s && s();
|
|
25
|
-
}), /* @__PURE__ */ n("div", { css:
|
|
25
|
+
}), /* @__PURE__ */ n("div", { css: z(), "data-testid": "search_container", children: [
|
|
26
26
|
/* @__PURE__ */ n(T, { dataTestPrefixId: i, isDisabled: r, sx: C({
|
|
27
27
|
hasFilter: l,
|
|
28
28
|
isDisabled: r,
|
|
29
29
|
sx: u
|
|
30
30
|
}), children: [
|
|
31
31
|
/* @__PURE__ */ e(d, { name: "search", size: t.sizing[5], color: t.color.text.default.secondary }),
|
|
32
|
-
/* @__PURE__ */ e("div", { css:
|
|
32
|
+
/* @__PURE__ */ e("div", { css: v(), children: /* @__PURE__ */ e("input", { type: "search", css: g({
|
|
33
33
|
placeholder: c
|
|
34
34
|
}), placeholder: c, disabled: r, value: a, ref: p, "data-testid": `${i}_search_input`, ...S }) }),
|
|
35
35
|
y && !r && /* @__PURE__ */ e(d, { name: "close", size: t.sizing[5], color: t.color.text.default.secondary, onClick: () => {
|
|
36
36
|
s();
|
|
37
37
|
}, dataTestId: "search-clear" })
|
|
38
38
|
] }),
|
|
39
|
-
l && /* @__PURE__ */ e("div", { css:
|
|
39
|
+
l && /* @__PURE__ */ e("div", { css: b(), children: /* @__PURE__ */ e($, { ...o, isDisabled: r, dataTestPrefixId: `${i}_search_filter`, children: x }) })
|
|
40
40
|
] });
|
|
41
41
|
});
|
|
42
42
|
f.displayName = "Search";
|
|
@@ -2,13 +2,13 @@ import { jsx as S } from "@emotion/react/jsx-runtime";
|
|
|
2
2
|
import v, { forwardRef as g, useState as n } from "react";
|
|
3
3
|
import F from "react-fast-compare";
|
|
4
4
|
import I from "./Search.js";
|
|
5
|
-
const s = g((
|
|
5
|
+
const s = g((f, i) => {
|
|
6
6
|
const {
|
|
7
7
|
onClear: t,
|
|
8
8
|
onInput: l,
|
|
9
9
|
filterConfig: e,
|
|
10
10
|
...u
|
|
11
|
-
} =
|
|
11
|
+
} = f, [c, a] = n(), [d, o] = n(void 0), m = () => {
|
|
12
12
|
a(""), t && t();
|
|
13
13
|
}, h = () => {
|
|
14
14
|
o(void 0), e?.onClear && e?.onClear();
|
|
@@ -26,7 +26,7 @@ const s = g((i, f) => {
|
|
|
26
26
|
...e
|
|
27
27
|
}
|
|
28
28
|
} : {};
|
|
29
|
-
return /* @__PURE__ */ S(I, { ref:
|
|
29
|
+
return /* @__PURE__ */ S(I, { ref: i, value: c, onClear: m, onInput: p, ...C, ...u });
|
|
30
30
|
});
|
|
31
31
|
s.displayName = "StatefulSearch";
|
|
32
32
|
const j = v.memo(s, F);
|
|
@@ -4,41 +4,40 @@ import Z from "../MultiTextFieldBase/MultiTextFieldBase.js";
|
|
|
4
4
|
import { PositionInScreen as ee } from "../utils/PositionInScreen/PositionInScreen.js";
|
|
5
5
|
import _ from "../../hooks/useKeyboardEvents.js";
|
|
6
6
|
import { debounce as te, differenceBy as re, head as se } from "lodash-es";
|
|
7
|
-
import
|
|
7
|
+
import I, { useRef as R, useState as q, useMemo as O, useCallback as oe } from "react";
|
|
8
8
|
import F from "react-fast-compare";
|
|
9
|
-
import { generateUniqueID as
|
|
9
|
+
import { generateUniqueID as ae, generateTestDataId as z } from "../../utils/helpers.js";
|
|
10
10
|
import le from "../../hooks/useCombinedRefs.js";
|
|
11
|
-
import
|
|
11
|
+
import ie from "../utils/handleSearch.js";
|
|
12
12
|
import ne from "./components/SelectMenu/SelectMenu.js";
|
|
13
13
|
import { SELECT_ALL_OPTION as ce } from "./constants.js";
|
|
14
14
|
import { suffixContainer as fe, selectWrapper as ue } from "./Select.style.js";
|
|
15
15
|
import de from "../Box/Box.js";
|
|
16
16
|
import pe from "../ProgressIndicator/ProgressIndicator.js";
|
|
17
17
|
import me from "../Icon/Icon.js";
|
|
18
|
-
import
|
|
19
|
-
const
|
|
18
|
+
import Ce from "../TextField/TextField.js";
|
|
19
|
+
const he = {
|
|
20
20
|
label: "",
|
|
21
21
|
value: ""
|
|
22
|
-
}, H =
|
|
22
|
+
}, H = I.forwardRef((W, K) => {
|
|
23
23
|
const {
|
|
24
24
|
selectedOption: t,
|
|
25
25
|
isMulti: i,
|
|
26
26
|
options: p,
|
|
27
27
|
size: m = "normal",
|
|
28
|
-
isAsync:
|
|
29
|
-
isLoading:
|
|
28
|
+
isAsync: C = !1,
|
|
29
|
+
isLoading: h = !1,
|
|
30
30
|
asyncSearch: b = () => {
|
|
31
31
|
},
|
|
32
32
|
status: y = {
|
|
33
33
|
type: "normal"
|
|
34
34
|
},
|
|
35
35
|
minCharactersToSearch: D = 0,
|
|
36
|
-
|
|
37
|
-
isSearchable: o = !0,
|
|
36
|
+
isSearchable: a = !0,
|
|
38
37
|
isVirtualized: U = !1,
|
|
39
|
-
isDisabled:
|
|
38
|
+
isDisabled: g,
|
|
40
39
|
dataTestId: E,
|
|
41
|
-
onChange:
|
|
40
|
+
onChange: o,
|
|
42
41
|
isCreatable: x = !1,
|
|
43
42
|
hasSelectAllOption: $ = !1,
|
|
44
43
|
...P
|
|
@@ -66,10 +65,10 @@ const Ce = {
|
|
|
66
65
|
}, 0);
|
|
67
66
|
},
|
|
68
67
|
onBackspace: () => {
|
|
69
|
-
|
|
68
|
+
S(""), n(!0), i || t && o && "label" in t && t.label === w && (o(void 0), v(""), b(""));
|
|
70
69
|
},
|
|
71
70
|
onAlphaNumerical: () => {
|
|
72
|
-
|
|
71
|
+
a && n(!0);
|
|
73
72
|
}
|
|
74
73
|
}
|
|
75
74
|
}
|
|
@@ -83,45 +82,45 @@ const Ce = {
|
|
|
83
82
|
}
|
|
84
83
|
}
|
|
85
84
|
}
|
|
86
|
-
}), [c, n] = q(!1), Y = R(null), u = le(Y, K), [r, v] = q(""),
|
|
87
|
-
if (i || n(!1),
|
|
88
|
-
if (
|
|
85
|
+
}), [c, n] = q(!1), Y = R(null), u = le(Y, K), [r, v] = q(""), w = O(() => Array.isArray(t) || !t ? r : r || t?.label, [r, t]), G = (e) => {
|
|
86
|
+
if (i || n(!1), a && v(""), i === !0) {
|
|
87
|
+
if (o && t)
|
|
89
88
|
if (F(e, ce))
|
|
90
|
-
|
|
89
|
+
o(p.filter((s) => !s.isDisabled));
|
|
91
90
|
else if (e.isCreated) {
|
|
92
91
|
const s = {
|
|
93
92
|
value: e.value,
|
|
94
93
|
label: e.value.toString(),
|
|
95
94
|
isCreated: !0
|
|
96
95
|
};
|
|
97
|
-
|
|
96
|
+
o([...t, s]);
|
|
98
97
|
} else
|
|
99
|
-
|
|
100
|
-
} else if (
|
|
98
|
+
o([...t, e]);
|
|
99
|
+
} else if (o)
|
|
101
100
|
if (e.isCreated) {
|
|
102
101
|
const s = {
|
|
103
102
|
value: e.value,
|
|
104
103
|
label: e.value.toString(),
|
|
105
104
|
isCreated: !0
|
|
106
105
|
};
|
|
107
|
-
|
|
106
|
+
o(s);
|
|
108
107
|
} else
|
|
109
|
-
|
|
108
|
+
o(e);
|
|
110
109
|
u.current?.focus();
|
|
111
|
-
},
|
|
110
|
+
}, S = oe(te((e) => {
|
|
112
111
|
b(e);
|
|
113
|
-
}, 400), []), V =
|
|
112
|
+
}, 400), []), V = I.useCallback((e) => {
|
|
114
113
|
c || n(!0), ie({
|
|
115
114
|
event: e,
|
|
116
|
-
isSearchable:
|
|
117
|
-
isAsync:
|
|
115
|
+
isSearchable: a,
|
|
116
|
+
isAsync: C,
|
|
118
117
|
setSearchValue: v,
|
|
119
|
-
onChange:
|
|
118
|
+
onChange: S,
|
|
120
119
|
minCharactersToSearch: D
|
|
121
120
|
});
|
|
122
|
-
}, [
|
|
121
|
+
}, [S, C, c, a, D]), k = O(() => {
|
|
123
122
|
const e = i && Array.isArray(t) ? re(p, t, "value") : p, s = [];
|
|
124
|
-
return
|
|
123
|
+
return C ? s.push(...e) : s.push(...e.filter((l) => !r || l.label.toLowerCase().includes(r.toLowerCase()) || !!l.options?.find((d) => d.label.toLowerCase().includes(r.toLowerCase()))).map((l) => l.label.toLowerCase().includes(r.toLowerCase()) ? l : {
|
|
125
124
|
...l,
|
|
126
125
|
options: l.options?.filter((d) => d.label.toLowerCase().includes(r.toLowerCase()))
|
|
127
126
|
})), x && !s.map((d) => d.label.toLowerCase()).includes(r.toLowerCase()) && r.length > 0 && s.push({
|
|
@@ -129,21 +128,21 @@ const Ce = {
|
|
|
129
128
|
label: `Create "${r}"`,
|
|
130
129
|
isCreated: !0
|
|
131
130
|
}), s;
|
|
132
|
-
}, [i, p, t,
|
|
133
|
-
|
|
134
|
-
}, [
|
|
135
|
-
c ?
|
|
136
|
-
}, X = x && k.length === 1 && k[0].isCreated, T = R(
|
|
137
|
-
return /* @__PURE__ */ f("div", { ...!(
|
|
131
|
+
}, [i, p, t, C, x, r]), N = O(() => a && !Array.isArray(t) ? r || t?.value ? "close" : "search" : "triangleDown", [t, a, r]), L = I.useCallback(() => {
|
|
132
|
+
a || n(!c), a && !Array.isArray(t) && (r || t?.value) && (v(""), o && o(i ? [] : void 0), b(""));
|
|
133
|
+
}, [a, c, t, r, o, b, i]), J = O(() => /* @__PURE__ */ f("div", { css: fe(c, a), children: h ? /* @__PURE__ */ f(de, { py: "2", display: "flex", alignItems: "center", children: /* @__PURE__ */ f(pe, { type: "circular", dataTestPrefixId: "select" }) }) : /* @__PURE__ */ f(me, { size: B.sizing[m === "compact" ? "4" : "5"], name: N, color: B.color.text.default.secondary, onClick: L, hasHover: !1, dataTestId: "select-right-icon" }) }), [c, a, h, m, N, L]), Q = () => {
|
|
134
|
+
c ? a || u?.current?.blur() : u?.current?.focus();
|
|
135
|
+
}, X = x && k.length === 1 && k[0].isCreated, T = R(ae("select_")).current;
|
|
136
|
+
return /* @__PURE__ */ f("div", { ...!(g || y.type === "read-only") && {
|
|
138
137
|
onClick: Q
|
|
139
|
-
}, css: ue(), ...j, children: /* @__PURE__ */ f(ee, { id: T, isVisible: c, setIsVisible: n, hasWrapperWidth: !0, isNonModal: i ||
|
|
138
|
+
}, css: ue(), ...j, children: /* @__PURE__ */ f(ee, { id: T, isVisible: c, setIsVisible: n, hasWrapperWidth: !0, isNonModal: i || a, offsetY: 8, parent: i ? /* @__PURE__ */ f(Z, { selectedOptions: t, onInput: V, onOptionDelete: (e) => {
|
|
140
139
|
const s = Array.isArray(t) ? t.filter((l) => typeof e != "string" && e ? l.value !== e.value : l.value !== e) : [];
|
|
141
|
-
|
|
142
|
-
}, onClearAllOptions: () =>
|
|
140
|
+
o && o(s);
|
|
141
|
+
}, onClearAllOptions: () => o && o([]), isLoading: h, isDisabled: g, readOnly: !a, dataTestId: z("select-input", E), ...P, status: y, value: w, ref: u, autoComplete: "off", ...M, onClick: () => n(!0), role: "combobox", "aria-expanded": c, "aria-controls": T }) : /* @__PURE__ */ f(Ce, { suffix: J, ...M, onInput: V, isReadOnly: !a, isDisabled: g, dataTestId: z("select-input", E), ...P, onClick: () => n(!0), status: y, value: w, size: m, ref: u, autoComplete: "off", role: "combobox", "aria-expanded": c, "aria-controls": T }), children: /* @__PURE__ */ f(ne, { ref: A, filteredOptions: k, handleOptionClick: G, selectedOption: i === !0 || !t ? he : t, status: y, isLoading: h, isVirtualized: U, size: m, hasSelectAllOption: i && $ && !X }) }) });
|
|
143
142
|
});
|
|
144
143
|
H.displayName = "Select";
|
|
145
|
-
const
|
|
144
|
+
const Ve = I.memo(H, F);
|
|
146
145
|
export {
|
|
147
|
-
|
|
148
|
-
|
|
146
|
+
Ve as default,
|
|
147
|
+
he as emptyValue
|
|
149
148
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { jsx as s } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import p, { forwardRef as S, useState as n, useCallback as d } from "react";
|
|
3
3
|
import i from "react-fast-compare";
|
|
4
|
-
import V, { emptyValue as
|
|
5
|
-
const
|
|
4
|
+
import V, { emptyValue as _ } from "./Select.js";
|
|
5
|
+
const u = S(({
|
|
6
6
|
isMulti: e,
|
|
7
7
|
selectedOption: t,
|
|
8
8
|
onChange: a = () => {
|
|
9
9
|
},
|
|
10
|
-
...
|
|
11
|
-
},
|
|
12
|
-
const [c,
|
|
13
|
-
|
|
10
|
+
...o
|
|
11
|
+
}, r) => {
|
|
12
|
+
const [c, f] = n(e ? t || [] : t || _), m = d((l) => {
|
|
13
|
+
f(l), a(l);
|
|
14
14
|
}, [a]);
|
|
15
15
|
return (
|
|
16
16
|
// @ts-ignore
|
|
17
|
-
/* @__PURE__ */ s(V, { ...
|
|
17
|
+
/* @__PURE__ */ s(V, { ...o, selectedOption: c, isMulti: e, onChange: m, ref: r })
|
|
18
18
|
);
|
|
19
19
|
});
|
|
20
|
-
|
|
21
|
-
const
|
|
20
|
+
u.displayName = "StatefulSelect";
|
|
21
|
+
const R = p.memo(u, i);
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
R as default
|
|
24
24
|
};
|
|
@@ -4,7 +4,7 @@ import { SELECT_ALL_OPTION as r } from "../../constants.js";
|
|
|
4
4
|
import O from "../../../../hooks/useCombinedRefs.js";
|
|
5
5
|
import { head as V, flatMap as M, uniqueId as w } from "lodash-es";
|
|
6
6
|
import { forwardRef as z, useRef as A, useCallback as C, useEffect as R } from "react";
|
|
7
|
-
import {
|
|
7
|
+
import { emptyAndLoadingStyle as S, innerMenuStyle as N, menuStyle as k, optionStyle as H } from "./SelectMenu.style.js";
|
|
8
8
|
import j from "../../../List/List.js";
|
|
9
9
|
import c from "../../../List/ListItem.js";
|
|
10
10
|
import d from "../../../List/components/ListItemText/ListItemText.js";
|
|
@@ -37,9 +37,9 @@ const F = z((m, b) => {
|
|
|
37
37
|
L ? /* @__PURE__ */ l(c, { rowSize: n, textValue: r.label, children: /* @__PURE__ */ l(d, { children: r.label }) }, r.value) : null,
|
|
38
38
|
i.map((e) => e.options && e.options?.length > 0 ? /* @__PURE__ */ l(D, { title: e.value, children: e.options.map((t) => /* @__PURE__ */ l(c, { rowSize: n, textValue: t.label, children: /* @__PURE__ */ l(d, { description: t.helperText, children: t.label }) }, t.value)) }, e.value) : /* @__PURE__ */ l(c, { rowSize: n, textValue: e.label, children: /* @__PURE__ */ l(d, { description: e.helperText, children: e.label }) }, e.value))
|
|
39
39
|
] }) }) : /* @__PURE__ */ l("div", { css: S, children: "No options" });
|
|
40
|
-
return /* @__PURE__ */ l("div", { css:
|
|
40
|
+
return /* @__PURE__ */ l("div", { css: k({
|
|
41
41
|
...m
|
|
42
|
-
}), tabIndex: -1, children: /* @__PURE__ */ l("div", { css:
|
|
42
|
+
}), tabIndex: -1, children: /* @__PURE__ */ l("div", { css: N({
|
|
43
43
|
height: f
|
|
44
44
|
}), children: v ? /* @__PURE__ */ l("div", { css: S, children: "Loading..." }) : T() }) });
|
|
45
45
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css as r } from "@emotion/react";
|
|
2
|
-
import {
|
|
2
|
+
import { vars as o, rem as t } from "@orfium/tokens";
|
|
3
3
|
import { flexCenter as n } from "../../../../theme/functions.js";
|
|
4
4
|
import { generateStylesFromTokens as d } from "../../../Typography/utils.js";
|
|
5
5
|
const a = {
|
|
@@ -3,7 +3,7 @@ import { vars as b } from "@orfium/tokens";
|
|
|
3
3
|
import T from "lodash-es/get";
|
|
4
4
|
import g from "react";
|
|
5
5
|
import { Tab as h } from "react-aria-components";
|
|
6
|
-
import {
|
|
6
|
+
import { stepTitle as x, stepSubtitle as S, stepContainer as _, stepStyles as I } from "./TabStep.style.js";
|
|
7
7
|
import j from "../../../Icon/Icon.js";
|
|
8
8
|
const v = {
|
|
9
9
|
done: {
|
|
@@ -26,14 +26,14 @@ const v = {
|
|
|
26
26
|
sx: p,
|
|
27
27
|
...f
|
|
28
28
|
} = a, u = t !== "pending", r = t !== "pending" ? v[t] : null;
|
|
29
|
-
return /* @__PURE__ */ o(h, { id: m, ...f, ref: d, css:
|
|
30
|
-
s && /* @__PURE__ */ n("div", { css: [
|
|
29
|
+
return /* @__PURE__ */ o(h, { id: m, ...f, ref: d, css: I(p), "data-status": t, children: l ?? /* @__PURE__ */ n("div", { css: _(), children: [
|
|
30
|
+
s && /* @__PURE__ */ n("div", { css: [x, c === "end" && {
|
|
31
31
|
justifyContent: "space-between"
|
|
32
32
|
}, "", ""], "data-role": "title", "data-testid": `${e}_title`, children: [
|
|
33
33
|
s,
|
|
34
34
|
u && /* @__PURE__ */ o(j, { name: r.name, color: T(b.color, r.color), dataTestPrefixId: `${e}_icon` })
|
|
35
35
|
] }),
|
|
36
|
-
i && /* @__PURE__ */ o("div", { css:
|
|
36
|
+
i && /* @__PURE__ */ o("div", { css: S(), "data-role": "subtitle", "data-testid": `${e}_subtitle`, children: i })
|
|
37
37
|
] }) });
|
|
38
38
|
});
|
|
39
39
|
w.displayName = "TabStep";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { css as o } from "@emotion/react";
|
|
2
2
|
import { vars as e } from "@orfium/tokens";
|
|
3
|
-
import {
|
|
4
|
-
const l = (t) => /* @__PURE__ */ o("box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;", t, ";", ""), p = () => /* @__PURE__ */ o(
|
|
3
|
+
import { flexCenterVertical as r, flex as s } from "../../../../theme/functions.js";
|
|
4
|
+
const l = (t) => /* @__PURE__ */ o("box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;", t, ";", ""), p = () => /* @__PURE__ */ o(s, ";box-sizing:border-box;flex-direction:column;gap:", e.spacing[3], ";", ""), a = () => /* @__PURE__ */ o(r, ";gap:", e.spacing[4], ";", ""), x = () => (t) => /* @__PURE__ */ o(t.tokens.typography.get("normal.body03"), " color:", e.color.text.default.secondary, ";", "");
|
|
5
5
|
export {
|
|
6
6
|
p as stepContainer,
|
|
7
7
|
l as stepStyles,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as E, jsx as i } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { flexRender as D } from "@tanstack/react-table";
|
|
3
|
-
import d, { useRef as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
3
|
+
import d, { useRef as M } from "react";
|
|
4
|
+
import j from "react-fast-compare";
|
|
5
|
+
import w from "./components/OptimizedTableRow.js";
|
|
6
|
+
import y from "./hooks/useTable.js";
|
|
7
|
+
import { tableStyles as A, tableContainer as L } from "./Table.style.js";
|
|
8
|
+
import $ from "./components/TTitle/TTitle.js";
|
|
9
9
|
import q from "./components/THead/THead.js";
|
|
10
10
|
import z from "./components/TR/TR.js";
|
|
11
11
|
import O from "./components/TH/TH.js";
|
|
@@ -14,7 +14,7 @@ import J from "./components/TPagination/TPagination.js";
|
|
|
14
14
|
const K = ({
|
|
15
15
|
type: u = "read-only",
|
|
16
16
|
rowsConfig: c,
|
|
17
|
-
data:
|
|
17
|
+
data: p,
|
|
18
18
|
columns: b,
|
|
19
19
|
rowSize: R = "sm",
|
|
20
20
|
columnsConfig: S,
|
|
@@ -24,33 +24,33 @@ const K = ({
|
|
|
24
24
|
sx: e,
|
|
25
25
|
dataTestPrefixId: l = "ictinus"
|
|
26
26
|
}) => {
|
|
27
|
-
const [
|
|
27
|
+
const [_, x] = d.useState(!1), s = !!(u === "interactive" && c?.rowSelection), h = !!c?.expanded, a = M(), B = M(null);
|
|
28
28
|
d.useEffect(() => {
|
|
29
29
|
a?.current && x(a?.current?.scrollHeight > a?.current?.clientHeight);
|
|
30
30
|
}, []);
|
|
31
|
-
const m =
|
|
31
|
+
const m = y({
|
|
32
32
|
type: u,
|
|
33
|
-
data:
|
|
33
|
+
data: p,
|
|
34
34
|
columns: b,
|
|
35
35
|
sorting: r,
|
|
36
36
|
rowsConfig: c,
|
|
37
37
|
columnsConfig: S,
|
|
38
38
|
dataTestPrefixId: l
|
|
39
|
-
}), H = !!(S || c), v = m.getAllLeafColumns().length,
|
|
39
|
+
}), H = !!(S || c), v = m.getAllLeafColumns().length, C = d.useMemo(() => ({
|
|
40
40
|
tr: e?.tr,
|
|
41
41
|
td: e?.td
|
|
42
42
|
}), [e?.tr, e?.td]);
|
|
43
|
-
return /* @__PURE__ */
|
|
44
|
-
H && /* @__PURE__ */ i(
|
|
45
|
-
/* @__PURE__ */
|
|
43
|
+
return /* @__PURE__ */ E("div", { css: L(), ref: B, "data-testid": `${l}_table_container`, children: [
|
|
44
|
+
H && /* @__PURE__ */ i($, { type: u, columnsConfig: S, columns: b, rowsConfig: c, containerRef: B, rowsCount: c?.rowsCount ?? m.getRowModel().rows.length, dataTestPrefixId: l }),
|
|
45
|
+
/* @__PURE__ */ E("table", { css: A({
|
|
46
46
|
sx: e?.table
|
|
47
47
|
}), "data-testid": `${l}_table`, children: [
|
|
48
|
-
/* @__PURE__ */ i(q, { hasStickyHeader: g, hasScrollbar:
|
|
49
|
-
const
|
|
50
|
-
return /* @__PURE__ */ i(z, { sx:
|
|
48
|
+
/* @__PURE__ */ i(q, { hasStickyHeader: g, hasScrollbar: _, sx: e?.thead, children: m.getHeaderGroups().map((o) => {
|
|
49
|
+
const f = o.headers.length - +s - +h;
|
|
50
|
+
return /* @__PURE__ */ i(z, { sx: C.tr, ...s && {
|
|
51
51
|
isSelectable: s,
|
|
52
52
|
isSelected: m.getIsSomePageRowsSelected() || m.getIsAllPageRowsSelected()
|
|
53
|
-
}, children: o.headers.map((t) => /* @__PURE__ */ i(O, { id: t.id, colSpan: t.colSpan, rowSize: R, width: t.getSize() || 100 /
|
|
53
|
+
}, children: o.headers.map((t) => /* @__PURE__ */ i(O, { id: t.id, colSpan: t.colSpan, rowSize: R, width: t.getSize() || 100 / f, metaData: t.column.columnDef.meta, ...t.column.getCanSort() && {
|
|
54
54
|
colSortingState: r?.sortingColumn?.find((n) => n.id === t.id) ? {
|
|
55
55
|
/** Find and pass the ColumnSort object */
|
|
56
56
|
...r?.sortingColumn?.find((n) => n.id === t.id),
|
|
@@ -64,14 +64,14 @@ const K = ({
|
|
|
64
64
|
resetSorting: t.column.clearSorting
|
|
65
65
|
}, sx: e?.th, dataTestPrefixId: l, children: t.isPlaceholder ? null : D(t.column.columnDef.header, t.getContext()) }, t.id)) }, o.id);
|
|
66
66
|
}) }),
|
|
67
|
-
/* @__PURE__ */ i(F, { hasStickyHeader: g, ref: a, sx: e?.tbody, children: m.getRowModel().rows.map((o,
|
|
67
|
+
/* @__PURE__ */ i(F, { hasStickyHeader: g, ref: a, sx: e?.tbody, children: m.getRowModel().rows.map((o, f) => {
|
|
68
68
|
const t = o.getIsSelected(), n = o.getIsExpanded();
|
|
69
|
-
return /* @__PURE__ */ i(
|
|
69
|
+
return /* @__PURE__ */ i(w, { row: o, index: f, rowSize: R, isSelectable: s, isExpandable: h, isSelected: t, isExpanded: n, sx: C, dataTestPrefixId: l, data: p, allColumnsLength: v }, o.id);
|
|
70
70
|
}) })
|
|
71
71
|
] }),
|
|
72
|
-
T && /* @__PURE__ */ i(J, { pagination: T, isSticky: g &&
|
|
72
|
+
T && /* @__PURE__ */ i(J, { pagination: T, isSticky: g && _, dataTestPrefixId: l })
|
|
73
73
|
] });
|
|
74
|
-
}, et = d.memo(K,
|
|
74
|
+
}, et = d.memo(K, j);
|
|
75
75
|
export {
|
|
76
76
|
et as default
|
|
77
77
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { simpleTdContainer as p,
|
|
2
|
+
import { simpleTdContainer as p, tdContent as x, tdContainer as C } from "./TD.style.js";
|
|
3
3
|
const h = ({
|
|
4
4
|
colSpan: s,
|
|
5
5
|
rowSize: a = "sm",
|
|
@@ -16,13 +16,13 @@ const h = ({
|
|
|
16
16
|
const m = o === "checkbox_select", b = o === "details_iconButton", {
|
|
17
17
|
contentAlign: f = "left"
|
|
18
18
|
} = _ ?? {};
|
|
19
|
-
return c ? /* @__PURE__ */ t("td", { colSpan: s, css: p(), "data-testid": `${i}_table_row_${n}_details`, children: e }) : /* @__PURE__ */ t("td", { css:
|
|
19
|
+
return c ? /* @__PURE__ */ t("td", { colSpan: s, css: p(), "data-testid": `${i}_table_row_${n}_details`, children: e }) : /* @__PURE__ */ t("td", { css: C({
|
|
20
20
|
rowSize: a,
|
|
21
21
|
width: d,
|
|
22
22
|
isCheckbox: m,
|
|
23
23
|
isExpandedButton: b,
|
|
24
24
|
sx: r
|
|
25
|
-
}), colSpan: s, "data-testid": `${i}_table_row_${n}`, ...l, children: /* @__PURE__ */ t("div", { css:
|
|
25
|
+
}), colSpan: s, "data-testid": `${i}_table_row_${n}`, ...l, children: /* @__PURE__ */ t("div", { css: x({
|
|
26
26
|
contentAlign: f
|
|
27
27
|
}), children: e }) });
|
|
28
28
|
};
|