yuyeon 0.3.6-beta.3 → 0.3.6-beta.5
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/dist/yuyeon.js +7 -7
- package/dist/yuyeon.umd.cjs +1 -1
- package/lib/components/pagination/YPagination.js +7 -7
- package/lib/components/pagination/YPagination.js.map +1 -1
- package/lib/components/tree-view/YTreeView.js +1 -1
- package/lib/components/tree-view/YTreeView.js.map +1 -1
- package/lib/components/tree-view/YTreeViewNode.js.map +1 -1
- package/package.json +132 -132
- package/types/components/pagination/YPagination.d.ts +6 -0
- package/types/components/tree-view/YTreeView.d.ts +5 -1
package/package.json
CHANGED
|
@@ -1,132 +1,132 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "yuyeon",
|
|
3
|
-
"version": "0.3.6-beta.
|
|
4
|
-
"keywords": [
|
|
5
|
-
"UI Library",
|
|
6
|
-
"Vue"
|
|
7
|
-
],
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "https://github.com/yuyeonUI/yuyeon",
|
|
11
|
-
"directory": "packages/yuyeon"
|
|
12
|
-
},
|
|
13
|
-
"author": "yeonyew",
|
|
14
|
-
"license": "Apache-2.0",
|
|
15
|
-
"files": [
|
|
16
|
-
"dist/",
|
|
17
|
-
"lib/",
|
|
18
|
-
"types/"
|
|
19
|
-
],
|
|
20
|
-
"type": "module",
|
|
21
|
-
"exports": {
|
|
22
|
-
".": {
|
|
23
|
-
"types": "./types/index.d.ts",
|
|
24
|
-
"default": "./lib/index.js"
|
|
25
|
-
},
|
|
26
|
-
"./styles/*": "./lib/styles/*",
|
|
27
|
-
"./locales": {
|
|
28
|
-
"types": "./types/locales/index.d.ts",
|
|
29
|
-
"default": "./lib/locales/index.js"
|
|
30
|
-
},
|
|
31
|
-
"./lib": {
|
|
32
|
-
"types": "./types/index.d.ts"
|
|
33
|
-
},
|
|
34
|
-
"./components": {
|
|
35
|
-
"types": "./types/components/index.d.ts",
|
|
36
|
-
"module": "./lib/components/index.js"
|
|
37
|
-
},
|
|
38
|
-
"./components/*": {
|
|
39
|
-
"module": "./lib/components/*/*.js",
|
|
40
|
-
"types": "./types/components/*/*.d.ts"
|
|
41
|
-
},
|
|
42
|
-
"./directives": {
|
|
43
|
-
"types": "./types/directives/index.d.ts",
|
|
44
|
-
"module": "./lib/directives/index.js"
|
|
45
|
-
},
|
|
46
|
-
"./directives/*": {
|
|
47
|
-
"module": "./lib/directives/*/*.js",
|
|
48
|
-
"types": "./types/directives/*/*.d.ts"
|
|
49
|
-
},
|
|
50
|
-
"./composables": {
|
|
51
|
-
"types": "./types/composables/index.d.ts",
|
|
52
|
-
"module": "./lib/composables/index.js",
|
|
53
|
-
"default": "./lib/composables/index.js"
|
|
54
|
-
},
|
|
55
|
-
"./util": {
|
|
56
|
-
"types": "./types/util/index.d.ts",
|
|
57
|
-
"module": "./lib/util/index.js"
|
|
58
|
-
},
|
|
59
|
-
"./shims": "./types/shims.d.ts",
|
|
60
|
-
"./types/*": "./types/*",
|
|
61
|
-
"./*": "./*"
|
|
62
|
-
},
|
|
63
|
-
"main": "lib/index.js",
|
|
64
|
-
"module": "lib/index.js",
|
|
65
|
-
"types": "types/index.d.ts",
|
|
66
|
-
"typesVersions": {
|
|
67
|
-
"*": {
|
|
68
|
-
"lib/index.mjs": [
|
|
69
|
-
"types/index.d.ts"
|
|
70
|
-
],
|
|
71
|
-
"*": [
|
|
72
|
-
"*",
|
|
73
|
-
"types/*",
|
|
74
|
-
"types/*.d.ts",
|
|
75
|
-
"types/*/index.d.ts"
|
|
76
|
-
]
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"@
|
|
88
|
-
"@
|
|
89
|
-
"@
|
|
90
|
-
"@
|
|
91
|
-
"@
|
|
92
|
-
"@
|
|
93
|
-
"@
|
|
94
|
-
"@
|
|
95
|
-
"@
|
|
96
|
-
"@
|
|
97
|
-
"@
|
|
98
|
-
"@
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"babel-plugin-
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"rollup
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
"
|
|
120
|
-
"vue": "^
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
"vue
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "yuyeon",
|
|
3
|
+
"version": "0.3.6-beta.5",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"UI Library",
|
|
6
|
+
"Vue"
|
|
7
|
+
],
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/yuyeonUI/yuyeon.git",
|
|
11
|
+
"directory": "packages/yuyeon"
|
|
12
|
+
},
|
|
13
|
+
"author": "yeonyew",
|
|
14
|
+
"license": "Apache-2.0",
|
|
15
|
+
"files": [
|
|
16
|
+
"dist/",
|
|
17
|
+
"lib/",
|
|
18
|
+
"types/"
|
|
19
|
+
],
|
|
20
|
+
"type": "module",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./types/index.d.ts",
|
|
24
|
+
"default": "./lib/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./styles/*": "./lib/styles/*",
|
|
27
|
+
"./locales": {
|
|
28
|
+
"types": "./types/locales/index.d.ts",
|
|
29
|
+
"default": "./lib/locales/index.js"
|
|
30
|
+
},
|
|
31
|
+
"./lib": {
|
|
32
|
+
"types": "./types/index.d.ts"
|
|
33
|
+
},
|
|
34
|
+
"./components": {
|
|
35
|
+
"types": "./types/components/index.d.ts",
|
|
36
|
+
"module": "./lib/components/index.js"
|
|
37
|
+
},
|
|
38
|
+
"./components/*": {
|
|
39
|
+
"module": "./lib/components/*/*.js",
|
|
40
|
+
"types": "./types/components/*/*.d.ts"
|
|
41
|
+
},
|
|
42
|
+
"./directives": {
|
|
43
|
+
"types": "./types/directives/index.d.ts",
|
|
44
|
+
"module": "./lib/directives/index.js"
|
|
45
|
+
},
|
|
46
|
+
"./directives/*": {
|
|
47
|
+
"module": "./lib/directives/*/*.js",
|
|
48
|
+
"types": "./types/directives/*/*.d.ts"
|
|
49
|
+
},
|
|
50
|
+
"./composables": {
|
|
51
|
+
"types": "./types/composables/index.d.ts",
|
|
52
|
+
"module": "./lib/composables/index.js",
|
|
53
|
+
"default": "./lib/composables/index.js"
|
|
54
|
+
},
|
|
55
|
+
"./util": {
|
|
56
|
+
"types": "./types/util/index.d.ts",
|
|
57
|
+
"module": "./lib/util/index.js"
|
|
58
|
+
},
|
|
59
|
+
"./shims": "./types/shims.d.ts",
|
|
60
|
+
"./types/*": "./types/*",
|
|
61
|
+
"./*": "./*"
|
|
62
|
+
},
|
|
63
|
+
"main": "lib/index.js",
|
|
64
|
+
"module": "lib/index.js",
|
|
65
|
+
"types": "types/index.d.ts",
|
|
66
|
+
"typesVersions": {
|
|
67
|
+
"*": {
|
|
68
|
+
"lib/index.mjs": [
|
|
69
|
+
"types/index.d.ts"
|
|
70
|
+
],
|
|
71
|
+
"*": [
|
|
72
|
+
"*",
|
|
73
|
+
"types/*",
|
|
74
|
+
"types/*.d.ts",
|
|
75
|
+
"types/*/index.d.ts"
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"scripts": {
|
|
80
|
+
"build": "vue-tsc && vite build && pnpm run build:lib",
|
|
81
|
+
"build:lib": "cross-env NODE_ENV=lib babel src --out-dir lib --source-maps --extensions \".ts\",\".tsx\" --copy-files --no-copy-ignored --out-file-extension .js"
|
|
82
|
+
},
|
|
83
|
+
"dependencies": {
|
|
84
|
+
"motion": "^10.15.5"
|
|
85
|
+
},
|
|
86
|
+
"devDependencies": {
|
|
87
|
+
"@babel/cli": "^7.21.0",
|
|
88
|
+
"@babel/core": "^7.21.3",
|
|
89
|
+
"@babel/preset-env": "^7.20.2",
|
|
90
|
+
"@babel/preset-typescript": "^7.21.0",
|
|
91
|
+
"@rollup/plugin-alias": "^4.0.3",
|
|
92
|
+
"@rollup/plugin-babel": "^6.0.3",
|
|
93
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
94
|
+
"@rollup/plugin-typescript": "^11.0.0",
|
|
95
|
+
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
96
|
+
"@types/jest": "^28.1.8",
|
|
97
|
+
"@types/node": "^18.19.1",
|
|
98
|
+
"@types/resize-observer-browser": "^0.1.7",
|
|
99
|
+
"@vitejs/plugin-vue": "^5.0.5",
|
|
100
|
+
"@vitejs/plugin-vue-jsx": "^4.0.0",
|
|
101
|
+
"@vue/babel-plugin-jsx": "^1.2.2",
|
|
102
|
+
"@vue/test-utils": "2.4.6",
|
|
103
|
+
"autoprefixer": "^10.4.14",
|
|
104
|
+
"babel-plugin-add-import-extension": "1.5.1",
|
|
105
|
+
"babel-plugin-module-resolver": "^5.0.0",
|
|
106
|
+
"babel-plugin-transform-define": "^2.1.0",
|
|
107
|
+
"concurrently": "^4.1.1",
|
|
108
|
+
"core-js": "^3.41.0",
|
|
109
|
+
"cross-env": "^7.0.3",
|
|
110
|
+
"rollup": "^4.22.4",
|
|
111
|
+
"rollup-plugin-dts": "^5.3.0",
|
|
112
|
+
"rollup-plugin-sass": "^1.2.19",
|
|
113
|
+
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
114
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
115
|
+
"sass": "^1.63.3",
|
|
116
|
+
"vite": "^5.4.6",
|
|
117
|
+
"vite-plugin-dts": "^3.9.1",
|
|
118
|
+
"vitest": "^3.2.4",
|
|
119
|
+
"vue-router": "^4.3.3",
|
|
120
|
+
"vue-tsc": "^2.0.21"
|
|
121
|
+
},
|
|
122
|
+
"peerDependencies": {
|
|
123
|
+
"motion": "^10.15.5",
|
|
124
|
+
"vue": "^3.3.0",
|
|
125
|
+
"vue-i18n": "^9.0.0 || ^10.0.0"
|
|
126
|
+
},
|
|
127
|
+
"peerDependenciesMeta": {
|
|
128
|
+
"vue-i18n": {
|
|
129
|
+
"optional": true
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
@@ -12,6 +12,7 @@ export declare const pressYPaginationProps: <Defaults extends {
|
|
|
12
12
|
color?: unknown;
|
|
13
13
|
activeColor?: unknown;
|
|
14
14
|
buttonVariation?: unknown;
|
|
15
|
+
activeButtonVariation?: unknown;
|
|
15
16
|
align?: unknown;
|
|
16
17
|
} = {}>(defaults?: Defaults | undefined) => {
|
|
17
18
|
start: unknown extends Defaults["start"] ? {
|
|
@@ -84,6 +85,10 @@ export declare const pressYPaginationProps: <Defaults extends {
|
|
|
84
85
|
type: PropType<unknown extends Defaults["buttonVariation"] ? string : string | Defaults["buttonVariation"]>;
|
|
85
86
|
default: unknown extends Defaults["buttonVariation"] ? string : string | Defaults["buttonVariation"];
|
|
86
87
|
};
|
|
88
|
+
activeButtonVariation: unknown extends Defaults["activeButtonVariation"] ? StringConstructor[] : {
|
|
89
|
+
type: PropType<unknown extends Defaults["activeButtonVariation"] ? string : string | Defaults["activeButtonVariation"]>;
|
|
90
|
+
default: unknown extends Defaults["activeButtonVariation"] ? string : string | Defaults["activeButtonVariation"];
|
|
91
|
+
};
|
|
87
92
|
align: unknown extends Defaults["align"] ? {
|
|
88
93
|
type: PropType<"start" | "center" | "end">;
|
|
89
94
|
default: string;
|
|
@@ -120,6 +125,7 @@ export declare const YPagination: import('vue').DefineComponent<{
|
|
|
120
125
|
color: StringConstructor;
|
|
121
126
|
activeColor: StringConstructor;
|
|
122
127
|
buttonVariation: StringConstructor[];
|
|
128
|
+
activeButtonVariation: StringConstructor[];
|
|
123
129
|
align: {
|
|
124
130
|
type: PropType<"start" | "center" | "end">;
|
|
125
131
|
default: string;
|
|
@@ -78,7 +78,7 @@ export declare const YTreeView: import('vue').DefineComponent<import('vue').Extr
|
|
|
78
78
|
searchLoading: import('vue').ShallowRef<boolean, boolean>;
|
|
79
79
|
expandedCache: Ref<CandidateKey[], CandidateKey[]>;
|
|
80
80
|
renderLeaves: import('vue').ComputedRef<any[]>;
|
|
81
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:expanded" | "update:active" | "update:selected")[], "update:expanded" | "update:active" | "update:selected", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
81
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:expanded" | "update:active" | "update:selected" | "mouseenterContainer" | "mouseleaveContainer" | "mousemoveContainer" | "dblclickContainer")[], "update:expanded" | "update:active" | "update:selected" | "mouseenterContainer" | "mouseleaveContainer" | "mousemoveContainer" | "dblclickContainer", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
82
82
|
items: {
|
|
83
83
|
type: PropType<any[]>;
|
|
84
84
|
default: () => never[];
|
|
@@ -146,6 +146,10 @@ export declare const YTreeView: import('vue').DefineComponent<import('vue').Extr
|
|
|
146
146
|
default: number;
|
|
147
147
|
};
|
|
148
148
|
}>> & Readonly<{
|
|
149
|
+
onMouseenterContainer?: ((...args: any[]) => any) | undefined;
|
|
150
|
+
onMouseleaveContainer?: ((...args: any[]) => any) | undefined;
|
|
151
|
+
onMousemoveContainer?: ((...args: any[]) => any) | undefined;
|
|
152
|
+
onDblclickContainer?: ((...args: any[]) => any) | undefined;
|
|
149
153
|
"onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
|
|
150
154
|
"onUpdate:active"?: ((...args: any[]) => any) | undefined;
|
|
151
155
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|