@threadlabs/looma 0.21.4 → 0.21.6
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/components/ui-avatar-group/ui-avatar-group.html +12 -2
- package/components/ui-avatar-group/ui-avatar-group.js +1 -1
- package/components/ui-button/ui-button.html +26 -8
- package/components/ui-menu/ui-menu.html +18 -0
- package/components/ui-menu-item/ui-menu-item.html +8 -17
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/styles/ui-action-bar.css +1 -1
- package/styles/ui-affordance-scope.css +1 -1
- package/styles/ui-avatar-group.css +10 -1
- package/styles/ui-avatar.css +1 -1
- package/styles/ui-badge.css +1 -1
- package/styles/ui-breadcrumb-item.css +1 -1
- package/styles/ui-breadcrumbs.css +1 -1
- package/styles/ui-button.css +26 -7
- package/styles/ui-callout.css +1 -1
- package/styles/ui-card.css +1 -1
- package/styles/ui-checkbox.css +1 -1
- package/styles/ui-cluster.css +1 -1
- package/styles/ui-combobox.css +1 -1
- package/styles/ui-container.css +1 -1
- package/styles/ui-context-menu.css +1 -1
- package/styles/ui-cover.css +1 -1
- package/styles/ui-description-item.css +1 -1
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +1 -1
- package/styles/ui-disclosure.css +1 -1
- package/styles/ui-editable.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +1 -1
- package/styles/ui-editor-mention-menu-item.css +1 -1
- package/styles/ui-editor-mention-menu.css +1 -1
- package/styles/ui-editor-slash-menu-group.css +1 -1
- package/styles/ui-editor-slash-menu-item.css +1 -1
- package/styles/ui-editor-slash-menu.css +1 -1
- package/styles/ui-editor-table-context-menu.css +1 -1
- package/styles/ui-editor-table-overlay.css +1 -1
- package/styles/ui-editor-table-toolbar.css +1 -1
- package/styles/ui-editor-toolbar.css +1 -1
- package/styles/ui-floating-action-button.css +1 -1
- package/styles/ui-form-field.css +1 -1
- package/styles/ui-grid.css +1 -1
- package/styles/ui-icon-button.css +1 -1
- package/styles/ui-icon.css +1 -1
- package/styles/ui-input-group.css +1 -1
- package/styles/ui-input.css +1 -1
- package/styles/ui-list-item.css +1 -1
- package/styles/ui-list.css +1 -1
- package/styles/ui-listbox.css +1 -1
- package/styles/ui-menu-group.css +1 -1
- package/styles/ui-menu-item.css +11 -17
- package/styles/ui-menu.css +18 -1
- package/styles/ui-meter.css +1 -1
- package/styles/ui-nav-item.css +1 -1
- package/styles/ui-page-header.css +1 -1
- package/styles/ui-popover.css +1 -1
- package/styles/ui-radio-group.css +1 -1
- package/styles/ui-radio.css +1 -1
- package/styles/ui-reel.css +1 -1
- package/styles/ui-scroll-area.css +1 -1
- package/styles/ui-search-result-row.css +1 -1
- package/styles/ui-search-shell.css +1 -1
- package/styles/ui-section.css +1 -1
- package/styles/ui-select.css +1 -1
- package/styles/ui-separator.css +1 -1
- package/styles/ui-sidebar.css +1 -1
- package/styles/ui-spinner.css +1 -1
- package/styles/ui-stack.css +1 -1
- package/styles/ui-status-message.css +1 -1
- package/styles/ui-switch.css +1 -1
- package/styles/ui-switcher.css +1 -1
- package/styles/ui-table.css +1 -1
- package/styles/ui-tabs.css +1 -1
- package/styles/ui-text.css +1 -1
- package/styles/ui-textarea.css +1 -1
- package/styles/ui-toast-region.css +1 -1
- package/styles/ui-toast.css +1 -1
- package/styles/ui-tooltip.css +1 -1
- package/styles/ui-top-bar.css +1 -1
- package/styles/ui-tree-item.css +1 -1
- package/styles/ui-tree.css +1 -1
- package/vanilla/UiActionBar.d.ts +1 -1
- package/vanilla/UiActionBar.js +1 -1
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +1 -1
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +1 -1
- package/vanilla/UiAvatarGroup.d.ts +2 -2
- package/vanilla/UiAvatarGroup.js +2 -2
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +1 -1
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +1 -1
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +1 -1
- package/vanilla/UiButton.d.ts +3 -2
- package/vanilla/UiButton.js +2 -2
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +1 -1
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +1 -1
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +1 -1
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +1 -1
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +1 -1
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +1 -1
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +1 -1
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +1 -1
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +1 -1
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +1 -1
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +1 -1
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +1 -1
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +1 -1
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +1 -1
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +1 -1
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +1 -1
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +1 -1
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +1 -1
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +1 -1
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +1 -1
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +1 -1
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +1 -1
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +1 -1
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +1 -1
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +1 -1
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +1 -1
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +1 -1
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +1 -1
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +1 -1
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +1 -1
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +1 -1
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +1 -1
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +1 -1
- package/vanilla/UiMenu.d.ts +2 -1
- package/vanilla/UiMenu.js +2 -2
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +1 -1
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +2 -2
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +1 -1
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +1 -1
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +1 -1
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +1 -1
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +1 -1
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +1 -1
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +1 -1
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +1 -1
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +1 -1
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +1 -1
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +1 -1
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +1 -1
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +1 -1
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +1 -1
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +1 -1
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +1 -1
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +1 -1
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +1 -1
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +1 -1
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +1 -1
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +1 -1
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +1 -1
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +1 -1
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +1 -1
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +1 -1
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +1 -1
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +1 -1
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +1 -1
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.vue +1 -1
- package/vue/UiAvatar.vue +1 -1
- package/vue/UiAvatarGroup.d.ts +3 -3
- package/vue/UiAvatarGroup.vue +14 -5
- package/vue/UiBadge.vue +1 -1
- package/vue/UiBreadcrumbItem.vue +1 -1
- package/vue/UiBreadcrumbs.vue +1 -1
- package/vue/UiButton.d.ts +12 -3
- package/vue/UiButton.vue +45 -10
- package/vue/UiCallout.vue +1 -1
- package/vue/UiCard.vue +1 -1
- package/vue/UiCheckbox.vue +1 -1
- package/vue/UiCluster.vue +1 -1
- package/vue/UiCombobox.vue +1 -1
- package/vue/UiContainer.vue +1 -1
- package/vue/UiContextMenu.vue +1 -1
- package/vue/UiCover.vue +1 -1
- package/vue/UiDescriptionItem.vue +1 -1
- package/vue/UiDescriptionList.vue +1 -1
- package/vue/UiDialog.vue +1 -1
- package/vue/UiDisclosure.vue +1 -1
- package/vue/UiEditable.vue +1 -1
- package/vue/UiEditorInsertTableGrid.vue +1 -1
- package/vue/UiEditorMentionMenu.vue +1 -1
- package/vue/UiEditorMentionMenuItem.vue +1 -1
- package/vue/UiEditorSlashMenu.vue +1 -1
- package/vue/UiEditorSlashMenuGroup.vue +1 -1
- package/vue/UiEditorSlashMenuItem.vue +1 -1
- package/vue/UiEditorTableContextMenu.vue +1 -1
- package/vue/UiEditorTableOverlay.vue +1 -1
- package/vue/UiEditorTableToolbar.vue +1 -1
- package/vue/UiEditorToolbar.vue +1 -1
- package/vue/UiFloatingActionButton.vue +1 -1
- package/vue/UiFormField.vue +1 -1
- package/vue/UiGrid.vue +1 -1
- package/vue/UiIcon.vue +1 -1
- package/vue/UiIconButton.vue +1 -1
- package/vue/UiInput.vue +1 -1
- package/vue/UiInputGroup.vue +1 -1
- package/vue/UiList.vue +1 -1
- package/vue/UiListItem.vue +1 -1
- package/vue/UiListbox.vue +1 -1
- package/vue/UiMenu.d.ts +9 -0
- package/vue/UiMenu.vue +28 -1
- package/vue/UiMenuGroup.vue +1 -1
- package/vue/UiMenuItem.vue +12 -20
- package/vue/UiMeter.vue +1 -1
- package/vue/UiNavItem.vue +1 -1
- package/vue/UiPageHeader.vue +1 -1
- package/vue/UiPopover.vue +1 -1
- package/vue/UiRadio.vue +1 -1
- package/vue/UiRadioGroup.vue +1 -1
- package/vue/UiReel.vue +1 -1
- package/vue/UiScrollArea.vue +1 -1
- package/vue/UiSearchResultRow.vue +1 -1
- package/vue/UiSearchShell.vue +1 -1
- package/vue/UiSection.vue +1 -1
- package/vue/UiSelect.vue +1 -1
- package/vue/UiSeparator.vue +1 -1
- package/vue/UiSidebar.vue +1 -1
- package/vue/UiSpinner.vue +1 -1
- package/vue/UiStack.vue +1 -1
- package/vue/UiStatusMessage.vue +1 -1
- package/vue/UiSwitch.vue +1 -1
- package/vue/UiSwitcher.vue +1 -1
- package/vue/UiTable.vue +1 -1
- package/vue/UiTabs.vue +1 -1
- package/vue/UiText.vue +1 -1
- package/vue/UiTextarea.vue +1 -1
- package/vue/UiToast.vue +1 -1
- package/vue/UiToastRegion.vue +1 -1
- package/vue/UiTooltip.vue +1 -1
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +1 -1
- package/vue/UiTreeItem.vue +1 -1
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +1 -1
- package/vue/chunks/UiAvatar.js +1 -1
- package/vue/chunks/UiAvatarGroup.js +6 -2
- package/vue/chunks/UiBadge.js +1 -1
- package/vue/chunks/UiBreadcrumbItem.js +1 -1
- package/vue/chunks/UiBreadcrumbs.js +1 -1
- package/vue/chunks/UiButton.js +16 -1
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +1 -1
- package/vue/chunks/UiCheckbox.js +1 -1
- package/vue/chunks/UiCluster.js +1 -1
- package/vue/chunks/UiCombobox.js +1 -1
- package/vue/chunks/UiContainer.js +1 -1
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiCover.js +1 -1
- package/vue/chunks/UiDescriptionItem.js +1 -1
- package/vue/chunks/UiDescriptionList.js +1 -1
- package/vue/chunks/UiDialog.js +1 -1
- package/vue/chunks/UiDisclosure.js +1 -1
- package/vue/chunks/UiEditable.js +1 -1
- package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
- package/vue/chunks/UiEditorMentionMenu.js +1 -1
- package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
- package/vue/chunks/UiEditorSlashMenu.js +1 -1
- package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
- package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
- package/vue/chunks/UiEditorTableContextMenu.js +1 -1
- package/vue/chunks/UiEditorTableOverlay.js +1 -1
- package/vue/chunks/UiEditorTableToolbar.js +1 -1
- package/vue/chunks/UiEditorToolbar.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +1 -1
- package/vue/chunks/UiGrid.js +1 -1
- package/vue/chunks/UiIcon.js +1 -1
- package/vue/chunks/UiIconButton.js +1 -1
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +1 -1
- package/vue/chunks/UiList.js +1 -1
- package/vue/chunks/UiListItem.js +1 -1
- package/vue/chunks/UiListbox.js +1 -1
- package/vue/chunks/UiMenu.js +14 -2
- package/vue/chunks/UiMenuGroup.js +1 -1
- package/vue/chunks/UiMenuItem.js +2 -2
- package/vue/chunks/UiMeter.js +1 -1
- package/vue/chunks/UiNavItem.js +1 -1
- package/vue/chunks/UiPageHeader.js +1 -1
- package/vue/chunks/UiPopover.js +1 -1
- package/vue/chunks/UiRadio.js +1 -1
- package/vue/chunks/UiRadioGroup.js +1 -1
- package/vue/chunks/UiReel.js +1 -1
- package/vue/chunks/UiScrollArea.js +1 -1
- package/vue/chunks/UiSearchResultRow.js +1 -1
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSection.js +1 -1
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/chunks/UiSeparator.js +1 -1
- package/vue/chunks/UiSidebar.js +1 -1
- package/vue/chunks/UiSpinner.js +1 -1
- package/vue/chunks/UiStack.js +1 -1
- package/vue/chunks/UiStatusMessage.js +1 -1
- package/vue/chunks/UiSwitch.js +1 -1
- package/vue/chunks/UiSwitcher.js +1 -1
- package/vue/chunks/UiTable.js +1 -1
- package/vue/chunks/UiTabs.js +1 -1
- package/vue/chunks/UiText.js +1 -1
- package/vue/chunks/UiTextarea.js +1 -1
- package/vue/chunks/UiToast.js +1 -1
- package/vue/chunks/UiToastRegion.js +1 -1
- package/vue/chunks/UiTooltip.js +1 -1
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +1 -1
- package/vue/chunks/UiTreeItem.js +1 -1
- package/vue/chunks/props.js +1 -0
- package/vue/components.css +1249 -1210
- package/vue/host.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@threadlabs/looma",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Looma components as HTML, Vue, and plain DOM, with design tokens.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"./*.css"
|
|
78
78
|
],
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@nextwebwg/html-next": "1.0.0-alpha.
|
|
80
|
+
"@nextwebwg/html-next": "1.0.0-alpha.14",
|
|
81
81
|
"dompurify": "3.4.15",
|
|
82
82
|
"highlight.js": "11.11.2",
|
|
83
83
|
"lowlight": "^3.3.0",
|
package/styles/ui-action-bar.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.14. Do not edit. */
|
|
2
2
|
@property --ui-avatar-group-edge-ring {
|
|
3
3
|
syntax: "*";
|
|
4
4
|
inherits: false;
|
|
@@ -58,6 +58,15 @@
|
|
|
58
58
|
block-size: 1.75rem;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
+
:scope[data-ui-avatar-group-state~="size=xs"] .overflow {
|
|
62
|
+
margin-inline-start: -0.1875rem;
|
|
63
|
+
inline-size: 1.25rem;
|
|
64
|
+
block-size: 1.25rem;
|
|
65
|
+
/* Matches the xs Avatar's initials. */
|
|
66
|
+
font-size: calc(var(--ui-font-size) * 0.5625);
|
|
67
|
+
line-height: 1;
|
|
68
|
+
}
|
|
69
|
+
|
|
61
70
|
.overflow[hidden] {
|
|
62
71
|
display: none;
|
|
63
72
|
}
|
package/styles/ui-avatar.css
CHANGED
package/styles/ui-badge.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.14. Do not edit. */
|
|
2
2
|
@scope ([data-component~="ui-breadcrumb-item"]) to ([data-component], [data-slotted]) {
|
|
3
3
|
/* One step in a ui-breadcrumbs trail: a link up to that place, or the current view. A chevron leads
|
|
4
4
|
every step but the first. An icon slotted before the name sits with it. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.14. Do not edit. */
|
|
2
2
|
@scope ([data-component~="ui-breadcrumbs"]) to ([data-component], [data-slotted]) {
|
|
3
3
|
/* Where a view sits: a trail of ui-breadcrumb-item, from the top down to the current view. It wraps
|
|
4
4
|
rather than scrolls, so every step stays reachable. */
|
package/styles/ui-button.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.14. Do not edit. */
|
|
2
2
|
@property --ui-button-active-surface {
|
|
3
3
|
syntax: "*";
|
|
4
4
|
inherits: false;
|
|
@@ -150,6 +150,16 @@
|
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
+
:scope[data-ui-button-state~="size=xs"] {
|
|
154
|
+
min-block-size: 1.5rem;
|
|
155
|
+
padding: calc(var(--ui-space-0-5) * 1.5) calc(var(--ui-space-1) * 1.25);
|
|
156
|
+
font-size: var(--ui-font-size-xs);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
:scope[data-ui-button-state~="shape=pill"] {
|
|
160
|
+
border-radius: var(--ui-button-radius, var(--ui-radius-round));
|
|
161
|
+
}
|
|
162
|
+
|
|
153
163
|
:scope[data-ui-button-state~="size=sm"] {
|
|
154
164
|
min-block-size: var(--ui-control-size-sm);
|
|
155
165
|
padding: var(--ui-space-1) var(--ui-space-2);
|
|
@@ -250,10 +260,12 @@
|
|
|
250
260
|
border-color: transparent;
|
|
251
261
|
}
|
|
252
262
|
|
|
263
|
+
/* Pressed, or holding its menu open, a ghost button sinks slightly: a light surface with a faint
|
|
264
|
+
edge and a soft inner shadow. Lighter than hover, so an open menu's trigger never reads as heavy. */
|
|
253
265
|
:scope[data-ui-button-state~="variant=ghost"]:is(:active, [aria-expanded="true"]):not(:disabled, [aria-disabled="true"]) {
|
|
254
|
-
background-color: var(--ui-button-ghost-active-surface, oklch(
|
|
266
|
+
background-color: var(--ui-button-ghost-active-surface, color-mix(in oklch, var(--ui-surface), var(--_tone) 3%));
|
|
255
267
|
border-color: transparent;
|
|
256
|
-
box-shadow: var(--
|
|
268
|
+
box-shadow: inset 0 0 0 1px oklch(from var(--_tone) l c h / 10%), inset 0 1px 2px oklch(from var(--_tone) l c h / 8%);
|
|
257
269
|
}
|
|
258
270
|
|
|
259
271
|
/* A soft halo that transitions in with the other box-shadow changes, layered on the raised shadow. */
|
|
@@ -303,12 +315,15 @@
|
|
|
303
315
|
/* Under touch, a link-style button's press lands within the control minimum: an invisible hit
|
|
304
316
|
area, centred on it, like IconButton's. A boxed button grows to the minimum itself (below);
|
|
305
317
|
a link-style one keeps its text size, so a standalone one ("See all" under a list) needs the
|
|
306
|
-
area.
|
|
307
|
-
|
|
318
|
+
area. xs sits inside a line of text the same way, so it keeps its size and gains the area too.
|
|
319
|
+
Only these need it: a hit area on every button would reach over its neighbours. */
|
|
320
|
+
html[data-ui-input-modality="touch"] :scope[data-ui-button-state~="variant=link"],
|
|
321
|
+
html[data-ui-input-modality="touch"] :scope[data-ui-button-state~="size=xs"] {
|
|
308
322
|
position: relative;
|
|
309
323
|
}
|
|
310
324
|
|
|
311
|
-
html[data-ui-input-modality="touch"] :scope[data-ui-button-state~="variant=link"]::after
|
|
325
|
+
html[data-ui-input-modality="touch"] :scope[data-ui-button-state~="variant=link"]::after,
|
|
326
|
+
html[data-ui-input-modality="touch"] :scope[data-ui-button-state~="size=xs"]::after {
|
|
312
327
|
position: absolute;
|
|
313
328
|
inset: 50% auto auto 50%;
|
|
314
329
|
inline-size: max(100%, var(--ui-control-min-block-size));
|
|
@@ -383,6 +398,9 @@
|
|
|
383
398
|
|
|
384
399
|
/* Tints derive from the text colour, not a surface token, so hover and press show on any background. */
|
|
385
400
|
|
|
401
|
+
/* Pressed, or holding its menu open, a ghost button sinks slightly: a light surface with a faint
|
|
402
|
+
edge and a soft inner shadow. Lighter than hover, so an open menu's trigger never reads as heavy. */
|
|
403
|
+
|
|
386
404
|
/* A soft halo that transitions in with the other box-shadow changes, layered on the raised shadow. */
|
|
387
405
|
|
|
388
406
|
/* A loading action stays visually active; only an explicitly disabled action takes the
|
|
@@ -397,7 +415,8 @@
|
|
|
397
415
|
/* Under touch, a link-style button's press lands within the control minimum: an invisible hit
|
|
398
416
|
area, centred on it, like IconButton's. A boxed button grows to the minimum itself (below);
|
|
399
417
|
a link-style one keeps its text size, so a standalone one ("See all" under a list) needs the
|
|
400
|
-
area.
|
|
418
|
+
area. xs sits inside a line of text the same way, so it keeps its size and gains the area too.
|
|
419
|
+
Only these need it: a hit area on every button would reach over its neighbours. */
|
|
401
420
|
|
|
402
421
|
/* Link: an inline text action. No box, padding, or minimum height (inline targets are exempt under
|
|
403
422
|
WCAG 2.5.8); the inherited font; an underline that strengthens on hover; a visible focus ring. */
|
package/styles/ui-callout.css
CHANGED
package/styles/ui-card.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.14. Do not edit. */
|
|
2
2
|
@scope ([data-component~="ui-card"]) to ([data-component], [data-slotted]) {
|
|
3
3
|
/* A surface that groups content. Its children stack with even space between them, so a card
|
|
4
4
|
needs no layout of its own. */
|
package/styles/ui-checkbox.css
CHANGED
package/styles/ui-cluster.css
CHANGED
package/styles/ui-combobox.css
CHANGED
package/styles/ui-container.css
CHANGED
package/styles/ui-cover.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.14. Do not edit. */
|
|
2
2
|
@scope ([data-component~="ui-cover"]) to ([data-component], [data-slotted]) {
|
|
3
3
|
/* A layout primitive that centres its content in the space, both ways, with room around it: the
|
|
4
4
|
frame for a view that is one card or one message. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.14. Do not edit. */
|
|
2
2
|
@scope ([data-component~="ui-description-item"]) to ([data-component], [data-slotted]) {
|
|
3
3
|
/* One term and its value in a ui-description-list, laid out by the list's layout. */
|
|
4
4
|
:scope {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.14. Do not edit. */
|
|
2
2
|
@scope ([data-component~="ui-description-list"]) to ([data-component], [data-slotted]) {
|
|
3
3
|
/* Named values: a term and what it is, for each item (ui-description-item). */
|
|
4
4
|
/* Rows line every term up in one column and every value in the next, through subgrid. */
|
package/styles/ui-dialog.css
CHANGED
package/styles/ui-disclosure.css
CHANGED
package/styles/ui-editable.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.14. Do not edit. */
|
|
2
2
|
@scope ([data-component~="ui-editor-table-context-menu"]) to ([data-component], [data-slotted]) {
|
|
3
3
|
:scope {
|
|
4
4
|
/* The max-width is a promise about the menu's footprint, so it counts padding and border. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.14. Do not edit. */
|
|
2
2
|
@scope ([data-component~="ui-editor-table-toolbar"]) to ([data-component], [data-slotted]) {
|
|
3
3
|
.looma-editor__mobile-toolbar-shell :scope {
|
|
4
4
|
min-width: max-content;
|
package/styles/ui-form-field.css
CHANGED
package/styles/ui-grid.css
CHANGED
package/styles/ui-icon.css
CHANGED
package/styles/ui-input.css
CHANGED
package/styles/ui-list-item.css
CHANGED
package/styles/ui-list.css
CHANGED
package/styles/ui-listbox.css
CHANGED
package/styles/ui-menu-group.css
CHANGED
package/styles/ui-menu-item.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.14. Do not edit. */
|
|
2
2
|
@property --ui-menu-item-font-size {
|
|
3
3
|
syntax: "*";
|
|
4
4
|
inherits: false;
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
justify-content: center;
|
|
60
60
|
flex: none;
|
|
61
61
|
box-sizing: border-box;
|
|
62
|
-
inline-size: var(--ui-icon-size-sm);
|
|
63
|
-
block-size: var(--ui-icon-size-sm);
|
|
62
|
+
inline-size: var(--_ui-default-menu-indicator-size, var(--ui-icon-size-sm));
|
|
63
|
+
block-size: var(--_ui-default-menu-indicator-size, var(--ui-icon-size-sm));
|
|
64
64
|
border: 1.5px solid var(--ui-control-border);
|
|
65
65
|
border-radius: var(--ui-radius-sm);
|
|
66
66
|
color: var(--ui-surface);
|
|
@@ -76,20 +76,11 @@
|
|
|
76
76
|
background: var(--ui-accent);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
/* A menu marks its chosen item with a check, as menus conventionally do; a radio circle reads
|
|
80
|
+
as a form control. The empty slot keeps unchosen labels aligned with the chosen one. */
|
|
79
81
|
:scope[data-ui-menu-item-state~="type=radio"] .indicator {
|
|
80
|
-
border-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
:scope[data-ui-menu-item-state~="type=radio"][aria-checked="true"] .indicator {
|
|
84
|
-
border-color: var(--ui-accent);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
:scope[data-ui-menu-item-state~="type=radio"][aria-checked="true"] .indicator::after {
|
|
88
|
-
content: "";
|
|
89
|
-
inline-size: 0.375rem;
|
|
90
|
-
block-size: 0.375rem;
|
|
91
|
-
border-radius: var(--ui-radius-round);
|
|
92
|
-
background: var(--ui-accent);
|
|
82
|
+
border-color: transparent;
|
|
83
|
+
color: var(--ui-text-secondary);
|
|
93
84
|
}
|
|
94
85
|
|
|
95
86
|
.shortcut {
|
|
@@ -106,7 +97,7 @@
|
|
|
106
97
|
/* Keep the text row at the shared control height where cap trimming is available. */
|
|
107
98
|
@supports (text-box-trim: trim-both) {
|
|
108
99
|
:scope {
|
|
109
|
-
min-block-size: var(--ui-menu-item-min-block-size, var(--ui-control-size-md, 2.5rem));
|
|
100
|
+
min-block-size: var(--ui-menu-item-min-block-size, var(--_ui-default-menu-item-min-block-size, var(--ui-control-size-md, 2.5rem)));
|
|
110
101
|
text-box-trim: trim-both;
|
|
111
102
|
text-box-edge: cap alphabetic;
|
|
112
103
|
}
|
|
@@ -151,6 +142,9 @@
|
|
|
151
142
|
@scope ([data-component~="ui-menu-item"]) to ([data-component]) {
|
|
152
143
|
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
153
144
|
|
|
145
|
+
/* A menu marks its chosen item with a check, as menus conventionally do; a radio circle reads
|
|
146
|
+
as a form control. The empty slot keeps unchosen labels aligned with the chosen one. */
|
|
147
|
+
|
|
154
148
|
/* Keep the text row at the shared control height where cap trimming is available. */
|
|
155
149
|
@supports (text-box-trim: trim-both) {
|
|
156
150
|
}
|
package/styles/ui-menu.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.14. Do not edit. */
|
|
2
2
|
@property --ui-menu-surface {
|
|
3
3
|
syntax: "*";
|
|
4
4
|
inherits: false;
|
|
@@ -33,6 +33,19 @@
|
|
|
33
33
|
gap: 0;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
/* Small follows its trigger down: an item's own hooks still win. */
|
|
37
|
+
:scope[data-ui-menu-state~="size=sm"] {
|
|
38
|
+
--_ui-default-menu-item-padding-block: var(--ui-space-0-5);
|
|
39
|
+
--_ui-default-menu-item-padding-inline: var(--ui-space-2);
|
|
40
|
+
--_ui-default-menu-item-font-size: var(--ui-font-size-xs);
|
|
41
|
+
--_ui-default-menu-item-radius: var(--ui-radius-sm);
|
|
42
|
+
--_ui-default-menu-item-min-block-size: 1.5rem;
|
|
43
|
+
--_ui-default-menu-indicator-size: 0.75rem;
|
|
44
|
+
min-inline-size: min(8rem, calc(100vw - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2));
|
|
45
|
+
padding: var(--ui-space-1);
|
|
46
|
+
gap: 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
36
49
|
:scope {
|
|
37
50
|
--_ui-menu-surface: var(--ui-menu-surface);
|
|
38
51
|
--_ui-menu-border: var(--ui-menu-border);
|
|
@@ -43,6 +56,8 @@
|
|
|
43
56
|
--_ui-default-menu-item-padding-inline: initial;
|
|
44
57
|
--_ui-default-menu-item-font-size: initial;
|
|
45
58
|
--_ui-default-menu-item-radius: initial;
|
|
59
|
+
--_ui-default-menu-item-min-block-size: initial;
|
|
60
|
+
--_ui-default-menu-indicator-size: initial;
|
|
46
61
|
display: flex;
|
|
47
62
|
flex-direction: column;
|
|
48
63
|
box-sizing: border-box;
|
|
@@ -127,6 +142,8 @@
|
|
|
127
142
|
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
128
143
|
still win. */
|
|
129
144
|
|
|
145
|
+
/* Small follows its trigger down: an item's own hooks still win. */
|
|
146
|
+
|
|
130
147
|
@starting-style {
|
|
131
148
|
}
|
|
132
149
|
|
package/styles/ui-meter.css
CHANGED
package/styles/ui-nav-item.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.14. Do not edit. */
|
|
2
2
|
@scope ([data-component~="ui-page-header"]) to ([data-component], [data-slotted]) {
|
|
3
3
|
/* The top of a view: its title (the page's one h1), with an optional icon or mark before it, a
|
|
4
4
|
short eyebrow above it, a line or two of description under it, and the view's own actions at
|
package/styles/ui-popover.css
CHANGED
package/styles/ui-radio.css
CHANGED
package/styles/ui-reel.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.14. Do not edit. */
|
|
2
2
|
@scope ([data-component~="ui-scroll-area"]) to ([data-component], [data-slotted]) {
|
|
3
3
|
/* The controller sets each fade length from overflow and scroll position. The mask blends
|
|
4
4
|
into whatever is behind the area without needing to know its colour. Before upgrade, its
|
package/styles/ui-section.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.14. Do not edit. */
|
|
2
2
|
@scope ([data-component~="ui-section"]) to ([data-component], [data-slotted]) {
|
|
3
3
|
/* A part of a view: a heading, an optional line under it, actions for the whole section at its
|
|
4
4
|
end, and the content. Sections space themselves out through the Stack around them. */
|
package/styles/ui-select.css
CHANGED
package/styles/ui-separator.css
CHANGED
package/styles/ui-sidebar.css
CHANGED
package/styles/ui-spinner.css
CHANGED