@zohodesk/dot 1.0.0-temp-169 → 1.0.0-temp-171
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/.cli/PropLessFiles.html +1 -1
- package/.cli/propValidation_report.html +1 -1
- package/README.md +10 -0
- package/coverage/ExternalLink/ExternalLink.js.html +1 -1
- package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
- package/coverage/ExternalLink/index.html +1 -1
- package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
- package/coverage/ExternalLink/props/index.html +1 -1
- package/coverage/ExternalLink/props/propTypes.js.html +1 -1
- package/coverage/IconButton/IconButton.js.html +1 -1
- package/coverage/IconButton/IconButton.module.css.html +1 -1
- package/coverage/IconButton/index.html +1 -1
- package/coverage/IconButton/props/defaultProps.js.html +1 -1
- package/coverage/IconButton/props/index.html +1 -1
- package/coverage/IconButton/props/propTypes.js.html +1 -1
- package/coverage/Image/Image.js.html +1 -1
- package/coverage/Image/Image.module.css.html +1 -1
- package/coverage/Image/index.html +1 -1
- package/coverage/Image/props/defaultProps.js.html +1 -1
- package/coverage/Image/props/index.html +1 -1
- package/coverage/Image/props/propTypes.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
- package/coverage/avatar/AvatarWithTeam/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
- package/coverage/coverage-final.json +16 -16
- package/coverage/coverage-summary.json +16 -16
- package/coverage/index.html +1 -1
- package/es/Attachment/Attachment.module.css +4 -2
- package/es/AttachmentViewer/AttachmentViewer.module.css +1 -1
- package/es/Drawer/Drawer.js +1 -1
- package/es/ImportantNotes/ImportantNotes.module.css +6 -2
- package/es/ToastMessage/ToastMessage.module.css +3 -2
- package/es/Upload/Upload.module.css +1 -1
- package/es/alert/AlertLookup/AlertLookup.module.css +1 -1
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +5 -2
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +5 -2
- package/es/errorstate/EmptyStates.module.css +3 -3
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +1 -1
- package/es/form/fields/Fields.module.css +1 -1
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +4 -4
- package/es/list/listCommon.module.css +1 -0
- package/es/list/status/StatusListItem/StatusListItem.module.css +1 -1
- package/es/lookup/header/Close/LookupClose.module.css +1 -1
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +1 -1
- package/es/setup/header/Search/Search.module.css +1 -0
- package/es/setup/header/Views/Views.module.css +1 -0
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +1 -1
- package/es/v1/ActionButton/ActionButton.js +2 -2
- package/es/v1/ActionButton/props/defaultProps.js +17 -0
- package/es/v1/ActionButton/props/propTypes.js +33 -0
- package/es/v1/AlphabeticList/AlphabeticList.js +2 -2
- package/es/v1/AlphabeticList/props/defaultProps.js +12 -0
- package/es/v1/AlphabeticList/props/propTypes.js +23 -0
- package/es/v1/Attachment/Attachment.js +2 -2
- package/es/v1/Attachment/props/defaultProps.js +7 -0
- package/es/v1/Attachment/props/propTypes.js +17 -0
- package/es/v1/AttachmentViewer/AttachmentImage.js +2 -2
- package/es/v1/AttachmentViewer/AttachmentViewer.js +2 -2
- package/es/v1/AttachmentViewer/props/defaultProps.js +10 -0
- package/es/v1/AttachmentViewer/props/propTypes.js +31 -0
- package/es/v1/ChannelIcon/ChannelIcon.js +3 -3
- package/es/v1/ChannelIcon/props/defaultProps.js +7 -0
- package/es/v1/ChannelIcon/props/propTypes.js +25 -0
- package/es/v1/Drawer/Drawer.js +2 -2
- package/es/v1/Drawer/props/defaultProps.js +22 -0
- package/es/v1/Drawer/props/propTypes.js +52 -0
- package/es/v1/ExternalLink/ExternalLink.js +2 -2
- package/es/v1/ExternalLink/props/defaultProps.js +5 -0
- package/es/v1/ExternalLink/props/propTypes.js +12 -0
- package/es/v1/FlipCard/FlipCard.js +2 -2
- package/es/v1/FlipCard/props/defaultProps.js +5 -0
- package/es/v1/FlipCard/props/propTypes.js +37 -0
- package/es/v1/FormAction/FormAction.js +2 -2
- package/es/v1/FormAction/props/defaultProps.js +5 -0
- package/es/v1/FormAction/props/propTypes.js +8 -0
- package/es/v1/FreezeLayer/FreezeLayer.js +2 -2
- package/es/v1/FreezeLayer/props/defaultProps.js +9 -0
- package/es/v1/FreezeLayer/props/propTypes.js +19 -0
- package/es/v1/GlobalNotification/GlobalNotification.js +2 -2
- package/es/v1/GlobalNotification/props/defaultProps.js +4 -0
- package/es/v1/GlobalNotification/props/propTypes.js +32 -0
- package/es/v1/IconButton/IconButton.js +2 -2
- package/es/v1/IconButton/props/defaultProps.js +17 -0
- package/es/v1/IconButton/props/propTypes.js +33 -0
- package/es/v1/Image/Image.js +2 -2
- package/es/v1/Image/props/defaultProps.js +4 -0
- package/es/v1/Image/props/propTypes.js +13 -0
- package/es/v1/ImportantNotes/ImportantNotes.js +2 -2
- package/es/v1/ImportantNotes/props/defaultProps.js +6 -0
- package/es/v1/ImportantNotes/props/propTypes.js +10 -0
- package/es/v1/Link/Link.js +2 -2
- package/es/v1/Link/props/defaultProps.js +5 -0
- package/es/v1/Link/props/propTypes.js +18 -0
- package/es/v1/Message/Message.js +2 -2
- package/es/v1/Message/props/defaultProps.js +4 -0
- package/es/v1/Message/props/propTypes.js +20 -0
- package/es/v1/MessageBanner/MessageBanner.js +2 -2
- package/es/v1/MessageBanner/props/defaultProps.js +7 -0
- package/es/v1/MessageBanner/props/propTypes.js +13 -0
- package/es/v1/NewStar/NewStar.js +2 -2
- package/es/v1/NewStar/props/defaultProps.js +4 -0
- package/es/v1/NewStar/props/propTypes.js +6 -0
- package/es/v1/PlusIcon/PlusIcon.js +2 -2
- package/es/v1/PlusIcon/props/defaultProps.js +8 -0
- package/es/v1/PlusIcon/props/propTypes.js +11 -0
- package/es/v1/Provider/Config.js +20 -0
- package/es/v1/Separator/Separator.js +2 -2
- package/es/v1/Separator/props/defaultProps.js +12 -0
- package/es/v1/Separator/props/propTypes.js +11 -0
- package/es/v1/TagWithIcon/TagWithIcon.js +2 -2
- package/es/v1/TagWithIcon/props/defaultProps.js +8 -0
- package/es/v1/TagWithIcon/props/propTypes.js +13 -0
- package/es/v1/ToastMessage/ToastMessage.js +2 -2
- package/es/v1/ToastMessage/props/defaultProps.js +18 -0
- package/es/v1/ToastMessage/props/propTypes.js +40 -0
- package/es/v1/Upload/Upload.js +2 -2
- package/es/v1/Upload/props/defaultProps.js +7 -0
- package/es/v1/Upload/props/propTypes.js +17 -0
- package/es/v1/actions/AutoClose.js +2 -2
- package/es/v1/actions/props/defaultProps.js +3 -0
- package/es/v1/actions/props/propTypes.js +8 -0
- package/es/v1/alert/AlertClose/AlertClose.js +1 -1
- package/es/v1/alert/AlertClose/props/propTypes.js +8 -0
- package/es/v1/alert/alertIcons/AlarmAlertIcon.js +2 -2
- package/es/v1/alert/alertIcons/AlertIcons.js +2 -2
- package/es/v1/alert/alertIcons/DangerAlertIcon.js +2 -2
- package/es/v1/alert/alertIcons/ErrorAlertIcon.js +2 -2
- package/es/v1/alert/alertIcons/InfoAlertIcon.js +2 -2
- package/es/v1/alert/alertIcons/NotificationAlertIcon.js +2 -2
- package/es/v1/alert/alertIcons/SuccessAlertIcon.js +2 -2
- package/es/v1/alert/alertIcons/WarningAlertIcon.js +2 -2
- package/es/v1/alert/alertIcons/props/defaultProps.js +27 -0
- package/es/v1/alert/alertIcons/props/propTypes.js +34 -0
- package/es/v1/avatar/AvatarClose/AvatarClose.js +2 -2
- package/es/v1/avatar/AvatarClose/props/defaultProps.js +6 -0
- package/es/v1/avatar/AvatarClose/props/propTypes.js +14 -0
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +2 -2
- package/es/v1/avatar/AvatarCollision/props/defaultProps.js +8 -0
- package/es/v1/avatar/AvatarCollision/props/propTypes.js +17 -0
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/es/v1/avatar/AvatarIcon/props/defaultProps.js +14 -0
- package/es/v1/avatar/AvatarIcon/props/propTypes.js +20 -0
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +2 -2
- package/es/v1/avatar/AvatarStatus/props/defaultProps.js +12 -0
- package/es/v1/avatar/AvatarStatus/props/propTypes.js +26 -0
- package/es/v1/avatar/AvatarThread/AvatarThread.js +2 -2
- package/es/v1/avatar/AvatarThread/props/defaultProps.js +9 -0
- package/es/v1/avatar/AvatarThread/props/propTypes.js +30 -0
- package/es/v1/avatar/AvatarUser/AvatarUser.js +2 -2
- package/es/v1/avatar/AvatarUser/props/defaultProps.js +8 -0
- package/es/v1/avatar/AvatarUser/props/propTypes.js +35 -0
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
- package/es/v1/avatar/AvatarWithTeam/props/defaultProps.js +9 -0
- package/es/v1/avatar/AvatarWithTeam/props/propTypes.js +25 -0
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +2 -2
- package/es/v1/dropdown/ToggleDropDown/props/defaultProps.js +27 -0
- package/es/v1/dropdown/ToggleDropDown/props/propTypes.js +79 -0
- package/es/v1/emptystate/CommonEmptyState/CommonEmptyState.js +2 -2
- package/es/v1/emptystate/CommonEmptyState/props/defaultProps.js +10 -0
- package/es/v1/emptystate/CommonEmptyState/props/propTypes.js +21 -0
- package/es/v1/emptystate/EditionPage/EditionPage.js +2 -2
- package/es/v1/emptystate/EditionPage/props/defaultProps.js +5 -0
- package/es/v1/emptystate/EditionPage/props/propTypes.js +11 -0
- package/es/v1/errorstate/Inconvenience/Inconvenience.js +2 -2
- package/es/v1/errorstate/Inconvenience/props/defaultProps.js +8 -0
- package/es/v1/errorstate/Inconvenience/props/propTypes.js +16 -0
- package/es/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +2 -2
- package/es/v1/errorstate/OopsSomethingMiss/props/defaultProps.js +8 -0
- package/es/v1/errorstate/OopsSomethingMiss/props/propTypes.js +16 -0
- package/es/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +2 -2
- package/es/v1/errorstate/UnableToProcessRequest/props/defaultProps.js +8 -0
- package/es/v1/errorstate/UnableToProcessRequest/props/propTypes.js +16 -0
- package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +2 -2
- package/es/v1/errorstate/UnauthorizedLogin/props/defaultProps.js +9 -0
- package/es/v1/errorstate/UnauthorizedLogin/props/propTypes.js +17 -0
- package/es/v1/errorstate/UrlNotFound/UrlNotFound.js +2 -2
- package/es/v1/errorstate/UrlNotFound/props/defaultProps.js +8 -0
- package/es/v1/errorstate/UrlNotFound/props/propTypes.js +16 -0
- package/es/v1/errorstate/WillBeRightBack/WillBeRightBack.js +2 -2
- package/es/v1/errorstate/WillBeRightBack/props/defaultProps.js +8 -0
- package/es/v1/errorstate/WillBeRightBack/props/propTypes.js +16 -0
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +2 -2
- package/es/v1/form/fields/CheckBoxField/props/defaultProps.js +12 -0
- package/es/v1/form/fields/CheckBoxField/props/propTypes.js +27 -0
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +2 -2
- package/es/v1/form/fields/CurrencyField/props/defaultProps.js +17 -0
- package/es/v1/form/fields/CurrencyField/props/propTypes.js +39 -0
- package/es/v1/form/fields/DateField/DateField.js +2 -2
- package/es/v1/form/fields/DateField/props/defaultProps.js +19 -0
- package/es/v1/form/fields/DateField/props/propTypes.js +39 -0
- package/es/v1/form/fields/FieldContainer/FieldContainer.js +2 -2
- package/es/v1/form/fields/FieldContainer/props/defaultProps.js +6 -0
- package/es/v1/form/fields/FieldContainer/props/propTypes.js +25 -0
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +2 -2
- package/es/v1/form/fields/MultiSelectField/props/defaultProps.js +17 -0
- package/es/v1/form/fields/MultiSelectField/props/propTypes.js +50 -0
- package/es/v1/form/fields/PhoneField/PhoneField.js +2 -2
- package/es/v1/form/fields/PhoneField/props/defaultProps.js +16 -0
- package/es/v1/form/fields/PhoneField/props/propTypes.js +47 -0
- package/es/v1/form/fields/RadioField/RadioField.js +2 -2
- package/es/v1/form/fields/RadioField/props/defaultProps.js +12 -0
- package/es/v1/form/fields/RadioField/props/propTypes.js +30 -0
- package/es/v1/form/fields/SelectField/SelectField.js +2 -2
- package/es/v1/form/fields/SelectField/props/defaultProps.js +18 -0
- package/es/v1/form/fields/SelectField/props/propTypes.js +50 -0
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
- package/es/v1/form/fields/TagsMultiSelect/props/defaultProps.js +11 -0
- package/es/v1/form/fields/TagsMultiSelect/props/propTypes.js +44 -0
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
- package/es/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +19 -0
- package/es/v1/form/fields/TagsMultiSelectField/props/propTypes.js +63 -0
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +2 -2
- package/es/v1/form/fields/TextBoxField/props/defaultProps.js +17 -0
- package/es/v1/form/fields/TextBoxField/props/propTypes.js +44 -0
- package/es/v1/form/fields/TextEditor/TextEditor.js +2 -2
- package/es/v1/form/fields/TextEditor/props/defaultProps.js +13 -0
- package/es/v1/form/fields/TextEditor/props/propTypes.js +46 -0
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +2 -2
- package/es/v1/form/fields/TextEditorField/props/defaultProps.js +15 -0
- package/es/v1/form/fields/TextEditorField/props/propTypes.js +59 -0
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -2
- package/es/v1/form/fields/TextEditorWrapper/props/defaultProps.js +9 -0
- package/es/v1/form/fields/TextEditorWrapper/props/propTypes.js +40 -0
- package/es/v1/form/fields/TextareaField/TextareaField.js +2 -2
- package/es/v1/form/fields/TextareaField/props/defaultProps.js +15 -0
- package/es/v1/form/fields/TextareaField/props/propTypes.js +34 -0
- package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/es/v1/form/fields/ValidationMessage/props/defaultProps.js +7 -0
- package/es/v1/form/fields/ValidationMessage/props/propTypes.js +16 -0
- package/es/v1/form/fields/props/FieldCommonDefaultProps.js +10 -0
- package/es/v1/form/fields/props/FieldCommonPropTypes.js +17 -0
- package/es/v1/form/layout/Field/Field.js +2 -2
- package/es/v1/form/layout/Field/props/defaultProps.js +4 -0
- package/es/v1/form/layout/Field/props/propTypes.js +10 -0
- package/es/v1/form/layout/Section/Section.js +1 -1
- package/es/v1/form/layout/Section/props/propTypes.js +11 -0
- package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +2 -2
- package/es/v1/layout/SetupDetailLayout/props/defaultProps.js +20 -0
- package/es/v1/layout/SetupDetailLayout/props/propTypes.js +40 -0
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +2 -2
- package/es/v1/layout/SubtabLayout/props/defaultProps.js +25 -0
- package/es/v1/layout/SubtabLayout/props/propTypes.js +40 -0
- package/es/v1/list/AvatarFlip/AvatarFlip.js +2 -2
- package/es/v1/list/AvatarFlip/props/defaultProps.js +6 -0
- package/es/v1/list/AvatarFlip/props/propTypes.js +29 -0
- package/es/v1/list/BluePrintStatus/BluePrintStatus.js +1 -1
- package/es/v1/list/BluePrintStatus/props/propTypes.js +4 -0
- package/es/v1/list/Comment/Comment.js +2 -2
- package/es/v1/list/Comment/props/defaultProps.js +4 -0
- package/es/v1/list/Comment/props/propTypes.js +7 -0
- package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +2 -2
- package/es/v1/list/DepartmentDropDown/props/defaultProps.js +7 -0
- package/es/v1/list/DepartmentDropDown/props/propTypes.js +24 -0
- package/es/v1/list/Dot/Dot.js +2 -2
- package/es/v1/list/Dot/props/defaultProps.js +4 -0
- package/es/v1/list/Dot/props/propTypes.js +5 -0
- package/es/v1/list/DotNew/DotNew.js +2 -2
- package/es/v1/list/DotNew/props/defaultProps.js +3 -0
- package/es/v1/list/DotNew/props/propTypes.js +6 -0
- package/es/v1/list/GridStencils/GridStencils.js +1 -1
- package/es/v1/list/GridStencils/props/propTypes.js +8 -0
- package/es/v1/list/Icons/AddNewIcon.js +1 -1
- package/es/v1/list/Icons/CompleteIcon.js +1 -1
- package/es/v1/list/Icons/DeleteIcon.js +1 -1
- package/es/v1/list/Icons/EditIcon.js +1 -1
- package/es/v1/list/Icons/FloatingIcons.js +2 -2
- package/es/v1/list/Icons/ReadUnreadIcon.js +2 -2
- package/es/v1/list/Icons/SmartIcon.js +1 -1
- package/es/v1/list/Icons/props/defaultProps.js +6 -0
- package/es/v1/list/Icons/props/propTypes.js +53 -0
- package/es/v1/list/ListLayout/ListLayout.js +2 -2
- package/es/v1/list/ListLayout/props/defaultProps.js +11 -0
- package/es/v1/list/ListLayout/props/propTypes.js +28 -0
- package/es/v1/list/ListStencils/ListStencils.js +2 -2
- package/es/v1/list/ListStencils/props/defaultProps.js +3 -0
- package/es/v1/list/ListStencils/props/propTypes.js +4 -0
- package/es/v1/list/SecondaryText/AccountName.js +2 -2
- package/es/v1/list/SecondaryText/ContactName.js +2 -2
- package/es/v1/list/SecondaryText/DepartmentText.js +1 -1
- package/es/v1/list/SecondaryText/Email.js +2 -2
- package/es/v1/list/SecondaryText/HappinessRating.js +1 -1
- package/es/v1/list/SecondaryText/PhoneNumber.js +2 -2
- package/es/v1/list/SecondaryText/PriorityText.js +2 -2
- package/es/v1/list/SecondaryText/SecondaryText.js +2 -2
- package/es/v1/list/SecondaryText/StatusText.js +2 -2
- package/es/v1/list/SecondaryText/TicketId.js +2 -2
- package/es/v1/list/SecondaryText/Website.js +2 -2
- package/es/v1/list/SecondaryText/props/defaultProps.js +44 -0
- package/es/v1/list/SecondaryText/props/propTypes.js +142 -0
- package/es/v1/list/SecondryPanel/SecondryPanel.js +2 -2
- package/es/v1/list/SecondryPanel/props/defaultProps.js +18 -0
- package/es/v1/list/SecondryPanel/props/propTypes.js +27 -0
- package/es/v1/list/SentimentStatus/SentimentStatus.js +1 -1
- package/es/v1/list/SentimentStatus/props/propTypes.js +5 -0
- package/es/v1/list/Subject/Subject.js +2 -2
- package/es/v1/list/Subject/props/defaultProps.js +7 -0
- package/es/v1/list/Subject/props/propTypes.js +19 -0
- package/es/v1/list/TagNew/TagNew.js +2 -2
- package/es/v1/list/TagNew/props/defaultProps.js +4 -0
- package/es/v1/list/TagNew/props/propTypes.js +8 -0
- package/es/v1/list/Thread/Thread.js +2 -2
- package/es/v1/list/Thread/props/defaultProps.js +4 -0
- package/es/v1/list/Thread/props/propTypes.js +8 -0
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
- package/es/v1/list/status/StatusDropdown/props/defaultProps.js +19 -0
- package/es/v1/list/status/StatusDropdown/props/propTypes.js +54 -0
- package/es/v1/list/status/StatusListItem/StatusListItem.js +2 -2
- package/es/v1/list/status/StatusListItem/props/defaultProps.js +15 -0
- package/es/v1/list/status/StatusListItem/props/propTypes.js +29 -0
- package/es/v1/lookup/EmptyPage/EmptyPage.js +2 -2
- package/es/v1/lookup/EmptyPage/props/defaultProps.js +4 -0
- package/es/v1/lookup/EmptyPage/props/propTypes.js +5 -0
- package/es/v1/lookup/Lookup/Lookup.js +2 -2
- package/es/v1/lookup/Lookup/props/defaultProps.js +8 -0
- package/es/v1/lookup/Lookup/props/propTypes.js +22 -0
- package/es/v1/lookup/Section/Section.js +1 -1
- package/es/v1/lookup/Section/props/propTypes.js +6 -0
- package/es/v1/lookup/header/Close/Close.js +2 -2
- package/es/v1/lookup/header/Close/props/defaultProps.js +3 -0
- package/es/v1/lookup/header/Close/props/propTypes.js +6 -0
- package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +2 -2
- package/es/v1/lookup/header/ModuleHeader/props/defaultProps.js +3 -0
- package/es/v1/lookup/header/ModuleHeader/props/propTypes.js +17 -0
- package/es/v1/lookup/header/Search/Search.js +2 -2
- package/es/v1/lookup/header/Search/props/defaultProps.js +5 -0
- package/es/v1/lookup/header/Search/props/propTypes.js +28 -0
- package/es/v1/lookup/header/TicketHeader/TicketHeader.js +2 -2
- package/es/v1/lookup/header/TicketHeader/props/defaultProps.js +4 -0
- package/es/v1/lookup/header/TicketHeader/props/propTypes.js +20 -0
- package/es/v1/lookup/header/Title/Title.js +2 -2
- package/es/v1/lookup/header/Title/props/defaultProps.js +3 -0
- package/es/v1/lookup/header/Title/props/propTypes.js +6 -0
- package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +2 -2
- package/es/v1/lookup/header/ViewDropDown/props/defaultProps.js +7 -0
- package/es/v1/lookup/header/ViewDropDown/props/propTypes.js +22 -0
- package/es/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
- package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
- package/es/v1/setup/header/Button/Button.js +2 -2
- package/es/v1/setup/header/Button/props/defaultProps.js +4 -0
- package/es/v1/setup/header/Button/props/propTypes.js +7 -0
- package/es/v1/setup/header/Link/Link.js +2 -2
- package/es/v1/setup/header/Link/props/defaultProps.js +4 -0
- package/es/v1/setup/header/Link/props/propTypes.js +8 -0
- package/es/v1/setup/header/Search/Search.js +2 -2
- package/es/v1/setup/header/Search/props/defaultProps.js +5 -0
- package/es/v1/setup/header/Search/props/propTypes.js +11 -0
- package/es/v1/setup/header/Views/Views.js +2 -2
- package/es/v1/setup/header/Views/props/defaultProps.js +6 -0
- package/es/v1/setup/header/Views/props/propTypes.js +9 -0
- package/es/v1/setup/helptips/Description/Description.js +1 -1
- package/es/v1/setup/helptips/Description/props/propTypes.js +4 -0
- package/es/v1/setup/helptips/Link/Link.js +1 -1
- package/es/v1/setup/helptips/Link/props/propTypes.js +7 -0
- package/es/v1/setup/helptips/ListGroup/ListGroup.js +1 -1
- package/es/v1/setup/helptips/ListGroup/props/propTypes.js +5 -0
- package/es/v1/setup/helptips/Title/Title.js +1 -1
- package/es/v1/setup/helptips/Title/props/propTypes.js +4 -0
- package/es/v1/setup/table/Table/Table.js +2 -2
- package/es/v1/setup/table/Table/props/defaultProps.js +4 -0
- package/es/v1/setup/table/Table/props/propTypes.js +6 -0
- package/es/v1/setup/table/TableBody/TableBody.js +2 -2
- package/es/v1/setup/table/TableBody/props/defaultProps.js +3 -0
- package/es/v1/setup/table/TableBody/props/propTypes.js +7 -0
- package/es/v1/setup/table/TableData/TableData.js +2 -2
- package/es/v1/setup/table/TableData/props/defaultProps.js +5 -0
- package/es/v1/setup/table/TableData/props/propTypes.js +11 -0
- package/es/v1/setup/table/TableHead/TableHead.js +2 -2
- package/es/v1/setup/table/TableHead/props/defaultProps.js +4 -0
- package/es/v1/setup/table/TableHead/props/propTypes.js +8 -0
- package/es/v1/setup/table/TableRow/TableRow.js +2 -2
- package/es/v1/setup/table/TableRow/props/defaultProps.js +4 -0
- package/es/v1/setup/table/TableRow/props/propTypes.js +11 -0
- package/es/v1/setup/table/Text/Text.js +2 -2
- package/es/v1/setup/table/Text/props/defaultProps.js +7 -0
- package/es/v1/setup/table/Text/props/propTypes.js +13 -0
- package/es/v1/svg/PlusIcon.js +2 -2
- package/es/v1/svg/SnippetIcon.js +2 -2
- package/es/v1/svg/TemplateIcon.js +2 -2
- package/es/v1/svg/props/defaultProps.js +15 -0
- package/es/v1/svg/props/propTypes.js +16 -0
- package/es/v1/utils/ChannelIconMapping.js +129 -0
- package/es/v1/utils/General.js +45 -0
- package/es/v1/utils/editorUtils.js +193 -0
- package/es/version2/GlobalNotification/GlobalNotification.js +33 -26
- package/es/version2/GlobalNotification/GlobalNotification.module.css +72 -12
- package/es/version2/GlobalNotification/props/propTypes.js +9 -4
- package/es/version2/errorstate/V2_ErrorStates.module.css +1 -1
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +1 -1
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +1 -1
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +2 -2
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +2 -2
- package/lib/Attachment/Attachment.module.css +4 -2
- package/lib/AttachmentViewer/AttachmentViewer.module.css +1 -1
- package/lib/Drawer/Drawer.js +1 -1
- package/lib/ImportantNotes/ImportantNotes.module.css +6 -2
- package/lib/ToastMessage/ToastMessage.module.css +3 -2
- package/lib/Upload/Upload.module.css +1 -1
- package/lib/alert/AlertLookup/AlertLookup.module.css +1 -1
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +5 -2
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +5 -2
- package/lib/errorstate/EmptyStates.module.css +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +1 -1
- package/lib/form/fields/Fields.module.css +1 -1
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +4 -4
- package/lib/list/listCommon.module.css +1 -0
- package/lib/list/status/StatusListItem/StatusListItem.module.css +1 -1
- package/lib/lookup/header/Close/LookupClose.module.css +1 -1
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +1 -1
- package/lib/setup/header/Search/Search.module.css +1 -0
- package/lib/setup/header/Views/Views.module.css +1 -0
- package/lib/setup/helptips/Description/HelpTipsDescription.module.css +1 -1
- package/lib/v1/ActionButton/ActionButton.js +2 -2
- package/lib/v1/ActionButton/props/defaultProps.js +24 -0
- package/lib/v1/ActionButton/props/propTypes.js +44 -0
- package/lib/v1/AlphabeticList/AlphabeticList.js +2 -2
- package/lib/v1/AlphabeticList/props/defaultProps.js +20 -0
- package/lib/v1/AlphabeticList/props/propTypes.js +50 -0
- package/lib/v1/Attachment/Attachment.js +2 -2
- package/lib/v1/Attachment/props/defaultProps.js +14 -0
- package/lib/v1/Attachment/props/propTypes.js +28 -0
- package/lib/v1/AttachmentViewer/AttachmentImage.js +2 -2
- package/lib/v1/AttachmentViewer/AttachmentViewer.js +2 -2
- package/lib/v1/AttachmentViewer/props/defaultProps.js +18 -0
- package/lib/v1/AttachmentViewer/props/propTypes.js +43 -0
- package/lib/v1/ChannelIcon/ChannelIcon.js +3 -3
- package/lib/v1/ChannelIcon/props/defaultProps.js +14 -0
- package/lib/v1/ChannelIcon/props/propTypes.js +36 -0
- package/lib/v1/Drawer/Drawer.js +2 -2
- package/lib/v1/Drawer/props/defaultProps.js +31 -0
- package/lib/v1/Drawer/props/propTypes.js +66 -0
- package/lib/v1/ExternalLink/ExternalLink.js +2 -2
- package/lib/v1/ExternalLink/props/defaultProps.js +12 -0
- package/lib/v1/ExternalLink/props/propTypes.js +23 -0
- package/lib/v1/FlipCard/FlipCard.js +2 -2
- package/lib/v1/FlipCard/props/defaultProps.js +12 -0
- package/lib/v1/FlipCard/props/propTypes.js +48 -0
- package/lib/v1/FormAction/FormAction.js +2 -2
- package/lib/v1/FormAction/props/defaultProps.js +12 -0
- package/lib/v1/FormAction/props/propTypes.js +19 -0
- package/lib/v1/FreezeLayer/FreezeLayer.js +2 -2
- package/lib/v1/FreezeLayer/props/defaultProps.js +16 -0
- package/lib/v1/FreezeLayer/props/propTypes.js +31 -0
- package/lib/v1/GlobalNotification/GlobalNotification.js +2 -2
- package/lib/v1/GlobalNotification/props/defaultProps.js +11 -0
- package/lib/v1/GlobalNotification/props/propTypes.js +45 -0
- package/lib/v1/IconButton/IconButton.js +2 -2
- package/lib/v1/IconButton/props/defaultProps.js +24 -0
- package/lib/v1/IconButton/props/propTypes.js +43 -0
- package/lib/v1/Image/Image.js +2 -2
- package/lib/v1/Image/props/defaultProps.js +11 -0
- package/lib/v1/Image/props/propTypes.js +24 -0
- package/lib/v1/ImportantNotes/ImportantNotes.js +2 -2
- package/lib/v1/ImportantNotes/props/defaultProps.js +13 -0
- package/lib/v1/ImportantNotes/props/propTypes.js +21 -0
- package/lib/v1/Link/Link.js +2 -2
- package/lib/v1/Link/props/defaultProps.js +12 -0
- package/lib/v1/Link/props/propTypes.js +29 -0
- package/lib/v1/Message/Message.js +2 -2
- package/lib/v1/Message/props/defaultProps.js +11 -0
- package/lib/v1/Message/props/propTypes.js +41 -0
- package/lib/v1/MessageBanner/MessageBanner.js +2 -2
- package/lib/v1/MessageBanner/props/defaultProps.js +14 -0
- package/lib/v1/MessageBanner/props/propTypes.js +24 -0
- package/lib/v1/NewStar/NewStar.js +2 -2
- package/lib/v1/NewStar/props/defaultProps.js +11 -0
- package/lib/v1/NewStar/props/propTypes.js +17 -0
- package/lib/v1/PlusIcon/PlusIcon.js +2 -2
- package/lib/v1/PlusIcon/props/defaultProps.js +15 -0
- package/lib/v1/PlusIcon/props/propTypes.js +22 -0
- package/lib/v1/Provider/Config.js +29 -0
- package/lib/v1/Separator/Separator.js +2 -2
- package/lib/v1/Separator/props/defaultProps.js +19 -0
- package/lib/v1/Separator/props/propTypes.js +22 -0
- package/lib/v1/TagWithIcon/TagWithIcon.js +2 -2
- package/lib/v1/TagWithIcon/props/defaultProps.js +15 -0
- package/lib/v1/TagWithIcon/props/propTypes.js +24 -0
- package/lib/v1/ToastMessage/ToastMessage.js +2 -2
- package/lib/v1/ToastMessage/props/defaultProps.js +25 -0
- package/lib/v1/ToastMessage/props/propTypes.js +51 -0
- package/lib/v1/Upload/Upload.js +2 -2
- package/lib/v1/Upload/props/defaultProps.js +14 -0
- package/lib/v1/Upload/props/propTypes.js +28 -0
- package/lib/v1/actions/AutoClose.js +2 -2
- package/lib/v1/actions/props/defaultProps.js +10 -0
- package/lib/v1/actions/props/propTypes.js +19 -0
- package/lib/v1/alert/AlertClose/AlertClose.js +1 -1
- package/lib/v1/alert/AlertClose/props/propTypes.js +19 -0
- package/lib/v1/alert/alertIcons/AlarmAlertIcon.js +2 -2
- package/lib/v1/alert/alertIcons/AlertIcons.js +2 -2
- package/lib/v1/alert/alertIcons/DangerAlertIcon.js +2 -2
- package/lib/v1/alert/alertIcons/ErrorAlertIcon.js +2 -2
- package/lib/v1/alert/alertIcons/InfoAlertIcon.js +2 -2
- package/lib/v1/alert/alertIcons/NotificationAlertIcon.js +2 -2
- package/lib/v1/alert/alertIcons/SuccessAlertIcon.js +2 -2
- package/lib/v1/alert/alertIcons/WarningAlertIcon.js +2 -2
- package/lib/v1/alert/alertIcons/props/defaultProps.js +41 -0
- package/lib/v1/alert/alertIcons/props/propTypes.js +52 -0
- package/lib/v1/avatar/AvatarClose/AvatarClose.js +2 -2
- package/lib/v1/avatar/AvatarClose/props/defaultProps.js +13 -0
- package/lib/v1/avatar/AvatarClose/props/propTypes.js +25 -0
- package/lib/v1/avatar/AvatarCollision/AvatarCollision.js +2 -2
- package/lib/v1/avatar/AvatarCollision/props/defaultProps.js +15 -0
- package/lib/v1/avatar/AvatarCollision/props/propTypes.js +28 -0
- package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/lib/v1/avatar/AvatarIcon/props/defaultProps.js +21 -0
- package/lib/v1/avatar/AvatarIcon/props/propTypes.js +31 -0
- package/lib/v1/avatar/AvatarStatus/AvatarStatus.js +2 -2
- package/lib/v1/avatar/AvatarStatus/props/defaultProps.js +19 -0
- package/lib/v1/avatar/AvatarStatus/props/propTypes.js +35 -0
- package/lib/v1/avatar/AvatarThread/AvatarThread.js +2 -2
- package/lib/v1/avatar/AvatarThread/props/defaultProps.js +16 -0
- package/lib/v1/avatar/AvatarThread/props/propTypes.js +41 -0
- package/lib/v1/avatar/AvatarUser/AvatarUser.js +2 -2
- package/lib/v1/avatar/AvatarUser/props/defaultProps.js +15 -0
- package/lib/v1/avatar/AvatarUser/props/propTypes.js +46 -0
- package/lib/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
- package/lib/v1/avatar/AvatarWithTeam/props/defaultProps.js +16 -0
- package/lib/v1/avatar/AvatarWithTeam/props/propTypes.js +36 -0
- package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +2 -2
- package/lib/v1/dropdown/ToggleDropDown/props/defaultProps.js +34 -0
- package/lib/v1/dropdown/ToggleDropDown/props/propTypes.js +90 -0
- package/lib/v1/emptystate/CommonEmptyState/CommonEmptyState.js +2 -2
- package/lib/v1/emptystate/CommonEmptyState/props/defaultProps.js +17 -0
- package/lib/v1/emptystate/CommonEmptyState/props/propTypes.js +32 -0
- package/lib/v1/emptystate/EditionPage/EditionPage.js +2 -2
- package/lib/v1/emptystate/EditionPage/props/defaultProps.js +12 -0
- package/lib/v1/emptystate/EditionPage/props/propTypes.js +22 -0
- package/lib/v1/errorstate/Inconvenience/Inconvenience.js +2 -2
- package/lib/v1/errorstate/Inconvenience/props/defaultProps.js +15 -0
- package/lib/v1/errorstate/Inconvenience/props/propTypes.js +27 -0
- package/lib/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +2 -2
- package/lib/v1/errorstate/OopsSomethingMiss/props/defaultProps.js +15 -0
- package/lib/v1/errorstate/OopsSomethingMiss/props/propTypes.js +27 -0
- package/lib/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +2 -2
- package/lib/v1/errorstate/UnableToProcessRequest/props/defaultProps.js +15 -0
- package/lib/v1/errorstate/UnableToProcessRequest/props/propTypes.js +27 -0
- package/lib/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +2 -2
- package/lib/v1/errorstate/UnauthorizedLogin/props/defaultProps.js +16 -0
- package/lib/v1/errorstate/UnauthorizedLogin/props/propTypes.js +28 -0
- package/lib/v1/errorstate/UrlNotFound/UrlNotFound.js +2 -2
- package/lib/v1/errorstate/UrlNotFound/props/defaultProps.js +15 -0
- package/lib/v1/errorstate/UrlNotFound/props/propTypes.js +27 -0
- package/lib/v1/errorstate/WillBeRightBack/WillBeRightBack.js +2 -2
- package/lib/v1/errorstate/WillBeRightBack/props/defaultProps.js +15 -0
- package/lib/v1/errorstate/WillBeRightBack/props/propTypes.js +27 -0
- package/lib/v1/form/fields/CheckBoxField/CheckBoxField.js +2 -2
- package/lib/v1/form/fields/CheckBoxField/props/defaultProps.js +27 -0
- package/lib/v1/form/fields/CheckBoxField/props/propTypes.js +45 -0
- package/lib/v1/form/fields/CurrencyField/CurrencyField.js +2 -2
- package/lib/v1/form/fields/CurrencyField/props/defaultProps.js +32 -0
- package/lib/v1/form/fields/CurrencyField/props/propTypes.js +57 -0
- package/lib/v1/form/fields/DateField/DateField.js +2 -2
- package/lib/v1/form/fields/DateField/props/defaultProps.js +34 -0
- package/lib/v1/form/fields/DateField/props/propTypes.js +57 -0
- package/lib/v1/form/fields/FieldContainer/FieldContainer.js +2 -2
- package/lib/v1/form/fields/FieldContainer/props/defaultProps.js +22 -0
- package/lib/v1/form/fields/FieldContainer/props/propTypes.js +35 -0
- package/lib/v1/form/fields/MultiSelectField/MultiSelectField.js +2 -2
- package/lib/v1/form/fields/MultiSelectField/props/defaultProps.js +32 -0
- package/lib/v1/form/fields/MultiSelectField/props/propTypes.js +68 -0
- package/lib/v1/form/fields/PhoneField/PhoneField.js +2 -2
- package/lib/v1/form/fields/PhoneField/props/defaultProps.js +23 -0
- package/lib/v1/form/fields/PhoneField/props/propTypes.js +58 -0
- package/lib/v1/form/fields/RadioField/RadioField.js +2 -2
- package/lib/v1/form/fields/RadioField/props/defaultProps.js +19 -0
- package/lib/v1/form/fields/RadioField/props/propTypes.js +41 -0
- package/lib/v1/form/fields/SelectField/SelectField.js +2 -2
- package/lib/v1/form/fields/SelectField/props/defaultProps.js +33 -0
- package/lib/v1/form/fields/SelectField/props/propTypes.js +68 -0
- package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
- package/lib/v1/form/fields/TagsMultiSelect/props/defaultProps.js +18 -0
- package/lib/v1/form/fields/TagsMultiSelect/props/propTypes.js +55 -0
- package/lib/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
- package/lib/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +34 -0
- package/lib/v1/form/fields/TagsMultiSelectField/props/propTypes.js +75 -0
- package/lib/v1/form/fields/TextBoxField/TextBoxField.js +2 -2
- package/lib/v1/form/fields/TextBoxField/props/defaultProps.js +32 -0
- package/lib/v1/form/fields/TextBoxField/props/propTypes.js +62 -0
- package/lib/v1/form/fields/TextEditor/TextEditor.js +2 -2
- package/lib/v1/form/fields/TextEditor/props/defaultProps.js +20 -0
- package/lib/v1/form/fields/TextEditor/props/propTypes.js +57 -0
- package/lib/v1/form/fields/TextEditorField/TextEditorField.js +2 -2
- package/lib/v1/form/fields/TextEditorField/props/defaultProps.js +30 -0
- package/lib/v1/form/fields/TextEditorField/props/propTypes.js +67 -0
- package/lib/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -2
- package/lib/v1/form/fields/TextEditorWrapper/props/defaultProps.js +16 -0
- package/lib/v1/form/fields/TextEditorWrapper/props/propTypes.js +51 -0
- package/lib/v1/form/fields/TextareaField/TextareaField.js +2 -2
- package/lib/v1/form/fields/TextareaField/props/defaultProps.js +30 -0
- package/lib/v1/form/fields/TextareaField/props/propTypes.js +52 -0
- package/lib/v1/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/lib/v1/form/fields/ValidationMessage/props/defaultProps.js +14 -0
- package/lib/v1/form/fields/ValidationMessage/props/propTypes.js +27 -0
- package/lib/v1/form/fields/props/FieldCommonDefaultProps.js +19 -0
- package/lib/v1/form/fields/props/FieldCommonPropTypes.js +28 -0
- package/lib/v1/form/layout/Field/Field.js +2 -2
- package/lib/v1/form/layout/Field/props/defaultProps.js +11 -0
- package/lib/v1/form/layout/Field/props/propTypes.js +21 -0
- package/lib/v1/form/layout/Section/Section.js +1 -1
- package/lib/v1/form/layout/Section/props/propTypes.js +22 -0
- package/lib/v1/layout/SetupDetailLayout/SetupDetailLayout.js +2 -2
- package/lib/v1/layout/SetupDetailLayout/props/defaultProps.js +30 -0
- package/lib/v1/layout/SetupDetailLayout/props/propTypes.js +54 -0
- package/lib/v1/layout/SubtabLayout/SubtabLayout.js +2 -2
- package/lib/v1/layout/SubtabLayout/props/defaultProps.js +35 -0
- package/lib/v1/layout/SubtabLayout/props/propTypes.js +54 -0
- package/lib/v1/list/AvatarFlip/AvatarFlip.js +2 -2
- package/lib/v1/list/AvatarFlip/props/defaultProps.js +13 -0
- package/lib/v1/list/AvatarFlip/props/propTypes.js +40 -0
- package/lib/v1/list/BluePrintStatus/BluePrintStatus.js +1 -1
- package/lib/v1/list/BluePrintStatus/props/propTypes.js +15 -0
- package/lib/v1/list/Comment/Comment.js +2 -2
- package/lib/v1/list/Comment/props/defaultProps.js +11 -0
- package/lib/v1/list/Comment/props/propTypes.js +18 -0
- package/lib/v1/list/DepartmentDropDown/DepartmentDropDown.js +2 -2
- package/lib/v1/list/DepartmentDropDown/props/defaultProps.js +14 -0
- package/lib/v1/list/DepartmentDropDown/props/propTypes.js +35 -0
- package/lib/v1/list/Dot/Dot.js +2 -2
- package/lib/v1/list/Dot/props/defaultProps.js +11 -0
- package/lib/v1/list/Dot/props/propTypes.js +16 -0
- package/lib/v1/list/DotNew/DotNew.js +2 -2
- package/lib/v1/list/DotNew/props/defaultProps.js +10 -0
- package/lib/v1/list/DotNew/props/propTypes.js +17 -0
- package/lib/v1/list/GridStencils/GridStencils.js +1 -1
- package/lib/v1/list/GridStencils/props/propTypes.js +19 -0
- package/lib/v1/list/Icons/AddNewIcon.js +1 -1
- package/lib/v1/list/Icons/CompleteIcon.js +1 -1
- package/lib/v1/list/Icons/DeleteIcon.js +1 -1
- package/lib/v1/list/Icons/EditIcon.js +1 -1
- package/lib/v1/list/Icons/FloatingIcons.js +2 -2
- package/lib/v1/list/Icons/ReadUnreadIcon.js +2 -2
- package/lib/v1/list/Icons/SmartIcon.js +1 -1
- package/lib/v1/list/Icons/props/defaultProps.js +14 -0
- package/lib/v1/list/Icons/props/propTypes.js +70 -0
- package/lib/v1/list/ListLayout/ListLayout.js +2 -2
- package/lib/v1/list/ListLayout/props/defaultProps.js +18 -0
- package/lib/v1/list/ListLayout/props/propTypes.js +41 -0
- package/lib/v1/list/ListStencils/ListStencils.js +2 -2
- package/lib/v1/list/ListStencils/props/defaultProps.js +10 -0
- package/lib/v1/list/ListStencils/props/propTypes.js +15 -0
- package/lib/v1/list/SecondaryText/AccountName.js +2 -2
- package/lib/v1/list/SecondaryText/ContactName.js +2 -2
- package/lib/v1/list/SecondaryText/DepartmentText.js +1 -1
- package/lib/v1/list/SecondaryText/Email.js +2 -2
- package/lib/v1/list/SecondaryText/HappinessRating.js +1 -1
- package/lib/v1/list/SecondaryText/PhoneNumber.js +2 -2
- package/lib/v1/list/SecondaryText/PriorityText.js +2 -2
- package/lib/v1/list/SecondaryText/SecondaryText.js +2 -2
- package/lib/v1/list/SecondaryText/StatusText.js +2 -2
- package/lib/v1/list/SecondaryText/TicketId.js +2 -2
- package/lib/v1/list/SecondaryText/Website.js +2 -2
- package/lib/v1/list/SecondaryText/props/defaultProps.js +59 -0
- package/lib/v1/list/SecondaryText/props/propTypes.js +163 -0
- package/lib/v1/list/SecondryPanel/SecondryPanel.js +2 -2
- package/lib/v1/list/SecondryPanel/props/defaultProps.js +28 -0
- package/lib/v1/list/SecondryPanel/props/propTypes.js +41 -0
- package/lib/v1/list/SentimentStatus/SentimentStatus.js +1 -1
- package/lib/v1/list/SentimentStatus/props/propTypes.js +16 -0
- package/lib/v1/list/Subject/Subject.js +2 -2
- package/lib/v1/list/Subject/props/defaultProps.js +14 -0
- package/lib/v1/list/Subject/props/propTypes.js +30 -0
- package/lib/v1/list/TagNew/TagNew.js +2 -2
- package/lib/v1/list/TagNew/props/defaultProps.js +11 -0
- package/lib/v1/list/TagNew/props/propTypes.js +19 -0
- package/lib/v1/list/Thread/Thread.js +2 -2
- package/lib/v1/list/Thread/props/defaultProps.js +11 -0
- package/lib/v1/list/Thread/props/propTypes.js +19 -0
- package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
- package/lib/v1/list/status/StatusDropdown/props/defaultProps.js +26 -0
- package/lib/v1/list/status/StatusDropdown/props/propTypes.js +34 -0
- package/lib/v1/list/status/StatusListItem/StatusListItem.js +2 -2
- package/lib/v1/list/status/StatusListItem/props/defaultProps.js +22 -0
- package/lib/v1/list/status/StatusListItem/props/propTypes.js +40 -0
- package/lib/v1/lookup/EmptyPage/EmptyPage.js +2 -2
- package/lib/v1/lookup/EmptyPage/props/defaultProps.js +11 -0
- package/lib/v1/lookup/EmptyPage/props/propTypes.js +16 -0
- package/lib/v1/lookup/Lookup/Lookup.js +2 -2
- package/lib/v1/lookup/Lookup/props/defaultProps.js +15 -0
- package/lib/v1/lookup/Lookup/props/propTypes.js +33 -0
- package/lib/v1/lookup/Section/Section.js +1 -1
- package/lib/v1/lookup/Section/props/propTypes.js +17 -0
- package/lib/v1/lookup/header/Close/Close.js +2 -2
- package/lib/v1/lookup/header/Close/props/defaultProps.js +10 -0
- package/lib/v1/lookup/header/Close/props/propTypes.js +17 -0
- package/lib/v1/lookup/header/ModuleHeader/ModuleHeader.js +2 -2
- package/lib/v1/lookup/header/ModuleHeader/props/defaultProps.js +10 -0
- package/lib/v1/lookup/header/ModuleHeader/props/propTypes.js +28 -0
- package/lib/v1/lookup/header/Search/Search.js +2 -2
- package/lib/v1/lookup/header/Search/props/defaultProps.js +12 -0
- package/lib/v1/lookup/header/Search/props/propTypes.js +40 -0
- package/lib/v1/lookup/header/TicketHeader/TicketHeader.js +2 -2
- package/lib/v1/lookup/header/TicketHeader/props/defaultProps.js +11 -0
- package/lib/v1/lookup/header/TicketHeader/props/propTypes.js +31 -0
- package/lib/v1/lookup/header/Title/Title.js +2 -2
- package/lib/v1/lookup/header/Title/props/defaultProps.js +10 -0
- package/lib/v1/lookup/header/Title/props/propTypes.js +17 -0
- package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +2 -2
- package/lib/v1/lookup/header/ViewDropDown/props/defaultProps.js +14 -0
- package/lib/v1/lookup/header/ViewDropDown/props/propTypes.js +33 -0
- package/lib/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
- package/lib/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
- package/lib/v1/setup/header/Button/Button.js +2 -2
- package/lib/v1/setup/header/Button/props/defaultProps.js +11 -0
- package/lib/v1/setup/header/Button/props/propTypes.js +18 -0
- package/lib/v1/setup/header/Link/Link.js +2 -2
- package/lib/v1/setup/header/Link/props/defaultProps.js +11 -0
- package/lib/v1/setup/header/Link/props/propTypes.js +19 -0
- package/lib/v1/setup/header/Search/Search.js +2 -2
- package/lib/v1/setup/header/Search/props/defaultProps.js +12 -0
- package/lib/v1/setup/header/Search/props/propTypes.js +22 -0
- package/lib/v1/setup/header/Views/Views.js +2 -2
- package/lib/v1/setup/header/Views/props/defaultProps.js +13 -0
- package/lib/v1/setup/header/Views/props/propTypes.js +20 -0
- package/lib/v1/setup/helptips/Description/Description.js +1 -1
- package/lib/v1/setup/helptips/Description/props/propTypes.js +15 -0
- package/lib/v1/setup/helptips/Link/Link.js +1 -1
- package/lib/v1/setup/helptips/Link/props/propTypes.js +18 -0
- package/lib/v1/setup/helptips/ListGroup/ListGroup.js +1 -1
- package/lib/v1/setup/helptips/ListGroup/props/propTypes.js +16 -0
- package/lib/v1/setup/helptips/Title/Title.js +1 -1
- package/lib/v1/setup/helptips/Title/props/propTypes.js +15 -0
- package/lib/v1/setup/table/Table/Table.js +2 -2
- package/lib/v1/setup/table/Table/props/defaultProps.js +11 -0
- package/lib/v1/setup/table/Table/props/propTypes.js +17 -0
- package/lib/v1/setup/table/TableBody/TableBody.js +2 -2
- package/lib/v1/setup/table/TableBody/props/defaultProps.js +10 -0
- package/lib/v1/setup/table/TableBody/props/propTypes.js +18 -0
- package/lib/v1/setup/table/TableData/TableData.js +2 -2
- package/lib/v1/setup/table/TableData/props/defaultProps.js +12 -0
- package/lib/v1/setup/table/TableData/props/propTypes.js +22 -0
- package/lib/v1/setup/table/TableHead/TableHead.js +2 -2
- package/lib/v1/setup/table/TableHead/props/defaultProps.js +11 -0
- package/lib/v1/setup/table/TableHead/props/propTypes.js +19 -0
- package/lib/v1/setup/table/TableRow/TableRow.js +2 -2
- package/lib/v1/setup/table/TableRow/props/defaultProps.js +11 -0
- package/lib/v1/setup/table/TableRow/props/propTypes.js +22 -0
- package/lib/v1/setup/table/Text/Text.js +2 -2
- package/lib/v1/setup/table/Text/props/defaultProps.js +14 -0
- package/lib/v1/setup/table/Text/props/propTypes.js +24 -0
- package/lib/v1/svg/PlusIcon.js +2 -2
- package/lib/v1/svg/SnippetIcon.js +2 -2
- package/lib/v1/svg/TemplateIcon.js +2 -2
- package/lib/v1/svg/props/defaultProps.js +24 -0
- package/lib/v1/svg/props/propTypes.js +29 -0
- package/lib/v1/utils/ChannelIconMapping.js +138 -0
- package/lib/v1/utils/General.js +58 -0
- package/lib/v1/utils/editorUtils.js +223 -0
- package/lib/version2/GlobalNotification/GlobalNotification.js +64 -36
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +72 -12
- package/lib/version2/GlobalNotification/props/propTypes.js +9 -4
- package/lib/version2/errorstate/V2_ErrorStates.module.css +1 -1
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +1 -1
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +1 -1
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +2 -2
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +2 -2
- package/package.json +19 -17
- package/result.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import { defaultProps } from '
|
|
3
|
-
import { propTypes } from '
|
|
2
|
+
import { defaultProps } from './props/defaultProps';
|
|
3
|
+
import { propTypes } from './props/propTypes';
|
|
4
4
|
import { Icon } from '@zohodesk/icons';
|
|
5
5
|
import Button from '@zohodesk/components/es/v1/semantic/Button/Button';
|
|
6
6
|
import style from '../../../list/Thread/Thread.module.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useState, useRef } from 'react';
|
|
2
2
|
import { useEffectCallOnlyAfterState } from '@zohodesk/hooks';
|
|
3
|
-
import { defaultProps } from '
|
|
4
|
-
import { propTypes } from '
|
|
3
|
+
import { defaultProps } from './props/defaultProps';
|
|
4
|
+
import { propTypes } from './props/propTypes';
|
|
5
5
|
import { Icon } from '@zohodesk/icons';
|
|
6
6
|
import Popup from '@zohodesk/components/es/v1/Popup/Popup';
|
|
7
7
|
import { Box, Container } from '@zohodesk/components/es/v1/Layout';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export const defaultProps = {
|
|
2
|
+
keyName: 'name',
|
|
3
|
+
idName: 'key',
|
|
4
|
+
isArrow: false,
|
|
5
|
+
searchBoxSize: 'small',
|
|
6
|
+
isDisabled: false,
|
|
7
|
+
showIconOnHover: false,
|
|
8
|
+
isReadOnly: false,
|
|
9
|
+
isEditable: true,
|
|
10
|
+
isDataLoaded: true,
|
|
11
|
+
needTick: true,
|
|
12
|
+
targetAlign: 'vertical',
|
|
13
|
+
needResponsive: true,
|
|
14
|
+
arrowIconPosition: 'default',
|
|
15
|
+
boxSize: 'medium',
|
|
16
|
+
needExternalPopupState: false,
|
|
17
|
+
statusColor: 'statusColor',
|
|
18
|
+
needMultiLineText: false
|
|
19
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const propTypes = {
|
|
3
|
+
activeStyle: PropTypes.string,
|
|
4
|
+
arrowIconPosition: PropTypes.oneOf(['default', 'overlay']),
|
|
5
|
+
bottom: PropTypes.number,
|
|
6
|
+
boxPosition: PropTypes.oneOf(['bottomRight', 'bottomLeft', 'bottomCenter', 'topRight', 'topLeft', 'topCenter', 'rightTop', 'rightBottom', 'rightCenter', 'leftTop', 'leftBottom', 'leftCenter']),
|
|
7
|
+
boxSize: PropTypes.oneOf(['small', 'medium', 'mlarge', 'large']),
|
|
8
|
+
children: PropTypes.node,
|
|
9
|
+
className: PropTypes.string,
|
|
10
|
+
dataId: PropTypes.string,
|
|
11
|
+
dataTitle: PropTypes.string,
|
|
12
|
+
getContainerRef: PropTypes.func,
|
|
13
|
+
getNextOptions: PropTypes.func,
|
|
14
|
+
getTargetRef: PropTypes.func,
|
|
15
|
+
hoverStyle: PropTypes.string,
|
|
16
|
+
idName: PropTypes.string,
|
|
17
|
+
isArrow: PropTypes.bool,
|
|
18
|
+
isDataLoaded: PropTypes.bool,
|
|
19
|
+
isDataLoaded: PropTypes.bool,
|
|
20
|
+
isDisabled: PropTypes.bool,
|
|
21
|
+
isEditable: PropTypes.bool,
|
|
22
|
+
isNextOptions: PropTypes.bool,
|
|
23
|
+
isPopupActive: PropTypes.bool,
|
|
24
|
+
isPopupOpen: PropTypes.bool,
|
|
25
|
+
isPopupReady: PropTypes.bool,
|
|
26
|
+
isReadOnly: PropTypes.bool,
|
|
27
|
+
isSearch: PropTypes.bool,
|
|
28
|
+
keyName: PropTypes.string,
|
|
29
|
+
left: PropTypes.number,
|
|
30
|
+
needExternalPopupState: PropTypes.bool,
|
|
31
|
+
needResponsive: PropTypes.bool,
|
|
32
|
+
needTick: PropTypes.bool,
|
|
33
|
+
onClick: PropTypes.func,
|
|
34
|
+
onTogglePopup: PropTypes.func,
|
|
35
|
+
options: PropTypes.array.isRequired,
|
|
36
|
+
placeHolderText: PropTypes.string,
|
|
37
|
+
position: PropTypes.string,
|
|
38
|
+
removeClose: PropTypes.func,
|
|
39
|
+
right: PropTypes.number,
|
|
40
|
+
searchBoxSize: PropTypes.oneOf(['small', 'medium', 'xmedium']),
|
|
41
|
+
searchEmptyHint: PropTypes.string,
|
|
42
|
+
searchErrorText: PropTypes.string,
|
|
43
|
+
showIconOnHover: PropTypes.bool,
|
|
44
|
+
showOnHover: PropTypes.bool,
|
|
45
|
+
statusColor: PropTypes.string,
|
|
46
|
+
targetAlign: PropTypes.oneOf(['vertical', 'horizontal', 'both', 'top', 'right', 'bottom', 'left', 'between', 'around']),
|
|
47
|
+
title: PropTypes.string,
|
|
48
|
+
togglePopup: PropTypes.func,
|
|
49
|
+
value: PropTypes.node,
|
|
50
|
+
needMultiLineText: PropTypes.bool,
|
|
51
|
+
onSelectLabel: PropTypes.func,
|
|
52
|
+
top: PropTypes.number,
|
|
53
|
+
a11y: PropTypes.object
|
|
54
|
+
};
|
|
@@ -2,8 +2,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
|
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React, { useRef } from 'react';
|
|
5
|
-
import { defaultProps } from '
|
|
6
|
-
import { propTypes } from '
|
|
5
|
+
import { defaultProps } from './props/defaultProps';
|
|
6
|
+
import { propTypes } from './props/propTypes';
|
|
7
7
|
import { Container, Box } from '@zohodesk/components/es/v1/Layout';
|
|
8
8
|
/**** Components ****/
|
|
9
9
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const defaultProps = {
|
|
2
|
+
active: false,
|
|
3
|
+
autoHover: false,
|
|
4
|
+
highlight: false,
|
|
5
|
+
id: '',
|
|
6
|
+
needTick: false,
|
|
7
|
+
palette: 'default',
|
|
8
|
+
size: 'medium',
|
|
9
|
+
isLink: false,
|
|
10
|
+
target: 'blank',
|
|
11
|
+
needBorder: true,
|
|
12
|
+
bulletColor: 'black',
|
|
13
|
+
a11y: {},
|
|
14
|
+
needMultiLineText: false
|
|
15
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const propTypes = {
|
|
3
|
+
active: PropTypes.bool,
|
|
4
|
+
autoHover: PropTypes.bool,
|
|
5
|
+
bulletColor: PropTypes.oneOf(['black', 'orange', 'green']),
|
|
6
|
+
disableTitle: PropTypes.string,
|
|
7
|
+
getRef: PropTypes.func,
|
|
8
|
+
highlight: PropTypes.bool,
|
|
9
|
+
href: PropTypes.string,
|
|
10
|
+
id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
11
|
+
index: PropTypes.number,
|
|
12
|
+
isDisabled: PropTypes.bool,
|
|
13
|
+
isLink: PropTypes.bool,
|
|
14
|
+
needBorder: PropTypes.bool,
|
|
15
|
+
needTick: PropTypes.bool,
|
|
16
|
+
onClick: PropTypes.func,
|
|
17
|
+
onMouseEnter: PropTypes.func,
|
|
18
|
+
palette: PropTypes.oneOf(['default', 'primary', 'secondary']),
|
|
19
|
+
size: PropTypes.oneOf(['small', 'medium', 'large']),
|
|
20
|
+
target: PropTypes.oneOf(['blank', 'self']),
|
|
21
|
+
title: PropTypes.string,
|
|
22
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
|
|
23
|
+
needMultiLineText: PropTypes.bool,
|
|
24
|
+
a11y: PropTypes.shape({
|
|
25
|
+
role: PropTypes.string,
|
|
26
|
+
ariaSelected: PropTypes.bool,
|
|
27
|
+
ariaHidden: PropTypes.bool
|
|
28
|
+
})
|
|
29
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*** Libraries ***/
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { defaultProps } from '
|
|
4
|
-
import { propTypes } from '
|
|
3
|
+
import { defaultProps } from './props/defaultProps';
|
|
4
|
+
import { propTypes } from './props/propTypes';
|
|
5
5
|
import EmptySearch from '@zohodesk/svg/lib/emptystate/version3/EmptySearch';
|
|
6
6
|
import EmptyAccounts from '@zohodesk/svg/lib/emptystate/version3/EmptyAccounts';
|
|
7
7
|
import EmptyContact from '@zohodesk/svg/lib/emptystate/version3/EmptyContact';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*** Libraries ***/
|
|
2
2
|
import React, { useRef, useCallback, useEffect } from 'react';
|
|
3
3
|
import { useEffectCallOnlyAfterState } from '@zohodesk/hooks';
|
|
4
|
-
import { defaultProps } from '
|
|
5
|
-
import { propTypes } from '
|
|
4
|
+
import { defaultProps } from './props/defaultProps';
|
|
5
|
+
import { propTypes } from './props/propTypes';
|
|
6
6
|
/*** Components ***/
|
|
7
7
|
|
|
8
8
|
import FreezeLayer from '../../../FreezeLayer/FreezeLayer';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const propTypes = {
|
|
3
|
+
children: PropTypes.node,
|
|
4
|
+
customClass: PropTypes.string,
|
|
5
|
+
dataId: PropTypes.string,
|
|
6
|
+
isActive: PropTypes.bool,
|
|
7
|
+
size: PropTypes.oneOf(['small', 'xmedium', 'medium', 'large', 'full']),
|
|
8
|
+
htmlId: PropTypes.string,
|
|
9
|
+
a11y: PropTypes.shape({
|
|
10
|
+
role: PropTypes.string,
|
|
11
|
+
ariaLabelledby: PropTypes.string,
|
|
12
|
+
ariaDescribedby: PropTypes.string,
|
|
13
|
+
ariaModal: PropTypes.bool
|
|
14
|
+
}),
|
|
15
|
+
onKeyDown: PropTypes.func,
|
|
16
|
+
childAnimationName: PropTypes.oneOf(['expand', 'flyDown']),
|
|
17
|
+
needFocusScope: PropTypes.bool,
|
|
18
|
+
customProps: PropTypes.object,
|
|
19
|
+
forwardRef: PropTypes.object,
|
|
20
|
+
onClick: PropTypes.func,
|
|
21
|
+
onClose: PropTypes.func
|
|
22
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { propTypes } from '
|
|
2
|
+
import { propTypes } from './props/propTypes';
|
|
3
3
|
import { Container, Box } from '@zohodesk/components/es/v1/Layout';
|
|
4
4
|
import style from '../../../lookup/Section/LookupSection.module.css';
|
|
5
5
|
export default function Section(props) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*** Libraries ***/
|
|
2
2
|
import React, { memo } from 'react';
|
|
3
|
-
import { defaultProps } from '
|
|
4
|
-
import { propTypes } from '
|
|
3
|
+
import { defaultProps } from './props/defaultProps';
|
|
4
|
+
import { propTypes } from './props/propTypes';
|
|
5
5
|
/*** FontIcons ***/
|
|
6
6
|
|
|
7
7
|
import IconButton from './../../../IconButton/IconButton';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*** Libraries ***/
|
|
2
2
|
import React, { memo } from 'react';
|
|
3
|
-
import { defaultProps } from '
|
|
4
|
-
import { propTypes } from '
|
|
3
|
+
import { defaultProps } from './props/defaultProps';
|
|
4
|
+
import { propTypes } from './props/propTypes';
|
|
5
5
|
/*** Components ***/
|
|
6
6
|
|
|
7
7
|
import Title from '../Title/Title';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const propTypes = {
|
|
3
|
+
getSearchBoxRef: PropTypes.func,
|
|
4
|
+
miniDescription: PropTypes.string,
|
|
5
|
+
needOnTypeSearch: PropTypes.bool,
|
|
6
|
+
needSearch: PropTypes.bool,
|
|
7
|
+
onLookupClose: PropTypes.func,
|
|
8
|
+
onSearch: PropTypes.func,
|
|
9
|
+
onSearchChange: PropTypes.func,
|
|
10
|
+
searchPlaceHolder: PropTypes.string,
|
|
11
|
+
searchStr: PropTypes.string,
|
|
12
|
+
title: PropTypes.string,
|
|
13
|
+
dataId: PropTypes.string,
|
|
14
|
+
closeTitle: PropTypes.string,
|
|
15
|
+
onSearchKeyDown: PropTypes.func,
|
|
16
|
+
palette: PropTypes.oneOf(['default', 'white'])
|
|
17
|
+
};
|
|
@@ -4,8 +4,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
|
|
|
4
4
|
|
|
5
5
|
/*** Libraries ***/
|
|
6
6
|
import React, { useState } from 'react';
|
|
7
|
-
import { SearchUI_defaultProps } from '
|
|
8
|
-
import { Search_propTypes, SearchUI_propTypes } from '
|
|
7
|
+
import { SearchUI_defaultProps } from './props/defaultProps';
|
|
8
|
+
import { Search_propTypes, SearchUI_propTypes } from './props/propTypes';
|
|
9
9
|
/** * Components ** */
|
|
10
10
|
|
|
11
11
|
import TextBoxIcon from '@zohodesk/components/es/v1/TextBoxIcon/TextBoxIcon';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const Search_propTypes = {
|
|
3
|
+
getRef: PropTypes.func,
|
|
4
|
+
onBlur: PropTypes.func,
|
|
5
|
+
onFocus: PropTypes.func,
|
|
6
|
+
onSelect: PropTypes.func,
|
|
7
|
+
options: PropTypes.array,
|
|
8
|
+
selectedId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
9
|
+
value: PropTypes.string
|
|
10
|
+
};
|
|
11
|
+
export const SearchUI_propTypes = {
|
|
12
|
+
activeClass: PropTypes.string,
|
|
13
|
+
dataId: PropTypes.string,
|
|
14
|
+
getRef: PropTypes.func,
|
|
15
|
+
isBoxed: PropTypes.bool,
|
|
16
|
+
isFocus: PropTypes.bool,
|
|
17
|
+
isSearchIconNeed: PropTypes.bool,
|
|
18
|
+
needOnTypeSearch: PropTypes.bool,
|
|
19
|
+
onBlur: PropTypes.func,
|
|
20
|
+
onChange: PropTypes.func,
|
|
21
|
+
onFocus: PropTypes.func,
|
|
22
|
+
onKeyDown: PropTypes.func,
|
|
23
|
+
onSearch: PropTypes.func,
|
|
24
|
+
options: PropTypes.array,
|
|
25
|
+
placeHolder: PropTypes.string,
|
|
26
|
+
searchStr: PropTypes.string,
|
|
27
|
+
title: PropTypes.string
|
|
28
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*** Libraries ***/
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { defaultProps } from '
|
|
4
|
-
import { propTypes } from '
|
|
3
|
+
import { defaultProps } from './props/defaultProps';
|
|
4
|
+
import { propTypes } from './props/propTypes';
|
|
5
5
|
/*** Components ***/
|
|
6
6
|
|
|
7
7
|
import Title from '../Title/Title';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const propTypes = {
|
|
3
|
+
allViews: PropTypes.array,
|
|
4
|
+
getSearchBoxRef: PropTypes.func,
|
|
5
|
+
needOnTypeSearch: PropTypes.bool,
|
|
6
|
+
needSearch: PropTypes.bool,
|
|
7
|
+
needViewsList: PropTypes.bool,
|
|
8
|
+
onLookupClose: PropTypes.func,
|
|
9
|
+
onSearch: PropTypes.func,
|
|
10
|
+
onSearchChange: PropTypes.func,
|
|
11
|
+
onSelectView: PropTypes.func,
|
|
12
|
+
searchPlaceHolder: PropTypes.string,
|
|
13
|
+
searchStr: PropTypes.string,
|
|
14
|
+
selectedViewId: PropTypes.string,
|
|
15
|
+
title: PropTypes.string,
|
|
16
|
+
i18nKeys: PropTypes.shape({
|
|
17
|
+
menuEmptyMessage: PropTypes.string
|
|
18
|
+
}),
|
|
19
|
+
palette: PropTypes.oneOf(['default', 'white'])
|
|
20
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*** Libraries ***/
|
|
2
2
|
import React, { memo } from 'react';
|
|
3
|
-
import { defaultProps } from '
|
|
4
|
-
import { propTypes } from '
|
|
3
|
+
import { defaultProps } from './props/defaultProps';
|
|
4
|
+
import { propTypes } from './props/propTypes';
|
|
5
5
|
/*** CSS ***/
|
|
6
6
|
|
|
7
7
|
import style from '../../../../lookup/header/Title/LookupTitle.module.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**** Libraries ****/
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { defaultProps } from '
|
|
4
|
-
import { propTypes } from '
|
|
3
|
+
import { defaultProps } from './props/defaultProps';
|
|
4
|
+
import { propTypes } from './props/propTypes';
|
|
5
5
|
/**** Components ****/
|
|
6
6
|
|
|
7
7
|
import { SelectComponent } from '@zohodesk/components/es/v1/Select/Select';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const propTypes = {
|
|
3
|
+
emptyMessage: PropTypes.string,
|
|
4
|
+
needSearch: PropTypes.bool,
|
|
5
|
+
searchBoxPlaceHolder: PropTypes.string,
|
|
6
|
+
searchEmptyMessage: PropTypes.string,
|
|
7
|
+
dropBoxSize: PropTypes.oneOf(['small', 'medium', 'large']),
|
|
8
|
+
|
|
9
|
+
/**** Popup props ****/
|
|
10
|
+
isPopupOpen: PropTypes.bool,
|
|
11
|
+
isPopupReady: PropTypes.bool,
|
|
12
|
+
removeClose: PropTypes.func,
|
|
13
|
+
closePopupOnly: PropTypes.func,
|
|
14
|
+
position: PropTypes.string,
|
|
15
|
+
getTargetRef: PropTypes.func,
|
|
16
|
+
getContainerRef: PropTypes.func,
|
|
17
|
+
defaultDropBoxPosition: PropTypes.string,
|
|
18
|
+
animationStyle: PropTypes.string,
|
|
19
|
+
searchBoxSize: PropTypes.string,
|
|
20
|
+
searchBoxVariant: PropTypes.string,
|
|
21
|
+
maxLength: PropTypes.string
|
|
22
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defaultProps } from '
|
|
3
|
-
import { propTypes } from '
|
|
2
|
+
import { defaultProps } from './props/defaultProps';
|
|
3
|
+
import { propTypes } from './props/propTypes';
|
|
4
4
|
import GenButton from '@zohodesk/components/es/v1/Button/Button';
|
|
5
5
|
import style from '../../../../setup/header/Button/HeaderButton.module.css';
|
|
6
6
|
export default function Button(props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defaultProps } from '
|
|
3
|
-
import { propTypes } from '
|
|
2
|
+
import { defaultProps } from './props/defaultProps';
|
|
3
|
+
import { propTypes } from './props/propTypes';
|
|
4
4
|
import { Icon } from '@zohodesk/icons';
|
|
5
5
|
import { Box } from '@zohodesk/components/es/v1/Layout';
|
|
6
6
|
import ExternalLink from '../../../ExternalLink/ExternalLink';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
|
-
import { defaultProps } from '
|
|
3
|
-
import { propTypes } from '
|
|
2
|
+
import { defaultProps } from './props/defaultProps';
|
|
3
|
+
import { propTypes } from './props/propTypes';
|
|
4
4
|
import { Icon } from '@zohodesk/icons';
|
|
5
5
|
import TextBox from '@zohodesk/components/es/v1/TextBox/TextBox';
|
|
6
6
|
import style from '../../../../setup/header/Search/Search.module.css';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const propTypes = {
|
|
3
|
+
customClass: PropTypes.string,
|
|
4
|
+
maxLength: PropTypes.number,
|
|
5
|
+
onBlur: PropTypes.func,
|
|
6
|
+
onChange: PropTypes.func,
|
|
7
|
+
onFocus: PropTypes.func,
|
|
8
|
+
onKeyPress: PropTypes.func,
|
|
9
|
+
placeHolder: PropTypes.string,
|
|
10
|
+
value: PropTypes.string
|
|
11
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defaultProps } from '
|
|
3
|
-
import { propTypes } from '
|
|
2
|
+
import { defaultProps } from './props/defaultProps';
|
|
3
|
+
import { propTypes } from './props/propTypes';
|
|
4
4
|
import style from '../../../../setup/header/Views/Views.module.css';
|
|
5
5
|
import { Icon } from '@zohodesk/icons';
|
|
6
6
|
export default function Views(props) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { propTypes } from '
|
|
2
|
+
import { propTypes } from './props/propTypes';
|
|
3
3
|
import style from '../../../../setup/helptips/Description/HelpTipsDescription.module.css';
|
|
4
4
|
export default function Description(props) {
|
|
5
5
|
let {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { propTypes } from '
|
|
2
|
+
import { propTypes } from './props/propTypes';
|
|
3
3
|
import style from '../../../../setup/helptips/Link/HelpTipsLink.module.css';
|
|
4
4
|
import ExternalLink from '../../../ExternalLink/ExternalLink';
|
|
5
5
|
export default function Link(props) {
|