datocms-react-ui 3.1.0-next.1 → 3.1.0-next.11
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 +3 -2
- package/dist/Actions.d.ts +1 -1
- package/dist/Actions.js +3 -3
- package/dist/ApiKey.d.ts +2 -2
- package/dist/ApiKey.js +1 -1
- package/dist/Aside.d.ts +2 -2
- package/dist/Aside.js +1 -1
- package/dist/AutosizeInput.d.ts +2 -2
- package/dist/AutosizeInput.js +1 -1
- package/dist/Avatar.d.ts +2 -2
- package/dist/Avatar.js +1 -1
- package/dist/BlankSlate.d.ts +2 -2
- package/dist/BlankSlate.js +1 -1
- package/dist/Button.d.ts +2 -2
- package/dist/Button.js +1 -1
- package/dist/Callout.d.ts +2 -2
- package/dist/Callout.js +1 -1
- package/dist/CardList.d.ts +2 -2
- package/dist/CardList.js +1 -1
- package/dist/Chevron.d.ts +1 -1
- package/dist/Chevron.js +1 -1
- package/dist/CodeSnippet.d.ts +2 -2
- package/dist/CodeSnippet.js +1 -1
- package/dist/ColorInput.d.ts +2 -0
- package/dist/ColorInput.js +2 -0
- package/dist/CopyButton.d.ts +2 -2
- package/dist/CopyButton.js +1 -1
- package/dist/CopyableId.d.ts +2 -2
- package/dist/CopyableId.js +1 -1
- package/dist/CopyableValue.d.ts +2 -2
- package/dist/CopyableValue.js +1 -1
- package/dist/DateInput.d.ts +2 -0
- package/dist/DateInput.js +2 -0
- package/dist/DateSettings.d.ts +1 -1
- package/dist/DateSettings.js +1 -1
- package/dist/DateTimeInput.d.ts +2 -0
- package/dist/DateTimeInput.js +2 -0
- package/dist/DateTimeRangeInput.d.ts +2 -0
- package/dist/DateTimeRangeInput.js +2 -0
- package/dist/DebouncedTextInput.d.ts +2 -2
- package/dist/DebouncedTextInput.js +1 -1
- package/dist/Dropdown/triggers/ButtonTrigger.d.ts +2 -2
- package/dist/Dropdown/triggers/ButtonTrigger.js +1 -1
- package/dist/Dropdown/triggers/DropdownTriggerButton.d.ts +2 -2
- package/dist/Dropdown/triggers/DropdownTriggerButton.js +1 -1
- package/dist/Dropdown/triggers/IconTrigger.d.ts +2 -2
- package/dist/Dropdown/triggers/IconTrigger.js +1 -1
- package/dist/Dropdown/triggers/PillTrigger.d.ts +2 -2
- package/dist/Dropdown/triggers/PillTrigger.js +1 -1
- package/dist/Dropdown/triggers/TextualTrigger.d.ts +2 -2
- package/dist/Dropdown/triggers/TextualTrigger.js +1 -1
- package/dist/Dropdown/triggers/types.d.ts +1 -1
- package/dist/Dropdown.d.ts +1 -1
- package/dist/Dropdown.js +3 -3
- package/dist/EditorToolbar.d.ts +1 -1
- package/dist/EditorToolbar.js +2 -2
- package/dist/EmptySlot.d.ts +2 -2
- package/dist/EmptySlot.js +1 -1
- package/dist/EntityRow.d.ts +2 -2
- package/dist/EntityRow.js +1 -1
- package/dist/EntitySummary.d.ts +2 -2
- package/dist/EntitySummary.js +1 -1
- package/dist/EnvironmentPill.d.ts +2 -0
- package/dist/EnvironmentPill.js +2 -0
- package/dist/FeedbackDot.d.ts +2 -2
- package/dist/FeedbackDot.js +1 -1
- package/dist/FieldHint.d.ts +2 -2
- package/dist/FieldHint.js +1 -1
- package/dist/FieldTypeAvatar.d.ts +2 -0
- package/dist/FieldTypeAvatar.js +2 -0
- package/dist/FieldTypeName.d.ts +2 -0
- package/dist/FieldTypeName.js +2 -0
- package/dist/FieldWrapper.d.ts +2 -2
- package/dist/FieldWrapper.js +1 -1
- package/dist/FileTypeIcon.d.ts +2 -0
- package/dist/FileTypeIcon.js +2 -0
- package/dist/FilterBuilder.d.ts +2 -0
- package/dist/FilterBuilder.js +2 -0
- package/dist/FramedImage.d.ts +2 -2
- package/dist/FramedImage.js +1 -1
- package/dist/FullscreenModal.d.ts +2 -2
- package/dist/FullscreenModal.js +2 -1
- package/dist/Heading.d.ts +2 -2
- package/dist/Heading.js +1 -1
- package/dist/HoverCard.d.ts +2 -2
- package/dist/HoverCard.js +1 -1
- package/dist/IconAvatar.d.ts +2 -2
- package/dist/IconAvatar.js +1 -1
- package/dist/IdText.d.ts +2 -2
- package/dist/IdText.js +1 -1
- package/dist/InfoList.d.ts +2 -2
- package/dist/InfoList.js +1 -1
- package/dist/InitialsAvatar.d.ts +2 -2
- package/dist/InitialsAvatar.js +1 -1
- package/dist/InputGroup.d.ts +2 -2
- package/dist/InputGroup.js +1 -1
- package/dist/InsertGap.d.ts +2 -2
- package/dist/InsertGap.js +2 -2
- package/dist/ItemStatus.d.ts +2 -0
- package/dist/ItemStatus.js +2 -0
- package/dist/KeyValueList.d.ts +2 -2
- package/dist/KeyValueList.js +1 -1
- package/dist/LICENSE-lucide.txt +43 -0
- package/dist/Label.d.ts +2 -2
- package/dist/Label.js +1 -1
- package/dist/Link.d.ts +2 -2
- package/dist/Link.js +1 -1
- package/dist/ListArea.d.ts +2 -2
- package/dist/ListArea.js +1 -1
- package/dist/ListDetail.d.ts +1 -1
- package/dist/ListDetail.js +4 -4
- package/dist/ListFormPage.d.ts +2 -2
- package/dist/ListFormPage.js +1 -1
- package/dist/ListOrOverview.d.ts +2 -2
- package/dist/ListOrOverview.js +1 -1
- package/dist/Main.d.ts +2 -2
- package/dist/Main.js +1 -1
- package/dist/MediaCard.d.ts +2 -2
- package/dist/MediaCard.js +1 -1
- package/dist/Message.d.ts +1 -1
- package/dist/Message.js +1 -1
- package/dist/Modal.d.ts +2 -2
- package/dist/Modal.js +1 -1
- package/dist/MultipleSelectionActionBar.d.ts +2 -2
- package/dist/MultipleSelectionActionBar.js +1 -1
- package/dist/Nav.d.ts +2 -2
- package/dist/Nav.js +1 -1
- package/dist/NavList.d.ts +2 -2
- package/dist/NavList.js +1 -1
- package/dist/NewZIndex.d.ts +2 -2
- package/dist/NewZIndex.js +1 -1
- package/dist/NumberInput.d.ts +2 -2
- package/dist/NumberInput.js +1 -1
- package/dist/Page.d.ts +1 -1
- package/dist/Page.js +1 -1
- package/dist/Pane.d.ts +2 -2
- package/dist/Pane.js +4 -4
- package/dist/PasswordInput.d.ts +2 -2
- package/dist/PasswordInput.js +1 -1
- package/dist/Pill.d.ts +2 -2
- package/dist/Pill.js +1 -1
- package/dist/Popover.d.ts +2 -2
- package/dist/Popover.js +1 -1
- package/dist/Portal.d.ts +2 -2
- package/dist/Portal.js +1 -1
- package/dist/ProgressBar.d.ts +2 -2
- package/dist/ProgressBar.js +1 -1
- package/dist/RadioGroupInput.d.ts +2 -2
- package/dist/RadioGroupInput.js +1 -1
- package/dist/RangeInput.d.ts +2 -0
- package/dist/RangeInput.js +2 -0
- package/dist/RawButton.d.ts +2 -2
- package/dist/RawButton.js +1 -1
- package/dist/RecordRow.d.ts +2 -0
- package/dist/RecordRow.js +2 -0
- package/dist/RowList.d.ts +2 -2
- package/dist/RowList.js +1 -1
- package/dist/Search.d.ts +2 -2
- package/dist/Search.js +1 -1
- package/dist/SegmentedControl.d.ts +2 -2
- package/dist/SegmentedControl.js +1 -1
- package/dist/SelectInput.d.ts +2 -2
- package/dist/SelectInput.js +2 -2
- package/dist/SettingsList.d.ts +2 -2
- package/dist/SettingsList.js +1 -1
- package/dist/SettingsMenu.d.ts +2 -2
- package/dist/SettingsMenu.js +1 -1
- package/dist/SidebarPanel.d.ts +2 -2
- package/dist/SidebarPanel.js +2 -2
- package/dist/SidebarTree.d.ts +1 -1
- package/dist/SidebarTree.js +2 -2
- package/dist/SmartDate.d.ts +2 -2
- package/dist/SmartDate.js +1 -1
- package/dist/Spinner.d.ts +2 -2
- package/dist/Spinner.js +1 -1
- package/dist/SplitButton.d.ts +2 -2
- package/dist/SplitButton.js +1 -1
- package/dist/SplitPane.d.ts +2 -2
- package/dist/SplitPane.js +2 -1
- package/dist/StringInput.d.ts +2 -2
- package/dist/StringInput.js +1 -1
- package/dist/SwitchInput.d.ts +2 -2
- package/dist/SwitchInput.js +1 -1
- package/dist/SwitchList.d.ts +2 -2
- package/dist/SwitchList.js +1 -1
- package/dist/Table/cells/EntityCell.d.ts +2 -0
- package/dist/Table/cells/EntityCell.js +2 -0
- package/dist/Table/cells/IconCell.d.ts +2 -2
- package/dist/Table/cells/IconCell.js +1 -1
- package/dist/Table/cells/LinkCell.d.ts +2 -2
- package/dist/Table/cells/LinkCell.js +1 -1
- package/dist/Table/cells/StatusCell.d.ts +2 -2
- package/dist/Table/cells/StatusCell.js +1 -1
- package/dist/Table/cells/TimeCell.d.ts +2 -2
- package/dist/Table/cells/TimeCell.js +1 -1
- package/dist/Table.d.ts +1 -1
- package/dist/Table.js +4 -4
- package/dist/TableList.d.ts +2 -2
- package/dist/TableList.js +1 -1
- package/dist/Tabs.d.ts +1 -1
- package/dist/Tabs.js +1 -1
- package/dist/TextareaInput.d.ts +2 -2
- package/dist/TextareaInput.js +1 -1
- package/dist/Toolbar.d.ts +2 -2
- package/dist/Toolbar.js +2 -2
- package/dist/Tooltip.d.ts +2 -2
- package/dist/Tooltip.js +2 -2
- package/dist/TreeRow.d.ts +2 -0
- package/dist/TreeRow.js +2 -0
- package/dist/UploadCard.d.ts +2 -0
- package/dist/UploadCard.js +2 -0
- package/dist/UploadPreview.d.ts +2 -0
- package/dist/UploadPreview.js +2 -0
- package/dist/UploadThreatTriangle.d.ts +2 -2
- package/dist/UploadThreatTriangle.js +1 -1
- package/dist/UsageMeter.d.ts +1 -1
- package/dist/UsageMeter.js +1 -1
- package/dist/UserRow.d.ts +2 -0
- package/dist/UserRow.js +2 -0
- package/dist/ValidityTriangles.d.ts +1 -1
- package/dist/ValidityTriangles.js +1 -1
- package/dist/dnd.d.ts +1 -1
- package/dist/dnd.js +16 -16
- package/dist/hooks/useAsyncSelectOptions.d.ts +1 -1
- package/dist/hooks/useAsyncSelectOptions.js +1 -1
- package/dist/hooks/useClickOutside.d.ts +1 -1
- package/dist/hooks/useClickOutside.js +1 -1
- package/dist/hooks/useCopyToClipboard.d.ts +1 -1
- package/dist/hooks/useCopyToClipboard.js +1 -1
- package/dist/hooks/useDebounceOnBoolean.d.ts +1 -1
- package/dist/hooks/useDebounceOnBoolean.js +1 -1
- package/dist/hooks/useDebouncedCallback.d.ts +1 -1
- package/dist/hooks/useDebouncedCallback.js +1 -1
- package/dist/hooks/useDebouncedValue.d.ts +1 -1
- package/dist/hooks/useDebouncedValue.js +1 -1
- package/dist/hooks/useDeepCompareEffect.d.ts +1 -1
- package/dist/hooks/useDeepCompareEffect.js +1 -1
- package/dist/hooks/useDidUpdateEffect.d.ts +1 -1
- package/dist/hooks/useDidUpdateEffect.js +1 -1
- package/dist/hooks/useElementLayout.d.ts +1 -1
- package/dist/hooks/useElementLayout.js +1 -1
- package/dist/hooks/useMediaQuery.d.ts +1 -1
- package/dist/hooks/useMediaQuery.js +1 -1
- package/dist/hooks/useRovingKeyDown.d.ts +1 -1
- package/dist/hooks/useRovingKeyDown.js +1 -1
- package/dist/hooks/useShallowEqual.d.ts +1 -1
- package/dist/hooks/useShallowEqual.js +1 -1
- package/dist/hooks/useSmartRowClick.d.ts +1 -1
- package/dist/hooks/useSmartRowClick.js +1 -1
- package/dist/internal/BundledTexts.d.ts +2 -2
- package/dist/internal/BundledTexts.js +1 -1
- package/dist/internal/DateSettings.d.ts +1 -1
- package/dist/internal/DateSettings.js +1 -1
- package/dist/internal/NavigationProvider.d.ts +2 -2
- package/dist/internal/NavigationProvider.js +1 -1
- package/dist/internal/TextsProvider.d.ts +2 -2
- package/dist/internal/TextsProvider.js +1 -1
- package/dist/react-ui/src/Canvas.d.ts +11 -5
- package/dist/react-ui/src/Canvas.js +37 -15
- package/dist/react-ui/src/ContextInspector.d.ts +1 -1
- package/dist/react-ui/src/ContextInspector.js +6 -6
- package/dist/react-ui/src/ctxAnswer.js +21 -0
- package/dist/react-ui/src/ctxDateSettings.js +7 -5
- package/dist/react-ui/src/ctxHostServices.js +1 -1
- package/dist/react-ui/src/ctxNavigation.js +1 -1
- package/dist/react-ui/src/ctxRecordPresentation.js +34 -0
- package/dist/react-ui/src/ctxUploads.js +23 -0
- package/dist/react-ui/src/messageText.js +2 -2
- package/dist/styles.css +2387 -534
- package/dist/ui-public/icons/custom/dato_symbol.js +22 -0
- package/dist/ui-public/icons/custom/netlify.js +33 -0
- package/dist/ui-public/icons/custom/twitter-verified.js +18 -0
- package/dist/ui-public/icons/custom/vercel.js +15 -0
- package/dist/ui-public/icons/index.js +356 -0
- package/dist/ui-public/icons/lucide/app-window.js +33 -0
- package/dist/ui-public/icons/lucide/arrow-big-down.js +22 -0
- package/dist/ui-public/icons/lucide/arrow-down-a-z.js +28 -0
- package/dist/ui-public/icons/lucide/arrow-down-from-line.js +26 -0
- package/dist/ui-public/icons/lucide/arrow-down-wide-narrow.js +28 -0
- package/dist/ui-public/icons/lucide/arrow-down.js +22 -0
- package/dist/ui-public/icons/lucide/arrow-left.js +22 -0
- package/dist/ui-public/icons/lucide/arrow-right-left.js +27 -0
- package/dist/ui-public/icons/lucide/arrow-right.js +22 -0
- package/dist/ui-public/icons/lucide/arrow-up-down.js +27 -0
- package/dist/ui-public/icons/lucide/arrow-up-from-line.js +26 -0
- package/dist/ui-public/icons/lucide/arrow-up-narrow-wide.js +28 -0
- package/dist/ui-public/icons/lucide/arrow-up.js +22 -0
- package/dist/ui-public/icons/lucide/ban.js +26 -0
- package/dist/ui-public/icons/lucide/book.js +22 -0
- package/dist/ui-public/icons/lucide/bookmark.js +22 -0
- package/dist/ui-public/icons/lucide/braces.js +22 -0
- package/dist/ui-public/icons/lucide/calendar.js +33 -0
- package/dist/ui-public/icons/lucide/check.js +22 -0
- package/dist/ui-public/icons/lucide/chevron-down.js +22 -0
- package/dist/ui-public/icons/lucide/chevron-left.js +22 -0
- package/dist/ui-public/icons/lucide/chevron-right.js +22 -0
- package/dist/ui-public/icons/lucide/chevrons-down.js +22 -0
- package/dist/ui-public/icons/lucide/chevrons-left.js +22 -0
- package/dist/ui-public/icons/lucide/chevrons-right.js +22 -0
- package/dist/ui-public/icons/lucide/circle-arrow-up.js +30 -0
- package/dist/ui-public/icons/lucide/circle-check.js +26 -0
- package/dist/ui-public/icons/lucide/circle-dot.js +30 -0
- package/dist/ui-public/icons/lucide/circle-exclamation-point.js +40 -0
- package/dist/ui-public/icons/lucide/circle-question-mark.js +30 -0
- package/dist/ui-public/icons/lucide/clock.js +26 -0
- package/dist/ui-public/icons/lucide/code.js +22 -0
- package/dist/ui-public/icons/lucide/command.js +22 -0
- package/dist/ui-public/icons/lucide/copy-plus.js +44 -0
- package/dist/ui-public/icons/lucide/copy.js +29 -0
- package/dist/ui-public/icons/lucide/corner-left-up.js +22 -0
- package/dist/ui-public/icons/lucide/database.js +31 -0
- package/dist/ui-public/icons/lucide/download.js +26 -0
- package/dist/ui-public/icons/lucide/earth.js +31 -0
- package/dist/ui-public/icons/lucide/ellipsis-vertical.js +38 -0
- package/dist/ui-public/icons/lucide/ellipsis.js +38 -0
- package/dist/ui-public/icons/lucide/external-link.js +26 -0
- package/dist/ui-public/icons/lucide/eye-off.js +27 -0
- package/dist/ui-public/icons/lucide/eye.js +26 -0
- package/dist/ui-public/icons/lucide/file-code.js +27 -0
- package/dist/ui-public/icons/lucide/file-output.js +27 -0
- package/dist/ui-public/icons/lucide/flask-conical.js +26 -0
- package/dist/ui-public/icons/lucide/fold-vertical.js +31 -0
- package/dist/ui-public/icons/lucide/folder-open.js +22 -0
- package/dist/ui-public/icons/lucide/folder-plus.js +26 -0
- package/dist/ui-public/icons/lucide/folder.js +22 -0
- package/dist/ui-public/icons/lucide/folders.js +22 -0
- package/dist/ui-public/icons/lucide/funnel.js +22 -0
- package/dist/ui-public/icons/lucide/gift.js +33 -0
- package/dist/ui-public/icons/lucide/git-branch.js +34 -0
- package/dist/ui-public/icons/lucide/git-fork.js +40 -0
- package/dist/ui-public/icons/lucide/globe.js +30 -0
- package/dist/ui-public/icons/lucide/grip-vertical.js +53 -0
- package/dist/ui-public/icons/lucide/hand.js +27 -0
- package/dist/ui-public/icons/lucide/hard-hat.js +33 -0
- package/dist/ui-public/icons/lucide/hash.js +47 -0
- package/dist/ui-public/icons/lucide/heading-1.js +27 -0
- package/dist/ui-public/icons/lucide/heading-2.js +27 -0
- package/dist/ui-public/icons/lucide/heading-3.js +28 -0
- package/dist/ui-public/icons/lucide/heading-4.js +28 -0
- package/dist/ui-public/icons/lucide/heading-5.js +28 -0
- package/dist/ui-public/icons/lucide/heading-6.js +32 -0
- package/dist/ui-public/icons/lucide/highlighter.js +22 -0
- package/dist/ui-public/icons/lucide/hourglass.js +27 -0
- package/dist/ui-public/icons/lucide/house.js +22 -0
- package/dist/ui-public/icons/lucide/image.js +37 -0
- package/dist/ui-public/icons/lucide/images.js +38 -0
- package/dist/ui-public/icons/lucide/info.js +30 -0
- package/dist/ui-public/icons/lucide/italic.js +41 -0
- package/dist/ui-public/icons/lucide/keyboard.js +38 -0
- package/dist/ui-public/icons/lucide/languages.js +29 -0
- package/dist/ui-public/icons/lucide/layers.js +26 -0
- package/dist/ui-public/icons/lucide/layout-grid.js +51 -0
- package/dist/ui-public/icons/lucide/letter-b.js +22 -0
- package/dist/ui-public/icons/lucide/letter-text.js +28 -0
- package/dist/ui-public/icons/lucide/life-buoy.js +37 -0
- package/dist/ui-public/icons/lucide/link.js +22 -0
- package/dist/ui-public/icons/lucide/list-indent-decrease.js +27 -0
- package/dist/ui-public/icons/lucide/list-indent-increase.js +27 -0
- package/dist/ui-public/icons/lucide/list-ordered.js +29 -0
- package/dist/ui-public/icons/lucide/list-tree.js +28 -0
- package/dist/ui-public/icons/lucide/list.js +29 -0
- package/dist/ui-public/icons/lucide/log-out.js +26 -0
- package/dist/ui-public/icons/lucide/mail.js +28 -0
- package/dist/ui-public/icons/lucide/map-pin.js +26 -0
- package/dist/ui-public/icons/lucide/map-pinned.js +30 -0
- package/dist/ui-public/icons/lucide/maximize.js +27 -0
- package/dist/ui-public/icons/lucide/menu.js +26 -0
- package/dist/ui-public/icons/lucide/messages-square.js +22 -0
- package/dist/ui-public/icons/lucide/minimize.js +27 -0
- package/dist/ui-public/icons/lucide/minus.js +22 -0
- package/dist/ui-public/icons/lucide/notepad-text.js +36 -0
- package/dist/ui-public/icons/lucide/octagon-exclamation-point.js +26 -0
- package/dist/ui-public/icons/lucide/palette.js +48 -0
- package/dist/ui-public/icons/lucide/panel-left.js +28 -0
- package/dist/ui-public/icons/lucide/panel-right.js +28 -0
- package/dist/ui-public/icons/lucide/pause.js +34 -0
- package/dist/ui-public/icons/lucide/pen.js +22 -0
- package/dist/ui-public/icons/lucide/pilcrow.js +26 -0
- package/dist/ui-public/icons/lucide/pipette.js +26 -0
- package/dist/ui-public/icons/lucide/play.js +22 -0
- package/dist/ui-public/icons/lucide/plus.js +22 -0
- package/dist/ui-public/icons/lucide/quote.js +22 -0
- package/dist/ui-public/icons/lucide/redo-2.js +22 -0
- package/dist/ui-public/icons/lucide/refresh-cw.js +27 -0
- package/dist/ui-public/icons/lucide/rotate-ccw-clock.js +26 -0
- package/dist/ui-public/icons/lucide/rotate-ccw.js +22 -0
- package/dist/ui-public/icons/lucide/rows-3.js +32 -0
- package/dist/ui-public/icons/lucide/search.js +26 -0
- package/dist/ui-public/icons/lucide/send.js +22 -0
- package/dist/ui-public/icons/lucide/settings-2.js +35 -0
- package/dist/ui-public/icons/lucide/settings.js +26 -0
- package/dist/ui-public/icons/lucide/sliders-horizontal.js +32 -0
- package/dist/ui-public/icons/lucide/smartphone.js +29 -0
- package/dist/ui-public/icons/lucide/square-arrow-left.js +32 -0
- package/dist/ui-public/icons/lucide/square-arrow-up-right.js +32 -0
- package/dist/ui-public/icons/lucide/square-code.js +32 -0
- package/dist/ui-public/icons/lucide/square-dashed.js +35 -0
- package/dist/ui-public/icons/lucide/square-pen.js +22 -0
- package/dist/ui-public/icons/lucide/square-plus.js +32 -0
- package/dist/ui-public/icons/lucide/square-terminal.js +33 -0
- package/dist/ui-public/icons/lucide/store.js +26 -0
- package/dist/ui-public/icons/lucide/strikethrough.js +31 -0
- package/dist/ui-public/icons/lucide/table.js +33 -0
- package/dist/ui-public/icons/lucide/tag.js +27 -0
- package/dist/ui-public/icons/lucide/text-align-center.js +26 -0
- package/dist/ui-public/icons/lucide/text-align-end.js +26 -0
- package/dist/ui-public/icons/lucide/text-align-justify.js +26 -0
- package/dist/ui-public/icons/lucide/text-align-start.js +26 -0
- package/dist/ui-public/icons/lucide/toggle-right.js +32 -0
- package/dist/ui-public/icons/lucide/toolbox.js +28 -0
- package/dist/ui-public/icons/lucide/trash.js +28 -0
- package/dist/ui-public/icons/lucide/triangle-exclamation-point.js +26 -0
- package/dist/ui-public/icons/lucide/underline.js +27 -0
- package/dist/ui-public/icons/lucide/undo-2.js +22 -0
- package/dist/ui-public/icons/lucide/unfold-vertical.js +31 -0
- package/dist/ui-public/icons/lucide/user-lock.js +37 -0
- package/dist/ui-public/icons/lucide/user-minus.js +35 -0
- package/dist/ui-public/icons/lucide/user-round-arrow-left.js +31 -0
- package/dist/ui-public/icons/lucide/user.js +26 -0
- package/dist/ui-public/icons/lucide/x.js +22 -0
- package/dist/ui-public/locales/en.js +191 -0
- package/dist/ui-public/src/BundledTexts.d.ts +26 -0
- package/dist/ui-public/src/BundledTexts.js +57 -0
- package/dist/ui-public/src/HostServicesProvider.js +26 -0
- package/dist/ui-public/src/Message.d.ts +28 -0
- package/dist/ui-public/src/Message.js +9 -0
- package/dist/ui-public/src/TextsProvider.d.ts +32 -0
- package/dist/ui-public/src/TextsProvider.js +22 -0
- package/dist/ui-public/src/UiTextKey.d.ts +2 -0
- package/dist/ui-public/src/actions/Actions/ActionTooltip.js +24 -0
- package/dist/ui-public/src/actions/Actions/Shortcut.js +45 -0
- package/dist/ui-public/src/actions/Actions/index.d.ts +3 -0
- package/dist/ui-public/src/actions/Actions/registry.d.ts +233 -0
- package/dist/ui-public/src/actions/Actions/registry.js +612 -0
- package/dist/ui-public/src/actions/Actions/shortcuts.js +284 -0
- package/dist/ui-public/src/actions/Button.d.ts +199 -0
- package/dist/ui-public/src/actions/Button.js +170 -0
- package/dist/ui-public/src/actions/Dropdown/DropdownContext.js +12 -0
- package/dist/ui-public/src/actions/Dropdown/Footer.js +14 -0
- package/dist/ui-public/src/actions/Dropdown/Frame.js +18 -0
- package/dist/ui-public/src/actions/Dropdown/Group.js +19 -0
- package/dist/ui-public/src/actions/Dropdown/Menu.d.ts +47 -0
- package/dist/ui-public/src/actions/Dropdown/Menu.js +106 -0
- package/dist/ui-public/src/actions/Dropdown/MenuContent.d.ts +22 -0
- package/dist/ui-public/src/actions/Dropdown/MenuContent.js +154 -0
- package/dist/ui-public/src/actions/Dropdown/MenuContext.js +12 -0
- package/dist/ui-public/src/actions/Dropdown/MenuParts.d.ts +38 -0
- package/dist/ui-public/src/actions/Dropdown/MenuParts.js +88 -0
- package/dist/ui-public/src/actions/Dropdown/MenuSheet.js +26 -0
- package/dist/ui-public/src/actions/Dropdown/Option.d.ts +157 -0
- package/dist/ui-public/src/actions/Dropdown/Option.js +216 -0
- package/dist/ui-public/src/actions/Dropdown/OptionAction.js +31 -0
- package/dist/ui-public/src/actions/Dropdown/Separator.js +15 -0
- package/dist/ui-public/src/actions/Dropdown/Submenu.js +95 -0
- package/dist/ui-public/src/actions/Dropdown/Text.js +12 -0
- package/dist/ui-public/src/actions/Dropdown/index.d.ts +72 -0
- package/dist/ui-public/src/actions/Dropdown/index.js +124 -0
- package/dist/ui-public/src/actions/Dropdown/placementStyle.js +18 -0
- package/dist/ui-public/src/actions/Dropdown/triggers/ButtonTrigger.d.ts +57 -0
- package/dist/ui-public/src/actions/Dropdown/triggers/ButtonTrigger.js +53 -0
- package/dist/ui-public/src/actions/Dropdown/triggers/DropdownTriggerButton.d.ts +18 -0
- package/dist/ui-public/src/actions/Dropdown/triggers/DropdownTriggerButton.js +40 -0
- package/dist/ui-public/src/actions/Dropdown/triggers/IconTrigger.d.ts +35 -0
- package/dist/ui-public/src/actions/Dropdown/triggers/IconTrigger.js +27 -0
- package/dist/ui-public/src/actions/Dropdown/triggers/PillTrigger.js +28 -0
- package/dist/ui-public/src/actions/Dropdown/triggers/TextualTrigger.js +26 -0
- package/dist/ui-public/src/actions/Dropdown/triggers/handleDropdownTriggerKeyDown.js +12 -0
- package/dist/ui-public/src/actions/Dropdown/useCloseMenu.js +14 -0
- package/dist/ui-public/src/actions/Dropdown/useDropdownRegistry.js +15 -0
- package/dist/ui-public/src/actions/Dropdown/useTriggerLang.js +14 -0
- package/dist/ui-public/src/actions/EditorToolbar/Button.d.ts +36 -0
- package/dist/ui-public/src/actions/EditorToolbar/Button.js +42 -0
- package/dist/ui-public/src/actions/EditorToolbar/Buttons.js +138 -0
- package/dist/ui-public/src/actions/EditorToolbar/Group.js +11 -0
- package/dist/ui-public/src/actions/EditorToolbar/hooks.js +48 -0
- package/dist/ui-public/src/actions/EditorToolbar/index.js +147 -0
- package/dist/ui-public/src/actions/MultipleSelectionActionBar.d.ts +92 -0
- package/dist/ui-public/src/actions/MultipleSelectionActionBar.js +123 -0
- package/dist/ui-public/src/actions/SplitButton/Caret.js +31 -0
- package/dist/ui-public/src/actions/SplitButton/Halves.js +21 -0
- package/dist/ui-public/src/actions/SplitButton/index.d.ts +52 -0
- package/dist/ui-public/src/actions/SplitButton/index.js +38 -0
- package/dist/ui-public/src/actions/disabledReason.d.ts +28 -0
- package/dist/ui-public/src/actions/disabledReason.js +30 -0
- package/dist/ui-public/src/color/generateColorMapper.js +6 -0
- package/dist/ui-public/src/color/oklch.js +9 -0
- package/dist/ui-public/src/color/types.d.ts +13 -0
- package/dist/ui-public/src/color/utils.js +32 -0
- package/dist/ui-public/src/content/ApiKey.js +12 -0
- package/dist/ui-public/src/content/Avatar.d.ts +60 -0
- package/dist/ui-public/src/content/Avatar.js +56 -0
- package/dist/ui-public/src/content/CodeSnippet.d.ts +26 -0
- package/dist/ui-public/src/content/CodeSnippet.js +27 -0
- package/dist/ui-public/src/content/CopyButton.js +22 -0
- package/dist/ui-public/src/content/CopyableId.js +33 -0
- package/dist/ui-public/src/content/CopyableValue.d.ts +36 -0
- package/dist/ui-public/src/content/CopyableValue.js +58 -0
- package/dist/ui-public/src/content/DateSettings.d.ts +20 -0
- package/dist/ui-public/src/content/DateSettings.js +26 -0
- package/dist/ui-public/src/content/EnvironmentPill.d.ts +15 -0
- package/dist/ui-public/src/content/EnvironmentPill.js +19 -0
- package/dist/ui-public/src/content/FeedbackDot.js +24 -0
- package/dist/ui-public/src/content/FieldTypeAvatar.d.ts +22 -0
- package/dist/ui-public/src/content/FieldTypeAvatar.js +35 -0
- package/dist/ui-public/src/content/FieldTypeName.d.ts +19 -0
- package/dist/ui-public/src/content/FieldTypeName.js +25 -0
- package/dist/ui-public/src/content/FileTypeIcon.d.ts +13 -0
- package/dist/ui-public/src/content/FileTypeIcon.js +73 -0
- package/dist/ui-public/src/content/FramedImage.js +45 -0
- package/dist/ui-public/src/content/IconAvatar.d.ts +43 -0
- package/dist/ui-public/src/content/IconAvatar.js +36 -0
- package/dist/ui-public/src/content/IdText.js +30 -0
- package/dist/ui-public/src/content/InitialsAvatar.js +68 -0
- package/dist/ui-public/src/content/ItemStatus.d.ts +39 -0
- package/dist/ui-public/src/content/ItemStatus.js +55 -0
- package/dist/ui-public/src/content/Pill.d.ts +47 -0
- package/dist/ui-public/src/content/Pill.js +40 -0
- package/dist/ui-public/src/content/SmartDate.d.ts +34 -0
- package/dist/ui-public/src/content/SmartDate.js +24 -0
- package/dist/ui-public/src/content/UploadPreview/asset.js +200 -0
- package/dist/ui-public/src/content/UploadPreview/audio.js +120 -0
- package/dist/ui-public/src/content/UploadPreview/box.d.ts +83 -0
- package/dist/ui-public/src/content/UploadPreview/box.js +96 -0
- package/dist/ui-public/src/content/UploadPreview/fit.d.ts +29 -0
- package/dist/ui-public/src/content/UploadPreview/fit.js +35 -0
- package/dist/ui-public/src/content/UploadPreview/index.d.ts +61 -0
- package/dist/ui-public/src/content/UploadPreview/index.js +36 -0
- package/dist/ui-public/src/content/UploadPreview/presentation.js +63 -0
- package/dist/ui-public/src/content/UploadPreview/thumbhash.js +91 -0
- package/dist/ui-public/src/content/UploadPreview/upload.d.ts +104 -0
- package/dist/ui-public/src/content/UploadPreview/upload.js +112 -0
- package/dist/ui-public/src/content/UploadThreatTriangle.d.ts +7 -0
- package/dist/ui-public/src/content/UploadThreatTriangle.js +27 -0
- package/dist/ui-public/src/content/UsageMeter.d.ts +36 -0
- package/dist/ui-public/src/content/UsageMeter.js +67 -0
- package/dist/ui-public/src/content/ValidityTriangles.d.ts +38 -0
- package/dist/ui-public/src/content/ValidityTriangles.js +56 -0
- package/dist/ui-public/src/content/pillClassName.js +15 -0
- package/dist/ui-public/src/feedback/BlankSlate.d.ts +93 -0
- package/dist/ui-public/src/feedback/BlankSlate.js +93 -0
- package/dist/ui-public/src/feedback/Callout.d.ts +35 -0
- package/dist/ui-public/src/feedback/Callout.js +33 -0
- package/dist/ui-public/src/feedback/ProgressBar.d.ts +35 -0
- package/dist/ui-public/src/feedback/ProgressBar.js +28 -0
- package/dist/ui-public/src/feedback/Spinner.d.ts +66 -0
- package/dist/ui-public/src/feedback/Spinner.js +77 -0
- package/dist/ui-public/src/form/AutosizeInput.js +14 -0
- package/dist/ui-public/src/form/ColorInput.d.ts +48 -0
- package/dist/ui-public/src/form/ColorInput.js +261 -0
- package/dist/ui-public/src/form/DateInput.d.ts +13 -0
- package/dist/ui-public/src/form/DateInput.js +16 -0
- package/dist/ui-public/src/form/DateTimeInput/Base.d.ts +89 -0
- package/dist/ui-public/src/form/DateTimeInput/Base.js +330 -0
- package/dist/ui-public/src/form/DateTimeInput/CalendarGrid.d.ts +29 -0
- package/dist/ui-public/src/form/DateTimeInput/CalendarGrid.js +195 -0
- package/dist/ui-public/src/form/DateTimeInput/dateText.js +38 -0
- package/dist/ui-public/src/form/DateTimeInput/index.d.ts +10 -0
- package/dist/ui-public/src/form/DateTimeInput/index.js +18 -0
- package/dist/ui-public/src/form/DateTimeInput/value.js +31 -0
- package/dist/ui-public/src/form/DateTimeRangeInput/Panel.js +167 -0
- package/dist/ui-public/src/form/DateTimeRangeInput/index.d.ts +123 -0
- package/dist/ui-public/src/form/DateTimeRangeInput/index.js +186 -0
- package/dist/ui-public/src/form/DateTimeRangeInput/rangeLabel.js +46 -0
- package/dist/ui-public/src/form/DebouncedTextInput.js +52 -0
- package/dist/ui-public/src/form/FieldHint.d.ts +28 -0
- package/dist/ui-public/src/form/FieldHint.js +56 -0
- package/dist/ui-public/src/form/FieldWrapper.d.ts +382 -0
- package/dist/ui-public/src/form/FieldWrapper.js +142 -0
- package/dist/ui-public/src/form/FilterBuilder/Editor.js +123 -0
- package/dist/ui-public/src/form/FilterBuilder/index.d.ts +9 -0
- package/dist/ui-public/src/form/FilterBuilder/index.js +294 -0
- package/dist/ui-public/src/form/FilterBuilder/types.d.ts +188 -0
- package/dist/ui-public/src/form/FilterBuilder/values.js +86 -0
- package/dist/ui-public/src/form/FormAppContext.js +9 -0
- package/dist/ui-public/src/form/InputGroup.d.ts +78 -0
- package/dist/ui-public/src/form/InputGroup.js +98 -0
- package/dist/ui-public/src/form/KeyValueList.d.ts +60 -0
- package/dist/ui-public/src/form/KeyValueList.js +80 -0
- package/dist/ui-public/src/form/Label.d.ts +45 -0
- package/dist/ui-public/src/form/Label.js +46 -0
- package/dist/ui-public/src/form/NumberInput.js +54 -0
- package/dist/ui-public/src/form/PasswordInput.js +45 -0
- package/dist/ui-public/src/form/RadioGroupInput.d.ts +42 -0
- package/dist/ui-public/src/form/RadioGroupInput.js +85 -0
- package/dist/ui-public/src/form/RangeInput.d.ts +38 -0
- package/dist/ui-public/src/form/RangeInput.js +33 -0
- package/dist/ui-public/src/form/SelectInput/Context.js +8 -0
- package/dist/ui-public/src/form/SelectInput/SelectClearIndicator.js +17 -0
- package/dist/ui-public/src/form/SelectInput/SelectDropdownIndicator.js +14 -0
- package/dist/ui-public/src/form/SelectInput/SelectEmpty.js +10 -0
- package/dist/ui-public/src/form/SelectInput/SelectGroup.js +13 -0
- package/dist/ui-public/src/form/SelectInput/SelectInputElement.js +15 -0
- package/dist/ui-public/src/form/SelectInput/SelectMenu.d.ts +46 -0
- package/dist/ui-public/src/form/SelectInput/SelectMenu.js +89 -0
- package/dist/ui-public/src/form/SelectInput/SelectMultiValueRemove.js +27 -0
- package/dist/ui-public/src/form/SelectInput/SelectOption.js +22 -0
- package/dist/ui-public/src/form/SelectInput/SortableMultiValue.js +30 -0
- package/dist/ui-public/src/form/SelectInput/SortableValueContainer.js +19 -0
- package/dist/ui-public/src/form/SelectInput/index.d.ts +112 -0
- package/dist/ui-public/src/form/SelectInput/index.js +181 -0
- package/dist/ui-public/src/form/SelectInput/useSelectClassNames.js +63 -0
- package/dist/ui-public/src/form/SelectInput/useSelectValueAdapter.js +48 -0
- package/dist/ui-public/src/form/StringInput.js +29 -0
- package/dist/ui-public/src/form/SwitchInput.d.ts +50 -0
- package/dist/ui-public/src/form/SwitchInput.js +105 -0
- package/dist/ui-public/src/form/SwitchList.d.ts +17 -0
- package/dist/ui-public/src/form/SwitchList.js +26 -0
- package/dist/ui-public/src/form/TableList.d.ts +206 -0
- package/dist/ui-public/src/form/TableList.js +273 -0
- package/dist/ui-public/src/form/TextareaInput.js +73 -0
- package/dist/ui-public/src/form/getEditState.js +12 -0
- package/dist/ui-public/src/form/inputProps.d.ts +119 -0
- package/dist/ui-public/src/form/useTextInputHandlers.js +37 -0
- package/dist/ui-public/src/hooks/useAsyncSelectOptions.d.ts +52 -0
- package/dist/ui-public/src/hooks/useAsyncSelectOptions.js +85 -0
- package/dist/ui-public/src/hooks/useAutoincrementIntegerId.js +11 -0
- package/dist/ui-public/src/hooks/useClickOutside.js +21 -0
- package/dist/ui-public/src/hooks/useCopyToClipboard.js +22 -0
- package/dist/ui-public/src/hooks/useDebounceOnBoolean.js +26 -0
- package/dist/ui-public/src/hooks/useDebouncedCallback.js +12 -0
- package/dist/ui-public/src/hooks/useDebouncedValue.js +17 -0
- package/dist/ui-public/src/hooks/useDeepCompareEffect.js +14 -0
- package/dist/ui-public/src/hooks/useDidUpdateEffect.js +13 -0
- package/dist/ui-public/src/hooks/useElementLayout.js +56 -0
- package/dist/ui-public/src/hooks/useMediaQuery.js +52 -0
- package/dist/ui-public/src/hooks/useRovingKeyDown.js +55 -0
- package/dist/ui-public/src/hooks/useShallowEqual.js +15 -0
- package/dist/ui-public/src/hooks/useSmartRowClick.d.ts +16 -0
- package/dist/ui-public/src/hooks/useSmartRowClick.js +31 -0
- package/dist/ui-public/src/i18n.js +84 -0
- package/dist/ui-public/src/layout/ListOrOverview.js +26 -0
- package/dist/ui-public/src/layout/Page/Page.js +20 -0
- package/dist/ui-public/src/layout/Page/PageContent.js +13 -0
- package/dist/ui-public/src/layout/Page/PageGroup.d.ts +79 -0
- package/dist/ui-public/src/layout/Page/PageGroup.js +66 -0
- package/dist/ui-public/src/layout/Page/PageSection.js +48 -0
- package/dist/ui-public/src/layout/Page/index.js +15 -0
- package/dist/ui-public/src/layout/Pagination.d.ts +32 -0
- package/dist/ui-public/src/layout/Pagination.js +66 -0
- package/dist/ui-public/src/layout/Pane/FormHeader.d.ts +72 -0
- package/dist/ui-public/src/layout/Pane/FormHeader.js +69 -0
- package/dist/ui-public/src/layout/Pane/ListFilter.d.ts +48 -0
- package/dist/ui-public/src/layout/Pane/ListFilter.js +106 -0
- package/dist/ui-public/src/layout/Pane/ListPresets.d.ts +45 -0
- package/dist/ui-public/src/layout/Pane/ListPresets.js +35 -0
- package/dist/ui-public/src/layout/Pane/PaneAriaLabel.js +9 -0
- package/dist/ui-public/src/layout/Pane/PaneHeader.d.ts +68 -0
- package/dist/ui-public/src/layout/Pane/PaneHeader.js +120 -0
- package/dist/ui-public/src/layout/Pane/PaneRegion.js +23 -0
- package/dist/ui-public/src/layout/Pane/PaneTitleId.js +9 -0
- package/dist/ui-public/src/layout/Pane/index.d.ts +170 -0
- package/dist/ui-public/src/layout/Pane/index.js +113 -0
- package/dist/ui-public/src/layout/SidebarPanel.d.ts +110 -0
- package/dist/ui-public/src/layout/SidebarPanel.js +94 -0
- package/dist/ui-public/src/layout/SplitPane/Rail.js +45 -0
- package/dist/ui-public/src/layout/SplitPane/index.d.ts +76 -0
- package/dist/ui-public/src/layout/SplitPane/index.js +318 -0
- package/dist/ui-public/src/layout/SplitPane/toggle.d.ts +9 -0
- package/dist/ui-public/src/layout/SplitPane/toggle.js +13 -0
- package/dist/ui-public/src/layout/SplitView/SashActionButton.js +58 -0
- package/dist/ui-public/src/layout/SplitView/SplitView.js +197 -0
- package/dist/ui-public/src/layout/SplitView/SplitViewPane.js +12 -0
- package/dist/ui-public/src/layout/SplitView/SplitViewSash.js +56 -0
- package/dist/ui-public/src/layout/Toolbar/AddNewButton.d.ts +41 -0
- package/dist/ui-public/src/layout/Toolbar/AddNewButton.js +43 -0
- package/dist/ui-public/src/layout/Toolbar/Button.js +17 -0
- package/dist/ui-public/src/layout/Toolbar/Divider.js +16 -0
- package/dist/ui-public/src/layout/Toolbar/DotsDropdown.js +25 -0
- package/dist/ui-public/src/layout/Toolbar/Fill.js +16 -0
- package/dist/ui-public/src/layout/Toolbar/FilterInput.js +80 -0
- package/dist/ui-public/src/layout/Toolbar/FilterToggle.d.ts +33 -0
- package/dist/ui-public/src/layout/Toolbar/FilterToggle.js +105 -0
- package/dist/ui-public/src/layout/Toolbar/GoBack.d.ts +32 -0
- package/dist/ui-public/src/layout/Toolbar/GoBack.js +33 -0
- package/dist/ui-public/src/layout/Toolbar/Group.js +17 -0
- package/dist/ui-public/src/layout/Toolbar/Help.d.ts +35 -0
- package/dist/ui-public/src/layout/Toolbar/Help.js +56 -0
- package/dist/ui-public/src/layout/Toolbar/Note.d.ts +10 -0
- package/dist/ui-public/src/layout/Toolbar/Note.js +16 -0
- package/dist/ui-public/src/layout/Toolbar/Pagination.d.ts +34 -0
- package/dist/ui-public/src/layout/Toolbar/Pagination.js +57 -0
- package/dist/ui-public/src/layout/Toolbar/PresetsTitle.d.ts +38 -0
- package/dist/ui-public/src/layout/Toolbar/PresetsTitle.js +48 -0
- package/dist/ui-public/src/layout/Toolbar/PrimaryButton.d.ts +53 -0
- package/dist/ui-public/src/layout/Toolbar/PrimaryButton.js +57 -0
- package/dist/ui-public/src/layout/Toolbar/Root.d.ts +30 -0
- package/dist/ui-public/src/layout/Toolbar/Root.js +38 -0
- package/dist/ui-public/src/layout/Toolbar/Search.js +27 -0
- package/dist/ui-public/src/layout/Toolbar/Space.js +9 -0
- package/dist/ui-public/src/layout/Toolbar/Spinner.js +13 -0
- package/dist/ui-public/src/layout/Toolbar/Subtitle.js +12 -0
- package/dist/ui-public/src/layout/Toolbar/TextualDropdown.js +20 -0
- package/dist/ui-public/src/layout/Toolbar/Title.js +43 -0
- package/dist/ui-public/src/layout/Toolbar/ToolbarTitleTrigger.js +23 -0
- package/dist/ui-public/src/layout/Toolbar/context.js +10 -0
- package/dist/ui-public/src/layout/Toolbar/index.d.ts +48 -0
- package/dist/ui-public/src/layout/Toolbar/index.js +51 -0
- package/dist/ui-public/src/layout/sidebarPanelStorage.js +33 -0
- package/dist/ui-public/src/lists/CardList.d.ts +120 -0
- package/dist/ui-public/src/lists/CardList.js +141 -0
- package/dist/ui-public/src/lists/EmptySlot.d.ts +35 -0
- package/dist/ui-public/src/lists/EmptySlot.js +54 -0
- package/dist/ui-public/src/lists/EntityRow.js +48 -0
- package/dist/ui-public/src/lists/EntitySummary.js +28 -0
- package/dist/ui-public/src/lists/InfoList/User.d.ts +42 -0
- package/dist/ui-public/src/lists/InfoList/User.js +58 -0
- package/dist/ui-public/src/lists/InfoList/Value.d.ts +50 -0
- package/dist/ui-public/src/lists/InfoList/Value.js +63 -0
- package/dist/ui-public/src/lists/InfoList/index.d.ts +60 -0
- package/dist/ui-public/src/lists/InfoList/index.js +64 -0
- package/dist/ui-public/src/lists/InsertGap/index.d.ts +58 -0
- package/dist/ui-public/src/lists/InsertGap/index.js +58 -0
- package/dist/ui-public/src/lists/InsertGap/parts.d.ts +27 -0
- package/dist/ui-public/src/lists/InsertGap/parts.js +79 -0
- package/dist/ui-public/src/lists/ListArea.js +18 -0
- package/dist/ui-public/src/lists/MediaCard.d.ts +147 -0
- package/dist/ui-public/src/lists/MediaCard.js +152 -0
- package/dist/ui-public/src/lists/RecordRow/Image.d.ts +24 -0
- package/dist/ui-public/src/lists/RecordRow/Image.js +22 -0
- package/dist/ui-public/src/lists/RecordRow/List.d.ts +26 -0
- package/dist/ui-public/src/lists/RecordRow/List.js +30 -0
- package/dist/ui-public/src/lists/RecordRow/context.js +31 -0
- package/dist/ui-public/src/lists/RecordRow/index.d.ts +94 -0
- package/dist/ui-public/src/lists/RecordRow/index.js +122 -0
- package/dist/ui-public/src/lists/RecordRow/presentation.js +73 -0
- package/dist/ui-public/src/lists/RecordRow/types.d.ts +58 -0
- package/dist/ui-public/src/lists/RowList.d.ts +98 -0
- package/dist/ui-public/src/lists/RowList.js +87 -0
- package/dist/ui-public/src/lists/SettingsList.d.ts +41 -0
- package/dist/ui-public/src/lists/SettingsList.js +47 -0
- package/dist/ui-public/src/lists/Table/Body.js +47 -0
- package/dist/ui-public/src/lists/Table/Cell.js +42 -0
- package/dist/ui-public/src/lists/Table/ColumnsMenu.js +48 -0
- package/dist/ui-public/src/lists/Table/Header.js +132 -0
- package/dist/ui-public/src/lists/Table/HeaderCell.js +67 -0
- package/dist/ui-public/src/lists/Table/Row.d.ts +139 -0
- package/dist/ui-public/src/lists/Table/Row.js +211 -0
- package/dist/ui-public/src/lists/Table/Table.d.ts +61 -0
- package/dist/ui-public/src/lists/Table/Table.js +100 -0
- package/dist/ui-public/src/lists/Table/TableContext.js +17 -0
- package/dist/ui-public/src/lists/Table/TreeToggle.d.ts +34 -0
- package/dist/ui-public/src/lists/Table/TreeToggle.js +50 -0
- package/dist/ui-public/src/lists/Table/cells/EntityCell.d.ts +33 -0
- package/dist/ui-public/src/lists/Table/cells/EntityCell.js +30 -0
- package/dist/ui-public/src/lists/Table/cells/IconCell.js +17 -0
- package/dist/ui-public/src/lists/Table/cells/LinkCell.d.ts +11 -0
- package/dist/ui-public/src/lists/Table/cells/LinkCell.js +15 -0
- package/dist/ui-public/src/lists/Table/cells/StatusCell.js +14 -0
- package/dist/ui-public/src/lists/Table/cells/TimeCell.d.ts +9 -0
- package/dist/ui-public/src/lists/Table/cells/TimeCell.js +21 -0
- package/dist/ui-public/src/lists/Table/index.js +18 -0
- package/dist/ui-public/src/lists/Table/layout.js +115 -0
- package/dist/ui-public/src/lists/Table/storage.js +26 -0
- package/dist/ui-public/src/lists/Table/types.d.ts +61 -0
- package/dist/ui-public/src/lists/Table/useClientSort.js +31 -0
- package/dist/ui-public/src/lists/TreeRow/Action.d.ts +21 -0
- package/dist/ui-public/src/lists/TreeRow/Action.js +34 -0
- package/dist/ui-public/src/lists/TreeRow/Link.d.ts +12 -0
- package/dist/ui-public/src/lists/TreeRow/Link.js +21 -0
- package/dist/ui-public/src/lists/TreeRow/index.d.ts +53 -0
- package/dist/ui-public/src/lists/TreeRow/index.js +63 -0
- package/dist/ui-public/src/lists/UploadCard.d.ts +122 -0
- package/dist/ui-public/src/lists/UploadCard.js +178 -0
- package/dist/ui-public/src/lists/UserRow.d.ts +122 -0
- package/dist/ui-public/src/lists/UserRow.js +104 -0
- package/dist/ui-public/src/lists/dnd/DragHandle.d.ts +19 -0
- package/dist/ui-public/src/lists/dnd/DragHandle.js +19 -0
- package/dist/ui-public/src/lists/dnd/DropIndicator.js +18 -0
- package/dist/ui-public/src/lists/dnd/SortableList.d.ts +101 -0
- package/dist/ui-public/src/lists/dnd/SortableList.js +238 -0
- package/dist/ui-public/src/lists/dnd/autoScroll.js +53 -0
- package/dist/ui-public/src/lists/dnd/dropTargetClassName.d.ts +25 -0
- package/dist/ui-public/src/lists/dnd/dropTargetClassName.js +18 -0
- package/dist/ui-public/src/lists/dnd/getGapTo.js +14 -0
- package/dist/ui-public/src/lists/dnd/reorder.js +16 -0
- package/dist/ui-public/src/lists/dnd/tree/SortableTree.d.ts +77 -0
- package/dist/ui-public/src/lists/dnd/tree/SortableTree.js +333 -0
- package/dist/ui-public/src/lists/dnd/tree/TreeRowContext.js +10 -0
- package/dist/ui-public/src/lists/dnd/tree/useTreeKeyboardNavigation.js +59 -0
- package/dist/ui-public/src/lists/dnd/tree/utils.js +96 -0
- package/dist/ui-public/src/lists/dnd/types.js +6 -0
- package/dist/ui-public/src/lists/dnd/useDragMonitor.js +40 -0
- package/dist/ui-public/src/lists/dnd/useDraggable.js +66 -0
- package/dist/ui-public/src/lists/dnd/useDropTarget.js +53 -0
- package/dist/ui-public/src/lists/dnd/useFileDropTarget.js +53 -0
- package/dist/ui-public/src/lists/dnd/useFilePicker.js +28 -0
- package/dist/ui-public/src/lists/dnd/useIsFileDragActive.js +28 -0
- package/dist/ui-public/src/navigation/Chevron.d.ts +40 -0
- package/dist/ui-public/src/navigation/Chevron.js +56 -0
- package/dist/ui-public/src/navigation/Link.d.ts +58 -0
- package/dist/ui-public/src/navigation/Link.js +40 -0
- package/dist/ui-public/src/navigation/NavList.d.ts +29 -0
- package/dist/ui-public/src/navigation/NavList.js +31 -0
- package/dist/ui-public/src/navigation/NavigationProvider.d.ts +61 -0
- package/dist/ui-public/src/navigation/NavigationProvider.js +55 -0
- package/dist/ui-public/src/navigation/SegmentedControl.d.ts +70 -0
- package/dist/ui-public/src/navigation/SegmentedControl.js +61 -0
- package/dist/ui-public/src/navigation/SettingsMenu.d.ts +107 -0
- package/dist/ui-public/src/navigation/SettingsMenu.js +91 -0
- package/dist/ui-public/src/navigation/SidebarTree/SidebarTreeNode.d.ts +114 -0
- package/dist/ui-public/src/navigation/SidebarTree/SidebarTreeNode.js +173 -0
- package/dist/ui-public/src/navigation/SidebarTree/SidebarTreeNodeActions.d.ts +33 -0
- package/dist/ui-public/src/navigation/SidebarTree/SidebarTreeNodeActions.js +63 -0
- package/dist/ui-public/src/navigation/SidebarTree/index.js +9 -0
- package/dist/ui-public/src/navigation/Tabs.js +178 -0
- package/dist/ui-public/src/navigation/useTabRowFadeReset.js +33 -0
- package/dist/ui-public/src/overlays/FullscreenModal/Panel.js +37 -0
- package/dist/ui-public/src/overlays/FullscreenModal/TitleContext.d.ts +10 -0
- package/dist/ui-public/src/overlays/FullscreenModal/TitleContext.js +18 -0
- package/dist/ui-public/src/overlays/FullscreenModal/index.d.ts +36 -0
- package/dist/ui-public/src/overlays/FullscreenModal/index.js +56 -0
- package/dist/ui-public/src/overlays/HoverCard/Surface.js +16 -0
- package/dist/ui-public/src/overlays/HoverCard/index.d.ts +55 -0
- package/dist/ui-public/src/overlays/HoverCard/index.js +76 -0
- package/dist/ui-public/src/overlays/HoverDelayGroup.js +41 -0
- package/dist/ui-public/src/overlays/Modal/Layer.d.ts +18 -0
- package/dist/ui-public/src/overlays/Modal/Layer.js +18 -0
- package/dist/ui-public/src/overlays/Modal/Panel.d.ts +27 -0
- package/dist/ui-public/src/overlays/Modal/Panel.js +66 -0
- package/dist/ui-public/src/overlays/Modal/index.d.ts +65 -0
- package/dist/ui-public/src/overlays/Modal/index.js +98 -0
- package/dist/ui-public/src/overlays/NewZIndex.d.ts +14 -0
- package/dist/ui-public/src/overlays/NewZIndex.js +19 -0
- package/dist/ui-public/src/overlays/Popover.d.ts +50 -0
- package/dist/ui-public/src/overlays/Popover.js +80 -0
- package/dist/ui-public/src/overlays/Portal.js +33 -0
- package/dist/ui-public/src/overlays/PortalWrapper.js +22 -0
- package/dist/ui-public/src/overlays/Tooltip/Box.js +28 -0
- package/dist/ui-public/src/overlays/Tooltip/index.d.ts +51 -0
- package/dist/ui-public/src/overlays/Tooltip/index.js +77 -0
- package/dist/ui-public/src/overlays/confirmQuestion.js +61 -0
- package/dist/ui-public/src/overlays/floatingTrigger.js +13 -0
- package/dist/ui-public/src/overlays/focusReturn.js +35 -0
- package/dist/ui-public/src/overlays/useModalClose.js +138 -0
- package/dist/ui-public/src/patterns/ListDetail/FloatingDetail.js +71 -0
- package/dist/ui-public/src/patterns/ListDetail/Overview.js +16 -0
- package/dist/ui-public/src/patterns/ListDetail/Page.d.ts +122 -0
- package/dist/ui-public/src/patterns/ListDetail/Page.js +136 -0
- package/dist/ui-public/src/patterns/ListDetail/Panel.d.ts +62 -0
- package/dist/ui-public/src/patterns/ListDetail/Panel.js +74 -0
- package/dist/ui-public/src/patterns/ListDetail/Split.d.ts +51 -0
- package/dist/ui-public/src/patterns/ListDetail/Split.js +161 -0
- package/dist/ui-public/src/patterns/ListDetail/Widths.js +21 -0
- package/dist/ui-public/src/patterns/ListDetail/index.d.ts +13 -0
- package/dist/ui-public/src/patterns/ListDetail/index.js +14 -0
- package/dist/ui-public/src/patterns/ListDetail/useDetailWidthDrag.js +43 -0
- package/dist/ui-public/src/patterns/ListFormPage.d.ts +38 -0
- package/dist/ui-public/src/patterns/ListFormPage.js +29 -0
- package/dist/ui-public/src/semantic/Aside.js +19 -0
- package/dist/ui-public/src/semantic/Heading.d.ts +22 -0
- package/dist/ui-public/src/semantic/Heading.js +26 -0
- package/dist/ui-public/src/semantic/Image.js +17 -0
- package/dist/ui-public/src/semantic/Main.js +67 -0
- package/dist/ui-public/src/semantic/Nav.d.ts +24 -0
- package/dist/ui-public/src/semantic/Nav.js +20 -0
- package/dist/ui-public/src/semantic/NavigationFocusProvider.js +9 -0
- package/dist/ui-public/src/semantic/RawButton.d.ts +91 -0
- package/dist/ui-public/src/semantic/RawButton.js +57 -0
- package/dist/ui-public/src/semantic/Search.d.ts +26 -0
- package/dist/ui-public/src/semantic/Search.js +20 -0
- package/dist/ui-public/src/utils/escapeHtml.js +6 -0
- package/dist/ui-public/src/utils/events.js +6 -0
- package/dist/ui-public/src/utils/fieldTypes.d.ts +29 -0
- package/dist/ui-public/src/utils/fieldTypes.js +94 -0
- package/dist/ui-public/src/utils/format.d.ts +21 -0
- package/dist/ui-public/src/utils/format.js +20 -0
- package/dist/ui-public/src/utils/formatDate.d.ts +70 -0
- package/dist/ui-public/src/utils/formatDate.js +95 -0
- package/dist/ui-public/src/utils/isDefined.js +6 -0
- package/dist/ui-public/src/utils/localeDirection.js +11 -0
- package/dist/ui-public/src/utils/mouseHoverProps.js +13 -0
- package/dist/ui-public/src/utils/pointerNearGap.d.ts +28 -0
- package/dist/ui-public/src/utils/pointerNearGap.js +256 -0
- package/dist/ui-public/src/utils/randomKey.js +10 -0
- package/dist/ui-public/src/utils/tickBatcher.js +44 -0
- package/dist/ui-public/src/utils/times.js +6 -0
- package/dist/ui-public/src/utils/timezones.js +277 -0
- package/dist/ui-public/src/utils/weekStartForLocale.js +25 -0
- package/dist/utils/fieldTypes.d.ts +1 -0
- package/dist/utils/fieldTypes.js +2 -0
- package/dist/utils/format.d.ts +1 -0
- package/dist/utils/format.js +2 -0
- package/dist/utils/formatDate.d.ts +1 -1
- package/dist/utils/formatDate.js +1 -1
- package/package.json +6 -6
- package/dist/ui/icons/brands/gitlab.js +0 -15
- package/dist/ui/icons/brands/markdown.js +0 -15
- package/dist/ui/icons/custom/color_d_icon.js +0 -20
- package/dist/ui/icons/custom/fieldgroup-boolean.js +0 -18
- package/dist/ui/icons/custom/fieldgroup-color.js +0 -18
- package/dist/ui/icons/custom/fieldgroup-datetime.js +0 -49
- package/dist/ui/icons/custom/fieldgroup-json.js +0 -18
- package/dist/ui/icons/custom/fieldgroup-location.js +0 -19
- package/dist/ui/icons/custom/fieldgroup-media.js +0 -18
- package/dist/ui/icons/custom/fieldgroup-number.js +0 -18
- package/dist/ui/icons/custom/fieldgroup-reference.js +0 -18
- package/dist/ui/icons/custom/fieldgroup-rich_text.js +0 -18
- package/dist/ui/icons/custom/fieldgroup-seo.js +0 -22
- package/dist/ui/icons/custom/fieldgroup-structured_text.js +0 -61
- package/dist/ui/icons/custom/language.js +0 -16
- package/dist/ui/icons/custom/masonry.js +0 -21
- package/dist/ui/icons/custom/netlify.js +0 -33
- package/dist/ui/icons/custom/twitter-verified.js +0 -18
- package/dist/ui/icons/custom/vercel.js +0 -15
- package/dist/ui/icons/index.js +0 -402
- package/dist/ui/icons/light/eye-slash.js +0 -16
- package/dist/ui/icons/light/eye.js +0 -16
- package/dist/ui/icons/regular/align-left.js +0 -15
- package/dist/ui/icons/regular/arrow-down-a-z.js +0 -16
- package/dist/ui/icons/regular/arrow-down-to-line.js +0 -15
- package/dist/ui/icons/regular/arrow-down.js +0 -16
- package/dist/ui/icons/regular/arrow-left.js +0 -16
- package/dist/ui/icons/regular/arrow-right-arrow-left.js +0 -16
- package/dist/ui/icons/regular/arrow-right-from-bracket.js +0 -16
- package/dist/ui/icons/regular/arrow-right.js +0 -16
- package/dist/ui/icons/regular/arrow-rotate-left.js +0 -15
- package/dist/ui/icons/regular/arrow-rotate-right.js +0 -16
- package/dist/ui/icons/regular/arrow-turn-up.js +0 -16
- package/dist/ui/icons/regular/arrow-up-arrow-down.js +0 -16
- package/dist/ui/icons/regular/arrow-up-right-from-square.js +0 -16
- package/dist/ui/icons/regular/arrow-up-to-line.js +0 -15
- package/dist/ui/icons/regular/arrow-up.js +0 -16
- package/dist/ui/icons/regular/arrows-from-line.js +0 -16
- package/dist/ui/icons/regular/arrows-rotate.js +0 -16
- package/dist/ui/icons/regular/arrows-to-line.js +0 -16
- package/dist/ui/icons/regular/arrows-turn-to-dots.js +0 -15
- package/dist/ui/icons/regular/badge-check.js +0 -15
- package/dist/ui/icons/regular/ballot-check.js +0 -15
- package/dist/ui/icons/regular/ban.js +0 -16
- package/dist/ui/icons/regular/bars.js +0 -16
- package/dist/ui/icons/regular/bold.js +0 -15
- package/dist/ui/icons/regular/bolt.js +0 -15
- package/dist/ui/icons/regular/book.js +0 -16
- package/dist/ui/icons/regular/bookmark.js +0 -16
- package/dist/ui/icons/regular/brackets-curly.js +0 -15
- package/dist/ui/icons/regular/browser.js +0 -16
- package/dist/ui/icons/regular/calendar-clock.js +0 -15
- package/dist/ui/icons/regular/calendar.js +0 -16
- package/dist/ui/icons/regular/chart-area.js +0 -15
- package/dist/ui/icons/regular/check.js +0 -16
- package/dist/ui/icons/regular/chevron-down.js +0 -16
- package/dist/ui/icons/regular/chevron-left.js +0 -16
- package/dist/ui/icons/regular/chevron-right.js +0 -16
- package/dist/ui/icons/regular/chevrons-down.js +0 -16
- package/dist/ui/icons/regular/chevrons-left.js +0 -16
- package/dist/ui/icons/regular/chevrons-right.js +0 -16
- package/dist/ui/icons/regular/circle-arrow-up.js +0 -16
- package/dist/ui/icons/regular/circle-check.js +0 -16
- package/dist/ui/icons/regular/circle-dot.js +0 -16
- package/dist/ui/icons/regular/circle-exclamation.js +0 -16
- package/dist/ui/icons/regular/circle-info.js +0 -16
- package/dist/ui/icons/regular/circle-question.js +0 -16
- package/dist/ui/icons/regular/clapperboard-play.js +0 -15
- package/dist/ui/icons/regular/clipboard.js +0 -15
- package/dist/ui/icons/regular/clock-rotate-left.js +0 -16
- package/dist/ui/icons/regular/clock.js +0 -16
- package/dist/ui/icons/regular/clone.js +0 -16
- package/dist/ui/icons/regular/cloud-arrow-down.js +0 -15
- package/dist/ui/icons/regular/code-branch.js +0 -16
- package/dist/ui/icons/regular/code-fork.js +0 -16
- package/dist/ui/icons/regular/command.js +0 -16
- package/dist/ui/icons/regular/comments.js +0 -16
- package/dist/ui/icons/regular/copy.js +0 -16
- package/dist/ui/icons/regular/cube.js +0 -15
- package/dist/ui/icons/regular/cubes.js +0 -15
- package/dist/ui/icons/regular/dash.js +0 -16
- package/dist/ui/icons/regular/database.js +0 -15
- package/dist/ui/icons/regular/diamond.js +0 -15
- package/dist/ui/icons/regular/down.js +0 -16
- package/dist/ui/icons/regular/download.js +0 -16
- package/dist/ui/icons/regular/earth-europe.js +0 -16
- package/dist/ui/icons/regular/ellipsis-vertical.js +0 -16
- package/dist/ui/icons/regular/ellipsis.js +0 -16
- package/dist/ui/icons/regular/envelope.js +0 -16
- package/dist/ui/icons/regular/expand.js +0 -16
- package/dist/ui/icons/regular/eye-dropper.js +0 -16
- package/dist/ui/icons/regular/file-export.js +0 -16
- package/dist/ui/icons/regular/file-lines.js +0 -15
- package/dist/ui/icons/regular/file-shield.js +0 -15
- package/dist/ui/icons/regular/file.js +0 -15
- package/dist/ui/icons/regular/filter.js +0 -16
- package/dist/ui/icons/regular/fire-flame-curved.js +0 -15
- package/dist/ui/icons/regular/flask-gear.js +0 -15
- package/dist/ui/icons/regular/flask.js +0 -15
- package/dist/ui/icons/regular/folder-gear.js +0 -15
- package/dist/ui/icons/regular/folder-magnifying-glass.js +0 -15
- package/dist/ui/icons/regular/folder-open.js +0 -16
- package/dist/ui/icons/regular/folder-plus.js +0 -16
- package/dist/ui/icons/regular/folder.js +0 -16
- package/dist/ui/icons/regular/folders.js +0 -16
- package/dist/ui/icons/regular/gear.js +0 -16
- package/dist/ui/icons/regular/gift.js +0 -16
- package/dist/ui/icons/regular/globe.js +0 -16
- package/dist/ui/icons/regular/grid-2.js +0 -16
- package/dist/ui/icons/regular/grip-dots-vertical.js +0 -16
- package/dist/ui/icons/regular/hand.js +0 -16
- package/dist/ui/icons/regular/hourglass-clock.js +0 -16
- package/dist/ui/icons/regular/house.js +0 -16
- package/dist/ui/icons/regular/images.js +0 -15
- package/dist/ui/icons/regular/input-numeric.js +0 -15
- package/dist/ui/icons/regular/input-text.js +0 -15
- package/dist/ui/icons/regular/keyboard.js +0 -16
- package/dist/ui/icons/regular/layer-group.js +0 -15
- package/dist/ui/icons/regular/life-ring.js +0 -16
- package/dist/ui/icons/regular/link-simple.js +0 -15
- package/dist/ui/icons/regular/link.js +0 -16
- package/dist/ui/icons/regular/list-tree.js +0 -16
- package/dist/ui/icons/regular/list.js +0 -16
- package/dist/ui/icons/regular/magnifying-glass-chart.js +0 -15
- package/dist/ui/icons/regular/magnifying-glass.js +0 -16
- package/dist/ui/icons/regular/map-location-dot.js +0 -16
- package/dist/ui/icons/regular/memo.js +0 -16
- package/dist/ui/icons/regular/octagon-exclamation.js +0 -16
- package/dist/ui/icons/regular/palette.js +0 -16
- package/dist/ui/icons/regular/paper-plane.js +0 -16
- package/dist/ui/icons/regular/paragraph.js +0 -15
- package/dist/ui/icons/regular/paste.js +0 -15
- package/dist/ui/icons/regular/pause.js +0 -16
- package/dist/ui/icons/regular/pen-paintbrush.js +0 -15
- package/dist/ui/icons/regular/pen-to-square.js +0 -15
- package/dist/ui/icons/regular/pen.js +0 -16
- package/dist/ui/icons/regular/people-arrows.js +0 -16
- package/dist/ui/icons/regular/photo-film.js +0 -15
- package/dist/ui/icons/regular/play.js +0 -16
- package/dist/ui/icons/regular/puzzle-piece.js +0 -15
- package/dist/ui/icons/regular/receipt.js +0 -16
- package/dist/ui/icons/regular/rectangle-barcode.js +0 -15
- package/dist/ui/icons/regular/rectangle-list.js +0 -15
- package/dist/ui/icons/regular/right-left.js +0 -15
- package/dist/ui/icons/regular/rotate-left.js +0 -16
- package/dist/ui/icons/regular/shield.js +0 -15
- package/dist/ui/icons/regular/sidebar-flip.js +0 -16
- package/dist/ui/icons/regular/sidebar.js +0 -16
- package/dist/ui/icons/regular/sliders.js +0 -16
- package/dist/ui/icons/regular/sparkles.js +0 -15
- package/dist/ui/icons/regular/square-caret-down.js +0 -15
- package/dist/ui/icons/regular/square-check.js +0 -15
- package/dist/ui/icons/regular/square-dashed.js +0 -15
- package/dist/ui/icons/regular/square-left.js +0 -16
- package/dist/ui/icons/regular/square-terminal.js +0 -16
- package/dist/ui/icons/regular/square-up-right.js +0 -16
- package/dist/ui/icons/regular/store.js +0 -16
- package/dist/ui/icons/regular/swap-arrows.js +0 -15
- package/dist/ui/icons/regular/table.js +0 -16
- package/dist/ui/icons/regular/tag.js +0 -16
- package/dist/ui/icons/regular/toggle-on.js +0 -15
- package/dist/ui/icons/regular/toolbox.js +0 -16
- package/dist/ui/icons/regular/trash-undo.js +0 -15
- package/dist/ui/icons/regular/trash.js +0 -16
- package/dist/ui/icons/regular/triangle-exclamation.js +0 -16
- package/dist/ui/icons/regular/turn-up.js +0 -16
- package/dist/ui/icons/regular/user-group.js +0 -15
- package/dist/ui/icons/regular/user-helmet-safety.js +0 -16
- package/dist/ui/icons/regular/user-lock.js +0 -16
- package/dist/ui/icons/regular/user-minus.js +0 -16
- package/dist/ui/icons/regular/user-tie.js +0 -15
- package/dist/ui/icons/regular/user.js +0 -16
- package/dist/ui/icons/regular/users.js +0 -15
- package/dist/ui/icons/regular/video.js +0 -15
- package/dist/ui/icons/regular/webhook.js +0 -15
- package/dist/ui/icons/regular/wrench.js +0 -15
- package/dist/ui/icons/regular/xmark.js +0 -16
- package/dist/ui/icons/solid/align-center.js +0 -16
- package/dist/ui/icons/solid/align-justify.js +0 -16
- package/dist/ui/icons/solid/align-left.js +0 -16
- package/dist/ui/icons/solid/align-right.js +0 -16
- package/dist/ui/icons/solid/arrow-rotate-left.js +0 -16
- package/dist/ui/icons/solid/arrow-rotate-right.js +0 -16
- package/dist/ui/icons/solid/bold.js +0 -16
- package/dist/ui/icons/solid/circle-exclamation.js +0 -16
- package/dist/ui/icons/solid/closed-captioning.js +0 -15
- package/dist/ui/icons/solid/code.js +0 -16
- package/dist/ui/icons/solid/compress.js +0 -16
- package/dist/ui/icons/solid/download.js +0 -15
- package/dist/ui/icons/solid/expand.js +0 -16
- package/dist/ui/icons/solid/file-arrow-down.js +0 -15
- package/dist/ui/icons/solid/file-code.js +0 -16
- package/dist/ui/icons/solid/grid-2.js +0 -16
- package/dist/ui/icons/solid/h1.js +0 -16
- package/dist/ui/icons/solid/h2.js +0 -16
- package/dist/ui/icons/solid/h3.js +0 -16
- package/dist/ui/icons/solid/h4.js +0 -16
- package/dist/ui/icons/solid/h5.js +0 -16
- package/dist/ui/icons/solid/h6.js +0 -16
- package/dist/ui/icons/solid/highlighter.js +0 -16
- package/dist/ui/icons/solid/horizontal-rule.js +0 -16
- package/dist/ui/icons/solid/image.js +0 -16
- package/dist/ui/icons/solid/indent.js +0 -16
- package/dist/ui/icons/solid/italic.js +0 -16
- package/dist/ui/icons/solid/link.js +0 -16
- package/dist/ui/icons/solid/list-ol.js +0 -16
- package/dist/ui/icons/solid/list-ul.js +0 -16
- package/dist/ui/icons/solid/location-dot.js +0 -16
- package/dist/ui/icons/solid/music.js +0 -15
- package/dist/ui/icons/solid/outdent.js +0 -16
- package/dist/ui/icons/solid/paragraph.js +0 -16
- package/dist/ui/icons/solid/plus.js +0 -16
- package/dist/ui/icons/solid/quote-right.js +0 -16
- package/dist/ui/icons/solid/rectangle-code.js +0 -16
- package/dist/ui/icons/solid/square-plus.js +0 -16
- package/dist/ui/icons/solid/strikethrough.js +0 -16
- package/dist/ui/icons/solid/subtitles.js +0 -15
- package/dist/ui/icons/solid/table.js +0 -16
- package/dist/ui/icons/solid/triangle-exclamation.js +0 -16
- package/dist/ui/icons/solid/underline.js +0 -16
- package/dist/ui/locales/en.js +0 -106
- package/dist/ui/src/BundledTexts.d.ts +0 -26
- package/dist/ui/src/BundledTexts.js +0 -57
- package/dist/ui/src/HostServicesProvider.js +0 -26
- package/dist/ui/src/Message.d.ts +0 -29
- package/dist/ui/src/Message.js +0 -9
- package/dist/ui/src/TextsProvider.d.ts +0 -32
- package/dist/ui/src/TextsProvider.js +0 -22
- package/dist/ui/src/UiTextKey.d.ts +0 -2
- package/dist/ui/src/actions/Actions/ActionTooltip.js +0 -24
- package/dist/ui/src/actions/Actions/Shortcut.js +0 -45
- package/dist/ui/src/actions/Actions/index.d.ts +0 -3
- package/dist/ui/src/actions/Actions/registry.d.ts +0 -211
- package/dist/ui/src/actions/Actions/registry.js +0 -580
- package/dist/ui/src/actions/Actions/shortcuts.js +0 -284
- package/dist/ui/src/actions/Button.d.ts +0 -191
- package/dist/ui/src/actions/Button.js +0 -164
- package/dist/ui/src/actions/Dropdown/DropdownContext.js +0 -12
- package/dist/ui/src/actions/Dropdown/Footer.js +0 -14
- package/dist/ui/src/actions/Dropdown/Group.js +0 -19
- package/dist/ui/src/actions/Dropdown/Menu.d.ts +0 -47
- package/dist/ui/src/actions/Dropdown/Menu.js +0 -105
- package/dist/ui/src/actions/Dropdown/MenuContent.d.ts +0 -21
- package/dist/ui/src/actions/Dropdown/MenuContent.js +0 -150
- package/dist/ui/src/actions/Dropdown/MenuContext.js +0 -12
- package/dist/ui/src/actions/Dropdown/MenuParts.d.ts +0 -36
- package/dist/ui/src/actions/Dropdown/MenuParts.js +0 -77
- package/dist/ui/src/actions/Dropdown/MenuSheet.js +0 -26
- package/dist/ui/src/actions/Dropdown/Option.d.ts +0 -157
- package/dist/ui/src/actions/Dropdown/Option.js +0 -216
- package/dist/ui/src/actions/Dropdown/OptionAction.js +0 -31
- package/dist/ui/src/actions/Dropdown/Separator.js +0 -15
- package/dist/ui/src/actions/Dropdown/Submenu.js +0 -92
- package/dist/ui/src/actions/Dropdown/Text.js +0 -12
- package/dist/ui/src/actions/Dropdown/index.d.ts +0 -71
- package/dist/ui/src/actions/Dropdown/index.js +0 -117
- package/dist/ui/src/actions/Dropdown/placementStyle.js +0 -18
- package/dist/ui/src/actions/Dropdown/triggers/ButtonTrigger.d.ts +0 -57
- package/dist/ui/src/actions/Dropdown/triggers/ButtonTrigger.js +0 -53
- package/dist/ui/src/actions/Dropdown/triggers/DropdownTriggerButton.d.ts +0 -18
- package/dist/ui/src/actions/Dropdown/triggers/DropdownTriggerButton.js +0 -40
- package/dist/ui/src/actions/Dropdown/triggers/IconTrigger.d.ts +0 -35
- package/dist/ui/src/actions/Dropdown/triggers/IconTrigger.js +0 -27
- package/dist/ui/src/actions/Dropdown/triggers/PillTrigger.js +0 -28
- package/dist/ui/src/actions/Dropdown/triggers/TextualTrigger.js +0 -26
- package/dist/ui/src/actions/Dropdown/triggers/handleDropdownTriggerKeyDown.js +0 -12
- package/dist/ui/src/actions/Dropdown/useCloseMenu.js +0 -14
- package/dist/ui/src/actions/Dropdown/useDropdownRegistry.js +0 -15
- package/dist/ui/src/actions/Dropdown/useTriggerLang.js +0 -14
- package/dist/ui/src/actions/EditorToolbar/Button.d.ts +0 -36
- package/dist/ui/src/actions/EditorToolbar/Button.js +0 -42
- package/dist/ui/src/actions/EditorToolbar/Buttons.js +0 -138
- package/dist/ui/src/actions/EditorToolbar/Group.js +0 -11
- package/dist/ui/src/actions/EditorToolbar/hooks.js +0 -48
- package/dist/ui/src/actions/EditorToolbar/index.js +0 -147
- package/dist/ui/src/actions/MultipleSelectionActionBar.d.ts +0 -92
- package/dist/ui/src/actions/MultipleSelectionActionBar.js +0 -123
- package/dist/ui/src/actions/SplitButton/Caret.js +0 -29
- package/dist/ui/src/actions/SplitButton/index.d.ts +0 -52
- package/dist/ui/src/actions/SplitButton/index.js +0 -38
- package/dist/ui/src/actions/disabledReason.d.ts +0 -28
- package/dist/ui/src/actions/disabledReason.js +0 -30
- package/dist/ui/src/color/generateColorMapper.js +0 -6
- package/dist/ui/src/color/oklch.js +0 -9
- package/dist/ui/src/color/utils.js +0 -15
- package/dist/ui/src/content/ApiKey.js +0 -12
- package/dist/ui/src/content/Avatar.d.ts +0 -57
- package/dist/ui/src/content/Avatar.js +0 -55
- package/dist/ui/src/content/CodeSnippet.d.ts +0 -26
- package/dist/ui/src/content/CodeSnippet.js +0 -27
- package/dist/ui/src/content/CopyButton.js +0 -22
- package/dist/ui/src/content/CopyableId.js +0 -33
- package/dist/ui/src/content/CopyableValue.d.ts +0 -36
- package/dist/ui/src/content/CopyableValue.js +0 -58
- package/dist/ui/src/content/DateSettings.d.ts +0 -20
- package/dist/ui/src/content/DateSettings.js +0 -26
- package/dist/ui/src/content/FeedbackDot.js +0 -25
- package/dist/ui/src/content/FramedImage.js +0 -44
- package/dist/ui/src/content/IconAvatar.d.ts +0 -42
- package/dist/ui/src/content/IconAvatar.js +0 -36
- package/dist/ui/src/content/IdText.js +0 -30
- package/dist/ui/src/content/InitialsAvatar.js +0 -69
- package/dist/ui/src/content/Pill.d.ts +0 -47
- package/dist/ui/src/content/Pill.js +0 -40
- package/dist/ui/src/content/SmartDate.d.ts +0 -34
- package/dist/ui/src/content/SmartDate.js +0 -24
- package/dist/ui/src/content/UploadThreatTriangle.d.ts +0 -8
- package/dist/ui/src/content/UploadThreatTriangle.js +0 -25
- package/dist/ui/src/content/UsageMeter.d.ts +0 -36
- package/dist/ui/src/content/UsageMeter.js +0 -67
- package/dist/ui/src/content/ValidityTriangles.d.ts +0 -38
- package/dist/ui/src/content/ValidityTriangles.js +0 -56
- package/dist/ui/src/content/pillClassName.js +0 -15
- package/dist/ui/src/feedback/BlankSlate.d.ts +0 -93
- package/dist/ui/src/feedback/BlankSlate.js +0 -93
- package/dist/ui/src/feedback/Callout.d.ts +0 -35
- package/dist/ui/src/feedback/Callout.js +0 -33
- package/dist/ui/src/feedback/ProgressBar.d.ts +0 -35
- package/dist/ui/src/feedback/ProgressBar.js +0 -28
- package/dist/ui/src/feedback/Spinner.d.ts +0 -66
- package/dist/ui/src/feedback/Spinner.js +0 -77
- package/dist/ui/src/form/AutosizeInput.js +0 -14
- package/dist/ui/src/form/DebouncedTextInput.js +0 -52
- package/dist/ui/src/form/FieldHint.d.ts +0 -28
- package/dist/ui/src/form/FieldHint.js +0 -56
- package/dist/ui/src/form/FieldWrapper.d.ts +0 -332
- package/dist/ui/src/form/FieldWrapper.js +0 -115
- package/dist/ui/src/form/FormAppContext.js +0 -9
- package/dist/ui/src/form/InputGroup.d.ts +0 -78
- package/dist/ui/src/form/InputGroup.js +0 -98
- package/dist/ui/src/form/KeyValueList.d.ts +0 -60
- package/dist/ui/src/form/KeyValueList.js +0 -80
- package/dist/ui/src/form/Label.d.ts +0 -45
- package/dist/ui/src/form/Label.js +0 -46
- package/dist/ui/src/form/NumberInput.js +0 -54
- package/dist/ui/src/form/PasswordInput.js +0 -54
- package/dist/ui/src/form/RadioGroupInput.d.ts +0 -42
- package/dist/ui/src/form/RadioGroupInput.js +0 -85
- package/dist/ui/src/form/SelectInput/Context.js +0 -8
- package/dist/ui/src/form/SelectInput/SelectClearIndicator.js +0 -17
- package/dist/ui/src/form/SelectInput/SelectDropdownIndicator.js +0 -14
- package/dist/ui/src/form/SelectInput/SelectEmpty.js +0 -10
- package/dist/ui/src/form/SelectInput/SelectGroup.js +0 -13
- package/dist/ui/src/form/SelectInput/SelectInputElement.js +0 -15
- package/dist/ui/src/form/SelectInput/SelectMenu.d.ts +0 -46
- package/dist/ui/src/form/SelectInput/SelectMenu.js +0 -89
- package/dist/ui/src/form/SelectInput/SelectMultiValueRemove.js +0 -27
- package/dist/ui/src/form/SelectInput/SelectOption.js +0 -22
- package/dist/ui/src/form/SelectInput/SortableMultiValue.js +0 -30
- package/dist/ui/src/form/SelectInput/SortableValueContainer.js +0 -19
- package/dist/ui/src/form/SelectInput/index.d.ts +0 -112
- package/dist/ui/src/form/SelectInput/index.js +0 -181
- package/dist/ui/src/form/SelectInput/useSelectClassNames.js +0 -63
- package/dist/ui/src/form/SelectInput/useSelectValueAdapter.js +0 -48
- package/dist/ui/src/form/StringInput.js +0 -29
- package/dist/ui/src/form/SwitchInput.d.ts +0 -35
- package/dist/ui/src/form/SwitchInput.js +0 -84
- package/dist/ui/src/form/SwitchList.d.ts +0 -16
- package/dist/ui/src/form/SwitchList.js +0 -25
- package/dist/ui/src/form/TableList.d.ts +0 -206
- package/dist/ui/src/form/TableList.js +0 -273
- package/dist/ui/src/form/TextareaInput.js +0 -73
- package/dist/ui/src/form/getEditState.js +0 -12
- package/dist/ui/src/form/inputProps.d.ts +0 -119
- package/dist/ui/src/form/useTextInputHandlers.js +0 -37
- package/dist/ui/src/hooks/useAsyncSelectOptions.d.ts +0 -52
- package/dist/ui/src/hooks/useAsyncSelectOptions.js +0 -85
- package/dist/ui/src/hooks/useAutoincrementIntegerId.js +0 -11
- package/dist/ui/src/hooks/useClickOutside.js +0 -21
- package/dist/ui/src/hooks/useCopyToClipboard.js +0 -22
- package/dist/ui/src/hooks/useDebounceOnBoolean.js +0 -26
- package/dist/ui/src/hooks/useDebouncedCallback.js +0 -12
- package/dist/ui/src/hooks/useDebouncedValue.js +0 -17
- package/dist/ui/src/hooks/useDeepCompareEffect.js +0 -14
- package/dist/ui/src/hooks/useDidUpdateEffect.js +0 -13
- package/dist/ui/src/hooks/useElementLayout.js +0 -56
- package/dist/ui/src/hooks/useMediaQuery.js +0 -52
- package/dist/ui/src/hooks/useRovingKeyDown.js +0 -55
- package/dist/ui/src/hooks/useShallowEqual.js +0 -15
- package/dist/ui/src/hooks/useSmartRowClick.d.ts +0 -16
- package/dist/ui/src/hooks/useSmartRowClick.js +0 -31
- package/dist/ui/src/i18n.js +0 -84
- package/dist/ui/src/layout/ListOrOverview.js +0 -26
- package/dist/ui/src/layout/Page/Page.js +0 -20
- package/dist/ui/src/layout/Page/PageContent.js +0 -13
- package/dist/ui/src/layout/Page/PageGroup.d.ts +0 -74
- package/dist/ui/src/layout/Page/PageGroup.js +0 -62
- package/dist/ui/src/layout/Page/PageSection.js +0 -48
- package/dist/ui/src/layout/Page/index.js +0 -15
- package/dist/ui/src/layout/Pagination.d.ts +0 -27
- package/dist/ui/src/layout/Pagination.js +0 -64
- package/dist/ui/src/layout/Pane/FormHeader.d.ts +0 -72
- package/dist/ui/src/layout/Pane/FormHeader.js +0 -69
- package/dist/ui/src/layout/Pane/ListFilter.d.ts +0 -48
- package/dist/ui/src/layout/Pane/ListFilter.js +0 -106
- package/dist/ui/src/layout/Pane/ListPresets.d.ts +0 -45
- package/dist/ui/src/layout/Pane/ListPresets.js +0 -35
- package/dist/ui/src/layout/Pane/PaneAriaLabel.js +0 -9
- package/dist/ui/src/layout/Pane/PaneHeader.d.ts +0 -64
- package/dist/ui/src/layout/Pane/PaneHeader.js +0 -111
- package/dist/ui/src/layout/Pane/PaneRegion.js +0 -23
- package/dist/ui/src/layout/Pane/PaneTitleId.js +0 -9
- package/dist/ui/src/layout/Pane/index.d.ts +0 -167
- package/dist/ui/src/layout/Pane/index.js +0 -104
- package/dist/ui/src/layout/SidebarPanel.d.ts +0 -96
- package/dist/ui/src/layout/SidebarPanel.js +0 -81
- package/dist/ui/src/layout/SplitPane.d.ts +0 -76
- package/dist/ui/src/layout/SplitPane.js +0 -319
- package/dist/ui/src/layout/SplitView/SashActionButton.js +0 -58
- package/dist/ui/src/layout/SplitView/SplitView.js +0 -197
- package/dist/ui/src/layout/SplitView/SplitViewPane.js +0 -12
- package/dist/ui/src/layout/SplitView/SplitViewSash.js +0 -56
- package/dist/ui/src/layout/Toolbar/AddNewButton.d.ts +0 -41
- package/dist/ui/src/layout/Toolbar/AddNewButton.js +0 -43
- package/dist/ui/src/layout/Toolbar/Button.js +0 -17
- package/dist/ui/src/layout/Toolbar/Divider.js +0 -16
- package/dist/ui/src/layout/Toolbar/DotsDropdown.js +0 -25
- package/dist/ui/src/layout/Toolbar/Fill.js +0 -16
- package/dist/ui/src/layout/Toolbar/FilterInput.js +0 -80
- package/dist/ui/src/layout/Toolbar/FilterToggle.d.ts +0 -33
- package/dist/ui/src/layout/Toolbar/FilterToggle.js +0 -97
- package/dist/ui/src/layout/Toolbar/GoBack.d.ts +0 -32
- package/dist/ui/src/layout/Toolbar/GoBack.js +0 -33
- package/dist/ui/src/layout/Toolbar/Group.js +0 -17
- package/dist/ui/src/layout/Toolbar/Help.d.ts +0 -29
- package/dist/ui/src/layout/Toolbar/Help.js +0 -55
- package/dist/ui/src/layout/Toolbar/Note.d.ts +0 -10
- package/dist/ui/src/layout/Toolbar/Note.js +0 -16
- package/dist/ui/src/layout/Toolbar/Pagination.d.ts +0 -31
- package/dist/ui/src/layout/Toolbar/Pagination.js +0 -53
- package/dist/ui/src/layout/Toolbar/PresetsTitle.d.ts +0 -38
- package/dist/ui/src/layout/Toolbar/PresetsTitle.js +0 -48
- package/dist/ui/src/layout/Toolbar/PrimaryButton.d.ts +0 -53
- package/dist/ui/src/layout/Toolbar/PrimaryButton.js +0 -57
- package/dist/ui/src/layout/Toolbar/Root.d.ts +0 -30
- package/dist/ui/src/layout/Toolbar/Root.js +0 -35
- package/dist/ui/src/layout/Toolbar/Search.js +0 -27
- package/dist/ui/src/layout/Toolbar/Space.js +0 -9
- package/dist/ui/src/layout/Toolbar/Spinner.js +0 -13
- package/dist/ui/src/layout/Toolbar/Subtitle.js +0 -12
- package/dist/ui/src/layout/Toolbar/TextualDropdown.js +0 -20
- package/dist/ui/src/layout/Toolbar/Title.js +0 -43
- package/dist/ui/src/layout/Toolbar/ToolbarTitleTrigger.js +0 -23
- package/dist/ui/src/layout/Toolbar/context.js +0 -10
- package/dist/ui/src/layout/Toolbar/index.d.ts +0 -48
- package/dist/ui/src/layout/Toolbar/index.js +0 -51
- package/dist/ui/src/layout/sidebarPanelStorage.js +0 -33
- package/dist/ui/src/lists/CardList.d.ts +0 -120
- package/dist/ui/src/lists/CardList.js +0 -138
- package/dist/ui/src/lists/EmptySlot.d.ts +0 -35
- package/dist/ui/src/lists/EmptySlot.js +0 -54
- package/dist/ui/src/lists/EntityRow.js +0 -48
- package/dist/ui/src/lists/EntitySummary.js +0 -27
- package/dist/ui/src/lists/InfoList.d.ts +0 -45
- package/dist/ui/src/lists/InfoList.js +0 -58
- package/dist/ui/src/lists/InsertGap.d.ts +0 -41
- package/dist/ui/src/lists/InsertGap.js +0 -74
- package/dist/ui/src/lists/ListArea.js +0 -18
- package/dist/ui/src/lists/MediaCard.d.ts +0 -139
- package/dist/ui/src/lists/MediaCard.js +0 -144
- package/dist/ui/src/lists/RowList.d.ts +0 -63
- package/dist/ui/src/lists/RowList.js +0 -72
- package/dist/ui/src/lists/SettingsList.d.ts +0 -40
- package/dist/ui/src/lists/SettingsList.js +0 -47
- package/dist/ui/src/lists/Table/Body.js +0 -47
- package/dist/ui/src/lists/Table/Cell.js +0 -42
- package/dist/ui/src/lists/Table/ColumnsMenu.js +0 -48
- package/dist/ui/src/lists/Table/Header.js +0 -132
- package/dist/ui/src/lists/Table/HeaderCell.js +0 -67
- package/dist/ui/src/lists/Table/Row.d.ts +0 -139
- package/dist/ui/src/lists/Table/Row.js +0 -211
- package/dist/ui/src/lists/Table/Table.d.ts +0 -61
- package/dist/ui/src/lists/Table/Table.js +0 -100
- package/dist/ui/src/lists/Table/TableContext.js +0 -17
- package/dist/ui/src/lists/Table/TreeToggle.d.ts +0 -34
- package/dist/ui/src/lists/Table/TreeToggle.js +0 -49
- package/dist/ui/src/lists/Table/cells/IconCell.js +0 -17
- package/dist/ui/src/lists/Table/cells/LinkCell.d.ts +0 -11
- package/dist/ui/src/lists/Table/cells/LinkCell.js +0 -15
- package/dist/ui/src/lists/Table/cells/StatusCell.js +0 -14
- package/dist/ui/src/lists/Table/cells/TimeCell.d.ts +0 -9
- package/dist/ui/src/lists/Table/cells/TimeCell.js +0 -18
- package/dist/ui/src/lists/Table/index.js +0 -18
- package/dist/ui/src/lists/Table/layout.js +0 -115
- package/dist/ui/src/lists/Table/storage.js +0 -26
- package/dist/ui/src/lists/Table/types.d.ts +0 -55
- package/dist/ui/src/lists/Table/useClientSort.js +0 -31
- package/dist/ui/src/lists/dnd/DragHandle.d.ts +0 -19
- package/dist/ui/src/lists/dnd/DragHandle.js +0 -19
- package/dist/ui/src/lists/dnd/DropIndicator.js +0 -18
- package/dist/ui/src/lists/dnd/SortableList.d.ts +0 -101
- package/dist/ui/src/lists/dnd/SortableList.js +0 -238
- package/dist/ui/src/lists/dnd/autoScroll.js +0 -53
- package/dist/ui/src/lists/dnd/dropTargetClassName.d.ts +0 -25
- package/dist/ui/src/lists/dnd/dropTargetClassName.js +0 -18
- package/dist/ui/src/lists/dnd/getGapTo.js +0 -14
- package/dist/ui/src/lists/dnd/reorder.js +0 -16
- package/dist/ui/src/lists/dnd/tree/SortableTree.d.ts +0 -69
- package/dist/ui/src/lists/dnd/tree/SortableTree.js +0 -331
- package/dist/ui/src/lists/dnd/tree/TreeRowContext.js +0 -10
- package/dist/ui/src/lists/dnd/tree/useTreeKeyboardNavigation.js +0 -59
- package/dist/ui/src/lists/dnd/tree/utils.js +0 -96
- package/dist/ui/src/lists/dnd/types.js +0 -6
- package/dist/ui/src/lists/dnd/useDragMonitor.js +0 -40
- package/dist/ui/src/lists/dnd/useDraggable.js +0 -66
- package/dist/ui/src/lists/dnd/useDropTarget.js +0 -53
- package/dist/ui/src/lists/dnd/useFileDropTarget.js +0 -53
- package/dist/ui/src/lists/dnd/useFilePicker.js +0 -28
- package/dist/ui/src/lists/dnd/useIsFileDragActive.js +0 -28
- package/dist/ui/src/navigation/Chevron.d.ts +0 -40
- package/dist/ui/src/navigation/Chevron.js +0 -56
- package/dist/ui/src/navigation/Link.d.ts +0 -58
- package/dist/ui/src/navigation/Link.js +0 -40
- package/dist/ui/src/navigation/NavList.d.ts +0 -29
- package/dist/ui/src/navigation/NavList.js +0 -31
- package/dist/ui/src/navigation/NavigationProvider.d.ts +0 -61
- package/dist/ui/src/navigation/NavigationProvider.js +0 -55
- package/dist/ui/src/navigation/SegmentedControl.d.ts +0 -70
- package/dist/ui/src/navigation/SegmentedControl.js +0 -58
- package/dist/ui/src/navigation/SettingsMenu.d.ts +0 -107
- package/dist/ui/src/navigation/SettingsMenu.js +0 -91
- package/dist/ui/src/navigation/SidebarTree/SidebarTreeNode.d.ts +0 -114
- package/dist/ui/src/navigation/SidebarTree/SidebarTreeNode.js +0 -173
- package/dist/ui/src/navigation/SidebarTree/SidebarTreeNodeActions.d.ts +0 -30
- package/dist/ui/src/navigation/SidebarTree/SidebarTreeNodeActions.js +0 -62
- package/dist/ui/src/navigation/SidebarTree/index.js +0 -9
- package/dist/ui/src/navigation/Tabs.js +0 -151
- package/dist/ui/src/overlays/FullscreenModal.d.ts +0 -41
- package/dist/ui/src/overlays/FullscreenModal.js +0 -81
- package/dist/ui/src/overlays/HoverCard.d.ts +0 -55
- package/dist/ui/src/overlays/HoverCard.js +0 -70
- package/dist/ui/src/overlays/Modal.d.ts +0 -56
- package/dist/ui/src/overlays/Modal.js +0 -134
- package/dist/ui/src/overlays/NewZIndex.d.ts +0 -14
- package/dist/ui/src/overlays/NewZIndex.js +0 -19
- package/dist/ui/src/overlays/Popover.d.ts +0 -50
- package/dist/ui/src/overlays/Popover.js +0 -77
- package/dist/ui/src/overlays/Portal.js +0 -33
- package/dist/ui/src/overlays/PortalWrapper.js +0 -22
- package/dist/ui/src/overlays/Tooltip.d.ts +0 -58
- package/dist/ui/src/overlays/Tooltip.js +0 -93
- package/dist/ui/src/overlays/confirmQuestion.js +0 -61
- package/dist/ui/src/overlays/floatingTrigger.js +0 -13
- package/dist/ui/src/overlays/useModalClose.js +0 -134
- package/dist/ui/src/patterns/ListDetail/Overview.js +0 -16
- package/dist/ui/src/patterns/ListDetail/Page.d.ts +0 -118
- package/dist/ui/src/patterns/ListDetail/Page.js +0 -132
- package/dist/ui/src/patterns/ListDetail/Panel.d.ts +0 -62
- package/dist/ui/src/patterns/ListDetail/Panel.js +0 -72
- package/dist/ui/src/patterns/ListDetail/Split.d.ts +0 -37
- package/dist/ui/src/patterns/ListDetail/Split.js +0 -175
- package/dist/ui/src/patterns/ListDetail/Widths.js +0 -21
- package/dist/ui/src/patterns/ListDetail/index.d.ts +0 -12
- package/dist/ui/src/patterns/ListDetail/index.js +0 -14
- package/dist/ui/src/patterns/ListFormPage.d.ts +0 -38
- package/dist/ui/src/patterns/ListFormPage.js +0 -29
- package/dist/ui/src/semantic/Aside.js +0 -19
- package/dist/ui/src/semantic/Heading.d.ts +0 -22
- package/dist/ui/src/semantic/Heading.js +0 -26
- package/dist/ui/src/semantic/Main.js +0 -67
- package/dist/ui/src/semantic/Nav.d.ts +0 -24
- package/dist/ui/src/semantic/Nav.js +0 -20
- package/dist/ui/src/semantic/NavigationFocusProvider.js +0 -9
- package/dist/ui/src/semantic/RawButton.d.ts +0 -91
- package/dist/ui/src/semantic/RawButton.js +0 -57
- package/dist/ui/src/semantic/Search.d.ts +0 -26
- package/dist/ui/src/semantic/Search.js +0 -20
- package/dist/ui/src/utils/escapeHtml.js +0 -6
- package/dist/ui/src/utils/events.js +0 -6
- package/dist/ui/src/utils/formatDate.d.ts +0 -62
- package/dist/ui/src/utils/formatDate.js +0 -95
- package/dist/ui/src/utils/isDefined.js +0 -6
- package/dist/ui/src/utils/localeDirection.js +0 -11
- package/dist/ui/src/utils/mouseHoverProps.js +0 -13
- package/dist/ui/src/utils/pointerNearGap.d.ts +0 -5
- package/dist/ui/src/utils/pointerNearGap.js +0 -56
- package/dist/ui/src/utils/randomKey.js +0 -10
- package/dist/ui/src/utils/times.js +0 -6
- /package/dist/{ui → ui-public}/src/actions/Actions/Shortcut.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/actions/Actions/index.js +0 -0
- /package/dist/{ui → ui-public}/src/actions/Actions/shortcuts.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/actions/Dropdown/Footer.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/actions/Dropdown/Group.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/actions/Dropdown/MenuContext.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/actions/Dropdown/OptionAction.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/actions/Dropdown/Submenu.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/actions/Dropdown/triggers/PillTrigger.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/actions/Dropdown/triggers/TextualTrigger.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/actions/Dropdown/triggers/types.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/actions/Dropdown/useCloseMenu.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/actions/EditorToolbar/Buttons.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/actions/EditorToolbar/hooks.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/actions/EditorToolbar/index.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/content/ApiKey.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/content/CopyButton.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/content/CopyableId.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/content/FeedbackDot.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/content/FramedImage.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/content/IdText.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/content/InitialsAvatar.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/form/AutosizeInput.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/form/DebouncedTextInput.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/form/NumberInput.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/form/PasswordInput.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/form/StringInput.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/form/TextareaInput.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/hooks/useClickOutside.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/hooks/useCopyToClipboard.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/hooks/useDebounceOnBoolean.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/hooks/useDebouncedCallback.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/hooks/useDebouncedValue.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/hooks/useDeepCompareEffect.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/hooks/useDidUpdateEffect.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/hooks/useElementLayout.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/hooks/useMediaQuery.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/hooks/useRovingKeyDown.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/hooks/useShallowEqual.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/layout/ListOrOverview.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/layout/Page/Page.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/layout/Page/PageContent.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/layout/Page/PageSection.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/layout/Page/index.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/layout/Pane/PaneAriaLabel.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/layout/Pane/PaneRegion.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/layout/Toolbar/Divider.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/layout/Toolbar/DotsDropdown.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/layout/Toolbar/Fill.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/layout/Toolbar/FilterInput.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/layout/Toolbar/Group.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/layout/Toolbar/Search.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/layout/Toolbar/Space.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/layout/Toolbar/Spinner.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/layout/Toolbar/Subtitle.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/layout/Toolbar/TextualDropdown.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/layout/Toolbar/Title.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/layout/sidebarPanelStorage.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/ActionOrMenu.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/EntityRow.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/EntitySummary.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/ListArea.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/Table/Body.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/Table/Cell.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/Table/Header.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/Table/cells/IconCell.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/Table/cells/StatusCell.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/Table/index.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/Table/layout.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/Table/storage.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/Table/useClientSort.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/dnd/DropIndicator.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/dnd/index.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/dnd/index.js +0 -0
- /package/dist/{ui → ui-public}/src/lists/dnd/reorder.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/dnd/tree/TreeRowContext.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/dnd/tree/types.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/dnd/tree/utils.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/dnd/types.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/dnd/useDragMonitor.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/dnd/useDraggable.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/dnd/useDropTarget.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/dnd/useFileDropTarget.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/dnd/useFilePicker.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/lists/dnd/useIsFileDragActive.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/navigation/SidebarTree/index.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/navigation/Tabs.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/overlays/Portal.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/overlays/floatingTrigger.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/patterns/ListDetail/Widths.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/semantic/Aside.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/semantic/Main.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/utils/types.d.ts +0 -0
package/dist/styles.css
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
/* The CSS of react-ui: the foundation of ui
|
|
2
|
-
without the colors, then the blocks of the
|
|
1
|
+
/* The CSS of react-ui: the foundation of ui-public with only the fonts that
|
|
2
|
+
www.datocms.com serves and without the colors, then the blocks of the
|
|
3
|
+
shipped components. The host
|
|
3
4
|
gives the color tokens (ctx.cssDesignTokens on the Canvas element), thus
|
|
4
|
-
the ramps and the semantic tokens of ui do not ship.
|
|
5
|
+
the ramps and the semantic tokens of ui-public do not ship.
|
|
5
6
|
|
|
6
7
|
The blocks keep the order of the cascade of the apps (the order of
|
|
7
|
-
packages/ui/stories/main.css). A block ships only when a shipped
|
|
8
|
+
packages/ui-public/stories/main.css). A block ships only when a shipped
|
|
8
9
|
component uses its classes. */
|
|
9
10
|
|
|
10
11
|
/* The context files must be first for postcss-custom-media and
|
|
@@ -22,13 +23,23 @@
|
|
|
22
23
|
disabled control keeps the colors of its rest state. It adds no
|
|
23
24
|
specificity: a rule of a component that changes the hover still wins. */
|
|
24
25
|
|
|
25
|
-
/*
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
/*
|
|
27
|
+
* www.datocms.com serves these fonts, thus the apps, the plugins (react-ui)
|
|
28
|
+
* and the website use one copy of each file. The response sends CORS,
|
|
29
|
+
* because the plugins run on other origins. The file names have no version,
|
|
30
|
+
* thus a new file in the bucket gets to all of them, also to an old plugin.
|
|
31
|
+
*
|
|
32
|
+
* ABC Oracle comes from a private R2 bucket (workers/ui-fonts in the
|
|
33
|
+
* astro-website repository). Do not put a copy of the file in a repository:
|
|
34
|
+
* the Dinamo licence does not allow it. The x-height of ABC Oracle is 4%
|
|
35
|
+
* lower than the x-height of Geist. "size-adjust" makes the text a little
|
|
36
|
+
* larger.
|
|
37
|
+
*
|
|
38
|
+
* Geist Mono has the files and the unicode ranges of
|
|
39
|
+
* @fontsource-variable/geist-mono. The browser downloads only the subsets
|
|
40
|
+
* of the text. A new subset needs its file in the bucket and in the `FILES`
|
|
41
|
+
* list of the Worker first.
|
|
42
|
+
*/
|
|
32
43
|
@font-face {
|
|
33
44
|
font-family: "ABC Oracle";
|
|
34
45
|
font-style: normal;
|
|
@@ -38,21 +49,83 @@
|
|
|
38
49
|
format("woff2");
|
|
39
50
|
size-adjust: 102%;
|
|
40
51
|
}
|
|
52
|
+
|
|
53
|
+
@font-face {
|
|
54
|
+
font-family: "Geist Mono Variable";
|
|
55
|
+
font-style: normal;
|
|
56
|
+
font-weight: 100 900;
|
|
57
|
+
font-display: swap;
|
|
58
|
+
src: url("https://www.datocms.com/fonts/GeistMonoVariable-cyrillic-ext.woff2")
|
|
59
|
+
format("woff2");
|
|
60
|
+
unicode-range:
|
|
61
|
+
U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@font-face {
|
|
65
|
+
font-family: "Geist Mono Variable";
|
|
66
|
+
font-style: normal;
|
|
67
|
+
font-weight: 100 900;
|
|
68
|
+
font-display: swap;
|
|
69
|
+
src: url("https://www.datocms.com/fonts/GeistMonoVariable-cyrillic.woff2")
|
|
70
|
+
format("woff2");
|
|
71
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@font-face {
|
|
75
|
+
font-family: "Geist Mono Variable";
|
|
76
|
+
font-style: normal;
|
|
77
|
+
font-weight: 100 900;
|
|
78
|
+
font-display: swap;
|
|
79
|
+
src: url("https://www.datocms.com/fonts/GeistMonoVariable-symbols2.woff2")
|
|
80
|
+
format("woff2");
|
|
81
|
+
unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@font-face {
|
|
85
|
+
font-family: "Geist Mono Variable";
|
|
86
|
+
font-style: normal;
|
|
87
|
+
font-weight: 100 900;
|
|
88
|
+
font-display: swap;
|
|
89
|
+
src: url("https://www.datocms.com/fonts/GeistMonoVariable-vietnamese.woff2")
|
|
90
|
+
format("woff2");
|
|
91
|
+
unicode-range:
|
|
92
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@font-face {
|
|
96
|
+
font-family: "Geist Mono Variable";
|
|
97
|
+
font-style: normal;
|
|
98
|
+
font-weight: 100 900;
|
|
99
|
+
font-display: swap;
|
|
100
|
+
src: url("https://www.datocms.com/fonts/GeistMonoVariable-latin-ext.woff2")
|
|
101
|
+
format("woff2");
|
|
102
|
+
unicode-range:
|
|
103
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@font-face {
|
|
107
|
+
font-family: "Geist Mono Variable";
|
|
108
|
+
font-style: normal;
|
|
109
|
+
font-weight: 100 900;
|
|
110
|
+
font-display: swap;
|
|
111
|
+
src: url("https://www.datocms.com/fonts/GeistMonoVariable-latin.woff2")
|
|
112
|
+
format("woff2");
|
|
113
|
+
unicode-range:
|
|
114
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
115
|
+
}
|
|
41
116
|
:root {
|
|
42
117
|
/* Fonts. Keep the noto-script-fallback families last before the generic
|
|
43
118
|
family: they lazily cover scripts our fonts lack (see
|
|
44
119
|
_noto-script-fallback.css). */
|
|
45
120
|
--base-font-family:
|
|
46
|
-
"ABC Oracle", "Geist", "Helvetica Neue", Helvetica, Roboto, Arial,
|
|
121
|
+
"ABC Oracle", "Geist Variable", "Helvetica Neue", Helvetica, Roboto, Arial,
|
|
47
122
|
"noto-script-fallback", "noto-script-fallback-static", sans-serif;
|
|
48
123
|
--monospaced-font-family:
|
|
49
|
-
"Geist Mono", "Menlo", "Bitstream Vera Sans Mono", Consolas,
|
|
50
|
-
"noto-script-fallback", "noto-script-fallback-static", monospace;
|
|
124
|
+
"Geist Mono Variable", "Menlo", "Bitstream Vera Sans Mono", Consolas,
|
|
125
|
+
Courier, "noto-script-fallback", "noto-script-fallback-static", monospace;
|
|
51
126
|
/* Code is a little smaller than the text around it, because the
|
|
52
127
|
monospaced font looks larger. For inline code and for code blocks. */
|
|
53
128
|
--monospaced-font-size: 0.9em;
|
|
54
|
-
--cursive-font-family:
|
|
55
|
-
"Pangolin", "noto-script-fallback", "noto-script-fallback-static", cursive;
|
|
56
129
|
/* The weight of the text. */
|
|
57
130
|
--font-weight-regular: 340;
|
|
58
131
|
/* The weight of titles, labels and words with emphasis. */
|
|
@@ -178,16 +251,16 @@
|
|
|
178
251
|
:root {
|
|
179
252
|
--z-index-notifications: 10500;
|
|
180
253
|
}
|
|
181
|
-
/* The plugins use ABC Oracle, as the cms. Geist
|
|
182
|
-
noto-script-fallback families do not ship, thus the stacks go to
|
|
183
|
-
system fonts after
|
|
184
|
-
../../ui/styles/_css-variables.css. */
|
|
254
|
+
/* The plugins use ABC Oracle and Geist Mono, as the cms. Geist and the
|
|
255
|
+
noto-script-fallback families do not ship, thus the stacks go to
|
|
256
|
+
the system fonts after them. The weights are the ones of
|
|
257
|
+
../../ui-public/styles/_css-variables.css. */
|
|
185
258
|
:root {
|
|
186
259
|
--base-font-family:
|
|
187
260
|
"ABC Oracle", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
188
261
|
--monospaced-font-family:
|
|
189
|
-
"Menlo", "Bitstream Vera Sans Mono", Consolas,
|
|
190
|
-
|
|
262
|
+
"Geist Mono Variable", "Menlo", "Bitstream Vera Sans Mono", Consolas,
|
|
263
|
+
Courier, monospace;
|
|
191
264
|
}
|
|
192
265
|
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css*/
|
|
193
266
|
|
|
@@ -504,12 +577,11 @@ input {
|
|
|
504
577
|
height: auto;
|
|
505
578
|
}
|
|
506
579
|
}
|
|
580
|
+
/* We do not set box-sizing here. A search input keeps the border-box of
|
|
581
|
+
the other text inputs (_base.css), thus it fits its container. */
|
|
507
582
|
&[type="search"] {
|
|
508
|
-
box-sizing: content-box;
|
|
509
583
|
-webkit-appearance: textfield;
|
|
510
584
|
|
|
511
|
-
/* 2*/
|
|
512
|
-
|
|
513
585
|
&::-webkit-search-cancel-button,
|
|
514
586
|
&::-webkit-search-decoration {
|
|
515
587
|
-moz-appearance: none;
|
|
@@ -533,8 +605,7 @@ input {
|
|
|
533
605
|
* decrement button to change from `default` to `text`.*/
|
|
534
606
|
|
|
535
607
|
/**
|
|
536
|
-
*
|
|
537
|
-
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome.*/
|
|
608
|
+
* Address `appearance` set to `searchfield` in Safari and Chrome.*/
|
|
538
609
|
|
|
539
610
|
/**
|
|
540
611
|
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
|
@@ -589,7 +660,6 @@ th {
|
|
|
589
660
|
}
|
|
590
661
|
html,
|
|
591
662
|
body {
|
|
592
|
-
height: 100%;
|
|
593
663
|
background-color: var(--color--surface);
|
|
594
664
|
}
|
|
595
665
|
/* On a phone, all the interface is a step smaller. The sizes and the spaces
|
|
@@ -607,10 +677,13 @@ body {
|
|
|
607
677
|
font-synthesis-weight: none;
|
|
608
678
|
font-size: var(--font-size-m);
|
|
609
679
|
-webkit-text-size-adjust: 100%;
|
|
610
|
-
height: 100%;
|
|
611
680
|
line-height: 1.4;
|
|
612
681
|
color: var(--color--ink);
|
|
613
682
|
text-rendering: optimizeLegibility;
|
|
683
|
+
/* A long word (a URL, an id) breaks only when it does not fit in its
|
|
684
|
+
line. "anywhere" would also change the min-content width, and the
|
|
685
|
+
grid and flex layouts would change. */
|
|
686
|
+
overflow-wrap: break-word;
|
|
614
687
|
}
|
|
615
688
|
/* Selected text has the colors of a selected row, thus it follows the brand
|
|
616
689
|
hue and the color scheme */
|
|
@@ -825,7 +898,7 @@ input:where([type="checkbox"]) {
|
|
|
825
898
|
width: 0.75em;
|
|
826
899
|
height: 0.75em;
|
|
827
900
|
content: "";
|
|
828
|
-
background-color: var(--color--
|
|
901
|
+
background-color: var(--color--control-on--ink);
|
|
829
902
|
mask:
|
|
830
903
|
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
|
|
831
904
|
center / contain no-repeat;
|
|
@@ -843,8 +916,8 @@ input:where([type="checkbox"]) {
|
|
|
843
916
|
cursor: default;
|
|
844
917
|
}
|
|
845
918
|
&:checked {
|
|
846
|
-
background-color: var(--color--
|
|
847
|
-
border-color: var(--color--
|
|
919
|
+
background-color: var(--color--control-on--surface);
|
|
920
|
+
border-color: var(--color--control-on--surface);
|
|
848
921
|
|
|
849
922
|
&::before {
|
|
850
923
|
transform: scale(1);
|
|
@@ -852,8 +925,8 @@ input:where([type="checkbox"]) {
|
|
|
852
925
|
&:not(:disabled, [aria-readonly="true"]):hover,
|
|
853
926
|
label:not(:has(:disabled, [aria-readonly="true"])):hover
|
|
854
927
|
&:not(:disabled, [aria-readonly="true"]) {
|
|
855
|
-
background-color: var(--color--
|
|
856
|
-
border-color: var(--color--
|
|
928
|
+
background-color: var(--color--control-on--surface-hover);
|
|
929
|
+
border-color: var(--color--control-on--surface-hover);
|
|
857
930
|
}
|
|
858
931
|
}
|
|
859
932
|
&:focus-visible {
|
|
@@ -910,8 +983,25 @@ input:-webkit-autofill {
|
|
|
910
983
|
color: inherit !important;
|
|
911
984
|
background-color: transparent !important;
|
|
912
985
|
}
|
|
913
|
-
|
|
914
|
-
|
|
986
|
+
/* An icon takes the color of its text: set "color" on an icon, not "fill".
|
|
987
|
+
The value goes down as the keyword, thus each icon reads its own color.
|
|
988
|
+
It is not a rule on svg: that rule would win over the fill attribute of
|
|
989
|
+
an icon, and an outline icon (fill="none") would become a solid shape.
|
|
990
|
+
The rule is also on each link, because of a bug of Chrome: when a link
|
|
991
|
+
becomes visited while the page is open (the router pushes its URL), Chrome
|
|
992
|
+
keeps the initial black for the visited fill of the link if the fill only
|
|
993
|
+
comes down from an ancestor, and the icons inside the link paint black.
|
|
994
|
+
A fill declared on the link sets its visited fill too. */
|
|
995
|
+
html,
|
|
996
|
+
:any-link {
|
|
997
|
+
fill: currentColor;
|
|
998
|
+
}
|
|
999
|
+
/* The stroke width of all the Lucide icons. Change it here only. At 2 the
|
|
1000
|
+
icons have the weight of the text next to them. At 1.75 or 1.5 they look
|
|
1001
|
+
light next to the text of the UI. The selector reads the attributes of
|
|
1002
|
+
the Lucide file, because a className of the caller replaces its class. */
|
|
1003
|
+
svg[fill="none"][stroke="currentColor"][stroke-width="2"] {
|
|
1004
|
+
stroke-width: 2;
|
|
915
1005
|
}
|
|
916
1006
|
button {
|
|
917
1007
|
box-sizing: border-box;
|
|
@@ -978,6 +1068,33 @@ button {
|
|
|
978
1068
|
display: contents;
|
|
979
1069
|
}
|
|
980
1070
|
|
|
1071
|
+
/*
|
|
1072
|
+
* Transparency checkerboard. Uses semantic surface tokens so it flips with
|
|
1073
|
+
* the theme (subtle tint in light mode, subtle contrast in dark mode) instead
|
|
1074
|
+
* of showing a fixed light-on-dark pattern.
|
|
1075
|
+
*/
|
|
1076
|
+
.checkboard-bg {
|
|
1077
|
+
background-color: var(--color--surface);
|
|
1078
|
+
background-image:
|
|
1079
|
+
linear-gradient(
|
|
1080
|
+
45deg,
|
|
1081
|
+
var(--color--surface-muted) 25%,
|
|
1082
|
+
transparent 25%,
|
|
1083
|
+
transparent 75%,
|
|
1084
|
+
var(--color--surface-muted) 75%
|
|
1085
|
+
),
|
|
1086
|
+
linear-gradient(
|
|
1087
|
+
45deg,
|
|
1088
|
+
var(--color--surface-muted) 25%,
|
|
1089
|
+
transparent 25%,
|
|
1090
|
+
transparent 75%,
|
|
1091
|
+
var(--color--surface-muted) 75%
|
|
1092
|
+
);
|
|
1093
|
+
background-position:
|
|
1094
|
+
0 0,
|
|
1095
|
+
5px 5px;
|
|
1096
|
+
background-size: 10px 10px;
|
|
1097
|
+
}
|
|
981
1098
|
/* Only as wide as its content: the blank slate does not cover the content at
|
|
982
1099
|
its sides */
|
|
983
1100
|
.blank-slate--area {
|
|
@@ -1048,7 +1165,6 @@ button {
|
|
|
1048
1165
|
svg {
|
|
1049
1166
|
width: 32px;
|
|
1050
1167
|
height: 32px;
|
|
1051
|
-
fill: currentColor;
|
|
1052
1168
|
}
|
|
1053
1169
|
}
|
|
1054
1170
|
/* Spinner--centered is "position: absolute" at 50%. This box holds the
|
|
@@ -1083,11 +1199,14 @@ button {
|
|
|
1083
1199
|
gap: var(--spacing-m);
|
|
1084
1200
|
align-items: flex-start;
|
|
1085
1201
|
}
|
|
1202
|
+
/* The slate centers its parts and makes them as wide as their content, thus
|
|
1203
|
+
a long button gets an ellipsis only with "max-width" */
|
|
1086
1204
|
.blank-slate__actions {
|
|
1087
1205
|
display: flex;
|
|
1088
1206
|
flex-wrap: wrap;
|
|
1089
1207
|
gap: var(--spacing-s);
|
|
1090
1208
|
align-items: center;
|
|
1209
|
+
max-width: 100%;
|
|
1091
1210
|
margin-top: var(--spacing-s);
|
|
1092
1211
|
}
|
|
1093
1212
|
/* The content can have a form, thus it uses all the width */
|
|
@@ -1146,7 +1265,17 @@ button {
|
|
|
1146
1265
|
--chevron-color: currentColor;
|
|
1147
1266
|
|
|
1148
1267
|
box-sizing: border-box;
|
|
1149
|
-
|
|
1268
|
+
/* A button is never wider than its container: the label gets the
|
|
1269
|
+
ellipsis, and the icons and the chevron keep their size. A button
|
|
1270
|
+
element is as wide as its content, also as a block, thus it needs
|
|
1271
|
+
"max-width". */
|
|
1272
|
+
display: inline-flex;
|
|
1273
|
+
align-items: center;
|
|
1274
|
+
justify-content: center;
|
|
1275
|
+
max-width: 100%;
|
|
1276
|
+
/* One line of text and the padding. The button sets it, because the box
|
|
1277
|
+
of the label is lower than a line (see "text-box" below). */
|
|
1278
|
+
min-height: calc(1lh + 2 * var(--button-pad-y));
|
|
1150
1279
|
padding: var(--button-pad-y) var(--button-pad-x);
|
|
1151
1280
|
font-family: inherit;
|
|
1152
1281
|
font-size: 1.1em;
|
|
@@ -1174,17 +1303,33 @@ button {
|
|
|
1174
1303
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):active {
|
|
1175
1304
|
background-color: var(--color--primary-soft--surface-active);
|
|
1176
1305
|
}
|
|
1306
|
+
/* The box of the label goes from the top of the capital letters to the
|
|
1307
|
+
baseline, thus the capital letters are in the middle of the button, at
|
|
1308
|
+
the height of the icons. The box does not clip on the y axis, because
|
|
1309
|
+
the letters go below it ("g", "y"). */
|
|
1177
1310
|
> span {
|
|
1178
1311
|
position: relative;
|
|
1179
|
-
|
|
1312
|
+
min-width: 0;
|
|
1313
|
+
overflow-x: clip;
|
|
1314
|
+
overflow-y: visible;
|
|
1315
|
+
text-overflow: ellipsis;
|
|
1316
|
+
text-box: trim-both cap alphabetic;
|
|
1317
|
+
}
|
|
1318
|
+
/* Without "text-box", the box of the label is the line, and the letters
|
|
1319
|
+
are a bit too high in it */
|
|
1320
|
+
@supports not (text-box: trim-both cap alphabetic) {
|
|
1321
|
+
> span {
|
|
1322
|
+
top: 0.06em;
|
|
1323
|
+
overflow: hidden;
|
|
1324
|
+
}
|
|
1180
1325
|
}
|
|
1181
1326
|
svg,
|
|
1182
1327
|
i,
|
|
1183
1328
|
.Spinner {
|
|
1184
1329
|
display: inline-block;
|
|
1330
|
+
flex: none;
|
|
1185
1331
|
line-height: 0.6;
|
|
1186
1332
|
vertical-align: middle;
|
|
1187
|
-
fill: var(--color--primary-soft--ink);
|
|
1188
1333
|
|
|
1189
1334
|
&:first-child {
|
|
1190
1335
|
margin-right: 0.5em;
|
|
@@ -1197,9 +1342,14 @@ button {
|
|
|
1197
1342
|
margin-left: 0;
|
|
1198
1343
|
}
|
|
1199
1344
|
}
|
|
1345
|
+
/* Only the svg takes the color. The bars of a .Spinner paint with
|
|
1346
|
+
currentColor, thus they keep the color of the text of the button. */
|
|
1347
|
+
svg {
|
|
1348
|
+
color: var(--color--primary-soft--ink);
|
|
1349
|
+
}
|
|
1200
1350
|
> .Pill:last-child {
|
|
1351
|
+
flex: none;
|
|
1201
1352
|
margin-left: 0.5em;
|
|
1202
|
-
vertical-align: middle;
|
|
1203
1353
|
}
|
|
1204
1354
|
}
|
|
1205
1355
|
.button--micro,
|
|
@@ -1252,14 +1402,9 @@ button {
|
|
|
1252
1402
|
.button--large {
|
|
1253
1403
|
font-size: 1.2em;
|
|
1254
1404
|
}
|
|
1255
|
-
.button--ellipsis {
|
|
1256
|
-
overflow: hidden;
|
|
1257
|
-
text-overflow: ellipsis;
|
|
1258
|
-
}
|
|
1259
1405
|
.button--expand {
|
|
1260
|
-
display:
|
|
1406
|
+
display: flex;
|
|
1261
1407
|
width: 100%;
|
|
1262
|
-
text-align: center;
|
|
1263
1408
|
}
|
|
1264
1409
|
.button--expand-on-mobile {
|
|
1265
1410
|
width: 100%;
|
|
@@ -1268,6 +1413,28 @@ button {
|
|
|
1268
1413
|
width: auto;
|
|
1269
1414
|
}
|
|
1270
1415
|
}
|
|
1416
|
+
/* A soft toggle that is on has the recipe of a selected row: the solid
|
|
1417
|
+
recipe would make it look like the primary action. The rule comes after
|
|
1418
|
+
the states of the soft tone, thus a focused toggle keeps it: the focus
|
|
1419
|
+
stays on the button after the click. The border is an inset shadow, thus
|
|
1420
|
+
the size of the button does not change. */
|
|
1421
|
+
.button--soft[aria-pressed="true"] {
|
|
1422
|
+
--button-pressed-border: inset 0 0 0 1px var(--color--selected--border);
|
|
1423
|
+
|
|
1424
|
+
color: var(--color--selected--ink);
|
|
1425
|
+
background-color: var(--color--selected--surface);
|
|
1426
|
+
box-shadow: var(--button-pressed-border);
|
|
1427
|
+
|
|
1428
|
+
svg {
|
|
1429
|
+
color: var(--color--selected--ink);
|
|
1430
|
+
}
|
|
1431
|
+
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover {
|
|
1432
|
+
background-color: var(--color--selected--surface-hover);
|
|
1433
|
+
}
|
|
1434
|
+
&:focus-visible {
|
|
1435
|
+
box-shadow: var(--button-pressed-border), var(--focus-ring);
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1271
1438
|
.button--primary {
|
|
1272
1439
|
color: var(--color--primary--ink);
|
|
1273
1440
|
background-color: var(--color--primary--surface);
|
|
@@ -1289,27 +1456,29 @@ button {
|
|
|
1289
1456
|
}
|
|
1290
1457
|
|
|
1291
1458
|
svg {
|
|
1292
|
-
|
|
1459
|
+
color: var(--color--primary--ink);
|
|
1293
1460
|
}
|
|
1294
1461
|
}
|
|
1295
1462
|
.button--accent-color {
|
|
1296
1463
|
svg {
|
|
1297
|
-
|
|
1464
|
+
color: var(--color--ink);
|
|
1298
1465
|
}
|
|
1299
1466
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover {
|
|
1300
1467
|
color: var(--color--ink-link);
|
|
1301
1468
|
|
|
1302
1469
|
svg {
|
|
1303
|
-
|
|
1470
|
+
color: var(--color--ink-link);
|
|
1304
1471
|
}
|
|
1305
1472
|
}
|
|
1306
1473
|
}
|
|
1474
|
+
/* A block that paints its own ground sets --button-overlay-ink to the ink of
|
|
1475
|
+
that ground (see _NavigationBar.css) */
|
|
1307
1476
|
.button--rev {
|
|
1308
|
-
color: var(--color--overlay--ink);
|
|
1477
|
+
color: var(--button-overlay-ink, var(--color--overlay--ink));
|
|
1309
1478
|
background: var(--color--overlay--surface);
|
|
1310
1479
|
|
|
1311
1480
|
svg {
|
|
1312
|
-
|
|
1481
|
+
color: var(--button-overlay-ink, var(--color--overlay--ink));
|
|
1313
1482
|
}
|
|
1314
1483
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover {
|
|
1315
1484
|
background: var(--color--overlay--surface-hover);
|
|
@@ -1325,7 +1494,7 @@ button {
|
|
|
1325
1494
|
border-width: 0;
|
|
1326
1495
|
|
|
1327
1496
|
svg {
|
|
1328
|
-
|
|
1497
|
+
color: var(--color--primary-inverse--ink);
|
|
1329
1498
|
}
|
|
1330
1499
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover,
|
|
1331
1500
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):focus {
|
|
@@ -1341,7 +1510,7 @@ button {
|
|
|
1341
1510
|
border-width: 0;
|
|
1342
1511
|
|
|
1343
1512
|
svg {
|
|
1344
|
-
|
|
1513
|
+
color: var(--color--danger--ink);
|
|
1345
1514
|
}
|
|
1346
1515
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover,
|
|
1347
1516
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):focus,
|
|
@@ -1350,7 +1519,7 @@ button {
|
|
|
1350
1519
|
background-color: var(--color--danger--surface);
|
|
1351
1520
|
|
|
1352
1521
|
svg {
|
|
1353
|
-
|
|
1522
|
+
color: var(--color--danger--ink);
|
|
1354
1523
|
}
|
|
1355
1524
|
}
|
|
1356
1525
|
}
|
|
@@ -1362,7 +1531,7 @@ button {
|
|
|
1362
1531
|
color: var(--color--ink);
|
|
1363
1532
|
|
|
1364
1533
|
svg {
|
|
1365
|
-
|
|
1534
|
+
color: var(--color--ink);
|
|
1366
1535
|
}
|
|
1367
1536
|
}
|
|
1368
1537
|
}
|
|
@@ -1370,7 +1539,7 @@ button {
|
|
|
1370
1539
|
color: var(--color--ink-subtle);
|
|
1371
1540
|
|
|
1372
1541
|
svg {
|
|
1373
|
-
|
|
1542
|
+
color: var(--color--ink-subtle);
|
|
1374
1543
|
}
|
|
1375
1544
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover,
|
|
1376
1545
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):focus,
|
|
@@ -1386,7 +1555,8 @@ button {
|
|
|
1386
1555
|
Do not write the states again in the block:
|
|
1387
1556
|
--button-ghost-ink the text and the icon at rest
|
|
1388
1557
|
--button-ghost-hover-ink the text and the icon on hover and focus
|
|
1389
|
-
--button-ghost-hover-surface the surface on hover and focus
|
|
1558
|
+
--button-ghost-hover-surface the surface on hover and focus, and while
|
|
1559
|
+
the button is pressed or its menu is open
|
|
1390
1560
|
--button-ghost-active-surface the surface while the pointer is down
|
|
1391
1561
|
--button-ghost-pressed-ink the text and the icon while the button is
|
|
1392
1562
|
pressed or its menu is open */
|
|
@@ -1400,7 +1570,7 @@ button {
|
|
|
1400
1570
|
transition: background-color 0.2s var(--material-ease);
|
|
1401
1571
|
|
|
1402
1572
|
svg {
|
|
1403
|
-
|
|
1573
|
+
color: var(--button-ghost-ink, var(--color--ink-subtle));
|
|
1404
1574
|
}
|
|
1405
1575
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):focus {
|
|
1406
1576
|
background-color: transparent;
|
|
@@ -1415,7 +1585,7 @@ button {
|
|
|
1415
1585
|
);
|
|
1416
1586
|
|
|
1417
1587
|
svg {
|
|
1418
|
-
|
|
1588
|
+
color: var(--button-ghost-hover-ink, var(--color--ink));
|
|
1419
1589
|
}
|
|
1420
1590
|
}
|
|
1421
1591
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):active {
|
|
@@ -1424,12 +1594,18 @@ button {
|
|
|
1424
1594
|
var(--button-ghost-hover-surface, var(--color--surface-hover))
|
|
1425
1595
|
);
|
|
1426
1596
|
}
|
|
1597
|
+
/* The hover surface stays while the button is on. The ink alone does not
|
|
1598
|
+
show the state in the dark scheme: the link ink is near the subtle ink. */
|
|
1427
1599
|
&[aria-pressed="true"],
|
|
1428
1600
|
&[aria-expanded="true"] {
|
|
1429
1601
|
color: var(--button-ghost-pressed-ink, var(--color--ink-link));
|
|
1602
|
+
background-color: var(
|
|
1603
|
+
--button-ghost-hover-surface,
|
|
1604
|
+
var(--color--surface-hover)
|
|
1605
|
+
);
|
|
1430
1606
|
|
|
1431
1607
|
svg {
|
|
1432
|
-
|
|
1608
|
+
color: var(--button-ghost-pressed-ink, var(--color--ink-link));
|
|
1433
1609
|
}
|
|
1434
1610
|
}
|
|
1435
1611
|
}
|
|
@@ -1442,8 +1618,8 @@ button {
|
|
|
1442
1618
|
--button-ghost-hover-surface: var(--color--danger-soft--surface);
|
|
1443
1619
|
}
|
|
1444
1620
|
/* A ghost button in a line of text or in a row of values: a value that the
|
|
1445
|
-
click changes or copies (see TextualTrigger.tsx, CopyableId.tsx and
|
|
1446
|
-
".
|
|
1621
|
+
click changes or copies (see TextualTrigger.tsx, CopyableId.tsx and
|
|
1622
|
+
"_InfoList.css"). Use it alone, without ".button". It is different from
|
|
1447
1623
|
".button--ghost" in two points. It keeps the ink of the text around it,
|
|
1448
1624
|
because it is a value, not a secondary action. And it keeps the place of
|
|
1449
1625
|
the text: the surface is a pseudo-element out of the box, so the value
|
|
@@ -1476,6 +1652,7 @@ button {
|
|
|
1476
1652
|
the surface behind the buttons shows through it, thus it is correct for
|
|
1477
1653
|
each type of button. */
|
|
1478
1654
|
gap: 1px;
|
|
1655
|
+
max-width: 100%;
|
|
1479
1656
|
|
|
1480
1657
|
/* The caret is in the root element of its Dropdown */
|
|
1481
1658
|
& > * {
|
|
@@ -1494,6 +1671,11 @@ button {
|
|
|
1494
1671
|
.button--sub {
|
|
1495
1672
|
border-radius: 0;
|
|
1496
1673
|
}
|
|
1674
|
+
/* A long label of the main half gets the ellipsis, thus the caret stays in
|
|
1675
|
+
the container. */
|
|
1676
|
+
.button--container > .button--sub {
|
|
1677
|
+
min-width: 0;
|
|
1678
|
+
}
|
|
1497
1679
|
/* A disabled button keeps the colors of its variant and fades, thus a
|
|
1498
1680
|
disabled primary button still reads as the primary action. The rules of
|
|
1499
1681
|
the variants show the hover only on an enabled button (see ":--enabled"),
|
|
@@ -1537,7 +1719,7 @@ button {
|
|
|
1537
1719
|
two classes. Thus they have more priority than a rule of a container that
|
|
1538
1720
|
sets the size or the color of all its icons.
|
|
1539
1721
|
|
|
1540
|
-
Do not set the
|
|
1722
|
+
Do not set the color of a chevron out of this file: set --chevron-color.
|
|
1541
1723
|
A colored surface (a button, a pill, the navigation bar) sets it to
|
|
1542
1724
|
currentColor: the chevron then has the color of the text in all the
|
|
1543
1725
|
states. A control that is not a button or a link sets it to
|
|
@@ -1546,12 +1728,14 @@ button {
|
|
|
1546
1728
|
.Chevron:is(.Chevron--disclosure, .Chevron--menu, .Chevron--load-more) {
|
|
1547
1729
|
display: inline-block;
|
|
1548
1730
|
flex: none;
|
|
1549
|
-
|
|
1550
|
-
|
|
1731
|
+
/* A Lucide chevron fills only the middle of its box, thus the box is larger
|
|
1732
|
+
than the text, as in shadcn/ui (16px next to a text of 14px) */
|
|
1733
|
+
width: max(14px, 1.125em);
|
|
1734
|
+
height: max(14px, 1.125em);
|
|
1551
1735
|
vertical-align: middle;
|
|
1552
|
-
|
|
1736
|
+
color: var(--chevron-color, var(--color--ink-subtle));
|
|
1553
1737
|
transition:
|
|
1554
|
-
|
|
1738
|
+
color 0.2s var(--material-ease),
|
|
1555
1739
|
transform 0.2s var(--material-ease);
|
|
1556
1740
|
}
|
|
1557
1741
|
|
|
@@ -1563,7 +1747,7 @@ button {
|
|
|
1563
1747
|
.Chevron:is(.Chevron--disclosure, .Chevron--menu, .Chevron--load-more),
|
|
1564
1748
|
:is(button, [role="button"])[aria-expanded="true"] .Chevron.Chevron--menu,
|
|
1565
1749
|
.SelectInput__control.is-open .Chevron.Chevron--menu {
|
|
1566
|
-
|
|
1750
|
+
color: var(--chevron-color, var(--color--ink));
|
|
1567
1751
|
}
|
|
1568
1752
|
|
|
1569
1753
|
/* The chevron reads the state of its control: aria-expanded, :disabled,
|
|
@@ -1571,7 +1755,7 @@ button {
|
|
|
1571
1755
|
classes tell the state. */
|
|
1572
1756
|
:is(:disabled, [aria-disabled="true"], .SelectInput__control.is-disabled)
|
|
1573
1757
|
.Chevron:is(.Chevron--disclosure, .Chevron--menu, .Chevron--load-more) {
|
|
1574
|
-
|
|
1758
|
+
color: var(--chevron-color, var(--color--ink-disabled));
|
|
1575
1759
|
}
|
|
1576
1760
|
|
|
1577
1761
|
/* The spinner is larger than the box of the chevron: it goes out of the box
|
|
@@ -1581,14 +1765,15 @@ button {
|
|
|
1581
1765
|
align-items: center;
|
|
1582
1766
|
justify-content: center;
|
|
1583
1767
|
}
|
|
1584
|
-
/* The actions
|
|
1585
|
-
|
|
1768
|
+
/* The message and the actions are in the same cell of the grid, one on the
|
|
1769
|
+
other. Thus the slot gets the height of the taller one: actions that wrap
|
|
1770
|
+
on two lines make the slot taller and do not go out of it. The actions
|
|
1771
|
+
also show when the menu of an action is open (.Dropdown.is-open). */
|
|
1586
1772
|
.EmptySlot {
|
|
1587
|
-
position: relative;
|
|
1588
1773
|
box-sizing: border-box;
|
|
1589
|
-
display:
|
|
1590
|
-
|
|
1591
|
-
|
|
1774
|
+
display: grid;
|
|
1775
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1776
|
+
place-items: center;
|
|
1592
1777
|
width: 100%;
|
|
1593
1778
|
min-height: calc(4 * var(--space-unit));
|
|
1594
1779
|
padding: 0 var(--spacing-m);
|
|
@@ -1613,18 +1798,22 @@ button.EmptySlot {
|
|
|
1613
1798
|
box-shadow: var(--focus-ring);
|
|
1614
1799
|
}
|
|
1615
1800
|
}
|
|
1801
|
+
.EmptySlot > * {
|
|
1802
|
+
grid-area: 1 / 1;
|
|
1803
|
+
}
|
|
1616
1804
|
.EmptySlot__message {
|
|
1617
1805
|
font-size: var(--font-size-m);
|
|
1618
1806
|
color: var(--color--ink-subtle);
|
|
1619
1807
|
transition: opacity 0.15s ease-out;
|
|
1620
1808
|
}
|
|
1621
1809
|
.EmptySlot__actions {
|
|
1622
|
-
position: absolute;
|
|
1623
|
-
inset: 0;
|
|
1624
1810
|
display: flex;
|
|
1811
|
+
flex-wrap: wrap;
|
|
1625
1812
|
gap: var(--spacing-s);
|
|
1626
1813
|
align-items: center;
|
|
1627
1814
|
justify-content: center;
|
|
1815
|
+
max-width: 100%;
|
|
1816
|
+
padding-block: var(--spacing-s);
|
|
1628
1817
|
opacity: 0;
|
|
1629
1818
|
transition: opacity 0.15s ease-out;
|
|
1630
1819
|
|
|
@@ -1690,6 +1879,12 @@ button.EmptySlot {
|
|
|
1690
1879
|
--InsertGap-size: var(--spacing-l);
|
|
1691
1880
|
--InsertGap-gutter: var(--DragHandle-gutter);
|
|
1692
1881
|
}
|
|
1882
|
+
/* The line of a drag below the last row is at the place of the gap: the gap
|
|
1883
|
+
then hides its "+" and its line (see _InsertGap.css) */
|
|
1884
|
+
.TableList:has(.TableList__row:last-child > .DropIndicator--bottom)
|
|
1885
|
+
> .InsertGap {
|
|
1886
|
+
--InsertGap-no-drop: 0;
|
|
1887
|
+
}
|
|
1693
1888
|
.TableList--disabled {
|
|
1694
1889
|
--TableList-action-width: 0px;
|
|
1695
1890
|
}
|
|
@@ -1927,24 +2122,38 @@ button.EmptySlot {
|
|
|
1927
2122
|
width: 1rem;
|
|
1928
2123
|
|
|
1929
2124
|
svg {
|
|
1930
|
-
|
|
2125
|
+
color: var(--color--ink-subtle);
|
|
1931
2126
|
}
|
|
1932
2127
|
}
|
|
1933
|
-
|
|
2128
|
+
/* The parts of the header and the trailing part of a row share the width
|
|
2129
|
+
in equal parts, and a part that needs less gives the rest to the others
|
|
2130
|
+
(see .EntityRow__title). Thus a short title stays whole next to a long
|
|
2131
|
+
API key, and no part becomes 0px wide. */
|
|
2132
|
+
:is(.CardList__title, .CardList__aside, .CardList__trailing) {
|
|
2133
|
+
flex: 1 1 0;
|
|
1934
2134
|
min-width: 0;
|
|
2135
|
+
max-width: max-content;
|
|
2136
|
+
}
|
|
2137
|
+
.CardList__title {
|
|
1935
2138
|
overflow: hidden;
|
|
1936
2139
|
text-overflow: ellipsis;
|
|
1937
2140
|
font-weight: var(--font-weight-strong);
|
|
1938
2141
|
white-space: nowrap;
|
|
1939
2142
|
}
|
|
1940
2143
|
.CardList__aside {
|
|
1941
|
-
|
|
2144
|
+
overflow: hidden;
|
|
2145
|
+
text-overflow: ellipsis;
|
|
1942
2146
|
color: var(--color--ink-subtle);
|
|
2147
|
+
white-space: nowrap;
|
|
1943
2148
|
}
|
|
2149
|
+
/* The pills of the part share its width as the parts of an EntityRow
|
|
2150
|
+
title. The gap is the gap of the header or of the row. */
|
|
1944
2151
|
.CardList__trailing {
|
|
1945
|
-
display:
|
|
1946
|
-
|
|
1947
|
-
|
|
2152
|
+
display: grid;
|
|
2153
|
+
grid-auto-columns: minmax(0, max-content);
|
|
2154
|
+
grid-auto-flow: column;
|
|
2155
|
+
gap: inherit;
|
|
2156
|
+
align-items: center;
|
|
1948
2157
|
margin-left: auto;
|
|
1949
2158
|
}
|
|
1950
2159
|
|
|
@@ -2002,12 +2211,15 @@ button.EmptySlot {
|
|
|
2002
2211
|
}
|
|
2003
2212
|
/* In a list to read, the value of a row can be far from its title: the
|
|
2004
2213
|
hover helps the eye to follow the row. The cursor does not change,
|
|
2005
|
-
because the row does not open.
|
|
2214
|
+
because the row does not open. While the HoverCard of an item is open
|
|
2215
|
+
(data-open), its row keeps the surface. Thus the row of the card shows
|
|
2216
|
+
when the pointer is in the card or the focus opened it. */
|
|
2006
2217
|
.CardList--actions-always > .CardList__items
|
|
2007
2218
|
> .CardList__item
|
|
2008
2219
|
> .CardList__row {
|
|
2009
2220
|
@media (hover: hover) {
|
|
2010
|
-
&:hover
|
|
2221
|
+
&:hover,
|
|
2222
|
+
.CardList__item[data-open] > & {
|
|
2011
2223
|
background: var(--color--surface-hover);
|
|
2012
2224
|
}
|
|
2013
2225
|
}
|
|
@@ -2110,23 +2322,59 @@ button.EmptySlot {
|
|
|
2110
2322
|
values:
|
|
2111
2323
|
--InsertGap-size: the space between two items.
|
|
2112
2324
|
--InsertGap-gutter: the width of the column at the left of the items,
|
|
2113
|
-
where the grip is.
|
|
2325
|
+
where the grip is.
|
|
2326
|
+
|
|
2327
|
+
The caller can set this value on the gap:
|
|
2328
|
+
--InsertGap-rest: 1 when the gap shows its "+" and its thin line also
|
|
2329
|
+
when the pointer is far, 0 when it does not. The default is 1 for the
|
|
2330
|
+
gap at the end of the outermost list, and 0 for the other gaps. A drop
|
|
2331
|
+
line at the place of the gap always hides them.
|
|
2332
|
+
|
|
2333
|
+
When the list has free space on its left, pointerNearGap.ts moves the
|
|
2334
|
+
gaps of the nested lists to the column of the outermost list, and shows
|
|
2335
|
+
the label next to the "+" in the margin at its left. */
|
|
2114
2336
|
|
|
2115
|
-
/* [data-near]: the pointer is near
|
|
2337
|
+
/* The gap shows its button and its line. [data-near]: the pointer is near
|
|
2338
|
+
the gap (see pointerNearGap.ts). A caller can use this selector in a
|
|
2339
|
+
stylesheet that it imports after this file, for example to hide a line
|
|
2340
|
+
of its item below the line of the gap. */
|
|
2341
|
+
|
|
2342
|
+
/* The gap shows its label in the margin: the margin has space for it, and
|
|
2343
|
+
the gap is the nearest to the pointer or the user is on it */
|
|
2116
2344
|
|
|
2117
2345
|
.InsertGap {
|
|
2118
2346
|
/* 1 when the gap shows its button, 0 when it hides it */
|
|
2119
2347
|
--InsertGap-on: 0;
|
|
2120
2348
|
/* 1 when the user is on the gap */
|
|
2121
2349
|
--InsertGap-active: 0;
|
|
2350
|
+
/* 0 when the line of a drag is at the place of the gap (see below) */
|
|
2351
|
+
--InsertGap-no-drop: 1;
|
|
2122
2352
|
/* The time that the pointer must stay before the gap shows its button.
|
|
2123
2353
|
The pointer can go across the list and the buttons do not flash. The
|
|
2124
2354
|
gap hides its button with no delay. */
|
|
2125
2355
|
--InsertGap-delay: 0.1s;
|
|
2126
2356
|
|
|
2357
|
+
/* The size of the "+". The label reads it too, thus it is on the gap. */
|
|
2358
|
+
--InsertGap-plus-size: calc(var(--font-size-xs) + var(--spacing-s));
|
|
2359
|
+
/* The space between the label in the margin, with its "+", and the
|
|
2360
|
+
items */
|
|
2361
|
+
--InsertGap-column-space: calc(var(--spacing-m) + var(--spacing-s));
|
|
2362
|
+
/* 1 when the margin has space for the labels, 0 when not. Then the gap
|
|
2363
|
+
shows only its "+", in the gutter of its own list. */
|
|
2364
|
+
--InsertGap-in-column: 0;
|
|
2365
|
+
|
|
2127
2366
|
position: absolute;
|
|
2128
2367
|
right: 0;
|
|
2129
|
-
|
|
2368
|
+
/* --InsertGap-shift: the distance from the gutter of this list to the
|
|
2369
|
+
column of the outermost list (see pointerNearGap.ts) */
|
|
2370
|
+
left: calc(
|
|
2371
|
+
-1 *
|
|
2372
|
+
(
|
|
2373
|
+
var(--InsertGap-gutter) +
|
|
2374
|
+
var(--InsertGap-in-column) *
|
|
2375
|
+
var(--InsertGap-shift, 0px)
|
|
2376
|
+
)
|
|
2377
|
+
);
|
|
2130
2378
|
z-index: 3;
|
|
2131
2379
|
height: var(--InsertGap-size);
|
|
2132
2380
|
|
|
@@ -2144,6 +2392,39 @@ button.EmptySlot {
|
|
|
2144
2392
|
&:is(:focus-within, :has(.Dropdown.is-open)) {
|
|
2145
2393
|
--InsertGap-delay: 0s;
|
|
2146
2394
|
}
|
|
2395
|
+
/* data-label-fits: the margin has space for the labels (see
|
|
2396
|
+
pointerNearGap.ts) */
|
|
2397
|
+
&[data-label-fits] {
|
|
2398
|
+
--InsertGap-in-column: 1;
|
|
2399
|
+
}
|
|
2400
|
+
/* The label of this gap covers the labels of the gaps near it */
|
|
2401
|
+
&:is([data-label-fits]:is(
|
|
2402
|
+
[data-nearest],
|
|
2403
|
+
:hover,
|
|
2404
|
+
:has(.InsertGap__bar:focus-visible),
|
|
2405
|
+
:has(.Dropdown.is-open)
|
|
2406
|
+
)) {
|
|
2407
|
+
z-index: 4;
|
|
2408
|
+
}
|
|
2409
|
+
}
|
|
2410
|
+
/* The defaults of --InsertGap-rest. ":where" gives them no specificity,
|
|
2411
|
+
thus a rule of the caller on the gap wins. */
|
|
2412
|
+
:where(.InsertGap) {
|
|
2413
|
+
--InsertGap-rest: 0;
|
|
2414
|
+
}
|
|
2415
|
+
/* data-gap-end: the gap adds at the end of the outermost list (see
|
|
2416
|
+
pointerNearGap.ts). By default it always shows its "+" and its thin
|
|
2417
|
+
line, without its label. Thus the user sees that the list can get more
|
|
2418
|
+
items. */
|
|
2419
|
+
:where(.InsertGap[data-gap-end]) {
|
|
2420
|
+
--InsertGap-rest: 1;
|
|
2421
|
+
}
|
|
2422
|
+
/* The line of a drag is at the place of the gap (see _DropIndicator.css):
|
|
2423
|
+
the gap then hides its "+" and its line at rest, so the user sees only
|
|
2424
|
+
one line. A list whose drop line is not in the item of the gap sets
|
|
2425
|
+
--InsertGap-no-drop itself (see _TableList.css). */
|
|
2426
|
+
:has(> .DropIndicator--bottom) > .InsertGap--after {
|
|
2427
|
+
--InsertGap-no-drop: 0;
|
|
2147
2428
|
}
|
|
2148
2429
|
.InsertGap--before {
|
|
2149
2430
|
top: calc(-1 * var(--InsertGap-size));
|
|
@@ -2180,12 +2461,14 @@ button.EmptySlot {
|
|
|
2180
2461
|
/* The small button is only a picture: the bar is the button. It is higher
|
|
2181
2462
|
than the gap, thus it takes the pointer only while it shows. */
|
|
2182
2463
|
.InsertGap__plus {
|
|
2183
|
-
/* The icon is 1em of the text, and the box adds a small space around it */
|
|
2184
|
-
--InsertGap-plus-size: calc(1em + var(--spacing-s));
|
|
2185
|
-
|
|
2186
2464
|
position: absolute;
|
|
2187
2465
|
top: calc(50% - var(--InsertGap-plus-size) / 2);
|
|
2188
|
-
left: calc(
|
|
2466
|
+
left: calc(
|
|
2467
|
+
(var(--InsertGap-gutter) - var(--InsertGap-plus-size)) /
|
|
2468
|
+
2 -
|
|
2469
|
+
var(--InsertGap-in-column) *
|
|
2470
|
+
var(--InsertGap-column-space)
|
|
2471
|
+
);
|
|
2189
2472
|
display: flex;
|
|
2190
2473
|
align-items: center;
|
|
2191
2474
|
justify-content: center;
|
|
@@ -2194,7 +2477,11 @@ button.EmptySlot {
|
|
|
2194
2477
|
font-size: var(--font-size-xs);
|
|
2195
2478
|
pointer-events: none;
|
|
2196
2479
|
border-radius: var(--radius-s);
|
|
2197
|
-
opacity:
|
|
2480
|
+
opacity: max(
|
|
2481
|
+
var(--InsertGap-on),
|
|
2482
|
+
var(--InsertGap-rest) *
|
|
2483
|
+
var(--InsertGap-no-drop)
|
|
2484
|
+
);
|
|
2198
2485
|
/* The button waits only when it shows (see --InsertGap-delay) */
|
|
2199
2486
|
transition: opacity 0.1s ease-in-out
|
|
2200
2487
|
calc(var(--InsertGap-on) * var(--InsertGap-delay));
|
|
@@ -2211,7 +2498,12 @@ button.EmptySlot {
|
|
|
2211
2498
|
display: block;
|
|
2212
2499
|
width: 1em;
|
|
2213
2500
|
height: 1em;
|
|
2214
|
-
|
|
2501
|
+
color: var(--color--ink-subtle);
|
|
2502
|
+
}
|
|
2503
|
+
.InsertGap:is(:hover,
|
|
2504
|
+
:has(.InsertGap__bar:focus-visible),
|
|
2505
|
+
:has(.Dropdown.is-open)) & svg {
|
|
2506
|
+
color: var(--color--primary-soft--ink);
|
|
2215
2507
|
}
|
|
2216
2508
|
.InsertGap:is([data-near],
|
|
2217
2509
|
:hover,
|
|
@@ -2219,58 +2511,177 @@ button.EmptySlot {
|
|
|
2219
2511
|
:has(.Dropdown.is-open)) & {
|
|
2220
2512
|
pointer-events: auto;
|
|
2221
2513
|
}
|
|
2222
|
-
|
|
2514
|
+
/* When the label shows, the "+" is a picture in the label: the label
|
|
2515
|
+
draws the state and the focus ring */
|
|
2516
|
+
.InsertGap:not(:is([data-label-fits]:is(
|
|
2517
|
+
[data-nearest],
|
|
2518
|
+
:hover,
|
|
2519
|
+
:has(.InsertGap__bar:focus-visible),
|
|
2520
|
+
:has(.Dropdown.is-open)
|
|
2521
|
+
))):is(:hover,
|
|
2223
2522
|
:has(.InsertGap__bar:focus-visible),
|
|
2224
2523
|
:has(.Dropdown.is-open)) & {
|
|
2225
2524
|
background-color: var(--color--primary-soft--surface);
|
|
2525
|
+
}
|
|
2526
|
+
.InsertGap:not(:is([data-label-fits]:is(
|
|
2527
|
+
[data-nearest],
|
|
2528
|
+
:hover,
|
|
2529
|
+
:has(.InsertGap__bar:focus-visible),
|
|
2530
|
+
:has(.Dropdown.is-open)
|
|
2531
|
+
))) .InsertGap__bar:focus-visible & {
|
|
2532
|
+
box-shadow: var(--focus-ring);
|
|
2533
|
+
}
|
|
2534
|
+
}
|
|
2535
|
+
/* The label is in the margin, on the left of the "+": the "+" is the right
|
|
2536
|
+
end of the label. It always has a box, so the script can read its
|
|
2537
|
+
width. */
|
|
2538
|
+
.InsertGap__label {
|
|
2539
|
+
--InsertGap-label-height: calc(1lh + var(--spacing-s));
|
|
2226
2540
|
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2541
|
+
position: absolute;
|
|
2542
|
+
top: calc(50% - var(--InsertGap-label-height) / 2);
|
|
2543
|
+
/* The label ends a small space after the "+", so the "+" has space on
|
|
2544
|
+
its two sides. The label is always at the position where it shows,
|
|
2545
|
+
thus the script reads the same position before and after it shows. */
|
|
2546
|
+
right: calc(
|
|
2547
|
+
100% -
|
|
2548
|
+
(var(--InsertGap-gutter) + var(--InsertGap-plus-size)) /
|
|
2549
|
+
2 -
|
|
2550
|
+
var(--spacing-s) +
|
|
2551
|
+
var(--InsertGap-column-space)
|
|
2552
|
+
);
|
|
2553
|
+
/* A long label, for example with the name of a model, ends with "…". Thus
|
|
2554
|
+
one long label does not take the labels from all the gaps of the
|
|
2555
|
+
field. */
|
|
2556
|
+
max-width: 16rem;
|
|
2557
|
+
height: var(--InsertGap-label-height);
|
|
2558
|
+
padding: 0 calc(var(--InsertGap-plus-size) + 2 * var(--spacing-s)) 0
|
|
2559
|
+
var(--spacing-m);
|
|
2560
|
+
overflow: hidden;
|
|
2561
|
+
/* The capital letters are in the middle of the box, at the height of the
|
|
2562
|
+
"+". Without "text-box", the line box has more space above the letters
|
|
2563
|
+
than below, and the text looks too low. A browser without "text-box"
|
|
2564
|
+
puts the line box in the middle. */
|
|
2565
|
+
align-content: center;
|
|
2566
|
+
text-box: trim-both cap alphabetic;
|
|
2567
|
+
text-overflow: ellipsis;
|
|
2568
|
+
color: var(--color--ink-subtle);
|
|
2569
|
+
white-space: nowrap;
|
|
2570
|
+
pointer-events: none;
|
|
2571
|
+
background-color: var(--color--surface-muted);
|
|
2572
|
+
border-radius: var(--radius-s);
|
|
2573
|
+
opacity: 0;
|
|
2574
|
+
transition: opacity 0.1s ease-in-out
|
|
2575
|
+
calc(var(--InsertGap-on) * var(--InsertGap-delay));
|
|
2576
|
+
|
|
2577
|
+
/* Only one label shows, so the labels of two gaps near each other do not
|
|
2578
|
+
cover each other */
|
|
2579
|
+
.InsertGap:is([data-label-fits]:is(
|
|
2580
|
+
[data-nearest],
|
|
2581
|
+
:hover,
|
|
2582
|
+
:has(.InsertGap__bar:focus-visible),
|
|
2583
|
+
:has(.Dropdown.is-open)
|
|
2584
|
+
)) & {
|
|
2585
|
+
pointer-events: auto;
|
|
2586
|
+
opacity: var(--InsertGap-on);
|
|
2587
|
+
}
|
|
2588
|
+
.InsertGap:is(:hover,
|
|
2589
|
+
:has(.InsertGap__bar:focus-visible),
|
|
2590
|
+
:has(.Dropdown.is-open)) & {
|
|
2591
|
+
color: var(--color--primary-soft--ink);
|
|
2592
|
+
background-color: var(--color--primary-soft--surface);
|
|
2230
2593
|
}
|
|
2231
2594
|
.InsertGap__bar:focus-visible & {
|
|
2232
2595
|
box-shadow: var(--focus-ring);
|
|
2233
2596
|
}
|
|
2234
2597
|
}
|
|
2235
|
-
/*
|
|
2236
|
-
|
|
2598
|
+
/* A thin line shows when the pointer is near the gap. When the user is on
|
|
2599
|
+
the gap, the accent line grows on it: that line is the same as the line
|
|
2600
|
+
that shows where a dragged item goes (see _DropIndicator.css).
|
|
2601
|
+
|
|
2602
|
+
The element is the box of the accent line, 2px high, and it draws
|
|
2603
|
+
nothing. The two lines are its pseudo-elements, and they start at the same
|
|
2604
|
+
top edge. We do not put a line at half a pixel and we do not grow the
|
|
2605
|
+
accent line with a transform, because the browser then draws the accent
|
|
2606
|
+
line one pixel higher or lower while it grows. */
|
|
2237
2607
|
.InsertGap__line {
|
|
2238
|
-
--InsertGap-line-color: var(--color--border);
|
|
2239
|
-
--InsertGap-line-thickness: calc(1px + var(--InsertGap-active) * 1px);
|
|
2240
2608
|
/* The line starts to grow after the small button shows */
|
|
2241
2609
|
--InsertGap-line-delay: calc(
|
|
2242
2610
|
var(--InsertGap-on) *
|
|
2243
2611
|
(var(--InsertGap-delay) + 0.1s)
|
|
2244
2612
|
);
|
|
2613
|
+
/* In the column, the thin line starts before the box: it goes from the
|
|
2614
|
+
"+" to the items of the list of the gap */
|
|
2615
|
+
--InsertGap-line-lead: calc(
|
|
2616
|
+
var(--InsertGap-in-column) *
|
|
2617
|
+
(
|
|
2618
|
+
var(--InsertGap-shift, 0px) +
|
|
2619
|
+
var(--InsertGap-column-space) -
|
|
2620
|
+
var(--spacing-s)
|
|
2621
|
+
)
|
|
2622
|
+
);
|
|
2245
2623
|
|
|
2246
2624
|
position: absolute;
|
|
2247
|
-
top: calc(50% -
|
|
2625
|
+
top: calc(50% - 1px);
|
|
2248
2626
|
right: 0;
|
|
2249
|
-
|
|
2250
|
-
|
|
2627
|
+
/* The accent line starts at the items of its own list, also when the gap
|
|
2628
|
+
is in the column of the outermost list. Thus it shows the level where
|
|
2629
|
+
the new item goes. */
|
|
2630
|
+
left: calc(
|
|
2631
|
+
var(--InsertGap-gutter) +
|
|
2632
|
+
var(--InsertGap-in-column) *
|
|
2633
|
+
var(--InsertGap-shift, 0px)
|
|
2634
|
+
);
|
|
2635
|
+
height: 2px;
|
|
2251
2636
|
pointer-events: none;
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2637
|
+
opacity: max(
|
|
2638
|
+
var(--InsertGap-on),
|
|
2639
|
+
var(--InsertGap-rest) *
|
|
2640
|
+
var(--InsertGap-no-drop)
|
|
2641
|
+
);
|
|
2642
|
+
transform: scaleX(
|
|
2643
|
+
max(var(--InsertGap-on), var(--InsertGap-rest) * var(--InsertGap-no-drop))
|
|
2644
|
+
);
|
|
2256
2645
|
transform-origin: left center;
|
|
2257
2646
|
transition:
|
|
2258
2647
|
transform 0.5s var(--ease-out) var(--InsertGap-line-delay),
|
|
2259
|
-
opacity 0.2s ease-out var(--InsertGap-line-delay)
|
|
2260
|
-
background-color 0.15s ease-out;
|
|
2648
|
+
opacity 0.2s ease-out var(--InsertGap-line-delay);
|
|
2261
2649
|
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2650
|
+
&::before,
|
|
2651
|
+
&::after {
|
|
2652
|
+
position: absolute;
|
|
2653
|
+
top: 0;
|
|
2654
|
+
right: 0;
|
|
2655
|
+
content: "";
|
|
2656
|
+
}
|
|
2657
|
+
/* Each line is the top border of an element with no height */
|
|
2658
|
+
/* The thin line. It never gets the accent. */
|
|
2659
|
+
&::before {
|
|
2660
|
+
left: calc(-1 * var(--InsertGap-line-lead));
|
|
2661
|
+
border-top: 1px solid var(--color--border);
|
|
2662
|
+
}
|
|
2663
|
+
/* The accent line covers the thin line and the pixel below it. It grows
|
|
2664
|
+
from the start when the user goes on the gap, and it goes away with no
|
|
2665
|
+
growth in reverse. */
|
|
2666
|
+
&::after {
|
|
2667
|
+
left: 0;
|
|
2668
|
+
border-top: 2px solid var(--color--selected--border);
|
|
2669
|
+
opacity: var(--InsertGap-active);
|
|
2670
|
+
clip-path: inset(0 calc((1 - var(--InsertGap-active)) * 100%) 0 0);
|
|
2671
|
+
transition:
|
|
2672
|
+
clip-path calc(var(--InsertGap-active) * 0.4s) var(--ease-out),
|
|
2673
|
+
opacity 0.15s ease-out;
|
|
2266
2674
|
}
|
|
2267
2675
|
}
|
|
2268
2676
|
@media (prefers-reduced-motion: reduce) {
|
|
2269
2677
|
.InsertGap__line {
|
|
2270
2678
|
transform: none;
|
|
2271
|
-
transition:
|
|
2272
|
-
|
|
2273
|
-
|
|
2679
|
+
transition: opacity 0.2s ease-out var(--InsertGap-line-delay);
|
|
2680
|
+
|
|
2681
|
+
&::after {
|
|
2682
|
+
clip-path: none;
|
|
2683
|
+
transition: opacity 0.15s ease-out;
|
|
2684
|
+
}
|
|
2274
2685
|
}
|
|
2275
2686
|
}
|
|
2276
2687
|
@media (hover: none) {
|
|
@@ -2278,10 +2689,19 @@ button.EmptySlot {
|
|
|
2278
2689
|
--InsertGap-on: 1;
|
|
2279
2690
|
}
|
|
2280
2691
|
}
|
|
2692
|
+
/* A key has no spaces, thus a long key does not wrap: it ends with an
|
|
2693
|
+
ellipsis at the edge of its place. "clip" does not make a scroll
|
|
2694
|
+
container, thus the key stays on the baseline of the text around it. */
|
|
2281
2695
|
.ApiKey {
|
|
2696
|
+
display: inline-block;
|
|
2697
|
+
min-width: 0;
|
|
2698
|
+
max-width: 100%;
|
|
2699
|
+
overflow: clip;
|
|
2700
|
+
text-overflow: ellipsis;
|
|
2282
2701
|
font-family: var(--monospaced-font-family);
|
|
2283
2702
|
font-size: var(--font-size-xs);
|
|
2284
2703
|
color: var(--color--ink-subtle);
|
|
2704
|
+
white-space: nowrap;
|
|
2285
2705
|
}
|
|
2286
2706
|
.form {
|
|
2287
2707
|
fieldset {
|
|
@@ -2323,11 +2743,13 @@ button.EmptySlot {
|
|
|
2323
2743
|
.form__label__icon {
|
|
2324
2744
|
display: inline-block;
|
|
2325
2745
|
margin-left: var(--spacing-s);
|
|
2326
|
-
|
|
2746
|
+
/* The same alignment as the buttons in the label (FieldValidations of the
|
|
2747
|
+
cms), thus the icons are on one line */
|
|
2748
|
+
vertical-align: middle;
|
|
2327
2749
|
|
|
2328
2750
|
svg {
|
|
2329
2751
|
display: block;
|
|
2330
|
-
|
|
2752
|
+
color: var(--color--ink-subtle);
|
|
2331
2753
|
}
|
|
2332
2754
|
}
|
|
2333
2755
|
.form__label__info {
|
|
@@ -2363,8 +2785,11 @@ button.EmptySlot {
|
|
|
2363
2785
|
between the fields uses it to keep the rhythm of the form. */
|
|
2364
2786
|
--form-field-gap: var(--spacing-l);
|
|
2365
2787
|
}
|
|
2788
|
+
/* In a flex row or in a grid, the field is never wider than its place, also
|
|
2789
|
+
when its input holds a long value without spaces */
|
|
2366
2790
|
.form__field {
|
|
2367
2791
|
position: relative;
|
|
2792
|
+
min-width: 0;
|
|
2368
2793
|
margin-bottom: var(--form-field-gap);
|
|
2369
2794
|
scroll-margin-top: var(--spacing-xxxl);
|
|
2370
2795
|
|
|
@@ -2375,13 +2800,13 @@ button.EmptySlot {
|
|
|
2375
2800
|
width: 100%;
|
|
2376
2801
|
}
|
|
2377
2802
|
}
|
|
2378
|
-
/* A field around a switch has no label above the switch, thus the hint
|
|
2379
|
-
the error start under the label of the switch. `Field` of the apps also
|
|
2803
|
+
/* A field around a switch has no label above the switch, thus the hint, the
|
|
2804
|
+
status and the error start under the label of the switch. `Field` of the apps also
|
|
2380
2805
|
adds the class, because its input can wrap the switch in another element.
|
|
2381
2806
|
`:where` keeps the specificity of the class, thus `SwitchList` can reset
|
|
2382
2807
|
the margin. */
|
|
2383
2808
|
:is(.form__field--switch, .form__field:where(:has(> .SwitchInput)))
|
|
2384
|
-
:is(.form__hint, .form__error) {
|
|
2809
|
+
:is(.form__hint, .form__status, .form__error) {
|
|
2385
2810
|
margin-left: calc(var(--switch-width) + var(--switch-gap));
|
|
2386
2811
|
}
|
|
2387
2812
|
.form__field--less-margin {
|
|
@@ -2504,7 +2929,6 @@ textarea:focus {
|
|
|
2504
2929
|
line-height: 1.2;
|
|
2505
2930
|
color: var(--color--danger-soft--ink);
|
|
2506
2931
|
|
|
2507
|
-
/* token-audit-disable-next-line cross-context -- special case, does not make sense to add a semantic token */
|
|
2508
2932
|
&::before {
|
|
2509
2933
|
display: inline-block;
|
|
2510
2934
|
width: 8px;
|
|
@@ -2540,7 +2964,7 @@ textarea:focus {
|
|
|
2540
2964
|
display: inline-block;
|
|
2541
2965
|
margin-right: 0.5em;
|
|
2542
2966
|
vertical-align: middle;
|
|
2543
|
-
|
|
2967
|
+
color: var(--color--ink-link);
|
|
2544
2968
|
}
|
|
2545
2969
|
}
|
|
2546
2970
|
.form__hint__warning {
|
|
@@ -2554,9 +2978,62 @@ textarea:focus {
|
|
|
2554
2978
|
display: inline-block;
|
|
2555
2979
|
margin-right: 0.5em;
|
|
2556
2980
|
vertical-align: middle;
|
|
2557
|
-
|
|
2981
|
+
color: var(--color--warning-soft--ink);
|
|
2982
|
+
}
|
|
2983
|
+
}
|
|
2984
|
+
/* A note about a valid value, in the place of the hint (see the status of
|
|
2985
|
+
FieldWrapper) */
|
|
2986
|
+
.form__status {
|
|
2987
|
+
display: flex;
|
|
2988
|
+
gap: var(--spacing-s);
|
|
2989
|
+
/* The icon is on the baseline of the first line, also when the text wraps */
|
|
2990
|
+
align-items: baseline;
|
|
2991
|
+
margin-top: var(--spacing-s);
|
|
2992
|
+
font-size: var(--font-size-m);
|
|
2993
|
+
line-height: 1.4;
|
|
2994
|
+
}
|
|
2995
|
+
.form__status--warning {
|
|
2996
|
+
color: var(--color--ink-warning);
|
|
2997
|
+
}
|
|
2998
|
+
.form__status__icon {
|
|
2999
|
+
/* A box with the height of the capitals, on the baseline. The icon is at
|
|
3000
|
+
the center of the box, thus at the center of the capitals. Layout
|
|
3001
|
+
containment puts the baseline of the box at its bottom. */
|
|
3002
|
+
display: flex;
|
|
3003
|
+
flex-shrink: 0;
|
|
3004
|
+
align-items: center;
|
|
3005
|
+
height: 1cap;
|
|
3006
|
+
contain: layout;
|
|
3007
|
+
|
|
3008
|
+
svg {
|
|
3009
|
+
width: 1.1em;
|
|
3010
|
+
height: 1.1em;
|
|
2558
3011
|
}
|
|
2559
3012
|
}
|
|
3013
|
+
/* The fix of the problem, after the text. The short text before the pill
|
|
3014
|
+
and the pill stay on one line. The space before it is the space between
|
|
3015
|
+
two words. */
|
|
3016
|
+
.form__status__fix {
|
|
3017
|
+
display: inline-flex;
|
|
3018
|
+
gap: var(--spacing-s);
|
|
3019
|
+
align-items: center;
|
|
3020
|
+
margin-left: 0.3em;
|
|
3021
|
+
white-space: nowrap;
|
|
3022
|
+
}
|
|
3023
|
+
.form__status__swatch {
|
|
3024
|
+
display: inline-block;
|
|
3025
|
+
flex: none;
|
|
3026
|
+
width: 0.9em;
|
|
3027
|
+
height: 0.9em;
|
|
3028
|
+
background: var(--form-status-swatch);
|
|
3029
|
+
/* A rounded square, as the swatches of ColorInput */
|
|
3030
|
+
border-radius: var(--radius-xs);
|
|
3031
|
+
/* A translucent hairline. It is visible only when the color is near the
|
|
3032
|
+
color of the surface. */
|
|
3033
|
+
/* token-audit-disable-next-line color-mix -- a translucent hairline around the swatch */
|
|
3034
|
+
box-shadow: inset 0 0 0 1px
|
|
3035
|
+
color-mix(in oklch, var(--color--ink) 15%, transparent);
|
|
3036
|
+
}
|
|
2560
3037
|
.form__input--large.form__input--large {
|
|
2561
3038
|
font-size: 1.2em;
|
|
2562
3039
|
font-weight: var(--font-weight-strong);
|
|
@@ -2946,21 +3423,27 @@ textarea:focus {
|
|
|
2946
3423
|
--Page__group-tint: var(--color--warning-soft--surface);
|
|
2947
3424
|
--Page__group-outline: var(--color--warning-soft--outline);
|
|
2948
3425
|
}
|
|
2949
|
-
/* The content before a group can have no margin under it (a CardList
|
|
2950
|
-
margins collapse, thus between two groups the space stays
|
|
3426
|
+
/* The content before a group can have no margin under it (a CardList or a
|
|
3427
|
+
switch). The margins collapse, thus between two groups the space stays
|
|
3428
|
+
the same. */
|
|
2951
3429
|
.Page__content > * + .Page__group,
|
|
2952
|
-
.Page__content > * + :has(> .Page__group:first-child)
|
|
3430
|
+
.Page__content > * + :has(> .Page__group:first-child),
|
|
3431
|
+
.Page__content__section > * + .Page__group {
|
|
2953
3432
|
margin-top: var(--spacing-l);
|
|
2954
3433
|
}
|
|
2955
3434
|
/* A form can be around one group (the group is its last child), thus only
|
|
2956
|
-
the last group of the content loses the space under it */
|
|
3435
|
+
the last group of the content or of a section loses the space under it */
|
|
2957
3436
|
.Page__content > .Page__group:last-child,
|
|
2958
|
-
.Page__content > :last-child > .Page__group:last-child
|
|
3437
|
+
.Page__content > :last-child > .Page__group:last-child,
|
|
3438
|
+
.Page__content__section > .Page__group:last-child {
|
|
2959
3439
|
margin-bottom: 0;
|
|
2960
3440
|
}
|
|
3441
|
+
/* When the title and the actions do not fit on one line, the actions go
|
|
3442
|
+
under the title. The title never shrinks under them. */
|
|
2961
3443
|
.Page__group__header {
|
|
2962
3444
|
display: flex;
|
|
2963
|
-
|
|
3445
|
+
flex-wrap: wrap;
|
|
3446
|
+
gap: var(--spacing-s) var(--spacing-m);
|
|
2964
3447
|
align-items: center;
|
|
2965
3448
|
justify-content: space-between;
|
|
2966
3449
|
padding: var(--spacing-m) var(--Page__group-padding);
|
|
@@ -2971,13 +3454,38 @@ textarea:focus {
|
|
|
2971
3454
|
border-bottom: 0;
|
|
2972
3455
|
}
|
|
2973
3456
|
}
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
3457
|
+
/* The whole strip opens and closes the group, not only the title: the
|
|
3458
|
+
toggle stretches over the header, and the actions stay above it. */
|
|
3459
|
+
.Page__group__header--collapsible {
|
|
3460
|
+
position: relative;
|
|
3461
|
+
|
|
3462
|
+
.Page__collapseToggle:not(:disabled)::after {
|
|
3463
|
+
position: absolute;
|
|
3464
|
+
inset: 0;
|
|
3465
|
+
content: "";
|
|
3466
|
+
}
|
|
3467
|
+
|
|
3468
|
+
.Page__group__actions {
|
|
3469
|
+
position: relative;
|
|
3470
|
+
z-index: 1;
|
|
3471
|
+
}
|
|
3472
|
+
}
|
|
3473
|
+
.Page__group__title {
|
|
3474
|
+
flex: 1 1 auto;
|
|
3475
|
+
min-width: 0;
|
|
2977
3476
|
margin: 0;
|
|
2978
3477
|
font-size: var(--font-size-l);
|
|
2979
3478
|
font-weight: var(--font-weight-strong);
|
|
2980
3479
|
line-height: 1.2;
|
|
3480
|
+
/* A word longer than the line (a German compound) breaks in its box */
|
|
3481
|
+
overflow-wrap: anywhere;
|
|
3482
|
+
}
|
|
3483
|
+
.Page__group__count {
|
|
3484
|
+
margin-left: var(--spacing-s);
|
|
3485
|
+
font-weight: var(--font-weight-regular);
|
|
3486
|
+
color: var(--color--ink-subtle);
|
|
3487
|
+
/* The title breaks anywhere, but the number stays whole */
|
|
3488
|
+
white-space: nowrap;
|
|
2981
3489
|
}
|
|
2982
3490
|
.Page__group__actions {
|
|
2983
3491
|
display: flex;
|
|
@@ -3091,6 +3599,11 @@ textarea:focus {
|
|
|
3091
3599
|
animation: Modal__backdrop__appear 0.2s var(--ease-out);
|
|
3092
3600
|
animation-fill-mode: both;
|
|
3093
3601
|
}
|
|
3602
|
+
/* The user reads the page through the backdrop: the dialog acts on it */
|
|
3603
|
+
.Modal__backdrop--dim {
|
|
3604
|
+
background: var(--color--overlay--surface);
|
|
3605
|
+
backdrop-filter: none;
|
|
3606
|
+
}
|
|
3094
3607
|
.Modal__content {
|
|
3095
3608
|
/* The space between the edges of the panel and its content. The title of
|
|
3096
3609
|
the header, the body and the footer line up on it. Content with
|
|
@@ -3376,7 +3889,7 @@ button.Toolbar__tab {
|
|
|
3376
3889
|
cursor: grab;
|
|
3377
3890
|
|
|
3378
3891
|
svg {
|
|
3379
|
-
|
|
3892
|
+
color: var(--color--ink-subtle);
|
|
3380
3893
|
}
|
|
3381
3894
|
|
|
3382
3895
|
@media (hover: hover) {
|
|
@@ -3396,6 +3909,9 @@ button.Toolbar__tab {
|
|
|
3396
3909
|
/* The width of the column at the left of an element, where the handle of
|
|
3397
3910
|
a "gutter" drag handle goes */
|
|
3398
3911
|
--DragHandle-gutter: 20px;
|
|
3912
|
+
/* The width of that column for .DragHandle--gutter-wide. A list that puts
|
|
3913
|
+
other buttons in the column of its grips reads it. */
|
|
3914
|
+
--DragHandle-gutter-wide: 32px;
|
|
3399
3915
|
}
|
|
3400
3916
|
/* Puts the handle in the gutter at the left of its element, so the handle
|
|
3401
3917
|
does not push the content of the element to the right. The element must
|
|
@@ -3411,7 +3927,7 @@ button.Toolbar__tab {
|
|
|
3411
3927
|
width: var(--DragHandle-gutter);
|
|
3412
3928
|
}
|
|
3413
3929
|
.DragHandle--gutter-wide {
|
|
3414
|
-
width:
|
|
3930
|
+
width: var(--DragHandle-gutter-wide);
|
|
3415
3931
|
}
|
|
3416
3932
|
/* The element that has the indicator must have a position */
|
|
3417
3933
|
.DropIndicator {
|
|
@@ -3671,7 +4187,7 @@ button.Toolbar__tab {
|
|
|
3671
4187
|
}
|
|
3672
4188
|
& .SidebarTree__node__icon svg,
|
|
3673
4189
|
& .SidebarTree__node__actions .button:not(:hover, :focus-visible) svg {
|
|
3674
|
-
|
|
4190
|
+
color: var(--color--selected--ink);
|
|
3675
4191
|
}
|
|
3676
4192
|
|
|
3677
4193
|
&:hover {
|
|
@@ -3689,7 +4205,7 @@ button.Toolbar__tab {
|
|
|
3689
4205
|
cursor: inherit;
|
|
3690
4206
|
|
|
3691
4207
|
svg {
|
|
3692
|
-
|
|
4208
|
+
color: var(--color--ink-subtle);
|
|
3693
4209
|
}
|
|
3694
4210
|
}
|
|
3695
4211
|
/* The link or button of the row. Its "::after" covers all the row, thus a
|
|
@@ -3802,7 +4318,7 @@ span.SidebarTree__node__toggle {
|
|
|
3802
4318
|
|
|
3803
4319
|
/* The subtle ink, as every other grip (see .DragHandle) */
|
|
3804
4320
|
svg {
|
|
3805
|
-
|
|
4321
|
+
color: var(--color--ink-subtle);
|
|
3806
4322
|
}
|
|
3807
4323
|
}
|
|
3808
4324
|
.SidebarTree__node--editing {
|
|
@@ -4000,13 +4516,21 @@ span.SidebarTree__node__toggle {
|
|
|
4000
4516
|
/* The icon is centered with the margins, not with flex: the box of the
|
|
4001
4517
|
caller can set the display of the square (the image of an EntityRow
|
|
4002
4518
|
makes it a block), and the icon stays at the center. */
|
|
4519
|
+
/* The icon fills 55% of a large square. In a small square (20px in a
|
|
4520
|
+
menu or in a line of text) 55% is too small to read, thus the icon
|
|
4521
|
+
gets at least 14px and keeps a 3px margin on each side. */
|
|
4003
4522
|
svg {
|
|
4523
|
+
--Avatar-glyph-size: min(
|
|
4524
|
+
calc(var(--Avatar-icon-size) - 6px),
|
|
4525
|
+
max(55%, 14px)
|
|
4526
|
+
);
|
|
4527
|
+
|
|
4004
4528
|
position: absolute;
|
|
4005
4529
|
inset: 0;
|
|
4006
|
-
width:
|
|
4007
|
-
height:
|
|
4530
|
+
width: var(--Avatar-glyph-size);
|
|
4531
|
+
height: var(--Avatar-glyph-size);
|
|
4008
4532
|
margin: auto;
|
|
4009
|
-
|
|
4533
|
+
color: var(--Avatar-ink);
|
|
4010
4534
|
}
|
|
4011
4535
|
}
|
|
4012
4536
|
.Avatar__icon--primary {
|
|
@@ -4018,75 +4542,75 @@ span.SidebarTree__node__toggle {
|
|
|
4018
4542
|
a pale surface and a saturated ink. Dark mode has a deep surface and a
|
|
4019
4543
|
light ink. */
|
|
4020
4544
|
.Avatar__initials--hue-1 {
|
|
4021
|
-
--Avatar-surface: #
|
|
4022
|
-
--Avatar-ink: #
|
|
4545
|
+
--Avatar-surface: #f8f1cf;
|
|
4546
|
+
--Avatar-ink: #796501;
|
|
4023
4547
|
|
|
4024
4548
|
[data-color-scheme="dark"] & {
|
|
4025
|
-
--Avatar-surface: #
|
|
4026
|
-
--Avatar-ink: #
|
|
4549
|
+
--Avatar-surface: #292101;
|
|
4550
|
+
--Avatar-ink: #d4b625;
|
|
4027
4551
|
}
|
|
4028
4552
|
}
|
|
4029
4553
|
.Avatar__initials--hue-2 {
|
|
4030
|
-
--Avatar-surface: #
|
|
4031
|
-
--Avatar-ink: #
|
|
4554
|
+
--Avatar-surface: #dcf9e0;
|
|
4555
|
+
--Avatar-ink: #01781a;
|
|
4032
4556
|
|
|
4033
4557
|
[data-color-scheme="dark"] & {
|
|
4034
|
-
--Avatar-surface: #
|
|
4035
|
-
--Avatar-ink: #
|
|
4558
|
+
--Avatar-surface: #002b05;
|
|
4559
|
+
--Avatar-ink: #68d077;
|
|
4036
4560
|
}
|
|
4037
4561
|
}
|
|
4038
4562
|
.Avatar__initials--hue-3 {
|
|
4039
|
-
--Avatar-surface: #
|
|
4040
|
-
--Avatar-ink: #
|
|
4563
|
+
--Avatar-surface: #e0f5f3;
|
|
4564
|
+
--Avatar-ink: #02736c;
|
|
4041
4565
|
|
|
4042
4566
|
[data-color-scheme="dark"] & {
|
|
4043
|
-
--Avatar-surface: #
|
|
4044
|
-
--Avatar-ink: #
|
|
4567
|
+
--Avatar-surface: #012826;
|
|
4568
|
+
--Avatar-ink: #60cac3;
|
|
4045
4569
|
}
|
|
4046
4570
|
}
|
|
4047
4571
|
.Avatar__initials--hue-4 {
|
|
4048
|
-
--Avatar-surface: #
|
|
4049
|
-
--Avatar-ink: #
|
|
4572
|
+
--Avatar-surface: #e5f2ff;
|
|
4573
|
+
--Avatar-ink: #2d68ab;
|
|
4050
4574
|
|
|
4051
4575
|
[data-color-scheme="dark"] & {
|
|
4052
|
-
--Avatar-surface: #
|
|
4053
|
-
--Avatar-ink: #
|
|
4576
|
+
--Avatar-surface: #052046;
|
|
4577
|
+
--Avatar-ink: #85bafb;
|
|
4054
4578
|
}
|
|
4055
4579
|
}
|
|
4056
4580
|
.Avatar__initials--hue-5 {
|
|
4057
|
-
--Avatar-surface: #
|
|
4058
|
-
--Avatar-ink: #
|
|
4581
|
+
--Avatar-surface: #eeeefe;
|
|
4582
|
+
--Avatar-ink: #585db6;
|
|
4059
4583
|
|
|
4060
4584
|
[data-color-scheme="dark"] & {
|
|
4061
|
-
--Avatar-surface: #
|
|
4062
|
-
--Avatar-ink: #
|
|
4585
|
+
--Avatar-surface: #191b48;
|
|
4586
|
+
--Avatar-ink: #aeaffe;
|
|
4063
4587
|
}
|
|
4064
4588
|
}
|
|
4065
4589
|
.Avatar__initials--hue-6 {
|
|
4066
|
-
--Avatar-surface: #
|
|
4067
|
-
--Avatar-ink: #
|
|
4590
|
+
--Avatar-surface: #fceee0;
|
|
4591
|
+
--Avatar-ink: #a15002;
|
|
4068
4592
|
|
|
4069
4593
|
[data-color-scheme="dark"] & {
|
|
4070
|
-
--Avatar-surface: #
|
|
4071
|
-
--Avatar-ink: #
|
|
4594
|
+
--Avatar-surface: #341a00;
|
|
4595
|
+
--Avatar-ink: #e7ab5c;
|
|
4072
4596
|
}
|
|
4073
4597
|
}
|
|
4074
4598
|
.Avatar__initials--hue-7 {
|
|
4075
|
-
--Avatar-surface: #
|
|
4076
|
-
--Avatar-ink: #
|
|
4599
|
+
--Avatar-surface: #ffebe9;
|
|
4600
|
+
--Avatar-ink: #c42719;
|
|
4077
4601
|
|
|
4078
4602
|
[data-color-scheme="dark"] & {
|
|
4079
|
-
--Avatar-surface: #
|
|
4080
|
-
--Avatar-ink: #
|
|
4603
|
+
--Avatar-surface: #400d08;
|
|
4604
|
+
--Avatar-ink: #eda29c;
|
|
4081
4605
|
}
|
|
4082
4606
|
}
|
|
4083
4607
|
.Avatar__initials--hue-8 {
|
|
4084
|
-
--Avatar-surface: #
|
|
4085
|
-
--Avatar-ink: #
|
|
4608
|
+
--Avatar-surface: #fde8ff;
|
|
4609
|
+
--Avatar-ink: #95459d;
|
|
4086
4610
|
|
|
4087
4611
|
[data-color-scheme="dark"] & {
|
|
4088
|
-
--Avatar-surface: #
|
|
4089
|
-
--Avatar-ink: #
|
|
4612
|
+
--Avatar-surface: #350b3d;
|
|
4613
|
+
--Avatar-ink: #df9ee7;
|
|
4090
4614
|
}
|
|
4091
4615
|
}
|
|
4092
4616
|
.Avatar--small {
|
|
@@ -4196,10 +4720,10 @@ span.SidebarTree__node__toggle {
|
|
|
4196
4720
|
}
|
|
4197
4721
|
}
|
|
4198
4722
|
.SwitchInput__checkbox:checked + .SwitchInput__switch {
|
|
4199
|
-
background-color: var(--color--
|
|
4723
|
+
background-color: var(--color--control-on--surface);
|
|
4200
4724
|
|
|
4201
4725
|
&:hover {
|
|
4202
|
-
background-color: var(--color--
|
|
4726
|
+
background-color: var(--color--control-on--surface-hover);
|
|
4203
4727
|
}
|
|
4204
4728
|
}
|
|
4205
4729
|
|
|
@@ -4207,7 +4731,7 @@ span.SidebarTree__node__toggle {
|
|
|
4207
4731
|
/* token-audit-disable-next-line color-mix -- extremely specific behaviour.. it's ok not to have a token for this */
|
|
4208
4732
|
background-color: color-mix(
|
|
4209
4733
|
in oklch,
|
|
4210
|
-
var(--color--
|
|
4734
|
+
var(--color--control-on--surface) 40%,
|
|
4211
4735
|
transparent
|
|
4212
4736
|
);
|
|
4213
4737
|
|
|
@@ -4215,7 +4739,7 @@ span.SidebarTree__node__toggle {
|
|
|
4215
4739
|
/* token-audit-disable-next-line color-mix -- extremely specific behaviour.. it's ok not to have a token for this */
|
|
4216
4740
|
background-color: color-mix(
|
|
4217
4741
|
in oklch,
|
|
4218
|
-
var(--color--
|
|
4742
|
+
var(--color--control-on--surface) 55%,
|
|
4219
4743
|
transparent
|
|
4220
4744
|
);
|
|
4221
4745
|
}
|
|
@@ -4269,7 +4793,7 @@ span.SidebarTree__node__toggle {
|
|
|
4269
4793
|
}
|
|
4270
4794
|
.SwitchInput__checkbox:checked + .SwitchInput__switch--read-only {
|
|
4271
4795
|
&:hover {
|
|
4272
|
-
background-color: var(--color--
|
|
4796
|
+
background-color: var(--color--control-on--surface);
|
|
4273
4797
|
}
|
|
4274
4798
|
&:active::after {
|
|
4275
4799
|
transform: translateX(18px);
|
|
@@ -4312,9 +4836,11 @@ span.SidebarTree__node__toggle {
|
|
|
4312
4836
|
background-color: var(--color--surface-hover);
|
|
4313
4837
|
}
|
|
4314
4838
|
|
|
4839
|
+
/* The hint and the error stay in the column of the label: the switch
|
|
4840
|
+
column is empty under the switch */
|
|
4315
4841
|
.form__hint,
|
|
4316
4842
|
.form__error {
|
|
4317
|
-
margin-
|
|
4843
|
+
margin-inline: 0 calc(var(--switch-width) + var(--switch-gap));
|
|
4318
4844
|
}
|
|
4319
4845
|
|
|
4320
4846
|
/* The switch makes the row taller than the label, thus the hint needs no
|
|
@@ -4332,10 +4858,11 @@ span.SidebarTree__node__toggle {
|
|
|
4332
4858
|
}
|
|
4333
4859
|
.SwitchInput--row {
|
|
4334
4860
|
position: static;
|
|
4335
|
-
gap: var(--
|
|
4861
|
+
gap: var(--switch-gap);
|
|
4336
4862
|
|
|
4337
4863
|
.SwitchInput__label {
|
|
4338
4864
|
position: static;
|
|
4865
|
+
flex: 1 1 auto;
|
|
4339
4866
|
min-width: 0;
|
|
4340
4867
|
margin-left: 0;
|
|
4341
4868
|
line-height: inherit;
|
|
@@ -4351,26 +4878,164 @@ span.SidebarTree__node__toggle {
|
|
|
4351
4878
|
}
|
|
4352
4879
|
}
|
|
4353
4880
|
}
|
|
4881
|
+
/* The label of a switch that the user cannot change does not look like a
|
|
4882
|
+
control. In a SwitchList, the ::after of the label covers the row, thus
|
|
4883
|
+
the whole row gets the cursor. */
|
|
4884
|
+
.SwitchInput:has(
|
|
4885
|
+
.SwitchInput__checkbox:disabled,
|
|
4886
|
+
.SwitchInput__switch--read-only
|
|
4887
|
+
) {
|
|
4888
|
+
.SwitchInput__label,
|
|
4889
|
+
.SwitchInput__label .form__label {
|
|
4890
|
+
cursor: default;
|
|
4891
|
+
}
|
|
4892
|
+
}
|
|
4354
4893
|
/* The links stay above the ::after of the label, thus they still open */
|
|
4355
4894
|
.SwitchList :is(.SwitchInput__reason, .form__hint) a {
|
|
4356
4895
|
position: relative;
|
|
4357
4896
|
}
|
|
4897
|
+
/* The info of a label is before the ::after of the label in the tree, thus
|
|
4898
|
+
it needs a z-index to stay above it. A click on it does not change the
|
|
4899
|
+
switch, also when the switch is disabled or read-only. */
|
|
4900
|
+
.SwitchList .form__label > :not(.form__label__text) {
|
|
4901
|
+
position: relative;
|
|
4902
|
+
z-index: 1;
|
|
4903
|
+
}
|
|
4904
|
+
/* The reason is at the end of the line of the label, because the label
|
|
4905
|
+
grows. When the two do not fit on one line, the reason wraps under the
|
|
4906
|
+
label: the width of the row decides, not the width of the window. */
|
|
4907
|
+
.SwitchInput__text {
|
|
4908
|
+
display: flex;
|
|
4909
|
+
flex: 1;
|
|
4910
|
+
flex-wrap: wrap;
|
|
4911
|
+
column-gap: var(--switch-gap);
|
|
4912
|
+
align-items: baseline;
|
|
4913
|
+
min-width: 0;
|
|
4914
|
+
}
|
|
4358
4915
|
.SwitchInput__reason {
|
|
4359
|
-
flex:
|
|
4916
|
+
flex: 0 1 auto;
|
|
4360
4917
|
color: var(--color--ink-subtle);
|
|
4361
|
-
text-align: right;
|
|
4362
4918
|
}
|
|
4363
|
-
/*
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4919
|
+
/* The row also has the "RowList__item" class, so it looks like a row of a
|
|
4920
|
+
RowList. The indent of the level is the left padding of the row, so the
|
|
4921
|
+
indent is in the box of the row, and all the boxes have the same width.
|
|
4922
|
+
The tree is not a RowList, thus the rows give the insets and the gaps. */
|
|
4923
|
+
.TreeRow {
|
|
4924
|
+
margin: var(--row-gap) var(--row-inset) 0;
|
|
4925
|
+
|
|
4926
|
+
&:first-child {
|
|
4927
|
+
margin-top: var(--row-inset);
|
|
4367
4928
|
}
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4929
|
+
&:last-child {
|
|
4930
|
+
margin-bottom: var(--row-inset);
|
|
4931
|
+
}
|
|
4932
|
+
}
|
|
4933
|
+
/* The same as the toggle column of the sidebar trees (see
|
|
4934
|
+
_SidebarTree.css): the icon is at the center of a column of 1rem that
|
|
4935
|
+
starts at "--spacing-m" from the edge of the list. The space between the
|
|
4936
|
+
edge of the row and the icon is in the column too, thus the user can click
|
|
4937
|
+
or drag there. The column has a fixed width, so the content of rows at the
|
|
4938
|
+
same level stays aligned. */
|
|
4939
|
+
.TreeRow__handle {
|
|
4940
|
+
display: flex;
|
|
4941
|
+
flex-shrink: 0;
|
|
4942
|
+
align-items: center;
|
|
4943
|
+
align-self: stretch;
|
|
4944
|
+
justify-content: center;
|
|
4945
|
+
width: calc(1rem + var(--spacing-m) - var(--row-inset));
|
|
4946
|
+
|
|
4947
|
+
.RowList__item--selected & svg {
|
|
4948
|
+
color: var(--color--selected--ink);
|
|
4949
|
+
}
|
|
4950
|
+
}
|
|
4951
|
+
/* It fills all the column, so the area for a click or a drag is large. The
|
|
4952
|
+
icon is at the center of the 1rem after the left padding, thus a chevron
|
|
4953
|
+
and a grip have the same center. */
|
|
4954
|
+
.TreeRow__drag-handle {
|
|
4955
|
+
box-sizing: border-box;
|
|
4956
|
+
display: flex;
|
|
4957
|
+
flex: 1;
|
|
4958
|
+
align-items: center;
|
|
4959
|
+
align-self: stretch;
|
|
4960
|
+
justify-content: center;
|
|
4961
|
+
padding-left: calc(var(--spacing-m) - var(--row-inset));
|
|
4962
|
+
color: inherit;
|
|
4963
|
+
|
|
4964
|
+
svg {
|
|
4965
|
+
display: block;
|
|
4966
|
+
}
|
|
4967
|
+
}
|
|
4968
|
+
.TreeRow__drag-handle--disabled {
|
|
4969
|
+
cursor: not-allowed;
|
|
4970
|
+
|
|
4971
|
+
svg {
|
|
4972
|
+
color: var(--color--ink-disabled);
|
|
4973
|
+
}
|
|
4974
|
+
}
|
|
4975
|
+
/* Without an image, the icon is in line with the first line of the title,
|
|
4976
|
+
not at the center of the row: the row also has the status below the
|
|
4977
|
+
title. The first track of the grid has the height of a line of the title
|
|
4978
|
+
(the line height of .EntityRow), and the icon is at its center. */
|
|
4979
|
+
.TreeRow:not(:has(.EntityRow__image)) .TreeRow__drag-handle {
|
|
4980
|
+
display: grid;
|
|
4981
|
+
grid-template-rows: calc(1.2 * 1em);
|
|
4982
|
+
align-content: start;
|
|
4983
|
+
align-items: center;
|
|
4984
|
+
justify-content: center;
|
|
4985
|
+
padding-top: var(--RowList-content-padding);
|
|
4986
|
+
}
|
|
4987
|
+
.TreeRow__inner {
|
|
4988
|
+
display: block;
|
|
4989
|
+
flex: 1;
|
|
4990
|
+
min-width: 200px;
|
|
4991
|
+
overflow: hidden;
|
|
4992
|
+
text-decoration: none;
|
|
4993
|
+
}
|
|
4994
|
+
/* TreeRow.Action: the button fills the row, and its first span is the
|
|
4995
|
+
column of the handle. A control that is not a link of the row sets the
|
|
4996
|
+
color of its text and of the chevron on hover (see _Chevron.css). */
|
|
4997
|
+
.TreeRow__action {
|
|
4998
|
+
display: flex;
|
|
4999
|
+
flex: 1;
|
|
5000
|
+
min-width: 0;
|
|
5001
|
+
color: var(--color--ink-subtle);
|
|
5002
|
+
border-radius: var(--row-radius);
|
|
5003
|
+
|
|
5004
|
+
&:hover,
|
|
5005
|
+
&:focus-visible {
|
|
5006
|
+
color: var(--color--ink);
|
|
4372
5007
|
}
|
|
4373
5008
|
}
|
|
5009
|
+
.RowList__item:has(> .TreeRow__action:focus-visible) {
|
|
5010
|
+
background-color: var(--color--surface-hover);
|
|
5011
|
+
}
|
|
5012
|
+
.TreeRow__action__label {
|
|
5013
|
+
flex: 1;
|
|
5014
|
+
min-width: 0;
|
|
5015
|
+
padding: var(--RowList-content-padding);
|
|
5016
|
+
line-height: 1.3;
|
|
5017
|
+
}
|
|
5018
|
+
.ItemStatus {
|
|
5019
|
+
display: inline-flex;
|
|
5020
|
+
flex: none;
|
|
5021
|
+
gap: 0.3em;
|
|
5022
|
+
align-items: center;
|
|
5023
|
+
}
|
|
5024
|
+
.ItemStatus__dot {
|
|
5025
|
+
display: block;
|
|
5026
|
+
flex: none;
|
|
5027
|
+
width: 0.7em;
|
|
5028
|
+
height: 0.7em;
|
|
5029
|
+
}
|
|
5030
|
+
.ItemStatus__dot--published {
|
|
5031
|
+
color: var(--color--status-published--ink);
|
|
5032
|
+
}
|
|
5033
|
+
.ItemStatus__dot--outdated {
|
|
5034
|
+
color: var(--color--status-outdated--ink);
|
|
5035
|
+
}
|
|
5036
|
+
.ItemStatus__dot--draft {
|
|
5037
|
+
color: var(--color--status-draft--ink);
|
|
5038
|
+
}
|
|
4374
5039
|
/* See EntityRow.tsx. It has no surface and no hover: the container gives
|
|
4375
5040
|
them. */
|
|
4376
5041
|
.EntityRow {
|
|
@@ -4406,6 +5071,13 @@ span.SidebarTree__node__toggle {
|
|
|
4406
5071
|
width: 100%;
|
|
4407
5072
|
height: 100%;
|
|
4408
5073
|
}
|
|
5074
|
+
|
|
5075
|
+
/* The rule above has the specificity of .UploadPreview, thus without this
|
|
5076
|
+
rule the import order of the two blocks decides if the asset is in the
|
|
5077
|
+
center. Keep the display of .UploadPreview (_UploadPreview.css). */
|
|
5078
|
+
> .UploadPreview {
|
|
5079
|
+
display: flex;
|
|
5080
|
+
}
|
|
4409
5081
|
}
|
|
4410
5082
|
.EntityRow--inline .EntityRow__image {
|
|
4411
5083
|
border-radius: var(--radius-xs);
|
|
@@ -4434,7 +5106,13 @@ span.SidebarTree__node__toggle {
|
|
|
4434
5106
|
white-space: nowrap;
|
|
4435
5107
|
}
|
|
4436
5108
|
.EntityRow__title {
|
|
4437
|
-
|
|
5109
|
+
/* Each part of the line (the title, a pill, the aside) gets an equal
|
|
5110
|
+
share of the width, and a part that needs less gives the rest to the
|
|
5111
|
+
others. Thus a short title stays whole next to long pills, and no part
|
|
5112
|
+
becomes 0px wide: the long parts end with an ellipsis. */
|
|
5113
|
+
display: grid;
|
|
5114
|
+
grid-auto-columns: minmax(0, max-content);
|
|
5115
|
+
grid-auto-flow: column;
|
|
4438
5116
|
gap: var(--spacing-s);
|
|
4439
5117
|
align-items: center;
|
|
4440
5118
|
min-width: 0;
|
|
@@ -4445,8 +5123,6 @@ span.SidebarTree__node__toggle {
|
|
|
4445
5123
|
}
|
|
4446
5124
|
}
|
|
4447
5125
|
.EntityRow__title__text {
|
|
4448
|
-
flex: 0 1 auto;
|
|
4449
|
-
min-width: 0;
|
|
4450
5126
|
overflow: hidden;
|
|
4451
5127
|
text-overflow: ellipsis;
|
|
4452
5128
|
white-space: nowrap;
|
|
@@ -4458,7 +5134,8 @@ span.SidebarTree__node__toggle {
|
|
|
4458
5134
|
white-space: normal;
|
|
4459
5135
|
}
|
|
4460
5136
|
.EntityRow__aside {
|
|
4461
|
-
|
|
5137
|
+
overflow: hidden;
|
|
5138
|
+
text-overflow: ellipsis;
|
|
4462
5139
|
font-size: var(--font-size-xs);
|
|
4463
5140
|
color: var(--color--ink-subtle);
|
|
4464
5141
|
white-space: nowrap;
|
|
@@ -4476,6 +5153,26 @@ span.SidebarTree__node__toggle {
|
|
|
4476
5153
|
display: none;
|
|
4477
5154
|
}
|
|
4478
5155
|
}
|
|
5156
|
+
/* See RecordRow/Image.tsx. Its container gives the size of the square. */
|
|
5157
|
+
.RecordRow__image {
|
|
5158
|
+
width: 100%;
|
|
5159
|
+
height: 100%;
|
|
5160
|
+
background-repeat: no-repeat;
|
|
5161
|
+
background-position: center center;
|
|
5162
|
+
background-size: cover;
|
|
5163
|
+
}
|
|
5164
|
+
.RecordRow__image--placeholder {
|
|
5165
|
+
background-color: var(--color--surface-muted);
|
|
5166
|
+
}
|
|
5167
|
+
.RecordRow__loading {
|
|
5168
|
+
display: inline-block;
|
|
5169
|
+
width: 8em;
|
|
5170
|
+
max-width: 100%;
|
|
5171
|
+
height: 0.8em;
|
|
5172
|
+
vertical-align: middle;
|
|
5173
|
+
background-color: var(--color--surface-muted);
|
|
5174
|
+
border-radius: var(--radius-s);
|
|
5175
|
+
}
|
|
4479
5176
|
/* RowList, and NavList that renders a RowList */
|
|
4480
5177
|
.RowList {
|
|
4481
5178
|
display: flex;
|
|
@@ -4517,6 +5214,53 @@ span.SidebarTree__node__toggle {
|
|
|
4517
5214
|
overflow: hidden;
|
|
4518
5215
|
}
|
|
4519
5216
|
|
|
5217
|
+
/* The container already has an inset (a SidebarPanel). The negative margin
|
|
5218
|
+
puts the box of a row out of the content of the container, and the
|
|
5219
|
+
padding puts the image and the text back on its edge. */
|
|
5220
|
+
.RowList--compact {
|
|
5221
|
+
padding: 0;
|
|
5222
|
+
margin-inline: calc(-1 * var(--row-inset));
|
|
5223
|
+
|
|
5224
|
+
.RowList__content {
|
|
5225
|
+
padding: var(--spacing-s) var(--row-inset);
|
|
5226
|
+
}
|
|
5227
|
+
}
|
|
5228
|
+
|
|
5229
|
+
/* The actions show only when the user can use them, as the actions of a
|
|
5230
|
+
row of a Table and of an item of a CardList. At rest they take no space,
|
|
5231
|
+
thus the other content at the end of each row stays on its right edge.
|
|
5232
|
+
The buttons stay in the layout: the keyboard reaches them, and the focus
|
|
5233
|
+
shows them. */
|
|
5234
|
+
.RowList__actions {
|
|
5235
|
+
display: flex;
|
|
5236
|
+
flex: none;
|
|
5237
|
+
align-items: center;
|
|
5238
|
+
max-width: 0;
|
|
5239
|
+
overflow: hidden;
|
|
5240
|
+
opacity: 0;
|
|
5241
|
+
transition: opacity 0.1s ease-in-out;
|
|
5242
|
+
|
|
5243
|
+
/* This cancels the gap of the EntityRow before the hidden actions */
|
|
5244
|
+
:where(.EntityRow) > & {
|
|
5245
|
+
margin-inline-start: calc(-1 * var(--spacing-m));
|
|
5246
|
+
}
|
|
5247
|
+
|
|
5248
|
+
.RowList__item:is(:hover, :focus-within) &,
|
|
5249
|
+
&:has([aria-expanded="true"]),
|
|
5250
|
+
&.RowList__actions--always {
|
|
5251
|
+
max-width: none;
|
|
5252
|
+
margin-inline-start: 0;
|
|
5253
|
+
overflow: visible;
|
|
5254
|
+
opacity: 1;
|
|
5255
|
+
}
|
|
5256
|
+
@media (hover: none) {
|
|
5257
|
+
max-width: none;
|
|
5258
|
+
margin-inline-start: 0;
|
|
5259
|
+
overflow: visible;
|
|
5260
|
+
opacity: 1;
|
|
5261
|
+
}
|
|
5262
|
+
}
|
|
5263
|
+
|
|
4520
5264
|
/* A muted row is still a link, thus its text keeps 4.5:1: only the images
|
|
4521
5265
|
fade. The row keeps its surface, thus the selected state shows. */
|
|
4522
5266
|
.RowList__item--muted .RowList__content {
|
|
@@ -4548,7 +5292,7 @@ span.SidebarTree__node__toggle {
|
|
|
4548
5292
|
background-color: var(--color--primary--surface);
|
|
4549
5293
|
}
|
|
4550
5294
|
.RowList__handle svg {
|
|
4551
|
-
|
|
5295
|
+
color: var(--color--selected--ink);
|
|
4552
5296
|
}
|
|
4553
5297
|
|
|
4554
5298
|
&:hover,
|
|
@@ -4592,23 +5336,36 @@ span.SidebarTree__node__toggle {
|
|
|
4592
5336
|
width: 0.7em;
|
|
4593
5337
|
min-width: 0.7em;
|
|
4594
5338
|
}
|
|
4595
|
-
.
|
|
5339
|
+
/* The fill goes on the circle, not on the svg. A Button gives a color to
|
|
5340
|
+
each svg in it (the color of its icons), with a stronger selector. */
|
|
5341
|
+
.FeedbackDot--success > circle {
|
|
4596
5342
|
fill: var(--color--fill-success);
|
|
4597
5343
|
}
|
|
4598
|
-
.FeedbackDot--warning {
|
|
5344
|
+
.FeedbackDot--warning > circle {
|
|
4599
5345
|
fill: var(--color--fill-warning);
|
|
4600
5346
|
}
|
|
4601
|
-
.FeedbackDot--danger {
|
|
5347
|
+
.FeedbackDot--danger > circle {
|
|
4602
5348
|
fill: var(--color--fill-danger);
|
|
4603
5349
|
}
|
|
4604
|
-
.FeedbackDot--neutral {
|
|
5350
|
+
.FeedbackDot--neutral > circle {
|
|
4605
5351
|
fill: var(--color--ink-disabled);
|
|
4606
5352
|
}
|
|
4607
5353
|
.ValidityTriangle--published,
|
|
4608
5354
|
.ValidityTriangle--current,
|
|
4609
5355
|
.ValidityTriangle--threat {
|
|
4610
5356
|
vertical-align: text-top;
|
|
4611
|
-
|
|
5357
|
+
/* token-audit-disable-next-line mismatch -- the triangle is a graphic mark, and its color paints its fill */
|
|
5358
|
+
color: var(--color--fill-danger);
|
|
5359
|
+
}
|
|
5360
|
+
/* The triangle of the published version is a solid mark, thus it is different
|
|
5361
|
+
from the outline triangle of the current version. The fill hides the
|
|
5362
|
+
exclamation point, thus the point takes the ink of a danger surface. */
|
|
5363
|
+
.ValidityTriangle--published {
|
|
5364
|
+
fill: currentColor;
|
|
5365
|
+
|
|
5366
|
+
path:not(:first-child) {
|
|
5367
|
+
stroke: var(--color--danger--ink);
|
|
5368
|
+
}
|
|
4612
5369
|
}
|
|
4613
5370
|
.ValidityTriangle__wrapper {
|
|
4614
5371
|
display: inline-flex;
|
|
@@ -4852,7 +5609,7 @@ span.SidebarTree__node__toggle {
|
|
|
4852
5609
|
box-shadow: var(--shadow--floating);
|
|
4853
5610
|
|
|
4854
5611
|
svg {
|
|
4855
|
-
|
|
5612
|
+
color: var(--color--ink);
|
|
4856
5613
|
}
|
|
4857
5614
|
&:hover,
|
|
4858
5615
|
&:focus-visible,
|
|
@@ -4872,6 +5629,49 @@ span.SidebarTree__node__toggle {
|
|
|
4872
5629
|
background-color: var(--color--disabled-field--surface);
|
|
4873
5630
|
}
|
|
4874
5631
|
}
|
|
5632
|
+
.UploadCard__antivirus-badge {
|
|
5633
|
+
position: absolute;
|
|
5634
|
+
top: 8px;
|
|
5635
|
+
left: 8px;
|
|
5636
|
+
z-index: 3;
|
|
5637
|
+
display: inline-flex;
|
|
5638
|
+
gap: 5px;
|
|
5639
|
+
align-items: center;
|
|
5640
|
+
padding: 5px;
|
|
5641
|
+
font-size: var(--font-size-m);
|
|
5642
|
+
color: var(--color-feedback-ink-fail);
|
|
5643
|
+
white-space: nowrap;
|
|
5644
|
+
background-color: var(--color--danger-soft--surface);
|
|
5645
|
+
border-radius: var(--radius-full);
|
|
5646
|
+
|
|
5647
|
+
svg {
|
|
5648
|
+
flex-shrink: 0;
|
|
5649
|
+
width: 0.9em;
|
|
5650
|
+
height: 0.9em;
|
|
5651
|
+
}
|
|
5652
|
+
|
|
5653
|
+
span {
|
|
5654
|
+
display: none;
|
|
5655
|
+
}
|
|
5656
|
+
|
|
5657
|
+
@container (min-width: 180px) {
|
|
5658
|
+
padding: 5px 10px;
|
|
5659
|
+
|
|
5660
|
+
span {
|
|
5661
|
+
display: inline;
|
|
5662
|
+
}
|
|
5663
|
+
}
|
|
5664
|
+
}
|
|
5665
|
+
/* The preview of an asset in a MediaCard (ui-public/MediaCard) */
|
|
5666
|
+
.MediaCard__image-preview {
|
|
5667
|
+
.UploadPreview {
|
|
5668
|
+
height: 200px;
|
|
5669
|
+
border-radius: var(--radius-s) var(--radius-s) 0 0;
|
|
5670
|
+
}
|
|
5671
|
+
}
|
|
5672
|
+
.MediaCard.is-disabled .UploadPreview {
|
|
5673
|
+
background-color: var(--color--disabled-field--surface);
|
|
5674
|
+
}
|
|
4875
5675
|
.Table {
|
|
4876
5676
|
/* The space at the sides of the text of a cell. The first and the last
|
|
4877
5677
|
cells line up with the title of the toolbar above the table. */
|
|
@@ -5070,7 +5870,7 @@ span.SidebarTree__node__toggle {
|
|
|
5070
5870
|
cursor: not-allowed;
|
|
5071
5871
|
|
|
5072
5872
|
svg {
|
|
5073
|
-
|
|
5873
|
+
color: var(--color--ink-disabled);
|
|
5074
5874
|
}
|
|
5075
5875
|
}
|
|
5076
5876
|
.Table__header {
|
|
@@ -5115,7 +5915,7 @@ span.SidebarTree__node__toggle {
|
|
|
5115
5915
|
width: max(10px, 0.75em);
|
|
5116
5916
|
height: max(10px, 0.75em);
|
|
5117
5917
|
vertical-align: middle;
|
|
5118
|
-
|
|
5918
|
+
color: var(--color--ink-subtle);
|
|
5119
5919
|
}
|
|
5120
5920
|
.Table__header-cell__cell {
|
|
5121
5921
|
flex: 1;
|
|
@@ -5127,14 +5927,13 @@ span.SidebarTree__node__toggle {
|
|
|
5127
5927
|
.Table--tree .Table__header-cell--first-real-cell & {
|
|
5128
5928
|
padding-left: 0;
|
|
5129
5929
|
}
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5930
|
+
}
|
|
5931
|
+
.Table__header-cell__sort {
|
|
5932
|
+
color: var(--color--ink-subtle);
|
|
5133
5933
|
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
}
|
|
5934
|
+
&:hover,
|
|
5935
|
+
&:focus {
|
|
5936
|
+
text-decoration: underline;
|
|
5138
5937
|
}
|
|
5139
5938
|
}
|
|
5140
5939
|
.Table__header-cell__resize {
|
|
@@ -5251,12 +6050,45 @@ span.SidebarTree__node__toggle {
|
|
|
5251
6050
|
flex: none;
|
|
5252
6051
|
width: max(10px, 0.75em);
|
|
5253
6052
|
height: max(10px, 0.75em);
|
|
5254
|
-
|
|
6053
|
+
color: var(--color--ink-subtle);
|
|
5255
6054
|
}
|
|
5256
6055
|
.Table__cell--color-transparent {
|
|
5257
6056
|
opacity: 0;
|
|
5258
6057
|
}
|
|
5259
|
-
|
|
6058
|
+
.EntityCell {
|
|
6059
|
+
display: flex;
|
|
6060
|
+
align-items: center;
|
|
6061
|
+
font-size: var(--font-size-m);
|
|
6062
|
+
}
|
|
6063
|
+
.EntityCell__image {
|
|
6064
|
+
img,
|
|
6065
|
+
svg,
|
|
6066
|
+
div {
|
|
6067
|
+
flex-shrink: 0;
|
|
6068
|
+
width: 35px;
|
|
6069
|
+
height: 35px;
|
|
6070
|
+
margin-right: 20px;
|
|
6071
|
+
background-position: center center;
|
|
6072
|
+
background-size: cover;
|
|
6073
|
+
border-radius: var(--radius-s);
|
|
6074
|
+
}
|
|
6075
|
+
}
|
|
6076
|
+
.EntityCell__preview {
|
|
6077
|
+
margin-right: 20px;
|
|
6078
|
+
}
|
|
6079
|
+
/* A title with a preview image: the ellipsis goes on the title */
|
|
6080
|
+
.Table__cell__truncate .EntityCell__title {
|
|
6081
|
+
flex: 1 1 auto;
|
|
6082
|
+
min-width: 0;
|
|
6083
|
+
overflow: hidden;
|
|
6084
|
+
text-overflow: ellipsis;
|
|
6085
|
+
}
|
|
6086
|
+
/* The rule has no specificity, thus a block in the title keeps its own
|
|
6087
|
+
display. A block in an inline parent would start a new line. */
|
|
6088
|
+
:where(.Table__cell__truncate .EntityCell__title) > * {
|
|
6089
|
+
display: inline;
|
|
6090
|
+
}
|
|
6091
|
+
/* The cells of ui-public/Table/cells. A date, a status and a label with an
|
|
5260
6092
|
icon do not break on two lines. */
|
|
5261
6093
|
.TimeCell,
|
|
5262
6094
|
.StatusCell,
|
|
@@ -5301,7 +6133,7 @@ span.SidebarTree__node__toggle {
|
|
|
5301
6133
|
position: relative;
|
|
5302
6134
|
/* The right padding keeps the place of the chevron, thus the select does
|
|
5303
6135
|
not change its width on hover */
|
|
5304
|
-
padding: var(--spacing-s) calc(var(--spacing-m) +
|
|
6136
|
+
padding: var(--spacing-s) calc(var(--spacing-m) + 1.125em) var(--spacing-s)
|
|
5305
6137
|
var(--spacing-s);
|
|
5306
6138
|
margin-right: var(--spacing-l);
|
|
5307
6139
|
border: 1px solid transparent;
|
|
@@ -5343,7 +6175,16 @@ span.SidebarTree__node__toggle {
|
|
|
5343
6175
|
}
|
|
5344
6176
|
}
|
|
5345
6177
|
}
|
|
5346
|
-
/*
|
|
6178
|
+
/* The full layout with ten page numbers and the "Show" select needs about
|
|
6179
|
+
44em. In a narrower toolbar, the pagination shows fewer page numbers and
|
|
6180
|
+
no select (see Toolbar/Pagination.tsx). */
|
|
6181
|
+
@container toolbar-pagination (max-width: 45em) {
|
|
6182
|
+
.Pagination__per-page,
|
|
6183
|
+
.Pagination__button--wide-only {
|
|
6184
|
+
display: none;
|
|
6185
|
+
}
|
|
6186
|
+
}
|
|
6187
|
+
/* See InfoList/index.tsx. The list is a description list: the margins of the
|
|
5347
6188
|
browser go away. */
|
|
5348
6189
|
.InfoList {
|
|
5349
6190
|
margin: 0;
|
|
@@ -5388,7 +6229,7 @@ span.SidebarTree__node__toggle {
|
|
|
5388
6229
|
border-bottom: 0;
|
|
5389
6230
|
}
|
|
5390
6231
|
}
|
|
5391
|
-
/* In a wide list (600px and more, see InfoList.tsx), the value is far from
|
|
6232
|
+
/* In a wide list (600px and more, see InfoList/index.tsx), the value is far from
|
|
5392
6233
|
its title: the hover helps the eye to follow the row. The padding at the
|
|
5393
6234
|
sides keeps the text away from the edges of the hover. */
|
|
5394
6235
|
.InfoList--wide .InfoList__row {
|
|
@@ -5416,21 +6257,9 @@ span.SidebarTree__node__toggle {
|
|
|
5416
6257
|
}
|
|
5417
6258
|
/* A value that opens a menu (see TextualTrigger.tsx) is a block, thus
|
|
5418
6259
|
"text-align" does not move it. The automatic margin puts it at the right,
|
|
5419
|
-
as the other values.
|
|
5420
|
-
stays on one line with an ellipsis and does not go out of the row. The text clips, not the button
|
|
5421
|
-
(the surface of the button is out of its box). */
|
|
6260
|
+
as the other values. */
|
|
5422
6261
|
.InfoList__row__content .Dropdown__textual-trigger {
|
|
5423
|
-
max-width: 100%;
|
|
5424
6262
|
margin-left: auto;
|
|
5425
|
-
|
|
5426
|
-
> span {
|
|
5427
|
-
min-width: 0;
|
|
5428
|
-
overflow: hidden;
|
|
5429
|
-
text-overflow: ellipsis;
|
|
5430
|
-
}
|
|
5431
|
-
> svg {
|
|
5432
|
-
flex: none;
|
|
5433
|
-
}
|
|
5434
6263
|
}
|
|
5435
6264
|
/* The smart tags of an asset (see UploadSmartTags.tsx): the tags go on
|
|
5436
6265
|
more lines, at the right as the other values. The title stays at the level
|
|
@@ -5449,21 +6278,56 @@ span.SidebarTree__node__toggle {
|
|
|
5449
6278
|
display: flex;
|
|
5450
6279
|
gap: var(--spacing-s);
|
|
5451
6280
|
align-items: center;
|
|
5452
|
-
padding-right:
|
|
6281
|
+
padding-right: var(--spacing-l);
|
|
5453
6282
|
font-weight: var(--font-weight-regular);
|
|
5454
6283
|
color: var(--color--ink-subtle);
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
.SettingsList {
|
|
5459
|
-
padding: 0;
|
|
5460
|
-
margin: 0;
|
|
5461
|
-
list-style: none;
|
|
6284
|
+
/* The title wraps, thus its min-content width is small and the
|
|
6285
|
+
fit-content(70%) column of .InfoList__row can stop it at 70% */
|
|
6286
|
+
overflow-wrap: anywhere;
|
|
5462
6287
|
}
|
|
5463
|
-
/*
|
|
5464
|
-
|
|
5465
|
-
.
|
|
5466
|
-
display: flex;
|
|
6288
|
+
/* A value in a row (InfoList.Value and InfoList.User). With "is-editable"
|
|
6289
|
+
and ".button--ghost-inline" it is a button. */
|
|
6290
|
+
.InfoList__value {
|
|
6291
|
+
display: inline-flex;
|
|
6292
|
+
gap: var(--spacing-s);
|
|
6293
|
+
align-items: center;
|
|
6294
|
+
max-width: 100%;
|
|
6295
|
+
vertical-align: middle;
|
|
6296
|
+
text-align: left;
|
|
6297
|
+
text-decoration: none;
|
|
6298
|
+
cursor: default;
|
|
6299
|
+
|
|
6300
|
+
/* The hover comes from ".button--ghost-inline" */
|
|
6301
|
+
&.is-editable {
|
|
6302
|
+
cursor: pointer;
|
|
6303
|
+
}
|
|
6304
|
+
}
|
|
6305
|
+
/* The icon of InfoList.Value.Button has the look of the chevron of a
|
|
6306
|
+
trigger */
|
|
6307
|
+
.InfoList__value > svg {
|
|
6308
|
+
flex: none;
|
|
6309
|
+
width: 1em;
|
|
6310
|
+
height: 1em;
|
|
6311
|
+
color: var(--color--ink-subtle);
|
|
6312
|
+
}
|
|
6313
|
+
.InfoList__value__label {
|
|
6314
|
+
min-width: 0;
|
|
6315
|
+
overflow: hidden;
|
|
6316
|
+
text-overflow: ellipsis;
|
|
6317
|
+
white-space: nowrap;
|
|
6318
|
+
}
|
|
6319
|
+
/* See SettingsList.tsx. The layout follows the width of the list, not of
|
|
6320
|
+
the viewport: a list in a narrow column gets the layout of a phone too. */
|
|
6321
|
+
.SettingsList {
|
|
6322
|
+
padding: 0;
|
|
6323
|
+
margin: 0;
|
|
6324
|
+
container: settings-list / inline-size;
|
|
6325
|
+
list-style: none;
|
|
6326
|
+
}
|
|
6327
|
+
/* On a narrow page, the value and the action go under the text and stay at
|
|
6328
|
+
the right */
|
|
6329
|
+
.SettingsList__row {
|
|
6330
|
+
display: flex;
|
|
5467
6331
|
flex-wrap: wrap;
|
|
5468
6332
|
gap: var(--spacing-s) var(--spacing-m);
|
|
5469
6333
|
align-items: center;
|
|
@@ -5499,23 +6363,23 @@ span.SidebarTree__node__toggle {
|
|
|
5499
6363
|
text-align: right;
|
|
5500
6364
|
white-space: nowrap;
|
|
5501
6365
|
}
|
|
6366
|
+
/* A label longer than the row gets an ellipsis from the button */
|
|
5502
6367
|
.SettingsList__action {
|
|
5503
6368
|
flex: none;
|
|
6369
|
+
max-width: 100%;
|
|
5504
6370
|
}
|
|
5505
6371
|
/* Without a value, the action goes to the right */
|
|
5506
6372
|
.SettingsList__text + .SettingsList__action {
|
|
5507
6373
|
margin-left: auto;
|
|
5508
6374
|
}
|
|
5509
|
-
/*
|
|
5510
|
-
|
|
5511
|
-
the text of a ghost button starts on the
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
grid-template-columns: minmax(0, 1fr) auto;
|
|
5516
|
-
}
|
|
6375
|
+
/* In a narrow list, the text is on a line of its own. The value is at the
|
|
6376
|
+
left, and the action at the right of the value, or under it when the two
|
|
6377
|
+
do not fit. Without a value, the text of a ghost button starts on the
|
|
6378
|
+
line of the title. Under 480px, the text, the value and the action do
|
|
6379
|
+
not fit on one line. */
|
|
6380
|
+
@container settings-list (max-width: 479px) {
|
|
5517
6381
|
.SettingsList__text {
|
|
5518
|
-
|
|
6382
|
+
flex-basis: 100%;
|
|
5519
6383
|
}
|
|
5520
6384
|
.SettingsList__value {
|
|
5521
6385
|
margin-left: 0;
|
|
@@ -5523,13 +6387,16 @@ span.SidebarTree__node__toggle {
|
|
|
5523
6387
|
overflow-wrap: anywhere;
|
|
5524
6388
|
white-space: normal;
|
|
5525
6389
|
}
|
|
6390
|
+
.SettingsList__value + .SettingsList__action {
|
|
6391
|
+
margin-left: auto;
|
|
6392
|
+
}
|
|
5526
6393
|
.SettingsList__text + .SettingsList__action {
|
|
5527
|
-
grid-column: 1;
|
|
5528
|
-
justify-self: start;
|
|
5529
6394
|
margin-left: 0;
|
|
5530
6395
|
|
|
6396
|
+
/* A negative margin makes the action narrower than the button, and the
|
|
6397
|
+
label gets an ellipsis. The translate moves only the picture. */
|
|
5531
6398
|
> :is(.button--ghost, .button--ghost-alert) {
|
|
5532
|
-
|
|
6399
|
+
translate: calc(-1 * var(--button-pad-x));
|
|
5533
6400
|
}
|
|
5534
6401
|
}
|
|
5535
6402
|
}
|
|
@@ -5592,6 +6459,10 @@ span.SidebarTree__node__toggle {
|
|
|
5592
6459
|
display: flex;
|
|
5593
6460
|
align-items: stretch;
|
|
5594
6461
|
width: fit-content;
|
|
6462
|
+
/* Long labels (a translation) shrink the options, not the container: the
|
|
6463
|
+
control stays in its container, also as a flex item */
|
|
6464
|
+
min-width: 0;
|
|
6465
|
+
max-width: 100%;
|
|
5595
6466
|
font-size: var(--font-size-m);
|
|
5596
6467
|
}
|
|
5597
6468
|
.SegmentedControl__button {
|
|
@@ -5599,6 +6470,7 @@ span.SidebarTree__node__toggle {
|
|
|
5599
6470
|
gap: 0.5em;
|
|
5600
6471
|
align-items: center;
|
|
5601
6472
|
justify-content: center;
|
|
6473
|
+
min-width: 0;
|
|
5602
6474
|
/* The size class sets the variables (see _button.css). The fallbacks are
|
|
5603
6475
|
the values of the plain ".button" ("regular" and "large"). */
|
|
5604
6476
|
padding: var(--button-pad-y, 0.7em) var(--button-pad-x, 1em);
|
|
@@ -5613,9 +6485,9 @@ span.SidebarTree__node__toggle {
|
|
|
5613
6485
|
transition: background-color 0.2s var(--material-ease);
|
|
5614
6486
|
|
|
5615
6487
|
svg {
|
|
6488
|
+
flex: none;
|
|
5616
6489
|
width: 1em;
|
|
5617
6490
|
height: 1em;
|
|
5618
|
-
fill: currentColor;
|
|
5619
6491
|
}
|
|
5620
6492
|
&:hover:not(:disabled),
|
|
5621
6493
|
&:focus-visible {
|
|
@@ -5633,15 +6505,25 @@ span.SidebarTree__node__toggle {
|
|
|
5633
6505
|
opacity: var(--disabled-opacity);
|
|
5634
6506
|
}
|
|
5635
6507
|
}
|
|
6508
|
+
/* The accessible name of the option keeps the full label */
|
|
6509
|
+
.SegmentedControl__label {
|
|
6510
|
+
overflow: hidden;
|
|
6511
|
+
text-overflow: ellipsis;
|
|
6512
|
+
}
|
|
6513
|
+
/* Each option starts from the width of its label and gets an equal part of
|
|
6514
|
+
the free space. With "flex: 1" the options are equal, thus a long label
|
|
6515
|
+
ends in "…" in a container as wide as the sum of the options (a dropdown
|
|
6516
|
+
menu), and a short label gets a wide empty box. */
|
|
5636
6517
|
.SegmentedControl--fill {
|
|
5637
6518
|
width: auto;
|
|
5638
6519
|
|
|
5639
6520
|
.SegmentedControl__button {
|
|
5640
|
-
flex:
|
|
6521
|
+
flex: auto;
|
|
5641
6522
|
}
|
|
5642
6523
|
}
|
|
5643
6524
|
/* An option with only an icon is a square, as ".button--icon-only" */
|
|
5644
6525
|
.SegmentedControl--icon-only .SegmentedControl__button {
|
|
6526
|
+
flex-shrink: 0;
|
|
5645
6527
|
width: calc(1lh + 2 * var(--button-pad-y, 0.7em));
|
|
5646
6528
|
padding-inline: 0;
|
|
5647
6529
|
}
|
|
@@ -5662,6 +6544,10 @@ span.SidebarTree__node__toggle {
|
|
|
5662
6544
|
.SelectInput {
|
|
5663
6545
|
--SelectInput-value-margin: 2px;
|
|
5664
6546
|
--SelectInput-indicator-padding: 8px;
|
|
6547
|
+
|
|
6548
|
+
/* In a flex row or in a grid, the select is never wider than its place: a
|
|
6549
|
+
long value or chip ends with an ellipsis, and the indicators stay */
|
|
6550
|
+
min-width: 0;
|
|
5665
6551
|
}
|
|
5666
6552
|
.SelectInput--autosize {
|
|
5667
6553
|
display: flex;
|
|
@@ -5795,7 +6681,6 @@ span.SidebarTree__node__toggle {
|
|
|
5795
6681
|
display: block;
|
|
5796
6682
|
width: max(13px, 1em);
|
|
5797
6683
|
height: max(13px, 1em);
|
|
5798
|
-
fill: currentColor;
|
|
5799
6684
|
}
|
|
5800
6685
|
|
|
5801
6686
|
/* The chip of a value of a multiple select. The wrapper (see
|
|
@@ -5936,7 +6821,7 @@ span.SidebarTree__node__toggle {
|
|
|
5936
6821
|
|
|
5937
6822
|
svg {
|
|
5938
6823
|
font-size: 14px;
|
|
5939
|
-
|
|
6824
|
+
color: var(--color--ink-subtle);
|
|
5940
6825
|
}
|
|
5941
6826
|
}
|
|
5942
6827
|
.SelectInput__menu-action__label {
|
|
@@ -5952,7 +6837,7 @@ span.SidebarTree__node__toggle {
|
|
|
5952
6837
|
|
|
5953
6838
|
svg {
|
|
5954
6839
|
font-size: 12px;
|
|
5955
|
-
|
|
6840
|
+
color: var(--color--ink-subtle);
|
|
5956
6841
|
}
|
|
5957
6842
|
}
|
|
5958
6843
|
/* It is the title of the second list. */
|
|
@@ -5966,6 +6851,9 @@ span.SidebarTree__node__toggle {
|
|
|
5966
6851
|
this file. */
|
|
5967
6852
|
.Dropdown {
|
|
5968
6853
|
position: relative;
|
|
6854
|
+
/* A parent that is as wide as its content (a column with "align-items:
|
|
6855
|
+
flex-start") can otherwise give the trigger the full width of its label */
|
|
6856
|
+
max-width: 100%;
|
|
5969
6857
|
}
|
|
5970
6858
|
.Dropdown__spacer {
|
|
5971
6859
|
position: absolute;
|
|
@@ -5978,18 +6866,35 @@ span.SidebarTree__node__toggle {
|
|
|
5978
6866
|
align-items: center;
|
|
5979
6867
|
width: 100%;
|
|
5980
6868
|
width: auto;
|
|
6869
|
+
max-width: 100%;
|
|
6870
|
+
/* One line of text: the box of the value is lower than a line (see
|
|
6871
|
+
"text-box" in _button.css) */
|
|
6872
|
+
min-height: 1lh;
|
|
5981
6873
|
padding: 0;
|
|
5982
6874
|
white-space: nowrap;
|
|
5983
6875
|
|
|
6876
|
+
/* A long value gets an ellipsis, and the chevron always shows. The box of
|
|
6877
|
+
the value is the same as the box of the label of a button. */
|
|
5984
6878
|
> span {
|
|
5985
6879
|
position: relative;
|
|
5986
|
-
|
|
6880
|
+
min-width: 0;
|
|
6881
|
+
overflow-x: clip;
|
|
6882
|
+
overflow-y: visible;
|
|
6883
|
+
text-overflow: ellipsis;
|
|
6884
|
+
text-box: trim-both cap alphabetic;
|
|
6885
|
+
}
|
|
6886
|
+
@supports not (text-box: trim-both cap alphabetic) {
|
|
6887
|
+
> span {
|
|
6888
|
+
top: 0.06em;
|
|
6889
|
+
overflow: hidden;
|
|
6890
|
+
}
|
|
5987
6891
|
}
|
|
5988
6892
|
svg {
|
|
5989
6893
|
display: inline-block;
|
|
6894
|
+
flex: none;
|
|
5990
6895
|
line-height: 0.6;
|
|
5991
6896
|
vertical-align: middle;
|
|
5992
|
-
|
|
6897
|
+
color: var(--color--ink-subtle);
|
|
5993
6898
|
}
|
|
5994
6899
|
}
|
|
5995
6900
|
|
|
@@ -6070,6 +6975,25 @@ span.SidebarTree__node__toggle {
|
|
|
6070
6975
|
}
|
|
6071
6976
|
}
|
|
6072
6977
|
}
|
|
6978
|
+
/* The picture at rest (Static.tsx) has no portal: the menu goes next to the
|
|
6979
|
+
trigger, at the 4px offset of Menu.tsx. The z-index puts the menu above
|
|
6980
|
+
the content near it, as the portal of the live menu does. */
|
|
6981
|
+
.Dropdown[data-placement] > .Dropdown__menu-container {
|
|
6982
|
+
position: absolute;
|
|
6983
|
+
z-index: 5;
|
|
6984
|
+
}
|
|
6985
|
+
.Dropdown[data-placement^="bottom"] > .Dropdown__menu-container {
|
|
6986
|
+
top: calc(100% + 4px);
|
|
6987
|
+
}
|
|
6988
|
+
.Dropdown[data-placement^="top"] > .Dropdown__menu-container {
|
|
6989
|
+
bottom: calc(100% + 4px);
|
|
6990
|
+
}
|
|
6991
|
+
.Dropdown[data-placement$="-start"] > .Dropdown__menu-container {
|
|
6992
|
+
left: 0;
|
|
6993
|
+
}
|
|
6994
|
+
.Dropdown[data-placement$="-end"] > .Dropdown__menu-container {
|
|
6995
|
+
right: 0;
|
|
6996
|
+
}
|
|
6073
6997
|
@keyframes Dropdown__menu-enter {
|
|
6074
6998
|
from {
|
|
6075
6999
|
opacity: 0;
|
|
@@ -6134,7 +7058,6 @@ span.SidebarTree__node__toggle {
|
|
|
6134
7058
|
> svg {
|
|
6135
7059
|
flex: none;
|
|
6136
7060
|
font-size: 12px;
|
|
6137
|
-
fill: currentColor;
|
|
6138
7061
|
}
|
|
6139
7062
|
|
|
6140
7063
|
/* The line separates the stuck title from the options that scroll below
|
|
@@ -6214,8 +7137,8 @@ span.SidebarTree__node__toggle {
|
|
|
6214
7137
|
top: 50%;
|
|
6215
7138
|
left: 12px;
|
|
6216
7139
|
font-size: 15px;
|
|
7140
|
+
color: var(--color--ink-subtle);
|
|
6217
7141
|
pointer-events: none;
|
|
6218
|
-
fill: var(--color--ink-subtle);
|
|
6219
7142
|
transform: translateY(-50%);
|
|
6220
7143
|
}
|
|
6221
7144
|
/* Two classes, so this rule is stronger than the global rules of the text
|
|
@@ -6278,7 +7201,7 @@ span.SidebarTree__node__toggle {
|
|
|
6278
7201
|
color: var(--color--ink-danger);
|
|
6279
7202
|
|
|
6280
7203
|
.Dropdown__menu__option__content > svg {
|
|
6281
|
-
|
|
7204
|
+
color: inherit;
|
|
6282
7205
|
}
|
|
6283
7206
|
}
|
|
6284
7207
|
&.is-dangerous.is-hover,
|
|
@@ -6295,7 +7218,7 @@ span.SidebarTree__node__toggle {
|
|
|
6295
7218
|
top: 50%;
|
|
6296
7219
|
/* Puts the 14px grip at the center of the gutter */
|
|
6297
7220
|
left: calc((var(--Dropdown-gutter) - 14px) / 2);
|
|
6298
|
-
|
|
7221
|
+
color: var(--color--ink-subtle);
|
|
6299
7222
|
transform: translateY(-50%);
|
|
6300
7223
|
|
|
6301
7224
|
@media (hover: hover) {
|
|
@@ -6330,7 +7253,6 @@ span.SidebarTree__node__toggle {
|
|
|
6330
7253
|
|
|
6331
7254
|
svg {
|
|
6332
7255
|
font-size: 12px;
|
|
6333
|
-
fill: currentColor;
|
|
6334
7256
|
}
|
|
6335
7257
|
}
|
|
6336
7258
|
.Dropdown__menu__option__chevron {
|
|
@@ -6342,7 +7264,7 @@ span.SidebarTree__node__toggle {
|
|
|
6342
7264
|
|
|
6343
7265
|
svg {
|
|
6344
7266
|
font-size: 12px;
|
|
6345
|
-
|
|
7267
|
+
color: var(--color--ink-subtle);
|
|
6346
7268
|
}
|
|
6347
7269
|
}
|
|
6348
7270
|
.Dropdown__menu__option__validity_icon {
|
|
@@ -6366,19 +7288,14 @@ span.SidebarTree__node__toggle {
|
|
|
6366
7288
|
flex: none;
|
|
6367
7289
|
font-size: 16px;
|
|
6368
7290
|
vertical-align: middle;
|
|
6369
|
-
|
|
7291
|
+
color: var(--color--ink-subtle);
|
|
6370
7292
|
}
|
|
6371
7293
|
/* Plugin-injected actions render their icon through .PluginIcon; normalize it
|
|
6372
|
-
to match native option icons (muted
|
|
7294
|
+
to match native option icons (muted color, sizing and spacing). */
|
|
6373
7295
|
.PluginIcon {
|
|
6374
7296
|
margin-right: 0;
|
|
6375
7297
|
font-size: 16px;
|
|
6376
7298
|
}
|
|
6377
|
-
/* The rule of _PluginIcon.css (fill: currentColor) comes later in the
|
|
6378
|
-
styles: the two classes make this rule stronger */
|
|
6379
|
-
> .PluginIcon.PluginIcon--svg {
|
|
6380
|
-
fill: var(--color--ink-subtle);
|
|
6381
|
-
}
|
|
6382
7299
|
/* At a 16px font size, the emoji glyph fills the box as much as an SVG
|
|
6383
7300
|
icon */
|
|
6384
7301
|
> .ItemTypeEmoji,
|
|
@@ -6444,7 +7361,7 @@ span.SidebarTree__node__toggle {
|
|
|
6444
7361
|
border-radius: var(--radius-s);
|
|
6445
7362
|
|
|
6446
7363
|
svg {
|
|
6447
|
-
|
|
7364
|
+
color: var(--color--ink-subtle);
|
|
6448
7365
|
}
|
|
6449
7366
|
}
|
|
6450
7367
|
/* The button is a square as tall as the option. The negative margin takes
|
|
@@ -6468,16 +7385,16 @@ button.Dropdown__menu__option__icon {
|
|
|
6468
7385
|
background-color: var(--color--surface-raised-active);
|
|
6469
7386
|
|
|
6470
7387
|
svg {
|
|
6471
|
-
|
|
7388
|
+
color: var(--color--ink);
|
|
6472
7389
|
}
|
|
6473
7390
|
}
|
|
6474
7391
|
}
|
|
6475
7392
|
.Dropdown__menu__option__icon--delete svg {
|
|
6476
|
-
|
|
7393
|
+
color: var(--color--danger-soft--ink);
|
|
6477
7394
|
}
|
|
6478
7395
|
button.Dropdown__menu__option__icon--delete:hover svg,
|
|
6479
7396
|
button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
6480
|
-
|
|
7397
|
+
color: var(--color--danger-soft--ink);
|
|
6481
7398
|
}
|
|
6482
7399
|
.Dropdown__menu__separator {
|
|
6483
7400
|
height: 1px;
|
|
@@ -6735,7 +7652,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6735
7652
|
background: var(--color--surface-muted);
|
|
6736
7653
|
|
|
6737
7654
|
& .Callout__icon svg {
|
|
6738
|
-
|
|
7655
|
+
color: var(--color--ink-subtle);
|
|
6739
7656
|
}
|
|
6740
7657
|
}
|
|
6741
7658
|
|
|
@@ -6746,7 +7663,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6746
7663
|
background: var(--color--success-soft--surface);
|
|
6747
7664
|
|
|
6748
7665
|
& .Callout__icon svg {
|
|
6749
|
-
|
|
7666
|
+
color: var(--color--success-soft--ink);
|
|
6750
7667
|
}
|
|
6751
7668
|
}
|
|
6752
7669
|
|
|
@@ -6755,7 +7672,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6755
7672
|
background: var(--color--warning-soft--surface);
|
|
6756
7673
|
|
|
6757
7674
|
& .Callout__icon svg {
|
|
6758
|
-
|
|
7675
|
+
color: var(--color--warning-soft--ink);
|
|
6759
7676
|
}
|
|
6760
7677
|
}
|
|
6761
7678
|
|
|
@@ -6764,7 +7681,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6764
7681
|
background: var(--color--danger-soft--surface);
|
|
6765
7682
|
|
|
6766
7683
|
& .Callout__icon svg {
|
|
6767
|
-
|
|
7684
|
+
color: var(--color--danger-soft--ink);
|
|
6768
7685
|
}
|
|
6769
7686
|
}
|
|
6770
7687
|
.SidebarPanel {
|
|
@@ -6783,6 +7700,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6783
7700
|
content. The chevron is after the title. Before the title, it pushes the
|
|
6784
7701
|
title out of line with the content, and the inset has no space for it. */
|
|
6785
7702
|
.SidebarPanel__header {
|
|
7703
|
+
position: relative;
|
|
6786
7704
|
box-sizing: border-box;
|
|
6787
7705
|
display: flex;
|
|
6788
7706
|
gap: var(--spacing-s);
|
|
@@ -6791,21 +7709,50 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6791
7709
|
padding: var(--spacing-s)
|
|
6792
7710
|
calc(var(--SidebarPanel-inset) - var(--SidebarPanel-header-margin));
|
|
6793
7711
|
margin: var(--SidebarPanel-header-margin);
|
|
6794
|
-
color: var(--color--ink);
|
|
6795
|
-
text-align: left;
|
|
6796
7712
|
user-select: none;
|
|
6797
|
-
background-color: transparent;
|
|
6798
7713
|
border-radius: var(--row-radius);
|
|
6799
7714
|
|
|
6800
|
-
|
|
6801
|
-
&:
|
|
7715
|
+
/* The help has its own hover */
|
|
7716
|
+
&:hover:not(:has(.Toolbar__help:hover)),
|
|
7717
|
+
&:has(.SidebarPanel__header__title:focus-visible) {
|
|
6802
7718
|
background-color: var(--color--surface-hover);
|
|
6803
7719
|
}
|
|
6804
7720
|
}
|
|
6805
|
-
.
|
|
6806
|
-
flex: 1;
|
|
7721
|
+
.SidebarPanel__header__heading {
|
|
6807
7722
|
min-width: 0;
|
|
7723
|
+
}
|
|
7724
|
+
/* The ::after covers the header, thus a click anywhere in the header opens
|
|
7725
|
+
and closes the panel */
|
|
7726
|
+
.SidebarPanel__header__title {
|
|
7727
|
+
padding: 0;
|
|
6808
7728
|
font-weight: var(--font-weight-strong);
|
|
7729
|
+
color: var(--color--ink);
|
|
7730
|
+
text-align: left;
|
|
7731
|
+
background-color: transparent;
|
|
7732
|
+
|
|
7733
|
+
&::after {
|
|
7734
|
+
position: absolute;
|
|
7735
|
+
inset: 0;
|
|
7736
|
+
content: "";
|
|
7737
|
+
border-radius: inherit;
|
|
7738
|
+
}
|
|
7739
|
+
}
|
|
7740
|
+
/* The open chevron has a transform, thus it is above the ::after of the
|
|
7741
|
+
title: without pointer events, a click on it goes to the title */
|
|
7742
|
+
.SidebarPanel__header__chevron {
|
|
7743
|
+
margin-left: auto;
|
|
7744
|
+
pointer-events: none;
|
|
7745
|
+
|
|
7746
|
+
.SidebarPanel__header:hover:not(:has(.Toolbar__help:hover)) & {
|
|
7747
|
+
color: var(--chevron-color, var(--color--ink));
|
|
7748
|
+
}
|
|
7749
|
+
}
|
|
7750
|
+
/* The help (a Dropdown) stays above the ::after of the title. The negative
|
|
7751
|
+
margin keeps the header as tall as a header with no help. */
|
|
7752
|
+
.SidebarPanel__header > .Dropdown {
|
|
7753
|
+
z-index: 1;
|
|
7754
|
+
display: flex;
|
|
7755
|
+
margin-block: calc(-1 * var(--spacing-s));
|
|
6809
7756
|
}
|
|
6810
7757
|
.SidebarPanel__header__count {
|
|
6811
7758
|
margin-left: var(--spacing-s);
|
|
@@ -6859,7 +7806,9 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6859
7806
|
flex-direction: row;
|
|
6860
7807
|
gap: var(--spacing-m);
|
|
6861
7808
|
align-items: center;
|
|
6862
|
-
|
|
7809
|
+
/* Content that is too wide starts at the left edge: an overflow past the
|
|
7810
|
+
left edge cannot scroll into view. */
|
|
7811
|
+
justify-content: safe center;
|
|
6863
7812
|
min-width: 0;
|
|
6864
7813
|
min-height: var(--Toolbar-height);
|
|
6865
7814
|
> *:last-child {
|
|
@@ -6991,14 +7940,14 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6991
7940
|
& svg {
|
|
6992
7941
|
width: 12px;
|
|
6993
7942
|
height: 12px;
|
|
6994
|
-
|
|
7943
|
+
color: var(--color--ink-subtle);
|
|
6995
7944
|
}
|
|
6996
7945
|
&:hover,
|
|
6997
7946
|
&.is-open {
|
|
6998
7947
|
background: var(--color--surface-hover);
|
|
6999
7948
|
|
|
7000
7949
|
& svg {
|
|
7001
|
-
|
|
7950
|
+
color: var(--color--ink);
|
|
7002
7951
|
}
|
|
7003
7952
|
}
|
|
7004
7953
|
}
|
|
@@ -7045,8 +7994,12 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
7045
7994
|
white-space: nowrap;
|
|
7046
7995
|
}
|
|
7047
7996
|
/* A subtitle that opens a menu (see TextualDropdown.tsx): it must not clip
|
|
7048
|
-
the hover surface of its trigger
|
|
7997
|
+
the hover surface of its trigger. It shrinks with the title, and its
|
|
7998
|
+
trigger gets the ellipsis, thus a long value does not push the title to
|
|
7999
|
+
0px. */
|
|
7049
8000
|
.Toolbar__subtitle--dropdown {
|
|
8001
|
+
flex-shrink: 1;
|
|
8002
|
+
min-width: 0;
|
|
7050
8003
|
overflow: visible;
|
|
7051
8004
|
}
|
|
7052
8005
|
/* A long name of a saved filter shows an ellipsis, thus the title keeps its
|
|
@@ -7064,13 +8017,76 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
7064
8017
|
.Toolbar__space {
|
|
7065
8018
|
flex: 1;
|
|
7066
8019
|
}
|
|
8020
|
+
/* It takes the free width of the toolbar, thus it is the container of the
|
|
8021
|
+
narrow layout of the pagination (see "_Pagination.css"). After a title,
|
|
8022
|
+
the pages go at the right end, as after a Toolbar.Space. */
|
|
8023
|
+
.Toolbar__pagination {
|
|
8024
|
+
display: flex;
|
|
8025
|
+
flex: 1;
|
|
8026
|
+
gap: var(--spacing-m);
|
|
8027
|
+
align-items: center;
|
|
8028
|
+
justify-content: safe center;
|
|
8029
|
+
min-width: 0;
|
|
8030
|
+
container: toolbar-pagination / inline-size;
|
|
8031
|
+
|
|
8032
|
+
&:not(:only-child) {
|
|
8033
|
+
justify-content: safe flex-end;
|
|
8034
|
+
}
|
|
8035
|
+
}
|
|
7067
8036
|
.Toolbar__fill {
|
|
7068
8037
|
display: flex;
|
|
7069
8038
|
flex: 1;
|
|
7070
8039
|
}
|
|
8040
|
+
/* The parts of a filter row are bare (see the Filter section of the Toolbar
|
|
8041
|
+
page), thus the row gives them the gap of a toolbar. */
|
|
8042
|
+
.Toolbar--fields > .Toolbar__fill {
|
|
8043
|
+
gap: var(--spacing-m);
|
|
8044
|
+
align-items: flex-start;
|
|
8045
|
+
|
|
8046
|
+
/* Each part is at least as tall as a field of one line, and centers its
|
|
8047
|
+
own content in that height. Thus the parts stay on the first line of the
|
|
8048
|
+
tiles when the tiles wrap. Toolbar.Divider stretches to the full height
|
|
8049
|
+
of the row. */
|
|
8050
|
+
> * {
|
|
8051
|
+
box-sizing: border-box;
|
|
8052
|
+
min-height: var(--control-height);
|
|
8053
|
+
}
|
|
8054
|
+
}
|
|
8055
|
+
/* The widths of the two edge fades of .Toolbar__tabs. They must be
|
|
8056
|
+
registered: an animation cannot interpolate a custom property that is not
|
|
8057
|
+
registered. */
|
|
8058
|
+
@property --Toolbar__tabs-fade-start {
|
|
8059
|
+
syntax: "<length>";
|
|
8060
|
+
inherits: false;
|
|
8061
|
+
initial-value: 0px;
|
|
8062
|
+
}
|
|
8063
|
+
@property --Toolbar__tabs-fade-end {
|
|
8064
|
+
syntax: "<length>";
|
|
8065
|
+
inherits: false;
|
|
8066
|
+
initial-value: 0px;
|
|
8067
|
+
}
|
|
8068
|
+
@keyframes Toolbar__tabs-fade-start {
|
|
8069
|
+
to {
|
|
8070
|
+
--Toolbar__tabs-fade-start: var(--Toolbar__tabs-fade);
|
|
8071
|
+
}
|
|
8072
|
+
}
|
|
8073
|
+
@keyframes Toolbar__tabs-fade-end {
|
|
8074
|
+
from {
|
|
8075
|
+
--Toolbar__tabs-fade-end: var(--Toolbar__tabs-fade);
|
|
8076
|
+
}
|
|
8077
|
+
}
|
|
7071
8078
|
/* It fills the full height of the toolbar, thus the line under the active tab
|
|
7072
|
-
touches the bottom border of the toolbar.
|
|
8079
|
+
touches the bottom border of the toolbar.
|
|
8080
|
+
|
|
8081
|
+
The scrollbar is hidden, thus an edge fades when tabs are hidden past it.
|
|
8082
|
+
The fade is a mask, thus it works on any background. Each fade follows
|
|
8083
|
+
the scroll of the strip: it grows in the first and the last
|
|
8084
|
+
--Toolbar__tabs-fade of the scroll. A strip that does not scroll has no
|
|
8085
|
+
active timeline, thus no fade. Chromium keeps the last fade when a strip
|
|
8086
|
+
stops scrolling: useTabRowFadeReset restarts the animations then. */
|
|
7073
8087
|
.Toolbar__tabs {
|
|
8088
|
+
--Toolbar__tabs-fade: var(--spacing-xl);
|
|
8089
|
+
|
|
7074
8090
|
display: flex;
|
|
7075
8091
|
flex: 0 1 auto;
|
|
7076
8092
|
align-self: stretch;
|
|
@@ -7079,6 +8095,20 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
7079
8095
|
overflow-x: auto;
|
|
7080
8096
|
white-space: nowrap;
|
|
7081
8097
|
scrollbar-width: none;
|
|
8098
|
+
mask-image: linear-gradient(
|
|
8099
|
+
to right,
|
|
8100
|
+
transparent,
|
|
8101
|
+
#000 var(--Toolbar__tabs-fade-start),
|
|
8102
|
+
#000 calc(100% - var(--Toolbar__tabs-fade-end)),
|
|
8103
|
+
transparent
|
|
8104
|
+
);
|
|
8105
|
+
animation:
|
|
8106
|
+
Toolbar__tabs-fade-start linear both,
|
|
8107
|
+
Toolbar__tabs-fade-end linear both;
|
|
8108
|
+
animation-timeline: scroll(self inline), scroll(self inline);
|
|
8109
|
+
animation-range:
|
|
8110
|
+
0 var(--Toolbar__tabs-fade),
|
|
8111
|
+
calc(100% - var(--Toolbar__tabs-fade)) 100%;
|
|
7082
8112
|
-webkit-overflow-scrolling: touch;
|
|
7083
8113
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
7084
8114
|
|
|
@@ -7130,10 +8160,13 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
7130
8160
|
background-color: var(--color--primary--surface);
|
|
7131
8161
|
}
|
|
7132
8162
|
}
|
|
8163
|
+
/* A button element is as wide as its content, also as a flex box, thus it
|
|
8164
|
+
needs "max-width" to stay in the title. */
|
|
7133
8165
|
.Toolbar__title--dropdown {
|
|
7134
8166
|
display: flex;
|
|
7135
8167
|
align-items: center;
|
|
7136
8168
|
min-width: 0;
|
|
8169
|
+
max-width: 100%;
|
|
7137
8170
|
padding: 0;
|
|
7138
8171
|
font: inherit;
|
|
7139
8172
|
color: inherit;
|
|
@@ -7194,7 +8227,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
7194
8227
|
font-size: 1.1em;
|
|
7195
8228
|
|
|
7196
8229
|
svg {
|
|
7197
|
-
|
|
8230
|
+
color: var(--color--ink);
|
|
7198
8231
|
}
|
|
7199
8232
|
}
|
|
7200
8233
|
/* The filter has no field look, so the disabled state only dims it. The
|
|
@@ -7209,7 +8242,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
7209
8242
|
}
|
|
7210
8243
|
}
|
|
7211
8244
|
.Toolbar__filter__icon--disabled svg {
|
|
7212
|
-
|
|
8245
|
+
color: var(--color--ink-disabled);
|
|
7213
8246
|
}
|
|
7214
8247
|
|
|
7215
8248
|
/* The menu of the title. Its button has no surface until hover, thus the
|
|
@@ -7224,89 +8257,313 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
7224
8257
|
.Toolbar__spinner {
|
|
7225
8258
|
margin-left: var(--spacing-m);
|
|
7226
8259
|
}
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
|
|
7234
|
-
|
|
7235
|
-
|
|
7236
|
-
|
|
7237
|
-
|
|
7238
|
-
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
|
|
7242
|
-
|
|
7243
|
-
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
-
|
|
7247
|
-
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7252
|
-
|
|
7253
|
-
|
|
7254
|
-
|
|
7255
|
-
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7261
|
-
|
|
7262
|
-
|
|
7263
|
-
|
|
7264
|
-
|
|
7265
|
-
|
|
7266
|
-
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
|
|
7270
|
-
|
|
7271
|
-
|
|
7272
|
-
|
|
7273
|
-
|
|
8260
|
+
.FilterBuilder {
|
|
8261
|
+
display: flex;
|
|
8262
|
+
flex: 3;
|
|
8263
|
+
gap: var(--spacing-m);
|
|
8264
|
+
align-items: flex-start;
|
|
8265
|
+
min-width: 0;
|
|
8266
|
+
}
|
|
8267
|
+
/* The funnel and the clear button stay on the first line of the tiles when
|
|
8268
|
+
the tiles wrap */
|
|
8269
|
+
.FilterBuilder__icon,
|
|
8270
|
+
.FilterBuilder__clear {
|
|
8271
|
+
display: flex;
|
|
8272
|
+
flex: none;
|
|
8273
|
+
align-items: center;
|
|
8274
|
+
min-height: var(--control-height);
|
|
8275
|
+
}
|
|
8276
|
+
.FilterBuilder__icon svg {
|
|
8277
|
+
display: block;
|
|
8278
|
+
color: var(--color--ink-subtle);
|
|
8279
|
+
}
|
|
8280
|
+
/* The padding and the row gap keep a space of 4px around each line of
|
|
8281
|
+
tiles. With one line, the line fills the min-height and its tiles are in
|
|
8282
|
+
the center. */
|
|
8283
|
+
.FilterBuilder__box {
|
|
8284
|
+
box-sizing: border-box;
|
|
8285
|
+
display: flex;
|
|
8286
|
+
flex: 1;
|
|
8287
|
+
flex-wrap: wrap;
|
|
8288
|
+
gap: 4px var(--spacing-m);
|
|
8289
|
+
align-items: center;
|
|
8290
|
+
min-width: 0;
|
|
8291
|
+
min-height: var(--control-height);
|
|
8292
|
+
padding-block: 4px;
|
|
8293
|
+
}
|
|
8294
|
+
.FilterBuilder__empty {
|
|
8295
|
+
color: var(--color--ink-subtle);
|
|
8296
|
+
}
|
|
8297
|
+
.FilterBuilder__add {
|
|
8298
|
+
display: flex;
|
|
8299
|
+
}
|
|
8300
|
+
.FilterBuilder__tile {
|
|
8301
|
+
position: relative;
|
|
8302
|
+
display: flex;
|
|
8303
|
+
align-items: stretch;
|
|
8304
|
+
max-width: 100%;
|
|
8305
|
+
background-color: var(--color--surface-raised);
|
|
8306
|
+
border: 1px solid var(--color--primary-soft--border);
|
|
8307
|
+
border-radius: var(--radius-s);
|
|
8308
|
+
transition:
|
|
8309
|
+
border-color 0.1s ease-out,
|
|
8310
|
+
box-shadow 0.1s ease-out;
|
|
7274
8311
|
|
|
7275
|
-
|
|
7276
|
-
|
|
7277
|
-
top: calc(var(--height) / 3);
|
|
7278
|
-
right: -1px;
|
|
7279
|
-
height: calc(var(--height) / 3);
|
|
7280
|
-
content: "";
|
|
7281
|
-
border-left: 1px solid var(--color--border);
|
|
7282
|
-
}
|
|
8312
|
+
&:hover {
|
|
8313
|
+
border-color: var(--color--focus--border);
|
|
7283
8314
|
}
|
|
7284
|
-
/*
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
8315
|
+
/* The small selects of the tile draw no focus ring, thus the tile draws
|
|
8316
|
+
it for all its inputs */
|
|
8317
|
+
&:focus-within {
|
|
8318
|
+
border-color: var(--color--focus--border);
|
|
8319
|
+
box-shadow: var(--focus-ring);
|
|
7288
8320
|
}
|
|
7289
|
-
/*
|
|
7290
|
-
.
|
|
7291
|
-
|
|
8321
|
+
/* A read-only tile has no hover look, as the other read-only inputs */
|
|
8322
|
+
.FilterBuilder.is-read-only &:hover:not(:focus-within) {
|
|
8323
|
+
border-color: var(--color--primary-soft--border);
|
|
7292
8324
|
}
|
|
7293
8325
|
}
|
|
7294
|
-
.
|
|
8326
|
+
.FilterBuilder__field,
|
|
8327
|
+
.FilterBuilder__operator {
|
|
7295
8328
|
position: relative;
|
|
7296
|
-
border-right: 1px solid var(--color--border);
|
|
7297
|
-
|
|
7298
|
-
&:last-child {
|
|
7299
|
-
border-right: 0;
|
|
7300
|
-
}
|
|
8329
|
+
border-right: 1px solid var(--color--primary-soft--border);
|
|
7301
8330
|
}
|
|
7302
|
-
|
|
7303
|
-
|
|
8331
|
+
/* The tile has a border of 1px, thus the inner radius is 1px smaller */
|
|
8332
|
+
.FilterBuilder__field {
|
|
8333
|
+
border-radius: calc(var(--radius-s) - 1px) 0 0 calc(var(--radius-s) - 1px);
|
|
7304
8334
|
}
|
|
7305
|
-
.
|
|
8335
|
+
.FilterBuilder__operator--static {
|
|
7306
8336
|
display: flex;
|
|
7307
8337
|
align-items: center;
|
|
7308
|
-
padding:
|
|
7309
|
-
|
|
8338
|
+
padding: 0 10px;
|
|
8339
|
+
font-size: var(--font-size-xs);
|
|
8340
|
+
color: var(--color--ink-subtle);
|
|
8341
|
+
}
|
|
8342
|
+
/* The value keeps a minimum width, even when it is empty, thus the user can
|
|
8343
|
+
find it and click it */
|
|
8344
|
+
.FilterBuilder__value {
|
|
8345
|
+
display: flex;
|
|
8346
|
+
align-items: stretch;
|
|
8347
|
+
min-width: 80px;
|
|
8348
|
+
|
|
8349
|
+
> * {
|
|
8350
|
+
flex: 1 0 auto;
|
|
8351
|
+
}
|
|
8352
|
+
}
|
|
8353
|
+
.FilterBuilder__argument {
|
|
8354
|
+
display: flex;
|
|
8355
|
+
align-items: center;
|
|
8356
|
+
margin-inline: 10px;
|
|
8357
|
+
}
|
|
8358
|
+
.FilterBuilder__argument-label {
|
|
8359
|
+
padding-right: 8px;
|
|
8360
|
+
font-size: var(--font-size-xs);
|
|
8361
|
+
}
|
|
8362
|
+
/* The text inputs have no field look: the tile is the field */
|
|
8363
|
+
.FilterBuilder__value > .AutosizeInput,
|
|
8364
|
+
.FilterBuilder__argument > .AutosizeInput {
|
|
8365
|
+
--autosize-input-padding-inline: 10px;
|
|
8366
|
+
--autosize-input-border-inline: 0px;
|
|
8367
|
+
min-width: 80px;
|
|
8368
|
+
max-width: 30vw;
|
|
8369
|
+
font-size: var(--font-size-xs);
|
|
8370
|
+
|
|
8371
|
+
> input[type="text"] {
|
|
8372
|
+
padding-block: 5px;
|
|
8373
|
+
appearance: none;
|
|
8374
|
+
background-color: transparent;
|
|
8375
|
+
border: none;
|
|
8376
|
+
|
|
8377
|
+
&:focus {
|
|
8378
|
+
box-shadow: none;
|
|
8379
|
+
}
|
|
8380
|
+
}
|
|
8381
|
+
}
|
|
8382
|
+
.FilterBuilder__remove {
|
|
8383
|
+
align-self: center;
|
|
8384
|
+
margin-right: 4px;
|
|
8385
|
+
}
|
|
8386
|
+
.UploadPreview {
|
|
8387
|
+
position: relative;
|
|
8388
|
+
box-sizing: border-box;
|
|
8389
|
+
display: block;
|
|
8390
|
+
display: flex;
|
|
8391
|
+
align-items: center;
|
|
8392
|
+
justify-content: center;
|
|
8393
|
+
overflow: hidden;
|
|
8394
|
+
text-decoration: none;
|
|
8395
|
+
background-color: var(--color--surface-raised);
|
|
8396
|
+
border-radius: var(--radius-s);
|
|
8397
|
+
|
|
8398
|
+
/* The image has space around it in the box, thus it gets its own small
|
|
8399
|
+
radius. The thumbhash canvas and the checkerboard behind the image (see
|
|
8400
|
+
UploadPreview.tsx) show before the image loads, thus they get the same
|
|
8401
|
+
radius. */
|
|
8402
|
+
img,
|
|
8403
|
+
canvas,
|
|
8404
|
+
.checkboard-bg {
|
|
8405
|
+
border-radius: var(--radius-xs);
|
|
8406
|
+
}
|
|
8407
|
+
}
|
|
8408
|
+
.UploadPreview--transparent {
|
|
8409
|
+
background-color: transparent;
|
|
8410
|
+
}
|
|
8411
|
+
.UploadPreview__overlay {
|
|
8412
|
+
position: absolute;
|
|
8413
|
+
inset: 0;
|
|
8414
|
+
background-color: var(--color--primary--surface-secondary);
|
|
8415
|
+
opacity: 0.4;
|
|
8416
|
+
}
|
|
8417
|
+
.UploadPreview__progress__label {
|
|
8418
|
+
font-size: var(--font-size-m);
|
|
8419
|
+
color: var(--color--ink-subtle);
|
|
8420
|
+
}
|
|
8421
|
+
/* The waveform is always the same picture, not the sound of the file */
|
|
8422
|
+
|
|
8423
|
+
/* A registered percentage, so the played part grows smoothly between two
|
|
8424
|
+
updates of the time */
|
|
8425
|
+
@property --AudioPlayPause-progress {
|
|
8426
|
+
syntax: "<percentage>";
|
|
8427
|
+
inherits: false;
|
|
8428
|
+
initial-value: 0%;
|
|
8429
|
+
}
|
|
8430
|
+
.AudioPlayPause {
|
|
8431
|
+
position: relative;
|
|
8432
|
+
display: flex;
|
|
8433
|
+
align-items: center;
|
|
8434
|
+
justify-content: center;
|
|
8435
|
+
}
|
|
8436
|
+
/* The picture is a mask: the background gives the colors of the bars */
|
|
8437
|
+
.AudioPlayPause__wave {
|
|
8438
|
+
width: 80%;
|
|
8439
|
+
aspect-ratio: 174 / 40;
|
|
8440
|
+
/* token-audit-disable-next-line mismatch -- the mask makes the background the bars of a picture, so it's foreground */
|
|
8441
|
+
background: linear-gradient(
|
|
8442
|
+
to right,
|
|
8443
|
+
var(--color--progress--fill) var(--AudioPlayPause-progress),
|
|
8444
|
+
var(--color--ink-placeholder) var(--AudioPlayPause-progress)
|
|
8445
|
+
);
|
|
8446
|
+
mask:
|
|
8447
|
+
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 174 40'%3E%3Crect x='0' y='15.9' width='2' height='8.2' rx='1'/%3E%3Crect x='4' y='16.15' width='2' height='7.7' rx='1'/%3E%3Crect x='8' y='15.25' width='2' height='9.5' rx='1'/%3E%3Crect x='12' y='11.05' width='2' height='17.9' rx='1'/%3E%3Crect x='16' y='10' width='2' height='20' rx='1'/%3E%3Crect x='20' y='11.85' width='2' height='16.3' rx='1'/%3E%3Crect x='24' y='7.5' width='2' height='25' rx='1'/%3E%3Crect x='28' y='6.15' width='2' height='27.7' rx='1'/%3E%3Crect x='32' y='12.25' width='2' height='15.5' rx='1'/%3E%3Crect x='36' y='14.35' width='2' height='11.3' rx='1'/%3E%3Crect x='40' y='11.65' width='2' height='16.7' rx='1'/%3E%3Crect x='44' y='6' width='2' height='28' rx='1'/%3E%3Crect x='48' y='2.2' width='2' height='35.6' rx='1'/%3E%3Crect x='52' y='6.95' width='2' height='26.1' rx='1'/%3E%3Crect x='56' y='15.35' width='2' height='9.3' rx='1'/%3E%3Crect x='60' y='16.6' width='2' height='6.8' rx='1'/%3E%3Crect x='64' y='11.45' width='2' height='17.1' rx='1'/%3E%3Crect x='68' y='6.3' width='2' height='27.4' rx='1'/%3E%3Crect x='72' y='8.25' width='2' height='23.5' rx='1'/%3E%3Crect x='76' y='14.1' width='2' height='11.8' rx='1'/%3E%3Crect x='80' y='15.2' width='2' height='9.6' rx='1'/%3E%3Crect x='84' y='12.8' width='2' height='14.4' rx='1'/%3E%3Crect x='88' y='10.1' width='2' height='19.8' rx='1'/%3E%3Crect x='92' y='5.65' width='2' height='28.7' rx='1'/%3E%3Crect x='96' y='6.15' width='2' height='27.7' rx='1'/%3E%3Crect x='100' y='6.5' width='2' height='27' rx='1'/%3E%3Crect x='104' y='3.35' width='2' height='33.3' rx='1'/%3E%3Crect x='108' y='3.85' width='2' height='32.3' rx='1'/%3E%3Crect x='112' y='5.65' width='2' height='28.7' rx='1'/%3E%3Crect x='116' y='8.7' width='2' height='22.6' rx='1'/%3E%3Crect x='120' y='11.35' width='2' height='17.3' rx='1'/%3E%3Crect x='124' y='9.85' width='2' height='20.3' rx='1'/%3E%3Crect x='128' y='9.4' width='2' height='21.2' rx='1'/%3E%3Crect x='132' y='10.95' width='2' height='18.1' rx='1'/%3E%3Crect x='136' y='8.25' width='2' height='23.5' rx='1'/%3E%3Crect x='140' y='6.7' width='2' height='26.6' rx='1'/%3E%3Crect x='144' y='11.2' width='2' height='17.6' rx='1'/%3E%3Crect x='148' y='15.45' width='2' height='9.1' rx='1'/%3E%3Crect x='152' y='14' width='2' height='12' rx='1'/%3E%3Crect x='156' y='10.15' width='2' height='19.7' rx='1'/%3E%3Crect x='160' y='11.65' width='2' height='16.7' rx='1'/%3E%3Crect x='164' y='15.8' width='2' height='8.4' rx='1'/%3E%3Crect x='168' y='16.6' width='2' height='6.8' rx='1'/%3E%3Crect x='172' y='14.65' width='2' height='10.7' rx='1'/%3E%3C/svg%3E")
|
|
8448
|
+
center / 100% 100% no-repeat;
|
|
8449
|
+
transition: --AudioPlayPause-progress 0.3s linear;
|
|
8450
|
+
}
|
|
8451
|
+
.AudioPlayPause__button {
|
|
8452
|
+
position: absolute;
|
|
8453
|
+
}
|
|
8454
|
+
/* The audio play button is the only button with fully round corners (see
|
|
8455
|
+
also AudioPlayer) */
|
|
8456
|
+
.AudioPlayPause.big .AudioPlayPause__button {
|
|
8457
|
+
top: 50%;
|
|
8458
|
+
left: 50%;
|
|
8459
|
+
border-radius: var(--radius-full);
|
|
8460
|
+
transform: translate(-50%, -50%);
|
|
8461
|
+
}
|
|
8462
|
+
/* A small preview (a row of a table) has no room for a round button: all
|
|
8463
|
+
the preview is the button, and the icon is on the waveform */
|
|
8464
|
+
.AudioPlayPause.small {
|
|
8465
|
+
.AudioPlayPause__wave {
|
|
8466
|
+
opacity: 0.5;
|
|
8467
|
+
}
|
|
8468
|
+
.AudioPlayPause__button {
|
|
8469
|
+
inset: 0;
|
|
8470
|
+
display: flex;
|
|
8471
|
+
align-items: center;
|
|
8472
|
+
justify-content: center;
|
|
8473
|
+
font-size: 15px;
|
|
8474
|
+
|
|
8475
|
+
svg {
|
|
8476
|
+
color: var(--color--ink-subtle);
|
|
8477
|
+
}
|
|
8478
|
+
&:hover svg,
|
|
8479
|
+
&:focus-visible svg {
|
|
8480
|
+
color: var(--color--ink-link);
|
|
8481
|
+
}
|
|
8482
|
+
}
|
|
8483
|
+
}
|
|
8484
|
+
/* The button and the dropdown are also in the balloon toolbar of the
|
|
8485
|
+
structured text editor. */
|
|
8486
|
+
.EditorToolbar {
|
|
8487
|
+
--height: 32px;
|
|
8488
|
+
position: sticky;
|
|
8489
|
+
top: 0px;
|
|
8490
|
+
display: none;
|
|
8491
|
+
pointer-events: none;
|
|
8492
|
+
user-select: none;
|
|
8493
|
+
|
|
8494
|
+
&.is-visible {
|
|
8495
|
+
display: block;
|
|
8496
|
+
pointer-events: all;
|
|
8497
|
+
opacity: 1;
|
|
8498
|
+
}
|
|
8499
|
+
.is-fullscreen > & {
|
|
8500
|
+
border-bottom: 1px solid var(--color--border);
|
|
8501
|
+
}
|
|
8502
|
+
|
|
8503
|
+
/* Buttons sit on a grid of fixed-width cells (28px button + 1px margin per
|
|
8504
|
+
side) so they line up in columns when the toolbar wraps onto several
|
|
8505
|
+
rows. */
|
|
8506
|
+
.EditorToolbar__inner {
|
|
8507
|
+
--unit: 30px;
|
|
8508
|
+
display: grid;
|
|
8509
|
+
grid-template-columns: repeat(auto-fill, var(--unit));
|
|
8510
|
+
align-items: stretch;
|
|
8511
|
+
min-height: var(--height);
|
|
8512
|
+
font-size: var(--font-size-m);
|
|
8513
|
+
line-height: 1.2;
|
|
8514
|
+
|
|
8515
|
+
background: var(--color--surface-raised);
|
|
8516
|
+
border-bottom: 1px solid var(--color--border);
|
|
8517
|
+
}
|
|
8518
|
+
.is-fullscreen > & .EditorToolbar__inner {
|
|
8519
|
+
max-width: 900px;
|
|
8520
|
+
margin: 0 auto;
|
|
8521
|
+
border-right: 1px solid var(--color--border);
|
|
8522
|
+
border-bottom: none;
|
|
8523
|
+
border-left: 1px solid var(--color--border);
|
|
8524
|
+
}
|
|
8525
|
+
/* Groups don't box their buttons: every button is a grid item of __inner,
|
|
8526
|
+
so they flow left to right and wrap row by row instead of each group
|
|
8527
|
+
starting a new row. The group separator hangs off the group's last
|
|
8528
|
+
button, since a pseudo-element of its own would take a whole cell. */
|
|
8529
|
+
.EditorToolbar__group {
|
|
8530
|
+
display: contents;
|
|
8531
|
+
|
|
8532
|
+
&:not(:last-child) > :last-child::after {
|
|
8533
|
+
position: absolute;
|
|
8534
|
+
top: calc(var(--height) / 3);
|
|
8535
|
+
right: -1px;
|
|
8536
|
+
height: calc(var(--height) / 3);
|
|
8537
|
+
content: "";
|
|
8538
|
+
border-left: 1px solid var(--color--border);
|
|
8539
|
+
}
|
|
8540
|
+
}
|
|
8541
|
+
/* 120px: enough for a short label ("Insert") in all the languages. */
|
|
8542
|
+
.EditorToolbar__dropdown {
|
|
8543
|
+
grid-column: span 4;
|
|
8544
|
+
min-width: 0;
|
|
8545
|
+
}
|
|
8546
|
+
/* 150px: enough for the longest default label ("Paragraph"). */
|
|
8547
|
+
.EditorToolbar__dropdown--wide {
|
|
8548
|
+
grid-column: span 5;
|
|
8549
|
+
}
|
|
8550
|
+
}
|
|
8551
|
+
.EditorToolbar__dropdown {
|
|
8552
|
+
position: relative;
|
|
8553
|
+
border-right: 1px solid var(--color--border);
|
|
8554
|
+
|
|
8555
|
+
&:last-child {
|
|
8556
|
+
border-right: 0;
|
|
8557
|
+
}
|
|
8558
|
+
}
|
|
8559
|
+
.EditorToolbar__dropdown__current__label--muted {
|
|
8560
|
+
color: var(--color--ink-subtle);
|
|
8561
|
+
}
|
|
8562
|
+
.EditorToolbar__dropdown__current {
|
|
8563
|
+
display: flex;
|
|
8564
|
+
align-items: center;
|
|
8565
|
+
padding: 7px 7px 7px 9px;
|
|
8566
|
+
cursor: pointer;
|
|
7310
8567
|
|
|
7311
8568
|
/* The label takes the space that is left, thus the chevron stays at the
|
|
7312
8569
|
end of the cell when the value changes. */
|
|
@@ -7319,11 +8576,11 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
7319
8576
|
}
|
|
7320
8577
|
svg:first-child {
|
|
7321
8578
|
margin-right: 10px;
|
|
7322
|
-
|
|
8579
|
+
color: var(--color--ink);
|
|
7323
8580
|
}
|
|
7324
8581
|
svg:last-child {
|
|
7325
8582
|
margin-left: 10px;
|
|
7326
|
-
|
|
8583
|
+
color: var(--color--ink-subtle);
|
|
7327
8584
|
}
|
|
7328
8585
|
svg:first-child:last-child {
|
|
7329
8586
|
margin-right: 0;
|
|
@@ -7348,7 +8605,6 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
7348
8605
|
}
|
|
7349
8606
|
svg {
|
|
7350
8607
|
display: block;
|
|
7351
|
-
fill: currentColor;
|
|
7352
8608
|
}
|
|
7353
8609
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover {
|
|
7354
8610
|
background: var(--color--surface-hover);
|
|
@@ -7361,7 +8617,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
7361
8617
|
opacity: var(--disabled-opacity);
|
|
7362
8618
|
}
|
|
7363
8619
|
}
|
|
7364
|
-
/* The surface of HoverCard (ui/HoverCard). The content of the
|
|
8620
|
+
/* The surface of HoverCard (ui-public/HoverCard). The content of the
|
|
7365
8621
|
card does not draw a surface of its own. */
|
|
7366
8622
|
.HoverCard {
|
|
7367
8623
|
box-sizing: border-box;
|
|
@@ -7396,182 +8652,777 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
7396
8652
|
/* Wider than .HoverCard__body, for the preview image */
|
|
7397
8653
|
max-width: 400px;
|
|
7398
8654
|
}
|
|
7399
|
-
.EntitySummary__header {
|
|
7400
|
-
position: sticky;
|
|
7401
|
-
top: 0;
|
|
8655
|
+
.EntitySummary__header {
|
|
8656
|
+
position: sticky;
|
|
8657
|
+
top: 0;
|
|
8658
|
+
display: flex;
|
|
8659
|
+
gap: var(--spacing-s);
|
|
8660
|
+
align-items: center;
|
|
8661
|
+
padding: var(--spacing-m);
|
|
8662
|
+
font-weight: var(--font-weight-strong);
|
|
8663
|
+
line-height: 1.3;
|
|
8664
|
+
background-color: var(--color--surface-raised);
|
|
8665
|
+
border-bottom: 1px solid var(--color--border);
|
|
8666
|
+
|
|
8667
|
+
/* The size of the icon of a Dropdown option: the field types menu shows
|
|
8668
|
+
the card next to the option with the same icon */
|
|
8669
|
+
> svg {
|
|
8670
|
+
flex: none;
|
|
8671
|
+
font-size: 16px;
|
|
8672
|
+
color: var(--color--ink-subtle);
|
|
8673
|
+
}
|
|
8674
|
+
}
|
|
8675
|
+
.EntitySummary__image {
|
|
8676
|
+
display: block;
|
|
8677
|
+
width: 100%;
|
|
8678
|
+
height: auto;
|
|
8679
|
+
|
|
8680
|
+
&:not(:last-child) {
|
|
8681
|
+
border-bottom: 1px solid var(--color--border);
|
|
8682
|
+
}
|
|
8683
|
+
}
|
|
8684
|
+
.EntitySummary__description {
|
|
8685
|
+
padding: var(--spacing-m);
|
|
8686
|
+
font-size: var(--font-size-m);
|
|
8687
|
+
line-height: 1.3;
|
|
8688
|
+
color: var(--color--ink-subtle);
|
|
8689
|
+
}
|
|
8690
|
+
.RadioGroupInput__option {
|
|
8691
|
+
display: flex;
|
|
8692
|
+
padding: var(--spacing-m);
|
|
8693
|
+
margin-bottom: var(--spacing-s);
|
|
8694
|
+
text-decoration: none;
|
|
8695
|
+
cursor: pointer;
|
|
8696
|
+
background-color: var(--color--surface-raised);
|
|
8697
|
+
border: 1px solid var(--color--border);
|
|
8698
|
+
border-radius: var(--radius-s);
|
|
8699
|
+
transition: all 0.15s var(--material-ease);
|
|
8700
|
+
|
|
8701
|
+
&:hover:not(.is-checked, .is-disabled, .is-read-only) {
|
|
8702
|
+
border-color: var(--color--border-hover);
|
|
8703
|
+
}
|
|
8704
|
+
&:has(input[type="radio"]:focus-visible) {
|
|
8705
|
+
border-color: var(--color--focus--border);
|
|
8706
|
+
box-shadow: var(--focus-ring);
|
|
8707
|
+
}
|
|
8708
|
+
&:last-child {
|
|
8709
|
+
margin-bottom: 0;
|
|
8710
|
+
}
|
|
8711
|
+
&.is-checked {
|
|
8712
|
+
border-color: var(--color--selected--border);
|
|
8713
|
+
}
|
|
8714
|
+
}
|
|
8715
|
+
/* The option shows the keyboard focus of its radio input. Thus the input
|
|
8716
|
+
must not also get the ring of _base.css, or two rings show. ":where"
|
|
8717
|
+
keeps the specificity of that ring. */
|
|
8718
|
+
:where(.RadioGroupInput__option input[type="radio"]):focus-visible {
|
|
8719
|
+
box-shadow: none;
|
|
8720
|
+
}
|
|
8721
|
+
.RadioGroupInput.is-small .RadioGroupInput__option {
|
|
8722
|
+
padding: calc(0.75 * var(--space-unit));
|
|
8723
|
+
}
|
|
8724
|
+
.RadioGroupInput__option.is-read-only {
|
|
8725
|
+
cursor: default;
|
|
8726
|
+
}
|
|
8727
|
+
/* The same rules as the disabled option of the checkbox group
|
|
8728
|
+
(_CheckboxGroupInput.css) */
|
|
8729
|
+
.RadioGroupInput__option.is-disabled {
|
|
8730
|
+
color: var(--color--disabled-field--ink);
|
|
8731
|
+
cursor: default;
|
|
8732
|
+
background: var(--color--disabled-field--surface);
|
|
8733
|
+
|
|
8734
|
+
&.is-checked {
|
|
8735
|
+
border-color: var(--color--border-control);
|
|
8736
|
+
}
|
|
8737
|
+
}
|
|
8738
|
+
.RadioGroupInput__radio {
|
|
8739
|
+
position: relative;
|
|
8740
|
+
|
|
8741
|
+
input[type="radio"] {
|
|
8742
|
+
position: absolute;
|
|
8743
|
+
opacity: 0;
|
|
8744
|
+
}
|
|
8745
|
+
&::before {
|
|
8746
|
+
box-sizing: border-box;
|
|
8747
|
+
display: block;
|
|
8748
|
+
width: 1.15em;
|
|
8749
|
+
height: 1.15em;
|
|
8750
|
+
content: "";
|
|
8751
|
+
background-color: var(--color--surface-raised);
|
|
8752
|
+
border: 1px solid var(--color--border-control);
|
|
8753
|
+
border-radius: var(--radius-full);
|
|
8754
|
+
transition:
|
|
8755
|
+
background-color 0.15s var(--material-ease),
|
|
8756
|
+
border-color 0.15s var(--material-ease);
|
|
8757
|
+
}
|
|
8758
|
+
.RadioGroupInput__option:hover:not(.is-disabled, .is-read-only) &::before {
|
|
8759
|
+
border-color: var(--color--border-control-hover);
|
|
8760
|
+
}
|
|
8761
|
+
}
|
|
8762
|
+
.RadioGroupInput__option.is-checked .RadioGroupInput__radio::before {
|
|
8763
|
+
background-color: var(--color--control-on--surface);
|
|
8764
|
+
background-image: radial-gradient(
|
|
8765
|
+
var(--color--control-on--ink) 28%,
|
|
8766
|
+
transparent 33%
|
|
8767
|
+
);
|
|
8768
|
+
/* token-audit-disable-next-line mismatch -- the border has the same color as the fill */
|
|
8769
|
+
border-color: var(--color--control-on--surface);
|
|
8770
|
+
}
|
|
8771
|
+
.RadioGroupInput__option.is-checked:hover:not(.is-disabled, .is-read-only)
|
|
8772
|
+
.RadioGroupInput__radio::before {
|
|
8773
|
+
background-color: var(--color--control-on--surface-hover);
|
|
8774
|
+
/* token-audit-disable-next-line mismatch -- the border has the same color as the fill */
|
|
8775
|
+
border-color: var(--color--control-on--surface-hover);
|
|
8776
|
+
}
|
|
8777
|
+
.RadioGroupInput__option.is-disabled .RadioGroupInput__radio::before {
|
|
8778
|
+
background-color: transparent;
|
|
8779
|
+
border-color: var(--color--border-control);
|
|
8780
|
+
}
|
|
8781
|
+
.RadioGroupInput__option.is-disabled.is-checked
|
|
8782
|
+
.RadioGroupInput__radio::before {
|
|
8783
|
+
background-color: var(--color--disabled-field--fill);
|
|
8784
|
+
background-image: radial-gradient(
|
|
8785
|
+
var(--color--disabled-field--surface) 28%,
|
|
8786
|
+
transparent 33%
|
|
8787
|
+
);
|
|
8788
|
+
/* token-audit-disable-next-line mismatch -- the border has the same color as the fill */
|
|
8789
|
+
border-color: var(--color--disabled-field--fill);
|
|
8790
|
+
}
|
|
8791
|
+
/* The icon is at the end of the option, after the text: the radio and the
|
|
8792
|
+
label stay next to each other, and the logos of the options make one
|
|
8793
|
+
column at the right */
|
|
8794
|
+
.RadioGroupInput__icon {
|
|
8795
|
+
display: flex;
|
|
8796
|
+
flex: none;
|
|
8797
|
+
align-items: center;
|
|
8798
|
+
align-self: center;
|
|
8799
|
+
justify-content: center;
|
|
8800
|
+
padding-right: var(--spacing-m);
|
|
8801
|
+
padding-left: var(--spacing-m);
|
|
8802
|
+
margin-left: auto;
|
|
8803
|
+
|
|
8804
|
+
/* Each icon fits the same square, whatever the shape of its drawing: a
|
|
8805
|
+
wide logo and a tall one have the same center. A monochrome icon takes
|
|
8806
|
+
the ink of the text. The paths of a logo have their own colors, thus
|
|
8807
|
+
the logo keeps them. */
|
|
8808
|
+
svg {
|
|
8809
|
+
width: 2em;
|
|
8810
|
+
height: 2em;
|
|
8811
|
+
}
|
|
8812
|
+
}
|
|
8813
|
+
/* The text can wrap a long word, thus the option is never wider than the
|
|
8814
|
+
group */
|
|
8815
|
+
.RadioGroupInput__body {
|
|
8816
|
+
align-self: center;
|
|
8817
|
+
min-width: 0;
|
|
8818
|
+
margin-left: calc(1.5 * var(--space-unit));
|
|
8819
|
+
}
|
|
8820
|
+
.RadioGroupInput__label {
|
|
8821
|
+
display: block;
|
|
8822
|
+
line-height: 1;
|
|
8823
|
+
}
|
|
8824
|
+
.RadioGroupInput__hint {
|
|
8825
|
+
display: block;
|
|
8826
|
+
margin-top: 3px;
|
|
8827
|
+
font-size: var(--font-size-m);
|
|
8828
|
+
line-height: 1.2;
|
|
8829
|
+
color: var(--color--ink-subtle);
|
|
8830
|
+
|
|
8831
|
+
.RadioGroupInput__option.is-disabled & {
|
|
8832
|
+
color: var(--color--disabled-field--ink-placeholder);
|
|
8833
|
+
}
|
|
8834
|
+
}
|
|
8835
|
+
.DateTimeInput {
|
|
8836
|
+
position: relative;
|
|
8837
|
+
display: flex;
|
|
8838
|
+
width: 100%;
|
|
8839
|
+
}
|
|
8840
|
+
.DateTimeInput--autosize {
|
|
8841
|
+
display: inline-flex;
|
|
8842
|
+
width: auto;
|
|
8843
|
+
max-width: 100%;
|
|
8844
|
+
}
|
|
8845
|
+
.DateTimeInput__field {
|
|
8846
|
+
flex: 1;
|
|
8847
|
+
padding: 0 4px;
|
|
8848
|
+
|
|
8849
|
+
/* The timezone select is not an InputFrame__input, but its focus also
|
|
8850
|
+
shows the focus ring of the frame */
|
|
8851
|
+
&:has(.DateTimeInput__timezone :focus) {
|
|
8852
|
+
border-color: var(--color--focus--border);
|
|
8853
|
+
box-shadow: var(--focus-ring);
|
|
8854
|
+
}
|
|
8855
|
+
/* A disabled or read-only field has no focus ring. These rules have the
|
|
8856
|
+
specificity of the focus rules of _InputFrame.css, and they come after
|
|
8857
|
+
them, thus they win. */
|
|
8858
|
+
.DateTimeInput.is-disabled &,
|
|
8859
|
+
.DateTimeInput.is-read-only & {
|
|
8860
|
+
border-color: var(--color--border);
|
|
8861
|
+
box-shadow: none;
|
|
8862
|
+
}
|
|
8863
|
+
}
|
|
8864
|
+
/* The date and the time have the width of their text (see sizerText in
|
|
8865
|
+
src/form/DateTimeInput/Base.tsx). Thus no empty space comes between the time and
|
|
8866
|
+
the timezone, and a long format does not get cut. The date, the time and
|
|
8867
|
+
the timezone read as one value: no line separates them. */
|
|
8868
|
+
.DateTimeInput__sizer {
|
|
8869
|
+
--autosize-input-padding-inline: 6px;
|
|
8870
|
+
--autosize-input-border-inline: 0px;
|
|
8871
|
+
flex: none;
|
|
8872
|
+
font-variant-numeric: tabular-nums;
|
|
8873
|
+
}
|
|
8874
|
+
/* The rules of the timezone have three classes, thus they are stronger than
|
|
8875
|
+
the styles of react-select */
|
|
8876
|
+
.DateTimeInput__timezone {
|
|
8877
|
+
flex: none;
|
|
8878
|
+
}
|
|
8879
|
+
/* When the field is wider than its parts, the empty space comes before the
|
|
8880
|
+
clear button. Thus the button stays at the right
|
|
8881
|
+
end, and the value stays together at the left. */
|
|
8882
|
+
.DateTimeInput__clear {
|
|
8883
|
+
margin-left: auto;
|
|
8884
|
+
}
|
|
8885
|
+
.DateTimeInput__field
|
|
8886
|
+
.DateTimeInput__timezone
|
|
8887
|
+
.DateTimeInput__timezone__control {
|
|
8888
|
+
min-height: 0;
|
|
8889
|
+
padding: 2px 4px 2px 8px;
|
|
8890
|
+
color: var(--color--ink-subtle);
|
|
8891
|
+
cursor: pointer;
|
|
8892
|
+
background-color: transparent;
|
|
8893
|
+
border-radius: var(--radius-s);
|
|
8894
|
+
box-shadow: none;
|
|
8895
|
+
transition: background-color 0.2s var(--material-ease);
|
|
8896
|
+
|
|
8897
|
+
&:hover,
|
|
8898
|
+
&.DateTimeInput__timezone__control--menu-is-open {
|
|
8899
|
+
color: var(--color--ink);
|
|
8900
|
+
background-color: var(--color--surface-hover);
|
|
8901
|
+
}
|
|
8902
|
+
/* A disabled timezone is a value, not a button */
|
|
8903
|
+
&.DateTimeInput__timezone__control--is-disabled {
|
|
8904
|
+
color: var(--color--disabled-field--ink);
|
|
8905
|
+
cursor: default;
|
|
8906
|
+
background-color: transparent;
|
|
8907
|
+
}
|
|
8908
|
+
}
|
|
8909
|
+
/* The timezone is at the right end of the field, and its menu is wider than
|
|
8910
|
+
it. Thus the menu aligns with the right edge of the timezone and opens to
|
|
8911
|
+
the left: when the field is near the right edge of the screen, the menu
|
|
8912
|
+
stays in the screen. */
|
|
8913
|
+
.DateTimeInput__field .DateTimeInput__timezone .DateTimeInput__timezone__menu {
|
|
8914
|
+
right: 0;
|
|
8915
|
+
left: auto;
|
|
8916
|
+
}
|
|
8917
|
+
.DateTimeInput__field
|
|
8918
|
+
.DateTimeInput__timezone
|
|
8919
|
+
.DateTimeInput__timezone__single-value {
|
|
8920
|
+
font-variant-numeric: tabular-nums;
|
|
8921
|
+
color: inherit;
|
|
8922
|
+
}
|
|
8923
|
+
.DateTimeInput__field
|
|
8924
|
+
.DateTimeInput__timezone
|
|
8925
|
+
.DateTimeInput__timezone__value-container {
|
|
8926
|
+
padding: 0;
|
|
8927
|
+
}
|
|
8928
|
+
.DateTimeInput__field
|
|
8929
|
+
.DateTimeInput__timezone
|
|
8930
|
+
.DateTimeInput__timezone__dropdown-indicator {
|
|
8931
|
+
padding: 0 0 0 4px;
|
|
8932
|
+
color: inherit;
|
|
8933
|
+
|
|
8934
|
+
svg {
|
|
8935
|
+
width: 14px;
|
|
8936
|
+
height: 14px;
|
|
8937
|
+
}
|
|
8938
|
+
}
|
|
8939
|
+
|
|
8940
|
+
.DateTimeInput--smaller {
|
|
8941
|
+
.DateTimeInput__field {
|
|
8942
|
+
padding: 0;
|
|
8943
|
+
background-color: transparent;
|
|
8944
|
+
border: 0;
|
|
8945
|
+
box-shadow: none;
|
|
8946
|
+
}
|
|
8947
|
+
.DateTimeInput__sizer {
|
|
8948
|
+
--autosize-input-padding-inline: 5px;
|
|
8949
|
+
font-size: var(--font-size-xs);
|
|
8950
|
+
}
|
|
8951
|
+
.DateTimeInput__date,
|
|
8952
|
+
.DateTimeInput__time {
|
|
8953
|
+
padding-block: 5px;
|
|
8954
|
+
}
|
|
8955
|
+
}
|
|
8956
|
+
|
|
8957
|
+
.DateTimeInput__date-popper {
|
|
8958
|
+
box-sizing: border-box;
|
|
8959
|
+
width: 272px;
|
|
8960
|
+
padding: 8px;
|
|
8961
|
+
background-color: var(--color--surface-raised);
|
|
8962
|
+
border: 1px solid var(--color--border-raised);
|
|
8963
|
+
border-radius: var(--radius-m);
|
|
8964
|
+
box-shadow: var(--shadow--floating);
|
|
8965
|
+
}
|
|
8966
|
+
.DateTimeInput__CalendarHeader {
|
|
8967
|
+
display: flex;
|
|
8968
|
+
align-items: center;
|
|
8969
|
+
margin-bottom: 4px;
|
|
8970
|
+
}
|
|
8971
|
+
.DateTimeInput__CalendarHeader__title {
|
|
8972
|
+
flex: 1;
|
|
8973
|
+
padding-left: 6px;
|
|
8974
|
+
font-weight: var(--font-weight-strong);
|
|
8975
|
+
}
|
|
8976
|
+
.DateTimeInput__CalendarHeader__actions {
|
|
8977
|
+
display: flex;
|
|
8978
|
+
}
|
|
8979
|
+
.DateTimeInput__CalendarHeader__action--today svg {
|
|
8980
|
+
font-size: 0.8em;
|
|
8981
|
+
}
|
|
8982
|
+
.DateTimeInput__CalendarGrid {
|
|
8983
|
+
display: grid;
|
|
8984
|
+
grid-template-columns: repeat(7, 1fr);
|
|
8985
|
+
gap: 2px;
|
|
8986
|
+
text-align: center;
|
|
8987
|
+
}
|
|
8988
|
+
/* The rows and the cells of the grid role give no box: the days are the
|
|
8989
|
+
items of the CSS grid */
|
|
8990
|
+
.DateTimeInput__CalendarRow,
|
|
8991
|
+
.DateTimeInput__CalendarCell {
|
|
8992
|
+
display: contents;
|
|
8993
|
+
}
|
|
8994
|
+
.DateTimeInput__CalendarWeekDay {
|
|
8995
|
+
padding: 6px 0;
|
|
8996
|
+
font-size: var(--font-size-xs);
|
|
8997
|
+
color: var(--color--ink-subtle);
|
|
8998
|
+
}
|
|
8999
|
+
.DateTimeInput__CalendarDayCell {
|
|
9000
|
+
position: relative;
|
|
9001
|
+
height: 32px;
|
|
9002
|
+
padding: 0;
|
|
9003
|
+
font-variant-numeric: tabular-nums;
|
|
9004
|
+
color: var(--color--ink);
|
|
9005
|
+
cursor: pointer;
|
|
9006
|
+
background: none;
|
|
9007
|
+
border: 0;
|
|
9008
|
+
border-radius: var(--radius-s);
|
|
9009
|
+
|
|
9010
|
+
&:hover {
|
|
9011
|
+
background-color: var(--color--surface-hover);
|
|
9012
|
+
}
|
|
9013
|
+
&:focus-visible {
|
|
9014
|
+
box-shadow: var(--focus-ring);
|
|
9015
|
+
}
|
|
9016
|
+
&[disabled],
|
|
9017
|
+
&[aria-disabled="true"] {
|
|
9018
|
+
color: var(--color--ink-disabled);
|
|
9019
|
+
cursor: not-allowed;
|
|
9020
|
+
|
|
9021
|
+
&:hover {
|
|
9022
|
+
background: none;
|
|
9023
|
+
}
|
|
9024
|
+
}
|
|
9025
|
+
}
|
|
9026
|
+
.DateTimeInput__CalendarDayCell--inAdjacentMonth {
|
|
9027
|
+
color: var(--color--ink-subtle);
|
|
9028
|
+
}
|
|
9029
|
+
.DateTimeInput__CalendarDayCell--isToday {
|
|
9030
|
+
font-weight: var(--font-weight-strong);
|
|
9031
|
+
box-shadow: inset 0 0 0 1px var(--color--selected--border);
|
|
9032
|
+
}
|
|
9033
|
+
.DateTimeInput__CalendarDayCell--inRange {
|
|
9034
|
+
background-color: var(--color--selected--surface);
|
|
9035
|
+
}
|
|
9036
|
+
.DateTimeInput__CalendarDayCell--isSelected {
|
|
9037
|
+
font-weight: var(--font-weight-strong);
|
|
9038
|
+
color: var(--color--primary--ink);
|
|
9039
|
+
background-color: var(--color--primary--surface);
|
|
9040
|
+
box-shadow: none;
|
|
9041
|
+
|
|
9042
|
+
&:hover {
|
|
9043
|
+
background-color: var(--color--primary--surface);
|
|
9044
|
+
}
|
|
9045
|
+
}
|
|
9046
|
+
.DateTimeRangeInput {
|
|
9047
|
+
position: relative;
|
|
9048
|
+
display: flex;
|
|
9049
|
+
width: 100%;
|
|
9050
|
+
}
|
|
9051
|
+
.DateTimeRangeInput--autosize {
|
|
9052
|
+
display: inline-flex;
|
|
9053
|
+
width: auto;
|
|
9054
|
+
max-width: 100%;
|
|
9055
|
+
}
|
|
9056
|
+
.DateTimeRangeInput__dropdown {
|
|
9057
|
+
display: flex;
|
|
9058
|
+
flex: 1;
|
|
9059
|
+
min-width: 0;
|
|
9060
|
+
}
|
|
9061
|
+
|
|
9062
|
+
/* The trigger has the look of a field, so it has the height of a field (see
|
|
9063
|
+
--control-height) */
|
|
9064
|
+
.DateTimeRangeInput__trigger {
|
|
9065
|
+
box-sizing: border-box;
|
|
9066
|
+
display: flex;
|
|
9067
|
+
flex: 1;
|
|
9068
|
+
gap: 8px;
|
|
9069
|
+
align-items: center;
|
|
9070
|
+
min-width: 0;
|
|
9071
|
+
min-height: var(--control-height);
|
|
9072
|
+
padding: 10px;
|
|
9073
|
+
font-size: var(--font-size-m);
|
|
9074
|
+
color: var(--color--ink);
|
|
9075
|
+
cursor: pointer;
|
|
9076
|
+
background: var(--color--surface-raised);
|
|
9077
|
+
border: 1px solid var(--color--border);
|
|
9078
|
+
border-radius: var(--radius-s);
|
|
9079
|
+
transition: border-color 0.15s ease;
|
|
9080
|
+
|
|
9081
|
+
&:hover {
|
|
9082
|
+
border-color: var(--color--border-hover);
|
|
9083
|
+
}
|
|
9084
|
+
&[aria-expanded="true"] {
|
|
9085
|
+
border-color: var(--color--focus--border);
|
|
9086
|
+
}
|
|
9087
|
+
&:focus-visible {
|
|
9088
|
+
border-color: var(--color--focus--border);
|
|
9089
|
+
box-shadow: var(--focus-ring);
|
|
9090
|
+
}
|
|
9091
|
+
|
|
9092
|
+
svg {
|
|
9093
|
+
color: var(--color--ink-subtle);
|
|
9094
|
+
}
|
|
9095
|
+
|
|
9096
|
+
/* A locked trigger is a field that the user cannot change: the value stays
|
|
9097
|
+
readable */
|
|
9098
|
+
.DateTimeRangeInput.is-disabled &,
|
|
9099
|
+
.DateTimeRangeInput.is-read-only & {
|
|
9100
|
+
cursor: default;
|
|
9101
|
+
border-color: var(--color--border);
|
|
9102
|
+
}
|
|
9103
|
+
.DateTimeRangeInput.is-disabled & {
|
|
9104
|
+
color: var(--color--disabled-field--ink);
|
|
9105
|
+
background: var(--color--disabled-field--surface);
|
|
9106
|
+
}
|
|
9107
|
+
}
|
|
9108
|
+
.DateTimeRangeInput__trigger-icon {
|
|
9109
|
+
flex-shrink: 0;
|
|
9110
|
+
width: 14px;
|
|
9111
|
+
height: 14px;
|
|
9112
|
+
}
|
|
9113
|
+
.DateTimeRangeInput__trigger-label {
|
|
9114
|
+
flex: 1;
|
|
9115
|
+
overflow: hidden;
|
|
9116
|
+
text-overflow: ellipsis;
|
|
9117
|
+
text-align: left;
|
|
9118
|
+
white-space: nowrap;
|
|
9119
|
+
}
|
|
9120
|
+
|
|
9121
|
+
/* The clear button is over the right end of the trigger, where the chevron
|
|
9122
|
+
is in the other states. The trigger keeps space for it, so the label does
|
|
9123
|
+
not go below it. */
|
|
9124
|
+
.DateTimeRangeInput--clearable .DateTimeRangeInput__trigger {
|
|
9125
|
+
padding-right: calc(10px + 1lh + 2 * 0.3em);
|
|
9126
|
+
}
|
|
9127
|
+
.DateTimeRangeInput__clear {
|
|
9128
|
+
position: absolute;
|
|
9129
|
+
top: 50%;
|
|
9130
|
+
right: 6px;
|
|
9131
|
+
transform: translateY(-50%);
|
|
9132
|
+
}
|
|
9133
|
+
|
|
9134
|
+
/* The box around a filter draws the focus ring, as for the other inputs of
|
|
9135
|
+
the filter look */
|
|
9136
|
+
.DateTimeRangeInput--filter .DateTimeRangeInput__trigger {
|
|
9137
|
+
min-height: 0;
|
|
9138
|
+
padding: 5px;
|
|
9139
|
+
font-size: var(--font-size-xs);
|
|
9140
|
+
background: transparent;
|
|
9141
|
+
border: 0;
|
|
9142
|
+
box-shadow: none;
|
|
9143
|
+
}
|
|
9144
|
+
|
|
9145
|
+
.DateTimeRangeInput__panel {
|
|
9146
|
+
box-sizing: border-box;
|
|
9147
|
+
width: 280px;
|
|
9148
|
+
padding: 12px;
|
|
9149
|
+
background: var(--color--surface-raised);
|
|
9150
|
+
border: 1px solid var(--color--border-raised);
|
|
9151
|
+
border-radius: var(--radius-m);
|
|
9152
|
+
box-shadow: var(--shadow--floating);
|
|
9153
|
+
}
|
|
9154
|
+
.DateTimeRangeInput__edges {
|
|
7402
9155
|
display: flex;
|
|
7403
|
-
|
|
7404
|
-
|
|
7405
|
-
|
|
9156
|
+
flex-direction: column;
|
|
9157
|
+
gap: 8px;
|
|
9158
|
+
margin-top: 12px;
|
|
9159
|
+
}
|
|
9160
|
+
.DateTimeRangeInput__edge-label {
|
|
9161
|
+
display: block;
|
|
9162
|
+
margin-bottom: 4px;
|
|
7406
9163
|
font-weight: var(--font-weight-strong);
|
|
7407
|
-
|
|
7408
|
-
|
|
7409
|
-
|
|
9164
|
+
color: var(--color--ink-subtle);
|
|
9165
|
+
}
|
|
9166
|
+
.DateTimeRangeInput__edge-inputs {
|
|
9167
|
+
display: flex;
|
|
9168
|
+
gap: 6px;
|
|
9169
|
+
}
|
|
9170
|
+
.DateTimeRangeInput__edge-date {
|
|
9171
|
+
flex: 1.3;
|
|
9172
|
+
min-width: 0;
|
|
7410
9173
|
|
|
7411
|
-
/* The
|
|
7412
|
-
|
|
7413
|
-
|
|
7414
|
-
flex: none;
|
|
7415
|
-
font-size: 16px;
|
|
7416
|
-
fill: var(--color--ink-subtle);
|
|
9174
|
+
/* The next pick in the calendar sets the end of this text */
|
|
9175
|
+
&.is-active {
|
|
9176
|
+
border-color: var(--color--focus--border);
|
|
7417
9177
|
}
|
|
7418
9178
|
}
|
|
7419
|
-
.
|
|
7420
|
-
|
|
9179
|
+
.DateTimeRangeInput__edge-time {
|
|
9180
|
+
flex: 0.7;
|
|
9181
|
+
min-width: 0;
|
|
9182
|
+
}
|
|
9183
|
+
.ColorInput {
|
|
9184
|
+
position: relative;
|
|
9185
|
+
display: flex;
|
|
7421
9186
|
width: 100%;
|
|
7422
|
-
height: auto;
|
|
7423
|
-
|
|
7424
|
-
&:not(:last-child) {
|
|
7425
|
-
border-bottom: 1px solid var(--color--border);
|
|
7426
|
-
}
|
|
7427
9187
|
}
|
|
7428
|
-
|
|
7429
|
-
|
|
7430
|
-
|
|
7431
|
-
|
|
7432
|
-
|
|
9188
|
+
/* A width that fits a hex value with alpha (#RRGGBBAA) and the clear button */
|
|
9189
|
+
.ColorInput--autosize {
|
|
9190
|
+
display: inline-flex;
|
|
9191
|
+
width: 220px;
|
|
9192
|
+
max-width: 100%;
|
|
7433
9193
|
}
|
|
7434
|
-
.
|
|
9194
|
+
.ColorInput__field {
|
|
9195
|
+
flex: 1;
|
|
9196
|
+
}
|
|
9197
|
+
.ColorInput__swatch {
|
|
7435
9198
|
display: flex;
|
|
7436
|
-
|
|
7437
|
-
|
|
7438
|
-
text-decoration: none;
|
|
9199
|
+
flex: none;
|
|
9200
|
+
padding: 0 0 0 8px;
|
|
7439
9201
|
cursor: pointer;
|
|
7440
|
-
background
|
|
7441
|
-
border:
|
|
7442
|
-
border-radius: var(--radius-s);
|
|
7443
|
-
transition: all 0.15s var(--material-ease);
|
|
9202
|
+
background: none;
|
|
9203
|
+
border: 0;
|
|
7444
9204
|
|
|
7445
|
-
|
|
7446
|
-
|
|
7447
|
-
}
|
|
7448
|
-
&:has(input[type="radio"]:focus-visible) {
|
|
7449
|
-
border-color: var(--color--focus--border);
|
|
7450
|
-
box-shadow: var(--focus-ring);
|
|
7451
|
-
}
|
|
7452
|
-
&:last-child {
|
|
7453
|
-
margin-bottom: 0;
|
|
9205
|
+
&[disabled] {
|
|
9206
|
+
cursor: default;
|
|
7454
9207
|
}
|
|
7455
|
-
|
|
7456
|
-
|
|
9208
|
+
}
|
|
9209
|
+
/* The color (see the --ColorInput-swatch property, which the component sets)
|
|
9210
|
+
is on top of a checkerboard, which shows the alpha. The two are layers of
|
|
9211
|
+
one background, thus the checkerboard does not show at the rounded
|
|
9212
|
+
corners. */
|
|
9213
|
+
.ColorInput__swatch__color {
|
|
9214
|
+
position: relative;
|
|
9215
|
+
display: block;
|
|
9216
|
+
width: 22px;
|
|
9217
|
+
height: 22px;
|
|
9218
|
+
overflow: hidden;
|
|
9219
|
+
background:
|
|
9220
|
+
linear-gradient(var(--ColorInput-swatch), var(--ColorInput-swatch)),
|
|
9221
|
+
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==");
|
|
9222
|
+
border-radius: var(--radius-s);
|
|
9223
|
+
/* A translucent hairline. It is visible only when the color is near the
|
|
9224
|
+
color of the surface. */
|
|
9225
|
+
/* token-audit-disable-next-line color-mix -- a translucent hairline around the swatch */
|
|
9226
|
+
box-shadow: inset 0 0 0 1px
|
|
9227
|
+
color-mix(in oklch, var(--color--ink) 15%, transparent);
|
|
9228
|
+
|
|
9229
|
+
&.is-empty {
|
|
9230
|
+
background: none;
|
|
9231
|
+
|
|
9232
|
+
&::after {
|
|
9233
|
+
position: absolute;
|
|
9234
|
+
top: 50%;
|
|
9235
|
+
left: -20%;
|
|
9236
|
+
width: 140%;
|
|
9237
|
+
height: 1px;
|
|
9238
|
+
content: "";
|
|
9239
|
+
/* token-audit-disable-next-line mismatch -- a 1px line, drawn with the ink color */
|
|
9240
|
+
background-color: var(--color--ink-subtle);
|
|
9241
|
+
transform: rotate(-45deg);
|
|
9242
|
+
}
|
|
7457
9243
|
}
|
|
7458
9244
|
}
|
|
7459
|
-
|
|
7460
|
-
|
|
7461
|
-
|
|
7462
|
-
:
|
|
7463
|
-
|
|
9245
|
+
.ColorInput__hex {
|
|
9246
|
+
flex: 1;
|
|
9247
|
+
min-width: 0;
|
|
9248
|
+
font-family: var(--monospaced-font-family);
|
|
9249
|
+
text-transform: uppercase;
|
|
9250
|
+
|
|
9251
|
+
&::placeholder {
|
|
9252
|
+
font-family: var(--base-font-family);
|
|
9253
|
+
text-transform: none;
|
|
9254
|
+
}
|
|
7464
9255
|
}
|
|
7465
|
-
.
|
|
7466
|
-
|
|
9256
|
+
.ColorInput__clear {
|
|
9257
|
+
margin-right: 4px;
|
|
7467
9258
|
}
|
|
7468
|
-
.
|
|
7469
|
-
|
|
9259
|
+
.ColorInput__pane {
|
|
9260
|
+
box-sizing: border-box;
|
|
9261
|
+
width: 240px;
|
|
9262
|
+
padding: var(--spacing-m);
|
|
9263
|
+
background-color: var(--color--surface-raised);
|
|
9264
|
+
border: 1px solid var(--color--border-raised);
|
|
9265
|
+
border-radius: var(--radius-m);
|
|
9266
|
+
box-shadow: var(--shadow--floating);
|
|
7470
9267
|
}
|
|
7471
|
-
/* The
|
|
7472
|
-
|
|
7473
|
-
.
|
|
7474
|
-
|
|
7475
|
-
|
|
7476
|
-
|
|
9268
|
+
/* The picker root has display: contents, thus the saturation area, the
|
|
9269
|
+
sliders and the eye dropper are cells of one grid. The eye dropper is in
|
|
9270
|
+
the left column, next to the sliders. */
|
|
9271
|
+
.ColorInput__picker-area {
|
|
9272
|
+
display: grid;
|
|
9273
|
+
grid-template-columns: 1fr;
|
|
9274
|
+
gap: var(--spacing-s);
|
|
9275
|
+
align-items: center;
|
|
7477
9276
|
|
|
7478
|
-
&.
|
|
7479
|
-
|
|
9277
|
+
&.has-eye-dropper {
|
|
9278
|
+
grid-template-columns: auto 1fr;
|
|
7480
9279
|
}
|
|
7481
9280
|
}
|
|
7482
|
-
.
|
|
7483
|
-
|
|
9281
|
+
.ColorInput__picker.react-colorful {
|
|
9282
|
+
--ColorInput-slider-pointer: 14px;
|
|
7484
9283
|
|
|
7485
|
-
|
|
7486
|
-
|
|
7487
|
-
|
|
9284
|
+
display: contents;
|
|
9285
|
+
|
|
9286
|
+
.react-colorful__saturation {
|
|
9287
|
+
grid-column: 1 / -1;
|
|
9288
|
+
height: 140px;
|
|
9289
|
+
margin-bottom: var(--spacing-s);
|
|
9290
|
+
border-bottom: 0;
|
|
9291
|
+
border-radius: var(--radius-s);
|
|
7488
9292
|
}
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
|
|
7492
|
-
|
|
7493
|
-
|
|
7494
|
-
|
|
7495
|
-
|
|
7496
|
-
|
|
9293
|
+
/* The slider pointer has its center on the value, thus at the two ends
|
|
9294
|
+
it goes out of the track by half its width. The inline margin keeps it
|
|
9295
|
+
inside the grid cell, away from the eye dropper and the pane edge. */
|
|
9296
|
+
.react-colorful__hue,
|
|
9297
|
+
.react-colorful__alpha {
|
|
9298
|
+
grid-column: -2 / -1;
|
|
9299
|
+
height: 12px;
|
|
9300
|
+
margin-inline: calc(var(--ColorInput-slider-pointer) / 2);
|
|
7497
9301
|
border-radius: var(--radius-full);
|
|
7498
|
-
transition:
|
|
7499
|
-
background-color 0.15s var(--material-ease),
|
|
7500
|
-
border-color 0.15s var(--material-ease);
|
|
7501
9302
|
}
|
|
7502
|
-
.
|
|
7503
|
-
|
|
9303
|
+
.react-colorful__pointer {
|
|
9304
|
+
width: 16px;
|
|
9305
|
+
height: 16px;
|
|
9306
|
+
border-width: 2px;
|
|
9307
|
+
}
|
|
9308
|
+
.react-colorful__hue-pointer,
|
|
9309
|
+
.react-colorful__alpha-pointer {
|
|
9310
|
+
width: var(--ColorInput-slider-pointer);
|
|
9311
|
+
height: var(--ColorInput-slider-pointer);
|
|
7504
9312
|
}
|
|
7505
9313
|
}
|
|
7506
|
-
.
|
|
7507
|
-
|
|
7508
|
-
|
|
7509
|
-
|
|
7510
|
-
|
|
7511
|
-
|
|
7512
|
-
|
|
7513
|
-
border-color: var(--color--primary--surface);
|
|
7514
|
-
}
|
|
7515
|
-
.RadioGroupInput__option.is-checked:hover:not(.is-disabled, .is-read-only)
|
|
7516
|
-
.RadioGroupInput__radio::before {
|
|
7517
|
-
background-color: var(--color--primary--surface-hover);
|
|
7518
|
-
/* token-audit-disable-next-line mismatch -- the border has the same color as the fill */
|
|
7519
|
-
border-color: var(--color--primary--surface-hover);
|
|
7520
|
-
}
|
|
7521
|
-
.RadioGroupInput__option.is-disabled .RadioGroupInput__radio::before {
|
|
7522
|
-
background-color: transparent;
|
|
7523
|
-
border-color: var(--color--border-control);
|
|
7524
|
-
}
|
|
7525
|
-
.RadioGroupInput__option.is-disabled.is-checked
|
|
7526
|
-
.RadioGroupInput__radio::before {
|
|
7527
|
-
background-color: var(--color--disabled-field--fill);
|
|
7528
|
-
background-image: radial-gradient(
|
|
7529
|
-
var(--color--disabled-field--surface) 28%,
|
|
7530
|
-
transparent 33%
|
|
7531
|
-
);
|
|
7532
|
-
/* token-audit-disable-next-line mismatch -- the border has the same color as the fill */
|
|
7533
|
-
border-color: var(--color--disabled-field--fill);
|
|
9314
|
+
.ColorInput__eye-dropper {
|
|
9315
|
+
grid-row: 2;
|
|
9316
|
+
grid-column: 1;
|
|
9317
|
+
|
|
9318
|
+
.has-alpha > & {
|
|
9319
|
+
grid-row: 2 / span 2;
|
|
9320
|
+
}
|
|
7534
9321
|
}
|
|
7535
|
-
|
|
7536
|
-
label stay next to each other, and the logos of the options make one
|
|
7537
|
-
column at the right */
|
|
7538
|
-
.RadioGroupInput__icon {
|
|
9322
|
+
.ColorInput__pane__footer {
|
|
7539
9323
|
display: flex;
|
|
7540
|
-
flex:
|
|
9324
|
+
flex-wrap: wrap;
|
|
9325
|
+
gap: var(--spacing-s);
|
|
7541
9326
|
align-items: center;
|
|
7542
|
-
|
|
7543
|
-
|
|
7544
|
-
|
|
7545
|
-
|
|
7546
|
-
|
|
9327
|
+
padding-top: var(--spacing-m);
|
|
9328
|
+
margin-top: var(--spacing-m);
|
|
9329
|
+
border-top: 1px solid var(--color--border);
|
|
9330
|
+
}
|
|
9331
|
+
.ColorInput__preset {
|
|
9332
|
+
display: flex;
|
|
9333
|
+
padding: 2px;
|
|
9334
|
+
cursor: pointer;
|
|
9335
|
+
background: none;
|
|
9336
|
+
border: 0;
|
|
9337
|
+
border-radius: var(--radius-s);
|
|
7547
9338
|
|
|
7548
|
-
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
|
|
7555
|
-
|
|
9339
|
+
&:hover,
|
|
9340
|
+
&:focus-visible {
|
|
9341
|
+
box-shadow: 0 0 0 2px var(--color--border-hover);
|
|
9342
|
+
}
|
|
9343
|
+
&.is-selected {
|
|
9344
|
+
box-shadow: 0 0 0 2px var(--color--selected--border);
|
|
9345
|
+
}
|
|
9346
|
+
.ColorInput__swatch__color {
|
|
9347
|
+
width: 20px;
|
|
9348
|
+
height: 20px;
|
|
9349
|
+
}
|
|
9350
|
+
}
|
|
9351
|
+
/* A thick track with a pill thumb. The part of the track before the thumb
|
|
9352
|
+
has the color of a control that is on, the part after it is muted.
|
|
9353
|
+
The component sets --RangeInput-value (0 to 1). */
|
|
9354
|
+
.RangeInput {
|
|
9355
|
+
--RangeInput-thumb-width: 28px;
|
|
9356
|
+
--RangeInput-thumb-height: 18px;
|
|
9357
|
+
--RangeInput-track-height: 6px;
|
|
9358
|
+
/* The center of the thumb: the thumb stays inside the track. */
|
|
9359
|
+
--RangeInput-fill: calc(
|
|
9360
|
+
var(--RangeInput-thumb-width) /
|
|
9361
|
+
2 +
|
|
9362
|
+
var(--RangeInput-value, 0) *
|
|
9363
|
+
(100% - var(--RangeInput-thumb-width))
|
|
9364
|
+
);
|
|
9365
|
+
width: 100%;
|
|
9366
|
+
height: var(--RangeInput-thumb-height);
|
|
9367
|
+
margin: 0;
|
|
9368
|
+
appearance: none;
|
|
9369
|
+
cursor: pointer;
|
|
9370
|
+
background: none;
|
|
9371
|
+
|
|
9372
|
+
&.is-disabled {
|
|
9373
|
+
pointer-events: none;
|
|
9374
|
+
opacity: var(--disabled-opacity);
|
|
7556
9375
|
}
|
|
7557
|
-
}
|
|
7558
|
-
.RadioGroupInput__body {
|
|
7559
|
-
align-self: center;
|
|
7560
|
-
margin-left: calc(1.5 * var(--space-unit));
|
|
7561
|
-
}
|
|
7562
|
-
.RadioGroupInput__label {
|
|
7563
|
-
display: block;
|
|
7564
|
-
line-height: 1;
|
|
7565
|
-
}
|
|
7566
|
-
.RadioGroupInput__hint {
|
|
7567
|
-
display: block;
|
|
7568
|
-
margin-top: 3px;
|
|
7569
|
-
font-size: var(--font-size-m);
|
|
7570
|
-
line-height: 1.2;
|
|
7571
|
-
color: var(--color--ink-subtle);
|
|
7572
9376
|
|
|
7573
|
-
|
|
7574
|
-
|
|
9377
|
+
&:focus-visible {
|
|
9378
|
+
outline: none;
|
|
9379
|
+
border-radius: var(--radius-full);
|
|
9380
|
+
box-shadow: var(--focus-ring);
|
|
9381
|
+
}
|
|
9382
|
+
|
|
9383
|
+
/* Two hard stops: no fade. */
|
|
9384
|
+
&::-webkit-slider-runnable-track {
|
|
9385
|
+
height: var(--RangeInput-track-height);
|
|
9386
|
+
background: linear-gradient(
|
|
9387
|
+
to right,
|
|
9388
|
+
var(--color--control-on--surface) var(--RangeInput-fill),
|
|
9389
|
+
var(--color--surface-muted) var(--RangeInput-fill)
|
|
9390
|
+
);
|
|
9391
|
+
border-radius: var(--radius-full);
|
|
9392
|
+
}
|
|
9393
|
+
&::-moz-range-track {
|
|
9394
|
+
height: var(--RangeInput-track-height);
|
|
9395
|
+
background: var(--color--surface-muted);
|
|
9396
|
+
border-radius: var(--radius-full);
|
|
9397
|
+
}
|
|
9398
|
+
&::-moz-range-progress {
|
|
9399
|
+
height: var(--RangeInput-track-height);
|
|
9400
|
+
background: var(--color--control-on--surface);
|
|
9401
|
+
border-radius: var(--radius-full);
|
|
9402
|
+
}
|
|
9403
|
+
|
|
9404
|
+
&::-webkit-slider-thumb {
|
|
9405
|
+
box-sizing: border-box;
|
|
9406
|
+
width: var(--RangeInput-thumb-width);
|
|
9407
|
+
height: var(--RangeInput-thumb-height);
|
|
9408
|
+
margin-top: calc(
|
|
9409
|
+
(var(--RangeInput-track-height) - var(--RangeInput-thumb-height)) /
|
|
9410
|
+
2
|
|
9411
|
+
);
|
|
9412
|
+
appearance: none;
|
|
9413
|
+
background: var(--color--surface);
|
|
9414
|
+
/* token-audit-disable-next-line mismatch -- the ring has the color of the filled part of the track */
|
|
9415
|
+
border: 2.5px solid var(--color--control-on--surface);
|
|
9416
|
+
border-radius: var(--radius-full);
|
|
9417
|
+
}
|
|
9418
|
+
&::-moz-range-thumb {
|
|
9419
|
+
box-sizing: border-box;
|
|
9420
|
+
width: var(--RangeInput-thumb-width);
|
|
9421
|
+
height: var(--RangeInput-thumb-height);
|
|
9422
|
+
background: var(--color--surface);
|
|
9423
|
+
/* token-audit-disable-next-line mismatch -- the ring has the color of the filled part of the track */
|
|
9424
|
+
border: 2.5px solid var(--color--control-on--surface);
|
|
9425
|
+
border-radius: var(--radius-full);
|
|
7575
9426
|
}
|
|
7576
9427
|
}
|
|
7577
9428
|
/* All are kbd elements: the normalize sheet gives a kbd the monospace font */
|
|
@@ -7650,10 +9501,12 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
7650
9501
|
border-width 0.1s var(--material-ease),
|
|
7651
9502
|
border-radius 0.1s var(--material-ease);
|
|
7652
9503
|
}
|
|
7653
|
-
/* Only a script gives the focus to the content (see the mode prop
|
|
7654
|
-
content is a scroll container, not a control, thus it shows
|
|
7655
|
-
.
|
|
7656
|
-
|
|
9504
|
+
/* Only a script gives the focus to the content (see the mode prop and
|
|
9505
|
+
Main). The content is a scroll container, not a control, thus it shows
|
|
9506
|
+
no ring. The ring of _base.css is a box-shadow, and it shows after a key
|
|
9507
|
+
press: the overflow of the pane clips all of it but the top edge. */
|
|
9508
|
+
:where(.Pane__content):focus-visible {
|
|
9509
|
+
box-shadow: none;
|
|
7657
9510
|
}
|
|
7658
9511
|
.Pane--mode .Pane__content {
|
|
7659
9512
|
margin: calc(var(--row-inset) / 2);
|
|
@@ -7691,7 +9544,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
7691
9544
|
flex-shrink: 0;
|
|
7692
9545
|
width: 1rem;
|
|
7693
9546
|
height: 1rem;
|
|
7694
|
-
|
|
9547
|
+
color: var(--color--ink-subtle);
|
|
7695
9548
|
}
|
|
7696
9549
|
}
|
|
7697
9550
|
/* The padding is the inset above the first group and below the last group:
|
|
@@ -7717,7 +9570,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
7717
9570
|
.SettingsMenu__end--new-tab svg {
|
|
7718
9571
|
width: 0.75em;
|
|
7719
9572
|
height: 0.75em;
|
|
7720
|
-
|
|
9573
|
+
color: var(--color--ink-subtle);
|
|
7721
9574
|
}
|
|
7722
9575
|
.IdText {
|
|
7723
9576
|
font-family: var(--monospaced-font-family);
|
|
@@ -8062,7 +9915,6 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
8062
9915
|
|
|
8063
9916
|
svg {
|
|
8064
9917
|
display: block;
|
|
8065
|
-
fill: currentColor;
|
|
8066
9918
|
}
|
|
8067
9919
|
.SplitViewSash__content:hover & {
|
|
8068
9920
|
color: var(--color--ink);
|
|
@@ -8130,7 +9982,6 @@ body.SplitView--disable-select {
|
|
|
8130
9982
|
|
|
8131
9983
|
svg {
|
|
8132
9984
|
display: block;
|
|
8133
|
-
fill: currentColor;
|
|
8134
9985
|
}
|
|
8135
9986
|
}
|
|
8136
9987
|
|
|
@@ -8288,7 +10139,6 @@ body.SplitView--disable-select {
|
|
|
8288
10139
|
}
|
|
8289
10140
|
> svg {
|
|
8290
10141
|
flex: none;
|
|
8291
|
-
fill: currentColor;
|
|
8292
10142
|
}
|
|
8293
10143
|
> .ItemTypeEmoji {
|
|
8294
10144
|
flex: none;
|
|
@@ -8432,20 +10282,19 @@ body.SplitView--disable-select {
|
|
|
8432
10282
|
}
|
|
8433
10283
|
|
|
8434
10284
|
/* The area of the overview of an empty section. It has the largest width of
|
|
8435
|
-
the split
|
|
10285
|
+
the split. It has no line at its right edge, because no content ends
|
|
10286
|
+
there. */
|
|
8436
10287
|
.ListDetailOverview {
|
|
8437
10288
|
position: absolute;
|
|
8438
10289
|
inset: 0;
|
|
8439
10290
|
right: auto;
|
|
8440
10291
|
box-sizing: border-box;
|
|
8441
10292
|
width: 100%;
|
|
8442
|
-
border-right: 1px solid var(--color--border);
|
|
8443
10293
|
}
|
|
8444
10294
|
|
|
8445
10295
|
/* The detail at the right of the list. The split gives its width (the user
|
|
8446
10296
|
resizes it with the sash on its right border); more space at its right
|
|
8447
|
-
stays empty.
|
|
8448
|
-
row. */
|
|
10297
|
+
stays empty. Without an open row, it holds a blank slate. */
|
|
8449
10298
|
.ListDetailSplit__detail {
|
|
8450
10299
|
position: relative;
|
|
8451
10300
|
box-sizing: border-box;
|
|
@@ -8458,20 +10307,24 @@ body.SplitView--disable-select {
|
|
|
8458
10307
|
border-right: 0;
|
|
8459
10308
|
}
|
|
8460
10309
|
}
|
|
10310
|
+
/* Without an open row, no content ends at the right edge of the detail */
|
|
10311
|
+
.ListDetailSplit__detail--empty {
|
|
10312
|
+
border-right: 0;
|
|
10313
|
+
}
|
|
8461
10314
|
/* The sash on the right border of the detail goes out of the detail. When
|
|
8462
10315
|
the detail fills its pane, the pane does not scroll for it. */
|
|
8463
10316
|
.SplitViewPane:has(> .ListDetailSplit__detail) {
|
|
8464
10317
|
overflow-x: clip;
|
|
8465
10318
|
}
|
|
8466
10319
|
|
|
8467
|
-
/*
|
|
8468
|
-
it */
|
|
10320
|
+
/* With the "over" placement, the list uses all the width and the detail goes
|
|
10321
|
+
over it. The split gives the width of a detail that the user resizes. */
|
|
8469
10322
|
.ListDetailSplit__list {
|
|
8470
10323
|
position: relative;
|
|
8471
10324
|
flex: 1 1 auto;
|
|
8472
10325
|
min-width: 0;
|
|
8473
10326
|
}
|
|
8474
|
-
.ListDetailSplit--
|
|
10327
|
+
.ListDetailSplit--over .ListDetailSplit__detail {
|
|
8475
10328
|
position: absolute;
|
|
8476
10329
|
top: 0;
|
|
8477
10330
|
right: 0;
|