@zohodesk/dot 1.0.0-temp-181.9 → 1.0.0-temp-183.1
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 +14 -16
- 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/DepartmentDropDown/DepartmentDropDown.js +9 -3
- package/es/list/DepartmentDropDown/props/defaultProps.js +2 -1
- package/es/list/DepartmentDropDown/props/propTypes.js +2 -1
- 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.module.css +42 -42
- package/es/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/list/status/StatusListItem/StatusListItem.module.css +35 -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/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/TagsMultiSelect/TagsMultiSelect.js +5 -3
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +164 -164
- package/lib/list/Comment/Comment.module.css +29 -29
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +8 -3
- package/lib/list/DepartmentDropDown/props/defaultProps.js +2 -1
- package/lib/list/DepartmentDropDown/props/propTypes.js +1 -1
- package/lib/list/Dot/Dot.module.css +15 -15
- package/lib/list/ListLayout/ListLayout.module.css +79 -79
- package/lib/list/Subject/Subject.module.css +34 -34
- package/lib/list/Thread/Thread.module.css +42 -42
- package/lib/list/status/StatusListItem/StatusListItem.module.css +35 -5
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +177 -177
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +132 -132
- package/package.json +4 -4
- package/result.json +1 -1
- package/es/v1/DotWrapper/DotWrapper.js +0 -46
- package/es/v1/DotWrapper/libraryChunks/dynamicImports.js +0 -24
- 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 -30
- 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 -65
- package/lib/v1/DotWrapper/libraryChunks/dynamicImports.js +0 -43
- 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 -39
- package/lib/v1/DotWrapper/utils/sizeProperties.js +0 -31
- package/lib/v1/DotWrapper/utils/themeProperties.js +0 -325
|
@@ -6,43 +6,58 @@
|
|
|
6
6
|
min-height: var(--zd_size35) ;
|
|
7
7
|
cursor: pointer;
|
|
8
8
|
}
|
|
9
|
+
|
|
9
10
|
[dir=ltr] .withBorder {
|
|
10
11
|
border-left: 1px solid var(--zdt_statuslistitem_default_border);
|
|
11
12
|
}
|
|
13
|
+
|
|
12
14
|
[dir=rtl] .withBorder {
|
|
13
15
|
border-right: 1px solid var(--zdt_statuslistitem_default_border);
|
|
14
16
|
}
|
|
17
|
+
|
|
15
18
|
[dir=ltr] .small {
|
|
16
19
|
padding: var(--zd_size7) var(--zd_size3) var(--zd_size7) var(--zd_size5) ;
|
|
17
20
|
}
|
|
21
|
+
|
|
18
22
|
[dir=rtl] .small {
|
|
19
23
|
padding: var(--zd_size7) var(--zd_size5) var(--zd_size7) var(--zd_size3) ;
|
|
20
24
|
}
|
|
25
|
+
|
|
21
26
|
.medium {
|
|
22
27
|
padding: var(--zd_size7) var(--zd_size20) ;
|
|
23
28
|
}
|
|
29
|
+
|
|
24
30
|
.large {
|
|
25
31
|
height: var(--zd_size48) ;
|
|
26
32
|
}
|
|
33
|
+
|
|
27
34
|
[dir=ltr] .large {
|
|
28
35
|
padding: var(--zd_size10) var(--zd_size3) var(--zd_size10) var(--zd_size25) ;
|
|
29
36
|
}
|
|
37
|
+
|
|
30
38
|
[dir=rtl] .large {
|
|
31
39
|
padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3) ;
|
|
32
40
|
}
|
|
33
|
-
|
|
41
|
+
|
|
42
|
+
.value,
|
|
43
|
+
.multiLineValue {
|
|
34
44
|
line-height: 1.5385;
|
|
35
45
|
}
|
|
46
|
+
|
|
36
47
|
.value {
|
|
37
48
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
38
49
|
}
|
|
39
|
-
|
|
50
|
+
|
|
51
|
+
.multiLineValue {
|
|
40
52
|
word-break: break-word;
|
|
53
|
+
-webkit-line-clamp: 5;
|
|
41
54
|
composes: clamp from '~@zohodesk/components/lib/common/common.module.css';
|
|
42
55
|
}
|
|
56
|
+
|
|
43
57
|
[dir=ltr] .withBorder.active {
|
|
44
58
|
border-left-color: var(--zdt_statuslistitem_default_active_border);
|
|
45
59
|
}
|
|
60
|
+
|
|
46
61
|
[dir=rtl] .withBorder.active {
|
|
47
62
|
border-right-color: var(--zdt_statuslistitem_default_active_border);
|
|
48
63
|
}
|
|
@@ -50,44 +65,56 @@
|
|
|
50
65
|
.default.hover, .default.effect:hover {
|
|
51
66
|
background-color: var(--zdt_statuslistitem_default_effect_bg);
|
|
52
67
|
}
|
|
68
|
+
|
|
53
69
|
.primary.hover, .primary.effect:hover, .selected {
|
|
54
70
|
background-color: var(--zdt_statuslistitem_primary_efffect_bg);
|
|
55
71
|
}
|
|
72
|
+
|
|
56
73
|
.secondary.hover, .secondary.effect:hover {
|
|
57
74
|
background-color: var(--zdt_statuslistitem_secondary_effect_bg);
|
|
58
75
|
}
|
|
76
|
+
|
|
59
77
|
.list.active.default, .list.active.primary {
|
|
60
78
|
background-color: var(--zdt_statuslistitem_primary_efffect_bg);
|
|
61
79
|
}
|
|
80
|
+
|
|
62
81
|
.list.active.secondary {
|
|
63
82
|
background-color: var(--zdt_statuslistitem_secondary_effect_bg);
|
|
64
83
|
}
|
|
84
|
+
|
|
65
85
|
.secondary.hover,
|
|
66
86
|
.secondary.effect:hover,
|
|
67
87
|
.list.active.secondary {
|
|
68
88
|
color: var(--zdt_statuslistitem_secondary_effect_text);
|
|
69
89
|
}
|
|
90
|
+
|
|
70
91
|
.tickIcon {
|
|
71
92
|
color: var(--zdt_statuslistitem_tickicon);
|
|
72
93
|
position: absolute;
|
|
73
|
-
top:50% ;
|
|
94
|
+
top: 50% ;
|
|
74
95
|
transform: translateY(-50%);
|
|
75
96
|
}
|
|
97
|
+
|
|
76
98
|
[dir=ltr] .tickIcon {
|
|
77
99
|
right: var(--zd_size20) ;
|
|
78
100
|
}
|
|
101
|
+
|
|
79
102
|
[dir=rtl] .tickIcon {
|
|
80
103
|
left: var(--zd_size20) ;
|
|
81
104
|
}
|
|
82
|
-
|
|
105
|
+
|
|
106
|
+
.tickIcon>i {
|
|
83
107
|
display: block;
|
|
84
108
|
}
|
|
109
|
+
|
|
85
110
|
[dir=ltr] .active.withTick {
|
|
86
111
|
padding-right: var(--zd_size39) ;
|
|
87
112
|
}
|
|
113
|
+
|
|
88
114
|
[dir=rtl] .active.withTick {
|
|
89
115
|
padding-left: var(--zd_size39) ;
|
|
90
116
|
}
|
|
117
|
+
|
|
91
118
|
/* Status Type */
|
|
92
119
|
.statusType {
|
|
93
120
|
width: var(--zd_size8) ;
|
|
@@ -100,12 +127,15 @@
|
|
|
100
127
|
[dir=rtl] .statusType {
|
|
101
128
|
margin-left: var(--zd_size13) ;
|
|
102
129
|
}
|
|
130
|
+
|
|
103
131
|
.black {
|
|
104
132
|
background-color: var(--zdt_statuslistitem_black_bg);
|
|
105
133
|
}
|
|
134
|
+
|
|
106
135
|
.orange {
|
|
107
136
|
background-color: var(--zdt_statuslistitem_orange_bg);
|
|
108
137
|
}
|
|
138
|
+
|
|
109
139
|
.green {
|
|
110
140
|
background-color: var(--zdt_statuslistitem_green_bg);
|
|
111
|
-
}
|
|
141
|
+
}
|
|
@@ -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__) {
|
package/es/v1/Message/Message.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, { useState, useEffect } from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes, MessageUI_propTypes, MessageNew_propTypes } from './props/propTypes';
|
|
@@ -22,8 +24,7 @@ export default function Message(props) {
|
|
|
22
24
|
}, 3000);
|
|
23
25
|
}
|
|
24
26
|
}, [showMessage]);
|
|
25
|
-
return /*#__PURE__*/React.createElement(MessageUI,
|
|
26
|
-
});
|
|
27
|
+
return /*#__PURE__*/React.createElement(MessageUI, props);
|
|
27
28
|
}
|
|
28
29
|
Message.propTypes = propTypes;
|
|
29
30
|
Message.defaultProps = defaultProps;
|
|
@@ -84,8 +85,8 @@ export function MessageUI(props) {
|
|
|
84
85
|
}
|
|
85
86
|
MessageUI.propTypes = MessageUI_propTypes;
|
|
86
87
|
export function MessageNew(props) {
|
|
87
|
-
return /*#__PURE__*/React.createElement(AutoClose, {
|
|
88
|
+
return /*#__PURE__*/React.createElement(AutoClose, _extends({}, props, {
|
|
88
89
|
Element: MessageUI
|
|
89
|
-
});
|
|
90
|
+
}));
|
|
90
91
|
}
|
|
91
92
|
MessageNew.propTypes = MessageNew_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'; //components
|
|
@@ -189,9 +191,9 @@ function ToastMessageUI(props) {
|
|
|
189
191
|
}
|
|
190
192
|
|
|
191
193
|
export default function ToastMessage(props) {
|
|
192
|
-
return /*#__PURE__*/React.createElement(AutoClose, {
|
|
194
|
+
return /*#__PURE__*/React.createElement(AutoClose, _extends({}, props, {
|
|
193
195
|
Element: ToastMessageUI
|
|
194
|
-
});
|
|
196
|
+
}));
|
|
195
197
|
}
|
|
196
198
|
ToastMessage.propTypes = propTypes;
|
|
197
199
|
ToastMessage.defaultProps = defaultProps; // if (__DOCS__) {
|
|
@@ -37,8 +37,7 @@ export default function AutoClose(props) {
|
|
|
37
37
|
isClose,
|
|
38
38
|
onClose
|
|
39
39
|
});
|
|
40
|
-
return /*#__PURE__*/React.createElement(Element,
|
|
41
|
-
});
|
|
40
|
+
return /*#__PURE__*/React.createElement(Element, newProps);
|
|
42
41
|
}
|
|
43
42
|
AutoClose.propTypes = propTypes;
|
|
44
43
|
AutoClose.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
|
/**** Libraries ****/
|
|
2
4
|
import React from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -88,7 +90,7 @@ export default function AlertLookup(props) {
|
|
|
88
90
|
ariaLabelledby: a11y && a11y.ariaLabelledby ? a11y.ariaLabelledby : ariaTitleId,
|
|
89
91
|
ariaDescribedby: a11y && a11y.ariaDescribedby ? a11y.ariaDescribedby : ariaMessageId + ' ' + ariaConfirmMsgId
|
|
90
92
|
};
|
|
91
|
-
return /*#__PURE__*/React.createElement(Lookup, {
|
|
93
|
+
return /*#__PURE__*/React.createElement(Lookup, _extends({
|
|
92
94
|
onClose: onEsc == 'close' ? onClose : onCancelClick,
|
|
93
95
|
needFocusScope: true,
|
|
94
96
|
isActive: isActive,
|
|
@@ -98,9 +100,8 @@ export default function AlertLookup(props) {
|
|
|
98
100
|
onClick: onLookupClick,
|
|
99
101
|
customClass: containerClass,
|
|
100
102
|
a11y: a11y,
|
|
101
|
-
childAnimationName: childAnimationName
|
|
102
|
-
|
|
103
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
103
|
+
childAnimationName: childAnimationName
|
|
104
|
+
}, LookupProps), /*#__PURE__*/React.createElement(Container, {
|
|
104
105
|
alignBox: "row",
|
|
105
106
|
align: align,
|
|
106
107
|
wrap: "wrap"
|
|
@@ -109,16 +110,15 @@ export default function AlertLookup(props) {
|
|
|
109
110
|
className: style.section
|
|
110
111
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
111
112
|
alignBox: "column"
|
|
112
|
-
}, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(AlertHeader, {
|
|
113
|
+
}, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(AlertHeader, _extends({
|
|
113
114
|
htmlId: ariaTitleId,
|
|
114
115
|
title: title,
|
|
115
116
|
type: type,
|
|
116
117
|
needIcon: needIcon,
|
|
117
118
|
onClose: onClose,
|
|
118
119
|
breakChildren: wrapHeader,
|
|
119
|
-
renderAlertIcon: renderAlertIcon
|
|
120
|
-
|
|
121
|
-
}, headerChildren ? headerChildren() : null)), /*#__PURE__*/React.createElement(Box, {
|
|
120
|
+
renderAlertIcon: renderAlertIcon
|
|
121
|
+
}, AlertHeaderProps), headerChildren ? headerChildren() : null)), /*#__PURE__*/React.createElement(Box, {
|
|
122
122
|
flexible: true
|
|
123
123
|
}, /*#__PURE__*/React.createElement("div", {
|
|
124
124
|
className: `${style.innerSection} ${style[`${scroll}Scroll`] ? style[`${scroll}Scroll`] : ''} ${sectionClass}`
|
|
@@ -137,30 +137,30 @@ export default function AlertLookup(props) {
|
|
|
137
137
|
}, /*#__PURE__*/React.createElement(FormAction, {
|
|
138
138
|
size: "small",
|
|
139
139
|
paddingLeftSize: "xmedium"
|
|
140
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
140
|
+
}, /*#__PURE__*/React.createElement(Button, _extends({
|
|
141
141
|
text: submitText,
|
|
142
142
|
dataId: dataId === 'alertPopup' ? 'alertConfirmButton' : `${dataId}_confirmButton`,
|
|
143
143
|
onClick: onSubmitClick,
|
|
144
144
|
palette: buttonPalette,
|
|
145
145
|
customProps: {
|
|
146
146
|
'data-a11y-autofocus': isDefaultFocus
|
|
147
|
-
}
|
|
148
|
-
|
|
147
|
+
}
|
|
148
|
+
}, PrimaryButtonProps, {
|
|
149
149
|
a11y: {
|
|
150
150
|
'aria-labelledby': ariaTitleId + ' ' + ariaMessageId + ' ' + ariaLeaveButtonId
|
|
151
151
|
},
|
|
152
152
|
id: ariaLeaveButtonId
|
|
153
|
-
}), cancelText && /*#__PURE__*/React.createElement(Button, {
|
|
153
|
+
})), cancelText && /*#__PURE__*/React.createElement(Button, _extends({
|
|
154
154
|
dataId: dataId === 'alertPopup' ? 'alertCancelButton' : `${dataId}_cancelButton`,
|
|
155
155
|
text: cancelText,
|
|
156
156
|
onClick: onCancelClick,
|
|
157
|
-
palette: "secondary"
|
|
158
|
-
|
|
157
|
+
palette: "secondary"
|
|
158
|
+
}, SecondaryButtonProps, {
|
|
159
159
|
a11y: {
|
|
160
160
|
'aria-labelledby': ariaTitleId + ' ' + ariaMessageId + ' ' + ariaStayButtonId
|
|
161
161
|
},
|
|
162
162
|
id: ariaStayButtonId
|
|
163
|
-
})))) : null))));
|
|
163
|
+
}))))) : null))));
|
|
164
164
|
}
|
|
165
165
|
AlertLookup.propTypes = propTypes;
|
|
166
166
|
AlertLookup.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';
|
|
@@ -19,17 +21,15 @@ export default function AvatarClose(props) {
|
|
|
19
21
|
AvatarCloseProps = {},
|
|
20
22
|
AvatarProps = {}
|
|
21
23
|
} = customProps;
|
|
22
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
24
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
23
25
|
className: style.container,
|
|
24
|
-
"data-selector-id": dataSelectorId
|
|
25
|
-
|
|
26
|
-
}, /*#__PURE__*/React.createElement(Avatar, {
|
|
26
|
+
"data-selector-id": dataSelectorId
|
|
27
|
+
}, AvatarCloseProps), /*#__PURE__*/React.createElement(Avatar, _extends({
|
|
27
28
|
src: src,
|
|
28
29
|
name: name,
|
|
29
30
|
title: title,
|
|
30
|
-
size: size
|
|
31
|
-
|
|
32
|
-
}), isClose && /*#__PURE__*/React.createElement("span", {
|
|
31
|
+
size: size
|
|
32
|
+
}, AvatarProps)), isClose && /*#__PURE__*/React.createElement("span", {
|
|
33
33
|
className: style.pop,
|
|
34
34
|
onClick: onClick
|
|
35
35
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -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';
|
|
@@ -22,23 +24,21 @@ export default function AvatarCollision(props) {
|
|
|
22
24
|
AvatarCollisionProps = {},
|
|
23
25
|
AvatarProps = {}
|
|
24
26
|
} = customProps;
|
|
25
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
27
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
26
28
|
className: `${style.container} ${isLeft ? style.off : isIdle ? style.idle : style.on}`,
|
|
27
29
|
onClick: onClick,
|
|
28
30
|
"data-id": "collsionPop",
|
|
29
31
|
"data-test-id": "collsionPop",
|
|
30
32
|
"data-title": title,
|
|
31
|
-
"data-selector-id": dataSelectorId
|
|
32
|
-
|
|
33
|
-
}, /*#__PURE__*/React.createElement(Avatar, {
|
|
33
|
+
"data-selector-id": dataSelectorId
|
|
34
|
+
}, AvatarCollisionProps), /*#__PURE__*/React.createElement(Avatar, _extends({
|
|
34
35
|
src: src,
|
|
35
36
|
name: name,
|
|
36
37
|
size: size,
|
|
37
38
|
palette: "default",
|
|
38
39
|
needTitle: false,
|
|
39
|
-
initial: initial
|
|
40
|
-
|
|
41
|
-
}), needCreateChat && !isLeft && /*#__PURE__*/React.createElement("span", {
|
|
40
|
+
initial: initial
|
|
41
|
+
}, AvatarProps)), needCreateChat && !isLeft && /*#__PURE__*/React.createElement("span", {
|
|
42
42
|
className: style.pop,
|
|
43
43
|
"data-title": title
|
|
44
44
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -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';
|
|
@@ -27,7 +29,7 @@ export default function AvatarIcon(props) {
|
|
|
27
29
|
AvatarIconProps = {}
|
|
28
30
|
} = customProps;
|
|
29
31
|
let border = borderOnHover || onClick;
|
|
30
|
-
return /*#__PURE__*/React.createElement(Container, {
|
|
32
|
+
return /*#__PURE__*/React.createElement(Container, _extends({
|
|
31
33
|
className: `${style.container} ${borderOnActive ? style.borderOnActive : border ? style.borderOnHover : ''} ${AvatarSize(size)} ${style[palette]} ${className}`,
|
|
32
34
|
onClick: onClick,
|
|
33
35
|
dataId: dataId,
|
|
@@ -35,9 +37,8 @@ export default function AvatarIcon(props) {
|
|
|
35
37
|
isInline: true,
|
|
36
38
|
align: "both",
|
|
37
39
|
isCover: false,
|
|
38
|
-
dataSelectorId: dataSelectorId
|
|
39
|
-
|
|
40
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
40
|
+
dataSelectorId: dataSelectorId
|
|
41
|
+
}, AvatarIconProps), /*#__PURE__*/React.createElement(Icon, {
|
|
41
42
|
name: name,
|
|
42
43
|
size: iconSize,
|
|
43
44
|
iconClass: ` ${iconClass} ${style.iconColor} ${iconColor ? ` ${style[`icon_${iconColor}`]}` : ''} `,
|