@krds.ui/vue 0.0.10 → 0.0.11
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 +943 -870
- 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/style.css +1 -1
- package/dist/types/index.d.ts +43 -0
- package/package.json +22 -23
package/dist/types/index.d.ts
CHANGED
|
@@ -62,6 +62,12 @@ dropdownRef: HTMLDivElement;
|
|
|
62
62
|
buttonRef: HTMLButtonElement;
|
|
63
63
|
}, any>;
|
|
64
64
|
|
|
65
|
+
declare const __VLS_component_6: DefineComponent<KrdsAccordionItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
66
|
+
toggle: (id: string) => any;
|
|
67
|
+
}, string, PublicProps, Readonly<KrdsAccordionItemProps> & Readonly<{
|
|
68
|
+
onToggle?: ((id: string) => any) | undefined;
|
|
69
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
70
|
+
|
|
65
71
|
declare function __VLS_template(): {
|
|
66
72
|
attrs: Partial<{}>;
|
|
67
73
|
slots: {
|
|
@@ -119,6 +125,16 @@ declare function __VLS_template_5(): {
|
|
|
119
125
|
rootEl: any;
|
|
120
126
|
};
|
|
121
127
|
|
|
128
|
+
declare function __VLS_template_6(): {
|
|
129
|
+
attrs: Partial<{}>;
|
|
130
|
+
slots: {
|
|
131
|
+
title?(_: {}): any;
|
|
132
|
+
content?(_: {}): any;
|
|
133
|
+
};
|
|
134
|
+
refs: {};
|
|
135
|
+
rootEl: HTMLDivElement;
|
|
136
|
+
};
|
|
137
|
+
|
|
122
138
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
123
139
|
|
|
124
140
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
@@ -129,6 +145,8 @@ declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
|
129
145
|
|
|
130
146
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
131
147
|
|
|
148
|
+
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
149
|
+
|
|
132
150
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
133
151
|
new (): {
|
|
134
152
|
$slots: S;
|
|
@@ -159,6 +177,12 @@ declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
|
159
177
|
};
|
|
160
178
|
};
|
|
161
179
|
|
|
180
|
+
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
181
|
+
new (): {
|
|
182
|
+
$slots: S;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
|
|
162
186
|
/**
|
|
163
187
|
* 정렬 타입
|
|
164
188
|
*/
|
|
@@ -309,6 +333,25 @@ export declare type InputState = ComponentState | 'error' | 'success';
|
|
|
309
333
|
*/
|
|
310
334
|
export declare type InputType = 'text' | 'password' | 'email' | 'number' | 'tel' | 'url' | 'search';
|
|
311
335
|
|
|
336
|
+
export declare const KrdsAccordionGroup: DefineComponent<KrdsAccordionGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsAccordionGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
337
|
+
|
|
338
|
+
export declare interface KrdsAccordionGroupProps extends BaseComponentProps {
|
|
339
|
+
typeLine?: boolean;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export declare const KrdsAccordionItem: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
343
|
+
|
|
344
|
+
export declare interface KrdsAccordionItemEmits {
|
|
345
|
+
(e: 'toggle', id: string): void;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export declare interface KrdsAccordionItemProps {
|
|
349
|
+
id: string;
|
|
350
|
+
openItem?: string;
|
|
351
|
+
title?: string;
|
|
352
|
+
content?: string;
|
|
353
|
+
}
|
|
354
|
+
|
|
312
355
|
export declare const KrdsBadge: DefineComponent<KrdsBadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsBadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
313
356
|
|
|
314
357
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krds.ui/vue",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"description": "KRDS Vue Design System - 한국 정부 디자인 시스템 Vue 컴포넌트 라이브러리",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"krds",
|
|
@@ -48,40 +48,39 @@
|
|
|
48
48
|
"vue": "^3.5.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@eslint/js": "^9.
|
|
52
|
-
"@
|
|
53
|
-
"@storybook/addon-
|
|
54
|
-
"@storybook/addon-
|
|
55
|
-
"@storybook/
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
58
|
-
"@
|
|
59
|
-
"@typescript-eslint/
|
|
60
|
-
"@
|
|
61
|
-
"@vitejs/plugin-vue": "^6.0.1",
|
|
51
|
+
"@eslint/js": "^9.39.1",
|
|
52
|
+
"@storybook/addon-a11y": "^9.1.16",
|
|
53
|
+
"@storybook/addon-docs": "^9.1.16",
|
|
54
|
+
"@storybook/addon-vitest": "^9.1.16",
|
|
55
|
+
"@storybook/vue3-vite": "^9.1.16",
|
|
56
|
+
"@tsconfig/node20": "^20.1.8",
|
|
57
|
+
"@types/node": "^22.19.0",
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "^8.46.3",
|
|
59
|
+
"@typescript-eslint/parser": "^8.47.0",
|
|
60
|
+
"@vitejs/plugin-vue": "^6.0.2",
|
|
62
61
|
"@vitest/browser": "^3.2.4",
|
|
63
62
|
"@vitest/coverage-v8": "^3.2.4",
|
|
64
63
|
"@vue/eslint-config-prettier": "^10.2.0",
|
|
65
64
|
"@vue/eslint-config-typescript": "^14.6.0",
|
|
66
65
|
"@vue/test-utils": "^2.4.6",
|
|
67
66
|
"@vue/tsconfig": "^0.8.1",
|
|
68
|
-
"eslint": "^9.
|
|
69
|
-
"eslint-plugin-storybook": "^9.1.
|
|
70
|
-
"eslint-plugin-vue": "^10.
|
|
71
|
-
"jsdom": "^27.
|
|
72
|
-
"playwright": "^1.
|
|
67
|
+
"eslint": "^9.39.1",
|
|
68
|
+
"eslint-plugin-storybook": "^9.1.16",
|
|
69
|
+
"eslint-plugin-vue": "^10.6.0",
|
|
70
|
+
"jsdom": "^27.2.0",
|
|
71
|
+
"playwright": "^1.56.1",
|
|
73
72
|
"prettier": "^3.6.2",
|
|
74
|
-
"sass": "^1.
|
|
73
|
+
"sass": "^1.94.2",
|
|
75
74
|
"source-map-explorer": "^2.5.3",
|
|
76
75
|
"standard-version": "^9.5.0",
|
|
77
|
-
"storybook": "^9.1.
|
|
78
|
-
"typescript": "5.
|
|
79
|
-
"vite": "^7.
|
|
76
|
+
"storybook": "^9.1.16",
|
|
77
|
+
"typescript": "5.9.3",
|
|
78
|
+
"vite": "^7.2.4",
|
|
80
79
|
"vite-plugin-dts": "^4.5.4",
|
|
81
80
|
"vitest": "^3.2.4",
|
|
82
|
-
"vue": "^3.5.
|
|
81
|
+
"vue": "^3.5.24",
|
|
83
82
|
"vue-eslint-parser": "^10.2.0",
|
|
84
|
-
"vue-tsc": "^3.1.
|
|
83
|
+
"vue-tsc": "^3.1.5"
|
|
85
84
|
},
|
|
86
85
|
"publishConfig": {
|
|
87
86
|
"access": "public",
|