@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
@@ -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, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -11,7 +11,18 @@ import {
11
11
  warnUnless,
12
12
  } from './host'
13
13
  import { acceptsControllerWrite } from './props'
14
- import { checkedProp, propValidityState, vPropValidity } from './props'
14
+ import {
15
+ BINDING_INPUTS_PROP,
16
+ checkedProp,
17
+ checkPropInput,
18
+ type InputBindings,
19
+ propValidityState,
20
+ READY_INPUT,
21
+ requireInputStatus,
22
+ UNRESOLVED_INPUT,
23
+ vPropValidity,
24
+ vuePropInputs,
25
+ } from './props'
15
26
 
16
27
  defineOptions({ inheritAttrs: false })
17
28
 
@@ -93,18 +104,16 @@ const propValidityContract = {
93
104
  },
94
105
  } as const
95
106
  const props = defineProps({
96
- density: {
97
- type: null as unknown as PropType<'comfortable' | 'compact' | null>,
98
- default: 'comfortable',
99
- },
100
- disabled: { type: null as unknown as PropType<boolean | null>, default: false },
101
- fill: { type: null as unknown as PropType<boolean | null>, default: false },
102
- headingLevel: { type: null as unknown as PropType<number | null>, default: 0 },
103
- name: { type: null as unknown as PropType<string | null>, default: '' },
104
- open: { type: null as unknown as PropType<boolean | null>, default: false },
105
- requiredOpen: { type: null as unknown as PropType<boolean | null>, default: false },
106
- summary: { type: null as unknown as PropType<string | null>, default: 'Details' },
107
- variant: { type: null as unknown as PropType<'plain' | 'navigation' | null>, default: 'plain' },
107
+ density: { type: null as unknown as PropType<'comfortable' | 'compact' | null> },
108
+ disabled: { type: null as unknown as PropType<boolean | null> },
109
+ fill: { type: null as unknown as PropType<boolean | null> },
110
+ headingLevel: { type: null as unknown as PropType<number | null> },
111
+ name: { type: null as unknown as PropType<string | null> },
112
+ open: { type: null as unknown as PropType<boolean | null> },
113
+ requiredOpen: { type: null as unknown as PropType<boolean | null> },
114
+ summary: { type: null as unknown as PropType<string | null> },
115
+ variant: { type: null as unknown as PropType<'plain' | 'navigation' | null> },
116
+ [BINDING_INPUTS_PROP]: { type: null as unknown as PropType<InputBindings> },
108
117
  })
109
118
  const acceptedProps: Record<string, unknown> = {
110
119
  density: 'comfortable',
@@ -117,71 +126,98 @@ const acceptedProps: Record<string, unknown> = {
117
126
  summary: 'Details',
118
127
  variant: 'plain',
119
128
  }
120
- const checkedProps = computed(() => ({
121
- density: checkedProp<'comfortable' | 'compact'>(
122
- props['density'],
123
- { kind: 'terminal', name: 'keyword' },
124
- false,
125
- 'density',
126
- acceptedProps,
127
- ) as 'comfortable' | 'compact',
128
- disabled: checkedProp<boolean>(
129
- props['disabled'],
130
- { kind: 'terminal', name: 'boolean' },
131
- false,
132
- 'disabled',
133
- acceptedProps,
134
- ) as boolean,
135
- fill: checkedProp<boolean>(
136
- props['fill'],
137
- { kind: 'terminal', name: 'boolean' },
138
- false,
139
- 'fill',
140
- acceptedProps,
141
- ) as boolean,
142
- headingLevel: checkedProp<number>(
143
- props['headingLevel'],
144
- { kind: 'terminal', name: 'integer' },
145
- false,
146
- 'headingLevel',
147
- acceptedProps,
148
- ) as number,
149
- name: checkedProp<string>(
150
- props['name'],
151
- { kind: 'terminal', name: 'string' },
152
- false,
153
- 'name',
154
- acceptedProps,
155
- ) as string,
156
- open: checkedProp<boolean>(
157
- props['open'],
158
- { kind: 'terminal', name: 'boolean' },
159
- false,
160
- 'open',
161
- acceptedProps,
162
- ) as boolean,
163
- requiredOpen: checkedProp<boolean>(
164
- props['requiredOpen'],
165
- { kind: 'terminal', name: 'boolean' },
166
- false,
167
- 'requiredOpen',
168
- acceptedProps,
169
- ) as boolean,
170
- summary: checkedProp<string>(
171
- props['summary'],
172
- { kind: 'terminal', name: 'string' },
173
- false,
174
- 'summary',
175
- acceptedProps,
176
- ) as string,
177
- variant: checkedProp<'plain' | 'navigation'>(
178
- props['variant'],
179
- { kind: 'terminal', name: 'keyword' },
180
- false,
181
- 'variant',
182
- acceptedProps,
183
- ) as 'plain' | 'navigation',
184
- }))
129
+ const inputTracking = vuePropInputs(acceptedProps, {
130
+ density: 'comfortable',
131
+ disabled: false,
132
+ fill: false,
133
+ headingLevel: 0,
134
+ name: '',
135
+ open: false,
136
+ requiredOpen: false,
137
+ summary: 'Details',
138
+ variant: 'plain',
139
+ }, (name, value, source, values) => {
140
+ switch (name) {
141
+ case 'density':
142
+ return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
143
+ case 'disabled':
144
+ return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
145
+ case 'fill':
146
+ return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
147
+ case 'headingLevel':
148
+ return checkPropInput(value, { kind: 'terminal', name: 'integer' }, true, true)
149
+ case 'name':
150
+ return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
151
+ case 'open':
152
+ return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
153
+ case 'requiredOpen':
154
+ return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
155
+ case 'summary':
156
+ return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
157
+ case 'variant':
158
+ return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
159
+ default:
160
+ return { ok: false }
161
+ }
162
+ }, () => {
163
+ void checkedProps.value
164
+ })
165
+ const propInputs = inputTracking.inputs
166
+ const checkedProps = computed(() => {
167
+ void inputTracking.version.value
168
+ return ({
169
+ density: propInputs.value<'comfortable' | 'compact' | null>(
170
+ 'density',
171
+ props['density'],
172
+ props[BINDING_INPUTS_PROP],
173
+ ) as 'comfortable' | 'compact',
174
+ disabled: propInputs.value<boolean | null>(
175
+ 'disabled',
176
+ props['disabled'],
177
+ props[BINDING_INPUTS_PROP],
178
+ ) as boolean,
179
+ fill: propInputs.value<boolean | null>(
180
+ 'fill',
181
+ props['fill'],
182
+ props[BINDING_INPUTS_PROP],
183
+ ) as boolean,
184
+ headingLevel: propInputs.value<number | null>(
185
+ 'headingLevel',
186
+ props['headingLevel'],
187
+ props[BINDING_INPUTS_PROP],
188
+ ) as number,
189
+ name: propInputs.value<string | null>(
190
+ 'name',
191
+ props['name'],
192
+ props[BINDING_INPUTS_PROP],
193
+ ) as string,
194
+ open: propInputs.value<boolean | null>(
195
+ 'open',
196
+ props['open'],
197
+ props[BINDING_INPUTS_PROP],
198
+ ) as boolean,
199
+ requiredOpen: propInputs.value<boolean | null>(
200
+ 'requiredOpen',
201
+ props['requiredOpen'],
202
+ props[BINDING_INPUTS_PROP],
203
+ ) as boolean,
204
+ summary: propInputs.value<string | null>(
205
+ 'summary',
206
+ props['summary'],
207
+ props[BINDING_INPUTS_PROP],
208
+ ) as string,
209
+ variant: propInputs.value<'plain' | 'navigation' | null>(
210
+ 'variant',
211
+ props['variant'],
212
+ props[BINDING_INPUTS_PROP],
213
+ ) as 'plain' | 'navigation',
214
+ })
215
+ })
216
+ const inputStatus = (name: string, handlesError: boolean) => {
217
+ void checkedProps.value
218
+ void inputTracking.version.value
219
+ return requireInputStatus(propInputs.status(name), handlesError)
220
+ }
185
221
  void checkedProps.value
186
222
  watchSyncEffect(() => {
187
223
  void checkedProps.value
@@ -283,11 +319,14 @@ useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
283
319
  } as Record<string, any>)[name],
284
320
  keys,
285
321
  ),
322
+ initials: { internalOpen: false, contentId: '' },
286
323
  controllerSource: {
287
324
  specifier: '../components/ui-disclosure/ui-disclosure.js',
288
325
  definition: './components/ui-disclosure/ui-disclosure.html',
289
326
  },
290
327
  props: checkedProps,
328
+ inputs: propInputs,
329
+ inputTracking,
291
330
  propInputs: (name: string) => {
292
331
  const incoming = hydrationInstance?.vnode.props
293
332
  const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
@@ -1,48 +1,41 @@
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
  actions: {
4
5
  type: PropType<boolean | null>;
5
- default: boolean;
6
6
  };
7
7
  cancelLabel: {
8
8
  type: PropType<string | null>;
9
- default: string;
10
9
  };
11
10
  disabled: {
12
11
  type: PropType<boolean | null>;
13
- default: boolean;
14
12
  };
15
13
  edit: {
16
14
  type: PropType<boolean | null>;
17
- default: boolean;
18
15
  };
19
16
  hint: {
20
17
  type: PropType<string | null>;
21
- default: string;
22
18
  };
23
19
  label: {
24
20
  type: PropType<string | null>;
25
- default: string;
26
21
  };
27
22
  maxLength: {
28
23
  type: PropType<number | null>;
29
- default: number;
30
24
  };
31
25
  placeholder: {
32
26
  type: PropType<string | null>;
33
- default: string;
34
27
  };
35
28
  required: {
36
29
  type: PropType<boolean | null>;
37
- default: boolean;
38
30
  };
39
31
  saveLabel: {
40
32
  type: PropType<string | null>;
41
- default: string;
42
33
  };
43
34
  value: {
44
35
  type: PropType<string | null>;
45
- default: string;
36
+ };
37
+ "\0htmlNextInputStatus": {
38
+ type: PropType<InputBindings>;
46
39
  };
47
40
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
41
  input: (event: CustomEvent<{
@@ -64,47 +57,39 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
64
57
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
65
58
  actions: {
66
59
  type: PropType<boolean | null>;
67
- default: boolean;
68
60
  };
69
61
  cancelLabel: {
70
62
  type: PropType<string | null>;
71
- default: string;
72
63
  };
73
64
  disabled: {
74
65
  type: PropType<boolean | null>;
75
- default: boolean;
76
66
  };
77
67
  edit: {
78
68
  type: PropType<boolean | null>;
79
- default: boolean;
80
69
  };
81
70
  hint: {
82
71
  type: PropType<string | null>;
83
- default: string;
84
72
  };
85
73
  label: {
86
74
  type: PropType<string | null>;
87
- default: string;
88
75
  };
89
76
  maxLength: {
90
77
  type: PropType<number | null>;
91
- default: number;
92
78
  };
93
79
  placeholder: {
94
80
  type: PropType<string | null>;
95
- default: string;
96
81
  };
97
82
  required: {
98
83
  type: PropType<boolean | null>;
99
- default: boolean;
100
84
  };
101
85
  saveLabel: {
102
86
  type: PropType<string | null>;
103
- default: string;
104
87
  };
105
88
  value: {
106
89
  type: PropType<string | null>;
107
- default: string;
90
+ };
91
+ "\0htmlNextInputStatus": {
92
+ type: PropType<InputBindings>;
108
93
  };
109
94
  }>> & Readonly<{
110
95
  onInput?: ((event: CustomEvent<{
@@ -123,18 +108,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
123
108
  readonly reason: "activate" | "commit" | "cancel" | "light-dismiss" | "escape" | "programmatic";
124
109
  readonly trigger: "keyboard" | "pointer" | "programmatic";
125
110
  }>) => any) | undefined;
126
- }>, {
127
- value: string | null;
128
- required: boolean | null;
129
- label: string | null;
130
- disabled: boolean | null;
131
- placeholder: string | null;
132
- actions: boolean | null;
133
- edit: boolean | null;
134
- hint: string | null;
135
- cancelLabel: string | null;
136
- maxLength: number | null;
137
- saveLabel: string | null;
138
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
111
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
139
112
  declare const _default: typeof __VLS_export;
140
113
  export default _default;
@@ -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, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -11,7 +11,18 @@ import {
11
11
  useReflectedProp,
12
12
  } from './host'
13
13
  import { acceptsControllerWrite } from './props'
14
- import { checkedProp, propValidityState, vPropValidity } from './props'
14
+ import {
15
+ BINDING_INPUTS_PROP,
16
+ checkedProp,
17
+ checkPropInput,
18
+ type InputBindings,
19
+ propValidityState,
20
+ READY_INPUT,
21
+ requireInputStatus,
22
+ UNRESOLVED_INPUT,
23
+ vPropValidity,
24
+ vuePropInputs,
25
+ } from './props'
15
26
 
16
27
  defineOptions({ inheritAttrs: false })
17
28
 
@@ -100,17 +111,18 @@ const propValidityContract = {
100
111
  },
101
112
  } as const
102
113
  const props = defineProps({
103
- actions: { type: null as unknown as PropType<boolean | null>, default: false },
104
- cancelLabel: { type: null as unknown as PropType<string | null>, default: 'Cancel' },
105
- disabled: { type: null as unknown as PropType<boolean | null>, default: false },
106
- edit: { type: null as unknown as PropType<boolean | null>, default: false },
107
- hint: { type: null as unknown as PropType<string | null>, default: '' },
108
- label: { type: null as unknown as PropType<string | null>, default: 'Edit value' },
109
- maxLength: { type: null as unknown as PropType<number | null>, default: 0 },
110
- placeholder: { type: null as unknown as PropType<string | null>, default: '' },
111
- required: { type: null as unknown as PropType<boolean | null>, default: false },
112
- saveLabel: { type: null as unknown as PropType<string | null>, default: 'Save' },
113
- value: { type: null as unknown as PropType<string | null>, default: '' },
114
+ actions: { type: null as unknown as PropType<boolean | null> },
115
+ cancelLabel: { type: null as unknown as PropType<string | null> },
116
+ disabled: { type: null as unknown as PropType<boolean | null> },
117
+ edit: { type: null as unknown as PropType<boolean | null> },
118
+ hint: { type: null as unknown as PropType<string | null> },
119
+ label: { type: null as unknown as PropType<string | null> },
120
+ maxLength: { type: null as unknown as PropType<number | null> },
121
+ placeholder: { type: null as unknown as PropType<string | null> },
122
+ required: { type: null as unknown as PropType<boolean | null> },
123
+ saveLabel: { type: null as unknown as PropType<string | null> },
124
+ value: { type: null as unknown as PropType<string | null> },
125
+ [BINDING_INPUTS_PROP]: { type: null as unknown as PropType<InputBindings> },
114
126
  })
115
127
  const acceptedProps: Record<string, unknown> = {
116
128
  actions: false,
@@ -125,85 +137,114 @@ const acceptedProps: Record<string, unknown> = {
125
137
  saveLabel: 'Save',
126
138
  value: '',
127
139
  }
128
- const checkedProps = computed(() => ({
129
- actions: checkedProp<boolean>(
130
- props['actions'],
131
- { kind: 'terminal', name: 'boolean' },
132
- false,
133
- 'actions',
134
- acceptedProps,
135
- ) as boolean,
136
- cancelLabel: checkedProp<string>(
137
- props['cancelLabel'],
138
- { kind: 'terminal', name: 'string' },
139
- false,
140
- 'cancelLabel',
141
- acceptedProps,
142
- ) as string,
143
- disabled: checkedProp<boolean>(
144
- props['disabled'],
145
- { kind: 'terminal', name: 'boolean' },
146
- false,
147
- 'disabled',
148
- acceptedProps,
149
- ) as boolean,
150
- edit: checkedProp<boolean>(
151
- props['edit'],
152
- { kind: 'terminal', name: 'boolean' },
153
- false,
154
- 'edit',
155
- acceptedProps,
156
- ) as boolean,
157
- hint: checkedProp<string>(
158
- props['hint'],
159
- { kind: 'terminal', name: 'string' },
160
- false,
161
- 'hint',
162
- acceptedProps,
163
- ) as string,
164
- label: checkedProp<string>(
165
- props['label'],
166
- { kind: 'terminal', name: 'string' },
167
- false,
168
- 'label',
169
- acceptedProps,
170
- ) as string,
171
- maxLength: checkedProp<number>(
172
- props['maxLength'],
173
- { kind: 'terminal', name: 'number' },
174
- false,
175
- 'maxLength',
176
- acceptedProps,
177
- ) as number,
178
- placeholder: checkedProp<string>(
179
- props['placeholder'],
180
- { kind: 'terminal', name: 'string' },
181
- false,
182
- 'placeholder',
183
- acceptedProps,
184
- ) as string,
185
- required: checkedProp<boolean>(
186
- props['required'],
187
- { kind: 'terminal', name: 'boolean' },
188
- false,
189
- 'required',
190
- acceptedProps,
191
- ) as boolean,
192
- saveLabel: checkedProp<string>(
193
- props['saveLabel'],
194
- { kind: 'terminal', name: 'string' },
195
- false,
196
- 'saveLabel',
197
- acceptedProps,
198
- ) as string,
199
- value: checkedProp<string>(
200
- props['value'],
201
- { kind: 'terminal', name: 'string' },
202
- false,
203
- 'value',
204
- acceptedProps,
205
- ) as string,
206
- }))
140
+ const inputTracking = vuePropInputs(acceptedProps, {
141
+ actions: false,
142
+ cancelLabel: 'Cancel',
143
+ disabled: false,
144
+ edit: false,
145
+ hint: '',
146
+ label: 'Edit value',
147
+ maxLength: 0,
148
+ placeholder: '',
149
+ required: false,
150
+ saveLabel: 'Save',
151
+ value: '',
152
+ }, (name, value, source, values) => {
153
+ switch (name) {
154
+ case 'actions':
155
+ return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
156
+ case 'cancelLabel':
157
+ return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
158
+ case 'disabled':
159
+ return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
160
+ case 'edit':
161
+ return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
162
+ case 'hint':
163
+ return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
164
+ case 'label':
165
+ return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
166
+ case 'maxLength':
167
+ return checkPropInput(value, { kind: 'terminal', name: 'number' }, true, true)
168
+ case 'placeholder':
169
+ return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
170
+ case 'required':
171
+ return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
172
+ case 'saveLabel':
173
+ return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
174
+ case 'value':
175
+ return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
176
+ default:
177
+ return { ok: false }
178
+ }
179
+ }, () => {
180
+ void checkedProps.value
181
+ })
182
+ const propInputs = inputTracking.inputs
183
+ const checkedProps = computed(() => {
184
+ void inputTracking.version.value
185
+ return ({
186
+ actions: propInputs.value<boolean | null>(
187
+ 'actions',
188
+ props['actions'],
189
+ props[BINDING_INPUTS_PROP],
190
+ ) as boolean,
191
+ cancelLabel: propInputs.value<string | null>(
192
+ 'cancelLabel',
193
+ props['cancelLabel'],
194
+ props[BINDING_INPUTS_PROP],
195
+ ) as string,
196
+ disabled: propInputs.value<boolean | null>(
197
+ 'disabled',
198
+ props['disabled'],
199
+ props[BINDING_INPUTS_PROP],
200
+ ) as boolean,
201
+ edit: propInputs.value<boolean | null>(
202
+ 'edit',
203
+ props['edit'],
204
+ props[BINDING_INPUTS_PROP],
205
+ ) as boolean,
206
+ hint: propInputs.value<string | null>(
207
+ 'hint',
208
+ props['hint'],
209
+ props[BINDING_INPUTS_PROP],
210
+ ) as string,
211
+ label: propInputs.value<string | null>(
212
+ 'label',
213
+ props['label'],
214
+ props[BINDING_INPUTS_PROP],
215
+ ) as string,
216
+ maxLength: propInputs.value<number | null>(
217
+ 'maxLength',
218
+ props['maxLength'],
219
+ props[BINDING_INPUTS_PROP],
220
+ ) as number,
221
+ placeholder: propInputs.value<string | null>(
222
+ 'placeholder',
223
+ props['placeholder'],
224
+ props[BINDING_INPUTS_PROP],
225
+ ) as string,
226
+ required: propInputs.value<boolean | null>(
227
+ 'required',
228
+ props['required'],
229
+ props[BINDING_INPUTS_PROP],
230
+ ) as boolean,
231
+ saveLabel: propInputs.value<string | null>(
232
+ 'saveLabel',
233
+ props['saveLabel'],
234
+ props[BINDING_INPUTS_PROP],
235
+ ) as string,
236
+ value: propInputs.value<string | null>(
237
+ 'value',
238
+ props['value'],
239
+ props[BINDING_INPUTS_PROP],
240
+ ) as string,
241
+ })
242
+ })
243
+ const inputStatus = (name: string, handlesError: boolean) => {
244
+ void checkedProps.value
245
+ void inputTracking.version.value
246
+ return requireInputStatus(propInputs.status(name), handlesError)
247
+ }
207
248
  void checkedProps.value
208
249
  watchSyncEffect(() => {
209
250
  void checkedProps.value
@@ -318,11 +359,14 @@ useComponentHost(() => import('../components/ui-editable/ui-editable.js'), {
318
359
  } as Record<string, any>)[name],
319
360
  keys,
320
361
  ),
362
+ initials: { internalEdit: false, internalValue: '', draft: '' },
321
363
  controllerSource: {
322
364
  specifier: '../components/ui-editable/ui-editable.js',
323
365
  definition: './components/ui-editable/ui-editable.html',
324
366
  },
325
367
  props: checkedProps,
368
+ inputs: propInputs,
369
+ inputTracking,
326
370
  propInputs: (name: string) => {
327
371
  const incoming = hydrationInstance?.vnode.props
328
372
  const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
@@ -1,12 +1,14 @@
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
  for: {
4
5
  type: PropType<string | null>;
5
- default: string;
6
6
  };
7
7
  placement: {
8
8
  type: PropType<"bottom-start" | "top-start" | null>;
9
- default: string;
9
+ };
10
+ "\0htmlNextInputStatus": {
11
+ type: PropType<InputBindings>;
10
12
  };
11
13
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
14
  action: (event: CustomEvent<{
@@ -15,19 +17,17 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
15
17
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
18
  for: {
17
19
  type: PropType<string | null>;
18
- default: string;
19
20
  };
20
21
  placement: {
21
22
  type: PropType<"bottom-start" | "top-start" | null>;
22
- default: string;
23
+ };
24
+ "\0htmlNextInputStatus": {
25
+ type: PropType<InputBindings>;
23
26
  };
24
27
  }>> & Readonly<{
25
28
  onAction?: ((event: CustomEvent<{
26
29
  readonly action: "insert-below" | "duplicate" | "delete";
27
30
  }>) => any) | undefined;
28
- }>, {
29
- for: string | null;
30
- placement: "top-start" | "bottom-start" | null;
31
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
31
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
33
33
  export default _default;