@zohodesk/dot 1.0.0-temp-183 → 1.0.0-temp-181.8
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 +16 -14
- 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/DepartmentDropDown/DepartmentDropDown.js +3 -9
- package/es/list/DepartmentDropDown/props/defaultProps.js +1 -2
- package/es/list/DepartmentDropDown/props/propTypes.js +1 -2
- 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.module.css +42 -42
- package/es/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/list/status/StatusListItem/StatusListItem.module.css +5 -35
- package/es/lookup/Lookup/Lookup.js +4 -5
- package/es/lookup/header/Search/Search.js +5 -3
- package/es/v1/DotWrapper/DotWrapper.js +39 -0
- package/es/v1/DotWrapper/libraryChunks/appearance/component/DarkMode_Component.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/appearance/component/LightMode_Component.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/appearance/component/PureDarkMode_Component.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/appearance/dot/DarkMode_Dot.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/appearance/dot/LightMode_Dot.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/appearance/dot/PureDarkMode_Dot.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/appearance/svg/DarkMode_SVG.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/appearance/svg/LightMode_SVG.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/appearance/svg/PureDarkMode_SVG.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/dynamicImports.js +24 -0
- package/es/v1/DotWrapper/libraryChunks/importMapping.js +19 -0
- package/es/v1/DotWrapper/libraryChunks/size/fontSize.js +1 -0
- package/es/v1/DotWrapper/libraryChunks/size/zoomSize.js +1 -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 +31 -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/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/TagsMultiSelect/TagsMultiSelect.js +3 -5
- 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/DepartmentDropDown/DepartmentDropDown.js +3 -8
- package/lib/list/DepartmentDropDown/props/defaultProps.js +1 -2
- package/lib/list/DepartmentDropDown/props/propTypes.js +1 -1
- 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.module.css +42 -42
- package/lib/list/status/StatusListItem/StatusListItem.module.css +5 -35
- package/lib/v1/DotWrapper/DotWrapper.js +64 -0
- package/lib/v1/DotWrapper/libraryChunks/appearance/component/DarkMode_Component.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/appearance/component/LightMode_Component.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/appearance/component/PureDarkMode_Component.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/appearance/dot/DarkMode_Dot.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/appearance/dot/LightMode_Dot.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/appearance/dot/PureDarkMode_Dot.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/appearance/svg/DarkMode_SVG.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/appearance/svg/LightMode_SVG.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/appearance/svg/PureDarkMode_SVG.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/dynamicImports.js +43 -0
- package/lib/v1/DotWrapper/libraryChunks/importMapping.js +26 -0
- package/lib/v1/DotWrapper/libraryChunks/size/fontSize.js +3 -0
- package/lib/v1/DotWrapper/libraryChunks/size/zoomSize.js +3 -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 +40 -0
- package/lib/v1/DotWrapper/utils/sizeProperties.js +31 -0
- package/lib/v1/DotWrapper/utils/themeProperties.js +325 -0
- 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 +4 -4
- package/result.json +1 -1
|
@@ -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, { PureComponent } from 'react';
|
|
5
3
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -86,7 +84,7 @@ export default class CheckBoxField extends PureComponent {
|
|
|
86
84
|
lockedInfoText: lockedInfoText,
|
|
87
85
|
infoText: infoText,
|
|
88
86
|
renderProps: renderLabelProps
|
|
89
|
-
}, /*#__PURE__*/React.createElement(Label,
|
|
87
|
+
}, /*#__PURE__*/React.createElement(Label, {
|
|
90
88
|
text: labelName,
|
|
91
89
|
id: id,
|
|
92
90
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
@@ -96,8 +94,9 @@ export default class CheckBoxField extends PureComponent {
|
|
|
96
94
|
title: labelName,
|
|
97
95
|
onClick: !removeEvent ? this.handleLabelClick : null,
|
|
98
96
|
variant: isDirectCol ? 'default' : 'primary',
|
|
99
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label
|
|
100
|
-
|
|
97
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
98
|
+
...LabelProps
|
|
99
|
+
}));
|
|
101
100
|
return /*#__PURE__*/React.createElement("div", {
|
|
102
101
|
className: `${style.container} ${isDisabled ? style.disabled : isReadOnly ? style.readonly : ''}`,
|
|
103
102
|
"data-title": isDisabled ? title : null,
|
|
@@ -110,27 +109,30 @@ export default class CheckBoxField extends PureComponent {
|
|
|
110
109
|
align: "top"
|
|
111
110
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
112
111
|
className: isDirectCol ? style.checkbox : style.checkboxRow
|
|
113
|
-
}, /*#__PURE__*/React.createElement(CheckBox,
|
|
112
|
+
}, /*#__PURE__*/React.createElement(CheckBox, {
|
|
114
113
|
id: id,
|
|
115
114
|
onChange: this.handleChange,
|
|
116
115
|
disabled: removeEvent,
|
|
117
116
|
checked: checked,
|
|
118
117
|
getRef: this.handleGetRef,
|
|
119
118
|
dataId: dataId,
|
|
120
|
-
getContainerRef: getContainerRef
|
|
121
|
-
|
|
119
|
+
getContainerRef: getContainerRef,
|
|
120
|
+
...CheckBoxProps
|
|
121
|
+
})), !isDirectCol && /*#__PURE__*/React.createElement(Box, {
|
|
122
122
|
flexible: true
|
|
123
|
-
}, labelElement)), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage,
|
|
123
|
+
}, labelElement)), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
124
124
|
text: validationMessage,
|
|
125
125
|
palette: validationPalette,
|
|
126
126
|
type: errorType,
|
|
127
|
-
dataId: `${dataId}_ValidationMessage
|
|
128
|
-
|
|
127
|
+
dataId: `${dataId}_ValidationMessage`,
|
|
128
|
+
...ValidationMessageProps1
|
|
129
|
+
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
129
130
|
text: validationRuleMessage,
|
|
130
131
|
palette: validationRulePalette,
|
|
131
132
|
type: errorType,
|
|
132
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
133
|
-
|
|
133
|
+
dataId: `${dataId}_ValidationRuleMessage`,
|
|
134
|
+
...ValidationMessageProps2
|
|
135
|
+
})));
|
|
134
136
|
}
|
|
135
137
|
|
|
136
138
|
}
|
|
@@ -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, { PureComponent } from 'react';
|
|
5
3
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -128,16 +126,17 @@ export default class CurrencyField extends PureComponent {
|
|
|
128
126
|
isLocked: isLocked,
|
|
129
127
|
lockedInfoText: lockedInfoText,
|
|
130
128
|
renderProps: renderLabelProps
|
|
131
|
-
}, /*#__PURE__*/React.createElement(Label,
|
|
129
|
+
}, /*#__PURE__*/React.createElement(Label, {
|
|
132
130
|
text: labelName,
|
|
133
131
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
134
132
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
135
133
|
customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
136
134
|
htmlFor: uniqueId,
|
|
137
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label
|
|
138
|
-
|
|
135
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
136
|
+
...LabelProps
|
|
137
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
139
138
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
|
|
140
|
-
}, /*#__PURE__*/React.createElement(TextBox,
|
|
139
|
+
}, /*#__PURE__*/React.createElement(TextBox, {
|
|
141
140
|
htmlId: uniqueId,
|
|
142
141
|
id: id,
|
|
143
142
|
type: textBoxType,
|
|
@@ -157,20 +156,23 @@ export default class CurrencyField extends PureComponent {
|
|
|
157
156
|
isDisabled: isDisabled,
|
|
158
157
|
needEffect: isReadOnly || isDisabled ? false : true,
|
|
159
158
|
isClickable: isClickable,
|
|
160
|
-
needReadOnlyStyle: needReadOnlyStyle
|
|
161
|
-
|
|
159
|
+
needReadOnlyStyle: needReadOnlyStyle,
|
|
160
|
+
...TextBoxProps
|
|
161
|
+
}), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
162
162
|
text: validationMessage,
|
|
163
163
|
palette: validationPalette,
|
|
164
164
|
type: errorType,
|
|
165
165
|
dataId: `${dataId}_ValidationMessage`,
|
|
166
|
-
htmlFor: uniqueId
|
|
167
|
-
|
|
166
|
+
htmlFor: uniqueId,
|
|
167
|
+
...ValidationMessageProps1
|
|
168
|
+
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
168
169
|
text: validationRuleMessage,
|
|
169
170
|
palette: validationRulePalette,
|
|
170
171
|
type: errorType,
|
|
171
172
|
htmlFor: uniqueId,
|
|
172
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
173
|
-
|
|
173
|
+
dataId: `${dataId}_ValidationRuleMessage`,
|
|
174
|
+
...ValidationMessageProps2
|
|
175
|
+
})));
|
|
174
176
|
}
|
|
175
177
|
|
|
176
178
|
}
|
|
@@ -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, { PureComponent } from 'react';
|
|
5
3
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -133,21 +131,21 @@ export default class DateField extends PureComponent {
|
|
|
133
131
|
isLocked: isLocked,
|
|
134
132
|
lockedInfoText: lockedInfoText,
|
|
135
133
|
renderProps: renderLabelProps
|
|
136
|
-
}, /*#__PURE__*/React.createElement(Label,
|
|
134
|
+
}, /*#__PURE__*/React.createElement(Label, {
|
|
137
135
|
text: labelName,
|
|
138
136
|
htmlFor: getAriaId,
|
|
139
137
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
140
138
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
141
139
|
onClick: isDisabled || isReadOnly ? null : this.handleLabelClick,
|
|
142
140
|
customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
143
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label
|
|
144
|
-
|
|
141
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
142
|
+
...LabelProps,
|
|
145
143
|
id: labelName
|
|
146
|
-
}))
|
|
144
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
147
145
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
|
|
148
146
|
}, isLocked && lockedValueText ? /*#__PURE__*/React.createElement("div", {
|
|
149
147
|
className: style.lockText
|
|
150
|
-
}, lockedValueText) : /*#__PURE__*/React.createElement(DateWidget,
|
|
148
|
+
}, lockedValueText) : /*#__PURE__*/React.createElement(DateWidget, {
|
|
151
149
|
textBoxSize: fieldSize === 'medium' ? textBoxSize : 'xsmall',
|
|
152
150
|
textBoxVariant: textBoxVariant,
|
|
153
151
|
isDateTime: isDateTime,
|
|
@@ -165,24 +163,26 @@ export default class DateField extends PureComponent {
|
|
|
165
163
|
isEditable: true,
|
|
166
164
|
htmlId: getAriaId,
|
|
167
165
|
i18nKeys: i18nKeys,
|
|
168
|
-
iconOnHover: iconOnHover
|
|
169
|
-
|
|
166
|
+
iconOnHover: iconOnHover,
|
|
167
|
+
...DateWidgetProps,
|
|
170
168
|
a11y: {
|
|
171
169
|
ariaLabelledby: labelName
|
|
172
170
|
}
|
|
173
|
-
})
|
|
171
|
+
}), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
174
172
|
text: validationMessage,
|
|
175
173
|
palette: validationPalette,
|
|
176
174
|
type: errorType,
|
|
177
175
|
htmlFor: getAriaId,
|
|
178
|
-
dataId: `${dataId}_ValidationMessage
|
|
179
|
-
|
|
176
|
+
dataId: `${dataId}_ValidationMessage`,
|
|
177
|
+
...ValidationMessageProps1
|
|
178
|
+
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
180
179
|
text: validationRuleMessage,
|
|
181
180
|
palette: validationRulePalette,
|
|
182
181
|
type: errorType,
|
|
183
182
|
htmlFor: getAriaId,
|
|
184
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
185
|
-
|
|
183
|
+
dataId: `${dataId}_ValidationRuleMessage`,
|
|
184
|
+
...ValidationMessageProps2
|
|
185
|
+
})));
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
}
|
|
@@ -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, { PureComponent } from 'react';
|
|
5
3
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -145,7 +143,7 @@ export default class MultiSelectField extends PureComponent {
|
|
|
145
143
|
isLocked: isLocked,
|
|
146
144
|
lockedInfoText: lockedInfoText,
|
|
147
145
|
renderProps: renderLabelProps
|
|
148
|
-
}, /*#__PURE__*/React.createElement(Label,
|
|
146
|
+
}, /*#__PURE__*/React.createElement(Label, {
|
|
149
147
|
text: labelName,
|
|
150
148
|
id: id,
|
|
151
149
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
@@ -153,8 +151,9 @@ export default class MultiSelectField extends PureComponent {
|
|
|
153
151
|
,
|
|
154
152
|
customClass: `${style.fieldLabel} ${isMandatory ? style.labelMandatory : ''}`,
|
|
155
153
|
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
156
|
-
htmlFor: uniqueId
|
|
157
|
-
|
|
154
|
+
htmlFor: uniqueId,
|
|
155
|
+
...LabelProps
|
|
156
|
+
})), /*#__PURE__*/React.createElement(MultiSelect, {
|
|
158
157
|
options: options,
|
|
159
158
|
onChange: this.handleChange,
|
|
160
159
|
selectedOptions: selectedOptions,
|
|
@@ -185,22 +184,24 @@ export default class MultiSelectField extends PureComponent {
|
|
|
185
184
|
i18nKeys: i18nKeys,
|
|
186
185
|
htmlId: uniqueId,
|
|
187
186
|
customChildrenClass: customChildrenClass,
|
|
188
|
-
onFocus: onFocus
|
|
189
|
-
|
|
187
|
+
onFocus: onFocus,
|
|
188
|
+
...MultiSelectProps,
|
|
190
189
|
ariaLabelledby: uniqueId
|
|
191
|
-
}
|
|
190
|
+
}, children ? children : null), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
192
191
|
text: validationMessage,
|
|
193
192
|
palette: validationPalette,
|
|
194
193
|
type: errorType,
|
|
195
194
|
dataId: `${dataId}_ValidationMessage`,
|
|
196
|
-
htmlFor: uniqueId
|
|
197
|
-
|
|
195
|
+
htmlFor: uniqueId,
|
|
196
|
+
...ValidationMessageProps1
|
|
197
|
+
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
198
198
|
text: validationRuleMessage,
|
|
199
199
|
palette: validationRulePalette,
|
|
200
200
|
type: errorType,
|
|
201
201
|
dataId: `${dataId}_ValidationRuleMessage`,
|
|
202
|
-
htmlFor: uniqueId
|
|
203
|
-
|
|
202
|
+
htmlFor: uniqueId,
|
|
203
|
+
...ValidationMessageProps2
|
|
204
|
+
}));
|
|
204
205
|
}
|
|
205
206
|
|
|
206
207
|
}
|
|
@@ -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, { PureComponent } from 'react';
|
|
5
3
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -133,7 +131,7 @@ export default class PhoneField extends PureComponent {
|
|
|
133
131
|
dataSelectorId: dataSelectorId
|
|
134
132
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
135
133
|
flexible: true
|
|
136
|
-
}, /*#__PURE__*/React.createElement(TextBoxField,
|
|
134
|
+
}, /*#__PURE__*/React.createElement(TextBoxField, {
|
|
137
135
|
labelName: labelName,
|
|
138
136
|
id: id,
|
|
139
137
|
palette: isMandatory ? 'mandatory' : 'default',
|
|
@@ -160,8 +158,9 @@ export default class PhoneField extends PureComponent {
|
|
|
160
158
|
labelPalette: labelPalette,
|
|
161
159
|
labelCustomClass: labelCustomClass,
|
|
162
160
|
errorType: errorType,
|
|
163
|
-
ePhiData: ePhiData
|
|
164
|
-
|
|
161
|
+
ePhiData: ePhiData,
|
|
162
|
+
...TextBoxFieldProps
|
|
163
|
+
})), /*#__PURE__*/React.createElement(Box, null, isTelephony && value ? /*#__PURE__*/React.createElement(Link, {
|
|
165
164
|
className: style.phoneIcon,
|
|
166
165
|
callfrom: "phone",
|
|
167
166
|
pbxname: providerName,
|
|
@@ -172,8 +171,9 @@ export default class PhoneField extends PureComponent {
|
|
|
172
171
|
callto: 'RequestPhoneNumber',
|
|
173
172
|
href: true,
|
|
174
173
|
onClick: onCall,
|
|
175
|
-
type: type
|
|
176
|
-
|
|
174
|
+
type: type,
|
|
175
|
+
...LinkProps
|
|
176
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
177
177
|
name: "ZD-GN-phone",
|
|
178
178
|
size: "14"
|
|
179
179
|
})) : null));
|
|
@@ -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, { PureComponent } from 'react';
|
|
5
3
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -62,14 +60,15 @@ export default class RadioField extends PureComponent {
|
|
|
62
60
|
className: `${style.container} ${isDisabled ? style.disabled : isReadOnly ? style.readonly : ''}`,
|
|
63
61
|
"data-title": isDisabled ? title : null,
|
|
64
62
|
"data-selector-id": dataSelectorId
|
|
65
|
-
}, labelName && /*#__PURE__*/React.createElement(Label,
|
|
63
|
+
}, labelName && /*#__PURE__*/React.createElement(Label, {
|
|
66
64
|
text: labelName,
|
|
67
65
|
size: "medium",
|
|
68
66
|
id: id,
|
|
69
67
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : 'default',
|
|
70
68
|
customClass: `${style.fieldLabel} ${isMandatory ? style.labelMandatory : ''}`,
|
|
71
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label
|
|
72
|
-
|
|
69
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
70
|
+
...LabelProps
|
|
71
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
73
72
|
className: `${style.fieldContainer} ${labelName ? style.fieldMargin_medium : ''} ${style.radioContainer}`
|
|
74
73
|
}, options.map((option, index) => {
|
|
75
74
|
let {
|
|
@@ -82,7 +81,7 @@ export default class RadioField extends PureComponent {
|
|
|
82
81
|
return /*#__PURE__*/React.createElement("span", {
|
|
83
82
|
key: index,
|
|
84
83
|
className: `${style.radio}`
|
|
85
|
-
}, /*#__PURE__*/React.createElement(Radio,
|
|
84
|
+
}, /*#__PURE__*/React.createElement(Radio, {
|
|
86
85
|
id: index,
|
|
87
86
|
value: value,
|
|
88
87
|
name: id,
|
|
@@ -98,24 +97,28 @@ export default class RadioField extends PureComponent {
|
|
|
98
97
|
checked: selectedValue == value,
|
|
99
98
|
dataId: dataId,
|
|
100
99
|
isReadOnly: isReadOnly,
|
|
101
|
-
variant: variant
|
|
102
|
-
|
|
100
|
+
variant: variant,
|
|
101
|
+
...RadioProps
|
|
102
|
+
}, !!infoTooltip ? /*#__PURE__*/React.createElement(Icon, {
|
|
103
103
|
name: "ZD-GN-info",
|
|
104
104
|
size: "16",
|
|
105
105
|
title: infoTooltip,
|
|
106
|
-
iconClass: style.infoIcon
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
iconClass: style.infoIcon,
|
|
107
|
+
...InfoIconProps
|
|
108
|
+
}) : null));
|
|
109
|
+
})), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
109
110
|
text: validationMessage,
|
|
110
111
|
palette: validationPalette,
|
|
111
112
|
type: errorType,
|
|
112
|
-
dataId: `${dataId}_ValidationMessage
|
|
113
|
-
|
|
113
|
+
dataId: `${dataId}_ValidationMessage`,
|
|
114
|
+
...ValidationMessageProps1
|
|
115
|
+
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
114
116
|
text: validationRuleMessage,
|
|
115
117
|
palette: validationRulePalette,
|
|
116
118
|
type: errorType,
|
|
117
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
118
|
-
|
|
119
|
+
dataId: `${dataId}_ValidationRuleMessage`,
|
|
120
|
+
...ValidationMessageProps2
|
|
121
|
+
}));
|
|
119
122
|
}
|
|
120
123
|
|
|
121
124
|
}
|
|
@@ -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, { PureComponent } from 'react';
|
|
5
3
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -115,18 +113,18 @@ export default class SelectField extends PureComponent {
|
|
|
115
113
|
isLocked: isLocked,
|
|
116
114
|
lockedInfoText: lockedInfoText,
|
|
117
115
|
renderProps: renderLabelProps
|
|
118
|
-
}, /*#__PURE__*/React.createElement(Label,
|
|
116
|
+
}, /*#__PURE__*/React.createElement(Label, {
|
|
119
117
|
text: labelName,
|
|
120
118
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
121
119
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
122
120
|
customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
123
121
|
htmlFor: uniqueId,
|
|
124
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label
|
|
125
|
-
|
|
122
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
123
|
+
...LabelProps,
|
|
126
124
|
id: uniqueId
|
|
127
|
-
}))
|
|
125
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
128
126
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''} ${fieldClass ? fieldClass : ''}`
|
|
129
|
-
}, /*#__PURE__*/React.createElement(Select,
|
|
127
|
+
}, /*#__PURE__*/React.createElement(Select, {
|
|
130
128
|
options: options,
|
|
131
129
|
selectedValue: selectedValue,
|
|
132
130
|
onChange: this.handleChange,
|
|
@@ -155,22 +153,24 @@ export default class SelectField extends PureComponent {
|
|
|
155
153
|
needLocalSearch: needLocalSearch,
|
|
156
154
|
isDefaultSelectValue: isDefaultSelectValue,
|
|
157
155
|
placeHolder: placeHolder,
|
|
158
|
-
iconOnHover: iconOnHover
|
|
159
|
-
|
|
156
|
+
iconOnHover: iconOnHover,
|
|
157
|
+
...SelectProps,
|
|
160
158
|
ariaLabelledby: uniqueId
|
|
161
|
-
}
|
|
159
|
+
}, children ? children : null)), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
162
160
|
text: validationMessage,
|
|
163
161
|
palette: validationPalette,
|
|
164
162
|
type: errorType,
|
|
165
163
|
htmlFor: uniqueId,
|
|
166
|
-
dataId: `${dataId}_ValidationMessage
|
|
167
|
-
|
|
164
|
+
dataId: `${dataId}_ValidationMessage`,
|
|
165
|
+
...ValidationMessageProps1
|
|
166
|
+
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
168
167
|
text: validationRuleMessage,
|
|
169
168
|
palette: validationRulePalette,
|
|
170
169
|
type: errorType,
|
|
171
170
|
htmlFor: uniqueId,
|
|
172
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
173
|
-
|
|
171
|
+
dataId: `${dataId}_ValidationRuleMessage`,
|
|
172
|
+
...ValidationMessageProps2
|
|
173
|
+
}));
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
}
|
|
@@ -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';
|
|
@@ -162,8 +160,7 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
162
160
|
const {
|
|
163
161
|
TextBoxIconProps = {},
|
|
164
162
|
TagWrapperProps = {},
|
|
165
|
-
TagProps = {}
|
|
166
|
-
listProps = {}
|
|
163
|
+
TagProps = {}
|
|
167
164
|
} = customProps;
|
|
168
165
|
return /*#__PURE__*/React.createElement("div", {
|
|
169
166
|
className: `${style.container} ${!isReadOnly ? ` ${needBorder ? style.hasBorder : ''}
|
|
@@ -188,10 +185,12 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
188
185
|
boxCustomProps,
|
|
189
186
|
tagCustomProps
|
|
190
187
|
} = tag;
|
|
191
|
-
return index < chipLimit ? /*#__PURE__*/React.createElement(Box,
|
|
188
|
+
return index < chipLimit ? /*#__PURE__*/React.createElement(Box, {
|
|
192
189
|
className: style.tag,
|
|
193
|
-
key: index
|
|
194
|
-
|
|
190
|
+
key: index,
|
|
191
|
+
...TagWrapperProps,
|
|
192
|
+
...boxCustomProps
|
|
193
|
+
}, /*#__PURE__*/React.createElement(Tag, {
|
|
195
194
|
id: id,
|
|
196
195
|
text: name,
|
|
197
196
|
onRemove: isReadOnly ? null : deleteTag.bind(this, name),
|
|
@@ -199,8 +198,10 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
199
198
|
palette: clickableTag ? 'defaultLink' : tagType === 'SYSTEM' ? 'primary' : 'default',
|
|
200
199
|
isReadOnly: isReadOnly,
|
|
201
200
|
onSelectTag: onSelectTag ? onSelectTag : undefined,
|
|
202
|
-
customClass: tagCustomClass
|
|
203
|
-
|
|
201
|
+
customClass: tagCustomClass,
|
|
202
|
+
...TagProps,
|
|
203
|
+
...tagCustomProps
|
|
204
|
+
})) : null;
|
|
204
205
|
}), tagsList.length > chipNeedToShow && !isPopupReady ? /*#__PURE__*/React.createElement(Box, {
|
|
205
206
|
className: style.moreLess,
|
|
206
207
|
dataId: `${dataId}_tagsMore`,
|
|
@@ -212,7 +213,7 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
212
213
|
className: style.inputWrapper
|
|
213
214
|
}, /*#__PURE__*/React.createElement("span", {
|
|
214
215
|
className: style.custmSpan
|
|
215
|
-
}, name), /*#__PURE__*/React.createElement(TextBoxIcon,
|
|
216
|
+
}, name), /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
216
217
|
htmlId: htmlId,
|
|
217
218
|
dataId: `${dataId}_tagInp`,
|
|
218
219
|
value: name,
|
|
@@ -228,8 +229,9 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
228
229
|
customTextBox: style.input
|
|
229
230
|
},
|
|
230
231
|
size: "xsmall",
|
|
231
|
-
inputRef: this.textInputRef
|
|
232
|
-
|
|
232
|
+
inputRef: this.textInputRef,
|
|
233
|
+
...TextBoxIconProps
|
|
234
|
+
}, getTextBoxChildren ? getTextBoxChildren() : null))), isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
233
235
|
query: this.responsiveFunc,
|
|
234
236
|
responsiveId: "Helmet"
|
|
235
237
|
}, _ref2 => {
|
|
@@ -275,7 +277,7 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
275
277
|
isNew,
|
|
276
278
|
listItemProps
|
|
277
279
|
} = item;
|
|
278
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, searchList.length > 1 && isNew ? /*#__PURE__*/React.createElement(DropDownSeparator, null) : null, /*#__PURE__*/React.createElement(ListItem,
|
|
280
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, searchList.length > 1 && isNew ? /*#__PURE__*/React.createElement(DropDownSeparator, null) : null, /*#__PURE__*/React.createElement(ListItem, {
|
|
279
281
|
key: index,
|
|
280
282
|
index: index,
|
|
281
283
|
autoHover: true,
|
|
@@ -288,7 +290,7 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
288
290
|
isDisabled: listDisabled,
|
|
289
291
|
customProps: listItemProps,
|
|
290
292
|
customClass: listItemClass
|
|
291
|
-
},
|
|
293
|
+
}, isNew ? /*#__PURE__*/React.createElement(Container, {
|
|
292
294
|
alignBox: "row",
|
|
293
295
|
align: "vertical"
|
|
294
296
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -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 } from './props/propTypes';
|
|
@@ -202,7 +200,7 @@ const TagsMultiSelectField = props => {
|
|
|
202
200
|
renderProps: {
|
|
203
201
|
end: renderEnd
|
|
204
202
|
}
|
|
205
|
-
}, /*#__PURE__*/React.createElement(Label,
|
|
203
|
+
}, /*#__PURE__*/React.createElement(Label, {
|
|
206
204
|
text: labelName,
|
|
207
205
|
title: labelName,
|
|
208
206
|
id: id,
|
|
@@ -210,11 +208,12 @@ const TagsMultiSelectField = props => {
|
|
|
210
208
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
211
209
|
customClass: `${fieldStyle.fieldLabel} ${isMandatory ? fieldStyle.labelMandatory : ''} ${labelClass ? labelClass : ''}`,
|
|
212
210
|
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
213
|
-
htmlFor: htmlId
|
|
214
|
-
|
|
211
|
+
htmlFor: htmlId,
|
|
212
|
+
...LabelProps
|
|
213
|
+
}), selectedValueCount ? /*#__PURE__*/React.createElement(Box, {
|
|
215
214
|
dataId: `${dataId}_tagCount`,
|
|
216
215
|
className: style.count
|
|
217
|
-
}, `(${selectedValueCount})`) : null), /*#__PURE__*/React.createElement(TagsMultiSelect,
|
|
216
|
+
}, `(${selectedValueCount})`) : null), /*#__PURE__*/React.createElement(TagsMultiSelect, {
|
|
218
217
|
addTag: handleAdd,
|
|
219
218
|
deleteTag: onDelete,
|
|
220
219
|
handleChange: handleChange,
|
|
@@ -244,16 +243,17 @@ const TagsMultiSelectField = props => {
|
|
|
244
243
|
borderColor: borderColor,
|
|
245
244
|
htmlId: htmlId,
|
|
246
245
|
getTextBoxChildren: getTextBoxChildren,
|
|
247
|
-
className: containerClass
|
|
248
|
-
|
|
246
|
+
className: containerClass,
|
|
247
|
+
...TagsMultiSelectProps,
|
|
249
248
|
clickableTag: clickableTag
|
|
250
|
-
})
|
|
249
|
+
}), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
251
250
|
text: validationMessage,
|
|
252
251
|
palette: validationPalette,
|
|
253
252
|
type: errorType,
|
|
254
253
|
dataId: `${dataId}_ValidationMessage`,
|
|
255
|
-
htmlFor: htmlId
|
|
256
|
-
|
|
254
|
+
htmlFor: htmlId,
|
|
255
|
+
...ValidationMessageProps
|
|
256
|
+
}));
|
|
257
257
|
};
|
|
258
258
|
|
|
259
259
|
TagsMultiSelectField.propTypes = 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
|
/**** Libraries ****/
|
|
4
2
|
import React, { PureComponent } from 'react';
|
|
5
3
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -103,18 +101,18 @@ export default class TextBoxField extends PureComponent {
|
|
|
103
101
|
ePhiData: ePhiData,
|
|
104
102
|
dataId: dataId,
|
|
105
103
|
renderProps: renderLabelProps
|
|
106
|
-
}, /*#__PURE__*/React.createElement(Label,
|
|
104
|
+
}, /*#__PURE__*/React.createElement(Label, {
|
|
107
105
|
text: labelName,
|
|
108
106
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
109
107
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
110
108
|
customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
111
109
|
htmlFor: uniqueId,
|
|
112
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label
|
|
113
|
-
|
|
110
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
111
|
+
...LabelProps,
|
|
114
112
|
id: labelName
|
|
115
|
-
}))
|
|
113
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
116
114
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
|
|
117
|
-
}, /*#__PURE__*/React.createElement(TextBoxIcon,
|
|
115
|
+
}, /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
118
116
|
htmlId: uniqueId,
|
|
119
117
|
id: id,
|
|
120
118
|
type: textBoxType,
|
|
@@ -134,24 +132,26 @@ export default class TextBoxField extends PureComponent {
|
|
|
134
132
|
isDisabled: isDisabled,
|
|
135
133
|
needEffect: isReadOnly || isDisabled ? false : true,
|
|
136
134
|
isClickable: isClickable,
|
|
137
|
-
needReadOnlyStyle: needReadOnlyStyle
|
|
138
|
-
|
|
135
|
+
needReadOnlyStyle: needReadOnlyStyle,
|
|
136
|
+
...TextBoxIconProps,
|
|
139
137
|
a11y: {
|
|
140
138
|
ariaLabelledby: labelName
|
|
141
139
|
}
|
|
142
|
-
}
|
|
140
|
+
}, children ? children : null), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
143
141
|
text: validationMessage,
|
|
144
142
|
palette: validationPalette,
|
|
145
143
|
type: errorType,
|
|
146
144
|
dataId: `${dataId}_ValidationMessage`,
|
|
147
|
-
htmlFor: uniqueId
|
|
148
|
-
|
|
145
|
+
htmlFor: uniqueId,
|
|
146
|
+
...ValidationMessageProps1
|
|
147
|
+
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
149
148
|
text: validationRuleMessage,
|
|
150
149
|
palette: validationRulePalette,
|
|
151
150
|
type: errorType,
|
|
152
151
|
htmlFor: uniqueId,
|
|
153
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
154
|
-
|
|
152
|
+
dataId: `${dataId}_ValidationRuleMessage`,
|
|
153
|
+
...ValidationMessageProps2
|
|
154
|
+
})));
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
}
|