datocms-react-ui 3.1.0-next.0 → 3.1.0-next.10
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 -0
- package/dist/Actions.js +4 -0
- 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 -0
- package/dist/IconAvatar.js +2 -0
- 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 +1 -1
- 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 +5 -5
- 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 +5 -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 +3 -2
- 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 +13 -6
- package/dist/react-ui/src/Canvas.js +39 -15
- package/dist/react-ui/src/ContextInspector.d.ts +1 -1
- package/dist/react-ui/src/ContextInspector.js +8 -8
- 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 +2133 -457
- 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 +352 -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.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.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 +190 -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.d.ts +23 -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/index.js +3 -0
- package/dist/ui-public/src/actions/Actions/registry.d.ts +211 -0
- package/dist/ui-public/src/actions/Actions/registry.js +580 -0
- package/dist/ui-public/src/actions/Actions/shortcuts.d.ts +85 -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.d.ts +13 -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 +35 -0
- package/dist/ui-public/src/form/SwitchInput.js +86 -0
- package/dist/ui-public/src/form/SwitchList.d.ts +16 -0
- package/dist/ui-public/src/form/SwitchList.js +25 -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.d.ts +14 -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 +96 -0
- package/dist/ui-public/src/layout/SidebarPanel.js +81 -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 +317 -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.d.ts +8 -0
- package/dist/ui-public/src/layout/Toolbar/Divider.js +16 -0
- package/dist/ui-public/src/layout/Toolbar/DotsDropdown.d.ts +20 -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.d.ts +38 -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 +29 -0
- package/dist/ui-public/src/layout/Toolbar/Help.js +55 -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.d.ts +20 -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 +30 -0
- package/dist/ui-public/src/lists/InfoList/Value.js +39 -0
- package/dist/ui-public/src/lists/InfoList/index.d.ts +59 -0
- package/dist/ui-public/src/lists/InfoList/index.js +64 -0
- package/dist/ui-public/src/lists/InsertGap/index.d.ts +28 -0
- package/dist/ui-public/src/lists/InsertGap/index.js +38 -0
- package/dist/ui-public/src/lists/InsertGap/parts.d.ts +26 -0
- package/dist/ui-public/src/lists/InsertGap/parts.js +46 -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.js +18 -0
- package/dist/ui-public/src/lists/Table/index.d.ts +17 -0
- package/dist/ui-public/src/lists/Table/index.js +18 -0
- package/dist/ui-public/src/lists/Table/layout.d.ts +19 -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/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 +175 -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.js +17 -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 +56 -0
- package/dist/ui-public/src/overlays/Modal/index.js +97 -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 +77 -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 +160 -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.d.ts +12 -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/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/HotKey.d.ts +0 -1
- package/dist/HotKey.js +0 -2
- 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 -55
- package/dist/ui/icons/custom/twitter-verified.js +0 -18
- package/dist/ui/icons/custom/vercel.js +0 -18
- package/dist/ui/icons/index.js +0 -391
- 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/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/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 -15
- package/dist/ui/icons/regular/list.js +0 -15
- 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 -15
- 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 -99
- 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/Button.d.ts +0 -190
- package/dist/ui/src/actions/Button.js +0 -163
- package/dist/ui/src/actions/Dropdown/DropdownContext.js +0 -11
- 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 -46
- package/dist/ui/src/actions/Dropdown/Menu.js +0 -99
- package/dist/ui/src/actions/Dropdown/MenuContent.d.ts +0 -21
- package/dist/ui/src/actions/Dropdown/MenuContent.js +0 -140
- 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 -140
- package/dist/ui/src/actions/Dropdown/Option.js +0 -177
- 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 -68
- package/dist/ui/src/actions/Dropdown/index.js +0 -115
- 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 -52
- 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/HotKey.d.ts +0 -98
- package/dist/ui/src/actions/HotKey.js +0 -270
- package/dist/ui/src/actions/MultipleSelectionActionBar.d.ts +0 -75
- package/dist/ui/src/actions/MultipleSelectionActionBar.js +0 -105
- 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/actions/hotKeyContext.d.ts +0 -32
- package/dist/ui/src/actions/hotKeyContext.js +0 -15
- 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 -55
- package/dist/ui/src/content/Avatar.js +0 -54
- 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.d.ts +0 -8
- package/dist/ui/src/content/CopyableId.js +0 -30
- 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/IdText.js +0 -30
- package/dist/ui/src/content/InitialsAvatar.js +0 -70
- 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 -35
- package/dist/ui/src/content/UsageMeter.js +0 -66
- 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 -20
- 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 -33
- package/dist/ui/src/form/SwitchInput.js +0 -83
- 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 -112
- 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/PaneTitleId.js +0 -9
- package/dist/ui/src/layout/Pane/index.d.ts +0 -166
- package/dist/ui/src/layout/Pane/index.js +0 -100
- 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 -74
- package/dist/ui/src/layout/SplitPane.js +0 -277
- package/dist/ui/src/layout/SplitView/SashActionButton.js +0 -50
- 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 -55
- package/dist/ui/src/layout/Toolbar/AddNewButton.d.ts +0 -37
- package/dist/ui/src/layout/Toolbar/AddNewButton.js +0 -56
- package/dist/ui/src/layout/Toolbar/Button.js +0 -17
- package/dist/ui/src/layout/Toolbar/DotsDropdown.d.ts +0 -13
- package/dist/ui/src/layout/Toolbar/DotsDropdown.js +0 -24
- package/dist/ui/src/layout/Toolbar/Fill.js +0 -16
- package/dist/ui/src/layout/Toolbar/FilterInput.d.ts +0 -34
- package/dist/ui/src/layout/Toolbar/FilterInput.js +0 -67
- package/dist/ui/src/layout/Toolbar/FilterToggle.d.ts +0 -31
- package/dist/ui/src/layout/Toolbar/FilterToggle.js +0 -62
- package/dist/ui/src/layout/Toolbar/GoBack.d.ts +0 -27
- package/dist/ui/src/layout/Toolbar/GoBack.js +0 -26
- 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 -25
- package/dist/ui/src/layout/Toolbar/Root.js +0 -24
- package/dist/ui/src/layout/Toolbar/Search.d.ts +0 -19
- package/dist/ui/src/layout/Toolbar/Search.js +0 -22
- 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 -9
- package/dist/ui/src/layout/Toolbar/index.d.ts +0 -46
- package/dist/ui/src/layout/Toolbar/index.js +0 -49
- package/dist/ui/src/layout/sidebarPanelStorage.js +0 -33
- package/dist/ui/src/lists/CardList.d.ts +0 -115
- package/dist/ui/src/lists/CardList.js +0 -137
- 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 -53
- 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 -129
- package/dist/ui/src/lists/MediaCard.js +0 -139
- 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 -134
- package/dist/ui/src/lists/Table/HeaderCell.js +0 -67
- package/dist/ui/src/lists/Table/Row.d.ts +0 -133
- package/dist/ui/src/lists/Table/Row.js +0 -207
- 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.js +0 -18
- package/dist/ui/src/lists/Table/index.d.ts +0 -17
- package/dist/ui/src/lists/Table/index.js +0 -18
- package/dist/ui/src/lists/Table/layout.d.ts +0 -18
- package/dist/ui/src/lists/Table/layout.js +0 -102
- package/dist/ui/src/lists/Table/storage.js +0 -26
- 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 -51
- package/dist/ui/src/navigation/SegmentedControl.js +0 -40
- 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 -86
- 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 -49
- package/dist/ui/src/overlays/Modal.js +0 -136
- 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 -47
- package/dist/ui/src/overlays/Popover.js +0 -72
- 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 -55
- package/dist/ui/src/overlays/Tooltip.js +0 -77
- 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 -129
- package/dist/ui/src/patterns/ListDetail/Overview.js +0 -16
- package/dist/ui/src/patterns/ListDetail/Page.d.ts +0 -109
- package/dist/ui/src/patterns/ListDetail/Page.js +0 -125
- package/dist/ui/src/patterns/ListDetail/Panel.d.ts +0 -62
- package/dist/ui/src/patterns/ListDetail/Panel.js +0 -70
- package/dist/ui/src/patterns/ListDetail/Split.d.ts +0 -32
- package/dist/ui/src/patterns/ListDetail/Split.js +0 -156
- 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.d.ts +0 -9
- package/dist/ui/src/semantic/Main.js +0 -17
- package/dist/ui/src/semantic/Nav.d.ts +0 -24
- package/dist/ui/src/semantic/Nav.js +0 -20
- 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/randomKey.js +0 -10
- package/dist/ui/src/utils/times.js +0 -6
- /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/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/Toolbar/Fill.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/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/cells/TimeCell.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/types.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/utils/pointerNearGap.d.ts +0 -0
- /package/dist/{ui → ui-public}/src/utils/pointerNearGap.js +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,102 +23,116 @@
|
|
|
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
|
+
* 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
|
+
*/
|
|
43
|
+
@font-face {
|
|
44
|
+
font-family: "ABC Oracle";
|
|
45
|
+
font-style: normal;
|
|
46
|
+
font-weight: 200 1000;
|
|
47
|
+
font-display: swap;
|
|
48
|
+
src: url("https://www.datocms.com/fonts/ABCOracleVariable.woff2")
|
|
49
|
+
format("woff2");
|
|
50
|
+
size-adjust: 102%;
|
|
51
|
+
}
|
|
26
52
|
|
|
27
53
|
@font-face {
|
|
28
|
-
font-family: "
|
|
29
|
-
src:
|
|
30
|
-
url("https://use.typekit.net/af/522c51/00000000000000003b9acde6/27/l?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n5&v=3")
|
|
31
|
-
format("woff2"),
|
|
32
|
-
url("https://use.typekit.net/af/522c51/00000000000000003b9acde6/27/d?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n5&v=3")
|
|
33
|
-
format("woff"),
|
|
34
|
-
url("https://use.typekit.net/af/522c51/00000000000000003b9acde6/27/a?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n5&v=3")
|
|
35
|
-
format("opentype");
|
|
36
|
-
font-display: auto;
|
|
54
|
+
font-family: "Geist Mono Variable";
|
|
37
55
|
font-style: normal;
|
|
38
|
-
font-weight:
|
|
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;
|
|
39
62
|
}
|
|
63
|
+
|
|
40
64
|
@font-face {
|
|
41
|
-
font-family: "
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
format("
|
|
47
|
-
|
|
48
|
-
format("opentype");
|
|
49
|
-
font-display: auto;
|
|
50
|
-
font-style: italic;
|
|
51
|
-
font-weight: 700;
|
|
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;
|
|
52
72
|
}
|
|
73
|
+
|
|
53
74
|
@font-face {
|
|
54
|
-
font-family: "
|
|
55
|
-
src:
|
|
56
|
-
url("https://use.typekit.net/af/522c51/00000000000000003b9acde6/27/l?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n5&v=3")
|
|
57
|
-
format("woff2"),
|
|
58
|
-
url("https://use.typekit.net/af/522c51/00000000000000003b9acde6/27/d?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n5&v=3")
|
|
59
|
-
format("woff"),
|
|
60
|
-
url("https://use.typekit.net/af/522c51/00000000000000003b9acde6/27/a?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n5&v=3")
|
|
61
|
-
format("opentype");
|
|
62
|
-
font-display: auto;
|
|
75
|
+
font-family: "Geist Mono Variable";
|
|
63
76
|
font-style: normal;
|
|
64
|
-
font-weight:
|
|
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;
|
|
65
82
|
}
|
|
83
|
+
|
|
66
84
|
@font-face {
|
|
67
|
-
font-family: "
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
format("
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
font-display: auto;
|
|
76
|
-
font-style: italic;
|
|
77
|
-
font-weight: 500;
|
|
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;
|
|
78
93
|
}
|
|
94
|
+
|
|
79
95
|
@font-face {
|
|
80
|
-
font-family: "
|
|
81
|
-
src:
|
|
82
|
-
url("https://use.typekit.net/af/bac079/00000000000000003b9acde4/27/l?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n4&v=3")
|
|
83
|
-
format("woff2"),
|
|
84
|
-
url("https://use.typekit.net/af/bac079/00000000000000003b9acde4/27/d?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n4&v=3")
|
|
85
|
-
format("woff"),
|
|
86
|
-
url("https://use.typekit.net/af/bac079/00000000000000003b9acde4/27/a?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n4&v=3")
|
|
87
|
-
format("opentype");
|
|
88
|
-
font-display: auto;
|
|
96
|
+
font-family: "Geist Mono Variable";
|
|
89
97
|
font-style: normal;
|
|
90
|
-
font-weight:
|
|
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;
|
|
91
104
|
}
|
|
105
|
+
|
|
92
106
|
@font-face {
|
|
93
|
-
font-family: "
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
format("
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
font-display: auto;
|
|
102
|
-
font-style: italic;
|
|
103
|
-
font-weight: 400;
|
|
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;
|
|
104
115
|
}
|
|
105
116
|
:root {
|
|
106
117
|
/* Fonts. Keep the noto-script-fallback families last before the generic
|
|
107
118
|
family: they lazily cover scripts our fonts lack (see
|
|
108
119
|
_noto-script-fallback.css). */
|
|
109
120
|
--base-font-family:
|
|
110
|
-
"ABC Oracle", "Geist", "Helvetica Neue", Helvetica, Roboto, Arial,
|
|
121
|
+
"ABC Oracle", "Geist Variable", "Helvetica Neue", Helvetica, Roboto, Arial,
|
|
111
122
|
"noto-script-fallback", "noto-script-fallback-static", sans-serif;
|
|
112
123
|
--monospaced-font-family:
|
|
113
|
-
"Geist Mono", "Menlo", "Bitstream Vera Sans Mono", Consolas,
|
|
114
|
-
"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;
|
|
115
126
|
/* Code is a little smaller than the text around it, because the
|
|
116
127
|
monospaced font looks larger. For inline code and for code blocks. */
|
|
117
128
|
--monospaced-font-size: 0.9em;
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
129
|
+
/* The weight of the text. */
|
|
130
|
+
--font-weight-regular: 340;
|
|
131
|
+
/* The weight of titles, labels and words with emphasis. */
|
|
132
|
+
--font-weight-strong: 400;
|
|
133
|
+
/* The name of --font-weight-strong in react-ui 2.x. Use
|
|
134
|
+
--font-weight-strong. */
|
|
135
|
+
--font-weight-bold: var(--font-weight-strong);
|
|
121
136
|
|
|
122
137
|
--px-to-rem: 0.0625rem;
|
|
123
138
|
--space-unit: calc(12 * var(--px-to-rem));
|
|
@@ -236,15 +251,16 @@
|
|
|
236
251
|
:root {
|
|
237
252
|
--z-index-notifications: 10500;
|
|
238
253
|
}
|
|
239
|
-
/* The plugins use
|
|
240
|
-
noto-script-fallback families
|
|
241
|
-
system fonts after
|
|
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. */
|
|
242
258
|
:root {
|
|
243
259
|
--base-font-family:
|
|
244
|
-
"
|
|
260
|
+
"ABC Oracle", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
245
261
|
--monospaced-font-family:
|
|
246
|
-
"Menlo", "Bitstream Vera Sans Mono", Consolas,
|
|
247
|
-
|
|
262
|
+
"Geist Mono Variable", "Menlo", "Bitstream Vera Sans Mono", Consolas,
|
|
263
|
+
Courier, monospace;
|
|
248
264
|
}
|
|
249
265
|
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css*/
|
|
250
266
|
|
|
@@ -359,7 +375,7 @@ abbr[title] {
|
|
|
359
375
|
|
|
360
376
|
b,
|
|
361
377
|
strong {
|
|
362
|
-
font-weight:
|
|
378
|
+
font-weight: var(--font-weight-strong);
|
|
363
379
|
}
|
|
364
380
|
/**
|
|
365
381
|
* Address styling not present in Safari and Chrome.*/
|
|
@@ -561,12 +577,11 @@ input {
|
|
|
561
577
|
height: auto;
|
|
562
578
|
}
|
|
563
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. */
|
|
564
582
|
&[type="search"] {
|
|
565
|
-
box-sizing: content-box;
|
|
566
583
|
-webkit-appearance: textfield;
|
|
567
584
|
|
|
568
|
-
/* 2*/
|
|
569
|
-
|
|
570
585
|
&::-webkit-search-cancel-button,
|
|
571
586
|
&::-webkit-search-decoration {
|
|
572
587
|
-moz-appearance: none;
|
|
@@ -590,8 +605,7 @@ input {
|
|
|
590
605
|
* decrement button to change from `default` to `text`.*/
|
|
591
606
|
|
|
592
607
|
/**
|
|
593
|
-
*
|
|
594
|
-
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome.*/
|
|
608
|
+
* Address `appearance` set to `searchfield` in Safari and Chrome.*/
|
|
595
609
|
|
|
596
610
|
/**
|
|
597
611
|
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
|
@@ -628,7 +642,7 @@ textarea {
|
|
|
628
642
|
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.*/
|
|
629
643
|
|
|
630
644
|
optgroup {
|
|
631
|
-
font-weight:
|
|
645
|
+
font-weight: var(--font-weight-strong);
|
|
632
646
|
}
|
|
633
647
|
/* Tables
|
|
634
648
|
* ==========================================================================*/
|
|
@@ -646,7 +660,6 @@ th {
|
|
|
646
660
|
}
|
|
647
661
|
html,
|
|
648
662
|
body {
|
|
649
|
-
height: 100%;
|
|
650
663
|
background-color: var(--color--surface);
|
|
651
664
|
}
|
|
652
665
|
/* On a phone, all the interface is a step smaller. The sizes and the spaces
|
|
@@ -660,13 +673,23 @@ html {
|
|
|
660
673
|
}
|
|
661
674
|
body {
|
|
662
675
|
font-family: var(--base-font-family);
|
|
676
|
+
font-weight: var(--font-weight-regular);
|
|
663
677
|
font-synthesis-weight: none;
|
|
664
678
|
font-size: var(--font-size-m);
|
|
665
679
|
-webkit-text-size-adjust: 100%;
|
|
666
|
-
height: 100%;
|
|
667
680
|
line-height: 1.4;
|
|
668
681
|
color: var(--color--ink);
|
|
669
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;
|
|
687
|
+
}
|
|
688
|
+
/* Selected text has the colors of a selected row, thus it follows the brand
|
|
689
|
+
hue and the color scheme */
|
|
690
|
+
::selection {
|
|
691
|
+
color: var(--color--selected--ink);
|
|
692
|
+
background-color: var(--color--selected--surface);
|
|
670
693
|
}
|
|
671
694
|
a {
|
|
672
695
|
color: var(--color--ink);
|
|
@@ -875,7 +898,7 @@ input:where([type="checkbox"]) {
|
|
|
875
898
|
width: 0.75em;
|
|
876
899
|
height: 0.75em;
|
|
877
900
|
content: "";
|
|
878
|
-
background-color: var(--color--
|
|
901
|
+
background-color: var(--color--control-on--ink);
|
|
879
902
|
mask:
|
|
880
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")
|
|
881
904
|
center / contain no-repeat;
|
|
@@ -893,8 +916,8 @@ input:where([type="checkbox"]) {
|
|
|
893
916
|
cursor: default;
|
|
894
917
|
}
|
|
895
918
|
&:checked {
|
|
896
|
-
background-color: var(--color--
|
|
897
|
-
border-color: var(--color--
|
|
919
|
+
background-color: var(--color--control-on--surface);
|
|
920
|
+
border-color: var(--color--control-on--surface);
|
|
898
921
|
|
|
899
922
|
&::before {
|
|
900
923
|
transform: scale(1);
|
|
@@ -902,8 +925,8 @@ input:where([type="checkbox"]) {
|
|
|
902
925
|
&:not(:disabled, [aria-readonly="true"]):hover,
|
|
903
926
|
label:not(:has(:disabled, [aria-readonly="true"])):hover
|
|
904
927
|
&:not(:disabled, [aria-readonly="true"]) {
|
|
905
|
-
background-color: var(--color--
|
|
906
|
-
border-color: var(--color--
|
|
928
|
+
background-color: var(--color--control-on--surface-hover);
|
|
929
|
+
border-color: var(--color--control-on--surface-hover);
|
|
907
930
|
}
|
|
908
931
|
}
|
|
909
932
|
&:focus-visible {
|
|
@@ -942,23 +965,43 @@ th,
|
|
|
942
965
|
td {
|
|
943
966
|
text-align: left;
|
|
944
967
|
}
|
|
968
|
+
th {
|
|
969
|
+
font-weight: var(--font-weight-strong);
|
|
970
|
+
}
|
|
945
971
|
img {
|
|
946
972
|
max-width: 100%;
|
|
947
973
|
}
|
|
948
974
|
legend {
|
|
949
|
-
font-weight:
|
|
975
|
+
font-weight: var(--font-weight-strong);
|
|
950
976
|
color: var(--color--ink-subtle);
|
|
951
977
|
letter-spacing: 0;
|
|
952
978
|
}
|
|
953
979
|
strong {
|
|
954
|
-
font-weight:
|
|
980
|
+
font-weight: var(--font-weight-strong);
|
|
955
981
|
}
|
|
956
982
|
input:-webkit-autofill {
|
|
957
983
|
color: inherit !important;
|
|
958
984
|
background-color: transparent !important;
|
|
959
985
|
}
|
|
960
|
-
|
|
961
|
-
|
|
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;
|
|
962
1005
|
}
|
|
963
1006
|
button {
|
|
964
1007
|
box-sizing: border-box;
|
|
@@ -1025,6 +1068,33 @@ button {
|
|
|
1025
1068
|
display: contents;
|
|
1026
1069
|
}
|
|
1027
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
|
+
}
|
|
1028
1098
|
/* Only as wide as its content: the blank slate does not cover the content at
|
|
1029
1099
|
its sides */
|
|
1030
1100
|
.blank-slate--area {
|
|
@@ -1052,6 +1122,7 @@ button {
|
|
|
1052
1122
|
background-color: var(--color--surface-raised);
|
|
1053
1123
|
border: 1px solid var(--color--border);
|
|
1054
1124
|
border-radius: var(--radius-s);
|
|
1125
|
+
box-shadow: var(--shadow--resting);
|
|
1055
1126
|
}
|
|
1056
1127
|
.blank-slate__inner {
|
|
1057
1128
|
display: flex;
|
|
@@ -1084,7 +1155,7 @@ button {
|
|
|
1084
1155
|
/* With only a title, the title is a plain message, not a heading */
|
|
1085
1156
|
.blank-slate__title {
|
|
1086
1157
|
font-size: var(--font-size-m);
|
|
1087
|
-
font-weight:
|
|
1158
|
+
font-weight: var(--font-weight-regular);
|
|
1088
1159
|
}
|
|
1089
1160
|
}
|
|
1090
1161
|
.blank-slate__icon {
|
|
@@ -1094,7 +1165,6 @@ button {
|
|
|
1094
1165
|
svg {
|
|
1095
1166
|
width: 32px;
|
|
1096
1167
|
height: 32px;
|
|
1097
|
-
fill: currentColor;
|
|
1098
1168
|
}
|
|
1099
1169
|
}
|
|
1100
1170
|
/* Spinner--centered is "position: absolute" at 50%. This box holds the
|
|
@@ -1106,7 +1176,7 @@ button {
|
|
|
1106
1176
|
}
|
|
1107
1177
|
.blank-slate__title {
|
|
1108
1178
|
font-size: var(--font-size-xl);
|
|
1109
|
-
font-weight:
|
|
1179
|
+
font-weight: var(--font-weight-strong);
|
|
1110
1180
|
line-height: 1.2;
|
|
1111
1181
|
}
|
|
1112
1182
|
/* A box under the title with the raw text of an error. It is quiet,
|
|
@@ -1129,11 +1199,14 @@ button {
|
|
|
1129
1199
|
gap: var(--spacing-m);
|
|
1130
1200
|
align-items: flex-start;
|
|
1131
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" */
|
|
1132
1204
|
.blank-slate__actions {
|
|
1133
1205
|
display: flex;
|
|
1134
1206
|
flex-wrap: wrap;
|
|
1135
1207
|
gap: var(--spacing-s);
|
|
1136
1208
|
align-items: center;
|
|
1209
|
+
max-width: 100%;
|
|
1137
1210
|
margin-top: var(--spacing-s);
|
|
1138
1211
|
}
|
|
1139
1212
|
/* The content can have a form, thus it uses all the width */
|
|
@@ -1154,7 +1227,7 @@ button {
|
|
|
1154
1227
|
}
|
|
1155
1228
|
|
|
1156
1229
|
a:not([class]) {
|
|
1157
|
-
font-weight:
|
|
1230
|
+
font-weight: var(--font-weight-strong);
|
|
1158
1231
|
color: inherit;
|
|
1159
1232
|
border-color: inherit;
|
|
1160
1233
|
|
|
@@ -1192,11 +1265,18 @@ button {
|
|
|
1192
1265
|
--chevron-color: currentColor;
|
|
1193
1266
|
|
|
1194
1267
|
box-sizing: border-box;
|
|
1195
|
-
|
|
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%;
|
|
1196
1276
|
padding: var(--button-pad-y) var(--button-pad-x);
|
|
1197
1277
|
font-family: inherit;
|
|
1198
1278
|
font-size: 1.1em;
|
|
1199
|
-
font-weight:
|
|
1279
|
+
font-weight: var(--font-weight-strong);
|
|
1200
1280
|
line-height: inherit;
|
|
1201
1281
|
vertical-align: middle;
|
|
1202
1282
|
color: var(--color--primary-soft--ink);
|
|
@@ -1223,14 +1303,17 @@ button {
|
|
|
1223
1303
|
> span {
|
|
1224
1304
|
position: relative;
|
|
1225
1305
|
top: 0.06em;
|
|
1306
|
+
min-width: 0;
|
|
1307
|
+
overflow: hidden;
|
|
1308
|
+
text-overflow: ellipsis;
|
|
1226
1309
|
}
|
|
1227
1310
|
svg,
|
|
1228
1311
|
i,
|
|
1229
1312
|
.Spinner {
|
|
1230
1313
|
display: inline-block;
|
|
1314
|
+
flex: none;
|
|
1231
1315
|
line-height: 0.6;
|
|
1232
1316
|
vertical-align: middle;
|
|
1233
|
-
fill: var(--color--primary-soft--ink);
|
|
1234
1317
|
|
|
1235
1318
|
&:first-child {
|
|
1236
1319
|
margin-right: 0.5em;
|
|
@@ -1243,9 +1326,14 @@ button {
|
|
|
1243
1326
|
margin-left: 0;
|
|
1244
1327
|
}
|
|
1245
1328
|
}
|
|
1329
|
+
/* Only the svg takes the color. The bars of a .Spinner paint with
|
|
1330
|
+
currentColor, thus they keep the color of the text of the button. */
|
|
1331
|
+
svg {
|
|
1332
|
+
color: var(--color--primary-soft--ink);
|
|
1333
|
+
}
|
|
1246
1334
|
> .Pill:last-child {
|
|
1335
|
+
flex: none;
|
|
1247
1336
|
margin-left: 0.5em;
|
|
1248
|
-
vertical-align: middle;
|
|
1249
1337
|
}
|
|
1250
1338
|
}
|
|
1251
1339
|
.button--micro,
|
|
@@ -1298,14 +1386,9 @@ button {
|
|
|
1298
1386
|
.button--large {
|
|
1299
1387
|
font-size: 1.2em;
|
|
1300
1388
|
}
|
|
1301
|
-
.button--ellipsis {
|
|
1302
|
-
overflow: hidden;
|
|
1303
|
-
text-overflow: ellipsis;
|
|
1304
|
-
}
|
|
1305
1389
|
.button--expand {
|
|
1306
|
-
display:
|
|
1390
|
+
display: flex;
|
|
1307
1391
|
width: 100%;
|
|
1308
|
-
text-align: center;
|
|
1309
1392
|
}
|
|
1310
1393
|
.button--expand-on-mobile {
|
|
1311
1394
|
width: 100%;
|
|
@@ -1314,6 +1397,28 @@ button {
|
|
|
1314
1397
|
width: auto;
|
|
1315
1398
|
}
|
|
1316
1399
|
}
|
|
1400
|
+
/* A soft toggle that is on has the recipe of a selected row: the solid
|
|
1401
|
+
recipe would make it look like the primary action. The rule comes after
|
|
1402
|
+
the states of the soft tone, thus a focused toggle keeps it: the focus
|
|
1403
|
+
stays on the button after the click. The border is an inset shadow, thus
|
|
1404
|
+
the size of the button does not change. */
|
|
1405
|
+
.button--soft[aria-pressed="true"] {
|
|
1406
|
+
--button-pressed-border: inset 0 0 0 1px var(--color--selected--border);
|
|
1407
|
+
|
|
1408
|
+
color: var(--color--selected--ink);
|
|
1409
|
+
background-color: var(--color--selected--surface);
|
|
1410
|
+
box-shadow: var(--button-pressed-border);
|
|
1411
|
+
|
|
1412
|
+
svg {
|
|
1413
|
+
color: var(--color--selected--ink);
|
|
1414
|
+
}
|
|
1415
|
+
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover {
|
|
1416
|
+
background-color: var(--color--selected--surface-hover);
|
|
1417
|
+
}
|
|
1418
|
+
&:focus-visible {
|
|
1419
|
+
box-shadow: var(--button-pressed-border), var(--focus-ring);
|
|
1420
|
+
}
|
|
1421
|
+
}
|
|
1317
1422
|
.button--primary {
|
|
1318
1423
|
color: var(--color--primary--ink);
|
|
1319
1424
|
background-color: var(--color--primary--surface);
|
|
@@ -1335,27 +1440,29 @@ button {
|
|
|
1335
1440
|
}
|
|
1336
1441
|
|
|
1337
1442
|
svg {
|
|
1338
|
-
|
|
1443
|
+
color: var(--color--primary--ink);
|
|
1339
1444
|
}
|
|
1340
1445
|
}
|
|
1341
1446
|
.button--accent-color {
|
|
1342
1447
|
svg {
|
|
1343
|
-
|
|
1448
|
+
color: var(--color--ink);
|
|
1344
1449
|
}
|
|
1345
1450
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover {
|
|
1346
1451
|
color: var(--color--ink-link);
|
|
1347
1452
|
|
|
1348
1453
|
svg {
|
|
1349
|
-
|
|
1454
|
+
color: var(--color--ink-link);
|
|
1350
1455
|
}
|
|
1351
1456
|
}
|
|
1352
1457
|
}
|
|
1458
|
+
/* A block that paints its own ground sets --button-overlay-ink to the ink of
|
|
1459
|
+
that ground (see _NavigationBar.css) */
|
|
1353
1460
|
.button--rev {
|
|
1354
|
-
color: var(--color--overlay--ink);
|
|
1461
|
+
color: var(--button-overlay-ink, var(--color--overlay--ink));
|
|
1355
1462
|
background: var(--color--overlay--surface);
|
|
1356
1463
|
|
|
1357
1464
|
svg {
|
|
1358
|
-
|
|
1465
|
+
color: var(--button-overlay-ink, var(--color--overlay--ink));
|
|
1359
1466
|
}
|
|
1360
1467
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover {
|
|
1361
1468
|
background: var(--color--overlay--surface-hover);
|
|
@@ -1371,7 +1478,7 @@ button {
|
|
|
1371
1478
|
border-width: 0;
|
|
1372
1479
|
|
|
1373
1480
|
svg {
|
|
1374
|
-
|
|
1481
|
+
color: var(--color--primary-inverse--ink);
|
|
1375
1482
|
}
|
|
1376
1483
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover,
|
|
1377
1484
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):focus {
|
|
@@ -1387,7 +1494,7 @@ button {
|
|
|
1387
1494
|
border-width: 0;
|
|
1388
1495
|
|
|
1389
1496
|
svg {
|
|
1390
|
-
|
|
1497
|
+
color: var(--color--danger--ink);
|
|
1391
1498
|
}
|
|
1392
1499
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover,
|
|
1393
1500
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):focus,
|
|
@@ -1396,7 +1503,7 @@ button {
|
|
|
1396
1503
|
background-color: var(--color--danger--surface);
|
|
1397
1504
|
|
|
1398
1505
|
svg {
|
|
1399
|
-
|
|
1506
|
+
color: var(--color--danger--ink);
|
|
1400
1507
|
}
|
|
1401
1508
|
}
|
|
1402
1509
|
}
|
|
@@ -1408,7 +1515,7 @@ button {
|
|
|
1408
1515
|
color: var(--color--ink);
|
|
1409
1516
|
|
|
1410
1517
|
svg {
|
|
1411
|
-
|
|
1518
|
+
color: var(--color--ink);
|
|
1412
1519
|
}
|
|
1413
1520
|
}
|
|
1414
1521
|
}
|
|
@@ -1416,7 +1523,7 @@ button {
|
|
|
1416
1523
|
color: var(--color--ink-subtle);
|
|
1417
1524
|
|
|
1418
1525
|
svg {
|
|
1419
|
-
|
|
1526
|
+
color: var(--color--ink-subtle);
|
|
1420
1527
|
}
|
|
1421
1528
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover,
|
|
1422
1529
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):focus,
|
|
@@ -1432,7 +1539,8 @@ button {
|
|
|
1432
1539
|
Do not write the states again in the block:
|
|
1433
1540
|
--button-ghost-ink the text and the icon at rest
|
|
1434
1541
|
--button-ghost-hover-ink the text and the icon on hover and focus
|
|
1435
|
-
--button-ghost-hover-surface the surface on hover and focus
|
|
1542
|
+
--button-ghost-hover-surface the surface on hover and focus, and while
|
|
1543
|
+
the button is pressed or its menu is open
|
|
1436
1544
|
--button-ghost-active-surface the surface while the pointer is down
|
|
1437
1545
|
--button-ghost-pressed-ink the text and the icon while the button is
|
|
1438
1546
|
pressed or its menu is open */
|
|
@@ -1446,7 +1554,7 @@ button {
|
|
|
1446
1554
|
transition: background-color 0.2s var(--material-ease);
|
|
1447
1555
|
|
|
1448
1556
|
svg {
|
|
1449
|
-
|
|
1557
|
+
color: var(--button-ghost-ink, var(--color--ink-subtle));
|
|
1450
1558
|
}
|
|
1451
1559
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):focus {
|
|
1452
1560
|
background-color: transparent;
|
|
@@ -1461,7 +1569,7 @@ button {
|
|
|
1461
1569
|
);
|
|
1462
1570
|
|
|
1463
1571
|
svg {
|
|
1464
|
-
|
|
1572
|
+
color: var(--button-ghost-hover-ink, var(--color--ink));
|
|
1465
1573
|
}
|
|
1466
1574
|
}
|
|
1467
1575
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):active {
|
|
@@ -1470,12 +1578,18 @@ button {
|
|
|
1470
1578
|
var(--button-ghost-hover-surface, var(--color--surface-hover))
|
|
1471
1579
|
);
|
|
1472
1580
|
}
|
|
1581
|
+
/* The hover surface stays while the button is on. The ink alone does not
|
|
1582
|
+
show the state in the dark scheme: the link ink is near the subtle ink. */
|
|
1473
1583
|
&[aria-pressed="true"],
|
|
1474
1584
|
&[aria-expanded="true"] {
|
|
1475
1585
|
color: var(--button-ghost-pressed-ink, var(--color--ink-link));
|
|
1586
|
+
background-color: var(
|
|
1587
|
+
--button-ghost-hover-surface,
|
|
1588
|
+
var(--color--surface-hover)
|
|
1589
|
+
);
|
|
1476
1590
|
|
|
1477
1591
|
svg {
|
|
1478
|
-
|
|
1592
|
+
color: var(--button-ghost-pressed-ink, var(--color--ink-link));
|
|
1479
1593
|
}
|
|
1480
1594
|
}
|
|
1481
1595
|
}
|
|
@@ -1488,8 +1602,8 @@ button {
|
|
|
1488
1602
|
--button-ghost-hover-surface: var(--color--danger-soft--surface);
|
|
1489
1603
|
}
|
|
1490
1604
|
/* A ghost button in a line of text or in a row of values: a value that the
|
|
1491
|
-
click changes or copies (see TextualTrigger.tsx, CopyableId.tsx and
|
|
1492
|
-
".
|
|
1605
|
+
click changes or copies (see TextualTrigger.tsx, CopyableId.tsx and
|
|
1606
|
+
"_InfoList.css"). Use it alone, without ".button". It is different from
|
|
1493
1607
|
".button--ghost" in two points. It keeps the ink of the text around it,
|
|
1494
1608
|
because it is a value, not a secondary action. And it keeps the place of
|
|
1495
1609
|
the text: the surface is a pseudo-element out of the box, so the value
|
|
@@ -1522,6 +1636,7 @@ button {
|
|
|
1522
1636
|
the surface behind the buttons shows through it, thus it is correct for
|
|
1523
1637
|
each type of button. */
|
|
1524
1638
|
gap: 1px;
|
|
1639
|
+
max-width: 100%;
|
|
1525
1640
|
|
|
1526
1641
|
/* The caret is in the root element of its Dropdown */
|
|
1527
1642
|
& > * {
|
|
@@ -1540,6 +1655,11 @@ button {
|
|
|
1540
1655
|
.button--sub {
|
|
1541
1656
|
border-radius: 0;
|
|
1542
1657
|
}
|
|
1658
|
+
/* A long label of the main half gets the ellipsis, thus the caret stays in
|
|
1659
|
+
the container. */
|
|
1660
|
+
.button--container > .button--sub {
|
|
1661
|
+
min-width: 0;
|
|
1662
|
+
}
|
|
1543
1663
|
/* A disabled button keeps the colors of its variant and fades, thus a
|
|
1544
1664
|
disabled primary button still reads as the primary action. The rules of
|
|
1545
1665
|
the variants show the hover only on an enabled button (see ":--enabled"),
|
|
@@ -1583,7 +1703,7 @@ button {
|
|
|
1583
1703
|
two classes. Thus they have more priority than a rule of a container that
|
|
1584
1704
|
sets the size or the color of all its icons.
|
|
1585
1705
|
|
|
1586
|
-
Do not set the
|
|
1706
|
+
Do not set the color of a chevron out of this file: set --chevron-color.
|
|
1587
1707
|
A colored surface (a button, a pill, the navigation bar) sets it to
|
|
1588
1708
|
currentColor: the chevron then has the color of the text in all the
|
|
1589
1709
|
states. A control that is not a button or a link sets it to
|
|
@@ -1592,12 +1712,14 @@ button {
|
|
|
1592
1712
|
.Chevron:is(.Chevron--disclosure, .Chevron--menu, .Chevron--load-more) {
|
|
1593
1713
|
display: inline-block;
|
|
1594
1714
|
flex: none;
|
|
1595
|
-
|
|
1596
|
-
|
|
1715
|
+
/* A Lucide chevron fills only the middle of its box, thus the box is larger
|
|
1716
|
+
than the text, as in shadcn/ui (16px next to a text of 14px) */
|
|
1717
|
+
width: max(14px, 1.125em);
|
|
1718
|
+
height: max(14px, 1.125em);
|
|
1597
1719
|
vertical-align: middle;
|
|
1598
|
-
|
|
1720
|
+
color: var(--chevron-color, var(--color--ink-subtle));
|
|
1599
1721
|
transition:
|
|
1600
|
-
|
|
1722
|
+
color 0.2s var(--material-ease),
|
|
1601
1723
|
transform 0.2s var(--material-ease);
|
|
1602
1724
|
}
|
|
1603
1725
|
|
|
@@ -1609,7 +1731,7 @@ button {
|
|
|
1609
1731
|
.Chevron:is(.Chevron--disclosure, .Chevron--menu, .Chevron--load-more),
|
|
1610
1732
|
:is(button, [role="button"])[aria-expanded="true"] .Chevron.Chevron--menu,
|
|
1611
1733
|
.SelectInput__control.is-open .Chevron.Chevron--menu {
|
|
1612
|
-
|
|
1734
|
+
color: var(--chevron-color, var(--color--ink));
|
|
1613
1735
|
}
|
|
1614
1736
|
|
|
1615
1737
|
/* The chevron reads the state of its control: aria-expanded, :disabled,
|
|
@@ -1617,7 +1739,7 @@ button {
|
|
|
1617
1739
|
classes tell the state. */
|
|
1618
1740
|
:is(:disabled, [aria-disabled="true"], .SelectInput__control.is-disabled)
|
|
1619
1741
|
.Chevron:is(.Chevron--disclosure, .Chevron--menu, .Chevron--load-more) {
|
|
1620
|
-
|
|
1742
|
+
color: var(--chevron-color, var(--color--ink-disabled));
|
|
1621
1743
|
}
|
|
1622
1744
|
|
|
1623
1745
|
/* The spinner is larger than the box of the chevron: it goes out of the box
|
|
@@ -1627,14 +1749,15 @@ button {
|
|
|
1627
1749
|
align-items: center;
|
|
1628
1750
|
justify-content: center;
|
|
1629
1751
|
}
|
|
1630
|
-
/* The actions
|
|
1631
|
-
|
|
1752
|
+
/* The message and the actions are in the same cell of the grid, one on the
|
|
1753
|
+
other. Thus the slot gets the height of the taller one: actions that wrap
|
|
1754
|
+
on two lines make the slot taller and do not go out of it. The actions
|
|
1755
|
+
also show when the menu of an action is open (.Dropdown.is-open). */
|
|
1632
1756
|
.EmptySlot {
|
|
1633
|
-
position: relative;
|
|
1634
1757
|
box-sizing: border-box;
|
|
1635
|
-
display:
|
|
1636
|
-
|
|
1637
|
-
|
|
1758
|
+
display: grid;
|
|
1759
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1760
|
+
place-items: center;
|
|
1638
1761
|
width: 100%;
|
|
1639
1762
|
min-height: calc(4 * var(--space-unit));
|
|
1640
1763
|
padding: 0 var(--spacing-m);
|
|
@@ -1659,18 +1782,22 @@ button.EmptySlot {
|
|
|
1659
1782
|
box-shadow: var(--focus-ring);
|
|
1660
1783
|
}
|
|
1661
1784
|
}
|
|
1785
|
+
.EmptySlot > * {
|
|
1786
|
+
grid-area: 1 / 1;
|
|
1787
|
+
}
|
|
1662
1788
|
.EmptySlot__message {
|
|
1663
1789
|
font-size: var(--font-size-m);
|
|
1664
1790
|
color: var(--color--ink-subtle);
|
|
1665
1791
|
transition: opacity 0.15s ease-out;
|
|
1666
1792
|
}
|
|
1667
1793
|
.EmptySlot__actions {
|
|
1668
|
-
position: absolute;
|
|
1669
|
-
inset: 0;
|
|
1670
1794
|
display: flex;
|
|
1795
|
+
flex-wrap: wrap;
|
|
1671
1796
|
gap: var(--spacing-s);
|
|
1672
1797
|
align-items: center;
|
|
1673
1798
|
justify-content: center;
|
|
1799
|
+
max-width: 100%;
|
|
1800
|
+
padding-block: var(--spacing-s);
|
|
1674
1801
|
opacity: 0;
|
|
1675
1802
|
transition: opacity 0.15s ease-out;
|
|
1676
1803
|
|
|
@@ -1772,6 +1899,7 @@ button.EmptySlot {
|
|
|
1772
1899
|
background-color: var(--color--surface-raised);
|
|
1773
1900
|
border: 1px solid var(--color--border);
|
|
1774
1901
|
border-radius: var(--radius-s);
|
|
1902
|
+
box-shadow: var(--shadow--resting);
|
|
1775
1903
|
}
|
|
1776
1904
|
.TableList__row {
|
|
1777
1905
|
position: relative;
|
|
@@ -1932,6 +2060,7 @@ button.EmptySlot {
|
|
|
1932
2060
|
background-color: var(--color--surface-raised);
|
|
1933
2061
|
border: 1px solid var(--color--border);
|
|
1934
2062
|
border-radius: var(--radius-s);
|
|
2063
|
+
box-shadow: var(--shadow--resting);
|
|
1935
2064
|
}
|
|
1936
2065
|
|
|
1937
2066
|
.CardList__header {
|
|
@@ -1971,24 +2100,38 @@ button.EmptySlot {
|
|
|
1971
2100
|
width: 1rem;
|
|
1972
2101
|
|
|
1973
2102
|
svg {
|
|
1974
|
-
|
|
2103
|
+
color: var(--color--ink-subtle);
|
|
1975
2104
|
}
|
|
1976
2105
|
}
|
|
1977
|
-
|
|
2106
|
+
/* The parts of the header and the trailing part of a row share the width
|
|
2107
|
+
in equal parts, and a part that needs less gives the rest to the others
|
|
2108
|
+
(see .EntityRow__title). Thus a short title stays whole next to a long
|
|
2109
|
+
API key, and no part becomes 0px wide. */
|
|
2110
|
+
:is(.CardList__title, .CardList__aside, .CardList__trailing) {
|
|
2111
|
+
flex: 1 1 0;
|
|
1978
2112
|
min-width: 0;
|
|
2113
|
+
max-width: max-content;
|
|
2114
|
+
}
|
|
2115
|
+
.CardList__title {
|
|
1979
2116
|
overflow: hidden;
|
|
1980
2117
|
text-overflow: ellipsis;
|
|
1981
|
-
font-weight:
|
|
2118
|
+
font-weight: var(--font-weight-strong);
|
|
1982
2119
|
white-space: nowrap;
|
|
1983
2120
|
}
|
|
1984
2121
|
.CardList__aside {
|
|
1985
|
-
|
|
2122
|
+
overflow: hidden;
|
|
2123
|
+
text-overflow: ellipsis;
|
|
1986
2124
|
color: var(--color--ink-subtle);
|
|
2125
|
+
white-space: nowrap;
|
|
1987
2126
|
}
|
|
2127
|
+
/* The pills of the part share its width as the parts of an EntityRow
|
|
2128
|
+
title. The gap is the gap of the header or of the row. */
|
|
1988
2129
|
.CardList__trailing {
|
|
1989
|
-
display:
|
|
1990
|
-
|
|
1991
|
-
|
|
2130
|
+
display: grid;
|
|
2131
|
+
grid-auto-columns: minmax(0, max-content);
|
|
2132
|
+
grid-auto-flow: column;
|
|
2133
|
+
gap: inherit;
|
|
2134
|
+
align-items: center;
|
|
1992
2135
|
margin-left: auto;
|
|
1993
2136
|
}
|
|
1994
2137
|
|
|
@@ -2044,6 +2187,18 @@ button.EmptySlot {
|
|
|
2044
2187
|
background: var(--color--surface-hover);
|
|
2045
2188
|
}
|
|
2046
2189
|
}
|
|
2190
|
+
/* In a list to read, the value of a row can be far from its title: the
|
|
2191
|
+
hover helps the eye to follow the row. The cursor does not change,
|
|
2192
|
+
because the row does not open. */
|
|
2193
|
+
.CardList--actions-always > .CardList__items
|
|
2194
|
+
> .CardList__item
|
|
2195
|
+
> .CardList__row {
|
|
2196
|
+
@media (hover: hover) {
|
|
2197
|
+
&:hover {
|
|
2198
|
+
background: var(--color--surface-hover);
|
|
2199
|
+
}
|
|
2200
|
+
}
|
|
2201
|
+
}
|
|
2047
2202
|
/* The rows on the corners of the card get the corners of the card on their
|
|
2048
2203
|
hover */
|
|
2049
2204
|
.CardList__items:first-child > .CardList__item:first-child > .CardList__row {
|
|
@@ -2243,7 +2398,7 @@ button.EmptySlot {
|
|
|
2243
2398
|
display: block;
|
|
2244
2399
|
width: 1em;
|
|
2245
2400
|
height: 1em;
|
|
2246
|
-
|
|
2401
|
+
color: var(--color--ink-subtle);
|
|
2247
2402
|
}
|
|
2248
2403
|
.InsertGap:is([data-near],
|
|
2249
2404
|
:hover,
|
|
@@ -2257,7 +2412,7 @@ button.EmptySlot {
|
|
|
2257
2412
|
background-color: var(--color--primary-soft--surface);
|
|
2258
2413
|
|
|
2259
2414
|
svg {
|
|
2260
|
-
|
|
2415
|
+
color: var(--color--primary-soft--ink);
|
|
2261
2416
|
}
|
|
2262
2417
|
}
|
|
2263
2418
|
.InsertGap__bar:focus-visible & {
|
|
@@ -2310,10 +2465,19 @@ button.EmptySlot {
|
|
|
2310
2465
|
--InsertGap-on: 1;
|
|
2311
2466
|
}
|
|
2312
2467
|
}
|
|
2468
|
+
/* A key has no spaces, thus a long key does not wrap: it ends with an
|
|
2469
|
+
ellipsis at the edge of its place. "clip" does not make a scroll
|
|
2470
|
+
container, thus the key stays on the baseline of the text around it. */
|
|
2313
2471
|
.ApiKey {
|
|
2472
|
+
display: inline-block;
|
|
2473
|
+
min-width: 0;
|
|
2474
|
+
max-width: 100%;
|
|
2475
|
+
overflow: clip;
|
|
2476
|
+
text-overflow: ellipsis;
|
|
2314
2477
|
font-family: var(--monospaced-font-family);
|
|
2315
2478
|
font-size: var(--font-size-xs);
|
|
2316
2479
|
color: var(--color--ink-subtle);
|
|
2480
|
+
white-space: nowrap;
|
|
2317
2481
|
}
|
|
2318
2482
|
.form {
|
|
2319
2483
|
fieldset {
|
|
@@ -2355,11 +2519,13 @@ button.EmptySlot {
|
|
|
2355
2519
|
.form__label__icon {
|
|
2356
2520
|
display: inline-block;
|
|
2357
2521
|
margin-left: var(--spacing-s);
|
|
2358
|
-
|
|
2522
|
+
/* The same alignment as the buttons in the label (FieldValidations of the
|
|
2523
|
+
cms), thus the icons are on one line */
|
|
2524
|
+
vertical-align: middle;
|
|
2359
2525
|
|
|
2360
2526
|
svg {
|
|
2361
2527
|
display: block;
|
|
2362
|
-
|
|
2528
|
+
color: var(--color--ink-subtle);
|
|
2363
2529
|
}
|
|
2364
2530
|
}
|
|
2365
2531
|
.form__label__info {
|
|
@@ -2385,7 +2551,8 @@ button.EmptySlot {
|
|
|
2385
2551
|
}
|
|
2386
2552
|
}
|
|
2387
2553
|
|
|
2388
|
-
|
|
2554
|
+
&:focus-within,
|
|
2555
|
+
&:has([aria-expanded="true"]) {
|
|
2389
2556
|
opacity: 1;
|
|
2390
2557
|
}
|
|
2391
2558
|
}
|
|
@@ -2394,8 +2561,11 @@ button.EmptySlot {
|
|
|
2394
2561
|
between the fields uses it to keep the rhythm of the form. */
|
|
2395
2562
|
--form-field-gap: var(--spacing-l);
|
|
2396
2563
|
}
|
|
2564
|
+
/* In a flex row or in a grid, the field is never wider than its place, also
|
|
2565
|
+
when its input holds a long value without spaces */
|
|
2397
2566
|
.form__field {
|
|
2398
2567
|
position: relative;
|
|
2568
|
+
min-width: 0;
|
|
2399
2569
|
margin-bottom: var(--form-field-gap);
|
|
2400
2570
|
scroll-margin-top: var(--spacing-xxxl);
|
|
2401
2571
|
|
|
@@ -2406,13 +2576,13 @@ button.EmptySlot {
|
|
|
2406
2576
|
width: 100%;
|
|
2407
2577
|
}
|
|
2408
2578
|
}
|
|
2409
|
-
/* A field around a switch has no label above the switch, thus the hint
|
|
2410
|
-
the error start under the label of the switch. `Field` of the apps also
|
|
2579
|
+
/* A field around a switch has no label above the switch, thus the hint, the
|
|
2580
|
+
status and the error start under the label of the switch. `Field` of the apps also
|
|
2411
2581
|
adds the class, because its input can wrap the switch in another element.
|
|
2412
2582
|
`:where` keeps the specificity of the class, thus `SwitchList` can reset
|
|
2413
2583
|
the margin. */
|
|
2414
2584
|
:is(.form__field--switch, .form__field:where(:has(> .SwitchInput)))
|
|
2415
|
-
:is(.form__hint, .form__error) {
|
|
2585
|
+
:is(.form__hint, .form__status, .form__error) {
|
|
2416
2586
|
margin-left: calc(var(--switch-width) + var(--switch-gap));
|
|
2417
2587
|
}
|
|
2418
2588
|
.form__field--less-margin {
|
|
@@ -2535,7 +2705,6 @@ textarea:focus {
|
|
|
2535
2705
|
line-height: 1.2;
|
|
2536
2706
|
color: var(--color--danger-soft--ink);
|
|
2537
2707
|
|
|
2538
|
-
/* token-audit-disable-next-line cross-context -- special case, does not make sense to add a semantic token */
|
|
2539
2708
|
&::before {
|
|
2540
2709
|
display: inline-block;
|
|
2541
2710
|
width: 8px;
|
|
@@ -2571,7 +2740,7 @@ textarea:focus {
|
|
|
2571
2740
|
display: inline-block;
|
|
2572
2741
|
margin-right: 0.5em;
|
|
2573
2742
|
vertical-align: middle;
|
|
2574
|
-
|
|
2743
|
+
color: var(--color--ink-link);
|
|
2575
2744
|
}
|
|
2576
2745
|
}
|
|
2577
2746
|
.form__hint__warning {
|
|
@@ -2585,12 +2754,65 @@ textarea:focus {
|
|
|
2585
2754
|
display: inline-block;
|
|
2586
2755
|
margin-right: 0.5em;
|
|
2587
2756
|
vertical-align: middle;
|
|
2588
|
-
|
|
2757
|
+
color: var(--color--warning-soft--ink);
|
|
2758
|
+
}
|
|
2759
|
+
}
|
|
2760
|
+
/* A note about a valid value, in the place of the hint (see the status of
|
|
2761
|
+
FieldWrapper) */
|
|
2762
|
+
.form__status {
|
|
2763
|
+
display: flex;
|
|
2764
|
+
gap: var(--spacing-s);
|
|
2765
|
+
/* The icon is on the baseline of the first line, also when the text wraps */
|
|
2766
|
+
align-items: baseline;
|
|
2767
|
+
margin-top: var(--spacing-s);
|
|
2768
|
+
font-size: var(--font-size-m);
|
|
2769
|
+
line-height: 1.4;
|
|
2770
|
+
}
|
|
2771
|
+
.form__status--warning {
|
|
2772
|
+
color: var(--color--ink-warning);
|
|
2773
|
+
}
|
|
2774
|
+
.form__status__icon {
|
|
2775
|
+
/* A box with the height of the capitals, on the baseline. The icon is at
|
|
2776
|
+
the center of the box, thus at the center of the capitals. Layout
|
|
2777
|
+
containment puts the baseline of the box at its bottom. */
|
|
2778
|
+
display: flex;
|
|
2779
|
+
flex-shrink: 0;
|
|
2780
|
+
align-items: center;
|
|
2781
|
+
height: 1cap;
|
|
2782
|
+
contain: layout;
|
|
2783
|
+
|
|
2784
|
+
svg {
|
|
2785
|
+
width: 1.1em;
|
|
2786
|
+
height: 1.1em;
|
|
2589
2787
|
}
|
|
2590
2788
|
}
|
|
2789
|
+
/* The fix of the problem, after the text. The short text before the pill
|
|
2790
|
+
and the pill stay on one line. The space before it is the space between
|
|
2791
|
+
two words. */
|
|
2792
|
+
.form__status__fix {
|
|
2793
|
+
display: inline-flex;
|
|
2794
|
+
gap: var(--spacing-s);
|
|
2795
|
+
align-items: center;
|
|
2796
|
+
margin-left: 0.3em;
|
|
2797
|
+
white-space: nowrap;
|
|
2798
|
+
}
|
|
2799
|
+
.form__status__swatch {
|
|
2800
|
+
display: inline-block;
|
|
2801
|
+
flex: none;
|
|
2802
|
+
width: 0.9em;
|
|
2803
|
+
height: 0.9em;
|
|
2804
|
+
background: var(--form-status-swatch);
|
|
2805
|
+
/* A rounded square, as the swatches of ColorInput */
|
|
2806
|
+
border-radius: var(--radius-xs);
|
|
2807
|
+
/* A translucent hairline. It is visible only when the color is near the
|
|
2808
|
+
color of the surface. */
|
|
2809
|
+
/* token-audit-disable-next-line color-mix -- a translucent hairline around the swatch */
|
|
2810
|
+
box-shadow: inset 0 0 0 1px
|
|
2811
|
+
color-mix(in oklch, var(--color--ink) 15%, transparent);
|
|
2812
|
+
}
|
|
2591
2813
|
.form__input--large.form__input--large {
|
|
2592
2814
|
font-size: 1.2em;
|
|
2593
|
-
font-weight:
|
|
2815
|
+
font-weight: var(--font-weight-strong);
|
|
2594
2816
|
}
|
|
2595
2817
|
.form__input--small {
|
|
2596
2818
|
font-size: var(--font-size-xs);
|
|
@@ -2642,6 +2864,7 @@ textarea:focus {
|
|
|
2642
2864
|
width: 100%;
|
|
2643
2865
|
border: 1px solid var(--color--border);
|
|
2644
2866
|
border-radius: var(--radius-s);
|
|
2867
|
+
box-shadow: var(--shadow--resting);
|
|
2645
2868
|
transition: border-color 0.1s ease-in-out;
|
|
2646
2869
|
|
|
2647
2870
|
.FramedImage__button:hover & {
|
|
@@ -2887,7 +3110,7 @@ textarea:focus {
|
|
|
2887
3110
|
> * {
|
|
2888
3111
|
flex-shrink: 0;
|
|
2889
3112
|
font-size: var(--font-size-xl);
|
|
2890
|
-
font-weight:
|
|
3113
|
+
font-weight: var(--font-weight-strong);
|
|
2891
3114
|
}
|
|
2892
3115
|
}
|
|
2893
3116
|
.Page__content__section__text {
|
|
@@ -2899,7 +3122,7 @@ textarea:focus {
|
|
|
2899
3122
|
}
|
|
2900
3123
|
|
|
2901
3124
|
& a {
|
|
2902
|
-
font-weight:
|
|
3125
|
+
font-weight: var(--font-weight-strong);
|
|
2903
3126
|
color: var(--color--ink-link);
|
|
2904
3127
|
}
|
|
2905
3128
|
}
|
|
@@ -2936,6 +3159,7 @@ textarea:focus {
|
|
|
2936
3159
|
background-color: var(--color--surface-raised);
|
|
2937
3160
|
border: 1px solid var(--color--border);
|
|
2938
3161
|
border-radius: var(--radius-s);
|
|
3162
|
+
box-shadow: var(--shadow--resting);
|
|
2939
3163
|
|
|
2940
3164
|
@media (max-width: 479px) {
|
|
2941
3165
|
--Page__group-padding: var(--spacing-m);
|
|
@@ -2975,21 +3199,27 @@ textarea:focus {
|
|
|
2975
3199
|
--Page__group-tint: var(--color--warning-soft--surface);
|
|
2976
3200
|
--Page__group-outline: var(--color--warning-soft--outline);
|
|
2977
3201
|
}
|
|
2978
|
-
/* The content before a group can have no margin under it (a CardList
|
|
2979
|
-
margins collapse, thus between two groups the space stays
|
|
3202
|
+
/* The content before a group can have no margin under it (a CardList or a
|
|
3203
|
+
switch). The margins collapse, thus between two groups the space stays
|
|
3204
|
+
the same. */
|
|
2980
3205
|
.Page__content > * + .Page__group,
|
|
2981
|
-
.Page__content > * + :has(> .Page__group:first-child)
|
|
3206
|
+
.Page__content > * + :has(> .Page__group:first-child),
|
|
3207
|
+
.Page__content__section > * + .Page__group {
|
|
2982
3208
|
margin-top: var(--spacing-l);
|
|
2983
3209
|
}
|
|
2984
3210
|
/* A form can be around one group (the group is its last child), thus only
|
|
2985
|
-
the last group of the content loses the space under it */
|
|
3211
|
+
the last group of the content or of a section loses the space under it */
|
|
2986
3212
|
.Page__content > .Page__group:last-child,
|
|
2987
|
-
.Page__content > :last-child > .Page__group:last-child
|
|
3213
|
+
.Page__content > :last-child > .Page__group:last-child,
|
|
3214
|
+
.Page__content__section > .Page__group:last-child {
|
|
2988
3215
|
margin-bottom: 0;
|
|
2989
3216
|
}
|
|
3217
|
+
/* When the title and the actions do not fit on one line, the actions go
|
|
3218
|
+
under the title. The title never shrinks under them. */
|
|
2990
3219
|
.Page__group__header {
|
|
2991
3220
|
display: flex;
|
|
2992
|
-
|
|
3221
|
+
flex-wrap: wrap;
|
|
3222
|
+
gap: var(--spacing-s) var(--spacing-m);
|
|
2993
3223
|
align-items: center;
|
|
2994
3224
|
justify-content: space-between;
|
|
2995
3225
|
padding: var(--spacing-m) var(--Page__group-padding);
|
|
@@ -3000,13 +3230,38 @@ textarea:focus {
|
|
|
3000
3230
|
border-bottom: 0;
|
|
3001
3231
|
}
|
|
3002
3232
|
}
|
|
3233
|
+
/* The whole strip opens and closes the group, not only the title: the
|
|
3234
|
+
toggle stretches over the header, and the actions stay above it. */
|
|
3235
|
+
.Page__group__header--collapsible {
|
|
3236
|
+
position: relative;
|
|
3237
|
+
|
|
3238
|
+
.Page__collapseToggle:not(:disabled)::after {
|
|
3239
|
+
position: absolute;
|
|
3240
|
+
inset: 0;
|
|
3241
|
+
content: "";
|
|
3242
|
+
}
|
|
3243
|
+
|
|
3244
|
+
.Page__group__actions {
|
|
3245
|
+
position: relative;
|
|
3246
|
+
z-index: 1;
|
|
3247
|
+
}
|
|
3248
|
+
}
|
|
3003
3249
|
.Page__group__title {
|
|
3004
|
-
flex: 1;
|
|
3250
|
+
flex: 1 1 auto;
|
|
3005
3251
|
min-width: 0;
|
|
3006
3252
|
margin: 0;
|
|
3007
3253
|
font-size: var(--font-size-l);
|
|
3008
|
-
font-weight:
|
|
3254
|
+
font-weight: var(--font-weight-strong);
|
|
3009
3255
|
line-height: 1.2;
|
|
3256
|
+
/* A word longer than the line (a German compound) breaks in its box */
|
|
3257
|
+
overflow-wrap: anywhere;
|
|
3258
|
+
}
|
|
3259
|
+
.Page__group__count {
|
|
3260
|
+
margin-left: var(--spacing-s);
|
|
3261
|
+
font-weight: var(--font-weight-regular);
|
|
3262
|
+
color: var(--color--ink-subtle);
|
|
3263
|
+
/* The title breaks anywhere, but the number stays whole */
|
|
3264
|
+
white-space: nowrap;
|
|
3010
3265
|
}
|
|
3011
3266
|
.Page__group__actions {
|
|
3012
3267
|
display: flex;
|
|
@@ -3033,9 +3288,11 @@ textarea:focus {
|
|
|
3033
3288
|
margin-bottom: 0;
|
|
3034
3289
|
}
|
|
3035
3290
|
|
|
3291
|
+
/* The group carries the shadow */
|
|
3036
3292
|
& > .Table .Table__content {
|
|
3037
3293
|
border: 0;
|
|
3038
3294
|
border-radius: 0 0 var(--radius-s) var(--radius-s);
|
|
3295
|
+
box-shadow: none;
|
|
3039
3296
|
}
|
|
3040
3297
|
|
|
3041
3298
|
/* The border of the card is the side border of the CardList. A line
|
|
@@ -3048,6 +3305,8 @@ textarea:focus {
|
|
|
3048
3305
|
overflow: clip;
|
|
3049
3306
|
border-inline: 0;
|
|
3050
3307
|
border-radius: 0;
|
|
3308
|
+
/* The group carries the shadow */
|
|
3309
|
+
box-shadow: none;
|
|
3051
3310
|
|
|
3052
3311
|
&:first-child {
|
|
3053
3312
|
border-top: 0;
|
|
@@ -3189,7 +3448,6 @@ textarea:focus {
|
|
|
3189
3448
|
.Modal__content__inner {
|
|
3190
3449
|
position: relative;
|
|
3191
3450
|
flex: 1;
|
|
3192
|
-
padding-top: 1px;
|
|
3193
3451
|
background: var(--color--surface);
|
|
3194
3452
|
border-radius: var(--radius-m) var(--radius-m) 0 0;
|
|
3195
3453
|
box-shadow: var(--shadow--lifted);
|
|
@@ -3198,21 +3456,15 @@ textarea:focus {
|
|
|
3198
3456
|
a scroll container, thus the sticky elements in the panel still work. */
|
|
3199
3457
|
.Modal--fullscreen & {
|
|
3200
3458
|
overflow: clip;
|
|
3459
|
+
border-top: 1px solid var(--color--border-raised);
|
|
3201
3460
|
}
|
|
3202
3461
|
|
|
3203
3462
|
.Modal--dialog & {
|
|
3204
3463
|
display: flow-root;
|
|
3205
|
-
padding-top: 0;
|
|
3206
3464
|
background: var(--color--surface-raised);
|
|
3207
|
-
border: 1px solid var(--color--border);
|
|
3465
|
+
border: 1px solid var(--color--border-raised);
|
|
3208
3466
|
border-radius: var(--radius-m);
|
|
3209
3467
|
}
|
|
3210
|
-
|
|
3211
|
-
/* In dark mode, the shadow has its own light edge. A visible border makes
|
|
3212
|
-
a double edge. The transparent border keeps the size of the dialog. */
|
|
3213
|
-
[data-color-scheme="dark"] .Modal--dialog & {
|
|
3214
|
-
border-color: transparent;
|
|
3215
|
-
}
|
|
3216
3468
|
}
|
|
3217
3469
|
/* The header is a toolbar (see "_Toolbar.css"), thus the title looks the
|
|
3218
3470
|
same as the titles of the other toolbars. The padding moves the content of
|
|
@@ -3408,7 +3660,7 @@ button.Toolbar__tab {
|
|
|
3408
3660
|
cursor: grab;
|
|
3409
3661
|
|
|
3410
3662
|
svg {
|
|
3411
|
-
|
|
3663
|
+
color: var(--color--ink-subtle);
|
|
3412
3664
|
}
|
|
3413
3665
|
|
|
3414
3666
|
@media (hover: hover) {
|
|
@@ -3589,6 +3841,7 @@ button.Toolbar__tab {
|
|
|
3589
3841
|
color: var(--color--ink);
|
|
3590
3842
|
white-space: nowrap;
|
|
3591
3843
|
background-color: var(--color--surface-raised);
|
|
3844
|
+
border: 1px solid var(--color--border-raised);
|
|
3592
3845
|
border-radius: var(--radius-full);
|
|
3593
3846
|
box-shadow: var(--shadow--floating);
|
|
3594
3847
|
}
|
|
@@ -3677,7 +3930,7 @@ button.Toolbar__tab {
|
|
|
3677
3930
|
cursor: grabbing;
|
|
3678
3931
|
background-color: var(--color--surface-raised);
|
|
3679
3932
|
box-shadow:
|
|
3680
|
-
inset 0 0 0 1px var(--color--border-
|
|
3933
|
+
inset 0 0 0 1px var(--color--border-raised),
|
|
3681
3934
|
var(--shadow--lifted);
|
|
3682
3935
|
}
|
|
3683
3936
|
}
|
|
@@ -3693,7 +3946,7 @@ button.Toolbar__tab {
|
|
|
3693
3946
|
background-color: var(--color--selected--surface);
|
|
3694
3947
|
|
|
3695
3948
|
& .SidebarTree__node__name {
|
|
3696
|
-
font-weight:
|
|
3949
|
+
font-weight: var(--font-weight-strong);
|
|
3697
3950
|
color: var(--color--selected--ink);
|
|
3698
3951
|
}
|
|
3699
3952
|
& .SidebarTree__node__text {
|
|
@@ -3702,7 +3955,7 @@ button.Toolbar__tab {
|
|
|
3702
3955
|
}
|
|
3703
3956
|
& .SidebarTree__node__icon svg,
|
|
3704
3957
|
& .SidebarTree__node__actions .button:not(:hover, :focus-visible) svg {
|
|
3705
|
-
|
|
3958
|
+
color: var(--color--selected--ink);
|
|
3706
3959
|
}
|
|
3707
3960
|
|
|
3708
3961
|
&:hover {
|
|
@@ -3720,7 +3973,7 @@ button.Toolbar__tab {
|
|
|
3720
3973
|
cursor: inherit;
|
|
3721
3974
|
|
|
3722
3975
|
svg {
|
|
3723
|
-
|
|
3976
|
+
color: var(--color--ink-subtle);
|
|
3724
3977
|
}
|
|
3725
3978
|
}
|
|
3726
3979
|
/* The link or button of the row. Its "::after" covers all the row, thus a
|
|
@@ -3833,7 +4086,7 @@ span.SidebarTree__node__toggle {
|
|
|
3833
4086
|
|
|
3834
4087
|
/* The subtle ink, as every other grip (see .DragHandle) */
|
|
3835
4088
|
svg {
|
|
3836
|
-
|
|
4089
|
+
color: var(--color--ink-subtle);
|
|
3837
4090
|
}
|
|
3838
4091
|
}
|
|
3839
4092
|
.SidebarTree__node--editing {
|
|
@@ -3886,7 +4139,7 @@ span.SidebarTree__node__toggle {
|
|
|
3886
4139
|
/* The title stays the name of the list, thus the qualifier has the color and
|
|
3887
4140
|
the weight of a subtitle */
|
|
3888
4141
|
.ListPresets__qualifier {
|
|
3889
|
-
font-weight:
|
|
4142
|
+
font-weight: var(--font-weight-regular);
|
|
3890
4143
|
color: var(--color--ink-subtle);
|
|
3891
4144
|
}
|
|
3892
4145
|
|
|
@@ -3991,6 +4244,7 @@ span.SidebarTree__node__toggle {
|
|
|
3991
4244
|
}
|
|
3992
4245
|
|
|
3993
4246
|
text {
|
|
4247
|
+
font-weight: var(--font-weight-strong);
|
|
3994
4248
|
fill: var(--Avatar-ink);
|
|
3995
4249
|
}
|
|
3996
4250
|
}
|
|
@@ -4011,84 +4265,120 @@ span.SidebarTree__node__toggle {
|
|
|
4011
4265
|
margin: auto;
|
|
4012
4266
|
color: var(--color--ink-subtle);
|
|
4013
4267
|
}
|
|
4014
|
-
.Avatar__initials--muted
|
|
4268
|
+
.Avatar__initials--muted,
|
|
4269
|
+
.Avatar__icon--muted {
|
|
4015
4270
|
--Avatar-surface: var(--color--surface-muted);
|
|
4016
4271
|
--Avatar-ink: var(--color--ink-subtle);
|
|
4017
4272
|
}
|
|
4273
|
+
/* The size is a variable, thus the box of the caller (the image of an
|
|
4274
|
+
EntityRow) can give the square another size. */
|
|
4275
|
+
.Avatar__icon {
|
|
4276
|
+
position: relative;
|
|
4277
|
+
display: inline-block;
|
|
4278
|
+
flex: none;
|
|
4279
|
+
width: var(--Avatar-icon-size);
|
|
4280
|
+
height: var(--Avatar-icon-size);
|
|
4281
|
+
background-color: var(--Avatar-surface);
|
|
4282
|
+
border-radius: var(--radius-s);
|
|
4283
|
+
|
|
4284
|
+
/* The icon is centered with the margins, not with flex: the box of the
|
|
4285
|
+
caller can set the display of the square (the image of an EntityRow
|
|
4286
|
+
makes it a block), and the icon stays at the center. */
|
|
4287
|
+
/* The icon fills 55% of a large square. In a small square (20px in a
|
|
4288
|
+
menu or in a line of text) 55% is too small to read, thus the icon
|
|
4289
|
+
gets at least 14px and keeps a 3px margin on each side. */
|
|
4290
|
+
svg {
|
|
4291
|
+
--Avatar-glyph-size: min(
|
|
4292
|
+
calc(var(--Avatar-icon-size) - 6px),
|
|
4293
|
+
max(55%, 14px)
|
|
4294
|
+
);
|
|
4295
|
+
|
|
4296
|
+
position: absolute;
|
|
4297
|
+
inset: 0;
|
|
4298
|
+
width: var(--Avatar-glyph-size);
|
|
4299
|
+
height: var(--Avatar-glyph-size);
|
|
4300
|
+
margin: auto;
|
|
4301
|
+
color: var(--Avatar-ink);
|
|
4302
|
+
}
|
|
4303
|
+
}
|
|
4304
|
+
.Avatar__icon--primary {
|
|
4305
|
+
--Avatar-surface: var(--color--primary-soft--surface);
|
|
4306
|
+
--Avatar-ink: var(--color--primary-soft--ink);
|
|
4307
|
+
}
|
|
4018
4308
|
/* The hues of the initials. They are local to the avatar, not semantic
|
|
4019
4309
|
tokens. The values are the same as the field group chips. Light mode has
|
|
4020
4310
|
a pale surface and a saturated ink. Dark mode has a deep surface and a
|
|
4021
4311
|
light ink. */
|
|
4022
4312
|
.Avatar__initials--hue-1 {
|
|
4023
|
-
--Avatar-surface: #
|
|
4024
|
-
--Avatar-ink: #
|
|
4313
|
+
--Avatar-surface: #f8f1cf;
|
|
4314
|
+
--Avatar-ink: #796501;
|
|
4025
4315
|
|
|
4026
4316
|
[data-color-scheme="dark"] & {
|
|
4027
|
-
--Avatar-surface: #
|
|
4028
|
-
--Avatar-ink: #
|
|
4317
|
+
--Avatar-surface: #292101;
|
|
4318
|
+
--Avatar-ink: #d4b625;
|
|
4029
4319
|
}
|
|
4030
4320
|
}
|
|
4031
4321
|
.Avatar__initials--hue-2 {
|
|
4032
|
-
--Avatar-surface: #
|
|
4033
|
-
--Avatar-ink: #
|
|
4322
|
+
--Avatar-surface: #dcf9e0;
|
|
4323
|
+
--Avatar-ink: #01781a;
|
|
4034
4324
|
|
|
4035
4325
|
[data-color-scheme="dark"] & {
|
|
4036
|
-
--Avatar-surface: #
|
|
4037
|
-
--Avatar-ink: #
|
|
4326
|
+
--Avatar-surface: #002b05;
|
|
4327
|
+
--Avatar-ink: #68d077;
|
|
4038
4328
|
}
|
|
4039
4329
|
}
|
|
4040
4330
|
.Avatar__initials--hue-3 {
|
|
4041
|
-
--Avatar-surface: #
|
|
4042
|
-
--Avatar-ink: #
|
|
4331
|
+
--Avatar-surface: #e0f5f3;
|
|
4332
|
+
--Avatar-ink: #02736c;
|
|
4043
4333
|
|
|
4044
4334
|
[data-color-scheme="dark"] & {
|
|
4045
|
-
--Avatar-surface: #
|
|
4046
|
-
--Avatar-ink: #
|
|
4335
|
+
--Avatar-surface: #012826;
|
|
4336
|
+
--Avatar-ink: #60cac3;
|
|
4047
4337
|
}
|
|
4048
4338
|
}
|
|
4049
4339
|
.Avatar__initials--hue-4 {
|
|
4050
|
-
--Avatar-surface: #
|
|
4051
|
-
--Avatar-ink: #
|
|
4340
|
+
--Avatar-surface: #e5f2ff;
|
|
4341
|
+
--Avatar-ink: #2d68ab;
|
|
4052
4342
|
|
|
4053
4343
|
[data-color-scheme="dark"] & {
|
|
4054
|
-
--Avatar-surface: #
|
|
4055
|
-
--Avatar-ink: #
|
|
4344
|
+
--Avatar-surface: #052046;
|
|
4345
|
+
--Avatar-ink: #85bafb;
|
|
4056
4346
|
}
|
|
4057
4347
|
}
|
|
4058
4348
|
.Avatar__initials--hue-5 {
|
|
4059
|
-
--Avatar-surface: #
|
|
4060
|
-
--Avatar-ink: #
|
|
4349
|
+
--Avatar-surface: #eeeefe;
|
|
4350
|
+
--Avatar-ink: #585db6;
|
|
4061
4351
|
|
|
4062
4352
|
[data-color-scheme="dark"] & {
|
|
4063
|
-
--Avatar-surface: #
|
|
4064
|
-
--Avatar-ink: #
|
|
4353
|
+
--Avatar-surface: #191b48;
|
|
4354
|
+
--Avatar-ink: #aeaffe;
|
|
4065
4355
|
}
|
|
4066
4356
|
}
|
|
4067
4357
|
.Avatar__initials--hue-6 {
|
|
4068
|
-
--Avatar-surface: #
|
|
4069
|
-
--Avatar-ink: #
|
|
4358
|
+
--Avatar-surface: #fceee0;
|
|
4359
|
+
--Avatar-ink: #a15002;
|
|
4070
4360
|
|
|
4071
4361
|
[data-color-scheme="dark"] & {
|
|
4072
|
-
--Avatar-surface: #
|
|
4073
|
-
--Avatar-ink: #
|
|
4362
|
+
--Avatar-surface: #341a00;
|
|
4363
|
+
--Avatar-ink: #e7ab5c;
|
|
4074
4364
|
}
|
|
4075
4365
|
}
|
|
4076
4366
|
.Avatar__initials--hue-7 {
|
|
4077
|
-
--Avatar-surface: #
|
|
4078
|
-
--Avatar-ink: #
|
|
4367
|
+
--Avatar-surface: #ffebe9;
|
|
4368
|
+
--Avatar-ink: #c42719;
|
|
4079
4369
|
|
|
4080
4370
|
[data-color-scheme="dark"] & {
|
|
4081
|
-
--Avatar-surface: #
|
|
4082
|
-
--Avatar-ink: #
|
|
4371
|
+
--Avatar-surface: #400d08;
|
|
4372
|
+
--Avatar-ink: #eda29c;
|
|
4083
4373
|
}
|
|
4084
4374
|
}
|
|
4085
4375
|
.Avatar__initials--hue-8 {
|
|
4086
|
-
--Avatar-surface: #
|
|
4087
|
-
--Avatar-ink: #
|
|
4376
|
+
--Avatar-surface: #fde8ff;
|
|
4377
|
+
--Avatar-ink: #95459d;
|
|
4088
4378
|
|
|
4089
4379
|
[data-color-scheme="dark"] & {
|
|
4090
|
-
--Avatar-surface: #
|
|
4091
|
-
--Avatar-ink: #
|
|
4380
|
+
--Avatar-surface: #350b3d;
|
|
4381
|
+
--Avatar-ink: #df9ee7;
|
|
4092
4382
|
}
|
|
4093
4383
|
}
|
|
4094
4384
|
.Avatar--small {
|
|
@@ -4108,6 +4398,9 @@ span.SidebarTree__node__toggle {
|
|
|
4108
4398
|
/* token-audit-disable-next-line mismatch -- ring matches the page surface to separate stacked avatars */
|
|
4109
4399
|
border: var(--Avatar-ring) solid var(--color--surface);
|
|
4110
4400
|
}
|
|
4401
|
+
.Avatar--xlarge {
|
|
4402
|
+
--Avatar-size: 48px;
|
|
4403
|
+
}
|
|
4111
4404
|
/* One look for all the sizes: the outline covers the ring of the regular and
|
|
4112
4405
|
the large avatars, and goes around the small avatar, which has no ring. */
|
|
4113
4406
|
.Avatar.is-active {
|
|
@@ -4195,10 +4488,10 @@ span.SidebarTree__node__toggle {
|
|
|
4195
4488
|
}
|
|
4196
4489
|
}
|
|
4197
4490
|
.SwitchInput__checkbox:checked + .SwitchInput__switch {
|
|
4198
|
-
background-color: var(--color--
|
|
4491
|
+
background-color: var(--color--control-on--surface);
|
|
4199
4492
|
|
|
4200
4493
|
&:hover {
|
|
4201
|
-
background-color: var(--color--
|
|
4494
|
+
background-color: var(--color--control-on--surface-hover);
|
|
4202
4495
|
}
|
|
4203
4496
|
}
|
|
4204
4497
|
|
|
@@ -4206,7 +4499,7 @@ span.SidebarTree__node__toggle {
|
|
|
4206
4499
|
/* token-audit-disable-next-line color-mix -- extremely specific behaviour.. it's ok not to have a token for this */
|
|
4207
4500
|
background-color: color-mix(
|
|
4208
4501
|
in oklch,
|
|
4209
|
-
var(--color--
|
|
4502
|
+
var(--color--control-on--surface) 40%,
|
|
4210
4503
|
transparent
|
|
4211
4504
|
);
|
|
4212
4505
|
|
|
@@ -4214,7 +4507,7 @@ span.SidebarTree__node__toggle {
|
|
|
4214
4507
|
/* token-audit-disable-next-line color-mix -- extremely specific behaviour.. it's ok not to have a token for this */
|
|
4215
4508
|
background-color: color-mix(
|
|
4216
4509
|
in oklch,
|
|
4217
|
-
var(--color--
|
|
4510
|
+
var(--color--control-on--surface) 55%,
|
|
4218
4511
|
transparent
|
|
4219
4512
|
);
|
|
4220
4513
|
}
|
|
@@ -4268,7 +4561,7 @@ span.SidebarTree__node__toggle {
|
|
|
4268
4561
|
}
|
|
4269
4562
|
.SwitchInput__checkbox:checked + .SwitchInput__switch--read-only {
|
|
4270
4563
|
&:hover {
|
|
4271
|
-
background-color: var(--color--
|
|
4564
|
+
background-color: var(--color--control-on--surface);
|
|
4272
4565
|
}
|
|
4273
4566
|
&:active::after {
|
|
4274
4567
|
transform: translateX(18px);
|
|
@@ -4311,9 +4604,11 @@ span.SidebarTree__node__toggle {
|
|
|
4311
4604
|
background-color: var(--color--surface-hover);
|
|
4312
4605
|
}
|
|
4313
4606
|
|
|
4607
|
+
/* The hint and the error stay in the column of the label: the switch
|
|
4608
|
+
column is empty under the switch */
|
|
4314
4609
|
.form__hint,
|
|
4315
4610
|
.form__error {
|
|
4316
|
-
margin-
|
|
4611
|
+
margin-inline: 0 calc(var(--switch-width) + var(--switch-gap));
|
|
4317
4612
|
}
|
|
4318
4613
|
|
|
4319
4614
|
/* The switch makes the row taller than the label, thus the hint needs no
|
|
@@ -4331,10 +4626,11 @@ span.SidebarTree__node__toggle {
|
|
|
4331
4626
|
}
|
|
4332
4627
|
.SwitchInput--row {
|
|
4333
4628
|
position: static;
|
|
4334
|
-
gap: var(--
|
|
4629
|
+
gap: var(--switch-gap);
|
|
4335
4630
|
|
|
4336
4631
|
.SwitchInput__label {
|
|
4337
4632
|
position: static;
|
|
4633
|
+
flex: 1 1 auto;
|
|
4338
4634
|
min-width: 0;
|
|
4339
4635
|
margin-left: 0;
|
|
4340
4636
|
line-height: inherit;
|
|
@@ -4354,56 +4650,182 @@ span.SidebarTree__node__toggle {
|
|
|
4354
4650
|
.SwitchList :is(.SwitchInput__reason, .form__hint) a {
|
|
4355
4651
|
position: relative;
|
|
4356
4652
|
}
|
|
4653
|
+
/* The reason is at the end of the line of the label, because the label
|
|
4654
|
+
grows. When the two do not fit on one line, the reason wraps under the
|
|
4655
|
+
label: the width of the row decides, not the width of the window. */
|
|
4656
|
+
.SwitchInput__text {
|
|
4657
|
+
display: flex;
|
|
4658
|
+
flex: 1;
|
|
4659
|
+
flex-wrap: wrap;
|
|
4660
|
+
column-gap: var(--switch-gap);
|
|
4661
|
+
align-items: baseline;
|
|
4662
|
+
min-width: 0;
|
|
4663
|
+
}
|
|
4357
4664
|
.SwitchInput__reason {
|
|
4358
|
-
flex:
|
|
4665
|
+
flex: 0 1 auto;
|
|
4359
4666
|
color: var(--color--ink-subtle);
|
|
4360
|
-
text-align: right;
|
|
4361
4667
|
}
|
|
4362
|
-
/*
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4668
|
+
/* The row also has the "RowList__item" class, so it looks like a row of a
|
|
4669
|
+
RowList. The indent of the level is the left padding of the row, so the
|
|
4670
|
+
indent is in the box of the row, and all the boxes have the same width.
|
|
4671
|
+
The tree is not a RowList, thus the rows give the insets and the gaps. */
|
|
4672
|
+
.TreeRow {
|
|
4673
|
+
margin: var(--row-gap) var(--row-inset) 0;
|
|
4674
|
+
|
|
4675
|
+
&:first-child {
|
|
4676
|
+
margin-top: var(--row-inset);
|
|
4366
4677
|
}
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
order: 1;
|
|
4370
|
-
text-align: left;
|
|
4678
|
+
&:last-child {
|
|
4679
|
+
margin-bottom: var(--row-inset);
|
|
4371
4680
|
}
|
|
4372
4681
|
}
|
|
4373
|
-
/*
|
|
4374
|
-
|
|
4375
|
-
.
|
|
4682
|
+
/* The same as the toggle column of the sidebar trees (see
|
|
4683
|
+
_SidebarTree.css): the icon is at the center of a column of 1rem that
|
|
4684
|
+
starts at "--spacing-m" from the edge of the list. The space between the
|
|
4685
|
+
edge of the row and the icon is in the column too, thus the user can click
|
|
4686
|
+
or drag there. The column has a fixed width, so the content of rows at the
|
|
4687
|
+
same level stays aligned. */
|
|
4688
|
+
.TreeRow__handle {
|
|
4376
4689
|
display: flex;
|
|
4377
|
-
flex:
|
|
4378
|
-
gap: var(--spacing-m);
|
|
4690
|
+
flex-shrink: 0;
|
|
4379
4691
|
align-items: center;
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
/* The minimum height is the height of the image: an entity on one line has
|
|
4384
|
-
the same height with and without an image (chips that are side by side) */
|
|
4385
|
-
.EntityRow--inline {
|
|
4386
|
-
/* The width and the height of the image: 20px on one line, 32px in a row
|
|
4387
|
-
(layout="row") */
|
|
4388
|
-
--EntityRow-image-size: 20px;
|
|
4692
|
+
align-self: stretch;
|
|
4693
|
+
justify-content: center;
|
|
4694
|
+
width: calc(1rem + var(--spacing-m) - var(--row-inset));
|
|
4389
4695
|
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
}
|
|
4393
|
-
.EntityRow--row {
|
|
4394
|
-
--EntityRow-image-size: 32px;
|
|
4696
|
+
.RowList__item--selected & svg {
|
|
4697
|
+
color: var(--color--selected--ink);
|
|
4698
|
+
}
|
|
4395
4699
|
}
|
|
4396
|
-
.
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4700
|
+
/* It fills all the column, so the area for a click or a drag is large. The
|
|
4701
|
+
icon is at the center of the 1rem after the left padding, thus a chevron
|
|
4702
|
+
and a grip have the same center. */
|
|
4703
|
+
.TreeRow__drag-handle {
|
|
4704
|
+
box-sizing: border-box;
|
|
4705
|
+
display: flex;
|
|
4706
|
+
flex: 1;
|
|
4707
|
+
align-items: center;
|
|
4708
|
+
align-self: stretch;
|
|
4709
|
+
justify-content: center;
|
|
4710
|
+
padding-left: calc(var(--spacing-m) - var(--row-inset));
|
|
4711
|
+
color: inherit;
|
|
4402
4712
|
|
|
4403
|
-
|
|
4713
|
+
svg {
|
|
4404
4714
|
display: block;
|
|
4405
|
-
|
|
4406
|
-
|
|
4715
|
+
}
|
|
4716
|
+
}
|
|
4717
|
+
.TreeRow__drag-handle--disabled {
|
|
4718
|
+
cursor: not-allowed;
|
|
4719
|
+
|
|
4720
|
+
svg {
|
|
4721
|
+
color: var(--color--ink-disabled);
|
|
4722
|
+
}
|
|
4723
|
+
}
|
|
4724
|
+
/* Without an image, the icon is in line with the first line of the title,
|
|
4725
|
+
not at the center of the row: the row also has the status below the
|
|
4726
|
+
title. The first track of the grid has the height of a line of the title
|
|
4727
|
+
(the line height of .EntityRow), and the icon is at its center. */
|
|
4728
|
+
.TreeRow:not(:has(.EntityRow__image)) .TreeRow__drag-handle {
|
|
4729
|
+
display: grid;
|
|
4730
|
+
grid-template-rows: calc(1.2 * 1em);
|
|
4731
|
+
align-content: start;
|
|
4732
|
+
align-items: center;
|
|
4733
|
+
justify-content: center;
|
|
4734
|
+
padding-top: var(--RowList-content-padding);
|
|
4735
|
+
}
|
|
4736
|
+
.TreeRow__inner {
|
|
4737
|
+
display: block;
|
|
4738
|
+
flex: 1;
|
|
4739
|
+
min-width: 200px;
|
|
4740
|
+
overflow: hidden;
|
|
4741
|
+
text-decoration: none;
|
|
4742
|
+
}
|
|
4743
|
+
/* TreeRow.Action: the button fills the row, and its first span is the
|
|
4744
|
+
column of the handle. A control that is not a link of the row sets the
|
|
4745
|
+
color of its text and of the chevron on hover (see _Chevron.css). */
|
|
4746
|
+
.TreeRow__action {
|
|
4747
|
+
display: flex;
|
|
4748
|
+
flex: 1;
|
|
4749
|
+
min-width: 0;
|
|
4750
|
+
color: var(--color--ink-subtle);
|
|
4751
|
+
border-radius: var(--row-radius);
|
|
4752
|
+
|
|
4753
|
+
&:hover,
|
|
4754
|
+
&:focus-visible {
|
|
4755
|
+
color: var(--color--ink);
|
|
4756
|
+
}
|
|
4757
|
+
}
|
|
4758
|
+
.RowList__item:has(> .TreeRow__action:focus-visible) {
|
|
4759
|
+
background-color: var(--color--surface-hover);
|
|
4760
|
+
}
|
|
4761
|
+
.TreeRow__action__label {
|
|
4762
|
+
flex: 1;
|
|
4763
|
+
min-width: 0;
|
|
4764
|
+
padding: var(--RowList-content-padding);
|
|
4765
|
+
line-height: 1.3;
|
|
4766
|
+
}
|
|
4767
|
+
.ItemStatus {
|
|
4768
|
+
display: inline-flex;
|
|
4769
|
+
flex: none;
|
|
4770
|
+
gap: 0.3em;
|
|
4771
|
+
align-items: center;
|
|
4772
|
+
}
|
|
4773
|
+
.ItemStatus__dot {
|
|
4774
|
+
display: block;
|
|
4775
|
+
flex: none;
|
|
4776
|
+
width: 0.7em;
|
|
4777
|
+
height: 0.7em;
|
|
4778
|
+
}
|
|
4779
|
+
.ItemStatus__dot--published {
|
|
4780
|
+
color: var(--color--status-published--ink);
|
|
4781
|
+
}
|
|
4782
|
+
.ItemStatus__dot--outdated {
|
|
4783
|
+
color: var(--color--status-outdated--ink);
|
|
4784
|
+
}
|
|
4785
|
+
.ItemStatus__dot--draft {
|
|
4786
|
+
color: var(--color--status-draft--ink);
|
|
4787
|
+
}
|
|
4788
|
+
/* See EntityRow.tsx. It has no surface and no hover: the container gives
|
|
4789
|
+
them. */
|
|
4790
|
+
.EntityRow {
|
|
4791
|
+
display: flex;
|
|
4792
|
+
flex: 1 1 auto;
|
|
4793
|
+
gap: var(--spacing-m);
|
|
4794
|
+
align-items: center;
|
|
4795
|
+
min-width: 0;
|
|
4796
|
+
line-height: 1.2;
|
|
4797
|
+
}
|
|
4798
|
+
/* The minimum height is the height of the image: an entity on one line has
|
|
4799
|
+
the same height with and without an image (chips that are side by side) */
|
|
4800
|
+
.EntityRow--inline {
|
|
4801
|
+
/* The width and the height of the image: 20px on one line, 32px in a row
|
|
4802
|
+
(layout="row") */
|
|
4803
|
+
--EntityRow-image-size: 20px;
|
|
4804
|
+
|
|
4805
|
+
gap: var(--spacing-s);
|
|
4806
|
+
min-height: var(--EntityRow-image-size);
|
|
4807
|
+
}
|
|
4808
|
+
.EntityRow--row {
|
|
4809
|
+
--EntityRow-image-size: 32px;
|
|
4810
|
+
}
|
|
4811
|
+
.EntityRow__image {
|
|
4812
|
+
display: block;
|
|
4813
|
+
flex: none;
|
|
4814
|
+
width: var(--EntityRow-image-size);
|
|
4815
|
+
height: var(--EntityRow-image-size);
|
|
4816
|
+
overflow: hidden;
|
|
4817
|
+
|
|
4818
|
+
> * {
|
|
4819
|
+
display: block;
|
|
4820
|
+
width: 100%;
|
|
4821
|
+
height: 100%;
|
|
4822
|
+
}
|
|
4823
|
+
|
|
4824
|
+
/* The rule above has the specificity of .UploadPreview, thus without this
|
|
4825
|
+
rule the import order of the two blocks decides if the asset is in the
|
|
4826
|
+
center. Keep the display of .UploadPreview (_UploadPreview.css). */
|
|
4827
|
+
> .UploadPreview {
|
|
4828
|
+
display: flex;
|
|
4407
4829
|
}
|
|
4408
4830
|
}
|
|
4409
4831
|
.EntityRow--inline .EntityRow__image {
|
|
@@ -4416,6 +4838,10 @@ span.SidebarTree__node__toggle {
|
|
|
4416
4838
|
display: flex;
|
|
4417
4839
|
flex: 1 1 auto;
|
|
4418
4840
|
flex-direction: column;
|
|
4841
|
+
|
|
4842
|
+
/* A thin gap between the kicker, the title and the details: the lines do
|
|
4843
|
+
not touch, and the three stay one block. --spacing-s is too much. */
|
|
4844
|
+
gap: 2px;
|
|
4419
4845
|
min-width: 0;
|
|
4420
4846
|
}
|
|
4421
4847
|
/* For a record, the kicker is the model. It starts the line, thus a model
|
|
@@ -4429,7 +4855,13 @@ span.SidebarTree__node__toggle {
|
|
|
4429
4855
|
white-space: nowrap;
|
|
4430
4856
|
}
|
|
4431
4857
|
.EntityRow__title {
|
|
4432
|
-
|
|
4858
|
+
/* Each part of the line (the title, a pill, the aside) gets an equal
|
|
4859
|
+
share of the width, and a part that needs less gives the rest to the
|
|
4860
|
+
others. Thus a short title stays whole next to long pills, and no part
|
|
4861
|
+
becomes 0px wide: the long parts end with an ellipsis. */
|
|
4862
|
+
display: grid;
|
|
4863
|
+
grid-auto-columns: minmax(0, max-content);
|
|
4864
|
+
grid-auto-flow: column;
|
|
4433
4865
|
gap: var(--spacing-s);
|
|
4434
4866
|
align-items: center;
|
|
4435
4867
|
min-width: 0;
|
|
@@ -4440,8 +4872,6 @@ span.SidebarTree__node__toggle {
|
|
|
4440
4872
|
}
|
|
4441
4873
|
}
|
|
4442
4874
|
.EntityRow__title__text {
|
|
4443
|
-
flex: 0 1 auto;
|
|
4444
|
-
min-width: 0;
|
|
4445
4875
|
overflow: hidden;
|
|
4446
4876
|
text-overflow: ellipsis;
|
|
4447
4877
|
white-space: nowrap;
|
|
@@ -4453,7 +4883,8 @@ span.SidebarTree__node__toggle {
|
|
|
4453
4883
|
white-space: normal;
|
|
4454
4884
|
}
|
|
4455
4885
|
.EntityRow__aside {
|
|
4456
|
-
|
|
4886
|
+
overflow: hidden;
|
|
4887
|
+
text-overflow: ellipsis;
|
|
4457
4888
|
font-size: var(--font-size-xs);
|
|
4458
4889
|
color: var(--color--ink-subtle);
|
|
4459
4890
|
white-space: nowrap;
|
|
@@ -4471,6 +4902,26 @@ span.SidebarTree__node__toggle {
|
|
|
4471
4902
|
display: none;
|
|
4472
4903
|
}
|
|
4473
4904
|
}
|
|
4905
|
+
/* See RecordRow/Image.tsx. Its container gives the size of the square. */
|
|
4906
|
+
.RecordRow__image {
|
|
4907
|
+
width: 100%;
|
|
4908
|
+
height: 100%;
|
|
4909
|
+
background-repeat: no-repeat;
|
|
4910
|
+
background-position: center center;
|
|
4911
|
+
background-size: cover;
|
|
4912
|
+
}
|
|
4913
|
+
.RecordRow__image--placeholder {
|
|
4914
|
+
background-color: var(--color--surface-muted);
|
|
4915
|
+
}
|
|
4916
|
+
.RecordRow__loading {
|
|
4917
|
+
display: inline-block;
|
|
4918
|
+
width: 8em;
|
|
4919
|
+
max-width: 100%;
|
|
4920
|
+
height: 0.8em;
|
|
4921
|
+
vertical-align: middle;
|
|
4922
|
+
background-color: var(--color--surface-muted);
|
|
4923
|
+
border-radius: var(--radius-s);
|
|
4924
|
+
}
|
|
4474
4925
|
/* RowList, and NavList that renders a RowList */
|
|
4475
4926
|
.RowList {
|
|
4476
4927
|
display: flex;
|
|
@@ -4512,6 +4963,53 @@ span.SidebarTree__node__toggle {
|
|
|
4512
4963
|
overflow: hidden;
|
|
4513
4964
|
}
|
|
4514
4965
|
|
|
4966
|
+
/* The container already has an inset (a SidebarPanel). The negative margin
|
|
4967
|
+
puts the box of a row out of the content of the container, and the
|
|
4968
|
+
padding puts the image and the text back on its edge. */
|
|
4969
|
+
.RowList--compact {
|
|
4970
|
+
padding: 0;
|
|
4971
|
+
margin-inline: calc(-1 * var(--row-inset));
|
|
4972
|
+
|
|
4973
|
+
.RowList__content {
|
|
4974
|
+
padding: var(--spacing-s) var(--row-inset);
|
|
4975
|
+
}
|
|
4976
|
+
}
|
|
4977
|
+
|
|
4978
|
+
/* The actions show only when the user can use them, as the actions of a
|
|
4979
|
+
row of a Table and of an item of a CardList. At rest they take no space,
|
|
4980
|
+
thus the other content at the end of each row stays on its right edge.
|
|
4981
|
+
The buttons stay in the layout: the keyboard reaches them, and the focus
|
|
4982
|
+
shows them. */
|
|
4983
|
+
.RowList__actions {
|
|
4984
|
+
display: flex;
|
|
4985
|
+
flex: none;
|
|
4986
|
+
align-items: center;
|
|
4987
|
+
max-width: 0;
|
|
4988
|
+
overflow: hidden;
|
|
4989
|
+
opacity: 0;
|
|
4990
|
+
transition: opacity 0.1s ease-in-out;
|
|
4991
|
+
|
|
4992
|
+
/* This cancels the gap of the EntityRow before the hidden actions */
|
|
4993
|
+
:where(.EntityRow) > & {
|
|
4994
|
+
margin-inline-start: calc(-1 * var(--spacing-m));
|
|
4995
|
+
}
|
|
4996
|
+
|
|
4997
|
+
.RowList__item:is(:hover, :focus-within) &,
|
|
4998
|
+
&:has([aria-expanded="true"]),
|
|
4999
|
+
&.RowList__actions--always {
|
|
5000
|
+
max-width: none;
|
|
5001
|
+
margin-inline-start: 0;
|
|
5002
|
+
overflow: visible;
|
|
5003
|
+
opacity: 1;
|
|
5004
|
+
}
|
|
5005
|
+
@media (hover: none) {
|
|
5006
|
+
max-width: none;
|
|
5007
|
+
margin-inline-start: 0;
|
|
5008
|
+
overflow: visible;
|
|
5009
|
+
opacity: 1;
|
|
5010
|
+
}
|
|
5011
|
+
}
|
|
5012
|
+
|
|
4515
5013
|
/* A muted row is still a link, thus its text keeps 4.5:1: only the images
|
|
4516
5014
|
fade. The row keeps its surface, thus the selected state shows. */
|
|
4517
5015
|
.RowList__item--muted .RowList__content {
|
|
@@ -4543,7 +5041,7 @@ span.SidebarTree__node__toggle {
|
|
|
4543
5041
|
background-color: var(--color--primary--surface);
|
|
4544
5042
|
}
|
|
4545
5043
|
.RowList__handle svg {
|
|
4546
|
-
|
|
5044
|
+
color: var(--color--selected--ink);
|
|
4547
5045
|
}
|
|
4548
5046
|
|
|
4549
5047
|
&:hover,
|
|
@@ -4587,23 +5085,26 @@ span.SidebarTree__node__toggle {
|
|
|
4587
5085
|
width: 0.7em;
|
|
4588
5086
|
min-width: 0.7em;
|
|
4589
5087
|
}
|
|
4590
|
-
.
|
|
5088
|
+
/* The fill goes on the circle, not on the svg. A Button gives a color to
|
|
5089
|
+
each svg in it (the color of its icons), with a stronger selector. */
|
|
5090
|
+
.FeedbackDot--success > circle {
|
|
4591
5091
|
fill: var(--color--fill-success);
|
|
4592
5092
|
}
|
|
4593
|
-
.FeedbackDot--warning {
|
|
5093
|
+
.FeedbackDot--warning > circle {
|
|
4594
5094
|
fill: var(--color--fill-warning);
|
|
4595
5095
|
}
|
|
4596
|
-
.FeedbackDot--danger {
|
|
5096
|
+
.FeedbackDot--danger > circle {
|
|
4597
5097
|
fill: var(--color--fill-danger);
|
|
4598
5098
|
}
|
|
4599
|
-
.FeedbackDot--neutral {
|
|
5099
|
+
.FeedbackDot--neutral > circle {
|
|
4600
5100
|
fill: var(--color--ink-disabled);
|
|
4601
5101
|
}
|
|
4602
5102
|
.ValidityTriangle--published,
|
|
4603
5103
|
.ValidityTriangle--current,
|
|
4604
5104
|
.ValidityTriangle--threat {
|
|
4605
5105
|
vertical-align: text-top;
|
|
4606
|
-
|
|
5106
|
+
/* token-audit-disable-next-line mismatch -- the triangle is a graphic mark, and its color paints its fill */
|
|
5107
|
+
color: var(--color--fill-danger);
|
|
4607
5108
|
}
|
|
4608
5109
|
.ValidityTriangle__wrapper {
|
|
4609
5110
|
display: inline-flex;
|
|
@@ -4634,14 +5135,30 @@ span.SidebarTree__node__toggle {
|
|
|
4634
5135
|
}
|
|
4635
5136
|
}
|
|
4636
5137
|
.MediaCard {
|
|
5138
|
+
--MediaCard-border: var(--color--border);
|
|
5139
|
+
|
|
4637
5140
|
position: relative;
|
|
4638
5141
|
user-select: none;
|
|
4639
5142
|
border-radius: var(--radius-s);
|
|
4640
|
-
box-shadow:
|
|
5143
|
+
box-shadow: var(--shadow--resting);
|
|
4641
5144
|
transition: box-shadow 0.1s ease-in-out;
|
|
4642
5145
|
|
|
5146
|
+
/* The border is a layer over the content, thus the image keeps its full
|
|
5147
|
+
size. The border color is translucent: it must paint over the card, not
|
|
5148
|
+
over the page around it (a ring in the shadow does), or the card has no
|
|
5149
|
+
edge in dark mode. */
|
|
5150
|
+
&::after {
|
|
5151
|
+
position: absolute;
|
|
5152
|
+
inset: 0;
|
|
5153
|
+
z-index: 2;
|
|
5154
|
+
pointer-events: none;
|
|
5155
|
+
content: "";
|
|
5156
|
+
border: 1px solid var(--MediaCard-border);
|
|
5157
|
+
border-radius: inherit;
|
|
5158
|
+
transition: border-color 0.1s ease-in-out;
|
|
5159
|
+
}
|
|
4643
5160
|
&.is-selectable:hover {
|
|
4644
|
-
|
|
5161
|
+
--MediaCard-border: var(--color--border-hover);
|
|
4645
5162
|
}
|
|
4646
5163
|
&.is-clickable {
|
|
4647
5164
|
cursor: pointer;
|
|
@@ -4651,7 +5168,7 @@ span.SidebarTree__node__toggle {
|
|
|
4651
5168
|
|
|
4652
5169
|
&:hover,
|
|
4653
5170
|
&:focus {
|
|
4654
|
-
|
|
5171
|
+
--MediaCard-border: var(--color--border-hover);
|
|
4655
5172
|
}
|
|
4656
5173
|
}
|
|
4657
5174
|
&.is-dragging {
|
|
@@ -4659,18 +5176,18 @@ span.SidebarTree__node__toggle {
|
|
|
4659
5176
|
|
|
4660
5177
|
&:hover,
|
|
4661
5178
|
&:focus {
|
|
4662
|
-
|
|
5179
|
+
--MediaCard-border: var(--color--border);
|
|
4663
5180
|
}
|
|
4664
5181
|
}
|
|
4665
5182
|
&:has(.MediaCard__open:focus-visible) {
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
5183
|
+
--MediaCard-border: var(--color--focus--border);
|
|
5184
|
+
|
|
5185
|
+
box-shadow: var(--focus-ring);
|
|
4669
5186
|
}
|
|
4670
5187
|
/* The same ring as a selected option of a choice input */
|
|
4671
5188
|
&.is-selected,
|
|
4672
5189
|
&.is-selected:hover {
|
|
4673
|
-
|
|
5190
|
+
--MediaCard-border: var(--color--selected--border);
|
|
4674
5191
|
}
|
|
4675
5192
|
}
|
|
4676
5193
|
.MediaCard__actions {
|
|
@@ -4699,6 +5216,7 @@ span.SidebarTree__node__toggle {
|
|
|
4699
5216
|
padding: var(--spacing-s);
|
|
4700
5217
|
overflow: hidden;
|
|
4701
5218
|
background-color: var(--color--surface-raised);
|
|
5219
|
+
border: 1px solid var(--color--border-raised);
|
|
4702
5220
|
border-radius: var(--radius-m);
|
|
4703
5221
|
box-shadow: var(--shadow--floating);
|
|
4704
5222
|
}
|
|
@@ -4826,10 +5344,11 @@ span.SidebarTree__node__toggle {
|
|
|
4826
5344
|
.MediaCard__actions__inner), and it keeps the ink of a ghost button. */
|
|
4827
5345
|
.button--icon-only {
|
|
4828
5346
|
background-color: var(--color--surface-raised);
|
|
5347
|
+
border: 1px solid var(--color--border-raised);
|
|
4829
5348
|
box-shadow: var(--shadow--floating);
|
|
4830
5349
|
|
|
4831
5350
|
svg {
|
|
4832
|
-
|
|
5351
|
+
color: var(--color--ink);
|
|
4833
5352
|
}
|
|
4834
5353
|
&:hover,
|
|
4835
5354
|
&:focus-visible,
|
|
@@ -4849,6 +5368,49 @@ span.SidebarTree__node__toggle {
|
|
|
4849
5368
|
background-color: var(--color--disabled-field--surface);
|
|
4850
5369
|
}
|
|
4851
5370
|
}
|
|
5371
|
+
.UploadCard__antivirus-badge {
|
|
5372
|
+
position: absolute;
|
|
5373
|
+
top: 8px;
|
|
5374
|
+
left: 8px;
|
|
5375
|
+
z-index: 3;
|
|
5376
|
+
display: inline-flex;
|
|
5377
|
+
gap: 5px;
|
|
5378
|
+
align-items: center;
|
|
5379
|
+
padding: 5px;
|
|
5380
|
+
font-size: var(--font-size-m);
|
|
5381
|
+
color: var(--color-feedback-ink-fail);
|
|
5382
|
+
white-space: nowrap;
|
|
5383
|
+
background-color: var(--color--danger-soft--surface);
|
|
5384
|
+
border-radius: var(--radius-full);
|
|
5385
|
+
|
|
5386
|
+
svg {
|
|
5387
|
+
flex-shrink: 0;
|
|
5388
|
+
width: 0.9em;
|
|
5389
|
+
height: 0.9em;
|
|
5390
|
+
}
|
|
5391
|
+
|
|
5392
|
+
span {
|
|
5393
|
+
display: none;
|
|
5394
|
+
}
|
|
5395
|
+
|
|
5396
|
+
@container (min-width: 180px) {
|
|
5397
|
+
padding: 5px 10px;
|
|
5398
|
+
|
|
5399
|
+
span {
|
|
5400
|
+
display: inline;
|
|
5401
|
+
}
|
|
5402
|
+
}
|
|
5403
|
+
}
|
|
5404
|
+
/* The preview of an asset in a MediaCard (ui-public/MediaCard) */
|
|
5405
|
+
.MediaCard__image-preview {
|
|
5406
|
+
.UploadPreview {
|
|
5407
|
+
height: 200px;
|
|
5408
|
+
border-radius: var(--radius-s) var(--radius-s) 0 0;
|
|
5409
|
+
}
|
|
5410
|
+
}
|
|
5411
|
+
.MediaCard.is-disabled .UploadPreview {
|
|
5412
|
+
background-color: var(--color--disabled-field--surface);
|
|
5413
|
+
}
|
|
4852
5414
|
.Table {
|
|
4853
5415
|
/* The space at the sides of the text of a cell. The first and the last
|
|
4854
5416
|
cells line up with the title of the toolbar above the table. */
|
|
@@ -5047,7 +5609,7 @@ span.SidebarTree__node__toggle {
|
|
|
5047
5609
|
cursor: not-allowed;
|
|
5048
5610
|
|
|
5049
5611
|
svg {
|
|
5050
|
-
|
|
5612
|
+
color: var(--color--ink-disabled);
|
|
5051
5613
|
}
|
|
5052
5614
|
}
|
|
5053
5615
|
.Table__header {
|
|
@@ -5092,7 +5654,7 @@ span.SidebarTree__node__toggle {
|
|
|
5092
5654
|
width: max(10px, 0.75em);
|
|
5093
5655
|
height: max(10px, 0.75em);
|
|
5094
5656
|
vertical-align: middle;
|
|
5095
|
-
|
|
5657
|
+
color: var(--color--ink-subtle);
|
|
5096
5658
|
}
|
|
5097
5659
|
.Table__header-cell__cell {
|
|
5098
5660
|
flex: 1;
|
|
@@ -5104,14 +5666,13 @@ span.SidebarTree__node__toggle {
|
|
|
5104
5666
|
.Table--tree .Table__header-cell--first-real-cell & {
|
|
5105
5667
|
padding-left: 0;
|
|
5106
5668
|
}
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5669
|
+
}
|
|
5670
|
+
.Table__header-cell__sort {
|
|
5671
|
+
color: var(--color--ink-subtle);
|
|
5110
5672
|
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
}
|
|
5673
|
+
&:hover,
|
|
5674
|
+
&:focus {
|
|
5675
|
+
text-decoration: underline;
|
|
5115
5676
|
}
|
|
5116
5677
|
}
|
|
5117
5678
|
.Table__header-cell__resize {
|
|
@@ -5140,6 +5701,7 @@ span.SidebarTree__node__toggle {
|
|
|
5140
5701
|
background-color: var(--color--surface-raised);
|
|
5141
5702
|
border: 1px solid var(--color--border);
|
|
5142
5703
|
border-radius: var(--radius-s);
|
|
5704
|
+
box-shadow: var(--shadow--resting);
|
|
5143
5705
|
}
|
|
5144
5706
|
.Table--selectable {
|
|
5145
5707
|
.Table__row {
|
|
@@ -5227,12 +5789,45 @@ span.SidebarTree__node__toggle {
|
|
|
5227
5789
|
flex: none;
|
|
5228
5790
|
width: max(10px, 0.75em);
|
|
5229
5791
|
height: max(10px, 0.75em);
|
|
5230
|
-
|
|
5792
|
+
color: var(--color--ink-subtle);
|
|
5231
5793
|
}
|
|
5232
5794
|
.Table__cell--color-transparent {
|
|
5233
5795
|
opacity: 0;
|
|
5234
5796
|
}
|
|
5235
|
-
|
|
5797
|
+
.EntityCell {
|
|
5798
|
+
display: flex;
|
|
5799
|
+
align-items: center;
|
|
5800
|
+
font-size: var(--font-size-m);
|
|
5801
|
+
}
|
|
5802
|
+
.EntityCell__image {
|
|
5803
|
+
img,
|
|
5804
|
+
svg,
|
|
5805
|
+
div {
|
|
5806
|
+
flex-shrink: 0;
|
|
5807
|
+
width: 35px;
|
|
5808
|
+
height: 35px;
|
|
5809
|
+
margin-right: 20px;
|
|
5810
|
+
background-position: center center;
|
|
5811
|
+
background-size: cover;
|
|
5812
|
+
border-radius: var(--radius-s);
|
|
5813
|
+
}
|
|
5814
|
+
}
|
|
5815
|
+
.EntityCell__preview {
|
|
5816
|
+
margin-right: 20px;
|
|
5817
|
+
}
|
|
5818
|
+
/* A title with a preview image: the ellipsis goes on the title */
|
|
5819
|
+
.Table__cell__truncate .EntityCell__title {
|
|
5820
|
+
flex: 1 1 auto;
|
|
5821
|
+
min-width: 0;
|
|
5822
|
+
overflow: hidden;
|
|
5823
|
+
text-overflow: ellipsis;
|
|
5824
|
+
}
|
|
5825
|
+
/* The rule has no specificity, thus a block in the title keeps its own
|
|
5826
|
+
display. A block in an inline parent would start a new line. */
|
|
5827
|
+
:where(.Table__cell__truncate .EntityCell__title) > * {
|
|
5828
|
+
display: inline;
|
|
5829
|
+
}
|
|
5830
|
+
/* The cells of ui-public/Table/cells. A date, a status and a label with an
|
|
5236
5831
|
icon do not break on two lines. */
|
|
5237
5832
|
.TimeCell,
|
|
5238
5833
|
.StatusCell,
|
|
@@ -5277,7 +5872,7 @@ span.SidebarTree__node__toggle {
|
|
|
5277
5872
|
position: relative;
|
|
5278
5873
|
/* The right padding keeps the place of the chevron, thus the select does
|
|
5279
5874
|
not change its width on hover */
|
|
5280
|
-
padding: var(--spacing-s) calc(var(--spacing-m) +
|
|
5875
|
+
padding: var(--spacing-s) calc(var(--spacing-m) + 1.125em) var(--spacing-s)
|
|
5281
5876
|
var(--spacing-s);
|
|
5282
5877
|
margin-right: var(--spacing-l);
|
|
5283
5878
|
border: 1px solid transparent;
|
|
@@ -5319,7 +5914,16 @@ span.SidebarTree__node__toggle {
|
|
|
5319
5914
|
}
|
|
5320
5915
|
}
|
|
5321
5916
|
}
|
|
5322
|
-
/*
|
|
5917
|
+
/* The full layout with ten page numbers and the "Show" select needs about
|
|
5918
|
+
44em. In a narrower toolbar, the pagination shows fewer page numbers and
|
|
5919
|
+
no select (see Toolbar/Pagination.tsx). */
|
|
5920
|
+
@container toolbar-pagination (max-width: 45em) {
|
|
5921
|
+
.Pagination__per-page,
|
|
5922
|
+
.Pagination__button--wide-only {
|
|
5923
|
+
display: none;
|
|
5924
|
+
}
|
|
5925
|
+
}
|
|
5926
|
+
/* See InfoList/index.tsx. The list is a description list: the margins of the
|
|
5323
5927
|
browser go away. */
|
|
5324
5928
|
.InfoList {
|
|
5325
5929
|
margin: 0;
|
|
@@ -5344,23 +5948,39 @@ span.SidebarTree__node__toggle {
|
|
|
5344
5948
|
text-align: center;
|
|
5345
5949
|
}
|
|
5346
5950
|
}
|
|
5951
|
+
/* The rows have padding above and below for the hover. The negative
|
|
5952
|
+
margins keep the text of the rows on the edges of the list. */
|
|
5953
|
+
.InfoList:has(> .InfoList__row),
|
|
5954
|
+
.InfoList__group__content > dl {
|
|
5955
|
+
margin-block: -8px;
|
|
5956
|
+
}
|
|
5347
5957
|
/* The title is on the line of the first line of the value: a value on more
|
|
5348
5958
|
lines (an address, a note under it) goes down from there */
|
|
5349
5959
|
.InfoList__row {
|
|
5350
5960
|
display: grid;
|
|
5351
5961
|
grid-template-columns: fit-content(70%) minmax(0, 1fr);
|
|
5352
5962
|
align-items: baseline;
|
|
5353
|
-
padding-
|
|
5354
|
-
margin-bottom: 8px;
|
|
5963
|
+
padding-block: 8px;
|
|
5355
5964
|
line-height: 1.1;
|
|
5356
5965
|
border-bottom: 1px solid var(--color--border);
|
|
5357
5966
|
|
|
5358
5967
|
&:last-child {
|
|
5359
|
-
padding-bottom: 0;
|
|
5360
|
-
margin-bottom: 0;
|
|
5361
5968
|
border-bottom: 0;
|
|
5362
5969
|
}
|
|
5363
5970
|
}
|
|
5971
|
+
/* In a wide list (600px and more, see InfoList/index.tsx), the value is far from
|
|
5972
|
+
its title: the hover helps the eye to follow the row. The padding at the
|
|
5973
|
+
sides keeps the text away from the edges of the hover. */
|
|
5974
|
+
.InfoList--wide .InfoList__row {
|
|
5975
|
+
padding-inline: var(--spacing-s);
|
|
5976
|
+
margin-inline: calc(-1 * var(--spacing-s));
|
|
5977
|
+
|
|
5978
|
+
@media (hover: hover) {
|
|
5979
|
+
&:hover {
|
|
5980
|
+
background: var(--color--surface-hover);
|
|
5981
|
+
}
|
|
5982
|
+
}
|
|
5983
|
+
}
|
|
5364
5984
|
/* The value can get narrower than its content, so a long value (for example
|
|
5365
5985
|
an ID, see .CopyableId) gets an ellipsis and does not go out of the row */
|
|
5366
5986
|
.InfoList__row__content {
|
|
@@ -5376,21 +5996,9 @@ span.SidebarTree__node__toggle {
|
|
|
5376
5996
|
}
|
|
5377
5997
|
/* A value that opens a menu (see TextualTrigger.tsx) is a block, thus
|
|
5378
5998
|
"text-align" does not move it. The automatic margin puts it at the right,
|
|
5379
|
-
as the other values.
|
|
5380
|
-
stays on one line with an ellipsis and does not go out of the row. The text clips, not the button
|
|
5381
|
-
(the surface of the button is out of its box). */
|
|
5999
|
+
as the other values. */
|
|
5382
6000
|
.InfoList__row__content .Dropdown__textual-trigger {
|
|
5383
|
-
max-width: 100%;
|
|
5384
6001
|
margin-left: auto;
|
|
5385
|
-
|
|
5386
|
-
> span {
|
|
5387
|
-
min-width: 0;
|
|
5388
|
-
overflow: hidden;
|
|
5389
|
-
text-overflow: ellipsis;
|
|
5390
|
-
}
|
|
5391
|
-
> svg {
|
|
5392
|
-
flex: none;
|
|
5393
|
-
}
|
|
5394
6002
|
}
|
|
5395
6003
|
/* The smart tags of an asset (see UploadSmartTags.tsx): the tags go on
|
|
5396
6004
|
more lines, at the right as the other values. The title stays at the level
|
|
@@ -5410,14 +6018,41 @@ span.SidebarTree__node__toggle {
|
|
|
5410
6018
|
gap: var(--spacing-s);
|
|
5411
6019
|
align-items: center;
|
|
5412
6020
|
padding-right: 8px;
|
|
5413
|
-
font-weight:
|
|
6021
|
+
font-weight: var(--font-weight-regular);
|
|
5414
6022
|
color: var(--color--ink-subtle);
|
|
6023
|
+
/* The title wraps, thus its min-content width is small and the
|
|
6024
|
+
fit-content(70%) column of .InfoList__row can stop it at 70% */
|
|
6025
|
+
overflow-wrap: anywhere;
|
|
6026
|
+
}
|
|
6027
|
+
/* A value in a row (InfoList.Value and InfoList.User). With "is-editable"
|
|
6028
|
+
and ".button--ghost-inline" it is a button. */
|
|
6029
|
+
.InfoList__value {
|
|
6030
|
+
display: inline-flex;
|
|
6031
|
+
gap: var(--spacing-s);
|
|
6032
|
+
align-items: center;
|
|
6033
|
+
max-width: 100%;
|
|
6034
|
+
vertical-align: middle;
|
|
6035
|
+
text-align: left;
|
|
6036
|
+
text-decoration: none;
|
|
6037
|
+
cursor: default;
|
|
6038
|
+
|
|
6039
|
+
/* The hover comes from ".button--ghost-inline" */
|
|
6040
|
+
&.is-editable {
|
|
6041
|
+
cursor: pointer;
|
|
6042
|
+
}
|
|
6043
|
+
}
|
|
6044
|
+
.InfoList__value__label {
|
|
6045
|
+
min-width: 0;
|
|
6046
|
+
overflow: hidden;
|
|
6047
|
+
text-overflow: ellipsis;
|
|
5415
6048
|
white-space: nowrap;
|
|
5416
6049
|
}
|
|
5417
|
-
/* See SettingsList.tsx
|
|
6050
|
+
/* See SettingsList.tsx. The layout follows the width of the list, not of
|
|
6051
|
+
the viewport: a list in a narrow column gets the layout of a phone too. */
|
|
5418
6052
|
.SettingsList {
|
|
5419
6053
|
padding: 0;
|
|
5420
6054
|
margin: 0;
|
|
6055
|
+
container: settings-list / inline-size;
|
|
5421
6056
|
list-style: none;
|
|
5422
6057
|
}
|
|
5423
6058
|
/* On a narrow page, the value and the action go under the text and stay at
|
|
@@ -5444,7 +6079,7 @@ span.SidebarTree__node__toggle {
|
|
|
5444
6079
|
min-width: 0;
|
|
5445
6080
|
}
|
|
5446
6081
|
.SettingsList__title {
|
|
5447
|
-
font-weight:
|
|
6082
|
+
font-weight: var(--font-weight-strong);
|
|
5448
6083
|
}
|
|
5449
6084
|
.SettingsList__description {
|
|
5450
6085
|
color: var(--color--ink-subtle);
|
|
@@ -5459,23 +6094,23 @@ span.SidebarTree__node__toggle {
|
|
|
5459
6094
|
text-align: right;
|
|
5460
6095
|
white-space: nowrap;
|
|
5461
6096
|
}
|
|
6097
|
+
/* A label longer than the row gets an ellipsis from the button */
|
|
5462
6098
|
.SettingsList__action {
|
|
5463
6099
|
flex: none;
|
|
6100
|
+
max-width: 100%;
|
|
5464
6101
|
}
|
|
5465
6102
|
/* Without a value, the action goes to the right */
|
|
5466
6103
|
.SettingsList__text + .SettingsList__action {
|
|
5467
6104
|
margin-left: auto;
|
|
5468
6105
|
}
|
|
5469
|
-
/*
|
|
5470
|
-
|
|
5471
|
-
the text of a ghost button starts on the
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
grid-template-columns: minmax(0, 1fr) auto;
|
|
5476
|
-
}
|
|
6106
|
+
/* In a narrow list, the text is on a line of its own. The value is at the
|
|
6107
|
+
left, and the action at the right of the value, or under it when the two
|
|
6108
|
+
do not fit. Without a value, the text of a ghost button starts on the
|
|
6109
|
+
line of the title. Under 480px, the text, the value and the action do
|
|
6110
|
+
not fit on one line. */
|
|
6111
|
+
@container settings-list (max-width: 479px) {
|
|
5477
6112
|
.SettingsList__text {
|
|
5478
|
-
|
|
6113
|
+
flex-basis: 100%;
|
|
5479
6114
|
}
|
|
5480
6115
|
.SettingsList__value {
|
|
5481
6116
|
margin-left: 0;
|
|
@@ -5483,13 +6118,16 @@ span.SidebarTree__node__toggle {
|
|
|
5483
6118
|
overflow-wrap: anywhere;
|
|
5484
6119
|
white-space: normal;
|
|
5485
6120
|
}
|
|
6121
|
+
.SettingsList__value + .SettingsList__action {
|
|
6122
|
+
margin-left: auto;
|
|
6123
|
+
}
|
|
5486
6124
|
.SettingsList__text + .SettingsList__action {
|
|
5487
|
-
grid-column: 1;
|
|
5488
|
-
justify-self: start;
|
|
5489
6125
|
margin-left: 0;
|
|
5490
6126
|
|
|
6127
|
+
/* A negative margin makes the action narrower than the button, and the
|
|
6128
|
+
label gets an ellipsis. The translate moves only the picture. */
|
|
5491
6129
|
> :is(.button--ghost, .button--ghost-alert) {
|
|
5492
|
-
|
|
6130
|
+
translate: calc(-1 * var(--button-pad-x));
|
|
5493
6131
|
}
|
|
5494
6132
|
}
|
|
5495
6133
|
}
|
|
@@ -5552,6 +6190,10 @@ span.SidebarTree__node__toggle {
|
|
|
5552
6190
|
display: flex;
|
|
5553
6191
|
align-items: stretch;
|
|
5554
6192
|
width: fit-content;
|
|
6193
|
+
/* Long labels (a translation) shrink the options, not the container: the
|
|
6194
|
+
control stays in its container, also as a flex item */
|
|
6195
|
+
min-width: 0;
|
|
6196
|
+
max-width: 100%;
|
|
5555
6197
|
font-size: var(--font-size-m);
|
|
5556
6198
|
}
|
|
5557
6199
|
.SegmentedControl__button {
|
|
@@ -5559,6 +6201,7 @@ span.SidebarTree__node__toggle {
|
|
|
5559
6201
|
gap: 0.5em;
|
|
5560
6202
|
align-items: center;
|
|
5561
6203
|
justify-content: center;
|
|
6204
|
+
min-width: 0;
|
|
5562
6205
|
/* The size class sets the variables (see _button.css). The fallbacks are
|
|
5563
6206
|
the values of the plain ".button" ("regular" and "large"). */
|
|
5564
6207
|
padding: var(--button-pad-y, 0.7em) var(--button-pad-x, 1em);
|
|
@@ -5573,9 +6216,9 @@ span.SidebarTree__node__toggle {
|
|
|
5573
6216
|
transition: background-color 0.2s var(--material-ease);
|
|
5574
6217
|
|
|
5575
6218
|
svg {
|
|
6219
|
+
flex: none;
|
|
5576
6220
|
width: 1em;
|
|
5577
6221
|
height: 1em;
|
|
5578
|
-
fill: currentColor;
|
|
5579
6222
|
}
|
|
5580
6223
|
&:hover:not(:disabled),
|
|
5581
6224
|
&:focus-visible {
|
|
@@ -5593,13 +6236,28 @@ span.SidebarTree__node__toggle {
|
|
|
5593
6236
|
opacity: var(--disabled-opacity);
|
|
5594
6237
|
}
|
|
5595
6238
|
}
|
|
6239
|
+
/* The accessible name of the option keeps the full label */
|
|
6240
|
+
.SegmentedControl__label {
|
|
6241
|
+
overflow: hidden;
|
|
6242
|
+
text-overflow: ellipsis;
|
|
6243
|
+
}
|
|
6244
|
+
/* Each option starts from the width of its label and gets an equal part of
|
|
6245
|
+
the free space. With "flex: 1" the options are equal, thus a long label
|
|
6246
|
+
ends in "…" in a container as wide as the sum of the options (a dropdown
|
|
6247
|
+
menu), and a short label gets a wide empty box. */
|
|
5596
6248
|
.SegmentedControl--fill {
|
|
5597
6249
|
width: auto;
|
|
5598
6250
|
|
|
5599
6251
|
.SegmentedControl__button {
|
|
5600
|
-
flex:
|
|
6252
|
+
flex: auto;
|
|
5601
6253
|
}
|
|
5602
6254
|
}
|
|
6255
|
+
/* An option with only an icon is a square, as ".button--icon-only" */
|
|
6256
|
+
.SegmentedControl--icon-only .SegmentedControl__button {
|
|
6257
|
+
flex-shrink: 0;
|
|
6258
|
+
width: calc(1lh + 2 * var(--button-pad-y, 0.7em));
|
|
6259
|
+
padding-inline: 0;
|
|
6260
|
+
}
|
|
5603
6261
|
/* In a menu the options are on a raised surface */
|
|
5604
6262
|
.Dropdown__menu .SegmentedControl {
|
|
5605
6263
|
--SegmentedControl-surface-hover: var(--color--surface-raised-hover);
|
|
@@ -5617,7 +6275,11 @@ span.SidebarTree__node__toggle {
|
|
|
5617
6275
|
.SelectInput {
|
|
5618
6276
|
--SelectInput-value-margin: 2px;
|
|
5619
6277
|
--SelectInput-indicator-padding: 8px;
|
|
5620
|
-
|
|
6278
|
+
|
|
6279
|
+
/* In a flex row or in a grid, the select is never wider than its place: a
|
|
6280
|
+
long value or chip ends with an ellipsis, and the indicators stay */
|
|
6281
|
+
min-width: 0;
|
|
6282
|
+
}
|
|
5621
6283
|
.SelectInput--autosize {
|
|
5622
6284
|
display: flex;
|
|
5623
6285
|
}
|
|
@@ -5750,7 +6412,6 @@ span.SidebarTree__node__toggle {
|
|
|
5750
6412
|
display: block;
|
|
5751
6413
|
width: max(13px, 1em);
|
|
5752
6414
|
height: max(13px, 1em);
|
|
5753
|
-
fill: currentColor;
|
|
5754
6415
|
}
|
|
5755
6416
|
|
|
5756
6417
|
/* The chip of a value of a multiple select. The wrapper (see
|
|
@@ -5891,7 +6552,7 @@ span.SidebarTree__node__toggle {
|
|
|
5891
6552
|
|
|
5892
6553
|
svg {
|
|
5893
6554
|
font-size: 14px;
|
|
5894
|
-
|
|
6555
|
+
color: var(--color--ink-subtle);
|
|
5895
6556
|
}
|
|
5896
6557
|
}
|
|
5897
6558
|
.SelectInput__menu-action__label {
|
|
@@ -5907,13 +6568,13 @@ span.SidebarTree__node__toggle {
|
|
|
5907
6568
|
|
|
5908
6569
|
svg {
|
|
5909
6570
|
font-size: 12px;
|
|
5910
|
-
|
|
6571
|
+
color: var(--color--ink-subtle);
|
|
5911
6572
|
}
|
|
5912
6573
|
}
|
|
5913
6574
|
/* It is the title of the second list. */
|
|
5914
6575
|
.SelectInput__menu-action--back {
|
|
5915
6576
|
font-size: var(--font-size-xs);
|
|
5916
|
-
font-weight:
|
|
6577
|
+
font-weight: var(--font-weight-strong);
|
|
5917
6578
|
color: var(--color--ink-subtle);
|
|
5918
6579
|
}
|
|
5919
6580
|
/* .Dropdown.is-open: the menu is on the page (open or closing). Other
|
|
@@ -5921,6 +6582,9 @@ span.SidebarTree__node__toggle {
|
|
|
5921
6582
|
this file. */
|
|
5922
6583
|
.Dropdown {
|
|
5923
6584
|
position: relative;
|
|
6585
|
+
/* A parent that is as wide as its content (a column with "align-items:
|
|
6586
|
+
flex-start") can otherwise give the trigger the full width of its label */
|
|
6587
|
+
max-width: 100%;
|
|
5924
6588
|
}
|
|
5925
6589
|
.Dropdown__spacer {
|
|
5926
6590
|
position: absolute;
|
|
@@ -5933,18 +6597,24 @@ span.SidebarTree__node__toggle {
|
|
|
5933
6597
|
align-items: center;
|
|
5934
6598
|
width: 100%;
|
|
5935
6599
|
width: auto;
|
|
6600
|
+
max-width: 100%;
|
|
5936
6601
|
padding: 0;
|
|
5937
6602
|
white-space: nowrap;
|
|
5938
6603
|
|
|
6604
|
+
/* A long value gets an ellipsis, and the chevron always shows */
|
|
5939
6605
|
> span {
|
|
5940
6606
|
position: relative;
|
|
5941
6607
|
top: 0.06em;
|
|
6608
|
+
min-width: 0;
|
|
6609
|
+
overflow: hidden;
|
|
6610
|
+
text-overflow: ellipsis;
|
|
5942
6611
|
}
|
|
5943
6612
|
svg {
|
|
5944
6613
|
display: inline-block;
|
|
6614
|
+
flex: none;
|
|
5945
6615
|
line-height: 0.6;
|
|
5946
6616
|
vertical-align: middle;
|
|
5947
|
-
|
|
6617
|
+
color: var(--color--ink-subtle);
|
|
5948
6618
|
}
|
|
5949
6619
|
}
|
|
5950
6620
|
|
|
@@ -5965,7 +6635,7 @@ span.SidebarTree__node__toggle {
|
|
|
5965
6635
|
--Dropdown-item-min-height: 32px;
|
|
5966
6636
|
/* The height of the search field, with its bottom line */
|
|
5967
6637
|
--Dropdown-search-height: 37px;
|
|
5968
|
-
--Dropdown-group-title-height:
|
|
6638
|
+
--Dropdown-group-title-height: 30px;
|
|
5969
6639
|
/* The position where the group titles stick. The negative value moves them
|
|
5970
6640
|
up into the padding of the panel, so no option shows above them. */
|
|
5971
6641
|
--Dropdown-sticky-top: calc(-1 * var(--Dropdown-padding));
|
|
@@ -5977,7 +6647,7 @@ span.SidebarTree__node__toggle {
|
|
|
5977
6647
|
text-align: initial;
|
|
5978
6648
|
scroll-padding-block: var(--Dropdown-padding);
|
|
5979
6649
|
background-color: var(--color--surface-raised);
|
|
5980
|
-
border: 1px solid var(--color--border);
|
|
6650
|
+
border: 1px solid var(--color--border-raised);
|
|
5981
6651
|
border-radius: var(--radius-m);
|
|
5982
6652
|
box-shadow: var(--shadow--floating);
|
|
5983
6653
|
}
|
|
@@ -6025,6 +6695,25 @@ span.SidebarTree__node__toggle {
|
|
|
6025
6695
|
}
|
|
6026
6696
|
}
|
|
6027
6697
|
}
|
|
6698
|
+
/* The picture at rest (Static.tsx) has no portal: the menu goes next to the
|
|
6699
|
+
trigger, at the 4px offset of Menu.tsx. The z-index puts the menu above
|
|
6700
|
+
the content near it, as the portal of the live menu does. */
|
|
6701
|
+
.Dropdown[data-placement] > .Dropdown__menu-container {
|
|
6702
|
+
position: absolute;
|
|
6703
|
+
z-index: 5;
|
|
6704
|
+
}
|
|
6705
|
+
.Dropdown[data-placement^="bottom"] > .Dropdown__menu-container {
|
|
6706
|
+
top: calc(100% + 4px);
|
|
6707
|
+
}
|
|
6708
|
+
.Dropdown[data-placement^="top"] > .Dropdown__menu-container {
|
|
6709
|
+
bottom: calc(100% + 4px);
|
|
6710
|
+
}
|
|
6711
|
+
.Dropdown[data-placement$="-start"] > .Dropdown__menu-container {
|
|
6712
|
+
left: 0;
|
|
6713
|
+
}
|
|
6714
|
+
.Dropdown[data-placement$="-end"] > .Dropdown__menu-container {
|
|
6715
|
+
right: 0;
|
|
6716
|
+
}
|
|
6028
6717
|
@keyframes Dropdown__menu-enter {
|
|
6029
6718
|
from {
|
|
6030
6719
|
opacity: 0;
|
|
@@ -6039,8 +6728,23 @@ span.SidebarTree__node__toggle {
|
|
|
6039
6728
|
}
|
|
6040
6729
|
}
|
|
6041
6730
|
|
|
6042
|
-
|
|
6043
|
-
|
|
6731
|
+
/* A line from edge to edge of the panel separates a group from the items
|
|
6732
|
+
above it. The negative margin and the padding move the border into the
|
|
6733
|
+
padding of the panel, as for .Dropdown__menu__separator. */
|
|
6734
|
+
:not(.Dropdown__menu__separator) + .Dropdown__menu__group {
|
|
6735
|
+
padding: var(--spacing-m) var(--Dropdown-padding) 0;
|
|
6736
|
+
margin: var(--spacing-m) calc(-1 * var(--Dropdown-padding)) 0;
|
|
6737
|
+
border-top: 1px solid var(--color--border);
|
|
6738
|
+
}
|
|
6739
|
+
/* These items end with their own line and the padding of the panel below
|
|
6740
|
+
it. The group adds the rest of the space that a group gets below its own
|
|
6741
|
+
line. MenuContent.tsx puts the options in a "div" after the search field
|
|
6742
|
+
and the title. */
|
|
6743
|
+
.Dropdown__menu__separator + .Dropdown__menu__group,
|
|
6744
|
+
:is(.Dropdown__menu__search, .Dropdown__menu__title)
|
|
6745
|
+
+ *
|
|
6746
|
+
> .Dropdown__menu__group:first-child {
|
|
6747
|
+
padding-top: calc(var(--spacing-m) - var(--Dropdown-padding));
|
|
6044
6748
|
}
|
|
6045
6749
|
/* While you search, a group with no option that matches does not show its
|
|
6046
6750
|
title */
|
|
@@ -6048,6 +6752,16 @@ span.SidebarTree__node__toggle {
|
|
|
6048
6752
|
.Dropdown__menu__group:not(:has(.Dropdown__menu__option)) {
|
|
6049
6753
|
display: none;
|
|
6050
6754
|
}
|
|
6755
|
+
/* While you search, the first group that shows has no line above it, also
|
|
6756
|
+
when the groups above it do not show. It is below the search field. */
|
|
6757
|
+
.Dropdown__menu:has(.Dropdown__menu__search__input:not(:placeholder-shown))
|
|
6758
|
+
.Dropdown__menu__group:not(
|
|
6759
|
+
.Dropdown__menu__group:has(.Dropdown__menu__option) ~ *
|
|
6760
|
+
) {
|
|
6761
|
+
padding: calc(var(--spacing-m) - var(--Dropdown-padding)) 0 0;
|
|
6762
|
+
margin: 0;
|
|
6763
|
+
border-top: none;
|
|
6764
|
+
}
|
|
6051
6765
|
.Dropdown__menu__group__title {
|
|
6052
6766
|
/* The title stays at the top while the options of its group scroll. The
|
|
6053
6767
|
title of the next group pushes it away. */
|
|
@@ -6057,13 +6771,34 @@ span.SidebarTree__node__toggle {
|
|
|
6057
6771
|
display: flex;
|
|
6058
6772
|
gap: 6px;
|
|
6059
6773
|
align-items: center;
|
|
6060
|
-
padding:
|
|
6774
|
+
padding: 4px var(--Dropdown-item-padding-x) 8px;
|
|
6775
|
+
container-type: scroll-state;
|
|
6061
6776
|
background-color: var(--color--surface-raised);
|
|
6062
6777
|
|
|
6063
6778
|
> svg {
|
|
6064
6779
|
flex: none;
|
|
6065
6780
|
font-size: 12px;
|
|
6066
|
-
|
|
6781
|
+
}
|
|
6782
|
+
|
|
6783
|
+
/* The line separates the stuck title from the options that scroll below
|
|
6784
|
+
it. It goes into the padding of the panel, as .Dropdown__menu__separator.
|
|
6785
|
+
The ::after can query the scroll state of its own element. A browser
|
|
6786
|
+
without scroll-state queries shows no line. */
|
|
6787
|
+
&::after {
|
|
6788
|
+
position: absolute;
|
|
6789
|
+
inset: auto calc(-1 * var(--Dropdown-padding)) 0;
|
|
6790
|
+
height: 1px;
|
|
6791
|
+
content: "";
|
|
6792
|
+
/* token-audit-disable-next-line mismatch -- 1px separator rule */
|
|
6793
|
+
background-color: var(--color--border);
|
|
6794
|
+
opacity: 0;
|
|
6795
|
+
transition: opacity 0.15s;
|
|
6796
|
+
}
|
|
6797
|
+
|
|
6798
|
+
@container scroll-state(stuck: top) {
|
|
6799
|
+
&::after {
|
|
6800
|
+
opacity: 1;
|
|
6801
|
+
}
|
|
6067
6802
|
}
|
|
6068
6803
|
}
|
|
6069
6804
|
/* In a menu with a search field, the group titles stick below the field */
|
|
@@ -6122,8 +6857,8 @@ span.SidebarTree__node__toggle {
|
|
|
6122
6857
|
top: 50%;
|
|
6123
6858
|
left: 12px;
|
|
6124
6859
|
font-size: 15px;
|
|
6860
|
+
color: var(--color--ink-subtle);
|
|
6125
6861
|
pointer-events: none;
|
|
6126
|
-
fill: var(--color--ink-subtle);
|
|
6127
6862
|
transform: translateY(-50%);
|
|
6128
6863
|
}
|
|
6129
6864
|
/* Two classes, so this rule is stronger than the global rules of the text
|
|
@@ -6186,7 +6921,7 @@ span.SidebarTree__node__toggle {
|
|
|
6186
6921
|
color: var(--color--ink-danger);
|
|
6187
6922
|
|
|
6188
6923
|
.Dropdown__menu__option__content > svg {
|
|
6189
|
-
|
|
6924
|
+
color: inherit;
|
|
6190
6925
|
}
|
|
6191
6926
|
}
|
|
6192
6927
|
&.is-dangerous.is-hover,
|
|
@@ -6203,7 +6938,7 @@ span.SidebarTree__node__toggle {
|
|
|
6203
6938
|
top: 50%;
|
|
6204
6939
|
/* Puts the 14px grip at the center of the gutter */
|
|
6205
6940
|
left: calc((var(--Dropdown-gutter) - 14px) / 2);
|
|
6206
|
-
|
|
6941
|
+
color: var(--color--ink-subtle);
|
|
6207
6942
|
transform: translateY(-50%);
|
|
6208
6943
|
|
|
6209
6944
|
@media (hover: hover) {
|
|
@@ -6238,7 +6973,6 @@ span.SidebarTree__node__toggle {
|
|
|
6238
6973
|
|
|
6239
6974
|
svg {
|
|
6240
6975
|
font-size: 12px;
|
|
6241
|
-
fill: currentColor;
|
|
6242
6976
|
}
|
|
6243
6977
|
}
|
|
6244
6978
|
.Dropdown__menu__option__chevron {
|
|
@@ -6250,7 +6984,7 @@ span.SidebarTree__node__toggle {
|
|
|
6250
6984
|
|
|
6251
6985
|
svg {
|
|
6252
6986
|
font-size: 12px;
|
|
6253
|
-
|
|
6987
|
+
color: var(--color--ink-subtle);
|
|
6254
6988
|
}
|
|
6255
6989
|
}
|
|
6256
6990
|
.Dropdown__menu__option__validity_icon {
|
|
@@ -6274,25 +7008,14 @@ span.SidebarTree__node__toggle {
|
|
|
6274
7008
|
flex: none;
|
|
6275
7009
|
font-size: 16px;
|
|
6276
7010
|
vertical-align: middle;
|
|
6277
|
-
|
|
7011
|
+
color: var(--color--ink-subtle);
|
|
6278
7012
|
}
|
|
6279
7013
|
/* Plugin-injected actions render their icon through .PluginIcon; normalize it
|
|
6280
|
-
to match native option icons (muted
|
|
7014
|
+
to match native option icons (muted color, sizing and spacing). */
|
|
6281
7015
|
.PluginIcon {
|
|
6282
7016
|
margin-right: 0;
|
|
6283
7017
|
font-size: 16px;
|
|
6284
7018
|
}
|
|
6285
|
-
/* The rule of _PluginIcon.css (fill: currentColor) comes later in the
|
|
6286
|
-
styles: the two classes make this rule stronger */
|
|
6287
|
-
> .PluginIcon.PluginIcon--svg {
|
|
6288
|
-
fill: var(--color--ink-subtle);
|
|
6289
|
-
}
|
|
6290
|
-
> .Dropdown__menu__option__image {
|
|
6291
|
-
flex: none;
|
|
6292
|
-
width: 16px;
|
|
6293
|
-
height: 16px;
|
|
6294
|
-
border-radius: var(--radius-xs);
|
|
6295
|
-
}
|
|
6296
7019
|
/* At a 16px font size, the emoji glyph fills the box as much as an SVG
|
|
6297
7020
|
icon */
|
|
6298
7021
|
> .ItemTypeEmoji,
|
|
@@ -6328,6 +7051,22 @@ span.SidebarTree__node__toggle {
|
|
|
6328
7051
|
padding-left: var(--Dropdown-gutter);
|
|
6329
7052
|
}
|
|
6330
7053
|
}
|
|
7054
|
+
.Dropdown__menu__option__shortcut {
|
|
7055
|
+
display: flex;
|
|
7056
|
+
flex: none;
|
|
7057
|
+
align-items: center;
|
|
7058
|
+
margin-left: 16px;
|
|
7059
|
+
font-size: var(--font-size-xs);
|
|
7060
|
+
|
|
7061
|
+
/* Keycaps compete with the label of the option, thus the keys are plain text */
|
|
7062
|
+
.Shortcut__key {
|
|
7063
|
+
min-width: 0;
|
|
7064
|
+
padding-inline: 0;
|
|
7065
|
+
color: var(--color--ink-subtle);
|
|
7066
|
+
background-color: transparent;
|
|
7067
|
+
border: none;
|
|
7068
|
+
}
|
|
7069
|
+
}
|
|
6331
7070
|
.Dropdown__menu__option__icons {
|
|
6332
7071
|
display: flex;
|
|
6333
7072
|
align-items: center;
|
|
@@ -6342,7 +7081,7 @@ span.SidebarTree__node__toggle {
|
|
|
6342
7081
|
border-radius: var(--radius-s);
|
|
6343
7082
|
|
|
6344
7083
|
svg {
|
|
6345
|
-
|
|
7084
|
+
color: var(--color--ink-subtle);
|
|
6346
7085
|
}
|
|
6347
7086
|
}
|
|
6348
7087
|
/* The button is a square as tall as the option. The negative margin takes
|
|
@@ -6366,16 +7105,16 @@ button.Dropdown__menu__option__icon {
|
|
|
6366
7105
|
background-color: var(--color--surface-raised-active);
|
|
6367
7106
|
|
|
6368
7107
|
svg {
|
|
6369
|
-
|
|
7108
|
+
color: var(--color--ink);
|
|
6370
7109
|
}
|
|
6371
7110
|
}
|
|
6372
7111
|
}
|
|
6373
7112
|
.Dropdown__menu__option__icon--delete svg {
|
|
6374
|
-
|
|
7113
|
+
color: var(--color--danger-soft--ink);
|
|
6375
7114
|
}
|
|
6376
7115
|
button.Dropdown__menu__option__icon--delete:hover svg,
|
|
6377
7116
|
button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
6378
|
-
|
|
7117
|
+
color: var(--color--danger-soft--ink);
|
|
6379
7118
|
}
|
|
6380
7119
|
.Dropdown__menu__separator {
|
|
6381
7120
|
height: 1px;
|
|
@@ -6466,7 +7205,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6466
7205
|
padding: 8px calc(var(--Dropdown-item-padding-x) + var(--Dropdown-padding));
|
|
6467
7206
|
margin: calc(-1 * var(--Dropdown-padding)) calc(-1 * var(--Dropdown-padding))
|
|
6468
7207
|
var(--Dropdown-padding);
|
|
6469
|
-
font-weight: var(--font-weight-
|
|
7208
|
+
font-weight: var(--font-weight-strong);
|
|
6470
7209
|
color: var(--color--ink);
|
|
6471
7210
|
border-bottom: 1px solid var(--color--border);
|
|
6472
7211
|
}
|
|
@@ -6479,8 +7218,8 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6479
7218
|
in other components: Tooltip draws the box. */
|
|
6480
7219
|
.Tooltip {
|
|
6481
7220
|
max-width: 250px;
|
|
6482
|
-
padding: var(--spacing-s)
|
|
6483
|
-
font-size: var(--font-size-
|
|
7221
|
+
padding: var(--spacing-s);
|
|
7222
|
+
font-size: var(--font-size-xs);
|
|
6484
7223
|
line-height: 1.2;
|
|
6485
7224
|
color: var(--color--tooltip--ink);
|
|
6486
7225
|
text-align: center;
|
|
@@ -6488,6 +7227,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6488
7227
|
background-color: var(--color--tooltip--surface);
|
|
6489
7228
|
border-radius: var(--radius-s);
|
|
6490
7229
|
box-shadow: var(--shadow--floating);
|
|
7230
|
+
animation: Tooltip__appear 0.1s var(--ease-out);
|
|
6491
7231
|
p {
|
|
6492
7232
|
margin-bottom: var(--spacing-s);
|
|
6493
7233
|
}
|
|
@@ -6495,6 +7235,31 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6495
7235
|
margin-bottom: 0;
|
|
6496
7236
|
}
|
|
6497
7237
|
}
|
|
7238
|
+
.Tooltip--closing {
|
|
7239
|
+
pointer-events: none;
|
|
7240
|
+
opacity: 0;
|
|
7241
|
+
scale: 0.98;
|
|
7242
|
+
transition: opacity 0.2s var(--ease-out);
|
|
7243
|
+
}
|
|
7244
|
+
@keyframes Tooltip__fade-in {
|
|
7245
|
+
0% {
|
|
7246
|
+
opacity: 0;
|
|
7247
|
+
}
|
|
7248
|
+
}
|
|
7249
|
+
@keyframes Tooltip__appear {
|
|
7250
|
+
0% {
|
|
7251
|
+
opacity: 0;
|
|
7252
|
+
scale: 0.98;
|
|
7253
|
+
}
|
|
7254
|
+
}
|
|
7255
|
+
@media (prefers-reduced-motion: reduce) {
|
|
7256
|
+
.Tooltip {
|
|
7257
|
+
animation-name: Tooltip__fade-in;
|
|
7258
|
+
}
|
|
7259
|
+
.Tooltip--closing {
|
|
7260
|
+
scale: none;
|
|
7261
|
+
}
|
|
7262
|
+
}
|
|
6498
7263
|
.Tooltip--long {
|
|
6499
7264
|
max-width: 360px;
|
|
6500
7265
|
text-align: left;
|
|
@@ -6505,13 +7270,15 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6505
7270
|
gap: var(--spacing-m);
|
|
6506
7271
|
align-items: center;
|
|
6507
7272
|
max-width: none;
|
|
6508
|
-
padding: var(--spacing-s) var(--spacing-m);
|
|
6509
7273
|
line-height: 1;
|
|
6510
7274
|
white-space: nowrap;
|
|
6511
7275
|
}
|
|
6512
7276
|
.Tooltip__label {
|
|
6513
7277
|
flex: 1;
|
|
6514
7278
|
}
|
|
7279
|
+
.Tooltip .Shortcut__word {
|
|
7280
|
+
color: var(--color--tooltip--ink-subtle);
|
|
7281
|
+
}
|
|
6515
7282
|
/*
|
|
6516
7283
|
* The callout has a margin only at the bottom, so it can be the first item of
|
|
6517
7284
|
* a page or of a form without modifiers.
|
|
@@ -6542,7 +7309,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6542
7309
|
}
|
|
6543
7310
|
|
|
6544
7311
|
.Callout__title {
|
|
6545
|
-
font-weight:
|
|
7312
|
+
font-weight: var(--font-weight-strong);
|
|
6546
7313
|
|
|
6547
7314
|
&:not(:last-child) {
|
|
6548
7315
|
margin-bottom: 2px;
|
|
@@ -6585,7 +7352,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6585
7352
|
/* The links take the ink of the tone, so they are legible on all the
|
|
6586
7353
|
* surfaces. The underline tells that they are links. */
|
|
6587
7354
|
& a:not(.button) {
|
|
6588
|
-
font-weight:
|
|
7355
|
+
font-weight: var(--font-weight-strong);
|
|
6589
7356
|
color: inherit;
|
|
6590
7357
|
text-decoration: underline;
|
|
6591
7358
|
|
|
@@ -6605,7 +7372,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6605
7372
|
background: var(--color--surface-muted);
|
|
6606
7373
|
|
|
6607
7374
|
& .Callout__icon svg {
|
|
6608
|
-
|
|
7375
|
+
color: var(--color--ink-subtle);
|
|
6609
7376
|
}
|
|
6610
7377
|
}
|
|
6611
7378
|
|
|
@@ -6616,7 +7383,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6616
7383
|
background: var(--color--success-soft--surface);
|
|
6617
7384
|
|
|
6618
7385
|
& .Callout__icon svg {
|
|
6619
|
-
|
|
7386
|
+
color: var(--color--success-soft--ink);
|
|
6620
7387
|
}
|
|
6621
7388
|
}
|
|
6622
7389
|
|
|
@@ -6625,7 +7392,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6625
7392
|
background: var(--color--warning-soft--surface);
|
|
6626
7393
|
|
|
6627
7394
|
& .Callout__icon svg {
|
|
6628
|
-
|
|
7395
|
+
color: var(--color--warning-soft--ink);
|
|
6629
7396
|
}
|
|
6630
7397
|
}
|
|
6631
7398
|
|
|
@@ -6634,7 +7401,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6634
7401
|
background: var(--color--danger-soft--surface);
|
|
6635
7402
|
|
|
6636
7403
|
& .Callout__icon svg {
|
|
6637
|
-
|
|
7404
|
+
color: var(--color--danger-soft--ink);
|
|
6638
7405
|
}
|
|
6639
7406
|
}
|
|
6640
7407
|
.SidebarPanel {
|
|
@@ -6675,11 +7442,11 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6675
7442
|
.SidebarPanel__header__title {
|
|
6676
7443
|
flex: 1;
|
|
6677
7444
|
min-width: 0;
|
|
6678
|
-
font-weight:
|
|
7445
|
+
font-weight: var(--font-weight-strong);
|
|
6679
7446
|
}
|
|
6680
7447
|
.SidebarPanel__header__count {
|
|
6681
7448
|
margin-left: var(--spacing-s);
|
|
6682
|
-
font-weight:
|
|
7449
|
+
font-weight: var(--font-weight-regular);
|
|
6683
7450
|
color: var(--color--ink-subtle);
|
|
6684
7451
|
}
|
|
6685
7452
|
.SidebarPanel__content {
|
|
@@ -6729,7 +7496,9 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6729
7496
|
flex-direction: row;
|
|
6730
7497
|
gap: var(--spacing-m);
|
|
6731
7498
|
align-items: center;
|
|
6732
|
-
|
|
7499
|
+
/* Content that is too wide starts at the left edge: an overflow past the
|
|
7500
|
+
left edge cannot scroll into view. */
|
|
7501
|
+
justify-content: safe center;
|
|
6733
7502
|
min-width: 0;
|
|
6734
7503
|
min-height: var(--Toolbar-height);
|
|
6735
7504
|
> *:last-child {
|
|
@@ -6819,7 +7588,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6819
7588
|
overflow: hidden;
|
|
6820
7589
|
text-overflow: ellipsis;
|
|
6821
7590
|
font-size: var(--font-size-m);
|
|
6822
|
-
font-weight:
|
|
7591
|
+
font-weight: var(--font-weight-strong);
|
|
6823
7592
|
line-height: 1.3;
|
|
6824
7593
|
letter-spacing: 0;
|
|
6825
7594
|
white-space: nowrap;
|
|
@@ -6861,14 +7630,14 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6861
7630
|
& svg {
|
|
6862
7631
|
width: 12px;
|
|
6863
7632
|
height: 12px;
|
|
6864
|
-
|
|
7633
|
+
color: var(--color--ink-subtle);
|
|
6865
7634
|
}
|
|
6866
7635
|
&:hover,
|
|
6867
7636
|
&.is-open {
|
|
6868
7637
|
background: var(--color--surface-hover);
|
|
6869
7638
|
|
|
6870
7639
|
& svg {
|
|
6871
|
-
|
|
7640
|
+
color: var(--color--ink);
|
|
6872
7641
|
}
|
|
6873
7642
|
}
|
|
6874
7643
|
}
|
|
@@ -6891,7 +7660,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6891
7660
|
}
|
|
6892
7661
|
}
|
|
6893
7662
|
a:not(.button) {
|
|
6894
|
-
font-weight:
|
|
7663
|
+
font-weight: var(--font-weight-strong);
|
|
6895
7664
|
color: var(--color--ink-link);
|
|
6896
7665
|
}
|
|
6897
7666
|
code,
|
|
@@ -6915,8 +7684,12 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6915
7684
|
white-space: nowrap;
|
|
6916
7685
|
}
|
|
6917
7686
|
/* A subtitle that opens a menu (see TextualDropdown.tsx): it must not clip
|
|
6918
|
-
the hover surface of its trigger
|
|
7687
|
+
the hover surface of its trigger. It shrinks with the title, and its
|
|
7688
|
+
trigger gets the ellipsis, thus a long value does not push the title to
|
|
7689
|
+
0px. */
|
|
6919
7690
|
.Toolbar__subtitle--dropdown {
|
|
7691
|
+
flex-shrink: 1;
|
|
7692
|
+
min-width: 0;
|
|
6920
7693
|
overflow: visible;
|
|
6921
7694
|
}
|
|
6922
7695
|
/* A long name of a saved filter shows an ellipsis, thus the title keeps its
|
|
@@ -6934,13 +7707,76 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6934
7707
|
.Toolbar__space {
|
|
6935
7708
|
flex: 1;
|
|
6936
7709
|
}
|
|
7710
|
+
/* It takes the free width of the toolbar, thus it is the container of the
|
|
7711
|
+
narrow layout of the pagination (see "_Pagination.css"). After a title,
|
|
7712
|
+
the pages go at the right end, as after a Toolbar.Space. */
|
|
7713
|
+
.Toolbar__pagination {
|
|
7714
|
+
display: flex;
|
|
7715
|
+
flex: 1;
|
|
7716
|
+
gap: var(--spacing-m);
|
|
7717
|
+
align-items: center;
|
|
7718
|
+
justify-content: safe center;
|
|
7719
|
+
min-width: 0;
|
|
7720
|
+
container: toolbar-pagination / inline-size;
|
|
7721
|
+
|
|
7722
|
+
&:not(:only-child) {
|
|
7723
|
+
justify-content: safe flex-end;
|
|
7724
|
+
}
|
|
7725
|
+
}
|
|
6937
7726
|
.Toolbar__fill {
|
|
6938
7727
|
display: flex;
|
|
6939
7728
|
flex: 1;
|
|
6940
7729
|
}
|
|
7730
|
+
/* The parts of a filter row are bare (see the Filter section of the Toolbar
|
|
7731
|
+
page), thus the row gives them the gap of a toolbar. */
|
|
7732
|
+
.Toolbar--fields > .Toolbar__fill {
|
|
7733
|
+
gap: var(--spacing-m);
|
|
7734
|
+
align-items: flex-start;
|
|
7735
|
+
|
|
7736
|
+
/* Each part is at least as tall as a field of one line, and centers its
|
|
7737
|
+
own content in that height. Thus the parts stay on the first line of the
|
|
7738
|
+
tiles when the tiles wrap. Toolbar.Divider stretches to the full height
|
|
7739
|
+
of the row. */
|
|
7740
|
+
> * {
|
|
7741
|
+
box-sizing: border-box;
|
|
7742
|
+
min-height: var(--control-height);
|
|
7743
|
+
}
|
|
7744
|
+
}
|
|
7745
|
+
/* The widths of the two edge fades of .Toolbar__tabs. They must be
|
|
7746
|
+
registered: an animation cannot interpolate a custom property that is not
|
|
7747
|
+
registered. */
|
|
7748
|
+
@property --Toolbar__tabs-fade-start {
|
|
7749
|
+
syntax: "<length>";
|
|
7750
|
+
inherits: false;
|
|
7751
|
+
initial-value: 0px;
|
|
7752
|
+
}
|
|
7753
|
+
@property --Toolbar__tabs-fade-end {
|
|
7754
|
+
syntax: "<length>";
|
|
7755
|
+
inherits: false;
|
|
7756
|
+
initial-value: 0px;
|
|
7757
|
+
}
|
|
7758
|
+
@keyframes Toolbar__tabs-fade-start {
|
|
7759
|
+
to {
|
|
7760
|
+
--Toolbar__tabs-fade-start: var(--Toolbar__tabs-fade);
|
|
7761
|
+
}
|
|
7762
|
+
}
|
|
7763
|
+
@keyframes Toolbar__tabs-fade-end {
|
|
7764
|
+
from {
|
|
7765
|
+
--Toolbar__tabs-fade-end: var(--Toolbar__tabs-fade);
|
|
7766
|
+
}
|
|
7767
|
+
}
|
|
6941
7768
|
/* It fills the full height of the toolbar, thus the line under the active tab
|
|
6942
|
-
touches the bottom border of the toolbar.
|
|
7769
|
+
touches the bottom border of the toolbar.
|
|
7770
|
+
|
|
7771
|
+
The scrollbar is hidden, thus an edge fades when tabs are hidden past it.
|
|
7772
|
+
The fade is a mask, thus it works on any background. Each fade follows
|
|
7773
|
+
the scroll of the strip: it grows in the first and the last
|
|
7774
|
+
--Toolbar__tabs-fade of the scroll. A strip that does not scroll has no
|
|
7775
|
+
active timeline, thus no fade. Chromium keeps the last fade when a strip
|
|
7776
|
+
stops scrolling: useTabRowFadeReset restarts the animations then. */
|
|
6943
7777
|
.Toolbar__tabs {
|
|
7778
|
+
--Toolbar__tabs-fade: var(--spacing-xl);
|
|
7779
|
+
|
|
6944
7780
|
display: flex;
|
|
6945
7781
|
flex: 0 1 auto;
|
|
6946
7782
|
align-self: stretch;
|
|
@@ -6949,6 +7785,20 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6949
7785
|
overflow-x: auto;
|
|
6950
7786
|
white-space: nowrap;
|
|
6951
7787
|
scrollbar-width: none;
|
|
7788
|
+
mask-image: linear-gradient(
|
|
7789
|
+
to right,
|
|
7790
|
+
transparent,
|
|
7791
|
+
#000 var(--Toolbar__tabs-fade-start),
|
|
7792
|
+
#000 calc(100% - var(--Toolbar__tabs-fade-end)),
|
|
7793
|
+
transparent
|
|
7794
|
+
);
|
|
7795
|
+
animation:
|
|
7796
|
+
Toolbar__tabs-fade-start linear both,
|
|
7797
|
+
Toolbar__tabs-fade-end linear both;
|
|
7798
|
+
animation-timeline: scroll(self inline), scroll(self inline);
|
|
7799
|
+
animation-range:
|
|
7800
|
+
0 var(--Toolbar__tabs-fade),
|
|
7801
|
+
calc(100% - var(--Toolbar__tabs-fade)) 100%;
|
|
6952
7802
|
-webkit-overflow-scrolling: touch;
|
|
6953
7803
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
6954
7804
|
|
|
@@ -6970,7 +7820,7 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
6970
7820
|
align-self: stretch;
|
|
6971
7821
|
overflow: hidden;
|
|
6972
7822
|
font-size: var(--font-size-m);
|
|
6973
|
-
font-weight:
|
|
7823
|
+
font-weight: var(--font-weight-strong);
|
|
6974
7824
|
line-height: 1.3;
|
|
6975
7825
|
color: var(--color--ink-subtle);
|
|
6976
7826
|
white-space: nowrap;
|
|
@@ -7000,10 +7850,13 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
7000
7850
|
background-color: var(--color--primary--surface);
|
|
7001
7851
|
}
|
|
7002
7852
|
}
|
|
7853
|
+
/* A button element is as wide as its content, also as a flex box, thus it
|
|
7854
|
+
needs "max-width" to stay in the title. */
|
|
7003
7855
|
.Toolbar__title--dropdown {
|
|
7004
7856
|
display: flex;
|
|
7005
7857
|
align-items: center;
|
|
7006
7858
|
min-width: 0;
|
|
7859
|
+
max-width: 100%;
|
|
7007
7860
|
padding: 0;
|
|
7008
7861
|
font: inherit;
|
|
7009
7862
|
color: inherit;
|
|
@@ -7026,17 +7879,18 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
7026
7879
|
margin-left: 10px;
|
|
7027
7880
|
}
|
|
7028
7881
|
}
|
|
7029
|
-
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7882
|
+
/* The hairline takes the full height of the cells, thus the parts of a cell
|
|
7883
|
+
that grows (the tiles that wrap, the clear button) read as one cell. */
|
|
7884
|
+
.Toolbar__divider {
|
|
7885
|
+
flex: none;
|
|
7886
|
+
align-self: stretch;
|
|
7887
|
+
min-height: var(--control-height);
|
|
7888
|
+
border-left: 1px solid var(--color--border);
|
|
7034
7889
|
}
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
|
|
7038
|
-
|
|
7039
|
-
padding-right: 37px;
|
|
7890
|
+
/* The full height of the toolbar cuts the toolbar, thus a direct child keeps
|
|
7891
|
+
the height of a field. */
|
|
7892
|
+
.Toolbar > .Toolbar__divider {
|
|
7893
|
+
align-self: center;
|
|
7040
7894
|
}
|
|
7041
7895
|
.Toolbar__filter {
|
|
7042
7896
|
display: flex;
|
|
@@ -7063,7 +7917,7 @@ input.Toolbar__search__input[type="text"] {
|
|
|
7063
7917
|
font-size: 1.1em;
|
|
7064
7918
|
|
|
7065
7919
|
svg {
|
|
7066
|
-
|
|
7920
|
+
color: var(--color--ink);
|
|
7067
7921
|
}
|
|
7068
7922
|
}
|
|
7069
7923
|
/* The filter has no field look, so the disabled state only dims it. The
|
|
@@ -7078,7 +7932,7 @@ input.Toolbar__search__input[type="text"] {
|
|
|
7078
7932
|
}
|
|
7079
7933
|
}
|
|
7080
7934
|
.Toolbar__filter__icon--disabled svg {
|
|
7081
|
-
|
|
7935
|
+
color: var(--color--ink-disabled);
|
|
7082
7936
|
}
|
|
7083
7937
|
|
|
7084
7938
|
/* The menu of the title. Its button has no surface until hover, thus the
|
|
@@ -7093,6 +7947,230 @@ input.Toolbar__search__input[type="text"] {
|
|
|
7093
7947
|
.Toolbar__spinner {
|
|
7094
7948
|
margin-left: var(--spacing-m);
|
|
7095
7949
|
}
|
|
7950
|
+
.FilterBuilder {
|
|
7951
|
+
display: flex;
|
|
7952
|
+
flex: 3;
|
|
7953
|
+
gap: var(--spacing-m);
|
|
7954
|
+
align-items: flex-start;
|
|
7955
|
+
min-width: 0;
|
|
7956
|
+
}
|
|
7957
|
+
/* The funnel and the clear button stay on the first line of the tiles when
|
|
7958
|
+
the tiles wrap */
|
|
7959
|
+
.FilterBuilder__icon,
|
|
7960
|
+
.FilterBuilder__clear {
|
|
7961
|
+
display: flex;
|
|
7962
|
+
flex: none;
|
|
7963
|
+
align-items: center;
|
|
7964
|
+
min-height: var(--control-height);
|
|
7965
|
+
}
|
|
7966
|
+
.FilterBuilder__icon svg {
|
|
7967
|
+
display: block;
|
|
7968
|
+
color: var(--color--ink-subtle);
|
|
7969
|
+
}
|
|
7970
|
+
/* The padding and the row gap keep a space of 4px around each line of
|
|
7971
|
+
tiles. With one line, the line fills the min-height and its tiles are in
|
|
7972
|
+
the center. */
|
|
7973
|
+
.FilterBuilder__box {
|
|
7974
|
+
box-sizing: border-box;
|
|
7975
|
+
display: flex;
|
|
7976
|
+
flex: 1;
|
|
7977
|
+
flex-wrap: wrap;
|
|
7978
|
+
gap: 4px var(--spacing-m);
|
|
7979
|
+
align-items: center;
|
|
7980
|
+
min-width: 0;
|
|
7981
|
+
min-height: var(--control-height);
|
|
7982
|
+
padding-block: 4px;
|
|
7983
|
+
}
|
|
7984
|
+
.FilterBuilder__empty {
|
|
7985
|
+
color: var(--color--ink-subtle);
|
|
7986
|
+
}
|
|
7987
|
+
.FilterBuilder__add {
|
|
7988
|
+
display: flex;
|
|
7989
|
+
}
|
|
7990
|
+
.FilterBuilder__tile {
|
|
7991
|
+
position: relative;
|
|
7992
|
+
display: flex;
|
|
7993
|
+
align-items: stretch;
|
|
7994
|
+
max-width: 100%;
|
|
7995
|
+
background-color: var(--color--surface-raised);
|
|
7996
|
+
border: 1px solid var(--color--primary-soft--border);
|
|
7997
|
+
border-radius: var(--radius-s);
|
|
7998
|
+
transition:
|
|
7999
|
+
border-color 0.1s ease-out,
|
|
8000
|
+
box-shadow 0.1s ease-out;
|
|
8001
|
+
|
|
8002
|
+
&:hover {
|
|
8003
|
+
border-color: var(--color--focus--border);
|
|
8004
|
+
}
|
|
8005
|
+
/* The small selects of the tile draw no focus ring, thus the tile draws
|
|
8006
|
+
it for all its inputs */
|
|
8007
|
+
&:focus-within {
|
|
8008
|
+
border-color: var(--color--focus--border);
|
|
8009
|
+
box-shadow: var(--focus-ring);
|
|
8010
|
+
}
|
|
8011
|
+
/* A read-only tile has no hover look, as the other read-only inputs */
|
|
8012
|
+
.FilterBuilder.is-read-only &:hover:not(:focus-within) {
|
|
8013
|
+
border-color: var(--color--primary-soft--border);
|
|
8014
|
+
}
|
|
8015
|
+
}
|
|
8016
|
+
.FilterBuilder__field,
|
|
8017
|
+
.FilterBuilder__operator {
|
|
8018
|
+
position: relative;
|
|
8019
|
+
border-right: 1px solid var(--color--primary-soft--border);
|
|
8020
|
+
}
|
|
8021
|
+
/* The tile has a border of 1px, thus the inner radius is 1px smaller */
|
|
8022
|
+
.FilterBuilder__field {
|
|
8023
|
+
border-radius: calc(var(--radius-s) - 1px) 0 0 calc(var(--radius-s) - 1px);
|
|
8024
|
+
}
|
|
8025
|
+
.FilterBuilder__operator--static {
|
|
8026
|
+
display: flex;
|
|
8027
|
+
align-items: center;
|
|
8028
|
+
padding: 0 10px;
|
|
8029
|
+
font-size: var(--font-size-xs);
|
|
8030
|
+
color: var(--color--ink-subtle);
|
|
8031
|
+
}
|
|
8032
|
+
/* The value keeps a minimum width, even when it is empty, thus the user can
|
|
8033
|
+
find it and click it */
|
|
8034
|
+
.FilterBuilder__value {
|
|
8035
|
+
display: flex;
|
|
8036
|
+
align-items: stretch;
|
|
8037
|
+
min-width: 80px;
|
|
8038
|
+
|
|
8039
|
+
> * {
|
|
8040
|
+
flex: 1 0 auto;
|
|
8041
|
+
}
|
|
8042
|
+
}
|
|
8043
|
+
.FilterBuilder__argument {
|
|
8044
|
+
display: flex;
|
|
8045
|
+
align-items: center;
|
|
8046
|
+
margin-inline: 10px;
|
|
8047
|
+
}
|
|
8048
|
+
.FilterBuilder__argument-label {
|
|
8049
|
+
padding-right: 8px;
|
|
8050
|
+
font-size: var(--font-size-xs);
|
|
8051
|
+
}
|
|
8052
|
+
/* The text inputs have no field look: the tile is the field */
|
|
8053
|
+
.FilterBuilder__value > .AutosizeInput,
|
|
8054
|
+
.FilterBuilder__argument > .AutosizeInput {
|
|
8055
|
+
--autosize-input-padding-inline: 10px;
|
|
8056
|
+
--autosize-input-border-inline: 0px;
|
|
8057
|
+
min-width: 80px;
|
|
8058
|
+
max-width: 30vw;
|
|
8059
|
+
font-size: var(--font-size-xs);
|
|
8060
|
+
|
|
8061
|
+
> input[type="text"] {
|
|
8062
|
+
padding-block: 5px;
|
|
8063
|
+
appearance: none;
|
|
8064
|
+
background-color: transparent;
|
|
8065
|
+
border: none;
|
|
8066
|
+
|
|
8067
|
+
&:focus {
|
|
8068
|
+
box-shadow: none;
|
|
8069
|
+
}
|
|
8070
|
+
}
|
|
8071
|
+
}
|
|
8072
|
+
.FilterBuilder__remove {
|
|
8073
|
+
align-self: center;
|
|
8074
|
+
margin-right: 4px;
|
|
8075
|
+
}
|
|
8076
|
+
.UploadPreview {
|
|
8077
|
+
position: relative;
|
|
8078
|
+
box-sizing: border-box;
|
|
8079
|
+
display: block;
|
|
8080
|
+
display: flex;
|
|
8081
|
+
align-items: center;
|
|
8082
|
+
justify-content: center;
|
|
8083
|
+
overflow: hidden;
|
|
8084
|
+
text-decoration: none;
|
|
8085
|
+
background-color: var(--color--surface-raised);
|
|
8086
|
+
border-radius: var(--radius-s);
|
|
8087
|
+
|
|
8088
|
+
/* The image has space around it in the box, thus it gets its own small
|
|
8089
|
+
radius. The thumbhash canvas and the checkerboard behind the image (see
|
|
8090
|
+
UploadPreview.tsx) show before the image loads, thus they get the same
|
|
8091
|
+
radius. */
|
|
8092
|
+
img,
|
|
8093
|
+
canvas,
|
|
8094
|
+
.checkboard-bg {
|
|
8095
|
+
border-radius: var(--radius-xs);
|
|
8096
|
+
}
|
|
8097
|
+
}
|
|
8098
|
+
.UploadPreview--transparent {
|
|
8099
|
+
background-color: transparent;
|
|
8100
|
+
}
|
|
8101
|
+
.UploadPreview__overlay {
|
|
8102
|
+
position: absolute;
|
|
8103
|
+
inset: 0;
|
|
8104
|
+
background-color: var(--color--primary--surface-secondary);
|
|
8105
|
+
opacity: 0.4;
|
|
8106
|
+
}
|
|
8107
|
+
.UploadPreview__progress__label {
|
|
8108
|
+
font-size: var(--font-size-m);
|
|
8109
|
+
color: var(--color--ink-subtle);
|
|
8110
|
+
}
|
|
8111
|
+
/* The waveform is always the same picture, not the sound of the file */
|
|
8112
|
+
|
|
8113
|
+
/* A registered percentage, so the played part grows smoothly between two
|
|
8114
|
+
updates of the time */
|
|
8115
|
+
@property --AudioPlayPause-progress {
|
|
8116
|
+
syntax: "<percentage>";
|
|
8117
|
+
inherits: false;
|
|
8118
|
+
initial-value: 0%;
|
|
8119
|
+
}
|
|
8120
|
+
.AudioPlayPause {
|
|
8121
|
+
position: relative;
|
|
8122
|
+
display: flex;
|
|
8123
|
+
align-items: center;
|
|
8124
|
+
justify-content: center;
|
|
8125
|
+
}
|
|
8126
|
+
/* The picture is a mask: the background gives the colors of the bars */
|
|
8127
|
+
.AudioPlayPause__wave {
|
|
8128
|
+
width: 80%;
|
|
8129
|
+
aspect-ratio: 174 / 40;
|
|
8130
|
+
/* token-audit-disable-next-line mismatch -- the mask makes the background the bars of a picture, so it's foreground */
|
|
8131
|
+
background: linear-gradient(
|
|
8132
|
+
to right,
|
|
8133
|
+
var(--color--progress--fill) var(--AudioPlayPause-progress),
|
|
8134
|
+
var(--color--ink-placeholder) var(--AudioPlayPause-progress)
|
|
8135
|
+
);
|
|
8136
|
+
mask:
|
|
8137
|
+
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")
|
|
8138
|
+
center / 100% 100% no-repeat;
|
|
8139
|
+
transition: --AudioPlayPause-progress 0.3s linear;
|
|
8140
|
+
}
|
|
8141
|
+
.AudioPlayPause__button {
|
|
8142
|
+
position: absolute;
|
|
8143
|
+
}
|
|
8144
|
+
/* The audio play button is the only button with fully round corners (see
|
|
8145
|
+
also AudioPlayer) */
|
|
8146
|
+
.AudioPlayPause.big .AudioPlayPause__button {
|
|
8147
|
+
top: 50%;
|
|
8148
|
+
left: 50%;
|
|
8149
|
+
border-radius: var(--radius-full);
|
|
8150
|
+
transform: translate(-50%, -50%);
|
|
8151
|
+
}
|
|
8152
|
+
/* A small preview (a row of a table) has no room for a round button: all
|
|
8153
|
+
the preview is the button, and the icon is on the waveform */
|
|
8154
|
+
.AudioPlayPause.small {
|
|
8155
|
+
.AudioPlayPause__wave {
|
|
8156
|
+
opacity: 0.5;
|
|
8157
|
+
}
|
|
8158
|
+
.AudioPlayPause__button {
|
|
8159
|
+
inset: 0;
|
|
8160
|
+
display: flex;
|
|
8161
|
+
align-items: center;
|
|
8162
|
+
justify-content: center;
|
|
8163
|
+
font-size: 15px;
|
|
8164
|
+
|
|
8165
|
+
svg {
|
|
8166
|
+
color: var(--color--ink-subtle);
|
|
8167
|
+
}
|
|
8168
|
+
&:hover svg,
|
|
8169
|
+
&:focus-visible svg {
|
|
8170
|
+
color: var(--color--ink-link);
|
|
8171
|
+
}
|
|
8172
|
+
}
|
|
8173
|
+
}
|
|
7096
8174
|
/* The button and the dropdown are also in the balloon toolbar of the
|
|
7097
8175
|
structured text editor. */
|
|
7098
8176
|
.EditorToolbar {
|
|
@@ -7188,11 +8266,11 @@ input.Toolbar__search__input[type="text"] {
|
|
|
7188
8266
|
}
|
|
7189
8267
|
svg:first-child {
|
|
7190
8268
|
margin-right: 10px;
|
|
7191
|
-
|
|
8269
|
+
color: var(--color--ink);
|
|
7192
8270
|
}
|
|
7193
8271
|
svg:last-child {
|
|
7194
8272
|
margin-left: 10px;
|
|
7195
|
-
|
|
8273
|
+
color: var(--color--ink-subtle);
|
|
7196
8274
|
}
|
|
7197
8275
|
svg:first-child:last-child {
|
|
7198
8276
|
margin-right: 0;
|
|
@@ -7217,7 +8295,6 @@ input.Toolbar__search__input[type="text"] {
|
|
|
7217
8295
|
}
|
|
7218
8296
|
svg {
|
|
7219
8297
|
display: block;
|
|
7220
|
-
fill: currentColor;
|
|
7221
8298
|
}
|
|
7222
8299
|
&:is(:not(:where(:disabled, .is-disabled, [aria-disabled='true']))):hover {
|
|
7223
8300
|
background: var(--color--surface-hover);
|
|
@@ -7230,15 +8307,17 @@ input.Toolbar__search__input[type="text"] {
|
|
|
7230
8307
|
opacity: var(--disabled-opacity);
|
|
7231
8308
|
}
|
|
7232
8309
|
}
|
|
7233
|
-
/* The surface of HoverCard (ui/HoverCard). The content of the
|
|
8310
|
+
/* The surface of HoverCard (ui-public/HoverCard). The content of the
|
|
7234
8311
|
card does not draw a surface of its own. */
|
|
7235
8312
|
.HoverCard {
|
|
8313
|
+
box-sizing: border-box;
|
|
7236
8314
|
/* The Overlay sets the variable to the height that is available in the
|
|
7237
8315
|
viewport. Content that is taller scrolls. */
|
|
7238
8316
|
max-height: var(--Popover-available-height, none);
|
|
7239
8317
|
overflow-y: auto;
|
|
7240
8318
|
color: var(--color--ink);
|
|
7241
8319
|
background-color: var(--color--surface-raised);
|
|
8320
|
+
border: 1px solid var(--color--border-raised);
|
|
7242
8321
|
border-radius: var(--radius-s);
|
|
7243
8322
|
box-shadow: var(--shadow--floating);
|
|
7244
8323
|
}
|
|
@@ -7270,7 +8349,7 @@ input.Toolbar__search__input[type="text"] {
|
|
|
7270
8349
|
gap: var(--spacing-s);
|
|
7271
8350
|
align-items: center;
|
|
7272
8351
|
padding: var(--spacing-m);
|
|
7273
|
-
font-weight:
|
|
8352
|
+
font-weight: var(--font-weight-strong);
|
|
7274
8353
|
line-height: 1.3;
|
|
7275
8354
|
background-color: var(--color--surface-raised);
|
|
7276
8355
|
border-bottom: 1px solid var(--color--border);
|
|
@@ -7280,7 +8359,7 @@ input.Toolbar__search__input[type="text"] {
|
|
|
7280
8359
|
> svg {
|
|
7281
8360
|
flex: none;
|
|
7282
8361
|
font-size: 16px;
|
|
7283
|
-
|
|
8362
|
+
color: var(--color--ink-subtle);
|
|
7284
8363
|
}
|
|
7285
8364
|
}
|
|
7286
8365
|
.EntitySummary__image {
|
|
@@ -7371,19 +8450,19 @@ input.Toolbar__search__input[type="text"] {
|
|
|
7371
8450
|
}
|
|
7372
8451
|
}
|
|
7373
8452
|
.RadioGroupInput__option.is-checked .RadioGroupInput__radio::before {
|
|
7374
|
-
background-color: var(--color--
|
|
8453
|
+
background-color: var(--color--control-on--surface);
|
|
7375
8454
|
background-image: radial-gradient(
|
|
7376
|
-
var(--color--
|
|
8455
|
+
var(--color--control-on--ink) 28%,
|
|
7377
8456
|
transparent 33%
|
|
7378
8457
|
);
|
|
7379
8458
|
/* token-audit-disable-next-line mismatch -- the border has the same color as the fill */
|
|
7380
|
-
border-color: var(--color--
|
|
8459
|
+
border-color: var(--color--control-on--surface);
|
|
7381
8460
|
}
|
|
7382
8461
|
.RadioGroupInput__option.is-checked:hover:not(.is-disabled, .is-read-only)
|
|
7383
8462
|
.RadioGroupInput__radio::before {
|
|
7384
|
-
background-color: var(--color--
|
|
8463
|
+
background-color: var(--color--control-on--surface-hover);
|
|
7385
8464
|
/* token-audit-disable-next-line mismatch -- the border has the same color as the fill */
|
|
7386
|
-
border-color: var(--color--
|
|
8465
|
+
border-color: var(--color--control-on--surface-hover);
|
|
7387
8466
|
}
|
|
7388
8467
|
.RadioGroupInput__option.is-disabled .RadioGroupInput__radio::before {
|
|
7389
8468
|
background-color: transparent;
|
|
@@ -7419,11 +8498,13 @@ input.Toolbar__search__input[type="text"] {
|
|
|
7419
8498
|
svg {
|
|
7420
8499
|
width: 2em;
|
|
7421
8500
|
height: 2em;
|
|
7422
|
-
fill: currentColor;
|
|
7423
8501
|
}
|
|
7424
8502
|
}
|
|
8503
|
+
/* The text can wrap a long word, thus the option is never wider than the
|
|
8504
|
+
group */
|
|
7425
8505
|
.RadioGroupInput__body {
|
|
7426
8506
|
align-self: center;
|
|
8507
|
+
min-width: 0;
|
|
7427
8508
|
margin-left: calc(1.5 * var(--space-unit));
|
|
7428
8509
|
}
|
|
7429
8510
|
.RadioGroupInput__label {
|
|
@@ -7441,48 +8522,631 @@ input.Toolbar__search__input[type="text"] {
|
|
|
7441
8522
|
color: var(--color--disabled-field--ink-placeholder);
|
|
7442
8523
|
}
|
|
7443
8524
|
}
|
|
7444
|
-
|
|
7445
|
-
|
|
7446
|
-
|
|
7447
|
-
|
|
8525
|
+
.DateTimeInput {
|
|
8526
|
+
position: relative;
|
|
8527
|
+
display: flex;
|
|
8528
|
+
width: 100%;
|
|
7448
8529
|
}
|
|
7449
|
-
.
|
|
8530
|
+
.DateTimeInput--autosize {
|
|
7450
8531
|
display: inline-flex;
|
|
7451
|
-
|
|
8532
|
+
width: auto;
|
|
8533
|
+
max-width: 100%;
|
|
8534
|
+
}
|
|
8535
|
+
.DateTimeInput__field {
|
|
8536
|
+
flex: 1;
|
|
8537
|
+
padding: 0 4px;
|
|
8538
|
+
|
|
8539
|
+
/* The timezone select is not an InputFrame__input, but its focus also
|
|
8540
|
+
shows the focus ring of the frame */
|
|
8541
|
+
&:has(.DateTimeInput__timezone :focus) {
|
|
8542
|
+
border-color: var(--color--focus--border);
|
|
8543
|
+
box-shadow: var(--focus-ring);
|
|
8544
|
+
}
|
|
8545
|
+
/* A disabled or read-only field has no focus ring. These rules have the
|
|
8546
|
+
specificity of the focus rules of _InputFrame.css, and they come after
|
|
8547
|
+
them, thus they win. */
|
|
8548
|
+
.DateTimeInput.is-disabled &,
|
|
8549
|
+
.DateTimeInput.is-read-only & {
|
|
8550
|
+
border-color: var(--color--border);
|
|
8551
|
+
box-shadow: none;
|
|
8552
|
+
}
|
|
8553
|
+
}
|
|
8554
|
+
/* The date and the time have the width of their text (see sizerText in
|
|
8555
|
+
src/form/DateTimeInput/Base.tsx). Thus no empty space comes between the time and
|
|
8556
|
+
the timezone, and a long format does not get cut. The date, the time and
|
|
8557
|
+
the timezone read as one value: no line separates them. */
|
|
8558
|
+
.DateTimeInput__sizer {
|
|
8559
|
+
--autosize-input-padding-inline: 6px;
|
|
8560
|
+
--autosize-input-border-inline: 0px;
|
|
8561
|
+
flex: none;
|
|
8562
|
+
font-variant-numeric: tabular-nums;
|
|
8563
|
+
}
|
|
8564
|
+
/* The rules of the timezone have three classes, thus they are stronger than
|
|
8565
|
+
the styles of react-select */
|
|
8566
|
+
.DateTimeInput__timezone {
|
|
8567
|
+
flex: none;
|
|
8568
|
+
}
|
|
8569
|
+
/* When the field is wider than its parts, the empty space comes before the
|
|
8570
|
+
clear button. Thus the button stays at the right
|
|
8571
|
+
end, and the value stays together at the left. */
|
|
8572
|
+
.DateTimeInput__clear {
|
|
8573
|
+
margin-left: auto;
|
|
8574
|
+
}
|
|
8575
|
+
.DateTimeInput__field
|
|
8576
|
+
.DateTimeInput__timezone
|
|
8577
|
+
.DateTimeInput__timezone__control {
|
|
8578
|
+
min-height: 0;
|
|
8579
|
+
padding: 2px 4px 2px 8px;
|
|
8580
|
+
color: var(--color--ink-subtle);
|
|
8581
|
+
cursor: pointer;
|
|
8582
|
+
background-color: transparent;
|
|
8583
|
+
border-radius: var(--radius-s);
|
|
8584
|
+
box-shadow: none;
|
|
8585
|
+
transition: background-color 0.2s var(--material-ease);
|
|
8586
|
+
|
|
8587
|
+
&:hover,
|
|
8588
|
+
&.DateTimeInput__timezone__control--menu-is-open {
|
|
8589
|
+
color: var(--color--ink);
|
|
8590
|
+
background-color: var(--color--surface-hover);
|
|
8591
|
+
}
|
|
8592
|
+
/* A disabled timezone is a value, not a button */
|
|
8593
|
+
&.DateTimeInput__timezone__control--is-disabled {
|
|
8594
|
+
color: var(--color--disabled-field--ink);
|
|
8595
|
+
cursor: default;
|
|
8596
|
+
background-color: transparent;
|
|
8597
|
+
}
|
|
8598
|
+
}
|
|
8599
|
+
/* The timezone is at the right end of the field, and its menu is wider than
|
|
8600
|
+
it. Thus the menu aligns with the right edge of the timezone and opens to
|
|
8601
|
+
the left: when the field is near the right edge of the screen, the menu
|
|
8602
|
+
stays in the screen. */
|
|
8603
|
+
.DateTimeInput__field .DateTimeInput__timezone .DateTimeInput__timezone__menu {
|
|
8604
|
+
right: 0;
|
|
8605
|
+
left: auto;
|
|
8606
|
+
}
|
|
8607
|
+
.DateTimeInput__field
|
|
8608
|
+
.DateTimeInput__timezone
|
|
8609
|
+
.DateTimeInput__timezone__single-value {
|
|
8610
|
+
font-variant-numeric: tabular-nums;
|
|
8611
|
+
color: inherit;
|
|
8612
|
+
}
|
|
8613
|
+
.DateTimeInput__field
|
|
8614
|
+
.DateTimeInput__timezone
|
|
8615
|
+
.DateTimeInput__timezone__value-container {
|
|
8616
|
+
padding: 0;
|
|
8617
|
+
}
|
|
8618
|
+
.DateTimeInput__field
|
|
8619
|
+
.DateTimeInput__timezone
|
|
8620
|
+
.DateTimeInput__timezone__dropdown-indicator {
|
|
8621
|
+
padding: 0 0 0 4px;
|
|
8622
|
+
color: inherit;
|
|
8623
|
+
|
|
8624
|
+
svg {
|
|
8625
|
+
width: 14px;
|
|
8626
|
+
height: 14px;
|
|
8627
|
+
}
|
|
8628
|
+
}
|
|
8629
|
+
|
|
8630
|
+
.DateTimeInput--smaller {
|
|
8631
|
+
.DateTimeInput__field {
|
|
8632
|
+
padding: 0;
|
|
8633
|
+
background-color: transparent;
|
|
8634
|
+
border: 0;
|
|
8635
|
+
box-shadow: none;
|
|
8636
|
+
}
|
|
8637
|
+
.DateTimeInput__sizer {
|
|
8638
|
+
--autosize-input-padding-inline: 5px;
|
|
8639
|
+
font-size: var(--font-size-xs);
|
|
8640
|
+
}
|
|
8641
|
+
.DateTimeInput__date,
|
|
8642
|
+
.DateTimeInput__time {
|
|
8643
|
+
padding-block: 5px;
|
|
8644
|
+
}
|
|
7452
8645
|
}
|
|
7453
|
-
|
|
8646
|
+
|
|
8647
|
+
.DateTimeInput__date-popper {
|
|
8648
|
+
box-sizing: border-box;
|
|
8649
|
+
width: 272px;
|
|
8650
|
+
padding: 8px;
|
|
8651
|
+
background-color: var(--color--surface-raised);
|
|
8652
|
+
border: 1px solid var(--color--border-raised);
|
|
8653
|
+
border-radius: var(--radius-m);
|
|
8654
|
+
box-shadow: var(--shadow--floating);
|
|
8655
|
+
}
|
|
8656
|
+
.DateTimeInput__CalendarHeader {
|
|
7454
8657
|
display: flex;
|
|
7455
8658
|
align-items: center;
|
|
7456
|
-
|
|
7457
|
-
|
|
7458
|
-
|
|
7459
|
-
|
|
8659
|
+
margin-bottom: 4px;
|
|
8660
|
+
}
|
|
8661
|
+
.DateTimeInput__CalendarHeader__title {
|
|
8662
|
+
flex: 1;
|
|
8663
|
+
padding-left: 6px;
|
|
8664
|
+
font-weight: var(--font-weight-strong);
|
|
8665
|
+
}
|
|
8666
|
+
.DateTimeInput__CalendarHeader__actions {
|
|
8667
|
+
display: flex;
|
|
8668
|
+
}
|
|
8669
|
+
.DateTimeInput__CalendarHeader__action--today svg {
|
|
8670
|
+
font-size: 0.8em;
|
|
8671
|
+
}
|
|
8672
|
+
.DateTimeInput__CalendarGrid {
|
|
8673
|
+
display: grid;
|
|
8674
|
+
grid-template-columns: repeat(7, 1fr);
|
|
8675
|
+
gap: 2px;
|
|
8676
|
+
text-align: center;
|
|
8677
|
+
}
|
|
8678
|
+
/* The rows and the cells of the grid role give no box: the days are the
|
|
8679
|
+
items of the CSS grid */
|
|
8680
|
+
.DateTimeInput__CalendarRow,
|
|
8681
|
+
.DateTimeInput__CalendarCell {
|
|
8682
|
+
display: contents;
|
|
8683
|
+
}
|
|
8684
|
+
.DateTimeInput__CalendarWeekDay {
|
|
8685
|
+
padding: 6px 0;
|
|
8686
|
+
font-size: var(--font-size-xs);
|
|
8687
|
+
color: var(--color--ink-subtle);
|
|
8688
|
+
}
|
|
8689
|
+
.DateTimeInput__CalendarDayCell {
|
|
8690
|
+
position: relative;
|
|
8691
|
+
height: 32px;
|
|
8692
|
+
padding: 0;
|
|
8693
|
+
font-variant-numeric: tabular-nums;
|
|
8694
|
+
color: var(--color--ink);
|
|
8695
|
+
cursor: pointer;
|
|
8696
|
+
background: none;
|
|
8697
|
+
border: 0;
|
|
7460
8698
|
border-radius: var(--radius-s);
|
|
8699
|
+
|
|
8700
|
+
&:hover {
|
|
8701
|
+
background-color: var(--color--surface-hover);
|
|
8702
|
+
}
|
|
8703
|
+
&:focus-visible {
|
|
8704
|
+
box-shadow: var(--focus-ring);
|
|
8705
|
+
}
|
|
8706
|
+
&[disabled],
|
|
8707
|
+
&[aria-disabled="true"] {
|
|
8708
|
+
color: var(--color--ink-disabled);
|
|
8709
|
+
cursor: not-allowed;
|
|
8710
|
+
|
|
8711
|
+
&:hover {
|
|
8712
|
+
background: none;
|
|
8713
|
+
}
|
|
8714
|
+
}
|
|
7461
8715
|
}
|
|
7462
|
-
.
|
|
7463
|
-
|
|
7464
|
-
|
|
7465
|
-
|
|
7466
|
-
|
|
8716
|
+
.DateTimeInput__CalendarDayCell--inAdjacentMonth {
|
|
8717
|
+
color: var(--color--ink-subtle);
|
|
8718
|
+
}
|
|
8719
|
+
.DateTimeInput__CalendarDayCell--isToday {
|
|
8720
|
+
font-weight: var(--font-weight-strong);
|
|
8721
|
+
box-shadow: inset 0 0 0 1px var(--color--selected--border);
|
|
8722
|
+
}
|
|
8723
|
+
.DateTimeInput__CalendarDayCell--inRange {
|
|
8724
|
+
background-color: var(--color--selected--surface);
|
|
8725
|
+
}
|
|
8726
|
+
.DateTimeInput__CalendarDayCell--isSelected {
|
|
8727
|
+
font-weight: var(--font-weight-strong);
|
|
8728
|
+
color: var(--color--primary--ink);
|
|
8729
|
+
background-color: var(--color--primary--surface);
|
|
8730
|
+
box-shadow: none;
|
|
8731
|
+
|
|
8732
|
+
&:hover {
|
|
8733
|
+
background-color: var(--color--primary--surface);
|
|
8734
|
+
}
|
|
8735
|
+
}
|
|
8736
|
+
.DateTimeRangeInput {
|
|
8737
|
+
position: relative;
|
|
8738
|
+
display: flex;
|
|
8739
|
+
width: 100%;
|
|
8740
|
+
}
|
|
8741
|
+
.DateTimeRangeInput--autosize {
|
|
8742
|
+
display: inline-flex;
|
|
8743
|
+
width: auto;
|
|
8744
|
+
max-width: 100%;
|
|
8745
|
+
}
|
|
8746
|
+
.DateTimeRangeInput__dropdown {
|
|
8747
|
+
display: flex;
|
|
8748
|
+
flex: 1;
|
|
8749
|
+
min-width: 0;
|
|
8750
|
+
}
|
|
8751
|
+
|
|
8752
|
+
/* The trigger has the look of a field, so it has the height of a field (see
|
|
8753
|
+
--control-height) */
|
|
8754
|
+
.DateTimeRangeInput__trigger {
|
|
8755
|
+
box-sizing: border-box;
|
|
8756
|
+
display: flex;
|
|
8757
|
+
flex: 1;
|
|
8758
|
+
gap: 8px;
|
|
8759
|
+
align-items: center;
|
|
8760
|
+
min-width: 0;
|
|
8761
|
+
min-height: var(--control-height);
|
|
8762
|
+
padding: 10px;
|
|
8763
|
+
font-size: var(--font-size-m);
|
|
7467
8764
|
color: var(--color--ink);
|
|
7468
|
-
|
|
8765
|
+
cursor: pointer;
|
|
8766
|
+
background: var(--color--surface-raised);
|
|
7469
8767
|
border: 1px solid var(--color--border);
|
|
7470
|
-
border-
|
|
7471
|
-
border-
|
|
7472
|
-
|
|
8768
|
+
border-radius: var(--radius-s);
|
|
8769
|
+
transition: border-color 0.15s ease;
|
|
8770
|
+
|
|
8771
|
+
&:hover {
|
|
8772
|
+
border-color: var(--color--border-hover);
|
|
8773
|
+
}
|
|
8774
|
+
&[aria-expanded="true"] {
|
|
8775
|
+
border-color: var(--color--focus--border);
|
|
8776
|
+
}
|
|
8777
|
+
&:focus-visible {
|
|
8778
|
+
border-color: var(--color--focus--border);
|
|
8779
|
+
box-shadow: var(--focus-ring);
|
|
8780
|
+
}
|
|
8781
|
+
|
|
8782
|
+
svg {
|
|
8783
|
+
color: var(--color--ink-subtle);
|
|
8784
|
+
}
|
|
8785
|
+
|
|
8786
|
+
/* A locked trigger is a field that the user cannot change: the value stays
|
|
8787
|
+
readable */
|
|
8788
|
+
.DateTimeRangeInput.is-disabled &,
|
|
8789
|
+
.DateTimeRangeInput.is-read-only & {
|
|
8790
|
+
cursor: default;
|
|
8791
|
+
border-color: var(--color--border);
|
|
8792
|
+
}
|
|
8793
|
+
.DateTimeRangeInput.is-disabled & {
|
|
8794
|
+
color: var(--color--disabled-field--ink);
|
|
8795
|
+
background: var(--color--disabled-field--surface);
|
|
8796
|
+
}
|
|
7473
8797
|
}
|
|
7474
|
-
.
|
|
7475
|
-
|
|
7476
|
-
|
|
8798
|
+
.DateTimeRangeInput__trigger-icon {
|
|
8799
|
+
flex-shrink: 0;
|
|
8800
|
+
width: 14px;
|
|
8801
|
+
height: 14px;
|
|
8802
|
+
}
|
|
8803
|
+
.DateTimeRangeInput__trigger-label {
|
|
8804
|
+
flex: 1;
|
|
8805
|
+
overflow: hidden;
|
|
8806
|
+
text-overflow: ellipsis;
|
|
8807
|
+
text-align: left;
|
|
8808
|
+
white-space: nowrap;
|
|
7477
8809
|
}
|
|
7478
|
-
|
|
8810
|
+
|
|
8811
|
+
/* The clear button is over the right end of the trigger, where the chevron
|
|
8812
|
+
is in the other states. The trigger keeps space for it, so the label does
|
|
8813
|
+
not go below it. */
|
|
8814
|
+
.DateTimeRangeInput--clearable .DateTimeRangeInput__trigger {
|
|
8815
|
+
padding-right: calc(10px + 1lh + 2 * 0.3em);
|
|
8816
|
+
}
|
|
8817
|
+
.DateTimeRangeInput__clear {
|
|
8818
|
+
position: absolute;
|
|
8819
|
+
top: 50%;
|
|
8820
|
+
right: 6px;
|
|
8821
|
+
transform: translateY(-50%);
|
|
8822
|
+
}
|
|
8823
|
+
|
|
8824
|
+
/* The box around a filter draws the focus ring, as for the other inputs of
|
|
8825
|
+
the filter look */
|
|
8826
|
+
.DateTimeRangeInput--filter .DateTimeRangeInput__trigger {
|
|
8827
|
+
min-height: 0;
|
|
8828
|
+
padding: 5px;
|
|
8829
|
+
font-size: var(--font-size-xs);
|
|
8830
|
+
background: transparent;
|
|
8831
|
+
border: 0;
|
|
8832
|
+
box-shadow: none;
|
|
8833
|
+
}
|
|
8834
|
+
|
|
8835
|
+
.DateTimeRangeInput__panel {
|
|
8836
|
+
box-sizing: border-box;
|
|
8837
|
+
width: 280px;
|
|
8838
|
+
padding: 12px;
|
|
8839
|
+
background: var(--color--surface-raised);
|
|
8840
|
+
border: 1px solid var(--color--border-raised);
|
|
8841
|
+
border-radius: var(--radius-m);
|
|
8842
|
+
box-shadow: var(--shadow--floating);
|
|
8843
|
+
}
|
|
8844
|
+
.DateTimeRangeInput__edges {
|
|
7479
8845
|
display: flex;
|
|
7480
|
-
|
|
7481
|
-
|
|
7482
|
-
margin-
|
|
8846
|
+
flex-direction: column;
|
|
8847
|
+
gap: 8px;
|
|
8848
|
+
margin-top: 12px;
|
|
8849
|
+
}
|
|
8850
|
+
.DateTimeRangeInput__edge-label {
|
|
8851
|
+
display: block;
|
|
8852
|
+
margin-bottom: 4px;
|
|
8853
|
+
font-weight: var(--font-weight-strong);
|
|
8854
|
+
color: var(--color--ink-subtle);
|
|
8855
|
+
}
|
|
8856
|
+
.DateTimeRangeInput__edge-inputs {
|
|
8857
|
+
display: flex;
|
|
8858
|
+
gap: 6px;
|
|
8859
|
+
}
|
|
8860
|
+
.DateTimeRangeInput__edge-date {
|
|
8861
|
+
flex: 1.3;
|
|
8862
|
+
min-width: 0;
|
|
8863
|
+
|
|
8864
|
+
/* The next pick in the calendar sets the end of this text */
|
|
8865
|
+
&.is-active {
|
|
8866
|
+
border-color: var(--color--focus--border);
|
|
8867
|
+
}
|
|
8868
|
+
}
|
|
8869
|
+
.DateTimeRangeInput__edge-time {
|
|
8870
|
+
flex: 0.7;
|
|
8871
|
+
min-width: 0;
|
|
8872
|
+
}
|
|
8873
|
+
.ColorInput {
|
|
8874
|
+
position: relative;
|
|
8875
|
+
display: flex;
|
|
8876
|
+
width: 100%;
|
|
8877
|
+
}
|
|
8878
|
+
/* A width that fits a hex value with alpha (#RRGGBBAA) and the clear button */
|
|
8879
|
+
.ColorInput--autosize {
|
|
8880
|
+
display: inline-flex;
|
|
8881
|
+
width: 220px;
|
|
8882
|
+
max-width: 100%;
|
|
8883
|
+
}
|
|
8884
|
+
.ColorInput__field {
|
|
8885
|
+
flex: 1;
|
|
8886
|
+
}
|
|
8887
|
+
.ColorInput__swatch {
|
|
8888
|
+
display: flex;
|
|
8889
|
+
flex: none;
|
|
8890
|
+
padding: 0 0 0 8px;
|
|
8891
|
+
cursor: pointer;
|
|
8892
|
+
background: none;
|
|
8893
|
+
border: 0;
|
|
8894
|
+
|
|
8895
|
+
&[disabled] {
|
|
8896
|
+
cursor: default;
|
|
8897
|
+
}
|
|
8898
|
+
}
|
|
8899
|
+
/* The color (see the --ColorInput-swatch property, which the component sets)
|
|
8900
|
+
is on top of a checkerboard, which shows the alpha. The two are layers of
|
|
8901
|
+
one background, thus the checkerboard does not show at the rounded
|
|
8902
|
+
corners. */
|
|
8903
|
+
.ColorInput__swatch__color {
|
|
8904
|
+
position: relative;
|
|
8905
|
+
display: block;
|
|
8906
|
+
width: 22px;
|
|
8907
|
+
height: 22px;
|
|
8908
|
+
overflow: hidden;
|
|
8909
|
+
background:
|
|
8910
|
+
linear-gradient(var(--ColorInput-swatch), var(--ColorInput-swatch)),
|
|
8911
|
+
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==");
|
|
8912
|
+
border-radius: var(--radius-s);
|
|
8913
|
+
/* A translucent hairline. It is visible only when the color is near the
|
|
8914
|
+
color of the surface. */
|
|
8915
|
+
/* token-audit-disable-next-line color-mix -- a translucent hairline around the swatch */
|
|
8916
|
+
box-shadow: inset 0 0 0 1px
|
|
8917
|
+
color-mix(in oklch, var(--color--ink) 15%, transparent);
|
|
8918
|
+
|
|
8919
|
+
&.is-empty {
|
|
8920
|
+
background: none;
|
|
8921
|
+
|
|
8922
|
+
&::after {
|
|
8923
|
+
position: absolute;
|
|
8924
|
+
top: 50%;
|
|
8925
|
+
left: -20%;
|
|
8926
|
+
width: 140%;
|
|
8927
|
+
height: 1px;
|
|
8928
|
+
content: "";
|
|
8929
|
+
/* token-audit-disable-next-line mismatch -- a 1px line, drawn with the ink color */
|
|
8930
|
+
background-color: var(--color--ink-subtle);
|
|
8931
|
+
transform: rotate(-45deg);
|
|
8932
|
+
}
|
|
8933
|
+
}
|
|
7483
8934
|
}
|
|
7484
|
-
.
|
|
8935
|
+
.ColorInput__hex {
|
|
7485
8936
|
flex: 1;
|
|
8937
|
+
min-width: 0;
|
|
8938
|
+
font-family: var(--monospaced-font-family);
|
|
8939
|
+
text-transform: uppercase;
|
|
8940
|
+
|
|
8941
|
+
&::placeholder {
|
|
8942
|
+
font-family: var(--base-font-family);
|
|
8943
|
+
text-transform: none;
|
|
8944
|
+
}
|
|
8945
|
+
}
|
|
8946
|
+
.ColorInput__clear {
|
|
8947
|
+
margin-right: 4px;
|
|
8948
|
+
}
|
|
8949
|
+
.ColorInput__pane {
|
|
8950
|
+
box-sizing: border-box;
|
|
8951
|
+
width: 240px;
|
|
8952
|
+
padding: var(--spacing-m);
|
|
8953
|
+
background-color: var(--color--surface-raised);
|
|
8954
|
+
border: 1px solid var(--color--border-raised);
|
|
8955
|
+
border-radius: var(--radius-m);
|
|
8956
|
+
box-shadow: var(--shadow--floating);
|
|
8957
|
+
}
|
|
8958
|
+
/* The picker root has display: contents, thus the saturation area, the
|
|
8959
|
+
sliders and the eye dropper are cells of one grid. The eye dropper is in
|
|
8960
|
+
the left column, next to the sliders. */
|
|
8961
|
+
.ColorInput__picker-area {
|
|
8962
|
+
display: grid;
|
|
8963
|
+
grid-template-columns: 1fr;
|
|
8964
|
+
gap: var(--spacing-s);
|
|
8965
|
+
align-items: center;
|
|
8966
|
+
|
|
8967
|
+
&.has-eye-dropper {
|
|
8968
|
+
grid-template-columns: auto 1fr;
|
|
8969
|
+
}
|
|
8970
|
+
}
|
|
8971
|
+
.ColorInput__picker.react-colorful {
|
|
8972
|
+
--ColorInput-slider-pointer: 14px;
|
|
8973
|
+
|
|
8974
|
+
display: contents;
|
|
8975
|
+
|
|
8976
|
+
.react-colorful__saturation {
|
|
8977
|
+
grid-column: 1 / -1;
|
|
8978
|
+
height: 140px;
|
|
8979
|
+
margin-bottom: var(--spacing-s);
|
|
8980
|
+
border-bottom: 0;
|
|
8981
|
+
border-radius: var(--radius-s);
|
|
8982
|
+
}
|
|
8983
|
+
/* The slider pointer has its center on the value, thus at the two ends
|
|
8984
|
+
it goes out of the track by half its width. The inline margin keeps it
|
|
8985
|
+
inside the grid cell, away from the eye dropper and the pane edge. */
|
|
8986
|
+
.react-colorful__hue,
|
|
8987
|
+
.react-colorful__alpha {
|
|
8988
|
+
grid-column: -2 / -1;
|
|
8989
|
+
height: 12px;
|
|
8990
|
+
margin-inline: calc(var(--ColorInput-slider-pointer) / 2);
|
|
8991
|
+
border-radius: var(--radius-full);
|
|
8992
|
+
}
|
|
8993
|
+
.react-colorful__pointer {
|
|
8994
|
+
width: 16px;
|
|
8995
|
+
height: 16px;
|
|
8996
|
+
border-width: 2px;
|
|
8997
|
+
}
|
|
8998
|
+
.react-colorful__hue-pointer,
|
|
8999
|
+
.react-colorful__alpha-pointer {
|
|
9000
|
+
width: var(--ColorInput-slider-pointer);
|
|
9001
|
+
height: var(--ColorInput-slider-pointer);
|
|
9002
|
+
}
|
|
9003
|
+
}
|
|
9004
|
+
.ColorInput__eye-dropper {
|
|
9005
|
+
grid-row: 2;
|
|
9006
|
+
grid-column: 1;
|
|
9007
|
+
|
|
9008
|
+
.has-alpha > & {
|
|
9009
|
+
grid-row: 2 / span 2;
|
|
9010
|
+
}
|
|
9011
|
+
}
|
|
9012
|
+
.ColorInput__pane__footer {
|
|
9013
|
+
display: flex;
|
|
9014
|
+
flex-wrap: wrap;
|
|
9015
|
+
gap: var(--spacing-s);
|
|
9016
|
+
align-items: center;
|
|
9017
|
+
padding-top: var(--spacing-m);
|
|
9018
|
+
margin-top: var(--spacing-m);
|
|
9019
|
+
border-top: 1px solid var(--color--border);
|
|
9020
|
+
}
|
|
9021
|
+
.ColorInput__preset {
|
|
9022
|
+
display: flex;
|
|
9023
|
+
padding: 2px;
|
|
9024
|
+
cursor: pointer;
|
|
9025
|
+
background: none;
|
|
9026
|
+
border: 0;
|
|
9027
|
+
border-radius: var(--radius-s);
|
|
9028
|
+
|
|
9029
|
+
&:hover,
|
|
9030
|
+
&:focus-visible {
|
|
9031
|
+
box-shadow: 0 0 0 2px var(--color--border-hover);
|
|
9032
|
+
}
|
|
9033
|
+
&.is-selected {
|
|
9034
|
+
box-shadow: 0 0 0 2px var(--color--selected--border);
|
|
9035
|
+
}
|
|
9036
|
+
.ColorInput__swatch__color {
|
|
9037
|
+
width: 20px;
|
|
9038
|
+
height: 20px;
|
|
9039
|
+
}
|
|
9040
|
+
}
|
|
9041
|
+
/* A thick track with a pill thumb. The part of the track before the thumb
|
|
9042
|
+
has the color of a control that is on, the part after it is muted.
|
|
9043
|
+
The component sets --RangeInput-value (0 to 1). */
|
|
9044
|
+
.RangeInput {
|
|
9045
|
+
--RangeInput-thumb-width: 28px;
|
|
9046
|
+
--RangeInput-thumb-height: 18px;
|
|
9047
|
+
--RangeInput-track-height: 6px;
|
|
9048
|
+
/* The center of the thumb: the thumb stays inside the track. */
|
|
9049
|
+
--RangeInput-fill: calc(
|
|
9050
|
+
var(--RangeInput-thumb-width) /
|
|
9051
|
+
2 +
|
|
9052
|
+
var(--RangeInput-value, 0) *
|
|
9053
|
+
(100% - var(--RangeInput-thumb-width))
|
|
9054
|
+
);
|
|
9055
|
+
width: 100%;
|
|
9056
|
+
height: var(--RangeInput-thumb-height);
|
|
9057
|
+
margin: 0;
|
|
9058
|
+
appearance: none;
|
|
9059
|
+
cursor: pointer;
|
|
9060
|
+
background: none;
|
|
9061
|
+
|
|
9062
|
+
&.is-disabled {
|
|
9063
|
+
pointer-events: none;
|
|
9064
|
+
opacity: var(--disabled-opacity);
|
|
9065
|
+
}
|
|
9066
|
+
|
|
9067
|
+
&:focus-visible {
|
|
9068
|
+
outline: none;
|
|
9069
|
+
border-radius: var(--radius-full);
|
|
9070
|
+
box-shadow: var(--focus-ring);
|
|
9071
|
+
}
|
|
9072
|
+
|
|
9073
|
+
/* Two hard stops: no fade. */
|
|
9074
|
+
&::-webkit-slider-runnable-track {
|
|
9075
|
+
height: var(--RangeInput-track-height);
|
|
9076
|
+
background: linear-gradient(
|
|
9077
|
+
to right,
|
|
9078
|
+
var(--color--control-on--surface) var(--RangeInput-fill),
|
|
9079
|
+
var(--color--surface-muted) var(--RangeInput-fill)
|
|
9080
|
+
);
|
|
9081
|
+
border-radius: var(--radius-full);
|
|
9082
|
+
}
|
|
9083
|
+
&::-moz-range-track {
|
|
9084
|
+
height: var(--RangeInput-track-height);
|
|
9085
|
+
background: var(--color--surface-muted);
|
|
9086
|
+
border-radius: var(--radius-full);
|
|
9087
|
+
}
|
|
9088
|
+
&::-moz-range-progress {
|
|
9089
|
+
height: var(--RangeInput-track-height);
|
|
9090
|
+
background: var(--color--control-on--surface);
|
|
9091
|
+
border-radius: var(--radius-full);
|
|
9092
|
+
}
|
|
9093
|
+
|
|
9094
|
+
&::-webkit-slider-thumb {
|
|
9095
|
+
box-sizing: border-box;
|
|
9096
|
+
width: var(--RangeInput-thumb-width);
|
|
9097
|
+
height: var(--RangeInput-thumb-height);
|
|
9098
|
+
margin-top: calc(
|
|
9099
|
+
(var(--RangeInput-track-height) - var(--RangeInput-thumb-height)) /
|
|
9100
|
+
2
|
|
9101
|
+
);
|
|
9102
|
+
appearance: none;
|
|
9103
|
+
background: var(--color--surface);
|
|
9104
|
+
/* token-audit-disable-next-line mismatch -- the ring has the color of the filled part of the track */
|
|
9105
|
+
border: 2.5px solid var(--color--control-on--surface);
|
|
9106
|
+
border-radius: var(--radius-full);
|
|
9107
|
+
}
|
|
9108
|
+
&::-moz-range-thumb {
|
|
9109
|
+
box-sizing: border-box;
|
|
9110
|
+
width: var(--RangeInput-thumb-width);
|
|
9111
|
+
height: var(--RangeInput-thumb-height);
|
|
9112
|
+
background: var(--color--surface);
|
|
9113
|
+
/* token-audit-disable-next-line mismatch -- the ring has the color of the filled part of the track */
|
|
9114
|
+
border: 2.5px solid var(--color--control-on--surface);
|
|
9115
|
+
border-radius: var(--radius-full);
|
|
9116
|
+
}
|
|
9117
|
+
}
|
|
9118
|
+
/* All are kbd elements: the normalize sheet gives a kbd the monospace font */
|
|
9119
|
+
.Shortcut,
|
|
9120
|
+
.Shortcut__key {
|
|
9121
|
+
font-family: inherit;
|
|
9122
|
+
}
|
|
9123
|
+
/* The sizes are in em, because the spacing scale has no step under
|
|
9124
|
+
--spacing-s. The key keeps the same proportions at each font size. */
|
|
9125
|
+
.Shortcut,
|
|
9126
|
+
.Shortcut__keys {
|
|
9127
|
+
display: inline-flex;
|
|
9128
|
+
gap: 0.25em;
|
|
9129
|
+
align-items: center;
|
|
9130
|
+
font-size: var(--font-size-xs);
|
|
9131
|
+
}
|
|
9132
|
+
/* A neutral keycap: the keys must not compete with the name of the action
|
|
9133
|
+
next to them */
|
|
9134
|
+
.Shortcut__key {
|
|
9135
|
+
box-sizing: border-box;
|
|
9136
|
+
display: flex;
|
|
9137
|
+
align-items: center;
|
|
9138
|
+
justify-content: center;
|
|
9139
|
+
min-width: 1.6em;
|
|
9140
|
+
height: 1.6em;
|
|
9141
|
+
padding-inline: 0.3em;
|
|
9142
|
+
line-height: 1;
|
|
9143
|
+
color: var(--color--ink-subtle);
|
|
9144
|
+
background-color: var(--color--surface-raised);
|
|
9145
|
+
border: 1px solid var(--color--border);
|
|
9146
|
+
border-radius: var(--radius-s);
|
|
9147
|
+
}
|
|
9148
|
+
.Shortcut__word {
|
|
9149
|
+
color: var(--color--ink-subtle);
|
|
7486
9150
|
}
|
|
7487
9151
|
.Pane {
|
|
7488
9152
|
position: absolute;
|
|
@@ -7568,7 +9232,7 @@ input.Toolbar__search__input[type="text"] {
|
|
|
7568
9232
|
flex-shrink: 0;
|
|
7569
9233
|
width: 1rem;
|
|
7570
9234
|
height: 1rem;
|
|
7571
|
-
|
|
9235
|
+
color: var(--color--ink-subtle);
|
|
7572
9236
|
}
|
|
7573
9237
|
}
|
|
7574
9238
|
/* The padding is the inset above the first group and below the last group:
|
|
@@ -7594,7 +9258,7 @@ input.Toolbar__search__input[type="text"] {
|
|
|
7594
9258
|
.SettingsMenu__end--new-tab svg {
|
|
7595
9259
|
width: 0.75em;
|
|
7596
9260
|
height: 0.75em;
|
|
7597
|
-
|
|
9261
|
+
color: var(--color--ink-subtle);
|
|
7598
9262
|
}
|
|
7599
9263
|
.IdText {
|
|
7600
9264
|
font-family: var(--monospaced-font-family);
|
|
@@ -7933,13 +9597,12 @@ input.Toolbar__search__input[type="text"] {
|
|
|
7933
9597
|
font-size: 12px;
|
|
7934
9598
|
color: var(--color--ink-subtle);
|
|
7935
9599
|
background: var(--color--surface);
|
|
7936
|
-
border: 1px solid var(--color--border);
|
|
9600
|
+
border: 1px solid var(--color--border-raised);
|
|
7937
9601
|
border-radius: var(--radius-s);
|
|
7938
9602
|
box-shadow: var(--shadow--floating);
|
|
7939
9603
|
|
|
7940
9604
|
svg {
|
|
7941
9605
|
display: block;
|
|
7942
|
-
fill: currentColor;
|
|
7943
9606
|
}
|
|
7944
9607
|
.SplitViewSash__content:hover & {
|
|
7945
9608
|
color: var(--color--ink);
|
|
@@ -8007,7 +9670,6 @@ body.SplitView--disable-select {
|
|
|
8007
9670
|
|
|
8008
9671
|
svg {
|
|
8009
9672
|
display: block;
|
|
8010
|
-
fill: currentColor;
|
|
8011
9673
|
}
|
|
8012
9674
|
}
|
|
8013
9675
|
|
|
@@ -8121,9 +9783,19 @@ body.SplitView--disable-select {
|
|
|
8121
9783
|
}
|
|
8122
9784
|
.SplitPaneOverlay__secondary--left {
|
|
8123
9785
|
left: 0;
|
|
9786
|
+
border-right: 1px solid var(--color--border-raised);
|
|
9787
|
+
|
|
9788
|
+
/* The ring of the overlay is the edge of the pane that floats. A Pane in it
|
|
9789
|
+
has a right border of its own, which makes a double edge next to the ring.
|
|
9790
|
+
The same rule is in _ListDetail.css for the detail that floats. */
|
|
9791
|
+
> .Pane,
|
|
9792
|
+
> aside > .Pane {
|
|
9793
|
+
border-right: 0;
|
|
9794
|
+
}
|
|
8124
9795
|
}
|
|
8125
9796
|
.SplitPaneOverlay__secondary--right {
|
|
8126
9797
|
right: 0;
|
|
9798
|
+
border-left: 1px solid var(--color--border-raised);
|
|
8127
9799
|
}
|
|
8128
9800
|
/* Use the <Pill> component, or <PillTrigger> for a dropdown. The pill has no
|
|
8129
9801
|
margin: the parent sets the space around it. The padding is in the width,
|
|
@@ -8141,7 +9813,7 @@ body.SplitView--disable-select {
|
|
|
8141
9813
|
margin: 0;
|
|
8142
9814
|
font-family: inherit;
|
|
8143
9815
|
font-size: var(--font-size-xs);
|
|
8144
|
-
font-weight:
|
|
9816
|
+
font-weight: var(--font-weight-regular);
|
|
8145
9817
|
line-height: 1.5;
|
|
8146
9818
|
vertical-align: middle;
|
|
8147
9819
|
white-space: nowrap;
|
|
@@ -8155,7 +9827,6 @@ body.SplitView--disable-select {
|
|
|
8155
9827
|
}
|
|
8156
9828
|
> svg {
|
|
8157
9829
|
flex: none;
|
|
8158
|
-
fill: currentColor;
|
|
8159
9830
|
}
|
|
8160
9831
|
> .ItemTypeEmoji {
|
|
8161
9832
|
flex: none;
|
|
@@ -8215,7 +9886,6 @@ body.SplitView--disable-select {
|
|
|
8215
9886
|
/* The title is subtle and small, thus it does not compete with the items */
|
|
8216
9887
|
.group-title {
|
|
8217
9888
|
font-size: var(--font-size-xs);
|
|
8218
|
-
font-weight: 500;
|
|
8219
9889
|
line-height: 18px;
|
|
8220
9890
|
color: var(--color--ink-subtle);
|
|
8221
9891
|
}
|
|
@@ -8300,20 +9970,19 @@ body.SplitView--disable-select {
|
|
|
8300
9970
|
}
|
|
8301
9971
|
|
|
8302
9972
|
/* The area of the overview of an empty section. It has the largest width of
|
|
8303
|
-
the split
|
|
9973
|
+
the split. It has no line at its right edge, because no content ends
|
|
9974
|
+
there. */
|
|
8304
9975
|
.ListDetailOverview {
|
|
8305
9976
|
position: absolute;
|
|
8306
9977
|
inset: 0;
|
|
8307
9978
|
right: auto;
|
|
8308
9979
|
box-sizing: border-box;
|
|
8309
9980
|
width: 100%;
|
|
8310
|
-
border-right: 1px solid var(--color--border);
|
|
8311
9981
|
}
|
|
8312
9982
|
|
|
8313
9983
|
/* The detail at the right of the list. The split gives its width (the user
|
|
8314
9984
|
resizes it with the sash on its right border); more space at its right
|
|
8315
|
-
stays empty.
|
|
8316
|
-
row. */
|
|
9985
|
+
stays empty. Without an open row, it holds a blank slate. */
|
|
8317
9986
|
.ListDetailSplit__detail {
|
|
8318
9987
|
position: relative;
|
|
8319
9988
|
box-sizing: border-box;
|
|
@@ -8326,20 +9995,24 @@ body.SplitView--disable-select {
|
|
|
8326
9995
|
border-right: 0;
|
|
8327
9996
|
}
|
|
8328
9997
|
}
|
|
9998
|
+
/* Without an open row, no content ends at the right edge of the detail */
|
|
9999
|
+
.ListDetailSplit__detail--empty {
|
|
10000
|
+
border-right: 0;
|
|
10001
|
+
}
|
|
8329
10002
|
/* The sash on the right border of the detail goes out of the detail. When
|
|
8330
10003
|
the detail fills its pane, the pane does not scroll for it. */
|
|
8331
10004
|
.SplitViewPane:has(> .ListDetailSplit__detail) {
|
|
8332
10005
|
overflow-x: clip;
|
|
8333
10006
|
}
|
|
8334
10007
|
|
|
8335
|
-
/*
|
|
8336
|
-
it */
|
|
10008
|
+
/* With the "over" placement, the list uses all the width and the detail goes
|
|
10009
|
+
over it. The split gives the width of a detail that the user resizes. */
|
|
8337
10010
|
.ListDetailSplit__list {
|
|
8338
10011
|
position: relative;
|
|
8339
10012
|
flex: 1 1 auto;
|
|
8340
10013
|
min-width: 0;
|
|
8341
10014
|
}
|
|
8342
|
-
.ListDetailSplit--
|
|
10015
|
+
.ListDetailSplit--over .ListDetailSplit__detail {
|
|
8343
10016
|
position: absolute;
|
|
8344
10017
|
top: 0;
|
|
8345
10018
|
right: 0;
|
|
@@ -8349,6 +10022,7 @@ body.SplitView--disable-select {
|
|
|
8349
10022
|
max-width: 100%;
|
|
8350
10023
|
height: auto;
|
|
8351
10024
|
background: var(--color--surface);
|
|
10025
|
+
border-left: 1px solid var(--color--border-raised);
|
|
8352
10026
|
box-shadow: var(--shadow--floating);
|
|
8353
10027
|
}
|
|
8354
10028
|
|
|
@@ -8375,7 +10049,7 @@ body.SplitView--disable-select {
|
|
|
8375
10049
|
min-width: 0;
|
|
8376
10050
|
}
|
|
8377
10051
|
.ListDetailPanel__entity__title {
|
|
8378
|
-
font-weight:
|
|
10052
|
+
font-weight: var(--font-weight-strong);
|
|
8379
10053
|
}
|
|
8380
10054
|
.ListDetailPanel__entity__subtitle {
|
|
8381
10055
|
margin-top: 2px;
|
|
@@ -8407,7 +10081,9 @@ body.SplitView--disable-select {
|
|
|
8407
10081
|
background: var(--color--fill-danger);
|
|
8408
10082
|
}
|
|
8409
10083
|
}
|
|
8410
|
-
/* Like an icon, the ring has the size of the text around it
|
|
10084
|
+
/* Like an icon, the ring has the size of the text around it. Within the
|
|
10085
|
+
limit, the fill is gray as an icon, thus only a ring over the limit
|
|
10086
|
+
catches the eye. */
|
|
8411
10087
|
.UsageRing {
|
|
8412
10088
|
width: 1em;
|
|
8413
10089
|
height: 1em;
|
|
@@ -8419,7 +10095,7 @@ body.SplitView--disable-select {
|
|
|
8419
10095
|
stroke: var(--color--progress--track);
|
|
8420
10096
|
}
|
|
8421
10097
|
.UsageRing__fill {
|
|
8422
|
-
stroke: var(--color--
|
|
10098
|
+
stroke: var(--color--ink-subtle);
|
|
8423
10099
|
|
|
8424
10100
|
.UsageRing--over & {
|
|
8425
10101
|
stroke: var(--color--fill-warning);
|
|
@@ -8471,7 +10147,7 @@ body.SplitView--disable-select {
|
|
|
8471
10147
|
}
|
|
8472
10148
|
}
|
|
8473
10149
|
.ContextInspector__name {
|
|
8474
|
-
font-weight:
|
|
10150
|
+
font-weight: var(--font-weight-strong);
|
|
8475
10151
|
}
|
|
8476
10152
|
.ContextInspector__type {
|
|
8477
10153
|
color: var(--color--ink-subtle);
|