@zohodesk/dot 1.0.0-temp-197.5 → 1.0.0-temp-195.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -10
- package/es/ActionButton/ActionButton.js +13 -5
- package/es/ActionButton/__tests__/ActionButton.spec.js +1 -1
- package/es/ActionButton/props/defaultProps.js +3 -1
- package/es/ActionButton/props/propTypes.js +5 -1
- package/es/AlphabeticList/AlphabeticList.js +3 -3
- package/es/AlphabeticList/__tests__/AlphabeticList.spec.js +1 -1
- package/es/Attachment/Attachment.js +4 -4
- package/es/Attachment/__tests__/Attachment.spec.js +1 -1
- package/es/AttachmentViewer/AttachmentImage.js +4 -4
- package/es/AttachmentViewer/AttachmentViewer.js +9 -9
- package/es/AttachmentViewer/__tests__/AttachmentImage.spec.js +1 -1
- package/es/AttachmentViewer/__tests__/AttachmentViewer.spec.js +1 -1
- package/es/ChannelIcon/ChannelIcon.js +5 -5
- package/es/ChannelIcon/__tests__/ChannelIcon.spec.js +1 -1
- package/es/Drawer/Drawer.js +6 -6
- package/es/Drawer/__tests__/Drawer.spec.js +1 -1
- package/es/Drawer/index.js +1 -1
- package/es/ExternalLink/ExternalLink.js +3 -3
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +77 -2
- package/es/ExternalLink/__tests__/__snapshots__/ExternalLink.spec.js.snap +120 -1
- package/es/FlipCard/FlipCard.js +7 -7
- package/es/FlipCard/__tests__/FlipCard.spec.js +1 -1
- package/es/FormAction/FormAction.js +3 -3
- package/es/FormAction/__tests__/FormAction.spec.js +1 -1
- package/es/FreezeLayer/FreezeLayer.js +5 -5
- package/es/FreezeLayer/__tests__/FreezeLayer.spec.js +1 -1
- package/es/FreezeLayer/index.js +2 -2
- package/es/Hooks/Dragger/useDragger.js +5 -5
- package/es/Hooks/useFreezeLayer.js +1 -1
- package/es/IconButton/IconButton.js +3 -3
- package/es/IconButton/__tests__/IconButton.spec.js +1 -1
- package/es/Image/Image.js +3 -3
- package/es/Image/__tests__/Image.spec.js +1 -1
- package/es/ImportantNotes/ImportantNotes.js +3 -3
- package/es/ImportantNotes/__tests__/ImportantNotes.spec.js +1 -1
- package/es/Link/Link.js +4 -4
- package/es/Link/__tests__/Link.spec.js +1 -1
- package/es/Loader/Loader.js +1 -1
- package/es/Loader/__tests__/Loader.spec.js +1 -1
- package/es/Message/Message.js +4 -4
- package/es/Message/__tests__/Message.spec.js +1 -1
- package/es/Message/props/propTypes.js +1 -1
- package/es/MessageBanner/MessageBanner.js +4 -4
- package/es/MessageBanner/__tests__/MessageBanner.spec.js +1 -1
- package/es/NewStar/NewStar.js +3 -3
- package/es/NewStar/__tests__/NewStar.spec.js +1 -1
- package/es/PlusIcon/PlusIcon.js +4 -4
- package/es/PlusIcon/__tests__/PlusIcon.spec.js +59 -2
- package/es/PlusIcon/__tests__/__snapshots__/PlusIcon.spec.js.snap +314 -1
- package/es/PlusIcon/props/propTypes.js +1 -1
- package/es/Separator/Separator.js +3 -3
- package/es/Separator/__tests__/Separator.spec.js +1 -1
- package/es/TagWithIcon/TagWithIcon.js +3 -3
- package/es/TagWithIcon/__tests__/TagWithIcon.spec.js +1 -1
- package/es/ToastMessage/ToastMessage.js +4 -4
- package/es/ToastMessage/__tests__/ToastMessage.spec.js +1 -1
- package/es/Upload/Upload.js +4 -4
- package/es/Upload/__tests__/Upload.spec.js +1 -1
- package/es/actions/AutoClose.js +2 -2
- package/es/alert/AlertHeader/AlertHeader.js +5 -5
- package/es/alert/AlertHeader/__tests__/AlertHeader.spec.js +110 -2
- package/es/alert/AlertHeader/__tests__/__snapshots__/AlertHeader.spec.js.snap +927 -1
- package/es/alert/AlertLookup/AlertLookup.js +7 -7
- package/es/alert/AlertLookup/__tests__/AlertLookup.spec.js +1 -1
- package/es/alert/index.js +2 -2
- package/es/avatar/AvatarClose/AvatarClose.js +3 -3
- package/es/avatar/AvatarClose/__tests__/AvatarClose.spec.js +1 -1
- package/es/avatar/AvatarCollision/AvatarCollision.js +3 -3
- package/es/avatar/AvatarCollision/__tests__/AvatarCollision.spec.js +1 -1
- package/es/avatar/AvatarIcon/AvatarIcon.js +3 -3
- package/es/avatar/AvatarIcon/__tests__/AvatarIcon.spec.js +1 -1
- package/es/avatar/AvatarStatus/AvatarStatus.js +3 -3
- package/es/avatar/AvatarStatus/__tests__/AvatarStatus.spec.js +1 -1
- package/es/avatar/AvatarThread/AvatarThread.js +3 -3
- package/es/avatar/AvatarThread/__tests__/AvatarThread.spec.js +1 -1
- package/es/avatar/AvatarUser/AvatarUser.js +4 -4
- package/es/avatar/AvatarUser/__tests__/AvatarUser.spec.js +1 -1
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
- package/es/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +1 -1
- package/es/avatar/index.js +7 -7
- package/es/deprecated/FreezeLayer/FreezeLayer.js +4 -4
- package/es/deprecated/SelectDropdown/SelectDropdown.js +1 -1
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +4 -4
- package/es/dropdown/ToggleDropDown/__tests__/ToggleDropDown.spec.js +1 -1
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +4 -4
- package/es/emptystate/CommonEmptyState/__tests__/CommonEmptyState.spec.js +1 -1
- package/es/emptystate/EditionPage/EditionPage.js +3 -3
- package/es/emptystate/EditionPage/__tests__/EditionPage.spec.js +1 -1
- package/es/errorstate/Inconvenience/Inconvenience.js +5 -5
- package/es/errorstate/Inconvenience/__tests__/Inconvenience.spec.js +1 -1
- package/es/errorstate/LinkText/LinkText.js +4 -4
- package/es/errorstate/LinkText/__tests__/LinkText.spec.js +1 -1
- package/es/errorstate/NoRequestFound/NoRequestFound.js +5 -5
- package/es/errorstate/NoRequestFound/__tests__/NoRequestFound.spec.js +1 -1
- package/es/errorstate/PermissionPlay/PermissionPlay.js +5 -5
- package/es/errorstate/PermissionPlay/__tests__/PermissionPlay.spec.js +1 -1
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +5 -5
- package/es/errorstate/RequestUrlNotFound/__tests__/RequestUrlNotFound.spec.js +1 -1
- package/es/errorstate/UnableToProcess/UnableToProcess.js +5 -5
- package/es/errorstate/UnableToProcess/__tests__/UnableToProcess.spec.js +1 -1
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +5 -5
- package/es/errorstate/UnauthorizedLogin/__tests__/UnauthorizedLogin.spec.js +1 -1
- package/es/errorstate/WillBack/WillBack.js +4 -4
- package/es/errorstate/WillBack/__tests__/WillBack.spec.js +1 -1
- package/es/errorstate/index.js +8 -8
- package/es/form/fields/CheckBoxField/CheckBoxField.js +5 -5
- package/es/form/fields/CheckBoxField/__tests__/CheckBoxField.spec.js +1 -1
- package/es/form/fields/CheckBoxField/props/defaultProps.js +1 -1
- package/es/form/fields/CheckBoxField/props/propTypes.js +1 -1
- package/es/form/fields/CurrencyField/CurrencyField.js +5 -5
- package/es/form/fields/CurrencyField/__tests__/CurrencyField.spec.js +1 -1
- package/es/form/fields/CurrencyField/props/defaultProps.js +1 -1
- package/es/form/fields/CurrencyField/props/propTypes.js +1 -1
- package/es/form/fields/DateField/DateField.js +5 -5
- package/es/form/fields/DateField/__tests__/DateField.spec.js +1 -1
- package/es/form/fields/DateField/props/defaultProps.js +1 -1
- package/es/form/fields/DateField/props/propTypes.js +1 -1
- package/es/form/fields/FieldContainer/FieldContainer.js +3 -3
- package/es/form/fields/FieldContainer/__tests__/FieldContainer.spec.js +1 -1
- package/es/form/fields/FieldContainer/props/defaultProps.js +1 -1
- package/es/form/fields/MultiSelectField/MultiSelectField.js +5 -5
- package/es/form/fields/MultiSelectField/__tests__/MultiSelectField.spec.js +1 -1
- package/es/form/fields/MultiSelectField/props/defaultProps.js +1 -1
- package/es/form/fields/MultiSelectField/props/propTypes.js +1 -1
- package/es/form/fields/PhoneField/PhoneField.js +6 -6
- package/es/form/fields/PhoneField/__tests__/PhoneField.spec.js +1 -1
- package/es/form/fields/RadioField/RadioField.js +4 -4
- package/es/form/fields/RadioField/__tests__/RadioField.spec.js +1 -1
- package/es/form/fields/SelectField/SelectField.js +5 -5
- package/es/form/fields/SelectField/__tests__/SelectField.spec.js +1 -1
- package/es/form/fields/SelectField/props/defaultProps.js +1 -1
- package/es/form/fields/SelectField/props/propTypes.js +1 -1
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +14 -6
- package/es/form/fields/TagsMultiSelect/__tests__/TagsMultiSelect.spec.js +1 -1
- package/es/form/fields/TagsMultiSelect/props/defaultProps.js +2 -0
- package/es/form/fields/TagsMultiSelect/props/propTypes.js +4 -0
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +16 -8
- package/es/form/fields/TagsMultiSelectField/__tests__/TagsMultiSelectField.spec.js +1 -1
- package/es/form/fields/TagsMultiSelectField/props/defaultProps.js +3 -1
- package/es/form/fields/TagsMultiSelectField/props/propTypes.js +6 -2
- package/es/form/fields/TextBoxField/TextBoxField.js +5 -5
- package/es/form/fields/TextBoxField/__tests__/TextBoxField.spec.js +1 -1
- package/es/form/fields/TextBoxField/props/defaultProps.js +1 -1
- package/es/form/fields/TextBoxField/props/propTypes.js +1 -1
- package/es/form/fields/TextEditor/TextEditor.js +65 -64
- package/es/form/fields/TextEditor/__tests__/TextEditor.spec.js +1 -1
- package/es/form/fields/TextEditor/props/defaultProps.js +1 -3
- package/es/form/fields/TextEditor/props/propTypes.js +2 -9
- package/es/form/fields/TextEditorField/TextEditorField.js +6 -6
- package/es/form/fields/TextEditorField/__tests__/TextEditorField.spec.js +1 -1
- package/es/form/fields/TextEditorField/props/defaultProps.js +1 -1
- package/es/form/fields/TextEditorField/props/propTypes.js +1 -1
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -5
- package/es/form/fields/TextEditorWrapper/__tests__/TextEditorWrapper.spec.js +1 -1
- package/es/form/fields/TextareaField/TextareaField.js +5 -5
- package/es/form/fields/TextareaField/__tests__/TextareaField.spec.js +1 -1
- package/es/form/fields/TextareaField/props/defaultProps.js +1 -1
- package/es/form/fields/TextareaField/props/propTypes.js +1 -1
- package/es/form/fields/ValidationMessage/ValidationMessage.js +3 -3
- package/es/form/fields/ValidationMessage/__tests__/ValidationMessage.spec.js +1 -1
- package/es/form/fields/index.js +16 -16
- package/es/form/layout/Field/Field.js +3 -3
- package/es/form/layout/Field/__tests__/Field.spec.js +1 -1
- package/es/form/layout/Section/Section.js +2 -2
- package/es/form/layout/Section/__tests__/Section.spec.js +1 -1
- package/es/form/layout/index.js +2 -2
- package/es/index.js +39 -39
- package/es/layout/SetupDetailLayout/SetupDetailLayout.js +3 -3
- package/es/layout/SetupDetailLayout/__tests__/SetupDetailLayout.spec.js +1 -1
- package/es/layout/SetupDetailLayout/index.js +4 -4
- package/es/layout/SubtabLayout/SubtabLayout.js +4 -4
- package/es/layout/SubtabLayout/__tests__/SubtabLayout.spec.js +1 -1
- package/es/layout/SubtabLayout/index.js +4 -4
- package/es/list/AvatarFlip/AvatarFlip.js +4 -4
- package/es/list/AvatarFlip/__tests__/AvatarFlip.spec.js +1 -1
- package/es/list/BluePrintStatus/BluePrintStatus.js +2 -2
- package/es/list/BluePrintStatus/__tests__/BluePrintStatus.spec.js +1 -1
- package/es/list/Comment/Comment.js +3 -3
- package/es/list/Comment/__tests__/Comment.spec.js +1 -1
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +5 -5
- package/es/list/DepartmentDropDown/__tests__/DepartmentDropDown.spec.js +1 -1
- package/es/list/Dot/Dot.js +3 -3
- package/es/list/Dot/__tests__/Dot.spec.js +1 -1
- package/es/list/DotNew/DotNew.js +3 -3
- package/es/list/DotNew/__tests__/DotNew.spec.js +1 -1
- package/es/list/GridStencils/GridStencils.js +2 -2
- package/es/list/GridStencils/__tests__/GridStencils.spec.js +1 -1
- package/es/list/Icons/AddNewIcon.js +2 -2
- package/es/list/Icons/CompleteIcon.js +2 -2
- package/es/list/Icons/DeleteIcon.js +2 -2
- package/es/list/Icons/EditIcon.js +2 -2
- package/es/list/Icons/FloatingIcons.js +3 -3
- package/es/list/Icons/ReadUnreadIcon.js +3 -3
- package/es/list/Icons/SmartIcon.js +2 -2
- package/es/list/Icons/__tests__/AddNewIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/CompleteIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/DeleteIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/EditIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/FloatingIcons.spec.js +1 -1
- package/es/list/Icons/__tests__/ReadUnreadIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/SmartIcon.spec.js +1 -1
- package/es/list/Icons/index.js +7 -7
- package/es/list/ListLayout/ListLayout.js +3 -3
- package/es/list/ListLayout/__tests__/ListLayout.spec.js +1 -1
- package/es/list/ListStencils/ListStencils.js +3 -3
- package/es/list/ListStencils/__tests__/ListStencils.spec.js +1 -1
- package/es/list/SecondaryText/AccountName.js +4 -4
- package/es/list/SecondaryText/ContactName.js +5 -5
- package/es/list/SecondaryText/DepartmentText.js +2 -2
- package/es/list/SecondaryText/Email.js +4 -4
- package/es/list/SecondaryText/HappinessRating.js +2 -2
- package/es/list/SecondaryText/PhoneNumber.js +4 -4
- package/es/list/SecondaryText/PriorityText.js +3 -3
- package/es/list/SecondaryText/SecondaryText.js +3 -3
- package/es/list/SecondaryText/StatusText.js +3 -3
- package/es/list/SecondaryText/TicketId.js +4 -4
- package/es/list/SecondaryText/Website.js +4 -4
- package/es/list/SecondaryText/__tests__/AccountName.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/ContactName.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/DepartmentText.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/Email.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/HappinessRating.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/PhoneNumber.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/PriorityText.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/SecondaryText.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/StatusText.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/TicketId.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/Website.spec.js +1 -1
- package/es/list/SecondaryText/index.js +11 -11
- package/es/list/SecondryPanel/SecondryPanel.js +4 -4
- package/es/list/SecondryPanel/__tests__/SecondryPanel.spec.js +1 -1
- package/es/list/SentimentStatus/SentimentStatus.js +2 -2
- package/es/list/SentimentStatus/__tests__/SentimentStatus.spec.js +1 -1
- package/es/list/Subject/Subject.js +4 -4
- package/es/list/Subject/__tests__/Subject.spec.js +1 -1
- package/es/list/TagNew/TagNew.js +3 -3
- package/es/list/TagNew/__tests__/TagNew.spec.js +1 -1
- package/es/list/Thread/Thread.js +3 -3
- package/es/list/Thread/__tests__/Thread.spec.js +1 -1
- package/es/list/index.js +16 -16
- package/es/list/status/StatusDropdown/StatusDropdown.js +13 -5
- package/es/list/status/StatusDropdown/__tests__/StatusDropdown.spec.js +1 -1
- package/es/list/status/StatusDropdown/props/defaultProps.js +3 -1
- package/es/list/status/StatusDropdown/props/propTypes.js +5 -1
- package/es/list/status/StatusListItem/StatusListItem.js +3 -3
- package/es/list/status/StatusListItem/__tests__/StatusListItem.spec.js +1 -1
- package/es/list/status/index.js +2 -2
- package/es/lookup/EmptyPage/EmptyPage.js +3 -3
- package/es/lookup/EmptyPage/__tests__/EmptyPage.spec.js +1 -1
- package/es/lookup/Lookup/Lookup.js +4 -4
- package/es/lookup/Lookup/__tests__/Lookup.spec.js +1 -1
- package/es/lookup/Section/Section.js +2 -2
- package/es/lookup/Section/__tests__/Section.spec.js +1 -1
- package/es/lookup/header/Close/Close.js +3 -3
- package/es/lookup/header/Close/__tests__/Close.spec.js +1 -1
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +8 -8
- package/es/lookup/header/ModuleHeader/__tests__/ModuleHeader.spec.js +1 -1
- package/es/lookup/header/Search/Search.js +4 -4
- package/es/lookup/header/Search/__tests__/Search.spec.js +1 -1
- package/es/lookup/header/TicketHeader/TicketHeader.js +10 -10
- package/es/lookup/header/TicketHeader/__tests__/TicketHeader.spec.js +1 -1
- package/es/lookup/header/Title/Title.js +3 -3
- package/es/lookup/header/Title/__tests__/Titles.spec.js +1 -1
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +13 -5
- package/es/lookup/header/ViewDropDown/__test__/ViewDropDown.spec.js +1 -1
- package/es/lookup/header/ViewDropDown/props/defaultProps.js +3 -1
- package/es/lookup/header/ViewDropDown/props/propTypes.js +5 -1
- package/es/lookup/header/index.js +5 -5
- package/es/lookup/index.js +4 -4
- package/es/setup/header/Button/Button.js +3 -3
- package/es/setup/header/Button/__tests__/Button.spec.js +1 -1
- package/es/setup/header/Link/Link.js +4 -4
- package/es/setup/header/Link/__tests__/Link.spec.js +1 -1
- package/es/setup/header/Search/Search.js +3 -3
- package/es/setup/header/Search/__tests__/Search.spec.js +1 -1
- package/es/setup/header/Views/Views.js +3 -3
- package/es/setup/header/Views/__tests__/Views.spec.js +1 -1
- package/es/setup/header/index.js +4 -4
- package/es/setup/helptips/Description/Description.js +2 -2
- package/es/setup/helptips/Description/__tests__/Description.spec.js +1 -1
- package/es/setup/helptips/Link/Link.js +3 -3
- package/es/setup/helptips/Link/__tests__/Link.spec.js +1 -1
- package/es/setup/helptips/ListGroup/ListGroup.js +2 -2
- package/es/setup/helptips/ListGroup/__tests__/ListGroup.spec.js +1 -1
- package/es/setup/helptips/Title/Title.js +2 -2
- package/es/setup/helptips/Title/__tests__/Title.spec.js +1 -1
- package/es/setup/helptips/index.js +4 -4
- package/es/setup/index.js +3 -3
- package/es/setup/table/Table/Table.js +2 -2
- package/es/setup/table/Table/__tests__/Table.spec.js +1 -1
- package/es/setup/table/TableBody/TableBody.js +2 -2
- package/es/setup/table/TableBody/__tests__/TableBody.spec.js +1 -1
- package/es/setup/table/TableData/TableData.js +3 -3
- package/es/setup/table/TableData/__tests__/TableData.spec.js +1 -1
- package/es/setup/table/TableHead/TableHead.js +3 -3
- package/es/setup/table/TableHead/__tests__/TableHead.spec.js +1 -1
- package/es/setup/table/TableRow/TableRow.js +3 -3
- package/es/setup/table/TableRow/__tests__/TableRow.spec.js +1 -1
- package/es/setup/table/Text/Text.js +4 -4
- package/es/setup/table/Text/__tests__/Text.spec.js +1 -1
- package/es/setup/table/index.js +5 -5
- package/es/svg/PlusIcon.js +2 -2
- package/es/svg/SnippetIcon.js +2 -2
- package/es/svg/TemplateIcon.js +2 -2
- package/es/svg/__tests__/PlusIcon.spec.js +1 -1
- package/es/svg/__tests__/SnippetIcon.spec.js +1 -1
- package/es/svg/__tests__/TemplateIcon.spec.js +1 -1
- package/es/svg/index.js +3 -3
- package/es/utils/editorUtils.js +6 -6
- package/es/v1/ActionButton/ActionButton.js +13 -5
- package/es/v1/ActionButton/props/defaultProps.js +3 -1
- package/es/v1/ActionButton/props/propTypes.js +5 -1
- package/es/v1/AlphabeticList/AlphabeticList.js +3 -3
- package/es/v1/Attachment/Attachment.js +4 -4
- package/es/v1/AttachmentViewer/AttachmentImage.js +4 -4
- package/es/v1/AttachmentViewer/AttachmentViewer.js +9 -9
- package/es/v1/ChannelIcon/ChannelIcon.js +5 -5
- package/es/v1/Drawer/Drawer.js +6 -6
- package/es/v1/ExternalLink/ExternalLink.js +3 -3
- package/es/v1/FlipCard/FlipCard.js +7 -7
- package/es/v1/FormAction/FormAction.js +3 -3
- package/es/v1/FreezeLayer/FreezeLayer.js +5 -5
- package/es/v1/GlobalNotification/GlobalNotification.js +6 -6
- package/es/v1/IconButton/IconButton.js +3 -3
- package/es/v1/Image/Image.js +3 -3
- package/es/v1/ImportantNotes/ImportantNotes.js +3 -3
- package/es/v1/Link/Link.js +4 -4
- package/es/v1/Loader/Loader.js +1 -1
- package/es/v1/Message/Message.js +4 -4
- package/es/v1/Message/props/propTypes.js +1 -1
- package/es/v1/MessageBanner/MessageBanner.js +4 -4
- package/es/v1/NewStar/NewStar.js +3 -3
- package/es/v1/PlusIcon/PlusIcon.js +4 -4
- package/es/v1/Separator/Separator.js +3 -3
- package/es/v1/TagWithIcon/TagWithIcon.js +3 -3
- package/es/v1/ToastMessage/ToastMessage.js +4 -4
- package/es/v1/Upload/Upload.js +4 -4
- package/es/v1/actions/AutoClose.js +2 -2
- package/es/v1/alert/AlertClose/AlertClose.js +2 -2
- package/es/v1/alert/AlertHeader/AlertHeader.js +7 -7
- package/es/v1/alert/AlertLookup/AlertLookup.js +7 -7
- package/es/v1/alert/alertIcons/AlarmAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/AlertIcons.js +9 -9
- package/es/v1/alert/alertIcons/DangerAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/ErrorAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/InfoAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/NotificationAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/SuccessAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/WarningAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/index.js +8 -8
- package/es/v1/alert/index.js +2 -2
- package/es/v1/avatar/AvatarClose/AvatarClose.js +3 -3
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +3 -3
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +3 -3
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +3 -3
- package/es/v1/avatar/AvatarThread/AvatarThread.js +3 -3
- package/es/v1/avatar/AvatarUser/AvatarUser.js +4 -4
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
- package/es/v1/avatar/index.js +7 -7
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +4 -4
- package/es/v1/emptystate/CommonEmptyState/CommonEmptyState.js +4 -4
- package/es/v1/emptystate/EditionPage/EditionPage.js +3 -3
- package/es/v1/errorstate/Inconvenience/Inconvenience.js +4 -4
- package/es/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +4 -4
- package/es/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +4 -4
- package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +4 -4
- package/es/v1/errorstate/UrlNotFound/UrlNotFound.js +4 -4
- package/es/v1/errorstate/WillBeRightBack/WillBeRightBack.js +4 -4
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +5 -5
- package/es/v1/form/fields/CheckBoxField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/CheckBoxField/props/propTypes.js +1 -1
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +5 -5
- package/es/v1/form/fields/CurrencyField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/CurrencyField/props/propTypes.js +1 -1
- package/es/v1/form/fields/DateField/DateField.js +5 -5
- package/es/v1/form/fields/DateField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/DateField/props/propTypes.js +1 -1
- package/es/v1/form/fields/FieldContainer/FieldContainer.js +3 -3
- package/es/v1/form/fields/FieldContainer/props/defaultProps.js +1 -1
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +5 -5
- package/es/v1/form/fields/MultiSelectField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/MultiSelectField/props/propTypes.js +1 -1
- package/es/v1/form/fields/PhoneField/PhoneField.js +6 -6
- package/es/v1/form/fields/RadioField/RadioField.js +5 -5
- package/es/v1/form/fields/SelectField/SelectField.js +5 -5
- package/es/v1/form/fields/SelectField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/SelectField/props/propTypes.js +1 -1
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +14 -6
- package/es/v1/form/fields/TagsMultiSelect/props/defaultProps.js +2 -0
- package/es/v1/form/fields/TagsMultiSelect/props/propTypes.js +4 -0
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +16 -8
- package/es/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +3 -1
- package/es/v1/form/fields/TagsMultiSelectField/props/propTypes.js +6 -2
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +5 -5
- package/es/v1/form/fields/TextBoxField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/TextBoxField/props/propTypes.js +1 -1
- package/es/v1/form/fields/TextEditor/TextEditor.js +65 -63
- package/es/v1/form/fields/TextEditor/props/defaultProps.js +1 -3
- package/es/v1/form/fields/TextEditor/props/propTypes.js +2 -9
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +6 -6
- package/es/v1/form/fields/TextEditorField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/TextEditorField/props/propTypes.js +1 -1
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -5
- package/es/v1/form/fields/TextareaField/TextareaField.js +5 -5
- package/es/v1/form/fields/TextareaField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/TextareaField/props/propTypes.js +1 -1
- package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +3 -3
- package/es/v1/form/fields/index.js +16 -16
- package/es/v1/form/layout/Field/Field.js +3 -3
- package/es/v1/form/layout/Section/Section.js +2 -2
- package/es/v1/form/layout/index.js +2 -2
- package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +3 -3
- package/es/v1/layout/SetupDetailLayout/index.js +4 -4
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +4 -4
- package/es/v1/layout/SubtabLayout/index.js +4 -4
- package/es/v1/list/AvatarFlip/AvatarFlip.js +4 -4
- package/es/v1/list/BluePrintStatus/BluePrintStatus.js +2 -2
- package/es/v1/list/Comment/Comment.js +3 -3
- package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +5 -5
- package/es/v1/list/Dot/Dot.js +3 -3
- package/es/v1/list/DotNew/DotNew.js +3 -3
- package/es/v1/list/GridStencils/GridStencils.js +2 -2
- package/es/v1/list/Icons/AddNewIcon.js +2 -2
- package/es/v1/list/Icons/CompleteIcon.js +2 -2
- package/es/v1/list/Icons/DeleteIcon.js +2 -2
- package/es/v1/list/Icons/EditIcon.js +2 -2
- package/es/v1/list/Icons/FloatingIcons.js +3 -3
- package/es/v1/list/Icons/ReadUnreadIcon.js +3 -3
- package/es/v1/list/Icons/SmartIcon.js +2 -2
- package/es/v1/list/Icons/index.js +7 -7
- package/es/v1/list/ListLayout/ListLayout.js +3 -3
- package/es/v1/list/ListStencils/ListStencils.js +3 -3
- package/es/v1/list/SecondaryText/AccountName.js +4 -4
- package/es/v1/list/SecondaryText/ContactName.js +5 -5
- package/es/v1/list/SecondaryText/DepartmentText.js +2 -2
- package/es/v1/list/SecondaryText/Email.js +4 -4
- package/es/v1/list/SecondaryText/HappinessRating.js +2 -2
- package/es/v1/list/SecondaryText/PhoneNumber.js +4 -4
- package/es/v1/list/SecondaryText/PriorityText.js +3 -3
- package/es/v1/list/SecondaryText/SecondaryText.js +3 -3
- package/es/v1/list/SecondaryText/StatusText.js +3 -3
- package/es/v1/list/SecondaryText/TicketId.js +4 -4
- package/es/v1/list/SecondaryText/Website.js +4 -4
- package/es/v1/list/SecondaryText/index.js +11 -11
- package/es/v1/list/SecondryPanel/SecondryPanel.js +4 -4
- package/es/v1/list/SentimentStatus/SentimentStatus.js +2 -2
- package/es/v1/list/Subject/Subject.js +4 -4
- package/es/v1/list/TagNew/TagNew.js +3 -3
- package/es/v1/list/Thread/Thread.js +3 -3
- package/es/v1/list/index.js +16 -16
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +13 -5
- package/es/v1/list/status/StatusDropdown/props/defaultProps.js +3 -1
- package/es/v1/list/status/StatusDropdown/props/propTypes.js +4 -0
- package/es/v1/list/status/StatusListItem/StatusListItem.js +3 -3
- package/es/v1/list/status/index.js +2 -2
- package/es/v1/lookup/EmptyPage/EmptyPage.js +3 -3
- package/es/v1/lookup/Lookup/Lookup.js +4 -4
- package/es/v1/lookup/Section/Section.js +2 -2
- package/es/v1/lookup/header/Close/Close.js +3 -3
- package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +8 -8
- package/es/v1/lookup/header/Search/Search.js +4 -4
- package/es/v1/lookup/header/TicketHeader/TicketHeader.js +10 -10
- package/es/v1/lookup/header/Title/Title.js +3 -3
- package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +13 -5
- package/es/v1/lookup/header/ViewDropDown/props/defaultProps.js +3 -1
- package/es/v1/lookup/header/ViewDropDown/props/propTypes.js +5 -1
- package/es/v1/lookup/header/index.js +5 -5
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +6 -6
- package/es/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
- package/es/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +5 -5
- package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
- package/es/v1/setup/header/Button/Button.js +3 -3
- package/es/v1/setup/header/Link/Link.js +4 -4
- package/es/v1/setup/header/Search/Search.js +3 -3
- package/es/v1/setup/header/Views/Views.js +3 -3
- package/es/v1/setup/header/index.js +4 -4
- package/es/v1/setup/helptips/Description/Description.js +2 -2
- package/es/v1/setup/helptips/Link/Link.js +3 -3
- package/es/v1/setup/helptips/ListGroup/ListGroup.js +2 -2
- package/es/v1/setup/helptips/Title/Title.js +2 -2
- package/es/v1/setup/helptips/index.js +4 -4
- package/es/v1/setup/index.js +3 -3
- package/es/v1/setup/table/Table/Table.js +2 -2
- package/es/v1/setup/table/TableBody/TableBody.js +2 -2
- package/es/v1/setup/table/TableData/TableData.js +3 -3
- package/es/v1/setup/table/TableHead/TableHead.js +3 -3
- package/es/v1/setup/table/TableRow/TableRow.js +3 -3
- package/es/v1/setup/table/Text/Text.js +4 -4
- package/es/v1/setup/table/index.js +5 -5
- 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/index.js +3 -3
- package/es/v1/utils/editorUtils.js +6 -6
- package/es/version2/AlertClose/AlertClose.js +2 -2
- package/es/version2/AlertClose/__tests__/AlertClose.spec.js +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.js +6 -6
- package/es/version2/GlobalNotification/__tests__/GlobalNotification.spec.js +1 -1
- package/es/version2/alertIcons/AlarmAlertIcon.js +3 -3
- package/es/version2/alertIcons/AlertIcons.js +9 -9
- package/es/version2/alertIcons/DangerAlertIcon.js +3 -3
- package/es/version2/alertIcons/ErrorAlertIcon.js +3 -3
- package/es/version2/alertIcons/InfoAlertIcon.js +3 -3
- package/es/version2/alertIcons/NotificationAlertIcon.js +3 -3
- package/es/version2/alertIcons/SuccessAlertIcon.js +3 -3
- package/es/version2/alertIcons/WarningAlertIcon.js +3 -3
- package/es/version2/alertIcons/__tests__/AlarmAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/AlertIcons.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/DangerAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/ErrorAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/InfoAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/NotificationAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/SuccessAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/WarningAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/index.js +8 -8
- package/es/version2/errorstate/Inconvenience/Inconvenience.js +4 -4
- package/es/version2/errorstate/Inconvenience/__tests__/Inconvenience.spec.js +1 -1
- package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +4 -4
- package/es/version2/errorstate/OopsSomethingMiss/__tests__/OopsSomethingMiss.spec.js +1 -1
- package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +4 -4
- package/es/version2/errorstate/UnableToProcessRequest/__tests__/UnableToProcessRequest.spec.js +1 -1
- package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +4 -4
- package/es/version2/errorstate/UnauthorizedLogin/__tests__/UnauthorizedLogin.spec.js +1 -1
- package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +4 -4
- package/es/version2/errorstate/UrlNotFound/__tests__/UrlNotFound.spec.js +1 -1
- package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +4 -4
- package/es/version2/errorstate/WillBeRightBack/__tests__/WillBeRightBack.spec.js +1 -1
- package/es/version2/errorstate/index.js +6 -6
- package/es/version2/index.js +8 -8
- package/es/version2/lookup/AlertHeader/AlertHeader.js +7 -7
- package/es/version2/lookup/AlertHeader/__tests__/AlertHeader.spec.js +1 -1
- package/es/version2/lookup/AlertLookup/AlertLookup.js +7 -7
- package/es/version2/lookup/AlertLookup/__tests__/AlertLookup.spec.js +1 -1
- package/es/version2/lookup/index.js +2 -2
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +6 -6
- package/es/version2/notification/DesktopNotification/__tests__/DesktopNotification.spec.js +1 -1
- package/es/version2/notification/DesktopNotification/props/defaultProps.js +1 -1
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +5 -5
- package/es/version2/notification/DesktopNotificationHeader/__tests__/DesktopNotificationHeader.spec.js +1 -1
- package/es/version2/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
- package/es/version2/notification/index.js +3 -3
- package/lib/ActionButton/ActionButton.js +10 -2
- package/lib/ActionButton/props/defaultProps.js +3 -1
- package/lib/ActionButton/props/propTypes.js +5 -1
- package/lib/ExternalLink/__tests__/ExternalLink.spec.js +77 -1
- package/lib/ExternalLink/__tests__/__snapshots__/ExternalLink.spec.js.snap +120 -1
- package/lib/PlusIcon/__tests__/PlusIcon.spec.js +58 -1
- package/lib/PlusIcon/__tests__/__snapshots__/PlusIcon.spec.js.snap +314 -1
- package/lib/PlusIcon/props/propTypes.js +1 -1
- package/lib/alert/AlertHeader/__tests__/AlertHeader.spec.js +109 -1
- package/lib/alert/AlertHeader/__tests__/__snapshots__/AlertHeader.spec.js.snap +927 -1
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +9 -1
- package/lib/form/fields/TagsMultiSelect/props/defaultProps.js +2 -0
- package/lib/form/fields/TagsMultiSelect/props/propTypes.js +4 -0
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +10 -2
- package/lib/form/fields/TagsMultiSelectField/props/defaultProps.js +3 -1
- package/lib/form/fields/TagsMultiSelectField/props/propTypes.js +5 -1
- package/lib/form/fields/TextEditor/TextEditor.js +71 -70
- package/lib/form/fields/TextEditor/props/defaultProps.js +1 -3
- package/lib/form/fields/TextEditor/props/propTypes.js +2 -9
- package/lib/list/status/StatusDropdown/StatusDropdown.js +8 -0
- package/lib/list/status/StatusDropdown/props/defaultProps.js +3 -1
- package/lib/list/status/StatusDropdown/props/propTypes.js +1 -1
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +10 -2
- package/lib/lookup/header/ViewDropDown/props/defaultProps.js +3 -1
- package/lib/lookup/header/ViewDropDown/props/propTypes.js +5 -1
- package/lib/utils/editorUtils.js +5 -6
- package/lib/v1/ActionButton/ActionButton.js +10 -2
- package/lib/v1/ActionButton/props/defaultProps.js +3 -1
- package/lib/v1/ActionButton/props/propTypes.js +5 -1
- package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +9 -1
- package/lib/v1/form/fields/TagsMultiSelect/props/defaultProps.js +2 -0
- package/lib/v1/form/fields/TagsMultiSelect/props/propTypes.js +4 -0
- package/lib/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +10 -2
- package/lib/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +3 -1
- package/lib/v1/form/fields/TagsMultiSelectField/props/propTypes.js +5 -1
- package/lib/v1/form/fields/TextEditor/TextEditor.js +71 -69
- package/lib/v1/form/fields/TextEditor/props/defaultProps.js +1 -3
- package/lib/v1/form/fields/TextEditor/props/propTypes.js +2 -9
- package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +8 -0
- package/lib/v1/list/status/StatusDropdown/props/defaultProps.js +3 -1
- package/lib/v1/list/status/StatusDropdown/props/propTypes.js +1 -1
- package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +10 -2
- package/lib/v1/lookup/header/ViewDropDown/props/defaultProps.js +3 -1
- package/lib/v1/lookup/header/ViewDropDown/props/propTypes.js +5 -1
- package/lib/v1/utils/editorUtils.js +5 -6
- package/package.json +8 -8
- package/result.json +1 -1
- package/unittest/index.html +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
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 { Container } from '@zohodesk/components/lib/Layout';
|
|
6
6
|
import btnStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css';
|
|
7
7
|
import RippleEffect from '@zohodesk/components/lib/RippleEffect/RippleEffect';
|
|
8
|
-
import style from
|
|
8
|
+
import style from "./IconButton.module.css";
|
|
9
9
|
export default class IconButton extends React.Component {
|
|
10
10
|
constructor(props) {
|
|
11
11
|
super(props);
|
package/es/Image/Image.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defaultProps } from
|
|
3
|
-
import { propTypes } from
|
|
4
|
-
import style from
|
|
2
|
+
import { defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { propTypes } from "./props/propTypes";
|
|
4
|
+
import style from "./Image.module.css";
|
|
5
5
|
export default class Image extends React.Component {
|
|
6
6
|
render() {
|
|
7
7
|
let {
|
|
@@ -1,9 +1,9 @@
|
|
|
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 { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
5
5
|
import { Icon } from '@zohodesk/icons';
|
|
6
|
-
import style from
|
|
6
|
+
import style from "./ImportantNotes.module.css";
|
|
7
7
|
export default class ImportantNotes extends React.Component {
|
|
8
8
|
constructor(props) {
|
|
9
9
|
super(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import ImportantNotes from
|
|
3
|
+
import ImportantNotes from "../ImportantNotes";
|
|
4
4
|
describe('ImportantNotes', () => {
|
|
5
5
|
test('rendering the defult props', () => {
|
|
6
6
|
const {
|
package/es/Link/Link.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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 { cancelBubblingEffect } from '@zohodesk/components/es/utils/Common';
|
|
5
|
-
import style from
|
|
6
|
-
import LinkContext from
|
|
5
|
+
import style from "./Link.module.css";
|
|
6
|
+
import LinkContext from "./LinkContext";
|
|
7
7
|
export default class Link extends React.Component {
|
|
8
8
|
constructor(props, context) {
|
|
9
9
|
super(props, context);
|
package/es/Loader/Loader.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { getZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
|
|
3
|
-
import style from
|
|
3
|
+
import style from "./Loader.module.css";
|
|
4
4
|
export default class Loader extends React.Component {
|
|
5
5
|
constructor(props) {
|
|
6
6
|
super(props);
|
package/es/Message/Message.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defaultProps } from
|
|
3
|
-
import { propTypes, MessageUI_propTypes, MessageNew_propTypes } from
|
|
2
|
+
import { defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { propTypes, MessageUI_propTypes, MessageNew_propTypes } from "./props/propTypes";
|
|
4
4
|
import { Icon } from '@zohodesk/icons';
|
|
5
|
-
import AutoClose from
|
|
6
|
-
import style from
|
|
5
|
+
import AutoClose from "../actions/AutoClose";
|
|
6
|
+
import style from "./Message.module.css";
|
|
7
7
|
export default class Message extends React.Component {
|
|
8
8
|
constructor(props) {
|
|
9
9
|
super(props);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
-
import { propTypes as AutoClose_PropTypes } from
|
|
2
|
+
import { propTypes as AutoClose_PropTypes } from "../../actions/props/propTypes";
|
|
3
3
|
export const propTypes = {
|
|
4
4
|
hideMessage: PropTypes.func,
|
|
5
5
|
showMessage: PropTypes.bool,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defaultProps } from
|
|
3
|
-
import { propTypes } from
|
|
4
|
-
import Link from
|
|
2
|
+
import { defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { propTypes } from "./props/propTypes";
|
|
4
|
+
import Link from "../Link/Link";
|
|
5
5
|
import { Icon } from '@zohodesk/icons';
|
|
6
6
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
7
|
-
import style from
|
|
7
|
+
import style from "./MessageBanner.module.css";
|
|
8
8
|
export default class MessageBanner extends React.Component {
|
|
9
9
|
render() {
|
|
10
10
|
let {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import MessageBanner from
|
|
3
|
+
import MessageBanner from "../MessageBanner";
|
|
4
4
|
describe('MessageBanner', () => {
|
|
5
5
|
const PALETTE = ['default', 'blue', 'white'];
|
|
6
6
|
const TYPE = ['primary', 'secondary'];
|
package/es/NewStar/NewStar.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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 { Container } from '@zohodesk/components/lib/Layout';
|
|
6
|
-
import style from
|
|
6
|
+
import style from "./NewStar.module.css";
|
|
7
7
|
export default class NewStar extends React.Component {
|
|
8
8
|
render() {
|
|
9
9
|
let {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import NewStar from
|
|
3
|
+
import NewStar from "../NewStar";
|
|
4
4
|
describe('NewStar', () => {
|
|
5
5
|
const PALETTE = ['green', 'blue', 'yellow'];
|
|
6
6
|
const POSITION = ['topRight', 'topLeft', 'bottomRight', 'bottomLeft'];
|
package/es/PlusIcon/PlusIcon.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defaultProps } from
|
|
3
|
-
import { propTypes } from
|
|
4
|
-
import style from
|
|
5
|
-
import AvatarIcon from
|
|
2
|
+
import { defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { propTypes } from "./props/propTypes";
|
|
4
|
+
import style from "./PlusIcon.module.css";
|
|
5
|
+
import AvatarIcon from "../avatar/AvatarIcon/AvatarIcon";
|
|
6
6
|
export default class PlusIcon extends React.Component {
|
|
7
7
|
constructor(props) {
|
|
8
8
|
super(props);
|
|
@@ -1,11 +1,68 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import PlusIcon from
|
|
3
|
+
import PlusIcon from "../PlusIcon";
|
|
4
4
|
describe('PlusIcon', () => {
|
|
5
|
-
|
|
5
|
+
const size = ['small', 'xsmall', 'xxsmall', 'medium', 'xmedium', 'xlarge'];
|
|
6
|
+
test('renders with default props', () => {
|
|
6
7
|
const {
|
|
7
8
|
asFragment
|
|
8
9
|
} = render( /*#__PURE__*/React.createElement(PlusIcon, null));
|
|
9
10
|
expect(asFragment()).toMatchSnapshot();
|
|
10
11
|
});
|
|
12
|
+
test('renders with dataId prop', () => {
|
|
13
|
+
const {
|
|
14
|
+
asFragment
|
|
15
|
+
} = render( /*#__PURE__*/React.createElement(PlusIcon, {
|
|
16
|
+
dataId: "test-id"
|
|
17
|
+
}));
|
|
18
|
+
expect(asFragment()).toMatchSnapshot();
|
|
19
|
+
});
|
|
20
|
+
test('renders with iconName prop', () => {
|
|
21
|
+
const {
|
|
22
|
+
asFragment
|
|
23
|
+
} = render( /*#__PURE__*/React.createElement(PlusIcon, {
|
|
24
|
+
iconName: "ZD-plus"
|
|
25
|
+
}));
|
|
26
|
+
expect(asFragment()).toMatchSnapshot();
|
|
27
|
+
});
|
|
28
|
+
test('renders with iconClass prop', () => {
|
|
29
|
+
const {
|
|
30
|
+
asFragment
|
|
31
|
+
} = render( /*#__PURE__*/React.createElement(PlusIcon, {
|
|
32
|
+
iconClass: "custom-icon-class"
|
|
33
|
+
}));
|
|
34
|
+
expect(asFragment()).toMatchSnapshot();
|
|
35
|
+
});
|
|
36
|
+
test('renders with iconSize prop', () => {
|
|
37
|
+
const {
|
|
38
|
+
asFragment
|
|
39
|
+
} = render( /*#__PURE__*/React.createElement(PlusIcon, {
|
|
40
|
+
iconSize: "16"
|
|
41
|
+
}));
|
|
42
|
+
expect(asFragment()).toMatchSnapshot();
|
|
43
|
+
});
|
|
44
|
+
test.each(size)('renders with size is - %s', size => {
|
|
45
|
+
const {
|
|
46
|
+
asFragment
|
|
47
|
+
} = render( /*#__PURE__*/React.createElement(PlusIcon, {
|
|
48
|
+
size: size
|
|
49
|
+
}));
|
|
50
|
+
expect(asFragment()).toMatchSnapshot();
|
|
51
|
+
});
|
|
52
|
+
test('renders with title prop', () => {
|
|
53
|
+
const {
|
|
54
|
+
asFragment
|
|
55
|
+
} = render( /*#__PURE__*/React.createElement(PlusIcon, {
|
|
56
|
+
title: "Plus Icon"
|
|
57
|
+
}));
|
|
58
|
+
expect(asFragment()).toMatchSnapshot();
|
|
59
|
+
});
|
|
60
|
+
test('renders with customClass prop', () => {
|
|
61
|
+
const {
|
|
62
|
+
asFragment
|
|
63
|
+
} = render( /*#__PURE__*/React.createElement(PlusIcon, {
|
|
64
|
+
customClass: "custom-plus-icon"
|
|
65
|
+
}));
|
|
66
|
+
expect(asFragment()).toMatchSnapshot();
|
|
67
|
+
});
|
|
11
68
|
});
|
|
@@ -1,11 +1,324 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`PlusIcon
|
|
3
|
+
exports[`PlusIcon renders with size is - medium 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
5
|
<span
|
|
6
6
|
class="container"
|
|
7
7
|
data-id="addreqNowbutton"
|
|
8
8
|
data-test-id="addreqNowbutton"
|
|
9
|
+
>
|
|
10
|
+
<div
|
|
11
|
+
class="container medium default plusIcon inflex coldir both"
|
|
12
|
+
data-id="containerComponent"
|
|
13
|
+
data-selector-id="avatarIcon"
|
|
14
|
+
data-test-id="containerComponent"
|
|
15
|
+
>
|
|
16
|
+
<i
|
|
17
|
+
aria-hidden="true"
|
|
18
|
+
class="zd_font_icons basic icon-plus icon iconColor undefined "
|
|
19
|
+
data-id="fontIcon"
|
|
20
|
+
data-selector-id="fontIcon"
|
|
21
|
+
data-test-id="fontIcon"
|
|
22
|
+
style="--zd-iconfont-size: var(--zd_font_size16);"
|
|
23
|
+
/>
|
|
24
|
+
</div>
|
|
25
|
+
</span>
|
|
26
|
+
</DocumentFragment>
|
|
27
|
+
`;
|
|
28
|
+
|
|
29
|
+
exports[`PlusIcon renders with size is - small 1`] = `
|
|
30
|
+
<DocumentFragment>
|
|
31
|
+
<span
|
|
32
|
+
class="container"
|
|
33
|
+
data-id="addreqNowbutton"
|
|
34
|
+
data-test-id="addreqNowbutton"
|
|
35
|
+
>
|
|
36
|
+
<div
|
|
37
|
+
class="container small default plusIcon inflex coldir both"
|
|
38
|
+
data-id="containerComponent"
|
|
39
|
+
data-selector-id="avatarIcon"
|
|
40
|
+
data-test-id="containerComponent"
|
|
41
|
+
>
|
|
42
|
+
<i
|
|
43
|
+
aria-hidden="true"
|
|
44
|
+
class="zd_font_icons basic icon-plus icon iconColor undefined "
|
|
45
|
+
data-id="fontIcon"
|
|
46
|
+
data-selector-id="fontIcon"
|
|
47
|
+
data-test-id="fontIcon"
|
|
48
|
+
style="--zd-iconfont-size: var(--zd_font_size16);"
|
|
49
|
+
/>
|
|
50
|
+
</div>
|
|
51
|
+
</span>
|
|
52
|
+
</DocumentFragment>
|
|
53
|
+
`;
|
|
54
|
+
|
|
55
|
+
exports[`PlusIcon renders with size is - xlarge 1`] = `
|
|
56
|
+
<DocumentFragment>
|
|
57
|
+
<span
|
|
58
|
+
class="container"
|
|
59
|
+
data-id="addreqNowbutton"
|
|
60
|
+
data-test-id="addreqNowbutton"
|
|
61
|
+
>
|
|
62
|
+
<div
|
|
63
|
+
class="container xlarge default plusIcon inflex coldir both"
|
|
64
|
+
data-id="containerComponent"
|
|
65
|
+
data-selector-id="avatarIcon"
|
|
66
|
+
data-test-id="containerComponent"
|
|
67
|
+
>
|
|
68
|
+
<i
|
|
69
|
+
aria-hidden="true"
|
|
70
|
+
class="zd_font_icons basic icon-plus icon iconColor undefined "
|
|
71
|
+
data-id="fontIcon"
|
|
72
|
+
data-selector-id="fontIcon"
|
|
73
|
+
data-test-id="fontIcon"
|
|
74
|
+
style="--zd-iconfont-size: var(--zd_font_size16);"
|
|
75
|
+
/>
|
|
76
|
+
</div>
|
|
77
|
+
</span>
|
|
78
|
+
</DocumentFragment>
|
|
79
|
+
`;
|
|
80
|
+
|
|
81
|
+
exports[`PlusIcon renders with size is - xmedium 1`] = `
|
|
82
|
+
<DocumentFragment>
|
|
83
|
+
<span
|
|
84
|
+
class="container"
|
|
85
|
+
data-id="addreqNowbutton"
|
|
86
|
+
data-test-id="addreqNowbutton"
|
|
87
|
+
>
|
|
88
|
+
<div
|
|
89
|
+
class="container xmedium default plusIcon inflex coldir both"
|
|
90
|
+
data-id="containerComponent"
|
|
91
|
+
data-selector-id="avatarIcon"
|
|
92
|
+
data-test-id="containerComponent"
|
|
93
|
+
>
|
|
94
|
+
<i
|
|
95
|
+
aria-hidden="true"
|
|
96
|
+
class="zd_font_icons basic icon-plus icon iconColor undefined "
|
|
97
|
+
data-id="fontIcon"
|
|
98
|
+
data-selector-id="fontIcon"
|
|
99
|
+
data-test-id="fontIcon"
|
|
100
|
+
style="--zd-iconfont-size: var(--zd_font_size16);"
|
|
101
|
+
/>
|
|
102
|
+
</div>
|
|
103
|
+
</span>
|
|
104
|
+
</DocumentFragment>
|
|
105
|
+
`;
|
|
106
|
+
|
|
107
|
+
exports[`PlusIcon renders with size is - xsmall 1`] = `
|
|
108
|
+
<DocumentFragment>
|
|
109
|
+
<span
|
|
110
|
+
class="container"
|
|
111
|
+
data-id="addreqNowbutton"
|
|
112
|
+
data-test-id="addreqNowbutton"
|
|
113
|
+
>
|
|
114
|
+
<div
|
|
115
|
+
class="container xsmall default plusIcon inflex coldir both"
|
|
116
|
+
data-id="containerComponent"
|
|
117
|
+
data-selector-id="avatarIcon"
|
|
118
|
+
data-test-id="containerComponent"
|
|
119
|
+
>
|
|
120
|
+
<i
|
|
121
|
+
aria-hidden="true"
|
|
122
|
+
class="zd_font_icons basic icon-plus icon iconColor undefined "
|
|
123
|
+
data-id="fontIcon"
|
|
124
|
+
data-selector-id="fontIcon"
|
|
125
|
+
data-test-id="fontIcon"
|
|
126
|
+
style="--zd-iconfont-size: var(--zd_font_size16);"
|
|
127
|
+
/>
|
|
128
|
+
</div>
|
|
129
|
+
</span>
|
|
130
|
+
</DocumentFragment>
|
|
131
|
+
`;
|
|
132
|
+
|
|
133
|
+
exports[`PlusIcon renders with size is - xxsmall 1`] = `
|
|
134
|
+
<DocumentFragment>
|
|
135
|
+
<span
|
|
136
|
+
class="container"
|
|
137
|
+
data-id="addreqNowbutton"
|
|
138
|
+
data-test-id="addreqNowbutton"
|
|
139
|
+
>
|
|
140
|
+
<div
|
|
141
|
+
class="container xxsmall default plusIcon inflex coldir both"
|
|
142
|
+
data-id="containerComponent"
|
|
143
|
+
data-selector-id="avatarIcon"
|
|
144
|
+
data-test-id="containerComponent"
|
|
145
|
+
>
|
|
146
|
+
<i
|
|
147
|
+
aria-hidden="true"
|
|
148
|
+
class="zd_font_icons basic icon-plus icon iconColor undefined "
|
|
149
|
+
data-id="fontIcon"
|
|
150
|
+
data-selector-id="fontIcon"
|
|
151
|
+
data-test-id="fontIcon"
|
|
152
|
+
style="--zd-iconfont-size: var(--zd_font_size16);"
|
|
153
|
+
/>
|
|
154
|
+
</div>
|
|
155
|
+
</span>
|
|
156
|
+
</DocumentFragment>
|
|
157
|
+
`;
|
|
158
|
+
|
|
159
|
+
exports[`PlusIcon renders with customClass prop 1`] = `
|
|
160
|
+
<DocumentFragment>
|
|
161
|
+
<span
|
|
162
|
+
class="container"
|
|
163
|
+
data-id="addreqNowbutton"
|
|
164
|
+
data-test-id="addreqNowbutton"
|
|
165
|
+
>
|
|
166
|
+
<div
|
|
167
|
+
class="container xmedium default custom-plus-icon plusIcon inflex coldir both"
|
|
168
|
+
data-id="containerComponent"
|
|
169
|
+
data-selector-id="avatarIcon"
|
|
170
|
+
data-test-id="containerComponent"
|
|
171
|
+
>
|
|
172
|
+
<i
|
|
173
|
+
aria-hidden="true"
|
|
174
|
+
class="zd_font_icons basic icon-plus icon iconColor undefined "
|
|
175
|
+
data-id="fontIcon"
|
|
176
|
+
data-selector-id="fontIcon"
|
|
177
|
+
data-test-id="fontIcon"
|
|
178
|
+
style="--zd-iconfont-size: var(--zd_font_size16);"
|
|
179
|
+
/>
|
|
180
|
+
</div>
|
|
181
|
+
</span>
|
|
182
|
+
</DocumentFragment>
|
|
183
|
+
`;
|
|
184
|
+
|
|
185
|
+
exports[`PlusIcon renders with dataId prop 1`] = `
|
|
186
|
+
<DocumentFragment>
|
|
187
|
+
<span
|
|
188
|
+
class="container"
|
|
189
|
+
data-id="test-id"
|
|
190
|
+
data-test-id="test-id"
|
|
191
|
+
>
|
|
192
|
+
<div
|
|
193
|
+
class="container xmedium default plusIcon inflex coldir both"
|
|
194
|
+
data-id="containerComponent"
|
|
195
|
+
data-selector-id="avatarIcon"
|
|
196
|
+
data-test-id="containerComponent"
|
|
197
|
+
>
|
|
198
|
+
<i
|
|
199
|
+
aria-hidden="true"
|
|
200
|
+
class="zd_font_icons basic icon-plus icon iconColor undefined "
|
|
201
|
+
data-id="fontIcon"
|
|
202
|
+
data-selector-id="fontIcon"
|
|
203
|
+
data-test-id="fontIcon"
|
|
204
|
+
style="--zd-iconfont-size: var(--zd_font_size16);"
|
|
205
|
+
/>
|
|
206
|
+
</div>
|
|
207
|
+
</span>
|
|
208
|
+
</DocumentFragment>
|
|
209
|
+
`;
|
|
210
|
+
|
|
211
|
+
exports[`PlusIcon renders with default props 1`] = `
|
|
212
|
+
<DocumentFragment>
|
|
213
|
+
<span
|
|
214
|
+
class="container"
|
|
215
|
+
data-id="addreqNowbutton"
|
|
216
|
+
data-test-id="addreqNowbutton"
|
|
217
|
+
>
|
|
218
|
+
<div
|
|
219
|
+
class="container xmedium default plusIcon inflex coldir both"
|
|
220
|
+
data-id="containerComponent"
|
|
221
|
+
data-selector-id="avatarIcon"
|
|
222
|
+
data-test-id="containerComponent"
|
|
223
|
+
>
|
|
224
|
+
<i
|
|
225
|
+
aria-hidden="true"
|
|
226
|
+
class="zd_font_icons basic icon-plus icon iconColor undefined "
|
|
227
|
+
data-id="fontIcon"
|
|
228
|
+
data-selector-id="fontIcon"
|
|
229
|
+
data-test-id="fontIcon"
|
|
230
|
+
style="--zd-iconfont-size: var(--zd_font_size16);"
|
|
231
|
+
/>
|
|
232
|
+
</div>
|
|
233
|
+
</span>
|
|
234
|
+
</DocumentFragment>
|
|
235
|
+
`;
|
|
236
|
+
|
|
237
|
+
exports[`PlusIcon renders with iconClass prop 1`] = `
|
|
238
|
+
<DocumentFragment>
|
|
239
|
+
<span
|
|
240
|
+
class="container"
|
|
241
|
+
data-id="addreqNowbutton"
|
|
242
|
+
data-test-id="addreqNowbutton"
|
|
243
|
+
>
|
|
244
|
+
<div
|
|
245
|
+
class="container xmedium default plusIcon inflex coldir both"
|
|
246
|
+
data-id="containerComponent"
|
|
247
|
+
data-selector-id="avatarIcon"
|
|
248
|
+
data-test-id="containerComponent"
|
|
249
|
+
>
|
|
250
|
+
<i
|
|
251
|
+
aria-hidden="true"
|
|
252
|
+
class="zd_font_icons basic icon-plus custom-icon-class icon iconColor undefined "
|
|
253
|
+
data-id="fontIcon"
|
|
254
|
+
data-selector-id="fontIcon"
|
|
255
|
+
data-test-id="fontIcon"
|
|
256
|
+
style="--zd-iconfont-size: var(--zd_font_size16);"
|
|
257
|
+
/>
|
|
258
|
+
</div>
|
|
259
|
+
</span>
|
|
260
|
+
</DocumentFragment>
|
|
261
|
+
`;
|
|
262
|
+
|
|
263
|
+
exports[`PlusIcon renders with iconName prop 1`] = `
|
|
264
|
+
<DocumentFragment>
|
|
265
|
+
<span
|
|
266
|
+
class="container"
|
|
267
|
+
data-id="addreqNowbutton"
|
|
268
|
+
data-test-id="addreqNowbutton"
|
|
269
|
+
>
|
|
270
|
+
<div
|
|
271
|
+
class="container xmedium default plusIcon inflex coldir both"
|
|
272
|
+
data-id="containerComponent"
|
|
273
|
+
data-selector-id="avatarIcon"
|
|
274
|
+
data-test-id="containerComponent"
|
|
275
|
+
>
|
|
276
|
+
<i
|
|
277
|
+
aria-hidden="true"
|
|
278
|
+
class="zd_font_icons basic icon-plus icon iconColor undefined "
|
|
279
|
+
data-id="fontIcon"
|
|
280
|
+
data-selector-id="fontIcon"
|
|
281
|
+
data-test-id="fontIcon"
|
|
282
|
+
style="--zd-iconfont-size: var(--zd_font_size16);"
|
|
283
|
+
/>
|
|
284
|
+
</div>
|
|
285
|
+
</span>
|
|
286
|
+
</DocumentFragment>
|
|
287
|
+
`;
|
|
288
|
+
|
|
289
|
+
exports[`PlusIcon renders with iconSize prop 1`] = `
|
|
290
|
+
<DocumentFragment>
|
|
291
|
+
<span
|
|
292
|
+
class="container"
|
|
293
|
+
data-id="addreqNowbutton"
|
|
294
|
+
data-test-id="addreqNowbutton"
|
|
295
|
+
>
|
|
296
|
+
<div
|
|
297
|
+
class="container xmedium default plusIcon inflex coldir both"
|
|
298
|
+
data-id="containerComponent"
|
|
299
|
+
data-selector-id="avatarIcon"
|
|
300
|
+
data-test-id="containerComponent"
|
|
301
|
+
>
|
|
302
|
+
<i
|
|
303
|
+
aria-hidden="true"
|
|
304
|
+
class="zd_font_icons basic icon-plus icon iconColor undefined "
|
|
305
|
+
data-id="fontIcon"
|
|
306
|
+
data-selector-id="fontIcon"
|
|
307
|
+
data-test-id="fontIcon"
|
|
308
|
+
style="--zd-iconfont-size: var(--zd_font_size16);"
|
|
309
|
+
/>
|
|
310
|
+
</div>
|
|
311
|
+
</span>
|
|
312
|
+
</DocumentFragment>
|
|
313
|
+
`;
|
|
314
|
+
|
|
315
|
+
exports[`PlusIcon renders with title prop 1`] = `
|
|
316
|
+
<DocumentFragment>
|
|
317
|
+
<span
|
|
318
|
+
class="container"
|
|
319
|
+
data-id="addreqNowbutton"
|
|
320
|
+
data-test-id="addreqNowbutton"
|
|
321
|
+
data-title="Plus Icon"
|
|
9
322
|
>
|
|
10
323
|
<div
|
|
11
324
|
class="container xmedium default plusIcon inflex coldir both"
|
|
@@ -5,7 +5,7 @@ export const propTypes = {
|
|
|
5
5
|
iconName: PropTypes.string,
|
|
6
6
|
iconSize: PropTypes.string,
|
|
7
7
|
onClick: PropTypes.func,
|
|
8
|
-
size: PropTypes.
|
|
8
|
+
size: PropTypes.oneOf(['small', 'xsmall', 'xxsmall', 'medium', 'xmedium', 'xlarge']),
|
|
9
9
|
title: PropTypes.string,
|
|
10
10
|
customClass: PropTypes.string
|
|
11
11
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
3
|
-
import { defaultProps } from
|
|
4
|
-
import { propTypes } from
|
|
5
|
-
import style from
|
|
3
|
+
import { defaultProps } from "./props/defaultProps";
|
|
4
|
+
import { propTypes } from "./props/propTypes";
|
|
5
|
+
import style from "./Separator.module.css";
|
|
6
6
|
export default class Separator extends React.Component {
|
|
7
7
|
constructor(props) {
|
|
8
8
|
super(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import Separator from
|
|
3
|
+
import Separator from "../Separator";
|
|
4
4
|
describe('Separator', () => {
|
|
5
5
|
const PALETTE = ['default', 'primary', 'secondary'];
|
|
6
6
|
const TYPE = ['dot', 'slash', 'arrow', 'comma', 'none'];
|
|
@@ -1,9 +1,9 @@
|
|
|
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 { Container, Box } from '@zohodesk/components/es/Layout';
|
|
5
5
|
import Icon from '@zohodesk/icons/es/Icon';
|
|
6
|
-
import style from
|
|
6
|
+
import style from "./TagWithIcon.module.css";
|
|
7
7
|
export default class TagWithIcon extends React.Component {
|
|
8
8
|
render() {
|
|
9
9
|
const {
|