@threadlabs/looma 0.28.12 → 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 (427) 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/editor/formatting-selection.d.ts +49 -0
  13. package/package.json +3 -3
  14. package/styles/ui-action-bar.css +1 -1
  15. package/styles/ui-affordance-scope.css +1 -1
  16. package/styles/ui-avatar-group.css +1 -1
  17. package/styles/ui-avatar.css +1 -1
  18. package/styles/ui-badge.css +1 -1
  19. package/styles/ui-breadcrumb-item.css +1 -1
  20. package/styles/ui-breadcrumbs.css +1 -1
  21. package/styles/ui-button.css +1 -1
  22. package/styles/ui-callout.css +1 -1
  23. package/styles/ui-card.css +1 -1
  24. package/styles/ui-checkbox.css +1 -1
  25. package/styles/ui-cluster.css +1 -1
  26. package/styles/ui-combobox.css +1 -1
  27. package/styles/ui-container.css +1 -1
  28. package/styles/ui-context-menu.css +1 -1
  29. package/styles/ui-cover.css +1 -1
  30. package/styles/ui-description-item.css +1 -1
  31. package/styles/ui-description-list.css +1 -1
  32. package/styles/ui-dialog.css +1 -1
  33. package/styles/ui-disclosure.css +2 -2
  34. package/styles/ui-editable.css +1 -1
  35. package/styles/ui-editor-block-actions.css +1 -1
  36. package/styles/ui-editor-chip-editor.css +1 -1
  37. package/styles/ui-editor-code-language.css +1 -1
  38. package/styles/ui-editor-image-toolbar.css +1 -1
  39. package/styles/ui-editor-insert-table-grid.css +1 -1
  40. package/styles/ui-editor-link-card.css +1 -1
  41. package/styles/ui-editor-link-form.css +1 -1
  42. package/styles/ui-editor-mention-menu-item.css +1 -1
  43. package/styles/ui-editor-mention-menu.css +1 -1
  44. package/styles/ui-editor-slash-menu-group.css +1 -1
  45. package/styles/ui-editor-slash-menu-item.css +1 -1
  46. package/styles/ui-editor-slash-menu.css +1 -1
  47. package/styles/ui-editor-surface.css +1 -1
  48. package/styles/ui-editor-table-context-menu.css +1 -1
  49. package/styles/ui-editor-table-overlay.css +1 -1
  50. package/styles/ui-editor-table-toolbar.css +1 -1
  51. package/styles/ui-editor-toolbar.css +1 -1
  52. package/styles/ui-floating-action-button.css +1 -1
  53. package/styles/ui-form-field.css +1 -1
  54. package/styles/ui-grid.css +1 -1
  55. package/styles/ui-icon-button.css +1 -1
  56. package/styles/ui-icon.css +1 -1
  57. package/styles/ui-image.css +1 -1
  58. package/styles/ui-input-group.css +1 -1
  59. package/styles/ui-input.css +1 -1
  60. package/styles/ui-list-item.css +1 -1
  61. package/styles/ui-list.css +1 -1
  62. package/styles/ui-listbox.css +1 -1
  63. package/styles/ui-menu-group.css +1 -1
  64. package/styles/ui-menu-item.css +1 -1
  65. package/styles/ui-menu.css +2 -2
  66. package/styles/ui-meter.css +1 -1
  67. package/styles/ui-nav-item.css +1 -1
  68. package/styles/ui-page-header.css +1 -1
  69. package/styles/ui-popover.css +2 -2
  70. package/styles/ui-radio-group.css +1 -1
  71. package/styles/ui-radio.css +1 -1
  72. package/styles/ui-reel.css +1 -1
  73. package/styles/ui-scroll-area.css +1 -1
  74. package/styles/ui-search-result-row.css +1 -1
  75. package/styles/ui-search-shell.css +1 -1
  76. package/styles/ui-section.css +1 -1
  77. package/styles/ui-select.css +1 -1
  78. package/styles/ui-separator.css +1 -1
  79. package/styles/ui-sidebar.css +2 -2
  80. package/styles/ui-spinner.css +1 -1
  81. package/styles/ui-stack.css +1 -1
  82. package/styles/ui-status-message.css +1 -1
  83. package/styles/ui-swatch.css +1 -1
  84. package/styles/ui-switch.css +1 -1
  85. package/styles/ui-switcher.css +1 -1
  86. package/styles/ui-table.css +1 -1
  87. package/styles/ui-tabs.css +1 -1
  88. package/styles/ui-text.css +1 -1
  89. package/styles/ui-textarea.css +1 -1
  90. package/styles/ui-toast-region.css +1 -1
  91. package/styles/ui-toast.css +1 -1
  92. package/styles/ui-tooltip.css +1 -1
  93. package/styles/ui-top-bar.css +1 -1
  94. package/styles/ui-tree-item.css +1 -1
  95. package/styles/ui-tree.css +1 -1
  96. package/vanilla/UiActionBar.d.ts +1 -1
  97. package/vanilla/UiActionBar.js +1 -1
  98. package/vanilla/UiAffordanceScope.d.ts +1 -1
  99. package/vanilla/UiAffordanceScope.js +2 -2
  100. package/vanilla/UiAvatar.d.ts +1 -1
  101. package/vanilla/UiAvatar.js +2 -2
  102. package/vanilla/UiAvatarGroup.d.ts +1 -1
  103. package/vanilla/UiAvatarGroup.js +2 -2
  104. package/vanilla/UiBadge.d.ts +1 -1
  105. package/vanilla/UiBadge.js +2 -2
  106. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  107. package/vanilla/UiBreadcrumbItem.js +2 -2
  108. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  109. package/vanilla/UiBreadcrumbs.js +2 -2
  110. package/vanilla/UiButton.d.ts +1 -1
  111. package/vanilla/UiButton.js +3 -3
  112. package/vanilla/UiCallout.d.ts +1 -1
  113. package/vanilla/UiCallout.js +2 -2
  114. package/vanilla/UiCard.d.ts +1 -1
  115. package/vanilla/UiCard.js +3 -3
  116. package/vanilla/UiCheckbox.d.ts +1 -1
  117. package/vanilla/UiCheckbox.js +2 -2
  118. package/vanilla/UiCluster.d.ts +1 -1
  119. package/vanilla/UiCluster.js +2 -2
  120. package/vanilla/UiCombobox.d.ts +1 -1
  121. package/vanilla/UiCombobox.js +2 -2
  122. package/vanilla/UiContainer.d.ts +1 -1
  123. package/vanilla/UiContainer.js +2 -2
  124. package/vanilla/UiContextMenu.d.ts +1 -1
  125. package/vanilla/UiContextMenu.js +2 -2
  126. package/vanilla/UiCover.d.ts +1 -1
  127. package/vanilla/UiCover.js +2 -2
  128. package/vanilla/UiDescriptionItem.d.ts +1 -1
  129. package/vanilla/UiDescriptionItem.js +2 -2
  130. package/vanilla/UiDescriptionList.d.ts +1 -1
  131. package/vanilla/UiDescriptionList.js +2 -2
  132. package/vanilla/UiDialog.d.ts +1 -1
  133. package/vanilla/UiDialog.js +2 -2
  134. package/vanilla/UiDisclosure.d.ts +1 -1
  135. package/vanilla/UiDisclosure.js +2 -2
  136. package/vanilla/UiEditable.d.ts +1 -1
  137. package/vanilla/UiEditable.js +2 -2
  138. package/vanilla/UiEditorBlockActions.d.ts +1 -1
  139. package/vanilla/UiEditorBlockActions.js +2 -2
  140. package/vanilla/UiEditorChipEditor.d.ts +1 -1
  141. package/vanilla/UiEditorChipEditor.js +2 -2
  142. package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
  143. package/vanilla/UiEditorCodeLanguage.js +2 -2
  144. package/vanilla/UiEditorImageToolbar.d.ts +1 -1
  145. package/vanilla/UiEditorImageToolbar.js +2 -2
  146. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  147. package/vanilla/UiEditorInsertTableGrid.js +2 -2
  148. package/vanilla/UiEditorLinkCard.d.ts +1 -1
  149. package/vanilla/UiEditorLinkCard.js +2 -2
  150. package/vanilla/UiEditorLinkForm.d.ts +1 -1
  151. package/vanilla/UiEditorLinkForm.js +2 -2
  152. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  153. package/vanilla/UiEditorMentionMenu.js +2 -2
  154. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  155. package/vanilla/UiEditorMentionMenuItem.js +3 -3
  156. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  157. package/vanilla/UiEditorSlashMenu.js +2 -2
  158. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  159. package/vanilla/UiEditorSlashMenuGroup.js +2 -2
  160. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  161. package/vanilla/UiEditorSlashMenuItem.js +3 -3
  162. package/vanilla/UiEditorSurface.d.ts +1 -1
  163. package/vanilla/UiEditorSurface.js +2 -2
  164. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  165. package/vanilla/UiEditorTableContextMenu.js +2 -2
  166. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  167. package/vanilla/UiEditorTableOverlay.js +2 -2
  168. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  169. package/vanilla/UiEditorTableToolbar.js +2 -2
  170. package/vanilla/UiEditorToolbar.d.ts +1 -1
  171. package/vanilla/UiEditorToolbar.js +2 -2
  172. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  173. package/vanilla/UiFloatingActionButton.js +2 -2
  174. package/vanilla/UiFormField.d.ts +1 -1
  175. package/vanilla/UiFormField.js +2 -2
  176. package/vanilla/UiGrid.d.ts +1 -1
  177. package/vanilla/UiGrid.js +2 -2
  178. package/vanilla/UiIcon.d.ts +1 -1
  179. package/vanilla/UiIcon.js +2 -2
  180. package/vanilla/UiIconButton.d.ts +1 -1
  181. package/vanilla/UiIconButton.js +3 -3
  182. package/vanilla/UiImage.d.ts +1 -1
  183. package/vanilla/UiImage.js +2 -2
  184. package/vanilla/UiInput.d.ts +1 -1
  185. package/vanilla/UiInput.js +2 -2
  186. package/vanilla/UiInputGroup.d.ts +1 -1
  187. package/vanilla/UiInputGroup.js +2 -2
  188. package/vanilla/UiList.d.ts +1 -1
  189. package/vanilla/UiList.js +3 -3
  190. package/vanilla/UiListItem.d.ts +1 -1
  191. package/vanilla/UiListItem.js +2 -2
  192. package/vanilla/UiListbox.d.ts +1 -1
  193. package/vanilla/UiListbox.js +2 -2
  194. package/vanilla/UiMenu.d.ts +1 -1
  195. package/vanilla/UiMenu.js +2 -2
  196. package/vanilla/UiMenuGroup.d.ts +1 -1
  197. package/vanilla/UiMenuGroup.js +2 -2
  198. package/vanilla/UiMenuItem.d.ts +1 -1
  199. package/vanilla/UiMenuItem.js +4 -4
  200. package/vanilla/UiMeter.d.ts +1 -1
  201. package/vanilla/UiMeter.js +2 -2
  202. package/vanilla/UiNavItem.d.ts +1 -1
  203. package/vanilla/UiNavItem.js +3 -3
  204. package/vanilla/UiPageHeader.d.ts +1 -1
  205. package/vanilla/UiPageHeader.js +2 -2
  206. package/vanilla/UiPopover.d.ts +1 -1
  207. package/vanilla/UiPopover.js +2 -2
  208. package/vanilla/UiRadio.d.ts +1 -1
  209. package/vanilla/UiRadio.js +2 -2
  210. package/vanilla/UiRadioGroup.d.ts +1 -1
  211. package/vanilla/UiRadioGroup.js +2 -2
  212. package/vanilla/UiReel.d.ts +1 -1
  213. package/vanilla/UiReel.js +2 -2
  214. package/vanilla/UiScrollArea.d.ts +1 -1
  215. package/vanilla/UiScrollArea.js +2 -2
  216. package/vanilla/UiSearchResultRow.d.ts +1 -1
  217. package/vanilla/UiSearchResultRow.js +2 -2
  218. package/vanilla/UiSearchShell.d.ts +1 -1
  219. package/vanilla/UiSearchShell.js +2 -2
  220. package/vanilla/UiSection.d.ts +1 -1
  221. package/vanilla/UiSection.js +2 -2
  222. package/vanilla/UiSelect.d.ts +1 -1
  223. package/vanilla/UiSelect.js +2 -2
  224. package/vanilla/UiSeparator.d.ts +1 -1
  225. package/vanilla/UiSeparator.js +2 -2
  226. package/vanilla/UiSidebar.d.ts +1 -1
  227. package/vanilla/UiSidebar.js +2 -2
  228. package/vanilla/UiSpinner.d.ts +1 -1
  229. package/vanilla/UiSpinner.js +2 -2
  230. package/vanilla/UiStack.d.ts +1 -1
  231. package/vanilla/UiStack.js +2 -2
  232. package/vanilla/UiStatusMessage.d.ts +1 -1
  233. package/vanilla/UiStatusMessage.js +2 -2
  234. package/vanilla/UiSwatch.d.ts +1 -1
  235. package/vanilla/UiSwatch.js +2 -2
  236. package/vanilla/UiSwitch.d.ts +1 -1
  237. package/vanilla/UiSwitch.js +2 -2
  238. package/vanilla/UiSwitcher.d.ts +1 -1
  239. package/vanilla/UiSwitcher.js +2 -2
  240. package/vanilla/UiTable.d.ts +1 -1
  241. package/vanilla/UiTable.js +2 -2
  242. package/vanilla/UiTabs.d.ts +1 -1
  243. package/vanilla/UiTabs.js +2 -2
  244. package/vanilla/UiText.d.ts +1 -1
  245. package/vanilla/UiText.js +3 -3
  246. package/vanilla/UiTextarea.d.ts +1 -1
  247. package/vanilla/UiTextarea.js +2 -2
  248. package/vanilla/UiToast.d.ts +1 -1
  249. package/vanilla/UiToast.js +2 -2
  250. package/vanilla/UiToastRegion.d.ts +1 -1
  251. package/vanilla/UiToastRegion.js +2 -2
  252. package/vanilla/UiTooltip.d.ts +1 -1
  253. package/vanilla/UiTooltip.js +2 -2
  254. package/vanilla/UiTopBar.d.ts +1 -1
  255. package/vanilla/UiTopBar.js +1 -1
  256. package/vanilla/UiTree.d.ts +1 -1
  257. package/vanilla/UiTree.js +2 -2
  258. package/vanilla/UiTreeItem.d.ts +1 -1
  259. package/vanilla/UiTreeItem.js +3 -3
  260. package/vue/UiActionBar.vue +23 -15
  261. package/vue/UiAffordanceScope.vue +11 -9
  262. package/vue/UiAvatar.vue +34 -27
  263. package/vue/UiAvatarGroup.vue +22 -17
  264. package/vue/UiBadge.vue +78 -69
  265. package/vue/UiBreadcrumbItem.vue +17 -14
  266. package/vue/UiBreadcrumbs.vue +9 -7
  267. package/vue/UiButton.vue +150 -138
  268. package/vue/UiCallout.vue +68 -43
  269. package/vue/UiCard.vue +52 -44
  270. package/vue/UiCheckbox.vue +48 -40
  271. package/vue/UiCluster.vue +35 -33
  272. package/vue/UiCombobox.vue +158 -107
  273. package/vue/UiContainer.vue +16 -14
  274. package/vue/UiContextMenu.vue +24 -13
  275. package/vue/UiCover.vue +10 -8
  276. package/vue/UiDescriptionItem.vue +11 -9
  277. package/vue/UiDescriptionList.vue +20 -18
  278. package/vue/UiDialog.vue +41 -37
  279. package/vue/UiDisclosure.vue +65 -51
  280. package/vue/UiEditable.vue +34 -33
  281. package/vue/UiEditorBlockActions.vue +4 -3
  282. package/vue/UiEditorChipEditor.vue +4 -3
  283. package/vue/UiEditorCodeLanguage.vue +5 -4
  284. package/vue/UiEditorImageToolbar.vue +5 -4
  285. package/vue/UiEditorInsertTableGrid.vue +19 -18
  286. package/vue/UiEditorLinkCard.vue +7 -6
  287. package/vue/UiEditorLinkForm.vue +15 -14
  288. package/vue/UiEditorMentionMenu.vue +52 -37
  289. package/vue/UiEditorMentionMenuItem.vue +30 -20
  290. package/vue/UiEditorSlashMenu.vue +49 -36
  291. package/vue/UiEditorSlashMenuGroup.vue +16 -10
  292. package/vue/UiEditorSlashMenuItem.vue +36 -26
  293. package/vue/UiEditorSurface.vue +8 -6
  294. package/vue/UiEditorTableContextMenu.vue +26 -25
  295. package/vue/UiEditorTableOverlay.vue +56 -51
  296. package/vue/UiEditorTableToolbar.vue +37 -36
  297. package/vue/UiEditorToolbar.vue +24 -20
  298. package/vue/UiFloatingActionButton.vue +17 -15
  299. package/vue/UiFormField.vue +27 -22
  300. package/vue/UiGrid.vue +17 -15
  301. package/vue/UiIcon.vue +7 -6
  302. package/vue/UiIconButton.vue +75 -70
  303. package/vue/UiImage.vue +61 -46
  304. package/vue/UiInput.vue +28 -28
  305. package/vue/UiInputGroup.vue +48 -43
  306. package/vue/UiList.vue +25 -21
  307. package/vue/UiListItem.vue +54 -44
  308. package/vue/UiListbox.vue +29 -22
  309. package/vue/UiMenu.vue +25 -23
  310. package/vue/UiMenuGroup.vue +11 -7
  311. package/vue/UiMenuItem.vue +52 -43
  312. package/vue/UiMeter.vue +42 -41
  313. package/vue/UiNavItem.vue +60 -47
  314. package/vue/UiPageHeader.vue +27 -20
  315. package/vue/UiPopover.vue +21 -19
  316. package/vue/UiRadio.vue +32 -28
  317. package/vue/UiRadioGroup.vue +24 -19
  318. package/vue/UiReel.vue +24 -22
  319. package/vue/UiScrollArea.vue +30 -24
  320. package/vue/UiSearchResultRow.vue +41 -26
  321. package/vue/UiSearchShell.vue +37 -29
  322. package/vue/UiSection.vue +31 -24
  323. package/vue/UiSelect.vue +23 -21
  324. package/vue/UiSeparator.vue +14 -13
  325. package/vue/UiSidebar.vue +48 -40
  326. package/vue/UiSpinner.vue +14 -13
  327. package/vue/UiStack.vue +26 -24
  328. package/vue/UiStatusMessage.vue +26 -21
  329. package/vue/UiSwatch.vue +13 -12
  330. package/vue/UiSwitch.vue +37 -33
  331. package/vue/UiSwitcher.vue +27 -22
  332. package/vue/UiTable.vue +23 -19
  333. package/vue/UiTabs.vue +48 -33
  334. package/vue/UiText.vue +173 -151
  335. package/vue/UiTextarea.vue +27 -27
  336. package/vue/UiToast.vue +17 -15
  337. package/vue/UiToastRegion.vue +36 -31
  338. package/vue/UiTooltip.vue +40 -34
  339. package/vue/UiTopBar.vue +17 -13
  340. package/vue/UiTree.vue +17 -15
  341. package/vue/UiTreeItem.vue +202 -133
  342. package/vue/chunks/UiActionBar.js +21 -6
  343. package/vue/chunks/UiAffordanceScope.js +8 -6
  344. package/vue/chunks/UiAvatar.js +30 -20
  345. package/vue/chunks/UiAvatarGroup.js +16 -13
  346. package/vue/chunks/UiBadge.js +19 -13
  347. package/vue/chunks/UiBreadcrumbItem.js +13 -7
  348. package/vue/chunks/UiBreadcrumbs.js +9 -4
  349. package/vue/chunks/UiButton.js +158 -124
  350. package/vue/chunks/UiCallout.js +105 -37
  351. package/vue/chunks/UiCard.js +50 -42
  352. package/vue/chunks/UiCheckbox.js +32 -22
  353. package/vue/chunks/UiCluster.js +18 -16
  354. package/vue/chunks/UiCombobox.js +130 -73
  355. package/vue/chunks/UiContainer.js +10 -8
  356. package/vue/chunks/UiContextMenu.js +7 -4
  357. package/vue/chunks/UiCover.js +7 -5
  358. package/vue/chunks/UiDescriptionItem.js +9 -3
  359. package/vue/chunks/UiDescriptionList.js +10 -8
  360. package/vue/chunks/UiDialog.js +26 -19
  361. package/vue/chunks/UiDisclosure.js +43 -25
  362. package/vue/chunks/UiEditable.js +25 -24
  363. package/vue/chunks/UiEditorBlockActions.js +4 -3
  364. package/vue/chunks/UiEditorChipEditor.js +4 -3
  365. package/vue/chunks/UiEditorCodeLanguage.js +5 -4
  366. package/vue/chunks/UiEditorImageToolbar.js +7 -6
  367. package/vue/chunks/UiEditorInsertTableGrid.js +10 -9
  368. package/vue/chunks/UiEditorLinkCard.js +11 -10
  369. package/vue/chunks/UiEditorLinkForm.js +26 -25
  370. package/vue/chunks/UiEditorMentionMenu.js +41 -24
  371. package/vue/chunks/UiEditorMentionMenuItem.js +23 -11
  372. package/vue/chunks/UiEditorSlashMenu.js +41 -20
  373. package/vue/chunks/UiEditorSlashMenuGroup.js +16 -5
  374. package/vue/chunks/UiEditorSlashMenuItem.js +28 -14
  375. package/vue/chunks/UiEditorSurface.js +6 -4
  376. package/vue/chunks/UiEditorTableContextMenu.js +14 -13
  377. package/vue/chunks/UiEditorTableOverlay.js +6 -5
  378. package/vue/chunks/UiEditorTableToolbar.js +14 -13
  379. package/vue/chunks/UiEditorToolbar.js +8 -5
  380. package/vue/chunks/UiFloatingActionButton.js +11 -9
  381. package/vue/chunks/UiFormField.js +30 -16
  382. package/vue/chunks/UiGrid.js +10 -8
  383. package/vue/chunks/UiIcon.js +6 -3
  384. package/vue/chunks/UiIconButton.js +33 -26
  385. package/vue/chunks/UiImage.js +31 -22
  386. package/vue/chunks/UiInput.js +17 -16
  387. package/vue/chunks/UiInputGroup.js +30 -16
  388. package/vue/chunks/UiList.js +24 -20
  389. package/vue/chunks/UiListItem.js +39 -22
  390. package/vue/chunks/UiListbox.js +35 -25
  391. package/vue/chunks/UiMenu.js +22 -17
  392. package/vue/chunks/UiMenuGroup.js +7 -4
  393. package/vue/chunks/UiMenuItem.js +57 -38
  394. package/vue/chunks/UiMeter.js +22 -21
  395. package/vue/chunks/UiNavItem.js +78 -42
  396. package/vue/chunks/UiPageHeader.js +30 -10
  397. package/vue/chunks/UiPopover.js +16 -11
  398. package/vue/chunks/UiRadio.js +26 -16
  399. package/vue/chunks/UiRadioGroup.js +24 -19
  400. package/vue/chunks/UiReel.js +11 -9
  401. package/vue/chunks/UiScrollArea.js +16 -13
  402. package/vue/chunks/UiSearchResultRow.js +39 -19
  403. package/vue/chunks/UiSearchShell.js +36 -18
  404. package/vue/chunks/UiSection.js +31 -13
  405. package/vue/chunks/UiSelect.js +14 -12
  406. package/vue/chunks/UiSeparator.js +11 -10
  407. package/vue/chunks/UiSidebar.js +33 -23
  408. package/vue/chunks/UiSpinner.js +7 -6
  409. package/vue/chunks/UiStack.js +14 -12
  410. package/vue/chunks/UiStatusMessage.js +23 -11
  411. package/vue/chunks/UiSwatch.js +5 -4
  412. package/vue/chunks/UiSwitch.js +26 -16
  413. package/vue/chunks/UiSwitcher.js +13 -11
  414. package/vue/chunks/UiTable.js +9 -7
  415. package/vue/chunks/UiTabs.js +23 -18
  416. package/vue/chunks/UiText.js +277 -255
  417. package/vue/chunks/UiTextarea.js +21 -20
  418. package/vue/chunks/UiToast.js +13 -7
  419. package/vue/chunks/UiToastRegion.js +15 -8
  420. package/vue/chunks/UiTooltip.js +27 -19
  421. package/vue/chunks/UiTopBar.js +21 -6
  422. package/vue/chunks/UiTree.js +18 -16
  423. package/vue/chunks/UiTreeItem.js +82 -45
  424. package/vue/chunks/_plugin-vue_export-helper.js +17 -4
  425. package/vue/components.css +1507 -1479
  426. package/vue/editor/index.js +108 -65
  427. package/vue/host.ts +26 -6
@@ -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, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -983,7 +983,7 @@ provide('html-next:ui-combobox:statusText', statusText)
983
983
  provide('html-next:ui-combobox:validationStatus', validationStatus)
984
984
  checkHydratedRoot('div', 'ui-combobox')
985
985
 
986
- /** The values the styles' :host-state() rules test. */
986
+ /** The values the styles' :host() prop and state rules test. */
987
987
  const hostState = computed(() =>
988
988
  [
989
989
  checkedProps.value.size && 'size',
@@ -1601,49 +1601,53 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
1601
1601
  <div
1602
1602
  class="ui-combobox"
1603
1603
  v-bind="nativeAttrs($attrs)"
1604
+ data-hn
1605
+ data-hn-ui-combobox
1604
1606
  v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
1605
- :data-allow-create="reflectedProp('allowCreate', 'allow-create', checkedProps.allowCreate, undefined, false)"
1606
- :data-allow-free-text="reflectedProp('allowFreeText', 'allow-free-text', checkedProps.allowFreeText, undefined, false)"
1607
- :data-auto-highlight="reflectedProp('autoHighlight', 'auto-highlight', checkedProps.autoHighlight, undefined, false)"
1608
- :data-clear-query-on-blur="reflectedProp(
1607
+ :data-ui-combobox-prop-allow-create="reflectedProp('allowCreate', 'allow-create', checkedProps.allowCreate, undefined, false)"
1608
+ :data-ui-combobox-prop-allow-free-text="reflectedProp('allowFreeText', 'allow-free-text', checkedProps.allowFreeText, undefined, false)"
1609
+ :data-ui-combobox-prop-auto-highlight="reflectedProp('autoHighlight', 'auto-highlight', checkedProps.autoHighlight, undefined, false)"
1610
+ :data-ui-combobox-prop-clear-query-on-blur="reflectedProp(
1609
1611
  'clearQueryOnBlur',
1610
1612
  'clear-query-on-blur',
1611
1613
  checkedProps.clearQueryOnBlur,
1612
1614
  undefined,
1613
1615
  false,
1614
1616
  )"
1615
- :data-clearable="reflectedProp('clearable', 'clearable', checkedProps.clearable, undefined, false)"
1616
- :data-disabled="reflectedProp('disabled', 'disabled', checkedProps.disabled, undefined, false)"
1617
- :data-disclosure="reflectedProp('disclosure', 'disclosure', checkedProps.disclosure, undefined, false)"
1618
- :data-filter="reflectedProp('filter', 'filter', checkedProps.filter, undefined, false)"
1619
- :data-help="reflectedProp('help', 'help', checkedProps.help, undefined, false)"
1620
- :data-invalid="reflectedProp('invalid', 'invalid', checkedProps.invalid, undefined, false)"
1621
- :data-items="reflectedProp('items', 'items', checkedProps.items, undefined, false)"
1622
- :data-label="reflectedProp('label', 'label', checkedProps.label, undefined, false)"
1623
- :data-label-visibility="reflectedProp('labelVisibility', 'label-visibility', checkedProps.labelVisibility, undefined, false)"
1624
- :data-loading="reflectedProp('loading', 'loading', checkedProps.loading, undefined, false)"
1625
- :data-multiple="reflectedProp('multiple', 'multiple', checkedProps.multiple, undefined, false)"
1626
- :data-name="reflectedProp('name', 'name', checkedProps.name, undefined, false)"
1627
- :data-open-on-focus="reflectedProp('openOnFocus', 'open-on-focus', checkedProps.openOnFocus, undefined, false)"
1628
- :data-placeholder="reflectedProp('placeholder', 'placeholder', checkedProps.placeholder, undefined, false)"
1629
- :data-query="reflectedProp('query', 'query', checkedProps.query, undefined, false)"
1630
- :data-readonly="reflectedProp('readonly', 'readonly', checkedProps.readonly, undefined, false)"
1631
- :data-required="reflectedProp('required', 'required', checkedProps.required, undefined, false)"
1632
- :data-select-on-tab="reflectedProp('selectOnTab', 'select-on-tab', checkedProps.selectOnTab, undefined, false)"
1633
- :data-selected-values="reflectedProp('selectedValues', 'selected-values', checkedProps.selectedValues, undefined, false)"
1634
- :data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
1635
- :data-token-separators="reflectedProp('tokenSeparators', 'token-separators', checkedProps.tokenSeparators, undefined, false)"
1636
- :data-value="reflectedProp('value', 'value', checkedProps.value, undefined, false)"
1617
+ :data-ui-combobox-prop-clearable="reflectedProp('clearable', 'clearable', checkedProps.clearable, undefined, false)"
1618
+ :data-ui-combobox-prop-disabled="reflectedProp('disabled', 'disabled', checkedProps.disabled, undefined, false)"
1619
+ :data-ui-combobox-prop-disclosure="reflectedProp('disclosure', 'disclosure', checkedProps.disclosure, undefined, false)"
1620
+ :data-ui-combobox-prop-filter="reflectedProp('filter', 'filter', checkedProps.filter, undefined, false)"
1621
+ :data-ui-combobox-prop-help="reflectedProp('help', 'help', checkedProps.help, undefined, false)"
1622
+ :data-ui-combobox-prop-invalid="reflectedProp('invalid', 'invalid', checkedProps.invalid, undefined, false)"
1623
+ :data-ui-combobox-prop-items="reflectedProp('items', 'items', checkedProps.items, undefined, false)"
1624
+ :data-ui-combobox-prop-label="reflectedProp('label', 'label', checkedProps.label, undefined, false)"
1625
+ :data-ui-combobox-prop-label-visibility="reflectedProp('labelVisibility', 'label-visibility', checkedProps.labelVisibility, undefined, false)"
1626
+ :data-ui-combobox-prop-loading="reflectedProp('loading', 'loading', checkedProps.loading, undefined, false)"
1627
+ :data-ui-combobox-prop-multiple="reflectedProp('multiple', 'multiple', checkedProps.multiple, undefined, false)"
1628
+ :data-ui-combobox-prop-name="reflectedProp('name', 'name', checkedProps.name, undefined, false)"
1629
+ :data-ui-combobox-prop-open-on-focus="reflectedProp('openOnFocus', 'open-on-focus', checkedProps.openOnFocus, undefined, false)"
1630
+ :data-ui-combobox-prop-placeholder="reflectedProp('placeholder', 'placeholder', checkedProps.placeholder, undefined, false)"
1631
+ :data-ui-combobox-prop-query="reflectedProp('query', 'query', checkedProps.query, undefined, false)"
1632
+ :data-ui-combobox-prop-readonly="reflectedProp('readonly', 'readonly', checkedProps.readonly, undefined, false)"
1633
+ :data-ui-combobox-prop-required="reflectedProp('required', 'required', checkedProps.required, undefined, false)"
1634
+ :data-ui-combobox-prop-select-on-tab="reflectedProp('selectOnTab', 'select-on-tab', checkedProps.selectOnTab, undefined, false)"
1635
+ :data-ui-combobox-prop-selected-values="reflectedProp('selectedValues', 'selected-values', checkedProps.selectedValues, undefined, false)"
1636
+ :data-ui-combobox-prop-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
1637
+ :data-ui-combobox-prop-token-separators="reflectedProp('tokenSeparators', 'token-separators', checkedProps.tokenSeparators, undefined, false)"
1638
+ :data-ui-combobox-prop-value="reflectedProp('value', 'value', checkedProps.value, undefined, false)"
1637
1639
  :data-ui-combobox-state="hostState || undefined"
1638
1640
  ref="root"
1639
1641
  >
1640
- <label :for="guarded" :class="{ 'sr-only': checkedProps.labelVisibility === 'sr-only' }">{{
1641
- checkedProps.label
1642
- }}<template v-if="checkedProps.required">
1642
+ <label
1643
+ data-hn-ui-combobox
1644
+ :for="guarded"
1645
+ :class="{ 'sr-only': checkedProps.labelVisibility === 'sr-only' }"
1646
+ >{{ checkedProps.label }}<template v-if="checkedProps.required">
1643
1647
  *</template></label>
1644
- <div class="control">
1645
- <div class="field" ref="fieldElement">
1646
- <div class="entry">
1648
+ <div class="control" data-hn-ui-combobox>
1649
+ <div class="field" data-hn-ui-combobox ref="fieldElement">
1650
+ <div class="entry" data-hn-ui-combobox>
1647
1651
  <slot name="start" />
1648
1652
  <template v-if="checkedProps.multiple"><KeyedBoundary><button
1649
1653
  v-for="(item, index) in uniqueKeys(internalItems, (item, index, loop) => item.id)"
@@ -1651,6 +1655,7 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
1651
1655
  class="item"
1652
1656
  type="button"
1653
1657
  tabindex="-1"
1658
+ data-hn-ui-combobox
1654
1659
  :data-index="index"
1655
1660
  :disabled="checkedProps.disabled || checkedProps.readonly || item.disabled"
1656
1661
  :aria-label="concat(item.label, ', press Delete or Backspace to remove')"
@@ -1663,6 +1668,7 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
1663
1668
  role="combobox"
1664
1669
  aria-autocomplete="list"
1665
1670
  autocomplete="off"
1671
+ data-hn-ui-combobox
1666
1672
  v-bind-control="{ tag: 'input', name: 'value', value: display, nativeProperty: true, defaultValue: '' }"
1667
1673
  :id="guardedBinding"
1668
1674
  :aria-controls="guardedBinding2"
@@ -1679,6 +1685,7 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
1679
1685
  <input
1680
1686
  v-if="checkedProps.name && !checkedProps.multiple"
1681
1687
  type="hidden"
1688
+ data-hn-ui-combobox
1682
1689
  :name="checkedProps.name ?? undefined"
1683
1690
  :value.attr="submitted"
1684
1691
  :disabled="checkedProps.disabled ?? undefined"
@@ -1687,6 +1694,7 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
1687
1694
  v-for="item in uniqueKeys(internalItems, (item, index, loop) => item.id)"
1688
1695
  :key="item.id"
1689
1696
  type="hidden"
1697
+ data-hn-ui-combobox
1690
1698
  :name="checkedProps.name ?? undefined"
1691
1699
  :value.attr="item.value"
1692
1700
  :disabled="checkedProps.disabled ?? undefined"
@@ -1696,6 +1704,7 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
1696
1704
  type="button"
1697
1705
  data-combobox-action="clear"
1698
1706
  aria-label="Clear"
1707
+ data-hn-ui-combobox
1699
1708
  :disabled="guardedBinding4"
1700
1709
  >
1701
1710
  <svg
@@ -1706,8 +1715,9 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
1706
1715
  stroke="currentColor"
1707
1716
  stroke-width="2"
1708
1717
  stroke-linecap="round"
1718
+ data-hn-ui-combobox
1709
1719
  >
1710
- <path d="M7 7l10 10M17 7 7 17"></path>
1720
+ <path d="M7 7l10 10M17 7 7 17" data-hn-ui-combobox></path>
1711
1721
  </svg>
1712
1722
  </button>
1713
1723
  <button
@@ -1716,6 +1726,7 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
1716
1726
  data-combobox-action="disclosure"
1717
1727
  tabindex="-1"
1718
1728
  aria-label="Show suggestions"
1729
+ data-hn-ui-combobox
1719
1730
  :aria-controls="guardedBinding5"
1720
1731
  :disabled="checkedProps.disabled || checkedProps.readonly"
1721
1732
  >
@@ -1728,8 +1739,9 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
1728
1739
  stroke-width="2.25"
1729
1740
  stroke-linecap="round"
1730
1741
  stroke-linejoin="round"
1742
+ data-hn-ui-combobox
1731
1743
  >
1732
- <path d="m6 9 6 6 6-6"></path>
1744
+ <path d="m6 9 6 6 6-6" data-hn-ui-combobox></path>
1733
1745
  </svg>
1734
1746
  </button>
1735
1747
  </div>
@@ -1738,6 +1750,7 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
1738
1750
  class="help"
1739
1751
  type="button"
1740
1752
  aria-label="Help"
1753
+ data-hn-ui-combobox
1741
1754
  :id="guardedBinding6"
1742
1755
  :disabled="checkedProps.disabled ?? undefined"
1743
1756
  >
@@ -1750,10 +1763,11 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
1750
1763
  stroke-width="2"
1751
1764
  stroke-linecap="round"
1752
1765
  stroke-linejoin="round"
1766
+ data-hn-ui-combobox
1753
1767
  >
1754
- <circle cx="12" cy="12" r="10"></circle>
1755
- <path d="M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3"></path>
1756
- <path d="M12 17h.01"></path>
1768
+ <circle cx="12" cy="12" r="10" data-hn-ui-combobox></circle>
1769
+ <path d="M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3" data-hn-ui-combobox></path>
1770
+ <path d="M12 17h.01" data-hn-ui-combobox></path>
1757
1771
  </svg>
1758
1772
  </button>
1759
1773
  </div>
@@ -1764,9 +1778,10 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
1764
1778
  :id="guardedBinding7"
1765
1779
  :for="guardedBinding8"
1766
1780
  >{{ checkedProps.help }}</UiTooltip>
1767
- <div class="popup" :hidden="!expanded" ref="popupElement">
1781
+ <div class="popup" data-hn-ui-combobox :hidden="!expanded" ref="popupElement">
1768
1782
  <div
1769
1783
  role="listbox"
1784
+ data-hn-ui-combobox
1770
1785
  :id="guardedBinding9"
1771
1786
  :aria-label="guardedBinding10"
1772
1787
  :aria-busy="checkedProps.loading ?? undefined"
@@ -1775,16 +1790,18 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
1775
1790
  <KeyedBoundary><div
1776
1791
  v-for="group in uniqueKeys(groups, (group, indexLoop, loop) => group.name)"
1777
1792
  :key="group.name"
1793
+ data-hn-ui-combobox
1778
1794
  :role="group.role"
1779
1795
  :aria-label="group.label ?? undefined"
1780
1796
  >
1781
- <div v-if="group.name" class="group">{{ group.name }}</div>
1797
+ <div v-if="group.name" class="group" data-hn-ui-combobox>{{ group.name }}</div>
1782
1798
  <KeyedBoundary><div
1783
1799
  v-for="row in uniqueKeys(group.rows, (row, indexLoop2, loop) => row.id)"
1784
1800
  :key="row.id"
1785
1801
  class="option"
1786
1802
  role="option"
1787
1803
  data-ui-choice-option=""
1804
+ data-hn-ui-combobox
1788
1805
  :data-multiple="checkedProps.multiple ? '' : undefined"
1789
1806
  :id="concat(uid, '-option-', row.index)"
1790
1807
  :aria-selected="row.selected"
@@ -1794,25 +1811,32 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
1794
1811
  :aria-describedby="row.detail ?? undefined"
1795
1812
  :class="{ active: row.index === active }"
1796
1813
  >
1797
- <slot :name="concat('option-', row.id)"><span v-if="row.detail" class="detail"><span
1798
- class="line"
1799
- ><span class="primary" :id="concat(uid, '-option-', row.index, '-label')">{{
1800
- row.label
1801
- }}</span>
1814
+ <slot :name="concat('option-', row.id)"><span
1815
+ v-if="row.detail"
1816
+ class="detail"
1817
+ data-hn-ui-combobox
1818
+ ><span class="line" data-hn-ui-combobox><span
1819
+ class="primary"
1820
+ data-hn-ui-combobox
1821
+ :id="concat(uid, '-option-', row.index, '-label')"
1822
+ >{{ row.label }}</span>
1802
1823
  <UiBadge
1803
1824
  v-if="row.tag"
1804
1825
  class="ui-badge"
1805
1826
  :tone="row.tag?.tone"
1806
1827
  :style="{ '--ui-badge-color': row.tag?.color ?? undefined }"
1807
- ><span :id="concat(uid, '-option-', row.index, '-tag')">{{
1828
+ ><span data-hn-ui-combobox :id="concat(uid, '-option-', row.index, '-tag')">{{
1808
1829
  row.tag?.label
1809
1830
  }}</span></UiBadge></span>
1810
1831
  <span
1811
1832
  v-if="row.description"
1812
1833
  class="description"
1834
+ data-hn-ui-combobox
1813
1835
  :id="concat(uid, '-option-', row.index, '-description')"
1814
1836
  >{{ row.description }}</span></span>
1815
- <span v-if="!row.detail" class="primary">{{ row.label }}</span></slot>
1837
+ <span v-if="!row.detail" class="primary" data-hn-ui-combobox>{{
1838
+ row.label
1839
+ }}</span></slot>
1816
1840
  </div></KeyedBoundary>
1817
1841
  </div></KeyedBoundary>
1818
1842
  <div
@@ -1821,6 +1845,7 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
1821
1845
  role="option"
1822
1846
  data-ui-choice-option=""
1823
1847
  aria-selected="false"
1848
+ data-hn-ui-combobox
1824
1849
  :data-multiple="checkedProps.multiple ? '' : undefined"
1825
1850
  :id="guardedBinding12"
1826
1851
  :data-index="createIndex"
@@ -1828,23 +1853,39 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
1828
1853
  >
1829
1854
  {{ guardedBinding13 }}
1830
1855
  </div>
1831
- <div v-if="message" class="message">{{ message }}</div>
1856
+ <div v-if="message" class="message" data-hn-ui-combobox>{{ message }}</div>
1832
1857
  <div
1833
1858
  v-if="!checkedProps.loading && !(rows[0]) && !creatable && !lookupError"
1834
1859
  class="message"
1860
+ data-hn-ui-combobox
1835
1861
  >
1836
1862
  <slot name="empty">No suggestions.</slot>
1837
1863
  </div>
1838
1864
  </div>
1839
1865
  <slot name="footer" />
1840
1866
  </div>
1841
- <div class="message" :id="guardedBinding14" :hidden="!validation.issues.length">
1842
- <div v-for="(issue, indexLoop3) in validation.issues" :key="indexLoop3">
1867
+ <div
1868
+ class="message"
1869
+ data-hn-ui-combobox
1870
+ :id="guardedBinding14"
1871
+ :hidden="!validation.issues.length"
1872
+ >
1873
+ <div v-for="(issue, indexLoop3) in validation.issues" :key="indexLoop3" data-hn-ui-combobox>
1843
1874
  {{ issue.message }}
1844
1875
  </div>
1845
1876
  </div>
1846
- <div class="sr-only" role="status" aria-live="polite" aria-atomic="true">{{ statusText }}</div>
1847
- <div class="authored-options" hidden="" aria-hidden="true" ref="optionsElement"><slot /></div>
1877
+ <div class="sr-only" role="status" aria-live="polite" aria-atomic="true" data-hn-ui-combobox>
1878
+ {{ statusText }}
1879
+ </div>
1880
+ <div
1881
+ class="authored-options"
1882
+ hidden=""
1883
+ aria-hidden="true"
1884
+ data-hn-ui-combobox
1885
+ ref="optionsElement"
1886
+ >
1887
+ <slot />
1888
+ </div>
1848
1889
  </div>
1849
1890
  </template>
1850
1891
 
@@ -1926,8 +1967,8 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
1926
1967
 
1927
1968
  /* A component that sets its display still honours the hidden attribute on its root. */
1928
1969
 
1929
- @scope (.ui-combobox) to (.ui-badge, .ui-tooltip) {
1930
- :scope:where(:scope) {
1970
+ @scope (.ui-combobox) to ([data-hn]) {
1971
+ :global(:scope:where([data-hn-ui-combobox])) {
1931
1972
  /* Hooks do not inherit, so the parts below read them from the root. */
1932
1973
  --_ui-combobox-label-text: var(--ui-combobox-label-text);
1933
1974
  --_ui-combobox-label-font-size: var(--ui-combobox-label-font-size);
@@ -1953,19 +1994,19 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
1953
1994
  color: var(--ui-text-primary);
1954
1995
  font: inherit;
1955
1996
  }
1956
- label {
1997
+ :global(label:where([data-hn-ui-combobox])) {
1957
1998
  color: var(--_ui-combobox-label-text, var(--ui-text-primary));
1958
1999
  font-size: var(--_ui-combobox-label-font-size, var(--ui-font-size-sm));
1959
2000
  font-weight: 500;
1960
2001
  }
1961
- .control {
2002
+ :global(.control:where([data-hn-ui-combobox])) {
1962
2003
  display: flex;
1963
2004
  align-items: center;
1964
2005
  gap: var(--ui-space-2);
1965
2006
  min-inline-size: 0;
1966
2007
  }
1967
2008
 
1968
- .field {
2009
+ :global(.field:where([data-hn-ui-combobox])) {
1969
2010
  box-sizing: border-box;
1970
2011
  min-block-size: var(--_row);
1971
2012
  flex: 1 1 auto;
@@ -1979,18 +2020,18 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
1979
2020
  border-color var(--ui-motion-fast) var(--ui-motion-ease),
1980
2021
  box-shadow var(--ui-motion-fast) var(--ui-motion-ease);
1981
2022
  }
1982
- .field:focus-within {
2023
+ :global(.field:focus-within:where([data-hn-ui-combobox])) {
1983
2024
  border-color: var(--ui-control-focus, var(--ui-accent-solid));
1984
2025
  box-shadow:
1985
2026
  var(--ui-control-inset),
1986
2027
  var(--ui-control-focus-halo-shadow);
1987
2028
  }
1988
- .entry {
2029
+ :global(.entry:where([data-hn-ui-combobox])) {
1989
2030
  display: flex;
1990
2031
  flex: 1 1 auto;
1991
2032
  min-inline-size: 0;
1992
2033
  }
1993
- .help {
2034
+ :global(.help:where([data-hn-ui-combobox])) {
1994
2035
  flex: none;
1995
2036
  display: inline-flex;
1996
2037
  align-items: center;
@@ -2008,31 +2049,32 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
2008
2049
  color var(--ui-motion-fast) var(--ui-motion-ease);
2009
2050
  }
2010
2051
 
2011
- .help:hover:enabled, .help[aria-expanded="true"] {
2052
+ :global(.help:hover:enabled:where([data-hn-ui-combobox])),
2053
+ :global(.help[aria-expanded="true"]:where([data-hn-ui-combobox])) {
2012
2054
  background: color-mix(in srgb, currentColor 8%, transparent);
2013
2055
  color: var(--ui-text-primary);
2014
2056
  }
2015
2057
 
2016
- .help:focus-visible {
2058
+ :global(.help:focus-visible:where([data-hn-ui-combobox])) {
2017
2059
  outline: none;
2018
2060
  box-shadow: var(--ui-focus-halo);
2019
2061
  }
2020
2062
 
2021
- .help:disabled {
2063
+ :global(.help:disabled:where([data-hn-ui-combobox])) {
2022
2064
  color: var(--ui-disabled-text);
2023
2065
  cursor: not-allowed;
2024
2066
  }
2025
2067
 
2026
- .help-icon {
2068
+ :global(.help-icon:where([data-hn-ui-combobox])) {
2027
2069
  inline-size: var(--ui-icon-size-sm);
2028
2070
  block-size: var(--ui-icon-size-sm);
2029
2071
  }
2030
2072
 
2031
- input::selection {
2073
+ :global(input:where([data-hn-ui-combobox])::selection) {
2032
2074
  background: color-mix(in srgb, var(--ui-accent-solid) 20%, transparent);
2033
2075
  color: inherit;
2034
2076
  }
2035
- input {
2077
+ :global(input:where([data-hn-ui-combobox])) {
2036
2078
  appearance: none;
2037
2079
  width: 100%;
2038
2080
  min-inline-size: 0;
@@ -2048,21 +2090,21 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
2048
2090
  margin: 0;
2049
2091
  outline: none;
2050
2092
  }
2051
- :scope:where(:scope):is([data-ui-combobox-state~="size=sm"]) {
2093
+ :global(:scope[data-ui-combobox-state~="size=sm"]:where([data-hn-ui-combobox])) {
2052
2094
  --_row: var(--ui-control-size-sm);
2053
2095
  }
2054
- :scope[data-ui-combobox-state~="size=sm"] input {
2096
+ :global(:scope[data-ui-combobox-state~="size=sm"] input:where([data-hn-ui-combobox])) {
2055
2097
  padding: var(--ui-space-1) var(--ui-space-2);
2056
2098
  font-size: var(--ui-font-size-sm);
2057
2099
  }
2058
- :scope:where(:scope):is([data-ui-combobox-state~="size=lg"]) {
2100
+ :global(:scope[data-ui-combobox-state~="size=lg"]:where([data-hn-ui-combobox])) {
2059
2101
  --_row: var(--ui-control-size-lg);
2060
2102
  }
2061
- :scope[data-ui-combobox-state~="size=lg"] input {
2103
+ :global(:scope[data-ui-combobox-state~="size=lg"] input:where([data-hn-ui-combobox])) {
2062
2104
  padding: var(--ui-space-3) var(--ui-space-4);
2063
2105
  font-size: var(--ui-font-size-md);
2064
2106
  }
2065
- button {
2107
+ :global(button:where([data-hn-ui-combobox])) {
2066
2108
  appearance: none;
2067
2109
  display: inline-grid;
2068
2110
  place-items: center;
@@ -2077,36 +2119,38 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
2077
2119
  padding: 0 var(--ui-space-1);
2078
2120
  cursor: pointer;
2079
2121
  }
2080
- .affordance-icon {
2122
+ :global(.affordance-icon:where([data-hn-ui-combobox])) {
2081
2123
  display: block;
2082
2124
  inline-size: var(--ui-icon-size-sm);
2083
2125
  block-size: var(--ui-icon-size-sm);
2084
2126
  }
2085
- button:hover:enabled {
2127
+ :global(button:hover:enabled:where([data-hn-ui-combobox])) {
2086
2128
  background: var(--ui-surface-muted);
2087
2129
  color: var(--ui-text-primary);
2088
2130
  }
2089
- button:focus-visible {
2131
+ :global(button:focus-visible:where([data-hn-ui-combobox])) {
2090
2132
  outline: none;
2091
2133
  background: var(--ui-surface-muted);
2092
2134
  box-shadow: inset 0 0 0 var(--ui-focus-width)
2093
2135
  color-mix(in srgb, var(--ui-focus-ring) 45%, transparent);
2094
2136
  }
2095
- input:disabled, button:disabled {
2137
+ :global(input:disabled:where([data-hn-ui-combobox])),
2138
+ :global(button:disabled:where([data-hn-ui-combobox])) {
2096
2139
  color: var(--ui-disabled-text);
2097
2140
  cursor: not-allowed;
2098
2141
  }
2099
- .field:has(input:disabled) {
2142
+ :global(.field:has(input:disabled):where([data-hn-ui-combobox])) {
2100
2143
  background: var(--ui-control-surface-disabled, var(--ui-surface-muted));
2101
2144
  }
2102
- :scope[data-ui-combobox-state~="validationStatus=error"] .field,
2103
- :scope[data-ui-combobox-state~="invalid"] .field {
2145
+ :global(:scope[data-ui-combobox-state~="validationStatus=error"]
2146
+ .field:where([data-hn-ui-combobox])),
2147
+ :global(:scope[data-ui-combobox-state~="invalid"] .field:where([data-hn-ui-combobox])) {
2104
2148
  border-color: var(
2105
2149
  --_ui-combobox-invalid-border,
2106
2150
  var(--ui-field-danger, var(--ui-danger-solid, var(--ui-accent-active)))
2107
2151
  );
2108
2152
  }
2109
- .popup {
2153
+ :global(.popup:where([data-hn-ui-combobox])) {
2110
2154
  box-sizing: border-box;
2111
2155
  min-inline-size: 12rem;
2112
2156
  max-inline-size: calc(100vw - 1rem);
@@ -2127,44 +2171,46 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
2127
2171
  var(--ui-overlay-shadow, var(--ui-elevation-overlay, var(--ui-shadow-lg)))
2128
2172
  );
2129
2173
  }
2130
- [hidden] {
2174
+ :global([hidden]:where([data-hn-ui-combobox])) {
2131
2175
  display: none;
2132
2176
  }
2133
- .option[aria-disabled="true"] .primary, .option[aria-disabled="true"] .secondary {
2177
+ :global(.option[aria-disabled="true"] .primary:where([data-hn-ui-combobox])),
2178
+ :global(.option[aria-disabled="true"] .secondary:where([data-hn-ui-combobox])) {
2134
2179
  color: var(--ui-disabled-text);
2135
2180
  }
2136
- .primary {
2181
+ :global(.primary:where([data-hn-ui-combobox])) {
2137
2182
  display: block;
2138
2183
  color: var(--_ui-combobox-option-text, inherit);
2139
2184
  font-weight: 500;
2140
2185
  }
2141
- .detail {
2186
+ :global(.detail:where([data-hn-ui-combobox])) {
2142
2187
  display: grid;
2143
2188
  gap: var(--ui-space-0-5);
2144
2189
  min-inline-size: 0;
2145
2190
  }
2146
- .line {
2191
+ :global(.line:where([data-hn-ui-combobox])) {
2147
2192
  display: flex;
2148
2193
  flex-wrap: wrap;
2149
2194
  align-items: center;
2150
2195
  gap: var(--ui-space-2);
2151
2196
  }
2152
- .description {
2197
+ :global(.description:where([data-hn-ui-combobox])) {
2153
2198
  color: var(--ui-text-muted);
2154
2199
  font-size: var(--ui-font-size-sm);
2155
2200
  line-height: var(--ui-line-height-md);
2156
2201
  }
2157
- .message, .group {
2202
+ :global(.message:where([data-hn-ui-combobox])), :global(.group:where([data-hn-ui-combobox])) {
2158
2203
  color: var(--_ui-combobox-message-text, var(--ui-text-secondary));
2159
2204
  font-weight: 400;
2160
2205
  font-size: var(--ui-font-size-sm);
2161
2206
  line-height: var(--ui-line-height-md);
2162
2207
  overflow-wrap: anywhere;
2163
2208
  }
2164
- .group, .popup .message {
2209
+ :global(.group:where([data-hn-ui-combobox])),
2210
+ :global(.popup .message:where([data-hn-ui-combobox])) {
2165
2211
  padding: var(--ui-space-2) var(--ui-space-3);
2166
2212
  }
2167
- .sr-only {
2213
+ :global(.sr-only:where([data-hn-ui-combobox])) {
2168
2214
  position: absolute;
2169
2215
  inline-size: 1px;
2170
2216
  block-size: 1px;
@@ -2173,67 +2219,72 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
2173
2219
  white-space: nowrap;
2174
2220
  }
2175
2221
  @media (pointer: coarse) {
2176
- :scope:where(:scope) {
2222
+ :global(:scope:where([data-hn-ui-combobox])) {
2177
2223
  --_row: max(var(--ui-control-size-md), var(--ui-control-min-block-size));
2178
2224
  }
2179
- button {
2225
+ :global(button:where([data-hn-ui-combobox])) {
2180
2226
  min-inline-size: 2.75rem;
2181
2227
  min-block-size: calc(var(--_row) - 2 * var(--ui-border-width));
2182
2228
  }
2183
2229
  /* Under touch a small field is still a touch-sized target, as a small button is, and keeps
2184
2230
  body-size text: below 16px, iOS zooms the page into the focused field. */
2185
- :scope:where(:scope):is([data-ui-combobox-state~="size=sm"]) {
2231
+ :global(:scope[data-ui-combobox-state~="size=sm"]:where([data-hn-ui-combobox])) {
2186
2232
  --_row: var(--ui-control-min-block-size);
2187
2233
  }
2188
- :scope[data-ui-combobox-state~="size=sm"] input {
2234
+ :global(:scope[data-ui-combobox-state~="size=sm"] input:where([data-hn-ui-combobox])) {
2189
2235
  font-size: inherit;
2190
2236
  }
2191
2237
  }
2192
2238
  @media (forced-colors: active) {
2193
- .field, .popup {
2239
+ :global(.field:where([data-hn-ui-combobox])), :global(.popup:where([data-hn-ui-combobox])) {
2194
2240
  border-color: CanvasText;
2195
2241
  }
2196
- .option.active {
2242
+ :global(.option.active:where([data-hn-ui-combobox])) {
2197
2243
  outline-color: Highlight;
2198
2244
  }
2199
2245
  }
2200
- :scope[data-ui-combobox-state~="multiple"] .field {
2246
+ :global(:scope[data-ui-combobox-state~="multiple"] .field:where([data-hn-ui-combobox])) {
2201
2247
  align-items: center;
2202
2248
  min-block-size: var(--_ui-combobox-item-min-block-size, var(--_row));
2203
2249
  padding: var(--ui-space-1);
2204
2250
  }
2205
- :scope[data-ui-combobox-state~="multiple"] .entry {
2251
+ :global(:scope[data-ui-combobox-state~="multiple"] .entry:where([data-hn-ui-combobox])) {
2206
2252
  align-items: center;
2207
2253
  gap: var(--ui-space-1);
2208
2254
  overflow-x: auto;
2209
2255
  scrollbar-width: none;
2210
2256
  }
2211
- :scope[data-ui-combobox-state~="multiple"] .entry::-webkit-scrollbar {
2257
+ :global(:scope[data-ui-combobox-state~="multiple"]
2258
+ .entry:where([data-hn-ui-combobox])::-webkit-scrollbar) {
2212
2259
  display: none;
2213
2260
  }
2214
- :scope[data-ui-combobox-state~="multiple"] input {
2261
+ :global(:scope[data-ui-combobox-state~="multiple"] input:where([data-hn-ui-combobox])) {
2215
2262
  flex: 1 0 var(--_ui-combobox-item-input-min-inline-size, 5rem);
2216
2263
  width: auto;
2217
2264
  min-block-size: 1.75rem;
2218
2265
  padding: var(--ui-space-0-5) var(--ui-space-1);
2219
2266
  }
2220
- :scope[data-ui-combobox-state~="multiple"]:scope[data-ui-combobox-state~="size=sm"] .field {
2267
+ :global(:scope[data-ui-combobox-state~="multiple"]:scope[data-ui-combobox-state~="size=sm"]
2268
+ .field:where([data-hn-ui-combobox])) {
2221
2269
  min-block-size: 0;
2222
2270
  padding: var(--ui-space-0-5);
2223
2271
  }
2224
- :scope[data-ui-combobox-state~="multiple"]:scope[data-ui-combobox-state~="size=sm"] input {
2272
+ :global(:scope[data-ui-combobox-state~="multiple"]:scope[data-ui-combobox-state~="size=sm"]
2273
+ input:where([data-hn-ui-combobox])) {
2225
2274
  min-block-size: calc(var(--_row) - 2 * var(--ui-border-width) - 2 * var(--ui-space-0-5));
2226
2275
  padding: 0 var(--ui-space-1);
2227
2276
  }
2228
- :scope[data-ui-combobox-state~="multiple"]:scope[data-ui-combobox-state~="size=lg"] .field {
2277
+ :global(:scope[data-ui-combobox-state~="multiple"]:scope[data-ui-combobox-state~="size=lg"]
2278
+ .field:where([data-hn-ui-combobox])) {
2229
2279
  min-block-size: 0;
2230
2280
  }
2231
- :scope[data-ui-combobox-state~="multiple"]:scope[data-ui-combobox-state~="size=lg"] input {
2281
+ :global(:scope[data-ui-combobox-state~="multiple"]:scope[data-ui-combobox-state~="size=lg"]
2282
+ input:where([data-hn-ui-combobox])) {
2232
2283
  min-block-size: calc(
2233
2284
  var(--ui-control-size-lg) - 2 * var(--ui-border-width) - 2 * var(--ui-space-1)
2234
2285
  );
2235
2286
  }
2236
- .item {
2287
+ :global(.item:where([data-hn-ui-combobox])) {
2237
2288
  appearance: none;
2238
2289
  display: inline-flex;
2239
2290
  flex: none;
@@ -2248,14 +2299,14 @@ useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
2248
2299
  font: inherit;
2249
2300
  cursor: default;
2250
2301
  }
2251
- .item:focus-visible {
2302
+ :global(.item:focus-visible:where([data-hn-ui-combobox])) {
2252
2303
  outline: var(--ui-focus-width) solid var(--ui-focus-ring);
2253
2304
  outline-offset: var(--ui-border-width);
2254
2305
  }
2255
- .item:disabled {
2306
+ :global(.item:disabled:where([data-hn-ui-combobox])) {
2256
2307
  color: var(--ui-disabled-text);
2257
2308
  }
2258
- :scope:where(:scope):is([hidden]) {
2309
+ :global(:scope[hidden]:where([data-hn-ui-combobox])) {
2259
2310
  display: none;
2260
2311
  }
2261
2312
  }