@threadlabs/looma 0.22.13 → 0.23.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/components/shared/icons.js +6 -0
- package/components/ui-avatar/ui-avatar.html +3 -3
- package/components/ui-avatar-group/ui-avatar-group.html +1 -1
- package/components/ui-badge/ui-badge.html +1 -1
- package/components/ui-button/ui-button.html +3 -3
- package/components/ui-callout/ui-callout.html +3 -2
- package/components/ui-card/ui-card.html +23 -4
- package/components/ui-checkbox/ui-checkbox.html +3 -3
- package/components/ui-combobox/ui-combobox.html +8 -8
- package/components/ui-context-menu/ui-context-menu.html +2 -2
- package/components/ui-description-list/ui-description-list.html +1 -1
- package/components/ui-dialog/ui-dialog.html +3 -3
- package/components/ui-disclosure/ui-disclosure.html +43 -3
- package/components/ui-editable/ui-editable.html +2 -2
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +5 -5
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +2 -2
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +6 -6
- package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +1 -1
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +2 -2
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +11 -11
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +5 -5
- package/components/ui-editor-toolbar/ui-editor-toolbar.html +4 -4
- package/components/ui-floating-action-button/ui-floating-action-button.html +2 -2
- package/components/ui-icon/ui-icon.html +6 -0
- package/components/ui-icon-button/ui-icon-button.html +1 -1
- package/components/ui-input/ui-input.html +9 -4
- package/components/ui-input-group/ui-input-group.html +21 -6
- package/components/ui-list/ui-list.html +1 -1
- package/components/ui-list-item/ui-list-item.html +20 -4
- package/components/ui-listbox/ui-listbox.html +3 -3
- package/components/ui-menu/ui-menu.html +2 -2
- package/components/ui-menu-item/ui-menu-item.html +4 -4
- package/components/ui-meter/ui-meter.html +1 -1
- package/components/ui-nav-item/ui-nav-item.html +46 -14
- package/components/ui-popover/ui-popover.html +16 -1
- package/components/ui-radio/ui-radio.html +2 -2
- package/components/ui-scroll-area/ui-scroll-area.html +12 -0
- package/components/ui-search-result-row/ui-search-result-row.html +24 -5
- package/components/ui-search-shell/ui-search-shell.html +4 -4
- package/components/ui-section/ui-section.html +3 -3
- package/components/ui-select/ui-select.html +6 -2
- package/components/ui-separator/ui-separator.html +2 -2
- package/components/ui-sidebar/ui-sidebar.html +3 -3
- package/components/ui-stack/ui-stack.html +6 -3
- package/components/ui-status-message/ui-status-message.html +1 -1
- package/components/ui-switch/ui-switch.html +3 -3
- package/components/ui-table/ui-table.html +3 -3
- package/components/ui-tabs/ui-tabs.html +7 -7
- package/components/ui-text/ui-text.html +12 -0
- package/components/ui-textarea/ui-textarea.html +6 -2
- package/components/ui-toast/ui-toast.html +2 -2
- package/components/ui-toast-region/ui-toast-region.html +5 -5
- package/components/ui-tooltip/ui-tooltip.html +15 -15
- package/components/ui-top-bar/ui-top-bar.html +1 -1
- package/components/ui-tree-item/ui-tree-item.html +27 -8
- package/dist/index.js +1 -1
- package/editor/chunks/extensions.js +55 -2
- package/editor/extensions/index.d.ts +1 -0
- package/editor/extensions/index.js +2 -2
- package/editor/extensions/preset.d.ts +2 -0
- package/editor/extensions/relative-links.d.ts +8 -0
- package/editor/icons.d.ts +6 -0
- package/editor/index.js +9 -3
- package/package.json +1 -1
- package/styles/ui-avatar-group.css +1 -1
- package/styles/ui-avatar.css +3 -3
- package/styles/ui-badge.css +1 -1
- package/styles/ui-button.css +3 -3
- package/styles/ui-callout.css +3 -2
- package/styles/ui-card.css +19 -2
- package/styles/ui-checkbox.css +3 -3
- package/styles/ui-combobox.css +8 -8
- package/styles/ui-context-menu.css +2 -2
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +3 -3
- package/styles/ui-disclosure.css +42 -2
- package/styles/ui-editable.css +2 -2
- package/styles/ui-editor-insert-table-grid.css +5 -5
- package/styles/ui-editor-mention-menu.css +2 -2
- package/styles/ui-editor-slash-menu-item.css +1 -1
- package/styles/ui-editor-slash-menu.css +6 -6
- package/styles/ui-editor-table-context-menu.css +2 -2
- package/styles/ui-editor-table-overlay.css +11 -11
- package/styles/ui-editor-table-toolbar.css +5 -5
- package/styles/ui-editor-toolbar.css +4 -4
- package/styles/ui-floating-action-button.css +2 -2
- package/styles/ui-icon-button.css +1 -1
- package/styles/ui-input-group.css +19 -6
- package/styles/ui-input.css +9 -4
- package/styles/ui-list-item.css +23 -4
- package/styles/ui-list.css +1 -1
- package/styles/ui-listbox.css +3 -3
- package/styles/ui-menu-item.css +4 -4
- package/styles/ui-menu.css +2 -2
- package/styles/ui-meter.css +1 -1
- package/styles/ui-nav-item.css +46 -12
- package/styles/ui-popover.css +14 -1
- package/styles/ui-radio.css +2 -2
- package/styles/ui-scroll-area.css +10 -0
- package/styles/ui-search-result-row.css +25 -5
- package/styles/ui-search-shell.css +4 -4
- package/styles/ui-section.css +3 -3
- package/styles/ui-select.css +6 -2
- package/styles/ui-separator.css +2 -2
- package/styles/ui-sidebar.css +3 -3
- package/styles/ui-stack.css +3 -0
- package/styles/ui-status-message.css +1 -1
- package/styles/ui-switch.css +3 -3
- package/styles/ui-table.css +3 -3
- package/styles/ui-tabs.css +7 -7
- package/styles/ui-text.css +8 -0
- package/styles/ui-textarea.css +6 -2
- package/styles/ui-toast-region.css +5 -5
- package/styles/ui-toast.css +2 -2
- package/styles/ui-tooltip.css +15 -15
- package/styles/ui-top-bar.css +1 -1
- package/styles/ui-tree-item.css +32 -8
- package/tokens.css +30 -9
- package/vanilla/UiCard.d.ts +2 -1
- package/vanilla/UiCard.js +1 -1
- package/vanilla/UiDisclosure.d.ts +1 -0
- package/vanilla/UiDisclosure.js +10 -1
- package/vanilla/UiIcon.js +1 -1
- package/vanilla/UiInputGroup.d.ts +1 -0
- package/vanilla/UiInputGroup.js +1 -1
- package/vanilla/UiNavItem.d.ts +2 -0
- package/vanilla/UiNavItem.js +1 -1
- package/vanilla/UiPopover.d.ts +1 -0
- package/vanilla/UiPopover.js +1 -1
- package/vanilla/UiScrollArea.d.ts +1 -0
- package/vanilla/UiScrollArea.js +1 -1
- package/vanilla/UiSearchResultRow.d.ts +1 -0
- package/vanilla/UiSearchResultRow.js +1 -1
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiText.d.ts +2 -0
- package/vanilla/UiText.js +1 -1
- package/vue/UiAvatar.vue +3 -3
- package/vue/UiAvatarGroup.vue +1 -1
- package/vue/UiBadge.vue +2 -1
- package/vue/UiButton.vue +3 -3
- package/vue/UiCallout.vue +2 -2
- package/vue/UiCard.d.ts +12 -3
- package/vue/UiCard.vue +51 -7
- package/vue/UiCheckbox.vue +3 -3
- package/vue/UiCombobox.vue +11 -8
- package/vue/UiContextMenu.vue +2 -2
- package/vue/UiDescriptionList.vue +1 -1
- package/vue/UiDialog.vue +4 -3
- package/vue/UiDisclosure.d.ts +13 -2
- package/vue/UiDisclosure.vue +61 -4
- package/vue/UiEditable.vue +2 -2
- package/vue/UiEditorInsertTableGrid.vue +5 -5
- package/vue/UiEditorMentionMenu.vue +2 -2
- package/vue/UiEditorSlashMenu.vue +6 -6
- package/vue/UiEditorSlashMenuItem.vue +1 -1
- package/vue/UiEditorTableContextMenu.vue +2 -2
- package/vue/UiEditorTableOverlay.vue +11 -11
- package/vue/UiEditorTableToolbar.vue +5 -5
- package/vue/UiEditorToolbar.vue +6 -4
- package/vue/UiFloatingActionButton.vue +2 -2
- package/vue/UiIcon.vue +31 -0
- package/vue/UiIconButton.vue +1 -1
- package/vue/UiInput.vue +8 -4
- package/vue/UiInputGroup.d.ts +9 -0
- package/vue/UiInputGroup.vue +39 -8
- package/vue/UiList.vue +1 -1
- package/vue/UiListItem.vue +20 -4
- package/vue/UiListbox.vue +3 -3
- package/vue/UiMenu.vue +3 -2
- package/vue/UiMenuItem.vue +4 -4
- package/vue/UiMeter.vue +1 -1
- package/vue/UiNavItem.d.ts +18 -0
- package/vue/UiNavItem.vue +96 -12
- package/vue/UiPopover.d.ts +9 -0
- package/vue/UiPopover.vue +45 -3
- package/vue/UiRadio.vue +2 -2
- package/vue/UiScrollArea.d.ts +9 -0
- package/vue/UiScrollArea.vue +35 -2
- package/vue/UiSearchResultRow.d.ts +9 -0
- package/vue/UiSearchResultRow.vue +51 -6
- package/vue/UiSearchShell.vue +4 -4
- package/vue/UiSection.vue +3 -3
- package/vue/UiSelect.vue +3 -2
- package/vue/UiSeparator.vue +4 -2
- package/vue/UiSidebar.vue +5 -3
- package/vue/UiStack.d.ts +3 -3
- package/vue/UiStack.vue +10 -4
- package/vue/UiStatusMessage.vue +1 -1
- package/vue/UiSwitch.vue +3 -3
- package/vue/UiTable.vue +3 -3
- package/vue/UiTabs.vue +8 -7
- package/vue/UiText.d.ts +18 -0
- package/vue/UiText.vue +70 -0
- package/vue/UiTextarea.vue +2 -2
- package/vue/UiToast.vue +4 -2
- package/vue/UiToastRegion.vue +5 -5
- package/vue/UiTooltip.vue +19 -15
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTreeItem.vue +31 -8
- package/vue/chunks/UiAvatar.js +1 -1
- package/vue/chunks/UiAvatarGroup.js +1 -1
- package/vue/chunks/UiBadge.js +1 -1
- package/vue/chunks/UiButton.js +1 -1
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +39 -3
- package/vue/chunks/UiCheckbox.js +1 -1
- package/vue/chunks/UiCombobox.js +1 -1
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiDescriptionList.js +1 -1
- package/vue/chunks/UiDialog.js +1 -1
- package/vue/chunks/UiDisclosure.js +27 -4
- package/vue/chunks/UiEditable.js +1 -1
- package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
- package/vue/chunks/UiEditorMentionMenu.js +1 -1
- package/vue/chunks/UiEditorSlashMenu.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/UiIcon.js +92 -1
- package/vue/chunks/UiIconButton.js +1 -1
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +59 -22
- 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 +1 -1
- package/vue/chunks/UiMenuItem.js +1 -1
- package/vue/chunks/UiMeter.js +1 -1
- package/vue/chunks/UiNavItem.js +65 -6
- package/vue/chunks/UiPopover.js +37 -5
- package/vue/chunks/UiRadio.js +1 -1
- package/vue/chunks/UiScrollArea.js +66 -23
- package/vue/chunks/UiSearchResultRow.js +28 -2
- 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/UiStack.js +3 -2
- package/vue/chunks/UiStatusMessage.js +1 -1
- package/vue/chunks/UiSwitch.js +1 -1
- package/vue/chunks/UiTable.js +1 -1
- package/vue/chunks/UiTabs.js +1 -1
- package/vue/chunks/UiText.js +92 -4
- 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/UiTreeItem.js +1 -1
- package/vue/components.css +1431 -1429
- package/vue/editor/LoomaEditor.d.ts +11 -0
- package/vue/editor/index.js +261 -145
|
@@ -17,9 +17,11 @@ export const icons = {
|
|
|
17
17
|
"circle-x": [["circle",{"cx":"12","cy":"12","r":"10"}],["path",{"d":"m15 9-6 6"}],["path",{"d":"m9 9 6 6"}]],
|
|
18
18
|
"code-xml": [["path",{"d":"m18 16 4-4-4-4"}],["path",{"d":"m6 8-4 4 4 4"}],["path",{"d":"m14.5 4-5 16"}]],
|
|
19
19
|
"columns": [["rect",{"width":"18","height":"18","x":"3","y":"3","rx":"2"}],["path",{"d":"M9 3v18"}],["path",{"d":"M15 3v18"}]],
|
|
20
|
+
"compass": [["path",{"d":"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z"}],["circle",{"cx":"12","cy":"12","r":"10"}]],
|
|
20
21
|
"credit-card": [["rect",{"width":"20","height":"14","x":"2","y":"5","rx":"2"}],["line",{"x1":"2","x2":"22","y1":"10","y2":"10"}]],
|
|
21
22
|
"ellipsis": [["circle",{"cx":"12","cy":"12","r":"1"}],["circle",{"cx":"19","cy":"12","r":"1"}],["circle",{"cx":"5","cy":"12","r":"1"}]],
|
|
22
23
|
"eraser": [["path",{"d":"M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21"}],["path",{"d":"m5.082 11.09 8.828 8.828"}]],
|
|
24
|
+
"external-link": [["path",{"d":"M15 3h6v6"}],["path",{"d":"M10 14 21 3"}],["path",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}]],
|
|
23
25
|
"file-text": [["path",{"d":"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"}],["path",{"d":"M14 2v5a1 1 0 0 0 1 1h5"}],["path",{"d":"M10 9H8"}],["path",{"d":"M16 13H8"}],["path",{"d":"M16 17H8"}]],
|
|
24
26
|
"folder": [["path",{"d":"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"}]],
|
|
25
27
|
"grip-horizontal": [["circle",{"cx":"12","cy":"9","r":"1"}],["circle",{"cx":"19","cy":"9","r":"1"}],["circle",{"cx":"5","cy":"9","r":"1"}],["circle",{"cx":"12","cy":"15","r":"1"}],["circle",{"cx":"19","cy":"15","r":"1"}],["circle",{"cx":"5","cy":"15","r":"1"}]],
|
|
@@ -29,6 +31,7 @@ export const icons = {
|
|
|
29
31
|
"heading-3": [["path",{"d":"M4 12h8"}],["path",{"d":"M4 18V6"}],["path",{"d":"M12 18V6"}],["path",{"d":"M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2"}],["path",{"d":"M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2"}]],
|
|
30
32
|
"help": [["circle",{"cx":"12","cy":"12","r":"10"}],["path",{"d":"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"}],["path",{"d":"M12 17h.01"}]],
|
|
31
33
|
"highlighter": [["path",{"d":"m9 11-6 6v3h9l3-3"}],["path",{"d":"m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4"}]],
|
|
34
|
+
"history": [["path",{"d":"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"}],["path",{"d":"M3 3v5h5"}],["path",{"d":"M12 7v5l4 2"}]],
|
|
32
35
|
"image": [["rect",{"width":"18","height":"18","x":"3","y":"3","rx":"2","ry":"2"}],["circle",{"cx":"9","cy":"9","r":"2"}],["path",{"d":"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"}]],
|
|
33
36
|
"info": [["circle",{"cx":"12","cy":"12","r":"10"}],["path",{"d":"M12 16v-4"}],["path",{"d":"M12 8h.01"}]],
|
|
34
37
|
"italic": [["line",{"x1":"19","x2":"10","y1":"4","y2":"4"}],["line",{"x1":"14","x2":"5","y1":"20","y2":"20"}],["line",{"x1":"15","x2":"9","y1":"4","y2":"20"}]],
|
|
@@ -46,12 +49,14 @@ export const icons = {
|
|
|
46
49
|
"panel-left": [["rect",{"width":"18","height":"18","x":"3","y":"3","rx":"2"}],["path",{"d":"M9 3v18"}]],
|
|
47
50
|
"panel-right": [["rect",{"width":"18","height":"18","x":"3","y":"3","rx":"2"}],["path",{"d":"M15 3v18"}]],
|
|
48
51
|
"panel-top": [["rect",{"width":"18","height":"18","x":"3","y":"3","rx":"2"}],["path",{"d":"M3 9h18"}]],
|
|
52
|
+
"pencil": [["path",{"d":"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z"}],["path",{"d":"m15 5 4 4"}]],
|
|
49
53
|
"pilcrow": [["path",{"d":"M13 4v16"}],["path",{"d":"M17 4v16"}],["path",{"d":"M19 4H9.5a4.5 4.5 0 0 0 0 9H13"}]],
|
|
50
54
|
"plus": [["path",{"d":"M5 12h14"}],["path",{"d":"M12 5v14"}]],
|
|
51
55
|
"quote": [["path",{"d":"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z"}],["path",{"d":"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z"}]],
|
|
52
56
|
"receipt": [["path",{"d":"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z"}],["path",{"d":"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8"}],["path",{"d":"M12 17.5v-11"}]],
|
|
53
57
|
"redo": [["path",{"d":"m15 14 5-5-5-5"}],["path",{"d":"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13"}]],
|
|
54
58
|
"rows": [["rect",{"width":"18","height":"18","x":"3","y":"3","rx":"2"}],["path",{"d":"M21 9H3"}],["path",{"d":"M21 15H3"}]],
|
|
59
|
+
"search": [["path",{"d":"m21 21-4.34-4.34"}],["circle",{"cx":"11","cy":"11","r":"8"}]],
|
|
55
60
|
"settings": [["path",{"d":"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"}],["circle",{"cx":"12","cy":"12","r":"3"}]],
|
|
56
61
|
"split": [["path",{"d":"M16 3h5v5"}],["path",{"d":"M8 3H3v5"}],["path",{"d":"M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3"}],["path",{"d":"m15 9 6-6"}]],
|
|
57
62
|
"strikethrough": [["path",{"d":"M16 4H9a3 3 0 0 0-2.83 4"}],["path",{"d":"M14 12a4 4 0 0 1 0 8H6"}],["line",{"x1":"4","x2":"20","y1":"12","y2":"12"}]],
|
|
@@ -62,6 +67,7 @@ export const icons = {
|
|
|
62
67
|
"truck": [["path",{"d":"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2"}],["path",{"d":"M15 18H9"}],["path",{"d":"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14"}],["circle",{"cx":"17","cy":"18","r":"2"}],["circle",{"cx":"7","cy":"18","r":"2"}]],
|
|
63
68
|
"underline": [["path",{"d":"M6 4v6a6 6 0 0 0 12 0V4"}],["line",{"x1":"4","x2":"20","y1":"20","y2":"20"}]],
|
|
64
69
|
"undo": [["path",{"d":"M9 14 4 9l5-5"}],["path",{"d":"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11"}]],
|
|
70
|
+
"unlink": [["path",{"d":"m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71"}],["path",{"d":"m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71"}],["line",{"x1":"8","x2":"8","y1":"2","y2":"5"}],["line",{"x1":"2","x2":"5","y1":"8","y2":"8"}],["line",{"x1":"16","x2":"16","y1":"19","y2":"22"}],["line",{"x1":"19","x2":"22","y1":"16","y2":"16"}]],
|
|
65
71
|
"user-round": [["circle",{"cx":"12","cy":"8","r":"5"}],["path",{"d":"M20 21a8 8 0 0 0-16 0"}]],
|
|
66
72
|
"users": [["path",{"d":"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"}],["path",{"d":"M16 3.128a4 4 0 0 1 0 7.744"}],["path",{"d":"M22 21v-2a4 4 0 0 0-3-3.87"}],["circle",{"cx":"9","cy":"7","r":"4"}]],
|
|
67
73
|
"x": [["path",{"d":"M18 6 6 18"}],["path",{"d":"m6 6 12 12"}]],
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
inline-size: 2.5rem;
|
|
66
66
|
block-size: 2.5rem;
|
|
67
67
|
border-radius: var(--ui-avatar-radius, var(--ui-radius-round));
|
|
68
|
-
border:
|
|
68
|
+
border: var(--ui-border-width) solid var(--ui-avatar-border, color-mix(in srgb, var(--ui-accent-solid) 35%, var(--ui-surface-default)));
|
|
69
69
|
background: var(--ui-avatar-surface, var(--ui-accent-soft));
|
|
70
70
|
color: var(--ui-avatar-text, var(--ui-accent-subtle-text, var(--ui-accent-solid)));
|
|
71
71
|
font: inherit;
|
|
@@ -103,8 +103,8 @@
|
|
|
103
103
|
/* An outline, not a dot: the avatar clips its content to the circle, and an outline is drawn
|
|
104
104
|
outside the box, so the ring survives the clip and the overlap in an Avatar Group. */
|
|
105
105
|
:host-state([active]) {
|
|
106
|
-
outline:
|
|
107
|
-
outline-offset:
|
|
106
|
+
outline: var(--ui-border-width) solid var(--ui-avatar-active-ring, var(--ui-accent-solid));
|
|
107
|
+
outline-offset: var(--ui-border-width);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.image,
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
inline-size: 2.5rem;
|
|
72
72
|
block-size: 2.5rem;
|
|
73
73
|
border-radius: var(--ui-radius-round);
|
|
74
|
-
border:
|
|
74
|
+
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
75
75
|
background: var(--ui-surface-elevated);
|
|
76
76
|
color: var(--ui-text-primary);
|
|
77
77
|
box-shadow:
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
justify-content: center;
|
|
81
81
|
max-width: 100%;
|
|
82
82
|
padding: var(--ui-badge-padding-block, var(--ui-space-0-5)) var(--ui-badge-padding-inline, var(--ui-space-2));
|
|
83
|
-
border:
|
|
83
|
+
border: var(--ui-border-width) solid var(--ui-badge-border, var(--_badge-color-border, var(--_badge-border)));
|
|
84
84
|
border-radius: var(--ui-radius-round);
|
|
85
85
|
background: var(--_badge-outline-surface);
|
|
86
86
|
color: var(--ui-badge-text, var(--_badge-color-text, var(--_badge-text)));
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
appearance: none;
|
|
170
170
|
min-block-size: var(--ui-button-min-block-size, var(--ui-control-size-md));
|
|
171
171
|
border-style: solid;
|
|
172
|
-
border-width:
|
|
172
|
+
border-width: var(--ui-border-width);
|
|
173
173
|
border-color: var(--ui-button-border, var(--_tone));
|
|
174
174
|
border-radius: var(--ui-button-radius, var(--ui-action-radius, var(--ui-radius-md)));
|
|
175
175
|
background-color: var(--ui-button-surface, oklch(from var(--_tone) l c h / 5%));
|
|
@@ -432,8 +432,8 @@
|
|
|
432
432
|
:host-state([variant="link"]):focus-visible {
|
|
433
433
|
box-shadow: none;
|
|
434
434
|
/* Fallback keeps the ring if the token is missing: an unresolved var() would void the outline. */
|
|
435
|
-
outline:
|
|
436
|
-
outline-offset:
|
|
435
|
+
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
436
|
+
outline-offset: var(--ui-focus-width);
|
|
437
437
|
}
|
|
438
438
|
|
|
439
439
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
@@ -106,8 +106,9 @@
|
|
|
106
106
|
padding-block: var(--ui-callout-padding-block, var(--ui-space-2));
|
|
107
107
|
padding-inline-start: var(--ui-callout-padding-inline, var(--ui-space-2));
|
|
108
108
|
padding-inline-end: var(--ui-callout-padding-inline, var(--ui-space-3));
|
|
109
|
-
border: var(--ui-callout-border-width,
|
|
110
|
-
|
|
109
|
+
border: var(--ui-callout-border-width, var(--ui-border-width)) solid
|
|
110
|
+
color-mix(in srgb, var(--ui-callout-border, var(--_callout-border)) 35%, transparent);
|
|
111
|
+
border-inline-start: var(--ui-callout-leading-border-width, var(--ui-accent-line-width)) solid var(--ui-callout-border, var(--_callout-border));
|
|
111
112
|
border-radius: var(--ui-radius-md);
|
|
112
113
|
background: var(--ui-callout-surface, var(--_callout-surface));
|
|
113
114
|
color: var(--ui-callout-text, var(--ui-text-primary));
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
<template component="ui-card">
|
|
2
2
|
<defs>
|
|
3
|
+
<prop name="size" type="keyword" values="content, sm, md, lg" default="content"
|
|
4
|
+
>Optional size preset. content keeps the existing intrinsic sizing; the other sizes constrain the surface for compact, medium, or large content.</prop>
|
|
3
5
|
<prop name="variant" type="keyword" values="outlined, subtle, elevated" default="outlined"
|
|
4
6
|
>The surface. outlined is a bordered panel on the page; subtle is a quiet filled one with no border, for supporting details set apart from the flow;
|
|
5
7
|
elevated floats above the page with a shadow, for a view's one card, such as sign-in.</prop>
|
|
6
|
-
<prop name="padding" type="keyword" values="sm, md, lg" default="md"
|
|
7
|
-
>The space inside the card: sm is snug (0.75rem), md is the default (1.5rem), and lg is roomy (2rem).</prop>
|
|
8
|
+
<prop name="padding" type="keyword" values="xs, sm, md, lg" default="md"
|
|
9
|
+
>The space inside the card: xs is compact (0.5rem), sm is snug (0.75rem), md is the default (1.5rem), and lg is roomy (2rem).</prop>
|
|
8
10
|
<prop name="tone" type="keyword" values="neutral, danger" default="neutral"
|
|
9
11
|
>danger adds a soft danger surface and a strong leading edge for consequential content.</prop>
|
|
10
12
|
<prop name="as" type="keyword" values="div, section, article, aside" default="div"
|
|
@@ -26,12 +28,16 @@
|
|
|
26
28
|
box-sizing: border-box;
|
|
27
29
|
min-inline-size: 0;
|
|
28
30
|
padding: var(--ui-space-5);
|
|
29
|
-
border:
|
|
31
|
+
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
30
32
|
border-radius: var(--ui-radius-lg);
|
|
31
33
|
background: var(--ui-surface-raised);
|
|
32
34
|
color: var(--ui-text-primary);
|
|
33
35
|
}
|
|
34
36
|
|
|
37
|
+
:host-state([padding="xs"]) {
|
|
38
|
+
gap: var(--ui-space-1);
|
|
39
|
+
padding: var(--ui-space-2);
|
|
40
|
+
}
|
|
35
41
|
:host-state([padding="sm"]) {
|
|
36
42
|
gap: var(--ui-space-2);
|
|
37
43
|
padding: var(--ui-space-3);
|
|
@@ -53,10 +59,23 @@
|
|
|
53
59
|
|
|
54
60
|
:host-state([tone="danger"]) {
|
|
55
61
|
border-color: color-mix(in srgb, var(--ui-danger) 45%, var(--ui-border-default));
|
|
56
|
-
border-inline-start:
|
|
62
|
+
border-inline-start: var(--ui-accent-line-width) solid var(--ui-danger);
|
|
57
63
|
background: var(--ui-danger-soft);
|
|
58
64
|
}
|
|
59
65
|
|
|
66
|
+
:host-state([size="sm"]) {
|
|
67
|
+
inline-size: min(22rem, calc(100vw - var(--ui-space-2) * 2));
|
|
68
|
+
max-inline-size: min(22rem, calc(100vw - var(--ui-space-2) * 2));
|
|
69
|
+
}
|
|
70
|
+
:host-state([size="md"]) {
|
|
71
|
+
inline-size: min(28rem, calc(100vw - var(--ui-space-2) * 2));
|
|
72
|
+
max-inline-size: min(28rem, calc(100vw - var(--ui-space-2) * 2));
|
|
73
|
+
}
|
|
74
|
+
:host-state([size="lg"]) {
|
|
75
|
+
inline-size: min(36rem, calc(100vw - var(--ui-space-2) * 2));
|
|
76
|
+
max-inline-size: min(36rem, calc(100vw - var(--ui-space-2) * 2));
|
|
77
|
+
}
|
|
78
|
+
|
|
60
79
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
61
80
|
:host[hidden] {
|
|
62
81
|
display: none;
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
inline-size: var(--_ui-checkbox-size, 1.125rem);
|
|
103
103
|
block-size: var(--_ui-checkbox-size, 1.125rem);
|
|
104
104
|
margin: 0.125em 0 0;
|
|
105
|
-
border:
|
|
105
|
+
border: var(--ui-border-width) solid var(--ui-control-border, var(--ui-border-strong));
|
|
106
106
|
border-radius: var(--ui-radius-sm);
|
|
107
107
|
background: var(--ui-control-surface, var(--ui-surface-default));
|
|
108
108
|
box-shadow: var(--ui-control-inset);
|
|
@@ -179,8 +179,8 @@
|
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
input:focus-visible {
|
|
182
|
-
outline:
|
|
183
|
-
outline-offset:
|
|
182
|
+
outline: var(--ui-focus-width) solid var(--ui-focus-ring, var(--ui-accent-solid));
|
|
183
|
+
outline-offset: var(--ui-focus-width);
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
:host-state([invalid]) input {
|
|
@@ -628,7 +628,7 @@
|
|
|
628
628
|
flex: 1 1 auto;
|
|
629
629
|
display: flex;
|
|
630
630
|
min-inline-size: 0;
|
|
631
|
-
border:
|
|
631
|
+
border: var(--ui-border-width) solid var(--ui-control-border, var(--ui-border-default));
|
|
632
632
|
border-radius: var(--_ui-combobox-radius, var(--ui-field-radius, var(--ui-radius-md)));
|
|
633
633
|
background: var(--ui-control-surface, var(--ui-surface-default));
|
|
634
634
|
box-shadow: var(--ui-control-inset);
|
|
@@ -743,7 +743,7 @@
|
|
|
743
743
|
button:focus-visible {
|
|
744
744
|
outline: none;
|
|
745
745
|
background: var(--ui-surface-muted);
|
|
746
|
-
box-shadow: inset 0 0 0
|
|
746
|
+
box-shadow: inset 0 0 0 var(--ui-focus-width) color-mix(in srgb, var(--ui-focus-ring) 45%, transparent);
|
|
747
747
|
}
|
|
748
748
|
input:disabled, button:disabled {
|
|
749
749
|
color: var(--ui-disabled-text);
|
|
@@ -764,7 +764,7 @@
|
|
|
764
764
|
overflow: auto;
|
|
765
765
|
margin: 0;
|
|
766
766
|
padding: var(--ui-space-1);
|
|
767
|
-
border:
|
|
767
|
+
border: var(--ui-border-width) solid var(--_ui-combobox-popup-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
768
768
|
border-radius: var(--_ui-combobox-popup-radius, var(--ui-overlay-radius, var(--ui-radius-md)));
|
|
769
769
|
background: var(--_ui-combobox-popup-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
770
770
|
color: var(--ui-text-primary);
|
|
@@ -779,7 +779,7 @@
|
|
|
779
779
|
}
|
|
780
780
|
.primary {
|
|
781
781
|
display: block;
|
|
782
|
-
color: var(--_ui-combobox-option-text,
|
|
782
|
+
color: var(--_ui-combobox-option-text, inherit);
|
|
783
783
|
font-weight: 500;
|
|
784
784
|
}
|
|
785
785
|
/* A row with a tag or a description: the label and its tag on one line, the description under them. */
|
|
@@ -868,7 +868,7 @@
|
|
|
868
868
|
padding: var(--ui-space-0-5);
|
|
869
869
|
}
|
|
870
870
|
:host-state([multiple]):host-state([size="sm"]) input {
|
|
871
|
-
min-block-size: calc(var(--_row) -
|
|
871
|
+
min-block-size: calc(var(--_row) - 2 * var(--ui-border-width) - 2 * var(--ui-space-0-5));
|
|
872
872
|
padding: 0 var(--ui-space-1);
|
|
873
873
|
}
|
|
874
874
|
/* A large multiple field starts at the large control height, as sm starts at the small one. */
|
|
@@ -876,7 +876,7 @@
|
|
|
876
876
|
min-block-size: 0;
|
|
877
877
|
}
|
|
878
878
|
:host-state([multiple]):host-state([size="lg"]) input {
|
|
879
|
-
min-block-size: calc(var(--ui-control-size-lg) -
|
|
879
|
+
min-block-size: calc(var(--ui-control-size-lg) - 2 * var(--ui-border-width) - 2 * var(--ui-space-1));
|
|
880
880
|
}
|
|
881
881
|
.item {
|
|
882
882
|
appearance: none;
|
|
@@ -894,8 +894,8 @@
|
|
|
894
894
|
cursor: default;
|
|
895
895
|
}
|
|
896
896
|
.item:focus-visible {
|
|
897
|
-
outline:
|
|
898
|
-
outline-offset:
|
|
897
|
+
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
898
|
+
outline-offset: var(--ui-border-width);
|
|
899
899
|
}
|
|
900
900
|
.item:disabled {
|
|
901
901
|
color: var(--ui-disabled-text);
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
box-sizing: border-box;
|
|
70
70
|
padding: var(--ui-space-1);
|
|
71
71
|
background: var(--_ui-context-menu-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
72
|
-
border:
|
|
72
|
+
border: var(--ui-border-width) solid var(--_ui-context-menu-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
73
73
|
border-radius: var(--_ui-context-menu-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
|
|
74
74
|
box-shadow: var(--_ui-context-menu-shadow, var(--ui-overlay-shadow, var(--ui-elevation-overlay, var(--ui-shadow-lg))));
|
|
75
75
|
outline: 0;
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
block-size: 0;
|
|
91
91
|
margin: var(--ui-space-1) 0;
|
|
92
92
|
border: 0;
|
|
93
|
-
border-block-start:
|
|
93
|
+
border-block-start: var(--ui-border-width) solid var(--ui-border-divider);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.menu:popover-open {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
--_ui-description-align: flex-start;
|
|
54
54
|
--_ui-description-value-size: var(--ui-font-size-lg);
|
|
55
55
|
--_ui-description-padding: var(--_tile-padding);
|
|
56
|
-
--_ui-description-border-width:
|
|
56
|
+
--_ui-description-border-width: var(--ui-border-width);
|
|
57
57
|
--_ui-description-border-color: var(--ui-border-strong);
|
|
58
58
|
--_gap: var(--ui-space-3);
|
|
59
59
|
--_gap-compact: var(--ui-space-2);
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
overflow: hidden;
|
|
93
93
|
flex-direction: column;
|
|
94
94
|
background: var(--ui-dialog-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
95
|
-
border:
|
|
95
|
+
border: var(--ui-border-width) solid var(--ui-dialog-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
96
96
|
border-radius: var(--ui-dialog-radius, var(--ui-overlay-radius, var(--ui-radius-dialog)));
|
|
97
97
|
box-shadow: var(--ui-dialog-shadow, var(--ui-overlay-shadow, var(--ui-elevation-dialog, var(--ui-shadow-xl))));
|
|
98
98
|
visibility: hidden;
|
|
@@ -198,8 +198,8 @@
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
.close:focus-visible {
|
|
201
|
-
outline:
|
|
202
|
-
outline-offset:
|
|
201
|
+
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
202
|
+
outline-offset: var(--ui-focus-width);
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
/* A touch target, like Button on coarse pointers. */
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
<defs>
|
|
3
3
|
<prop name="density" type="keyword" values="comfortable, compact" default="comfortable"
|
|
4
4
|
>Compact trades padding and type size for rows that fit more on screen.</prop>
|
|
5
|
+
<prop name="fill" type="boolean" default="false"
|
|
6
|
+
>In a column with a bounded height, an open disclosure fills the remaining space and keeps its trigger visible. The content slot can contain a Scroll Area.
|
|
7
|
+
Closed items keep only their trigger height.</prop>
|
|
5
8
|
<prop name="summary" type="string" default="Details"
|
|
6
9
|
>The text of the trigger row that opens and closes the disclosure. It is the trigger button's accessible name, so name what the content is.</prop>
|
|
7
10
|
<prop name="open" type="boolean" default="false"
|
|
@@ -38,7 +41,7 @@
|
|
|
38
41
|
<div class="heading" from:role="headingRole" from:aria-level="headingAriaLevel">
|
|
39
42
|
<button class="trigger" type="button" $ref="trigger" from:aria-controls="contentId" from:aria-expanded="internalOpen" from:disabled="disabled">
|
|
40
43
|
<span class="summary"><slot name="summary"><template $value="summary"></template></slot></span>
|
|
41
|
-
<span class="chevron" aria-hidden="true"></span>
|
|
44
|
+
<slot name="indicator"><span class="chevron" aria-hidden="true"></span></slot>
|
|
42
45
|
</button>
|
|
43
46
|
</div>
|
|
44
47
|
<div class="panel" $ref="panel" from:id="contentId"><div class="panel-inner"><slot></slot></div></div>
|
|
@@ -82,7 +85,7 @@
|
|
|
82
85
|
display: block;
|
|
83
86
|
inline-size: 100%;
|
|
84
87
|
overflow: clip;
|
|
85
|
-
border-block-end:
|
|
88
|
+
border-block-end: var(--ui-border-width) solid var(--ui-border-divider);
|
|
86
89
|
color: var(--ui-text-primary);
|
|
87
90
|
}
|
|
88
91
|
|
|
@@ -111,7 +114,7 @@
|
|
|
111
114
|
}
|
|
112
115
|
.trigger:focus-visible {
|
|
113
116
|
outline: none;
|
|
114
|
-
box-shadow: inset 0 0 0
|
|
117
|
+
box-shadow: inset 0 0 0 var(--ui-focus-width) color-mix(in srgb, var(--ui-focus-ring) 45%, transparent);
|
|
115
118
|
}
|
|
116
119
|
.trigger:disabled {
|
|
117
120
|
color: var(--ui-disabled-text);
|
|
@@ -149,6 +152,43 @@
|
|
|
149
152
|
transform: rotate(225deg) translate(-1px, -1px);
|
|
150
153
|
}
|
|
151
154
|
|
|
155
|
+
/* A bounded accordion owns one flexible body, so its trigger never scrolls away. The
|
|
156
|
+
* normal content-sized layout and its animation remain unchanged when fill is omitted. */
|
|
157
|
+
:host-state([fill]) {
|
|
158
|
+
display: flex;
|
|
159
|
+
flex-direction: column;
|
|
160
|
+
flex: none;
|
|
161
|
+
min-block-size: 0;
|
|
162
|
+
border-block-end: 0;
|
|
163
|
+
border-block-start: var(--ui-border-width) solid var(--ui-border-divider);
|
|
164
|
+
}
|
|
165
|
+
:host-state([fill][internalOpen]) {
|
|
166
|
+
flex: 1;
|
|
167
|
+
}
|
|
168
|
+
:host-state([fill]) .heading {
|
|
169
|
+
flex: none;
|
|
170
|
+
}
|
|
171
|
+
:host-state([fill]) .trigger {
|
|
172
|
+
border-radius: 0;
|
|
173
|
+
}
|
|
174
|
+
:host-state([fill]) .panel {
|
|
175
|
+
display: flex;
|
|
176
|
+
flex: 1;
|
|
177
|
+
min-block-size: 0;
|
|
178
|
+
transition: none;
|
|
179
|
+
}
|
|
180
|
+
:host-state([fill]) .panel[hidden] {
|
|
181
|
+
flex: none;
|
|
182
|
+
block-size: 0;
|
|
183
|
+
}
|
|
184
|
+
:host-state([fill]) .panel-inner {
|
|
185
|
+
display: flex;
|
|
186
|
+
flex-direction: column;
|
|
187
|
+
flex: 1;
|
|
188
|
+
min-block-size: 0;
|
|
189
|
+
padding: 0;
|
|
190
|
+
}
|
|
191
|
+
|
|
152
192
|
@media (prefers-reduced-motion: reduce) {
|
|
153
193
|
.panel,
|
|
154
194
|
.chevron {
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
min-block-size: var(--ui-control-size-sm);
|
|
83
83
|
margin: 0;
|
|
84
84
|
padding: var(--ui-space-1) var(--ui-space-2);
|
|
85
|
-
border:
|
|
85
|
+
border: var(--ui-border-width) solid transparent;
|
|
86
86
|
border-radius: var(--ui-radius-md);
|
|
87
87
|
font: inherit;
|
|
88
88
|
line-height: var(--ui-line-height-md);
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
.actions button {
|
|
156
156
|
min-block-size: var(--ui-control-size-sm);
|
|
157
157
|
padding: 0 var(--ui-space-3);
|
|
158
|
-
border:
|
|
158
|
+
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
159
159
|
border-radius: var(--ui-radius-md);
|
|
160
160
|
background: var(--ui-surface-elevated);
|
|
161
161
|
background-image: var(--ui-raised-highlight);
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
:host {
|
|
39
39
|
padding: var(--ui-space-3);
|
|
40
40
|
background: var(--ui-surface);
|
|
41
|
-
border:
|
|
41
|
+
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
42
42
|
border-radius: var(--ui-radius-md);
|
|
43
43
|
box-shadow: var(--ui-shadow-lg, 0 10px 15px -3px rgb(0 0 0 / 0.1));
|
|
44
44
|
}
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
width: 1.25rem;
|
|
84
84
|
height: 1.25rem;
|
|
85
85
|
padding: 0;
|
|
86
|
-
border:
|
|
87
|
-
border-radius:
|
|
86
|
+
border: var(--ui-border-width) solid var(--ui-control-border);
|
|
87
|
+
border-radius: var(--ui-radius-sm);
|
|
88
88
|
background: var(--ui-surface);
|
|
89
89
|
cursor: pointer;
|
|
90
90
|
}
|
|
@@ -95,8 +95,8 @@
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.cell:focus-visible {
|
|
98
|
-
outline:
|
|
99
|
-
outline-offset: -
|
|
98
|
+
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
99
|
+
outline-offset: calc(-1 * var(--ui-focus-width));
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.header {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
overflow: hidden;
|
|
54
54
|
flex-direction: column;
|
|
55
55
|
background: var(--ui-surface);
|
|
56
|
-
border:
|
|
56
|
+
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
57
57
|
border-radius: var(--ui-radius-dialog);
|
|
58
58
|
box-shadow: var(--ui-shadow-lg, 0 8px 24px rgb(0 0 0 / 0.12));
|
|
59
59
|
}
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
gap: var(--ui-space-3);
|
|
66
66
|
padding: var(--ui-space-2) var(--ui-space-3);
|
|
67
67
|
color: var(--ui-text-secondary);
|
|
68
|
-
border-bottom:
|
|
68
|
+
border-bottom: var(--ui-border-width) solid var(--ui-border-divider);
|
|
69
69
|
font-size: var(--ui-font-size-xs);
|
|
70
70
|
font-weight: var(--ui-font-semibold);
|
|
71
71
|
}
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
|
|
50
50
|
:host {
|
|
51
51
|
background: var(--ui-surface);
|
|
52
|
-
border:
|
|
52
|
+
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
53
53
|
border-radius: var(--ui-radius-dialog);
|
|
54
54
|
box-shadow: var(--ui-shadow-lg, 0 8px 24px rgb(0 0 0 / 0.12));
|
|
55
55
|
overflow: hidden;
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
align-items: center;
|
|
70
70
|
gap: var(--ui-space-2);
|
|
71
71
|
padding: var(--ui-space-3) var(--ui-space-4);
|
|
72
|
-
border-bottom:
|
|
72
|
+
border-bottom: var(--ui-border-width) solid var(--ui-border-divider);
|
|
73
73
|
font-size: var(--ui-font-size-xs);
|
|
74
74
|
color: var(--ui-text-muted);
|
|
75
75
|
font-weight: var(--ui-font-semibold);
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
width: 32px;
|
|
148
148
|
height: 32px;
|
|
149
149
|
background: var(--ui-surface-hover);
|
|
150
|
-
border:
|
|
150
|
+
border: var(--ui-border-width) solid var(--ui-border);
|
|
151
151
|
border-radius: var(--ui-radius-md);
|
|
152
152
|
font-size: var(--ui-font-size-sm);
|
|
153
153
|
font-weight: var(--ui-font-bold);
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
|
|
195
195
|
.footer {
|
|
196
196
|
padding: var(--ui-space-2) var(--ui-space-3);
|
|
197
|
-
border-top:
|
|
197
|
+
border-top: var(--ui-border-width) solid var(--ui-border-divider);
|
|
198
198
|
font-size: var(--ui-font-size-xs);
|
|
199
199
|
color: var(--ui-text-muted);
|
|
200
200
|
}
|
|
@@ -206,8 +206,8 @@
|
|
|
206
206
|
font-family: var(--ui-font-family-mono, ui-monospace, monospace);
|
|
207
207
|
font-size: var(--ui-font-size-2xs);
|
|
208
208
|
background: var(--ui-surface-hover);
|
|
209
|
-
border:
|
|
210
|
-
border-radius:
|
|
209
|
+
border: var(--ui-border-width) solid var(--ui-border);
|
|
210
|
+
border-radius: var(--ui-radius-sm);
|
|
211
211
|
padding: 0 3px;
|
|
212
212
|
color: var(--ui-text-secondary);
|
|
213
213
|
}
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
max-height: min(28rem, calc(100vh - 24px));
|
|
89
89
|
padding: var(--ui-space-2);
|
|
90
90
|
background: var(--ui-surface);
|
|
91
|
-
border:
|
|
91
|
+
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
92
92
|
border-radius: var(--ui-radius-lg);
|
|
93
93
|
box-shadow: var(--ui-shadow-lg, 0 10px 15px -3px rgb(0 0 0 / 0.1));
|
|
94
94
|
display: flex;
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
width: 1rem;
|
|
156
156
|
height: 1rem;
|
|
157
157
|
border-radius: var(--ui-radius-round);
|
|
158
|
-
border:
|
|
158
|
+
border: var(--ui-border-width) solid var(--ui-border);
|
|
159
159
|
background: var(--_swatch, #fff);
|
|
160
160
|
box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35);
|
|
161
161
|
flex-shrink: 0;
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
width: 24px;
|
|
245
245
|
height: 24px;
|
|
246
246
|
padding: 0;
|
|
247
|
-
border:
|
|
247
|
+
border: var(--ui-border-width) solid var(--ui-affordance-near-color, var(--ui-border-strong));
|
|
248
248
|
border-radius: var(--ui-radius-round);
|
|
249
249
|
background: color-mix(in srgb, var(--ui-surface-elevated) 96%, transparent);
|
|
250
250
|
color: var(--ui-affordance-near-color, var(--ui-text-secondary));
|
|
@@ -287,8 +287,8 @@
|
|
|
287
287
|
.handle:focus-visible,
|
|
288
288
|
.selector:focus-visible,
|
|
289
289
|
.cell-menu:focus-visible {
|
|
290
|
-
outline:
|
|
291
|
-
outline-offset:
|
|
290
|
+
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
291
|
+
outline-offset: var(--ui-focus-width);
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
.control.row {
|
|
@@ -321,13 +321,13 @@
|
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
.control.row .line {
|
|
324
|
-
inset: -
|
|
325
|
-
height:
|
|
324
|
+
inset: calc(-0.5 * var(--ui-accent-line-width)) 0 auto;
|
|
325
|
+
height: var(--ui-accent-line-width);
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
.control.col .line {
|
|
329
|
-
inset: 0 auto 0 -
|
|
330
|
-
width:
|
|
329
|
+
inset: 0 auto 0 calc(-0.5 * var(--ui-accent-line-width));
|
|
330
|
+
width: var(--ui-accent-line-width);
|
|
331
331
|
}
|
|
332
332
|
|
|
333
333
|
.control.active .line {
|
|
@@ -399,7 +399,7 @@
|
|
|
399
399
|
align-items: center;
|
|
400
400
|
justify-content: center;
|
|
401
401
|
padding: 0;
|
|
402
|
-
border:
|
|
402
|
+
border: var(--ui-border-width) solid transparent;
|
|
403
403
|
background: transparent;
|
|
404
404
|
color: var(--ui-text-secondary);
|
|
405
405
|
box-shadow: none;
|
|
@@ -516,19 +516,19 @@
|
|
|
516
516
|
position: absolute;
|
|
517
517
|
z-index: 3;
|
|
518
518
|
background: var(--ui-accent-solid);
|
|
519
|
-
box-shadow: 0 0 0
|
|
519
|
+
box-shadow: 0 0 0 var(--ui-border-width) var(--ui-surface);
|
|
520
520
|
pointer-events: none;
|
|
521
521
|
}
|
|
522
522
|
|
|
523
523
|
.drop-indicator.row {
|
|
524
524
|
left: 0;
|
|
525
525
|
width: 100%;
|
|
526
|
-
height:
|
|
526
|
+
height: var(--ui-accent-line-width);
|
|
527
527
|
}
|
|
528
528
|
|
|
529
529
|
.drop-indicator.column {
|
|
530
530
|
top: 0;
|
|
531
|
-
width:
|
|
531
|
+
width: var(--ui-accent-line-width);
|
|
532
532
|
height: 100%;
|
|
533
533
|
}
|
|
534
534
|
|