@zohodesk/dot 1.0.0-temp-60 → 1.0.0-temp-61
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 +5 -0
- package/{es → assets}/Appearance/dark/mode/dotDarkMode.module.css +1 -1
- package/{es → assets}/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +1 -1
- package/{es → assets}/Appearance/dark/themes/green/greenDarkDotTheme.module.css +0 -0
- package/{src → assets}/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +1 -1
- package/{es → assets}/Appearance/dark/themes/red/redDarkDotTheme.module.css +0 -0
- package/{es → assets}/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +0 -0
- package/{es → assets}/Appearance/default/mode/dotDefaultMode.module.css +1 -1
- package/{es → assets}/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +0 -0
- package/{es → assets}/Appearance/default/themes/green/greenDefaultDotTheme.module.css +1 -1
- package/{es → assets}/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +0 -0
- package/{es → assets}/Appearance/default/themes/red/redDefaultDotTheme.module.css +0 -0
- package/{es → assets}/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +0 -0
- package/es/ActionButton/ActionButton.module.css +25 -9
- package/es/AlphabeticList/AlphabeticList.module.css +7 -4
- package/es/Attachment/Attachment.module.css +24 -13
- package/es/ChannelIcon/ChannelIcon.module.css +30 -21
- package/es/Drawer/Drawer.module.css +59 -11
- package/es/FlipCard/FlipCard.module.css +14 -5
- package/es/FormAction/FormAction.module.css +34 -9
- package/es/FreezeLayer/FreezeLayer.module.css +6 -2
- package/es/IconButton/IconButton.module.css +1 -1
- package/es/ImportantNotes/ImportantNotes.module.css +8 -3
- package/es/Loader/Loader.module.css +25 -4
- package/es/Message/Message.module.css +42 -9
- package/es/MessageBanner/MessageBanner.module.css +12 -4
- package/es/NewStar/NewStar.module.css +42 -5
- package/es/Provider.js +46 -46
- package/es/ToastMessage/ToastMessage.module.css +98 -27
- package/es/Upload/Upload.module.css +28 -9
- package/es/alert/AlertHeader/AlertHeader.module.css +21 -3
- package/es/alert/AlertLookup/AlertLookup.module.css +7 -3
- package/es/avatar/AvatarClose/AvatarClose.module.css +9 -3
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +18 -4
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +3 -4
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +59 -9
- package/es/avatar/AvatarThread/AvatarThread.module.css +55 -5
- package/es/avatar/AvatarUser/AvatarUser.module.css +81 -10
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +10 -3
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +11 -3
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +19 -6
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +13 -8
- package/es/emptystate/EditionPage/EditionPage.css +9 -3
- package/es/errorstate/EmptyStates.module.css +16 -13
- package/es/errorstate/Inconvenience/Inconvenience.module.css +3 -0
- package/es/errorstate/LinkText/LinkText.module.css +1 -1
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +3 -3
- package/es/errorstate/WillBack/WillBack.module.css +1 -3
- package/es/form/fields/CheckBoxField/CheckBoxField.js +1 -1
- package/es/form/fields/CurrencyField/CurrencyField.js +2 -2
- package/es/form/fields/DateField/DateField.js +2 -2
- package/es/form/fields/Fields.module.css +54 -16
- package/es/form/fields/MultiSelectField/MultiSelectField.js +2 -2
- package/es/form/fields/RadioField/RadioField.js +2 -2
- package/es/form/fields/SelectField/SelectField.js +2 -2
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +19 -7
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +4 -1
- package/es/form/fields/TextBoxField/TextBoxField.js +2 -2
- package/es/form/fields/TextEditor/TextEditor.module.css +143 -71
- package/es/form/fields/TextEditorField/TextEditorField.js +2 -2
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +13 -2
- package/es/form/fields/TextareaField/TextareaField.js +2 -2
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +9 -4
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +54 -18
- package/es/layout/SubtabLayout/SubtabLayout.module.css +55 -29
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +4 -1
- package/es/list/Comment/Comment.module.css +5 -0
- package/es/list/DotNew/DotNew.module.css +3 -3
- package/es/list/GridStencils/GridStencils.module.css +70 -16
- package/es/list/Icons/Icons.module.css +1 -1
- package/es/list/ListLayout/ListLayout.module.css +22 -14
- package/es/list/ListStencils/ListStencils.module.css +11 -6
- package/es/list/SecondaryText/SecondaryText.module.css +13 -3
- package/es/list/SentimentStatus/SentimentStatus.module.css +4 -1
- package/es/list/TagNew/TagNew.module.css +14 -7
- package/es/list/Thread/Thread.module.css +13 -1
- package/es/list/UserTime/UserTime.module.css +6 -0
- package/es/list/listCommon.module.css +10 -2
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +19 -6
- package/es/list/status/StatusListItem/StatusListItem.module.css +38 -15
- package/es/lookup/Lookup/Lookup.module.css +2 -2
- package/es/lookup/Section/LookupSection.module.css +2 -2
- package/es/lookup/header/Close/LookupClose.module.css +5 -5
- package/es/lookup/header/Search/LookupSearch.module.css +21 -12
- package/es/lookup/header/TicketHeader/TicketHeader.js +3 -1
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +7 -3
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +9 -5
- package/es/lookup/header/lookupHeaderCommon.module.css +16 -6
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +12 -3
- package/es/setup/header/Button/HeaderButton.module.css +3 -1
- package/es/setup/header/Link/HeaderLink.module.css +7 -1
- package/es/setup/header/Search/Search.module.css +20 -9
- package/es/setup/header/Views/Views.module.css +16 -6
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +1 -1
- package/es/setup/helptips/Link/HelpTipsLink.module.css +1 -0
- package/es/setup/helptips/ListGroup/ListGroup.module.css +6 -1
- package/es/setup/table/TableData/SetupTableData.module.css +11 -3
- package/es/setup/table/TableHead/SetupTableHead.module.css +4 -0
- package/es/setup/table/TableRow/SetupTableRow.module.css +6 -2
- package/es/version2/AlertClose/AlertClose.module.css +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.module.css +44 -9
- package/es/version2/errorstate/V2_ErrorStates.module.css +2 -3
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +26 -3
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +8 -4
- package/es/version2/lookup/alertLookupCommonNew.module.css +8 -1
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +28 -12
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +50 -13
- package/lib/ActionButton/ActionButton.module.css +25 -9
- package/lib/AlphabeticList/AlphabeticList.module.css +7 -4
- package/lib/Attachment/Attachment.module.css +20 -9
- package/lib/ChannelIcon/ChannelIcon.module.css +30 -21
- package/lib/Drawer/Drawer.module.css +59 -11
- package/lib/FlipCard/FlipCard.module.css +14 -5
- package/lib/FormAction/FormAction.module.css +34 -9
- package/lib/FreezeLayer/FreezeLayer.module.css +6 -2
- package/lib/IconButton/IconButton.module.css +1 -1
- package/lib/ImportantNotes/ImportantNotes.module.css +7 -2
- package/lib/Loader/Loader.module.css +25 -4
- package/lib/Message/Message.module.css +42 -9
- package/lib/MessageBanner/MessageBanner.module.css +12 -4
- package/lib/NewStar/NewStar.module.css +42 -5
- package/lib/Provider.js +46 -46
- package/lib/ToastMessage/ToastMessage.module.css +96 -25
- package/lib/Upload/Upload.module.css +27 -8
- package/lib/alert/AlertHeader/AlertHeader.module.css +21 -3
- package/lib/alert/AlertLookup/AlertLookup.module.css +6 -2
- package/lib/avatar/AvatarClose/AvatarClose.module.css +9 -3
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +18 -4
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +3 -4
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +59 -9
- package/lib/avatar/AvatarThread/AvatarThread.module.css +55 -5
- package/lib/avatar/AvatarUser/AvatarUser.module.css +81 -10
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +10 -3
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +17 -9
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +19 -6
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +12 -4
- package/lib/emptystate/EditionPage/EditionPage.css +9 -3
- package/lib/errorstate/EmptyStates.module.css +13 -10
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +3 -0
- package/lib/errorstate/LinkText/LinkText.module.css +1 -1
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +2 -2
- package/lib/errorstate/WillBack/WillBack.module.css +1 -3
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +1 -1
- package/lib/form/fields/CurrencyField/CurrencyField.js +2 -2
- package/lib/form/fields/DateField/DateField.js +2 -2
- package/lib/form/fields/Fields.module.css +54 -16
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +2 -2
- package/lib/form/fields/RadioField/RadioField.js +2 -2
- package/lib/form/fields/SelectField/SelectField.js +2 -2
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -4
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +19 -7
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +4 -1
- package/lib/form/fields/TextBoxField/TextBoxField.js +2 -2
- package/lib/form/fields/TextEditor/TextEditor.js +1 -1
- package/lib/form/fields/TextEditor/TextEditor.module.css +143 -71
- package/lib/form/fields/TextEditorField/TextEditorField.js +2 -2
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +13 -2
- package/lib/form/fields/TextareaField/TextareaField.js +2 -2
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +9 -4
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +52 -16
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +55 -29
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +6 -3
- package/lib/list/Comment/Comment.module.css +5 -0
- package/lib/list/DotNew/DotNew.module.css +6 -6
- package/lib/list/GridStencils/GridStencils.module.css +70 -16
- package/lib/list/Icons/Icons.module.css +1 -1
- package/lib/list/ListLayout/ListLayout.module.css +22 -14
- package/lib/list/ListStencils/ListStencils.module.css +11 -6
- package/lib/list/SecondaryText/SecondaryText.module.css +13 -3
- package/lib/list/SentimentStatus/SentimentStatus.module.css +4 -1
- package/lib/list/TagNew/TagNew.module.css +14 -7
- package/lib/list/Thread/Thread.module.css +13 -1
- package/lib/list/UserTime/UserTime.module.css +6 -0
- package/lib/list/listCommon.module.css +9 -1
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +19 -6
- package/lib/list/status/StatusListItem/StatusListItem.module.css +38 -15
- package/lib/lookup/Lookup/Lookup.module.css +2 -2
- package/lib/lookup/Section/LookupSection.module.css +2 -2
- package/lib/lookup/header/Close/LookupClose.module.css +4 -4
- package/lib/lookup/header/Search/LookupSearch.module.css +21 -12
- package/lib/lookup/header/TicketHeader/TicketHeader.js +3 -1
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +7 -3
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +8 -4
- package/lib/lookup/header/lookupHeaderCommon.module.css +16 -6
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +12 -3
- package/lib/setup/header/Button/HeaderButton.module.css +3 -1
- package/lib/setup/header/Link/HeaderLink.module.css +7 -1
- package/lib/setup/header/Search/Search.module.css +19 -8
- package/lib/setup/header/Views/Views.module.css +15 -5
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +1 -0
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +6 -1
- package/lib/setup/table/TableData/SetupTableData.module.css +11 -3
- package/lib/setup/table/TableHead/SetupTableHead.module.css +4 -0
- package/lib/setup/table/TableRow/SetupTableRow.module.css +6 -2
- package/lib/version2/AlertClose/AlertClose.module.css +1 -1
- package/lib/version2/GlobalNotification/GlobalNotification.js +18 -6
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +44 -9
- package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +25 -2
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +7 -3
- package/lib/version2/lookup/alertLookupCommonNew.module.css +8 -1
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +13 -5
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +29 -14
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +47 -10
- package/package.json +8 -8
- package/__testUtils__/globals.js +0 -0
- package/build/Unusedfiles.json +0 -1
- package/es/ActionButton/docs/ActionButton__default.docs.js +0 -134
- package/es/AlphabeticList/docs/AlphabeticList__default.docs.js +0 -34
- package/es/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +0 -43
- package/es/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +0 -10
- package/es/Attachment/docs/Attachment__default.docs.js +0 -54
- package/es/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -57
- package/es/Drawer/docs/Drawer__default.docs.js +0 -87
- package/es/Drawer/docs/Drawer__multiDrawer.docs.js +0 -112
- package/es/Drawer/docs/Drawer__noFreeze.docs.js +0 -20
- package/es/Drawer/docs/Drawer__withModal.docs.js +0 -74
- package/es/ExternalLink/docs/ExternalLink__default.docs.js +0 -19
- package/es/FlipCard/docs/FlipCard__default.docs.js +0 -66
- package/es/FormAction/docs/FormAction__default.docs.js +0 -72
- package/es/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -51
- package/es/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -48
- package/es/IconButton/docs/IconButton__default.docs.js +0 -219
- package/es/Image/docs/Image__default.docs.js +0 -22
- package/es/ImportantNotes/docs/ImportantNotes__default.docs.js +0 -22
- package/es/Link/docs/Link__default.docs.js +0 -36
- package/es/Loader/docs/Loader__default.docs.js +0 -23
- package/es/Message/docs/Message__default.docs.js +0 -55
- package/es/MessageBanner/docs/MessageBanner__default.docs.js +0 -88
- package/es/NewStar/docs/NewStar__default.docs.js +0 -62
- package/es/PlusIcon/docs/PlusIcon__default.docs.js +0 -16
- package/es/ToastMessage/docs/ToastMessage__custom.docs.js +0 -92
- package/es/ToastMessage/docs/ToastMessage__information.docs.js +0 -54
- package/es/ToastMessage/docs/ToastMessage__primary.docs.js +0 -125
- package/es/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -37
- package/es/ToastMessage/docs/ToastMessage__success.docs.js +0 -61
- package/es/Upload/docs/Upload__default.docs.js +0 -61
- package/es/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -63
- package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -121
- package/es/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -26
- package/es/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -35
- package/es/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -40
- package/es/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -46
- package/es/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -35
- package/es/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -51
- package/es/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -147
- package/es/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -173
- package/es/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -24
- package/es/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -34
- package/es/deprecated/Theme/dotDarkTheme.module.css +0 -532
- package/es/deprecated/Theme/dotDefaultTheme.module.css +0 -532
- package/es/deprecated/Theme/palette/darkPalette.module.css +0 -40
- package/es/deprecated/Theme/palette/defaultPalette.module.css +0 -40
- package/es/docs/formDocs.js +0 -26
- package/es/docs/generalDocs.js +0 -131
- package/es/docs/lookupDocs.js +0 -44
- package/es/docs/setupDocs.js +0 -22
- package/es/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -228
- package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -111
- package/es/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -21
- package/es/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -19
- package/es/errorstate/LinkText/docs/LinkText__default.docs.js +0 -17
- package/es/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -19
- package/es/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -20
- package/es/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -19
- package/es/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -19
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -20
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -19
- package/es/errorstate/WillBack/docs/WillBack__default.docs.js +0 -21
- package/es/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +0 -30
- package/es/form/fields/DateField/docs/DateField__default.docs.js +0 -25
- package/es/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +0 -48
- package/es/form/fields/PhoneField/docs/PhoneField__default.docs.js +0 -26
- package/es/form/fields/SelectField/docs/SelectField__default.docs.js +0 -58
- package/es/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +0 -77
- package/es/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +0 -82
- package/es/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +0 -45
- package/es/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +0 -43
- package/es/form/fields/TextareaField/docs/TextareaField__default.docs.js +0 -26
- package/es/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +0 -58
- package/es/form/layout/Field/docs/Field__default.docs.js +0 -25
- package/es/form/layout/Section/docs/Section__default.docs.js +0 -21
- package/es/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -29
- package/es/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -67
- package/es/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -100
- package/es/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -19
- package/es/list/Comment/docs/Comment__default.docs.js +0 -26
- package/es/list/DotNew/docs/DotNew__default.docs.js +0 -20
- package/es/list/GridStencils/docs/GridStencils__default.docs.js +0 -35
- package/es/list/Icons/docs/FloatingIcons__default.docs.js +0 -24
- package/es/list/ListLayout/docs/ListLayout__default.docs.js +0 -60
- package/es/list/ListStencils/docs/ListStencils__default.docs.js +0 -20
- package/es/list/SecondaryText/docs/ContactName__default.docs.js +0 -23
- package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -37
- package/es/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -77
- package/es/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -19
- package/es/list/Subject/docs/Subject__default.docs.js +0 -44
- package/es/list/TagNew/docs/TagNew__default.docs.js +0 -23
- package/es/list/Thread/docs/Thread__default.docs.js +0 -22
- package/es/list/UserTime/docs/UserTime__default.docs.js +0 -147
- package/es/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -129
- package/es/list/status/StatusListItem/docs/StatusListItem__default.docs.js +0 -27
- package/es/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -20
- package/es/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -20
- package/es/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -17
- package/es/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -20
- package/es/lookup/Lookup/docs/Lookup__contact.docs.js +0 -196
- package/es/lookup/Lookup/docs/Lookup__default.docs.js +0 -68
- package/es/lookup/header/Close/docs/Close__default.docs.js +0 -19
- package/es/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -41
- package/es/lookup/header/Search/docs/Search__default.docs.js +0 -124
- package/es/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -83
- package/es/lookup/header/Title/docs/Title__default.docs.js +0 -21
- package/es/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -75
- package/es/setup/header/Button/docs/Button__default.docs.js +0 -22
- package/es/setup/header/Link/docs/Link__default.docs.js +0 -23
- package/es/setup/header/Search/docs/Search__default.docs.js +0 -41
- package/es/setup/header/Views/docs/Views__default.docs.js +0 -24
- package/es/setup/helptips/Description/docs/Description__default.docs.js +0 -26
- package/es/setup/helptips/Link/docs/Link__default.docs.js +0 -27
- package/es/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -30
- package/es/setup/helptips/Title/docs/Title__default.docs.js +0 -26
- package/es/setup/table/Table/docs/Table__default.docs.js +0 -181
- package/es/setup/table/Text/docs/Text__default.docs.js +0 -35
- package/es/svg/docs/SVG__default.docs.js +0 -49
- package/es/version2/AlertClose/docs/AlertClose__default.docs.js +0 -47
- package/es/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +0 -95
- package/es/version2/alertIcons/docs/AlertIcons__default.docs.js +0 -138
- package/es/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -18
- package/es/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +0 -20
- package/es/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +0 -30
- package/es/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +0 -18
- package/es/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +0 -20
- package/es/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +0 -18
- package/es/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +0 -56
- package/es/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +0 -147
- package/es/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +0 -92
- package/es/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +0 -57
- package/lib/ActionButton/docs/ActionButton__default.docs.js +0 -187
- package/lib/AlphabeticList/docs/AlphabeticList__default.docs.js +0 -82
- package/lib/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +0 -91
- package/lib/Appearance/dark/mode/dotDarkMode.module.css +0 -536
- package/lib/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +0 -10
- package/lib/Appearance/dark/themes/green/greenDarkDotTheme.module.css +0 -10
- package/lib/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +0 -10
- package/lib/Appearance/dark/themes/red/redDarkDotTheme.module.css +0 -10
- package/lib/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +0 -10
- package/lib/Appearance/default/mode/dotDefaultMode.module.css +0 -536
- package/lib/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +0 -10
- package/lib/Appearance/default/themes/green/greenDefaultDotTheme.module.css +0 -10
- package/lib/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +0 -10
- package/lib/Appearance/default/themes/red/redDefaultDotTheme.module.css +0 -10
- package/lib/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +0 -10
- package/lib/Attachment/docs/Attachment__default.docs.js +0 -104
- package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -112
- package/lib/Drawer/docs/Drawer__default.docs.js +0 -143
- package/lib/Drawer/docs/Drawer__multiDrawer.docs.js +0 -171
- package/lib/Drawer/docs/Drawer__noFreeze.docs.js +0 -65
- package/lib/Drawer/docs/Drawer__withModal.docs.js +0 -131
- package/lib/ExternalLink/docs/ExternalLink__default.docs.js +0 -68
- package/lib/FlipCard/docs/FlipCard__default.docs.js +0 -121
- package/lib/FormAction/docs/FormAction__default.docs.js +0 -127
- package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -103
- package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -100
- package/lib/IconButton/docs/IconButton__default.docs.js +0 -272
- package/lib/Image/docs/Image__default.docs.js +0 -76
- package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +0 -68
- package/lib/Link/docs/Link__default.docs.js +0 -90
- package/lib/Loader/docs/Loader__default.docs.js +0 -68
- package/lib/Message/docs/Message__default.docs.js +0 -100
- package/lib/MessageBanner/docs/MessageBanner__default.docs.js +0 -132
- package/lib/NewStar/docs/NewStar__default.docs.js +0 -111
- package/lib/PlusIcon/docs/PlusIcon__default.docs.js +0 -70
- package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +0 -151
- package/lib/ToastMessage/docs/ToastMessage__information.docs.js +0 -108
- package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +0 -175
- package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -91
- package/lib/ToastMessage/docs/ToastMessage__success.docs.js +0 -115
- package/lib/Upload/docs/Upload__default.docs.js +0 -110
- package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -112
- package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -175
- package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -72
- package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -81
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -95
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -99
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -90
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -104
- package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -198
- package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -224
- package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -74
- package/lib/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -80
- package/lib/docs/formDocs.js +0 -215
- package/lib/docs/generalDocs.js +0 -1039
- package/lib/docs/lookupDocs.js +0 -287
- package/lib/docs/setupDocs.js +0 -183
- package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -279
- package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -171
- package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -74
- package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -69
- package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +0 -67
- package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -68
- package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -70
- package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -69
- package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -69
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -70
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -69
- package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +0 -71
- package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +0 -80
- package/lib/form/fields/DateField/docs/DateField__default.docs.js +0 -74
- package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +0 -100
- package/lib/form/fields/PhoneField/docs/PhoneField__default.docs.js +0 -76
- package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +0 -110
- package/lib/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +0 -126
- package/lib/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +0 -96
- package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +0 -97
- package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +0 -94
- package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +0 -76
- package/lib/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +0 -103
- package/lib/form/layout/Field/docs/Field__default.docs.js +0 -74
- package/lib/form/layout/Section/docs/Section__default.docs.js +0 -71
- package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -80
- package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -118
- package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -149
- package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -65
- package/lib/list/Comment/docs/Comment__default.docs.js +0 -76
- package/lib/list/DotNew/docs/DotNew__default.docs.js +0 -70
- package/lib/list/GridStencils/docs/GridStencils__default.docs.js +0 -86
- package/lib/list/Icons/docs/FloatingIcons__default.docs.js +0 -81
- package/lib/list/ListLayout/docs/ListLayout__default.docs.js +0 -111
- package/lib/list/ListStencils/docs/ListStencils__default.docs.js +0 -70
- package/lib/list/SecondaryText/docs/ContactName__default.docs.js +0 -73
- package/lib/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -37
- package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -133
- package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -65
- package/lib/list/Subject/docs/Subject__default.docs.js +0 -94
- package/lib/list/TagNew/docs/TagNew__default.docs.js +0 -73
- package/lib/list/Thread/docs/Thread__default.docs.js +0 -72
- package/lib/list/UserTime/docs/UserTime__default.docs.js +0 -196
- package/lib/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -178
- package/lib/list/status/StatusListItem/docs/StatusListItem__default.docs.js +0 -77
- package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -70
- package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -70
- package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -67
- package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -70
- package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +0 -247
- package/lib/lookup/Lookup/docs/Lookup__default.docs.js +0 -121
- package/lib/lookup/header/Close/docs/Close__default.docs.js +0 -69
- package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -89
- package/lib/lookup/header/Search/docs/Search__default.docs.js +0 -175
- package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -133
- package/lib/lookup/header/Title/docs/Title__default.docs.js +0 -71
- package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -119
- package/lib/setup/header/Button/docs/Button__default.docs.js +0 -68
- package/lib/setup/header/Link/docs/Link__default.docs.js +0 -69
- package/lib/setup/header/Search/docs/Search__default.docs.js +0 -92
- package/lib/setup/header/Views/docs/Views__default.docs.js +0 -70
- package/lib/setup/helptips/Description/docs/Description__default.docs.js +0 -72
- package/lib/setup/helptips/Link/docs/Link__default.docs.js +0 -73
- package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -76
- package/lib/setup/helptips/Title/docs/Title__default.docs.js +0 -72
- package/lib/setup/table/Table/docs/Table__default.docs.js +0 -238
- package/lib/setup/table/Text/docs/Text__default.docs.js +0 -84
- package/lib/svg/docs/SVG__default.docs.js +0 -101
- package/lib/version2/AlertClose/docs/AlertClose__default.docs.js +0 -97
- package/lib/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +0 -143
- package/lib/version2/alertIcons/docs/AlertIcons__default.docs.js +0 -187
- package/lib/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -68
- package/lib/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +0 -70
- package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +0 -80
- package/lib/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +0 -68
- package/lib/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +0 -70
- package/lib/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +0 -68
- package/lib/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +0 -105
- package/lib/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +0 -201
- package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +0 -142
- package/lib/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +0 -108
- package/preprocess/dotAppearanceColors.js +0 -71
- package/preprocess/dotThemeColors.js +0 -98
- package/preprocess/index.js +0 -2
- package/preprocess/json/dotAppearanceVariableJson.js +0 -1908
- package/preprocess/json/dotThemeVariableJson.js +0 -90
- package/src/ActionButton/ActionButton.js +0 -197
- package/src/ActionButton/ActionButton.module.css +0 -120
- package/src/ActionButton/docs/ActionButton__default.docs.js +0 -110
- package/src/AlphabeticList/AlphabeticList.js +0 -176
- package/src/AlphabeticList/AlphabeticList.module.css +0 -54
- package/src/AlphabeticList/docs/AlphabeticList__default.docs.js +0 -36
- package/src/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +0 -44
- package/src/Appearance/dark/mode/dotDarkMode.module.css +0 -521
- package/src/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +0 -10
- package/src/Appearance/dark/themes/green/greenDarkDotTheme.module.css +0 -10
- package/src/Appearance/dark/themes/red/redDarkDotTheme.module.css +0 -10
- package/src/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +0 -10
- package/src/Appearance/default/mode/dotDefaultMode.module.css +0 -521
- package/src/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +0 -10
- package/src/Appearance/default/themes/green/greenDefaultDotTheme.module.css +0 -10
- package/src/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +0 -10
- package/src/Appearance/default/themes/red/redDefaultDotTheme.module.css +0 -10
- package/src/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +0 -10
- package/src/Attachment/Attachment.js +0 -119
- package/src/Attachment/Attachment.module.css +0 -121
- package/src/Attachment/docs/Attachment__default.docs.js +0 -63
- package/src/ChannelIcon/ChannelIcon.js +0 -154
- package/src/ChannelIcon/ChannelIcon.module.css +0 -208
- package/src/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -63
- package/src/Drawer/Drawer.js +0 -398
- package/src/Drawer/Drawer.module.css +0 -103
- package/src/Drawer/docs/Drawer__default.docs.js +0 -86
- package/src/Drawer/docs/Drawer__multiDrawer.docs.js +0 -111
- package/src/Drawer/docs/Drawer__noFreeze.docs.js +0 -20
- package/src/Drawer/docs/Drawer__withModal.docs.js +0 -76
- package/src/ExternalLink/ExternalLink.js +0 -75
- 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 -193
- package/src/FlipCard/FlipCard.module.css +0 -35
- package/src/FlipCard/docs/FlipCard__default.docs.js +0 -76
- package/src/FormAction/FormAction.js +0 -126
- package/src/FormAction/FormAction.module.css +0 -57
- package/src/FormAction/docs/FormAction__default.docs.js +0 -93
- package/src/FreezeLayer/FreezeLayer.js +0 -159
- package/src/FreezeLayer/FreezeLayer.module.css +0 -38
- package/src/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -52
- package/src/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -51
- package/src/IconButton/IconButton.js +0 -186
- package/src/IconButton/IconButton.module.css +0 -22
- package/src/IconButton/docs/IconButton__default.docs.js +0 -158
- package/src/Image/Image.js +0 -58
- package/src/Image/Image.module.css +0 -11
- package/src/Image/docs/Image__default.docs.js +0 -18
- package/src/ImportantNotes/ImportantNotes.js +0 -57
- package/src/ImportantNotes/ImportantNotes.module.css +0 -15
- package/src/ImportantNotes/docs/ImportantNotes__default.docs.js +0 -22
- package/src/Link/Link.js +0 -123
- 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/Loader/Loader.js +0 -22
- package/src/Loader/Loader.module.css +0 -25
- package/src/Loader/docs/Loader__default.docs.js +0 -21
- package/src/Message/Message.js +0 -109
- package/src/Message/Message.module.css +0 -70
- package/src/Message/docs/Message__default.docs.js +0 -53
- package/src/MessageBanner/MessageBanner.js +0 -83
- package/src/MessageBanner/MessageBanner.module.css +0 -38
- package/src/MessageBanner/docs/MessageBanner__default.docs.js +0 -87
- package/src/NewStar/NewStar.js +0 -83
- package/src/NewStar/NewStar.module.css +0 -73
- package/src/NewStar/docs/NewStar__default.docs.js +0 -39
- package/src/PlusIcon/PlusIcon.js +0 -64
- package/src/PlusIcon/PlusIcon.module.css +0 -16
- package/src/PlusIcon/docs/PlusIcon__default.docs.js +0 -18
- package/src/Provider.js +0 -203
- package/src/ToastMessage/ToastMessage.js +0 -315
- package/src/ToastMessage/ToastMessage.module.css +0 -257
- package/src/ToastMessage/docs/ToastMessage__custom.docs.js +0 -97
- package/src/ToastMessage/docs/ToastMessage__information.docs.js +0 -57
- 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/Upload/Upload.js +0 -103
- package/src/Upload/Upload.module.css +0 -106
- package/src/Upload/docs/Upload__default.docs.js +0 -72
- package/src/actions/AutoClose.js +0 -51
- package/src/actions/index.js +0 -22
- package/src/alert/AlertHeader/AlertHeader.js +0 -122
- package/src/alert/AlertHeader/AlertHeader.module.css +0 -63
- package/src/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -73
- package/src/alert/AlertLookup/AlertLookup.js +0 -214
- package/src/alert/AlertLookup/AlertLookup.module.css +0 -23
- package/src/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -124
- package/src/avatar/AvatarClose/AvatarClose.js +0 -49
- 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 -81
- 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 -99
- package/src/avatar/AvatarIcon/AvatarIcon.module.css +0 -59
- package/src/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -49
- package/src/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -36
- package/src/avatar/AvatarStatus/AvatarStatus.js +0 -95
- package/src/avatar/AvatarStatus/AvatarStatus.module.css +0 -96
- package/src/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -38
- package/src/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -63
- package/src/avatar/AvatarThread/AvatarThread.js +0 -136
- package/src/avatar/AvatarThread/AvatarThread.module.css +0 -113
- package/src/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -167
- package/src/avatar/AvatarUser/AvatarUser.js +0 -160
- package/src/avatar/AvatarUser/AvatarUser.module.css +0 -100
- package/src/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -148
- package/src/avatar/AvatarWithTeam/AvatarWithTeam.js +0 -134
- 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/deprecated/SelectDropdown/SelectDropdown.js +0 -122
- package/src/deprecated/SelectDropdown/SelectDropdown.module.css +0 -47
- package/src/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -31
- package/src/docs/formDocs.js +0 -26
- package/src/docs/generalDocs.js +0 -162
- package/src/docs/lookupDocs.js +0 -52
- package/src/docs/setupDocs.js +0 -25
- package/src/dropdown/ToggleDropDown/ToggleDropDown.js +0 -950
- package/src/dropdown/ToggleDropDown/ToggleDropDown.module.css +0 -84
- package/src/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -242
- package/src/emptystate/CommonEmptyState/CommonEmptyState.js +0 -116
- package/src/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -80
- package/src/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -107
- 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 -85
- package/src/errorstate/Inconvenience/Inconvenience.js +0 -132
- package/src/errorstate/Inconvenience/Inconvenience.module.css +0 -4
- package/src/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -19
- package/src/errorstate/LinkText/LinkText.js +0 -35
- 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 -132
- package/src/errorstate/NoRequestFound/NoRequestFound.module.css +0 -3
- package/src/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -19
- package/src/errorstate/PermissionPlay/PermissionPlay.js +0 -127
- package/src/errorstate/PermissionPlay/PermissionPlay.module.css +0 -34
- package/src/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -20
- package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -132
- package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -3
- package/src/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -19
- package/src/errorstate/UnableToProcess/UnableToProcess.js +0 -130
- package/src/errorstate/UnableToProcess/UnableToProcess.module.css +0 -3
- package/src/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -19
- package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -130
- package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -3
- 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 -120
- package/src/errorstate/WillBack/WillBack.module.css +0 -36
- package/src/errorstate/WillBack/docs/WillBack__default.docs.js +0 -21
- package/src/form/fields/CheckBoxField/CheckBoxField.js +0 -220
- package/src/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +0 -32
- package/src/form/fields/CurrencyField/CurrencyField.js +0 -267
- package/src/form/fields/DateField/DateField.js +0 -281
- package/src/form/fields/DateField/docs/DateField__default.docs.js +0 -24
- package/src/form/fields/Fields.module.css +0 -145
- package/src/form/fields/MultiSelectField/MultiSelectField.js +0 -311
- package/src/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +0 -53
- package/src/form/fields/PhoneField/PhoneField.js +0 -227
- package/src/form/fields/PhoneField/docs/PhoneField__default.docs.js +0 -26
- package/src/form/fields/RadioField/RadioField.js +0 -181
- package/src/form/fields/SelectField/SelectField.js +0 -296
- package/src/form/fields/SelectField/docs/SelectField__default.docs.js +0 -48
- package/src/form/fields/TagsMultiSelect/TagsMultiSelect.js +0 -332
- package/src/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +0 -95
- package/src/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +0 -55
- package/src/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +0 -342
- package/src/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +0 -6
- package/src/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +0 -58
- package/src/form/fields/TextBoxField/TextBoxField.js +0 -274
- package/src/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +0 -38
- package/src/form/fields/TextEditor/TextEditor.js +0 -440
- package/src/form/fields/TextEditor/TextEditor.module.css +0 -582
- package/src/form/fields/TextEditorField/TextEditorField.js +0 -286
- package/src/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +0 -62
- package/src/form/fields/TextEditorWrapper/TextEditorWrapper.js +0 -239
- package/src/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +0 -26
- package/src/form/fields/TextareaField/TextareaField.js +0 -247
- package/src/form/fields/TextareaField/docs/TextareaField__default.docs.js +0 -25
- package/src/form/fields/ValidationMessage/ValidationMessage.js +0 -77
- package/src/form/fields/ValidationMessage/ValidationMessage.module.css +0 -22
- package/src/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +0 -66
- package/src/form/layout/Field/Field.js +0 -53
- package/src/form/layout/Field/Field.module.css +0 -22
- package/src/form/layout/Field/docs/Field__default.docs.js +0 -20
- package/src/form/layout/Section/ModuleFormSection.module.css +0 -3
- package/src/form/layout/Section/Section.js +0 -47
- package/src/form/layout/Section/docs/Section__default.docs.js +0 -21
- package/src/i18n.js +0 -5498
- package/src/index.js +0 -8
- package/src/layout/SetupDetailLayout/SetupDetailLayout.js +0 -274
- package/src/layout/SetupDetailLayout/SetupDetailLayout.module.css +0 -116
- package/src/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -34
- package/src/layout/SetupDetailLayout/index.js +0 -4
- package/src/layout/SubtabLayout/SubtabLayout.js +0 -235
- package/src/layout/SubtabLayout/SubtabLayout.module.css +0 -120
- package/src/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -53
- package/src/layout/SubtabLayout/index.js +0 -4
- package/src/list/AvatarFlip/AvatarFlip.js +0 -106
- package/src/list/AvatarFlip/AvatarFlip.module.css +0 -3
- package/src/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -82
- package/src/list/BluePrintStatus/BluePrintStatus.js +0 -28
- package/src/list/BluePrintStatus/BluePrintStatus.module.css +0 -14
- package/src/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -20
- package/src/list/Comment/Comment.js +0 -51
- package/src/list/Comment/Comment.module.css +0 -24
- package/src/list/Comment/docs/Comment__default.docs.js +0 -22
- package/src/list/DepartmentDropDown/DepartmentDropDown.js +0 -119
- package/src/list/DepartmentDropDown/DepartmentDropDown.module.css +0 -9
- package/src/list/Dot/Dot.js +0 -27
- package/src/list/Dot/Dot.module.css +0 -15
- package/src/list/DotNew/DotNew.js +0 -29
- package/src/list/DotNew/DotNew.module.css +0 -22
- 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 -102
- package/src/list/GridStencils/docs/GridStencils__default.docs.js +0 -30
- package/src/list/Icons/AddNewIcon.js +0 -29
- package/src/list/Icons/CompleteIcon.js +0 -30
- package/src/list/Icons/DeleteIcon.js +0 -31
- package/src/list/Icons/EditIcon.js +0 -31
- package/src/list/Icons/FloatingIcons.js +0 -32
- package/src/list/Icons/Icons.module.css +0 -16
- package/src/list/Icons/ReadUnreadIcon.js +0 -42
- package/src/list/Icons/SmartIcon.js +0 -32
- package/src/list/Icons/docs/FloatingIcons__default.docs.js +0 -26
- package/src/list/ListLayout/ListLayout.js +0 -117
- package/src/list/ListLayout/ListLayout.module.css +0 -50
- package/src/list/ListLayout/docs/ListLayout__default.docs.js +0 -54
- package/src/list/ListStencils/ListStencils.js +0 -45
- package/src/list/ListStencils/ListStencils.module.css +0 -62
- package/src/list/ListStencils/docs/ListStencils__default.docs.js +0 -18
- package/src/list/SecondaryText/AccountName.js +0 -130
- package/src/list/SecondaryText/ContactName.js +0 -137
- package/src/list/SecondaryText/DepartmentText.js +0 -34
- package/src/list/SecondaryText/Email.js +0 -86
- package/src/list/SecondaryText/HappinessRating.js +0 -37
- package/src/list/SecondaryText/PhoneNumber.js +0 -93
- package/src/list/SecondaryText/PriorityText.js +0 -40
- package/src/list/SecondaryText/SecondaryText.js +0 -43
- package/src/list/SecondaryText/SecondaryText.module.css +0 -126
- package/src/list/SecondaryText/StatusText.js +0 -42
- package/src/list/SecondaryText/TicketId.js +0 -78
- package/src/list/SecondaryText/Website.js +0 -59
- 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 -144
- package/src/list/SecondryPanel/SecondryPanel.module.css +0 -6
- package/src/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -37
- package/src/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -90
- 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/Subject/Subject.js +0 -88
- package/src/list/Subject/Subject.module.css +0 -27
- package/src/list/Subject/docs/Subject__default.docs.js +0 -34
- package/src/list/TagNew/TagNew.js +0 -40
- 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 -43
- package/src/list/Thread/Thread.module.css +0 -31
- package/src/list/Thread/docs/Thread__default.docs.js +0 -18
- package/src/list/UserTime/UserTime.js +0 -138
- package/src/list/UserTime/UserTime.module.css +0 -52
- package/src/list/UserTime/docs/UserTime__default.docs.js +0 -114
- package/src/list/listCommon.module.css +0 -52
- package/src/list/status/StatusDropdown/StatusDropdown.js +0 -538
- package/src/list/status/StatusDropdown/StatusDropdown.module.css +0 -76
- package/src/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -92
- package/src/list/status/StatusListItem/StatusListItem.js +0 -149
- package/src/list/status/StatusListItem/StatusListItem.module.css +0 -81
- package/src/list/status/StatusListItem/docs/StatusListItem__default.docs.js +0 -19
- 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 -113
- package/src/lookup/Lookup/Lookup.module.css +0 -26
- package/src/lookup/Lookup/docs/Lookup__contact.docs.js +0 -184
- package/src/lookup/Lookup/docs/Lookup__default.docs.js +0 -59
- package/src/lookup/Section/LookupSection.module.css +0 -8
- 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 -97
- package/src/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -40
- package/src/lookup/header/Search/LookupSearch.module.css +0 -48
- package/src/lookup/header/Search/Search.js +0 -249
- package/src/lookup/header/Search/docs/Search__default.docs.js +0 -106
- package/src/lookup/header/TicketHeader/TicketHeader.js +0 -123
- 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 -38
- package/src/lookup/header/Title/docs/Title__default.docs.js +0 -17
- package/src/lookup/header/ViewDropDown/ViewDropDown.js +0 -199
- package/src/lookup/header/ViewDropDown/ViewDropDown.module.css +0 -46
- package/src/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -54
- package/src/lookup/header/lookupHeaderCommon.module.css +0 -25
- 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 -15
- 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 -87
- package/src/setup/header/Search/Search.module.css +0 -57
- package/src/setup/header/Search/docs/Search__default.docs.js +0 -32
- 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 -39
- 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 -31
- package/src/setup/table/Table/docs/Table__default.docs.js +0 -115
- package/src/setup/table/TableBody/TableBody.js +0 -37
- package/src/setup/table/TableData/SetupTableData.module.css +0 -36
- package/src/setup/table/TableData/TableData.js +0 -56
- package/src/setup/table/TableData/Tablehover.module.css +0 -6
- package/src/setup/table/TableHead/SetupTableHead.module.css +0 -8
- package/src/setup/table/TableHead/TableHead.js +0 -53
- package/src/setup/table/TableRow/SetupTableRow.module.css +0 -10
- package/src/setup/table/TableRow/TableRow.js +0 -60
- package/src/setup/table/Text/TableText.module.css +0 -37
- package/src/setup/table/Text/Text.js +0 -82
- 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 -34
- package/src/svg/docs/SVG__default.docs.js +0 -46
- package/src/utils/ChannelIconMapping.js +0 -130
- package/src/utils/Common.js +0 -20
- package/src/utils/General.js +0 -58
- package/src/utils/KeyboardApi.js +0 -280
- package/src/utils/editorUtils.js +0 -189
- package/src/version2/AlertClose/AlertClose.js +0 -45
- package/src/version2/AlertClose/AlertClose.module.css +0 -43
- package/src/version2/AlertClose/docs/AlertClose__default.docs.js +0 -46
- package/src/version2/GlobalNotification/GlobalNotification.js +0 -120
- package/src/version2/GlobalNotification/GlobalNotification.module.css +0 -90
- package/src/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +0 -94
- package/src/version2/alertIcons/AlarmAlertIcon.js +0 -32
- package/src/version2/alertIcons/AlertIcons.js +0 -61
- package/src/version2/alertIcons/AlertIcons.module.css +0 -67
- package/src/version2/alertIcons/DangerAlertIcon.js +0 -33
- package/src/version2/alertIcons/ErrorAlertIcon.js +0 -34
- package/src/version2/alertIcons/InfoAlertIcon.js +0 -35
- package/src/version2/alertIcons/NotificationAlertIcon.js +0 -32
- package/src/version2/alertIcons/SuccessAlertIcon.js +0 -31
- package/src/version2/alertIcons/WarningAlertIcon.js +0 -31
- package/src/version2/alertIcons/docs/AlertIcons__default.docs.js +0 -123
- package/src/version2/errorstate/Inconvenience/Inconvenience.js +0 -98
- package/src/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -19
- package/src/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +0 -99
- package/src/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +0 -21
- package/src/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +0 -98
- package/src/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +0 -31
- package/src/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -102
- package/src/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +0 -19
- package/src/version2/errorstate/UrlNotFound/UrlNotFound.js +0 -98
- package/src/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +0 -21
- package/src/version2/errorstate/V2_ErrorStates.module.css +0 -47
- package/src/version2/errorstate/WillBeRightBack/WillBeRightBack.js +0 -98
- package/src/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +0 -19
- package/src/version2/lookup/AlertHeader/AlertHeader.js +0 -100
- package/src/version2/lookup/AlertHeader/AlertHeaderNew.module.css +0 -64
- package/src/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +0 -66
- package/src/version2/lookup/AlertLookup/AlertLookup.js +0 -290
- package/src/version2/lookup/AlertLookup/AlertLookupNew.module.css +0 -40
- package/src/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +0 -150
- package/src/version2/lookup/alertLookupCommonNew.module.css +0 -26
- package/src/version2/notification/DesktopNotification/DesktopNotification.js +0 -258
- package/src/version2/notification/DesktopNotification/DesktopNotification.module.css +0 -90
- package/src/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +0 -86
- package/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +0 -92
- package/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +0 -100
- package/src/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +0 -51
|
@@ -1,186 +0,0 @@
|
|
|
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
|
-
|
|
9
|
-
export default class IconButton extends React.Component {
|
|
10
|
-
constructor(props) {
|
|
11
|
-
super(props);
|
|
12
|
-
this.state = { isPressed: false };
|
|
13
|
-
this.handleToggle = this.handleToggle.bind(this);
|
|
14
|
-
this.triggerClick = this.triggerClick.bind(this);
|
|
15
|
-
this.triggerMouseDown = this.triggerMouseDown.bind(this);
|
|
16
|
-
this.triggerMouseOver = this.triggerMouseOver.bind(this);
|
|
17
|
-
this.onBlur = this.onBlur.bind(this);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
handleToggle(e) {
|
|
21
|
-
if (e.key === ' ' || e.key === 'Enter' || e.key === 'Spacebar') {
|
|
22
|
-
e.preventDefault();
|
|
23
|
-
this.triggerClick(e);
|
|
24
|
-
this.triggerMouseDown(e);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
triggerClick(e) {
|
|
29
|
-
let { onClick, isDisabled } = this.props;
|
|
30
|
-
!isDisabled
|
|
31
|
-
? (onClick && onClick(e), this.setState({ isPressed: true }))
|
|
32
|
-
: null;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
triggerMouseOver(e) {
|
|
36
|
-
let { onMouseOver, isDisabled } = this.props;
|
|
37
|
-
!isDisabled
|
|
38
|
-
? (onMouseOver && onMouseOver(e), this.setState({ isPressed: true }))
|
|
39
|
-
: null;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
triggerMouseDown(e) {
|
|
43
|
-
let { onMouseDown, isDisabled } = this.props;
|
|
44
|
-
!isDisabled
|
|
45
|
-
? (onMouseDown && onMouseDown(e), this.setState({ isPressed: true }))
|
|
46
|
-
: null;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
onBlur(e) {
|
|
50
|
-
let { isDisabled } = this.props;
|
|
51
|
-
!isDisabled ? this.setState({ isPressed: false }) : null;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
render() {
|
|
55
|
-
let {
|
|
56
|
-
palette,
|
|
57
|
-
iconSize,
|
|
58
|
-
iconName,
|
|
59
|
-
className,
|
|
60
|
-
iconClass,
|
|
61
|
-
dataId,
|
|
62
|
-
eleRef,
|
|
63
|
-
isActive,
|
|
64
|
-
tourId,
|
|
65
|
-
isDisabled,
|
|
66
|
-
children,
|
|
67
|
-
hoverType,
|
|
68
|
-
title,
|
|
69
|
-
isBold,
|
|
70
|
-
isNeedEffect,
|
|
71
|
-
needButtonTag,
|
|
72
|
-
a11y,
|
|
73
|
-
dataIsHtml
|
|
74
|
-
} = this.props;
|
|
75
|
-
let { isPressed } = this.state;
|
|
76
|
-
let {
|
|
77
|
-
ariaHaspopup,
|
|
78
|
-
ariaExpanded,
|
|
79
|
-
ariaLabel,
|
|
80
|
-
ariaControls,
|
|
81
|
-
ariaLabelledby
|
|
82
|
-
} = a11y;
|
|
83
|
-
return (
|
|
84
|
-
<RippleEffect
|
|
85
|
-
palette={palette}
|
|
86
|
-
isActive={isActive}
|
|
87
|
-
hoverType={hoverType}
|
|
88
|
-
isDisabled={isDisabled}
|
|
89
|
-
isNeedEffect={isNeedEffect}
|
|
90
|
-
>
|
|
91
|
-
<Container
|
|
92
|
-
aria-label={ariaLabel}
|
|
93
|
-
aria-haspopup={ariaHaspopup}
|
|
94
|
-
aria-expanded={ariaExpanded}
|
|
95
|
-
aria-controls={ariaControls}
|
|
96
|
-
aria-labelledby={ariaLabelledby}
|
|
97
|
-
tagName={needButtonTag ? 'button' : 'div'}
|
|
98
|
-
isInline
|
|
99
|
-
tourId={tourId}
|
|
100
|
-
align='both'
|
|
101
|
-
isCover={false}
|
|
102
|
-
className={`${needButtonTag && btnStyle.buttonReset} ${
|
|
103
|
-
style.wrapper
|
|
104
|
-
} ${className ? className : ''} ${
|
|
105
|
-
isActive ? style[`${palette}_active`] : style[palette]
|
|
106
|
-
}`}
|
|
107
|
-
dataId={dataId}
|
|
108
|
-
onClick={this.triggerClick}
|
|
109
|
-
data-title={title}
|
|
110
|
-
data-ishtml={dataIsHtml}
|
|
111
|
-
eleRef={eleRef}
|
|
112
|
-
onMouseDown={this.triggerMouseDown}
|
|
113
|
-
onMouseEnter={this.triggerMouseOver}
|
|
114
|
-
aria-pressed={isPressed}
|
|
115
|
-
onKeyDown={this.handleToggle}
|
|
116
|
-
onFocus={this.triggerMouseOver}
|
|
117
|
-
onBlur={this.onBlur}
|
|
118
|
-
disabled={isDisabled}
|
|
119
|
-
>
|
|
120
|
-
{iconName ? (
|
|
121
|
-
<Icon
|
|
122
|
-
isBold={isBold}
|
|
123
|
-
size={iconSize}
|
|
124
|
-
name={iconName}
|
|
125
|
-
iconClass={iconClass}
|
|
126
|
-
/>
|
|
127
|
-
) : null}
|
|
128
|
-
{children ? children : null}
|
|
129
|
-
</Container>
|
|
130
|
-
</RippleEffect>
|
|
131
|
-
);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
IconButton.propTypes = {
|
|
136
|
-
children: PropTypes.node,
|
|
137
|
-
className: PropTypes.string,
|
|
138
|
-
dataId: PropTypes.string,
|
|
139
|
-
eleRef: PropTypes.func,
|
|
140
|
-
hoverType: PropTypes.oneOf(['default', 'border', 'bg']),
|
|
141
|
-
iconClass: PropTypes.string,
|
|
142
|
-
iconName: PropTypes.string,
|
|
143
|
-
iconSize: PropTypes.string,
|
|
144
|
-
isActive: PropTypes.bool,
|
|
145
|
-
isBold: PropTypes.bool,
|
|
146
|
-
isDisabled: PropTypes.bool,
|
|
147
|
-
isNeedEffect: PropTypes.bool,
|
|
148
|
-
onClick: PropTypes.func,
|
|
149
|
-
onMouseDown: PropTypes.func,
|
|
150
|
-
onMouseOver: PropTypes.func,
|
|
151
|
-
palette: PropTypes.oneOf(['primary', 'primaryFilled', 'default']),
|
|
152
|
-
title: PropTypes.string,
|
|
153
|
-
tourId: PropTypes.string,
|
|
154
|
-
isNeedEffect: PropTypes.bool,
|
|
155
|
-
needButtonTag: PropTypes.bool,
|
|
156
|
-
a11y: PropTypes.shape({
|
|
157
|
-
ariaHaspopup: PropTypes.bool,
|
|
158
|
-
ariaExpanded: PropTypes.bool,
|
|
159
|
-
ariaLabel: PropTypes.string,
|
|
160
|
-
ariaControls: PropTypes.string,
|
|
161
|
-
ariaLabelledby: PropTypes.string
|
|
162
|
-
}),
|
|
163
|
-
dataIsHtml: PropTypes.bool
|
|
164
|
-
};
|
|
165
|
-
|
|
166
|
-
IconButton.defaultProps = {
|
|
167
|
-
palette: 'default',
|
|
168
|
-
iconSize: '13',
|
|
169
|
-
className: '',
|
|
170
|
-
iconClass: '',
|
|
171
|
-
dataId: 'iconContainer',
|
|
172
|
-
isActive: false,
|
|
173
|
-
isDisabled: false,
|
|
174
|
-
hoverType: 'default',
|
|
175
|
-
isBold: false,
|
|
176
|
-
isNeedEffect: true,
|
|
177
|
-
needButtonTag: true,
|
|
178
|
-
a11y: {},
|
|
179
|
-
dataIsHtml: false
|
|
180
|
-
};
|
|
181
|
-
|
|
182
|
-
if (__DOCS__) {
|
|
183
|
-
IconButton.docs = {
|
|
184
|
-
componentGroup: 'Atom'
|
|
185
|
-
};
|
|
186
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
--iconColor: var(--zdt_iconButton_icon_black);
|
|
3
|
-
}
|
|
4
|
-
.wrapper {
|
|
5
|
-
height: var(--zd_size28);
|
|
6
|
-
cursor: pointer;
|
|
7
|
-
width: var(--zd_size28);
|
|
8
|
-
composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
|
|
9
|
-
composes: varClass;
|
|
10
|
-
color: var(--iconColor);
|
|
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
|
-
}
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
import IconButton from '../IconButton';
|
|
3
|
-
export default class IconButton__default extends Component {
|
|
4
|
-
render() {
|
|
5
|
-
return (
|
|
6
|
-
<React.Fragment>
|
|
7
|
-
<div style={{ margin: '10px' }}>
|
|
8
|
-
<h3 style={{ margin: '30px' }}>isBold</h3>
|
|
9
|
-
<span style={{ margin: '30px' }}>
|
|
10
|
-
<IconButton
|
|
11
|
-
iconSize='12'
|
|
12
|
-
iconName='ZD-commentNew'
|
|
13
|
-
palette='primary'
|
|
14
|
-
isBold
|
|
15
|
-
/>
|
|
16
|
-
</span>
|
|
17
|
-
<span style={{ margin: '30px' }}>
|
|
18
|
-
<IconButton
|
|
19
|
-
isBold
|
|
20
|
-
iconSize='12'
|
|
21
|
-
iconName='ZD-more'
|
|
22
|
-
palette='secondary'
|
|
23
|
-
/>
|
|
24
|
-
</span>
|
|
25
|
-
<span style={{ margin: '30px' }}>
|
|
26
|
-
<IconButton
|
|
27
|
-
iconSize='12'
|
|
28
|
-
iconName='ZD-commentNew'
|
|
29
|
-
palette='primaryFilled'
|
|
30
|
-
isBold
|
|
31
|
-
/>
|
|
32
|
-
</span>
|
|
33
|
-
</div>
|
|
34
|
-
<div style={{ margin: '10px' }}>
|
|
35
|
-
<h3 style={{ margin: '30px' }}>Palette</h3>
|
|
36
|
-
<span style={{ margin: '30px' }}>
|
|
37
|
-
<IconButton
|
|
38
|
-
iconSize='12'
|
|
39
|
-
iconName='ZD-commentNew'
|
|
40
|
-
palette='primary'
|
|
41
|
-
onClick={() => {
|
|
42
|
-
console.log('click');
|
|
43
|
-
}}
|
|
44
|
-
onMouseDown={() => {
|
|
45
|
-
console.log('Down');
|
|
46
|
-
}}
|
|
47
|
-
onMouseOver={() => {
|
|
48
|
-
console.log('over');
|
|
49
|
-
}}
|
|
50
|
-
/>
|
|
51
|
-
</span>
|
|
52
|
-
<span style={{ margin: '30px' }}>
|
|
53
|
-
<IconButton iconSize='12' iconName='ZD-more' />
|
|
54
|
-
</span>
|
|
55
|
-
<span style={{ margin: '30px' }}>
|
|
56
|
-
<IconButton
|
|
57
|
-
iconSize='12'
|
|
58
|
-
iconName='ZD-commentNew'
|
|
59
|
-
palette='primaryFilled'
|
|
60
|
-
/>
|
|
61
|
-
</span>
|
|
62
|
-
</div>
|
|
63
|
-
<div style={{ margin: '10px' }}>
|
|
64
|
-
<h3 style={{ margin: '30px' }}>isActive</h3>
|
|
65
|
-
<span style={{ margin: '30px' }}>
|
|
66
|
-
<IconButton
|
|
67
|
-
iconSize='12'
|
|
68
|
-
iconName='ZD-commentNew'
|
|
69
|
-
palette='primary'
|
|
70
|
-
isActive
|
|
71
|
-
/>
|
|
72
|
-
</span>
|
|
73
|
-
<span style={{ margin: '30px' }}>
|
|
74
|
-
<IconButton iconSize='12' iconName='ZD-more' isActive />
|
|
75
|
-
</span>
|
|
76
|
-
<span style={{ margin: '30px' }}>
|
|
77
|
-
<IconButton
|
|
78
|
-
iconSize='12'
|
|
79
|
-
iconName='ZD-commentNew'
|
|
80
|
-
palette='primaryFilled'
|
|
81
|
-
isActive
|
|
82
|
-
/>
|
|
83
|
-
</span>
|
|
84
|
-
</div>
|
|
85
|
-
<div style={{ margin: '10px' }}>
|
|
86
|
-
<h3 style={{ margin: '30px' }}>Border On Hover</h3>
|
|
87
|
-
<span style={{ margin: '30px' }}>
|
|
88
|
-
<IconButton
|
|
89
|
-
iconSize='12'
|
|
90
|
-
iconName='ZD-commentNew'
|
|
91
|
-
palette='primary'
|
|
92
|
-
hoverType='border'
|
|
93
|
-
/>
|
|
94
|
-
</span>
|
|
95
|
-
<span style={{ margin: '30px' }}>
|
|
96
|
-
<IconButton iconSize='12' iconName='ZD-more' hoverType='border' />
|
|
97
|
-
</span>
|
|
98
|
-
</div>
|
|
99
|
-
<div style={{ margin: '10px' }}>
|
|
100
|
-
<h3 style={{ margin: '30px' }}>isDisabled</h3>
|
|
101
|
-
<span style={{ margin: '30px' }}>
|
|
102
|
-
<IconButton
|
|
103
|
-
iconSize='12'
|
|
104
|
-
iconName='ZD-commentNew'
|
|
105
|
-
palette='primary'
|
|
106
|
-
isDisabled
|
|
107
|
-
/>
|
|
108
|
-
</span>
|
|
109
|
-
<span style={{ margin: '30px' }}>
|
|
110
|
-
<IconButton iconSize='12' iconName='ZD-more' isDisabled />
|
|
111
|
-
</span>
|
|
112
|
-
<span style={{ margin: '30px' }}>
|
|
113
|
-
<IconButton
|
|
114
|
-
iconSize='12'
|
|
115
|
-
iconName='ZD-commentNew'
|
|
116
|
-
palette='primaryFilled'
|
|
117
|
-
isDisabled
|
|
118
|
-
/>
|
|
119
|
-
</span>
|
|
120
|
-
</div>
|
|
121
|
-
<div style={{ margin: '10px' }}>
|
|
122
|
-
<h3 style={{ margin: '30px' }}>Tooltip</h3>
|
|
123
|
-
<span style={{ margin: '30px' }}>
|
|
124
|
-
<IconButton
|
|
125
|
-
iconSize='12'
|
|
126
|
-
iconName='ZD-commentNew'
|
|
127
|
-
palette='primary'
|
|
128
|
-
isDisabled
|
|
129
|
-
title='primary'
|
|
130
|
-
/>
|
|
131
|
-
</span>
|
|
132
|
-
<span style={{ margin: '30px' }}>
|
|
133
|
-
<IconButton
|
|
134
|
-
iconSize='12'
|
|
135
|
-
iconName='ZD-more'
|
|
136
|
-
isDisabled
|
|
137
|
-
title='default'
|
|
138
|
-
/>
|
|
139
|
-
</span>
|
|
140
|
-
<span style={{ margin: '30px' }}>
|
|
141
|
-
<IconButton
|
|
142
|
-
iconSize='12'
|
|
143
|
-
iconName='ZD-commentNew'
|
|
144
|
-
palette='primaryFilled'
|
|
145
|
-
isDisabled
|
|
146
|
-
title='primaryFilled'
|
|
147
|
-
/>
|
|
148
|
-
</span>
|
|
149
|
-
</div>
|
|
150
|
-
</React.Fragment>
|
|
151
|
-
);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
if (__DOCS__) {
|
|
155
|
-
IconButton__default.docs = {
|
|
156
|
-
componentGroup: 'Atom'
|
|
157
|
-
};
|
|
158
|
-
}
|
package/src/Image/Image.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import style from './Image.module.css';
|
|
4
|
-
|
|
5
|
-
export default class Image extends React.Component {
|
|
6
|
-
render() {
|
|
7
|
-
let {
|
|
8
|
-
alt,
|
|
9
|
-
src,
|
|
10
|
-
className,
|
|
11
|
-
isCover,
|
|
12
|
-
title,
|
|
13
|
-
onClick,
|
|
14
|
-
dataId,
|
|
15
|
-
htmlId,
|
|
16
|
-
eleRef,
|
|
17
|
-
original
|
|
18
|
-
} = this.props;
|
|
19
|
-
return (
|
|
20
|
-
<img
|
|
21
|
-
src={src}
|
|
22
|
-
alt={alt}
|
|
23
|
-
data-title={title}
|
|
24
|
-
data-id={dataId}
|
|
25
|
-
className={` ${className} ${
|
|
26
|
-
isCover ? style.imgFullSize : style.imgMaxFullSize
|
|
27
|
-
} `}
|
|
28
|
-
onClick={onClick}
|
|
29
|
-
id={htmlId}
|
|
30
|
-
ref={eleRef}
|
|
31
|
-
data-original={original}
|
|
32
|
-
/>
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
Image.propTypes = {
|
|
38
|
-
alt: PropTypes.string.isRequired,
|
|
39
|
-
className: PropTypes.string,
|
|
40
|
-
dataId: PropTypes.string,
|
|
41
|
-
eleRef: PropTypes.func,
|
|
42
|
-
htmlId: PropTypes.string,
|
|
43
|
-
isCover: PropTypes.bool,
|
|
44
|
-
onClick: PropTypes.func,
|
|
45
|
-
original: PropTypes.string,
|
|
46
|
-
src: PropTypes.string.isRequired,
|
|
47
|
-
title: PropTypes.string
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
Image.defaultProps = {
|
|
51
|
-
isCover: false,
|
|
52
|
-
className: ''
|
|
53
|
-
};
|
|
54
|
-
if (__DOCS__) {
|
|
55
|
-
Image.docs = {
|
|
56
|
-
componentGroup: 'Atom'
|
|
57
|
-
};
|
|
58
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import Image from '../Image';
|
|
4
|
-
export default class Image__default extends Component {
|
|
5
|
-
render() {
|
|
6
|
-
return (
|
|
7
|
-
<div style={{ height: '120px', width: '120px' }}>
|
|
8
|
-
<Image src='https://hjemly.dk/wp-content/uploads/2016/05/facebook-default-no-profile-pic.jpg' />
|
|
9
|
-
</div>
|
|
10
|
-
);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
if (__DOCS__) {
|
|
15
|
-
Image__default.docs = {
|
|
16
|
-
componentGroup: 'Atom'
|
|
17
|
-
};
|
|
18
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
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
|
-
|
|
7
|
-
export default class ImportantNotes extends React.Component {
|
|
8
|
-
constructor(props) {
|
|
9
|
-
super(props);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
render() {
|
|
13
|
-
let { text, iconName, iconSize, children, iconClass, isCover } = this.props;
|
|
14
|
-
return (
|
|
15
|
-
<Container
|
|
16
|
-
isInline={!isCover}
|
|
17
|
-
isCover={false}
|
|
18
|
-
alignBox='row'
|
|
19
|
-
align='top'
|
|
20
|
-
className={style.section}
|
|
21
|
-
>
|
|
22
|
-
{iconName ? (
|
|
23
|
-
<Box className={style.icon} align='start'>
|
|
24
|
-
<Icon name={iconName} size={iconSize} iconClass={iconClass} />
|
|
25
|
-
</Box>
|
|
26
|
-
) : null}
|
|
27
|
-
{text || children ? (
|
|
28
|
-
<Box flexible className={style.title}>
|
|
29
|
-
{text}
|
|
30
|
-
{children ? children : null}
|
|
31
|
-
</Box>
|
|
32
|
-
) : null}
|
|
33
|
-
</Container>
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
ImportantNotes.propTypes = {
|
|
38
|
-
children: PropTypes.node,
|
|
39
|
-
iconClass: PropTypes.string,
|
|
40
|
-
iconName: PropTypes.string,
|
|
41
|
-
iconSize: PropTypes.string,
|
|
42
|
-
isCover: PropTypes.bool,
|
|
43
|
-
text: PropTypes.string
|
|
44
|
-
};
|
|
45
|
-
ImportantNotes.defaultProps = {
|
|
46
|
-
iconName: 'ZD-helpCentre',
|
|
47
|
-
iconSize: '14',
|
|
48
|
-
iconClass: '',
|
|
49
|
-
isCover: true
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
if (__DOCS__) {
|
|
53
|
-
ImportantNotes.docs = {
|
|
54
|
-
componentGroup: 'Common',
|
|
55
|
-
folderName: 'General'
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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: 1.38;
|
|
8
|
-
color: var(--zdt_importantnotes_title_text);
|
|
9
|
-
}
|
|
10
|
-
.icon {
|
|
11
|
-
margin-top: var(--zd_size1);
|
|
12
|
-
margin-right: var(--zd_size5);
|
|
13
|
-
color: var(--zdt_importantnotes_icon);
|
|
14
|
-
font-size: 0;
|
|
15
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
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 (
|
|
11
|
-
<ImportantNotes 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
|
-
</ImportantNotes>
|
|
14
|
-
);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
if (__DOCS__) {
|
|
18
|
-
ImportantNotes__default.docs = {
|
|
19
|
-
componentGroup: 'Common',
|
|
20
|
-
folderName: 'General'
|
|
21
|
-
};
|
|
22
|
-
}
|
package/src/Link/Link.js
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import style from './Link.module.css';
|
|
4
|
-
import LinkContext from './LinkContext.js';
|
|
5
|
-
|
|
6
|
-
export default class Link extends React.Component {
|
|
7
|
-
constructor(props, context) {
|
|
8
|
-
super(props, context);
|
|
9
|
-
this.onCallBack = this.onCallBack.bind(this);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
onCallBack(urlOutput, href, e) {
|
|
13
|
-
let { onClick, hasReload, target } = this.props;
|
|
14
|
-
let { onCallBack } = this.context.options;
|
|
15
|
-
if (e && (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey)) {
|
|
16
|
-
e && e.stopPropagation();
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
onClick && onClick(e);
|
|
20
|
-
if (!hasReload && target != '_blank') {
|
|
21
|
-
e && e.preventDefault();
|
|
22
|
-
}
|
|
23
|
-
e && e.stopPropagation();
|
|
24
|
-
!onClick && onCallBack && onCallBack(urlOutput, href, e);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
addHttp(url) {
|
|
28
|
-
/* eslint-disable */
|
|
29
|
-
if (!/^(f|ht)tps?:\/\//i.test(url)) {
|
|
30
|
-
url = 'http://' + url;
|
|
31
|
-
}
|
|
32
|
-
/* eslint-enable */
|
|
33
|
-
return url;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
render() {
|
|
37
|
-
let {
|
|
38
|
-
children,
|
|
39
|
-
href,
|
|
40
|
-
target,
|
|
41
|
-
urlData,
|
|
42
|
-
urlName,
|
|
43
|
-
className,
|
|
44
|
-
title,
|
|
45
|
-
download,
|
|
46
|
-
rel,
|
|
47
|
-
dataId,
|
|
48
|
-
customProps
|
|
49
|
-
} = this.props;
|
|
50
|
-
let { isLink, constructURL } = this.context.options;
|
|
51
|
-
let urlOutput = href ? href : constructURL(urlName, urlData);
|
|
52
|
-
let option = {};
|
|
53
|
-
if (download) {
|
|
54
|
-
option.download = true;
|
|
55
|
-
}
|
|
56
|
-
let ignoreKeys = [
|
|
57
|
-
'children',
|
|
58
|
-
'href',
|
|
59
|
-
'target',
|
|
60
|
-
'urlData',
|
|
61
|
-
'urlName',
|
|
62
|
-
'className',
|
|
63
|
-
'title',
|
|
64
|
-
'download',
|
|
65
|
-
'rel',
|
|
66
|
-
'dataId',
|
|
67
|
-
'hasReload',
|
|
68
|
-
'customProps',
|
|
69
|
-
'option'
|
|
70
|
-
];
|
|
71
|
-
let others = Object.keys(this.props)
|
|
72
|
-
.filter(key => ignoreKeys.indexOf(key) == -1)
|
|
73
|
-
.reduce((res, key) => {
|
|
74
|
-
res[key] = this.props[key];
|
|
75
|
-
return res;
|
|
76
|
-
}, {});
|
|
77
|
-
|
|
78
|
-
//urlOutput = this.addHttp(urlOutput);
|
|
79
|
-
return (
|
|
80
|
-
<a
|
|
81
|
-
href={isLink && urlOutput ? urlOutput : 'javascript:void(0);'}
|
|
82
|
-
target={target}
|
|
83
|
-
data-title={title}
|
|
84
|
-
className={`${style.container} ${className ? className : ''}`}
|
|
85
|
-
{...option}
|
|
86
|
-
rel={rel}
|
|
87
|
-
data-id={dataId}
|
|
88
|
-
{...others}
|
|
89
|
-
onClick={this.onCallBack.bind(this, urlOutput, href)}
|
|
90
|
-
{...customProps}
|
|
91
|
-
>
|
|
92
|
-
{children}
|
|
93
|
-
</a>
|
|
94
|
-
);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
Link.contextType = LinkContext;
|
|
99
|
-
|
|
100
|
-
Link.defaultProps = {
|
|
101
|
-
rel: 'noopener noreferrer',
|
|
102
|
-
hasReload: false,
|
|
103
|
-
customProps:{}
|
|
104
|
-
};
|
|
105
|
-
Link.propTypes = {
|
|
106
|
-
children: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
107
|
-
className: PropTypes.string,
|
|
108
|
-
dataId: PropTypes.string,
|
|
109
|
-
hasReload: PropTypes.bool,
|
|
110
|
-
href: PropTypes.string,
|
|
111
|
-
rel: PropTypes.string,
|
|
112
|
-
target: PropTypes.oneOf(['_blank', '_self']),
|
|
113
|
-
title: PropTypes.string,
|
|
114
|
-
urlData: PropTypes.object,
|
|
115
|
-
urlName: PropTypes.string,
|
|
116
|
-
customProps:PropTypes.object
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
if (__DOCS__) {
|
|
120
|
-
Link.docs = {
|
|
121
|
-
componentGroup: 'Atom'
|
|
122
|
-
};
|
|
123
|
-
}
|
package/src/Link/Link.module.css
DELETED