@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.
Files changed (265) hide show
  1. package/README.md +8 -0
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +6 -1
  3. package/assets/Appearance/default/mode/dotDefaultMode.module.css +6 -1
  4. package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +6 -1
  5. package/es/Attachment/Attachment.js +6 -5
  6. package/es/AttachmentViewer/AttachmentViewer.js +29 -28
  7. package/es/ChannelIcon/ChannelIcon.js +5 -5
  8. package/es/Drawer/Drawer.js +7 -6
  9. package/es/ExternalLink/ExternalLink.js +6 -5
  10. package/es/FlipCard/FlipCard.js +5 -5
  11. package/es/FormAction/FormAction.js +12 -9
  12. package/es/FreezeLayer/FreezeLayer.js +7 -6
  13. package/es/IconButton/IconButton.js +6 -5
  14. package/es/Image/Image.js +5 -5
  15. package/es/ImportantNotes/ImportantNotes.js +7 -6
  16. package/es/Link/Link.js +6 -5
  17. package/es/Loader/Loader.js +6 -5
  18. package/es/Message/Message.js +7 -5
  19. package/es/MessageBanner/MessageBanner.js +6 -5
  20. package/es/NewStar/NewStar.js +6 -5
  21. package/es/PlusIcon/PlusIcon.js +7 -6
  22. package/es/Separator/Separator.js +57 -0
  23. package/es/Separator/Separator.module.css +34 -0
  24. package/es/Separator/props/defaultProps.js +12 -0
  25. package/es/Separator/props/propTypes.js +11 -0
  26. package/es/ToastMessage/ToastMessage.js +6 -5
  27. package/es/Upload/Upload.js +6 -5
  28. package/es/alert/AlertHeader/AlertHeader.js +7 -6
  29. package/es/alert/AlertLookup/AlertLookup.js +7 -6
  30. package/es/avatar/AvatarClose/AvatarClose.js +5 -5
  31. package/es/avatar/AvatarCollision/AvatarCollision.js +5 -5
  32. package/es/avatar/AvatarIcon/AvatarIcon.js +3 -5
  33. package/es/avatar/AvatarStatus/AvatarStatus.js +6 -5
  34. package/es/avatar/AvatarThread/AvatarThread.js +6 -5
  35. package/es/avatar/AvatarUser/AvatarUser.js +6 -5
  36. package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +6 -5
  37. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +1 -1
  38. package/es/deprecated/SelectDropdown/SelectDropdown.js +7 -6
  39. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +6 -5
  40. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +6 -5
  41. package/es/emptystate/EditionPage/EditionPage.js +6 -5
  42. package/es/errorstate/LinkText/LinkText.js +5 -5
  43. package/es/errorstate/NoRequestFound/NoRequestFound.js +5 -5
  44. package/es/errorstate/PermissionPlay/PermissionPlay.js +5 -5
  45. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +5 -5
  46. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +5 -5
  47. package/es/errorstate/WillBack/WillBack.js +5 -5
  48. package/es/form/fields/CheckBoxField/CheckBoxField.js +7 -6
  49. package/es/form/fields/CurrencyField/CurrencyField.js +7 -6
  50. package/es/form/fields/DateField/DateField.js +7 -6
  51. package/es/form/fields/FieldContainer/FieldContainer.js +7 -6
  52. package/es/form/fields/MultiSelectField/MultiSelectField.js +7 -6
  53. package/es/form/fields/PhoneField/PhoneField.js +7 -6
  54. package/es/form/fields/RadioField/RadioField.js +6 -6
  55. package/es/form/fields/SelectField/SelectField.js +7 -6
  56. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +6 -5
  57. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +6 -5
  58. package/es/form/fields/TextBoxField/TextBoxField.js +7 -6
  59. package/es/form/fields/TextEditor/TextEditor.js +10 -10
  60. package/es/form/fields/TextEditorField/TextEditorField.js +6 -5
  61. package/es/form/fields/TextareaField/TextareaField.js +7 -6
  62. package/es/form/fields/ValidationMessage/ValidationMessage.js +7 -6
  63. package/es/form/layout/Field/Field.js +6 -5
  64. package/es/form/layout/Section/Section.js +5 -5
  65. package/es/layout/SetupDetailLayout/SetupDetailLayout.js +7 -5
  66. package/es/layout/SubtabLayout/SubtabLayout.js +6 -5
  67. package/es/list/AvatarFlip/AvatarFlip.js +7 -6
  68. package/es/list/BluePrintStatus/BluePrintStatus.js +6 -5
  69. package/es/list/Comment/Comment.js +7 -6
  70. package/es/list/DepartmentDropDown/DepartmentDropDown.js +6 -6
  71. package/es/list/DotNew/DotNew.js +7 -6
  72. package/es/list/GridStencils/GridStencils.js +7 -6
  73. package/es/list/Icons/FloatingIcons.js +7 -6
  74. package/es/list/ListLayout/ListLayout.js +7 -6
  75. package/es/list/ListStencils/ListStencils.js +7 -6
  76. package/es/list/SecondaryText/AccountName.js +7 -6
  77. package/es/list/SecondaryText/ContactName.js +7 -6
  78. package/es/list/SecondaryText/DepartmentText.js +7 -6
  79. package/es/list/SecondaryText/Email.js +7 -6
  80. package/es/list/SecondaryText/HappinessRating.js +7 -6
  81. package/es/list/SecondaryText/PhoneNumber.js +7 -6
  82. package/es/list/SecondaryText/PriorityText.js +7 -6
  83. package/es/list/SecondaryText/SecondaryText.js +7 -6
  84. package/es/list/SecondaryText/StatusText.js +7 -6
  85. package/es/list/SecondaryText/TicketId.js +7 -6
  86. package/es/list/SecondaryText/Website.js +7 -6
  87. package/es/list/SecondryPanel/SecondryPanel.js +7 -6
  88. package/es/list/SentimentStatus/SentimentStatus.js +6 -5
  89. package/es/list/Subject/Subject.js +7 -6
  90. package/es/list/TagNew/TagNew.js +7 -6
  91. package/es/list/Thread/Thread.js +7 -6
  92. package/es/list/UserTime/UserTime.js +7 -6
  93. package/es/list/status/StatusDropdown/StatusDropdown.js +6 -5
  94. package/es/list/status/StatusListItem/StatusListItem.js +7 -6
  95. package/es/lookup/EmptyPage/EmptyPage.js +6 -5
  96. package/es/lookup/Lookup/Lookup.js +6 -5
  97. package/es/lookup/header/Close/Close.js +6 -5
  98. package/es/lookup/header/ModuleHeader/ModuleHeader.js +6 -5
  99. package/es/lookup/header/Search/Search.js +6 -5
  100. package/es/lookup/header/TicketHeader/TicketHeader.js +6 -5
  101. package/es/lookup/header/Title/Title.js +6 -5
  102. package/es/lookup/header/ViewDropDown/ViewDropDown.js +8 -7
  103. package/es/setup/header/Button/Button.js +7 -6
  104. package/es/setup/header/Link/Link.js +7 -6
  105. package/es/setup/header/Search/Search.js +7 -6
  106. package/es/setup/header/Views/Views.js +7 -6
  107. package/es/setup/helptips/Description/Description.js +7 -6
  108. package/es/setup/helptips/Link/Link.js +7 -6
  109. package/es/setup/helptips/ListGroup/ListGroup.js +7 -6
  110. package/es/setup/helptips/Title/Title.js +7 -6
  111. package/es/setup/table/Table/Table.js +7 -6
  112. package/es/setup/table/TableBody/TableBody.js +7 -6
  113. package/es/setup/table/TableData/TableData.js +7 -6
  114. package/es/setup/table/TableHead/TableHead.js +7 -6
  115. package/es/setup/table/TableRow/TableRow.js +7 -6
  116. package/es/setup/table/Text/Text.js +7 -6
  117. package/es/svg/PlusIcon.js +6 -5
  118. package/es/svg/SnippetIcon.js +6 -5
  119. package/es/svg/TemplateIcon.js +6 -5
  120. package/es/utils/editorUtils.js +1 -1
  121. package/es/version2/AlertClose/AlertClose.js +7 -6
  122. package/es/version2/GlobalNotification/GlobalNotification.js +8 -6
  123. package/es/version2/alertIcons/AlertIcons.js +7 -6
  124. package/es/version2/errorstate/Inconvenience/Inconvenience.js +6 -5
  125. package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +6 -5
  126. package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +6 -5
  127. package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +6 -5
  128. package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +6 -5
  129. package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +6 -5
  130. package/es/version2/lookup/AlertHeader/AlertHeader.js +7 -6
  131. package/es/version2/lookup/AlertLookup/AlertLookup.js +7 -6
  132. package/es/version2/notification/DesktopNotification/DesktopNotification.js +7 -6
  133. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +7 -6
  134. package/install.md +12 -0
  135. package/lib/Attachment/Attachment.js +6 -5
  136. package/lib/AttachmentViewer/AttachmentViewer.js +17 -16
  137. package/lib/ChannelIcon/ChannelIcon.js +5 -5
  138. package/lib/Drawer/Drawer.js +6 -5
  139. package/lib/ExternalLink/ExternalLink.js +6 -5
  140. package/lib/FlipCard/FlipCard.js +5 -5
  141. package/lib/FormAction/FormAction.js +12 -9
  142. package/lib/FreezeLayer/FreezeLayer.js +7 -6
  143. package/lib/IconButton/IconButton.js +6 -5
  144. package/lib/Image/Image.js +5 -5
  145. package/lib/ImportantNotes/ImportantNotes.js +7 -6
  146. package/lib/Link/Link.js +6 -5
  147. package/lib/Loader/Loader.js +6 -7
  148. package/lib/Message/Message.js +7 -5
  149. package/lib/MessageBanner/MessageBanner.js +6 -5
  150. package/lib/NewStar/NewStar.js +6 -5
  151. package/lib/PlusIcon/PlusIcon.js +7 -6
  152. package/lib/Separator/Separator.js +82 -0
  153. package/lib/Separator/Separator.module.css +34 -0
  154. package/lib/Separator/props/defaultProps.js +19 -0
  155. package/lib/Separator/props/propTypes.js +19 -0
  156. package/lib/ToastMessage/ToastMessage.js +6 -5
  157. package/lib/Upload/Upload.js +6 -5
  158. package/lib/alert/AlertHeader/AlertHeader.js +7 -6
  159. package/lib/alert/AlertLookup/AlertLookup.js +7 -6
  160. package/lib/avatar/AvatarClose/AvatarClose.js +5 -5
  161. package/lib/avatar/AvatarCollision/AvatarCollision.js +5 -5
  162. package/lib/avatar/AvatarIcon/AvatarIcon.js +3 -5
  163. package/lib/avatar/AvatarStatus/AvatarStatus.js +6 -5
  164. package/lib/avatar/AvatarThread/AvatarThread.js +6 -5
  165. package/lib/avatar/AvatarUser/AvatarUser.js +6 -5
  166. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +6 -5
  167. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +1 -1
  168. package/lib/deprecated/SelectDropdown/SelectDropdown.js +6 -6
  169. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +6 -5
  170. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +6 -5
  171. package/lib/emptystate/EditionPage/EditionPage.js +6 -5
  172. package/lib/errorstate/LinkText/LinkText.js +5 -5
  173. package/lib/errorstate/NoRequestFound/NoRequestFound.js +5 -5
  174. package/lib/errorstate/PermissionPlay/PermissionPlay.js +5 -5
  175. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +5 -5
  176. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +5 -5
  177. package/lib/errorstate/WillBack/WillBack.js +5 -5
  178. package/lib/form/fields/CheckBoxField/CheckBoxField.js +7 -6
  179. package/lib/form/fields/CurrencyField/CurrencyField.js +7 -6
  180. package/lib/form/fields/DateField/DateField.js +7 -6
  181. package/lib/form/fields/FieldContainer/FieldContainer.js +7 -6
  182. package/lib/form/fields/MultiSelectField/MultiSelectField.js +7 -6
  183. package/lib/form/fields/PhoneField/PhoneField.js +7 -6
  184. package/lib/form/fields/RadioField/RadioField.js +6 -6
  185. package/lib/form/fields/SelectField/SelectField.js +7 -6
  186. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +6 -5
  187. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +6 -5
  188. package/lib/form/fields/TextBoxField/TextBoxField.js +7 -6
  189. package/lib/form/fields/TextEditor/TextEditor.js +10 -10
  190. package/lib/form/fields/TextEditorField/TextEditorField.js +6 -5
  191. package/lib/form/fields/TextareaField/TextareaField.js +7 -6
  192. package/lib/form/fields/ValidationMessage/ValidationMessage.js +7 -6
  193. package/lib/form/layout/Field/Field.js +6 -5
  194. package/lib/form/layout/Section/Section.js +5 -5
  195. package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +6 -5
  196. package/lib/layout/SubtabLayout/SubtabLayout.js +6 -5
  197. package/lib/list/AvatarFlip/AvatarFlip.js +7 -6
  198. package/lib/list/BluePrintStatus/BluePrintStatus.js +6 -5
  199. package/lib/list/Comment/Comment.js +7 -6
  200. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +7 -8
  201. package/lib/list/DotNew/DotNew.js +7 -6
  202. package/lib/list/GridStencils/GridStencils.js +7 -6
  203. package/lib/list/Icons/FloatingIcons.js +7 -6
  204. package/lib/list/ListLayout/ListLayout.js +7 -6
  205. package/lib/list/ListStencils/ListStencils.js +7 -6
  206. package/lib/list/SecondaryText/AccountName.js +7 -6
  207. package/lib/list/SecondaryText/ContactName.js +7 -6
  208. package/lib/list/SecondaryText/DepartmentText.js +7 -6
  209. package/lib/list/SecondaryText/Email.js +7 -6
  210. package/lib/list/SecondaryText/HappinessRating.js +7 -6
  211. package/lib/list/SecondaryText/PhoneNumber.js +7 -6
  212. package/lib/list/SecondaryText/PriorityText.js +7 -6
  213. package/lib/list/SecondaryText/SecondaryText.js +7 -6
  214. package/lib/list/SecondaryText/StatusText.js +7 -6
  215. package/lib/list/SecondaryText/TicketId.js +7 -6
  216. package/lib/list/SecondaryText/Website.js +7 -6
  217. package/lib/list/SecondryPanel/SecondryPanel.js +7 -6
  218. package/lib/list/SentimentStatus/SentimentStatus.js +6 -5
  219. package/lib/list/Subject/Subject.js +7 -6
  220. package/lib/list/TagNew/TagNew.js +7 -6
  221. package/lib/list/Thread/Thread.js +7 -6
  222. package/lib/list/UserTime/UserTime.js +7 -6
  223. package/lib/list/status/StatusDropdown/StatusDropdown.js +5 -6
  224. package/lib/list/status/StatusListItem/StatusListItem.js +7 -6
  225. package/lib/lookup/EmptyPage/EmptyPage.js +6 -5
  226. package/lib/lookup/Lookup/Lookup.js +6 -5
  227. package/lib/lookup/header/Close/Close.js +6 -5
  228. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +6 -5
  229. package/lib/lookup/header/Search/Search.js +6 -5
  230. package/lib/lookup/header/TicketHeader/TicketHeader.js +6 -5
  231. package/lib/lookup/header/Title/Title.js +6 -5
  232. package/lib/lookup/header/ViewDropDown/ViewDropDown.js +8 -7
  233. package/lib/setup/header/Button/Button.js +7 -6
  234. package/lib/setup/header/Link/Link.js +7 -6
  235. package/lib/setup/header/Search/Search.js +7 -6
  236. package/lib/setup/header/Views/Views.js +7 -6
  237. package/lib/setup/helptips/Description/Description.js +7 -6
  238. package/lib/setup/helptips/Link/Link.js +7 -6
  239. package/lib/setup/helptips/ListGroup/ListGroup.js +7 -6
  240. package/lib/setup/helptips/Title/Title.js +7 -6
  241. package/lib/setup/table/Table/Table.js +7 -6
  242. package/lib/setup/table/TableBody/TableBody.js +7 -6
  243. package/lib/setup/table/TableData/TableData.js +7 -6
  244. package/lib/setup/table/TableHead/TableHead.js +7 -6
  245. package/lib/setup/table/TableRow/TableRow.js +7 -6
  246. package/lib/setup/table/Text/Text.js +7 -6
  247. package/lib/svg/PlusIcon.js +6 -5
  248. package/lib/svg/SnippetIcon.js +6 -5
  249. package/lib/svg/TemplateIcon.js +6 -5
  250. package/lib/utils/editorUtils.js +1 -1
  251. package/lib/version2/AlertClose/AlertClose.js +7 -6
  252. package/lib/version2/GlobalNotification/GlobalNotification.js +8 -6
  253. package/lib/version2/alertIcons/AlertIcons.js +7 -6
  254. package/lib/version2/errorstate/Inconvenience/Inconvenience.js +6 -5
  255. package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +6 -5
  256. package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +6 -5
  257. package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +6 -5
  258. package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +6 -5
  259. package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +6 -5
  260. package/lib/version2/lookup/AlertHeader/AlertHeader.js +7 -6
  261. package/lib/version2/lookup/AlertLookup/AlertLookup.js +7 -6
  262. package/lib/version2/notification/DesktopNotification/DesktopNotification.js +7 -6
  263. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +7 -6
  264. package/package.json +3 -3
  265. package/css_error.log +0 -0
@@ -20,8 +20,9 @@ export default class Title extends PureComponent {
20
20
  }
21
21
  Title.propTypes = propTypes;
22
22
  Title.defaultProps = defaultProps;
23
- if (false) {
24
- Title.docs = {
25
- componentGroup: 'Lookup'
26
- };
27
- }
23
+
24
+ // if (__DOCS__) {
25
+ // Title.docs = {
26
+ // componentGroup: 'Lookup'
27
+ // };
28
+ // }
@@ -159,11 +159,12 @@ DropDown.propTypes = propTypes;
159
159
  DropDown.defaultProps = defaultProps;
160
160
  const ViewDropDown = Popup(DropDown);
161
161
  ViewDropDown.defaultProps = DropDown.defaultProps;
162
- if (false) {
163
- DropDown.docs = {
164
- componentGroup: 'Lookup'
165
- };
166
- // eslint-disable-next-line react/forbid-foreign-prop-types
167
- ViewDropDown.propTypes = DropDown.propTypes;
168
- }
162
+
163
+ // if (__DOCS__) {
164
+ // DropDown.docs = {
165
+ // componentGroup: 'Lookup'
166
+ // };
167
+ // // eslint-disable-next-line react/forbid-foreign-prop-types
168
+ // ViewDropDown.propTypes = DropDown.propTypes;
169
+ // }
169
170
  export default ViewDropDown;
@@ -27,9 +27,10 @@ export default class Button extends React.Component {
27
27
  }
28
28
  Button.defaultProps = defaultProps;
29
29
  Button.propTypes = propTypes;
30
- if (false) {
31
- Button.docs = {
32
- componentGroup: 'Header',
33
- folderName: 'Setup'
34
- };
35
- }
30
+
31
+ // if (__DOCS__) {
32
+ // Button.docs = {
33
+ // componentGroup: 'Header',
34
+ // folderName: 'Setup'
35
+ // };
36
+ // }
@@ -35,9 +35,10 @@ export default class Link extends React.Component {
35
35
  }
36
36
  Link.defaultProps = defaultProps;
37
37
  Link.propTypes = propTypes;
38
- if (false) {
39
- Link.docs = {
40
- componentGroup: 'Header',
41
- folderName: 'Setup'
42
- };
43
- }
38
+
39
+ // if (__DOCS__) {
40
+ // Link.docs = {
41
+ // componentGroup: 'Header',
42
+ // folderName: 'Setup'
43
+ // };
44
+ // }
@@ -70,9 +70,10 @@ export default class Search extends React.Component {
70
70
  }
71
71
  Search.propTypes = propTypes;
72
72
  Search.defaultProps = defaultProps;
73
- if (false) {
74
- Search.docs = {
75
- componentGroup: 'Header',
76
- folderName: 'Setup'
77
- };
78
- }
73
+
74
+ // if (__DOCS__) {
75
+ // Search.docs = {
76
+ // componentGroup: 'Header',
77
+ // folderName: 'Setup'
78
+ // };
79
+ // }
@@ -37,9 +37,10 @@ export default class Views extends React.Component {
37
37
  }
38
38
  Views.propTypes = propTypes;
39
39
  Views.defaultProps = defaultProps;
40
- if (false) {
41
- Views.docs = {
42
- componentGroup: 'Header',
43
- folderName: 'Setup'
44
- };
45
- }
40
+
41
+ // if (__DOCS__) {
42
+ // Views.docs = {
43
+ // componentGroup: 'Header',
44
+ // folderName: 'Setup'
45
+ // };
46
+ // }
@@ -15,9 +15,10 @@ export default class Description extends React.Component {
15
15
  }
16
16
  }
17
17
  Description.propTypes = propTypes;
18
- if (false) {
19
- Description.docs = {
20
- componentGroup: 'HelpTips',
21
- folderName: 'Setup'
22
- };
23
- }
18
+
19
+ // if (__DOCS__) {
20
+ // Description.docs = {
21
+ // componentGroup: 'HelpTips',
22
+ // folderName: 'Setup'
23
+ // };
24
+ // }
@@ -30,9 +30,10 @@ export default class Link extends React.Component {
30
30
  }
31
31
  }
32
32
  Link.propTypes = propTypes;
33
- if (false) {
34
- Link.docs = {
35
- componentGroup: 'HelpTips',
36
- folderName: 'Setup'
37
- };
38
- }
33
+
34
+ // if (__DOCS__) {
35
+ // Link.docs = {
36
+ // componentGroup: 'HelpTips',
37
+ // folderName: 'Setup'
38
+ // };
39
+ // }
@@ -28,9 +28,10 @@ export default class ListGroup extends React.Component {
28
28
  }
29
29
  }
30
30
  ListGroup.propTypes = propTypes;
31
- if (false) {
32
- ListGroup.docs = {
33
- componentGroup: 'HelpTips',
34
- folderName: 'Setup'
35
- };
36
- }
31
+
32
+ // if (__DOCS__) {
33
+ // ListGroup.docs = {
34
+ // componentGroup: 'HelpTips',
35
+ // folderName: 'Setup'
36
+ // };
37
+ // }
@@ -15,9 +15,10 @@ export default class Title extends React.Component {
15
15
  }
16
16
  }
17
17
  Title.propTypes = propTypes;
18
- if (false) {
19
- Title.docs = {
20
- componentGroup: 'HelpTips',
21
- folderName: 'Setup'
22
- };
23
- }
18
+
19
+ // if (__DOCS__) {
20
+ // Title.docs = {
21
+ // componentGroup: 'HelpTips',
22
+ // folderName: 'Setup'
23
+ // };
24
+ // }
@@ -17,9 +17,10 @@ export default class Table extends React.Component {
17
17
  }
18
18
  Table.propTypes = propTypes;
19
19
  Table.defaultProps = defaultProps;
20
- if (false) {
21
- Table.docs = {
22
- componentGroup: 'Table',
23
- folderName: 'Setup'
24
- };
25
- }
20
+
21
+ // if (__DOCS__) {
22
+ // Table.docs = {
23
+ // componentGroup: 'Table',
24
+ // folderName: 'Setup'
25
+ // };
26
+ // }
@@ -21,9 +21,10 @@ export default class TableBody extends React.Component {
21
21
  }
22
22
  TableBody.propTypes = propTypes;
23
23
  TableBody.defaultProps = defaultProps;
24
- if (false) {
25
- TableBody.docs = {
26
- componentGroup: 'Table',
27
- folderName: 'Setup'
28
- };
29
- }
24
+
25
+ // if (__DOCS__) {
26
+ // TableBody.docs = {
27
+ // componentGroup: 'Table',
28
+ // folderName: 'Setup'
29
+ // };
30
+ // }
@@ -27,9 +27,10 @@ export default class TableData extends React.Component {
27
27
  }
28
28
  TableData.defaultProps = defaultProps;
29
29
  TableData.propTypes = propTypes;
30
- if (false) {
31
- TableData.docs = {
32
- componentGroup: 'Table',
33
- folderName: 'Setup'
34
- };
35
- }
30
+
31
+ // if (__DOCS__) {
32
+ // TableData.docs = {
33
+ // componentGroup: 'Table',
34
+ // folderName: 'Setup'
35
+ // };
36
+ // }
@@ -29,9 +29,10 @@ export default class TableHead extends React.Component {
29
29
  }
30
30
  TableHead.defaultProps = defaultProps;
31
31
  TableHead.propTypes = propTypes;
32
- if (false) {
33
- TableHead.docs = {
34
- componentGroup: 'Table',
35
- folderName: 'Setup'
36
- };
37
- }
32
+
33
+ // if (__DOCS__) {
34
+ // TableHead.docs = {
35
+ // componentGroup: 'Table',
36
+ // folderName: 'Setup'
37
+ // };
38
+ // }
@@ -34,9 +34,10 @@ export default class TableRow extends React.Component {
34
34
  }
35
35
  TableRow.defaultProps = defaultProps;
36
36
  TableRow.propTypes = propTypes;
37
- if (false) {
38
- TableRow.docs = {
39
- componentGroup: 'Table',
40
- folderName: 'Setup'
41
- };
42
- }
37
+
38
+ // if (__DOCS__) {
39
+ // TableRow.docs = {
40
+ // componentGroup: 'Table',
41
+ // folderName: 'Setup'
42
+ // };
43
+ // }
@@ -42,9 +42,10 @@ export default class Text extends React.Component {
42
42
  }
43
43
  Text.defaultProps = defaultProps;
44
44
  Text.propTypes = propTypes;
45
- if (false) {
46
- Text.docs = {
47
- componentGroup: 'Text',
48
- folderName: 'Setup'
49
- };
50
- }
45
+
46
+ // if (__DOCS__) {
47
+ // Text.docs = {
48
+ // componentGroup: 'Text',
49
+ // folderName: 'Setup'
50
+ // };
51
+ // }
@@ -25,8 +25,9 @@ export default class PlusIcon extends React.Component {
25
25
  }
26
26
  PlusIcon.propTypes = PlusIcon_propTypes;
27
27
  PlusIcon.defaultProps = PlusIcon_defaultProps;
28
- if (false) {
29
- PlusIcon.docs = {
30
- componentGroup: 'SVG'
31
- };
32
- }
28
+
29
+ // if (__DOCS__) {
30
+ // PlusIcon.docs = {
31
+ // componentGroup: 'SVG'
32
+ // };
33
+ // }
@@ -27,8 +27,9 @@ export default class SnippetIcon extends React.Component {
27
27
  }
28
28
  SnippetIcon.propTypes = SnippetIcon_propTypes;
29
29
  SnippetIcon.defaultProps = SnippetIcon_defaultProps;
30
- if (false) {
31
- SnippetIcon.docs = {
32
- componentGroup: 'SVG'
33
- };
34
- }
30
+
31
+ // if (__DOCS__) {
32
+ // SnippetIcon.docs = {
33
+ // componentGroup: 'SVG'
34
+ // };
35
+ // }
@@ -28,8 +28,9 @@ export default class TemplateIcon extends React.Component {
28
28
  }
29
29
  TemplateIcon.propTypes = TemplateIcon_propTypes;
30
30
  TemplateIcon.defaultProps = TemplateIcon_defaultProps;
31
- if (false) {
32
- TemplateIcon.docs = {
33
- componentGroup: 'SVG'
34
- };
35
- }
31
+
32
+ // if (__DOCS__) {
33
+ // TemplateIcon.docs = {
34
+ // componentGroup: 'SVG'
35
+ // };
36
+ // }
@@ -65,7 +65,7 @@ export function triggerKeyup(elem) {
65
65
  // editor
66
66
 
67
67
  export function getRichEditorContent(key) {
68
- let richTextEditor = editor[key];
68
+ let richTextEditor = global.editor[key];
69
69
  if (richTextEditor != undefined) {
70
70
  let content = richTextEditor.getContent();
71
71
  content = content.trim();
@@ -31,9 +31,10 @@ export default class AlertClose extends PureComponent {
31
31
  }
32
32
  }
33
33
  AlertClose.propTypes = propTypes;
34
- if (false) {
35
- AlertClose.docs = {
36
- componentGroup: 'AlertClose',
37
- folderName: 'Alert'
38
- };
39
- }
34
+
35
+ // if (__DOCS__) {
36
+ // AlertClose.docs = {
37
+ // componentGroup: 'AlertClose',
38
+ // folderName: 'Alert'
39
+ // };
40
+ // }
@@ -63,12 +63,14 @@ export default class GlobalNotification extends React.Component {
63
63
  }
64
64
  GlobalNotification.propTypes = propTypes;
65
65
  GlobalNotification.defaultProps = defaultProps;
66
- if (false) {
67
- GlobalNotification.docs = {
68
- componentGroup: 'GlobalNotification',
69
- folderName: 'Alert'
70
- };
71
- }
66
+
67
+ // if (__DOCS__) {
68
+ // GlobalNotification.docs = {
69
+ // componentGroup: 'GlobalNotification',
70
+ // folderName: 'Alert'
71
+ // };
72
+ // }
73
+
72
74
  export function GlobalNotificationUI(props) {
73
75
  function onClose(e) {
74
76
  let {
@@ -50,9 +50,10 @@ export default class AlertIcons extends Component {
50
50
  }
51
51
  AlertIcons.propTypes = AlertIcons_propTypes;
52
52
  AlertIcons.defaultProps = AlertIcons_defaultProps;
53
- if (false) {
54
- AlertIcons.docs = {
55
- componentGroup: 'AlertIcons',
56
- folderName: 'Alert'
57
- };
58
- }
53
+
54
+ // if (__DOCS__) {
55
+ // AlertIcons.docs = {
56
+ // componentGroup: 'AlertIcons',
57
+ // folderName: 'Alert'
58
+ // };
59
+ // }
@@ -62,8 +62,9 @@ export default class Inconvenience extends React.Component {
62
62
  }
63
63
  Inconvenience.propTypes = propTypes;
64
64
  Inconvenience.defaultProps = defaultProps;
65
- if (false) {
66
- Inconvenience.docs = {
67
- componentGroup: 'errorStates'
68
- };
69
- }
65
+
66
+ // if (__DOCS__) {
67
+ // Inconvenience.docs = {
68
+ // componentGroup: 'errorStates'
69
+ // };
70
+ // }
@@ -63,8 +63,9 @@ export default class OopsSomethingMiss extends React.Component {
63
63
  }
64
64
  OopsSomethingMiss.propTypes = propTypes;
65
65
  OopsSomethingMiss.defaultProps = defaultProps;
66
- if (false) {
67
- OopsSomethingMiss.docs = {
68
- componentGroup: 'errorStates'
69
- };
70
- }
66
+
67
+ // if (__DOCS__) {
68
+ // OopsSomethingMiss.docs = {
69
+ // componentGroup: 'errorStates'
70
+ // };
71
+ // }
@@ -62,8 +62,9 @@ export default class UnableToProcessRequest extends React.Component {
62
62
  }
63
63
  UnableToProcessRequest.propTypes = propTypes;
64
64
  UnableToProcessRequest.defaultProps = defaultProps;
65
- if (false) {
66
- UnableToProcessRequest.docs = {
67
- componentGroup: 'errorStates'
68
- };
69
- }
65
+
66
+ // if (__DOCS__) {
67
+ // UnableToProcessRequest.docs = {
68
+ // componentGroup: 'errorStates'
69
+ // };
70
+ // }
@@ -64,8 +64,9 @@ export default class UnauthorizedLogin extends React.Component {
64
64
  }
65
65
  UnauthorizedLogin.propTypes = propTypes;
66
66
  UnauthorizedLogin.defaultProps = defaultProps;
67
- if (false) {
68
- UnauthorizedLogin.docs = {
69
- componentGroup: 'errorStates'
70
- };
71
- }
67
+
68
+ // if (__DOCS__) {
69
+ // UnauthorizedLogin.docs = {
70
+ // componentGroup: 'errorStates'
71
+ // };
72
+ // }
@@ -62,8 +62,9 @@ export default class UrlNotFound extends React.Component {
62
62
  }
63
63
  UrlNotFound.propTypes = propTypes;
64
64
  UrlNotFound.defaultProps = defaultProps;
65
- if (false) {
66
- UrlNotFound.docs = {
67
- componentGroup: 'errorStates'
68
- };
69
- }
65
+
66
+ // if (__DOCS__) {
67
+ // UrlNotFound.docs = {
68
+ // componentGroup: 'errorStates'
69
+ // };
70
+ // }
@@ -62,8 +62,9 @@ export default class WillBeRightBack extends React.Component {
62
62
  }
63
63
  WillBeRightBack.propTypes = propTypes;
64
64
  WillBeRightBack.defaultProps = defaultProps;
65
- if (false) {
66
- WillBeRightBack.docs = {
67
- componentGroup: 'errorStates'
68
- };
69
- }
65
+
66
+ // if (__DOCS__) {
67
+ // WillBeRightBack.docs = {
68
+ // componentGroup: 'errorStates'
69
+ // };
70
+ // }
@@ -54,9 +54,10 @@ export default class AlertHeader extends Component {
54
54
  }
55
55
  AlertHeader.propTypes = propTypes;
56
56
  AlertHeader.defaultProps = defaultProps;
57
- if (false) {
58
- AlertHeader.docs = {
59
- componentGroup: 'AlertHeader',
60
- folderName: 'Alert'
61
- };
62
- }
57
+
58
+ // if (__DOCS__) {
59
+ // AlertHeader.docs = {
60
+ // componentGroup: 'AlertHeader',
61
+ // folderName: 'Alert'
62
+ // };
63
+ // }
@@ -188,9 +188,10 @@ export default class AlertLookup extends Component {
188
188
  }
189
189
  AlertLookup.propTypes = propTypes;
190
190
  AlertLookup.defaultProps = defaultProps;
191
- if (false) {
192
- AlertLookup.docs = {
193
- componentGroup: 'AlertLookup',
194
- folderName: 'Alert'
195
- };
196
- }
191
+
192
+ // if (__DOCS__) {
193
+ // AlertLookup.docs = {
194
+ // componentGroup: 'AlertLookup',
195
+ // folderName: 'Alert'
196
+ // };
197
+ // }
@@ -150,9 +150,10 @@ export default function DesktopNotification(props) {
150
150
  }
151
151
  DesktopNotification.propTypes = propTypes;
152
152
  DesktopNotification.defaultProps = defaultProps;
153
- if (false) {
154
- DesktopNotification.docs = {
155
- componentGroup: 'DesktopNotification',
156
- folderName: 'Alert'
157
- };
158
- }
153
+
154
+ // if (__DOCS__) {
155
+ // DesktopNotification.docs = {
156
+ // componentGroup: 'DesktopNotification',
157
+ // folderName: 'Alert'
158
+ // };
159
+ // }
@@ -52,9 +52,10 @@ export default class DesktopNotificationHeader extends Component {
52
52
  }
53
53
  DesktopNotificationHeader.propTypes = propTypes;
54
54
  DesktopNotificationHeader.defaultProps = defaultProps;
55
- if (false) {
56
- DesktopNotificationHeader.docs = {
57
- componentGroup: 'DesktopNotificationHeader',
58
- folderName: 'Alert'
59
- };
60
- }
55
+
56
+ // if (__DOCS__) {
57
+ // DesktopNotificationHeader.docs = {
58
+ // componentGroup: 'DesktopNotificationHeader',
59
+ // folderName: 'Alert'
60
+ // };
61
+ // }
package/install.md ADDED
@@ -0,0 +1,12 @@
1
+ - For New :
2
+
3
+ # npm i
4
+ # npm run common_package_build
5
+
6
+ For Update:
7
+
8
+ # npm run download
9
+ # npm run common_package_build
10
+
11
+
12
+
@@ -105,8 +105,9 @@ var Attachment = /*#__PURE__*/function (_React$Component) {
105
105
  exports["default"] = Attachment;
106
106
  Attachment.propTypes = _propTypes.propTypes;
107
107
  Attachment.defaultProps = _defaultProps.defaultProps;
108
- if (false) {
109
- Attachment.docs = {
110
- componentGroup: 'Attachment'
111
- };
112
- }
108
+
109
+ // if (__DOCS__) {
110
+ // Attachment.docs = {
111
+ // componentGroup: 'Attachment'
112
+ // };
113
+ // }