@threadlabs/looma 0.21.6 → 0.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (418) hide show
  1. package/components/ui-affordance-scope/ui-affordance-scope.html +1 -1
  2. package/components/ui-avatar/ui-avatar.html +4 -4
  3. package/components/ui-avatar-group/ui-avatar-group.html +2 -2
  4. package/components/ui-checkbox/ui-checkbox.html +1 -1
  5. package/components/ui-combobox/ui-combobox.html +18 -18
  6. package/components/ui-context-menu/ui-context-menu.html +1 -1
  7. package/components/ui-dialog/ui-dialog.html +2 -2
  8. package/components/ui-disclosure/ui-disclosure.html +4 -4
  9. package/components/ui-editable/ui-editable.html +3 -3
  10. package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +5 -5
  11. package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +5 -5
  12. package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +3 -3
  13. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +2 -2
  14. package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +3 -7
  15. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +6 -6
  16. package/components/ui-listbox/ui-listbox.html +6 -6
  17. package/components/ui-menu/ui-menu.html +1 -1
  18. package/components/ui-menu-item/ui-menu-item.html +1 -1
  19. package/components/ui-popover/ui-popover.html +1 -1
  20. package/components/ui-radio/ui-radio.html +1 -1
  21. package/components/ui-radio-group/ui-radio-group.html +1 -1
  22. package/components/ui-search-shell/ui-search-shell.html +1 -1
  23. package/components/ui-sidebar/ui-sidebar.html +2 -2
  24. package/components/ui-switch/ui-switch.html +1 -1
  25. package/components/ui-switcher/ui-switcher.html +1 -1
  26. package/components/ui-tabs/ui-tabs.html +2 -2
  27. package/components/ui-toast-region/ui-toast-region.html +1 -1
  28. package/components/ui-tooltip/ui-tooltip.html +1 -1
  29. package/components/ui-tree-item/ui-tree-item.html +4 -4
  30. package/dist/index.js +1 -1
  31. package/package.json +2 -2
  32. package/styles/ui-action-bar.css +1 -1
  33. package/styles/ui-affordance-scope.css +1 -1
  34. package/styles/ui-avatar-group.css +1 -1
  35. package/styles/ui-avatar.css +1 -1
  36. package/styles/ui-badge.css +1 -1
  37. package/styles/ui-breadcrumb-item.css +1 -1
  38. package/styles/ui-breadcrumbs.css +1 -1
  39. package/styles/ui-button.css +1 -1
  40. package/styles/ui-callout.css +1 -1
  41. package/styles/ui-card.css +1 -1
  42. package/styles/ui-checkbox.css +1 -1
  43. package/styles/ui-cluster.css +1 -1
  44. package/styles/ui-combobox.css +1 -1
  45. package/styles/ui-container.css +1 -1
  46. package/styles/ui-context-menu.css +1 -1
  47. package/styles/ui-cover.css +1 -1
  48. package/styles/ui-description-item.css +1 -1
  49. package/styles/ui-description-list.css +1 -1
  50. package/styles/ui-dialog.css +1 -1
  51. package/styles/ui-disclosure.css +1 -1
  52. package/styles/ui-editable.css +1 -1
  53. package/styles/ui-editor-insert-table-grid.css +1 -1
  54. package/styles/ui-editor-mention-menu-item.css +1 -1
  55. package/styles/ui-editor-mention-menu.css +1 -1
  56. package/styles/ui-editor-slash-menu-group.css +1 -1
  57. package/styles/ui-editor-slash-menu-item.css +1 -1
  58. package/styles/ui-editor-slash-menu.css +1 -1
  59. package/styles/ui-editor-table-context-menu.css +1 -1
  60. package/styles/ui-editor-table-overlay.css +1 -1
  61. package/styles/ui-editor-table-toolbar.css +1 -1
  62. package/styles/ui-editor-toolbar.css +1 -1
  63. package/styles/ui-floating-action-button.css +1 -1
  64. package/styles/ui-form-field.css +1 -1
  65. package/styles/ui-grid.css +1 -1
  66. package/styles/ui-icon-button.css +1 -1
  67. package/styles/ui-icon.css +1 -1
  68. package/styles/ui-input-group.css +1 -1
  69. package/styles/ui-input.css +1 -1
  70. package/styles/ui-list-item.css +1 -1
  71. package/styles/ui-list.css +1 -1
  72. package/styles/ui-listbox.css +1 -1
  73. package/styles/ui-menu-group.css +1 -1
  74. package/styles/ui-menu-item.css +1 -1
  75. package/styles/ui-menu.css +1 -1
  76. package/styles/ui-meter.css +1 -1
  77. package/styles/ui-nav-item.css +1 -1
  78. package/styles/ui-page-header.css +1 -1
  79. package/styles/ui-popover.css +1 -1
  80. package/styles/ui-radio-group.css +1 -1
  81. package/styles/ui-radio.css +1 -1
  82. package/styles/ui-reel.css +1 -1
  83. package/styles/ui-scroll-area.css +1 -1
  84. package/styles/ui-search-result-row.css +1 -1
  85. package/styles/ui-search-shell.css +1 -1
  86. package/styles/ui-section.css +1 -1
  87. package/styles/ui-select.css +1 -1
  88. package/styles/ui-separator.css +1 -1
  89. package/styles/ui-sidebar.css +1 -1
  90. package/styles/ui-spinner.css +1 -1
  91. package/styles/ui-stack.css +1 -1
  92. package/styles/ui-status-message.css +1 -1
  93. package/styles/ui-switch.css +1 -1
  94. package/styles/ui-switcher.css +1 -1
  95. package/styles/ui-table.css +1 -1
  96. package/styles/ui-tabs.css +1 -1
  97. package/styles/ui-text.css +1 -1
  98. package/styles/ui-textarea.css +1 -1
  99. package/styles/ui-toast-region.css +1 -1
  100. package/styles/ui-toast.css +1 -1
  101. package/styles/ui-tooltip.css +1 -1
  102. package/styles/ui-top-bar.css +1 -1
  103. package/styles/ui-tree-item.css +1 -1
  104. package/styles/ui-tree.css +1 -1
  105. package/vanilla/UiActionBar.d.ts +1 -1
  106. package/vanilla/UiActionBar.js +1 -1
  107. package/vanilla/UiAffordanceScope.d.ts +1 -1
  108. package/vanilla/UiAffordanceScope.js +2 -2
  109. package/vanilla/UiAvatar.d.ts +1 -1
  110. package/vanilla/UiAvatar.js +2 -2
  111. package/vanilla/UiAvatarGroup.d.ts +1 -1
  112. package/vanilla/UiAvatarGroup.js +2 -2
  113. package/vanilla/UiBadge.d.ts +1 -1
  114. package/vanilla/UiBadge.js +1 -1
  115. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  116. package/vanilla/UiBreadcrumbItem.js +1 -1
  117. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  118. package/vanilla/UiBreadcrumbs.js +1 -1
  119. package/vanilla/UiButton.d.ts +1 -1
  120. package/vanilla/UiButton.js +1 -1
  121. package/vanilla/UiCallout.d.ts +1 -1
  122. package/vanilla/UiCallout.js +1 -1
  123. package/vanilla/UiCard.d.ts +1 -1
  124. package/vanilla/UiCard.js +1 -1
  125. package/vanilla/UiCheckbox.d.ts +1 -1
  126. package/vanilla/UiCheckbox.js +2 -2
  127. package/vanilla/UiCluster.d.ts +1 -1
  128. package/vanilla/UiCluster.js +1 -1
  129. package/vanilla/UiCombobox.d.ts +1 -1
  130. package/vanilla/UiCombobox.js +2 -2
  131. package/vanilla/UiContainer.d.ts +1 -1
  132. package/vanilla/UiContainer.js +1 -1
  133. package/vanilla/UiContextMenu.d.ts +1 -1
  134. package/vanilla/UiContextMenu.js +2 -2
  135. package/vanilla/UiCover.d.ts +1 -1
  136. package/vanilla/UiCover.js +1 -1
  137. package/vanilla/UiDescriptionItem.d.ts +1 -1
  138. package/vanilla/UiDescriptionItem.js +1 -1
  139. package/vanilla/UiDescriptionList.d.ts +1 -1
  140. package/vanilla/UiDescriptionList.js +1 -1
  141. package/vanilla/UiDialog.d.ts +1 -1
  142. package/vanilla/UiDialog.js +2 -2
  143. package/vanilla/UiDisclosure.d.ts +1 -1
  144. package/vanilla/UiDisclosure.js +2 -2
  145. package/vanilla/UiEditable.d.ts +1 -1
  146. package/vanilla/UiEditable.js +2 -2
  147. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  148. package/vanilla/UiEditorInsertTableGrid.js +2 -2
  149. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  150. package/vanilla/UiEditorMentionMenu.js +2 -2
  151. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  152. package/vanilla/UiEditorMentionMenuItem.js +1 -1
  153. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  154. package/vanilla/UiEditorSlashMenu.js +2 -2
  155. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  156. package/vanilla/UiEditorSlashMenuGroup.js +1 -1
  157. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  158. package/vanilla/UiEditorSlashMenuItem.js +1 -1
  159. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  160. package/vanilla/UiEditorTableContextMenu.js +2 -2
  161. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  162. package/vanilla/UiEditorTableOverlay.js +2 -2
  163. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  164. package/vanilla/UiEditorTableToolbar.js +2 -2
  165. package/vanilla/UiEditorToolbar.d.ts +1 -1
  166. package/vanilla/UiEditorToolbar.js +1 -1
  167. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  168. package/vanilla/UiFloatingActionButton.js +1 -1
  169. package/vanilla/UiFormField.d.ts +1 -1
  170. package/vanilla/UiFormField.js +1 -1
  171. package/vanilla/UiGrid.d.ts +1 -1
  172. package/vanilla/UiGrid.js +1 -1
  173. package/vanilla/UiIcon.d.ts +1 -1
  174. package/vanilla/UiIcon.js +1 -1
  175. package/vanilla/UiIconButton.d.ts +1 -1
  176. package/vanilla/UiIconButton.js +1 -1
  177. package/vanilla/UiInput.d.ts +1 -1
  178. package/vanilla/UiInput.js +1 -1
  179. package/vanilla/UiInputGroup.d.ts +1 -1
  180. package/vanilla/UiInputGroup.js +1 -1
  181. package/vanilla/UiList.d.ts +1 -1
  182. package/vanilla/UiList.js +1 -1
  183. package/vanilla/UiListItem.d.ts +1 -1
  184. package/vanilla/UiListItem.js +1 -1
  185. package/vanilla/UiListbox.d.ts +1 -1
  186. package/vanilla/UiListbox.js +2 -2
  187. package/vanilla/UiMenu.d.ts +1 -1
  188. package/vanilla/UiMenu.js +2 -2
  189. package/vanilla/UiMenuGroup.d.ts +1 -1
  190. package/vanilla/UiMenuGroup.js +1 -1
  191. package/vanilla/UiMenuItem.d.ts +1 -1
  192. package/vanilla/UiMenuItem.js +2 -2
  193. package/vanilla/UiMeter.d.ts +1 -1
  194. package/vanilla/UiMeter.js +1 -1
  195. package/vanilla/UiNavItem.d.ts +1 -1
  196. package/vanilla/UiNavItem.js +1 -1
  197. package/vanilla/UiPageHeader.d.ts +1 -1
  198. package/vanilla/UiPageHeader.js +1 -1
  199. package/vanilla/UiPopover.d.ts +1 -1
  200. package/vanilla/UiPopover.js +2 -2
  201. package/vanilla/UiRadio.d.ts +1 -1
  202. package/vanilla/UiRadio.js +2 -2
  203. package/vanilla/UiRadioGroup.d.ts +1 -1
  204. package/vanilla/UiRadioGroup.js +2 -2
  205. package/vanilla/UiReel.d.ts +1 -1
  206. package/vanilla/UiReel.js +1 -1
  207. package/vanilla/UiScrollArea.d.ts +1 -1
  208. package/vanilla/UiScrollArea.js +1 -1
  209. package/vanilla/UiSearchResultRow.d.ts +1 -1
  210. package/vanilla/UiSearchResultRow.js +1 -1
  211. package/vanilla/UiSearchShell.d.ts +1 -1
  212. package/vanilla/UiSearchShell.js +2 -2
  213. package/vanilla/UiSection.d.ts +1 -1
  214. package/vanilla/UiSection.js +1 -1
  215. package/vanilla/UiSelect.d.ts +1 -1
  216. package/vanilla/UiSelect.js +1 -1
  217. package/vanilla/UiSeparator.d.ts +1 -1
  218. package/vanilla/UiSeparator.js +1 -1
  219. package/vanilla/UiSidebar.d.ts +1 -1
  220. package/vanilla/UiSidebar.js +2 -2
  221. package/vanilla/UiSpinner.d.ts +1 -1
  222. package/vanilla/UiSpinner.js +1 -1
  223. package/vanilla/UiStack.d.ts +1 -1
  224. package/vanilla/UiStack.js +1 -1
  225. package/vanilla/UiStatusMessage.d.ts +1 -1
  226. package/vanilla/UiStatusMessage.js +1 -1
  227. package/vanilla/UiSwitch.d.ts +1 -1
  228. package/vanilla/UiSwitch.js +2 -2
  229. package/vanilla/UiSwitcher.d.ts +1 -1
  230. package/vanilla/UiSwitcher.js +2 -2
  231. package/vanilla/UiTable.d.ts +1 -1
  232. package/vanilla/UiTable.js +1 -1
  233. package/vanilla/UiTabs.d.ts +1 -1
  234. package/vanilla/UiTabs.js +2 -2
  235. package/vanilla/UiText.d.ts +1 -1
  236. package/vanilla/UiText.js +1 -1
  237. package/vanilla/UiTextarea.d.ts +1 -1
  238. package/vanilla/UiTextarea.js +1 -1
  239. package/vanilla/UiToast.d.ts +1 -1
  240. package/vanilla/UiToast.js +1 -1
  241. package/vanilla/UiToastRegion.d.ts +1 -1
  242. package/vanilla/UiToastRegion.js +2 -2
  243. package/vanilla/UiTooltip.d.ts +1 -1
  244. package/vanilla/UiTooltip.js +2 -2
  245. package/vanilla/UiTopBar.d.ts +1 -1
  246. package/vanilla/UiTopBar.js +1 -1
  247. package/vanilla/UiTree.d.ts +1 -1
  248. package/vanilla/UiTree.js +1 -1
  249. package/vanilla/UiTreeItem.d.ts +1 -1
  250. package/vanilla/UiTreeItem.js +2 -2
  251. package/vue/UiActionBar.vue +1 -1
  252. package/vue/UiAffordanceScope.vue +25 -7
  253. package/vue/UiAvatar.vue +125 -30
  254. package/vue/UiAvatarGroup.d.ts +1 -1
  255. package/vue/UiAvatarGroup.vue +67 -21
  256. package/vue/UiBadge.vue +34 -8
  257. package/vue/UiBreadcrumbItem.vue +15 -4
  258. package/vue/UiBreadcrumbs.vue +14 -4
  259. package/vue/UiButton.vue +123 -42
  260. package/vue/UiCallout.vue +16 -4
  261. package/vue/UiCard.vue +46 -10
  262. package/vue/UiCheckbox.d.ts +5 -5
  263. package/vue/UiCheckbox.vue +73 -19
  264. package/vue/UiCluster.vue +39 -10
  265. package/vue/UiCombobox.d.ts +5 -5
  266. package/vue/UiCombobox.vue +317 -78
  267. package/vue/UiContainer.vue +23 -6
  268. package/vue/UiContextMenu.vue +24 -7
  269. package/vue/UiCover.vue +16 -4
  270. package/vue/UiDescriptionItem.vue +14 -4
  271. package/vue/UiDescriptionList.vue +33 -8
  272. package/vue/UiDialog.vue +79 -26
  273. package/vue/UiDisclosure.vue +101 -38
  274. package/vue/UiEditable.d.ts +3 -3
  275. package/vue/UiEditable.vue +107 -27
  276. package/vue/UiEditorInsertTableGrid.vue +47 -11
  277. package/vue/UiEditorMentionMenu.vue +99 -20
  278. package/vue/UiEditorMentionMenuItem.vue +29 -8
  279. package/vue/UiEditorSlashMenu.vue +85 -16
  280. package/vue/UiEditorSlashMenuGroup.vue +14 -4
  281. package/vue/UiEditorSlashMenuItem.vue +43 -12
  282. package/vue/UiEditorTableContextMenu.d.ts +1 -1
  283. package/vue/UiEditorTableContextMenu.vue +95 -19
  284. package/vue/UiEditorTableOverlay.vue +91 -7
  285. package/vue/UiEditorTableToolbar.vue +105 -16
  286. package/vue/UiEditorToolbar.vue +15 -4
  287. package/vue/UiFloatingActionButton.vue +31 -8
  288. package/vue/UiFormField.d.ts +1 -1
  289. package/vue/UiFormField.vue +31 -8
  290. package/vue/UiGrid.vue +30 -8
  291. package/vue/UiIcon.vue +15 -4
  292. package/vue/UiIconButton.vue +70 -24
  293. package/vue/UiInput.vue +114 -39
  294. package/vue/UiInputGroup.vue +15 -4
  295. package/vue/UiList.vue +47 -16
  296. package/vue/UiListItem.vue +24 -6
  297. package/vue/UiListbox.d.ts +3 -3
  298. package/vue/UiListbox.vue +72 -24
  299. package/vue/UiMenu.vue +55 -15
  300. package/vue/UiMenuGroup.vue +14 -4
  301. package/vue/UiMenuItem.d.ts +4 -4
  302. package/vue/UiMenuItem.vue +77 -27
  303. package/vue/UiMeter.vue +65 -16
  304. package/vue/UiNavItem.vue +48 -24
  305. package/vue/UiPageHeader.vue +16 -4
  306. package/vue/UiPopover.vue +46 -21
  307. package/vue/UiRadio.d.ts +4 -4
  308. package/vue/UiRadio.vue +58 -15
  309. package/vue/UiRadioGroup.d.ts +3 -3
  310. package/vue/UiRadioGroup.vue +66 -17
  311. package/vue/UiReel.d.ts +1 -1
  312. package/vue/UiReel.vue +31 -8
  313. package/vue/UiScrollArea.vue +16 -4
  314. package/vue/UiSearchResultRow.vue +23 -6
  315. package/vue/UiSearchShell.vue +38 -11
  316. package/vue/UiSection.vue +33 -8
  317. package/vue/UiSelect.d.ts +1 -1
  318. package/vue/UiSelect.vue +45 -20
  319. package/vue/UiSeparator.vue +16 -4
  320. package/vue/UiSidebar.d.ts +2 -2
  321. package/vue/UiSidebar.vue +86 -22
  322. package/vue/UiSpinner.vue +23 -6
  323. package/vue/UiStack.vue +31 -8
  324. package/vue/UiStatusMessage.vue +32 -8
  325. package/vue/UiSwitch.d.ts +4 -4
  326. package/vue/UiSwitch.vue +57 -15
  327. package/vue/UiSwitcher.vue +41 -17
  328. package/vue/UiTable.vue +24 -6
  329. package/vue/UiTabs.vue +60 -14
  330. package/vue/UiText.vue +98 -35
  331. package/vue/UiTextarea.d.ts +1 -1
  332. package/vue/UiTextarea.vue +67 -26
  333. package/vue/UiToast.vue +24 -6
  334. package/vue/UiToastRegion.vue +41 -13
  335. package/vue/UiTooltip.d.ts +1 -1
  336. package/vue/UiTooltip.vue +85 -30
  337. package/vue/UiTopBar.vue +1 -1
  338. package/vue/UiTree.vue +56 -14
  339. package/vue/UiTreeItem.d.ts +3 -3
  340. package/vue/UiTreeItem.vue +147 -36
  341. package/vue/chunks/UiActionBar.js +1 -1
  342. package/vue/chunks/UiAffordanceScope.js +34 -7
  343. package/vue/chunks/UiAvatar.js +141 -21
  344. package/vue/chunks/UiAvatarGroup.js +83 -16
  345. package/vue/chunks/UiBadge.js +57 -19
  346. package/vue/chunks/UiBreadcrumbItem.js +19 -6
  347. package/vue/chunks/UiBreadcrumbs.js +19 -6
  348. package/vue/chunks/UiButton.js +194 -42
  349. package/vue/chunks/UiCallout.js +27 -13
  350. package/vue/chunks/UiCard.js +83 -25
  351. package/vue/chunks/UiCheckbox.js +104 -17
  352. package/vue/chunks/UiCluster.js +70 -25
  353. package/vue/chunks/UiCombobox.js +441 -46
  354. package/vue/chunks/UiContainer.js +36 -11
  355. package/vue/chunks/UiContextMenu.js +33 -7
  356. package/vue/chunks/UiCover.js +20 -6
  357. package/vue/chunks/UiDescriptionItem.js +18 -5
  358. package/vue/chunks/UiDescriptionList.js +54 -17
  359. package/vue/chunks/UiDialog.js +115 -23
  360. package/vue/chunks/UiDisclosure.js +110 -24
  361. package/vue/chunks/UiEditable.js +146 -18
  362. package/vue/chunks/UiEditorInsertTableGrid.js +65 -10
  363. package/vue/chunks/UiEditorMentionMenu.js +210 -14
  364. package/vue/chunks/UiEditorMentionMenuItem.js +43 -8
  365. package/vue/chunks/UiEditorSlashMenu.js +186 -12
  366. package/vue/chunks/UiEditorSlashMenuGroup.js +19 -6
  367. package/vue/chunks/UiEditorSlashMenuItem.js +65 -10
  368. package/vue/chunks/UiEditorTableContextMenu.js +116 -16
  369. package/vue/chunks/UiEditorTableOverlay.js +188 -7
  370. package/vue/chunks/UiEditorTableToolbar.js +125 -16
  371. package/vue/chunks/UiEditorToolbar.js +19 -6
  372. package/vue/chunks/UiFloatingActionButton.js +43 -8
  373. package/vue/chunks/UiFormField.js +43 -8
  374. package/vue/chunks/UiGrid.js +52 -18
  375. package/vue/chunks/UiIcon.js +19 -6
  376. package/vue/chunks/UiIconButton.js +107 -21
  377. package/vue/chunks/UiInput.js +309 -30
  378. package/vue/chunks/UiInputGroup.js +19 -6
  379. package/vue/chunks/UiList.js +62 -10
  380. package/vue/chunks/UiListItem.js +33 -7
  381. package/vue/chunks/UiListbox.js +105 -13
  382. package/vue/chunks/UiMenu.js +79 -11
  383. package/vue/chunks/UiMenuGroup.js +19 -6
  384. package/vue/chunks/UiMenuItem.js +93 -28
  385. package/vue/chunks/UiMeter.js +96 -19
  386. package/vue/chunks/UiNavItem.js +74 -17
  387. package/vue/chunks/UiPageHeader.js +20 -6
  388. package/vue/chunks/UiPopover.js +58 -21
  389. package/vue/chunks/UiRadio.js +82 -15
  390. package/vue/chunks/UiRadioGroup.js +89 -12
  391. package/vue/chunks/UiReel.js +53 -18
  392. package/vue/chunks/UiScrollArea.js +20 -6
  393. package/vue/chunks/UiSearchResultRow.js +32 -7
  394. package/vue/chunks/UiSearchShell.js +55 -9
  395. package/vue/chunks/UiSection.js +49 -12
  396. package/vue/chunks/UiSelect.js +68 -13
  397. package/vue/chunks/UiSeparator.js +20 -6
  398. package/vue/chunks/UiSidebar.js +123 -19
  399. package/vue/chunks/UiSpinner.js +33 -7
  400. package/vue/chunks/UiStack.js +59 -24
  401. package/vue/chunks/UiStatusMessage.js +53 -16
  402. package/vue/chunks/UiSwitch.js +82 -15
  403. package/vue/chunks/UiSwitcher.js +70 -25
  404. package/vue/chunks/UiTable.js +33 -7
  405. package/vue/chunks/UiTabs.js +81 -11
  406. package/vue/chunks/UiText.js +169 -58
  407. package/vue/chunks/UiTextarea.js +101 -16
  408. package/vue/chunks/UiToast.js +39 -13
  409. package/vue/chunks/UiToastRegion.js +41 -14
  410. package/vue/chunks/UiTooltip.js +113 -30
  411. package/vue/chunks/UiTopBar.js +1 -1
  412. package/vue/chunks/UiTree.js +82 -15
  413. package/vue/chunks/UiTreeItem.js +184 -22
  414. package/vue/chunks/props.js +271 -35
  415. package/vue/components.css +1197 -1197
  416. package/vue/editor/index.js +5 -2
  417. package/vue/editor/primitives.d.ts +4 -1
  418. package/vue/host.ts +6 -6
@@ -1,9 +1,9 @@
1
1
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
2
  import { r as useComponentHost, t as createDispatch } from "./host.js";
3
- import { t as checkedProp } from "./props.js";
3
+ import { r as vPropValidity, t as checkedProp } from "./props.js";
4
4
  import { t as UiIcon_default } from "./UiIcon.js";
5
5
  import { t as UiIconButton_default } from "./UiIconButton.js";
6
- import { Fragment, computed, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, h, mergeProps, normalizeClass, openBlock, ref, renderList, renderSlot, toDisplayString, unref, watchSyncEffect, withCtx } from "vue";
6
+ import { Fragment, computed, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, h, mergeProps, normalizeClass, openBlock, provide, ref, renderList, renderSlot, toDisplayString, unref, watchSyncEffect, withCtx, withDirectives } from "vue";
7
7
  //#region .build/vue/UiToastRegion.vue?vue&type=script&setup=true&lang.ts
8
8
  var _hoisted_1 = [
9
9
  "data-duration",
@@ -34,23 +34,46 @@ var UiToastRegion_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
34
34
  },
35
35
  emits: ["dismiss"],
36
36
  setup(__props, { expose: __expose, emit: __emit }) {
37
+ const propValidityContract = { props: {
38
+ duration: {
39
+ type: {
40
+ kind: "terminal",
41
+ name: "number"
42
+ },
43
+ required: false,
44
+ target: { attribute: "duration" },
45
+ description: "Default milliseconds for toasts added with show() or the show command; 0 keeps each until dismissed. Hover or focus pauses a timer.",
46
+ default: 0
47
+ },
48
+ placement: {
49
+ type: {
50
+ kind: "terminal",
51
+ name: "keyword"
52
+ },
53
+ required: false,
54
+ target: { attribute: "placement" },
55
+ description: "Screen edge where the stack appears. Start and end follow the writing direction.",
56
+ values: [
57
+ "top",
58
+ "top-start",
59
+ "top-end",
60
+ "bottom",
61
+ "bottom-start",
62
+ "bottom-end"
63
+ ],
64
+ default: "top"
65
+ }
66
+ } };
37
67
  const props = __props;
38
68
  const checkedProps = computed(() => ({
39
69
  duration: checkedProp(props["duration"], {
40
70
  kind: "terminal",
41
71
  name: "number"
42
- }, false, "duration", void 0, void 0),
72
+ }, false, "duration"),
43
73
  placement: checkedProp(props["placement"], {
44
74
  kind: "terminal",
45
75
  name: "keyword"
46
- }, false, "placement", void 0, [
47
- "top",
48
- "top-start",
49
- "top-end",
50
- "bottom",
51
- "bottom-start",
52
- "bottom-end"
53
- ])
76
+ }, false, "placement")
54
77
  }));
55
78
  checkedProps.value;
56
79
  watchSyncEffect(() => {
@@ -96,6 +119,7 @@ var UiToastRegion_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
96
119
  const emit = __emit;
97
120
  const root = ref(null);
98
121
  const toasts = ref([]);
122
+ provide("html-next:ui-toast-region:toasts", toasts);
99
123
  const hydrationNode = hydrationInstance?.vnode.el;
100
124
  if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== "div")) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-toast-region> has an incompatible root."), {
101
125
  name: "HtmlDiagnosticError",
@@ -163,7 +187,7 @@ var UiToastRegion_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
163
187
  return items;
164
188
  }
165
189
  return (_ctx, _cache) => {
166
- return openBlock(), createElementBlock("div", mergeProps({
190
+ return withDirectives((openBlock(), createElementBlock("div", mergeProps({
167
191
  "data-component": "ui-toast-region",
168
192
  role: "region",
169
193
  "aria-label": "Notifications",
@@ -197,9 +221,12 @@ var UiToastRegion_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
197
221
  }, 8, ["label"])], 8, _hoisted_4)], 10, _hoisted_2);
198
222
  }), 128))]),
199
223
  _: 1
200
- })], 16, _hoisted_1);
224
+ })], 16, _hoisted_1)), [[unref(vPropValidity), {
225
+ contract: propValidityContract,
226
+ values: { ...checkedProps.value }
227
+ }]]);
201
228
  };
202
229
  }
203
- }), [["__scopeId", "data-v-9cfc9c40"]]);
230
+ }), [["__scopeId", "data-v-bc20d0af"]]);
204
231
  //#endregion
205
232
  export { UiToastRegion_default as t };
@@ -1,7 +1,7 @@
1
1
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
2
  import { r as useComponentHost, t as createDispatch } from "./host.js";
3
- import { t as checkedProp } from "./props.js";
4
- import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, watchSyncEffect } from "vue";
3
+ import { r as vPropValidity, t as checkedProp } from "./props.js";
4
+ import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
5
5
  //#region .build/vue/UiTooltip.vue?vue&type=script&setup=true&lang.ts
6
6
  var _hoisted_1 = [
7
7
  "hidden",
@@ -57,53 +57,127 @@ var UiTooltip_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
57
57
  "close"
58
58
  ],
59
59
  setup(__props, { emit: __emit }) {
60
+ const propValidityContract = { props: {
61
+ for: {
62
+ type: {
63
+ kind: "terminal",
64
+ name: "string"
65
+ },
66
+ required: false,
67
+ target: { attribute: "for" },
68
+ description: "ID of the control described and visually anchored by the tooltip.",
69
+ default: ""
70
+ },
71
+ hideDelay: {
72
+ type: {
73
+ kind: "terminal",
74
+ name: "number"
75
+ },
76
+ required: false,
77
+ target: { attribute: "hidedelay" },
78
+ description: "Waits this many milliseconds before hiding after pointer exit.",
79
+ default: 100
80
+ },
81
+ inverse: {
82
+ type: {
83
+ kind: "terminal",
84
+ name: "boolean"
85
+ },
86
+ required: false,
87
+ target: { attribute: "inverse" },
88
+ description: "Use the high-contrast inverse surface (dark on light themes, light on dark themes).",
89
+ default: false
90
+ },
91
+ open: {
92
+ type: {
93
+ kind: "terminal",
94
+ name: "boolean"
95
+ },
96
+ required: false,
97
+ target: { attribute: "open" },
98
+ description: "Whether the tooltip is open initially or when set externally.",
99
+ default: false
100
+ },
101
+ placement: {
102
+ type: {
103
+ kind: "terminal",
104
+ name: "keyword"
105
+ },
106
+ required: false,
107
+ target: { attribute: "placement" },
108
+ description: "Positions the description around its trigger. Start and end on top or bottom follow the writing direction.",
109
+ values: [
110
+ "top",
111
+ "top-start",
112
+ "top-end",
113
+ "bottom",
114
+ "bottom-start",
115
+ "bottom-end",
116
+ "left",
117
+ "left-start",
118
+ "left-end",
119
+ "right",
120
+ "right-start",
121
+ "right-end"
122
+ ],
123
+ default: "top"
124
+ },
125
+ showDelay: {
126
+ type: {
127
+ kind: "terminal",
128
+ name: "number"
129
+ },
130
+ required: false,
131
+ target: { attribute: "showdelay" },
132
+ description: "Waits this many milliseconds before showing after pointer entry.",
133
+ default: 500
134
+ },
135
+ trigger: {
136
+ type: {
137
+ kind: "terminal",
138
+ name: "keyword"
139
+ },
140
+ required: false,
141
+ target: { attribute: "trigger" },
142
+ description: "How the trigger opens it. hover also opens on keyboard focus; click toggles it and suits a help button, where hovering a question mark says nothing; focus\n opens only while the trigger holds focus.",
143
+ values: [
144
+ "hover",
145
+ "click",
146
+ "focus"
147
+ ],
148
+ default: "hover"
149
+ }
150
+ } };
60
151
  const props = __props;
61
152
  const checkedProps = computed(() => ({
62
153
  for: checkedProp(props["for"], {
63
154
  kind: "terminal",
64
155
  name: "string"
65
- }, false, "for", void 0, void 0),
156
+ }, false, "for"),
66
157
  hideDelay: checkedProp(props["hideDelay"], {
67
158
  kind: "terminal",
68
159
  name: "number"
69
- }, false, "hideDelay", void 0, void 0),
160
+ }, false, "hideDelay"),
70
161
  inverse: checkedProp(props["inverse"], {
71
162
  kind: "terminal",
72
163
  name: "boolean"
73
- }, false, "inverse", void 0, void 0),
164
+ }, false, "inverse"),
74
165
  open: checkedProp(props["open"], {
75
166
  kind: "terminal",
76
167
  name: "boolean"
77
- }, false, "open", void 0, void 0),
168
+ }, false, "open"),
78
169
  placement: checkedProp(props["placement"], {
79
170
  kind: "terminal",
80
171
  name: "keyword"
81
- }, false, "placement", void 0, [
82
- "top",
83
- "top-start",
84
- "top-end",
85
- "bottom",
86
- "bottom-start",
87
- "bottom-end",
88
- "left",
89
- "left-start",
90
- "left-end",
91
- "right",
92
- "right-start",
93
- "right-end"
94
- ]),
172
+ }, false, "placement"),
95
173
  showDelay: checkedProp(props["showDelay"], {
96
174
  kind: "terminal",
97
175
  name: "number"
98
- }, false, "showDelay", void 0, void 0),
176
+ }, false, "showDelay"),
99
177
  trigger: checkedProp(props["trigger"], {
100
178
  kind: "terminal",
101
179
  name: "keyword"
102
- }, false, "trigger", void 0, [
103
- "hover",
104
- "click",
105
- "focus"
106
- ])
180
+ }, false, "trigger")
107
181
  }));
108
182
  checkedProps.value;
109
183
  watchSyncEffect(() => {
@@ -125,6 +199,12 @@ var UiTooltip_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
125
199
  const emit = __emit;
126
200
  const root = ref(null);
127
201
  const internalOpen = ref(false);
202
+ let guardedPrevious;
203
+ const guarded = computed(() => {
204
+ if (!(internalOpen.value == null || typeof internalOpen.value === "boolean")) return guardedPrevious;
205
+ return guardedPrevious = !internalOpen.value;
206
+ });
207
+ provide("html-next:ui-tooltip:internalOpen", internalOpen);
128
208
  const hydrationNode = hydrationInstance?.vnode.el;
129
209
  if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== "span")) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-tooltip> has an incompatible root."), {
130
210
  name: "HtmlDiagnosticError",
@@ -158,11 +238,11 @@ var UiTooltip_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
158
238
  state: { internalOpen }
159
239
  });
160
240
  return (_ctx, _cache) => {
161
- return openBlock(), createElementBlock("span", mergeProps({
241
+ return withDirectives((openBlock(), createElementBlock("span", mergeProps({
162
242
  "data-component": "ui-tooltip",
163
243
  role: "tooltip"
164
244
  }, nativeAttrs(_ctx.$attrs), {
165
- hidden: !internalOpen.value,
245
+ hidden: guarded.value,
166
246
  "data-for": reflectedProp("for", "for", checkedProps.value.for, void 0, false),
167
247
  "data-hide-delay": reflectedProp("hideDelay", "hide-delay", checkedProps.value.hideDelay, void 0, false),
168
248
  "data-inverse": reflectedProp("inverse", "inverse", checkedProps.value.inverse, void 0, false),
@@ -173,9 +253,12 @@ var UiTooltip_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
173
253
  "data-ui-tooltip-state": hostState.value || void 0,
174
254
  ref_key: "root",
175
255
  ref: root
176
- }), [createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default", {}, void 0, true)])], 16, _hoisted_1);
256
+ }), [createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default", {}, void 0, true)])], 16, _hoisted_1)), [[unref(vPropValidity), {
257
+ contract: propValidityContract,
258
+ values: { ...checkedProps.value }
259
+ }]]);
177
260
  };
178
261
  }
179
- }), [["__scopeId", "data-v-de8ecc6a"]]);
262
+ }), [["__scopeId", "data-v-ce376d75"]]);
180
263
  //#endregion
181
264
  export { UiTooltip_default as t };
@@ -33,6 +33,6 @@ var UiTopBar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
33
33
  ], 16);
34
34
  };
35
35
  }
36
- }), [["__scopeId", "data-v-dca91b5b"]]);
36
+ }), [["__scopeId", "data-v-4003ab99"]]);
37
37
  //#endregion
38
38
  export { UiTopBar_default as t };
@@ -1,7 +1,7 @@
1
1
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
2
  import { r as useComponentHost, t as createDispatch } from "./host.js";
3
- import { t as checkedProp } from "./props.js";
4
- import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, watchSyncEffect } from "vue";
3
+ import { r as vPropValidity, t as checkedProp } from "./props.js";
4
+ import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
5
5
  //#region .build/vue/UiTree.vue?vue&type=script&setup=true&lang.ts
6
6
  var _hoisted_1 = [
7
7
  "data-density",
@@ -50,36 +50,100 @@ var UiTree_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
50
50
  "select"
51
51
  ],
52
52
  setup(__props, { emit: __emit }) {
53
+ const propValidityContract = { props: {
54
+ density: {
55
+ type: {
56
+ kind: "terminal",
57
+ name: "keyword"
58
+ },
59
+ required: false,
60
+ target: { attribute: "density" },
61
+ description: "Compact trades padding and type size for rows that fit more on screen.",
62
+ values: ["comfortable", "compact"],
63
+ default: "comfortable"
64
+ },
65
+ hoverExpandDelay: {
66
+ type: {
67
+ kind: "terminal",
68
+ name: "number"
69
+ },
70
+ required: false,
71
+ target: { attribute: "hoverexpanddelay" },
72
+ description: "How long, in milliseconds, a dragged item must hover over the middle of a collapsed branch before the branch opens to receive it. 0 opens it at\n once.",
73
+ default: 700
74
+ },
75
+ label: {
76
+ type: {
77
+ kind: "terminal",
78
+ name: "string"
79
+ },
80
+ required: false,
81
+ target: { attribute: "label" },
82
+ description: "The tree's accessible name, announced when focus enters it. Name what the tree holds.",
83
+ default: "Tree"
84
+ },
85
+ marquee: {
86
+ type: {
87
+ kind: "terminal",
88
+ name: "boolean"
89
+ },
90
+ required: false,
91
+ target: { attribute: "marquee" },
92
+ description: "Scrolls a name too long for its row while that row is hovered or keyboard focused, rests at the end, then scrolls it again. Off by default: a tree of names\n that fit should not move. An item may set its own marquee to opt in or out on its own.",
93
+ default: false
94
+ },
95
+ maxDepth: {
96
+ type: {
97
+ kind: "terminal",
98
+ name: "number"
99
+ },
100
+ required: false,
101
+ target: { attribute: "maxdepth" },
102
+ description: "The deepest level a drag may produce, counting the top level as 1. A drop that would place the dragged item, or any item beneath it, deeper than this is\n refused and reported as reorder-rejected. 0 means no limit.",
103
+ default: 0
104
+ },
105
+ selection: {
106
+ type: {
107
+ kind: "terminal",
108
+ name: "keyword"
109
+ },
110
+ required: false,
111
+ target: { attribute: "selection" },
112
+ description: "How selection works. None keeps rows for navigation and expansion; single requests one selected item; multiple shows checkboxes and requests an item with\n its descendants. The application owns each Tree Item's selected state and responds to select.",
113
+ values: [
114
+ "none",
115
+ "single",
116
+ "multiple"
117
+ ],
118
+ default: "none"
119
+ }
120
+ } };
53
121
  const props = __props;
54
122
  const checkedProps = computed(() => ({
55
123
  density: checkedProp(props["density"], {
56
124
  kind: "terminal",
57
125
  name: "keyword"
58
- }, false, "density", void 0, ["comfortable", "compact"]),
126
+ }, false, "density"),
59
127
  hoverExpandDelay: checkedProp(props["hoverExpandDelay"], {
60
128
  kind: "terminal",
61
129
  name: "number"
62
- }, false, "hoverExpandDelay", void 0, void 0),
130
+ }, false, "hoverExpandDelay"),
63
131
  label: checkedProp(props["label"], {
64
132
  kind: "terminal",
65
133
  name: "string"
66
- }, false, "label", void 0, void 0),
134
+ }, false, "label"),
67
135
  marquee: checkedProp(props["marquee"], {
68
136
  kind: "terminal",
69
137
  name: "boolean"
70
- }, false, "marquee", void 0, void 0),
138
+ }, false, "marquee"),
71
139
  maxDepth: checkedProp(props["maxDepth"], {
72
140
  kind: "terminal",
73
141
  name: "number"
74
- }, false, "maxDepth", void 0, void 0),
142
+ }, false, "maxDepth"),
75
143
  selection: checkedProp(props["selection"], {
76
144
  kind: "terminal",
77
145
  name: "keyword"
78
- }, false, "selection", void 0, [
79
- "none",
80
- "single",
81
- "multiple"
82
- ])
146
+ }, false, "selection")
83
147
  }));
84
148
  checkedProps.value;
85
149
  watchSyncEffect(() => {
@@ -152,7 +216,7 @@ var UiTree_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
152
216
  props: checkedProps
153
217
  });
154
218
  return (_ctx, _cache) => {
155
- return openBlock(), createElementBlock("div", mergeProps({
219
+ return withDirectives((openBlock(), createElementBlock("div", mergeProps({
156
220
  "data-component": "ui-tree",
157
221
  role: "tree"
158
222
  }, nativeAttrs(_ctx.$attrs), {
@@ -165,9 +229,12 @@ var UiTree_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
165
229
  "data-ui-tree-state": hostState.value || void 0,
166
230
  ref_key: "root",
167
231
  ref: root
168
- }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1);
232
+ }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)), [[unref(vPropValidity), {
233
+ contract: propValidityContract,
234
+ values: { ...checkedProps.value }
235
+ }]]);
169
236
  };
170
237
  }
171
- }), [["__scopeId", "data-v-3ae125ad"]]);
238
+ }), [["__scopeId", "data-v-9e62850b"]]);
172
239
  //#endregion
173
240
  export { UiTree_default as t };