@threadlabs/looma 0.21.6 → 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 (416) 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/host.ts +6 -6
@@ -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, provide, ref, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
5
5
  //#region .build/vue/UiAffordanceScope.vue?vue&type=script&setup=true&lang.ts
6
6
  var _hoisted_1 = [
7
7
  "data-guide",
@@ -24,16 +24,39 @@ var UiAffordanceScope_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
24
24
  }
25
25
  },
26
26
  setup(__props) {
27
+ const propValidityContract = { props: {
28
+ guide: {
29
+ type: {
30
+ kind: "terminal",
31
+ name: "keyword"
32
+ },
33
+ required: false,
34
+ target: { attribute: "guide" },
35
+ description: "What marks an anticipatory control at rest. dot shows a small guide dot where it will appear; none shows nothing until the pointer nears it, it is hovered,\n or it takes focus. Every guide inside the scope follows it, including a sidebar's resize line and the editor table's handles.",
36
+ values: ["dot", "none"],
37
+ default: "dot"
38
+ },
39
+ nearRadius: {
40
+ type: {
41
+ kind: "terminal",
42
+ name: "number"
43
+ },
44
+ required: false,
45
+ target: { attribute: "nearradius" },
46
+ description: "How close, in pixels, the pointer must come to reveal an affordance.",
47
+ default: 16
48
+ }
49
+ } };
27
50
  const props = __props;
28
51
  const checkedProps = computed(() => ({
29
52
  guide: checkedProp(props["guide"], {
30
53
  kind: "terminal",
31
54
  name: "keyword"
32
- }, false, "guide", void 0, ["dot", "none"]),
55
+ }, false, "guide"),
33
56
  nearRadius: checkedProp(props["nearRadius"], {
34
57
  kind: "terminal",
35
58
  name: "number"
36
- }, false, "nearRadius", void 0, void 0)
59
+ }, false, "nearRadius")
37
60
  }));
38
61
  checkedProps.value;
39
62
  watchSyncEffect(() => {
@@ -54,6 +77,7 @@ var UiAffordanceScope_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
54
77
  const hydrationInstance = getCurrentInstance();
55
78
  const root = ref(null);
56
79
  const engaged = ref(false);
80
+ provide("html-next:ui-affordance-scope:engaged", engaged);
57
81
  const hydrationNode = hydrationInstance?.vnode.el;
58
82
  if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== "span")) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-affordance-scope> has an incompatible root."), {
59
83
  name: "HtmlDiagnosticError",
@@ -80,15 +104,18 @@ var UiAffordanceScope_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
80
104
  state: { engaged }
81
105
  });
82
106
  return (_ctx, _cache) => {
83
- return openBlock(), createElementBlock("span", mergeProps({ "data-component": "ui-affordance-scope" }, nativeAttrs(_ctx.$attrs), {
107
+ return withDirectives((openBlock(), createElementBlock("span", mergeProps({ "data-component": "ui-affordance-scope" }, nativeAttrs(_ctx.$attrs), {
84
108
  "data-guide": reflectedProp("guide", "guide", checkedProps.value.guide, void 0, false),
85
109
  "data-near-radius": reflectedProp("nearRadius", "near-radius", checkedProps.value.nearRadius, void 0, false),
86
110
  "data-ui-affordance-scope-state": hostState.value || void 0,
87
111
  ref_key: "root",
88
112
  ref: root
89
- }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1);
113
+ }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)), [[unref(vPropValidity), {
114
+ contract: propValidityContract,
115
+ values: { ...checkedProps.value }
116
+ }]]);
90
117
  };
91
118
  }
92
- }), [["__scopeId", "data-v-db655641"]]);
119
+ }), [["__scopeId", "data-v-b83bd2ec"]]);
93
120
  //#endregion
94
121
  export { UiAffordanceScope_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 UiIcon_default } from "./UiIcon.js";
5
- import { computed, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, toDisplayString, useTemplateRef, watchSyncEffect } from "vue";
5
+ import { computed, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
6
6
  //#region .build/vue/UiAvatar.vue?vue&type=script&setup=true&lang.ts
7
7
  var _hoisted_1 = [
8
8
  "data-active",
@@ -59,44 +59,127 @@ var UiAvatar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
59
59
  }
60
60
  },
61
61
  setup(__props) {
62
+ const propValidityContract = { props: {
63
+ active: {
64
+ type: {
65
+ kind: "terminal",
66
+ name: "boolean"
67
+ },
68
+ required: false,
69
+ target: { attribute: "active" },
70
+ description: "Marks the person as active now, such as editing the same page: a fine accent ring around the avatar. The ring is not announced, so say what it means in alt\n (\"Ada Lovelace, editing\").",
71
+ default: false
72
+ },
73
+ alt: {
74
+ type: {
75
+ kind: "terminal",
76
+ name: "string"
77
+ },
78
+ required: false,
79
+ target: { attribute: "alt" },
80
+ description: "The avatar's accessible name, announced for it as an image. When empty, name is used, then \"Avatar\". Initials come from name first, so alt supplies them\n only when name is empty. An authored img carries its own alt instead.",
81
+ default: ""
82
+ },
83
+ decorative: {
84
+ type: {
85
+ kind: "terminal",
86
+ name: "boolean"
87
+ },
88
+ required: false,
89
+ target: { attribute: "decorative" },
90
+ description: "Hides the avatar from assistive technology when adjacent text already identifies the person.",
91
+ default: false
92
+ },
93
+ fallback: {
94
+ type: {
95
+ kind: "terminal",
96
+ name: "string"
97
+ },
98
+ required: false,
99
+ target: { attribute: "fallback" },
100
+ description: "Text shown instead of the initials derived from name or alt, whenever there is no image. It is uppercased; keep it to a couple of characters, because the\n circle clips anything wider.",
101
+ default: ""
102
+ },
103
+ name: {
104
+ type: {
105
+ kind: "terminal",
106
+ name: "string"
107
+ },
108
+ required: false,
109
+ target: { attribute: "name" },
110
+ description: "The person's name. The initials are drawn from it: the first letters of the first two words, or the first two letters of a single word. It is also the\n accessible name when alt is empty.",
111
+ default: ""
112
+ },
113
+ shape: {
114
+ type: {
115
+ kind: "terminal",
116
+ name: "keyword"
117
+ },
118
+ required: false,
119
+ target: { attribute: "shape" },
120
+ description: "Circle by default; square uses the theme's medium radius.",
121
+ values: ["circle", "square"],
122
+ default: "circle"
123
+ },
124
+ size: {
125
+ type: {
126
+ kind: "terminal",
127
+ name: "keyword"
128
+ },
129
+ required: false,
130
+ target: { attribute: "size" },
131
+ description: "md is 2.5rem, for a person on their own (a profile, a comment); sm is 1.75rem with smaller initials, for a row of people in a toolbar or header; xs is\n 1.25rem with small initials, for a person named inline in a line of small text.",
132
+ values: [
133
+ "xs",
134
+ "sm",
135
+ "md"
136
+ ],
137
+ default: "md"
138
+ },
139
+ src: {
140
+ type: {
141
+ kind: "terminal",
142
+ name: "string"
143
+ },
144
+ required: false,
145
+ target: { attribute: "src" },
146
+ description: "The image to show, cropped to fill the circle. Until it loads, or if it fails, the avatar shows initials instead. An img element authored inside the avatar\n takes precedence over src."
147
+ }
148
+ } };
62
149
  const props = __props;
63
150
  const checkedProps = computed(() => ({
64
151
  active: checkedProp(props["active"], {
65
152
  kind: "terminal",
66
153
  name: "boolean"
67
- }, false, "active", void 0, void 0),
154
+ }, false, "active"),
68
155
  alt: checkedProp(props["alt"], {
69
156
  kind: "terminal",
70
157
  name: "string"
71
- }, false, "alt", void 0, void 0),
158
+ }, false, "alt"),
72
159
  decorative: checkedProp(props["decorative"], {
73
160
  kind: "terminal",
74
161
  name: "boolean"
75
- }, false, "decorative", void 0, void 0),
162
+ }, false, "decorative"),
76
163
  fallback: checkedProp(props["fallback"], {
77
164
  kind: "terminal",
78
165
  name: "string"
79
- }, false, "fallback", void 0, void 0),
166
+ }, false, "fallback"),
80
167
  name: checkedProp(props["name"], {
81
168
  kind: "terminal",
82
169
  name: "string"
83
- }, false, "name", void 0, void 0),
170
+ }, false, "name"),
84
171
  shape: checkedProp(props["shape"], {
85
172
  kind: "terminal",
86
173
  name: "keyword"
87
- }, false, "shape", void 0, ["circle", "square"]),
174
+ }, false, "shape"),
88
175
  size: checkedProp(props["size"], {
89
176
  kind: "terminal",
90
177
  name: "keyword"
91
- }, false, "size", void 0, [
92
- "xs",
93
- "sm",
94
- "md"
95
- ]),
178
+ }, false, "size"),
96
179
  src: checkedProp(props["src"], {
97
180
  kind: "terminal",
98
181
  name: "string"
99
- }, false, "src", void 0, void 0)
182
+ }, false, "src")
100
183
  }));
101
184
  checkedProps.value;
102
185
  watchSyncEffect(() => {
@@ -121,6 +204,40 @@ var UiAvatar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
121
204
  const hasAuthoredImage = ref(false);
122
205
  const initials = ref("?");
123
206
  const showGlyph = ref(false);
207
+ let guardedPrevious;
208
+ const guarded = computed(() => {
209
+ if (!((hasAuthoredImage.value == null || typeof hasAuthoredImage.value === "boolean") && (hasImage.value == null || typeof hasImage.value === "boolean"))) return guardedPrevious;
210
+ return guardedPrevious = hasAuthoredImage.value || !hasImage.value;
211
+ });
212
+ let guardedBindingPrevious;
213
+ const guardedBinding = computed(() => {
214
+ if (!(hasImage.value == null || typeof hasImage.value === "boolean")) return guardedBindingPrevious;
215
+ return guardedBindingPrevious = hasImage.value;
216
+ });
217
+ let guardedBinding2Previous;
218
+ const guardedBinding2 = computed(() => {
219
+ if (!(hasImage.value == null || typeof hasImage.value === "boolean")) return guardedBinding2Previous;
220
+ return guardedBinding2Previous = hasImage.value;
221
+ });
222
+ let guardedBinding3Previous;
223
+ const guardedBinding3 = computed(() => {
224
+ if (!(showGlyph.value == null || typeof showGlyph.value === "boolean")) return guardedBinding3Previous;
225
+ return guardedBinding3Previous = showGlyph.value;
226
+ });
227
+ let guardedBinding4Previous;
228
+ const guardedBinding4 = computed(() => {
229
+ if (!(initials.value == null || typeof initials.value === "string")) return guardedBinding4Previous;
230
+ return guardedBinding4Previous = initials.value;
231
+ });
232
+ let guardedBinding5Previous;
233
+ const guardedBinding5 = computed(() => {
234
+ if (!(showGlyph.value == null || typeof showGlyph.value === "boolean")) return guardedBinding5Previous;
235
+ return guardedBinding5Previous = !showGlyph.value;
236
+ });
237
+ provide("html-next:ui-avatar:hasImage", hasImage);
238
+ provide("html-next:ui-avatar:hasAuthoredImage", hasAuthoredImage);
239
+ provide("html-next:ui-avatar:initials", initials);
240
+ provide("html-next:ui-avatar:showGlyph", showGlyph);
124
241
  const hydrationNode = hydrationInstance?.vnode.el;
125
242
  if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== "span")) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-avatar> has an incompatible root."), {
126
243
  name: "HtmlDiagnosticError",
@@ -156,7 +273,7 @@ var UiAvatar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
156
273
  }
157
274
  });
158
275
  return (_ctx, _cache) => {
159
- return openBlock(), createElementBlock("span", mergeProps({ "data-component": "ui-avatar" }, nativeAttrs(_ctx.$attrs), {
276
+ return withDirectives((openBlock(), createElementBlock("span", mergeProps({ "data-component": "ui-avatar" }, nativeAttrs(_ctx.$attrs), {
160
277
  "data-active": reflectedProp("active", "active", checkedProps.value.active, void 0, false),
161
278
  "data-alt": reflectedProp("alt", "alt", checkedProps.value.alt, void 0, false),
162
279
  "data-decorative": reflectedProp("decorative", "decorative", checkedProps.value.decorative, void 0, false),
@@ -175,17 +292,20 @@ var UiAvatar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
175
292
  alt: "",
176
293
  "aria-hidden": "true",
177
294
  src: checkedProps.value.src ?? void 0,
178
- hidden: hasAuthoredImage.value || !hasImage.value,
295
+ hidden: guarded.value,
179
296
  ref: "image"
180
297
  }, null, 8, _hoisted_2),
181
298
  createElementVNode("span", {
182
299
  class: "fallback",
183
- "aria-hidden": hasImage.value,
184
- hidden: hasImage.value
185
- }, [createElementVNode("span", { hidden: showGlyph.value }, toDisplayString(initials.value), 9, _hoisted_4), createElementVNode("span", { hidden: !showGlyph.value }, [createVNode(UiIcon_default, { name: "user-round" })], 8, _hoisted_5)], 8, _hoisted_3)
186
- ], 16, _hoisted_1);
300
+ "aria-hidden": guardedBinding.value,
301
+ hidden: guardedBinding2.value
302
+ }, [createElementVNode("span", { hidden: guardedBinding3.value }, toDisplayString(guardedBinding4.value), 9, _hoisted_4), createElementVNode("span", { hidden: guardedBinding5.value }, [createVNode(UiIcon_default, { name: "user-round" })], 8, _hoisted_5)], 8, _hoisted_3)
303
+ ], 16, _hoisted_1)), [[unref(vPropValidity), {
304
+ contract: propValidityContract,
305
+ values: { ...checkedProps.value }
306
+ }]]);
187
307
  };
188
308
  }
189
- }), [["__scopeId", "data-v-13af89a3"]]);
309
+ }), [["__scopeId", "data-v-de00ac16"]]);
190
310
  //#endregion
191
311
  export { UiAvatar_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, toDisplayString, 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, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
5
5
  //#region .build/vue/UiAvatarGroup.vue?vue&type=script&setup=true&lang.ts
6
6
  var _hoisted_1 = [
7
7
  "aria-label",
@@ -41,32 +41,84 @@ var UiAvatarGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
41
41
  }
42
42
  },
43
43
  setup(__props) {
44
+ const propValidityContract = { props: {
45
+ label: {
46
+ type: {
47
+ kind: "terminal",
48
+ name: "string"
49
+ },
50
+ required: false,
51
+ target: { attribute: "aria-label" },
52
+ description: "The group's accessible name, announced for the set of avatars as a whole. Name who they are rather than repeating the default.",
53
+ default: "People"
54
+ },
55
+ max: {
56
+ type: {
57
+ kind: "terminal",
58
+ name: "number"
59
+ },
60
+ required: false,
61
+ target: { attribute: "max" },
62
+ description: "How many avatars to show. The rest are hidden and counted in a +N badge after the last visible one. Fractions round down, and 0 hides every avatar behind\n the badge.",
63
+ default: 5
64
+ },
65
+ overflowLabel: {
66
+ type: {
67
+ kind: "terminal",
68
+ name: "string"
69
+ },
70
+ required: false,
71
+ target: { attribute: "overflowlabel" },
72
+ description: "Accessible label for the overflow badge. Replace {count} with the number of people beyond the visible avatars.",
73
+ default: "{count} more"
74
+ },
75
+ size: {
76
+ type: {
77
+ kind: "terminal",
78
+ name: "keyword"
79
+ },
80
+ required: false,
81
+ target: { attribute: "size" },
82
+ description: "The size of the avatars inside, matched by the +N badge and the overlap. Give each Avatar the same size. xs suits a group inside a line of small text, such\n as the people listed under a title.",
83
+ values: [
84
+ "xs",
85
+ "sm",
86
+ "md"
87
+ ],
88
+ default: "md"
89
+ },
90
+ total: {
91
+ type: {
92
+ kind: "terminal",
93
+ name: "integer"
94
+ },
95
+ required: false,
96
+ target: { attribute: "total" },
97
+ description: "The true number of people when only some avatars are authored. The overflow badge counts the people beyond the visible avatars; it never counts fewer than\n the authored avatars."
98
+ }
99
+ } };
44
100
  const props = __props;
45
101
  const checkedProps = computed(() => ({
46
102
  label: checkedProp(props["label"], {
47
103
  kind: "terminal",
48
104
  name: "string"
49
- }, false, "label", void 0, void 0),
105
+ }, false, "label"),
50
106
  max: checkedProp(props["max"], {
51
107
  kind: "terminal",
52
108
  name: "number"
53
- }, false, "max", void 0, void 0),
109
+ }, false, "max"),
54
110
  overflowLabel: checkedProp(props["overflowLabel"], {
55
111
  kind: "terminal",
56
112
  name: "string"
57
- }, false, "overflowLabel", void 0, void 0),
113
+ }, false, "overflowLabel"),
58
114
  size: checkedProp(props["size"], {
59
115
  kind: "terminal",
60
116
  name: "keyword"
61
- }, false, "size", void 0, [
62
- "xs",
63
- "sm",
64
- "md"
65
- ]),
117
+ }, false, "size"),
66
118
  total: checkedProp(props["total"], {
67
119
  kind: "terminal",
68
120
  name: "integer"
69
- }, false, "total", void 0, void 0)
121
+ }, false, "total")
70
122
  }));
71
123
  checkedProps.value;
72
124
  watchSyncEffect(() => {
@@ -89,6 +141,18 @@ var UiAvatarGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
89
141
  const overflowElement = useTemplateRef("overflow");
90
142
  const overflowCount = ref(0);
91
143
  const overflowAnnouncement = ref("");
144
+ let guardedPrevious;
145
+ const guarded = computed(() => {
146
+ if (!(overflowCount.value == null || Number.isInteger(overflowCount.value))) return guardedPrevious;
147
+ return guardedPrevious = !overflowCount.value;
148
+ });
149
+ let guardedBindingPrevious;
150
+ const guardedBinding = computed(() => {
151
+ if (!(overflowAnnouncement.value == null || typeof overflowAnnouncement.value === "string")) return guardedBindingPrevious;
152
+ return guardedBindingPrevious = overflowAnnouncement.value;
153
+ });
154
+ provide("html-next:ui-avatar-group:overflowCount", overflowCount);
155
+ provide("html-next:ui-avatar-group:overflowAnnouncement", overflowAnnouncement);
92
156
  const hydrationNode = hydrationInstance?.vnode.el;
93
157
  if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== "div")) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-avatar-group> has an incompatible root."), {
94
158
  name: "HtmlDiagnosticError",
@@ -115,7 +179,7 @@ var UiAvatarGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
115
179
  }
116
180
  });
117
181
  return (_ctx, _cache) => {
118
- return openBlock(), createElementBlock("div", mergeProps({
182
+ return withDirectives((openBlock(), createElementBlock("div", mergeProps({
119
183
  "data-component": "ui-avatar-group",
120
184
  role: "group"
121
185
  }, nativeAttrs(_ctx.$attrs), {
@@ -131,12 +195,15 @@ var UiAvatarGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
131
195
  }), [renderSlot(_ctx.$slots, "default"), createElementVNode("span", {
132
196
  class: "overflow",
133
197
  role: "img",
134
- hidden: !overflowCount.value,
135
- "aria-label": overflowAnnouncement.value,
198
+ hidden: guarded.value,
199
+ "aria-label": guardedBinding.value,
136
200
  ref: "overflow"
137
- }, toDisplayString(`+${overflowCount.value}`), 9, _hoisted_2)], 16, _hoisted_1);
201
+ }, toDisplayString(`+${overflowCount.value}`), 9, _hoisted_2)], 16, _hoisted_1)), [[unref(vPropValidity), {
202
+ contract: propValidityContract,
203
+ values: { ...checkedProps.value }
204
+ }]]);
138
205
  };
139
206
  }
140
- }), [["__scopeId", "data-v-94b7399c"]]);
207
+ }), [["__scopeId", "data-v-c5dfd357"]]);
141
208
  //#endregion
142
209
  export { UiAvatarGroup_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/UiBadge.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = [
6
6
  "data-shape",
@@ -28,31 +28,66 @@ var UiBadge_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
28
28
  }
29
29
  },
30
30
  setup(__props) {
31
+ const propValidityContract = { props: {
32
+ shape: {
33
+ type: {
34
+ kind: "terminal",
35
+ name: "keyword"
36
+ },
37
+ required: false,
38
+ target: { attribute: "shape" },
39
+ description: "Silhouette. pill is rounded at both ends; tag is a label: flat at the start and coming to a point at the end, for a tag or a chosen chip.",
40
+ values: ["pill", "tag"],
41
+ default: "pill"
42
+ },
43
+ tone: {
44
+ type: {
45
+ kind: "terminal",
46
+ name: "keyword"
47
+ },
48
+ required: false,
49
+ target: { attribute: "tone" },
50
+ description: "Which colour the badge speaks in. neutral is a quiet grey for plain labels; accent draws the eye in the accent colour; info, success, warning, and danger\n mark a status, so match the tone to what the badge says. For a category rather than a status, set the --ui-badge-color hook on the badge instead: any CSS\n colour, which overrides the tone.",
51
+ values: [
52
+ "neutral",
53
+ "accent",
54
+ "info",
55
+ "success",
56
+ "warning",
57
+ "danger"
58
+ ],
59
+ default: "neutral"
60
+ },
61
+ variant: {
62
+ type: {
63
+ kind: "terminal",
64
+ name: "keyword"
65
+ },
66
+ required: false,
67
+ target: { attribute: "variant" },
68
+ description: "Emphasis. subtle sets toned text over a soft wash; solid fills with the tone and uses contrasting text; outline keeps the surface with a toned edge.\n Neutral looks the same in solid and subtle.",
69
+ values: [
70
+ "solid",
71
+ "subtle",
72
+ "outline"
73
+ ],
74
+ default: "subtle"
75
+ }
76
+ } };
31
77
  const props = __props;
32
78
  const checkedProps = computed(() => ({
33
79
  shape: checkedProp(props["shape"], {
34
80
  kind: "terminal",
35
81
  name: "keyword"
36
- }, false, "shape", void 0, ["pill", "tag"]),
82
+ }, false, "shape"),
37
83
  tone: checkedProp(props["tone"], {
38
84
  kind: "terminal",
39
85
  name: "keyword"
40
- }, false, "tone", void 0, [
41
- "neutral",
42
- "accent",
43
- "info",
44
- "success",
45
- "warning",
46
- "danger"
47
- ]),
86
+ }, false, "tone"),
48
87
  variant: checkedProp(props["variant"], {
49
88
  kind: "terminal",
50
89
  name: "keyword"
51
- }, false, "variant", void 0, [
52
- "solid",
53
- "subtle",
54
- "outline"
55
- ])
90
+ }, false, "variant")
56
91
  }));
57
92
  checkedProps.value;
58
93
  watchSyncEffect(() => {
@@ -88,14 +123,17 @@ var UiBadge_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
88
123
  checkedProps.value.shape != null && `shape=${encodeURIComponent(checkedProps.value.shape)}`
89
124
  ].filter(Boolean).join(" "));
90
125
  return (_ctx, _cache) => {
91
- return openBlock(), createElementBlock("span", mergeProps({ "data-component": "ui-badge" }, nativeAttrs(_ctx.$attrs), {
126
+ return withDirectives((openBlock(), createElementBlock("span", mergeProps({ "data-component": "ui-badge" }, nativeAttrs(_ctx.$attrs), {
92
127
  "data-shape": reflectedProp("shape", "shape", checkedProps.value.shape, void 0, false),
93
128
  "data-tone": reflectedProp("tone", "tone", checkedProps.value.tone, void 0, false),
94
129
  "data-variant": reflectedProp("variant", "variant", checkedProps.value.variant, void 0, false),
95
130
  "data-ui-badge-state": hostState.value || void 0
96
- }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1);
131
+ }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)), [[unref(vPropValidity), {
132
+ contract: propValidityContract,
133
+ values: { ...checkedProps.value }
134
+ }]]);
97
135
  };
98
136
  }
99
- }), [["__scopeId", "data-v-ed7b2831"]]);
137
+ }), [["__scopeId", "data-v-30ff44b9"]]);
100
138
  //#endregion
101
139
  export { UiBadge_default as t };
@@ -1,7 +1,7 @@
1
1
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
- import { t as checkedProp } from "./props.js";
2
+ import { r as vPropValidity, t as checkedProp } from "./props.js";
3
3
  import { t as UiIcon_default } from "./UiIcon.js";
4
- import { computed, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, watchSyncEffect } from "vue";
4
+ import { computed, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
5
5
  //#region .build/vue/UiBreadcrumbItem.vue?vue&type=script&setup=true&lang.ts
6
6
  var _hoisted_1 = [
7
7
  "aria-current",
@@ -23,11 +23,21 @@ var UiBreadcrumbItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/
23
23
  default: false
24
24
  } },
25
25
  setup(__props) {
26
+ const propValidityContract = { props: { current: {
27
+ type: {
28
+ kind: "terminal",
29
+ name: "boolean"
30
+ },
31
+ required: false,
32
+ target: { attribute: "current" },
33
+ description: "Marks the step as the view you are on: it is plain text with aria-current=\"page\". Every other step holds a link.",
34
+ default: false
35
+ } } };
26
36
  const props = __props;
27
37
  const checkedProps = computed(() => ({ current: checkedProp(props["current"], {
28
38
  kind: "terminal",
29
39
  name: "boolean"
30
- }, false, "current", void 0, void 0) }));
40
+ }, false, "current") }));
31
41
  checkedProps.value;
32
42
  watchSyncEffect(() => {
33
43
  checkedProps.value;
@@ -63,7 +73,7 @@ var UiBreadcrumbItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/
63
73
  return value === true ? "" : text(value);
64
74
  }
65
75
  return (_ctx, _cache) => {
66
- return openBlock(), createElementBlock("li", mergeProps({ "data-component": "ui-breadcrumb-item" }, nativeAttrs(_ctx.$attrs), {
76
+ return withDirectives((openBlock(), createElementBlock("li", mergeProps({ "data-component": "ui-breadcrumb-item" }, nativeAttrs(_ctx.$attrs), {
67
77
  "aria-current": typeof {
68
78
  true: "page",
69
79
  false: null
@@ -76,9 +86,12 @@ var UiBreadcrumbItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/
76
86
  }[`${checkedProps.value.current ?? ""}`]),
77
87
  "data-current": reflectedProp("current", "current", checkedProps.value.current, void 0, false),
78
88
  "data-ui-breadcrumb-item-state": hostState.value || void 0
79
- }), [createElementVNode("span", _hoisted_2, [createVNode(UiIcon_default, { name: "chevron-right" })]), createElementVNode("span", _hoisted_3, [renderSlot(_ctx.$slots, "default")])], 16, _hoisted_1);
89
+ }), [createElementVNode("span", _hoisted_2, [createVNode(UiIcon_default, { name: "chevron-right" })]), createElementVNode("span", _hoisted_3, [renderSlot(_ctx.$slots, "default")])], 16, _hoisted_1)), [[unref(vPropValidity), {
90
+ contract: propValidityContract,
91
+ values: { ...checkedProps.value }
92
+ }]]);
80
93
  };
81
94
  }
82
- }), [["__scopeId", "data-v-fe563ada"]]);
95
+ }), [["__scopeId", "data-v-09112412"]]);
83
96
  //#endregion
84
97
  export { UiBreadcrumbItem_default as t };