@byyuurin/ui 0.2.0 → 0.4.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 (137) hide show
  1. package/README.md +5 -3
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +2 -2
  4. package/dist/runtime/components/Accordion.vue +2 -2
  5. package/dist/runtime/components/Accordion.vue.d.ts +11 -7
  6. package/dist/runtime/components/Alert.vue +2 -1
  7. package/dist/runtime/components/Alert.vue.d.ts +4 -4
  8. package/dist/runtime/components/App.vue +2 -1
  9. package/dist/runtime/components/App.vue.d.ts +11 -7
  10. package/dist/runtime/components/Avatar.vue +2 -1
  11. package/dist/runtime/components/Avatar.vue.d.ts +4 -3
  12. package/dist/runtime/components/AvatarGroup.vue +2 -1
  13. package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
  14. package/dist/runtime/components/Badge.vue +4 -3
  15. package/dist/runtime/components/Badge.vue.d.ts +2 -2
  16. package/dist/runtime/components/Breadcrumb.vue +2 -2
  17. package/dist/runtime/components/Breadcrumb.vue.d.ts +10 -6
  18. package/dist/runtime/components/Button.vue +8 -8
  19. package/dist/runtime/components/Button.vue.d.ts +1 -1
  20. package/dist/runtime/components/Calendar.vue +2 -1
  21. package/dist/runtime/components/Calendar.vue.d.ts +16 -12
  22. package/dist/runtime/components/Card.vue +2 -1
  23. package/dist/runtime/components/Card.vue.d.ts +1 -1
  24. package/dist/runtime/components/Carousel.vue +2 -1
  25. package/dist/runtime/components/Carousel.vue.d.ts +14 -10
  26. package/dist/runtime/components/Checkbox.vue +4 -2
  27. package/dist/runtime/components/Checkbox.vue.d.ts +4 -3
  28. package/dist/runtime/components/CheckboxGroup.vue +4 -3
  29. package/dist/runtime/components/CheckboxGroup.vue.d.ts +11 -7
  30. package/dist/runtime/components/Chip.vue +5 -1
  31. package/dist/runtime/components/Chip.vue.d.ts +2 -2
  32. package/dist/runtime/components/Collapsible.vue +2 -1
  33. package/dist/runtime/components/Collapsible.vue.d.ts +2 -2
  34. package/dist/runtime/components/Drawer.vue +2 -1
  35. package/dist/runtime/components/Drawer.vue.d.ts +6 -6
  36. package/dist/runtime/components/DropdownMenu.vue +3 -3
  37. package/dist/runtime/components/DropdownMenu.vue.d.ts +17 -9
  38. package/dist/runtime/components/DropdownMenuContent.vue +11 -12
  39. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +11 -7
  40. package/dist/runtime/components/FieldGroup.vue +2 -1
  41. package/dist/runtime/components/FieldGroup.vue.d.ts +2 -2
  42. package/dist/runtime/components/FileUpload.vue +267 -0
  43. package/dist/runtime/components/FileUpload.vue.d.ts +178 -0
  44. package/dist/runtime/components/Form.vue +2 -1
  45. package/dist/runtime/components/Form.vue.d.ts +13 -8
  46. package/dist/runtime/components/FormField.vue +6 -4
  47. package/dist/runtime/components/FormField.vue.d.ts +7 -2
  48. package/dist/runtime/components/Icon.vue.d.ts +1 -1
  49. package/dist/runtime/components/Input.vue +4 -4
  50. package/dist/runtime/components/Input.vue.d.ts +16 -12
  51. package/dist/runtime/components/InputNumber.vue +3 -2
  52. package/dist/runtime/components/InputNumber.vue.d.ts +128 -124
  53. package/dist/runtime/components/InputTags.vue +2 -1
  54. package/dist/runtime/components/InputTags.vue.d.ts +16 -11
  55. package/dist/runtime/components/Kbd.vue +2 -1
  56. package/dist/runtime/components/Kbd.vue.d.ts +2 -2
  57. package/dist/runtime/components/Link.vue +5 -3
  58. package/dist/runtime/components/Link.vue.d.ts +16 -6
  59. package/dist/runtime/components/LinkBase.vue.d.ts +2 -2
  60. package/dist/runtime/components/Marquee.vue +2 -1
  61. package/dist/runtime/components/Marquee.vue.d.ts +3 -3
  62. package/dist/runtime/components/Modal.vue +3 -2
  63. package/dist/runtime/components/Modal.vue.d.ts +6 -6
  64. package/dist/runtime/components/NavigationMenu.vue +2 -2
  65. package/dist/runtime/components/NavigationMenu.vue.d.ts +11 -7
  66. package/dist/runtime/components/Pagination.vue +2 -1
  67. package/dist/runtime/components/Pagination.vue.d.ts +4 -4
  68. package/dist/runtime/components/PinInput.vue +4 -4
  69. package/dist/runtime/components/PinInput.vue.d.ts +14 -10
  70. package/dist/runtime/components/Popover.vue +1 -1
  71. package/dist/runtime/components/Popover.vue.d.ts +11 -7
  72. package/dist/runtime/components/Progress.vue +2 -1
  73. package/dist/runtime/components/Progress.vue.d.ts +2 -2
  74. package/dist/runtime/components/RadioGroup.vue +3 -3
  75. package/dist/runtime/components/RadioGroup.vue.d.ts +11 -7
  76. package/dist/runtime/components/ScrollArea.vue +2 -1
  77. package/dist/runtime/components/ScrollArea.vue.d.ts +2 -2
  78. package/dist/runtime/components/Select.vue +282 -131
  79. package/dist/runtime/components/Select.vue.d.ts +103 -123
  80. package/dist/runtime/components/Separator.vue +2 -1
  81. package/dist/runtime/components/Separator.vue.d.ts +2 -2
  82. package/dist/runtime/components/Skeleton.vue +2 -1
  83. package/dist/runtime/components/Skeleton.vue.d.ts +2 -2
  84. package/dist/runtime/components/Slider.vue +2 -1
  85. package/dist/runtime/components/Slider.vue.d.ts +11 -7
  86. package/dist/runtime/components/Stepper.vue +117 -0
  87. package/dist/runtime/components/Stepper.vue.d.ts +83 -0
  88. package/dist/runtime/components/Switch.vue +3 -4
  89. package/dist/runtime/components/Switch.vue.d.ts +4 -3
  90. package/dist/runtime/components/Table.vue +2 -1
  91. package/dist/runtime/components/Table.vue.d.ts +13 -8
  92. package/dist/runtime/components/Tabs.vue +2 -2
  93. package/dist/runtime/components/Tabs.vue.d.ts +12 -8
  94. package/dist/runtime/components/Textarea.vue +3 -3
  95. package/dist/runtime/components/Textarea.vue.d.ts +16 -11
  96. package/dist/runtime/components/Timeline.vue +2 -1
  97. package/dist/runtime/components/Timeline.vue.d.ts +11 -7
  98. package/dist/runtime/components/Toast.vue +2 -1
  99. package/dist/runtime/components/Toast.vue.d.ts +5 -5
  100. package/dist/runtime/components/ToastProvider.vue +2 -2
  101. package/dist/runtime/components/ToastProvider.vue.d.ts +3 -3
  102. package/dist/runtime/components/Tooltip.vue +4 -4
  103. package/dist/runtime/components/Tooltip.vue.d.ts +2 -2
  104. package/dist/runtime/components/Tree.vue +241 -0
  105. package/dist/runtime/components/Tree.vue.d.ts +121 -0
  106. package/dist/runtime/composables/defineShortcuts.d.ts +1 -0
  107. package/dist/runtime/composables/defineShortcuts.js +44 -8
  108. package/dist/runtime/composables/useFileUpload.d.ts +19 -0
  109. package/dist/runtime/composables/useFileUpload.js +79 -0
  110. package/dist/runtime/composables/useLocale.d.ts +18 -0
  111. package/dist/runtime/locale/en.d.ts +9 -0
  112. package/dist/runtime/locale/en.js +9 -0
  113. package/dist/runtime/locale/zh_tw.d.ts +9 -0
  114. package/dist/runtime/locale/zh_tw.js +9 -0
  115. package/dist/runtime/types/html.d.ts +8 -0
  116. package/dist/runtime/types/html.js +0 -0
  117. package/dist/runtime/types/index.d.ts +3 -0
  118. package/dist/runtime/types/index.js +3 -0
  119. package/dist/runtime/types/input.d.ts +5 -5
  120. package/dist/runtime/types/locale.d.ts +9 -0
  121. package/dist/runtime/types/utils.d.ts +4 -4
  122. package/dist/runtime/utils/index.d.ts +3 -3
  123. package/dist/runtime/utils/link.d.ts +2 -1
  124. package/dist/runtime/utils/link.js +40 -29
  125. package/dist/runtime/vue/components/Icon.vue.d.ts +1 -1
  126. package/dist/runtime/vue/components/Link.vue +7 -12
  127. package/dist/runtime/vue/components/Link.vue.d.ts +11 -40
  128. package/dist/setup.d.mts +1 -1
  129. package/dist/shared/{ui.DpbffTXs.d.mts → ui.CGCKYv7g.d.mts} +6 -2
  130. package/dist/shared/{ui.CzIlLITK.mjs → ui.DYMXCXO6.mjs} +9 -5
  131. package/dist/shared/{ui.DLOxhmP0.mjs → ui.DcEKQd0n.mjs} +490 -20
  132. package/dist/unocss.mjs +1 -1
  133. package/dist/unplugin.d.mts +1 -1
  134. package/dist/unplugin.mjs +2 -2
  135. package/dist/vite.d.mts +1 -1
  136. package/dist/vite.mjs +2 -2
  137. package/package.json +31 -31
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@byyuurin/ui",
3
3
  "type": "module",
4
- "version": "0.2.0",
4
+ "version": "0.4.0",
5
5
  "description": "",
6
6
  "author": "Yuurin <byyuurin@gmail.com>",
7
7
  "license": "MIT",
@@ -129,17 +129,17 @@
129
129
  "@byyuurin/ui-kit": "^0.7.2",
130
130
  "@byyuurin/uno-merge": "^0.2.1",
131
131
  "@iconify/vue": "^5.0.0",
132
- "@internationalized/date": "^3.10.0",
132
+ "@internationalized/date": "^3.10.1",
133
133
  "@nuxt/fonts": "^0.11.4",
134
134
  "@nuxt/icon": "^1.15.0",
135
- "@nuxt/kit": "^4.2.1",
135
+ "@nuxt/kit": "^4.2.2",
136
136
  "@nuxtjs/color-mode": "^3.5.2",
137
- "@standard-schema/spec": "^1.0.0",
137
+ "@standard-schema/spec": "^1.1.0",
138
138
  "@tanstack/vue-table": "^8.21.3",
139
- "@tanstack/vue-virtual": "^3.13.12",
140
- "@unhead/vue": "^2.0.19",
141
- "@unocss/nuxt": "^66.5.5",
142
- "@vue/shared": "^3.5.24",
139
+ "@tanstack/vue-virtual": "^3.13.18",
140
+ "@unhead/vue": "^2.1.1",
141
+ "@unocss/nuxt": "^66.5.10",
142
+ "@vue/shared": "^3.5.26",
143
143
  "@vueuse/core": "^13.9.0",
144
144
  "defu": "^6.1.4",
145
145
  "embla-carousel": "^8.6.0",
@@ -150,47 +150,47 @@
150
150
  "embla-carousel-fade": "^8.6.0",
151
151
  "embla-carousel-vue": "^8.6.0",
152
152
  "embla-carousel-wheel-gestures": "^8.1.0",
153
- "knitwork": "^1.2.0",
153
+ "knitwork": "^1.3.0",
154
154
  "magic-string": "^0.30.21",
155
155
  "mlly": "^1.8.0",
156
156
  "ohash": "^2.0.11",
157
157
  "pathe": "^2.0.3",
158
- "reka-ui": "^2.6.0",
158
+ "reka-ui": "^2.7.0",
159
159
  "scule": "^1.3.0",
160
160
  "tinyglobby": "^0.2.15",
161
- "ufo": "^1.6.1",
162
- "unplugin": "^2.3.10",
163
- "unplugin-auto-import": "^20.2.0",
161
+ "ufo": "^1.6.2",
162
+ "unplugin": "^2.3.11",
163
+ "unplugin-auto-import": "^20.3.0",
164
164
  "unplugin-vue-components": "^30.0.0",
165
- "vue-component-type-helpers": "^3.1.3"
165
+ "vue-component-type-helpers": "^3.2.2"
166
166
  },
167
167
  "devDependencies": {
168
- "@byyuurin/eslint-config": "^1.9.0",
169
- "@iconify-json/lucide": "^1.2.72",
170
- "@nuxt/eslint-config": "^1.10.0",
168
+ "@byyuurin/eslint-config": "^1.9.1",
169
+ "@iconify-json/lucide": "^1.2.83",
170
+ "@nuxt/eslint-config": "^1.12.1",
171
171
  "@nuxt/module-builder": "^1.0.2",
172
- "@nuxt/schema": "^4.2.1",
173
- "@nuxt/test-utils": "^3.20.1",
174
- "@types/node": "^22.19.0",
175
- "@unocss/core": "^66.5.5",
176
- "@unocss/preset-wind4": "^66.5.5",
177
- "@unocss/reset": "^66.5.5",
178
- "@vitejs/plugin-vue": "^6.0.1",
179
- "bumpp": "^10.3.1",
180
- "eslint": "^9.39.1",
172
+ "@nuxt/schema": "^4.2.2",
173
+ "@nuxt/test-utils": "^3.23.0",
174
+ "@types/node": "^22.19.5",
175
+ "@unocss/core": "^66.5.10",
176
+ "@unocss/preset-wind4": "^66.5.10",
177
+ "@unocss/reset": "^66.5.10",
178
+ "@vitejs/plugin-vue": "^6.0.3",
179
+ "bumpp": "^10.3.2",
180
+ "eslint": "^9.39.2",
181
181
  "eslint-plugin-format": "1.0.1",
182
182
  "esno": "^4.8.0",
183
- "lint-staged": "^16.2.6",
184
- "nuxt": "^4.2.1",
183
+ "lint-staged": "^16.2.7",
184
+ "nuxt": "^4.2.2",
185
185
  "simple-git-hooks": "^2.13.1",
186
186
  "superstruct": "^2.0.2",
187
187
  "typescript": "^5.9.3",
188
- "unocss": "^66.5.5",
189
- "vite": "^7.2.2",
188
+ "unocss": "^66.5.10",
189
+ "vite": "^7.3.1",
190
190
  "vite-plugin-inspect": "^11.3.3",
191
191
  "vitest": "^3.2.4",
192
192
  "vue": "^3.5.24",
193
- "vue-tsc": "^3.1.3",
193
+ "vue-tsc": "^3.2.2",
194
194
  "zod": "^3.25.76"
195
195
  },
196
196
  "resolutions": {