@threadlabs/looma 0.42.0 → 0.43.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.
Files changed (272) hide show
  1. package/components/ui-action-bar/ui-action-bar.html +1 -7
  2. package/components/ui-affordance-scope/ui-affordance-scope.html +4 -4
  3. package/components/ui-avatar/ui-avatar.html +0 -22
  4. package/components/ui-avatar-group/ui-avatar-group.html +1 -11
  5. package/components/ui-badge/ui-badge.html +57 -78
  6. package/components/ui-button/ui-button.html +36 -81
  7. package/components/ui-callout/ui-callout.html +30 -68
  8. package/components/ui-card/ui-card.html +47 -21
  9. package/components/ui-checkbox/ui-checkbox.html +1 -15
  10. package/components/ui-cluster/ui-cluster.html +1 -7
  11. package/components/ui-combobox/ui-combobox.html +7 -70
  12. package/components/ui-container/ui-container.html +2 -12
  13. package/components/ui-context-menu/ui-context-menu.html +1 -23
  14. package/components/ui-dialog/ui-dialog.html +1 -31
  15. package/components/ui-disclosure/ui-disclosure.html +1 -15
  16. package/components/ui-editor-mention-menu/ui-editor-mention-menu.js +3 -0
  17. package/components/ui-editor-slash-menu/ui-editor-slash-menu.js +4 -0
  18. package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +3 -2
  19. package/components/ui-floating-action-button/ui-floating-action-button.html +0 -14
  20. package/components/ui-form-field/ui-form-field.html +2 -32
  21. package/components/ui-grid/ui-grid.html +1 -11
  22. package/components/ui-icon/ui-icon.html +1 -12
  23. package/components/ui-icon-button/ui-icon-button.html +52 -87
  24. package/components/ui-input/ui-input.html +5 -55
  25. package/components/ui-input-group/ui-input-group.html +1 -13
  26. package/components/ui-list/ui-list.html +0 -10
  27. package/components/ui-list-item/ui-list-item.html +1 -19
  28. package/components/ui-listbox/ui-listbox.html +0 -21
  29. package/components/ui-menu/ui-menu.html +0 -22
  30. package/components/ui-menu-item/ui-menu-item.html +0 -26
  31. package/components/ui-meter/ui-meter.html +11 -6
  32. package/components/ui-nav-item/ui-nav-item.html +0 -18
  33. package/components/ui-popover/ui-popover.html +0 -30
  34. package/components/ui-radio/ui-radio.html +7 -13
  35. package/components/ui-radio-group/ui-radio-group.html +0 -5
  36. package/components/ui-reel/ui-reel.html +1 -11
  37. package/components/ui-search-result-row/ui-search-result-row.html +0 -34
  38. package/components/ui-search-shell/ui-search-shell.html +1 -43
  39. package/components/ui-select/ui-select.html +0 -42
  40. package/components/ui-separator/ui-separator.html +0 -6
  41. package/components/ui-sidebar/ui-sidebar.html +2 -24
  42. package/components/ui-site-header/ui-site-header.html +0 -25
  43. package/components/ui-skeleton/ui-skeleton.html +0 -9
  44. package/components/ui-stack/ui-stack.html +6 -11
  45. package/components/ui-swatch/ui-swatch.html +0 -5
  46. package/components/ui-switch/ui-switch.html +1 -15
  47. package/components/ui-switcher/ui-switcher.html +1 -11
  48. package/components/ui-tabs/ui-tabs.html +1 -19
  49. package/components/ui-text/ui-text.html +19 -6
  50. package/components/ui-textarea/ui-textarea.html +0 -50
  51. package/components/ui-toast/ui-toast.html +12 -27
  52. package/components/ui-toast-region/ui-toast-region.html +13 -34
  53. package/components/ui-tooltip/ui-tooltip.html +1 -43
  54. package/components/ui-top-bar/ui-top-bar.html +1 -31
  55. package/components/ui-tree/ui-tree.html +1 -16
  56. package/components/ui-tree-item/ui-tree-item.html +1 -23
  57. package/components/ui-tree-item/ui-tree-item.js +0 -1
  58. package/dist/index.js +1 -1
  59. package/docs/README.md +13 -11
  60. package/docs/card.html +2 -6
  61. package/docs/card.js +7 -37
  62. package/docs/catalog.json +821 -202
  63. package/docs/catalog.mjs +1 -1
  64. package/docs/customizer-render.mjs +27 -14
  65. package/docs/customizer.js +42 -9
  66. package/docs/documentation.css +3 -7
  67. package/docs/examples/ui-button/examples/08-loading.behavior.js +1 -1
  68. package/docs/examples/ui-checkbox/examples/02-checked-indeterminate-and-disabled.behavior.js +1 -1
  69. package/docs/examples/ui-editor-mention-menu/examples/00-preview.behavior.js +1 -0
  70. package/docs/examples/ui-editor-slash-menu/examples/00-preview.behavior.js +81 -0
  71. package/docs/examples/ui-editor-table-overlay/examples/00-preview.behavior.js +24 -0
  72. package/docs/examples/ui-search-shell/examples/00-preview.behavior.js +14 -0
  73. package/docs/examples/ui-search-shell/examples/02-label-dismissible-status-and-footer.behavior.js +7 -7
  74. package/docs/examples/ui-toast/examples/01-authored.behavior.js +2 -2
  75. package/docs/index.d.ts +1 -1
  76. package/docs/local-server.mjs +2 -5
  77. package/docs/palette.mjs +5 -4
  78. package/docs/pastoral.svg +54 -0
  79. package/docs/portrait.svg +15 -0
  80. package/docs/render.mjs +33 -3
  81. package/docs/site.mjs +22 -54
  82. package/docs/theme.mjs +97 -35
  83. package/docs/value-editors.mjs +2 -1
  84. package/package.json +2 -2
  85. package/styles/ui-action-bar.css +3 -11
  86. package/styles/ui-affordance-scope.css +4 -4
  87. package/styles/ui-avatar-group.css +3 -15
  88. package/styles/ui-avatar.css +2 -26
  89. package/styles/ui-badge.css +56 -80
  90. package/styles/ui-button.css +35 -83
  91. package/styles/ui-callout.css +32 -72
  92. package/styles/ui-card.css +42 -18
  93. package/styles/ui-checkbox.css +3 -19
  94. package/styles/ui-cluster.css +2 -10
  95. package/styles/ui-combobox.css +7 -140
  96. package/styles/ui-container.css +2 -14
  97. package/styles/ui-context-menu.css +3 -27
  98. package/styles/ui-dialog.css +5 -67
  99. package/styles/ui-disclosure.css +3 -19
  100. package/styles/ui-editor-table-overlay.css +2 -2
  101. package/styles/ui-floating-action-button.css +2 -18
  102. package/styles/ui-form-field.css +4 -36
  103. package/styles/ui-grid.css +2 -14
  104. package/styles/ui-icon-button.css +51 -89
  105. package/styles/ui-icon.css +3 -16
  106. package/styles/ui-input-group.css +2 -14
  107. package/styles/ui-input.css +6 -57
  108. package/styles/ui-list-item.css +3 -23
  109. package/styles/ui-list.css +2 -14
  110. package/styles/ui-listbox.css +2 -44
  111. package/styles/ui-menu-item.css +2 -30
  112. package/styles/ui-menu.css +2 -26
  113. package/styles/ui-meter.css +8 -4
  114. package/styles/ui-nav-item.css +2 -22
  115. package/styles/ui-popover.css +2 -34
  116. package/styles/ui-radio-group.css +1 -6
  117. package/styles/ui-radio.css +9 -17
  118. package/styles/ui-reel.css +2 -14
  119. package/styles/ui-search-result-row.css +2 -38
  120. package/styles/ui-search-shell.css +3 -47
  121. package/styles/ui-select.css +2 -46
  122. package/styles/ui-separator.css +2 -10
  123. package/styles/ui-sidebar.css +4 -28
  124. package/styles/ui-site-header.css +1 -26
  125. package/styles/ui-skeleton.css +2 -12
  126. package/styles/ui-stack.css +4 -12
  127. package/styles/ui-swatch.css +1 -6
  128. package/styles/ui-switch.css +3 -19
  129. package/styles/ui-switcher.css +2 -14
  130. package/styles/ui-tabs.css +3 -23
  131. package/styles/ui-text.css +10 -2
  132. package/styles/ui-textarea.css +2 -54
  133. package/styles/ui-toast-region.css +29 -73
  134. package/styles/ui-toast.css +24 -54
  135. package/styles/ui-tooltip.css +3 -47
  136. package/styles/ui-top-bar.css +3 -35
  137. package/styles/ui-tree-item.css +5 -51
  138. package/styles/ui-tree.css +3 -20
  139. package/theme-system.css +6 -2
  140. package/tokens.css +55 -21
  141. package/vanilla/UiBadge.d.ts +1 -1
  142. package/vanilla/UiBadge.js +1 -1
  143. package/vanilla/UiButton.d.ts +1 -1
  144. package/vanilla/UiButton.js +1 -1
  145. package/vanilla/UiCard.d.ts +1 -1
  146. package/vanilla/UiCard.js +1 -1
  147. package/vanilla/UiEditorTableOverlay.js +50 -36
  148. package/vanilla/UiIconButton.d.ts +1 -1
  149. package/vanilla/UiIconButton.js +1 -1
  150. package/vanilla/UiMeter.d.ts +1 -1
  151. package/vanilla/UiMeter.js +1 -1
  152. package/vanilla/UiStack.js +1 -1
  153. package/vanilla/UiText.d.ts +1 -1
  154. package/vanilla/UiText.js +1 -1
  155. package/vue/UiActionBar.vue +3 -9
  156. package/vue/UiAffordanceScope.vue +4 -4
  157. package/vue/UiAvatar.vue +1 -28
  158. package/vue/UiAvatarGroup.vue +1 -11
  159. package/vue/UiBadge.d.ts +2 -2
  160. package/vue/UiBadge.vue +84 -81
  161. package/vue/UiButton.d.ts +2 -2
  162. package/vue/UiButton.vue +78 -97
  163. package/vue/UiCallout.vue +30 -71
  164. package/vue/UiCard.d.ts +2 -2
  165. package/vue/UiCard.vue +77 -26
  166. package/vue/UiCheckbox.vue +1 -15
  167. package/vue/UiCluster.vue +1 -10
  168. package/vue/UiCombobox.vue +13 -72
  169. package/vue/UiContainer.vue +1 -13
  170. package/vue/UiContextMenu.vue +1 -30
  171. package/vue/UiDialog.vue +3 -33
  172. package/vue/UiDisclosure.vue +1 -15
  173. package/vue/UiEditorTableOverlay.d.ts +11 -1
  174. package/vue/UiEditorTableOverlay.vue +100 -65
  175. package/vue/UiFloatingActionButton.vue +0 -22
  176. package/vue/UiFormField.vue +6 -33
  177. package/vue/UiGrid.vue +1 -13
  178. package/vue/UiIcon.vue +1 -16
  179. package/vue/UiIconButton.d.ts +2 -2
  180. package/vue/UiIconButton.vue +103 -99
  181. package/vue/UiInput.vue +1 -54
  182. package/vue/UiInputGroup.vue +8 -20
  183. package/vue/UiList.vue +2 -12
  184. package/vue/UiListItem.vue +8 -26
  185. package/vue/UiListbox.vue +0 -23
  186. package/vue/UiMenu.vue +1 -23
  187. package/vue/UiMenuItem.vue +0 -26
  188. package/vue/UiMeter.d.ts +2 -2
  189. package/vue/UiMeter.vue +47 -12
  190. package/vue/UiNavItem.vue +3 -21
  191. package/vue/UiPopover.vue +1 -32
  192. package/vue/UiRadio.vue +1 -11
  193. package/vue/UiRadioGroup.vue +0 -11
  194. package/vue/UiReel.vue +1 -11
  195. package/vue/UiSearchResultRow.vue +0 -35
  196. package/vue/UiSearchShell.vue +1 -53
  197. package/vue/UiSelect.vue +0 -42
  198. package/vue/UiSeparator.vue +0 -7
  199. package/vue/UiSidebar.vue +3 -26
  200. package/vue/UiSiteHeader.vue +0 -24
  201. package/vue/UiSkeleton.vue +0 -9
  202. package/vue/UiStack.vue +6 -11
  203. package/vue/UiSwatch.vue +1 -6
  204. package/vue/UiSwitch.vue +1 -15
  205. package/vue/UiSwitcher.vue +1 -14
  206. package/vue/UiTabs.vue +1 -19
  207. package/vue/UiText.d.ts +2 -2
  208. package/vue/UiText.vue +29 -4
  209. package/vue/UiTextarea.vue +0 -50
  210. package/vue/UiToast.vue +26 -34
  211. package/vue/UiToastRegion.vue +26 -55
  212. package/vue/UiTooltip.vue +1 -43
  213. package/vue/UiTopBar.vue +1 -34
  214. package/vue/UiTree.vue +2 -17
  215. package/vue/UiTreeItem.vue +2 -28
  216. package/vue/chunks/UiActionBar.js +1 -1
  217. package/vue/chunks/UiAffordanceScope.js +1 -1
  218. package/vue/chunks/UiAvatar.js +1 -1
  219. package/vue/chunks/UiAvatarGroup.js +1 -1
  220. package/vue/chunks/UiBadge.js +4 -2
  221. package/vue/chunks/UiButton.js +4 -2
  222. package/vue/chunks/UiCallout.js +1 -1
  223. package/vue/chunks/UiCard.js +5 -3
  224. package/vue/chunks/UiCheckbox.js +1 -1
  225. package/vue/chunks/UiCluster.js +2 -2
  226. package/vue/chunks/UiCombobox.js +3 -3
  227. package/vue/chunks/UiContainer.js +2 -2
  228. package/vue/chunks/UiContextMenu.js +1 -1
  229. package/vue/chunks/UiDialog.js +1 -1
  230. package/vue/chunks/UiDisclosure.js +1 -1
  231. package/vue/chunks/UiEditorTableOverlay.js +41 -13
  232. package/vue/chunks/UiFloatingActionButton.js +1 -1
  233. package/vue/chunks/UiFormField.js +1 -1
  234. package/vue/chunks/UiGrid.js +2 -2
  235. package/vue/chunks/UiIcon.js +1 -1
  236. package/vue/chunks/UiIconButton.js +4 -2
  237. package/vue/chunks/UiInput.js +1 -1
  238. package/vue/chunks/UiInputGroup.js +1 -1
  239. package/vue/chunks/UiList.js +1 -1
  240. package/vue/chunks/UiListItem.js +1 -1
  241. package/vue/chunks/UiListbox.js +1 -1
  242. package/vue/chunks/UiMenu.js +1 -1
  243. package/vue/chunks/UiMenuItem.js +1 -1
  244. package/vue/chunks/UiMeter.js +4 -2
  245. package/vue/chunks/UiNavItem.js +1 -1
  246. package/vue/chunks/UiPopover.js +1 -1
  247. package/vue/chunks/UiRadio.js +1 -1
  248. package/vue/chunks/UiRadioGroup.js +1 -1
  249. package/vue/chunks/UiReel.js +2 -2
  250. package/vue/chunks/UiSearchResultRow.js +1 -1
  251. package/vue/chunks/UiSearchShell.js +1 -1
  252. package/vue/chunks/UiSelect.js +1 -1
  253. package/vue/chunks/UiSeparator.js +1 -1
  254. package/vue/chunks/UiSidebar.js +1 -1
  255. package/vue/chunks/UiSiteHeader.js +1 -1
  256. package/vue/chunks/UiSkeleton.js +1 -1
  257. package/vue/chunks/UiStack.js +3 -3
  258. package/vue/chunks/UiSwatch.js +1 -1
  259. package/vue/chunks/UiSwitch.js +1 -1
  260. package/vue/chunks/UiSwitcher.js +2 -2
  261. package/vue/chunks/UiTabs.js +1 -1
  262. package/vue/chunks/UiText.js +4 -2
  263. package/vue/chunks/UiTextarea.js +1 -1
  264. package/vue/chunks/UiToast.js +1 -1
  265. package/vue/chunks/UiToastRegion.js +1 -1
  266. package/vue/chunks/UiTooltip.js +1 -1
  267. package/vue/chunks/UiTopBar.js +1 -1
  268. package/vue/chunks/UiTree.js +1 -1
  269. package/vue/chunks/UiTreeItem.js +1 -1
  270. package/vue/components.css +633 -2068
  271. package/vue/editor/index.js +7 -1
  272. package/docs/preview.js +0 -22
package/docs/catalog.json CHANGED
@@ -463,7 +463,7 @@
463
463
  ],
464
464
  "schemaVersion": 1,
465
465
  "package": "@threadlabs/looma",
466
- "version": "0.42.0",
466
+ "version": "0.43.1",
467
467
  "groups": [
468
468
  {
469
469
  "id": "layout",
@@ -544,6 +544,16 @@
544
544
  "vue"
545
545
  ],
546
546
  "examples": [
547
+ {
548
+ "id": "@threadlabs/looma/ui-action-bar/00-preview",
549
+ "name": "00-preview",
550
+ "title": "Form actions",
551
+ "description": "Secondary and primary actions in a compact footer.",
552
+ "markup": "<ui-action-bar><ui-button slot=\"secondary\" size=\"sm\">Cancel</ui-button><ui-button slot=\"primary\" size=\"sm\" preset=\"primary\">Save</ui-button></ui-action-bar>",
553
+ "resizable": false,
554
+ "bindings": "",
555
+ "frameworks": {}
556
+ },
547
557
  {
548
558
  "id": "@threadlabs/looma/ui-action-bar/01-form-footer",
549
559
  "name": "01-form-footer",
@@ -586,22 +596,7 @@
586
596
  "sources": [
587
597
  "packages/looma/src/components/ui-affordance-scope/ui-affordance-scope.html"
588
598
  ],
589
- "component": [
590
- {
591
- "name": "--ui-affordance-scope-engaged",
592
- "declarations": [
593
- "0",
594
- "1"
595
- ]
596
- },
597
- {
598
- "name": "--ui-affordance-scope-guide",
599
- "declarations": [
600
- "1",
601
- "0"
602
- ]
603
- }
604
- ],
599
+ "component": [],
605
600
  "shared": []
606
601
  },
607
602
  "attributes": [
@@ -658,6 +653,17 @@
658
653
  "vue"
659
654
  ],
660
655
  "examples": [
656
+ {
657
+ "id": "@threadlabs/looma/ui-affordance-scope/00-preview",
658
+ "name": "00-preview",
659
+ "title": "Nearby actions",
660
+ "description": "Move toward the guide dots to reveal the actions.",
661
+ "markup": "<ui-affordance-scope><ui-stack gap=\"s\"><ui-text variant=\"caption\">Move toward the actions</ui-text><ui-cluster><ui-icon-button\n anticipatory\n label=\"Add\"\n variant=\"outline\"\n ><ui-icon name=\"plus\"></ui-icon></ui-icon-button><ui-icon-button anticipatory label=\"More actions\" variant=\"outline\"><ui-icon\n name=\"ellipsis\"\n ></ui-icon></ui-icon-button></ui-cluster></ui-stack></ui-affordance-scope>",
662
+ "resizable": false,
663
+ "stretch": true,
664
+ "bindings": "",
665
+ "frameworks": {}
666
+ },
661
667
  {
662
668
  "id": "@threadlabs/looma/ui-affordance-scope/01-default-radius",
663
669
  "name": "01-default-radius",
@@ -930,7 +936,7 @@
930
936
  "name": "02-image",
931
937
  "title": "Image",
932
938
  "description": "Place an ordinary image inside Avatar; its own alt text supplies the accessible name and the fallback remains available if loading fails.",
933
- "markup": "<ui-avatar name=\"Maya Chen\" fallback=\"MC\">\n <img src=\"/looma/img/avatar-maya.svg\" alt=\"Maya Chen\" />\n</ui-avatar>",
939
+ "markup": "<ui-avatar name=\"Maya Chen\" fallback=\"MC\">\n <img src=\"/_looma/portrait.svg\" alt=\"Maya Chen\" />\n</ui-avatar>",
934
940
  "resizable": false,
935
941
  "bindings": "",
936
942
  "frameworks": {}
@@ -1168,16 +1174,22 @@
1168
1174
  "var(--_badge-color-surface)",
1169
1175
  "light-dark( color-mix(in srgb, color-mix(in oklab, var(--_ui-badge-color) 0%, var(--ui-surface-default)) 88%, transparent), color-mix(in srgb, color-mix(in oklab, var(--_ui-badge-color) 0%, var(--ui-surface-default)) 44%, transparent) )",
1170
1176
  "color-mix(in srgb, var(--_badge-surface) 75%, var(--_badge-text) 25%)",
1177
+ "var(--ui-accent-secondary-strong-surface, var(--ui-accent-secondary-solid))",
1178
+ "var(--ui-accent-tertiary-strong-surface, var(--ui-accent-tertiary-solid))",
1179
+ "var(--ui-accent-secondary-soft-border)",
1180
+ "var(--ui-accent-tertiary-soft-border)",
1181
+ "var(--ui-accent-secondary-solid)",
1182
+ "var(--ui-accent-tertiary-solid)",
1171
1183
  "var(--ui-accent-strong-surface, var(--ui-accent-solid))",
1172
1184
  "var(--ui-danger-strong-surface, var(--ui-danger-solid))",
1173
1185
  "var(--ui-success-strong-surface, var(--ui-success-solid))",
1174
1186
  "var(--ui-warning-strong-surface, var(--ui-warning-solid))",
1175
1187
  "var(--ui-info-strong-surface, var(--ui-info-solid))",
1176
- "color-mix(in srgb, var(--ui-accent-solid) 25%, var(--ui-surface-default))",
1177
- "color-mix(in srgb, var(--ui-danger-solid) 25%, var(--ui-surface-default))",
1178
- "color-mix(in srgb, var(--ui-success-solid) 25%, var(--ui-surface-default))",
1179
- "color-mix(in srgb, var(--ui-warning-solid) 25%, var(--ui-surface-default))",
1180
- "color-mix(in srgb, var(--ui-info-solid) 25%, var(--ui-surface-default))",
1188
+ "var(--ui-accent-soft-border)",
1189
+ "var(--ui-danger-soft-border)",
1190
+ "var(--ui-success-soft-border)",
1191
+ "var(--ui-warning-soft-border)",
1192
+ "var(--ui-info-soft-border)",
1181
1193
  "var(--ui-border-strong)",
1182
1194
  "var(--ui-accent-solid)",
1183
1195
  "var(--ui-danger-solid)",
@@ -1189,8 +1201,12 @@
1189
1201
  "var(--ui-badge-surface, var(--_badge-color-surface, var(--_badge-count-surface)))",
1190
1202
  "var(--ui-badge-surface, color-mix(in srgb, currentColor 6%, transparent))",
1191
1203
  "var(--ui-badge-surface, var(--_badge-color-surface, color-mix(in srgb, var(--ui-surface-raised) 88%, transparent)))",
1192
- "var(--ui-badge-surface, var(--_badge-color-surface, light-dark( color-mix(in srgb, var(--ui-surface-raised) var(--ui-badge-circle-opacity, 66%), transparent), color-mix(in srgb, var(--ui-surface-raised) var(--ui-badge-circle-opacity, 56%), transparent) )))",
1204
+ "var( --ui-badge-surface, var( --_badge-color-surface, light-dark( color-mix(in srgb, var(--ui-surface-raised) var(--ui-badge-circle-opacity, 66%), transparent), color-mix(in srgb, var(--ui-surface-raised) var(--ui-badge-circle-opacity, 56%), transparent) ) ) )",
1193
1205
  "var(--ui-text-secondary)",
1206
+ "var(--ui-accent-secondary-on-strong, var(--ui-text-on-accent))",
1207
+ "var(--ui-accent-tertiary-on-strong, var(--ui-text-on-accent))",
1208
+ "var(--ui-accent-secondary-subtle-text, var(--ui-accent-secondary-solid))",
1209
+ "var(--ui-accent-tertiary-subtle-text, var(--ui-accent-tertiary-solid))",
1194
1210
  "var(--ui-accent-on-strong, var(--ui-text-on-accent))",
1195
1211
  "var(--ui-danger-on-strong, var(--ui-text-on-accent))",
1196
1212
  "var(--ui-success-on-strong, var(--ui-text-on-accent))",
@@ -1216,23 +1232,27 @@
1216
1232
  "light-dark( color-mix(in srgb, color-mix(in oklab, var(--_ui-badge-color) 0%, var(--ui-surface-default)) var(--ui-badge-circle-opacity, 66%), transparent), color-mix(in srgb, color-mix(in oklab, var(--_ui-badge-color) 0%, var(--ui-surface-default)) var(--ui-badge-circle-opacity, 56%), transparent) )",
1217
1233
  "initial",
1218
1234
  "color-mix(in srgb, var(--ui-surface-subtle) 80%, var(--ui-surface-default))",
1235
+ "var(--ui-accent-secondary-strong-surface, var(--ui-accent-secondary-solid))",
1236
+ "var(--ui-accent-tertiary-strong-surface, var(--ui-accent-tertiary-solid))",
1237
+ "var(--ui-accent-secondary-soft)",
1238
+ "var(--ui-accent-tertiary-soft)",
1219
1239
  "var(--ui-accent-strong-surface, var(--ui-accent-solid))",
1220
1240
  "var(--ui-danger-strong-surface, var(--ui-danger-solid))",
1221
1241
  "var(--ui-success-strong-surface, var(--ui-success-solid))",
1222
1242
  "var(--ui-warning-strong-surface, var(--ui-warning-solid))",
1223
1243
  "var(--ui-info-strong-surface, var(--ui-info-solid))",
1224
- "color-mix(in srgb, var(--ui-accent-solid) 19%, var(--ui-surface-default))",
1225
- "color-mix(in srgb, var(--ui-danger-solid) 19%, var(--ui-surface-default))",
1226
- "color-mix(in srgb, var(--ui-success-solid) 19%, var(--ui-surface-default))",
1227
- "color-mix(in srgb, var(--ui-warning-solid) 19%, var(--ui-surface-default))",
1228
- "color-mix(in srgb, var(--ui-info-solid) 19%, var(--ui-surface-default))",
1244
+ "var(--ui-accent-soft)",
1245
+ "var(--ui-danger-soft)",
1246
+ "var(--ui-success-soft)",
1247
+ "var(--ui-warning-soft)",
1248
+ "var(--ui-info-soft)",
1229
1249
  "var(--ui-surface-default)",
1230
1250
  "light-dark( color-mix(in srgb, var(--_badge-text) var(--ui-badge-circle-opacity, 66%), transparent), color-mix(in srgb, var(--_badge-text) var(--ui-badge-circle-opacity, 56%), transparent) )"
1231
1251
  ],
1232
1252
  "fallbacks": [
1233
1253
  "color-mix(in srgb, var(--_badge-text) 88%, transparent)",
1234
1254
  "color-mix(in srgb, var(--ui-surface-raised) 88%, transparent)",
1235
- "light-dark(\n color-mix(in srgb, var(--ui-surface-raised) var(--ui-badge-circle-opacity, 66%), transparent),\n color-mix(in srgb, var(--ui-surface-raised) var(--ui-badge-circle-opacity, 56%), transparent)\n )"
1255
+ "light-dark(\n color-mix(in srgb, var(--ui-surface-raised) var(--ui-badge-circle-opacity, 66%), transparent),\n color-mix(in srgb, var(--ui-surface-raised) var(--ui-badge-circle-opacity, 56%), transparent)\n )"
1236
1256
  ]
1237
1257
  },
1238
1258
  {
@@ -1243,6 +1263,10 @@
1243
1263
  "color-mix(in srgb, var(--_badge-color-ink) 85%, var(--ui-text-primary))",
1244
1264
  "light-dark( color-mix(in srgb, var(--_badge-color-ink) 65%, var(--ui-text-primary)), color-mix(in oklab, var(--_ui-badge-color) 0%, var(--ui-text-primary)) )",
1245
1265
  "var(--ui-text-secondary)",
1266
+ "var(--ui-accent-secondary-on-strong, var(--ui-text-on-accent))",
1267
+ "var(--ui-accent-tertiary-on-strong, var(--ui-text-on-accent))",
1268
+ "var(--ui-accent-secondary-subtle-text, var(--ui-accent-secondary-solid))",
1269
+ "var(--ui-accent-tertiary-subtle-text, var(--ui-accent-tertiary-solid))",
1246
1270
  "var(--ui-accent-on-strong, var(--ui-text-on-accent))",
1247
1271
  "var(--ui-danger-on-strong, var(--ui-text-on-accent))",
1248
1272
  "var(--ui-success-on-strong, var(--ui-text-on-accent))",
@@ -1359,7 +1383,7 @@
1359
1383
  "var(--_badge-color-surface, var(--_badge-count-surface))",
1360
1384
  "color-mix(in srgb, currentColor 6%, transparent)",
1361
1385
  "var(--_badge-color-surface, color-mix(in srgb, var(--ui-surface-raised) 88%, transparent))",
1362
- "var(--_badge-color-surface, light-dark(\n color-mix(in srgb, var(--ui-surface-raised) var(--ui-badge-circle-opacity, 66%), transparent),\n color-mix(in srgb, var(--ui-surface-raised) var(--ui-badge-circle-opacity, 56%), transparent)\n ))"
1386
+ "var(\n --_badge-color-surface,\n light-dark(\n color-mix(in srgb, var(--ui-surface-raised) var(--ui-badge-circle-opacity, 66%), transparent),\n color-mix(in srgb, var(--ui-surface-raised) var(--ui-badge-circle-opacity, 56%), transparent)\n )\n )"
1363
1387
  ]
1364
1388
  },
1365
1389
  {
@@ -1380,6 +1404,39 @@
1380
1404
  "var(--ui-text-on-accent)"
1381
1405
  ]
1382
1406
  },
1407
+ {
1408
+ "name": "--ui-accent-secondary-on-strong",
1409
+ "fallbacks": [
1410
+ "var(--ui-text-on-accent)"
1411
+ ]
1412
+ },
1413
+ {
1414
+ "name": "--ui-accent-secondary-soft"
1415
+ },
1416
+ {
1417
+ "name": "--ui-accent-secondary-soft-border"
1418
+ },
1419
+ {
1420
+ "name": "--ui-accent-secondary-solid"
1421
+ },
1422
+ {
1423
+ "name": "--ui-accent-secondary-strong-surface",
1424
+ "fallbacks": [
1425
+ "var(--ui-accent-secondary-solid)"
1426
+ ]
1427
+ },
1428
+ {
1429
+ "name": "--ui-accent-secondary-subtle-text",
1430
+ "fallbacks": [
1431
+ "var(--ui-accent-secondary-solid)"
1432
+ ]
1433
+ },
1434
+ {
1435
+ "name": "--ui-accent-soft"
1436
+ },
1437
+ {
1438
+ "name": "--ui-accent-soft-border"
1439
+ },
1383
1440
  {
1384
1441
  "name": "--ui-accent-solid"
1385
1442
  },
@@ -1395,6 +1452,33 @@
1395
1452
  "var(--ui-accent-solid)"
1396
1453
  ]
1397
1454
  },
1455
+ {
1456
+ "name": "--ui-accent-tertiary-on-strong",
1457
+ "fallbacks": [
1458
+ "var(--ui-text-on-accent)"
1459
+ ]
1460
+ },
1461
+ {
1462
+ "name": "--ui-accent-tertiary-soft"
1463
+ },
1464
+ {
1465
+ "name": "--ui-accent-tertiary-soft-border"
1466
+ },
1467
+ {
1468
+ "name": "--ui-accent-tertiary-solid"
1469
+ },
1470
+ {
1471
+ "name": "--ui-accent-tertiary-strong-surface",
1472
+ "fallbacks": [
1473
+ "var(--ui-accent-tertiary-solid)"
1474
+ ]
1475
+ },
1476
+ {
1477
+ "name": "--ui-accent-tertiary-subtle-text",
1478
+ "fallbacks": [
1479
+ "var(--ui-accent-tertiary-solid)"
1480
+ ]
1481
+ },
1398
1482
  {
1399
1483
  "name": "--ui-border-strong"
1400
1484
  },
@@ -1407,6 +1491,12 @@
1407
1491
  "var(--ui-text-on-accent)"
1408
1492
  ]
1409
1493
  },
1494
+ {
1495
+ "name": "--ui-danger-soft"
1496
+ },
1497
+ {
1498
+ "name": "--ui-danger-soft-border"
1499
+ },
1410
1500
  {
1411
1501
  "name": "--ui-danger-solid"
1412
1502
  },
@@ -1440,6 +1530,12 @@
1440
1530
  "var(--ui-text-on-accent)"
1441
1531
  ]
1442
1532
  },
1533
+ {
1534
+ "name": "--ui-info-soft"
1535
+ },
1536
+ {
1537
+ "name": "--ui-info-soft-border"
1538
+ },
1443
1539
  {
1444
1540
  "name": "--ui-info-solid"
1445
1541
  },
@@ -1485,6 +1581,12 @@
1485
1581
  "var(--ui-text-on-accent)"
1486
1582
  ]
1487
1583
  },
1584
+ {
1585
+ "name": "--ui-success-soft"
1586
+ },
1587
+ {
1588
+ "name": "--ui-success-soft-border"
1589
+ },
1488
1590
  {
1489
1591
  "name": "--ui-success-solid"
1490
1592
  },
@@ -1524,6 +1626,12 @@
1524
1626
  "var(--ui-text-on-accent)"
1525
1627
  ]
1526
1628
  },
1629
+ {
1630
+ "name": "--ui-warning-soft"
1631
+ },
1632
+ {
1633
+ "name": "--ui-warning-soft-border"
1634
+ },
1527
1635
  {
1528
1636
  "name": "--ui-warning-solid"
1529
1637
  },
@@ -1572,12 +1680,14 @@
1572
1680
  {
1573
1681
  "name": "tone",
1574
1682
  "property": "tone",
1575
- "description": "Which colour the badge speaks in. neutral is a quiet grey for plain labels; accent draws the eye in the accent colour; info, success, warning, and danger mark a status, so match the tone to what the badge says. For a category rather than a status, set the --ui-badge-color hook on the badge instead: any CSS colour, which overrides the tone.",
1683
+ "description": "Which colour the badge speaks in. neutral is a quiet grey for plain labels; accent draws the eye in the accent colour; info, success, warning, and danger mark a status, so match the tone to what the badge says. For a category rather than a status, set the --ui-badge-color hook on the badge instead: any CSS colour, which overrides the tone. Supporting brand families use accent-secondary and accent-tertiary; their usable colors derive from the theme, and unset families follow the primary accent.",
1576
1684
  "type": "keyword",
1577
1685
  "default": "neutral",
1578
1686
  "options": [
1579
1687
  "neutral",
1580
1688
  "accent",
1689
+ "accent-secondary",
1690
+ "accent-tertiary",
1581
1691
  "info",
1582
1692
  "success",
1583
1693
  "warning",
@@ -1627,12 +1737,14 @@
1627
1737
  },
1628
1738
  {
1629
1739
  "name": "tone",
1630
- "description": "Which colour the badge speaks in. neutral is a quiet grey for plain labels; accent draws the eye in the accent colour; info, success, warning, and danger mark a status, so match the tone to what the badge says. For a category rather than a status, set the --ui-badge-color hook on the badge instead: any CSS colour, which overrides the tone.",
1631
- "type": "\"neutral\" | \"accent\" | \"info\" | \"success\" | \"warning\" | \"danger\"",
1740
+ "description": "Which colour the badge speaks in. neutral is a quiet grey for plain labels; accent draws the eye in the accent colour; info, success, warning, and danger mark a status, so match the tone to what the badge says. For a category rather than a status, set the --ui-badge-color hook on the badge instead: any CSS colour, which overrides the tone. Supporting brand families use accent-secondary and accent-tertiary; their usable colors derive from the theme, and unset families follow the primary accent.",
1741
+ "type": "\"neutral\" | \"accent\" | \"accent-secondary\" | \"accent-tertiary\" | \"info\" | \"success\" | \"warning\" | \"danger\"",
1632
1742
  "default": "neutral",
1633
1743
  "options": [
1634
1744
  "neutral",
1635
1745
  "accent",
1746
+ "accent-secondary",
1747
+ "accent-tertiary",
1636
1748
  "info",
1637
1749
  "success",
1638
1750
  "warning",
@@ -1688,7 +1800,7 @@
1688
1800
  "name": "02-variant-solid-and-tone",
1689
1801
  "title": "variant=\"solid\" and tone",
1690
1802
  "description": "Solid badges use the strongest filled treatment for each semantic tone.",
1691
- "markup": "<ui-cluster gap=\"xs\">\n <ui-badge variant=\"solid\" tone=\"accent\">Accent</ui-badge>\n <ui-badge variant=\"solid\" tone=\"info\">Info</ui-badge>\n <ui-badge variant=\"solid\" tone=\"success\">Success</ui-badge>\n <ui-badge variant=\"solid\" tone=\"warning\">Warning</ui-badge>\n <ui-badge variant=\"solid\" tone=\"danger\">Danger</ui-badge>\n</ui-cluster>",
1803
+ "markup": "<ui-cluster gap=\"xs\">\n <ui-badge variant=\"solid\" tone=\"accent\">Accent</ui-badge>\n <ui-badge variant=\"solid\" tone=\"info\">Info</ui-badge>\n <ui-badge variant=\"solid\" tone=\"success\">Success</ui-badge>\n <ui-badge variant=\"solid\" tone=\"warning\">Warning</ui-badge>\n <ui-badge variant=\"solid\" tone=\"danger\">Danger</ui-badge>\n <ui-badge variant=\"solid\" tone=\"accent-secondary\">Category</ui-badge>\n <ui-badge variant=\"solid\" tone=\"accent-tertiary\">Collection</ui-badge>\n</ui-cluster>",
1692
1804
  "resizable": false,
1693
1805
  "bindings": "",
1694
1806
  "frameworks": {}
@@ -1698,7 +1810,7 @@
1698
1810
  "name": "03-variant-subtle-and-tone",
1699
1811
  "title": "variant=\"subtle\" and tone",
1700
1812
  "description": "Subtle badges retain the same semantic tones on quiet tinted surfaces.",
1701
- "markup": "<ui-cluster gap=\"xs\">\n <ui-badge variant=\"subtle\" tone=\"accent\">Accent</ui-badge>\n <ui-badge variant=\"subtle\" tone=\"info\">Info</ui-badge>\n <ui-badge variant=\"subtle\" tone=\"success\">Success</ui-badge>\n <ui-badge variant=\"subtle\" tone=\"warning\">Warning</ui-badge>\n <ui-badge variant=\"subtle\" tone=\"danger\">Danger</ui-badge>\n</ui-cluster>",
1813
+ "markup": "<ui-cluster gap=\"xs\">\n <ui-badge variant=\"subtle\" tone=\"accent\">Accent</ui-badge>\n <ui-badge variant=\"subtle\" tone=\"info\">Info</ui-badge>\n <ui-badge variant=\"subtle\" tone=\"success\">Success</ui-badge>\n <ui-badge variant=\"subtle\" tone=\"warning\">Warning</ui-badge>\n <ui-badge variant=\"subtle\" tone=\"danger\">Danger</ui-badge>\n <ui-badge tone=\"accent-secondary\">Category</ui-badge>\n <ui-badge tone=\"accent-tertiary\">Collection</ui-badge>\n</ui-cluster>",
1702
1814
  "resizable": false,
1703
1815
  "bindings": "",
1704
1816
  "frameworks": {}
@@ -1973,7 +2085,9 @@
1973
2085
  "declarations": [
1974
2086
  "var(--_hue-text)",
1975
2087
  "var(--ui-accent-border, var(--ui-accent))",
1976
- "var(--ui-neutral-border, var(--ui-neutral-surface))",
2088
+ "var(--ui-accent-secondary-border, var(--ui-accent-secondary))",
2089
+ "var(--ui-accent-tertiary-border, var(--ui-accent-tertiary))",
2090
+ "var(--ui-control-border, var(--ui-neutral-surface))",
1977
2091
  "var(--ui-danger-border, var(--ui-danger))",
1978
2092
  "var(--ui-success-border, var(--ui-success))",
1979
2093
  "var(--ui-warning-border, var(--ui-warning))",
@@ -2020,7 +2134,9 @@
2020
2134
  "declarations": [
2021
2135
  "var(--_hue-text)",
2022
2136
  "var(--ui-accent-hover-border, var(--ui-accent-hover))",
2023
- "var(--ui-neutral-hover-border, var(--ui-neutral-hover))",
2137
+ "var(--ui-accent-secondary-hover-border, var(--ui-accent-secondary-hover))",
2138
+ "var(--ui-accent-tertiary-hover-border, var(--ui-accent-tertiary-hover))",
2139
+ "var(--ui-control-border-hover, var(--ui-neutral-hover))",
2024
2140
  "var(--ui-danger-hover-border, var(--ui-danger-hover))",
2025
2141
  "var(--ui-success-hover-border, var(--ui-success-hover))",
2026
2142
  "var(--ui-warning-hover-border, var(--ui-warning-hover))",
@@ -2028,7 +2144,7 @@
2028
2144
  ],
2029
2145
  "fallbacks": [
2030
2146
  "var(--ui-border-strong)",
2031
- "var(--ui-control-border-hover, var(--ui-control-border))",
2147
+ "var(--ui-control-border-hover)",
2032
2148
  "var(--ui-control-border-hover, var(--ui-text-secondary))"
2033
2149
  ]
2034
2150
  },
@@ -2073,13 +2189,15 @@
2073
2189
  "var(--ui-pressed)"
2074
2190
  ],
2075
2191
  "fallbacks": [
2076
- "var(--ui-action-shadow, var(--_ui-action-shadow))"
2192
+ "var(--ui-action-shadow, var(--_ui-action-shadow))",
2193
+ "var(--ui-neutral-shadow)"
2077
2194
  ]
2078
2195
  },
2079
2196
  {
2080
2197
  "name": "--ui-button-solid-shadow",
2081
2198
  "fallbacks": [
2082
- "var(--ui-action-shadow, var(--_ui-action-shadow))"
2199
+ "var(--ui-action-shadow, var(--_ui-action-shadow))",
2200
+ "var(--ui-button-shadow, var(--ui-neutral-shadow))"
2083
2201
  ]
2084
2202
  },
2085
2203
  {
@@ -2148,12 +2266,102 @@
2148
2266
  "var(--ui-accent-hover)"
2149
2267
  ]
2150
2268
  },
2269
+ {
2270
+ "name": "--ui-accent-secondary"
2271
+ },
2272
+ {
2273
+ "name": "--ui-accent-secondary-active"
2274
+ },
2275
+ {
2276
+ "name": "--ui-accent-secondary-active-border",
2277
+ "fallbacks": [
2278
+ "var(--ui-accent-secondary-active)"
2279
+ ]
2280
+ },
2281
+ {
2282
+ "name": "--ui-accent-secondary-border",
2283
+ "fallbacks": [
2284
+ "var(--ui-accent-secondary)"
2285
+ ]
2286
+ },
2287
+ {
2288
+ "name": "--ui-accent-secondary-glow",
2289
+ "fallbacks": [
2290
+ "0 0 transparent"
2291
+ ]
2292
+ },
2293
+ {
2294
+ "name": "--ui-accent-secondary-highlight",
2295
+ "fallbacks": [
2296
+ "none"
2297
+ ]
2298
+ },
2299
+ {
2300
+ "name": "--ui-accent-secondary-hover"
2301
+ },
2302
+ {
2303
+ "name": "--ui-accent-secondary-hover-border",
2304
+ "fallbacks": [
2305
+ "var(--ui-accent-secondary-hover)"
2306
+ ]
2307
+ },
2308
+ {
2309
+ "name": "--ui-accent-secondary-on-strong"
2310
+ },
2311
+ {
2312
+ "name": "--ui-accent-secondary-subtle-text"
2313
+ },
2151
2314
  {
2152
2315
  "name": "--ui-accent-solid"
2153
2316
  },
2154
2317
  {
2155
2318
  "name": "--ui-accent-subtle-text"
2156
2319
  },
2320
+ {
2321
+ "name": "--ui-accent-tertiary"
2322
+ },
2323
+ {
2324
+ "name": "--ui-accent-tertiary-active"
2325
+ },
2326
+ {
2327
+ "name": "--ui-accent-tertiary-active-border",
2328
+ "fallbacks": [
2329
+ "var(--ui-accent-tertiary-active)"
2330
+ ]
2331
+ },
2332
+ {
2333
+ "name": "--ui-accent-tertiary-border",
2334
+ "fallbacks": [
2335
+ "var(--ui-accent-tertiary)"
2336
+ ]
2337
+ },
2338
+ {
2339
+ "name": "--ui-accent-tertiary-glow",
2340
+ "fallbacks": [
2341
+ "0 0 transparent"
2342
+ ]
2343
+ },
2344
+ {
2345
+ "name": "--ui-accent-tertiary-highlight",
2346
+ "fallbacks": [
2347
+ "none"
2348
+ ]
2349
+ },
2350
+ {
2351
+ "name": "--ui-accent-tertiary-hover"
2352
+ },
2353
+ {
2354
+ "name": "--ui-accent-tertiary-hover-border",
2355
+ "fallbacks": [
2356
+ "var(--ui-accent-tertiary-hover)"
2357
+ ]
2358
+ },
2359
+ {
2360
+ "name": "--ui-accent-tertiary-on-strong"
2361
+ },
2362
+ {
2363
+ "name": "--ui-accent-tertiary-subtle-text"
2364
+ },
2157
2365
  {
2158
2366
  "name": "--ui-action-edge",
2159
2367
  "fallbacks": [
@@ -2196,13 +2404,15 @@
2196
2404
  {
2197
2405
  "name": "--ui-control-border",
2198
2406
  "fallbacks": [
2407
+ "var(--ui-neutral-surface)",
2199
2408
  "var(--ui-border-strong)"
2200
2409
  ]
2201
2410
  },
2202
2411
  {
2203
2412
  "name": "--ui-control-border-hover",
2204
2413
  "fallbacks": [
2205
- "var(--ui-control-border)",
2414
+ "var(--ui-neutral-hover)",
2415
+ "var(--ui-neutral-active)",
2206
2416
  "var(--ui-text-secondary)"
2207
2417
  ]
2208
2418
  },
@@ -2404,18 +2614,6 @@
2404
2614
  {
2405
2615
  "name": "--ui-neutral-active"
2406
2616
  },
2407
- {
2408
- "name": "--ui-neutral-active-border",
2409
- "fallbacks": [
2410
- "var(--ui-neutral-active)"
2411
- ]
2412
- },
2413
- {
2414
- "name": "--ui-neutral-border",
2415
- "fallbacks": [
2416
- "var(--ui-neutral-surface)"
2417
- ]
2418
- },
2419
2617
  {
2420
2618
  "name": "--ui-neutral-glow",
2421
2619
  "fallbacks": [
@@ -2432,10 +2630,7 @@
2432
2630
  "name": "--ui-neutral-hover"
2433
2631
  },
2434
2632
  {
2435
- "name": "--ui-neutral-hover-border",
2436
- "fallbacks": [
2437
- "var(--ui-neutral-hover)"
2438
- ]
2633
+ "name": "--ui-neutral-shadow"
2439
2634
  },
2440
2635
  {
2441
2636
  "name": "--ui-neutral-surface"
@@ -2716,11 +2911,13 @@
2716
2911
  {
2717
2912
  "name": "tone",
2718
2913
  "property": "tone",
2719
- "description": "Which colour the button speaks in. It applies to every variant, so an outline, a ghost, and a solid in the same tone are the same action at three volumes: tone=\"danger\" variant=\"outline\" is a destructive secondary action. neutral is the quiet one, for a button that should not claim a colour. The field variant always uses neutral field colors.",
2914
+ "description": "Which colour the button speaks in. It applies to every variant, so an outline, a ghost, and a solid in the same tone are the same action at three volumes: tone=\"danger\" variant=\"outline\" is a destructive secondary action. neutral is the quiet one, for a button that should not claim a colour. The field variant always uses neutral field colors. Supporting brand families use accent-secondary and accent-tertiary; their usable colors derive from the theme, and unset families follow the primary accent.",
2720
2915
  "type": "keyword",
2721
2916
  "default": "neutral",
2722
2917
  "options": [
2723
2918
  "accent",
2919
+ "accent-secondary",
2920
+ "accent-tertiary",
2724
2921
  "neutral",
2725
2922
  "danger",
2726
2923
  "success",
@@ -2850,11 +3047,13 @@
2850
3047
  },
2851
3048
  {
2852
3049
  "name": "tone",
2853
- "description": "Which colour the button speaks in. It applies to every variant, so an outline, a ghost, and a solid in the same tone are the same action at three volumes: tone=\"danger\" variant=\"outline\" is a destructive secondary action. neutral is the quiet one, for a button that should not claim a colour. The field variant always uses neutral field colors.",
2854
- "type": "\"accent\" | \"neutral\" | \"danger\" | \"success\" | \"warning\" | \"info\"",
3050
+ "description": "Which colour the button speaks in. It applies to every variant, so an outline, a ghost, and a solid in the same tone are the same action at three volumes: tone=\"danger\" variant=\"outline\" is a destructive secondary action. neutral is the quiet one, for a button that should not claim a colour. The field variant always uses neutral field colors. Supporting brand families use accent-secondary and accent-tertiary; their usable colors derive from the theme, and unset families follow the primary accent.",
3051
+ "type": "\"accent\" | \"accent-secondary\" | \"accent-tertiary\" | \"neutral\" | \"danger\" | \"success\" | \"warning\" | \"info\"",
2855
3052
  "default": "neutral",
2856
3053
  "options": [
2857
3054
  "accent",
3055
+ "accent-secondary",
3056
+ "accent-tertiary",
2858
3057
  "neutral",
2859
3058
  "danger",
2860
3059
  "success",
@@ -2992,7 +3191,7 @@
2992
3191
  "name": "08-loading",
2993
3192
  "title": "Loading action",
2994
3193
  "description": "Press Save changes to see the loading state. Its spinner appears beside the label, and the action stays focusable while another press is blocked.",
2995
- "markup": "<ui-button id=\"docs-save-changes\" variant=\"solid\">Save changes</ui-button>",
3194
+ "markup": "<ui-button id=\"docs-save-changes\" data-example-id=\"docs-save-changes\" variant=\"solid\">Save changes</ui-button>",
2996
3195
  "resizable": false,
2997
3196
  "bindings": "",
2998
3197
  "frameworks": {
@@ -3051,8 +3250,8 @@
3051
3250
  "id": "@threadlabs/looma/ui-button/12-tones",
3052
3251
  "name": "12-tones",
3053
3252
  "title": "Appearance and tone",
3054
- "description": "Appearance controls emphasis; tone expresses intent. The same six tones work as solid, outline and quiet actions, including solid neutral. Icon actions use the same palette.",
3055
- "markup": "<ui-stack>\n <ui-cluster>\n <ui-button variant=\"solid\" tone=\"accent\">Send memo</ui-button>\n <ui-button variant=\"solid\" tone=\"neutral\">File notes</ui-button>\n <ui-button variant=\"solid\" tone=\"danger\">Delete draft</ui-button>\n <ui-button variant=\"solid\" tone=\"success\">Approve leave</ui-button>\n <ui-button variant=\"solid\" tone=\"warning\">Review route</ui-button>\n <ui-button variant=\"solid\" tone=\"info\">See briefing</ui-button>\n </ui-cluster>\n <ui-cluster>\n <ui-button variant=\"outline\" tone=\"accent\">Send memo</ui-button>\n <ui-button variant=\"outline\" tone=\"neutral\">File notes</ui-button>\n <ui-button variant=\"outline\" tone=\"danger\">Delete draft</ui-button>\n <ui-button variant=\"outline\" tone=\"success\">Approve leave</ui-button>\n <ui-button variant=\"outline\" tone=\"warning\">Review route</ui-button>\n <ui-button variant=\"outline\" tone=\"info\">See briefing</ui-button>\n </ui-cluster>\n <ui-cluster>\n <ui-button variant=\"ghost\" tone=\"accent\">Send memo</ui-button>\n <ui-button variant=\"ghost\" tone=\"neutral\">File notes</ui-button>\n <ui-button variant=\"ghost\" tone=\"danger\">Delete draft</ui-button>\n <ui-button variant=\"ghost\" tone=\"success\">Approve leave</ui-button>\n <ui-button variant=\"ghost\" tone=\"warning\">Review route</ui-button>\n <ui-button variant=\"ghost\" tone=\"info\">See briefing</ui-button>\n </ui-cluster>\n <ui-cluster>\n <ui-icon-button preset=\"primary\" match-button label=\"Send memo\"><ui-icon name=\"check\"></ui-icon></ui-icon-button>\n <ui-icon-button preset=\"standard\" match-button label=\"File notes\"><ui-icon name=\"check\"></ui-icon></ui-icon-button>\n <ui-icon-button preset=\"destructive\" match-button label=\"Delete draft\"><ui-icon name=\"check\"></ui-icon></ui-icon-button>\n <ui-icon-button variant=\"solid\" tone=\"success\" match-button label=\"Approve leave\"><ui-icon name=\"check\"></ui-icon></ui-icon-button>\n <ui-icon-button variant=\"solid\" tone=\"warning\" match-button label=\"Review route\"><ui-icon name=\"check\"></ui-icon></ui-icon-button>\n <ui-icon-button variant=\"solid\" tone=\"info\" match-button label=\"See briefing\"><ui-icon name=\"check\"></ui-icon></ui-icon-button>\n </ui-cluster>\n</ui-stack>",
3253
+ "description": "Appearance controls emphasis; tone expresses intent. Semantic and optional supporting brand tones work as solid, outline and quiet actions, including solid neutral. Icon actions use the same palette.",
3254
+ "markup": "<ui-stack>\n <ui-cluster>\n <ui-button variant=\"solid\" tone=\"accent\">Send memo</ui-button>\n <ui-button variant=\"solid\" tone=\"neutral\">File notes</ui-button>\n <ui-button variant=\"solid\" tone=\"danger\">Delete draft</ui-button>\n <ui-button variant=\"solid\" tone=\"success\">Approve leave</ui-button>\n <ui-button variant=\"solid\" tone=\"warning\">Review route</ui-button>\n <ui-button variant=\"solid\" tone=\"info\">See briefing</ui-button>\n </ui-cluster>\n <ui-cluster>\n <ui-button variant=\"outline\" tone=\"accent\">Send memo</ui-button>\n <ui-button variant=\"outline\" tone=\"neutral\">File notes</ui-button>\n <ui-button variant=\"outline\" tone=\"danger\">Delete draft</ui-button>\n <ui-button variant=\"outline\" tone=\"success\">Approve leave</ui-button>\n <ui-button variant=\"outline\" tone=\"warning\">Review route</ui-button>\n <ui-button variant=\"outline\" tone=\"info\">See briefing</ui-button>\n </ui-cluster>\n <ui-cluster>\n <ui-button variant=\"ghost\" tone=\"accent\">Send memo</ui-button>\n <ui-button variant=\"ghost\" tone=\"neutral\">File notes</ui-button>\n <ui-button variant=\"ghost\" tone=\"danger\">Delete draft</ui-button>\n <ui-button variant=\"ghost\" tone=\"success\">Approve leave</ui-button>\n <ui-button variant=\"ghost\" tone=\"warning\">Review route</ui-button>\n <ui-button variant=\"ghost\" tone=\"info\">See briefing</ui-button>\n </ui-cluster>\n <ui-cluster>\n <ui-icon-button preset=\"primary\" match-button label=\"Send memo\"><ui-icon name=\"check\"></ui-icon></ui-icon-button>\n <ui-icon-button preset=\"standard\" match-button label=\"File notes\"><ui-icon name=\"check\"></ui-icon></ui-icon-button>\n <ui-icon-button preset=\"destructive\" match-button label=\"Delete draft\"><ui-icon name=\"check\"></ui-icon></ui-icon-button>\n <ui-icon-button variant=\"solid\" tone=\"success\" match-button label=\"Approve leave\"><ui-icon name=\"check\"></ui-icon></ui-icon-button>\n <ui-icon-button variant=\"solid\" tone=\"warning\" match-button label=\"Review route\"><ui-icon name=\"check\"></ui-icon></ui-icon-button>\n <ui-icon-button variant=\"solid\" tone=\"info\" match-button label=\"See briefing\"><ui-icon name=\"check\"></ui-icon></ui-icon-button>\n </ui-cluster>\n <ui-cluster><ui-button variant=\"outline\" tone=\"accent-secondary\">Explore category</ui-button><ui-button variant=\"ghost\" tone=\"accent-tertiary\"\n >Related collection</ui-button></ui-cluster>\n</ui-stack>",
3056
3255
  "resizable": false,
3057
3256
  "bindings": "",
3058
3257
  "frameworks": {}
@@ -3072,12 +3271,12 @@
3072
3271
  {
3073
3272
  "name": "--ui-callout-border",
3074
3273
  "declarations": [
3075
- "var(--ui-info-solid)",
3274
+ "var(--ui-info-soft-border)",
3076
3275
  "var(--ui-border-strong)",
3077
- "var(--ui-success-solid)",
3078
- "var(--ui-accent-solid)",
3079
- "var(--ui-warning-solid)",
3080
- "var(--ui-danger-solid)"
3276
+ "var(--ui-success-soft-border)",
3277
+ "var(--ui-accent-soft-border)",
3278
+ "var(--ui-warning-soft-border)",
3279
+ "var(--ui-danger-soft-border)"
3081
3280
  ]
3082
3281
  },
3083
3282
  {
@@ -3095,12 +3294,12 @@
3095
3294
  {
3096
3295
  "name": "--ui-callout-icon",
3097
3296
  "declarations": [
3098
- "var(--ui-info-solid)",
3297
+ "var(--ui-info-subtle-text)",
3099
3298
  "var(--ui-text-secondary)",
3100
- "var(--ui-success-solid)",
3101
- "var(--ui-accent-solid)",
3102
- "var(--ui-warning-solid)",
3103
- "var(--ui-danger-solid)"
3299
+ "var(--ui-success-subtle-text)",
3300
+ "var(--ui-accent-subtle-text)",
3301
+ "var(--ui-warning-subtle-text)",
3302
+ "var(--ui-danger-subtle-text)"
3104
3303
  ]
3105
3304
  },
3106
3305
  {
@@ -3137,20 +3336,33 @@
3137
3336
  {
3138
3337
  "name": "--ui-callout-surface",
3139
3338
  "declarations": [
3140
- "light-dark( oklch(from var(--_callout-border) 96% min(c, calc(0.02 + 0.03 * max(0, cos(calc((h - 140) * 1deg))))) h), oklch(from var(--_callout-border) 25% min(c, 0.035) h) )",
3141
- "var(--ui-surface-muted)"
3339
+ "var(--ui-info-soft)",
3340
+ "var(--ui-surface-muted)",
3341
+ "var(--ui-success-soft)",
3342
+ "var(--ui-accent-soft)",
3343
+ "var(--ui-warning-soft)",
3344
+ "var(--ui-danger-soft)"
3142
3345
  ]
3143
3346
  },
3144
3347
  {
3145
3348
  "name": "--ui-callout-text",
3146
- "fallbacks": [
3147
- "var(--ui-text-primary)"
3349
+ "declarations": [
3350
+ "var(--ui-info-subtle-text)",
3351
+ "var(--ui-text-primary)",
3352
+ "var(--ui-success-subtle-text)",
3353
+ "var(--ui-accent-subtle-text)",
3354
+ "var(--ui-warning-subtle-text)",
3355
+ "var(--ui-danger-subtle-text)",
3356
+ "var(--ui-callout-text, var(--_callout-tone-text))"
3148
3357
  ]
3149
3358
  }
3150
3359
  ],
3151
3360
  "shared": [
3152
3361
  {
3153
- "name": "--ui-accent-solid"
3362
+ "name": "--ui-accent-soft"
3363
+ },
3364
+ {
3365
+ "name": "--ui-accent-soft-border"
3154
3366
  },
3155
3367
  {
3156
3368
  "name": "--ui-accent-subtle-text"
@@ -3162,7 +3374,13 @@
3162
3374
  "name": "--ui-border-width"
3163
3375
  },
3164
3376
  {
3165
- "name": "--ui-danger-solid"
3377
+ "name": "--ui-danger-soft"
3378
+ },
3379
+ {
3380
+ "name": "--ui-danger-soft-border"
3381
+ },
3382
+ {
3383
+ "name": "--ui-danger-subtle-text"
3166
3384
  },
3167
3385
  {
3168
3386
  "name": "--ui-font-family-sans"
@@ -3177,7 +3395,13 @@
3177
3395
  "name": "--ui-font-size-sm"
3178
3396
  },
3179
3397
  {
3180
- "name": "--ui-info-solid"
3398
+ "name": "--ui-info-soft"
3399
+ },
3400
+ {
3401
+ "name": "--ui-info-soft-border"
3402
+ },
3403
+ {
3404
+ "name": "--ui-info-subtle-text"
3181
3405
  },
3182
3406
  {
3183
3407
  "name": "--ui-line-height-md"
@@ -3192,7 +3416,13 @@
3192
3416
  "name": "--ui-space-3"
3193
3417
  },
3194
3418
  {
3195
- "name": "--ui-success-solid"
3419
+ "name": "--ui-success-soft"
3420
+ },
3421
+ {
3422
+ "name": "--ui-success-soft-border"
3423
+ },
3424
+ {
3425
+ "name": "--ui-success-subtle-text"
3196
3426
  },
3197
3427
  {
3198
3428
  "name": "--ui-surface-muted"
@@ -3204,7 +3434,13 @@
3204
3434
  "name": "--ui-text-secondary"
3205
3435
  },
3206
3436
  {
3207
- "name": "--ui-warning-solid"
3437
+ "name": "--ui-warning-soft"
3438
+ },
3439
+ {
3440
+ "name": "--ui-warning-soft-border"
3441
+ },
3442
+ {
3443
+ "name": "--ui-warning-subtle-text"
3208
3444
  }
3209
3445
  ]
3210
3446
  },
@@ -3320,10 +3556,31 @@
3320
3556
  "component": [],
3321
3557
  "shared": [
3322
3558
  {
3323
- "name": "--ui-accent"
3559
+ "name": "--ui-accent-secondary-soft"
3324
3560
  },
3325
3561
  {
3326
- "name": "--ui-border-default"
3562
+ "name": "--ui-accent-secondary-soft-border"
3563
+ },
3564
+ {
3565
+ "name": "--ui-accent-secondary-subtle-text"
3566
+ },
3567
+ {
3568
+ "name": "--ui-accent-soft"
3569
+ },
3570
+ {
3571
+ "name": "--ui-accent-soft-border"
3572
+ },
3573
+ {
3574
+ "name": "--ui-accent-subtle-text"
3575
+ },
3576
+ {
3577
+ "name": "--ui-accent-tertiary-soft"
3578
+ },
3579
+ {
3580
+ "name": "--ui-accent-tertiary-soft-border"
3581
+ },
3582
+ {
3583
+ "name": "--ui-accent-tertiary-subtle-text"
3327
3584
  },
3328
3585
  {
3329
3586
  "name": "--ui-border-strong"
@@ -3335,10 +3592,13 @@
3335
3592
  "name": "--ui-border-width"
3336
3593
  },
3337
3594
  {
3338
- "name": "--ui-danger"
3595
+ "name": "--ui-danger-soft"
3339
3596
  },
3340
3597
  {
3341
- "name": "--ui-danger-soft"
3598
+ "name": "--ui-danger-soft-border"
3599
+ },
3600
+ {
3601
+ "name": "--ui-danger-subtle-text"
3342
3602
  },
3343
3603
  {
3344
3604
  "name": "--ui-glassiness",
@@ -3347,7 +3607,13 @@
3347
3607
  ]
3348
3608
  },
3349
3609
  {
3350
- "name": "--ui-info"
3610
+ "name": "--ui-info-soft"
3611
+ },
3612
+ {
3613
+ "name": "--ui-info-soft-border"
3614
+ },
3615
+ {
3616
+ "name": "--ui-info-subtle-text"
3351
3617
  },
3352
3618
  {
3353
3619
  "name": "--ui-material-edge",
@@ -3392,10 +3658,13 @@
3392
3658
  "name": "--ui-space-6"
3393
3659
  },
3394
3660
  {
3395
- "name": "--ui-success"
3661
+ "name": "--ui-success-soft"
3396
3662
  },
3397
3663
  {
3398
- "name": "--ui-surface-default"
3664
+ "name": "--ui-success-soft-border"
3665
+ },
3666
+ {
3667
+ "name": "--ui-success-subtle-text"
3399
3668
  },
3400
3669
  {
3401
3670
  "name": "--ui-surface-highlight",
@@ -3419,7 +3688,13 @@
3419
3688
  "name": "--ui-text-primary"
3420
3689
  },
3421
3690
  {
3422
- "name": "--ui-warning"
3691
+ "name": "--ui-warning-soft"
3692
+ },
3693
+ {
3694
+ "name": "--ui-warning-soft-border"
3695
+ },
3696
+ {
3697
+ "name": "--ui-warning-subtle-text"
3423
3698
  }
3424
3699
  ]
3425
3700
  },
@@ -3466,12 +3741,14 @@
3466
3741
  {
3467
3742
  "name": "tone",
3468
3743
  "property": "tone",
3469
- "description": "accent, info, success, warning and danger add a quiet semantic surface without changing card geometry. Row highlights follow the surface hue; action controls retain their own intent.",
3744
+ "description": "accent, info, success, warning and danger add a quiet semantic surface without changing card geometry. Row highlights follow the surface hue; action controls retain their own intent. Supporting brand families use accent-secondary and accent-tertiary; their usable colors derive from the theme, and unset families follow the primary accent.",
3470
3745
  "type": "keyword",
3471
3746
  "default": "neutral",
3472
3747
  "options": [
3473
3748
  "neutral",
3474
3749
  "accent",
3750
+ "accent-secondary",
3751
+ "accent-tertiary",
3475
3752
  "info",
3476
3753
  "success",
3477
3754
  "warning",
@@ -3541,12 +3818,14 @@
3541
3818
  },
3542
3819
  {
3543
3820
  "name": "tone",
3544
- "description": "accent, info, success, warning and danger add a quiet semantic surface without changing card geometry. Row highlights follow the surface hue; action controls retain their own intent.",
3545
- "type": "\"neutral\" | \"accent\" | \"info\" | \"success\" | \"warning\" | \"danger\"",
3821
+ "description": "accent, info, success, warning and danger add a quiet semantic surface without changing card geometry. Row highlights follow the surface hue; action controls retain their own intent. Supporting brand families use accent-secondary and accent-tertiary; their usable colors derive from the theme, and unset families follow the primary accent.",
3822
+ "type": "\"neutral\" | \"accent\" | \"accent-secondary\" | \"accent-tertiary\" | \"info\" | \"success\" | \"warning\" | \"danger\"",
3546
3823
  "default": "neutral",
3547
3824
  "options": [
3548
3825
  "neutral",
3549
3826
  "accent",
3827
+ "accent-secondary",
3828
+ "accent-tertiary",
3550
3829
  "info",
3551
3830
  "success",
3552
3831
  "warning",
@@ -3591,6 +3870,16 @@
3591
3870
  "vue"
3592
3871
  ],
3593
3872
  "examples": [
3873
+ {
3874
+ "id": "@threadlabs/looma/ui-card/00-preview",
3875
+ "name": "00-preview",
3876
+ "title": "Content card",
3877
+ "description": "A single surface with a heading and supporting text.",
3878
+ "markup": "<ui-card padding=\"sm\"><ui-stack gap=\"xs\"><ui-text variant=\"heading\" as=\"h4\">Team notes</ui-text><ui-text variant=\"caption\"\n >A clear place for shared work.</ui-text></ui-stack></ui-card>",
3879
+ "resizable": false,
3880
+ "bindings": "",
3881
+ "frameworks": {}
3882
+ },
3594
3883
  {
3595
3884
  "id": "@threadlabs/looma/ui-card/01-variants",
3596
3885
  "name": "01-variants",
@@ -3616,7 +3905,7 @@
3616
3905
  "name": "03-semantic-tones",
3617
3906
  "title": "Quiet semantic surfaces",
3618
3907
  "description": "Cards can group supporting content on a softly tinted surface. Their child controls retain the normal design-system treatment.",
3619
- "markup": "<ui-stack gap=\"l\">\n <ui-card variant=\"subtle\" tone=\"accent\">Suggestions to consider</ui-card>\n <ui-card variant=\"subtle\" tone=\"warning\">Work in progress</ui-card>\n <ui-card variant=\"subtle\" tone=\"success\">Completed work</ui-card>\n <ui-card variant=\"subtle\" tone=\"info\">Useful context</ui-card>\n</ui-stack>",
3908
+ "markup": "<ui-stack gap=\"l\">\n <ui-card variant=\"subtle\" tone=\"accent\">Suggestions to consider</ui-card>\n <ui-card variant=\"subtle\" tone=\"warning\">Work in progress</ui-card>\n <ui-card variant=\"subtle\" tone=\"success\">Completed work</ui-card>\n <ui-card variant=\"subtle\" tone=\"info\">Useful context</ui-card>\n <ui-card variant=\"subtle\" tone=\"accent-secondary\">Supporting feature</ui-card>\n <ui-card variant=\"subtle\" tone=\"accent-tertiary\">Related collection</ui-card>\n</ui-stack>",
3620
3909
  "resizable": false,
3621
3910
  "bindings": "",
3622
3911
  "frameworks": {}
@@ -3984,7 +4273,7 @@
3984
4273
  "name": "02-checked-indeterminate-and-disabled",
3985
4274
  "title": "Select all and mixed state",
3986
4275
  "description": "Change an item to see the parent return to a mixed state. Clicking the parent selects or clears the whole group.",
3987
- "markup": "<ui-stack gap=\"s\">\n <ui-checkbox id=\"docs-checkbox-all\" indeterminate>Select all</ui-checkbox>\n <ui-stack gap=\"xs\" style=\"padding-inline-start: 1.5rem\">\n <ui-checkbox class=\"docs-checkbox-item\" checked>Design</ui-checkbox>\n <ui-checkbox class=\"docs-checkbox-item\">Build</ui-checkbox>\n <ui-checkbox class=\"docs-checkbox-item\">Review</ui-checkbox>\n </ui-stack>\n</ui-stack>",
4276
+ "markup": "<ui-stack gap=\"s\">\n <ui-checkbox id=\"docs-checkbox-all\" data-example-id=\"docs-checkbox-all\" indeterminate>Select all</ui-checkbox>\n <ui-stack gap=\"xs\" style=\"padding-inline-start: 1.5rem\">\n <ui-checkbox class=\"docs-checkbox-item\" checked>Design</ui-checkbox>\n <ui-checkbox class=\"docs-checkbox-item\">Build</ui-checkbox>\n <ui-checkbox class=\"docs-checkbox-item\">Review</ui-checkbox>\n </ui-stack>\n</ui-stack>",
3988
4277
  "resizable": false,
3989
4278
  "bindings": "",
3990
4279
  "frameworks": {
@@ -4110,7 +4399,7 @@
4110
4399
  {
4111
4400
  "name": "gap",
4112
4401
  "property": "gap",
4113
- "description": "Space between items, on the spacing scale: xs is 0.5rem, s 0.75rem (also the default), m 1rem, l 1.5rem, and xl 2rem. The --ui-cluster-gap custom property, set on the cluster itself, overrides it; set on an ancestor, it does nothing.",
4402
+ "description": "Space between items, on the spacing scale: xs is 0.5rem, s 0.75rem (also the default), m 1rem, l 1.5rem, and xl 2rem. The --ui-cluster-gap custom property, set on :root, an ancestor, or the component itself, overrides it.",
4114
4403
  "type": "keyword",
4115
4404
  "options": [
4116
4405
  "xs",
@@ -4191,7 +4480,7 @@
4191
4480
  },
4192
4481
  {
4193
4482
  "name": "gap",
4194
- "description": "Space between items, on the spacing scale: xs is 0.5rem, s 0.75rem (also the default), m 1rem, l 1.5rem, and xl 2rem. The --ui-cluster-gap custom property, set on the cluster itself, overrides it; set on an ancestor, it does nothing.",
4483
+ "description": "Space between items, on the spacing scale: xs is 0.5rem, s 0.75rem (also the default), m 1rem, l 1.5rem, and xl 2rem. The --ui-cluster-gap custom property, set on :root, an ancestor, or the component itself, overrides it.",
4195
4484
  "type": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\"",
4196
4485
  "options": [
4197
4486
  "xs",
@@ -4588,6 +4877,16 @@
4588
4877
  "vue"
4589
4878
  ],
4590
4879
  "examples": [
4880
+ {
4881
+ "id": "@threadlabs/looma/ui-color-picker/00-preview",
4882
+ "name": "00-preview",
4883
+ "title": "Accent color",
4884
+ "description": "One editable color with its accessible label.",
4885
+ "markup": "<ui-color-picker value=\"#7658d6\" label=\"Accent color\"></ui-color-picker>",
4886
+ "resizable": false,
4887
+ "bindings": "",
4888
+ "frameworks": {}
4889
+ },
4591
4890
  {
4592
4891
  "id": "@threadlabs/looma/ui-color-picker/01-shapes-and-sizes",
4593
4892
  "name": "01-shapes-and-sizes",
@@ -4645,7 +4944,7 @@
4645
4944
  {
4646
4945
  "name": "--ui-combobox-label-font-size",
4647
4946
  "fallbacks": [
4648
- "var(--ui-font-size-sm)"
4947
+ "var(--ui-field-label-font-size, var(--ui-font-size-md))"
4649
4948
  ]
4650
4949
  },
4651
4950
  {
@@ -4800,6 +5099,12 @@
4800
5099
  "var(--ui-danger-solid, var(--ui-accent-active))"
4801
5100
  ]
4802
5101
  },
5102
+ {
5103
+ "name": "--ui-field-label-font-size",
5104
+ "fallbacks": [
5105
+ "var(--ui-font-size-md)"
5106
+ ]
5107
+ },
4803
5108
  {
4804
5109
  "name": "--ui-field-radius",
4805
5110
  "fallbacks": [
@@ -6345,7 +6650,7 @@
6345
6650
  {
6346
6651
  "name": "measure",
6347
6652
  "property": "measure",
6348
- "description": "The container's maximum width, in characters of the current font: narrow is 45ch, wide is 80ch, and unset is 65ch, a comfortable reading line. The container centres itself when its parent is wider. The --ui-container-measure custom property, set on the container itself, overrides it; set on an ancestor, it does nothing.",
6653
+ "description": "The container's maximum width, in characters of the current font: narrow is 45ch, wide is 80ch, and unset is 65ch, a comfortable reading line. The container centres itself when its parent is wider. The --ui-container-measure custom property, set on :root, an ancestor, or the container itself, overrides it.",
6349
6654
  "type": "keyword",
6350
6655
  "options": [
6351
6656
  "narrow",
@@ -6372,7 +6677,7 @@
6372
6677
  },
6373
6678
  {
6374
6679
  "name": "measure",
6375
- "description": "The container's maximum width, in characters of the current font: narrow is 45ch, wide is 80ch, and unset is 65ch, a comfortable reading line. The container centres itself when its parent is wider. The --ui-container-measure custom property, set on the container itself, overrides it; set on an ancestor, it does nothing.",
6680
+ "description": "The container's maximum width, in characters of the current font: narrow is 45ch, wide is 80ch, and unset is 65ch, a comfortable reading line. The container centres itself when its parent is wider. The --ui-container-measure custom property, set on :root, an ancestor, or the container itself, overrides it.",
6376
6681
  "type": "\"narrow\" | \"wide\"",
6377
6682
  "options": [
6378
6683
  "narrow",
@@ -6774,6 +7079,16 @@
6774
7079
  "vue"
6775
7080
  ],
6776
7081
  "examples": [
7082
+ {
7083
+ "id": "@threadlabs/looma/ui-cover/00-preview",
7084
+ "name": "00-preview",
7085
+ "title": "Centered content",
7086
+ "description": "A cover centers its content in the available space.",
7087
+ "markup": "<ui-cover size=\"fill\"><ui-card padding=\"sm\"><ui-text variant=\"label\">Welcome back</ui-text></ui-card></ui-cover>",
7088
+ "resizable": false,
7089
+ "bindings": "",
7090
+ "frameworks": {}
7091
+ },
6777
7092
  {
6778
7093
  "id": "@threadlabs/looma/ui-cover/01-default",
6779
7094
  "name": "01-default",
@@ -6995,6 +7310,17 @@
6995
7310
  "vue"
6996
7311
  ],
6997
7312
  "examples": [
7313
+ {
7314
+ "id": "@threadlabs/looma/ui-curve-editor/00-preview",
7315
+ "name": "00-preview",
7316
+ "title": "Edit an easing curve",
7317
+ "description": "Expand to edit the curve and its exact coordinates.",
7318
+ "markup": "<ui-stack gap=\"s\"><ui-text variant=\"code\">ease-in-out</ui-text><ui-disclosure summary=\"Edit easing curve\"><ui-curve-editor\n label=\"Easing curve\"\n value=\"ease-in-out\"\n size=\"sm\"\n ></ui-curve-editor></ui-disclosure></ui-stack>",
7319
+ "resizable": false,
7320
+ "stretch": true,
7321
+ "bindings": "",
7322
+ "frameworks": {}
7323
+ },
6998
7324
  {
6999
7325
  "id": "@threadlabs/looma/ui-curve-editor/01-editing",
7000
7326
  "name": "01-editing",
@@ -9636,6 +9962,17 @@
9636
9962
  "vue"
9637
9963
  ],
9638
9964
  "examples": [
9965
+ {
9966
+ "id": "@threadlabs/looma/ui-editor-link-card/00-preview",
9967
+ "name": "00-preview",
9968
+ "title": "Linked page",
9969
+ "description": "A resolved page title leaves room for the link actions.",
9970
+ "markup": "<ui-editor-link-card href=\"https://example.com/guide\" open-href=\"https://example.com/guide\" label=\"Guide\"></ui-editor-link-card>",
9971
+ "resizable": false,
9972
+ "stretch": true,
9973
+ "bindings": "",
9974
+ "frameworks": {}
9975
+ },
9639
9976
  {
9640
9977
  "id": "@threadlabs/looma/ui-editor-link-card/01-address",
9641
9978
  "name": "01-address",
@@ -10354,6 +10691,17 @@
10354
10691
  "vue"
10355
10692
  ],
10356
10693
  "examples": [
10694
+ {
10695
+ "id": "@threadlabs/looma/ui-editor-mention-menu/00-preview",
10696
+ "name": "00-preview",
10697
+ "title": "Mention a teammate",
10698
+ "description": "Open the interactive surface when needed; it starts closed in the component directory.",
10699
+ "markup": "<ui-button data-demo-trigger aria-haspopup=\"listbox\" aria-expanded=\"false\" aria-controls=\"preview-mentions\"\n>Mention a teammate</ui-button><ui-editor-mention-menu\n id=\"preview-mentions\"\n tabindex=\"-1\"\n data-demo-surface\n items='[{\"id\":\"maya\",\"label\":\"Maya Chen\",\"detail\":\"Design\",\"initials\":\"MC\"},{\"id\":\"noah\",\"label\":\"Noah Williams\",\"detail\":\"Engineering\",\"initials\":\"NW\"}]'\n></ui-editor-mention-menu>",
10700
+ "resizable": false,
10701
+ "bindings": "items=people",
10702
+ "frameworks": {},
10703
+ "behavior": "@threadlabs/looma/docs/examples/ui-editor-mention-menu/examples/00-preview.behavior.js"
10704
+ },
10357
10705
  {
10358
10706
  "id": "@threadlabs/looma/ui-editor-mention-menu/01-open",
10359
10707
  "name": "01-open",
@@ -10886,6 +11234,17 @@
10886
11234
  "vue"
10887
11235
  ],
10888
11236
  "examples": [
11237
+ {
11238
+ "id": "@threadlabs/looma/ui-editor-slash-menu/00-preview",
11239
+ "name": "00-preview",
11240
+ "title": "Insert a block",
11241
+ "description": "Open the interactive surface when needed; it starts closed in the component directory.",
11242
+ "markup": "<ui-button data-demo-trigger aria-haspopup=\"listbox\" aria-expanded=\"false\" aria-controls=\"preview-commands\">Insert a block</ui-button>\n<ui-editor-slash-menu id=\"preview-commands\" data-demo-surface tabindex=\"-1\">\n <ui-editor-slash-menu-item id=\"preview-text\" value=\"text\" icon=\"pilcrow\" description=\"Plain paragraph\">Text</ui-editor-slash-menu-item>\n <ui-editor-slash-menu-item id=\"preview-table\" value=\"table\" icon=\"table\" description=\"Rows and columns\">Table</ui-editor-slash-menu-item>\n</ui-editor-slash-menu>",
11243
+ "resizable": false,
11244
+ "bindings": "",
11245
+ "frameworks": {},
11246
+ "behavior": "@threadlabs/looma/docs/examples/ui-editor-slash-menu/examples/00-preview.behavior.js"
11247
+ },
10889
11248
  {
10890
11249
  "id": "@threadlabs/looma/ui-editor-slash-menu/01-open",
10891
11250
  "name": "01-open",
@@ -11468,14 +11827,8 @@
11468
11827
  {
11469
11828
  "name": "--ui-affordance-near-color",
11470
11829
  "fallbacks": [
11471
- "var(--ui-border-strong)",
11472
- "var(--ui-text-secondary)"
11473
- ]
11474
- },
11475
- {
11476
- "name": "--ui-affordance-scope-guide",
11477
- "fallbacks": [
11478
- "1"
11830
+ "var(--ui-border-strong)",
11831
+ "var(--ui-text-secondary)"
11479
11832
  ]
11480
11833
  },
11481
11834
  {
@@ -11809,7 +12162,12 @@
11809
12162
  "detailDocs": "Emitted with the declared detail payload."
11810
12163
  }
11811
12164
  ],
11812
- "slots": [],
12165
+ "slots": [
12166
+ {
12167
+ "name": "default",
12168
+ "description": "Default child content."
12169
+ }
12170
+ ],
11813
12171
  "group": "editor",
11814
12172
  "id": "@threadlabs/looma/ui-editor-table-overlay",
11815
12173
  "title": "Editor Table Overlay",
@@ -11819,6 +12177,18 @@
11819
12177
  "vue"
11820
12178
  ],
11821
12179
  "examples": [
12180
+ {
12181
+ "id": "@threadlabs/looma/ui-editor-table-overlay/00-preview",
12182
+ "name": "00-preview",
12183
+ "title": "Table edge controls",
12184
+ "description": "A small table with measured row and column boundaries; hover an edge to reveal its insertion action.",
12185
+ "markup": "<ui-editor-table-overlay data-demo-table-controls open><ui-table><table aria-label=\"Example table\">\n <tbody>\n <tr>\n <td>A1</td>\n <td>B1</td>\n </tr>\n <tr>\n <td>A2</td>\n <td>B2</td>\n </tr>\n </tbody>\n </table></ui-table></ui-editor-table-overlay>",
12186
+ "resizable": false,
12187
+ "stretch": true,
12188
+ "bindings": "",
12189
+ "frameworks": {},
12190
+ "behavior": "@threadlabs/looma/docs/examples/ui-editor-table-overlay/examples/00-preview.behavior.js"
12191
+ },
11822
12192
  {
11823
12193
  "id": "@threadlabs/looma/ui-editor-table-overlay/01-open-with-geometry",
11824
12194
  "name": "01-open-with-geometry",
@@ -12333,7 +12703,7 @@
12333
12703
  {
12334
12704
  "name": "--ui-form-field-label-font-size",
12335
12705
  "fallbacks": [
12336
- "var(--ui-font-size-sm)"
12706
+ "var(--ui-field-label-font-size, var(--ui-font-size-md))"
12337
12707
  ]
12338
12708
  },
12339
12709
  {
@@ -12359,6 +12729,15 @@
12359
12729
  "var(--ui-danger)"
12360
12730
  ]
12361
12731
  },
12732
+ {
12733
+ "name": "--ui-field-label-font-size",
12734
+ "fallbacks": [
12735
+ "var(--ui-font-size-md)"
12736
+ ]
12737
+ },
12738
+ {
12739
+ "name": "--ui-font-size-md"
12740
+ },
12362
12741
  {
12363
12742
  "name": "--ui-font-size-sm"
12364
12743
  },
@@ -12546,7 +12925,7 @@
12546
12925
  {
12547
12926
  "name": "gap",
12548
12927
  "property": "gap",
12549
- "description": "Space between cells, on the spacing scale: xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-grid-gap custom property, set on the grid itself, overrides it; set on an ancestor, it does nothing.",
12928
+ "description": "Space between cells, on the spacing scale: xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-grid-gap custom property, set on :root, an ancestor, or the component itself, overrides it.",
12550
12929
  "type": "keyword",
12551
12930
  "options": [
12552
12931
  "xs",
@@ -12576,7 +12955,7 @@
12576
12955
  },
12577
12956
  {
12578
12957
  "name": "gap",
12579
- "description": "Space between cells, on the spacing scale: xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-grid-gap custom property, set on the grid itself, overrides it; set on an ancestor, it does nothing.",
12958
+ "description": "Space between cells, on the spacing scale: xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-grid-gap custom property, set on :root, an ancestor, or the component itself, overrides it.",
12580
12959
  "type": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\"",
12581
12960
  "options": [
12582
12961
  "xs",
@@ -12671,6 +13050,8 @@
12671
13050
  "name": "--ui-icon-button-active-surface",
12672
13051
  "declarations": [
12673
13052
  "var(--ui-accent-active, var(--ui-accent-hover))",
13053
+ "var(--ui-accent-secondary-active, var(--ui-accent-secondary-hover))",
13054
+ "var(--ui-accent-tertiary-active, var(--ui-accent-tertiary-hover))",
12674
13055
  "var(--ui-danger-active, var(--ui-danger-hover))",
12675
13056
  "var(--ui-success-active, var(--ui-success-hover))",
12676
13057
  "var(--ui-warning-active, var(--ui-warning-hover))",
@@ -12687,15 +13068,18 @@
12687
13068
  "name": "--ui-icon-button-border",
12688
13069
  "declarations": [
12689
13070
  "var(--ui-accent-border, var(--ui-accent-solid))",
13071
+ "var(--ui-accent-secondary-border, var(--ui-accent-secondary))",
13072
+ "var(--ui-accent-tertiary-border, var(--ui-accent-tertiary))",
12690
13073
  "var(--ui-accent-border, var(--ui-accent))",
12691
13074
  "var(--ui-danger-border, var(--ui-danger))",
12692
13075
  "var(--ui-success-border, var(--ui-success))",
12693
13076
  "var(--ui-warning-border, var(--ui-warning))",
12694
13077
  "var(--ui-info-border, var(--ui-info))",
12695
- "var(--ui-neutral-border, var(--ui-neutral-surface))"
13078
+ "var(--ui-control-border, var(--ui-neutral-surface))"
12696
13079
  ],
12697
13080
  "fallbacks": [
12698
- "var(--_icon-button-border, var(--ui-control-border, var(--ui-border-strong)))"
13081
+ "var(--_icon-button-border, var(--ui-control-border, var(--ui-border-strong)))",
13082
+ "var(--ui-control-border)"
12699
13083
  ]
12700
13084
  },
12701
13085
  {
@@ -12714,11 +13098,13 @@
12714
13098
  "name": "--ui-icon-button-hover-border",
12715
13099
  "declarations": [
12716
13100
  "var(--ui-accent-hover-border, var(--ui-accent-hover))",
13101
+ "var(--ui-accent-secondary-hover-border, var(--ui-accent-secondary-hover))",
13102
+ "var(--ui-accent-tertiary-hover-border, var(--ui-accent-tertiary-hover))",
12717
13103
  "var(--ui-danger-hover-border, var(--ui-danger-hover))",
12718
13104
  "var(--ui-success-hover-border, var(--ui-success-hover))",
12719
13105
  "var(--ui-warning-hover-border, var(--ui-warning-hover))",
12720
13106
  "var(--ui-info-hover-border, var(--ui-info-hover))",
12721
- "var(--ui-neutral-hover-border, var(--ui-neutral-hover))"
13107
+ "var(--ui-control-border-hover, var(--ui-neutral-hover))"
12722
13108
  ],
12723
13109
  "fallbacks": [
12724
13110
  "var(--_icon-button-hover-border, var(--ui-control-border-hover, var(--ui-control-border)))"
@@ -12789,7 +13175,8 @@
12789
13175
  {
12790
13176
  "name": "--ui-icon-button-solid-shadow",
12791
13177
  "fallbacks": [
12792
- "var(--ui-action-shadow, var(--_ui-action-shadow))"
13178
+ "var(--ui-action-shadow, var(--_ui-action-shadow))",
13179
+ "var(--ui-neutral-shadow)"
12793
13180
  ]
12794
13181
  },
12795
13182
  {
@@ -12855,6 +13242,57 @@
12855
13242
  "var(--ui-accent-hover)"
12856
13243
  ]
12857
13244
  },
13245
+ {
13246
+ "name": "--ui-accent-secondary"
13247
+ },
13248
+ {
13249
+ "name": "--ui-accent-secondary-active",
13250
+ "fallbacks": [
13251
+ "var(--ui-accent-secondary-hover)"
13252
+ ]
13253
+ },
13254
+ {
13255
+ "name": "--ui-accent-secondary-active-border",
13256
+ "fallbacks": [
13257
+ "var(--ui-accent-secondary-active)"
13258
+ ]
13259
+ },
13260
+ {
13261
+ "name": "--ui-accent-secondary-border",
13262
+ "fallbacks": [
13263
+ "var(--ui-accent-secondary)"
13264
+ ]
13265
+ },
13266
+ {
13267
+ "name": "--ui-accent-secondary-glow",
13268
+ "fallbacks": [
13269
+ "0 0 transparent"
13270
+ ]
13271
+ },
13272
+ {
13273
+ "name": "--ui-accent-secondary-highlight",
13274
+ "fallbacks": [
13275
+ "none"
13276
+ ]
13277
+ },
13278
+ {
13279
+ "name": "--ui-accent-secondary-hover"
13280
+ },
13281
+ {
13282
+ "name": "--ui-accent-secondary-hover-border",
13283
+ "fallbacks": [
13284
+ "var(--ui-accent-secondary-hover)"
13285
+ ]
13286
+ },
13287
+ {
13288
+ "name": "--ui-accent-secondary-solid"
13289
+ },
13290
+ {
13291
+ "name": "--ui-accent-secondary-subtle-text",
13292
+ "fallbacks": [
13293
+ "var(--ui-accent-secondary-solid)"
13294
+ ]
13295
+ },
12858
13296
  {
12859
13297
  "name": "--ui-accent-solid"
12860
13298
  },
@@ -12864,6 +13302,57 @@
12864
13302
  "var(--ui-accent-solid)"
12865
13303
  ]
12866
13304
  },
13305
+ {
13306
+ "name": "--ui-accent-tertiary"
13307
+ },
13308
+ {
13309
+ "name": "--ui-accent-tertiary-active",
13310
+ "fallbacks": [
13311
+ "var(--ui-accent-tertiary-hover)"
13312
+ ]
13313
+ },
13314
+ {
13315
+ "name": "--ui-accent-tertiary-active-border",
13316
+ "fallbacks": [
13317
+ "var(--ui-accent-tertiary-active)"
13318
+ ]
13319
+ },
13320
+ {
13321
+ "name": "--ui-accent-tertiary-border",
13322
+ "fallbacks": [
13323
+ "var(--ui-accent-tertiary)"
13324
+ ]
13325
+ },
13326
+ {
13327
+ "name": "--ui-accent-tertiary-glow",
13328
+ "fallbacks": [
13329
+ "0 0 transparent"
13330
+ ]
13331
+ },
13332
+ {
13333
+ "name": "--ui-accent-tertiary-highlight",
13334
+ "fallbacks": [
13335
+ "none"
13336
+ ]
13337
+ },
13338
+ {
13339
+ "name": "--ui-accent-tertiary-hover"
13340
+ },
13341
+ {
13342
+ "name": "--ui-accent-tertiary-hover-border",
13343
+ "fallbacks": [
13344
+ "var(--ui-accent-tertiary-hover)"
13345
+ ]
13346
+ },
13347
+ {
13348
+ "name": "--ui-accent-tertiary-solid"
13349
+ },
13350
+ {
13351
+ "name": "--ui-accent-tertiary-subtle-text",
13352
+ "fallbacks": [
13353
+ "var(--ui-accent-tertiary-solid)"
13354
+ ]
13355
+ },
12867
13356
  {
12868
13357
  "name": "--ui-action-edge",
12869
13358
  "fallbacks": [
@@ -12894,12 +13383,6 @@
12894
13383
  "var(--ui-motion-fast)"
12895
13384
  ]
12896
13385
  },
12897
- {
12898
- "name": "--ui-affordance-scope-guide",
12899
- "fallbacks": [
12900
- "1"
12901
- ]
12902
- },
12903
13386
  {
12904
13387
  "name": "--ui-border-strong"
12905
13388
  },
@@ -12909,12 +13392,15 @@
12909
13392
  {
12910
13393
  "name": "--ui-control-border",
12911
13394
  "fallbacks": [
13395
+ "var(--ui-neutral-surface)",
12912
13396
  "var(--ui-border-strong)"
12913
13397
  ]
12914
13398
  },
12915
13399
  {
12916
13400
  "name": "--ui-control-border-hover",
12917
13401
  "fallbacks": [
13402
+ "var(--ui-neutral-hover)",
13403
+ "var(--ui-neutral-active)",
12918
13404
  "var(--ui-control-border)"
12919
13405
  ]
12920
13406
  },
@@ -13074,18 +13560,6 @@
13074
13560
  "var(--ui-neutral-hover)"
13075
13561
  ]
13076
13562
  },
13077
- {
13078
- "name": "--ui-neutral-active-border",
13079
- "fallbacks": [
13080
- "var(--ui-neutral-active)"
13081
- ]
13082
- },
13083
- {
13084
- "name": "--ui-neutral-border",
13085
- "fallbacks": [
13086
- "var(--ui-neutral-surface)"
13087
- ]
13088
- },
13089
13563
  {
13090
13564
  "name": "--ui-neutral-glow",
13091
13565
  "fallbacks": [
@@ -13102,14 +13576,17 @@
13102
13576
  "name": "--ui-neutral-hover"
13103
13577
  },
13104
13578
  {
13105
- "name": "--ui-neutral-hover-border",
13106
- "fallbacks": [
13107
- "var(--ui-neutral-hover)"
13108
- ]
13579
+ "name": "--ui-neutral-shadow"
13109
13580
  },
13110
13581
  {
13111
13582
  "name": "--ui-neutral-surface"
13112
13583
  },
13584
+ {
13585
+ "name": "--ui-on-accent-secondary"
13586
+ },
13587
+ {
13588
+ "name": "--ui-on-accent-tertiary"
13589
+ },
13113
13590
  {
13114
13591
  "name": "--ui-press-scale",
13115
13592
  "fallbacks": [
@@ -13340,11 +13817,13 @@
13340
13817
  {
13341
13818
  "name": "tone",
13342
13819
  "property": "tone",
13343
- "description": "Colour for every variant. The default neutral shares the quiet control family with fields and text buttons. Choose accent explicitly for a coloured action, or primary for solid accent. danger, success, warning and info share Button's intent colors. Native aria-pressed=\"true\" keeps an outline toggle visibly pressed; the consumer owns that state.",
13820
+ "description": "Colour for every variant. The default neutral shares the quiet control family with fields and text buttons. Choose accent explicitly for a coloured action, or primary for solid accent. danger, success, warning and info share Button's intent colors. Native aria-pressed=\"true\" keeps an outline toggle visibly pressed; the consumer owns that state. Supporting brand families use accent-secondary and accent-tertiary; their usable colors derive from the theme, and unset families follow the primary accent.",
13344
13821
  "type": "keyword",
13345
13822
  "default": "neutral",
13346
13823
  "options": [
13347
13824
  "accent",
13825
+ "accent-secondary",
13826
+ "accent-tertiary",
13348
13827
  "neutral",
13349
13828
  "danger",
13350
13829
  "success",
@@ -13449,11 +13928,13 @@
13449
13928
  },
13450
13929
  {
13451
13930
  "name": "tone",
13452
- "description": "Colour for every variant. The default neutral shares the quiet control family with fields and text buttons. Choose accent explicitly for a coloured action, or primary for solid accent. danger, success, warning and info share Button's intent colors. Native aria-pressed=\"true\" keeps an outline toggle visibly pressed; the consumer owns that state.",
13453
- "type": "\"accent\" | \"neutral\" | \"danger\" | \"success\" | \"warning\" | \"info\"",
13931
+ "description": "Colour for every variant. The default neutral shares the quiet control family with fields and text buttons. Choose accent explicitly for a coloured action, or primary for solid accent. danger, success, warning and info share Button's intent colors. Native aria-pressed=\"true\" keeps an outline toggle visibly pressed; the consumer owns that state. Supporting brand families use accent-secondary and accent-tertiary; their usable colors derive from the theme, and unset families follow the primary accent.",
13932
+ "type": "\"accent\" | \"accent-secondary\" | \"accent-tertiary\" | \"neutral\" | \"danger\" | \"success\" | \"warning\" | \"info\"",
13454
13933
  "default": "neutral",
13455
13934
  "options": [
13456
13935
  "accent",
13936
+ "accent-secondary",
13937
+ "accent-tertiary",
13457
13938
  "neutral",
13458
13939
  "danger",
13459
13940
  "success",
@@ -13784,7 +14265,7 @@
13784
14265
  "name": "01-image",
13785
14266
  "title": "Image",
13786
14267
  "description": "A semantic image surface with automatic sizing and a text alternative.",
13787
- "markup": "<ui-image src=\"/looma/img/avatar-maya.svg\" alt=\"Illustrated portrait\" width=\"240\" height=\"240\"></ui-image>",
14268
+ "markup": "<ui-image src=\"/_looma/pastoral.svg\" alt=\"Green hills, a farmhouse, and sheep beside a winding stream\" width=\"320\" height=\"200\"></ui-image>",
13788
14269
  "resizable": false,
13789
14270
  "bindings": "",
13790
14271
  "frameworks": {}
@@ -13794,7 +14275,7 @@
13794
14275
  "name": "02-selected",
13795
14276
  "title": "Selected and resizable",
13796
14277
  "description": "Four corner handles keep the intrinsic ratio while reporting preview, commit, and cancel intent; a consumer persists committed dimensions.",
13797
- "markup": "<ui-image src=\"/looma/img/avatar-maya.svg\" alt=\"Illustrated portrait\" width=\"240\" height=\"240\" placement=\"center\" selected resizable></ui-image>",
14278
+ "markup": "<ui-image\n src=\"/_looma/pastoral.svg\"\n alt=\"Green hills, a farmhouse, and sheep beside a winding stream\"\n width=\"320\"\n height=\"200\"\n placement=\"center\"\n selected\n resizable\n></ui-image>",
13798
14279
  "resizable": false,
13799
14280
  "bindings": "",
13800
14281
  "frameworks": {}
@@ -16541,9 +17022,15 @@
16541
17022
  }
16542
17023
  ],
16543
17024
  "shared": [
17025
+ {
17026
+ "name": "--ui-accent-secondary-solid"
17027
+ },
16544
17028
  {
16545
17029
  "name": "--ui-accent-solid"
16546
17030
  },
17031
+ {
17032
+ "name": "--ui-accent-tertiary-solid"
17033
+ },
16547
17034
  {
16548
17035
  "name": "--ui-border"
16549
17036
  },
@@ -16637,12 +17124,14 @@
16637
17124
  {
16638
17125
  "name": "tone",
16639
17126
  "property": "tone",
16640
- "description": "Which colour the filled part speaks in, as on Badge: neutral is a quiet grey, accent draws the eye, and info, success, warning, and danger mark a state (such as nothing yet, partial, complete, or needs attention). Colour alone says nothing to assistive technology or in forced colours, so say the state in valueText or in text beside the meter too.",
17127
+ "description": "Which colour the filled part speaks in, as on Badge: neutral is a quiet grey, accent draws the eye, and info, success, warning, and danger mark a state (such as nothing yet, partial, complete, or needs attention). Colour alone says nothing to assistive technology or in forced colours, so say the state in valueText or in text beside the meter too. Supporting brand families use accent-secondary and accent-tertiary; their usable colors derive from the theme, and unset families follow the primary accent.",
16641
17128
  "type": "keyword",
16642
17129
  "default": "neutral",
16643
17130
  "options": [
16644
17131
  "neutral",
16645
17132
  "accent",
17133
+ "accent-secondary",
17134
+ "accent-tertiary",
16646
17135
  "info",
16647
17136
  "success",
16648
17137
  "warning",
@@ -16724,12 +17213,14 @@
16724
17213
  },
16725
17214
  {
16726
17215
  "name": "tone",
16727
- "description": "Which colour the filled part speaks in, as on Badge: neutral is a quiet grey, accent draws the eye, and info, success, warning, and danger mark a state (such as nothing yet, partial, complete, or needs attention). Colour alone says nothing to assistive technology or in forced colours, so say the state in valueText or in text beside the meter too.",
16728
- "type": "\"neutral\" | \"accent\" | \"info\" | \"success\" | \"warning\" | \"danger\"",
17216
+ "description": "Which colour the filled part speaks in, as on Badge: neutral is a quiet grey, accent draws the eye, and info, success, warning, and danger mark a state (such as nothing yet, partial, complete, or needs attention). Colour alone says nothing to assistive technology or in forced colours, so say the state in valueText or in text beside the meter too. Supporting brand families use accent-secondary and accent-tertiary; their usable colors derive from the theme, and unset families follow the primary accent.",
17217
+ "type": "\"neutral\" | \"accent\" | \"accent-secondary\" | \"accent-tertiary\" | \"info\" | \"success\" | \"warning\" | \"danger\"",
16729
17218
  "default": "neutral",
16730
17219
  "options": [
16731
17220
  "neutral",
16732
17221
  "accent",
17222
+ "accent-secondary",
17223
+ "accent-tertiary",
16733
17224
  "info",
16734
17225
  "success",
16735
17226
  "warning",
@@ -16785,7 +17276,7 @@
16785
17276
  "name": "02-tone",
16786
17277
  "title": "tone",
16787
17278
  "description": "The fill's colour carries the state, such as nothing yet, partial, complete, or needs attention. Colour alone reaches no one using assistive technology or forced colours, so valueText, and the text beside the meter, say the state too.",
16788
- "markup": "<ui-stack gap=\"xs\">\n <ui-cluster gap=\"s\"><ui-meter value=\"0\" max=\"1240\" label=\"Collected\" value-text=\"Nothing collected yet, $0 of $1,240\"></ui-meter><ui-text size=\"sm\"\n >Not started</ui-text></ui-cluster>\n <ui-cluster gap=\"s\"><ui-meter value=\"750\" max=\"1240\" tone=\"info\" label=\"Collected\" value-text=\"Partly collected, $750 of $1,240\"></ui-meter><ui-text size=\"sm\"\n >Partial</ui-text></ui-cluster>\n <ui-cluster gap=\"s\"><ui-meter value=\"1240\" max=\"1240\" tone=\"success\" label=\"Collected\" value-text=\"Fully collected, $1,240 of $1,240\"></ui-meter><ui-text\n size=\"sm\"\n >Complete</ui-text></ui-cluster>\n <ui-cluster gap=\"s\"><ui-meter value=\"200\" max=\"1240\" tone=\"warning\" label=\"Collected\" value-text=\"Overdue, $200 of $1,240 collected\"></ui-meter><ui-text\n size=\"sm\"\n >Overdue</ui-text></ui-cluster>\n</ui-stack>",
17279
+ "markup": "<ui-stack gap=\"xs\">\n <ui-cluster gap=\"s\"><ui-meter value=\"0\" max=\"1240\" label=\"Collected\" value-text=\"Nothing collected yet, $0 of $1,240\"></ui-meter><ui-text size=\"sm\"\n >Not started</ui-text></ui-cluster>\n <ui-cluster gap=\"s\"><ui-meter value=\"750\" max=\"1240\" tone=\"info\" label=\"Collected\" value-text=\"Partly collected, $750 of $1,240\"></ui-meter><ui-text size=\"sm\"\n >Partial</ui-text></ui-cluster>\n <ui-cluster gap=\"s\"><ui-meter value=\"1240\" max=\"1240\" tone=\"success\" label=\"Collected\" value-text=\"Fully collected, $1,240 of $1,240\"></ui-meter><ui-text\n size=\"sm\"\n >Complete</ui-text></ui-cluster>\n <ui-cluster gap=\"s\"><ui-meter value=\"200\" max=\"1240\" tone=\"warning\" label=\"Collected\" value-text=\"Overdue, $200 of $1,240 collected\"></ui-meter><ui-text\n size=\"sm\"\n >Overdue</ui-text></ui-cluster>\n <ui-meter value=\"65\" tone=\"accent-secondary\" label=\"Collection progress\"></ui-meter>\n <ui-meter value=\"35\" tone=\"accent-tertiary\" label=\"Related collection progress\"></ui-meter>\n</ui-stack>",
16789
17280
  "resizable": false,
16790
17281
  "bindings": "",
16791
17282
  "frameworks": {}
@@ -18820,7 +19311,7 @@
18820
19311
  {
18821
19312
  "name": "gap",
18822
19313
  "property": "gap",
18823
- "description": "Space between items, on the spacing scale: xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-reel-gap custom property, set on the reel itself, overrides it; set on an ancestor, it does nothing.",
19314
+ "description": "Space between items, on the spacing scale: xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-reel-gap custom property, set on :root, an ancestor, or the component itself, overrides it.",
18824
19315
  "type": "keyword",
18825
19316
  "options": [
18826
19317
  "xs",
@@ -18855,7 +19346,7 @@
18855
19346
  "properties": [
18856
19347
  {
18857
19348
  "name": "gap",
18858
- "description": "Space between items, on the spacing scale: xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-reel-gap custom property, set on the reel itself, overrides it; set on an ancestor, it does nothing.",
19349
+ "description": "Space between items, on the spacing scale: xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-reel-gap custom property, set on :root, an ancestor, or the component itself, overrides it.",
18859
19350
  "type": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\"",
18860
19351
  "options": [
18861
19352
  "xs",
@@ -19632,6 +20123,17 @@
19632
20123
  "vue"
19633
20124
  ],
19634
20125
  "examples": [
20126
+ {
20127
+ "id": "@threadlabs/looma/ui-search-shell/00-preview",
20128
+ "name": "00-preview",
20129
+ "title": "Search commands",
20130
+ "description": "Open the interactive surface when needed; it starts closed in the component directory.",
20131
+ "markup": "<ui-button data-demo-trigger>Search commands</ui-button><ui-search-shell data-demo-surface label=\"Search commands\"><ui-input\n slot=\"search\"\n type=\"search\"\n aria-label=\"Search commands\"\n placeholder=\"Find a command\"\n ></ui-input><ui-search-result-row slot=\"body\"><ui-icon slot=\"leading\" name=\"file-text\"></ui-icon><span slot=\"title\"\n >Team notes</span></ui-search-result-row></ui-search-shell>",
20132
+ "resizable": false,
20133
+ "bindings": "",
20134
+ "frameworks": {},
20135
+ "behavior": "@threadlabs/looma/docs/examples/ui-search-shell/examples/00-preview.behavior.js"
20136
+ },
19635
20137
  {
19636
20138
  "id": "@threadlabs/looma/ui-search-shell/01-open",
19637
20139
  "name": "01-open",
@@ -19647,7 +20149,7 @@
19647
20149
  "name": "02-label-dismissible-status-and-footer",
19648
20150
  "title": "label, dismissible, status, and footer",
19649
20151
  "description": "Label names the dialog, dismissible enables backdrop dismissal, and the status, body, and footer slots host application-owned search state. Escape always closes it.",
19650
- "markup": "<ui-search-shell id=\"docs-search-shell\" open dismissible label=\"Search documentation\">\n <ui-input id=\"docs-search-input\" slot=\"search\" type=\"search\" aria-label=\"Search documentation\" placeholder=\"Search documentation\"> </ui-input>\n <div id=\"docs-search-status\" slot=\"status\" aria-live=\"polite\">3 results</div>\n <div id=\"docs-search-results\" slot=\"body\">\n <ui-search-result-row id=\"docs-result-design-tokens\">\n <strong slot=\"title\">Design tokens</strong>\n <span slot=\"excerpt\">Color, type, spacing, and motion.</span>\n </ui-search-result-row>\n <ui-search-result-row id=\"docs-result-token-overrides\">\n <strong slot=\"title\">Token overrides</strong>\n <span slot=\"excerpt\">Customize shared and component tokens.</span>\n </ui-search-result-row>\n <ui-search-result-row id=\"docs-result-button-variants\">\n <strong slot=\"title\">Button variants</strong>\n <span slot=\"excerpt\">Choose solid, outline, ghost, or danger.</span>\n </ui-search-result-row>\n <p id=\"docs-search-empty\" hidden>No matching documentation.</p>\n </div>\n <form slot=\"footer\" method=\"dialog\">\n <ui-button type=\"submit\" size=\"sm\">Close</ui-button>\n </form>\n</ui-search-shell>",
20152
+ "markup": "<ui-search-shell id=\"docs-search-shell\" data-example-id=\"docs-search-shell\" open dismissible label=\"Search documentation\">\n <ui-input\n id=\"docs-search-input\"\n data-example-id=\"docs-search-input\"\n slot=\"search\"\n type=\"search\"\n aria-label=\"Search documentation\"\n placeholder=\"Search documentation\"\n >\n </ui-input>\n <div id=\"docs-search-status\" data-example-id=\"docs-search-status\" slot=\"status\" aria-live=\"polite\">3 results</div>\n <div id=\"docs-search-results\" data-example-id=\"docs-search-results\" slot=\"body\">\n <ui-search-result-row id=\"docs-result-design-tokens\" data-example-id=\"docs-result-design-tokens\">\n <strong slot=\"title\">Design tokens</strong>\n <span slot=\"excerpt\">Color, type, spacing, and motion.</span>\n </ui-search-result-row>\n <ui-search-result-row id=\"docs-result-token-overrides\" data-example-id=\"docs-result-token-overrides\">\n <strong slot=\"title\">Token overrides</strong>\n <span slot=\"excerpt\">Customize shared and component tokens.</span>\n </ui-search-result-row>\n <ui-search-result-row id=\"docs-result-button-variants\" data-example-id=\"docs-result-button-variants\">\n <strong slot=\"title\">Button variants</strong>\n <span slot=\"excerpt\">Choose solid, outline, ghost, or danger.</span>\n </ui-search-result-row>\n <p id=\"docs-search-empty\" data-example-id=\"docs-search-empty\" hidden>No matching documentation.</p>\n </div>\n <form slot=\"footer\" method=\"dialog\">\n <ui-button type=\"submit\" size=\"sm\">Close</ui-button>\n </form>\n</ui-search-shell>",
19651
20153
  "resizable": false,
19652
20154
  "bindings": "",
19653
20155
  "frameworks": {
@@ -20457,12 +20959,6 @@
20457
20959
  "var(--ui-motion-fast)"
20458
20960
  ]
20459
20961
  },
20460
- {
20461
- "name": "--ui-affordance-scope-guide",
20462
- "fallbacks": [
20463
- "1"
20464
- ]
20465
- },
20466
20962
  {
20467
20963
  "name": "--ui-border-divider"
20468
20964
  },
@@ -20730,6 +21226,16 @@
20730
21226
  "vue"
20731
21227
  ],
20732
21228
  "examples": [
21229
+ {
21230
+ "id": "@threadlabs/looma/ui-sidebar/00-preview",
21231
+ "name": "00-preview",
21232
+ "title": "Workspace navigation",
21233
+ "description": "A compact sidebar with its own toggle for narrow screens.",
21234
+ "markup": "<ui-sidebar id=\"preview-sidebar\" width=\"176\" min-width=\"160\" breakpoint=\"sm\" aria-label=\"Workspace\"><ui-stack gap=\"xs\"><ui-nav-item href=\"#notes\" current=\"true\"\n >Notes</ui-nav-item><ui-nav-item href=\"#files\">Files</ui-nav-item></ui-stack></ui-sidebar><ui-icon-button\n commandfor=\"preview-sidebar\"\n command=\"--toggle\"\n label=\"Toggle sidebar\"\n><ui-icon name=\"panel-left\"></ui-icon></ui-icon-button>",
21235
+ "resizable": false,
21236
+ "bindings": "",
21237
+ "frameworks": {}
21238
+ },
20733
21239
  {
20734
21240
  "id": "@threadlabs/looma/ui-sidebar/01-app-shell",
20735
21241
  "name": "01-app-shell",
@@ -20934,6 +21440,16 @@
20934
21440
  "vue"
20935
21441
  ],
20936
21442
  "examples": [
21443
+ {
21444
+ "id": "@threadlabs/looma/ui-site-header/00-preview",
21445
+ "name": "00-preview",
21446
+ "title": "Compact header",
21447
+ "description": "Branding and a trailing action in a compact header.",
21448
+ "markup": "<ui-site-header><a slot=\"brand\" href=\"#home\"><ui-icon name=\"compass\"></ui-icon>Folio</a><ui-icon-button slot=\"actions\" label=\"Search\" size=\"sm\"><ui-icon\n name=\"search\"\n ></ui-icon></ui-icon-button></ui-site-header>",
21449
+ "resizable": false,
21450
+ "bindings": "",
21451
+ "frameworks": {}
21452
+ },
20937
21453
  {
20938
21454
  "id": "@threadlabs/looma/ui-site-header/01-default",
20939
21455
  "name": "01-default",
@@ -21067,6 +21583,17 @@
21067
21583
  "vue"
21068
21584
  ],
21069
21585
  "examples": [
21586
+ {
21587
+ "id": "@threadlabs/looma/ui-skeleton/00-preview",
21588
+ "name": "00-preview",
21589
+ "title": "Loading text",
21590
+ "description": "Placeholders reserve real line boxes while content loads.",
21591
+ "markup": "<ui-stack gap=\"xs\"><ui-skeleton></ui-skeleton><ui-skeleton width=\"85%\"></ui-skeleton><ui-skeleton width=\"60%\"></ui-skeleton></ui-stack>",
21592
+ "resizable": false,
21593
+ "stretch": true,
21594
+ "bindings": "",
21595
+ "frameworks": {}
21596
+ },
21070
21597
  {
21071
21598
  "id": "@threadlabs/looma/ui-skeleton/01-text",
21072
21599
  "name": "01-text",
@@ -21438,23 +21965,18 @@
21438
21965
  "component": [
21439
21966
  {
21440
21967
  "name": "--ui-stack-gap",
21441
- "declarations": [
21442
- "var(--ui-space-4)",
21443
- "0px",
21444
- "var(--ui-space-2)",
21445
- "var(--ui-space-3)",
21446
- "var(--ui-space-5)",
21447
- "var(--ui-space-6)"
21448
- ]
21449
- },
21450
- {
21451
- "name": "--ui-stack-height",
21452
21968
  "fallbacks": [
21453
- "0"
21969
+ "calc(var(--_layout-gap) * clamp(0.75, var(--ui-rhythm, 1), 1.5))"
21454
21970
  ]
21455
21971
  }
21456
21972
  ],
21457
21973
  "shared": [
21974
+ {
21975
+ "name": "--ui-rhythm",
21976
+ "fallbacks": [
21977
+ "1"
21978
+ ]
21979
+ },
21458
21980
  {
21459
21981
  "name": "--ui-space-2"
21460
21982
  },
@@ -21495,7 +22017,7 @@
21495
22017
  {
21496
22018
  "name": "gap",
21497
22019
  "property": "gap",
21498
- "description": "Space between items, on the spacing scale: none is zero, xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-stack-gap custom property, set on the stack itself, overrides it; set on an ancestor, it does nothing.",
22020
+ "description": "Space between items, on the spacing scale: none is zero, xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-stack-gap custom property, set on :root, an ancestor, or the component itself, overrides it. Theme rhythm scales these vertical gaps, while an explicit gap override stays exact.",
21499
22021
  "type": "keyword",
21500
22022
  "options": [
21501
22023
  "none",
@@ -21545,7 +22067,7 @@
21545
22067
  },
21546
22068
  {
21547
22069
  "name": "gap",
21548
- "description": "Space between items, on the spacing scale: none is zero, xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-stack-gap custom property, set on the stack itself, overrides it; set on an ancestor, it does nothing.",
22070
+ "description": "Space between items, on the spacing scale: none is zero, xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-stack-gap custom property, set on :root, an ancestor, or the component itself, overrides it. Theme rhythm scales these vertical gaps, while an explicit gap override stays exact.",
21549
22071
  "type": "\"none\" | \"xs\" | \"s\" | \"m\" | \"l\" | \"xl\"",
21550
22072
  "options": [
21551
22073
  "none",
@@ -21756,6 +22278,16 @@
21756
22278
  "vue"
21757
22279
  ],
21758
22280
  "examples": [
22281
+ {
22282
+ "id": "@threadlabs/looma/ui-status-message/00-preview",
22283
+ "name": "00-preview",
22284
+ "title": "Empty state",
22285
+ "description": "One empty state and its next action.",
22286
+ "markup": "<ui-status-message heading=\"No notes yet\"><ui-button slot=\"action\" size=\"sm\" preset=\"primary\">Create a note</ui-button></ui-status-message>",
22287
+ "resizable": false,
22288
+ "bindings": "",
22289
+ "frameworks": {}
22290
+ },
21759
22291
  {
21760
22292
  "id": "@threadlabs/looma/ui-status-message/01-kinds",
21761
22293
  "name": "01-kinds",
@@ -21893,6 +22425,16 @@
21893
22425
  "vue"
21894
22426
  ],
21895
22427
  "examples": [
22428
+ {
22429
+ "id": "@threadlabs/looma/ui-swatch/00-preview",
22430
+ "name": "00-preview",
22431
+ "title": "Choose a color",
22432
+ "description": "Three tones show selection without overflowing the compact card.",
22433
+ "markup": "<ui-radio-group label=\"Color\" value=\"blue\"><ui-swatch tone=\"blue\"></ui-swatch><ui-swatch tone=\"green\"></ui-swatch><ui-swatch\n tone=\"purple\"\n ></ui-swatch></ui-radio-group>",
22434
+ "resizable": false,
22435
+ "bindings": "",
22436
+ "frameworks": {}
22437
+ },
21896
22438
  {
21897
22439
  "id": "@threadlabs/looma/ui-swatch/01-tones",
21898
22440
  "name": "01-tones",
@@ -22326,7 +22868,7 @@
22326
22868
  {
22327
22869
  "name": "gap",
22328
22870
  "property": "gap",
22329
- "description": "Space between items, on the spacing scale: xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-switcher-gap custom property, set on the switcher itself, overrides it; set on an ancestor, it does nothing.",
22871
+ "description": "Space between items, on the spacing scale: xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-switcher-gap custom property, set on :root, an ancestor, or the component itself, overrides it.",
22330
22872
  "type": "keyword",
22331
22873
  "options": [
22332
22874
  "xs",
@@ -22369,7 +22911,7 @@
22369
22911
  },
22370
22912
  {
22371
22913
  "name": "gap",
22372
- "description": "Space between items, on the spacing scale: xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-switcher-gap custom property, set on the switcher itself, overrides it; set on an ancestor, it does nothing.",
22914
+ "description": "Space between items, on the spacing scale: xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-switcher-gap custom property, set on :root, an ancestor, or the component itself, overrides it.",
22373
22915
  "type": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\"",
22374
22916
  "options": [
22375
22917
  "xs",
@@ -22571,6 +23113,16 @@
22571
23113
  "vue"
22572
23114
  ],
22573
23115
  "examples": [
23116
+ {
23117
+ "id": "@threadlabs/looma/ui-table/00-preview",
23118
+ "name": "00-preview",
23119
+ "title": "Recent updates",
23120
+ "description": "A compact two-column table with readable headings and two rows.",
23121
+ "markup": "<ui-table><table>\n <caption>Recent updates</caption>\n <thead>\n <tr>\n <th scope=\"col\">Page</th>\n <th scope=\"col\">Status</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <th scope=\"row\">Roadmap</th>\n <td>Draft</td>\n </tr>\n <tr>\n <th scope=\"row\">Guide</th>\n <td>Ready</td>\n </tr>\n </tbody>\n </table></ui-table>",
23122
+ "resizable": false,
23123
+ "bindings": "",
23124
+ "frameworks": {}
23125
+ },
22574
23126
  {
22575
23127
  "id": "@threadlabs/looma/ui-table/01-default",
22576
23128
  "name": "01-default",
@@ -22967,17 +23519,20 @@
22967
23519
  {
22968
23520
  "name": "--ui-text-muted"
22969
23521
  },
22970
- {
22971
- "name": "--ui-text-primary"
22972
- },
22973
23522
  {
22974
23523
  "name": "--ui-text-secondary"
22975
23524
  }
22976
23525
  ],
22977
23526
  "shared": [
23527
+ {
23528
+ "name": "--ui-accent-secondary-subtle-text"
23529
+ },
22978
23530
  {
22979
23531
  "name": "--ui-accent-subtle-text"
22980
23532
  },
23533
+ {
23534
+ "name": "--ui-accent-tertiary-subtle-text"
23535
+ },
22981
23536
  {
22982
23537
  "name": "--ui-danger-subtle-text"
22983
23538
  },
@@ -23036,6 +23591,12 @@
23036
23591
  {
23037
23592
  "name": "--ui-line-height-tight"
23038
23593
  },
23594
+ {
23595
+ "name": "--ui-link-color",
23596
+ "fallbacks": [
23597
+ "var(--ui-accent-subtle-text)"
23598
+ ]
23599
+ },
23039
23600
  {
23040
23601
  "name": "--ui-success-subtle-text"
23041
23602
  },
@@ -23112,7 +23673,7 @@
23112
23673
  {
23113
23674
  "name": "tone",
23114
23675
  "property": "tone",
23115
- "description": "The text's colour, by meaning. secondary is supporting prose such as a description; muted is quieter still, for metadata and hints; accent draws the eye; danger states an error; success confirms one; info marks something moving forward normally; warning marks something that needs attention. Colour alone does not carry the meaning, so the words must say it too.",
23676
+ "description": "The text's colour, by meaning. default inherits its containing surface or control's foreground. secondary is supporting prose such as a description; muted is quieter still, for metadata and hints; accent draws the eye; danger states an error; success confirms one; info marks something moving forward normally; warning marks something that needs attention. Colour alone does not carry the meaning, so the words must say it too. Supporting brand families use accent-secondary and accent-tertiary; their usable colors derive from the theme, and unset families follow the primary accent.",
23116
23677
  "type": "keyword",
23117
23678
  "default": "default",
23118
23679
  "options": [
@@ -23120,6 +23681,8 @@
23120
23681
  "secondary",
23121
23682
  "muted",
23122
23683
  "accent",
23684
+ "accent-secondary",
23685
+ "accent-tertiary",
23123
23686
  "danger",
23124
23687
  "success",
23125
23688
  "info",
@@ -23243,14 +23806,16 @@
23243
23806
  },
23244
23807
  {
23245
23808
  "name": "tone",
23246
- "description": "The text's colour, by meaning. secondary is supporting prose such as a description; muted is quieter still, for metadata and hints; accent draws the eye; danger states an error; success confirms one; info marks something moving forward normally; warning marks something that needs attention. Colour alone does not carry the meaning, so the words must say it too.",
23247
- "type": "\"default\" | \"secondary\" | \"muted\" | \"accent\" | \"danger\" | \"success\" | \"info\" | \"warning\"",
23809
+ "description": "The text's colour, by meaning. default inherits its containing surface or control's foreground. secondary is supporting prose such as a description; muted is quieter still, for metadata and hints; accent draws the eye; danger states an error; success confirms one; info marks something moving forward normally; warning marks something that needs attention. Colour alone does not carry the meaning, so the words must say it too. Supporting brand families use accent-secondary and accent-tertiary; their usable colors derive from the theme, and unset families follow the primary accent.",
23810
+ "type": "\"default\" | \"secondary\" | \"muted\" | \"accent\" | \"accent-secondary\" | \"accent-tertiary\" | \"danger\" | \"success\" | \"info\" | \"warning\"",
23248
23811
  "default": "default",
23249
23812
  "options": [
23250
23813
  "default",
23251
23814
  "secondary",
23252
23815
  "muted",
23253
23816
  "accent",
23817
+ "accent-secondary",
23818
+ "accent-tertiary",
23254
23819
  "danger",
23255
23820
  "success",
23256
23821
  "info",
@@ -23323,12 +23888,22 @@
23323
23888
  "vue"
23324
23889
  ],
23325
23890
  "examples": [
23891
+ {
23892
+ "id": "@threadlabs/looma/ui-text/00-preview",
23893
+ "name": "00-preview",
23894
+ "title": "Text hierarchy",
23895
+ "description": "Heading, body and supporting text at normal reading size.",
23896
+ "markup": "<ui-stack gap=\"xs\"><ui-text variant=\"heading\" as=\"h4\">Clear ideas.</ui-text><ui-text>Space to make them happen.</ui-text><ui-text variant=\"caption\"\n >Updated today</ui-text></ui-stack>",
23897
+ "resizable": false,
23898
+ "bindings": "",
23899
+ "frameworks": {}
23900
+ },
23326
23901
  {
23327
23902
  "id": "@threadlabs/looma/ui-text/01-tones",
23328
23903
  "name": "01-tones",
23329
23904
  "title": "Tones",
23330
23905
  "description": "A tone says what the text is. Default for content, secondary for supporting prose, muted for metadata and hints, info for something moving forward, warning for something that needs attention, danger for an error.",
23331
- "markup": "<ui-stack gap=\"xs\">\n <ui-text>Default: the content itself.</ui-text>\n <ui-text tone=\"secondary\">Secondary: a description that supports it.</ui-text>\n <ui-text tone=\"muted\" size=\"sm\">Muted, small: Edited 2h ago</ui-text>\n <ui-text tone=\"info\" size=\"sm\">Info: Scheduled for tomorrow.</ui-text>\n <ui-text tone=\"warning\" size=\"sm\">Warning: Add a billing address before you publish.</ui-text>\n <ui-text tone=\"danger\" size=\"sm\">Danger: That address is taken.</ui-text>\n</ui-stack>",
23906
+ "markup": "<ui-stack gap=\"xs\">\n <ui-text>Default: the content itself.</ui-text>\n <ui-text tone=\"secondary\">Secondary: a description that supports it.</ui-text>\n <ui-text tone=\"muted\" size=\"sm\">Muted, small: Edited 2h ago</ui-text>\n <ui-text tone=\"info\" size=\"sm\">Info: Scheduled for tomorrow.</ui-text>\n <ui-text tone=\"warning\" size=\"sm\">Warning: Add a billing address before you publish.</ui-text>\n <ui-text tone=\"danger\" size=\"sm\">Danger: That address is taken.</ui-text>\n <ui-text tone=\"accent-secondary\">A supporting brand highlight.</ui-text>\n <ui-text tone=\"accent-tertiary\">Another category in the same palette.</ui-text>\n</ui-stack>",
23332
23907
  "resizable": false,
23333
23908
  "bindings": "",
23334
23909
  "frameworks": {}
@@ -23756,21 +24331,24 @@
23756
24331
  {
23757
24332
  "name": "--ui-overlay-surface",
23758
24333
  "declarations": [
23759
- "var(--ui-surface-muted)",
24334
+ "var(--ui-overlay-surface, var(--ui-surface-muted))",
23760
24335
  "var(--ui-info-soft)",
23761
24336
  "var(--ui-success-soft)",
23762
24337
  "var(--ui-warning-soft)",
23763
24338
  "var(--ui-danger-soft)"
24339
+ ],
24340
+ "fallbacks": [
24341
+ "var(--ui-surface-muted)"
23764
24342
  ]
23765
24343
  },
23766
24344
  {
23767
24345
  "name": "--ui-toast-accent",
23768
24346
  "declarations": [
23769
- "var(--ui-border-strong)",
23770
- "var(--ui-info-solid)",
23771
- "var(--ui-success-solid)",
23772
- "var(--ui-warning-solid)",
23773
- "var(--ui-danger-solid)"
24347
+ "var(--ui-overlay-border, var(--ui-border-strong))",
24348
+ "var(--ui-info-soft-border)",
24349
+ "var(--ui-success-soft-border)",
24350
+ "var(--ui-warning-soft-border)",
24351
+ "var(--ui-danger-soft-border)"
23774
24352
  ]
23775
24353
  },
23776
24354
  {
@@ -23809,7 +24387,10 @@
23809
24387
  "name": "--ui-danger-soft"
23810
24388
  },
23811
24389
  {
23812
- "name": "--ui-danger-solid"
24390
+ "name": "--ui-danger-soft-border"
24391
+ },
24392
+ {
24393
+ "name": "--ui-danger-subtle-text"
23813
24394
  },
23814
24395
  {
23815
24396
  "name": "--ui-elevation-overlay",
@@ -23830,7 +24411,10 @@
23830
24411
  "name": "--ui-info-soft"
23831
24412
  },
23832
24413
  {
23833
- "name": "--ui-info-solid"
24414
+ "name": "--ui-info-soft-border"
24415
+ },
24416
+ {
24417
+ "name": "--ui-info-subtle-text"
23834
24418
  },
23835
24419
  {
23836
24420
  "name": "--ui-line-height-md"
@@ -23838,6 +24422,7 @@
23838
24422
  {
23839
24423
  "name": "--ui-overlay-border",
23840
24424
  "fallbacks": [
24425
+ "var(--ui-border-strong)",
23841
24426
  "var(--ui-toast-accent, var(--_ui-toast-accent))"
23842
24427
  ]
23843
24428
  },
@@ -23872,7 +24457,10 @@
23872
24457
  "name": "--ui-success-soft"
23873
24458
  },
23874
24459
  {
23875
- "name": "--ui-success-solid"
24460
+ "name": "--ui-success-soft-border"
24461
+ },
24462
+ {
24463
+ "name": "--ui-success-subtle-text"
23876
24464
  },
23877
24465
  {
23878
24466
  "name": "--ui-surface-muted"
@@ -23884,7 +24472,10 @@
23884
24472
  "name": "--ui-warning-soft"
23885
24473
  },
23886
24474
  {
23887
- "name": "--ui-warning-solid"
24475
+ "name": "--ui-warning-soft-border"
24476
+ },
24477
+ {
24478
+ "name": "--ui-warning-subtle-text"
23888
24479
  }
23889
24480
  ]
23890
24481
  },
@@ -23991,7 +24582,7 @@
23991
24582
  "name": "01-authored",
23992
24583
  "title": "Authored status and action",
23993
24584
  "description": "A toast can carry a semantic tone and an authored action. It starts hidden here; the application clears hidden to show it and handles the action, and the toast hides itself when dismissed.",
23994
- "markup": "<ui-button id=\"show-saved-toast\">Show toast</ui-button>\n<ui-toast-region placement=\"top-end\">\n <ui-toast id=\"saved-toast\" tone=\"success\" hidden>\n Draft saved.\n <button slot=\"action\" type=\"button\">Undo</button>\n </ui-toast>\n</ui-toast-region>",
24585
+ "markup": "<ui-button id=\"show-saved-toast\" data-example-id=\"show-saved-toast\">Show toast</ui-button>\n<ui-toast-region placement=\"top-end\">\n <ui-toast id=\"saved-toast\" data-example-id=\"saved-toast\" tone=\"success\" hidden>\n Draft saved.\n <button slot=\"action\" type=\"button\">Undo</button>\n </ui-toast>\n</ui-toast-region>",
23995
24586
  "resizable": false,
23996
24587
  "bindings": "",
23997
24588
  "frameworks": {},
@@ -24002,7 +24593,7 @@
24002
24593
  "name": "02-danger",
24003
24594
  "title": "Danger alert",
24004
24595
  "description": "A danger toast uses an assertive alert role. Keep important alerts persistent until a person can act on them. Clearing hidden shows it, and it hides itself when dismissed.",
24005
- "markup": "<ui-button id=\"show-failed-toast\">Show alert</ui-button>\n<ui-toast-region placement=\"bottom\">\n <ui-toast id=\"failed-toast\" tone=\"danger\" hidden>The upload failed. Check the connection and try again.</ui-toast>\n</ui-toast-region>",
24596
+ "markup": "<ui-button id=\"show-failed-toast\" data-example-id=\"show-failed-toast\">Show alert</ui-button>\n<ui-toast-region placement=\"bottom\">\n <ui-toast id=\"failed-toast\" data-example-id=\"failed-toast\" tone=\"danger\" hidden>The upload failed. Check the connection and try again.</ui-toast>\n</ui-toast-region>",
24006
24597
  "resizable": false,
24007
24598
  "bindings": "",
24008
24599
  "frameworks": {},
@@ -24023,21 +24614,27 @@
24023
24614
  {
24024
24615
  "name": "--ui-overlay-border",
24025
24616
  "declarations": [
24026
- "var(--ui-border-strong)",
24027
- "var(--ui-info-solid)",
24028
- "var(--ui-success-solid)",
24029
- "var(--ui-warning-solid)",
24030
- "var(--ui-danger-solid)"
24617
+ "var(--ui-overlay-border, var(--ui-border-strong))",
24618
+ "var(--ui-info-soft-border)",
24619
+ "var(--ui-success-soft-border)",
24620
+ "var(--ui-warning-soft-border)",
24621
+ "var(--ui-danger-soft-border)"
24622
+ ],
24623
+ "fallbacks": [
24624
+ "var(--ui-border-strong)"
24031
24625
  ]
24032
24626
  },
24033
24627
  {
24034
24628
  "name": "--ui-overlay-surface",
24035
24629
  "declarations": [
24036
- "var(--ui-surface-muted)",
24630
+ "var(--ui-overlay-surface, var(--ui-surface-muted))",
24037
24631
  "var(--ui-info-soft)",
24038
24632
  "var(--ui-success-soft)",
24039
24633
  "var(--ui-warning-soft)",
24040
24634
  "var(--ui-danger-soft)"
24635
+ ],
24636
+ "fallbacks": [
24637
+ "var(--ui-surface-muted)"
24041
24638
  ]
24042
24639
  },
24043
24640
  {
@@ -24088,7 +24685,10 @@
24088
24685
  "name": "--ui-danger-soft"
24089
24686
  },
24090
24687
  {
24091
- "name": "--ui-danger-solid"
24688
+ "name": "--ui-danger-soft-border"
24689
+ },
24690
+ {
24691
+ "name": "--ui-danger-subtle-text"
24092
24692
  },
24093
24693
  {
24094
24694
  "name": "--ui-elevation-overlay",
@@ -24109,7 +24709,10 @@
24109
24709
  "name": "--ui-info-soft"
24110
24710
  },
24111
24711
  {
24112
- "name": "--ui-info-solid"
24712
+ "name": "--ui-info-soft-border"
24713
+ },
24714
+ {
24715
+ "name": "--ui-info-subtle-text"
24113
24716
  },
24114
24717
  {
24115
24718
  "name": "--ui-line-height-md"
@@ -24154,7 +24757,10 @@
24154
24757
  "name": "--ui-success-soft"
24155
24758
  },
24156
24759
  {
24157
- "name": "--ui-success-solid"
24760
+ "name": "--ui-success-soft-border"
24761
+ },
24762
+ {
24763
+ "name": "--ui-success-subtle-text"
24158
24764
  },
24159
24765
  {
24160
24766
  "name": "--ui-surface-muted"
@@ -24166,7 +24772,10 @@
24166
24772
  "name": "--ui-warning-soft"
24167
24773
  },
24168
24774
  {
24169
- "name": "--ui-warning-solid"
24775
+ "name": "--ui-warning-soft-border"
24776
+ },
24777
+ {
24778
+ "name": "--ui-warning-subtle-text"
24170
24779
  }
24171
24780
  ]
24172
24781
  },
@@ -25247,6 +25856,16 @@
25247
25856
  "vue"
25248
25857
  ],
25249
25858
  "examples": [
25859
+ {
25860
+ "id": "@threadlabs/looma/ui-tree/00-preview",
25861
+ "name": "00-preview",
25862
+ "title": "Project files",
25863
+ "description": "A small expanded branch shows the hierarchy without filling the card.",
25864
+ "markup": "<ui-tree label=\"Project files\"><ui-tree-item item-id=\"project\" label=\"Project\" expanded><ui-tree-item item-id=\"guide\" label=\"Guide\"></ui-tree-item><ui-tree-item\n item-id=\"notes\"\n label=\"Notes\"\n ></ui-tree-item></ui-tree-item></ui-tree>",
25865
+ "resizable": false,
25866
+ "bindings": "",
25867
+ "frameworks": {}
25868
+ },
25250
25869
  {
25251
25870
  "id": "@threadlabs/looma/ui-tree/01-default",
25252
25871
  "name": "01-default",