@threadlabs/looma 0.51.6 → 0.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/components/shared/overlay.js +7 -2
- package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -0
- package/components/ui-calendar/ui-calendar.js +11 -7
- package/components/ui-date-field/ui-date-field.js +0 -5
- package/components/ui-disclosure/ui-disclosure.js +19 -4
- package/components/ui-editor-link-form/ui-editor-link-form.js +5 -0
- package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +2 -3
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +10 -1
- package/components/ui-file-input/ui-file-input.js +0 -2
- package/components/ui-status-message/ui-status-message.html +1 -0
- package/components/ui-tabs/ui-tabs.html +1 -0
- package/components/ui-tooltip/ui-tooltip.html +11 -32
- package/dist/index.js +14 -8
- package/docs/catalog.json +565 -131
- package/editor/components.css +530 -551
- package/editor/index.js +72 -47
- package/package.json +30 -35
- package/styles/ui-action-bar.css +8 -8
- package/styles/ui-affordance-scope.css +10 -10
- package/styles/ui-avatar-group.css +11 -11
- package/styles/ui-avatar.css +14 -14
- package/styles/ui-badge.css +67 -67
- package/styles/ui-breadcrumb-item.css +10 -10
- package/styles/ui-breadcrumbs.css +8 -8
- package/styles/ui-button.css +99 -99
- package/styles/ui-calendar.css +1 -1
- package/styles/ui-callout.css +14 -14
- package/styles/ui-card-group.css +11 -11
- package/styles/ui-card.css +36 -36
- package/styles/ui-checkbox.css +28 -28
- package/styles/ui-cluster.css +30 -30
- package/styles/ui-color-picker.css +16 -16
- package/styles/ui-combobox.css +50 -50
- package/styles/ui-compact-content.css +1 -1
- package/styles/ui-compact-editor.css +1 -1
- package/styles/ui-compact-mark.css +1 -1
- package/styles/ui-compact-node.css +1 -1
- package/styles/ui-container.css +14 -14
- package/styles/ui-context-menu.css +8 -8
- package/styles/ui-cover.css +9 -9
- package/styles/ui-curve-editor.css +9 -9
- package/styles/ui-cycle-button.css +10 -10
- package/styles/ui-date-field.css +1 -1
- package/styles/ui-date-picker.css +1 -1
- package/styles/ui-date-range-picker.css +1 -1
- package/styles/ui-description-item.css +8 -8
- package/styles/ui-description-list.css +18 -18
- package/styles/ui-dialog.css +37 -37
- package/styles/ui-disclosure.css +26 -26
- package/styles/ui-editable.css +13 -13
- package/styles/ui-editor-block-actions.css +1 -1
- package/styles/ui-editor-chip-editor.css +1 -1
- package/styles/ui-editor-code-language.css +1 -1
- package/styles/ui-editor-footnote-editor.css +1 -1
- package/styles/ui-editor-formatting-tools.css +1 -1
- package/styles/ui-editor-image-toolbar.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +9 -9
- package/styles/ui-editor-link-card.css +1 -1
- package/styles/ui-editor-link-form.css +1 -1
- package/styles/ui-editor-mention-menu-item.css +13 -15
- package/styles/ui-editor-mention-menu.css +12 -12
- package/styles/ui-editor-slash-menu-group.css +7 -7
- package/styles/ui-editor-slash-menu-item.css +12 -12
- package/styles/ui-editor-slash-menu.css +13 -13
- package/styles/ui-editor-surface.css +8 -8
- package/styles/ui-editor-table-context-menu.css +19 -15
- package/styles/ui-editor-table-overlay.css +15 -15
- package/styles/ui-editor-table-toolbar.css +19 -19
- package/styles/ui-editor-toolbar.css +16 -16
- package/styles/ui-editor.css +1 -1
- package/styles/ui-file-input.css +1 -1
- package/styles/ui-floating-action-button.css +14 -14
- package/styles/ui-form-field.css +9 -9
- package/styles/ui-grid.css +19 -19
- package/styles/ui-icon-button.css +73 -73
- package/styles/ui-icon.css +11 -11
- package/styles/ui-image.css +23 -23
- package/styles/ui-input-group.css +26 -26
- package/styles/ui-input.css +23 -23
- package/styles/ui-light-editor.css +15 -15
- package/styles/ui-list-item.css +25 -25
- package/styles/ui-list.css +16 -16
- package/styles/ui-listbox.css +22 -22
- package/styles/ui-menu-group.css +7 -7
- package/styles/ui-menu-item.css +20 -20
- package/styles/ui-menu.css +20 -20
- package/styles/ui-meter.css +32 -32
- package/styles/ui-nav-item.css +18 -18
- package/styles/ui-number-input.css +12 -12
- package/styles/ui-page-header.css +10 -10
- package/styles/ui-pagination.css +1 -1
- package/styles/ui-popover.css +17 -17
- package/styles/ui-radio-group.css +10 -10
- package/styles/ui-radio.css +25 -25
- package/styles/ui-reel.css +21 -21
- package/styles/ui-scroll-area.css +20 -20
- package/styles/ui-search-result-row.css +16 -16
- package/styles/ui-search-shell.css +10 -10
- package/styles/ui-section.css +18 -18
- package/styles/ui-select.css +22 -22
- package/styles/ui-separator.css +12 -12
- package/styles/ui-sidebar.css +26 -26
- package/styles/ui-site-header.css +65 -65
- package/styles/ui-skeleton.css +18 -18
- package/styles/ui-slider.css +11 -11
- package/styles/ui-spinner.css +9 -9
- package/styles/ui-stack.css +22 -22
- package/styles/ui-status-message.css +12 -12
- package/styles/ui-swatch.css +14 -14
- package/styles/ui-switch.css +23 -23
- package/styles/ui-switcher.css +20 -20
- package/styles/ui-table.css +12 -12
- package/styles/ui-tabs.css +18 -17
- package/styles/ui-text.css +40 -40
- package/styles/ui-textarea.css +21 -21
- package/styles/ui-time-field.css +1 -1
- package/styles/ui-time-picker.css +1 -1
- package/styles/ui-toast-region.css +29 -29
- package/styles/ui-toast.css +19 -19
- package/styles/ui-tooltip.css +37 -58
- package/styles/ui-top-bar.css +8 -8
- package/styles/ui-tree-item.css +112 -112
- package/styles/ui-tree.css +11 -11
- package/vanilla/UiActionBar.d.ts +1 -1
- package/vanilla/UiActionBar.js +2 -2
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +2 -2
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +2 -2
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +2 -2
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +2 -2
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +2 -2
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +2 -2
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +5 -5
- package/vanilla/UiCalendar.d.ts +1 -1
- package/vanilla/UiCalendar.js +10 -10
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +2 -2
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +5 -5
- package/vanilla/UiCardGroup.d.ts +1 -1
- package/vanilla/UiCardGroup.js +2 -2
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +2 -2
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +2 -2
- package/vanilla/UiColorPicker.d.ts +1 -1
- package/vanilla/UiColorPicker.js +2 -2
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +8 -8
- package/vanilla/UiCompactContent.d.ts +1 -1
- package/vanilla/UiCompactContent.js +4 -4
- package/vanilla/UiCompactEditor.d.ts +1 -1
- package/vanilla/UiCompactEditor.js +2 -2
- package/vanilla/UiCompactMark.d.ts +1 -1
- package/vanilla/UiCompactMark.js +5 -5
- package/vanilla/UiCompactNode.d.ts +1 -1
- package/vanilla/UiCompactNode.js +8 -8
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +2 -2
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +2 -2
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +2 -2
- package/vanilla/UiCurveEditor.d.ts +1 -1
- package/vanilla/UiCurveEditor.js +2 -2
- package/vanilla/UiCycleButton.d.ts +1 -1
- package/vanilla/UiCycleButton.js +2 -2
- package/vanilla/UiDateField.d.ts +1 -1
- package/vanilla/UiDateField.js +2 -2
- package/vanilla/UiDatePicker.d.ts +1 -1
- package/vanilla/UiDatePicker.js +2 -2
- package/vanilla/UiDateRangePicker.d.ts +1 -1
- package/vanilla/UiDateRangePicker.js +4 -4
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +2 -2
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +2 -2
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +2 -2
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +2 -2
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +2 -2
- package/vanilla/UiEditor.d.ts +1 -1
- package/vanilla/UiEditor.js +6 -6
- package/vanilla/UiEditorBlockActions.d.ts +1 -1
- package/vanilla/UiEditorBlockActions.js +2 -2
- package/vanilla/UiEditorChipEditor.d.ts +1 -1
- package/vanilla/UiEditorChipEditor.js +2 -2
- package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
- package/vanilla/UiEditorCodeLanguage.js +4 -4
- package/vanilla/UiEditorFootnoteEditor.d.ts +1 -1
- package/vanilla/UiEditorFootnoteEditor.js +2 -2
- package/vanilla/UiEditorFormattingTools.d.ts +1 -1
- package/vanilla/UiEditorFormattingTools.js +4 -4
- package/vanilla/UiEditorImageToolbar.d.ts +1 -1
- package/vanilla/UiEditorImageToolbar.js +2 -2
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +4 -4
- package/vanilla/UiEditorLinkCard.d.ts +1 -1
- package/vanilla/UiEditorLinkCard.js +2 -2
- package/vanilla/UiEditorLinkForm.d.ts +1 -1
- package/vanilla/UiEditorLinkForm.js +4 -4
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +4 -4
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +2 -2
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +4 -4
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +2 -2
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +2 -2
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +2 -2
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +7 -6
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +5 -5
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +8 -8
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +2 -2
- package/vanilla/UiFileInput.d.ts +1 -1
- package/vanilla/UiFileInput.js +4 -4
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +2 -2
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +2 -2
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +4 -4
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +4 -4
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +2 -2
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +2 -2
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +2 -2
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +2 -2
- package/vanilla/UiLightEditor.d.ts +1 -1
- package/vanilla/UiLightEditor.js +2 -2
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +3 -3
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +2 -2
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +5 -5
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +2 -2
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +2 -2
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +3 -3
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +4 -4
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +3 -3
- package/vanilla/UiNumberInput.d.ts +1 -1
- package/vanilla/UiNumberInput.js +2 -2
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +2 -2
- package/vanilla/UiPagination.d.ts +1 -1
- package/vanilla/UiPagination.js +4 -4
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +2 -2
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +2 -2
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +2 -2
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +2 -2
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +2 -2
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +2 -2
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +2 -2
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +3 -3
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +2 -2
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +2 -2
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +2 -2
- package/vanilla/UiSiteHeader.d.ts +1 -1
- package/vanilla/UiSiteHeader.js +2 -2
- package/vanilla/UiSkeleton.d.ts +1 -1
- package/vanilla/UiSkeleton.js +2 -2
- package/vanilla/UiSlider.d.ts +1 -1
- package/vanilla/UiSlider.js +2 -2
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +2 -2
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +2 -2
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +2 -2
- package/vanilla/UiSwatch.d.ts +1 -1
- package/vanilla/UiSwatch.js +2 -2
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +2 -2
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +2 -2
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +2 -2
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +4 -4
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +13 -13
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +2 -2
- package/vanilla/UiTimeField.d.ts +1 -1
- package/vanilla/UiTimeField.js +2 -2
- package/vanilla/UiTimePicker.d.ts +1 -1
- package/vanilla/UiTimePicker.js +6 -6
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +2 -2
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +4 -4
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +2 -2
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +2 -2
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +2 -2
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +2 -2
- package/bin/looma-docs.mjs +0 -3
- package/docs/README.md +0 -323
- package/docs/card.html +0 -79
- package/docs/card.js +0 -18
- package/docs/catalog-view.js +0 -24
- package/docs/catalog-view.mjs +0 -13
- package/docs/catalog.mjs +0 -131
- package/docs/cli.mjs +0 -26
- package/docs/commands.mjs +0 -94
- package/docs/customizer-render.mjs +0 -157
- package/docs/customizer.js +0 -494
- package/docs/documentation.css +0 -14
- package/docs/example-invocations.mjs +0 -63
- package/docs/fonts.mjs +0 -73
- package/docs/framework-examples.d.mts +0 -9
- package/docs/framework-examples.mjs +0 -195
- package/docs/index.d.ts +0 -59
- package/docs/index.mjs +0 -4
- package/docs/local-server.mjs +0 -65
- package/docs/navigation.mjs +0 -26
- package/docs/palette.mjs +0 -68
- package/docs/pastoral.svg +0 -54
- package/docs/portrait.svg +0 -15
- package/docs/reference.html +0 -1
- package/docs/reference.js +0 -36
- package/docs/render.mjs +0 -97
- package/docs/site.mjs +0 -237
- package/docs/store.mjs +0 -92
- package/docs/theme-session.mjs +0 -72
- package/docs/theme.mjs +0 -669
- package/docs/value-editors.mjs +0 -37
- package/docs/workspace.mjs +0 -32
package/styles/ui-image.css
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
2
2
|
@supports (-moz-appearance: none) {
|
|
3
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
4
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
3
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
4
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
5
5
|
}
|
|
6
6
|
@supports (-moz-appearance: none) {
|
|
7
|
-
[data-component~="ui-image"] { --html-next-scope-owner: "ui-image" !important; }
|
|
7
|
+
:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])) { --html-next-scope-owner: "ui-image" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-image"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-image"]) {
|
|
9
|
+
@scope (:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component]))) {
|
|
11
11
|
display: flex !important;
|
|
12
12
|
justify-content: flex-start !important;
|
|
13
13
|
box-sizing: border-box !important;
|
|
@@ -16,21 +16,21 @@
|
|
|
16
16
|
margin: 0 !important;
|
|
17
17
|
padding: var(--ui-space-3) 0 !important;
|
|
18
18
|
}
|
|
19
|
-
:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=center"] {
|
|
19
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=center"] {
|
|
20
20
|
justify-content: center !important;
|
|
21
21
|
}
|
|
22
|
-
:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"] {
|
|
22
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-left"] {
|
|
23
23
|
float: left;
|
|
24
24
|
padding-inline-end: var(--ui-space-4) !important;
|
|
25
25
|
}
|
|
26
|
-
:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"] {
|
|
26
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-right"] {
|
|
27
27
|
float: right;
|
|
28
28
|
padding-inline-start: var(--ui-space-4) !important;
|
|
29
29
|
}
|
|
30
|
-
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) {
|
|
30
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component]))):is(:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-left"], :scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-right"]) {
|
|
31
31
|
inline-size: calc(var(--_ui-image-width, calc(100% / 3)) + var(--ui-space-4));
|
|
32
32
|
}
|
|
33
|
-
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) .frame {
|
|
33
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component]))):is(:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-left"], :scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-right"]) .frame {
|
|
34
34
|
inline-size: 100%;
|
|
35
35
|
}
|
|
36
36
|
.frame {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
align-self: flex-start;
|
|
43
43
|
border-radius: var(--ui-radius-md);
|
|
44
44
|
}
|
|
45
|
-
:scope:where([data-component~="ui-image"])[data-ui-image-state~="selected"] .frame {
|
|
45
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="selected"] .frame {
|
|
46
46
|
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
47
47
|
outline-offset: var(--ui-border-width);
|
|
48
48
|
}
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
background: transparent;
|
|
57
57
|
touch-action: none;
|
|
58
58
|
}
|
|
59
|
-
.handle:where(:not([data-component], [data-slotted]))::after {
|
|
59
|
+
.handle:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
60
60
|
content: "";
|
|
61
61
|
position: absolute;
|
|
62
62
|
inset: 8px;
|
|
@@ -88,16 +88,16 @@
|
|
|
88
88
|
right: -12px;
|
|
89
89
|
cursor: nwse-resize;
|
|
90
90
|
}
|
|
91
|
-
.handles[hidden], :scope:where([data-component~="ui-image"])[hidden] {
|
|
91
|
+
.handles[hidden], :scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[hidden] {
|
|
92
92
|
display: none !important;
|
|
93
93
|
}
|
|
94
94
|
@media (max-width: 767px) {
|
|
95
|
-
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) {
|
|
95
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component]))):is(:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-left"], :scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-right"]) {
|
|
96
96
|
float: none;
|
|
97
97
|
inline-size: 100%;
|
|
98
98
|
padding-inline: 0 !important;
|
|
99
99
|
}
|
|
100
|
-
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) .handles {
|
|
100
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component]))):is(:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-left"], :scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-right"]) .handles {
|
|
101
101
|
display: none !important;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
inline-size: 44px;
|
|
107
107
|
block-size: 44px;
|
|
108
108
|
}
|
|
109
|
-
.handle:where(:not([data-component], [data-slotted]))::after {
|
|
109
|
+
.handle:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
110
110
|
inset: 18px;
|
|
111
111
|
}
|
|
112
112
|
.handle[data-corner="top-left"] {
|
|
@@ -127,18 +127,18 @@
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
@media (forced-colors: active) {
|
|
130
|
-
:scope:where([data-component~="ui-image"])[data-ui-image-state~="selected"] .frame, .handle:focus-visible {
|
|
130
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="selected"] .frame, .handle:focus-visible {
|
|
131
131
|
outline-color: Highlight;
|
|
132
132
|
}
|
|
133
|
-
.handle:where(:not([data-component], [data-slotted]))::after {
|
|
133
|
+
.handle:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
134
134
|
border-color: Highlight;
|
|
135
135
|
background: Canvas;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
@scope ([data-component~="ui-image"]) to ([data-component]) {
|
|
140
|
-
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) .frame img,
|
|
141
|
-
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) .frame :where([data-slotted], [data-slotted] *):is(img) {
|
|
139
|
+
@scope (:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
140
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component]))):is(:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-left"], :scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-right"]) .frame img,
|
|
141
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component]))):is(:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-left"], :scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-ui-image-state~="placement=wrap-right"]) .frame :where([data-slotted], [data-slotted] *):is(img) {
|
|
142
142
|
inline-size: 100%;
|
|
143
143
|
}
|
|
144
144
|
.frame img, .frame :where([data-slotted], [data-slotted] *):is(img) {
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
margin: 0 !important;
|
|
149
149
|
border-radius: inherit;
|
|
150
150
|
}
|
|
151
|
-
:scope:where([data-component~="ui-image"])[data-resizing] .frame img, :scope:where([data-component~="ui-image"])[data-resizing] .frame :where([data-slotted], [data-slotted] *):is(img) {
|
|
151
|
+
:scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-resizing] .frame img, :scope:where(:is([component~="ui-image"]:not(template), [data-component~="ui-image"]:not([component])))[data-resizing] .frame :where([data-slotted], [data-slotted] *):is(img) {
|
|
152
152
|
inline-size: 100%;
|
|
153
153
|
}
|
|
154
154
|
@media (max-width: 767px) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
2
2
|
@supports (-moz-appearance: none) {
|
|
3
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
4
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
3
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
4
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
5
5
|
}
|
|
6
6
|
@supports (-moz-appearance: none) {
|
|
7
|
-
[data-component~="ui-input-group"] { --html-next-scope-owner: "ui-input-group" !important; }
|
|
7
|
+
:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component])) { --html-next-scope-owner: "ui-input-group" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-input-group"]) to ([data-component], [data-slotted]) {
|
|
9
|
+
@scope (:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
10
|
/* An input with fixed text before or after it, such as a domain after a site's name
|
|
11
11
|
("acme" + ".example.com") or slashes around a path. The group draws the field's border and
|
|
12
12
|
focus ring around the input and its affixes together; the input inside drops its own through
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
whole value is. The action slot takes one button at the end, inside the border, for the one
|
|
16
16
|
thing the field is for ("Continue" after a site's address), so it reads as the field's action
|
|
17
17
|
and not the form's. */
|
|
18
|
-
:scope:where([data-component~="ui-input-group"]) {
|
|
18
|
+
:scope:where(:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component]))) {
|
|
19
19
|
/* The group's own border and height stand for the input's, so the group is a lone Input's height.
|
|
20
20
|
These are defaults for the input; public hooks still win. */
|
|
21
21
|
--_ui-default-input-border-width: 0;
|
|
@@ -63,39 +63,39 @@
|
|
|
63
63
|
transition: border-color var(--ui-motion-fast) var(--ui-motion-ease), box-shadow var(--ui-motion-fast) var(--ui-motion-ease);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
:scope:where([data-component~="ui-input-group"])[data-ui-input-group-state~="variant=subtle"] {
|
|
66
|
+
:scope:where(:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component])))[data-ui-input-group-state~="variant=subtle"] {
|
|
67
67
|
border-color: var(--ui-border);
|
|
68
68
|
background: var(--ui-surface-muted);
|
|
69
69
|
box-shadow: none;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
/* The frame takes its input's size, so a small group lines up with small buttons and fields. */
|
|
73
|
-
:scope:where([data-component~="ui-input-group"]):has(.field [data-ui-input-state~="size=sm"]) {
|
|
73
|
+
:scope:where(:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component]))):has(.field [data-ui-input-state~="size=sm"]) {
|
|
74
74
|
min-block-size: var(--ui-control-size-sm);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
:scope:where([data-component~="ui-input-group"]):has(.field [data-ui-input-state~="size=lg"]) {
|
|
77
|
+
:scope:where(:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component]))):has(.field [data-ui-input-state~="size=lg"]) {
|
|
78
78
|
min-block-size: var(--ui-control-size-lg);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
:scope:where([data-component~="ui-input-group"]):hover:not(:has(:is(input, textarea):focus, :is(input:not([type="hidden"]), textarea):not([hidden]):disabled, :is(input:not([type="hidden"]), textarea):not([hidden]):read-only, [aria-invalid="true"], :is(:user-invalid, [data-user-invalid]))) {
|
|
81
|
+
:scope:where(:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component]))):hover:not(:has(:is(input, textarea):focus, :is(input:not([type="hidden"]), textarea):not([hidden]):disabled, :is(input:not([type="hidden"]), textarea):not([hidden]):read-only, [aria-invalid="true"], :is(:user-invalid, [data-user-invalid]))) {
|
|
82
82
|
border-color: var(--ui-control-border-hover, var(--ui-text-secondary));
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
/* The ring shows when the field's input would show its own: when it is focus-visible, which a
|
|
86
86
|
text input is for a pointer as well as a keyboard. A focused action button draws its own. */
|
|
87
|
-
:scope:where([data-component~="ui-input-group"]):has(.field :is(input, textarea):focus-visible) {
|
|
87
|
+
:scope:where(:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component]))):has(.field :is(input, textarea):focus-visible) {
|
|
88
88
|
border-color: var(--ui-control-focus, var(--ui-accent-solid));
|
|
89
89
|
box-shadow:
|
|
90
90
|
var(--ui-control-inset),
|
|
91
91
|
var(--ui-control-focus-halo-shadow);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
:scope:where([data-component~="ui-input-group"]):has([aria-invalid="true"], :is(:user-invalid, [data-user-invalid])) {
|
|
94
|
+
:scope:where(:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component]))):has([aria-invalid="true"], :is(:user-invalid, [data-user-invalid])) {
|
|
95
95
|
border-color: var(--ui-input-group-invalid-border, var(--ui-field-danger, var(--ui-danger-solid)));
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
:scope:where([data-component~="ui-input-group"]):has(:is(input, textarea):is([aria-invalid="true"], :is(:user-invalid, [data-user-invalid])):focus-visible) {
|
|
98
|
+
:scope:where(:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component]))):has(:is(input, textarea):is([aria-invalid="true"], :is(:user-invalid, [data-user-invalid])):focus-visible) {
|
|
99
99
|
box-shadow: var(
|
|
100
100
|
--ui-input-group-invalid-focus-shadow,
|
|
101
101
|
var(--ui-control-inset),
|
|
@@ -109,14 +109,14 @@
|
|
|
109
109
|
|
|
110
110
|
/* Forced colors drop box shadows, so the focus ring becomes an outline. */
|
|
111
111
|
@media (forced-colors: active) {
|
|
112
|
-
:scope:where([data-component~="ui-input-group"]):has(:is(input, textarea):focus-visible) {
|
|
112
|
+
:scope:where(:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component]))):has(:is(input, textarea):focus-visible) {
|
|
113
113
|
outline: var(--ui-focus-width) solid Highlight;
|
|
114
114
|
outline-offset: var(--ui-border-width);
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
:scope:where([data-component~="ui-input-group"])[data-ui-input-group-state~="disabled"],
|
|
119
|
-
:scope:where([data-component~="ui-input-group"]):has(:is(input:not([type="hidden"]), textarea):not([hidden]):disabled) {
|
|
118
|
+
:scope:where(:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component])))[data-ui-input-group-state~="disabled"],
|
|
119
|
+
:scope:where(:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component]))):has(:is(input:not([type="hidden"]), textarea):not([hidden]):disabled) {
|
|
120
120
|
background: var(--ui-control-surface-disabled, var(--ui-surface-muted));
|
|
121
121
|
box-shadow: none;
|
|
122
122
|
cursor: not-allowed;
|
|
@@ -153,10 +153,10 @@
|
|
|
153
153
|
border-inline-start: var(--ui-border-width) solid var(--ui-border-divider);
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
:scope:where([data-component~="ui-input-group"])[data-ui-input-group-state~="prefixKind=icon"] {
|
|
156
|
+
:scope:where(:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component])))[data-ui-input-group-state~="prefixKind=icon"] {
|
|
157
157
|
--_ui-default-input-padding-inline-start: var(--ui-space-2);
|
|
158
158
|
}
|
|
159
|
-
:scope:where([data-component~="ui-input-group"])[data-ui-input-group-state~="prefixKind=icon"] .affix:first-child {
|
|
159
|
+
:scope:where(:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component])))[data-ui-input-group-state~="prefixKind=icon"] .affix:first-child {
|
|
160
160
|
padding-inline-end: 0 !important;
|
|
161
161
|
border-inline-end: 0;
|
|
162
162
|
background: transparent;
|
|
@@ -172,16 +172,16 @@
|
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
/* Multiline text owns the first row; its action remains inside the same frame below it. */
|
|
175
|
-
:scope:where([data-component~="ui-input-group"])[data-ui-input-group-state~="multiline"] {
|
|
175
|
+
:scope:where(:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component])))[data-ui-input-group-state~="multiline"] {
|
|
176
176
|
display: grid !important;
|
|
177
177
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
:scope:where([data-component~="ui-input-group"])[data-ui-input-group-state~="multiline"] .field {
|
|
180
|
+
:scope:where(:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component])))[data-ui-input-group-state~="multiline"] .field {
|
|
181
181
|
grid-column: 2;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
:scope:where([data-component~="ui-input-group"])[data-ui-input-group-state~="multiline"] .action {
|
|
184
|
+
:scope:where(:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component])))[data-ui-input-group-state~="multiline"] .action {
|
|
185
185
|
grid-column: 1 / -1;
|
|
186
186
|
justify-content: end !important;
|
|
187
187
|
padding: var(--ui-space-2) !important;
|
|
@@ -190,15 +190,15 @@
|
|
|
190
190
|
|
|
191
191
|
/* The same textarea keeps its full resizeable box. Its text reserves the action's live width,
|
|
192
192
|
so a translated label or pending indicator cannot cover what the person types. */
|
|
193
|
-
:scope:where([data-component~="ui-input-group"])[data-ui-input-group-state~="multiline"][data-ui-input-group-state~="actionPosition=top-end"] {
|
|
193
|
+
:scope:where(:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component])))[data-ui-input-group-state~="multiline"][data-ui-input-group-state~="actionPosition=top-end"] {
|
|
194
194
|
--_ui-default-textarea-padding-inline-end: calc(var(--_ui-input-group-action-inline-size, 7rem) + var(--ui-space-3));
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
:scope:where([data-component~="ui-input-group"])[data-ui-input-group-state~="multiline"][data-ui-input-group-state~="actionPosition=top-end"] .field {
|
|
197
|
+
:scope:where(:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component])))[data-ui-input-group-state~="multiline"][data-ui-input-group-state~="actionPosition=top-end"] .field {
|
|
198
198
|
grid-row: 1;
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
:scope:where([data-component~="ui-input-group"])[data-ui-input-group-state~="multiline"][data-ui-input-group-state~="actionPosition=top-end"] .action {
|
|
201
|
+
:scope:where(:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component])))[data-ui-input-group-state~="multiline"][data-ui-input-group-state~="actionPosition=top-end"] .action {
|
|
202
202
|
grid-column: 2;
|
|
203
203
|
grid-row: 1;
|
|
204
204
|
align-self: start;
|
|
@@ -212,11 +212,11 @@
|
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
215
|
-
:scope:where([data-component~="ui-input-group"])[hidden] {
|
|
215
|
+
:scope:where(:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component])))[hidden] {
|
|
216
216
|
display: none !important;
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
@scope ([data-component~="ui-input-group"]) to ([data-component]) {
|
|
219
|
+
@scope (:is([component~="ui-input-group"]:not(template), [data-component~="ui-input-group"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
220
220
|
/* An input with fixed text before or after it, such as a domain after a site's name
|
|
221
221
|
("acme" + ".example.com") or slashes around a path. The group draws the field's border and
|
|
222
222
|
focus ring around the input and its affixes together; the input inside drops its own through
|
package/styles/ui-input.css
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
2
2
|
@supports (-moz-appearance: none) {
|
|
3
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
4
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
3
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
4
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
5
5
|
}
|
|
6
6
|
@supports (-moz-appearance: none) {
|
|
7
|
-
[data-component~="ui-input"] { --html-next-scope-owner: "ui-input" !important; }
|
|
7
|
+
:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component])) { --html-next-scope-owner: "ui-input" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-input"]) to ([data-component], [data-slotted]) {
|
|
9
|
+
@scope (:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
10
|
/* An Input Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
|
|
11
11
|
/* Normalize a unitless zero border to a length before the box calculation. */
|
|
12
12
|
@property --_ui-input-stroke {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
initial-value: 1px;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
:scope:where([data-component~="ui-input"]) {
|
|
18
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))) {
|
|
19
19
|
--_ui-input-size: var(--ui-control-size-md);
|
|
20
20
|
--_ui-input-inset-block: var(--ui-control-inset-block-md, var(--ui-space-2));
|
|
21
21
|
--_ui-input-stroke: var(--ui-input-border-width, var(--_ui-default-input-border-width, var(--ui-border-width)));
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/* Cap Safari's excess text metrics without changing native date, file, color or range widgets. */
|
|
47
|
-
:scope:where([data-component~="ui-input"]):is([type="text"], [type="search"], [type="tel"], [type="url"], [type="email"], [type="password"], [type="number"]) {
|
|
47
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))):is([type="text"], [type="search"], [type="tel"], [type="url"], [type="email"], [type="password"], [type="number"]) {
|
|
48
48
|
max-block-size: max(
|
|
49
49
|
calc(var(--_ui-input-size) - var(--_ui-default-input-frame-width, 0px)),
|
|
50
50
|
calc(1em * var(--ui-line-height-tight) + 2 * var(--_ui-input-inset-block) + 2 * var(--_ui-input-stroke))
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/* Each size reads the hook and then an Input Group's default first, so a group, which draws the frame, can zero it. */
|
|
55
|
-
:scope:where([data-component~="ui-input"])[data-ui-input-state~="size=sm"] {
|
|
55
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component])))[data-ui-input-state~="size=sm"] {
|
|
56
56
|
--_ui-input-size: var(--ui-control-size-sm);
|
|
57
57
|
--_ui-input-inset-block: var(--ui-control-inset-block-sm, var(--ui-space-1));
|
|
58
58
|
min-block-size: var(--ui-input-min-block-size, var(--_ui-default-input-min-block-size, var(--ui-control-size-sm)));
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
font-size: var(--ui-font-size-sm);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
:scope:where([data-component~="ui-input"])[data-ui-input-state~="size=lg"] {
|
|
63
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component])))[data-ui-input-state~="size=lg"] {
|
|
64
64
|
--_ui-input-size: var(--ui-control-size-lg);
|
|
65
65
|
--_ui-input-inset-block: var(--ui-control-inset-block-lg, var(--ui-space-3));
|
|
66
66
|
min-block-size: var(--ui-input-min-block-size, var(--_ui-default-input-min-block-size, var(--ui-control-size-lg)));
|
|
@@ -70,41 +70,41 @@
|
|
|
70
70
|
|
|
71
71
|
/* Touch may use body-size text in a small native field to avoid focus zoom; this does not impose a larger visible control height. */
|
|
72
72
|
@media (pointer: coarse) {
|
|
73
|
-
:scope:where([data-component~="ui-input"]),
|
|
74
|
-
:scope:where([data-component~="ui-input"])[data-ui-input-state~="size=sm"],
|
|
75
|
-
:scope:where([data-component~="ui-input"])[data-ui-input-state~="size=lg"] {
|
|
73
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))),
|
|
74
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component])))[data-ui-input-state~="size=sm"],
|
|
75
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component])))[data-ui-input-state~="size=lg"] {
|
|
76
76
|
font-size: var(--ui-font-size-md);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
/* Tabbing into a field selects its text; tint that selection softly instead of the page highlight. */
|
|
81
|
-
:scope:where([data-component~="ui-input"])::selection {
|
|
81
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component])))::selection {
|
|
82
82
|
background: color-mix(in srgb, var(--ui-accent-solid) 20%, transparent);
|
|
83
83
|
color: inherit;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
:scope:where([data-component~="ui-input"])::placeholder {
|
|
86
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component])))::placeholder {
|
|
87
87
|
color: var(--ui-control-placeholder, var(--ui-text-secondary));
|
|
88
88
|
opacity: 1;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
:scope:where([data-component~="ui-input"]):hover:not(:focus):not(:disabled):not(:read-only):not([aria-invalid="true"]):not(:is(:user-invalid, [data-user-invalid])) {
|
|
91
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))):hover:not(:focus):not(:disabled):not(:read-only):not([aria-invalid="true"]):not(:is(:user-invalid, [data-user-invalid])) {
|
|
92
92
|
border-color: var(--ui-input-border-hover, var(--_ui-default-input-border-hover, var(--ui-control-border-hover, var(--ui-text-secondary))));
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
:scope:where([data-component~="ui-input"]):focus-visible {
|
|
95
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))):focus-visible {
|
|
96
96
|
border-color: var(--ui-input-focus-border, var(--_ui-default-input-focus-border, var(--ui-control-focus, var(--ui-accent-solid))));
|
|
97
97
|
outline: none;
|
|
98
98
|
box-shadow: var(--ui-input-focus-shadow, var(--_ui-default-input-focus-shadow, var(--ui-control-inset), var(--ui-control-focus-halo-shadow)));
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
/* The app's invalid flag, or the browser's own verdict once the user has left an invalid field. */
|
|
102
|
-
:scope:where([data-component~="ui-input"])[aria-invalid="true"],
|
|
103
|
-
:scope:where([data-component~="ui-input"]):is(:user-invalid, [data-user-invalid]) {
|
|
102
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component])))[aria-invalid="true"],
|
|
103
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))):is(:user-invalid, [data-user-invalid]) {
|
|
104
104
|
border-color: var(--ui-input-invalid-border, var(--_ui-default-input-invalid-border, var(--ui-field-danger, var(--ui-danger-solid))));
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
:scope:where([data-component~="ui-input"]):is([aria-invalid="true"], :is(:user-invalid, [data-user-invalid])):focus-visible {
|
|
107
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))):is([aria-invalid="true"], :is(:user-invalid, [data-user-invalid])):focus-visible {
|
|
108
108
|
box-shadow: var(
|
|
109
109
|
--ui-input-invalid-focus-shadow,
|
|
110
110
|
var(
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
:scope:where([data-component~="ui-input"]):disabled {
|
|
122
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))):disabled {
|
|
123
123
|
background: var(--ui-control-surface-disabled, var(--ui-surface-muted));
|
|
124
124
|
color: var(--ui-disabled-text);
|
|
125
125
|
box-shadow: none;
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
|
|
129
129
|
/* Forced colors drop box shadows, so the focus ring becomes an outline. */
|
|
130
130
|
@media (forced-colors: active) {
|
|
131
|
-
:scope:where([data-component~="ui-input"]):focus-visible {
|
|
131
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))):focus-visible {
|
|
132
132
|
outline: var(--ui-input-focus-outline, var(--_ui-default-input-focus-outline, var(--ui-focus-width) solid Highlight));
|
|
133
133
|
outline-offset: var(--ui-border-width);
|
|
134
134
|
}
|
|
@@ -138,11 +138,11 @@
|
|
|
138
138
|
* scroll vertically inside the field. Native inputs already center their single line. */
|
|
139
139
|
|
|
140
140
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
141
|
-
:scope:where([data-component~="ui-input"])[hidden] {
|
|
141
|
+
:scope:where(:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component])))[hidden] {
|
|
142
142
|
display: none !important;
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
@scope ([data-component~="ui-input"]) to ([data-component]) {
|
|
145
|
+
@scope (:is([component~="ui-input"]:not(template), [data-component~="ui-input"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
146
146
|
/* An Input Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
|
|
147
147
|
/* Normalize a unitless zero border to a length before the box calculation. */
|
|
148
148
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
2
2
|
@supports (-moz-appearance: none) {
|
|
3
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
4
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
3
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
4
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
5
5
|
}
|
|
6
6
|
@supports (-moz-appearance: none) {
|
|
7
|
-
[data-component~="ui-light-editor"] { --html-next-scope-owner: "ui-light-editor" !important; }
|
|
7
|
+
:is([component~="ui-light-editor"]:not(template), [data-component~="ui-light-editor"]:not([component])) { --html-next-scope-owner: "ui-light-editor" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-light-editor"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-light-editor"]) {
|
|
9
|
+
@scope (:is([component~="ui-light-editor"]:not(template), [data-component~="ui-light-editor"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-light-editor"]:not(template), [data-component~="ui-light-editor"]:not([component]))) {
|
|
11
11
|
display: grid !important;
|
|
12
12
|
gap: var(--ui-space-3) !important;
|
|
13
13
|
min-inline-size: 0;
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
color: var(--ui-accent-subtle-text);
|
|
71
71
|
font-size: var(--ui-font-size-lg);
|
|
72
72
|
}
|
|
73
|
-
.source:where(:not([data-component], [data-slotted]))::after {
|
|
73
|
+
.source:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
74
74
|
content: "";
|
|
75
75
|
position: absolute;
|
|
76
76
|
inline-size: 2rem;
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
.source:disabled {
|
|
91
91
|
cursor: not-allowed;
|
|
92
92
|
}
|
|
93
|
-
.source:disabled:where(:not([data-component], [data-slotted]))::after {
|
|
93
|
+
.source:disabled:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
94
94
|
background: var(--ui-disabled-surface);
|
|
95
95
|
border-color: var(--ui-disabled-border);
|
|
96
96
|
box-shadow: none;
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
.source-glyph {
|
|
109
109
|
color: CanvasText;
|
|
110
110
|
}
|
|
111
|
-
.source:where(:not([data-component], [data-slotted]))::after {
|
|
111
|
+
.source:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
112
112
|
background: Canvas;
|
|
113
113
|
border-color: CanvasText;
|
|
114
114
|
}
|
|
@@ -117,12 +117,12 @@
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
@scope ([data-component~="ui-light-editor"]) to ([data-component]) {
|
|
120
|
+
@scope (:is([component~="ui-light-editor"]:not(template), [data-component~="ui-light-editor"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
121
121
|
@media (forced-colors: active) {
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
@scope ([data-slotted~="ui-light-editor"]:not([data-component])) to ([data-component], [data-slotted]) {
|
|
125
|
-
:where([data-component~="ui-light-editor"]):where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-light-editor"]))) {
|
|
124
|
+
@scope ([data-slotted~="ui-light-editor"]:not(:is([component]:not(template), [data-component]:not([component])))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
125
|
+
:where(:is([component~="ui-light-editor"]:not(template), [data-component~="ui-light-editor"]:not([component]))):where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-light-editor"]))) {
|
|
126
126
|
display: grid !important;
|
|
127
127
|
gap: var(--ui-space-3) !important;
|
|
128
128
|
min-inline-size: 0;
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
color: var(--ui-accent-subtle-text);
|
|
186
186
|
font-size: var(--ui-font-size-lg);
|
|
187
187
|
}
|
|
188
|
-
.source:where(:not([data-component], [data-slotted]:not([data-slotted~="ui-light-editor"]))):where(:scope, :scope *)::after {
|
|
188
|
+
.source:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-light-editor"]))):where(:scope, :scope *)::after {
|
|
189
189
|
content: "";
|
|
190
190
|
position: absolute;
|
|
191
191
|
inline-size: 2rem;
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
.source:disabled:where(:scope, :scope *) {
|
|
206
206
|
cursor: not-allowed;
|
|
207
207
|
}
|
|
208
|
-
.source:disabled:where(:not([data-component], [data-slotted]:not([data-slotted~="ui-light-editor"]))):where(:scope, :scope *)::after {
|
|
208
|
+
.source:disabled:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-light-editor"]))):where(:scope, :scope *)::after {
|
|
209
209
|
background: var(--ui-disabled-surface);
|
|
210
210
|
border-color: var(--ui-disabled-border);
|
|
211
211
|
box-shadow: none;
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
.source-glyph:where(:scope, :scope *) {
|
|
224
224
|
color: CanvasText;
|
|
225
225
|
}
|
|
226
|
-
.source:where(:not([data-component], [data-slotted]:not([data-slotted~="ui-light-editor"]))):where(:scope, :scope *)::after {
|
|
226
|
+
.source:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-light-editor"]))):where(:scope, :scope *)::after {
|
|
227
227
|
background: Canvas;
|
|
228
228
|
border-color: CanvasText;
|
|
229
229
|
}
|