@zohodesk/dot 1.0.0-temp-181.8 → 1.0.0-temp-184
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 +5 -4
- package/es/ExternalLink/ExternalLink.js +5 -4
- package/es/FlipCard/FlipCard.js +12 -14
- package/es/FormAction/FormAction.module.css +100 -100
- package/es/IconButton/IconButton.js +5 -4
- package/es/IconButton/IconButton.module.css +22 -22
- package/es/Link/Link.js +10 -8
- package/es/Message/Message.js +5 -4
- package/es/TagWithIcon/TagWithIcon.module.css +66 -66
- package/es/ToastMessage/ToastMessage.js +4 -2
- package/es/actions/AutoClose.js +1 -2
- package/es/alert/AlertLookup/AlertLookup.js +12 -14
- package/es/avatar/AvatarClose/AvatarClose.js +7 -7
- package/es/avatar/AvatarCollision/AvatarCollision.js +7 -7
- package/es/avatar/AvatarIcon/AvatarIcon.js +5 -4
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/es/avatar/AvatarStatus/AvatarStatus.js +8 -7
- package/es/avatar/AvatarThread/AvatarThread.js +7 -7
- package/es/avatar/AvatarUser/AvatarUser.js +9 -10
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +14 -17
- package/es/common/dot_boxShadow.module.css +2 -0
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +24 -28
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -92
- package/es/form/fields/CheckBoxField/CheckBoxField.js +13 -15
- package/es/form/fields/CurrencyField/CurrencyField.js +12 -14
- package/es/form/fields/DateField/DateField.js +14 -14
- package/es/form/fields/MultiSelectField/MultiSelectField.js +12 -13
- package/es/form/fields/PhoneField/PhoneField.js +7 -7
- package/es/form/fields/RadioField/RadioField.js +15 -18
- package/es/form/fields/SelectField/SelectField.js +14 -14
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +10 -13
- 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 +10 -11
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +10 -11
- package/es/form/fields/TextareaField/TextareaField.js +13 -14
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/es/layout/SubtabLayout/SubtabLayout.js +6 -4
- package/es/layout/SubtabLayout/SubtabLayout.module.css +164 -164
- package/es/list/Comment/Comment.module.css +29 -29
- package/es/list/Dot/Dot.module.css +15 -15
- package/es/list/ListLayout/ListLayout.js +5 -4
- package/es/list/ListLayout/ListLayout.module.css +79 -79
- package/es/list/SecondaryText/AccountName.js +12 -12
- package/es/list/SecondaryText/ContactName.js +9 -8
- package/es/list/SecondaryText/Email.js +8 -8
- package/es/list/SecondaryText/PhoneNumber.js +8 -8
- package/es/list/SecondaryText/SecondaryText.js +5 -4
- package/es/list/SecondaryText/TicketId.js +7 -7
- package/es/list/Subject/Subject.js +7 -7
- package/es/list/Subject/Subject.module.css +34 -34
- package/es/list/Thread/Thread.js +1 -2
- package/es/list/Thread/Thread.module.css +42 -42
- package/es/list/status/StatusDropdown/StatusDropdown.js +101 -142
- package/es/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/lookup/Lookup/Lookup.js +5 -4
- package/es/lookup/header/Search/Search.js +3 -5
- package/es/v1/Drawer/Drawer.js +5 -4
- package/es/v1/ExternalLink/ExternalLink.js +5 -4
- package/es/v1/FlipCard/FlipCard.js +12 -14
- package/es/v1/GlobalNotification/GlobalNotification.js +7 -6
- package/es/v1/IconButton/IconButton.js +5 -4
- package/es/v1/Link/Link.js +10 -8
- package/es/v1/Message/Message.js +5 -4
- package/es/v1/ToastMessage/ToastMessage.js +4 -2
- package/es/v1/actions/AutoClose.js +1 -2
- 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 +5 -4
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +8 -7
- package/es/v1/avatar/AvatarThread/AvatarThread.js +7 -7
- package/es/v1/avatar/AvatarUser/AvatarUser.js +9 -10
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +14 -17
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +24 -28
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +13 -15
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +12 -14
- package/es/v1/form/fields/DateField/DateField.js +14 -14
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +12 -13
- package/es/v1/form/fields/PhoneField/PhoneField.js +7 -7
- package/es/v1/form/fields/RadioField/RadioField.js +16 -18
- package/es/v1/form/fields/SelectField/SelectField.js +14 -14
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +10 -13
- 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 +10 -11
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +10 -11
- package/es/v1/form/fields/TextareaField/TextareaField.js +13 -14
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +6 -4
- package/es/v1/list/ListLayout/ListLayout.js +5 -4
- package/es/v1/list/SecondaryText/AccountName.js +12 -12
- package/es/v1/list/SecondaryText/ContactName.js +9 -8
- 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 +5 -4
- package/es/v1/list/SecondaryText/TicketId.js +7 -7
- package/es/v1/list/Subject/Subject.js +7 -7
- package/es/v1/list/Thread/Thread.js +1 -2
- package/es/v1/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/v1/lookup/Lookup/Lookup.js +5 -4
- package/es/v1/lookup/header/Search/Search.js +3 -5
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +7 -6
- package/es/version2/GlobalNotification/GlobalNotification.js +7 -6
- 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 +7 -6
- 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 +2 -0
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -92
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +164 -164
- package/lib/list/Comment/Comment.module.css +29 -29
- package/lib/list/Dot/Dot.module.css +15 -15
- package/lib/list/ListLayout/ListLayout.module.css +79 -79
- package/lib/list/Subject/Subject.module.css +34 -34
- package/lib/list/Thread/Thread.js +1 -2
- package/lib/list/Thread/Thread.module.css +42 -42
- package/lib/list/status/StatusDropdown/StatusDropdown.js +162 -207
- package/lib/v1/list/Thread/Thread.js +1 -2
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +177 -177
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +132 -132
- package/package.json +1 -1
- package/result.json +1 -1
- 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/importMapping.js +0 -19
- 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 -31
- package/es/v1/DotWrapper/utils/sizeProperties.js +0 -12
- package/es/v1/DotWrapper/utils/themeProperties.js +0 -220
- 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/importMapping.js +0 -26
- 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 -40
- package/lib/v1/DotWrapper/utils/sizeProperties.js +0 -31
- package/lib/v1/DotWrapper/utils/themeProperties.js +0 -325
|
@@ -7,9 +7,9 @@ import { Box, Container } from '@zohodesk/components/lib/Layout';
|
|
|
7
7
|
import DropDownHeading from '@zohodesk/components/lib/DropDown/DropDownHeading';
|
|
8
8
|
import TextBoxIcon from '@zohodesk/components/lib/TextBoxIcon/TextBoxIcon';
|
|
9
9
|
import Loader from '@zohodesk/svg/lib/Loader/Loader';
|
|
10
|
-
import EmptySearch from '@zohodesk/svg/lib/emptystate/version3/EmptySearch';
|
|
11
|
-
import
|
|
12
|
-
|
|
10
|
+
import EmptySearch from '@zohodesk/svg/lib/emptystate/version3/EmptySearch'; // import { scrollTo } from '@zohodesk/components/lib/utils/Common.js';
|
|
11
|
+
// import TextBox from '@zohodesk/components/lib/TextBox/TextBox';
|
|
12
|
+
|
|
13
13
|
import CommonEmptyState from '../../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
14
14
|
import StatusListItem from '../StatusListItem/StatusListItem';
|
|
15
15
|
import commonStyle from '@zohodesk/components/lib/common/common.module.css';
|
|
@@ -23,20 +23,20 @@ export class StatusDropdown extends React.Component {
|
|
|
23
23
|
super(props);
|
|
24
24
|
this.state = {
|
|
25
25
|
searchString: '',
|
|
26
|
-
selectedIndex: 0,
|
|
26
|
+
// selectedIndex: 0,
|
|
27
27
|
options: props.options
|
|
28
28
|
};
|
|
29
|
-
this.handleChange = this.handleChange.bind(this);
|
|
30
|
-
|
|
29
|
+
this.handleChange = this.handleChange.bind(this); // this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
30
|
+
|
|
31
31
|
this.onSelect = this.onSelect.bind(this);
|
|
32
32
|
this.handleTogglePopup = this.handleTogglePopup.bind(this);
|
|
33
33
|
this.onSearchClear = this.onSearchClear.bind(this);
|
|
34
34
|
this.searchList = this.searchList.bind(this);
|
|
35
|
-
this.scrollContentRef = this.scrollContentRef.bind(this);
|
|
36
|
-
|
|
35
|
+
this.scrollContentRef = this.scrollContentRef.bind(this); // this.handleMouseEnter = this.handleMouseEnter.bind(this);
|
|
36
|
+
|
|
37
37
|
this.searchInputRef = this.searchInputRef.bind(this);
|
|
38
|
-
this.itemRef = this.itemRef.bind(this);
|
|
39
|
-
|
|
38
|
+
this.itemRef = this.itemRef.bind(this); // this.inputRef = this.inputRef.bind(this);
|
|
39
|
+
|
|
40
40
|
this.handleScroll = this.handleScroll.bind(this);
|
|
41
41
|
this.emptySearchSVG = this.emptySearchSVG.bind(this);
|
|
42
42
|
this.getAriaId = getUniqueId(this);
|
|
@@ -46,11 +46,10 @@ export class StatusDropdown extends React.Component {
|
|
|
46
46
|
return /*#__PURE__*/React.createElement(EmptySearch, {
|
|
47
47
|
size: "small"
|
|
48
48
|
});
|
|
49
|
-
}
|
|
49
|
+
} // inputRef(el) {
|
|
50
|
+
// this.hiddenInput = el;
|
|
51
|
+
// }
|
|
50
52
|
|
|
51
|
-
inputRef(el) {
|
|
52
|
-
this.hiddenInput = el;
|
|
53
|
-
}
|
|
54
53
|
|
|
55
54
|
itemRef(ele, index, id) {
|
|
56
55
|
this[`suggestion_${id}`] = ele;
|
|
@@ -104,107 +103,68 @@ export class StatusDropdown extends React.Component {
|
|
|
104
103
|
}
|
|
105
104
|
|
|
106
105
|
componentDidUpdate(prevProps) {
|
|
107
|
-
let {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
let mergeOptions = options;
|
|
124
|
-
let option = mergeOptions[selectedIndex];
|
|
125
|
-
let id = option && option[idName] || {};
|
|
126
|
-
let selSuggestion = this[`suggestion_${id}`];
|
|
127
|
-
|
|
128
|
-
if (isPopupOpen) {
|
|
129
|
-
this.optionsContainer && scrollTo(this.optionsContainer, selSuggestion);
|
|
130
|
-
}
|
|
131
|
-
|
|
106
|
+
// let { isPopupOpen, isSearch, idName } = this.props;
|
|
107
|
+
// let { selectedIndex, options } = this.state;
|
|
108
|
+
// if (prevProps.isPopupOpen != isPopupOpen) {
|
|
109
|
+
// setTimeout(() => {
|
|
110
|
+
// isPopupOpen && isSearch
|
|
111
|
+
// ? this.searchInput && this.searchInput.focus()
|
|
112
|
+
// : this.hiddenInput && this.hiddenInput.focus();
|
|
113
|
+
// }, 10);
|
|
114
|
+
// }
|
|
115
|
+
// let mergeOptions = options;
|
|
116
|
+
// let option = mergeOptions[selectedIndex];
|
|
117
|
+
// let id = (option && option[idName]) || {};
|
|
118
|
+
// let selSuggestion = this[`suggestion_${id}`];
|
|
119
|
+
// if (isPopupOpen) {
|
|
120
|
+
// this.optionsContainer && scrollTo(this.optionsContainer, selSuggestion);
|
|
121
|
+
// }
|
|
132
122
|
if (!prevProps.isPopupOpen && this.props.isPopupOpen) {
|
|
133
123
|
this.onSearchClear();
|
|
134
124
|
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
break;
|
|
179
|
-
|
|
180
|
-
case 38:
|
|
181
|
-
if (selectedIndex === 0) {
|
|
182
|
-
this.setState({
|
|
183
|
-
selectedIndex: totalIndex - 1
|
|
184
|
-
});
|
|
185
|
-
} else {
|
|
186
|
-
this.setState({
|
|
187
|
-
selectedIndex: selectedIndex - 1
|
|
188
|
-
});
|
|
189
|
-
}
|
|
125
|
+
} // handleKeyDown(e) {
|
|
126
|
+
// let { keyCode } = e;
|
|
127
|
+
// let { selectedIndex, options } = this.state;
|
|
128
|
+
// let totalIndex = options.length;
|
|
129
|
+
// let { togglePopup, onClick, boxPosition, isPopupReady, isNextOptions, getNextOptions, onTogglePopup, isPopupOpen } =
|
|
130
|
+
// this.props;
|
|
131
|
+
// if (isPopupReady && (keyCode === 38 || keyCode === 40) && e.preventDefault) {
|
|
132
|
+
// e.preventDefault(); //prevent body scroll
|
|
133
|
+
// }
|
|
134
|
+
// if (isPopupReady) {
|
|
135
|
+
// switch (keyCode) {
|
|
136
|
+
// case 40:
|
|
137
|
+
// if (selectedIndex === totalIndex - 1) {
|
|
138
|
+
// this.setState({ selectedIndex: 0 });
|
|
139
|
+
// } else {
|
|
140
|
+
// if (selectedIndex === totalIndex - 3) {
|
|
141
|
+
// isNextOptions && getNextOptions && getNextOptions();
|
|
142
|
+
// }
|
|
143
|
+
// this.setState({ selectedIndex: selectedIndex + 1 });
|
|
144
|
+
// }
|
|
145
|
+
// break;
|
|
146
|
+
// case 38:
|
|
147
|
+
// if (selectedIndex === 0) {
|
|
148
|
+
// this.setState({ selectedIndex: totalIndex - 1 });
|
|
149
|
+
// } else {
|
|
150
|
+
// this.setState({ selectedIndex: selectedIndex - 1 });
|
|
151
|
+
// }
|
|
152
|
+
// break;
|
|
153
|
+
// case 13:
|
|
154
|
+
// onClick && onClick(options[selectedIndex].name, e);
|
|
155
|
+
// onTogglePopup && onTogglePopup(isPopupOpen);
|
|
156
|
+
// togglePopup(e, boxPosition);
|
|
157
|
+
// break;
|
|
158
|
+
// default:
|
|
159
|
+
// break;
|
|
160
|
+
// }
|
|
161
|
+
// } else {
|
|
162
|
+
// if (keyCode === 13 || keyCode === 40) {
|
|
163
|
+
// togglePopup(e, boxPosition);
|
|
164
|
+
// }
|
|
165
|
+
// }
|
|
166
|
+
// }
|
|
190
167
|
|
|
191
|
-
break;
|
|
192
|
-
|
|
193
|
-
case 13:
|
|
194
|
-
onClick && onClick(options[selectedIndex].name, e);
|
|
195
|
-
onTogglePopup && onTogglePopup(isPopupOpen);
|
|
196
|
-
togglePopup(e, boxPosition);
|
|
197
|
-
break;
|
|
198
|
-
|
|
199
|
-
default:
|
|
200
|
-
break;
|
|
201
|
-
}
|
|
202
|
-
} else {
|
|
203
|
-
if (keyCode === 13 || keyCode === 40) {
|
|
204
|
-
togglePopup(e, boxPosition);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
168
|
|
|
209
169
|
searchList(value) {
|
|
210
170
|
let {
|
|
@@ -219,7 +179,7 @@ export class StatusDropdown extends React.Component {
|
|
|
219
179
|
let foptions = this.searchList(value);
|
|
220
180
|
this.setState({
|
|
221
181
|
searchString: value,
|
|
222
|
-
selectedIndex: -1,
|
|
182
|
+
// selectedIndex: -1,
|
|
223
183
|
options: foptions
|
|
224
184
|
});
|
|
225
185
|
}
|
|
@@ -230,13 +190,12 @@ export class StatusDropdown extends React.Component {
|
|
|
230
190
|
searchString: '',
|
|
231
191
|
options: foptions
|
|
232
192
|
});
|
|
233
|
-
}
|
|
193
|
+
} // handleMouseEnter(id, value, index, e) {
|
|
194
|
+
// this.setState({
|
|
195
|
+
// selectedIndex: index
|
|
196
|
+
// });
|
|
197
|
+
// }
|
|
234
198
|
|
|
235
|
-
handleMouseEnter(id, value, index, e) {
|
|
236
|
-
this.setState({
|
|
237
|
-
selectedIndex: index
|
|
238
|
-
});
|
|
239
|
-
}
|
|
240
199
|
|
|
241
200
|
handleScroll(e) {
|
|
242
201
|
const {
|
|
@@ -262,8 +221,7 @@ export class StatusDropdown extends React.Component {
|
|
|
262
221
|
|
|
263
222
|
render() {
|
|
264
223
|
let {
|
|
265
|
-
options
|
|
266
|
-
selectedIndex
|
|
224
|
+
options
|
|
267
225
|
} = this.state;
|
|
268
226
|
let {
|
|
269
227
|
value,
|
|
@@ -328,12 +286,11 @@ export class StatusDropdown extends React.Component {
|
|
|
328
286
|
tagName: "button",
|
|
329
287
|
alignBox: "row",
|
|
330
288
|
className: `${style.container} ${containerClass} ${btnStyle.buttonReset}`,
|
|
331
|
-
|
|
289
|
+
onClick: !showOnHover && !isDisabled && !isReadOnly && isEditable ? this.handleTogglePopup : null,
|
|
332
290
|
eleRef: getTargetRef,
|
|
333
291
|
align: targetAlign,
|
|
334
292
|
isCover: false,
|
|
335
293
|
dataId: dataId,
|
|
336
|
-
onClick: removeClose,
|
|
337
294
|
disabled: isDisabled || isReadOnly ? true : false,
|
|
338
295
|
"aria-haspopup": isSearch ? 'listbox' : 'menu',
|
|
339
296
|
"aria-expanded": isPopupReady && isEditable ? true : false,
|
|
@@ -341,15 +298,7 @@ export class StatusDropdown extends React.Component {
|
|
|
341
298
|
"aria-labelledby": ariaLabelledby,
|
|
342
299
|
"aria-label": ariaLabel,
|
|
343
300
|
"aria-disabled": isDisabled || isReadOnly
|
|
344
|
-
},
|
|
345
|
-
className: style.hiddenInput
|
|
346
|
-
}, /*#__PURE__*/React.createElement(TextBox, {
|
|
347
|
-
type: "text",
|
|
348
|
-
inputRef: this.inputRef,
|
|
349
|
-
onKeyDown: this.handleKeyDown,
|
|
350
|
-
needAppearance: false,
|
|
351
|
-
placeHolder: placeHolderText
|
|
352
|
-
})) : null, children ? children : /*#__PURE__*/React.createElement(Box, {
|
|
301
|
+
}, children ? children : /*#__PURE__*/React.createElement(Box, {
|
|
353
302
|
className: `${style.value} toggleDropText`,
|
|
354
303
|
shrink: true,
|
|
355
304
|
tagName: "span",
|
|
@@ -383,7 +332,10 @@ export class StatusDropdown extends React.Component {
|
|
|
383
332
|
customDropBoxWrap: style.dropBoxContainer
|
|
384
333
|
},
|
|
385
334
|
needResponsive: needResponsive,
|
|
386
|
-
isResponsivePadding: true
|
|
335
|
+
isResponsivePadding: true,
|
|
336
|
+
tabindex: 0,
|
|
337
|
+
needFocusScope: true,
|
|
338
|
+
onClose: this.handleTogglePopup
|
|
387
339
|
}, /*#__PURE__*/React.createElement(React.Fragment, null, isSearch ? /*#__PURE__*/React.createElement(Box, {
|
|
388
340
|
className: style.search
|
|
389
341
|
}, /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
@@ -392,8 +344,13 @@ export class StatusDropdown extends React.Component {
|
|
|
392
344
|
value: searchString,
|
|
393
345
|
onClear: this.onSearchClear,
|
|
394
346
|
size: searchBoxSize,
|
|
395
|
-
inputRef: this.searchInputRef
|
|
396
|
-
|
|
347
|
+
inputRef: this.searchInputRef // onKeyDown={this.handleKeyDown}
|
|
348
|
+
,
|
|
349
|
+
customProps: {
|
|
350
|
+
TextBoxProps: {
|
|
351
|
+
'data-a11y-autofocus': true
|
|
352
|
+
}
|
|
353
|
+
},
|
|
397
354
|
a11y: {
|
|
398
355
|
ariaHaspopup: isSearch ? 'listbox' : 'menu',
|
|
399
356
|
ariaExpanded: isPopupReady,
|
|
@@ -419,8 +376,9 @@ export class StatusDropdown extends React.Component {
|
|
|
419
376
|
eleRef: this.scrollContentRef,
|
|
420
377
|
onScroll: this.handleScroll,
|
|
421
378
|
role: isSearch ? 'listbox' : 'menu',
|
|
422
|
-
"aria-labelledby": ariaTitleId
|
|
423
|
-
|
|
379
|
+
"aria-labelledby": ariaTitleId // tabindex='-1'
|
|
380
|
+
,
|
|
381
|
+
"data-scroll": "true"
|
|
424
382
|
}, options.length != 0 && isDataLoaded ? /*#__PURE__*/React.createElement(React.Fragment, null, options.map((item, i) => /*#__PURE__*/React.createElement(React.Fragment, {
|
|
425
383
|
key: i
|
|
426
384
|
}, /*#__PURE__*/React.createElement(StatusListItem, {
|
|
@@ -429,11 +387,11 @@ export class StatusDropdown extends React.Component {
|
|
|
429
387
|
id: item[idName],
|
|
430
388
|
active: value === item[keyName],
|
|
431
389
|
onClick: this.onSelect.bind(this, item),
|
|
432
|
-
index: i
|
|
433
|
-
|
|
390
|
+
index: i // highlight={selectedIndex === i}
|
|
391
|
+
,
|
|
434
392
|
needTick: needTick,
|
|
435
|
-
needBorder: false
|
|
436
|
-
|
|
393
|
+
needBorder: false // onMouseEnter={this.handleMouseEnter}
|
|
394
|
+
,
|
|
437
395
|
getRef: this.itemRef,
|
|
438
396
|
bulletColor: item[statusColor],
|
|
439
397
|
title: item[keyName],
|
|
@@ -441,8 +399,9 @@ export class StatusDropdown extends React.Component {
|
|
|
441
399
|
a11y: {
|
|
442
400
|
role: isSearch ? 'option' : 'menuitem',
|
|
443
401
|
ariaSelected: value === item[keyName],
|
|
444
|
-
'data-a11y-list-active':
|
|
445
|
-
}
|
|
402
|
+
'data-a11y-list-active': value === item[keyName]
|
|
403
|
+
},
|
|
404
|
+
autoHover: true
|
|
446
405
|
})))) : isDataLoaded ? /*#__PURE__*/React.createElement(CommonEmptyState, {
|
|
447
406
|
className: style.svgWrapper,
|
|
448
407
|
title: searchErrorText || 'No results',
|
|
@@ -1,3 +1,5 @@
|
|
|
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
|
+
|
|
1
3
|
/**** Libraries ****/
|
|
2
4
|
import React from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -82,7 +84,7 @@ export default class StatusListItem extends React.Component {
|
|
|
82
84
|
options.target = `_${target}`;
|
|
83
85
|
}
|
|
84
86
|
|
|
85
|
-
return /*#__PURE__*/React.createElement(Container, {
|
|
87
|
+
return /*#__PURE__*/React.createElement(Container, _extends({
|
|
86
88
|
role: role,
|
|
87
89
|
"aria-selected": ariaSelected,
|
|
88
90
|
isCover: false,
|
|
@@ -95,10 +97,8 @@ export default class StatusListItem extends React.Component {
|
|
|
95
97
|
eleRef: this.getRef,
|
|
96
98
|
tagName: isLink ? 'a' : 'li',
|
|
97
99
|
"data-title": isDisabled ? disableTitle : null,
|
|
98
|
-
tabindex: isDisabled ? '-1' : '0'
|
|
99
|
-
|
|
100
|
-
...a11y
|
|
101
|
-
}, /*#__PURE__*/React.createElement(Box, {
|
|
100
|
+
tabindex: isDisabled ? '-1' : '0'
|
|
101
|
+
}, options, a11y), /*#__PURE__*/React.createElement(Box, {
|
|
102
102
|
className: `${style.statusType} ${style[bulletColor]}`
|
|
103
103
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
104
104
|
flexible: true,
|
|
@@ -1,3 +1,5 @@
|
|
|
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
|
+
|
|
1
3
|
/*** Libraries ***/
|
|
2
4
|
import React, { Component } from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -76,7 +78,7 @@ export default class Lookup extends Component {
|
|
|
76
78
|
needFocusLoop = true,
|
|
77
79
|
needEnterAction = true
|
|
78
80
|
} = focusScopeProps;
|
|
79
|
-
const content = /*#__PURE__*/React.createElement("div", {
|
|
81
|
+
const content = /*#__PURE__*/React.createElement("div", _extends({
|
|
80
82
|
ref: this.createRef,
|
|
81
83
|
tabIndex: "-1",
|
|
82
84
|
"data-a11y-need-focus-style": "false",
|
|
@@ -88,9 +90,8 @@ export default class Lookup extends Component {
|
|
|
88
90
|
id: htmlId,
|
|
89
91
|
className: `${style.box} ${style[`${size}Size`]} ${lookupClass ? lookupClass : ''}`,
|
|
90
92
|
"data-id": dataId,
|
|
91
|
-
"data-test-id": dataId
|
|
92
|
-
|
|
93
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
93
|
+
"data-test-id": dataId
|
|
94
|
+
}, a11yAttributes), /*#__PURE__*/React.createElement(Container, {
|
|
94
95
|
"data-drag-container": "true",
|
|
95
96
|
isCover: false,
|
|
96
97
|
className: isMinHeight ? `${style.wrapper}` : `${style.coverwrap}`
|
|
@@ -1,3 +1,5 @@
|
|
|
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
|
+
|
|
1
3
|
/* eslint-disable react/forbid-component-props */
|
|
2
4
|
|
|
3
5
|
/*** Libraries ***/
|
|
@@ -98,11 +100,7 @@ export default class Search extends Component {
|
|
|
98
100
|
selectedId: selectedId,
|
|
99
101
|
onDropDownOpen: this.handleDropDownOpen,
|
|
100
102
|
onDropDownClose: this.handleDropDownClose
|
|
101
|
-
}, /*#__PURE__*/React.createElement(SearchUI, {
|
|
102
|
-
...searchUIExtraProps
|
|
103
|
-
})) : /*#__PURE__*/React.createElement(SearchUI, { ...this.props,
|
|
104
|
-
...searchUIExtraProps
|
|
105
|
-
});
|
|
103
|
+
}, /*#__PURE__*/React.createElement(SearchUI, _extends({}, this.props, searchUIExtraProps))) : /*#__PURE__*/React.createElement(SearchUI, _extends({}, this.props, searchUIExtraProps));
|
|
106
104
|
}
|
|
107
105
|
|
|
108
106
|
}
|
package/es/v1/Drawer/Drawer.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
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
|
+
|
|
1
3
|
import React, { useRef } from 'react';
|
|
2
4
|
import { Header_defaultProps, Footer_defaultProps, Drawer_defaultProps } from './props/defaultProps';
|
|
3
5
|
import { Header_propTypes, Content_propTypes, Footer_propTypes, Drawer_propTypes } from './props/propTypes';
|
|
@@ -159,13 +161,12 @@ export default function Drawer(props) {
|
|
|
159
161
|
|
|
160
162
|
return child;
|
|
161
163
|
});
|
|
162
|
-
let content = /*#__PURE__*/React.createElement(Box, {
|
|
164
|
+
let content = /*#__PURE__*/React.createElement(Box, _extends({
|
|
163
165
|
className: `${style.container} ${style.columns} ${style.drawerModal} ${uptoTablet ? style.mbleSize : style[size]}`,
|
|
164
166
|
"data-a11y-need-focus-style": "false",
|
|
165
167
|
tabindex: -1,
|
|
166
|
-
eleRef: contentRef
|
|
167
|
-
|
|
168
|
-
}, /*#__PURE__*/React.createElement(Card, {
|
|
168
|
+
eleRef: contentRef
|
|
169
|
+
}, a11y), /*#__PURE__*/React.createElement(Card, {
|
|
169
170
|
onClick: e => {
|
|
170
171
|
e && e.stopPropagation && e.stopPropagation();
|
|
171
172
|
onBodyClick(e);
|
|
@@ -1,3 +1,5 @@
|
|
|
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
|
+
|
|
1
3
|
/**** Libraries ****/
|
|
2
4
|
import React from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -30,7 +32,7 @@ const ExternalLink = props => {
|
|
|
30
32
|
};
|
|
31
33
|
|
|
32
34
|
let urlOutput = href && typeof href !== 'boolean' ? addHttp(String(href)) : 'javascript:void(0);';
|
|
33
|
-
return /*#__PURE__*/React.createElement("a", {
|
|
35
|
+
return /*#__PURE__*/React.createElement("a", _extends({
|
|
34
36
|
href: urlOutput,
|
|
35
37
|
target: target,
|
|
36
38
|
className: `${style.link} ${className ? className : ''}`,
|
|
@@ -38,9 +40,8 @@ const ExternalLink = props => {
|
|
|
38
40
|
rel: rel,
|
|
39
41
|
"data-id": dataId,
|
|
40
42
|
"data-test-id": dataId,
|
|
41
|
-
onClick: onClick
|
|
42
|
-
|
|
43
|
-
}, children);
|
|
43
|
+
onClick: onClick
|
|
44
|
+
}, customProps), children);
|
|
44
45
|
};
|
|
45
46
|
|
|
46
47
|
ExternalLink.defaultProps = defaultProps;
|
|
@@ -1,3 +1,5 @@
|
|
|
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
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes } from './props/propTypes';
|
|
@@ -74,17 +76,16 @@ export default function FlipCard(props) {
|
|
|
74
76
|
}, !noNeedFlip ? /*#__PURE__*/React.createElement(Container, {
|
|
75
77
|
align: "both",
|
|
76
78
|
className: `${style.front} ${frontClass ? frontClass : ''}`
|
|
77
|
-
}, /*#__PURE__*/React.createElement(CheckBox, {
|
|
79
|
+
}, /*#__PURE__*/React.createElement(CheckBox, _extends({
|
|
78
80
|
isFilled: isFilledCheckbox,
|
|
79
81
|
checked: isChecked,
|
|
80
82
|
onChange: onChange,
|
|
81
83
|
id: `checkbox_${id}`,
|
|
82
|
-
dataId: `listViewCheckBox_${id}
|
|
83
|
-
|
|
84
|
-
})) : null, /*#__PURE__*/React.createElement(Container, {
|
|
84
|
+
dataId: `listViewCheckBox_${id}`
|
|
85
|
+
}, CheckBoxProps))) : null, /*#__PURE__*/React.createElement(Container, {
|
|
85
86
|
align: "both",
|
|
86
87
|
className: style.back
|
|
87
|
-
}, channel && action ? /*#__PURE__*/React.createElement(ChannelIcon, {
|
|
88
|
+
}, channel && action ? /*#__PURE__*/React.createElement(ChannelIcon, _extends({
|
|
88
89
|
name: channel,
|
|
89
90
|
action: action,
|
|
90
91
|
size: size,
|
|
@@ -97,9 +98,8 @@ export default function FlipCard(props) {
|
|
|
97
98
|
customTextClass: customTextClass,
|
|
98
99
|
iconColor: iconColor,
|
|
99
100
|
title: channelTitle,
|
|
100
|
-
iconTitle: channelTitle
|
|
101
|
-
|
|
102
|
-
}) : icon ? /*#__PURE__*/React.createElement(AvatarIcon, {
|
|
101
|
+
iconTitle: channelTitle
|
|
102
|
+
}, ChannelIconProps)) : icon ? /*#__PURE__*/React.createElement(AvatarIcon, _extends({
|
|
103
103
|
name: icon,
|
|
104
104
|
iconSize: iconSize,
|
|
105
105
|
size: size,
|
|
@@ -107,9 +107,8 @@ export default function FlipCard(props) {
|
|
|
107
107
|
dataId: icon,
|
|
108
108
|
className: className,
|
|
109
109
|
iconColor: iconColor,
|
|
110
|
-
title: needTitle ? name : ''
|
|
111
|
-
|
|
112
|
-
}) : /*#__PURE__*/React.createElement(AvatarUser, {
|
|
110
|
+
title: needTitle ? name : ''
|
|
111
|
+
}, AvatarIconProps)) : /*#__PURE__*/React.createElement(AvatarUser, _extends({
|
|
113
112
|
name: name,
|
|
114
113
|
initial: initial,
|
|
115
114
|
size: size,
|
|
@@ -120,9 +119,8 @@ export default function FlipCard(props) {
|
|
|
120
119
|
needTitle: needTitle,
|
|
121
120
|
palette: palette,
|
|
122
121
|
textPalette: textPalette,
|
|
123
|
-
customTextClass: customTextClass
|
|
124
|
-
|
|
125
|
-
}))));
|
|
122
|
+
customTextClass: customTextClass
|
|
123
|
+
}, AvatarUserProps)))));
|
|
126
124
|
}
|
|
127
125
|
FlipCard.propTypes = propTypes;
|
|
128
126
|
FlipCard.defaultProps = defaultProps; // if (__DOCS__) {
|
|
@@ -1,3 +1,5 @@
|
|
|
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
|
+
|
|
1
3
|
import React, { useEffect } from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes, UI_propTypes, new_propTypes } from './props/propTypes';
|
|
@@ -94,7 +96,7 @@ export function GlobalNotificationUI(props) {
|
|
|
94
96
|
onClose && onClose(e);
|
|
95
97
|
}
|
|
96
98
|
|
|
97
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
99
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
98
100
|
ref: eleRef,
|
|
99
101
|
className: ` ${style.message}
|
|
100
102
|
${needShadow && shadowCount >= 2 ? shadowCount > 2 ? `${style.stackShadowTwo} ${style.stackShadowOne}` : style.stackShadowOne : ''}
|
|
@@ -103,9 +105,8 @@ export function GlobalNotificationUI(props) {
|
|
|
103
105
|
"data-id": `show_${type}_message`,
|
|
104
106
|
"data-test-id": `show_${type}_message`,
|
|
105
107
|
tabIndex: 0,
|
|
106
|
-
"data-selector-id": dataSelectorId
|
|
107
|
-
|
|
108
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
108
|
+
"data-selector-id": dataSelectorId
|
|
109
|
+
}, ExtraProps), /*#__PURE__*/React.createElement(Container, {
|
|
109
110
|
className: `${style.container}`,
|
|
110
111
|
alignBox: "row",
|
|
111
112
|
isCover: false,
|
|
@@ -137,8 +138,8 @@ export function GlobalNotificationUI(props) {
|
|
|
137
138
|
}
|
|
138
139
|
GlobalNotificationUI.propTypes = UI_propTypes;
|
|
139
140
|
export function GlobalNotificationNew(props) {
|
|
140
|
-
return /*#__PURE__*/React.createElement(AutoClose, {
|
|
141
|
+
return /*#__PURE__*/React.createElement(AutoClose, _extends({}, props, {
|
|
141
142
|
Element: GlobalNotificationUI
|
|
142
|
-
});
|
|
143
|
+
}));
|
|
143
144
|
}
|
|
144
145
|
GlobalNotificationNew.propTypes = new_propTypes;
|
|
@@ -1,3 +1,5 @@
|
|
|
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
|
+
|
|
1
3
|
import React, { useState } from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes } from './props/propTypes';
|
|
@@ -71,7 +73,7 @@ export default function IconButton(props) {
|
|
|
71
73
|
hoverType: hoverType,
|
|
72
74
|
isDisabled: isDisabled,
|
|
73
75
|
isNeedEffect: isNeedEffect
|
|
74
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
76
|
+
}, /*#__PURE__*/React.createElement(Container, _extends({
|
|
75
77
|
"aria-label": ariaLabel,
|
|
76
78
|
"aria-haspopup": ariaHaspopup,
|
|
77
79
|
"aria-expanded": ariaExpanded,
|
|
@@ -95,9 +97,8 @@ export default function IconButton(props) {
|
|
|
95
97
|
onKeyDown: handleToggle,
|
|
96
98
|
onFocus: triggerMouseOver,
|
|
97
99
|
onBlur: onBlur,
|
|
98
|
-
disabled: isDisabled
|
|
99
|
-
|
|
100
|
-
}, iconName ? /*#__PURE__*/React.createElement(Icon, {
|
|
100
|
+
disabled: isDisabled
|
|
101
|
+
}, customProps), iconName ? /*#__PURE__*/React.createElement(Icon, {
|
|
101
102
|
isBold: isBold,
|
|
102
103
|
size: iconSize,
|
|
103
104
|
name: iconName,
|
package/es/v1/Link/Link.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
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
|
+
|
|
1
3
|
import React, { useContext, useRef } from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes } from './props/propTypes';
|
|
@@ -70,20 +72,20 @@ export default function Link(props) {
|
|
|
70
72
|
} //urlOutput = addHttp(urlOutput);
|
|
71
73
|
|
|
72
74
|
|
|
73
|
-
return /*#__PURE__*/React.createElement("a", {
|
|
75
|
+
return /*#__PURE__*/React.createElement("a", _extends({
|
|
74
76
|
href: isLink && urlOutput ? urlOutput : 'javascript:void(0);',
|
|
75
77
|
target: target,
|
|
76
78
|
"data-title": title,
|
|
77
|
-
className: `${style.container} ${className ? className : ''}
|
|
78
|
-
|
|
79
|
+
className: `${style.container} ${className ? className : ''}`
|
|
80
|
+
}, option.current, {
|
|
79
81
|
rel: rel,
|
|
80
82
|
"data-id": dataId,
|
|
81
|
-
"data-test-id": dataId
|
|
82
|
-
|
|
83
|
-
onClick: callBack
|
|
84
|
-
|
|
83
|
+
"data-test-id": dataId
|
|
84
|
+
}, others, {
|
|
85
|
+
onClick: callBack
|
|
86
|
+
}, customProps, {
|
|
85
87
|
"aria-label": ariaLabel
|
|
86
|
-
}, children);
|
|
88
|
+
}), children);
|
|
87
89
|
}
|
|
88
90
|
Link.defaultProps = defaultProps;
|
|
89
91
|
Link.propTypes = propTypes; // if (__DOCS__) {
|