@soybeanjs/ui 0.17.0 → 0.19.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 (434) hide show
  1. package/README.md +27 -5
  2. package/README.zh-CN.md +27 -5
  3. package/dist/components/accordion/accordion.js +1 -1
  4. package/dist/components/accordion/types.d.ts +3 -3
  5. package/dist/components/affix/affix.js +1 -1
  6. package/dist/components/affix/types.d.ts +2 -2
  7. package/dist/components/alert/alert.js +1 -1
  8. package/dist/components/alert/alert.vue.d.ts +2 -0
  9. package/dist/components/alert/types.d.ts +4 -4
  10. package/dist/components/anchor/anchor.js +1 -1
  11. package/dist/components/anchor/types.d.ts +3 -3
  12. package/dist/components/autocomplete/autocomplete.js +1 -1
  13. package/dist/components/autocomplete/types.d.ts +3 -3
  14. package/dist/components/avatar/avatar.js +1 -1
  15. package/dist/components/avatar/avatar.vue.d.ts +2 -8
  16. package/dist/components/avatar/types.d.ts +4 -24
  17. package/dist/components/backtop/backtop.js +1 -1
  18. package/dist/components/backtop/backtop.vue.d.ts +2 -2
  19. package/dist/components/backtop/types.d.ts +2 -2
  20. package/dist/components/backtop/variants.js +1 -1
  21. package/dist/components/badge/badge.js +1 -1
  22. package/dist/components/badge/badge.vue.d.ts +2 -6
  23. package/dist/components/badge/types.d.ts +4 -12
  24. package/dist/components/badge/variants.js +1 -1
  25. package/dist/components/bottom-sheet/bottom-sheet.js +1 -1
  26. package/dist/components/bottom-sheet/types.d.ts +3 -3
  27. package/dist/components/bottom-sheet/variants.js +1 -1
  28. package/dist/components/breadcrumb/breadcrumb.js +1 -1
  29. package/dist/components/breadcrumb/types.d.ts +3 -3
  30. package/dist/components/button/button-group.js +1 -1
  31. package/dist/components/button/button-icon.js +1 -1
  32. package/dist/components/button/button-link.js +1 -1
  33. package/dist/components/button/button-link.vue.d.ts +1 -1
  34. package/dist/components/button/button-loading.js +1 -1
  35. package/dist/components/button/button.js +1 -1
  36. package/dist/components/button/button.vue.d.ts +2 -2
  37. package/dist/components/button/types.d.ts +6 -6
  38. package/dist/components/button/variants.js +1 -1
  39. package/dist/components/calendar/calendar.js +1 -1
  40. package/dist/components/calendar/types.d.ts +3 -3
  41. package/dist/components/calendar-range/calendar-range.js +1 -0
  42. package/dist/components/{range-calendar/range-calendar.vue.d.ts → calendar-range/calendar-range.vue.d.ts} +5 -5
  43. package/dist/components/calendar-range/index.d.ts +3 -0
  44. package/dist/components/calendar-range/index.js +1 -0
  45. package/dist/components/calendar-range/types.d.ts +32 -0
  46. package/dist/components/calendar-range/variants.js +1 -0
  47. package/dist/components/card/card-collapsible-trigger.js +1 -1
  48. package/dist/components/card/card.js +1 -1
  49. package/dist/components/card/types.d.ts +1 -1
  50. package/dist/components/carousel/carousel.js +1 -1
  51. package/dist/components/carousel/carousel.vue.d.ts +16 -19
  52. package/dist/components/carousel/index.d.ts +1 -5
  53. package/dist/components/carousel/index.js +1 -1
  54. package/dist/components/carousel/types.d.ts +22 -7
  55. package/dist/components/carousel/variants.js +1 -1
  56. package/dist/components/checkbox/checkbox-card-group.js +1 -1
  57. package/dist/components/checkbox/checkbox-card.js +1 -1
  58. package/dist/components/checkbox/checkbox-group.js +1 -1
  59. package/dist/components/checkbox/checkbox.js +1 -1
  60. package/dist/components/checkbox/types.d.ts +8 -8
  61. package/dist/components/clipboard/clipboard.js +1 -1
  62. package/dist/components/clipboard/clipboard.vue.d.ts +2 -2
  63. package/dist/components/clipboard/types.d.ts +1 -1
  64. package/dist/components/collapsible/collapsible.js +1 -1
  65. package/dist/components/collapsible/collapsible.vue.d.ts +1 -1
  66. package/dist/components/collapsible/types.d.ts +2 -2
  67. package/dist/components/color-area/color-area.js +1 -1
  68. package/dist/components/color-area/color-area.vue.d.ts +5 -5
  69. package/dist/components/color-area/types.d.ts +5 -13
  70. package/dist/components/color-field/color-field.js +1 -1
  71. package/dist/components/color-field/color-field.vue.d.ts +3 -3
  72. package/dist/components/color-field/types.d.ts +5 -9
  73. package/dist/components/color-field/variants.js +1 -1
  74. package/dist/components/color-picker/color-picker.js +1 -1
  75. package/dist/components/color-picker/color-picker.vue.d.ts +21 -36
  76. package/dist/components/color-picker/index.d.ts +1 -1
  77. package/dist/components/color-picker/types.d.ts +8 -120
  78. package/dist/components/color-picker/variants.js +1 -1
  79. package/dist/components/color-slider/color-slider.js +1 -1
  80. package/dist/components/color-slider/color-slider.vue.d.ts +5 -5
  81. package/dist/components/color-slider/types.d.ts +5 -13
  82. package/dist/components/color-swatch/color-swatch.js +1 -1
  83. package/dist/components/color-swatch/color-swatch.vue.d.ts +2 -5
  84. package/dist/components/color-swatch/index.d.ts +3 -2
  85. package/dist/components/color-swatch/types.d.ts +10 -14
  86. package/dist/components/color-swatch-picker/color-swatch-picker.js +1 -1
  87. package/dist/components/color-swatch-picker/color-swatch-picker.vue.d.ts +6 -6
  88. package/dist/components/color-swatch-picker/types.d.ts +6 -22
  89. package/dist/components/color-swatch-picker/variants.d.ts +9 -9
  90. package/dist/components/color-swatch-picker/variants.js +1 -1
  91. package/dist/components/combobox/combobox.js +1 -1
  92. package/dist/components/combobox/types.d.ts +3 -3
  93. package/dist/components/command/command.js +1 -1
  94. package/dist/components/command/command.vue.d.ts +1 -1
  95. package/dist/components/command/types.d.ts +3 -3
  96. package/dist/components/config-provider/config-provider.js +1 -1
  97. package/dist/components/config-provider/config-provider.vue.d.ts +1 -1
  98. package/dist/components/config-provider/types.d.ts +3 -5
  99. package/dist/components/context-menu/context-menu-checkbox.js +1 -1
  100. package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +1 -1
  101. package/dist/components/context-menu/context-menu-radio.js +1 -1
  102. package/dist/components/context-menu/context-menu-radio.vue.d.ts +3 -3
  103. package/dist/components/context-menu/context-menu-wrapper.js +1 -1
  104. package/dist/components/context-menu/context-menu.js +1 -1
  105. package/dist/components/context-menu/context-menu.vue.d.ts +1 -1
  106. package/dist/components/context-menu/index.d.ts +4 -4
  107. package/dist/components/context-menu/index.js +1 -1
  108. package/dist/components/context-menu/types.d.ts +11 -11
  109. package/dist/components/date-field/date-field.js +1 -1
  110. package/dist/components/date-field/date-field.vue.d.ts +4 -4
  111. package/dist/components/date-field/types.d.ts +2 -2
  112. package/dist/components/date-field/variants.js +1 -1
  113. package/dist/components/date-picker/date-picker.js +1 -1
  114. package/dist/components/date-picker/date-picker.vue.d.ts +17 -11
  115. package/dist/components/date-picker/index.d.ts +1 -1
  116. package/dist/components/date-picker/types.d.ts +9 -8
  117. package/dist/components/date-picker/variants.js +1 -1
  118. package/dist/components/date-range-field/date-range-field.js +1 -1
  119. package/dist/components/date-range-field/date-range-field.vue.d.ts +1 -3
  120. package/dist/components/date-range-field/index.d.ts +1 -1
  121. package/dist/components/date-range-field/types.d.ts +8 -52
  122. package/dist/components/date-range-field/variants.js +1 -1
  123. package/dist/components/date-range-picker/date-range-picker.js +1 -1
  124. package/dist/components/date-range-picker/date-range-picker.vue.d.ts +20 -14
  125. package/dist/components/date-range-picker/index.d.ts +1 -1
  126. package/dist/components/date-range-picker/types.d.ts +9 -41
  127. package/dist/components/dialog/dialog-provider.js +1 -1
  128. package/dist/components/dialog/dialog.js +1 -1
  129. package/dist/components/dialog/dialog.vue.d.ts +2 -0
  130. package/dist/components/dialog/types.d.ts +3 -3
  131. package/dist/components/drawer/drawer.js +1 -1
  132. package/dist/components/drawer/drawer.vue.d.ts +2 -0
  133. package/dist/components/drawer/types.d.ts +3 -3
  134. package/dist/components/dropdown-menu/dropdown-menu-checkbox.js +1 -1
  135. package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +1 -1
  136. package/dist/components/dropdown-menu/dropdown-menu-radio.js +1 -1
  137. package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +3 -3
  138. package/dist/components/dropdown-menu/dropdown-menu-wrapper.js +1 -1
  139. package/dist/components/dropdown-menu/dropdown-menu.js +1 -1
  140. package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +1 -1
  141. package/dist/components/dropdown-menu/types.d.ts +11 -11
  142. package/dist/components/editable/editable.js +1 -1
  143. package/dist/components/editable/editable.vue.d.ts +6 -6
  144. package/dist/components/editable/types.d.ts +9 -9
  145. package/dist/components/empty/empty.js +1 -1
  146. package/dist/components/empty/empty.vue.d.ts +2 -8
  147. package/dist/components/empty/index.d.ts +1 -2
  148. package/dist/components/empty/types.d.ts +11 -40
  149. package/dist/components/empty/variants.js +1 -1
  150. package/dist/components/form/form-field-array.js +1 -0
  151. package/dist/components/form/form-field-base.js +1 -1
  152. package/dist/components/form/form-field-base.vue.d.ts +3 -16
  153. package/dist/components/form/form-field.js +1 -0
  154. package/dist/components/form/form.js +1 -1
  155. package/dist/components/form/form.vue.d.ts +2 -2
  156. package/dist/components/form/index.d.ts +1 -1
  157. package/dist/components/form/types.d.ts +20 -123
  158. package/dist/components/form/use-form.d.ts +3 -41
  159. package/dist/components/form/use-form.js +1 -1
  160. package/dist/components/form/variants.js +1 -1
  161. package/dist/components/hover-card/hover-card.js +1 -1
  162. package/dist/components/hover-card/types.d.ts +7 -7
  163. package/dist/components/icon/types.d.ts +2 -2
  164. package/dist/components/input/index.d.ts +4 -2
  165. package/dist/components/input/index.js +1 -1
  166. package/dist/components/input/input.js +1 -1
  167. package/dist/components/input/input.vue.d.ts +2 -7
  168. package/dist/components/input/types.d.ts +10 -20
  169. package/dist/components/input/variants.js +1 -1
  170. package/dist/components/input-number/index.d.ts +1 -1
  171. package/dist/components/input-number/input-number.js +1 -1
  172. package/dist/components/input-number/input-number.vue.d.ts +6 -13
  173. package/dist/components/input-number/types.d.ts +10 -26
  174. package/dist/components/input-number/variants.js +1 -1
  175. package/dist/components/input-otp/input-otp.js +1 -1
  176. package/dist/components/input-otp/input-otp.vue.d.ts +2 -2
  177. package/dist/components/input-otp/types.d.ts +3 -3
  178. package/dist/components/kbd/kbd.js +1 -1
  179. package/dist/components/kbd/types.d.ts +1 -1
  180. package/dist/components/label/label.js +1 -1
  181. package/dist/components/label/types.d.ts +1 -1
  182. package/dist/components/layout/layout-classic.js +1 -1
  183. package/dist/components/layout/layout.js +1 -1
  184. package/dist/components/layout/types.d.ts +6 -6
  185. package/dist/components/link/link.js +1 -1
  186. package/dist/components/link/types.d.ts +1 -1
  187. package/dist/components/list/list.js +1 -1
  188. package/dist/components/list/types.d.ts +5 -5
  189. package/dist/components/menu/context.js +1 -1
  190. package/dist/components/menu/index.d.ts +1 -8
  191. package/dist/components/menu/types.d.ts +1 -1
  192. package/dist/components/menubar/menubar.js +1 -1
  193. package/dist/components/menubar/menubar.vue.d.ts +1 -1
  194. package/dist/components/menubar/types.d.ts +3 -3
  195. package/dist/components/navigation-menu/navigation-menu.js +1 -1
  196. package/dist/components/navigation-menu/types.d.ts +20 -20
  197. package/dist/components/page-tabs/index.d.ts +1 -1
  198. package/dist/components/page-tabs/page-tabs.js +1 -1
  199. package/dist/components/page-tabs/page-tabs.vue.d.ts +7 -5
  200. package/dist/components/page-tabs/types.d.ts +12 -119
  201. package/dist/components/page-tabs/variants.js +1 -1
  202. package/dist/components/pagination/pagination.js +1 -1
  203. package/dist/components/pagination/types.d.ts +9 -9
  204. package/dist/components/password/index.d.ts +3 -2
  205. package/dist/components/password/password.js +1 -1
  206. package/dist/components/password/password.vue.d.ts +2 -12
  207. package/dist/components/password/types.d.ts +10 -27
  208. package/dist/components/popconfirm/index.d.ts +3 -5
  209. package/dist/components/popconfirm/index.js +1 -1
  210. package/dist/components/popconfirm/popconfirm.js +1 -1
  211. package/dist/components/popconfirm/popconfirm.vue.d.ts +6 -27
  212. package/dist/components/popconfirm/types.d.ts +10 -211
  213. package/dist/components/popconfirm/variants.js +1 -1
  214. package/dist/components/popover/index.d.ts +1 -1
  215. package/dist/components/popover/popover.js +1 -1
  216. package/dist/components/popover/popover.vue.d.ts +2 -9
  217. package/dist/components/popover/types.d.ts +11 -39
  218. package/dist/components/popover/variants.js +1 -1
  219. package/dist/components/progress/index.d.ts +11 -3
  220. package/dist/components/progress/progress-circle.js +1 -1
  221. package/dist/components/progress/progress-circle.vue.d.ts +2 -10
  222. package/dist/components/progress/progress-provider.js +1 -1
  223. package/dist/components/progress/progress-provider.vue.d.ts +1 -1
  224. package/dist/components/progress/progress.js +1 -1
  225. package/dist/components/progress/progress.vue.d.ts +2 -11
  226. package/dist/components/progress/types.d.ts +18 -18
  227. package/dist/components/progress/variants.js +1 -1
  228. package/dist/components/radio-group/radio-card-group.js +1 -1
  229. package/dist/components/radio-group/radio-card-group.vue.d.ts +3 -2
  230. package/dist/components/radio-group/radio-card.js +1 -1
  231. package/dist/components/radio-group/radio-group.js +1 -1
  232. package/dist/components/radio-group/radio-group.vue.d.ts +2 -2
  233. package/dist/components/radio-group/types.d.ts +12 -12
  234. package/dist/components/scroll-area/scroll-area.js +1 -1
  235. package/dist/components/scroll-area/scroll-area.vue.d.ts +2 -2
  236. package/dist/components/scroll-area/types.d.ts +5 -25
  237. package/dist/components/segment/segment.js +1 -1
  238. package/dist/components/segment/segment.vue.d.ts +2 -2
  239. package/dist/components/segment/types.d.ts +3 -3
  240. package/dist/components/select/select.js +1 -1
  241. package/dist/components/select/select.vue.d.ts +1 -1
  242. package/dist/components/select/types.d.ts +3 -3
  243. package/dist/components/separator/separator.js +1 -1
  244. package/dist/components/separator/separator.vue.d.ts +11 -1
  245. package/dist/components/separator/types.d.ts +3 -11
  246. package/dist/components/separator/variants.js +1 -1
  247. package/dist/components/skeleton/skeleton.js +1 -1
  248. package/dist/components/skeleton/types.d.ts +1 -1
  249. package/dist/components/slider/slider.js +1 -1
  250. package/dist/components/slider/slider.vue.d.ts +6 -7
  251. package/dist/components/slider/types.d.ts +5 -17
  252. package/dist/components/spinner/spinner.js +1 -1
  253. package/dist/components/spinner/types.d.ts +2 -2
  254. package/dist/components/splitter/splitter-group.js +1 -1
  255. package/dist/components/splitter/splitter-panel.js +1 -1
  256. package/dist/components/splitter/splitter-resize-handle.js +1 -1
  257. package/dist/components/splitter/splitter-resize-handle.vue.d.ts +2 -2
  258. package/dist/components/splitter/types.d.ts +6 -6
  259. package/dist/components/stepper/stepper.js +1 -1
  260. package/dist/components/stepper/stepper.vue.d.ts +5 -5
  261. package/dist/components/stepper/types.d.ts +10 -10
  262. package/dist/components/switch/index.d.ts +1 -1
  263. package/dist/components/switch/switch.js +1 -1
  264. package/dist/components/switch/switch.vue.d.ts +2 -638
  265. package/dist/components/switch/types.d.ts +10 -14
  266. package/dist/components/switch/variants.d.ts +2 -2
  267. package/dist/components/switch/variants.js +1 -1
  268. package/dist/components/table/hooks.d.ts +3 -3
  269. package/dist/components/table/table-filter-popover.js +1 -1
  270. package/dist/components/table/table.js +1 -1
  271. package/dist/components/table/table.vue.d.ts +2 -2
  272. package/dist/components/table/types.d.ts +8 -8
  273. package/dist/components/tabs/tabs.js +1 -1
  274. package/dist/components/tabs/tabs.vue.d.ts +2 -2
  275. package/dist/components/tabs/types.d.ts +3 -3
  276. package/dist/components/tag/tag.js +1 -1
  277. package/dist/components/tag/types.d.ts +1 -1
  278. package/dist/components/tags-input/index.d.ts +3 -4
  279. package/dist/components/tags-input/index.js +1 -1
  280. package/dist/components/tags-input/tags-input.js +1 -1
  281. package/dist/components/tags-input/tags-input.vue.d.ts +18 -22
  282. package/dist/components/tags-input/types.d.ts +10 -6
  283. package/dist/components/tags-input/variants.js +1 -1
  284. package/dist/components/textarea/index.d.ts +4 -2
  285. package/dist/components/textarea/index.js +1 -1
  286. package/dist/components/textarea/textarea.js +1 -1
  287. package/dist/components/textarea/textarea.vue.d.ts +4 -10
  288. package/dist/components/textarea/types.d.ts +11 -30
  289. package/dist/components/textarea/variants.d.ts +21 -21
  290. package/dist/components/textarea/variants.js +1 -1
  291. package/dist/components/time-field/index.d.ts +1 -1
  292. package/dist/components/time-field/time-field.js +1 -1
  293. package/dist/components/time-field/time-field.vue.d.ts +2 -9
  294. package/dist/components/time-field/types.d.ts +6 -39
  295. package/dist/components/time-range-field/index.d.ts +1 -1
  296. package/dist/components/time-range-field/time-range-field.js +1 -1
  297. package/dist/components/time-range-field/time-range-field.vue.d.ts +1 -3
  298. package/dist/components/time-range-field/types.d.ts +8 -52
  299. package/dist/components/toast/styles.js +36 -36
  300. package/dist/components/toast/toast-provider.js +1 -1
  301. package/dist/components/toast/types.d.ts +1 -1
  302. package/dist/components/toggle/toggle.js +1 -1
  303. package/dist/components/toggle/types.d.ts +1 -1
  304. package/dist/components/toggle-group/index.d.ts +3 -2
  305. package/dist/components/toggle-group/index.js +1 -1
  306. package/dist/components/toggle-group/toggle-group.js +1 -1
  307. package/dist/components/toggle-group/types.d.ts +2 -2
  308. package/dist/components/toolbar/toolbar.js +1 -1
  309. package/dist/components/toolbar/types.d.ts +1 -1
  310. package/dist/components/tooltip/index.d.ts +1 -1
  311. package/dist/components/tooltip/tooltip.js +1 -1
  312. package/dist/components/tooltip/tooltip.vue.d.ts +2 -7
  313. package/dist/components/tooltip/types.d.ts +11 -39
  314. package/dist/components/tree/tree-virtualizer.vue.d.ts +1 -1
  315. package/dist/components/tree/tree.js +1 -1
  316. package/dist/components/tree/tree.vue.d.ts +2 -2
  317. package/dist/components/tree/types.d.ts +4 -4
  318. package/dist/components/tree-menu/index.d.ts +1 -1
  319. package/dist/components/tree-menu/tree-menu-styled-item.js +1 -1
  320. package/dist/components/tree-menu/tree-menu.js +1 -1
  321. package/dist/components/tree-menu/tree-menu.vue.d.ts +3 -17
  322. package/dist/components/tree-menu/types.d.ts +15 -207
  323. package/dist/components/tree-menu/variants.js +1 -1
  324. package/dist/components/virtualizer/types.d.ts +3 -3
  325. package/dist/constants/components.d.ts +12 -18
  326. package/dist/constants/components.js +1 -1
  327. package/dist/index.d.ts +140 -161
  328. package/dist/index.js +1 -1
  329. package/dist/styles.css +112 -95
  330. package/dist/theme/shared.js +1 -1
  331. package/package.json +16 -12
  332. package/dist/components/carousel/carousel-content.js +0 -1
  333. package/dist/components/carousel/carousel-content.vue.d.ts +0 -18
  334. package/dist/components/carousel/carousel-item.js +0 -1
  335. package/dist/components/carousel/carousel-item.vue.d.ts +0 -18
  336. package/dist/components/carousel/carousel-next.js +0 -1
  337. package/dist/components/carousel/carousel-next.vue.d.ts +0 -23
  338. package/dist/components/carousel/carousel-previous.js +0 -1
  339. package/dist/components/carousel/carousel-previous.vue.d.ts +0 -23
  340. package/dist/components/color-picker/shared.js +0 -1
  341. package/dist/components/date-range-picker/variants.js +0 -1
  342. package/dist/components/empty/variants.d.ts +0 -57
  343. package/dist/components/form/context.js +0 -1
  344. package/dist/components/month-picker/index.d.ts +0 -3
  345. package/dist/components/month-picker/index.js +0 -1
  346. package/dist/components/month-picker/month-picker.js +0 -1
  347. package/dist/components/month-picker/month-picker.vue.d.ts +0 -24
  348. package/dist/components/month-picker/types.d.ts +0 -86
  349. package/dist/components/month-picker/variants.js +0 -1
  350. package/dist/components/month-range-picker/index.d.ts +0 -3
  351. package/dist/components/month-range-picker/index.js +0 -1
  352. package/dist/components/month-range-picker/month-range-picker.js +0 -1
  353. package/dist/components/month-range-picker/month-range-picker.vue.d.ts +0 -29
  354. package/dist/components/month-range-picker/types.d.ts +0 -89
  355. package/dist/components/month-range-picker/variants.js +0 -1
  356. package/dist/components/page-tabs/hooks.js +0 -1
  357. package/dist/components/popconfirm/context.js +0 -1
  358. package/dist/components/popconfirm/popconfirm-cancel.js +0 -1
  359. package/dist/components/popconfirm/popconfirm-cancel.vue.d.ts +0 -25
  360. package/dist/components/popconfirm/popconfirm-confirm.js +0 -1
  361. package/dist/components/popconfirm/popconfirm-confirm.vue.d.ts +0 -22
  362. package/dist/components/range-calendar/index.d.ts +0 -3
  363. package/dist/components/range-calendar/index.js +0 -1
  364. package/dist/components/range-calendar/range-calendar.js +0 -1
  365. package/dist/components/range-calendar/types.d.ts +0 -188
  366. package/dist/components/range-calendar/variants.js +0 -1
  367. package/dist/components/tags-input/tags-input-item-delete.js +0 -1
  368. package/dist/components/tags-input/tags-input-item-delete.vue.d.ts +0 -18
  369. package/dist/components/time-field/variants.js +0 -1
  370. package/dist/components/time-picker/index.d.ts +0 -3
  371. package/dist/components/time-picker/index.js +0 -1
  372. package/dist/components/time-picker/time-picker.js +0 -1
  373. package/dist/components/time-picker/time-picker.vue.d.ts +0 -24
  374. package/dist/components/time-picker/types.d.ts +0 -68
  375. package/dist/components/time-picker/variants.js +0 -1
  376. package/dist/components/time-range-field/variants.js +0 -1
  377. package/dist/components/time-range-picker/index.d.ts +0 -3
  378. package/dist/components/time-range-picker/index.js +0 -1
  379. package/dist/components/time-range-picker/time-range-picker.js +0 -1
  380. package/dist/components/time-range-picker/time-range-picker.vue.d.ts +0 -28
  381. package/dist/components/time-range-picker/types.d.ts +0 -71
  382. package/dist/components/time-range-picker/variants.js +0 -1
  383. package/dist/components/toggle-group/toggle-group-item.js +0 -1
  384. package/dist/components/toggle-group/toggle-group-item.vue.d.ts +0 -22
  385. package/dist/components/tree-menu/context.js +0 -1
  386. package/dist/components/tree-menu/shared.js +0 -1
  387. package/dist/components/tree-menu/tree-menu-option-slot.js +0 -1
  388. package/dist/components/tree-menu/tree-menu-option.js +0 -1
  389. package/dist/components/tree-menu/tree-menu-options.js +0 -1
  390. package/dist/components/year-picker/index.d.ts +0 -3
  391. package/dist/components/year-picker/index.js +0 -1
  392. package/dist/components/year-picker/types.d.ts +0 -86
  393. package/dist/components/year-picker/variants.js +0 -1
  394. package/dist/components/year-picker/year-picker.js +0 -1
  395. package/dist/components/year-picker/year-picker.vue.d.ts +0 -24
  396. package/dist/components/year-range-picker/index.d.ts +0 -3
  397. package/dist/components/year-range-picker/index.js +0 -1
  398. package/dist/components/year-range-picker/types.d.ts +0 -90
  399. package/dist/components/year-range-picker/variants.js +0 -1
  400. package/dist/components/year-range-picker/year-range-picker.js +0 -1
  401. package/dist/components/year-range-picker/year-range-picker.vue.d.ts +0 -29
  402. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Alignment.d.ts +0 -4
  403. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Animations.d.ts +0 -11
  404. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Axis.d.ts +0 -16
  405. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Counter.d.ts +0 -9
  406. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/DragHandler.d.ts +0 -13
  407. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/DragTracker.d.ts +0 -4
  408. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EmblaCarousel.d.ts +0 -31
  409. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Engine.d.ts +0 -67
  410. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EventHandler.d.ts +0 -29
  411. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EventStore.d.ts +0 -10
  412. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Limit.d.ts +0 -13
  413. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/NodeRects.d.ts +0 -11
  414. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Options.d.ts +0 -43
  415. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/OptionsHandler.d.ts +0 -11
  416. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/PercentOfView.d.ts +0 -6
  417. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Plugins.d.ts +0 -20
  418. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ResizeHandler.d.ts +0 -11
  419. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollBody.d.ts +0 -14
  420. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollBounds.d.ts +0 -8
  421. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollContain.d.ts +0 -4
  422. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollLooper.d.ts +0 -6
  423. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollProgress.d.ts +0 -6
  424. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollTarget.d.ts +0 -12
  425. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollTo.d.ts +0 -7
  426. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideFocus.d.ts +0 -10
  427. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideLooper.d.ts +0 -19
  428. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideRegistry.d.ts +0 -6
  429. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesHandler.d.ts +0 -11
  430. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesInView.d.ts +0 -9
  431. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesToScroll.d.ts +0 -7
  432. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Translate.d.ts +0 -8
  433. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Vector1d.d.ts +0 -9
  434. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/utils.d.ts +0 -4
@@ -8,37 +8,37 @@ declare const textareaVariants: _$tailwind_variants0.TVReturnType<{
8
8
  root: string;
9
9
  control: string;
10
10
  counter: string;
11
- clearable: string;
11
+ clear: string;
12
12
  };
13
13
  sm: {
14
14
  root: string;
15
15
  control: string;
16
16
  counter: string;
17
- clearable: string;
17
+ clear: string;
18
18
  };
19
19
  md: {
20
20
  root: string;
21
21
  control: string;
22
22
  counter: string;
23
- clearable: string;
23
+ clear: string;
24
24
  };
25
25
  lg: {
26
26
  root: string;
27
27
  control: string;
28
28
  counter: string;
29
- clearable: string;
29
+ clear: string;
30
30
  };
31
31
  xl: {
32
32
  root: string;
33
33
  control: string;
34
34
  counter: string;
35
- clearable: string;
35
+ clear: string;
36
36
  };
37
37
  '2xl': {
38
38
  root: string;
39
39
  control: string;
40
40
  counter: string;
41
- clearable: string;
41
+ clear: string;
42
42
  };
43
43
  };
44
44
  resize: {
@@ -59,44 +59,44 @@ declare const textareaVariants: _$tailwind_variants0.TVReturnType<{
59
59
  root: string[];
60
60
  control: string[];
61
61
  counter: string;
62
- clearable: string;
62
+ clear: string;
63
63
  }, undefined, {
64
64
  size: {
65
65
  xs: {
66
66
  root: string;
67
67
  control: string;
68
68
  counter: string;
69
- clearable: string;
69
+ clear: string;
70
70
  };
71
71
  sm: {
72
72
  root: string;
73
73
  control: string;
74
74
  counter: string;
75
- clearable: string;
75
+ clear: string;
76
76
  };
77
77
  md: {
78
78
  root: string;
79
79
  control: string;
80
80
  counter: string;
81
- clearable: string;
81
+ clear: string;
82
82
  };
83
83
  lg: {
84
84
  root: string;
85
85
  control: string;
86
86
  counter: string;
87
- clearable: string;
87
+ clear: string;
88
88
  };
89
89
  xl: {
90
90
  root: string;
91
91
  control: string;
92
92
  counter: string;
93
- clearable: string;
93
+ clear: string;
94
94
  };
95
95
  '2xl': {
96
96
  root: string;
97
97
  control: string;
98
98
  counter: string;
99
- clearable: string;
99
+ clear: string;
100
100
  };
101
101
  };
102
102
  resize: {
@@ -117,44 +117,44 @@ declare const textareaVariants: _$tailwind_variants0.TVReturnType<{
117
117
  root: string[];
118
118
  control: string[];
119
119
  counter: string;
120
- clearable: string;
120
+ clear: string;
121
121
  }, _$tailwind_variants0.TVReturnType<{
122
122
  size: {
123
123
  xs: {
124
124
  root: string;
125
125
  control: string;
126
126
  counter: string;
127
- clearable: string;
127
+ clear: string;
128
128
  };
129
129
  sm: {
130
130
  root: string;
131
131
  control: string;
132
132
  counter: string;
133
- clearable: string;
133
+ clear: string;
134
134
  };
135
135
  md: {
136
136
  root: string;
137
137
  control: string;
138
138
  counter: string;
139
- clearable: string;
139
+ clear: string;
140
140
  };
141
141
  lg: {
142
142
  root: string;
143
143
  control: string;
144
144
  counter: string;
145
- clearable: string;
145
+ clear: string;
146
146
  };
147
147
  xl: {
148
148
  root: string;
149
149
  control: string;
150
150
  counter: string;
151
- clearable: string;
151
+ clear: string;
152
152
  };
153
153
  '2xl': {
154
154
  root: string;
155
155
  control: string;
156
156
  counter: string;
157
- clearable: string;
157
+ clear: string;
158
158
  };
159
159
  };
160
160
  resize: {
@@ -175,7 +175,7 @@ declare const textareaVariants: _$tailwind_variants0.TVReturnType<{
175
175
  root: string[];
176
176
  control: string[];
177
177
  counter: string;
178
- clearable: string;
178
+ clear: string;
179
179
  }, undefined, unknown, unknown, undefined>>;
180
180
  type TextareaVariants = VariantProps<typeof textareaVariants>;
181
181
  type TextareaResize = NonNullable<TextareaVariants['resize']>;
@@ -1 +1 @@
1
- import{tv as e}from"tailwind-variants";const t=e({slots:{root:[`group relative flex flex-col`,`rounded-md border border-solid border-input bg-background transition-all-150`,`outline-none focus-within:ring-3 focus-within:ring-offset-background focus-within:ring-primary/30`],control:[`w-full bg-transparent outline-none`,`placeholder:text-muted-foreground`,`disabled:cursor-not-allowed disabled:opacity-50`],counter:`absolute z-2 leading-none text-muted-foreground`,clearable:`absolute hidden group-hover:block size-1em cursor-pointer opacity-50 hover:opacity-100`},variants:{size:{xs:{root:`text-2xs`,control:`min-h-6 px-1.5 py-1`,counter:`text-2xs right-1.75 bottom-1.5`,clearable:`right-1.5 top-1.5`},sm:{root:`text-xs`,control:`min-h-7 px-1.75 py-1`,counter:`text-xs right-2 bottom-1.75`,clearable:`right-1.75 top-1.75`},md:{root:`text-sm`,control:`min-h-8 px-2 py-1`,counter:`text-sm right-2.5 bottom-2`,clearable:`right-2 top-2`},lg:{root:`text-base`,control:`min-h-9 px-2.5 py-1`,counter:`text-base right-3 bottom-2.5`,clearable:`right-2.5 top-2.5`},xl:{root:`text-lg`,control:`min-h-10 px-3 py-1`,counter:`text-lg right-3.5 bottom-3`,clearable:`right-3 top-3`},"2xl":{root:`text-xl`,control:`min-h-12 px-4 py-2`,counter:`text-xl right-4 bottom-3.5`,clearable:`right-3.5 top-3.5`}},resize:{true:{control:`resize`},false:{control:`resize-none`},vertical:{control:`resize-y`},horizontal:{control:`resize-x`}}},defaultVariants:{size:`md`,resize:`vertical`}});export{t as textareaVariants};
1
+ import{tv as e}from"tailwind-variants";const t=e({slots:{root:[`group relative flex flex-col`,`rounded-md border border-solid border-input bg-background transition-all-150`,`outline-none focus-within:ring-3 focus-within:ring-offset-background focus-within:ring-primary/30`],control:[`w-full bg-transparent outline-none`,`placeholder:text-muted-foreground`,`disabled:cursor-not-allowed disabled:opacity-50`],counter:`absolute z-2 leading-none text-muted-foreground`,clear:`absolute hidden opacity-50 group-hover:inline-flex group-focus-within:inline-flex hover:opacity-100`},variants:{size:{xs:{root:`text-2xs`,control:`min-h-6 px-1.5 py-1`,counter:`text-2xs end-1.75 bottom-1.5`,clear:`end-1.5 top-1.5`},sm:{root:`text-xs`,control:`min-h-7 px-1.75 py-1`,counter:`text-xs end-2 bottom-1.75`,clear:`end-1.75 top-1.75`},md:{root:`text-sm`,control:`min-h-8 px-2 py-1`,counter:`text-sm end-2.5 bottom-2`,clear:`end-2 top-2`},lg:{root:`text-base`,control:`min-h-9 px-2.5 py-1`,counter:`text-base end-3 bottom-2.5`,clear:`end-2.5 top-2.5`},xl:{root:`text-lg`,control:`min-h-10 px-3 py-1`,counter:`text-lg end-3.5 bottom-3`,clear:`end-3 top-3`},"2xl":{root:`text-xl`,control:`min-h-12 px-4 py-2`,counter:`text-xl end-4 bottom-3.5`,clear:`end-3.5 top-3.5`}},resize:{true:{control:`resize`},false:{control:`resize-none`},vertical:{control:`resize-y`},horizontal:{control:`resize-x`}}},defaultVariants:{size:`md`,resize:`vertical`}});export{t as textareaVariants};
@@ -1,3 +1,3 @@
1
- import { TimeFieldEmits, TimeFieldProps, TimeFieldSlotProps, TimeFieldSlots } from "./types.js";
1
+ import { TimeFieldEmits, TimeFieldProps } from "./types.js";
2
2
  import { _default } from "./time-field.vue.js";
3
3
  export * from "@soybeanjs/headless/time-field";
@@ -1 +1 @@
1
- import{mergeSlotVariants as e}from"../../theme/shared.js";import"../../theme/index.js";import{timeFieldVariants as t}from"./variants.js";import{Fragment as n,computed as r,createBlock as i,createElementBlock as a,createTextVNode as o,defineComponent as s,mergeProps as c,normalizeProps as l,openBlock as u,renderList as d,renderSlot as f,toDisplayString as p,toHandlers as m,unref as h,withCtx as g}from"vue";import{useForwardListeners as _,useOmitProps as v}from"@soybeanjs/headless/composables";import{TimeFieldInput as y,TimeFieldRoot as b,provideTimeFieldUi as x}from"@soybeanjs/headless/time-field";const S=s({name:`STimeField`,__name:`time-field`,props:{class:{},size:{},ui:{},inputProps:{}},emits:[`update:modelValue`,`update:placeholder`],setup(s,{emit:S}){let C=s,w=_(S),T=v(C,[`class`,`size`,`ui`,`inputProps`]);return x(r(()=>e(t({size:C.size}),C.ui,{root:C.class}))),(e,t)=>(u(),i(h(b),c(h(T),m(h(w))),{default:g(t=>[e.$slots.default?f(e.$slots,`default`,l(c({key:0},t))):(u(!0),a(n,{key:1},d(t.segments,(e,t)=>(u(),i(h(y),c({key:`${e.part}-${t}`,part:e.part},{ref_for:!0},s.inputProps),{default:g(()=>[o(p(e.value),1)]),_:2},1040,[`part`]))),128))]),_:3},16))}});export{S as default};
1
+ import{mergeVariants as e}from"../../theme/shared.js";import"../../theme/index.js";import{dateFieldVariants as t}from"../date-field/variants.js";import{computed as n,createBlock as r,defineComponent as i,mergeProps as a,openBlock as o,toHandlers as s,unref as c}from"vue";import{useForwardListeners as l,useOmitProps as u}from"@soybeanjs/headless/composables";import{TimeFieldCompact as d,provideTimeFieldUi as f}from"@soybeanjs/headless/time-field";const p=i({name:`STimeField`,__name:`time-field`,props:{class:{type:[Boolean,null,String,Object,Array]},size:{},ui:{},inputProps:{},defaultValue:{},modelValue:{},defaultPlaceholder:{},placeholder:{},granularity:{},maxValue:{},minValue:{},isTimeUnavailable:{type:Function},id:{},hourCycle:{},step:{},hideTimeZone:{type:Boolean},name:{},required:{type:Boolean},dir:{},locale:{},disabled:{type:Boolean},readonly:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:modelValue`,`update:placeholder`],setup(i,{emit:p}){let m=i,h=l(p),g=u(m,[`class`,`size`,`ui`]);return f(n(()=>e(t({size:m.size}),m.ui,{root:m.class}))),(e,t)=>(o(),r(c(d),a(c(g),s(c(h))),null,16))}});export{p as default};
@@ -1,22 +1,15 @@
1
- import { TimeFieldProps, TimeFieldSlots } from "./types.js";
1
+ import { TimeFieldProps } from "./types.js";
2
2
  import * as _$vue from "vue";
3
3
  import * as _$_soybeanjs_headless_date0 from "@soybeanjs/headless/date";
4
4
 
5
5
  //#region src/components/time-field/time-field.vue.d.ts
6
- type __VLS_Slots = TimeFieldSlots;
7
- declare const __VLS_base: _$vue.DefineComponent<TimeFieldProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
6
+ declare const __VLS_export: _$vue.DefineComponent<TimeFieldProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
8
7
  "update:modelValue": (time: _$_soybeanjs_headless_date0.TimeValue | undefined) => any;
9
8
  "update:placeholder": (time: _$_soybeanjs_headless_date0.TimeValue) => any;
10
9
  }, string, _$vue.PublicProps, Readonly<TimeFieldProps> & Readonly<{
11
10
  "onUpdate:modelValue"?: ((time: _$_soybeanjs_headless_date0.TimeValue | undefined) => any) | undefined;
12
11
  "onUpdate:placeholder"?: ((time: _$_soybeanjs_headless_date0.TimeValue) => any) | undefined;
13
12
  }>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
14
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
13
  declare const _default: typeof __VLS_export;
16
- type __VLS_WithSlots<T, S> = T & {
17
- new (): {
18
- $slots: S;
19
- };
20
- };
21
14
  //#endregion
22
15
  export { _default };
@@ -1,32 +1,12 @@
1
1
  import { ThemeSize } from "../../theme/types.js";
2
- import { TimeFieldInputProps, TimeFieldRootEmits, TimeFieldRootProps, TimeFieldUi } from "@soybeanjs/headless/time-field";
2
+ import { TimeFieldCompactEmits, TimeFieldCompactProps, TimeFieldUi } from "@soybeanjs/headless/time-field";
3
3
  import { ClassValue } from "@soybeanjs/headless/types";
4
4
 
5
5
  //#region src/components/time-field/types.d.ts
6
6
  /**
7
- * Slot props for the time field component.
7
+ * Properties for the TimeField component.
8
8
  */
9
- interface TimeFieldSlotProps {
10
- /**
11
- * Current model value.
12
- */
13
- modelValue: TimeFieldRootProps['modelValue'];
14
- /**
15
- * Segments exposed in the slot scope.
16
- */
17
- segments: {
18
- part: TimeFieldInputProps['part'];
19
- value: string;
20
- }[];
21
- /**
22
- * Whether the current value is invalid.
23
- */
24
- isInvalid: boolean;
25
- }
26
- /**
27
- * Props for the time field component.
28
- */
29
- interface TimeFieldProps extends /** @vue-ignore */TimeFieldRootProps {
9
+ interface TimeFieldProps extends TimeFieldCompactProps {
30
10
  /**
31
11
  * Additional class names applied to the root element.
32
12
  */
@@ -39,23 +19,10 @@ interface TimeFieldProps extends /** @vue-ignore */TimeFieldRootProps {
39
19
  * Per-slot class overrides for the component.
40
20
  */
41
21
  ui?: Partial<TimeFieldUi>;
42
- /**
43
- * Props forwarded to the input element.
44
- */
45
- inputProps?: Omit<TimeFieldInputProps, 'part'>;
46
22
  }
47
23
  /**
48
- * Emits for the time field component.
49
- */
50
- type TimeFieldEmits = TimeFieldRootEmits;
51
- /**
52
- * Slots for the time field component.
24
+ * Events for the TimeField component.
53
25
  */
54
- interface TimeFieldSlots {
55
- /**
56
- * Custom content for the default slot.
57
- */
58
- default?: (props: TimeFieldSlotProps) => any;
59
- }
26
+ type TimeFieldEmits = TimeFieldCompactEmits;
60
27
  //#endregion
61
- export { TimeFieldEmits, TimeFieldProps, TimeFieldSlotProps, TimeFieldSlots };
28
+ export { TimeFieldEmits, TimeFieldProps };
@@ -1,3 +1,3 @@
1
- import { TimeRangeFieldEmits, TimeRangeFieldProps, TimeRangeFieldSlotProps, TimeRangeFieldSlots } from "./types.js";
1
+ import { TimeRangeFieldEmits, TimeRangeFieldProps, TimeRangeFieldSlots } from "./types.js";
2
2
  import { _default } from "./time-range-field.vue.js";
3
3
  export * from "@soybeanjs/headless/time-range-field";
@@ -1 +1 @@
1
- import{mergeSlotVariants as e}from"../../theme/shared.js";import"../../theme/index.js";import{timeRangeFieldVariants as t}from"./variants.js";import{computed as n,createBlock as r,createSlots as i,defineComponent as a,guardReactiveProps as o,mergeProps as s,normalizeProps as c,openBlock as l,renderSlot as u,toHandlers as d,unref as f,withCtx as p}from"vue";import{useForwardListeners as m,useOmitProps as h}from"@soybeanjs/headless/composables";import{TimeRangeFieldCompact as g,provideTimeRangeFieldUi as _}from"@soybeanjs/headless/time-range-field";const v=a({name:`STimeRangeField`,__name:`time-range-field`,props:{class:{},size:{},ui:{},inputProps:{},separator:{default:`–`}},emits:[`update:modelValue`,`update:placeholder`,`update:startValue`,`update:endValue`],setup(a,{emit:v}){let y=a,b=m(v),x=h(y,[`class`,`size`,`ui`,`inputProps`,`separator`]);return _(n(()=>e(t({size:y.size}),y.ui,{root:y.class}))),(e,t)=>(l(),r(f(g),s({...f(x),inputProps:a.inputProps,separator:a.separator},d(f(b))),i({_:2},[e.$slots.default?{name:`default`,fn:p(t=>[u(e.$slots,`default`,c(o(t)))]),key:`0`}:void 0,e.$slots.separator?{name:`separator`,fn:p(()=>[u(e.$slots,`separator`)]),key:`1`}:void 0]),1040))}});export{v as default};
1
+ import{mergeVariants as e}from"../../theme/shared.js";import"../../theme/index.js";import{dateFieldVariants as t}from"../date-field/variants.js";import{dateRangeFieldVariants as n}from"../date-range-field/variants.js";import{computed as r,createBlock as i,createSlots as a,defineComponent as o,mergeProps as s,openBlock as c,renderList as l,renderSlot as u,toHandlers as d,unref as f,useSlots as p,withCtx as m}from"vue";import{useForwardListeners as h,useOmitProps as g}from"@soybeanjs/headless/composables";import{keysOf as _}from"@soybeanjs/utils";import{TimeRangeFieldCompact as v,provideTimeRangeFieldUi as y}from"@soybeanjs/headless/time-range-field";const b=o({name:`STimeRangeField`,__name:`time-range-field`,props:{class:{type:[Boolean,null,String,Object,Array]},size:{},ui:{},inputProps:{},separator:{},defaultValue:{},modelValue:{},startName:{},endName:{},defaultPlaceholder:{},placeholder:{},granularity:{},maxValue:{},minValue:{},isTimeUnavailable:{type:Function},id:{},hourCycle:{},step:{},hideTimeZone:{type:Boolean},name:{},required:{type:Boolean},dir:{},locale:{},disabled:{type:Boolean},readonly:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:modelValue`,`update:placeholder`,`update:startValue`,`update:endValue`],setup(o,{emit:b}){let x=o,S=b,C=p(),w=h(S),T=g(x,[`class`,`size`,`ui`]),E=r(()=>_(C));return y(r(()=>{let r=n({size:x.size}),i=t({size:x.size});return e(Object.assign(r,i),x.ui,{root:x.class})})),(e,t)=>(c(),i(f(v),s(f(T),d(f(w))),a({_:2},[l(E.value,t=>({name:t,fn:m(()=>[u(e.$slots,t)])}))]),1040))}});export{b as default};
@@ -14,9 +14,7 @@ declare const __VLS_base: _$vue.DefineComponent<TimeRangeFieldProps, {}, {}, {},
14
14
  "onUpdate:placeholder"?: ((time: _$_soybeanjs_headless_date0.TimeValue) => any) | undefined;
15
15
  "onUpdate:startValue"?: ((time: _$_soybeanjs_headless_date0.TimeValue | undefined) => any) | undefined;
16
16
  "onUpdate:endValue"?: ((time: _$_soybeanjs_headless_date0.TimeValue | undefined) => any) | undefined;
17
- }>, {
18
- separator: string;
19
- }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
17
+ }>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
20
18
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
19
  declare const _default: typeof __VLS_export;
22
20
  type __VLS_WithSlots<T, S> = T & {
@@ -1,39 +1,12 @@
1
1
  import { ThemeSize } from "../../theme/types.js";
2
- import { TimeRangeFieldInputProps, TimeRangeFieldRootEmits, TimeRangeFieldRootProps, TimeRangeFieldUi } from "@soybeanjs/headless/time-range-field";
2
+ import { TimeRangeFieldCompactEmits, TimeRangeFieldCompactProps, TimeRangeFieldCompactSlots, TimeRangeFieldUi } from "@soybeanjs/headless/time-range-field";
3
3
  import { ClassValue } from "@soybeanjs/headless/types";
4
4
 
5
5
  //#region src/components/time-range-field/types.d.ts
6
6
  /**
7
- * Slot props for the time range field component.
7
+ * Properties for the TimeRangeField component.
8
8
  */
9
- interface TimeRangeFieldSlotProps {
10
- /**
11
- * Current model value.
12
- */
13
- modelValue: TimeRangeFieldRootProps['modelValue'];
14
- /**
15
- * Start segments exposed in the slot scope.
16
- */
17
- startSegments: {
18
- part: TimeRangeFieldInputProps['part'];
19
- value: string;
20
- }[];
21
- /**
22
- * End segments exposed in the slot scope.
23
- */
24
- endSegments: {
25
- part: TimeRangeFieldInputProps['part'];
26
- value: string;
27
- }[];
28
- /**
29
- * Whether the current value is invalid.
30
- */
31
- isInvalid: boolean;
32
- }
33
- /**
34
- * Props for the time range field component.
35
- */
36
- interface TimeRangeFieldProps extends /** @vue-ignore */TimeRangeFieldRootProps {
9
+ interface TimeRangeFieldProps extends TimeRangeFieldCompactProps {
37
10
  /**
38
11
  * Additional class names applied to the root element.
39
12
  */
@@ -46,31 +19,14 @@ interface TimeRangeFieldProps extends /** @vue-ignore */TimeRangeFieldRootProps
46
19
  * Per-slot class overrides for the component.
47
20
  */
48
21
  ui?: Partial<TimeRangeFieldUi>;
49
- /**
50
- * Props forwarded to the input element.
51
- */
52
- inputProps?: Omit<TimeRangeFieldInputProps, 'part' | 'type'>;
53
- /**
54
- * Separator.
55
- */
56
- separator?: string;
57
22
  }
58
23
  /**
59
- * Emits for the time range field component.
24
+ * Events for the TimeRangeField component.
60
25
  */
61
- type TimeRangeFieldEmits = TimeRangeFieldRootEmits;
26
+ type TimeRangeFieldEmits = TimeRangeFieldCompactEmits;
62
27
  /**
63
- * Slots for the time range field component.
28
+ * Slots for the TimeRangeField component.
64
29
  */
65
- interface TimeRangeFieldSlots {
66
- /**
67
- * Custom content for the default slot.
68
- */
69
- default?: (props: TimeRangeFieldSlotProps) => any;
70
- /**
71
- * Custom content for the separator slot.
72
- */
73
- separator?: () => any;
74
- }
30
+ type TimeRangeFieldSlots = TimeRangeFieldCompactSlots;
75
31
  //#endregion
76
- export { TimeRangeFieldEmits, TimeRangeFieldProps, TimeRangeFieldSlotProps, TimeRangeFieldSlots };
32
+ export { TimeRangeFieldEmits, TimeRangeFieldProps, TimeRangeFieldSlots };
@@ -1,4 +1,4 @@
1
- var e=`[data-slot='toast'] {
1
+ var e=`[data-soybean-toast] {
2
2
  --y: translateY(100%);
3
3
  --lift: 1;
4
4
  --lift-amount: calc(var(--lift) * var(--gap));
@@ -15,18 +15,18 @@ var e=`[data-slot='toast'] {
15
15
  box-shadow: 0 4px 12px hsl(var(--foreground) / 0.1);
16
16
  }
17
17
 
18
- [data-slot='toast']:focus-visible {
18
+ [data-soybean-toast]:focus-visible {
19
19
  box-shadow:
20
20
  0 4px 12px hsl(var(--foreground) / 0.1),
21
21
  0 0 0 2px hsl(var(--foreground) / 0.2);
22
22
  }
23
23
 
24
- [data-slot='toast'][data-swiping='true'] {
24
+ [data-soybean-toast][data-swiping='true'] {
25
25
  transform: var(--y) translateY(var(--swipe-amount-y, 0px)) translateX(var(--swipe-amount-x, 0px));
26
26
  transition: none;
27
27
  }
28
28
 
29
- [data-slot='toast'][data-swiping='true']::before {
29
+ [data-soybean-toast][data-swiping='true']::before {
30
30
  content: '';
31
31
  position: absolute;
32
32
  inset-inline: -100%;
@@ -34,24 +34,24 @@ var e=`[data-slot='toast'] {
34
34
  z-index: -1;
35
35
  }
36
36
 
37
- [data-slot='toast'][data-y-position='top'][data-swiping='true']::before {
37
+ [data-soybean-toast][data-y-position='top'][data-swiping='true']::before {
38
38
  bottom: 50%;
39
39
  transform: scaleY(3) translateY(50%);
40
40
  }
41
41
 
42
- [data-slot='toast'][data-y-position='bottom'][data-swiping='true']::before {
42
+ [data-soybean-toast][data-y-position='bottom'][data-swiping='true']::before {
43
43
  top: 50%;
44
44
  transform: scaleY(3) translateY(-50%);
45
45
  }
46
46
 
47
- [data-slot='toast'][data-swiping='false'][data-removed='true']::before {
47
+ [data-soybean-toast][data-swiping='false'][data-removed='true']::before {
48
48
  content: '';
49
49
  position: absolute;
50
50
  inset: 0;
51
51
  transform: scaleY(2);
52
52
  }
53
53
 
54
- [data-slot='toast'][data-expanded='true']::after {
54
+ [data-soybean-toast][data-expanded='true']::after {
55
55
  content: '';
56
56
  position: absolute;
57
57
  inset-inline-start: 0;
@@ -60,42 +60,42 @@ var e=`[data-slot='toast'] {
60
60
  width: 100%;
61
61
  }
62
62
 
63
- [data-slot='toast'][data-mounted='true'] {
63
+ [data-soybean-toast][data-mounted='true'] {
64
64
  --y: translateY(0);
65
65
  opacity: 1;
66
66
  }
67
67
 
68
- [data-slot='toast'][data-expanded='false'][data-front='false'] {
68
+ [data-soybean-toast][data-expanded='false'][data-front='false'] {
69
69
  --scale: var(--toasts-before) * 0.05 + 1;
70
70
  --y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));
71
71
  height: var(--front-toast-height);
72
72
  }
73
73
 
74
- [data-slot='toast'][data-expanded='false'][data-front='false'] > * {
74
+ [data-soybean-toast][data-expanded='false'][data-front='false'] > * {
75
75
  opacity: 0;
76
76
  }
77
77
 
78
- [data-slot='toast'][data-visible='false'] {
78
+ [data-soybean-toast][data-visible='false'] {
79
79
  opacity: 0;
80
80
  pointer-events: none;
81
81
  }
82
82
 
83
- [data-slot='toast'][data-mounted='true'][data-expanded='true'] {
83
+ [data-soybean-toast][data-mounted='true'][data-expanded='true'] {
84
84
  --y: translateY(calc(var(--lift) * var(--offset)));
85
85
  height: var(--initial-height);
86
86
  }
87
87
 
88
- [data-slot='toast'][data-removed='true'][data-front='true'][data-swipe-out='false'] {
88
+ [data-soybean-toast][data-removed='true'][data-front='true'][data-swipe-out='false'] {
89
89
  --y: translateY(calc(var(--lift) * -100%));
90
90
  opacity: 0;
91
91
  }
92
92
 
93
- [data-slot='toast'][data-removed='true'][data-front='false'][data-swipe-out='false'][data-expanded='true'] {
93
+ [data-soybean-toast][data-removed='true'][data-front='false'][data-swipe-out='false'][data-expanded='true'] {
94
94
  --y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));
95
95
  opacity: 0;
96
96
  }
97
97
 
98
- [data-slot='toast'][data-removed='true'][data-front='false'][data-swipe-out='false'][data-expanded='false'] {
98
+ [data-soybean-toast][data-removed='true'][data-front='false'][data-swipe-out='false'][data-expanded='false'] {
99
99
  --y: translateY(40%);
100
100
  opacity: 0;
101
101
  transition:
@@ -103,65 +103,65 @@ var e=`[data-slot='toast'] {
103
103
  opacity 200ms;
104
104
  }
105
105
 
106
- [data-slot='toast'][data-removed='true'][data-front='false']::before {
106
+ [data-soybean-toast][data-removed='true'][data-front='false']::before {
107
107
  height: calc(var(--initial-height) + 20%);
108
108
  }
109
109
 
110
- [data-slot='toast'][data-swiped='true'] {
110
+ [data-soybean-toast][data-swiped='true'] {
111
111
  -webkit-user-select: none;
112
112
  user-select: none;
113
113
  }
114
114
 
115
- [data-slot='toast'][data-swipe-out='true'][data-y-position='bottom'],
116
- [data-slot='toast'][data-swipe-out='true'][data-y-position='top'] {
115
+ [data-soybean-toast][data-swipe-out='true'][data-y-position='bottom'],
116
+ [data-soybean-toast][data-swipe-out='true'][data-y-position='top'] {
117
117
  animation-duration: 200ms;
118
118
  animation-timing-function: ease-out;
119
119
  animation-fill-mode: forwards;
120
120
  }
121
121
 
122
- [data-slot='toast'][data-swipe-out='true'][data-swipe-direction='left'] {
122
+ [data-soybean-toast][data-swipe-out='true'][data-swipe-direction='left'] {
123
123
  animation-name: swipe-out-left;
124
124
  }
125
125
 
126
- [data-slot='toast'][data-swipe-out='true'][data-swipe-direction='right'] {
126
+ [data-soybean-toast][data-swipe-out='true'][data-swipe-direction='right'] {
127
127
  animation-name: swipe-out-right;
128
128
  }
129
129
 
130
- [data-slot='toast'][data-swipe-out='true'][data-swipe-direction='up'] {
130
+ [data-soybean-toast][data-swipe-out='true'][data-swipe-direction='up'] {
131
131
  animation-name: swipe-out-up;
132
132
  }
133
133
 
134
- [data-slot='toast'][data-swipe-out='true'][data-swipe-direction='down'] {
134
+ [data-soybean-toast][data-swipe-out='true'][data-swipe-direction='down'] {
135
135
  animation-name: swipe-out-down;
136
136
  }
137
137
 
138
- [data-slot='toast'][data-rich-color='true'][data-type='success'] {
138
+ [data-soybean-toast][data-rich-color='true'][data-type='success'] {
139
139
  background-color: hsl(var(--success-100));
140
140
  border-color: hsl(var(--success));
141
141
  }
142
142
 
143
- [data-slot='toast'][data-rich-color='true'][data-type='info'] {
143
+ [data-soybean-toast][data-rich-color='true'][data-type='info'] {
144
144
  background-color: hsl(var(--info-100));
145
145
  border-color: hsl(var(--info));
146
146
  }
147
147
 
148
- [data-slot='toast'][data-rich-color='true'][data-type='warning'] {
148
+ [data-soybean-toast][data-rich-color='true'][data-type='warning'] {
149
149
  background-color: hsl(var(--warning-100));
150
150
  border-color: hsl(var(--warning));
151
151
  }
152
152
 
153
- [data-slot='toast'][data-rich-color='true'][data-type='error'] {
153
+ [data-soybean-toast][data-rich-color='true'][data-type='error'] {
154
154
  background-color: hsl(var(--destructive-100));
155
155
  border-color: hsl(var(--destructive));
156
156
  }
157
157
 
158
- [data-slot='toast'][data-inverted='true'] {
158
+ [data-soybean-toast][data-inverted='true'] {
159
159
  background-color: hsl(var(--carbon));
160
160
  border-color: hsl(var(--carbon));
161
161
  color: hsl(var(--carbon-foreground));
162
162
  }
163
163
 
164
- [data-slot='toast'] > * {
164
+ [data-soybean-toast] > * {
165
165
  transition: opacity 400ms;
166
166
  }
167
167
 
@@ -238,30 +238,30 @@ var e=`[data-slot='toast'] {
238
238
  }
239
239
 
240
240
  @media (max-width: 600px) {
241
- [data-slot='toaster'] {
241
+ [data-soybean-toaster] {
242
242
  width: 100%;
243
243
  inset-inline-start: var(--mobile-offset-left);
244
244
  inset-inline-end: var(--mobile-offset-right);
245
245
  }
246
246
 
247
- [data-slot='toaster'] [data-slot='toast'] {
247
+ [data-soybean-toaster][data-soybean-toast] {
248
248
  inset-inline: 0;
249
249
  width: calc(100% - var(--mobile-offset-left) * 2);
250
250
  }
251
251
 
252
- [data-slot='toaster'][data-x-position='left'] {
252
+ [data-soybean-toaster][data-x-position='left'] {
253
253
  inset-inline-start: var(--mobile-offset-left);
254
254
  }
255
255
 
256
- [data-slot='toaster'][data-y-position='bottom'] {
256
+ [data-soybean-toaster][data-y-position='bottom'] {
257
257
  bottom: var(--mobile-offset-bottom);
258
258
  }
259
259
 
260
- [data-slot='toaster'][data-y-position='top'] {
260
+ [data-soybean-toaster][data-y-position='top'] {
261
261
  top: var(--mobile-offset-top);
262
262
  }
263
263
 
264
- [data-slot='toaster'][data-x-position='center'] {
264
+ [data-soybean-toaster][data-x-position='center'] {
265
265
  inset-inline-start: var(--mobile-offset-left);
266
266
  inset-inline-end: var(--mobile-offset-right);
267
267
  transform: none;
@@ -1 +1 @@
1
- import{mergeBaseVariants as e,mergeSlotVariants as t}from"../../theme/shared.js";import{miniSizeMap as n}from"../../theme/config.js";import"../../theme/index.js";import{buttonVariants as r}from"../button/variants.js";import{toastVariants as i}from"./variants.js";import a from"./styles.js";import{computed as o,createBlock as s,defineComponent as c,guardReactiveProps as l,normalizeProps as u,openBlock as d,renderSlot as f,unref as p,withCtx as m}from"vue";import{useOmitProps as h}from"@soybeanjs/headless/composables";import{useStyleTag as g}from"@vueuse/core";import{ToastProvider as _,provideToastUi as v}from"@soybeanjs/headless/toast";const y=c({name:`SToastProvider`,__name:`toast-provider`,props:{size:{},ui:{},id:{},dir:{},hotkey:{},customAriaLabel:{},containerAriaLabel:{},position:{},defaultExpanded:{type:Boolean},duration:{},gap:{},offset:{},visibleCounts:{},swipeDirections:{},showIcon:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},icons:{},toastProps:{},wrapperProps:{},contentProps:{},titleProps:{},descriptionProps:{},iconProps:{},footerProps:{},actionProps:{},cancelProps:{},closeProps:{}},setup(c){let y=c,b=h(y,[`size`,`ui`]),x=o(()=>{let a=y.size??`md`;return t(e(i({size:y.size}),{action:r({variant:`solid`,size:n[a]}),cancel:r({variant:`pure`,size:n[a]}),close:r({variant:`ghost`,color:`accent`,size:n[a],shape:`square`,fitContent:!0})}),y.ui)});return g(a,{id:`__SoybeanUI_toastStyle`}),v(x),(e,t)=>(d(),s(p(_),u(l(p(b))),{default:m(()=>[f(e.$slots,`default`)]),_:3},16))}});export{y as default};
1
+ import{mergeVariants as e}from"../../theme/shared.js";import{miniSizeMap as t}from"../../theme/config.js";import"../../theme/index.js";import{buttonIconVariants as n,buttonVariants as r}from"../button/variants.js";import{toastVariants as i}from"./variants.js";import a from"./styles.js";import{computed as o,createBlock as s,defineComponent as c,guardReactiveProps as l,normalizeProps as u,openBlock as d,renderSlot as f,unref as p,withCtx as m}from"vue";import{useOmitProps as h}from"@soybeanjs/headless/composables";import{useStyleTag as g}from"@vueuse/core";import{ToastProvider as _,provideToastUi as v}from"@soybeanjs/headless/toast";const y=c({name:`SToastProvider`,__name:`toast-provider`,props:{size:{},ui:{},id:{},dir:{},hotkey:{},customAriaLabel:{},containerAriaLabel:{},position:{},defaultExpanded:{type:Boolean},duration:{},gap:{},offset:{},visibleCounts:{},swipeDirections:{},showIcon:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},icons:{},toastProps:{},wrapperProps:{},contentProps:{},titleProps:{},descriptionProps:{},iconProps:{},footerProps:{},actionProps:{},cancelProps:{},closeProps:{}},setup(c){let y=c,b=h(y,[`size`,`ui`]),x=o(()=>{let a=t[y.size??`md`];return e(Object.assign(i({size:y.size}),{$base:{action:r({variant:`solid`,size:a}),cancel:r({variant:`pure`,size:a}),close:n({size:a})}}),y.ui)});return g(a,{id:`__SoybeanUI_toastStyle`}),v(x),(e,t)=>(d(),s(p(_),u(l(p(b))),{default:m(()=>[f(e.$slots,`default`)]),_:3},16))}});export{y as default};
@@ -3,7 +3,7 @@ import { ToastProviderProps, ToastUi } from "@soybeanjs/headless/toast";
3
3
 
4
4
  //#region src/components/toast/types.d.ts
5
5
  /**
6
- * Props for the toast provider component.
6
+ * Properties for the ToastProvider component.
7
7
  */
8
8
  interface ToastProviderProps$1 extends ToastProviderProps {
9
9
  /**
@@ -1 +1 @@
1
- import{cn as e}from"../../theme/merge.js";import"../../theme/index.js";import{toggleVariants as t}from"./variants.js";import{computed as n,createBlock as r,defineComponent as i,guardReactiveProps as a,mergeProps as o,normalizeProps as s,openBlock as c,renderSlot as l,unref as u,withCtx as d}from"vue";import{useOmitProps as f}from"@soybeanjs/headless/composables";import{Toggle as p}from"@soybeanjs/headless/toggle";const m=i({name:`SToggle`,__name:`toggle`,props:{class:{},color:{},size:{},variant:{},shape:{},defaultValue:{type:Boolean},modelValue:{type:Boolean,default:void 0},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:modelValue`],setup(i,{emit:m}){let h=i,g=m,_=f(h,[`class`,`color`,`variant`,`size`,`shape`]),v=n(()=>e(t({color:h.color,variant:h.variant,size:h.size,shape:h.shape}),h.class));return(e,t)=>(c(),r(u(p),o(u(_),{class:v.value,"onUpdate:modelValue":t[0]||=e=>g(`update:modelValue`,e)}),{default:d(t=>[l(e.$slots,`default`,s(a(t)))]),_:3},16,[`class`]))}});export{m as default};
1
+ import{cn as e}from"../../theme/merge.js";import"../../theme/index.js";import{toggleVariants as t}from"./variants.js";import{computed as n,createBlock as r,defineComponent as i,guardReactiveProps as a,mergeProps as o,normalizeProps as s,openBlock as c,renderSlot as l,unref as u,withCtx as d}from"vue";import{useOmitProps as f}from"@soybeanjs/headless/composables";import{Toggle as p}from"@soybeanjs/headless/toggle";const m=i({name:`SToggle`,__name:`toggle`,props:{class:{type:[Boolean,null,String,Object,Array]},color:{},size:{},variant:{},shape:{},defaultValue:{type:Boolean},modelValue:{type:Boolean,default:void 0},type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:modelValue`],setup(i,{emit:m}){let h=i,g=m,_=f(h,[`class`,`color`,`variant`,`size`,`shape`]),v=n(()=>e(t({color:h.color,variant:h.variant,size:h.size,shape:h.shape}),h.class));return(e,t)=>(c(),r(u(p),o(u(_),{class:v.value,"onUpdate:modelValue":t[0]||=e=>g(`update:modelValue`,e)}),{default:d(t=>[l(e.$slots,`default`,s(a(t)))]),_:3},16,[`class`]))}});export{m as default};
@@ -5,7 +5,7 @@ import { ClassValue } from "@soybeanjs/headless/types";
5
5
 
6
6
  //#region src/components/toggle/types.d.ts
7
7
  /**
8
- * Props for the toggle component.
8
+ * Properties for the Toggle component.
9
9
  */
10
10
  interface ToggleProps$1 extends ToggleProps {
11
11
  /**
@@ -1,5 +1,6 @@
1
1
  import { ToggleGroupVariant } from "./variants.js";
2
2
  import { ToggleGroupEmits, ToggleGroupProps } from "./types.js";
3
3
  import { _default } from "./toggle-group.vue.js";
4
- import { _default as _default$1 } from "./toggle-group-item.vue.js";
5
- export * from "@soybeanjs/headless/toggle-group";
4
+ import { ToggleGroupItem as SToggleGroupItem } from "@soybeanjs/headless/toggle-group";
5
+ export * from "@soybeanjs/headless/toggle-group";
6
+ export { SToggleGroupItem };