@ntbjs/react-components 2.0.14 → 3.0.0-rc.2
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/README.md +34 -0
- package/build/data/Alert/Alert.js +18 -33
- package/build/data/Alert/Alert.js.map +1 -1
- package/build/data/Alert/Alert.styled.js +9 -47
- package/build/data/Alert/Alert.styled.js.map +1 -1
- package/build/data/Badge/Badge.js +36 -61
- package/build/data/Badge/Badge.js.map +1 -1
- package/build/data/Badge/Badge.styled.js +21 -70
- package/build/data/Badge/Badge.styled.js.map +1 -1
- package/build/data/Popover/Popover.js +125 -71
- package/build/data/Popover/Popover.js.map +1 -1
- package/build/data/Popover/Popover.styled.js +10 -140
- package/build/data/Popover/Popover.styled.js.map +1 -1
- package/build/data/SeverityBadge/SeverityBadge.js +13 -22
- package/build/data/SeverityBadge/SeverityBadge.js.map +1 -1
- package/build/data/SeverityBadge/index.js +2 -0
- package/build/data/SeverityBadge/index.js.map +1 -0
- package/build/data/Tab/Tab.js +7 -13
- package/build/data/Tab/Tab.js.map +1 -1
- package/build/data/Tab/Tab.styled.js +4 -7
- package/build/data/Tab/Tab.styled.js.map +1 -1
- package/build/data/Tabs/Tabs.js +30 -32
- package/build/data/Tabs/Tabs.js.map +1 -1
- package/build/data/Tabs/Tabs.styled.js +21 -57
- package/build/data/Tabs/Tabs.styled.js.map +1 -1
- package/build/data/Tooltip/Tooltip.js +102 -33
- package/build/data/Tooltip/Tooltip.js.map +1 -1
- package/build/data/Tooltip/Tooltip.styled.js +9 -22
- package/build/data/Tooltip/Tooltip.styled.js.map +1 -1
- package/build/data/VerificationStatusIcon/VerificationStatusIcon.js +16 -23
- package/build/data/VerificationStatusIcon/VerificationStatusIcon.js.map +1 -1
- package/build/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +13 -31
- package/build/data/VerificationStatusIcon/VerificationStatusIcon.styled.js.map +1 -1
- package/build/data/VerificationStatusIcon/index.js +2 -0
- package/build/data/VerificationStatusIcon/index.js.map +1 -0
- package/build/data/_shared/FloatingArrow.styled.js +30 -0
- package/build/data/_shared/FloatingArrow.styled.js.map +1 -0
- package/build/hooks/useEventListner.js.map +1 -1
- package/build/hooks/useFloatingPopover.js +187 -0
- package/build/hooks/useFloatingPopover.js.map +1 -0
- package/build/hooks/useIsomorphicLayoutEffect.js.map +1 -1
- package/build/hooks/useOnClickOutside.js.map +1 -1
- package/build/hooks/useTooltipAutoShow.js.map +1 -1
- package/build/icons/arrow-back.svg.js +3 -3
- package/build/icons/arrow-back.svg.js.map +1 -1
- package/build/icons/arrow-forward.svg.js +4 -4
- package/build/icons/arrow-forward.svg.js.map +1 -1
- package/build/icons/check-rectangle-filled.svg.js +3 -3
- package/build/icons/check-rectangle-filled.svg.js.map +1 -1
- package/build/icons/close.svg.js +3 -3
- package/build/icons/close.svg.js.map +1 -1
- package/build/icons/edit-note.svg.js +3 -3
- package/build/icons/edit-note.svg.js.map +1 -1
- package/build/icons/expand-more.svg.js +3 -3
- package/build/icons/expand-more.svg.js.map +1 -1
- package/build/icons/headset.svg.js +3 -3
- package/build/icons/headset.svg.js.map +1 -1
- package/build/icons/layers.svg.js +3 -3
- package/build/icons/layers.svg.js.map +1 -1
- package/build/icons/link.svg.js +3 -3
- package/build/icons/link.svg.js.map +1 -1
- package/build/icons/play.svg.js +3 -3
- package/build/icons/play.svg.js.map +1 -1
- package/build/icons/search.svg.js +3 -3
- package/build/icons/search.svg.js.map +1 -1
- package/build/icons/star-filled.svg.js +3 -3
- package/build/icons/star-filled.svg.js.map +1 -1
- package/build/icons/star.svg.js +3 -3
- package/build/icons/star.svg.js.map +1 -1
- package/build/icons/triangle-right.svg.js +3 -3
- package/build/icons/triangle-right.svg.js.map +1 -1
- package/build/icons/verification.svg.js +3 -3
- package/build/icons/verification.svg.js.map +1 -1
- package/build/icons/warning-circle.svg.js +3 -3
- package/build/icons/warning-circle.svg.js.map +1 -1
- package/build/inputs/ActionButton/ActionButton.js +11 -22
- package/build/inputs/ActionButton/ActionButton.js.map +1 -1
- package/build/inputs/ActionButton/ActionButton.styled.js +5 -54
- package/build/inputs/ActionButton/ActionButton.styled.js.map +1 -1
- package/build/inputs/Button/Button.js +125 -121
- package/build/inputs/Button/Button.js.map +1 -1
- package/build/inputs/Button/Button.styled.js +42 -260
- package/build/inputs/Button/Button.styled.js.map +1 -1
- package/build/inputs/Checkbox/Checkbox.js +45 -61
- package/build/inputs/Checkbox/Checkbox.js.map +1 -1
- package/build/inputs/Checkbox/Checkbox.styled.js +24 -153
- package/build/inputs/Checkbox/Checkbox.styled.js.map +1 -1
- package/build/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +106 -111
- package/build/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js.map +1 -1
- package/build/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +88 -273
- package/build/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js.map +1 -1
- package/build/inputs/CompactStarRating/CompactStarRating.js +56 -77
- package/build/inputs/CompactStarRating/CompactStarRating.js.map +1 -1
- package/build/inputs/CompactStarRating/CompactStarRating.styled.js +32 -211
- package/build/inputs/CompactStarRating/CompactStarRating.styled.js.map +1 -1
- package/build/inputs/CompactTextInput/CompactTextInput.js +86 -105
- package/build/inputs/CompactTextInput/CompactTextInput.js.map +1 -1
- package/build/inputs/CompactTextInput/CompactTextInput.styled.js +55 -258
- package/build/inputs/CompactTextInput/CompactTextInput.styled.js.map +1 -1
- package/build/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +70 -77
- package/build/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js.map +1 -1
- package/build/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +28 -60
- package/build/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js.map +1 -1
- package/build/inputs/MultiLevelCheckbox/types.js +12 -12
- package/build/inputs/MultiLevelCheckbox/types.js.map +1 -1
- package/build/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +69 -73
- package/build/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js.map +1 -1
- package/build/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +44 -87
- package/build/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js.map +1 -1
- package/build/inputs/MultiSelect/MultiSelect.js +69 -79
- package/build/inputs/MultiSelect/MultiSelect.js.map +1 -1
- package/build/inputs/MultiSelect/MultiSelect.styled.js +70 -76
- package/build/inputs/MultiSelect/MultiSelect.styled.js.map +1 -1
- package/build/inputs/Radio/Radio.js +20 -33
- package/build/inputs/Radio/Radio.js.map +1 -1
- package/build/inputs/Radio/Radio.styled.js +15 -96
- package/build/inputs/Radio/Radio.styled.js.map +1 -1
- package/build/inputs/Switch/Switch.js +28 -40
- package/build/inputs/Switch/Switch.js.map +1 -1
- package/build/inputs/Switch/Switch.styled.js +24 -94
- package/build/inputs/Switch/Switch.styled.js.map +1 -1
- package/build/inputs/TextArea/TextArea.js +98 -123
- package/build/inputs/TextArea/TextArea.js.map +1 -1
- package/build/inputs/TextArea/TextArea.styled.js +64 -379
- package/build/inputs/TextArea/TextArea.styled.js.map +1 -1
- package/build/inputs/TextInput/TextInput.js +59 -79
- package/build/inputs/TextInput/TextInput.js.map +1 -1
- package/build/inputs/TextInput/TextInput.styled.js +33 -224
- package/build/inputs/TextInput/TextInput.styled.js.map +1 -1
- package/build/layout/InputGroup/InputGroup.js +6 -9
- package/build/layout/InputGroup/InputGroup.js.map +1 -1
- package/build/layout/InputGroup/InputGroup.styled.js +4 -3
- package/build/layout/InputGroup/InputGroup.styled.js.map +1 -1
- package/build/layout/InputGroup/index.js +2 -0
- package/build/layout/InputGroup/index.js.map +1 -0
- package/build/layout/SectionSeparator/SectionSeparator.js +5 -9
- package/build/layout/SectionSeparator/SectionSeparator.js.map +1 -1
- package/build/layout/SectionSeparator/SectionSeparator.styled.js +4 -8
- package/build/layout/SectionSeparator/SectionSeparator.styled.js.map +1 -1
- package/build/styles/utils/colors-export.d.ts +54 -0
- package/build/styles/utils/colors-export.js.map +1 -1
- package/build/utils/dateTime.js.map +1 -1
- package/build/utils/defaultTheme.js +14 -28
- package/build/utils/defaultTheme.js.map +1 -1
- package/build/utils/getElementRef.js +14 -0
- package/build/utils/getElementRef.js.map +1 -0
- package/build/utils/parseTrigger.js +16 -0
- package/build/utils/parseTrigger.js.map +1 -0
- package/build/widgets/AssetAction/AssetAction.js +26 -33
- package/build/widgets/AssetAction/AssetAction.js.map +1 -1
- package/build/widgets/AssetAction/AssetAction.styled.js +20 -34
- package/build/widgets/AssetAction/AssetAction.styled.js.map +1 -1
- package/build/widgets/AssetActionsBase/AssetActionsBase.js +8 -13
- package/build/widgets/AssetActionsBase/AssetActionsBase.js.map +1 -1
- package/build/widgets/AssetActionsBase/AssetActionsBase.styled.js +4 -9
- package/build/widgets/AssetActionsBase/AssetActionsBase.styled.js.map +1 -1
- package/build/widgets/AssetGallery/AssetGallery.js +15 -40
- package/build/widgets/AssetGallery/AssetGallery.js.map +1 -1
- package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +55 -70
- package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js.map +1 -1
- package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +12 -24
- package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js.map +1 -1
- package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +146 -122
- package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js.map +1 -1
- package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +99 -286
- package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js.map +1 -1
- package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +170 -125
- package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js.map +1 -1
- package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +135 -364
- package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js.map +1 -1
- package/build/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +20 -21
- package/build/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js.map +1 -1
- package/build/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +20 -71
- package/build/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js.map +1 -1
- package/build/widgets/ContextMenu/ContextMenu.js +12 -11
- package/build/widgets/ContextMenu/ContextMenu.js.map +1 -1
- package/build/widgets/ContextMenu/ContextMenu.styled.js +4 -4
- package/build/widgets/ContextMenu/ContextMenu.styled.js.map +1 -1
- package/build/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +17 -25
- package/build/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js.map +1 -1
- package/build/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +16 -71
- package/build/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js.map +1 -1
- package/build/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +7 -11
- package/build/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js.map +1 -1
- package/build/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +4 -11
- package/build/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js.map +1 -1
- package/build/widgets/InfoCard/InfoCard.js +26 -21
- package/build/widgets/InfoCard/InfoCard.js.map +1 -1
- package/build/widgets/InfoCard/InfoCard.styled.js +36 -84
- package/build/widgets/InfoCard/InfoCard.styled.js.map +1 -1
- package/build/widgets/InstructionSeverityDisplay/InstructionSeverityDisplay.js +28 -34
- package/build/widgets/InstructionSeverityDisplay/InstructionSeverityDisplay.js.map +1 -1
- package/build/widgets/InstructionSeverityDisplay/InstructionSeverityDisplay.styled.js +21 -57
- package/build/widgets/InstructionSeverityDisplay/InstructionSeverityDisplay.styled.js.map +1 -1
- package/build/widgets/InstructionSeverityDisplay/index.js +2 -0
- package/build/widgets/InstructionSeverityDisplay/index.js.map +1 -0
- package/build/widgets/Instructions/Instructions.js +53 -95
- package/build/widgets/Instructions/Instructions.js.map +1 -1
- package/build/widgets/Instructions/Instructions.styled.js +27 -26
- package/build/widgets/Instructions/Instructions.styled.js.map +1 -1
- package/build/widgets/ProgressBar/ProgressBar.js +39 -37
- package/build/widgets/ProgressBar/ProgressBar.js.map +1 -1
- package/build/widgets/ProgressBar/ProgressBar.styled.js +56 -125
- package/build/widgets/ProgressBar/ProgressBar.styled.js.map +1 -1
- package/build/widgets/SummaryCard/SummaryCard.js +55 -64
- package/build/widgets/SummaryCard/SummaryCard.js.map +1 -1
- package/build/widgets/SummaryCard/SummaryCard.styled.js +51 -106
- package/build/widgets/SummaryCard/SummaryCard.styled.js.map +1 -1
- package/package.json +84 -36
- package/styles/utils/colors-export.d.ts +54 -0
- package/types/components/data/Alert/Alert.d.ts +76 -0
- package/types/components/data/Alert/Alert.styled.d.ts +52 -0
- package/types/components/data/Alert/index.d.ts +1 -0
- package/types/components/data/Badge/Badge.d.ts +120 -0
- package/types/components/data/Badge/Badge.styled.d.ts +33 -0
- package/types/components/data/Badge/index.d.ts +1 -0
- package/types/components/data/Popover/Popover.d.ts +116 -0
- package/types/components/data/Popover/Popover.styled.d.ts +15 -0
- package/types/components/data/Popover/index.d.ts +1 -0
- package/types/components/data/SeverityBadge/SeverityBadge.d.ts +72 -0
- package/types/components/data/SeverityBadge/index.d.ts +1 -0
- package/types/components/data/Tab/Tab.d.ts +14 -0
- package/types/components/data/Tab/Tab.styled.d.ts +1 -0
- package/types/components/data/Tab/index.d.ts +1 -0
- package/types/components/data/Tabs/Tabs.d.ts +111 -0
- package/types/components/data/Tabs/Tabs.styled.d.ts +26 -0
- package/types/components/data/Tabs/index.d.ts +1 -0
- package/types/components/data/Tooltip/Tooltip.d.ts +88 -0
- package/types/components/data/Tooltip/Tooltip.styled.d.ts +8 -0
- package/types/components/data/Tooltip/index.d.ts +1 -0
- package/types/components/data/VerificationStatusIcon/VerificationStatusIcon.d.ts +35 -0
- package/types/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.d.ts +27 -0
- package/types/components/data/VerificationStatusIcon/index.d.ts +1 -0
- package/types/components/data/_shared/FloatingArrow.styled.d.ts +29 -0
- package/types/components/data/index.d.ts +8 -0
- package/types/components/index.d.ts +3 -0
- package/types/components/inputs/ActionButton/ActionButton.d.ts +55 -0
- package/types/components/inputs/ActionButton/ActionButton.styled.d.ts +16 -0
- package/types/components/inputs/ActionButton/index.d.ts +1 -0
- package/types/components/inputs/Button/Button.d.ts +82 -0
- package/types/components/inputs/Button/Button.styled.d.ts +60 -0
- package/types/components/inputs/Button/index.d.ts +1 -0
- package/types/components/inputs/Checkbox/Checkbox.d.ts +83 -0
- package/types/components/inputs/Checkbox/Checkbox.styled.d.ts +29 -0
- package/types/components/inputs/Checkbox/index.d.ts +1 -0
- package/types/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.d.ts +242 -0
- package/types/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.d.ts +104 -0
- package/types/components/inputs/CompactAutocompleteSelect/index.d.ts +1 -0
- package/types/components/inputs/CompactStarRating/CompactStarRating.d.ts +96 -0
- package/types/components/inputs/CompactStarRating/CompactStarRating.styled.d.ts +34 -0
- package/types/components/inputs/CompactStarRating/index.d.ts +1 -0
- package/types/components/inputs/CompactTextInput/CompactTextInput.d.ts +116 -0
- package/types/components/inputs/CompactTextInput/CompactTextInput.styled.d.ts +42 -0
- package/types/components/inputs/CompactTextInput/index.d.ts +1 -0
- package/types/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.d.ts +41 -0
- package/types/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.d.ts +13 -0
- package/types/components/inputs/MultiLevelCheckbox/index.d.ts +2 -0
- package/types/components/inputs/MultiLevelCheckbox/types.d.ts +29 -0
- package/types/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.d.ts +44 -0
- package/types/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.d.ts +11 -0
- package/types/components/inputs/MultiLevelCheckboxSelect/index.d.ts +1 -0
- package/types/components/inputs/MultiSelect/MultiSelect.d.ts +115 -0
- package/types/components/inputs/MultiSelect/MultiSelect.styled.d.ts +34 -0
- package/types/components/inputs/MultiSelect/index.d.ts +1 -0
- package/types/components/inputs/Radio/Radio.d.ts +65 -0
- package/types/components/inputs/Radio/Radio.styled.d.ts +11 -0
- package/types/components/inputs/Radio/index.d.ts +1 -0
- package/types/components/inputs/Switch/Switch.d.ts +62 -0
- package/types/components/inputs/Switch/Switch.styled.d.ts +16 -0
- package/types/components/inputs/Switch/index.d.ts +1 -0
- package/types/components/inputs/TextArea/TextArea.d.ts +120 -0
- package/types/components/inputs/TextArea/TextArea.styled.d.ts +93 -0
- package/types/components/inputs/TextArea/index.d.ts +1 -0
- package/types/components/inputs/TextInput/TextInput.d.ts +109 -0
- package/types/components/inputs/TextInput/TextInput.styled.d.ts +43 -0
- package/types/components/inputs/TextInput/index.d.ts +1 -0
- package/types/components/inputs/index.d.ts +13 -0
- package/types/components/layout/InputGroup/InputGroup.d.ts +31 -0
- package/types/components/layout/InputGroup/InputGroup.styled.d.ts +1 -0
- package/types/components/layout/InputGroup/index.d.ts +1 -0
- package/types/components/layout/SectionSeparator/SectionSeparator.d.ts +28 -0
- package/types/components/layout/SectionSeparator/SectionSeparator.styled.d.ts +7 -0
- package/types/components/layout/SectionSeparator/index.d.ts +1 -0
- package/types/components/layout/index.d.ts +2 -0
- package/types/components/widgets/AssetAction/AssetAction.d.ts +16 -0
- package/types/components/widgets/AssetAction/AssetAction.styled.d.ts +15 -0
- package/types/components/widgets/AssetAction/index.d.ts +1 -0
- package/types/components/widgets/AssetActionsBase/AssetActionsBase.d.ts +25 -0
- package/types/components/widgets/AssetActionsBase/AssetActionsBase.styled.d.ts +1 -0
- package/types/components/widgets/AssetActionsBase/index.d.ts +1 -0
- package/types/components/widgets/AssetGallery/AssetGallery.d.ts +170 -0
- package/types/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.d.ts +76 -0
- package/types/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.d.ts +3 -0
- package/types/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.d.ts +3 -0
- package/types/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.d.ts +52 -0
- package/types/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.d.ts +2 -0
- package/types/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.d.ts +49 -0
- package/types/components/widgets/AssetGallery/asset.types.d.ts +329 -0
- package/types/components/widgets/AssetGallery/index.d.ts +1 -0
- package/types/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.d.ts +60 -0
- package/types/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.d.ts +21 -0
- package/types/components/widgets/AssetPreview/AssetPreviewTopBar/index.d.ts +1 -0
- package/types/components/widgets/ContextMenu/ContextMenu.d.ts +118 -0
- package/types/components/widgets/ContextMenu/ContextMenu.styled.d.ts +1 -0
- package/types/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.d.ts +45 -0
- package/types/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.d.ts +18 -0
- package/types/components/widgets/ContextMenu/ContextMenuItem/index.d.ts +1 -0
- package/types/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.d.ts +23 -0
- package/types/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.d.ts +1 -0
- package/types/components/widgets/ContextMenu/ContextMenuItemsGroup/index.d.ts +1 -0
- package/types/components/widgets/ContextMenu/index.d.ts +1 -0
- package/types/components/widgets/InfoCard/InfoCard.d.ts +33 -0
- package/types/components/widgets/InfoCard/InfoCard.styled.d.ts +28 -0
- package/types/components/widgets/InfoCard/index.d.ts +1 -0
- package/types/components/widgets/InstructionSeverityDisplay/InstructionSeverityDisplay.d.ts +46 -0
- package/types/components/widgets/InstructionSeverityDisplay/InstructionSeverityDisplay.styled.d.ts +30 -0
- package/types/components/widgets/InstructionSeverityDisplay/index.d.ts +1 -0
- package/types/components/widgets/Instructions/Instructions.d.ts +156 -0
- package/types/components/widgets/Instructions/Instructions.styled.d.ts +14 -0
- package/types/components/widgets/Instructions/index.d.ts +1 -0
- package/types/components/widgets/ProgressBar/ProgressBar.d.ts +30 -0
- package/types/components/widgets/ProgressBar/ProgressBar.styled.d.ts +41 -0
- package/types/components/widgets/ProgressBar/index.d.ts +1 -0
- package/types/components/widgets/SummaryCard/SummaryCard.d.ts +83 -0
- package/types/components/widgets/SummaryCard/SummaryCard.styled.d.ts +29 -0
- package/types/components/widgets/SummaryCard/index.d.ts +1 -0
- package/types/components/widgets/index.d.ts +11 -0
- package/types/hooks/useElementSize.d.ts +14 -0
- package/types/hooks/useEventListner.d.ts +14 -0
- package/types/hooks/useFloatingPopover.d.ts +161 -0
- package/types/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
- package/types/hooks/useOnClickOutside.d.ts +13 -0
- package/types/hooks/useTooltipAutoShow.d.ts +31 -0
- package/types/icons/index.d.ts +41 -0
- package/types/ssr/index.d.ts +1 -0
- package/types/styles/utils/colors-export.d.ts +54 -0
- package/types/utils/dateTime.d.ts +8 -0
- package/types/utils/defaultTheme.d.ts +95 -0
- package/types/utils/getElementRef.d.ts +2 -0
- package/types/utils/parseTrigger.d.ts +22 -0
- package/build/_virtual/_rollupPluginBabelHelpers.js +0 -12
- package/build/_virtual/_rollupPluginBabelHelpers.js.map +0 -1
- package/build/widgets/AssetGallery/asset.propType.js +0 -56
- package/build/widgets/AssetGallery/asset.propType.js.map +0 -1
|
@@ -2,17 +2,19 @@ import { rgba } from 'polished';
|
|
|
2
2
|
import styled, { css } from 'styled-components';
|
|
3
3
|
import { applyDefaultTheme } from '../../../../utils/defaultTheme.js';
|
|
4
4
|
|
|
5
|
+
const shouldForwardProp = prop => {
|
|
6
|
+
return prop !== 'theme' && !prop.startsWith('$');
|
|
7
|
+
};
|
|
5
8
|
const darkBorderColor = '#52525B';
|
|
6
9
|
const darkBgColor = '#27272A';
|
|
7
10
|
const darkHoverBgColor = '#3F3F46';
|
|
8
11
|
const lightHoverBgColor = '#E4E4E7';
|
|
9
|
-
const AssetGalleryWrapper = styled.div.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
`;
|
|
12
|
+
const AssetGalleryWrapper = styled.div.withConfig({
|
|
13
|
+
shouldForwardProp
|
|
14
|
+
}).attrs(applyDefaultTheme).withConfig({
|
|
15
|
+
displayName: "AssetGalleryGridCardstyled__AssetGalleryWrapper",
|
|
16
|
+
componentId: "sc-1le1w02-0"
|
|
17
|
+
})(["width:100%;height:100%;", ";"], props => props.disabled && css(["cursor:not-allowed;"]));
|
|
16
18
|
const ringState = props => {
|
|
17
19
|
if (props.selected) return props.$customSelectedBorder ? 'custom' : 'selected';
|
|
18
20
|
if (props.$softSelected) return 'soft';
|
|
@@ -30,369 +32,138 @@ const AssetGalleryGridCard = styled.div.attrs(props => ({
|
|
|
30
32
|
'--ring-light': props.$customSelectedBorder[1]
|
|
31
33
|
} : {})
|
|
32
34
|
}
|
|
33
|
-
}))
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
margin: 0;
|
|
38
|
-
box-sizing: border-box;
|
|
39
|
-
text-decoration: none;
|
|
40
|
-
cursor: pointer;
|
|
41
|
-
transition: box-shadow 220ms;
|
|
42
|
-
overflow: hidden;
|
|
43
|
-
${props => props.theme.themeProp('color', props.theme.getColor('gray-300'), props.theme.getColor('gray-700'))}
|
|
44
|
-
|
|
45
|
-
${props => props.disabled && css`
|
|
46
|
-
pointer-events: none;
|
|
47
|
-
opacity: 0.4;
|
|
48
|
-
`};
|
|
49
|
-
|
|
50
|
-
${props => props.extendedSelectMode && css`
|
|
51
|
-
cursor: pointer;
|
|
52
|
-
`}
|
|
53
|
-
|
|
54
|
-
&:hover {
|
|
55
|
-
box-shadow: 0px 3px 6px #00000029;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&::after {
|
|
59
|
-
content: '';
|
|
60
|
-
position: absolute;
|
|
61
|
-
inset: 0;
|
|
62
|
-
pointer-events: none;
|
|
63
|
-
box-sizing: border-box;
|
|
64
|
-
z-index: 10;
|
|
65
|
-
border-style: solid;
|
|
66
|
-
border-width: 1px;
|
|
67
|
-
}
|
|
68
|
-
&[data-ring='soft']::after,
|
|
69
|
-
&[data-ring='selected']::after,
|
|
70
|
-
&[data-ring='custom']::after,
|
|
71
|
-
&[data-ring='completed']::after,
|
|
72
|
-
&[data-ring='error']::after {
|
|
73
|
-
border-width: 3px;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
${props => {
|
|
35
|
+
})).withConfig({
|
|
36
|
+
displayName: "AssetGalleryGridCardstyled__AssetGalleryGridCard",
|
|
37
|
+
componentId: "sc-1le1w02-1"
|
|
38
|
+
})(["display:block;position:relative;height:100%;margin:0;box-sizing:border-box;text-decoration:none;cursor:pointer;transition:box-shadow 220ms;overflow:hidden;", " ", ";", " &:hover{box-shadow:0px 3px 6px #00000029;}&::after{content:'';position:absolute;inset:0;pointer-events:none;box-sizing:border-box;z-index:10;border-style:solid;border-width:1px;}&[data-ring='soft']::after,&[data-ring='selected']::after,&[data-ring='custom']::after,&[data-ring='completed']::after,&[data-ring='error']::after{border-width:3px;}", ";"], props => props.theme.themeProp('color', props.theme.getColor('gray-300'), props.theme.getColor('gray-700')), props => props.disabled && css(["pointer-events:none;opacity:0.4;"]), props => props.extendedSelectMode && css(["cursor:pointer;"]), props => {
|
|
77
39
|
const gray100 = props.theme.getColor('gray-100');
|
|
78
40
|
const gray300 = props.theme.getColor('gray-300');
|
|
79
41
|
const gray700 = props.theme.getColor('gray-700');
|
|
80
42
|
const emerald = props.theme.getColor('emerald-500');
|
|
81
43
|
const red500 = props.theme.getColor('red-500');
|
|
82
44
|
const red600 = props.theme.getColor('red-600');
|
|
83
|
-
return css
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
display: flex;
|
|
206
|
-
width: 100%;
|
|
207
|
-
`;
|
|
208
|
-
const ThumbnailSpacer = styled.div`
|
|
209
|
-
flex: 1;
|
|
210
|
-
`;
|
|
211
|
-
const ThumbnailWrapper = styled.div`
|
|
212
|
-
width: max(66%, 268px);
|
|
213
|
-
flex-shrink: 0;
|
|
214
|
-
`;
|
|
215
|
-
const ThumbnailBox = styled.div.attrs(applyDefaultTheme)`
|
|
216
|
-
position: relative;
|
|
217
|
-
height: 168px;
|
|
218
|
-
|
|
219
|
-
flex-shrink: 0;
|
|
220
|
-
overflow: hidden;
|
|
221
|
-
|
|
222
|
-
img,
|
|
223
|
-
video {
|
|
224
|
-
width: 100%;
|
|
225
|
-
height: 100%;
|
|
226
|
-
object-fit: contain;
|
|
227
|
-
display: block;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.audio {
|
|
231
|
-
width: 100%;
|
|
232
|
-
height: 100%;
|
|
233
|
-
display: flex;
|
|
234
|
-
align-items: center;
|
|
235
|
-
justify-content: center;
|
|
236
|
-
svg {
|
|
237
|
-
width: 35%;
|
|
238
|
-
${props => props.theme.themeProp('color', props.theme.getColor('gray-400'), props.theme.getColor('gray-400'))}
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
`;
|
|
242
|
-
const ThumbnailSelectedOverlay = styled.div.attrs(applyDefaultTheme)`
|
|
243
|
-
position: absolute;
|
|
244
|
-
inset: 0;
|
|
245
|
-
pointer-events: none;
|
|
246
|
-
opacity: ${props => props.selected ? 0.6 : 0};
|
|
247
|
-
background-color: #accef7;
|
|
248
|
-
transition: opacity 220ms;
|
|
249
|
-
z-index: 1;
|
|
250
|
-
`;
|
|
251
|
-
const ThumbnailActions = styled.div`
|
|
252
|
-
flex: 1;
|
|
253
|
-
`;
|
|
254
|
-
const ActionsContainer = styled.div.attrs(applyDefaultTheme)`
|
|
255
|
-
display: flex;
|
|
256
|
-
align-items: end;
|
|
257
|
-
flex-direction: column;
|
|
258
|
-
gap: 8px;
|
|
259
|
-
opacity: 0;
|
|
260
|
-
transition: opacity 220ms;
|
|
261
|
-
z-index: 1;
|
|
262
|
-
position: absolute;
|
|
263
|
-
right: 8px;
|
|
264
|
-
${AssetGalleryGridCard}:hover & {
|
|
265
|
-
opacity: 1;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
${AssetGalleryGridCard}:focus-within & {
|
|
269
|
-
opacity: 1;
|
|
270
|
-
}
|
|
271
|
-
`;
|
|
272
|
-
const Action = styled.div`
|
|
273
|
-
margin: 0;
|
|
274
|
-
|
|
275
|
-
button {
|
|
276
|
-
box-shadow: 0px 3px 6px #00000033;
|
|
277
|
-
}
|
|
278
|
-
svg {
|
|
279
|
-
width: 16px;
|
|
280
|
-
height: 16px;
|
|
281
|
-
max-height: unset;
|
|
282
|
-
max-width: unset;
|
|
283
|
-
}
|
|
284
|
-
`;
|
|
285
|
-
const ConsumerOverlay = styled.div`
|
|
286
|
-
position: absolute;
|
|
287
|
-
inset: 0;
|
|
288
|
-
pointer-events: none;
|
|
289
|
-
z-index: 1;
|
|
290
|
-
`;
|
|
291
|
-
const CardBody = styled.div.attrs(applyDefaultTheme)`
|
|
292
|
-
display: flex;
|
|
293
|
-
flex-direction: column;
|
|
294
|
-
flex: 1;
|
|
295
|
-
padding: 16px 0px 0px 0px;
|
|
296
|
-
`;
|
|
297
|
-
const CardTitle = styled.span.attrs(applyDefaultTheme)`
|
|
298
|
-
display: -webkit-box;
|
|
299
|
-
-webkit-line-clamp: 1;
|
|
300
|
-
-webkit-box-orient: vertical;
|
|
301
|
-
overflow: hidden;
|
|
302
|
-
text-overflow: ellipsis;
|
|
303
|
-
padding: 0px 16px;
|
|
304
|
-
font: normal normal 500 14px/19px Roboto;
|
|
305
|
-
letter-spacing: 0.28px;
|
|
306
|
-
height: 19px;
|
|
307
|
-
box-sizing: border-box;
|
|
308
|
-
|
|
309
|
-
${props => props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('gray-700'))}
|
|
310
|
-
`;
|
|
311
|
-
const CardDescription = styled.span.attrs(applyDefaultTheme)`
|
|
312
|
-
display: -webkit-box;
|
|
313
|
-
-webkit-line-clamp: 3;
|
|
314
|
-
-webkit-box-orient: vertical;
|
|
315
|
-
overflow: hidden;
|
|
316
|
-
text-overflow: ellipsis;
|
|
317
|
-
padding: 6px 16px;
|
|
318
|
-
font: normal normal normal 12px/1.286em Roboto;
|
|
319
|
-
letter-spacing: 0.24px;
|
|
320
|
-
height: 52px;
|
|
321
|
-
box-sizing: border-box;
|
|
322
|
-
overflow-wrap: break-word;
|
|
323
|
-
word-break: break-word;
|
|
324
|
-
|
|
325
|
-
${props => props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('gray-700'))}
|
|
326
|
-
`;
|
|
327
|
-
const InstructionsWrapper = styled.div.attrs(applyDefaultTheme)`
|
|
328
|
-
min-height: 96px;
|
|
329
|
-
margin-top: 16px;
|
|
330
|
-
box-sizing: border-box;
|
|
331
|
-
flex-shrink: 0;
|
|
332
|
-
transition: background 220ms;
|
|
333
|
-
opacity: 0;
|
|
334
|
-
${props => props.$hasContent && css`
|
|
335
|
-
opacity: 1;
|
|
336
|
-
border-top: 0.56px solid;
|
|
337
|
-
border-bottom: 0.56px solid;
|
|
338
|
-
${props.theme.themeProp('border-color', darkBorderColor, props.theme.getColor('gray-300'))}
|
|
339
|
-
`}
|
|
340
|
-
|
|
341
|
-
${props => props.$hasContent && css`
|
|
342
|
-
opacity: 1;
|
|
343
|
-
${props.theme.themeProp('background', darkBgColor, props.theme.getColor('gray-50'))}
|
|
344
|
-
${AssetGalleryGridCard}:hover & {
|
|
345
|
-
${props.theme.themeProp('background', darkHoverBgColor, lightHoverBgColor, 1)}
|
|
346
|
-
}
|
|
347
|
-
`}
|
|
348
|
-
`;
|
|
349
|
-
const CardFooter = styled.div.attrs(applyDefaultTheme)`
|
|
350
|
-
display: flex;
|
|
351
|
-
align-items: center;
|
|
352
|
-
justify-content: space-between;
|
|
353
|
-
padding: 0px 16px;
|
|
354
|
-
min-height: 52px;
|
|
355
|
-
box-sizing: border-box;
|
|
356
|
-
`;
|
|
357
|
-
const CardFooterLeft = styled.div`
|
|
358
|
-
display: flex;
|
|
359
|
-
align-items: center;
|
|
360
|
-
> * {
|
|
361
|
-
margin-right: 4px;
|
|
362
|
-
}
|
|
363
|
-
`;
|
|
364
|
-
const CardFooterRight = styled.div`
|
|
365
|
-
display: flex;
|
|
366
|
-
align-items: center;
|
|
367
|
-
> * {
|
|
368
|
-
margin-left: 4px;
|
|
369
|
-
}
|
|
370
|
-
`;
|
|
371
|
-
const CardDivider = styled.div.attrs(applyDefaultTheme)`
|
|
372
|
-
height: 1px;
|
|
373
|
-
flex-shrink: 0;
|
|
374
|
-
opacity: ${props => props.invisible ? 0 : 1};
|
|
375
|
-
${props => props.theme.themeProp('background', darkBorderColor, props.theme.getColor('gray-300'))}
|
|
376
|
-
`;
|
|
377
|
-
const CheckboxRow = styled.div`
|
|
378
|
-
display: flex;
|
|
379
|
-
padding: 0px 16px;
|
|
380
|
-
align-items: center;
|
|
381
|
-
height: 56px;
|
|
382
|
-
box-sizing: border-box;
|
|
383
|
-
flex-shrink: 0;
|
|
384
|
-
`;
|
|
385
|
-
styled.div.attrs(applyDefaultTheme)`
|
|
386
|
-
opacity: 1;
|
|
387
|
-
flex-shrink: 0;
|
|
388
|
-
cursor: pointer;
|
|
389
|
-
transition: opacity 220ms;
|
|
390
|
-
${props => props.theme.themeProp('color', 'white', 'black')}
|
|
391
|
-
> svg {
|
|
392
|
-
width: 23px;
|
|
393
|
-
height: 100%;
|
|
394
|
-
}
|
|
395
|
-
`;
|
|
45
|
+
return css(["&[data-ring='idle']::after{border-color:", ";}&[data-ring='soft']::after{border-color:", ";}&[data-ring='selected']::after{border-color:", ";}&[data-ring='custom']::after{border-color:var(--ring-light);}&[data-ring='completed']::after{border-color:", ";}&[data-ring='error']::after{border-color:", ";}@media (prefers-color-scheme:dark){&[data-ring='idle']::after{border-color:", ";}&[data-ring='soft']::after{border-color:", ";}&[data-ring='selected']::after{border-color:", ";}&[data-ring='custom']::after{border-color:var(--ring-dark);}&[data-ring='completed']::after{border-color:", ";}&[data-ring='error']::after{border-color:", ";}}body.light-theme &[data-ring='idle']::after{border-color:", ";}body.light-theme &[data-ring='soft']::after{border-color:", ";}body.light-theme &[data-ring='selected']::after{border-color:", ";}body.light-theme &[data-ring='custom']::after{border-color:var(--ring-light);}body.light-theme &[data-ring='completed']::after{border-color:", ";}body.light-theme &[data-ring='error']::after{border-color:", ";}body.dark-theme &[data-ring='idle']::after{border-color:", ";}body.dark-theme &[data-ring='soft']::after{border-color:", ";}body.dark-theme &[data-ring='selected']::after{border-color:", ";}body.dark-theme &[data-ring='custom']::after{border-color:var(--ring-dark);}body.dark-theme &[data-ring='completed']::after{border-color:", ";}body.dark-theme &[data-ring='error']::after{border-color:", ";}"], gray300, rgba(gray700, 0.5), darkBorderColor, rgba(emerald, 0.7), rgba(red500, 0.7), darkBorderColor, rgba(gray100, 0.5), gray100, emerald, red600, gray300, rgba(gray700, 0.5), darkBorderColor, rgba(emerald, 0.7), rgba(red500, 0.7), darkBorderColor, rgba(gray100, 0.5), gray100, emerald, red600);
|
|
46
|
+
});
|
|
47
|
+
const ThumbnailSection = styled.div.withConfig({
|
|
48
|
+
shouldForwardProp
|
|
49
|
+
}).attrs(applyDefaultTheme).withConfig({
|
|
50
|
+
displayName: "AssetGalleryGridCardstyled__ThumbnailSection",
|
|
51
|
+
componentId: "sc-1le1w02-2"
|
|
52
|
+
})(["position:relative;overflow:hidden;transition:background 220ms;", " ", ":hover &{", "}"], props => props.theme.themeProp('background', darkBgColor, props.theme.getColor('gray-50')), AssetGalleryGridCard, props => props.theme.themeProp('background', darkHoverBgColor, lightHoverBgColor, 1));
|
|
53
|
+
const HorizontalBar = styled.div.withConfig({
|
|
54
|
+
displayName: "AssetGalleryGridCardstyled__HorizontalBar",
|
|
55
|
+
componentId: "sc-1le1w02-3"
|
|
56
|
+
})(["display:flex;align-items:center;justify-content:space-between;padding:8px;height:40px;box-sizing:border-box;flex-shrink:0;position:relative;z-index:2;"]);
|
|
57
|
+
const HorizontalBarLeft = styled.div.withConfig({
|
|
58
|
+
displayName: "AssetGalleryGridCardstyled__HorizontalBarLeft",
|
|
59
|
+
componentId: "sc-1le1w02-4"
|
|
60
|
+
})(["display:flex;align-items:center;"]);
|
|
61
|
+
const HorizontalBarRight = styled.div.withConfig({
|
|
62
|
+
displayName: "AssetGalleryGridCardstyled__HorizontalBarRight",
|
|
63
|
+
componentId: "sc-1le1w02-5"
|
|
64
|
+
})(["display:flex;align-items:center;"]);
|
|
65
|
+
const StatusIconCircle = styled.span.withConfig({
|
|
66
|
+
shouldForwardProp
|
|
67
|
+
}).attrs(applyDefaultTheme).withConfig({
|
|
68
|
+
displayName: "AssetGalleryGridCardstyled__StatusIconCircle",
|
|
69
|
+
componentId: "sc-1le1w02-6"
|
|
70
|
+
})(["display:inline-flex;justify-content:center;align-items:center;width:28px;height:28px;border-radius:50%;pointer-events:none;svg{width:100%;height:100%;}"]);
|
|
71
|
+
const ThumbnailRow = styled.div.withConfig({
|
|
72
|
+
displayName: "AssetGalleryGridCardstyled__ThumbnailRow",
|
|
73
|
+
componentId: "sc-1le1w02-7"
|
|
74
|
+
})(["position:relative;display:flex;width:100%;"]);
|
|
75
|
+
const ThumbnailSpacer = styled.div.withConfig({
|
|
76
|
+
displayName: "AssetGalleryGridCardstyled__ThumbnailSpacer",
|
|
77
|
+
componentId: "sc-1le1w02-8"
|
|
78
|
+
})(["flex:1;"]);
|
|
79
|
+
const ThumbnailWrapper = styled.div.withConfig({
|
|
80
|
+
displayName: "AssetGalleryGridCardstyled__ThumbnailWrapper",
|
|
81
|
+
componentId: "sc-1le1w02-9"
|
|
82
|
+
})(["width:max(66%,268px);flex-shrink:0;"]);
|
|
83
|
+
const ThumbnailBox = styled.div.withConfig({
|
|
84
|
+
shouldForwardProp
|
|
85
|
+
}).attrs(applyDefaultTheme).withConfig({
|
|
86
|
+
displayName: "AssetGalleryGridCardstyled__ThumbnailBox",
|
|
87
|
+
componentId: "sc-1le1w02-10"
|
|
88
|
+
})(["position:relative;height:168px;flex-shrink:0;overflow:hidden;img,video{width:100%;height:100%;object-fit:contain;display:block;}.audio{width:100%;height:100%;display:flex;align-items:center;justify-content:center;svg{width:35%;", "}}"], props => props.theme.themeProp('color', props.theme.getColor('gray-400'), props.theme.getColor('gray-400')));
|
|
89
|
+
const ThumbnailSelectedOverlay = styled.div.withConfig({
|
|
90
|
+
shouldForwardProp
|
|
91
|
+
}).attrs(applyDefaultTheme).withConfig({
|
|
92
|
+
displayName: "AssetGalleryGridCardstyled__ThumbnailSelectedOverlay",
|
|
93
|
+
componentId: "sc-1le1w02-11"
|
|
94
|
+
})(["position:absolute;inset:0;pointer-events:none;opacity:", ";background-color:#accef7;transition:opacity 220ms;z-index:1;"], props => props.selected ? 0.6 : 0);
|
|
95
|
+
const ThumbnailActions = styled.div.withConfig({
|
|
96
|
+
displayName: "AssetGalleryGridCardstyled__ThumbnailActions",
|
|
97
|
+
componentId: "sc-1le1w02-12"
|
|
98
|
+
})(["flex:1;"]);
|
|
99
|
+
const ActionsContainer = styled.div.withConfig({
|
|
100
|
+
shouldForwardProp
|
|
101
|
+
}).attrs(applyDefaultTheme).withConfig({
|
|
102
|
+
displayName: "AssetGalleryGridCardstyled__ActionsContainer",
|
|
103
|
+
componentId: "sc-1le1w02-13"
|
|
104
|
+
})(["display:flex;align-items:end;flex-direction:column;gap:8px;opacity:0;transition:opacity 220ms;z-index:1;position:absolute;right:8px;", ":hover &{opacity:1;}", ":focus-within &{opacity:1;}"], AssetGalleryGridCard, AssetGalleryGridCard);
|
|
105
|
+
const Action = styled.div.withConfig({
|
|
106
|
+
displayName: "AssetGalleryGridCardstyled__Action",
|
|
107
|
+
componentId: "sc-1le1w02-14"
|
|
108
|
+
})(["margin:0;button{box-shadow:0px 3px 6px #00000033;}svg{width:16px;height:16px;max-height:unset;max-width:unset;}"]);
|
|
109
|
+
const ConsumerOverlay = styled.div.withConfig({
|
|
110
|
+
displayName: "AssetGalleryGridCardstyled__ConsumerOverlay",
|
|
111
|
+
componentId: "sc-1le1w02-15"
|
|
112
|
+
})(["position:absolute;inset:0;pointer-events:none;z-index:1;"]);
|
|
113
|
+
const CardBody = styled.div.withConfig({
|
|
114
|
+
shouldForwardProp
|
|
115
|
+
}).attrs(applyDefaultTheme).withConfig({
|
|
116
|
+
displayName: "AssetGalleryGridCardstyled__CardBody",
|
|
117
|
+
componentId: "sc-1le1w02-16"
|
|
118
|
+
})(["display:flex;flex-direction:column;flex:1;padding:16px 0px 0px 0px;"]);
|
|
119
|
+
const CardTitle = styled.span.withConfig({
|
|
120
|
+
shouldForwardProp
|
|
121
|
+
}).attrs(applyDefaultTheme).withConfig({
|
|
122
|
+
displayName: "AssetGalleryGridCardstyled__CardTitle",
|
|
123
|
+
componentId: "sc-1le1w02-17"
|
|
124
|
+
})(["display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;padding:0px 16px;font:normal normal 500 14px/19px Roboto;letter-spacing:0.28px;height:19px;box-sizing:border-box;", ""], props => props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('gray-700')));
|
|
125
|
+
const CardDescription = styled.span.withConfig({
|
|
126
|
+
shouldForwardProp
|
|
127
|
+
}).attrs(applyDefaultTheme).withConfig({
|
|
128
|
+
displayName: "AssetGalleryGridCardstyled__CardDescription",
|
|
129
|
+
componentId: "sc-1le1w02-18"
|
|
130
|
+
})(["display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;padding:6px 16px;font:normal normal normal 12px/1.286em Roboto;letter-spacing:0.24px;height:52px;box-sizing:border-box;overflow-wrap:break-word;word-break:break-word;", ""], props => props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('gray-700')));
|
|
131
|
+
const InstructionsWrapper = styled.div.withConfig({
|
|
132
|
+
shouldForwardProp
|
|
133
|
+
}).attrs(applyDefaultTheme).withConfig({
|
|
134
|
+
displayName: "AssetGalleryGridCardstyled__InstructionsWrapper",
|
|
135
|
+
componentId: "sc-1le1w02-19"
|
|
136
|
+
})(["min-height:96px;margin-top:16px;box-sizing:border-box;flex-shrink:0;transition:background 220ms;opacity:0;", " ", ""], props => props.$hasContent && css(["opacity:1;border-top:0.56px solid;border-bottom:0.56px solid;", ""], props.theme.themeProp('border-color', darkBorderColor, props.theme.getColor('gray-300'))), props => props.$hasContent && css(["opacity:1;", " ", ":hover &{", "}"], props.theme.themeProp('background', darkBgColor, props.theme.getColor('gray-50')), AssetGalleryGridCard, props.theme.themeProp('background', darkHoverBgColor, lightHoverBgColor, 1)));
|
|
137
|
+
const CardFooter = styled.div.withConfig({
|
|
138
|
+
shouldForwardProp
|
|
139
|
+
}).attrs(applyDefaultTheme).withConfig({
|
|
140
|
+
displayName: "AssetGalleryGridCardstyled__CardFooter",
|
|
141
|
+
componentId: "sc-1le1w02-20"
|
|
142
|
+
})(["display:flex;align-items:center;justify-content:space-between;padding:0px 16px;min-height:52px;box-sizing:border-box;"]);
|
|
143
|
+
const CardFooterLeft = styled.div.withConfig({
|
|
144
|
+
displayName: "AssetGalleryGridCardstyled__CardFooterLeft",
|
|
145
|
+
componentId: "sc-1le1w02-21"
|
|
146
|
+
})(["display:flex;align-items:center;> *{margin-right:4px;}"]);
|
|
147
|
+
const CardFooterRight = styled.div.withConfig({
|
|
148
|
+
displayName: "AssetGalleryGridCardstyled__CardFooterRight",
|
|
149
|
+
componentId: "sc-1le1w02-22"
|
|
150
|
+
})(["display:flex;align-items:center;> *{margin-left:4px;}"]);
|
|
151
|
+
const CardDivider = styled.div.withConfig({
|
|
152
|
+
shouldForwardProp
|
|
153
|
+
}).attrs(applyDefaultTheme).withConfig({
|
|
154
|
+
displayName: "AssetGalleryGridCardstyled__CardDivider",
|
|
155
|
+
componentId: "sc-1le1w02-23"
|
|
156
|
+
})(["height:1px;flex-shrink:0;opacity:", ";", ""], props => props.invisible ? 0 : 1, props => props.theme.themeProp('background', darkBorderColor, props.theme.getColor('gray-300')));
|
|
157
|
+
const CheckboxRow = styled.div.withConfig({
|
|
158
|
+
displayName: "AssetGalleryGridCardstyled__CheckboxRow",
|
|
159
|
+
componentId: "sc-1le1w02-24"
|
|
160
|
+
})(["display:flex;padding:0px 16px;align-items:center;height:56px;box-sizing:border-box;flex-shrink:0;"]);
|
|
161
|
+
styled.div.withConfig({
|
|
162
|
+
shouldForwardProp
|
|
163
|
+
}).attrs(applyDefaultTheme).withConfig({
|
|
164
|
+
displayName: "AssetGalleryGridCardstyled__CheckboxButton",
|
|
165
|
+
componentId: "sc-1le1w02-25"
|
|
166
|
+
})(["opacity:1;flex-shrink:0;cursor:pointer;transition:opacity 220ms;", " > svg{width:23px;height:100%;}"], props => props.theme.themeProp('color', 'white', 'black'));
|
|
396
167
|
|
|
397
168
|
export { Action, ActionsContainer, AssetGalleryGridCard, AssetGalleryWrapper, CardBody, CardDescription, CardDivider, CardFooter, CardFooterLeft, CardFooterRight, CardTitle, CheckboxRow, ConsumerOverlay, HorizontalBar, HorizontalBarLeft, HorizontalBarRight, InstructionsWrapper, StatusIconCircle, ThumbnailActions, ThumbnailBox, ThumbnailRow, ThumbnailSection, ThumbnailSelectedOverlay, ThumbnailSpacer, ThumbnailWrapper };
|
|
398
169
|
//# sourceMappingURL=AssetGalleryGridCard.styled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssetGalleryGridCard.styled.js","sources":["../../../../../src/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js"],"sourcesContent":["import { rgba } from 'polished';\nimport styled, { css } from 'styled-components';\nimport { applyDefaultTheme } from '../../../../../utils/defaultTheme';\n\nconst darkBorderColor = '#52525B';\nconst darkBgColor = '#27272A';\nconst darkHoverBgColor = '#3F3F46';\nconst lightHoverBgColor = '#E4E4E7';\n\nexport const AssetGalleryWrapper = styled.div.attrs(applyDefaultTheme)`\n width: 100%;\n height: 100%;\n ${props =>\n props.disabled &&\n css`\n cursor: not-allowed;\n `};\n`;\n\nconst ringState = props => {\n if (props.selected) return props.$customSelectedBorder ? 'custom' : 'selected';\n if (props.$softSelected) return 'soft';\n if (props.completed) return 'completed';\n if (props.$hasError) return 'error';\n return 'idle';\n};\n\nexport const AssetGalleryGridCard = styled.div.attrs(props => ({\n ...applyDefaultTheme(props),\n 'data-ring': ringState(props),\n style: {\n ...(props.style || {}),\n ...(props.$customSelectedBorder && props.selected\n ? {\n '--ring-dark': props.$customSelectedBorder[0],\n '--ring-light': props.$customSelectedBorder[1]\n }\n : {})\n }\n}))`\n display: block;\n position: relative;\n height: 100%;\n margin: 0;\n box-sizing: border-box;\n text-decoration: none;\n cursor: pointer;\n transition: box-shadow 220ms;\n overflow: hidden;\n ${props =>\n props.theme.themeProp(\n 'color',\n props.theme.getColor('gray-300'),\n props.theme.getColor('gray-700')\n )}\n\n ${props =>\n props.disabled &&\n css`\n pointer-events: none;\n opacity: 0.4;\n `};\n\n ${props =>\n props.extendedSelectMode &&\n css`\n cursor: pointer;\n `}\n\n &:hover {\n box-shadow: 0px 3px 6px #00000029;\n }\n\n &::after {\n content: '';\n position: absolute;\n inset: 0;\n pointer-events: none;\n box-sizing: border-box;\n z-index: 10;\n border-style: solid;\n border-width: 1px;\n }\n &[data-ring='soft']::after,\n &[data-ring='selected']::after,\n &[data-ring='custom']::after,\n &[data-ring='completed']::after,\n &[data-ring='error']::after {\n border-width: 3px;\n }\n\n ${props => {\n const gray100 = props.theme.getColor('gray-100');\n const gray300 = props.theme.getColor('gray-300');\n const gray700 = props.theme.getColor('gray-700');\n const emerald = props.theme.getColor('emerald-500');\n const red500 = props.theme.getColor('red-500');\n const red600 = props.theme.getColor('red-600');\n return css`\n &[data-ring='idle']::after {\n border-color: ${gray300};\n }\n &[data-ring='soft']::after {\n border-color: ${rgba(gray700, 0.5)};\n }\n &[data-ring='selected']::after {\n border-color: ${darkBorderColor};\n }\n &[data-ring='custom']::after {\n border-color: var(--ring-light);\n }\n &[data-ring='completed']::after {\n border-color: ${rgba(emerald, 0.7)};\n }\n &[data-ring='error']::after {\n border-color: ${rgba(red500, 0.7)};\n }\n\n @media (prefers-color-scheme: dark) {\n &[data-ring='idle']::after {\n border-color: ${darkBorderColor};\n }\n &[data-ring='soft']::after {\n border-color: ${rgba(gray100, 0.5)};\n }\n &[data-ring='selected']::after {\n border-color: ${gray100};\n }\n &[data-ring='custom']::after {\n border-color: var(--ring-dark);\n }\n &[data-ring='completed']::after {\n border-color: ${emerald};\n }\n &[data-ring='error']::after {\n border-color: ${red600};\n }\n }\n body.light-theme &[data-ring='idle']::after {\n border-color: ${gray300};\n }\n body.light-theme &[data-ring='soft']::after {\n border-color: ${rgba(gray700, 0.5)};\n }\n body.light-theme &[data-ring='selected']::after {\n border-color: ${darkBorderColor};\n }\n body.light-theme &[data-ring='custom']::after {\n border-color: var(--ring-light);\n }\n body.light-theme &[data-ring='completed']::after {\n border-color: ${rgba(emerald, 0.7)};\n }\n body.light-theme &[data-ring='error']::after {\n border-color: ${rgba(red500, 0.7)};\n }\n body.dark-theme &[data-ring='idle']::after {\n border-color: ${darkBorderColor};\n }\n body.dark-theme &[data-ring='soft']::after {\n border-color: ${rgba(gray100, 0.5)};\n }\n body.dark-theme &[data-ring='selected']::after {\n border-color: ${gray100};\n }\n body.dark-theme &[data-ring='custom']::after {\n border-color: var(--ring-dark);\n }\n body.dark-theme &[data-ring='completed']::after {\n border-color: ${emerald};\n }\n body.dark-theme &[data-ring='error']::after {\n border-color: ${red600};\n }\n `;\n }};\n`;\n\nexport const ThumbnailSection = styled.div.attrs(applyDefaultTheme)`\n position: relative;\n overflow: hidden;\n transition: background 220ms;\n ${props => props.theme.themeProp('background', darkBgColor, props.theme.getColor('gray-50'))}\n ${AssetGalleryGridCard}:hover & {\n ${props => props.theme.themeProp('background', darkHoverBgColor, lightHoverBgColor, 1)}\n }\n`;\n\n// ── Top bar ──────────────────────────────────────────────────────────────────\n\nexport const HorizontalBar = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n height: 40px;\n box-sizing: border-box;\n flex-shrink: 0;\n position: relative;\n z-index: 2;\n`;\n\nexport const HorizontalBarLeft = styled.div`\n display: flex;\n align-items: center;\n`;\n\nexport const HorizontalBarRight = styled.div`\n display: flex;\n align-items: center;\n`;\n\nexport const StatusIconCircle = styled.span.attrs(applyDefaultTheme)`\n display: inline-flex;\n justify-content: center;\n align-items: center;\n width: 28px;\n height: 28px;\n border-radius: 50%;\n pointer-events: none;\n svg {\n width: 100%;\n height: 100%;\n }\n`;\n\n// ── Thumbnail ─────────────────────────────────────────────────────────────────\n\nexport const ThumbnailRow = styled.div`\n position: relative;\n display: flex;\n width: 100%;\n`;\n\nexport const ThumbnailSpacer = styled.div`\n flex: 1;\n`;\n\nexport const ThumbnailWrapper = styled.div`\n width: max(66%, 268px);\n flex-shrink: 0;\n`;\n\nexport const ThumbnailBox = styled.div.attrs(applyDefaultTheme)`\n position: relative;\n height: 168px;\n\n flex-shrink: 0;\n overflow: hidden;\n\n img,\n video {\n width: 100%;\n height: 100%;\n object-fit: contain;\n display: block;\n }\n\n .audio {\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n svg {\n width: 35%;\n ${props =>\n props.theme.themeProp(\n 'color',\n props.theme.getColor('gray-400'),\n props.theme.getColor('gray-400')\n )}\n }\n }\n`;\n\nexport const ThumbnailSelectedOverlay = styled.div.attrs(applyDefaultTheme)`\n position: absolute;\n inset: 0;\n pointer-events: none;\n opacity: ${props => (props.selected ? 0.6 : 0)};\n background-color: #accef7;\n transition: opacity 220ms;\n z-index: 1;\n`;\n\nexport const ThumbnailActions = styled.div`\n flex: 1;\n`;\n\nexport const ActionsContainer = styled.div.attrs(applyDefaultTheme)`\n display: flex;\n align-items: end;\n flex-direction: column;\n gap: 8px;\n opacity: 0;\n transition: opacity 220ms;\n z-index: 1;\n position: absolute;\n right: 8px;\n ${AssetGalleryGridCard}:hover & {\n opacity: 1;\n }\n\n ${AssetGalleryGridCard}:focus-within & {\n opacity: 1;\n }\n`;\n\nexport const Action = styled.div`\n margin: 0;\n\n button {\n box-shadow: 0px 3px 6px #00000033;\n }\n svg {\n width: 16px;\n height: 16px;\n max-height: unset;\n max-width: unset;\n }\n`;\n\nexport const ConsumerOverlay = styled.div`\n position: absolute;\n inset: 0;\n pointer-events: none;\n z-index: 1;\n`;\n\n// ── Card body ─────────────────────────────────────────────────────────────────\n\nexport const CardBody = styled.div.attrs(applyDefaultTheme)`\n display: flex;\n flex-direction: column;\n flex: 1;\n padding: 16px 0px 0px 0px;\n`;\n\nexport const CardTitle = styled.span.attrs(applyDefaultTheme)`\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n padding: 0px 16px;\n font: normal normal 500 14px/19px Roboto;\n letter-spacing: 0.28px;\n height: 19px;\n box-sizing: border-box;\n\n ${props =>\n props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('gray-700'))}\n`;\n\nexport const CardDescription = styled.span.attrs(applyDefaultTheme)`\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n padding: 6px 16px;\n font: normal normal normal 12px/1.286em Roboto;\n letter-spacing: 0.24px;\n height: 52px;\n box-sizing: border-box;\n overflow-wrap: break-word;\n word-break: break-word;\n\n ${props =>\n props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('gray-700'))}\n`;\n\nexport const InstructionsWrapper = styled.div.attrs(applyDefaultTheme)`\n min-height: 96px;\n margin-top: 16px;\n box-sizing: border-box;\n flex-shrink: 0;\n transition: background 220ms;\n opacity: 0;\n ${props =>\n props.$hasContent &&\n css`\n opacity: 1;\n border-top: 0.56px solid;\n border-bottom: 0.56px solid;\n ${props.theme.themeProp('border-color', darkBorderColor, props.theme.getColor('gray-300'))}\n `}\n\n ${props =>\n props.$hasContent &&\n css`\n opacity: 1;\n ${props.theme.themeProp('background', darkBgColor, props.theme.getColor('gray-50'))}\n ${AssetGalleryGridCard}:hover & {\n ${props.theme.themeProp('background', darkHoverBgColor, lightHoverBgColor, 1)}\n }\n `}\n`;\n\nexport const CardFooter = styled.div.attrs(applyDefaultTheme)`\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 0px 16px;\n min-height: 52px;\n box-sizing: border-box;\n`;\n\nexport const CardFooterLeft = styled.div`\n display: flex;\n align-items: center;\n > * {\n margin-right: 4px;\n }\n`;\n\nexport const CardFooterRight = styled.div`\n display: flex;\n align-items: center;\n > * {\n margin-left: 4px;\n }\n`;\n\nexport const CardDivider = styled.div.attrs(applyDefaultTheme)`\n height: 1px;\n flex-shrink: 0;\n opacity: ${props => (props.invisible ? 0 : 1)};\n ${props => props.theme.themeProp('background', darkBorderColor, props.theme.getColor('gray-300'))}\n`;\n\nexport const CheckboxRow = styled.div`\n display: flex;\n padding: 0px 16px;\n align-items: center;\n height: 56px;\n box-sizing: border-box;\n flex-shrink: 0;\n`;\n\nexport const CheckboxButton = styled.div.attrs(applyDefaultTheme)`\n opacity: 1;\n flex-shrink: 0;\n cursor: pointer;\n transition: opacity 220ms;\n ${props => props.theme.themeProp('color', 'white', 'black')}\n > svg {\n width: 23px;\n height: 100%;\n }\n`;\n"],"names":["darkBorderColor","darkBgColor","darkHoverBgColor","lightHoverBgColor","AssetGalleryWrapper","styled","div","attrs","applyDefaultTheme","props","disabled","css","ringState","selected","$customSelectedBorder","$softSelected","completed","$hasError","AssetGalleryGridCard","style","theme","themeProp","getColor","extendedSelectMode","gray100","gray300","gray700","emerald","red500","red600","rgba","ThumbnailSection","HorizontalBar","HorizontalBarLeft","HorizontalBarRight","StatusIconCircle","span","ThumbnailRow","ThumbnailSpacer","ThumbnailWrapper","ThumbnailBox","ThumbnailSelectedOverlay","ThumbnailActions","ActionsContainer","Action","ConsumerOverlay","CardBody","CardTitle","CardDescription","InstructionsWrapper","$hasContent","CardFooter","CardFooterLeft","CardFooterRight","CardDivider","invisible","CheckboxRow"],"mappings":";;;;AAIA,MAAMA,eAAe,GAAG,SAAS,CAAA;AACjC,MAAMC,WAAW,GAAG,SAAS,CAAA;AAC7B,MAAMC,gBAAgB,GAAG,SAAS,CAAA;AAClC,MAAMC,iBAAiB,GAAG,SAAS,CAAA;AAE5B,MAAMC,mBAAmB,GAAGC,MAAM,CAACC,GAAG,CAACC,KAAK,CAACC,iBAAiB,CAAC,CAAA;AACtE;AACA;AACA,EAAA,EAAIC,KAAK,IACLA,KAAK,CAACC,QAAQ,IACdC,GAAG,CAAA;AACP;AACA,IAAK,CAAA,CAAA;AACL,EAAC;AAED,MAAMC,SAAS,GAAGH,KAAK,IAAI;EACzB,IAAIA,KAAK,CAACI,QAAQ,EAAE,OAAOJ,KAAK,CAACK,qBAAqB,GAAG,QAAQ,GAAG,UAAU,CAAA;AAC9E,E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ACA,WAAaC,EAAAA,KAAK,IAAKA,KAAK,CAAC8C,SAAS,GAAG,CAAC,GAAG,CAAE,CAAA;AAC/C,EAAI9C,EAAAA,KAAK,IAAIA,KAAK,CAACW,KAAK,CAACC,SAAS,CAAC,YAAY,EAAErB,eAAe,EAAES,KAAK,CAACW,KAAK,CAACE,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAA;AACnG,EAAC;AAEYkC,MAAAA,WAAW,GAAGnD,MAAM,CAACC,GAAG,CAAA;AACrC;AACA;AACA;AACA;AACA;AACA;AACA,EAAC;AAE6BD,MAAM,CAACC,GAAG,CAACC,KAAK,CAACC,iBAAiB,CAAC,CAAA;AACjE;AACA;AACA;AACA;AACA,EAAA,EAAIC,KAAK,IAAIA,KAAK,CAACW,KAAK,CAACC,SAAS,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;AAC7D;AACA;AACA;AACA;AACA;;;;"}
|
|
1
|
+
{"version":3,"file":"AssetGalleryGridCard.styled.js","sources":["../../../../../src/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.ts"],"sourcesContent":["/* Generic must go on .attrs<P>(), not template, because no .withConfig(). ringState is a module-scope function needing explicit type. */\nimport { rgba } from 'polished';\nimport styled, { css } from 'styled-components';\nimport { applyDefaultTheme } from '../../../../../utils/defaultTheme';\n\n/* `prop` needs annotation because withConfig takes it by reference (no contextual typing). Note: GridCard doesn't use this predicate. */\nconst shouldForwardProp = (prop: string): boolean => {\n return prop !== 'theme' && !prop.startsWith('$');\n};\n\nconst darkBorderColor = '#52525B';\nconst darkBgColor = '#27272A';\nconst darkHoverBgColor = '#3F3F46';\nconst lightHoverBgColor = '#E4E4E7';\n\nexport const AssetGalleryWrapper = styled.div\n .withConfig({\n shouldForwardProp\n })\n .attrs<Pick<AssetGalleryGridCardStyleProps, 'disabled'>>(applyDefaultTheme)`\n width: 100%;\n height: 100%;\n ${props =>\n props.disabled &&\n css`\n cursor: not-allowed;\n `};\n`;\n\n/** Six possible `data-ring` attribute values. Closed to keep code and selectors honest. */\ntype AssetGalleryGridCardRingState = 'custom' | 'selected' | 'soft' | 'completed' | 'error' | 'idle';\n\n/** Props that ringState reads. Reason card root needs a generic at all. */\ninterface AssetGalleryGridCardRingProps {\n /** NO `$` is a defect but not a DOM leak: React drops boolean `selected` on non-`<option>` elements. Deferred to C10. */\n selected?: boolean;\n /** NO `$` is a defect but not a DOM leak: ComputedRootComponent explicitly omits it. Deferred to C10. */\n completed?: boolean;\n $softSelected?: boolean;\n $hasError?: boolean;\n /** Read as `[darkModeColor, lightModeColor]` and written to `--ring-dark` / `--ring-light` custom properties. */\n $customSelectedBorder?: string[];\n}\n\n/** Card root props: everything ringState reads, plus what the template reads. */\ninterface AssetGalleryGridCardStyleProps extends AssetGalleryGridCardRingProps {\n /** NO `$` reaches the DOM; defect deferred to C10. Baseline shows `disabled=\"\"` on wrapper and card root. */\n disabled?: boolean;\n /** NO `$` is a defect but not a DOM leak: ComputedRootComponent omits it and React drops unrecognised camelCase props. */\n extendedSelectMode?: boolean;\n}\n\nconst ringState = (props: AssetGalleryGridCardRingProps): AssetGalleryGridCardRingState => {\n if (props.selected) return props.$customSelectedBorder ? 'custom' : 'selected';\n if (props.$softSelected) return 'soft';\n if (props.completed) return 'completed';\n if (props.$hasError) return 'error';\n return 'idle';\n};\n\nexport const AssetGalleryGridCard = styled.div.attrs<AssetGalleryGridCardStyleProps>(props => ({\n ...applyDefaultTheme(props),\n 'data-ring': ringState(props),\n style: {\n ...(props.style || {}),\n ...(props.$customSelectedBorder && props.selected\n ? {\n '--ring-dark': props.$customSelectedBorder[0],\n '--ring-light': props.$customSelectedBorder[1]\n }\n : {})\n }\n}))`\n display: block;\n position: relative;\n height: 100%;\n margin: 0;\n box-sizing: border-box;\n text-decoration: none;\n cursor: pointer;\n transition: box-shadow 220ms;\n overflow: hidden;\n ${props =>\n props.theme.themeProp(\n 'color',\n props.theme.getColor('gray-300'),\n props.theme.getColor('gray-700')\n )}\n\n ${props =>\n props.disabled &&\n css`\n pointer-events: none;\n opacity: 0.4;\n `};\n\n ${props =>\n props.extendedSelectMode &&\n css`\n cursor: pointer;\n `}\n\n &:hover {\n box-shadow: 0px 3px 6px #00000029;\n }\n\n &::after {\n content: '';\n position: absolute;\n inset: 0;\n pointer-events: none;\n box-sizing: border-box;\n z-index: 10;\n border-style: solid;\n border-width: 1px;\n }\n &[data-ring='soft']::after,\n &[data-ring='selected']::after,\n &[data-ring='custom']::after,\n &[data-ring='completed']::after,\n &[data-ring='error']::after {\n border-width: 3px;\n }\n\n ${props => {\n const gray100 = props.theme.getColor('gray-100');\n const gray300 = props.theme.getColor('gray-300');\n const gray700 = props.theme.getColor('gray-700');\n const emerald = props.theme.getColor('emerald-500');\n const red500 = props.theme.getColor('red-500');\n const red600 = props.theme.getColor('red-600');\n return css`\n &[data-ring='idle']::after {\n border-color: ${gray300};\n }\n &[data-ring='soft']::after {\n border-color: ${rgba(gray700, 0.5)};\n }\n &[data-ring='selected']::after {\n border-color: ${darkBorderColor};\n }\n &[data-ring='custom']::after {\n border-color: var(--ring-light);\n }\n &[data-ring='completed']::after {\n border-color: ${rgba(emerald, 0.7)};\n }\n &[data-ring='error']::after {\n border-color: ${rgba(red500, 0.7)};\n }\n\n @media (prefers-color-scheme: dark) {\n &[data-ring='idle']::after {\n border-color: ${darkBorderColor};\n }\n &[data-ring='soft']::after {\n border-color: ${rgba(gray100, 0.5)};\n }\n &[data-ring='selected']::after {\n border-color: ${gray100};\n }\n &[data-ring='custom']::after {\n border-color: var(--ring-dark);\n }\n &[data-ring='completed']::after {\n border-color: ${emerald};\n }\n &[data-ring='error']::after {\n border-color: ${red600};\n }\n }\n body.light-theme &[data-ring='idle']::after {\n border-color: ${gray300};\n }\n body.light-theme &[data-ring='soft']::after {\n border-color: ${rgba(gray700, 0.5)};\n }\n body.light-theme &[data-ring='selected']::after {\n border-color: ${darkBorderColor};\n }\n body.light-theme &[data-ring='custom']::after {\n border-color: var(--ring-light);\n }\n body.light-theme &[data-ring='completed']::after {\n border-color: ${rgba(emerald, 0.7)};\n }\n body.light-theme &[data-ring='error']::after {\n border-color: ${rgba(red500, 0.7)};\n }\n body.dark-theme &[data-ring='idle']::after {\n border-color: ${darkBorderColor};\n }\n body.dark-theme &[data-ring='soft']::after {\n border-color: ${rgba(gray100, 0.5)};\n }\n body.dark-theme &[data-ring='selected']::after {\n border-color: ${gray100};\n }\n body.dark-theme &[data-ring='custom']::after {\n border-color: var(--ring-dark);\n }\n body.dark-theme &[data-ring='completed']::after {\n border-color: ${emerald};\n }\n body.dark-theme &[data-ring='error']::after {\n border-color: ${red600};\n }\n `;\n }};\n`;\n\nexport const ThumbnailSection = styled.div\n .withConfig({\n shouldForwardProp\n })\n .attrs(applyDefaultTheme)`\n position: relative;\n overflow: hidden;\n transition: background 220ms;\n ${props => props.theme.themeProp('background', darkBgColor, props.theme.getColor('gray-50'))}\n ${AssetGalleryGridCard}:hover & {\n ${props => props.theme.themeProp('background', darkHoverBgColor, lightHoverBgColor, 1)}\n }\n`;\n\n// ── Top bar ──────────────────────────────────────────────────────────────────\n\nexport const HorizontalBar = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n height: 40px;\n box-sizing: border-box;\n flex-shrink: 0;\n position: relative;\n z-index: 2;\n`;\n\nexport const HorizontalBarLeft = styled.div`\n display: flex;\n align-items: center;\n`;\n\nexport const HorizontalBarRight = styled.div`\n display: flex;\n align-items: center;\n`;\n\nexport const StatusIconCircle = styled.span\n .withConfig({\n shouldForwardProp\n })\n .attrs(applyDefaultTheme)`\n display: inline-flex;\n justify-content: center;\n align-items: center;\n width: 28px;\n height: 28px;\n border-radius: 50%;\n pointer-events: none;\n svg {\n width: 100%;\n height: 100%;\n }\n`;\n\n// ── Thumbnail ─────────────────────────────────────────────────────────────────\n\nexport const ThumbnailRow = styled.div`\n position: relative;\n display: flex;\n width: 100%;\n`;\n\nexport const ThumbnailSpacer = styled.div`\n flex: 1;\n`;\n\nexport const ThumbnailWrapper = styled.div`\n width: max(66%, 268px);\n flex-shrink: 0;\n`;\n\nexport const ThumbnailBox = styled.div\n .withConfig({\n shouldForwardProp\n })\n .attrs(applyDefaultTheme)`\n position: relative;\n height: 168px;\n\n flex-shrink: 0;\n overflow: hidden;\n\n img,\n video {\n width: 100%;\n height: 100%;\n object-fit: contain;\n display: block;\n }\n\n .audio {\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n svg {\n width: 35%;\n ${props =>\n props.theme.themeProp(\n 'color',\n props.theme.getColor('gray-400'),\n props.theme.getColor('gray-400')\n )}\n }\n }\n`;\n\nexport const ThumbnailSelectedOverlay = styled.div\n .withConfig({\n shouldForwardProp\n })\n .attrs<Pick<AssetGalleryGridCardStyleProps, 'selected'>>(applyDefaultTheme)`\n position: absolute;\n inset: 0;\n pointer-events: none;\n opacity: ${props => (props.selected ? 0.6 : 0)};\n background-color: #accef7;\n transition: opacity 220ms;\n z-index: 1;\n`;\n\nexport const ThumbnailActions = styled.div`\n flex: 1;\n`;\n\nexport const ActionsContainer = styled.div\n .withConfig({\n shouldForwardProp\n })\n .attrs(applyDefaultTheme)`\n display: flex;\n align-items: end;\n flex-direction: column;\n gap: 8px;\n opacity: 0;\n transition: opacity 220ms;\n z-index: 1;\n position: absolute;\n right: 8px;\n ${AssetGalleryGridCard}:hover & {\n opacity: 1;\n }\n\n ${AssetGalleryGridCard}:focus-within & {\n opacity: 1;\n }\n`;\n\nexport const Action = styled.div`\n margin: 0;\n\n button {\n box-shadow: 0px 3px 6px #00000033;\n }\n svg {\n width: 16px;\n height: 16px;\n max-height: unset;\n max-width: unset;\n }\n`;\n\nexport const ConsumerOverlay = styled.div`\n position: absolute;\n inset: 0;\n pointer-events: none;\n z-index: 1;\n`;\n\n// ── Card body ─────────────────────────────────────────────────────────────────\n\nexport const CardBody = styled.div\n .withConfig({\n shouldForwardProp\n })\n .attrs(applyDefaultTheme)`\n display: flex;\n flex-direction: column;\n flex: 1;\n padding: 16px 0px 0px 0px;\n`;\n\nexport const CardTitle = styled.span\n .withConfig({\n shouldForwardProp\n })\n .attrs(applyDefaultTheme)`\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n padding: 0px 16px;\n font: normal normal 500 14px/19px Roboto;\n letter-spacing: 0.28px;\n height: 19px;\n box-sizing: border-box;\n\n ${props =>\n props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('gray-700'))}\n`;\n\nexport const CardDescription = styled.span\n .withConfig({\n shouldForwardProp\n })\n .attrs(applyDefaultTheme)`\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n padding: 6px 16px;\n font: normal normal normal 12px/1.286em Roboto;\n letter-spacing: 0.24px;\n height: 52px;\n box-sizing: border-box;\n overflow-wrap: break-word;\n word-break: break-word;\n\n ${props =>\n props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('gray-700'))}\n`;\n\n/* `$hasContent` — `Boolean(asset.imageRights?.toString().trim())`, so genuinely boolean\n * and not `imageRights`'s `string`. */\nexport const InstructionsWrapper = styled.div\n .withConfig({\n shouldForwardProp\n })\n .attrs<{ $hasContent?: boolean }>(applyDefaultTheme)`\n min-height: 96px;\n margin-top: 16px;\n box-sizing: border-box;\n flex-shrink: 0;\n transition: background 220ms;\n opacity: 0;\n ${props =>\n props.$hasContent &&\n css`\n opacity: 1;\n border-top: 0.56px solid;\n border-bottom: 0.56px solid;\n ${props.theme.themeProp('border-color', darkBorderColor, props.theme.getColor('gray-300'))}\n `}\n\n ${props =>\n props.$hasContent &&\n css`\n opacity: 1;\n ${props.theme.themeProp('background', darkBgColor, props.theme.getColor('gray-50'))}\n ${AssetGalleryGridCard}:hover & {\n ${props.theme.themeProp('background', darkHoverBgColor, lightHoverBgColor, 1)}\n }\n `}\n`;\n\nexport const CardFooter = styled.div\n .withConfig({\n shouldForwardProp\n })\n .attrs(applyDefaultTheme)`\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 0px 16px;\n min-height: 52px;\n box-sizing: border-box;\n`;\n\nexport const CardFooterLeft = styled.div`\n display: flex;\n align-items: center;\n > * {\n margin-right: 4px;\n }\n`;\n\nexport const CardFooterRight = styled.div`\n display: flex;\n align-items: center;\n > * {\n margin-left: 4px;\n }\n`;\n\n/*\n * `invisible` is read but never passed, so opacity is always 1 — an unimplemented state,\n * left declared rather than fixed because wiring it up is a feature. It also lacks the `$`\n * prefix, so passing it would leak the attribute to React.\n */\nexport const CardDivider = styled.div\n .withConfig({\n shouldForwardProp\n })\n .attrs<{ invisible?: boolean }>(applyDefaultTheme)`\n height: 1px;\n flex-shrink: 0;\n opacity: ${props => (props.invisible ? 0 : 1)};\n ${props => props.theme.themeProp('background', darkBorderColor, props.theme.getColor('gray-300'))}\n`;\n\nexport const CheckboxRow = styled.div`\n display: flex;\n padding: 0px 16px;\n align-items: center;\n height: 56px;\n box-sizing: border-box;\n flex-shrink: 0;\n`;\n\nexport const CheckboxButton = styled.div\n .withConfig({\n shouldForwardProp\n })\n .attrs(applyDefaultTheme)`\n opacity: 1;\n flex-shrink: 0;\n cursor: pointer;\n transition: opacity 220ms;\n ${props => props.theme.themeProp('color', 'white', 'black')}\n > svg {\n width: 23px;\n height: 100%;\n }\n`;\n"],"names":["shouldForwardProp","prop","startsWith","darkBorderColor","darkBgColor","darkHoverBgColor","lightHoverBgColor","AssetGalleryWrapper","styled","div","withConfig","attrs","applyDefaultTheme","displayName","componentId","props","disabled","css","ringState","selected","$customSelectedBorder","$softSelected","completed","$hasError","AssetGalleryGridCard","style","theme","themeProp","getColor","extendedSelectMode","gray100","gray300","gray700","emerald","red500","red600","rgba","ThumbnailSection","HorizontalBar","HorizontalBarLeft","HorizontalBarRight","StatusIconCircle","span","ThumbnailRow","ThumbnailSpacer","ThumbnailWrapper","ThumbnailBox","ThumbnailSelectedOverlay","ThumbnailActions","ActionsContainer","Action","ConsumerOverlay","CardBody","CardTitle","CardDescription","InstructionsWrapper","$hasContent","CardFooter","CardFooterLeft","CardFooterRight","CardDivider","invisible","CheckboxRow"],"mappings":";;;;AAMA,MAAMA,iBAAiB,GAAIC,IAAY,IAAc;EACnD,OAAOA,IAAI,KAAK,OAAO,IAAI,CAACA,IAAI,CAACC,UAAU,CAAC,GAAG,CAAC;AAClD,CAAC;AAED,MAAMC,eAAe,GAAG,SAAS;AACjC,MAAMC,WAAW,GAAG,SAAS;AAC7B,MAAMC,gBAAgB,GAAG,SAAS;AAClC,MAAMC,iBAAiB,GAAG,SAAS;AAE5B,MAAMC,mBAAmB,GAAGC,MAAM,CAACC,GAAG,CAC1CC,UAAU,CAAC;AACVV,EAAAA;AACF,CAAC,CAAC,CACDW,KAAK,CAAmDC,iBAAiB,CAAC,CAAAF,UAAA,CAAA;EAAAG,WAAA,EAAA,iDAAA;EAAAC,WAAA,EAAA;AAAA,CAAA,CAAA,CAAA,CAAA,yBAAA,EAAA,GAAA,CAAA,EAGzEC,KAAK,IACLA,KAAK,CAACC,QAAQ,IACdC,GAAG,yBAEF;AA0BL,MAAMC,SAAS,GAAIH,KAAoC,IAAoC;EACzF,IAAIA,KAAK,CAACI,QAAQ,EAAE,OAAOJ,KAAK,CAACK,qBAAqB,GAAG,QAAQ,GAAG,UAAU;AAC9E,EAAA,IAAIL,KAAK,CAACM,aAAa,EAAE,OAAO,MAAM;AACtC,EAAA,IAAIN,KAAK,CAACO,SAAS,EAAE,OAAO,WAAW;AACvC,EAAA,IAAIP,KAAK,CAACQ,SAAS,EAAE,OAAO,OAAO;AACnC,EAAA,OAAO,MAAM;AACf,CAAC;AAEM,MAAMC,oBAAoB,GAAGhB,MAAM,CAACC,GAAG,CAACE,KAAK,CAAiCI,KAAK,KAAK;EAC7F,GAAGH,iBAAiB,CAACG,KAAK,CAAC;AAC3B,EAAA,WAAW,EAAEG,SAAS,CAACH,KAAK,CAAC;AAC7BU,EAA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