@zohodesk/dot 1.0.0-beta.23 → 1.0.0-beta.232
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 +1030 -10
- package/assets/Appearance/dark/mode/dotDarkMode.module.css +533 -0
- package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +16 -0
- package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +16 -0
- package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +16 -0
- package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +16 -0
- package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +16 -0
- package/assets/Appearance/default/mode/dotDefaultMode.module.css +533 -0
- package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +16 -0
- package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +16 -0
- package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +16 -0
- package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +16 -0
- package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +16 -0
- package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +533 -0
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +16 -0
- package/assets/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +16 -0
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +16 -0
- package/assets/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +16 -0
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +16 -0
- package/dubFinder.js +7 -4
- package/es/ActionButton/ActionButton.js +173 -0
- package/es/ActionButton/ActionButton.module.css +136 -0
- package/es/ActionButton/docs/ActionButton__default.docs.js +144 -0
- package/es/AlphabeticList/AlphabeticList.js +138 -0
- package/es/AlphabeticList/AlphabeticList.module.css +57 -0
- package/es/AlphabeticList/docs/AlphabeticList__default.docs.js +34 -0
- package/es/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +43 -0
- package/es/Attachment/Attachment.js +104 -0
- package/es/Attachment/Attachment.module.css +132 -0
- package/es/Attachment/docs/Attachment__default.docs.js +54 -0
- package/es/AttachmentViewer/Attachment.js +17 -0
- package/es/AttachmentViewer/AttachmentImage.js +89 -0
- package/es/AttachmentViewer/AttachmentViewer.js +563 -0
- package/es/AttachmentViewer/AttachmentViewer.module.css +354 -0
- package/es/AttachmentViewer/docs/AttachmentViewer__default.docs.js +70 -0
- package/es/AttachmentViewer/utils.js +107 -0
- package/es/ChannelIcon/ChannelIcon.js +91 -83
- package/es/ChannelIcon/ChannelIcon.module.css +68 -59
- package/es/ChannelIcon/docs/ChannelIcon__default.docs.js +44 -84
- package/es/Drawer/Drawer.js +245 -278
- package/es/Drawer/Drawer.module.css +69 -137
- package/es/Drawer/docs/Drawer__default.docs.js +71 -57
- package/es/Drawer/docs/Drawer__multiDrawer.docs.js +112 -0
- package/es/Drawer/docs/Drawer__noFreeze.docs.js +10 -33
- package/es/Drawer/docs/Drawer__withModal.docs.js +74 -0
- package/es/ExternalLink/ExternalLink.js +39 -58
- package/es/ExternalLink/ExternalLink.module.css +3 -3
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +17 -26
- package/es/ExternalLink/docs/ExternalLink__default.docs.js +8 -29
- package/es/FlipCard/FlipCard.js +134 -130
- package/es/FlipCard/FlipCard.module.css +15 -6
- package/es/FlipCard/docs/FlipCard__default.docs.js +54 -93
- package/es/FormAction/FormAction.js +61 -106
- package/es/FormAction/FormAction.module.css +9 -4
- package/es/FormAction/docs/FormAction__default.docs.js +61 -188
- package/es/FreezeLayer/FreezeLayer.js +118 -104
- package/es/FreezeLayer/FreezeLayer.module.css +7 -6
- package/es/FreezeLayer/docs/FreezeLayer__dark.docs.js +38 -64
- package/es/FreezeLayer/docs/FreezeLayer__default.docs.js +35 -63
- package/es/IconButton/IconButton.js +188 -0
- package/es/IconButton/IconButton.module.css +22 -0
- package/es/IconButton/docs/IconButton__default.docs.js +219 -0
- package/es/Image/Image.js +30 -43
- package/es/Image/docs/Image__default.docs.js +11 -29
- package/es/ImportantNotes/ImportantNotes.js +62 -0
- package/es/ImportantNotes/ImportantNotes.module.css +20 -0
- package/es/ImportantNotes/docs/ImportantNotes__default.docs.js +22 -0
- package/es/Link/Link.js +82 -98
- package/es/Link/LinkContext.js +2 -4
- package/es/Link/docs/Link__default.docs.js +26 -54
- package/es/Loader/Loader.js +27 -0
- package/es/Loader/Loader.module.css +46 -0
- package/es/Loader/docs/Loader__default.docs.js +23 -0
- package/es/Message/Message.js +124 -0
- package/es/Message/Message.module.css +103 -0
- package/es/Message/docs/Message__default.docs.js +55 -0
- package/es/MessageBanner/MessageBanner.js +75 -0
- package/es/MessageBanner/MessageBanner.module.css +46 -0
- package/es/MessageBanner/docs/MessageBanner__default.docs.js +88 -0
- package/es/NewStar/NewStar.js +75 -0
- package/es/NewStar/NewStar.module.css +110 -0
- package/es/NewStar/docs/NewStar__default.docs.js +62 -0
- package/es/PlusIcon/PlusIcon.js +31 -56
- package/es/PlusIcon/PlusIcon.module.css +11 -2
- package/es/PlusIcon/docs/PlusIcon__default.docs.js +4 -28
- package/es/Provider/Config.js +12 -0
- package/es/Provider.js +160 -0
- package/es/ToastMessage/ToastMessage.js +200 -284
- package/es/ToastMessage/ToastMessage.module.css +57 -62
- package/es/ToastMessage/docs/ToastMessage__custom.docs.js +73 -113
- package/es/ToastMessage/docs/ToastMessage__information.docs.js +42 -68
- package/es/ToastMessage/docs/ToastMessage__primary.docs.js +112 -159
- package/es/ToastMessage/docs/ToastMessage__secondary.docs.js +25 -52
- package/es/ToastMessage/docs/ToastMessage__success.docs.js +49 -82
- package/es/Upload/Upload.js +92 -0
- package/es/Upload/Upload.module.css +125 -0
- package/es/Upload/docs/Upload__default.docs.js +61 -0
- package/es/actions/AutoClose.js +54 -0
- package/es/actions/index.js +15 -10
- package/es/alert/AlertHeader/AlertHeader.js +68 -107
- package/es/alert/AlertHeader/AlertHeader.module.css +14 -13
- package/es/alert/AlertHeader/docs/AlertHeader__default.docs.js +51 -79
- package/es/alert/AlertLookup/AlertLookup.js +142 -143
- package/es/alert/AlertLookup/AlertLookup.module.css +7 -3
- package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +114 -152
- package/es/avatar/AvatarClose/AvatarClose.js +44 -47
- package/es/avatar/AvatarClose/AvatarClose.module.css +4 -4
- package/es/avatar/AvatarClose/docs/AvatarClose__default.docs.js +14 -32
- package/es/avatar/AvatarCollision/AvatarCollision.js +52 -62
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +9 -9
- package/es/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +23 -46
- package/es/avatar/AvatarIcon/AvatarIcon.js +55 -60
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +32 -10
- package/es/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +26 -40
- package/es/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +32 -35
- package/es/avatar/AvatarStatus/AvatarStatus.js +71 -54
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +87 -34
- package/es/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +21 -38
- package/es/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +36 -60
- package/es/avatar/AvatarThread/AvatarThread.js +81 -77
- package/es/avatar/AvatarThread/AvatarThread.module.css +115 -17
- package/es/avatar/AvatarThread/docs/AvatarThread__default.docs.js +134 -56
- package/es/avatar/AvatarUser/AvatarUser.js +114 -85
- package/es/avatar/AvatarUser/AvatarUser.module.css +95 -25
- package/es/avatar/AvatarUser/docs/AvatarUser__default.docs.js +159 -132
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +96 -56
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +5 -5
- package/es/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +43 -44
- package/es/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +11 -32
- package/es/common/dot_animation.module.css +27 -0
- package/es/common/dot_common.module.css +4 -0
- package/es/deprecated/SelectDropdown/SelectDropdown.js +153 -0
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -0
- package/es/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +34 -0
- package/es/deprecated/utils/General.js +19 -0
- package/es/{utils → deprecated/utils}/KeyboardApi.js +82 -42
- package/es/docs/formDocs.js +30 -0
- package/es/docs/generalDocs.js +54 -35
- package/es/docs/lookupDocs.js +17 -6
- package/es/docs/setupDocs.js +0 -5
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +829 -480
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +40 -13
- package/es/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +217 -67
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +71 -106
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +66 -15
- package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +97 -71
- package/es/emptystate/EditionPage/EditionPage.css +5 -5
- package/es/emptystate/EditionPage/EditionPage.js +45 -80
- package/es/emptystate/EditionPage/docs/EditionPage__default.docs.js +11 -32
- package/es/errorstate/EmptyStates.module.css +56 -13
- package/es/errorstate/Inconvenience/Inconvenience.js +74 -64
- package/es/errorstate/Inconvenience/Inconvenience.module.css +0 -2
- package/es/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +8 -28
- package/es/errorstate/LinkText/LinkText.js +24 -39
- package/es/errorstate/LinkText/LinkText.module.css +2 -2
- package/es/errorstate/LinkText/docs/LinkText__default.docs.js +6 -24
- package/es/errorstate/NoRequestFound/NoRequestFound.js +74 -64
- package/es/errorstate/NoRequestFound/NoRequestFound.module.css +0 -2
- package/es/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +9 -29
- package/es/errorstate/PermissionPlay/PermissionPlay.js +73 -72
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +10 -9
- package/es/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +9 -29
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +74 -64
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -2
- package/es/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +8 -28
- package/es/errorstate/UnableToProcess/UnableToProcess.js +74 -64
- package/es/errorstate/UnableToProcess/UnableToProcess.module.css +0 -15
- package/es/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +8 -28
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +74 -64
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -15
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +9 -29
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +8 -28
- package/es/errorstate/WillBack/WillBack.js +67 -64
- package/es/errorstate/WillBack/WillBack.module.css +23 -10
- package/es/errorstate/WillBack/docs/WillBack__default.docs.js +10 -30
- package/es/form/fields/CheckBoxField/CheckBoxField.js +177 -0
- package/es/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +37 -0
- package/es/form/fields/CurrencyField/CurrencyField.js +233 -0
- package/es/form/fields/CurrencyField/docs/CurrencyField__default.docs.js +36 -0
- package/es/form/fields/DateField/DateField.js +244 -0
- package/es/form/fields/DateField/docs/DateField__default.docs.js +32 -0
- package/es/form/fields/FieldContainer/FieldContainer.js +82 -0
- package/es/form/fields/FieldContainer/docs/FieldContainer__default.docs.js +49 -0
- package/es/form/fields/Fields.module.css +183 -0
- package/es/form/fields/MultiSelectField/MultiSelectField.js +275 -0
- package/es/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +55 -0
- package/es/form/fields/PhoneField/PhoneField.js +240 -0
- package/es/form/fields/PhoneField/docs/PhoneField__default.docs.js +26 -0
- package/es/form/fields/RadioField/RadioField.js +153 -0
- package/es/form/fields/SelectField/SelectField.js +242 -0
- package/es/form/fields/SelectField/docs/SelectField__default.docs.js +65 -0
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +340 -0
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -0
- package/es/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +77 -0
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +324 -0
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -0
- package/es/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +82 -0
- package/es/form/fields/TextBoxField/TextBoxField.js +209 -0
- package/es/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +72 -0
- package/es/form/fields/TextEditor/TextEditor.js +461 -0
- package/es/form/fields/TextEditor/TextEditor.module.css +666 -0
- package/es/form/fields/TextEditorField/TextEditorField.js +237 -0
- package/es/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +50 -0
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +244 -0
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -0
- package/es/form/fields/TextareaField/TextareaField.js +203 -0
- package/es/form/fields/TextareaField/docs/TextareaField__default.docs.js +33 -0
- package/es/form/fields/ValidationMessage/ValidationMessage.js +73 -0
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -0
- package/es/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +58 -0
- package/es/form/fields/props/FieldCommonDefaultProps.js +10 -0
- package/es/form/fields/props/FieldCommonPropTypes.js +22 -0
- package/es/form/layout/Field/Field.js +44 -0
- package/es/form/layout/Field/Field.module.css +22 -0
- package/es/form/layout/Field/docs/Field__default.docs.js +25 -0
- package/es/form/layout/Section/ModuleFormSection.module.css +3 -0
- package/es/form/layout/Section/Section.js +44 -0
- package/es/form/layout/Section/docs/Section__default.docs.js +21 -0
- package/es/i18n.js +4349 -0
- package/es/index.js +3 -9
- package/es/layout/SetupDetailLayout/SetupDetailLayout.js +184 -269
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +20 -20
- package/es/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +17 -67
- package/es/layout/SubtabLayout/SubtabLayout.js +152 -178
- package/es/layout/SubtabLayout/SubtabLayout.module.css +72 -16
- package/es/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +57 -181
- package/es/layout/SubtabLayout/index.js +2 -1
- package/es/list/AvatarFlip/AvatarFlip.js +68 -72
- package/es/list/AvatarFlip/AvatarFlip.module.css +1 -13
- package/es/list/AvatarFlip/docs/AvatarFlip__default.docs.js +88 -296
- package/es/list/BluePrintStatus/BluePrintStatus.js +18 -36
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +8 -6
- package/es/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +7 -24
- package/es/list/Comment/Comment.js +31 -60
- package/es/list/Comment/Comment.module.css +12 -5
- package/es/list/Comment/docs/Comment__default.docs.js +13 -27
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +98 -71
- package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +6 -80
- package/es/list/Dot/Dot.js +16 -36
- package/es/list/Dot/Dot.module.css +7 -5
- package/es/list/DotNew/DotNew.js +22 -27
- package/es/list/DotNew/DotNew.module.css +14 -11
- package/es/list/DotNew/docs/DotNew__default.docs.js +7 -23
- package/es/list/GridStencils/GridStencils.js +23 -47
- package/es/list/GridStencils/GridStencils.module.css +23 -68
- package/es/list/GridStencils/docs/GridStencils__default.docs.js +21 -36
- package/es/list/Icons/AddNewIcon.js +22 -59
- package/es/list/Icons/CompleteIcon.js +26 -50
- package/es/list/Icons/DeleteIcon.js +23 -67
- package/es/list/Icons/EditIcon.js +24 -67
- package/es/list/Icons/FloatingIcons.js +18 -40
- package/es/list/Icons/Icons.module.css +6 -5
- package/es/list/Icons/ReadUnreadIcon.js +42 -0
- package/es/list/Icons/SmartIcon.js +23 -36
- package/es/list/Icons/docs/FloatingIcons__default.docs.js +12 -44
- package/es/list/ListLayout/ListLayout.js +83 -106
- package/es/list/ListLayout/ListLayout.module.css +38 -7
- package/es/list/ListLayout/docs/ListLayout__default.docs.js +46 -117
- package/es/list/ListStencils/ListStencils.js +37 -48
- package/es/list/ListStencils/ListStencils.module.css +48 -8
- package/es/list/ListStencils/docs/ListStencils__default.docs.js +7 -23
- package/es/list/SecondaryText/AccountName.js +79 -72
- package/es/list/SecondaryText/ContactName.js +85 -96
- package/es/list/SecondaryText/DepartmentText.js +19 -36
- package/es/list/SecondaryText/Email.js +46 -62
- package/es/list/SecondaryText/HappinessRating.js +18 -44
- package/es/list/SecondaryText/PhoneNumber.js +52 -64
- package/es/list/SecondaryText/PriorityText.js +19 -39
- package/es/list/SecondaryText/SecondaryText.js +33 -42
- package/es/list/SecondaryText/SecondaryText.module.css +53 -21
- package/es/list/SecondaryText/StatusText.js +25 -42
- package/es/list/SecondaryText/TicketId.js +50 -43
- package/es/list/SecondaryText/Website.js +25 -58
- package/es/list/SecondaryText/docs/SecondaryText__default.docs.js +114 -0
- package/es/list/SecondryPanel/SecondryPanel.js +92 -148
- package/es/list/SecondryPanel/SecondryPanel.module.css +1 -22
- package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +7 -11
- package/es/list/SecondryPanel/docs/SecondryPanel__default.docs.js +66 -116
- package/es/list/SentimentStatus/SentimentStatus.js +23 -37
- package/es/list/SentimentStatus/SentimentStatus.module.css +1 -1
- package/es/list/SentimentStatus/docs/SentimentStatus__default.docs.js +7 -24
- package/es/list/Subject/Subject.js +56 -65
- package/es/list/Subject/Subject.module.css +21 -3
- package/es/list/Subject/docs/Subject__default.docs.js +31 -36
- package/es/list/TagNew/TagNew.js +22 -38
- package/es/list/TagNew/TagNew.module.css +5 -5
- package/es/list/TagNew/docs/TagNew__default.docs.js +10 -23
- package/es/list/Thread/Thread.js +31 -44
- package/es/list/Thread/Thread.module.css +30 -7
- package/es/list/Thread/docs/Thread__default.docs.js +9 -23
- package/es/list/UserTime/UserTime.js +69 -86
- package/es/list/UserTime/UserTime.module.css +23 -14
- package/es/list/UserTime/docs/UserTime__default.docs.js +137 -152
- package/es/list/listCommon.module.css +19 -51
- package/es/list/status/StatusDropdown/StatusDropdown.js +518 -0
- package/{src/dropdown/ToggleDropDown/ToggleDropDown.module.css → es/list/status/StatusDropdown/StatusDropdown.module.css} +34 -7
- package/es/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +129 -0
- package/es/list/status/StatusListItem/StatusListItem.js +161 -0
- package/es/list/status/StatusListItem/StatusListItem.module.css +104 -0
- package/es/list/status/StatusListItem/docs/StatusListItem__default.docs.js +27 -0
- package/es/lookup/EmptyPage/EmptyPage.js +47 -65
- package/es/lookup/EmptyPage/LookupEmptyPage.module.css +1 -1
- package/es/lookup/EmptyPage/docs/EmptyPage__account.docs.js +8 -26
- package/es/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +8 -26
- package/es/lookup/EmptyPage/docs/EmptyPage__default.docs.js +5 -25
- package/es/lookup/EmptyPage/docs/EmptyPage__product.docs.js +8 -26
- package/es/lookup/Lookup/Lookup.js +80 -68
- package/es/lookup/Lookup/Lookup.module.css +12 -8
- package/es/lookup/Lookup/docs/Lookup__contact.docs.js +102 -118
- package/es/lookup/Lookup/docs/Lookup__default.docs.js +50 -72
- package/es/lookup/Section/LookupSection.module.css +3 -2
- package/es/lookup/Section/Section.js +16 -39
- package/es/lookup/header/Close/Close.js +16 -38
- package/es/lookup/header/Close/LookupClose.module.css +5 -5
- package/es/lookup/header/Close/docs/Close__default.docs.js +7 -23
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +66 -78
- package/es/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +35 -42
- package/es/lookup/header/Search/LookupSearch.module.css +52 -9
- package/es/lookup/header/Search/Search.js +226 -104
- package/es/lookup/header/Search/docs/Search__default.docs.js +108 -46
- package/es/lookup/header/TicketHeader/TicketHeader.js +85 -100
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +3 -2
- package/es/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +65 -56
- package/es/lookup/header/Title/LookupTitle.module.css +4 -4
- package/es/lookup/header/Title/Title.js +15 -41
- package/es/lookup/header/Title/docs/Title__default.docs.js +9 -23
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +146 -154
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +9 -11
- package/es/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +59 -48
- package/es/lookup/header/lookupHeaderCommon.module.css +13 -5
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +1 -1
- package/es/setup/header/Button/Button.js +22 -40
- package/es/setup/header/Button/docs/Button__default.docs.js +9 -24
- package/es/setup/header/Link/HeaderLink.module.css +4 -5
- package/es/setup/header/Link/Link.js +28 -49
- package/es/setup/header/Link/docs/Link__default.docs.js +10 -23
- package/es/setup/header/Search/Search.js +64 -73
- package/es/setup/header/Search/Search.module.css +13 -12
- package/es/setup/header/Search/docs/Search__default.docs.js +28 -41
- package/es/setup/header/Views/Views.js +32 -53
- package/es/setup/header/Views/Views.module.css +4 -4
- package/es/setup/header/Views/docs/Views__default.docs.js +11 -27
- package/es/setup/helptips/Description/Description.js +13 -30
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
- package/es/setup/helptips/Description/docs/Description__default.docs.js +13 -29
- package/es/setup/helptips/Link/HelpTipsLink.module.css +2 -2
- package/es/setup/helptips/Link/Link.js +27 -41
- package/es/setup/helptips/Link/docs/Link__default.docs.js +14 -30
- package/es/setup/helptips/ListGroup/ListGroup.js +26 -49
- package/es/setup/helptips/ListGroup/ListGroup.module.css +2 -2
- package/es/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +17 -33
- package/es/setup/helptips/Title/HelpTipsTitle.module.css +2 -2
- package/es/setup/helptips/Title/Title.js +13 -30
- package/es/setup/helptips/Title/docs/Title__default.docs.js +13 -27
- package/es/setup/table/Table/Table.js +16 -36
- package/es/setup/table/Table/docs/Table__default.docs.js +161 -173
- package/es/setup/table/TableBody/TableBody.js +21 -37
- package/es/setup/table/TableData/{TableData.css → SetupTableData.module.css} +0 -0
- package/es/setup/table/TableData/TableData.js +27 -46
- package/es/setup/table/TableData/{hover.css → Tablehover.module.css} +0 -0
- package/es/setup/table/TableHead/{TableHead.css → SetupTableHead.module.css} +1 -1
- package/es/setup/table/TableHead/TableHead.js +24 -49
- package/es/setup/table/TableRow/{TableRow.css → SetupTableRow.module.css} +2 -2
- package/es/setup/table/TableRow/TableRow.js +33 -55
- package/{src/setup/table/Text/Text.css → es/setup/table/Text/TableText.module.css} +37 -37
- package/es/setup/table/Text/Text.js +46 -79
- package/es/setup/table/Text/docs/Text__default.docs.js +24 -58
- package/es/svg/PlusIcon.js +21 -48
- package/es/svg/SnippetIcon.js +23 -51
- package/es/svg/TemplateIcon.js +25 -47
- package/es/svg/docs/SVG__default.docs.js +36 -74
- package/es/utils/ChannelIconMapping.js +101 -84
- package/es/utils/Common.js +24 -0
- package/es/utils/General.js +31 -5
- package/es/utils/editorUtils.js +193 -0
- package/es/version2/AlertClose/AlertClose.js +47 -0
- package/es/version2/AlertClose/AlertClose.module.css +43 -0
- package/es/version2/AlertClose/docs/AlertClose__default.docs.js +47 -0
- package/es/version2/GlobalNotification/GlobalNotification.js +151 -0
- package/es/version2/GlobalNotification/GlobalNotification.module.css +125 -0
- package/es/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +95 -0
- package/es/version2/alertIcons/AlarmAlertIcon.js +72 -0
- package/es/version2/alertIcons/AlertIcons.js +65 -0
- package/es/version2/alertIcons/AlertIcons.module.css +67 -0
- package/es/version2/alertIcons/DangerAlertIcon.js +73 -0
- package/es/version2/alertIcons/ErrorAlertIcon.js +77 -0
- package/es/version2/alertIcons/InfoAlertIcon.js +81 -0
- package/es/version2/alertIcons/NotificationAlertIcon.js +77 -0
- package/es/version2/alertIcons/SuccessAlertIcon.js +72 -0
- package/es/version2/alertIcons/WarningAlertIcon.js +72 -0
- package/es/version2/alertIcons/docs/AlertIcons__default.docs.js +138 -0
- package/es/version2/errorstate/Inconvenience/Inconvenience.js +93 -0
- package/{src → es/version2}/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +8 -9
- package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +94 -0
- package/es/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +20 -0
- package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +93 -0
- package/es/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +30 -0
- package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +97 -0
- package/es/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +18 -0
- package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +93 -0
- package/es/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +20 -0
- package/es/version2/errorstate/V2_ErrorStates.module.css +46 -0
- package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +93 -0
- package/es/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +18 -0
- package/es/version2/lookup/AlertHeader/AlertHeader.js +78 -0
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +87 -0
- package/es/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +56 -0
- package/es/version2/lookup/AlertLookup/AlertLookup.js +254 -0
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +44 -0
- package/es/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +157 -0
- package/es/version2/lookup/alertLookupCommonNew.module.css +33 -0
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +209 -0
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -0
- package/es/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +92 -0
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +75 -0
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +137 -0
- package/es/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +57 -0
- package/images/audio_thumbnail.png +0 -0
- package/lib/ActionButton/ActionButton.js +230 -0
- package/lib/ActionButton/ActionButton.module.css +136 -0
- package/lib/ActionButton/docs/ActionButton__default.docs.js +197 -0
- package/lib/AlphabeticList/AlphabeticList.js +213 -0
- package/lib/AlphabeticList/AlphabeticList.module.css +57 -0
- package/lib/AlphabeticList/docs/AlphabeticList__default.docs.js +82 -0
- package/lib/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +91 -0
- package/lib/Attachment/Attachment.js +155 -0
- package/lib/Attachment/Attachment.module.css +132 -0
- package/lib/Attachment/docs/Attachment__default.docs.js +104 -0
- package/lib/AttachmentViewer/Attachment.js +28 -0
- package/lib/AttachmentViewer/AttachmentImage.js +133 -0
- package/lib/AttachmentViewer/AttachmentViewer.js +646 -0
- package/lib/AttachmentViewer/AttachmentViewer.module.css +354 -0
- package/lib/AttachmentViewer/docs/AttachmentViewer__default.docs.js +123 -0
- package/lib/AttachmentViewer/utils.js +134 -0
- package/lib/ChannelIcon/ChannelIcon.js +124 -92
- package/lib/ChannelIcon/ChannelIcon.module.css +68 -59
- package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +60 -62
- package/lib/Drawer/Drawer.js +300 -264
- package/lib/Drawer/Drawer.module.css +69 -137
- package/lib/Drawer/docs/Drawer__default.docs.js +97 -49
- package/lib/Drawer/docs/Drawer__multiDrawer.docs.js +171 -0
- package/lib/Drawer/docs/Drawer__noFreeze.docs.js +32 -26
- package/lib/Drawer/docs/Drawer__withModal.docs.js +131 -0
- package/lib/ExternalLink/ExternalLink.js +65 -57
- package/lib/ExternalLink/ExternalLink.module.css +3 -3
- package/lib/ExternalLink/__tests__/ExternalLink.spec.js +16 -27
- package/lib/ExternalLink/docs/ExternalLink__default.docs.js +33 -21
- package/lib/FlipCard/FlipCard.js +172 -145
- package/lib/FlipCard/FlipCard.module.css +15 -6
- package/lib/FlipCard/docs/FlipCard__default.docs.js +81 -84
- package/lib/FormAction/FormAction.js +84 -88
- package/lib/FormAction/FormAction.module.css +9 -4
- package/lib/FormAction/docs/FormAction__default.docs.js +89 -183
- package/lib/FreezeLayer/FreezeLayer.js +153 -107
- package/lib/FreezeLayer/FreezeLayer.module.css +7 -6
- package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +61 -54
- package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +58 -53
- package/lib/IconButton/IconButton.js +236 -0
- package/lib/IconButton/IconButton.module.css +22 -0
- package/lib/IconButton/docs/IconButton__default.docs.js +272 -0
- package/lib/Image/Image.js +58 -41
- package/lib/Image/docs/Image__default.docs.js +39 -22
- package/lib/ImportantNotes/ImportantNotes.js +109 -0
- package/lib/ImportantNotes/ImportantNotes.module.css +20 -0
- package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +68 -0
- package/lib/Link/Link.js +91 -78
- package/lib/Link/LinkContext.js +8 -7
- package/lib/Link/docs/Link__default.docs.js +50 -40
- package/lib/Loader/Loader.js +76 -0
- package/lib/Loader/Loader.module.css +46 -0
- package/lib/Loader/docs/Loader__default.docs.js +68 -0
- package/lib/Message/Message.js +173 -0
- package/lib/Message/Message.module.css +103 -0
- package/lib/Message/docs/Message__default.docs.js +100 -0
- package/lib/MessageBanner/MessageBanner.js +127 -0
- package/lib/MessageBanner/MessageBanner.module.css +46 -0
- package/lib/MessageBanner/docs/MessageBanner__default.docs.js +132 -0
- package/lib/NewStar/NewStar.js +126 -0
- package/lib/NewStar/NewStar.module.css +110 -0
- package/lib/NewStar/docs/NewStar__default.docs.js +111 -0
- package/lib/PlusIcon/PlusIcon.js +59 -60
- package/lib/PlusIcon/PlusIcon.module.css +11 -2
- package/lib/PlusIcon/docs/PlusIcon__default.docs.js +32 -21
- package/lib/Provider/Config.js +21 -0
- package/lib/Provider.js +269 -0
- package/lib/ToastMessage/ToastMessage.js +250 -317
- package/lib/ToastMessage/ToastMessage.module.css +57 -62
- package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +96 -102
- package/lib/ToastMessage/docs/ToastMessage__information.docs.js +70 -61
- package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +137 -153
- package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +53 -45
- package/lib/ToastMessage/docs/ToastMessage__success.docs.js +77 -75
- package/lib/Upload/Upload.js +143 -0
- package/lib/Upload/Upload.module.css +125 -0
- package/lib/Upload/docs/Upload__default.docs.js +110 -0
- package/lib/actions/AutoClose.js +85 -0
- package/lib/actions/index.js +13 -3
- package/lib/alert/AlertHeader/AlertHeader.js +93 -104
- package/lib/alert/AlertHeader/AlertHeader.module.css +14 -13
- package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +76 -71
- package/lib/alert/AlertLookup/AlertLookup.js +163 -147
- package/lib/alert/AlertLookup/AlertLookup.module.css +7 -3
- package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +135 -137
- package/lib/avatar/AvatarClose/AvatarClose.js +70 -51
- package/lib/avatar/AvatarClose/AvatarClose.module.css +4 -4
- package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +36 -27
- package/lib/avatar/AvatarCollision/AvatarCollision.js +80 -69
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +9 -9
- package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +45 -41
- package/lib/avatar/AvatarIcon/AvatarIcon.js +88 -66
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +32 -10
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +56 -37
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +60 -32
- package/lib/avatar/AvatarStatus/AvatarStatus.js +98 -57
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +87 -34
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +50 -34
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +42 -35
- package/lib/avatar/AvatarThread/AvatarThread.js +115 -86
- package/lib/avatar/AvatarThread/AvatarThread.module.css +115 -17
- package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +159 -52
- package/lib/avatar/AvatarUser/AvatarUser.js +149 -98
- package/lib/avatar/AvatarUser/AvatarUser.module.css +95 -25
- package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +185 -129
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +131 -61
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +5 -5
- package/lib/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +45 -48
- package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +37 -27
- package/lib/common/dot_animation.module.css +27 -0
- package/lib/common/dot_common.module.css +4 -0
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +208 -0
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -0
- package/lib/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +80 -0
- package/lib/deprecated/utils/General.js +29 -0
- package/lib/{utils → deprecated/utils}/KeyboardApi.js +51 -14
- package/lib/docs/formDocs.js +247 -0
- package/lib/docs/generalDocs.js +674 -482
- package/lib/docs/lookupDocs.js +198 -107
- package/lib/docs/setupDocs.js +86 -126
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +849 -493
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +40 -13
- package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +241 -56
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +98 -105
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +66 -15
- package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +131 -70
- package/lib/emptystate/EditionPage/EditionPage.css +5 -5
- package/lib/emptystate/EditionPage/EditionPage.js +69 -74
- package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +38 -22
- package/lib/errorstate/EmptyStates.module.css +56 -13
- package/lib/errorstate/Inconvenience/Inconvenience.js +104 -73
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +0 -2
- package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +32 -21
- package/lib/errorstate/LinkText/LinkText.js +50 -37
- package/lib/errorstate/LinkText/LinkText.module.css +2 -2
- package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +31 -18
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +104 -73
- package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +0 -2
- package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +33 -20
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +103 -81
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +10 -9
- package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +33 -22
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +104 -73
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -2
- package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +32 -21
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +104 -73
- package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +0 -15
- package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +32 -21
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +104 -73
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -15
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +33 -22
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +32 -21
- package/lib/errorstate/WillBack/WillBack.js +92 -66
- package/lib/errorstate/WillBack/WillBack.module.css +23 -10
- package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +34 -23
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +236 -0
- package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +87 -0
- package/lib/form/fields/CurrencyField/CurrencyField.js +287 -0
- package/lib/form/fields/CurrencyField/docs/CurrencyField__default.docs.js +86 -0
- package/lib/form/fields/DateField/DateField.js +301 -0
- package/lib/form/fields/DateField/docs/DateField__default.docs.js +81 -0
- package/lib/form/fields/FieldContainer/FieldContainer.js +136 -0
- package/lib/form/fields/FieldContainer/docs/FieldContainer__default.docs.js +104 -0
- package/lib/form/fields/Fields.module.css +183 -0
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +333 -0
- package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +107 -0
- package/lib/form/fields/PhoneField/PhoneField.js +286 -0
- package/lib/form/fields/PhoneField/docs/PhoneField__default.docs.js +76 -0
- package/lib/form/fields/RadioField/RadioField.js +205 -0
- package/lib/form/fields/SelectField/SelectField.js +300 -0
- package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +117 -0
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +393 -0
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -0
- package/lib/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +126 -0
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +368 -0
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -0
- package/lib/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +96 -0
- package/lib/form/fields/TextBoxField/TextBoxField.js +267 -0
- package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +130 -0
- package/lib/form/fields/TextEditor/TextEditor.js +506 -0
- package/lib/form/fields/TextEditor/TextEditor.module.css +666 -0
- package/lib/form/fields/TextEditorField/TextEditorField.js +292 -0
- package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +101 -0
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +296 -0
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -0
- package/lib/form/fields/TextareaField/TextareaField.js +260 -0
- package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +83 -0
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +124 -0
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -0
- package/lib/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +103 -0
- package/lib/form/fields/props/FieldCommonDefaultProps.js +19 -0
- package/lib/form/fields/props/FieldCommonPropTypes.js +34 -0
- package/lib/form/layout/Field/Field.js +97 -0
- package/lib/form/layout/Field/Field.module.css +22 -0
- package/lib/form/layout/Field/docs/Field__default.docs.js +74 -0
- package/lib/form/layout/Section/ModuleFormSection.module.css +3 -0
- package/lib/form/layout/Section/Section.js +93 -0
- package/lib/form/layout/Section/docs/Section__default.docs.js +71 -0
- package/lib/i18n.js +3417 -0
- package/lib/index.js +48 -34
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +221 -245
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +20 -20
- package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +44 -63
- package/lib/layout/SetupDetailLayout/index.js +15 -12
- package/lib/layout/SubtabLayout/SubtabLayout.js +220 -174
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +72 -16
- package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +71 -158
- package/lib/layout/SubtabLayout/index.js +19 -10
- package/lib/list/AvatarFlip/AvatarFlip.js +95 -67
- package/lib/list/AvatarFlip/AvatarFlip.module.css +1 -13
- package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +111 -289
- package/lib/list/BluePrintStatus/BluePrintStatus.js +39 -34
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +8 -6
- package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +29 -18
- package/lib/list/Comment/Comment.js +59 -58
- package/lib/list/Comment/Comment.module.css +12 -5
- package/lib/list/Comment/docs/Comment__default.docs.js +38 -21
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +121 -61
- package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +6 -80
- package/lib/list/Dot/Dot.js +42 -32
- package/lib/list/Dot/Dot.module.css +7 -5
- package/lib/list/DotNew/DotNew.js +46 -21
- package/lib/list/DotNew/DotNew.module.css +14 -11
- package/lib/list/DotNew/docs/DotNew__default.docs.js +32 -17
- package/lib/list/GridStencils/GridStencils.js +51 -45
- package/lib/list/GridStencils/GridStencils.module.css +23 -68
- package/lib/list/GridStencils/docs/GridStencils__default.docs.js +46 -32
- package/lib/list/Icons/AddNewIcon.js +55 -65
- package/lib/list/Icons/CompleteIcon.js +79 -74
- package/lib/list/Icons/DeleteIcon.js +51 -69
- package/lib/list/Icons/EditIcon.js +58 -75
- package/lib/list/Icons/FloatingIcons.js +46 -31
- package/lib/list/Icons/Icons.module.css +6 -5
- package/lib/list/Icons/ReadUnreadIcon.js +92 -0
- package/lib/list/Icons/SmartIcon.js +82 -61
- package/lib/list/Icons/docs/FloatingIcons__default.docs.js +39 -39
- package/lib/list/ListLayout/ListLayout.js +116 -100
- package/lib/list/ListLayout/ListLayout.module.css +38 -7
- package/lib/list/ListLayout/docs/ListLayout__default.docs.js +70 -109
- package/lib/list/ListStencils/ListStencils.js +58 -42
- package/lib/list/ListStencils/ListStencils.module.css +48 -8
- package/lib/list/ListStencils/docs/ListStencils__default.docs.js +32 -17
- package/lib/list/SecondaryText/AccountName.js +110 -78
- package/lib/list/SecondaryText/ContactName.js +125 -107
- package/lib/list/SecondaryText/DepartmentText.js +46 -33
- package/lib/list/SecondaryText/Email.js +72 -65
- package/lib/list/SecondaryText/HappinessRating.js +44 -40
- package/lib/list/SecondaryText/PhoneNumber.js +79 -68
- package/lib/list/SecondaryText/PriorityText.js +48 -38
- package/lib/list/SecondaryText/SecondaryText.js +59 -40
- package/lib/list/SecondaryText/SecondaryText.module.css +53 -21
- package/lib/list/SecondaryText/StatusText.js +52 -39
- package/lib/list/SecondaryText/TicketId.js +79 -41
- package/lib/list/SecondaryText/Website.js +52 -62
- package/lib/list/SecondaryText/docs/SecondaryText__default.docs.js +162 -0
- package/lib/list/SecondaryText/index.js +46 -57
- package/lib/list/SecondryPanel/SecondryPanel.js +133 -119
- package/lib/list/SecondryPanel/SecondryPanel.module.css +1 -22
- package/lib/list/SecondryPanel/docs/SecondryPanelDocs.module.css +7 -11
- package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +93 -112
- package/lib/list/SentimentStatus/SentimentStatus.js +41 -31
- package/lib/list/SentimentStatus/SentimentStatus.module.css +1 -1
- package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +29 -18
- package/lib/list/Subject/Subject.js +87 -67
- package/lib/list/Subject/Subject.module.css +21 -3
- package/lib/list/Subject/docs/Subject__default.docs.js +56 -30
- package/lib/list/TagNew/TagNew.js +50 -36
- package/lib/list/TagNew/TagNew.module.css +5 -5
- package/lib/list/TagNew/docs/TagNew__default.docs.js +35 -17
- package/lib/list/Thread/Thread.js +59 -43
- package/lib/list/Thread/Thread.module.css +30 -7
- package/lib/list/Thread/docs/Thread__default.docs.js +34 -17
- package/lib/list/UserTime/UserTime.js +104 -92
- package/lib/list/UserTime/UserTime.module.css +23 -14
- package/lib/list/UserTime/docs/UserTime__default.docs.js +157 -153
- package/lib/list/listCommon.module.css +19 -51
- package/lib/list/status/StatusDropdown/StatusDropdown.js +566 -0
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -0
- package/lib/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +178 -0
- package/lib/list/status/StatusListItem/StatusListItem.js +206 -0
- package/lib/list/status/StatusListItem/StatusListItem.module.css +104 -0
- package/lib/list/status/StatusListItem/docs/StatusListItem__default.docs.js +77 -0
- package/lib/lookup/EmptyPage/EmptyPage.js +56 -51
- package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +1 -1
- package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +32 -17
- package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +32 -17
- package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +29 -16
- package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +32 -17
- package/lib/lookup/Lookup/Lookup.js +110 -77
- package/lib/lookup/Lookup/Lookup.module.css +12 -8
- package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +99 -86
- package/lib/lookup/Lookup/docs/Lookup__default.docs.js +63 -55
- package/lib/lookup/Section/LookupSection.module.css +3 -2
- package/lib/lookup/Section/Section.js +44 -37
- package/lib/lookup/header/Close/Close.js +39 -31
- package/lib/lookup/header/Close/LookupClose.module.css +5 -5
- package/lib/lookup/header/Close/docs/Close__default.docs.js +32 -17
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +100 -91
- package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +47 -23
- package/lib/lookup/header/Search/LookupSearch.module.css +52 -9
- package/lib/lookup/header/Search/Search.js +242 -88
- package/lib/lookup/header/Search/docs/Search__default.docs.js +130 -34
- package/lib/lookup/header/TicketHeader/TicketHeader.js +120 -123
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +3 -2
- package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +71 -29
- package/lib/lookup/header/Title/LookupTitle.module.css +4 -4
- package/lib/lookup/header/Title/Title.js +39 -35
- package/lib/lookup/header/Title/docs/Title__default.docs.js +34 -17
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +186 -192
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +9 -11
- package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +71 -33
- package/lib/lookup/header/lookupHeaderCommon.module.css +13 -5
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +1 -1
- package/lib/setup/header/Button/Button.js +47 -41
- package/lib/setup/header/Button/docs/Button__default.docs.js +31 -18
- package/lib/setup/header/Link/HeaderLink.module.css +4 -5
- package/lib/setup/header/Link/Link.js +55 -54
- package/lib/setup/header/Link/docs/Link__default.docs.js +32 -18
- package/lib/setup/header/Search/Search.js +77 -67
- package/lib/setup/header/Search/Search.module.css +13 -12
- package/lib/setup/header/Search/docs/Search__default.docs.js +52 -33
- package/lib/setup/header/Views/Views.js +59 -56
- package/lib/setup/header/Views/Views.module.css +4 -4
- package/lib/setup/header/Views/docs/Views__default.docs.js +33 -22
- package/lib/setup/helptips/Description/Description.js +33 -25
- package/lib/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
- package/lib/setup/helptips/Description/docs/Description__default.docs.js +35 -24
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +2 -2
- package/lib/setup/helptips/Link/Link.js +49 -39
- package/lib/setup/helptips/Link/docs/Link__default.docs.js +36 -25
- package/lib/setup/helptips/ListGroup/ListGroup.js +52 -45
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +2 -2
- package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +39 -28
- package/lib/setup/helptips/Title/HelpTipsTitle.module.css +2 -2
- package/lib/setup/helptips/Title/Title.js +33 -25
- package/lib/setup/helptips/Title/docs/Title__default.docs.js +35 -22
- package/lib/setup/table/Table/Table.js +42 -30
- package/lib/setup/table/Table/docs/Table__default.docs.js +183 -173
- package/lib/setup/table/TableBody/TableBody.js +49 -32
- package/lib/setup/table/TableData/{TableData.css → SetupTableData.module.css} +0 -0
- package/lib/setup/table/TableData/TableData.js +52 -45
- package/lib/setup/table/TableData/{hover.css → Tablehover.module.css} +0 -0
- package/lib/setup/table/TableHead/{TableHead.css → SetupTableHead.module.css} +1 -1
- package/lib/setup/table/TableHead/TableHead.js +49 -48
- package/lib/setup/table/TableRow/{TableRow.css → SetupTableRow.module.css} +2 -2
- package/lib/setup/table/TableRow/TableRow.js +58 -54
- package/lib/setup/table/Text/{Text.css → TableText.module.css} +37 -37
- package/lib/setup/table/Text/Text.js +67 -71
- package/lib/setup/table/Text/docs/Text__default.docs.js +49 -50
- package/lib/svg/PlusIcon.js +46 -43
- package/lib/svg/SnippetIcon.js +48 -46
- package/lib/svg/TemplateIcon.js +51 -43
- package/lib/svg/docs/SVG__default.docs.js +49 -58
- package/lib/utils/ChannelIconMapping.js +105 -85
- package/lib/utils/Common.js +33 -0
- package/lib/utils/General.js +36 -4
- package/lib/utils/editorUtils.js +223 -0
- package/lib/version2/AlertClose/AlertClose.js +101 -0
- package/lib/version2/AlertClose/AlertClose.module.css +43 -0
- package/lib/version2/AlertClose/docs/AlertClose__default.docs.js +97 -0
- package/lib/version2/GlobalNotification/GlobalNotification.js +202 -0
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +125 -0
- package/lib/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +143 -0
- package/lib/version2/alertIcons/AlarmAlertIcon.js +125 -0
- package/lib/version2/alertIcons/AlertIcons.js +127 -0
- package/lib/version2/alertIcons/AlertIcons.module.css +67 -0
- package/lib/version2/alertIcons/DangerAlertIcon.js +126 -0
- package/lib/version2/alertIcons/ErrorAlertIcon.js +130 -0
- package/lib/version2/alertIcons/InfoAlertIcon.js +134 -0
- package/lib/version2/alertIcons/NotificationAlertIcon.js +130 -0
- package/lib/version2/alertIcons/SuccessAlertIcon.js +125 -0
- package/lib/version2/alertIcons/WarningAlertIcon.js +125 -0
- package/lib/version2/alertIcons/docs/AlertIcons__default.docs.js +187 -0
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +146 -0
- package/lib/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +68 -0
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +147 -0
- package/lib/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +70 -0
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +146 -0
- package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +80 -0
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +150 -0
- package/lib/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +68 -0
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +146 -0
- package/lib/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +70 -0
- package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -0
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +146 -0
- package/lib/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +68 -0
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +134 -0
- package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +87 -0
- package/lib/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +105 -0
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +316 -0
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +44 -0
- package/lib/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +212 -0
- package/lib/version2/lookup/alertLookupCommonNew.module.css +33 -0
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +236 -0
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -0
- package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +142 -0
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +128 -0
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +137 -0
- package/lib/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +108 -0
- package/package.json +47 -14
- package/__testUtils__/globals.js +0 -0
- package/es/GridIcons/GridIcons.js +0 -87
- package/es/GridIcons/GridIcons.module.css +0 -11
- package/es/GridIcons/docs/GridIcons__default.docs.js +0 -34
- package/es/list/SecondaryText/docs/ContactName__default.docs.js +0 -36
- package/es/list/StatusDropdown/StatusDropdown.js +0 -205
- package/es/list/StatusDropdown/StatusDropdown.module.css +0 -65
- package/es/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -76
- package/es/list/TimeInfo/TimeInfo.js +0 -171
- package/es/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -49
- package/es/setup/header/SelectDropdown/SelectDropdown.js +0 -162
- package/es/setup/header/SelectDropdown/SelectDropdown.module.css +0 -43
- package/es/setup/header/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -44
- package/es/setup/table/Text/Text.css +0 -37
- package/es/utils/Ticket.js +0 -3
- package/lib/GridIcons/GridIcons.js +0 -109
- package/lib/GridIcons/GridIcons.module.css +0 -11
- package/lib/GridIcons/docs/GridIcons__default.docs.js +0 -50
- package/lib/list/SecondaryText/docs/ContactName__default.docs.js +0 -55
- package/lib/list/StatusDropdown/StatusDropdown.js +0 -243
- package/lib/list/StatusDropdown/StatusDropdown.module.css +0 -65
- package/lib/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -96
- package/lib/list/TimeInfo/TimeInfo.js +0 -191
- package/lib/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -69
- package/lib/setup/header/SelectDropdown/SelectDropdown.js +0 -200
- package/lib/setup/header/SelectDropdown/SelectDropdown.module.css +0 -43
- package/lib/setup/header/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -63
- package/lib/utils/Ticket.js +0 -8
- package/postpublish.js +0 -100
- package/src/ChannelIcon/ChannelIcon.js +0 -120
- package/src/ChannelIcon/ChannelIcon.module.css +0 -187
- package/src/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -63
- package/src/Drawer/Drawer.js +0 -273
- package/src/Drawer/Drawer.module.css +0 -151
- package/src/Drawer/docs/Drawer__default.docs.js +0 -45
- package/src/Drawer/docs/Drawer__noFreeze.docs.js +0 -21
- package/src/ExternalLink/ExternalLink.js +0 -57
- package/src/ExternalLink/ExternalLink.module.css +0 -4
- package/src/ExternalLink/__tests__/ExternalLink.spec.js +0 -28
- package/src/ExternalLink/docs/ExternalLink__default.docs.js +0 -24
- package/src/FlipCard/FlipCard.js +0 -159
- package/src/FlipCard/FlipCard.module.css +0 -35
- package/src/FlipCard/docs/FlipCard__default.docs.js +0 -76
- package/src/FormAction/FormAction.js +0 -120
- package/src/FormAction/FormAction.module.css +0 -52
- package/src/FormAction/docs/FormAction__default.docs.js +0 -94
- package/src/FreezeLayer/FreezeLayer.js +0 -130
- package/src/FreezeLayer/FreezeLayer.module.css +0 -37
- package/src/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -53
- package/src/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -51
- package/src/GridIcons/GridIcons.js +0 -66
- package/src/GridIcons/GridIcons.module.css +0 -11
- package/src/GridIcons/docs/GridIcons__default.docs.js +0 -13
- package/src/Image/Image.js +0 -41
- package/src/Image/Image.module.css +0 -11
- package/src/Image/docs/Image__default.docs.js +0 -18
- package/src/Link/Link.js +0 -115
- package/src/Link/Link.module.css +0 -4
- package/src/Link/LinkContext.js +0 -9
- package/src/Link/docs/Link__default.docs.js +0 -91
- package/src/PlusIcon/PlusIcon.js +0 -68
- package/src/PlusIcon/PlusIcon.module.css +0 -7
- package/src/PlusIcon/docs/PlusIcon__default.docs.js +0 -18
- package/src/ToastMessage/ToastMessage.js +0 -289
- package/src/ToastMessage/ToastMessage.module.css +0 -260
- package/src/ToastMessage/docs/ToastMessage__custom.docs.js +0 -97
- package/src/ToastMessage/docs/ToastMessage__information.docs.js +0 -55
- package/src/ToastMessage/docs/ToastMessage__primary.docs.js +0 -135
- package/src/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -40
- package/src/ToastMessage/docs/ToastMessage__success.docs.js +0 -68
- package/src/actions/index.js +0 -22
- package/src/alert/AlertHeader/AlertHeader.js +0 -115
- package/src/alert/AlertHeader/AlertHeader.module.css +0 -62
- package/src/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -72
- package/src/alert/AlertLookup/AlertLookup.js +0 -174
- package/src/alert/AlertLookup/AlertLookup.module.css +0 -20
- package/src/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -123
- package/src/avatar/AvatarClose/AvatarClose.js +0 -43
- package/src/avatar/AvatarClose/AvatarClose.module.css +0 -31
- package/src/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -26
- package/src/avatar/AvatarCollision/AvatarCollision.js +0 -72
- package/src/avatar/AvatarCollision/AvatarCollision.module.css +0 -55
- package/src/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -40
- package/src/avatar/AvatarIcon/AvatarIcon.js +0 -83
- package/src/avatar/AvatarIcon/AvatarIcon.module.css +0 -36
- package/src/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -35
- package/src/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -36
- package/src/avatar/AvatarStatus/AvatarStatus.js +0 -51
- package/src/avatar/AvatarStatus/AvatarStatus.module.css +0 -64
- package/src/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -34
- package/src/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -63
- package/src/avatar/AvatarThread/AvatarThread.js +0 -88
- package/src/avatar/AvatarThread/AvatarThread.module.css +0 -58
- package/src/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -45
- package/src/avatar/AvatarUser/AvatarUser.js +0 -100
- package/src/avatar/AvatarUser/AvatarUser.module.css +0 -61
- package/src/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -111
- package/src/avatar/AvatarWithTeam/AvatarWithTeam.js +0 -57
- package/src/avatar/AvatarWithTeam/AvatarWithTeam.module.css +0 -16
- package/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +0 -50
- package/src/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -28
- package/src/docs/generalDocs.js +0 -119
- package/src/docs/lookupDocs.js +0 -33
- package/src/docs/setupDocs.js +0 -27
- package/src/dropdown/ToggleDropDown/ToggleDropDown.js +0 -598
- package/src/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -75
- package/src/emptystate/CommonEmptyState/CommonEmptyState.js +0 -117
- package/src/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -31
- package/src/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -53
- package/src/emptystate/EditionPage/EditionPage.css +0 -37
- package/src/emptystate/EditionPage/EditionPage.js +0 -69
- package/src/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -23
- package/src/errorstate/EmptyStates.module.css +0 -40
- package/src/errorstate/Inconvenience/Inconvenience.js +0 -42
- package/src/errorstate/Inconvenience/Inconvenience.module.css +0 -6
- package/src/errorstate/LinkText/LinkText.js +0 -28
- package/src/errorstate/LinkText/LinkText.module.css +0 -6
- package/src/errorstate/LinkText/docs/LinkText__default.docs.js +0 -13
- package/src/errorstate/NoRequestFound/NoRequestFound.js +0 -42
- package/src/errorstate/NoRequestFound/NoRequestFound.module.css +0 -5
- package/src/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -19
- package/src/errorstate/PermissionPlay/PermissionPlay.js +0 -46
- package/src/errorstate/PermissionPlay/PermissionPlay.module.css +0 -33
- package/src/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -20
- package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -42
- package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -5
- package/src/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -19
- package/src/errorstate/UnableToProcess/UnableToProcess.js +0 -42
- package/src/errorstate/UnableToProcess/UnableToProcess.module.css +0 -14
- package/src/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -19
- package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -42
- package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -14
- package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -20
- package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -19
- package/src/errorstate/WillBack/WillBack.js +0 -40
- package/src/errorstate/WillBack/WillBack.module.css +0 -21
- package/src/errorstate/WillBack/docs/WillBack__default.docs.js +0 -21
- package/src/index.js +0 -14
- package/src/layout/SetupDetailLayout/SetupDetailLayout.js +0 -248
- package/src/layout/SetupDetailLayout/SetupDetailLayout.module.css +0 -116
- package/src/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -35
- package/src/layout/SetupDetailLayout/index.js +0 -4
- package/src/layout/SubtabLayout/SubtabLayout.js +0 -166
- package/src/layout/SubtabLayout/SubtabLayout.module.css +0 -66
- package/src/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -72
- package/src/layout/SubtabLayout/index.js +0 -3
- package/src/list/AvatarFlip/AvatarFlip.js +0 -89
- package/src/list/AvatarFlip/AvatarFlip.module.css +0 -15
- package/src/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -207
- package/src/list/BluePrintStatus/BluePrintStatus.js +0 -31
- package/src/list/BluePrintStatus/BluePrintStatus.module.css +0 -13
- package/src/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -20
- package/src/list/Comment/Comment.js +0 -54
- package/src/list/Comment/Comment.module.css +0 -17
- package/src/list/Comment/docs/Comment__default.docs.js +0 -22
- package/src/list/DepartmentDropDown/DepartmentDropDown.js +0 -78
- package/src/list/DepartmentDropDown/DepartmentDropDown.module.css +0 -62
- package/src/list/Dot/Dot.js +0 -28
- package/src/list/Dot/Dot.module.css +0 -13
- package/src/list/DotNew/DotNew.js +0 -24
- package/src/list/DotNew/DotNew.module.css +0 -16
- package/src/list/DotNew/docs/DotNew__default.docs.js +0 -18
- package/src/list/GridStencils/GridStencils.js +0 -46
- package/src/list/GridStencils/GridStencils.module.css +0 -131
- package/src/list/GridStencils/docs/GridStencils__default.docs.js +0 -30
- package/src/list/Icons/AddNewIcon.js +0 -53
- package/src/list/Icons/CompleteIcon.js +0 -54
- package/src/list/Icons/DeleteIcon.js +0 -61
- package/src/list/Icons/EditIcon.js +0 -61
- package/src/list/Icons/FloatingIcons.js +0 -32
- package/src/list/Icons/Icons.module.css +0 -15
- package/src/list/Icons/SmartIcon.js +0 -40
- package/src/list/Icons/docs/FloatingIcons__default.docs.js +0 -37
- package/src/list/ListLayout/ListLayout.js +0 -105
- package/src/list/ListLayout/ListLayout.module.css +0 -30
- package/src/list/ListLayout/docs/ListLayout__default.docs.js +0 -54
- package/src/list/ListStencils/ListStencils.js +0 -34
- package/src/list/ListStencils/ListStencils.module.css +0 -24
- package/src/list/ListStencils/docs/ListStencils__default.docs.js +0 -18
- package/src/list/SecondaryText/AccountName.js +0 -80
- package/src/list/SecondaryText/ContactName.js +0 -107
- package/src/list/SecondaryText/DepartmentText.js +0 -32
- package/src/list/SecondaryText/Email.js +0 -69
- package/src/list/SecondaryText/HappinessRating.js +0 -37
- package/src/list/SecondaryText/PhoneNumber.js +0 -72
- package/src/list/SecondaryText/PriorityText.js +0 -40
- package/src/list/SecondaryText/SecondaryText.js +0 -36
- package/src/list/SecondaryText/SecondaryText.module.css +0 -94
- package/src/list/SecondaryText/StatusText.js +0 -47
- package/src/list/SecondaryText/TicketId.js +0 -41
- package/src/list/SecondaryText/Website.js +0 -58
- package/src/list/SecondaryText/docs/ContactName__default.docs.js +0 -18
- package/src/list/SecondaryText/index.js +0 -11
- package/src/list/SecondryPanel/SecondryPanel.js +0 -120
- package/src/list/SecondryPanel/SecondryPanel.module.css +0 -27
- package/src/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -41
- package/src/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -66
- package/src/list/SentimentStatus/SentimentStatus.js +0 -32
- package/src/list/SentimentStatus/SentimentStatus.module.css +0 -9
- package/src/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -20
- package/src/list/StatusDropdown/StatusDropdown.js +0 -174
- package/src/list/StatusDropdown/StatusDropdown.module.css +0 -51
- package/src/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -72
- package/src/list/Subject/Subject.js +0 -71
- package/src/list/Subject/Subject.module.css +0 -9
- package/src/list/Subject/docs/Subject__default.docs.js +0 -27
- package/src/list/TagNew/TagNew.js +0 -37
- package/src/list/TagNew/TagNew.module.css +0 -108
- package/src/list/TagNew/docs/TagNew__default.docs.js +0 -18
- package/src/list/Thread/Thread.js +0 -36
- package/src/list/Thread/Thread.module.css +0 -15
- package/src/list/Thread/docs/Thread__default.docs.js +0 -18
- package/src/list/TimeInfo/TimeInfo.js +0 -156
- package/src/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -26
- package/src/list/UserTime/UserTime.js +0 -130
- package/src/list/UserTime/UserTime.module.css +0 -42
- package/src/list/UserTime/docs/UserTime__default.docs.js +0 -122
- package/src/list/listCommon.module.css +0 -84
- package/src/lookup/EmptyPage/EmptyPage.js +0 -62
- package/src/lookup/EmptyPage/LookupEmptyPage.module.css +0 -12
- package/src/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -17
- package/src/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -17
- package/src/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -16
- package/src/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -17
- package/src/lookup/Lookup/Lookup.js +0 -80
- package/src/lookup/Lookup/Lookup.module.css +0 -22
- package/src/lookup/Lookup/docs/Lookup__contact.docs.js +0 -189
- package/src/lookup/Lookup/docs/Lookup__default.docs.js +0 -59
- package/src/lookup/Section/LookupSection.module.css +0 -7
- package/src/lookup/Section/Section.js +0 -27
- package/src/lookup/header/Close/Close.js +0 -36
- package/src/lookup/header/Close/LookupClose.module.css +0 -15
- package/src/lookup/header/Close/docs/Close__default.docs.js +0 -17
- package/src/lookup/header/ModuleHeader/ModuleHeader.js +0 -76
- package/src/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -39
- package/src/lookup/header/Search/LookupSearch.module.css +0 -14
- package/src/lookup/header/Search/Search.js +0 -104
- package/src/lookup/header/Search/docs/Search__default.docs.js +0 -41
- package/src/lookup/header/TicketHeader/TicketHeader.js +0 -105
- package/src/lookup/header/TicketHeader/TicketHeader.module.css +0 -19
- package/src/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -63
- package/src/lookup/header/Title/LookupTitle.module.css +0 -20
- package/src/lookup/header/Title/Title.js +0 -37
- package/src/lookup/header/Title/docs/Title__default.docs.js +0 -17
- package/src/lookup/header/ViewDropDown/ViewDropDown.js +0 -185
- package/src/lookup/header/ViewDropDown/ViewDropDown.module.css +0 -50
- package/src/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -54
- package/src/lookup/header/lookupHeaderCommon.module.css +0 -21
- package/src/lookup/header/lookupHeaderCommonResponsive.module.css +0 -15
- package/src/setup/header/Button/Button.js +0 -40
- package/src/setup/header/Button/HeaderButton.module.css +0 -3
- package/src/setup/header/Button/docs/Button__default.docs.js +0 -21
- package/src/setup/header/Link/HeaderLink.module.css +0 -16
- package/src/setup/header/Link/Link.js +0 -48
- package/src/setup/header/Link/docs/Link__default.docs.js +0 -20
- package/src/setup/header/Search/Search.js +0 -74
- package/src/setup/header/Search/Search.module.css +0 -56
- package/src/setup/header/Search/docs/Search__default.docs.js +0 -32
- package/src/setup/header/SelectDropdown/SelectDropdown.js +0 -122
- package/src/setup/header/SelectDropdown/SelectDropdown.module.css +0 -35
- package/src/setup/header/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -31
- package/src/setup/header/Views/Views.js +0 -62
- package/src/setup/header/Views/Views.module.css +0 -27
- package/src/setup/header/Views/docs/Views__default.docs.js +0 -20
- package/src/setup/helptips/Description/Description.js +0 -22
- package/src/setup/helptips/Description/HelpTipsDescription.module.css +0 -6
- package/src/setup/helptips/Description/docs/Description__default.docs.js +0 -24
- package/src/setup/helptips/Link/HelpTipsLink.module.css +0 -6
- package/src/setup/helptips/Link/Link.js +0 -40
- package/src/setup/helptips/Link/docs/Link__default.docs.js +0 -27
- package/src/setup/helptips/ListGroup/ListGroup.js +0 -42
- package/src/setup/helptips/ListGroup/ListGroup.module.css +0 -17
- package/src/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -37
- package/src/setup/helptips/Title/HelpTipsTitle.module.css +0 -5
- package/src/setup/helptips/Title/Title.js +0 -22
- package/src/setup/helptips/Title/docs/Title__default.docs.js +0 -22
- package/src/setup/table/Table/Table.js +0 -25
- package/src/setup/table/Table/docs/Table__default.docs.js +0 -115
- package/src/setup/table/TableBody/TableBody.js +0 -27
- package/src/setup/table/TableData/TableData.css +0 -36
- package/src/setup/table/TableData/TableData.js +0 -45
- package/src/setup/table/TableData/hover.css +0 -6
- package/src/setup/table/TableHead/TableHead.css +0 -8
- package/src/setup/table/TableHead/TableHead.js +0 -53
- package/src/setup/table/TableRow/TableRow.css +0 -10
- package/src/setup/table/TableRow/TableRow.js +0 -60
- package/src/setup/table/Text/Text.js +0 -81
- package/src/setup/table/Text/docs/Text__default.docs.js +0 -38
- package/src/svg/PlusIcon.js +0 -43
- package/src/svg/SnippetIcon.js +0 -50
- package/src/svg/TemplateIcon.js +0 -46
- package/src/svg/docs/SVG__default.docs.js +0 -46
- package/src/utils/ChannelIconMapping.js +0 -112
- package/src/utils/General.js +0 -18
- package/src/utils/KeyboardApi.js +0 -280
- package/src/utils/Ticket.js +0 -10
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import Icon from '@zohodesk/icons/lib/Icon';
|
|
4
|
+
import { Container } from '@zohodesk/components/lib/Layout';
|
|
5
|
+
import btnStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css';
|
|
6
|
+
import RippleEffect from '@zohodesk/components/lib/RippleEffect/RippleEffect';
|
|
7
|
+
import style from './IconButton.module.css';
|
|
8
|
+
export default class IconButton extends React.Component {
|
|
9
|
+
constructor(props) {
|
|
10
|
+
super(props);
|
|
11
|
+
this.state = {
|
|
12
|
+
isPressed: false
|
|
13
|
+
};
|
|
14
|
+
this.handleToggle = this.handleToggle.bind(this);
|
|
15
|
+
this.triggerClick = this.triggerClick.bind(this);
|
|
16
|
+
this.triggerMouseDown = this.triggerMouseDown.bind(this);
|
|
17
|
+
this.triggerMouseOver = this.triggerMouseOver.bind(this);
|
|
18
|
+
this.onBlur = this.onBlur.bind(this);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
handleToggle(e) {
|
|
22
|
+
if (e.key === ' ' || e.key === 'Enter' || e.key === 'Spacebar') {
|
|
23
|
+
e.preventDefault();
|
|
24
|
+
this.triggerClick(e);
|
|
25
|
+
this.triggerMouseDown(e);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
triggerClick(e) {
|
|
30
|
+
let {
|
|
31
|
+
onClick,
|
|
32
|
+
isDisabled
|
|
33
|
+
} = this.props;
|
|
34
|
+
!isDisabled ? (onClick && onClick(e), this.setState({
|
|
35
|
+
isPressed: true
|
|
36
|
+
})) : null;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
triggerMouseOver(e) {
|
|
40
|
+
let {
|
|
41
|
+
onMouseOver,
|
|
42
|
+
isDisabled
|
|
43
|
+
} = this.props;
|
|
44
|
+
!isDisabled ? (onMouseOver && onMouseOver(e), this.setState({
|
|
45
|
+
isPressed: true
|
|
46
|
+
})) : null;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
triggerMouseDown(e) {
|
|
50
|
+
let {
|
|
51
|
+
onMouseDown,
|
|
52
|
+
isDisabled
|
|
53
|
+
} = this.props;
|
|
54
|
+
!isDisabled ? (onMouseDown && onMouseDown(e), this.setState({
|
|
55
|
+
isPressed: true
|
|
56
|
+
})) : null;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
onBlur(e) {
|
|
60
|
+
let {
|
|
61
|
+
isDisabled
|
|
62
|
+
} = this.props;
|
|
63
|
+
!isDisabled ? this.setState({
|
|
64
|
+
isPressed: false
|
|
65
|
+
}) : null;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
render() {
|
|
69
|
+
let {
|
|
70
|
+
palette,
|
|
71
|
+
iconSize,
|
|
72
|
+
iconName,
|
|
73
|
+
className,
|
|
74
|
+
iconClass,
|
|
75
|
+
dataId,
|
|
76
|
+
eleRef,
|
|
77
|
+
isActive,
|
|
78
|
+
tourId,
|
|
79
|
+
isDisabled,
|
|
80
|
+
children,
|
|
81
|
+
hoverType,
|
|
82
|
+
title,
|
|
83
|
+
isBold,
|
|
84
|
+
isNeedEffect,
|
|
85
|
+
needButtonTag,
|
|
86
|
+
a11y,
|
|
87
|
+
dataIsHtml
|
|
88
|
+
} = this.props;
|
|
89
|
+
let {
|
|
90
|
+
isPressed
|
|
91
|
+
} = this.state;
|
|
92
|
+
let {
|
|
93
|
+
ariaHaspopup,
|
|
94
|
+
ariaExpanded,
|
|
95
|
+
ariaLabel,
|
|
96
|
+
ariaControls,
|
|
97
|
+
ariaLabelledby
|
|
98
|
+
} = a11y;
|
|
99
|
+
return /*#__PURE__*/React.createElement(RippleEffect, {
|
|
100
|
+
palette: palette,
|
|
101
|
+
isActive: isActive,
|
|
102
|
+
hoverType: hoverType,
|
|
103
|
+
isDisabled: isDisabled,
|
|
104
|
+
isNeedEffect: isNeedEffect
|
|
105
|
+
}, /*#__PURE__*/React.createElement(Container, {
|
|
106
|
+
"aria-label": ariaLabel,
|
|
107
|
+
"aria-haspopup": ariaHaspopup,
|
|
108
|
+
"aria-expanded": ariaExpanded,
|
|
109
|
+
"aria-controls": ariaControls,
|
|
110
|
+
"aria-labelledby": ariaLabelledby,
|
|
111
|
+
tagName: needButtonTag ? 'button' : 'div',
|
|
112
|
+
isInline: true,
|
|
113
|
+
tourId: tourId,
|
|
114
|
+
align: "both",
|
|
115
|
+
isCover: false,
|
|
116
|
+
className: `${needButtonTag && btnStyle.buttonReset} ${style.wrapper} ${className ? className : ''} ${isActive ? style[`${palette}_active`] : style[palette]}`,
|
|
117
|
+
dataId: dataId,
|
|
118
|
+
onClick: this.triggerClick,
|
|
119
|
+
"data-title": title,
|
|
120
|
+
"data-ishtml": dataIsHtml,
|
|
121
|
+
eleRef: eleRef,
|
|
122
|
+
onMouseDown: this.triggerMouseDown,
|
|
123
|
+
onMouseEnter: this.triggerMouseOver,
|
|
124
|
+
"aria-pressed": isPressed,
|
|
125
|
+
onKeyDown: this.handleToggle,
|
|
126
|
+
onFocus: this.triggerMouseOver,
|
|
127
|
+
onBlur: this.onBlur,
|
|
128
|
+
disabled: isDisabled
|
|
129
|
+
}, iconName ? /*#__PURE__*/React.createElement(Icon, {
|
|
130
|
+
isBold: isBold,
|
|
131
|
+
size: iconSize,
|
|
132
|
+
name: iconName,
|
|
133
|
+
iconClass: iconClass
|
|
134
|
+
}) : null, children ? children : null));
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
}
|
|
138
|
+
IconButton.propTypes = {
|
|
139
|
+
children: PropTypes.node,
|
|
140
|
+
className: PropTypes.string,
|
|
141
|
+
dataId: PropTypes.string,
|
|
142
|
+
eleRef: PropTypes.func,
|
|
143
|
+
hoverType: PropTypes.oneOf(['default', 'border', 'bg']),
|
|
144
|
+
iconClass: PropTypes.string,
|
|
145
|
+
iconName: PropTypes.string,
|
|
146
|
+
iconSize: PropTypes.string,
|
|
147
|
+
isActive: PropTypes.bool,
|
|
148
|
+
isBold: PropTypes.bool,
|
|
149
|
+
isDisabled: PropTypes.bool,
|
|
150
|
+
isNeedEffect: PropTypes.bool,
|
|
151
|
+
onClick: PropTypes.func,
|
|
152
|
+
onMouseDown: PropTypes.func,
|
|
153
|
+
onMouseOver: PropTypes.func,
|
|
154
|
+
palette: PropTypes.oneOf(['primary', 'primaryFilled', 'default']),
|
|
155
|
+
title: PropTypes.string,
|
|
156
|
+
tourId: PropTypes.string,
|
|
157
|
+
isNeedEffect: PropTypes.bool,
|
|
158
|
+
needButtonTag: PropTypes.bool,
|
|
159
|
+
a11y: PropTypes.shape({
|
|
160
|
+
ariaHaspopup: PropTypes.bool,
|
|
161
|
+
ariaExpanded: PropTypes.bool,
|
|
162
|
+
ariaLabel: PropTypes.string,
|
|
163
|
+
ariaControls: PropTypes.string,
|
|
164
|
+
ariaLabelledby: PropTypes.string
|
|
165
|
+
}),
|
|
166
|
+
dataIsHtml: PropTypes.bool
|
|
167
|
+
};
|
|
168
|
+
IconButton.defaultProps = {
|
|
169
|
+
palette: 'default',
|
|
170
|
+
iconSize: '13',
|
|
171
|
+
className: '',
|
|
172
|
+
iconClass: '',
|
|
173
|
+
dataId: 'iconContainer',
|
|
174
|
+
isActive: false,
|
|
175
|
+
isDisabled: false,
|
|
176
|
+
hoverType: 'default',
|
|
177
|
+
isBold: false,
|
|
178
|
+
isNeedEffect: true,
|
|
179
|
+
needButtonTag: true,
|
|
180
|
+
a11y: {},
|
|
181
|
+
dataIsHtml: false
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
if (false) {
|
|
185
|
+
IconButton.docs = {
|
|
186
|
+
componentGroup: 'Atom'
|
|
187
|
+
};
|
|
188
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.varClass {
|
|
2
|
+
--iconColor: var(--zdt_iconButton_icon_black);
|
|
3
|
+
}
|
|
4
|
+
.wrapper {
|
|
5
|
+
height: var(--zd_size28);
|
|
6
|
+
width: var(--zd_size28);
|
|
7
|
+
composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
|
|
8
|
+
composes: varClass;
|
|
9
|
+
color: var(--iconColor);
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
}
|
|
12
|
+
.primary {
|
|
13
|
+
--iconColor: var(--zdt_iconButton_icon_primary);
|
|
14
|
+
}
|
|
15
|
+
.primary:hover {
|
|
16
|
+
--iconColor: var(--zdt_iconButton_icon_primaryHover);
|
|
17
|
+
}
|
|
18
|
+
.primary_active,
|
|
19
|
+
.primaryFilled,
|
|
20
|
+
.primaryFilled_active {
|
|
21
|
+
--iconColor: var(--zdt_iconButton_icon_primaryActive);
|
|
22
|
+
}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import IconButton from '../IconButton';
|
|
3
|
+
export default class IconButton__default extends Component {
|
|
4
|
+
render() {
|
|
5
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
6
|
+
style: {
|
|
7
|
+
margin: '10px'
|
|
8
|
+
}
|
|
9
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
10
|
+
style: {
|
|
11
|
+
margin: '30px'
|
|
12
|
+
}
|
|
13
|
+
}, "isBold"), /*#__PURE__*/React.createElement("span", {
|
|
14
|
+
style: {
|
|
15
|
+
margin: '30px'
|
|
16
|
+
}
|
|
17
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
18
|
+
iconSize: "12",
|
|
19
|
+
iconName: "ZD-commentNew",
|
|
20
|
+
palette: "primary",
|
|
21
|
+
isBold: true
|
|
22
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
23
|
+
style: {
|
|
24
|
+
margin: '30px'
|
|
25
|
+
}
|
|
26
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
27
|
+
isBold: true,
|
|
28
|
+
iconSize: "12",
|
|
29
|
+
iconName: "ZD-more",
|
|
30
|
+
palette: "secondary"
|
|
31
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
32
|
+
style: {
|
|
33
|
+
margin: '30px'
|
|
34
|
+
}
|
|
35
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
36
|
+
iconSize: "12",
|
|
37
|
+
iconName: "ZD-commentNew",
|
|
38
|
+
palette: "primaryFilled",
|
|
39
|
+
isBold: true
|
|
40
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
41
|
+
style: {
|
|
42
|
+
margin: '10px'
|
|
43
|
+
}
|
|
44
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
45
|
+
style: {
|
|
46
|
+
margin: '30px'
|
|
47
|
+
}
|
|
48
|
+
}, "Palette"), /*#__PURE__*/React.createElement("span", {
|
|
49
|
+
style: {
|
|
50
|
+
margin: '30px'
|
|
51
|
+
}
|
|
52
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
53
|
+
iconSize: "12",
|
|
54
|
+
iconName: "ZD-commentNew",
|
|
55
|
+
palette: "primary",
|
|
56
|
+
onClick: () => {
|
|
57
|
+
console.log('click');
|
|
58
|
+
},
|
|
59
|
+
onMouseDown: () => {
|
|
60
|
+
console.log('Down');
|
|
61
|
+
},
|
|
62
|
+
onMouseOver: () => {
|
|
63
|
+
console.log('over');
|
|
64
|
+
}
|
|
65
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
66
|
+
style: {
|
|
67
|
+
margin: '30px'
|
|
68
|
+
}
|
|
69
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
70
|
+
iconSize: "12",
|
|
71
|
+
iconName: "ZD-more"
|
|
72
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
73
|
+
style: {
|
|
74
|
+
margin: '30px'
|
|
75
|
+
}
|
|
76
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
77
|
+
iconSize: "12",
|
|
78
|
+
iconName: "ZD-commentNew",
|
|
79
|
+
palette: "primaryFilled"
|
|
80
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
81
|
+
style: {
|
|
82
|
+
margin: '10px'
|
|
83
|
+
}
|
|
84
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
85
|
+
style: {
|
|
86
|
+
margin: '30px'
|
|
87
|
+
}
|
|
88
|
+
}, "isActive"), /*#__PURE__*/React.createElement("span", {
|
|
89
|
+
style: {
|
|
90
|
+
margin: '30px'
|
|
91
|
+
}
|
|
92
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
93
|
+
iconSize: "12",
|
|
94
|
+
iconName: "ZD-commentNew",
|
|
95
|
+
palette: "primary",
|
|
96
|
+
isActive: true
|
|
97
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
98
|
+
style: {
|
|
99
|
+
margin: '30px'
|
|
100
|
+
}
|
|
101
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
102
|
+
iconSize: "12",
|
|
103
|
+
iconName: "ZD-more",
|
|
104
|
+
isActive: true
|
|
105
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
106
|
+
style: {
|
|
107
|
+
margin: '30px'
|
|
108
|
+
}
|
|
109
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
110
|
+
iconSize: "12",
|
|
111
|
+
iconName: "ZD-commentNew",
|
|
112
|
+
palette: "primaryFilled",
|
|
113
|
+
isActive: true
|
|
114
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
115
|
+
style: {
|
|
116
|
+
margin: '10px'
|
|
117
|
+
}
|
|
118
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
119
|
+
style: {
|
|
120
|
+
margin: '30px'
|
|
121
|
+
}
|
|
122
|
+
}, "Border On Hover"), /*#__PURE__*/React.createElement("span", {
|
|
123
|
+
style: {
|
|
124
|
+
margin: '30px'
|
|
125
|
+
}
|
|
126
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
127
|
+
iconSize: "12",
|
|
128
|
+
iconName: "ZD-commentNew",
|
|
129
|
+
palette: "primary",
|
|
130
|
+
hoverType: "border"
|
|
131
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
132
|
+
style: {
|
|
133
|
+
margin: '30px'
|
|
134
|
+
}
|
|
135
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
136
|
+
iconSize: "12",
|
|
137
|
+
iconName: "ZD-more",
|
|
138
|
+
hoverType: "border"
|
|
139
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
140
|
+
style: {
|
|
141
|
+
margin: '10px'
|
|
142
|
+
}
|
|
143
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
144
|
+
style: {
|
|
145
|
+
margin: '30px'
|
|
146
|
+
}
|
|
147
|
+
}, "isDisabled"), /*#__PURE__*/React.createElement("span", {
|
|
148
|
+
style: {
|
|
149
|
+
margin: '30px'
|
|
150
|
+
}
|
|
151
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
152
|
+
iconSize: "12",
|
|
153
|
+
iconName: "ZD-commentNew",
|
|
154
|
+
palette: "primary",
|
|
155
|
+
isDisabled: true
|
|
156
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
157
|
+
style: {
|
|
158
|
+
margin: '30px'
|
|
159
|
+
}
|
|
160
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
161
|
+
iconSize: "12",
|
|
162
|
+
iconName: "ZD-more",
|
|
163
|
+
isDisabled: true
|
|
164
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
165
|
+
style: {
|
|
166
|
+
margin: '30px'
|
|
167
|
+
}
|
|
168
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
169
|
+
iconSize: "12",
|
|
170
|
+
iconName: "ZD-commentNew",
|
|
171
|
+
palette: "primaryFilled",
|
|
172
|
+
isDisabled: true
|
|
173
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
174
|
+
style: {
|
|
175
|
+
margin: '10px'
|
|
176
|
+
}
|
|
177
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
178
|
+
style: {
|
|
179
|
+
margin: '30px'
|
|
180
|
+
}
|
|
181
|
+
}, "Tooltip"), /*#__PURE__*/React.createElement("span", {
|
|
182
|
+
style: {
|
|
183
|
+
margin: '30px'
|
|
184
|
+
}
|
|
185
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
186
|
+
iconSize: "12",
|
|
187
|
+
iconName: "ZD-commentNew",
|
|
188
|
+
palette: "primary",
|
|
189
|
+
isDisabled: true,
|
|
190
|
+
title: "primary"
|
|
191
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
192
|
+
style: {
|
|
193
|
+
margin: '30px'
|
|
194
|
+
}
|
|
195
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
196
|
+
iconSize: "12",
|
|
197
|
+
iconName: "ZD-more",
|
|
198
|
+
isDisabled: true,
|
|
199
|
+
title: "default"
|
|
200
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
201
|
+
style: {
|
|
202
|
+
margin: '30px'
|
|
203
|
+
}
|
|
204
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
205
|
+
iconSize: "12",
|
|
206
|
+
iconName: "ZD-commentNew",
|
|
207
|
+
palette: "primaryFilled",
|
|
208
|
+
isDisabled: true,
|
|
209
|
+
title: "primaryFilled"
|
|
210
|
+
}))));
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
if (false) {
|
|
216
|
+
IconButton__default.docs = {
|
|
217
|
+
componentGroup: 'Atom'
|
|
218
|
+
};
|
|
219
|
+
}
|
package/es/Image/Image.js
CHANGED
|
@@ -1,64 +1,51 @@
|
|
|
1
|
-
import _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of';
|
|
2
|
-
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
|
|
3
|
-
import _createClass from 'babel-runtime/helpers/createClass';
|
|
4
|
-
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
|
|
5
|
-
import _inherits from 'babel-runtime/helpers/inherits';
|
|
6
1
|
import React from 'react';
|
|
7
2
|
import PropTypes from 'prop-types';
|
|
8
3
|
import style from './Image.module.css';
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
4
|
+
export default class Image extends React.Component {
|
|
5
|
+
render() {
|
|
6
|
+
let {
|
|
7
|
+
alt,
|
|
8
|
+
src,
|
|
9
|
+
className,
|
|
10
|
+
isCover,
|
|
11
|
+
title,
|
|
12
|
+
onClick,
|
|
13
|
+
dataId,
|
|
14
|
+
htmlId,
|
|
15
|
+
eleRef,
|
|
16
|
+
original
|
|
17
|
+
} = this.props;
|
|
18
|
+
return /*#__PURE__*/React.createElement("img", {
|
|
19
|
+
src: src,
|
|
20
|
+
alt: alt,
|
|
21
|
+
"data-title": title,
|
|
22
|
+
"data-id": dataId,
|
|
23
|
+
className: ` ${className} ${isCover ? style.imgFullSize : style.imgMaxFullSize} `,
|
|
24
|
+
onClick: onClick,
|
|
25
|
+
id: htmlId,
|
|
26
|
+
ref: eleRef,
|
|
27
|
+
"data-original": original
|
|
28
|
+
});
|
|
17
29
|
}
|
|
18
30
|
|
|
19
|
-
|
|
20
|
-
key: 'render',
|
|
21
|
-
value: function render() {
|
|
22
|
-
var _props = this.props,
|
|
23
|
-
alt = _props.alt,
|
|
24
|
-
src = _props.src,
|
|
25
|
-
className = _props.className,
|
|
26
|
-
isCover = _props.isCover,
|
|
27
|
-
title = _props.title,
|
|
28
|
-
onClick = _props.onClick,
|
|
29
|
-
dataId = _props.dataId;
|
|
30
|
-
|
|
31
|
-
return React.createElement('img', {
|
|
32
|
-
src: src,
|
|
33
|
-
alt: alt,
|
|
34
|
-
'data-title': title,
|
|
35
|
-
'data-id': dataId,
|
|
36
|
-
className: ' ' + className + ' ' + (isCover ? style.imgFullSize : style.imgMaxFullSize) + ' ',
|
|
37
|
-
onClick: onClick
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
}]);
|
|
41
|
-
|
|
42
|
-
return Image;
|
|
43
|
-
}(React.Component);
|
|
44
|
-
|
|
45
|
-
export default Image;
|
|
46
|
-
|
|
47
|
-
|
|
31
|
+
}
|
|
48
32
|
Image.propTypes = {
|
|
49
33
|
alt: PropTypes.string.isRequired,
|
|
50
34
|
className: PropTypes.string,
|
|
51
35
|
dataId: PropTypes.string,
|
|
36
|
+
eleRef: PropTypes.func,
|
|
37
|
+
htmlId: PropTypes.string,
|
|
52
38
|
isCover: PropTypes.bool,
|
|
53
39
|
onClick: PropTypes.func,
|
|
40
|
+
original: PropTypes.string,
|
|
54
41
|
src: PropTypes.string.isRequired,
|
|
55
42
|
title: PropTypes.string
|
|
56
43
|
};
|
|
57
|
-
|
|
58
44
|
Image.defaultProps = {
|
|
59
45
|
isCover: false,
|
|
60
46
|
className: ''
|
|
61
47
|
};
|
|
48
|
+
|
|
62
49
|
if (false) {
|
|
63
50
|
Image.docs = {
|
|
64
51
|
componentGroup: 'Atom'
|
|
@@ -1,37 +1,19 @@
|
|
|
1
|
-
import _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of';
|
|
2
|
-
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
|
|
3
|
-
import _createClass from 'babel-runtime/helpers/createClass';
|
|
4
|
-
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
|
|
5
|
-
import _inherits from 'babel-runtime/helpers/inherits';
|
|
6
1
|
import React, { Component } from 'react';
|
|
7
2
|
import PropTypes from 'prop-types';
|
|
8
3
|
import Image from '../Image';
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
4
|
+
export default class Image__default extends Component {
|
|
5
|
+
render() {
|
|
6
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
7
|
+
style: {
|
|
8
|
+
height: '120px',
|
|
9
|
+
width: '120px'
|
|
10
|
+
}
|
|
11
|
+
}, /*#__PURE__*/React.createElement(Image, {
|
|
12
|
+
src: "https://hjemly.dk/wp-content/uploads/2016/05/facebook-default-no-profile-pic.jpg"
|
|
13
|
+
}));
|
|
17
14
|
}
|
|
18
15
|
|
|
19
|
-
|
|
20
|
-
key: 'render',
|
|
21
|
-
value: function render() {
|
|
22
|
-
return React.createElement(
|
|
23
|
-
'div',
|
|
24
|
-
{ style: { height: '120px', width: '120px' } },
|
|
25
|
-
React.createElement(Image, { src: 'https://hjemly.dk/wp-content/uploads/2016/05/facebook-default-no-profile-pic.jpg' })
|
|
26
|
-
);
|
|
27
|
-
}
|
|
28
|
-
}]);
|
|
29
|
-
|
|
30
|
-
return Image__default;
|
|
31
|
-
}(Component);
|
|
32
|
-
|
|
33
|
-
export default Image__default;
|
|
34
|
-
|
|
16
|
+
}
|
|
35
17
|
|
|
36
18
|
if (false) {
|
|
37
19
|
Image__default.docs = {
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
4
|
+
import Icon from '@zohodesk/icons/lib/Icon';
|
|
5
|
+
import style from './ImportantNotes.module.css';
|
|
6
|
+
export default class ImportantNotes extends React.Component {
|
|
7
|
+
constructor(props) {
|
|
8
|
+
super(props);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
render() {
|
|
12
|
+
let {
|
|
13
|
+
text,
|
|
14
|
+
iconName,
|
|
15
|
+
iconSize,
|
|
16
|
+
children,
|
|
17
|
+
iconClass,
|
|
18
|
+
isCover,
|
|
19
|
+
className
|
|
20
|
+
} = this.props;
|
|
21
|
+
return /*#__PURE__*/React.createElement(Container, {
|
|
22
|
+
isInline: !isCover,
|
|
23
|
+
isCover: false,
|
|
24
|
+
alignBox: "row",
|
|
25
|
+
align: "top",
|
|
26
|
+
className: `${style.section} ${className || ''}`
|
|
27
|
+
}, iconName ? /*#__PURE__*/React.createElement(Box, {
|
|
28
|
+
className: style.icon,
|
|
29
|
+
align: "start"
|
|
30
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
31
|
+
name: iconName,
|
|
32
|
+
size: iconSize,
|
|
33
|
+
iconClass: iconClass
|
|
34
|
+
})) : null, text || children ? /*#__PURE__*/React.createElement(Box, {
|
|
35
|
+
flexible: true,
|
|
36
|
+
className: style.title
|
|
37
|
+
}, text, children ? children : null) : null);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
}
|
|
41
|
+
ImportantNotes.propTypes = {
|
|
42
|
+
children: PropTypes.node,
|
|
43
|
+
iconClass: PropTypes.string,
|
|
44
|
+
iconName: PropTypes.string,
|
|
45
|
+
iconSize: PropTypes.string,
|
|
46
|
+
isCover: PropTypes.bool,
|
|
47
|
+
text: PropTypes.string,
|
|
48
|
+
className: PropTypes.string
|
|
49
|
+
};
|
|
50
|
+
ImportantNotes.defaultProps = {
|
|
51
|
+
iconName: 'ZD-helpCentre',
|
|
52
|
+
iconSize: '14',
|
|
53
|
+
iconClass: '',
|
|
54
|
+
isCover: true
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
if (false) {
|
|
58
|
+
ImportantNotes.docs = {
|
|
59
|
+
componentGroup: 'Common',
|
|
60
|
+
folderName: 'General'
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.section {
|
|
2
|
+
background: var(--zdt_importantnotes_bg);
|
|
3
|
+
padding: var(--zd_size5) var(--zd_size10);
|
|
4
|
+
}
|
|
5
|
+
.title {
|
|
6
|
+
font-size: var(--zd_font_size13);
|
|
7
|
+
line-height: var(--zd_font_size18);
|
|
8
|
+
color: var(--zdt_importantnotes_title_text);
|
|
9
|
+
}
|
|
10
|
+
.icon {
|
|
11
|
+
color: var(--zdt_importantnotes_icon);
|
|
12
|
+
font-size: 0;
|
|
13
|
+
margin-top: var(--zd_size1);
|
|
14
|
+
}
|
|
15
|
+
[dir=ltr] .icon {
|
|
16
|
+
margin-right: var(--zd_size5);
|
|
17
|
+
}
|
|
18
|
+
[dir=rtl] .icon {
|
|
19
|
+
margin-left: var(--zd_size5);
|
|
20
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import ImportantNotes from '../ImportantNotes';
|
|
4
|
+
export default class ImportantNotes__default extends React.Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
return /*#__PURE__*/React.createElement(ImportantNotes, {
|
|
11
|
+
text: "Forwarded threads are always marked as private regardless of this setting.Forwarded threads are always marked as private regardless of this setting.Forwarded threads are always marked as private regardless of this setting.Forwarded threads are always marked as private regardless of this setting.Forwarded threads are always marked as private regardless of this setting."
|
|
12
|
+
}, "Children");
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
if (false) {
|
|
18
|
+
ImportantNotes__default.docs = {
|
|
19
|
+
componentGroup: 'Common',
|
|
20
|
+
folderName: 'General'
|
|
21
|
+
};
|
|
22
|
+
}
|