@orfium/ictinus 5.43.9 → 5.44.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/package.json.d.ts +1 -1
- package/dist/package.json.js +1 -1
- package/dist/src/actions/ActionsContent.d.ts +1 -0
- package/dist/src/actions/ActionsRoot.d.ts +1 -0
- package/dist/src/button/Button.css.d.ts +36 -0
- package/dist/src/button/Button.d.ts +428 -0
- package/dist/src/button/Button.test.d.ts +1 -0
- package/dist/src/button/index.d.ts +2 -0
- package/dist/src/data-table/DataTable.d.ts +1 -0
- package/dist/src/data-table/DataTableBody.d.ts +1 -0
- package/dist/src/data-table/DataTableHeader.d.ts +1 -0
- package/dist/src/data-table/DataTableRow.d.ts +3 -1
- package/dist/src/icon/Icon.d.ts +432 -145
- package/dist/src/icons/AccountIcon.d.ts +3 -2
- package/dist/src/icons/AlbumIcon.d.ts +3 -2
- package/dist/src/icons/AnalyticsIcon.d.ts +3 -2
- package/dist/src/icons/AppsIcon.d.ts +3 -2
- package/dist/src/icons/ArrowDownIcon.d.ts +3 -2
- package/dist/src/icons/ArrowLeftIcon.d.ts +3 -2
- package/dist/src/icons/ArrowRightIcon.d.ts +3 -2
- package/dist/src/icons/ArrowUpIcon.d.ts +3 -2
- package/dist/src/icons/ArtistIcon.d.ts +3 -2
- package/dist/src/icons/AssetIcon.d.ts +3 -2
- package/dist/src/icons/AudioIcon.d.ts +3 -2
- package/dist/src/icons/AudioOffIcon.d.ts +3 -2
- package/dist/src/icons/BookmarkIcon.d.ts +3 -2
- package/dist/src/icons/BookmarkOffIcon.d.ts +3 -2
- package/dist/src/icons/BroadcastIcon.d.ts +3 -2
- package/dist/src/icons/CalendarIcon.d.ts +3 -2
- package/dist/src/icons/CatalogIcon.d.ts +3 -2
- package/dist/src/icons/ChannelIcon.d.ts +3 -2
- package/dist/src/icons/ChatIcon.d.ts +3 -2
- package/dist/src/icons/CheckIcon.d.ts +3 -2
- package/dist/src/icons/ChevronDownIcon.d.ts +3 -2
- package/dist/src/icons/ChevronLeftIcon.d.ts +3 -2
- package/dist/src/icons/ChevronRightIcon.d.ts +3 -2
- package/dist/src/icons/ChevronUpIcon.d.ts +3 -2
- package/dist/src/icons/CinemaIcon.d.ts +3 -2
- package/dist/src/icons/ClaimIcon.d.ts +3 -2
- package/dist/src/icons/CloseIcon.d.ts +3 -2
- package/dist/src/icons/ColumnChooserIcon.d.ts +3 -2
- package/dist/src/icons/CompositionIcon.d.ts +3 -2
- package/dist/src/icons/ConcertIcon.d.ts +3 -2
- package/dist/src/icons/ConflictIcon.d.ts +3 -2
- package/dist/src/icons/ConvertIcon.d.ts +3 -2
- package/dist/src/icons/CopyIcon.d.ts +3 -2
- package/dist/src/icons/CueSheetIcon.d.ts +3 -2
- package/dist/src/icons/DashboardIcon.d.ts +3 -2
- package/dist/src/icons/DatasetIcon.d.ts +3 -2
- package/dist/src/icons/DeleteIcon.d.ts +3 -2
- package/dist/src/icons/DeliveryIcon.d.ts +3 -2
- package/dist/src/icons/DetailsIcon.d.ts +3 -2
- package/dist/src/icons/DigitalIcon.d.ts +3 -2
- package/dist/src/icons/DistributionIcon.d.ts +3 -2
- package/dist/src/icons/DownloadIcon.d.ts +3 -2
- package/dist/src/icons/EarningsIcon.d.ts +3 -2
- package/dist/src/icons/EditIcon.d.ts +3 -2
- package/dist/src/icons/EntitiesIcon.d.ts +3 -2
- package/dist/src/icons/ErrorIcon.d.ts +3 -2
- package/dist/src/icons/ExternalLinkIcon.d.ts +3 -2
- package/dist/src/icons/EyeIcon.d.ts +3 -2
- package/dist/src/icons/EyeOffIcon.d.ts +3 -2
- package/dist/src/icons/FavoriteIcon.d.ts +3 -2
- package/dist/src/icons/FavoriteOffIcon.d.ts +3 -2
- package/dist/src/icons/FileIcon.d.ts +3 -2
- package/dist/src/icons/FilterIcon.d.ts +3 -2
- package/dist/src/icons/FlagIcon.d.ts +3 -2
- package/dist/src/icons/FlagOffIcon.d.ts +3 -2
- package/dist/src/icons/ForwardIcon.d.ts +3 -2
- package/dist/src/icons/FreezeIcon.d.ts +3 -2
- package/dist/src/icons/HelpIcon.d.ts +3 -2
- package/dist/src/icons/Icon.d.ts +14 -0
- package/dist/src/icons/ImageIcon.d.ts +3 -2
- package/dist/src/icons/ImageOffIcon.d.ts +3 -2
- package/dist/src/icons/IncomeIcon.d.ts +3 -2
- package/dist/src/icons/InformationalIcon.d.ts +3 -2
- package/dist/src/icons/InsightIcon.d.ts +3 -2
- package/dist/src/icons/InvoiceIcon.d.ts +3 -2
- package/dist/src/icons/IssueIcon.d.ts +3 -2
- package/dist/src/icons/KeywordIcon.d.ts +3 -2
- package/dist/src/icons/LanguageIcon.d.ts +3 -2
- package/dist/src/icons/LegalIcon.d.ts +3 -2
- package/dist/src/icons/LicenseIcon.d.ts +3 -2
- package/dist/src/icons/LinkIcon.d.ts +3 -2
- package/dist/src/icons/LocationIcon.d.ts +3 -2
- package/dist/src/icons/LockIcon.d.ts +3 -2
- package/dist/src/icons/LoginIcon.d.ts +3 -2
- package/dist/src/icons/LogoutIcon.d.ts +3 -2
- package/dist/src/icons/MailIcon.d.ts +3 -2
- package/dist/src/icons/ManualIcon.d.ts +3 -2
- package/dist/src/icons/MediaFileIcon.d.ts +3 -2
- package/dist/src/icons/MenuIcon.d.ts +3 -2
- package/dist/src/icons/MinusIcon.d.ts +3 -2
- package/dist/src/icons/MoreOptionsIcon.d.ts +3 -2
- package/dist/src/icons/NextIcon.d.ts +3 -2
- package/dist/src/icons/NotificationIcon.d.ts +3 -2
- package/dist/src/icons/OrganizationIcon.d.ts +3 -2
- package/dist/src/icons/PageFirstIcon.d.ts +3 -2
- package/dist/src/icons/PageLastIcon.d.ts +3 -2
- package/dist/src/icons/PairIcon.d.ts +3 -2
- package/dist/src/icons/PauseIcon.d.ts +3 -2
- package/dist/src/icons/PendingIcon.d.ts +3 -2
- package/dist/src/icons/PlayIcon.d.ts +3 -2
- package/dist/src/icons/PlaycountIcon.d.ts +3 -2
- package/dist/src/icons/PlusIcon.d.ts +3 -2
- package/dist/src/icons/PolicyIcon.d.ts +3 -2
- package/dist/src/icons/PreviousIcon.d.ts +3 -2
- package/dist/src/icons/PublicPerformanceIcon.d.ts +3 -2
- package/dist/src/icons/PublisherIcon.d.ts +3 -2
- package/dist/src/icons/RadioIcon.d.ts +3 -2
- package/dist/src/icons/RecordLabelIcon.d.ts +3 -2
- package/dist/src/icons/RecordingIcon.d.ts +3 -2
- package/dist/src/icons/RedoIcon.d.ts +3 -2
- package/dist/src/icons/RefreshIcon.d.ts +3 -2
- package/dist/src/icons/ReportIcon.d.ts +3 -2
- package/dist/src/icons/RestoreIcon.d.ts +3 -2
- package/dist/src/icons/ResumeIcon.d.ts +3 -2
- package/dist/src/icons/ReviewIcon.d.ts +3 -2
- package/dist/src/icons/RewindIcon.d.ts +3 -2
- package/dist/src/icons/RoleIcon.d.ts +3 -2
- package/dist/src/icons/SearchFilledIcon.d.ts +3 -2
- package/dist/src/icons/SearchIcon.d.ts +3 -2
- package/dist/src/icons/SettingsIcon.d.ts +3 -2
- package/dist/src/icons/ShareIcon.d.ts +3 -2
- package/dist/src/icons/SortAscendingIcon.d.ts +3 -2
- package/dist/src/icons/SortDescendingIcon.d.ts +3 -2
- package/dist/src/icons/SortIcon.d.ts +3 -2
- package/dist/src/icons/StatusIndicatorIcon.d.ts +3 -2
- package/dist/src/icons/StopIcon.d.ts +3 -2
- package/dist/src/icons/SuccessIcon.d.ts +3 -2
- package/dist/src/icons/TagIcon.d.ts +3 -2
- package/dist/src/icons/TelevisionIcon.d.ts +3 -2
- package/dist/src/icons/ThumbsDownIcon.d.ts +3 -2
- package/dist/src/icons/ThumbsUpIcon.d.ts +3 -2
- package/dist/src/icons/TrendingDownIcon.d.ts +3 -2
- package/dist/src/icons/TrendingUpIcon.d.ts +3 -2
- package/dist/src/icons/TriangleDownIcon.d.ts +3 -2
- package/dist/src/icons/TriangleLeftIcon.d.ts +3 -2
- package/dist/src/icons/TriangleRightIcon.d.ts +3 -2
- package/dist/src/icons/TriangleUpIcon.d.ts +3 -2
- package/dist/src/icons/UndoIcon.d.ts +3 -2
- package/dist/src/icons/UnfreezeIcon.d.ts +3 -2
- package/dist/src/icons/UnlinkIcon.d.ts +3 -2
- package/dist/src/icons/UnlockIcon.d.ts +3 -2
- package/dist/src/icons/UnpairIcon.d.ts +3 -2
- package/dist/src/icons/UnverifiedIcon.d.ts +3 -2
- package/dist/src/icons/UpdateIcon.d.ts +3 -2
- package/dist/src/icons/UploadIcon.d.ts +3 -2
- package/dist/src/icons/UsageIcon.d.ts +3 -2
- package/dist/src/icons/UserIcon.d.ts +3 -2
- package/dist/src/icons/UsersIcon.d.ts +3 -2
- package/dist/src/icons/VerifiedIcon.d.ts +3 -2
- package/dist/src/icons/VideoIcon.d.ts +3 -2
- package/dist/src/icons/VideoOffIcon.d.ts +3 -2
- package/dist/src/icons/WarningIcon.d.ts +3 -2
- package/dist/src/icons/WorkIcon.d.ts +3 -2
- package/dist/src/icons/WriterIcon.d.ts +3 -2
- package/dist/src/icons/YouTubeIcon.d.ts +3 -2
- package/dist/src/skeleton/Skeleton.d.ts +1 -0
- package/dist/src/sprinkles/properties.css.d.ts +13 -0
- package/dist/src/sprinkles/sprinkles.d.ts +2 -1
- package/dist/src/vanilla/Box/Box.d.ts +1 -0
- package/dist/src/vanilla/Box/extractBoxProps.d.ts +2 -2
- package/dist/src/vanilla/Table/Table.d.ts +1 -0
- package/dist/src/vanilla/Table/TableBody.d.ts +1 -0
- package/dist/src/vanilla/Table/TableCell.d.ts +1 -0
- package/dist/src/vanilla/Table/TableFooter.d.ts +1 -0
- package/dist/src/vanilla/Table/TableHeader.d.ts +1 -0
- package/dist/src/vanilla/Table/TableHeaderCell.d.ts +1 -0
- package/dist/src/vanilla/Table/TableRow.d.ts +1 -0
- package/dist/src/vanilla/Text/Text.d.ts +1 -0
- package/dist/src/vanilla/index.d.ts +1 -0
- package/dist/vanilla/Dropdown/Dropdown-css.js +3 -3
- package/dist/vanilla/Menu/Menu-css.js +5 -5
- package/dist/vanilla/Menu/Menu.js +1 -1
- package/dist/vanilla/Popover/Popover-css.js +4 -4
- 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/Text/Text.js +2 -0
- package/dist/vanilla/Tooltip/Tooltip-css.js +7 -7
- package/dist/vanilla/assets/src/actions/ActionsContent.css.ts.vanilla-Bccbzgd2.css +22 -0
- package/dist/vanilla/assets/src/actions/ActionsRoot.css.ts.vanilla-D7U9lEbn.css +4 -0
- package/dist/vanilla/assets/src/button/Button.css.ts.vanilla-DiUu9P26.css +14 -0
- package/dist/vanilla/assets/src/data-table/DataTableBody.css.ts.vanilla-CFxASB1h.css +70 -0
- package/dist/vanilla/assets/src/data-table/{DataTableHeaderCell.css.ts.vanilla-C7WK_qGD.css → DataTableHeaderCell.css.ts.vanilla-DJhcwsMK.css} +9 -9
- package/dist/vanilla/assets/src/layers/layers.css.ts.vanilla-d-_nhd5G.css +1 -0
- package/dist/vanilla/assets/src/skeleton/Skeleton.css.ts.vanilla-B-tRw9MB.css +6 -0
- package/dist/vanilla/assets/src/sprinkles/{properties.css.ts.vanilla-B7dED1bp.css → properties.css.ts.vanilla-h5f79p7v.css} +3367 -3358
- package/dist/vanilla/assets/src/vanilla/Menu/{Menu.css.ts.vanilla-DhRi9QUS.css → Menu.css.ts.vanilla-DTOYHeCP.css} +5 -5
- package/dist/vanilla/assets/src/vanilla/Popover/{Popover.css.ts.vanilla-BB6cef57.css → Popover.css.ts.vanilla-DYFqX7xT.css} +3 -3
- package/dist/vanilla/assets/src/vanilla/Table/{Table.css.ts.vanilla-Db6TBYJE.css → Table.css.ts.vanilla-BZhxcYGZ.css} +7 -7
- package/dist/vanilla/assets/src/vanilla/Table/TableBody.css.ts.vanilla-Cc73LhGs.css +6 -0
- package/dist/vanilla/assets/src/vanilla/Table/{TableCell.css.ts.vanilla-Co5pVJLM.css → TableCell.css.ts.vanilla-Do5MJbGT.css} +10 -10
- package/dist/vanilla/assets/src/vanilla/Table/{TableFooter.css.ts.vanilla-Dnf64vox.css → TableFooter.css.ts.vanilla-DVuGJYJ_.css} +4 -4
- package/dist/vanilla/assets/src/vanilla/Table/TableHeader.css.ts.vanilla-ChPjvh31.css +8 -0
- package/dist/vanilla/assets/src/vanilla/Table/{TableHeaderCell.css.ts.vanilla-yP3m72Wm.css → TableHeaderCell.css.ts.vanilla-Cq9QxX2G.css} +9 -9
- package/dist/vanilla/assets/src/vanilla/Table/{TableRow.css.ts.vanilla-DEL9kCnn.css → TableRow.css.ts.vanilla-D-0XNqqH.css} +5 -5
- package/dist/vanilla/assets/src/vanilla/Text/{Text.css.ts.vanilla-DjvypZTb.css → Text.css.ts.vanilla-RU0Okifg.css} +13 -13
- package/dist/vanilla/assets/src/vanilla/Tooltip/{Tooltip.css.ts.vanilla-CUEqitTD.css → Tooltip.css.ts.vanilla-BQXbdtoG.css} +13 -13
- package/dist/vanilla/index.d.ts +936 -307
- package/dist/vanilla/index.js +2 -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/button/Button-css.js +11 -0
- package/dist/vanilla/src/button/Button.js +128 -0
- package/dist/vanilla/src/components/utils/Slots.js +16 -3
- package/dist/vanilla/src/data-table/DataTableBody-css.js +11 -11
- package/dist/vanilla/src/data-table/DataTableEditColumns.js +150 -2
- package/dist/vanilla/src/data-table/DataTableHeaderCell-css.js +9 -9
- package/dist/vanilla/src/data-table/DataTableHeaderCell.js +170 -18
- package/dist/vanilla/src/icon/Icon.js +1 -7
- package/dist/vanilla/src/icons/AccountIcon.js +10 -11
- package/dist/vanilla/src/icons/AlbumIcon.js +12 -13
- package/dist/vanilla/src/icons/AnalyticsIcon.js +10 -11
- package/dist/vanilla/src/icons/AppsIcon.js +10 -11
- package/dist/vanilla/src/icons/ArrowDownIcon.js +10 -11
- package/dist/vanilla/src/icons/ArrowLeftIcon.js +10 -11
- package/dist/vanilla/src/icons/ArrowRightIcon.js +10 -11
- package/dist/vanilla/src/icons/ArrowUpIcon.js +10 -11
- package/dist/vanilla/src/icons/ArtistIcon.js +10 -11
- package/dist/vanilla/src/icons/AssetIcon.js +10 -11
- package/dist/vanilla/src/icons/AudioIcon.js +10 -11
- package/dist/vanilla/src/icons/AudioOffIcon.js +33 -34
- package/dist/vanilla/src/icons/BookmarkIcon.js +12 -13
- package/dist/vanilla/src/icons/BookmarkOffIcon.js +12 -13
- package/dist/vanilla/src/icons/BroadcastIcon.js +10 -11
- package/dist/vanilla/src/icons/CalendarIcon.js +10 -11
- package/dist/vanilla/src/icons/CatalogIcon.js +10 -11
- package/dist/vanilla/src/icons/ChannelIcon.js +28 -29
- package/dist/vanilla/src/icons/ChatIcon.js +10 -11
- package/dist/vanilla/src/icons/CheckIcon.js +10 -11
- package/dist/vanilla/src/icons/ChevronDownIcon.js +10 -11
- package/dist/vanilla/src/icons/ChevronLeftIcon.js +10 -11
- package/dist/vanilla/src/icons/ChevronRightIcon.js +10 -11
- package/dist/vanilla/src/icons/ChevronUpIcon.js +10 -11
- package/dist/vanilla/src/icons/CinemaIcon.js +10 -11
- package/dist/vanilla/src/icons/ClaimIcon.js +10 -11
- package/dist/vanilla/src/icons/CloseIcon.js +10 -11
- package/dist/vanilla/src/icons/ColumnChooserIcon.js +10 -11
- package/dist/vanilla/src/icons/CompositionIcon.js +10 -11
- package/dist/vanilla/src/icons/ConcertIcon.js +10 -11
- package/dist/vanilla/src/icons/ConflictIcon.js +10 -11
- package/dist/vanilla/src/icons/ConvertIcon.js +10 -11
- package/dist/vanilla/src/icons/CopyIcon.js +10 -11
- package/dist/vanilla/src/icons/CueSheetIcon.js +10 -11
- package/dist/vanilla/src/icons/DashboardIcon.js +10 -11
- package/dist/vanilla/src/icons/DatasetIcon.js +10 -11
- package/dist/vanilla/src/icons/DeleteIcon.js +10 -11
- package/dist/vanilla/src/icons/DeliveryIcon.js +10 -11
- package/dist/vanilla/src/icons/DetailsIcon.js +10 -11
- package/dist/vanilla/src/icons/DigitalIcon.js +12 -13
- package/dist/vanilla/src/icons/DistributionIcon.js +10 -11
- package/dist/vanilla/src/icons/DownloadIcon.js +10 -11
- package/dist/vanilla/src/icons/EarningsIcon.js +10 -11
- package/dist/vanilla/src/icons/EditIcon.js +10 -11
- package/dist/vanilla/src/icons/EntitiesIcon.js +10 -11
- package/dist/vanilla/src/icons/ErrorIcon.js +10 -11
- package/dist/vanilla/src/icons/ExternalLinkIcon.js +10 -11
- package/dist/vanilla/src/icons/EyeIcon.js +10 -11
- package/dist/vanilla/src/icons/EyeOffIcon.js +10 -11
- package/dist/vanilla/src/icons/FavoriteIcon.js +10 -11
- package/dist/vanilla/src/icons/FavoriteOffIcon.js +10 -11
- package/dist/vanilla/src/icons/FileIcon.js +10 -11
- package/dist/vanilla/src/icons/FilterIcon.js +10 -11
- package/dist/vanilla/src/icons/FlagIcon.js +10 -11
- package/dist/vanilla/src/icons/FlagOffIcon.js +10 -11
- package/dist/vanilla/src/icons/ForwardIcon.js +10 -11
- package/dist/vanilla/src/icons/FreezeIcon.js +12 -13
- package/dist/vanilla/src/icons/HelpIcon.js +10 -11
- package/dist/vanilla/src/icons/Icon.js +20 -0
- package/dist/vanilla/src/icons/ImageIcon.js +10 -11
- package/dist/vanilla/src/icons/ImageOffIcon.js +21 -22
- package/dist/vanilla/src/icons/IncomeIcon.js +10 -11
- package/dist/vanilla/src/icons/InformationalIcon.js +12 -13
- package/dist/vanilla/src/icons/InsightIcon.js +10 -11
- package/dist/vanilla/src/icons/InvoiceIcon.js +12 -13
- package/dist/vanilla/src/icons/IssueIcon.js +10 -11
- package/dist/vanilla/src/icons/KeywordIcon.js +12 -13
- package/dist/vanilla/src/icons/LanguageIcon.js +10 -11
- package/dist/vanilla/src/icons/LegalIcon.js +10 -11
- package/dist/vanilla/src/icons/LicenseIcon.js +12 -13
- package/dist/vanilla/src/icons/LinkIcon.js +10 -11
- package/dist/vanilla/src/icons/LocationIcon.js +10 -11
- package/dist/vanilla/src/icons/LockIcon.js +10 -11
- package/dist/vanilla/src/icons/LoginIcon.js +10 -11
- package/dist/vanilla/src/icons/LogoutIcon.js +10 -11
- package/dist/vanilla/src/icons/MailIcon.js +10 -11
- package/dist/vanilla/src/icons/ManualIcon.js +10 -11
- package/dist/vanilla/src/icons/MediaFileIcon.js +10 -11
- package/dist/vanilla/src/icons/MenuIcon.js +10 -11
- package/dist/vanilla/src/icons/MinusIcon.js +10 -11
- package/dist/vanilla/src/icons/MoreOptionsIcon.js +26 -27
- package/dist/vanilla/src/icons/NextIcon.js +10 -11
- package/dist/vanilla/src/icons/NotificationIcon.js +10 -11
- package/dist/vanilla/src/icons/OrganizationIcon.js +10 -11
- package/dist/vanilla/src/icons/PageFirstIcon.js +10 -11
- package/dist/vanilla/src/icons/PageLastIcon.js +10 -11
- package/dist/vanilla/src/icons/PairIcon.js +10 -11
- package/dist/vanilla/src/icons/PauseIcon.js +10 -11
- package/dist/vanilla/src/icons/PendingIcon.js +10 -11
- package/dist/vanilla/src/icons/PlayIcon.js +10 -11
- package/dist/vanilla/src/icons/PlaycountIcon.js +10 -11
- package/dist/vanilla/src/icons/PlusIcon.js +10 -11
- package/dist/vanilla/src/icons/PolicyIcon.js +10 -11
- package/dist/vanilla/src/icons/PreviousIcon.js +10 -11
- package/dist/vanilla/src/icons/PublicPerformanceIcon.js +10 -11
- package/dist/vanilla/src/icons/PublisherIcon.js +21 -22
- package/dist/vanilla/src/icons/RadioIcon.js +10 -11
- package/dist/vanilla/src/icons/RecordLabelIcon.js +12 -13
- package/dist/vanilla/src/icons/RecordingIcon.js +10 -11
- package/dist/vanilla/src/icons/RedoIcon.js +10 -11
- package/dist/vanilla/src/icons/RefreshIcon.js +10 -11
- package/dist/vanilla/src/icons/ReportIcon.js +10 -11
- package/dist/vanilla/src/icons/RestoreIcon.js +19 -20
- package/dist/vanilla/src/icons/ResumeIcon.js +19 -20
- package/dist/vanilla/src/icons/ReviewIcon.js +10 -11
- package/dist/vanilla/src/icons/RewindIcon.js +10 -11
- package/dist/vanilla/src/icons/RoleIcon.js +10 -11
- package/dist/vanilla/src/icons/SearchFilledIcon.js +12 -13
- package/dist/vanilla/src/icons/SearchIcon.js +10 -11
- package/dist/vanilla/src/icons/SettingsIcon.js +10 -11
- package/dist/vanilla/src/icons/ShareIcon.js +10 -11
- package/dist/vanilla/src/icons/SortAscendingIcon.js +28 -29
- package/dist/vanilla/src/icons/SortDescendingIcon.js +28 -29
- package/dist/vanilla/src/icons/SortIcon.js +23 -24
- package/dist/vanilla/src/icons/StatusIndicatorIcon.js +4 -5
- package/dist/vanilla/src/icons/StopIcon.js +10 -11
- package/dist/vanilla/src/icons/SuccessIcon.js +10 -11
- package/dist/vanilla/src/icons/TagIcon.js +10 -11
- package/dist/vanilla/src/icons/TelevisionIcon.js +10 -11
- package/dist/vanilla/src/icons/ThumbsDownIcon.js +10 -11
- package/dist/vanilla/src/icons/ThumbsUpIcon.js +10 -11
- package/dist/vanilla/src/icons/TrendingDownIcon.js +10 -11
- package/dist/vanilla/src/icons/TrendingUpIcon.js +10 -11
- package/dist/vanilla/src/icons/TriangleDownIcon.js +12 -13
- package/dist/vanilla/src/icons/TriangleLeftIcon.js +12 -13
- package/dist/vanilla/src/icons/TriangleRightIcon.js +12 -13
- package/dist/vanilla/src/icons/TriangleUpIcon.js +12 -13
- package/dist/vanilla/src/icons/UndoIcon.js +10 -11
- package/dist/vanilla/src/icons/UnfreezeIcon.js +21 -22
- package/dist/vanilla/src/icons/UnlinkIcon.js +10 -11
- package/dist/vanilla/src/icons/UnlockIcon.js +10 -11
- package/dist/vanilla/src/icons/UnpairIcon.js +10 -11
- package/dist/vanilla/src/icons/UnverifiedIcon.js +21 -22
- package/dist/vanilla/src/icons/UpdateIcon.js +19 -20
- package/dist/vanilla/src/icons/UploadIcon.js +10 -11
- package/dist/vanilla/src/icons/UsageIcon.js +12 -13
- package/dist/vanilla/src/icons/UserIcon.js +10 -11
- package/dist/vanilla/src/icons/UsersIcon.js +33 -34
- package/dist/vanilla/src/icons/VerifiedIcon.js +10 -11
- package/dist/vanilla/src/icons/VideoIcon.js +10 -11
- package/dist/vanilla/src/icons/VideoOffIcon.js +19 -20
- package/dist/vanilla/src/icons/WarningIcon.js +12 -13
- package/dist/vanilla/src/icons/WorkIcon.js +12 -13
- package/dist/vanilla/src/icons/WriterIcon.js +26 -27
- package/dist/vanilla/src/icons/YouTubeIcon.js +12 -13
- package/dist/vanilla/src/layers/layers-css.js +2 -2
- package/dist/vanilla/src/skeleton/Skeleton-css.js +4 -4
- package/dist/vanilla/src/sprinkles/properties-css.js +5 -5
- package/package.json +1 -1
- package/dist/vanilla/assets/src/actions/ActionsContent.css.ts.vanilla-DnHrsURs.css +0 -22
- package/dist/vanilla/assets/src/actions/ActionsRoot.css.ts.vanilla-D9ztPyX7.css +0 -4
- package/dist/vanilla/assets/src/data-table/DataTableBody.css.ts.vanilla-D1zKri52.css +0 -70
- package/dist/vanilla/assets/src/layers/layers.css.ts.vanilla-CVufHmUV.css +0 -1
- package/dist/vanilla/assets/src/skeleton/Skeleton.css.ts.vanilla-BSsSCHAs.css +0 -6
- package/dist/vanilla/assets/src/vanilla/Table/TableBody.css.ts.vanilla-BxpDyemc.css +0 -6
- package/dist/vanilla/assets/src/vanilla/Table/TableHeader.css.ts.vanilla-dHaHXhlt.css +0 -8
- package/dist/vanilla/src/components/Avatar/Avatar.js +0 -34
- package/dist/vanilla/src/components/Avatar/Avatar.style.js +0 -116
- package/dist/vanilla/src/components/Avatar/UserAvatar.js +0 -22
- package/dist/vanilla/src/components/Button/Button.js +0 -29
- package/dist/vanilla/src/components/Button/ButtonLoader/ButtonLoader.js +0 -9
- package/dist/vanilla/src/components/Button/ButtonLoader/ButtonLoader.style.js +0 -46
- package/dist/vanilla/src/components/ButtonBase/ButtonBase.js +0 -62
- package/dist/vanilla/src/components/ButtonBase/ButtonBase.style.js +0 -74
- package/dist/vanilla/src/components/ButtonBase/constants.js +0 -34
- package/dist/vanilla/src/components/IconButton/IconButton.js +0 -40
- package/dist/vanilla/src/theme/functions.js +0 -64
- package/dist/vanilla/src/utils/date.js +0 -13
- package/dist/vanilla/src/utils/helpers.js +0 -7
package/package.json
CHANGED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
@layer ictinus._1hfyma1;
|
|
2
|
-
@layer ictinus._1hfyma1 {
|
|
3
|
-
._1kfj8ze {
|
|
4
|
-
transition: opacity 150ms ease;
|
|
5
|
-
}
|
|
6
|
-
._18tj5pd:not(:has(._18tj5pd)):focus-within ._1kfj8ze, ._1kfj8ze:is(:checked, [data-state=open], :has(:checked, [data-state=open], [aria-expanded=true])) {
|
|
7
|
-
opacity: 1;
|
|
8
|
-
transition: none;
|
|
9
|
-
}
|
|
10
|
-
._1agowf8 {
|
|
11
|
-
opacity: 1;
|
|
12
|
-
}
|
|
13
|
-
.jr1a7z {
|
|
14
|
-
opacity: 0;
|
|
15
|
-
}
|
|
16
|
-
@media (hover: hover) {
|
|
17
|
-
._18tj5pd:not(:has(._18tj5pd)):hover ._1kfj8ze {
|
|
18
|
-
opacity: 1;
|
|
19
|
-
transition: none;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
@property --_1272tho {
|
|
2
|
-
syntax: "<color>";
|
|
3
|
-
inherits: false;
|
|
4
|
-
initial-value: transparent;
|
|
5
|
-
}
|
|
6
|
-
@layer ictinus._1hfyma1;
|
|
7
|
-
@layer ictinus._1hfyma1 {
|
|
8
|
-
._1cnxhit {
|
|
9
|
-
position: relative;
|
|
10
|
-
}
|
|
11
|
-
._1cnxhit[data-scroll-timeline]::after {
|
|
12
|
-
background-image: linear-gradient(to left, var(--ictinus-color-transparent-4), transparent);
|
|
13
|
-
right: var(--_1xe0qi1);
|
|
14
|
-
}
|
|
15
|
-
._1cnxhit[data-scroll-timeline]::before {
|
|
16
|
-
background-image: linear-gradient(to right, var(--ictinus-color-transparent-4), transparent);
|
|
17
|
-
left: var(--s68dtg);
|
|
18
|
-
}
|
|
19
|
-
[data-theme="dark"] ._1cnxhit[data-scroll-timeline]::before {
|
|
20
|
-
background-image: linear-gradient(to right, var(--ictinus-color-transparent-6), transparent);
|
|
21
|
-
border-left: 1px solid var(--ictinus-color-border-color-decorative-default);
|
|
22
|
-
}
|
|
23
|
-
[data-theme="dark"] ._1cnxhit[data-scroll-timeline]::after {
|
|
24
|
-
background-image: linear-gradient(to right, var(--ictinus-color-transparent-6), transparent);
|
|
25
|
-
border-right: 1px solid var(--ictinus-color-border-color-decorative-default);
|
|
26
|
-
}
|
|
27
|
-
._1cnxhit[data-scroll-timeline]::before, ._1cnxhit[data-scroll-timeline]::after {
|
|
28
|
-
content: "";
|
|
29
|
-
display: block;
|
|
30
|
-
height: 100%;
|
|
31
|
-
opacity: 0;
|
|
32
|
-
pointer-events: none;
|
|
33
|
-
position: absolute;
|
|
34
|
-
top: 0;
|
|
35
|
-
transition: 0.3s opacity;
|
|
36
|
-
width: 16px;
|
|
37
|
-
z-index: 1;
|
|
38
|
-
}
|
|
39
|
-
._1cnxhit[data-has-left-pinned][data-scroll-timeline]:not([data-scroll-timeline="left"])::before {
|
|
40
|
-
opacity: 1;
|
|
41
|
-
}
|
|
42
|
-
._1cnxhit[data-has-right-pinned][data-scroll-timeline]:not([data-scroll-timeline="right"])::after {
|
|
43
|
-
opacity: 1;
|
|
44
|
-
}
|
|
45
|
-
.hl69gt {
|
|
46
|
-
width: calc(1px * var(--mv2g5h));
|
|
47
|
-
background-image: linear-gradient(var(--_1272tho), var(--_1272tho));
|
|
48
|
-
transition: --_1272tho 150ms ease;
|
|
49
|
-
}
|
|
50
|
-
[data-selectable] .a45zcu[data-selected] .hl69gt {
|
|
51
|
-
--_1272tho: var(--ictinus-color-palette-tertiary-contrast);
|
|
52
|
-
}
|
|
53
|
-
.ze5v4q {
|
|
54
|
-
left: var(--_1ix3ge2);
|
|
55
|
-
}
|
|
56
|
-
.st165h {
|
|
57
|
-
right: var(--_1ix3ge2);
|
|
58
|
-
}
|
|
59
|
-
._1e1zqz2 {
|
|
60
|
-
flex-grow: calc(var(--mv2g5h) / var(--_1eit1po));
|
|
61
|
-
}
|
|
62
|
-
._1gu3hvp {
|
|
63
|
-
flex-grow: calc(var(--mv2g5h) / var(--_1eit1po));
|
|
64
|
-
}
|
|
65
|
-
@media (hover: hover) {
|
|
66
|
-
[data-selectable] .a45zcu:hover .hl69gt {
|
|
67
|
-
--_1272tho: var(--ictinus-color-palette-tertiary-muted);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@layer ictinus, ictinus.theme, ictinus.reset, ictinus._1hfyma1, ictinus.utilities;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { jsx } from '@emotion/react/jsx-runtime';
|
|
2
|
-
import { forwardRef, useMemo } from 'react';
|
|
3
|
-
import { iconStyles, avatarStyle } from './Avatar.style.js';
|
|
4
|
-
import { UserAvatar } from './UserAvatar.js';
|
|
5
|
-
|
|
6
|
-
const Avatar = forwardRef(
|
|
7
|
-
({ src = "", size = 1, color = "blue", className, dataTestPrefixId = "", children }, ref) => {
|
|
8
|
-
const avatarContent = useMemo(() => {
|
|
9
|
-
if (src) {
|
|
10
|
-
return /* @__PURE__ */ jsx("img", { src });
|
|
11
|
-
}
|
|
12
|
-
if (!src && children) {
|
|
13
|
-
return children;
|
|
14
|
-
}
|
|
15
|
-
return /* @__PURE__ */ jsx(UserAvatar, { css: iconStyles({ size, color }) });
|
|
16
|
-
}, [children, color, size, src]);
|
|
17
|
-
return /* @__PURE__ */ jsx(
|
|
18
|
-
"div",
|
|
19
|
-
{
|
|
20
|
-
ref,
|
|
21
|
-
className,
|
|
22
|
-
css: avatarStyle({
|
|
23
|
-
size,
|
|
24
|
-
color
|
|
25
|
-
}),
|
|
26
|
-
"data-testid": `${dataTestPrefixId}_avatar`,
|
|
27
|
-
children: avatarContent
|
|
28
|
-
}
|
|
29
|
-
);
|
|
30
|
-
}
|
|
31
|
-
);
|
|
32
|
-
Avatar.displayName = "Avatar";
|
|
33
|
-
|
|
34
|
-
export { Avatar as default };
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { css } from '@emotion/react';
|
|
2
|
-
import { vars } from '@orfium/tokens';
|
|
3
|
-
import { flex } from '../../theme/functions.js';
|
|
4
|
-
|
|
5
|
-
const AVATAR_COLOR = {
|
|
6
|
-
blue: {
|
|
7
|
-
border: vars.color.palette["primary-alt"].contrast,
|
|
8
|
-
fill: vars.color.palette["primary-alt"].base,
|
|
9
|
-
text: vars.color.text.default.active
|
|
10
|
-
},
|
|
11
|
-
red: {
|
|
12
|
-
border: vars.color.palette.error.contrast,
|
|
13
|
-
fill: vars.color.palette.error.base,
|
|
14
|
-
text: vars.color.text.default.error
|
|
15
|
-
},
|
|
16
|
-
purple: {
|
|
17
|
-
border: vars.color.palette.upsell.contrast,
|
|
18
|
-
fill: vars.color.palette.upsell.base,
|
|
19
|
-
text: vars.color.text.default.visited
|
|
20
|
-
},
|
|
21
|
-
teal: {
|
|
22
|
-
border: vars.color.palette.success.contrast,
|
|
23
|
-
fill: vars.color.palette.success.base,
|
|
24
|
-
text: vars.color.text.default.success
|
|
25
|
-
},
|
|
26
|
-
orange: {
|
|
27
|
-
border: vars.color.palette.warning.contrast,
|
|
28
|
-
fill: vars.color.palette.warning.base,
|
|
29
|
-
text: vars.color.text.default.warning
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
const AVATAR_SIZE = {
|
|
33
|
-
"1": vars.sizing["5"],
|
|
34
|
-
"2": vars.sizing["6"],
|
|
35
|
-
"3": vars.sizing["8"],
|
|
36
|
-
"4": vars.sizing["12"],
|
|
37
|
-
"5": vars.sizing["15"],
|
|
38
|
-
"6": vars.sizing["18"]
|
|
39
|
-
};
|
|
40
|
-
const AVATAR_TYPOGRAPHY = {
|
|
41
|
-
"1": {
|
|
42
|
-
fontSize: vars["font-size"]["1"],
|
|
43
|
-
lineHeight: vars["line-height"]["1"],
|
|
44
|
-
letterSpacing: vars["letter-spacing"]["1"]
|
|
45
|
-
},
|
|
46
|
-
"2": {
|
|
47
|
-
fontSize: vars["font-size"]["2"],
|
|
48
|
-
lineHeight: vars["line-height"]["3"],
|
|
49
|
-
letterSpacing: vars["letter-spacing"]["2"]
|
|
50
|
-
},
|
|
51
|
-
"3": {
|
|
52
|
-
fontSize: vars["font-size"]["3"],
|
|
53
|
-
lineHeight: vars["line-height"]["4"],
|
|
54
|
-
letterSpacing: vars["letter-spacing"]["2"]
|
|
55
|
-
},
|
|
56
|
-
"4": {
|
|
57
|
-
fontSize: vars["font-size"]["4"],
|
|
58
|
-
lineHeight: vars["line-height"]["5"],
|
|
59
|
-
letterSpacing: vars["letter-spacing"]["1"]
|
|
60
|
-
},
|
|
61
|
-
"5": {
|
|
62
|
-
fontSize: vars["font-size"]["8"],
|
|
63
|
-
lineHeight: vars["line-height"]["8"],
|
|
64
|
-
letterSpacing: vars["letter-spacing"]["0"]
|
|
65
|
-
},
|
|
66
|
-
"6": {
|
|
67
|
-
fontSize: vars["font-size"]["10"],
|
|
68
|
-
lineHeight: vars["line-height"]["10"],
|
|
69
|
-
letterSpacing: vars["letter-spacing"]["0"]
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
const iconStyles = ({ size = 1, color = "blue" }) => {
|
|
73
|
-
return css`
|
|
74
|
-
width: calc(${AVATAR_SIZE[size]} * 0.8);
|
|
75
|
-
height: calc(${AVATAR_SIZE[size]} * 0.8);
|
|
76
|
-
path {
|
|
77
|
-
fill: ${AVATAR_COLOR[color].text};
|
|
78
|
-
}
|
|
79
|
-
`;
|
|
80
|
-
};
|
|
81
|
-
const avatarStyle = ({
|
|
82
|
-
size,
|
|
83
|
-
color
|
|
84
|
-
}) => {
|
|
85
|
-
return css`
|
|
86
|
-
${flex};
|
|
87
|
-
width: ${AVATAR_SIZE[size]};
|
|
88
|
-
height: ${AVATAR_SIZE[size]};
|
|
89
|
-
border-radius: ${vars["border-radius"][7]};
|
|
90
|
-
border: ${vars["border-width"]["1"]} solid;
|
|
91
|
-
border-color: ${AVATAR_COLOR[color].border};
|
|
92
|
-
box-sizing: border-box;
|
|
93
|
-
background-color: ${AVATAR_COLOR[color].fill};
|
|
94
|
-
color: ${AVATAR_COLOR[color].text};
|
|
95
|
-
overflow: hidden;
|
|
96
|
-
position: relative;
|
|
97
|
-
align-items: center;
|
|
98
|
-
flex-shrink: 0;
|
|
99
|
-
user-select: none;
|
|
100
|
-
justify-content: center;
|
|
101
|
-
|
|
102
|
-
// avatar has custom typography styles
|
|
103
|
-
font-family: ${vars.weight.medium};
|
|
104
|
-
font-size: ${AVATAR_TYPOGRAPHY[size].fontSize};
|
|
105
|
-
line-height: ${AVATAR_TYPOGRAPHY[size].lineHeight};
|
|
106
|
-
letter-spacing: ${AVATAR_TYPOGRAPHY[size].letterSpacing};
|
|
107
|
-
|
|
108
|
-
img {
|
|
109
|
-
border-radius: ${vars["border-radius"][7]};
|
|
110
|
-
width: 100%;
|
|
111
|
-
height: 100%;
|
|
112
|
-
}
|
|
113
|
-
`;
|
|
114
|
-
};
|
|
115
|
-
|
|
116
|
-
export { AVATAR_COLOR, AVATAR_SIZE, AVATAR_TYPOGRAPHY, avatarStyle, iconStyles };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from '@emotion/react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
function UserAvatar() {
|
|
4
|
-
return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 14 17", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5
|
-
/* @__PURE__ */ jsx(
|
|
6
|
-
"path",
|
|
7
|
-
{
|
|
8
|
-
d: "M6.96625 6.55647C8.77677 6.55647 10.2445 5.08876 10.2445 3.27824C10.2445 1.46772 8.77677 0 6.96625 0C5.15573 0 3.68801 1.46772 3.68801 3.27824C3.68801 5.08876 5.15573 6.55647 6.96625 6.55647Z",
|
|
9
|
-
fill: "currentColor"
|
|
10
|
-
}
|
|
11
|
-
),
|
|
12
|
-
/* @__PURE__ */ jsx(
|
|
13
|
-
"path",
|
|
14
|
-
{
|
|
15
|
-
d: "M0 12.2113C0 12.1401 0.0171683 12.0699 0.0515269 12.0076C1.31285 9.7198 3.95046 8.09435 7 8.09435C10.0495 8.09435 12.6872 9.7198 13.9485 12.0076C13.9828 12.0699 14 12.1401 14 12.2113C14 12.2824 13.9828 12.3528 13.9483 12.4151C12.687 14.6941 10.0518 16.0044 7.00244 16.0044C3.95304 16.0044 1.31314 14.6941 0.0516988 12.4151C0.0172363 12.3528 0 12.2824 0 12.2113Z",
|
|
16
|
-
fill: "currentColor"
|
|
17
|
-
}
|
|
18
|
-
)
|
|
19
|
-
] });
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export { UserAvatar };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from '@emotion/react/jsx-runtime';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import Avatar from '../Avatar/Avatar.js';
|
|
4
|
-
import { BUTTON_COLOR } from '../ButtonBase/constants.js';
|
|
5
|
-
import Icon from '../Icon/Icon.js';
|
|
6
|
-
import ButtonBase from '../ButtonBase/ButtonBase.js';
|
|
7
|
-
|
|
8
|
-
const Button = React__default.forwardRef((props, ref) => {
|
|
9
|
-
const {
|
|
10
|
-
type = "primary",
|
|
11
|
-
size = "normal",
|
|
12
|
-
iconLeftName,
|
|
13
|
-
iconRightName,
|
|
14
|
-
avatar,
|
|
15
|
-
children,
|
|
16
|
-
onClick,
|
|
17
|
-
isLoading
|
|
18
|
-
} = props;
|
|
19
|
-
const hasAvatar = ["primary", "secondary", "tertiary"].includes(type) && avatar;
|
|
20
|
-
return /* @__PURE__ */ jsxs(ButtonBase, { ...props, ref, isLoading, onClick, children: [
|
|
21
|
-
hasAvatar && /* @__PURE__ */ jsx(Avatar, { src: avatar?.src, children: avatar?.label }),
|
|
22
|
-
iconLeftName && !hasAvatar && /* @__PURE__ */ jsx(Icon, { name: iconLeftName, color: BUTTON_COLOR[type].text }),
|
|
23
|
-
/* @__PURE__ */ jsx("span", { children }),
|
|
24
|
-
iconRightName && /* @__PURE__ */ jsx(Icon, { name: iconRightName, color: BUTTON_COLOR[type].text })
|
|
25
|
-
] });
|
|
26
|
-
});
|
|
27
|
-
Button.displayName = "Button";
|
|
28
|
-
|
|
29
|
-
export { Button as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsx } from '@emotion/react/jsx-runtime';
|
|
2
|
-
import { loaderWrapperStyle, barWrapperStyle, barStyle } from './ButtonLoader.style.js';
|
|
3
|
-
|
|
4
|
-
const ButtonLoader = ({ dataTestId }) => {
|
|
5
|
-
return /* @__PURE__ */ jsx("div", { css: loaderWrapperStyle(), "data-testid": dataTestId, children: /* @__PURE__ */ jsx("div", { css: barWrapperStyle(), children: /* @__PURE__ */ jsx("div", { css: barStyle() }) }) });
|
|
6
|
-
};
|
|
7
|
-
ButtonLoader.displayName = "ButtonLoader";
|
|
8
|
-
|
|
9
|
-
export { ButtonLoader as default };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { css, keyframes } from '@emotion/react';
|
|
2
|
-
import { rem, vars } from '@orfium/tokens';
|
|
3
|
-
|
|
4
|
-
const loaderWrapperStyle = () => {
|
|
5
|
-
return css({
|
|
6
|
-
width: "100%",
|
|
7
|
-
position: "absolute"
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
const barWrapperStyle = () => {
|
|
11
|
-
return css({
|
|
12
|
-
width: "100%",
|
|
13
|
-
height: rem(4),
|
|
14
|
-
overflow: "hidden",
|
|
15
|
-
borderTopLeftRadius: vars["border-radius"]["2"],
|
|
16
|
-
borderTopRightRadius: vars["border-radius"]["2"],
|
|
17
|
-
position: "relative",
|
|
18
|
-
":before": {
|
|
19
|
-
content: '""',
|
|
20
|
-
width: "100%",
|
|
21
|
-
height: rem(2),
|
|
22
|
-
display: "block"
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
const barStyle = () => {
|
|
27
|
-
const barAnimation = keyframes({
|
|
28
|
-
from: {
|
|
29
|
-
left: "-50%"
|
|
30
|
-
},
|
|
31
|
-
to: {
|
|
32
|
-
left: "100%"
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
return css({
|
|
36
|
-
width: "50%",
|
|
37
|
-
background: "linear-gradient(270deg, #F814E1 0.02%, #4945EE 100%)",
|
|
38
|
-
height: rem(2),
|
|
39
|
-
position: "absolute",
|
|
40
|
-
bottom: "0",
|
|
41
|
-
top: "0",
|
|
42
|
-
animation: `${barAnimation} 1.5s infinite`
|
|
43
|
-
});
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
export { barStyle, barWrapperStyle, loaderWrapperStyle };
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from '@emotion/react/jsx-runtime';
|
|
2
|
-
import { omit } from 'lodash-es';
|
|
3
|
-
import React__default from 'react';
|
|
4
|
-
import { generateTestDataId } from '../../utils/helpers.js';
|
|
5
|
-
import ButtonLoader from '../Button/ButtonLoader/ButtonLoader.js';
|
|
6
|
-
import { useSlotProps } from '../utils/Slots.js';
|
|
7
|
-
import { buttonWrapperStyle, buttonBaseStyle } from './ButtonBase.style.js';
|
|
8
|
-
|
|
9
|
-
const ButtonBase = React__default.forwardRef((props, ref) => {
|
|
10
|
-
props = useSlotProps(props, "button");
|
|
11
|
-
const {
|
|
12
|
-
type = "primary",
|
|
13
|
-
size = "normal",
|
|
14
|
-
isBlock = false,
|
|
15
|
-
isDisabled = false,
|
|
16
|
-
isLoading = false,
|
|
17
|
-
isIconButton = false,
|
|
18
|
-
shape = "circle",
|
|
19
|
-
children,
|
|
20
|
-
dataTestId = "",
|
|
21
|
-
dataTestPrefixId = "",
|
|
22
|
-
htmlType = "button",
|
|
23
|
-
onClick,
|
|
24
|
-
onBlur,
|
|
25
|
-
sx,
|
|
26
|
-
...rest
|
|
27
|
-
} = props;
|
|
28
|
-
const testIdName = `${dataTestPrefixId}button`;
|
|
29
|
-
return /* @__PURE__ */ jsxs("div", { css: buttonWrapperStyle({ isBlock }), children: [
|
|
30
|
-
isLoading && !isDisabled && /* @__PURE__ */ jsx(ButtonLoader, { dataTestId: testIdName }),
|
|
31
|
-
/* @__PURE__ */ jsx(
|
|
32
|
-
"button",
|
|
33
|
-
{
|
|
34
|
-
...omit(rest, ["avatar", "iconRightName", "iconLeftName", "iconName"]),
|
|
35
|
-
ref,
|
|
36
|
-
type: htmlType,
|
|
37
|
-
"data-testid": generateTestDataId(testIdName, dataTestId),
|
|
38
|
-
css: buttonBaseStyle({
|
|
39
|
-
type,
|
|
40
|
-
size,
|
|
41
|
-
isLoading,
|
|
42
|
-
isBlock,
|
|
43
|
-
isDisabled,
|
|
44
|
-
isIconButton,
|
|
45
|
-
shape,
|
|
46
|
-
sx
|
|
47
|
-
}),
|
|
48
|
-
onClick: (event) => {
|
|
49
|
-
if (onClick) {
|
|
50
|
-
onClick(event);
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
onBlur,
|
|
54
|
-
disabled: isDisabled,
|
|
55
|
-
children
|
|
56
|
-
}
|
|
57
|
-
)
|
|
58
|
-
] });
|
|
59
|
-
});
|
|
60
|
-
ButtonBase.displayName = "ButtonBase";
|
|
61
|
-
|
|
62
|
-
export { ButtonBase as default };
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { css } from '@emotion/react';
|
|
2
|
-
import { vars } from '@orfium/tokens';
|
|
3
|
-
import { generateStylesFromTokens } from '../Typography/utils.js';
|
|
4
|
-
import { BUTTON_COLOR, typographySizes } from './constants.js';
|
|
5
|
-
|
|
6
|
-
const BUTTON_SIZE = {
|
|
7
|
-
compact: {
|
|
8
|
-
size: vars.sizing["7"],
|
|
9
|
-
padding: `${vars.spacing["0"]} ${vars.spacing["4"]} ${vars.spacing["0"]} ${vars.spacing["4"]}`
|
|
10
|
-
},
|
|
11
|
-
normal: {
|
|
12
|
-
size: vars.sizing["9"],
|
|
13
|
-
padding: `${vars.spacing["0"]} ${vars.spacing["6"]} ${vars.spacing["0"]} ${vars.spacing["6"]}`
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
const buttonWrapperStyle = ({
|
|
17
|
-
isBlock
|
|
18
|
-
}) => css({ position: "relative", width: isBlock ? "100%" : "fit-content" });
|
|
19
|
-
const buttonBaseStyle = ({
|
|
20
|
-
type = "primary",
|
|
21
|
-
size = "normal",
|
|
22
|
-
isBlock,
|
|
23
|
-
isLoading,
|
|
24
|
-
isDisabled,
|
|
25
|
-
isIconButton,
|
|
26
|
-
shape,
|
|
27
|
-
sx
|
|
28
|
-
}) => (theme) => {
|
|
29
|
-
const getButtonWidth = () => {
|
|
30
|
-
if (isBlock) return "100%";
|
|
31
|
-
if (isIconButton) return BUTTON_SIZE[size].size;
|
|
32
|
-
return void 0;
|
|
33
|
-
};
|
|
34
|
-
const baseButtonStyles = {
|
|
35
|
-
display: "flex",
|
|
36
|
-
alignItems: "center",
|
|
37
|
-
justifyContent: "center",
|
|
38
|
-
flexShrink: 0,
|
|
39
|
-
gap: vars.spacing["4"],
|
|
40
|
-
color: BUTTON_COLOR[type].text,
|
|
41
|
-
width: getButtonWidth(),
|
|
42
|
-
height: BUTTON_SIZE[size].size,
|
|
43
|
-
backgroundColor: BUTTON_COLOR[type][isLoading ? "activeFill" : "defaultFill"],
|
|
44
|
-
padding: isIconButton ? 0 : BUTTON_SIZE[size].padding,
|
|
45
|
-
borderRadius: isIconButton && shape === "circle" ? vars["border-radius"]["7"] : vars["border-radius"]["2"],
|
|
46
|
-
border: "none",
|
|
47
|
-
cursor: "pointer",
|
|
48
|
-
transition: "background-color,border 150ms linear",
|
|
49
|
-
":focus-visible:not(:disabled)": {
|
|
50
|
-
backgroundColor: BUTTON_COLOR[type].hoverFill
|
|
51
|
-
},
|
|
52
|
-
":disabled": {
|
|
53
|
-
opacity: theme.tokens.disabledState.get("default"),
|
|
54
|
-
cursor: "not-allowed"
|
|
55
|
-
},
|
|
56
|
-
":hover:not(:disabled)": {
|
|
57
|
-
backgroundColor: BUTTON_COLOR[type].hoverFill
|
|
58
|
-
},
|
|
59
|
-
':active:not(:disabled), &[aria-expanded="true"]': {
|
|
60
|
-
backgroundColor: BUTTON_COLOR[type].activeFill
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
const loadingStyles = isLoading && !isDisabled ? {
|
|
64
|
-
pointerEvents: "none"
|
|
65
|
-
} : {};
|
|
66
|
-
return css`
|
|
67
|
-
${generateStylesFromTokens(theme.tokens.typography.get(typographySizes[size]))};
|
|
68
|
-
${baseButtonStyles};
|
|
69
|
-
${loadingStyles};
|
|
70
|
-
${sx?.container};
|
|
71
|
-
`;
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
export { buttonBaseStyle, buttonWrapperStyle };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { vars } from '@orfium/tokens';
|
|
2
|
-
|
|
3
|
-
const BUTTON_COLOR = {
|
|
4
|
-
primary: {
|
|
5
|
-
defaultFill: vars.color.palette.primary.base,
|
|
6
|
-
hoverFill: vars.color.palette.primary.muted,
|
|
7
|
-
activeFill: vars.color.palette.primary.contrast,
|
|
8
|
-
text: vars.color.text.inverted.primary
|
|
9
|
-
},
|
|
10
|
-
secondary: {
|
|
11
|
-
defaultFill: vars.color.palette.secondary.base,
|
|
12
|
-
hoverFill: vars.color.palette.secondary.muted,
|
|
13
|
-
activeFill: vars.color.palette.secondary.contrast,
|
|
14
|
-
text: vars.color.text.default.active
|
|
15
|
-
},
|
|
16
|
-
tertiary: {
|
|
17
|
-
defaultFill: vars.color.palette.tertiary.base,
|
|
18
|
-
hoverFill: vars.color.palette.tertiary.muted,
|
|
19
|
-
activeFill: vars.color.palette.tertiary.contrast,
|
|
20
|
-
text: vars.color.text.default.active
|
|
21
|
-
},
|
|
22
|
-
danger: {
|
|
23
|
-
defaultFill: vars.color.palette.error.base,
|
|
24
|
-
hoverFill: vars.color.palette.error.muted,
|
|
25
|
-
activeFill: vars.color.palette.error.contrast,
|
|
26
|
-
text: vars.color.text.default.error
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
const typographySizes = {
|
|
30
|
-
normal: "normal.label02",
|
|
31
|
-
compact: "normal.label03"
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export { BUTTON_COLOR, typographySizes };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { jsx } from '@emotion/react/jsx-runtime';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import { vars } from '@orfium/tokens';
|
|
4
|
-
import ButtonBase from '../ButtonBase/ButtonBase.js';
|
|
5
|
-
import { BUTTON_COLOR } from '../ButtonBase/constants.js';
|
|
6
|
-
import Icon from '../Icon/Icon.js';
|
|
7
|
-
|
|
8
|
-
const IconButton = React__default.forwardRef(
|
|
9
|
-
({
|
|
10
|
-
size = "normal",
|
|
11
|
-
type = "primary",
|
|
12
|
-
shape = "circle",
|
|
13
|
-
iconName,
|
|
14
|
-
iconColor,
|
|
15
|
-
dataTestPrefixId,
|
|
16
|
-
...props
|
|
17
|
-
}, ref) => /* @__PURE__ */ jsx(
|
|
18
|
-
ButtonBase,
|
|
19
|
-
{
|
|
20
|
-
...props,
|
|
21
|
-
ref,
|
|
22
|
-
isIconButton: true,
|
|
23
|
-
shape,
|
|
24
|
-
size,
|
|
25
|
-
type,
|
|
26
|
-
dataTestPrefixId: dataTestPrefixId ? `${dataTestPrefixId}-icon-` : "icon-",
|
|
27
|
-
children: /* @__PURE__ */ jsx(
|
|
28
|
-
Icon,
|
|
29
|
-
{
|
|
30
|
-
size: vars.sizing[size === "compact" ? "4" : "5"],
|
|
31
|
-
name: iconName,
|
|
32
|
-
color: iconColor ?? BUTTON_COLOR[type].text
|
|
33
|
-
}
|
|
34
|
-
)
|
|
35
|
-
}
|
|
36
|
-
)
|
|
37
|
-
);
|
|
38
|
-
IconButton.displayName = "IconButton";
|
|
39
|
-
|
|
40
|
-
export { IconButton as default };
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { css } from '@emotion/react';
|
|
2
|
-
|
|
3
|
-
css`
|
|
4
|
-
display: grid;
|
|
5
|
-
|
|
6
|
-
grid-auto-columns: 1fr;
|
|
7
|
-
`;
|
|
8
|
-
css`
|
|
9
|
-
border-radius: 6px;
|
|
10
|
-
box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.08);
|
|
11
|
-
background-color: white;
|
|
12
|
-
`;
|
|
13
|
-
css`
|
|
14
|
-
position: absolute;
|
|
15
|
-
margin: auto;
|
|
16
|
-
top: 0;
|
|
17
|
-
bottom: 0;
|
|
18
|
-
`;
|
|
19
|
-
const transition = (s, type = "all") => css`
|
|
20
|
-
-webkit-transition: ${type} ${s}s ease-in-out;
|
|
21
|
-
-moz-transition: ${type} ${s}s ease-in-out;
|
|
22
|
-
-ms-transition: ${type} ${s}s ease-in-out;
|
|
23
|
-
-o-transition: ${type} ${s}s ease-in-out;
|
|
24
|
-
transition: ${type} ${s}s ease-in-out;
|
|
25
|
-
`;
|
|
26
|
-
css`
|
|
27
|
-
white-space: nowrap;
|
|
28
|
-
overflow: hidden;
|
|
29
|
-
text-overflow: ellipsis;
|
|
30
|
-
`;
|
|
31
|
-
const flex = css`
|
|
32
|
-
display: -webkit-box;
|
|
33
|
-
display: -moz-box;
|
|
34
|
-
display: -ms-flexbox;
|
|
35
|
-
display: flex;
|
|
36
|
-
`;
|
|
37
|
-
css`
|
|
38
|
-
${flex};
|
|
39
|
-
-webkit-align-items: center;
|
|
40
|
-
-moz-box-align: center;
|
|
41
|
-
-ms-flex-align: center;
|
|
42
|
-
align-items: center;
|
|
43
|
-
justify-content: center;
|
|
44
|
-
`;
|
|
45
|
-
css`
|
|
46
|
-
${flex};
|
|
47
|
-
-webkit-align-items: center;
|
|
48
|
-
-moz-box-align: center;
|
|
49
|
-
-ms-flex-align: center;
|
|
50
|
-
align-items: center;
|
|
51
|
-
`;
|
|
52
|
-
css`
|
|
53
|
-
${transition(0.1, "color")}
|
|
54
|
-
border: none;
|
|
55
|
-
background: transparent;
|
|
56
|
-
box-shadow: none;
|
|
57
|
-
text-shadow: none;
|
|
58
|
-
padding: 0;
|
|
59
|
-
margin: 0;
|
|
60
|
-
box-sizing: border-box;
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
`;
|
|
63
|
-
|
|
64
|
-
export { flex, transition };
|