@threadlabs/looma 0.21.5 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +14 -4
  4. package/components/ui-avatar-group/ui-avatar-group.js +1 -1
  5. package/components/ui-button/ui-button.html +10 -7
  6. package/components/ui-checkbox/ui-checkbox.html +1 -1
  7. package/components/ui-combobox/ui-combobox.html +18 -18
  8. package/components/ui-context-menu/ui-context-menu.html +1 -1
  9. package/components/ui-dialog/ui-dialog.html +2 -2
  10. package/components/ui-disclosure/ui-disclosure.html +4 -4
  11. package/components/ui-editable/ui-editable.html +3 -3
  12. package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +5 -5
  13. package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +5 -5
  14. package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +3 -3
  15. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +2 -2
  16. package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +3 -7
  17. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +6 -6
  18. package/components/ui-listbox/ui-listbox.html +6 -6
  19. package/components/ui-menu/ui-menu.html +1 -1
  20. package/components/ui-menu-item/ui-menu-item.html +1 -1
  21. package/components/ui-popover/ui-popover.html +1 -1
  22. package/components/ui-radio/ui-radio.html +1 -1
  23. package/components/ui-radio-group/ui-radio-group.html +1 -1
  24. package/components/ui-search-shell/ui-search-shell.html +1 -1
  25. package/components/ui-sidebar/ui-sidebar.html +2 -2
  26. package/components/ui-switch/ui-switch.html +1 -1
  27. package/components/ui-switcher/ui-switcher.html +1 -1
  28. package/components/ui-tabs/ui-tabs.html +2 -2
  29. package/components/ui-toast-region/ui-toast-region.html +1 -1
  30. package/components/ui-tooltip/ui-tooltip.html +1 -1
  31. package/components/ui-tree-item/ui-tree-item.html +4 -4
  32. package/dist/index.js +1 -1
  33. package/package.json +2 -2
  34. package/styles/ui-action-bar.css +1 -1
  35. package/styles/ui-affordance-scope.css +1 -1
  36. package/styles/ui-avatar-group.css +10 -1
  37. package/styles/ui-avatar.css +1 -1
  38. package/styles/ui-badge.css +1 -1
  39. package/styles/ui-breadcrumb-item.css +1 -1
  40. package/styles/ui-breadcrumbs.css +1 -1
  41. package/styles/ui-button.css +11 -7
  42. package/styles/ui-callout.css +1 -1
  43. package/styles/ui-card.css +1 -1
  44. package/styles/ui-checkbox.css +1 -1
  45. package/styles/ui-cluster.css +1 -1
  46. package/styles/ui-combobox.css +1 -1
  47. package/styles/ui-container.css +1 -1
  48. package/styles/ui-context-menu.css +1 -1
  49. package/styles/ui-cover.css +1 -1
  50. package/styles/ui-description-item.css +1 -1
  51. package/styles/ui-description-list.css +1 -1
  52. package/styles/ui-dialog.css +1 -1
  53. package/styles/ui-disclosure.css +1 -1
  54. package/styles/ui-editable.css +1 -1
  55. package/styles/ui-editor-insert-table-grid.css +1 -1
  56. package/styles/ui-editor-mention-menu-item.css +1 -1
  57. package/styles/ui-editor-mention-menu.css +1 -1
  58. package/styles/ui-editor-slash-menu-group.css +1 -1
  59. package/styles/ui-editor-slash-menu-item.css +1 -1
  60. package/styles/ui-editor-slash-menu.css +1 -1
  61. package/styles/ui-editor-table-context-menu.css +1 -1
  62. package/styles/ui-editor-table-overlay.css +1 -1
  63. package/styles/ui-editor-table-toolbar.css +1 -1
  64. package/styles/ui-editor-toolbar.css +1 -1
  65. package/styles/ui-floating-action-button.css +1 -1
  66. package/styles/ui-form-field.css +1 -1
  67. package/styles/ui-grid.css +1 -1
  68. package/styles/ui-icon-button.css +1 -1
  69. package/styles/ui-icon.css +1 -1
  70. package/styles/ui-input-group.css +1 -1
  71. package/styles/ui-input.css +1 -1
  72. package/styles/ui-list-item.css +1 -1
  73. package/styles/ui-list.css +1 -1
  74. package/styles/ui-listbox.css +1 -1
  75. package/styles/ui-menu-group.css +1 -1
  76. package/styles/ui-menu-item.css +1 -1
  77. package/styles/ui-menu.css +1 -1
  78. package/styles/ui-meter.css +1 -1
  79. package/styles/ui-nav-item.css +1 -1
  80. package/styles/ui-page-header.css +1 -1
  81. package/styles/ui-popover.css +1 -1
  82. package/styles/ui-radio-group.css +1 -1
  83. package/styles/ui-radio.css +1 -1
  84. package/styles/ui-reel.css +1 -1
  85. package/styles/ui-scroll-area.css +1 -1
  86. package/styles/ui-search-result-row.css +1 -1
  87. package/styles/ui-search-shell.css +1 -1
  88. package/styles/ui-section.css +1 -1
  89. package/styles/ui-select.css +1 -1
  90. package/styles/ui-separator.css +1 -1
  91. package/styles/ui-sidebar.css +1 -1
  92. package/styles/ui-spinner.css +1 -1
  93. package/styles/ui-stack.css +1 -1
  94. package/styles/ui-status-message.css +1 -1
  95. package/styles/ui-switch.css +1 -1
  96. package/styles/ui-switcher.css +1 -1
  97. package/styles/ui-table.css +1 -1
  98. package/styles/ui-tabs.css +1 -1
  99. package/styles/ui-text.css +1 -1
  100. package/styles/ui-textarea.css +1 -1
  101. package/styles/ui-toast-region.css +1 -1
  102. package/styles/ui-toast.css +1 -1
  103. package/styles/ui-tooltip.css +1 -1
  104. package/styles/ui-top-bar.css +1 -1
  105. package/styles/ui-tree-item.css +1 -1
  106. package/styles/ui-tree.css +1 -1
  107. package/vanilla/UiActionBar.d.ts +1 -1
  108. package/vanilla/UiActionBar.js +1 -1
  109. package/vanilla/UiAffordanceScope.d.ts +1 -1
  110. package/vanilla/UiAffordanceScope.js +2 -2
  111. package/vanilla/UiAvatar.d.ts +1 -1
  112. package/vanilla/UiAvatar.js +2 -2
  113. package/vanilla/UiAvatarGroup.d.ts +2 -2
  114. package/vanilla/UiAvatarGroup.js +2 -2
  115. package/vanilla/UiBadge.d.ts +1 -1
  116. package/vanilla/UiBadge.js +1 -1
  117. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  118. package/vanilla/UiBreadcrumbItem.js +1 -1
  119. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  120. package/vanilla/UiBreadcrumbs.js +1 -1
  121. package/vanilla/UiButton.d.ts +1 -1
  122. package/vanilla/UiButton.js +1 -1
  123. package/vanilla/UiCallout.d.ts +1 -1
  124. package/vanilla/UiCallout.js +1 -1
  125. package/vanilla/UiCard.d.ts +1 -1
  126. package/vanilla/UiCard.js +1 -1
  127. package/vanilla/UiCheckbox.d.ts +1 -1
  128. package/vanilla/UiCheckbox.js +2 -2
  129. package/vanilla/UiCluster.d.ts +1 -1
  130. package/vanilla/UiCluster.js +1 -1
  131. package/vanilla/UiCombobox.d.ts +1 -1
  132. package/vanilla/UiCombobox.js +2 -2
  133. package/vanilla/UiContainer.d.ts +1 -1
  134. package/vanilla/UiContainer.js +1 -1
  135. package/vanilla/UiContextMenu.d.ts +1 -1
  136. package/vanilla/UiContextMenu.js +2 -2
  137. package/vanilla/UiCover.d.ts +1 -1
  138. package/vanilla/UiCover.js +1 -1
  139. package/vanilla/UiDescriptionItem.d.ts +1 -1
  140. package/vanilla/UiDescriptionItem.js +1 -1
  141. package/vanilla/UiDescriptionList.d.ts +1 -1
  142. package/vanilla/UiDescriptionList.js +1 -1
  143. package/vanilla/UiDialog.d.ts +1 -1
  144. package/vanilla/UiDialog.js +2 -2
  145. package/vanilla/UiDisclosure.d.ts +1 -1
  146. package/vanilla/UiDisclosure.js +2 -2
  147. package/vanilla/UiEditable.d.ts +1 -1
  148. package/vanilla/UiEditable.js +2 -2
  149. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  150. package/vanilla/UiEditorInsertTableGrid.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 +1 -1
  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 +1 -1
  159. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  160. package/vanilla/UiEditorSlashMenuItem.js +1 -1
  161. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  162. package/vanilla/UiEditorTableContextMenu.js +2 -2
  163. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  164. package/vanilla/UiEditorTableOverlay.js +2 -2
  165. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  166. package/vanilla/UiEditorTableToolbar.js +2 -2
  167. package/vanilla/UiEditorToolbar.d.ts +1 -1
  168. package/vanilla/UiEditorToolbar.js +1 -1
  169. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  170. package/vanilla/UiFloatingActionButton.js +1 -1
  171. package/vanilla/UiFormField.d.ts +1 -1
  172. package/vanilla/UiFormField.js +1 -1
  173. package/vanilla/UiGrid.d.ts +1 -1
  174. package/vanilla/UiGrid.js +1 -1
  175. package/vanilla/UiIcon.d.ts +1 -1
  176. package/vanilla/UiIcon.js +1 -1
  177. package/vanilla/UiIconButton.d.ts +1 -1
  178. package/vanilla/UiIconButton.js +1 -1
  179. package/vanilla/UiInput.d.ts +1 -1
  180. package/vanilla/UiInput.js +1 -1
  181. package/vanilla/UiInputGroup.d.ts +1 -1
  182. package/vanilla/UiInputGroup.js +1 -1
  183. package/vanilla/UiList.d.ts +1 -1
  184. package/vanilla/UiList.js +1 -1
  185. package/vanilla/UiListItem.d.ts +1 -1
  186. package/vanilla/UiListItem.js +1 -1
  187. package/vanilla/UiListbox.d.ts +1 -1
  188. package/vanilla/UiListbox.js +2 -2
  189. package/vanilla/UiMenu.d.ts +1 -1
  190. package/vanilla/UiMenu.js +2 -2
  191. package/vanilla/UiMenuGroup.d.ts +1 -1
  192. package/vanilla/UiMenuGroup.js +1 -1
  193. package/vanilla/UiMenuItem.d.ts +1 -1
  194. package/vanilla/UiMenuItem.js +2 -2
  195. package/vanilla/UiMeter.d.ts +1 -1
  196. package/vanilla/UiMeter.js +1 -1
  197. package/vanilla/UiNavItem.d.ts +1 -1
  198. package/vanilla/UiNavItem.js +1 -1
  199. package/vanilla/UiPageHeader.d.ts +1 -1
  200. package/vanilla/UiPageHeader.js +1 -1
  201. package/vanilla/UiPopover.d.ts +1 -1
  202. package/vanilla/UiPopover.js +2 -2
  203. package/vanilla/UiRadio.d.ts +1 -1
  204. package/vanilla/UiRadio.js +2 -2
  205. package/vanilla/UiRadioGroup.d.ts +1 -1
  206. package/vanilla/UiRadioGroup.js +2 -2
  207. package/vanilla/UiReel.d.ts +1 -1
  208. package/vanilla/UiReel.js +1 -1
  209. package/vanilla/UiScrollArea.d.ts +1 -1
  210. package/vanilla/UiScrollArea.js +1 -1
  211. package/vanilla/UiSearchResultRow.d.ts +1 -1
  212. package/vanilla/UiSearchResultRow.js +1 -1
  213. package/vanilla/UiSearchShell.d.ts +1 -1
  214. package/vanilla/UiSearchShell.js +2 -2
  215. package/vanilla/UiSection.d.ts +1 -1
  216. package/vanilla/UiSection.js +1 -1
  217. package/vanilla/UiSelect.d.ts +1 -1
  218. package/vanilla/UiSelect.js +1 -1
  219. package/vanilla/UiSeparator.d.ts +1 -1
  220. package/vanilla/UiSeparator.js +1 -1
  221. package/vanilla/UiSidebar.d.ts +1 -1
  222. package/vanilla/UiSidebar.js +2 -2
  223. package/vanilla/UiSpinner.d.ts +1 -1
  224. package/vanilla/UiSpinner.js +1 -1
  225. package/vanilla/UiStack.d.ts +1 -1
  226. package/vanilla/UiStack.js +1 -1
  227. package/vanilla/UiStatusMessage.d.ts +1 -1
  228. package/vanilla/UiStatusMessage.js +1 -1
  229. package/vanilla/UiSwitch.d.ts +1 -1
  230. package/vanilla/UiSwitch.js +2 -2
  231. package/vanilla/UiSwitcher.d.ts +1 -1
  232. package/vanilla/UiSwitcher.js +2 -2
  233. package/vanilla/UiTable.d.ts +1 -1
  234. package/vanilla/UiTable.js +1 -1
  235. package/vanilla/UiTabs.d.ts +1 -1
  236. package/vanilla/UiTabs.js +2 -2
  237. package/vanilla/UiText.d.ts +1 -1
  238. package/vanilla/UiText.js +1 -1
  239. package/vanilla/UiTextarea.d.ts +1 -1
  240. package/vanilla/UiTextarea.js +1 -1
  241. package/vanilla/UiToast.d.ts +1 -1
  242. package/vanilla/UiToast.js +1 -1
  243. package/vanilla/UiToastRegion.d.ts +1 -1
  244. package/vanilla/UiToastRegion.js +2 -2
  245. package/vanilla/UiTooltip.d.ts +1 -1
  246. package/vanilla/UiTooltip.js +2 -2
  247. package/vanilla/UiTopBar.d.ts +1 -1
  248. package/vanilla/UiTopBar.js +1 -1
  249. package/vanilla/UiTree.d.ts +1 -1
  250. package/vanilla/UiTree.js +1 -1
  251. package/vanilla/UiTreeItem.d.ts +1 -1
  252. package/vanilla/UiTreeItem.js +2 -2
  253. package/vue/UiActionBar.vue +1 -1
  254. package/vue/UiAffordanceScope.vue +25 -7
  255. package/vue/UiAvatar.vue +125 -30
  256. package/vue/UiAvatarGroup.d.ts +4 -4
  257. package/vue/UiAvatarGroup.vue +79 -24
  258. package/vue/UiBadge.vue +34 -8
  259. package/vue/UiBreadcrumbItem.vue +15 -4
  260. package/vue/UiBreadcrumbs.vue +14 -4
  261. package/vue/UiButton.vue +133 -49
  262. package/vue/UiCallout.vue +16 -4
  263. package/vue/UiCard.vue +46 -10
  264. package/vue/UiCheckbox.d.ts +5 -5
  265. package/vue/UiCheckbox.vue +73 -19
  266. package/vue/UiCluster.vue +39 -10
  267. package/vue/UiCombobox.d.ts +5 -5
  268. package/vue/UiCombobox.vue +317 -78
  269. package/vue/UiContainer.vue +23 -6
  270. package/vue/UiContextMenu.vue +24 -7
  271. package/vue/UiCover.vue +16 -4
  272. package/vue/UiDescriptionItem.vue +14 -4
  273. package/vue/UiDescriptionList.vue +33 -8
  274. package/vue/UiDialog.vue +79 -26
  275. package/vue/UiDisclosure.vue +101 -38
  276. package/vue/UiEditable.d.ts +3 -3
  277. package/vue/UiEditable.vue +107 -27
  278. package/vue/UiEditorInsertTableGrid.vue +47 -11
  279. package/vue/UiEditorMentionMenu.vue +99 -20
  280. package/vue/UiEditorMentionMenuItem.vue +29 -8
  281. package/vue/UiEditorSlashMenu.vue +85 -16
  282. package/vue/UiEditorSlashMenuGroup.vue +14 -4
  283. package/vue/UiEditorSlashMenuItem.vue +43 -12
  284. package/vue/UiEditorTableContextMenu.d.ts +1 -1
  285. package/vue/UiEditorTableContextMenu.vue +95 -19
  286. package/vue/UiEditorTableOverlay.vue +91 -7
  287. package/vue/UiEditorTableToolbar.vue +105 -16
  288. package/vue/UiEditorToolbar.vue +15 -4
  289. package/vue/UiFloatingActionButton.vue +31 -8
  290. package/vue/UiFormField.d.ts +1 -1
  291. package/vue/UiFormField.vue +31 -8
  292. package/vue/UiGrid.vue +30 -8
  293. package/vue/UiIcon.vue +15 -4
  294. package/vue/UiIconButton.vue +70 -24
  295. package/vue/UiInput.vue +114 -39
  296. package/vue/UiInputGroup.vue +15 -4
  297. package/vue/UiList.vue +47 -16
  298. package/vue/UiListItem.vue +24 -6
  299. package/vue/UiListbox.d.ts +3 -3
  300. package/vue/UiListbox.vue +72 -24
  301. package/vue/UiMenu.vue +55 -15
  302. package/vue/UiMenuGroup.vue +14 -4
  303. package/vue/UiMenuItem.d.ts +4 -4
  304. package/vue/UiMenuItem.vue +77 -27
  305. package/vue/UiMeter.vue +65 -16
  306. package/vue/UiNavItem.vue +48 -24
  307. package/vue/UiPageHeader.vue +16 -4
  308. package/vue/UiPopover.vue +46 -21
  309. package/vue/UiRadio.d.ts +4 -4
  310. package/vue/UiRadio.vue +58 -15
  311. package/vue/UiRadioGroup.d.ts +3 -3
  312. package/vue/UiRadioGroup.vue +66 -17
  313. package/vue/UiReel.d.ts +1 -1
  314. package/vue/UiReel.vue +31 -8
  315. package/vue/UiScrollArea.vue +16 -4
  316. package/vue/UiSearchResultRow.vue +23 -6
  317. package/vue/UiSearchShell.vue +38 -11
  318. package/vue/UiSection.vue +33 -8
  319. package/vue/UiSelect.d.ts +1 -1
  320. package/vue/UiSelect.vue +45 -20
  321. package/vue/UiSeparator.vue +16 -4
  322. package/vue/UiSidebar.d.ts +2 -2
  323. package/vue/UiSidebar.vue +86 -22
  324. package/vue/UiSpinner.vue +23 -6
  325. package/vue/UiStack.vue +31 -8
  326. package/vue/UiStatusMessage.vue +32 -8
  327. package/vue/UiSwitch.d.ts +4 -4
  328. package/vue/UiSwitch.vue +57 -15
  329. package/vue/UiSwitcher.vue +41 -17
  330. package/vue/UiTable.vue +24 -6
  331. package/vue/UiTabs.vue +60 -14
  332. package/vue/UiText.vue +98 -35
  333. package/vue/UiTextarea.d.ts +1 -1
  334. package/vue/UiTextarea.vue +67 -26
  335. package/vue/UiToast.vue +24 -6
  336. package/vue/UiToastRegion.vue +41 -13
  337. package/vue/UiTooltip.d.ts +1 -1
  338. package/vue/UiTooltip.vue +85 -30
  339. package/vue/UiTopBar.vue +1 -1
  340. package/vue/UiTree.vue +56 -14
  341. package/vue/UiTreeItem.d.ts +3 -3
  342. package/vue/UiTreeItem.vue +147 -36
  343. package/vue/chunks/UiActionBar.js +1 -1
  344. package/vue/chunks/UiAffordanceScope.js +34 -7
  345. package/vue/chunks/UiAvatar.js +141 -21
  346. package/vue/chunks/UiAvatarGroup.js +83 -12
  347. package/vue/chunks/UiBadge.js +57 -19
  348. package/vue/chunks/UiBreadcrumbItem.js +19 -6
  349. package/vue/chunks/UiBreadcrumbs.js +19 -6
  350. package/vue/chunks/UiButton.js +194 -42
  351. package/vue/chunks/UiCallout.js +27 -13
  352. package/vue/chunks/UiCard.js +83 -25
  353. package/vue/chunks/UiCheckbox.js +104 -17
  354. package/vue/chunks/UiCluster.js +70 -25
  355. package/vue/chunks/UiCombobox.js +441 -46
  356. package/vue/chunks/UiContainer.js +36 -11
  357. package/vue/chunks/UiContextMenu.js +33 -7
  358. package/vue/chunks/UiCover.js +20 -6
  359. package/vue/chunks/UiDescriptionItem.js +18 -5
  360. package/vue/chunks/UiDescriptionList.js +54 -17
  361. package/vue/chunks/UiDialog.js +115 -23
  362. package/vue/chunks/UiDisclosure.js +110 -24
  363. package/vue/chunks/UiEditable.js +146 -18
  364. package/vue/chunks/UiEditorInsertTableGrid.js +65 -10
  365. package/vue/chunks/UiEditorMentionMenu.js +210 -14
  366. package/vue/chunks/UiEditorMentionMenuItem.js +43 -8
  367. package/vue/chunks/UiEditorSlashMenu.js +186 -12
  368. package/vue/chunks/UiEditorSlashMenuGroup.js +19 -6
  369. package/vue/chunks/UiEditorSlashMenuItem.js +65 -10
  370. package/vue/chunks/UiEditorTableContextMenu.js +116 -16
  371. package/vue/chunks/UiEditorTableOverlay.js +188 -7
  372. package/vue/chunks/UiEditorTableToolbar.js +125 -16
  373. package/vue/chunks/UiEditorToolbar.js +19 -6
  374. package/vue/chunks/UiFloatingActionButton.js +43 -8
  375. package/vue/chunks/UiFormField.js +43 -8
  376. package/vue/chunks/UiGrid.js +52 -18
  377. package/vue/chunks/UiIcon.js +19 -6
  378. package/vue/chunks/UiIconButton.js +107 -21
  379. package/vue/chunks/UiInput.js +309 -30
  380. package/vue/chunks/UiInputGroup.js +19 -6
  381. package/vue/chunks/UiList.js +62 -10
  382. package/vue/chunks/UiListItem.js +33 -7
  383. package/vue/chunks/UiListbox.js +105 -13
  384. package/vue/chunks/UiMenu.js +79 -11
  385. package/vue/chunks/UiMenuGroup.js +19 -6
  386. package/vue/chunks/UiMenuItem.js +93 -28
  387. package/vue/chunks/UiMeter.js +96 -19
  388. package/vue/chunks/UiNavItem.js +74 -17
  389. package/vue/chunks/UiPageHeader.js +20 -6
  390. package/vue/chunks/UiPopover.js +58 -21
  391. package/vue/chunks/UiRadio.js +82 -15
  392. package/vue/chunks/UiRadioGroup.js +89 -12
  393. package/vue/chunks/UiReel.js +53 -18
  394. package/vue/chunks/UiScrollArea.js +20 -6
  395. package/vue/chunks/UiSearchResultRow.js +32 -7
  396. package/vue/chunks/UiSearchShell.js +55 -9
  397. package/vue/chunks/UiSection.js +49 -12
  398. package/vue/chunks/UiSelect.js +68 -13
  399. package/vue/chunks/UiSeparator.js +20 -6
  400. package/vue/chunks/UiSidebar.js +123 -19
  401. package/vue/chunks/UiSpinner.js +33 -7
  402. package/vue/chunks/UiStack.js +59 -24
  403. package/vue/chunks/UiStatusMessage.js +53 -16
  404. package/vue/chunks/UiSwitch.js +82 -15
  405. package/vue/chunks/UiSwitcher.js +70 -25
  406. package/vue/chunks/UiTable.js +33 -7
  407. package/vue/chunks/UiTabs.js +81 -11
  408. package/vue/chunks/UiText.js +169 -58
  409. package/vue/chunks/UiTextarea.js +101 -16
  410. package/vue/chunks/UiToast.js +39 -13
  411. package/vue/chunks/UiToastRegion.js +41 -14
  412. package/vue/chunks/UiTooltip.js +113 -30
  413. package/vue/chunks/UiTopBar.js +1 -1
  414. package/vue/chunks/UiTree.js +82 -15
  415. package/vue/chunks/UiTreeItem.js +184 -22
  416. package/vue/chunks/props.js +271 -35
  417. package/vue/components.css +1209 -1198
  418. package/vue/host.ts +6 -6
@@ -1,6 +1,6 @@
1
1
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
- import { t as checkedProp } from "./props.js";
3
- import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, watchSyncEffect } from "vue";
2
+ import { r as vPropValidity, t as checkedProp } from "./props.js";
3
+ import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
4
4
  //#region .build/vue/UiContainer.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = [
6
6
  "data-gutters",
@@ -23,20 +23,42 @@ var UiContainer_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
23
23
  }
24
24
  },
25
25
  setup(__props) {
26
+ const propValidityContract = { props: {
27
+ gutters: {
28
+ type: {
29
+ kind: "terminal",
30
+ name: "keyword"
31
+ },
32
+ required: false,
33
+ target: { attribute: "gutters" },
34
+ description: "Inline padding on both sides, which keeps content off the edges of a narrow screen: s is 0.75rem, m is 1rem (also the default), and l is 1.5rem.",
35
+ values: [
36
+ "s",
37
+ "m",
38
+ "l"
39
+ ]
40
+ },
41
+ measure: {
42
+ type: {
43
+ kind: "terminal",
44
+ name: "keyword"
45
+ },
46
+ required: false,
47
+ target: { attribute: "measure" },
48
+ description: "The container's maximum width, in characters of the current font: narrow is 45ch, wide is 80ch, and unset is 65ch, a comfortable reading line. The\n container centres itself when its parent is wider. The --ui-container-measure custom property, set on the container itself, overrides it; set on an\n ancestor, it does nothing.",
49
+ values: ["narrow", "wide"]
50
+ }
51
+ } };
26
52
  const props = __props;
27
53
  const checkedProps = computed(() => ({
28
54
  gutters: checkedProp(props["gutters"], {
29
55
  kind: "terminal",
30
56
  name: "keyword"
31
- }, false, "gutters", void 0, [
32
- "s",
33
- "m",
34
- "l"
35
- ]),
57
+ }, false, "gutters"),
36
58
  measure: checkedProp(props["measure"], {
37
59
  kind: "terminal",
38
60
  name: "keyword"
39
- }, false, "measure", void 0, ["narrow", "wide"])
61
+ }, false, "measure")
40
62
  }));
41
63
  checkedProps.value;
42
64
  watchSyncEffect(() => {
@@ -70,13 +92,16 @@ var UiContainer_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
70
92
  checkedProps.value.gutters != null && `gutters=${encodeURIComponent(checkedProps.value.gutters)}`
71
93
  ].filter(Boolean).join(" "));
72
94
  return (_ctx, _cache) => {
73
- return openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-container" }, nativeAttrs(_ctx.$attrs), {
95
+ return withDirectives((openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-container" }, nativeAttrs(_ctx.$attrs), {
74
96
  "data-gutters": reflectedProp("gutters", "gutters", checkedProps.value.gutters, void 0, false),
75
97
  "data-measure": reflectedProp("measure", "measure", checkedProps.value.measure, void 0, false),
76
98
  "data-ui-container-state": hostState.value || void 0
77
- }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1);
99
+ }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)), [[unref(vPropValidity), {
100
+ contract: propValidityContract,
101
+ values: { ...checkedProps.value }
102
+ }]]);
78
103
  };
79
104
  }
80
- }), [["__scopeId", "data-v-178bfc72"]]);
105
+ }), [["__scopeId", "data-v-e439a69c"]]);
81
106
  //#endregion
82
107
  export { UiContainer_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, useTemplateRef, 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, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
5
5
  //#region .build/vue/UiContextMenu.vue?vue&type=script&setup=true&lang.ts
6
6
  var _hoisted_1 = ["data-for", "data-open"];
7
7
  var _hoisted_2 = {
@@ -32,16 +32,38 @@ var UiContextMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
32
32
  "select"
33
33
  ],
34
34
  setup(__props, { emit: __emit }) {
35
+ const propValidityContract = { props: {
36
+ for: {
37
+ type: {
38
+ kind: "terminal",
39
+ name: "string"
40
+ },
41
+ required: false,
42
+ target: { attribute: "for" },
43
+ description: "ID of the element whose context click (right-click, long-press, Shift+F10, or the Menu key) opens the menu.",
44
+ default: ""
45
+ },
46
+ open: {
47
+ type: {
48
+ kind: "terminal",
49
+ name: "boolean"
50
+ },
51
+ required: false,
52
+ target: { attribute: "open" },
53
+ description: "Whether the context menu is open initially or when set externally.",
54
+ default: false
55
+ }
56
+ } };
35
57
  const props = __props;
36
58
  const checkedProps = computed(() => ({
37
59
  for: checkedProp(props["for"], {
38
60
  kind: "terminal",
39
61
  name: "string"
40
- }, false, "for", void 0, void 0),
62
+ }, false, "for"),
41
63
  open: checkedProp(props["open"], {
42
64
  kind: "terminal",
43
65
  name: "boolean"
44
- }, false, "open", void 0, void 0)
66
+ }, false, "open")
45
67
  }));
46
68
  checkedProps.value;
47
69
  watchSyncEffect(() => {
@@ -64,6 +86,7 @@ var UiContextMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
64
86
  const root = ref(null);
65
87
  const menuElement = useTemplateRef("menu");
66
88
  const internalOpen = ref(false);
89
+ provide("html-next:ui-context-menu:internalOpen", internalOpen);
67
90
  const hydrationNode = hydrationInstance?.vnode.el;
68
91
  if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== "span")) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-context-menu> has an incompatible root."), {
69
92
  name: "HtmlDiagnosticError",
@@ -102,14 +125,17 @@ var UiContextMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
102
125
  state: { internalOpen }
103
126
  });
104
127
  return (_ctx, _cache) => {
105
- return openBlock(), createElementBlock("span", mergeProps({ "data-component": "ui-context-menu" }, nativeAttrs(_ctx.$attrs), {
128
+ return withDirectives((openBlock(), createElementBlock("span", mergeProps({ "data-component": "ui-context-menu" }, nativeAttrs(_ctx.$attrs), {
106
129
  "data-for": reflectedProp("for", "for", checkedProps.value.for, void 0, false),
107
130
  "data-open": reflectedProp("open", "open", checkedProps.value.open, void 0, false),
108
131
  ref_key: "root",
109
132
  ref: root
110
- }), [createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 512)], 16, _hoisted_1);
133
+ }), [createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 512)], 16, _hoisted_1)), [[unref(vPropValidity), {
134
+ contract: propValidityContract,
135
+ values: { ...checkedProps.value }
136
+ }]]);
111
137
  };
112
138
  }
113
- }), [["__scopeId", "data-v-ece98c9f"]]);
139
+ }), [["__scopeId", "data-v-a3df6c42"]]);
114
140
  //#endregion
115
141
  export { UiContextMenu_default as t };
@@ -1,6 +1,6 @@
1
1
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
- import { t as checkedProp } from "./props.js";
3
- import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, watchSyncEffect } from "vue";
2
+ import { r as vPropValidity, t as checkedProp } from "./props.js";
3
+ import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
4
4
  //#region .build/vue/UiCover.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = ["data-size", "data-ui-cover-state"];
6
6
  //#endregion
@@ -13,11 +13,22 @@ var UiCover_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
13
13
  default: "screen"
14
14
  } },
15
15
  setup(__props) {
16
+ const propValidityContract = { props: { size: {
17
+ type: {
18
+ kind: "terminal",
19
+ name: "keyword"
20
+ },
21
+ required: false,
22
+ target: { attribute: "size" },
23
+ description: "How tall the cover is. screen is at least the viewport's height, for a view that is one centred card, such as sign-in; fill takes the space its parent\n gives it.",
24
+ values: ["screen", "fill"],
25
+ default: "screen"
26
+ } } };
16
27
  const props = __props;
17
28
  const checkedProps = computed(() => ({ size: checkedProp(props["size"], {
18
29
  kind: "terminal",
19
30
  name: "keyword"
20
- }, false, "size", void 0, ["screen", "fill"]) }));
31
+ }, false, "size") }));
21
32
  checkedProps.value;
22
33
  watchSyncEffect(() => {
23
34
  checkedProps.value;
@@ -45,12 +56,15 @@ var UiCover_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
45
56
  /** The values the styles' :host-state() rules test. */
46
57
  const hostState = computed(() => [checkedProps.value.size && "size", checkedProps.value.size != null && `size=${encodeURIComponent(checkedProps.value.size)}`].filter(Boolean).join(" "));
47
58
  return (_ctx, _cache) => {
48
- return openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-cover" }, nativeAttrs(_ctx.$attrs), {
59
+ return withDirectives((openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-cover" }, nativeAttrs(_ctx.$attrs), {
49
60
  "data-size": reflectedProp("size", "size", checkedProps.value.size, void 0, false),
50
61
  "data-ui-cover-state": hostState.value || void 0
51
- }), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1);
62
+ }), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1)), [[unref(vPropValidity), {
63
+ contract: propValidityContract,
64
+ values: { ...checkedProps.value }
65
+ }]]);
52
66
  };
53
67
  }
54
- }), [["__scopeId", "data-v-9b72621f"]]);
68
+ }), [["__scopeId", "data-v-97ef2767"]]);
55
69
  //#endregion
56
70
  export { UiCover_default as t };
@@ -1,6 +1,6 @@
1
1
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
- import { t as checkedProp } from "./props.js";
3
- import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, toDisplayString, watchSyncEffect } from "vue";
2
+ import { r as vPropValidity, t as checkedProp } from "./props.js";
3
+ import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, toDisplayString, unref, watchSyncEffect, withDirectives } from "vue";
4
4
  //#region .build/vue/UiDescriptionItem.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = ["data-term"];
6
6
  //#endregion
@@ -13,11 +13,21 @@ var UiDescriptionItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
13
13
  default: ""
14
14
  } },
15
15
  setup(__props) {
16
+ const propValidityContract = { props: { term: {
17
+ type: {
18
+ kind: "terminal",
19
+ name: "string"
20
+ },
21
+ required: false,
22
+ target: { attribute: "term" },
23
+ description: "What the value is, such as \"Invited by\". The value is the item's content.",
24
+ default: ""
25
+ } } };
16
26
  const props = __props;
17
27
  const checkedProps = computed(() => ({ term: checkedProp(props["term"], {
18
28
  kind: "terminal",
19
29
  name: "string"
20
- }, false, "term", void 0, void 0) }));
30
+ }, false, "term") }));
21
31
  checkedProps.value;
22
32
  watchSyncEffect(() => {
23
33
  checkedProps.value;
@@ -43,9 +53,12 @@ var UiDescriptionItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
43
53
  })
44
54
  });
45
55
  return (_ctx, _cache) => {
46
- return openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-description-item" }, nativeAttrs(_ctx.$attrs), { "data-term": reflectedProp("term", "term", checkedProps.value.term, void 0, false) }), [createElementVNode("dt", null, toDisplayString(checkedProps.value.term), 1), createElementVNode("dd", null, [renderSlot(_ctx.$slots, "default", {}, void 0, true)])], 16, _hoisted_1);
56
+ return withDirectives((openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-description-item" }, nativeAttrs(_ctx.$attrs), { "data-term": reflectedProp("term", "term", checkedProps.value.term, void 0, false) }), [createElementVNode("dt", null, toDisplayString(checkedProps.value.term), 1), createElementVNode("dd", null, [renderSlot(_ctx.$slots, "default", {}, void 0, true)])], 16, _hoisted_1)), [[unref(vPropValidity), {
57
+ contract: propValidityContract,
58
+ values: { ...checkedProps.value }
59
+ }]]);
47
60
  };
48
61
  }
49
- }), [["__scopeId", "data-v-a00963b1"]]);
62
+ }), [["__scopeId", "data-v-147189f1"]]);
50
63
  //#endregion
51
64
  export { UiDescriptionItem_default as t };
@@ -1,6 +1,6 @@
1
1
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
- import { t as checkedProp } from "./props.js";
3
- import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, watchSyncEffect } from "vue";
2
+ import { r as vPropValidity, t as checkedProp } from "./props.js";
3
+ import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
4
4
  //#region .build/vue/UiDescriptionList.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = [
6
6
  "data-columns",
@@ -28,29 +28,63 @@ var UiDescriptionList_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
28
28
  }
29
29
  },
30
30
  setup(__props) {
31
+ const propValidityContract = { props: {
32
+ columns: {
33
+ type: {
34
+ kind: "terminal",
35
+ name: "keyword"
36
+ },
37
+ required: false,
38
+ target: { attribute: "columns" },
39
+ description: "The most columns grid and tiles set on a wide list; a narrow list still drops to fewer. Left unset, they fit as many as the width allows.",
40
+ values: [
41
+ "2",
42
+ "3",
43
+ "4"
44
+ ]
45
+ },
46
+ density: {
47
+ type: {
48
+ kind: "terminal",
49
+ name: "keyword"
50
+ },
51
+ required: false,
52
+ target: { attribute: "density" },
53
+ description: "How much room each pair takes. comfortable spaces the pairs apart to read; compact sets them close together, for facts inside other content such as a card\n or a table's detail row.",
54
+ values: ["comfortable", "compact"],
55
+ default: "comfortable"
56
+ },
57
+ layout: {
58
+ type: {
59
+ kind: "terminal",
60
+ name: "keyword"
61
+ },
62
+ required: false,
63
+ target: { attribute: "layout" },
64
+ description: "rows sets each term beside its value, one per line, for a short summary; stacked sets every term above its value, one pair per line, for a narrow space;\n grid sets the pairs, term above value, in as many columns as fit, for facts to scan across; tiles sets each pair on its own bordered tile in a grid, for\n figures to compare.",
65
+ values: [
66
+ "rows",
67
+ "stacked",
68
+ "grid",
69
+ "tiles"
70
+ ],
71
+ default: "rows"
72
+ }
73
+ } };
31
74
  const props = __props;
32
75
  const checkedProps = computed(() => ({
33
76
  columns: checkedProp(props["columns"], {
34
77
  kind: "terminal",
35
78
  name: "keyword"
36
- }, false, "columns", void 0, [
37
- "2",
38
- "3",
39
- "4"
40
- ]),
79
+ }, false, "columns"),
41
80
  density: checkedProp(props["density"], {
42
81
  kind: "terminal",
43
82
  name: "keyword"
44
- }, false, "density", void 0, ["comfortable", "compact"]),
83
+ }, false, "density"),
45
84
  layout: checkedProp(props["layout"], {
46
85
  kind: "terminal",
47
86
  name: "keyword"
48
- }, false, "layout", void 0, [
49
- "rows",
50
- "stacked",
51
- "grid",
52
- "tiles"
53
- ])
87
+ }, false, "layout")
54
88
  }));
55
89
  checkedProps.value;
56
90
  watchSyncEffect(() => {
@@ -86,14 +120,17 @@ var UiDescriptionList_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
86
120
  checkedProps.value.density != null && `density=${encodeURIComponent(checkedProps.value.density)}`
87
121
  ].filter(Boolean).join(" "));
88
122
  return (_ctx, _cache) => {
89
- return openBlock(), createElementBlock("dl", mergeProps({ "data-component": "ui-description-list" }, nativeAttrs(_ctx.$attrs), {
123
+ return withDirectives((openBlock(), createElementBlock("dl", mergeProps({ "data-component": "ui-description-list" }, nativeAttrs(_ctx.$attrs), {
90
124
  "data-columns": reflectedProp("columns", "columns", checkedProps.value.columns, void 0, false),
91
125
  "data-density": reflectedProp("density", "density", checkedProps.value.density, void 0, false),
92
126
  "data-layout": reflectedProp("layout", "layout", checkedProps.value.layout, void 0, false),
93
127
  "data-ui-description-list-state": hostState.value || void 0
94
- }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1);
128
+ }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)), [[unref(vPropValidity), {
129
+ contract: propValidityContract,
130
+ values: { ...checkedProps.value }
131
+ }]]);
95
132
  };
96
133
  }
97
- }), [["__scopeId", "data-v-7a37f9f7"]]);
134
+ }), [["__scopeId", "data-v-a6c69a42"]]);
98
135
  //#endregion
99
136
  export { UiDescriptionList_default as t };
@@ -1,8 +1,8 @@
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 UiScrollArea_default } from "./UiScrollArea.js";
5
- import { computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, toDisplayString, useTemplateRef, watchSyncEffect, withCtx } from "vue";
5
+ import { computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withCtx, withDirectives } from "vue";
6
6
  //#region .build/vue/UiDialog.vue?vue&type=script&setup=true&lang.ts
7
7
  var _hoisted_1 = [
8
8
  "aria-label",
@@ -71,49 +71,131 @@ var UiDialog_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
71
71
  "close"
72
72
  ],
73
73
  setup(__props, { emit: __emit }) {
74
+ const propValidityContract = { props: {
75
+ alert: {
76
+ type: {
77
+ kind: "terminal",
78
+ name: "boolean"
79
+ },
80
+ required: false,
81
+ target: { attribute: "alert" },
82
+ description: "Use alert dialog semantics and require an explicit action instead of the header close button. An alert dialog is always modal.",
83
+ default: false
84
+ },
85
+ closedby: {
86
+ type: {
87
+ kind: "terminal",
88
+ name: "keyword"
89
+ },
90
+ required: false,
91
+ target: { attribute: "closedby" },
92
+ description: "Which user close requests work: any includes outside presses, closerequest includes Escape, and none requires an action. Unset follows native dialog:\n closerequest when modal, none when not.",
93
+ values: [
94
+ "any",
95
+ "closerequest",
96
+ "none"
97
+ ]
98
+ },
99
+ for: {
100
+ type: {
101
+ kind: "terminal",
102
+ name: "string"
103
+ },
104
+ required: false,
105
+ target: { attribute: "for" },
106
+ description: "ID of the control that opens the dialog.",
107
+ default: ""
108
+ },
109
+ label: {
110
+ type: {
111
+ kind: "terminal",
112
+ name: "string"
113
+ },
114
+ required: false,
115
+ target: { attribute: "label" },
116
+ description: "Visible title in the dialog header; also its accessible name."
117
+ },
118
+ modal: {
119
+ type: {
120
+ kind: "terminal",
121
+ name: "boolean"
122
+ },
123
+ required: false,
124
+ target: { attribute: "modal" },
125
+ description: "Open in the top layer with a backdrop and make the rest of the page inert until it closes, like native showModal(). Without it the dialog is non-modal,\n like native show().",
126
+ default: false
127
+ },
128
+ modeless: {
129
+ type: {
130
+ kind: "terminal",
131
+ name: "boolean"
132
+ },
133
+ required: false,
134
+ target: { attribute: "modeless" },
135
+ description: "Deprecated: does nothing, since dialogs are non-modal unless modal is set. Accepted so markup written for 0.15 keeps working; modal wins when both are\n set.",
136
+ default: false
137
+ },
138
+ open: {
139
+ type: {
140
+ kind: "terminal",
141
+ name: "boolean"
142
+ },
143
+ required: false,
144
+ target: { attribute: "open" },
145
+ description: "Whether the dialog is open initially or when set externally.",
146
+ default: false
147
+ },
148
+ size: {
149
+ type: {
150
+ kind: "terminal",
151
+ name: "keyword"
152
+ },
153
+ required: false,
154
+ target: { attribute: "size" },
155
+ description: "Choose a compact, standard, wide, or viewport-filling dialog.",
156
+ values: [
157
+ "sm",
158
+ "md",
159
+ "lg",
160
+ "fullscreen"
161
+ ],
162
+ default: "md"
163
+ }
164
+ } };
74
165
  const props = __props;
75
166
  const checkedProps = computed(() => ({
76
167
  alert: checkedProp(props["alert"], {
77
168
  kind: "terminal",
78
169
  name: "boolean"
79
- }, false, "alert", void 0, void 0),
170
+ }, false, "alert"),
80
171
  closedby: checkedProp(props["closedby"], {
81
172
  kind: "terminal",
82
173
  name: "keyword"
83
- }, false, "closedby", void 0, [
84
- "any",
85
- "closerequest",
86
- "none"
87
- ]),
174
+ }, false, "closedby"),
88
175
  for: checkedProp(props["for"], {
89
176
  kind: "terminal",
90
177
  name: "string"
91
- }, false, "for", void 0, void 0),
178
+ }, false, "for"),
92
179
  label: checkedProp(props["label"], {
93
180
  kind: "terminal",
94
181
  name: "string"
95
- }, false, "label", void 0, void 0),
182
+ }, false, "label"),
96
183
  modal: checkedProp(props["modal"], {
97
184
  kind: "terminal",
98
185
  name: "boolean"
99
- }, false, "modal", void 0, void 0),
186
+ }, false, "modal"),
100
187
  modeless: checkedProp(props["modeless"], {
101
188
  kind: "terminal",
102
189
  name: "boolean"
103
- }, false, "modeless", void 0, void 0),
190
+ }, false, "modeless"),
104
191
  open: checkedProp(props["open"], {
105
192
  kind: "terminal",
106
193
  name: "boolean"
107
- }, false, "open", void 0, void 0),
194
+ }, false, "open"),
108
195
  size: checkedProp(props["size"], {
109
196
  kind: "terminal",
110
197
  name: "keyword"
111
- }, false, "size", void 0, [
112
- "sm",
113
- "md",
114
- "lg",
115
- "fullscreen"
116
- ])
198
+ }, false, "size")
117
199
  }));
118
200
  checkedProps.value;
119
201
  watchSyncEffect(() => {
@@ -137,6 +219,13 @@ var UiDialog_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
137
219
  const closeElement = useTemplateRef("close");
138
220
  const internalOpen = ref(false);
139
221
  const accessibleLabel = ref("Dialog");
222
+ let guardedPrevious;
223
+ const guarded = computed(() => {
224
+ if (!(accessibleLabel.value == null || typeof accessibleLabel.value === "string")) return guardedPrevious;
225
+ return guardedPrevious = accessibleLabel.value;
226
+ });
227
+ provide("html-next:ui-dialog:internalOpen", internalOpen);
228
+ provide("html-next:ui-dialog:accessibleLabel", accessibleLabel);
140
229
  const hydrationNode = hydrationInstance?.vnode.el;
141
230
  if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== "dialog")) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-dialog> has an incompatible root."), {
142
231
  name: "HtmlDiagnosticError",
@@ -183,8 +272,8 @@ var UiDialog_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
183
272
  }
184
273
  });
185
274
  return (_ctx, _cache) => {
186
- return openBlock(), createElementBlock("dialog", mergeProps({ "data-component": "ui-dialog" }, nativeAttrs(_ctx.$attrs), {
187
- "aria-label": accessibleLabel.value,
275
+ return withDirectives((openBlock(), createElementBlock("dialog", mergeProps({ "data-component": "ui-dialog" }, nativeAttrs(_ctx.$attrs), {
276
+ "aria-label": guarded.value,
188
277
  "data-alert": reflectedProp("alert", "alert", checkedProps.value.alert, void 0, false),
189
278
  "data-closedby": reflectedProp("closedby", "closedby", checkedProps.value.closedby, void 0, false),
190
279
  "data-for": reflectedProp("for", "for", checkedProps.value.for, void 0, false),
@@ -203,9 +292,12 @@ var UiDialog_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
203
292
  _: 3
204
293
  }),
205
294
  createElementVNode("footer", null, [renderSlot(_ctx.$slots, "actions", {}, void 0, true)])
206
- ], 16, _hoisted_1);
295
+ ], 16, _hoisted_1)), [[unref(vPropValidity), {
296
+ contract: propValidityContract,
297
+ values: { ...checkedProps.value }
298
+ }]]);
207
299
  };
208
300
  }
209
- }), [["__scopeId", "data-v-33d86fa8"]]);
301
+ }), [["__scopeId", "data-v-6979641e"]]);
210
302
  //#endregion
211
303
  export { UiDialog_default as t };