datocms-react-ui 3.1.0-next.5 → 4.0.0-next.7
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 +2 -1
- package/dist/DateInput.d.ts +2 -0
- package/dist/DateInput.js +2 -0
- 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/FilterBuilder.d.ts +2 -0
- package/dist/FilterBuilder.js +2 -0
- package/dist/LICENSE-lucide.txt +43 -0
- package/dist/RecordRow.d.ts +2 -0
- package/dist/RecordRow.js +2 -0
- package/dist/UploadCard.js +2 -2
- package/dist/UploadPreview.d.ts +2 -2
- package/dist/UploadPreview.js +1 -1
- package/dist/UserRow.d.ts +2 -0
- package/dist/UserRow.js +2 -0
- package/dist/react-ui/src/Canvas.d.ts +7 -1
- package/dist/react-ui/src/Canvas.js +26 -4
- package/dist/react-ui/src/ctxAnswer.js +21 -0
- package/dist/react-ui/src/ctxDateSettings.js +7 -5
- package/dist/react-ui/src/ctxRecordPresentation.js +34 -0
- package/dist/react-ui/src/ctxUploads.js +23 -0
- package/dist/styles.css +627 -29
- package/dist/ui-public/icons/index.js +294 -367
- 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/calendar.js +33 -0
- package/dist/ui-public/icons/{regular → lucide}/check.js +9 -3
- package/dist/ui-public/icons/{regular → lucide}/chevron-down.js +9 -3
- package/dist/ui-public/icons/{regular → lucide}/chevron-left.js +9 -3
- package/dist/ui-public/icons/{regular → lucide}/chevron-right.js +9 -3
- 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/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/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/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/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 +45 -5
- package/dist/ui-public/src/Message.d.ts +3 -4
- package/dist/ui-public/src/UiTextKey.d.ts +1 -1
- package/dist/ui-public/src/actions/Actions/ActionTooltip.js +1 -1
- package/dist/ui-public/src/actions/Actions/registry.d.ts +2 -2
- package/dist/ui-public/src/actions/Actions/registry.js +2 -2
- package/dist/ui-public/src/actions/Button.d.ts +16 -11
- package/dist/ui-public/src/actions/Button.js +7 -1
- package/dist/ui-public/src/actions/Dropdown/Menu.d.ts +2 -2
- package/dist/ui-public/src/actions/Dropdown/Option.d.ts +7 -7
- package/dist/ui-public/src/actions/Dropdown/index.d.ts +1 -1
- package/dist/ui-public/src/actions/Dropdown/triggers/ButtonTrigger.d.ts +5 -5
- package/dist/ui-public/src/actions/Dropdown/triggers/DropdownTriggerButton.d.ts +2 -2
- package/dist/ui-public/src/actions/Dropdown/triggers/IconTrigger.d.ts +6 -6
- package/dist/ui-public/src/actions/Dropdown/triggers/IconTrigger.js +1 -1
- package/dist/ui-public/src/actions/EditorToolbar/Button.d.ts +1 -1
- package/dist/ui-public/src/actions/MultipleSelectionActionBar.d.ts +1 -1
- package/dist/ui-public/src/actions/SplitButton/Caret.js +2 -2
- package/dist/ui-public/src/actions/SplitButton/Halves.js +1 -1
- package/dist/ui-public/src/actions/SplitButton/index.d.ts +3 -3
- package/dist/ui-public/src/actions/disabledReason.d.ts +4 -4
- package/dist/ui-public/src/actions/disabledReason.js +1 -1
- package/dist/ui-public/src/content/Avatar.d.ts +3 -3
- package/dist/ui-public/src/content/Avatar.js +2 -2
- package/dist/ui-public/src/content/CodeSnippet.d.ts +1 -1
- package/dist/ui-public/src/content/CopyableValue.d.ts +1 -1
- package/dist/ui-public/src/content/EnvironmentPill.d.ts +1 -1
- package/dist/ui-public/src/content/EnvironmentPill.js +1 -1
- package/dist/ui-public/src/content/IconAvatar.d.ts +1 -1
- package/dist/ui-public/src/content/ItemStatus.d.ts +1 -1
- package/dist/ui-public/src/content/Pill.d.ts +1 -1
- package/dist/ui-public/src/content/SmartDate.d.ts +1 -1
- 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.d.ts → UploadPreview/box.d.ts} +10 -10
- package/dist/ui-public/src/content/{UploadPreview.js → UploadPreview/box.js} +7 -7
- package/dist/ui-public/src/content/{uploadPreviewFit.d.ts → UploadPreview/fit.d.ts} +2 -2
- package/dist/ui-public/src/content/{uploadPreviewFit.js → UploadPreview/fit.js} +3 -3
- 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.js +1 -1
- package/dist/ui-public/src/content/UsageMeter.d.ts +1 -1
- package/dist/ui-public/src/content/ValidityTriangles.d.ts +1 -1
- package/dist/ui-public/src/content/ValidityTriangles.js +1 -1
- package/dist/ui-public/src/feedback/BlankSlate.d.ts +5 -5
- package/dist/ui-public/src/feedback/Callout.d.ts +5 -5
- package/dist/ui-public/src/feedback/Callout.js +1 -1
- package/dist/ui-public/src/feedback/ProgressBar.d.ts +4 -4
- package/dist/ui-public/src/feedback/Spinner.d.ts +6 -6
- package/dist/ui-public/src/feedback/Spinner.js +1 -1
- 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/FieldHint.d.ts +2 -2
- package/dist/ui-public/src/form/FieldWrapper.d.ts +9 -9
- package/dist/ui-public/src/form/FieldWrapper.js +3 -3
- 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/InputGroup.d.ts +2 -2
- package/dist/ui-public/src/form/InputGroup.js +1 -1
- package/dist/ui-public/src/form/KeyValueList.d.ts +1 -1
- package/dist/ui-public/src/form/Label.d.ts +2 -2
- package/dist/ui-public/src/form/PasswordInput.js +1 -9
- package/dist/ui-public/src/form/RadioGroupInput.d.ts +2 -2
- package/dist/ui-public/src/form/RadioGroupInput.js +1 -1
- package/dist/ui-public/src/form/SelectInput/SelectMenu.d.ts +2 -2
- package/dist/ui-public/src/form/SelectInput/index.d.ts +3 -3
- package/dist/ui-public/src/form/SwitchInput.d.ts +2 -2
- package/dist/ui-public/src/form/SwitchList.d.ts +1 -1
- package/dist/ui-public/src/form/SwitchList.js +1 -1
- package/dist/ui-public/src/form/TableList.d.ts +2 -2
- package/dist/ui-public/src/form/TextareaInput.js +1 -1
- package/dist/ui-public/src/form/inputProps.d.ts +6 -6
- package/dist/ui-public/src/hooks/useAsyncSelectOptions.d.ts +1 -1
- package/dist/ui-public/src/hooks/useSmartRowClick.d.ts +1 -1
- package/dist/ui-public/src/hooks/useSmartRowClick.js +1 -1
- package/dist/ui-public/src/layout/Page/PageGroup.d.ts +2 -2
- package/dist/ui-public/src/layout/Page/PageGroup.js +1 -1
- package/dist/ui-public/src/layout/Pane/FormHeader.d.ts +1 -1
- package/dist/ui-public/src/layout/Pane/FormHeader.js +1 -1
- package/dist/ui-public/src/layout/Pane/ListFilter.d.ts +1 -1
- package/dist/ui-public/src/layout/Pane/ListPresets.d.ts +1 -1
- package/dist/ui-public/src/layout/Pane/PaneHeader.d.ts +1 -1
- package/dist/ui-public/src/layout/Pane/index.d.ts +2 -2
- package/dist/ui-public/src/layout/SidebarPanel.d.ts +1 -1
- package/dist/ui-public/src/layout/SplitPane/Rail.js +1 -1
- package/dist/ui-public/src/layout/SplitPane/index.d.ts +6 -6
- package/dist/ui-public/src/layout/Toolbar/AddNewButton.d.ts +2 -2
- package/dist/ui-public/src/layout/Toolbar/FilterToggle.d.ts +1 -1
- package/dist/ui-public/src/layout/Toolbar/FilterToggle.js +12 -4
- package/dist/ui-public/src/layout/Toolbar/Help.d.ts +3 -3
- package/dist/ui-public/src/layout/Toolbar/Help.js +2 -2
- package/dist/ui-public/src/layout/Toolbar/Note.d.ts +1 -1
- package/dist/ui-public/src/layout/Toolbar/Note.js +1 -1
- package/dist/ui-public/src/layout/Toolbar/Pagination.d.ts +1 -1
- package/dist/ui-public/src/layout/Toolbar/Pagination.js +1 -1
- package/dist/ui-public/src/layout/Toolbar/PresetsTitle.d.ts +3 -3
- package/dist/ui-public/src/layout/Toolbar/PresetsTitle.js +2 -2
- package/dist/ui-public/src/layout/Toolbar/PrimaryButton.d.ts +3 -3
- package/dist/ui-public/src/layout/Toolbar/Root.d.ts +1 -1
- package/dist/ui-public/src/layout/Toolbar/Root.js +4 -1
- package/dist/ui-public/src/layout/Toolbar/ToolbarTitleTrigger.js +1 -1
- package/dist/ui-public/src/lists/CardList.d.ts +3 -3
- package/dist/ui-public/src/lists/EmptySlot.d.ts +1 -1
- package/dist/ui-public/src/lists/InfoList/User.d.ts +1 -1
- package/dist/ui-public/src/lists/InfoList/Value.d.ts +1 -1
- package/dist/ui-public/src/lists/InfoList/Value.js +1 -1
- package/dist/ui-public/src/lists/InfoList/index.d.ts +3 -3
- package/dist/ui-public/src/lists/InfoList/index.js +1 -1
- package/dist/ui-public/src/lists/MediaCard.d.ts +7 -7
- 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 +5 -5
- package/dist/ui-public/src/lists/SettingsList.d.ts +3 -3
- package/dist/ui-public/src/lists/SettingsList.js +2 -2
- package/dist/ui-public/src/lists/Table/Row.d.ts +5 -5
- package/dist/ui-public/src/lists/Table/Table.d.ts +3 -3
- package/dist/ui-public/src/lists/Table/TreeToggle.d.ts +2 -2
- package/dist/ui-public/src/lists/Table/TreeToggle.js +1 -1
- package/dist/ui-public/src/lists/Table/cells/LinkCell.d.ts +1 -1
- package/dist/ui-public/src/lists/TreeRow/Action.d.ts +1 -1
- package/dist/ui-public/src/lists/TreeRow/Action.js +1 -1
- package/dist/ui-public/src/lists/TreeRow/Link.d.ts +1 -1
- package/dist/ui-public/src/lists/TreeRow/Link.js +1 -1
- package/dist/ui-public/src/lists/UploadCard.d.ts +66 -3
- package/dist/ui-public/src/lists/UploadCard.js +116 -7
- 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 +2 -2
- package/dist/ui-public/src/lists/dnd/SortableList.d.ts +1 -1
- package/dist/ui-public/src/lists/dnd/dropTargetClassName.d.ts +1 -1
- package/dist/ui-public/src/lists/dnd/tree/SortableTree.d.ts +2 -2
- package/dist/ui-public/src/navigation/Chevron.d.ts +4 -4
- package/dist/ui-public/src/navigation/Chevron.js +1 -1
- package/dist/ui-public/src/navigation/Link.d.ts +5 -5
- package/dist/ui-public/src/navigation/Link.js +1 -1
- package/dist/ui-public/src/navigation/NavList.d.ts +1 -1
- package/dist/ui-public/src/navigation/NavList.js +1 -1
- package/dist/ui-public/src/navigation/NavigationProvider.d.ts +1 -1
- package/dist/ui-public/src/navigation/SegmentedControl.d.ts +2 -2
- package/dist/ui-public/src/navigation/SettingsMenu.d.ts +8 -8
- package/dist/ui-public/src/navigation/SettingsMenu.js +1 -1
- package/dist/ui-public/src/navigation/SidebarTree/SidebarTreeNode.d.ts +4 -4
- package/dist/ui-public/src/navigation/SidebarTree/SidebarTreeNodeActions.d.ts +3 -0
- package/dist/ui-public/src/navigation/SidebarTree/SidebarTreeNodeActions.js +2 -1
- package/dist/ui-public/src/overlays/FullscreenModal/TitleContext.d.ts +1 -1
- package/dist/ui-public/src/overlays/FullscreenModal/TitleContext.js +1 -1
- package/dist/ui-public/src/overlays/HoverCard/index.js +1 -1
- package/dist/ui-public/src/overlays/NewZIndex.d.ts +1 -1
- package/dist/ui-public/src/overlays/NewZIndex.js +1 -1
- package/dist/ui-public/src/overlays/Popover.d.ts +1 -1
- package/dist/ui-public/src/overlays/PortalWrapper.js +1 -1
- package/dist/ui-public/src/overlays/useModalClose.js +3 -3
- package/dist/ui-public/src/patterns/ListDetail/FloatingDetail.js +71 -0
- package/dist/ui-public/src/patterns/ListDetail/Overview.js +2 -2
- package/dist/ui-public/src/patterns/ListDetail/Page.d.ts +8 -9
- package/dist/ui-public/src/patterns/ListDetail/Page.js +12 -9
- package/dist/ui-public/src/patterns/ListDetail/Panel.d.ts +2 -2
- package/dist/ui-public/src/patterns/ListDetail/Panel.js +12 -11
- package/dist/ui-public/src/patterns/ListDetail/Split.d.ts +25 -11
- package/dist/ui-public/src/patterns/ListDetail/Split.js +99 -115
- package/dist/ui-public/src/patterns/ListDetail/index.d.ts +4 -3
- package/dist/ui-public/src/patterns/ListDetail/useDetailWidthDrag.js +43 -0
- package/dist/ui-public/src/patterns/ListFormPage.d.ts +3 -3
- package/dist/ui-public/src/patterns/ListFormPage.js +1 -1
- package/dist/ui-public/src/semantic/Heading.d.ts +1 -1
- package/dist/ui-public/src/semantic/Heading.js +1 -1
- package/dist/ui-public/src/semantic/Image.js +1 -1
- package/dist/ui-public/src/semantic/Nav.d.ts +3 -3
- package/dist/ui-public/src/semantic/Nav.js +3 -3
- package/dist/ui-public/src/semantic/RawButton.d.ts +3 -3
- package/dist/ui-public/src/semantic/RawButton.js +1 -1
- package/dist/ui-public/src/semantic/Search.d.ts +1 -1
- package/dist/ui-public/src/semantic/Search.js +1 -1
- 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 +10 -2
- package/dist/ui-public/src/utils/formatDate.js +4 -4
- package/dist/ui-public/src/utils/tickBatcher.js +44 -0
- package/dist/ui-public/src/utils/timezones.js +277 -0
- package/dist/ui-public/src/utils/weekStartForLocale.js +25 -0
- package/dist/utils/format.d.ts +1 -0
- package/dist/utils/format.js +2 -0
- package/package.json +3 -3
- package/dist/ui-public/icons/brands/gitlab.js +0 -15
- package/dist/ui-public/icons/brands/markdown.js +0 -15
- package/dist/ui-public/icons/custom/language.js +0 -16
- package/dist/ui-public/icons/custom/masonry.js +0 -21
- package/dist/ui-public/icons/light/eye-slash.js +0 -16
- package/dist/ui-public/icons/light/eye.js +0 -16
- package/dist/ui-public/icons/regular/align-left.js +0 -15
- package/dist/ui-public/icons/regular/arrow-down-a-z.js +0 -16
- package/dist/ui-public/icons/regular/arrow-down-from-line.js +0 -16
- package/dist/ui-public/icons/regular/arrow-down-to-line.js +0 -15
- package/dist/ui-public/icons/regular/arrow-down.js +0 -16
- package/dist/ui-public/icons/regular/arrow-left.js +0 -16
- package/dist/ui-public/icons/regular/arrow-right-arrow-left.js +0 -16
- package/dist/ui-public/icons/regular/arrow-right-from-bracket.js +0 -16
- package/dist/ui-public/icons/regular/arrow-right.js +0 -16
- package/dist/ui-public/icons/regular/arrow-rotate-left.js +0 -15
- package/dist/ui-public/icons/regular/arrow-rotate-right.js +0 -16
- package/dist/ui-public/icons/regular/arrow-turn-up.js +0 -16
- package/dist/ui-public/icons/regular/arrow-up-arrow-down.js +0 -16
- package/dist/ui-public/icons/regular/arrow-up-from-line.js +0 -16
- package/dist/ui-public/icons/regular/arrow-up-right-from-square.js +0 -16
- package/dist/ui-public/icons/regular/arrow-up-to-line.js +0 -15
- package/dist/ui-public/icons/regular/arrow-up.js +0 -16
- package/dist/ui-public/icons/regular/arrows-from-line.js +0 -16
- package/dist/ui-public/icons/regular/arrows-rotate.js +0 -16
- package/dist/ui-public/icons/regular/arrows-to-line.js +0 -16
- package/dist/ui-public/icons/regular/arrows-turn-to-dots.js +0 -15
- package/dist/ui-public/icons/regular/badge-check.js +0 -15
- package/dist/ui-public/icons/regular/ballot-check.js +0 -15
- package/dist/ui-public/icons/regular/ban.js +0 -16
- package/dist/ui-public/icons/regular/bars.js +0 -16
- package/dist/ui-public/icons/regular/bold.js +0 -15
- package/dist/ui-public/icons/regular/bolt.js +0 -15
- package/dist/ui-public/icons/regular/book.js +0 -16
- package/dist/ui-public/icons/regular/bookmark.js +0 -16
- package/dist/ui-public/icons/regular/brackets-curly.js +0 -15
- package/dist/ui-public/icons/regular/browser.js +0 -16
- package/dist/ui-public/icons/regular/calendar-clock.js +0 -15
- package/dist/ui-public/icons/regular/calendar.js +0 -16
- package/dist/ui-public/icons/regular/chart-area.js +0 -15
- package/dist/ui-public/icons/regular/chevrons-down.js +0 -16
- package/dist/ui-public/icons/regular/chevrons-left.js +0 -16
- package/dist/ui-public/icons/regular/chevrons-right.js +0 -16
- package/dist/ui-public/icons/regular/circle-arrow-up.js +0 -16
- package/dist/ui-public/icons/regular/circle-check.js +0 -16
- package/dist/ui-public/icons/regular/circle-dot.js +0 -16
- package/dist/ui-public/icons/regular/circle-exclamation.js +0 -16
- package/dist/ui-public/icons/regular/circle-info.js +0 -16
- package/dist/ui-public/icons/regular/circle-question.js +0 -16
- package/dist/ui-public/icons/regular/clapperboard-play.js +0 -15
- package/dist/ui-public/icons/regular/clipboard.js +0 -15
- package/dist/ui-public/icons/regular/clock-rotate-left.js +0 -16
- package/dist/ui-public/icons/regular/clock.js +0 -16
- package/dist/ui-public/icons/regular/clone.js +0 -16
- package/dist/ui-public/icons/regular/cloud-arrow-down.js +0 -15
- package/dist/ui-public/icons/regular/code-branch.js +0 -16
- package/dist/ui-public/icons/regular/code-fork.js +0 -16
- package/dist/ui-public/icons/regular/command.js +0 -16
- package/dist/ui-public/icons/regular/comments.js +0 -16
- package/dist/ui-public/icons/regular/copy.js +0 -16
- package/dist/ui-public/icons/regular/cube.js +0 -15
- package/dist/ui-public/icons/regular/cubes.js +0 -15
- package/dist/ui-public/icons/regular/dash.js +0 -16
- package/dist/ui-public/icons/regular/database.js +0 -16
- package/dist/ui-public/icons/regular/diamond.js +0 -15
- package/dist/ui-public/icons/regular/down.js +0 -16
- package/dist/ui-public/icons/regular/download.js +0 -16
- package/dist/ui-public/icons/regular/earth-europe.js +0 -16
- package/dist/ui-public/icons/regular/ellipsis-vertical.js +0 -16
- package/dist/ui-public/icons/regular/ellipsis.js +0 -16
- package/dist/ui-public/icons/regular/envelope.js +0 -16
- package/dist/ui-public/icons/regular/expand.js +0 -16
- package/dist/ui-public/icons/regular/eye-dropper.js +0 -16
- package/dist/ui-public/icons/regular/eye.js +0 -16
- package/dist/ui-public/icons/regular/file-export.js +0 -16
- package/dist/ui-public/icons/regular/file-lines.js +0 -15
- package/dist/ui-public/icons/regular/file-shield.js +0 -15
- package/dist/ui-public/icons/regular/file.js +0 -15
- package/dist/ui-public/icons/regular/filter.js +0 -16
- package/dist/ui-public/icons/regular/fire-flame-curved.js +0 -15
- package/dist/ui-public/icons/regular/flask-gear.js +0 -16
- package/dist/ui-public/icons/regular/flask.js +0 -16
- package/dist/ui-public/icons/regular/folder-gear.js +0 -15
- package/dist/ui-public/icons/regular/folder-magnifying-glass.js +0 -15
- package/dist/ui-public/icons/regular/folder-open.js +0 -16
- package/dist/ui-public/icons/regular/folder-plus.js +0 -16
- package/dist/ui-public/icons/regular/folder.js +0 -16
- package/dist/ui-public/icons/regular/folders.js +0 -16
- package/dist/ui-public/icons/regular/gear.js +0 -16
- package/dist/ui-public/icons/regular/gift.js +0 -16
- package/dist/ui-public/icons/regular/globe.js +0 -16
- package/dist/ui-public/icons/regular/grid-2.js +0 -16
- package/dist/ui-public/icons/regular/grip-dots-vertical.js +0 -16
- package/dist/ui-public/icons/regular/hand.js +0 -16
- package/dist/ui-public/icons/regular/hourglass-clock.js +0 -16
- package/dist/ui-public/icons/regular/house.js +0 -16
- package/dist/ui-public/icons/regular/images.js +0 -16
- package/dist/ui-public/icons/regular/input-numeric.js +0 -15
- package/dist/ui-public/icons/regular/input-text.js +0 -15
- package/dist/ui-public/icons/regular/keyboard.js +0 -16
- package/dist/ui-public/icons/regular/layer-group.js +0 -16
- package/dist/ui-public/icons/regular/life-ring.js +0 -16
- package/dist/ui-public/icons/regular/link-simple.js +0 -15
- package/dist/ui-public/icons/regular/link.js +0 -16
- package/dist/ui-public/icons/regular/list-tree.js +0 -16
- package/dist/ui-public/icons/regular/list.js +0 -16
- package/dist/ui-public/icons/regular/magnifying-glass-chart.js +0 -15
- package/dist/ui-public/icons/regular/magnifying-glass.js +0 -16
- package/dist/ui-public/icons/regular/map-location-dot.js +0 -16
- package/dist/ui-public/icons/regular/memo.js +0 -16
- package/dist/ui-public/icons/regular/mobile-screen-button.js +0 -16
- package/dist/ui-public/icons/regular/octagon-exclamation.js +0 -16
- package/dist/ui-public/icons/regular/palette.js +0 -16
- package/dist/ui-public/icons/regular/paper-plane.js +0 -16
- package/dist/ui-public/icons/regular/paragraph.js +0 -15
- package/dist/ui-public/icons/regular/paste.js +0 -15
- package/dist/ui-public/icons/regular/pause.js +0 -16
- package/dist/ui-public/icons/regular/pen-paintbrush.js +0 -15
- package/dist/ui-public/icons/regular/pen-to-square.js +0 -16
- package/dist/ui-public/icons/regular/pen.js +0 -16
- package/dist/ui-public/icons/regular/people-arrows.js +0 -16
- package/dist/ui-public/icons/regular/photo-film.js +0 -15
- package/dist/ui-public/icons/regular/play.js +0 -16
- package/dist/ui-public/icons/regular/puzzle-piece.js +0 -15
- package/dist/ui-public/icons/regular/receipt.js +0 -16
- package/dist/ui-public/icons/regular/rectangle-barcode.js +0 -15
- package/dist/ui-public/icons/regular/rectangle-list.js +0 -15
- package/dist/ui-public/icons/regular/right-left.js +0 -15
- package/dist/ui-public/icons/regular/rotate-left.js +0 -16
- package/dist/ui-public/icons/regular/shield.js +0 -15
- package/dist/ui-public/icons/regular/sidebar-flip.js +0 -16
- package/dist/ui-public/icons/regular/sidebar.js +0 -16
- package/dist/ui-public/icons/regular/sliders.js +0 -16
- package/dist/ui-public/icons/regular/sparkles.js +0 -15
- package/dist/ui-public/icons/regular/square-caret-down.js +0 -15
- package/dist/ui-public/icons/regular/square-check.js +0 -15
- package/dist/ui-public/icons/regular/square-dashed.js +0 -15
- package/dist/ui-public/icons/regular/square-left.js +0 -16
- package/dist/ui-public/icons/regular/square-terminal.js +0 -16
- package/dist/ui-public/icons/regular/square-up-right.js +0 -16
- package/dist/ui-public/icons/regular/store.js +0 -16
- package/dist/ui-public/icons/regular/swap-arrows.js +0 -15
- package/dist/ui-public/icons/regular/table.js +0 -16
- package/dist/ui-public/icons/regular/tag.js +0 -16
- package/dist/ui-public/icons/regular/toggle-on.js +0 -15
- package/dist/ui-public/icons/regular/toolbox.js +0 -16
- package/dist/ui-public/icons/regular/trash-undo.js +0 -15
- package/dist/ui-public/icons/regular/trash.js +0 -16
- package/dist/ui-public/icons/regular/triangle-exclamation.js +0 -16
- package/dist/ui-public/icons/regular/turn-up.js +0 -16
- package/dist/ui-public/icons/regular/user-group.js +0 -15
- package/dist/ui-public/icons/regular/user-helmet-safety.js +0 -16
- package/dist/ui-public/icons/regular/user-lock.js +0 -16
- package/dist/ui-public/icons/regular/user-minus.js +0 -16
- package/dist/ui-public/icons/regular/user-tie.js +0 -15
- package/dist/ui-public/icons/regular/user.js +0 -16
- package/dist/ui-public/icons/regular/users.js +0 -15
- package/dist/ui-public/icons/regular/video.js +0 -15
- package/dist/ui-public/icons/regular/webhook.js +0 -15
- package/dist/ui-public/icons/regular/wrench.js +0 -15
- package/dist/ui-public/icons/regular/xmark.js +0 -16
- package/dist/ui-public/icons/solid/align-center.js +0 -16
- package/dist/ui-public/icons/solid/align-justify.js +0 -16
- package/dist/ui-public/icons/solid/align-left.js +0 -16
- package/dist/ui-public/icons/solid/align-right.js +0 -16
- package/dist/ui-public/icons/solid/arrow-rotate-left.js +0 -16
- package/dist/ui-public/icons/solid/arrow-rotate-right.js +0 -16
- package/dist/ui-public/icons/solid/bold.js +0 -16
- package/dist/ui-public/icons/solid/circle-exclamation.js +0 -16
- package/dist/ui-public/icons/solid/closed-captioning.js +0 -15
- package/dist/ui-public/icons/solid/code.js +0 -16
- package/dist/ui-public/icons/solid/compress.js +0 -16
- package/dist/ui-public/icons/solid/download.js +0 -15
- package/dist/ui-public/icons/solid/expand.js +0 -16
- package/dist/ui-public/icons/solid/file-arrow-down.js +0 -15
- package/dist/ui-public/icons/solid/file-code.js +0 -16
- package/dist/ui-public/icons/solid/grid-2.js +0 -16
- package/dist/ui-public/icons/solid/h1.js +0 -16
- package/dist/ui-public/icons/solid/h2.js +0 -16
- package/dist/ui-public/icons/solid/h3.js +0 -16
- package/dist/ui-public/icons/solid/h4.js +0 -16
- package/dist/ui-public/icons/solid/h5.js +0 -16
- package/dist/ui-public/icons/solid/h6.js +0 -16
- package/dist/ui-public/icons/solid/highlighter.js +0 -16
- package/dist/ui-public/icons/solid/horizontal-rule.js +0 -16
- package/dist/ui-public/icons/solid/image.js +0 -16
- package/dist/ui-public/icons/solid/indent.js +0 -16
- package/dist/ui-public/icons/solid/italic.js +0 -16
- package/dist/ui-public/icons/solid/link.js +0 -16
- package/dist/ui-public/icons/solid/list-ol.js +0 -16
- package/dist/ui-public/icons/solid/list-ul.js +0 -16
- package/dist/ui-public/icons/solid/location-dot.js +0 -16
- package/dist/ui-public/icons/solid/music.js +0 -15
- package/dist/ui-public/icons/solid/outdent.js +0 -16
- package/dist/ui-public/icons/solid/paragraph.js +0 -16
- package/dist/ui-public/icons/solid/plus.js +0 -16
- package/dist/ui-public/icons/solid/quote-right.js +0 -16
- package/dist/ui-public/icons/solid/rectangle-code.js +0 -16
- package/dist/ui-public/icons/solid/square-plus.js +0 -16
- package/dist/ui-public/icons/solid/strikethrough.js +0 -16
- package/dist/ui-public/icons/solid/subtitles.js +0 -15
- package/dist/ui-public/icons/solid/table.js +0 -16
- package/dist/ui-public/icons/solid/triangle-exclamation.js +0 -16
- package/dist/ui-public/icons/solid/underline.js +0 -16
package/dist/styles.css
CHANGED
|
@@ -126,8 +126,6 @@
|
|
|
126
126
|
/* Code is a little smaller than the text around it, because the
|
|
127
127
|
monospaced font looks larger. For inline code and for code blocks. */
|
|
128
128
|
--monospaced-font-size: 0.9em;
|
|
129
|
-
--cursive-font-family:
|
|
130
|
-
"Pangolin", "noto-script-fallback", "noto-script-fallback-static", cursive;
|
|
131
129
|
/* The weight of the text. */
|
|
132
130
|
--font-weight-regular: 340;
|
|
133
131
|
/* The weight of titles, labels and words with emphasis. */
|
|
@@ -253,8 +251,8 @@
|
|
|
253
251
|
:root {
|
|
254
252
|
--z-index-notifications: 10500;
|
|
255
253
|
}
|
|
256
|
-
/* The plugins use ABC Oracle and Geist Mono, as the cms. Geist
|
|
257
|
-
|
|
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
|
|
258
256
|
the system fonts after them. The weights are the ones of
|
|
259
257
|
../../ui-public/styles/_css-variables.css. */
|
|
260
258
|
:root {
|
|
@@ -263,7 +261,6 @@
|
|
|
263
261
|
--monospaced-font-family:
|
|
264
262
|
"Geist Mono Variable", "Menlo", "Bitstream Vera Sans Mono", Consolas,
|
|
265
263
|
Courier, monospace;
|
|
266
|
-
--cursive-font-family: cursive;
|
|
267
264
|
}
|
|
268
265
|
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css*/
|
|
269
266
|
|
|
@@ -989,10 +986,23 @@ input:-webkit-autofill {
|
|
|
989
986
|
/* An icon takes the color of its text: set "color" on an icon, not "fill".
|
|
990
987
|
The value goes down as the keyword, thus each icon reads its own color.
|
|
991
988
|
It is not a rule on svg: that rule would win over the fill attribute of
|
|
992
|
-
an icon, and an outline icon (fill="none") would become a solid shape.
|
|
993
|
-
|
|
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 {
|
|
994
997
|
fill: currentColor;
|
|
995
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;
|
|
1005
|
+
}
|
|
996
1006
|
button {
|
|
997
1007
|
box-sizing: border-box;
|
|
998
1008
|
padding: 0;
|
|
@@ -1700,8 +1710,10 @@ button {
|
|
|
1700
1710
|
.Chevron:is(.Chevron--disclosure, .Chevron--menu, .Chevron--load-more) {
|
|
1701
1711
|
display: inline-block;
|
|
1702
1712
|
flex: none;
|
|
1703
|
-
|
|
1704
|
-
|
|
1713
|
+
/* A Lucide chevron fills only the middle of its box, thus the box is larger
|
|
1714
|
+
than the text, as in shadcn/ui (16px next to a text of 14px) */
|
|
1715
|
+
width: max(14px, 1.125em);
|
|
1716
|
+
height: max(14px, 1.125em);
|
|
1705
1717
|
vertical-align: middle;
|
|
1706
1718
|
color: var(--chevron-color, var(--color--ink-subtle));
|
|
1707
1719
|
transition:
|
|
@@ -2505,7 +2517,9 @@ button.EmptySlot {
|
|
|
2505
2517
|
.form__label__icon {
|
|
2506
2518
|
display: inline-block;
|
|
2507
2519
|
margin-left: var(--spacing-s);
|
|
2508
|
-
|
|
2520
|
+
/* The same alignment as the buttons in the label (FieldValidations of the
|
|
2521
|
+
cms), thus the icons are on one line */
|
|
2522
|
+
vertical-align: middle;
|
|
2509
2523
|
|
|
2510
2524
|
svg {
|
|
2511
2525
|
display: block;
|
|
@@ -3130,16 +3144,19 @@ textarea:focus {
|
|
|
3130
3144
|
--Page__group-tint: var(--color--warning-soft--surface);
|
|
3131
3145
|
--Page__group-outline: var(--color--warning-soft--outline);
|
|
3132
3146
|
}
|
|
3133
|
-
/* The content before a group can have no margin under it (a CardList
|
|
3134
|
-
margins collapse, thus between two groups the space stays
|
|
3147
|
+
/* The content before a group can have no margin under it (a CardList or a
|
|
3148
|
+
switch). The margins collapse, thus between two groups the space stays
|
|
3149
|
+
the same. */
|
|
3135
3150
|
.Page__content > * + .Page__group,
|
|
3136
|
-
.Page__content > * + :has(> .Page__group:first-child)
|
|
3151
|
+
.Page__content > * + :has(> .Page__group:first-child),
|
|
3152
|
+
.Page__content__section > * + .Page__group {
|
|
3137
3153
|
margin-top: var(--spacing-l);
|
|
3138
3154
|
}
|
|
3139
3155
|
/* A form can be around one group (the group is its last child), thus only
|
|
3140
|
-
the last group of the content loses the space under it */
|
|
3156
|
+
the last group of the content or of a section loses the space under it */
|
|
3141
3157
|
.Page__content > .Page__group:last-child,
|
|
3142
|
-
.Page__content > :last-child > .Page__group:last-child
|
|
3158
|
+
.Page__content > :last-child > .Page__group:last-child,
|
|
3159
|
+
.Page__content__section > .Page__group:last-child {
|
|
3143
3160
|
margin-bottom: 0;
|
|
3144
3161
|
}
|
|
3145
3162
|
/* When the title and the actions do not fit on one line, the actions go
|
|
@@ -4740,6 +4757,13 @@ span.SidebarTree__node__toggle {
|
|
|
4740
4757
|
width: 100%;
|
|
4741
4758
|
height: 100%;
|
|
4742
4759
|
}
|
|
4760
|
+
|
|
4761
|
+
/* The rule above has the specificity of .UploadPreview, thus without this
|
|
4762
|
+
rule the import order of the two blocks decides if the asset is in the
|
|
4763
|
+
center. Keep the display of .UploadPreview (_UploadPreview.css). */
|
|
4764
|
+
> .UploadPreview {
|
|
4765
|
+
display: flex;
|
|
4766
|
+
}
|
|
4743
4767
|
}
|
|
4744
4768
|
.EntityRow--inline .EntityRow__image {
|
|
4745
4769
|
border-radius: var(--radius-xs);
|
|
@@ -4815,6 +4839,26 @@ span.SidebarTree__node__toggle {
|
|
|
4815
4839
|
display: none;
|
|
4816
4840
|
}
|
|
4817
4841
|
}
|
|
4842
|
+
/* See RecordRow/Image.tsx. Its container gives the size of the square. */
|
|
4843
|
+
.RecordRow__image {
|
|
4844
|
+
width: 100%;
|
|
4845
|
+
height: 100%;
|
|
4846
|
+
background-repeat: no-repeat;
|
|
4847
|
+
background-position: center center;
|
|
4848
|
+
background-size: cover;
|
|
4849
|
+
}
|
|
4850
|
+
.RecordRow__image--placeholder {
|
|
4851
|
+
background-color: var(--color--surface-muted);
|
|
4852
|
+
}
|
|
4853
|
+
.RecordRow__loading {
|
|
4854
|
+
display: inline-block;
|
|
4855
|
+
width: 8em;
|
|
4856
|
+
max-width: 100%;
|
|
4857
|
+
height: 0.8em;
|
|
4858
|
+
vertical-align: middle;
|
|
4859
|
+
background-color: var(--color--surface-muted);
|
|
4860
|
+
border-radius: var(--radius-s);
|
|
4861
|
+
}
|
|
4818
4862
|
/* RowList, and NavList that renders a RowList */
|
|
4819
4863
|
.RowList {
|
|
4820
4864
|
display: flex;
|
|
@@ -5765,7 +5809,7 @@ span.SidebarTree__node__toggle {
|
|
|
5765
5809
|
position: relative;
|
|
5766
5810
|
/* The right padding keeps the place of the chevron, thus the select does
|
|
5767
5811
|
not change its width on hover */
|
|
5768
|
-
padding: var(--spacing-s) calc(var(--spacing-m) +
|
|
5812
|
+
padding: var(--spacing-s) calc(var(--spacing-m) + 1.125em) var(--spacing-s)
|
|
5769
5813
|
var(--spacing-s);
|
|
5770
5814
|
margin-right: var(--spacing-l);
|
|
5771
5815
|
border: 1px solid transparent;
|
|
@@ -6134,11 +6178,15 @@ span.SidebarTree__node__toggle {
|
|
|
6134
6178
|
overflow: hidden;
|
|
6135
6179
|
text-overflow: ellipsis;
|
|
6136
6180
|
}
|
|
6181
|
+
/* Each option starts from the width of its label and gets an equal part of
|
|
6182
|
+
the free space. With "flex: 1" the options are equal, thus a long label
|
|
6183
|
+
ends in "…" in a container as wide as the sum of the options (a dropdown
|
|
6184
|
+
menu), and a short label gets a wide empty box. */
|
|
6137
6185
|
.SegmentedControl--fill {
|
|
6138
6186
|
width: auto;
|
|
6139
6187
|
|
|
6140
6188
|
.SegmentedControl__button {
|
|
6141
|
-
flex:
|
|
6189
|
+
flex: auto;
|
|
6142
6190
|
}
|
|
6143
6191
|
}
|
|
6144
6192
|
/* An option with only an icon is a square, as ".button--icon-only" */
|
|
@@ -6905,11 +6953,6 @@ span.SidebarTree__node__toggle {
|
|
|
6905
6953
|
margin-right: 0;
|
|
6906
6954
|
font-size: 16px;
|
|
6907
6955
|
}
|
|
6908
|
-
/* The rule of _PluginIcon.css (color: inherit) comes later in the
|
|
6909
|
-
styles: the two classes make this rule stronger */
|
|
6910
|
-
> .PluginIcon.PluginIcon--svg {
|
|
6911
|
-
color: var(--color--ink-subtle);
|
|
6912
|
-
}
|
|
6913
6956
|
/* At a 16px font size, the emoji glyph fills the box as much as an SVG
|
|
6914
6957
|
icon */
|
|
6915
6958
|
> .ItemTypeEmoji,
|
|
@@ -7621,6 +7664,21 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
7621
7664
|
display: flex;
|
|
7622
7665
|
flex: 1;
|
|
7623
7666
|
}
|
|
7667
|
+
/* The parts of a filter row are bare (see the Filter section of the Toolbar
|
|
7668
|
+
page), thus the row gives them the gap of a toolbar. */
|
|
7669
|
+
.Toolbar--fields > .Toolbar__fill {
|
|
7670
|
+
gap: var(--spacing-m);
|
|
7671
|
+
align-items: flex-start;
|
|
7672
|
+
|
|
7673
|
+
/* Each part is at least as tall as a field of one line, and centers its
|
|
7674
|
+
own content in that height. Thus the parts stay on the first line of the
|
|
7675
|
+
tiles when the tiles wrap. Toolbar.Divider stretches to the full height
|
|
7676
|
+
of the row. */
|
|
7677
|
+
> * {
|
|
7678
|
+
box-sizing: border-box;
|
|
7679
|
+
min-height: var(--control-height);
|
|
7680
|
+
}
|
|
7681
|
+
}
|
|
7624
7682
|
/* The widths of the two edge fades of .Toolbar__tabs. They must be
|
|
7625
7683
|
registered: an animation cannot interpolate a custom property that is not
|
|
7626
7684
|
registered. */
|
|
@@ -7825,6 +7883,132 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
7825
7883
|
.Toolbar__spinner {
|
|
7826
7884
|
margin-left: var(--spacing-m);
|
|
7827
7885
|
}
|
|
7886
|
+
.FilterBuilder {
|
|
7887
|
+
display: flex;
|
|
7888
|
+
flex: 3;
|
|
7889
|
+
gap: var(--spacing-m);
|
|
7890
|
+
align-items: flex-start;
|
|
7891
|
+
min-width: 0;
|
|
7892
|
+
}
|
|
7893
|
+
/* The funnel and the clear button stay on the first line of the tiles when
|
|
7894
|
+
the tiles wrap */
|
|
7895
|
+
.FilterBuilder__icon,
|
|
7896
|
+
.FilterBuilder__clear {
|
|
7897
|
+
display: flex;
|
|
7898
|
+
flex: none;
|
|
7899
|
+
align-items: center;
|
|
7900
|
+
min-height: var(--control-height);
|
|
7901
|
+
}
|
|
7902
|
+
.FilterBuilder__icon svg {
|
|
7903
|
+
display: block;
|
|
7904
|
+
color: var(--color--ink-subtle);
|
|
7905
|
+
}
|
|
7906
|
+
/* The padding and the row gap keep a space of 4px around each line of
|
|
7907
|
+
tiles. With one line, the line fills the min-height and its tiles are in
|
|
7908
|
+
the center. */
|
|
7909
|
+
.FilterBuilder__box {
|
|
7910
|
+
box-sizing: border-box;
|
|
7911
|
+
display: flex;
|
|
7912
|
+
flex: 1;
|
|
7913
|
+
flex-wrap: wrap;
|
|
7914
|
+
gap: 4px var(--spacing-m);
|
|
7915
|
+
align-items: center;
|
|
7916
|
+
min-width: 0;
|
|
7917
|
+
min-height: var(--control-height);
|
|
7918
|
+
padding-block: 4px;
|
|
7919
|
+
}
|
|
7920
|
+
.FilterBuilder__empty {
|
|
7921
|
+
color: var(--color--ink-subtle);
|
|
7922
|
+
}
|
|
7923
|
+
.FilterBuilder__add {
|
|
7924
|
+
display: flex;
|
|
7925
|
+
}
|
|
7926
|
+
.FilterBuilder__tile {
|
|
7927
|
+
position: relative;
|
|
7928
|
+
display: flex;
|
|
7929
|
+
align-items: stretch;
|
|
7930
|
+
max-width: 100%;
|
|
7931
|
+
background-color: var(--color--surface-raised);
|
|
7932
|
+
border: 1px solid var(--color--primary-soft--border);
|
|
7933
|
+
border-radius: var(--radius-s);
|
|
7934
|
+
transition:
|
|
7935
|
+
border-color 0.1s ease-out,
|
|
7936
|
+
box-shadow 0.1s ease-out;
|
|
7937
|
+
|
|
7938
|
+
&:hover {
|
|
7939
|
+
border-color: var(--color--focus--border);
|
|
7940
|
+
}
|
|
7941
|
+
/* The small selects of the tile draw no focus ring, thus the tile draws
|
|
7942
|
+
it for all its inputs */
|
|
7943
|
+
&:focus-within {
|
|
7944
|
+
border-color: var(--color--focus--border);
|
|
7945
|
+
box-shadow: var(--focus-ring);
|
|
7946
|
+
}
|
|
7947
|
+
/* A read-only tile has no hover look, as the other read-only inputs */
|
|
7948
|
+
.FilterBuilder.is-read-only &:hover:not(:focus-within) {
|
|
7949
|
+
border-color: var(--color--primary-soft--border);
|
|
7950
|
+
}
|
|
7951
|
+
}
|
|
7952
|
+
.FilterBuilder__field,
|
|
7953
|
+
.FilterBuilder__operator {
|
|
7954
|
+
position: relative;
|
|
7955
|
+
border-right: 1px solid var(--color--primary-soft--border);
|
|
7956
|
+
}
|
|
7957
|
+
/* The tile has a border of 1px, thus the inner radius is 1px smaller */
|
|
7958
|
+
.FilterBuilder__field {
|
|
7959
|
+
border-radius: calc(var(--radius-s) - 1px) 0 0 calc(var(--radius-s) - 1px);
|
|
7960
|
+
}
|
|
7961
|
+
.FilterBuilder__operator--static {
|
|
7962
|
+
display: flex;
|
|
7963
|
+
align-items: center;
|
|
7964
|
+
padding: 0 10px;
|
|
7965
|
+
font-size: var(--font-size-xs);
|
|
7966
|
+
color: var(--color--ink-subtle);
|
|
7967
|
+
}
|
|
7968
|
+
/* The value keeps a minimum width, even when it is empty, thus the user can
|
|
7969
|
+
find it and click it */
|
|
7970
|
+
.FilterBuilder__value {
|
|
7971
|
+
display: flex;
|
|
7972
|
+
align-items: stretch;
|
|
7973
|
+
min-width: 80px;
|
|
7974
|
+
|
|
7975
|
+
> * {
|
|
7976
|
+
flex: 1 0 auto;
|
|
7977
|
+
}
|
|
7978
|
+
}
|
|
7979
|
+
.FilterBuilder__argument {
|
|
7980
|
+
display: flex;
|
|
7981
|
+
align-items: center;
|
|
7982
|
+
margin-inline: 10px;
|
|
7983
|
+
}
|
|
7984
|
+
.FilterBuilder__argument-label {
|
|
7985
|
+
padding-right: 8px;
|
|
7986
|
+
font-size: var(--font-size-xs);
|
|
7987
|
+
}
|
|
7988
|
+
/* The text inputs have no field look: the tile is the field */
|
|
7989
|
+
.FilterBuilder__value > .AutosizeInput,
|
|
7990
|
+
.FilterBuilder__argument > .AutosizeInput {
|
|
7991
|
+
--autosize-input-padding-inline: 10px;
|
|
7992
|
+
--autosize-input-border-inline: 0px;
|
|
7993
|
+
min-width: 80px;
|
|
7994
|
+
max-width: 30vw;
|
|
7995
|
+
font-size: var(--font-size-xs);
|
|
7996
|
+
|
|
7997
|
+
> input[type="text"] {
|
|
7998
|
+
padding-block: 5px;
|
|
7999
|
+
appearance: none;
|
|
8000
|
+
background-color: transparent;
|
|
8001
|
+
border: none;
|
|
8002
|
+
|
|
8003
|
+
&:focus {
|
|
8004
|
+
box-shadow: none;
|
|
8005
|
+
}
|
|
8006
|
+
}
|
|
8007
|
+
}
|
|
8008
|
+
.FilterBuilder__remove {
|
|
8009
|
+
align-self: center;
|
|
8010
|
+
margin-right: 4px;
|
|
8011
|
+
}
|
|
7828
8012
|
.UploadPreview {
|
|
7829
8013
|
position: relative;
|
|
7830
8014
|
box-sizing: border-box;
|
|
@@ -7860,6 +8044,69 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
7860
8044
|
font-size: var(--font-size-m);
|
|
7861
8045
|
color: var(--color--ink-subtle);
|
|
7862
8046
|
}
|
|
8047
|
+
/* The waveform is always the same picture, not the sound of the file */
|
|
8048
|
+
|
|
8049
|
+
/* A registered percentage, so the played part grows smoothly between two
|
|
8050
|
+
updates of the time */
|
|
8051
|
+
@property --AudioPlayPause-progress {
|
|
8052
|
+
syntax: "<percentage>";
|
|
8053
|
+
inherits: false;
|
|
8054
|
+
initial-value: 0%;
|
|
8055
|
+
}
|
|
8056
|
+
.AudioPlayPause {
|
|
8057
|
+
position: relative;
|
|
8058
|
+
display: flex;
|
|
8059
|
+
align-items: center;
|
|
8060
|
+
justify-content: center;
|
|
8061
|
+
}
|
|
8062
|
+
/* The picture is a mask: the background gives the colors of the bars */
|
|
8063
|
+
.AudioPlayPause__wave {
|
|
8064
|
+
width: 80%;
|
|
8065
|
+
aspect-ratio: 174 / 40;
|
|
8066
|
+
/* token-audit-disable-next-line mismatch -- the mask makes the background the bars of a picture, so it's foreground */
|
|
8067
|
+
background: linear-gradient(
|
|
8068
|
+
to right,
|
|
8069
|
+
var(--color--progress--fill) var(--AudioPlayPause-progress),
|
|
8070
|
+
var(--color--ink-placeholder) var(--AudioPlayPause-progress)
|
|
8071
|
+
);
|
|
8072
|
+
mask:
|
|
8073
|
+
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")
|
|
8074
|
+
center / 100% 100% no-repeat;
|
|
8075
|
+
transition: --AudioPlayPause-progress 0.3s linear;
|
|
8076
|
+
}
|
|
8077
|
+
.AudioPlayPause__button {
|
|
8078
|
+
position: absolute;
|
|
8079
|
+
}
|
|
8080
|
+
/* The audio play button is the only button with fully round corners (see
|
|
8081
|
+
also AudioPlayer) */
|
|
8082
|
+
.AudioPlayPause.big .AudioPlayPause__button {
|
|
8083
|
+
top: 50%;
|
|
8084
|
+
left: 50%;
|
|
8085
|
+
border-radius: var(--radius-full);
|
|
8086
|
+
transform: translate(-50%, -50%);
|
|
8087
|
+
}
|
|
8088
|
+
/* A small preview (a row of a table) has no room for a round button: all
|
|
8089
|
+
the preview is the button, and the icon is on the waveform */
|
|
8090
|
+
.AudioPlayPause.small {
|
|
8091
|
+
.AudioPlayPause__wave {
|
|
8092
|
+
opacity: 0.5;
|
|
8093
|
+
}
|
|
8094
|
+
.AudioPlayPause__button {
|
|
8095
|
+
inset: 0;
|
|
8096
|
+
display: flex;
|
|
8097
|
+
align-items: center;
|
|
8098
|
+
justify-content: center;
|
|
8099
|
+
font-size: 15px;
|
|
8100
|
+
|
|
8101
|
+
svg {
|
|
8102
|
+
color: var(--color--ink-subtle);
|
|
8103
|
+
}
|
|
8104
|
+
&:hover svg,
|
|
8105
|
+
&:focus-visible svg {
|
|
8106
|
+
color: var(--color--ink-link);
|
|
8107
|
+
}
|
|
8108
|
+
}
|
|
8109
|
+
}
|
|
7863
8110
|
/* The button and the dropdown are also in the balloon toolbar of the
|
|
7864
8111
|
structured text editor. */
|
|
7865
8112
|
.EditorToolbar {
|
|
@@ -8211,6 +8458,354 @@ button.Dropdown__menu__option__icon--delete:focus-visible svg {
|
|
|
8211
8458
|
color: var(--color--disabled-field--ink-placeholder);
|
|
8212
8459
|
}
|
|
8213
8460
|
}
|
|
8461
|
+
.DateTimeInput {
|
|
8462
|
+
position: relative;
|
|
8463
|
+
display: flex;
|
|
8464
|
+
width: 100%;
|
|
8465
|
+
}
|
|
8466
|
+
.DateTimeInput--autosize {
|
|
8467
|
+
display: inline-flex;
|
|
8468
|
+
width: auto;
|
|
8469
|
+
max-width: 100%;
|
|
8470
|
+
}
|
|
8471
|
+
.DateTimeInput__field {
|
|
8472
|
+
flex: 1;
|
|
8473
|
+
padding: 0 4px;
|
|
8474
|
+
|
|
8475
|
+
/* The timezone select is not an InputFrame__input, but its focus also
|
|
8476
|
+
shows the focus ring of the frame */
|
|
8477
|
+
&:has(.DateTimeInput__timezone :focus) {
|
|
8478
|
+
border-color: var(--color--focus--border);
|
|
8479
|
+
box-shadow: var(--focus-ring);
|
|
8480
|
+
}
|
|
8481
|
+
/* A disabled or read-only field has no focus ring. These rules have the
|
|
8482
|
+
specificity of the focus rules of _InputFrame.css, and they come after
|
|
8483
|
+
them, thus they win. */
|
|
8484
|
+
.DateTimeInput.is-disabled &,
|
|
8485
|
+
.DateTimeInput.is-read-only & {
|
|
8486
|
+
border-color: var(--color--border);
|
|
8487
|
+
box-shadow: none;
|
|
8488
|
+
}
|
|
8489
|
+
}
|
|
8490
|
+
/* The date and the time have the width of their text (see sizerText in
|
|
8491
|
+
src/form/DateTimeInput/Base.tsx). Thus no empty space comes between the time and
|
|
8492
|
+
the timezone, and a long format does not get cut. The date, the time and
|
|
8493
|
+
the timezone read as one value: no line separates them. */
|
|
8494
|
+
.DateTimeInput__sizer {
|
|
8495
|
+
--autosize-input-padding-inline: 6px;
|
|
8496
|
+
--autosize-input-border-inline: 0px;
|
|
8497
|
+
flex: none;
|
|
8498
|
+
font-variant-numeric: tabular-nums;
|
|
8499
|
+
}
|
|
8500
|
+
/* The rules of the timezone have three classes, thus they are stronger than
|
|
8501
|
+
the styles of react-select */
|
|
8502
|
+
.DateTimeInput__timezone {
|
|
8503
|
+
flex: none;
|
|
8504
|
+
}
|
|
8505
|
+
/* When the field is wider than its parts, the empty space comes before the
|
|
8506
|
+
clear button. Thus the button stays at the right
|
|
8507
|
+
end, and the value stays together at the left. */
|
|
8508
|
+
.DateTimeInput__clear {
|
|
8509
|
+
margin-left: auto;
|
|
8510
|
+
}
|
|
8511
|
+
.DateTimeInput__field
|
|
8512
|
+
.DateTimeInput__timezone
|
|
8513
|
+
.DateTimeInput__timezone__control {
|
|
8514
|
+
min-height: 0;
|
|
8515
|
+
padding: 2px 4px 2px 8px;
|
|
8516
|
+
color: var(--color--ink-subtle);
|
|
8517
|
+
cursor: pointer;
|
|
8518
|
+
background-color: transparent;
|
|
8519
|
+
border-radius: var(--radius-s);
|
|
8520
|
+
box-shadow: none;
|
|
8521
|
+
transition: background-color 0.2s var(--material-ease);
|
|
8522
|
+
|
|
8523
|
+
&:hover,
|
|
8524
|
+
&.DateTimeInput__timezone__control--menu-is-open {
|
|
8525
|
+
color: var(--color--ink);
|
|
8526
|
+
background-color: var(--color--surface-hover);
|
|
8527
|
+
}
|
|
8528
|
+
/* A disabled timezone is a value, not a button */
|
|
8529
|
+
&.DateTimeInput__timezone__control--is-disabled {
|
|
8530
|
+
color: var(--color--disabled-field--ink);
|
|
8531
|
+
cursor: default;
|
|
8532
|
+
background-color: transparent;
|
|
8533
|
+
}
|
|
8534
|
+
}
|
|
8535
|
+
/* The timezone is at the right end of the field, and its menu is wider than
|
|
8536
|
+
it. Thus the menu aligns with the right edge of the timezone and opens to
|
|
8537
|
+
the left: when the field is near the right edge of the screen, the menu
|
|
8538
|
+
stays in the screen. */
|
|
8539
|
+
.DateTimeInput__field .DateTimeInput__timezone .DateTimeInput__timezone__menu {
|
|
8540
|
+
right: 0;
|
|
8541
|
+
left: auto;
|
|
8542
|
+
}
|
|
8543
|
+
.DateTimeInput__field
|
|
8544
|
+
.DateTimeInput__timezone
|
|
8545
|
+
.DateTimeInput__timezone__single-value {
|
|
8546
|
+
font-variant-numeric: tabular-nums;
|
|
8547
|
+
color: inherit;
|
|
8548
|
+
}
|
|
8549
|
+
.DateTimeInput__field
|
|
8550
|
+
.DateTimeInput__timezone
|
|
8551
|
+
.DateTimeInput__timezone__value-container {
|
|
8552
|
+
padding: 0;
|
|
8553
|
+
}
|
|
8554
|
+
.DateTimeInput__field
|
|
8555
|
+
.DateTimeInput__timezone
|
|
8556
|
+
.DateTimeInput__timezone__dropdown-indicator {
|
|
8557
|
+
padding: 0 0 0 4px;
|
|
8558
|
+
color: inherit;
|
|
8559
|
+
|
|
8560
|
+
svg {
|
|
8561
|
+
width: 14px;
|
|
8562
|
+
height: 14px;
|
|
8563
|
+
}
|
|
8564
|
+
}
|
|
8565
|
+
|
|
8566
|
+
.DateTimeInput--smaller {
|
|
8567
|
+
.DateTimeInput__field {
|
|
8568
|
+
padding: 0;
|
|
8569
|
+
background-color: transparent;
|
|
8570
|
+
border: 0;
|
|
8571
|
+
box-shadow: none;
|
|
8572
|
+
}
|
|
8573
|
+
.DateTimeInput__sizer {
|
|
8574
|
+
--autosize-input-padding-inline: 5px;
|
|
8575
|
+
font-size: var(--font-size-xs);
|
|
8576
|
+
}
|
|
8577
|
+
.DateTimeInput__date,
|
|
8578
|
+
.DateTimeInput__time {
|
|
8579
|
+
padding-block: 5px;
|
|
8580
|
+
}
|
|
8581
|
+
}
|
|
8582
|
+
|
|
8583
|
+
.DateTimeInput__date-popper {
|
|
8584
|
+
box-sizing: border-box;
|
|
8585
|
+
width: 272px;
|
|
8586
|
+
padding: 8px;
|
|
8587
|
+
background-color: var(--color--surface-raised);
|
|
8588
|
+
border: 1px solid var(--color--border-raised);
|
|
8589
|
+
border-radius: var(--radius-m);
|
|
8590
|
+
box-shadow: var(--shadow--floating);
|
|
8591
|
+
}
|
|
8592
|
+
.DateTimeInput__CalendarHeader {
|
|
8593
|
+
display: flex;
|
|
8594
|
+
align-items: center;
|
|
8595
|
+
margin-bottom: 4px;
|
|
8596
|
+
}
|
|
8597
|
+
.DateTimeInput__CalendarHeader__title {
|
|
8598
|
+
flex: 1;
|
|
8599
|
+
padding-left: 6px;
|
|
8600
|
+
font-weight: var(--font-weight-strong);
|
|
8601
|
+
}
|
|
8602
|
+
.DateTimeInput__CalendarHeader__actions {
|
|
8603
|
+
display: flex;
|
|
8604
|
+
}
|
|
8605
|
+
.DateTimeInput__CalendarHeader__action--today svg {
|
|
8606
|
+
font-size: 0.8em;
|
|
8607
|
+
}
|
|
8608
|
+
.DateTimeInput__CalendarGrid {
|
|
8609
|
+
display: grid;
|
|
8610
|
+
grid-template-columns: repeat(7, 1fr);
|
|
8611
|
+
gap: 2px;
|
|
8612
|
+
text-align: center;
|
|
8613
|
+
}
|
|
8614
|
+
/* The rows and the cells of the grid role give no box: the days are the
|
|
8615
|
+
items of the CSS grid */
|
|
8616
|
+
.DateTimeInput__CalendarRow,
|
|
8617
|
+
.DateTimeInput__CalendarCell {
|
|
8618
|
+
display: contents;
|
|
8619
|
+
}
|
|
8620
|
+
.DateTimeInput__CalendarWeekDay {
|
|
8621
|
+
padding: 6px 0;
|
|
8622
|
+
font-size: var(--font-size-xs);
|
|
8623
|
+
color: var(--color--ink-subtle);
|
|
8624
|
+
}
|
|
8625
|
+
.DateTimeInput__CalendarDayCell {
|
|
8626
|
+
position: relative;
|
|
8627
|
+
height: 32px;
|
|
8628
|
+
padding: 0;
|
|
8629
|
+
font-variant-numeric: tabular-nums;
|
|
8630
|
+
color: var(--color--ink);
|
|
8631
|
+
cursor: pointer;
|
|
8632
|
+
background: none;
|
|
8633
|
+
border: 0;
|
|
8634
|
+
border-radius: var(--radius-s);
|
|
8635
|
+
|
|
8636
|
+
&:hover {
|
|
8637
|
+
background-color: var(--color--surface-hover);
|
|
8638
|
+
}
|
|
8639
|
+
&:focus-visible {
|
|
8640
|
+
box-shadow: var(--focus-ring);
|
|
8641
|
+
}
|
|
8642
|
+
&[disabled],
|
|
8643
|
+
&[aria-disabled="true"] {
|
|
8644
|
+
color: var(--color--ink-disabled);
|
|
8645
|
+
cursor: not-allowed;
|
|
8646
|
+
|
|
8647
|
+
&:hover {
|
|
8648
|
+
background: none;
|
|
8649
|
+
}
|
|
8650
|
+
}
|
|
8651
|
+
}
|
|
8652
|
+
.DateTimeInput__CalendarDayCell--inAdjacentMonth {
|
|
8653
|
+
color: var(--color--ink-subtle);
|
|
8654
|
+
}
|
|
8655
|
+
.DateTimeInput__CalendarDayCell--isToday {
|
|
8656
|
+
font-weight: var(--font-weight-strong);
|
|
8657
|
+
box-shadow: inset 0 0 0 1px var(--color--selected--border);
|
|
8658
|
+
}
|
|
8659
|
+
.DateTimeInput__CalendarDayCell--inRange {
|
|
8660
|
+
background-color: var(--color--selected--surface);
|
|
8661
|
+
}
|
|
8662
|
+
.DateTimeInput__CalendarDayCell--isSelected {
|
|
8663
|
+
font-weight: var(--font-weight-strong);
|
|
8664
|
+
color: var(--color--primary--ink);
|
|
8665
|
+
background-color: var(--color--primary--surface);
|
|
8666
|
+
box-shadow: none;
|
|
8667
|
+
|
|
8668
|
+
&:hover {
|
|
8669
|
+
background-color: var(--color--primary--surface);
|
|
8670
|
+
}
|
|
8671
|
+
}
|
|
8672
|
+
.DateTimeRangeInput {
|
|
8673
|
+
position: relative;
|
|
8674
|
+
display: flex;
|
|
8675
|
+
width: 100%;
|
|
8676
|
+
}
|
|
8677
|
+
.DateTimeRangeInput--autosize {
|
|
8678
|
+
display: inline-flex;
|
|
8679
|
+
width: auto;
|
|
8680
|
+
max-width: 100%;
|
|
8681
|
+
}
|
|
8682
|
+
.DateTimeRangeInput__dropdown {
|
|
8683
|
+
display: flex;
|
|
8684
|
+
flex: 1;
|
|
8685
|
+
min-width: 0;
|
|
8686
|
+
}
|
|
8687
|
+
|
|
8688
|
+
/* The trigger has the look of a field, so it has the height of a field (see
|
|
8689
|
+
--control-height) */
|
|
8690
|
+
.DateTimeRangeInput__trigger {
|
|
8691
|
+
box-sizing: border-box;
|
|
8692
|
+
display: flex;
|
|
8693
|
+
flex: 1;
|
|
8694
|
+
gap: 8px;
|
|
8695
|
+
align-items: center;
|
|
8696
|
+
min-width: 0;
|
|
8697
|
+
min-height: var(--control-height);
|
|
8698
|
+
padding: 10px;
|
|
8699
|
+
font-size: var(--font-size-m);
|
|
8700
|
+
color: var(--color--ink);
|
|
8701
|
+
cursor: pointer;
|
|
8702
|
+
background: var(--color--surface-raised);
|
|
8703
|
+
border: 1px solid var(--color--border);
|
|
8704
|
+
border-radius: var(--radius-s);
|
|
8705
|
+
transition: border-color 0.15s ease;
|
|
8706
|
+
|
|
8707
|
+
&:hover {
|
|
8708
|
+
border-color: var(--color--border-hover);
|
|
8709
|
+
}
|
|
8710
|
+
&[aria-expanded="true"] {
|
|
8711
|
+
border-color: var(--color--focus--border);
|
|
8712
|
+
}
|
|
8713
|
+
&:focus-visible {
|
|
8714
|
+
border-color: var(--color--focus--border);
|
|
8715
|
+
box-shadow: var(--focus-ring);
|
|
8716
|
+
}
|
|
8717
|
+
|
|
8718
|
+
svg {
|
|
8719
|
+
color: var(--color--ink-subtle);
|
|
8720
|
+
}
|
|
8721
|
+
|
|
8722
|
+
/* A locked trigger is a field that the user cannot change: the value stays
|
|
8723
|
+
readable */
|
|
8724
|
+
.DateTimeRangeInput.is-disabled &,
|
|
8725
|
+
.DateTimeRangeInput.is-read-only & {
|
|
8726
|
+
cursor: default;
|
|
8727
|
+
border-color: var(--color--border);
|
|
8728
|
+
}
|
|
8729
|
+
.DateTimeRangeInput.is-disabled & {
|
|
8730
|
+
color: var(--color--disabled-field--ink);
|
|
8731
|
+
background: var(--color--disabled-field--surface);
|
|
8732
|
+
}
|
|
8733
|
+
}
|
|
8734
|
+
.DateTimeRangeInput__trigger-icon {
|
|
8735
|
+
flex-shrink: 0;
|
|
8736
|
+
width: 14px;
|
|
8737
|
+
height: 14px;
|
|
8738
|
+
}
|
|
8739
|
+
.DateTimeRangeInput__trigger-label {
|
|
8740
|
+
flex: 1;
|
|
8741
|
+
overflow: hidden;
|
|
8742
|
+
text-overflow: ellipsis;
|
|
8743
|
+
text-align: left;
|
|
8744
|
+
white-space: nowrap;
|
|
8745
|
+
}
|
|
8746
|
+
|
|
8747
|
+
/* The clear button is over the right end of the trigger, where the chevron
|
|
8748
|
+
is in the other states. The trigger keeps space for it, so the label does
|
|
8749
|
+
not go below it. */
|
|
8750
|
+
.DateTimeRangeInput--clearable .DateTimeRangeInput__trigger {
|
|
8751
|
+
padding-right: calc(10px + 1lh + 2 * 0.3em);
|
|
8752
|
+
}
|
|
8753
|
+
.DateTimeRangeInput__clear {
|
|
8754
|
+
position: absolute;
|
|
8755
|
+
top: 50%;
|
|
8756
|
+
right: 6px;
|
|
8757
|
+
transform: translateY(-50%);
|
|
8758
|
+
}
|
|
8759
|
+
|
|
8760
|
+
/* The box around a filter draws the focus ring, as for the other inputs of
|
|
8761
|
+
the filter look */
|
|
8762
|
+
.DateTimeRangeInput--filter .DateTimeRangeInput__trigger {
|
|
8763
|
+
min-height: 0;
|
|
8764
|
+
padding: 5px;
|
|
8765
|
+
font-size: var(--font-size-xs);
|
|
8766
|
+
background: transparent;
|
|
8767
|
+
border: 0;
|
|
8768
|
+
box-shadow: none;
|
|
8769
|
+
}
|
|
8770
|
+
|
|
8771
|
+
.DateTimeRangeInput__panel {
|
|
8772
|
+
box-sizing: border-box;
|
|
8773
|
+
width: 280px;
|
|
8774
|
+
padding: 12px;
|
|
8775
|
+
background: var(--color--surface-raised);
|
|
8776
|
+
border: 1px solid var(--color--border-raised);
|
|
8777
|
+
border-radius: var(--radius-m);
|
|
8778
|
+
box-shadow: var(--shadow--floating);
|
|
8779
|
+
}
|
|
8780
|
+
.DateTimeRangeInput__edges {
|
|
8781
|
+
display: flex;
|
|
8782
|
+
flex-direction: column;
|
|
8783
|
+
gap: 8px;
|
|
8784
|
+
margin-top: 12px;
|
|
8785
|
+
}
|
|
8786
|
+
.DateTimeRangeInput__edge-label {
|
|
8787
|
+
display: block;
|
|
8788
|
+
margin-bottom: 4px;
|
|
8789
|
+
font-weight: var(--font-weight-strong);
|
|
8790
|
+
color: var(--color--ink-subtle);
|
|
8791
|
+
}
|
|
8792
|
+
.DateTimeRangeInput__edge-inputs {
|
|
8793
|
+
display: flex;
|
|
8794
|
+
gap: 6px;
|
|
8795
|
+
}
|
|
8796
|
+
.DateTimeRangeInput__edge-date {
|
|
8797
|
+
flex: 1.3;
|
|
8798
|
+
min-width: 0;
|
|
8799
|
+
|
|
8800
|
+
/* The next pick in the calendar sets the end of this text */
|
|
8801
|
+
&.is-active {
|
|
8802
|
+
border-color: var(--color--focus--border);
|
|
8803
|
+
}
|
|
8804
|
+
}
|
|
8805
|
+
.DateTimeRangeInput__edge-time {
|
|
8806
|
+
flex: 0.7;
|
|
8807
|
+
min-width: 0;
|
|
8808
|
+
}
|
|
8214
8809
|
/* All are kbd elements: the normalize sheet gives a kbd the monospace font */
|
|
8215
8810
|
.Shortcut,
|
|
8216
8811
|
.Shortcut__key {
|
|
@@ -9066,20 +9661,19 @@ body.SplitView--disable-select {
|
|
|
9066
9661
|
}
|
|
9067
9662
|
|
|
9068
9663
|
/* The area of the overview of an empty section. It has the largest width of
|
|
9069
|
-
the split
|
|
9664
|
+
the split. It has no line at its right edge, because no content ends
|
|
9665
|
+
there. */
|
|
9070
9666
|
.ListDetailOverview {
|
|
9071
9667
|
position: absolute;
|
|
9072
9668
|
inset: 0;
|
|
9073
9669
|
right: auto;
|
|
9074
9670
|
box-sizing: border-box;
|
|
9075
9671
|
width: 100%;
|
|
9076
|
-
border-right: 1px solid var(--color--border);
|
|
9077
9672
|
}
|
|
9078
9673
|
|
|
9079
9674
|
/* The detail at the right of the list. The split gives its width (the user
|
|
9080
9675
|
resizes it with the sash on its right border); more space at its right
|
|
9081
|
-
stays empty.
|
|
9082
|
-
row. */
|
|
9676
|
+
stays empty. Without an open row, it holds a blank slate. */
|
|
9083
9677
|
.ListDetailSplit__detail {
|
|
9084
9678
|
position: relative;
|
|
9085
9679
|
box-sizing: border-box;
|
|
@@ -9092,20 +9686,24 @@ body.SplitView--disable-select {
|
|
|
9092
9686
|
border-right: 0;
|
|
9093
9687
|
}
|
|
9094
9688
|
}
|
|
9689
|
+
/* Without an open row, no content ends at the right edge of the detail */
|
|
9690
|
+
.ListDetailSplit__detail--empty {
|
|
9691
|
+
border-right: 0;
|
|
9692
|
+
}
|
|
9095
9693
|
/* The sash on the right border of the detail goes out of the detail. When
|
|
9096
9694
|
the detail fills its pane, the pane does not scroll for it. */
|
|
9097
9695
|
.SplitViewPane:has(> .ListDetailSplit__detail) {
|
|
9098
9696
|
overflow-x: clip;
|
|
9099
9697
|
}
|
|
9100
9698
|
|
|
9101
|
-
/*
|
|
9102
|
-
it */
|
|
9699
|
+
/* With the "over" placement, the list uses all the width and the detail goes
|
|
9700
|
+
over it. The split gives the width of a detail that the user resizes. */
|
|
9103
9701
|
.ListDetailSplit__list {
|
|
9104
9702
|
position: relative;
|
|
9105
9703
|
flex: 1 1 auto;
|
|
9106
9704
|
min-width: 0;
|
|
9107
9705
|
}
|
|
9108
|
-
.ListDetailSplit--
|
|
9706
|
+
.ListDetailSplit--over .ListDetailSplit__detail {
|
|
9109
9707
|
position: absolute;
|
|
9110
9708
|
top: 0;
|
|
9111
9709
|
right: 0;
|