@zohodesk/dot 1.0.0-temp-85 → 1.0.0-temp-88
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 +10 -0
- package/assets/Appearance/dark/mode/dotDarkMode.module.css +0 -1
- package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +1 -1
- package/assets/Appearance/default/mode/dotDefaultMode.module.css +0 -1
- package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +1 -1
- 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/es/ActionButton/ActionButton.js +7 -3
- package/es/ActionButton/docs/ActionButton__default.docs.js +144 -0
- package/es/AlphabeticList/docs/AlphabeticList__default.docs.js +34 -0
- package/es/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +43 -0
- package/es/Attachment/docs/Attachment__default.docs.js +54 -0
- package/es/AttachmentViewer/docs/AttachmentViewer__default.docs.js +70 -0
- package/es/ChannelIcon/docs/ChannelIcon__default.docs.js +57 -0
- package/es/Drawer/docs/Drawer__default.docs.js +87 -0
- package/es/Drawer/docs/Drawer__multiDrawer.docs.js +112 -0
- package/es/Drawer/docs/Drawer__noFreeze.docs.js +20 -0
- package/es/Drawer/docs/Drawer__withModal.docs.js +74 -0
- package/es/ExternalLink/docs/ExternalLink__default.docs.js +19 -0
- package/es/FlipCard/FlipCard.js +3 -15
- package/es/FlipCard/FlipCard.module.css +13 -84
- package/es/FlipCard/docs/FlipCard__default.docs.js +66 -0
- package/es/FormAction/docs/FormAction__default.docs.js +72 -0
- package/es/FreezeLayer/docs/FreezeLayer__dark.docs.js +51 -0
- package/es/FreezeLayer/docs/FreezeLayer__default.docs.js +48 -0
- package/es/IconButton/docs/IconButton__default.docs.js +219 -0
- package/es/Image/docs/Image__default.docs.js +22 -0
- package/es/ImportantNotes/docs/ImportantNotes__default.docs.js +22 -0
- package/es/Link/docs/Link__default.docs.js +36 -0
- package/es/Loader/docs/Loader__default.docs.js +23 -0
- package/es/Message/docs/Message__default.docs.js +55 -0
- package/es/MessageBanner/docs/MessageBanner__default.docs.js +88 -0
- package/es/NewStar/docs/NewStar__default.docs.js +62 -0
- package/es/PlusIcon/docs/PlusIcon__default.docs.js +16 -0
- package/es/Provider.js +91 -36
- package/es/ToastMessage/docs/ToastMessage__custom.docs.js +92 -0
- package/es/ToastMessage/docs/ToastMessage__information.docs.js +54 -0
- package/es/ToastMessage/docs/ToastMessage__primary.docs.js +125 -0
- package/es/ToastMessage/docs/ToastMessage__secondary.docs.js +37 -0
- package/es/ToastMessage/docs/ToastMessage__success.docs.js +61 -0
- package/es/Upload/docs/Upload__default.docs.js +61 -0
- package/es/alert/AlertHeader/docs/AlertHeader__default.docs.js +63 -0
- package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +132 -0
- package/es/avatar/AvatarClose/docs/AvatarClose__default.docs.js +26 -0
- package/es/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +35 -0
- package/es/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +40 -0
- package/es/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +46 -0
- package/es/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +35 -0
- package/es/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +51 -0
- package/es/avatar/AvatarThread/docs/AvatarThread__default.docs.js +147 -0
- package/es/avatar/AvatarUser/docs/AvatarUser__default.docs.js +173 -0
- package/es/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +24 -0
- package/es/deprecated/SelectDropdown/SelectDropdown.js +59 -35
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +1 -0
- package/es/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +34 -0
- package/es/docs/formDocs.js +26 -0
- package/es/docs/generalDocs.js +135 -0
- package/es/docs/lookupDocs.js +44 -0
- package/es/docs/setupDocs.js +22 -0
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +183 -160
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +3 -0
- package/es/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +228 -0
- package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +111 -0
- package/es/emptystate/EditionPage/docs/EditionPage__default.docs.js +21 -0
- package/es/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +19 -0
- package/es/errorstate/LinkText/docs/LinkText__default.docs.js +17 -0
- package/es/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +19 -0
- package/es/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +20 -0
- package/es/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +19 -0
- package/es/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +19 -0
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +20 -0
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +19 -0
- package/es/errorstate/WillBack/docs/WillBack__default.docs.js +21 -0
- package/es/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +30 -0
- package/es/form/fields/DateField/docs/DateField__default.docs.js +25 -0
- package/es/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +48 -0
- package/es/form/fields/PhoneField/docs/PhoneField__default.docs.js +26 -0
- package/es/form/fields/SelectField/docs/SelectField__default.docs.js +58 -0
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +86 -61
- package/es/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +77 -0
- package/es/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +82 -0
- package/es/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +45 -0
- package/es/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +43 -0
- package/es/form/fields/TextareaField/docs/TextareaField__default.docs.js +26 -0
- package/es/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +58 -0
- package/es/form/layout/Field/docs/Field__default.docs.js +25 -0
- package/es/form/layout/Section/docs/Section__default.docs.js +21 -0
- package/es/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +29 -0
- package/es/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +67 -0
- package/es/list/AvatarFlip/docs/AvatarFlip__default.docs.js +100 -0
- package/es/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +19 -0
- package/es/list/Comment/docs/Comment__default.docs.js +26 -0
- package/es/list/DotNew/docs/DotNew__default.docs.js +20 -0
- package/es/list/GridStencils/docs/GridStencils__default.docs.js +35 -0
- package/es/list/Icons/docs/FloatingIcons__default.docs.js +24 -0
- package/es/list/ListLayout/docs/ListLayout__default.docs.js +60 -0
- package/es/list/ListStencils/docs/ListStencils__default.docs.js +20 -0
- package/es/list/SecondaryText/AccountName.js +38 -34
- package/es/list/SecondaryText/ContactName.js +13 -18
- package/es/list/SecondaryText/SecondaryText.module.css +29 -14
- package/es/list/SecondaryText/docs/ContactName__default.docs.js +23 -0
- package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +37 -0
- package/es/list/SecondryPanel/docs/SecondryPanel__default.docs.js +81 -0
- package/es/list/SentimentStatus/docs/SentimentStatus__default.docs.js +19 -0
- package/es/list/Subject/docs/Subject__default.docs.js +44 -0
- package/es/list/TagNew/docs/TagNew__default.docs.js +23 -0
- package/es/list/Thread/docs/Thread__default.docs.js +22 -0
- package/es/list/UserTime/docs/UserTime__default.docs.js +157 -0
- package/es/list/status/StatusDropdown/StatusDropdown.js +103 -80
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +3 -0
- package/es/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +129 -0
- package/es/list/status/StatusListItem/docs/StatusListItem__default.docs.js +27 -0
- package/es/lookup/EmptyPage/docs/EmptyPage__account.docs.js +20 -0
- package/es/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +20 -0
- package/es/lookup/EmptyPage/docs/EmptyPage__default.docs.js +17 -0
- package/es/lookup/EmptyPage/docs/EmptyPage__product.docs.js +20 -0
- package/es/lookup/Lookup/docs/Lookup__contact.docs.js +196 -0
- package/es/lookup/Lookup/docs/Lookup__default.docs.js +68 -0
- package/es/lookup/header/Close/docs/Close__default.docs.js +19 -0
- package/es/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +51 -0
- package/es/lookup/header/Search/docs/Search__default.docs.js +124 -0
- package/es/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +83 -0
- package/es/lookup/header/Title/docs/Title__default.docs.js +21 -0
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +79 -54
- package/es/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +75 -0
- package/es/setup/header/Button/docs/Button__default.docs.js +22 -0
- package/es/setup/header/Link/docs/Link__default.docs.js +23 -0
- package/es/setup/header/Search/docs/Search__default.docs.js +41 -0
- package/es/setup/header/Views/docs/Views__default.docs.js +24 -0
- package/es/setup/helptips/Description/docs/Description__default.docs.js +26 -0
- package/es/setup/helptips/Link/docs/Link__default.docs.js +27 -0
- package/es/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +30 -0
- package/es/setup/helptips/Title/docs/Title__default.docs.js +26 -0
- package/es/setup/table/Table/docs/Table__default.docs.js +181 -0
- package/es/setup/table/Text/docs/Text__default.docs.js +35 -0
- package/es/svg/docs/SVG__default.docs.js +49 -0
- package/es/version2/AlertClose/docs/AlertClose__default.docs.js +47 -0
- package/es/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +95 -0
- package/es/version2/alertIcons/docs/AlertIcons__default.docs.js +138 -0
- package/es/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +18 -0
- package/es/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +20 -0
- package/es/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +30 -0
- package/es/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +18 -0
- package/es/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +20 -0
- package/es/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +18 -0
- package/es/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +56 -0
- package/es/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +157 -0
- package/es/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +92 -0
- package/es/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +57 -0
- package/lib/ActionButton/ActionButton.js +7 -3
- package/lib/ActionButton/docs/ActionButton__default.docs.js +197 -0
- package/lib/AlphabeticList/docs/AlphabeticList__default.docs.js +82 -0
- package/lib/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +91 -0
- package/lib/Attachment/docs/Attachment__default.docs.js +104 -0
- package/lib/AttachmentViewer/docs/AttachmentViewer__default.docs.js +123 -0
- package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +112 -0
- package/lib/Drawer/docs/Drawer__default.docs.js +143 -0
- package/lib/Drawer/docs/Drawer__multiDrawer.docs.js +171 -0
- package/lib/Drawer/docs/Drawer__noFreeze.docs.js +65 -0
- package/lib/Drawer/docs/Drawer__withModal.docs.js +131 -0
- package/lib/ExternalLink/docs/ExternalLink__default.docs.js +68 -0
- package/lib/FlipCard/FlipCard.js +3 -14
- package/lib/FlipCard/FlipCard.module.css +13 -84
- package/lib/FlipCard/docs/FlipCard__default.docs.js +121 -0
- package/lib/FormAction/docs/FormAction__default.docs.js +127 -0
- package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +103 -0
- package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +100 -0
- package/lib/IconButton/docs/IconButton__default.docs.js +272 -0
- package/lib/Image/docs/Image__default.docs.js +76 -0
- package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +68 -0
- package/lib/Link/docs/Link__default.docs.js +90 -0
- package/lib/Loader/docs/Loader__default.docs.js +68 -0
- package/lib/Message/docs/Message__default.docs.js +100 -0
- package/lib/MessageBanner/docs/MessageBanner__default.docs.js +132 -0
- package/lib/NewStar/docs/NewStar__default.docs.js +111 -0
- package/lib/PlusIcon/docs/PlusIcon__default.docs.js +70 -0
- package/lib/Provider.js +115 -38
- package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +151 -0
- package/lib/ToastMessage/docs/ToastMessage__information.docs.js +108 -0
- package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +175 -0
- package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +91 -0
- package/lib/ToastMessage/docs/ToastMessage__success.docs.js +115 -0
- package/lib/Upload/docs/Upload__default.docs.js +110 -0
- package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +112 -0
- package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +187 -0
- package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +72 -0
- package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +81 -0
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +95 -0
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +99 -0
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +90 -0
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +104 -0
- package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +198 -0
- package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +224 -0
- package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +74 -0
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +60 -38
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +1 -0
- package/lib/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +80 -0
- package/lib/docs/formDocs.js +215 -0
- package/lib/docs/generalDocs.js +1055 -0
- package/lib/docs/lookupDocs.js +287 -0
- package/lib/docs/setupDocs.js +183 -0
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +182 -161
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +3 -0
- package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +279 -0
- package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +171 -0
- package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +74 -0
- package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +69 -0
- package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +67 -0
- package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +68 -0
- package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +70 -0
- package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +69 -0
- package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +69 -0
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +70 -0
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +69 -0
- package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +71 -0
- package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +80 -0
- package/lib/form/fields/DateField/docs/DateField__default.docs.js +74 -0
- package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +100 -0
- package/lib/form/fields/PhoneField/docs/PhoneField__default.docs.js +76 -0
- package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +110 -0
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +84 -61
- package/lib/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +126 -0
- package/lib/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +96 -0
- package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +97 -0
- package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +94 -0
- package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +76 -0
- package/lib/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +103 -0
- package/lib/form/layout/Field/docs/Field__default.docs.js +74 -0
- package/lib/form/layout/Section/docs/Section__default.docs.js +71 -0
- package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +80 -0
- package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +118 -0
- package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +149 -0
- package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +65 -0
- package/lib/list/Comment/docs/Comment__default.docs.js +76 -0
- package/lib/list/DotNew/docs/DotNew__default.docs.js +70 -0
- package/lib/list/GridStencils/docs/GridStencils__default.docs.js +86 -0
- package/lib/list/Icons/docs/FloatingIcons__default.docs.js +81 -0
- package/lib/list/ListLayout/docs/ListLayout__default.docs.js +111 -0
- package/lib/list/ListStencils/docs/ListStencils__default.docs.js +70 -0
- package/lib/list/SecondaryText/AccountName.js +38 -34
- package/lib/list/SecondaryText/ContactName.js +13 -18
- package/lib/list/SecondaryText/SecondaryText.module.css +29 -14
- package/lib/list/SecondaryText/docs/ContactName__default.docs.js +73 -0
- package/lib/list/SecondryPanel/docs/SecondryPanelDocs.module.css +37 -0
- package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +133 -0
- package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +65 -0
- package/lib/list/Subject/docs/Subject__default.docs.js +94 -0
- package/lib/list/TagNew/docs/TagNew__default.docs.js +73 -0
- package/lib/list/Thread/docs/Thread__default.docs.js +72 -0
- package/lib/list/UserTime/docs/UserTime__default.docs.js +196 -0
- package/lib/list/status/StatusDropdown/StatusDropdown.js +102 -81
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +3 -0
- package/lib/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +178 -0
- package/lib/list/status/StatusListItem/docs/StatusListItem__default.docs.js +77 -0
- package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +70 -0
- package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +70 -0
- package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +67 -0
- package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +70 -0
- package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +247 -0
- package/lib/lookup/Lookup/docs/Lookup__default.docs.js +121 -0
- package/lib/lookup/header/Close/docs/Close__default.docs.js +69 -0
- package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +99 -0
- package/lib/lookup/header/Search/docs/Search__default.docs.js +175 -0
- package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +133 -0
- package/lib/lookup/header/Title/docs/Title__default.docs.js +71 -0
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +75 -52
- package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +119 -0
- package/lib/setup/header/Button/docs/Button__default.docs.js +68 -0
- package/lib/setup/header/Link/docs/Link__default.docs.js +69 -0
- package/lib/setup/header/Search/docs/Search__default.docs.js +92 -0
- package/lib/setup/header/Views/docs/Views__default.docs.js +70 -0
- package/lib/setup/helptips/Description/docs/Description__default.docs.js +72 -0
- package/lib/setup/helptips/Link/docs/Link__default.docs.js +73 -0
- package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +76 -0
- package/lib/setup/helptips/Title/docs/Title__default.docs.js +72 -0
- package/lib/setup/table/Table/docs/Table__default.docs.js +238 -0
- package/lib/setup/table/Text/docs/Text__default.docs.js +84 -0
- package/lib/svg/docs/SVG__default.docs.js +101 -0
- package/lib/version2/AlertClose/docs/AlertClose__default.docs.js +97 -0
- package/lib/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +143 -0
- package/lib/version2/alertIcons/docs/AlertIcons__default.docs.js +187 -0
- package/lib/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +68 -0
- package/lib/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +70 -0
- package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +80 -0
- package/lib/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +68 -0
- package/lib/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +70 -0
- package/lib/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +68 -0
- package/lib/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +105 -0
- package/lib/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +212 -0
- package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +142 -0
- package/lib/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +108 -0
- package/package.json +9 -9
package/es/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import DesktopNotification from '../DesktopNotification';
|
|
3
|
+
import style from '@zohodesk/components/lib/common/docStyle.module.css';
|
|
4
|
+
export default class DesktopNotification__default extends Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
11
|
+
className: style.m50
|
|
12
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
13
|
+
style: {
|
|
14
|
+
marginBottom: '20px'
|
|
15
|
+
}
|
|
16
|
+
}, /*#__PURE__*/React.createElement(DesktopNotification, {
|
|
17
|
+
type: "success",
|
|
18
|
+
title: "Updated Successfully",
|
|
19
|
+
info: "The Customer Insights(3) extension has been updated successfully",
|
|
20
|
+
isAnimate: false,
|
|
21
|
+
size: "medium",
|
|
22
|
+
i18nKeys: {
|
|
23
|
+
closeTitle: 'Custom Close Title'
|
|
24
|
+
}
|
|
25
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
26
|
+
style: {
|
|
27
|
+
marginBottom: '20px'
|
|
28
|
+
}
|
|
29
|
+
}, /*#__PURE__*/React.createElement(DesktopNotification, {
|
|
30
|
+
type: "notification",
|
|
31
|
+
title: "Desktop Notification",
|
|
32
|
+
info: "Zoho Desk needs your Permission to enable desktop notification.",
|
|
33
|
+
submitText: "SUBMIT",
|
|
34
|
+
cancelText: "NOT NOW",
|
|
35
|
+
isAnimate: false,
|
|
36
|
+
size: "medium"
|
|
37
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
38
|
+
style: {
|
|
39
|
+
marginBottom: '20px'
|
|
40
|
+
}
|
|
41
|
+
}, /*#__PURE__*/React.createElement(DesktopNotification, {
|
|
42
|
+
type: "danger",
|
|
43
|
+
title: "Authorization Pending",
|
|
44
|
+
info: "Authorize your account for Zoho OAuth service to acivate this extension",
|
|
45
|
+
submitText: "AUTHORIZE",
|
|
46
|
+
submitType: "danger",
|
|
47
|
+
isAnimate: false,
|
|
48
|
+
size: "medium"
|
|
49
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
50
|
+
style: {
|
|
51
|
+
marginBottom: '20px'
|
|
52
|
+
}
|
|
53
|
+
}, /*#__PURE__*/React.createElement(DesktopNotification, {
|
|
54
|
+
type: "info",
|
|
55
|
+
title: "Scheduled Call time",
|
|
56
|
+
subTitle: "You are 13 Head of the scheduled call time.",
|
|
57
|
+
info: "Would you like to proceed this call now?",
|
|
58
|
+
submitText: "Yes",
|
|
59
|
+
cancelText: "Not Now",
|
|
60
|
+
isAnimate: false,
|
|
61
|
+
size: "medium"
|
|
62
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
63
|
+
style: {
|
|
64
|
+
marginBottom: '20px'
|
|
65
|
+
}
|
|
66
|
+
}, /*#__PURE__*/React.createElement(DesktopNotification, {
|
|
67
|
+
type: "success",
|
|
68
|
+
title: "You have started following this Ticket",
|
|
69
|
+
titleVariant: "secondary",
|
|
70
|
+
isAnimate: false,
|
|
71
|
+
isShrinkView: true
|
|
72
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
73
|
+
style: {
|
|
74
|
+
marginBottom: '20px'
|
|
75
|
+
}
|
|
76
|
+
}, /*#__PURE__*/React.createElement(DesktopNotification, {
|
|
77
|
+
type: "danger",
|
|
78
|
+
title: "You an integrate with either zoho cliq slack at a time. Please disable the integration with slack and try again.",
|
|
79
|
+
titleVariant: "secondary",
|
|
80
|
+
isAnimate: false,
|
|
81
|
+
isShrinkView: true
|
|
82
|
+
})));
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
if (false) {
|
|
88
|
+
DesktopNotification__default.docs = {
|
|
89
|
+
componentGroup: 'DesktopNotification',
|
|
90
|
+
folderName: 'Alert'
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import DesktopNotificationHeader from '../DesktopNotificationHeader';
|
|
4
|
+
import style from '@zohodesk/components/lib/common/docStyle.module.css';
|
|
5
|
+
export default class DesktopNotificationHeader__default extends Component {
|
|
6
|
+
constructor(props) {
|
|
7
|
+
super(props);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
render() {
|
|
11
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
12
|
+
className: style.m50
|
|
13
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
14
|
+
style: {
|
|
15
|
+
width: '452px',
|
|
16
|
+
marginBottom: '20px'
|
|
17
|
+
}
|
|
18
|
+
}, /*#__PURE__*/React.createElement(DesktopNotificationHeader, {
|
|
19
|
+
type: "success",
|
|
20
|
+
title: "Updated Successfully"
|
|
21
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
22
|
+
style: {
|
|
23
|
+
width: '452px',
|
|
24
|
+
marginBottom: '20px'
|
|
25
|
+
}
|
|
26
|
+
}, /*#__PURE__*/React.createElement(DesktopNotificationHeader, {
|
|
27
|
+
type: "notification",
|
|
28
|
+
title: "Desktop Notification"
|
|
29
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
30
|
+
style: {
|
|
31
|
+
width: '452px',
|
|
32
|
+
marginBottom: '20px'
|
|
33
|
+
}
|
|
34
|
+
}, /*#__PURE__*/React.createElement(DesktopNotificationHeader, {
|
|
35
|
+
type: "danger",
|
|
36
|
+
title: "Authorization Pending"
|
|
37
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
38
|
+
style: {
|
|
39
|
+
width: '452px',
|
|
40
|
+
marginBottom: '20px'
|
|
41
|
+
}
|
|
42
|
+
}, /*#__PURE__*/React.createElement(DesktopNotificationHeader, {
|
|
43
|
+
type: "success",
|
|
44
|
+
title: "You have started following this Ticket",
|
|
45
|
+
variant: "secondary"
|
|
46
|
+
})));
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
}
|
|
50
|
+
DesktopNotificationHeader__default.propTypes = {};
|
|
51
|
+
|
|
52
|
+
if (false) {
|
|
53
|
+
DesktopNotificationHeader__default.docs = {
|
|
54
|
+
componentGroup: 'DesktopNotificationHeader',
|
|
55
|
+
folderName: 'Alert'
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -19,7 +19,7 @@ var _Button = _interopRequireDefault(require("@zohodesk/components/lib/Button/Bu
|
|
|
19
19
|
|
|
20
20
|
var _Layout = require("@zohodesk/components/lib/Layout");
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _ResponsiveDropBox = _interopRequireDefault(require("@zohodesk/components/lib/ResponsiveDropBox/ResponsiveDropBox"));
|
|
23
23
|
|
|
24
24
|
var _CssProvider = _interopRequireDefault(require("@zohodesk/components/lib/Provider/CssProvider"));
|
|
25
25
|
|
|
@@ -154,7 +154,7 @@ var ActionButton = /*#__PURE__*/function (_React$Component) {
|
|
|
154
154
|
name: "ZD-down",
|
|
155
155
|
size: "6",
|
|
156
156
|
iconClass: _ActionButtonModule["default"].arrow
|
|
157
|
-
})), isPopupOpen ? /*#__PURE__*/_react["default"].createElement(
|
|
157
|
+
})), isPopupOpen ? /*#__PURE__*/_react["default"].createElement(_ResponsiveDropBox["default"], {
|
|
158
158
|
size: "small",
|
|
159
159
|
isActive: isPopupOpen,
|
|
160
160
|
boxPosition: position,
|
|
@@ -165,7 +165,11 @@ var ActionButton = /*#__PURE__*/function (_React$Component) {
|
|
|
165
165
|
},
|
|
166
166
|
isBoxPaddingNeed: isBoxPaddingNeed,
|
|
167
167
|
getRef: getContainerRef
|
|
168
|
-
},
|
|
168
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
169
|
+
flexible: true,
|
|
170
|
+
shrink: true,
|
|
171
|
+
scroll: "vertical"
|
|
172
|
+
}, children)) : null) : null));
|
|
169
173
|
}
|
|
170
174
|
}]);
|
|
171
175
|
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
var _ActionButton = _interopRequireDefault(require("../ActionButton"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17
|
+
|
|
18
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
19
|
+
|
|
20
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
21
|
+
|
|
22
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
23
|
+
|
|
24
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
25
|
+
|
|
26
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
27
|
+
|
|
28
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
29
|
+
|
|
30
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
31
|
+
|
|
32
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
33
|
+
|
|
34
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
35
|
+
|
|
36
|
+
var ActionButton__default = /*#__PURE__*/function (_React$Component) {
|
|
37
|
+
_inherits(ActionButton__default, _React$Component);
|
|
38
|
+
|
|
39
|
+
var _super = _createSuper(ActionButton__default);
|
|
40
|
+
|
|
41
|
+
function ActionButton__default(props) {
|
|
42
|
+
_classCallCheck(this, ActionButton__default);
|
|
43
|
+
|
|
44
|
+
return _super.call(this, props);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
_createClass(ActionButton__default, [{
|
|
48
|
+
key: "render",
|
|
49
|
+
value: function render() {
|
|
50
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
51
|
+
style: {
|
|
52
|
+
margin: '20px',
|
|
53
|
+
display: 'inline-block'
|
|
54
|
+
}
|
|
55
|
+
}, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
|
|
56
|
+
text: "Reply",
|
|
57
|
+
size: "small"
|
|
58
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
59
|
+
style: {
|
|
60
|
+
margin: '20px',
|
|
61
|
+
display: 'inline-block'
|
|
62
|
+
}
|
|
63
|
+
}, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
|
|
64
|
+
text: "Reply",
|
|
65
|
+
size: "medium"
|
|
66
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
67
|
+
style: {
|
|
68
|
+
margin: '20px',
|
|
69
|
+
display: 'inline-block'
|
|
70
|
+
}
|
|
71
|
+
}, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
|
|
72
|
+
text: "Reply",
|
|
73
|
+
size: "large"
|
|
74
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
75
|
+
style: {
|
|
76
|
+
margin: '20px',
|
|
77
|
+
display: 'inline-block'
|
|
78
|
+
}
|
|
79
|
+
}, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
|
|
80
|
+
text: "Reply",
|
|
81
|
+
size: "large",
|
|
82
|
+
isLoading: true
|
|
83
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
84
|
+
style: {
|
|
85
|
+
margin: '20px',
|
|
86
|
+
display: 'inline-block'
|
|
87
|
+
}
|
|
88
|
+
}, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
|
|
89
|
+
text: "Reply",
|
|
90
|
+
size: "large",
|
|
91
|
+
isLoading: true,
|
|
92
|
+
palette: "primary"
|
|
93
|
+
})), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("div", {
|
|
94
|
+
style: {
|
|
95
|
+
margin: '20px',
|
|
96
|
+
display: 'inline-block'
|
|
97
|
+
}
|
|
98
|
+
}, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
|
|
99
|
+
iconName: "ZD-replyall",
|
|
100
|
+
iconSize: "9",
|
|
101
|
+
onClick: function onClick() {
|
|
102
|
+
return '';
|
|
103
|
+
},
|
|
104
|
+
dropdownChildren: 'children',
|
|
105
|
+
dropBoxPosition: "bottomRight",
|
|
106
|
+
size: "small",
|
|
107
|
+
isDisabled: true
|
|
108
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
109
|
+
style: {
|
|
110
|
+
margin: '20px',
|
|
111
|
+
display: 'inline-block'
|
|
112
|
+
}
|
|
113
|
+
}, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
|
|
114
|
+
text: "Reply all",
|
|
115
|
+
iconName: "ZD-replyall",
|
|
116
|
+
iconSize: "9",
|
|
117
|
+
onClick: function onClick() {
|
|
118
|
+
return '';
|
|
119
|
+
},
|
|
120
|
+
dropBoxPosition: "bottomRight",
|
|
121
|
+
size: "small"
|
|
122
|
+
}, "children")), /*#__PURE__*/_react["default"].createElement("div", {
|
|
123
|
+
style: {
|
|
124
|
+
margin: '20px',
|
|
125
|
+
display: 'inline-block'
|
|
126
|
+
}
|
|
127
|
+
}, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
|
|
128
|
+
text: "Reply all",
|
|
129
|
+
iconName: "ZD-replyall",
|
|
130
|
+
iconSize: "9",
|
|
131
|
+
onClick: function onClick() {
|
|
132
|
+
return '';
|
|
133
|
+
},
|
|
134
|
+
dropBoxPosition: "bottomRight",
|
|
135
|
+
size: "small",
|
|
136
|
+
onHover: true
|
|
137
|
+
}, "children")), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("div", {
|
|
138
|
+
style: {
|
|
139
|
+
margin: '20px',
|
|
140
|
+
display: 'inline-block'
|
|
141
|
+
}
|
|
142
|
+
}, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
|
|
143
|
+
text: "Reply all",
|
|
144
|
+
iconName: "ZD-replyall",
|
|
145
|
+
iconSize: "9",
|
|
146
|
+
dropBoxPosition: "bottomRight",
|
|
147
|
+
size: "small",
|
|
148
|
+
onHover: true
|
|
149
|
+
}, "children")), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("div", {
|
|
150
|
+
style: {
|
|
151
|
+
margin: '20px',
|
|
152
|
+
display: 'inline-block'
|
|
153
|
+
}
|
|
154
|
+
}, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
|
|
155
|
+
text: "Reply all",
|
|
156
|
+
iconName: "ZD-replyall",
|
|
157
|
+
iconSize: "9",
|
|
158
|
+
dropBoxPosition: "bottomRight",
|
|
159
|
+
size: "small"
|
|
160
|
+
}, "children")), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("div", {
|
|
161
|
+
style: {
|
|
162
|
+
margin: '20px',
|
|
163
|
+
display: 'inline-block'
|
|
164
|
+
}
|
|
165
|
+
}, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
|
|
166
|
+
text: "Comment",
|
|
167
|
+
subText: "Public"
|
|
168
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
169
|
+
style: {
|
|
170
|
+
margin: '20px',
|
|
171
|
+
display: 'inline-block'
|
|
172
|
+
}
|
|
173
|
+
}, /*#__PURE__*/_react["default"].createElement(_ActionButton["default"], {
|
|
174
|
+
text: "Reply all",
|
|
175
|
+
iconName: "ZD-replyall",
|
|
176
|
+
iconSize: "9",
|
|
177
|
+
onClick: function onClick() {
|
|
178
|
+
return '';
|
|
179
|
+
},
|
|
180
|
+
dropBoxPosition: "bottomRight",
|
|
181
|
+
size: "small",
|
|
182
|
+
palette: "primary"
|
|
183
|
+
}, "children")), /*#__PURE__*/_react["default"].createElement("div", {
|
|
184
|
+
style: {
|
|
185
|
+
margin: '20px'
|
|
186
|
+
}
|
|
187
|
+
}));
|
|
188
|
+
}
|
|
189
|
+
}]);
|
|
190
|
+
|
|
191
|
+
return ActionButton__default;
|
|
192
|
+
}(_react["default"].Component);
|
|
193
|
+
|
|
194
|
+
exports["default"] = ActionButton__default;
|
|
195
|
+
ActionButton__default.docs = {
|
|
196
|
+
componentGroup: 'Atom'
|
|
197
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _AlphabeticList = _interopRequireDefault(require("../AlphabeticList"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
|
+
|
|
18
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
19
|
+
|
|
20
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
21
|
+
|
|
22
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
23
|
+
|
|
24
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
|
+
|
|
26
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
|
+
|
|
28
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
|
+
|
|
30
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
31
|
+
|
|
32
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
33
|
+
|
|
34
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
35
|
+
|
|
36
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
37
|
+
|
|
38
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
|
+
|
|
40
|
+
var AlphabeticList__default = /*#__PURE__*/function (_Component) {
|
|
41
|
+
_inherits(AlphabeticList__default, _Component);
|
|
42
|
+
|
|
43
|
+
var _super = _createSuper(AlphabeticList__default);
|
|
44
|
+
|
|
45
|
+
function AlphabeticList__default(props) {
|
|
46
|
+
var _this;
|
|
47
|
+
|
|
48
|
+
_classCallCheck(this, AlphabeticList__default);
|
|
49
|
+
|
|
50
|
+
_this = _super.call(this, props);
|
|
51
|
+
_this.state = {
|
|
52
|
+
selectedCharacter: 'C'
|
|
53
|
+
};
|
|
54
|
+
_this.handleSelect = _this.handleSelect.bind(_assertThisInitialized(_this));
|
|
55
|
+
return _this;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
_createClass(AlphabeticList__default, [{
|
|
59
|
+
key: "handleSelect",
|
|
60
|
+
value: function handleSelect(selectedCharacter) {
|
|
61
|
+
this.setState({
|
|
62
|
+
selectedCharacter: selectedCharacter
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
}, {
|
|
66
|
+
key: "render",
|
|
67
|
+
value: function render() {
|
|
68
|
+
var selectedCharacter = this.state.selectedCharacter;
|
|
69
|
+
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_AlphabeticList["default"], {
|
|
70
|
+
selectedCharacter: selectedCharacter,
|
|
71
|
+
onSelect: this.handleSelect
|
|
72
|
+
}));
|
|
73
|
+
}
|
|
74
|
+
}]);
|
|
75
|
+
|
|
76
|
+
return AlphabeticList__default;
|
|
77
|
+
}(_react.Component);
|
|
78
|
+
|
|
79
|
+
exports["default"] = AlphabeticList__default;
|
|
80
|
+
AlphabeticList__default.docs = {
|
|
81
|
+
componentGroup: 'Atom'
|
|
82
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _AlphabeticList = _interopRequireDefault(require("../AlphabeticList"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
|
+
|
|
18
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
19
|
+
|
|
20
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
21
|
+
|
|
22
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
23
|
+
|
|
24
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
|
+
|
|
26
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
|
+
|
|
28
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
|
+
|
|
30
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
31
|
+
|
|
32
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
33
|
+
|
|
34
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
35
|
+
|
|
36
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
37
|
+
|
|
38
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
|
+
|
|
40
|
+
var AlphabeticList__horizontal = /*#__PURE__*/function (_Component) {
|
|
41
|
+
_inherits(AlphabeticList__horizontal, _Component);
|
|
42
|
+
|
|
43
|
+
var _super = _createSuper(AlphabeticList__horizontal);
|
|
44
|
+
|
|
45
|
+
function AlphabeticList__horizontal(props) {
|
|
46
|
+
var _this;
|
|
47
|
+
|
|
48
|
+
_classCallCheck(this, AlphabeticList__horizontal);
|
|
49
|
+
|
|
50
|
+
_this = _super.call(this, props);
|
|
51
|
+
_this.state = {
|
|
52
|
+
selectedCharacter: 'C'
|
|
53
|
+
};
|
|
54
|
+
_this.handleSelect = _this.handleSelect.bind(_assertThisInitialized(_this));
|
|
55
|
+
return _this;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
_createClass(AlphabeticList__horizontal, [{
|
|
59
|
+
key: "handleSelect",
|
|
60
|
+
value: function handleSelect(selectedCharacter) {
|
|
61
|
+
this.setState({
|
|
62
|
+
selectedCharacter: selectedCharacter
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
}, {
|
|
66
|
+
key: "render",
|
|
67
|
+
value: function render() {
|
|
68
|
+
var selectedCharacter = this.state.selectedCharacter;
|
|
69
|
+
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_AlphabeticList["default"], {
|
|
70
|
+
selectedCharacter: selectedCharacter,
|
|
71
|
+
onSelect: this.handleSelect,
|
|
72
|
+
align: "horizontal"
|
|
73
|
+
}), /*#__PURE__*/_react["default"].createElement(_AlphabeticList["default"], {
|
|
74
|
+
type: "numerals",
|
|
75
|
+
selectedCharacter: selectedCharacter,
|
|
76
|
+
onSelect: this.handleSelect,
|
|
77
|
+
align: "horizontal"
|
|
78
|
+
}));
|
|
79
|
+
}
|
|
80
|
+
}]);
|
|
81
|
+
|
|
82
|
+
return AlphabeticList__horizontal;
|
|
83
|
+
}(_react.Component);
|
|
84
|
+
|
|
85
|
+
exports["default"] = AlphabeticList__horizontal;
|
|
86
|
+
|
|
87
|
+
if (false) {
|
|
88
|
+
AlphabeticList__horizontal.docs = {
|
|
89
|
+
componentGroup: 'Atom'
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
+
|
|
14
|
+
var _Attachment = _interopRequireDefault(require("../Attachment"));
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
+
|
|
18
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19
|
+
|
|
20
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
21
|
+
|
|
22
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
23
|
+
|
|
24
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
25
|
+
|
|
26
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
27
|
+
|
|
28
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
29
|
+
|
|
30
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
31
|
+
|
|
32
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
33
|
+
|
|
34
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
35
|
+
|
|
36
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
37
|
+
|
|
38
|
+
var Attachment__default = /*#__PURE__*/function (_React$Component) {
|
|
39
|
+
_inherits(Attachment__default, _React$Component);
|
|
40
|
+
|
|
41
|
+
var _super = _createSuper(Attachment__default);
|
|
42
|
+
|
|
43
|
+
function Attachment__default() {
|
|
44
|
+
_classCallCheck(this, Attachment__default);
|
|
45
|
+
|
|
46
|
+
return _super.apply(this, arguments);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
_createClass(Attachment__default, [{
|
|
50
|
+
key: "render",
|
|
51
|
+
value: function render() {
|
|
52
|
+
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_Attachment["default"], {
|
|
53
|
+
fileName: "20993016_1413168518775205_8593331352042442533_n.jpg",
|
|
54
|
+
fileSize: "31.5 KB",
|
|
55
|
+
downloadLink: "https://d1ydxa2xvtn0b5.cloudfront.net/app/images/smartapplogo.c9bf244c1c797161b30a.png",
|
|
56
|
+
tooltip: "Attachment",
|
|
57
|
+
iconName: "ZD-filePicture",
|
|
58
|
+
fileInfo: "2 days ago"
|
|
59
|
+
}), /*#__PURE__*/_react["default"].createElement(_Attachment["default"], {
|
|
60
|
+
fileName: "20993016_1413168518775205_8593331352042442533_n.jpg",
|
|
61
|
+
fileSize: "31.5 KB",
|
|
62
|
+
downloadLink: "https://d1ydxa2xvtn0b5.cloudfront.net/app/images/smartapplogo.c9bf244c1c797161b30a.png",
|
|
63
|
+
tooltip: "Attachment",
|
|
64
|
+
iconName: "ZD-filePicture"
|
|
65
|
+
}), /*#__PURE__*/_react["default"].createElement(_Attachment["default"], {
|
|
66
|
+
fileName: "20993016_1413168518775205_8593331352042442533_n.jpg",
|
|
67
|
+
downloadLink: "https://d1ydxa2xvtn0b5.cloudfront.net/app/images/smartapplogo.c9bf244c1c797161b30a.png",
|
|
68
|
+
tooltip: "Attachment",
|
|
69
|
+
iconName: "ZD-filePicture"
|
|
70
|
+
}), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement(_Attachment["default"], {
|
|
71
|
+
fileName: "20993016_1413168518775205_8593331352042442533_n.jpg",
|
|
72
|
+
fileSize: "31.5 KB",
|
|
73
|
+
downloadLink: "https://d1ydxa2xvtn0b5.cloudfront.net/app/images/smartapplogo.c9bf244c1c797161b30a.png",
|
|
74
|
+
tooltip: "Attachment",
|
|
75
|
+
iconName: "ZD-filePicture",
|
|
76
|
+
size: "small",
|
|
77
|
+
fileInfo: "15 days ago"
|
|
78
|
+
}), /*#__PURE__*/_react["default"].createElement(_Attachment["default"], {
|
|
79
|
+
fileName: "20993016_1413168518775205_8593331352042442533_n.jpg",
|
|
80
|
+
fileSize: "31.5 KB",
|
|
81
|
+
downloadLink: "https://d1ydxa2xvtn0b5.cloudfront.net/app/images/smartapplogo.c9bf244c1c797161b30a.png",
|
|
82
|
+
tooltip: "Attachment",
|
|
83
|
+
iconName: "ZD-filePicture",
|
|
84
|
+
size: "small"
|
|
85
|
+
}), /*#__PURE__*/_react["default"].createElement(_Attachment["default"], {
|
|
86
|
+
fileName: "20993016_1413168518775205_8593331352042442533_n.jpg",
|
|
87
|
+
downloadLink: "https://d1ydxa2xvtn0b5.cloudfront.net/app/images/smartapplogo.c9bf244c1c797161b30a.png",
|
|
88
|
+
tooltip: "Attachment",
|
|
89
|
+
iconName: "ZD-filePicture",
|
|
90
|
+
size: "small"
|
|
91
|
+
}));
|
|
92
|
+
}
|
|
93
|
+
}]);
|
|
94
|
+
|
|
95
|
+
return Attachment__default;
|
|
96
|
+
}(_react["default"].Component);
|
|
97
|
+
|
|
98
|
+
exports["default"] = Attachment__default;
|
|
99
|
+
|
|
100
|
+
if (false) {
|
|
101
|
+
Attachment__default.docs = {
|
|
102
|
+
componentGroup: 'Attachment'
|
|
103
|
+
};
|
|
104
|
+
}
|