@zohodesk/dot 1.0.0-temp-118 → 1.0.0-temp-119
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 +1197 -1193
- package/assets/Appearance/dark/mode/dotDarkMode.module.css +290 -308
- 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 +284 -302
- 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 +293 -311
- 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.module.css +139 -139
- package/es/AlphabeticList/AlphabeticList.module.css +57 -57
- package/es/Attachment/Attachment.js +6 -5
- package/es/Attachment/Attachment.module.css +157 -157
- package/es/AttachmentViewer/AttachmentViewer.js +29 -28
- package/es/AttachmentViewer/AttachmentViewer.module.css +354 -353
- package/es/ChannelIcon/ChannelIcon.js +5 -5
- package/es/ChannelIcon/ChannelIcon.module.css +217 -217
- package/es/Drawer/Drawer.js +7 -6
- package/es/Drawer/Drawer.module.css +150 -189
- package/es/ExternalLink/ExternalLink.js +6 -5
- package/es/ExternalLink/ExternalLink.module.css +3 -3
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/es/FlipCard/FlipCard.js +5 -5
- package/es/FlipCard/FlipCard.module.css +44 -44
- package/es/FormAction/FormAction.js +12 -9
- package/es/FormAction/FormAction.module.css +82 -82
- package/es/FreezeLayer/FreezeLayer.js +7 -6
- package/es/FreezeLayer/FreezeLayer.module.css +42 -42
- package/es/IconButton/IconButton.js +6 -5
- package/es/IconButton/IconButton.module.css +22 -22
- package/es/Image/Image.js +5 -5
- package/es/Image/Image.module.css +10 -10
- package/es/ImportantNotes/ImportantNotes.js +7 -6
- package/es/ImportantNotes/ImportantNotes.module.css +20 -20
- package/es/Link/Link.js +6 -5
- package/es/Link/Link.module.css +3 -3
- package/es/Loader/Loader.js +6 -5
- package/es/Loader/Loader.module.css +46 -46
- package/es/Message/Message.js +7 -5
- package/es/Message/Message.module.css +102 -102
- package/es/MessageBanner/MessageBanner.js +6 -5
- package/es/MessageBanner/MessageBanner.module.css +46 -46
- package/es/NewStar/NewStar.js +6 -5
- package/es/NewStar/NewStar.module.css +175 -175
- package/es/PlusIcon/PlusIcon.js +7 -6
- package/es/PlusIcon/PlusIcon.module.css +16 -19
- package/es/Separator/Separator.module.css +34 -34
- package/es/ToastMessage/ToastMessage.js +6 -5
- package/es/ToastMessage/ToastMessage.module.css +328 -329
- package/es/Upload/Upload.js +6 -5
- package/es/Upload/Upload.module.css +125 -125
- package/es/alert/AlertHeader/AlertHeader.js +7 -6
- package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
- package/es/alert/AlertLookup/AlertLookup.js +7 -6
- package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
- package/es/avatar/AvatarClose/AvatarClose.js +5 -5
- package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
- package/es/avatar/AvatarCollision/AvatarCollision.js +5 -5
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
- package/es/avatar/AvatarIcon/AvatarIcon.js +3 -5
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/es/avatar/AvatarStatus/AvatarStatus.js +9 -6
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
- package/es/avatar/AvatarStatus/props/defaultProps.js +3 -1
- package/es/avatar/AvatarStatus/props/propTypes.js +2 -0
- package/es/avatar/AvatarThread/AvatarThread.js +6 -5
- package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
- package/es/avatar/AvatarUser/AvatarUser.js +6 -5
- package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +6 -5
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
- package/es/common/dot_animation.module.css +26 -26
- package/es/common/dot_common.module.css +3 -3
- package/es/deprecated/SelectDropdown/SelectDropdown.js +7 -6
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
- package/es/deprecated/utils/KeyboardApi.js +25 -25
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +6 -5
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +101 -101
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +6 -5
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
- package/es/emptystate/EditionPage/EditionPage.css +43 -43
- package/es/emptystate/EditionPage/EditionPage.js +6 -5
- package/es/errorstate/EmptyStates.module.css +87 -87
- package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
- package/es/errorstate/LinkText/LinkText.js +5 -5
- package/es/errorstate/LinkText/LinkText.module.css +6 -6
- package/es/errorstate/NoRequestFound/NoRequestFound.js +5 -5
- package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
- package/es/errorstate/PermissionPlay/PermissionPlay.js +5 -5
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +5 -5
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
- package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +5 -5
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
- package/es/errorstate/WillBack/WillBack.js +5 -5
- package/es/errorstate/WillBack/WillBack.module.css +34 -34
- package/es/form/fields/CheckBoxField/CheckBoxField.js +7 -6
- package/es/form/fields/CurrencyField/CurrencyField.js +7 -6
- package/es/form/fields/DateField/DateField.js +7 -6
- package/es/form/fields/FieldContainer/FieldContainer.js +7 -6
- package/es/form/fields/Fields.module.css +183 -183
- package/es/form/fields/MultiSelectField/MultiSelectField.js +7 -6
- package/es/form/fields/PhoneField/PhoneField.js +7 -6
- package/es/form/fields/RadioField/RadioField.js +6 -6
- package/es/form/fields/SelectField/SelectField.js +7 -6
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +6 -5
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +6 -5
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
- package/es/form/fields/TextBoxField/TextBoxField.js +7 -6
- package/es/form/fields/TextEditor/TextEditor.js +7 -7
- package/es/form/fields/TextEditor/TextEditor.module.css +666 -764
- package/es/form/fields/TextEditorField/TextEditorField.js +6 -5
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
- package/es/form/fields/TextareaField/TextareaField.js +7 -6
- package/es/form/fields/ValidationMessage/ValidationMessage.js +7 -6
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/es/form/layout/Field/Field.js +6 -5
- 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 +5 -5
- package/es/layout/SetupDetailLayout/SetupDetailLayout.js +7 -5
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
- package/es/layout/SubtabLayout/SubtabLayout.js +6 -5
- package/es/layout/SubtabLayout/SubtabLayout.module.css +146 -165
- package/es/list/AvatarFlip/AvatarFlip.js +7 -6
- package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
- package/es/list/BluePrintStatus/BluePrintStatus.js +6 -5
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
- package/es/list/Comment/Comment.js +7 -6
- package/es/list/Comment/Comment.module.css +29 -29
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +6 -6
- package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
- package/es/list/Dot/Dot.module.css +15 -15
- package/es/list/DotNew/DotNew.js +7 -6
- package/es/list/DotNew/DotNew.module.css +22 -25
- package/es/list/GridStencils/GridStencils.js +7 -6
- package/es/list/GridStencils/GridStencils.module.css +146 -146
- package/es/list/Icons/FloatingIcons.js +7 -6
- package/es/list/Icons/Icons.module.css +16 -16
- package/es/list/ListLayout/ListLayout.js +7 -6
- package/es/list/ListLayout/ListLayout.module.css +57 -57
- package/es/list/ListStencils/ListStencils.js +7 -6
- package/es/list/ListStencils/ListStencils.module.css +67 -67
- package/es/list/SecondaryText/AccountName.js +7 -6
- package/es/list/SecondaryText/ContactName.js +7 -6
- package/es/list/SecondaryText/DepartmentText.js +7 -6
- package/es/list/SecondaryText/Email.js +7 -6
- package/es/list/SecondaryText/HappinessRating.js +7 -6
- package/es/list/SecondaryText/PhoneNumber.js +7 -6
- package/es/list/SecondaryText/PriorityText.js +7 -6
- package/es/list/SecondaryText/SecondaryText.js +7 -6
- package/es/list/SecondaryText/SecondaryText.module.css +136 -136
- package/es/list/SecondaryText/StatusText.js +7 -6
- package/es/list/SecondaryText/TicketId.js +7 -6
- package/es/list/SecondaryText/Website.js +7 -6
- package/es/list/SecondryPanel/SecondryPanel.js +7 -6
- package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
- package/es/list/SentimentStatus/SentimentStatus.js +6 -5
- package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
- package/es/list/Subject/Subject.js +7 -6
- package/es/list/Subject/Subject.module.css +27 -27
- package/es/list/TagNew/TagNew.js +7 -6
- package/es/list/TagNew/TagNew.module.css +115 -117
- package/es/list/Thread/Thread.js +7 -6
- package/es/list/Thread/Thread.module.css +42 -42
- package/es/list/UserTime/UserTime.js +7 -6
- package/es/list/UserTime/UserTime.module.css +58 -58
- package/es/list/listCommon.module.css +60 -60
- package/es/list/status/StatusDropdown/StatusDropdown.js +6 -5
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
- package/es/list/status/StatusListItem/StatusListItem.js +7 -6
- package/es/list/status/StatusListItem/StatusListItem.module.css +104 -104
- package/es/lookup/EmptyPage/EmptyPage.js +6 -5
- package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
- package/es/lookup/Lookup/Lookup.js +6 -5
- package/es/lookup/Lookup/Lookup.module.css +26 -26
- package/es/lookup/Section/LookupSection.module.css +8 -8
- package/es/lookup/header/Close/Close.js +6 -5
- package/es/lookup/header/Close/LookupClose.module.css +15 -15
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +6 -5
- package/es/lookup/header/Search/LookupSearch.module.css +57 -57
- package/es/lookup/header/Search/Search.js +6 -5
- package/es/lookup/header/TicketHeader/TicketHeader.js +6 -5
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
- package/es/lookup/header/Title/LookupTitle.module.css +20 -20
- package/es/lookup/header/Title/Title.js +6 -5
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +8 -7
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
- package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
- package/es/setup/header/Button/Button.js +7 -6
- 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 +7 -6
- package/es/setup/header/Search/Search.js +7 -6
- package/es/setup/header/Search/Search.module.css +68 -68
- package/es/setup/header/Views/Views.js +7 -6
- package/es/setup/header/Views/Views.module.css +37 -37
- package/es/setup/helptips/Description/Description.js +7 -6
- 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 +7 -6
- package/es/setup/helptips/ListGroup/ListGroup.js +7 -6
- 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 +7 -6
- package/es/setup/table/Table/Table.js +7 -6
- package/es/setup/table/TableBody/TableBody.js +7 -6
- package/es/setup/table/TableData/SetupTableData.module.css +44 -44
- package/es/setup/table/TableData/TableData.js +7 -6
- package/es/setup/table/TableData/Tablehover.module.css +6 -6
- package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
- package/es/setup/table/TableHead/TableHead.js +7 -6
- package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
- package/es/setup/table/TableRow/TableRow.js +7 -6
- package/es/setup/table/Text/TableText.module.css +37 -37
- package/es/setup/table/Text/Text.js +7 -6
- package/es/svg/PlusIcon.js +7 -6
- package/es/svg/SnippetIcon.js +8 -7
- package/es/svg/TemplateIcon.js +6 -5
- package/es/version2/AlertClose/AlertClose.js +7 -6
- package/es/version2/AlertClose/AlertClose.module.css +42 -42
- package/es/version2/GlobalNotification/GlobalNotification.js +8 -6
- package/es/version2/GlobalNotification/GlobalNotification.module.css +124 -127
- package/es/version2/alertIcons/AlertIcons.js +7 -6
- package/es/version2/alertIcons/AlertIcons.module.css +67 -67
- package/es/version2/errorstate/Inconvenience/Inconvenience.js +6 -5
- package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +6 -5
- package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +6 -5
- package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +6 -5
- package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +6 -5
- package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
- package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +6 -5
- package/es/version2/lookup/AlertHeader/AlertHeader.js +7 -6
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
- package/es/version2/lookup/AlertLookup/AlertLookup.js +7 -6
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
- package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +7 -6
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -127
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +7 -6
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
- package/install.md +12 -12
- package/lib/ActionButton/ActionButton.module.css +139 -139
- package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
- package/lib/Attachment/Attachment.js +6 -5
- package/lib/Attachment/Attachment.module.css +157 -157
- package/lib/AttachmentViewer/AttachmentViewer.js +17 -16
- package/lib/AttachmentViewer/AttachmentViewer.module.css +354 -353
- package/lib/ChannelIcon/ChannelIcon.js +5 -5
- package/lib/ChannelIcon/ChannelIcon.module.css +217 -217
- package/lib/Drawer/Drawer.js +6 -5
- package/lib/Drawer/Drawer.module.css +150 -189
- package/lib/ExternalLink/ExternalLink.js +6 -5
- package/lib/ExternalLink/ExternalLink.module.css +3 -3
- package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/lib/FlipCard/FlipCard.js +5 -5
- package/lib/FlipCard/FlipCard.module.css +44 -44
- package/lib/FormAction/FormAction.js +12 -9
- package/lib/FormAction/FormAction.module.css +82 -82
- package/lib/FreezeLayer/FreezeLayer.js +7 -6
- package/lib/FreezeLayer/FreezeLayer.module.css +42 -42
- package/lib/IconButton/IconButton.js +6 -5
- package/lib/IconButton/IconButton.module.css +22 -22
- package/lib/Image/Image.js +5 -5
- package/lib/Image/Image.module.css +10 -10
- package/lib/ImportantNotes/ImportantNotes.js +7 -6
- package/lib/ImportantNotes/ImportantNotes.module.css +20 -20
- package/lib/Link/Link.js +6 -5
- package/lib/Link/Link.module.css +3 -3
- package/lib/Loader/Loader.js +6 -7
- package/lib/Loader/Loader.module.css +46 -46
- package/lib/Message/Message.js +7 -5
- package/lib/Message/Message.module.css +102 -102
- package/lib/MessageBanner/MessageBanner.js +6 -5
- package/lib/MessageBanner/MessageBanner.module.css +46 -46
- package/lib/NewStar/NewStar.js +6 -5
- package/lib/NewStar/NewStar.module.css +175 -175
- package/lib/PlusIcon/PlusIcon.js +7 -6
- package/lib/PlusIcon/PlusIcon.module.css +16 -19
- package/lib/Separator/Separator.module.css +34 -34
- package/lib/ToastMessage/ToastMessage.js +6 -5
- package/lib/ToastMessage/ToastMessage.module.css +328 -329
- package/lib/Upload/Upload.js +6 -5
- package/lib/Upload/Upload.module.css +125 -125
- package/lib/alert/AlertHeader/AlertHeader.js +7 -6
- package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
- package/lib/alert/AlertLookup/AlertLookup.js +7 -6
- package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
- package/lib/avatar/AvatarClose/AvatarClose.js +5 -5
- package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
- package/lib/avatar/AvatarCollision/AvatarCollision.js +5 -5
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
- package/lib/avatar/AvatarIcon/AvatarIcon.js +3 -5
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/lib/avatar/AvatarStatus/AvatarStatus.js +9 -6
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
- package/lib/avatar/AvatarStatus/props/defaultProps.js +3 -1
- package/lib/avatar/AvatarStatus/props/propTypes.js +22 -23
- package/lib/avatar/AvatarThread/AvatarThread.js +6 -5
- package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
- package/lib/avatar/AvatarUser/AvatarUser.js +6 -5
- package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +6 -5
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
- package/lib/common/dot_animation.module.css +26 -26
- package/lib/common/dot_common.module.css +3 -3
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +6 -6
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
- package/lib/deprecated/utils/KeyboardApi.js +25 -25
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +6 -5
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +101 -101
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +6 -5
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
- package/lib/emptystate/EditionPage/EditionPage.css +43 -43
- package/lib/emptystate/EditionPage/EditionPage.js +6 -5
- package/lib/errorstate/EmptyStates.module.css +87 -87
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
- package/lib/errorstate/LinkText/LinkText.js +5 -5
- package/lib/errorstate/LinkText/LinkText.module.css +6 -6
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +5 -5
- package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +5 -5
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +5 -5
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
- package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +5 -5
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
- package/lib/errorstate/WillBack/WillBack.js +5 -5
- package/lib/errorstate/WillBack/WillBack.module.css +34 -34
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +7 -6
- package/lib/form/fields/CurrencyField/CurrencyField.js +7 -6
- package/lib/form/fields/DateField/DateField.js +7 -6
- package/lib/form/fields/FieldContainer/FieldContainer.js +7 -6
- package/lib/form/fields/Fields.module.css +183 -183
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +7 -6
- package/lib/form/fields/PhoneField/PhoneField.js +7 -6
- package/lib/form/fields/RadioField/RadioField.js +6 -6
- package/lib/form/fields/SelectField/SelectField.js +7 -6
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +6 -5
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +6 -5
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
- package/lib/form/fields/TextBoxField/TextBoxField.js +7 -6
- package/lib/form/fields/TextEditor/TextEditor.js +7 -7
- package/lib/form/fields/TextEditor/TextEditor.module.css +666 -764
- package/lib/form/fields/TextEditorField/TextEditorField.js +6 -5
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
- package/lib/form/fields/TextareaField/TextareaField.js +7 -6
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +7 -6
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/lib/form/layout/Field/Field.js +6 -5
- 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 +5 -5
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +6 -5
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
- package/lib/layout/SubtabLayout/SubtabLayout.js +6 -5
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +146 -165
- package/lib/list/AvatarFlip/AvatarFlip.js +7 -6
- package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
- package/lib/list/BluePrintStatus/BluePrintStatus.js +6 -5
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
- package/lib/list/Comment/Comment.js +7 -6
- package/lib/list/Comment/Comment.module.css +29 -29
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +7 -8
- package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
- package/lib/list/Dot/Dot.module.css +15 -15
- package/lib/list/DotNew/DotNew.js +7 -6
- package/lib/list/DotNew/DotNew.module.css +22 -25
- package/lib/list/GridStencils/GridStencils.js +7 -6
- package/lib/list/GridStencils/GridStencils.module.css +146 -146
- package/lib/list/Icons/FloatingIcons.js +7 -6
- package/lib/list/Icons/Icons.module.css +16 -16
- package/lib/list/ListLayout/ListLayout.js +7 -6
- package/lib/list/ListLayout/ListLayout.module.css +57 -57
- package/lib/list/ListStencils/ListStencils.js +7 -6
- package/lib/list/ListStencils/ListStencils.module.css +67 -67
- package/lib/list/SecondaryText/AccountName.js +7 -6
- package/lib/list/SecondaryText/ContactName.js +7 -6
- package/lib/list/SecondaryText/DepartmentText.js +7 -6
- package/lib/list/SecondaryText/Email.js +7 -6
- package/lib/list/SecondaryText/HappinessRating.js +7 -6
- package/lib/list/SecondaryText/PhoneNumber.js +7 -6
- package/lib/list/SecondaryText/PriorityText.js +7 -6
- package/lib/list/SecondaryText/SecondaryText.js +7 -6
- package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
- package/lib/list/SecondaryText/StatusText.js +7 -6
- package/lib/list/SecondaryText/TicketId.js +7 -6
- package/lib/list/SecondaryText/Website.js +7 -6
- package/lib/list/SecondryPanel/SecondryPanel.js +7 -6
- package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
- package/lib/list/SentimentStatus/SentimentStatus.js +6 -5
- package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
- package/lib/list/Subject/Subject.js +7 -6
- package/lib/list/Subject/Subject.module.css +27 -27
- package/lib/list/TagNew/TagNew.js +7 -6
- package/lib/list/TagNew/TagNew.module.css +115 -117
- package/lib/list/Thread/Thread.js +7 -6
- package/lib/list/Thread/Thread.module.css +42 -42
- package/lib/list/UserTime/UserTime.js +7 -6
- package/lib/list/UserTime/UserTime.module.css +58 -58
- package/lib/list/listCommon.module.css +60 -60
- package/lib/list/status/StatusDropdown/StatusDropdown.js +5 -6
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
- package/lib/list/status/StatusListItem/StatusListItem.js +7 -6
- package/lib/list/status/StatusListItem/StatusListItem.module.css +104 -104
- package/lib/lookup/EmptyPage/EmptyPage.js +6 -5
- package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
- package/lib/lookup/Lookup/Lookup.js +6 -5
- package/lib/lookup/Lookup/Lookup.module.css +26 -26
- package/lib/lookup/Section/LookupSection.module.css +8 -8
- package/lib/lookup/header/Close/Close.js +6 -5
- package/lib/lookup/header/Close/LookupClose.module.css +15 -15
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +6 -5
- package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
- package/lib/lookup/header/Search/Search.js +6 -5
- package/lib/lookup/header/TicketHeader/TicketHeader.js +6 -5
- 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 +6 -5
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +8 -7
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
- package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
- package/lib/setup/header/Button/Button.js +7 -6
- 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 +7 -6
- package/lib/setup/header/Search/Search.js +7 -6
- package/lib/setup/header/Search/Search.module.css +68 -68
- package/lib/setup/header/Views/Views.js +7 -6
- package/lib/setup/header/Views/Views.module.css +37 -37
- package/lib/setup/helptips/Description/Description.js +7 -6
- 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 +7 -6
- package/lib/setup/helptips/ListGroup/ListGroup.js +7 -6
- 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 +7 -6
- package/lib/setup/table/Table/Table.js +7 -6
- package/lib/setup/table/TableBody/TableBody.js +7 -6
- package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
- package/lib/setup/table/TableData/TableData.js +7 -6
- 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 +7 -6
- package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
- package/lib/setup/table/TableRow/TableRow.js +7 -6
- package/lib/setup/table/Text/TableText.module.css +37 -37
- package/lib/setup/table/Text/Text.js +7 -6
- package/lib/svg/PlusIcon.js +7 -6
- package/lib/svg/SnippetIcon.js +8 -7
- package/lib/svg/TemplateIcon.js +6 -5
- package/lib/version2/AlertClose/AlertClose.js +7 -6
- package/lib/version2/AlertClose/AlertClose.module.css +42 -42
- package/lib/version2/GlobalNotification/GlobalNotification.js +8 -6
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +124 -127
- package/lib/version2/alertIcons/AlertIcons.js +7 -6
- package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +6 -5
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +6 -5
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +6 -5
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +6 -5
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +6 -5
- package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +6 -5
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +7 -6
- package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +7 -6
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
- package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +7 -6
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -127
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +7 -6
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
- package/package.json +104 -104
- package/css_error.log +0 -56
- package/es/common/boxShadow.module.css +0 -77
- package/lib/common/boxShadow.module.css +0 -77
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
/* $Id$ */
|
|
2
|
-
.varClass {
|
|
3
|
-
--textColor: var(--zdt_alphabeticList_text);
|
|
4
|
-
--textHoverColor: var(--zdt_alphabeticList_hover_text);
|
|
5
|
-
}
|
|
6
|
-
.container {
|
|
7
|
-
composes: varClass;
|
|
8
|
-
composes: h100 from '~@zohodesk/components/lib/common/common.module.css';
|
|
9
|
-
list-style: none;
|
|
10
|
-
pointer-events: initial;
|
|
11
|
-
margin: 0;
|
|
12
|
-
padding: 0;
|
|
13
|
-
}
|
|
14
|
-
.column .title {
|
|
15
|
-
margin-bottom: var(--zd_size3);
|
|
16
|
-
}
|
|
17
|
-
[dir=ltr] .row .title {
|
|
18
|
-
margin-right: var(--zd_size3);
|
|
19
|
-
}
|
|
20
|
-
[dir=rtl] .row .title {
|
|
21
|
-
margin-left: var(--zd_size3);
|
|
22
|
-
}
|
|
23
|
-
.row .letter {
|
|
24
|
-
padding: 0 var(--zd_size3);
|
|
25
|
-
}
|
|
26
|
-
.column .letter {
|
|
27
|
-
padding: var(--zd_size3) 0;
|
|
28
|
-
}
|
|
29
|
-
.heading {
|
|
30
|
-
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
31
|
-
max-width: 100%;
|
|
32
|
-
}
|
|
33
|
-
.list {
|
|
34
|
-
font-size: var(--zd_font_size11);
|
|
35
|
-
flex-basis: var(--zd_size12);
|
|
36
|
-
color: var(--textColor);
|
|
37
|
-
text-align: center;
|
|
38
|
-
cursor: pointer;
|
|
39
|
-
}
|
|
40
|
-
.title {
|
|
41
|
-
flex-basis: var(--zd_size15);
|
|
42
|
-
}
|
|
43
|
-
.letter {
|
|
44
|
-
text-transform: uppercase;
|
|
45
|
-
display: inline-block;
|
|
46
|
-
}
|
|
47
|
-
.numbers .list {
|
|
48
|
-
max-height: var(--zd_size35);
|
|
49
|
-
}
|
|
50
|
-
.list :hover,
|
|
51
|
-
.selected {
|
|
52
|
-
color: var(--textHoverColor);
|
|
53
|
-
}
|
|
54
|
-
.title {
|
|
55
|
-
font-size: var(--zd_font_size11);
|
|
56
|
-
font-family: var(--zd_semibold);
|
|
57
|
-
}
|
|
1
|
+
/* $Id$ */
|
|
2
|
+
.varClass {
|
|
3
|
+
--textColor: var(--zdt_alphabeticList_text);
|
|
4
|
+
--textHoverColor: var(--zdt_alphabeticList_hover_text);
|
|
5
|
+
}
|
|
6
|
+
.container {
|
|
7
|
+
composes: varClass;
|
|
8
|
+
composes: h100 from '~@zohodesk/components/lib/common/common.module.css';
|
|
9
|
+
list-style: none;
|
|
10
|
+
pointer-events: initial;
|
|
11
|
+
margin: 0;
|
|
12
|
+
padding: 0;
|
|
13
|
+
}
|
|
14
|
+
.column .title {
|
|
15
|
+
margin-bottom: var(--zd_size3);
|
|
16
|
+
}
|
|
17
|
+
[dir=ltr] .row .title {
|
|
18
|
+
margin-right: var(--zd_size3);
|
|
19
|
+
}
|
|
20
|
+
[dir=rtl] .row .title {
|
|
21
|
+
margin-left: var(--zd_size3);
|
|
22
|
+
}
|
|
23
|
+
.row .letter {
|
|
24
|
+
padding: 0 var(--zd_size3);
|
|
25
|
+
}
|
|
26
|
+
.column .letter {
|
|
27
|
+
padding: var(--zd_size3) 0;
|
|
28
|
+
}
|
|
29
|
+
.heading {
|
|
30
|
+
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
31
|
+
max-width: 100%;
|
|
32
|
+
}
|
|
33
|
+
.list {
|
|
34
|
+
font-size: var(--zd_font_size11);
|
|
35
|
+
flex-basis: var(--zd_size12);
|
|
36
|
+
color: var(--textColor);
|
|
37
|
+
text-align: center;
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
}
|
|
40
|
+
.title {
|
|
41
|
+
flex-basis: var(--zd_size15);
|
|
42
|
+
}
|
|
43
|
+
.letter {
|
|
44
|
+
text-transform: uppercase;
|
|
45
|
+
display: inline-block;
|
|
46
|
+
}
|
|
47
|
+
.numbers .list {
|
|
48
|
+
max-height: var(--zd_size35);
|
|
49
|
+
}
|
|
50
|
+
.list :hover,
|
|
51
|
+
.selected {
|
|
52
|
+
color: var(--textHoverColor);
|
|
53
|
+
}
|
|
54
|
+
.title {
|
|
55
|
+
font-size: var(--zd_font_size11);
|
|
56
|
+
font-family: var(--zd_semibold);
|
|
57
|
+
}
|
|
@@ -78,8 +78,9 @@ export default class Attachment extends React.Component {
|
|
|
78
78
|
}
|
|
79
79
|
Attachment.propTypes = propTypes;
|
|
80
80
|
Attachment.defaultProps = defaultProps;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
}
|
|
81
|
+
|
|
82
|
+
// if (__DOCS__) {
|
|
83
|
+
// Attachment.docs = {
|
|
84
|
+
// componentGroup: 'Attachment'
|
|
85
|
+
// };
|
|
86
|
+
// }
|
|
@@ -1,158 +1,158 @@
|
|
|
1
|
-
.attachment {
|
|
2
|
-
position: relative;
|
|
3
|
-
overflow: hidden;
|
|
4
|
-
color: var(--zdt_attachment_default_text);
|
|
5
|
-
border: 1px solid var(--zdt_attachment_default_border);
|
|
6
|
-
border-radius: 2px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.attachmentHover {
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.palette_default {
|
|
14
|
-
background-color: var(--zdt_attachment_default_bg);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.palette_transparent {
|
|
18
|
-
background-color: var(--zdt_attachment_transparent_bg);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.attachmentHover:hover, .attachmentHover:hover .attachleft {
|
|
22
|
-
border-color: var(--zdt_attachment_default_hover_border);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.attachmentHover:hover .attachleft i {
|
|
26
|
-
color: var(--zdt_attachment_hover_text);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.attachment:hover .attachDownload {
|
|
30
|
-
display: block;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.attachmentHover:hover .attachSize {
|
|
34
|
-
color: var(--zdt_attachment_hover_text);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.medium {
|
|
38
|
-
width: var(--zd_size210);
|
|
39
|
-
height: var(--zd_size60);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.small {
|
|
43
|
-
width: var(--zd_size145);
|
|
44
|
-
height: var(--zd_size40);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
[dir=ltr] .attachleft {
|
|
48
|
-
border-right: 1px solid var(--zdt_attachment_default_border);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
[dir=rtl] .attachleft {
|
|
52
|
-
border-left: 1px solid var(--zdt_attachment_default_border);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.medium .attachleft {
|
|
56
|
-
width: var(--zd_size50);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.small .attachleft {
|
|
60
|
-
width: var(--zd_size40);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
[dir=ltr] .medium .attachright {
|
|
64
|
-
padding: var(--zd_size5) var(--zd_size25) var(--zd_size5) var(--zd_size10);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
[dir=rtl] .medium .attachright {
|
|
68
|
-
padding: var(--zd_size5) var(--zd_size10) var(--zd_size5) var(--zd_size25);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.small .attachright {
|
|
72
|
-
padding: 0 var(--zd_size10) 0 var(--zd_size10);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.footer {
|
|
76
|
-
font-size: 0;
|
|
77
|
-
margin-top: var(--zd_size3);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.medium .atatchName {
|
|
81
|
-
font-size: var(--zd_font_size14);
|
|
82
|
-
line-height: var(--zd_size20);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.small .atatchName {
|
|
86
|
-
font-size: var(--zd_font_size12);
|
|
87
|
-
line-height: var(--zd_size15);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.attachSize {
|
|
91
|
-
color: var(--zdt_attachment_size_text);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.atatchName,
|
|
95
|
-
.attachSize {
|
|
96
|
-
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.medium .attachSize {
|
|
100
|
-
font-size: var(--zd_font_size11);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.small .attachSize {
|
|
104
|
-
font-size: var(--zd_font_size10);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.attachDownload {
|
|
108
|
-
position: absolute;
|
|
109
|
-
top: calc(var(--zd_size1) * -1);
|
|
110
|
-
display: none;
|
|
111
|
-
background-color: var(--zdt_attachment_download_bg);
|
|
112
|
-
text-align: center;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
[dir=ltr] .attachDownload {
|
|
116
|
-
right: calc(var(--zd_size1) * -1);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
[dir=rtl] .attachDownload {
|
|
120
|
-
left: calc(var(--zd_size1) * -1);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.medium .attachDownload {
|
|
124
|
-
height: var(--zd_size25);
|
|
125
|
-
width: var(--zd_size25);
|
|
126
|
-
line-height: var(--zd_size23);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.small .attachDownload {
|
|
130
|
-
height: var(--zd_size20);
|
|
131
|
-
width: var(--zd_size20);
|
|
132
|
-
line-height: var(--zd_size18);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.attachDownload:hover {
|
|
136
|
-
background-color: var(--zdt_attachment_download_hover_bg);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.attachIcon {
|
|
140
|
-
font-size: var(--zd_font_size20);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.downIcon {
|
|
144
|
-
font-size: var(--zd_font_size14);
|
|
145
|
-
color: var(--zdt_attachment_size_text);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.attachDownload:hover .downIcon {
|
|
149
|
-
color: var(--zdt_attachment_download_hover_text);
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.dot {
|
|
153
|
-
height: 2px;
|
|
154
|
-
width: 2px;
|
|
155
|
-
background-color: var(--zdt_dot_text);
|
|
156
|
-
border-radius: 50%;
|
|
157
|
-
margin: 0 var(--zd_size6);
|
|
1
|
+
.attachment {
|
|
2
|
+
position: relative;
|
|
3
|
+
overflow: hidden;
|
|
4
|
+
color: var(--zdt_attachment_default_text);
|
|
5
|
+
border: 1px solid var(--zdt_attachment_default_border);
|
|
6
|
+
border-radius: 2px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.attachmentHover {
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.palette_default {
|
|
14
|
+
background-color: var(--zdt_attachment_default_bg);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.palette_transparent {
|
|
18
|
+
background-color: var(--zdt_attachment_transparent_bg);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.attachmentHover:hover, .attachmentHover:hover .attachleft {
|
|
22
|
+
border-color: var(--zdt_attachment_default_hover_border);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.attachmentHover:hover .attachleft i {
|
|
26
|
+
color: var(--zdt_attachment_hover_text);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.attachment:hover .attachDownload {
|
|
30
|
+
display: block;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.attachmentHover:hover .attachSize {
|
|
34
|
+
color: var(--zdt_attachment_hover_text);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.medium {
|
|
38
|
+
width: var(--zd_size210);
|
|
39
|
+
height: var(--zd_size60);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.small {
|
|
43
|
+
width: var(--zd_size145);
|
|
44
|
+
height: var(--zd_size40);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[dir=ltr] .attachleft {
|
|
48
|
+
border-right: 1px solid var(--zdt_attachment_default_border);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
[dir=rtl] .attachleft {
|
|
52
|
+
border-left: 1px solid var(--zdt_attachment_default_border);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.medium .attachleft {
|
|
56
|
+
width: var(--zd_size50);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.small .attachleft {
|
|
60
|
+
width: var(--zd_size40);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
[dir=ltr] .medium .attachright {
|
|
64
|
+
padding: var(--zd_size5) var(--zd_size25) var(--zd_size5) var(--zd_size10);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
[dir=rtl] .medium .attachright {
|
|
68
|
+
padding: var(--zd_size5) var(--zd_size10) var(--zd_size5) var(--zd_size25);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.small .attachright {
|
|
72
|
+
padding: 0 var(--zd_size10) 0 var(--zd_size10);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.footer {
|
|
76
|
+
font-size: 0;
|
|
77
|
+
margin-top: var(--zd_size3);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.medium .atatchName {
|
|
81
|
+
font-size: var(--zd_font_size14);
|
|
82
|
+
line-height: var(--zd_size20);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.small .atatchName {
|
|
86
|
+
font-size: var(--zd_font_size12);
|
|
87
|
+
line-height: var(--zd_size15);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.attachSize {
|
|
91
|
+
color: var(--zdt_attachment_size_text);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.atatchName,
|
|
95
|
+
.attachSize {
|
|
96
|
+
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.medium .attachSize {
|
|
100
|
+
font-size: var(--zd_font_size11);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.small .attachSize {
|
|
104
|
+
font-size: var(--zd_font_size10);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.attachDownload {
|
|
108
|
+
position: absolute;
|
|
109
|
+
top: calc(var(--zd_size1) * -1);
|
|
110
|
+
display: none;
|
|
111
|
+
background-color: var(--zdt_attachment_download_bg);
|
|
112
|
+
text-align: center;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
[dir=ltr] .attachDownload {
|
|
116
|
+
right: calc(var(--zd_size1) * -1);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
[dir=rtl] .attachDownload {
|
|
120
|
+
left: calc(var(--zd_size1) * -1);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.medium .attachDownload {
|
|
124
|
+
height: var(--zd_size25);
|
|
125
|
+
width: var(--zd_size25);
|
|
126
|
+
line-height: var(--zd_size23);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.small .attachDownload {
|
|
130
|
+
height: var(--zd_size20);
|
|
131
|
+
width: var(--zd_size20);
|
|
132
|
+
line-height: var(--zd_size18);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.attachDownload:hover {
|
|
136
|
+
background-color: var(--zdt_attachment_download_hover_bg);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.attachIcon {
|
|
140
|
+
font-size: var(--zd_font_size20);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.downIcon {
|
|
144
|
+
font-size: var(--zd_font_size14);
|
|
145
|
+
color: var(--zdt_attachment_size_text);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.attachDownload:hover .downIcon {
|
|
149
|
+
color: var(--zdt_attachment_download_hover_text);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.dot {
|
|
153
|
+
height: 2px;
|
|
154
|
+
width: 2px;
|
|
155
|
+
background-color: var(--zdt_dot_text);
|
|
156
|
+
border-radius: 50%;
|
|
157
|
+
margin: 0 var(--zd_size6);
|
|
158
158
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import React, { Component } from
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
2
|
import { AttachmentViewer_defaultProps } from './props/defaultProps';
|
|
3
3
|
import { AttachmentViewer_propTypes } from './props/propTypes';
|
|
4
|
-
import { Container, Box } from
|
|
5
|
-
import Icon from
|
|
6
|
-
import Avatar from
|
|
7
|
-
import { ResponsiveReceiver } from
|
|
8
|
-
import { getUniqueId } from
|
|
9
|
-
import AttachmentImage from
|
|
10
|
-
import Link from
|
|
11
|
-
import IconButton from
|
|
12
|
-
import FreezeLayer from
|
|
13
|
-
import { isAudioFile, getExtensionFromFileName } from
|
|
4
|
+
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
5
|
+
import Icon from '@zohodesk/icons/lib/Icon';
|
|
6
|
+
import Avatar from '@zohodesk/components/lib/Avatar/Avatar';
|
|
7
|
+
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
8
|
+
import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
|
|
9
|
+
import AttachmentImage from './AttachmentImage';
|
|
10
|
+
import Link from '../Link/Link';
|
|
11
|
+
import IconButton from '../IconButton/IconButton';
|
|
12
|
+
import FreezeLayer from '../FreezeLayer/FreezeLayer';
|
|
13
|
+
import { isAudioFile, getExtensionFromFileName } from './Attachment';
|
|
14
14
|
import { shallowDiff } from '../utils/General';
|
|
15
|
-
import style from
|
|
15
|
+
import style from './AttachmentViewer.module.css';
|
|
16
16
|
export default class AttachmentViewer extends Component {
|
|
17
17
|
constructor(props) {
|
|
18
18
|
super(props);
|
|
@@ -204,19 +204,19 @@ export default class AttachmentViewer extends Component {
|
|
|
204
204
|
position = (i - selectedIndex) * 100;
|
|
205
205
|
return {
|
|
206
206
|
transform: `translateX(${parseInt(position)}%)`,
|
|
207
|
-
opacity:
|
|
207
|
+
opacity: '0'
|
|
208
208
|
};
|
|
209
209
|
}
|
|
210
210
|
if (i === selectedIndex) {
|
|
211
211
|
return {
|
|
212
|
-
transform:
|
|
213
|
-
opacity:
|
|
212
|
+
transform: 'translateX(0%)',
|
|
213
|
+
opacity: '1'
|
|
214
214
|
};
|
|
215
215
|
}
|
|
216
216
|
position = (selectedIndex - i) * 100 * -1;
|
|
217
217
|
return {
|
|
218
218
|
transform: `translateX(${parseInt(position)}%)`,
|
|
219
|
-
opacity:
|
|
219
|
+
opacity: '0'
|
|
220
220
|
};
|
|
221
221
|
};
|
|
222
222
|
return dataList.length && dataList.map(function () {
|
|
@@ -241,7 +241,7 @@ export default class AttachmentViewer extends Component {
|
|
|
241
241
|
src: data.viewUrl,
|
|
242
242
|
type: `audio/${getExtensionFromFileName(data.name)}`
|
|
243
243
|
})) : null : /*#__PURE__*/React.createElement(AttachmentImage, {
|
|
244
|
-
className: `${style.img} ${selectedIndex == i && maintainZoom ? isZoomed ? style.zoomedImg : style.normalImg :
|
|
244
|
+
className: `${style.img} ${selectedIndex == i && maintainZoom ? isZoomed ? style.zoomedImg : style.normalImg : ''}`,
|
|
245
245
|
src: selectedImgUrl,
|
|
246
246
|
onClick: isZoomed ? _this.zoomOut.bind(_this, i) : e => {
|
|
247
247
|
_this.zoomIn(e, i, true);
|
|
@@ -314,8 +314,8 @@ export default class AttachmentViewer extends Component {
|
|
|
314
314
|
className: uptoTablet ? style.mbleMenuBar : style.menuBar
|
|
315
315
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
316
316
|
isInline: true,
|
|
317
|
-
alignBox: uptoTablet ?
|
|
318
|
-
align: uptoTablet ?
|
|
317
|
+
alignBox: uptoTablet ? 'column-reverse' : 'row',
|
|
318
|
+
align: uptoTablet ? 'bottom' : 'center',
|
|
319
319
|
wrap: "wrap",
|
|
320
320
|
isCover: false
|
|
321
321
|
}, isZoomed ? /*#__PURE__*/React.createElement("div", {
|
|
@@ -398,7 +398,7 @@ export default class AttachmentViewer extends Component {
|
|
|
398
398
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
399
399
|
alignBox: "row"
|
|
400
400
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
401
|
-
className: `${style.arrowBox} ${uptoTablet ? style.mbleArrowBox : style.nrmlArrowBox} ${selectedIndex === 0 ? style.hidden :
|
|
401
|
+
className: `${style.arrowBox} ${uptoTablet ? style.mbleArrowBox : style.nrmlArrowBox} ${selectedIndex === 0 ? style.hidden : ''}`,
|
|
402
402
|
onClick: this.changeSelectedIndex.bind(this, selectedIndex - 1),
|
|
403
403
|
"data-title": i18nKeys.previousText,
|
|
404
404
|
"data-title-position": "left"
|
|
@@ -420,7 +420,7 @@ export default class AttachmentViewer extends Component {
|
|
|
420
420
|
scroll: "both",
|
|
421
421
|
flexible: true
|
|
422
422
|
}, this.imgPreviewView()), /*#__PURE__*/React.createElement(Box, {
|
|
423
|
-
className: `${style.arrowBox} ${uptoTablet ? style.mbleArrowBox : style.nrmlArrowBox} ${totalLen === selectedIndex + 1 ? style.hidden :
|
|
423
|
+
className: `${style.arrowBox} ${uptoTablet ? style.mbleArrowBox : style.nrmlArrowBox} ${totalLen === selectedIndex + 1 ? style.hidden : ''}`,
|
|
424
424
|
onClick: this.changeSelectedIndex.bind(this, selectedIndex + 1),
|
|
425
425
|
"data-title": i18nKeys.nextText,
|
|
426
426
|
"data-title-position": "right"
|
|
@@ -467,7 +467,7 @@ export default class AttachmentViewer extends Component {
|
|
|
467
467
|
} = item;
|
|
468
468
|
const isAudio = isAudioFile(name);
|
|
469
469
|
return /*#__PURE__*/React.createElement(Box, {
|
|
470
|
-
className: `${style.imgItem} ${index === selectedIndex ? style.selected :
|
|
470
|
+
className: `${style.imgItem} ${index === selectedIndex ? style.selected : ''} ${isAudio ? style.isAudio : ''}`,
|
|
471
471
|
key: index,
|
|
472
472
|
onClick: this.changeSelectedIndex.bind(this, index),
|
|
473
473
|
eleRef: el => this[`img_${index}`] = el,
|
|
@@ -487,7 +487,7 @@ export default class AttachmentViewer extends Component {
|
|
|
487
487
|
iconName: "ZD-GN-hideTab",
|
|
488
488
|
iconSize: "14",
|
|
489
489
|
hoverType: "border",
|
|
490
|
-
iconClass: `${style.thumpIcon} ${isPViewListOpen ? style.thumpIconActive :
|
|
490
|
+
iconClass: `${style.thumpIcon} ${isPViewListOpen ? style.thumpIconActive : ''}`,
|
|
491
491
|
className: style.button,
|
|
492
492
|
a11y: {
|
|
493
493
|
ariaLabel: i18nKeys.hideText
|
|
@@ -499,8 +499,9 @@ export default class AttachmentViewer extends Component {
|
|
|
499
499
|
}
|
|
500
500
|
AttachmentViewer.propTypes = AttachmentViewer_propTypes;
|
|
501
501
|
AttachmentViewer.defaultProps = AttachmentViewer_defaultProps;
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
}
|
|
502
|
+
|
|
503
|
+
// if (__DOCS__) {
|
|
504
|
+
// AttachmentViewer.docs = {
|
|
505
|
+
// componentGroup: "Molecule"
|
|
506
|
+
// };
|
|
507
|
+
// }
|