@krds.ui/vue 0.0.13 → 0.0.14
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/README.md +116 -88
- package/dist/krds-vue.es.js +1936 -1839
- package/dist/krds-vue.es.js.map +1 -1
- package/dist/style.css +2 -1
- package/dist/types/index.d.ts +317 -1
- package/package.json +32 -31
- package/dist/krds-vue.umd.js +0 -4
- package/dist/krds-vue.umd.js.map +0 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -183,6 +183,11 @@ declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
|
183
183
|
};
|
|
184
184
|
};
|
|
185
185
|
|
|
186
|
+
/**
|
|
187
|
+
* 알림 타입
|
|
188
|
+
*/
|
|
189
|
+
export declare type AlertType = 'danger' | 'ok' | 'info';
|
|
190
|
+
|
|
186
191
|
/**
|
|
187
192
|
* 정렬 타입
|
|
188
193
|
*/
|
|
@@ -502,6 +507,29 @@ export declare interface KrdsContextualHelpProps {
|
|
|
502
507
|
position?: 'top left' | 'top center' | 'top right' | 'bottom left' | 'bottom center' | 'bottom right';
|
|
503
508
|
}
|
|
504
509
|
|
|
510
|
+
export declare const KrdsCriticalAlerts: DefineComponent<KrdsCriticalAlertsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsCriticalAlertsProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* KRDS Critical Alerts 컴포넌트 이벤트
|
|
514
|
+
*/
|
|
515
|
+
export declare interface KrdsCriticalAlertsEmits {
|
|
516
|
+
(e: 'link-click', event: MouseEvent): void;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* KRDS Critical Alerts 컴포넌트 속성
|
|
521
|
+
*/
|
|
522
|
+
export declare interface KrdsCriticalAlertsProps extends BaseComponentProps {
|
|
523
|
+
/** 알림 타입 */
|
|
524
|
+
type: AlertType;
|
|
525
|
+
/** 알림 메시지 */
|
|
526
|
+
message: string;
|
|
527
|
+
/** 링크 URL */
|
|
528
|
+
linkHref?: string;
|
|
529
|
+
/** 링크 텍스트 */
|
|
530
|
+
linkText?: string;
|
|
531
|
+
}
|
|
532
|
+
|
|
505
533
|
export declare const KrdsDateInput: DefineComponent<KrdsDateInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
506
534
|
focus: (event: FocusEvent) => any;
|
|
507
535
|
input: (event: Event) => any;
|
|
@@ -571,6 +599,25 @@ export declare interface KrdsDateInputProps extends BaseFormProps {
|
|
|
571
599
|
initialMonth?: number;
|
|
572
600
|
}
|
|
573
601
|
|
|
602
|
+
export declare const KrdsDisclosure: DefineComponent<KrdsDisclosureProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsDisclosureProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* KRDS Disclosure 컴포넌트 이벤트
|
|
606
|
+
*/
|
|
607
|
+
export declare interface KrdsDisclosureEmits {
|
|
608
|
+
(e: 'update:modelValue', value: boolean): void;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* KRDS Disclosure 컴포넌트 속성
|
|
613
|
+
*/
|
|
614
|
+
export declare interface KrdsDisclosureProps extends BaseComponentProps {
|
|
615
|
+
/** 디스클로저 제목 */
|
|
616
|
+
title: string;
|
|
617
|
+
/** 확장 상태 (v-model) */
|
|
618
|
+
modelValue?: boolean;
|
|
619
|
+
}
|
|
620
|
+
|
|
574
621
|
export declare const KrdsFileUpload: DefineComponent<ExtractPropTypes< {
|
|
575
622
|
modelValue: {
|
|
576
623
|
type: () => FileInfo[];
|
|
@@ -832,6 +879,16 @@ export declare interface KrdsFileUploadProps extends BaseFormProps {
|
|
|
832
879
|
showClearAll?: boolean;
|
|
833
880
|
}
|
|
834
881
|
|
|
882
|
+
export declare const KrdsFooter: DefineComponent<KrdsFooterProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsFooterProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* KRDS Footer 컴포넌트 속성
|
|
886
|
+
*/
|
|
887
|
+
export declare interface KrdsFooterProps extends BaseComponentProps {
|
|
888
|
+
/** Footer ID */
|
|
889
|
+
id?: string;
|
|
890
|
+
}
|
|
891
|
+
|
|
835
892
|
export declare const KrdsFormGroup: DefineComponent<BaseComponentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BaseComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
836
893
|
|
|
837
894
|
/**
|
|
@@ -873,6 +930,61 @@ export declare interface KrdsFormLabelProps extends BaseComponentProps {
|
|
|
873
930
|
for?: string;
|
|
874
931
|
}
|
|
875
932
|
|
|
933
|
+
export declare const KrdsHeader: DefineComponent<ExtractPropTypes< {
|
|
934
|
+
id: {
|
|
935
|
+
type: StringConstructor;
|
|
936
|
+
default: string;
|
|
937
|
+
};
|
|
938
|
+
mobileNavId: {
|
|
939
|
+
type: StringConstructor;
|
|
940
|
+
default: string;
|
|
941
|
+
};
|
|
942
|
+
class: {
|
|
943
|
+
type: StringConstructor;
|
|
944
|
+
default: undefined;
|
|
945
|
+
};
|
|
946
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
947
|
+
[key: string]: any;
|
|
948
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
949
|
+
id: {
|
|
950
|
+
type: StringConstructor;
|
|
951
|
+
default: string;
|
|
952
|
+
};
|
|
953
|
+
mobileNavId: {
|
|
954
|
+
type: StringConstructor;
|
|
955
|
+
default: string;
|
|
956
|
+
};
|
|
957
|
+
class: {
|
|
958
|
+
type: StringConstructor;
|
|
959
|
+
default: undefined;
|
|
960
|
+
};
|
|
961
|
+
}>> & Readonly<{}>, {
|
|
962
|
+
class: string;
|
|
963
|
+
id: string;
|
|
964
|
+
mobileNavId: string;
|
|
965
|
+
}, SlotsType<{
|
|
966
|
+
/** 유틸리티 메뉴 슬롯 */
|
|
967
|
+
utility?(): VNode[];
|
|
968
|
+
/** 브랜딩 영역 슬롯 (로고, 액션 버튼) */
|
|
969
|
+
branding?(): VNode[];
|
|
970
|
+
/** 데스크탑 네비게이션 메뉴 슬롯 */
|
|
971
|
+
navigation?(): VNode[];
|
|
972
|
+
/** 모바일 네비게이션 메뉴 슬롯 */
|
|
973
|
+
mobileNavigation?(): VNode[];
|
|
974
|
+
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
975
|
+
|
|
976
|
+
/**
|
|
977
|
+
* KRDS Header 컴포넌트 속성
|
|
978
|
+
*/
|
|
979
|
+
export declare interface KrdsHeaderProps {
|
|
980
|
+
/** 헤더 ID */
|
|
981
|
+
id?: string;
|
|
982
|
+
/** 모바일 메뉴 ID */
|
|
983
|
+
mobileNavId?: string;
|
|
984
|
+
/** 추가 CSS 클래스 */
|
|
985
|
+
class?: string;
|
|
986
|
+
}
|
|
987
|
+
|
|
876
988
|
export declare const KrdsIcon: DefineComponent<KrdsIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
877
989
|
|
|
878
990
|
/**
|
|
@@ -883,6 +995,22 @@ export declare interface KrdsIconProps extends BaseComponentProps {
|
|
|
883
995
|
name: string;
|
|
884
996
|
}
|
|
885
997
|
|
|
998
|
+
export declare const KrdsIdentifier: DefineComponent<KrdsIdentifierProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsIdentifierProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* KRDS Identifier 컴포넌트 이벤트
|
|
1002
|
+
*/
|
|
1003
|
+
export declare interface KrdsIdentifierEmits {
|
|
1004
|
+
(e: 'click', event: MouseEvent): void;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
/**
|
|
1008
|
+
* KRDS Identifier 컴포넌트 속성
|
|
1009
|
+
*/
|
|
1010
|
+
export declare interface KrdsIdentifierProps extends BaseComponentProps {
|
|
1011
|
+
logoLabel?: string;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
886
1014
|
export declare const KrdsInPageNavigation: DefineComponent<KrdsInPageNavigationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsInPageNavigationProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
887
1015
|
|
|
888
1016
|
/**
|
|
@@ -970,6 +1098,27 @@ export declare interface KrdsLanguageSwitcherProps extends BaseComponentProps {
|
|
|
970
1098
|
dropPosition?: DropdownPosition;
|
|
971
1099
|
}
|
|
972
1100
|
|
|
1101
|
+
export declare const KrdsLayout: DefineComponent<KrdsLayoutProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsLayoutProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1102
|
+
|
|
1103
|
+
/**
|
|
1104
|
+
* KRDS Layout 컴포넌트 이벤트
|
|
1105
|
+
*/
|
|
1106
|
+
export declare interface KrdsLayoutEmits {
|
|
1107
|
+
resize: [size: LayoutSize];
|
|
1108
|
+
scroll: [details: ScrollDetails];
|
|
1109
|
+
'scroll-height': [height: number];
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
/**
|
|
1113
|
+
* KRDS Layout 컴포넌트 속성
|
|
1114
|
+
*/
|
|
1115
|
+
export declare interface KrdsLayoutProps extends BaseComponentProps {
|
|
1116
|
+
/** 레이아웃 ID */
|
|
1117
|
+
id?: string;
|
|
1118
|
+
/** 스크롤 감지 활성화 여부 */
|
|
1119
|
+
enableScrollDetection?: boolean;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
973
1122
|
export declare const KrdsLink: DefineComponent<KrdsLinkProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsLinkProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
974
1123
|
|
|
975
1124
|
/**
|
|
@@ -1217,6 +1366,37 @@ export declare interface KrdsSelectProps extends BaseFormProps {
|
|
|
1217
1366
|
sort?: boolean;
|
|
1218
1367
|
}
|
|
1219
1368
|
|
|
1369
|
+
export declare const KrdsSideNavigation: DefineComponent< {
|
|
1370
|
+
title: string;
|
|
1371
|
+
modelValue?: SideNavItem[] | undefined;
|
|
1372
|
+
}, () => VNode<RendererNode, RendererElement, {
|
|
1373
|
+
[key: string]: any;
|
|
1374
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<{
|
|
1375
|
+
title: string;
|
|
1376
|
+
modelValue?: SideNavItem[] | undefined;
|
|
1377
|
+
}> & Readonly<{
|
|
1378
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1379
|
+
}>, {
|
|
1380
|
+
modelValue: SideNavItem[];
|
|
1381
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* KRDS SideNavigation 컴포넌트 이벤트
|
|
1385
|
+
*/
|
|
1386
|
+
export declare interface KrdsSideNavigationEmits {
|
|
1387
|
+
(event: 'update:modelValue', value: SideNavItem[]): void;
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
/**
|
|
1391
|
+
* KRDS SideNavigation 컴포넌트 속성
|
|
1392
|
+
*/
|
|
1393
|
+
export declare interface KrdsSideNavigationProps {
|
|
1394
|
+
/** 네비게이션 제목 */
|
|
1395
|
+
title: string;
|
|
1396
|
+
/** 메뉴 아이템 배열 */
|
|
1397
|
+
modelValue?: SideNavItem[];
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1220
1400
|
/**
|
|
1221
1401
|
* KRDS SkipLink 컴포넌트
|
|
1222
1402
|
*
|
|
@@ -1344,6 +1524,37 @@ export declare interface KrdsStepProps extends BaseComponentProps {
|
|
|
1344
1524
|
status?: 'done' | 'active' | 'pending';
|
|
1345
1525
|
}
|
|
1346
1526
|
|
|
1527
|
+
export declare const KrdsStructuredList: DefineComponent<KrdsStructuredListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsStructuredListProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1528
|
+
|
|
1529
|
+
/**
|
|
1530
|
+
* KRDS StructuredList 컴포넌트 속성
|
|
1531
|
+
*/
|
|
1532
|
+
export declare interface KrdsStructuredListProps extends BaseComponentProps {
|
|
1533
|
+
/** 전체 타입 여부 */
|
|
1534
|
+
full?: boolean;
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
export declare const KrdsTable: DefineComponent<KrdsTableProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsTableProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1538
|
+
|
|
1539
|
+
/**
|
|
1540
|
+
* KRDS Table 컴포넌트 이벤트
|
|
1541
|
+
*/
|
|
1542
|
+
export declare interface KrdsTableEmits {
|
|
1543
|
+
(e: 'row-click', row: TableRow, index: number): void;
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* KRDS Table 컴포넌트 속성
|
|
1548
|
+
*/
|
|
1549
|
+
export declare interface KrdsTableProps extends BaseComponentProps {
|
|
1550
|
+
/** 테이블 캡션 */
|
|
1551
|
+
caption?: string;
|
|
1552
|
+
/** 테이블 열 정의 */
|
|
1553
|
+
columns: TableColumn[];
|
|
1554
|
+
/** 테이블 행 데이터 */
|
|
1555
|
+
rows: TableRow[];
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1347
1558
|
export declare const KrdsTag: DefineComponent<KrdsTagProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsTagProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1348
1559
|
|
|
1349
1560
|
/**
|
|
@@ -1591,6 +1802,18 @@ export declare interface KrdsTextareaProps extends BaseFormProps {
|
|
|
1591
1802
|
resize?: 'none' | 'both' | 'horizontal' | 'vertical';
|
|
1592
1803
|
}
|
|
1593
1804
|
|
|
1805
|
+
export declare const KrdsTextList: DefineComponent<KrdsTextListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsTextListProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1806
|
+
|
|
1807
|
+
/**
|
|
1808
|
+
* KRDS TextList 컴포넌트 속성
|
|
1809
|
+
*/
|
|
1810
|
+
export declare interface KrdsTextListProps extends BaseComponentProps {
|
|
1811
|
+
/** 리스트 타입 */
|
|
1812
|
+
type?: 'ul' | 'ol';
|
|
1813
|
+
/** 스타일 변형 */
|
|
1814
|
+
variant?: 'decimal' | 'dash' | 'hollow' | 'ordered';
|
|
1815
|
+
}
|
|
1816
|
+
|
|
1594
1817
|
export declare const KrdsToggleSwitch: DefineComponent<KrdsToggleSwitchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsToggleSwitchProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1595
1818
|
|
|
1596
1819
|
/**
|
|
@@ -1673,6 +1896,14 @@ declare type LanguageData = {
|
|
|
1673
1896
|
url?: string;
|
|
1674
1897
|
};
|
|
1675
1898
|
|
|
1899
|
+
/**
|
|
1900
|
+
* 레이아웃 크기 정보
|
|
1901
|
+
*/
|
|
1902
|
+
export declare interface LayoutSize {
|
|
1903
|
+
width: number;
|
|
1904
|
+
height: number;
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1676
1907
|
/**
|
|
1677
1908
|
* 로딩 상태 속성
|
|
1678
1909
|
*/
|
|
@@ -1718,6 +1949,16 @@ export declare type ResponsiveValue<T> = T | {
|
|
|
1718
1949
|
desktop?: T;
|
|
1719
1950
|
};
|
|
1720
1951
|
|
|
1952
|
+
/**
|
|
1953
|
+
* 스크롤 상세 정보
|
|
1954
|
+
*/
|
|
1955
|
+
export declare interface ScrollDetails {
|
|
1956
|
+
scrollY: number;
|
|
1957
|
+
scrollHeight: number;
|
|
1958
|
+
direction: 'up' | 'down' | null;
|
|
1959
|
+
timestamp: number;
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1721
1962
|
/**
|
|
1722
1963
|
* KRDS Select 옵션 타입
|
|
1723
1964
|
*/
|
|
@@ -1730,6 +1971,52 @@ export declare interface SelectOption {
|
|
|
1730
1971
|
disabled?: boolean;
|
|
1731
1972
|
}
|
|
1732
1973
|
|
|
1974
|
+
/**
|
|
1975
|
+
* 사이드 네비게이션 아이템 인터페이스
|
|
1976
|
+
*/
|
|
1977
|
+
export declare interface SideNavItem {
|
|
1978
|
+
/** 텍스트 */
|
|
1979
|
+
text: string;
|
|
1980
|
+
/** 링크 URL */
|
|
1981
|
+
href?: string;
|
|
1982
|
+
/** 확장 상태 */
|
|
1983
|
+
expanded?: boolean;
|
|
1984
|
+
/** 하위 아이템 */
|
|
1985
|
+
subItems?: SideNavSubItem[];
|
|
1986
|
+
/** 클릭 핸들러 */
|
|
1987
|
+
onClick?: (event: MouseEvent) => void;
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
/**
|
|
1991
|
+
* 사이드 네비게이션 팝업 아이템 인터페이스 (4depth)
|
|
1992
|
+
*/
|
|
1993
|
+
export declare interface SideNavPopupItem {
|
|
1994
|
+
/** 텍스트 */
|
|
1995
|
+
text: string;
|
|
1996
|
+
/** 링크 URL */
|
|
1997
|
+
href?: string;
|
|
1998
|
+
/** 클릭 핸들러 */
|
|
1999
|
+
onClick?: (event: MouseEvent) => void;
|
|
2000
|
+
}
|
|
2001
|
+
|
|
2002
|
+
/**
|
|
2003
|
+
* 사이드 네비게이션 하위 아이템 인터페이스
|
|
2004
|
+
*/
|
|
2005
|
+
export declare interface SideNavSubItem {
|
|
2006
|
+
/** 텍스트 */
|
|
2007
|
+
text: string;
|
|
2008
|
+
/** 링크 URL */
|
|
2009
|
+
href?: string;
|
|
2010
|
+
/** 확장 상태 (3depth popup용) */
|
|
2011
|
+
expanded?: boolean;
|
|
2012
|
+
/** 팝업 제목 (3depth popup용) */
|
|
2013
|
+
popupTitle?: string;
|
|
2014
|
+
/** 하위 아이템 (4depth용) */
|
|
2015
|
+
subItems?: SideNavPopupItem[];
|
|
2016
|
+
/** 클릭 핸들러 */
|
|
2017
|
+
onClick?: (event: MouseEvent) => void;
|
|
2018
|
+
}
|
|
2019
|
+
|
|
1733
2020
|
/**
|
|
1734
2021
|
* 기본 크기 타입 (KRDS 실제 규격)
|
|
1735
2022
|
*/
|
|
@@ -1741,6 +2028,35 @@ declare type StepsData = {
|
|
|
1741
2028
|
description: string;
|
|
1742
2029
|
};
|
|
1743
2030
|
|
|
2031
|
+
/**
|
|
2032
|
+
* 테이블 열 정의
|
|
2033
|
+
*/
|
|
2034
|
+
export declare interface TableColumn {
|
|
2035
|
+
/** 고유 ID - 컬럼 식별자 */
|
|
2036
|
+
name: string;
|
|
2037
|
+
/** 헤더 라벨 */
|
|
2038
|
+
label: string;
|
|
2039
|
+
/** 행 객체 속성명 또는 함수 */
|
|
2040
|
+
field: string | ((row: TableRow) => unknown);
|
|
2041
|
+
/** 필수 컬럼 여부 (visible-columns 사용시 항상 표시) */
|
|
2042
|
+
required?: boolean;
|
|
2043
|
+
/** 정렬 */
|
|
2044
|
+
align?: 'left' | 'center' | 'right';
|
|
2045
|
+
/** body td 스타일 */
|
|
2046
|
+
style?: string | ((row: TableRow) => string);
|
|
2047
|
+
/** body td 클래스 */
|
|
2048
|
+
classes?: string | ((row: TableRow) => string);
|
|
2049
|
+
/** header th 스타일 */
|
|
2050
|
+
headerStyle?: string;
|
|
2051
|
+
/** header th 클래스 */
|
|
2052
|
+
headerClasses?: string;
|
|
2053
|
+
}
|
|
2054
|
+
|
|
2055
|
+
/**
|
|
2056
|
+
* 테이블 행 데이터
|
|
2057
|
+
*/
|
|
2058
|
+
export declare type TableRow = Record<string, unknown>;
|
|
2059
|
+
|
|
1744
2060
|
declare type TooltipType = 'default' | 'icon' | 'button';
|
|
1745
2061
|
|
|
1746
2062
|
/**
|
|
@@ -1758,6 +2074,6 @@ export declare type TtsSize = 'xsmall' | 'small' | 'medium';
|
|
|
1758
2074
|
*/
|
|
1759
2075
|
export declare type Variant = 'primary' | 'secondary' | 'tertiary';
|
|
1760
2076
|
|
|
1761
|
-
export declare const version
|
|
2077
|
+
export declare const version: string;
|
|
1762
2078
|
|
|
1763
2079
|
export { }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krds.ui/vue",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"description": "KRDS Vue Design System - 한국 정부 디자인 시스템 Vue 컴포넌트 라이브러리",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"krds",
|
|
@@ -24,23 +24,20 @@
|
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"author": "Initializer Team",
|
|
26
26
|
"type": "module",
|
|
27
|
-
"main": "./dist/krds-vue.
|
|
27
|
+
"main": "./dist/krds-vue.es.js",
|
|
28
28
|
"module": "./dist/krds-vue.es.js",
|
|
29
29
|
"types": "./dist/types/index.d.ts",
|
|
30
30
|
"exports": {
|
|
31
31
|
".": {
|
|
32
32
|
"types": "./dist/types/index.d.ts",
|
|
33
|
-
"import": "./dist/krds-vue.es.js"
|
|
34
|
-
"require": "./dist/krds-vue.umd.js"
|
|
33
|
+
"import": "./dist/krds-vue.es.js"
|
|
35
34
|
},
|
|
36
35
|
"./dist/style.css": "./dist/style.css",
|
|
37
|
-
"./style": "./dist/style.css"
|
|
38
|
-
"./styles/*": "./dist/styles/*",
|
|
39
|
-
"./styles": {
|
|
40
|
-
"types": "./dist/types/styles/index.d.ts",
|
|
41
|
-
"import": "./dist/styles/index.js"
|
|
42
|
-
}
|
|
36
|
+
"./style": "./dist/style.css"
|
|
43
37
|
},
|
|
38
|
+
"sideEffects": [
|
|
39
|
+
"**/*.css"
|
|
40
|
+
],
|
|
44
41
|
"files": [
|
|
45
42
|
"dist"
|
|
46
43
|
],
|
|
@@ -49,36 +46,40 @@
|
|
|
49
46
|
},
|
|
50
47
|
"devDependencies": {
|
|
51
48
|
"@eslint/js": "^10.0.1",
|
|
52
|
-
"@
|
|
53
|
-
"@storybook/addon-
|
|
54
|
-
"@storybook/
|
|
55
|
-
"@
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
58
|
-
"@
|
|
59
|
-
"@
|
|
60
|
-
"@
|
|
49
|
+
"@microsoft/api-extractor": "^7.58.1",
|
|
50
|
+
"@storybook/addon-a11y": "^10.3.4",
|
|
51
|
+
"@storybook/addon-docs": "^10.3.4",
|
|
52
|
+
"@storybook/addon-vitest": "^10.3.4",
|
|
53
|
+
"@storybook/vue3-vite": "^10.3.4",
|
|
54
|
+
"@tsconfig/node20": "^20.1.9",
|
|
55
|
+
"@types/node": "^25.5.2",
|
|
56
|
+
"@typescript-eslint/eslint-plugin": "^8.58.0",
|
|
57
|
+
"@typescript-eslint/parser": "^8.58.0",
|
|
58
|
+
"@vitejs/plugin-vue": "^6.0.5",
|
|
59
|
+
"@vitest/browser": "^4.1.8",
|
|
60
|
+
"@vitest/browser-playwright": "^4.1.8",
|
|
61
|
+
"@vitest/coverage-v8": "^4.1.8",
|
|
61
62
|
"@vue/eslint-config-prettier": "^10.2.0",
|
|
62
63
|
"@vue/eslint-config-typescript": "^14.7.0",
|
|
63
64
|
"@vue/test-utils": "^2.4.6",
|
|
64
|
-
"@vue/tsconfig": "^0.
|
|
65
|
-
"eslint": "^10.0
|
|
66
|
-
"eslint-plugin-storybook": "^10.
|
|
65
|
+
"@vue/tsconfig": "^0.9.1",
|
|
66
|
+
"eslint": "^10.2.0",
|
|
67
|
+
"eslint-plugin-storybook": "^10.3.4",
|
|
67
68
|
"eslint-plugin-vue": "^10.8.0",
|
|
68
|
-
"jsdom": "^
|
|
69
|
-
"playwright": "^1.
|
|
69
|
+
"jsdom": "^29.0.1",
|
|
70
|
+
"playwright": "^1.59.1",
|
|
70
71
|
"prettier": "^3.8.1",
|
|
71
|
-
"sass": "^1.
|
|
72
|
+
"sass": "^1.99.0",
|
|
72
73
|
"source-map-explorer": "^2.5.3",
|
|
73
74
|
"standard-version": "^9.5.0",
|
|
74
|
-
"storybook": "^10.
|
|
75
|
+
"storybook": "^10.3.4",
|
|
75
76
|
"typescript": "5.9.3",
|
|
76
|
-
"vite": "^
|
|
77
|
+
"vite": "^8.0.16",
|
|
77
78
|
"vite-plugin-dts": "^4.5.4",
|
|
78
|
-
"vitest": "^4.
|
|
79
|
-
"vue": "^3.5.
|
|
79
|
+
"vitest": "^4.1.8",
|
|
80
|
+
"vue": "^3.5.32",
|
|
80
81
|
"vue-eslint-parser": "^10.4.0",
|
|
81
|
-
"vue-tsc": "^3.2.
|
|
82
|
+
"vue-tsc": "^3.2.6"
|
|
82
83
|
},
|
|
83
84
|
"publishConfig": {
|
|
84
85
|
"access": "public",
|
|
@@ -99,7 +100,7 @@
|
|
|
99
100
|
"lint": "eslint . --fix",
|
|
100
101
|
"format": "prettier --write src/",
|
|
101
102
|
"storybook": "storybook dev -p 6006",
|
|
102
|
-
"build-storybook": "storybook build",
|
|
103
|
+
"build-storybook": "storybook build && node scripts/storybook-seo.mjs",
|
|
103
104
|
"bundle-size": "vite build && echo 'Bundle size check removed due to bundlewatch security vulnerability'",
|
|
104
105
|
"release": "standard-version",
|
|
105
106
|
"release:minor": "standard-version --release-as minor",
|