@threadlabs/looma 0.28.13 → 0.28.14

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 (425) hide show
  1. package/components/ui-affordance-scope/ui-affordance-scope.html +1 -1
  2. package/components/ui-avatar/ui-avatar.html +1 -1
  3. package/components/ui-combobox/ui-combobox.html +1 -1
  4. package/components/ui-disclosure/ui-disclosure.html +4 -4
  5. package/components/ui-editable/ui-editable.html +3 -3
  6. package/components/ui-menu/ui-menu.html +1 -1
  7. package/components/ui-popover/ui-popover.html +1 -1
  8. package/components/ui-sidebar/ui-sidebar.html +4 -4
  9. package/components/ui-switcher/ui-switcher.html +1 -1
  10. package/components/ui-tree-item/ui-tree-item.html +2 -2
  11. package/dist/index.js +1 -1
  12. package/package.json +3 -3
  13. package/styles/ui-action-bar.css +1 -1
  14. package/styles/ui-affordance-scope.css +1 -1
  15. package/styles/ui-avatar-group.css +1 -1
  16. package/styles/ui-avatar.css +1 -1
  17. package/styles/ui-badge.css +1 -1
  18. package/styles/ui-breadcrumb-item.css +1 -1
  19. package/styles/ui-breadcrumbs.css +1 -1
  20. package/styles/ui-button.css +1 -1
  21. package/styles/ui-callout.css +1 -1
  22. package/styles/ui-card.css +1 -1
  23. package/styles/ui-checkbox.css +1 -1
  24. package/styles/ui-cluster.css +1 -1
  25. package/styles/ui-combobox.css +1 -1
  26. package/styles/ui-container.css +1 -1
  27. package/styles/ui-context-menu.css +1 -1
  28. package/styles/ui-cover.css +1 -1
  29. package/styles/ui-description-item.css +1 -1
  30. package/styles/ui-description-list.css +1 -1
  31. package/styles/ui-dialog.css +1 -1
  32. package/styles/ui-disclosure.css +2 -2
  33. package/styles/ui-editable.css +1 -1
  34. package/styles/ui-editor-block-actions.css +1 -1
  35. package/styles/ui-editor-chip-editor.css +1 -1
  36. package/styles/ui-editor-code-language.css +1 -1
  37. package/styles/ui-editor-image-toolbar.css +1 -1
  38. package/styles/ui-editor-insert-table-grid.css +1 -1
  39. package/styles/ui-editor-link-card.css +1 -1
  40. package/styles/ui-editor-link-form.css +1 -1
  41. package/styles/ui-editor-mention-menu-item.css +1 -1
  42. package/styles/ui-editor-mention-menu.css +1 -1
  43. package/styles/ui-editor-slash-menu-group.css +1 -1
  44. package/styles/ui-editor-slash-menu-item.css +1 -1
  45. package/styles/ui-editor-slash-menu.css +1 -1
  46. package/styles/ui-editor-surface.css +1 -1
  47. package/styles/ui-editor-table-context-menu.css +1 -1
  48. package/styles/ui-editor-table-overlay.css +1 -1
  49. package/styles/ui-editor-table-toolbar.css +1 -1
  50. package/styles/ui-editor-toolbar.css +1 -1
  51. package/styles/ui-floating-action-button.css +1 -1
  52. package/styles/ui-form-field.css +1 -1
  53. package/styles/ui-grid.css +1 -1
  54. package/styles/ui-icon-button.css +1 -1
  55. package/styles/ui-icon.css +1 -1
  56. package/styles/ui-image.css +1 -1
  57. package/styles/ui-input-group.css +1 -1
  58. package/styles/ui-input.css +1 -1
  59. package/styles/ui-list-item.css +1 -1
  60. package/styles/ui-list.css +1 -1
  61. package/styles/ui-listbox.css +1 -1
  62. package/styles/ui-menu-group.css +1 -1
  63. package/styles/ui-menu-item.css +1 -1
  64. package/styles/ui-menu.css +2 -2
  65. package/styles/ui-meter.css +1 -1
  66. package/styles/ui-nav-item.css +1 -1
  67. package/styles/ui-page-header.css +1 -1
  68. package/styles/ui-popover.css +2 -2
  69. package/styles/ui-radio-group.css +1 -1
  70. package/styles/ui-radio.css +1 -1
  71. package/styles/ui-reel.css +1 -1
  72. package/styles/ui-scroll-area.css +1 -1
  73. package/styles/ui-search-result-row.css +1 -1
  74. package/styles/ui-search-shell.css +1 -1
  75. package/styles/ui-section.css +1 -1
  76. package/styles/ui-select.css +1 -1
  77. package/styles/ui-separator.css +1 -1
  78. package/styles/ui-sidebar.css +2 -2
  79. package/styles/ui-spinner.css +1 -1
  80. package/styles/ui-stack.css +1 -1
  81. package/styles/ui-status-message.css +1 -1
  82. package/styles/ui-swatch.css +1 -1
  83. package/styles/ui-switch.css +1 -1
  84. package/styles/ui-switcher.css +1 -1
  85. package/styles/ui-table.css +1 -1
  86. package/styles/ui-tabs.css +1 -1
  87. package/styles/ui-text.css +1 -1
  88. package/styles/ui-textarea.css +1 -1
  89. package/styles/ui-toast-region.css +1 -1
  90. package/styles/ui-toast.css +1 -1
  91. package/styles/ui-tooltip.css +1 -1
  92. package/styles/ui-top-bar.css +1 -1
  93. package/styles/ui-tree-item.css +1 -1
  94. package/styles/ui-tree.css +1 -1
  95. package/vanilla/UiActionBar.d.ts +1 -1
  96. package/vanilla/UiActionBar.js +1 -1
  97. package/vanilla/UiAffordanceScope.d.ts +1 -1
  98. package/vanilla/UiAffordanceScope.js +2 -2
  99. package/vanilla/UiAvatar.d.ts +1 -1
  100. package/vanilla/UiAvatar.js +2 -2
  101. package/vanilla/UiAvatarGroup.d.ts +1 -1
  102. package/vanilla/UiAvatarGroup.js +2 -2
  103. package/vanilla/UiBadge.d.ts +1 -1
  104. package/vanilla/UiBadge.js +2 -2
  105. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  106. package/vanilla/UiBreadcrumbItem.js +2 -2
  107. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  108. package/vanilla/UiBreadcrumbs.js +2 -2
  109. package/vanilla/UiButton.d.ts +1 -1
  110. package/vanilla/UiButton.js +3 -3
  111. package/vanilla/UiCallout.d.ts +1 -1
  112. package/vanilla/UiCallout.js +2 -2
  113. package/vanilla/UiCard.d.ts +1 -1
  114. package/vanilla/UiCard.js +3 -3
  115. package/vanilla/UiCheckbox.d.ts +1 -1
  116. package/vanilla/UiCheckbox.js +2 -2
  117. package/vanilla/UiCluster.d.ts +1 -1
  118. package/vanilla/UiCluster.js +2 -2
  119. package/vanilla/UiCombobox.d.ts +1 -1
  120. package/vanilla/UiCombobox.js +2 -2
  121. package/vanilla/UiContainer.d.ts +1 -1
  122. package/vanilla/UiContainer.js +2 -2
  123. package/vanilla/UiContextMenu.d.ts +1 -1
  124. package/vanilla/UiContextMenu.js +2 -2
  125. package/vanilla/UiCover.d.ts +1 -1
  126. package/vanilla/UiCover.js +2 -2
  127. package/vanilla/UiDescriptionItem.d.ts +1 -1
  128. package/vanilla/UiDescriptionItem.js +2 -2
  129. package/vanilla/UiDescriptionList.d.ts +1 -1
  130. package/vanilla/UiDescriptionList.js +2 -2
  131. package/vanilla/UiDialog.d.ts +1 -1
  132. package/vanilla/UiDialog.js +2 -2
  133. package/vanilla/UiDisclosure.d.ts +1 -1
  134. package/vanilla/UiDisclosure.js +2 -2
  135. package/vanilla/UiEditable.d.ts +1 -1
  136. package/vanilla/UiEditable.js +2 -2
  137. package/vanilla/UiEditorBlockActions.d.ts +1 -1
  138. package/vanilla/UiEditorBlockActions.js +2 -2
  139. package/vanilla/UiEditorChipEditor.d.ts +1 -1
  140. package/vanilla/UiEditorChipEditor.js +2 -2
  141. package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
  142. package/vanilla/UiEditorCodeLanguage.js +2 -2
  143. package/vanilla/UiEditorImageToolbar.d.ts +1 -1
  144. package/vanilla/UiEditorImageToolbar.js +2 -2
  145. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  146. package/vanilla/UiEditorInsertTableGrid.js +2 -2
  147. package/vanilla/UiEditorLinkCard.d.ts +1 -1
  148. package/vanilla/UiEditorLinkCard.js +2 -2
  149. package/vanilla/UiEditorLinkForm.d.ts +1 -1
  150. package/vanilla/UiEditorLinkForm.js +2 -2
  151. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  152. package/vanilla/UiEditorMentionMenu.js +2 -2
  153. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  154. package/vanilla/UiEditorMentionMenuItem.js +3 -3
  155. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  156. package/vanilla/UiEditorSlashMenu.js +2 -2
  157. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  158. package/vanilla/UiEditorSlashMenuGroup.js +2 -2
  159. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  160. package/vanilla/UiEditorSlashMenuItem.js +3 -3
  161. package/vanilla/UiEditorSurface.d.ts +1 -1
  162. package/vanilla/UiEditorSurface.js +2 -2
  163. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  164. package/vanilla/UiEditorTableContextMenu.js +2 -2
  165. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  166. package/vanilla/UiEditorTableOverlay.js +2 -2
  167. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  168. package/vanilla/UiEditorTableToolbar.js +2 -2
  169. package/vanilla/UiEditorToolbar.d.ts +1 -1
  170. package/vanilla/UiEditorToolbar.js +2 -2
  171. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  172. package/vanilla/UiFloatingActionButton.js +2 -2
  173. package/vanilla/UiFormField.d.ts +1 -1
  174. package/vanilla/UiFormField.js +2 -2
  175. package/vanilla/UiGrid.d.ts +1 -1
  176. package/vanilla/UiGrid.js +2 -2
  177. package/vanilla/UiIcon.d.ts +1 -1
  178. package/vanilla/UiIcon.js +2 -2
  179. package/vanilla/UiIconButton.d.ts +1 -1
  180. package/vanilla/UiIconButton.js +3 -3
  181. package/vanilla/UiImage.d.ts +1 -1
  182. package/vanilla/UiImage.js +2 -2
  183. package/vanilla/UiInput.d.ts +1 -1
  184. package/vanilla/UiInput.js +2 -2
  185. package/vanilla/UiInputGroup.d.ts +1 -1
  186. package/vanilla/UiInputGroup.js +2 -2
  187. package/vanilla/UiList.d.ts +1 -1
  188. package/vanilla/UiList.js +3 -3
  189. package/vanilla/UiListItem.d.ts +1 -1
  190. package/vanilla/UiListItem.js +2 -2
  191. package/vanilla/UiListbox.d.ts +1 -1
  192. package/vanilla/UiListbox.js +2 -2
  193. package/vanilla/UiMenu.d.ts +1 -1
  194. package/vanilla/UiMenu.js +2 -2
  195. package/vanilla/UiMenuGroup.d.ts +1 -1
  196. package/vanilla/UiMenuGroup.js +2 -2
  197. package/vanilla/UiMenuItem.d.ts +1 -1
  198. package/vanilla/UiMenuItem.js +4 -4
  199. package/vanilla/UiMeter.d.ts +1 -1
  200. package/vanilla/UiMeter.js +2 -2
  201. package/vanilla/UiNavItem.d.ts +1 -1
  202. package/vanilla/UiNavItem.js +3 -3
  203. package/vanilla/UiPageHeader.d.ts +1 -1
  204. package/vanilla/UiPageHeader.js +2 -2
  205. package/vanilla/UiPopover.d.ts +1 -1
  206. package/vanilla/UiPopover.js +2 -2
  207. package/vanilla/UiRadio.d.ts +1 -1
  208. package/vanilla/UiRadio.js +2 -2
  209. package/vanilla/UiRadioGroup.d.ts +1 -1
  210. package/vanilla/UiRadioGroup.js +2 -2
  211. package/vanilla/UiReel.d.ts +1 -1
  212. package/vanilla/UiReel.js +2 -2
  213. package/vanilla/UiScrollArea.d.ts +1 -1
  214. package/vanilla/UiScrollArea.js +2 -2
  215. package/vanilla/UiSearchResultRow.d.ts +1 -1
  216. package/vanilla/UiSearchResultRow.js +2 -2
  217. package/vanilla/UiSearchShell.d.ts +1 -1
  218. package/vanilla/UiSearchShell.js +2 -2
  219. package/vanilla/UiSection.d.ts +1 -1
  220. package/vanilla/UiSection.js +2 -2
  221. package/vanilla/UiSelect.d.ts +1 -1
  222. package/vanilla/UiSelect.js +2 -2
  223. package/vanilla/UiSeparator.d.ts +1 -1
  224. package/vanilla/UiSeparator.js +2 -2
  225. package/vanilla/UiSidebar.d.ts +1 -1
  226. package/vanilla/UiSidebar.js +2 -2
  227. package/vanilla/UiSpinner.d.ts +1 -1
  228. package/vanilla/UiSpinner.js +2 -2
  229. package/vanilla/UiStack.d.ts +1 -1
  230. package/vanilla/UiStack.js +2 -2
  231. package/vanilla/UiStatusMessage.d.ts +1 -1
  232. package/vanilla/UiStatusMessage.js +2 -2
  233. package/vanilla/UiSwatch.d.ts +1 -1
  234. package/vanilla/UiSwatch.js +2 -2
  235. package/vanilla/UiSwitch.d.ts +1 -1
  236. package/vanilla/UiSwitch.js +2 -2
  237. package/vanilla/UiSwitcher.d.ts +1 -1
  238. package/vanilla/UiSwitcher.js +2 -2
  239. package/vanilla/UiTable.d.ts +1 -1
  240. package/vanilla/UiTable.js +2 -2
  241. package/vanilla/UiTabs.d.ts +1 -1
  242. package/vanilla/UiTabs.js +2 -2
  243. package/vanilla/UiText.d.ts +1 -1
  244. package/vanilla/UiText.js +3 -3
  245. package/vanilla/UiTextarea.d.ts +1 -1
  246. package/vanilla/UiTextarea.js +2 -2
  247. package/vanilla/UiToast.d.ts +1 -1
  248. package/vanilla/UiToast.js +2 -2
  249. package/vanilla/UiToastRegion.d.ts +1 -1
  250. package/vanilla/UiToastRegion.js +2 -2
  251. package/vanilla/UiTooltip.d.ts +1 -1
  252. package/vanilla/UiTooltip.js +2 -2
  253. package/vanilla/UiTopBar.d.ts +1 -1
  254. package/vanilla/UiTopBar.js +1 -1
  255. package/vanilla/UiTree.d.ts +1 -1
  256. package/vanilla/UiTree.js +2 -2
  257. package/vanilla/UiTreeItem.d.ts +1 -1
  258. package/vanilla/UiTreeItem.js +3 -3
  259. package/vue/UiActionBar.vue +23 -15
  260. package/vue/UiAffordanceScope.vue +11 -9
  261. package/vue/UiAvatar.vue +34 -27
  262. package/vue/UiAvatarGroup.vue +22 -17
  263. package/vue/UiBadge.vue +78 -69
  264. package/vue/UiBreadcrumbItem.vue +17 -14
  265. package/vue/UiBreadcrumbs.vue +9 -7
  266. package/vue/UiButton.vue +150 -138
  267. package/vue/UiCallout.vue +68 -43
  268. package/vue/UiCard.vue +52 -44
  269. package/vue/UiCheckbox.vue +48 -40
  270. package/vue/UiCluster.vue +35 -33
  271. package/vue/UiCombobox.vue +158 -107
  272. package/vue/UiContainer.vue +16 -14
  273. package/vue/UiContextMenu.vue +24 -13
  274. package/vue/UiCover.vue +10 -8
  275. package/vue/UiDescriptionItem.vue +11 -9
  276. package/vue/UiDescriptionList.vue +20 -18
  277. package/vue/UiDialog.vue +41 -37
  278. package/vue/UiDisclosure.vue +65 -51
  279. package/vue/UiEditable.vue +34 -33
  280. package/vue/UiEditorBlockActions.vue +4 -3
  281. package/vue/UiEditorChipEditor.vue +4 -3
  282. package/vue/UiEditorCodeLanguage.vue +5 -4
  283. package/vue/UiEditorImageToolbar.vue +5 -4
  284. package/vue/UiEditorInsertTableGrid.vue +19 -18
  285. package/vue/UiEditorLinkCard.vue +7 -6
  286. package/vue/UiEditorLinkForm.vue +15 -14
  287. package/vue/UiEditorMentionMenu.vue +52 -37
  288. package/vue/UiEditorMentionMenuItem.vue +30 -20
  289. package/vue/UiEditorSlashMenu.vue +49 -36
  290. package/vue/UiEditorSlashMenuGroup.vue +16 -10
  291. package/vue/UiEditorSlashMenuItem.vue +36 -26
  292. package/vue/UiEditorSurface.vue +8 -6
  293. package/vue/UiEditorTableContextMenu.vue +26 -25
  294. package/vue/UiEditorTableOverlay.vue +56 -51
  295. package/vue/UiEditorTableToolbar.vue +37 -36
  296. package/vue/UiEditorToolbar.vue +24 -20
  297. package/vue/UiFloatingActionButton.vue +17 -15
  298. package/vue/UiFormField.vue +27 -22
  299. package/vue/UiGrid.vue +17 -15
  300. package/vue/UiIcon.vue +7 -6
  301. package/vue/UiIconButton.vue +75 -70
  302. package/vue/UiImage.vue +61 -46
  303. package/vue/UiInput.vue +28 -28
  304. package/vue/UiInputGroup.vue +48 -43
  305. package/vue/UiList.vue +25 -21
  306. package/vue/UiListItem.vue +54 -44
  307. package/vue/UiListbox.vue +29 -22
  308. package/vue/UiMenu.vue +25 -23
  309. package/vue/UiMenuGroup.vue +11 -7
  310. package/vue/UiMenuItem.vue +52 -43
  311. package/vue/UiMeter.vue +42 -41
  312. package/vue/UiNavItem.vue +60 -47
  313. package/vue/UiPageHeader.vue +27 -20
  314. package/vue/UiPopover.vue +21 -19
  315. package/vue/UiRadio.vue +32 -28
  316. package/vue/UiRadioGroup.vue +24 -19
  317. package/vue/UiReel.vue +24 -22
  318. package/vue/UiScrollArea.vue +30 -24
  319. package/vue/UiSearchResultRow.vue +41 -26
  320. package/vue/UiSearchShell.vue +37 -29
  321. package/vue/UiSection.vue +31 -24
  322. package/vue/UiSelect.vue +23 -21
  323. package/vue/UiSeparator.vue +14 -13
  324. package/vue/UiSidebar.vue +48 -40
  325. package/vue/UiSpinner.vue +14 -13
  326. package/vue/UiStack.vue +26 -24
  327. package/vue/UiStatusMessage.vue +26 -21
  328. package/vue/UiSwatch.vue +13 -12
  329. package/vue/UiSwitch.vue +37 -33
  330. package/vue/UiSwitcher.vue +27 -22
  331. package/vue/UiTable.vue +23 -19
  332. package/vue/UiTabs.vue +48 -33
  333. package/vue/UiText.vue +173 -151
  334. package/vue/UiTextarea.vue +27 -27
  335. package/vue/UiToast.vue +17 -15
  336. package/vue/UiToastRegion.vue +36 -31
  337. package/vue/UiTooltip.vue +40 -34
  338. package/vue/UiTopBar.vue +17 -13
  339. package/vue/UiTree.vue +17 -15
  340. package/vue/UiTreeItem.vue +202 -133
  341. package/vue/chunks/UiActionBar.js +21 -6
  342. package/vue/chunks/UiAffordanceScope.js +8 -6
  343. package/vue/chunks/UiAvatar.js +30 -20
  344. package/vue/chunks/UiAvatarGroup.js +16 -13
  345. package/vue/chunks/UiBadge.js +19 -13
  346. package/vue/chunks/UiBreadcrumbItem.js +13 -7
  347. package/vue/chunks/UiBreadcrumbs.js +9 -4
  348. package/vue/chunks/UiButton.js +158 -124
  349. package/vue/chunks/UiCallout.js +105 -37
  350. package/vue/chunks/UiCard.js +50 -42
  351. package/vue/chunks/UiCheckbox.js +32 -22
  352. package/vue/chunks/UiCluster.js +18 -16
  353. package/vue/chunks/UiCombobox.js +130 -73
  354. package/vue/chunks/UiContainer.js +10 -8
  355. package/vue/chunks/UiContextMenu.js +7 -4
  356. package/vue/chunks/UiCover.js +7 -5
  357. package/vue/chunks/UiDescriptionItem.js +9 -3
  358. package/vue/chunks/UiDescriptionList.js +10 -8
  359. package/vue/chunks/UiDialog.js +26 -19
  360. package/vue/chunks/UiDisclosure.js +43 -25
  361. package/vue/chunks/UiEditable.js +25 -24
  362. package/vue/chunks/UiEditorBlockActions.js +4 -3
  363. package/vue/chunks/UiEditorChipEditor.js +4 -3
  364. package/vue/chunks/UiEditorCodeLanguage.js +5 -4
  365. package/vue/chunks/UiEditorImageToolbar.js +7 -6
  366. package/vue/chunks/UiEditorInsertTableGrid.js +10 -9
  367. package/vue/chunks/UiEditorLinkCard.js +11 -10
  368. package/vue/chunks/UiEditorLinkForm.js +26 -25
  369. package/vue/chunks/UiEditorMentionMenu.js +41 -24
  370. package/vue/chunks/UiEditorMentionMenuItem.js +23 -11
  371. package/vue/chunks/UiEditorSlashMenu.js +41 -20
  372. package/vue/chunks/UiEditorSlashMenuGroup.js +16 -5
  373. package/vue/chunks/UiEditorSlashMenuItem.js +28 -14
  374. package/vue/chunks/UiEditorSurface.js +6 -4
  375. package/vue/chunks/UiEditorTableContextMenu.js +14 -13
  376. package/vue/chunks/UiEditorTableOverlay.js +6 -5
  377. package/vue/chunks/UiEditorTableToolbar.js +14 -13
  378. package/vue/chunks/UiEditorToolbar.js +8 -5
  379. package/vue/chunks/UiFloatingActionButton.js +11 -9
  380. package/vue/chunks/UiFormField.js +30 -16
  381. package/vue/chunks/UiGrid.js +10 -8
  382. package/vue/chunks/UiIcon.js +6 -3
  383. package/vue/chunks/UiIconButton.js +33 -26
  384. package/vue/chunks/UiImage.js +31 -22
  385. package/vue/chunks/UiInput.js +17 -16
  386. package/vue/chunks/UiInputGroup.js +30 -16
  387. package/vue/chunks/UiList.js +24 -20
  388. package/vue/chunks/UiListItem.js +39 -22
  389. package/vue/chunks/UiListbox.js +35 -25
  390. package/vue/chunks/UiMenu.js +22 -17
  391. package/vue/chunks/UiMenuGroup.js +7 -4
  392. package/vue/chunks/UiMenuItem.js +57 -38
  393. package/vue/chunks/UiMeter.js +22 -21
  394. package/vue/chunks/UiNavItem.js +78 -42
  395. package/vue/chunks/UiPageHeader.js +30 -10
  396. package/vue/chunks/UiPopover.js +16 -11
  397. package/vue/chunks/UiRadio.js +26 -16
  398. package/vue/chunks/UiRadioGroup.js +24 -19
  399. package/vue/chunks/UiReel.js +11 -9
  400. package/vue/chunks/UiScrollArea.js +16 -13
  401. package/vue/chunks/UiSearchResultRow.js +39 -19
  402. package/vue/chunks/UiSearchShell.js +36 -18
  403. package/vue/chunks/UiSection.js +31 -13
  404. package/vue/chunks/UiSelect.js +14 -12
  405. package/vue/chunks/UiSeparator.js +11 -10
  406. package/vue/chunks/UiSidebar.js +33 -23
  407. package/vue/chunks/UiSpinner.js +7 -6
  408. package/vue/chunks/UiStack.js +14 -12
  409. package/vue/chunks/UiStatusMessage.js +23 -11
  410. package/vue/chunks/UiSwatch.js +5 -4
  411. package/vue/chunks/UiSwitch.js +26 -16
  412. package/vue/chunks/UiSwitcher.js +13 -11
  413. package/vue/chunks/UiTable.js +9 -7
  414. package/vue/chunks/UiTabs.js +23 -18
  415. package/vue/chunks/UiText.js +277 -255
  416. package/vue/chunks/UiTextarea.js +21 -20
  417. package/vue/chunks/UiToast.js +13 -7
  418. package/vue/chunks/UiToastRegion.js +15 -8
  419. package/vue/chunks/UiTooltip.js +27 -19
  420. package/vue/chunks/UiTopBar.js +21 -6
  421. package/vue/chunks/UiTree.js +18 -16
  422. package/vue/chunks/UiTreeItem.js +82 -45
  423. package/vue/chunks/_plugin-vue_export-helper.js +17 -4
  424. package/vue/components.css +1507 -1479
  425. package/vue/host.ts +26 -6
package/vue/UiButton.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.51 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.52 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, useTemplateRef, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -577,7 +577,7 @@ checkHydratedRoot(
577
577
  'ui-button',
578
578
  )
579
579
 
580
- /** The values the styles' :host-state() rules test. */
580
+ /** The values the styles' :host() prop and state rules test. */
581
581
  const hostState = computed(() =>
582
582
  [
583
583
  checkedProps.value.align && 'align',
@@ -640,6 +640,8 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
640
640
  v-if="checkedProps.variant === 'card' && checkedProps.as === 'a'"
641
641
  class="ui-button"
642
642
  v-bind="nativeAttrs($attrs)"
643
+ data-hn
644
+ data-hn-ui-button
643
645
  :href="guarded"
644
646
  :target="checkedProps.target ?? undefined"
645
647
  :rel="checkedProps.rel ?? undefined"
@@ -647,23 +649,23 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
647
649
  :aria-busy="checkedProps.loading || checkedProps.pending"
648
650
  :tabindex="guardedBinding2"
649
651
  v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
650
- :data-align="reflectedProp('align', 'align', checkedProps.align, undefined, false)"
651
- :data-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
652
- :data-disabled="reflectedProp('disabled', 'disabled', checkedProps.disabled, undefined, false)"
653
- :data-href="reflectedProp('href', 'href', checkedProps.href, undefined, false)"
654
- :data-loading="reflectedProp('loading', 'loading', checkedProps.loading, undefined, false)"
655
- :data-pending="reflectedProp('pending', 'pending', checkedProps.pending, undefined, false)"
656
- :data-rel="reflectedProp('rel', 'rel', checkedProps.rel, undefined, false)"
657
- :data-shape="reflectedProp('shape', 'shape', checkedProps.shape, undefined, false)"
658
- :data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
659
- :data-stretch="reflectedProp('stretch', 'stretch', checkedProps.stretch, undefined, false)"
660
- :data-target="reflectedProp('target', 'target', checkedProps.target, undefined, false)"
661
- :data-tone="reflectedProp('tone', 'tone', checkedProps.tone, undefined, false)"
662
- :data-type="reflectedProp('type', 'type', checkedProps.type, undefined, false)"
663
- :data-variant="reflectedProp('variant', 'variant', checkedProps.variant, undefined, false)"
652
+ :data-ui-button-prop-align="reflectedProp('align', 'align', checkedProps.align, undefined, false)"
653
+ :data-ui-button-prop-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
654
+ :data-ui-button-prop-disabled="reflectedProp('disabled', 'disabled', checkedProps.disabled, undefined, false)"
655
+ :data-ui-button-prop-href="reflectedProp('href', 'href', checkedProps.href, undefined, false)"
656
+ :data-ui-button-prop-loading="reflectedProp('loading', 'loading', checkedProps.loading, undefined, false)"
657
+ :data-ui-button-prop-pending="reflectedProp('pending', 'pending', checkedProps.pending, undefined, false)"
658
+ :data-ui-button-prop-rel="reflectedProp('rel', 'rel', checkedProps.rel, undefined, false)"
659
+ :data-ui-button-prop-shape="reflectedProp('shape', 'shape', checkedProps.shape, undefined, false)"
660
+ :data-ui-button-prop-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
661
+ :data-ui-button-prop-stretch="reflectedProp('stretch', 'stretch', checkedProps.stretch, undefined, false)"
662
+ :data-ui-button-prop-target="reflectedProp('target', 'target', checkedProps.target, undefined, false)"
663
+ :data-ui-button-prop-tone="reflectedProp('tone', 'tone', checkedProps.tone, undefined, false)"
664
+ :data-ui-button-prop-type="reflectedProp('type', 'type', checkedProps.type, undefined, false)"
665
+ :data-ui-button-prop-variant="reflectedProp('variant', 'variant', checkedProps.variant, undefined, false)"
664
666
  :data-ui-button-state="hostState || undefined"
665
667
  ref="@html-next/root"
666
- ><span class="card-icon"><UiSpinner
668
+ ><span class="card-icon" data-hn-ui-button><UiSpinner
667
669
  v-if="checkedProps.loading || checkedProps.pending"
668
670
  class="ui-spinner"
669
671
  size="sm"
@@ -671,8 +673,8 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
671
673
  <template v-if="!(checkedProps.loading || checkedProps.pending)"><slot
672
674
  name="icon"
673
675
  /></template></span>
674
- <span class="card-content"><slot /></span>
675
- <span class="card-action"><slot name="action"><UiIcon
676
+ <span class="card-content" data-hn-ui-button><slot /></span>
677
+ <span class="card-action" data-hn-ui-button><slot name="action"><UiIcon
676
678
  class="ui-icon"
677
679
  name="chevron-right"
678
680
  aria-hidden="true"
@@ -681,29 +683,31 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
681
683
  v-else-if="checkedProps.variant === 'card'"
682
684
  class="ui-button"
683
685
  v-bind="nativeAttrs($attrs)"
686
+ data-hn
687
+ data-hn-ui-button
684
688
  :type="checkedProps.type ?? undefined"
685
689
  :disabled="checkedProps.disabled ?? undefined"
686
690
  :aria-disabled="guardedBinding3"
687
691
  :aria-busy="checkedProps.loading || checkedProps.pending"
688
692
  v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
689
- :data-align="reflectedProp('align', 'align', checkedProps.align, undefined, false)"
690
- :data-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
691
- :data-disabled="reflectedProp('disabled', 'disabled', checkedProps.disabled, undefined, false)"
692
- :data-href="reflectedProp('href', 'href', checkedProps.href, undefined, false)"
693
- :data-loading="reflectedProp('loading', 'loading', checkedProps.loading, undefined, false)"
694
- :data-pending="reflectedProp('pending', 'pending', checkedProps.pending, undefined, false)"
695
- :data-rel="reflectedProp('rel', 'rel', checkedProps.rel, undefined, false)"
696
- :data-shape="reflectedProp('shape', 'shape', checkedProps.shape, undefined, false)"
697
- :data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
698
- :data-stretch="reflectedProp('stretch', 'stretch', checkedProps.stretch, undefined, false)"
699
- :data-target="reflectedProp('target', 'target', checkedProps.target, undefined, false)"
700
- :data-tone="reflectedProp('tone', 'tone', checkedProps.tone, undefined, false)"
701
- :data-type="reflectedProp('type', 'type', checkedProps.type, undefined, false)"
702
- :data-variant="reflectedProp('variant', 'variant', checkedProps.variant, undefined, false)"
693
+ :data-ui-button-prop-align="reflectedProp('align', 'align', checkedProps.align, undefined, false)"
694
+ :data-ui-button-prop-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
695
+ :data-ui-button-prop-disabled="reflectedProp('disabled', 'disabled', checkedProps.disabled, undefined, false)"
696
+ :data-ui-button-prop-href="reflectedProp('href', 'href', checkedProps.href, undefined, false)"
697
+ :data-ui-button-prop-loading="reflectedProp('loading', 'loading', checkedProps.loading, undefined, false)"
698
+ :data-ui-button-prop-pending="reflectedProp('pending', 'pending', checkedProps.pending, undefined, false)"
699
+ :data-ui-button-prop-rel="reflectedProp('rel', 'rel', checkedProps.rel, undefined, false)"
700
+ :data-ui-button-prop-shape="reflectedProp('shape', 'shape', checkedProps.shape, undefined, false)"
701
+ :data-ui-button-prop-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
702
+ :data-ui-button-prop-stretch="reflectedProp('stretch', 'stretch', checkedProps.stretch, undefined, false)"
703
+ :data-ui-button-prop-target="reflectedProp('target', 'target', checkedProps.target, undefined, false)"
704
+ :data-ui-button-prop-tone="reflectedProp('tone', 'tone', checkedProps.tone, undefined, false)"
705
+ :data-ui-button-prop-type="reflectedProp('type', 'type', checkedProps.type, undefined, false)"
706
+ :data-ui-button-prop-variant="reflectedProp('variant', 'variant', checkedProps.variant, undefined, false)"
703
707
  :data-ui-button-state="hostState || undefined"
704
708
  ref="@html-next/root"
705
709
  >
706
- <span class="card-icon"><UiSpinner
710
+ <span class="card-icon" data-hn-ui-button><UiSpinner
707
711
  v-if="checkedProps.loading || checkedProps.pending"
708
712
  class="ui-spinner"
709
713
  size="sm"
@@ -711,8 +715,8 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
711
715
  <template v-if="!(checkedProps.loading || checkedProps.pending)"><slot
712
716
  name="icon"
713
717
  /></template></span>
714
- <span class="card-content"><slot /></span>
715
- <span class="card-action"><slot name="action"><UiIcon
718
+ <span class="card-content" data-hn-ui-button><slot /></span>
719
+ <span class="card-action" data-hn-ui-button><slot name="action"><UiIcon
716
720
  class="ui-icon"
717
721
  name="chevron-right"
718
722
  aria-hidden="true"
@@ -722,6 +726,8 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
722
726
  v-else-if="checkedProps.as === 'a'"
723
727
  class="ui-button"
724
728
  v-bind="nativeAttrs($attrs)"
729
+ data-hn
730
+ data-hn-ui-button
725
731
  :href="guardedBinding4"
726
732
  :target="checkedProps.target ?? undefined"
727
733
  :rel="checkedProps.rel ?? undefined"
@@ -729,60 +735,64 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
729
735
  :aria-busy="checkedProps.loading || checkedProps.pending"
730
736
  :tabindex="guardedBinding6"
731
737
  v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
732
- :data-align="reflectedProp('align', 'align', checkedProps.align, undefined, false)"
733
- :data-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
734
- :data-disabled="reflectedProp('disabled', 'disabled', checkedProps.disabled, undefined, false)"
735
- :data-href="reflectedProp('href', 'href', checkedProps.href, undefined, false)"
736
- :data-loading="reflectedProp('loading', 'loading', checkedProps.loading, undefined, false)"
737
- :data-pending="reflectedProp('pending', 'pending', checkedProps.pending, undefined, false)"
738
- :data-rel="reflectedProp('rel', 'rel', checkedProps.rel, undefined, false)"
739
- :data-shape="reflectedProp('shape', 'shape', checkedProps.shape, undefined, false)"
740
- :data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
741
- :data-stretch="reflectedProp('stretch', 'stretch', checkedProps.stretch, undefined, false)"
742
- :data-target="reflectedProp('target', 'target', checkedProps.target, undefined, false)"
743
- :data-tone="reflectedProp('tone', 'tone', checkedProps.tone, undefined, false)"
744
- :data-type="reflectedProp('type', 'type', checkedProps.type, undefined, false)"
745
- :data-variant="reflectedProp('variant', 'variant', checkedProps.variant, undefined, false)"
738
+ :data-ui-button-prop-align="reflectedProp('align', 'align', checkedProps.align, undefined, false)"
739
+ :data-ui-button-prop-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
740
+ :data-ui-button-prop-disabled="reflectedProp('disabled', 'disabled', checkedProps.disabled, undefined, false)"
741
+ :data-ui-button-prop-href="reflectedProp('href', 'href', checkedProps.href, undefined, false)"
742
+ :data-ui-button-prop-loading="reflectedProp('loading', 'loading', checkedProps.loading, undefined, false)"
743
+ :data-ui-button-prop-pending="reflectedProp('pending', 'pending', checkedProps.pending, undefined, false)"
744
+ :data-ui-button-prop-rel="reflectedProp('rel', 'rel', checkedProps.rel, undefined, false)"
745
+ :data-ui-button-prop-shape="reflectedProp('shape', 'shape', checkedProps.shape, undefined, false)"
746
+ :data-ui-button-prop-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
747
+ :data-ui-button-prop-stretch="reflectedProp('stretch', 'stretch', checkedProps.stretch, undefined, false)"
748
+ :data-ui-button-prop-target="reflectedProp('target', 'target', checkedProps.target, undefined, false)"
749
+ :data-ui-button-prop-tone="reflectedProp('tone', 'tone', checkedProps.tone, undefined, false)"
750
+ :data-ui-button-prop-type="reflectedProp('type', 'type', checkedProps.type, undefined, false)"
751
+ :data-ui-button-prop-variant="reflectedProp('variant', 'variant', checkedProps.variant, undefined, false)"
746
752
  :data-ui-button-state="hostState || undefined"
747
753
  ref="@html-next/root"
748
- ><span v-if="checkedProps.loading || checkedProps.pending" class="spinner-wrap"><UiSpinner
749
- class="ui-spinner"
750
- size="sm"
751
- /></span>
754
+ ><span
755
+ v-if="checkedProps.loading || checkedProps.pending"
756
+ class="spinner-wrap"
757
+ data-hn-ui-button
758
+ ><UiSpinner class="ui-spinner" size="sm" /></span>
752
759
  <slot />
753
- <span class="badge"><slot name="badge" /></span></a>
760
+ <span class="badge" data-hn-ui-button><slot name="badge" /></span></a>
754
761
  <button
755
762
  v-else
756
763
  class="ui-button"
757
764
  v-bind="nativeAttrs($attrs)"
765
+ data-hn
766
+ data-hn-ui-button
758
767
  :type="checkedProps.type ?? undefined"
759
768
  :disabled="checkedProps.disabled ?? undefined"
760
769
  :aria-disabled="guardedBinding7"
761
770
  :aria-busy="checkedProps.loading || checkedProps.pending"
762
771
  v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
763
- :data-align="reflectedProp('align', 'align', checkedProps.align, undefined, false)"
764
- :data-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
765
- :data-disabled="reflectedProp('disabled', 'disabled', checkedProps.disabled, undefined, false)"
766
- :data-href="reflectedProp('href', 'href', checkedProps.href, undefined, false)"
767
- :data-loading="reflectedProp('loading', 'loading', checkedProps.loading, undefined, false)"
768
- :data-pending="reflectedProp('pending', 'pending', checkedProps.pending, undefined, false)"
769
- :data-rel="reflectedProp('rel', 'rel', checkedProps.rel, undefined, false)"
770
- :data-shape="reflectedProp('shape', 'shape', checkedProps.shape, undefined, false)"
771
- :data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
772
- :data-stretch="reflectedProp('stretch', 'stretch', checkedProps.stretch, undefined, false)"
773
- :data-target="reflectedProp('target', 'target', checkedProps.target, undefined, false)"
774
- :data-tone="reflectedProp('tone', 'tone', checkedProps.tone, undefined, false)"
775
- :data-type="reflectedProp('type', 'type', checkedProps.type, undefined, false)"
776
- :data-variant="reflectedProp('variant', 'variant', checkedProps.variant, undefined, false)"
772
+ :data-ui-button-prop-align="reflectedProp('align', 'align', checkedProps.align, undefined, false)"
773
+ :data-ui-button-prop-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
774
+ :data-ui-button-prop-disabled="reflectedProp('disabled', 'disabled', checkedProps.disabled, undefined, false)"
775
+ :data-ui-button-prop-href="reflectedProp('href', 'href', checkedProps.href, undefined, false)"
776
+ :data-ui-button-prop-loading="reflectedProp('loading', 'loading', checkedProps.loading, undefined, false)"
777
+ :data-ui-button-prop-pending="reflectedProp('pending', 'pending', checkedProps.pending, undefined, false)"
778
+ :data-ui-button-prop-rel="reflectedProp('rel', 'rel', checkedProps.rel, undefined, false)"
779
+ :data-ui-button-prop-shape="reflectedProp('shape', 'shape', checkedProps.shape, undefined, false)"
780
+ :data-ui-button-prop-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
781
+ :data-ui-button-prop-stretch="reflectedProp('stretch', 'stretch', checkedProps.stretch, undefined, false)"
782
+ :data-ui-button-prop-target="reflectedProp('target', 'target', checkedProps.target, undefined, false)"
783
+ :data-ui-button-prop-tone="reflectedProp('tone', 'tone', checkedProps.tone, undefined, false)"
784
+ :data-ui-button-prop-type="reflectedProp('type', 'type', checkedProps.type, undefined, false)"
785
+ :data-ui-button-prop-variant="reflectedProp('variant', 'variant', checkedProps.variant, undefined, false)"
777
786
  :data-ui-button-state="hostState || undefined"
778
787
  ref="@html-next/root"
779
788
  >
780
- <span v-if="checkedProps.loading || checkedProps.pending" class="spinner-wrap"><UiSpinner
781
- class="ui-spinner"
782
- size="sm"
783
- /></span>
789
+ <span
790
+ v-if="checkedProps.loading || checkedProps.pending"
791
+ class="spinner-wrap"
792
+ data-hn-ui-button
793
+ ><UiSpinner class="ui-spinner" size="sm" /></span>
784
794
  <slot />
785
- <span class="badge"><slot name="badge" /></span>
795
+ <span class="badge" data-hn-ui-button><slot name="badge" /></span>
786
796
  </button>
787
797
  </template>
788
798
 
@@ -906,8 +916,8 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
906
916
 
907
917
  /* A component that sets its display still honours the hidden attribute on its root. */
908
918
 
909
- @scope (.ui-button) to (.ui-spinner, .ui-icon) {
910
- :scope:where(:scope) {
919
+ @scope (.ui-button) to ([data-hn]) {
920
+ :global(:scope:where([data-hn-ui-button])) {
911
921
  /* Optional inherited action-group values keep text and icon actions under the same light.
912
922
  One fine top/start highlight follows the bottom/end lowlight at a joined action seam.
913
923
  A single ambient lift avoids stacking a face gradient or another inset bevel. */
@@ -946,21 +956,21 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
946
956
  color: var(--_tone-text);
947
957
  }
948
958
 
949
- :scope:where(:scope):is(:dir(rtl)) {
959
+ :global(:scope:dir(rtl):where([data-hn-ui-button])) {
950
960
  --_ui-action-start: -1px;
951
961
  }
952
962
 
953
- :scope:where(:scope):is([data-ui-button-state~="align=start"]) {
963
+ :global(:scope[data-ui-button-state~="align=start"]:where([data-hn-ui-button])) {
954
964
  justify-content: flex-start;
955
965
  text-align: start;
956
966
  }
957
967
 
958
- :scope:where(:scope):is([data-ui-button-state~="stretch"]) {
968
+ :global(:scope[data-ui-button-state~="stretch"]:where([data-hn-ui-button])) {
959
969
  display: flex;
960
970
  inline-size: 100%;
961
971
  }
962
972
 
963
- :scope:where(:scope) {
973
+ :global(:scope:where([data-hn-ui-button])) {
964
974
  appearance: none;
965
975
  min-block-size: var(--ui-button-min-block-size, var(--ui-control-size-md));
966
976
  border-style: solid;
@@ -986,58 +996,58 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
986
996
  box-shadow var(--ui-motion-base) var(--ui-motion-ease);
987
997
  margin: 0;
988
998
  }
989
- :scope:where(:scope):is(:is(a)) {
999
+ :global(:scope:is(a):where([data-hn-ui-button])) {
990
1000
  text-decoration: none;
991
1001
  }
992
1002
 
993
- .spinner-wrap {
1003
+ :global(.spinner-wrap:where([data-hn-ui-button])) {
994
1004
  display: inline-flex;
995
1005
  flex: none;
996
1006
  vertical-align: middle;
997
1007
  }
998
- :scope:where(:scope):is(:not([variant="link"]):has(.badge:not(:empty))) {
1008
+ :global(:scope:not([variant="link"]):has(.badge:not(:empty)):where([data-hn-ui-button])) {
999
1009
  padding-block: var(--ui-space-0-5);
1000
1010
  }
1001
1011
 
1002
- .badge {
1012
+ :global(.badge:where([data-hn-ui-button])) {
1003
1013
  display: inline-flex;
1004
1014
  align-items: center;
1005
1015
  flex: none;
1006
1016
  }
1007
1017
 
1008
- .badge:empty {
1018
+ :global(.badge:empty:where([data-hn-ui-button])) {
1009
1019
  display: none;
1010
1020
  }
1011
1021
 
1012
1022
  @supports (text-box-trim: trim-both) {
1013
- :scope:where(:scope) {
1023
+ :global(:scope:where([data-hn-ui-button])) {
1014
1024
  text-box-trim: trim-both;
1015
1025
  text-box-edge: cap alphabetic;
1016
1026
  }
1017
1027
  }
1018
1028
 
1019
- :scope:where(:scope):is([data-ui-button-state~="size=xs"]) {
1029
+ :global(:scope[data-ui-button-state~="size=xs"]:where([data-hn-ui-button])) {
1020
1030
  min-block-size: 1.5rem;
1021
1031
  padding: calc(var(--ui-space-0-5) * 1.5) calc(var(--ui-space-1) * 1.25);
1022
1032
  font-size: var(--ui-font-size-xs);
1023
1033
  }
1024
1034
 
1025
- :scope:where(:scope):is([data-ui-button-state~="shape=pill"]) {
1035
+ :global(:scope[data-ui-button-state~="shape=pill"]:where([data-hn-ui-button])) {
1026
1036
  border-radius: var(--ui-button-radius, var(--ui-radius-round));
1027
1037
  }
1028
1038
 
1029
- :scope:where(:scope):is([data-ui-button-state~="size=sm"]) {
1039
+ :global(:scope[data-ui-button-state~="size=sm"]:where([data-hn-ui-button])) {
1030
1040
  min-block-size: var(--ui-control-size-sm);
1031
1041
  padding: var(--ui-space-1) var(--ui-space-2);
1032
1042
  font-size: var(--ui-font-size-sm);
1033
1043
  }
1034
1044
 
1035
- :scope:where(:scope):is([data-ui-button-state~="size=lg"]) {
1045
+ :global(:scope[data-ui-button-state~="size=lg"]:where([data-hn-ui-button])) {
1036
1046
  min-block-size: var(--ui-control-size-lg);
1037
1047
  padding: var(--ui-space-3) var(--ui-space-4);
1038
1048
  font-size: var(--ui-font-size-md);
1039
1049
  }
1040
- :scope:where(:scope):is([data-ui-button-state~="variant=card"]) {
1050
+ :global(:scope[data-ui-button-state~="variant=card"]:where([data-hn-ui-button])) {
1041
1051
  display: grid;
1042
1052
  grid-template-columns: auto minmax(0, 1fr) auto;
1043
1053
  align-content: center;
@@ -1050,64 +1060,64 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
1050
1060
  box-shadow: none;
1051
1061
  background-image: none;
1052
1062
  }
1053
- :scope:where(:scope):is([data-ui-button-state~="variant=card"][data-ui-button-state~="size=lg"]) {
1063
+ :global(:scope[data-ui-button-state~="variant=card"][data-ui-button-state~="size=lg"]:where([data-hn-ui-button])) {
1054
1064
  min-block-size: max(var(--ui-control-min-block-size), var(--ui-control-size-lg));
1055
1065
  }
1056
- :scope:where(:scope):is([data-ui-button-state~="variant=card"]:has(.card-icon:empty)) {
1066
+ :global(:scope[data-ui-button-state~="variant=card"]:has(.card-icon:empty):where([data-hn-ui-button])) {
1057
1067
  grid-template-columns: minmax(0, 1fr) auto;
1058
1068
  }
1059
- .card-icon {
1069
+ :global(.card-icon:where([data-hn-ui-button])) {
1060
1070
  display: flex;
1061
1071
  align-items: flex-start;
1062
1072
  }
1063
- .card-icon:empty {
1073
+ :global(.card-icon:empty:where([data-hn-ui-button])) {
1064
1074
  display: none;
1065
1075
  }
1066
- .card-content {
1076
+ :global(.card-content:where([data-hn-ui-button])) {
1067
1077
  min-inline-size: 0;
1068
1078
  }
1069
- .card-action {
1079
+ :global(.card-action:where([data-hn-ui-button])) {
1070
1080
  display: flex;
1071
1081
  align-items: center;
1072
1082
  align-self: center;
1073
1083
  }
1074
- :scope:where(:scope):is(:hover:not(:disabled, [aria-disabled="true"])) {
1084
+ :global(:scope:hover:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button])) {
1075
1085
  border-color: var(--ui-button-hover-border, var(--_tone-hover));
1076
1086
  background-color: var(--ui-button-hover-surface, oklch(from var(--_tone) l c h / 12%));
1077
1087
  }
1078
- :scope:where(:scope):is([data-ui-button-state~="variant=card"][data-ui-button-state~="tone=neutral"]) {
1088
+ :global(:scope[data-ui-button-state~="variant=card"][data-ui-button-state~="tone=neutral"]:where([data-hn-ui-button])) {
1079
1089
  border-color: var(--ui-button-border, var(--ui-border));
1080
1090
  }
1081
1091
 
1082
- :scope:where(:scope):is([data-ui-button-state~="variant=card"][data-ui-button-state~="tone=neutral"]:hover:not(:disabled, [aria-disabled="true"])) {
1092
+ :global(:scope[data-ui-button-state~="variant=card"][data-ui-button-state~="tone=neutral"]:hover:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button])) {
1083
1093
  border-color: var(--ui-button-hover-border, var(--ui-border-strong));
1084
1094
  }
1085
- :scope:where(:scope):is(:active:not(:disabled, [aria-disabled="true"])) {
1095
+ :global(:scope:active:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button])) {
1086
1096
  background-color: var(--ui-button-active-surface, oklch(from var(--_tone) l c h / 18%));
1087
1097
  background-image: none;
1088
1098
  box-shadow: var(--ui-pressed);
1089
1099
  }
1090
1100
 
1091
- :scope:where(:scope):is([data-ui-button-state~="variant=solid"]),
1092
- :scope:where(:scope):is([data-ui-button-state~="variant=danger"]) {
1101
+ :global(:scope[data-ui-button-state~="variant=solid"]:where([data-hn-ui-button])),
1102
+ :global(:scope[data-ui-button-state~="variant=danger"]:where([data-hn-ui-button])) {
1093
1103
  border-color: var(--_tone);
1094
1104
  background-color: var(--_tone);
1095
1105
  color: var(--_on-tone);
1096
1106
  box-shadow: var(--ui-button-solid-shadow, var(--ui-action-shadow, var(--_ui-action-shadow)));
1097
1107
  }
1098
1108
 
1099
- :is(:scope[data-ui-button-state~="variant=solid"], :scope[data-ui-button-state~="variant=danger"]):hover:not(:disabled, [aria-disabled="true"]) {
1109
+ :global(:is(:scope[data-ui-button-state~="variant=solid"], :scope[data-ui-button-state~="variant=danger"]):hover:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button])) {
1100
1110
  background-color: var(--_tone-hover);
1101
1111
  border-color: var(--_tone-hover);
1102
1112
  }
1103
1113
 
1104
- :is(:scope[data-ui-button-state~="variant=solid"], :scope[data-ui-button-state~="variant=danger"]):active:not(:disabled, [aria-disabled="true"]) {
1114
+ :global(:is(:scope[data-ui-button-state~="variant=solid"], :scope[data-ui-button-state~="variant=danger"]):active:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button])) {
1105
1115
  background-color: var(--_tone-active);
1106
1116
  border-color: var(--_tone-active);
1107
1117
  background-image: none;
1108
1118
  box-shadow: var(--ui-pressed);
1109
1119
  }
1110
- :scope:where(:scope):is([data-ui-button-state~="tone=neutral"]) {
1120
+ :global(:scope[data-ui-button-state~="tone=neutral"]:where([data-hn-ui-button])) {
1111
1121
  --_hue: var(--ui-text);
1112
1122
  --_hue-hover: var(--ui-text);
1113
1123
  --_hue-active: var(--ui-text);
@@ -1115,8 +1125,8 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
1115
1125
  --_on-hue: var(--ui-surface);
1116
1126
  }
1117
1127
 
1118
- :scope:where(:scope):is([data-ui-button-state~="tone=danger"]),
1119
- :scope:where(:scope):is([data-ui-button-state~="variant=danger"]) {
1128
+ :global(:scope[data-ui-button-state~="tone=danger"]:where([data-hn-ui-button])),
1129
+ :global(:scope[data-ui-button-state~="variant=danger"]:where([data-hn-ui-button])) {
1120
1130
  --_hue: var(--ui-danger);
1121
1131
  --_hue-hover: var(--ui-danger-hover);
1122
1132
  --_hue-active: var(--ui-danger-hover);
@@ -1124,7 +1134,7 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
1124
1134
  --_on-hue: var(--ui-on-danger);
1125
1135
  }
1126
1136
 
1127
- :scope:where(:scope):is([data-ui-button-state~="tone=success"]) {
1137
+ :global(:scope[data-ui-button-state~="tone=success"]:where([data-hn-ui-button])) {
1128
1138
  --_hue: var(--ui-success);
1129
1139
  --_hue-hover: color-mix(in srgb, var(--ui-success) 85%, #000);
1130
1140
  --_hue-active: color-mix(in srgb, var(--ui-success) 75%, #000);
@@ -1132,7 +1142,7 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
1132
1142
  --_on-hue: var(--ui-surface);
1133
1143
  }
1134
1144
 
1135
- :scope:where(:scope):is([data-ui-button-state~="tone=warning"]) {
1145
+ :global(:scope[data-ui-button-state~="tone=warning"]:where([data-hn-ui-button])) {
1136
1146
  --_hue: var(--ui-warning);
1137
1147
  --_hue-hover: color-mix(in srgb, var(--ui-warning) 85%, #000);
1138
1148
  --_hue-active: color-mix(in srgb, var(--ui-warning) 75%, #000);
@@ -1140,14 +1150,14 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
1140
1150
  --_on-hue: var(--ui-surface);
1141
1151
  }
1142
1152
 
1143
- :scope:where(:scope):is([data-ui-button-state~="tone=info"]) {
1153
+ :global(:scope[data-ui-button-state~="tone=info"]:where([data-hn-ui-button])) {
1144
1154
  --_hue: var(--ui-info);
1145
1155
  --_hue-hover: color-mix(in srgb, var(--ui-info) 85%, #000);
1146
1156
  --_hue-active: color-mix(in srgb, var(--ui-info) 75%, #000);
1147
1157
  --_hue-text: color-mix(in srgb, var(--ui-info) 85%, #000);
1148
1158
  --_on-hue: var(--ui-surface);
1149
1159
  }
1150
- :scope:where(:scope):is([data-ui-button-state~="variant=field"]) {
1160
+ :global(:scope[data-ui-button-state~="variant=field"]:where([data-hn-ui-button])) {
1151
1161
  --_ui-field-shadow: var(--ui-shadow-sm);
1152
1162
  border-color: var(--ui-button-border, var(--ui-control-border, var(--ui-border-strong)));
1153
1163
  border-radius: var(--ui-button-radius, var(--ui-field-radius, var(--ui-radius-md)));
@@ -1160,7 +1170,7 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
1160
1170
  box-shadow: var(--ui-button-shadow, var(--_ui-field-shadow));
1161
1171
  }
1162
1172
 
1163
- :scope:where(:scope):is([data-ui-button-state~="variant=field"]:hover:not(:disabled, [aria-disabled="true"])) {
1173
+ :global(:scope[data-ui-button-state~="variant=field"]:hover:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button])) {
1164
1174
  border-color: var(
1165
1175
  --ui-button-hover-border,
1166
1176
  var(--ui-control-border-hover, var(--ui-text-secondary))
@@ -1171,28 +1181,28 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
1171
1181
  );
1172
1182
  }
1173
1183
 
1174
- :scope:where(:scope):is([data-ui-button-state~="variant=field"]:is(:active, [aria-expanded="true"]):not(:disabled, [aria-disabled="true"])) {
1184
+ :global(:scope[data-ui-button-state~="variant=field"]:is(:active, [aria-expanded="true"]):not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button])) {
1175
1185
  --_ui-field-shadow: var(--ui-pressed);
1176
1186
  }
1177
1187
 
1178
- :scope:where(:scope):is([data-ui-button-state~="variant=field"]:focus-visible) {
1188
+ :global(:scope[data-ui-button-state~="variant=field"]:focus-visible:where([data-hn-ui-button])) {
1179
1189
  border-color: var(--ui-control-focus, var(--ui-accent-solid));
1180
1190
  box-shadow:
1181
1191
  var(--ui-button-shadow, var(--_ui-field-shadow)),
1182
1192
  var(--ui-control-focus-halo-shadow);
1183
1193
  }
1184
1194
 
1185
- :scope:where(:scope):is([data-ui-button-state~="variant=ghost"]) {
1195
+ :global(:scope[data-ui-button-state~="variant=ghost"]:where([data-hn-ui-button])) {
1186
1196
  border-color: transparent;
1187
1197
  background: transparent;
1188
1198
  box-shadow: none;
1189
1199
  color: var(--ui-button-ghost-text, var(--_tone-text));
1190
1200
  }
1191
- :scope:where(:scope):is([data-ui-button-state~="variant=ghost"]:hover:not(:disabled, [aria-disabled="true"])) {
1201
+ :global(:scope[data-ui-button-state~="variant=ghost"]:hover:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button])) {
1192
1202
  background-color: var(--ui-button-ghost-hover-surface, oklch(from var(--_tone) l c h / 10%));
1193
1203
  border-color: transparent;
1194
1204
  }
1195
- :scope:where(:scope):is([data-ui-button-state~="variant=ghost"]:is(:active, [aria-expanded="true"]):not(:disabled, [aria-disabled="true"])) {
1205
+ :global(:scope[data-ui-button-state~="variant=ghost"]:is(:active, [aria-expanded="true"]):not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button])) {
1196
1206
  background-color: var(
1197
1207
  --ui-button-ghost-active-surface,
1198
1208
  color-mix(in oklch, var(--ui-surface), var(--_tone) 3%)
@@ -1202,23 +1212,23 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
1202
1212
  inset 0 0 0 1px oklch(from var(--_tone) l c h / 10%),
1203
1213
  inset 0 1px 2px oklch(from var(--_tone) l c h / 8%);
1204
1214
  }
1205
- :scope:where(:scope):is(:focus-visible) {
1215
+ :global(:scope:focus-visible:where([data-hn-ui-button])) {
1206
1216
  outline: none;
1207
1217
  box-shadow:
1208
1218
  var(--ui-button-shadow, var(--ui-action-shadow, var(--_ui-action-shadow))),
1209
1219
  var(--ui-focus-halo);
1210
1220
  }
1211
1221
 
1212
- :scope:where(:scope):is([data-ui-button-state~="variant=solid"]:focus-visible) {
1222
+ :global(:scope[data-ui-button-state~="variant=solid"]:focus-visible:where([data-hn-ui-button])) {
1213
1223
  box-shadow:
1214
1224
  var(--ui-button-solid-shadow, var(--ui-action-shadow, var(--_ui-action-shadow))),
1215
1225
  var(--ui-focus-halo);
1216
1226
  }
1217
1227
 
1218
- :is(:scope[data-ui-button-state~="variant=ghost"], :scope[data-ui-button-state~="variant=link"], :scope[data-ui-button-state~="variant=card"]):focus-visible {
1228
+ :global(:is(:scope[data-ui-button-state~="variant=ghost"], :scope[data-ui-button-state~="variant=link"], :scope[data-ui-button-state~="variant=card"]):focus-visible:where([data-hn-ui-button])) {
1219
1229
  box-shadow: var(--ui-focus-halo);
1220
1230
  }
1221
- :scope:where(:scope):is(:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"]))) {
1231
+ :global(:scope:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])):where([data-hn-ui-button])) {
1222
1232
  border-color: var(--ui-disabled-border);
1223
1233
  background-color: var(--ui-disabled-surface);
1224
1234
  color: var(--ui-disabled-text);
@@ -1229,28 +1239,30 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
1229
1239
  box-shadow: none;
1230
1240
  }
1231
1241
 
1232
- :is(:scope[data-ui-button-state~="loading"], :scope[data-ui-button-state~="pending"]):focus-visible {
1242
+ :global(:is(:scope[data-ui-button-state~="loading"], :scope[data-ui-button-state~="pending"]):focus-visible:where([data-hn-ui-button])) {
1233
1243
  box-shadow: var(--ui-focus-halo);
1234
1244
  }
1235
- :scope:where(:scope):is([data-ui-button-state~="variant=ghost"]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"]))) {
1245
+ :global(:scope[data-ui-button-state~="variant=ghost"]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])):where([data-hn-ui-button])) {
1236
1246
  background-color: var(--ui-disabled-surface);
1237
1247
  border-color: transparent;
1238
1248
  }
1239
1249
  @media (pointer: coarse) {
1240
- :scope:where(:scope), :scope:where(:scope):is([data-ui-button-state~="size=sm"]) {
1250
+ :global(:scope:where([data-hn-ui-button])),
1251
+ :global(:scope[data-ui-button-state~="size=sm"]:where([data-hn-ui-button])) {
1241
1252
  min-block-size: var(--ui-control-min-block-size);
1242
1253
  }
1243
1254
  }
1244
- :scope:where(:scope):is(html[data-ui-input-modality="touch"]
1245
- [data-ui-button-state~="variant=link"]),
1246
- :scope:where(:scope):is(html[data-ui-input-modality="touch"] [data-ui-button-state~="size=xs"]) {
1255
+ :global(html[data-ui-input-modality="touch"]
1256
+ :scope[data-ui-button-state~="variant=link"]:where([data-hn-ui-button])),
1257
+ :global(html[data-ui-input-modality="touch"]
1258
+ :scope[data-ui-button-state~="size=xs"]:where([data-hn-ui-button])) {
1247
1259
  position: relative;
1248
1260
  }
1249
1261
 
1250
- :scope:where(:scope):is(html[data-ui-input-modality="touch"]
1251
- [data-ui-button-state~="variant=link"])::after,
1252
- :scope:where(:scope):is(html[data-ui-input-modality="touch"]
1253
- [data-ui-button-state~="size=xs"])::after {
1262
+ :global(html[data-ui-input-modality="touch"]
1263
+ :scope[data-ui-button-state~="variant=link"]:where([data-hn-ui-button])::after),
1264
+ :global(html[data-ui-input-modality="touch"]
1265
+ :scope[data-ui-button-state~="size=xs"]:where([data-hn-ui-button])::after) {
1254
1266
  position: absolute;
1255
1267
  inset: 50% auto auto 50%;
1256
1268
  inline-size: max(100%, var(--ui-control-min-block-size));
@@ -1258,7 +1270,7 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
1258
1270
  transform: translate(-50%, -50%);
1259
1271
  content: "";
1260
1272
  }
1261
- :scope:where(:scope):is([data-ui-button-state~="variant=link"]) {
1273
+ :global(:scope[data-ui-button-state~="variant=link"]:where([data-hn-ui-button])) {
1262
1274
  display: inline;
1263
1275
  min-block-size: 0;
1264
1276
  padding: 0;
@@ -1277,30 +1289,30 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
1277
1289
  text-decoration-color var(--ui-motion-fast) var(--ui-motion-ease);
1278
1290
  }
1279
1291
 
1280
- :scope:where(:scope):is([data-ui-button-state~="variant=link"]:hover:not(:disabled, [aria-disabled="true"])) {
1292
+ :global(:scope[data-ui-button-state~="variant=link"]:hover:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button])) {
1281
1293
  color: var(--ui-button-link-hover-text, var(--ui-text-primary));
1282
1294
  text-decoration-color: currentColor;
1283
1295
  background: none;
1284
1296
  transform: none;
1285
1297
  }
1286
1298
 
1287
- :scope:where(:scope):is([data-ui-button-state~="variant=link"]:active:not(:disabled, [aria-disabled="true"])) {
1299
+ :global(:scope[data-ui-button-state~="variant=link"]:active:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button])) {
1288
1300
  background: none;
1289
1301
  transform: none;
1290
1302
  }
1291
1303
 
1292
- :scope:where(:scope):is([data-ui-button-state~="variant=link"]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"]))) {
1304
+ :global(:scope[data-ui-button-state~="variant=link"]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])):where([data-hn-ui-button])) {
1293
1305
  background: none;
1294
1306
  border-color: transparent;
1295
1307
  }
1296
1308
 
1297
- :scope:where(:scope):is([data-ui-button-state~="variant=link"]:focus-visible) {
1309
+ :global(:scope[data-ui-button-state~="variant=link"]:focus-visible:where([data-hn-ui-button])) {
1298
1310
  box-shadow: none;
1299
1311
  /* Fallback keeps the ring if the token is missing: an unresolved var() would void the outline. */
1300
1312
  outline: var(--ui-focus-width) solid var(--ui-focus-ring);
1301
1313
  outline-offset: var(--ui-focus-width);
1302
1314
  }
1303
- :scope:where(:scope):is([hidden]) {
1315
+ :global(:scope[hidden]:where([data-hn-ui-button])) {
1304
1316
  display: none;
1305
1317
  }
1306
1318
  }