pds-dev-kit-web 0.4.2 → 0.5.3
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/.vscode/settings.json +49 -0
- package/README.md +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/index.js +46 -3
- package/dist/src/common/assets/icons/line/PostWelcome.d.ts +4 -0
- package/dist/src/common/assets/icons/line/PostWelcome.js +37 -0
- package/dist/src/common/assets/icons/line/TenSecBack.d.ts +4 -0
- package/dist/src/common/assets/icons/line/TenSecBack.js +34 -0
- package/dist/src/common/assets/icons/line/TenSecBackArrow.d.ts +4 -0
- package/dist/src/common/assets/icons/line/TenSecBackArrow.js +34 -0
- package/dist/src/common/assets/icons/line/TenSecForward.d.ts +4 -0
- package/dist/src/common/assets/icons/line/TenSecForward.js +34 -0
- package/dist/src/common/assets/icons/line/TenSecForwardArrow.d.ts +4 -0
- package/dist/src/common/assets/icons/line/TenSecForwardArrow.js +34 -0
- package/dist/src/common/assets/icons/line/index.d.ts +5 -0
- package/dist/src/common/assets/icons/line/index.js +10 -0
- package/dist/src/common/components/Form/Form.d.ts +16 -0
- package/dist/src/common/components/Form/Form.js +40 -0
- package/dist/src/common/components/Form/index.d.ts +1 -0
- package/dist/src/common/components/Form/index.js +8 -0
- package/dist/src/common/components/index.d.ts +2 -0
- package/dist/src/common/components/index.js +5 -0
- package/dist/src/common/decorators/withFormProvider.d.ts +4 -0
- package/dist/src/common/decorators/withFormProvider.js +28 -0
- package/dist/src/common/index.d.ts +7 -3
- package/dist/src/common/index.js +4 -3
- package/dist/src/common/services/i18n/resources/en.json +2794 -2569
- package/dist/src/common/services/i18n/resources/es.json +280 -55
- package/dist/src/common/services/i18n/resources/index.d.ts +936 -36
- package/dist/src/common/services/i18n/resources/jp.json +280 -55
- package/dist/src/common/services/i18n/resources/ko.json +277 -52
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +10 -7
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +4 -1
- package/dist/src/common/styles/colorSet/UIColor.json +11 -3
- package/dist/src/common/styles/colorSet/index.d.ts +70 -56
- package/dist/src/common/styles/colorSet/index.js +2 -2
- package/dist/src/common/styles/colorSet/ui-type.d.ts +9 -1
- package/dist/src/common/styles/index.d.ts +2 -0
- package/dist/src/common/styles/theme.d.ts +2 -0
- package/dist/src/common/styles/theme.js +4 -2
- package/dist/src/common/styles/ui-colors.d.ts +0 -2
- package/dist/src/common/styles/ui-colors.js +3 -21
- package/dist/src/common/types/form.d.ts +3 -0
- package/dist/src/common/types/form.js +2 -0
- package/dist/src/common/types/icon.d.ts +4 -0
- package/dist/src/common/types/icon.js +2 -0
- package/dist/src/common/types/styled-components.d.ts +2 -0
- package/dist/src/common/types/uiColors.d.ts +2 -0
- package/dist/src/common/types/uiColors.js +2 -0
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.d.ts +45 -0
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +265 -0
- package/dist/src/desktop/common/components/TextFieldBase/index.d.ts +1 -0
- package/dist/src/desktop/common/components/TextFieldBase/index.js +8 -0
- package/dist/src/desktop/common/components/index.d.ts +2 -0
- package/dist/src/desktop/common/components/index.js +5 -0
- package/dist/src/desktop/components/Card/Card.d.ts +11 -0
- package/dist/src/desktop/components/Card/Card.js +50 -0
- package/dist/src/desktop/components/Card/index.d.ts +1 -0
- package/dist/src/desktop/components/Card/index.js +8 -0
- package/dist/src/desktop/components/CardList/CardList.d.ts +10 -0
- package/dist/src/desktop/components/CardList/CardList.js +30 -0
- package/dist/src/desktop/components/CardList/index.d.ts +1 -0
- package/dist/src/desktop/components/CardList/index.js +8 -0
- package/dist/src/desktop/components/Checkbox/Checkbox.d.ts +11 -0
- package/dist/src/desktop/components/Checkbox/Checkbox.js +65 -0
- package/dist/src/desktop/components/Checkbox/index.d.ts +1 -0
- package/dist/src/desktop/components/Checkbox/index.js +8 -0
- package/dist/src/desktop/components/Chip/Chip.d.ts +19 -0
- package/dist/src/desktop/components/Chip/Chip.js +131 -0
- package/dist/src/desktop/components/Chip/index.d.ts +1 -0
- package/dist/src/desktop/components/Chip/index.js +8 -0
- package/dist/src/desktop/components/ContextMenu/ContextMenu.d.ts +7 -0
- package/dist/src/desktop/components/ContextMenu/ContextMenu.js +33 -0
- package/dist/src/desktop/components/ContextMenu/index.d.ts +1 -0
- package/dist/src/desktop/components/ContextMenu/index.js +8 -0
- package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.d.ts +10 -0
- package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.js +65 -0
- package/dist/src/desktop/components/ContextMenuItem/index.d.ts +1 -0
- package/dist/src/desktop/components/ContextMenuItem/index.js +8 -0
- package/dist/src/desktop/components/DesktopHeaderBar/DesktopHeaderBar.d.ts +39 -0
- package/dist/src/desktop/components/DesktopHeaderBar/DesktopHeaderBar.js +81 -0
- package/dist/src/desktop/components/DesktopHeaderBar/index.d.ts +1 -0
- package/dist/src/desktop/components/DesktopHeaderBar/index.js +8 -0
- package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.d.ts +15 -0
- package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.js +125 -0
- package/dist/src/desktop/components/DesktopTabBar/index.d.ts +1 -0
- package/dist/src/desktop/components/DesktopTabBar/index.js +8 -0
- package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.d.ts +32 -0
- package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.js +238 -0
- package/dist/src/desktop/components/EditApplyTextField/index.d.ts +1 -0
- package/dist/src/desktop/components/EditApplyTextField/index.js +8 -0
- package/dist/src/desktop/components/FilterBar/FilterBar.d.ts +19 -0
- package/dist/src/desktop/components/FilterBar/FilterBar.js +53 -0
- package/dist/src/desktop/components/FilterBar/index.d.ts +1 -0
- package/dist/src/desktop/components/FilterBar/index.js +8 -0
- package/dist/src/desktop/components/FloatingActionButton/FloatingActionButton.d.ts +19 -0
- package/dist/src/desktop/components/FloatingActionButton/FloatingActionButton.js +96 -0
- package/dist/src/desktop/components/FloatingActionButton/index.d.ts +1 -0
- package/dist/src/desktop/components/FloatingActionButton/index.js +8 -0
- package/dist/src/desktop/components/Hero/Hero.js +0 -5
- package/dist/src/desktop/components/IconButton/IconButton.js +3 -4
- package/dist/src/desktop/components/ImageSlide/ImageSlide.d.ts +13 -0
- package/dist/src/desktop/components/ImageSlide/ImageSlide.js +97 -0
- package/dist/src/desktop/components/ImageSlide/index.d.ts +1 -0
- package/dist/src/desktop/components/ImageSlide/index.js +8 -0
- package/dist/src/desktop/components/MainButton/MainButton.d.ts +21 -0
- package/dist/src/desktop/components/MainButton/MainButton.js +190 -0
- package/dist/src/desktop/components/MainButton/index.d.ts +1 -0
- package/dist/src/desktop/components/MainButton/index.js +8 -0
- package/dist/src/desktop/components/Radio/Radio.d.ts +12 -0
- package/dist/src/desktop/components/Radio/Radio.js +45 -0
- package/dist/src/desktop/components/Radio/index.d.ts +1 -0
- package/dist/src/desktop/components/Radio/index.js +8 -0
- package/dist/src/desktop/components/ReactionButton/ReactionButton.d.ts +11 -0
- package/dist/src/desktop/components/ReactionButton/ReactionButton.js +108 -0
- package/dist/src/desktop/components/ReactionButton/index.d.ts +1 -0
- package/dist/src/desktop/components/ReactionButton/index.js +8 -0
- package/dist/src/desktop/components/Select/Select.d.ts +16 -0
- package/dist/src/desktop/components/Select/Select.js +136 -0
- package/dist/src/desktop/components/Select/index.d.ts +1 -0
- package/dist/src/desktop/components/Select/index.js +8 -0
- package/dist/src/desktop/components/StatusBlock/StatusBlock.js +1 -3
- package/dist/src/desktop/components/TextButton/TextButton.d.ts +11 -0
- package/dist/src/desktop/components/TextButton/TextButton.js +103 -0
- package/dist/src/desktop/components/TextButton/index.d.ts +1 -0
- package/dist/src/desktop/components/TextButton/index.js +8 -0
- package/dist/src/desktop/components/TextField/TextField.d.ts +42 -0
- package/dist/src/desktop/components/TextField/TextField.js +252 -0
- package/dist/src/desktop/components/TextField/index.d.ts +1 -0
- package/dist/src/desktop/components/TextField/index.js +8 -0
- package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +3 -1
- package/dist/src/desktop/components/TextLabel/TextLabel.js +7 -4
- package/dist/src/desktop/components/UploadIconButton/UploadIconButton.d.ts +21 -0
- package/dist/src/desktop/components/UploadIconButton/UploadIconButton.js +149 -0
- package/dist/src/desktop/components/UploadIconButton/index.d.ts +1 -0
- package/dist/src/desktop/components/UploadIconButton/index.js +8 -0
- package/dist/src/desktop/components/UploadIconButton/types.d.ts +8 -0
- package/dist/src/desktop/components/UploadIconButton/types.js +11 -0
- package/dist/src/desktop/components/UploadMainButton/UploadMainButton.d.ts +18 -0
- package/dist/src/desktop/components/UploadMainButton/UploadMainButton.js +173 -0
- package/dist/src/desktop/components/UploadMainButton/index.d.ts +1 -0
- package/dist/src/desktop/components/UploadMainButton/index.js +8 -0
- package/dist/src/desktop/components/UploadMainButton/types.d.ts +25 -0
- package/dist/src/desktop/components/UploadMainButton/types.js +28 -0
- package/dist/src/desktop/components/UploadTextButton/UploadTextButton.d.ts +12 -0
- package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +83 -0
- package/dist/src/desktop/components/UploadTextButton/index.d.ts +1 -0
- package/dist/src/desktop/components/UploadTextButton/index.js +8 -0
- package/dist/src/desktop/components/UserDesktopNavBar/UserDesktopNavBar.d.ts +20 -0
- package/dist/src/desktop/components/UserDesktopNavBar/UserDesktopNavBar.js +104 -0
- package/dist/src/desktop/components/UserDesktopNavBar/index.d.ts +1 -0
- package/dist/src/desktop/components/UserDesktopNavBar/index.js +8 -0
- package/dist/src/desktop/components/UserDesktopTabBar/UserDesktopTabBar.d.ts +11 -0
- package/dist/src/desktop/components/UserDesktopTabBar/UserDesktopTabBar.js +74 -0
- package/dist/src/desktop/components/UserDesktopTabBar/index.d.ts +1 -0
- package/dist/src/desktop/components/UserDesktopTabBar/index.js +8 -0
- package/dist/src/desktop/components/index.d.ts +24 -1
- package/dist/src/desktop/components/index.js +47 -1
- package/dist/src/desktop/index.d.ts +2 -2
- package/dist/src/desktop/index.js +24 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSF.js +1 -1
- package/dist/src/hybrid/components/Icon/Icon.d.ts +2 -2
- package/dist/src/hybrid/components/Icon/Icon.js +1 -1
- package/dist/src/hybrid/components/ImageView/ImageView.d.ts +4 -2
- package/dist/src/hybrid/components/ImageView/ImageView.js +110 -28
- package/dist/src/hybrid/components/Switch/Switch.d.ts +9 -0
- package/dist/src/hybrid/components/Switch/Switch.js +75 -0
- package/dist/src/hybrid/components/Switch/index.d.ts +1 -0
- package/dist/src/hybrid/components/Switch/index.js +8 -0
- package/dist/src/hybrid/components/index.d.ts +2 -1
- package/dist/src/hybrid/components/index.js +3 -1
- package/dist/src/hybrid/index.d.ts +2 -2
- package/dist/src/hybrid/index.js +2 -1
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.d.ts +45 -0
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +265 -0
- package/dist/src/mobile/common/components/TextFieldBase/index.d.ts +1 -0
- package/dist/src/mobile/common/components/TextFieldBase/index.js +8 -0
- package/dist/src/mobile/common/components/index.d.ts +2 -0
- package/dist/src/mobile/common/components/index.js +5 -0
- package/dist/src/mobile/components/BlogTextField/BlogTextField.d.ts +29 -0
- package/dist/src/mobile/components/BlogTextField/BlogTextField.js +105 -0
- package/dist/src/mobile/components/BlogTextField/index.d.ts +1 -0
- package/dist/src/mobile/components/BlogTextField/index.js +8 -0
- package/dist/src/mobile/components/Card/Card.d.ts +11 -0
- package/dist/src/mobile/components/Card/Card.js +50 -0
- package/dist/src/mobile/components/Card/index.d.ts +1 -0
- package/dist/src/mobile/components/Card/index.js +8 -0
- package/dist/src/mobile/components/CardList/CardList.d.ts +10 -0
- package/dist/src/mobile/components/CardList/CardList.js +30 -0
- package/dist/src/mobile/components/CardList/index.d.ts +1 -0
- package/dist/src/mobile/components/CardList/index.js +8 -0
- package/dist/src/mobile/components/Checkbox/Checkbox.d.ts +11 -0
- package/dist/src/mobile/components/Checkbox/Checkbox.js +62 -0
- package/dist/src/mobile/components/Checkbox/index.d.ts +1 -0
- package/dist/src/mobile/components/Checkbox/index.js +8 -0
- package/dist/src/mobile/components/Chip/Chip.d.ts +19 -0
- package/dist/src/mobile/components/Chip/Chip.js +131 -0
- package/dist/src/mobile/components/Chip/index.d.ts +1 -0
- package/dist/src/mobile/components/Chip/index.js +8 -0
- package/dist/src/mobile/components/ContextMenu/ContextMenu.d.ts +7 -0
- package/dist/src/mobile/components/ContextMenu/ContextMenu.js +33 -0
- package/dist/src/mobile/components/ContextMenu/index.d.ts +1 -0
- package/dist/src/mobile/components/ContextMenu/index.js +8 -0
- package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.d.ts +10 -0
- package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.js +62 -0
- package/dist/src/mobile/components/ContextMenuItem/index.d.ts +1 -0
- package/dist/src/mobile/components/ContextMenuItem/index.js +8 -0
- package/dist/src/mobile/components/IconButton/IconButton.d.ts +1 -6
- package/dist/src/mobile/components/IconButton/IconButton.js +3 -3
- package/dist/src/mobile/components/ImageSlide/ImageSlide.d.ts +13 -0
- package/dist/src/mobile/components/ImageSlide/ImageSlide.js +97 -0
- package/dist/src/mobile/components/ImageSlide/index.d.ts +1 -0
- package/dist/src/mobile/components/ImageSlide/index.js +8 -0
- package/dist/src/mobile/components/MainButton/MainButton.d.ts +21 -0
- package/dist/src/mobile/components/MainButton/MainButton.js +181 -0
- package/dist/src/mobile/components/MainButton/index.d.ts +1 -0
- package/dist/src/mobile/components/MainButton/index.js +8 -0
- package/dist/src/mobile/components/MobileHeaderBar/MobileHeaderBar.d.ts +19 -0
- package/dist/src/mobile/components/MobileHeaderBar/MobileHeaderBar.js +97 -0
- package/dist/src/mobile/components/MobileHeaderBar/index.d.ts +1 -0
- package/dist/src/mobile/components/MobileHeaderBar/index.js +8 -0
- package/dist/src/mobile/components/MobileTabBar/MobileTabBar.d.ts +10 -0
- package/dist/src/mobile/components/MobileTabBar/MobileTabBar.js +46 -0
- package/dist/src/mobile/components/MobileTabBar/index.d.ts +1 -0
- package/dist/src/mobile/components/MobileTabBar/index.js +8 -0
- package/dist/src/mobile/components/Radio/Radio.d.ts +12 -0
- package/dist/src/mobile/components/Radio/Radio.js +45 -0
- package/dist/src/mobile/components/Radio/index.d.ts +1 -0
- package/dist/src/mobile/components/Radio/index.js +8 -0
- package/dist/src/mobile/components/ReactionButton/ReactionButton.d.ts +11 -0
- package/dist/src/mobile/components/ReactionButton/ReactionButton.js +108 -0
- package/dist/src/mobile/components/ReactionButton/index.d.ts +1 -0
- package/dist/src/mobile/components/ReactionButton/index.js +8 -0
- package/dist/src/mobile/components/Select/Select.d.ts +16 -0
- package/dist/src/mobile/components/Select/Select.js +132 -0
- package/dist/src/mobile/components/Select/index.d.ts +1 -0
- package/dist/src/mobile/components/Select/index.js +8 -0
- package/dist/src/mobile/components/StatusBlock/StatusBlock.js +1 -1
- package/dist/src/mobile/components/TextButton/TextButton.d.ts +11 -0
- package/dist/src/mobile/components/TextButton/TextButton.js +100 -0
- package/dist/src/mobile/components/TextButton/index.d.ts +1 -0
- package/dist/src/mobile/components/TextButton/index.js +8 -0
- package/dist/src/mobile/components/TextField/TextField.d.ts +42 -0
- package/dist/src/mobile/components/TextField/TextField.js +252 -0
- package/dist/src/mobile/components/TextField/index.d.ts +1 -0
- package/dist/src/mobile/components/TextField/index.js +8 -0
- package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +3 -1
- package/dist/src/mobile/components/TextLabel/TextLabel.js +7 -4
- package/dist/src/mobile/components/UploadIconButton/UploadIconButton.d.ts +21 -0
- package/dist/src/mobile/components/UploadIconButton/UploadIconButton.js +138 -0
- package/dist/src/mobile/components/UploadIconButton/index.d.ts +1 -0
- package/dist/src/mobile/components/UploadIconButton/index.js +8 -0
- package/dist/src/mobile/components/UploadIconButton/types.d.ts +8 -0
- package/dist/src/mobile/components/UploadIconButton/types.js +11 -0
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.d.ts +18 -0
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.js +161 -0
- package/dist/src/mobile/components/UploadMainButton/index.d.ts +1 -0
- package/dist/src/mobile/components/UploadMainButton/index.js +8 -0
- package/dist/src/mobile/components/UploadMainButton/types.d.ts +25 -0
- package/dist/src/mobile/components/UploadMainButton/types.js +28 -0
- package/dist/src/mobile/components/UploadTextButton/UploadTextButton.d.ts +12 -0
- package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +77 -0
- package/dist/src/mobile/components/UploadTextButton/index.d.ts +1 -0
- package/dist/src/mobile/components/UploadTextButton/index.js +8 -0
- package/dist/src/mobile/components/index.d.ts +20 -1
- package/dist/src/mobile/components/index.js +39 -1
- package/dist/src/mobile/index.d.ts +2 -2
- package/dist/src/mobile/index.js +20 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.js +3 -3
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.js +3 -3
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.js +2 -2
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.js +2 -2
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.js +2 -2
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.js +3 -3
- package/dist/src/mobile/layout/LayoutMP/Containers/NavigationContainer/variation/Navigation.js +1 -1
- package/package.json +5 -1
|
@@ -118,5 +118,8 @@
|
|
|
118
118
|
"sys_border_line_darktheme_04": "darkblue500",
|
|
119
119
|
"usr_widget_brand_primary_darktheme_01": "darkblue500",
|
|
120
120
|
"usr_text_brand_primary_darktheme_01": "darkblue500",
|
|
121
|
-
"sys_component_base_black_opacity50": "black/opacity50"
|
|
121
|
+
"sys_component_base_black_opacity50": "black/opacity50",
|
|
122
|
+
"sys_component_base_card": "white",
|
|
123
|
+
"sys_cpnt_textlabel_sys_brand_primary_opacity50": "blue500/opacity50",
|
|
124
|
+
"sys_widget_green_01": "green500"
|
|
122
125
|
}
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"ui_cpnt_list_badge_active": "sys_widget_status_active_01",
|
|
161
161
|
"ui_cpnt_list_badge_active_primary": "usr_brand_primary",
|
|
162
162
|
"ui_cpnt_list_badge_disabled": "sys_widget_grey_03",
|
|
163
|
-
"
|
|
163
|
+
"ui_cpnt_list_badge_cancel": "sys_widget_error_01",
|
|
164
164
|
"ui_cpnt_list_text_quantity_plus": "sys_text_brand_secondary_variant",
|
|
165
165
|
"ui_cpnt_content_card_base": "sys_component_base_03",
|
|
166
166
|
"ui_cpnt_content_icon_03": "sys_widget_grey_03",
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
"ui_cpnt_chip_line_icon_02": "sys_widget_grey_02",
|
|
276
276
|
"ui_cpnt_overlay_base": "sys_component_base_02",
|
|
277
277
|
"ui_cpnt_profile_base": "sys_component_base_white_opacity00",
|
|
278
|
-
"ui_cpnt_card_base": "
|
|
278
|
+
"ui_cpnt_card_base": "sys_component_base_card",
|
|
279
279
|
"ui_cpnt_card_selected_border": "sys_border_line_06",
|
|
280
280
|
"ui_cpnt_card_icon_basic": "sys_widget_primary_01",
|
|
281
281
|
"ui_cpnt_card_icon_custom": "sys_widget_grey_01",
|
|
@@ -436,5 +436,13 @@
|
|
|
436
436
|
"ui_cpnt_sheet_base_white": "sys_component_base_white",
|
|
437
437
|
"ui_cpnt_sheet_base_black": "sys_component_base_black",
|
|
438
438
|
"ui_cpnt_sheet_base_01": "sys_component_base_02",
|
|
439
|
-
"ui_cpnt_sheet_base_02": "sys_component_base_01"
|
|
439
|
+
"ui_cpnt_sheet_base_02": "sys_component_base_01",
|
|
440
|
+
"ui_temp_background": "sys_container_background_01",
|
|
441
|
+
"ui_list_progress_shape_normal": "sys_widget_primary_01",
|
|
442
|
+
"ui_list_progress_shape_error": "sys_widget_error_01",
|
|
443
|
+
"ui_list_progress_shape_base": "sys_widget_grey_04",
|
|
444
|
+
"ui_cpnt_textlabel_sys_brand_primary_opacity50": "sys_cpnt_textlabel_sys_brand_primary_opacity50",
|
|
445
|
+
"ui_cpnt_progressbar_01": "sys_widget_green_01",
|
|
446
|
+
"ui_cpnt_progressbar_02": "sys_widget_grey_04",
|
|
447
|
+
"ui_36": "sys_component_base_black_opacity80"
|
|
440
448
|
}
|
|
@@ -1,59 +1,4 @@
|
|
|
1
1
|
declare const colorSet: {
|
|
2
|
-
readonly SemanticColor: {
|
|
3
|
-
blue500: string;
|
|
4
|
-
blue700: string;
|
|
5
|
-
blue300: string;
|
|
6
|
-
green700: string;
|
|
7
|
-
green500: string;
|
|
8
|
-
green300: string;
|
|
9
|
-
red500: string;
|
|
10
|
-
grey900: string;
|
|
11
|
-
grey500: string;
|
|
12
|
-
grey400: string;
|
|
13
|
-
grey100: string;
|
|
14
|
-
grey50: string;
|
|
15
|
-
white: string;
|
|
16
|
-
black: string;
|
|
17
|
-
darkblue500: string;
|
|
18
|
-
grey950: string;
|
|
19
|
-
darkgrey900: string;
|
|
20
|
-
darkgrey500: string;
|
|
21
|
-
darkgrey400: string;
|
|
22
|
-
darkgrey100: string;
|
|
23
|
-
darkgrey50: string;
|
|
24
|
-
darkred500: string;
|
|
25
|
-
darkgreen700: string;
|
|
26
|
-
orange500: string;
|
|
27
|
-
darkorange500: string;
|
|
28
|
-
opacity00: string;
|
|
29
|
-
opacity20: string;
|
|
30
|
-
opacity30: string;
|
|
31
|
-
opacity65: string;
|
|
32
|
-
darkgreen500: string;
|
|
33
|
-
grey70: string;
|
|
34
|
-
navy500: string;
|
|
35
|
-
lightgreen500: string;
|
|
36
|
-
pink500: string;
|
|
37
|
-
darkgrey70: string;
|
|
38
|
-
darknavy500: string;
|
|
39
|
-
darkpink500: string;
|
|
40
|
-
darklightgreen500: string;
|
|
41
|
-
opacity10: string;
|
|
42
|
-
grey600: string;
|
|
43
|
-
darkgrey600: string;
|
|
44
|
-
skyblue500: string;
|
|
45
|
-
skyblue300: string;
|
|
46
|
-
pink300: string;
|
|
47
|
-
lightpink500: string;
|
|
48
|
-
darkblue300: string;
|
|
49
|
-
darkblue700: string;
|
|
50
|
-
darkgreen300: string;
|
|
51
|
-
darkskyblue500: string;
|
|
52
|
-
navy100: string;
|
|
53
|
-
darknavy100: string;
|
|
54
|
-
opacity80: string;
|
|
55
|
-
opacity50: string;
|
|
56
|
-
};
|
|
57
2
|
readonly PaletteColor_light: {
|
|
58
3
|
sys_container_background_01: string;
|
|
59
4
|
sys_container_background_02: string;
|
|
@@ -175,6 +120,9 @@ declare const colorSet: {
|
|
|
175
120
|
usr_widget_brand_primary_darktheme_01: string;
|
|
176
121
|
usr_text_brand_primary_darktheme_01: string;
|
|
177
122
|
sys_component_base_black_opacity50: string;
|
|
123
|
+
sys_component_base_card: string;
|
|
124
|
+
sys_cpnt_textlabel_sys_brand_primary_opacity50: string;
|
|
125
|
+
sys_widget_green_01: string;
|
|
178
126
|
};
|
|
179
127
|
readonly PaletteColor_Dark: {
|
|
180
128
|
sys_container_background_01: string;
|
|
@@ -297,6 +245,64 @@ declare const colorSet: {
|
|
|
297
245
|
usr_widget_brand_primary_darktheme_01: string;
|
|
298
246
|
usr_text_brand_primary_darktheme_01: string;
|
|
299
247
|
sys_component_base_black_opacity50: string;
|
|
248
|
+
sys_component_base_card: string;
|
|
249
|
+
sys_cpnt_textlabel_sys_brand_primary_opacity50: string;
|
|
250
|
+
sys_widget_green_01: string;
|
|
251
|
+
};
|
|
252
|
+
readonly SemanticColor: {
|
|
253
|
+
blue500: string;
|
|
254
|
+
blue700: string;
|
|
255
|
+
blue300: string;
|
|
256
|
+
green700: string;
|
|
257
|
+
green500: string;
|
|
258
|
+
green300: string;
|
|
259
|
+
red500: string;
|
|
260
|
+
grey900: string;
|
|
261
|
+
grey500: string;
|
|
262
|
+
grey400: string;
|
|
263
|
+
grey100: string;
|
|
264
|
+
grey50: string;
|
|
265
|
+
white: string;
|
|
266
|
+
black: string;
|
|
267
|
+
darkblue500: string;
|
|
268
|
+
grey950: string;
|
|
269
|
+
darkgrey900: string;
|
|
270
|
+
darkgrey500: string;
|
|
271
|
+
darkgrey400: string;
|
|
272
|
+
darkgrey100: string;
|
|
273
|
+
darkgrey50: string;
|
|
274
|
+
darkred500: string;
|
|
275
|
+
darkgreen700: string;
|
|
276
|
+
orange500: string;
|
|
277
|
+
darkorange500: string;
|
|
278
|
+
opacity00: string;
|
|
279
|
+
opacity20: string;
|
|
280
|
+
opacity30: string;
|
|
281
|
+
opacity65: string;
|
|
282
|
+
darkgreen500: string;
|
|
283
|
+
grey70: string;
|
|
284
|
+
navy500: string;
|
|
285
|
+
lightgreen500: string;
|
|
286
|
+
pink500: string;
|
|
287
|
+
darkgrey70: string;
|
|
288
|
+
darknavy500: string;
|
|
289
|
+
darkpink500: string;
|
|
290
|
+
darklightgreen500: string;
|
|
291
|
+
opacity10: string;
|
|
292
|
+
grey600: string;
|
|
293
|
+
darkgrey600: string;
|
|
294
|
+
skyblue500: string;
|
|
295
|
+
skyblue300: string;
|
|
296
|
+
pink300: string;
|
|
297
|
+
lightpink500: string;
|
|
298
|
+
darkblue300: string;
|
|
299
|
+
darkblue700: string;
|
|
300
|
+
darkgreen300: string;
|
|
301
|
+
darkskyblue500: string;
|
|
302
|
+
navy100: string;
|
|
303
|
+
darknavy100: string;
|
|
304
|
+
opacity80: string;
|
|
305
|
+
opacity50: string;
|
|
300
306
|
};
|
|
301
307
|
readonly UIColor: {
|
|
302
308
|
ui_cpnt_button_fill_base_primary: string;
|
|
@@ -460,7 +466,7 @@ declare const colorSet: {
|
|
|
460
466
|
ui_cpnt_list_badge_active: string;
|
|
461
467
|
ui_cpnt_list_badge_active_primary: string;
|
|
462
468
|
ui_cpnt_list_badge_disabled: string;
|
|
463
|
-
|
|
469
|
+
ui_cpnt_list_badge_cancel: string;
|
|
464
470
|
ui_cpnt_list_text_quantity_plus: string;
|
|
465
471
|
ui_cpnt_content_card_base: string;
|
|
466
472
|
ui_cpnt_content_icon_03: string;
|
|
@@ -737,6 +743,14 @@ declare const colorSet: {
|
|
|
737
743
|
ui_cpnt_sheet_base_black: string;
|
|
738
744
|
ui_cpnt_sheet_base_01: string;
|
|
739
745
|
ui_cpnt_sheet_base_02: string;
|
|
746
|
+
ui_temp_background: string;
|
|
747
|
+
ui_list_progress_shape_normal: string;
|
|
748
|
+
ui_list_progress_shape_error: string;
|
|
749
|
+
ui_list_progress_shape_base: string;
|
|
750
|
+
ui_cpnt_textlabel_sys_brand_primary_opacity50: string;
|
|
751
|
+
ui_cpnt_progressbar_01: string;
|
|
752
|
+
ui_cpnt_progressbar_02: string;
|
|
753
|
+
ui_36: string;
|
|
740
754
|
};
|
|
741
755
|
};
|
|
742
756
|
export default colorSet;
|
|
@@ -4,14 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
/* eslint-disable import/order */
|
|
7
|
-
var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
|
|
8
7
|
var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
|
|
9
8
|
var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
|
|
9
|
+
var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
|
|
10
10
|
var UIColor_json_1 = __importDefault(require("./UIColor.json"));
|
|
11
11
|
var colorSet = {
|
|
12
|
-
SemanticColor: SemanticColor_json_1.default,
|
|
13
12
|
PaletteColor_light: PaletteColor_light_json_1.default,
|
|
14
13
|
PaletteColor_Dark: PaletteColor_Dark_json_1.default,
|
|
14
|
+
SemanticColor: SemanticColor_json_1.default,
|
|
15
15
|
UIColor: UIColor_json_1.default
|
|
16
16
|
};
|
|
17
17
|
exports.default = colorSet;
|
|
@@ -160,7 +160,7 @@ export interface UITheme {
|
|
|
160
160
|
ui_cpnt_list_badge_active: string;
|
|
161
161
|
ui_cpnt_list_badge_active_primary: string;
|
|
162
162
|
ui_cpnt_list_badge_disabled: string;
|
|
163
|
-
|
|
163
|
+
ui_cpnt_list_badge_cancel: string;
|
|
164
164
|
ui_cpnt_list_text_quantity_plus: string;
|
|
165
165
|
ui_cpnt_content_card_base: string;
|
|
166
166
|
ui_cpnt_content_icon_03: string;
|
|
@@ -437,4 +437,12 @@ export interface UITheme {
|
|
|
437
437
|
ui_cpnt_sheet_base_black: string;
|
|
438
438
|
ui_cpnt_sheet_base_01: string;
|
|
439
439
|
ui_cpnt_sheet_base_02: string;
|
|
440
|
+
ui_temp_background: string;
|
|
441
|
+
ui_list_progress_shape_normal: string;
|
|
442
|
+
ui_list_progress_shape_error: string;
|
|
443
|
+
ui_list_progress_shape_base: string;
|
|
444
|
+
ui_cpnt_textlabel_sys_brand_primary_opacity50: string;
|
|
445
|
+
ui_cpnt_progressbar_01: string;
|
|
446
|
+
ui_cpnt_progressbar_02: string;
|
|
447
|
+
ui_36: string;
|
|
440
448
|
}
|
|
@@ -29,6 +29,7 @@ export declare const theme: {
|
|
|
29
29
|
form2: string;
|
|
30
30
|
blog1: string;
|
|
31
31
|
singleLine: string;
|
|
32
|
+
btn: string;
|
|
32
33
|
};
|
|
33
34
|
mobileFontSize: {
|
|
34
35
|
displayHeading: string;
|
|
@@ -56,6 +57,7 @@ export declare const theme: {
|
|
|
56
57
|
form2: string;
|
|
57
58
|
blog1: string;
|
|
58
59
|
singleLine: string;
|
|
60
|
+
btn: string;
|
|
59
61
|
};
|
|
60
62
|
uiColors: import("..").UITheme;
|
|
61
63
|
};
|
|
@@ -29,6 +29,7 @@ export declare const desktopLineHeight: {
|
|
|
29
29
|
form2: string;
|
|
30
30
|
blog1: string;
|
|
31
31
|
singleLine: string;
|
|
32
|
+
btn: string;
|
|
32
33
|
};
|
|
33
34
|
export declare const mobileFontSize: {
|
|
34
35
|
displayHeading: string;
|
|
@@ -56,6 +57,7 @@ export declare const mobileLineHeight: {
|
|
|
56
57
|
form2: string;
|
|
57
58
|
blog1: string;
|
|
58
59
|
singleLine: string;
|
|
60
|
+
btn: string;
|
|
59
61
|
};
|
|
60
62
|
export declare const boxShadow: {
|
|
61
63
|
elevation0: string;
|
|
@@ -42,7 +42,8 @@ exports.desktopLineHeight = {
|
|
|
42
42
|
form1: '1.6',
|
|
43
43
|
form2: '1.6',
|
|
44
44
|
blog1: '1.6',
|
|
45
|
-
singleLine: 'normal'
|
|
45
|
+
singleLine: 'normal',
|
|
46
|
+
btn: '1'
|
|
46
47
|
};
|
|
47
48
|
exports.mobileFontSize = {
|
|
48
49
|
displayHeading: '32px',
|
|
@@ -69,7 +70,8 @@ exports.mobileLineHeight = {
|
|
|
69
70
|
form1: '1.6',
|
|
70
71
|
form2: '1.6',
|
|
71
72
|
blog1: '1.6',
|
|
72
|
-
singleLine: 'normal'
|
|
73
|
+
singleLine: 'normal',
|
|
74
|
+
btn: '1'
|
|
73
75
|
};
|
|
74
76
|
exports.boxShadow = {
|
|
75
77
|
elevation0: '0 0 0 0 #0003',
|
|
@@ -3,34 +3,25 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.uiColors = void 0;
|
|
7
7
|
var colorSet_1 = __importDefault(require("./colorSet"));
|
|
8
8
|
function buildCascadedColors(lowLevel, highLevel, override) {
|
|
9
9
|
if (override === void 0) { override = {}; }
|
|
10
10
|
return Object.keys(highLevel).reduce(function (acc, key) {
|
|
11
|
-
console.log('highLevel', highLevel);
|
|
12
11
|
var keyInLowLevelColors = highLevel[key];
|
|
13
|
-
console.log('keyInLowLevelColors', keyInLowLevelColors);
|
|
14
12
|
var colorValue;
|
|
15
13
|
if (keyInLowLevelColors.indexOf('/') !== -1) {
|
|
16
14
|
colorValue = override[key]
|
|
17
15
|
? override[key]
|
|
18
16
|
: lowLevel[keyInLowLevelColors.split('/')[0]] + lowLevel[keyInLowLevelColors.split('/')[1]];
|
|
19
|
-
// console.log('colorValue1', colorValue);
|
|
20
17
|
}
|
|
21
18
|
else {
|
|
22
19
|
colorValue = override[key] ? override[key] : lowLevel[keyInLowLevelColors];
|
|
23
|
-
console.log('colorValue2', colorValue);
|
|
24
20
|
}
|
|
25
21
|
acc[key] = colorValue;
|
|
26
|
-
console.log('acc : ', acc);
|
|
27
22
|
return acc;
|
|
28
23
|
}, {});
|
|
29
24
|
}
|
|
30
|
-
var colorSetting = {
|
|
31
|
-
tone: 'dark',
|
|
32
|
-
customPalette: {}
|
|
33
|
-
};
|
|
34
25
|
// fetch-palette-phase
|
|
35
26
|
// 서버로부터 해당 채널이 라이트 톤을 사용하는지, 다크 톤을 사용하는지 가져오기
|
|
36
27
|
// 서버로부터 해당 채널에서 커스텀으로 설정한 팔레트 가져오기
|
|
@@ -41,16 +32,7 @@ var channelSettings = {
|
|
|
41
32
|
usr_good_job: '#999999'
|
|
42
33
|
}
|
|
43
34
|
};
|
|
44
|
-
var phaseTwoJSON =
|
|
35
|
+
var phaseTwoJSON = channelSettings.tone === 'light' ? colorSet_1.default.PaletteColor_light : colorSet_1.default.PaletteColor_Dark;
|
|
45
36
|
// ui-color-build-phase
|
|
46
|
-
var paletteColors = buildCascadedColors(colorSet_1.default.SemanticColor, phaseTwoJSON,
|
|
37
|
+
var paletteColors = buildCascadedColors(colorSet_1.default.SemanticColor, phaseTwoJSON, channelSettings.customPalette);
|
|
47
38
|
exports.uiColors = buildCascadedColors(paletteColors, colorSet_1.default.UIColor);
|
|
48
|
-
var setTone = function (tone) {
|
|
49
|
-
colorSetting.tone = tone; // light
|
|
50
|
-
};
|
|
51
|
-
exports.setTone = setTone;
|
|
52
|
-
var getTone = function () {
|
|
53
|
-
console.log('colorSetting', colorSetting);
|
|
54
|
-
return colorSetting.tone;
|
|
55
|
-
};
|
|
56
|
-
exports.getTone = getTone;
|
|
@@ -29,6 +29,7 @@ export interface PdsDevKitTheme {
|
|
|
29
29
|
form2: string;
|
|
30
30
|
blog1: string;
|
|
31
31
|
singleLine: string;
|
|
32
|
+
btn: string;
|
|
32
33
|
};
|
|
33
34
|
mobileFontSize: {
|
|
34
35
|
displayHeading: string;
|
|
@@ -56,6 +57,7 @@ export interface PdsDevKitTheme {
|
|
|
56
57
|
form2: string;
|
|
57
58
|
blog1: string;
|
|
58
59
|
singleLine: string;
|
|
60
|
+
btn: string;
|
|
59
61
|
};
|
|
60
62
|
boxShadow: {
|
|
61
63
|
elevation0: string;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { TFunctionResult } from 'i18next';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Path } from 'react-hook-form';
|
|
4
|
+
import { desktopFontSize, fontWeight } from '../../../../common/styles/theme';
|
|
5
|
+
import { uiColors } from '../../../../common/styles/ui-colors';
|
|
6
|
+
import { IFormValues } from '../../../../common/types/form';
|
|
7
|
+
export declare type DesktopFontSize = keyof typeof desktopFontSize;
|
|
8
|
+
export declare type FontWeight = keyof typeof fontWeight;
|
|
9
|
+
export declare type UiColors = keyof typeof uiColors;
|
|
10
|
+
export declare type TextFieldBaseProps = {
|
|
11
|
+
name: Path<IFormValues>;
|
|
12
|
+
hintText?: string | number | null | TFunctionResult;
|
|
13
|
+
defaultText?: string | number | null | TFunctionResult;
|
|
14
|
+
validation?: {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
};
|
|
17
|
+
preventBlankMode?: 'none' | 'trim' | 'all';
|
|
18
|
+
textLineType: 'single' | 'multi' | 'auto';
|
|
19
|
+
multiRows?: number;
|
|
20
|
+
autoMinRows?: number;
|
|
21
|
+
autoMaxRows?: number;
|
|
22
|
+
inputType?: string;
|
|
23
|
+
state?: 'normal' | 'read_only' | 'disabled';
|
|
24
|
+
colorTheme?: 'none' | 'dark';
|
|
25
|
+
min?: number;
|
|
26
|
+
max?: number;
|
|
27
|
+
maxLength?: number;
|
|
28
|
+
textSize: DesktopFontSize;
|
|
29
|
+
textWeight: FontWeight;
|
|
30
|
+
fieldPadding?: string;
|
|
31
|
+
fieldHeight?: number;
|
|
32
|
+
deleteIconMode?: 'none' | 'use';
|
|
33
|
+
deleteIconSize?: 12 | 16 | 20 | 24;
|
|
34
|
+
deleteIconColor?: UiColors;
|
|
35
|
+
isFocused?: boolean;
|
|
36
|
+
onBlur?: (e: React.FocusEvent<HTMLInputElement> | React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
37
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement> | React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
38
|
+
onFocus?: () => void;
|
|
39
|
+
onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement> | React.KeyboardEvent<HTMLTextAreaElement>) => void;
|
|
40
|
+
onKeyUp?: (e: React.KeyboardEvent<HTMLInputElement> | React.KeyboardEvent<HTMLTextAreaElement>) => void;
|
|
41
|
+
onTarget?: () => void;
|
|
42
|
+
[x: string]: any;
|
|
43
|
+
} & Record<string, any>;
|
|
44
|
+
declare function TextFieldBase({ name, hintText, defaultText, validation, preventBlankMode, textLineType, multiRows, autoMinRows, autoMaxRows, inputType, state, colorTheme, min, max, maxLength, textSize, textWeight, textPadding, fieldHeight, deleteIconMode, deleteIconSize, deleteIconColor, isFocused, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onTarget, ...rest }: TextFieldBaseProps): JSX.Element;
|
|
45
|
+
export default TextFieldBase;
|