@threadlabs/looma 0.51.5 → 0.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (369) hide show
  1. package/README.md +4 -4
  2. package/components/shared/overlay.js +7 -2
  3. package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -0
  4. package/components/ui-calendar/ui-calendar.js +11 -7
  5. package/components/ui-card/ui-card.html +7 -0
  6. package/components/ui-date-field/ui-date-field.js +0 -5
  7. package/components/ui-disclosure/ui-disclosure.js +19 -4
  8. package/components/ui-editor-link-form/ui-editor-link-form.js +5 -0
  9. package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +2 -3
  10. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +10 -1
  11. package/components/ui-file-input/ui-file-input.js +0 -2
  12. package/components/ui-status-message/ui-status-message.html +1 -0
  13. package/components/ui-tabs/ui-tabs.html +1 -0
  14. package/components/ui-tooltip/ui-tooltip.html +11 -32
  15. package/dist/index.js +14 -8
  16. package/docs/catalog.json +592 -131
  17. package/editor/components.css +530 -551
  18. package/editor/index.js +72 -47
  19. package/package.json +30 -35
  20. package/styles/ui-action-bar.css +8 -8
  21. package/styles/ui-affordance-scope.css +10 -10
  22. package/styles/ui-avatar-group.css +11 -11
  23. package/styles/ui-avatar.css +14 -14
  24. package/styles/ui-badge.css +67 -67
  25. package/styles/ui-breadcrumb-item.css +10 -10
  26. package/styles/ui-breadcrumbs.css +8 -8
  27. package/styles/ui-button.css +99 -99
  28. package/styles/ui-calendar.css +1 -1
  29. package/styles/ui-callout.css +14 -14
  30. package/styles/ui-card-group.css +11 -11
  31. package/styles/ui-card.css +40 -35
  32. package/styles/ui-checkbox.css +28 -28
  33. package/styles/ui-cluster.css +30 -30
  34. package/styles/ui-color-picker.css +16 -16
  35. package/styles/ui-combobox.css +50 -50
  36. package/styles/ui-compact-content.css +1 -1
  37. package/styles/ui-compact-editor.css +1 -1
  38. package/styles/ui-compact-mark.css +1 -1
  39. package/styles/ui-compact-node.css +1 -1
  40. package/styles/ui-container.css +14 -14
  41. package/styles/ui-context-menu.css +8 -8
  42. package/styles/ui-cover.css +9 -9
  43. package/styles/ui-curve-editor.css +9 -9
  44. package/styles/ui-cycle-button.css +10 -10
  45. package/styles/ui-date-field.css +1 -1
  46. package/styles/ui-date-picker.css +1 -1
  47. package/styles/ui-date-range-picker.css +1 -1
  48. package/styles/ui-description-item.css +8 -8
  49. package/styles/ui-description-list.css +18 -18
  50. package/styles/ui-dialog.css +37 -37
  51. package/styles/ui-disclosure.css +26 -26
  52. package/styles/ui-editable.css +13 -13
  53. package/styles/ui-editor-block-actions.css +1 -1
  54. package/styles/ui-editor-chip-editor.css +1 -1
  55. package/styles/ui-editor-code-language.css +1 -1
  56. package/styles/ui-editor-footnote-editor.css +1 -1
  57. package/styles/ui-editor-formatting-tools.css +1 -1
  58. package/styles/ui-editor-image-toolbar.css +1 -1
  59. package/styles/ui-editor-insert-table-grid.css +9 -9
  60. package/styles/ui-editor-link-card.css +1 -1
  61. package/styles/ui-editor-link-form.css +1 -1
  62. package/styles/ui-editor-mention-menu-item.css +13 -15
  63. package/styles/ui-editor-mention-menu.css +12 -12
  64. package/styles/ui-editor-slash-menu-group.css +7 -7
  65. package/styles/ui-editor-slash-menu-item.css +12 -12
  66. package/styles/ui-editor-slash-menu.css +13 -13
  67. package/styles/ui-editor-surface.css +8 -8
  68. package/styles/ui-editor-table-context-menu.css +19 -15
  69. package/styles/ui-editor-table-overlay.css +15 -15
  70. package/styles/ui-editor-table-toolbar.css +19 -19
  71. package/styles/ui-editor-toolbar.css +16 -16
  72. package/styles/ui-editor.css +1 -1
  73. package/styles/ui-file-input.css +1 -1
  74. package/styles/ui-floating-action-button.css +14 -14
  75. package/styles/ui-form-field.css +9 -9
  76. package/styles/ui-grid.css +19 -19
  77. package/styles/ui-icon-button.css +73 -73
  78. package/styles/ui-icon.css +11 -11
  79. package/styles/ui-image.css +23 -23
  80. package/styles/ui-input-group.css +26 -26
  81. package/styles/ui-input.css +23 -23
  82. package/styles/ui-light-editor.css +15 -15
  83. package/styles/ui-list-item.css +25 -25
  84. package/styles/ui-list.css +16 -16
  85. package/styles/ui-listbox.css +22 -22
  86. package/styles/ui-menu-group.css +7 -7
  87. package/styles/ui-menu-item.css +20 -20
  88. package/styles/ui-menu.css +20 -20
  89. package/styles/ui-meter.css +32 -32
  90. package/styles/ui-nav-item.css +18 -18
  91. package/styles/ui-number-input.css +12 -12
  92. package/styles/ui-page-header.css +10 -10
  93. package/styles/ui-pagination.css +1 -1
  94. package/styles/ui-popover.css +17 -17
  95. package/styles/ui-radio-group.css +10 -10
  96. package/styles/ui-radio.css +25 -25
  97. package/styles/ui-reel.css +21 -21
  98. package/styles/ui-scroll-area.css +20 -20
  99. package/styles/ui-search-result-row.css +16 -16
  100. package/styles/ui-search-shell.css +10 -10
  101. package/styles/ui-section.css +18 -18
  102. package/styles/ui-select.css +22 -22
  103. package/styles/ui-separator.css +12 -12
  104. package/styles/ui-sidebar.css +26 -26
  105. package/styles/ui-site-header.css +65 -65
  106. package/styles/ui-skeleton.css +18 -18
  107. package/styles/ui-slider.css +11 -11
  108. package/styles/ui-spinner.css +9 -9
  109. package/styles/ui-stack.css +22 -22
  110. package/styles/ui-status-message.css +12 -12
  111. package/styles/ui-swatch.css +14 -14
  112. package/styles/ui-switch.css +23 -23
  113. package/styles/ui-switcher.css +20 -20
  114. package/styles/ui-table.css +12 -12
  115. package/styles/ui-tabs.css +18 -17
  116. package/styles/ui-text.css +40 -40
  117. package/styles/ui-textarea.css +21 -21
  118. package/styles/ui-time-field.css +1 -1
  119. package/styles/ui-time-picker.css +1 -1
  120. package/styles/ui-toast-region.css +29 -29
  121. package/styles/ui-toast.css +19 -19
  122. package/styles/ui-tooltip.css +37 -58
  123. package/styles/ui-top-bar.css +8 -8
  124. package/styles/ui-tree-item.css +112 -112
  125. package/styles/ui-tree.css +11 -11
  126. package/vanilla/UiActionBar.d.ts +1 -1
  127. package/vanilla/UiActionBar.js +2 -2
  128. package/vanilla/UiAffordanceScope.d.ts +1 -1
  129. package/vanilla/UiAffordanceScope.js +2 -2
  130. package/vanilla/UiAvatar.d.ts +1 -1
  131. package/vanilla/UiAvatar.js +2 -2
  132. package/vanilla/UiAvatarGroup.d.ts +1 -1
  133. package/vanilla/UiAvatarGroup.js +2 -2
  134. package/vanilla/UiBadge.d.ts +1 -1
  135. package/vanilla/UiBadge.js +2 -2
  136. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  137. package/vanilla/UiBreadcrumbItem.js +2 -2
  138. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  139. package/vanilla/UiBreadcrumbs.js +2 -2
  140. package/vanilla/UiButton.d.ts +1 -1
  141. package/vanilla/UiButton.js +5 -5
  142. package/vanilla/UiCalendar.d.ts +1 -1
  143. package/vanilla/UiCalendar.js +10 -10
  144. package/vanilla/UiCallout.d.ts +1 -1
  145. package/vanilla/UiCallout.js +2 -2
  146. package/vanilla/UiCard.d.ts +2 -1
  147. package/vanilla/UiCard.js +18 -18
  148. package/vanilla/UiCardGroup.d.ts +1 -1
  149. package/vanilla/UiCardGroup.js +2 -2
  150. package/vanilla/UiCheckbox.d.ts +1 -1
  151. package/vanilla/UiCheckbox.js +2 -2
  152. package/vanilla/UiCluster.d.ts +1 -1
  153. package/vanilla/UiCluster.js +2 -2
  154. package/vanilla/UiColorPicker.d.ts +1 -1
  155. package/vanilla/UiColorPicker.js +2 -2
  156. package/vanilla/UiCombobox.d.ts +1 -1
  157. package/vanilla/UiCombobox.js +8 -8
  158. package/vanilla/UiCompactContent.d.ts +1 -1
  159. package/vanilla/UiCompactContent.js +4 -4
  160. package/vanilla/UiCompactEditor.d.ts +1 -1
  161. package/vanilla/UiCompactEditor.js +2 -2
  162. package/vanilla/UiCompactMark.d.ts +1 -1
  163. package/vanilla/UiCompactMark.js +5 -5
  164. package/vanilla/UiCompactNode.d.ts +1 -1
  165. package/vanilla/UiCompactNode.js +8 -8
  166. package/vanilla/UiContainer.d.ts +1 -1
  167. package/vanilla/UiContainer.js +2 -2
  168. package/vanilla/UiContextMenu.d.ts +1 -1
  169. package/vanilla/UiContextMenu.js +2 -2
  170. package/vanilla/UiCover.d.ts +1 -1
  171. package/vanilla/UiCover.js +2 -2
  172. package/vanilla/UiCurveEditor.d.ts +1 -1
  173. package/vanilla/UiCurveEditor.js +2 -2
  174. package/vanilla/UiCycleButton.d.ts +1 -1
  175. package/vanilla/UiCycleButton.js +2 -2
  176. package/vanilla/UiDateField.d.ts +1 -1
  177. package/vanilla/UiDateField.js +2 -2
  178. package/vanilla/UiDatePicker.d.ts +1 -1
  179. package/vanilla/UiDatePicker.js +2 -2
  180. package/vanilla/UiDateRangePicker.d.ts +1 -1
  181. package/vanilla/UiDateRangePicker.js +4 -4
  182. package/vanilla/UiDescriptionItem.d.ts +1 -1
  183. package/vanilla/UiDescriptionItem.js +2 -2
  184. package/vanilla/UiDescriptionList.d.ts +1 -1
  185. package/vanilla/UiDescriptionList.js +2 -2
  186. package/vanilla/UiDialog.d.ts +1 -1
  187. package/vanilla/UiDialog.js +2 -2
  188. package/vanilla/UiDisclosure.d.ts +1 -1
  189. package/vanilla/UiDisclosure.js +2 -2
  190. package/vanilla/UiEditable.d.ts +1 -1
  191. package/vanilla/UiEditable.js +2 -2
  192. package/vanilla/UiEditor.d.ts +1 -1
  193. package/vanilla/UiEditor.js +6 -6
  194. package/vanilla/UiEditorBlockActions.d.ts +1 -1
  195. package/vanilla/UiEditorBlockActions.js +2 -2
  196. package/vanilla/UiEditorChipEditor.d.ts +1 -1
  197. package/vanilla/UiEditorChipEditor.js +2 -2
  198. package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
  199. package/vanilla/UiEditorCodeLanguage.js +4 -4
  200. package/vanilla/UiEditorFootnoteEditor.d.ts +1 -1
  201. package/vanilla/UiEditorFootnoteEditor.js +2 -2
  202. package/vanilla/UiEditorFormattingTools.d.ts +1 -1
  203. package/vanilla/UiEditorFormattingTools.js +4 -4
  204. package/vanilla/UiEditorImageToolbar.d.ts +1 -1
  205. package/vanilla/UiEditorImageToolbar.js +2 -2
  206. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  207. package/vanilla/UiEditorInsertTableGrid.js +4 -4
  208. package/vanilla/UiEditorLinkCard.d.ts +1 -1
  209. package/vanilla/UiEditorLinkCard.js +2 -2
  210. package/vanilla/UiEditorLinkForm.d.ts +1 -1
  211. package/vanilla/UiEditorLinkForm.js +4 -4
  212. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  213. package/vanilla/UiEditorMentionMenu.js +4 -4
  214. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  215. package/vanilla/UiEditorMentionMenuItem.js +2 -2
  216. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  217. package/vanilla/UiEditorSlashMenu.js +4 -4
  218. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  219. package/vanilla/UiEditorSlashMenuGroup.js +2 -2
  220. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  221. package/vanilla/UiEditorSlashMenuItem.js +2 -2
  222. package/vanilla/UiEditorSurface.d.ts +1 -1
  223. package/vanilla/UiEditorSurface.js +2 -2
  224. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  225. package/vanilla/UiEditorTableContextMenu.js +7 -6
  226. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  227. package/vanilla/UiEditorTableOverlay.js +5 -5
  228. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  229. package/vanilla/UiEditorTableToolbar.js +8 -8
  230. package/vanilla/UiEditorToolbar.d.ts +1 -1
  231. package/vanilla/UiEditorToolbar.js +2 -2
  232. package/vanilla/UiFileInput.d.ts +1 -1
  233. package/vanilla/UiFileInput.js +4 -4
  234. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  235. package/vanilla/UiFloatingActionButton.js +2 -2
  236. package/vanilla/UiFormField.d.ts +1 -1
  237. package/vanilla/UiFormField.js +2 -2
  238. package/vanilla/UiGrid.d.ts +1 -1
  239. package/vanilla/UiGrid.js +4 -4
  240. package/vanilla/UiIcon.d.ts +1 -1
  241. package/vanilla/UiIcon.js +4 -4
  242. package/vanilla/UiIconButton.d.ts +1 -1
  243. package/vanilla/UiIconButton.js +2 -2
  244. package/vanilla/UiImage.d.ts +1 -1
  245. package/vanilla/UiImage.js +2 -2
  246. package/vanilla/UiInput.d.ts +1 -1
  247. package/vanilla/UiInput.js +2 -2
  248. package/vanilla/UiInputGroup.d.ts +1 -1
  249. package/vanilla/UiInputGroup.js +2 -2
  250. package/vanilla/UiLightEditor.d.ts +1 -1
  251. package/vanilla/UiLightEditor.js +2 -2
  252. package/vanilla/UiList.d.ts +1 -1
  253. package/vanilla/UiList.js +3 -3
  254. package/vanilla/UiListItem.d.ts +1 -1
  255. package/vanilla/UiListItem.js +2 -2
  256. package/vanilla/UiListbox.d.ts +1 -1
  257. package/vanilla/UiListbox.js +5 -5
  258. package/vanilla/UiMenu.d.ts +1 -1
  259. package/vanilla/UiMenu.js +2 -2
  260. package/vanilla/UiMenuGroup.d.ts +1 -1
  261. package/vanilla/UiMenuGroup.js +2 -2
  262. package/vanilla/UiMenuItem.d.ts +1 -1
  263. package/vanilla/UiMenuItem.js +3 -3
  264. package/vanilla/UiMeter.d.ts +1 -1
  265. package/vanilla/UiMeter.js +4 -4
  266. package/vanilla/UiNavItem.d.ts +1 -1
  267. package/vanilla/UiNavItem.js +3 -3
  268. package/vanilla/UiNumberInput.d.ts +1 -1
  269. package/vanilla/UiNumberInput.js +2 -2
  270. package/vanilla/UiPageHeader.d.ts +1 -1
  271. package/vanilla/UiPageHeader.js +2 -2
  272. package/vanilla/UiPagination.d.ts +1 -1
  273. package/vanilla/UiPagination.js +4 -4
  274. package/vanilla/UiPopover.d.ts +1 -1
  275. package/vanilla/UiPopover.js +2 -2
  276. package/vanilla/UiRadio.d.ts +1 -1
  277. package/vanilla/UiRadio.js +2 -2
  278. package/vanilla/UiRadioGroup.d.ts +1 -1
  279. package/vanilla/UiRadioGroup.js +2 -2
  280. package/vanilla/UiReel.d.ts +1 -1
  281. package/vanilla/UiReel.js +2 -2
  282. package/vanilla/UiScrollArea.d.ts +1 -1
  283. package/vanilla/UiScrollArea.js +2 -2
  284. package/vanilla/UiSearchResultRow.d.ts +1 -1
  285. package/vanilla/UiSearchResultRow.js +2 -2
  286. package/vanilla/UiSearchShell.d.ts +1 -1
  287. package/vanilla/UiSearchShell.js +2 -2
  288. package/vanilla/UiSection.d.ts +1 -1
  289. package/vanilla/UiSection.js +3 -3
  290. package/vanilla/UiSelect.d.ts +1 -1
  291. package/vanilla/UiSelect.js +2 -2
  292. package/vanilla/UiSeparator.d.ts +1 -1
  293. package/vanilla/UiSeparator.js +2 -2
  294. package/vanilla/UiSidebar.d.ts +1 -1
  295. package/vanilla/UiSidebar.js +2 -2
  296. package/vanilla/UiSiteHeader.d.ts +1 -1
  297. package/vanilla/UiSiteHeader.js +2 -2
  298. package/vanilla/UiSkeleton.d.ts +1 -1
  299. package/vanilla/UiSkeleton.js +2 -2
  300. package/vanilla/UiSlider.d.ts +1 -1
  301. package/vanilla/UiSlider.js +2 -2
  302. package/vanilla/UiSpinner.d.ts +1 -1
  303. package/vanilla/UiSpinner.js +2 -2
  304. package/vanilla/UiStack.d.ts +1 -1
  305. package/vanilla/UiStack.js +2 -2
  306. package/vanilla/UiStatusMessage.d.ts +1 -1
  307. package/vanilla/UiStatusMessage.js +2 -2
  308. package/vanilla/UiSwatch.d.ts +1 -1
  309. package/vanilla/UiSwatch.js +2 -2
  310. package/vanilla/UiSwitch.d.ts +1 -1
  311. package/vanilla/UiSwitch.js +2 -2
  312. package/vanilla/UiSwitcher.d.ts +1 -1
  313. package/vanilla/UiSwitcher.js +2 -2
  314. package/vanilla/UiTable.d.ts +1 -1
  315. package/vanilla/UiTable.js +2 -2
  316. package/vanilla/UiTabs.d.ts +1 -1
  317. package/vanilla/UiTabs.js +4 -4
  318. package/vanilla/UiText.d.ts +1 -1
  319. package/vanilla/UiText.js +13 -13
  320. package/vanilla/UiTextarea.d.ts +1 -1
  321. package/vanilla/UiTextarea.js +2 -2
  322. package/vanilla/UiTimeField.d.ts +1 -1
  323. package/vanilla/UiTimeField.js +2 -2
  324. package/vanilla/UiTimePicker.d.ts +1 -1
  325. package/vanilla/UiTimePicker.js +6 -6
  326. package/vanilla/UiToast.d.ts +1 -1
  327. package/vanilla/UiToast.js +2 -2
  328. package/vanilla/UiToastRegion.d.ts +1 -1
  329. package/vanilla/UiToastRegion.js +4 -4
  330. package/vanilla/UiTooltip.d.ts +1 -1
  331. package/vanilla/UiTooltip.js +2 -2
  332. package/vanilla/UiTopBar.d.ts +1 -1
  333. package/vanilla/UiTopBar.js +2 -2
  334. package/vanilla/UiTree.d.ts +1 -1
  335. package/vanilla/UiTree.js +2 -2
  336. package/vanilla/UiTreeItem.d.ts +1 -1
  337. package/vanilla/UiTreeItem.js +2 -2
  338. package/bin/looma-docs.mjs +0 -3
  339. package/docs/README.md +0 -323
  340. package/docs/card.html +0 -79
  341. package/docs/card.js +0 -18
  342. package/docs/catalog-view.js +0 -24
  343. package/docs/catalog-view.mjs +0 -13
  344. package/docs/catalog.mjs +0 -131
  345. package/docs/cli.mjs +0 -26
  346. package/docs/commands.mjs +0 -94
  347. package/docs/customizer-render.mjs +0 -157
  348. package/docs/customizer.js +0 -494
  349. package/docs/documentation.css +0 -14
  350. package/docs/example-invocations.mjs +0 -63
  351. package/docs/fonts.mjs +0 -73
  352. package/docs/framework-examples.d.mts +0 -9
  353. package/docs/framework-examples.mjs +0 -195
  354. package/docs/index.d.ts +0 -59
  355. package/docs/index.mjs +0 -4
  356. package/docs/local-server.mjs +0 -65
  357. package/docs/navigation.mjs +0 -26
  358. package/docs/palette.mjs +0 -68
  359. package/docs/pastoral.svg +0 -54
  360. package/docs/portrait.svg +0 -15
  361. package/docs/reference.html +0 -1
  362. package/docs/reference.js +0 -36
  363. package/docs/render.mjs +0 -97
  364. package/docs/site.mjs +0 -237
  365. package/docs/store.mjs +0 -92
  366. package/docs/theme-session.mjs +0 -72
  367. package/docs/theme.mjs +0 -669
  368. package/docs/value-editors.mjs +0 -37
  369. package/docs/workspace.mjs +0 -32
@@ -1,13 +1,13 @@
1
- /* Generated by HTML Next 1.0.0-alpha.79. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
2
2
  @supports (-moz-appearance: none) {
3
- :where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
4
- :where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
3
+ :where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
4
+ :where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
5
5
  }
6
6
  @supports (-moz-appearance: none) {
7
- [data-component~="ui-button"] { --html-next-scope-owner: "ui-button" !important; }
7
+ :is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])) { --html-next-scope-owner: "ui-button" !important; }
8
8
  }
9
- @scope ([data-component~="ui-button"]) to ([data-component], [data-slotted]) {
10
- :scope:where([data-component~="ui-button"]) {
9
+ @scope (:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
10
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))) {
11
11
  /* Optional inherited action-group values keep text and icon actions under the same light.
12
12
  One fine top/start highlight follows the bottom/end lowlight at a joined action seam.
13
13
  The shared theme supplies reflections and glow independently of the resting lift. */
@@ -21,8 +21,8 @@
21
21
  }
22
22
 
23
23
  /* Explicit interaction palettes reuse the resting palette bindings, without changing geometry. */
24
- :scope:where([data-component~="ui-button"]),
25
- :scope:where([data-component~="ui-button"])[data-interaction-tone]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
24
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))),
25
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-interaction-tone]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
26
26
  --_tone-border: var(--ui-accent-border, var(--ui-accent));
27
27
  --_tone-hover-border: var(--ui-accent-hover-border, var(--ui-accent-hover));
28
28
  --_tone-active-border: var(--ui-accent-active-border, var(--ui-accent-active));
@@ -54,7 +54,7 @@
54
54
  --_interaction-card-border: var(--_tone-text);
55
55
  }
56
56
 
57
- :scope:where([data-component~="ui-button"]) {
57
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))) {
58
58
  display: inline-flex !important;
59
59
  align-items: center !important;
60
60
  justify-content: center !important;
@@ -63,21 +63,21 @@
63
63
  color: var(--_tone-text);
64
64
  }
65
65
 
66
- :scope:where([data-component~="ui-button"]):dir(rtl) {
66
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))):dir(rtl) {
67
67
  --_ui-action-start: -1px;
68
68
  }
69
69
 
70
- :scope:where([data-component~="ui-button"])[data-ui-button-state~="align=start"] {
70
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="align=start"] {
71
71
  justify-content: flex-start !important;
72
72
  text-align: start;
73
73
  }
74
74
 
75
- :scope:where([data-component~="ui-button"])[data-ui-button-state~="stretch"] {
75
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="stretch"] {
76
76
  display: flex !important;
77
77
  inline-size: 100%;
78
78
  }
79
79
 
80
- :scope:where([data-component~="ui-button"]) {
80
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))) {
81
81
  --_button-square-size: var(--ui-button-min-block-size, var(--ui-control-size-md));
82
82
  box-sizing: border-box !important;
83
83
  appearance: none;
@@ -110,7 +110,7 @@
110
110
  }
111
111
 
112
112
  /* An anchor keeps the boxed button look even when an app styles ordinary links. */
113
- :scope:where([data-component~="ui-button"]):is(a) {
113
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))):is(a) {
114
114
  text-decoration: none;
115
115
  }
116
116
 
@@ -122,7 +122,7 @@
122
122
 
123
123
  /* A count is an adornment, not another line of label text. Keep the standard control height
124
124
  with enough inset for a 24px mark; large content can still grow the button naturally. */
125
- :scope:where([data-component~="ui-button"]):not([data-appearance="link"]):has(.badge:not(:empty)) {
125
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))):not([data-appearance="link"]):has(.badge:not(:empty)) {
126
126
  padding-block: var(--ui-space-0-5) !important;
127
127
  }
128
128
 
@@ -142,7 +142,7 @@
142
142
  text-box-trim: none;
143
143
  }
144
144
 
145
- :scope:where([data-component~="ui-button"])[data-ui-button-state~="align=start"] .label {
145
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="align=start"] .label {
146
146
  flex: 1;
147
147
  }
148
148
 
@@ -163,25 +163,25 @@
163
163
  }
164
164
  }
165
165
 
166
- :scope:where([data-component~="ui-button"])[data-ui-button-state~="size=xs"] {
166
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="size=xs"] {
167
167
  --_button-square-size: var(--ui-control-size-xs);
168
168
  min-block-size: var(--ui-control-size-xs);
169
169
  padding: calc(var(--ui-space-0-5) * 1.5) calc(var(--ui-space-1) * 1.25) !important;
170
170
  font-size: var(--ui-font-size-xs);
171
171
  }
172
172
 
173
- :scope:where([data-component~="ui-button"])[data-ui-button-state~="shape=pill"] {
173
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="shape=pill"] {
174
174
  border-radius: var(--ui-button-radius, var(--ui-radius-round));
175
175
  }
176
176
 
177
- :scope:where([data-component~="ui-button"])[data-ui-button-state~="size=sm"] {
177
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="size=sm"] {
178
178
  --_button-square-size: var(--ui-control-size-sm);
179
179
  min-block-size: var(--ui-control-size-sm);
180
180
  padding: var(--ui-control-inset-block-sm, var(--ui-space-1)) var(--ui-action-inset-sm, var(--ui-space-2)) !important;
181
181
  font-size: var(--ui-font-size-sm);
182
182
  }
183
183
 
184
- :scope:where([data-component~="ui-button"])[data-ui-button-state~="size=lg"] {
184
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="size=lg"] {
185
185
  --_button-square-size: var(--ui-control-size-lg);
186
186
  min-block-size: var(--ui-control-size-lg);
187
187
  padding: var(--ui-control-inset-block-lg, var(--ui-space-3)) var(--ui-action-inset-lg, var(--ui-space-4)) !important;
@@ -189,14 +189,14 @@
189
189
  }
190
190
 
191
191
  /* Short numeric and icon actions share a minimum box; large values remain readable. */
192
- :scope:where([data-component~="ui-button"])[data-ui-button-state~="square"]:not([data-appearance="link"], [data-appearance="card"]) {
192
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="square"]:not([data-appearance="link"], [data-appearance="card"]) {
193
193
  min-inline-size: var(--_button-square-size);
194
194
  padding-inline: var(--ui-space-1) !important;
195
195
  }
196
196
 
197
197
  /* Card actions inherit Button's palette and behavior; only their shared layout changes.
198
198
  The icon may contain any decorative composition. Empty icons remove their column. */
199
- :scope:where([data-component~="ui-button"])[data-appearance="card"] {
199
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="card"] {
200
200
  display: grid !important;
201
201
  grid-template-columns: auto minmax(0, 1fr) auto;
202
202
  align-content: center !important;
@@ -209,10 +209,10 @@
209
209
  box-shadow: none;
210
210
  background-image: none;
211
211
  }
212
- :scope:where([data-component~="ui-button"])[data-appearance="card"][size="lg"] {
212
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="card"][size="lg"] {
213
213
  min-block-size: max(var(--ui-control-min-block-size), var(--ui-control-size-lg));
214
214
  }
215
- :scope:where([data-component~="ui-button"])[data-appearance="card"]:has(.card-icon:empty) {
215
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="card"]:has(.card-icon:empty) {
216
216
  grid-template-columns: minmax(0, 1fr) auto;
217
217
  }
218
218
  .card-icon {
@@ -231,7 +231,7 @@
231
231
  align-self: center;
232
232
  }
233
233
 
234
- :scope:where([data-component~="ui-button"])[data-appearance="outline"]:not([data-tone="neutral"]) {
234
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="outline"]:not([data-tone="neutral"]) {
235
235
  --_outline-wash: var(--_tone-wash);
236
236
  border-color: var(--ui-button-border, var(--_tone-outline-border, var(--_tone-text)));
237
237
  background-color: var(--ui-button-surface, transparent);
@@ -239,7 +239,7 @@
239
239
  background-image: linear-gradient(var(--_outline-wash), var(--_outline-wash));
240
240
  }
241
241
 
242
- :scope:where([data-component~="ui-button"])[data-appearance="outline"]:not([data-tone="neutral"]):hover:not(:disabled, [aria-disabled="true"]) {
242
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="outline"]:not([data-tone="neutral"]):hover:not(:disabled, [aria-disabled="true"]) {
243
243
  --_outline-wash: var(--_tone-wash-hover);
244
244
  background-color: var(--ui-button-hover-surface, transparent);
245
245
  border-color: var(--ui-button-hover-border, var(--_tone-outline-border));
@@ -247,35 +247,35 @@
247
247
 
248
248
  /* A link is never :enabled, so interactive states test "not unavailable" instead: for a button that
249
249
  is exactly :enabled, at the same specificity, and it also matches a link that can be followed. */
250
- :scope:where([data-component~="ui-button"]):hover:not(:disabled, [aria-disabled="true"]) {
250
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))):hover:not(:disabled, [aria-disabled="true"]) {
251
251
  border-color: var(--ui-button-hover-border, var(--_tone-text));
252
252
  background-color: var(--ui-button-hover-surface, oklch(from var(--_tone-text) l c h / calc(12% * var(--ui-tonal-opacity, 1))));
253
253
  }
254
254
 
255
- :scope:where([data-component~="ui-button"])[data-appearance="card"][data-tone="neutral"] {
255
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="card"][data-tone="neutral"] {
256
256
  border-color: var(--ui-button-border, var(--ui-border));
257
257
  }
258
258
 
259
- :scope:where([data-component~="ui-button"])[data-appearance="card"][data-tone="neutral"]:hover:not(:disabled, [aria-disabled="true"]) {
259
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="card"][data-tone="neutral"]:hover:not(:disabled, [aria-disabled="true"]) {
260
260
  border-color: var(--ui-button-hover-border, var(--ui-border-strong));
261
261
  }
262
262
 
263
- :scope:where([data-component~="ui-button"])[data-appearance="card"][aria-pressed="true"] {
263
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="card"][aria-pressed="true"] {
264
264
  background-color: var(--ui-selection-surface);
265
265
  border-color: var(--ui-selection-border);
266
266
  color: var(--ui-selection-text);
267
267
  }
268
268
 
269
269
  /* Pressed outranks tone-specific outline paint: the highlight goes, and the shadow moves inside. */
270
- :scope:where([data-component~="ui-button"]):active:not(:disabled, [aria-disabled="true"]),
271
- :scope:where([data-component~="ui-button"])[data-appearance="outline"][data-tone]:active:not(:disabled, [aria-disabled="true"]) {
270
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))):active:not(:disabled, [aria-disabled="true"]),
271
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="outline"][data-tone]:active:not(:disabled, [aria-disabled="true"]) {
272
272
  scale: var(--ui-press-scale, 1);
273
273
  background-color: var(--ui-button-active-surface, oklch(from var(--_tone) l c h / calc(18% * var(--ui-tonal-opacity, 1))));
274
274
  background-image: none;
275
275
  box-shadow: var(--ui-pressed);
276
276
  }
277
277
 
278
- :scope:where([data-component~="ui-button"])[data-appearance="solid"], :scope:where([data-component~="ui-button"])[data-appearance="danger"] {
278
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="solid"], :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="danger"] {
279
279
  border-color: var(--ui-button-border, var(--_tone-border));
280
280
  background-color: var(--_tone);
281
281
  color: var(--_on-tone);
@@ -285,14 +285,14 @@
285
285
  var(--_tone-glow);
286
286
  }
287
287
 
288
- :scope:where([data-component~="ui-button"])[data-appearance="solid"]:hover:not(:disabled, [aria-disabled="true"]),
289
- :scope:where([data-component~="ui-button"])[data-appearance="danger"]:hover:not(:disabled, [aria-disabled="true"]) {
288
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="solid"]:hover:not(:disabled, [aria-disabled="true"]),
289
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="danger"]:hover:not(:disabled, [aria-disabled="true"]) {
290
290
  background-color: var(--_tone-hover);
291
291
  background-image: var(--_tone-hover-highlight);
292
292
  border-color: var(--ui-button-hover-border, var(--_tone-hover-border));
293
293
  }
294
294
 
295
- :is(:scope:where([data-component~="ui-button"])[data-appearance="solid"], :scope:where([data-component~="ui-button"])[data-appearance="danger"]):active:not(:disabled, [aria-disabled="true"]) {
295
+ :is(:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="solid"], :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="danger"]):active:not(:disabled, [aria-disabled="true"]) {
296
296
  background-color: var(--_tone-active);
297
297
  border-color: var(--_tone-active-border);
298
298
  background-image: none;
@@ -301,8 +301,8 @@
301
301
 
302
302
  /* Tone is the colour, variant is the volume. Every pairing works: a danger outline is a
303
303
  destructive secondary action, not a special case. */
304
- :scope:where([data-component~="ui-button"])[data-tone="accent-secondary"],
305
- :scope:where([data-component~="ui-button"])[data-interaction-tone="accent-secondary"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
304
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="accent-secondary"],
305
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-interaction-tone="accent-secondary"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
306
306
  --_tone-border: var(--ui-accent-secondary-border, var(--ui-accent-secondary));
307
307
  --_tone-hover-border: var(--ui-accent-secondary-hover-border, var(--ui-accent-secondary-hover));
308
308
  --_tone-active-border: var(--ui-accent-secondary-active-border, var(--ui-accent-secondary-active));
@@ -320,8 +320,8 @@
320
320
  --_on-hue: var(--ui-accent-secondary-on-strong);
321
321
  }
322
322
 
323
- :scope:where([data-component~="ui-button"])[data-tone="accent-tertiary"],
324
- :scope:where([data-component~="ui-button"])[data-interaction-tone="accent-tertiary"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
323
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="accent-tertiary"],
324
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-interaction-tone="accent-tertiary"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
325
325
  --_tone-border: var(--ui-accent-tertiary-border, var(--ui-accent-tertiary));
326
326
  --_tone-hover-border: var(--ui-accent-tertiary-hover-border, var(--ui-accent-tertiary-hover));
327
327
  --_tone-active-border: var(--ui-accent-tertiary-active-border, var(--ui-accent-tertiary-active));
@@ -339,8 +339,8 @@
339
339
  --_on-hue: var(--ui-accent-tertiary-on-strong);
340
340
  }
341
341
 
342
- :scope:where([data-component~="ui-button"])[data-tone="neutral"],
343
- :scope:where([data-component~="ui-button"])[data-interaction-tone="neutral"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
342
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="neutral"],
343
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-interaction-tone="neutral"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
344
344
  --_tone-border: var(--ui-control-border, var(--ui-neutral-surface));
345
345
  --_tone-hover-border: var(--ui-control-border-hover, var(--ui-neutral-hover));
346
346
  --_tone-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
@@ -364,41 +364,41 @@
364
364
  --_interaction-card-border: var(--ui-border-strong);
365
365
  }
366
366
 
367
- :scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="solid"] {
367
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="neutral"][data-appearance="solid"] {
368
368
  border-color: var(--ui-button-border, var(--_tone-border));
369
369
  background-color: var(--ui-button-surface, var(--ui-neutral-surface));
370
370
  box-shadow: var(--ui-button-solid-shadow, var(--ui-button-shadow, var(--ui-neutral-shadow)));
371
371
  color: var(--ui-button-text, var(--ui-text));
372
372
  }
373
- :scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="outline"] {
373
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="neutral"][data-appearance="outline"] {
374
374
  border-color: var(--ui-button-border, var(--ui-control-border));
375
375
  background-color: var(--ui-button-surface, transparent);
376
376
  background-image: none;
377
377
  box-shadow: var(--ui-button-shadow, var(--ui-neutral-shadow));
378
378
  }
379
- :scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="outline"]:hover:not(:disabled, [aria-disabled="true"]) {
379
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="neutral"][data-appearance="outline"]:hover:not(:disabled, [aria-disabled="true"]) {
380
380
  border-color: var(--ui-button-hover-border, var(--ui-control-border-hover));
381
381
  background-color: var(--ui-button-hover-surface, transparent);
382
382
  --_outline-wash: var(--ui-neutral-wash-hover);
383
383
  background-image: linear-gradient(var(--_outline-wash), var(--_outline-wash));
384
384
  }
385
- :scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="outline"]:active:not(:disabled, [aria-disabled="true"]) {
385
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="neutral"][data-appearance="outline"]:active:not(:disabled, [aria-disabled="true"]) {
386
386
  background-image: none;
387
387
  border-color: var(--ui-button-hover-border, var(--ui-control-border-hover));
388
388
  background-color: var(--ui-button-active-surface, var(--ui-neutral-active));
389
389
  }
390
- :scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="solid"]:hover:not(:disabled, [aria-disabled="true"]) {
390
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="neutral"][data-appearance="solid"]:hover:not(:disabled, [aria-disabled="true"]) {
391
391
  border-color: var(--ui-button-hover-border, var(--_tone-hover-border));
392
392
  background-color: var(--ui-button-hover-surface, var(--ui-neutral-hover));
393
393
  }
394
- :scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="solid"]:active:not(:disabled, [aria-disabled="true"]) {
394
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="neutral"][data-appearance="solid"]:active:not(:disabled, [aria-disabled="true"]) {
395
395
  border-color: var(--_tone-active-border);
396
396
  background-color: var(--ui-button-active-surface, var(--ui-neutral-active));
397
397
  }
398
398
 
399
- :scope:where([data-component~="ui-button"])[data-tone="danger"],
400
- :scope:where([data-component~="ui-button"])[data-appearance="danger"],
401
- :scope:where([data-component~="ui-button"])[data-interaction-tone="danger"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
399
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="danger"],
400
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="danger"],
401
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-interaction-tone="danger"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
402
402
  --_tone-border: var(--ui-danger-border, var(--ui-danger));
403
403
  --_tone-hover-border: var(--ui-danger-hover-border, var(--ui-danger-hover));
404
404
  --_tone-active-border: var(--ui-danger-active-border, var(--ui-danger-active));
@@ -416,8 +416,8 @@
416
416
  --_on-hue: var(--ui-on-danger);
417
417
  }
418
418
 
419
- :scope:where([data-component~="ui-button"])[data-tone="success"],
420
- :scope:where([data-component~="ui-button"])[data-interaction-tone="success"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
419
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="success"],
420
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-interaction-tone="success"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
421
421
  --_tone-border: var(--ui-success-border, var(--ui-success));
422
422
  --_tone-hover-border: var(--ui-success-hover-border, var(--ui-success-hover));
423
423
  --_tone-active-border: var(--ui-success-active-border, var(--ui-success-active));
@@ -435,8 +435,8 @@
435
435
  --_on-hue: var(--ui-success-on-strong);
436
436
  }
437
437
 
438
- :scope:where([data-component~="ui-button"])[data-tone="warning"],
439
- :scope:where([data-component~="ui-button"])[data-interaction-tone="warning"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
438
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="warning"],
439
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-interaction-tone="warning"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
440
440
  --_tone-border: var(--ui-warning-border, var(--ui-warning));
441
441
  --_tone-hover-border: var(--ui-warning-hover-border, var(--ui-warning-hover));
442
442
  --_tone-active-border: var(--ui-warning-active-border, var(--ui-warning-active));
@@ -454,8 +454,8 @@
454
454
  --_on-hue: var(--ui-warning-on-strong);
455
455
  }
456
456
 
457
- :scope:where([data-component~="ui-button"])[data-tone="info"],
458
- :scope:where([data-component~="ui-button"])[data-interaction-tone="info"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
457
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone="info"],
458
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-interaction-tone="info"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
459
459
  --_tone-border: var(--ui-info-border, var(--ui-info));
460
460
  --_tone-hover-border: var(--ui-info-hover-border, var(--ui-info-hover));
461
461
  --_tone-active-border: var(--ui-info-active-border, var(--ui-info-active));
@@ -474,7 +474,7 @@
474
474
  }
475
475
 
476
476
  /* A value picker is a field, with Select's quiet edge and resting lift. */
477
- :scope:where([data-component~="ui-button"])[data-appearance="field"] {
477
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="field"] {
478
478
  --_ui-field-shadow: var(--ui-shadow-sm);
479
479
  border-color: var(--ui-button-border, var(--ui-control-border, var(--ui-border-strong)));
480
480
  border-radius: var(--ui-button-radius, var(--ui-field-radius, var(--ui-radius-md)));
@@ -484,23 +484,23 @@
484
484
  box-shadow: var(--ui-button-shadow, var(--_ui-field-shadow));
485
485
  }
486
486
 
487
- :scope:where([data-component~="ui-button"])[data-appearance="field"]:hover:not(:disabled, [aria-disabled="true"]) {
487
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="field"]:hover:not(:disabled, [aria-disabled="true"]) {
488
488
  border-color: var(--ui-button-hover-border, var(--ui-control-border-hover, var(--ui-text-secondary)));
489
489
  background-color: var(--ui-button-hover-surface, var(--ui-control-surface, var(--ui-surface-elevated)));
490
490
  }
491
491
 
492
- :scope:where([data-component~="ui-button"])[data-appearance="field"]:is(:active, [aria-expanded="true"]):not(:disabled, [aria-disabled="true"]) {
492
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="field"]:is(:active, [aria-expanded="true"]):not(:disabled, [aria-disabled="true"]) {
493
493
  --_ui-field-shadow: var(--ui-pressed);
494
494
  }
495
495
 
496
- :scope:where([data-component~="ui-button"])[data-appearance="field"]:focus-visible {
496
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="field"]:focus-visible {
497
497
  border-color: var(--ui-control-focus, var(--ui-accent-solid));
498
498
  box-shadow:
499
499
  var(--ui-button-shadow, var(--_ui-field-shadow)),
500
500
  var(--ui-control-focus-halo-shadow);
501
501
  }
502
502
 
503
- :scope:where([data-component~="ui-button"])[data-appearance="ghost"] {
503
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="ghost"] {
504
504
  border-color: transparent;
505
505
  background: transparent;
506
506
  box-shadow: none;
@@ -508,18 +508,18 @@
508
508
  }
509
509
 
510
510
  /* Shared translucent paint keeps text and icon action feedback coordinated. */
511
- :scope:where([data-component~="ui-button"])[data-appearance="ghost"]:hover:not(:disabled, [aria-disabled="true"]) {
511
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="ghost"]:hover:not(:disabled, [aria-disabled="true"]) {
512
512
  background-color: var(--ui-button-ghost-hover-surface, var(--_tone-ghost-hover));
513
513
  border-color: transparent;
514
514
  }
515
515
 
516
- :scope:where([data-component~="ui-button"])[data-appearance="ghost"]:is(:active, [aria-expanded="true"]):not(:disabled, [aria-disabled="true"]) {
516
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="ghost"]:is(:active, [aria-expanded="true"]):not(:disabled, [aria-disabled="true"]) {
517
517
  background-color: var(--ui-button-ghost-active-surface, oklch(from var(--_tone) l c h / 18%));
518
518
  border-color: transparent;
519
519
  box-shadow: inset 0 0 0 1px oklch(from var(--_tone) l c h / 10%), inset 0 1px 2px oklch(from var(--_tone) l c h / 8%);
520
520
  }
521
521
 
522
- :scope:where([data-component~="ui-button"])[data-appearance="ghost"][data-selected]:not(:disabled, [aria-disabled="true"]) {
522
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="ghost"][data-selected]:not(:disabled, [aria-disabled="true"]) {
523
523
  background-color: var(--ui-button-ghost-active-surface, var(--ui-selection-surface));
524
524
  color: var(--ui-button-ghost-text, var(--ui-selection-text));
525
525
  border-color: transparent;
@@ -527,7 +527,7 @@
527
527
  }
528
528
 
529
529
  /* Interaction settings choose paint only. Pressed keeps its stronger fill and inset shadow. */
530
- :scope:where([data-component~="ui-button"])[data-tone][data-interaction-appearance="outline"]:hover:not(:disabled, [aria-disabled="true"]) {
530
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone][data-interaction-appearance="outline"]:hover:not(:disabled, [aria-disabled="true"]) {
531
531
  --_interaction-shadow: var(--ui-button-shadow, var(--ui-neutral-shadow));
532
532
  border-color: var(--ui-button-hover-border, var(--_interaction-outline-border));
533
533
  background-color: var(--ui-button-hover-surface, transparent);
@@ -536,7 +536,7 @@
536
536
  box-shadow: var(--_interaction-shadow);
537
537
  }
538
538
 
539
- :scope:where([data-component~="ui-button"])[data-tone][data-interaction-appearance="outline"]:active:not(:disabled, [aria-disabled="true"]) {
539
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone][data-interaction-appearance="outline"]:active:not(:disabled, [aria-disabled="true"]) {
540
540
  --_interaction-shadow: var(--ui-pressed);
541
541
  border-color: var(--ui-button-hover-border, var(--_interaction-outline-border));
542
542
  background-color: var(--ui-button-active-surface, var(--_interaction-outline-active));
@@ -545,7 +545,7 @@
545
545
  box-shadow: var(--_interaction-shadow);
546
546
  }
547
547
 
548
- :scope:where([data-component~="ui-button"])[data-tone]:is([data-interaction-appearance="solid"], [data-interaction-appearance="danger"]):hover:not(:disabled, [aria-disabled="true"]) {
548
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone]:is([data-interaction-appearance="solid"], [data-interaction-appearance="danger"]):hover:not(:disabled, [aria-disabled="true"]) {
549
549
  --_interaction-shadow: var(--_interaction-solid-shadow);
550
550
  border-color: var(--ui-button-hover-border, var(--_tone-hover-border));
551
551
  background-color: var(--ui-button-hover-surface, var(--_interaction-solid-hover));
@@ -554,7 +554,7 @@
554
554
  box-shadow: var(--_interaction-shadow);
555
555
  }
556
556
 
557
- :scope:where([data-component~="ui-button"])[data-tone]:is([data-interaction-appearance="solid"], [data-interaction-appearance="danger"]):active:not(:disabled, [aria-disabled="true"]) {
557
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone]:is([data-interaction-appearance="solid"], [data-interaction-appearance="danger"]):active:not(:disabled, [aria-disabled="true"]) {
558
558
  --_interaction-shadow: var(--ui-pressed);
559
559
  border-color: var(--_tone-active-border);
560
560
  background-color: var(--ui-button-active-surface, var(--_interaction-solid-active));
@@ -563,7 +563,7 @@
563
563
  box-shadow: var(--_interaction-shadow);
564
564
  }
565
565
 
566
- :scope:where([data-component~="ui-button"])[data-tone][data-interaction-appearance="ghost"]:hover:not(:disabled, [aria-disabled="true"]) {
566
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone][data-interaction-appearance="ghost"]:hover:not(:disabled, [aria-disabled="true"]) {
567
567
  --_interaction-shadow: 0 0 transparent;
568
568
  border-color: transparent;
569
569
  background-color: var(--ui-button-ghost-hover-surface, var(--_tone-ghost-hover));
@@ -572,7 +572,7 @@
572
572
  box-shadow: none;
573
573
  }
574
574
 
575
- :scope:where([data-component~="ui-button"])[data-tone][data-interaction-appearance="ghost"]:active:not(:disabled, [aria-disabled="true"]) {
575
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone][data-interaction-appearance="ghost"]:active:not(:disabled, [aria-disabled="true"]) {
576
576
  --_interaction-shadow: inset 0 0 0 1px oklch(from var(--_tone) l c h / 10%), inset 0 1px 2px oklch(from var(--_tone) l c h / 8%);
577
577
  border-color: transparent;
578
578
  background-color: var(--ui-button-ghost-active-surface, oklch(from var(--_tone) l c h / 18%));
@@ -581,7 +581,7 @@
581
581
  box-shadow: var(--_interaction-shadow);
582
582
  }
583
583
 
584
- :scope:where([data-component~="ui-button"])[data-tone][data-interaction-appearance="card"]:hover:not(:disabled, [aria-disabled="true"]) {
584
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone][data-interaction-appearance="card"]:hover:not(:disabled, [aria-disabled="true"]) {
585
585
  --_interaction-shadow: 0 0 transparent;
586
586
  border-color: var(--ui-button-hover-border, var(--_interaction-card-border));
587
587
  background-color: var(--ui-button-hover-surface, oklch(from var(--_tone-text) l c h / calc(12% * var(--ui-tonal-opacity, 1))));
@@ -590,7 +590,7 @@
590
590
  box-shadow: none;
591
591
  }
592
592
 
593
- :scope:where([data-component~="ui-button"])[data-tone][data-interaction-appearance="card"]:active:not(:disabled, [aria-disabled="true"]) {
593
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone][data-interaction-appearance="card"]:active:not(:disabled, [aria-disabled="true"]) {
594
594
  --_interaction-shadow: var(--ui-pressed);
595
595
  border-color: var(--ui-button-hover-border, var(--_interaction-card-border));
596
596
  background-color: var(--ui-button-active-surface, oklch(from var(--_tone) l c h / calc(18% * var(--ui-tonal-opacity, 1))));
@@ -599,54 +599,54 @@
599
599
  box-shadow: var(--_interaction-shadow);
600
600
  }
601
601
 
602
- :scope:where([data-component~="ui-button"])[data-tone][data-interaction-appearance="link"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
602
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone][data-interaction-appearance="link"]:is(:hover, :active):not(:disabled, [aria-disabled="true"]) {
603
603
  color: var(--ui-button-link-hover-text, var(--_tone-text));
604
604
  }
605
605
 
606
- :scope:where([data-component~="ui-button"])[data-tone][data-interaction-appearance="link"]:active:not(:disabled, [aria-disabled="true"]) {
606
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone][data-interaction-appearance="link"]:active:not(:disabled, [aria-disabled="true"]) {
607
607
  text-decoration-thickness: 0.125em;
608
608
  }
609
609
 
610
- :scope:where([data-component~="ui-button"])[data-tone][data-interaction-appearance]:is(:hover, :active):focus-visible:not(:disabled, [aria-disabled="true"]) {
610
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-tone][data-interaction-appearance]:is(:hover, :active):focus-visible:not(:disabled, [aria-disabled="true"]) {
611
611
  box-shadow:
612
612
  var(--_interaction-shadow, 0 0 transparent),
613
613
  var(--ui-focus-halo);
614
614
  }
615
615
 
616
616
  /* A soft halo that transitions in with the other box-shadow changes, layered on the raised shadow. */
617
- :scope:where([data-component~="ui-button"]):focus-visible,
618
- :scope:where([data-component~="ui-button"])[data-appearance="ghost"][data-selected]:focus-visible {
617
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))):focus-visible,
618
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="ghost"][data-selected]:focus-visible {
619
619
  outline: none;
620
620
  box-shadow:
621
621
  var(--ui-button-shadow, var(--ui-action-shadow, var(--_ui-action-shadow))),
622
622
  var(--ui-focus-halo);
623
623
  }
624
624
 
625
- :scope:where([data-component~="ui-button"])[data-appearance="outline"]:focus-visible {
625
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="outline"]:focus-visible {
626
626
  box-shadow:
627
627
  var(--ui-button-shadow, var(--ui-neutral-shadow)),
628
628
  var(--ui-focus-halo);
629
629
  }
630
630
 
631
- :scope:where([data-component~="ui-button"])[data-appearance="outline"]:not([data-interaction-appearance]):active:focus-visible:not(:disabled, [aria-disabled="true"]) {
631
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="outline"]:not([data-interaction-appearance]):active:focus-visible:not(:disabled, [aria-disabled="true"]) {
632
632
  box-shadow:
633
633
  var(--ui-pressed),
634
634
  var(--ui-focus-halo);
635
635
  }
636
636
 
637
- :scope:where([data-component~="ui-button"])[data-appearance="solid"]:focus-visible {
637
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="solid"]:focus-visible {
638
638
  box-shadow:
639
639
  var(--ui-button-solid-shadow, var(--ui-action-shadow, var(--_ui-action-shadow))),
640
640
  var(--ui-focus-halo);
641
641
  }
642
642
 
643
- :is(:scope:where([data-component~="ui-button"])[data-appearance="ghost"], :scope:where([data-component~="ui-button"])[data-appearance="link"], :scope:where([data-component~="ui-button"])[data-appearance="card"]):focus-visible {
643
+ :is(:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="ghost"], :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="link"], :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="card"]):focus-visible {
644
644
  box-shadow: var(--ui-focus-halo);
645
645
  }
646
646
 
647
647
  /* A loading action stays visually active; only an explicitly disabled action takes the
648
648
  neutral disabled palette. Its flat surface and muted ink make the state unambiguous. */
649
- :scope:where([data-component~="ui-button"]):is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
649
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))):is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
650
650
  border-color: var(--ui-disabled-border);
651
651
  background-color: var(--ui-disabled-surface);
652
652
  color: var(--ui-disabled-text);
@@ -657,17 +657,17 @@
657
657
  box-shadow: none;
658
658
  }
659
659
 
660
- :is(:scope:where([data-component~="ui-button"])[data-ui-button-state~="loading"], :scope:where([data-component~="ui-button"])[data-ui-button-state~="pending"]):focus-visible {
660
+ :is(:scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="loading"], :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="pending"]):focus-visible {
661
661
  box-shadow: var(--ui-focus-halo);
662
662
  }
663
663
 
664
664
  /* Disabled ghost actions keep the quiet variant's transparent surface and muted text. */
665
- :scope:where([data-component~="ui-button"])[data-appearance="ghost"]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
665
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="ghost"]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
666
666
  background-color: transparent;
667
667
  border-color: transparent;
668
668
  }
669
669
 
670
- :scope:where([data-component~="ui-button"])[data-appearance="ghost"][data-selected]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
670
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="ghost"][data-selected]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
671
671
  background-color: var(--ui-disabled-surface);
672
672
  }
673
673
 
@@ -677,13 +677,13 @@
677
677
  area, centred on it, like IconButton's. A link-style action keeps its text size, so a standalone one ("See all" under a list) needs the
678
678
  area. xs sits inside a line of text the same way, so it keeps its size and gains the area too.
679
679
  Only these need it: a hit area on every button would reach over its neighbours. */
680
- html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-button"])[data-appearance="link"],
681
- html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-button"])[data-ui-button-state~="size=xs"] {
680
+ html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="link"],
681
+ html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="size=xs"] {
682
682
  position: relative;
683
683
  }
684
684
 
685
- html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-button"])[data-appearance="link"]::after,
686
- html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-button"])[data-ui-button-state~="size=xs"]::after {
685
+ html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="link"]::after,
686
+ html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-ui-button-state~="size=xs"]::after {
687
687
  position: absolute;
688
688
  inset: 50% auto auto 50%;
689
689
  inline-size: max(100%, var(--ui-control-min-block-size));
@@ -694,7 +694,7 @@
694
694
 
695
695
  /* Link: an inline text action. No box, padding, or minimum height (inline targets are exempt under
696
696
  WCAG 2.5.8); the inherited font; an underline that strengthens on hover; a visible focus ring. */
697
- :scope:where([data-component~="ui-button"])[data-appearance="link"] {
697
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="link"] {
698
698
  display: inline !important;
699
699
  min-block-size: 0;
700
700
  padding: 0 !important;
@@ -711,33 +711,33 @@
711
711
  transition: color var(--ui-motion-fast) var(--ui-motion-ease), text-decoration-color var(--ui-motion-fast) var(--ui-motion-ease);
712
712
  }
713
713
 
714
- :scope:where([data-component~="ui-button"])[data-appearance="link"] .label:not(:has(> *)) {
714
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="link"] .label:not(:has(> *)) {
715
715
  display: inline !important;
716
716
  text-box-trim: none;
717
717
  }
718
718
 
719
- :scope:where([data-component~="ui-button"])[data-appearance="link"] .label:has(> *) {
719
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="link"] .label:has(> *) {
720
720
  text-decoration: inherit;
721
721
  }
722
722
 
723
- :scope:where([data-component~="ui-button"])[data-appearance="link"]:hover:not(:disabled, [aria-disabled="true"]) {
723
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="link"]:hover:not(:disabled, [aria-disabled="true"]) {
724
724
  color: var(--ui-button-link-hover-text, var(--ui-text-primary));
725
725
  text-decoration-color: currentColor;
726
726
  background: none;
727
727
  transform: none;
728
728
  }
729
729
 
730
- :scope:where([data-component~="ui-button"])[data-appearance="link"]:active:not(:disabled, [aria-disabled="true"]) {
730
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="link"]:active:not(:disabled, [aria-disabled="true"]) {
731
731
  background: none;
732
732
  transform: none;
733
733
  }
734
734
 
735
- :scope:where([data-component~="ui-button"])[data-appearance="link"]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
735
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="link"]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
736
736
  background: none;
737
737
  border-color: transparent;
738
738
  }
739
739
 
740
- :scope:where([data-component~="ui-button"])[data-appearance="link"]:focus-visible {
740
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[data-appearance="link"]:focus-visible {
741
741
  box-shadow: none;
742
742
  /* Fallback keeps the ring if the token is missing: an unresolved var() would void the outline. */
743
743
  outline: var(--ui-focus-width) solid var(--ui-focus-ring);
@@ -745,11 +745,11 @@
745
745
  }
746
746
 
747
747
  /* A component that sets its display still honours the hidden attribute on its root. */
748
- :scope:where([data-component~="ui-button"])[hidden] {
748
+ :scope:where(:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component])))[hidden] {
749
749
  display: none !important;
750
750
  }
751
751
  }
752
- @scope ([data-component~="ui-button"]) to ([data-component]) {
752
+ @scope (:is([component~="ui-button"]:not(template), [data-component~="ui-button"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
753
753
  /* Explicit interaction palettes reuse the resting palette bindings, without changing geometry. */
754
754
 
755
755
  /* An anchor keeps the boxed button look even when an app styles ordinary links. */