@zohodesk/dot 1.0.0-beta.244 → 1.0.0-beta.246
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 +8 -0
- package/assets/Appearance/dark/mode/dotDarkMode.module.css +6 -1
- package/assets/Appearance/default/mode/dotDefaultMode.module.css +6 -1
- package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +6 -1
- package/es/Attachment/Attachment.js +6 -5
- package/es/AttachmentViewer/AttachmentViewer.js +29 -28
- package/es/ChannelIcon/ChannelIcon.js +5 -5
- package/es/Drawer/Drawer.js +7 -6
- package/es/ExternalLink/ExternalLink.js +6 -5
- package/es/FlipCard/FlipCard.js +5 -5
- package/es/FormAction/FormAction.js +12 -9
- package/es/FreezeLayer/FreezeLayer.js +7 -6
- package/es/IconButton/IconButton.js +6 -5
- package/es/Image/Image.js +5 -5
- package/es/ImportantNotes/ImportantNotes.js +7 -6
- package/es/Link/Link.js +6 -5
- package/es/Loader/Loader.js +6 -5
- package/es/Message/Message.js +7 -5
- package/es/MessageBanner/MessageBanner.js +6 -5
- package/es/NewStar/NewStar.js +6 -5
- package/es/PlusIcon/PlusIcon.js +7 -6
- package/es/Separator/Separator.js +57 -0
- package/es/Separator/Separator.module.css +34 -0
- package/es/Separator/props/defaultProps.js +12 -0
- package/es/Separator/props/propTypes.js +11 -0
- package/es/ToastMessage/ToastMessage.js +6 -5
- package/es/Upload/Upload.js +6 -5
- package/es/alert/AlertHeader/AlertHeader.js +7 -6
- package/es/alert/AlertLookup/AlertLookup.js +7 -6
- package/es/avatar/AvatarClose/AvatarClose.js +5 -5
- package/es/avatar/AvatarCollision/AvatarCollision.js +5 -5
- package/es/avatar/AvatarIcon/AvatarIcon.js +3 -5
- package/es/avatar/AvatarStatus/AvatarStatus.js +6 -5
- package/es/avatar/AvatarThread/AvatarThread.js +6 -5
- package/es/avatar/AvatarUser/AvatarUser.js +6 -5
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +6 -5
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +1 -1
- package/es/deprecated/SelectDropdown/SelectDropdown.js +7 -6
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +6 -5
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +6 -5
- package/es/emptystate/EditionPage/EditionPage.js +6 -5
- package/es/errorstate/LinkText/LinkText.js +5 -5
- package/es/errorstate/NoRequestFound/NoRequestFound.js +5 -5
- package/es/errorstate/PermissionPlay/PermissionPlay.js +5 -5
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +5 -5
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +5 -5
- package/es/errorstate/WillBack/WillBack.js +5 -5
- package/es/form/fields/CheckBoxField/CheckBoxField.js +7 -6
- package/es/form/fields/CurrencyField/CurrencyField.js +7 -6
- package/es/form/fields/DateField/DateField.js +7 -6
- package/es/form/fields/FieldContainer/FieldContainer.js +7 -6
- package/es/form/fields/MultiSelectField/MultiSelectField.js +7 -6
- package/es/form/fields/PhoneField/PhoneField.js +7 -6
- package/es/form/fields/RadioField/RadioField.js +6 -6
- package/es/form/fields/SelectField/SelectField.js +7 -6
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +6 -5
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +6 -5
- package/es/form/fields/TextBoxField/TextBoxField.js +7 -6
- package/es/form/fields/TextEditor/TextEditor.js +10 -10
- package/es/form/fields/TextEditorField/TextEditorField.js +6 -5
- package/es/form/fields/TextareaField/TextareaField.js +7 -6
- package/es/form/fields/ValidationMessage/ValidationMessage.js +7 -6
- package/es/form/layout/Field/Field.js +6 -5
- package/es/form/layout/Section/Section.js +5 -5
- package/es/layout/SetupDetailLayout/SetupDetailLayout.js +7 -5
- package/es/layout/SubtabLayout/SubtabLayout.js +6 -5
- package/es/list/AvatarFlip/AvatarFlip.js +7 -6
- package/es/list/BluePrintStatus/BluePrintStatus.js +6 -5
- package/es/list/Comment/Comment.js +7 -6
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +6 -6
- package/es/list/DotNew/DotNew.js +7 -6
- package/es/list/GridStencils/GridStencils.js +7 -6
- package/es/list/Icons/FloatingIcons.js +7 -6
- package/es/list/ListLayout/ListLayout.js +7 -6
- package/es/list/ListStencils/ListStencils.js +7 -6
- package/es/list/SecondaryText/AccountName.js +7 -6
- package/es/list/SecondaryText/ContactName.js +7 -6
- package/es/list/SecondaryText/DepartmentText.js +7 -6
- package/es/list/SecondaryText/Email.js +7 -6
- package/es/list/SecondaryText/HappinessRating.js +7 -6
- package/es/list/SecondaryText/PhoneNumber.js +7 -6
- package/es/list/SecondaryText/PriorityText.js +7 -6
- package/es/list/SecondaryText/SecondaryText.js +7 -6
- package/es/list/SecondaryText/StatusText.js +7 -6
- package/es/list/SecondaryText/TicketId.js +7 -6
- package/es/list/SecondaryText/Website.js +7 -6
- package/es/list/SecondryPanel/SecondryPanel.js +7 -6
- package/es/list/SentimentStatus/SentimentStatus.js +6 -5
- package/es/list/Subject/Subject.js +7 -6
- package/es/list/TagNew/TagNew.js +7 -6
- package/es/list/Thread/Thread.js +7 -6
- package/es/list/UserTime/UserTime.js +7 -6
- package/es/list/status/StatusDropdown/StatusDropdown.js +6 -5
- package/es/list/status/StatusListItem/StatusListItem.js +7 -6
- package/es/lookup/EmptyPage/EmptyPage.js +6 -5
- package/es/lookup/Lookup/Lookup.js +6 -5
- package/es/lookup/header/Close/Close.js +6 -5
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +6 -5
- package/es/lookup/header/Search/Search.js +6 -5
- package/es/lookup/header/TicketHeader/TicketHeader.js +6 -5
- package/es/lookup/header/Title/Title.js +6 -5
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +8 -7
- package/es/setup/header/Button/Button.js +7 -6
- package/es/setup/header/Link/Link.js +7 -6
- package/es/setup/header/Search/Search.js +7 -6
- package/es/setup/header/Views/Views.js +7 -6
- package/es/setup/helptips/Description/Description.js +7 -6
- package/es/setup/helptips/Link/Link.js +7 -6
- package/es/setup/helptips/ListGroup/ListGroup.js +7 -6
- package/es/setup/helptips/Title/Title.js +7 -6
- package/es/setup/table/Table/Table.js +7 -6
- package/es/setup/table/TableBody/TableBody.js +7 -6
- package/es/setup/table/TableData/TableData.js +7 -6
- package/es/setup/table/TableHead/TableHead.js +7 -6
- package/es/setup/table/TableRow/TableRow.js +7 -6
- package/es/setup/table/Text/Text.js +7 -6
- package/es/svg/PlusIcon.js +6 -5
- package/es/svg/SnippetIcon.js +6 -5
- package/es/svg/TemplateIcon.js +6 -5
- package/es/utils/editorUtils.js +1 -1
- package/es/version2/AlertClose/AlertClose.js +7 -6
- package/es/version2/GlobalNotification/GlobalNotification.js +8 -6
- package/es/version2/alertIcons/AlertIcons.js +7 -6
- package/es/version2/errorstate/Inconvenience/Inconvenience.js +6 -5
- package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +6 -5
- package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +6 -5
- package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +6 -5
- package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +6 -5
- package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +6 -5
- package/es/version2/lookup/AlertHeader/AlertHeader.js +7 -6
- package/es/version2/lookup/AlertLookup/AlertLookup.js +7 -6
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +7 -6
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +7 -6
- package/install.md +12 -0
- package/lib/Attachment/Attachment.js +6 -5
- package/lib/AttachmentViewer/AttachmentViewer.js +17 -16
- package/lib/ChannelIcon/ChannelIcon.js +5 -5
- package/lib/Drawer/Drawer.js +6 -5
- package/lib/ExternalLink/ExternalLink.js +6 -5
- package/lib/FlipCard/FlipCard.js +5 -5
- package/lib/FormAction/FormAction.js +12 -9
- package/lib/FreezeLayer/FreezeLayer.js +7 -6
- package/lib/IconButton/IconButton.js +6 -5
- package/lib/Image/Image.js +5 -5
- package/lib/ImportantNotes/ImportantNotes.js +7 -6
- package/lib/Link/Link.js +6 -5
- package/lib/Loader/Loader.js +6 -7
- package/lib/Message/Message.js +7 -5
- package/lib/MessageBanner/MessageBanner.js +6 -5
- package/lib/NewStar/NewStar.js +6 -5
- package/lib/PlusIcon/PlusIcon.js +7 -6
- package/lib/Separator/Separator.js +82 -0
- package/lib/Separator/Separator.module.css +34 -0
- package/lib/Separator/props/defaultProps.js +19 -0
- package/lib/Separator/props/propTypes.js +19 -0
- package/lib/ToastMessage/ToastMessage.js +6 -5
- package/lib/Upload/Upload.js +6 -5
- package/lib/alert/AlertHeader/AlertHeader.js +7 -6
- package/lib/alert/AlertLookup/AlertLookup.js +7 -6
- package/lib/avatar/AvatarClose/AvatarClose.js +5 -5
- package/lib/avatar/AvatarCollision/AvatarCollision.js +5 -5
- package/lib/avatar/AvatarIcon/AvatarIcon.js +3 -5
- package/lib/avatar/AvatarStatus/AvatarStatus.js +6 -5
- package/lib/avatar/AvatarThread/AvatarThread.js +6 -5
- package/lib/avatar/AvatarUser/AvatarUser.js +6 -5
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +6 -5
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +1 -1
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +6 -6
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +6 -5
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +6 -5
- package/lib/emptystate/EditionPage/EditionPage.js +6 -5
- package/lib/errorstate/LinkText/LinkText.js +5 -5
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +5 -5
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +5 -5
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +5 -5
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +5 -5
- package/lib/errorstate/WillBack/WillBack.js +5 -5
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +7 -6
- package/lib/form/fields/CurrencyField/CurrencyField.js +7 -6
- package/lib/form/fields/DateField/DateField.js +7 -6
- package/lib/form/fields/FieldContainer/FieldContainer.js +7 -6
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +7 -6
- package/lib/form/fields/PhoneField/PhoneField.js +7 -6
- package/lib/form/fields/RadioField/RadioField.js +6 -6
- package/lib/form/fields/SelectField/SelectField.js +7 -6
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +6 -5
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +6 -5
- package/lib/form/fields/TextBoxField/TextBoxField.js +7 -6
- package/lib/form/fields/TextEditor/TextEditor.js +10 -10
- package/lib/form/fields/TextEditorField/TextEditorField.js +6 -5
- package/lib/form/fields/TextareaField/TextareaField.js +7 -6
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +7 -6
- package/lib/form/layout/Field/Field.js +6 -5
- package/lib/form/layout/Section/Section.js +5 -5
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +6 -5
- package/lib/layout/SubtabLayout/SubtabLayout.js +6 -5
- package/lib/list/AvatarFlip/AvatarFlip.js +7 -6
- package/lib/list/BluePrintStatus/BluePrintStatus.js +6 -5
- package/lib/list/Comment/Comment.js +7 -6
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +7 -8
- package/lib/list/DotNew/DotNew.js +7 -6
- package/lib/list/GridStencils/GridStencils.js +7 -6
- package/lib/list/Icons/FloatingIcons.js +7 -6
- package/lib/list/ListLayout/ListLayout.js +7 -6
- package/lib/list/ListStencils/ListStencils.js +7 -6
- package/lib/list/SecondaryText/AccountName.js +7 -6
- package/lib/list/SecondaryText/ContactName.js +7 -6
- package/lib/list/SecondaryText/DepartmentText.js +7 -6
- package/lib/list/SecondaryText/Email.js +7 -6
- package/lib/list/SecondaryText/HappinessRating.js +7 -6
- package/lib/list/SecondaryText/PhoneNumber.js +7 -6
- package/lib/list/SecondaryText/PriorityText.js +7 -6
- package/lib/list/SecondaryText/SecondaryText.js +7 -6
- package/lib/list/SecondaryText/StatusText.js +7 -6
- package/lib/list/SecondaryText/TicketId.js +7 -6
- package/lib/list/SecondaryText/Website.js +7 -6
- package/lib/list/SecondryPanel/SecondryPanel.js +7 -6
- package/lib/list/SentimentStatus/SentimentStatus.js +6 -5
- package/lib/list/Subject/Subject.js +7 -6
- package/lib/list/TagNew/TagNew.js +7 -6
- package/lib/list/Thread/Thread.js +7 -6
- package/lib/list/UserTime/UserTime.js +7 -6
- package/lib/list/status/StatusDropdown/StatusDropdown.js +5 -6
- package/lib/list/status/StatusListItem/StatusListItem.js +7 -6
- package/lib/lookup/EmptyPage/EmptyPage.js +6 -5
- package/lib/lookup/Lookup/Lookup.js +6 -5
- package/lib/lookup/header/Close/Close.js +6 -5
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +6 -5
- package/lib/lookup/header/Search/Search.js +6 -5
- package/lib/lookup/header/TicketHeader/TicketHeader.js +6 -5
- package/lib/lookup/header/Title/Title.js +6 -5
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +8 -7
- package/lib/setup/header/Button/Button.js +7 -6
- package/lib/setup/header/Link/Link.js +7 -6
- package/lib/setup/header/Search/Search.js +7 -6
- package/lib/setup/header/Views/Views.js +7 -6
- package/lib/setup/helptips/Description/Description.js +7 -6
- package/lib/setup/helptips/Link/Link.js +7 -6
- package/lib/setup/helptips/ListGroup/ListGroup.js +7 -6
- package/lib/setup/helptips/Title/Title.js +7 -6
- package/lib/setup/table/Table/Table.js +7 -6
- package/lib/setup/table/TableBody/TableBody.js +7 -6
- package/lib/setup/table/TableData/TableData.js +7 -6
- package/lib/setup/table/TableHead/TableHead.js +7 -6
- package/lib/setup/table/TableRow/TableRow.js +7 -6
- package/lib/setup/table/Text/Text.js +7 -6
- package/lib/svg/PlusIcon.js +6 -5
- package/lib/svg/SnippetIcon.js +6 -5
- package/lib/svg/TemplateIcon.js +6 -5
- package/lib/utils/editorUtils.js +1 -1
- package/lib/version2/AlertClose/AlertClose.js +7 -6
- package/lib/version2/GlobalNotification/GlobalNotification.js +8 -6
- package/lib/version2/alertIcons/AlertIcons.js +7 -6
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +6 -5
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +6 -5
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +6 -5
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +6 -5
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +6 -5
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +6 -5
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +7 -6
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +7 -6
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +7 -6
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +7 -6
- package/package.json +3 -3
- package/css_error.log +0 -0
|
@@ -65,9 +65,10 @@ export default class AlertHeader extends Component {
|
|
|
65
65
|
}
|
|
66
66
|
AlertHeader.propTypes = propTypes;
|
|
67
67
|
AlertHeader.defaultProps = defaultProps;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
68
|
+
|
|
69
|
+
// if (__DOCS__) {
|
|
70
|
+
// AlertHeader.docs = {
|
|
71
|
+
// componentGroup: 'AlertHeader',
|
|
72
|
+
// folderName: 'Alert'
|
|
73
|
+
// };
|
|
74
|
+
// }
|
|
@@ -98,9 +98,10 @@ export default class AlertLookup extends Component {
|
|
|
98
98
|
}
|
|
99
99
|
AlertLookup.propTypes = propTypes;
|
|
100
100
|
AlertLookup.defaultProps = defaultProps;
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
101
|
+
|
|
102
|
+
// if (__DOCS__) {
|
|
103
|
+
// AlertLookup.docs = {
|
|
104
|
+
// componentGroup: 'AlertLookup',
|
|
105
|
+
// folderName: 'Alert'
|
|
106
|
+
// };
|
|
107
|
+
// }
|
|
@@ -42,8 +42,8 @@ export default class AvatarClose extends React.Component {
|
|
|
42
42
|
}
|
|
43
43
|
AvatarClose.propTypes = propTypes;
|
|
44
44
|
AvatarClose.defaultProps = defaultProps;
|
|
45
|
-
if (
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
45
|
+
// if (__DOCS__) {
|
|
46
|
+
// AvatarClose.docs = {
|
|
47
|
+
// componentGroup: 'Avatar Group'
|
|
48
|
+
// };
|
|
49
|
+
// }
|
|
@@ -50,8 +50,8 @@ export default class AvatarCollision extends React.Component {
|
|
|
50
50
|
}
|
|
51
51
|
AvatarCollision.propTypes = propTypes;
|
|
52
52
|
AvatarCollision.defaultProps = defaultProps;
|
|
53
|
-
if (
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}
|
|
53
|
+
// if (__DOCS__) {
|
|
54
|
+
// AvatarCollision.docs = {
|
|
55
|
+
// componentGroup: 'Avatar Group'
|
|
56
|
+
// };
|
|
57
|
+
// }
|
|
@@ -46,8 +46,6 @@ export default class AvatarIcon extends React.Component {
|
|
|
46
46
|
}
|
|
47
47
|
AvatarIcon.defaultProps = defaultProps;
|
|
48
48
|
AvatarIcon.propTypes = propTypes;
|
|
49
|
-
if (
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
};
|
|
53
|
-
}
|
|
49
|
+
// if (__DOCS__) {
|
|
50
|
+
// AvatarIcon.docs = { componentGroup: 'Avatar Group' };
|
|
51
|
+
// }
|
|
@@ -59,8 +59,9 @@ export default class AvatarStatus extends React.Component {
|
|
|
59
59
|
}
|
|
60
60
|
AvatarStatus.defaultProps = defaultProps;
|
|
61
61
|
AvatarStatus.propTypes = propTypes;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
62
|
+
|
|
63
|
+
// if (__DOCS__) {
|
|
64
|
+
// AvatarStatus.docs = {
|
|
65
|
+
// componentGroup: 'Avatar Group'
|
|
66
|
+
// };
|
|
67
|
+
// }
|
|
@@ -68,8 +68,9 @@ export default class AvatarThread extends React.Component {
|
|
|
68
68
|
}
|
|
69
69
|
AvatarThread.defaultProps = defaultProps;
|
|
70
70
|
AvatarThread.propTypes = propTypes;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}
|
|
71
|
+
|
|
72
|
+
// if (__DOCS__) {
|
|
73
|
+
// AvatarThread.docs = {
|
|
74
|
+
// componentGroup: 'Avatar Group'
|
|
75
|
+
// };
|
|
76
|
+
// }
|
|
@@ -100,8 +100,9 @@ export default class AvatarUser extends React.Component {
|
|
|
100
100
|
}
|
|
101
101
|
AvatarUser.propTypes = propTypes;
|
|
102
102
|
AvatarUser.defaultProps = defaultProps;
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}
|
|
103
|
+
|
|
104
|
+
// if (__DOCS__) {
|
|
105
|
+
// AvatarUser.docs = {
|
|
106
|
+
// componentGroup: 'Avatar Group'
|
|
107
|
+
// };
|
|
108
|
+
// }
|
|
@@ -85,8 +85,9 @@ export default class AvatarWithTeam extends React.Component {
|
|
|
85
85
|
}
|
|
86
86
|
AvatarWithTeam.defaultProps = defaultProps;
|
|
87
87
|
AvatarWithTeam.propTypes = propTypes;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}
|
|
88
|
+
|
|
89
|
+
// if (__DOCS__) {
|
|
90
|
+
// AvatarWithTeam.docs = {
|
|
91
|
+
// componentGroup: 'Avatar Group'
|
|
92
|
+
// };
|
|
93
|
+
// }
|
|
@@ -135,10 +135,11 @@ SelectDropdown.propTypes = {
|
|
|
135
135
|
}),
|
|
136
136
|
title: PropTypes.string
|
|
137
137
|
};
|
|
138
|
-
if (
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
}
|
|
138
|
+
// if (__DOCS__) {
|
|
139
|
+
// SelectDropdown.docs = {
|
|
140
|
+
// componentGroup: 'Header',
|
|
141
|
+
// folderName: 'Setup'
|
|
142
|
+
// };
|
|
143
|
+
// }
|
|
144
|
+
|
|
144
145
|
export default Popup(SelectDropdown);
|
|
@@ -823,9 +823,10 @@ export class ToggleDropDown extends Component {
|
|
|
823
823
|
}
|
|
824
824
|
ToggleDropDown.defaultProps = defaultProps;
|
|
825
825
|
ToggleDropDown.propTypes = propTypes;
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
}
|
|
826
|
+
|
|
827
|
+
// if (__DOCS__) {
|
|
828
|
+
// ToggleDropDown.docs = {
|
|
829
|
+
// componentGroup: 'Molecule'
|
|
830
|
+
// };
|
|
831
|
+
// }
|
|
831
832
|
export default Popup(ToggleDropDown);
|
|
@@ -58,8 +58,9 @@ export default class CommonEmptyState extends Component {
|
|
|
58
58
|
}
|
|
59
59
|
CommonEmptyState.propTypes = propTypes;
|
|
60
60
|
CommonEmptyState.defaultProps = defaultProps;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
61
|
+
|
|
62
|
+
// if (__DOCS__) {
|
|
63
|
+
// CommonEmptyState.docs = {
|
|
64
|
+
// componentGroup: 'EmptyState'
|
|
65
|
+
// };
|
|
66
|
+
// }
|
|
@@ -47,8 +47,9 @@ export default class EditionPage extends Component {
|
|
|
47
47
|
}
|
|
48
48
|
EditionPage.defaultProps = defaultProps;
|
|
49
49
|
EditionPage.propTypes = propTypes;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
50
|
+
|
|
51
|
+
// if (__DOCS__) {
|
|
52
|
+
// EditionPage.docs = {
|
|
53
|
+
// componentGroup: 'EmptyState'
|
|
54
|
+
// };
|
|
55
|
+
// }
|
|
@@ -22,8 +22,8 @@ export default class LinkText extends React.Component {
|
|
|
22
22
|
}
|
|
23
23
|
LinkText.propTypes = propTypes;
|
|
24
24
|
LinkText.defaultProps = defaultProps;
|
|
25
|
-
if (
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
25
|
+
// if (__DOCS__) {
|
|
26
|
+
// LinkText.docs = {
|
|
27
|
+
// componentGroup: 'errorStates'
|
|
28
|
+
// };
|
|
29
|
+
// }
|
|
@@ -75,8 +75,8 @@ export default class NoRequestFound extends React.Component {
|
|
|
75
75
|
}
|
|
76
76
|
NoRequestFound.propTypes = propTypes;
|
|
77
77
|
NoRequestFound.defaultProps = defaultProps;
|
|
78
|
-
if (
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}
|
|
78
|
+
// if (__DOCS__) {
|
|
79
|
+
// NoRequestFound.docs = {
|
|
80
|
+
// componentGroup: 'errorStates'
|
|
81
|
+
// };
|
|
82
|
+
// }
|
|
@@ -74,8 +74,8 @@ export default class PermissionPlay extends React.Component {
|
|
|
74
74
|
}
|
|
75
75
|
PermissionPlay.propTypes = propTypes;
|
|
76
76
|
PermissionPlay.defaultProps = defaultProps;
|
|
77
|
-
if (
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
77
|
+
// if (__DOCS__) {
|
|
78
|
+
// PermissionPlay.docs = {
|
|
79
|
+
// componentGroup: 'errorStates'
|
|
80
|
+
// };
|
|
81
|
+
// }
|
|
@@ -75,8 +75,8 @@ export default class RequestUrlNotFound extends React.Component {
|
|
|
75
75
|
}
|
|
76
76
|
RequestUrlNotFound.propTypes = propTypes;
|
|
77
77
|
RequestUrlNotFound.defaultProps = defaultProps;
|
|
78
|
-
if (
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}
|
|
78
|
+
// if (__DOCS__) {
|
|
79
|
+
// RequestUrlNotFound.docs = {
|
|
80
|
+
// componentGroup: 'errorStates'
|
|
81
|
+
// };
|
|
82
|
+
// }
|
|
@@ -75,8 +75,8 @@ export default class UnauthorizedLogin extends React.Component {
|
|
|
75
75
|
}
|
|
76
76
|
UnauthorizedLogin.propTypes = propTypes;
|
|
77
77
|
UnauthorizedLogin.defaultProps = defaultProps;
|
|
78
|
-
if (
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}
|
|
78
|
+
// if (__DOCS__) {
|
|
79
|
+
// UnauthorizedLogin.docs = {
|
|
80
|
+
// componentGroup: 'errorStates'
|
|
81
|
+
// };
|
|
82
|
+
// }
|
|
@@ -66,8 +66,8 @@ export default class WillBack extends React.Component {
|
|
|
66
66
|
}
|
|
67
67
|
WillBack.propTypes = propTypes;
|
|
68
68
|
WillBack.defaultProps = defaultProps;
|
|
69
|
-
if (
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
69
|
+
// if (__DOCS__) {
|
|
70
|
+
// WillBack.docs = {
|
|
71
|
+
// componentGroup: 'errorStates'
|
|
72
|
+
// };
|
|
73
|
+
// }
|
|
@@ -126,9 +126,10 @@ export default class CheckBoxField extends PureComponent {
|
|
|
126
126
|
}
|
|
127
127
|
CheckBoxField.propTypes = propTypes;
|
|
128
128
|
CheckBoxField.defaultProps = defaultProps;
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}
|
|
129
|
+
|
|
130
|
+
// if (__DOCS__) {
|
|
131
|
+
// CheckBoxField.docs = {
|
|
132
|
+
// componentGroup: 'Form Fields',
|
|
133
|
+
// folderName: 'General'
|
|
134
|
+
// };
|
|
135
|
+
// }
|
|
@@ -165,9 +165,10 @@ export default class CurrencyField extends PureComponent {
|
|
|
165
165
|
}
|
|
166
166
|
CurrencyField.propTypes = propTypes;
|
|
167
167
|
CurrencyField.defaultProps = defaultProps;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
}
|
|
168
|
+
|
|
169
|
+
// if (__DOCS__) {
|
|
170
|
+
// CurrencyField.docs = {
|
|
171
|
+
// componentGroup: 'Form Fields',
|
|
172
|
+
// folderName: 'General'
|
|
173
|
+
// };
|
|
174
|
+
// }
|
|
@@ -174,9 +174,10 @@ export default class DateField extends PureComponent {
|
|
|
174
174
|
}
|
|
175
175
|
DateField.propTypes = propTypes;
|
|
176
176
|
DateField.defaultProps = defaultProps;
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
}
|
|
177
|
+
|
|
178
|
+
// if (__DOCS__) {
|
|
179
|
+
// DateField.docs = {
|
|
180
|
+
// componentGroup: 'Form Fields',
|
|
181
|
+
// folderName: 'General'
|
|
182
|
+
// };
|
|
183
|
+
// }
|
|
@@ -57,9 +57,10 @@ export default class FieldContainer extends PureComponent {
|
|
|
57
57
|
}
|
|
58
58
|
FieldContainer.propTypes = propTypes;
|
|
59
59
|
FieldContainer.defaultProps = defaultProps;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
60
|
+
|
|
61
|
+
// if (__DOCS__) {
|
|
62
|
+
// FieldContainer.docs = {
|
|
63
|
+
// componentGroup: 'Form Fields',
|
|
64
|
+
// folderName: 'General'
|
|
65
|
+
// };
|
|
66
|
+
// }
|
|
@@ -199,9 +199,10 @@ export default class MultiSelectField extends PureComponent {
|
|
|
199
199
|
}
|
|
200
200
|
MultiSelectField.propTypes = propTypes;
|
|
201
201
|
MultiSelectField.defaultProps = defaultProps;
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
}
|
|
202
|
+
|
|
203
|
+
// if (__DOCS__) {
|
|
204
|
+
// MultiSelectField.docs = {
|
|
205
|
+
// componentGroup: 'Form Fields',
|
|
206
|
+
// folderName: 'General'
|
|
207
|
+
// };
|
|
208
|
+
// }
|
|
@@ -170,9 +170,10 @@ export default class PhoneField extends PureComponent {
|
|
|
170
170
|
}
|
|
171
171
|
PhoneField.propTypes = propTypes;
|
|
172
172
|
PhoneField.defaultProps = defaultProps;
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
}
|
|
173
|
+
|
|
174
|
+
// if (__DOCS__) {
|
|
175
|
+
// PhoneField.docs = {
|
|
176
|
+
// componentGroup: 'Form Fields',
|
|
177
|
+
// folderName: 'General'
|
|
178
|
+
// };
|
|
179
|
+
// }
|
|
@@ -103,9 +103,9 @@ export default class RadioField extends PureComponent {
|
|
|
103
103
|
}
|
|
104
104
|
RadioField.propTypes = propTypes;
|
|
105
105
|
RadioField.defaultProps = defaultProps;
|
|
106
|
-
if (
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
106
|
+
// if (__DOCS__) {
|
|
107
|
+
// RadioField.docs = {
|
|
108
|
+
// componentGroup: 'Form Fields',
|
|
109
|
+
// folderName: 'General'
|
|
110
|
+
// };
|
|
111
|
+
// }
|
|
@@ -172,9 +172,10 @@ export default class SelectField extends PureComponent {
|
|
|
172
172
|
}
|
|
173
173
|
SelectField.propTypes = propTypes;
|
|
174
174
|
SelectField.defaultProps = defaultProps;
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
}
|
|
175
|
+
|
|
176
|
+
// if (__DOCS__) {
|
|
177
|
+
// SelectField.docs = {
|
|
178
|
+
// componentGroup: 'Form Fields',
|
|
179
|
+
// folderName: 'General'
|
|
180
|
+
// };
|
|
181
|
+
// }
|
|
@@ -270,8 +270,9 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
270
270
|
}
|
|
271
271
|
TagsMultiSelect.propTypes = propTypes;
|
|
272
272
|
TagsMultiSelect.defaultProps = defaultProps;
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
}
|
|
273
|
+
|
|
274
|
+
// if (__DOCS__) {
|
|
275
|
+
// TagsMultiSelect.docs = {
|
|
276
|
+
// componentGroup: 'TagsMultiSelect'
|
|
277
|
+
// };
|
|
278
|
+
// }
|
|
@@ -232,8 +232,9 @@ const TagsMultiSelectField = props => {
|
|
|
232
232
|
export default Popup(TagsMultiSelectField);
|
|
233
233
|
TagsMultiSelectField.propTypes = propTypes;
|
|
234
234
|
TagsMultiSelectField.defaultProps = defaultProps;
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
}
|
|
235
|
+
|
|
236
|
+
// if (__DOCS__) {
|
|
237
|
+
// TagsMultiSelectField.docs = {
|
|
238
|
+
// componentGroup: 'TagsMultiSelectField'
|
|
239
|
+
// };
|
|
240
|
+
// }
|
|
@@ -152,9 +152,10 @@ export default class TextBoxField extends PureComponent {
|
|
|
152
152
|
}
|
|
153
153
|
TextBoxField.propTypes = propTypes;
|
|
154
154
|
TextBoxField.defaultProps = defaultProps;
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
}
|
|
155
|
+
|
|
156
|
+
// if (__DOCS__) {
|
|
157
|
+
// TextBoxField.docs = {
|
|
158
|
+
// componentGroup: 'Form Fields',
|
|
159
|
+
// folderName: 'General'
|
|
160
|
+
// };
|
|
161
|
+
// }
|
|
@@ -79,7 +79,7 @@ export default class TextEditor extends Component {
|
|
|
79
79
|
return true; // By default reply editor needs customPaste, so returning true.
|
|
80
80
|
},
|
|
81
81
|
|
|
82
|
-
htmlVersion:
|
|
82
|
+
htmlVersion: '<!Doctype html>'
|
|
83
83
|
};
|
|
84
84
|
if (!ZohoDeskEditor_Init.init) {
|
|
85
85
|
global.editorInitialize && global.editorInitialize();
|
|
@@ -153,7 +153,7 @@ export default class TextEditor extends Component {
|
|
|
153
153
|
let {
|
|
154
154
|
id
|
|
155
155
|
} = this.props;
|
|
156
|
-
let editorObj = editor[id] ? editor[id] : {};
|
|
156
|
+
let editorObj = global.editor[id] ? global.editor[id] : {};
|
|
157
157
|
let content = getRichEditorContent(id);
|
|
158
158
|
if (!editorContentValidate(editorObj)) {
|
|
159
159
|
content = '';
|
|
@@ -185,8 +185,8 @@ export default class TextEditor extends Component {
|
|
|
185
185
|
id
|
|
186
186
|
} = this.props;
|
|
187
187
|
global.editor = global.editor || {};
|
|
188
|
-
if (!editor[id]) {
|
|
189
|
-
editor[id] = editorObj;
|
|
188
|
+
if (!global.editor[id]) {
|
|
189
|
+
global.editor[id] = editorObj;
|
|
190
190
|
}
|
|
191
191
|
const css = 'blockquote {margin:0 0 0 4px; }',
|
|
192
192
|
head = editorObj.doc.head || editorObj.doc.getElementsByTagName('head')[0],
|
|
@@ -356,9 +356,9 @@ export default class TextEditor extends Component {
|
|
|
356
356
|
}
|
|
357
357
|
TextEditor.defaultProps = defaultProps;
|
|
358
358
|
TextEditor.propTypes = propTypes;
|
|
359
|
-
if (
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
}
|
|
359
|
+
// if (__DOCS__) {
|
|
360
|
+
// TextEditor.docs = {
|
|
361
|
+
// componentGroup: 'Fields',
|
|
362
|
+
// folderName: 'TextEditor'
|
|
363
|
+
// };
|
|
364
|
+
// }
|
|
@@ -162,8 +162,9 @@ export default class TextEditorField extends PureComponent {
|
|
|
162
162
|
}
|
|
163
163
|
TextEditorField.propTypes = propTypes;
|
|
164
164
|
TextEditorField.defaultProps = defaultProps;
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
}
|
|
165
|
+
|
|
166
|
+
// if (__DOCS__) {
|
|
167
|
+
// TextEditorField.docs = {
|
|
168
|
+
// componentGroup: 'Fields'
|
|
169
|
+
// };
|
|
170
|
+
// }
|
|
@@ -149,9 +149,10 @@ export default class TextareaField extends PureComponent {
|
|
|
149
149
|
}
|
|
150
150
|
TextareaField.propTypes = propTypes;
|
|
151
151
|
TextareaField.defaultProps = defaultProps;
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}
|
|
152
|
+
|
|
153
|
+
// if (__DOCS__) {
|
|
154
|
+
// TextareaField.docs = {
|
|
155
|
+
// componentGroup: 'Form Fields',
|
|
156
|
+
// folderName: 'General'
|
|
157
|
+
// };
|
|
158
|
+
// }
|
|
@@ -47,9 +47,10 @@ export default class ValidationMessage extends React.Component {
|
|
|
47
47
|
}
|
|
48
48
|
ValidationMessage.propTypes = propTypes;
|
|
49
49
|
ValidationMessage.defaultProps = defaultProps;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
50
|
+
|
|
51
|
+
// if (__DOCS__) {
|
|
52
|
+
// ValidationMessage.docs = {
|
|
53
|
+
// componentGroup: 'Form Fields',
|
|
54
|
+
// folderName: 'Style Guide'
|
|
55
|
+
// };
|
|
56
|
+
// }
|
|
@@ -25,8 +25,9 @@ export default class Field extends Component {
|
|
|
25
25
|
}
|
|
26
26
|
Field.propTypes = propTypes;
|
|
27
27
|
Field.defaultProps = defaultProps;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
28
|
+
|
|
29
|
+
// if (__DOCS__) {
|
|
30
|
+
// Field.docs = {
|
|
31
|
+
// componentGroup: 'ModuleAddForm'
|
|
32
|
+
// };
|
|
33
|
+
// }
|
|
@@ -27,8 +27,8 @@ export default class Section extends Component {
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
Section.propTypes = propTypes;
|
|
30
|
-
if (
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
30
|
+
// if (__DOCS__) {
|
|
31
|
+
// Section.docs = {
|
|
32
|
+
// componentGroup: 'ModuleAddForm'
|
|
33
|
+
// };
|
|
34
|
+
// }
|