@zohodesk/dot 1.0.0-temp-132 → 1.0.0-temp-134
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/README.md +1218 -1202
- package/assets/Appearance/dark/mode/dotDarkMode.module.css +299 -304
- package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +9 -9
- package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +9 -9
- package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +9 -9
- package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +9 -9
- package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +9 -9
- package/assets/Appearance/default/mode/dotDefaultMode.module.css +294 -299
- package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +9 -9
- package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +9 -9
- package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +9 -9
- package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +9 -9
- package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +9 -9
- package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +302 -307
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +9 -9
- package/assets/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +9 -9
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +9 -9
- package/assets/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +9 -9
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +9 -9
- package/dubFinder.js +96 -96
- package/es/ActionButton/ActionButton.js +4 -4
- package/es/ActionButton/ActionButton.module.css +139 -139
- package/es/AlphabeticList/AlphabeticList.module.css +57 -57
- package/es/Attachment/Attachment.js +1 -1
- package/es/Attachment/Attachment.module.css +157 -157
- package/es/AttachmentViewer/AttachmentViewer.js +1 -1
- package/es/AttachmentViewer/AttachmentViewer.module.css +354 -353
- package/es/ChannelIcon/ChannelIcon.js +1 -1
- package/es/ChannelIcon/ChannelIcon.module.css +217 -217
- package/es/Drawer/Drawer.js +1 -1
- package/es/Drawer/Drawer.module.css +150 -189
- package/es/Drawer/index.js +1 -0
- package/es/ExternalLink/ExternalLink.js +0 -0
- package/es/ExternalLink/ExternalLink.module.css +3 -3
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/es/FlipCard/FlipCard.module.css +44 -44
- package/es/FormAction/FormAction.module.css +82 -82
- package/es/FreezeLayer/FreezeLayer.js +61 -114
- package/es/FreezeLayer/{FreezeLayer.module.css → css/FreezeLayer.module.css} +42 -42
- package/es/FreezeLayer/css/cssJSLogic.js +23 -0
- package/es/FreezeLayer/index.js +2 -0
- package/es/FreezeLayer/props/defaultProps.js +1 -0
- package/es/FreezeLayer/props/propTypes.js +1 -0
- package/es/FreezeLayer/useFreezeLayer.js +50 -0
- package/es/IconButton/IconButton.js +1 -1
- package/es/IconButton/IconButton.module.css +22 -22
- package/es/Image/Image.module.css +10 -10
- package/es/ImportantNotes/ImportantNotes.js +1 -1
- package/es/ImportantNotes/ImportantNotes.module.css +20 -20
- package/es/Link/Link.js +0 -0
- package/es/Link/Link.module.css +3 -3
- package/es/Loader/Loader.module.css +46 -46
- package/es/Message/Message.js +1 -1
- package/es/Message/Message.module.css +102 -102
- package/es/MessageBanner/MessageBanner.js +1 -1
- package/es/MessageBanner/MessageBanner.module.css +46 -46
- package/es/NewStar/NewStar.js +1 -1
- package/es/NewStar/NewStar.module.css +175 -175
- package/es/PlusIcon/PlusIcon.js +0 -0
- package/es/PlusIcon/PlusIcon.module.css +16 -19
- package/es/Separator/Separator.module.css +34 -34
- package/es/ToastMessage/ToastMessage.js +1 -1
- package/es/ToastMessage/ToastMessage.module.css +328 -329
- package/es/Upload/Upload.js +1 -1
- package/es/Upload/Upload.module.css +125 -125
- package/es/alert/AlertHeader/AlertHeader.js +1 -1
- package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
- package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
- package/es/alert/index.js +2 -0
- package/es/avatar/AvatarClose/AvatarClose.js +1 -1
- package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
- package/es/avatar/AvatarCollision/AvatarCollision.js +1 -1
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
- package/es/avatar/AvatarIcon/AvatarIcon.js +1 -1
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/es/avatar/AvatarStatus/AvatarStatus.js +0 -0
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
- package/es/avatar/AvatarThread/AvatarThread.js +1 -1
- package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
- package/es/avatar/AvatarUser/AvatarUser.js +1 -1
- package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
- package/es/avatar/index.js +7 -0
- package/es/common/dot_animation.module.css +26 -26
- package/es/common/dot_common.module.css +3 -3
- package/es/deprecated/FreezeLayer/FreezeLayer.js +128 -0
- package/{lib → es/deprecated}/FreezeLayer/FreezeLayer.module.css +42 -42
- package/es/deprecated/FreezeLayer/props/defaultProps.js +8 -0
- package/es/deprecated/FreezeLayer/props/propTypes.js +17 -0
- package/es/deprecated/SelectDropdown/SelectDropdown.js +1 -1
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
- package/es/deprecated/utils/KeyboardApi.js +25 -25
- package/es/docs/formDocs.js +1 -16
- package/es/docs/generalDocs.js +1 -107
- package/es/docs/lookupDocs.js +1 -35
- package/es/docs/setupDocs.js +1 -15
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +7 -2
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +107 -101
- package/es/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
- package/es/dropdown/ToggleDropDown/props/propTypes.js +2 -1
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
- package/es/emptystate/EditionPage/EditionPage.css +43 -43
- package/es/errorstate/EmptyStates.module.css +87 -87
- package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
- package/es/errorstate/LinkText/LinkText.module.css +6 -6
- package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
- package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
- package/es/errorstate/WillBack/WillBack.module.css +34 -34
- package/es/errorstate/index.js +8 -0
- package/es/form/fields/CheckBoxField/CheckBoxField.js +0 -0
- package/es/form/fields/FieldContainer/FieldContainer.js +1 -1
- package/es/form/fields/Fields.module.css +183 -183
- package/es/form/fields/PhoneField/PhoneField.js +1 -1
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
- package/es/form/fields/TextEditor/TextEditor.module.css +666 -764
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
- package/es/form/fields/ValidationMessage/ValidationMessage.js +1 -1
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/es/form/fields/index.js +16 -0
- package/es/form/layout/Field/Field.js +0 -0
- package/es/form/layout/Field/Field.module.css +22 -22
- package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
- package/es/form/layout/Section/Section.js +0 -0
- package/es/form/layout/index.js +2 -0
- package/es/index.js +51 -7
- package/es/layout/SetupDetailLayout/SetupDetailLayout.js +1 -1
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
- package/es/layout/SubtabLayout/SubtabLayout.module.css +146 -165
- package/es/list/AvatarFlip/AvatarFlip.js +4 -2
- package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
- package/es/list/AvatarFlip/props/defaultProps.js +2 -1
- package/es/list/AvatarFlip/props/propTypes.js +2 -1
- package/es/list/BluePrintStatus/BluePrintStatus.js +1 -1
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
- package/es/list/Comment/Comment.js +1 -1
- package/es/list/Comment/Comment.module.css +29 -29
- package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
- package/es/list/Dot/Dot.module.css +15 -15
- package/es/list/DotNew/DotNew.module.css +22 -25
- package/es/list/GridStencils/GridStencils.module.css +146 -146
- package/es/list/Icons/AddNewIcon.js +1 -1
- package/es/list/Icons/CompleteIcon.js +1 -1
- package/es/list/Icons/DeleteIcon.js +1 -1
- package/es/list/Icons/EditIcon.js +1 -1
- package/es/list/Icons/Icons.module.css +16 -16
- package/es/list/Icons/ReadUnreadIcon.js +1 -1
- package/es/list/Icons/SmartIcon.js +1 -1
- package/es/list/Icons/index.js +7 -0
- package/es/list/ListLayout/ListLayout.module.css +57 -57
- package/es/list/ListStencils/ListStencils.module.css +67 -67
- package/es/list/SecondaryText/ContactName.js +1 -1
- package/es/list/SecondaryText/SecondaryText.module.css +136 -136
- package/es/list/SecondaryText/Website.js +0 -0
- package/es/list/SecondryPanel/SecondryPanel.js +0 -0
- package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
- package/es/list/SentimentStatus/SentimentStatus.js +1 -1
- package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
- package/es/list/Subject/Subject.module.css +27 -27
- package/es/list/TagNew/TagNew.module.css +115 -117
- package/es/list/Thread/Thread.js +1 -1
- package/es/list/Thread/Thread.module.css +42 -42
- package/es/list/UserTime/UserTime.js +1 -1
- package/es/list/UserTime/UserTime.module.css +58 -58
- package/es/list/index.js +17 -0
- package/es/list/listCommon.module.css +60 -60
- package/es/list/status/StatusDropdown/StatusDropdown.js +4 -2
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
- package/es/list/status/StatusListItem/StatusListItem.js +4 -3
- package/es/list/status/StatusListItem/StatusListItem.module.css +106 -104
- package/es/list/status/StatusListItem/props/defaultProps.js +2 -1
- package/es/list/status/StatusListItem/props/propTypes.js +1 -0
- package/es/list/status/index.js +2 -0
- package/es/lookup/EmptyPage/EmptyPage.js +0 -0
- package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
- package/es/lookup/Lookup/Lookup.js +0 -0
- package/es/lookup/Lookup/Lookup.module.css +26 -26
- package/es/lookup/Section/LookupSection.module.css +8 -8
- package/es/lookup/header/Close/LookupClose.module.css +15 -15
- package/es/lookup/header/Search/LookupSearch.module.css +57 -57
- package/es/lookup/header/Search/Search.js +1 -1
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
- package/es/lookup/header/Title/LookupTitle.module.css +20 -20
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
- package/es/lookup/header/index.js +5 -0
- package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
- package/es/lookup/index.js +5 -0
- package/es/setup/header/Button/HeaderButton.module.css +5 -5
- package/es/setup/header/Link/HeaderLink.module.css +21 -21
- package/es/setup/header/Link/Link.js +1 -1
- package/es/setup/header/Search/Search.js +1 -1
- package/es/setup/header/Search/Search.module.css +68 -68
- package/es/setup/header/Views/Views.js +1 -1
- package/es/setup/header/Views/Views.module.css +37 -37
- package/es/setup/header/index.js +4 -0
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
- package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
- package/es/setup/helptips/Link/Link.js +0 -0
- package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
- package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
- package/es/setup/helptips/Title/Title.js +0 -0
- package/es/setup/helptips/index.js +4 -0
- package/es/setup/index.js +6 -0
- package/es/setup/table/TableData/SetupTableData.module.css +44 -44
- package/es/setup/table/TableData/Tablehover.module.css +6 -6
- package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
- package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
- package/es/setup/table/Text/TableText.module.css +37 -37
- package/es/setup/table/Text/Text.js +0 -0
- package/es/setup/table/index.js +5 -0
- package/es/svg/PlusIcon.js +1 -1
- package/es/svg/SnippetIcon.js +2 -2
- package/es/svg/index.js +3 -0
- package/es/version2/AlertClose/AlertClose.js +1 -1
- package/es/version2/AlertClose/AlertClose.module.css +42 -42
- package/es/version2/GlobalNotification/GlobalNotification.module.css +124 -127
- package/es/version2/alertIcons/AlertIcons.module.css +67 -67
- package/es/version2/alertIcons/index.js +8 -0
- package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
- package/es/version2/errorstate/index.js +6 -0
- package/es/version2/index.js +12 -0
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
- package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
- package/es/version2/lookup/index.js +2 -0
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -127
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
- package/es/version2/notification/index.js +3 -0
- package/install.md +12 -12
- package/lib/ActionButton/ActionButton.js +9 -7
- package/lib/ActionButton/ActionButton.module.css +139 -139
- package/lib/AlphabeticList/AlphabeticList.js +3 -1
- package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
- package/lib/AlphabeticList/props/propTypes.js +1 -1
- package/lib/Attachment/Attachment.js +6 -4
- package/lib/Attachment/Attachment.module.css +157 -157
- package/lib/AttachmentViewer/AttachmentImage.js +3 -1
- package/lib/AttachmentViewer/AttachmentViewer.js +7 -5
- package/lib/AttachmentViewer/AttachmentViewer.module.css +354 -353
- package/lib/AttachmentViewer/utils.js +4 -1
- package/lib/ChannelIcon/ChannelIcon.js +6 -4
- package/lib/ChannelIcon/ChannelIcon.module.css +217 -217
- package/lib/Drawer/Drawer.js +5 -3
- package/lib/Drawer/Drawer.module.css +150 -189
- package/lib/Drawer/index.js +33 -0
- package/lib/ExternalLink/ExternalLink.js +3 -1
- package/lib/ExternalLink/ExternalLink.module.css +3 -3
- package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/lib/FlipCard/FlipCard.js +3 -1
- package/lib/FlipCard/FlipCard.module.css +44 -44
- package/lib/FormAction/FormAction.js +3 -1
- package/lib/FormAction/FormAction.module.css +82 -82
- package/lib/FreezeLayer/FreezeLayer.js +58 -141
- package/lib/FreezeLayer/css/FreezeLayer.module.css +42 -0
- package/lib/FreezeLayer/css/cssJSLogic.js +25 -0
- package/lib/FreezeLayer/index.js +20 -0
- package/lib/FreezeLayer/props/defaultProps.js +1 -0
- package/lib/FreezeLayer/props/propTypes.js +1 -0
- package/lib/FreezeLayer/useFreezeLayer.js +73 -0
- package/lib/IconButton/IconButton.js +5 -3
- package/lib/IconButton/IconButton.module.css +22 -22
- package/lib/IconButton/props/propTypes.js +4 -1
- package/lib/Image/Image.js +3 -1
- package/lib/Image/Image.module.css +10 -10
- package/lib/ImportantNotes/ImportantNotes.js +5 -3
- package/lib/ImportantNotes/ImportantNotes.module.css +20 -20
- package/lib/Link/Link.js +3 -1
- package/lib/Link/Link.module.css +3 -3
- package/lib/Loader/Loader.js +3 -1
- package/lib/Loader/Loader.module.css +46 -46
- package/lib/Message/Message.js +6 -4
- package/lib/Message/Message.module.css +102 -102
- package/lib/MessageBanner/MessageBanner.js +5 -3
- package/lib/MessageBanner/MessageBanner.module.css +46 -46
- package/lib/NewStar/NewStar.js +7 -5
- package/lib/NewStar/NewStar.module.css +175 -175
- package/lib/PlusIcon/PlusIcon.js +3 -1
- package/lib/PlusIcon/PlusIcon.module.css +16 -19
- package/lib/Separator/Separator.js +3 -1
- package/lib/Separator/Separator.module.css +34 -34
- package/lib/ToastMessage/ToastMessage.js +7 -7
- package/lib/ToastMessage/ToastMessage.module.css +328 -329
- package/lib/Upload/Upload.js +6 -4
- package/lib/Upload/Upload.module.css +125 -125
- package/lib/actions/AutoClose.js +2 -2
- package/lib/alert/AlertHeader/AlertHeader.js +5 -3
- package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
- package/lib/alert/AlertLookup/AlertLookup.js +3 -1
- package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
- package/lib/alert/index.js +20 -0
- package/lib/avatar/AvatarClose/AvatarClose.js +5 -3
- package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
- package/lib/avatar/AvatarCollision/AvatarCollision.js +5 -3
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
- package/lib/avatar/AvatarIcon/AvatarIcon.js +5 -3
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/lib/avatar/AvatarStatus/AvatarStatus.js +3 -1
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
- package/lib/avatar/AvatarStatus/props/propTypes.js +4 -1
- package/lib/avatar/AvatarThread/AvatarThread.js +5 -3
- package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
- package/lib/avatar/AvatarUser/AvatarUser.js +10 -7
- package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -1
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
- package/lib/avatar/index.js +55 -0
- package/lib/common/dot_animation.module.css +26 -26
- package/lib/common/dot_common.module.css +3 -3
- package/lib/deprecated/FreezeLayer/FreezeLayer.js +163 -0
- package/lib/deprecated/FreezeLayer/FreezeLayer.module.css +42 -0
- package/lib/deprecated/FreezeLayer/props/defaultProps.js +15 -0
- package/lib/deprecated/FreezeLayer/props/propTypes.js +25 -0
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +5 -3
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
- package/lib/deprecated/utils/KeyboardApi.js +29 -26
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +13 -6
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +107 -101
- package/lib/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
- package/lib/dropdown/ToggleDropDown/props/propTypes.js +2 -1
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +3 -1
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
- package/lib/emptystate/EditionPage/EditionPage.css +43 -43
- package/lib/emptystate/EditionPage/EditionPage.js +3 -1
- package/lib/errorstate/EmptyStates.module.css +87 -87
- package/lib/errorstate/Inconvenience/Inconvenience.js +3 -1
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
- package/lib/errorstate/LinkText/LinkText.js +3 -1
- package/lib/errorstate/LinkText/LinkText.module.css +6 -6
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +3 -1
- package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +3 -1
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -1
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +3 -1
- package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -1
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
- package/lib/errorstate/WillBack/WillBack.js +3 -1
- package/lib/errorstate/WillBack/WillBack.module.css +34 -34
- package/lib/errorstate/index.js +62 -0
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +3 -1
- package/lib/form/fields/CheckBoxField/props/defaultProps.js +4 -1
- package/lib/form/fields/CheckBoxField/props/propTypes.js +4 -1
- package/lib/form/fields/CurrencyField/CurrencyField.js +3 -1
- package/lib/form/fields/CurrencyField/props/defaultProps.js +4 -1
- package/lib/form/fields/CurrencyField/props/propTypes.js +4 -1
- package/lib/form/fields/DateField/DateField.js +3 -1
- package/lib/form/fields/DateField/props/defaultProps.js +4 -1
- package/lib/form/fields/DateField/props/propTypes.js +4 -1
- package/lib/form/fields/FieldContainer/FieldContainer.js +6 -4
- package/lib/form/fields/FieldContainer/props/defaultProps.js +4 -1
- package/lib/form/fields/FieldContainer/props/propTypes.js +4 -1
- package/lib/form/fields/Fields.module.css +183 -183
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +3 -1
- package/lib/form/fields/MultiSelectField/props/defaultProps.js +4 -1
- package/lib/form/fields/MultiSelectField/props/propTypes.js +4 -1
- package/lib/form/fields/PhoneField/PhoneField.js +5 -3
- package/lib/form/fields/RadioField/RadioField.js +3 -1
- package/lib/form/fields/SelectField/SelectField.js +3 -1
- package/lib/form/fields/SelectField/props/defaultProps.js +4 -1
- package/lib/form/fields/SelectField/props/propTypes.js +4 -1
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +3 -1
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
- package/lib/form/fields/TagsMultiSelectField/props/defaultProps.js +4 -1
- package/lib/form/fields/TagsMultiSelectField/props/propTypes.js +4 -1
- package/lib/form/fields/TextBoxField/TextBoxField.js +3 -1
- package/lib/form/fields/TextBoxField/props/defaultProps.js +4 -1
- package/lib/form/fields/TextBoxField/props/propTypes.js +4 -1
- package/lib/form/fields/TextEditor/TextEditor.js +4 -2
- package/lib/form/fields/TextEditor/TextEditor.module.css +666 -764
- package/lib/form/fields/TextEditorField/TextEditorField.js +3 -1
- package/lib/form/fields/TextEditorField/props/defaultProps.js +4 -1
- package/lib/form/fields/TextEditorField/props/propTypes.js +4 -1
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -2
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
- package/lib/form/fields/TextareaField/TextareaField.js +3 -1
- package/lib/form/fields/TextareaField/props/defaultProps.js +4 -1
- package/lib/form/fields/TextareaField/props/propTypes.js +4 -1
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +5 -3
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/lib/form/fields/index.js +118 -0
- package/lib/form/layout/Field/Field.js +3 -1
- package/lib/form/layout/Field/Field.module.css +22 -22
- package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
- package/lib/form/layout/Section/Section.js +3 -1
- package/lib/form/layout/index.js +20 -0
- package/lib/index.js +269 -29
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +9 -7
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
- package/lib/layout/SubtabLayout/SubtabLayout.js +3 -1
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +146 -165
- package/lib/list/AvatarFlip/AvatarFlip.js +7 -3
- package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
- package/lib/list/AvatarFlip/props/defaultProps.js +2 -1
- package/lib/list/AvatarFlip/props/propTypes.js +2 -1
- package/lib/list/BluePrintStatus/BluePrintStatus.js +5 -3
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
- package/lib/list/Comment/Comment.js +5 -3
- package/lib/list/Comment/Comment.module.css +29 -29
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +3 -1
- package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
- package/lib/list/DepartmentDropDown/props/propTypes.js +4 -1
- package/lib/list/Dot/Dot.js +3 -1
- package/lib/list/Dot/Dot.module.css +15 -15
- package/lib/list/DotNew/DotNew.js +3 -1
- package/lib/list/DotNew/DotNew.module.css +22 -25
- package/lib/list/GridStencils/GridStencils.js +3 -1
- package/lib/list/GridStencils/GridStencils.module.css +146 -146
- package/lib/list/Icons/AddNewIcon.js +5 -3
- package/lib/list/Icons/CompleteIcon.js +5 -3
- package/lib/list/Icons/DeleteIcon.js +5 -3
- package/lib/list/Icons/EditIcon.js +5 -3
- package/lib/list/Icons/FloatingIcons.js +3 -1
- package/lib/list/Icons/Icons.module.css +16 -16
- package/lib/list/Icons/ReadUnreadIcon.js +5 -3
- package/lib/list/Icons/SmartIcon.js +5 -3
- package/lib/list/Icons/index.js +55 -0
- package/lib/list/ListLayout/ListLayout.js +3 -1
- package/lib/list/ListLayout/ListLayout.module.css +57 -57
- package/lib/list/ListLayout/props/propTypes.js +4 -1
- package/lib/list/ListStencils/ListStencils.js +3 -1
- package/lib/list/ListStencils/ListStencils.module.css +67 -67
- package/lib/list/SecondaryText/AccountName.js +3 -1
- package/lib/list/SecondaryText/ContactName.js +5 -3
- package/lib/list/SecondaryText/DepartmentText.js +3 -1
- package/lib/list/SecondaryText/Email.js +3 -1
- package/lib/list/SecondaryText/HappinessRating.js +3 -1
- package/lib/list/SecondaryText/PhoneNumber.js +3 -1
- package/lib/list/SecondaryText/PriorityText.js +3 -1
- package/lib/list/SecondaryText/SecondaryText.js +3 -1
- package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
- package/lib/list/SecondaryText/StatusText.js +3 -1
- package/lib/list/SecondaryText/TicketId.js +3 -1
- package/lib/list/SecondaryText/Website.js +3 -1
- package/lib/list/SecondryPanel/SecondryPanel.js +3 -1
- package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
- package/lib/list/SentimentStatus/SentimentStatus.js +5 -3
- package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
- package/lib/list/Subject/Subject.js +3 -1
- package/lib/list/Subject/Subject.module.css +27 -27
- package/lib/list/TagNew/TagNew.js +3 -1
- package/lib/list/TagNew/TagNew.module.css +115 -117
- package/lib/list/Thread/Thread.js +5 -3
- package/lib/list/Thread/Thread.module.css +42 -42
- package/lib/list/UserTime/UserTime.js +11 -9
- package/lib/list/UserTime/UserTime.module.css +58 -58
- package/lib/list/index.js +152 -0
- package/lib/list/listCommon.module.css +60 -60
- package/lib/list/status/StatusDropdown/StatusDropdown.js +8 -4
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
- package/lib/list/status/StatusDropdown/props/propTypes.js +4 -1
- package/lib/list/status/StatusListItem/StatusListItem.js +8 -5
- package/lib/list/status/StatusListItem/StatusListItem.module.css +106 -104
- package/lib/list/status/StatusListItem/props/defaultProps.js +2 -1
- package/lib/list/status/StatusListItem/props/propTypes.js +1 -0
- package/lib/list/status/index.js +20 -0
- package/lib/lookup/EmptyPage/EmptyPage.js +3 -1
- package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
- package/lib/lookup/Lookup/Lookup.js +5 -2
- package/lib/lookup/Lookup/Lookup.module.css +26 -26
- package/lib/lookup/Section/LookupSection.module.css +8 -8
- package/lib/lookup/Section/Section.js +3 -1
- package/lib/lookup/header/Close/Close.js +3 -1
- package/lib/lookup/header/Close/LookupClose.module.css +15 -15
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +5 -2
- package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
- package/lib/lookup/header/Search/Search.js +7 -5
- package/lib/lookup/header/TicketHeader/TicketHeader.js +5 -2
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
- package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
- package/lib/lookup/header/Title/Title.js +3 -1
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +5 -3
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
- package/lib/lookup/header/index.js +41 -0
- package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
- package/lib/lookup/index.js +33 -0
- package/lib/setup/header/Button/Button.js +3 -1
- package/lib/setup/header/Button/HeaderButton.module.css +5 -5
- package/lib/setup/header/Link/HeaderLink.module.css +21 -21
- package/lib/setup/header/Link/Link.js +5 -3
- package/lib/setup/header/Search/Search.js +5 -3
- package/lib/setup/header/Search/Search.module.css +68 -68
- package/lib/setup/header/Views/Views.js +6 -4
- package/lib/setup/header/Views/Views.module.css +37 -37
- package/lib/setup/header/index.js +34 -0
- package/lib/setup/helptips/Description/Description.js +3 -1
- package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
- package/lib/setup/helptips/Link/Link.js +3 -1
- package/lib/setup/helptips/ListGroup/ListGroup.js +3 -1
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
- package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
- package/lib/setup/helptips/Title/Title.js +3 -1
- package/lib/setup/helptips/index.js +34 -0
- package/lib/setup/index.js +15 -0
- package/lib/setup/table/Table/Table.js +3 -1
- package/lib/setup/table/TableBody/TableBody.js +3 -1
- package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
- package/lib/setup/table/TableData/TableData.js +3 -1
- package/lib/setup/table/TableData/Tablehover.module.css +6 -6
- package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
- package/lib/setup/table/TableHead/TableHead.js +3 -1
- package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
- package/lib/setup/table/TableRow/TableRow.js +3 -1
- package/lib/setup/table/Text/TableText.module.css +37 -37
- package/lib/setup/table/Text/Text.js +3 -1
- package/lib/setup/table/index.js +41 -0
- package/lib/svg/PlusIcon.js +4 -2
- package/lib/svg/SnippetIcon.js +5 -3
- package/lib/svg/TemplateIcon.js +3 -1
- package/lib/svg/index.js +27 -0
- package/lib/version2/AlertClose/AlertClose.js +5 -3
- package/lib/version2/AlertClose/AlertClose.module.css +42 -42
- package/lib/version2/GlobalNotification/GlobalNotification.js +3 -1
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +124 -127
- package/lib/version2/alertIcons/AlarmAlertIcon.js +3 -1
- package/lib/version2/alertIcons/AlertIcons.js +3 -1
- package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
- package/lib/version2/alertIcons/DangerAlertIcon.js +3 -1
- package/lib/version2/alertIcons/ErrorAlertIcon.js +3 -1
- package/lib/version2/alertIcons/InfoAlertIcon.js +3 -1
- package/lib/version2/alertIcons/NotificationAlertIcon.js +3 -1
- package/lib/version2/alertIcons/SuccessAlertIcon.js +3 -1
- package/lib/version2/alertIcons/WarningAlertIcon.js +3 -1
- package/lib/version2/alertIcons/index.js +62 -0
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +3 -1
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -1
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -1
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -1
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -1
- package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -1
- package/lib/version2/errorstate/index.js +48 -0
- package/lib/version2/index.js +44 -0
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +3 -1
- package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +3 -1
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
- package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
- package/lib/version2/lookup/index.js +20 -0
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -127
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +3 -1
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
- package/lib/version2/notification/index.js +29 -0
- package/package.json +104 -104
- package/css_error.log +0 -1
- package/es/common/dot_boxShadow.module.css +0 -77
- package/lib/common/dot_boxShadow.module.css +0 -77
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
|
|
3
|
-
vertical-align: middle;
|
|
4
|
-
position: relative;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.teamAvatar {
|
|
8
|
-
position: absolute;
|
|
9
|
-
bottom: calc(var(--zd_size6) * -1);
|
|
10
|
-
font-size: 0;
|
|
11
|
-
padding: var(--zd_size2);
|
|
12
|
-
border-radius: 50%;
|
|
13
|
-
transform: scale(0.8);
|
|
14
|
-
background-color: var(--zdt_avatarwithteam_default_bg);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
[dir=ltr] .teamAvatar {
|
|
18
|
-
right: calc(var(--zd_size10) * -1);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
[dir=rtl] .teamAvatar {
|
|
22
|
-
left: calc(var(--zd_size10) * -1);
|
|
23
|
-
}
|
|
1
|
+
.container {
|
|
2
|
+
composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
|
|
3
|
+
vertical-align: middle;
|
|
4
|
+
position: relative;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.teamAvatar {
|
|
8
|
+
position: absolute;
|
|
9
|
+
bottom: calc(var(--zd_size6) * -1);
|
|
10
|
+
font-size: 0;
|
|
11
|
+
padding: var(--zd_size2);
|
|
12
|
+
border-radius: 50%;
|
|
13
|
+
transform: scale(0.8);
|
|
14
|
+
background-color: var(--zdt_avatarwithteam_default_bg);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
[dir=ltr] .teamAvatar {
|
|
18
|
+
right: calc(var(--zd_size10) * -1);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
[dir=rtl] .teamAvatar {
|
|
22
|
+
left: calc(var(--zd_size10) * -1);
|
|
23
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as AvatarClose } from './AvatarClose/AvatarClose';
|
|
2
|
+
export { default as AvatarCollision } from './AvatarCollision/AvatarCollision';
|
|
3
|
+
export { default as AvatarIcon } from './AvatarIcon/AvatarIcon';
|
|
4
|
+
export { default as AvatarStatus } from './AvatarStatus/AvatarStatus';
|
|
5
|
+
export { default as AvatarThread } from './AvatarThread/AvatarThread';
|
|
6
|
+
export { default as AvatarUser } from './AvatarUser/AvatarUser';
|
|
7
|
+
export { default as AvatarWithTeam } from './AvatarWithTeam/AvatarWithTeam';
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
[dir=ltr] .rotate{
|
|
3
|
-
animation-name: rotate-ltr ;
|
|
4
|
-
}
|
|
5
|
-
[dir=rtl] .rotate{
|
|
6
|
-
animation-name: rotate-rtl ;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@keyframes rotate-ltr {
|
|
10
|
-
from {
|
|
11
|
-
transform: rotate(0);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
to {
|
|
15
|
-
transform: rotate(360deg);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@keyframes rotate-rtl {
|
|
20
|
-
from {
|
|
21
|
-
transform: rotate(0);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
to {
|
|
25
|
-
transform: rotate(-360deg);
|
|
26
|
-
}
|
|
1
|
+
|
|
2
|
+
[dir=ltr] .rotate{
|
|
3
|
+
animation-name: rotate-ltr ;
|
|
4
|
+
}
|
|
5
|
+
[dir=rtl] .rotate{
|
|
6
|
+
animation-name: rotate-rtl ;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@keyframes rotate-ltr {
|
|
10
|
+
from {
|
|
11
|
+
transform: rotate(0);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
to {
|
|
15
|
+
transform: rotate(360deg);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@keyframes rotate-rtl {
|
|
20
|
+
from {
|
|
21
|
+
transform: rotate(0);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
to {
|
|
25
|
+
transform: rotate(-360deg);
|
|
26
|
+
}
|
|
27
27
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.audioImage {
|
|
2
|
-
background-image: url('../../images/audio_thumbnail.png');
|
|
3
|
-
background-repeat: no-repeat;
|
|
1
|
+
.audioImage {
|
|
2
|
+
background-image: url('../../images/audio_thumbnail.png');
|
|
3
|
+
background-repeat: no-repeat;
|
|
4
4
|
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import { defaultProps } from './props/defaultProps';
|
|
3
|
+
import { propTypes } from './props/propTypes';
|
|
4
|
+
import { Container } from '@zohodesk/components/lib/Layout';
|
|
5
|
+
import VelocityAnimationGroup from '@zohodesk/components/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
|
|
6
|
+
import style from './FreezeLayer.module.css';
|
|
7
|
+
import { getZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
|
|
8
|
+
import { getDotLibraryConfig } from '../Provider/Config';
|
|
9
|
+
export default class FreezeLayer extends Component {
|
|
10
|
+
constructor(props) {
|
|
11
|
+
super(props);
|
|
12
|
+
this.state = {
|
|
13
|
+
isActive: props.isActive,
|
|
14
|
+
isChildActive: false
|
|
15
|
+
};
|
|
16
|
+
this.getNextIndex = getZIndex(this);
|
|
17
|
+
this.isFreezeLayerEnabled = false;
|
|
18
|
+
}
|
|
19
|
+
enableFreeze() {
|
|
20
|
+
if (!this.isFreezeLayerEnabled) {
|
|
21
|
+
this.isFreezeLayerEnabled = true;
|
|
22
|
+
const freezeLayerEnable = (getDotLibraryConfig('freezeLayer') || {}).enable;
|
|
23
|
+
freezeLayerEnable && freezeLayerEnable();
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
disableFreeze() {
|
|
27
|
+
if (this.isFreezeLayerEnabled) {
|
|
28
|
+
this.isFreezeLayerEnabled = false;
|
|
29
|
+
const freezeLayerDisable = (getDotLibraryConfig('freezeLayer') || {}).disable;
|
|
30
|
+
freezeLayerDisable && freezeLayerDisable();
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
componentDidMount() {
|
|
34
|
+
let {
|
|
35
|
+
isActive
|
|
36
|
+
} = this.props;
|
|
37
|
+
if (isActive) {
|
|
38
|
+
this.setState({
|
|
39
|
+
isChildActive: true
|
|
40
|
+
});
|
|
41
|
+
this.enableFreeze();
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
componentDidUpdate(prevProps) {
|
|
45
|
+
let {
|
|
46
|
+
isActive
|
|
47
|
+
} = this.props;
|
|
48
|
+
if (isActive != prevProps.isActive) {
|
|
49
|
+
if (isActive) {
|
|
50
|
+
this.enableFreeze();
|
|
51
|
+
this.setState({
|
|
52
|
+
isActive: true
|
|
53
|
+
}, () => {
|
|
54
|
+
this.setState({
|
|
55
|
+
isChildActive: true
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
} else {
|
|
59
|
+
this.disableFreeze();
|
|
60
|
+
this.setState({
|
|
61
|
+
isChildActive: false
|
|
62
|
+
}, () => {
|
|
63
|
+
this.setState({
|
|
64
|
+
isActive: false
|
|
65
|
+
});
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
componentWillUnmount() {
|
|
71
|
+
this.disableFreeze();
|
|
72
|
+
}
|
|
73
|
+
render() {
|
|
74
|
+
let {
|
|
75
|
+
children,
|
|
76
|
+
align,
|
|
77
|
+
childAnimationName,
|
|
78
|
+
palette,
|
|
79
|
+
onClick,
|
|
80
|
+
animationName,
|
|
81
|
+
zIndex,
|
|
82
|
+
runOnMount,
|
|
83
|
+
forwardRef,
|
|
84
|
+
isSvgMask,
|
|
85
|
+
customClass,
|
|
86
|
+
needAutoZindex
|
|
87
|
+
} = this.props;
|
|
88
|
+
let {
|
|
89
|
+
isActive,
|
|
90
|
+
isChildActive
|
|
91
|
+
} = this.state;
|
|
92
|
+
return /*#__PURE__*/React.createElement(VelocityAnimationGroup, {
|
|
93
|
+
name: animationName && animationName,
|
|
94
|
+
isActive: isActive,
|
|
95
|
+
runOnMount: runOnMount
|
|
96
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
97
|
+
style: isActive && needAutoZindex ? {
|
|
98
|
+
zIndex: `${this.getNextIndex()}`
|
|
99
|
+
} : {},
|
|
100
|
+
className: `
|
|
101
|
+
${style.container} ${customClass} ${style[`index${zIndex}`]} ${!isSvgMask ? style[palette] : ''}
|
|
102
|
+
`,
|
|
103
|
+
onClick: onClick ? onClick : null,
|
|
104
|
+
ref: forwardRef
|
|
105
|
+
}, children && /*#__PURE__*/React.createElement(React.Fragment, null, childAnimationName ? /*#__PURE__*/React.createElement(VelocityAnimationGroup, {
|
|
106
|
+
name: childAnimationName,
|
|
107
|
+
isActive: isChildActive,
|
|
108
|
+
enterDelay: palette === 'plain' ? 0 : 300,
|
|
109
|
+
component: Container,
|
|
110
|
+
alignBox: "row",
|
|
111
|
+
align: align,
|
|
112
|
+
dataId: "reactFreezeLayer"
|
|
113
|
+
}, children) : isSvgMask ? /*#__PURE__*/React.createElement(React.Fragment, null, children) : /*#__PURE__*/React.createElement(Container, {
|
|
114
|
+
alignBox: "row",
|
|
115
|
+
align: align,
|
|
116
|
+
dataId: "reactFreezeLayer"
|
|
117
|
+
}, children))));
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
FreezeLayer.propTypes = propTypes;
|
|
121
|
+
FreezeLayer.defaultProps = defaultProps;
|
|
122
|
+
|
|
123
|
+
// if (__DOCS__) {
|
|
124
|
+
// FreezeLayer.docs = {
|
|
125
|
+
// componentGroup: 'Atom',
|
|
126
|
+
// folderName: 'General'
|
|
127
|
+
// };
|
|
128
|
+
// }
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
top: 0;
|
|
3
|
-
bottom: 0;
|
|
4
|
-
position: absolute;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
}[dir=ltr] .container {
|
|
7
|
-
left: 0;
|
|
8
|
-
right: 0;
|
|
9
|
-
}[dir=rtl] .container {
|
|
10
|
-
right: 0;
|
|
11
|
-
left: 0;
|
|
12
|
-
}
|
|
13
|
-
.default {
|
|
14
|
-
background-color: var(--zdt_freezelayer_default_bg);
|
|
15
|
-
}
|
|
16
|
-
.dark {
|
|
17
|
-
background-color: var(--zdt_freezelayer_dark_bg);
|
|
18
|
-
}
|
|
19
|
-
.darkLight {
|
|
20
|
-
background-color: var(--zdt_freezelayer_darklight_bg);
|
|
21
|
-
}
|
|
22
|
-
.plain {
|
|
23
|
-
background-color: var(--zdt_freezelayer_plain_bg);
|
|
24
|
-
}
|
|
25
|
-
.snow {
|
|
26
|
-
background-color: var(--zdt_freezelayer_snow_bg);
|
|
27
|
-
}
|
|
28
|
-
.index3 {
|
|
29
|
-
z-index: 3;
|
|
30
|
-
}
|
|
31
|
-
.index5 {
|
|
32
|
-
z-index: 5;
|
|
33
|
-
}
|
|
34
|
-
.index7 {
|
|
35
|
-
z-index: 7;
|
|
36
|
-
}
|
|
37
|
-
.index10 {
|
|
38
|
-
z-index: 10;
|
|
39
|
-
}
|
|
40
|
-
.delay {
|
|
41
|
-
transition-delay: var(--zd_transition2);
|
|
42
|
-
}
|
|
1
|
+
.container {
|
|
2
|
+
top: 0;
|
|
3
|
+
bottom: 0;
|
|
4
|
+
position: absolute;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
}[dir=ltr] .container {
|
|
7
|
+
left: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
}[dir=rtl] .container {
|
|
10
|
+
right: 0;
|
|
11
|
+
left: 0;
|
|
12
|
+
}
|
|
13
|
+
.default {
|
|
14
|
+
background-color: var(--zdt_freezelayer_default_bg);
|
|
15
|
+
}
|
|
16
|
+
.dark {
|
|
17
|
+
background-color: var(--zdt_freezelayer_dark_bg);
|
|
18
|
+
}
|
|
19
|
+
.darkLight {
|
|
20
|
+
background-color: var(--zdt_freezelayer_darklight_bg);
|
|
21
|
+
}
|
|
22
|
+
.plain {
|
|
23
|
+
background-color: var(--zdt_freezelayer_plain_bg);
|
|
24
|
+
}
|
|
25
|
+
.snow {
|
|
26
|
+
background-color: var(--zdt_freezelayer_snow_bg);
|
|
27
|
+
}
|
|
28
|
+
.index3 {
|
|
29
|
+
z-index: 3;
|
|
30
|
+
}
|
|
31
|
+
.index5 {
|
|
32
|
+
z-index: 5;
|
|
33
|
+
}
|
|
34
|
+
.index7 {
|
|
35
|
+
z-index: 7;
|
|
36
|
+
}
|
|
37
|
+
.index10 {
|
|
38
|
+
z-index: 10;
|
|
39
|
+
}
|
|
40
|
+
.delay {
|
|
41
|
+
transition-delay: var(--zd_transition2);
|
|
42
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
let animationValues = ['fade', 'shrink', 'expand', 'slideRight', 'slideDown', 'flyDown'];
|
|
3
|
+
export const propTypes = {
|
|
4
|
+
align: PropTypes.oneOf(['horizontal', 'vertical', 'both']),
|
|
5
|
+
animationName: PropTypes.oneOf(animationValues),
|
|
6
|
+
childAnimationName: PropTypes.oneOf(animationValues),
|
|
7
|
+
children: PropTypes.node,
|
|
8
|
+
customClass: PropTypes.string,
|
|
9
|
+
forwardRef: PropTypes.object,
|
|
10
|
+
isActive: PropTypes.bool,
|
|
11
|
+
isSvgMask: PropTypes.bool,
|
|
12
|
+
needAutoZindex: PropTypes.bool,
|
|
13
|
+
onClick: PropTypes.oneOfType([PropTypes.func, PropTypes.bool]),
|
|
14
|
+
palette: PropTypes.oneOf(['dark', 'default', 'darkLight', 'plain', 'snow']),
|
|
15
|
+
runOnMount: PropTypes.bool,
|
|
16
|
+
zIndex: PropTypes.oneOf(['3', '5', '7', '10'])
|
|
17
|
+
};
|
|
@@ -4,7 +4,7 @@ import Popup from '@zohodesk/components/lib/Popup/Popup';
|
|
|
4
4
|
import ListItem from '@zohodesk/components/lib/ListItem/ListItem';
|
|
5
5
|
import TextBox from '@zohodesk/components/lib/TextBox/TextBox';
|
|
6
6
|
import DropDownHeading from '@zohodesk/components/lib/DropDown/DropDownHeading';
|
|
7
|
-
import Icon from '@zohodesk/icons
|
|
7
|
+
import { Icon } from '@zohodesk/icons';
|
|
8
8
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
9
9
|
import ResponsiveDropBox from '@zohodesk/components/lib/ResponsiveDropBox/ResponsiveDropBox';
|
|
10
10
|
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
position: relative;
|
|
3
|
-
line-height: var(--zd_size18);
|
|
4
|
-
composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
|
|
5
|
-
padding: var(--zd_size3) var(--zd_size15);
|
|
6
|
-
cursor: pointer;
|
|
7
|
-
}[dir=ltr] .container {
|
|
8
|
-
margin-left: var(--zd_size15);
|
|
9
|
-
}[dir=rtl] .container {
|
|
10
|
-
margin-right: var(--zd_size15);
|
|
11
|
-
}
|
|
12
|
-
.container:hover {
|
|
13
|
-
background: var(--zdt_selectdropzdt_selectdropdown_hover_bg down_hover_bg);
|
|
14
|
-
}
|
|
15
|
-
.departName {
|
|
16
|
-
font-size: var(--zd_font_size13);
|
|
17
|
-
color: var(--zdt_selectdropdown_departname_text);
|
|
18
|
-
composes: flexgrow dotted offSelection from '~@zohodesk/components/lib/common/common.module.css';
|
|
19
|
-
}
|
|
20
|
-
.departIcon {
|
|
21
|
-
color: var(--zdt_selectdropdown_departicon);
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
}
|
|
24
|
-
[dir=ltr] .departIcon {
|
|
25
|
-
margin-left: var(--zd_size5);
|
|
26
|
-
}
|
|
27
|
-
[dir=rtl] .departIcon {
|
|
28
|
-
margin-right: var(--zd_size5);
|
|
29
|
-
}
|
|
30
|
-
.rulesPopup {
|
|
31
|
-
max-height: var(--zd_size260);
|
|
32
|
-
padding: var(--zd_size10) 0;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.rulesDepart {
|
|
36
|
-
margin: 0 var(--zd_size5) var(--zd_size10) var(--zd_size5);
|
|
37
|
-
}
|
|
38
|
-
.searchDepart {
|
|
39
|
-
padding: 0 var(--zd_size20);
|
|
40
|
-
margin: 0 0 var(--zd_size10) 0;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/*Variables */
|
|
44
|
-
/* select dropdown */
|
|
45
|
-
|
|
46
|
-
[data-mode='dark'] {
|
|
47
|
-
--zdt_selectdropdown_hover_bg: var(--dot_smoke64);
|
|
48
|
-
--zdt_selectdropdown_departname_text: var(--zd_dark4);
|
|
49
|
-
--zdt_selectdropdown_departicon: var(--zd_dark5);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
[data-mode='default'] {
|
|
53
|
-
--zdt_selectdropdown_hover_bg: var(--dot_smoke64);
|
|
54
|
-
--zdt_selectdropdown_departname_text: var(--zd_dark4);
|
|
55
|
-
--zdt_selectdropdown_departicon: var(--zd_dark5);
|
|
56
|
-
}
|
|
1
|
+
.container {
|
|
2
|
+
position: relative;
|
|
3
|
+
line-height: var(--zd_size18);
|
|
4
|
+
composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
|
|
5
|
+
padding: var(--zd_size3) var(--zd_size15);
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
}[dir=ltr] .container {
|
|
8
|
+
margin-left: var(--zd_size15);
|
|
9
|
+
}[dir=rtl] .container {
|
|
10
|
+
margin-right: var(--zd_size15);
|
|
11
|
+
}
|
|
12
|
+
.container:hover {
|
|
13
|
+
background: var(--zdt_selectdropzdt_selectdropdown_hover_bg down_hover_bg);
|
|
14
|
+
}
|
|
15
|
+
.departName {
|
|
16
|
+
font-size: var(--zd_font_size13);
|
|
17
|
+
color: var(--zdt_selectdropdown_departname_text);
|
|
18
|
+
composes: flexgrow dotted offSelection from '~@zohodesk/components/lib/common/common.module.css';
|
|
19
|
+
}
|
|
20
|
+
.departIcon {
|
|
21
|
+
color: var(--zdt_selectdropdown_departicon);
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
}
|
|
24
|
+
[dir=ltr] .departIcon {
|
|
25
|
+
margin-left: var(--zd_size5);
|
|
26
|
+
}
|
|
27
|
+
[dir=rtl] .departIcon {
|
|
28
|
+
margin-right: var(--zd_size5);
|
|
29
|
+
}
|
|
30
|
+
.rulesPopup {
|
|
31
|
+
max-height: var(--zd_size260);
|
|
32
|
+
padding: var(--zd_size10) 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.rulesDepart {
|
|
36
|
+
margin: 0 var(--zd_size5) var(--zd_size10) var(--zd_size5);
|
|
37
|
+
}
|
|
38
|
+
.searchDepart {
|
|
39
|
+
padding: 0 var(--zd_size20);
|
|
40
|
+
margin: 0 0 var(--zd_size10) 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/*Variables */
|
|
44
|
+
/* select dropdown */
|
|
45
|
+
|
|
46
|
+
[data-mode='dark'] {
|
|
47
|
+
--zdt_selectdropdown_hover_bg: var(--dot_smoke64);
|
|
48
|
+
--zdt_selectdropdown_departname_text: var(--zd_dark4);
|
|
49
|
+
--zdt_selectdropdown_departicon: var(--zd_dark5);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
[data-mode='default'] {
|
|
53
|
+
--zdt_selectdropdown_hover_bg: var(--dot_smoke64);
|
|
54
|
+
--zdt_selectdropdown_departname_text: var(--zd_dark4);
|
|
55
|
+
--zdt_selectdropdown_departicon: var(--zd_dark5);
|
|
56
|
+
}
|
|
@@ -52,10 +52,10 @@ Shortcut.addAll = function (keysObj, props) {
|
|
|
52
52
|
});
|
|
53
53
|
};
|
|
54
54
|
|
|
55
|
-
/**
|
|
56
|
-
* @param keycombo = 'z' or 'z+e' or 'shift+a' etc..
|
|
57
|
-
* @param callback = any function
|
|
58
|
-
* @param action = keypress or keydown or keyup
|
|
55
|
+
/**
|
|
56
|
+
* @param keycombo = 'z' or 'z+e' or 'shift+a' etc..
|
|
57
|
+
* @param callback = any function
|
|
58
|
+
* @param action = keypress or keydown or keyup
|
|
59
59
|
*/
|
|
60
60
|
|
|
61
61
|
Shortcut.bulkAdd = function (shortcutArray) {
|
|
@@ -84,8 +84,8 @@ Shortcut.add = function (keycombo, cpFunc, action, displayLabel) {
|
|
|
84
84
|
tempjson.action = action || 'keypress';
|
|
85
85
|
shortcutdatas[keycombo.toLowerCase()] = tempjson;
|
|
86
86
|
};
|
|
87
|
-
/*Shortcut.prototype.remove = function(){
|
|
88
|
-
|
|
87
|
+
/*Shortcut.prototype.remove = function(){
|
|
88
|
+
|
|
89
89
|
};*/
|
|
90
90
|
Shortcut.removeAll = function () {
|
|
91
91
|
shortcutdatas = {};
|
|
@@ -215,25 +215,25 @@ function _convertToKeyCharacter(e) {
|
|
|
215
215
|
return keyName;
|
|
216
216
|
}
|
|
217
217
|
function _defaultCallBack(keycombo, keyOptions) {
|
|
218
|
-
/*var keyElement = jQuery("[data-shortcut-key='" + keycombo + "']");
|
|
219
|
-
if (keyOptions.callbackflow !== undefined) {
|
|
220
|
-
keycombo = keyOptions.callbackflow.split(',');
|
|
221
|
-
var click = function(i, combo) {
|
|
222
|
-
setTimeout(function() {
|
|
223
|
-
jQuery("[data-shortcut-key='" + combo + "']").trigger('click');
|
|
224
|
-
}, i * 200);
|
|
225
|
-
};
|
|
226
|
-
for (var i = 0; i < keycombo.length; i++) {
|
|
227
|
-
var clickFunc = click.bind(this, i);
|
|
228
|
-
clickFunc(keycombo[i]);
|
|
229
|
-
highLightKeys(keycombo[i]);
|
|
230
|
-
}
|
|
231
|
-
return;
|
|
232
|
-
}
|
|
233
|
-
if (keyElement.length === 1) {
|
|
234
|
-
keyElement.trigger('click');
|
|
235
|
-
highLightKeys(keycombo);
|
|
236
|
-
return;
|
|
218
|
+
/*var keyElement = jQuery("[data-shortcut-key='" + keycombo + "']");
|
|
219
|
+
if (keyOptions.callbackflow !== undefined) {
|
|
220
|
+
keycombo = keyOptions.callbackflow.split(',');
|
|
221
|
+
var click = function(i, combo) {
|
|
222
|
+
setTimeout(function() {
|
|
223
|
+
jQuery("[data-shortcut-key='" + combo + "']").trigger('click');
|
|
224
|
+
}, i * 200);
|
|
225
|
+
};
|
|
226
|
+
for (var i = 0; i < keycombo.length; i++) {
|
|
227
|
+
var clickFunc = click.bind(this, i);
|
|
228
|
+
clickFunc(keycombo[i]);
|
|
229
|
+
highLightKeys(keycombo[i]);
|
|
230
|
+
}
|
|
231
|
+
return;
|
|
232
|
+
}
|
|
233
|
+
if (keyElement.length === 1) {
|
|
234
|
+
keyElement.trigger('click');
|
|
235
|
+
highLightKeys(keycombo);
|
|
236
|
+
return;
|
|
237
237
|
}*/
|
|
238
238
|
}
|
|
239
239
|
function _shortRestrictionPlaces(e) {
|
package/es/docs/formDocs.js
CHANGED
|
@@ -1,30 +1,15 @@
|
|
|
1
1
|
export { default as FieldLayout } from '../form/layout/Field/Field';
|
|
2
|
-
// export { default as FieldLayout__default } from '../form/layout/Field/docs/Field__default.docs';
|
|
3
2
|
export { default as New_Section } from '../form/layout/Section/Section';
|
|
4
|
-
// export { default as New_Section__default } from '../form/layout/Section/docs/Section__default.docs';
|
|
5
3
|
export { default as ValidationMessage } from '../form/fields/ValidationMessage/ValidationMessage';
|
|
6
|
-
// export { default as ValidationMessage__default } from '../form/fields/ValidationMessage/docs/ValidationMessage__default.docs';
|
|
7
4
|
export { default as TextBoxField } from '../form/fields/TextBoxField/TextBoxField';
|
|
8
|
-
// export { default as TextBoxField__default } from '../form/fields/TextBoxField/docs/TextBoxField__default.docs';
|
|
9
5
|
export { default as TextareaField } from '../form/fields/TextareaField/TextareaField';
|
|
10
|
-
// export { default as TextareaField__default } from '../form/fields/TextareaField/docs/TextareaField__default.docs';
|
|
11
6
|
export { default as SelectField } from '../form/fields/SelectField/SelectField';
|
|
12
|
-
// export { default as SelectField__default } from '../form/fields/SelectField/docs/SelectField__default.docs';
|
|
13
7
|
export { default as PhoneField } from '../form/fields/PhoneField/PhoneField';
|
|
14
|
-
// export { default as PhoneField__default } from '../form/fields/PhoneField/docs/PhoneField__default.docs';
|
|
15
8
|
export { default as MultiSelectField } from '../form/fields/MultiSelectField/MultiSelectField';
|
|
16
|
-
// export { default as MultiSelectField__default } from '../form/fields/MultiSelectField/docs/MultiSelectField__default.docs';
|
|
17
9
|
export { default as DateField } from '../form/fields/DateField/DateField';
|
|
18
|
-
// export { default as DateField__default } from '../form/fields/DateField/docs/DateField__default.docs';
|
|
19
10
|
export { default as CheckBoxField } from '../form/fields/CheckBoxField/CheckBoxField';
|
|
20
|
-
// export { default as CheckBoxField__default } from '../form/fields/CheckBoxField/docs/CheckBoxField__default.docs';
|
|
21
11
|
export { default as CurrencyField } from '../form/fields/CurrencyField/CurrencyField';
|
|
22
|
-
// export { default as CurrencyField__default } from '../form/fields/CurrencyField/docs/CurrencyField__default.docs';
|
|
23
12
|
export { default as TagsMultiSelect } from '../form/fields/TagsMultiSelect/TagsMultiSelect';
|
|
24
|
-
// export { default as TagsMultiSelect__default } from '../form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs';
|
|
25
13
|
export { default as TagsMultiSelectField } from '../form/fields/TagsMultiSelectField/TagsMultiSelectField';
|
|
26
|
-
// export { default as TagsMultiSelectField__default } from '../form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs';
|
|
27
14
|
export { default as TextEditorField } from '../form/fields/TextEditorField/TextEditorField';
|
|
28
|
-
|
|
29
|
-
export { default as FieldContainer } from '../form/fields/FieldContainer/FieldContainer';
|
|
30
|
-
// export { default as FieldContainer__default } from '../form/fields/FieldContainer/docs/FieldContainer__default.docs';
|
|
15
|
+
export { default as FieldContainer } from '../form/fields/FieldContainer/FieldContainer';
|