@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, watchSyncEffect } from "vue";
2
+ import { r as vPropValidity, t as checkedProp } from "./props.js";
3
+ import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
4
4
  //#region .build/vue/UiBreadcrumbs.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = ["aria-label", "data-label"];
6
6
  var _hoisted_2 = { role: "list" };
@@ -14,11 +14,21 @@ var UiBreadcrumbs_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
14
14
  default: "Breadcrumb"
15
15
  } },
16
16
  setup(__props) {
17
+ const propValidityContract = { props: { label: {
18
+ type: {
19
+ kind: "terminal",
20
+ name: "string"
21
+ },
22
+ required: false,
23
+ target: { attribute: "aria-label" },
24
+ description: "The navigation landmark's accessible name.",
25
+ default: "Breadcrumb"
26
+ } } };
17
27
  const props = __props;
18
28
  const checkedProps = computed(() => ({ label: checkedProp(props["label"], {
19
29
  kind: "terminal",
20
30
  name: "string"
21
- }, false, "label", void 0, void 0) }));
31
+ }, false, "label") }));
22
32
  checkedProps.value;
23
33
  watchSyncEffect(() => {
24
34
  checkedProps.value;
@@ -44,12 +54,15 @@ var UiBreadcrumbs_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
44
54
  })
45
55
  });
46
56
  return (_ctx, _cache) => {
47
- return openBlock(), createElementBlock("nav", mergeProps({ "data-component": "ui-breadcrumbs" }, nativeAttrs(_ctx.$attrs), {
57
+ return withDirectives((openBlock(), createElementBlock("nav", mergeProps({ "data-component": "ui-breadcrumbs" }, nativeAttrs(_ctx.$attrs), {
48
58
  "aria-label": checkedProps.value.label ?? void 0,
49
59
  "data-label": reflectedProp("label", "label", checkedProps.value.label, void 0, false)
50
- }), [createElementVNode("ol", _hoisted_2, [renderSlot(_ctx.$slots, "default", {}, void 0, true)])], 16, _hoisted_1);
60
+ }), [createElementVNode("ol", _hoisted_2, [renderSlot(_ctx.$slots, "default", {}, void 0, true)])], 16, _hoisted_1)), [[unref(vPropValidity), {
61
+ contract: propValidityContract,
62
+ values: { ...checkedProps.value }
63
+ }]]);
51
64
  };
52
65
  }
53
- }), [["__scopeId", "data-v-bf09b165"]]);
66
+ }), [["__scopeId", "data-v-fc9f0e45"]]);
54
67
  //#endregion
55
68
  export { UiBreadcrumbs_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 { n as preserveRootFocus, 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 UiSpinner_default } from "./UiSpinner.js";
5
- import { computed, createCommentVNode, createElementBlock, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, useTemplateRef, watchSyncEffect } from "vue";
5
+ import { computed, createCommentVNode, createElementBlock, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
6
6
  //#region .build/vue/UiButton.vue?vue&type=script&setup=true&lang.ts
7
7
  var _hoisted_1 = [
8
8
  "href",
@@ -120,86 +120,232 @@ var UiButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
120
120
  }
121
121
  },
122
122
  setup(__props) {
123
+ const propValidityContract = { props: {
124
+ align: {
125
+ type: {
126
+ kind: "terminal",
127
+ name: "keyword"
128
+ },
129
+ required: false,
130
+ target: { attribute: "align" },
131
+ description: "Content alignment. start lays the content out like a list option: from the start edge, with start-aligned text.",
132
+ values: ["center", "start"],
133
+ default: "center"
134
+ },
135
+ as: {
136
+ type: {
137
+ kind: "terminal",
138
+ name: "keyword"
139
+ },
140
+ required: false,
141
+ target: { attribute: "as" },
142
+ description: "The native element the button renders: a button, or a link (a) that navigates to href.",
143
+ values: ["button", "a"],
144
+ default: "button"
145
+ },
146
+ disabled: {
147
+ type: {
148
+ kind: "terminal",
149
+ name: "boolean"
150
+ },
151
+ required: false,
152
+ target: { attribute: "disabled" },
153
+ description: "Makes the button unavailable: it cannot be pressed, uses a flat neutral palette, and loses its raised look. A disabled link (as=\"a\" with href) drops its\n href and states aria-disabled=\"true\" instead, because a link has no native disabled state.",
154
+ default: false
155
+ },
156
+ href: {
157
+ type: {
158
+ kind: "terminal",
159
+ name: "string"
160
+ },
161
+ required: false,
162
+ target: { attribute: "href" },
163
+ description: "The link's destination. Pair it with as=\"a\" so the button renders as a real link that navigates. A disabled link drops its href and states\n aria-disabled=\"true\", so it cannot be followed."
164
+ },
165
+ loading: {
166
+ type: {
167
+ kind: "terminal",
168
+ name: "boolean"
169
+ },
170
+ required: false,
171
+ target: { attribute: "loading" },
172
+ description: "Keeps the action focusable and its label visible while work is in progress. It shows a decorative spinner, states aria-disabled and aria-busy, and prevents\n activation or form submission until cleared.",
173
+ default: false
174
+ },
175
+ pending: {
176
+ type: {
177
+ kind: "terminal",
178
+ name: "boolean"
179
+ },
180
+ required: false,
181
+ target: { attribute: "pending" },
182
+ description: "Deprecated alias for loading.",
183
+ default: false
184
+ },
185
+ rel: {
186
+ type: {
187
+ kind: "terminal",
188
+ name: "string"
189
+ },
190
+ required: false,
191
+ target: { attribute: "rel" },
192
+ description: "The link's relationship to its destination, as on a native link. Only meaningful with as=\"a\"."
193
+ },
194
+ shape: {
195
+ type: {
196
+ kind: "terminal",
197
+ name: "keyword"
198
+ },
199
+ required: false,
200
+ target: { attribute: "shape" },
201
+ description: "rounded uses the theme's action radius; pill rounds the ends fully, for a compact choice such as a status or a person.",
202
+ values: ["rounded", "pill"],
203
+ default: "rounded"
204
+ },
205
+ size: {
206
+ type: {
207
+ kind: "terminal",
208
+ name: "keyword"
209
+ },
210
+ required: false,
211
+ target: { attribute: "size" },
212
+ description: "Height, padding, and type size. xs is 1.5rem with the smallest text, for a control inside a line of small text; sm is the small control height (2rem by\n default) with tighter padding and smaller text, md is the standard control height (2.5rem), and lg is taller (3rem) with roomier padding. Under touch, sm\n grows to the touch minimum, while xs keeps its size inside its line and gains an invisible touch-sized hit area.",
213
+ values: [
214
+ "xs",
215
+ "sm",
216
+ "md",
217
+ "lg"
218
+ ],
219
+ default: "md"
220
+ },
221
+ stretch: {
222
+ type: {
223
+ kind: "terminal",
224
+ name: "boolean"
225
+ },
226
+ required: false,
227
+ target: { attribute: "stretch" },
228
+ description: "Fills the inline size of its container.",
229
+ default: false
230
+ },
231
+ target: {
232
+ type: {
233
+ kind: "terminal",
234
+ name: "string"
235
+ },
236
+ required: false,
237
+ target: { attribute: "target" },
238
+ description: "Where a link opens, as on a native link. Only meaningful with as=\"a\"."
239
+ },
240
+ tone: {
241
+ type: {
242
+ kind: "terminal",
243
+ name: "keyword"
244
+ },
245
+ required: false,
246
+ target: { attribute: "tone" },
247
+ description: "Which colour the button speaks in. It applies to every variant, so an outline, a ghost, and a solid in the same tone are the same action at three volumes:\n tone=\"danger\" variant=\"outline\" is a destructive secondary action. neutral is the quiet one, for a button that should not claim a colour.",
248
+ values: [
249
+ "accent",
250
+ "neutral",
251
+ "danger",
252
+ "success",
253
+ "warning",
254
+ "info"
255
+ ],
256
+ default: "accent"
257
+ },
258
+ type: {
259
+ type: {
260
+ kind: "terminal",
261
+ name: "keyword"
262
+ },
263
+ required: false,
264
+ target: { attribute: "type" },
265
+ description: "The button's type, as on a native button. button by default, so it never submits a form by accident. A link has no type.",
266
+ values: [
267
+ "button",
268
+ "submit",
269
+ "reset"
270
+ ],
271
+ default: "button"
272
+ },
273
+ variant: {
274
+ type: {
275
+ kind: "terminal",
276
+ name: "keyword"
277
+ },
278
+ required: false,
279
+ target: { attribute: "variant" },
280
+ description: "Emphasis: how loudly the button asks. solid fills with its tone, outline draws its tone at the edge over a wash of it, ghost carries only text until it is\n hovered, and link is an inline text action that reads as a link. danger is solid in the danger tone, kept for the call sites that name it.",
281
+ values: [
282
+ "outline",
283
+ "solid",
284
+ "danger",
285
+ "ghost",
286
+ "link"
287
+ ],
288
+ default: "outline"
289
+ }
290
+ } };
123
291
  const props = __props;
124
292
  const checkedProps = computed(() => ({
125
293
  align: checkedProp(props["align"], {
126
294
  kind: "terminal",
127
295
  name: "keyword"
128
- }, false, "align", void 0, ["center", "start"]),
296
+ }, false, "align"),
129
297
  as: checkedProp(props["as"], {
130
298
  kind: "terminal",
131
299
  name: "keyword"
132
- }, false, "as", void 0, ["button", "a"]),
300
+ }, false, "as"),
133
301
  disabled: checkedProp(props["disabled"], {
134
302
  kind: "terminal",
135
303
  name: "boolean"
136
- }, false, "disabled", void 0, void 0),
304
+ }, false, "disabled"),
137
305
  href: checkedProp(props["href"], {
138
306
  kind: "terminal",
139
307
  name: "string"
140
- }, false, "href", void 0, void 0),
308
+ }, false, "href"),
141
309
  loading: checkedProp(props["loading"], {
142
310
  kind: "terminal",
143
311
  name: "boolean"
144
- }, false, "loading", void 0, void 0),
312
+ }, false, "loading"),
145
313
  pending: checkedProp(props["pending"], {
146
314
  kind: "terminal",
147
315
  name: "boolean"
148
- }, false, "pending", void 0, void 0),
316
+ }, false, "pending"),
149
317
  rel: checkedProp(props["rel"], {
150
318
  kind: "terminal",
151
319
  name: "string"
152
- }, false, "rel", void 0, void 0),
320
+ }, false, "rel"),
153
321
  shape: checkedProp(props["shape"], {
154
322
  kind: "terminal",
155
323
  name: "keyword"
156
- }, false, "shape", void 0, ["rounded", "pill"]),
324
+ }, false, "shape"),
157
325
  size: checkedProp(props["size"], {
158
326
  kind: "terminal",
159
327
  name: "keyword"
160
- }, false, "size", void 0, [
161
- "xs",
162
- "sm",
163
- "md",
164
- "lg"
165
- ]),
328
+ }, false, "size"),
166
329
  stretch: checkedProp(props["stretch"], {
167
330
  kind: "terminal",
168
331
  name: "boolean"
169
- }, false, "stretch", void 0, void 0),
332
+ }, false, "stretch"),
170
333
  target: checkedProp(props["target"], {
171
334
  kind: "terminal",
172
335
  name: "string"
173
- }, false, "target", void 0, void 0),
336
+ }, false, "target"),
174
337
  tone: checkedProp(props["tone"], {
175
338
  kind: "terminal",
176
339
  name: "keyword"
177
- }, false, "tone", void 0, [
178
- "accent",
179
- "neutral",
180
- "danger",
181
- "success",
182
- "warning",
183
- "info"
184
- ]),
340
+ }, false, "tone"),
185
341
  type: checkedProp(props["type"], {
186
342
  kind: "terminal",
187
343
  name: "keyword"
188
- }, false, "type", void 0, [
189
- "button",
190
- "submit",
191
- "reset"
192
- ]),
344
+ }, false, "type"),
193
345
  variant: checkedProp(props["variant"], {
194
346
  kind: "terminal",
195
347
  name: "keyword"
196
- }, false, "variant", void 0, [
197
- "outline",
198
- "solid",
199
- "danger",
200
- "ghost",
201
- "link"
202
- ])
348
+ }, false, "variant")
203
349
  }));
204
350
  checkedProps.value;
205
351
  watchSyncEffect(() => {
@@ -263,7 +409,7 @@ var UiButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
263
409
  return value === true ? "" : text(value);
264
410
  }
265
411
  return (_ctx, _cache) => {
266
- return checkedProps.value.as === "a" ? (openBlock(), createElementBlock("a", mergeProps({
412
+ return checkedProps.value.as === "a" ? withDirectives((openBlock(), createElementBlock("a", mergeProps({
267
413
  key: 0,
268
414
  "data-component": "ui-button"
269
415
  }, nativeAttrs(_ctx.$attrs), {
@@ -304,7 +450,10 @@ var UiButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
304
450
  "data-variant": reflectedProp("variant", "variant", checkedProps.value.variant, void 0, false),
305
451
  "data-ui-button-state": hostState.value || void 0,
306
452
  ref: "@html-next/root"
307
- }), [checkedProps.value.loading || checkedProps.value.pending ? (openBlock(), createElementBlock("span", _hoisted_2, [createVNode(UiSpinner_default, { size: "sm" })])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)) : (openBlock(), createElementBlock("button", mergeProps({
453
+ }), [checkedProps.value.loading || checkedProps.value.pending ? (openBlock(), createElementBlock("span", _hoisted_2, [createVNode(UiSpinner_default, { size: "sm" })])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)), [[unref(vPropValidity), {
454
+ contract: propValidityContract,
455
+ values: { ...checkedProps.value }
456
+ }]]) : withDirectives((openBlock(), createElementBlock("button", mergeProps({
308
457
  key: 1,
309
458
  "data-component": "ui-button"
310
459
  }, nativeAttrs(_ctx.$attrs), {
@@ -337,9 +486,12 @@ var UiButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
337
486
  "data-variant": reflectedProp("variant", "variant", checkedProps.value.variant, void 0, false),
338
487
  "data-ui-button-state": hostState.value || void 0,
339
488
  ref: "@html-next/root"
340
- }), [checkedProps.value.loading || checkedProps.value.pending ? (openBlock(), createElementBlock("span", _hoisted_4, [createVNode(UiSpinner_default, { size: "sm" })])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_3));
489
+ }), [checkedProps.value.loading || checkedProps.value.pending ? (openBlock(), createElementBlock("span", _hoisted_4, [createVNode(UiSpinner_default, { size: "sm" })])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_3)), [[unref(vPropValidity), {
490
+ contract: propValidityContract,
491
+ values: { ...checkedProps.value }
492
+ }]]);
341
493
  };
342
494
  }
343
- }), [["__scopeId", "data-v-7a112b47"]]);
495
+ }), [["__scopeId", "data-v-d5a1d869"]]);
344
496
  //#endregion
345
497
  export { UiButton_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, createCommentVNode, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, watchSyncEffect } from "vue";
2
+ import { r as vPropValidity, t as checkedProp } from "./props.js";
3
+ import { computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
4
4
  //#region .build/vue/UiCallout.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = ["data-tone", "data-ui-callout-state"];
6
6
  var _hoisted_2 = {
@@ -63,18 +63,29 @@ var UiCallout_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
63
63
  default: "info"
64
64
  } },
65
65
  setup(__props) {
66
+ const propValidityContract = { props: { tone: {
67
+ type: {
68
+ kind: "terminal",
69
+ name: "keyword"
70
+ },
71
+ required: false,
72
+ target: { attribute: "tone" },
73
+ description: "Which kind of message the callout carries, shown by its icon and colour: info (the default) for information, neutral for a muted aside, warning for a\n caution, success for a confirmation, and danger for a harmful consequence. note remains as an alias for neutral.",
74
+ values: [
75
+ "info",
76
+ "neutral",
77
+ "note",
78
+ "warning",
79
+ "success",
80
+ "danger"
81
+ ],
82
+ default: "info"
83
+ } } };
66
84
  const props = __props;
67
85
  const checkedProps = computed(() => ({ tone: checkedProp(props["tone"], {
68
86
  kind: "terminal",
69
87
  name: "keyword"
70
- }, false, "tone", void 0, [
71
- "info",
72
- "neutral",
73
- "note",
74
- "warning",
75
- "success",
76
- "danger"
77
- ]) }));
88
+ }, false, "tone") }));
78
89
  checkedProps.value;
79
90
  watchSyncEffect(() => {
80
91
  checkedProps.value;
@@ -102,7 +113,7 @@ var UiCallout_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
102
113
  /** The values the styles' :host-state() rules test. */
103
114
  const hostState = computed(() => [checkedProps.value.tone && "tone", checkedProps.value.tone != null && `tone=${encodeURIComponent(checkedProps.value.tone)}`].filter(Boolean).join(" "));
104
115
  return (_ctx, _cache) => {
105
- return openBlock(), createElementBlock("div", mergeProps({
116
+ return withDirectives((openBlock(), createElementBlock("div", mergeProps({
106
117
  "data-component": "ui-callout",
107
118
  role: "note"
108
119
  }, nativeAttrs(_ctx.$attrs), {
@@ -142,9 +153,12 @@ var UiCallout_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
142
153
  createElementVNode("path", { d: "m15 9-6 6" }, null, -1),
143
154
  createElementVNode("path", { d: "m9 9 6 6" }, null, -1)
144
155
  ])])) : createCommentVNode("v-if", true)
145
- ]), createElementVNode("div", _hoisted_8, [renderSlot(_ctx.$slots, "default")])], 16, _hoisted_1);
156
+ ]), createElementVNode("div", _hoisted_8, [renderSlot(_ctx.$slots, "default")])], 16, _hoisted_1)), [[unref(vPropValidity), {
157
+ contract: propValidityContract,
158
+ values: { ...checkedProps.value }
159
+ }]]);
146
160
  };
147
161
  }
148
- }), [["__scopeId", "data-v-12d58166"]]);
162
+ }), [["__scopeId", "data-v-394b0843"]]);
149
163
  //#endregion
150
164
  export { UiCallout_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 { n as preserveRootFocus } from "./host.js";
3
- import { t as checkedProp } from "./props.js";
4
- import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, useTemplateRef, watchSyncEffect } from "vue";
3
+ import { r as vPropValidity, t as checkedProp } from "./props.js";
4
+ import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
5
5
  //#region .build/vue/UiCard.vue?vue&type=script&setup=true&lang.ts
6
6
  var _hoisted_1 = [
7
7
  "data-as",
@@ -55,37 +55,83 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
55
55
  }
56
56
  },
57
57
  setup(__props) {
58
+ const propValidityContract = { props: {
59
+ as: {
60
+ type: {
61
+ kind: "terminal",
62
+ name: "keyword"
63
+ },
64
+ required: false,
65
+ target: { attribute: "as" },
66
+ description: "The native element the card renders. Choose the one that names the content: a section of a page, a self-contained article, or an aside.",
67
+ values: [
68
+ "div",
69
+ "section",
70
+ "article",
71
+ "aside"
72
+ ],
73
+ default: "div"
74
+ },
75
+ padding: {
76
+ type: {
77
+ kind: "terminal",
78
+ name: "keyword"
79
+ },
80
+ required: false,
81
+ target: { attribute: "padding" },
82
+ description: "The space inside the card: sm is snug (0.75rem), md is the default (1.5rem), and lg is roomy (2rem).",
83
+ values: [
84
+ "sm",
85
+ "md",
86
+ "lg"
87
+ ],
88
+ default: "md"
89
+ },
90
+ tone: {
91
+ type: {
92
+ kind: "terminal",
93
+ name: "keyword"
94
+ },
95
+ required: false,
96
+ target: { attribute: "tone" },
97
+ description: "danger adds a soft danger surface and a strong leading edge for consequential content.",
98
+ values: ["neutral", "danger"],
99
+ default: "neutral"
100
+ },
101
+ variant: {
102
+ type: {
103
+ kind: "terminal",
104
+ name: "keyword"
105
+ },
106
+ required: false,
107
+ target: { attribute: "variant" },
108
+ description: "The surface. outlined is a bordered panel on the page; subtle is a quiet filled one with no border, for supporting details set apart from the flow;\n elevated floats above the page with a shadow, for a view's one card, such as sign-in.",
109
+ values: [
110
+ "outlined",
111
+ "subtle",
112
+ "elevated"
113
+ ],
114
+ default: "outlined"
115
+ }
116
+ } };
58
117
  const props = __props;
59
118
  const checkedProps = computed(() => ({
60
119
  as: checkedProp(props["as"], {
61
120
  kind: "terminal",
62
121
  name: "keyword"
63
- }, false, "as", void 0, [
64
- "div",
65
- "section",
66
- "article",
67
- "aside"
68
- ]),
122
+ }, false, "as"),
69
123
  padding: checkedProp(props["padding"], {
70
124
  kind: "terminal",
71
125
  name: "keyword"
72
- }, false, "padding", void 0, [
73
- "sm",
74
- "md",
75
- "lg"
76
- ]),
126
+ }, false, "padding"),
77
127
  tone: checkedProp(props["tone"], {
78
128
  kind: "terminal",
79
129
  name: "keyword"
80
- }, false, "tone", void 0, ["neutral", "danger"]),
130
+ }, false, "tone"),
81
131
  variant: checkedProp(props["variant"], {
82
132
  kind: "terminal",
83
133
  name: "keyword"
84
- }, false, "variant", void 0, [
85
- "outlined",
86
- "subtle",
87
- "elevated"
88
- ])
134
+ }, false, "variant")
89
135
  }));
90
136
  checkedProps.value;
91
137
  watchSyncEffect(() => {
@@ -124,7 +170,7 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
124
170
  checkedProps.value.tone != null && `tone=${encodeURIComponent(checkedProps.value.tone)}`
125
171
  ].filter(Boolean).join(" "));
126
172
  return (_ctx, _cache) => {
127
- return checkedProps.value.as === "section" ? (openBlock(), createElementBlock("section", mergeProps({
173
+ return checkedProps.value.as === "section" ? withDirectives((openBlock(), createElementBlock("section", mergeProps({
128
174
  key: 0,
129
175
  "data-component": "ui-card"
130
176
  }, nativeAttrs(_ctx.$attrs), {
@@ -134,7 +180,10 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
134
180
  "data-variant": reflectedProp("variant", "variant", checkedProps.value.variant, void 0, false),
135
181
  "data-ui-card-state": hostState.value || void 0,
136
182
  ref: "@html-next/root"
137
- }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)) : checkedProps.value.as === "article" ? (openBlock(), createElementBlock("article", mergeProps({
183
+ }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)), [[unref(vPropValidity), {
184
+ contract: propValidityContract,
185
+ values: { ...checkedProps.value }
186
+ }]]) : checkedProps.value.as === "article" ? withDirectives((openBlock(), createElementBlock("article", mergeProps({
138
187
  key: 1,
139
188
  "data-component": "ui-card"
140
189
  }, nativeAttrs(_ctx.$attrs), {
@@ -144,7 +193,10 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
144
193
  "data-variant": reflectedProp("variant", "variant", checkedProps.value.variant, void 0, false),
145
194
  "data-ui-card-state": hostState.value || void 0,
146
195
  ref: "@html-next/root"
147
- }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_2)) : checkedProps.value.as === "aside" ? (openBlock(), createElementBlock("aside", mergeProps({
196
+ }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_2)), [[unref(vPropValidity), {
197
+ contract: propValidityContract,
198
+ values: { ...checkedProps.value }
199
+ }]]) : checkedProps.value.as === "aside" ? withDirectives((openBlock(), createElementBlock("aside", mergeProps({
148
200
  key: 2,
149
201
  "data-component": "ui-card"
150
202
  }, nativeAttrs(_ctx.$attrs), {
@@ -154,7 +206,10 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
154
206
  "data-variant": reflectedProp("variant", "variant", checkedProps.value.variant, void 0, false),
155
207
  "data-ui-card-state": hostState.value || void 0,
156
208
  ref: "@html-next/root"
157
- }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_3)) : (openBlock(), createElementBlock("div", mergeProps({
209
+ }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_3)), [[unref(vPropValidity), {
210
+ contract: propValidityContract,
211
+ values: { ...checkedProps.value }
212
+ }]]) : withDirectives((openBlock(), createElementBlock("div", mergeProps({
158
213
  key: 3,
159
214
  "data-component": "ui-card"
160
215
  }, nativeAttrs(_ctx.$attrs), {
@@ -164,9 +219,12 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
164
219
  "data-variant": reflectedProp("variant", "variant", checkedProps.value.variant, void 0, false),
165
220
  "data-ui-card-state": hostState.value || void 0,
166
221
  ref: "@html-next/root"
167
- }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_4));
222
+ }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_4)), [[unref(vPropValidity), {
223
+ contract: propValidityContract,
224
+ values: { ...checkedProps.value }
225
+ }]]);
168
226
  };
169
227
  }
170
- }), [["__scopeId", "data-v-979a6da1"]]);
228
+ }), [["__scopeId", "data-v-78ea0ceb"]]);
171
229
  //#endregion
172
230
  export { UiCard_default as t };