@zohodesk/dot 1.0.0-temp-88 → 1.0.0-temp.30
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 +26 -1
- package/es/ExternalLink/ExternalLink.js +1 -1
- package/es/FlipCard/FlipCard.js +1 -1
- package/es/Link/Link.js +1 -1
- package/es/Message/Message.js +1 -1
- package/es/Provider.js +5 -105
- package/es/ToastMessage/ToastMessage.js +1 -1
- package/es/alert/AlertLookup/AlertLookup.js +12 -5
- package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +4 -3
- package/es/avatar/AvatarClose/AvatarClose.js +1 -1
- package/es/avatar/AvatarCollision/AvatarCollision.js +1 -1
- package/es/avatar/AvatarIcon/AvatarIcon.js +1 -1
- package/es/avatar/AvatarStatus/AvatarStatus.js +1 -1
- package/es/avatar/AvatarThread/AvatarThread.js +1 -1
- package/es/avatar/AvatarUser/AvatarUser.js +1 -1
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +1 -1
- package/es/docs/formDocs.js +5 -1
- package/es/docs/generalDocs.js +5 -2
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +4 -5
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +3 -2
- package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +3 -3
- package/es/emptystate/EditionPage/EditionPage.js +1 -1
- package/es/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/es/errorstate/NoRequestFound/NoRequestFound.js +1 -1
- package/es/errorstate/PermissionPlay/PermissionPlay.js +1 -1
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +1 -1
- package/es/errorstate/UnableToProcess/UnableToProcess.js +1 -1
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
- package/es/errorstate/WillBack/WillBack.js +1 -1
- package/es/form/fields/CheckBoxField/CheckBoxField.js +17 -29
- package/es/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +8 -1
- package/es/form/fields/CurrencyField/CurrencyField.js +17 -30
- package/es/form/fields/CurrencyField/docs/CurrencyField__default.docs.js +36 -0
- package/es/form/fields/DateField/DateField.js +17 -29
- package/es/form/fields/DateField/docs/DateField__default.docs.js +8 -1
- package/es/form/fields/FieldContainer/FieldContainer.js +82 -0
- package/es/form/fields/FieldContainer/docs/FieldContainer__default.docs.js +49 -0
- package/es/form/fields/MultiSelectField/MultiSelectField.js +17 -29
- package/es/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +8 -1
- package/es/form/fields/PhoneField/PhoneField.js +1 -1
- package/es/form/fields/RadioField/RadioField.js +1 -1
- package/es/form/fields/SelectField/SelectField.js +17 -29
- package/es/form/fields/SelectField/docs/SelectField__default.docs.js +8 -1
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +10 -7
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +33 -29
- package/es/form/fields/TextBoxField/TextBoxField.js +19 -44
- package/es/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +28 -1
- package/es/form/fields/TextEditorField/TextEditorField.js +28 -45
- package/es/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +9 -2
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
- package/es/form/fields/TextareaField/TextareaField.js +17 -29
- package/es/form/fields/TextareaField/docs/TextareaField__default.docs.js +8 -1
- package/es/form/fields/props/FieldCommonDefaultProps.js +10 -0
- package/es/form/fields/props/FieldCommonPropTypes.js +22 -0
- package/es/layout/SubtabLayout/SubtabLayout.js +1 -1
- package/es/list/GridStencils/GridStencils.module.css +7 -18
- package/es/list/ListLayout/ListLayout.js +1 -1
- package/es/list/SecondaryText/AccountName.js +35 -39
- package/es/list/SecondaryText/ContactName.js +19 -14
- package/es/list/SecondaryText/Email.js +1 -1
- package/es/list/SecondaryText/PhoneNumber.js +1 -1
- package/es/list/SecondaryText/SecondaryText.js +1 -1
- package/es/list/SecondaryText/SecondaryText.module.css +15 -30
- package/es/list/SecondaryText/TicketId.js +1 -1
- package/es/list/SecondaryText/docs/SecondaryText__default.docs.js +114 -0
- package/es/list/Subject/Subject.js +1 -1
- package/es/list/status/StatusDropdown/StatusDropdown.js +3 -2
- package/es/list/status/StatusListItem/StatusListItem.js +1 -1
- package/es/lookup/EmptyPage/EmptyPage.js +4 -4
- package/es/lookup/header/Search/Search.js +1 -1
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/es/svg/PlusIcon.js +1 -1
- package/es/svg/SnippetIcon.js +1 -1
- package/es/svg/TemplateIcon.js +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.js +1 -3
- package/es/version2/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +1 -1
- package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +1 -1
- package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
- package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +1 -1
- package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +1 -1
- package/es/version2/lookup/AlertLookup/AlertLookup.js +1 -1
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +1 -1
- package/lib/ActionButton/ActionButton.js +2 -2
- package/lib/ActionButton/docs/ActionButton__default.docs.js +2 -2
- package/lib/AlphabeticList/AlphabeticList.js +2 -2
- package/lib/AlphabeticList/docs/AlphabeticList__default.docs.js +2 -2
- package/lib/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +2 -2
- package/lib/Attachment/Attachment.js +2 -2
- package/lib/Attachment/docs/Attachment__default.docs.js +2 -2
- package/lib/AttachmentViewer/AttachmentImage.js +2 -2
- package/lib/AttachmentViewer/AttachmentViewer.js +2 -2
- package/lib/AttachmentViewer/docs/AttachmentViewer__default.docs.js +2 -2
- package/lib/ChannelIcon/ChannelIcon.js +2 -2
- package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +2 -2
- package/lib/Drawer/Drawer.js +2 -2
- package/lib/Drawer/docs/Drawer__default.docs.js +2 -2
- package/lib/Drawer/docs/Drawer__multiDrawer.docs.js +2 -2
- package/lib/Drawer/docs/Drawer__noFreeze.docs.js +2 -2
- package/lib/Drawer/docs/Drawer__withModal.docs.js +2 -2
- package/lib/ExternalLink/ExternalLink.js +3 -3
- package/lib/ExternalLink/docs/ExternalLink__default.docs.js +2 -2
- package/lib/FlipCard/FlipCard.js +3 -3
- package/lib/FlipCard/docs/FlipCard__default.docs.js +2 -2
- package/lib/FormAction/FormAction.js +2 -2
- package/lib/FormAction/docs/FormAction__default.docs.js +2 -2
- package/lib/FreezeLayer/FreezeLayer.js +2 -2
- package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +2 -2
- package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +2 -2
- package/lib/IconButton/IconButton.js +2 -2
- package/lib/IconButton/docs/IconButton__default.docs.js +2 -2
- package/lib/Image/Image.js +2 -2
- package/lib/Image/docs/Image__default.docs.js +2 -2
- package/lib/ImportantNotes/ImportantNotes.js +2 -2
- package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +2 -2
- package/lib/Link/Link.js +3 -3
- package/lib/Link/docs/Link__default.docs.js +2 -2
- package/lib/Loader/Loader.js +2 -2
- package/lib/Loader/docs/Loader__default.docs.js +2 -2
- package/lib/Message/Message.js +3 -3
- package/lib/Message/docs/Message__default.docs.js +2 -2
- package/lib/MessageBanner/MessageBanner.js +2 -2
- package/lib/MessageBanner/docs/MessageBanner__default.docs.js +2 -2
- package/lib/NewStar/NewStar.js +2 -2
- package/lib/NewStar/docs/NewStar__default.docs.js +2 -2
- package/lib/PlusIcon/PlusIcon.js +2 -2
- package/lib/PlusIcon/docs/PlusIcon__default.docs.js +2 -2
- package/lib/Provider.js +8 -125
- package/lib/ToastMessage/ToastMessage.js +1 -1
- package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +2 -2
- package/lib/ToastMessage/docs/ToastMessage__information.docs.js +2 -2
- package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +2 -2
- package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +2 -2
- package/lib/ToastMessage/docs/ToastMessage__success.docs.js +2 -2
- package/lib/Upload/Upload.js +2 -2
- package/lib/Upload/docs/Upload__default.docs.js +2 -2
- package/lib/alert/AlertHeader/AlertHeader.js +2 -2
- package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +2 -2
- package/lib/alert/AlertLookup/AlertLookup.js +14 -7
- package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +6 -5
- package/lib/avatar/AvatarClose/AvatarClose.js +3 -3
- package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +2 -2
- package/lib/avatar/AvatarCollision/AvatarCollision.js +3 -3
- package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +2 -2
- package/lib/avatar/AvatarIcon/AvatarIcon.js +3 -3
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +2 -2
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +2 -2
- package/lib/avatar/AvatarStatus/AvatarStatus.js +3 -3
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +2 -2
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +2 -2
- package/lib/avatar/AvatarThread/AvatarThread.js +3 -3
- package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +2 -2
- package/lib/avatar/AvatarUser/AvatarUser.js +3 -3
- package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +2 -2
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
- package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +2 -2
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +2 -2
- package/lib/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +2 -2
- package/lib/docs/formDocs.js +32 -0
- package/lib/docs/generalDocs.js +8 -0
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +6 -5
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +3 -2
- package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +2 -2
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +2 -2
- package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +5 -5
- package/lib/emptystate/EditionPage/EditionPage.js +3 -3
- package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +2 -2
- package/lib/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +2 -2
- package/lib/errorstate/LinkText/LinkText.js +2 -2
- package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +2 -2
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +3 -3
- package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +2 -2
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +3 -3
- package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +2 -2
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -3
- package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +2 -2
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +3 -3
- package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +2 -2
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +2 -2
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +2 -2
- package/lib/errorstate/WillBack/WillBack.js +3 -3
- package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +2 -2
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +26 -32
- package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +10 -3
- package/lib/form/fields/CurrencyField/CurrencyField.js +26 -33
- package/lib/{list/SecondaryText/docs/ContactName__default.docs.js → form/fields/CurrencyField/docs/CurrencyField__default.docs.js} +31 -18
- package/lib/form/fields/DateField/DateField.js +26 -32
- package/lib/form/fields/DateField/docs/DateField__default.docs.js +10 -3
- package/lib/form/fields/FieldContainer/FieldContainer.js +136 -0
- package/lib/form/fields/FieldContainer/docs/FieldContainer__default.docs.js +104 -0
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +26 -32
- package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +10 -3
- package/lib/form/fields/PhoneField/PhoneField.js +3 -3
- package/lib/form/fields/PhoneField/docs/PhoneField__default.docs.js +2 -2
- package/lib/form/fields/RadioField/RadioField.js +3 -3
- package/lib/form/fields/SelectField/SelectField.js +26 -32
- package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +10 -3
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +12 -9
- package/lib/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +2 -2
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +37 -31
- package/lib/form/fields/TextBoxField/TextBoxField.js +28 -48
- package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +37 -4
- package/lib/form/fields/TextEditor/TextEditor.js +2 -2
- package/lib/form/fields/TextEditorField/TextEditorField.js +36 -50
- package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +11 -4
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +3 -3
- package/lib/form/fields/TextareaField/TextareaField.js +26 -32
- package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +10 -3
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/lib/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +2 -2
- package/lib/form/fields/props/FieldCommonDefaultProps.js +19 -0
- package/lib/form/fields/props/FieldCommonPropTypes.js +34 -0
- package/lib/form/layout/Field/Field.js +2 -2
- package/lib/form/layout/Field/docs/Field__default.docs.js +2 -2
- package/lib/form/layout/Section/Section.js +2 -2
- package/lib/form/layout/Section/docs/Section__default.docs.js +2 -2
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +2 -2
- package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +2 -2
- package/lib/layout/SubtabLayout/SubtabLayout.js +3 -3
- package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +2 -2
- package/lib/list/AvatarFlip/AvatarFlip.js +2 -2
- package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +2 -2
- package/lib/list/BluePrintStatus/BluePrintStatus.js +2 -2
- package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +2 -2
- package/lib/list/Comment/Comment.js +2 -2
- package/lib/list/Comment/docs/Comment__default.docs.js +2 -2
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +2 -2
- package/lib/list/Dot/Dot.js +2 -2
- package/lib/list/DotNew/DotNew.js +2 -2
- package/lib/list/DotNew/docs/DotNew__default.docs.js +2 -2
- package/lib/list/GridStencils/GridStencils.js +2 -2
- package/lib/list/GridStencils/GridStencils.module.css +7 -18
- package/lib/list/GridStencils/docs/GridStencils__default.docs.js +2 -2
- package/lib/list/Icons/AddNewIcon.js +2 -2
- package/lib/list/Icons/CompleteIcon.js +2 -2
- package/lib/list/Icons/DeleteIcon.js +2 -2
- package/lib/list/Icons/EditIcon.js +2 -2
- package/lib/list/Icons/FloatingIcons.js +2 -2
- package/lib/list/Icons/ReadUnreadIcon.js +2 -2
- package/lib/list/Icons/SmartIcon.js +2 -2
- package/lib/list/Icons/docs/FloatingIcons__default.docs.js +2 -2
- package/lib/list/ListLayout/ListLayout.js +3 -3
- package/lib/list/ListLayout/docs/ListLayout__default.docs.js +2 -2
- package/lib/list/ListStencils/ListStencils.js +2 -2
- package/lib/list/ListStencils/docs/ListStencils__default.docs.js +2 -2
- package/lib/list/SecondaryText/AccountName.js +37 -41
- package/lib/list/SecondaryText/ContactName.js +21 -16
- package/lib/list/SecondaryText/DepartmentText.js +2 -2
- package/lib/list/SecondaryText/Email.js +3 -3
- package/lib/list/SecondaryText/HappinessRating.js +2 -2
- package/lib/list/SecondaryText/PhoneNumber.js +3 -3
- package/lib/list/SecondaryText/PriorityText.js +2 -2
- package/lib/list/SecondaryText/SecondaryText.js +3 -3
- package/lib/list/SecondaryText/SecondaryText.module.css +15 -30
- package/lib/list/SecondaryText/StatusText.js +2 -2
- package/lib/list/SecondaryText/TicketId.js +3 -3
- package/lib/list/SecondaryText/Website.js +2 -2
- package/lib/list/SecondaryText/docs/SecondaryText__default.docs.js +162 -0
- package/lib/list/SecondryPanel/SecondryPanel.js +2 -2
- package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +2 -2
- package/lib/list/SentimentStatus/SentimentStatus.js +2 -2
- package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +2 -2
- package/lib/list/Subject/Subject.js +3 -3
- package/lib/list/Subject/docs/Subject__default.docs.js +2 -2
- package/lib/list/TagNew/TagNew.js +2 -2
- package/lib/list/TagNew/docs/TagNew__default.docs.js +2 -2
- package/lib/list/Thread/Thread.js +2 -2
- package/lib/list/Thread/docs/Thread__default.docs.js +2 -2
- package/lib/list/UserTime/UserTime.js +2 -2
- package/lib/list/UserTime/docs/UserTime__default.docs.js +2 -2
- package/lib/list/status/StatusDropdown/StatusDropdown.js +5 -4
- package/lib/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +2 -2
- package/lib/list/status/StatusListItem/StatusListItem.js +3 -3
- package/lib/list/status/StatusListItem/docs/StatusListItem__default.docs.js +2 -2
- package/lib/lookup/EmptyPage/EmptyPage.js +6 -6
- package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +2 -2
- package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +2 -2
- package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +2 -2
- package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +2 -2
- package/lib/lookup/Lookup/Lookup.js +2 -2
- package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +2 -2
- package/lib/lookup/Lookup/docs/Lookup__default.docs.js +2 -2
- package/lib/lookup/Section/Section.js +2 -2
- package/lib/lookup/header/Close/Close.js +2 -2
- package/lib/lookup/header/Close/docs/Close__default.docs.js +2 -2
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +2 -2
- package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +2 -2
- package/lib/lookup/header/Search/Search.js +3 -3
- package/lib/lookup/header/Search/docs/Search__default.docs.js +2 -2
- package/lib/lookup/header/TicketHeader/TicketHeader.js +2 -2
- package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +2 -2
- package/lib/lookup/header/Title/Title.js +2 -2
- package/lib/lookup/header/Title/docs/Title__default.docs.js +2 -2
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
- package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +2 -2
- package/lib/setup/header/Button/Button.js +2 -2
- package/lib/setup/header/Button/docs/Button__default.docs.js +2 -2
- package/lib/setup/header/Link/Link.js +2 -2
- package/lib/setup/header/Link/docs/Link__default.docs.js +2 -2
- package/lib/setup/header/Search/Search.js +2 -2
- package/lib/setup/header/Search/docs/Search__default.docs.js +2 -2
- package/lib/setup/header/Views/Views.js +2 -2
- package/lib/setup/header/Views/docs/Views__default.docs.js +2 -2
- package/lib/setup/helptips/Description/Description.js +2 -2
- package/lib/setup/helptips/Description/docs/Description__default.docs.js +2 -2
- package/lib/setup/helptips/Link/Link.js +2 -2
- package/lib/setup/helptips/Link/docs/Link__default.docs.js +2 -2
- package/lib/setup/helptips/ListGroup/ListGroup.js +2 -2
- package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +2 -2
- package/lib/setup/helptips/Title/Title.js +2 -2
- package/lib/setup/helptips/Title/docs/Title__default.docs.js +2 -2
- package/lib/setup/table/Table/Table.js +2 -2
- package/lib/setup/table/Table/docs/Table__default.docs.js +2 -2
- package/lib/setup/table/TableBody/TableBody.js +2 -2
- package/lib/setup/table/TableData/TableData.js +2 -2
- package/lib/setup/table/TableHead/TableHead.js +2 -2
- package/lib/setup/table/TableRow/TableRow.js +2 -2
- package/lib/setup/table/Text/Text.js +2 -2
- package/lib/setup/table/Text/docs/Text__default.docs.js +2 -2
- package/lib/svg/PlusIcon.js +3 -3
- package/lib/svg/SnippetIcon.js +3 -3
- package/lib/svg/TemplateIcon.js +3 -3
- package/lib/svg/docs/SVG__default.docs.js +2 -2
- package/lib/version2/AlertClose/AlertClose.js +2 -2
- package/lib/version2/AlertClose/docs/AlertClose__default.docs.js +2 -2
- package/lib/version2/GlobalNotification/GlobalNotification.js +3 -3
- package/lib/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +2 -2
- package/lib/version2/alertIcons/AlarmAlertIcon.js +2 -2
- package/lib/version2/alertIcons/AlertIcons.js +2 -2
- package/lib/version2/alertIcons/DangerAlertIcon.js +2 -2
- package/lib/version2/alertIcons/ErrorAlertIcon.js +2 -2
- package/lib/version2/alertIcons/InfoAlertIcon.js +2 -2
- package/lib/version2/alertIcons/NotificationAlertIcon.js +2 -2
- package/lib/version2/alertIcons/SuccessAlertIcon.js +2 -2
- package/lib/version2/alertIcons/WarningAlertIcon.js +2 -2
- package/lib/version2/alertIcons/docs/AlertIcons__default.docs.js +2 -2
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/lib/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +2 -2
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -3
- package/lib/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +2 -2
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -3
- package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +2 -2
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/lib/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +2 -2
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -3
- package/lib/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +2 -2
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -3
- package/lib/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +2 -2
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +2 -2
- package/lib/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +2 -2
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +3 -3
- package/lib/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +2 -2
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +1 -1
- package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +2 -2
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +2 -2
- package/lib/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +2 -2
- package/package.json +9 -8
- package/es/list/SecondaryText/docs/ContactName__default.docs.js +0 -23
package/README.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
In this Library, we Provide Some Basic Components to Build Your Application
|
|
4
4
|
|
|
5
|
+
# 1.0.0-beta.234
|
|
6
|
+
|
|
7
|
+
- AlertLookup V1 => isHtmlContent prop added
|
|
8
|
+
|
|
9
|
+
# 1.0.0-beta.233
|
|
10
|
+
|
|
11
|
+
- ToggleDropDown , StatusDropdown => preventParentScroll implemented
|
|
12
|
+
|
|
13
|
+
# 1.0.0-beta.232
|
|
14
|
+
|
|
15
|
+
- Svg path updated
|
|
16
|
+
|
|
17
|
+
# 1.0.0-beta.231
|
|
18
|
+
|
|
19
|
+
- :focus in css removed
|
|
20
|
+
|
|
21
|
+
# 1.0.0-beta.230
|
|
22
|
+
|
|
23
|
+
- renderLabelProps props added and Field Container Component Wrapped for => CheckBoxField, CurrencyField, DateField, MultiField, SelectField, TextareaField, TextBoxField
|
|
24
|
+
|
|
25
|
+
# 1.0.0-beta.229
|
|
26
|
+
|
|
27
|
+
- TagsMultiSelect,TagsMultiSelectField => clickableTag prop added
|
|
28
|
+
- GridStencils => margin, width removed in css
|
|
29
|
+
|
|
5
30
|
# 1.0.0-beta.228
|
|
6
31
|
|
|
7
32
|
- ResponsiveDropBox Implemented for all DropBox
|
|
@@ -49,7 +74,7 @@ In this Library, we Provide Some Basic Components to Build Your Application
|
|
|
49
74
|
|
|
50
75
|
# 1.0.0-beta.216
|
|
51
76
|
|
|
52
|
-
- CurrencyField => formatCurrency call if check fixed (
|
|
77
|
+
- CurrencyField => formatCurrency call if check fixed (value will formatted when isActive is false)
|
|
53
78
|
|
|
54
79
|
# 1.0.0-beta.215
|
|
55
80
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
package/es/FlipCard/FlipCard.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React, { Component } from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
package/es/Link/Link.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
package/es/Message/Message.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
package/es/Provider.js
CHANGED
|
@@ -4,6 +4,7 @@ import { Container } from '@zohodesk/components/lib/Layout';
|
|
|
4
4
|
import AppContainer from '@zohodesk/components/lib/AppContainer/AppContainer';
|
|
5
5
|
import LibraryContext from '@zohodesk/components/lib/Provider/LibraryContextInit';
|
|
6
6
|
import datetime from '@zohodesk/datetimejs';
|
|
7
|
+
import ThemeTool from '../../common/lib/ThemeTool/ThemeTool';
|
|
7
8
|
import i18n from './i18n';
|
|
8
9
|
/* component pkg - default mode & themes */
|
|
9
10
|
|
|
@@ -109,6 +110,7 @@ export default class Provider extends React.Component {
|
|
|
109
110
|
themeName: 'blue'
|
|
110
111
|
};
|
|
111
112
|
this.setTheme = this.setTheme.bind(this);
|
|
113
|
+
this.setAppearance = this.setAppearance.bind(this);
|
|
112
114
|
}
|
|
113
115
|
|
|
114
116
|
setAppearance(mode) {
|
|
@@ -128,51 +130,6 @@ export default class Provider extends React.Component {
|
|
|
128
130
|
appearanceName,
|
|
129
131
|
themeName
|
|
130
132
|
} = this.state;
|
|
131
|
-
let themeClass = {
|
|
132
|
-
width: '20px',
|
|
133
|
-
height: '20px',
|
|
134
|
-
borderRadius: '3px',
|
|
135
|
-
display: 'flex',
|
|
136
|
-
border: '1px solid #ccc',
|
|
137
|
-
margin: '0 5px',
|
|
138
|
-
cursor: 'pointer',
|
|
139
|
-
backgroundColor: '#0a73eb'
|
|
140
|
-
};
|
|
141
|
-
let green = {
|
|
142
|
-
backgroundColor: '#26a942'
|
|
143
|
-
};
|
|
144
|
-
let red = {
|
|
145
|
-
backgroundColor: '#de3535'
|
|
146
|
-
};
|
|
147
|
-
let orange = {
|
|
148
|
-
backgroundColor: '#e57717'
|
|
149
|
-
};
|
|
150
|
-
let yellow = {
|
|
151
|
-
backgroundColor: '#e8b923'
|
|
152
|
-
};
|
|
153
|
-
let light = {
|
|
154
|
-
backgroundColor: '#fff'
|
|
155
|
-
};
|
|
156
|
-
let night = {
|
|
157
|
-
backgroundColor: '#232b38'
|
|
158
|
-
};
|
|
159
|
-
let dark = {
|
|
160
|
-
backgroundColor: '#212121'
|
|
161
|
-
};
|
|
162
|
-
let fixedPosition = {
|
|
163
|
-
position: 'fixed',
|
|
164
|
-
bottom: '0',
|
|
165
|
-
backgroundColor: '#272727',
|
|
166
|
-
padding: '10px',
|
|
167
|
-
borderRadius: '15px 15px 0 0',
|
|
168
|
-
minWidth: '100px',
|
|
169
|
-
textAlign: 'center',
|
|
170
|
-
boxShadow: '0 0 3px #000',
|
|
171
|
-
fontSize: '12px',
|
|
172
|
-
zIndex: '3',
|
|
173
|
-
display: 'flex',
|
|
174
|
-
alignItems: 'center'
|
|
175
|
-
};
|
|
176
133
|
return /*#__PURE__*/React.createElement(I18NProvider, {
|
|
177
134
|
i18n: i18n,
|
|
178
135
|
timeZone: "Asia/Kolkata",
|
|
@@ -194,66 +151,9 @@ export default class Provider extends React.Component {
|
|
|
194
151
|
}
|
|
195
152
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
196
153
|
scroll: "vertical"
|
|
197
|
-
}, this.props.children), /*#__PURE__*/React.createElement(
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
transform: 'translate(-20%)'
|
|
201
|
-
})
|
|
202
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
203
|
-
style: {
|
|
204
|
-
color: '#fff'
|
|
205
|
-
}
|
|
206
|
-
}, "Appearance:"), /*#__PURE__*/React.createElement("div", {
|
|
207
|
-
style: {
|
|
208
|
-
display: 'flex'
|
|
209
|
-
}
|
|
210
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
211
|
-
title: "Light Mode",
|
|
212
|
-
style: Object.assign({}, themeClass, light),
|
|
213
|
-
onClick: () => this.setAppearance('default')
|
|
214
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
215
|
-
title: "Night Mode",
|
|
216
|
-
style: Object.assign({}, themeClass, night),
|
|
217
|
-
onClick: () => this.setAppearance('dark')
|
|
218
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
219
|
-
title: "Dark Mode",
|
|
220
|
-
style: Object.assign({}, themeClass, dark),
|
|
221
|
-
onClick: () => this.setAppearance('pureDark')
|
|
222
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
223
|
-
style: Object.assign({}, fixedPosition, {
|
|
224
|
-
left: '80%',
|
|
225
|
-
transform: 'translate(-80%)'
|
|
226
|
-
})
|
|
227
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
228
|
-
style: {
|
|
229
|
-
color: '#fff'
|
|
230
|
-
}
|
|
231
|
-
}, "Themes:"), /*#__PURE__*/React.createElement("div", {
|
|
232
|
-
style: {
|
|
233
|
-
display: 'flex'
|
|
234
|
-
}
|
|
235
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
236
|
-
title: "Blue Theme",
|
|
237
|
-
style: themeClass,
|
|
238
|
-
onClick: () => this.setTheme('blue')
|
|
239
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
240
|
-
title: "Green Theme",
|
|
241
|
-
style: Object.assign({}, themeClass, green),
|
|
242
|
-
onClick: () => this.setTheme('green')
|
|
243
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
244
|
-
title: "Red Theme",
|
|
245
|
-
style: Object.assign({}, themeClass, red),
|
|
246
|
-
onClick: () => this.setTheme('red')
|
|
247
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
248
|
-
title: "Orange Theme",
|
|
249
|
-
style: Object.assign({}, themeClass, orange),
|
|
250
|
-
onClick: () => this.setTheme('orange')
|
|
251
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
252
|
-
title: "Yellow Theme",
|
|
253
|
-
style: Object.assign({}, themeClass, yellow),
|
|
254
|
-
onClick: () => this.setTheme('yellow')
|
|
255
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
256
|
-
"data-portal": "portal1"
|
|
154
|
+
}, this.props.children), /*#__PURE__*/React.createElement(ThemeTool, {
|
|
155
|
+
onThemeChange: this.setTheme,
|
|
156
|
+
onAppearanceChange: this.setAppearance
|
|
257
157
|
}))));
|
|
258
158
|
}
|
|
259
159
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React, { useState } from 'react';
|
|
4
4
|
import PropTypes from 'prop-types'; //components
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React, { Component } from 'react';
|
|
@@ -90,7 +90,8 @@ export default class AlertLookup extends Component {
|
|
|
90
90
|
iconName,
|
|
91
91
|
iconClass,
|
|
92
92
|
iconSize,
|
|
93
|
-
customProps
|
|
93
|
+
customProps,
|
|
94
|
+
isHtmlContent
|
|
94
95
|
} = this.props;
|
|
95
96
|
const {
|
|
96
97
|
LookupProps = {},
|
|
@@ -120,7 +121,11 @@ export default class AlertLookup extends Component {
|
|
|
120
121
|
className: style.section
|
|
121
122
|
}, /*#__PURE__*/React.createElement("div", {
|
|
122
123
|
className: `${style.innerSection} ${sectionClassName}`
|
|
123
|
-
}, children ? children : /*#__PURE__*/React.createElement(React.Fragment, null,
|
|
124
|
+
}, children ? children : /*#__PURE__*/React.createElement(React.Fragment, null, isHtmlContent && message ? /*#__PURE__*/React.createElement("div", {
|
|
125
|
+
dangerouslySetInnerHTML: {
|
|
126
|
+
__html: message
|
|
127
|
+
}
|
|
128
|
+
}) : /*#__PURE__*/React.createElement("div", null, message), confirmationMessage && /*#__PURE__*/React.createElement("div", {
|
|
124
129
|
className: style.text
|
|
125
130
|
}, confirmationMessage))), submitText || onSubmitClick || cancelText || onCancelClick ? /*#__PURE__*/React.createElement(FormAction, {
|
|
126
131
|
size: "small",
|
|
@@ -172,7 +177,8 @@ AlertLookup.propTypes = {
|
|
|
172
177
|
PrimaryButtonProps: PropTypes.object,
|
|
173
178
|
SecondaryButtonProps: PropTypes.object
|
|
174
179
|
}),
|
|
175
|
-
onEsc: PropTypes.oneOf(['close', 'cancel'])
|
|
180
|
+
onEsc: PropTypes.oneOf(['close', 'cancel']),
|
|
181
|
+
isHtmlContent: PropTypes.bool
|
|
176
182
|
};
|
|
177
183
|
AlertLookup.defaultProps = {
|
|
178
184
|
isActive: false,
|
|
@@ -185,7 +191,8 @@ AlertLookup.defaultProps = {
|
|
|
185
191
|
customClass: '',
|
|
186
192
|
isDefaultFocus: true,
|
|
187
193
|
customProps: {},
|
|
188
|
-
onEsc: 'cancel'
|
|
194
|
+
onEsc: 'cancel',
|
|
195
|
+
isHtmlContent: false
|
|
189
196
|
};
|
|
190
197
|
|
|
191
198
|
if (false) {
|
|
@@ -80,12 +80,13 @@ export default class AlertLookup__default extends Component {
|
|
|
80
80
|
},
|
|
81
81
|
onCancelClick: this.onCancel,
|
|
82
82
|
title: "Delete Ticket",
|
|
83
|
-
message: "Deleting this Ticket will move their Activities, and Time Entry to the Recycle Bin
|
|
83
|
+
message: "<h2>Deleting this Ticket will move their Activities, and Time Entry to the Recycle Bin.</h2>",
|
|
84
84
|
confirmationMessage: "Would you like to delete?",
|
|
85
85
|
submitText: "Delete",
|
|
86
86
|
cancelText: "Cancel",
|
|
87
87
|
onClose: this.onClose,
|
|
88
|
-
onEsc: "close"
|
|
88
|
+
onEsc: "close",
|
|
89
|
+
isHtmlContent: true
|
|
89
90
|
}), /*#__PURE__*/React.createElement(AlertLookup, {
|
|
90
91
|
isActive: lookup === 'remoteAssist' ? true : false,
|
|
91
92
|
type: "remoteAssist",
|
|
@@ -95,7 +96,7 @@ export default class AlertLookup__default extends Component {
|
|
|
95
96
|
},
|
|
96
97
|
onCancelClick: this.onCancel,
|
|
97
98
|
title: "Remote Assist",
|
|
98
|
-
message: /*#__PURE__*/React.createElement("div", null, "You are about to send an invite for remote assistance to",
|
|
99
|
+
message: /*#__PURE__*/React.createElement("div", null, "You are about to send an invite for remote assistance to ", /*#__PURE__*/React.createElement("b", null, "antro.avemaxa@gmail.com")),
|
|
99
100
|
confirmationMessage: "Would you like to continue?",
|
|
100
101
|
submitText: "Continue",
|
|
101
102
|
cancelText: "Cancel"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
package/es/docs/formDocs.js
CHANGED
|
@@ -18,9 +18,13 @@ export { default as DateField } from '../form/fields/DateField/DateField';
|
|
|
18
18
|
export { default as DateField__default } from '../form/fields/DateField/docs/DateField__default.docs';
|
|
19
19
|
export { default as CheckBoxField } from '../form/fields/CheckBoxField/CheckBoxField';
|
|
20
20
|
export { default as CheckBoxField__default } from '../form/fields/CheckBoxField/docs/CheckBoxField__default.docs';
|
|
21
|
+
export { default as CurrencyField } from '../form/fields/CurrencyField/CurrencyField';
|
|
22
|
+
export { default as CurrencyField__default } from '../form/fields/CurrencyField/docs/CurrencyField__default.docs';
|
|
21
23
|
export { default as TagsMultiSelect } from '../form/fields/TagsMultiSelect/TagsMultiSelect';
|
|
22
24
|
export { default as TagsMultiSelect__default } from '../form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs';
|
|
23
25
|
export { default as TagsMultiSelectField } from '../form/fields/TagsMultiSelectField/TagsMultiSelectField';
|
|
24
26
|
export { default as TagsMultiSelectField__default } from '../form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs';
|
|
25
27
|
export { default as TextEditorField } from '../form/fields/TextEditorField/TextEditorField';
|
|
26
|
-
export { default as TextEditorField__default } from '../form/fields/TextEditorField/docs/TextEditorField__default.docs';
|
|
28
|
+
export { default as TextEditorField__default } from '../form/fields/TextEditorField/docs/TextEditorField__default.docs';
|
|
29
|
+
export { default as FieldContainer } from '../form/fields/FieldContainer/FieldContainer';
|
|
30
|
+
export { default as FieldContainer__default } from '../form/fields/FieldContainer/docs/FieldContainer__default.docs';
|
package/es/docs/generalDocs.js
CHANGED
|
@@ -131,5 +131,8 @@ export { default as V2_ErrState_OopsSomethingMiss } from '../version2/errorstate
|
|
|
131
131
|
export { default as V2_ErrState_OopsSomethingMiss__default } from '../version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs';
|
|
132
132
|
/* Attachment Viewer */
|
|
133
133
|
|
|
134
|
-
export { default as AttachmentViewer } from
|
|
135
|
-
export { default as AttachmentViewer__default } from
|
|
134
|
+
export { default as AttachmentViewer } from '../AttachmentViewer/AttachmentViewer';
|
|
135
|
+
export { default as AttachmentViewer__default } from '../AttachmentViewer/docs/AttachmentViewer__default.docs';
|
|
136
|
+
/* Secondary Text */
|
|
137
|
+
|
|
138
|
+
export { default as SecondaryText__default } from '../list/SecondaryText/docs/SecondaryText__default.docs';
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
2
|
|
|
5
3
|
import React, { Component, Fragment } from 'react';
|
|
6
4
|
import PropTypes from 'prop-types';
|
|
@@ -11,9 +9,9 @@ import ListItem from '@zohodesk/components/lib/ListItem/ListItem';
|
|
|
11
9
|
import ListItemWithIcon from '@zohodesk/components/lib/ListItem/ListItemWithIcon';
|
|
12
10
|
import DropDownHeading from '@zohodesk/components/lib/DropDown/DropDownHeading';
|
|
13
11
|
import TextBoxIcon from '@zohodesk/components/lib/TextBoxIcon/TextBoxIcon';
|
|
14
|
-
import Loader from '@zohodesk/svg/lib/
|
|
12
|
+
import Loader from '@zohodesk/svg/lib/Loader/Loader';
|
|
15
13
|
import CommonEmptyState from '../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
16
|
-
import EmptySearch from '@zohodesk/svg/lib/
|
|
14
|
+
import EmptySearch from '@zohodesk/svg/lib/emptystate/version3/EmptySearch';
|
|
17
15
|
import CssProvider from '@zohodesk/components/lib/Provider/CssProvider';
|
|
18
16
|
import { scrollTo } from '@zohodesk/components/lib/utils/Common';
|
|
19
17
|
import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
|
|
@@ -675,6 +673,7 @@ export class ToggleDropDown extends Component {
|
|
|
675
673
|
flexible: true,
|
|
676
674
|
shrink: true,
|
|
677
675
|
scroll: "vertical",
|
|
676
|
+
preventParentScroll: "vertical",
|
|
678
677
|
dataId: `${dataId}_list`,
|
|
679
678
|
className: `${tabletMode ? style.responsivemaxHgt : style.maxHgt}`,
|
|
680
679
|
eleRef: this.scrollContentRef,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import CommonEmptyState from '../CommonEmptyState';
|
|
3
|
-
import EmptySearch from '@zohodesk/svg/lib/
|
|
4
|
-
import EmptyAccounts from '@zohodesk/svg/lib/
|
|
5
|
-
import EmptyTicket from '@zohodesk/svg/lib/
|
|
3
|
+
import EmptySearch from '@zohodesk/svg/lib/emptystate/version3/EmptySearch';
|
|
4
|
+
import EmptyAccounts from '@zohodesk/svg/lib/emptystate/version3/EmptyAccounts';
|
|
5
|
+
import EmptyTicket from '@zohodesk/svg/lib/emptystate/version3/EmptyTicket';
|
|
6
6
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
7
7
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
8
8
|
export default class CommonEmptyState__default extends Component {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { PropTypes } from 'prop-types';
|
|
3
|
-
import EmptyCrmPotential from '@zohodesk/svg/lib/
|
|
3
|
+
import EmptyCrmPotential from '@zohodesk/svg/lib/emptystate/version3/EmptyCrmPotential';
|
|
4
4
|
import style from './EditionPage.css';
|
|
5
5
|
export default class EditionPage extends Component {
|
|
6
6
|
constructor(props) {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import LinkText from '../LinkText/LinkText';
|
|
5
|
-
import InconvenienceSVG from '@zohodesk/svg/lib/
|
|
5
|
+
import InconvenienceSVG from '@zohodesk/svg/lib/errorstate/version1/EmptyInconvenience';
|
|
6
6
|
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
7
7
|
import commonStyle from '../EmptyStates.module.css';
|
|
8
8
|
import style from './Inconvenience.module.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import commonStyle from '../EmptyStates.module.css';
|
|
4
|
-
import NoRequestFoundSVG from '@zohodesk/svg/lib/
|
|
4
|
+
import NoRequestFoundSVG from '@zohodesk/svg/lib/errorstate/version1/NoRequestFound';
|
|
5
5
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
6
6
|
import LinkText from '../LinkText/LinkText';
|
|
7
7
|
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import LinkText from '../LinkText/LinkText';
|
|
5
|
-
import UnauthorizedLoginSVG from '@zohodesk/svg/lib/
|
|
5
|
+
import UnauthorizedLoginSVG from '@zohodesk/svg/lib/errorstate/version1/UnauthorizedLogin';
|
|
6
6
|
import commonStyle from '../EmptyStates.module.css';
|
|
7
7
|
import style from './PermissionPlay.module.css';
|
|
8
8
|
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
4
|
-
import UrlNotFound from '@zohodesk/svg/lib/
|
|
4
|
+
import UrlNotFound from '@zohodesk/svg/lib/errorstate/version1/UrlNotFound';
|
|
5
5
|
import LinkText from '../LinkText/LinkText';
|
|
6
6
|
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
7
7
|
import commonStyle from '../EmptyStates.module.css';
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import LinkText from '../LinkText/LinkText';
|
|
5
|
-
import UnableToProcessRequest from '@zohodesk/svg/lib/
|
|
5
|
+
import UnableToProcessRequest from '@zohodesk/svg/lib/errorstate/version1/UnableToProcessRequest';
|
|
6
6
|
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
7
7
|
import commonStyle from '../EmptyStates.module.css';
|
|
8
8
|
import style from './UnableToProcess.module.css';
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import LinkText from '../LinkText/LinkText';
|
|
5
|
-
import UnauthorizedLoginSVG from '@zohodesk/svg/lib/
|
|
5
|
+
import UnauthorizedLoginSVG from '@zohodesk/svg/lib/errorstate/version1/UnauthorizedLogin';
|
|
6
6
|
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
7
7
|
import commonStyle from '../EmptyStates.module.css';
|
|
8
8
|
import style from './UnauthorizedLogin.module.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
4
|
-
import WillBeRightBack from '@zohodesk/svg/lib/
|
|
4
|
+
import WillBeRightBack from '@zohodesk/svg/lib/errorstate/version1/WillBeRightBack';
|
|
5
5
|
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
6
6
|
import commonStyle from '../EmptyStates.module.css';
|
|
7
7
|
import style from './WillBack.module.css';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React, { PureComponent } from 'react';
|
|
@@ -9,9 +9,11 @@ import Label from '@zohodesk/components/lib/Label/Label';
|
|
|
9
9
|
import CheckBox from '@zohodesk/components/lib/CheckBox/CheckBox';
|
|
10
10
|
import ValidationMessage from '../ValidationMessage/ValidationMessage';
|
|
11
11
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
12
|
-
|
|
12
|
+
import FieldContainer from '../FieldContainer/FieldContainer';
|
|
13
|
+
/**** props ****/
|
|
13
14
|
|
|
14
|
-
import
|
|
15
|
+
import { FieldCommonDefaultProps } from '../props/FieldCommonDefaultProps';
|
|
16
|
+
import { FieldCommonPropTypes } from '../props/FieldCommonPropTypes';
|
|
15
17
|
/**** CSS ****/
|
|
16
18
|
|
|
17
19
|
import style from '../Fields.module.css';
|
|
@@ -69,7 +71,8 @@ export default class CheckBoxField extends PureComponent {
|
|
|
69
71
|
lineClamp,
|
|
70
72
|
isLocked,
|
|
71
73
|
lockedInfoText,
|
|
72
|
-
customProps
|
|
74
|
+
customProps,
|
|
75
|
+
renderLabelProps
|
|
73
76
|
} = this.props;
|
|
74
77
|
const {
|
|
75
78
|
LabelProps = {},
|
|
@@ -79,8 +82,11 @@ export default class CheckBoxField extends PureComponent {
|
|
|
79
82
|
} = customProps;
|
|
80
83
|
let removeEvent = isDisabled || isReadOnly;
|
|
81
84
|
let isDirectCol = direction === 'column';
|
|
82
|
-
let labelElement = /*#__PURE__*/React.createElement(
|
|
83
|
-
|
|
85
|
+
let labelElement = /*#__PURE__*/React.createElement(FieldContainer, {
|
|
86
|
+
isLocked: isLocked,
|
|
87
|
+
lockedInfoText: lockedInfoText,
|
|
88
|
+
infoText: infoText,
|
|
89
|
+
renderProps: renderLabelProps
|
|
84
90
|
}, /*#__PURE__*/React.createElement(Label, _extends({
|
|
85
91
|
text: labelName,
|
|
86
92
|
id: id,
|
|
@@ -92,17 +98,7 @@ export default class CheckBoxField extends PureComponent {
|
|
|
92
98
|
onClick: !removeEvent ? this.handleLabelClick : null,
|
|
93
99
|
variant: isDirectCol ? 'default' : 'primary',
|
|
94
100
|
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
|
|
95
|
-
}, LabelProps))
|
|
96
|
-
name: "ZD-GN-info",
|
|
97
|
-
iconClass: style.infoIcon,
|
|
98
|
-
title: infoText,
|
|
99
|
-
size: "15"
|
|
100
|
-
}) : null, isLocked ? /*#__PURE__*/React.createElement(Icon, {
|
|
101
|
-
name: "ZD-GN-lock",
|
|
102
|
-
size: "13",
|
|
103
|
-
iconClass: style.lockIcon,
|
|
104
|
-
title: lockedInfoText
|
|
105
|
-
}) : null);
|
|
101
|
+
}, LabelProps)));
|
|
106
102
|
return /*#__PURE__*/React.createElement("div", {
|
|
107
103
|
className: `${style.container} ${isDisabled ? style.disabled : isReadOnly ? style.readonly : ''}`,
|
|
108
104
|
"data-title": isDisabled ? title : null
|
|
@@ -139,16 +135,11 @@ export default class CheckBoxField extends PureComponent {
|
|
|
139
135
|
}
|
|
140
136
|
CheckBoxField.propTypes = {
|
|
141
137
|
checked: PropTypes.bool,
|
|
142
|
-
dataId: PropTypes.string,
|
|
143
138
|
direction: PropTypes.oneOf(['row', 'column']),
|
|
144
139
|
errorType: PropTypes.oneOf(['primary', 'secondary']),
|
|
145
140
|
fieldSize: PropTypes.oneOf(['small', 'medium']),
|
|
146
141
|
getRef: PropTypes.func,
|
|
147
142
|
id: PropTypes.string.isRequired,
|
|
148
|
-
infoText: PropTypes.string,
|
|
149
|
-
isDisabled: PropTypes.bool,
|
|
150
|
-
isMandatory: PropTypes.bool,
|
|
151
|
-
isReadOnly: PropTypes.bool,
|
|
152
143
|
labelCustomClass: PropTypes.string,
|
|
153
144
|
labelName: PropTypes.string,
|
|
154
145
|
labelPalette: PropTypes.string,
|
|
@@ -159,26 +150,23 @@ CheckBoxField.propTypes = {
|
|
|
159
150
|
validationPalette: PropTypes.string,
|
|
160
151
|
validationRuleMessage: PropTypes.string,
|
|
161
152
|
validationRulePalette: PropTypes.string,
|
|
162
|
-
lockedInfoText: PropTypes.string,
|
|
163
|
-
isLocked: PropTypes.bool,
|
|
164
153
|
customProps: PropTypes.shape({
|
|
165
154
|
LabelProps: PropTypes.object,
|
|
166
155
|
CheckBoxProps: PropTypes.object,
|
|
167
156
|
ValidationMessageProps1: PropTypes.object,
|
|
168
157
|
ValidationMessageProps2: PropTypes.object
|
|
169
|
-
})
|
|
158
|
+
}),
|
|
159
|
+
...FieldCommonPropTypes()
|
|
170
160
|
};
|
|
171
161
|
CheckBoxField.defaultProps = {
|
|
172
|
-
isMandatory: false,
|
|
173
162
|
errorType: 'primary',
|
|
174
|
-
isDisabled: false,
|
|
175
|
-
isReadOnly: false,
|
|
176
163
|
fieldSize: 'medium',
|
|
177
164
|
labelPalette: 'default',
|
|
178
165
|
labelCustomClass: '',
|
|
179
166
|
direction: 'row',
|
|
180
167
|
lineClamp: '',
|
|
181
|
-
customProps: {}
|
|
168
|
+
customProps: {},
|
|
169
|
+
...FieldCommonDefaultProps()
|
|
182
170
|
};
|
|
183
171
|
|
|
184
172
|
if (false) {
|