@zohodesk/dot 1.0.0-beta.209 → 1.0.0-beta.211
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 +4 -0
- package/package.json +1 -1
- package/assets/Appearance/dark/mode/dotDarkMode.module.css +0 -521
- package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +0 -10
- package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +0 -10
- package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +0 -10
- package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +0 -10
- package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +0 -10
- package/assets/Appearance/default/mode/dotDefaultMode.module.css +0 -521
- package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +0 -10
- package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +0 -10
- package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +0 -10
- package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +0 -10
- package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +0 -10
- package/es/ActionButton/ActionButton.js +0 -169
- package/es/ActionButton/ActionButton.module.css +0 -137
- package/es/AlphabeticList/AlphabeticList.js +0 -138
- package/es/AlphabeticList/AlphabeticList.module.css +0 -57
- package/es/Attachment/Attachment.js +0 -104
- package/es/Attachment/Attachment.module.css +0 -132
- package/es/ChannelIcon/ChannelIcon.js +0 -126
- package/es/ChannelIcon/ChannelIcon.module.css +0 -217
- package/es/Drawer/Drawer.js +0 -314
- package/es/Drawer/Drawer.module.css +0 -151
- package/es/ExternalLink/ExternalLink.js +0 -66
- package/es/ExternalLink/ExternalLink.module.css +0 -4
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -27
- package/es/FlipCard/FlipCard.js +0 -183
- package/es/FlipCard/FlipCard.module.css +0 -44
- package/es/FormAction/FormAction.js +0 -83
- package/es/FormAction/FormAction.module.css +0 -82
- package/es/FreezeLayer/FreezeLayer.js +0 -136
- package/es/FreezeLayer/FreezeLayer.module.css +0 -42
- package/es/IconButton/IconButton.js +0 -188
- package/es/IconButton/IconButton.module.css +0 -22
- package/es/Image/Image.js +0 -53
- package/es/Image/Image.module.css +0 -11
- package/es/ImportantNotes/ImportantNotes.js +0 -60
- package/es/ImportantNotes/ImportantNotes.module.css +0 -20
- package/es/Link/Link.js +0 -118
- package/es/Link/Link.module.css +0 -4
- package/es/Link/LinkContext.js +0 -9
- package/es/Loader/Loader.js +0 -27
- package/es/Loader/Loader.module.css +0 -46
- package/es/Message/Message.js +0 -124
- package/es/Message/Message.module.css +0 -103
- package/es/MessageBanner/MessageBanner.js +0 -75
- package/es/MessageBanner/MessageBanner.module.css +0 -46
- package/es/NewStar/NewStar.js +0 -75
- package/es/NewStar/NewStar.module.css +0 -110
- package/es/PlusIcon/PlusIcon.js +0 -60
- package/es/PlusIcon/PlusIcon.module.css +0 -16
- package/es/Provider.js +0 -205
- package/es/ToastMessage/ToastMessage.js +0 -257
- package/es/ToastMessage/ToastMessage.module.css +0 -328
- package/es/Upload/Upload.js +0 -92
- package/es/Upload/Upload.module.css +0 -125
- package/es/actions/AutoClose.js +0 -54
- package/es/actions/index.js +0 -28
- package/es/alert/AlertHeader/AlertHeader.js +0 -94
- package/es/alert/AlertHeader/AlertHeader.module.css +0 -81
- package/es/alert/AlertLookup/AlertLookup.js +0 -196
- package/es/alert/AlertLookup/AlertLookup.module.css +0 -27
- package/es/avatar/AvatarClose/AvatarClose.js +0 -67
- package/es/avatar/AvatarClose/AvatarClose.module.css +0 -37
- package/es/avatar/AvatarCollision/AvatarCollision.js +0 -80
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +0 -69
- package/es/avatar/AvatarIcon/AvatarIcon.js +0 -84
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +0 -58
- package/es/avatar/AvatarStatus/AvatarStatus.js +0 -95
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +0 -146
- package/es/avatar/AvatarThread/AvatarThread.js +0 -111
- package/es/avatar/AvatarThread/AvatarThread.module.css +0 -163
- package/es/avatar/AvatarUser/AvatarUser.js +0 -148
- package/es/avatar/AvatarUser/AvatarUser.module.css +0 -171
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +0 -121
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +0 -23
- package/es/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +0 -47
- package/es/deprecated/SelectDropdown/SelectDropdown.js +0 -129
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +0 -55
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +0 -912
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +0 -97
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -94
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -85
- package/es/emptystate/EditionPage/EditionPage.css +0 -43
- package/es/emptystate/EditionPage/EditionPage.js +0 -65
- package/es/errorstate/EmptyStates.module.css +0 -88
- package/es/errorstate/Inconvenience/Inconvenience.js +0 -97
- package/es/errorstate/Inconvenience/Inconvenience.module.css +0 -7
- package/es/errorstate/LinkText/LinkText.js +0 -39
- package/es/errorstate/LinkText/LinkText.module.css +0 -6
- package/es/errorstate/NoRequestFound/NoRequestFound.js +0 -97
- package/es/errorstate/NoRequestFound/NoRequestFound.module.css +0 -3
- package/es/errorstate/PermissionPlay/PermissionPlay.js +0 -96
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +0 -34
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -97
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -3
- package/es/errorstate/UnableToProcess/UnableToProcess.js +0 -97
- package/es/errorstate/UnableToProcess/UnableToProcess.module.css +0 -3
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -97
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -3
- package/es/errorstate/WillBack/WillBack.js +0 -82
- package/es/errorstate/WillBack/WillBack.module.css +0 -34
- package/es/form/fields/CheckBoxField/CheckBoxField.js +0 -189
- package/es/form/fields/CurrencyField/CurrencyField.js +0 -244
- package/es/form/fields/DateField/DateField.js +0 -256
- package/es/form/fields/Fields.module.css +0 -183
- package/es/form/fields/MultiSelectField/MultiSelectField.js +0 -287
- package/es/form/fields/PhoneField/PhoneField.js +0 -240
- package/es/form/fields/RadioField/RadioField.js +0 -153
- package/es/form/fields/SelectField/SelectField.js +0 -254
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +0 -297
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +0 -107
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +0 -320
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +0 -9
- package/es/form/fields/TextBoxField/TextBoxField.js +0 -234
- package/es/form/fields/TextEditor/TextEditor.js +0 -455
- package/es/form/fields/TextEditor/TextEditor.module.css +0 -654
- package/es/form/fields/TextEditorField/TextEditorField.js +0 -254
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +0 -244
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +0 -37
- package/es/form/fields/TextareaField/TextareaField.js +0 -215
- package/es/form/fields/ValidationMessage/ValidationMessage.js +0 -73
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +0 -27
- package/es/form/layout/Field/Field.js +0 -44
- package/es/form/layout/Field/Field.module.css +0 -22
- package/es/form/layout/Section/ModuleFormSection.module.css +0 -3
- package/es/form/layout/Section/Section.js +0 -44
- package/es/i18n.js +0 -4349
- package/es/index.js +0 -8
- package/es/layout/SetupDetailLayout/SetupDetailLayout.js +0 -243
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +0 -152
- package/es/layout/SetupDetailLayout/index.js +0 -4
- package/es/layout/SubtabLayout/SubtabLayout.js +0 -201
- package/es/layout/SubtabLayout/SubtabLayout.module.css +0 -146
- package/es/layout/SubtabLayout/index.js +0 -4
- package/es/list/AvatarFlip/AvatarFlip.js +0 -105
- package/es/list/AvatarFlip/AvatarFlip.module.css +0 -3
- package/es/list/BluePrintStatus/BluePrintStatus.js +0 -32
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +0 -17
- package/es/list/Comment/Comment.js +0 -52
- package/es/list/Comment/Comment.module.css +0 -29
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +0 -129
- package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +0 -9
- package/es/list/Dot/Dot.js +0 -27
- package/es/list/Dot/Dot.module.css +0 -15
- package/es/list/DotNew/DotNew.js +0 -36
- package/es/list/DotNew/DotNew.module.css +0 -22
- package/es/list/GridStencils/GridStencils.js +0 -41
- package/es/list/GridStencils/GridStencils.module.css +0 -156
- package/es/list/Icons/AddNewIcon.js +0 -32
- package/es/list/Icons/CompleteIcon.js +0 -35
- package/es/list/Icons/DeleteIcon.js +0 -35
- package/es/list/Icons/EditIcon.js +0 -35
- package/es/list/Icons/FloatingIcons.js +0 -36
- package/es/list/Icons/Icons.module.css +0 -16
- package/es/list/Icons/ReadUnreadIcon.js +0 -42
- package/es/list/Icons/SmartIcon.js +0 -34
- package/es/list/ListLayout/ListLayout.js +0 -117
- package/es/list/ListLayout/ListLayout.module.css +0 -58
- package/es/list/ListStencils/ListStencils.js +0 -52
- package/es/list/ListStencils/ListStencils.module.css +0 -67
- package/es/list/SecondaryText/AccountName.js +0 -109
- package/es/list/SecondaryText/ContactName.js +0 -117
- package/es/list/SecondaryText/DepartmentText.js +0 -37
- package/es/list/SecondaryText/Email.js +0 -74
- package/es/list/SecondaryText/HappinessRating.js +0 -38
- package/es/list/SecondaryText/PhoneNumber.js +0 -81
- package/es/list/SecondaryText/PriorityText.js +0 -42
- package/es/list/SecondaryText/SecondaryText.js +0 -51
- package/es/list/SecondaryText/SecondaryText.module.css +0 -136
- package/es/list/SecondaryText/StatusText.js +0 -45
- package/es/list/SecondaryText/TicketId.js +0 -71
- package/es/list/SecondaryText/Website.js +0 -54
- package/es/list/SecondaryText/index.js +0 -11
- package/es/list/SecondryPanel/SecondryPanel.js +0 -142
- package/es/list/SecondryPanel/SecondryPanel.module.css +0 -6
- package/es/list/SentimentStatus/SentimentStatus.js +0 -39
- package/es/list/SentimentStatus/SentimentStatus.module.css +0 -12
- package/es/list/Subject/Subject.js +0 -80
- package/es/list/Subject/Subject.module.css +0 -27
- package/es/list/TagNew/TagNew.js +0 -42
- package/es/list/TagNew/TagNew.module.css +0 -115
- package/es/list/Thread/Thread.js +0 -50
- package/es/list/Thread/Thread.module.css +0 -43
- package/es/list/UserTime/UserTime.js +0 -95
- package/es/list/UserTime/UserTime.module.css +0 -58
- package/es/list/listCommon.module.css +0 -60
- package/es/list/status/StatusDropdown/StatusDropdown.js +0 -488
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +0 -89
- package/es/list/status/StatusListItem/StatusListItem.js +0 -161
- package/es/list/status/StatusListItem/StatusListItem.module.css +0 -104
- package/es/lookup/EmptyPage/EmptyPage.js +0 -71
- package/es/lookup/EmptyPage/LookupEmptyPage.module.css +0 -12
- package/es/lookup/Lookup/Lookup.js +0 -112
- package/es/lookup/Lookup/Lookup.module.css +0 -26
- package/es/lookup/Section/LookupSection.module.css +0 -8
- package/es/lookup/Section/Section.js +0 -29
- package/es/lookup/header/Close/Close.js +0 -37
- package/es/lookup/header/Close/LookupClose.module.css +0 -15
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +0 -89
- package/es/lookup/header/Search/LookupSearch.module.css +0 -57
- package/es/lookup/header/Search/Search.js +0 -260
- package/es/lookup/header/TicketHeader/TicketHeader.js +0 -116
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +0 -23
- package/es/lookup/header/Title/LookupTitle.module.css +0 -20
- package/es/lookup/header/Title/Title.js +0 -34
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +0 -183
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +0 -50
- package/es/lookup/header/lookupHeaderCommon.module.css +0 -35
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +0 -24
- package/es/setup/header/Button/Button.js +0 -45
- package/es/setup/header/Button/HeaderButton.module.css +0 -5
- package/es/setup/header/Link/HeaderLink.module.css +0 -21
- package/es/setup/header/Link/Link.js +0 -54
- package/es/setup/header/Search/Search.js +0 -95
- package/es/setup/header/Search/Search.module.css +0 -68
- package/es/setup/header/Views/Views.js +0 -59
- package/es/setup/header/Views/Views.module.css +0 -37
- package/es/setup/helptips/Description/Description.js +0 -28
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +0 -6
- package/es/setup/helptips/Link/HelpTipsLink.module.css +0 -7
- package/es/setup/helptips/Link/Link.js +0 -48
- package/es/setup/helptips/ListGroup/ListGroup.js +0 -44
- package/es/setup/helptips/ListGroup/ListGroup.module.css +0 -22
- package/es/setup/helptips/Title/HelpTipsTitle.module.css +0 -5
- package/es/setup/helptips/Title/Title.js +0 -28
- package/es/setup/table/Table/Table.js +0 -33
- package/es/setup/table/TableBody/TableBody.js +0 -37
- package/es/setup/table/TableData/SetupTableData.module.css +0 -44
- package/es/setup/table/TableData/TableData.js +0 -49
- package/es/setup/table/TableData/Tablehover.module.css +0 -6
- package/es/setup/table/TableHead/SetupTableHead.module.css +0 -12
- package/es/setup/table/TableHead/TableHead.js +0 -47
- package/es/setup/table/TableRow/SetupTableRow.module.css +0 -14
- package/es/setup/table/TableRow/TableRow.js +0 -56
- package/es/setup/table/Text/TableText.module.css +0 -37
- package/es/setup/table/Text/Text.js +0 -70
- package/es/svg/PlusIcon.js +0 -41
- package/es/svg/SnippetIcon.js +0 -43
- package/es/svg/TemplateIcon.js +0 -44
- package/es/utils/ChannelIconMapping.js +0 -129
- package/es/utils/Common.js +0 -24
- package/es/utils/General.js +0 -64
- package/es/utils/KeyboardApi.js +0 -294
- package/es/utils/editorUtils.js +0 -193
- package/es/version2/AlertClose/AlertClose.js +0 -47
- package/es/version2/AlertClose/AlertClose.module.css +0 -43
- package/es/version2/GlobalNotification/GlobalNotification.js +0 -149
- package/es/version2/GlobalNotification/GlobalNotification.module.css +0 -125
- package/es/version2/alertIcons/AlarmAlertIcon.js +0 -72
- package/es/version2/alertIcons/AlertIcons.js +0 -65
- package/es/version2/alertIcons/AlertIcons.module.css +0 -67
- package/es/version2/alertIcons/DangerAlertIcon.js +0 -73
- package/es/version2/alertIcons/ErrorAlertIcon.js +0 -77
- package/es/version2/alertIcons/InfoAlertIcon.js +0 -81
- package/es/version2/alertIcons/NotificationAlertIcon.js +0 -77
- package/es/version2/alertIcons/SuccessAlertIcon.js +0 -72
- package/es/version2/alertIcons/WarningAlertIcon.js +0 -72
- package/es/version2/errorstate/Inconvenience/Inconvenience.js +0 -93
- package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +0 -94
- package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +0 -93
- package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -97
- package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +0 -93
- package/es/version2/errorstate/V2_ErrorStates.module.css +0 -46
- package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +0 -93
- package/es/version2/lookup/AlertHeader/AlertHeader.js +0 -78
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +0 -87
- package/es/version2/lookup/AlertLookup/AlertLookup.js +0 -254
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +0 -44
- package/es/version2/lookup/alertLookupCommonNew.module.css +0 -33
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +0 -209
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +0 -106
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +0 -75
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +0 -137
- package/lib/ActionButton/ActionButton.js +0 -226
- package/lib/ActionButton/ActionButton.module.css +0 -137
- package/lib/AlphabeticList/AlphabeticList.js +0 -213
- package/lib/AlphabeticList/AlphabeticList.module.css +0 -57
- package/lib/Attachment/Attachment.js +0 -155
- package/lib/Attachment/Attachment.module.css +0 -132
- package/lib/ChannelIcon/ChannelIcon.js +0 -179
- package/lib/ChannelIcon/ChannelIcon.module.css +0 -217
- package/lib/Drawer/Drawer.js +0 -420
- package/lib/Drawer/Drawer.module.css +0 -151
- package/lib/ExternalLink/ExternalLink.js +0 -113
- package/lib/ExternalLink/ExternalLink.module.css +0 -4
- package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -37
- package/lib/FlipCard/FlipCard.js +0 -240
- package/lib/FlipCard/FlipCard.module.css +0 -44
- package/lib/FormAction/FormAction.js +0 -146
- package/lib/FormAction/FormAction.module.css +0 -82
- package/lib/FreezeLayer/FreezeLayer.js +0 -189
- package/lib/FreezeLayer/FreezeLayer.module.css +0 -42
- package/lib/IconButton/IconButton.js +0 -236
- package/lib/IconButton/IconButton.module.css +0 -22
- package/lib/Image/Image.js +0 -102
- package/lib/Image/Image.module.css +0 -11
- package/lib/ImportantNotes/ImportantNotes.js +0 -107
- package/lib/ImportantNotes/ImportantNotes.module.css +0 -20
- package/lib/Link/Link.js +0 -169
- package/lib/Link/Link.module.css +0 -4
- package/lib/Link/LinkContext.js +0 -23
- package/lib/Loader/Loader.js +0 -76
- package/lib/Loader/Loader.module.css +0 -46
- package/lib/Message/Message.js +0 -173
- package/lib/Message/Message.module.css +0 -103
- package/lib/MessageBanner/MessageBanner.js +0 -127
- package/lib/MessageBanner/MessageBanner.module.css +0 -46
- package/lib/NewStar/NewStar.js +0 -126
- package/lib/NewStar/NewStar.module.css +0 -110
- package/lib/PlusIcon/PlusIcon.js +0 -106
- package/lib/PlusIcon/PlusIcon.module.css +0 -16
- package/lib/Provider.js +0 -309
- package/lib/ToastMessage/ToastMessage.js +0 -298
- package/lib/ToastMessage/ToastMessage.module.css +0 -328
- package/lib/Upload/Upload.js +0 -143
- package/lib/Upload/Upload.module.css +0 -125
- package/lib/actions/AutoClose.js +0 -85
- package/lib/actions/index.js +0 -37
- package/lib/alert/AlertHeader/AlertHeader.js +0 -151
- package/lib/alert/AlertHeader/AlertHeader.module.css +0 -81
- package/lib/alert/AlertLookup/AlertLookup.js +0 -249
- package/lib/alert/AlertLookup/AlertLookup.module.css +0 -27
- package/lib/avatar/AvatarClose/AvatarClose.js +0 -114
- package/lib/avatar/AvatarClose/AvatarClose.module.css +0 -37
- package/lib/avatar/AvatarCollision/AvatarCollision.js +0 -127
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +0 -69
- package/lib/avatar/AvatarIcon/AvatarIcon.js +0 -135
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +0 -58
- package/lib/avatar/AvatarStatus/AvatarStatus.js +0 -141
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +0 -146
- package/lib/avatar/AvatarThread/AvatarThread.js +0 -161
- package/lib/avatar/AvatarThread/AvatarThread.module.css +0 -163
- package/lib/avatar/AvatarUser/AvatarUser.js +0 -198
- package/lib/avatar/AvatarUser/AvatarUser.module.css +0 -171
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +0 -176
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +0 -23
- package/lib/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +0 -53
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +0 -186
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +0 -55
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +0 -982
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +0 -97
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +0 -148
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -85
- package/lib/emptystate/EditionPage/EditionPage.css +0 -43
- package/lib/emptystate/EditionPage/EditionPage.js +0 -115
- package/lib/errorstate/EmptyStates.module.css +0 -88
- package/lib/errorstate/Inconvenience/Inconvenience.js +0 -147
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +0 -7
- package/lib/errorstate/LinkText/LinkText.js +0 -89
- package/lib/errorstate/LinkText/LinkText.module.css +0 -6
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +0 -147
- package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +0 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +0 -146
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +0 -34
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -147
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -3
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +0 -147
- package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +0 -3
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -147
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -3
- package/lib/errorstate/WillBack/WillBack.js +0 -131
- package/lib/errorstate/WillBack/WillBack.module.css +0 -34
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +0 -242
- package/lib/form/fields/CurrencyField/CurrencyField.js +0 -293
- package/lib/form/fields/DateField/DateField.js +0 -307
- package/lib/form/fields/Fields.module.css +0 -183
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +0 -339
- package/lib/form/fields/PhoneField/PhoneField.js +0 -286
- package/lib/form/fields/RadioField/RadioField.js +0 -205
- package/lib/form/fields/SelectField/SelectField.js +0 -306
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +0 -353
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +0 -107
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +0 -362
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +0 -9
- package/lib/form/fields/TextBoxField/TextBoxField.js +0 -287
- package/lib/form/fields/TextEditor/TextEditor.js +0 -499
- package/lib/form/fields/TextEditor/TextEditor.module.css +0 -654
- package/lib/form/fields/TextEditorField/TextEditorField.js +0 -306
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +0 -296
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +0 -37
- package/lib/form/fields/TextareaField/TextareaField.js +0 -266
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +0 -124
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +0 -27
- package/lib/form/layout/Field/Field.js +0 -97
- package/lib/form/layout/Field/Field.module.css +0 -22
- package/lib/form/layout/Section/ModuleFormSection.module.css +0 -3
- package/lib/form/layout/Section/Section.js +0 -93
- package/lib/i18n.js +0 -3417
- package/lib/index.js +0 -101
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +0 -331
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +0 -152
- package/lib/layout/SetupDetailLayout/index.js +0 -37
- package/lib/layout/SubtabLayout/SubtabLayout.js +0 -301
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +0 -146
- package/lib/layout/SubtabLayout/index.js +0 -37
- package/lib/list/AvatarFlip/AvatarFlip.js +0 -159
- package/lib/list/AvatarFlip/AvatarFlip.module.css +0 -3
- package/lib/list/BluePrintStatus/BluePrintStatus.js +0 -77
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +0 -17
- package/lib/list/Comment/Comment.js +0 -104
- package/lib/list/Comment/Comment.module.css +0 -29
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +0 -184
- package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +0 -9
- package/lib/list/Dot/Dot.js +0 -76
- package/lib/list/Dot/Dot.module.css +0 -15
- package/lib/list/DotNew/DotNew.js +0 -85
- package/lib/list/DotNew/DotNew.module.css +0 -22
- package/lib/list/GridStencils/GridStencils.js +0 -90
- package/lib/list/GridStencils/GridStencils.module.css +0 -156
- package/lib/list/Icons/AddNewIcon.js +0 -82
- package/lib/list/Icons/CompleteIcon.js +0 -85
- package/lib/list/Icons/DeleteIcon.js +0 -85
- package/lib/list/Icons/EditIcon.js +0 -85
- package/lib/list/Icons/FloatingIcons.js +0 -92
- package/lib/list/Icons/Icons.module.css +0 -16
- package/lib/list/Icons/ReadUnreadIcon.js +0 -92
- package/lib/list/Icons/SmartIcon.js +0 -88
- package/lib/list/ListLayout/ListLayout.js +0 -179
- package/lib/list/ListLayout/ListLayout.module.css +0 -58
- package/lib/list/ListStencils/ListStencils.js +0 -100
- package/lib/list/ListStencils/ListStencils.module.css +0 -67
- package/lib/list/SecondaryText/AccountName.js +0 -159
- package/lib/list/SecondaryText/ContactName.js +0 -175
- package/lib/list/SecondaryText/DepartmentText.js +0 -86
- package/lib/list/SecondaryText/Email.js +0 -121
- package/lib/list/SecondaryText/HappinessRating.js +0 -88
- package/lib/list/SecondaryText/PhoneNumber.js +0 -128
- package/lib/list/SecondaryText/PriorityText.js +0 -91
- package/lib/list/SecondaryText/SecondaryText.js +0 -98
- package/lib/list/SecondaryText/SecondaryText.module.css +0 -136
- package/lib/list/SecondaryText/StatusText.js +0 -94
- package/lib/list/SecondaryText/TicketId.js +0 -121
- package/lib/list/SecondaryText/Website.js +0 -101
- package/lib/list/SecondaryText/index.js +0 -95
- package/lib/list/SecondryPanel/SecondryPanel.js +0 -241
- package/lib/list/SecondryPanel/SecondryPanel.module.css +0 -6
- package/lib/list/SentimentStatus/SentimentStatus.js +0 -85
- package/lib/list/SentimentStatus/SentimentStatus.module.css +0 -12
- package/lib/list/Subject/Subject.js +0 -130
- package/lib/list/Subject/Subject.module.css +0 -27
- package/lib/list/TagNew/TagNew.js +0 -91
- package/lib/list/TagNew/TagNew.module.css +0 -115
- package/lib/list/Thread/Thread.js +0 -101
- package/lib/list/Thread/Thread.module.css +0 -43
- package/lib/list/UserTime/UserTime.js +0 -147
- package/lib/list/UserTime/UserTime.module.css +0 -58
- package/lib/list/listCommon.module.css +0 -60
- package/lib/list/status/StatusDropdown/StatusDropdown.js +0 -538
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +0 -89
- package/lib/list/status/StatusListItem/StatusListItem.js +0 -206
- package/lib/list/status/StatusListItem/StatusListItem.module.css +0 -104
- package/lib/lookup/EmptyPage/EmptyPage.js +0 -125
- package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +0 -12
- package/lib/lookup/Lookup/Lookup.js +0 -159
- package/lib/lookup/Lookup/Lookup.module.css +0 -26
- package/lib/lookup/Section/LookupSection.module.css +0 -8
- package/lib/lookup/Section/Section.js +0 -79
- package/lib/lookup/header/Close/Close.js +0 -87
- package/lib/lookup/header/Close/LookupClose.module.css +0 -15
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +0 -144
- package/lib/lookup/header/Search/LookupSearch.module.css +0 -57
- package/lib/lookup/header/Search/Search.js +0 -315
- package/lib/lookup/header/TicketHeader/TicketHeader.js +0 -169
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +0 -23
- package/lib/lookup/header/Title/LookupTitle.module.css +0 -20
- package/lib/lookup/header/Title/Title.js +0 -84
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +0 -229
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +0 -50
- package/lib/lookup/header/lookupHeaderCommon.module.css +0 -35
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +0 -24
- package/lib/setup/header/Button/Button.js +0 -91
- package/lib/setup/header/Button/HeaderButton.module.css +0 -5
- package/lib/setup/header/Link/HeaderLink.module.css +0 -21
- package/lib/setup/header/Link/Link.js +0 -102
- package/lib/setup/header/Search/Search.js +0 -139
- package/lib/setup/header/Search/Search.module.css +0 -68
- package/lib/setup/header/Views/Views.js +0 -105
- package/lib/setup/header/Views/Views.module.css +0 -37
- package/lib/setup/helptips/Description/Description.js +0 -72
- package/lib/setup/helptips/Description/HelpTipsDescription.module.css +0 -6
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +0 -7
- package/lib/setup/helptips/Link/Link.js +0 -95
- package/lib/setup/helptips/ListGroup/ListGroup.js +0 -93
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +0 -22
- package/lib/setup/helptips/Title/HelpTipsTitle.module.css +0 -5
- package/lib/setup/helptips/Title/Title.js +0 -72
- package/lib/setup/table/Table/Table.js +0 -82
- package/lib/setup/table/TableBody/TableBody.js +0 -87
- package/lib/setup/table/TableData/SetupTableData.module.css +0 -44
- package/lib/setup/table/TableData/TableData.js +0 -95
- package/lib/setup/table/TableData/Tablehover.module.css +0 -6
- package/lib/setup/table/TableHead/SetupTableHead.module.css +0 -12
- package/lib/setup/table/TableHead/TableHead.js +0 -93
- package/lib/setup/table/TableRow/SetupTableRow.module.css +0 -14
- package/lib/setup/table/TableRow/TableRow.js +0 -102
- package/lib/setup/table/Text/TableText.module.css +0 -37
- package/lib/setup/table/Text/Text.js +0 -121
- package/lib/svg/PlusIcon.js +0 -90
- package/lib/svg/SnippetIcon.js +0 -92
- package/lib/svg/TemplateIcon.js +0 -93
- package/lib/utils/ChannelIconMapping.js +0 -138
- package/lib/utils/Common.js +0 -33
- package/lib/utils/General.js +0 -82
- package/lib/utils/KeyboardApi.js +0 -299
- package/lib/utils/editorUtils.js +0 -223
- package/lib/version2/AlertClose/AlertClose.js +0 -101
- package/lib/version2/AlertClose/AlertClose.module.css +0 -43
- package/lib/version2/GlobalNotification/GlobalNotification.js +0 -202
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +0 -125
- package/lib/version2/alertIcons/AlarmAlertIcon.js +0 -125
- package/lib/version2/alertIcons/AlertIcons.js +0 -127
- package/lib/version2/alertIcons/AlertIcons.module.css +0 -67
- package/lib/version2/alertIcons/DangerAlertIcon.js +0 -126
- package/lib/version2/alertIcons/ErrorAlertIcon.js +0 -130
- package/lib/version2/alertIcons/InfoAlertIcon.js +0 -134
- package/lib/version2/alertIcons/NotificationAlertIcon.js +0 -130
- package/lib/version2/alertIcons/SuccessAlertIcon.js +0 -125
- package/lib/version2/alertIcons/WarningAlertIcon.js +0 -125
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +0 -146
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +0 -147
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +0 -146
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -150
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +0 -146
- package/lib/version2/errorstate/V2_ErrorStates.module.css +0 -46
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +0 -146
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +0 -134
- package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +0 -87
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +0 -316
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +0 -44
- package/lib/version2/lookup/alertLookupCommonNew.module.css +0 -33
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +0 -236
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +0 -106
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +0 -128
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +0 -137
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
.message {
|
|
2
|
-
position: absolute;
|
|
3
|
-
top: 0;
|
|
4
|
-
z-index: 1000;
|
|
5
|
-
/*Hook for editor alert*/
|
|
6
|
-
pointer-events: none;
|
|
7
|
-
text-align: center;
|
|
8
|
-
}[dir=ltr] .message {
|
|
9
|
-
right: 0;
|
|
10
|
-
left: 0;
|
|
11
|
-
}[dir=rtl] .message {
|
|
12
|
-
left: 0;
|
|
13
|
-
right: 0;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.container {
|
|
17
|
-
position: relative;
|
|
18
|
-
display: inline-block;
|
|
19
|
-
pointer-events: initial;
|
|
20
|
-
box-shadow: 0 0 19px 1px var(--zdt_message_default_box_shadow);
|
|
21
|
-
border-radius: 0 0 5px 5px;
|
|
22
|
-
background: var(--zdt_message_default_bg);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
[dir=ltr] .container {
|
|
26
|
-
padding: var(--zd_size13) var(--zd_size10) var(--zd_size13) var(--zd_size50);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
[dir=rtl] .container {
|
|
30
|
-
padding: var(--zd_size13) var(--zd_size50) var(--zd_size13) var(--zd_size10);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.text {
|
|
34
|
-
max-width: var(--zd_size480);
|
|
35
|
-
display: inline-block;
|
|
36
|
-
word-break: break-word;
|
|
37
|
-
font-size: var(--zd_font_size14);
|
|
38
|
-
vertical-align: middle;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
[dir=ltr] .text {
|
|
42
|
-
text-align: left;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
[dir=rtl] .text {
|
|
46
|
-
text-align: right;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.icon {
|
|
50
|
-
position: absolute;
|
|
51
|
-
top: 0;
|
|
52
|
-
width: var(--zd_size40);
|
|
53
|
-
display: inline-block;
|
|
54
|
-
height: 100%;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
[dir=ltr] .icon {
|
|
58
|
-
left: 0;
|
|
59
|
-
border-bottom-left-radius: 5px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
[dir=rtl] .icon {
|
|
63
|
-
right: 0;
|
|
64
|
-
border-bottom-right-radius: 5px;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.success {
|
|
68
|
-
composes: icon;
|
|
69
|
-
background: var(--zdt_message_success_bg);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.alert {
|
|
73
|
-
composes: icon;
|
|
74
|
-
background: var(--zdt_message_alert_bg);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.info {
|
|
78
|
-
composes: icon;
|
|
79
|
-
background: var(--zdt_message_info_bg);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.tickIcn {
|
|
83
|
-
color: var(--zdt_message_tickicon);
|
|
84
|
-
font-size: var(--zd_font_size16);
|
|
85
|
-
position: absolute;
|
|
86
|
-
composes: middleBoth from '~@zohodesk/components/lib/common/common.module.css';
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.close {
|
|
90
|
-
color: var(--zdt_message_close_text);
|
|
91
|
-
font-size: var(--zd_font_size16);
|
|
92
|
-
display: inline-block;
|
|
93
|
-
vertical-align: middle;
|
|
94
|
-
cursor: pointer;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
[dir=ltr] .close {
|
|
98
|
-
margin-left: var(--zd_size10);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
[dir=rtl] .close {
|
|
102
|
-
margin-right: var(--zd_size10);
|
|
103
|
-
}
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
|
|
10
|
-
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
-
|
|
14
|
-
var _Link = _interopRequireDefault(require("../Link/Link"));
|
|
15
|
-
|
|
16
|
-
var _Icon = _interopRequireDefault(require("@zohodesk/icons/lib/Icon"));
|
|
17
|
-
|
|
18
|
-
var _Layout = require("@zohodesk/components/lib/Layout");
|
|
19
|
-
|
|
20
|
-
var _MessageBannerModule = _interopRequireDefault(require("./MessageBanner.module.css"));
|
|
21
|
-
|
|
22
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
|
-
|
|
24
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
25
|
-
|
|
26
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
27
|
-
|
|
28
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
29
|
-
|
|
30
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
|
-
|
|
32
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
|
-
|
|
34
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
35
|
-
|
|
36
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
37
|
-
|
|
38
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
39
|
-
|
|
40
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
41
|
-
|
|
42
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
43
|
-
|
|
44
|
-
var MessageBanner = /*#__PURE__*/function (_React$Component) {
|
|
45
|
-
_inherits(MessageBanner, _React$Component);
|
|
46
|
-
|
|
47
|
-
var _super = _createSuper(MessageBanner);
|
|
48
|
-
|
|
49
|
-
function MessageBanner() {
|
|
50
|
-
_classCallCheck(this, MessageBanner);
|
|
51
|
-
|
|
52
|
-
return _super.apply(this, arguments);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
_createClass(MessageBanner, [{
|
|
56
|
-
key: "render",
|
|
57
|
-
value: function render() {
|
|
58
|
-
var _this$props = this.props,
|
|
59
|
-
type = _this$props.type,
|
|
60
|
-
message = _this$props.message,
|
|
61
|
-
onClose = _this$props.onClose,
|
|
62
|
-
href = _this$props.href,
|
|
63
|
-
onClick = _this$props.onClick,
|
|
64
|
-
urlText = _this$props.urlText,
|
|
65
|
-
palette = _this$props.palette,
|
|
66
|
-
customClass = _this$props.customClass,
|
|
67
|
-
dataId = _this$props.dataId;
|
|
68
|
-
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
69
|
-
className: "".concat(_MessageBannerModule["default"]["type_".concat(type)], " ").concat(_MessageBannerModule["default"]["palette_".concat(palette)], " ").concat(customClass),
|
|
70
|
-
alignBox: "row",
|
|
71
|
-
isCover: false,
|
|
72
|
-
dataId: dataId
|
|
73
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
74
|
-
className: _MessageBannerModule["default"].content,
|
|
75
|
-
flexible: true
|
|
76
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
77
|
-
alignBox: "row",
|
|
78
|
-
align: "both"
|
|
79
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
80
|
-
className: _MessageBannerModule["default"].message,
|
|
81
|
-
adjust: true,
|
|
82
|
-
shrink: true,
|
|
83
|
-
"data-title": message
|
|
84
|
-
}, message), href && /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
85
|
-
href: href,
|
|
86
|
-
onClick: onClick,
|
|
87
|
-
className: _MessageBannerModule["default"].link,
|
|
88
|
-
target: "_blank"
|
|
89
|
-
}, urlText)))), onClose ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
90
|
-
className: _MessageBannerModule["default"].close,
|
|
91
|
-
onClick: onClose
|
|
92
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
93
|
-
align: "both"
|
|
94
|
-
}, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
95
|
-
name: "ZD-closee",
|
|
96
|
-
size: "35"
|
|
97
|
-
}))) : null);
|
|
98
|
-
}
|
|
99
|
-
}]);
|
|
100
|
-
|
|
101
|
-
return MessageBanner;
|
|
102
|
-
}(_react["default"].Component);
|
|
103
|
-
|
|
104
|
-
exports["default"] = MessageBanner;
|
|
105
|
-
MessageBanner.defaultProps = {
|
|
106
|
-
type: 'primary',
|
|
107
|
-
palette: 'default',
|
|
108
|
-
customClass: '',
|
|
109
|
-
dataId: 'MessageBanner'
|
|
110
|
-
};
|
|
111
|
-
MessageBanner.propTypes = {
|
|
112
|
-
customClass: _propTypes["default"].string,
|
|
113
|
-
href: _propTypes["default"].string,
|
|
114
|
-
message: _propTypes["default"].string,
|
|
115
|
-
onClick: _propTypes["default"].func,
|
|
116
|
-
onClose: _propTypes["default"].func,
|
|
117
|
-
palette: _propTypes["default"].oneOf(['default', 'blue', 'white']),
|
|
118
|
-
type: _propTypes["default"].oneOf(['primary', 'secondary']),
|
|
119
|
-
urlText: _propTypes["default"].string,
|
|
120
|
-
dataId: _propTypes["default"].string
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
if (false) {
|
|
124
|
-
MessageBanner.docs = {
|
|
125
|
-
componentGroup: 'Atom'
|
|
126
|
-
};
|
|
127
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
.type_secondary {
|
|
2
|
-
max-width: var(--zd_size468);
|
|
3
|
-
border-radius: 3px;
|
|
4
|
-
margin: 0 auto;
|
|
5
|
-
}
|
|
6
|
-
.message {
|
|
7
|
-
color: var(--zdt_messagebanner_text);
|
|
8
|
-
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
9
|
-
padding: var(--zd_size10) 0;
|
|
10
|
-
}
|
|
11
|
-
[dir=ltr] .message {
|
|
12
|
-
margin-left: var(--zd_size10);
|
|
13
|
-
}
|
|
14
|
-
[dir=rtl] .message {
|
|
15
|
-
margin-right: var(--zd_size10);
|
|
16
|
-
}
|
|
17
|
-
.link {
|
|
18
|
-
color: var(--zdt_messagebanner_link_text);
|
|
19
|
-
}
|
|
20
|
-
[dir=ltr] .link {
|
|
21
|
-
margin-left: var(--zd_size5);
|
|
22
|
-
}
|
|
23
|
-
[dir=rtl] .link {
|
|
24
|
-
margin-right: var(--zd_size5);
|
|
25
|
-
}
|
|
26
|
-
.message,.link{font-size: var(--zd_font_size14);}
|
|
27
|
-
.close {
|
|
28
|
-
color: var(--zdt_messagebanner_close_text);
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
}
|
|
31
|
-
.type_primary .close:hover {
|
|
32
|
-
background: var(--zdt_messagebanner_close_hover_bg);
|
|
33
|
-
}
|
|
34
|
-
.close:hover {
|
|
35
|
-
color: var(--zdt_messagebanner_close_hover_text);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.palette_default {
|
|
39
|
-
background: var(--zdt_messagebanner_default_bg);
|
|
40
|
-
}
|
|
41
|
-
.palette_blue {
|
|
42
|
-
background: var(--zdt_messagebanner_blue_bg);
|
|
43
|
-
}
|
|
44
|
-
.palette_white {
|
|
45
|
-
background: var(--zdt_messagebanner_white_text);
|
|
46
|
-
}
|
package/lib/NewStar/NewStar.js
DELETED
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
|
|
10
|
-
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
-
|
|
14
|
-
var _Icon = _interopRequireDefault(require("@zohodesk/icons/lib/Icon"));
|
|
15
|
-
|
|
16
|
-
var _Layout = require("@zohodesk/components/lib/Layout");
|
|
17
|
-
|
|
18
|
-
var _NewStarModule = _interopRequireDefault(require("./NewStar.module.css"));
|
|
19
|
-
|
|
20
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
-
|
|
22
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
23
|
-
|
|
24
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
25
|
-
|
|
26
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
27
|
-
|
|
28
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
|
-
|
|
30
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
|
-
|
|
32
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
33
|
-
|
|
34
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
35
|
-
|
|
36
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
37
|
-
|
|
38
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
39
|
-
|
|
40
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
|
-
|
|
42
|
-
var NewStar = /*#__PURE__*/function (_React$Component) {
|
|
43
|
-
_inherits(NewStar, _React$Component);
|
|
44
|
-
|
|
45
|
-
var _super = _createSuper(NewStar);
|
|
46
|
-
|
|
47
|
-
function NewStar() {
|
|
48
|
-
_classCallCheck(this, NewStar);
|
|
49
|
-
|
|
50
|
-
return _super.apply(this, arguments);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
_createClass(NewStar, [{
|
|
54
|
-
key: "render",
|
|
55
|
-
value: function render() {
|
|
56
|
-
var _this$props = this.props,
|
|
57
|
-
palette = _this$props.palette,
|
|
58
|
-
customClass = _this$props.customClass,
|
|
59
|
-
position = _this$props.position;
|
|
60
|
-
var alignPosition = {
|
|
61
|
-
topRight: {
|
|
62
|
-
className: _NewStarModule["default"].topRight,
|
|
63
|
-
align: 'right',
|
|
64
|
-
alignBox: 'row',
|
|
65
|
-
reverse: 'wrap'
|
|
66
|
-
},
|
|
67
|
-
topLeft: {
|
|
68
|
-
className: _NewStarModule["default"].topLeft,
|
|
69
|
-
align: 'left',
|
|
70
|
-
alignBox: 'row',
|
|
71
|
-
reverse: 'wrap'
|
|
72
|
-
},
|
|
73
|
-
bottomLeft: {
|
|
74
|
-
className: _NewStarModule["default"].bottomLeft,
|
|
75
|
-
align: 'left',
|
|
76
|
-
alignBox: 'column-reverse',
|
|
77
|
-
reverse: 'wrap'
|
|
78
|
-
},
|
|
79
|
-
bottomRight: {
|
|
80
|
-
className: _NewStarModule["default"].bottomRight,
|
|
81
|
-
align: 'right',
|
|
82
|
-
alignBox: 'column',
|
|
83
|
-
reverse: 'wrap-reverse'
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
87
|
-
alignBox: alignPosition[position].alignBox,
|
|
88
|
-
isCover: false,
|
|
89
|
-
className: "".concat(_NewStarModule["default"].star, " ").concat(alignPosition[position].className, " ").concat(customClass),
|
|
90
|
-
wrap: alignPosition[position].reverse,
|
|
91
|
-
align: alignPosition[position].align
|
|
92
|
-
}, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
93
|
-
name: "ZD-snippetStar",
|
|
94
|
-
iconClass: "".concat(_NewStarModule["default"][palette], " ").concat(_NewStarModule["default"].starOne),
|
|
95
|
-
size: "10"
|
|
96
|
-
}), /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
97
|
-
name: "ZD-snippetStar",
|
|
98
|
-
iconClass: "".concat(_NewStarModule["default"][palette], " ").concat(_NewStarModule["default"].starTwo),
|
|
99
|
-
size: "10"
|
|
100
|
-
}), /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
101
|
-
name: "ZD-snippetStar",
|
|
102
|
-
iconClass: "".concat(_NewStarModule["default"][palette], " ").concat(_NewStarModule["default"].starThree),
|
|
103
|
-
size: "10"
|
|
104
|
-
}));
|
|
105
|
-
}
|
|
106
|
-
}]);
|
|
107
|
-
|
|
108
|
-
return NewStar;
|
|
109
|
-
}(_react["default"].Component);
|
|
110
|
-
|
|
111
|
-
exports["default"] = NewStar;
|
|
112
|
-
NewStar.propTypes = {
|
|
113
|
-
customClass: _propTypes["default"].string,
|
|
114
|
-
palette: _propTypes["default"].oneOf(['green', 'blue', 'yellow']),
|
|
115
|
-
position: _propTypes["default"].oneOf(['topRight', 'topLeft', 'bottomRight', 'bottomLeft'])
|
|
116
|
-
};
|
|
117
|
-
NewStar.defaultProps = {
|
|
118
|
-
customClass: '',
|
|
119
|
-
position: 'topRight'
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
if (false) {
|
|
123
|
-
NewStar.docs = {
|
|
124
|
-
componentGroup: 'Atom'
|
|
125
|
-
};
|
|
126
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
.star {
|
|
2
|
-
position: absolute;
|
|
3
|
-
|
|
4
|
-
height: var(--zd_size20);
|
|
5
|
-
width: var(--zd_size21);
|
|
6
|
-
}
|
|
7
|
-
.topLeft {
|
|
8
|
-
top: 0;
|
|
9
|
-
}
|
|
10
|
-
[dir=ltr] .topLeft {
|
|
11
|
-
transform: translate(-45%, -45%);
|
|
12
|
-
left: 0;
|
|
13
|
-
}
|
|
14
|
-
[dir=rtl] .topLeft {
|
|
15
|
-
transform: translate(45%, -45%);
|
|
16
|
-
right: 0;
|
|
17
|
-
}
|
|
18
|
-
.topRight {
|
|
19
|
-
top: 0;
|
|
20
|
-
}
|
|
21
|
-
[dir=ltr] .topRight {
|
|
22
|
-
transform: translate(45%, -45%);
|
|
23
|
-
right: 0;
|
|
24
|
-
}
|
|
25
|
-
[dir=rtl] .topRight {
|
|
26
|
-
transform: translate(-45%, -45%);
|
|
27
|
-
left: 0;
|
|
28
|
-
}
|
|
29
|
-
.bottomLeft {
|
|
30
|
-
bottom: 0;
|
|
31
|
-
}
|
|
32
|
-
[dir=ltr] .bottomLeft {
|
|
33
|
-
transform: translate(-45%, 45%);
|
|
34
|
-
left: 0;
|
|
35
|
-
}
|
|
36
|
-
[dir=rtl] .bottomLeft {
|
|
37
|
-
transform: translate(45%, 45%);
|
|
38
|
-
right: 0;
|
|
39
|
-
}
|
|
40
|
-
.bottomRight {
|
|
41
|
-
bottom: 0;
|
|
42
|
-
}
|
|
43
|
-
[dir=ltr] .bottomRight {
|
|
44
|
-
transform: translate(45%, 45%);
|
|
45
|
-
right: 0;
|
|
46
|
-
}
|
|
47
|
-
[dir=rtl] .bottomRight {
|
|
48
|
-
transform: translate(-45%, 45%);
|
|
49
|
-
left: 0;
|
|
50
|
-
}
|
|
51
|
-
[dir=ltr] .stars {
|
|
52
|
-
animation: twinkle var(--zd_transition4) infinite, star-scale var(--zd_transition10) infinite;
|
|
53
|
-
}
|
|
54
|
-
[dir=rtl] .stars {
|
|
55
|
-
animation: twinkle var(--zd_transition4) infinite, star-scale var(--zd_transition10) infinite;
|
|
56
|
-
}
|
|
57
|
-
.green::before {
|
|
58
|
-
color: var(--zdt_newstar_green_text);
|
|
59
|
-
}
|
|
60
|
-
.yellow::before {
|
|
61
|
-
color: var(--zdt_newstar_yellow_text);
|
|
62
|
-
}
|
|
63
|
-
.blue::before {
|
|
64
|
-
color: var(--zdt_newstar_blue_text);
|
|
65
|
-
}
|
|
66
|
-
.starOne {
|
|
67
|
-
composes: stars;
|
|
68
|
-
}
|
|
69
|
-
.starTwo {
|
|
70
|
-
composes: stars;
|
|
71
|
-
}
|
|
72
|
-
[dir=ltr] .starTwo {
|
|
73
|
-
animation-delay: 0.5s;
|
|
74
|
-
}
|
|
75
|
-
[dir=rtl] .starTwo {
|
|
76
|
-
animation-delay: 0.5s;
|
|
77
|
-
}
|
|
78
|
-
.starThree {
|
|
79
|
-
composes: stars;
|
|
80
|
-
}
|
|
81
|
-
[dir=ltr] .starThree {
|
|
82
|
-
animation-delay: 1s;
|
|
83
|
-
}
|
|
84
|
-
[dir=rtl] .starThree {
|
|
85
|
-
animation-delay: 1s;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
@keyframes twinkle {
|
|
89
|
-
0% {
|
|
90
|
-
opacity: 0.5;
|
|
91
|
-
}
|
|
92
|
-
50% {
|
|
93
|
-
opacity: 1;
|
|
94
|
-
}
|
|
95
|
-
100% {
|
|
96
|
-
opacity: 0.6;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
@keyframes star-scale {
|
|
101
|
-
0% {
|
|
102
|
-
transform: perspective(1px) scale(0.7);
|
|
103
|
-
}
|
|
104
|
-
50% {
|
|
105
|
-
transform: perspective(1px) scale(1, 1);
|
|
106
|
-
}
|
|
107
|
-
100% {
|
|
108
|
-
transform: perspective(1px) scale(0.7);
|
|
109
|
-
}
|
|
110
|
-
}
|
package/lib/PlusIcon/PlusIcon.js
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
|
|
10
|
-
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
-
|
|
14
|
-
var _PlusIconModule = _interopRequireDefault(require("./PlusIcon.module.css"));
|
|
15
|
-
|
|
16
|
-
var _AvatarIcon = _interopRequireDefault(require("../avatar/AvatarIcon/AvatarIcon"));
|
|
17
|
-
|
|
18
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
|
-
|
|
20
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
21
|
-
|
|
22
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
23
|
-
|
|
24
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
|
-
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
|
-
|
|
28
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
|
-
|
|
30
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
31
|
-
|
|
32
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
33
|
-
|
|
34
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
35
|
-
|
|
36
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
37
|
-
|
|
38
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
|
-
|
|
40
|
-
var PlusIcon = /*#__PURE__*/function (_React$Component) {
|
|
41
|
-
_inherits(PlusIcon, _React$Component);
|
|
42
|
-
|
|
43
|
-
var _super = _createSuper(PlusIcon);
|
|
44
|
-
|
|
45
|
-
function PlusIcon(props) {
|
|
46
|
-
_classCallCheck(this, PlusIcon);
|
|
47
|
-
|
|
48
|
-
return _super.call(this, props);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
_createClass(PlusIcon, [{
|
|
52
|
-
key: "render",
|
|
53
|
-
value: function render() {
|
|
54
|
-
var _this$props = this.props,
|
|
55
|
-
dataId = _this$props.dataId,
|
|
56
|
-
iconName = _this$props.iconName,
|
|
57
|
-
iconClass = _this$props.iconClass,
|
|
58
|
-
iconSize = _this$props.iconSize,
|
|
59
|
-
size = _this$props.size,
|
|
60
|
-
onClick = _this$props.onClick,
|
|
61
|
-
title = _this$props.title,
|
|
62
|
-
customClass = _this$props.customClass;
|
|
63
|
-
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
64
|
-
className: _PlusIconModule["default"].container,
|
|
65
|
-
onClick: onClick,
|
|
66
|
-
"data-id": dataId,
|
|
67
|
-
"data-title": title
|
|
68
|
-
}, /*#__PURE__*/_react["default"].createElement(_AvatarIcon["default"], {
|
|
69
|
-
name: iconName,
|
|
70
|
-
iconClass: "".concat(iconClass, " ").concat(_PlusIconModule["default"].icon),
|
|
71
|
-
iconSize: iconSize,
|
|
72
|
-
size: size,
|
|
73
|
-
className: "".concat(customClass, " ").concat(_PlusIconModule["default"].plusIcon)
|
|
74
|
-
}));
|
|
75
|
-
}
|
|
76
|
-
}]);
|
|
77
|
-
|
|
78
|
-
return PlusIcon;
|
|
79
|
-
}(_react["default"].Component);
|
|
80
|
-
|
|
81
|
-
exports["default"] = PlusIcon;
|
|
82
|
-
PlusIcon.defaultProps = {
|
|
83
|
-
size: 'xmedium',
|
|
84
|
-
iconName: 'ZD-plus',
|
|
85
|
-
iconSize: '16',
|
|
86
|
-
dataId: 'addreqNowbutton',
|
|
87
|
-
iconClass: '',
|
|
88
|
-
customClass: ''
|
|
89
|
-
};
|
|
90
|
-
PlusIcon.propTypes = {
|
|
91
|
-
dataId: _propTypes["default"].string,
|
|
92
|
-
iconClass: _propTypes["default"].string,
|
|
93
|
-
iconName: _propTypes["default"].string,
|
|
94
|
-
iconSize: _propTypes["default"].string,
|
|
95
|
-
onClick: _propTypes["default"].func,
|
|
96
|
-
size: _propTypes["default"].string,
|
|
97
|
-
title: _propTypes["default"].string,
|
|
98
|
-
customClass: _propTypes["default"].string
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
if (false) {
|
|
102
|
-
PlusIcon.docs = {
|
|
103
|
-
componentGroup: 'Common',
|
|
104
|
-
folderName: 'Ticket DetailView'
|
|
105
|
-
};
|
|
106
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
composes: dinblk from '~@zohodesk/components/lib/common/common.module.css';
|
|
3
|
-
border-radius: 50%;
|
|
4
|
-
box-shadow: 0 2px 3px 0 var(--zdt_plusicon_box_shadow);
|
|
5
|
-
cursor: pointer;
|
|
6
|
-
background-color: var(--zdt_plusicon_bg);
|
|
7
|
-
}
|
|
8
|
-
.plusIcon {
|
|
9
|
-
border: 1px solid var(--zdt_plusicon_border);
|
|
10
|
-
}
|
|
11
|
-
.icon {
|
|
12
|
-
color: var(--zdt_plusicon_text);
|
|
13
|
-
}
|
|
14
|
-
.plusIcon:hover {
|
|
15
|
-
border-color: var(--zdt_plusicon_hover_border);
|
|
16
|
-
}
|