@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 +1 @@
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. */
@@ -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-callout"] { --html-next-scope-owner: "ui-callout" !important; }
7
+ :is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])) { --html-next-scope-owner: "ui-callout" !important; }
8
8
  }
9
- @scope ([data-component~="ui-callout"]) to ([data-component], [data-slotted]) {
10
- :scope:where([data-component~="ui-callout"]) {
9
+ @scope (:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
10
+ :scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component]))) {
11
11
  /* Resolve shared part values at the component root. */
12
12
  --_ui-callout-icon-column: var(--ui-callout-icon-column);
13
13
  --_ui-callout-icon: var(--ui-callout-icon);
@@ -72,7 +72,7 @@
72
72
  font-weight: var(--ui-font-semibold);
73
73
  }
74
74
 
75
- :scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=neutral"], :scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=note"] {
75
+ :scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=neutral"], :scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=note"] {
76
76
  --_ui-selection-context-surface: initial;
77
77
  --_ui-selection-context-border: initial;
78
78
  --_ui-selection-context-text: initial;
@@ -82,35 +82,35 @@
82
82
  --_callout-icon: var(--ui-text-secondary);
83
83
  }
84
84
 
85
- :scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=tip"] {
85
+ :scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=tip"] {
86
86
  --_callout-border: var(--ui-info-soft-border);
87
87
  --_callout-surface: var(--ui-info-soft);
88
88
  --_callout-tone-text: var(--ui-info-subtle-text);
89
89
  --_callout-icon: var(--ui-info-subtle-text);
90
90
  }
91
91
 
92
- :scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=important"] {
92
+ :scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=important"] {
93
93
  --_callout-border: var(--ui-accent-soft-border);
94
94
  --_callout-surface: var(--ui-accent-soft);
95
95
  --_callout-tone-text: var(--ui-accent-subtle-text);
96
96
  --_callout-icon: var(--ui-accent-subtle-text);
97
97
  }
98
98
 
99
- :scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=warning"] {
99
+ :scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=warning"] {
100
100
  --_callout-border: var(--ui-warning-soft-border);
101
101
  --_callout-surface: var(--ui-warning-soft);
102
102
  --_callout-tone-text: var(--ui-warning-subtle-text);
103
103
  --_callout-icon: var(--ui-warning-subtle-text);
104
104
  }
105
105
 
106
- :scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=success"] {
106
+ :scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=success"] {
107
107
  --_callout-border: var(--ui-success-soft-border);
108
108
  --_callout-surface: var(--ui-success-soft);
109
109
  --_callout-tone-text: var(--ui-success-subtle-text);
110
110
  --_callout-icon: var(--ui-success-subtle-text);
111
111
  }
112
112
 
113
- :scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=danger"], :scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=caution"] {
113
+ :scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=danger"], :scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=caution"] {
114
114
  --_callout-border: var(--ui-danger-soft-border);
115
115
  --_callout-surface: var(--ui-danger-soft);
116
116
  --_callout-tone-text: var(--ui-danger-subtle-text);
@@ -120,11 +120,11 @@
120
120
  /* A link in the callout's text is underlined, so it reads as a link by more than colour. */
121
121
 
122
122
  /* A component that sets its display still honours the hidden attribute on its root. */
123
- :scope:where([data-component~="ui-callout"])[hidden] {
123
+ :scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[hidden] {
124
124
  display: none !important;
125
125
  }
126
126
  }
127
- @scope ([data-component~="ui-callout"]) to ([data-component]) {
127
+ @scope (:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
128
128
  /* One line box tall, so the icon centres on the first line of text. */
129
129
 
130
130
  /* A link in the callout's text is underlined, so it reads as a link by more than colour. */
@@ -1,14 +1,14 @@
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-card-group"] { --html-next-scope-owner: "ui-card-group" !important; }
7
+ :is([component~="ui-card-group"]:not(template), [data-component~="ui-card-group"]:not([component])) { --html-next-scope-owner: "ui-card-group" !important; }
8
8
  }
9
- @scope ([data-component~="ui-card-group"]) to ([data-component], [data-slotted]) {
9
+ @scope (:is([component~="ui-card-group"]:not(template), [data-component~="ui-card-group"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
10
10
  /* Grid owns columns and spacing; Card owns its surface and three aligned regions. */
11
- :scope:where([data-component~="ui-card-group"]) {
11
+ :scope:where(:is([component~="ui-card-group"]:not(template), [data-component~="ui-card-group"]:not([component]))) {
12
12
  display: block !important;
13
13
  min-inline-size: 0;
14
14
  max-inline-size: 100%;
@@ -17,16 +17,16 @@
17
17
  --_ui-card-group-span: span 3;
18
18
  --_ui-card-group-region-layout: flex;
19
19
  }
20
- :scope:where([data-component~="ui-card-group"])[hidden] {
20
+ :scope:where(:is([component~="ui-card-group"]:not(template), [data-component~="ui-card-group"]:not([component])))[hidden] {
21
21
  display: none !important;
22
22
  }
23
23
  }
24
- @scope ([data-component~="ui-card-group"]) to ([data-component]) {
24
+ @scope (:is([component~="ui-card-group"]:not(template), [data-component~="ui-card-group"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
25
25
  /* Grid owns columns and spacing; Card owns its surface and three aligned regions. */
26
26
  }
27
- @scope ([data-slotted~="ui-card-group"]:not([data-component])) to ([data-component], [data-slotted]) {
27
+ @scope ([data-slotted~="ui-card-group"]:not(:is([component]:not(template), [data-component]:not([component])))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
28
28
  /* Grid owns columns and spacing; Card owns its surface and three aligned regions. */
29
- :where([data-component~="ui-card-group"]):where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-card-group"]))) {
29
+ :where(:is([component~="ui-card-group"]:not(template), [data-component~="ui-card-group"]:not([component]))):where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-card-group"]))) {
30
30
  display: block !important;
31
31
  min-inline-size: 0;
32
32
  max-inline-size: 100%;
@@ -35,7 +35,7 @@
35
35
  --_ui-card-group-span: span 3;
36
36
  --_ui-card-group-region-layout: flex;
37
37
  }
38
- :where([data-component~="ui-card-group"])[hidden]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-card-group"]))) {
38
+ :where(:is([component~="ui-card-group"]:not(template), [data-component~="ui-card-group"]:not([component])))[hidden]:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-card-group"]))) {
39
39
  display: none !important;
40
40
  }
41
41
  }
@@ -1,15 +1,15 @@
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-card"] { --html-next-scope-owner: "ui-card" !important; }
7
+ :is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])) { --html-next-scope-owner: "ui-card" !important; }
8
8
  }
9
- @scope ([data-component~="ui-card"]) to ([data-component], [data-slotted]) {
9
+ @scope (:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
10
10
  /* A surface that groups content. Its children stack with even space between them, so a card
11
11
  needs no layout of its own. */
12
- :scope:where([data-component~="ui-card"]) {
12
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component]))) {
13
13
  --_ui-card-surface: var(--ui-surface-raised);
14
14
  --_ui-surface-text: initial;
15
15
  --_ui-card-elevation: 0 0 0 transparent;
@@ -46,6 +46,11 @@
46
46
  --_ui-card-group-region-layout: initial;
47
47
  }
48
48
 
49
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="fill"] {
50
+ flex: 1;
51
+ min-block-size: 0;
52
+ }
53
+
49
54
  .header:empty {
50
55
  display: none !important;
51
56
  }
@@ -54,31 +59,31 @@
54
59
  grid-row: span 2 !important;
55
60
  }
56
61
 
57
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="padding=xs"] {
62
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="padding=xs"] {
58
63
  gap: var(--ui-space-1) !important;
59
64
  padding: var(--ui-space-2) !important;
60
65
  }
61
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="padding=sm"] {
66
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="padding=sm"] {
62
67
  gap: var(--ui-space-2) !important;
63
68
  padding: var(--ui-space-3) !important;
64
69
  }
65
70
 
66
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="padding=lg"] {
71
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="padding=lg"] {
67
72
  padding: var(--ui-space-6) !important;
68
73
  }
69
74
 
70
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="variant=subtle"] {
75
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="variant=subtle"] {
71
76
  border-color: transparent;
72
77
  --_ui-card-surface: var(--ui-surface-muted);
73
78
  }
74
79
 
75
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="variant=elevated"] {
80
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="variant=elevated"] {
76
81
  --_ui-card-elevation: var(--ui-shadow-lg);
77
82
  border-color: var(--ui-border-subtle);
78
83
  box-shadow: var(--ui-shadow-lg);
79
84
  }
80
85
 
81
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="treatment=expressive"] {
86
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="treatment=expressive"] {
82
87
  --_ui-card-material-content: color-mix(in srgb, var(--_ui-card-surface) calc(var(--_ui-material-content-alpha, 1) * 100%), transparent);
83
88
  --_ui-panel-glass: clamp(0, var(--ui-glassiness, 0), 1);
84
89
  --_ui-panel-separation: clamp(0, var(--ui-surface-separation, 0), 1);
@@ -97,12 +102,12 @@
97
102
  backdrop-filter: blur(calc(var(--_ui-panel-glass) * 32px));
98
103
  }
99
104
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
100
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="treatment=expressive"] {
105
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="treatment=expressive"] {
101
106
  background: var(--_ui-card-surface);
102
107
  }
103
108
  }
104
109
  @media (prefers-reduced-transparency: reduce) {
105
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="treatment=expressive"] {
110
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="treatment=expressive"] {
106
111
  background: var(--_ui-card-surface);
107
112
  border-width: var(--ui-border-width);
108
113
  border-color: var(--ui-border-strong);
@@ -111,7 +116,7 @@
111
116
  }
112
117
  }
113
118
  @media (forced-colors: active) {
114
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="treatment=expressive"] {
119
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="treatment=expressive"] {
115
120
  background: Canvas;
116
121
  color: CanvasText;
117
122
  border: var(--ui-border-width) solid CanvasText;
@@ -121,60 +126,60 @@
121
126
  }
122
127
  }
123
128
 
124
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=accent-secondary"] {
129
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=accent-secondary"] {
125
130
  border-color: var(--ui-accent-secondary-soft-border);
126
131
  --_ui-card-surface: var(--ui-accent-secondary-soft);
127
132
  --_ui-surface-text: var(--ui-accent-secondary-subtle-text);
128
133
  }
129
134
 
130
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=accent-tertiary"] {
135
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=accent-tertiary"] {
131
136
  border-color: var(--ui-accent-tertiary-soft-border);
132
137
  --_ui-card-surface: var(--ui-accent-tertiary-soft);
133
138
  --_ui-surface-text: var(--ui-accent-tertiary-subtle-text);
134
139
  }
135
140
 
136
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=accent"] {
141
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=accent"] {
137
142
  border-color: var(--ui-accent-soft-border);
138
143
  --_ui-card-surface: var(--ui-accent-soft);
139
144
  --_ui-surface-text: var(--ui-accent-subtle-text);
140
145
  }
141
146
 
142
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=info"] {
147
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=info"] {
143
148
  border-color: var(--ui-info-soft-border);
144
149
  --_ui-card-surface: var(--ui-info-soft);
145
150
  --_ui-surface-text: var(--ui-info-subtle-text);
146
151
  }
147
152
 
148
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=success"] {
153
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=success"] {
149
154
  border-color: var(--ui-success-soft-border);
150
155
  --_ui-card-surface: var(--ui-success-soft);
151
156
  --_ui-surface-text: var(--ui-success-subtle-text);
152
157
  }
153
158
 
154
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=warning"] {
159
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=warning"] {
155
160
  border-color: var(--ui-warning-soft-border);
156
161
  --_ui-card-surface: var(--ui-warning-soft);
157
162
  --_ui-surface-text: var(--ui-warning-subtle-text);
158
163
  }
159
164
 
160
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="variant=subtle"]:is([data-ui-card-state~="tone=accent"], [data-ui-card-state~="tone=accent-secondary"], [data-ui-card-state~="tone=accent-tertiary"], [data-ui-card-state~="tone=info"], [data-ui-card-state~="tone=success"], [data-ui-card-state~="tone=warning"]) {
165
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="variant=subtle"]:is([data-ui-card-state~="tone=accent"], [data-ui-card-state~="tone=accent-secondary"], [data-ui-card-state~="tone=accent-tertiary"], [data-ui-card-state~="tone=info"], [data-ui-card-state~="tone=success"], [data-ui-card-state~="tone=warning"]) {
161
166
  border-color: transparent;
162
167
  }
163
168
 
164
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=danger"] {
169
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=danger"] {
165
170
  border-color: var(--ui-danger-soft-border);
166
171
  --_ui-card-surface: var(--ui-danger-soft);
167
172
  --_ui-surface-text: var(--ui-danger-subtle-text);
168
173
  }
169
174
 
170
175
  /* A colored panel shades rows in its own hue, without changing button intent. */
171
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=accent"],
172
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=accent-secondary"],
173
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=accent-tertiary"],
174
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=info"],
175
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=success"],
176
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=warning"],
177
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=danger"] {
176
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=accent"],
177
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=accent-secondary"],
178
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=accent-tertiary"],
179
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=info"],
180
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=success"],
181
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=warning"],
182
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=danger"] {
178
183
  --_ui-selection-context-surface: light-dark(
179
184
  oklch(from var(--_ui-card-surface) calc(l - 0.045) calc(max(c, min(0.045, c * 3))) h),
180
185
  oklch(from var(--_ui-card-surface) calc(l + 0.045) calc(max(c, min(0.045, c * 3))) h)
@@ -186,25 +191,25 @@
186
191
  --_ui-selection-context-text: var(--ui-text-primary);
187
192
  }
188
193
 
189
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="size=sm"] {
194
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="size=sm"] {
190
195
  inline-size: min(22rem, 100%, calc(100vw - var(--ui-space-2) * 2));
191
196
  max-inline-size: min(22rem, 100%, calc(100vw - var(--ui-space-2) * 2));
192
197
  }
193
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="size=md"] {
198
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="size=md"] {
194
199
  inline-size: min(28rem, 100%, calc(100vw - var(--ui-space-2) * 2));
195
200
  max-inline-size: min(28rem, 100%, calc(100vw - var(--ui-space-2) * 2));
196
201
  }
197
- :scope:where([data-component~="ui-card"])[data-ui-card-state~="size=lg"] {
202
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="size=lg"] {
198
203
  inline-size: min(36rem, 100%, calc(100vw - var(--ui-space-2) * 2));
199
204
  max-inline-size: min(36rem, 100%, calc(100vw - var(--ui-space-2) * 2));
200
205
  }
201
206
 
202
207
  /* A component that sets its display still honours the hidden attribute on its root. */
203
- :scope:where([data-component~="ui-card"])[hidden] {
208
+ :scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[hidden] {
204
209
  display: none !important;
205
210
  }
206
211
  }
207
- @scope ([data-component~="ui-card"]) to ([data-component]) {
212
+ @scope (:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
208
213
  /* A surface that groups content. Its children stack with even space between them, so a card
209
214
  needs no layout of its own. */
210
215
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
@@ -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-checkbox"] { --html-next-scope-owner: "ui-checkbox" !important; }
7
+ :is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])) { --html-next-scope-owner: "ui-checkbox" !important; }
8
8
  }
9
- @scope ([data-component~="ui-checkbox"]) to ([data-component], [data-slotted]) {
10
- :scope:where([data-component~="ui-checkbox"]) {
9
+ @scope (:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
10
+ :scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))) {
11
11
  /* Resolve shared part values at the component root. */
12
12
  --_ui-checkbox-size: var(--ui-checkbox-size, var(--ui-choice-mark-size));
13
13
  --_ui-checkbox-invalid-border: var(--ui-checkbox-invalid-border, var(--ui-field-danger, var(--ui-danger-solid)));
@@ -87,7 +87,7 @@
87
87
  box-shadow var(--ui-motion-fast) var(--ui-motion-ease);
88
88
  }
89
89
 
90
- input:where(:not([data-component], [data-slotted]))::after {
90
+ input:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
91
91
  content: "";
92
92
  position: absolute !important;
93
93
  transform: none !important;
@@ -105,7 +105,7 @@
105
105
 
106
106
  /* The SVG's painted bounds are centred in its viewBox, including its round stroke.
107
107
  Centre that box directly; rotated border boxes do not centre the visible check. */
108
- input:checked:where(:not([data-component], [data-slotted]))::after {
108
+ input:checked:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
109
109
  inset: 50% auto auto 50% !important;
110
110
  inline-size: calc(var(--_ui-checkbox-size) * 0.7) !important;
111
111
  block-size: calc(var(--_ui-checkbox-size) * 0.7) !important;
@@ -117,7 +117,7 @@
117
117
  animation: ui-checkbox-check var(--ui-motion-base) var(--ui-motion-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
118
118
  }
119
119
 
120
- input:indeterminate:where(:not([data-component], [data-slotted]))::after {
120
+ input:indeterminate:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
121
121
  mask: none;
122
122
  animation: none;
123
123
  inset: 50% calc(var(--_ui-checkbox-size) * 0.23 / 1.125) auto !important;
@@ -145,9 +145,9 @@
145
145
  }
146
146
 
147
147
  @media (prefers-reduced-motion: reduce) {
148
- input:where(:not([data-component], [data-slotted])),
149
- input:where(:not([data-component], [data-slotted]))::after,
150
- input:checked:where(:not([data-component], [data-slotted]))::after {
148
+ input:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted])),
149
+ input:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after,
150
+ input:checked:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
151
151
  transition: none;
152
152
  animation: none;
153
153
  }
@@ -160,31 +160,31 @@
160
160
  background: Highlight;
161
161
  border-color: Highlight;
162
162
  }
163
- input:checked:where(:not([data-component], [data-slotted]))::after,
164
- input:indeterminate:where(:not([data-component], [data-slotted]))::after {
163
+ input:checked:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after,
164
+ input:indeterminate:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
165
165
  forced-color-adjust: none;
166
166
  background: HighlightText;
167
167
  }
168
168
  }
169
169
 
170
170
  @media (hover: hover) and (forced-colors: none) {
171
- :scope:where([data-component~="ui-checkbox"]):hover input:enabled {
171
+ :scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))):hover input:enabled {
172
172
  --_choice-hover-wash: var(--ui-neutral-wash-hover);
173
173
  background-image:
174
174
  linear-gradient(var(--_choice-hover-wash), var(--_choice-hover-wash)),
175
175
  var(--ui-surface-highlight, linear-gradient(transparent, transparent));
176
176
  }
177
177
 
178
- :scope:where([data-component~="ui-checkbox"]):hover input:enabled:not([aria-invalid="true"]) {
178
+ :scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))):hover input:enabled:not([aria-invalid="true"]) {
179
179
  border-color: var(--ui-control-border-hover, var(--ui-border-strong));
180
180
  }
181
181
 
182
- :scope:where([data-component~="ui-checkbox"]):hover input:enabled:is(:checked, :indeterminate) {
182
+ :scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))):hover input:enabled:is(:checked, :indeterminate) {
183
183
  background-color: var(--ui-choice-hover-surface);
184
184
  background-image: var(--ui-choice-hover-highlight, none);
185
185
  }
186
186
 
187
- :scope:where([data-component~="ui-checkbox"]):hover input:enabled:is(:checked, :indeterminate):not([aria-invalid="true"]) {
187
+ :scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))):hover input:enabled:is(:checked, :indeterminate):not([aria-invalid="true"]) {
188
188
  border-color: var(--ui-choice-hover-surface);
189
189
  }
190
190
  }
@@ -194,18 +194,18 @@
194
194
  outline-offset: var(--ui-focus-width);
195
195
  }
196
196
 
197
- :scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="invalid"] input {
197
+ :scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="invalid"] input {
198
198
  border-color: var(--_ui-checkbox-invalid-border);
199
199
  }
200
200
 
201
- :scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="disabled"] {
201
+ :scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="disabled"] {
202
202
  color: var(--ui-disabled-text);
203
203
  cursor: not-allowed;
204
204
  }
205
- :scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="disabled"] .description {
205
+ :scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="disabled"] .description {
206
206
  color: var(--ui-disabled-text);
207
207
  }
208
- :scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="disabled"] input {
208
+ :scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="disabled"] input {
209
209
  border-color: var(--ui-disabled-border);
210
210
  background: var(--ui-disabled-surface);
211
211
  box-shadow: none;
@@ -215,29 +215,29 @@
215
215
  /* A sized choice keeps its box and aligns instead: the label takes that size's field type size,
216
216
  and the first line centres in that control height, so the label shares a row's baseline.
217
217
  Multi-line labels and descriptions still grow downward from that first line. */
218
- :scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="size=sm"] {
218
+ :scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="size=sm"] {
219
219
  --_font: var(--ui-font-size-sm);
220
220
  --_row: var(--ui-control-size-sm);
221
221
  }
222
222
 
223
- :scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="size=lg"] {
223
+ :scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="size=lg"] {
224
224
  --_font: var(--ui-font-size-md);
225
225
  --_row: var(--ui-control-size-lg);
226
226
  }
227
227
 
228
- :scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="size=sm"],
229
- :scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="size=lg"] {
228
+ :scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="size=sm"],
229
+ :scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="size=lg"] {
230
230
  --_line: calc(var(--_font) * var(--ui-line-height-md));
231
231
  font-size: var(--_font);
232
232
  padding-block: max(0px, calc((var(--_row) - max(var(--_line), var(--_ui-checkbox-size, 1.125rem))) / 2)) !important;
233
233
  }
234
234
 
235
235
  /* A component that sets its display still honours the hidden attribute on its root. */
236
- :scope:where([data-component~="ui-checkbox"])[hidden] {
236
+ :scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[hidden] {
237
237
  display: none !important;
238
238
  }
239
239
  }
240
- @scope ([data-component~="ui-checkbox"]) to ([data-component]) {
240
+ @scope (:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
241
241
  /* The label, and under it an optional line saying what the choice means. */
242
242
 
243
243
  /* The SVG's painted bounds are centred in its viewBox, including its round stroke.