@byyuurin/ui 0.1.0 → 0.3.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.
- package/LICENSE +20 -20
- package/README.md +5 -3
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/dist/runtime/components/Accordion.vue +41 -41
- package/dist/runtime/components/Accordion.vue.d.ts +11 -7
- package/dist/runtime/components/Alert.vue +63 -63
- package/dist/runtime/components/Alert.vue.d.ts +4 -4
- package/dist/runtime/components/App.vue +11 -10
- package/dist/runtime/components/App.vue.d.ts +11 -7
- package/dist/runtime/components/Avatar.vue +29 -29
- package/dist/runtime/components/Avatar.vue.d.ts +4 -3
- package/dist/runtime/components/AvatarGroup.vue +4 -4
- package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Badge.vue +32 -32
- package/dist/runtime/components/Badge.vue.d.ts +2 -2
- package/dist/runtime/components/Breadcrumb.vue +49 -49
- package/dist/runtime/components/Breadcrumb.vue.d.ts +10 -6
- package/dist/runtime/components/Button.vue +52 -51
- package/dist/runtime/components/Button.vue.d.ts +1 -1
- package/dist/runtime/components/Calendar.vue +75 -77
- package/dist/runtime/components/Calendar.vue.d.ts +16 -12
- package/dist/runtime/components/Card.vue +41 -41
- package/dist/runtime/components/Card.vue.d.ts +1 -1
- package/dist/runtime/components/Carousel.vue +85 -66
- package/dist/runtime/components/Carousel.vue.d.ts +14 -10
- package/dist/runtime/components/Checkbox.vue +46 -46
- package/dist/runtime/components/Checkbox.vue.d.ts +4 -3
- package/dist/runtime/components/CheckboxGroup.vue +131 -0
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +93 -0
- package/dist/runtime/components/Chip.vue +15 -15
- package/dist/runtime/components/Chip.vue.d.ts +2 -2
- package/dist/runtime/components/Collapsible.vue +14 -14
- package/dist/runtime/components/Collapsible.vue.d.ts +2 -2
- package/dist/runtime/components/Drawer.vue +76 -76
- package/dist/runtime/components/Drawer.vue.d.ts +6 -6
- package/dist/runtime/components/DropdownMenu.vue +28 -28
- package/dist/runtime/components/DropdownMenu.vue.d.ts +17 -9
- package/dist/runtime/components/DropdownMenuContent.vue +152 -153
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +11 -7
- package/dist/runtime/components/FieldGroup.vue +3 -3
- package/dist/runtime/components/FieldGroup.vue.d.ts +2 -2
- package/dist/runtime/components/Form.vue +9 -9
- package/dist/runtime/components/Form.vue.d.ts +13 -8
- package/dist/runtime/components/FormField.vue +39 -38
- package/dist/runtime/components/FormField.vue.d.ts +7 -2
- package/dist/runtime/components/Icon.vue +2 -2
- package/dist/runtime/components/Icon.vue.d.ts +1 -1
- package/dist/runtime/components/Input.vue +48 -48
- package/dist/runtime/components/Input.vue.d.ts +16 -12
- package/dist/runtime/components/InputNumber.vue +48 -50
- package/dist/runtime/components/InputNumber.vue.d.ts +128 -129
- package/dist/runtime/components/InputTags.vue +156 -0
- package/dist/runtime/components/InputTags.vue.d.ts +90 -0
- package/dist/runtime/components/Kbd.vue +3 -3
- package/dist/runtime/components/Kbd.vue.d.ts +2 -2
- package/dist/runtime/components/Link.vue +26 -25
- package/dist/runtime/components/Link.vue.d.ts +16 -6
- package/dist/runtime/components/LinkBase.vue +3 -3
- package/dist/runtime/components/LinkBase.vue.d.ts +2 -2
- package/dist/runtime/components/Marquee.vue +38 -0
- package/dist/runtime/components/Marquee.vue.d.ts +54 -0
- package/dist/runtime/components/Modal.vue +74 -74
- package/dist/runtime/components/Modal.vue.d.ts +6 -6
- package/dist/runtime/components/NavigationMenu.vue +243 -234
- package/dist/runtime/components/NavigationMenu.vue.d.ts +53 -14
- package/dist/runtime/components/OverlayProvider.vue +9 -9
- package/dist/runtime/components/Pagination.vue +47 -47
- package/dist/runtime/components/Pagination.vue.d.ts +4 -4
- package/dist/runtime/components/PinInput.vue +23 -23
- package/dist/runtime/components/PinInput.vue.d.ts +14 -10
- package/dist/runtime/components/Popover.vue +22 -22
- package/dist/runtime/components/Popover.vue.d.ts +11 -7
- package/dist/runtime/components/Progress.vue +25 -25
- package/dist/runtime/components/Progress.vue.d.ts +2 -2
- package/dist/runtime/components/RadioGroup.vue +50 -50
- package/dist/runtime/components/RadioGroup.vue.d.ts +13 -9
- package/dist/runtime/components/ScrollArea.vue +32 -32
- package/dist/runtime/components/ScrollArea.vue.d.ts +2 -2
- package/dist/runtime/components/Select.vue +299 -148
- package/dist/runtime/components/Select.vue.d.ts +103 -123
- package/dist/runtime/components/Separator.vue +30 -30
- package/dist/runtime/components/Separator.vue.d.ts +2 -2
- package/dist/runtime/components/Skeleton.vue +11 -11
- package/dist/runtime/components/Skeleton.vue.d.ts +2 -2
- package/dist/runtime/components/Slider.vue +25 -25
- package/dist/runtime/components/Slider.vue.d.ts +11 -7
- package/dist/runtime/components/Stepper.vue +116 -0
- package/dist/runtime/components/Stepper.vue.d.ts +83 -0
- package/dist/runtime/components/Switch.vue +30 -30
- package/dist/runtime/components/Switch.vue.d.ts +4 -3
- package/dist/runtime/components/Table.vue +188 -166
- package/dist/runtime/components/Table.vue.d.ts +27 -22
- package/dist/runtime/components/Tabs.vue +74 -74
- package/dist/runtime/components/Tabs.vue.d.ts +12 -8
- package/dist/runtime/components/Textarea.vue +47 -47
- package/dist/runtime/components/Textarea.vue.d.ts +16 -11
- package/dist/runtime/components/Timeline.vue +102 -0
- package/dist/runtime/components/Timeline.vue.d.ts +78 -0
- package/dist/runtime/components/Toast.vue +93 -93
- package/dist/runtime/components/Toast.vue.d.ts +5 -5
- package/dist/runtime/components/ToastProvider.vue +29 -29
- package/dist/runtime/components/ToastProvider.vue.d.ts +3 -3
- package/dist/runtime/components/Tooltip.vue +24 -25
- package/dist/runtime/components/Tooltip.vue.d.ts +2 -2
- package/dist/runtime/components/Tree.vue +241 -0
- package/dist/runtime/components/Tree.vue.d.ts +121 -0
- package/dist/runtime/composables/defineShortcuts.d.ts +1 -0
- package/dist/runtime/composables/defineShortcuts.js +44 -8
- package/dist/runtime/composables/useLocale.d.ts +12 -0
- package/dist/runtime/locale/en.d.ts +6 -0
- package/dist/runtime/locale/en.js +6 -0
- package/dist/runtime/locale/zh_tw.d.ts +6 -0
- package/dist/runtime/locale/zh_tw.js +6 -0
- package/dist/runtime/types/html.d.ts +8 -0
- package/dist/runtime/types/html.js +0 -0
- package/dist/runtime/types/index.d.ts +7 -0
- package/dist/runtime/types/index.js +7 -0
- package/dist/runtime/types/input.d.ts +5 -5
- package/dist/runtime/types/locale.d.ts +6 -0
- package/dist/runtime/types/unocss.d.ts +4 -4
- package/dist/runtime/types/utils.d.ts +9 -6
- package/dist/runtime/utils/index.d.ts +3 -3
- package/dist/runtime/utils/link.d.ts +2 -1
- package/dist/runtime/utils/link.js +40 -29
- package/dist/runtime/vue/components/Icon.vue +2 -2
- package/dist/runtime/vue/components/Icon.vue.d.ts +1 -1
- package/dist/runtime/vue/components/Link.vue +7 -12
- package/dist/runtime/vue/components/Link.vue.d.ts +11 -40
- package/dist/setup.d.mts +1 -1
- package/dist/shared/{ui.CzIlLITK.mjs → ui.9kQouwss.mjs} +5 -3
- package/dist/shared/{ui.DpbffTXs.d.mts → ui.D8Bg1HWt.d.mts} +2 -0
- package/dist/shared/{ui.DSyJHSTk.mjs → ui.DpkP12cX.mjs} +784 -84
- package/dist/unocss.mjs +1 -1
- package/dist/unplugin.d.mts +1 -1
- package/dist/unplugin.mjs +2 -2
- package/dist/vite.d.mts +1 -1
- package/dist/vite.mjs +2 -2
- package/package.json +29 -29
- package/vue-plugin.d.ts +5 -5
package/dist/unocss.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { colors } from '@unocss/preset-wind4/colors';
|
|
2
2
|
import { parseColor } from '@unocss/preset-wind4/utils';
|
|
3
|
-
import { r as resolveColors } from './shared/ui.
|
|
3
|
+
import { r as resolveColors } from './shared/ui.9kQouwss.mjs';
|
|
4
4
|
import '../dist/runtime/utils/index.js';
|
|
5
5
|
|
|
6
6
|
function createUnoPreset(options = {}) {
|
package/dist/unplugin.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import 'unplugin';
|
|
|
2
2
|
import 'unplugin-auto-import/types';
|
|
3
3
|
import 'unplugin-vue-components/types';
|
|
4
4
|
import './shared/ui.IulR-OYx.mjs';
|
|
5
|
-
export { U as UIOptions, r as runtimeDir, u as unplugin } from './shared/ui.
|
|
5
|
+
export { U as UIOptions, r as runtimeDir, u as unplugin } from './shared/ui.D8Bg1HWt.mjs';
|
|
6
6
|
import '@nuxt/schema';
|
|
7
7
|
import '@unocss/preset-wind4/colors';
|
|
8
8
|
import '../dist/runtime/types/index.js';
|
package/dist/unplugin.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { fileURLToPath } from 'node:url';
|
|
|
2
2
|
import { defu } from 'defu';
|
|
3
3
|
import { join, normalize } from 'pathe';
|
|
4
4
|
import { createUnplugin } from 'unplugin';
|
|
5
|
-
import { g as getTemplates, n as name } from './shared/ui.
|
|
6
|
-
import { d as defaultOptions, r as resolveColors, g as getDefaultUIConfig } from './shared/ui.
|
|
5
|
+
import { g as getTemplates, n as name } from './shared/ui.DpkP12cX.mjs';
|
|
6
|
+
import { d as defaultOptions, r as resolveColors, g as getDefaultUIConfig } from './shared/ui.9kQouwss.mjs';
|
|
7
7
|
import AutoImport from 'unplugin-auto-import';
|
|
8
8
|
import { globSync } from 'tinyglobby';
|
|
9
9
|
import AutoImportComponents from 'unplugin-vue-components';
|
package/dist/vite.d.mts
CHANGED
package/dist/vite.mjs
CHANGED
|
@@ -3,13 +3,13 @@ import 'node:url';
|
|
|
3
3
|
import 'defu';
|
|
4
4
|
import 'pathe';
|
|
5
5
|
import 'unplugin';
|
|
6
|
-
import './shared/ui.
|
|
6
|
+
import './shared/ui.DpkP12cX.mjs';
|
|
7
7
|
import 'node:process';
|
|
8
8
|
import '@nuxt/kit';
|
|
9
9
|
import '@unocss/config';
|
|
10
10
|
import 'knitwork';
|
|
11
11
|
import 'scule';
|
|
12
|
-
import './shared/ui.
|
|
12
|
+
import './shared/ui.9kQouwss.mjs';
|
|
13
13
|
import '../dist/runtime/utils/index.js';
|
|
14
14
|
import '@byyuurin/ui-kit';
|
|
15
15
|
import 'unplugin-auto-import';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byyuurin/ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.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.
|
|
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.
|
|
135
|
+
"@nuxt/kit": "^4.2.2",
|
|
136
136
|
"@nuxtjs/color-mode": "^3.5.2",
|
|
137
|
-
"@standard-schema/spec": "^1.
|
|
137
|
+
"@standard-schema/spec": "^1.1.0",
|
|
138
138
|
"@tanstack/vue-table": "^8.21.3",
|
|
139
|
-
"@tanstack/vue-virtual": "^3.13.
|
|
140
|
-
"@unhead/vue": "^2.
|
|
141
|
-
"@unocss/nuxt": "^66.5.
|
|
142
|
-
"@vue/shared": "^3.5.
|
|
139
|
+
"@tanstack/vue-virtual": "^3.13.13",
|
|
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.
|
|
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.
|
|
158
|
+
"reka-ui": "^2.7.0",
|
|
159
159
|
"scule": "^1.3.0",
|
|
160
160
|
"tinyglobby": "^0.2.15",
|
|
161
161
|
"ufo": "^1.6.1",
|
|
162
|
-
"unplugin": "^2.3.
|
|
163
|
-
"unplugin-auto-import": "^20.
|
|
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
|
|
165
|
+
"vue-component-type-helpers": "^3.2.1"
|
|
166
166
|
},
|
|
167
167
|
"devDependencies": {
|
|
168
168
|
"@byyuurin/eslint-config": "^1.9.0",
|
|
169
|
-
"@iconify-json/lucide": "^1.2.
|
|
170
|
-
"@nuxt/eslint-config": "^1.
|
|
169
|
+
"@iconify-json/lucide": "^1.2.82",
|
|
170
|
+
"@nuxt/eslint-config": "^1.12.1",
|
|
171
171
|
"@nuxt/module-builder": "^1.0.2",
|
|
172
|
-
"@nuxt/schema": "^4.2.
|
|
173
|
-
"@nuxt/test-utils": "^3.
|
|
174
|
-
"@types/node": "^22.19.
|
|
175
|
-
"@unocss/core": "^66.5.
|
|
176
|
-
"@unocss/preset-wind4": "^66.5.
|
|
177
|
-
"@unocss/reset": "^66.5.
|
|
178
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
179
|
-
"bumpp": "^10.3.
|
|
180
|
-
"eslint": "^9.39.
|
|
172
|
+
"@nuxt/schema": "^4.2.2",
|
|
173
|
+
"@nuxt/test-utils": "^3.21.0",
|
|
174
|
+
"@types/node": "^22.19.3",
|
|
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.
|
|
184
|
-
"nuxt": "^4.2.
|
|
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.
|
|
189
|
-
"vite": "^7.
|
|
188
|
+
"unocss": "^66.5.10",
|
|
189
|
+
"vite": "^7.3.0",
|
|
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
|
|
193
|
+
"vue-tsc": "^3.2.1",
|
|
194
194
|
"zod": "^3.25.76"
|
|
195
195
|
},
|
|
196
196
|
"resolutions": {
|
package/vue-plugin.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Plugin } from 'vue'
|
|
2
|
-
|
|
3
|
-
declare const plugin: Plugin
|
|
4
|
-
|
|
5
|
-
export default plugin
|
|
1
|
+
import type { Plugin } from 'vue'
|
|
2
|
+
|
|
3
|
+
declare const plugin: Plugin
|
|
4
|
+
|
|
5
|
+
export default plugin
|