@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.
- package/README.md +2 -2
- package/dist/module.json +3 -3
- package/dist/module.mjs +1 -1
- package/dist/module.mjs.map +1 -1
- package/dist/runtime/app/injections.d.ts +388 -364
- package/dist/runtime/components/Accordion.vue +38 -67
- package/dist/runtime/components/Accordion.vue.d.ts +52 -0
- package/dist/runtime/components/Alert.vue +37 -75
- package/dist/runtime/components/Alert.vue.d.ts +59 -0
- package/dist/runtime/components/App.vue +25 -40
- package/dist/runtime/components/App.vue.d.ts +24 -0
- package/dist/runtime/components/Avatar.vue +31 -51
- package/dist/runtime/components/Avatar.vue.d.ts +25 -0
- package/dist/runtime/components/AvatarGroup.vue +38 -69
- package/dist/runtime/components/AvatarGroup.vue.d.ts +27 -0
- package/dist/runtime/components/Badge.vue +25 -51
- package/dist/runtime/components/Badge.vue.d.ts +44 -0
- package/dist/runtime/components/Breadcrumb.vue +36 -74
- package/dist/runtime/components/Breadcrumb.vue.d.ts +52 -0
- package/dist/runtime/components/Button.vue +62 -51
- package/dist/runtime/components/Button.vue.d.ts +29 -0
- package/dist/runtime/components/ButtonGroup.vue +17 -37
- package/dist/runtime/components/ButtonGroup.vue.d.ts +26 -0
- package/dist/runtime/components/Calendar.vue +75 -110
- package/dist/runtime/components/Calendar.vue.d.ts +75 -0
- package/dist/runtime/components/Card.vue +25 -42
- package/dist/runtime/components/Card.vue.d.ts +30 -0
- package/dist/runtime/components/Carousel.vue +118 -225
- package/dist/runtime/components/Carousel.vue.d.ts +104 -0
- package/dist/runtime/components/Checkbox.vue +46 -73
- package/dist/runtime/components/Checkbox.vue.d.ts +56 -0
- package/dist/runtime/components/Chip.vue +31 -48
- package/dist/runtime/components/Chip.vue.d.ts +30 -0
- package/dist/runtime/components/Collapsible.vue +22 -30
- package/dist/runtime/components/Collapsible.vue.d.ts +26 -0
- package/dist/runtime/components/Drawer.vue +51 -101
- package/dist/runtime/components/Drawer.vue.d.ts +80 -0
- package/dist/runtime/components/DropdownMenu.vue +37 -115
- package/dist/runtime/components/DropdownMenu.vue.d.ts +99 -0
- package/dist/runtime/components/DropdownMenuContent.vue +81 -77
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +39 -0
- package/dist/runtime/components/Form.vue +140 -254
- package/dist/runtime/components/Form.vue.d.ts +78 -0
- package/dist/runtime/components/FormItem.vue +50 -89
- package/dist/runtime/components/FormItem.vue.d.ts +60 -0
- package/dist/runtime/components/Input.vue +79 -115
- package/dist/runtime/components/Input.vue.d.ts +64 -0
- package/dist/runtime/components/InputNumber.vue +74 -117
- package/dist/runtime/components/InputNumber.vue.d.ts +245 -0
- package/dist/runtime/components/Kbd.vue +18 -39
- package/dist/runtime/components/Kbd.vue.d.ts +28 -0
- package/dist/runtime/components/Link.vue +168 -257
- package/dist/runtime/components/Link.vue.d.ts +95 -0
- package/dist/runtime/components/LinkBase.vue +36 -54
- package/dist/runtime/components/LinkBase.vue.d.ts +28 -0
- package/dist/runtime/components/Modal.vue +49 -84
- package/dist/runtime/components/Modal.vue.d.ts +66 -0
- package/dist/runtime/components/OverlayProvider.vue +10 -14
- package/dist/runtime/components/OverlayProvider.vue.d.ts +2 -0
- package/dist/runtime/components/Pagination.vue +55 -121
- package/dist/runtime/components/Pagination.vue.d.ts +93 -0
- package/dist/runtime/components/PinInput.vue +49 -58
- package/dist/runtime/components/PinInput.vue.d.ts +35 -0
- package/dist/runtime/components/Popover.vue +39 -68
- package/dist/runtime/components/Popover.vue.d.ts +45 -0
- package/dist/runtime/components/Progress.vue +68 -120
- package/dist/runtime/components/Progress.vue.d.ts +54 -0
- package/dist/runtime/components/RadioGroup.vue +67 -125
- package/dist/runtime/components/RadioGroup.vue.d.ts +74 -0
- package/dist/runtime/components/ScrollArea.vue +31 -31
- package/dist/runtime/components/ScrollArea.vue.d.ts +17 -0
- package/dist/runtime/components/Select.vue +114 -204
- package/dist/runtime/components/Select.vue.d.ts +119 -0
- package/dist/runtime/components/Separator.vue +26 -44
- package/dist/runtime/components/Separator.vue.d.ts +27 -0
- package/dist/runtime/components/Skeleton.vue +12 -21
- package/dist/runtime/components/Skeleton.vue.d.ts +19 -0
- package/dist/runtime/components/Slider.vue +52 -74
- package/dist/runtime/components/Slider.vue.d.ts +36 -0
- package/dist/runtime/components/Switch.vue +51 -71
- package/dist/runtime/components/Switch.vue.d.ts +49 -0
- package/dist/runtime/components/Table.vue +108 -194
- package/dist/runtime/components/Table.vue.d.ts +148 -0
- package/dist/runtime/components/Tabs.vue +36 -81
- package/dist/runtime/components/Tabs.vue.d.ts +65 -0
- package/dist/runtime/components/Textarea.vue +77 -124
- package/dist/runtime/components/Textarea.vue.d.ts +60 -0
- package/dist/runtime/components/Toast.vue +47 -75
- package/dist/runtime/components/Toast.vue.d.ts +131 -0
- package/dist/runtime/components/ToastProvider.vue +65 -101
- package/dist/runtime/components/ToastProvider.vue.d.ts +38 -0
- package/dist/runtime/components/Tooltip.vue +36 -47
- package/dist/runtime/components/Tooltip.vue.d.ts +31 -0
- package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
- package/dist/runtime/composables/useButtonGroup.d.ts +2 -2
- package/dist/runtime/composables/useFormItem.d.ts +2 -2
- package/dist/runtime/composables/useKbd.d.ts +1 -1
- package/dist/runtime/composables/useLocale.d.ts +3 -3
- package/dist/runtime/composables/useTheme.d.ts +1 -1
- package/dist/runtime/composables/useToast.d.ts +1 -1
- package/dist/runtime/locale/en.d.ts +1 -1
- package/dist/runtime/locale/zh-tw.d.ts +1 -1
- package/dist/runtime/theme/accordion.d.ts +45 -51
- package/dist/runtime/theme/accordion.js +1 -1
- package/dist/runtime/theme/alert.d.ts +115 -121
- package/dist/runtime/theme/alert.js +1 -1
- package/dist/runtime/theme/avatar-group.d.ts +42 -48
- package/dist/runtime/theme/avatar-group.js +1 -1
- package/dist/runtime/theme/avatar.d.ts +46 -52
- package/dist/runtime/theme/avatar.js +1 -1
- package/dist/runtime/theme/badge.d.ts +60 -66
- package/dist/runtime/theme/badge.js +1 -1
- package/dist/runtime/theme/breadcrumb.d.ts +52 -58
- package/dist/runtime/theme/breadcrumb.js +1 -1
- package/dist/runtime/theme/button-group.d.ts +36 -42
- package/dist/runtime/theme/button.d.ts +162 -168
- package/dist/runtime/theme/button.js +1 -1
- package/dist/runtime/theme/calendar.d.ts +52 -50
- package/dist/runtime/theme/calendar.js +20 -3
- package/dist/runtime/theme/card.d.ts +52 -58
- package/dist/runtime/theme/card.js +1 -1
- package/dist/runtime/theme/carousel.d.ts +98 -104
- package/dist/runtime/theme/carousel.js +1 -1
- package/dist/runtime/theme/checkbox.d.ts +77 -83
- package/dist/runtime/theme/checkbox.js +1 -1
- package/dist/runtime/theme/chip.d.ts +50 -56
- package/dist/runtime/theme/chip.js +1 -1
- package/dist/runtime/theme/collapsible.d.ts +29 -35
- package/dist/runtime/theme/collapsible.js +1 -1
- package/dist/runtime/theme/drawer.d.ts +120 -126
- package/dist/runtime/theme/drawer.js +1 -1
- package/dist/runtime/theme/dropdown-menu.d.ts +55 -61
- package/dist/runtime/theme/dropdown-menu.js +1 -1
- package/dist/runtime/theme/form-item.d.ts +63 -69
- package/dist/runtime/theme/form-item.js +1 -1
- package/dist/runtime/theme/form.d.ts +1 -7
- package/dist/runtime/theme/input-number.d.ts +98 -104
- package/dist/runtime/theme/input-number.js +1 -1
- package/dist/runtime/theme/input.d.ts +153 -159
- package/dist/runtime/theme/input.js +1 -1
- package/dist/runtime/theme/kbd.d.ts +30 -36
- package/dist/runtime/theme/link.d.ts +37 -43
- package/dist/runtime/theme/modal.d.ts +36 -42
- package/dist/runtime/theme/modal.js +1 -1
- package/dist/runtime/theme/pagination.d.ts +71 -77
- package/dist/runtime/theme/pagination.js +1 -1
- package/dist/runtime/theme/pinInput.d.ts +80 -86
- package/dist/runtime/theme/pinInput.js +1 -1
- package/dist/runtime/theme/popover.d.ts +29 -35
- package/dist/runtime/theme/popover.js +1 -1
- package/dist/runtime/theme/progress.d.ts +163 -169
- package/dist/runtime/theme/progress.js +1 -1
- package/dist/runtime/theme/radio-group.d.ts +99 -105
- package/dist/runtime/theme/radio-group.js +1 -1
- package/dist/runtime/theme/scroll-area.d.ts +62 -68
- package/dist/runtime/theme/scroll-area.js +1 -1
- package/dist/runtime/theme/select.d.ts +165 -171
- package/dist/runtime/theme/select.js +1 -1
- package/dist/runtime/theme/separator.d.ts +62 -68
- package/dist/runtime/theme/separator.js +1 -1
- package/dist/runtime/theme/skeleton.d.ts +1 -7
- package/dist/runtime/theme/slider.d.ts +62 -68
- package/dist/runtime/theme/slider.js +1 -1
- package/dist/runtime/theme/switch.d.ts +111 -117
- package/dist/runtime/theme/switch.js +1 -1
- package/dist/runtime/theme/table.d.ts +75 -81
- package/dist/runtime/theme/table.js +1 -1
- package/dist/runtime/theme/tabs.d.ts +114 -120
- package/dist/runtime/theme/tabs.js +1 -1
- package/dist/runtime/theme/textarea.d.ts +76 -82
- package/dist/runtime/theme/textarea.js +1 -1
- package/dist/runtime/theme/toast-provider.d.ts +106 -112
- package/dist/runtime/theme/toast-provider.js +1 -1
- package/dist/runtime/theme/toast.d.ts +74 -80
- package/dist/runtime/theme/toast.js +1 -1
- package/dist/runtime/theme/tooltip.d.ts +35 -41
- package/dist/runtime/theme/tooltip.js +1 -1
- package/dist/runtime/types/utils.d.ts +5 -5
- package/dist/runtime/utils/link.d.ts +3 -5
- package/dist/runtime/utils/styler.d.ts +2 -2
- package/dist/runtime/utils/styler.js +2 -2
- package/dist/shared/ui.D1BTWZFB.mjs +5 -0
- package/dist/shared/ui.D1BTWZFB.mjs.map +1 -0
- package/dist/types.d.mts +1 -1
- package/dist/unocss.mjs +5 -4
- package/dist/unocss.mjs.map +1 -1
- package/dist/unplugin.mjs +1 -1
- package/dist/unplugin.mjs.map +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +77 -75
- package/dist/module.cjs +0 -5
- package/dist/shared/ui.3e7fad19.mjs +0 -5
- package/dist/shared/ui.3e7fad19.mjs.map +0 -1
- 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.
|
|
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.
|
|
23
|
+
"types": "./dist/unplugin.d.mts",
|
|
23
24
|
"default": "./dist/unplugin.mjs"
|
|
24
25
|
},
|
|
25
26
|
"./vite": {
|
|
26
|
-
"types": "./dist/vite.d.
|
|
27
|
+
"types": "./dist/vite.d.mts",
|
|
27
28
|
"default": "./dist/vite.mjs"
|
|
28
29
|
},
|
|
29
30
|
"./nuxt": {
|
|
30
|
-
"types": "./dist/module.d.
|
|
31
|
+
"types": "./dist/module.d.mts",
|
|
31
32
|
"default": "./dist/module.mjs"
|
|
32
33
|
},
|
|
33
34
|
"./unocss": {
|
|
34
|
-
"types": "./dist/unocss.d.
|
|
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
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
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
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"optional": true
|
|
66
|
-
}
|
|
72
|
+
"peerDependencies": {
|
|
73
|
+
"unocss": "^66.3.2"
|
|
67
74
|
},
|
|
68
75
|
"dependencies": {
|
|
69
|
-
"@byyuurin/ui-kit": "^0.
|
|
70
|
-
"@internationalized/date": "^3.
|
|
71
|
-
"@nuxt/kit": "^3.
|
|
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.
|
|
74
|
-
"@unocss/core": "^
|
|
75
|
-
"@unocss/preset-mini": "^
|
|
76
|
-
"@unocss/preset-
|
|
77
|
-
"@vue/shared": "^3.5.
|
|
78
|
-
"@vueuse/core": "^13.
|
|
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.
|
|
81
|
-
"embla-carousel-auto-height": "^8.
|
|
82
|
-
"embla-carousel-auto-scroll": "^8.
|
|
83
|
-
"embla-carousel-autoplay": "^8.
|
|
84
|
-
"embla-carousel-class-names": "^8.
|
|
85
|
-
"embla-carousel-fade": "^8.
|
|
86
|
-
"embla-carousel-vue": "^8.
|
|
87
|
-
"embla-carousel-wheel-gestures": "^8.0.
|
|
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": "^
|
|
97
|
+
"ohash": "^2.0.11",
|
|
91
98
|
"pathe": "^2.0.3",
|
|
92
|
-
"reka-ui": "^2.
|
|
99
|
+
"reka-ui": "^2.3.2",
|
|
93
100
|
"scule": "^1.3.0",
|
|
94
|
-
"tinyglobby": "^0.2.
|
|
95
|
-
"ufo": "^1.
|
|
96
|
-
"unplugin": "^2.
|
|
97
|
-
"unplugin-auto-import": "^19.
|
|
98
|
-
"unplugin-vue-components": "^28.
|
|
99
|
-
"vue-component-type-helpers": "^2.2.
|
|
100
|
-
"vue-router": "^4.5.
|
|
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": "^
|
|
104
|
-
"@byyuurin/eslint-config": "^1.8.
|
|
105
|
-
"@nuxt/eslint-config": "^1.2
|
|
106
|
-
"@nuxt/module-builder": "^0.
|
|
107
|
-
"@nuxt/schema": "^3.
|
|
108
|
-
"@nuxt/test-utils": "^3.
|
|
109
|
-
"@types/node": "^22.
|
|
110
|
-
"@unocss/reset": "^
|
|
111
|
-
"@vitejs/plugin-vue": "^
|
|
112
|
-
"bumpp": "^10.
|
|
113
|
-
"eslint": "^9.
|
|
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": "^
|
|
117
|
-
"nuxt": "^3.
|
|
118
|
-
"simple-git-hooks": "^2.
|
|
119
|
-
"typescript": "^5.8.
|
|
120
|
-
"unocss": "^
|
|
121
|
-
"vite": "^
|
|
122
|
-
"vite-plugin-inspect": "^11.
|
|
123
|
-
"vitest": "^3.
|
|
124
|
-
"vue": "^3.5.
|
|
125
|
-
"vue-tsc": "^2.2.
|
|
126
|
-
"zod": "^3.
|
|
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 +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'
|