@threadlabs/looma 0.13.1 → 0.13.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 (343) hide show
  1. package/components/ui-affordance-scope/ui-affordance-scope.html +9 -0
  2. package/components/ui-button/ui-button.html +18 -14
  3. package/components/ui-card/ui-card.html +8 -1
  4. package/components/ui-combobox/ui-combobox.html +1 -1
  5. package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +2 -2
  6. package/components/ui-icon-button/ui-icon-button.html +1 -1
  7. package/components/ui-nav-item/ui-nav-item.html +28 -18
  8. package/components/ui-sidebar/ui-sidebar.html +1 -1
  9. package/components/ui-text/ui-text.html +11 -1
  10. package/dist/index.js +1 -1
  11. package/package.json +2 -2
  12. package/styles/ui-action-bar.css +1 -1
  13. package/styles/ui-affordance-scope.css +10 -2
  14. package/styles/ui-avatar-group.css +1 -1
  15. package/styles/ui-avatar.css +1 -1
  16. package/styles/ui-badge.css +1 -1
  17. package/styles/ui-breadcrumb-item.css +1 -1
  18. package/styles/ui-breadcrumbs.css +1 -1
  19. package/styles/ui-button.css +1 -1
  20. package/styles/ui-callout.css +1 -1
  21. package/styles/ui-card.css +1 -1
  22. package/styles/ui-checkbox.css +1 -1
  23. package/styles/ui-cluster.css +1 -1
  24. package/styles/ui-combobox.css +1 -1
  25. package/styles/ui-container.css +1 -1
  26. package/styles/ui-context-menu.css +1 -1
  27. package/styles/ui-cover.css +1 -1
  28. package/styles/ui-description-item.css +1 -1
  29. package/styles/ui-description-list.css +1 -1
  30. package/styles/ui-dialog.css +1 -1
  31. package/styles/ui-disclosure.css +1 -1
  32. package/styles/ui-editable.css +1 -1
  33. package/styles/ui-editor-insert-table-grid.css +1 -1
  34. package/styles/ui-editor-mention-menu.css +1 -1
  35. package/styles/ui-editor-slash-menu.css +1 -1
  36. package/styles/ui-editor-table-context-menu.css +1 -1
  37. package/styles/ui-editor-table-overlay.css +3 -3
  38. package/styles/ui-editor-table-toolbar.css +1 -1
  39. package/styles/ui-editor-toolbar.css +1 -1
  40. package/styles/ui-floating-action-button.css +1 -1
  41. package/styles/ui-form-field.css +1 -1
  42. package/styles/ui-grid.css +1 -1
  43. package/styles/ui-icon-button.css +2 -2
  44. package/styles/ui-icon.css +1 -1
  45. package/styles/ui-input-group.css +1 -1
  46. package/styles/ui-input.css +1 -1
  47. package/styles/ui-list-item.css +1 -1
  48. package/styles/ui-list.css +1 -1
  49. package/styles/ui-menu-item.css +1 -1
  50. package/styles/ui-menu.css +1 -1
  51. package/styles/ui-nav-item.css +1 -1
  52. package/styles/ui-page-header.css +1 -1
  53. package/styles/ui-popover.css +1 -1
  54. package/styles/ui-radio-group.css +1 -1
  55. package/styles/ui-radio.css +1 -1
  56. package/styles/ui-reel.css +1 -1
  57. package/styles/ui-scroll-area.css +1 -1
  58. package/styles/ui-search-result-row.css +1 -1
  59. package/styles/ui-search-shell.css +1 -1
  60. package/styles/ui-section.css +1 -1
  61. package/styles/ui-select.css +1 -1
  62. package/styles/ui-separator.css +1 -1
  63. package/styles/ui-sidebar.css +2 -2
  64. package/styles/ui-spinner.css +1 -1
  65. package/styles/ui-stack.css +1 -1
  66. package/styles/ui-status-message.css +1 -1
  67. package/styles/ui-switch.css +1 -1
  68. package/styles/ui-switcher.css +1 -1
  69. package/styles/ui-tabs.css +1 -1
  70. package/styles/ui-text.css +1 -1
  71. package/styles/ui-textarea.css +1 -1
  72. package/styles/ui-toast-region.css +1 -1
  73. package/styles/ui-tooltip.css +1 -1
  74. package/styles/ui-top-bar.css +1 -1
  75. package/styles/ui-tree-item.css +1 -1
  76. package/styles/ui-tree.css +1 -1
  77. package/vanilla/UiActionBar.d.ts +1 -1
  78. package/vanilla/UiActionBar.js +2 -2
  79. package/vanilla/UiAffordanceScope.d.ts +2 -1
  80. package/vanilla/UiAffordanceScope.js +3 -3
  81. package/vanilla/UiAvatar.d.ts +1 -1
  82. package/vanilla/UiAvatar.js +2 -2
  83. package/vanilla/UiAvatarGroup.d.ts +1 -1
  84. package/vanilla/UiAvatarGroup.js +2 -2
  85. package/vanilla/UiBadge.d.ts +1 -1
  86. package/vanilla/UiBadge.js +2 -2
  87. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  88. package/vanilla/UiBreadcrumbItem.js +2 -2
  89. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  90. package/vanilla/UiBreadcrumbs.js +2 -2
  91. package/vanilla/UiButton.d.ts +3 -3
  92. package/vanilla/UiButton.js +46 -21
  93. package/vanilla/UiCallout.d.ts +1 -1
  94. package/vanilla/UiCallout.js +2 -2
  95. package/vanilla/UiCard.d.ts +3 -3
  96. package/vanilla/UiCard.js +67 -22
  97. package/vanilla/UiCheckbox.d.ts +1 -1
  98. package/vanilla/UiCheckbox.js +2 -2
  99. package/vanilla/UiCluster.d.ts +1 -1
  100. package/vanilla/UiCluster.js +2 -2
  101. package/vanilla/UiCombobox.d.ts +1 -1
  102. package/vanilla/UiCombobox.js +3 -3
  103. package/vanilla/UiContainer.d.ts +1 -1
  104. package/vanilla/UiContainer.js +2 -2
  105. package/vanilla/UiContextMenu.d.ts +1 -1
  106. package/vanilla/UiContextMenu.js +2 -2
  107. package/vanilla/UiCover.d.ts +1 -1
  108. package/vanilla/UiCover.js +2 -2
  109. package/vanilla/UiDescriptionItem.d.ts +1 -1
  110. package/vanilla/UiDescriptionItem.js +2 -2
  111. package/vanilla/UiDescriptionList.d.ts +1 -1
  112. package/vanilla/UiDescriptionList.js +2 -2
  113. package/vanilla/UiDialog.d.ts +1 -1
  114. package/vanilla/UiDialog.js +2 -2
  115. package/vanilla/UiDisclosure.d.ts +1 -1
  116. package/vanilla/UiDisclosure.js +2 -2
  117. package/vanilla/UiEditable.d.ts +1 -1
  118. package/vanilla/UiEditable.js +2 -2
  119. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  120. package/vanilla/UiEditorInsertTableGrid.js +2 -2
  121. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  122. package/vanilla/UiEditorMentionMenu.js +2 -2
  123. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  124. package/vanilla/UiEditorSlashMenu.js +2 -2
  125. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  126. package/vanilla/UiEditorTableContextMenu.js +2 -2
  127. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  128. package/vanilla/UiEditorTableOverlay.js +2 -2
  129. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  130. package/vanilla/UiEditorTableToolbar.js +2 -2
  131. package/vanilla/UiEditorToolbar.d.ts +1 -1
  132. package/vanilla/UiEditorToolbar.js +2 -2
  133. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  134. package/vanilla/UiFloatingActionButton.js +2 -2
  135. package/vanilla/UiFormField.d.ts +1 -1
  136. package/vanilla/UiFormField.js +2 -2
  137. package/vanilla/UiGrid.d.ts +1 -1
  138. package/vanilla/UiGrid.js +2 -2
  139. package/vanilla/UiIcon.d.ts +1 -1
  140. package/vanilla/UiIcon.js +2 -2
  141. package/vanilla/UiIconButton.d.ts +1 -1
  142. package/vanilla/UiIconButton.js +2 -2
  143. package/vanilla/UiInput.d.ts +1 -1
  144. package/vanilla/UiInput.js +2 -2
  145. package/vanilla/UiInputGroup.d.ts +1 -1
  146. package/vanilla/UiInputGroup.js +2 -2
  147. package/vanilla/UiList.d.ts +1 -1
  148. package/vanilla/UiList.js +2 -2
  149. package/vanilla/UiListItem.d.ts +1 -1
  150. package/vanilla/UiListItem.js +2 -2
  151. package/vanilla/UiMenu.d.ts +1 -1
  152. package/vanilla/UiMenu.js +2 -2
  153. package/vanilla/UiMenuItem.d.ts +1 -1
  154. package/vanilla/UiMenuItem.js +2 -2
  155. package/vanilla/UiNavItem.d.ts +3 -3
  156. package/vanilla/UiNavItem.js +106 -54
  157. package/vanilla/UiPageHeader.d.ts +1 -1
  158. package/vanilla/UiPageHeader.js +2 -2
  159. package/vanilla/UiPopover.d.ts +1 -1
  160. package/vanilla/UiPopover.js +2 -2
  161. package/vanilla/UiRadio.d.ts +1 -1
  162. package/vanilla/UiRadio.js +2 -2
  163. package/vanilla/UiRadioGroup.d.ts +1 -1
  164. package/vanilla/UiRadioGroup.js +2 -2
  165. package/vanilla/UiReel.d.ts +1 -1
  166. package/vanilla/UiReel.js +2 -2
  167. package/vanilla/UiScrollArea.d.ts +1 -1
  168. package/vanilla/UiScrollArea.js +2 -2
  169. package/vanilla/UiSearchResultRow.d.ts +1 -1
  170. package/vanilla/UiSearchResultRow.js +2 -2
  171. package/vanilla/UiSearchShell.d.ts +1 -1
  172. package/vanilla/UiSearchShell.js +2 -2
  173. package/vanilla/UiSection.d.ts +1 -1
  174. package/vanilla/UiSection.js +2 -2
  175. package/vanilla/UiSelect.d.ts +1 -1
  176. package/vanilla/UiSelect.js +2 -2
  177. package/vanilla/UiSeparator.d.ts +1 -1
  178. package/vanilla/UiSeparator.js +2 -2
  179. package/vanilla/UiSidebar.d.ts +1 -1
  180. package/vanilla/UiSidebar.js +2 -2
  181. package/vanilla/UiSpinner.d.ts +1 -1
  182. package/vanilla/UiSpinner.js +2 -2
  183. package/vanilla/UiStack.d.ts +1 -1
  184. package/vanilla/UiStack.js +2 -2
  185. package/vanilla/UiStatusMessage.d.ts +1 -1
  186. package/vanilla/UiStatusMessage.js +2 -2
  187. package/vanilla/UiSwitch.d.ts +1 -1
  188. package/vanilla/UiSwitch.js +2 -2
  189. package/vanilla/UiSwitcher.d.ts +1 -1
  190. package/vanilla/UiSwitcher.js +2 -2
  191. package/vanilla/UiTabs.d.ts +1 -1
  192. package/vanilla/UiTabs.js +2 -2
  193. package/vanilla/UiText.d.ts +3 -3
  194. package/vanilla/UiText.js +97 -28
  195. package/vanilla/UiTextarea.d.ts +1 -1
  196. package/vanilla/UiTextarea.js +2 -2
  197. package/vanilla/UiToastRegion.d.ts +1 -1
  198. package/vanilla/UiToastRegion.js +2 -2
  199. package/vanilla/UiTooltip.d.ts +1 -1
  200. package/vanilla/UiTooltip.js +2 -2
  201. package/vanilla/UiTopBar.d.ts +1 -1
  202. package/vanilla/UiTopBar.js +2 -2
  203. package/vanilla/UiTree.d.ts +1 -1
  204. package/vanilla/UiTree.js +2 -2
  205. package/vanilla/UiTreeItem.d.ts +1 -1
  206. package/vanilla/UiTreeItem.js +2 -2
  207. package/vue/UiActionBar.vue +1 -1
  208. package/vue/UiAffordanceScope.d.ts +2 -0
  209. package/vue/UiAffordanceScope.vue +10 -1
  210. package/vue/UiAvatar.vue +1 -1
  211. package/vue/UiAvatarGroup.vue +1 -1
  212. package/vue/UiBadge.vue +1 -1
  213. package/vue/UiBreadcrumbItem.vue +1 -1
  214. package/vue/UiBreadcrumbs.vue +1 -1
  215. package/vue/UiButton.d.ts +6 -4
  216. package/vue/UiButton.vue +14 -8
  217. package/vue/UiCallout.vue +1 -1
  218. package/vue/UiCard.d.ts +8 -2
  219. package/vue/UiCard.vue +27 -4
  220. package/vue/UiCheckbox.vue +1 -1
  221. package/vue/UiCluster.vue +1 -1
  222. package/vue/UiCombobox.vue +2 -2
  223. package/vue/UiContainer.vue +1 -1
  224. package/vue/UiContextMenu.vue +1 -1
  225. package/vue/UiCover.vue +1 -1
  226. package/vue/UiDescriptionItem.vue +1 -1
  227. package/vue/UiDescriptionList.vue +1 -1
  228. package/vue/UiDialog.vue +1 -1
  229. package/vue/UiDisclosure.vue +1 -1
  230. package/vue/UiEditable.vue +1 -1
  231. package/vue/UiEditorInsertTableGrid.vue +1 -1
  232. package/vue/UiEditorMentionMenu.vue +1 -1
  233. package/vue/UiEditorSlashMenu.vue +1 -1
  234. package/vue/UiEditorTableContextMenu.vue +1 -1
  235. package/vue/UiEditorTableOverlay.vue +3 -3
  236. package/vue/UiEditorTableToolbar.vue +1 -1
  237. package/vue/UiEditorToolbar.vue +1 -1
  238. package/vue/UiFloatingActionButton.vue +1 -1
  239. package/vue/UiFormField.vue +1 -1
  240. package/vue/UiGrid.vue +1 -1
  241. package/vue/UiIcon.vue +1 -1
  242. package/vue/UiIconButton.vue +2 -2
  243. package/vue/UiInput.vue +1 -1
  244. package/vue/UiInputGroup.vue +1 -1
  245. package/vue/UiList.vue +1 -1
  246. package/vue/UiListItem.vue +1 -1
  247. package/vue/UiMenu.vue +1 -1
  248. package/vue/UiMenuItem.vue +1 -1
  249. package/vue/UiNavItem.d.ts +10 -4
  250. package/vue/UiNavItem.vue +22 -5
  251. package/vue/UiPageHeader.vue +1 -1
  252. package/vue/UiPopover.vue +1 -1
  253. package/vue/UiRadio.vue +1 -1
  254. package/vue/UiRadioGroup.vue +1 -1
  255. package/vue/UiReel.vue +1 -1
  256. package/vue/UiScrollArea.vue +1 -1
  257. package/vue/UiSearchResultRow.vue +1 -1
  258. package/vue/UiSearchShell.vue +1 -1
  259. package/vue/UiSection.vue +1 -1
  260. package/vue/UiSelect.vue +1 -1
  261. package/vue/UiSeparator.vue +1 -1
  262. package/vue/UiSidebar.vue +2 -2
  263. package/vue/UiSpinner.vue +1 -1
  264. package/vue/UiStack.vue +1 -1
  265. package/vue/UiStatusMessage.vue +1 -1
  266. package/vue/UiSwitch.vue +1 -1
  267. package/vue/UiSwitcher.vue +1 -1
  268. package/vue/UiTabs.vue +1 -1
  269. package/vue/UiText.d.ts +14 -4
  270. package/vue/UiText.vue +37 -6
  271. package/vue/UiTextarea.vue +1 -1
  272. package/vue/UiToastRegion.vue +1 -1
  273. package/vue/UiTooltip.vue +1 -1
  274. package/vue/UiTopBar.vue +1 -1
  275. package/vue/UiTree.vue +1 -1
  276. package/vue/UiTreeItem.vue +1 -1
  277. package/vue/chunks/UiActionBar.js +1 -1
  278. package/vue/chunks/UiAffordanceScope.js +6 -3
  279. package/vue/chunks/UiAvatar.js +1 -1
  280. package/vue/chunks/UiAvatarGroup.js +1 -1
  281. package/vue/chunks/UiBadge.js +1 -1
  282. package/vue/chunks/UiBreadcrumbItem.js +1 -1
  283. package/vue/chunks/UiBreadcrumbs.js +1 -1
  284. package/vue/chunks/UiButton.js +28 -24
  285. package/vue/chunks/UiCallout.js +1 -1
  286. package/vue/chunks/UiCard.js +20 -6
  287. package/vue/chunks/UiCheckbox.js +1 -1
  288. package/vue/chunks/UiCluster.js +1 -1
  289. package/vue/chunks/UiCombobox.js +2 -2
  290. package/vue/chunks/UiContainer.js +1 -1
  291. package/vue/chunks/UiContextMenu.js +1 -1
  292. package/vue/chunks/UiCover.js +1 -1
  293. package/vue/chunks/UiDescriptionItem.js +1 -1
  294. package/vue/chunks/UiDescriptionList.js +1 -1
  295. package/vue/chunks/UiDialog.js +1 -1
  296. package/vue/chunks/UiDisclosure.js +1 -1
  297. package/vue/chunks/UiEditable.js +1 -1
  298. package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
  299. package/vue/chunks/UiEditorMentionMenu.js +1 -1
  300. package/vue/chunks/UiEditorSlashMenu.js +1 -1
  301. package/vue/chunks/UiEditorTableContextMenu.js +1 -1
  302. package/vue/chunks/UiEditorTableOverlay.js +1 -1
  303. package/vue/chunks/UiEditorTableToolbar.js +1 -1
  304. package/vue/chunks/UiEditorToolbar.js +1 -1
  305. package/vue/chunks/UiFloatingActionButton.js +1 -1
  306. package/vue/chunks/UiFormField.js +1 -1
  307. package/vue/chunks/UiGrid.js +1 -1
  308. package/vue/chunks/UiIcon.js +1 -1
  309. package/vue/chunks/UiIconButton.js +1 -1
  310. package/vue/chunks/UiInput.js +1 -1
  311. package/vue/chunks/UiInputGroup.js +1 -1
  312. package/vue/chunks/UiList.js +1 -1
  313. package/vue/chunks/UiListItem.js +1 -1
  314. package/vue/chunks/UiMenu.js +1 -1
  315. package/vue/chunks/UiMenuItem.js +1 -1
  316. package/vue/chunks/UiNavItem.js +58 -28
  317. package/vue/chunks/UiPageHeader.js +1 -1
  318. package/vue/chunks/UiPopover.js +1 -1
  319. package/vue/chunks/UiRadio.js +1 -1
  320. package/vue/chunks/UiRadioGroup.js +1 -1
  321. package/vue/chunks/UiReel.js +1 -1
  322. package/vue/chunks/UiScrollArea.js +1 -1
  323. package/vue/chunks/UiSearchResultRow.js +1 -1
  324. package/vue/chunks/UiSearchShell.js +1 -1
  325. package/vue/chunks/UiSection.js +1 -1
  326. package/vue/chunks/UiSelect.js +1 -1
  327. package/vue/chunks/UiSeparator.js +1 -1
  328. package/vue/chunks/UiSidebar.js +1 -1
  329. package/vue/chunks/UiSpinner.js +1 -1
  330. package/vue/chunks/UiStack.js +1 -1
  331. package/vue/chunks/UiStatusMessage.js +1 -1
  332. package/vue/chunks/UiSwitch.js +1 -1
  333. package/vue/chunks/UiSwitcher.js +1 -1
  334. package/vue/chunks/UiTabs.js +1 -1
  335. package/vue/chunks/UiText.js +29 -7
  336. package/vue/chunks/UiTextarea.js +1 -1
  337. package/vue/chunks/UiToastRegion.js +1 -1
  338. package/vue/chunks/UiTooltip.js +1 -1
  339. package/vue/chunks/UiTopBar.js +1 -1
  340. package/vue/chunks/UiTree.js +1 -1
  341. package/vue/chunks/UiTreeItem.js +1 -1
  342. package/vue/components.css +918 -912
  343. package/vue/host.ts +1 -1
@@ -1,4 +1,5 @@
1
1
  type __VLS_Props = {
2
+ guide?: 'dot' | 'none';
2
3
  nearRadius?: number;
3
4
  };
4
5
  declare var __VLS_1: {};
@@ -6,6 +7,7 @@ type __VLS_Slots = {} & {
6
7
  default?: (props: typeof __VLS_1) => any;
7
8
  };
8
9
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
+ guide: "dot" | "none";
9
11
  nearRadius: number;
10
12
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
13
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, ref } from 'vue'
4
4
  import * as controllerModule from '../components/ui-affordance-scope/ui-affordance-scope.js'
@@ -8,9 +8,11 @@ defineOptions({ inheritAttrs: false })
8
8
 
9
9
  const props = withDefaults(
10
10
  defineProps<{
11
+ guide?: 'dot' | 'none'
11
12
  nearRadius?: number
12
13
  }>(),
13
14
  {
15
+ guide: 'dot',
14
16
  nearRadius: 16,
15
17
  },
16
18
  )
@@ -22,6 +24,7 @@ const engaged = ref(false)
22
24
  const hostState = computed(() =>
23
25
  [
24
26
  engaged.value && 'engaged',
27
+ props.guide && `guide guide=${props.guide}`,
25
28
  ].filter(Boolean).join(' ')
26
29
  )
27
30
 
@@ -48,12 +51,18 @@ useComponentHost(controllerModule.default, {
48
51
  [data-component~="ui-affordance-scope"] {
49
52
  display: contents;
50
53
  --ui-affordance-scope-engaged: 0;
54
+ --ui-affordance-scope-guide: 1;
51
55
  }
52
56
 
53
57
  [data-component~="ui-affordance-scope"][data-ui-affordance-scope-state~="engaged"] {
54
58
  --ui-affordance-scope-engaged: 1;
55
59
  }
56
60
 
61
+ /* Published to descendants: each guide multiplies its opacity by it, so none reaches them all. */
62
+ [data-component~="ui-affordance-scope"][data-ui-affordance-scope-state~="guide=none"] {
63
+ --ui-affordance-scope-guide: 0;
64
+ }
65
+
57
66
  /* A component that sets its display still honours the hidden attribute on its root. */
58
67
  [data-component~="ui-affordance-scope"][hidden] {
59
68
  display: none;
package/vue/UiAvatar.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, ref, useTemplateRef } from 'vue'
4
4
  import * as controllerModule from '../components/ui-avatar/ui-avatar.js'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, ref, useTemplateRef } from 'vue'
4
4
  import * as controllerModule from '../components/ui-avatar-group/ui-avatar-group.js'
package/vue/UiBadge.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed } from 'vue'
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed } from 'vue'
4
4
  import UiIcon from './UiIcon.vue'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  defineOptions({ inheritAttrs: false })
4
4
 
package/vue/UiButton.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  type __VLS_Props = {
2
- as?: 'button' | 'a';
3
2
  align?: 'center' | 'start';
3
+ as?: 'button' | 'a';
4
4
  disabled?: boolean;
5
5
  href?: string;
6
6
  rel?: string;
@@ -11,17 +11,19 @@ type __VLS_Props = {
11
11
  type?: 'button' | 'submit' | 'reset';
12
12
  variant?: 'outline' | 'solid' | 'danger' | 'ghost' | 'link';
13
13
  };
14
- declare var __VLS_8: {};
14
+ declare var __VLS_1: {}, __VLS_3: {};
15
15
  type __VLS_Slots = {} & {
16
- default?: (props: typeof __VLS_8) => any;
16
+ default?: (props: typeof __VLS_1) => any;
17
+ } & {
18
+ default?: (props: typeof __VLS_3) => any;
17
19
  };
18
20
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
21
  type: "button" | "submit" | "reset";
20
22
  size: "sm" | "md" | "lg";
21
23
  tone: "accent" | "neutral" | "danger" | "success" | "warning" | "info";
22
24
  variant: "outline" | "solid" | "danger" | "ghost" | "link";
23
- as: "button" | "a";
24
25
  align: "center" | "start";
26
+ as: "button" | "a";
25
27
  disabled: boolean;
26
28
  stretch: boolean;
27
29
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
package/vue/UiButton.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed } from 'vue'
4
4
 
@@ -6,8 +6,8 @@ defineOptions({ inheritAttrs: false })
6
6
 
7
7
  const props = withDefaults(
8
8
  defineProps<{
9
- as?: 'button' | 'a'
10
9
  align?: 'center' | 'start'
10
+ as?: 'button' | 'a'
11
11
  disabled?: boolean
12
12
  href?: string
13
13
  rel?: string
@@ -19,8 +19,8 @@ const props = withDefaults(
19
19
  variant?: 'outline' | 'solid' | 'danger' | 'ghost' | 'link'
20
20
  }>(),
21
21
  {
22
- as: 'button',
23
22
  align: 'center',
23
+ as: 'button',
24
24
  disabled: false,
25
25
  size: 'md',
26
26
  stretch: false,
@@ -56,12 +56,10 @@ function attribute(value: unknown): any {
56
56
  </script>
57
57
 
58
58
  <template>
59
- <component
60
- :is="as"
59
+ <a
60
+ v-if="as === 'a'"
61
61
  data-component="ui-button"
62
62
  v-bind="$attrs"
63
- :type="attribute(({ true: type, false: null })[`${!href}`])"
64
- :disabled="attribute(({ true: true, false: null })[`${disabled && !href}`])"
65
63
  :href="attribute(({ true: null, false: href })[`${disabled}`])"
66
64
  :target="target"
67
65
  :rel="rel"
@@ -69,9 +67,17 @@ function attribute(value: unknown): any {
69
67
  ? String(({ true: 'true', false: null })[`${Boolean(disabled && href)}`])
70
68
  : attribute(({ true: 'true', false: null })[`${Boolean(disabled && href)}`])"
71
69
  :data-ui-button-state="hostState || undefined"
70
+ ><slot /></a>
71
+ <button
72
+ v-else
73
+ data-component="ui-button"
74
+ v-bind="$attrs"
75
+ :type="type"
76
+ :disabled="disabled"
77
+ :data-ui-button-state="hostState || undefined"
72
78
  >
73
79
  <slot />
74
- </component>
80
+ </button>
75
81
  </template>
76
82
 
77
83
  <style scoped>
package/vue/UiCallout.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed } from 'vue'
4
4
 
package/vue/UiCard.d.ts CHANGED
@@ -4,9 +4,15 @@ type __VLS_Props = {
4
4
  tone?: 'neutral' | 'danger';
5
5
  variant?: 'outlined' | 'subtle' | 'elevated';
6
6
  };
7
- declare var __VLS_8: {};
7
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
8
8
  type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_8) => any;
9
+ default?: (props: typeof __VLS_1) => any;
10
+ } & {
11
+ default?: (props: typeof __VLS_3) => any;
12
+ } & {
13
+ default?: (props: typeof __VLS_5) => any;
14
+ } & {
15
+ default?: (props: typeof __VLS_7) => any;
10
16
  };
11
17
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
18
  tone: "neutral" | "danger";
package/vue/UiCard.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed } from 'vue'
4
4
 
@@ -30,10 +30,33 @@ const hostState = computed(() =>
30
30
  </script>
31
31
 
32
32
  <template>
33
- <component
34
- :is="as" data-component="ui-card" v-bind="$attrs" :data-ui-card-state="hostState || undefined">
33
+ <section
34
+ v-if="as === 'section'"
35
+ data-component="ui-card"
36
+ v-bind="$attrs"
37
+ :data-ui-card-state="hostState || undefined"
38
+ >
35
39
  <slot />
36
- </component>
40
+ </section>
41
+ <article
42
+ v-else-if="as === 'article'"
43
+ data-component="ui-card"
44
+ v-bind="$attrs"
45
+ :data-ui-card-state="hostState || undefined"
46
+ >
47
+ <slot />
48
+ </article>
49
+ <aside
50
+ v-else-if="as === 'aside'"
51
+ data-component="ui-card"
52
+ v-bind="$attrs"
53
+ :data-ui-card-state="hostState || undefined"
54
+ >
55
+ <slot />
56
+ </aside>
57
+ <div v-else data-component="ui-card" v-bind="$attrs" :data-ui-card-state="hostState || undefined">
58
+ <slot />
59
+ </div>
37
60
  </template>
38
61
 
39
62
  <style scoped>
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, ref, useTemplateRef } from 'vue'
4
4
  import * as controllerModule from '../components/ui-checkbox/ui-checkbox.js'
package/vue/UiCluster.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed } from 'vue'
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, ref, useTemplateRef } from 'vue'
4
4
  import * as controllerModule from '../components/ui-combobox/ui-combobox.js'
@@ -653,7 +653,7 @@ defineExpose({
653
653
  </div>
654
654
  <slot name="footer" />
655
655
  </div>
656
- <div class="message" :id="`${uid}-validation`" :hidden="!(validation.issues[0])">
656
+ <div class="message" :id="`${uid}-validation`" :hidden="!validation.issues.length">
657
657
  <div v-for="(issue, index) in validation.issues" :key="index">{{ issue.message }}</div>
658
658
  </div>
659
659
  <div class="sr-only" role="status" aria-live="polite" aria-atomic="true">{{ statusText }}</div>
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed } from 'vue'
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { ref, useTemplateRef } from 'vue'
4
4
  import * as controllerModule from '../components/ui-context-menu/ui-context-menu.js'
package/vue/UiCover.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed } from 'vue'
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  defineOptions({ inheritAttrs: false })
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed } from 'vue'
4
4
 
package/vue/UiDialog.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { ref, useTemplateRef } from 'vue'
4
4
  import * as controllerModule from '../components/ui-dialog/ui-dialog.js'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, ref, useTemplateRef } from 'vue'
4
4
  import * as controllerModule from '../components/ui-disclosure/ui-disclosure.js'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, ref, useTemplateRef } from 'vue'
4
4
  import * as controllerModule from '../components/ui-editable/ui-editable.js'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { ref, useTemplateRef } from 'vue'
4
4
  import * as controllerModule from '../components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.js'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { ref } from 'vue'
4
4
  import * as controllerModule from '../components/ui-editor-mention-menu/ui-editor-mention-menu.js'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { ref } from 'vue'
4
4
  import * as controllerModule from '../components/ui-editor-slash-menu/ui-editor-slash-menu.js'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { ref } from 'vue'
4
4
  import * as controllerModule from '../components/ui-editor-table-context-menu/ui-editor-table-context-menu.js'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { ref } from 'vue'
4
4
  import * as controllerModule from '../components/ui-editor-table-overlay/ui-editor-table-overlay.js'
@@ -408,7 +408,7 @@ useComponentHost(controllerModule.default, {
408
408
  height: var(--ui-affordance-guide-size);
409
409
  border-radius: var(--ui-radius-round);
410
410
  background: var(--ui-affordance-guide-color, var(--ui-border-strong));
411
- opacity: var(--ui-affordance-guide-opacity);
411
+ opacity: calc(var(--ui-affordance-guide-opacity) * var(--ui-affordance-scope-guide, 1));
412
412
  transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
413
413
  }
414
414
 
@@ -497,7 +497,7 @@ useComponentHost(controllerModule.default, {
497
497
  inset: 50% auto auto 50%;
498
498
  border-radius: var(--ui-radius-round);
499
499
  background: var(--ui-affordance-guide-color, var(--ui-border-strong));
500
- opacity: var(--ui-affordance-guide-opacity);
500
+ opacity: calc(var(--ui-affordance-guide-opacity) * var(--ui-affordance-scope-guide, 1));
501
501
  transform: translate(-50%, -50%);
502
502
  transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
503
503
  pointer-events: none;
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { ref } from 'vue'
4
4
  import * as controllerModule from '../components/ui-editor-table-toolbar/ui-editor-table-toolbar.js'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, useTemplateRef } from 'vue'
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed } from 'vue'
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { ref } from 'vue'
4
4
  import * as controllerModule from '../components/ui-form-field/ui-form-field.js'
package/vue/UiGrid.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed } from 'vue'
4
4
 
package/vue/UiIcon.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { ref } from 'vue'
4
4
  import * as controllerModule from '../components/ui-icon/ui-icon.js'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, ref } from 'vue'
4
4
  import * as controllerModule from '../components/ui-icon-button/ui-icon-button.js'
@@ -156,7 +156,7 @@ useComponentHost(controllerModule.default, {
156
156
  block-size: var(--ui-affordance-guide-size);
157
157
  border-radius: var(--ui-radius-round);
158
158
  background: var(--ui-affordance-guide-color, var(--ui-border-strong));
159
- opacity: var(--ui-affordance-guide-opacity);
159
+ opacity: calc(var(--ui-affordance-guide-opacity) * var(--ui-affordance-scope-guide, 1));
160
160
  transform: translate(-50%, -50%);
161
161
  transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
162
162
  pointer-events: none;
package/vue/UiInput.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, ref } from 'vue'
4
4
  import * as controllerModule from '../components/ui-input/ui-input.js'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, ref } from 'vue'
4
4
  import * as controllerModule from '../components/ui-input-group/ui-input-group.js'
package/vue/UiList.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed } from 'vue'
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed } from 'vue'
4
4
 
package/vue/UiMenu.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, ref } from 'vue'
4
4
  import * as controllerModule from '../components/ui-menu/ui-menu.js'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  defineOptions({ inheritAttrs: false })
4
4
 
@@ -5,13 +5,19 @@ type __VLS_Props = {
5
5
  rel?: string;
6
6
  target?: string;
7
7
  };
8
- declare var __VLS_8: {}, __VLS_10: {}, __VLS_12: {};
8
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {};
9
9
  type __VLS_Slots = {} & {
10
- leading?: (props: typeof __VLS_8) => any;
10
+ leading?: (props: typeof __VLS_1) => any;
11
11
  } & {
12
- default?: (props: typeof __VLS_10) => any;
12
+ default?: (props: typeof __VLS_3) => any;
13
13
  } & {
14
- description?: (props: typeof __VLS_12) => any;
14
+ description?: (props: typeof __VLS_5) => any;
15
+ } & {
16
+ leading?: (props: typeof __VLS_7) => any;
17
+ } & {
18
+ default?: (props: typeof __VLS_9) => any;
19
+ } & {
20
+ description?: (props: typeof __VLS_11) => any;
15
21
  };
16
22
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
17
23
  current: boolean | "page" | "step" | "location";
package/vue/UiNavItem.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  defineOptions({ inheritAttrs: false })
4
4
 
@@ -31,11 +31,10 @@ function attribute(value: unknown): any {
31
31
  </script>
32
32
 
33
33
  <template>
34
- <component
35
- :is="as"
34
+ <a
35
+ v-if="as === 'a'"
36
36
  data-component="ui-nav-item"
37
37
  v-bind="$attrs"
38
- :type="attribute(({ true: 'button', false: null })[`${!href}`])"
39
38
  :href="href"
40
39
  :target="target"
41
40
  :rel="rel"
@@ -48,12 +47,30 @@ function attribute(value: unknown): any {
48
47
  : attribute(
49
48
  ({ true: 'page', false: null, page: 'page', step: 'step', location: 'location' })[`${current}`],
50
49
  )"
50
+ ><span class="indicator" aria-hidden="true"></span>
51
+ <span class="leading"><slot name="leading" /></span>
52
+ <span class="content"><span class="label"><slot /></span>
53
+ <span class="description"><slot name="description" /></span></span></a>
54
+ <button
55
+ v-else
56
+ data-component="ui-nav-item"
57
+ type="button"
58
+ v-bind="$attrs"
59
+ :aria-current="typeof (({ true: 'page', false: null, page: 'page', step: 'step', location: 'location' })[
60
+ `${current}`
61
+ ]) === 'boolean'
62
+ ? String(
63
+ ({ true: 'page', false: null, page: 'page', step: 'step', location: 'location' })[`${current}`],
64
+ )
65
+ : attribute(
66
+ ({ true: 'page', false: null, page: 'page', step: 'step', location: 'location' })[`${current}`],
67
+ )"
51
68
  >
52
69
  <span class="indicator" aria-hidden="true"></span>
53
70
  <span class="leading"><slot name="leading" /></span>
54
71
  <span class="content"><span class="label"><slot /></span>
55
72
  <span class="description"><slot name="description" /></span></span>
56
- </component>
73
+ </button>
57
74
  </template>
58
75
 
59
76
  <style scoped>
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed } from 'vue'
4
4
 
package/vue/UiPopover.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, ref } from 'vue'
4
4
  import * as controllerModule from '../components/ui-popover/ui-popover.js'
package/vue/UiRadio.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, ref, useTemplateRef } from 'vue'
4
4
  import * as controllerModule from '../components/ui-radio/ui-radio.js'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, ref } from 'vue'
4
4
  import * as controllerModule from '../components/ui-radio-group/ui-radio-group.js'
package/vue/UiReel.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed } from 'vue'
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed } from 'vue'
4
4
 
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.5 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.7 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed } from 'vue'
4
4