@soybeanjs/headless 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (287) hide show
  1. package/README.md +10 -5
  2. package/README.zh-CN.md +10 -5
  3. package/dist/components/_icon/types.d.ts +2 -2
  4. package/dist/components/accordion/types.d.ts +19 -19
  5. package/dist/components/affix/types.d.ts +12 -12
  6. package/dist/components/alert/types.d.ts +15 -15
  7. package/dist/components/anchor/anchor-root.vue.d.ts +1 -1
  8. package/dist/components/anchor/types.d.ts +19 -19
  9. package/dist/components/arrow/types.d.ts +1 -1
  10. package/dist/components/aspect-ratio/types.d.ts +1 -1
  11. package/dist/components/autocomplete/autocomplete-compact.vue.d.ts +2 -2
  12. package/dist/components/autocomplete/autocomplete-root.vue.d.ts +4 -4
  13. package/dist/components/autocomplete/types.d.ts +23 -23
  14. package/dist/components/avatar/avatar-compact.js +1 -0
  15. package/dist/components/avatar/avatar-compact.vue.d.ts +20 -0
  16. package/dist/components/avatar/avatar-fallback.js +1 -1
  17. package/dist/components/avatar/avatar-image.js +1 -1
  18. package/dist/components/avatar/avatar-root.js +1 -1
  19. package/dist/components/avatar/index.d.ts +6 -5
  20. package/dist/components/avatar/index.js +1 -1
  21. package/dist/components/avatar/types.d.ts +38 -7
  22. package/dist/components/backtop/backtop.vue.d.ts +3 -3
  23. package/dist/components/backtop/types.d.ts +5 -5
  24. package/dist/components/badge/badge-compact.js +1 -0
  25. package/dist/components/badge/badge-compact.vue.d.ts +21 -0
  26. package/dist/components/badge/badge-content.js +1 -1
  27. package/dist/components/badge/badge-root.js +1 -1
  28. package/dist/components/badge/index.d.ts +5 -4
  29. package/dist/components/badge/index.js +1 -1
  30. package/dist/components/badge/types.d.ts +26 -6
  31. package/dist/components/bottom-sheet/bottom-sheet-root-nested.vue.d.ts +2 -2
  32. package/dist/components/bottom-sheet/types.d.ts +13 -13
  33. package/dist/components/breadcrumb/types.d.ts +21 -21
  34. package/dist/components/button/button.js +1 -1
  35. package/dist/components/button/button.vue.d.ts +2 -2
  36. package/dist/components/button/types.d.ts +4 -4
  37. package/dist/components/calendar/types.d.ts +32 -32
  38. package/dist/components/card/card-root.vue.d.ts +1 -1
  39. package/dist/components/card/types.d.ts +20 -20
  40. package/dist/components/carousel/carousel-compact.js +1 -0
  41. package/dist/components/carousel/carousel-compact.vue.d.ts +23 -0
  42. package/dist/components/carousel/carousel-container.js +1 -0
  43. package/dist/components/carousel/carousel-container.vue.d.ts +18 -0
  44. package/dist/components/carousel/carousel-content.js +1 -1
  45. package/dist/components/carousel/carousel-control.js +1 -0
  46. package/dist/components/carousel/carousel-control.vue.d.ts +18 -0
  47. package/dist/components/carousel/carousel-item.js +1 -1
  48. package/dist/components/carousel/carousel-navigation.js +1 -0
  49. package/dist/components/carousel/carousel-navigation.vue.d.ts +18 -0
  50. package/dist/components/carousel/carousel-next.js +1 -1
  51. package/dist/components/carousel/carousel-next.vue.d.ts +2 -12
  52. package/dist/components/carousel/carousel-previous.js +1 -1
  53. package/dist/components/carousel/carousel-previous.vue.d.ts +2 -12
  54. package/dist/components/carousel/carousel-root.js +1 -1
  55. package/dist/components/carousel/carousel-root.vue.d.ts +6 -28
  56. package/dist/components/carousel/context.d.ts +0 -1
  57. package/dist/components/carousel/context.js +1 -1
  58. package/dist/components/carousel/hooks.js +1 -0
  59. package/dist/components/carousel/index.d.ts +11 -9
  60. package/dist/components/carousel/index.js +1 -1
  61. package/dist/components/carousel/types.d.ts +121 -29
  62. package/dist/components/checkbox/types.d.ts +27 -27
  63. package/dist/components/clipboard/clipboard.vue.d.ts +2 -2
  64. package/dist/components/clipboard/types.d.ts +5 -5
  65. package/dist/components/collapsible/collapsible-root.vue.d.ts +1 -1
  66. package/dist/components/collapsible/types.d.ts +6 -6
  67. package/dist/components/color-area/color-area-root.vue.d.ts +1 -1
  68. package/dist/components/color-area/types.d.ts +7 -7
  69. package/dist/components/color-field/color-field-root.vue.d.ts +1 -1
  70. package/dist/components/color-field/types.d.ts +5 -5
  71. package/dist/components/color-picker/types.d.ts +3 -3
  72. package/dist/components/color-slider/color-slider-root.vue.d.ts +2 -2
  73. package/dist/components/color-slider/types.d.ts +6 -6
  74. package/dist/components/color-swatch/types.d.ts +1 -1
  75. package/dist/components/color-swatch-picker/color-swatch-picker-root.vue.d.ts +2 -2
  76. package/dist/components/color-swatch-picker/types.d.ts +8 -8
  77. package/dist/components/combobox/combobox-compact.vue.d.ts +2 -2
  78. package/dist/components/combobox/combobox-content.vue.d.ts +1 -1
  79. package/dist/components/combobox/combobox-root.vue.d.ts +2 -2
  80. package/dist/components/combobox/types.d.ts +42 -42
  81. package/dist/components/command/command-compact.vue.d.ts +2 -2
  82. package/dist/components/command/types.d.ts +25 -25
  83. package/dist/components/config-provider/config-provider.js +12 -0
  84. package/dist/components/config-provider/config-provider.vue.d.ts +1 -1
  85. package/dist/components/config-provider/types.d.ts +1 -1
  86. package/dist/components/context-menu/context-menu-checkbox-compact.vue.d.ts +2 -2
  87. package/dist/components/context-menu/context-menu-compact.vue.d.ts +2 -2
  88. package/dist/components/context-menu/context-menu-content.vue.d.ts +2 -2
  89. package/dist/components/context-menu/context-menu-radio-compact.vue.d.ts +2 -2
  90. package/dist/components/context-menu/context-menu-wrapper-compact.vue.d.ts +2 -2
  91. package/dist/components/context-menu/types.d.ts +21 -21
  92. package/dist/components/date-field/date-field-root.vue.d.ts +2 -2
  93. package/dist/components/date-field/types.d.ts +10 -10
  94. package/dist/components/date-picker/date-picker-compact.vue.d.ts +2 -2
  95. package/dist/components/date-picker/date-picker-root.vue.d.ts +7 -7
  96. package/dist/components/date-picker/types.d.ts +18 -18
  97. package/dist/components/date-range-field/date-range-field-root.vue.d.ts +2 -2
  98. package/dist/components/date-range-field/types.d.ts +11 -11
  99. package/dist/components/date-range-picker/date-range-picker-compact.vue.d.ts +2 -2
  100. package/dist/components/date-range-picker/date-range-picker-root.vue.d.ts +7 -7
  101. package/dist/components/date-range-picker/types.d.ts +12 -12
  102. package/dist/components/dialog/dialog-compact.vue.d.ts +5 -5
  103. package/dist/components/dialog/types.d.ts +40 -40
  104. package/dist/components/dropdown-menu/dropdown-menu-checkbox-compact.vue.d.ts +2 -2
  105. package/dist/components/dropdown-menu/dropdown-menu-compact.vue.d.ts +2 -2
  106. package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +2 -2
  107. package/dist/components/dropdown-menu/dropdown-menu-radio-compact.vue.d.ts +2 -2
  108. package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +1 -1
  109. package/dist/components/dropdown-menu/dropdown-menu-wrapper-compact.vue.d.ts +2 -2
  110. package/dist/components/dropdown-menu/types.d.ts +21 -21
  111. package/dist/components/editable/types.d.ts +25 -25
  112. package/dist/components/empty/empty-compact.js +1 -0
  113. package/dist/components/empty/empty-compact.vue.d.ts +15 -0
  114. package/dist/components/empty/empty-content.js +1 -1
  115. package/dist/components/empty/empty-description.js +1 -1
  116. package/dist/components/empty/empty-header.js +1 -1
  117. package/dist/components/empty/empty-media.js +1 -1
  118. package/dist/components/empty/empty-root.js +1 -1
  119. package/dist/components/empty/empty-title.js +1 -1
  120. package/dist/components/empty/index.d.ts +9 -8
  121. package/dist/components/empty/index.js +1 -1
  122. package/dist/components/empty/types.d.ts +72 -9
  123. package/dist/components/form/context.d.ts +3 -2
  124. package/dist/components/form/context.js +1 -1
  125. package/dist/components/form/core/types.d.ts +24 -24
  126. package/dist/components/form/core/use-form.js +1 -1
  127. package/dist/components/form/form-compact.js +1 -0
  128. package/dist/components/form/form-compact.vue.d.ts +21 -0
  129. package/dist/components/form/form-control.js +1 -1
  130. package/dist/components/form/form-description.js +1 -1
  131. package/dist/components/form/form-error.js +1 -1
  132. package/dist/components/form/form-field-array-compact.js +1 -0
  133. package/dist/components/form/form-field-array-compact.vue.d.ts +16 -0
  134. package/dist/components/form/form-field-base-compact.js +1 -0
  135. package/dist/components/form/form-field-base-compact.vue.d.ts +26 -0
  136. package/dist/components/form/form-field-compact.js +1 -0
  137. package/dist/components/form/form-field-compact.vue.d.ts +16 -0
  138. package/dist/components/form/form-field.js +1 -1
  139. package/dist/components/form/form-label.js +1 -1
  140. package/dist/components/form/index.d.ts +14 -10
  141. package/dist/components/form/index.js +1 -1
  142. package/dist/components/form/shared.js +1 -0
  143. package/dist/components/form/types.d.ts +129 -10
  144. package/dist/components/form/use-form.d.ts +8 -0
  145. package/dist/components/form/use-form.js +1 -0
  146. package/dist/components/hover-card/hover-card-compact.vue.d.ts +1 -1
  147. package/dist/components/hover-card/hover-card-root.vue.d.ts +1 -1
  148. package/dist/components/hover-card/types.d.ts +15 -15
  149. package/dist/components/input/index.d.ts +6 -4
  150. package/dist/components/input/index.js +1 -1
  151. package/dist/components/input/input-clear.js +1 -0
  152. package/dist/components/input/input-clear.vue.d.ts +22 -0
  153. package/dist/components/input/input-compact.js +1 -0
  154. package/dist/components/input/input-compact.vue.d.ts +21 -0
  155. package/dist/components/input/input-control.js +1 -1
  156. package/dist/components/input/input-root.js +1 -1
  157. package/dist/components/input/types.d.ts +79 -8
  158. package/dist/components/input-number/input-number-root.vue.d.ts +1 -1
  159. package/dist/components/input-number/types.d.ts +7 -7
  160. package/dist/components/input-otp/input-otp-compact.vue.d.ts +4 -4
  161. package/dist/components/input-otp/input-otp-root.vue.d.ts +4 -4
  162. package/dist/components/input-otp/types.d.ts +14 -14
  163. package/dist/components/kbd/types.d.ts +2 -2
  164. package/dist/components/label/types.d.ts +1 -1
  165. package/dist/components/layout/layout-classic-compact.vue.d.ts +1 -1
  166. package/dist/components/layout/layout-compact.vue.d.ts +1 -1
  167. package/dist/components/layout/layout-root.vue.d.ts +1 -1
  168. package/dist/components/layout/types.d.ts +28 -28
  169. package/dist/components/link/types.d.ts +4 -4
  170. package/dist/components/list/types.d.ts +7 -7
  171. package/dist/components/listbox/listbox-root.vue.d.ts +2 -2
  172. package/dist/components/listbox/types.d.ts +16 -16
  173. package/dist/components/menu/menu-content.vue.d.ts +2 -2
  174. package/dist/components/menu/menu-option-compact.vue.d.ts +2 -2
  175. package/dist/components/menu/menu-options-compact.vue.d.ts +2 -2
  176. package/dist/components/menu/menu-sub-content.vue.d.ts +2 -2
  177. package/dist/components/menu/types.d.ts +68 -68
  178. package/dist/components/menubar/menubar-compact.vue.d.ts +2 -2
  179. package/dist/components/menubar/menubar-content.vue.d.ts +2 -2
  180. package/dist/components/menubar/menubar-sub-content.vue.d.ts +2 -2
  181. package/dist/components/menubar/types.d.ts +19 -19
  182. package/dist/components/month-picker/month-picker-root.vue.d.ts +5 -5
  183. package/dist/components/month-picker/types.d.ts +7 -7
  184. package/dist/components/month-range-picker/month-range-picker-root.vue.d.ts +5 -5
  185. package/dist/components/month-range-picker/types.d.ts +7 -7
  186. package/dist/components/navigation-menu/types.d.ts +31 -31
  187. package/dist/components/page-tabs/types.d.ts +8 -8
  188. package/dist/components/pagination/types.d.ts +21 -21
  189. package/dist/components/popover/popover-compact.vue.d.ts +1 -1
  190. package/dist/components/popover/types.d.ts +20 -20
  191. package/dist/components/popper/popper-positioner.vue.d.ts +1 -1
  192. package/dist/components/popper/types.d.ts +7 -7
  193. package/dist/components/portal/types.d.ts +1 -1
  194. package/dist/components/primitive/types.d.ts +2 -2
  195. package/dist/components/progress/types.d.ts +11 -11
  196. package/dist/components/radio-group/types.d.ts +16 -16
  197. package/dist/components/range-calendar/range-calendar-root.vue.d.ts +2 -2
  198. package/dist/components/range-calendar/types.d.ts +30 -30
  199. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +1 -1
  200. package/dist/components/roving-focus/types.d.ts +3 -3
  201. package/dist/components/scroll-area/types.d.ts +10 -10
  202. package/dist/components/segment/types.d.ts +8 -8
  203. package/dist/components/select/select-content.vue.d.ts +2 -2
  204. package/dist/components/select/types.d.ts +51 -51
  205. package/dist/components/separator/types.d.ts +4 -4
  206. package/dist/components/skeleton/types.d.ts +1 -1
  207. package/dist/components/slider/slider-root.vue.d.ts +1 -1
  208. package/dist/components/slider/types.d.ts +10 -10
  209. package/dist/components/splitter/splitter-group.vue.d.ts +1 -1
  210. package/dist/components/splitter/splitter-panel.vue.d.ts +2 -2
  211. package/dist/components/splitter/types.d.ts +11 -11
  212. package/dist/components/stepper/types.d.ts +21 -21
  213. package/dist/components/switch/types.d.ts +7 -7
  214. package/dist/components/table/types.d.ts +67 -67
  215. package/dist/components/tabs/types.d.ts +17 -17
  216. package/dist/components/tag/types.d.ts +2 -2
  217. package/dist/components/tags-input/tags-input-root.vue.d.ts +2 -2
  218. package/dist/components/tags-input/types.d.ts +10 -10
  219. package/dist/components/textarea/types.d.ts +8 -8
  220. package/dist/components/time-field/time-field-root.vue.d.ts +1 -1
  221. package/dist/components/time-field/types.d.ts +7 -7
  222. package/dist/components/time-picker/time-picker-root.vue.d.ts +6 -6
  223. package/dist/components/time-picker/types.d.ts +7 -7
  224. package/dist/components/time-range-field/time-range-field-root.vue.d.ts +1 -1
  225. package/dist/components/time-range-field/types.d.ts +11 -11
  226. package/dist/components/time-range-picker/time-range-picker-compact.vue.d.ts +2 -2
  227. package/dist/components/time-range-picker/time-range-picker-root.vue.d.ts +6 -6
  228. package/dist/components/time-range-picker/types.d.ts +12 -12
  229. package/dist/components/toast/types.d.ts +25 -25
  230. package/dist/components/toggle/toggle.vue.d.ts +1 -1
  231. package/dist/components/toggle/types.d.ts +3 -3
  232. package/dist/components/toggle-group/types.d.ts +5 -5
  233. package/dist/components/toolbar/toolbar-button.vue.d.ts +2 -2
  234. package/dist/components/toolbar/types.d.ts +12 -12
  235. package/dist/components/tooltip/tooltip-root.vue.d.ts +1 -1
  236. package/dist/components/tooltip/types.d.ts +9 -9
  237. package/dist/components/tree/types.d.ts +13 -13
  238. package/dist/components/tree-menu/tree-menu-root.vue.d.ts +1 -1
  239. package/dist/components/tree-menu/types.d.ts +14 -14
  240. package/dist/components/virtualizer/types.d.ts +6 -6
  241. package/dist/components/visually-hidden/types.d.ts +3 -3
  242. package/dist/components/year-picker/types.d.ts +7 -7
  243. package/dist/components/year-picker/year-picker-root.vue.d.ts +5 -5
  244. package/dist/components/year-range-picker/types.d.ts +7 -7
  245. package/dist/components/year-range-picker/year-range-picker-root.vue.d.ts +5 -5
  246. package/dist/constants/components.js +1 -1
  247. package/dist/date/parts.d.ts +1 -1
  248. package/dist/index.d.ts +416 -405
  249. package/dist/index.js +1 -1
  250. package/dist/namespaced/index.d.ts +877 -851
  251. package/dist/namespaced/index.js +1 -1
  252. package/dist/types/common.d.ts +1 -1
  253. package/package.json +4 -2
  254. package/dist/components/form/core/use-form.d.ts +0 -7
  255. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Alignment.d.ts +0 -4
  256. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Animations.d.ts +0 -11
  257. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Axis.d.ts +0 -16
  258. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Counter.d.ts +0 -9
  259. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/DragHandler.d.ts +0 -13
  260. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/DragTracker.d.ts +0 -4
  261. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EmblaCarousel.d.ts +0 -31
  262. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Engine.d.ts +0 -67
  263. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EventHandler.d.ts +0 -29
  264. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EventStore.d.ts +0 -10
  265. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Limit.d.ts +0 -13
  266. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/NodeRects.d.ts +0 -11
  267. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Options.d.ts +0 -43
  268. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/OptionsHandler.d.ts +0 -11
  269. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/PercentOfView.d.ts +0 -6
  270. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Plugins.d.ts +0 -20
  271. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ResizeHandler.d.ts +0 -11
  272. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollBody.d.ts +0 -14
  273. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollBounds.d.ts +0 -8
  274. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollContain.d.ts +0 -4
  275. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollLooper.d.ts +0 -6
  276. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollProgress.d.ts +0 -6
  277. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollTarget.d.ts +0 -12
  278. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollTo.d.ts +0 -7
  279. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideFocus.d.ts +0 -10
  280. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideLooper.d.ts +0 -19
  281. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideRegistry.d.ts +0 -6
  282. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesHandler.d.ts +0 -11
  283. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesInView.d.ts +0 -9
  284. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesToScroll.d.ts +0 -7
  285. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Translate.d.ts +0 -8
  286. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Vector1d.d.ts +0 -9
  287. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/utils.d.ts +0 -4
@@ -5,7 +5,7 @@ import { ComputedRef, ShallowRef } from "vue";
5
5
 
6
6
  //#region src/components/hover-card/types.d.ts
7
7
  /**
8
- * Props for the hover card root component.
8
+ * Properties for the HoverCardRoot component.
9
9
  */
10
10
  interface HoverCardRootProps {
11
11
  /** The open state of the hover card when it is initially rendered. Use when you do not need to control its open state. */
@@ -18,34 +18,34 @@ interface HoverCardRootProps {
18
18
  closeDelay?: number;
19
19
  }
20
20
  /**
21
- * Emits for the hover card root component.
21
+ * Events for the HoverCardRoot component.
22
22
  */
23
23
  interface HoverCardRootEmits {
24
24
  /** Event handler called when the open state of the hover card changes. */
25
25
  'update:open': [value: boolean];
26
26
  }
27
27
  /**
28
- * Props for the hover card positioner impl component.
28
+ * Properties for the HoverCardPositionerImpl component.
29
29
  */
30
30
  interface HoverCardPositionerImplProps extends PopperPositionerProps {}
31
31
  /**
32
- * Emits for the hover card positioner impl component.
32
+ * Events for the HoverCardPositionerImpl component.
33
33
  */
34
34
  type HoverCardPositionerImplEmits = Pick<DismissableLayerEmits, 'escapeKeyDown' | 'pointerDownOutside' | 'focusOutside'>;
35
35
  /**
36
- * Props for the hover card positioner component.
36
+ * Properties for the HoverCardPositioner component.
37
37
  */
38
38
  interface HoverCardPositionerProps extends HoverCardPositionerImplProps, ForceMountProps {}
39
39
  /**
40
- * Emits for the hover card positioner component.
40
+ * Events for the HoverCardPositioner component.
41
41
  */
42
42
  type HoverCardPositionerEmits = HoverCardPositionerImplEmits;
43
43
  /**
44
- * Props for the hover card popup component.
44
+ * Properties for the HoverCardPopup component.
45
45
  */
46
46
  interface HoverCardPopupProps extends PopperPopupProps {}
47
47
  /**
48
- * Props for the hover card compact component.
48
+ * Properties for the HoverCardCompact component.
49
49
  */
50
50
  interface HoverCardCompactProps extends HoverCardRootProps {
51
51
  /**
@@ -57,32 +57,32 @@ interface HoverCardCompactProps extends HoverCardRootProps {
57
57
  */
58
58
  showArrow?: boolean;
59
59
  /**
60
- * Props forwarded to the trigger element.
60
+ * Properties forwarded to the trigger element.
61
61
  */
62
62
  triggerProps?: PopperAnchorProps;
63
63
  /**
64
- * Props forwarded to the portal element.
64
+ * Properties forwarded to the portal element.
65
65
  */
66
66
  portalProps?: PortalProps;
67
67
  /**
68
- * Props forwarded to the positioner element.
68
+ * Properties forwarded to the positioner element.
69
69
  */
70
70
  positionerProps?: HoverCardPositionerProps;
71
71
  /**
72
- * Props forwarded to the popup element.
72
+ * Properties forwarded to the popup element.
73
73
  */
74
74
  popupProps?: HoverCardPopupProps;
75
75
  /**
76
- * Props forwarded to the arrow element.
76
+ * Properties forwarded to the arrow element.
77
77
  */
78
78
  arrowProps?: PopperArrowProps;
79
79
  }
80
80
  /**
81
- * Emits for the hover card compact component.
81
+ * Events for the HoverCardCompact component.
82
82
  */
83
83
  type HoverCardCompactEmits = HoverCardRootEmits & HoverCardPositionerEmits;
84
84
  /**
85
- * Slots for the hover card compact component.
85
+ * Slots for the HoverCardCompact component.
86
86
  */
87
87
  interface HoverCardCompactSlots {
88
88
  /**
@@ -1,5 +1,7 @@
1
- import { InputControlProps, InputRootEmits, InputRootProps, InputUi, InputUiSlot } from "./types.js";
2
- import { _default as _default$1 } from "./input-root.vue.js";
3
- import { _default } from "./input-control.vue.js";
1
+ import { InputClearEmits, InputClearProps, InputCompactEmits, InputCompactProps, InputCompactSlotProps, InputCompactSlots, InputControlProps, InputRootEmits, InputRootProps, InputUi, InputUiSlot } from "./types.js";
2
+ import { _default as _default$1 } from "./input-compact.vue.js";
3
+ import { _default as _default$3 } from "./input-root.vue.js";
4
+ import { _default as _default$2 } from "./input-control.vue.js";
5
+ import { _default } from "./input-clear.vue.js";
4
6
  import { provideInputUi } from "./context.js";
5
- export { _default as InputControl, type InputControlProps, _default$1 as InputRoot, type InputRootEmits, type InputRootProps, type InputUi, type InputUiSlot, provideInputUi };
7
+ export { _default as InputClear, type InputClearEmits, type InputClearProps, _default$1 as InputCompact, type InputCompactEmits, type InputCompactProps, type InputCompactSlotProps, type InputCompactSlots, _default$2 as InputControl, type InputControlProps, _default$3 as InputRoot, type InputRootEmits, type InputRootProps, type InputUi, type InputUiSlot, provideInputUi };
@@ -1 +1 @@
1
- import{provideInputUi as e}from"./context.js";import t from"./input-root.js";import n from"./input-control.js";export{n as InputControl,t as InputRoot,e as provideInputUi};
1
+ import{provideInputUi as e}from"./context.js";import t from"./input-root.js";import n from"./input-clear.js";import r from"./input-control.js";import i from"./input-compact.js";export{n as InputClear,i as InputCompact,r as InputControl,t as InputRoot,e as provideInputUi};
@@ -0,0 +1 @@
1
+ import e from"../_icon/icon.js";import{useInputRootContext as t,useInputUi as n}from"./context.js";import r from"../button/button.js";import{computed as i,createBlock as a,createVNode as o,defineComponent as s,mergeProps as c,openBlock as l,renderSlot as u,unref as d,withCtx as f}from"vue";const p=s({name:`InputClear`,__name:`input-clear`,props:{type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`clear`],setup(s,{emit:p}){let m=s,h=p,g=n(`clearable`),{disabled:_,readonly:v,onClear:y}=t(`InputClear`),b=i(()=>m.disabled||_.value||v.value||!1),x=e=>{h(`clear`,e),!e.defaultPrevented&&y?.()};return(t,n)=>(l(),a(r,c(m,{"data-slot":`clearable`,class:d(g),disabled:b.value,onClick:x}),{default:f(()=>[u(t.$slots,`default`,{},()=>[o(e,{icon:`lucide:x`})])]),_:3},16,[`class`,`disabled`]))}});export{p as default};
@@ -0,0 +1,22 @@
1
+ import { InputClearProps } from "./types.js";
2
+ import * as _$vue from "vue";
3
+
4
+ //#region src/components/input/input-clear.vue.d.ts
5
+ declare var __VLS_10: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_10) => any;
8
+ };
9
+ declare const __VLS_base: _$vue.DefineComponent<InputClearProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
10
+ clear: (event: PointerEvent) => any;
11
+ }, string, _$vue.PublicProps, Readonly<InputClearProps> & Readonly<{
12
+ onClear?: ((event: PointerEvent) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
21
+ //#endregion
22
+ export { _default };
@@ -0,0 +1 @@
1
+ import{useForwardElement as e}from"../../composables/use-forward-element.js";import{useOmitProps as t}from"../../composables/use-props.js";import"../../composables/index.js";import n from"./input-root.js";import r from"./input-clear.js";import i from"./input-control.js";import{createBlock as a,createCommentVNode as o,createVNode as s,defineComponent as c,mergeProps as l,openBlock as u,renderSlot as d,unref as f,withCtx as p}from"vue";const m=c({name:`InputCompact`,__name:`input-compact`,props:{clearable:{type:Boolean},inputRef:{type:Function},controlProps:{},clearProps:{},defaultValue:{},modelValue:{},id:{},autofocus:{type:Boolean},disabled:{type:Boolean},maxlength:{},minlength:{},pattern:{},placeholder:{},readonly:{type:Boolean},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`clear`],setup(c,{emit:m}){let h=c,g=m,_=t(h,[`inputRef`,`controlProps`,`clearable`]),[v,y]=e(e=>h.inputRef?.(e));return(e,t)=>(u(),a(n,l(f(_),{"onUpdate:modelValue":t[1]||(t[1]=e=>g(`update:modelValue`,e))}),{default:p(({clear:n,modelValue:a})=>[d(e.$slots,`leading`,{clear:n,modelValue:a}),s(i,l(c.controlProps,{ref:f(y)}),null,16),c.clearable?d(e.$slots,`clear`,{key:0,clear:n,modelValue:a},()=>[s(r,l(c.clearProps,{onClear:t[0]||(t[0]=e=>g(`clear`,e))}),null,16)]):o(`v-if`,!0),d(e.$slots,`trailing`,{clear:n,modelValue:a})]),_:3},16))}});export{m as default};
@@ -0,0 +1,21 @@
1
+ import { InputCompactProps, InputCompactSlots } from "./types.js";
2
+ import * as _$vue from "vue";
3
+
4
+ //#region src/components/input/input-compact.vue.d.ts
5
+ type __VLS_Slots = InputCompactSlots;
6
+ declare const __VLS_base: _$vue.DefineComponent<InputCompactProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
7
+ clear: (event: PointerEvent) => any;
8
+ "update:modelValue": (value: string) => any;
9
+ }, string, _$vue.PublicProps, Readonly<InputCompactProps> & Readonly<{
10
+ onClear?: ((event: PointerEvent) => any) | undefined;
11
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
20
+ //#endregion
21
+ export { _default };
@@ -1 +1 @@
1
- import{useInputRootContext as e,useInputUi as t}from"./context.js";import{createElementBlock as n,defineComponent as r,normalizeClass as i,openBlock as a,unref as o}from"vue";const s=[`id`,`aria-disabled`,`autofocus`,`data-disabled`,`data-readonly`,`disabled`,`maxlength`,`minlength`,`pattern`,`placeholder`,`readonly`,`name`,`required`,`value`],c=r({name:`InputControl`,__name:`input-control`,setup(r){let{modelValue:c,id:l,autofocus:u,placeholder:d,disabled:f,readonly:p,maxlength:m,minlength:h,pattern:g,name:_,required:v}=e(`InputControl`),y=t(`control`),b=e=>{c.value=e.target.value};return(e,t)=>(a(),n(`input`,{id:o(l),class:i(o(y)),"aria-disabled":o(f)??void 0,"aria-roledescription":`Input`,autocorrect:`off`,autofocus:o(u),"data-disabled":o(f)?``:void 0,"data-readonly":o(p)?``:void 0,disabled:o(f),maxlength:o(m),minlength:o(h),pattern:o(g),placeholder:o(d),readonly:o(p),name:o(_),required:o(v),spellcheck:`false`,tabindex:`0`,value:o(c),onInput:b},null,42,s))}});export{c as default};
1
+ import{useInputRootContext as e,useInputUi as t}from"./context.js";import{createElementBlock as n,defineComponent as r,normalizeClass as i,openBlock as a,unref as o}from"vue";const s=[`id`,`aria-disabled`,`autofocus`,`data-disabled`,`data-readonly`,`disabled`,`maxlength`,`minlength`,`pattern`,`placeholder`,`readonly`,`name`,`required`,`value`],c=r({name:`InputControl`,__name:`input-control`,setup(r){let{modelValue:c,id:l,autofocus:u,placeholder:d,disabled:f,readonly:p,maxlength:m,minlength:h,pattern:g,name:_,required:v}=e(`InputControl`),y=t(`control`),b=e=>{c.value=e.target.value};return(e,t)=>(a(),n(`input`,{id:o(l),"data-slot":`control`,class:i(o(y)),"aria-disabled":o(f)??void 0,"aria-roledescription":`Input`,autocorrect:`off`,autofocus:o(u),"data-disabled":o(f)?``:void 0,"data-readonly":o(p)?``:void 0,disabled:o(f),maxlength:o(m),minlength:o(h),pattern:o(g),placeholder:o(d),readonly:o(p),name:o(_),required:o(v),spellcheck:`false`,tabindex:`0`,value:o(c),onInput:b},null,42,s))}});export{c as default};
@@ -1 +1 @@
1
- import{isFormControl as e,transformPropsToContext as t}from"../../shared/vue.js";import"../../shared/index.js";import{useControllableState as n}from"../../composables/use-controllable-state.js";import{useForwardElement as r}from"../../composables/use-forward-element.js";import"../../composables/index.js";import{provideInputRootContext as i,useInputUi as a}from"./context.js";import o from"../visually-hidden/visually-hidden-input.js";import{computed as s,createBlock as c,createCommentVNode as l,createElementBlock as u,defineComponent as d,normalizeClass as f,openBlock as p,renderSlot as m,unref as h}from"vue";const g=[`data-disabled`,`data-readonly`],_=d({name:`InputRoot`,__name:`input-root`,props:{defaultValue:{},modelValue:{default:void 0},id:{},autofocus:{type:Boolean},disabled:{type:Boolean},maxlength:{},minlength:{},pattern:{},placeholder:{},readonly:{type:Boolean},name:{},required:{type:Boolean}},emits:[`update:modelValue`],setup(d,{emit:_}){let v=d,y=_,[b,x]=r(),S=a(`root`),C=n(()=>v.modelValue,e=>{y(`update:modelValue`,e)},v.defaultValue),w=s(()=>e(b.value)),T=()=>{C.value=``};return i({...t(v,[`id`,`autofocus`,`placeholder`,`disabled`,`readonly`,`maxlength`,`minlength`,`pattern`,`name`,`required`]),modelValue:C}),(e,t)=>(p(),u(`div`,{ref:h(x),class:f(h(S)),role:`group`,"data-disabled":d.disabled?``:void 0,"data-readonly":d.readonly?``:void 0},[m(e.$slots,`default`,{modelValue:h(C),clear:T}),w.value&&d.name?(p(),c(o,{key:0,type:`text`,value:h(C),name:d.name,disabled:d.disabled,readonly:d.readonly,required:d.required},null,8,[`value`,`name`,`disabled`,`readonly`,`required`])):l(`v-if`,!0)],10,g))}});export{_ as default};
1
+ import{isFormControl as e,transformPropsToContext as t}from"../../shared/vue.js";import"../../shared/index.js";import{useControllableState as n}from"../../composables/use-controllable-state.js";import{useForwardElement as r}from"../../composables/use-forward-element.js";import"../../composables/index.js";import{provideInputRootContext as i,useInputUi as a}from"./context.js";import o from"../visually-hidden/visually-hidden-input.js";import{computed as s,createBlock as c,createCommentVNode as l,createElementBlock as u,defineComponent as d,normalizeClass as f,openBlock as p,renderSlot as m,unref as h}from"vue";const g=[`data-disabled`,`data-readonly`],_=d({name:`InputRoot`,__name:`input-root`,props:{defaultValue:{},modelValue:{default:void 0},id:{},autofocus:{type:Boolean},disabled:{type:Boolean},maxlength:{},minlength:{},pattern:{},placeholder:{},readonly:{type:Boolean},name:{},required:{type:Boolean}},emits:[`update:modelValue`],setup(d,{emit:_}){let v=d,y=_,[b,x]=r(),S=a(`root`),C=n(()=>v.modelValue,e=>{y(`update:modelValue`,e)},v.defaultValue),w=s(()=>e(b.value)),T=()=>{v.disabled||v.readonly||(C.value=``)};return i({...t(v,[`id`,`autofocus`,`placeholder`,`disabled`,`readonly`,`maxlength`,`minlength`,`pattern`,`name`,`required`]),modelValue:C,onClear:T}),(e,t)=>(p(),u(`div`,{ref:h(x),"data-slot":`root`,class:f(h(S)),role:`group`,"data-disabled":d.disabled?``:void 0,"data-readonly":d.readonly?``:void 0},[m(e.$slots,`default`,{modelValue:h(C),clear:T}),w.value&&d.name?(p(),c(o,{key:0,type:`text`,value:h(C),name:d.name,disabled:d.disabled,readonly:d.readonly,required:d.required},null,8,[`value`,`name`,`disabled`,`readonly`,`required`])):l(`v-if`,!0)],10,g))}});export{_ as default};
@@ -1,10 +1,11 @@
1
1
  import { UiClass } from "../../types/common.js";
2
2
  import { FormFieldCommonProps } from "../../types/component.js";
3
+ import { ButtonProps } from "../button/types.js";
3
4
  import { HTMLAttributes, InputHTMLAttributes, ShallowRef } from "vue";
4
5
 
5
6
  //#region src/components/input/types.d.ts
6
7
  /**
7
- * Props for the input base component.
8
+ * Properties for the InputBase component.
8
9
  */
9
10
  interface InputBaseProps {
10
11
  /** Id of the input element */
@@ -25,7 +26,7 @@ interface InputBaseProps {
25
26
  readonly?: boolean;
26
27
  }
27
28
  /**
28
- * Props for the input root component.
29
+ * Properties for the InputRoot component.
29
30
  */
30
31
  interface InputRootProps extends InputBaseProps, FormFieldCommonProps, /** @vue-ignore */HTMLAttributes {
31
32
  /** The default value of the input */
@@ -34,7 +35,7 @@ interface InputRootProps extends InputBaseProps, FormFieldCommonProps, /** @vue-
34
35
  modelValue?: string;
35
36
  }
36
37
  /**
37
- * Emits for the input root component.
38
+ * Events for the InputRoot component.
38
39
  */
39
40
  type InputRootEmits = {
40
41
  /**
@@ -43,16 +44,86 @@ type InputRootEmits = {
43
44
  'update:modelValue': [value: string];
44
45
  };
45
46
  /**
46
- * Props for the input control component.
47
+ * Properties for the InputControl component.
47
48
  */
48
49
  interface InputControlProps extends /** @vue-ignore */InputHTMLAttributes {}
49
50
  /**
50
- * Available UI slots for the input component.
51
+ * Properties for the InputClear component.
51
52
  */
52
- type InputUiSlot = 'root' | 'control';
53
+ interface InputClearProps extends ButtonProps, /** @vue-ignore */HTMLAttributes {}
53
54
  /**
54
- * UI class overrides for the input component.
55
+ * Events for the InputClear component.
56
+ */
57
+ type InputClearEmits = {
58
+ /**
59
+ * Emitted when the clear button is clicked.
60
+ */
61
+ clear: [event: PointerEvent];
62
+ };
63
+ /**
64
+ * Available UI slots for the Input component.
65
+ */
66
+ type InputUiSlot = 'root' | 'control' | 'clearable';
67
+ /**
68
+ * UI class overrides for the Input component.
55
69
  */
56
70
  type InputUi = UiClass<InputUiSlot>;
71
+ /**
72
+ * Slot properties for the InputCompact component.
73
+ */
74
+ interface InputCompactSlotProps {
75
+ /**
76
+ * Current model value.
77
+ */
78
+ modelValue?: string;
79
+ /**
80
+ * Clear handler.
81
+ */
82
+ clear: () => void;
83
+ }
84
+ /**
85
+ * Properties for the InputCompact component.
86
+ */
87
+ interface InputCompactProps extends InputRootProps {
88
+ /**
89
+ * Whether to show the clear trigger.
90
+ *
91
+ * @defaultValue false
92
+ */
93
+ clearable?: boolean;
94
+ /**
95
+ * The function to set the input element.
96
+ */
97
+ inputRef?: (el: HTMLInputElement) => void;
98
+ /**
99
+ * Properties forwarded to the control element.
100
+ */
101
+ controlProps?: InputControlProps;
102
+ /**
103
+ * Properties forwarded to the clear element.
104
+ */
105
+ clearProps?: InputClearProps;
106
+ }
107
+ /**
108
+ * Events for the InputCompact component.
109
+ */
110
+ type InputCompactEmits = InputRootEmits & InputClearEmits;
111
+ /**
112
+ * Slots for the InputCompact component.
113
+ */
114
+ type InputCompactSlots = {
115
+ /**
116
+ * Custom content for the leading slot.
117
+ */
118
+ leading?: (props: InputCompactSlotProps) => any;
119
+ /**
120
+ * Custom content for the trailing slot.
121
+ */
122
+ trailing?: (props: InputCompactSlotProps) => any;
123
+ /**
124
+ * Custom content for the clear slot.
125
+ */
126
+ clear?: (props: InputCompactSlotProps) => any;
127
+ };
57
128
  //#endregion
58
- export { InputBaseProps, InputControlProps, InputRootEmits, InputRootProps, InputUi, InputUiSlot };
129
+ export { InputBaseProps, InputClearEmits, InputClearProps, InputCompactEmits, InputCompactProps, InputCompactSlotProps, InputCompactSlots, InputControlProps, InputRootEmits, InputRootProps, InputUi, InputUiSlot };
@@ -16,8 +16,8 @@ declare const __VLS_base: _$vue.DefineComponent<InputNumberRootProps, {}, {}, {}
16
16
  }>, {
17
17
  step: number;
18
18
  modelValue: number | null;
19
- stepSnapping: boolean;
20
19
  focusOnChange: boolean;
20
+ stepSnapping: boolean;
21
21
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
23
  declare const _default: typeof __VLS_export;
@@ -6,7 +6,7 @@ import { HTMLAttributes, InputHTMLAttributes, ShallowRef } from "vue";
6
6
 
7
7
  //#region src/components/input-number/types.d.ts
8
8
  /**
9
- * Props for the input number root component.
9
+ * Properties for the InputNumberRoot component.
10
10
  */
11
11
  interface InputNumberRootProps extends InputBaseProps, FormFieldCommonProps, /** @vue-ignore */HTMLAttributes {
12
12
  /** The default value of the input */
@@ -36,7 +36,7 @@ interface InputNumberRootProps extends InputBaseProps, FormFieldCommonProps, /**
36
36
  invertWheelChange?: boolean;
37
37
  }
38
38
  /**
39
- * Emits for the input number root component.
39
+ * Events for the InputNumberRoot component.
40
40
  */
41
41
  type InputNumberRootEmits = {
42
42
  /**
@@ -45,11 +45,11 @@ type InputNumberRootEmits = {
45
45
  'update:modelValue': [val: number];
46
46
  };
47
47
  /**
48
- * Props for the input number control component.
48
+ * Properties for the InputNumberControl component.
49
49
  */
50
50
  interface InputNumberControlProps extends /** @vue-ignore */InputHTMLAttributes {}
51
51
  /**
52
- * Props for the input number increment component.
52
+ * Properties for the InputNumberIncrement component.
53
53
  */
54
54
  interface InputNumberIncrementProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
55
55
  /**
@@ -58,7 +58,7 @@ interface InputNumberIncrementProps extends PrimitiveProps, /** @vue-ignore */HT
58
58
  disabled?: boolean;
59
59
  }
60
60
  /**
61
- * Props for the input number decrement component.
61
+ * Properties for the InputNumberDecrement component.
62
62
  */
63
63
  interface InputNumberDecrementProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
64
64
  /**
@@ -67,11 +67,11 @@ interface InputNumberDecrementProps extends PrimitiveProps, /** @vue-ignore */HT
67
67
  disabled?: boolean;
68
68
  }
69
69
  /**
70
- * Available UI slots for the input number component.
70
+ * Available UI slots for the InputNumber component.
71
71
  */
72
72
  type InputNumberUiSlot = 'root' | 'increment' | 'decrement' | 'control';
73
73
  /**
74
- * UI class overrides for the input number component.
74
+ * UI class overrides for the InputNumber component.
75
75
  */
76
76
  type InputNumberUi = UiClass<InputNumberUiSlot>;
77
77
  //#endregion
@@ -6,24 +6,24 @@ type __VLS_Slots = InputOtpCompactSlots;
6
6
  declare const __VLS_base: _$vue.DefineComponent<InputOtpCompactProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
7
7
  input: (value: string) => any;
8
8
  select: (event: Event) => any;
9
- change: (event: Event) => any;
10
- "update:modelValue": (value: string) => any;
11
9
  blur: (event: FocusEvent) => any;
10
+ change: (event: Event) => any;
12
11
  focus: (event: FocusEvent) => any;
13
12
  mouseleave: (event: MouseEvent) => any;
14
13
  mouseover: (event: MouseEvent) => any;
15
14
  paste: (event: ClipboardEvent) => any;
15
+ "update:modelValue": (value: string) => any;
16
16
  complete: (value: string) => any;
17
17
  }, string, _$vue.PublicProps, Readonly<InputOtpCompactProps> & Readonly<{
18
18
  onInput?: ((value: string) => any) | undefined;
19
19
  onSelect?: ((event: Event) => any) | undefined;
20
- onChange?: ((event: Event) => any) | undefined;
21
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
22
20
  onBlur?: ((event: FocusEvent) => any) | undefined;
21
+ onChange?: ((event: Event) => any) | undefined;
23
22
  onFocus?: ((event: FocusEvent) => any) | undefined;
24
23
  onMouseleave?: ((event: MouseEvent) => any) | undefined;
25
24
  onMouseover?: ((event: MouseEvent) => any) | undefined;
26
25
  onPaste?: ((event: ClipboardEvent) => any) | undefined;
26
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
27
27
  onComplete?: ((value: string) => any) | undefined;
28
28
  }>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
29
29
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -18,24 +18,24 @@ declare const __VLS_base: _$vue.DefineComponent<InputOtpRootProps, {
18
18
  }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
19
19
  input: (value: string) => any;
20
20
  select: (event: Event) => any;
21
- change: (event: Event) => any;
22
- "update:modelValue": (value: string) => any;
23
21
  blur: (event: FocusEvent) => any;
22
+ change: (event: Event) => any;
24
23
  focus: (event: FocusEvent) => any;
25
24
  mouseleave: (event: MouseEvent) => any;
26
25
  mouseover: (event: MouseEvent) => any;
27
26
  paste: (event: ClipboardEvent) => any;
27
+ "update:modelValue": (value: string) => any;
28
28
  complete: (value: string) => any;
29
29
  }, string, _$vue.PublicProps, Readonly<InputOtpRootProps> & Readonly<{
30
30
  onInput?: ((value: string) => any) | undefined;
31
31
  onSelect?: ((event: Event) => any) | undefined;
32
- onChange?: ((event: Event) => any) | undefined;
33
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
34
32
  onBlur?: ((event: FocusEvent) => any) | undefined;
33
+ onChange?: ((event: Event) => any) | undefined;
35
34
  onFocus?: ((event: FocusEvent) => any) | undefined;
36
35
  onMouseleave?: ((event: MouseEvent) => any) | undefined;
37
36
  onMouseover?: ((event: MouseEvent) => any) | undefined;
38
37
  onPaste?: ((event: ClipboardEvent) => any) | undefined;
38
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
39
39
  onComplete?: ((value: string) => any) | undefined;
40
40
  }>, {
41
41
  autocomplete: string;
@@ -4,15 +4,15 @@ import { ComputedRef, HTMLAttributes, InputHTMLAttributes, ShallowRef } from "vu
4
4
 
5
5
  //#region src/components/input-otp/types.d.ts
6
6
  /**
7
- * Type information for the input otp input mode component.
7
+ * Type information for InputOtpInputMode.
8
8
  */
9
9
  type InputOtpInputMode = 'numeric' | 'text';
10
10
  /**
11
- * Type information for the input otp push password manager strategy component.
11
+ * Type information for InputOtpPushPasswordManagerStrategy.
12
12
  */
13
13
  type InputOtpPushPasswordManagerStrategy = 'increase-width' | 'none';
14
14
  /**
15
- * Props for the input otp root component.
15
+ * Properties for the InputOtpRoot component.
16
16
  */
17
17
  interface InputOtpRootProps extends FormFieldCommonProps, /** @vue-ignore */Omit<HTMLAttributes, 'onInput'> {
18
18
  /** The id of the native input element. */
@@ -47,7 +47,7 @@ interface InputOtpRootProps extends FormFieldCommonProps, /** @vue-ignore */Omit
47
47
  pasteTransformer?: (pasted: string | undefined) => string;
48
48
  }
49
49
  /**
50
- * Emits for the input otp root component.
50
+ * Events for the InputOtpRoot component.
51
51
  */
52
52
  type InputOtpRootEmits = {
53
53
  /**
@@ -92,23 +92,23 @@ type InputOtpRootEmits = {
92
92
  paste: [event: ClipboardEvent];
93
93
  };
94
94
  /**
95
- * Props for the input otp positioner component.
95
+ * Properties for the InputOtpPositioner component.
96
96
  */
97
97
  interface InputOtpPositionerProps extends /** @vue-ignore */HTMLAttributes {}
98
98
  /**
99
- * Props for the input otp input component.
99
+ * Properties for the InputOtpInput component.
100
100
  */
101
101
  interface InputOtpInputProps extends /** @vue-ignore */InputHTMLAttributes {}
102
102
  /**
103
- * Props for the input otp compact component.
103
+ * Properties for the InputOtpCompact component.
104
104
  */
105
105
  interface InputOtpCompactProps extends InputOtpRootProps {}
106
106
  /**
107
- * Emits for the input otp compact component.
107
+ * Events for the InputOtpCompact component.
108
108
  */
109
109
  type InputOtpCompactEmits = InputOtpRootEmits;
110
110
  /**
111
- * Slots for the input otp compact component.
111
+ * Slots for the InputOtpCompact component.
112
112
  */
113
113
  type InputOtpCompactSlots = {
114
114
  /**
@@ -117,7 +117,7 @@ type InputOtpCompactSlots = {
117
117
  default?: (props: InputOtpRootSlotProps) => any;
118
118
  };
119
119
  /**
120
- * Slot props for the input otp component.
120
+ * Slot properties for the InputOtp component.
121
121
  */
122
122
  interface InputOtpSlotProps {
123
123
  /** The typed character at the current slot. */
@@ -130,7 +130,7 @@ interface InputOtpSlotProps {
130
130
  hasFakeCaret: boolean;
131
131
  }
132
132
  /**
133
- * Slot props for the input otp root component.
133
+ * Slot properties for the InputOtpRoot component.
134
134
  */
135
135
  interface InputOtpRootSlotProps {
136
136
  /**
@@ -147,7 +147,7 @@ interface InputOtpRootSlotProps {
147
147
  isHovering: boolean;
148
148
  }
149
149
  /**
150
- * Context for the input otp root component.
150
+ * Context for the InputOtpRoot component.
151
151
  */
152
152
  interface InputOtpRootContext {
153
153
  /**
@@ -288,11 +288,11 @@ interface InputOtpRootContext {
288
288
  onBlur: (event: FocusEvent) => void;
289
289
  }
290
290
  /**
291
- * Available UI slots for the input otp component.
291
+ * Available UI slots for the InputOtp component.
292
292
  */
293
293
  type InputOtpUiSlot = 'root' | 'positioner' | 'input' | 'group' | 'slot' | 'char' | 'placeholder' | 'caret';
294
294
  /**
295
- * UI class overrides for the input otp component.
295
+ * UI class overrides for the InputOtp component.
296
296
  */
297
297
  type InputOtpUi = UiClass<InputOtpUiSlot>;
298
298
  //#endregion
@@ -3,11 +3,11 @@ import { HTMLAttributes } from "vue";
3
3
 
4
4
  //#region src/components/kbd/types.d.ts
5
5
  /**
6
- * Type information for the kbd value component.
6
+ * Type information for KbdValue.
7
7
  */
8
8
  type KbdValue = KbdKey | (string & {});
9
9
  /**
10
- * Props for the kbd component.
10
+ * Properties for the Kbd component.
11
11
  */
12
12
  interface KbdProps extends /** @vue-ignore */HTMLAttributes {
13
13
  /**
@@ -2,7 +2,7 @@ import { LabelHTMLAttributes } from "vue";
2
2
 
3
3
  //#region src/components/label/types.d.ts
4
4
  /**
5
- * Props for the label component.
5
+ * Properties for the Label component.
6
6
  */
7
7
  interface LabelProps extends /** @vue-ignore */LabelHTMLAttributes {
8
8
  /** The id of the element the label is associated with. */
@@ -10,8 +10,8 @@ declare const __VLS_base: _$vue.DefineComponent<LayoutClassicCompactProps, {}, {
10
10
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
11
11
  }>, {
12
12
  orientation: DataOrientation;
13
- open: boolean;
14
13
  defaultOpen: boolean;
14
+ open: boolean;
15
15
  sidebarVisible: boolean;
16
16
  headerVisible: boolean;
17
17
  tabVisible: boolean;
@@ -8,8 +8,8 @@ declare const __VLS_base: _$vue.DefineComponent<LayoutCompactProps, {}, {}, {},
8
8
  }, string, _$vue.PublicProps, Readonly<LayoutCompactProps> & Readonly<{
9
9
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
10
10
  }>, {
11
- open: boolean;
12
11
  defaultOpen: boolean;
12
+ open: boolean;
13
13
  sidebarVisible: boolean;
14
14
  headerVisible: boolean;
15
15
  tabVisible: boolean;
@@ -15,8 +15,8 @@ declare const __VLS_base: _$vue.DefineComponent<LayoutRootProps, {}, {}, {}, {},
15
15
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
16
16
  }>, {
17
17
  collapsible: LayoutCollapsible;
18
- open: boolean;
19
18
  defaultOpen: boolean;
19
+ open: boolean;
20
20
  side: LayoutSide;
21
21
  variant: LayoutVariant;
22
22
  sidebarVisible: boolean;