@zohodesk/dot 1.2.1 → 1.2.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/.cli/PropLessFiles.html +1 -1
- package/.cli/propValidation_report.html +1 -1
- package/README.md +15 -0
- package/coverage/ExternalLink/ExternalLink.js.html +1 -1
- package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
- package/coverage/ExternalLink/index.html +1 -1
- package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
- package/coverage/ExternalLink/props/index.html +1 -1
- package/coverage/ExternalLink/props/propTypes.js.html +1 -1
- package/coverage/Image/Image.js.html +1 -1
- package/coverage/Image/Image.module.css.html +1 -1
- package/coverage/Image/index.html +1 -1
- package/coverage/Image/props/defaultProps.js.html +1 -1
- package/coverage/Image/props/index.html +1 -1
- package/coverage/Image/props/propTypes.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
- package/coverage/avatar/AvatarWithTeam/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
- package/coverage/index.html +1 -1
- package/es/Attachment/Attachment.js +2 -1
- package/es/Attachment/Attachment.module.css +10 -6
- package/es/Link/Link.js +2 -1
- package/es/TagWithIcon/props/propTypes.js +1 -1
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +5 -2
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +1 -0
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +7 -3
- package/es/layout/SubtabLayout/props/propTypes.js +1 -1
- package/es/list/Icons/AddNewIcon.js +3 -2
- package/es/list/Icons/CompleteIcon.js +3 -2
- package/es/list/Icons/DeleteIcon.js +4 -3
- package/es/list/Icons/EditIcon.js +5 -3
- package/es/list/Icons/ReadUnreadIcon.js +5 -3
- package/es/list/Icons/SmartIcon.js +5 -3
- package/es/list/ListLayout/ListLayout.module.css +24 -8
- package/es/list/listCommon.module.css +23 -5
- package/es/list/status/StatusDropdown/StatusDropdown.js +16 -3
- package/es/list/status/StatusDropdown/props/propTypes.js +2 -1
- package/es/lookup/Lookup/Lookup.js +2 -0
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +2 -1
- package/es/setup/helptips/ListGroup/ListGroup.js +1 -1
- package/es/v1/Attachment/Attachment.js +88 -0
- package/es/v1/AttachmentViewer/AttachmentImage.js +79 -0
- package/es/v1/AttachmentViewer/AttachmentViewer.js +541 -0
- package/es/v1/ChannelIcon/ChannelIcon.js +1 -1
- package/es/v1/Drawer/Drawer.js +1 -1
- package/es/v1/FlipCard/FlipCard.js +3 -3
- package/es/v1/FreezeLayer/FreezeLayer.js +74 -0
- package/es/v1/Image/Image.js +39 -0
- package/es/v1/Link/Link.js +2 -1
- package/es/v1/Loader/Loader.js +21 -0
- package/es/v1/Message/Message.js +118 -0
- package/es/v1/MessageBanner/MessageBanner.js +1 -1
- package/es/v1/PlusIcon/PlusIcon.js +44 -0
- package/es/v1/Separator/Separator.js +60 -0
- package/es/v1/ToastMessage/ToastMessage.js +203 -0
- package/es/v1/Upload/Upload.js +76 -0
- package/es/v1/actions/AutoClose.js +43 -0
- package/es/v1/alert/index.js +2 -0
- package/es/v1/avatar/AvatarClose/AvatarClose.js +53 -0
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +62 -0
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +54 -0
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +72 -0
- package/es/v1/avatar/AvatarThread/AvatarThread.js +79 -0
- package/es/v1/avatar/AvatarUser/AvatarUser.js +116 -0
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +98 -0
- package/es/v1/avatar/index.js +7 -0
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +861 -0
- package/es/v1/emptystate/CommonEmptyState/CommonEmptyState.js +1 -0
- package/es/v1/errorstate/Inconvenience/Inconvenience.js +86 -0
- package/es/v1/errorstate/LinkText/LinkText.js +29 -0
- package/es/v1/errorstate/NoRequestFound/NoRequestFound.js +84 -0
- package/es/v1/errorstate/PermissionPlay/PermissionPlay.js +83 -0
- package/es/v1/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +84 -0
- package/es/v1/errorstate/UnableToProcess/UnableToProcess.js +86 -0
- package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +84 -0
- package/es/v1/errorstate/WillBack/WillBack.js +75 -0
- package/es/v1/errorstate/index.js +8 -0
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +141 -0
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +183 -0
- package/es/v1/form/fields/DateField/DateField.js +195 -0
- package/es/v1/form/fields/FieldContainer/FieldContainer.js +71 -0
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +213 -0
- package/es/v1/form/fields/PhoneField/PhoneField.js +189 -0
- package/es/v1/form/fields/RadioField/RadioField.js +116 -0
- package/es/v1/form/fields/SelectField/SelectField.js +183 -0
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +292 -0
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +258 -0
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +164 -0
- package/es/v1/form/fields/TextEditor/TextEditor.js +418 -0
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +178 -0
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +203 -0
- package/es/v1/form/fields/TextareaField/TextareaField.js +161 -0
- package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +58 -0
- package/es/v1/form/fields/index.js +16 -0
- package/es/v1/form/layout/Field/Field.js +33 -0
- package/es/v1/form/layout/Section/Section.js +37 -0
- package/es/v1/form/layout/index.js +2 -0
- package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +217 -0
- package/es/v1/layout/SetupDetailLayout/index.js +4 -0
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +144 -0
- package/es/v1/layout/SubtabLayout/index.js +4 -0
- package/es/v1/list/AvatarFlip/AvatarFlip.js +76 -0
- package/es/v1/list/BluePrintStatus/BluePrintStatus.js +28 -0
- package/es/v1/list/Comment/Comment.js +45 -0
- package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +100 -0
- package/es/v1/list/Dot/Dot.js +22 -0
- package/es/v1/list/DotNew/DotNew.js +29 -0
- package/es/v1/list/GridStencils/GridStencils.js +34 -0
- package/es/v1/list/Icons/AddNewIcon.js +28 -0
- package/es/v1/list/Icons/CompleteIcon.js +30 -0
- package/es/v1/list/Icons/DeleteIcon.js +31 -0
- package/es/v1/list/Icons/EditIcon.js +31 -0
- package/es/v1/list/Icons/FloatingIcons.js +30 -0
- package/es/v1/list/Icons/ReadUnreadIcon.js +35 -0
- package/es/v1/list/Icons/SmartIcon.js +28 -0
- package/es/v1/list/Icons/index.js +7 -0
- package/es/v1/list/ListLayout/ListLayout.js +83 -0
- package/es/v1/list/ListStencils/ListStencils.js +47 -0
- package/es/v1/list/SecondaryText/AccountName.js +85 -0
- package/es/v1/list/SecondaryText/ContactName.js +85 -0
- package/es/v1/list/SecondaryText/DepartmentText.js +30 -0
- package/es/v1/list/SecondaryText/Email.js +55 -0
- package/es/v1/list/SecondaryText/HappinessRating.js +31 -0
- package/es/v1/list/SecondaryText/PhoneNumber.js +59 -0
- package/es/v1/list/SecondaryText/PriorityText.js +33 -0
- package/es/v1/list/SecondaryText/SecondaryText.js +40 -0
- package/es/v1/list/SecondaryText/StatusText.js +34 -0
- package/es/v1/list/SecondaryText/TicketId.js +53 -0
- package/es/v1/list/SecondaryText/Website.js +43 -0
- package/es/v1/list/SecondaryText/index.js +11 -0
- package/es/v1/list/SecondryPanel/SecondryPanel.js +105 -0
- package/es/v1/list/SentimentStatus/SentimentStatus.js +34 -0
- package/es/v1/list/Subject/Subject.js +57 -0
- package/es/v1/list/TagNew/TagNew.js +33 -0
- package/es/v1/list/Thread/Thread.js +43 -0
- package/es/v1/list/UserTime/UserTime.js +83 -0
- package/es/v1/list/index.js +17 -0
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +465 -0
- package/es/v1/list/status/StatusListItem/StatusListItem.js +122 -0
- package/es/v1/list/status/index.js +2 -0
- package/es/v1/lookup/EmptyPage/EmptyPage.js +65 -0
- package/es/v1/lookup/Lookup/Lookup.js +2 -0
- package/es/v1/lookup/Section/Section.js +25 -0
- package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +176 -0
- package/es/v1/lookup/header/index.js +5 -0
- package/es/v1/setup/header/Button/Button.js +36 -0
- package/es/v1/setup/header/Link/Link.js +44 -0
- package/es/v1/setup/header/Search/Search.js +81 -0
- package/es/v1/setup/header/Views/Views.js +46 -0
- package/es/v1/setup/header/index.js +4 -0
- package/es/v1/setup/helptips/Description/Description.js +24 -0
- package/es/v1/setup/helptips/Link/Link.js +41 -0
- package/es/v1/setup/helptips/ListGroup/ListGroup.js +39 -0
- package/es/v1/setup/helptips/Title/Title.js +24 -0
- package/es/v1/setup/helptips/index.js +4 -0
- package/es/v1/setup/index.js +6 -0
- package/es/v1/setup/table/index.js +5 -0
- package/es/v1/svg/PlusIcon.js +32 -0
- package/es/v1/svg/SnippetIcon.js +34 -0
- package/es/v1/svg/TemplateIcon.js +35 -0
- package/es/v1/svg/index.js +3 -0
- package/es/v1/version2/alertIcons/index.js +8 -0
- package/es/v1/version2/index.js +12 -0
- package/es/v1/version2/lookup/AlertHeader/AlertHeader.js +79 -0
- package/es/v1/version2/lookup/AlertLookup/AlertLookup.js +17 -5
- package/es/v1/version2/notification/DesktopNotification/DesktopNotification.js +164 -0
- package/es/version2/lookup/AlertLookup/AlertLookup.js +14 -2
- package/lib/Attachment/Attachment.js +2 -1
- package/lib/Attachment/Attachment.module.css +10 -6
- package/lib/Link/Link.js +2 -1
- package/lib/TagWithIcon/props/propTypes.js +1 -1
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +5 -3
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +1 -0
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +8 -5
- package/lib/layout/SubtabLayout/props/propTypes.js +1 -1
- package/lib/list/Icons/AddNewIcon.js +4 -2
- package/lib/list/Icons/CompleteIcon.js +4 -2
- package/lib/list/Icons/DeleteIcon.js +5 -3
- package/lib/list/Icons/EditIcon.js +6 -3
- package/lib/list/Icons/ReadUnreadIcon.js +6 -3
- package/lib/list/Icons/SmartIcon.js +6 -3
- package/lib/list/ListLayout/ListLayout.module.css +24 -8
- package/lib/list/listCommon.module.css +23 -5
- package/lib/list/status/StatusDropdown/StatusDropdown.js +16 -5
- package/lib/list/status/StatusDropdown/props/propTypes.js +1 -1
- package/lib/lookup/Lookup/Lookup.js +2 -0
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +2 -1
- package/lib/setup/helptips/ListGroup/ListGroup.js +1 -1
- package/lib/v1/Attachment/Attachment.js +140 -0
- package/lib/v1/AttachmentViewer/AttachmentImage.js +124 -0
- package/lib/v1/AttachmentViewer/AttachmentViewer.js +625 -0
- package/lib/v1/ChannelIcon/ChannelIcon.js +1 -1
- package/lib/v1/Drawer/Drawer.js +1 -1
- package/lib/v1/FlipCard/FlipCard.js +3 -3
- package/lib/v1/FreezeLayer/FreezeLayer.js +94 -0
- package/lib/v1/Image/Image.js +89 -0
- package/lib/v1/Link/Link.js +2 -1
- package/lib/v1/Loader/Loader.js +70 -0
- package/lib/v1/Message/Message.js +170 -0
- package/lib/v1/MessageBanner/MessageBanner.js +1 -1
- package/lib/v1/PlusIcon/PlusIcon.js +91 -0
- package/lib/v1/Separator/Separator.js +107 -0
- package/lib/v1/ToastMessage/ToastMessage.js +246 -0
- package/lib/v1/Upload/Upload.js +128 -0
- package/lib/v1/actions/AutoClose.js +75 -0
- package/lib/v1/alert/index.js +23 -0
- package/lib/v1/avatar/AvatarClose/AvatarClose.js +101 -0
- package/lib/v1/avatar/AvatarCollision/AvatarCollision.js +110 -0
- package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +106 -0
- package/lib/v1/avatar/AvatarStatus/AvatarStatus.js +119 -0
- package/lib/v1/avatar/AvatarThread/AvatarThread.js +130 -0
- package/lib/v1/avatar/AvatarUser/AvatarUser.js +167 -0
- package/lib/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +154 -0
- package/lib/v1/avatar/index.js +63 -0
- package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +932 -0
- package/lib/v1/emptystate/CommonEmptyState/CommonEmptyState.js +1 -0
- package/lib/v1/errorstate/Inconvenience/Inconvenience.js +137 -0
- package/lib/v1/errorstate/LinkText/LinkText.js +80 -0
- package/lib/v1/errorstate/NoRequestFound/NoRequestFound.js +135 -0
- package/lib/v1/errorstate/PermissionPlay/PermissionPlay.js +134 -0
- package/lib/v1/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +135 -0
- package/lib/v1/errorstate/UnableToProcess/UnableToProcess.js +137 -0
- package/lib/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +135 -0
- package/lib/v1/errorstate/WillBack/WillBack.js +125 -0
- package/lib/v1/errorstate/index.js +71 -0
- package/lib/v1/form/fields/CheckBoxField/CheckBoxField.js +197 -0
- package/lib/v1/form/fields/CurrencyField/CurrencyField.js +234 -0
- package/lib/v1/form/fields/DateField/DateField.js +249 -0
- package/lib/v1/form/fields/FieldContainer/FieldContainer.js +118 -0
- package/lib/v1/form/fields/MultiSelectField/MultiSelectField.js +268 -0
- package/lib/v1/form/fields/PhoneField/PhoneField.js +236 -0
- package/lib/v1/form/fields/RadioField/RadioField.js +169 -0
- package/lib/v1/form/fields/SelectField/SelectField.js +236 -0
- package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +346 -0
- package/lib/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +299 -0
- package/lib/v1/form/fields/TextBoxField/TextBoxField.js +219 -0
- package/lib/v1/form/fields/TextEditor/TextEditor.js +463 -0
- package/lib/v1/form/fields/TextEditorField/TextEditorField.js +230 -0
- package/lib/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +256 -0
- package/lib/v1/form/fields/TextareaField/TextareaField.js +215 -0
- package/lib/v1/form/fields/ValidationMessage/ValidationMessage.js +110 -0
- package/lib/{docs/formDocs.js → v1/form/fields/index.js} +33 -25
- package/lib/v1/form/layout/Field/Field.js +87 -0
- package/lib/v1/form/layout/Section/Section.js +86 -0
- package/lib/v1/form/layout/index.js +23 -0
- package/lib/v1/layout/SetupDetailLayout/SetupDetailLayout.js +305 -0
- package/lib/v1/layout/SetupDetailLayout/index.js +37 -0
- package/lib/v1/layout/SubtabLayout/SubtabLayout.js +245 -0
- package/lib/v1/layout/SubtabLayout/index.js +37 -0
- package/lib/v1/list/AvatarFlip/AvatarFlip.js +131 -0
- package/lib/v1/list/BluePrintStatus/BluePrintStatus.js +73 -0
- package/lib/v1/list/Comment/Comment.js +98 -0
- package/lib/v1/list/DepartmentDropDown/DepartmentDropDown.js +157 -0
- package/lib/v1/list/Dot/Dot.js +72 -0
- package/lib/v1/list/DotNew/DotNew.js +79 -0
- package/lib/v1/list/GridStencils/GridStencils.js +83 -0
- package/lib/v1/list/Icons/AddNewIcon.js +79 -0
- package/lib/v1/list/Icons/CompleteIcon.js +81 -0
- package/lib/v1/list/Icons/DeleteIcon.js +82 -0
- package/lib/v1/list/Icons/EditIcon.js +82 -0
- package/lib/v1/list/Icons/FloatingIcons.js +87 -0
- package/lib/v1/list/Icons/ReadUnreadIcon.js +87 -0
- package/lib/v1/list/Icons/SmartIcon.js +83 -0
- package/lib/v1/list/Icons/index.js +63 -0
- package/lib/v1/list/ListLayout/ListLayout.js +145 -0
- package/lib/v1/list/ListStencils/ListStencils.js +96 -0
- package/lib/v1/list/SecondaryText/AccountName.js +136 -0
- package/lib/v1/list/SecondaryText/ContactName.js +144 -0
- package/lib/v1/list/SecondaryText/DepartmentText.js +79 -0
- package/lib/v1/list/SecondaryText/Email.js +103 -0
- package/lib/v1/list/SecondaryText/HappinessRating.js +81 -0
- package/lib/v1/list/SecondaryText/PhoneNumber.js +107 -0
- package/lib/v1/list/SecondaryText/PriorityText.js +83 -0
- package/lib/v1/list/SecondaryText/SecondaryText.js +88 -0
- package/lib/v1/list/SecondaryText/StatusText.js +84 -0
- package/lib/v1/list/SecondaryText/TicketId.js +104 -0
- package/lib/v1/list/SecondaryText/Website.js +91 -0
- package/lib/v1/list/SecondaryText/index.js +95 -0
- package/lib/v1/list/SecondryPanel/SecondryPanel.js +205 -0
- package/lib/v1/list/SentimentStatus/SentimentStatus.js +80 -0
- package/lib/v1/list/Subject/Subject.js +108 -0
- package/lib/v1/list/TagNew/TagNew.js +83 -0
- package/lib/v1/list/Thread/Thread.js +95 -0
- package/lib/v1/list/UserTime/UserTime.js +136 -0
- package/lib/v1/list/index.js +173 -0
- package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +541 -0
- package/lib/v1/list/status/StatusListItem/StatusListItem.js +168 -0
- package/lib/v1/list/status/index.js +23 -0
- package/lib/v1/lookup/EmptyPage/EmptyPage.js +120 -0
- package/lib/v1/lookup/Lookup/Lookup.js +2 -0
- package/lib/v1/lookup/Section/Section.js +75 -0
- package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +221 -0
- package/lib/v1/lookup/header/index.js +47 -0
- package/lib/v1/setup/header/Button/Button.js +83 -0
- package/lib/v1/setup/header/Link/Link.js +93 -0
- package/lib/v1/setup/header/Search/Search.js +126 -0
- package/lib/v1/setup/header/Views/Views.js +93 -0
- package/lib/v1/setup/header/index.js +39 -0
- package/lib/v1/setup/helptips/Description/Description.js +68 -0
- package/lib/v1/setup/helptips/Link/Link.js +88 -0
- package/lib/v1/setup/helptips/ListGroup/ListGroup.js +88 -0
- package/lib/v1/setup/helptips/Title/Title.js +68 -0
- package/lib/v1/setup/helptips/index.js +39 -0
- package/lib/v1/setup/index.js +24 -0
- package/lib/v1/setup/table/index.js +47 -0
- package/lib/v1/svg/PlusIcon.js +82 -0
- package/lib/v1/svg/SnippetIcon.js +84 -0
- package/lib/v1/svg/TemplateIcon.js +85 -0
- package/lib/v1/svg/index.js +31 -0
- package/lib/v1/version2/alertIcons/index.js +71 -0
- package/lib/v1/version2/index.js +58 -0
- package/lib/v1/version2/lookup/AlertHeader/AlertHeader.js +104 -0
- package/lib/v1/version2/lookup/AlertLookup/AlertLookup.js +17 -5
- package/lib/v1/version2/notification/DesktopNotification/DesktopNotification.js +193 -0
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +14 -2
- package/package.json +9 -9
- package/result.json +1 -1
- package/es/docs/formDocs.js +0 -15
- package/es/docs/generalDocs.js +0 -63
- package/es/docs/lookupDocs.js +0 -17
- package/es/docs/setupDocs.js +0 -11
- package/lib/docs/generalDocs.js +0 -479
- package/lib/docs/lookupDocs.js +0 -135
- package/lib/docs/setupDocs.js +0 -95
package/README.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
In this Library, we Provide Some Basic Components to Build Your Application
|
|
4
4
|
|
|
5
|
+
# 1.2.3
|
|
6
|
+
|
|
7
|
+
- **setup/helptips/ListGroup/ListGroup** data to text issue fixed
|
|
8
|
+
- propTypes Validated for **ToggleDropDown,TagsMultiSelectField,StatusDropdown,ViewDropDown**
|
|
9
|
+
|
|
10
|
+
# 1.2.2
|
|
11
|
+
|
|
12
|
+
- **Attachment, ListLayout** focus-within css changes has been added
|
|
13
|
+
|
|
14
|
+
- **Attachment, Link, CommonEmptyState** tabIndex added for screen reader
|
|
15
|
+
|
|
16
|
+
- **AddNeIcon, CompleteIcon, DeleteIcon, EditIcon, ReadUnreadIcon, SmartIcon** Screen reader Fix
|
|
17
|
+
|
|
18
|
+
- **StatusDropdown, Lookup, AlertLookup** a11y props added
|
|
19
|
+
|
|
5
20
|
# 1.2.1
|
|
6
21
|
|
|
7
22
|
- Proptypes and PlayGround Validated
|
|
@@ -214,7 +214,7 @@ ExternalLink.propTypes = propTypes;
|
|
|
214
214
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
215
215
|
Code coverage generated by
|
|
216
216
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
217
|
-
at 2023-08-
|
|
217
|
+
at 2023-08-28T16:00:21.378Z
|
|
218
218
|
</div>
|
|
219
219
|
<script src="../prettify.js"></script>
|
|
220
220
|
<script>
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
80
80
|
Code coverage generated by
|
|
81
81
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
82
|
-
at 2023-08-
|
|
82
|
+
at 2023-08-28T16:00:21.378Z
|
|
83
83
|
</div>
|
|
84
84
|
<script src="../prettify.js"></script>
|
|
85
85
|
<script>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at 2023-08-
|
|
119
|
+
at 2023-08-28T16:00:21.378Z
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../prettify.js"></script>
|
|
122
122
|
<script>
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
86
86
|
Code coverage generated by
|
|
87
87
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
88
|
-
at 2023-08-
|
|
88
|
+
at 2023-08-28T16:00:21.378Z
|
|
89
89
|
</div>
|
|
90
90
|
<script src="../../prettify.js"></script>
|
|
91
91
|
<script>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at 2023-08-
|
|
119
|
+
at 2023-08-28T16:00:21.378Z
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../../prettify.js"></script>
|
|
122
122
|
<script>
|
|
@@ -109,7 +109,7 @@ export const propTypes = {
|
|
|
109
109
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
110
110
|
Code coverage generated by
|
|
111
111
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
112
|
-
at 2023-08-
|
|
112
|
+
at 2023-08-28T16:00:21.378Z
|
|
113
113
|
</div>
|
|
114
114
|
<script src="../../prettify.js"></script>
|
|
115
115
|
<script>
|
|
@@ -169,7 +169,7 @@ Image.defaultProps = defaultProps;
|
|
|
169
169
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
170
170
|
Code coverage generated by
|
|
171
171
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
172
|
-
at 2023-08-
|
|
172
|
+
at 2023-08-28T16:00:21.378Z
|
|
173
173
|
</div>
|
|
174
174
|
<script src="../prettify.js"></script>
|
|
175
175
|
<script>
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
104
104
|
Code coverage generated by
|
|
105
105
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
106
|
-
at 2023-08-
|
|
106
|
+
at 2023-08-28T16:00:21.378Z
|
|
107
107
|
</div>
|
|
108
108
|
<script src="../prettify.js"></script>
|
|
109
109
|
<script>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at 2023-08-
|
|
119
|
+
at 2023-08-28T16:00:21.378Z
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../prettify.js"></script>
|
|
122
122
|
<script>
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
83
83
|
Code coverage generated by
|
|
84
84
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
85
|
-
at 2023-08-
|
|
85
|
+
at 2023-08-28T16:00:21.378Z
|
|
86
86
|
</div>
|
|
87
87
|
<script src="../../prettify.js"></script>
|
|
88
88
|
<script>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at 2023-08-
|
|
119
|
+
at 2023-08-28T16:00:21.378Z
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../../prettify.js"></script>
|
|
122
122
|
<script>
|
|
@@ -112,7 +112,7 @@ export const propTypes = {
|
|
|
112
112
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
113
113
|
Code coverage generated by
|
|
114
114
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
115
|
-
at 2023-08-
|
|
115
|
+
at 2023-08-28T16:00:21.378Z
|
|
116
116
|
</div>
|
|
117
117
|
<script src="../../prettify.js"></script>
|
|
118
118
|
<script>
|
|
@@ -433,7 +433,7 @@ AvatarWithTeam.propTypes = propTypes;
|
|
|
433
433
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
434
434
|
Code coverage generated by
|
|
435
435
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
436
|
-
at 2023-08-
|
|
436
|
+
at 2023-08-28T16:00:21.378Z
|
|
437
437
|
</div>
|
|
438
438
|
<script src="../../prettify.js"></script>
|
|
439
439
|
<script>
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
119
119
|
Code coverage generated by
|
|
120
120
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
121
|
-
at 2023-08-
|
|
121
|
+
at 2023-08-28T16:00:21.378Z
|
|
122
122
|
</div>
|
|
123
123
|
<script src="../../prettify.js"></script>
|
|
124
124
|
<script>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at 2023-08-
|
|
119
|
+
at 2023-08-28T16:00:21.378Z
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../../prettify.js"></script>
|
|
122
122
|
<script>
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
98
98
|
Code coverage generated by
|
|
99
99
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
100
|
-
at 2023-08-
|
|
100
|
+
at 2023-08-28T16:00:21.378Z
|
|
101
101
|
</div>
|
|
102
102
|
<script src="../../../prettify.js"></script>
|
|
103
103
|
<script>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at 2023-08-
|
|
119
|
+
at 2023-08-28T16:00:21.378Z
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../../../prettify.js"></script>
|
|
122
122
|
<script>
|
|
@@ -148,7 +148,7 @@ export const propTypes = {
|
|
|
148
148
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
149
149
|
Code coverage generated by
|
|
150
150
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
151
|
-
at 2023-08-
|
|
151
|
+
at 2023-08-28T16:00:21.378Z
|
|
152
152
|
</div>
|
|
153
153
|
<script src="../../../prettify.js"></script>
|
|
154
154
|
<script>
|
package/coverage/index.html
CHANGED
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
177
177
|
Code coverage generated by
|
|
178
178
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
179
|
-
at 2023-08-
|
|
179
|
+
at 2023-08-28T16:00:21.378Z
|
|
180
180
|
</div>
|
|
181
181
|
<script src="prettify.js"></script>
|
|
182
182
|
<script>
|
|
@@ -32,7 +32,8 @@ export default class Attachment extends React.Component {
|
|
|
32
32
|
"data-title": tooltip,
|
|
33
33
|
alignBox: "row",
|
|
34
34
|
isCover: false,
|
|
35
|
-
dataSelectorId: dataSelectorId
|
|
35
|
+
dataSelectorId: dataSelectorId,
|
|
36
|
+
tabIndex: "0"
|
|
36
37
|
}, iconName ? /*#__PURE__*/React.createElement(Box, {
|
|
37
38
|
className: style.attachleft
|
|
38
39
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
@@ -18,19 +18,22 @@
|
|
|
18
18
|
background-color: var(--zdt_attachment_transparent_bg);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.attachmentHover:hover, .attachmentHover:hover .attachleft {
|
|
21
|
+
.attachmentHover:hover, .attachmentHover:hover .attachleft, .attachmentHover:focus-within, .attachmentHover:focus-within .attachleft {
|
|
22
22
|
border-color: var(--zdt_attachment_default_hover_border);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.attachmentHover:hover .attachleft i
|
|
25
|
+
.attachmentHover:hover .attachleft i,
|
|
26
|
+
.attachmentHover:focus-within .attachleft i {
|
|
26
27
|
color: var(--zdt_attachment_hover_text);
|
|
27
28
|
}
|
|
28
29
|
|
|
29
|
-
.attachment:hover .attachDownload
|
|
30
|
+
.attachment:hover .attachDownload,
|
|
31
|
+
.attachment:focus-within .attachDownload {
|
|
30
32
|
display: block;
|
|
31
33
|
}
|
|
32
34
|
|
|
33
|
-
.attachmentHover:hover .attachSize
|
|
35
|
+
.attachmentHover:hover .attachSize,
|
|
36
|
+
.attachment:focus-within .attachSize {
|
|
34
37
|
color: var(--zdt_attachment_hover_text);
|
|
35
38
|
}
|
|
36
39
|
|
|
@@ -132,7 +135,7 @@
|
|
|
132
135
|
line-height: var(--zd_size18);
|
|
133
136
|
}
|
|
134
137
|
|
|
135
|
-
.attachDownload:hover {
|
|
138
|
+
.attachDownload:hover, .attachDownload:focus-within {
|
|
136
139
|
background-color: var(--zdt_attachment_download_hover_bg);
|
|
137
140
|
}
|
|
138
141
|
|
|
@@ -145,7 +148,8 @@
|
|
|
145
148
|
color: var(--zdt_attachment_size_text);
|
|
146
149
|
}
|
|
147
150
|
|
|
148
|
-
.attachDownload:hover .downIcon
|
|
151
|
+
.attachDownload:hover .downIcon,
|
|
152
|
+
.attachDownload:focus-within .downIcon {
|
|
149
153
|
color: var(--zdt_attachment_download_hover_text);
|
|
150
154
|
}
|
|
151
155
|
|
package/es/Link/Link.js
CHANGED
|
@@ -6,7 +6,7 @@ export const propTypes = {
|
|
|
6
6
|
title: PropTypes.string,
|
|
7
7
|
isBold: PropTypes.bool,
|
|
8
8
|
palette: PropTypes.oneOf(['yellow', 'blue', 'grey']),
|
|
9
|
-
size: PropTypes.oneOf('small', 'large'),
|
|
9
|
+
size: PropTypes.oneOf(['small', 'large']),
|
|
10
10
|
className: PropTypes.string,
|
|
11
11
|
text: PropTypes.string,
|
|
12
12
|
dataId: PropTypes.string
|
|
@@ -852,10 +852,13 @@ export class ToggleDropDown extends Component {
|
|
|
852
852
|
|
|
853
853
|
}
|
|
854
854
|
ToggleDropDown.defaultProps = defaultProps;
|
|
855
|
-
ToggleDropDown.propTypes = propTypes;
|
|
855
|
+
ToggleDropDown.propTypes = propTypes;
|
|
856
|
+
const ToggleDropDown_Component = Popup(ToggleDropDown);
|
|
857
|
+
ToggleDropDown_Component.defaultProps = ToggleDropDown.defaultProps;
|
|
858
|
+
ToggleDropDown_Component.propTypes = ToggleDropDown.propTypes; // if (__DOCS__) {
|
|
856
859
|
// ToggleDropDown.docs = {
|
|
857
860
|
// componentGroup: 'Molecule'
|
|
858
861
|
// };
|
|
859
862
|
// }
|
|
860
863
|
|
|
861
|
-
export default
|
|
864
|
+
export default ToggleDropDown_Component;
|
|
@@ -31,6 +31,7 @@ export default class CommonEmptyState extends Component {
|
|
|
31
31
|
"data-id": dataId,
|
|
32
32
|
"data-test-id": dataId
|
|
33
33
|
}, getEmptyState ? getEmptyState() : null, title ? /*#__PURE__*/React.createElement("div", {
|
|
34
|
+
tabIndex: "0",
|
|
34
35
|
className: `${style.title} ${titleClass}`
|
|
35
36
|
}, title) : null, description ? /*#__PURE__*/React.createElement("div", {
|
|
36
37
|
className: style.linkWrapper
|
|
@@ -249,10 +249,14 @@ const TagsMultiSelectField = props => {
|
|
|
249
249
|
}, ValidationMessageProps)));
|
|
250
250
|
};
|
|
251
251
|
|
|
252
|
-
export default Popup(TagsMultiSelectField);
|
|
253
252
|
TagsMultiSelectField.propTypes = propTypes;
|
|
254
|
-
TagsMultiSelectField.defaultProps = defaultProps;
|
|
253
|
+
TagsMultiSelectField.defaultProps = defaultProps;
|
|
254
|
+
const TagsMultiSelectField_Component = Popup(TagsMultiSelectField);
|
|
255
|
+
TagsMultiSelectField_Component.defaultProps = TagsMultiSelectField.defaultProps;
|
|
256
|
+
TagsMultiSelectField_Component.propTypes = TagsMultiSelectField.propTypes; // if (__DOCS__) {
|
|
255
257
|
// TagsMultiSelectField.docs = {
|
|
256
258
|
// componentGroup: 'TagsMultiSelectField'
|
|
257
259
|
// };
|
|
258
|
-
// }
|
|
260
|
+
// }
|
|
261
|
+
|
|
262
|
+
export default TagsMultiSelectField_Component;
|
|
@@ -35,6 +35,6 @@ export const SubtabContent_propTypes = {
|
|
|
35
35
|
scroll: PropTypes.oneOf(['vertical'])
|
|
36
36
|
};
|
|
37
37
|
export const SubtabLayout_propTypes = {
|
|
38
|
-
children: PropTypes.
|
|
38
|
+
children: PropTypes.oneOfType([PropTypes.element, PropTypes.array]),
|
|
39
39
|
dataId: PropTypes.string
|
|
40
40
|
};
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { AddNewIcon_propTypes } from './props/propTypes';
|
|
3
3
|
import { Icon } from '@zohodesk/icons';
|
|
4
4
|
import style from './Icons.module.css';
|
|
5
|
+
import btnStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css';
|
|
5
6
|
export default class AddNewIcon extends React.Component {
|
|
6
7
|
render() {
|
|
7
8
|
let {
|
|
@@ -11,9 +12,9 @@ export default class AddNewIcon extends React.Component {
|
|
|
11
12
|
iconClass,
|
|
12
13
|
className
|
|
13
14
|
} = this.props;
|
|
14
|
-
return /*#__PURE__*/React.createElement("
|
|
15
|
+
return /*#__PURE__*/React.createElement("button", {
|
|
15
16
|
onClick: onClick,
|
|
16
|
-
className: `${style.iconStyle} ${style.blueHover} ${className ? className : ''}`,
|
|
17
|
+
className: `${style.iconStyle} ${style.blueHover} ${className ? className : ''} ${btnStyle.buttonReset}`,
|
|
17
18
|
"data-id": dataId,
|
|
18
19
|
"data-test-id": dataId,
|
|
19
20
|
"data-title": dataTitle
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { CompleteIcon_propTypes } from './props/propTypes';
|
|
3
3
|
import { Icon } from '@zohodesk/icons';
|
|
4
4
|
import style from './Icons.module.css';
|
|
5
|
+
import btnStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css';
|
|
5
6
|
export default class CompleteIcon extends React.Component {
|
|
6
7
|
render() {
|
|
7
8
|
let {
|
|
@@ -12,9 +13,9 @@ export default class CompleteIcon extends React.Component {
|
|
|
12
13
|
className,
|
|
13
14
|
iconSize
|
|
14
15
|
} = this.props;
|
|
15
|
-
return /*#__PURE__*/React.createElement("
|
|
16
|
+
return /*#__PURE__*/React.createElement("button", {
|
|
16
17
|
onClick: onClick,
|
|
17
|
-
className: `${style.iconStyle} ${style.blueHover} ${className ? className : ''}`,
|
|
18
|
+
className: `${style.iconStyle} ${style.blueHover} ${className ? className : ''} ${btnStyle.buttonReset}`,
|
|
18
19
|
"data-id": dataId,
|
|
19
20
|
"data-test-id": dataId,
|
|
20
21
|
"data-title": dataTitle
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { DeleteComponent_propTypes } from './props/propTypes';
|
|
3
3
|
import style from './Icons.module.css';
|
|
4
4
|
import { Icon } from '@zohodesk/icons';
|
|
5
|
+
import btnStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css';
|
|
5
6
|
export default class DeleteComponent extends React.Component {
|
|
6
7
|
render() {
|
|
7
8
|
let {
|
|
@@ -12,13 +13,13 @@ export default class DeleteComponent extends React.Component {
|
|
|
12
13
|
iconSize,
|
|
13
14
|
className
|
|
14
15
|
} = this.props;
|
|
15
|
-
return /*#__PURE__*/React.createElement("
|
|
16
|
+
return /*#__PURE__*/React.createElement("button", {
|
|
16
17
|
onClick: onClick,
|
|
17
|
-
className: `${style.iconStyle} ${style.redHover} ${className ? className : ''}`,
|
|
18
|
+
className: `${style.iconStyle} ${style.redHover} ${className ? className : ''} ${btnStyle.buttonReset}`,
|
|
18
19
|
"data-id": dataId,
|
|
19
20
|
"data-test-id": dataId,
|
|
20
21
|
"data-title": dataTitle,
|
|
21
|
-
|
|
22
|
+
"aria-label": dataTitle
|
|
22
23
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
23
24
|
name: "ZD-GN-delete",
|
|
24
25
|
iconClass: iconClass ? iconClass : '',
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { EditIcon_propTypes } from './props/propTypes';
|
|
3
3
|
import style from './Icons.module.css';
|
|
4
4
|
import { Icon } from '@zohodesk/icons';
|
|
5
|
+
import btnStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css';
|
|
5
6
|
export default class EditIcon extends React.Component {
|
|
6
7
|
render() {
|
|
7
8
|
let {
|
|
@@ -12,12 +13,13 @@ export default class EditIcon extends React.Component {
|
|
|
12
13
|
iconSize,
|
|
13
14
|
className
|
|
14
15
|
} = this.props;
|
|
15
|
-
return /*#__PURE__*/React.createElement("
|
|
16
|
+
return /*#__PURE__*/React.createElement("button", {
|
|
16
17
|
onClick: onClick,
|
|
17
|
-
className: `${style.iconStyle} ${style.blueHover} ${className ? className : ''}`,
|
|
18
|
+
className: `${style.iconStyle} ${style.blueHover} ${className ? className : ''} ${btnStyle.buttonReset}`,
|
|
18
19
|
"data-id": dataId,
|
|
19
20
|
"data-test-id": dataId,
|
|
20
|
-
"data-title": dataTitle
|
|
21
|
+
"data-title": dataTitle,
|
|
22
|
+
"aria-label": dataTitle
|
|
21
23
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
22
24
|
name: "ZD-GN-edit",
|
|
23
25
|
iconClass: iconClass ? iconClass : '',
|
|
@@ -3,6 +3,7 @@ import { ReadUnreadIcon_defaultProps } from './props/defaultProps';
|
|
|
3
3
|
import { ReadUnreadIcon_propTypes } from './props/propTypes';
|
|
4
4
|
import { Icon } from '@zohodesk/icons';
|
|
5
5
|
import style from './Icons.module.css';
|
|
6
|
+
import btnStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css';
|
|
6
7
|
export default class ReadUnreadIcon extends React.Component {
|
|
7
8
|
render() {
|
|
8
9
|
let {
|
|
@@ -15,12 +16,13 @@ export default class ReadUnreadIcon extends React.Component {
|
|
|
15
16
|
isRead,
|
|
16
17
|
iconSize
|
|
17
18
|
} = this.props;
|
|
18
|
-
return /*#__PURE__*/React.createElement("
|
|
19
|
+
return /*#__PURE__*/React.createElement("button", {
|
|
19
20
|
onClick: onClick,
|
|
20
|
-
className: `${style.iconStyle} ${style.blueHover} ${className ? className : ''}`,
|
|
21
|
+
className: `${style.iconStyle} ${style.blueHover} ${className ? className : ''} ${btnStyle.buttonReset}`,
|
|
21
22
|
"data-id": dataId,
|
|
22
23
|
"data-test-id": dataId,
|
|
23
|
-
"data-title": dataTitle
|
|
24
|
+
"data-title": dataTitle,
|
|
25
|
+
"aria-label": dataTitle
|
|
24
26
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
25
27
|
name: isRead ? 'ZD-GN-read' : 'ZD-GN-unread',
|
|
26
28
|
size: iconSize,
|
|
@@ -2,6 +2,7 @@ import React, { Component } from 'react';
|
|
|
2
2
|
import { SmartIcon_propTypes } from './props/propTypes';
|
|
3
3
|
import style from './Icons.module.css';
|
|
4
4
|
import { Icon } from '@zohodesk/icons';
|
|
5
|
+
import btnStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css';
|
|
5
6
|
export default class SmartIcon extends Component {
|
|
6
7
|
render() {
|
|
7
8
|
let {
|
|
@@ -11,12 +12,13 @@ export default class SmartIcon extends Component {
|
|
|
11
12
|
iconClass,
|
|
12
13
|
className
|
|
13
14
|
} = this.props;
|
|
14
|
-
return /*#__PURE__*/React.createElement("
|
|
15
|
+
return /*#__PURE__*/React.createElement("button", {
|
|
15
16
|
onClick: onClick,
|
|
16
|
-
className: `${style.iconStyle} ${style.blueHover} ${className ? className : ''}`,
|
|
17
|
+
className: `${style.iconStyle} ${style.blueHover} ${className ? className : ''} ${btnStyle.buttonReset}`,
|
|
17
18
|
"data-id": dataId,
|
|
18
19
|
"data-test-id": dataId,
|
|
19
|
-
"data-title": dataTitle
|
|
20
|
+
"data-title": dataTitle,
|
|
21
|
+
"aria-label": dataTitle
|
|
20
22
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
21
23
|
name: "ZD-TK-peek",
|
|
22
24
|
iconClass: iconClass ? iconClass : ''
|
|
@@ -1,58 +1,74 @@
|
|
|
1
1
|
.varClass {
|
|
2
2
|
--listBorder: var(--zdt_listLayout_border)
|
|
3
3
|
}
|
|
4
|
+
|
|
4
5
|
.container {
|
|
5
6
|
position: relative;
|
|
6
7
|
composes: varClass;
|
|
7
8
|
}
|
|
8
|
-
|
|
9
|
+
|
|
10
|
+
.listHover:hover, .hoveredStyle, .listHover:focus-within, .hoveredStyle:focus-within {
|
|
9
11
|
background-color: var(--zdt_listLayout_hover_bg);
|
|
10
12
|
}
|
|
13
|
+
|
|
11
14
|
.active, .active:hover {
|
|
12
15
|
background-color: var(--zdt_listLayout_active_bg);
|
|
13
16
|
}
|
|
14
|
-
|
|
17
|
+
|
|
18
|
+
.cursorPointer {
|
|
15
19
|
cursor: pointer
|
|
16
20
|
}
|
|
21
|
+
|
|
17
22
|
/* View */
|
|
18
23
|
.classic .innerContainer {
|
|
19
24
|
min-height: var(--zd_size70) ;
|
|
20
25
|
padding: var(--zd_size13) 0 ;
|
|
21
26
|
}
|
|
27
|
+
|
|
22
28
|
.compact .innerContainer {
|
|
23
29
|
min-height: var(--zd_size41) ;
|
|
24
30
|
padding: var(--zd_size5) 0 ;
|
|
25
31
|
}
|
|
32
|
+
|
|
26
33
|
.superCompact .innerContainer {
|
|
27
34
|
min-height: var(--zd_size35) ;
|
|
28
35
|
padding: var(--zd_size2) 0 ;
|
|
29
36
|
}
|
|
37
|
+
|
|
30
38
|
.compact .innerContainer, .classic .innerContainer, .superCompact .innerContainer {
|
|
31
39
|
border-bottom: 1px dotted var(--listBorder);
|
|
32
40
|
}
|
|
41
|
+
|
|
33
42
|
[dir=ltr] .compact, [dir=ltr] .classic, [dir=ltr] .superCompact {
|
|
34
43
|
border-left: var(--zd_size2) solid transparent;
|
|
35
44
|
}
|
|
45
|
+
|
|
36
46
|
[dir=rtl] .compact, [dir=rtl] .classic, [dir=rtl] .superCompact {
|
|
37
47
|
border-right: var(--zd_size2) solid transparent;
|
|
38
48
|
}
|
|
39
|
-
|
|
49
|
+
|
|
50
|
+
[dir=ltr] .keyboardActive, [dir=ltr] .active {
|
|
40
51
|
border-top-left-radius: var(--zd_size5);
|
|
41
52
|
border-bottom-left-radius: var(--zd_size5);
|
|
42
53
|
}
|
|
43
|
-
|
|
54
|
+
|
|
55
|
+
[dir=rtl] .keyboardActive, [dir=rtl] .active {
|
|
44
56
|
border-top-right-radius: var(--zd_size5);
|
|
45
57
|
border-bottom-right-radius: var(--zd_size5);
|
|
46
58
|
}
|
|
47
|
-
|
|
59
|
+
|
|
60
|
+
[dir=ltr] .keyboardActive {
|
|
48
61
|
border-left-color: var(--zdt_listLayout_keyboard_active_border);
|
|
49
62
|
}
|
|
50
|
-
|
|
63
|
+
|
|
64
|
+
[dir=rtl] .keyboardActive {
|
|
51
65
|
border-right-color: var(--zdt_listLayout_keyboard_active_border);
|
|
52
66
|
}
|
|
53
|
-
|
|
67
|
+
|
|
68
|
+
[dir=ltr] .active {
|
|
54
69
|
border-left-color: var(--zdt_listLayout_active_border);
|
|
55
70
|
}
|
|
56
|
-
|
|
71
|
+
|
|
72
|
+
[dir=rtl] .active {
|
|
57
73
|
border-right-color: var(--zdt_listLayout_active_border);
|
|
58
74
|
}
|