@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, 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/UiSection.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = [
6
6
  "data-heading",
@@ -34,24 +34,58 @@ var UiSection_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
34
34
  }
35
35
  },
36
36
  setup(__props) {
37
+ const propValidityContract = { props: {
38
+ heading: {
39
+ type: {
40
+ kind: "terminal",
41
+ name: "string"
42
+ },
43
+ required: false,
44
+ target: { attribute: "heading" },
45
+ description: "The section's heading, an h2. Leave it empty for a section with no visible heading, and name the section with aria-label.",
46
+ default: ""
47
+ },
48
+ tone: {
49
+ type: {
50
+ kind: "terminal",
51
+ name: "keyword"
52
+ },
53
+ required: false,
54
+ target: { attribute: "tone" },
55
+ description: "danger marks a section of destructive actions (a danger zone): its heading and a card's border take the danger colour.",
56
+ values: ["neutral", "danger"],
57
+ default: "neutral"
58
+ },
59
+ variant: {
60
+ type: {
61
+ kind: "terminal",
62
+ name: "keyword"
63
+ },
64
+ required: false,
65
+ target: { attribute: "variant" },
66
+ description: "How the section is set apart. plain is a heading and content in the flow of the page; card sits it on a bordered surface, for a settings group; divided\n rules it off from the section before it, for a long form.",
67
+ values: [
68
+ "plain",
69
+ "card",
70
+ "divided"
71
+ ],
72
+ default: "plain"
73
+ }
74
+ } };
37
75
  const props = __props;
38
76
  const checkedProps = computed(() => ({
39
77
  heading: checkedProp(props["heading"], {
40
78
  kind: "terminal",
41
79
  name: "string"
42
- }, false, "heading", void 0, void 0),
80
+ }, false, "heading"),
43
81
  tone: checkedProp(props["tone"], {
44
82
  kind: "terminal",
45
83
  name: "keyword"
46
- }, false, "tone", void 0, ["neutral", "danger"]),
84
+ }, false, "tone"),
47
85
  variant: checkedProp(props["variant"], {
48
86
  kind: "terminal",
49
87
  name: "keyword"
50
- }, false, "variant", void 0, [
51
- "plain",
52
- "card",
53
- "divided"
54
- ])
88
+ }, false, "variant")
55
89
  }));
56
90
  checkedProps.value;
57
91
  watchSyncEffect(() => {
@@ -85,7 +119,7 @@ var UiSection_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
85
119
  checkedProps.value.tone != null && `tone=${encodeURIComponent(checkedProps.value.tone)}`
86
120
  ].filter(Boolean).join(" "));
87
121
  return (_ctx, _cache) => {
88
- return openBlock(), createElementBlock("section", mergeProps({ "data-component": "ui-section" }, nativeAttrs(_ctx.$attrs), {
122
+ return withDirectives((openBlock(), createElementBlock("section", mergeProps({ "data-component": "ui-section" }, nativeAttrs(_ctx.$attrs), {
89
123
  "data-heading": reflectedProp("heading", "heading", checkedProps.value.heading, void 0, false),
90
124
  "data-tone": reflectedProp("tone", "tone", checkedProps.value.tone, void 0, false),
91
125
  "data-variant": reflectedProp("variant", "variant", checkedProps.value.variant, void 0, false),
@@ -93,9 +127,12 @@ var UiSection_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
93
127
  }), [createElementVNode("span", _hoisted_2, [createElementVNode("span", _hoisted_3, [createElementVNode("h2", {
94
128
  class: "heading",
95
129
  hidden: !checkedProps.value.heading
96
- }, toDisplayString(checkedProps.value.heading), 9, _hoisted_4), createElementVNode("span", _hoisted_5, [renderSlot(_ctx.$slots, "description", {}, void 0, true)])]), createElementVNode("span", _hoisted_6, [renderSlot(_ctx.$slots, "actions", {}, void 0, true)])]), createElementVNode("span", _hoisted_7, [renderSlot(_ctx.$slots, "default", {}, void 0, true)])], 16, _hoisted_1);
130
+ }, toDisplayString(checkedProps.value.heading), 9, _hoisted_4), createElementVNode("span", _hoisted_5, [renderSlot(_ctx.$slots, "description", {}, void 0, true)])]), createElementVNode("span", _hoisted_6, [renderSlot(_ctx.$slots, "actions", {}, void 0, true)])]), createElementVNode("span", _hoisted_7, [renderSlot(_ctx.$slots, "default", {}, void 0, true)])], 16, _hoisted_1)), [[unref(vPropValidity), {
131
+ contract: propValidityContract,
132
+ values: { ...checkedProps.value }
133
+ }]]);
97
134
  };
98
135
  }
99
- }), [["__scopeId", "data-v-23647879"]]);
136
+ }), [["__scopeId", "data-v-733826b4"]]);
100
137
  //#endregion
101
138
  export { UiSection_default as t };
@@ -1,6 +1,6 @@
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 { n as readBoundControl, r as vBindControl, t as SelectedOptions } from "./control.js";
5
5
  import { computed, createElementBlock, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, unref, watchSyncEffect, withCtx, withDirectives } from "vue";
6
6
  //#region .build/vue/UiSelect.vue?vue&type=script&setup=true&lang.ts
@@ -45,36 +45,88 @@ var UiSelect_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
45
45
  },
46
46
  emits: ["update:modelValue"],
47
47
  setup(__props, { emit: __emit }) {
48
+ const propValidityContract = { props: {
49
+ disabled: {
50
+ type: {
51
+ kind: "terminal",
52
+ name: "boolean"
53
+ },
54
+ required: false,
55
+ target: { attribute: "disabled" },
56
+ description: "Prevents selection and form submission.",
57
+ default: false
58
+ },
59
+ invalid: {
60
+ type: {
61
+ kind: "terminal",
62
+ name: "boolean"
63
+ },
64
+ required: false,
65
+ target: { attribute: "aria-invalid" },
66
+ description: "Exposes invalid state to assistive technology and styling.",
67
+ default: false
68
+ },
69
+ required: {
70
+ type: {
71
+ kind: "terminal",
72
+ name: "boolean"
73
+ },
74
+ required: false,
75
+ target: { attribute: "required" },
76
+ description: "Requires a non-empty option for form validation.",
77
+ default: false
78
+ },
79
+ size: {
80
+ type: {
81
+ kind: "terminal",
82
+ name: "keyword"
83
+ },
84
+ required: false,
85
+ target: { attribute: "size" },
86
+ description: "Height, padding, chevron, and type size, matching Button's sizes so a field and a button of one size share a row. sm is the small control height (2rem by\n default) with smaller text and a smaller chevron, for compact rows such as a table row or a filter bar; md is the standard control height; lg is taller\n with roomier padding. Under a coarse pointer, sm grows to the 44px touch minimum and keeps body-size text. It is not the native size attribute: a select\n is always a single-choice dropdown. Change it after render through this option; the element's size property is the native one.",
87
+ values: [
88
+ "sm",
89
+ "md",
90
+ "lg"
91
+ ],
92
+ default: "md"
93
+ },
94
+ value: {
95
+ type: {
96
+ kind: "terminal",
97
+ name: "string"
98
+ },
99
+ required: false,
100
+ target: { attribute: "value" },
101
+ description: "The value of the selected option, initially or when set externally. It is also the default, so a form reset returns to it rather than to the first\n option."
102
+ }
103
+ } };
48
104
  const props = __props;
49
105
  const checkedProps = computed(() => ({
50
106
  disabled: checkedProp(props["disabled"], {
51
107
  kind: "terminal",
52
108
  name: "boolean"
53
- }, false, "disabled", void 0, void 0),
109
+ }, false, "disabled"),
54
110
  invalid: checkedProp(props["invalid"], {
55
111
  kind: "terminal",
56
112
  name: "boolean"
57
- }, false, "invalid", void 0, void 0),
113
+ }, false, "invalid"),
58
114
  required: checkedProp(props["required"], {
59
115
  kind: "terminal",
60
116
  name: "boolean"
61
- }, false, "required", void 0, void 0),
117
+ }, false, "required"),
62
118
  size: checkedProp(props["size"], {
63
119
  kind: "terminal",
64
120
  name: "keyword"
65
- }, false, "size", void 0, [
66
- "sm",
67
- "md",
68
- "lg"
69
- ]),
121
+ }, false, "size"),
70
122
  value: checkedProp(props["value"], {
71
123
  kind: "terminal",
72
124
  name: "string"
73
- }, false, "value", void 0, void 0),
125
+ }, false, "value"),
74
126
  modelValue: checkedProp(props.modelValue, {
75
127
  kind: "terminal",
76
128
  name: "string"
77
- }, false, "modelValue", void 0, void 0)
129
+ }, false, "modelValue")
78
130
  }));
79
131
  checkedProps.value;
80
132
  watchSyncEffect(() => {
@@ -140,7 +192,10 @@ var UiSelect_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
140
192
  }, {
141
193
  default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, void 0, true)]),
142
194
  _: 3
143
- }, 8, ["value"])], 16, _hoisted_1)), [[unref(vBindControl), {
195
+ }, 8, ["value"])], 16, _hoisted_1)), [[unref(vPropValidity), {
196
+ contract: propValidityContract,
197
+ values: { ...checkedProps.value }
198
+ }], [unref(vBindControl), {
144
199
  tag: "select",
145
200
  name: "value",
146
201
  value: model.value,
@@ -148,6 +203,6 @@ var UiSelect_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
148
203
  }]]);
149
204
  };
150
205
  }
151
- }), [["__scopeId", "data-v-da3beb3b"]]);
206
+ }), [["__scopeId", "data-v-560178c9"]]);
152
207
  //#endregion
153
208
  export { UiSelect_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, watchSyncEffect } from "vue";
2
+ import { r as vPropValidity, t as checkedProp } from "./props.js";
3
+ import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, unref, watchSyncEffect, withDirectives } from "vue";
4
4
  //#region .build/vue/UiSeparator.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = ["aria-orientation", "data-orientation"];
6
6
  //#endregion
@@ -13,11 +13,22 @@ var UiSeparator_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
13
13
  default: "horizontal"
14
14
  } },
15
15
  setup(__props) {
16
+ const propValidityContract = { props: { orientation: {
17
+ type: {
18
+ kind: "terminal",
19
+ name: "keyword"
20
+ },
21
+ required: false,
22
+ target: { attribute: "aria-orientation" },
23
+ description: "Whether the separator divides stacked content (horizontal) or inline content (vertical).",
24
+ values: ["horizontal", "vertical"],
25
+ default: "horizontal"
26
+ } } };
16
27
  const props = __props;
17
28
  const checkedProps = computed(() => ({ orientation: checkedProp(props["orientation"], {
18
29
  kind: "terminal",
19
30
  name: "keyword"
20
- }, false, "orientation", void 0, ["horizontal", "vertical"]) }));
31
+ }, false, "orientation") }));
21
32
  checkedProps.value;
22
33
  watchSyncEffect(() => {
23
34
  checkedProps.value;
@@ -43,12 +54,15 @@ var UiSeparator_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
43
54
  })
44
55
  });
45
56
  return (_ctx, _cache) => {
46
- return openBlock(), createElementBlock("hr", mergeProps({ "data-component": "ui-separator" }, nativeAttrs(_ctx.$attrs), {
57
+ return withDirectives((openBlock(), createElementBlock("hr", mergeProps({ "data-component": "ui-separator" }, nativeAttrs(_ctx.$attrs), {
47
58
  "aria-orientation": checkedProps.value.orientation ?? void 0,
48
59
  "data-orientation": reflectedProp("orientation", "orientation", checkedProps.value.orientation, void 0, false)
49
- }), null, 16, _hoisted_1);
60
+ }), null, 16, _hoisted_1)), [[unref(vPropValidity), {
61
+ contract: propValidityContract,
62
+ values: { ...checkedProps.value }
63
+ }]]);
50
64
  };
51
65
  }
52
- }), [["__scopeId", "data-v-330bc21b"]]);
66
+ }), [["__scopeId", "data-v-38463d0f"]]);
53
67
  //#endregion
54
68
  export { UiSeparator_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/UiSidebar.vue?vue&type=script&setup=true&lang.ts
6
6
  var _hoisted_1 = [
7
7
  "data-breakpoint",
@@ -66,48 +66,142 @@ var UiSidebar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
66
66
  "toggle"
67
67
  ],
68
68
  setup(__props, { emit: __emit }) {
69
+ const propValidityContract = { props: {
70
+ breakpoint: {
71
+ type: {
72
+ kind: "terminal",
73
+ name: "keyword"
74
+ },
75
+ required: false,
76
+ target: { attribute: "breakpoint" },
77
+ description: "Below this viewport width (40rem, 48rem, 64rem) the sidebar becomes an off-canvas drawer, closed until toggled.",
78
+ values: [
79
+ "sm",
80
+ "md",
81
+ "lg"
82
+ ],
83
+ default: "md"
84
+ },
85
+ collapsed: {
86
+ type: {
87
+ kind: "terminal",
88
+ name: "boolean"
89
+ },
90
+ required: false,
91
+ target: { attribute: "collapsed" },
92
+ description: "Whether the docked sidebar is collapsed.",
93
+ default: false
94
+ },
95
+ maxWidth: {
96
+ type: {
97
+ kind: "terminal",
98
+ name: "number"
99
+ },
100
+ required: false,
101
+ target: { attribute: "maxwidth" },
102
+ description: "The widest width the resize handle allows, in pixels.",
103
+ default: 480
104
+ },
105
+ minWidth: {
106
+ type: {
107
+ kind: "terminal",
108
+ name: "number"
109
+ },
110
+ required: false,
111
+ target: { attribute: "minwidth" },
112
+ description: "The narrowest width the resize handle allows, in pixels.",
113
+ default: 200
114
+ },
115
+ resizable: {
116
+ type: {
117
+ kind: "terminal",
118
+ name: "boolean"
119
+ },
120
+ required: false,
121
+ target: { attribute: "resizable" },
122
+ description: "Adds a resize handle on the inner edge (drag, or arrow keys, Home, and End).",
123
+ default: false
124
+ },
125
+ resizeLabel: {
126
+ type: {
127
+ kind: "terminal",
128
+ name: "string"
129
+ },
130
+ required: false,
131
+ target: { attribute: "aria-label" },
132
+ description: "Accessible name of the resize handle.",
133
+ default: "Resize sidebar"
134
+ },
135
+ resizeStep: {
136
+ type: {
137
+ kind: "terminal",
138
+ name: "number"
139
+ },
140
+ required: false,
141
+ target: { attribute: "resizestep" },
142
+ description: "Arrow-key resize step in pixels.",
143
+ default: 16
144
+ },
145
+ side: {
146
+ type: {
147
+ kind: "terminal",
148
+ name: "keyword"
149
+ },
150
+ required: false,
151
+ target: { attribute: "side" },
152
+ description: "The edge the sidebar sits on. The page places it beside its main content.",
153
+ values: ["start", "end"],
154
+ default: "start"
155
+ },
156
+ width: {
157
+ type: {
158
+ kind: "terminal",
159
+ name: "number"
160
+ },
161
+ required: false,
162
+ target: { attribute: "width" },
163
+ description: "Docked width in pixels. 0 uses --ui-sidebar-width (280px by default); dragging the handle updates it.",
164
+ default: 0
165
+ }
166
+ } };
69
167
  const props = __props;
70
168
  const checkedProps = computed(() => ({
71
169
  breakpoint: checkedProp(props["breakpoint"], {
72
170
  kind: "terminal",
73
171
  name: "keyword"
74
- }, false, "breakpoint", void 0, [
75
- "sm",
76
- "md",
77
- "lg"
78
- ]),
172
+ }, false, "breakpoint"),
79
173
  collapsed: checkedProp(props["collapsed"], {
80
174
  kind: "terminal",
81
175
  name: "boolean"
82
- }, false, "collapsed", void 0, void 0),
176
+ }, false, "collapsed"),
83
177
  maxWidth: checkedProp(props["maxWidth"], {
84
178
  kind: "terminal",
85
179
  name: "number"
86
- }, false, "maxWidth", void 0, void 0),
180
+ }, false, "maxWidth"),
87
181
  minWidth: checkedProp(props["minWidth"], {
88
182
  kind: "terminal",
89
183
  name: "number"
90
- }, false, "minWidth", void 0, void 0),
184
+ }, false, "minWidth"),
91
185
  resizable: checkedProp(props["resizable"], {
92
186
  kind: "terminal",
93
187
  name: "boolean"
94
- }, false, "resizable", void 0, void 0),
188
+ }, false, "resizable"),
95
189
  resizeLabel: checkedProp(props["resizeLabel"], {
96
190
  kind: "terminal",
97
191
  name: "string"
98
- }, false, "resizeLabel", void 0, void 0),
192
+ }, false, "resizeLabel"),
99
193
  resizeStep: checkedProp(props["resizeStep"], {
100
194
  kind: "terminal",
101
195
  name: "number"
102
- }, false, "resizeStep", void 0, void 0),
196
+ }, false, "resizeStep"),
103
197
  side: checkedProp(props["side"], {
104
198
  kind: "terminal",
105
199
  name: "keyword"
106
- }, false, "side", void 0, ["start", "end"]),
200
+ }, false, "side"),
107
201
  width: checkedProp(props["width"], {
108
202
  kind: "terminal",
109
203
  name: "number"
110
- }, false, "width", void 0, void 0)
204
+ }, false, "width")
111
205
  }));
112
206
  checkedProps.value;
113
207
  watchSyncEffect(() => {
@@ -131,6 +225,13 @@ var UiSidebar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
131
225
  const resizerElement = useTemplateRef("resizer");
132
226
  const internalCollapsed = ref(false);
133
227
  const drawer = ref(false);
228
+ let guardedPrevious;
229
+ const guarded = computed(() => {
230
+ if (!((drawer.value == null || typeof drawer.value === "boolean") && (internalCollapsed.value == null || typeof internalCollapsed.value === "boolean"))) return guardedPrevious;
231
+ return guardedPrevious = !checkedProps.value.resizable || drawer.value || internalCollapsed.value;
232
+ });
233
+ provide("html-next:ui-sidebar:internalCollapsed", internalCollapsed);
234
+ provide("html-next:ui-sidebar:drawer", drawer);
134
235
  const hydrationNode = hydrationInstance?.vnode.el;
135
236
  if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== "aside")) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-sidebar> has an incompatible root."), {
136
237
  name: "HtmlDiagnosticError",
@@ -173,7 +274,7 @@ var UiSidebar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
173
274
  }
174
275
  });
175
276
  return (_ctx, _cache) => {
176
- return openBlock(), createElementBlock("aside", mergeProps({ "data-component": "ui-sidebar" }, nativeAttrs(_ctx.$attrs), {
277
+ return withDirectives((openBlock(), createElementBlock("aside", mergeProps({ "data-component": "ui-sidebar" }, nativeAttrs(_ctx.$attrs), {
177
278
  "data-breakpoint": reflectedProp("breakpoint", "breakpoint", checkedProps.value.breakpoint, void 0, false),
178
279
  "data-collapsed": reflectedProp("collapsed", "collapsed", checkedProps.value.collapsed, void 0, false),
179
280
  "data-max-width": reflectedProp("maxWidth", "max-width", checkedProps.value.maxWidth, void 0, false),
@@ -193,14 +294,17 @@ var UiSidebar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
193
294
  tabindex: "0",
194
295
  "data-ui-affordance": "resize",
195
296
  "aria-label": checkedProps.value.resizeLabel ?? void 0,
196
- hidden: !checkedProps.value.resizable || drawer.value || internalCollapsed.value,
297
+ hidden: guarded.value,
197
298
  ref: "resizer"
198
299
  }, [..._cache[0] || (_cache[0] = [createElementVNode("span", {
199
300
  class: "guide",
200
301
  "aria-hidden": "true"
201
- }, null, -1)])], 8, _hoisted_3)], 16, _hoisted_1);
302
+ }, null, -1)])], 8, _hoisted_3)], 16, _hoisted_1)), [[unref(vPropValidity), {
303
+ contract: propValidityContract,
304
+ values: { ...checkedProps.value }
305
+ }]]);
202
306
  };
203
307
  }
204
- }), [["__scopeId", "data-v-7e0ccf24"]]);
308
+ }), [["__scopeId", "data-v-ecac8900"]]);
205
309
  //#endregion
206
310
  export { UiSidebar_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, watchSyncEffect } from "vue";
2
+ import { r as vPropValidity, t as checkedProp } from "./props.js";
3
+ import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, unref, watchSyncEffect, withDirectives } from "vue";
4
4
  //#region .build/vue/UiSpinner.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = [
6
6
  "role",
@@ -27,16 +27,39 @@ var UiSpinner_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
27
27
  }
28
28
  },
29
29
  setup(__props) {
30
+ const propValidityContract = { props: {
31
+ label: {
32
+ type: {
33
+ kind: "terminal",
34
+ name: "string"
35
+ },
36
+ required: false,
37
+ target: { attribute: "label" },
38
+ description: "What is loading, for assistive technology (\"Loading pages\"). With a label the spinner is a status that is announced; without one it is decoration, for a\n spinner beside visible text that already says so.",
39
+ default: ""
40
+ },
41
+ size: {
42
+ type: {
43
+ kind: "terminal",
44
+ name: "keyword"
45
+ },
46
+ required: false,
47
+ target: { attribute: "size" },
48
+ description: "sm fits inside a button or a line of small text; md sits beside body text.",
49
+ values: ["sm", "md"],
50
+ default: "md"
51
+ }
52
+ } };
30
53
  const props = __props;
31
54
  const checkedProps = computed(() => ({
32
55
  label: checkedProp(props["label"], {
33
56
  kind: "terminal",
34
57
  name: "string"
35
- }, false, "label", void 0, void 0),
58
+ }, false, "label"),
36
59
  size: checkedProp(props["size"], {
37
60
  kind: "terminal",
38
61
  name: "keyword"
39
- }, false, "size", void 0, ["sm", "md"])
62
+ }, false, "size")
40
63
  }));
41
64
  checkedProps.value;
42
65
  watchSyncEffect(() => {
@@ -73,7 +96,7 @@ var UiSpinner_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
73
96
  return value === true ? "" : text(value);
74
97
  }
75
98
  return (_ctx, _cache) => {
76
- return openBlock(), createElementBlock("span", mergeProps({
99
+ return withDirectives((openBlock(), createElementBlock("span", mergeProps({
77
100
  "data-component": "ui-spinner",
78
101
  class: "ring"
79
102
  }, nativeAttrs(_ctx.$attrs), {
@@ -129,9 +152,12 @@ var UiSpinner_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
129
152
  cx: "25",
130
153
  cy: "25",
131
154
  r: "20"
132
- })], -1)])], 16, _hoisted_1);
155
+ })], -1)])], 16, _hoisted_1)), [[unref(vPropValidity), {
156
+ contract: propValidityContract,
157
+ values: { ...checkedProps.value }
158
+ }]]);
133
159
  };
134
160
  }
135
- }), [["__scopeId", "data-v-8de2921b"]]);
161
+ }), [["__scopeId", "data-v-dd46da2f"]]);
136
162
  //#endregion
137
163
  export { UiSpinner_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/UiStack.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = [
6
6
  "data-align",
@@ -28,36 +28,68 @@ var UiStack_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
28
28
  }
29
29
  },
30
30
  setup(__props) {
31
+ const propValidityContract = { props: {
32
+ align: {
33
+ type: {
34
+ kind: "terminal",
35
+ name: "keyword"
36
+ },
37
+ required: false,
38
+ target: { attribute: "align" },
39
+ description: "How items sit across the stack: stretch (the default) makes each fill the stack's width; start, center, and end keep each at its own width, against the\n start, in the middle, or against the end.",
40
+ values: [
41
+ "start",
42
+ "center",
43
+ "end",
44
+ "stretch"
45
+ ]
46
+ },
47
+ gap: {
48
+ type: {
49
+ kind: "terminal",
50
+ name: "keyword"
51
+ },
52
+ required: false,
53
+ target: { attribute: "gap" },
54
+ description: "Space between items, on the spacing scale: xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-stack-gap custom property,\n set on the stack itself, overrides it; set on an ancestor, it does nothing.",
55
+ values: [
56
+ "xs",
57
+ "s",
58
+ "m",
59
+ "l",
60
+ "xl"
61
+ ]
62
+ },
63
+ justify: {
64
+ type: {
65
+ kind: "terminal",
66
+ name: "keyword"
67
+ },
68
+ required: false,
69
+ target: { attribute: "justify" },
70
+ description: "Where items sit along a stack that is taller than its content: start (the default), center, end, or between, which spreads the spare space between items.\n It has no effect unless the stack is given a height or stretched to one.",
71
+ values: [
72
+ "start",
73
+ "center",
74
+ "end",
75
+ "between"
76
+ ]
77
+ }
78
+ } };
31
79
  const props = __props;
32
80
  const checkedProps = computed(() => ({
33
81
  align: checkedProp(props["align"], {
34
82
  kind: "terminal",
35
83
  name: "keyword"
36
- }, false, "align", void 0, [
37
- "start",
38
- "center",
39
- "end",
40
- "stretch"
41
- ]),
84
+ }, false, "align"),
42
85
  gap: checkedProp(props["gap"], {
43
86
  kind: "terminal",
44
87
  name: "keyword"
45
- }, false, "gap", void 0, [
46
- "xs",
47
- "s",
48
- "m",
49
- "l",
50
- "xl"
51
- ]),
88
+ }, false, "gap"),
52
89
  justify: checkedProp(props["justify"], {
53
90
  kind: "terminal",
54
91
  name: "keyword"
55
- }, false, "justify", void 0, [
56
- "start",
57
- "center",
58
- "end",
59
- "between"
60
- ])
92
+ }, false, "justify")
61
93
  }));
62
94
  checkedProps.value;
63
95
  watchSyncEffect(() => {
@@ -93,14 +125,17 @@ var UiStack_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
93
125
  checkedProps.value.justify != null && `justify=${encodeURIComponent(checkedProps.value.justify)}`
94
126
  ].filter(Boolean).join(" "));
95
127
  return (_ctx, _cache) => {
96
- return openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-stack" }, nativeAttrs(_ctx.$attrs), {
128
+ return withDirectives((openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-stack" }, nativeAttrs(_ctx.$attrs), {
97
129
  "data-align": reflectedProp("align", "align", checkedProps.value.align, void 0, false),
98
130
  "data-gap": reflectedProp("gap", "gap", checkedProps.value.gap, void 0, false),
99
131
  "data-justify": reflectedProp("justify", "justify", checkedProps.value.justify, void 0, false),
100
132
  "data-ui-stack-state": hostState.value || void 0
101
- }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1);
133
+ }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)), [[unref(vPropValidity), {
134
+ contract: propValidityContract,
135
+ values: { ...checkedProps.value }
136
+ }]]);
102
137
  };
103
138
  }
104
- }), [["__scopeId", "data-v-0109dc0e"]]);
139
+ }), [["__scopeId", "data-v-5d511bbb"]]);
105
140
  //#endregion
106
141
  export { UiStack_default as t };