@zohodesk/dot 1.0.0-beta.208 → 1.0.0-beta.210
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 +9 -0
- package/es/ActionButton/ActionButton.js +10 -6
- package/es/ActionButton/ActionButton.module.css +10 -25
- package/es/AlphabeticList/AlphabeticList.module.css +4 -7
- package/{assets → es}/Appearance/dark/mode/dotDarkMode.module.css +1 -1
- package/{assets → es}/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +1 -1
- package/{assets → es}/Appearance/dark/themes/green/greenDarkDotTheme.module.css +0 -0
- package/{assets → es}/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +1 -1
- package/{assets → es}/Appearance/dark/themes/red/redDarkDotTheme.module.css +0 -0
- package/{assets → es}/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +0 -0
- package/{assets → es}/Appearance/default/mode/dotDefaultMode.module.css +1 -1
- package/{assets → es}/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +0 -0
- package/{assets → es}/Appearance/default/themes/green/greenDefaultDotTheme.module.css +1 -1
- package/{assets → es}/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +0 -0
- package/{assets → es}/Appearance/default/themes/red/redDefaultDotTheme.module.css +0 -0
- package/{assets → es}/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +0 -0
- package/es/Attachment/Attachment.module.css +9 -20
- package/es/ChannelIcon/ChannelIcon.module.css +21 -30
- package/es/Drawer/Drawer.module.css +11 -59
- package/es/FlipCard/FlipCard.module.css +5 -14
- package/es/FormAction/FormAction.module.css +9 -34
- package/es/FreezeLayer/FreezeLayer.module.css +2 -6
- package/es/IconButton/IconButton.module.css +1 -1
- package/es/ImportantNotes/ImportantNotes.module.css +2 -7
- package/es/Link/Link.js +1 -1
- package/es/Loader/Loader.module.css +4 -25
- package/es/Message/Message.module.css +9 -42
- package/es/MessageBanner/MessageBanner.module.css +4 -12
- package/es/NewStar/NewStar.module.css +5 -42
- package/es/ToastMessage/ToastMessage.module.css +25 -96
- package/es/Upload/Upload.module.css +8 -27
- package/es/alert/AlertHeader/AlertHeader.module.css +3 -21
- package/es/alert/AlertLookup/AlertLookup.js +8 -4
- package/es/alert/AlertLookup/AlertLookup.module.css +2 -6
- package/es/avatar/AvatarClose/AvatarClose.module.css +3 -9
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +4 -18
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +4 -3
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +9 -59
- package/es/avatar/AvatarThread/AvatarThread.module.css +5 -55
- package/es/avatar/AvatarUser/AvatarUser.module.css +10 -81
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +3 -10
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +3 -11
- package/es/deprecated/Theme/dotDarkTheme.module.css +532 -0
- package/es/deprecated/Theme/dotDefaultTheme.module.css +532 -0
- package/es/deprecated/Theme/palette/darkPalette.module.css +40 -0
- package/es/deprecated/Theme/palette/defaultPalette.module.css +40 -0
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +6 -19
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +4 -12
- package/es/emptystate/EditionPage/EditionPage.css +3 -9
- package/es/errorstate/EmptyStates.module.css +10 -13
- package/es/errorstate/Inconvenience/Inconvenience.module.css +0 -3
- package/es/errorstate/LinkText/LinkText.module.css +1 -1
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +2 -2
- package/es/errorstate/WillBack/WillBack.module.css +3 -1
- package/es/form/fields/Fields.module.css +14 -49
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +7 -19
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +1 -4
- package/es/form/fields/TextEditor/TextEditor.js +7 -4
- package/es/form/fields/TextEditor/TextEditor.module.css +73 -144
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +2 -13
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +4 -9
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +16 -52
- package/es/layout/SubtabLayout/SubtabLayout.module.css +29 -55
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +1 -4
- package/es/list/Comment/Comment.module.css +0 -5
- package/es/list/DotNew/DotNew.module.css +3 -3
- package/es/list/GridStencils/GridStencils.module.css +16 -70
- package/es/list/Icons/Icons.module.css +1 -1
- package/es/list/ListLayout/ListLayout.module.css +14 -22
- package/es/list/ListStencils/ListStencils.module.css +6 -11
- package/es/list/SecondaryText/SecondaryText.module.css +3 -13
- package/es/list/SentimentStatus/SentimentStatus.module.css +1 -4
- package/es/list/TagNew/TagNew.module.css +7 -14
- package/es/list/Thread/Thread.module.css +1 -13
- package/es/list/UserTime/UserTime.module.css +0 -6
- package/es/list/listCommon.module.css +1 -9
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +6 -19
- package/es/list/status/StatusListItem/StatusListItem.module.css +15 -38
- package/es/lookup/Lookup/Lookup.module.css +2 -2
- package/es/lookup/Section/LookupSection.module.css +2 -2
- package/es/lookup/header/Close/LookupClose.module.css +4 -4
- package/es/lookup/header/Search/LookupSearch.module.css +12 -21
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +2 -5
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +3 -8
- package/es/lookup/header/lookupHeaderCommon.module.css +6 -16
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +3 -12
- package/es/setup/header/Button/HeaderButton.module.css +1 -3
- package/es/setup/header/Link/HeaderLink.module.css +1 -7
- package/es/setup/header/Search/Search.module.css +8 -19
- package/es/setup/header/Views/Views.module.css +5 -15
- package/es/setup/helptips/Link/HelpTipsLink.module.css +0 -1
- package/es/setup/helptips/ListGroup/ListGroup.module.css +1 -6
- package/es/setup/table/TableData/SetupTableData.module.css +3 -11
- package/es/setup/table/TableHead/SetupTableHead.module.css +0 -4
- package/es/setup/table/TableRow/SetupTableRow.module.css +2 -6
- package/es/version2/AlertClose/AlertClose.module.css +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.module.css +9 -44
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +2 -25
- package/es/version2/lookup/AlertLookup/AlertLookup.js +8 -4
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +3 -7
- package/es/version2/lookup/alertLookupCommonNew.module.css +1 -8
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +10 -26
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +10 -47
- package/lib/ActionButton/ActionButton.js +3 -3
- package/lib/ActionButton/ActionButton.module.css +9 -25
- package/lib/AlphabeticList/AlphabeticList.js +3 -3
- package/lib/AlphabeticList/AlphabeticList.module.css +4 -7
- package/lib/Appearance/dark/mode/dotDarkMode.module.css +536 -0
- package/lib/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +10 -0
- package/lib/Appearance/dark/themes/green/greenDarkDotTheme.module.css +10 -0
- package/lib/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +10 -0
- package/lib/Appearance/dark/themes/red/redDarkDotTheme.module.css +10 -0
- package/lib/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +10 -0
- package/lib/Appearance/default/mode/dotDefaultMode.module.css +536 -0
- package/lib/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +10 -0
- package/lib/Appearance/default/themes/green/greenDefaultDotTheme.module.css +10 -0
- package/lib/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +10 -0
- package/lib/Appearance/default/themes/red/redDefaultDotTheme.module.css +10 -0
- package/lib/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +10 -0
- package/lib/Attachment/Attachment.js +3 -3
- package/lib/Attachment/Attachment.module.css +9 -20
- package/lib/ChannelIcon/ChannelIcon.js +3 -3
- package/lib/ChannelIcon/ChannelIcon.module.css +21 -30
- package/lib/Drawer/Drawer.js +4 -4
- package/lib/Drawer/Drawer.module.css +11 -59
- package/lib/ExternalLink/ExternalLink.js +3 -3
- package/lib/FlipCard/FlipCard.js +3 -3
- package/lib/FlipCard/FlipCard.module.css +5 -14
- package/lib/FormAction/FormAction.js +4 -4
- package/lib/FormAction/FormAction.module.css +9 -34
- package/lib/FreezeLayer/FreezeLayer.js +3 -3
- package/lib/FreezeLayer/FreezeLayer.module.css +2 -6
- package/lib/IconButton/IconButton.js +3 -3
- package/lib/IconButton/IconButton.module.css +1 -1
- package/lib/Image/Image.js +3 -3
- package/lib/ImportantNotes/ImportantNotes.js +3 -3
- package/lib/ImportantNotes/ImportantNotes.module.css +2 -7
- package/lib/Link/Link.js +3 -3
- package/lib/Loader/Loader.js +3 -3
- package/lib/Loader/Loader.module.css +4 -25
- package/lib/Message/Message.js +4 -4
- package/lib/Message/Message.module.css +9 -42
- package/lib/MessageBanner/MessageBanner.js +3 -3
- package/lib/MessageBanner/MessageBanner.module.css +4 -12
- package/lib/NewStar/NewStar.js +3 -3
- package/lib/NewStar/NewStar.module.css +5 -42
- package/lib/PlusIcon/PlusIcon.js +3 -3
- package/lib/Provider.js +49 -49
- package/lib/ToastMessage/ToastMessage.js +1 -1
- package/lib/ToastMessage/ToastMessage.module.css +25 -96
- package/lib/Upload/Upload.js +3 -3
- package/lib/Upload/Upload.module.css +8 -27
- package/lib/actions/AutoClose.js +1 -1
- package/lib/alert/AlertHeader/AlertHeader.js +3 -3
- package/lib/alert/AlertHeader/AlertHeader.module.css +3 -21
- package/lib/alert/AlertLookup/AlertLookup.js +3 -3
- package/lib/alert/AlertLookup/AlertLookup.module.css +2 -6
- package/lib/avatar/AvatarClose/AvatarClose.js +3 -3
- package/lib/avatar/AvatarClose/AvatarClose.module.css +3 -9
- package/lib/avatar/AvatarCollision/AvatarCollision.js +3 -3
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +4 -18
- package/lib/avatar/AvatarIcon/AvatarIcon.js +3 -3
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +4 -3
- package/lib/avatar/AvatarStatus/AvatarStatus.js +3 -3
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +9 -59
- package/lib/avatar/AvatarThread/AvatarThread.js +3 -3
- package/lib/avatar/AvatarThread/AvatarThread.module.css +5 -55
- package/lib/avatar/AvatarUser/AvatarUser.js +3 -3
- package/lib/avatar/AvatarUser/AvatarUser.module.css +10 -81
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +3 -10
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +3 -3
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +9 -17
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +3 -3
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +6 -19
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +3 -3
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +4 -12
- package/lib/emptystate/EditionPage/EditionPage.css +3 -9
- package/lib/emptystate/EditionPage/EditionPage.js +3 -3
- package/lib/errorstate/EmptyStates.module.css +10 -13
- package/lib/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +0 -3
- package/lib/errorstate/LinkText/LinkText.js +3 -3
- package/lib/errorstate/LinkText/LinkText.module.css +1 -1
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +2 -2
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -3
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +3 -3
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/lib/errorstate/WillBack/WillBack.js +3 -3
- package/lib/errorstate/WillBack/WillBack.module.css +3 -1
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +4 -4
- package/lib/form/fields/CurrencyField/CurrencyField.js +5 -5
- package/lib/form/fields/DateField/DateField.js +5 -5
- package/lib/form/fields/Fields.module.css +16 -54
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +5 -5
- package/lib/form/fields/PhoneField/PhoneField.js +3 -3
- package/lib/form/fields/RadioField/RadioField.js +5 -5
- package/lib/form/fields/SelectField/SelectField.js +5 -5
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +7 -8
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +7 -19
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +3 -3
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +1 -4
- package/lib/form/fields/TextBoxField/TextBoxField.js +5 -5
- package/lib/form/fields/TextEditor/TextEditor.js +4 -4
- package/lib/form/fields/TextEditor/TextEditor.module.css +71 -143
- package/lib/form/fields/TextEditorField/TextEditorField.js +5 -5
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +4 -4
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +2 -13
- package/lib/form/fields/TextareaField/TextareaField.js +5 -5
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +3 -3
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +4 -9
- package/lib/form/layout/Field/Field.js +3 -3
- package/lib/form/layout/Section/Section.js +3 -3
- package/lib/index.js +4 -4
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +4 -4
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +16 -52
- package/lib/layout/SetupDetailLayout/index.js +7 -7
- package/lib/layout/SubtabLayout/SubtabLayout.js +4 -4
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +29 -55
- package/lib/layout/SubtabLayout/index.js +9 -9
- package/lib/list/AvatarFlip/AvatarFlip.js +3 -3
- package/lib/list/BluePrintStatus/BluePrintStatus.js +3 -3
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +3 -6
- package/lib/list/Comment/Comment.js +3 -3
- package/lib/list/Comment/Comment.module.css +0 -5
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +3 -3
- package/lib/list/Dot/Dot.js +3 -3
- package/lib/list/DotNew/DotNew.js +3 -3
- package/lib/list/DotNew/DotNew.module.css +6 -6
- package/lib/list/GridStencils/GridStencils.js +3 -3
- package/lib/list/GridStencils/GridStencils.module.css +16 -70
- package/lib/list/Icons/AddNewIcon.js +3 -3
- package/lib/list/Icons/CompleteIcon.js +3 -3
- package/lib/list/Icons/DeleteIcon.js +3 -3
- package/lib/list/Icons/EditIcon.js +3 -3
- package/lib/list/Icons/FloatingIcons.js +3 -3
- package/lib/list/Icons/Icons.module.css +1 -1
- package/lib/list/Icons/ReadUnreadIcon.js +3 -3
- package/lib/list/Icons/SmartIcon.js +3 -3
- package/lib/list/ListLayout/ListLayout.js +4 -4
- package/lib/list/ListLayout/ListLayout.module.css +14 -22
- package/lib/list/ListStencils/ListStencils.js +3 -3
- package/lib/list/ListStencils/ListStencils.module.css +6 -11
- package/lib/list/SecondaryText/AccountName.js +3 -3
- package/lib/list/SecondaryText/ContactName.js +3 -3
- package/lib/list/SecondaryText/DepartmentText.js +3 -3
- package/lib/list/SecondaryText/Email.js +3 -3
- package/lib/list/SecondaryText/HappinessRating.js +3 -3
- package/lib/list/SecondaryText/PhoneNumber.js +3 -3
- package/lib/list/SecondaryText/PriorityText.js +3 -3
- package/lib/list/SecondaryText/SecondaryText.js +3 -3
- package/lib/list/SecondaryText/SecondaryText.module.css +3 -13
- package/lib/list/SecondaryText/StatusText.js +3 -3
- package/lib/list/SecondaryText/TicketId.js +3 -3
- package/lib/list/SecondaryText/Website.js +3 -3
- package/lib/list/SecondaryText/index.js +22 -22
- package/lib/list/SecondryPanel/SecondryPanel.js +4 -4
- package/lib/list/SentimentStatus/SentimentStatus.js +3 -3
- package/lib/list/SentimentStatus/SentimentStatus.module.css +1 -4
- package/lib/list/Subject/Subject.js +3 -3
- package/lib/list/TagNew/TagNew.js +3 -3
- package/lib/list/TagNew/TagNew.module.css +7 -14
- package/lib/list/Thread/Thread.js +3 -3
- package/lib/list/Thread/Thread.module.css +1 -13
- package/lib/list/UserTime/UserTime.js +3 -3
- package/lib/list/UserTime/UserTime.module.css +0 -6
- package/lib/list/listCommon.module.css +1 -9
- package/lib/list/status/StatusDropdown/StatusDropdown.js +3 -3
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +6 -19
- package/lib/list/status/StatusListItem/StatusListItem.js +3 -3
- package/lib/list/status/StatusListItem/StatusListItem.module.css +15 -38
- package/lib/lookup/EmptyPage/EmptyPage.js +3 -3
- package/lib/lookup/Lookup/Lookup.js +3 -3
- package/lib/lookup/Lookup/Lookup.module.css +2 -2
- package/lib/lookup/Section/LookupSection.module.css +2 -2
- package/lib/lookup/Section/Section.js +3 -3
- package/lib/lookup/header/Close/Close.js +3 -3
- package/lib/lookup/header/Close/LookupClose.module.css +4 -4
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +3 -3
- package/lib/lookup/header/Search/LookupSearch.module.css +12 -21
- package/lib/lookup/header/Search/Search.js +3 -3
- package/lib/lookup/header/TicketHeader/TicketHeader.js +4 -6
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +3 -7
- package/lib/lookup/header/Title/Title.js +3 -3
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +4 -8
- package/lib/lookup/header/lookupHeaderCommon.module.css +6 -16
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +3 -12
- package/lib/setup/header/Button/Button.js +3 -3
- package/lib/setup/header/Button/HeaderButton.module.css +1 -3
- package/lib/setup/header/Link/HeaderLink.module.css +1 -7
- package/lib/setup/header/Link/Link.js +3 -3
- package/lib/setup/header/Search/Search.js +3 -3
- package/lib/setup/header/Search/Search.module.css +8 -19
- package/lib/setup/header/Views/Views.js +3 -3
- package/lib/setup/header/Views/Views.module.css +5 -15
- package/lib/setup/helptips/Description/Description.js +3 -3
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +0 -1
- package/lib/setup/helptips/Link/Link.js +3 -3
- package/lib/setup/helptips/ListGroup/ListGroup.js +3 -3
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +1 -6
- package/lib/setup/helptips/Title/Title.js +3 -3
- package/lib/setup/table/Table/Table.js +3 -3
- package/lib/setup/table/TableBody/TableBody.js +3 -3
- package/lib/setup/table/TableData/SetupTableData.module.css +3 -11
- package/lib/setup/table/TableData/TableData.js +3 -3
- package/lib/setup/table/TableHead/SetupTableHead.module.css +0 -4
- package/lib/setup/table/TableHead/TableHead.js +3 -3
- package/lib/setup/table/TableRow/SetupTableRow.module.css +2 -6
- package/lib/setup/table/TableRow/TableRow.js +3 -3
- package/lib/setup/table/Text/Text.js +3 -3
- package/lib/svg/PlusIcon.js +3 -3
- package/lib/svg/SnippetIcon.js +3 -3
- package/lib/svg/TemplateIcon.js +3 -3
- package/lib/utils/ChannelIconMapping.js +1 -1
- package/lib/utils/General.js +4 -4
- package/lib/utils/KeyboardApi.js +1 -3
- package/lib/utils/editorUtils.js +6 -6
- package/lib/version2/AlertClose/AlertClose.js +3 -3
- package/lib/version2/AlertClose/AlertClose.module.css +1 -1
- package/lib/version2/GlobalNotification/GlobalNotification.js +10 -22
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +9 -44
- package/lib/version2/alertIcons/AlarmAlertIcon.js +3 -3
- package/lib/version2/alertIcons/AlertIcons.js +3 -3
- package/lib/version2/alertIcons/DangerAlertIcon.js +3 -3
- package/lib/version2/alertIcons/ErrorAlertIcon.js +3 -3
- package/lib/version2/alertIcons/InfoAlertIcon.js +3 -3
- package/lib/version2/alertIcons/NotificationAlertIcon.js +3 -3
- package/lib/version2/alertIcons/SuccessAlertIcon.js +3 -3
- package/lib/version2/alertIcons/WarningAlertIcon.js +3 -3
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -3
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -3
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -3
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -3
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +3 -3
- package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +2 -25
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +3 -3
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +3 -7
- package/lib/version2/lookup/alertLookupCommonNew.module.css +1 -8
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +6 -14
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +14 -29
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +3 -3
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +10 -47
- package/package.json +1 -1
|
@@ -34,38 +34,25 @@
|
|
|
34
34
|
-webkit-line-clamp: 2;
|
|
35
35
|
}
|
|
36
36
|
.checkboxText {
|
|
37
|
+
padding-left: var(--zd_size6);
|
|
37
38
|
composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
38
39
|
line-height: normal;
|
|
39
40
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
[dir=rtl] .checkboxText {
|
|
44
|
-
padding-right: var(--zd_size6);
|
|
41
|
+
.cbTextReadonly {
|
|
42
|
+
cursor: not-allowed;
|
|
45
43
|
}
|
|
46
44
|
.cbTextPointer {
|
|
47
45
|
cursor: pointer;
|
|
48
46
|
}
|
|
49
|
-
.disabled
|
|
50
|
-
|
|
47
|
+
.disabled {
|
|
48
|
+
composes: disabled from '~@zohodesk/components/lib/common/common.module.css';
|
|
51
49
|
}
|
|
52
|
-
.
|
|
53
|
-
.disabled .fieldLabel,
|
|
54
|
-
.readonly .fieldLabel {
|
|
55
|
-
--label_cursor: not-allowed;
|
|
56
|
-
}
|
|
57
|
-
[dir=ltr] .radio {
|
|
50
|
+
.radio {
|
|
58
51
|
margin: var(--zd_size5) var(--zd_size32) var(--zd_size5) 0;
|
|
59
52
|
}
|
|
60
|
-
|
|
61
|
-
margin: var(--zd_size5) 0 var(--zd_size5) var(--zd_size32);
|
|
62
|
-
}
|
|
63
|
-
[dir=ltr] .duration {
|
|
53
|
+
.duration {
|
|
64
54
|
margin-right: var(--zd_size15);
|
|
65
55
|
}
|
|
66
|
-
[dir=rtl] .duration {
|
|
67
|
-
margin-left: var(--zd_size15);
|
|
68
|
-
}
|
|
69
56
|
.durationWidth {
|
|
70
57
|
width: var(--zd_size94);
|
|
71
58
|
}
|
|
@@ -79,8 +66,8 @@
|
|
|
79
66
|
}
|
|
80
67
|
.phoneIcon {
|
|
81
68
|
color: var(--zdt_fields_phoneicon_icon);
|
|
82
|
-
display: inline-block;
|
|
83
69
|
margin: var(--zd_size15) var(--zd_size10) 0 var(--zd_size10);
|
|
70
|
+
display: inline-block;
|
|
84
71
|
cursor: pointer;
|
|
85
72
|
}
|
|
86
73
|
.phoneIcon:hover {
|
|
@@ -99,13 +86,8 @@
|
|
|
99
86
|
.lockIcon,
|
|
100
87
|
.infoIcon {
|
|
101
88
|
color: var(--zdt_fields_lockicon_icon);
|
|
102
|
-
composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
|
|
103
|
-
}
|
|
104
|
-
[dir=ltr] .lockIcon, [dir=ltr] .infoIcon {
|
|
105
89
|
margin-left: var(--zd_size5);
|
|
106
|
-
|
|
107
|
-
[dir=rtl] .lockIcon, [dir=rtl] .infoIcon {
|
|
108
|
-
margin-right: var(--zd_size5);
|
|
90
|
+
composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
|
|
109
91
|
}
|
|
110
92
|
/* .infoIcon {
|
|
111
93
|
opacity: 0;
|
|
@@ -123,25 +105,15 @@
|
|
|
123
105
|
}
|
|
124
106
|
.timeFormat {
|
|
125
107
|
font-size: var(--zd_font_size11);
|
|
126
|
-
color: var(--zdt_fields_lockicon_icon);
|
|
127
|
-
}
|
|
128
|
-
[dir=ltr] .timeFormat {
|
|
129
108
|
margin-left: var(--zd_size4);
|
|
130
|
-
|
|
131
|
-
[dir=rtl] .timeFormat {
|
|
132
|
-
margin-right: var(--zd_size4);
|
|
109
|
+
color: var(--zdt_fields_lockicon_icon);
|
|
133
110
|
}
|
|
134
111
|
.newTab {
|
|
112
|
+
margin-left: var(--zd_size6);
|
|
113
|
+
cursor: pointer;
|
|
135
114
|
color: var(--zdt_fields_lockicon_icon);
|
|
136
115
|
font-size: 0;
|
|
137
116
|
display: none;
|
|
138
|
-
cursor: pointer;
|
|
139
|
-
}
|
|
140
|
-
[dir=ltr] .newTab {
|
|
141
|
-
margin-left: var(--zd_size6);
|
|
142
|
-
}
|
|
143
|
-
[dir=rtl] .newTab {
|
|
144
|
-
margin-right: var(--zd_size6);
|
|
145
117
|
}
|
|
146
118
|
.newTab:hover {
|
|
147
119
|
color: var(--zdt_fields_phoneicon_icon);
|
|
@@ -156,28 +128,18 @@
|
|
|
156
128
|
}
|
|
157
129
|
.labelMandatory:after {
|
|
158
130
|
content: '*';
|
|
159
|
-
color: var(--zdt_fields_lockicon_hover_icon);
|
|
160
|
-
}
|
|
161
|
-
[dir=ltr] .labelMandatory:after {
|
|
162
131
|
padding-left: var(--zd_size2);
|
|
163
|
-
|
|
164
|
-
[dir=rtl] .labelMandatory:after {
|
|
165
|
-
padding-right: var(--zd_size2);
|
|
132
|
+
color: var(--zdt_fields_lockicon_hover_icon);
|
|
166
133
|
}
|
|
167
134
|
.ePhiTag {
|
|
168
135
|
composes: flexshrink from '~@zohodesk/components/lib/common/common.module.css';
|
|
169
136
|
color: var(--zdt_fields_phitag_text);
|
|
170
|
-
font-size: var(--zd_font_size12);
|
|
171
|
-
height: var(--zd_size18);
|
|
172
|
-
line-height: var(--zd_size18);
|
|
173
137
|
background-color: var(--zdt_fields_phitag_bg);
|
|
174
138
|
border: 1px solid var(--zdt_fields_phitag_border);
|
|
139
|
+
font-size: var(--zd_font_size12);
|
|
175
140
|
padding: 0 var(--zd_size5);
|
|
176
141
|
border-radius: var(--zd_size3);
|
|
177
|
-
}
|
|
178
|
-
[dir=ltr] .ePhiTag {
|
|
179
142
|
margin-left: var(--zd_size8);
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
margin-right: var(--zd_size8);
|
|
143
|
+
height: var(--zd_size18);
|
|
144
|
+
line-height: var(--zd_size18);
|
|
183
145
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -35,9 +35,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
35
35
|
|
|
36
36
|
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); } }
|
|
37
37
|
|
|
38
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
38
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
39
39
|
|
|
40
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
40
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
41
41
|
|
|
42
42
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
43
43
|
|
|
@@ -184,7 +184,7 @@ var MultiSelectField = /*#__PURE__*/function (_PureComponent) {
|
|
|
184
184
|
var isDarkPalette = palette === 'dark';
|
|
185
185
|
var uniqueId = htmlId ? htmlId : this.getNextId();
|
|
186
186
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
187
|
-
className: "".concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled :
|
|
187
|
+
className: "".concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled : ''),
|
|
188
188
|
"data-title": isDisabled ? title : ''
|
|
189
189
|
}, labelName && /*#__PURE__*/_react["default"].createElement("div", {
|
|
190
190
|
className: _FieldsModule["default"].labelContainer
|
|
@@ -194,7 +194,7 @@ var MultiSelectField = /*#__PURE__*/function (_PureComponent) {
|
|
|
194
194
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
195
195
|
palette: isDarkPalette ? 'dark' : isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette // onClick={this.handleLabelClick}
|
|
196
196
|
,
|
|
197
|
-
customClass: "".concat(
|
|
197
|
+
customClass: "".concat(isMandatory ? _FieldsModule["default"].labelMandatory : ''),
|
|
198
198
|
dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label"),
|
|
199
199
|
htmlFor: uniqueId
|
|
200
200
|
}, LabelProps)), infoText ? /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -35,9 +35,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
35
35
|
|
|
36
36
|
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); } }
|
|
37
37
|
|
|
38
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
38
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
39
39
|
|
|
40
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
40
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
41
41
|
|
|
42
42
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
43
43
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -31,9 +31,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
31
31
|
|
|
32
32
|
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); } }
|
|
33
33
|
|
|
34
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
34
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
35
35
|
|
|
36
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
36
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
37
37
|
|
|
38
38
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
39
39
|
|
|
@@ -105,14 +105,14 @@ var RadioField = /*#__PURE__*/function (_PureComponent) {
|
|
|
105
105
|
_customProps$Validati2 = customProps.ValidationMessageProps2,
|
|
106
106
|
ValidationMessageProps2 = _customProps$Validati2 === void 0 ? {} : _customProps$Validati2;
|
|
107
107
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
108
|
-
className: "".concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled :
|
|
108
|
+
className: "".concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled : ''),
|
|
109
109
|
"data-title": isDisabled ? title : ''
|
|
110
110
|
}, labelName && /*#__PURE__*/_react["default"].createElement(_Label["default"], _extends({
|
|
111
111
|
text: labelName,
|
|
112
112
|
size: "medium",
|
|
113
113
|
id: id,
|
|
114
114
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : 'default',
|
|
115
|
-
customClass: "".concat(
|
|
115
|
+
customClass: "".concat(isMandatory ? _FieldsModule["default"].labelMandatory : ''),
|
|
116
116
|
dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
|
|
117
117
|
}, LabelProps)), /*#__PURE__*/_react["default"].createElement("div", {
|
|
118
118
|
className: "".concat(_FieldsModule["default"].fieldContainer, " ").concat(labelName ? _FieldsModule["default"].fieldMargin_medium : '', " ").concat(_FieldsModule["default"].radioContainer)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -35,9 +35,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
35
35
|
|
|
36
36
|
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); } }
|
|
37
37
|
|
|
38
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
38
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
39
39
|
|
|
40
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
40
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
41
41
|
|
|
42
42
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
43
43
|
|
|
@@ -152,7 +152,7 @@ var SelectField = /*#__PURE__*/function (_PureComponent) {
|
|
|
152
152
|
ValidationMessageProps2 = _customProps$Validati2 === void 0 ? {} : _customProps$Validati2;
|
|
153
153
|
var uniqueId = htmlId ? htmlId : this.getNextId();
|
|
154
154
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
155
|
-
className: "".concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled :
|
|
155
|
+
className: "".concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled : ''),
|
|
156
156
|
"data-title": isDisabled ? title : ''
|
|
157
157
|
}, labelName && /*#__PURE__*/_react["default"].createElement("div", {
|
|
158
158
|
className: _FieldsModule["default"].labelContainer
|
|
@@ -160,7 +160,7 @@ var SelectField = /*#__PURE__*/function (_PureComponent) {
|
|
|
160
160
|
text: labelName,
|
|
161
161
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
162
162
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
163
|
-
customClass: "".concat(
|
|
163
|
+
customClass: "".concat(labelCustomClass, " ").concat(isMandatory ? _FieldsModule["default"].labelMandatory : ''),
|
|
164
164
|
htmlFor: uniqueId,
|
|
165
165
|
dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
|
|
166
166
|
}, LabelProps)), infoText ? /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -41,9 +41,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
41
41
|
|
|
42
42
|
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); } }
|
|
43
43
|
|
|
44
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
44
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
45
45
|
|
|
46
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
46
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
47
47
|
|
|
48
48
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
49
49
|
|
|
@@ -200,10 +200,10 @@ var TagsMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
200
200
|
key: index
|
|
201
201
|
}, /*#__PURE__*/_react["default"].createElement(_Tag["default"], {
|
|
202
202
|
text: name,
|
|
203
|
-
onRemove:
|
|
203
|
+
onRemove: deleteTag.bind(_this3, name),
|
|
204
204
|
closeTitle: i18nKeys.deleteText,
|
|
205
205
|
palette: tagType === 'SYSTEM' ? 'primary' : 'default',
|
|
206
|
-
|
|
206
|
+
disabled: isReadOnly
|
|
207
207
|
})) : null;
|
|
208
208
|
}), tagsList.length > chipNeedToShow && !isPopupReady ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
209
209
|
className: _TagsMultiSelectModule["default"].moreLess,
|
|
@@ -226,7 +226,7 @@ var TagsMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
226
226
|
isReadOnly: isReadOnly,
|
|
227
227
|
ref: this.textBoxRef,
|
|
228
228
|
needBorder: false,
|
|
229
|
-
placeHolder: tagsList.length ? '' :
|
|
229
|
+
placeHolder: tagsList.length ? '' : '-',
|
|
230
230
|
onClick: !isReadOnly ? handleTogglePopup : undefined,
|
|
231
231
|
customClass: {
|
|
232
232
|
customTBoxWrap: _TagsMultiSelectModule["default"].custmInp,
|
|
@@ -329,8 +329,7 @@ TagsMultiSelect.propTypes = {
|
|
|
329
329
|
errorMessage: _propTypes["default"].string.isRequired,
|
|
330
330
|
deleteText: _propTypes["default"].string.isRequired,
|
|
331
331
|
lessText: _propTypes["default"].string.isRequired,
|
|
332
|
-
moreText: _propTypes["default"].string.isRequired
|
|
333
|
-
placeholderText: _propTypes["default"].string
|
|
332
|
+
moreText: _propTypes["default"].string.isRequired
|
|
334
333
|
}),
|
|
335
334
|
borderColor: _propTypes["default"].oneOf(['transparent', 'default', 'dark']),
|
|
336
335
|
needBorder: _propTypes["default"].bool,
|
|
@@ -1,28 +1,26 @@
|
|
|
1
1
|
.tag {
|
|
2
2
|
max-width: 100%;
|
|
3
3
|
}
|
|
4
|
-
|
|
4
|
+
.moreLess,
|
|
5
|
+
.tag {
|
|
5
6
|
margin: 0 var(--zd_size6) var(--zd_size6) 0;
|
|
6
7
|
}
|
|
7
|
-
[dir=rtl] .moreLess, [dir=rtl] .tag {
|
|
8
|
-
margin: 0 0 var(--zd_size6) var(--zd_size6);
|
|
9
|
-
}
|
|
10
8
|
.input {
|
|
11
9
|
height: var(--zd_size20);
|
|
12
|
-
width: 100%;
|
|
13
10
|
margin-bottom: var(--zd_size4);
|
|
11
|
+
width: 100%;
|
|
14
12
|
}
|
|
15
13
|
.viewpopNew {
|
|
16
14
|
max-height: var(--zd_size250);
|
|
17
15
|
}
|
|
18
16
|
.tagDiv {
|
|
19
|
-
max-height: var(--zd_size160);
|
|
20
17
|
margin-top: var(--zd_size5);
|
|
18
|
+
max-height: var(--zd_size160);
|
|
21
19
|
}
|
|
22
20
|
.hasBorder {
|
|
23
|
-
transition: border var(--zd_transition2) linear 0s;
|
|
24
21
|
border-bottom-style: solid;
|
|
25
22
|
border-bottom-width: 1px;
|
|
23
|
+
transition: border var(--zd_transition2) linear 0s;
|
|
26
24
|
}
|
|
27
25
|
.borderColor_transparent {
|
|
28
26
|
border-bottom-color: var(--zdt_tagsmultiselect_transparent_border);
|
|
@@ -66,15 +64,10 @@
|
|
|
66
64
|
font-size: 0;
|
|
67
65
|
}
|
|
68
66
|
.newTagLabel {
|
|
67
|
+
margin-right: var(--zd_size5);
|
|
69
68
|
color: var(--zdt_tagsmultiselect_labelt_text);
|
|
70
69
|
composes: semibold from '~@zohodesk/components/lib/common/common.module.css';
|
|
71
70
|
}
|
|
72
|
-
[dir=ltr] .newTagLabel {
|
|
73
|
-
margin-right: var(--zd_size5);
|
|
74
|
-
}
|
|
75
|
-
[dir=rtl] .newTagLabel {
|
|
76
|
-
margin-left: var(--zd_size5);
|
|
77
|
-
}
|
|
78
71
|
.dotted {
|
|
79
72
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
80
73
|
}
|
|
@@ -94,13 +87,8 @@
|
|
|
94
87
|
.custmInp {
|
|
95
88
|
position: absolute;
|
|
96
89
|
top: 0;
|
|
97
|
-
width: 100%;
|
|
98
|
-
}
|
|
99
|
-
[dir=ltr] .custmInp {
|
|
100
90
|
left: 0;
|
|
101
|
-
|
|
102
|
-
[dir=rtl] .custmInp {
|
|
103
|
-
right: 0;
|
|
91
|
+
width: 100%;
|
|
104
92
|
}
|
|
105
93
|
.newTagText {
|
|
106
94
|
color: var(--zdt_tagsmultiselect_more_text);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -220,7 +220,7 @@ var TagsMultiSelectField = function TagsMultiSelectField(props) {
|
|
|
220
220
|
};
|
|
221
221
|
}, []);
|
|
222
222
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
223
|
-
className:
|
|
223
|
+
className: _TagsMultiSelectFieldModule["default"].container
|
|
224
224
|
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
225
225
|
alignBox: "row",
|
|
226
226
|
align: "baseline",
|
|
@@ -231,7 +231,7 @@ var TagsMultiSelectField = function TagsMultiSelectField(props) {
|
|
|
231
231
|
id: id,
|
|
232
232
|
size: labelSize,
|
|
233
233
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
234
|
-
customClass: "".concat(
|
|
234
|
+
customClass: "".concat(isMandatory ? _FieldsModule["default"].labelMandatory : '', " ").concat(labelClass ? labelClass : ''),
|
|
235
235
|
dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label"),
|
|
236
236
|
htmlFor: htmlId
|
|
237
237
|
}, LabelProps)), selectedValueCount ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
.count {
|
|
2
2
|
color: var(--zdt_tagsmultiselectField_count_text);
|
|
3
3
|
font-size: var(--zd_font_size12);
|
|
4
|
-
word-break: break-word;
|
|
5
|
-
}[dir=ltr] .count {
|
|
6
4
|
margin-left: var(--zd_size4);
|
|
7
|
-
|
|
8
|
-
margin-right: var(--zd_size4);
|
|
5
|
+
word-break: break-word;
|
|
9
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -35,9 +35,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
35
35
|
|
|
36
36
|
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); } }
|
|
37
37
|
|
|
38
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
38
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
39
39
|
|
|
40
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
40
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
41
41
|
|
|
42
42
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
43
43
|
|
|
@@ -146,7 +146,7 @@ var TextBoxField = /*#__PURE__*/function (_PureComponent) {
|
|
|
146
146
|
ePhiStatus = _ePhiData$ePhiStatus === void 0 ? false : _ePhiData$ePhiStatus;
|
|
147
147
|
var uniqueId = htmlId ? htmlId : this.getNextId();
|
|
148
148
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
149
|
-
className: "".concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled :
|
|
149
|
+
className: "".concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled : ''),
|
|
150
150
|
"data-title": isDisabled ? title : ''
|
|
151
151
|
}, labelName && /*#__PURE__*/_react["default"].createElement("div", {
|
|
152
152
|
className: _FieldsModule["default"].labelContainer
|
|
@@ -154,7 +154,7 @@ var TextBoxField = /*#__PURE__*/function (_PureComponent) {
|
|
|
154
154
|
text: labelName,
|
|
155
155
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
156
156
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
157
|
-
customClass: "".concat(
|
|
157
|
+
customClass: "".concat(labelCustomClass, " ").concat(isMandatory ? _FieldsModule["default"].labelMandatory : ''),
|
|
158
158
|
htmlFor: uniqueId,
|
|
159
159
|
dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
|
|
160
160
|
}, LabelProps)), infoText ? /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -31,9 +31,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
31
31
|
|
|
32
32
|
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); } }
|
|
33
33
|
|
|
34
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
34
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
35
35
|
|
|
36
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
36
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
37
37
|
|
|
38
38
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
39
39
|
|
|
@@ -279,7 +279,7 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
279
279
|
|
|
280
280
|
if (isCustomScroll) {
|
|
281
281
|
var link = document.createElement('style');
|
|
282
|
-
link.innerText = "
|
|
282
|
+
link.innerText = ".scroll{--zd-scroll-width:12px;--zd-scroll-height:12px;--zd-scroll-bg:rgba(255,255,255,0.1);--zd-scroll-corner-bg:transparent;--zd-scroll-thump:rgba(44,51,77,0.2);--zd-scroll-thump-hoverbg:rgba(44,51,77,0.3);--zd-scroll-border:rgba(44,51,77,0.1)}.scroll[data-scroll-palette='dark'],.scroll [data-scroll-palette='dark']{--zd-scroll-thump:rgba(255,255,255,0.2);--zd-scroll-thump-hoverbg:rgba(255,255,255,0.4);--zd-scroll-border:rgba(255,255,255,0.07)}.scroll,.scroll *{scrollbar-color:var(--zd-scroll-thump) var(--zd-scroll-bg);scrollbar-width:thin;-ms-scrollbar-highlight-color:var(--zd-scroll-bg);-ms-scrollbar-face-color:var(--zd-scroll-thump)}.scroll::-webkit-scrollbar,.scroll ::-webkit-scrollbar{background:var(--zd-scroll-corner-bg)}.scroll::-webkit-scrollbar:hover,.scroll ::-webkit-scrollbar:hover{background:var(--zd-scroll-bg)}.scroll::-webkit-scrollbar:horizontal,.scroll ::-webkit-scrollbar:horizontal{height:var(--zd-scroll-height)}.scroll::-webkit-scrollbar:vertical,.scroll ::-webkit-scrollbar:vertical{width:var(--zd-scroll-width)}.scroll::-webkit-scrollbar-button,.scroll ::-webkit-scrollbar-button{display:none;width:0;height:0}.scroll::-webkit-scrollbar-track:vertical,.scroll ::-webkit-scrollbar-track:vertical{border-left:1px solid transparent;border-right:1px solid transparent}.scroll::-webkit-scrollbar-track:vertical:hover,.scroll ::-webkit-scrollbar-track:vertical:hover{border-color:var(--zd-scroll-border)}.scroll::-webkit-scrollbar-track:horizontal,.scroll ::-webkit-scrollbar-track:horizontal{border-top:1px solid transparent;border-bottom:1px solid transparent}.scroll::-webkit-scrollbar-track:horizontal:hover,.scroll ::-webkit-scrollbar-track:horizontal:hover{border-color:var(--zd-scroll-border)}.scroll::-webkit-scrollbar-track-piece,.scroll ::-webkit-scrollbar-track-piece{background:inherit}.scroll::-webkit-scrollbar-thumb,.scroll ::-webkit-scrollbar-thumb{border-radius:10px;background:var(--zd-scroll-thump);background-clip:padding-box;border:3px solid transparent}.scroll::-webkit-scrollbar-thumb:hover,.scroll ::-webkit-scrollbar-thumb:hover{background:var(--zd-scroll-thump-hoverbg);background-clip:padding-box;border:3px solid transparent}.scroll::-webkit-scrollbar-corner,.scroll ::-webkit-scrollbar-corner{background:var(--zd-scroll-corner-bg)}.scroll::-webkit-resizer,.scroll::-webkit-resizer{background:inherit}";
|
|
283
283
|
iframeHead.appendChild(link);
|
|
284
284
|
iframe.classList.add('scroll');
|
|
285
285
|
}
|