@zohodesk/dot 1.0.0-temp-181.7 → 1.0.0-temp-182
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/README.md +13 -0
- package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +0 -50
- package/assets/Appearance/light/mode/Dot_LightMode.module.css +0 -50
- package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +0 -50
- 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 +2 -5
- 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 +4 -7
- 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 +51 -4
- package/es/AlphabeticList/AlphabeticList.module.css +0 -2
- package/es/Attachment/Attachment.module.css +4 -4
- package/es/AttachmentViewer/AttachmentViewer.module.css +0 -2
- package/es/ChannelIcon/ChannelIcon.module.css +10 -5
- package/es/Drawer/Drawer.js +4 -5
- package/es/Drawer/Drawer.module.css +3 -3
- package/es/ExternalLink/ExternalLink.js +4 -5
- package/es/FlipCard/FlipCard.js +14 -12
- package/es/FormAction/FormAction.module.css +18 -1
- package/es/FreezeLayer/FreezeLayer.js +1 -1
- package/es/IconButton/IconButton.js +4 -5
- package/es/IconButton/IconButton.module.css +0 -1
- package/es/ImportantNotes/ImportantNotes.module.css +1 -1
- package/es/Link/Link.js +8 -10
- package/es/Message/Message.js +4 -5
- package/es/Message/Message.module.css +1 -1
- package/es/Separator/Separator.module.css +11 -2
- package/es/TagWithIcon/TagWithIcon.module.css +2 -5
- package/es/ToastMessage/ToastMessage.js +2 -4
- package/es/ToastMessage/ToastMessage.module.css +3 -3
- package/es/actions/AutoClose.js +2 -1
- package/es/alert/AlertHeader/AlertHeader.module.css +4 -2
- 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 +0 -6
- 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/AvatarUser/AvatarUser.module.css +46 -2
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +17 -14
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +2 -2
- package/es/common/dot_boxShadow.module.css +2 -0
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +36 -24
- package/es/dropdown/ToggleDropDown/props/defaultProps.js +2 -0
- package/es/dropdown/ToggleDropDown/props/propTypes.js +4 -0
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -4
- package/es/errorstate/EmptyStates.module.css +24 -1
- 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 +21 -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/TextEditor/TextEditor.module.css +48 -63
- 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 +16 -13
- package/es/form/fields/TextareaField/props/propTypes.js +1 -0
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +0 -1
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +22 -2
- package/es/layout/SubtabLayout/SubtabLayout.js +4 -6
- package/es/layout/SubtabLayout/SubtabLayout.module.css +1 -3
- package/es/list/AvatarFlip/AvatarFlip.module.css +2 -2
- package/es/list/Comment/Comment.module.css +0 -1
- package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +4 -2
- package/es/list/Dot/Dot.module.css +0 -1
- package/es/list/GridStencils/GridStencils.module.css +35 -1
- package/es/list/ListLayout/ListLayout.js +4 -5
- package/es/list/ListLayout/ListLayout.module.css +0 -6
- 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 +9 -2
- package/es/list/Thread/Thread.module.css +0 -1
- package/es/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/list/status/StatusListItem/StatusListItem.module.css +35 -6
- package/es/lookup/Lookup/Lookup.js +7 -7
- package/es/lookup/Lookup/Lookup.module.css +4 -1
- package/es/lookup/Lookup/props/propTypes.js +3 -2
- package/es/lookup/header/Close/LookupClose.module.css +3 -2
- package/es/lookup/header/Search/Search.js +5 -3
- package/es/lookup/header/TicketHeader/TicketHeader.js +88 -73
- package/es/lookup/header/TicketHeader/props/defaultProps.js +7 -1
- package/es/lookup/header/TicketHeader/props/propTypes.js +2 -1
- package/es/lookup/header/Title/LookupTitle.module.css +6 -2
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +13 -2
- package/es/lookup/header/lookupHeaderCommon.module.css +9 -2
- package/es/setup/header/Search/Search.module.css +14 -2
- package/es/setup/table/Text/TableText.module.css +11 -2
- package/es/v1/ActionButton/ActionButton.js +1 -1
- package/es/v1/AttachmentViewer/AttachmentViewer.js +2 -2
- package/es/v1/Drawer/Drawer.js +6 -7
- package/es/v1/ExternalLink/ExternalLink.js +4 -5
- package/es/v1/FlipCard/FlipCard.js +15 -13
- package/es/v1/FreezeLayer/FreezeLayer.js +2 -2
- 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/Loader/Loader.js +1 -1
- package/es/v1/Message/Message.js +4 -5
- package/es/v1/ToastMessage/ToastMessage.js +4 -6
- package/es/v1/actions/AutoClose.js +2 -1
- package/es/v1/alert/AlertLookup/AlertLookup.js +16 -16
- 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 +5 -6
- 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 +39 -27
- package/es/v1/dropdown/ToggleDropDown/props/defaultProps.js +2 -0
- package/es/v1/dropdown/ToggleDropDown/props/propTypes.js +4 -0
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +15 -13
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +15 -13
- package/es/v1/form/fields/DateField/DateField.js +15 -15
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +14 -13
- package/es/v1/form/fields/PhoneField/PhoneField.js +7 -7
- package/es/v1/form/fields/RadioField/RadioField.js +21 -16
- package/es/v1/form/fields/SelectField/SelectField.js +15 -15
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +14 -11
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +15 -15
- 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 +17 -14
- package/es/v1/form/fields/TextareaField/props/propTypes.js +1 -0
- 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/StatusDropdown/StatusDropdown.js +2 -2
- package/es/v1/list/status/StatusListItem/StatusListItem.js +6 -6
- package/es/v1/lookup/Lookup/Lookup.js +7 -7
- package/es/v1/lookup/Lookup/props/propTypes.js +3 -2
- package/es/v1/lookup/header/Search/Search.js +5 -3
- package/es/v1/lookup/header/TicketHeader/TicketHeader.js +30 -12
- package/es/v1/lookup/header/TicketHeader/props/defaultProps.js +7 -1
- package/es/v1/lookup/header/TicketHeader/props/propTypes.js +2 -1
- package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +7 -8
- package/es/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
- package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.js +6 -7
- package/es/version2/GlobalNotification/GlobalNotification.module.css +6 -10
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +7 -3
- package/es/version2/lookup/AlertLookup/AlertLookup.js +15 -15
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +8 -2
- package/es/version2/lookup/alertLookupCommonNew.module.css +1 -1
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +6 -7
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -3
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +96 -95
- package/lib/ActionButton/ActionButton.module.css +51 -4
- package/lib/AlphabeticList/AlphabeticList.module.css +0 -2
- package/lib/Attachment/Attachment.module.css +4 -4
- package/lib/AttachmentViewer/AttachmentViewer.module.css +0 -2
- package/lib/ChannelIcon/ChannelIcon.module.css +10 -5
- package/lib/Drawer/Drawer.module.css +3 -3
- package/lib/FormAction/FormAction.module.css +18 -1
- package/lib/FreezeLayer/FreezeLayer.js +1 -1
- package/lib/IconButton/IconButton.module.css +0 -1
- package/lib/ImportantNotes/ImportantNotes.module.css +1 -1
- package/lib/Message/Message.module.css +1 -1
- package/lib/Separator/Separator.module.css +11 -2
- package/lib/TagWithIcon/TagWithIcon.module.css +2 -5
- package/lib/ToastMessage/ToastMessage.module.css +3 -3
- package/lib/alert/AlertHeader/AlertHeader.module.css +4 -2
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +0 -6
- package/lib/avatar/AvatarUser/AvatarUser.module.css +46 -2
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +2 -2
- package/lib/common/dot_boxShadow.module.css +2 -0
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +8 -0
- package/lib/dropdown/ToggleDropDown/props/defaultProps.js +2 -0
- package/lib/dropdown/ToggleDropDown/props/propTypes.js +4 -0
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -4
- package/lib/errorstate/EmptyStates.module.css +24 -1
- package/lib/form/fields/RadioField/RadioField.js +3 -0
- package/lib/form/fields/TextEditor/TextEditor.module.css +48 -63
- package/lib/form/fields/TextareaField/TextareaField.js +2 -0
- package/lib/form/fields/TextareaField/props/propTypes.js +1 -0
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +0 -1
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +22 -2
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +1 -3
- package/lib/list/AvatarFlip/AvatarFlip.module.css +2 -2
- package/lib/list/Comment/Comment.module.css +0 -1
- package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +4 -2
- package/lib/list/Dot/Dot.module.css +0 -1
- package/lib/list/GridStencils/GridStencils.module.css +35 -1
- package/lib/list/ListLayout/ListLayout.module.css +0 -6
- package/lib/list/Subject/Subject.module.css +9 -2
- package/lib/list/Thread/Thread.module.css +0 -1
- package/lib/list/status/StatusListItem/StatusListItem.module.css +35 -6
- package/lib/lookup/Lookup/Lookup.js +3 -2
- package/lib/lookup/Lookup/Lookup.module.css +4 -1
- package/lib/lookup/Lookup/props/propTypes.js +3 -2
- package/lib/lookup/header/Close/LookupClose.module.css +3 -2
- package/lib/lookup/header/TicketHeader/TicketHeader.js +93 -106
- package/lib/lookup/header/TicketHeader/props/defaultProps.js +7 -1
- package/lib/lookup/header/TicketHeader/props/propTypes.js +2 -1
- package/lib/lookup/header/Title/LookupTitle.module.css +6 -2
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +13 -2
- package/lib/lookup/header/lookupHeaderCommon.module.css +9 -2
- package/lib/setup/header/Search/Search.module.css +14 -2
- package/lib/setup/table/Text/TableText.module.css +11 -2
- package/lib/v1/ActionButton/ActionButton.js +1 -1
- package/lib/v1/AttachmentViewer/AttachmentViewer.js +2 -2
- package/lib/v1/Drawer/Drawer.js +2 -2
- package/lib/v1/FlipCard/FlipCard.js +1 -1
- package/lib/v1/FreezeLayer/FreezeLayer.js +2 -2
- package/lib/v1/Loader/Loader.js +1 -1
- package/lib/v1/ToastMessage/ToastMessage.js +2 -2
- package/lib/v1/alert/AlertLookup/AlertLookup.js +1 -1
- package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +1 -1
- package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +11 -3
- package/lib/v1/dropdown/ToggleDropDown/props/defaultProps.js +2 -0
- package/lib/v1/dropdown/ToggleDropDown/props/propTypes.js +4 -0
- package/lib/v1/form/fields/CurrencyField/CurrencyField.js +1 -1
- package/lib/v1/form/fields/DateField/DateField.js +1 -1
- package/lib/v1/form/fields/MultiSelectField/MultiSelectField.js +1 -1
- package/lib/v1/form/fields/RadioField/RadioField.js +3 -0
- package/lib/v1/form/fields/SelectField/SelectField.js +1 -1
- package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +1 -1
- package/lib/v1/form/fields/TextBoxField/TextBoxField.js +1 -1
- package/lib/v1/form/fields/TextareaField/TextareaField.js +3 -1
- package/lib/v1/form/fields/TextareaField/props/propTypes.js +1 -0
- package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
- package/lib/v1/list/status/StatusListItem/StatusListItem.js +1 -1
- package/lib/v1/lookup/Lookup/Lookup.js +3 -2
- package/lib/v1/lookup/Lookup/props/propTypes.js +3 -2
- package/lib/v1/lookup/header/TicketHeader/TicketHeader.js +37 -12
- package/lib/v1/lookup/header/TicketHeader/props/defaultProps.js +7 -1
- package/lib/v1/lookup/header/TicketHeader/props/propTypes.js +2 -1
- package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/lib/v1/notification/DesktopNotification/DesktopNotification.js +1 -1
- package/lib/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
- package/lib/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +6 -10
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +7 -3
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +8 -2
- package/lib/version2/lookup/alertLookupCommonNew.module.css +1 -1
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -3
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +96 -95
- package/package.json +12 -13
- package/result.json +1 -1
- package/es/v1/DotWrapper/DotWrapper.js +0 -39
- package/es/v1/DotWrapper/libraryChunks/appearance/component/DarkMode_Component.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/component/LightMode_Component.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/component/PureDarkMode_Component.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/dot/DarkMode_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/dot/LightMode_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/dot/PureDarkMode_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/svg/DarkMode_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/svg/LightMode_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/svg/PureDarkMode_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/dynamicImports.js +0 -24
- package/es/v1/DotWrapper/libraryChunks/size/fontSize.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/size/zoomSize.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/green/Green_Light_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/red/Red_Light_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Dark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Light_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Dark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Light_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Dark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Light_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Dark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Light_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +0 -1
- package/es/v1/DotWrapper/props/defaultProps.js +0 -6
- package/es/v1/DotWrapper/props/propTypes.js +0 -9
- package/es/v1/DotWrapper/utils/appearanceProperties.js +0 -46
- package/es/v1/DotWrapper/utils/errorMessage.js +0 -7
- package/es/v1/DotWrapper/utils/importFiles.js +0 -28
- package/es/v1/DotWrapper/utils/sizeProperties.js +0 -12
- package/es/v1/DotWrapper/utils/themeProperties.js +0 -220
- package/es/v1/Provider/Config.js +0 -20
- package/lib/v1/DotWrapper/DotWrapper.js +0 -64
- package/lib/v1/DotWrapper/libraryChunks/appearance/component/DarkMode_Component.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/component/LightMode_Component.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/component/PureDarkMode_Component.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/dot/DarkMode_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/dot/LightMode_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/dot/PureDarkMode_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/svg/DarkMode_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/svg/LightMode_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/svg/PureDarkMode_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/dynamicImports.js +0 -43
- package/lib/v1/DotWrapper/libraryChunks/size/fontSize.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/size/zoomSize.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/green/Green_Light_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/red/Red_Light_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Dark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Light_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Dark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Light_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Dark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Light_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Dark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Light_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +0 -3
- package/lib/v1/DotWrapper/props/defaultProps.js +0 -13
- package/lib/v1/DotWrapper/props/propTypes.js +0 -20
- package/lib/v1/DotWrapper/utils/appearanceProperties.js +0 -79
- package/lib/v1/DotWrapper/utils/errorMessage.js +0 -14
- package/lib/v1/DotWrapper/utils/importFiles.js +0 -35
- package/lib/v1/DotWrapper/utils/sizeProperties.js +0 -31
- package/lib/v1/DotWrapper/utils/themeProperties.js +0 -325
- package/lib/v1/Provider/Config.js +0 -29
- /package/es/{FreezeLayer → Hooks}/useFreezeLayer.js +0 -0
- /package/lib/{FreezeLayer → Hooks}/useFreezeLayer.js +0 -0
|
@@ -1,57 +1,72 @@
|
|
|
1
1
|
.container, .tabletContainer {
|
|
2
2
|
text-align: center;
|
|
3
|
-
background-color: var(--
|
|
3
|
+
background-color: var(--zdt_base_bg);
|
|
4
4
|
}
|
|
5
|
+
|
|
5
6
|
.container {
|
|
6
7
|
padding-top: var(--zd_size80) ;
|
|
7
8
|
}
|
|
9
|
+
|
|
8
10
|
.tabletContainer {
|
|
9
11
|
padding-top: var(--zd_size50) ;
|
|
10
12
|
}
|
|
13
|
+
|
|
11
14
|
.top {
|
|
12
15
|
position: relative;
|
|
13
16
|
}
|
|
17
|
+
|
|
14
18
|
.header {
|
|
15
19
|
min-width: var(--zd_size400) ;
|
|
16
20
|
display: inline-block;
|
|
17
21
|
margin: 0 auto ;
|
|
18
22
|
}
|
|
23
|
+
|
|
19
24
|
[dir=ltr] .header {
|
|
20
25
|
text-align: left;
|
|
21
26
|
}
|
|
27
|
+
|
|
22
28
|
[dir=rtl] .header {
|
|
23
29
|
text-align: right;
|
|
24
30
|
}
|
|
31
|
+
|
|
25
32
|
.title,
|
|
26
33
|
.tabletTitle,
|
|
27
34
|
.mobileTitle {
|
|
28
35
|
composes: semibold from '~@zohodesk/components/lib/common/common.module.css';
|
|
29
36
|
letter-spacing: var(--zd_size1);
|
|
30
37
|
}
|
|
38
|
+
|
|
31
39
|
.title, .tabletTitle, .mobileTitle {
|
|
32
40
|
margin-bottom: var(--zd_size5) ;
|
|
33
41
|
}
|
|
42
|
+
|
|
34
43
|
.title {
|
|
35
44
|
font-size: var(--zd_font_size50) ;
|
|
36
45
|
line-height: 1.4;
|
|
37
46
|
}
|
|
47
|
+
|
|
38
48
|
.tabletTitle {
|
|
39
49
|
font-size: var(--zd_font_size24) ;
|
|
40
50
|
line-height: 2.0833;
|
|
41
51
|
}
|
|
52
|
+
|
|
42
53
|
.mobileTitle {
|
|
43
54
|
font-size: var(--zd_font_size22) ;
|
|
44
55
|
line-height: 1.3636;
|
|
45
56
|
}
|
|
57
|
+
|
|
46
58
|
.subtitle {
|
|
47
59
|
font-size: var(--zd_font_size30) ;
|
|
48
60
|
}
|
|
61
|
+
|
|
49
62
|
.tabletSubTitle {
|
|
50
63
|
font-size: var(--zd_font_size18) ;
|
|
51
64
|
}
|
|
65
|
+
|
|
52
66
|
.mobileSubTitle {
|
|
53
67
|
font-size: var(--zd_font_size16) ;
|
|
54
68
|
}
|
|
69
|
+
|
|
55
70
|
.title,
|
|
56
71
|
.subtitle {
|
|
57
72
|
color: var(--zdt_emptystate_title_text);
|
|
@@ -62,27 +77,35 @@
|
|
|
62
77
|
text-align: center;
|
|
63
78
|
margin: 0 auto ;
|
|
64
79
|
}
|
|
80
|
+
|
|
65
81
|
.footerWidth {
|
|
66
82
|
min-width: var(--zd_size400) ;
|
|
67
83
|
}
|
|
84
|
+
|
|
68
85
|
.btmText, .tabletBtmText {
|
|
69
86
|
margin-bottom: var(--zd_size10) ;
|
|
70
87
|
}
|
|
88
|
+
|
|
71
89
|
.btmText {
|
|
72
90
|
font-size: var(--zd_font_size14) ;
|
|
73
91
|
}
|
|
92
|
+
|
|
74
93
|
.tabletBtmText {
|
|
75
94
|
font-size: var(--zd_font_size12) ;
|
|
76
95
|
}
|
|
96
|
+
|
|
77
97
|
.imageContainer, .tabletImageContainer, .mobileImageContainer {
|
|
78
98
|
margin-bottom: var(--zd_size30) ;
|
|
79
99
|
}
|
|
100
|
+
|
|
80
101
|
.imageContainer {
|
|
81
102
|
height: var(--zd_size400) ;
|
|
82
103
|
}
|
|
104
|
+
|
|
83
105
|
.mobileImageContainer {
|
|
84
106
|
height: var(--zd_size300) ;
|
|
85
107
|
}
|
|
108
|
+
|
|
86
109
|
.tabletImageContainer {
|
|
87
110
|
height: var(--zd_size350) ;
|
|
88
111
|
}
|
|
@@ -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,26 +60,28 @@ 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 {
|
|
76
75
|
text,
|
|
77
76
|
value,
|
|
78
77
|
disabled = false,
|
|
78
|
+
tooltip,
|
|
79
79
|
infoTooltip
|
|
80
80
|
} = option;
|
|
81
81
|
return /*#__PURE__*/React.createElement("span", {
|
|
82
82
|
key: index,
|
|
83
83
|
className: `${style.radio}`
|
|
84
|
-
}, /*#__PURE__*/React.createElement(Radio,
|
|
84
|
+
}, /*#__PURE__*/React.createElement(Radio, {
|
|
85
85
|
id: index,
|
|
86
86
|
value: value,
|
|
87
87
|
name: id,
|
|
@@ -90,29 +90,35 @@ export default class RadioField extends PureComponent {
|
|
|
90
90
|
labelSize: labelSize,
|
|
91
91
|
active: isActive,
|
|
92
92
|
disabled: disabled || isDisabled,
|
|
93
|
+
disabledTitle: tooltip,
|
|
94
|
+
title: tooltip,
|
|
93
95
|
onChange: this.handleChange,
|
|
94
96
|
size: size,
|
|
95
97
|
checked: selectedValue == value,
|
|
96
98
|
dataId: dataId,
|
|
97
99
|
isReadOnly: isReadOnly,
|
|
98
|
-
variant: variant
|
|
99
|
-
|
|
100
|
+
variant: variant,
|
|
101
|
+
...RadioProps
|
|
102
|
+
}, !!infoTooltip ? /*#__PURE__*/React.createElement(Icon, {
|
|
100
103
|
name: "ZD-GN-info",
|
|
101
104
|
size: "16",
|
|
102
105
|
title: infoTooltip,
|
|
103
|
-
iconClass: style.infoIcon
|
|
104
|
-
|
|
105
|
-
|
|
106
|
+
iconClass: style.infoIcon,
|
|
107
|
+
...InfoIconProps
|
|
108
|
+
}) : null));
|
|
109
|
+
})), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
106
110
|
text: validationMessage,
|
|
107
111
|
palette: validationPalette,
|
|
108
112
|
type: errorType,
|
|
109
|
-
dataId: `${dataId}_ValidationMessage
|
|
110
|
-
|
|
113
|
+
dataId: `${dataId}_ValidationMessage`,
|
|
114
|
+
...ValidationMessageProps1
|
|
115
|
+
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
111
116
|
text: validationRuleMessage,
|
|
112
117
|
palette: validationRulePalette,
|
|
113
118
|
type: errorType,
|
|
114
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
115
|
-
|
|
119
|
+
dataId: `${dataId}_ValidationRuleMessage`,
|
|
120
|
+
...ValidationMessageProps2
|
|
121
|
+
}));
|
|
116
122
|
}
|
|
117
123
|
|
|
118
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';
|
|
@@ -187,10 +185,12 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
187
185
|
boxCustomProps,
|
|
188
186
|
tagCustomProps
|
|
189
187
|
} = tag;
|
|
190
|
-
return index < chipLimit ? /*#__PURE__*/React.createElement(Box,
|
|
188
|
+
return index < chipLimit ? /*#__PURE__*/React.createElement(Box, {
|
|
191
189
|
className: style.tag,
|
|
192
|
-
key: index
|
|
193
|
-
|
|
190
|
+
key: index,
|
|
191
|
+
...TagWrapperProps,
|
|
192
|
+
...boxCustomProps
|
|
193
|
+
}, /*#__PURE__*/React.createElement(Tag, {
|
|
194
194
|
id: id,
|
|
195
195
|
text: name,
|
|
196
196
|
onRemove: isReadOnly ? null : deleteTag.bind(this, name),
|
|
@@ -198,8 +198,10 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
198
198
|
palette: clickableTag ? 'defaultLink' : tagType === 'SYSTEM' ? 'primary' : 'default',
|
|
199
199
|
isReadOnly: isReadOnly,
|
|
200
200
|
onSelectTag: onSelectTag ? onSelectTag : undefined,
|
|
201
|
-
customClass: tagCustomClass
|
|
202
|
-
|
|
201
|
+
customClass: tagCustomClass,
|
|
202
|
+
...TagProps,
|
|
203
|
+
...tagCustomProps
|
|
204
|
+
})) : null;
|
|
203
205
|
}), tagsList.length > chipNeedToShow && !isPopupReady ? /*#__PURE__*/React.createElement(Box, {
|
|
204
206
|
className: style.moreLess,
|
|
205
207
|
dataId: `${dataId}_tagsMore`,
|
|
@@ -211,7 +213,7 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
211
213
|
className: style.inputWrapper
|
|
212
214
|
}, /*#__PURE__*/React.createElement("span", {
|
|
213
215
|
className: style.custmSpan
|
|
214
|
-
}, name), /*#__PURE__*/React.createElement(TextBoxIcon,
|
|
216
|
+
}, name), /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
215
217
|
htmlId: htmlId,
|
|
216
218
|
dataId: `${dataId}_tagInp`,
|
|
217
219
|
value: name,
|
|
@@ -227,8 +229,9 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
227
229
|
customTextBox: style.input
|
|
228
230
|
},
|
|
229
231
|
size: "xsmall",
|
|
230
|
-
inputRef: this.textInputRef
|
|
231
|
-
|
|
232
|
+
inputRef: this.textInputRef,
|
|
233
|
+
...TextBoxIconProps
|
|
234
|
+
}, getTextBoxChildren ? getTextBoxChildren() : null))), isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
232
235
|
query: this.responsiveFunc,
|
|
233
236
|
responsiveId: "Helmet"
|
|
234
237
|
}, _ref2 => {
|
|
@@ -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;
|