yuyeon 0.2.3-rc.7 → 0.2.3-rc.8

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 (40) hide show
  1. package/dist/yuyeon.js +2191 -2158
  2. package/dist/yuyeon.umd.cjs +3 -3
  3. package/lib/components/field-input/YFieldInput.mjs +3 -2
  4. package/lib/components/field-input/YFieldInput.mjs.map +1 -1
  5. package/lib/components/index.mjs +1 -0
  6. package/lib/components/index.mjs.map +1 -1
  7. package/lib/components/input/YInput.mjs +6 -2
  8. package/lib/components/input/YInput.mjs.map +1 -1
  9. package/lib/components/layer/YLayer.mjs +20 -16
  10. package/lib/components/layer/YLayer.mjs.map +1 -1
  11. package/lib/components/layer/base.mjs +2 -1
  12. package/lib/components/layer/base.mjs.map +1 -1
  13. package/lib/components/select/YSelect.mjs +20 -8
  14. package/lib/components/select/YSelect.mjs.map +1 -1
  15. package/lib/components/table/YDataTableBody.mjs +12 -3
  16. package/lib/components/table/YDataTableBody.mjs.map +1 -1
  17. package/lib/components/table/YDataTableRow.mjs +7 -2
  18. package/lib/components/table/YDataTableRow.mjs.map +1 -1
  19. package/lib/i18n/built-in.mjs +2 -2
  20. package/lib/i18n/built-in.mjs.map +1 -1
  21. package/package.json +120 -117
  22. package/types/components/dialog/YDialog.d.ts +28 -21
  23. package/types/components/dropdown/YDropdown.d.ts +17 -11
  24. package/types/components/field-input/YFieldInput.d.ts +1 -1
  25. package/types/components/index.d.ts +1 -0
  26. package/types/components/input/YInput.d.ts +1 -1
  27. package/types/components/layer/YLayer.d.ts +11 -5
  28. package/types/components/layer/base.d.ts +6 -0
  29. package/types/components/menu/YMenu.d.ts +6 -3
  30. package/types/components/select/YSelect.d.ts +129 -98
  31. package/types/components/snackbar/YSnackbar.d.ts +9 -3
  32. package/types/components/table/YDataTable.d.ts +6 -0
  33. package/types/components/table/YDataTableBody.d.ts +6 -0
  34. package/types/components/table/YDataTableRow.d.ts +6 -0
  35. package/types/components/table/YDataTableServer.d.ts +6 -0
  36. package/types/components/textarea/YTextarea.d.ts +4 -1
  37. package/types/components/tooltip/YTooltip.d.ts +10 -6
  38. package/types/composables/coordinate/index.d.ts +4 -4
  39. package/types/shims.d.ts +2 -1
  40. package/types/util/anchor.d.ts +1 -1
package/package.json CHANGED
@@ -1,117 +1,120 @@
1
- {
2
- "name": "yuyeon",
3
- "version": "0.2.3-rc.7",
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.mjs"
25
- },
26
- "./styles/*": "./lib/styles/*",
27
- "./locales": "./lib/locales/index.mjs",
28
- "./lib": {
29
- "types": "./types/index.d.ts"
30
- },
31
- "./components": {
32
- "types": "./types/components/index.d.ts",
33
- "module": "./lib/components/index.mjs"
34
- },
35
- "./composables": {
36
- "types": "./types/composables/index.d.ts",
37
- "module": "./lib/composables/index.mjs",
38
- "default": "./lib/composables/index.mjs"
39
- },
40
- "./util": {
41
- "types": "./types/util/index.d.ts",
42
- "module": "./lib/util/index.mjs"
43
- },
44
- "./components/*": "./lib/components/*/index.mjs",
45
- "./shims": "./types/shims.d.ts",
46
- "./types/*": "./types/*",
47
- "./*": "./*"
48
- },
49
- "main": "lib/index.mjs",
50
- "module": "lib/index.mjs",
51
- "types": "types/index.d.ts",
52
- "typesVersions": {
53
- "*": {
54
- "lib/index.mjs": [
55
- "types/index.d.ts"
56
- ],
57
- "*": [
58
- "*",
59
- "types/*",
60
- "types/*.d.ts",
61
- "types/*/index.d.ts"
62
- ]
63
- }
64
- },
65
- "scripts": {
66
- "build": "vue-tsc && vite build && yarn run build:lib",
67
- "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 .mjs"
68
- },
69
- "dependencies": {
70
- "motion": "^10.15.5"
71
- },
72
- "devDependencies": {
73
- "@babel/cli": "^7.21.0",
74
- "@babel/core": "^7.21.3",
75
- "@babel/preset-env": "^7.20.2",
76
- "@babel/preset-typescript": "^7.21.0",
77
- "@rollup/plugin-alias": "^4.0.3",
78
- "@rollup/plugin-babel": "^6.0.3",
79
- "@rollup/plugin-node-resolve": "^15.2.3",
80
- "@rollup/plugin-typescript": "^11.0.0",
81
- "@trivago/prettier-plugin-sort-imports": "^4.3.0",
82
- "@types/jest": "^28.1.8",
83
- "@types/node": "^18.19.1",
84
- "@types/resize-observer-browser": "^0.1.7",
85
- "@vitejs/plugin-vue": "^5.0.5",
86
- "@vitejs/plugin-vue-jsx": "^4.0.0",
87
- "@vue/babel-plugin-jsx": "^1.2.2",
88
- "@vue/test-utils": "2.4.6",
89
- "autoprefixer": "^10.4.14",
90
- "babel-plugin-add-import-extension": "1.5.1",
91
- "babel-plugin-module-resolver": "^5.0.0",
92
- "babel-plugin-transform-define": "^2.1.0",
93
- "babel-polyfill": "^6.26.0",
94
- "concurrently": "^4.1.1",
95
- "cross-env": "^7.0.3",
96
- "rollup": "^4.22.4",
97
- "rollup-plugin-dts": "^5.3.0",
98
- "rollup-plugin-sass": "^1.2.19",
99
- "rollup-plugin-sourcemaps": "^0.6.3",
100
- "rollup-plugin-terser": "^7.0.2",
101
- "sass": "^1.63.3",
102
- "vite": "^5.4.6",
103
- "vite-plugin-dts": "^3.9.1",
104
- "vue-router": "^4.3.3",
105
- "vue-tsc": "^2.0.21"
106
- },
107
- "peerDependencies": {
108
- "motion": "^10.15.5",
109
- "vue": "^3.3.0",
110
- "vue-i18n": "^9.0.0 || ^10.0.0"
111
- },
112
- "peerDependenciesMeta": {
113
- "vue-i18n": {
114
- "optional": true
115
- }
116
- }
117
- }
1
+ {
2
+ "name": "yuyeon",
3
+ "version": "0.2.3-rc.8",
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.mjs"
25
+ },
26
+ "./styles/*": "./lib/styles/*",
27
+ "./locales": {
28
+ "types": "./types/locales/index.d.ts",
29
+ "default": "./lib/locales/index.mjs"
30
+ },
31
+ "./lib": {
32
+ "types": "./types/index.d.ts"
33
+ },
34
+ "./components": {
35
+ "types": "./types/components/index.d.ts",
36
+ "module": "./lib/components/index.mjs"
37
+ },
38
+ "./components/*": "./lib/components/*/index.mjs",
39
+ "./composables": {
40
+ "types": "./types/composables/index.d.ts",
41
+ "module": "./lib/composables/index.mjs",
42
+ "default": "./lib/composables/index.mjs"
43
+ },
44
+ "./util": {
45
+ "types": "./types/util/index.d.ts",
46
+ "module": "./lib/util/index.mjs"
47
+ },
48
+ "./shims": "./types/shims.d.ts",
49
+ "./types/*": "./types/*",
50
+ "./*": "./*"
51
+ },
52
+ "main": "lib/index.mjs",
53
+ "module": "lib/index.mjs",
54
+ "types": "types/index.d.ts",
55
+ "typesVersions": {
56
+ "*": {
57
+ "lib/index.mjs": [
58
+ "types/index.d.ts"
59
+ ],
60
+ "*": [
61
+ "*",
62
+ "types/*",
63
+ "types/*.d.ts",
64
+ "types/*/index.d.ts"
65
+ ]
66
+ }
67
+ },
68
+ "scripts": {
69
+ "build": "vue-tsc && vite build && yarn run build:lib",
70
+ "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 .mjs"
71
+ },
72
+ "dependencies": {
73
+ "motion": "^10.15.5"
74
+ },
75
+ "devDependencies": {
76
+ "@babel/cli": "^7.21.0",
77
+ "@babel/core": "^7.21.3",
78
+ "@babel/preset-env": "^7.20.2",
79
+ "@babel/preset-typescript": "^7.21.0",
80
+ "@rollup/plugin-alias": "^4.0.3",
81
+ "@rollup/plugin-babel": "^6.0.3",
82
+ "@rollup/plugin-node-resolve": "^15.2.3",
83
+ "@rollup/plugin-typescript": "^11.0.0",
84
+ "@trivago/prettier-plugin-sort-imports": "^4.3.0",
85
+ "@types/jest": "^28.1.8",
86
+ "@types/node": "^18.19.1",
87
+ "@types/resize-observer-browser": "^0.1.7",
88
+ "@vitejs/plugin-vue": "^5.0.5",
89
+ "@vitejs/plugin-vue-jsx": "^4.0.0",
90
+ "@vue/babel-plugin-jsx": "^1.2.2",
91
+ "@vue/test-utils": "2.4.6",
92
+ "autoprefixer": "^10.4.14",
93
+ "babel-plugin-add-import-extension": "1.5.1",
94
+ "babel-plugin-module-resolver": "^5.0.0",
95
+ "babel-plugin-transform-define": "^2.1.0",
96
+ "babel-polyfill": "^6.26.0",
97
+ "concurrently": "^4.1.1",
98
+ "cross-env": "^7.0.3",
99
+ "rollup": "^4.22.4",
100
+ "rollup-plugin-dts": "^5.3.0",
101
+ "rollup-plugin-sass": "^1.2.19",
102
+ "rollup-plugin-sourcemaps": "^0.6.3",
103
+ "rollup-plugin-terser": "^7.0.2",
104
+ "sass": "^1.63.3",
105
+ "vite": "^5.4.6",
106
+ "vite-plugin-dts": "^3.9.1",
107
+ "vue-router": "^4.3.3",
108
+ "vue-tsc": "^2.0.21"
109
+ },
110
+ "peerDependencies": {
111
+ "motion": "^10.15.5",
112
+ "vue": "^3.3.0",
113
+ "vue-i18n": "^9.0.0 || ^10.0.0"
114
+ },
115
+ "peerDependenciesMeta": {
116
+ "vue-i18n": {
117
+ "optional": true
118
+ }
119
+ }
120
+ }
@@ -7,11 +7,11 @@ export declare const pressYDialogPropsOptions: <Defaults extends {
7
7
  width?: unknown;
8
8
  height?: unknown;
9
9
  theme?: unknown;
10
- align?: unknown;
11
10
  closeDelay?: unknown;
12
11
  openDelay?: unknown;
13
12
  transition?: unknown;
14
13
  minWidth?: unknown;
14
+ align?: unknown;
15
15
  minHeight?: unknown;
16
16
  maxWidth?: unknown;
17
17
  maxHeight?: unknown;
@@ -20,6 +20,7 @@ export declare const pressYDialogPropsOptions: <Defaults extends {
20
20
  origin?: unknown;
21
21
  viewportMargin?: unknown;
22
22
  zIndex?: unknown;
23
+ baseProps?: unknown;
23
24
  closeClickContent?: unknown;
24
25
  scrollStrategy?: unknown;
25
26
  scrim?: unknown;
@@ -71,16 +72,6 @@ export declare const pressYDialogPropsOptions: <Defaults extends {
71
72
  type: PropType<unknown extends Defaults["theme"] ? string : string | Defaults["theme"]>;
72
73
  default: unknown extends Defaults["theme"] ? string : string | Defaults["theme"];
73
74
  };
74
- align: unknown extends Defaults["align"] ? {
75
- type: PropType<"top" | "bottom" | "start" | "end" | "center">;
76
- default: string;
77
- } : Omit<{
78
- type: PropType<"top" | "bottom" | "start" | "end" | "center">;
79
- default: string;
80
- }, "type" | "default"> & {
81
- type: PropType<unknown extends Defaults["align"] ? "top" | "bottom" | "start" | "end" | "center" : NonNullable<"top" | "bottom" | "start" | "end" | "center"> | Defaults["align"]>;
82
- default: unknown extends Defaults["align"] ? "top" | "bottom" | "start" | "end" | "center" : NonNullable<"top" | "bottom" | "start" | "end" | "center"> | Defaults["align"];
83
- };
84
75
  closeDelay: unknown extends Defaults["closeDelay"] ? {
85
76
  type: PropType<number>;
86
77
  default: number;
@@ -127,6 +118,16 @@ export declare const pressYDialogPropsOptions: <Defaults extends {
127
118
  type: PropType<unknown extends Defaults["minWidth"] ? string | number : NonNullable<string | number> | Defaults["minWidth"]>;
128
119
  default: unknown extends Defaults["minWidth"] ? string | number : NonNullable<string | number> | Defaults["minWidth"];
129
120
  };
121
+ align: unknown extends Defaults["align"] ? {
122
+ type: PropType<"top" | "bottom" | "start" | "end" | "center">;
123
+ default: string;
124
+ } : Omit<{
125
+ type: PropType<"top" | "bottom" | "start" | "end" | "center">;
126
+ default: string;
127
+ }, "type" | "default"> & {
128
+ type: PropType<unknown extends Defaults["align"] ? "top" | "bottom" | "start" | "end" | "center" : NonNullable<"top" | "bottom" | "start" | "end" | "center"> | Defaults["align"]>;
129
+ default: unknown extends Defaults["align"] ? "top" | "bottom" | "start" | "end" | "center" : NonNullable<"top" | "bottom" | "start" | "end" | "center"> | Defaults["align"];
130
+ };
130
131
  minHeight: unknown extends Defaults["minHeight"] ? PropType<string | number> : {
131
132
  type: PropType<unknown extends Defaults["minHeight"] ? string | number : NonNullable<string | number> | Defaults["minHeight"]>;
132
133
  default: unknown extends Defaults["minHeight"] ? string | number : NonNullable<string | number> | Defaults["minHeight"];
@@ -150,14 +151,14 @@ export declare const pressYDialogPropsOptions: <Defaults extends {
150
151
  default: unknown extends Defaults["coordinateStrategy"] ? "levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn : NonNullable<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn> | Defaults["coordinateStrategy"];
151
152
  };
152
153
  position: unknown extends Defaults["position"] ? {
153
- type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
154
+ type: PropType<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">;
154
155
  default: string;
155
156
  } : Omit<{
156
- type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
157
+ type: PropType<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">;
157
158
  default: string;
158
159
  }, "type" | "default"> & {
159
- type: PropType<unknown extends Defaults["position"] ? "default" | "top" | "bottom" | "start" | "end" | "left" | "right" : NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right"> | Defaults["position"]>;
160
- default: unknown extends Defaults["position"] ? "default" | "top" | "bottom" | "start" | "end" | "left" | "right" : NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right"> | Defaults["position"];
160
+ type: PropType<unknown extends Defaults["position"] ? "default" | "left" | "right" | "top" | "bottom" | "start" | "end" : NonNullable<"default" | "left" | "right" | "top" | "bottom" | "start" | "end"> | Defaults["position"]>;
161
+ default: unknown extends Defaults["position"] ? "default" | "left" | "right" | "top" | "bottom" | "start" | "end" : NonNullable<"default" | "left" | "right" | "top" | "bottom" | "start" | "end"> | Defaults["position"];
161
162
  };
162
163
  origin: unknown extends Defaults["origin"] ? {
163
164
  type: StringConstructor;
@@ -189,6 +190,10 @@ export declare const pressYDialogPropsOptions: <Defaults extends {
189
190
  type: PropType<unknown extends Defaults["zIndex"] ? string | number : NonNullable<string | number> | Defaults["zIndex"]>;
190
191
  default: unknown extends Defaults["zIndex"] ? string | number : NonNullable<string | number> | Defaults["zIndex"];
191
192
  };
193
+ baseProps: unknown extends Defaults["baseProps"] ? PropType<Record<string, any>> : {
194
+ type: PropType<unknown extends Defaults["baseProps"] ? Record<string, any> : Record<string, any> | Defaults["baseProps"]>;
195
+ default: unknown extends Defaults["baseProps"] ? Record<string, any> : Record<string, any> | Defaults["baseProps"];
196
+ };
192
197
  closeClickContent: unknown extends Defaults["closeClickContent"] ? {
193
198
  type: PropType<boolean>;
194
199
  } : Omit<{
@@ -336,10 +341,6 @@ export declare const YDialog: import('vue').DefineComponent<{
336
341
  width: PropType<string | number>;
337
342
  height: PropType<string | number>;
338
343
  theme: PropType<string>;
339
- align: {
340
- type: PropType<"top" | "bottom" | "start" | "end" | "center">;
341
- default: string;
342
- };
343
344
  closeDelay: {
344
345
  type: PropType<number>;
345
346
  default: number;
@@ -355,6 +356,10 @@ export declare const YDialog: import('vue').DefineComponent<{
355
356
  default: string;
356
357
  };
357
358
  minWidth: PropType<string | number>;
359
+ align: {
360
+ type: PropType<"top" | "bottom" | "start" | "end" | "center">;
361
+ default: string;
362
+ };
358
363
  minHeight: PropType<string | number>;
359
364
  maxWidth: PropType<string | number>;
360
365
  maxHeight: PropType<string | number>;
@@ -363,7 +368,7 @@ export declare const YDialog: import('vue').DefineComponent<{
363
368
  default: string;
364
369
  };
365
370
  position: {
366
- type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
371
+ type: PropType<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">;
367
372
  default: string;
368
373
  };
369
374
  origin: {
@@ -378,6 +383,7 @@ export declare const YDialog: import('vue').DefineComponent<{
378
383
  type: PropType<string | number>;
379
384
  default: number;
380
385
  };
386
+ baseProps: PropType<Record<string, any>>;
381
387
  closeClickContent: {
382
388
  type: PropType<boolean>;
383
389
  };
@@ -450,7 +456,7 @@ export declare const YDialog: import('vue').DefineComponent<{
450
456
  default: string;
451
457
  };
452
458
  position: {
453
- type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
459
+ type: PropType<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">;
454
460
  default: string;
455
461
  };
456
462
  align: {
@@ -472,6 +478,7 @@ export declare const YDialog: import('vue').DefineComponent<{
472
478
  type: PropType<boolean>;
473
479
  };
474
480
  base: PropType<import('../layer/base').BaseType>;
481
+ baseProps: PropType<Record<string, any>>;
475
482
  transition: {
476
483
  type: PropType<string | (import('vue').TransitionProps & {
477
484
  is?: import('vue').Component | undefined;
@@ -28,6 +28,7 @@ export declare const pressYDropdownPropsOptions: <Defaults extends {
28
28
  maxWidth?: unknown;
29
29
  maxHeight?: unknown;
30
30
  zIndex?: unknown;
31
+ baseProps?: unknown;
31
32
  closeClickContent?: unknown;
32
33
  scrollStrategy?: unknown;
33
34
  scrim?: unknown;
@@ -151,20 +152,20 @@ export declare const pressYDropdownPropsOptions: <Defaults extends {
151
152
  default: unknown extends Defaults["offset"] ? string | number | number[] : NonNullable<string | number | number[]> | Defaults["offset"];
152
153
  };
153
154
  position: unknown extends Defaults["position"] ? Omit<{
154
- type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
155
+ type: PropType<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">;
155
156
  default: string;
156
157
  }, "type" | "default"> & {
157
- type: PropType<NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">>;
158
- default: NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
158
+ type: PropType<NonNullable<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">>;
159
+ default: NonNullable<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">;
159
160
  } : Omit<Omit<{
160
- type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
161
+ type: PropType<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">;
161
162
  default: string;
162
163
  }, "type" | "default"> & {
163
- type: PropType<NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">>;
164
- default: NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
164
+ type: PropType<NonNullable<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">>;
165
+ default: NonNullable<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">;
165
166
  }, "type" | "default"> & {
166
- type: PropType<unknown extends Defaults["position"] ? NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right"> : Defaults["position"] | NonNullable<NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">>>;
167
- default: unknown extends Defaults["position"] ? NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right"> : Defaults["position"] | NonNullable<NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">>;
167
+ type: PropType<unknown extends Defaults["position"] ? NonNullable<"default" | "left" | "right" | "top" | "bottom" | "start" | "end"> : Defaults["position"] | NonNullable<NonNullable<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">>>;
168
+ default: unknown extends Defaults["position"] ? NonNullable<"default" | "left" | "right" | "top" | "bottom" | "start" | "end"> : Defaults["position"] | NonNullable<NonNullable<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">>;
168
169
  };
169
170
  origin: unknown extends Defaults["origin"] ? {
170
171
  type: StringConstructor;
@@ -270,6 +271,10 @@ export declare const pressYDropdownPropsOptions: <Defaults extends {
270
271
  type: PropType<unknown extends Defaults["zIndex"] ? string | number : NonNullable<string | number> | Defaults["zIndex"]>;
271
272
  default: unknown extends Defaults["zIndex"] ? string | number : NonNullable<string | number> | Defaults["zIndex"];
272
273
  };
274
+ baseProps: unknown extends Defaults["baseProps"] ? PropType<Record<string, any>> : {
275
+ type: PropType<unknown extends Defaults["baseProps"] ? Record<string, any> : Record<string, any> | Defaults["baseProps"]>;
276
+ default: unknown extends Defaults["baseProps"] ? Record<string, any> : Record<string, any> | Defaults["baseProps"];
277
+ };
273
278
  closeClickContent: unknown extends Defaults["closeClickContent"] ? {
274
279
  type: PropType<boolean>;
275
280
  } : Omit<{
@@ -457,11 +462,11 @@ export declare const YDropdown: import('vue').DefineComponent<{
457
462
  type: PropType<string | number | number[]>;
458
463
  };
459
464
  position: Omit<{
460
- type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
465
+ type: PropType<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">;
461
466
  default: string;
462
467
  }, "type" | "default"> & {
463
- type: PropType<NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">>;
464
- default: NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
468
+ type: PropType<NonNullable<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">>;
469
+ default: NonNullable<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">;
465
470
  };
466
471
  origin: {
467
472
  type: StringConstructor;
@@ -498,6 +503,7 @@ export declare const YDropdown: import('vue').DefineComponent<{
498
503
  type: PropType<string | number>;
499
504
  default: number;
500
505
  };
506
+ baseProps: PropType<Record<string, any>>;
501
507
  closeClickContent: {
502
508
  type: PropType<boolean>;
503
509
  };
@@ -306,5 +306,5 @@ export declare const YFieldInput: import('vue').DefineComponent<{
306
306
  readonly rxValue: any;
307
307
  };
308
308
  inValue: import('vue').Ref<any>;
309
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("input" | "blur" | "change" | "click" | "focus" | "keydown" | "keyup" | "mousedown" | "mouseup" | "mousedown:display" | "update:modelValue" | "update:focused")[], "input" | "blur" | "change" | "click" | "focus" | "keydown" | "keyup" | "mousedown" | "mouseup" | "mousedown:display" | "update:modelValue" | "update:focused">;
309
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("input" | "blur" | "change" | "click" | "focus" | "keydown" | "keyup" | "mousedown" | "mouseup" | "mousedown:display" | "keydown:display" | "update:modelValue" | "update:focused")[], "input" | "blur" | "change" | "click" | "focus" | "keydown" | "keyup" | "mousedown" | "mouseup" | "mousedown:display" | "keydown:display" | "update:modelValue" | "update:focused">;
310
310
  export type YFieldInput = InstanceType<typeof YFieldInput>;
@@ -34,3 +34,4 @@ export * from './text-ellipsis';
34
34
  export * from './ip-field';
35
35
  export * from './hover';
36
36
  export * from './text-interpolation';
37
+ export * from './text-highlighter';
@@ -244,5 +244,5 @@ export declare const YInput: import('vue').DefineComponent<{
244
244
  filled: PropType<boolean>;
245
245
  ceramic: PropType<boolean>;
246
246
  theme: PropType<string>;
247
- }, any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("blur" | "click" | "error" | "focus" | "mousedown" | "mouseup" | "mousedown:display" | "mouseup:display" | "click:leading" | "update:modelValue" | "update:focused")[], "blur" | "click" | "error" | "focus" | "mousedown" | "mouseup" | "mousedown:display" | "mouseup:display" | "click:leading" | "update:modelValue" | "update:focused">;
247
+ }, any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("blur" | "click" | "error" | "focus" | "mousedown" | "mouseup" | "mousedown:display" | "mouseup:display" | "keydown:display" | "click:leading" | "update:modelValue" | "update:focused")[], "blur" | "click" | "error" | "focus" | "mousedown" | "mouseup" | "mousedown:display" | "mouseup:display" | "keydown:display" | "click:leading" | "update:modelValue" | "update:focused">;
248
248
  export type YInput = InstanceType<typeof YInput>;
@@ -16,6 +16,7 @@ export declare const pressYLayerProps: <Defaults extends {
16
16
  viewportMargin?: unknown;
17
17
  closeClickContent?: unknown;
18
18
  base?: unknown;
19
+ baseProps?: unknown;
19
20
  transition?: unknown;
20
21
  theme?: unknown;
21
22
  modelValue?: unknown;
@@ -81,14 +82,14 @@ export declare const pressYLayerProps: <Defaults extends {
81
82
  default: unknown extends Defaults["coordinateStrategy"] ? "levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn : NonNullable<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn> | Defaults["coordinateStrategy"];
82
83
  };
83
84
  position: unknown extends Defaults["position"] ? {
84
- type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
85
+ type: PropType<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">;
85
86
  default: string;
86
87
  } : Omit<{
87
- type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
88
+ type: PropType<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">;
88
89
  default: string;
89
90
  }, "type" | "default"> & {
90
- type: PropType<unknown extends Defaults["position"] ? "default" | "top" | "bottom" | "start" | "end" | "left" | "right" : NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right"> | Defaults["position"]>;
91
- default: unknown extends Defaults["position"] ? "default" | "top" | "bottom" | "start" | "end" | "left" | "right" : NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right"> | Defaults["position"];
91
+ type: PropType<unknown extends Defaults["position"] ? "default" | "left" | "right" | "top" | "bottom" | "start" | "end" : NonNullable<"default" | "left" | "right" | "top" | "bottom" | "start" | "end"> | Defaults["position"]>;
92
+ default: unknown extends Defaults["position"] ? "default" | "left" | "right" | "top" | "bottom" | "start" | "end" : NonNullable<"default" | "left" | "right" | "top" | "bottom" | "start" | "end"> | Defaults["position"];
92
93
  };
93
94
  align: unknown extends Defaults["align"] ? {
94
95
  type: PropType<"top" | "bottom" | "start" | "end" | "center">;
@@ -140,6 +141,10 @@ export declare const pressYLayerProps: <Defaults extends {
140
141
  type: PropType<unknown extends Defaults["base"] ? import('./base').BaseType : NonNullable<import('./base').BaseType> | Defaults["base"]>;
141
142
  default: unknown extends Defaults["base"] ? import('./base').BaseType : NonNullable<import('./base').BaseType> | Defaults["base"];
142
143
  };
144
+ baseProps: unknown extends Defaults["baseProps"] ? PropType<Record<string, any>> : {
145
+ type: PropType<unknown extends Defaults["baseProps"] ? Record<string, any> : Record<string, any> | Defaults["baseProps"]>;
146
+ default: unknown extends Defaults["baseProps"] ? Record<string, any> : Record<string, any> | Defaults["baseProps"];
147
+ };
143
148
  transition: unknown extends Defaults["transition"] ? {
144
149
  type: PropType<string | (import('vue').TransitionProps & {
145
150
  is?: import('vue').Component | undefined;
@@ -308,7 +313,7 @@ export declare const YLayer: import('vue').DefineComponent<{
308
313
  default: string;
309
314
  };
310
315
  position: {
311
- type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
316
+ type: PropType<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">;
312
317
  default: string;
313
318
  };
314
319
  align: {
@@ -330,6 +335,7 @@ export declare const YLayer: import('vue').DefineComponent<{
330
335
  type: PropType<boolean>;
331
336
  };
332
337
  base: PropType<import('./base').BaseType>;
338
+ baseProps: PropType<Record<string, any>>;
333
339
  transition: {
334
340
  type: PropType<string | (import('vue').TransitionProps & {
335
341
  is?: import('vue').Component | undefined;
@@ -3,14 +3,20 @@ import { ComponentPublicInstance, PropType } from 'vue';
3
3
  export type BaseType = string | Element | ComponentPublicInstance | [x: number, y: number] | undefined;
4
4
  export declare const pressBasePropsOptions: <Defaults extends {
5
5
  base?: unknown;
6
+ baseProps?: unknown;
6
7
  } = {}>(defaults?: Defaults | undefined) => {
7
8
  base: unknown extends Defaults["base"] ? PropType<BaseType> : {
8
9
  type: PropType<unknown extends Defaults["base"] ? BaseType : Defaults["base"] | NonNullable<BaseType>>;
9
10
  default: unknown extends Defaults["base"] ? BaseType : Defaults["base"] | NonNullable<BaseType>;
10
11
  };
12
+ baseProps: unknown extends Defaults["baseProps"] ? PropType<Record<string, any>> : {
13
+ type: PropType<unknown extends Defaults["baseProps"] ? Record<string, any> : Record<string, any> | Defaults["baseProps"]>;
14
+ default: unknown extends Defaults["baseProps"] ? Record<string, any> : Record<string, any> | Defaults["baseProps"];
15
+ };
11
16
  };
12
17
  interface BaseProps {
13
18
  base: BaseType;
19
+ baseProps: Record<string, any> | undefined;
14
20
  }
15
21
  export declare function useBase(props: BaseProps): {
16
22
  base$: import('vue').Ref<any>;
@@ -24,7 +24,7 @@ export declare const YMenuPropOptions: {
24
24
  default: NonNullable<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn>;
25
25
  };
26
26
  position: {
27
- type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
27
+ type: PropType<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">;
28
28
  default: string;
29
29
  };
30
30
  align: {
@@ -46,6 +46,7 @@ export declare const YMenuPropOptions: {
46
46
  type: PropType<boolean>;
47
47
  };
48
48
  base: PropType<import('../layer/base').BaseType>;
49
+ baseProps: PropType<Record<string, any>>;
49
50
  transition: {
50
51
  type: PropType<string | (import('vue').TransitionProps & {
51
52
  is?: import('vue').Component | undefined;
@@ -156,7 +157,7 @@ export declare const YMenu: import('vue').DefineComponent<{
156
157
  default: NonNullable<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn>;
157
158
  };
158
159
  position: {
159
- type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
160
+ type: PropType<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">;
160
161
  default: string;
161
162
  };
162
163
  align: {
@@ -178,6 +179,7 @@ export declare const YMenu: import('vue').DefineComponent<{
178
179
  type: PropType<boolean>;
179
180
  };
180
181
  base: PropType<import('../layer/base').BaseType>;
182
+ baseProps: PropType<Record<string, any>>;
181
183
  theme: PropType<string>;
182
184
  modelValue: {
183
185
  type: PropType<boolean>;
@@ -259,7 +261,7 @@ export declare const YMenu: import('vue').DefineComponent<{
259
261
  default: string;
260
262
  };
261
263
  position: {
262
- type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
264
+ type: PropType<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">;
263
265
  default: string;
264
266
  };
265
267
  align: {
@@ -281,6 +283,7 @@ export declare const YMenu: import('vue').DefineComponent<{
281
283
  type: PropType<boolean>;
282
284
  };
283
285
  base: PropType<import('../layer/base').BaseType>;
286
+ baseProps: PropType<Record<string, any>>;
284
287
  transition: {
285
288
  type: PropType<string | (import('vue').TransitionProps & {
286
289
  is?: import('vue').Component | undefined;