@zohodesk/dot 1.0.0-temp-184 → 1.0.0-temp-181.9
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/.cli/propValidation_report.html +1 -1
- package/coverage/ExternalLink/ExternalLink.js.html +1 -1
- package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
- package/coverage/ExternalLink/index.html +1 -1
- package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
- package/coverage/ExternalLink/props/index.html +1 -1
- package/coverage/ExternalLink/props/propTypes.js.html +1 -1
- package/coverage/IconButton/IconButton.js.html +1 -1
- package/coverage/IconButton/IconButton.module.css.html +1 -1
- package/coverage/IconButton/index.html +1 -1
- package/coverage/IconButton/props/defaultProps.js.html +1 -1
- package/coverage/IconButton/props/index.html +1 -1
- package/coverage/IconButton/props/propTypes.js.html +1 -1
- package/coverage/Image/Image.js.html +1 -1
- package/coverage/Image/Image.module.css.html +1 -1
- package/coverage/Image/index.html +1 -1
- package/coverage/Image/props/defaultProps.js.html +1 -1
- package/coverage/Image/props/index.html +1 -1
- package/coverage/Image/props/propTypes.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
- package/coverage/avatar/AvatarWithTeam/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
- package/coverage/coverage-final.json +16 -16
- package/coverage/coverage-summary.json +16 -16
- package/coverage/index.html +1 -1
- package/es/ActionButton/ActionButton.module.css +192 -192
- package/es/AlphabeticList/AlphabeticList.module.css +57 -57
- package/es/AttachmentViewer/AttachmentViewer.module.css +352 -352
- package/es/ChannelIcon/ChannelIcon.module.css +225 -225
- package/es/Drawer/Drawer.js +4 -5
- package/es/ExternalLink/ExternalLink.js +4 -5
- package/es/FlipCard/FlipCard.js +14 -12
- package/es/FormAction/FormAction.module.css +100 -100
- package/es/IconButton/IconButton.js +4 -5
- package/es/IconButton/IconButton.module.css +22 -22
- package/es/Link/Link.js +8 -10
- package/es/Message/Message.js +4 -5
- package/es/TagWithIcon/TagWithIcon.module.css +66 -66
- package/es/ToastMessage/ToastMessage.js +2 -4
- package/es/actions/AutoClose.js +2 -1
- package/es/alert/AlertLookup/AlertLookup.js +14 -12
- package/es/avatar/AvatarClose/AvatarClose.js +7 -7
- package/es/avatar/AvatarCollision/AvatarCollision.js +7 -7
- package/es/avatar/AvatarIcon/AvatarIcon.js +4 -5
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/es/avatar/AvatarStatus/AvatarStatus.js +7 -8
- package/es/avatar/AvatarThread/AvatarThread.js +7 -7
- package/es/avatar/AvatarUser/AvatarUser.js +10 -9
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +17 -14
- package/es/common/dot_boxShadow.module.css +0 -2
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +28 -24
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -92
- package/es/form/fields/CheckBoxField/CheckBoxField.js +15 -13
- package/es/form/fields/CurrencyField/CurrencyField.js +14 -12
- package/es/form/fields/DateField/DateField.js +14 -14
- package/es/form/fields/MultiSelectField/MultiSelectField.js +13 -12
- package/es/form/fields/PhoneField/PhoneField.js +7 -7
- package/es/form/fields/RadioField/RadioField.js +18 -15
- package/es/form/fields/SelectField/SelectField.js +14 -14
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +13 -10
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
- package/es/form/fields/TextBoxField/TextBoxField.js +14 -14
- package/es/form/fields/TextEditorField/TextEditorField.js +11 -10
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +11 -10
- package/es/form/fields/TextareaField/TextareaField.js +14 -13
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/es/layout/SubtabLayout/SubtabLayout.js +4 -6
- package/es/layout/SubtabLayout/SubtabLayout.module.css +164 -164
- package/es/list/Comment/Comment.module.css +29 -29
- package/es/list/Dot/Dot.module.css +15 -15
- package/es/list/ListLayout/ListLayout.js +4 -5
- package/es/list/ListLayout/ListLayout.module.css +79 -79
- package/es/list/SecondaryText/AccountName.js +12 -12
- package/es/list/SecondaryText/ContactName.js +8 -9
- package/es/list/SecondaryText/Email.js +8 -8
- package/es/list/SecondaryText/PhoneNumber.js +8 -8
- package/es/list/SecondaryText/SecondaryText.js +4 -5
- package/es/list/SecondaryText/TicketId.js +7 -7
- package/es/list/Subject/Subject.js +7 -7
- package/es/list/Subject/Subject.module.css +34 -34
- package/es/list/Thread/Thread.js +2 -1
- package/es/list/Thread/Thread.module.css +42 -42
- package/es/list/status/StatusDropdown/StatusDropdown.js +142 -101
- package/es/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/lookup/Lookup/Lookup.js +4 -5
- package/es/lookup/header/Search/Search.js +5 -3
- package/es/v1/DotWrapper/DotWrapper.js +46 -0
- package/es/v1/DotWrapper/libraryChunks/dynamicImports.js +24 -0
- package/es/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Dark_Component.js +3 -0
- package/es/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Light_Component.js +3 -0
- package/es/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +3 -0
- package/es/v1/DotWrapper/libraryChunks/themes/component/green/Green_Dark_Component.js +3 -0
- package/es/v1/DotWrapper/libraryChunks/themes/component/green/Green_Light_Component.js +3 -0
- package/es/v1/DotWrapper/libraryChunks/themes/component/green/Green_PureDark_Component.js +3 -0
- package/es/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Dark_Component.js +3 -0
- package/es/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Light_Component.js +3 -0
- package/es/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +3 -0
- package/es/v1/DotWrapper/libraryChunks/themes/component/red/Red_Dark_Component.js +3 -0
- package/es/v1/DotWrapper/libraryChunks/themes/component/red/Red_Light_Component.js +3 -0
- package/es/v1/DotWrapper/libraryChunks/themes/component/red/Red_PureDark_Component.js +3 -0
- package/es/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +3 -0
- package/es/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +3 -0
- package/es/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +3 -0
- package/es/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Dark_Dot.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Light_Dot.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Dark_Dot.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Light_Dot.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Dark_SVG.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Light_SVG.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Dark_SVG.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Light_SVG.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +1 -0
- package/es/v1/DotWrapper/props/defaultProps.js +6 -0
- package/es/v1/DotWrapper/props/propTypes.js +9 -0
- package/es/v1/DotWrapper/utils/appearanceProperties.js +46 -0
- package/es/v1/DotWrapper/utils/errorMessage.js +7 -0
- package/es/v1/DotWrapper/utils/importFiles.js +30 -0
- package/es/v1/DotWrapper/utils/sizeProperties.js +12 -0
- package/es/v1/DotWrapper/utils/themeProperties.js +220 -0
- package/es/v1/Drawer/Drawer.js +4 -5
- package/es/v1/ExternalLink/ExternalLink.js +4 -5
- package/es/v1/FlipCard/FlipCard.js +14 -12
- package/es/v1/GlobalNotification/GlobalNotification.js +6 -7
- package/es/v1/IconButton/IconButton.js +4 -5
- package/es/v1/Link/Link.js +8 -10
- package/es/v1/Message/Message.js +4 -5
- package/es/v1/ToastMessage/ToastMessage.js +2 -4
- package/es/v1/actions/AutoClose.js +2 -1
- package/es/v1/alert/AlertLookup/AlertLookup.js +15 -15
- package/es/v1/avatar/AvatarClose/AvatarClose.js +7 -7
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +7 -7
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +4 -5
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +7 -8
- package/es/v1/avatar/AvatarThread/AvatarThread.js +7 -7
- package/es/v1/avatar/AvatarUser/AvatarUser.js +10 -9
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +17 -14
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +28 -24
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +15 -13
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +14 -12
- package/es/v1/form/fields/DateField/DateField.js +14 -14
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +13 -12
- package/es/v1/form/fields/PhoneField/PhoneField.js +7 -7
- package/es/v1/form/fields/RadioField/RadioField.js +18 -16
- package/es/v1/form/fields/SelectField/SelectField.js +14 -14
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +13 -10
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +14 -14
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +11 -10
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +11 -10
- package/es/v1/form/fields/TextareaField/TextareaField.js +14 -13
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +4 -6
- package/es/v1/list/ListLayout/ListLayout.js +4 -5
- package/es/v1/list/SecondaryText/AccountName.js +12 -12
- package/es/v1/list/SecondaryText/ContactName.js +8 -9
- package/es/v1/list/SecondaryText/Email.js +8 -8
- package/es/v1/list/SecondaryText/PhoneNumber.js +8 -8
- package/es/v1/list/SecondaryText/SecondaryText.js +4 -5
- package/es/v1/list/SecondaryText/TicketId.js +7 -7
- package/es/v1/list/Subject/Subject.js +7 -7
- package/es/v1/list/Thread/Thread.js +2 -1
- package/es/v1/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/v1/lookup/Lookup/Lookup.js +4 -5
- package/es/v1/lookup/header/Search/Search.js +5 -3
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +6 -7
- package/es/version2/GlobalNotification/GlobalNotification.js +6 -7
- package/es/version2/GlobalNotification/GlobalNotification.module.css +177 -177
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
- package/es/version2/lookup/AlertLookup/AlertLookup.js +15 -15
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +6 -7
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +132 -132
- package/lib/ActionButton/ActionButton.module.css +192 -192
- package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
- package/lib/AttachmentViewer/AttachmentViewer.module.css +352 -352
- package/lib/ChannelIcon/ChannelIcon.module.css +225 -225
- package/lib/FormAction/FormAction.module.css +100 -100
- package/lib/IconButton/IconButton.module.css +22 -22
- package/lib/TagWithIcon/TagWithIcon.module.css +66 -66
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/lib/common/dot_boxShadow.module.css +0 -2
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -92
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +164 -164
- package/lib/list/Comment/Comment.module.css +29 -29
- package/lib/list/Dot/Dot.module.css +15 -15
- package/lib/list/ListLayout/ListLayout.module.css +79 -79
- package/lib/list/Subject/Subject.module.css +34 -34
- package/lib/list/Thread/Thread.js +2 -1
- package/lib/list/Thread/Thread.module.css +42 -42
- package/lib/list/status/StatusDropdown/StatusDropdown.js +207 -162
- package/lib/v1/DotWrapper/DotWrapper.js +65 -0
- package/lib/v1/DotWrapper/libraryChunks/dynamicImports.js +43 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Dark_Component.js +7 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Light_Component.js +7 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +7 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/component/green/Green_Dark_Component.js +7 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/component/green/Green_Light_Component.js +7 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/component/green/Green_PureDark_Component.js +7 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Dark_Component.js +7 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Light_Component.js +7 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +7 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/component/red/Red_Dark_Component.js +7 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/component/red/Red_Light_Component.js +7 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/component/red/Red_PureDark_Component.js +7 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +7 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +7 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +7 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Dark_Dot.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Light_Dot.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Dark_Dot.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Light_Dot.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Dark_SVG.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Light_SVG.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Dark_SVG.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Light_SVG.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +3 -0
- package/lib/v1/DotWrapper/props/defaultProps.js +13 -0
- package/lib/v1/DotWrapper/props/propTypes.js +20 -0
- package/lib/v1/DotWrapper/utils/appearanceProperties.js +79 -0
- package/lib/v1/DotWrapper/utils/errorMessage.js +14 -0
- package/lib/v1/DotWrapper/utils/importFiles.js +39 -0
- package/lib/v1/DotWrapper/utils/sizeProperties.js +31 -0
- package/lib/v1/DotWrapper/utils/themeProperties.js +325 -0
- package/lib/v1/list/Thread/Thread.js +2 -1
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +177 -177
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +132 -132
- package/package.json +1 -1
- package/result.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/dark/themes/blue/blue_SVGTheme_DarkTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/light/themes/blue/blue_SVGTheme_LightTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/pureDark/themes/blue/blue_SVGTheme_PureDarkTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/dark/themes/green/green_SVGTheme_DarkTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/light/themes/green/green_SVGTheme_LightTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/pureDark/themes/green/green_SVGTheme_PureDarkTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/dark/themes/orange/orange_SVGTheme_DarkTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/light/themes/orange/orange_SVGTheme_LightTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/pureDark/themes/orange/orange_SVGTheme_PureDarkTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/dark/themes/red/red_SVGTheme_DarkTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/light/themes/red/red_SVGTheme_LightTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/pureDark/themes/red/red_SVGTheme_PureDarkTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/dark/themes/yellow/yellow_SVGTheme_DarkTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/light/themes/yellow/yellow_SVGTheme_LightTheme.module.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@zohodesk/svg/assets/Appearance/pureDark/themes/yellow/yellow_SVGTheme_PureDarkTheme.module.css';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const propTypes = {
|
|
3
|
+
$ui_appearance: PropTypes.oneOf(['light', 'dark', 'pureDark']),
|
|
4
|
+
$ui_theme: PropTypes.oneOf(['blue', 'green', 'orange', 'red', 'yellow']),
|
|
5
|
+
$ui_library: PropTypes.arrayOf(PropTypes.oneOf(['component', 'dot', 'svg'])),
|
|
6
|
+
$ui_baseZoomSize: PropTypes.number,
|
|
7
|
+
$ui_baseFontSize: PropTypes.number,
|
|
8
|
+
$method_wrapperRef: PropTypes.func
|
|
9
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export const appearanceImports = {
|
|
2
|
+
Lib_LightMode_Component: () => import(
|
|
3
|
+
/* webpackChunkName: 'Lib_LightMode_Component' */
|
|
4
|
+
'@zohodesk/components/assets/Appearance/light/mode/Component_LightMode.module.css'),
|
|
5
|
+
Lib_DarkMode_Component: () => import(
|
|
6
|
+
/* webpackChunkName: 'Lib_DarkMode_Component' */
|
|
7
|
+
'@zohodesk/components/assets/Appearance/dark/mode/Component_DarkMode.module.css'),
|
|
8
|
+
Lib_PureDarkMode_Component: () => import(
|
|
9
|
+
/* webpackChunkName: 'Lib_PureDarkMode_Component' */
|
|
10
|
+
'@zohodesk/components/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css'),
|
|
11
|
+
Lib_LightMode_Dot: () => import(
|
|
12
|
+
/* webpackChunkName: 'Lib_LightMode_Dot' */
|
|
13
|
+
'./../../../../assets/Appearance/light/mode/Dot_LightMode.module.css'),
|
|
14
|
+
Lib_DarkMode_Dot: () => import(
|
|
15
|
+
/* webpackChunkName: 'Lib_DarkMode_Dot' */
|
|
16
|
+
'./../../../../assets/Appearance/dark/mode/Dot_DarkMode.module.css'),
|
|
17
|
+
Lib_PureDarkMode_Dot: () => import(
|
|
18
|
+
/* webpackChunkName: 'Lib_PureDarkMode_Dot' */
|
|
19
|
+
'./../../../../assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css'),
|
|
20
|
+
Lib_LightMode_SVG: () => import(
|
|
21
|
+
/* webpackChunkName: 'Lib_LightMode_SVG' */
|
|
22
|
+
'@zohodesk/svg/assets/Appearance/light/mode/SVG_LightMode.module.css'),
|
|
23
|
+
Lib_DarkMode_SVG: () => import(
|
|
24
|
+
/* webpackChunkName: 'Lib_DarkMode_SVG' */
|
|
25
|
+
'@zohodesk/svg/assets/Appearance/dark/mode/SVG_DarkMode.module.css'),
|
|
26
|
+
Lib_PureDarkMode_SVG: () => import(
|
|
27
|
+
/* webpackChunkName: 'Lib_PureDarkMode_SVG' */
|
|
28
|
+
'@zohodesk/svg/assets/Appearance/pureDark/mode/SVG_PureDarkMode.module.css')
|
|
29
|
+
};
|
|
30
|
+
export const appearanceMapping = {
|
|
31
|
+
component: {
|
|
32
|
+
light: 'Lib_LightMode_Component',
|
|
33
|
+
dark: 'Lib_DarkMode_Component',
|
|
34
|
+
pureDark: 'Lib_PureDarkMode_Component'
|
|
35
|
+
},
|
|
36
|
+
dot: {
|
|
37
|
+
light: 'Lib_LightMode_Dot',
|
|
38
|
+
dark: 'Lib_DarkMode_Dot',
|
|
39
|
+
pureDark: 'Lib_PureDarkMode_Dot'
|
|
40
|
+
},
|
|
41
|
+
svg: {
|
|
42
|
+
light: 'Lib_LightMode_SVG',
|
|
43
|
+
dark: 'Lib_DarkMode_SVG',
|
|
44
|
+
pureDark: 'Lib_PureDarkMode_SVG'
|
|
45
|
+
}
|
|
46
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export function processFiles(type, libArray, mapping, imports, mode, theme) {
|
|
2
|
+
if (type === 'appearance' || type === 'theme') {
|
|
3
|
+
return libArray.map(libName => {
|
|
4
|
+
const importFile = theme ? [mapping[libName][theme][mode]] : [mapping[libName][mode]];
|
|
5
|
+
importFiles(importFile, imports);
|
|
6
|
+
});
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
if (type === 'zoom') {
|
|
10
|
+
return imports[mapping.zoomSize]();
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
if (type === 'font') {
|
|
14
|
+
return imports[mapping.fontSize]();
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export function importFiles(file, imports) {
|
|
18
|
+
const promises = [];
|
|
19
|
+
file.forEach(fileKey => {
|
|
20
|
+
if (imports[fileKey]) {
|
|
21
|
+
promises.push(imports[fileKey]());
|
|
22
|
+
} else {
|
|
23
|
+
console.error(`Import not found for ${fileKey}`);
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
return Promise.all(promises).catch(error => {
|
|
27
|
+
console.error(`Error importing files:`, error);
|
|
28
|
+
return Promise.reject(error);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const imports = {
|
|
2
|
+
Lib_ZoomSize: () => import(
|
|
3
|
+
/* webpackChunkName: 'Lib_ZoomSize' */
|
|
4
|
+
'@zohodesk/variables/assets/sizeVariables.module.css'),
|
|
5
|
+
Lib_FontSize: () => import(
|
|
6
|
+
/* webpackChunkName: 'Lib_FontSize' */
|
|
7
|
+
'@zohodesk/variables/assets/fontsizeVariables.module.css')
|
|
8
|
+
};
|
|
9
|
+
export const mapping = {
|
|
10
|
+
zoomSize: 'Lib_ZoomSize',
|
|
11
|
+
fontSize: 'Lib_FontSize'
|
|
12
|
+
};
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
export const themeImports = {
|
|
2
|
+
Lib_Blue_Light_Component: () => import(
|
|
3
|
+
/* webpackChunkName: 'Lib_Blue_Light_Component' */
|
|
4
|
+
'../libraryChunks/themes/component/blue/Blue_Light_Component'),
|
|
5
|
+
Lib_Blue_Dark_Component: () => import(
|
|
6
|
+
/* webpackChunkName: 'Lib_Blue_Dark_Component' */
|
|
7
|
+
'../libraryChunks/themes/component/blue/Blue_Dark_Component'),
|
|
8
|
+
Lib_Blue_PureDark_Component: () => import(
|
|
9
|
+
/* webpackChunkName: 'Lib_Blue_PureDark_Component' */
|
|
10
|
+
'../libraryChunks/themes/component/blue/Blue_PureDark_Component'),
|
|
11
|
+
Lib_Green_Light_Component: () => import(
|
|
12
|
+
/* webpackChunkName: 'Lib_Green_Light_Component' */
|
|
13
|
+
'../libraryChunks/themes/component/green/Green_Light_Component'),
|
|
14
|
+
Lib_Green_Dark_Component: () => import(
|
|
15
|
+
/* webpackChunkName: 'Lib_Green_Dark_Component' */
|
|
16
|
+
'../libraryChunks/themes/component/green/Green_Dark_Component'),
|
|
17
|
+
Lib_Green_PureDark_Component: () => import(
|
|
18
|
+
/* webpackChunkName: 'Lib_Green_PureDark_Component' */
|
|
19
|
+
'../libraryChunks/themes/component/green/Green_PureDark_Component'),
|
|
20
|
+
Lib_Orange_Light_Component: () => import(
|
|
21
|
+
/* webpackChunkName: 'Lib_Orange_Light_Component' */
|
|
22
|
+
'../libraryChunks/themes/component/orange/Orange_Light_Component'),
|
|
23
|
+
Lib_Orange_Dark_Component: () => import(
|
|
24
|
+
/* webpackChunkName: 'Lib_Orange_Dark_Component' */
|
|
25
|
+
'../libraryChunks/themes/component/orange/Orange_Dark_Component'),
|
|
26
|
+
Lib_Orange_PureDark_Component: () => import(
|
|
27
|
+
/* webpackChunkName: 'Lib_Orange_PureDark_Component' */
|
|
28
|
+
'../libraryChunks/themes/component/orange/Orange_PureDark_Component'),
|
|
29
|
+
Lib_Red_Light_Component: () => import(
|
|
30
|
+
/* webpackChunkName: 'Lib_Red_Light_Component' */
|
|
31
|
+
'../libraryChunks/themes/component/red/Red_Light_Component'),
|
|
32
|
+
Lib_Red_Dark_Component: () => import(
|
|
33
|
+
/* webpackChunkName: 'Lib_Red_Dark_Component' */
|
|
34
|
+
'../libraryChunks/themes/component/red/Red_Dark_Component'),
|
|
35
|
+
Lib_Red_PureDark_Component: () => import(
|
|
36
|
+
/* webpackChunkName: 'Lib_Red_PureDark_Component' */
|
|
37
|
+
'../libraryChunks/themes/component/red/Red_PureDark_Component'),
|
|
38
|
+
Lib_Yellow_Light_Component: () => import(
|
|
39
|
+
/* webpackChunkName: 'Lib_Yellow_Light_Component' */
|
|
40
|
+
'../libraryChunks/themes/component/yellow/Yellow_Light_Component'),
|
|
41
|
+
Lib_Yellow_Dark_Component: () => import(
|
|
42
|
+
/* webpackChunkName: 'Lib_Yellow_Dark_Component' */
|
|
43
|
+
'../libraryChunks/themes/component/yellow/Yellow_Dark_Component'),
|
|
44
|
+
Lib_Yellow_PureDark_Component: () => import(
|
|
45
|
+
/* webpackChunkName: 'Lib_Yellow_PureDark_Component' */
|
|
46
|
+
'../libraryChunks/themes/component/yellow/Yellow_PureDark_Component'),
|
|
47
|
+
Lib_Blue_Light_Dot: () => import(
|
|
48
|
+
/* webpackChunkName: 'Lib_Blue_Light_Dot' */
|
|
49
|
+
'../libraryChunks/themes/dot/blue/Blue_Light_Dot'),
|
|
50
|
+
Lib_Blue_Dark_Dot: () => import(
|
|
51
|
+
/* webpackChunkName: 'Lib_Blue_Dark_Dot' */
|
|
52
|
+
'../libraryChunks/themes/dot/blue/Blue_Dark_Dot'),
|
|
53
|
+
Lib_Blue_PureDark_Dot: () => import(
|
|
54
|
+
/* webpackChunkName: 'Lib_Blue_PureDark_Dot' */
|
|
55
|
+
'../libraryChunks/themes/dot/blue/Blue_PureDark_Dot'),
|
|
56
|
+
Lib_Green_Light_Dot: () => import(
|
|
57
|
+
/* webpackChunkName: 'Lib_Green_Light_Dot' */
|
|
58
|
+
'../libraryChunks/themes/dot/green/Green_Light_Dot'),
|
|
59
|
+
Lib_Green_Dark_Dot: () => import(
|
|
60
|
+
/* webpackChunkName: 'Lib_Green_Dark_Dot' */
|
|
61
|
+
'../libraryChunks/themes/dot/green/Green_Dark_Dot'),
|
|
62
|
+
Lib_Green_PureDark_Dot: () => import(
|
|
63
|
+
/* webpackChunkName: 'Lib_Green_PureDark_Dot' */
|
|
64
|
+
'../libraryChunks/themes/dot/green/Green_PureDark_Dot'),
|
|
65
|
+
Lib_Orange_Light_Dot: () => import(
|
|
66
|
+
/* webpackChunkName: 'Lib_Orange_Light_Dot' */
|
|
67
|
+
'../libraryChunks/themes/dot/orange/Orange_Light_Dot'),
|
|
68
|
+
Lib_Orange_Dark_Dot: () => import(
|
|
69
|
+
/* webpackChunkName: 'Lib_Orange_Dark_Dot' */
|
|
70
|
+
'../libraryChunks/themes/dot/orange/Orange_Dark_Dot'),
|
|
71
|
+
Lib_Orange_PureDark_Dot: () => import(
|
|
72
|
+
/* webpackChunkName: 'Lib_Orange_PureDark_Dot' */
|
|
73
|
+
'../libraryChunks/themes/dot/orange/Orange_PureDark_Dot'),
|
|
74
|
+
Lib_Red_Light_Dot: () => import(
|
|
75
|
+
/* webpackChunkName: 'Lib_Red_Light_Dot' */
|
|
76
|
+
'../libraryChunks/themes/dot/red/Red_Light_Dot'),
|
|
77
|
+
Lib_Red_Dark_Dot: () => import(
|
|
78
|
+
/* webpackChunkName: 'Lib_Red_Dark_Dot' */
|
|
79
|
+
'../libraryChunks/themes/dot/red/Red_Dark_Dot'),
|
|
80
|
+
Lib_Red_PureDark_Dot: () => import(
|
|
81
|
+
/* webpackChunkName: 'Lib_Red_PureDark_Dot' */
|
|
82
|
+
'../libraryChunks/themes/dot/red/Red_PureDark_Dot'),
|
|
83
|
+
Lib_Yellow_Light_Dot: () => import(
|
|
84
|
+
/* webpackChunkName: 'Lib_Yellow_Light_Dot' */
|
|
85
|
+
'../libraryChunks/themes/dot/yellow/Yellow_Light_Dot'),
|
|
86
|
+
Lib_Yellow_Dark_Dot: () => import(
|
|
87
|
+
/* webpackChunkName: 'Lib_Yellow_Dark_Dot' */
|
|
88
|
+
'../libraryChunks/themes/dot/yellow/Yellow_Dark_Dot'),
|
|
89
|
+
Lib_Yellow_PureDark_Dot: () => import(
|
|
90
|
+
/* webpackChunkName: 'Lib_Yellow_PureDark_Dot' */
|
|
91
|
+
'../libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot'),
|
|
92
|
+
Lib_Blue_Light_SVG: () => import(
|
|
93
|
+
/* webpackChunkName: 'Lib_Blue_Light_SVG' */
|
|
94
|
+
'../libraryChunks/themes/svg/blue/Blue_Light_SVG'),
|
|
95
|
+
Lib_Blue_Dark_SVG: () => import(
|
|
96
|
+
/* webpackChunkName: 'Lib_Blue_Dark_SVG' */
|
|
97
|
+
'../libraryChunks/themes/svg/blue/Blue_Dark_SVG'),
|
|
98
|
+
Lib_Blue_PureDark_SVG: () => import(
|
|
99
|
+
/* webpackChunkName: 'Lib_Blue_PureDark_SVG' */
|
|
100
|
+
'../libraryChunks/themes/svg/blue/Blue_PureDark_SVG'),
|
|
101
|
+
Lib_Green_Light_SVG: () => import(
|
|
102
|
+
/* webpackChunkName: 'Lib_Green_Light_SVG' */
|
|
103
|
+
'../libraryChunks/themes/svg/green/Green_Light_SVG'),
|
|
104
|
+
Lib_Green_Dark_SVG: () => import(
|
|
105
|
+
/* webpackChunkName: 'Lib_Green_Dark_SVG' */
|
|
106
|
+
'../libraryChunks/themes/svg/green/Green_Dark_SVG'),
|
|
107
|
+
Lib_Green_PureDark_SVG: () => import(
|
|
108
|
+
/* webpackChunkName: 'Lib_Green_PureDark_SVG' */
|
|
109
|
+
'../libraryChunks/themes/svg/green/Green_PureDark_SVG'),
|
|
110
|
+
Lib_Orange_Light_SVG: () => import(
|
|
111
|
+
/* webpackChunkName: 'Lib_Orange_Light_SVG' */
|
|
112
|
+
'../libraryChunks/themes/svg/orange/Orange_Light_SVG'),
|
|
113
|
+
Lib_Orange_Dark_SVG: () => import(
|
|
114
|
+
/* webpackChunkName: 'Lib_Orange_Dark_SVG' */
|
|
115
|
+
'../libraryChunks/themes/svg/orange/Orange_Dark_SVG'),
|
|
116
|
+
Lib_Orange_PureDark_SVG: () => import(
|
|
117
|
+
/* webpackChunkName: 'Lib_Orange_PureDark_SVG' */
|
|
118
|
+
'../libraryChunks/themes/svg/orange/Orange_PureDark_SVG'),
|
|
119
|
+
Lib_Red_Light_SVG: () => import(
|
|
120
|
+
/* webpackChunkName: 'Lib_Red_Light_SVG' */
|
|
121
|
+
'../libraryChunks/themes/svg/red/Red_Light_SVG'),
|
|
122
|
+
Lib_Red_Dark_SVG: () => import(
|
|
123
|
+
/* webpackChunkName: 'Lib_Red_Dark_SVG' */
|
|
124
|
+
'../libraryChunks/themes/svg/red/Red_Dark_SVG'),
|
|
125
|
+
Lib_Red_PureDark_SVG: () => import(
|
|
126
|
+
/* webpackChunkName: 'Lib_Red_PureDark_SVG' */
|
|
127
|
+
'../libraryChunks/themes/svg/red/Red_PureDark_SVG'),
|
|
128
|
+
Lib_Yellow_Light_SVG: () => import(
|
|
129
|
+
/* webpackChunkName: 'Lib_Yellow_Light_SVG' */
|
|
130
|
+
'../libraryChunks/themes/svg/yellow/Yellow_Light_SVG'),
|
|
131
|
+
Lib_Yellow_Dark_SVG: () => import(
|
|
132
|
+
/* webpackChunkName: 'Lib_Yellow_Dark_SVG' */
|
|
133
|
+
'../libraryChunks/themes/svg/yellow/Yellow_Dark_SVG'),
|
|
134
|
+
Lib_Yellow_PureDark_SVG: () => import(
|
|
135
|
+
/* webpackChunkName: 'Lib_Yellow_PureDark_SVG' */
|
|
136
|
+
'../libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG')
|
|
137
|
+
};
|
|
138
|
+
export const themeMapping = {
|
|
139
|
+
component: {
|
|
140
|
+
blue: {
|
|
141
|
+
light: 'Lib_Blue_Light_Component',
|
|
142
|
+
dark: 'Lib_Blue_Dark_Component',
|
|
143
|
+
pureDark: 'Lib_Blue_PureDark_Component'
|
|
144
|
+
},
|
|
145
|
+
green: {
|
|
146
|
+
light: 'Lib_Green_Light_Component',
|
|
147
|
+
dark: 'Lib_Green_Dark_Component',
|
|
148
|
+
pureDark: 'Lib_Green_PureDark_Component'
|
|
149
|
+
},
|
|
150
|
+
orange: {
|
|
151
|
+
light: 'Lib_Orange_Light_Component',
|
|
152
|
+
dark: 'Lib_Orange_Dark_Component',
|
|
153
|
+
pureDark: 'Lib_Orange_PureDark_Component'
|
|
154
|
+
},
|
|
155
|
+
red: {
|
|
156
|
+
light: 'Lib_Red_Light_Component',
|
|
157
|
+
dark: 'Lib_Red_Dark_Component',
|
|
158
|
+
pureDark: 'Lib_Red_PureDark_Component'
|
|
159
|
+
},
|
|
160
|
+
yellow: {
|
|
161
|
+
light: 'Lib_Yellow_Light_Component',
|
|
162
|
+
dark: 'Lib_Yellow_Dark_Component',
|
|
163
|
+
pureDark: 'Lib_Yellow_PureDark_Component'
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
dot: {
|
|
167
|
+
blue: {
|
|
168
|
+
light: 'Lib_Blue_Light_Dot',
|
|
169
|
+
dark: 'Lib_Blue_Dark_Dot',
|
|
170
|
+
pureDark: 'Lib_Blue_PureDark_Dot'
|
|
171
|
+
},
|
|
172
|
+
green: {
|
|
173
|
+
light: 'Lib_Green_Light_Dot',
|
|
174
|
+
dark: 'Lib_Green_Dark_Dot',
|
|
175
|
+
pureDark: 'Lib_Green_PureDark_Dot'
|
|
176
|
+
},
|
|
177
|
+
orange: {
|
|
178
|
+
light: 'Lib_Orange_Light_Dot',
|
|
179
|
+
dark: 'Lib_Orange_Dark_Dot',
|
|
180
|
+
pureDark: 'Lib_Orange_PureDark_Dot'
|
|
181
|
+
},
|
|
182
|
+
red: {
|
|
183
|
+
light: 'Lib_Red_Light_Dot',
|
|
184
|
+
dark: 'Lib_Red_Dark_Dot',
|
|
185
|
+
pureDark: 'Lib_Red_PureDark_Dot'
|
|
186
|
+
},
|
|
187
|
+
yellow: {
|
|
188
|
+
light: 'Lib_Yellow_Light_Dot',
|
|
189
|
+
dark: 'Lib_Yellow_Dark_Dot',
|
|
190
|
+
pureDark: 'Lib_Yellow_PureDark_Dot'
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
svg: {
|
|
194
|
+
blue: {
|
|
195
|
+
light: 'Lib_Blue_Light_SVG',
|
|
196
|
+
dark: 'Lib_Blue_Dark_SVG',
|
|
197
|
+
pureDark: 'Lib_Blue_PureDark_SVG'
|
|
198
|
+
},
|
|
199
|
+
green: {
|
|
200
|
+
light: 'Lib_Green_Light_SVG',
|
|
201
|
+
dark: 'Lib_Green_Dark_SVG',
|
|
202
|
+
pureDark: 'Lib_Green_PureDark_SVG'
|
|
203
|
+
},
|
|
204
|
+
orange: {
|
|
205
|
+
light: 'Lib_Orange_Light_SVG',
|
|
206
|
+
dark: 'Lib_Orange_Dark_SVG',
|
|
207
|
+
pureDark: 'Lib_Orange_PureDark_SVG'
|
|
208
|
+
},
|
|
209
|
+
red: {
|
|
210
|
+
light: 'Lib_Red_Light_SVG',
|
|
211
|
+
dark: 'Lib_Red_Dark_SVG',
|
|
212
|
+
pureDark: 'Lib_Red_PureDark_SVG'
|
|
213
|
+
},
|
|
214
|
+
yellow: {
|
|
215
|
+
light: 'Lib_Yellow_Light_SVG',
|
|
216
|
+
dark: 'Lib_Yellow_Dark_SVG',
|
|
217
|
+
pureDark: 'Lib_Yellow_PureDark_SVG'
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
};
|
package/es/v1/Drawer/Drawer.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
|
|
3
1
|
import React, { useRef } from 'react';
|
|
4
2
|
import { Header_defaultProps, Footer_defaultProps, Drawer_defaultProps } from './props/defaultProps';
|
|
5
3
|
import { Header_propTypes, Content_propTypes, Footer_propTypes, Drawer_propTypes } from './props/propTypes';
|
|
@@ -161,12 +159,13 @@ export default function Drawer(props) {
|
|
|
161
159
|
|
|
162
160
|
return child;
|
|
163
161
|
});
|
|
164
|
-
let content = /*#__PURE__*/React.createElement(Box,
|
|
162
|
+
let content = /*#__PURE__*/React.createElement(Box, {
|
|
165
163
|
className: `${style.container} ${style.columns} ${style.drawerModal} ${uptoTablet ? style.mbleSize : style[size]}`,
|
|
166
164
|
"data-a11y-need-focus-style": "false",
|
|
167
165
|
tabindex: -1,
|
|
168
|
-
eleRef: contentRef
|
|
169
|
-
|
|
166
|
+
eleRef: contentRef,
|
|
167
|
+
...a11y
|
|
168
|
+
}, /*#__PURE__*/React.createElement(Card, {
|
|
170
169
|
onClick: e => {
|
|
171
170
|
e && e.stopPropagation && e.stopPropagation();
|
|
172
171
|
onBodyClick(e);
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
|
|
3
1
|
/**** Libraries ****/
|
|
4
2
|
import React from 'react';
|
|
5
3
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -32,7 +30,7 @@ const ExternalLink = props => {
|
|
|
32
30
|
};
|
|
33
31
|
|
|
34
32
|
let urlOutput = href && typeof href !== 'boolean' ? addHttp(String(href)) : 'javascript:void(0);';
|
|
35
|
-
return /*#__PURE__*/React.createElement("a",
|
|
33
|
+
return /*#__PURE__*/React.createElement("a", {
|
|
36
34
|
href: urlOutput,
|
|
37
35
|
target: target,
|
|
38
36
|
className: `${style.link} ${className ? className : ''}`,
|
|
@@ -40,8 +38,9 @@ const ExternalLink = props => {
|
|
|
40
38
|
rel: rel,
|
|
41
39
|
"data-id": dataId,
|
|
42
40
|
"data-test-id": dataId,
|
|
43
|
-
onClick: onClick
|
|
44
|
-
|
|
41
|
+
onClick: onClick,
|
|
42
|
+
...customProps
|
|
43
|
+
}, children);
|
|
45
44
|
};
|
|
46
45
|
|
|
47
46
|
ExternalLink.defaultProps = defaultProps;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
|
|
3
1
|
import React from 'react';
|
|
4
2
|
import { defaultProps } from './props/defaultProps';
|
|
5
3
|
import { propTypes } from './props/propTypes';
|
|
@@ -76,16 +74,17 @@ export default function FlipCard(props) {
|
|
|
76
74
|
}, !noNeedFlip ? /*#__PURE__*/React.createElement(Container, {
|
|
77
75
|
align: "both",
|
|
78
76
|
className: `${style.front} ${frontClass ? frontClass : ''}`
|
|
79
|
-
}, /*#__PURE__*/React.createElement(CheckBox,
|
|
77
|
+
}, /*#__PURE__*/React.createElement(CheckBox, {
|
|
80
78
|
isFilled: isFilledCheckbox,
|
|
81
79
|
checked: isChecked,
|
|
82
80
|
onChange: onChange,
|
|
83
81
|
id: `checkbox_${id}`,
|
|
84
|
-
dataId: `listViewCheckBox_${id}
|
|
85
|
-
|
|
82
|
+
dataId: `listViewCheckBox_${id}`,
|
|
83
|
+
...CheckBoxProps
|
|
84
|
+
})) : null, /*#__PURE__*/React.createElement(Container, {
|
|
86
85
|
align: "both",
|
|
87
86
|
className: style.back
|
|
88
|
-
}, channel && action ? /*#__PURE__*/React.createElement(ChannelIcon,
|
|
87
|
+
}, channel && action ? /*#__PURE__*/React.createElement(ChannelIcon, {
|
|
89
88
|
name: channel,
|
|
90
89
|
action: action,
|
|
91
90
|
size: size,
|
|
@@ -98,8 +97,9 @@ export default function FlipCard(props) {
|
|
|
98
97
|
customTextClass: customTextClass,
|
|
99
98
|
iconColor: iconColor,
|
|
100
99
|
title: channelTitle,
|
|
101
|
-
iconTitle: channelTitle
|
|
102
|
-
|
|
100
|
+
iconTitle: channelTitle,
|
|
101
|
+
...ChannelIconProps
|
|
102
|
+
}) : icon ? /*#__PURE__*/React.createElement(AvatarIcon, {
|
|
103
103
|
name: icon,
|
|
104
104
|
iconSize: iconSize,
|
|
105
105
|
size: size,
|
|
@@ -107,8 +107,9 @@ export default function FlipCard(props) {
|
|
|
107
107
|
dataId: icon,
|
|
108
108
|
className: className,
|
|
109
109
|
iconColor: iconColor,
|
|
110
|
-
title: needTitle ? name : ''
|
|
111
|
-
|
|
110
|
+
title: needTitle ? name : '',
|
|
111
|
+
...AvatarIconProps
|
|
112
|
+
}) : /*#__PURE__*/React.createElement(AvatarUser, {
|
|
112
113
|
name: name,
|
|
113
114
|
initial: initial,
|
|
114
115
|
size: size,
|
|
@@ -119,8 +120,9 @@ export default function FlipCard(props) {
|
|
|
119
120
|
needTitle: needTitle,
|
|
120
121
|
palette: palette,
|
|
121
122
|
textPalette: textPalette,
|
|
122
|
-
customTextClass: customTextClass
|
|
123
|
-
|
|
123
|
+
customTextClass: customTextClass,
|
|
124
|
+
...AvatarUserProps
|
|
125
|
+
}))));
|
|
124
126
|
}
|
|
125
127
|
FlipCard.propTypes = propTypes;
|
|
126
128
|
FlipCard.defaultProps = defaultProps; // if (__DOCS__) {
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
|
|
3
1
|
import React, { useEffect } from 'react';
|
|
4
2
|
import { defaultProps } from './props/defaultProps';
|
|
5
3
|
import { propTypes, UI_propTypes, new_propTypes } from './props/propTypes';
|
|
@@ -96,7 +94,7 @@ export function GlobalNotificationUI(props) {
|
|
|
96
94
|
onClose && onClose(e);
|
|
97
95
|
}
|
|
98
96
|
|
|
99
|
-
return /*#__PURE__*/React.createElement("div",
|
|
97
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
100
98
|
ref: eleRef,
|
|
101
99
|
className: ` ${style.message}
|
|
102
100
|
${needShadow && shadowCount >= 2 ? shadowCount > 2 ? `${style.stackShadowTwo} ${style.stackShadowOne}` : style.stackShadowOne : ''}
|
|
@@ -105,8 +103,9 @@ export function GlobalNotificationUI(props) {
|
|
|
105
103
|
"data-id": `show_${type}_message`,
|
|
106
104
|
"data-test-id": `show_${type}_message`,
|
|
107
105
|
tabIndex: 0,
|
|
108
|
-
"data-selector-id": dataSelectorId
|
|
109
|
-
|
|
106
|
+
"data-selector-id": dataSelectorId,
|
|
107
|
+
...ExtraProps
|
|
108
|
+
}, /*#__PURE__*/React.createElement(Container, {
|
|
110
109
|
className: `${style.container}`,
|
|
111
110
|
alignBox: "row",
|
|
112
111
|
isCover: false,
|
|
@@ -138,8 +137,8 @@ export function GlobalNotificationUI(props) {
|
|
|
138
137
|
}
|
|
139
138
|
GlobalNotificationUI.propTypes = UI_propTypes;
|
|
140
139
|
export function GlobalNotificationNew(props) {
|
|
141
|
-
return /*#__PURE__*/React.createElement(AutoClose,
|
|
140
|
+
return /*#__PURE__*/React.createElement(AutoClose, { ...props,
|
|
142
141
|
Element: GlobalNotificationUI
|
|
143
|
-
})
|
|
142
|
+
});
|
|
144
143
|
}
|
|
145
144
|
GlobalNotificationNew.propTypes = new_propTypes;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
|
|
3
1
|
import React, { useState } from 'react';
|
|
4
2
|
import { defaultProps } from './props/defaultProps';
|
|
5
3
|
import { propTypes } from './props/propTypes';
|
|
@@ -73,7 +71,7 @@ export default function IconButton(props) {
|
|
|
73
71
|
hoverType: hoverType,
|
|
74
72
|
isDisabled: isDisabled,
|
|
75
73
|
isNeedEffect: isNeedEffect
|
|
76
|
-
}, /*#__PURE__*/React.createElement(Container,
|
|
74
|
+
}, /*#__PURE__*/React.createElement(Container, {
|
|
77
75
|
"aria-label": ariaLabel,
|
|
78
76
|
"aria-haspopup": ariaHaspopup,
|
|
79
77
|
"aria-expanded": ariaExpanded,
|
|
@@ -97,8 +95,9 @@ export default function IconButton(props) {
|
|
|
97
95
|
onKeyDown: handleToggle,
|
|
98
96
|
onFocus: triggerMouseOver,
|
|
99
97
|
onBlur: onBlur,
|
|
100
|
-
disabled: isDisabled
|
|
101
|
-
|
|
98
|
+
disabled: isDisabled,
|
|
99
|
+
...customProps
|
|
100
|
+
}, iconName ? /*#__PURE__*/React.createElement(Icon, {
|
|
102
101
|
isBold: isBold,
|
|
103
102
|
size: iconSize,
|
|
104
103
|
name: iconName,
|
package/es/v1/Link/Link.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
|
|
3
1
|
import React, { useContext, useRef } from 'react';
|
|
4
2
|
import { defaultProps } from './props/defaultProps';
|
|
5
3
|
import { propTypes } from './props/propTypes';
|
|
@@ -72,20 +70,20 @@ export default function Link(props) {
|
|
|
72
70
|
} //urlOutput = addHttp(urlOutput);
|
|
73
71
|
|
|
74
72
|
|
|
75
|
-
return /*#__PURE__*/React.createElement("a",
|
|
73
|
+
return /*#__PURE__*/React.createElement("a", {
|
|
76
74
|
href: isLink && urlOutput ? urlOutput : 'javascript:void(0);',
|
|
77
75
|
target: target,
|
|
78
76
|
"data-title": title,
|
|
79
|
-
className: `${style.container} ${className ? className : ''}
|
|
80
|
-
|
|
77
|
+
className: `${style.container} ${className ? className : ''}`,
|
|
78
|
+
...option.current,
|
|
81
79
|
rel: rel,
|
|
82
80
|
"data-id": dataId,
|
|
83
|
-
"data-test-id": dataId
|
|
84
|
-
|
|
85
|
-
onClick: callBack
|
|
86
|
-
|
|
81
|
+
"data-test-id": dataId,
|
|
82
|
+
...others,
|
|
83
|
+
onClick: callBack,
|
|
84
|
+
...customProps,
|
|
87
85
|
"aria-label": ariaLabel
|
|
88
|
-
}
|
|
86
|
+
}, children);
|
|
89
87
|
}
|
|
90
88
|
Link.defaultProps = defaultProps;
|
|
91
89
|
Link.propTypes = propTypes; // if (__DOCS__) {
|
package/es/v1/Message/Message.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
|
|
3
1
|
import React, { useState, useEffect } from 'react';
|
|
4
2
|
import { defaultProps } from './props/defaultProps';
|
|
5
3
|
import { propTypes, MessageUI_propTypes, MessageNew_propTypes } from './props/propTypes';
|
|
@@ -24,7 +22,8 @@ export default function Message(props) {
|
|
|
24
22
|
}, 3000);
|
|
25
23
|
}
|
|
26
24
|
}, [showMessage]);
|
|
27
|
-
return /*#__PURE__*/React.createElement(MessageUI, props
|
|
25
|
+
return /*#__PURE__*/React.createElement(MessageUI, { ...props
|
|
26
|
+
});
|
|
28
27
|
}
|
|
29
28
|
Message.propTypes = propTypes;
|
|
30
29
|
Message.defaultProps = defaultProps;
|
|
@@ -85,8 +84,8 @@ export function MessageUI(props) {
|
|
|
85
84
|
}
|
|
86
85
|
MessageUI.propTypes = MessageUI_propTypes;
|
|
87
86
|
export function MessageNew(props) {
|
|
88
|
-
return /*#__PURE__*/React.createElement(AutoClose,
|
|
87
|
+
return /*#__PURE__*/React.createElement(AutoClose, { ...props,
|
|
89
88
|
Element: MessageUI
|
|
90
|
-
})
|
|
89
|
+
});
|
|
91
90
|
}
|
|
92
91
|
MessageNew.propTypes = MessageNew_propTypes;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
|
|
3
1
|
import React, { useState } from 'react';
|
|
4
2
|
import { defaultProps } from './props/defaultProps';
|
|
5
3
|
import { propTypes } from './props/propTypes'; //components
|
|
@@ -191,9 +189,9 @@ function ToastMessageUI(props) {
|
|
|
191
189
|
}
|
|
192
190
|
|
|
193
191
|
export default function ToastMessage(props) {
|
|
194
|
-
return /*#__PURE__*/React.createElement(AutoClose,
|
|
192
|
+
return /*#__PURE__*/React.createElement(AutoClose, { ...props,
|
|
195
193
|
Element: ToastMessageUI
|
|
196
|
-
})
|
|
194
|
+
});
|
|
197
195
|
}
|
|
198
196
|
ToastMessage.propTypes = propTypes;
|
|
199
197
|
ToastMessage.defaultProps = defaultProps; // if (__DOCS__) {
|