@krds.ui/vue 0.0.12 → 0.0.13
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/img/component/icon/ico_play.svg +3 -0
- package/dist/img/component/icon/ico_stop.svg +3 -0
- package/dist/img/component/icon/ico_volume.svg +3 -0
- package/dist/krds-vue.es.js +1328 -1074
- package/dist/krds-vue.es.js.map +1 -1
- package/dist/krds-vue.umd.js +3 -1
- package/dist/krds-vue.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +41 -1
- package/package.json +23 -23
package/dist/types/index.d.ts
CHANGED
|
@@ -656,7 +656,9 @@ id: {
|
|
|
656
656
|
type: StringConstructor;
|
|
657
657
|
default: undefined;
|
|
658
658
|
};
|
|
659
|
-
}>, () =>
|
|
659
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
660
|
+
[key: string]: any;
|
|
661
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "file-added" | "file-removed" | "file-error" | "upload-start" | "upload-progress" | "upload-complete" | "upload-error" | "clear-all" | "download" | "preview")[], "update:modelValue" | "file-added" | "file-removed" | "file-error" | "upload-start" | "upload-progress" | "upload-complete" | "upload-error" | "clear-all" | "download" | "preview", PublicProps, Readonly<ExtractPropTypes< {
|
|
660
662
|
modelValue: {
|
|
661
663
|
type: () => FileInfo[];
|
|
662
664
|
default: () => never[];
|
|
@@ -1623,6 +1625,34 @@ export declare interface KrdsTooltipProps extends BaseComponentProps {
|
|
|
1623
1625
|
disabled?: boolean;
|
|
1624
1626
|
}
|
|
1625
1627
|
|
|
1628
|
+
export declare const KrdsTts: DefineComponent<KrdsTtsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsTtsProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1629
|
+
|
|
1630
|
+
/**
|
|
1631
|
+
* KRDS TTS 컴포넌트 이벤트
|
|
1632
|
+
*/
|
|
1633
|
+
export declare interface KrdsTtsEmits {
|
|
1634
|
+
(e: 'play', text: string): void;
|
|
1635
|
+
(e: 'pause'): void;
|
|
1636
|
+
(e: 'end'): void;
|
|
1637
|
+
(e: 'error', error: Error): void;
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1640
|
+
/**
|
|
1641
|
+
* KRDS TTS 컴포넌트 속성
|
|
1642
|
+
*/
|
|
1643
|
+
export declare interface KrdsTtsProps extends BaseComponentProps {
|
|
1644
|
+
/** 읽어줄 텍스트 */
|
|
1645
|
+
text: string;
|
|
1646
|
+
/** 레이블 텍스트 (미지정 시 아이콘만 표시) */
|
|
1647
|
+
label?: string;
|
|
1648
|
+
/** 버튼 크기 */
|
|
1649
|
+
size?: TtsSize;
|
|
1650
|
+
/** 아이콘 타입 */
|
|
1651
|
+
icon?: TtsIcon;
|
|
1652
|
+
/** 비활성화 여부 */
|
|
1653
|
+
disabled?: boolean;
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1626
1656
|
/**
|
|
1627
1657
|
* KRDS Vue 플러그인
|
|
1628
1658
|
*/
|
|
@@ -1713,6 +1743,16 @@ declare type StepsData = {
|
|
|
1713
1743
|
|
|
1714
1744
|
declare type TooltipType = 'default' | 'icon' | 'button';
|
|
1715
1745
|
|
|
1746
|
+
/**
|
|
1747
|
+
* TTS 아이콘 타입
|
|
1748
|
+
*/
|
|
1749
|
+
export declare type TtsIcon = 'volume' | 'play';
|
|
1750
|
+
|
|
1751
|
+
/**
|
|
1752
|
+
* TTS 사이즈 타입
|
|
1753
|
+
*/
|
|
1754
|
+
export declare type TtsSize = 'xsmall' | 'small' | 'medium';
|
|
1755
|
+
|
|
1716
1756
|
/**
|
|
1717
1757
|
* 버튼 변형 타입
|
|
1718
1758
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krds.ui/vue",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"description": "KRDS Vue Design System - 한국 정부 디자인 시스템 Vue 컴포넌트 라이브러리",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"krds",
|
|
@@ -48,37 +48,37 @@
|
|
|
48
48
|
"vue": "^3.5.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@eslint/js": "^
|
|
52
|
-
"@storybook/addon-a11y": "^10.
|
|
53
|
-
"@storybook/addon-docs": "^10.
|
|
54
|
-
"@storybook/vue3-vite": "^10.
|
|
51
|
+
"@eslint/js": "^10.0.1",
|
|
52
|
+
"@storybook/addon-a11y": "^10.2.10",
|
|
53
|
+
"@storybook/addon-docs": "^10.2.10",
|
|
54
|
+
"@storybook/vue3-vite": "^10.2.10",
|
|
55
55
|
"@tsconfig/node20": "^20.1.8",
|
|
56
|
-
"@types/node": "^25.0
|
|
57
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
58
|
-
"@typescript-eslint/parser": "^8.
|
|
56
|
+
"@types/node": "^25.3.0",
|
|
57
|
+
"@typescript-eslint/eslint-plugin": "^8.56.0",
|
|
58
|
+
"@typescript-eslint/parser": "^8.56.0",
|
|
59
59
|
"@vitejs/plugin-vue": "^6.0.3",
|
|
60
|
-
"@vitest/coverage-v8": "^4.0.
|
|
60
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
61
61
|
"@vue/eslint-config-prettier": "^10.2.0",
|
|
62
|
-
"@vue/eslint-config-typescript": "^14.
|
|
62
|
+
"@vue/eslint-config-typescript": "^14.7.0",
|
|
63
63
|
"@vue/test-utils": "^2.4.6",
|
|
64
64
|
"@vue/tsconfig": "^0.8.1",
|
|
65
|
-
"eslint": "^
|
|
66
|
-
"eslint-plugin-storybook": "^10.
|
|
67
|
-
"eslint-plugin-vue": "^10.
|
|
68
|
-
"jsdom": "^27.
|
|
69
|
-
"playwright": "^1.
|
|
70
|
-
"prettier": "^3.
|
|
71
|
-
"sass": "^1.97.
|
|
65
|
+
"eslint": "^10.0.1",
|
|
66
|
+
"eslint-plugin-storybook": "^10.2.10",
|
|
67
|
+
"eslint-plugin-vue": "^10.8.0",
|
|
68
|
+
"jsdom": "^27.4.0",
|
|
69
|
+
"playwright": "^1.58.2",
|
|
70
|
+
"prettier": "^3.8.1",
|
|
71
|
+
"sass": "^1.97.3",
|
|
72
72
|
"source-map-explorer": "^2.5.3",
|
|
73
73
|
"standard-version": "^9.5.0",
|
|
74
|
-
"storybook": "^10.
|
|
74
|
+
"storybook": "^10.2.10",
|
|
75
75
|
"typescript": "5.9.3",
|
|
76
|
-
"vite": "^7.3.
|
|
76
|
+
"vite": "^7.3.1",
|
|
77
77
|
"vite-plugin-dts": "^4.5.4",
|
|
78
|
-
"vitest": "^4.0.
|
|
79
|
-
"vue": "^3.5.
|
|
80
|
-
"vue-eslint-parser": "^10.
|
|
81
|
-
"vue-tsc": "^3.
|
|
78
|
+
"vitest": "^4.0.18",
|
|
79
|
+
"vue": "^3.5.28",
|
|
80
|
+
"vue-eslint-parser": "^10.4.0",
|
|
81
|
+
"vue-tsc": "^3.2.5"
|
|
82
82
|
},
|
|
83
83
|
"publishConfig": {
|
|
84
84
|
"access": "public",
|