@threadlabs/looma 0.51.6 → 0.52.1
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/components/ui-wizard/ui-wizard.html +137 -0
- package/components/ui-wizard/ui-wizard.js +19 -0
- package/dist/index.js +15 -8
- package/docs/catalog.json +876 -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/styles/ui-wizard.css +162 -0
- 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/vanilla/UiWizard.d.ts +27 -0
- package/vanilla/UiWizard.js +165 -0
- package/vanilla/index.js +1 -0
- 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
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.84. 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-affordance-scope"] { --html-next-scope-owner: "ui-affordance-scope" !important; }
|
|
7
|
+
:is([component~="ui-affordance-scope"]:not(template), [data-component~="ui-affordance-scope"]:not([component])) { --html-next-scope-owner: "ui-affordance-scope" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-affordance-scope"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-affordance-scope"]) {
|
|
9
|
+
@scope (:is([component~="ui-affordance-scope"]:not(template), [data-component~="ui-affordance-scope"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-affordance-scope"]:not(template), [data-component~="ui-affordance-scope"]:not([component]))) {
|
|
11
11
|
display: contents !important;
|
|
12
12
|
--_ui-affordance-scope-engaged: 0;
|
|
13
13
|
--_ui-affordance-scope-guide: 1;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
:scope:where([data-component~="ui-affordance-scope"])[data-ui-affordance-scope-state~="engaged"] {
|
|
16
|
+
:scope:where(:is([component~="ui-affordance-scope"]:not(template), [data-component~="ui-affordance-scope"]:not([component])))[data-ui-affordance-scope-state~="engaged"] {
|
|
17
17
|
--_ui-affordance-scope-engaged: 1;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/* Published to descendants: each guide multiplies its opacity by it, so none reaches them all. */
|
|
21
|
-
:scope:where([data-component~="ui-affordance-scope"])[data-ui-affordance-scope-state~="guide=none"] {
|
|
21
|
+
:scope:where(:is([component~="ui-affordance-scope"]:not(template), [data-component~="ui-affordance-scope"]:not([component])))[data-ui-affordance-scope-state~="guide=none"] {
|
|
22
22
|
--_ui-affordance-scope-guide: 0;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
26
|
-
:scope:where([data-component~="ui-affordance-scope"])[hidden] {
|
|
26
|
+
:scope:where(:is([component~="ui-affordance-scope"]:not(template), [data-component~="ui-affordance-scope"]:not([component])))[hidden] {
|
|
27
27
|
display: none !important;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
@scope ([data-component~="ui-affordance-scope"]) to ([data-component]) {
|
|
30
|
+
@scope (:is([component~="ui-affordance-scope"]:not(template), [data-component~="ui-affordance-scope"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
31
31
|
/* Published to descendants: each guide multiplies its opacity by it, so none reaches them all. */
|
|
32
32
|
|
|
33
33
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.84. 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-avatar-group"] { --html-next-scope-owner: "ui-avatar-group" !important; }
|
|
7
|
+
:is([component~="ui-avatar-group"]:not(template), [data-component~="ui-avatar-group"]:not([component])) { --html-next-scope-owner: "ui-avatar-group" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-avatar-group"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-avatar-group"]) {
|
|
9
|
+
@scope (:is([component~="ui-avatar-group"]:not(template), [data-component~="ui-avatar-group"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-avatar-group"]:not(template), [data-component~="ui-avatar-group"]:not([component]))) {
|
|
11
11
|
/* Resolve shared part values at the component root. */
|
|
12
12
|
--_ui-avatar-group-overlap-shadow: var(--ui-avatar-group-overlap-shadow);
|
|
13
13
|
--_ui-avatar-group-edge-ring: var(--ui-avatar-group-edge-ring);
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
/* Overlap and the separating shadow are applied by the controller: slotted avatars are nested
|
|
26
26
|
* component roots outside this style scope. */
|
|
27
27
|
|
|
28
|
-
:scope:where([data-component~="ui-avatar-group"]):dir(rtl) {
|
|
28
|
+
:scope:where(:is([component~="ui-avatar-group"]:not(template), [data-component~="ui-avatar-group"]:not([component]))):dir(rtl) {
|
|
29
29
|
--_overlap-shadow: 1px 0 0 0 rgb(0 0 0 / 0.22);
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
flex-shrink: 0;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
:scope:where([data-component~="ui-avatar-group"])[data-ui-avatar-group-state~="size=sm"] .overflow {
|
|
52
|
+
:scope:where(:is([component~="ui-avatar-group"]:not(template), [data-component~="ui-avatar-group"]:not([component])))[data-ui-avatar-group-state~="size=sm"] .overflow {
|
|
53
53
|
margin-inline-start: -0.25rem !important;
|
|
54
54
|
inline-size: 1.75rem;
|
|
55
55
|
block-size: 1.75rem;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
:scope:where([data-component~="ui-avatar-group"])[data-ui-avatar-group-state~="size=xs"] .overflow {
|
|
58
|
+
:scope:where(:is([component~="ui-avatar-group"]:not(template), [data-component~="ui-avatar-group"]:not([component])))[data-ui-avatar-group-state~="size=xs"] .overflow {
|
|
59
59
|
margin-inline-start: -0.1875rem !important;
|
|
60
60
|
inline-size: 1.25rem;
|
|
61
61
|
block-size: 1.25rem;
|
|
@@ -69,11 +69,11 @@
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
72
|
-
:scope:where([data-component~="ui-avatar-group"])[hidden] {
|
|
72
|
+
:scope:where(:is([component~="ui-avatar-group"]:not(template), [data-component~="ui-avatar-group"]:not([component])))[hidden] {
|
|
73
73
|
display: none !important;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
@scope ([data-component~="ui-avatar-group"]) to ([data-component]) {
|
|
76
|
+
@scope (:is([component~="ui-avatar-group"]:not(template), [data-component~="ui-avatar-group"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
77
77
|
/* Overlap and the separating shadow are applied by the controller: slotted avatars are nested
|
|
78
78
|
* component roots outside this style scope. */
|
|
79
79
|
:where([data-slotted], [data-slotted] *):is(*) {
|
package/styles/ui-avatar.css
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.84. 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-avatar"] { --html-next-scope-owner: "ui-avatar" !important; }
|
|
7
|
+
:is([component~="ui-avatar"]:not(template), [data-component~="ui-avatar"]:not([component])) { --html-next-scope-owner: "ui-avatar" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-avatar"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-avatar"]) {
|
|
9
|
+
@scope (:is([component~="ui-avatar"]:not(template), [data-component~="ui-avatar"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-avatar"]:not(template), [data-component~="ui-avatar"]:not([component]))) {
|
|
11
11
|
--_ui-default-icon-size: 1.25rem;
|
|
12
12
|
display: inline-grid !important;
|
|
13
13
|
place-items: center;
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
text-transform: uppercase;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
:scope:where([data-component~="ui-avatar"])[data-ui-avatar-state~="size=sm"] {
|
|
29
|
+
:scope:where(:is([component~="ui-avatar"]:not(template), [data-component~="ui-avatar"]:not([component])))[data-ui-avatar-state~="size=sm"] {
|
|
30
30
|
--_ui-default-icon-size: 1rem;
|
|
31
31
|
inline-size: 1.75rem;
|
|
32
32
|
block-size: 1.75rem;
|
|
33
33
|
font-size: var(--ui-font-size-xs);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
:scope:where([data-component~="ui-avatar"])[data-ui-avatar-state~="size=xs"] {
|
|
36
|
+
:scope:where(:is([component~="ui-avatar"]:not(template), [data-component~="ui-avatar"]:not([component])))[data-ui-avatar-state~="size=xs"] {
|
|
37
37
|
--_ui-default-icon-size: 0.75rem;
|
|
38
38
|
inline-size: 1.25rem;
|
|
39
39
|
block-size: 1.25rem;
|
|
@@ -42,21 +42,21 @@
|
|
|
42
42
|
letter-spacing: 0.02em;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
:scope:where([data-component~="ui-avatar"])[data-ui-avatar-state~="hasImage"] {
|
|
45
|
+
:scope:where(:is([component~="ui-avatar"]:not(template), [data-component~="ui-avatar"]:not([component])))[data-ui-avatar-state~="hasImage"] {
|
|
46
46
|
border-color: var(--ui-avatar-border, var(--ui-border-strong));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
:scope:where([data-component~="ui-avatar"])[data-ui-avatar-state~="shape=circle"] {
|
|
49
|
+
:scope:where(:is([component~="ui-avatar"]:not(template), [data-component~="ui-avatar"]:not([component])))[data-ui-avatar-state~="shape=circle"] {
|
|
50
50
|
box-shadow: var(--ui-shadow-sm);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
:scope:where([data-component~="ui-avatar"])[data-ui-avatar-state~="shape=square"] {
|
|
53
|
+
:scope:where(:is([component~="ui-avatar"]:not(template), [data-component~="ui-avatar"]:not([component])))[data-ui-avatar-state~="shape=square"] {
|
|
54
54
|
border-radius: var(--ui-avatar-radius, var(--ui-radius-md));
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
/* An outline, not a dot: the avatar clips its content to the circle, and an outline is drawn
|
|
58
58
|
outside the box, so the ring survives the clip and the overlap in an Avatar Group. */
|
|
59
|
-
:scope:where([data-component~="ui-avatar"])[data-ui-avatar-state~="active"] {
|
|
59
|
+
:scope:where(:is([component~="ui-avatar"]:not(template), [data-component~="ui-avatar"]:not([component])))[data-ui-avatar-state~="active"] {
|
|
60
60
|
outline: var(--ui-border-width) solid var(--ui-avatar-active-ring, var(--ui-accent-solid));
|
|
61
61
|
outline-offset: var(--ui-border-width);
|
|
62
62
|
}
|
|
@@ -88,11 +88,11 @@
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
91
|
-
:scope:where([data-component~="ui-avatar"])[hidden] {
|
|
91
|
+
:scope:where(:is([component~="ui-avatar"]:not(template), [data-component~="ui-avatar"]:not([component])))[hidden] {
|
|
92
92
|
display: none !important;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
@scope ([data-component~="ui-avatar"]) to ([data-component]) {
|
|
95
|
+
@scope (:is([component~="ui-avatar"]:not(template), [data-component~="ui-avatar"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
96
96
|
/* An outline, not a dot: the avatar clips its content to the circle, and an outline is drawn
|
|
97
97
|
outside the box, so the ring survives the clip and the overlap in an Avatar Group. */
|
|
98
98
|
|