@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
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Drawer, { Header, Content } from '../Drawer';
|
|
3
|
+
import Modal from '@zohodesk/components/lib/Modal/Modal';
|
|
4
|
+
import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
|
|
5
|
+
import style from '../Drawer.module.css';
|
|
6
|
+
export default class Drawer__withModal extends React.Component {
|
|
7
|
+
constructor(props) {
|
|
8
|
+
super(props);
|
|
9
|
+
this.state = {
|
|
10
|
+
isActive: true,
|
|
11
|
+
modalActive: true
|
|
12
|
+
};
|
|
13
|
+
this.onClose = this.onClose.bind(this);
|
|
14
|
+
this.openModal = this.openModal.bind(this);
|
|
15
|
+
this.closeDrawers = this.closeDrawers.bind(this);
|
|
16
|
+
this.getNextId = getUniqueId(this);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
onClose() {
|
|
20
|
+
this.setState({
|
|
21
|
+
isActive: false
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
openModal() {
|
|
26
|
+
this.setState({
|
|
27
|
+
modalActive: true
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
closeDrawers() {
|
|
32
|
+
this.setState({
|
|
33
|
+
isActive: false
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
render() {
|
|
38
|
+
let {
|
|
39
|
+
isActive,
|
|
40
|
+
modalActive
|
|
41
|
+
} = this.state;
|
|
42
|
+
let uniqueId = this.getNextId();
|
|
43
|
+
return /*#__PURE__*/React.createElement(Drawer, {
|
|
44
|
+
isActive: isActive,
|
|
45
|
+
needFreeze: true,
|
|
46
|
+
paddingSize: "small",
|
|
47
|
+
onClose: this.closeDrawers,
|
|
48
|
+
innerPortalName: uniqueId
|
|
49
|
+
}, /*#__PURE__*/React.createElement(Header, {
|
|
50
|
+
title: "Drawer with Modal",
|
|
51
|
+
onClose: this.onClose
|
|
52
|
+
}), /*#__PURE__*/React.createElement(Content, {
|
|
53
|
+
className: style.headerTest
|
|
54
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
55
|
+
onClick: this.openModal
|
|
56
|
+
}, "Click here to Open Modal ..:-)"), modalActive ? /*#__PURE__*/React.createElement(Modal, {
|
|
57
|
+
portalId: uniqueId
|
|
58
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
59
|
+
style: {
|
|
60
|
+
width: '90%',
|
|
61
|
+
height: '400px',
|
|
62
|
+
background: '#fff',
|
|
63
|
+
margin: '50px auto'
|
|
64
|
+
}
|
|
65
|
+
}, "Drawer Modal")) : null));
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
if (false) {
|
|
71
|
+
Drawer__withModal.docs = {
|
|
72
|
+
componentGroup: 'Template'
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import ExternalLink from '../ExternalLink';
|
|
3
|
+
export default class ExternalLink__default extends React.Component {
|
|
4
|
+
constructor(props) {
|
|
5
|
+
super(props);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
render() {
|
|
9
|
+
///agent/:orgName/:deptName/:moduleName/details/:moduleId
|
|
10
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ExternalLink, null));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
if (false) {
|
|
16
|
+
ExternalLink__default.docs = {
|
|
17
|
+
componentGroup: 'Atom'
|
|
18
|
+
};
|
|
19
|
+
}
|
package/es/FlipCard/FlipCard.js
CHANGED
|
@@ -15,7 +15,6 @@ export default class FlipCard extends Component {
|
|
|
15
15
|
super(props);
|
|
16
16
|
this.onChange = this.onChange.bind(this);
|
|
17
17
|
this.onClick = this.onClick.bind(this);
|
|
18
|
-
this.toggleClick = this.toggleClick.bind(this);
|
|
19
18
|
}
|
|
20
19
|
|
|
21
20
|
onClick(e) {
|
|
@@ -39,13 +38,6 @@ export default class FlipCard extends Component {
|
|
|
39
38
|
onChange(id, isChecked, e);
|
|
40
39
|
}
|
|
41
40
|
|
|
42
|
-
toggleClick(e) {
|
|
43
|
-
const {
|
|
44
|
-
isChecked
|
|
45
|
-
} = this.props;
|
|
46
|
-
this.onChange(!isChecked, e);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
41
|
render() {
|
|
50
42
|
let {
|
|
51
43
|
id,
|
|
@@ -84,7 +76,7 @@ export default class FlipCard extends Component {
|
|
|
84
76
|
AvatarUserProps = {}
|
|
85
77
|
} = customProps;
|
|
86
78
|
return /*#__PURE__*/React.createElement("div", {
|
|
87
|
-
className: `${AvatarSize(size)}
|
|
79
|
+
className: `${AvatarSize(size)} ${noNeedFlip ? style.flipNone : isChecked ? style.notFlip : style.flip}`,
|
|
88
80
|
onClick: this.onClick,
|
|
89
81
|
"data-id": ticListContainer,
|
|
90
82
|
"data-tour": tourId
|
|
@@ -93,17 +85,13 @@ export default class FlipCard extends Component {
|
|
|
93
85
|
"data-id": ticList
|
|
94
86
|
}, !noNeedFlip ? /*#__PURE__*/React.createElement(Container, {
|
|
95
87
|
align: "both",
|
|
96
|
-
className: `${style.front} ${
|
|
97
|
-
onClick: this.toggleClick
|
|
88
|
+
className: `${style.front} ${frontClass ? frontClass : ''}`
|
|
98
89
|
}, /*#__PURE__*/React.createElement(CheckBox, _extends({
|
|
99
90
|
isFilled: isFilledCheckbox,
|
|
100
91
|
checked: isChecked,
|
|
101
92
|
onChange: this.onChange,
|
|
102
93
|
id: `checkbox_${id}`,
|
|
103
|
-
dataId: `listViewCheckBox_${id}
|
|
104
|
-
customClass: {
|
|
105
|
-
customCheckBox: style.checkboxStyle
|
|
106
|
-
}
|
|
94
|
+
dataId: `listViewCheckBox_${id}`
|
|
107
95
|
}, CheckBoxProps))) : null, /*#__PURE__*/React.createElement(Container, {
|
|
108
96
|
align: "both",
|
|
109
97
|
className: style.back
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
.flipContainer {
|
|
2
|
-
--flip_cubic: cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
3
|
-
}
|
|
4
1
|
.flip,
|
|
5
2
|
.flipNone {
|
|
6
3
|
color: var(--zdt_flipcard_default_text);
|
|
7
|
-
}
|
|
8
|
-
.flip, .flipNone {
|
|
4
|
+
}.flip, .flipNone {
|
|
9
5
|
background-color: var(--zdt_flipcard_default_bg);
|
|
10
6
|
}
|
|
11
7
|
.container {
|
|
@@ -20,96 +16,29 @@
|
|
|
20
16
|
height: inherit;
|
|
21
17
|
}
|
|
22
18
|
.front,
|
|
23
|
-
.back {
|
|
24
|
-
position: absolute;
|
|
25
|
-
}
|
|
26
|
-
.front {
|
|
27
|
-
transition: transform var(--zd_transition2) var(--flip_cubic);
|
|
28
|
-
transform: scale(.8) perspective(1px);
|
|
29
|
-
}
|
|
30
|
-
.front,
|
|
31
|
-
.container .front:before {
|
|
32
|
-
opacity: 0;
|
|
33
|
-
visibility: hidden;
|
|
34
|
-
}
|
|
35
|
-
.back {
|
|
36
|
-
transition: transform var(--zd_transition3) var(--flip_cubic);
|
|
37
|
-
transform: scale(1) perspective(1px);
|
|
38
|
-
}
|
|
39
|
-
.notFlip .container .front {
|
|
40
|
-
transition: 0ms;
|
|
41
|
-
}
|
|
42
|
-
.flip:hover .container .front,
|
|
43
|
-
.hoverContainer:hover .container .front {
|
|
44
|
-
transition: transform var(--zd_transition2) var(--flip_cubic);
|
|
45
|
-
}
|
|
46
|
-
.container .front:before {
|
|
47
|
-
content: '';
|
|
48
|
-
position: absolute;
|
|
49
|
-
top: 0;
|
|
50
|
-
bottom: 0;
|
|
51
|
-
pointer-events: none;
|
|
52
|
-
border-radius: 50%;
|
|
53
|
-
background-color: var(--zdt_listHeader_border);
|
|
54
|
-
transform: scale(.6);
|
|
55
|
-
}
|
|
56
|
-
[dir=ltr] .container .front:before {
|
|
57
|
-
left: 0;
|
|
58
|
-
right: 0;
|
|
59
|
-
}
|
|
60
|
-
[dir=rtl] .container .front:before {
|
|
61
|
-
right: 0;
|
|
62
|
-
left: 0;
|
|
63
|
-
}
|
|
64
|
-
.notFlip:hover .container .front:before,
|
|
65
|
-
.flip:hover .container .front:before {
|
|
66
|
-
transition: transform var(--zd_transition1) var(--flip_cubic);
|
|
67
|
-
}
|
|
68
|
-
.notFlip .container .front,
|
|
69
|
-
.flip:hover .container .front,
|
|
70
|
-
.hoverContainer:hover .container .front,
|
|
71
|
-
.notFlip:hover .container .front:before,
|
|
72
|
-
.flip:hover .container .front:before {
|
|
73
|
-
opacity: 1;
|
|
74
|
-
visibility: visible;
|
|
75
|
-
}
|
|
76
|
-
.notFlip .container .front, .flip:hover .container .front, .hoverContainer:hover .container .front, .notFlip:hover .container .front:before, .flip:hover .container .front:before {
|
|
77
|
-
transform: scale(1);
|
|
78
|
-
}
|
|
79
|
-
.notFlip .container .back {
|
|
80
|
-
transition: 0ms;
|
|
81
|
-
}
|
|
82
|
-
.notFlip .container .back,
|
|
83
|
-
.flip:hover .container .back,
|
|
84
|
-
.hoverContainer:hover .container .back {
|
|
85
|
-
opacity: 0;
|
|
86
|
-
visibility: hidden;
|
|
87
|
-
}
|
|
88
|
-
.notFlip .container .back, .flip:hover .container .back, .hoverContainer:hover .container .back {
|
|
89
|
-
transform: scale(.3);
|
|
90
|
-
}
|
|
91
|
-
.checkboxCnt:hover .checkboxStyle {
|
|
92
|
-
--checkbox_stroke_color: var(--zdt_checkbox_primary_stroke_border);
|
|
93
|
-
}
|
|
94
|
-
/* .front,
|
|
95
19
|
.back {
|
|
96
20
|
position: absolute;
|
|
97
21
|
backface-visibility: hidden;
|
|
98
22
|
-webkit-backface-visibility: hidden;
|
|
99
23
|
}
|
|
100
|
-
.front {
|
|
24
|
+
[dir=ltr] .front {
|
|
101
25
|
transform: rotateY(180deg) perspective(1px);
|
|
102
26
|
}
|
|
27
|
+
[dir=rtl] .front {
|
|
28
|
+
transform: rotateY(-180deg) perspective(1px);
|
|
29
|
+
}
|
|
103
30
|
.back {
|
|
104
31
|
transform: rotateY(0deg) perspective(1px);
|
|
105
32
|
}
|
|
106
|
-
.notFlip .container {
|
|
33
|
+
[dir=ltr] .notFlip .container {
|
|
107
34
|
transform: rotateY(180deg);
|
|
108
35
|
}
|
|
109
|
-
.
|
|
110
|
-
|
|
36
|
+
[dir=rtl] .notFlip .container {
|
|
37
|
+
transform: rotateY(-180deg);
|
|
38
|
+
}
|
|
39
|
+
[dir=ltr] .flip:hover .container, [dir=ltr] .hoverContainer:hover .container {
|
|
111
40
|
transform: rotateY(180deg);
|
|
112
41
|
}
|
|
113
|
-
.
|
|
114
|
-
|
|
115
|
-
}
|
|
42
|
+
[dir=rtl] .flip:hover .container, [dir=rtl] .hoverContainer:hover .container {
|
|
43
|
+
transform: rotateY(-180deg);
|
|
44
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import FlipCard from '../FlipCard';
|
|
4
|
+
export default class FlipCard__default extends Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
this.state = {
|
|
8
|
+
isChecked: false
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
render() {
|
|
13
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(FlipCard, {
|
|
14
|
+
channel: "email",
|
|
15
|
+
action: "incoming",
|
|
16
|
+
id: "test1",
|
|
17
|
+
onChange: (id, checked) => {
|
|
18
|
+
this.setState({
|
|
19
|
+
isChecked: checked
|
|
20
|
+
});
|
|
21
|
+
},
|
|
22
|
+
noNeedFlip: true,
|
|
23
|
+
isChecked: this.state.isChecked,
|
|
24
|
+
size: "xmedium"
|
|
25
|
+
})), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(FlipCard, {
|
|
26
|
+
id: "test2",
|
|
27
|
+
name: "phone",
|
|
28
|
+
onChange: (id, checked) => {
|
|
29
|
+
this.setState({
|
|
30
|
+
isChecked: checked
|
|
31
|
+
});
|
|
32
|
+
},
|
|
33
|
+
isChecked: this.state.isChecked,
|
|
34
|
+
size: "xmedium"
|
|
35
|
+
})), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(FlipCard, {
|
|
36
|
+
id: "test3",
|
|
37
|
+
name: "EL",
|
|
38
|
+
isPaidUser: true,
|
|
39
|
+
onChange: (id, checked) => {
|
|
40
|
+
this.setState({
|
|
41
|
+
isChecked: checked
|
|
42
|
+
});
|
|
43
|
+
},
|
|
44
|
+
isChecked: this.state.isChecked,
|
|
45
|
+
size: "xmedium"
|
|
46
|
+
})), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(FlipCard, {
|
|
47
|
+
id: "test4",
|
|
48
|
+
name: "BK",
|
|
49
|
+
isPortalUser: true,
|
|
50
|
+
onChange: (id, checked) => {
|
|
51
|
+
this.setState({
|
|
52
|
+
isChecked: checked
|
|
53
|
+
});
|
|
54
|
+
},
|
|
55
|
+
isChecked: this.state.isChecked,
|
|
56
|
+
size: "xmedium"
|
|
57
|
+
})));
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
if (false) {
|
|
63
|
+
FlipCard__default.docs = {
|
|
64
|
+
componentGroup: 'Molecule'
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import Button from '@zohodesk/components/lib/Button/Button';
|
|
3
|
+
import Icon from '@zohodesk/icons/lib/Icon';
|
|
4
|
+
import FormAction, { LeftSide, RightSide, Center } from '../FormAction';
|
|
5
|
+
export default class FormAction__default extends Component {
|
|
6
|
+
render() {
|
|
7
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
8
|
+
style: {
|
|
9
|
+
marginTop: '20px'
|
|
10
|
+
}
|
|
11
|
+
}, /*#__PURE__*/React.createElement(FormAction, null, /*#__PURE__*/React.createElement(LeftSide, null, /*#__PURE__*/React.createElement("p", null, "Left"))), /*#__PURE__*/React.createElement(FormAction, {
|
|
12
|
+
size: "medium"
|
|
13
|
+
}, /*#__PURE__*/React.createElement(RightSide, null, /*#__PURE__*/React.createElement("p", null, "Right"))), /*#__PURE__*/React.createElement(FormAction, {
|
|
14
|
+
size: "large"
|
|
15
|
+
}, /*#__PURE__*/React.createElement(LeftSide, null, /*#__PURE__*/React.createElement("p", null, "Left")), /*#__PURE__*/React.createElement(RightSide, null, /*#__PURE__*/React.createElement("p", null, "Right"))), /*#__PURE__*/React.createElement(FormAction, {
|
|
16
|
+
size: "small"
|
|
17
|
+
}, /*#__PURE__*/React.createElement(Center, null, /*#__PURE__*/React.createElement("p", null, "Center"))), /*#__PURE__*/React.createElement(FormAction, {
|
|
18
|
+
size: "large"
|
|
19
|
+
}, /*#__PURE__*/React.createElement(LeftSide, null, /*#__PURE__*/React.createElement(Button, {
|
|
20
|
+
text: "primary",
|
|
21
|
+
palette: "primary"
|
|
22
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
23
|
+
text: "primaryFilled",
|
|
24
|
+
palette: "primaryFilled"
|
|
25
|
+
})), /*#__PURE__*/React.createElement(RightSide, null, /*#__PURE__*/React.createElement("p", null, "Large"))), /*#__PURE__*/React.createElement(FormAction, {
|
|
26
|
+
size: "medium"
|
|
27
|
+
}, /*#__PURE__*/React.createElement(LeftSide, null, /*#__PURE__*/React.createElement(Button, {
|
|
28
|
+
text: "primary",
|
|
29
|
+
palette: "primary"
|
|
30
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
31
|
+
text: "primaryFilled",
|
|
32
|
+
palette: "primaryFilled"
|
|
33
|
+
})), /*#__PURE__*/React.createElement(RightSide, null, /*#__PURE__*/React.createElement("p", null, "Medium"))), /*#__PURE__*/React.createElement(FormAction, {
|
|
34
|
+
size: "medium",
|
|
35
|
+
paddingLeftSize: "xmedium"
|
|
36
|
+
}, /*#__PURE__*/React.createElement(LeftSide, null, /*#__PURE__*/React.createElement(Button, {
|
|
37
|
+
text: "primary",
|
|
38
|
+
palette: "primary"
|
|
39
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
40
|
+
text: "primaryFilled",
|
|
41
|
+
palette: "primaryFilled"
|
|
42
|
+
})), /*#__PURE__*/React.createElement(RightSide, null, /*#__PURE__*/React.createElement("p", null, "XMedium"))), /*#__PURE__*/React.createElement(FormAction, {
|
|
43
|
+
size: "small"
|
|
44
|
+
}, /*#__PURE__*/React.createElement(LeftSide, null, /*#__PURE__*/React.createElement(Button, {
|
|
45
|
+
text: "primary",
|
|
46
|
+
palette: "primary",
|
|
47
|
+
size: "small"
|
|
48
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
49
|
+
text: "primaryFilled",
|
|
50
|
+
palette: "primaryFilled",
|
|
51
|
+
size: "small"
|
|
52
|
+
})), /*#__PURE__*/React.createElement(RightSide, null, /*#__PURE__*/React.createElement("p", null, "Small"))), /*#__PURE__*/React.createElement(FormAction, {
|
|
53
|
+
size: "small",
|
|
54
|
+
paddingLeftSize: "xsmall"
|
|
55
|
+
}, /*#__PURE__*/React.createElement(LeftSide, null, /*#__PURE__*/React.createElement(Button, {
|
|
56
|
+
text: "primary",
|
|
57
|
+
palette: "primary",
|
|
58
|
+
size: "small"
|
|
59
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
60
|
+
text: "primaryFilled",
|
|
61
|
+
palette: "primaryFilled",
|
|
62
|
+
size: "small"
|
|
63
|
+
})), /*#__PURE__*/React.createElement(RightSide, null, /*#__PURE__*/React.createElement("p", null, "XSmall"))));
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
if (false) {
|
|
69
|
+
FormAction__default.docs = {
|
|
70
|
+
componentGroup: 'Atom'
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import FreezeLayer from '../FreezeLayer';
|
|
3
|
+
import Button from '@zohodesk/components/lib/Button/Button';
|
|
4
|
+
export default class FreezeLayer__dark extends Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
this.state = {
|
|
8
|
+
view: false
|
|
9
|
+
};
|
|
10
|
+
this.toggle = this.toggle.bind(this);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
toggle() {
|
|
14
|
+
this.setState({
|
|
15
|
+
view: !this.state.view
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
render() {
|
|
20
|
+
let {
|
|
21
|
+
view
|
|
22
|
+
} = this.state;
|
|
23
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
|
|
24
|
+
text: "Click to view FreezeLayer",
|
|
25
|
+
palette: "secondary",
|
|
26
|
+
onClick: this.toggle
|
|
27
|
+
}), /*#__PURE__*/React.createElement(FreezeLayer, {
|
|
28
|
+
align: "both",
|
|
29
|
+
palette: "dark",
|
|
30
|
+
isActive: view,
|
|
31
|
+
onClick: this.toggle,
|
|
32
|
+
animationName: "fade",
|
|
33
|
+
childAnimationName: "expand",
|
|
34
|
+
needAutoZindex: true
|
|
35
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
36
|
+
style: {
|
|
37
|
+
color: 'var(--dot_black)',
|
|
38
|
+
fontSize: '40px',
|
|
39
|
+
padding: '100px',
|
|
40
|
+
background: 'var(--dot_white)'
|
|
41
|
+
}
|
|
42
|
+
}, "Im children")));
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
if (false) {
|
|
48
|
+
FreezeLayer__dark.docs = {
|
|
49
|
+
componentGroup: 'Atom'
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import FreezeLayer from '../FreezeLayer';
|
|
3
|
+
import Button from '@zohodesk/components/lib/Button/Button';
|
|
4
|
+
export default class FreezeLayer__default extends Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
this.state = {
|
|
8
|
+
view: false
|
|
9
|
+
};
|
|
10
|
+
this.toggle = this.toggle.bind(this);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
toggle() {
|
|
14
|
+
this.setState({
|
|
15
|
+
view: !this.state.view
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
render() {
|
|
20
|
+
let {
|
|
21
|
+
view
|
|
22
|
+
} = this.state;
|
|
23
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
|
|
24
|
+
text: "Click to view FreezeLayer",
|
|
25
|
+
palette: "secondary",
|
|
26
|
+
onClick: this.toggle
|
|
27
|
+
}), /*#__PURE__*/React.createElement(FreezeLayer, {
|
|
28
|
+
align: "both",
|
|
29
|
+
isActive: view,
|
|
30
|
+
onClick: this.toggle,
|
|
31
|
+
animationName: "expand"
|
|
32
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
33
|
+
style: {
|
|
34
|
+
color: 'var(--dot_black)',
|
|
35
|
+
fontSize: '40px',
|
|
36
|
+
padding: '100px',
|
|
37
|
+
background: 'var(--dot_white)'
|
|
38
|
+
}
|
|
39
|
+
}, "Im children")));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
if (false) {
|
|
45
|
+
FreezeLayer__default.docs = {
|
|
46
|
+
componentGroup: 'Atom'
|
|
47
|
+
};
|
|
48
|
+
}
|