pds-dev-kit-web 1.3.28 → 1.4.2
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/index.d.ts +6 -6
- package/dist/index.js +7 -3
- package/dist/src/GlobalStyle.js +1 -1
- package/dist/src/common/assets/icons/fill/CheckboxOn.d.ts +1 -1
- package/dist/src/common/assets/icons/fill/CheckboxOn.js +24 -2
- package/dist/src/common/assets/icons/fill/index.d.ts +1 -1
- package/dist/src/common/components/BoxLayout/Col.d.ts +7 -0
- package/dist/src/common/components/BoxLayout/Col.js +48 -0
- package/dist/src/common/components/BoxLayout/Grid.d.ts +9 -0
- package/dist/src/common/components/BoxLayout/Grid.js +51 -0
- package/dist/src/common/components/BoxLayout/Row.d.ts +7 -0
- package/dist/src/common/components/BoxLayout/Row.js +48 -0
- package/dist/src/common/components/BoxLayout/index.d.ts +3 -0
- package/dist/src/common/components/BoxLayout/index.js +12 -0
- package/dist/src/common/components/Navigations/ContextTextLabelNav.d.ts +11 -0
- package/dist/src/common/components/Navigations/ContextTextLabelNav.js +15 -0
- package/dist/src/common/components/Navigations/NavLink.d.ts +13 -0
- package/dist/src/common/components/Navigations/NavLink.js +42 -0
- package/dist/src/common/components/Navigations/Navs.d.ts +10 -0
- package/dist/src/common/components/Navigations/Navs.js +43 -0
- package/dist/src/common/components/Navigations/TextLabelNav.d.ts +11 -0
- package/dist/src/common/components/Navigations/TextLabelNav.js +15 -0
- package/dist/src/common/components/Navigations/index.d.ts +2 -0
- package/dist/src/common/components/Navigations/index.js +10 -0
- package/dist/src/common/hooks/index.d.ts +1 -0
- package/dist/src/common/hooks/index.js +8 -0
- package/dist/src/common/hooks/useDetectOverflow.d.ts +10 -0
- package/dist/src/common/hooks/useDetectOverflow.js +46 -0
- package/dist/src/common/index.d.ts +2 -2
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +12 -4
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +12 -4
- package/dist/src/common/styles/colorSet/SemanticColor.json +6 -5
- package/dist/src/common/styles/colorSet/UIColor.json +46 -27
- package/dist/src/common/styles/colorSet/index.d.ts +100 -64
- package/dist/src/common/styles/colorSet/index.js +4 -4
- package/dist/src/common/styles/colorSet/ui-type.d.ts +19 -0
- package/dist/src/common/types/components.d.ts +2 -0
- package/dist/src/common/types/icon.d.ts +1 -0
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +10 -7
- package/dist/src/desktop/components/AdminList/AdminList.d.ts +22 -8
- package/dist/src/desktop/components/AdminList/AdminList.js +21 -2
- package/dist/src/desktop/components/AdminList/BulkActionBar.d.ts +8 -8
- package/dist/src/desktop/components/AdminList/BulkActionBar.js +8 -8
- package/dist/src/desktop/components/AdminListHeader/AdminListHeader.js +1 -1
- package/dist/src/desktop/components/BasicListItem/BasicListItem.js +3 -3
- package/dist/src/desktop/components/BlogTextField/BlogTextField.js +7 -4
- package/dist/src/desktop/components/Chip/Chip.js +7 -9
- package/dist/src/desktop/components/ContextMenu/ContextMenu.js +2 -2
- package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.js +1 -1
- package/dist/src/desktop/components/DesktopAlertDialog/DesktopAlertDialog.d.ts +7 -1
- package/dist/src/desktop/components/DesktopAlertDialog/DesktopAlertDialog.js +5 -5
- package/dist/src/desktop/components/DesktopHeaderBar/DesktopHeaderBar.js +4 -2
- package/dist/src/desktop/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/src/desktop/components/Dropdown/Dropdown.js +123 -24
- package/dist/src/desktop/components/DynamicDesktopNavBar/DynamicDesktopNavBar.d.ts +27 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/DynamicDesktopNavBar.js +70 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/BrandLogo.d.ts +10 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/BrandLogo.js +20 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/PrimaryMenu.d.ts +10 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/PrimaryMenu.js +109 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/SecondaryMenu.d.ts +10 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/SecondaryMenu.js +19 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/UserProfile.d.ts +9 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/UserProfile.js +22 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/index.d.ts +4 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/blocks/index.js +14 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/ContextMenuNavs/ContextMenuItemNav.d.ts +12 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/ContextMenuNavs/ContextMenuItemNav.js +73 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/ContextMenuNavs/ContextMenuNavs.d.ts +7 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/ContextMenuNavs/ContextMenuNavs.js +49 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/ContextMenuNavs/index.d.ts +2 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/ContextMenuNavs/index.js +10 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/IconNav.d.ts +8 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/IconNav.js +14 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/ImageIconNav.d.ts +8 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/ImageIconNav.js +22 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/LogoNav.d.ts +8 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/LogoNav.js +22 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/MenuItemNav.d.ts +8 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/MenuItemNav.js +65 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/components/PAppMenuItemNav.d.ts +11 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/components/PAppMenuItemNav.js +49 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/components/WebMenuItemNav.d.ts +11 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/components/WebMenuItemNav.js +22 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/index.d.ts +1 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/index.js +8 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/ProfileNav.d.ts +7 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/ProfileNav.js +22 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/TextNav.d.ts +10 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/TextNav.js +25 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/index.d.ts +0 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/index.js +0 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/index.d.ts +1 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/index.js +8 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/templates/MenuDesignTemplates.d.ts +102 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/templates/MenuDesignTemplates.js +31 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/templates/constants.d.ts +101 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/templates/constants.js +104 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/templates/index.d.ts +2 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/templates/index.js +19 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/templates/types.d.ts +20 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/templates/types.js +2 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/types.d.ts +12 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/types.js +5 -0
- package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.js +14 -12
- package/dist/src/desktop/components/FloatingActionButton/FloatingActionButton.js +2 -2
- package/dist/src/desktop/components/HorizontalFormGroup/HorizontalFormGroup.d.ts +11 -0
- package/dist/src/desktop/components/HorizontalFormGroup/HorizontalFormGroup.js +62 -0
- package/dist/src/desktop/components/HorizontalFormGroup/index.d.ts +1 -0
- package/dist/src/desktop/components/HorizontalFormGroup/index.js +8 -0
- package/dist/src/desktop/components/IconButton/IconButton.js +1 -1
- package/dist/src/desktop/components/ImageSlide/ImageSlide.js +1 -1
- package/dist/src/desktop/components/MainButton/MainButton.d.ts +3 -1
- package/dist/src/desktop/components/MainButton/MainButton.js +82 -14
- package/dist/src/desktop/components/ReactionButton/ReactionButton.js +9 -5
- package/dist/src/desktop/components/Select/Select.js +28 -10
- package/dist/src/desktop/components/TextButton/TextButton.d.ts +2 -1
- package/dist/src/desktop/components/TextButton/TextButton.js +20 -17
- package/dist/src/desktop/components/TextField/TextField.js +14 -11
- package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +6 -1
- package/dist/src/desktop/components/TextLabel/TextLabel.js +29 -13
- package/dist/src/desktop/components/UploadIconButton/UploadIconButton.js +1 -1
- package/dist/src/desktop/components/UploadMainButton/UploadMainButton.d.ts +3 -1
- package/dist/src/desktop/components/UploadMainButton/UploadMainButton.js +80 -11
- package/dist/src/desktop/components/UploadMainButton/types.d.ts +4 -4
- package/dist/src/desktop/components/UploadMainButton/types.js +5 -5
- package/dist/src/desktop/components/UploadTextButton/UploadTextButton.d.ts +2 -1
- package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +12 -7
- package/dist/src/desktop/components/UserDesktopNavBar/UserDesktopNavBar.js +1 -1
- package/dist/src/desktop/components/index.d.ts +3 -2
- package/dist/src/desktop/components/index.js +5 -3
- package/dist/src/desktop/index.d.ts +4 -2
- package/dist/src/desktop/index.js +7 -2
- package/dist/src/desktop/{components → panels}/DesktopBasicModal/DesktopBasicModal.d.ts +1 -1
- package/dist/src/desktop/{components → panels}/DesktopBasicModal/DesktopBasicModal.js +13 -10
- package/dist/src/desktop/{components → panels}/DesktopBasicModal/index.d.ts +0 -0
- package/dist/src/desktop/{components → panels}/DesktopBasicModal/index.js +0 -0
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.d.ts +10 -0
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.js +121 -0
- package/dist/src/desktop/panels/DesktopHeadlessModal/index.d.ts +1 -0
- package/dist/src/desktop/panels/DesktopHeadlessModal/index.js +8 -0
- package/dist/src/desktop/panels/index.d.ts +3 -0
- package/dist/src/desktop/panels/index.js +7 -0
- package/dist/src/hybrid/components/Divider/Divider.js +12 -9
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +6 -6
- package/dist/src/mobile/components/BasicListItem/BasicListItem.js +3 -3
- package/dist/src/mobile/components/BlogTextField/BlogTextField.js +3 -3
- package/dist/src/mobile/components/Card/Card.js +1 -1
- package/dist/src/mobile/components/Chip/Chip.js +8 -10
- package/dist/src/mobile/components/ContextMenu/ContextMenu.d.ts +2 -1
- package/dist/src/mobile/components/ContextMenu/ContextMenu.js +6 -3
- package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.js +1 -1
- package/dist/src/mobile/components/Dropdown/Dropdown.d.ts +7 -3
- package/dist/src/mobile/components/Dropdown/Dropdown.js +127 -29
- package/dist/src/mobile/components/HorizontalFormGroup/HorizontalFormGroup.d.ts +11 -0
- package/dist/src/mobile/components/HorizontalFormGroup/HorizontalFormGroup.js +62 -0
- package/dist/src/mobile/components/HorizontalFormGroup/index.d.ts +1 -0
- package/dist/src/mobile/components/HorizontalFormGroup/index.js +8 -0
- package/dist/src/mobile/components/IconButton/IconButton.js +1 -1
- package/dist/src/mobile/components/ImageSlide/ImageSlide.js +1 -1
- package/dist/src/mobile/components/MainButton/MainButton.d.ts +3 -1
- package/dist/src/mobile/components/MainButton/MainButton.js +74 -15
- package/dist/src/mobile/components/MobileAlertDialog/MobileAlertDialog.d.ts +7 -1
- package/dist/src/mobile/components/MobileAlertDialog/MobileAlertDialog.js +6 -6
- package/dist/src/mobile/components/MobileTabBar/MobileTabBar.js +1 -1
- package/dist/src/mobile/components/Radio/Radio.js +1 -1
- package/dist/src/mobile/components/ReactionButton/ReactionButton.js +7 -6
- package/dist/src/mobile/components/Select/Select.js +18 -10
- package/dist/src/mobile/components/TextButton/TextButton.d.ts +2 -1
- package/dist/src/mobile/components/TextButton/TextButton.js +19 -19
- package/dist/src/mobile/components/TextField/TextField.js +11 -11
- package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +6 -1
- package/dist/src/mobile/components/TextLabel/TextLabel.js +39 -4
- package/dist/src/mobile/components/UploadIconButton/UploadIconButton.js +1 -1
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.d.ts +3 -1
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.js +74 -11
- package/dist/src/mobile/components/UploadMainButton/types.d.ts +4 -4
- package/dist/src/mobile/components/UploadMainButton/types.js +5 -5
- package/dist/src/mobile/components/UploadTextButton/UploadTextButton.d.ts +2 -1
- package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +12 -7
- package/dist/src/mobile/components/index.d.ts +2 -2
- package/dist/src/mobile/components/index.js +3 -3
- package/dist/src/mobile/index.d.ts +4 -2
- package/dist/src/mobile/index.js +5 -2
- package/dist/src/mobile/{components → panels}/MobileBasicModal/MobileBasicModal.d.ts +8 -2
- package/dist/src/mobile/{components → panels}/MobileBasicModal/MobileBasicModal.js +25 -14
- package/dist/src/mobile/{components → panels}/MobileBasicModal/index.d.ts +0 -0
- package/dist/src/mobile/{components → panels}/MobileBasicModal/index.js +0 -0
- package/dist/src/mobile/panels/index.d.ts +2 -0
- package/dist/src/mobile/panels/index.js +5 -0
- package/package.json +3 -1
- package/release-note.md +13 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UITheme } from './styles/colorSet/ui-type';
|
|
2
|
-
import { IFormValues, FillIconNameKeys, LineIconNameKeys, PdsDevKitTheme, DesktopFontSize, FontWeight, PDSTextType, PDSValueOption, UiColors } from './types';
|
|
3
|
-
export { UITheme, IFormValues, FillIconNameKeys, LineIconNameKeys, PdsDevKitTheme, DesktopFontSize, FontWeight, PDSTextType, PDSValueOption, UiColors };
|
|
2
|
+
import { IFormValues, FillIconNameKeys, LineIconNameKeys, PDSIconType, PdsDevKitTheme, DesktopFontSize, FontWeight, PDSTextType, PDSValueOption, UiColors, ForwardedRefType } from './types';
|
|
3
|
+
export { UITheme, IFormValues, FillIconNameKeys, LineIconNameKeys, PDSIconType, PdsDevKitTheme, DesktopFontSize, FontWeight, PDSTextType, PDSValueOption, UiColors, ForwardedRefType };
|
|
4
4
|
import { fontWeight, desktopFontSize, desktopLineHeight, mobileFontSize, mobileLineHeight, boxShadow, spacing } from './styles/theme';
|
|
5
5
|
import { uiColors, customTheme } from './styles/ui-colors';
|
|
6
6
|
export { fontWeight, desktopFontSize, desktopLineHeight, mobileFontSize, mobileLineHeight, boxShadow, spacing, uiColors, customTheme };
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"sys_component_base_green": "darkgreen700",
|
|
116
116
|
"sys_text_error_darktheme_01": "darkred500",
|
|
117
117
|
"sys_border_line_darktheme_03": "darkred500",
|
|
118
|
-
"sys_border_line_darktheme_04": "
|
|
118
|
+
"sys_border_line_darktheme_04": "darkgrey500",
|
|
119
119
|
"usr_widget_brand_primary_darktheme_01": "darkblue500",
|
|
120
120
|
"usr_text_brand_primary_darktheme_01": "darkblue500",
|
|
121
121
|
"sys_component_base_black_opacity50": "black/opacity50",
|
|
@@ -153,12 +153,20 @@
|
|
|
153
153
|
"usr_menu_background_gradient_opacity00": "grey950/opacity00",
|
|
154
154
|
"sys_border_line_white": "white",
|
|
155
155
|
"sys_component_base_white_opacity10": "white/opacity10",
|
|
156
|
-
"sys_cpnt_sheet_base_01": "
|
|
156
|
+
"sys_cpnt_sheet_base_01": "darkgrey30",
|
|
157
157
|
"sys_component_base_white_opacity20": "white/opacity20",
|
|
158
158
|
"sys_border_line_07": "darkgrey70",
|
|
159
159
|
"sys_border_line_white_opacity50": "white/opacity50",
|
|
160
160
|
"sys_background_dimmed_02": "black/opacity65",
|
|
161
161
|
"sys_border_line_08": "darkgrey500",
|
|
162
|
-
"
|
|
163
|
-
"
|
|
162
|
+
"sys_component_base_06": "darkgrey50",
|
|
163
|
+
"sys_component_base_07": "darkgrey70",
|
|
164
|
+
"sys_border_line_09": "darkgrey50",
|
|
165
|
+
"sys_component_base_darktheme_04": "black/opacity00",
|
|
166
|
+
"sys_border_line_10": "darkgrey50",
|
|
167
|
+
"sys_component_base_darktheme_05": "darkgrey30",
|
|
168
|
+
"sys_border_line_darktheme_05": "darkgrey30",
|
|
169
|
+
"sys_component_base_darktheme_06": "darkgrey70",
|
|
170
|
+
"sys_border_line_darktheme_06": "darkgrey70",
|
|
171
|
+
"sys_border_line_darktheme_07": "darkgrey50"
|
|
164
172
|
}
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"sys_component_base_green": "green700",
|
|
116
116
|
"sys_text_error_darktheme_01": "darkred500",
|
|
117
117
|
"sys_border_line_darktheme_03": "darkred500",
|
|
118
|
-
"sys_border_line_darktheme_04": "
|
|
118
|
+
"sys_border_line_darktheme_04": "darkgrey500",
|
|
119
119
|
"usr_widget_brand_primary_darktheme_01": "darkblue500",
|
|
120
120
|
"usr_text_brand_primary_darktheme_01": "darkblue500",
|
|
121
121
|
"sys_component_base_black_opacity50": "black/opacity50",
|
|
@@ -157,8 +157,16 @@
|
|
|
157
157
|
"sys_component_base_white_opacity20": "white/opacity20",
|
|
158
158
|
"sys_border_line_07": "grey70",
|
|
159
159
|
"sys_border_line_white_opacity50": "white/opacity50",
|
|
160
|
-
"sys_background_dimmed_02": "black/
|
|
160
|
+
"sys_background_dimmed_02": "black/opacity40",
|
|
161
161
|
"sys_border_line_08": "grey500",
|
|
162
|
-
"
|
|
163
|
-
"
|
|
162
|
+
"sys_component_base_06": "grey30",
|
|
163
|
+
"sys_component_base_07": "grey70",
|
|
164
|
+
"sys_border_line_09": "grey50",
|
|
165
|
+
"sys_component_base_darktheme_04": "black/opacity00",
|
|
166
|
+
"sys_border_line_10": "grey30",
|
|
167
|
+
"sys_component_base_darktheme_05": "darkgrey30",
|
|
168
|
+
"sys_border_line_darktheme_05": "darkgrey30",
|
|
169
|
+
"sys_component_base_darktheme_06": "darkgrey70",
|
|
170
|
+
"sys_border_line_darktheme_06": "darkgrey70",
|
|
171
|
+
"sys_border_line_darktheme_07": "darkgrey50"
|
|
164
172
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"grey900": "#1e1e20",
|
|
10
10
|
"grey500": "#68686b",
|
|
11
11
|
"grey400": "#aaaab1",
|
|
12
|
-
"grey100": "#
|
|
13
|
-
"grey50": "#
|
|
12
|
+
"grey100": "#e3e5e9",
|
|
13
|
+
"grey50": "#eff0f3",
|
|
14
14
|
"white": "#ffffff",
|
|
15
15
|
"black": "#000000",
|
|
16
16
|
"darkblue500": "#586cff",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"opacity30": "4D",
|
|
30
30
|
"opacity65": "A6",
|
|
31
31
|
"darkgreen500": "#0ce1a8",
|
|
32
|
-
"grey70": "#
|
|
32
|
+
"grey70": "#eaebef",
|
|
33
33
|
"navy500": "#313349",
|
|
34
34
|
"lightgreen500": "#32d64c",
|
|
35
35
|
"pink500": "#FB3A63",
|
|
@@ -52,7 +52,8 @@
|
|
|
52
52
|
"darknavy100": "#7A82B2",
|
|
53
53
|
"opacity80": "CC",
|
|
54
54
|
"opacity50": "80",
|
|
55
|
-
"grey30": "#
|
|
55
|
+
"grey30": "#f5f5f8",
|
|
56
56
|
"opacity95": "F2",
|
|
57
|
-
"darkgrey30": "#1d1d1e"
|
|
57
|
+
"darkgrey30": "#1d1d1e",
|
|
58
|
+
"opacity40": "66"
|
|
58
59
|
}
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"ui_cpnt_button_icon_enabled": "sys_widget_grey_01",
|
|
22
22
|
"ui_cpnt_button_icon_disabled": "sys_widget_grey_03",
|
|
23
23
|
"ui_cpnt_button_icon_default": "sys_widget_grey_02",
|
|
24
|
-
"ui_cpnt_textfield_border_normal": "
|
|
25
|
-
"ui_cpnt_textfield_border_focus": "
|
|
24
|
+
"ui_cpnt_textfield_border_normal": "sys_border_line_10",
|
|
25
|
+
"ui_cpnt_textfield_border_focus": "sys_border_line_02",
|
|
26
26
|
"ui_cpnt_textfield_border_error": "sys_border_line_04",
|
|
27
|
-
"ui_cpnt_textfield_base_normal": "
|
|
28
|
-
"ui_cpnt_textfield_base_disabled": "
|
|
27
|
+
"ui_cpnt_textfield_base_normal": "sys_component_base_06",
|
|
28
|
+
"ui_cpnt_textfield_base_disabled": "sys_component_base_07",
|
|
29
29
|
"ui_cpnt_textfield_text_hint": "sys_text_grey_02",
|
|
30
30
|
"ui_cpnt_textfield_text_typed": "sys_text_grey_01",
|
|
31
31
|
"ui_cpnt_textfield_text_error": "sys_text_error_01",
|
|
@@ -127,11 +127,11 @@
|
|
|
127
127
|
"ui_26": "sys_widget_white",
|
|
128
128
|
"ui_27": "sys_widget_white",
|
|
129
129
|
"ui_cpnt_divider": "sys_border_line_01",
|
|
130
|
-
"ui_cpnt_select_border_normal": "
|
|
131
|
-
"ui_cpnt_select_border_focus": "
|
|
132
|
-
"ui_cpnt_select_base_normal": "
|
|
133
|
-
"ui_cpnt_select_base_disabled": "
|
|
134
|
-
"ui_cpnt_select_text_hint": "
|
|
130
|
+
"ui_cpnt_select_border_normal": "sys_border_line_10",
|
|
131
|
+
"ui_cpnt_select_border_focus": "sys_border_line_02",
|
|
132
|
+
"ui_cpnt_select_base_normal": "sys_component_base_06",
|
|
133
|
+
"ui_cpnt_select_base_disabled": "sys_component_base_07",
|
|
134
|
+
"ui_cpnt_select_text_hint": "sys_text_grey_01",
|
|
135
135
|
"ui_cpnt_select_text_selected": "sys_text_grey_01",
|
|
136
136
|
"ui_cpnt_select_text_disabled": "sys_text_grey_03",
|
|
137
137
|
"ui_cpnt_select_icon_01": "sys_widget_grey_02",
|
|
@@ -200,11 +200,11 @@
|
|
|
200
200
|
"ui_cpnt_chip_fill_base_active_02": "sys_component_base_01",
|
|
201
201
|
"ui_cpnt_chip_fill_text_active_02": "sys_text_grey_01",
|
|
202
202
|
"ui_cpnt_chip_fill_icon_active_02": "sys_widget_grey_01",
|
|
203
|
-
"ui_cpnt_dropdown_border_normal": "
|
|
204
|
-
"ui_cpnt_dropdown_border_focus": "
|
|
205
|
-
"ui_cpnt_dropdown_base_normal": "
|
|
206
|
-
"ui_cpnt_dropdown_base_disabled": "
|
|
207
|
-
"ui_cpnt_dropdown_text_hint": "
|
|
203
|
+
"ui_cpnt_dropdown_border_normal": "sys_border_line_10",
|
|
204
|
+
"ui_cpnt_dropdown_border_focus": "sys_border_line_02",
|
|
205
|
+
"ui_cpnt_dropdown_base_normal": "sys_component_base_06",
|
|
206
|
+
"ui_cpnt_dropdown_base_disabled": "sys_component_base_07",
|
|
207
|
+
"ui_cpnt_dropdown_text_hint": "sys_text_grey_01",
|
|
208
208
|
"ui_cpnt_dropdown_text_selected": "sys_text_grey_01",
|
|
209
209
|
"ui_cpnt_dropdown_text_disabled": "sys_text_grey_03",
|
|
210
210
|
"ui_cpnt_dropdown_icon_01": "sys_widget_grey_02",
|
|
@@ -405,27 +405,27 @@
|
|
|
405
405
|
"ui_cpnt_textfield_text_darktheme_disabled": "sys_text_grey_darktheme_03",
|
|
406
406
|
"ui_cpnt_textfield_icon_darktheme_default": "sys_widget_grey_darktheme_02",
|
|
407
407
|
"ui_cpnt_textfield_icon_darktheme_disabled": "sys_widget_grey_darktheme_03",
|
|
408
|
-
"ui_cpnt_textfield_border_darktheme_normal": "
|
|
409
|
-
"ui_cpnt_textfield_border_darktheme_focus": "
|
|
408
|
+
"ui_cpnt_textfield_border_darktheme_normal": "sys_border_line_darktheme_07",
|
|
409
|
+
"ui_cpnt_textfield_border_darktheme_focus": "sys_border_line_darktheme_02",
|
|
410
410
|
"ui_cpnt_textfield_border_darktheme_error": "sys_border_line_darktheme_03",
|
|
411
411
|
"ui_cpnt_textfield_text_darktheme_error": "sys_text_error_darktheme_01",
|
|
412
|
-
"ui_cpnt_textfield_base_darktheme_disabled": "
|
|
412
|
+
"ui_cpnt_textfield_base_darktheme_disabled": "sys_component_base_darktheme_06",
|
|
413
413
|
"ui_cpnt_select_text_darktheme_enabled": "sys_text_grey_darktheme_01",
|
|
414
|
-
"ui_cpnt_select_text_darktheme_hint": "
|
|
414
|
+
"ui_cpnt_select_text_darktheme_hint": "sys_text_grey_darktheme_01",
|
|
415
415
|
"ui_cpnt_select_text_darktheme_disabled": "sys_text_grey_darktheme_03",
|
|
416
416
|
"ui_cpnt_select_icon_darktheme_default": "sys_widget_grey_darktheme_02",
|
|
417
417
|
"ui_cpnt_select_icon_darktheme_disabled": "sys_widget_grey_darktheme_03",
|
|
418
|
-
"ui_cpnt_select_border_darktheme_normal": "
|
|
419
|
-
"ui_cpnt_select_border_darktheme_focus": "
|
|
420
|
-
"ui_cpnt_select_base_darktheme_disabled": "
|
|
418
|
+
"ui_cpnt_select_border_darktheme_normal": "sys_border_line_darktheme_07",
|
|
419
|
+
"ui_cpnt_select_border_darktheme_focus": "sys_border_line_darktheme_02",
|
|
420
|
+
"ui_cpnt_select_base_darktheme_disabled": "sys_component_base_darktheme_06",
|
|
421
421
|
"ui_cpnt_dropdown_text_darktheme_enabled": "sys_text_grey_darktheme_01",
|
|
422
|
-
"ui_cpnt_dropdown_text_darktheme_hint": "
|
|
422
|
+
"ui_cpnt_dropdown_text_darktheme_hint": "sys_text_grey_darktheme_01",
|
|
423
423
|
"ui_cpnt_dropdown_text_darktheme_disabled": "sys_text_grey_darktheme_03",
|
|
424
424
|
"ui_cpnt_dropdown_icon_darktheme_default": "sys_widget_grey_darktheme_02",
|
|
425
425
|
"ui_cpnt_dropdown_icon_darktheme_disabled": "sys_widget_grey_darktheme_03",
|
|
426
|
-
"ui_cpnt_dropdown_border_darktheme_normal": "
|
|
427
|
-
"ui_cpnt_dropdown_border_darktheme_focus": "
|
|
428
|
-
"ui_cpnt_dropdown_base_darktheme_disabled": "
|
|
426
|
+
"ui_cpnt_dropdown_border_darktheme_normal": "sys_border_line_darktheme_07",
|
|
427
|
+
"ui_cpnt_dropdown_border_darktheme_focus": "sys_border_line_darktheme_02",
|
|
428
|
+
"ui_cpnt_dropdown_base_darktheme_disabled": "sys_component_base_darktheme_06",
|
|
429
429
|
"ui_cpnt_sheet_base": "sys_cpnt_sheet_base_01",
|
|
430
430
|
"ui_cpnt_button_icon_darktheme_default": "sys_widget_grey_darktheme_02",
|
|
431
431
|
"ui_cpnt_button_icon_darktheme_primary": "usr_widget_brand_primary_darktheme_01",
|
|
@@ -485,12 +485,31 @@
|
|
|
485
485
|
"ui_cpnt_dropdown_text_white_enabled": "sys_text_white",
|
|
486
486
|
"ui_cpnt_dropdown_text_white_hint": "sys_text_white",
|
|
487
487
|
"ui_cpnt_dropdown_icon_white_default": "sys_widget_white",
|
|
488
|
-
"ui_cpnt_dropdown_border_white_focus": "
|
|
488
|
+
"ui_cpnt_dropdown_border_white_focus": "sys_border_line_white",
|
|
489
489
|
"ui_cpnt_dropdown_base_white_normal": "sys_component_base_white_opacity00",
|
|
490
490
|
"ui_profile_image_border_brandprimary": "usr_brand_primary",
|
|
491
491
|
"ui_cpnt_dropdown_base_white_disabled": "sys_component_base_white_opacity10",
|
|
492
492
|
"ui_cpnt_dropdown_border_white_disabled": "sys_border_line_white_opacity50",
|
|
493
493
|
"ui_cpnt_sheet_base_white_opacity00": "sys_component_base_white_opacity00",
|
|
494
494
|
"ui_dimmed_01": "sys_background_dimmed_20",
|
|
495
|
-
"ui_cpnt_reactionbutton_base_01": "sys_component_base_07"
|
|
495
|
+
"ui_cpnt_reactionbutton_base_01": "sys_component_base_07",
|
|
496
|
+
"ui_cpnt_textfield_border_disabled": "sys_border_line_07",
|
|
497
|
+
"ui_cpnt_dropdown_border_disabled": "sys_border_line_07",
|
|
498
|
+
"ui_cpnt_select_border_disabled": "sys_border_line_07",
|
|
499
|
+
"ui_cpnt_dropdown_base_darktheme_normal": "sys_component_base_darktheme_01",
|
|
500
|
+
"ui_cpnt_textfield_text_readonly": "sys_text_grey_03",
|
|
501
|
+
"ui_cpnt_select_text_readonly": "sys_text_grey_03",
|
|
502
|
+
"ui_cpnt_dropdown_text_readonly": "sys_text_grey_03",
|
|
503
|
+
"ui_cpnt_select_text_darktheme_readonly": "sys_text_grey_darktheme_03",
|
|
504
|
+
"ui_cpnt_dropdown_text_darktheme_readonly": "sys_text_grey_darktheme_03",
|
|
505
|
+
"ui_cpnt_dropdown_text_white_readonly": "sys_text_grey_03",
|
|
506
|
+
"ui_cpnt_blogtextfield_base_01": "sys_component_base_white_opacity00",
|
|
507
|
+
"ui_cpnt_textfield_base_darktheme_normal": "sys_component_base_darktheme_01",
|
|
508
|
+
"ui_cpnt_dropdown_border_darktheme_disabled": "sys_border_line_darktheme_06",
|
|
509
|
+
"ui_cpnt_select_border_darktheme_disabled": "sys_border_line_darktheme_06",
|
|
510
|
+
"ui_cpnt_dropdown_text_white_disabled": "sys_text_grey_03",
|
|
511
|
+
"ui_cpnt_select_base_darktheme_normal": "sys_component_base_darktheme_01",
|
|
512
|
+
"ui_hero_title_text": "sys_text_white",
|
|
513
|
+
"ui_hero_description_text": "sys_text_white",
|
|
514
|
+
"ui_cpnt_divider_area": "sys_border_area_01"
|
|
496
515
|
}
|
|
@@ -1,5 +1,64 @@
|
|
|
1
1
|
declare const colorSet: {
|
|
2
|
-
readonly
|
|
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
|
+
grey30: string;
|
|
57
|
+
opacity95: string;
|
|
58
|
+
darkgrey30: string;
|
|
59
|
+
opacity40: string;
|
|
60
|
+
};
|
|
61
|
+
readonly PaletteColor_light: {
|
|
3
62
|
sys_container_background_01: string;
|
|
4
63
|
sys_container_background_02: string;
|
|
5
64
|
sys_container_background_03: string;
|
|
@@ -160,10 +219,18 @@ declare const colorSet: {
|
|
|
160
219
|
sys_border_line_white_opacity50: string;
|
|
161
220
|
sys_background_dimmed_02: string;
|
|
162
221
|
sys_border_line_08: string;
|
|
163
|
-
|
|
164
|
-
|
|
222
|
+
sys_component_base_06: string;
|
|
223
|
+
sys_component_base_07: string;
|
|
224
|
+
sys_border_line_09: string;
|
|
225
|
+
sys_component_base_darktheme_04: string;
|
|
226
|
+
sys_border_line_10: string;
|
|
227
|
+
sys_component_base_darktheme_05: string;
|
|
228
|
+
sys_border_line_darktheme_05: string;
|
|
229
|
+
sys_component_base_darktheme_06: string;
|
|
230
|
+
sys_border_line_darktheme_06: string;
|
|
231
|
+
sys_border_line_darktheme_07: string;
|
|
165
232
|
};
|
|
166
|
-
readonly
|
|
233
|
+
readonly PaletteColor_Dark: {
|
|
167
234
|
sys_container_background_01: string;
|
|
168
235
|
sys_container_background_02: string;
|
|
169
236
|
sys_container_background_03: string;
|
|
@@ -324,66 +391,16 @@ declare const colorSet: {
|
|
|
324
391
|
sys_border_line_white_opacity50: string;
|
|
325
392
|
sys_background_dimmed_02: string;
|
|
326
393
|
sys_border_line_08: string;
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
red500: string;
|
|
338
|
-
grey900: string;
|
|
339
|
-
grey500: string;
|
|
340
|
-
grey400: string;
|
|
341
|
-
grey100: string;
|
|
342
|
-
grey50: string;
|
|
343
|
-
white: string;
|
|
344
|
-
black: string;
|
|
345
|
-
darkblue500: string;
|
|
346
|
-
grey950: string;
|
|
347
|
-
darkgrey900: string;
|
|
348
|
-
darkgrey500: string;
|
|
349
|
-
darkgrey400: string;
|
|
350
|
-
darkgrey100: string;
|
|
351
|
-
darkgrey50: string;
|
|
352
|
-
darkred500: string;
|
|
353
|
-
darkgreen700: string;
|
|
354
|
-
orange500: string;
|
|
355
|
-
darkorange500: string;
|
|
356
|
-
opacity00: string;
|
|
357
|
-
opacity20: string;
|
|
358
|
-
opacity30: string;
|
|
359
|
-
opacity65: string;
|
|
360
|
-
darkgreen500: string;
|
|
361
|
-
grey70: string;
|
|
362
|
-
navy500: string;
|
|
363
|
-
lightgreen500: string;
|
|
364
|
-
pink500: string;
|
|
365
|
-
darkgrey70: string;
|
|
366
|
-
darknavy500: string;
|
|
367
|
-
darkpink500: string;
|
|
368
|
-
darklightgreen500: string;
|
|
369
|
-
opacity10: string;
|
|
370
|
-
grey600: string;
|
|
371
|
-
darkgrey600: string;
|
|
372
|
-
skyblue500: string;
|
|
373
|
-
skyblue300: string;
|
|
374
|
-
pink300: string;
|
|
375
|
-
lightpink500: string;
|
|
376
|
-
darkblue300: string;
|
|
377
|
-
darkblue700: string;
|
|
378
|
-
darkgreen300: string;
|
|
379
|
-
darkskyblue500: string;
|
|
380
|
-
navy100: string;
|
|
381
|
-
darknavy100: string;
|
|
382
|
-
opacity80: string;
|
|
383
|
-
opacity50: string;
|
|
384
|
-
grey30: string;
|
|
385
|
-
opacity95: string;
|
|
386
|
-
darkgrey30: string;
|
|
394
|
+
sys_component_base_06: string;
|
|
395
|
+
sys_component_base_07: string;
|
|
396
|
+
sys_border_line_09: string;
|
|
397
|
+
sys_component_base_darktheme_04: string;
|
|
398
|
+
sys_border_line_10: string;
|
|
399
|
+
sys_component_base_darktheme_05: string;
|
|
400
|
+
sys_border_line_darktheme_05: string;
|
|
401
|
+
sys_component_base_darktheme_06: string;
|
|
402
|
+
sys_border_line_darktheme_06: string;
|
|
403
|
+
sys_border_line_darktheme_07: string;
|
|
387
404
|
};
|
|
388
405
|
readonly UIColor: {
|
|
389
406
|
ui_cpnt_button_fill_base_primary: string;
|
|
@@ -880,6 +897,25 @@ declare const colorSet: {
|
|
|
880
897
|
ui_cpnt_sheet_base_white_opacity00: string;
|
|
881
898
|
ui_dimmed_01: string;
|
|
882
899
|
ui_cpnt_reactionbutton_base_01: string;
|
|
900
|
+
ui_cpnt_textfield_border_disabled: string;
|
|
901
|
+
ui_cpnt_dropdown_border_disabled: string;
|
|
902
|
+
ui_cpnt_select_border_disabled: string;
|
|
903
|
+
ui_cpnt_dropdown_base_darktheme_normal: string;
|
|
904
|
+
ui_cpnt_textfield_text_readonly: string;
|
|
905
|
+
ui_cpnt_select_text_readonly: string;
|
|
906
|
+
ui_cpnt_dropdown_text_readonly: string;
|
|
907
|
+
ui_cpnt_select_text_darktheme_readonly: string;
|
|
908
|
+
ui_cpnt_dropdown_text_darktheme_readonly: string;
|
|
909
|
+
ui_cpnt_dropdown_text_white_readonly: string;
|
|
910
|
+
ui_cpnt_blogtextfield_base_01: string;
|
|
911
|
+
ui_cpnt_textfield_base_darktheme_normal: string;
|
|
912
|
+
ui_cpnt_dropdown_border_darktheme_disabled: string;
|
|
913
|
+
ui_cpnt_select_border_darktheme_disabled: string;
|
|
914
|
+
ui_cpnt_dropdown_text_white_disabled: string;
|
|
915
|
+
ui_cpnt_select_base_darktheme_normal: string;
|
|
916
|
+
ui_hero_title_text: string;
|
|
917
|
+
ui_hero_description_text: string;
|
|
918
|
+
ui_cpnt_divider_area: string;
|
|
883
919
|
};
|
|
884
920
|
};
|
|
885
921
|
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 PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
|
|
8
|
-
var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
|
|
9
7
|
var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
|
|
8
|
+
var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
|
|
9
|
+
var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
|
|
10
10
|
var UIColor_json_1 = __importDefault(require("./UIColor.json"));
|
|
11
11
|
var colorSet = {
|
|
12
|
-
PaletteColor_Dark: PaletteColor_Dark_json_1.default,
|
|
13
|
-
PaletteColor_light: PaletteColor_light_json_1.default,
|
|
14
12
|
SemanticColor: SemanticColor_json_1.default,
|
|
13
|
+
PaletteColor_light: PaletteColor_light_json_1.default,
|
|
14
|
+
PaletteColor_Dark: PaletteColor_Dark_json_1.default,
|
|
15
15
|
UIColor: UIColor_json_1.default
|
|
16
16
|
};
|
|
17
17
|
exports.default = colorSet;
|
|
@@ -493,4 +493,23 @@ export interface UITheme {
|
|
|
493
493
|
ui_cpnt_sheet_base_white_opacity00: string;
|
|
494
494
|
ui_dimmed_01: string;
|
|
495
495
|
ui_cpnt_reactionbutton_base_01: string;
|
|
496
|
+
ui_cpnt_textfield_border_disabled: string;
|
|
497
|
+
ui_cpnt_dropdown_border_disabled: string;
|
|
498
|
+
ui_cpnt_select_border_disabled: string;
|
|
499
|
+
ui_cpnt_dropdown_base_darktheme_normal: string;
|
|
500
|
+
ui_cpnt_textfield_text_readonly: string;
|
|
501
|
+
ui_cpnt_select_text_readonly: string;
|
|
502
|
+
ui_cpnt_dropdown_text_readonly: string;
|
|
503
|
+
ui_cpnt_select_text_darktheme_readonly: string;
|
|
504
|
+
ui_cpnt_dropdown_text_darktheme_readonly: string;
|
|
505
|
+
ui_cpnt_dropdown_text_white_readonly: string;
|
|
506
|
+
ui_cpnt_blogtextfield_base_01: string;
|
|
507
|
+
ui_cpnt_textfield_base_darktheme_normal: string;
|
|
508
|
+
ui_cpnt_dropdown_border_darktheme_disabled: string;
|
|
509
|
+
ui_cpnt_select_border_darktheme_disabled: string;
|
|
510
|
+
ui_cpnt_dropdown_text_white_disabled: string;
|
|
511
|
+
ui_cpnt_select_base_darktheme_normal: string;
|
|
512
|
+
ui_hero_title_text: string;
|
|
513
|
+
ui_hero_description_text: string;
|
|
514
|
+
ui_cpnt_divider_area: string;
|
|
496
515
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ForwardedRef } from 'react';
|
|
1
2
|
import { PDSTextType } from './text';
|
|
2
3
|
export declare type PDSValueOption = {
|
|
3
4
|
text: PDSTextType;
|
|
@@ -8,3 +9,4 @@ export declare type PDSTabItemOption = {
|
|
|
8
9
|
isActive: boolean;
|
|
9
10
|
onClick?: () => void;
|
|
10
11
|
};
|
|
12
|
+
export declare type ForwardedRefType<T> = ForwardedRef<T | null>;
|
|
@@ -2,3 +2,4 @@ import fillIcons from '../assets/icons/fill';
|
|
|
2
2
|
import lineIcons from '../assets/icons/line';
|
|
3
3
|
export declare type FillIconNameKeys = keyof typeof fillIcons;
|
|
4
4
|
export declare type LineIconNameKeys = keyof typeof lineIcons;
|
|
5
|
+
export declare type PDSIconType = FillIconNameKeys | LineIconNameKeys;
|
|
@@ -204,15 +204,15 @@ function TextFieldBase(_a) {
|
|
|
204
204
|
return react_1.default.createElement(react_1.default.Fragment, null, S_TextFieldBase());
|
|
205
205
|
}
|
|
206
206
|
var S_InputWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n height: 100%;\n width: 100%;\n"], ["\n align-items: center;\n display: flex;\n height: 100%;\n width: 100%;\n"])));
|
|
207
|
-
var read_only = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n color: ", ";\n
|
|
207
|
+
var read_only = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
208
208
|
var theme = _a.theme, colorTheme = _a.colorTheme;
|
|
209
209
|
return colorTheme &&
|
|
210
|
-
{
|
|
210
|
+
{
|
|
211
|
+
none: theme.ui_cpnt_textfield_text_disabled,
|
|
212
|
+
dark: theme.ui_cpnt_textfield_text_darktheme_disabled
|
|
213
|
+
}[colorTheme];
|
|
211
214
|
});
|
|
212
|
-
var disabled = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n color: ", ";\n
|
|
213
|
-
var theme = _a.theme;
|
|
214
|
-
return theme.ui_cpnt_textfield_text_disabled;
|
|
215
|
-
}, function (_a) {
|
|
215
|
+
var disabled = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n color: ", ";\n pointer-events: none;\n"], ["\n color: ", ";\n pointer-events: none;\n"])), function (_a) {
|
|
216
216
|
var theme = _a.theme, colorTheme = _a.colorTheme;
|
|
217
217
|
return colorTheme &&
|
|
218
218
|
{
|
|
@@ -220,13 +220,16 @@ var disabled = (0, styled_components_1.css)(templateObject_3 || (templateObject_
|
|
|
220
220
|
dark: theme.ui_cpnt_textfield_text_darktheme_disabled
|
|
221
221
|
}[colorTheme];
|
|
222
222
|
});
|
|
223
|
-
var basicStyle = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: inline-flex;\n justify-content: center;\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n height: 100%;\n line-height: ", ";\n outline: 0;\n overflow: hidden;\n padding: 0;\n width: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n &::placeholder {\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n }\n\n ", ";\n ", "\n"], ["\n display: inline-flex;\n justify-content: center;\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n height: 100%;\n line-height: ", ";\n outline: 0;\n overflow: hidden;\n padding: 0;\n width: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n &::placeholder {\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n }\n\n ", ";\n ", "\n"])), function (_a) {
|
|
223
|
+
var basicStyle = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: inline-flex;\n justify-content: center;\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n color: ", ";\n cursor: ", ";\n font-size: ", ";\n font-weight: ", ";\n height: 100%;\n line-height: ", ";\n outline: 0;\n overflow: hidden;\n padding: 0;\n width: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n &::placeholder {\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n }\n\n ", ";\n ", "\n"], ["\n display: inline-flex;\n justify-content: center;\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n color: ", ";\n cursor: ", ";\n font-size: ", ";\n font-weight: ", ";\n height: 100%;\n line-height: ", ";\n outline: 0;\n overflow: hidden;\n padding: 0;\n width: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n &::placeholder {\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n }\n\n ", ";\n ", "\n"])), function (_a) {
|
|
224
224
|
var theme = _a.theme, colorTheme = _a.colorTheme;
|
|
225
225
|
return colorTheme &&
|
|
226
226
|
{
|
|
227
227
|
none: theme.ui_cpnt_textfield_text_typed,
|
|
228
228
|
dark: theme.ui_cpnt_textfield_text_darktheme_enabled
|
|
229
229
|
}[colorTheme];
|
|
230
|
+
}, function (_a) {
|
|
231
|
+
var state = _a.state;
|
|
232
|
+
return (state === 'disabled' ? 'not-allowed' : 'text');
|
|
230
233
|
}, function (_a) {
|
|
231
234
|
var textSize = _a.textSize;
|
|
232
235
|
return common_1.desktopFontSize[textSize];
|
|
@@ -37,19 +37,19 @@ declare type Props = {
|
|
|
37
37
|
quickActionBtn1State?: 'normal' | 'disabled';
|
|
38
38
|
quickActionBtn2State?: 'normal' | 'disabled';
|
|
39
39
|
quickActionBtn3State?: 'normal' | 'disabled';
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
tBtnMode?: 'none' | 'tbtn_amount1' | 'tbtn_amount2' | 'tbtn_amount3';
|
|
41
|
+
tBtn1Text?: TFunctionResult;
|
|
42
|
+
tBtn2Text?: TFunctionResult;
|
|
43
|
+
tBtn3Text?: TFunctionResult;
|
|
44
44
|
emptyText?: TFunctionResult;
|
|
45
45
|
scrollMode?: 'infinite' | 'none' | 'page';
|
|
46
46
|
scrollVisibleType?: 'moving' | 'hidden' | 'visible';
|
|
47
47
|
onChangeDropdown1?: (value: PDSValueOption) => void;
|
|
48
48
|
onChangeDropdown2?: (value: PDSValueOption) => void;
|
|
49
49
|
onChangeDropdown3?: (value: PDSValueOption) => void;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
onClickTBtn1?: () => void;
|
|
51
|
+
onClickTBtn2?: () => void;
|
|
52
|
+
onClickTBtn3?: () => void;
|
|
53
53
|
onClickQuickActionBtn1?: (id: number) => void;
|
|
54
54
|
onClickQuickActionBtn2?: (id: number) => void;
|
|
55
55
|
onClickQuickActionBtn3?: (id: number) => void;
|
|
@@ -57,6 +57,20 @@ declare type Props = {
|
|
|
57
57
|
onSelect?: (ids: number[]) => void;
|
|
58
58
|
selectedIds?: number[];
|
|
59
59
|
maintainIds?: number[];
|
|
60
|
+
/** @deprecated tBtnMode를 대신 사용하세요. */
|
|
61
|
+
mBtnMode?: 'none' | 'mbtn_amount1' | 'mbtn_amount2' | 'mbtn_amount3';
|
|
62
|
+
/** @deprecated tBtn1Text를 대신 사용하세요. */
|
|
63
|
+
mBtn1Text?: TFunctionResult;
|
|
64
|
+
/** @deprecated tBtn2Text를 대신 사용하세요. */
|
|
65
|
+
mBtn2Text?: TFunctionResult;
|
|
66
|
+
/** @deprecated tBtn3Text를 대신 사용하세요. */
|
|
67
|
+
mBtn3Text?: TFunctionResult;
|
|
68
|
+
/** @deprecated onClickTBtn1를 대신 사용하세요. */
|
|
69
|
+
onClickMBtn1?: () => void;
|
|
70
|
+
/** @deprecated onClickTBtn2를 대신 사용하세요. */
|
|
71
|
+
onClickMBtn2?: () => void;
|
|
72
|
+
/** @deprecated onClickTBtn3를 대신 사용하세요. */
|
|
73
|
+
onClickMBtn3?: () => void;
|
|
60
74
|
};
|
|
61
|
-
declare function AdminList({ selectionMode, headerRowMode, column2HeaderText, column3HeaderText, column3Width, column4HeaderText, column4Width, column5HeaderText, column5Width, column6HeaderText, column6Width, column7HeaderText, column7Width, column8HeaderText, column8Width, column9HeaderText, column9Width, column10HeaderText, column10Width, dropdownMode, dropdown1DefaultText, dropdown2DefaultText, dropdown3DefaultText, dropdown1ValueArray, dropdown2ValueArray, dropdown3ValueArray, quickActionBtnMode, quickActionBtn1Text, quickActionBtn2Text, quickActionBtn3Text, quickActionBtnType, quickActionBtn1State, quickActionBtn2State, quickActionBtn3State,
|
|
75
|
+
declare function AdminList({ selectionMode, headerRowMode, column2HeaderText, column3HeaderText, column3Width, column4HeaderText, column4Width, column5HeaderText, column5Width, column6HeaderText, column6Width, column7HeaderText, column7Width, column8HeaderText, column8Width, column9HeaderText, column9Width, column10HeaderText, column10Width, dropdownMode, dropdown1DefaultText, dropdown2DefaultText, dropdown3DefaultText, dropdown1ValueArray, dropdown2ValueArray, dropdown3ValueArray, quickActionBtnMode, quickActionBtn1Text, quickActionBtn2Text, quickActionBtn3Text, quickActionBtnType, quickActionBtn1State, quickActionBtn2State, quickActionBtn3State, tBtnMode, tBtn1Text, tBtn2Text, tBtn3Text, emptyText, scrollMode, scrollVisibleType, selectedIds, maintainIds, children, onChangeDropdown1, onChangeDropdown2, onChangeDropdown3, onClickTBtn1, onClickTBtn2, onClickTBtn3, onClickQuickActionBtn1, onClickQuickActionBtn2, onClickQuickActionBtn3, onSelect, mBtnMode, mBtn1Text, mBtn2Text, mBtn3Text, onClickMBtn1, onClickMBtn2, onClickMBtn3 }: Props): JSX.Element;
|
|
62
76
|
export default AdminList;
|
|
@@ -53,7 +53,7 @@ var TextLabel_1 = require("../TextLabel");
|
|
|
53
53
|
var BulkActionBar_1 = __importDefault(require("./BulkActionBar"));
|
|
54
54
|
var HeaderRow_1 = __importDefault(require("./HeaderRow"));
|
|
55
55
|
function AdminList(_a) {
|
|
56
|
-
var _b = _a.selectionMode, selectionMode = _b === void 0 ? 'multi' : _b, _c = _a.headerRowMode, headerRowMode = _c === void 0 ? 'use' : _c, column2HeaderText = _a.column2HeaderText, column3HeaderText = _a.column3HeaderText, _d = _a.column3Width, column3Width = _d === void 0 ? 'small' : _d, column4HeaderText = _a.column4HeaderText, _e = _a.column4Width, column4Width = _e === void 0 ? 'small' : _e, column5HeaderText = _a.column5HeaderText, _f = _a.column5Width, column5Width = _f === void 0 ? 'small' : _f, column6HeaderText = _a.column6HeaderText, _g = _a.column6Width, column6Width = _g === void 0 ? 'small' : _g, column7HeaderText = _a.column7HeaderText, _h = _a.column7Width, column7Width = _h === void 0 ? 'small' : _h, column8HeaderText = _a.column8HeaderText, _j = _a.column8Width, column8Width = _j === void 0 ? 'small' : _j, column9HeaderText = _a.column9HeaderText, _k = _a.column9Width, column9Width = _k === void 0 ? 'small' : _k, column10HeaderText = _a.column10HeaderText, _l = _a.column10Width, column10Width = _l === void 0 ? 'small' : _l, _m = _a.dropdownMode, dropdownMode = _m === void 0 ? 'dropdown_amount1' : _m, dropdown1DefaultText = _a.dropdown1DefaultText, dropdown2DefaultText = _a.dropdown2DefaultText, dropdown3DefaultText = _a.dropdown3DefaultText, dropdown1ValueArray = _a.dropdown1ValueArray, dropdown2ValueArray = _a.dropdown2ValueArray, dropdown3ValueArray = _a.dropdown3ValueArray, _o = _a.quickActionBtnMode, quickActionBtnMode = _o === void 0 ? 'btn_amount2' : _o, quickActionBtn1Text = _a.quickActionBtn1Text, quickActionBtn2Text = _a.quickActionBtn2Text, quickActionBtn3Text = _a.quickActionBtn3Text, _p = _a.quickActionBtnType, quickActionBtnType = _p === void 0 ? 'fix' : _p, _q = _a.quickActionBtn1State, quickActionBtn1State = _q === void 0 ? 'normal' : _q, _r = _a.quickActionBtn2State, quickActionBtn2State = _r === void 0 ? 'normal' : _r, _s = _a.quickActionBtn3State, quickActionBtn3State = _s === void 0 ? 'normal' : _s,
|
|
56
|
+
var _b = _a.selectionMode, selectionMode = _b === void 0 ? 'multi' : _b, _c = _a.headerRowMode, headerRowMode = _c === void 0 ? 'use' : _c, column2HeaderText = _a.column2HeaderText, column3HeaderText = _a.column3HeaderText, _d = _a.column3Width, column3Width = _d === void 0 ? 'small' : _d, column4HeaderText = _a.column4HeaderText, _e = _a.column4Width, column4Width = _e === void 0 ? 'small' : _e, column5HeaderText = _a.column5HeaderText, _f = _a.column5Width, column5Width = _f === void 0 ? 'small' : _f, column6HeaderText = _a.column6HeaderText, _g = _a.column6Width, column6Width = _g === void 0 ? 'small' : _g, column7HeaderText = _a.column7HeaderText, _h = _a.column7Width, column7Width = _h === void 0 ? 'small' : _h, column8HeaderText = _a.column8HeaderText, _j = _a.column8Width, column8Width = _j === void 0 ? 'small' : _j, column9HeaderText = _a.column9HeaderText, _k = _a.column9Width, column9Width = _k === void 0 ? 'small' : _k, column10HeaderText = _a.column10HeaderText, _l = _a.column10Width, column10Width = _l === void 0 ? 'small' : _l, _m = _a.dropdownMode, dropdownMode = _m === void 0 ? 'dropdown_amount1' : _m, dropdown1DefaultText = _a.dropdown1DefaultText, dropdown2DefaultText = _a.dropdown2DefaultText, dropdown3DefaultText = _a.dropdown3DefaultText, dropdown1ValueArray = _a.dropdown1ValueArray, dropdown2ValueArray = _a.dropdown2ValueArray, dropdown3ValueArray = _a.dropdown3ValueArray, _o = _a.quickActionBtnMode, quickActionBtnMode = _o === void 0 ? 'btn_amount2' : _o, quickActionBtn1Text = _a.quickActionBtn1Text, quickActionBtn2Text = _a.quickActionBtn2Text, quickActionBtn3Text = _a.quickActionBtn3Text, _p = _a.quickActionBtnType, quickActionBtnType = _p === void 0 ? 'fix' : _p, _q = _a.quickActionBtn1State, quickActionBtn1State = _q === void 0 ? 'normal' : _q, _r = _a.quickActionBtn2State, quickActionBtn2State = _r === void 0 ? 'normal' : _r, _s = _a.quickActionBtn3State, quickActionBtn3State = _s === void 0 ? 'normal' : _s, tBtnMode = _a.tBtnMode, tBtn1Text = _a.tBtn1Text, tBtn2Text = _a.tBtn2Text, tBtn3Text = _a.tBtn3Text, emptyText = _a.emptyText, _t = _a.scrollMode, scrollMode = _t === void 0 ? 'infinite' : _t, _u = _a.scrollVisibleType, scrollVisibleType = _u === void 0 ? 'moving' : _u, selectedIds = _a.selectedIds, maintainIds = _a.maintainIds, children = _a.children, onChangeDropdown1 = _a.onChangeDropdown1, onChangeDropdown2 = _a.onChangeDropdown2, onChangeDropdown3 = _a.onChangeDropdown3, onClickTBtn1 = _a.onClickTBtn1, onClickTBtn2 = _a.onClickTBtn2, onClickTBtn3 = _a.onClickTBtn3, onClickQuickActionBtn1 = _a.onClickQuickActionBtn1, onClickQuickActionBtn2 = _a.onClickQuickActionBtn2, onClickQuickActionBtn3 = _a.onClickQuickActionBtn3, onSelect = _a.onSelect, _v = _a.mBtnMode, mBtnMode = _v === void 0 ? 'mbtn_amount1' : _v, mBtn1Text = _a.mBtn1Text, mBtn2Text = _a.mBtn2Text, mBtn3Text = _a.mBtn3Text, onClickMBtn1 = _a.onClickMBtn1, onClickMBtn2 = _a.onClickMBtn2, onClickMBtn3 = _a.onClickMBtn3;
|
|
57
57
|
var selectAllMethods = (0, react_hook_form_1.useForm)();
|
|
58
58
|
var checkboxMethods = (0, react_hook_form_1.useForm)();
|
|
59
59
|
var isAllCheckboxSelected = (0, react_hook_form_1.useWatch)({ name: 'all', control: selectAllMethods.control });
|
|
@@ -182,8 +182,27 @@ function AdminList(_a) {
|
|
|
182
182
|
}
|
|
183
183
|
return child;
|
|
184
184
|
});
|
|
185
|
+
var btnMode = function () {
|
|
186
|
+
if (tBtnMode) {
|
|
187
|
+
return tBtnMode;
|
|
188
|
+
}
|
|
189
|
+
if (mBtnMode) {
|
|
190
|
+
if (mBtnMode === 'none') {
|
|
191
|
+
return 'none';
|
|
192
|
+
}
|
|
193
|
+
if (mBtnMode === 'mbtn_amount1') {
|
|
194
|
+
return 'tbtn_amount1';
|
|
195
|
+
}
|
|
196
|
+
if (mBtnMode === 'mbtn_amount2') {
|
|
197
|
+
return 'tbtn_amount2';
|
|
198
|
+
}
|
|
199
|
+
if (mBtnMode === 'mbtn_amount3') {
|
|
200
|
+
return 'tbtn_amount3';
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
};
|
|
185
204
|
return (react_1.default.createElement(S_AdminList, null,
|
|
186
|
-
isBulkActionBarOpen && (react_1.default.createElement(BulkActionBar_1.default, { itemCount: totalItemCount, dropdownMode: dropdownMode, dropdown1DefaultText: dropdown1DefaultText, dropdown2DefaultText: dropdown2DefaultText, dropdown3DefaultText: dropdown3DefaultText, dropdown1ValueArray: dropdown1ValueArray, dropdown2ValueArray: dropdown2ValueArray, dropdown3ValueArray: dropdown3ValueArray,
|
|
205
|
+
isBulkActionBarOpen && (react_1.default.createElement(BulkActionBar_1.default, { itemCount: totalItemCount, dropdownMode: dropdownMode, dropdown1DefaultText: dropdown1DefaultText, dropdown2DefaultText: dropdown2DefaultText, dropdown3DefaultText: dropdown3DefaultText, dropdown1ValueArray: dropdown1ValueArray, dropdown2ValueArray: dropdown2ValueArray, dropdown3ValueArray: dropdown3ValueArray, tBtnMode: btnMode(), tBtn1Text: tBtn1Text || mBtn1Text, tBtn2Text: tBtn2Text || mBtn2Text, tBtn3Text: tBtn3Text || mBtn3Text, onChangeDropdown1: onChangeDropdown1, onChangeDropdown2: onChangeDropdown2, onChangeDropdown3: onChangeDropdown3, onClickTBtn1: onClickTBtn1 || onClickMBtn1, onClickTBtn2: onClickTBtn2 || onClickMBtn2, onClickTBtn3: onClickTBtn3 || onClickMBtn3 })),
|
|
187
206
|
headerRowMode === 'use' && (react_1.default.createElement(react_hook_form_1.FormProvider, __assign({}, selectAllMethods),
|
|
188
207
|
react_1.default.createElement("form", null,
|
|
189
208
|
react_1.default.createElement(HeaderRow_1.default, { selectionMode: selectionMode, column2HeaderText: column2HeaderText, column3HeaderText: column3HeaderText, column3HeaderWidth: column3Width, column4HeaderText: column4HeaderText, column4HeaderWidth: column4Width, column5HeaderText: column5HeaderText, column5HeaderWidth: column5Width, column6HeaderText: column6HeaderText, column6HeaderWidth: column6Width, column7HeaderText: column7HeaderText, column7HeaderWidth: column7Width, column8HeaderText: column8HeaderText, column8HeaderWidth: column8Width, column9HeaderText: column9HeaderText, column9HeaderWidth: column9Width, column10HeaderText: column10HeaderText, column10HeaderWidth: column10Width, quickActionBtnType: quickActionBtnType, quickActionButtonCount: getActionButtonCount(), onClickSelectAllCheckbox: handleSelectAllCheckbox })))),
|