@zohodesk/dot 1.0.0-beta.226 → 1.0.0-beta.227
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 +4 -0
- package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +16 -16
- 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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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 +3 -3
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Drawer, { Header, Content } from '../Drawer';
|
|
3
|
+
import Button from '@zohodesk/components/lib/Button/Button';
|
|
4
|
+
import style from '../Drawer.module.css';
|
|
5
|
+
export default class Drawer__multiDrawer extends React.Component {
|
|
6
|
+
constructor(props) {
|
|
7
|
+
super(props);
|
|
8
|
+
this.state = {
|
|
9
|
+
isActive: true,
|
|
10
|
+
subDrawerActive: true,
|
|
11
|
+
size: 'xsmall'
|
|
12
|
+
};
|
|
13
|
+
this.onClose = this.onClose.bind(this);
|
|
14
|
+
this.openSecondDrawer = this.openSecondDrawer.bind(this);
|
|
15
|
+
this.closeDrawers = this.closeDrawers.bind(this);
|
|
16
|
+
this.closeSubDrawer = this.closeSubDrawer.bind(this);
|
|
17
|
+
this.subDrawerChildren = this.subDrawerChildren.bind(this);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
onClose() {
|
|
21
|
+
this.setState({
|
|
22
|
+
isActive: false
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
openSecondDrawer() {
|
|
27
|
+
this.setState({
|
|
28
|
+
subDrawerActive: true
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
closeDrawers() {
|
|
33
|
+
this.setState({
|
|
34
|
+
isActive: false
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
closeSubDrawer() {
|
|
39
|
+
this.setState({
|
|
40
|
+
subDrawerActive: false
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
changeSize(drawersize) {
|
|
45
|
+
this.setState({
|
|
46
|
+
size: drawersize
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
subDrawerChildren() {
|
|
51
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Header, {
|
|
52
|
+
title: "Second Drawer",
|
|
53
|
+
onClose: this.closeSubDrawer
|
|
54
|
+
}), /*#__PURE__*/React.createElement(Content, {
|
|
55
|
+
paddingSize: "small"
|
|
56
|
+
}, /*#__PURE__*/React.createElement("div", null, "Hi, I am Second Drawer Content Area")));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
render() {
|
|
60
|
+
let {
|
|
61
|
+
isActive,
|
|
62
|
+
subDrawerActive,
|
|
63
|
+
size
|
|
64
|
+
} = this.state;
|
|
65
|
+
return /*#__PURE__*/React.createElement(Drawer, {
|
|
66
|
+
isActive: isActive,
|
|
67
|
+
needFreeze: true,
|
|
68
|
+
paddingSize: "small",
|
|
69
|
+
subDrawerActive: subDrawerActive,
|
|
70
|
+
subDrawerSize: "small",
|
|
71
|
+
onClose: this.closeDrawers,
|
|
72
|
+
subDrawerChildren: this.subDrawerChildren(),
|
|
73
|
+
size: size,
|
|
74
|
+
needAutoZindex: true
|
|
75
|
+
}, /*#__PURE__*/React.createElement(Header, {
|
|
76
|
+
title: "First Drawer",
|
|
77
|
+
onClose: this.onClose
|
|
78
|
+
}), /*#__PURE__*/React.createElement(Content, {
|
|
79
|
+
className: style.headerTest
|
|
80
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
81
|
+
onClick: this.openSecondDrawer
|
|
82
|
+
}, "Click here to Open Second Drawer ..:-)"), /*#__PURE__*/React.createElement(Button, {
|
|
83
|
+
text: "small",
|
|
84
|
+
onClick: this.changeSize.bind(this, 'small')
|
|
85
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
86
|
+
text: "xsmall",
|
|
87
|
+
onClick: this.changeSize.bind(this, 'xsmall')
|
|
88
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
89
|
+
text: "medium",
|
|
90
|
+
onClick: this.changeSize.bind(this, 'medium')
|
|
91
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
92
|
+
text: "xmedium",
|
|
93
|
+
onClick: this.changeSize.bind(this, 'xmedium')
|
|
94
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
95
|
+
text: "large",
|
|
96
|
+
onClick: this.changeSize.bind(this, 'large')
|
|
97
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
98
|
+
text: "xlarge",
|
|
99
|
+
onClick: this.changeSize.bind(this, 'xlarge')
|
|
100
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
101
|
+
text: "xxlarge",
|
|
102
|
+
onClick: this.changeSize.bind(this, 'xxlarge')
|
|
103
|
+
})));
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
if (false) {
|
|
109
|
+
Drawer__multiDrawer.docs = {
|
|
110
|
+
componentGroup: 'Template'
|
|
111
|
+
};
|
|
112
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Drawer from '../Drawer';
|
|
3
|
+
export default class Drawer__noFreeze extends React.Component {
|
|
4
|
+
constructor(props) {
|
|
5
|
+
super(props);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
render() {
|
|
9
|
+
return /*#__PURE__*/React.createElement(Drawer, {
|
|
10
|
+
isActive: true
|
|
11
|
+
}, /*#__PURE__*/React.createElement("div", null, "Children"));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
if (false) {
|
|
17
|
+
Drawer__noFreeze.docs = {
|
|
18
|
+
componentGroup: 'Template'
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import IconButton from '../IconButton';
|
|
3
|
+
export default class IconButton__default extends Component {
|
|
4
|
+
render() {
|
|
5
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
6
|
+
style: {
|
|
7
|
+
margin: '10px'
|
|
8
|
+
}
|
|
9
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
10
|
+
style: {
|
|
11
|
+
margin: '30px'
|
|
12
|
+
}
|
|
13
|
+
}, "isBold"), /*#__PURE__*/React.createElement("span", {
|
|
14
|
+
style: {
|
|
15
|
+
margin: '30px'
|
|
16
|
+
}
|
|
17
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
18
|
+
iconSize: "12",
|
|
19
|
+
iconName: "ZD-commentNew",
|
|
20
|
+
palette: "primary",
|
|
21
|
+
isBold: true
|
|
22
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
23
|
+
style: {
|
|
24
|
+
margin: '30px'
|
|
25
|
+
}
|
|
26
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
27
|
+
isBold: true,
|
|
28
|
+
iconSize: "12",
|
|
29
|
+
iconName: "ZD-more",
|
|
30
|
+
palette: "secondary"
|
|
31
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
32
|
+
style: {
|
|
33
|
+
margin: '30px'
|
|
34
|
+
}
|
|
35
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
36
|
+
iconSize: "12",
|
|
37
|
+
iconName: "ZD-commentNew",
|
|
38
|
+
palette: "primaryFilled",
|
|
39
|
+
isBold: true
|
|
40
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
41
|
+
style: {
|
|
42
|
+
margin: '10px'
|
|
43
|
+
}
|
|
44
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
45
|
+
style: {
|
|
46
|
+
margin: '30px'
|
|
47
|
+
}
|
|
48
|
+
}, "Palette"), /*#__PURE__*/React.createElement("span", {
|
|
49
|
+
style: {
|
|
50
|
+
margin: '30px'
|
|
51
|
+
}
|
|
52
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
53
|
+
iconSize: "12",
|
|
54
|
+
iconName: "ZD-commentNew",
|
|
55
|
+
palette: "primary",
|
|
56
|
+
onClick: () => {
|
|
57
|
+
console.log('click');
|
|
58
|
+
},
|
|
59
|
+
onMouseDown: () => {
|
|
60
|
+
console.log('Down');
|
|
61
|
+
},
|
|
62
|
+
onMouseOver: () => {
|
|
63
|
+
console.log('over');
|
|
64
|
+
}
|
|
65
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
66
|
+
style: {
|
|
67
|
+
margin: '30px'
|
|
68
|
+
}
|
|
69
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
70
|
+
iconSize: "12",
|
|
71
|
+
iconName: "ZD-more"
|
|
72
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
73
|
+
style: {
|
|
74
|
+
margin: '30px'
|
|
75
|
+
}
|
|
76
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
77
|
+
iconSize: "12",
|
|
78
|
+
iconName: "ZD-commentNew",
|
|
79
|
+
palette: "primaryFilled"
|
|
80
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
81
|
+
style: {
|
|
82
|
+
margin: '10px'
|
|
83
|
+
}
|
|
84
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
85
|
+
style: {
|
|
86
|
+
margin: '30px'
|
|
87
|
+
}
|
|
88
|
+
}, "isActive"), /*#__PURE__*/React.createElement("span", {
|
|
89
|
+
style: {
|
|
90
|
+
margin: '30px'
|
|
91
|
+
}
|
|
92
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
93
|
+
iconSize: "12",
|
|
94
|
+
iconName: "ZD-commentNew",
|
|
95
|
+
palette: "primary",
|
|
96
|
+
isActive: true
|
|
97
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
98
|
+
style: {
|
|
99
|
+
margin: '30px'
|
|
100
|
+
}
|
|
101
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
102
|
+
iconSize: "12",
|
|
103
|
+
iconName: "ZD-more",
|
|
104
|
+
isActive: true
|
|
105
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
106
|
+
style: {
|
|
107
|
+
margin: '30px'
|
|
108
|
+
}
|
|
109
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
110
|
+
iconSize: "12",
|
|
111
|
+
iconName: "ZD-commentNew",
|
|
112
|
+
palette: "primaryFilled",
|
|
113
|
+
isActive: true
|
|
114
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
115
|
+
style: {
|
|
116
|
+
margin: '10px'
|
|
117
|
+
}
|
|
118
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
119
|
+
style: {
|
|
120
|
+
margin: '30px'
|
|
121
|
+
}
|
|
122
|
+
}, "Border On Hover"), /*#__PURE__*/React.createElement("span", {
|
|
123
|
+
style: {
|
|
124
|
+
margin: '30px'
|
|
125
|
+
}
|
|
126
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
127
|
+
iconSize: "12",
|
|
128
|
+
iconName: "ZD-commentNew",
|
|
129
|
+
palette: "primary",
|
|
130
|
+
hoverType: "border"
|
|
131
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
132
|
+
style: {
|
|
133
|
+
margin: '30px'
|
|
134
|
+
}
|
|
135
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
136
|
+
iconSize: "12",
|
|
137
|
+
iconName: "ZD-more",
|
|
138
|
+
hoverType: "border"
|
|
139
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
140
|
+
style: {
|
|
141
|
+
margin: '10px'
|
|
142
|
+
}
|
|
143
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
144
|
+
style: {
|
|
145
|
+
margin: '30px'
|
|
146
|
+
}
|
|
147
|
+
}, "isDisabled"), /*#__PURE__*/React.createElement("span", {
|
|
148
|
+
style: {
|
|
149
|
+
margin: '30px'
|
|
150
|
+
}
|
|
151
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
152
|
+
iconSize: "12",
|
|
153
|
+
iconName: "ZD-commentNew",
|
|
154
|
+
palette: "primary",
|
|
155
|
+
isDisabled: true
|
|
156
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
157
|
+
style: {
|
|
158
|
+
margin: '30px'
|
|
159
|
+
}
|
|
160
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
161
|
+
iconSize: "12",
|
|
162
|
+
iconName: "ZD-more",
|
|
163
|
+
isDisabled: true
|
|
164
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
165
|
+
style: {
|
|
166
|
+
margin: '30px'
|
|
167
|
+
}
|
|
168
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
169
|
+
iconSize: "12",
|
|
170
|
+
iconName: "ZD-commentNew",
|
|
171
|
+
palette: "primaryFilled",
|
|
172
|
+
isDisabled: true
|
|
173
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
174
|
+
style: {
|
|
175
|
+
margin: '10px'
|
|
176
|
+
}
|
|
177
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
178
|
+
style: {
|
|
179
|
+
margin: '30px'
|
|
180
|
+
}
|
|
181
|
+
}, "Tooltip"), /*#__PURE__*/React.createElement("span", {
|
|
182
|
+
style: {
|
|
183
|
+
margin: '30px'
|
|
184
|
+
}
|
|
185
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
186
|
+
iconSize: "12",
|
|
187
|
+
iconName: "ZD-commentNew",
|
|
188
|
+
palette: "primary",
|
|
189
|
+
isDisabled: true,
|
|
190
|
+
title: "primary"
|
|
191
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
192
|
+
style: {
|
|
193
|
+
margin: '30px'
|
|
194
|
+
}
|
|
195
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
196
|
+
iconSize: "12",
|
|
197
|
+
iconName: "ZD-more",
|
|
198
|
+
isDisabled: true,
|
|
199
|
+
title: "default"
|
|
200
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
201
|
+
style: {
|
|
202
|
+
margin: '30px'
|
|
203
|
+
}
|
|
204
|
+
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
205
|
+
iconSize: "12",
|
|
206
|
+
iconName: "ZD-commentNew",
|
|
207
|
+
palette: "primaryFilled",
|
|
208
|
+
isDisabled: true,
|
|
209
|
+
title: "primaryFilled"
|
|
210
|
+
}))));
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
if (false) {
|
|
216
|
+
IconButton__default.docs = {
|
|
217
|
+
componentGroup: 'Atom'
|
|
218
|
+
};
|
|
219
|
+
}
|