pds-dev-kit-web 2.2.243 → 2.2.244

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.
@@ -1,17 +1,4 @@
1
- import type { RichEditorConfig } from '../../desktop/panels/LocalizedContentModal/LocalizedContentModal';
1
+ import type { LocalizedContentModalProps } from '../../desktop/panels/LocalizedContentModal/LocalizedContentModal';
2
2
  type LanguageCode = 'en' | 'ko' | 'ja' | 'zh' | 'zh-Hant' | 'fr' | 'de' | 'es' | 'it' | 'pt' | 'ru' | 'vi' | 'th' | 'id' | 'ms' | 'ar' | 'tr' | 'pl' | 'nl' | 'sv' | 'fi' | 'no' | 'da' | 'he' | 'hi' | 'bn' | 'ta' | 'el' | 'cs' | 'ro';
3
- type LocalizedContentConfig = {
4
- size?: 'large' | 'medium' | 'small' | 'rlarge';
5
- textFieldLineType?: 'single' | 'multi' | 'auto' | 'tinyeditor';
6
- originalText?: string;
7
- initialValues?: {
8
- [key in LanguageCode]?: string;
9
- };
10
- visibleLanguages?: LanguageCode[];
11
- readonly?: boolean;
12
- richEditorConfig?: RichEditorConfig;
13
- onApply?: (values: {
14
- [key in LanguageCode]?: string;
15
- }) => void;
16
- };
3
+ type LocalizedContentConfig = Omit<LocalizedContentModalProps, 'isOpen' | 'onClose'>;
17
4
  export type { LanguageCode, LocalizedContentConfig };
@@ -12,7 +12,7 @@ export type ImageConfig = ImageViewProps & {
12
12
  onValid: (file: File) => boolean;
13
13
  onImageUpload: ImageUploadHandler;
14
14
  };
15
- type LocalizedContentModalProps = {
15
+ export type LocalizedContentModalProps = {
16
16
  isOpen: boolean;
17
17
  size?: 'large' | 'medium' | 'small' | 'rlarge';
18
18
  originalFieldType?: 'text' | 'image';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "2.2.243",
3
+ "version": "2.2.244",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v2.2.243]
2
+ ## [v2.2.244]
3
3
  ## daily|https://design.storybook.publ.biz/
4
4
 
5
5
  ### 업데이트 사항
6
6
 
7
- * [HOTFIX][PDS-1370] LocalizedModal언어별로 이미지 업로드 추가
7
+ * [FIX] LocalizedButton typeLocalizedContentModal type 업데이트가 자동 반영되도록 수정