yuyeon 0.2.1-rc.2 → 0.2.1-rc.3
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/style.css +1 -1
- package/dist/yuyeon.js +4873 -4894
- package/dist/yuyeon.umd.cjs +3 -3
- package/lib/components/chip/YChip.mjs +50 -42
- package/lib/components/chip/YChip.mjs.map +1 -1
- package/lib/components/progress-bar/YProgressBar.mjs +38 -50
- package/lib/components/progress-bar/YProgressBar.mjs.map +1 -1
- package/lib/components/progress-bar/YProgressBar.scss +4 -0
- package/lib/composables/progress.mjs +7 -2
- package/lib/composables/progress.mjs.map +1 -1
- package/lib/index.mjs +1 -1
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
- package/types/components/chip/YChip.d.ts +32 -17
- package/types/components/dialog/YDialog.d.ts +77 -77
- package/types/components/dropdown/YDropdown.d.ts +52 -52
- package/types/components/layer/YLayer.d.ts +10 -10
- package/types/components/menu/YMenu.d.ts +6 -6
- package/types/components/pagination/YPagination.d.ts +5 -5
- package/types/components/progress-bar/YProgressBar.d.ts +3 -8
- package/types/components/select/YSelect.d.ts +274 -274
- package/types/components/snackbar/YSnackbar.d.ts +8 -8
- package/types/components/table/YDataTable.d.ts +7 -7
- package/types/components/table/YDataTableCell.d.ts +1 -1
- package/types/components/table/YDataTableServer.d.ts +7 -7
- package/types/components/table/composibles/header.d.ts +8 -8
- package/types/components/tooltip/YTooltip.d.ts +14 -14
- package/types/composables/coordinate/index.d.ts +8 -8
- package/types/composables/progress.d.ts +1 -0
- package/types/index.d.ts +1 -1
- package/types/util/anchor.d.ts +1 -1
|
@@ -141,13 +141,13 @@ export declare const pressYSnackbarPropsOptions: <Defaults extends {
|
|
|
141
141
|
default: unknown extends Defaults["coordinateStrategy"] ? "levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn : NonNullable<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn> | Defaults["coordinateStrategy"];
|
|
142
142
|
};
|
|
143
143
|
position: unknown extends Defaults["position"] ? Omit<{
|
|
144
|
-
type: PropType<"default" | "
|
|
144
|
+
type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
|
|
145
145
|
default: string;
|
|
146
146
|
}, "type" | "default"> & {
|
|
147
147
|
type: PropType<string>;
|
|
148
148
|
default: string;
|
|
149
149
|
} : Omit<Omit<{
|
|
150
|
-
type: PropType<"default" | "
|
|
150
|
+
type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
|
|
151
151
|
default: string;
|
|
152
152
|
}, "type" | "default"> & {
|
|
153
153
|
type: PropType<string>;
|
|
@@ -157,14 +157,14 @@ export declare const pressYSnackbarPropsOptions: <Defaults extends {
|
|
|
157
157
|
default: unknown extends Defaults["position"] ? string : string | Defaults["position"];
|
|
158
158
|
};
|
|
159
159
|
align: unknown extends Defaults["align"] ? {
|
|
160
|
-
type: PropType<"
|
|
160
|
+
type: PropType<"top" | "bottom" | "start" | "end" | "center">;
|
|
161
161
|
default: string;
|
|
162
162
|
} : Omit<{
|
|
163
|
-
type: PropType<"
|
|
163
|
+
type: PropType<"top" | "bottom" | "start" | "end" | "center">;
|
|
164
164
|
default: string;
|
|
165
165
|
}, "type" | "default"> & {
|
|
166
|
-
type: PropType<unknown extends Defaults["align"] ? "
|
|
167
|
-
default: unknown extends Defaults["align"] ? "
|
|
166
|
+
type: PropType<unknown extends Defaults["align"] ? "top" | "bottom" | "start" | "end" | "center" : NonNullable<"top" | "bottom" | "start" | "end" | "center"> | Defaults["align"]>;
|
|
167
|
+
default: unknown extends Defaults["align"] ? "top" | "bottom" | "start" | "end" | "center" : NonNullable<"top" | "bottom" | "start" | "end" | "center"> | Defaults["align"];
|
|
168
168
|
};
|
|
169
169
|
origin: unknown extends Defaults["origin"] ? {
|
|
170
170
|
type: StringConstructor;
|
|
@@ -349,14 +349,14 @@ export declare const YSnackbar: import('vue').DefineComponent<{
|
|
|
349
349
|
default: string;
|
|
350
350
|
};
|
|
351
351
|
position: Omit<{
|
|
352
|
-
type: PropType<"default" | "
|
|
352
|
+
type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
|
|
353
353
|
default: string;
|
|
354
354
|
}, "type" | "default"> & {
|
|
355
355
|
type: PropType<string>;
|
|
356
356
|
default: string;
|
|
357
357
|
};
|
|
358
358
|
align: {
|
|
359
|
-
type: PropType<"
|
|
359
|
+
type: PropType<"top" | "bottom" | "start" | "end" | "center">;
|
|
360
360
|
default: string;
|
|
361
361
|
};
|
|
362
362
|
origin: {
|
|
@@ -208,7 +208,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
208
208
|
readonly rowspan?: number | undefined;
|
|
209
209
|
readonly fixed?: boolean | undefined;
|
|
210
210
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
211
|
-
readonly align?: "
|
|
211
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
|
212
212
|
readonly width?: string | number | undefined;
|
|
213
213
|
readonly minWidth?: string | undefined;
|
|
214
214
|
readonly maxWidth?: string | undefined;
|
|
@@ -226,7 +226,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
226
226
|
readonly rowspan?: number | undefined;
|
|
227
227
|
readonly fixed?: boolean | undefined;
|
|
228
228
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
229
|
-
readonly align?: "
|
|
229
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
|
230
230
|
readonly width?: string | number | undefined;
|
|
231
231
|
readonly minWidth?: string | undefined;
|
|
232
232
|
readonly maxWidth?: string | undefined;
|
|
@@ -244,7 +244,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
244
244
|
readonly rowspan?: number | undefined;
|
|
245
245
|
readonly fixed?: boolean | undefined;
|
|
246
246
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
247
|
-
readonly align?: "
|
|
247
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
|
248
248
|
readonly width?: string | number | undefined;
|
|
249
249
|
readonly minWidth?: string | undefined;
|
|
250
250
|
readonly maxWidth?: string | undefined;
|
|
@@ -259,7 +259,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
259
259
|
readonly rowspan?: number | undefined;
|
|
260
260
|
readonly fixed?: boolean | undefined;
|
|
261
261
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
262
|
-
readonly align?: "
|
|
262
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
|
263
263
|
readonly width?: string | number | undefined;
|
|
264
264
|
readonly minWidth?: string | undefined;
|
|
265
265
|
readonly maxWidth?: string | undefined;
|
|
@@ -275,7 +275,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
275
275
|
readonly rowspan?: number | undefined;
|
|
276
276
|
readonly fixed?: boolean | undefined;
|
|
277
277
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
278
|
-
readonly align?: "
|
|
278
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
|
279
279
|
readonly width?: string | number | undefined;
|
|
280
280
|
readonly minWidth?: string | undefined;
|
|
281
281
|
readonly maxWidth?: string | undefined;
|
|
@@ -290,7 +290,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
290
290
|
readonly rowspan?: number | undefined;
|
|
291
291
|
readonly fixed?: boolean | undefined;
|
|
292
292
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
293
|
-
readonly align?: "
|
|
293
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
|
294
294
|
readonly width?: string | number | undefined;
|
|
295
295
|
readonly minWidth?: string | undefined;
|
|
296
296
|
readonly maxWidth?: string | undefined;
|
|
@@ -418,7 +418,7 @@ export declare const YDataTable: import('vue').DefineComponent<{
|
|
|
418
418
|
readonly rowspan?: number | undefined;
|
|
419
419
|
readonly fixed?: boolean | undefined;
|
|
420
420
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
421
|
-
readonly align?: "
|
|
421
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
|
422
422
|
readonly width?: string | number | undefined;
|
|
423
423
|
readonly minWidth?: string | undefined;
|
|
424
424
|
readonly maxWidth?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export declare const YDataTableCell: import('vue').DefineComponent<{
|
|
|
21
21
|
type: PropType<string | number>;
|
|
22
22
|
};
|
|
23
23
|
align: {
|
|
24
|
-
type: PropType<"
|
|
24
|
+
type: PropType<"start" | "end" | "center">;
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
27
|
}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click">;
|
|
@@ -211,7 +211,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
211
211
|
readonly rowspan?: number | undefined;
|
|
212
212
|
readonly fixed?: boolean | undefined;
|
|
213
213
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
214
|
-
readonly align?: "
|
|
214
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
|
215
215
|
readonly width?: string | number | undefined;
|
|
216
216
|
readonly minWidth?: string | undefined;
|
|
217
217
|
readonly maxWidth?: string | undefined;
|
|
@@ -229,7 +229,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
229
229
|
readonly rowspan?: number | undefined;
|
|
230
230
|
readonly fixed?: boolean | undefined;
|
|
231
231
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
232
|
-
readonly align?: "
|
|
232
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
|
233
233
|
readonly width?: string | number | undefined;
|
|
234
234
|
readonly minWidth?: string | undefined;
|
|
235
235
|
readonly maxWidth?: string | undefined;
|
|
@@ -247,7 +247,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
247
247
|
readonly rowspan?: number | undefined;
|
|
248
248
|
readonly fixed?: boolean | undefined;
|
|
249
249
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
250
|
-
readonly align?: "
|
|
250
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
|
251
251
|
readonly width?: string | number | undefined;
|
|
252
252
|
readonly minWidth?: string | undefined;
|
|
253
253
|
readonly maxWidth?: string | undefined;
|
|
@@ -262,7 +262,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
262
262
|
readonly rowspan?: number | undefined;
|
|
263
263
|
readonly fixed?: boolean | undefined;
|
|
264
264
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
265
|
-
readonly align?: "
|
|
265
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
|
266
266
|
readonly width?: string | number | undefined;
|
|
267
267
|
readonly minWidth?: string | undefined;
|
|
268
268
|
readonly maxWidth?: string | undefined;
|
|
@@ -278,7 +278,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
278
278
|
readonly rowspan?: number | undefined;
|
|
279
279
|
readonly fixed?: boolean | undefined;
|
|
280
280
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
281
|
-
readonly align?: "
|
|
281
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
|
282
282
|
readonly width?: string | number | undefined;
|
|
283
283
|
readonly minWidth?: string | undefined;
|
|
284
284
|
readonly maxWidth?: string | undefined;
|
|
@@ -293,7 +293,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
293
293
|
readonly rowspan?: number | undefined;
|
|
294
294
|
readonly fixed?: boolean | undefined;
|
|
295
295
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
296
|
-
readonly align?: "
|
|
296
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
|
297
297
|
readonly width?: string | number | undefined;
|
|
298
298
|
readonly minWidth?: string | undefined;
|
|
299
299
|
readonly maxWidth?: string | undefined;
|
|
@@ -451,7 +451,7 @@ export declare const YDataTableServer: import('vue').DefineComponent<{
|
|
|
451
451
|
readonly rowspan?: number | undefined;
|
|
452
452
|
readonly fixed?: boolean | undefined;
|
|
453
453
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
454
|
-
readonly align?: "
|
|
454
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
|
455
455
|
readonly width?: string | number | undefined;
|
|
456
456
|
readonly minWidth?: string | undefined;
|
|
457
457
|
readonly maxWidth?: string | undefined;
|
|
@@ -13,7 +13,7 @@ export declare const pressDataTableHeader: <Defaults extends {
|
|
|
13
13
|
readonly rowspan?: number | undefined;
|
|
14
14
|
readonly fixed?: boolean | undefined;
|
|
15
15
|
readonly classes?: string | readonly string[] | import('../types/common').DataTableCellClassesFn | undefined;
|
|
16
|
-
readonly align?: "
|
|
16
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
|
17
17
|
readonly width?: string | number | undefined;
|
|
18
18
|
readonly minWidth?: string | undefined;
|
|
19
19
|
readonly maxWidth?: string | undefined;
|
|
@@ -31,7 +31,7 @@ export declare const pressDataTableHeader: <Defaults extends {
|
|
|
31
31
|
readonly rowspan?: number | undefined;
|
|
32
32
|
readonly fixed?: boolean | undefined;
|
|
33
33
|
readonly classes?: string | readonly string[] | import('../types/common').DataTableCellClassesFn | undefined;
|
|
34
|
-
readonly align?: "
|
|
34
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
|
35
35
|
readonly width?: string | number | undefined;
|
|
36
36
|
readonly minWidth?: string | undefined;
|
|
37
37
|
readonly maxWidth?: string | undefined;
|
|
@@ -49,7 +49,7 @@ export declare const pressDataTableHeader: <Defaults extends {
|
|
|
49
49
|
readonly rowspan?: number | undefined;
|
|
50
50
|
readonly fixed?: boolean | undefined;
|
|
51
51
|
readonly classes?: string | readonly string[] | import('../types/common').DataTableCellClassesFn | undefined;
|
|
52
|
-
readonly align?: "
|
|
52
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
|
53
53
|
readonly width?: string | number | undefined;
|
|
54
54
|
readonly minWidth?: string | undefined;
|
|
55
55
|
readonly maxWidth?: string | undefined;
|
|
@@ -64,7 +64,7 @@ export declare const pressDataTableHeader: <Defaults extends {
|
|
|
64
64
|
readonly rowspan?: number | undefined;
|
|
65
65
|
readonly fixed?: boolean | undefined;
|
|
66
66
|
readonly classes?: string | readonly string[] | import('../types/common').DataTableCellClassesFn | undefined;
|
|
67
|
-
readonly align?: "
|
|
67
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
|
68
68
|
readonly width?: string | number | undefined;
|
|
69
69
|
readonly minWidth?: string | undefined;
|
|
70
70
|
readonly maxWidth?: string | undefined;
|
|
@@ -80,7 +80,7 @@ export declare const pressDataTableHeader: <Defaults extends {
|
|
|
80
80
|
readonly rowspan?: number | undefined;
|
|
81
81
|
readonly fixed?: boolean | undefined;
|
|
82
82
|
readonly classes?: string | readonly string[] | import('../types/common').DataTableCellClassesFn | undefined;
|
|
83
|
-
readonly align?: "
|
|
83
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
|
84
84
|
readonly width?: string | number | undefined;
|
|
85
85
|
readonly minWidth?: string | undefined;
|
|
86
86
|
readonly maxWidth?: string | undefined;
|
|
@@ -95,7 +95,7 @@ export declare const pressDataTableHeader: <Defaults extends {
|
|
|
95
95
|
readonly rowspan?: number | undefined;
|
|
96
96
|
readonly fixed?: boolean | undefined;
|
|
97
97
|
readonly classes?: string | readonly string[] | import('../types/common').DataTableCellClassesFn | undefined;
|
|
98
|
-
readonly align?: "
|
|
98
|
+
readonly align?: "start" | "end" | "center" | undefined;
|
|
99
99
|
readonly width?: string | number | undefined;
|
|
100
100
|
readonly minWidth?: string | undefined;
|
|
101
101
|
readonly maxWidth?: string | undefined;
|
|
@@ -123,7 +123,7 @@ export declare function createHeader(props: HeaderProps, options?: {
|
|
|
123
123
|
rowspan?: number | undefined;
|
|
124
124
|
fixed?: boolean | undefined;
|
|
125
125
|
classes?: string | string[] | import('../types/common').DataTableCellClassesFn | undefined;
|
|
126
|
-
align?: "
|
|
126
|
+
align?: "start" | "end" | "center" | undefined;
|
|
127
127
|
width?: string | number | undefined;
|
|
128
128
|
minWidth?: string | undefined;
|
|
129
129
|
maxWidth?: string | undefined;
|
|
@@ -141,7 +141,7 @@ export declare function createHeader(props: HeaderProps, options?: {
|
|
|
141
141
|
rowspan?: number | undefined;
|
|
142
142
|
fixed?: boolean | undefined;
|
|
143
143
|
classes?: string | string[] | import('../types/common').DataTableCellClassesFn | undefined;
|
|
144
|
-
align?: "
|
|
144
|
+
align?: "start" | "end" | "center" | undefined;
|
|
145
145
|
width?: string | number | undefined;
|
|
146
146
|
minWidth?: string | undefined;
|
|
147
147
|
maxWidth?: string | undefined;
|
|
@@ -39,11 +39,11 @@ export declare const YTooltip: import('vue').DefineComponent<{
|
|
|
39
39
|
default: NonNullable<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn>;
|
|
40
40
|
};
|
|
41
41
|
position: {
|
|
42
|
-
type: PropType<"default" | "
|
|
42
|
+
type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
|
|
43
43
|
default: string;
|
|
44
44
|
};
|
|
45
45
|
align: Omit<{
|
|
46
|
-
type: PropType<"
|
|
46
|
+
type: PropType<"top" | "bottom" | "start" | "end" | "center">;
|
|
47
47
|
default: string;
|
|
48
48
|
}, "type" | "default"> & {
|
|
49
49
|
type: PropType<string>;
|
|
@@ -142,11 +142,11 @@ export declare const YTooltip: import('vue').DefineComponent<{
|
|
|
142
142
|
default: string;
|
|
143
143
|
};
|
|
144
144
|
position: {
|
|
145
|
-
type: PropType<"default" | "
|
|
145
|
+
type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
|
|
146
146
|
default: string;
|
|
147
147
|
};
|
|
148
148
|
align: {
|
|
149
|
-
type: PropType<"
|
|
149
|
+
type: PropType<"top" | "bottom" | "start" | "end" | "center">;
|
|
150
150
|
default: string;
|
|
151
151
|
};
|
|
152
152
|
origin: {
|
|
@@ -1857,11 +1857,11 @@ export declare const YTooltip: import('vue').DefineComponent<{
|
|
|
1857
1857
|
default: string;
|
|
1858
1858
|
};
|
|
1859
1859
|
position: {
|
|
1860
|
-
type: PropType<"default" | "
|
|
1860
|
+
type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
|
|
1861
1861
|
default: string;
|
|
1862
1862
|
};
|
|
1863
1863
|
align: {
|
|
1864
|
-
type: PropType<"
|
|
1864
|
+
type: PropType<"top" | "bottom" | "start" | "end" | "center">;
|
|
1865
1865
|
default: string;
|
|
1866
1866
|
};
|
|
1867
1867
|
origin: {
|
|
@@ -3593,11 +3593,11 @@ export declare const YTooltip: import('vue').DefineComponent<{
|
|
|
3593
3593
|
default: NonNullable<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn>;
|
|
3594
3594
|
};
|
|
3595
3595
|
position: {
|
|
3596
|
-
type: PropType<"default" | "
|
|
3596
|
+
type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
|
|
3597
3597
|
default: string;
|
|
3598
3598
|
};
|
|
3599
3599
|
align: Omit<{
|
|
3600
|
-
type: PropType<"
|
|
3600
|
+
type: PropType<"top" | "bottom" | "start" | "end" | "center">;
|
|
3601
3601
|
default: string;
|
|
3602
3602
|
}, "type" | "default"> & {
|
|
3603
3603
|
type: PropType<string>;
|
|
@@ -3683,17 +3683,17 @@ export declare const YTooltip: import('vue').DefineComponent<{
|
|
|
3683
3683
|
}, {
|
|
3684
3684
|
disabled: boolean;
|
|
3685
3685
|
align: string;
|
|
3686
|
+
closeDelay: number;
|
|
3687
|
+
openDelay: number;
|
|
3688
|
+
transition: NonNullable<string | (import('vue').TransitionProps & {
|
|
3689
|
+
is?: import('vue').Component | undefined;
|
|
3690
|
+
})>;
|
|
3686
3691
|
offset: NonNullable<string | number | number[]>;
|
|
3687
3692
|
coordinateStrategy: NonNullable<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn>;
|
|
3688
|
-
position: "default" | "
|
|
3693
|
+
position: "default" | "top" | "bottom" | "start" | "end" | "left" | "right";
|
|
3689
3694
|
origin: string;
|
|
3690
3695
|
viewportMargin: string | number | unknown[];
|
|
3691
3696
|
zIndex: string | number;
|
|
3692
|
-
transition: NonNullable<string | (import('vue').TransitionProps & {
|
|
3693
|
-
is?: import('vue').Component | undefined;
|
|
3694
|
-
})>;
|
|
3695
|
-
closeDelay: number;
|
|
3696
|
-
openDelay: number;
|
|
3697
3697
|
scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">;
|
|
3698
3698
|
contentStyles: import('vue').CSSProperties;
|
|
3699
3699
|
openOnHover: boolean;
|
|
@@ -24,24 +24,24 @@ export declare const pressCoordinateProps: <Defaults extends {
|
|
|
24
24
|
default: unknown extends Defaults["coordinateStrategy"] ? "levitation" | "arrangement" | CoordinateStrategyFn : NonNullable<"levitation" | "arrangement" | CoordinateStrategyFn> | Defaults["coordinateStrategy"];
|
|
25
25
|
};
|
|
26
26
|
position: unknown extends Defaults["position"] ? {
|
|
27
|
-
type: PropType<"default" | "
|
|
27
|
+
type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
|
|
28
28
|
default: string;
|
|
29
29
|
} : Omit<{
|
|
30
|
-
type: PropType<"default" | "
|
|
30
|
+
type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
|
|
31
31
|
default: string;
|
|
32
32
|
}, "type" | "default"> & {
|
|
33
|
-
type: PropType<unknown extends Defaults["position"] ? "default" | "
|
|
34
|
-
default: unknown extends Defaults["position"] ? "default" | "
|
|
33
|
+
type: PropType<unknown extends Defaults["position"] ? "default" | "top" | "bottom" | "start" | "end" | "left" | "right" : NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right"> | Defaults["position"]>;
|
|
34
|
+
default: unknown extends Defaults["position"] ? "default" | "top" | "bottom" | "start" | "end" | "left" | "right" : NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right"> | Defaults["position"];
|
|
35
35
|
};
|
|
36
36
|
align: unknown extends Defaults["align"] ? {
|
|
37
|
-
type: PropType<"
|
|
37
|
+
type: PropType<"top" | "bottom" | "start" | "end" | "center">;
|
|
38
38
|
default: string;
|
|
39
39
|
} : Omit<{
|
|
40
|
-
type: PropType<"
|
|
40
|
+
type: PropType<"top" | "bottom" | "start" | "end" | "center">;
|
|
41
41
|
default: string;
|
|
42
42
|
}, "type" | "default"> & {
|
|
43
|
-
type: PropType<unknown extends Defaults["align"] ? "
|
|
44
|
-
default: unknown extends Defaults["align"] ? "
|
|
43
|
+
type: PropType<unknown extends Defaults["align"] ? "top" | "bottom" | "start" | "end" | "center" : NonNullable<"top" | "bottom" | "start" | "end" | "center"> | Defaults["align"]>;
|
|
44
|
+
default: unknown extends Defaults["align"] ? "top" | "bottom" | "start" | "end" | "center" : NonNullable<"top" | "bottom" | "start" | "end" | "center"> | Defaults["align"];
|
|
45
45
|
};
|
|
46
46
|
origin: unknown extends Defaults["origin"] ? {
|
|
47
47
|
type: StringConstructor;
|
package/types/index.d.ts
CHANGED
package/types/util/anchor.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export type ParsedAnchor = {
|
|
|
15
15
|
};
|
|
16
16
|
/** Parse a raw anchor string into an object */
|
|
17
17
|
export declare function parseAnchor(anchor: Anchor, isRtl: boolean): ParsedAnchor;
|
|
18
|
-
export declare function toPhysical(str: 'center' | Tblock | Tinline, isRtl: boolean): "
|
|
18
|
+
export declare function toPhysical(str: 'center' | Tblock | Tinline, isRtl: boolean): "top" | "bottom" | "left" | "right" | "center";
|
|
19
19
|
export declare function flipSide(anchor: ParsedAnchor): ParsedAnchor;
|
|
20
20
|
export declare function flipAlign(anchor: ParsedAnchor): ParsedAnchor;
|
|
21
21
|
export declare function flipCorner(anchor: ParsedAnchor): ParsedAnchor;
|