@byyuurin/ui 0.0.10 → 0.0.11

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 (194) hide show
  1. package/README.md +2 -2
  2. package/dist/module.json +3 -3
  3. package/dist/module.mjs +1 -1
  4. package/dist/module.mjs.map +1 -1
  5. package/dist/runtime/app/injections.d.ts +388 -364
  6. package/dist/runtime/components/Accordion.vue +38 -67
  7. package/dist/runtime/components/Accordion.vue.d.ts +52 -0
  8. package/dist/runtime/components/Alert.vue +37 -75
  9. package/dist/runtime/components/Alert.vue.d.ts +59 -0
  10. package/dist/runtime/components/App.vue +25 -40
  11. package/dist/runtime/components/App.vue.d.ts +24 -0
  12. package/dist/runtime/components/Avatar.vue +31 -51
  13. package/dist/runtime/components/Avatar.vue.d.ts +25 -0
  14. package/dist/runtime/components/AvatarGroup.vue +38 -69
  15. package/dist/runtime/components/AvatarGroup.vue.d.ts +27 -0
  16. package/dist/runtime/components/Badge.vue +25 -51
  17. package/dist/runtime/components/Badge.vue.d.ts +44 -0
  18. package/dist/runtime/components/Breadcrumb.vue +36 -74
  19. package/dist/runtime/components/Breadcrumb.vue.d.ts +52 -0
  20. package/dist/runtime/components/Button.vue +62 -51
  21. package/dist/runtime/components/Button.vue.d.ts +29 -0
  22. package/dist/runtime/components/ButtonGroup.vue +17 -37
  23. package/dist/runtime/components/ButtonGroup.vue.d.ts +26 -0
  24. package/dist/runtime/components/Calendar.vue +75 -110
  25. package/dist/runtime/components/Calendar.vue.d.ts +75 -0
  26. package/dist/runtime/components/Card.vue +25 -42
  27. package/dist/runtime/components/Card.vue.d.ts +30 -0
  28. package/dist/runtime/components/Carousel.vue +118 -225
  29. package/dist/runtime/components/Carousel.vue.d.ts +104 -0
  30. package/dist/runtime/components/Checkbox.vue +46 -73
  31. package/dist/runtime/components/Checkbox.vue.d.ts +56 -0
  32. package/dist/runtime/components/Chip.vue +31 -48
  33. package/dist/runtime/components/Chip.vue.d.ts +30 -0
  34. package/dist/runtime/components/Collapsible.vue +22 -30
  35. package/dist/runtime/components/Collapsible.vue.d.ts +26 -0
  36. package/dist/runtime/components/Drawer.vue +51 -101
  37. package/dist/runtime/components/Drawer.vue.d.ts +80 -0
  38. package/dist/runtime/components/DropdownMenu.vue +37 -115
  39. package/dist/runtime/components/DropdownMenu.vue.d.ts +99 -0
  40. package/dist/runtime/components/DropdownMenuContent.vue +81 -77
  41. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +39 -0
  42. package/dist/runtime/components/Form.vue +140 -254
  43. package/dist/runtime/components/Form.vue.d.ts +78 -0
  44. package/dist/runtime/components/FormItem.vue +50 -89
  45. package/dist/runtime/components/FormItem.vue.d.ts +60 -0
  46. package/dist/runtime/components/Input.vue +79 -115
  47. package/dist/runtime/components/Input.vue.d.ts +64 -0
  48. package/dist/runtime/components/InputNumber.vue +74 -117
  49. package/dist/runtime/components/InputNumber.vue.d.ts +245 -0
  50. package/dist/runtime/components/Kbd.vue +18 -39
  51. package/dist/runtime/components/Kbd.vue.d.ts +28 -0
  52. package/dist/runtime/components/Link.vue +168 -257
  53. package/dist/runtime/components/Link.vue.d.ts +95 -0
  54. package/dist/runtime/components/LinkBase.vue +36 -54
  55. package/dist/runtime/components/LinkBase.vue.d.ts +28 -0
  56. package/dist/runtime/components/Modal.vue +49 -84
  57. package/dist/runtime/components/Modal.vue.d.ts +66 -0
  58. package/dist/runtime/components/OverlayProvider.vue +10 -14
  59. package/dist/runtime/components/OverlayProvider.vue.d.ts +2 -0
  60. package/dist/runtime/components/Pagination.vue +55 -121
  61. package/dist/runtime/components/Pagination.vue.d.ts +93 -0
  62. package/dist/runtime/components/PinInput.vue +49 -58
  63. package/dist/runtime/components/PinInput.vue.d.ts +35 -0
  64. package/dist/runtime/components/Popover.vue +39 -68
  65. package/dist/runtime/components/Popover.vue.d.ts +45 -0
  66. package/dist/runtime/components/Progress.vue +68 -120
  67. package/dist/runtime/components/Progress.vue.d.ts +54 -0
  68. package/dist/runtime/components/RadioGroup.vue +67 -125
  69. package/dist/runtime/components/RadioGroup.vue.d.ts +74 -0
  70. package/dist/runtime/components/ScrollArea.vue +31 -31
  71. package/dist/runtime/components/ScrollArea.vue.d.ts +17 -0
  72. package/dist/runtime/components/Select.vue +114 -204
  73. package/dist/runtime/components/Select.vue.d.ts +119 -0
  74. package/dist/runtime/components/Separator.vue +26 -44
  75. package/dist/runtime/components/Separator.vue.d.ts +27 -0
  76. package/dist/runtime/components/Skeleton.vue +12 -21
  77. package/dist/runtime/components/Skeleton.vue.d.ts +19 -0
  78. package/dist/runtime/components/Slider.vue +52 -74
  79. package/dist/runtime/components/Slider.vue.d.ts +36 -0
  80. package/dist/runtime/components/Switch.vue +51 -71
  81. package/dist/runtime/components/Switch.vue.d.ts +49 -0
  82. package/dist/runtime/components/Table.vue +108 -194
  83. package/dist/runtime/components/Table.vue.d.ts +148 -0
  84. package/dist/runtime/components/Tabs.vue +36 -81
  85. package/dist/runtime/components/Tabs.vue.d.ts +65 -0
  86. package/dist/runtime/components/Textarea.vue +77 -124
  87. package/dist/runtime/components/Textarea.vue.d.ts +60 -0
  88. package/dist/runtime/components/Toast.vue +47 -75
  89. package/dist/runtime/components/Toast.vue.d.ts +131 -0
  90. package/dist/runtime/components/ToastProvider.vue +65 -101
  91. package/dist/runtime/components/ToastProvider.vue.d.ts +38 -0
  92. package/dist/runtime/components/Tooltip.vue +36 -47
  93. package/dist/runtime/components/Tooltip.vue.d.ts +31 -0
  94. package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
  95. package/dist/runtime/composables/useButtonGroup.d.ts +2 -2
  96. package/dist/runtime/composables/useFormItem.d.ts +2 -2
  97. package/dist/runtime/composables/useKbd.d.ts +1 -1
  98. package/dist/runtime/composables/useLocale.d.ts +3 -3
  99. package/dist/runtime/composables/useTheme.d.ts +1 -1
  100. package/dist/runtime/composables/useToast.d.ts +1 -1
  101. package/dist/runtime/locale/en.d.ts +1 -1
  102. package/dist/runtime/locale/zh-tw.d.ts +1 -1
  103. package/dist/runtime/theme/accordion.d.ts +45 -51
  104. package/dist/runtime/theme/accordion.js +1 -1
  105. package/dist/runtime/theme/alert.d.ts +115 -121
  106. package/dist/runtime/theme/alert.js +1 -1
  107. package/dist/runtime/theme/avatar-group.d.ts +42 -48
  108. package/dist/runtime/theme/avatar-group.js +1 -1
  109. package/dist/runtime/theme/avatar.d.ts +46 -52
  110. package/dist/runtime/theme/avatar.js +1 -1
  111. package/dist/runtime/theme/badge.d.ts +60 -66
  112. package/dist/runtime/theme/badge.js +1 -1
  113. package/dist/runtime/theme/breadcrumb.d.ts +52 -58
  114. package/dist/runtime/theme/breadcrumb.js +1 -1
  115. package/dist/runtime/theme/button-group.d.ts +36 -42
  116. package/dist/runtime/theme/button.d.ts +162 -168
  117. package/dist/runtime/theme/button.js +1 -1
  118. package/dist/runtime/theme/calendar.d.ts +52 -50
  119. package/dist/runtime/theme/calendar.js +20 -3
  120. package/dist/runtime/theme/card.d.ts +52 -58
  121. package/dist/runtime/theme/card.js +1 -1
  122. package/dist/runtime/theme/carousel.d.ts +98 -104
  123. package/dist/runtime/theme/carousel.js +1 -1
  124. package/dist/runtime/theme/checkbox.d.ts +77 -83
  125. package/dist/runtime/theme/checkbox.js +1 -1
  126. package/dist/runtime/theme/chip.d.ts +50 -56
  127. package/dist/runtime/theme/chip.js +1 -1
  128. package/dist/runtime/theme/collapsible.d.ts +29 -35
  129. package/dist/runtime/theme/collapsible.js +1 -1
  130. package/dist/runtime/theme/drawer.d.ts +120 -126
  131. package/dist/runtime/theme/drawer.js +1 -1
  132. package/dist/runtime/theme/dropdown-menu.d.ts +55 -61
  133. package/dist/runtime/theme/dropdown-menu.js +1 -1
  134. package/dist/runtime/theme/form-item.d.ts +63 -69
  135. package/dist/runtime/theme/form-item.js +1 -1
  136. package/dist/runtime/theme/form.d.ts +1 -7
  137. package/dist/runtime/theme/input-number.d.ts +98 -104
  138. package/dist/runtime/theme/input-number.js +1 -1
  139. package/dist/runtime/theme/input.d.ts +153 -159
  140. package/dist/runtime/theme/input.js +1 -1
  141. package/dist/runtime/theme/kbd.d.ts +30 -36
  142. package/dist/runtime/theme/link.d.ts +37 -43
  143. package/dist/runtime/theme/modal.d.ts +36 -42
  144. package/dist/runtime/theme/modal.js +1 -1
  145. package/dist/runtime/theme/pagination.d.ts +71 -77
  146. package/dist/runtime/theme/pagination.js +1 -1
  147. package/dist/runtime/theme/pinInput.d.ts +80 -86
  148. package/dist/runtime/theme/pinInput.js +1 -1
  149. package/dist/runtime/theme/popover.d.ts +29 -35
  150. package/dist/runtime/theme/popover.js +1 -1
  151. package/dist/runtime/theme/progress.d.ts +163 -169
  152. package/dist/runtime/theme/progress.js +1 -1
  153. package/dist/runtime/theme/radio-group.d.ts +99 -105
  154. package/dist/runtime/theme/radio-group.js +1 -1
  155. package/dist/runtime/theme/scroll-area.d.ts +62 -68
  156. package/dist/runtime/theme/scroll-area.js +1 -1
  157. package/dist/runtime/theme/select.d.ts +165 -171
  158. package/dist/runtime/theme/select.js +1 -1
  159. package/dist/runtime/theme/separator.d.ts +62 -68
  160. package/dist/runtime/theme/separator.js +1 -1
  161. package/dist/runtime/theme/skeleton.d.ts +1 -7
  162. package/dist/runtime/theme/slider.d.ts +62 -68
  163. package/dist/runtime/theme/slider.js +1 -1
  164. package/dist/runtime/theme/switch.d.ts +111 -117
  165. package/dist/runtime/theme/switch.js +1 -1
  166. package/dist/runtime/theme/table.d.ts +75 -81
  167. package/dist/runtime/theme/table.js +1 -1
  168. package/dist/runtime/theme/tabs.d.ts +114 -120
  169. package/dist/runtime/theme/tabs.js +1 -1
  170. package/dist/runtime/theme/textarea.d.ts +76 -82
  171. package/dist/runtime/theme/textarea.js +1 -1
  172. package/dist/runtime/theme/toast-provider.d.ts +106 -112
  173. package/dist/runtime/theme/toast-provider.js +1 -1
  174. package/dist/runtime/theme/toast.d.ts +74 -80
  175. package/dist/runtime/theme/toast.js +1 -1
  176. package/dist/runtime/theme/tooltip.d.ts +35 -41
  177. package/dist/runtime/theme/tooltip.js +1 -1
  178. package/dist/runtime/types/utils.d.ts +5 -5
  179. package/dist/runtime/utils/link.d.ts +3 -5
  180. package/dist/runtime/utils/styler.d.ts +2 -2
  181. package/dist/runtime/utils/styler.js +2 -2
  182. package/dist/shared/ui.D1BTWZFB.mjs +5 -0
  183. package/dist/shared/ui.D1BTWZFB.mjs.map +1 -0
  184. package/dist/types.d.mts +1 -1
  185. package/dist/unocss.mjs +5 -4
  186. package/dist/unocss.mjs.map +1 -1
  187. package/dist/unplugin.mjs +1 -1
  188. package/dist/unplugin.mjs.map +1 -1
  189. package/dist/vite.mjs +1 -1
  190. package/package.json +77 -75
  191. package/dist/module.cjs +0 -5
  192. package/dist/shared/ui.3e7fad19.mjs +0 -5
  193. package/dist/shared/ui.3e7fad19.mjs.map +0 -1
  194. package/dist/types.d.ts +0 -1
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@byyuurin/ui",
3
3
  "type": "module",
4
- "version": "0.0.10",
4
+ "version": "0.0.11",
5
+ "packageManager": "pnpm@10.12.4",
5
6
  "description": "",
6
7
  "author": "Yuurin <byyuurin@gmail.com>",
7
8
  "license": "MIT",
@@ -19,19 +20,19 @@
19
20
  "default": "./dist/runtime/index.js"
20
21
  },
21
22
  "./unplugin": {
22
- "types": "./dist/unplugin.d.ts",
23
+ "types": "./dist/unplugin.d.mts",
23
24
  "default": "./dist/unplugin.mjs"
24
25
  },
25
26
  "./vite": {
26
- "types": "./dist/vite.d.ts",
27
+ "types": "./dist/vite.d.mts",
27
28
  "default": "./dist/vite.mjs"
28
29
  },
29
30
  "./nuxt": {
30
- "types": "./dist/module.d.ts",
31
+ "types": "./dist/module.d.mts",
31
32
  "default": "./dist/module.mjs"
32
33
  },
33
34
  "./unocss": {
34
- "types": "./dist/unocss.d.ts",
35
+ "types": "./dist/unocss.d.mts",
35
36
  "default": "./dist/unocss.mjs"
36
37
  },
37
38
  "./runtime/index": {
@@ -55,95 +56,96 @@
55
56
  "*.d.ts",
56
57
  "dist"
57
58
  ],
58
- "peerDependencies": {
59
- "nuxt": "^3.13.1",
60
- "unocss": "^65.4.3",
61
- "vue": "^3.5.13"
59
+ "scripts": {
60
+ "dev": "nuxi dev playground/nuxt",
61
+ "dev:build": "nuxi build playground/nuxt",
62
+ "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground/nuxt",
63
+ "dev:vue": "pnpm --filter \"./playground/vue\" run dev",
64
+ "lint": "eslint .",
65
+ "release": "bumpp && pnpm publish",
66
+ "start": "esno src/index.ts",
67
+ "test": "vitest",
68
+ "test:types": "vue-tsc --noEmit && nuxi typecheck playground/nuxt",
69
+ "prepare": "simple-git-hooks",
70
+ "prepack": "nuxt-module-build build"
62
71
  },
63
- "peerDependenciesMeta": {
64
- "nuxt": {
65
- "optional": true
66
- }
72
+ "peerDependencies": {
73
+ "unocss": "^66.3.2"
67
74
  },
68
75
  "dependencies": {
69
- "@byyuurin/ui-kit": "^0.5.0",
70
- "@internationalized/date": "^3.7.0",
71
- "@nuxt/kit": "^3.15.4",
76
+ "@byyuurin/ui-kit": "^0.6.1",
77
+ "@internationalized/date": "^3.8.2",
78
+ "@nuxt/kit": "^3.17.6",
72
79
  "@standard-schema/spec": "^1.0.0",
73
- "@tanstack/vue-table": "^8.21.2",
74
- "@unocss/core": "^65.5.0",
75
- "@unocss/preset-mini": "^65.5.0",
76
- "@unocss/preset-uno": "^65.5.0",
77
- "@vue/shared": "^3.5.13",
78
- "@vueuse/core": "^13.0.0",
80
+ "@tanstack/vue-table": "^8.21.3",
81
+ "@unocss/core": "^66.3.2",
82
+ "@unocss/preset-mini": "^66.3.2",
83
+ "@unocss/preset-wind3": "^66.3.2",
84
+ "@vue/shared": "^3.5.17",
85
+ "@vueuse/core": "^13.5.0",
79
86
  "defu": "^6.1.4",
80
- "embla-carousel": "^8.5.2",
81
- "embla-carousel-auto-height": "^8.5.2",
82
- "embla-carousel-auto-scroll": "^8.5.2",
83
- "embla-carousel-autoplay": "^8.5.2",
84
- "embla-carousel-class-names": "^8.5.2",
85
- "embla-carousel-fade": "^8.5.2",
86
- "embla-carousel-vue": "^8.5.2",
87
- "embla-carousel-wheel-gestures": "^8.0.1",
87
+ "embla-carousel": "^8.6.0",
88
+ "embla-carousel-auto-height": "^8.6.0",
89
+ "embla-carousel-auto-scroll": "^8.6.0",
90
+ "embla-carousel-autoplay": "^8.6.0",
91
+ "embla-carousel-class-names": "^8.6.0",
92
+ "embla-carousel-fade": "^8.6.0",
93
+ "embla-carousel-vue": "^8.6.0",
94
+ "embla-carousel-wheel-gestures": "^8.0.2",
88
95
  "magic-string": "^0.30.17",
89
96
  "mlly": "^1.7.4",
90
- "ohash": "^1.1.6",
97
+ "ohash": "^2.0.11",
91
98
  "pathe": "^2.0.3",
92
- "reka-ui": "^2.1.1",
99
+ "reka-ui": "^2.3.2",
93
100
  "scule": "^1.3.0",
94
- "tinyglobby": "^0.2.12",
95
- "ufo": "^1.5.4",
96
- "unplugin": "^2.2.2",
97
- "unplugin-auto-import": "^19.1.2",
98
- "unplugin-vue-components": "^28.4.1",
99
- "vue-component-type-helpers": "^2.2.8",
100
- "vue-router": "^4.5.0"
101
+ "tinyglobby": "^0.2.14",
102
+ "ufo": "^1.6.1",
103
+ "unplugin": "^2.3.5",
104
+ "unplugin-auto-import": "^19.3.0",
105
+ "unplugin-vue-components": "^28.8.0",
106
+ "vue-component-type-helpers": "^2.2.12",
107
+ "vue-router": "^4.5.1"
101
108
  },
102
109
  "devDependencies": {
103
- "@antfu/ni": "^24.3.0",
104
- "@byyuurin/eslint-config": "^1.8.1",
105
- "@nuxt/eslint-config": "^1.2.0",
106
- "@nuxt/module-builder": "^0.8.4",
107
- "@nuxt/schema": "^3.15.4",
108
- "@nuxt/test-utils": "^3.17.2",
109
- "@types/node": "^22.13.14",
110
- "@unocss/reset": "^65.5.0",
111
- "@vitejs/plugin-vue": "^5.2.3",
112
- "bumpp": "^10.1.0",
113
- "eslint": "^9.23.0",
110
+ "@antfu/ni": "^25.0.0",
111
+ "@byyuurin/eslint-config": "^1.8.2",
112
+ "@nuxt/eslint-config": "^1.5.2",
113
+ "@nuxt/module-builder": "^1.0.1",
114
+ "@nuxt/schema": "^3.17.6",
115
+ "@nuxt/test-utils": "^3.19.2",
116
+ "@types/node": "^22.16.0",
117
+ "@unocss/reset": "^66.3.2",
118
+ "@vitejs/plugin-vue": "^6.0.0",
119
+ "bumpp": "^10.2.0",
120
+ "eslint": "^9.30.1",
114
121
  "eslint-plugin-format": "1.0.1",
115
122
  "esno": "^4.8.0",
116
- "lint-staged": "^15.5.0",
117
- "nuxt": "^3.15.4",
118
- "simple-git-hooks": "^2.12.1",
119
- "typescript": "^5.8.2",
120
- "unocss": "^65.5.0",
121
- "vite": "^6.2.3",
122
- "vite-plugin-inspect": "^11.0.0",
123
- "vitest": "^3.0.9",
124
- "vue": "^3.5.13",
125
- "vue-tsc": "^2.2.8",
126
- "zod": "^3.24.2"
123
+ "lint-staged": "^16.1.2",
124
+ "nuxt": "^3.17.6",
125
+ "simple-git-hooks": "^2.13.0",
126
+ "typescript": "^5.8.3",
127
+ "unocss": "^66.3.2",
128
+ "vite": "^7.0.2",
129
+ "vite-plugin-inspect": "^11.3.0",
130
+ "vitest": "^3.2.4",
131
+ "vue": "^3.5.17",
132
+ "vue-tsc": "^2.2.12",
133
+ "zod": "^3.25.72"
134
+ },
135
+ "pnpm": {
136
+ "overrides": {
137
+ "is-core-module": "npm:@nolyfill/is-core-module@^1.0.39",
138
+ "isarray": "npm:@nolyfill/isarray@^1.0.44",
139
+ "safe-buffer": "npm:@nolyfill/safe-buffer@^1.0.44"
140
+ }
127
141
  },
128
142
  "resolutions": {
129
- "@byyuurin/ui": "workspace:*",
130
- "vue-tsc": "2.2.0"
143
+ "@byyuurin/ui": "workspace:*"
131
144
  },
132
145
  "simple-git-hooks": {
133
146
  "pre-commit": "pnpm lint-staged"
134
147
  },
135
148
  "lint-staged": {
136
149
  "*": "eslint --fix"
137
- },
138
- "scripts": {
139
- "dev": "nuxi dev playground/nuxt",
140
- "dev:build": "nuxi build playground/nuxt",
141
- "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground/nuxt",
142
- "dev:vue": "pnpm --filter \"./playground/vue\" run dev",
143
- "lint": "eslint .",
144
- "release": "bumpp && pnpm publish",
145
- "start": "esno src/index.ts",
146
- "test": "vitest",
147
- "test:types": "vue-tsc --noEmit && nuxi typecheck playground/nuxt"
148
150
  }
149
- }
151
+ }
package/dist/module.cjs DELETED
@@ -1,5 +0,0 @@
1
- module.exports = function(...args) {
2
- return import('./module.mjs').then(m => m.default.call(this, ...args))
3
- }
4
- const _meta = module.exports.meta = require('./module.json')
5
- module.exports.getMeta = () => Promise.resolve(_meta)
@@ -1,5 +0,0 @@
1
- const name = "@byyuurin/ui";
2
- const version = "0.0.10";
3
-
4
- export { name as n, version as v };
5
- //# sourceMappingURL=ui.3e7fad19.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ui.3e7fad19.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
package/dist/types.d.ts DELETED
@@ -1 +0,0 @@
1
- export { type ModuleOptions, default } from './module'