@krds.ui/vue 0.0.9 → 0.0.10
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/krds-vue.es.js +946 -820
- package/dist/krds-vue.es.js.map +1 -1
- package/dist/krds-vue.umd.js +1 -1
- package/dist/krds-vue.umd.js.map +1 -1
- package/dist/types/index.d.ts +89 -0
- package/package.json +12 -12
package/dist/types/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { Plugin as Plugin_2 } from 'vue';
|
|
|
7
7
|
import { PublicProps } from 'vue';
|
|
8
8
|
import { RendererElement } from 'vue';
|
|
9
9
|
import { RendererNode } from 'vue';
|
|
10
|
+
import { SlotsType } from 'vue';
|
|
10
11
|
import { VNode } from 'vue';
|
|
11
12
|
|
|
12
13
|
declare const __VLS_component: DefineComponent<KrdsPanelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -965,6 +966,94 @@ export declare const KrdsMasthead: DefineComponent<BaseComponentProps, {}, {}, {
|
|
|
965
966
|
*/
|
|
966
967
|
export declare type KrdsMastheadProps = BaseComponentProps;
|
|
967
968
|
|
|
969
|
+
export declare const KrdsModal: DefineComponent<ExtractPropTypes< {
|
|
970
|
+
modelValue: {
|
|
971
|
+
type: BooleanConstructor;
|
|
972
|
+
default: boolean;
|
|
973
|
+
};
|
|
974
|
+
modalId: {
|
|
975
|
+
type: StringConstructor;
|
|
976
|
+
default: undefined;
|
|
977
|
+
};
|
|
978
|
+
backdrop: {
|
|
979
|
+
type: BooleanConstructor;
|
|
980
|
+
default: boolean;
|
|
981
|
+
};
|
|
982
|
+
size: {
|
|
983
|
+
type: () => KrdsModalSize;
|
|
984
|
+
default: string;
|
|
985
|
+
};
|
|
986
|
+
full: {
|
|
987
|
+
type: BooleanConstructor;
|
|
988
|
+
default: boolean;
|
|
989
|
+
};
|
|
990
|
+
bottomSheet: {
|
|
991
|
+
type: BooleanConstructor;
|
|
992
|
+
default: boolean;
|
|
993
|
+
};
|
|
994
|
+
persistent: {
|
|
995
|
+
type: BooleanConstructor;
|
|
996
|
+
default: boolean;
|
|
997
|
+
};
|
|
998
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
999
|
+
[key: string]: any;
|
|
1000
|
+
}> | null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
|
|
1001
|
+
modelValue: {
|
|
1002
|
+
type: BooleanConstructor;
|
|
1003
|
+
default: boolean;
|
|
1004
|
+
};
|
|
1005
|
+
modalId: {
|
|
1006
|
+
type: StringConstructor;
|
|
1007
|
+
default: undefined;
|
|
1008
|
+
};
|
|
1009
|
+
backdrop: {
|
|
1010
|
+
type: BooleanConstructor;
|
|
1011
|
+
default: boolean;
|
|
1012
|
+
};
|
|
1013
|
+
size: {
|
|
1014
|
+
type: () => KrdsModalSize;
|
|
1015
|
+
default: string;
|
|
1016
|
+
};
|
|
1017
|
+
full: {
|
|
1018
|
+
type: BooleanConstructor;
|
|
1019
|
+
default: boolean;
|
|
1020
|
+
};
|
|
1021
|
+
bottomSheet: {
|
|
1022
|
+
type: BooleanConstructor;
|
|
1023
|
+
default: boolean;
|
|
1024
|
+
};
|
|
1025
|
+
persistent: {
|
|
1026
|
+
type: BooleanConstructor;
|
|
1027
|
+
default: boolean;
|
|
1028
|
+
};
|
|
1029
|
+
}>> & Readonly<{
|
|
1030
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1031
|
+
}>, {
|
|
1032
|
+
size: KrdsModalSize;
|
|
1033
|
+
modelValue: boolean;
|
|
1034
|
+
modalId: string;
|
|
1035
|
+
backdrop: boolean;
|
|
1036
|
+
full: boolean;
|
|
1037
|
+
bottomSheet: boolean;
|
|
1038
|
+
persistent: boolean;
|
|
1039
|
+
}, SlotsType<{
|
|
1040
|
+
title?: () => any;
|
|
1041
|
+
default?: () => any;
|
|
1042
|
+
footer?: () => any;
|
|
1043
|
+
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1044
|
+
|
|
1045
|
+
export declare interface KrdsModalProps {
|
|
1046
|
+
modelValue?: boolean;
|
|
1047
|
+
modalId?: string;
|
|
1048
|
+
backdrop?: boolean;
|
|
1049
|
+
size?: KrdsModalSize;
|
|
1050
|
+
full?: boolean;
|
|
1051
|
+
bottomSheet?: boolean;
|
|
1052
|
+
persistent?: boolean;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
export declare type KrdsModalSize = 'small' | 'medium' | 'large';
|
|
1056
|
+
|
|
968
1057
|
export declare const KrdsPagination: DefineComponent<KrdsPaginationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
969
1058
|
"update:modelValue": (value: number) => any;
|
|
970
1059
|
}, string, PublicProps, Readonly<KrdsPaginationProps> & Readonly<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krds.ui/vue",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "KRDS Vue Design System - 한국 정부 디자인 시스템 Vue 컴포넌트 라이브러리",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"krds",
|
|
@@ -48,14 +48,14 @@
|
|
|
48
48
|
"vue": "^3.5.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@eslint/js": "^9.
|
|
52
|
-
"@rushstack/eslint-patch": "^1.
|
|
53
|
-
"@storybook/addon-a11y": "^9.1.
|
|
54
|
-
"@storybook/addon-docs": "^9.1.
|
|
55
|
-
"@storybook/addon-vitest": "^9.1.
|
|
56
|
-
"@storybook/vue3-vite": "^9.1.
|
|
51
|
+
"@eslint/js": "^9.37.0",
|
|
52
|
+
"@rushstack/eslint-patch": "^1.13.0",
|
|
53
|
+
"@storybook/addon-a11y": "^9.1.10",
|
|
54
|
+
"@storybook/addon-docs": "^9.1.10",
|
|
55
|
+
"@storybook/addon-vitest": "^9.1.10",
|
|
56
|
+
"@storybook/vue3-vite": "^9.1.10",
|
|
57
57
|
"@tsconfig/node20": "^20.1.6",
|
|
58
|
-
"@types/node": "^22.18.
|
|
58
|
+
"@types/node": "^22.18.8",
|
|
59
59
|
"@typescript-eslint/eslint-plugin": "^8.45.0",
|
|
60
60
|
"@typescript-eslint/parser": "^8.45.0",
|
|
61
61
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"@vue/eslint-config-typescript": "^14.6.0",
|
|
66
66
|
"@vue/test-utils": "^2.4.6",
|
|
67
67
|
"@vue/tsconfig": "^0.8.1",
|
|
68
|
-
"eslint": "^9.
|
|
69
|
-
"eslint-plugin-storybook": "^9.1.
|
|
68
|
+
"eslint": "^9.37.0",
|
|
69
|
+
"eslint-plugin-storybook": "^9.1.10",
|
|
70
70
|
"eslint-plugin-vue": "^10.5.0",
|
|
71
71
|
"jsdom": "^27.0.0",
|
|
72
72
|
"playwright": "^1.55.1",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"sass": "^1.93.2",
|
|
75
75
|
"source-map-explorer": "^2.5.3",
|
|
76
76
|
"standard-version": "^9.5.0",
|
|
77
|
-
"storybook": "^9.1.
|
|
77
|
+
"storybook": "^9.1.10",
|
|
78
78
|
"typescript": "5.8.2",
|
|
79
|
-
"vite": "^7.1.
|
|
79
|
+
"vite": "^7.1.9",
|
|
80
80
|
"vite-plugin-dts": "^4.5.4",
|
|
81
81
|
"vitest": "^3.2.4",
|
|
82
82
|
"vue": "^3.5.22",
|