yuyeon 0.2.3-rc.8 → 0.3.0-rc.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/dist/style.css +1 -1
- package/dist/yuyeon.js +2602 -2466
- package/dist/yuyeon.umd.cjs +3 -3
- package/lib/components/button/YButton.mjs +1 -0
- package/lib/components/button/YButton.mjs.map +1 -1
- package/lib/components/button/YButton.scss +9 -0
- package/lib/components/date-picker/YDatePicker.mjs +6 -2
- package/lib/components/date-picker/YDatePicker.mjs.map +1 -1
- package/lib/components/dialog/YDialog.mjs +2 -1
- package/lib/components/dialog/YDialog.mjs.map +1 -1
- package/lib/components/dropdown/YDropdown.mjs +9 -3
- package/lib/components/dropdown/YDropdown.mjs.map +1 -1
- package/lib/components/field-input/YFieldInput.mjs +5 -2
- package/lib/components/field-input/YFieldInput.mjs.map +1 -1
- package/lib/components/index.mjs +1 -0
- package/lib/components/index.mjs.map +1 -1
- package/lib/components/input/YInput.mjs +4 -1
- package/lib/components/input/YInput.mjs.map +1 -1
- package/lib/components/layer/YLayer.mjs +1 -1
- package/lib/components/layer/YLayer.mjs.map +1 -1
- package/lib/components/progress-bar/YProgressBar.mjs +1 -1
- package/lib/components/progress-bar/YProgressBar.mjs.map +1 -1
- package/lib/components/progress-ring/YProgressRing.mjs +128 -0
- package/lib/components/progress-ring/YProgressRing.mjs.map +1 -0
- package/lib/components/progress-ring/YProgressRing.scss +38 -0
- package/lib/components/progress-ring/index.mjs +2 -0
- package/lib/components/progress-ring/index.mjs.map +1 -0
- package/lib/components/select/YSelect.mjs +97 -106
- package/lib/components/select/YSelect.mjs.map +1 -1
- package/lib/components/switch/YSwitch.mjs.map +1 -1
- package/lib/components/switch/YSwitch.scss +211 -211
- package/lib/components/table/YDataTableBody.mjs.map +1 -1
- package/lib/components/table/YDataTableCell.mjs +8 -4
- package/lib/components/table/YDataTableCell.mjs.map +1 -1
- package/lib/components/table/YDataTableHead.mjs +23 -11
- package/lib/components/table/YDataTableHead.mjs.map +1 -1
- package/lib/components/table/YDataTableRow.mjs +14 -8
- package/lib/components/table/YDataTableRow.mjs.map +1 -1
- package/lib/components/table/YDataTableServer.mjs.map +1 -1
- package/lib/components/table/composibles/header.mjs +14 -4
- package/lib/components/table/composibles/header.mjs.map +1 -1
- package/lib/components/table/types/header.mjs.map +1 -1
- package/lib/components/table/types/index.mjs.map +1 -1
- package/lib/components/tooltip/YTooltip.mjs +2 -2
- package/lib/components/tooltip/YTooltip.mjs.map +1 -1
- package/lib/composables/layer-group.mjs +4 -4
- package/lib/composables/layer-group.mjs.map +1 -1
- package/lib/composables/progress.mjs +2 -1
- package/lib/composables/progress.mjs.map +1 -1
- package/lib/directives/plate-wave/index.mjs +2 -2
- package/lib/directives/plate-wave/index.mjs.map +1 -1
- package/lib/i18n/built-in.mjs.map +1 -1
- package/lib/index.mjs.map +1 -1
- package/lib/util/component/component.mjs +4 -0
- package/lib/util/component/component.mjs.map +1 -1
- package/package.json +120 -120
- package/types/components/checkbox/YCheckbox.d.ts +1 -1
- package/types/components/checkbox/YInputCheckbox.d.ts +2 -2
- package/types/components/date-picker/YDateCalendar.d.ts +5 -5
- package/types/components/dialog/YDialog.d.ts +4916 -13
- package/types/components/draggable/YDraggable.d.ts +8 -8
- package/types/components/dropdown/YDropdown.d.ts +11 -11
- package/types/components/field-input/YFieldInput.d.ts +3 -3
- package/types/components/icons/YIconCheckbox.d.ts +1 -1
- package/types/components/icons/YIconPageControl.d.ts +1 -1
- package/types/components/icons/YIconSort.d.ts +1 -1
- package/types/components/icons/index.d.ts +5 -5
- package/types/components/index.d.ts +1 -0
- package/types/components/layer/YLayer.d.ts +1604 -11
- package/types/components/layer/active-stack.d.ts +1 -1
- package/types/components/layer/base.d.ts +3 -3
- package/types/components/menu/YMenu.d.ts +4913 -11
- package/types/components/pagination/YPagination.d.ts +3 -3
- package/types/components/panel/YDividePanel.d.ts +2 -2
- package/types/components/progress-bar/YProgressBar.d.ts +2 -2
- package/types/components/progress-ring/YProgressRing.d.ts +34 -0
- package/types/components/progress-ring/index.d.ts +1 -0
- package/types/components/snackbar/YSnackbar.d.ts +5 -5
- package/types/components/tab/YTabs.d.ts +1 -1
- package/types/components/table/YDataTable.d.ts +7 -7
- package/types/components/table/YDataTableCell.d.ts +5 -1
- package/types/components/table/YDataTableServer.d.ts +7 -7
- package/types/components/table/composibles/header.d.ts +50 -10
- package/types/components/table/composibles/measure.d.ts +6 -6
- package/types/components/table/composibles/pagination.d.ts +8 -8
- package/types/components/table/composibles/sorting.d.ts +3 -3
- package/types/components/table/types/header.d.ts +2 -1
- package/types/components/table/types/index.d.ts +1 -0
- package/types/components/text-highlighter/YTextHighlighter.d.ts +1 -1
- package/types/components/textarea/YTextarea.d.ts +92 -5
- package/types/components/transitions/expand-transition.d.ts +5 -5
- package/types/components/transitions/index.d.ts +10 -10
- package/types/components/tree-view/YTreeView.d.ts +13 -13
- package/types/components/tree-view/YTreeViewNode.d.ts +4 -4
- package/types/composables/communication.d.ts +2 -2
- package/types/composables/coordinate/index.d.ts +1599 -6
- package/types/composables/defaults/index.d.ts +3 -3
- package/types/composables/focus.d.ts +1 -1
- package/types/composables/form.d.ts +17 -2
- package/types/composables/layer-group.d.ts +4 -2
- package/types/composables/progress.d.ts +1 -1
- package/types/composables/ref.d.ts +1 -1
- package/types/composables/resize-observer.d.ts +11 -1
- package/types/composables/theme/index.d.ts +7 -7
- package/types/composables/timing.d.ts +3 -3
- package/types/composables/validation.d.ts +3 -3
- package/types/mixins/di.d.ts +1 -1
- package/types/mixins/rebind-attrs.d.ts +1 -1
- package/types/shims.d.ts +56 -55
- package/types/util/anchor.d.ts +1 -1
- package/types/util/component/component.d.ts +3 -2
|
@@ -4,7 +4,7 @@ type Coord = {
|
|
|
4
4
|
x: number;
|
|
5
5
|
y: number;
|
|
6
6
|
};
|
|
7
|
-
export declare const YDraggable: import('vue').DefineComponent<{
|
|
7
|
+
export declare const YDraggable: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
8
|
as: PropType<string | object>;
|
|
9
9
|
handle: PropType<MaybeRef<string | HTMLElement>>;
|
|
10
10
|
disabled: BooleanConstructor;
|
|
@@ -12,12 +12,12 @@ export declare const YDraggable: import('vue').DefineComponent<{
|
|
|
12
12
|
exact: BooleanConstructor;
|
|
13
13
|
container: PropType<string | MaybeRef<HTMLElement | SVGElement | null>>;
|
|
14
14
|
onDragStart: PropType<(pos: Coord, e: PointerEvent) => boolean | undefined>;
|
|
15
|
-
}
|
|
15
|
+
}>, {
|
|
16
16
|
targetEl: import('vue').ComputedRef<any>;
|
|
17
17
|
handleEl: import('vue').ComputedRef<any>;
|
|
18
|
-
dragging: import('vue').Ref<boolean>;
|
|
19
|
-
position: import('vue').Ref<any>;
|
|
20
|
-
},
|
|
18
|
+
dragging: import('vue').Ref<boolean, boolean>;
|
|
19
|
+
position: import('vue').Ref<any, any>;
|
|
20
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "start"[], "start", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
21
|
as: PropType<string | object>;
|
|
22
22
|
handle: PropType<MaybeRef<string | HTMLElement>>;
|
|
23
23
|
disabled: BooleanConstructor;
|
|
@@ -25,12 +25,12 @@ export declare const YDraggable: import('vue').DefineComponent<{
|
|
|
25
25
|
exact: BooleanConstructor;
|
|
26
26
|
container: PropType<string | MaybeRef<HTMLElement | SVGElement | null>>;
|
|
27
27
|
onDragStart: PropType<(pos: Coord, e: PointerEvent) => boolean | undefined>;
|
|
28
|
-
}>> & {
|
|
28
|
+
}>> & Readonly<{
|
|
29
29
|
onStart?: ((...args: any[]) => any) | undefined;
|
|
30
|
-
}
|
|
30
|
+
}>, {
|
|
31
31
|
disabled: boolean;
|
|
32
32
|
exact: boolean;
|
|
33
33
|
capture: boolean;
|
|
34
|
-
}, {}>;
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
35
35
|
export type YDraggable = InstanceType<typeof YDraggable>;
|
|
36
36
|
export {};
|
|
@@ -152,20 +152,20 @@ export declare const pressYDropdownPropsOptions: <Defaults extends {
|
|
|
152
152
|
default: unknown extends Defaults["offset"] ? string | number | number[] : NonNullable<string | number | number[]> | Defaults["offset"];
|
|
153
153
|
};
|
|
154
154
|
position: unknown extends Defaults["position"] ? Omit<{
|
|
155
|
-
type: PropType<"default" | "
|
|
155
|
+
type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
|
|
156
156
|
default: string;
|
|
157
157
|
}, "type" | "default"> & {
|
|
158
|
-
type: PropType<NonNullable<"default" | "
|
|
159
|
-
default: NonNullable<"default" | "
|
|
158
|
+
type: PropType<NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">>;
|
|
159
|
+
default: NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
|
|
160
160
|
} : Omit<Omit<{
|
|
161
|
-
type: PropType<"default" | "
|
|
161
|
+
type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
|
|
162
162
|
default: string;
|
|
163
163
|
}, "type" | "default"> & {
|
|
164
|
-
type: PropType<NonNullable<"default" | "
|
|
165
|
-
default: NonNullable<"default" | "
|
|
164
|
+
type: PropType<NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">>;
|
|
165
|
+
default: NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
|
|
166
166
|
}, "type" | "default"> & {
|
|
167
|
-
type: PropType<unknown extends Defaults["position"] ? NonNullable<"default" | "
|
|
168
|
-
default: unknown extends Defaults["position"] ? NonNullable<"default" | "
|
|
167
|
+
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">>>;
|
|
168
|
+
default: unknown extends Defaults["position"] ? NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right"> : Defaults["position"] | NonNullable<NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">>;
|
|
169
169
|
};
|
|
170
170
|
origin: unknown extends Defaults["origin"] ? {
|
|
171
171
|
type: StringConstructor;
|
|
@@ -462,11 +462,11 @@ export declare const YDropdown: import('vue').DefineComponent<{
|
|
|
462
462
|
type: PropType<string | number | number[]>;
|
|
463
463
|
};
|
|
464
464
|
position: Omit<{
|
|
465
|
-
type: PropType<"default" | "
|
|
465
|
+
type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
|
|
466
466
|
default: string;
|
|
467
467
|
}, "type" | "default"> & {
|
|
468
|
-
type: PropType<NonNullable<"default" | "
|
|
469
|
-
default: NonNullable<"default" | "
|
|
468
|
+
type: PropType<NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">>;
|
|
469
|
+
default: NonNullable<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
|
|
470
470
|
};
|
|
471
471
|
origin: {
|
|
472
472
|
type: StringConstructor;
|
|
@@ -302,9 +302,9 @@ export declare const YFieldInput: import('vue').DefineComponent<{
|
|
|
302
302
|
default: string;
|
|
303
303
|
};
|
|
304
304
|
}, {
|
|
305
|
-
focused: import('vue').Ref<any> & {
|
|
305
|
+
focused: import('vue').Ref<any, any> & {
|
|
306
306
|
readonly rxValue: any;
|
|
307
307
|
};
|
|
308
|
-
inValue: import('vue').Ref<any>;
|
|
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">;
|
|
308
|
+
inValue: import('vue').Ref<any, any>;
|
|
309
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("input" | "blur" | "change" | "click" | "focus" | "keydown" | "keyup" | "mousedown" | "mouseup" | "mousedown:display" | "keydown:display" | "update:modelValue" | "update:focused" | "click:clear")[], "input" | "blur" | "change" | "click" | "focus" | "keydown" | "keyup" | "mousedown" | "mouseup" | "mousedown:display" | "keydown:display" | "update:modelValue" | "update:focused" | "click:clear">;
|
|
310
310
|
export type YFieldInput = InstanceType<typeof YFieldInput>;
|
|
@@ -3,4 +3,4 @@ export declare const YIconCheckbox: import('vue').DefineComponent<{
|
|
|
3
3
|
checked: BooleanConstructor;
|
|
4
4
|
indeterminate: BooleanConstructor;
|
|
5
5
|
disabled: BooleanConstructor;
|
|
6
|
-
},
|
|
6
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
@@ -11,4 +11,4 @@ export declare const YIconPageControl: import('vue').DefineComponent<{
|
|
|
11
11
|
type: PropType<"first" | "last" | "next" | "prev">;
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
|
-
},
|
|
14
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
@@ -7,4 +7,4 @@ export declare const YIconSort: import('vue').DefineComponent<{
|
|
|
7
7
|
disabled: {
|
|
8
8
|
type: BooleanConstructor;
|
|
9
9
|
};
|
|
10
|
-
},
|
|
10
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
@@ -11,20 +11,20 @@ export declare const builtSet: {
|
|
|
11
11
|
checked: BooleanConstructor;
|
|
12
12
|
indeterminate: BooleanConstructor;
|
|
13
13
|
disabled: BooleanConstructor;
|
|
14
|
-
},
|
|
14
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
15
15
|
pageControl: import('vue').DefineComponent<{
|
|
16
16
|
type: {
|
|
17
17
|
type: import('vue').PropType<"first" | "last" | "next" | "prev">;
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
|
-
},
|
|
20
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
21
21
|
next: {
|
|
22
22
|
component: import('vue').DefineComponent<{
|
|
23
23
|
type: {
|
|
24
24
|
type: import('vue').PropType<"first" | "last" | "next" | "prev">;
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
|
-
},
|
|
27
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
28
28
|
props: {
|
|
29
29
|
type: string;
|
|
30
30
|
};
|
|
@@ -35,7 +35,7 @@ export declare const builtSet: {
|
|
|
35
35
|
type: import('vue').PropType<"first" | "last" | "next" | "prev">;
|
|
36
36
|
default: string;
|
|
37
37
|
};
|
|
38
|
-
},
|
|
38
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
39
39
|
props: {
|
|
40
40
|
type: string;
|
|
41
41
|
};
|
|
@@ -47,5 +47,5 @@ export declare const builtSet: {
|
|
|
47
47
|
disabled: {
|
|
48
48
|
type: BooleanConstructor;
|
|
49
49
|
};
|
|
50
|
-
},
|
|
50
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
51
51
|
};
|