@krds.ui/vue 0.0.5 → 0.0.7
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 +761 -582
- 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 +71 -1
- package/package.json +1 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -252,6 +252,7 @@ export declare const KrdsCheckArea: DefineComponent<KrdsCheckAreaProps, {}, {},
|
|
|
252
252
|
export declare interface KrdsCheckAreaProps extends BaseComponentProps {
|
|
253
253
|
/** 추가 클래스 */
|
|
254
254
|
class?: string;
|
|
255
|
+
column?: boolean;
|
|
255
256
|
}
|
|
256
257
|
|
|
257
258
|
export declare const KrdsCheckbox: DefineComponent<KrdsCheckboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsCheckboxProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -261,7 +262,6 @@ export declare const KrdsCheckbox: DefineComponent<KrdsCheckboxProps, {}, {}, {}
|
|
|
261
262
|
*/
|
|
262
263
|
export declare interface KrdsCheckboxEmits {
|
|
263
264
|
(e: 'update:modelValue', value: boolean): void;
|
|
264
|
-
(e: 'change', value: boolean): void;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
/**
|
|
@@ -824,6 +824,64 @@ export declare interface KrdsPaginationProps {
|
|
|
824
824
|
pageRange?: number;
|
|
825
825
|
}
|
|
826
826
|
|
|
827
|
+
export declare const KrdsRadio: DefineComponent<KrdsRadioProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsRadioProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
828
|
+
|
|
829
|
+
/**
|
|
830
|
+
* KRDS Radio 컴포넌트 이벤트
|
|
831
|
+
*/
|
|
832
|
+
export declare interface KrdsRadioEmits {
|
|
833
|
+
(e: 'update:modelValue', value: string | number | boolean): void;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* KRDS Radio 컴포넌트 속성
|
|
838
|
+
*/
|
|
839
|
+
export declare interface KrdsRadioProps extends BaseFormProps {
|
|
840
|
+
/** 모델 값 */
|
|
841
|
+
modelValue?: string | number | boolean;
|
|
842
|
+
/** 라디오 값 */
|
|
843
|
+
value: string | number | boolean;
|
|
844
|
+
/** 비활성화 여부 */
|
|
845
|
+
disabled?: boolean;
|
|
846
|
+
/** 크기 */
|
|
847
|
+
size?: 'medium' | 'large';
|
|
848
|
+
/** Chip 스타일 여부 */
|
|
849
|
+
chip?: boolean;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
export declare const KrdsSelect: DefineComponent<KrdsSelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsSelectProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* KRDS Select 컴포넌트 이벤트
|
|
856
|
+
*/
|
|
857
|
+
export declare interface KrdsSelectEmits {
|
|
858
|
+
(e: 'update:modelValue', value: string | number | null): void;
|
|
859
|
+
(e: 'focus', event: FocusEvent): void;
|
|
860
|
+
(e: 'blur', event: FocusEvent): void;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* KRDS Select 컴포넌트 속성
|
|
865
|
+
*/
|
|
866
|
+
export declare interface KrdsSelectProps extends BaseFormProps {
|
|
867
|
+
/** 선택된 값 */
|
|
868
|
+
modelValue?: string | number | null;
|
|
869
|
+
/** 선택 크기 */
|
|
870
|
+
size?: Size;
|
|
871
|
+
/** 타이틀 */
|
|
872
|
+
title?: string;
|
|
873
|
+
/** 옵션 목록 */
|
|
874
|
+
options?: SelectOption[];
|
|
875
|
+
/** 플레이스홀더 */
|
|
876
|
+
placeholder?: string;
|
|
877
|
+
/** 비활성화 여부 */
|
|
878
|
+
disabled?: boolean;
|
|
879
|
+
/** 입력 상태 */
|
|
880
|
+
state?: 'default' | 'error' | 'success' | 'information';
|
|
881
|
+
/** 정렬 스타일 여부 */
|
|
882
|
+
sort?: boolean;
|
|
883
|
+
}
|
|
884
|
+
|
|
827
885
|
/**
|
|
828
886
|
* KRDS SkipLink 컴포넌트
|
|
829
887
|
*
|
|
@@ -1281,6 +1339,18 @@ export declare type ResponsiveValue<T> = T | {
|
|
|
1281
1339
|
desktop?: T;
|
|
1282
1340
|
};
|
|
1283
1341
|
|
|
1342
|
+
/**
|
|
1343
|
+
* KRDS Select 옵션 타입
|
|
1344
|
+
*/
|
|
1345
|
+
export declare interface SelectOption {
|
|
1346
|
+
/** 옵션 값 */
|
|
1347
|
+
value: string | number;
|
|
1348
|
+
/** 옵션 레이블 */
|
|
1349
|
+
label: string;
|
|
1350
|
+
/** 비활성화 여부 */
|
|
1351
|
+
disabled?: boolean;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1284
1354
|
/**
|
|
1285
1355
|
* 기본 크기 타입 (KRDS 실제 규격)
|
|
1286
1356
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krds.ui/vue",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "KRDS Vue Design System - 한국 정부 디자인 시스템 Vue 컴포넌트 라이브러리",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"krds",
|
|
@@ -48,7 +48,6 @@
|
|
|
48
48
|
"vue": "^3.5.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@chromatic-com/storybook": "^4.1.1",
|
|
52
51
|
"@eslint/js": "^9.35.0",
|
|
53
52
|
"@rushstack/eslint-patch": "^1.12.0",
|
|
54
53
|
"@storybook/addon-a11y": "^9.1.5",
|