@threadlabs/looma 0.30.2 → 0.30.3

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 (504) hide show
  1. package/components/ui-combobox/ui-combobox.html +10 -10
  2. package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +2 -4
  3. package/components/ui-image/ui-image.html +2 -2
  4. package/components/ui-listbox/ui-listbox.html +1 -1
  5. package/components/ui-tree-item/ui-tree-item.html +4 -2
  6. package/dist/index.js +5 -4
  7. package/package.json +3 -3
  8. package/styles/ui-action-bar.css +1 -1
  9. package/styles/ui-affordance-scope.css +1 -1
  10. package/styles/ui-avatar-group.css +1 -1
  11. package/styles/ui-avatar.css +1 -1
  12. package/styles/ui-badge.css +1 -1
  13. package/styles/ui-breadcrumb-item.css +1 -1
  14. package/styles/ui-breadcrumbs.css +1 -1
  15. package/styles/ui-button.css +1 -1
  16. package/styles/ui-callout.css +1 -1
  17. package/styles/ui-card.css +1 -1
  18. package/styles/ui-checkbox.css +1 -1
  19. package/styles/ui-cluster.css +1 -1
  20. package/styles/ui-combobox.css +1 -1
  21. package/styles/ui-container.css +1 -1
  22. package/styles/ui-context-menu.css +1 -1
  23. package/styles/ui-cover.css +1 -1
  24. package/styles/ui-description-item.css +1 -1
  25. package/styles/ui-description-list.css +1 -1
  26. package/styles/ui-dialog.css +1 -1
  27. package/styles/ui-disclosure.css +1 -1
  28. package/styles/ui-editable.css +1 -1
  29. package/styles/ui-editor-block-actions.css +1 -1
  30. package/styles/ui-editor-chip-editor.css +1 -1
  31. package/styles/ui-editor-code-language.css +1 -1
  32. package/styles/ui-editor-image-toolbar.css +1 -1
  33. package/styles/ui-editor-insert-table-grid.css +1 -1
  34. package/styles/ui-editor-link-card.css +1 -1
  35. package/styles/ui-editor-link-form.css +1 -1
  36. package/styles/ui-editor-mention-menu-item.css +1 -1
  37. package/styles/ui-editor-mention-menu.css +1 -1
  38. package/styles/ui-editor-slash-menu-group.css +1 -1
  39. package/styles/ui-editor-slash-menu-item.css +1 -1
  40. package/styles/ui-editor-slash-menu.css +1 -1
  41. package/styles/ui-editor-surface.css +1 -1
  42. package/styles/ui-editor-table-context-menu.css +1 -1
  43. package/styles/ui-editor-table-overlay.css +1 -1
  44. package/styles/ui-editor-table-toolbar.css +1 -1
  45. package/styles/ui-editor-toolbar.css +1 -1
  46. package/styles/ui-floating-action-button.css +1 -1
  47. package/styles/ui-form-field.css +1 -1
  48. package/styles/ui-grid.css +1 -1
  49. package/styles/ui-icon-button.css +1 -1
  50. package/styles/ui-icon.css +1 -1
  51. package/styles/ui-image.css +1 -1
  52. package/styles/ui-input-group.css +1 -1
  53. package/styles/ui-input.css +1 -1
  54. package/styles/ui-list-item.css +1 -1
  55. package/styles/ui-list.css +1 -1
  56. package/styles/ui-listbox.css +1 -1
  57. package/styles/ui-menu-group.css +1 -1
  58. package/styles/ui-menu-item.css +1 -1
  59. package/styles/ui-menu.css +1 -1
  60. package/styles/ui-meter.css +1 -1
  61. package/styles/ui-nav-item.css +1 -1
  62. package/styles/ui-page-header.css +1 -1
  63. package/styles/ui-popover.css +1 -1
  64. package/styles/ui-radio-group.css +1 -1
  65. package/styles/ui-radio.css +1 -1
  66. package/styles/ui-reel.css +1 -1
  67. package/styles/ui-scroll-area.css +1 -1
  68. package/styles/ui-search-result-row.css +1 -1
  69. package/styles/ui-search-shell.css +1 -1
  70. package/styles/ui-section.css +1 -1
  71. package/styles/ui-select.css +1 -1
  72. package/styles/ui-separator.css +1 -1
  73. package/styles/ui-sidebar.css +1 -1
  74. package/styles/ui-spinner.css +1 -1
  75. package/styles/ui-stack.css +1 -1
  76. package/styles/ui-status-message.css +1 -1
  77. package/styles/ui-swatch.css +1 -1
  78. package/styles/ui-switch.css +1 -1
  79. package/styles/ui-switcher.css +1 -1
  80. package/styles/ui-table.css +1 -1
  81. package/styles/ui-tabs.css +1 -1
  82. package/styles/ui-text.css +1 -1
  83. package/styles/ui-textarea.css +1 -1
  84. package/styles/ui-toast-region.css +1 -1
  85. package/styles/ui-toast.css +1 -1
  86. package/styles/ui-tooltip.css +1 -1
  87. package/styles/ui-top-bar.css +1 -1
  88. package/styles/ui-tree-item.css +1 -1
  89. package/styles/ui-tree.css +1 -1
  90. package/vanilla/UiActionBar.d.ts +1 -1
  91. package/vanilla/UiActionBar.js +1 -1
  92. package/vanilla/UiAffordanceScope.d.ts +1 -1
  93. package/vanilla/UiAffordanceScope.js +4 -4
  94. package/vanilla/UiAvatar.d.ts +1 -1
  95. package/vanilla/UiAvatar.js +4 -4
  96. package/vanilla/UiAvatarGroup.d.ts +1 -1
  97. package/vanilla/UiAvatarGroup.js +4 -4
  98. package/vanilla/UiBadge.d.ts +1 -1
  99. package/vanilla/UiBadge.js +4 -4
  100. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  101. package/vanilla/UiBreadcrumbItem.js +3 -3
  102. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  103. package/vanilla/UiBreadcrumbs.js +3 -3
  104. package/vanilla/UiButton.d.ts +1 -1
  105. package/vanilla/UiButton.js +6 -6
  106. package/vanilla/UiCallout.d.ts +1 -1
  107. package/vanilla/UiCallout.js +4 -4
  108. package/vanilla/UiCard.d.ts +1 -1
  109. package/vanilla/UiCard.js +6 -6
  110. package/vanilla/UiCheckbox.d.ts +1 -1
  111. package/vanilla/UiCheckbox.js +4 -4
  112. package/vanilla/UiCluster.d.ts +1 -1
  113. package/vanilla/UiCluster.js +4 -4
  114. package/vanilla/UiCombobox.d.ts +12 -12
  115. package/vanilla/UiCombobox.js +12 -10
  116. package/vanilla/UiContainer.d.ts +1 -1
  117. package/vanilla/UiContainer.js +4 -4
  118. package/vanilla/UiContextMenu.d.ts +2 -2
  119. package/vanilla/UiContextMenu.js +3 -3
  120. package/vanilla/UiCover.d.ts +1 -1
  121. package/vanilla/UiCover.js +4 -4
  122. package/vanilla/UiDescriptionItem.d.ts +1 -1
  123. package/vanilla/UiDescriptionItem.js +3 -3
  124. package/vanilla/UiDescriptionList.d.ts +1 -1
  125. package/vanilla/UiDescriptionList.js +4 -4
  126. package/vanilla/UiDialog.d.ts +1 -1
  127. package/vanilla/UiDialog.js +4 -4
  128. package/vanilla/UiDisclosure.d.ts +1 -1
  129. package/vanilla/UiDisclosure.js +4 -4
  130. package/vanilla/UiEditable.d.ts +1 -1
  131. package/vanilla/UiEditable.js +3 -3
  132. package/vanilla/UiEditorBlockActions.d.ts +1 -1
  133. package/vanilla/UiEditorBlockActions.js +4 -4
  134. package/vanilla/UiEditorChipEditor.d.ts +1 -1
  135. package/vanilla/UiEditorChipEditor.js +4 -4
  136. package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
  137. package/vanilla/UiEditorCodeLanguage.js +3 -3
  138. package/vanilla/UiEditorImageToolbar.d.ts +1 -1
  139. package/vanilla/UiEditorImageToolbar.js +4 -4
  140. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  141. package/vanilla/UiEditorInsertTableGrid.js +3 -3
  142. package/vanilla/UiEditorLinkCard.d.ts +1 -1
  143. package/vanilla/UiEditorLinkCard.js +8 -6
  144. package/vanilla/UiEditorLinkForm.d.ts +2 -2
  145. package/vanilla/UiEditorLinkForm.js +9 -7
  146. package/vanilla/UiEditorMentionMenu.d.ts +3 -3
  147. package/vanilla/UiEditorMentionMenu.js +3 -3
  148. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  149. package/vanilla/UiEditorMentionMenuItem.js +3 -3
  150. package/vanilla/UiEditorSlashMenu.d.ts +3 -3
  151. package/vanilla/UiEditorSlashMenu.js +3 -3
  152. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  153. package/vanilla/UiEditorSlashMenuGroup.js +3 -3
  154. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  155. package/vanilla/UiEditorSlashMenuItem.js +3 -3
  156. package/vanilla/UiEditorSurface.d.ts +1 -1
  157. package/vanilla/UiEditorSurface.js +4 -4
  158. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  159. package/vanilla/UiEditorTableContextMenu.js +4 -4
  160. package/vanilla/UiEditorTableOverlay.d.ts +2 -2
  161. package/vanilla/UiEditorTableOverlay.js +4 -4
  162. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  163. package/vanilla/UiEditorTableToolbar.js +4 -4
  164. package/vanilla/UiEditorToolbar.d.ts +1 -1
  165. package/vanilla/UiEditorToolbar.js +3 -3
  166. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  167. package/vanilla/UiFloatingActionButton.js +3 -3
  168. package/vanilla/UiFormField.d.ts +1 -1
  169. package/vanilla/UiFormField.js +3 -3
  170. package/vanilla/UiGrid.d.ts +1 -1
  171. package/vanilla/UiGrid.js +4 -4
  172. package/vanilla/UiIcon.d.ts +1 -1
  173. package/vanilla/UiIcon.js +9 -7
  174. package/vanilla/UiIconButton.d.ts +1 -1
  175. package/vanilla/UiIconButton.js +4 -4
  176. package/vanilla/UiImage.d.ts +1 -1
  177. package/vanilla/UiImage.js +4 -4
  178. package/vanilla/UiInput.d.ts +1 -1
  179. package/vanilla/UiInput.js +4 -4
  180. package/vanilla/UiInputGroup.d.ts +1 -1
  181. package/vanilla/UiInputGroup.js +4 -4
  182. package/vanilla/UiList.d.ts +1 -1
  183. package/vanilla/UiList.js +6 -6
  184. package/vanilla/UiListItem.d.ts +1 -1
  185. package/vanilla/UiListItem.js +4 -4
  186. package/vanilla/UiListbox.d.ts +2 -2
  187. package/vanilla/UiListbox.js +3 -3
  188. package/vanilla/UiMenu.d.ts +2 -2
  189. package/vanilla/UiMenu.js +4 -4
  190. package/vanilla/UiMenuGroup.d.ts +1 -1
  191. package/vanilla/UiMenuGroup.js +3 -3
  192. package/vanilla/UiMenuItem.d.ts +1 -1
  193. package/vanilla/UiMenuItem.js +6 -6
  194. package/vanilla/UiMeter.d.ts +1 -1
  195. package/vanilla/UiMeter.js +9 -7
  196. package/vanilla/UiNavItem.d.ts +1 -1
  197. package/vanilla/UiNavItem.js +6 -6
  198. package/vanilla/UiPageHeader.d.ts +1 -1
  199. package/vanilla/UiPageHeader.js +4 -4
  200. package/vanilla/UiPopover.d.ts +1 -1
  201. package/vanilla/UiPopover.js +4 -4
  202. package/vanilla/UiRadio.d.ts +1 -1
  203. package/vanilla/UiRadio.js +4 -4
  204. package/vanilla/UiRadioGroup.d.ts +1 -1
  205. package/vanilla/UiRadioGroup.js +4 -4
  206. package/vanilla/UiReel.d.ts +1 -1
  207. package/vanilla/UiReel.js +4 -4
  208. package/vanilla/UiScrollArea.d.ts +1 -1
  209. package/vanilla/UiScrollArea.js +4 -4
  210. package/vanilla/UiSearchResultRow.d.ts +1 -1
  211. package/vanilla/UiSearchResultRow.js +4 -4
  212. package/vanilla/UiSearchShell.d.ts +1 -1
  213. package/vanilla/UiSearchShell.js +3 -3
  214. package/vanilla/UiSection.d.ts +1 -1
  215. package/vanilla/UiSection.js +4 -4
  216. package/vanilla/UiSelect.d.ts +1 -1
  217. package/vanilla/UiSelect.js +4 -4
  218. package/vanilla/UiSeparator.d.ts +1 -1
  219. package/vanilla/UiSeparator.js +4 -4
  220. package/vanilla/UiSidebar.d.ts +1 -1
  221. package/vanilla/UiSidebar.js +4 -4
  222. package/vanilla/UiSpinner.d.ts +1 -1
  223. package/vanilla/UiSpinner.js +4 -4
  224. package/vanilla/UiStack.d.ts +1 -1
  225. package/vanilla/UiStack.js +4 -4
  226. package/vanilla/UiStatusMessage.d.ts +1 -1
  227. package/vanilla/UiStatusMessage.js +4 -4
  228. package/vanilla/UiSwatch.d.ts +1 -1
  229. package/vanilla/UiSwatch.js +9 -7
  230. package/vanilla/UiSwitch.d.ts +1 -1
  231. package/vanilla/UiSwitch.js +4 -4
  232. package/vanilla/UiSwitcher.d.ts +1 -1
  233. package/vanilla/UiSwitcher.js +4 -4
  234. package/vanilla/UiTable.d.ts +1 -1
  235. package/vanilla/UiTable.js +4 -4
  236. package/vanilla/UiTabs.d.ts +1 -1
  237. package/vanilla/UiTabs.js +4 -4
  238. package/vanilla/UiText.d.ts +1 -1
  239. package/vanilla/UiText.js +6 -6
  240. package/vanilla/UiTextarea.d.ts +1 -1
  241. package/vanilla/UiTextarea.js +4 -4
  242. package/vanilla/UiToast.d.ts +1 -1
  243. package/vanilla/UiToast.js +4 -4
  244. package/vanilla/UiToastRegion.d.ts +2 -2
  245. package/vanilla/UiToastRegion.js +4 -4
  246. package/vanilla/UiTooltip.d.ts +1 -1
  247. package/vanilla/UiTooltip.js +4 -4
  248. package/vanilla/UiTopBar.d.ts +1 -1
  249. package/vanilla/UiTopBar.js +1 -1
  250. package/vanilla/UiTree.d.ts +1 -1
  251. package/vanilla/UiTree.js +4 -4
  252. package/vanilla/UiTreeItem.d.ts +1 -1
  253. package/vanilla/UiTreeItem.js +35 -23
  254. package/vue/UiActionBar.vue +1 -1
  255. package/vue/UiAffordanceScope.d.ts +8 -8
  256. package/vue/UiAffordanceScope.vue +57 -20
  257. package/vue/UiAvatar.d.ts +9 -27
  258. package/vue/UiAvatar.vue +100 -68
  259. package/vue/UiAvatarGroup.d.ts +9 -18
  260. package/vue/UiAvatarGroup.vue +73 -44
  261. package/vue/UiBadge.d.ts +9 -15
  262. package/vue/UiBadge.vue +67 -39
  263. package/vue/UiBreadcrumbItem.d.ts +8 -5
  264. package/vue/UiBreadcrumbItem.vue +45 -12
  265. package/vue/UiBreadcrumbs.d.ts +8 -5
  266. package/vue/UiBreadcrumbs.vue +45 -12
  267. package/vue/UiButton.d.ts +9 -45
  268. package/vue/UiButton.vue +148 -119
  269. package/vue/UiCallout.d.ts +8 -8
  270. package/vue/UiCallout.vue +68 -25
  271. package/vue/UiCard.d.ts +8 -17
  272. package/vue/UiCard.vue +77 -53
  273. package/vue/UiCheckbox.d.ts +8 -29
  274. package/vue/UiCheckbox.vue +118 -76
  275. package/vue/UiCluster.d.ts +9 -24
  276. package/vue/UiCluster.vue +91 -66
  277. package/vue/UiCombobox.d.ts +135 -219
  278. package/vue/UiCombobox.vue +528 -496
  279. package/vue/UiContainer.d.ts +8 -11
  280. package/vue/UiContainer.vue +61 -28
  281. package/vue/UiContextMenu.d.ts +10 -10
  282. package/vue/UiContextMenu.vue +55 -22
  283. package/vue/UiCover.d.ts +8 -5
  284. package/vue/UiCover.vue +45 -12
  285. package/vue/UiDescriptionItem.d.ts +8 -5
  286. package/vue/UiDescriptionItem.vue +40 -12
  287. package/vue/UiDescriptionList.d.ts +8 -11
  288. package/vue/UiDescriptionList.vue +61 -34
  289. package/vue/UiDialog.d.ts +8 -26
  290. package/vue/UiDialog.vue +99 -74
  291. package/vue/UiDisclosure.d.ts +8 -29
  292. package/vue/UiDisclosure.vue +118 -79
  293. package/vue/UiEditable.d.ts +8 -35
  294. package/vue/UiEditable.vue +136 -92
  295. package/vue/UiEditorBlockActions.d.ts +8 -8
  296. package/vue/UiEditorBlockActions.vue +58 -23
  297. package/vue/UiEditorChipEditor.d.ts +8 -8
  298. package/vue/UiEditorChipEditor.vue +65 -20
  299. package/vue/UiEditorCodeLanguage.d.ts +8 -11
  300. package/vue/UiEditorCodeLanguage.vue +74 -31
  301. package/vue/UiEditorImageToolbar.d.ts +8 -11
  302. package/vue/UiEditorImageToolbar.vue +175 -144
  303. package/vue/UiEditorInsertTableGrid.d.ts +8 -14
  304. package/vue/UiEditorInsertTableGrid.vue +73 -36
  305. package/vue/UiEditorLinkCard.d.ts +8 -17
  306. package/vue/UiEditorLinkCard.vue +157 -90
  307. package/vue/UiEditorLinkForm.d.ts +10 -44
  308. package/vue/UiEditorLinkForm.vue +336 -228
  309. package/vue/UiEditorMentionMenu.d.ts +28 -60
  310. package/vue/UiEditorMentionMenu.vue +166 -121
  311. package/vue/UiEditorMentionMenuItem.d.ts +8 -11
  312. package/vue/UiEditorMentionMenuItem.vue +61 -28
  313. package/vue/UiEditorSlashMenu.d.ts +26 -52
  314. package/vue/UiEditorSlashMenu.vue +141 -104
  315. package/vue/UiEditorSlashMenuGroup.d.ts +8 -5
  316. package/vue/UiEditorSlashMenuGroup.vue +40 -12
  317. package/vue/UiEditorSlashMenuItem.d.ts +8 -17
  318. package/vue/UiEditorSlashMenuItem.vue +90 -48
  319. package/vue/UiEditorSurface.d.ts +8 -5
  320. package/vue/UiEditorSurface.vue +45 -15
  321. package/vue/UiEditorTableContextMenu.d.ts +8 -20
  322. package/vue/UiEditorTableContextMenu.vue +151 -113
  323. package/vue/UiEditorTableOverlay.d.ts +10 -29
  324. package/vue/UiEditorTableOverlay.vue +180 -153
  325. package/vue/UiEditorTableToolbar.d.ts +8 -20
  326. package/vue/UiEditorTableToolbar.vue +158 -116
  327. package/vue/UiEditorToolbar.d.ts +8 -5
  328. package/vue/UiEditorToolbar.vue +48 -12
  329. package/vue/UiFloatingActionButton.d.ts +8 -11
  330. package/vue/UiFloatingActionButton.vue +60 -28
  331. package/vue/UiFormField.d.ts +8 -11
  332. package/vue/UiFormField.vue +63 -28
  333. package/vue/UiGrid.d.ts +8 -11
  334. package/vue/UiGrid.vue +56 -28
  335. package/vue/UiIcon.d.ts +8 -8
  336. package/vue/UiIcon.vue +444 -395
  337. package/vue/UiIconButton.d.ts +9 -39
  338. package/vue/UiIconButton.vue +138 -103
  339. package/vue/UiImage.d.ts +8 -23
  340. package/vue/UiImage.vue +80 -60
  341. package/vue/UiInput.d.ts +4 -7
  342. package/vue/UiInput.vue +169 -149
  343. package/vue/UiInputGroup.d.ts +8 -17
  344. package/vue/UiInputGroup.vue +81 -47
  345. package/vue/UiList.d.ts +9 -15
  346. package/vue/UiList.vue +67 -39
  347. package/vue/UiListItem.d.ts +8 -20
  348. package/vue/UiListItem.vue +87 -52
  349. package/vue/UiListbox.d.ts +10 -28
  350. package/vue/UiListbox.vue +111 -71
  351. package/vue/UiMenu.d.ts +10 -25
  352. package/vue/UiMenu.vue +96 -65
  353. package/vue/UiMenuGroup.d.ts +8 -5
  354. package/vue/UiMenuGroup.vue +40 -12
  355. package/vue/UiMenuItem.d.ts +8 -20
  356. package/vue/UiMenuItem.vue +91 -55
  357. package/vue/UiMeter.d.ts +9 -33
  358. package/vue/UiMeter.vue +202 -147
  359. package/vue/UiNavItem.d.ts +9 -24
  360. package/vue/UiNavItem.vue +78 -63
  361. package/vue/UiPageHeader.d.ts +8 -5
  362. package/vue/UiPageHeader.vue +45 -12
  363. package/vue/UiPopover.d.ts +8 -14
  364. package/vue/UiPopover.vue +90 -58
  365. package/vue/UiRadio.d.ts +8 -20
  366. package/vue/UiRadio.vue +91 -52
  367. package/vue/UiRadioGroup.d.ts +8 -26
  368. package/vue/UiRadioGroup.vue +109 -74
  369. package/vue/UiReel.d.ts +8 -11
  370. package/vue/UiReel.vue +56 -28
  371. package/vue/UiScrollArea.d.ts +9 -18
  372. package/vue/UiScrollArea.vue +81 -53
  373. package/vue/UiSearchResultRow.d.ts +8 -11
  374. package/vue/UiSearchResultRow.vue +60 -31
  375. package/vue/UiSearchShell.d.ts +8 -14
  376. package/vue/UiSearchShell.vue +73 -36
  377. package/vue/UiSection.d.ts +8 -11
  378. package/vue/UiSection.vue +60 -31
  379. package/vue/UiSelect.d.ts +8 -17
  380. package/vue/UiSelect.vue +83 -51
  381. package/vue/UiSeparator.d.ts +9 -15
  382. package/vue/UiSeparator.vue +69 -39
  383. package/vue/UiSidebar.d.ts +8 -29
  384. package/vue/UiSidebar.vue +118 -76
  385. package/vue/UiSpinner.d.ts +8 -8
  386. package/vue/UiSpinner.vue +51 -20
  387. package/vue/UiStack.d.ts +9 -18
  388. package/vue/UiStack.vue +73 -53
  389. package/vue/UiStatusMessage.d.ts +8 -11
  390. package/vue/UiStatusMessage.vue +60 -33
  391. package/vue/UiSwatch.d.ts +8 -5
  392. package/vue/UiSwatch.vue +64 -22
  393. package/vue/UiSwitch.d.ts +8 -20
  394. package/vue/UiSwitch.vue +91 -52
  395. package/vue/UiSwitcher.d.ts +9 -15
  396. package/vue/UiSwitcher.vue +64 -39
  397. package/vue/UiTable.d.ts +8 -8
  398. package/vue/UiTable.vue +56 -23
  399. package/vue/UiTabs.d.ts +8 -23
  400. package/vue/UiTabs.vue +100 -66
  401. package/vue/UiText.d.ts +9 -36
  402. package/vue/UiText.vue +152 -109
  403. package/vue/UiTextarea.d.ts +8 -29
  404. package/vue/UiTextarea.vue +118 -83
  405. package/vue/UiToast.d.ts +8 -8
  406. package/vue/UiToast.vue +55 -20
  407. package/vue/UiToastRegion.d.ts +14 -14
  408. package/vue/UiToastRegion.vue +66 -28
  409. package/vue/UiTooltip.d.ts +8 -23
  410. package/vue/UiTooltip.vue +117 -82
  411. package/vue/UiTopBar.vue +1 -1
  412. package/vue/UiTree.d.ts +8 -23
  413. package/vue/UiTree.vue +99 -69
  414. package/vue/UiTreeItem.d.ts +8 -47
  415. package/vue/UiTreeItem.vue +178 -127
  416. package/vue/chunks/UiActionBar.js +1 -1
  417. package/vue/chunks/UiAffordanceScope.js +35 -22
  418. package/vue/chunks/UiAvatar.js +81 -70
  419. package/vue/chunks/UiAvatarGroup.js +58 -46
  420. package/vue/chunks/UiBadge.js +46 -38
  421. package/vue/chunks/UiBreadcrumbItem.js +22 -11
  422. package/vue/chunks/UiBreadcrumbs.js +22 -11
  423. package/vue/chunks/UiButton.js +115 -118
  424. package/vue/chunks/UiCallout.js +32 -22
  425. package/vue/chunks/UiCard.js +53 -46
  426. package/vue/chunks/UiCheckbox.js +84 -78
  427. package/vue/chunks/UiCluster.js +63 -62
  428. package/vue/chunks/UiCombobox.js +359 -382
  429. package/vue/chunks/UiContainer.js +35 -30
  430. package/vue/chunks/UiContextMenu.js +36 -23
  431. package/vue/chunks/UiCover.js +22 -11
  432. package/vue/chunks/UiDescriptionItem.js +22 -11
  433. package/vue/chunks/UiDescriptionList.js +38 -30
  434. package/vue/chunks/UiDialog.js +78 -70
  435. package/vue/chunks/UiDisclosure.js +87 -78
  436. package/vue/chunks/UiEditable.js +102 -94
  437. package/vue/chunks/UiEditorBlockActions.js +49 -23
  438. package/vue/chunks/UiEditorChipEditor.js +48 -25
  439. package/vue/chunks/UiEditorCodeLanguage.js +58 -41
  440. package/vue/chunks/UiEditorImageToolbar.js +153 -148
  441. package/vue/chunks/UiEditorInsertTableGrid.js +55 -38
  442. package/vue/chunks/UiEditorLinkCard.js +104 -82
  443. package/vue/chunks/UiEditorLinkForm.js +282 -258
  444. package/vue/chunks/UiEditorMentionMenu.js +156 -145
  445. package/vue/chunks/UiEditorMentionMenuItem.js +39 -30
  446. package/vue/chunks/UiEditorSlashMenu.js +141 -130
  447. package/vue/chunks/UiEditorSlashMenuGroup.js +22 -11
  448. package/vue/chunks/UiEditorSlashMenuItem.js +62 -47
  449. package/vue/chunks/UiEditorSurface.js +22 -11
  450. package/vue/chunks/UiEditorTableContextMenu.js +98 -87
  451. package/vue/chunks/UiEditorTableOverlay.js +286 -308
  452. package/vue/chunks/UiEditorTableToolbar.js +102 -87
  453. package/vue/chunks/UiEditorToolbar.js +24 -11
  454. package/vue/chunks/UiFloatingActionButton.js +39 -30
  455. package/vue/chunks/UiFormField.js +41 -30
  456. package/vue/chunks/UiGrid.js +35 -30
  457. package/vue/chunks/UiIcon.js +38 -25
  458. package/vue/chunks/UiIconButton.js +102 -102
  459. package/vue/chunks/UiImage.js +67 -62
  460. package/vue/chunks/UiInput.js +275 -274
  461. package/vue/chunks/UiInputGroup.js +55 -46
  462. package/vue/chunks/UiList.js +46 -38
  463. package/vue/chunks/UiListItem.js +60 -54
  464. package/vue/chunks/UiListbox.js +83 -72
  465. package/vue/chunks/UiMenu.js +71 -63
  466. package/vue/chunks/UiMenuGroup.js +22 -11
  467. package/vue/chunks/UiMenuItem.js +63 -54
  468. package/vue/chunks/UiMeter.js +124 -119
  469. package/vue/chunks/UiNavItem.js +64 -62
  470. package/vue/chunks/UiPageHeader.js +22 -11
  471. package/vue/chunks/UiPopover.js +49 -38
  472. package/vue/chunks/UiRadio.js +63 -54
  473. package/vue/chunks/UiRadioGroup.js +77 -70
  474. package/vue/chunks/UiReel.js +35 -30
  475. package/vue/chunks/UiScrollArea.js +55 -46
  476. package/vue/chunks/UiSearchResultRow.js +39 -30
  477. package/vue/chunks/UiSearchShell.js +49 -38
  478. package/vue/chunks/UiSection.js +39 -30
  479. package/vue/chunks/UiSelect.js +57 -48
  480. package/vue/chunks/UiSeparator.js +46 -38
  481. package/vue/chunks/UiSidebar.js +88 -78
  482. package/vue/chunks/UiSpinner.js +32 -22
  483. package/vue/chunks/UiStack.js +47 -46
  484. package/vue/chunks/UiStatusMessage.js +39 -30
  485. package/vue/chunks/UiSwatch.js +28 -14
  486. package/vue/chunks/UiSwitch.js +63 -54
  487. package/vue/chunks/UiSwitcher.js +44 -38
  488. package/vue/chunks/UiTable.js +34 -22
  489. package/vue/chunks/UiTabs.js +73 -62
  490. package/vue/chunks/UiText.js +95 -94
  491. package/vue/chunks/UiTextarea.js +84 -80
  492. package/vue/chunks/UiToast.js +34 -22
  493. package/vue/chunks/UiToastRegion.js +36 -23
  494. package/vue/chunks/UiTooltip.js +70 -62
  495. package/vue/chunks/UiTopBar.js +1 -1
  496. package/vue/chunks/UiTree.js +69 -62
  497. package/vue/chunks/UiTreeItem.js +154 -151
  498. package/vue/chunks/_plugin-vue_export-helper.js +185 -36
  499. package/vue/chunks/control.js +6 -1
  500. package/vue/chunks/props.js +435 -11
  501. package/vue/components.css +39 -39
  502. package/vue/editor/index.js +129 -291
  503. package/vue/host.ts +320 -14
  504. package/vue/props.d.ts +272 -0
package/vue/UiSection.vue CHANGED
@@ -1,9 +1,19 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.63 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
5
5
  import { checkHydratedRoot, nativeAttrs, useReflectedProp } from './host'
6
- import { checkedProp, vPropValidity } from './props'
6
+ import {
7
+ BINDING_INPUTS_PROP,
8
+ checkedProp,
9
+ checkPropInput,
10
+ type InputBindings,
11
+ READY_INPUT,
12
+ requireInputStatus,
13
+ UNRESOLVED_INPUT,
14
+ vPropValidity,
15
+ vuePropInputs,
16
+ } from './props'
7
17
 
8
18
  defineOptions({ inheritAttrs: false })
9
19
 
@@ -38,37 +48,56 @@ const propValidityContract = {
38
48
  },
39
49
  } as const
40
50
  const props = defineProps({
41
- heading: { type: null as unknown as PropType<string | null>, default: '' },
42
- tone: { type: null as unknown as PropType<'neutral' | 'danger' | null>, default: 'neutral' },
43
- variant: {
44
- type: null as unknown as PropType<'plain' | 'card' | 'divided' | null>,
45
- default: 'plain',
46
- },
51
+ heading: { type: null as unknown as PropType<string | null> },
52
+ tone: { type: null as unknown as PropType<'neutral' | 'danger' | null> },
53
+ variant: { type: null as unknown as PropType<'plain' | 'card' | 'divided' | null> },
54
+ [BINDING_INPUTS_PROP]: { type: null as unknown as PropType<InputBindings> },
47
55
  })
48
56
  const acceptedProps: Record<string, unknown> = { heading: '', tone: 'neutral', variant: 'plain' }
49
- const checkedProps = computed(() => ({
50
- heading: checkedProp<string>(
51
- props['heading'],
52
- { kind: 'terminal', name: 'string' },
53
- false,
54
- 'heading',
55
- acceptedProps,
56
- ) as string,
57
- tone: checkedProp<'neutral' | 'danger'>(
58
- props['tone'],
59
- { kind: 'terminal', name: 'keyword' },
60
- false,
61
- 'tone',
62
- acceptedProps,
63
- ) as 'neutral' | 'danger',
64
- variant: checkedProp<'plain' | 'card' | 'divided'>(
65
- props['variant'],
66
- { kind: 'terminal', name: 'keyword' },
67
- false,
68
- 'variant',
69
- acceptedProps,
70
- ) as 'plain' | 'card' | 'divided',
71
- }))
57
+ const inputTracking = vuePropInputs(acceptedProps, {
58
+ heading: '',
59
+ tone: 'neutral',
60
+ variant: 'plain',
61
+ }, (name, value, source, values) => {
62
+ switch (name) {
63
+ case 'heading':
64
+ return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
65
+ case 'tone':
66
+ return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
67
+ case 'variant':
68
+ return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
69
+ default:
70
+ return { ok: false }
71
+ }
72
+ }, () => {
73
+ void checkedProps.value
74
+ })
75
+ const propInputs = inputTracking.inputs
76
+ const checkedProps = computed(() => {
77
+ void inputTracking.version.value
78
+ return ({
79
+ heading: propInputs.value<string | null>(
80
+ 'heading',
81
+ props['heading'],
82
+ props[BINDING_INPUTS_PROP],
83
+ ) as string,
84
+ tone: propInputs.value<'neutral' | 'danger' | null>(
85
+ 'tone',
86
+ props['tone'],
87
+ props[BINDING_INPUTS_PROP],
88
+ ) as 'neutral' | 'danger',
89
+ variant: propInputs.value<'plain' | 'card' | 'divided' | null>(
90
+ 'variant',
91
+ props['variant'],
92
+ props[BINDING_INPUTS_PROP],
93
+ ) as 'plain' | 'card' | 'divided',
94
+ })
95
+ })
96
+ const inputStatus = (name: string, handlesError: boolean) => {
97
+ void checkedProps.value
98
+ void inputTracking.version.value
99
+ return requireInputStatus(propInputs.status(name), handlesError)
100
+ }
72
101
  void checkedProps.value
73
102
  watchSyncEffect(() => {
74
103
  void checkedProps.value
package/vue/UiSelect.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
+ import { type InputBindings } from './props.js';
2
3
  declare var __VLS_7: {};
3
4
  type __VLS_Slots = {} & {
4
5
  default?: (props: typeof __VLS_7) => any;
@@ -6,23 +7,21 @@ type __VLS_Slots = {} & {
6
7
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
8
  disabled: {
8
9
  type: PropType<boolean | null>;
9
- default: boolean;
10
10
  };
11
11
  invalid: {
12
12
  type: PropType<boolean | null>;
13
- default: boolean;
14
13
  };
15
14
  required: {
16
15
  type: PropType<boolean | null>;
17
- default: boolean;
18
16
  };
19
17
  size: {
20
18
  type: PropType<"sm" | "md" | "lg" | null>;
21
- default: string;
22
19
  };
23
20
  value: {
24
21
  type: PropType<string | null>;
25
- default: null;
22
+ };
23
+ "\0htmlNextInputStatus": {
24
+ type: PropType<InputBindings>;
26
25
  };
27
26
  modelValue: {
28
27
  type: PropType<string | null | undefined>;
@@ -32,36 +31,28 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
32
31
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
32
  disabled: {
34
33
  type: PropType<boolean | null>;
35
- default: boolean;
36
34
  };
37
35
  invalid: {
38
36
  type: PropType<boolean | null>;
39
- default: boolean;
40
37
  };
41
38
  required: {
42
39
  type: PropType<boolean | null>;
43
- default: boolean;
44
40
  };
45
41
  size: {
46
42
  type: PropType<"sm" | "md" | "lg" | null>;
47
- default: string;
48
43
  };
49
44
  value: {
50
45
  type: PropType<string | null>;
51
- default: null;
46
+ };
47
+ "\0htmlNextInputStatus": {
48
+ type: PropType<InputBindings>;
52
49
  };
53
50
  modelValue: {
54
51
  type: PropType<string | null | undefined>;
55
52
  };
56
53
  }>> & Readonly<{
57
54
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
58
- }>, {
59
- value: string | null;
60
- required: boolean | null;
61
- invalid: boolean | null;
62
- size: "sm" | "md" | "lg" | null;
63
- disabled: boolean | null;
64
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
55
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
65
56
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
66
57
  declare const _default: typeof __VLS_export;
67
58
  export default _default;
package/vue/UiSelect.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.63 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, ref, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -10,7 +10,18 @@ import {
10
10
  useComponentHost,
11
11
  useReflectedProp,
12
12
  } from './host'
13
- import { checkedProp, propValidityState, vPropValidity } from './props'
13
+ import {
14
+ BINDING_INPUTS_PROP,
15
+ checkedProp,
16
+ checkPropInput,
17
+ type InputBindings,
18
+ propValidityState,
19
+ READY_INPUT,
20
+ requireInputStatus,
21
+ UNRESOLVED_INPUT,
22
+ vPropValidity,
23
+ vuePropInputs,
24
+ } from './props'
14
25
 
15
26
  defineOptions({ inheritAttrs: false })
16
27
 
@@ -56,11 +67,12 @@ const propValidityContract = {
56
67
  },
57
68
  } as const
58
69
  const props = defineProps({
59
- disabled: { type: null as unknown as PropType<boolean | null>, default: false },
60
- invalid: { type: null as unknown as PropType<boolean | null>, default: false },
61
- required: { type: null as unknown as PropType<boolean | null>, default: false },
62
- size: { type: null as unknown as PropType<'sm' | 'md' | 'lg' | null>, default: 'md' },
63
- value: { type: null as unknown as PropType<string | null>, default: null },
70
+ disabled: { type: null as unknown as PropType<boolean | null> },
71
+ invalid: { type: null as unknown as PropType<boolean | null> },
72
+ required: { type: null as unknown as PropType<boolean | null> },
73
+ size: { type: null as unknown as PropType<'sm' | 'md' | 'lg' | null> },
74
+ value: { type: null as unknown as PropType<string | null> },
75
+ [BINDING_INPUTS_PROP]: { type: null as unknown as PropType<InputBindings> },
64
76
  modelValue: { type: null as unknown as PropType<string | null | undefined> },
65
77
  })
66
78
  const acceptedProps: Record<string, unknown> = {
@@ -70,50 +82,68 @@ const acceptedProps: Record<string, unknown> = {
70
82
  size: 'md',
71
83
  value: null,
72
84
  }
73
- const checkedProps = computed(() => ({
74
- disabled: checkedProp<boolean>(
75
- props['disabled'],
76
- { kind: 'terminal', name: 'boolean' },
77
- false,
78
- 'disabled',
79
- acceptedProps,
80
- ) as boolean,
81
- invalid: checkedProp<boolean>(
82
- props['invalid'],
83
- { kind: 'terminal', name: 'boolean' },
84
- false,
85
- 'invalid',
86
- acceptedProps,
87
- ) as boolean,
88
- required: checkedProp<boolean>(
89
- props['required'],
90
- { kind: 'terminal', name: 'boolean' },
91
- false,
92
- 'required',
93
- acceptedProps,
94
- ) as boolean,
95
- size: checkedProp<'sm' | 'md' | 'lg'>(
96
- props['size'],
97
- { kind: 'terminal', name: 'keyword' },
98
- false,
99
- 'size',
100
- acceptedProps,
101
- ) as 'sm' | 'md' | 'lg',
102
- value: checkedProp<string>(
103
- props['value'],
104
- { kind: 'terminal', name: 'string' },
105
- false,
106
- 'value',
107
- acceptedProps,
108
- ),
109
- modelValue: checkedProp<string | null>(
110
- props.modelValue,
111
- { kind: 'terminal', name: 'string' },
112
- false,
113
- 'modelValue',
114
- acceptedProps,
115
- ),
116
- }))
85
+ const inputTracking = vuePropInputs(acceptedProps, {
86
+ disabled: false,
87
+ invalid: false,
88
+ required: false,
89
+ size: 'md',
90
+ }, (name, value, source, values) => {
91
+ switch (name) {
92
+ case 'disabled':
93
+ return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
94
+ case 'invalid':
95
+ return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
96
+ case 'required':
97
+ return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
98
+ case 'size':
99
+ return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
100
+ case 'value':
101
+ return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
102
+ default:
103
+ return { ok: false }
104
+ }
105
+ }, () => {
106
+ void checkedProps.value
107
+ })
108
+ const propInputs = inputTracking.inputs
109
+ const checkedProps = computed(() => {
110
+ void inputTracking.version.value
111
+ return ({
112
+ disabled: propInputs.value<boolean | null>(
113
+ 'disabled',
114
+ props['disabled'],
115
+ props[BINDING_INPUTS_PROP],
116
+ ) as boolean,
117
+ invalid: propInputs.value<boolean | null>(
118
+ 'invalid',
119
+ props['invalid'],
120
+ props[BINDING_INPUTS_PROP],
121
+ ) as boolean,
122
+ required: propInputs.value<boolean | null>(
123
+ 'required',
124
+ props['required'],
125
+ props[BINDING_INPUTS_PROP],
126
+ ) as boolean,
127
+ size: propInputs.value<'sm' | 'md' | 'lg' | null>(
128
+ 'size',
129
+ props['size'],
130
+ props[BINDING_INPUTS_PROP],
131
+ ) as 'sm' | 'md' | 'lg',
132
+ value: propInputs.value<string | null>('value', props['value'], props[BINDING_INPUTS_PROP]),
133
+ modelValue: checkedProp<string | null>(
134
+ props.modelValue,
135
+ { kind: 'terminal', name: 'string' },
136
+ false,
137
+ 'modelValue',
138
+ acceptedProps,
139
+ ),
140
+ })
141
+ })
142
+ const inputStatus = (name: string, handlesError: boolean) => {
143
+ void checkedProps.value
144
+ void inputTracking.version.value
145
+ return requireInputStatus(propInputs.status(name), handlesError)
146
+ }
117
147
  void checkedProps.value
118
148
  watchSyncEffect(() => {
119
149
  void checkedProps.value
@@ -149,6 +179,8 @@ useComponentHost(() => import('../components/ui-select/ui-select.js'), {
149
179
  definition: './components/ui-select/ui-select.html',
150
180
  },
151
181
  props: checkedProps,
182
+ inputs: propInputs,
183
+ inputTracking,
152
184
  propInputs: (name: string) => {
153
185
  const incoming = hydrationInstance?.vnode.props
154
186
  const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
@@ -1,43 +1,37 @@
1
1
  import type { PropType } from 'vue';
2
+ import { type InputBindings } from './props.js';
2
3
  declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
4
  emphasis: {
4
5
  type: PropType<"normal" | "strong" | null>;
5
- default: string;
6
6
  };
7
7
  orientation: {
8
8
  type: PropType<"horizontal" | "vertical" | null>;
9
- default: string;
10
9
  };
11
10
  selectable: {
12
11
  type: PropType<boolean | null>;
13
- default: boolean;
14
12
  };
15
13
  selected: {
16
14
  type: PropType<boolean | null>;
17
- default: boolean;
15
+ };
16
+ "\0htmlNextInputStatus": {
17
+ type: PropType<InputBindings>;
18
18
  };
19
19
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
20
20
  emphasis: {
21
21
  type: PropType<"normal" | "strong" | null>;
22
- default: string;
23
22
  };
24
23
  orientation: {
25
24
  type: PropType<"horizontal" | "vertical" | null>;
26
- default: string;
27
25
  };
28
26
  selectable: {
29
27
  type: PropType<boolean | null>;
30
- default: boolean;
31
28
  };
32
29
  selected: {
33
30
  type: PropType<boolean | null>;
34
- default: boolean;
35
- };
36
- }>> & Readonly<{}>, {
37
- selected: boolean | null;
38
- orientation: "vertical" | "horizontal" | null;
39
- emphasis: "strong" | "normal" | null;
40
- selectable: boolean | null;
41
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
31
+ };
32
+ "\0htmlNextInputStatus": {
33
+ type: PropType<InputBindings>;
34
+ };
35
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
42
36
  declare const _default: typeof __VLS_export;
43
37
  export default _default;
@@ -1,9 +1,19 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.63 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
5
5
  import { checkHydratedRoot, nativeAttrs, useReflectedProp } from './host'
6
- import { checkedProp, vPropValidity } from './props'
6
+ import {
7
+ BINDING_INPUTS_PROP,
8
+ checkedProp,
9
+ checkPropInput,
10
+ type InputBindings,
11
+ READY_INPUT,
12
+ requireInputStatus,
13
+ UNRESOLVED_INPUT,
14
+ vPropValidity,
15
+ vuePropInputs,
16
+ } from './props'
7
17
 
8
18
  defineOptions({ inheritAttrs: false })
9
19
 
@@ -46,13 +56,11 @@ const propValidityContract = {
46
56
  },
47
57
  } as const
48
58
  const props = defineProps({
49
- emphasis: { type: null as unknown as PropType<'normal' | 'strong' | null>, default: 'normal' },
50
- orientation: {
51
- type: null as unknown as PropType<'horizontal' | 'vertical' | null>,
52
- default: 'horizontal',
53
- },
54
- selectable: { type: null as unknown as PropType<boolean | null>, default: false },
55
- selected: { type: null as unknown as PropType<boolean | null>, default: false },
59
+ emphasis: { type: null as unknown as PropType<'normal' | 'strong' | null> },
60
+ orientation: { type: null as unknown as PropType<'horizontal' | 'vertical' | null> },
61
+ selectable: { type: null as unknown as PropType<boolean | null> },
62
+ selected: { type: null as unknown as PropType<boolean | null> },
63
+ [BINDING_INPUTS_PROP]: { type: null as unknown as PropType<InputBindings> },
56
64
  })
57
65
  const acceptedProps: Record<string, unknown> = {
58
66
  emphasis: 'normal',
@@ -60,36 +68,58 @@ const acceptedProps: Record<string, unknown> = {
60
68
  selectable: false,
61
69
  selected: false,
62
70
  }
63
- const checkedProps = computed(() => ({
64
- emphasis: checkedProp<'normal' | 'strong'>(
65
- props['emphasis'],
66
- { kind: 'terminal', name: 'keyword' },
67
- false,
68
- 'emphasis',
69
- acceptedProps,
70
- ) as 'normal' | 'strong',
71
- orientation: checkedProp<'horizontal' | 'vertical'>(
72
- props['orientation'],
73
- { kind: 'terminal', name: 'keyword' },
74
- false,
75
- 'orientation',
76
- acceptedProps,
77
- ) as 'horizontal' | 'vertical',
78
- selectable: checkedProp<boolean>(
79
- props['selectable'],
80
- { kind: 'terminal', name: 'boolean' },
81
- false,
82
- 'selectable',
83
- acceptedProps,
84
- ) as boolean,
85
- selected: checkedProp<boolean>(
86
- props['selected'],
87
- { kind: 'terminal', name: 'boolean' },
88
- false,
89
- 'selected',
90
- acceptedProps,
91
- ) as boolean,
92
- }))
71
+ const inputTracking = vuePropInputs(acceptedProps, {
72
+ emphasis: 'normal',
73
+ orientation: 'horizontal',
74
+ selectable: false,
75
+ selected: false,
76
+ }, (name, value, source, values) => {
77
+ switch (name) {
78
+ case 'emphasis':
79
+ return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
80
+ case 'orientation':
81
+ return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
82
+ case 'selectable':
83
+ return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
84
+ case 'selected':
85
+ return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
86
+ default:
87
+ return { ok: false }
88
+ }
89
+ }, () => {
90
+ void checkedProps.value
91
+ })
92
+ const propInputs = inputTracking.inputs
93
+ const checkedProps = computed(() => {
94
+ void inputTracking.version.value
95
+ return ({
96
+ emphasis: propInputs.value<'normal' | 'strong' | null>(
97
+ 'emphasis',
98
+ props['emphasis'],
99
+ props[BINDING_INPUTS_PROP],
100
+ ) as 'normal' | 'strong',
101
+ orientation: propInputs.value<'horizontal' | 'vertical' | null>(
102
+ 'orientation',
103
+ props['orientation'],
104
+ props[BINDING_INPUTS_PROP],
105
+ ) as 'horizontal' | 'vertical',
106
+ selectable: propInputs.value<boolean | null>(
107
+ 'selectable',
108
+ props['selectable'],
109
+ props[BINDING_INPUTS_PROP],
110
+ ) as boolean,
111
+ selected: propInputs.value<boolean | null>(
112
+ 'selected',
113
+ props['selected'],
114
+ props[BINDING_INPUTS_PROP],
115
+ ) as boolean,
116
+ })
117
+ })
118
+ const inputStatus = (name: string, handlesError: boolean) => {
119
+ void checkedProps.value
120
+ void inputTracking.version.value
121
+ return requireInputStatus(propInputs.status(name), handlesError)
122
+ }
93
123
  void checkedProps.value
94
124
  watchSyncEffect(() => {
95
125
  void checkedProps.value
@@ -1,4 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
+ import { type InputBindings } from './props.js';
2
3
  declare var __VLS_1: {};
3
4
  type __VLS_Slots = {} & {
4
5
  default?: (props: typeof __VLS_1) => any;
@@ -6,39 +7,33 @@ type __VLS_Slots = {} & {
6
7
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
8
  breakpoint: {
8
9
  type: PropType<"sm" | "md" | "lg" | null>;
9
- default: string;
10
10
  };
11
11
  collapsed: {
12
12
  type: PropType<boolean | null>;
13
- default: boolean;
14
13
  };
15
14
  maxWidth: {
16
15
  type: PropType<number | null>;
17
- default: number;
18
16
  };
19
17
  minWidth: {
20
18
  type: PropType<number | null>;
21
- default: number;
22
19
  };
23
20
  resizable: {
24
21
  type: PropType<boolean | null>;
25
- default: boolean;
26
22
  };
27
23
  resizeLabel: {
28
24
  type: PropType<string | null>;
29
- default: string;
30
25
  };
31
26
  resizeStep: {
32
27
  type: PropType<number | null>;
33
- default: number;
34
28
  };
35
29
  side: {
36
30
  type: PropType<"start" | "end" | null>;
37
- default: string;
38
31
  };
39
32
  width: {
40
33
  type: PropType<number | null>;
41
- default: number;
34
+ };
35
+ "\0htmlNextInputStatus": {
36
+ type: PropType<InputBindings>;
42
37
  };
43
38
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
44
39
  resize: (event: CustomEvent<{
@@ -54,39 +49,33 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
54
49
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
55
50
  breakpoint: {
56
51
  type: PropType<"sm" | "md" | "lg" | null>;
57
- default: string;
58
52
  };
59
53
  collapsed: {
60
54
  type: PropType<boolean | null>;
61
- default: boolean;
62
55
  };
63
56
  maxWidth: {
64
57
  type: PropType<number | null>;
65
- default: number;
66
58
  };
67
59
  minWidth: {
68
60
  type: PropType<number | null>;
69
- default: number;
70
61
  };
71
62
  resizable: {
72
63
  type: PropType<boolean | null>;
73
- default: boolean;
74
64
  };
75
65
  resizeLabel: {
76
66
  type: PropType<string | null>;
77
- default: string;
78
67
  };
79
68
  resizeStep: {
80
69
  type: PropType<number | null>;
81
- default: number;
82
70
  };
83
71
  side: {
84
72
  type: PropType<"start" | "end" | null>;
85
- default: string;
86
73
  };
87
74
  width: {
88
75
  type: PropType<number | null>;
89
- default: number;
76
+ };
77
+ "\0htmlNextInputStatus": {
78
+ type: PropType<InputBindings>;
90
79
  };
91
80
  }>> & Readonly<{
92
81
  onResize?: ((event: CustomEvent<{
@@ -99,17 +88,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
99
88
  readonly trigger: "keyboard" | "pointer" | "programmatic";
100
89
  }>) => any) | undefined;
101
90
  "onUpdate:width"?: ((value: number) => any) | undefined;
102
- }>, {
103
- width: number | null;
104
- resizable: boolean | null;
105
- breakpoint: "sm" | "md" | "lg" | null;
106
- collapsed: boolean | null;
107
- side: "start" | "end" | null;
108
- maxWidth: number | null;
109
- minWidth: number | null;
110
- resizeLabel: string | null;
111
- resizeStep: number | null;
112
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
91
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
113
92
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
114
93
  declare const _default: typeof __VLS_export;
115
94
  export default _default;