@zohodesk/dot 1.0.0-temp-140 → 1.0.0-temp-141
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1218 -1232
- package/assets/Appearance/dark/mode/dotDarkMode.module.css +301 -306
- package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +9 -9
- package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +9 -9
- package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +9 -9
- package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +9 -9
- package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +9 -9
- package/assets/Appearance/default/mode/dotDefaultMode.module.css +296 -301
- package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +9 -9
- package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +9 -9
- package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +9 -9
- package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +9 -9
- package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +9 -9
- package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +304 -309
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +9 -9
- package/assets/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +9 -9
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +9 -9
- package/assets/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +9 -9
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +9 -9
- package/dubFinder.js +96 -96
- package/es/ActionButton/ActionButton.module.css +139 -139
- package/es/AlphabeticList/AlphabeticList.module.css +57 -57
- package/es/Attachment/Attachment.module.css +157 -157
- package/es/AttachmentViewer/AttachmentViewer.module.css +354 -353
- package/es/ChannelIcon/ChannelIcon.module.css +217 -217
- package/es/Drawer/Drawer.js +0 -0
- package/es/Drawer/Drawer.module.css +150 -189
- package/es/ExternalLink/ExternalLink.js +0 -0
- package/es/ExternalLink/ExternalLink.module.css +3 -3
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/es/FlipCard/FlipCard.module.css +44 -44
- package/es/FormAction/FormAction.module.css +82 -82
- package/es/FreezeLayer/FreezeLayer.js +7 -2
- package/es/FreezeLayer/css/FreezeLayer.module.css +42 -42
- package/es/IconButton/IconButton.module.css +22 -22
- package/es/Image/Image.module.css +10 -10
- package/es/ImportantNotes/ImportantNotes.module.css +20 -20
- package/es/Link/Link.js +0 -0
- package/es/Link/Link.module.css +3 -3
- package/es/Loader/Loader.module.css +46 -46
- package/es/Message/Message.module.css +102 -102
- package/es/MessageBanner/MessageBanner.module.css +46 -46
- package/es/NewStar/NewStar.module.css +175 -175
- package/es/PlusIcon/PlusIcon.js +0 -0
- package/es/PlusIcon/PlusIcon.module.css +16 -19
- package/es/Separator/Separator.module.css +34 -34
- package/es/ToastMessage/ToastMessage.js +0 -0
- package/es/ToastMessage/ToastMessage.module.css +328 -329
- package/es/Upload/Upload.module.css +125 -125
- package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
- package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
- package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/es/avatar/AvatarStatus/AvatarStatus.js +0 -0
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
- package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
- package/es/avatar/AvatarUser/AvatarUser.js +0 -0
- package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
- package/es/common/dot_animation.module.css +26 -26
- package/es/common/dot_common.module.css +3 -3
- package/es/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
- package/es/deprecated/utils/KeyboardApi.js +25 -25
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +3 -14
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +101 -100
- package/es/dropdown/ToggleDropDown/props/defaultProps.js +1 -3
- package/es/dropdown/ToggleDropDown/props/propTypes.js +1 -6
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
- package/es/emptystate/EditionPage/EditionPage.css +43 -43
- package/es/errorstate/EmptyStates.module.css +87 -87
- package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
- package/es/errorstate/LinkText/LinkText.module.css +6 -6
- package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
- package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
- package/es/errorstate/WillBack/WillBack.module.css +34 -34
- package/es/form/fields/CheckBoxField/CheckBoxField.js +0 -0
- package/es/form/fields/Fields.module.css +183 -183
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
- package/es/form/fields/TextEditor/TextEditor.module.css +666 -764
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/es/form/layout/Field/Field.js +0 -0
- package/es/form/layout/Field/Field.module.css +22 -22
- package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
- package/es/form/layout/Section/Section.js +0 -0
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
- package/es/layout/SubtabLayout/SubtabLayout.module.css +146 -165
- package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
- package/es/list/Comment/Comment.module.css +29 -29
- package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
- package/es/list/Dot/Dot.module.css +15 -15
- package/es/list/DotNew/DotNew.module.css +22 -25
- package/es/list/GridStencils/GridStencils.module.css +146 -146
- package/es/list/Icons/Icons.module.css +16 -16
- package/es/list/ListLayout/ListLayout.module.css +57 -57
- package/es/list/ListStencils/ListStencils.module.css +67 -67
- package/es/list/SecondaryText/SecondaryText.module.css +136 -136
- package/es/list/SecondaryText/Website.js +0 -0
- package/es/list/SecondryPanel/SecondryPanel.js +0 -0
- package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
- package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
- package/es/list/Subject/Subject.module.css +27 -27
- package/es/list/TagNew/TagNew.module.css +115 -117
- package/es/list/Thread/Thread.module.css +42 -42
- package/es/list/UserTime/UserTime.module.css +58 -58
- package/es/list/listCommon.module.css +60 -60
- package/es/list/status/StatusDropdown/StatusDropdown.js +1 -3
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
- package/es/list/status/StatusDropdown/props/defaultProps.js +1 -2
- package/es/list/status/StatusDropdown/props/propTypes.js +1 -2
- package/es/list/status/StatusListItem/StatusListItem.js +3 -4
- package/es/list/status/StatusListItem/StatusListItem.module.css +104 -109
- package/es/list/status/StatusListItem/props/defaultProps.js +1 -2
- package/es/list/status/StatusListItem/props/propTypes.js +0 -1
- package/es/lookup/EmptyPage/EmptyPage.js +0 -0
- package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
- package/es/lookup/Lookup/DraggerUtil.js +31 -0
- package/es/lookup/Lookup/Lookup.js +0 -0
- package/es/lookup/Lookup/Lookup.module.css +33 -26
- package/es/lookup/Lookup/useDragger.js +65 -0
- package/es/lookup/Section/LookupSection.module.css +8 -8
- package/es/lookup/Section/Section.js +1 -0
- package/es/lookup/header/Close/LookupClose.module.css +15 -15
- package/es/lookup/header/Search/LookupSearch.module.css +57 -57
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
- package/es/lookup/header/Title/LookupTitle.module.css +20 -20
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
- package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
- package/es/setup/header/Button/HeaderButton.module.css +5 -5
- package/es/setup/header/Link/HeaderLink.module.css +21 -21
- package/es/setup/header/Search/Search.module.css +68 -68
- package/es/setup/header/Views/Views.module.css +37 -37
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
- package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
- package/es/setup/helptips/Link/Link.js +0 -0
- package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
- package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
- package/es/setup/helptips/Title/Title.js +0 -0
- package/es/setup/table/TableData/SetupTableData.module.css +44 -44
- package/es/setup/table/TableData/Tablehover.module.css +6 -6
- package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
- package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
- package/es/setup/table/Text/TableText.module.css +37 -37
- package/es/setup/table/Text/Text.js +0 -0
- package/es/svg/PlusIcon.js +1 -1
- package/es/svg/SnippetIcon.js +2 -2
- package/es/version2/AlertClose/AlertClose.module.css +42 -42
- package/es/version2/GlobalNotification/GlobalNotification.module.css +124 -127
- package/es/version2/alertIcons/AlertIcons.module.css +67 -67
- package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
- package/es/version2/lookup/AlertHeader/AlertHeader.js +2 -1
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +88 -86
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
- package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -127
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
- package/install.md +12 -12
- package/lib/ActionButton/ActionButton.js +3 -1
- package/lib/ActionButton/ActionButton.module.css +139 -139
- package/lib/AlphabeticList/AlphabeticList.js +3 -1
- package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
- package/lib/AlphabeticList/props/propTypes.js +1 -1
- package/lib/Attachment/Attachment.js +3 -1
- package/lib/Attachment/Attachment.module.css +157 -157
- package/lib/AttachmentViewer/AttachmentImage.js +3 -1
- package/lib/AttachmentViewer/AttachmentViewer.js +4 -2
- package/lib/AttachmentViewer/AttachmentViewer.module.css +354 -353
- package/lib/AttachmentViewer/utils.js +4 -1
- package/lib/ChannelIcon/ChannelIcon.js +3 -1
- package/lib/ChannelIcon/ChannelIcon.module.css +217 -217
- package/lib/Drawer/Drawer.js +3 -1
- package/lib/Drawer/Drawer.module.css +150 -189
- package/lib/ExternalLink/ExternalLink.js +3 -1
- package/lib/ExternalLink/ExternalLink.module.css +3 -3
- package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/lib/FlipCard/FlipCard.js +3 -1
- package/lib/FlipCard/FlipCard.module.css +44 -44
- package/lib/FormAction/FormAction.js +3 -1
- package/lib/FormAction/FormAction.module.css +82 -82
- package/lib/FreezeLayer/FreezeLayer.js +10 -2
- package/lib/FreezeLayer/css/FreezeLayer.module.css +42 -42
- package/lib/FreezeLayer/css/cssJSLogic.js +4 -1
- package/lib/FreezeLayer/useFreezeLayer.js +2 -2
- package/lib/IconButton/IconButton.js +3 -1
- package/lib/IconButton/IconButton.module.css +22 -22
- package/lib/IconButton/props/propTypes.js +4 -1
- package/lib/Image/Image.js +3 -1
- package/lib/Image/Image.module.css +10 -10
- package/lib/ImportantNotes/ImportantNotes.js +3 -1
- package/lib/ImportantNotes/ImportantNotes.module.css +20 -20
- package/lib/Link/Link.js +3 -1
- package/lib/Link/Link.module.css +3 -3
- package/lib/Loader/Loader.js +3 -1
- package/lib/Loader/Loader.module.css +46 -46
- package/lib/Message/Message.js +3 -1
- package/lib/Message/Message.module.css +102 -102
- package/lib/MessageBanner/MessageBanner.js +3 -1
- package/lib/MessageBanner/MessageBanner.module.css +46 -46
- package/lib/NewStar/NewStar.js +3 -1
- package/lib/NewStar/NewStar.module.css +175 -175
- package/lib/PlusIcon/PlusIcon.js +3 -1
- package/lib/PlusIcon/PlusIcon.module.css +16 -19
- package/lib/Separator/Separator.js +3 -1
- package/lib/Separator/Separator.module.css +34 -34
- package/lib/ToastMessage/ToastMessage.js +2 -2
- package/lib/ToastMessage/ToastMessage.module.css +328 -329
- package/lib/Upload/Upload.js +3 -1
- package/lib/Upload/Upload.module.css +125 -125
- package/lib/actions/AutoClose.js +2 -2
- package/lib/alert/AlertHeader/AlertHeader.js +3 -1
- package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
- package/lib/alert/AlertLookup/AlertLookup.js +3 -1
- package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
- package/lib/avatar/AvatarClose/AvatarClose.js +3 -1
- package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
- package/lib/avatar/AvatarCollision/AvatarCollision.js +3 -1
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
- package/lib/avatar/AvatarIcon/AvatarIcon.js +3 -1
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/lib/avatar/AvatarStatus/AvatarStatus.js +3 -1
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
- package/lib/avatar/AvatarStatus/props/propTypes.js +4 -1
- package/lib/avatar/AvatarThread/AvatarThread.js +3 -1
- package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
- package/lib/avatar/AvatarUser/AvatarUser.js +5 -2
- package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -1
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
- package/lib/common/dot_animation.module.css +26 -26
- package/lib/common/dot_common.module.css +3 -3
- package/lib/deprecated/FreezeLayer/FreezeLayer.js +3 -1
- package/lib/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +3 -1
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
- package/lib/deprecated/utils/KeyboardApi.js +29 -26
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +7 -16
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +101 -100
- package/lib/dropdown/ToggleDropDown/props/defaultProps.js +1 -3
- package/lib/dropdown/ToggleDropDown/props/propTypes.js +1 -6
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +3 -1
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
- package/lib/emptystate/EditionPage/EditionPage.css +43 -43
- package/lib/emptystate/EditionPage/EditionPage.js +3 -1
- package/lib/errorstate/EmptyStates.module.css +87 -87
- package/lib/errorstate/Inconvenience/Inconvenience.js +3 -1
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
- package/lib/errorstate/LinkText/LinkText.js +3 -1
- package/lib/errorstate/LinkText/LinkText.module.css +6 -6
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +3 -1
- package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +3 -1
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -1
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +3 -1
- package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -1
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
- package/lib/errorstate/WillBack/WillBack.js +3 -1
- package/lib/errorstate/WillBack/WillBack.module.css +34 -34
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +3 -1
- package/lib/form/fields/CheckBoxField/props/defaultProps.js +4 -1
- package/lib/form/fields/CheckBoxField/props/propTypes.js +4 -1
- package/lib/form/fields/CurrencyField/CurrencyField.js +3 -1
- package/lib/form/fields/CurrencyField/props/defaultProps.js +4 -1
- package/lib/form/fields/CurrencyField/props/propTypes.js +4 -1
- package/lib/form/fields/DateField/DateField.js +3 -1
- package/lib/form/fields/DateField/props/defaultProps.js +4 -1
- package/lib/form/fields/DateField/props/propTypes.js +4 -1
- package/lib/form/fields/FieldContainer/FieldContainer.js +3 -1
- package/lib/form/fields/FieldContainer/props/defaultProps.js +4 -1
- package/lib/form/fields/FieldContainer/props/propTypes.js +4 -1
- package/lib/form/fields/Fields.module.css +183 -183
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +3 -1
- package/lib/form/fields/MultiSelectField/props/defaultProps.js +4 -1
- package/lib/form/fields/MultiSelectField/props/propTypes.js +4 -1
- package/lib/form/fields/PhoneField/PhoneField.js +3 -1
- package/lib/form/fields/RadioField/RadioField.js +3 -1
- package/lib/form/fields/SelectField/SelectField.js +3 -1
- package/lib/form/fields/SelectField/props/defaultProps.js +4 -1
- package/lib/form/fields/SelectField/props/propTypes.js +4 -1
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +3 -1
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
- package/lib/form/fields/TagsMultiSelectField/props/defaultProps.js +4 -1
- package/lib/form/fields/TagsMultiSelectField/props/propTypes.js +4 -1
- package/lib/form/fields/TextBoxField/TextBoxField.js +3 -1
- package/lib/form/fields/TextBoxField/props/defaultProps.js +4 -1
- package/lib/form/fields/TextBoxField/props/propTypes.js +4 -1
- package/lib/form/fields/TextEditor/TextEditor.js +4 -2
- package/lib/form/fields/TextEditor/TextEditor.module.css +666 -764
- package/lib/form/fields/TextEditorField/TextEditorField.js +3 -1
- package/lib/form/fields/TextEditorField/props/defaultProps.js +4 -1
- package/lib/form/fields/TextEditorField/props/propTypes.js +4 -1
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -2
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
- package/lib/form/fields/TextareaField/TextareaField.js +3 -1
- package/lib/form/fields/TextareaField/props/defaultProps.js +4 -1
- package/lib/form/fields/TextareaField/props/propTypes.js +4 -1
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +3 -1
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/lib/form/layout/Field/Field.js +3 -1
- package/lib/form/layout/Field/Field.module.css +22 -22
- package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
- package/lib/form/layout/Section/Section.js +3 -1
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +3 -1
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
- package/lib/layout/SubtabLayout/SubtabLayout.js +3 -1
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +146 -165
- package/lib/list/AvatarFlip/AvatarFlip.js +3 -1
- package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
- package/lib/list/BluePrintStatus/BluePrintStatus.js +3 -1
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
- package/lib/list/Comment/Comment.js +3 -1
- package/lib/list/Comment/Comment.module.css +29 -29
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +3 -1
- package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
- package/lib/list/DepartmentDropDown/props/propTypes.js +4 -1
- package/lib/list/Dot/Dot.js +3 -1
- package/lib/list/Dot/Dot.module.css +15 -15
- package/lib/list/DotNew/DotNew.js +3 -1
- package/lib/list/DotNew/DotNew.module.css +22 -25
- package/lib/list/GridStencils/GridStencils.js +3 -1
- package/lib/list/GridStencils/GridStencils.module.css +146 -146
- package/lib/list/Icons/AddNewIcon.js +3 -1
- package/lib/list/Icons/CompleteIcon.js +3 -1
- package/lib/list/Icons/DeleteIcon.js +3 -1
- package/lib/list/Icons/EditIcon.js +3 -1
- package/lib/list/Icons/FloatingIcons.js +3 -1
- package/lib/list/Icons/Icons.module.css +16 -16
- package/lib/list/Icons/ReadUnreadIcon.js +3 -1
- package/lib/list/Icons/SmartIcon.js +3 -1
- package/lib/list/ListLayout/ListLayout.js +3 -1
- package/lib/list/ListLayout/ListLayout.module.css +57 -57
- package/lib/list/ListLayout/props/propTypes.js +4 -1
- package/lib/list/ListStencils/ListStencils.js +3 -1
- package/lib/list/ListStencils/ListStencils.module.css +67 -67
- package/lib/list/SecondaryText/AccountName.js +3 -1
- package/lib/list/SecondaryText/ContactName.js +3 -1
- package/lib/list/SecondaryText/DepartmentText.js +3 -1
- package/lib/list/SecondaryText/Email.js +3 -1
- package/lib/list/SecondaryText/HappinessRating.js +3 -1
- package/lib/list/SecondaryText/PhoneNumber.js +3 -1
- package/lib/list/SecondaryText/PriorityText.js +3 -1
- package/lib/list/SecondaryText/SecondaryText.js +3 -1
- package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
- package/lib/list/SecondaryText/StatusText.js +3 -1
- package/lib/list/SecondaryText/TicketId.js +3 -1
- package/lib/list/SecondaryText/Website.js +3 -1
- package/lib/list/SecondryPanel/SecondryPanel.js +3 -1
- package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
- package/lib/list/SentimentStatus/SentimentStatus.js +3 -1
- package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
- package/lib/list/Subject/Subject.js +3 -1
- package/lib/list/Subject/Subject.module.css +27 -27
- package/lib/list/TagNew/TagNew.js +3 -1
- package/lib/list/TagNew/TagNew.module.css +115 -117
- package/lib/list/Thread/Thread.js +3 -1
- package/lib/list/Thread/Thread.module.css +42 -42
- package/lib/list/UserTime/UserTime.js +3 -1
- package/lib/list/UserTime/UserTime.module.css +58 -58
- package/lib/list/listCommon.module.css +60 -60
- package/lib/list/status/StatusDropdown/StatusDropdown.js +4 -4
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
- package/lib/list/status/StatusDropdown/props/defaultProps.js +1 -2
- package/lib/list/status/StatusDropdown/props/propTypes.js +5 -2
- package/lib/list/status/StatusListItem/StatusListItem.js +6 -5
- package/lib/list/status/StatusListItem/StatusListItem.module.css +104 -109
- package/lib/list/status/StatusListItem/props/defaultProps.js +1 -2
- package/lib/list/status/StatusListItem/props/propTypes.js +0 -1
- package/lib/lookup/EmptyPage/EmptyPage.js +3 -1
- package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
- package/lib/lookup/Lookup/DraggerUtil.js +63 -0
- package/lib/lookup/Lookup/Lookup.js +5 -2
- package/lib/lookup/Lookup/Lookup.module.css +33 -26
- package/lib/lookup/Lookup/useDragger.js +70 -0
- package/lib/lookup/Section/LookupSection.module.css +8 -8
- package/lib/lookup/Section/Section.js +4 -1
- package/lib/lookup/header/Close/Close.js +3 -1
- package/lib/lookup/header/Close/LookupClose.module.css +15 -15
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +5 -2
- package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
- package/lib/lookup/header/Search/Search.js +3 -1
- package/lib/lookup/header/TicketHeader/TicketHeader.js +5 -2
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
- package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
- package/lib/lookup/header/Title/Title.js +3 -1
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +3 -1
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
- package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
- package/lib/setup/header/Button/Button.js +3 -1
- package/lib/setup/header/Button/HeaderButton.module.css +5 -5
- package/lib/setup/header/Link/HeaderLink.module.css +21 -21
- package/lib/setup/header/Link/Link.js +3 -1
- package/lib/setup/header/Search/Search.js +3 -1
- package/lib/setup/header/Search/Search.module.css +68 -68
- package/lib/setup/header/Views/Views.js +3 -1
- package/lib/setup/header/Views/Views.module.css +37 -37
- package/lib/setup/helptips/Description/Description.js +3 -1
- package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
- package/lib/setup/helptips/Link/Link.js +3 -1
- package/lib/setup/helptips/ListGroup/ListGroup.js +3 -1
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
- package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
- package/lib/setup/helptips/Title/Title.js +3 -1
- package/lib/setup/table/Table/Table.js +3 -1
- package/lib/setup/table/TableBody/TableBody.js +3 -1
- package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
- package/lib/setup/table/TableData/TableData.js +3 -1
- package/lib/setup/table/TableData/Tablehover.module.css +6 -6
- package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
- package/lib/setup/table/TableHead/TableHead.js +3 -1
- package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
- package/lib/setup/table/TableRow/TableRow.js +3 -1
- package/lib/setup/table/Text/TableText.module.css +37 -37
- package/lib/setup/table/Text/Text.js +3 -1
- package/lib/svg/PlusIcon.js +4 -2
- package/lib/svg/SnippetIcon.js +5 -3
- package/lib/svg/TemplateIcon.js +3 -1
- package/lib/version2/AlertClose/AlertClose.js +3 -1
- package/lib/version2/AlertClose/AlertClose.module.css +42 -42
- package/lib/version2/GlobalNotification/GlobalNotification.js +3 -1
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +124 -127
- package/lib/version2/alertIcons/AlarmAlertIcon.js +3 -1
- package/lib/version2/alertIcons/AlertIcons.js +3 -1
- package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
- package/lib/version2/alertIcons/DangerAlertIcon.js +3 -1
- package/lib/version2/alertIcons/ErrorAlertIcon.js +3 -1
- package/lib/version2/alertIcons/InfoAlertIcon.js +3 -1
- package/lib/version2/alertIcons/NotificationAlertIcon.js +3 -1
- package/lib/version2/alertIcons/SuccessAlertIcon.js +3 -1
- package/lib/version2/alertIcons/WarningAlertIcon.js +3 -1
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +3 -1
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -1
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -1
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -1
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -1
- package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -1
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +5 -2
- package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +88 -86
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +3 -1
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
- package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -127
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +3 -1
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
- package/package.json +106 -106
- package/css_error.log +0 -65
- package/es/common/dot_boxShadow.module.css +0 -38
- package/lib/common/dot_boxShadow.module.css +0 -38
|
@@ -1,109 +1,104 @@
|
|
|
1
|
-
.list {
|
|
2
|
-
color: var(--zdt_statuslistitem_list_text);
|
|
3
|
-
font-size: var(--zd_font_size13);
|
|
4
|
-
position: relative;
|
|
5
|
-
list-style: none;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
.value
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
.list.active.secondary {
|
|
63
|
-
|
|
64
|
-
}
|
|
65
|
-
.
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
.statusType {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
background-color: var(--zdt_statuslistitem_orange_bg);
|
|
106
|
-
}
|
|
107
|
-
.green {
|
|
108
|
-
background-color: var(--zdt_statuslistitem_green_bg);
|
|
109
|
-
}
|
|
1
|
+
.list {
|
|
2
|
+
color: var(--zdt_statuslistitem_list_text);
|
|
3
|
+
font-size: var(--zd_font_size13);
|
|
4
|
+
position: relative;
|
|
5
|
+
list-style: none;
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
}
|
|
8
|
+
[dir=ltr] .withBorder {
|
|
9
|
+
border-left: 1px solid var(--zdt_statuslistitem_default_border);
|
|
10
|
+
}
|
|
11
|
+
[dir=rtl] .withBorder {
|
|
12
|
+
border-right: 1px solid var(--zdt_statuslistitem_default_border);
|
|
13
|
+
}
|
|
14
|
+
[dir=ltr] .small {
|
|
15
|
+
padding: var(--zd_size9) var(--zd_size3) var(--zd_size9) var(--zd_size5);
|
|
16
|
+
}
|
|
17
|
+
[dir=rtl] .small {
|
|
18
|
+
padding: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size3);
|
|
19
|
+
}
|
|
20
|
+
.medium {
|
|
21
|
+
padding: var(--zd_size9) var(--zd_size20);
|
|
22
|
+
}
|
|
23
|
+
.large {
|
|
24
|
+
height: var(--zd_size48);
|
|
25
|
+
}
|
|
26
|
+
[dir=ltr] .large {
|
|
27
|
+
padding: var(--zd_size10) var(--zd_size3) var(--zd_size10) var(--zd_size25);
|
|
28
|
+
}
|
|
29
|
+
[dir=rtl] .large {
|
|
30
|
+
padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.value {
|
|
34
|
+
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
[dir=ltr] .withBorder.active {
|
|
38
|
+
border-left-color: var(--zdt_statuslistitem_default_active_border);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[dir=rtl] .withBorder.active {
|
|
42
|
+
border-right-color: var(--zdt_statuslistitem_default_active_border);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.default.hover, .default.effect:hover {
|
|
46
|
+
background-color: var(--zdt_statuslistitem_default_effect_bg);
|
|
47
|
+
}
|
|
48
|
+
.primary.hover, .primary.effect:hover, .selected {
|
|
49
|
+
background-color: var(--zdt_statuslistitem_primary_efffect_bg);
|
|
50
|
+
}
|
|
51
|
+
.secondary.hover, .secondary.effect:hover {
|
|
52
|
+
background-color: var(--zdt_statuslistitem_secondary_effect_bg);
|
|
53
|
+
}
|
|
54
|
+
.list.active.default, .list.active.primary {
|
|
55
|
+
background-color: var(--zdt_statuslistitem_primary_efffect_bg);
|
|
56
|
+
}
|
|
57
|
+
.list.active.secondary {
|
|
58
|
+
background-color: var(--zdt_statuslistitem_secondary_effect_bg);
|
|
59
|
+
}
|
|
60
|
+
.secondary.hover,
|
|
61
|
+
.secondary.effect:hover,
|
|
62
|
+
.list.active.secondary {
|
|
63
|
+
color: var(--zdt_statuslistitem_secondary_effect_text);
|
|
64
|
+
}
|
|
65
|
+
.tickIcon {
|
|
66
|
+
color: var(--zdt_statuslistitem_tickicon);
|
|
67
|
+
position: absolute;
|
|
68
|
+
}
|
|
69
|
+
[dir=ltr] .tickIcon {
|
|
70
|
+
right: var(--zd_size20);
|
|
71
|
+
}
|
|
72
|
+
[dir=rtl] .tickIcon {
|
|
73
|
+
left: var(--zd_size20);
|
|
74
|
+
}
|
|
75
|
+
.tickIcon > i {
|
|
76
|
+
display: block;
|
|
77
|
+
}
|
|
78
|
+
[dir=ltr] .active.withTick {
|
|
79
|
+
padding-right: var(--zd_size39);
|
|
80
|
+
}
|
|
81
|
+
[dir=rtl] .active.withTick {
|
|
82
|
+
padding-left: var(--zd_size39);
|
|
83
|
+
}
|
|
84
|
+
/* Status Type */
|
|
85
|
+
.statusType {
|
|
86
|
+
width: var(--zd_size8);
|
|
87
|
+
height: var(--zd_size8);
|
|
88
|
+
border-radius: 50%;
|
|
89
|
+
}
|
|
90
|
+
[dir=ltr] .statusType {
|
|
91
|
+
margin-right: var(--zd_size13);
|
|
92
|
+
}
|
|
93
|
+
[dir=rtl] .statusType {
|
|
94
|
+
margin-left: var(--zd_size13);
|
|
95
|
+
}
|
|
96
|
+
.black {
|
|
97
|
+
background-color: var(--zdt_statuslistitem_black_bg);
|
|
98
|
+
}
|
|
99
|
+
.orange {
|
|
100
|
+
background-color: var(--zdt_statuslistitem_orange_bg);
|
|
101
|
+
}
|
|
102
|
+
.green {
|
|
103
|
+
background-color: var(--zdt_statuslistitem_green_bg);
|
|
104
|
+
}
|
|
@@ -20,7 +20,6 @@ export const propTypes = {
|
|
|
20
20
|
target: PropTypes.oneOf(['blank', 'self']),
|
|
21
21
|
title: PropTypes.string,
|
|
22
22
|
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
|
|
23
|
-
needMultiLineText: PropTypes.bool,
|
|
24
23
|
a11y: PropTypes.shape({
|
|
25
24
|
role: PropTypes.string,
|
|
26
25
|
ariaSelected: PropTypes.bool,
|
|
File without changes
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
text-align: center;
|
|
3
|
-
}
|
|
4
|
-
.image {
|
|
5
|
-
margin: var(--zd_size20) auto;
|
|
6
|
-
}
|
|
7
|
-
.contentDiv {
|
|
8
|
-
font-size: var(--zd_font_size20);
|
|
9
|
-
font-family: var(--zd_semibold);
|
|
10
|
-
composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
|
|
11
|
-
margin-top: var(--zd_size15);
|
|
12
|
-
}
|
|
1
|
+
.container {
|
|
2
|
+
text-align: center;
|
|
3
|
+
}
|
|
4
|
+
.image {
|
|
5
|
+
margin: var(--zd_size20) auto;
|
|
6
|
+
}
|
|
7
|
+
.contentDiv {
|
|
8
|
+
font-size: var(--zd_font_size20);
|
|
9
|
+
font-family: var(--zd_semibold);
|
|
10
|
+
composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
|
|
11
|
+
margin-top: var(--zd_size15);
|
|
12
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export function DragPosCalc(_ref) {
|
|
2
|
+
let {
|
|
3
|
+
x,
|
|
4
|
+
y,
|
|
5
|
+
elmnt,
|
|
6
|
+
dragwrpper
|
|
7
|
+
} = _ref;
|
|
8
|
+
if (x < 0) {
|
|
9
|
+
x = 0;
|
|
10
|
+
}
|
|
11
|
+
if (x > dragwrpper.offsetWidth - elmnt.offsetWidth) {
|
|
12
|
+
x = dragwrpper.offsetWidth - elmnt.offsetWidth;
|
|
13
|
+
}
|
|
14
|
+
console.log(dragwrpper.offsetHeight, elmnt.offsetHeight, 'y');
|
|
15
|
+
if (y < 0) {
|
|
16
|
+
y = 0;
|
|
17
|
+
}
|
|
18
|
+
if (y > dragwrpper.offsetHeight - elmnt.offsetHeight) {
|
|
19
|
+
y = dragwrpper.offsetHeight - elmnt.offsetHeight;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
x,
|
|
23
|
+
y
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export const elementFinder = async (Parent, selector) => {
|
|
27
|
+
while (Parent && Parent.querySelector(selector) === null) {
|
|
28
|
+
await new Promise(resolve => requestAnimationFrame(resolve));
|
|
29
|
+
}
|
|
30
|
+
return Parent && Parent.querySelector(selector);
|
|
31
|
+
};
|
|
File without changes
|
|
@@ -1,26 +1,33 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
font-size: var(--zd_font_size16);
|
|
3
|
-
padding-bottom: var(--zd_size10);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
.
|
|
16
|
-
max-width: var(--
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
.container {
|
|
2
|
+
font-size: var(--zd_font_size16);
|
|
3
|
+
padding-bottom: var(--zd_size10);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.box {
|
|
7
|
+
position: relative;
|
|
8
|
+
height: 100%;
|
|
9
|
+
width: 100%;
|
|
10
|
+
margin: auto;
|
|
11
|
+
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Size */
|
|
15
|
+
.smallSize {
|
|
16
|
+
max-width: var(--zd_size470);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.xmediumSize {
|
|
20
|
+
max-width: var(--zd_size620);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.mediumSize {
|
|
24
|
+
max-width: var(--zd_size840);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.largeSize {
|
|
28
|
+
max-width: 70%;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.fullSize {
|
|
32
|
+
max-width: 90%;
|
|
33
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { useEffect, useRef } from "react";
|
|
2
|
+
import { elementFinder, DragPosCalc } from "./DraggerUtil";
|
|
3
|
+
export default function useDragger(_ref) {
|
|
4
|
+
let {
|
|
5
|
+
ParentRef = null
|
|
6
|
+
} = _ref;
|
|
7
|
+
let dragableEle = useRef(null); //To set the Dragable Element
|
|
8
|
+
let parentEle = useRef(null); // Eo set the Parent Boundary Element
|
|
9
|
+
let offset = useRef({
|
|
10
|
+
x: 0,
|
|
11
|
+
y: 0
|
|
12
|
+
}); //To set the x and y Positions
|
|
13
|
+
let dragable = useRef(false); // To get track of dragable
|
|
14
|
+
|
|
15
|
+
const elementDrag = e => {
|
|
16
|
+
e = e || window.event;
|
|
17
|
+
e.preventDefault();
|
|
18
|
+
if (dragable.current) {
|
|
19
|
+
const left = offset.current.x + e.clientX;
|
|
20
|
+
const top = offset.current.y + e.clientY;
|
|
21
|
+
if (parentEle.current) {
|
|
22
|
+
const calcValue = DragPosCalc({
|
|
23
|
+
x: left,
|
|
24
|
+
y: top,
|
|
25
|
+
dragwrpper: parentEle.current,
|
|
26
|
+
elmnt: dragableEle.current
|
|
27
|
+
});
|
|
28
|
+
dragableEle.current.style.left = calcValue.x + "px";
|
|
29
|
+
dragableEle.current.style.top = calcValue.y + "px";
|
|
30
|
+
} else {
|
|
31
|
+
dragableEle.current.style.left = left + "px";
|
|
32
|
+
dragableEle.current.style.top = top + "px";
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
const closeDragElement = () => {
|
|
37
|
+
document.removeEventListener("mouseup", closeDragElement);
|
|
38
|
+
document.removeEventListener("mousemove", elementDrag);
|
|
39
|
+
};
|
|
40
|
+
const dragMouseDown = e => {
|
|
41
|
+
//Initial position
|
|
42
|
+
requestAnimationFrame(() => {
|
|
43
|
+
let dragableEleRect = dragableEle.current.getBoundingClientRect();
|
|
44
|
+
e = e || window.event;
|
|
45
|
+
// e.preventDefault();
|
|
46
|
+
dragableEle.current.style.top = dragableEleRect.top + "px";
|
|
47
|
+
dragableEle.current.style.left = dragableEleRect.left + "px";
|
|
48
|
+
dragableEle.current.style.width = dragableEleRect.width + "px";
|
|
49
|
+
dragableEle.current.style.position = "fixed";
|
|
50
|
+
offset.current.x = dragableEle.current.offsetLeft - e.clientX;
|
|
51
|
+
offset.current.y = dragableEle.current.offsetTop - e.clientY;
|
|
52
|
+
dragable.current = true;
|
|
53
|
+
document.addEventListener("mouseup", closeDragElement);
|
|
54
|
+
document.addEventListener("mousemove", elementDrag);
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
useEffect(() => {
|
|
58
|
+
elementFinder(ParentRef.current, "[isdraggable=true]").then(dragableElement => {
|
|
59
|
+
dragableEle.current = dragableElement;
|
|
60
|
+
parentEle.current = ParentRef.current;
|
|
61
|
+
let dragController = dragableEle.current && dragableEle.current.querySelector("[isdrag-header=true]") ? dragableEle.current.querySelector("[isdrag-header=true]") : dragableEle.current;
|
|
62
|
+
dragController && dragController.addEventListener("mousedown", dragMouseDown);
|
|
63
|
+
});
|
|
64
|
+
}, [ParentRef.current]);
|
|
65
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
.section {
|
|
2
|
-
max-height: 80%;
|
|
3
|
-
min-height: var(--zd_size390);
|
|
4
|
-
height: auto;
|
|
5
|
-
border-radius: 0 0 var(--zd_size10) var(--zd_size10);
|
|
6
|
-
background-color: var(--zdt_lookupsection_bg);
|
|
7
|
-
box-shadow: var(--
|
|
8
|
-
}
|
|
1
|
+
.section {
|
|
2
|
+
max-height: 80%;
|
|
3
|
+
min-height: var(--zd_size390);
|
|
4
|
+
height: auto;
|
|
5
|
+
border-radius: 0 0 var(--zd_size10) var(--zd_size10);
|
|
6
|
+
background-color: var(--zdt_lookupsection_bg);
|
|
7
|
+
box-shadow: 0px 4px 20px var(--zdt_lookupsection_box_shadow);
|
|
8
|
+
}
|
|
@@ -12,6 +12,7 @@ export default class Section extends Component {
|
|
|
12
12
|
className
|
|
13
13
|
} = this.props;
|
|
14
14
|
return /*#__PURE__*/React.createElement(Container, {
|
|
15
|
+
isdraggable: "true",
|
|
15
16
|
alignBox: alignBox,
|
|
16
17
|
className: `${style.section} ${className ? className : ''}`
|
|
17
18
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
width: var(--zd_size25);
|
|
3
|
-
height: var(--zd_size25);
|
|
4
|
-
line-height: var(--zd_size25);
|
|
5
|
-
color: var(--zdt_lookupclose_default_text);
|
|
6
|
-
transition: var(--zd_transition2) cubic-bezier(0.4, 1, 0.65, 1);
|
|
7
|
-
font-size: var(--zd_font_size9);
|
|
8
|
-
text-align: center;
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
border-radius: 50%;
|
|
11
|
-
}
|
|
12
|
-
.container:hover {
|
|
13
|
-
color: var(--zdt_lookupclose_default_hover_text);
|
|
14
|
-
background-color: var(--zdt_lookupclose_default_hover_bg);
|
|
15
|
-
}
|
|
1
|
+
.container {
|
|
2
|
+
width: var(--zd_size25);
|
|
3
|
+
height: var(--zd_size25);
|
|
4
|
+
line-height: var(--zd_size25);
|
|
5
|
+
color: var(--zdt_lookupclose_default_text);
|
|
6
|
+
transition: var(--zd_transition2) cubic-bezier(0.4, 1, 0.65, 1);
|
|
7
|
+
font-size: var(--zd_font_size9);
|
|
8
|
+
text-align: center;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
border-radius: 50%;
|
|
11
|
+
}
|
|
12
|
+
.container:hover {
|
|
13
|
+
color: var(--zdt_lookupclose_default_hover_text);
|
|
14
|
+
background-color: var(--zdt_lookupclose_default_hover_bg);
|
|
15
|
+
}
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
.searchStyle,
|
|
2
|
-
.boxStyle {
|
|
3
|
-
transition: var(--zd_transition1);
|
|
4
|
-
width: var(--zd_size96);
|
|
5
|
-
height: var(--zd_size28);
|
|
6
|
-
position: relative;
|
|
7
|
-
}.searchStyle, .boxStyle {
|
|
8
|
-
background: none;
|
|
9
|
-
}
|
|
10
|
-
.boxStyle {
|
|
11
|
-
width: var(--zd_size160);
|
|
12
|
-
border-radius: 4px;
|
|
13
|
-
border: 1px solid var(--zdt_lookupsearch_boxstyle_border);
|
|
14
|
-
}
|
|
15
|
-
.searchStyle:hover, .boxStyle:hover {
|
|
16
|
-
border-color: var(--zdt_lookupsearch_boxstyle_hover_border);
|
|
17
|
-
}
|
|
18
|
-
.focusWidth {
|
|
19
|
-
width: var(--zd_size220);
|
|
20
|
-
}
|
|
21
|
-
.drpSearchBox {
|
|
22
|
-
position: relative;
|
|
23
|
-
height: var(--zd_size28);
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
}
|
|
26
|
-
.drpSearchBox::after {
|
|
27
|
-
content: '';
|
|
28
|
-
position: absolute;
|
|
29
|
-
top: var(--zd_size8);
|
|
30
|
-
bottom: var(--zd_size8);
|
|
31
|
-
}
|
|
32
|
-
[dir=ltr] .drpSearchBox::after {
|
|
33
|
-
right: calc(var(--zd_size1) * -1);
|
|
34
|
-
border-right: 1px solid var(--zdt_lookupsearch_boxstyle_border);
|
|
35
|
-
}
|
|
36
|
-
[dir=rtl] .drpSearchBox::after {
|
|
37
|
-
left: calc(var(--zd_size1) * -1);
|
|
38
|
-
border-left: 1px solid var(--zdt_lookupsearch_boxstyle_border);
|
|
39
|
-
}
|
|
40
|
-
.inputBox, .drpSearchBox {
|
|
41
|
-
padding: 0 var(--zd_size9);
|
|
42
|
-
}
|
|
43
|
-
[dir=ltr] .searchIconBox {
|
|
44
|
-
padding: var(--zd_size4) 0 var(--zd_size4) var(--zd_size9);
|
|
45
|
-
}
|
|
46
|
-
[dir=rtl] .searchIconBox {
|
|
47
|
-
padding: var(--zd_size4) var(--zd_size9) var(--zd_size4) 0;
|
|
48
|
-
}
|
|
49
|
-
.active, .boxStyle.active, .lineActive.drpSearchBox::after {
|
|
50
|
-
border-color: var(--zdt_lookupsearch_boxstyle_activer_border);
|
|
51
|
-
}
|
|
52
|
-
[dir=ltr] .iconArrow {
|
|
53
|
-
margin-left: var(--zd_size5);
|
|
54
|
-
}
|
|
55
|
-
[dir=rtl] .iconArrow {
|
|
56
|
-
margin-right: var(--zd_size5);
|
|
57
|
-
}
|
|
1
|
+
.searchStyle,
|
|
2
|
+
.boxStyle {
|
|
3
|
+
transition: var(--zd_transition1);
|
|
4
|
+
width: var(--zd_size96);
|
|
5
|
+
height: var(--zd_size28);
|
|
6
|
+
position: relative;
|
|
7
|
+
}.searchStyle, .boxStyle {
|
|
8
|
+
background: none;
|
|
9
|
+
}
|
|
10
|
+
.boxStyle {
|
|
11
|
+
width: var(--zd_size160);
|
|
12
|
+
border-radius: 4px;
|
|
13
|
+
border: 1px solid var(--zdt_lookupsearch_boxstyle_border);
|
|
14
|
+
}
|
|
15
|
+
.searchStyle:hover, .boxStyle:hover {
|
|
16
|
+
border-color: var(--zdt_lookupsearch_boxstyle_hover_border);
|
|
17
|
+
}
|
|
18
|
+
.focusWidth {
|
|
19
|
+
width: var(--zd_size220);
|
|
20
|
+
}
|
|
21
|
+
.drpSearchBox {
|
|
22
|
+
position: relative;
|
|
23
|
+
height: var(--zd_size28);
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
}
|
|
26
|
+
.drpSearchBox::after {
|
|
27
|
+
content: '';
|
|
28
|
+
position: absolute;
|
|
29
|
+
top: var(--zd_size8);
|
|
30
|
+
bottom: var(--zd_size8);
|
|
31
|
+
}
|
|
32
|
+
[dir=ltr] .drpSearchBox::after {
|
|
33
|
+
right: calc(var(--zd_size1) * -1);
|
|
34
|
+
border-right: 1px solid var(--zdt_lookupsearch_boxstyle_border);
|
|
35
|
+
}
|
|
36
|
+
[dir=rtl] .drpSearchBox::after {
|
|
37
|
+
left: calc(var(--zd_size1) * -1);
|
|
38
|
+
border-left: 1px solid var(--zdt_lookupsearch_boxstyle_border);
|
|
39
|
+
}
|
|
40
|
+
.inputBox, .drpSearchBox {
|
|
41
|
+
padding: 0 var(--zd_size9);
|
|
42
|
+
}
|
|
43
|
+
[dir=ltr] .searchIconBox {
|
|
44
|
+
padding: var(--zd_size4) 0 var(--zd_size4) var(--zd_size9);
|
|
45
|
+
}
|
|
46
|
+
[dir=rtl] .searchIconBox {
|
|
47
|
+
padding: var(--zd_size4) var(--zd_size9) var(--zd_size4) 0;
|
|
48
|
+
}
|
|
49
|
+
.active, .boxStyle.active, .lineActive.drpSearchBox::after {
|
|
50
|
+
border-color: var(--zdt_lookupsearch_boxstyle_activer_border);
|
|
51
|
+
}
|
|
52
|
+
[dir=ltr] .iconArrow {
|
|
53
|
+
margin-left: var(--zd_size5);
|
|
54
|
+
}
|
|
55
|
+
[dir=rtl] .iconArrow {
|
|
56
|
+
margin-right: var(--zd_size5);
|
|
57
|
+
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
.dropdown {
|
|
2
|
-
margin: 0 var(--zd_size20);
|
|
3
|
-
}
|
|
4
|
-
/* Responsive */
|
|
5
|
-
[dir=ltr] .small .searchContainer {
|
|
6
|
-
text-align: left;
|
|
7
|
-
}
|
|
8
|
-
[dir=rtl] .small .searchContainer {
|
|
9
|
-
text-align: right;
|
|
10
|
-
}
|
|
11
|
-
.small .searchContainer input {
|
|
12
|
-
width: var(--zd_size193);
|
|
13
|
-
border-bottom: 1px solid var(--zdt_lookupticketheader_border);
|
|
14
|
-
}
|
|
15
|
-
.small .innerContainer,
|
|
16
|
-
.extraSmall .innerContainer {
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
align-items: flex-start;
|
|
19
|
-
}
|
|
20
|
-
.extraSmall .container {
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
}
|
|
1
|
+
.dropdown {
|
|
2
|
+
margin: 0 var(--zd_size20);
|
|
3
|
+
}
|
|
4
|
+
/* Responsive */
|
|
5
|
+
[dir=ltr] .small .searchContainer {
|
|
6
|
+
text-align: left;
|
|
7
|
+
}
|
|
8
|
+
[dir=rtl] .small .searchContainer {
|
|
9
|
+
text-align: right;
|
|
10
|
+
}
|
|
11
|
+
.small .searchContainer input {
|
|
12
|
+
width: var(--zd_size193);
|
|
13
|
+
border-bottom: 1px solid var(--zdt_lookupticketheader_border);
|
|
14
|
+
}
|
|
15
|
+
.small .innerContainer,
|
|
16
|
+
.extraSmall .innerContainer {
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
align-items: flex-start;
|
|
19
|
+
}
|
|
20
|
+
.extraSmall .container {
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
}
|
|
23
23
|
.menuWrapper{display: inline-block;}
|