@zohodesk/dot 1.0.0-temp-64 → 1.0.0-temp-65

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 (769) hide show
  1. package/README.md +0 -34
  2. package/__testUtils__/globals.js +0 -0
  3. package/build/Unusedfiles.json +1 -0
  4. package/es/ActionButton/ActionButton.js +6 -10
  5. package/es/ActionButton/ActionButton.module.css +0 -1
  6. package/es/ActionButton/docs/ActionButton__default.docs.js +134 -0
  7. package/es/AlphabeticList/docs/AlphabeticList__default.docs.js +34 -0
  8. package/es/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +43 -0
  9. package/es/Appearance/dark/mode/dotDarkMode.module.css +536 -0
  10. package/es/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +10 -0
  11. package/es/Appearance/dark/themes/green/greenDarkDotTheme.module.css +10 -0
  12. package/es/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +10 -0
  13. package/es/Appearance/dark/themes/red/redDarkDotTheme.module.css +10 -0
  14. package/es/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +10 -0
  15. package/es/Appearance/default/mode/dotDefaultMode.module.css +536 -0
  16. package/es/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +10 -0
  17. package/es/Appearance/default/themes/green/greenDefaultDotTheme.module.css +10 -0
  18. package/es/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +10 -0
  19. package/es/Appearance/default/themes/red/redDefaultDotTheme.module.css +10 -0
  20. package/es/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +10 -0
  21. package/es/Attachment/docs/Attachment__default.docs.js +54 -0
  22. package/es/ChannelIcon/docs/ChannelIcon__default.docs.js +57 -0
  23. package/es/Drawer/docs/Drawer__default.docs.js +87 -0
  24. package/es/Drawer/docs/Drawer__multiDrawer.docs.js +112 -0
  25. package/es/Drawer/docs/Drawer__noFreeze.docs.js +20 -0
  26. package/es/Drawer/docs/Drawer__withModal.docs.js +74 -0
  27. package/es/ExternalLink/docs/ExternalLink__default.docs.js +19 -0
  28. package/es/FlipCard/docs/FlipCard__default.docs.js +66 -0
  29. package/es/FormAction/docs/FormAction__default.docs.js +72 -0
  30. package/es/FreezeLayer/docs/FreezeLayer__dark.docs.js +51 -0
  31. package/es/FreezeLayer/docs/FreezeLayer__default.docs.js +48 -0
  32. package/es/IconButton/IconButton.js +5 -2
  33. package/es/IconButton/docs/IconButton__default.docs.js +219 -0
  34. package/es/Image/docs/Image__default.docs.js +22 -0
  35. package/es/ImportantNotes/docs/ImportantNotes__default.docs.js +22 -0
  36. package/es/Link/Link.js +1 -1
  37. package/es/Link/docs/Link__default.docs.js +36 -0
  38. package/es/Loader/docs/Loader__default.docs.js +23 -0
  39. package/es/Message/docs/Message__default.docs.js +55 -0
  40. package/es/MessageBanner/docs/MessageBanner__default.docs.js +88 -0
  41. package/es/NewStar/docs/NewStar__default.docs.js +62 -0
  42. package/es/PlusIcon/docs/PlusIcon__default.docs.js +16 -0
  43. package/es/Provider.js +46 -46
  44. package/es/ToastMessage/docs/ToastMessage__custom.docs.js +92 -0
  45. package/es/ToastMessage/docs/ToastMessage__information.docs.js +54 -0
  46. package/es/ToastMessage/docs/ToastMessage__primary.docs.js +125 -0
  47. package/es/ToastMessage/docs/ToastMessage__secondary.docs.js +37 -0
  48. package/es/ToastMessage/docs/ToastMessage__success.docs.js +61 -0
  49. package/es/Upload/docs/Upload__default.docs.js +61 -0
  50. package/es/alert/AlertHeader/docs/AlertHeader__default.docs.js +63 -0
  51. package/es/alert/AlertLookup/AlertLookup.js +4 -8
  52. package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +121 -0
  53. package/es/avatar/AvatarClose/docs/AvatarClose__default.docs.js +26 -0
  54. package/es/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +35 -0
  55. package/es/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +40 -0
  56. package/es/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +46 -0
  57. package/es/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +35 -0
  58. package/es/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +51 -0
  59. package/es/avatar/AvatarThread/docs/AvatarThread__default.docs.js +147 -0
  60. package/es/avatar/AvatarUser/docs/AvatarUser__default.docs.js +173 -0
  61. package/es/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +24 -0
  62. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +6 -6
  63. package/es/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +34 -0
  64. package/es/docs/formDocs.js +26 -0
  65. package/es/docs/generalDocs.js +131 -0
  66. package/es/docs/lookupDocs.js +44 -0
  67. package/es/docs/setupDocs.js +22 -0
  68. package/es/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +228 -0
  69. package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +111 -0
  70. package/es/emptystate/EditionPage/docs/EditionPage__default.docs.js +21 -0
  71. package/es/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +19 -0
  72. package/es/errorstate/LinkText/docs/LinkText__default.docs.js +17 -0
  73. package/es/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +19 -0
  74. package/es/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +20 -0
  75. package/es/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +19 -0
  76. package/es/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +19 -0
  77. package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +20 -0
  78. package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +19 -0
  79. package/es/errorstate/WillBack/docs/WillBack__default.docs.js +21 -0
  80. package/es/form/fields/CheckBoxField/CheckBoxField.js +1 -1
  81. package/es/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +30 -0
  82. package/es/form/fields/CurrencyField/CurrencyField.js +2 -2
  83. package/es/form/fields/DateField/DateField.js +2 -2
  84. package/es/form/fields/DateField/docs/DateField__default.docs.js +25 -0
  85. package/es/form/fields/Fields.module.css +5 -7
  86. package/es/form/fields/MultiSelectField/MultiSelectField.js +2 -2
  87. package/es/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +48 -0
  88. package/es/form/fields/PhoneField/docs/PhoneField__default.docs.js +26 -0
  89. package/es/form/fields/RadioField/RadioField.js +2 -2
  90. package/es/form/fields/SelectField/SelectField.js +2 -2
  91. package/es/form/fields/SelectField/docs/SelectField__default.docs.js +58 -0
  92. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +4 -5
  93. package/es/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +77 -0
  94. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
  95. package/es/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +82 -0
  96. package/es/form/fields/TextBoxField/TextBoxField.js +2 -2
  97. package/es/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +45 -0
  98. package/es/form/fields/TextEditor/TextEditor.js +5 -8
  99. package/es/form/fields/TextEditor/TextEditor.module.css +1 -2
  100. package/es/form/fields/TextEditorField/TextEditorField.js +2 -2
  101. package/es/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +43 -0
  102. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
  103. package/es/form/fields/TextareaField/TextareaField.js +2 -2
  104. package/es/form/fields/TextareaField/docs/TextareaField__default.docs.js +26 -0
  105. package/es/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +58 -0
  106. package/es/form/layout/Field/docs/Field__default.docs.js +25 -0
  107. package/es/form/layout/Section/docs/Section__default.docs.js +21 -0
  108. package/es/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +29 -0
  109. package/es/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +67 -0
  110. package/es/list/AvatarFlip/docs/AvatarFlip__default.docs.js +100 -0
  111. package/es/list/BluePrintStatus/BluePrintStatus.module.css +2 -2
  112. package/es/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +19 -0
  113. package/es/list/Comment/Comment.js +4 -1
  114. package/es/list/Comment/docs/Comment__default.docs.js +26 -0
  115. package/es/list/DotNew/DotNew.module.css +4 -4
  116. package/es/list/DotNew/docs/DotNew__default.docs.js +20 -0
  117. package/es/list/GridStencils/docs/GridStencils__default.docs.js +35 -0
  118. package/es/list/Icons/AddNewIcon.js +13 -4
  119. package/es/list/Icons/CompleteIcon.js +13 -4
  120. package/es/list/Icons/DeleteIcon.js +13 -4
  121. package/es/list/Icons/EditIcon.js +13 -4
  122. package/es/list/Icons/ReadUnreadIcon.js +9 -3
  123. package/es/list/Icons/SmartIcon.js +13 -4
  124. package/es/list/Icons/docs/FloatingIcons__default.docs.js +24 -0
  125. package/es/list/ListLayout/docs/ListLayout__default.docs.js +60 -0
  126. package/es/list/ListStencils/docs/ListStencils__default.docs.js +20 -0
  127. package/es/list/SecondaryText/docs/ContactName__default.docs.js +23 -0
  128. package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +37 -0
  129. package/es/list/SecondryPanel/docs/SecondryPanel__default.docs.js +81 -0
  130. package/es/list/SentimentStatus/docs/SentimentStatus__default.docs.js +19 -0
  131. package/es/list/Subject/docs/Subject__default.docs.js +44 -0
  132. package/es/list/TagNew/docs/TagNew__default.docs.js +23 -0
  133. package/es/list/Thread/Thread.js +10 -5
  134. package/es/list/Thread/docs/Thread__default.docs.js +22 -0
  135. package/es/list/UserTime/docs/UserTime__default.docs.js +157 -0
  136. package/es/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +129 -0
  137. package/es/list/status/StatusListItem/docs/StatusListItem__default.docs.js +27 -0
  138. package/es/lookup/EmptyPage/docs/EmptyPage__account.docs.js +20 -0
  139. package/es/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +20 -0
  140. package/es/lookup/EmptyPage/docs/EmptyPage__default.docs.js +17 -0
  141. package/es/lookup/EmptyPage/docs/EmptyPage__product.docs.js +20 -0
  142. package/es/lookup/Lookup/docs/Lookup__contact.docs.js +196 -0
  143. package/es/lookup/Lookup/docs/Lookup__default.docs.js +68 -0
  144. package/es/lookup/header/Close/docs/Close__default.docs.js +19 -0
  145. package/es/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +41 -0
  146. package/es/lookup/header/Search/docs/Search__default.docs.js +124 -0
  147. package/es/lookup/header/TicketHeader/TicketHeader.js +1 -3
  148. package/es/lookup/header/TicketHeader/TicketHeader.module.css +1 -2
  149. package/es/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +83 -0
  150. package/es/lookup/header/Title/docs/Title__default.docs.js +21 -0
  151. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +1 -0
  152. package/es/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +75 -0
  153. package/es/setup/header/Button/docs/Button__default.docs.js +22 -0
  154. package/es/setup/header/Link/docs/Link__default.docs.js +23 -0
  155. package/es/setup/header/Search/docs/Search__default.docs.js +41 -0
  156. package/es/setup/header/Views/docs/Views__default.docs.js +24 -0
  157. package/es/setup/helptips/Description/docs/Description__default.docs.js +26 -0
  158. package/es/setup/helptips/Link/docs/Link__default.docs.js +27 -0
  159. package/es/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +30 -0
  160. package/es/setup/helptips/Title/docs/Title__default.docs.js +26 -0
  161. package/es/setup/table/Table/docs/Table__default.docs.js +181 -0
  162. package/es/setup/table/Text/docs/Text__default.docs.js +35 -0
  163. package/es/svg/docs/SVG__default.docs.js +49 -0
  164. package/es/version2/AlertClose/docs/AlertClose__default.docs.js +47 -0
  165. package/es/version2/GlobalNotification/GlobalNotification.js +6 -18
  166. package/es/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +95 -0
  167. package/es/version2/alertIcons/docs/AlertIcons__default.docs.js +138 -0
  168. package/es/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +18 -0
  169. package/es/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +20 -0
  170. package/es/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +30 -0
  171. package/es/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +18 -0
  172. package/es/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +20 -0
  173. package/es/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +18 -0
  174. package/es/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +56 -0
  175. package/es/version2/lookup/AlertLookup/AlertLookup.js +4 -8
  176. package/es/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +147 -0
  177. package/es/version2/notification/DesktopNotification/DesktopNotification.js +5 -13
  178. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +5 -4
  179. package/es/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +92 -0
  180. package/es/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +57 -0
  181. package/lib/ActionButton/ActionButton.js +6 -10
  182. package/lib/ActionButton/ActionButton.module.css +0 -1
  183. package/lib/ActionButton/docs/ActionButton__default.docs.js +187 -0
  184. package/lib/AlphabeticList/docs/AlphabeticList__default.docs.js +82 -0
  185. package/lib/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +91 -0
  186. package/lib/Appearance/dark/mode/dotDarkMode.module.css +536 -0
  187. package/lib/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +10 -0
  188. package/lib/Appearance/dark/themes/green/greenDarkDotTheme.module.css +10 -0
  189. package/lib/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +10 -0
  190. package/lib/Appearance/dark/themes/red/redDarkDotTheme.module.css +10 -0
  191. package/lib/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +10 -0
  192. package/lib/Appearance/default/mode/dotDefaultMode.module.css +536 -0
  193. package/lib/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +10 -0
  194. package/lib/Appearance/default/themes/green/greenDefaultDotTheme.module.css +10 -0
  195. package/lib/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +10 -0
  196. package/lib/Appearance/default/themes/red/redDefaultDotTheme.module.css +10 -0
  197. package/lib/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +10 -0
  198. package/lib/Attachment/docs/Attachment__default.docs.js +104 -0
  199. package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +112 -0
  200. package/lib/Drawer/docs/Drawer__default.docs.js +143 -0
  201. package/lib/Drawer/docs/Drawer__multiDrawer.docs.js +171 -0
  202. package/lib/Drawer/docs/Drawer__noFreeze.docs.js +65 -0
  203. package/lib/Drawer/docs/Drawer__withModal.docs.js +131 -0
  204. package/lib/ExternalLink/docs/ExternalLink__default.docs.js +68 -0
  205. package/lib/FlipCard/docs/FlipCard__default.docs.js +121 -0
  206. package/lib/FormAction/docs/FormAction__default.docs.js +127 -0
  207. package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +103 -0
  208. package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +100 -0
  209. package/lib/IconButton/IconButton.js +5 -2
  210. package/lib/IconButton/docs/IconButton__default.docs.js +272 -0
  211. package/lib/Image/docs/Image__default.docs.js +76 -0
  212. package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +68 -0
  213. package/lib/Link/Link.js +1 -1
  214. package/lib/Link/docs/Link__default.docs.js +90 -0
  215. package/lib/Loader/docs/Loader__default.docs.js +68 -0
  216. package/lib/Message/docs/Message__default.docs.js +100 -0
  217. package/lib/MessageBanner/docs/MessageBanner__default.docs.js +132 -0
  218. package/lib/NewStar/docs/NewStar__default.docs.js +111 -0
  219. package/lib/PlusIcon/docs/PlusIcon__default.docs.js +70 -0
  220. package/lib/Provider.js +46 -46
  221. package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +151 -0
  222. package/lib/ToastMessage/docs/ToastMessage__information.docs.js +108 -0
  223. package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +175 -0
  224. package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +91 -0
  225. package/lib/ToastMessage/docs/ToastMessage__success.docs.js +115 -0
  226. package/lib/Upload/docs/Upload__default.docs.js +110 -0
  227. package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +112 -0
  228. package/lib/alert/AlertLookup/AlertLookup.js +4 -8
  229. package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +175 -0
  230. package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +72 -0
  231. package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +81 -0
  232. package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +95 -0
  233. package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +99 -0
  234. package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +90 -0
  235. package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +104 -0
  236. package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +198 -0
  237. package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +224 -0
  238. package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +74 -0
  239. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +6 -6
  240. package/lib/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +80 -0
  241. package/lib/docs/formDocs.js +215 -0
  242. package/lib/docs/generalDocs.js +1039 -0
  243. package/lib/docs/lookupDocs.js +287 -0
  244. package/lib/docs/setupDocs.js +183 -0
  245. package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +279 -0
  246. package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +171 -0
  247. package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +74 -0
  248. package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +69 -0
  249. package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +67 -0
  250. package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +68 -0
  251. package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +70 -0
  252. package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +69 -0
  253. package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +69 -0
  254. package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +70 -0
  255. package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +69 -0
  256. package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +71 -0
  257. package/lib/form/fields/CheckBoxField/CheckBoxField.js +1 -1
  258. package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +80 -0
  259. package/lib/form/fields/CurrencyField/CurrencyField.js +2 -2
  260. package/lib/form/fields/DateField/DateField.js +2 -2
  261. package/lib/form/fields/DateField/docs/DateField__default.docs.js +74 -0
  262. package/lib/form/fields/Fields.module.css +5 -7
  263. package/lib/form/fields/MultiSelectField/MultiSelectField.js +2 -2
  264. package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +100 -0
  265. package/lib/form/fields/PhoneField/docs/PhoneField__default.docs.js +76 -0
  266. package/lib/form/fields/RadioField/RadioField.js +2 -2
  267. package/lib/form/fields/SelectField/SelectField.js +2 -2
  268. package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +110 -0
  269. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +4 -5
  270. package/lib/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +126 -0
  271. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
  272. package/lib/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +96 -0
  273. package/lib/form/fields/TextBoxField/TextBoxField.js +2 -2
  274. package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +97 -0
  275. package/lib/form/fields/TextEditor/TextEditor.js +5 -9
  276. package/lib/form/fields/TextEditor/TextEditor.module.css +1 -2
  277. package/lib/form/fields/TextEditorField/TextEditorField.js +2 -2
  278. package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +94 -0
  279. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
  280. package/lib/form/fields/TextareaField/TextareaField.js +2 -2
  281. package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +76 -0
  282. package/lib/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +103 -0
  283. package/lib/form/layout/Field/docs/Field__default.docs.js +74 -0
  284. package/lib/form/layout/Section/docs/Section__default.docs.js +71 -0
  285. package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +80 -0
  286. package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +118 -0
  287. package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +149 -0
  288. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +2 -2
  289. package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +65 -0
  290. package/lib/list/Comment/Comment.js +4 -1
  291. package/lib/list/Comment/docs/Comment__default.docs.js +76 -0
  292. package/lib/list/DotNew/DotNew.module.css +4 -4
  293. package/lib/list/DotNew/docs/DotNew__default.docs.js +70 -0
  294. package/lib/list/GridStencils/docs/GridStencils__default.docs.js +86 -0
  295. package/lib/list/Icons/AddNewIcon.js +11 -4
  296. package/lib/list/Icons/CompleteIcon.js +11 -4
  297. package/lib/list/Icons/DeleteIcon.js +11 -4
  298. package/lib/list/Icons/EditIcon.js +11 -4
  299. package/lib/list/Icons/ReadUnreadIcon.js +7 -3
  300. package/lib/list/Icons/SmartIcon.js +11 -4
  301. package/lib/list/Icons/docs/FloatingIcons__default.docs.js +81 -0
  302. package/lib/list/ListLayout/docs/ListLayout__default.docs.js +111 -0
  303. package/lib/list/ListStencils/docs/ListStencils__default.docs.js +70 -0
  304. package/lib/list/SecondaryText/docs/ContactName__default.docs.js +73 -0
  305. package/lib/list/SecondryPanel/docs/SecondryPanelDocs.module.css +37 -0
  306. package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +133 -0
  307. package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +65 -0
  308. package/lib/list/Subject/docs/Subject__default.docs.js +94 -0
  309. package/lib/list/TagNew/docs/TagNew__default.docs.js +73 -0
  310. package/lib/list/Thread/Thread.js +10 -5
  311. package/lib/list/Thread/docs/Thread__default.docs.js +72 -0
  312. package/lib/list/UserTime/docs/UserTime__default.docs.js +196 -0
  313. package/lib/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +178 -0
  314. package/lib/list/status/StatusListItem/docs/StatusListItem__default.docs.js +77 -0
  315. package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +70 -0
  316. package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +70 -0
  317. package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +67 -0
  318. package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +70 -0
  319. package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +247 -0
  320. package/lib/lookup/Lookup/docs/Lookup__default.docs.js +121 -0
  321. package/lib/lookup/header/Close/docs/Close__default.docs.js +69 -0
  322. package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +89 -0
  323. package/lib/lookup/header/Search/docs/Search__default.docs.js +175 -0
  324. package/lib/lookup/header/TicketHeader/TicketHeader.js +1 -3
  325. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +1 -2
  326. package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +133 -0
  327. package/lib/lookup/header/Title/docs/Title__default.docs.js +71 -0
  328. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +1 -0
  329. package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +119 -0
  330. package/lib/setup/header/Button/docs/Button__default.docs.js +68 -0
  331. package/lib/setup/header/Link/docs/Link__default.docs.js +69 -0
  332. package/lib/setup/header/Search/docs/Search__default.docs.js +92 -0
  333. package/lib/setup/header/Views/docs/Views__default.docs.js +70 -0
  334. package/lib/setup/helptips/Description/docs/Description__default.docs.js +72 -0
  335. package/lib/setup/helptips/Link/docs/Link__default.docs.js +73 -0
  336. package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +76 -0
  337. package/lib/setup/helptips/Title/docs/Title__default.docs.js +72 -0
  338. package/lib/setup/table/Table/docs/Table__default.docs.js +238 -0
  339. package/lib/setup/table/Text/docs/Text__default.docs.js +84 -0
  340. package/lib/svg/docs/SVG__default.docs.js +101 -0
  341. package/lib/version2/AlertClose/docs/AlertClose__default.docs.js +97 -0
  342. package/lib/version2/GlobalNotification/GlobalNotification.js +6 -18
  343. package/lib/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +143 -0
  344. package/lib/version2/alertIcons/docs/AlertIcons__default.docs.js +187 -0
  345. package/lib/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +68 -0
  346. package/lib/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +70 -0
  347. package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +80 -0
  348. package/lib/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +68 -0
  349. package/lib/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +70 -0
  350. package/lib/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +68 -0
  351. package/lib/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +105 -0
  352. package/lib/version2/lookup/AlertLookup/AlertLookup.js +4 -8
  353. package/lib/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +201 -0
  354. package/lib/version2/notification/DesktopNotification/DesktopNotification.js +5 -13
  355. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +5 -4
  356. package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +142 -0
  357. package/lib/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +108 -0
  358. package/package.json +9 -13
  359. package/src/ActionButton/ActionButton.js +197 -0
  360. package/src/ActionButton/ActionButton.module.css +120 -0
  361. package/src/ActionButton/docs/ActionButton__default.docs.js +110 -0
  362. package/src/AlphabeticList/AlphabeticList.js +176 -0
  363. package/src/AlphabeticList/AlphabeticList.module.css +54 -0
  364. package/src/AlphabeticList/docs/AlphabeticList__default.docs.js +36 -0
  365. package/src/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +44 -0
  366. package/src/Appearance/dark/mode/dotDarkMode.module.css +536 -0
  367. package/src/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +10 -0
  368. package/src/Appearance/dark/themes/green/greenDarkDotTheme.module.css +10 -0
  369. package/src/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +10 -0
  370. package/src/Appearance/dark/themes/red/redDarkDotTheme.module.css +10 -0
  371. package/src/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +10 -0
  372. package/src/Appearance/default/mode/dotDefaultMode.module.css +536 -0
  373. package/src/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +10 -0
  374. package/src/Appearance/default/themes/green/greenDefaultDotTheme.module.css +10 -0
  375. package/src/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +10 -0
  376. package/src/Appearance/default/themes/red/redDefaultDotTheme.module.css +10 -0
  377. package/src/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +10 -0
  378. package/src/Attachment/Attachment.js +119 -0
  379. package/src/Attachment/Attachment.module.css +121 -0
  380. package/src/Attachment/docs/Attachment__default.docs.js +63 -0
  381. package/src/ChannelIcon/ChannelIcon.js +154 -0
  382. package/src/ChannelIcon/ChannelIcon.module.css +208 -0
  383. package/src/ChannelIcon/docs/ChannelIcon__default.docs.js +63 -0
  384. package/src/Drawer/Drawer.js +398 -0
  385. package/src/Drawer/Drawer.module.css +103 -0
  386. package/src/Drawer/docs/Drawer__default.docs.js +86 -0
  387. package/src/Drawer/docs/Drawer__multiDrawer.docs.js +111 -0
  388. package/src/Drawer/docs/Drawer__noFreeze.docs.js +20 -0
  389. package/src/Drawer/docs/Drawer__withModal.docs.js +76 -0
  390. package/src/ExternalLink/ExternalLink.js +75 -0
  391. package/src/ExternalLink/ExternalLink.module.css +4 -0
  392. package/src/ExternalLink/__tests__/ExternalLink.spec.js +28 -0
  393. package/src/ExternalLink/docs/ExternalLink__default.docs.js +24 -0
  394. package/src/FlipCard/FlipCard.js +193 -0
  395. package/src/FlipCard/FlipCard.module.css +35 -0
  396. package/src/FlipCard/docs/FlipCard__default.docs.js +76 -0
  397. package/src/FormAction/FormAction.js +126 -0
  398. package/src/FormAction/FormAction.module.css +57 -0
  399. package/src/FormAction/docs/FormAction__default.docs.js +93 -0
  400. package/src/FreezeLayer/FreezeLayer.js +159 -0
  401. package/src/FreezeLayer/FreezeLayer.module.css +38 -0
  402. package/src/FreezeLayer/docs/FreezeLayer__dark.docs.js +52 -0
  403. package/src/FreezeLayer/docs/FreezeLayer__default.docs.js +51 -0
  404. package/src/IconButton/IconButton.js +189 -0
  405. package/src/IconButton/IconButton.module.css +22 -0
  406. package/src/IconButton/docs/IconButton__default.docs.js +158 -0
  407. package/src/Image/Image.js +58 -0
  408. package/src/Image/Image.module.css +11 -0
  409. package/src/Image/docs/Image__default.docs.js +18 -0
  410. package/src/ImportantNotes/ImportantNotes.js +57 -0
  411. package/src/ImportantNotes/ImportantNotes.module.css +15 -0
  412. package/src/ImportantNotes/docs/ImportantNotes__default.docs.js +22 -0
  413. package/src/Link/Link.js +123 -0
  414. package/src/Link/Link.module.css +4 -0
  415. package/src/Link/LinkContext.js +9 -0
  416. package/src/Link/docs/Link__default.docs.js +91 -0
  417. package/src/Loader/Loader.js +22 -0
  418. package/src/Loader/Loader.module.css +25 -0
  419. package/src/Loader/docs/Loader__default.docs.js +21 -0
  420. package/src/Message/Message.js +109 -0
  421. package/src/Message/Message.module.css +70 -0
  422. package/src/Message/docs/Message__default.docs.js +53 -0
  423. package/src/MessageBanner/MessageBanner.js +83 -0
  424. package/src/MessageBanner/MessageBanner.module.css +38 -0
  425. package/src/MessageBanner/docs/MessageBanner__default.docs.js +87 -0
  426. package/src/NewStar/NewStar.js +83 -0
  427. package/src/NewStar/NewStar.module.css +73 -0
  428. package/src/NewStar/docs/NewStar__default.docs.js +39 -0
  429. package/src/PlusIcon/PlusIcon.js +64 -0
  430. package/src/PlusIcon/PlusIcon.module.css +16 -0
  431. package/src/PlusIcon/docs/PlusIcon__default.docs.js +18 -0
  432. package/src/Provider.js +203 -0
  433. package/src/ToastMessage/ToastMessage.js +315 -0
  434. package/src/ToastMessage/ToastMessage.module.css +257 -0
  435. package/src/ToastMessage/docs/ToastMessage__custom.docs.js +97 -0
  436. package/src/ToastMessage/docs/ToastMessage__information.docs.js +57 -0
  437. package/src/ToastMessage/docs/ToastMessage__primary.docs.js +135 -0
  438. package/src/ToastMessage/docs/ToastMessage__secondary.docs.js +40 -0
  439. package/src/ToastMessage/docs/ToastMessage__success.docs.js +68 -0
  440. package/src/Upload/Upload.js +103 -0
  441. package/src/Upload/Upload.module.css +106 -0
  442. package/src/Upload/docs/Upload__default.docs.js +72 -0
  443. package/src/actions/AutoClose.js +51 -0
  444. package/src/actions/index.js +22 -0
  445. package/src/alert/AlertHeader/AlertHeader.js +122 -0
  446. package/src/alert/AlertHeader/AlertHeader.module.css +63 -0
  447. package/src/alert/AlertHeader/docs/AlertHeader__default.docs.js +73 -0
  448. package/src/alert/AlertLookup/AlertLookup.js +214 -0
  449. package/src/alert/AlertLookup/AlertLookup.module.css +23 -0
  450. package/src/alert/AlertLookup/docs/AlertLookup__default.docs.js +124 -0
  451. package/src/avatar/AvatarClose/AvatarClose.js +49 -0
  452. package/src/avatar/AvatarClose/AvatarClose.module.css +31 -0
  453. package/src/avatar/AvatarClose/docs/AvatarClose__default.docs.js +26 -0
  454. package/src/avatar/AvatarCollision/AvatarCollision.js +81 -0
  455. package/src/avatar/AvatarCollision/AvatarCollision.module.css +55 -0
  456. package/src/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +40 -0
  457. package/src/avatar/AvatarIcon/AvatarIcon.js +99 -0
  458. package/src/avatar/AvatarIcon/AvatarIcon.module.css +59 -0
  459. package/src/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +49 -0
  460. package/src/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +36 -0
  461. package/src/avatar/AvatarStatus/AvatarStatus.js +95 -0
  462. package/src/avatar/AvatarStatus/AvatarStatus.module.css +96 -0
  463. package/src/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +38 -0
  464. package/src/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +63 -0
  465. package/src/avatar/AvatarThread/AvatarThread.js +136 -0
  466. package/src/avatar/AvatarThread/AvatarThread.module.css +113 -0
  467. package/src/avatar/AvatarThread/docs/AvatarThread__default.docs.js +167 -0
  468. package/src/avatar/AvatarUser/AvatarUser.js +160 -0
  469. package/src/avatar/AvatarUser/AvatarUser.module.css +100 -0
  470. package/src/avatar/AvatarUser/docs/AvatarUser__default.docs.js +148 -0
  471. package/src/avatar/AvatarWithTeam/AvatarWithTeam.js +134 -0
  472. package/src/avatar/AvatarWithTeam/AvatarWithTeam.module.css +16 -0
  473. package/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +50 -0
  474. package/src/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +28 -0
  475. package/src/deprecated/SelectDropdown/SelectDropdown.js +122 -0
  476. package/src/deprecated/SelectDropdown/SelectDropdown.module.css +47 -0
  477. package/src/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +31 -0
  478. package/src/docs/formDocs.js +26 -0
  479. package/src/docs/generalDocs.js +162 -0
  480. package/src/docs/lookupDocs.js +52 -0
  481. package/src/docs/setupDocs.js +25 -0
  482. package/src/dropdown/ToggleDropDown/ToggleDropDown.js +950 -0
  483. package/src/dropdown/ToggleDropDown/ToggleDropDown.module.css +84 -0
  484. package/src/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +242 -0
  485. package/src/emptystate/CommonEmptyState/CommonEmptyState.js +116 -0
  486. package/src/emptystate/CommonEmptyState/CommonEmptyState.module.css +77 -0
  487. package/src/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +107 -0
  488. package/src/emptystate/EditionPage/EditionPage.css +37 -0
  489. package/src/emptystate/EditionPage/EditionPage.js +69 -0
  490. package/src/emptystate/EditionPage/docs/EditionPage__default.docs.js +23 -0
  491. package/src/errorstate/EmptyStates.module.css +85 -0
  492. package/src/errorstate/Inconvenience/Inconvenience.js +132 -0
  493. package/src/errorstate/Inconvenience/Inconvenience.module.css +4 -0
  494. package/src/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +19 -0
  495. package/src/errorstate/LinkText/LinkText.js +35 -0
  496. package/src/errorstate/LinkText/LinkText.module.css +6 -0
  497. package/src/errorstate/LinkText/docs/LinkText__default.docs.js +13 -0
  498. package/src/errorstate/NoRequestFound/NoRequestFound.js +132 -0
  499. package/src/errorstate/NoRequestFound/NoRequestFound.module.css +3 -0
  500. package/src/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +19 -0
  501. package/src/errorstate/PermissionPlay/PermissionPlay.js +127 -0
  502. package/src/errorstate/PermissionPlay/PermissionPlay.module.css +34 -0
  503. package/src/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +20 -0
  504. package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +132 -0
  505. package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -0
  506. package/src/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +19 -0
  507. package/src/errorstate/UnableToProcess/UnableToProcess.js +130 -0
  508. package/src/errorstate/UnableToProcess/UnableToProcess.module.css +3 -0
  509. package/src/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +19 -0
  510. package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +130 -0
  511. package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -0
  512. package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +20 -0
  513. package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +19 -0
  514. package/src/errorstate/WillBack/WillBack.js +120 -0
  515. package/src/errorstate/WillBack/WillBack.module.css +36 -0
  516. package/src/errorstate/WillBack/docs/WillBack__default.docs.js +21 -0
  517. package/src/form/fields/CheckBoxField/CheckBoxField.js +220 -0
  518. package/src/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +32 -0
  519. package/src/form/fields/CurrencyField/CurrencyField.js +267 -0
  520. package/src/form/fields/DateField/DateField.js +281 -0
  521. package/src/form/fields/DateField/docs/DateField__default.docs.js +24 -0
  522. package/src/form/fields/Fields.module.css +145 -0
  523. package/src/form/fields/MultiSelectField/MultiSelectField.js +311 -0
  524. package/src/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +53 -0
  525. package/src/form/fields/PhoneField/PhoneField.js +227 -0
  526. package/src/form/fields/PhoneField/docs/PhoneField__default.docs.js +26 -0
  527. package/src/form/fields/RadioField/RadioField.js +181 -0
  528. package/src/form/fields/SelectField/SelectField.js +296 -0
  529. package/src/form/fields/SelectField/docs/SelectField__default.docs.js +48 -0
  530. package/src/form/fields/TagsMultiSelect/TagsMultiSelect.js +331 -0
  531. package/src/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +95 -0
  532. package/src/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +55 -0
  533. package/src/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +342 -0
  534. package/src/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +6 -0
  535. package/src/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +58 -0
  536. package/src/form/fields/TextBoxField/TextBoxField.js +274 -0
  537. package/src/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +38 -0
  538. package/src/form/fields/TextEditor/TextEditor.js +440 -0
  539. package/src/form/fields/TextEditor/TextEditor.module.css +582 -0
  540. package/src/form/fields/TextEditorField/TextEditorField.js +286 -0
  541. package/src/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +62 -0
  542. package/src/form/fields/TextEditorWrapper/TextEditorWrapper.js +239 -0
  543. package/src/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +26 -0
  544. package/src/form/fields/TextareaField/TextareaField.js +247 -0
  545. package/src/form/fields/TextareaField/docs/TextareaField__default.docs.js +25 -0
  546. package/src/form/fields/ValidationMessage/ValidationMessage.js +77 -0
  547. package/src/form/fields/ValidationMessage/ValidationMessage.module.css +22 -0
  548. package/src/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +66 -0
  549. package/src/form/layout/Field/Field.js +53 -0
  550. package/src/form/layout/Field/Field.module.css +22 -0
  551. package/src/form/layout/Field/docs/Field__default.docs.js +20 -0
  552. package/src/form/layout/Section/ModuleFormSection.module.css +3 -0
  553. package/src/form/layout/Section/Section.js +47 -0
  554. package/src/form/layout/Section/docs/Section__default.docs.js +21 -0
  555. package/src/i18n.js +5498 -0
  556. package/src/index.js +8 -0
  557. package/src/layout/SetupDetailLayout/SetupDetailLayout.js +274 -0
  558. package/src/layout/SetupDetailLayout/SetupDetailLayout.module.css +116 -0
  559. package/src/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +34 -0
  560. package/src/layout/SetupDetailLayout/index.js +4 -0
  561. package/src/layout/SubtabLayout/SubtabLayout.js +235 -0
  562. package/src/layout/SubtabLayout/SubtabLayout.module.css +120 -0
  563. package/src/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +53 -0
  564. package/src/layout/SubtabLayout/index.js +4 -0
  565. package/src/list/AvatarFlip/AvatarFlip.js +106 -0
  566. package/src/list/AvatarFlip/AvatarFlip.module.css +3 -0
  567. package/src/list/AvatarFlip/docs/AvatarFlip__default.docs.js +82 -0
  568. package/src/list/BluePrintStatus/BluePrintStatus.js +28 -0
  569. package/src/list/BluePrintStatus/BluePrintStatus.module.css +14 -0
  570. package/src/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +20 -0
  571. package/src/list/Comment/Comment.js +54 -0
  572. package/src/list/Comment/Comment.module.css +24 -0
  573. package/src/list/Comment/docs/Comment__default.docs.js +22 -0
  574. package/src/list/DepartmentDropDown/DepartmentDropDown.js +119 -0
  575. package/src/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -0
  576. package/src/list/Dot/Dot.js +27 -0
  577. package/src/list/Dot/Dot.module.css +15 -0
  578. package/src/list/DotNew/DotNew.js +29 -0
  579. package/src/list/DotNew/DotNew.module.css +22 -0
  580. package/src/list/DotNew/docs/DotNew__default.docs.js +18 -0
  581. package/src/list/GridStencils/GridStencils.js +46 -0
  582. package/src/list/GridStencils/GridStencils.module.css +102 -0
  583. package/src/list/GridStencils/docs/GridStencils__default.docs.js +30 -0
  584. package/src/list/Icons/AddNewIcon.js +34 -0
  585. package/src/list/Icons/CompleteIcon.js +35 -0
  586. package/src/list/Icons/DeleteIcon.js +36 -0
  587. package/src/list/Icons/EditIcon.js +36 -0
  588. package/src/list/Icons/FloatingIcons.js +32 -0
  589. package/src/list/Icons/Icons.module.css +16 -0
  590. package/src/list/Icons/ReadUnreadIcon.js +44 -0
  591. package/src/list/Icons/SmartIcon.js +37 -0
  592. package/src/list/Icons/docs/FloatingIcons__default.docs.js +26 -0
  593. package/src/list/ListLayout/ListLayout.js +117 -0
  594. package/src/list/ListLayout/ListLayout.module.css +50 -0
  595. package/src/list/ListLayout/docs/ListLayout__default.docs.js +54 -0
  596. package/src/list/ListStencils/ListStencils.js +45 -0
  597. package/src/list/ListStencils/ListStencils.module.css +62 -0
  598. package/src/list/ListStencils/docs/ListStencils__default.docs.js +18 -0
  599. package/src/list/SecondaryText/AccountName.js +130 -0
  600. package/src/list/SecondaryText/ContactName.js +137 -0
  601. package/src/list/SecondaryText/DepartmentText.js +34 -0
  602. package/src/list/SecondaryText/Email.js +86 -0
  603. package/src/list/SecondaryText/HappinessRating.js +37 -0
  604. package/src/list/SecondaryText/PhoneNumber.js +93 -0
  605. package/src/list/SecondaryText/PriorityText.js +40 -0
  606. package/src/list/SecondaryText/SecondaryText.js +43 -0
  607. package/src/list/SecondaryText/SecondaryText.module.css +126 -0
  608. package/src/list/SecondaryText/StatusText.js +42 -0
  609. package/src/list/SecondaryText/TicketId.js +78 -0
  610. package/src/list/SecondaryText/Website.js +59 -0
  611. package/src/list/SecondaryText/docs/ContactName__default.docs.js +18 -0
  612. package/src/list/SecondaryText/index.js +11 -0
  613. package/src/list/SecondryPanel/SecondryPanel.js +144 -0
  614. package/src/list/SecondryPanel/SecondryPanel.module.css +6 -0
  615. package/src/list/SecondryPanel/docs/SecondryPanelDocs.module.css +37 -0
  616. package/src/list/SecondryPanel/docs/SecondryPanel__default.docs.js +90 -0
  617. package/src/list/SentimentStatus/SentimentStatus.js +32 -0
  618. package/src/list/SentimentStatus/SentimentStatus.module.css +9 -0
  619. package/src/list/SentimentStatus/docs/SentimentStatus__default.docs.js +20 -0
  620. package/src/list/Subject/Subject.js +88 -0
  621. package/src/list/Subject/Subject.module.css +27 -0
  622. package/src/list/Subject/docs/Subject__default.docs.js +34 -0
  623. package/src/list/TagNew/TagNew.js +40 -0
  624. package/src/list/TagNew/TagNew.module.css +108 -0
  625. package/src/list/TagNew/docs/TagNew__default.docs.js +18 -0
  626. package/src/list/Thread/Thread.js +46 -0
  627. package/src/list/Thread/Thread.module.css +31 -0
  628. package/src/list/Thread/docs/Thread__default.docs.js +18 -0
  629. package/src/list/UserTime/UserTime.js +138 -0
  630. package/src/list/UserTime/UserTime.module.css +52 -0
  631. package/src/list/UserTime/docs/UserTime__default.docs.js +114 -0
  632. package/src/list/listCommon.module.css +52 -0
  633. package/src/list/status/StatusDropdown/StatusDropdown.js +538 -0
  634. package/src/list/status/StatusDropdown/StatusDropdown.module.css +76 -0
  635. package/src/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +92 -0
  636. package/src/list/status/StatusListItem/StatusListItem.js +149 -0
  637. package/src/list/status/StatusListItem/StatusListItem.module.css +81 -0
  638. package/src/list/status/StatusListItem/docs/StatusListItem__default.docs.js +19 -0
  639. package/src/lookup/EmptyPage/EmptyPage.js +62 -0
  640. package/src/lookup/EmptyPage/LookupEmptyPage.module.css +12 -0
  641. package/src/lookup/EmptyPage/docs/EmptyPage__account.docs.js +17 -0
  642. package/src/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +17 -0
  643. package/src/lookup/EmptyPage/docs/EmptyPage__default.docs.js +16 -0
  644. package/src/lookup/EmptyPage/docs/EmptyPage__product.docs.js +17 -0
  645. package/src/lookup/Lookup/Lookup.js +113 -0
  646. package/src/lookup/Lookup/Lookup.module.css +26 -0
  647. package/src/lookup/Lookup/docs/Lookup__contact.docs.js +184 -0
  648. package/src/lookup/Lookup/docs/Lookup__default.docs.js +59 -0
  649. package/src/lookup/Section/LookupSection.module.css +8 -0
  650. package/src/lookup/Section/Section.js +27 -0
  651. package/src/lookup/header/Close/Close.js +36 -0
  652. package/src/lookup/header/Close/LookupClose.module.css +15 -0
  653. package/src/lookup/header/Close/docs/Close__default.docs.js +17 -0
  654. package/src/lookup/header/ModuleHeader/ModuleHeader.js +97 -0
  655. package/src/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +40 -0
  656. package/src/lookup/header/Search/LookupSearch.module.css +48 -0
  657. package/src/lookup/header/Search/Search.js +249 -0
  658. package/src/lookup/header/Search/docs/Search__default.docs.js +106 -0
  659. package/src/lookup/header/TicketHeader/TicketHeader.js +123 -0
  660. package/src/lookup/header/TicketHeader/TicketHeader.module.css +19 -0
  661. package/src/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +63 -0
  662. package/src/lookup/header/Title/LookupTitle.module.css +20 -0
  663. package/src/lookup/header/Title/Title.js +38 -0
  664. package/src/lookup/header/Title/docs/Title__default.docs.js +17 -0
  665. package/src/lookup/header/ViewDropDown/ViewDropDown.js +199 -0
  666. package/src/lookup/header/ViewDropDown/ViewDropDown.module.css +46 -0
  667. package/src/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +54 -0
  668. package/src/lookup/header/lookupHeaderCommon.module.css +25 -0
  669. package/src/lookup/header/lookupHeaderCommonResponsive.module.css +15 -0
  670. package/src/setup/header/Button/Button.js +40 -0
  671. package/src/setup/header/Button/HeaderButton.module.css +3 -0
  672. package/src/setup/header/Button/docs/Button__default.docs.js +21 -0
  673. package/src/setup/header/Link/HeaderLink.module.css +15 -0
  674. package/src/setup/header/Link/Link.js +48 -0
  675. package/src/setup/header/Link/docs/Link__default.docs.js +20 -0
  676. package/src/setup/header/Search/Search.js +87 -0
  677. package/src/setup/header/Search/Search.module.css +57 -0
  678. package/src/setup/header/Search/docs/Search__default.docs.js +32 -0
  679. package/src/setup/header/Views/Views.js +62 -0
  680. package/src/setup/header/Views/Views.module.css +27 -0
  681. package/src/setup/header/Views/docs/Views__default.docs.js +20 -0
  682. package/src/setup/helptips/Description/Description.js +22 -0
  683. package/src/setup/helptips/Description/HelpTipsDescription.module.css +6 -0
  684. package/src/setup/helptips/Description/docs/Description__default.docs.js +24 -0
  685. package/src/setup/helptips/Link/HelpTipsLink.module.css +6 -0
  686. package/src/setup/helptips/Link/Link.js +39 -0
  687. package/src/setup/helptips/Link/docs/Link__default.docs.js +27 -0
  688. package/src/setup/helptips/ListGroup/ListGroup.js +42 -0
  689. package/src/setup/helptips/ListGroup/ListGroup.module.css +17 -0
  690. package/src/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +37 -0
  691. package/src/setup/helptips/Title/HelpTipsTitle.module.css +5 -0
  692. package/src/setup/helptips/Title/Title.js +22 -0
  693. package/src/setup/helptips/Title/docs/Title__default.docs.js +22 -0
  694. package/src/setup/table/Table/Table.js +31 -0
  695. package/src/setup/table/Table/docs/Table__default.docs.js +115 -0
  696. package/src/setup/table/TableBody/TableBody.js +37 -0
  697. package/src/setup/table/TableData/SetupTableData.module.css +36 -0
  698. package/src/setup/table/TableData/TableData.js +56 -0
  699. package/src/setup/table/TableData/Tablehover.module.css +6 -0
  700. package/src/setup/table/TableHead/SetupTableHead.module.css +8 -0
  701. package/src/setup/table/TableHead/TableHead.js +53 -0
  702. package/src/setup/table/TableRow/SetupTableRow.module.css +10 -0
  703. package/src/setup/table/TableRow/TableRow.js +60 -0
  704. package/src/setup/table/Text/TableText.module.css +37 -0
  705. package/src/setup/table/Text/Text.js +82 -0
  706. package/src/setup/table/Text/docs/Text__default.docs.js +38 -0
  707. package/src/svg/PlusIcon.js +43 -0
  708. package/src/svg/SnippetIcon.js +50 -0
  709. package/src/svg/TemplateIcon.js +34 -0
  710. package/src/svg/docs/SVG__default.docs.js +46 -0
  711. package/src/utils/ChannelIconMapping.js +130 -0
  712. package/src/utils/Common.js +20 -0
  713. package/src/utils/General.js +58 -0
  714. package/src/utils/KeyboardApi.js +280 -0
  715. package/src/utils/editorUtils.js +189 -0
  716. package/src/version2/AlertClose/AlertClose.js +45 -0
  717. package/src/version2/AlertClose/AlertClose.module.css +43 -0
  718. package/src/version2/AlertClose/docs/AlertClose__default.docs.js +46 -0
  719. package/src/version2/GlobalNotification/GlobalNotification.js +112 -0
  720. package/src/version2/GlobalNotification/GlobalNotification.module.css +90 -0
  721. package/src/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +94 -0
  722. package/src/version2/alertIcons/AlarmAlertIcon.js +32 -0
  723. package/src/version2/alertIcons/AlertIcons.js +61 -0
  724. package/src/version2/alertIcons/AlertIcons.module.css +67 -0
  725. package/src/version2/alertIcons/DangerAlertIcon.js +33 -0
  726. package/src/version2/alertIcons/ErrorAlertIcon.js +34 -0
  727. package/src/version2/alertIcons/InfoAlertIcon.js +35 -0
  728. package/src/version2/alertIcons/NotificationAlertIcon.js +32 -0
  729. package/src/version2/alertIcons/SuccessAlertIcon.js +31 -0
  730. package/src/version2/alertIcons/WarningAlertIcon.js +31 -0
  731. package/src/version2/alertIcons/docs/AlertIcons__default.docs.js +123 -0
  732. package/src/version2/errorstate/Inconvenience/Inconvenience.js +98 -0
  733. package/src/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +19 -0
  734. package/src/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +99 -0
  735. package/src/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +21 -0
  736. package/src/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +98 -0
  737. package/src/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +31 -0
  738. package/src/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +102 -0
  739. package/src/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +19 -0
  740. package/src/version2/errorstate/UrlNotFound/UrlNotFound.js +98 -0
  741. package/src/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +21 -0
  742. package/src/version2/errorstate/V2_ErrorStates.module.css +46 -0
  743. package/src/version2/errorstate/WillBeRightBack/WillBeRightBack.js +98 -0
  744. package/src/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +19 -0
  745. package/src/version2/lookup/AlertHeader/AlertHeader.js +100 -0
  746. package/src/version2/lookup/AlertHeader/AlertHeaderNew.module.css +64 -0
  747. package/src/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +66 -0
  748. package/src/version2/lookup/AlertLookup/AlertLookup.js +290 -0
  749. package/src/version2/lookup/AlertLookup/AlertLookupNew.module.css +40 -0
  750. package/src/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +150 -0
  751. package/src/version2/lookup/alertLookupCommonNew.module.css +26 -0
  752. package/src/version2/notification/DesktopNotification/DesktopNotification.js +251 -0
  753. package/src/version2/notification/DesktopNotification/DesktopNotification.module.css +91 -0
  754. package/src/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +86 -0
  755. package/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +92 -0
  756. package/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +100 -0
  757. package/src/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +51 -0
  758. package/assets/Appearance/dark/mode/dotDarkMode.module.css +0 -521
  759. package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +0 -10
  760. package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +0 -10
  761. package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +0 -10
  762. package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +0 -10
  763. package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +0 -10
  764. package/assets/Appearance/default/mode/dotDefaultMode.module.css +0 -521
  765. package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +0 -10
  766. package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +0 -10
  767. package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +0 -10
  768. package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +0 -10
  769. package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +0 -10
@@ -0,0 +1,63 @@
1
+ import React, { Component } from 'react';
2
+ import ChannelIcon from '../ChannelIcon';
3
+ import { getChannelMappingObj } from '../../utils/ChannelIconMapping';
4
+ import { Container, Box } from '@zohodesk/components/lib/Layout';
5
+
6
+ export default class ChannelIcon__default extends Component {
7
+ constructor(props) {
8
+ super(props);
9
+ }
10
+
11
+ render() {
12
+ let boxStyle = {},
13
+ style = {
14
+ border: '1px solid #c3c1c1',
15
+ padding: '10px',
16
+ margin: '1px 10px',
17
+ textAlign: 'center'
18
+ },
19
+ titleStyle = {
20
+ 'font-size': '13px',
21
+ 'padding-bottom': '5px',
22
+ 'border-bottom': '1px solid #c3c1c1',
23
+ margin: '10px 0 5px',
24
+ textAlign: 'center'
25
+ };
26
+ let channels = getChannelMappingObj();
27
+ return (
28
+ <Container>
29
+ {Object.keys(channels).map((item, i) => (
30
+ <Box key={i} scroll='none' style={{ padding: '5px' }}>
31
+ <p style={titleStyle}>{item}</p>
32
+ <Container
33
+ alignBox='row'
34
+ align='vertical'
35
+ isCover={false}
36
+ wrap='wrap'
37
+ >
38
+ {Object.keys(channels[item]).map((channel, j) => (
39
+ <Box flexible style={style} key={j}>
40
+ <h6>{channel}</h6>
41
+ <div>
42
+ <ChannelIcon
43
+ name={item}
44
+ action={channel}
45
+ iconSize='21'
46
+ size='medium'
47
+ />
48
+ </div>
49
+ </Box>
50
+ ))}
51
+ </Container>
52
+ </Box>
53
+ ))}
54
+ <br />
55
+ </Container>
56
+ );
57
+ }
58
+ }
59
+ if (__DOCS__) {
60
+ ChannelIcon__default.docs = {
61
+ componentGroup: 'Atom'
62
+ };
63
+ }
@@ -0,0 +1,398 @@
1
+ import React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ import FreezeLayer from '../FreezeLayer/FreezeLayer';
4
+ import { Container, Box } from '@zohodesk/components/lib/Layout';
5
+ import { Card, CardHeader, CardContent } from '@zohodesk/components/lib/Card';
6
+ import FormAction from '../FormAction/FormAction';
7
+ import VelocityAnimationGroup from '@zohodesk/components/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
8
+ import {
9
+ ResponsiveSender,
10
+ ResponsiveReceiver
11
+ } from '@zohodesk/components/lib/Responsive/CustomResponsive';
12
+ import IconButton from '../IconButton/IconButton';
13
+ import Icon from '@zohodesk/icons/lib/Icon';
14
+ import { getZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
15
+ import style from './Drawer.module.css';
16
+ export class Header extends React.Component {
17
+ render() {
18
+ let {
19
+ title,
20
+ onClose,
21
+ children,
22
+ className,
23
+ paddingSize,
24
+ closeTitle,
25
+ iconName,
26
+ iconSize,
27
+ onIconClick,
28
+ isIconBold,
29
+ dataId,
30
+ flexible,
31
+ getChildren,
32
+ iconTitle,
33
+ isBoxIcon,
34
+ getTitleChildren
35
+ } = this.props;
36
+
37
+ return (
38
+ <CardHeader
39
+ customClass={`${style.header} ${style[`${paddingSize}HeaderPadding`]} ${
40
+ className ? className : ''
41
+ }`}
42
+ dataId={dataId}
43
+ >
44
+ <Container
45
+ alignBox='row'
46
+ align='vertical'
47
+ isCover={false}
48
+ className={style.subheader}
49
+ >
50
+ <Box flexible shrink>
51
+ <Container alignBox='row' isCover={false} align='vertical'>
52
+ {iconName ? (
53
+ <Box className={style.iconWrapper}>
54
+ {isBoxIcon ? (
55
+ <IconButton
56
+ iconName={iconName}
57
+ iconSize={iconSize}
58
+ onClick={onIconClick}
59
+ hoverType='border'
60
+ isBold={isIconBold}
61
+ title={iconTitle}
62
+ />
63
+ ) : (
64
+ <Icon
65
+ name={iconName}
66
+ size={iconSize}
67
+ onClick={onIconClick}
68
+ title={iconTitle}
69
+ />
70
+ )}
71
+ </Box>
72
+ ) : null}
73
+ {title || getTitleChildren ? (
74
+ <Box
75
+ flexible={flexible}
76
+ shrink
77
+ >
78
+ <Container alignBox='row' align='vertical'>
79
+ {title?<Box
80
+ className={style.title}
81
+ data-title={title}
82
+ shrink
83
+ >
84
+ {title}
85
+ </Box>:null}
86
+ {getTitleChildren?<Box>{getTitleChildren()}</Box>:null}
87
+ </Container>
88
+ </Box>
89
+ ) : null}
90
+ {children ? <Box>{children}</Box> : null}
91
+ </Container>
92
+ </Box>
93
+ {onClose ? (
94
+ <Box>
95
+ <IconButton
96
+ onClick={onClose}
97
+ dataId='closeButton'
98
+ title={closeTitle}
99
+ iconName='ZD-cross'
100
+ iconSize='11'
101
+ />
102
+ </Box>
103
+ ) : null}
104
+ </Container>
105
+ {getChildren ? (
106
+ <Container isCover={false}>
107
+ <Box flexible>{getChildren()}</Box>
108
+ </Container>
109
+ ) : null}
110
+ </CardHeader>
111
+ );
112
+ }
113
+ }
114
+
115
+ Header.propTypes = {
116
+ children: PropTypes.node,
117
+ className: PropTypes.string,
118
+ closeTitle: PropTypes.string,
119
+ dataId: PropTypes.string,
120
+ flexible: PropTypes.bool,
121
+ getChildren: PropTypes.func,
122
+ iconName: PropTypes.string,
123
+ iconSize: PropTypes.string,
124
+ iconTitle: PropTypes.string,
125
+ isIconBold: PropTypes.bool,
126
+ onClose: PropTypes.func,
127
+ onIconClick: PropTypes.func,
128
+ paddingSize: PropTypes.oneOf(['small', 'medium', 'large']),
129
+ title: PropTypes.string,
130
+ isBoxIcon: PropTypes.bool,
131
+ getTitleChildren: PropTypes.func
132
+ };
133
+ Header.defaultProps = {
134
+ flexible: false,
135
+ paddingSize: 'small',
136
+ isBoxIcon: true
137
+ };
138
+
139
+ export class Content extends React.Component {
140
+ render() {
141
+ let { children, className, paddingSize, eleRef } = this.props;
142
+ return (
143
+ <CardContent
144
+ scroll='vertical'
145
+ isScrollAttribute
146
+ customClass={`${className ? className : ''} ${
147
+ paddingSize ? style[`${paddingSize}ContentPadding`] : ''
148
+ }`}
149
+ eleRef={eleRef}
150
+ >
151
+ {children}
152
+ </CardContent>
153
+ );
154
+ }
155
+ }
156
+
157
+ Content.propTypes = {
158
+ children: PropTypes.node,
159
+ className: PropTypes.string,
160
+ eleRef: PropTypes.func,
161
+ paddingSize: PropTypes.oneOf(['small', 'medium', 'large'])
162
+ };
163
+
164
+ export class Footer extends React.Component {
165
+ render() {
166
+ let { paddingLeftSize, paddingRightClass, children, size } = this.props;
167
+ return (
168
+ <FormAction
169
+ size={size}
170
+ paddingLeftSize={paddingLeftSize}
171
+ paddingRightClass={paddingRightClass}
172
+ >
173
+ {children}
174
+ </FormAction>
175
+ );
176
+ }
177
+ }
178
+
179
+ Footer.propTypes = {
180
+ children: PropTypes.node,
181
+ paddingLeftSize: PropTypes.string,
182
+ paddingRightClass: PropTypes.string,
183
+ size: PropTypes.string
184
+ };
185
+ Footer.defaultProps = {
186
+ size: 'small'
187
+ };
188
+
189
+ export default class Drawer extends React.Component {
190
+ constructor(props) {
191
+ super(props);
192
+ this.drawers = this.drawers.bind(this);
193
+ this.responsiveFunc = this.responsiveFunc.bind(this);
194
+ this.getNextIndex = getZIndex(this);
195
+ }
196
+
197
+ drawers(uptoTablet, styleByResolutions) {
198
+ let {
199
+ children,
200
+ size,
201
+ paddingSize,
202
+ subDrawerActive,
203
+ subDrawerChildren,
204
+ onBodyClick
205
+ } = this.props;
206
+
207
+ let childrenWithProps = React.Children.map(children, child => {
208
+ if (
209
+ child.type === Header ||
210
+ child.type === Footer ||
211
+ child.type === Content
212
+ ) {
213
+ let { paddingSize: childPaddingSize } = child.props || {};
214
+ return paddingSize || childPaddingSize
215
+ ? React.cloneElement(child, {
216
+ paddingSize: childPaddingSize ? childPaddingSize : paddingSize
217
+ })
218
+ : child;
219
+ }
220
+ return child;
221
+ });
222
+
223
+ return (
224
+ <React.Fragment>
225
+ {subDrawerChildren ? (
226
+ <Box className={style.columns}>
227
+ <VelocityAnimationGroup
228
+ name='slideRight'
229
+ isActive={subDrawerActive}
230
+ >
231
+ <ResponsiveSender>
232
+ <Container
233
+ className={styleByResolutions}
234
+ onClick={e => {
235
+ e && e.stopPropagation && e.stopPropagation();
236
+ }}
237
+ >
238
+ <Box flexible>{subDrawerChildren}</Box>
239
+ </Container>
240
+ </ResponsiveSender>
241
+ </VelocityAnimationGroup>
242
+ </Box>
243
+ ) : null}
244
+ <Box
245
+ className={`${style.container} ${style.columns} ${
246
+ style.drawerModal
247
+ } ${uptoTablet ? style.mbleSize : style[size]}`}
248
+ >
249
+ <Card
250
+ onClick={e => {
251
+ e && e.stopPropagation && e.stopPropagation();
252
+ onBodyClick(e);
253
+ }}
254
+ >
255
+ {childrenWithProps}
256
+ </Card>
257
+ </Box>
258
+ </React.Fragment>
259
+ );
260
+ }
261
+
262
+ responsiveFunc({ mediaQueryOR }) {
263
+ return {
264
+ uptoTablet: mediaQueryOR([{ maxWidth: 768 }])
265
+ };
266
+ }
267
+
268
+ render() {
269
+ let {
270
+ needFreeze,
271
+ palette,
272
+ isActive,
273
+ onClose,
274
+ forwardRef,
275
+ responsiveId,
276
+ subDrawerSize,
277
+ subDrawerClass,
278
+ subDrawerActive,
279
+ customClass,
280
+ needAutoZindex,
281
+ innerPortalName
282
+ } = this.props;
283
+
284
+ return (
285
+ <ResponsiveReceiver
286
+ query={this.responsiveFunc}
287
+ responsiveId={responsiveId}
288
+ >
289
+ {({ uptoTablet }) => {
290
+ let styleByResolutions = `${subDrawerClass} ${style.secondDrawer} ${
291
+ uptoTablet
292
+ ? `${style.secondMobDrawer} ${style.mbleSize}`
293
+ : `${style[subDrawerSize]}`
294
+ } `;
295
+
296
+ return needFreeze ? (
297
+ <FreezeLayer
298
+ onClick={onClose}
299
+ isActive={isActive}
300
+ animationName='fade'
301
+ childAnimationName='slideRight'
302
+ palette={palette}
303
+ forwardRef={forwardRef}
304
+ customClass={customClass}
305
+ needAutoZindex={needAutoZindex}
306
+ >
307
+ <Box flexible>
308
+ <Container alignBox='row'>
309
+ <React.Fragment>
310
+ {uptoTablet ? <Box flexible /> : null}
311
+
312
+ <ResponsiveSender>
313
+ <Box
314
+ flexible
315
+ className={
316
+ uptoTablet ? style.mobModal : style.drawerModal
317
+ }
318
+ >
319
+ {!subDrawerActive && innerPortalName ? (
320
+ <div data-portal={innerPortalName}></div>
321
+ ) : null}
322
+ </Box>
323
+ </ResponsiveSender>
324
+ {this.drawers(uptoTablet, styleByResolutions)}
325
+ </React.Fragment>
326
+ </Container>
327
+ </Box>
328
+ </FreezeLayer>
329
+ ) : (
330
+ <VelocityAnimationGroup isActive={isActive} name='slideRight'>
331
+ <Container
332
+ align='right'
333
+ alignBox='row'
334
+ scroll='none'
335
+ eleRef={forwardRef}
336
+ className={`${style.isOverlay} ${customClass}`}
337
+ style={
338
+ isActive && needAutoZindex
339
+ ? { zIndex: `${this.getNextIndex()}` }
340
+ : {}
341
+ }
342
+ >
343
+ {this.drawers(uptoTablet, styleByResolutions)}
344
+ </Container>
345
+ </VelocityAnimationGroup>
346
+ );
347
+ }}
348
+ </ResponsiveReceiver>
349
+ );
350
+ }
351
+ }
352
+
353
+ Drawer.propTypes = {
354
+ children: PropTypes.node,
355
+ customClass: PropTypes.string,
356
+ forwardRef: PropTypes.object,
357
+ isActive: PropTypes.bool,
358
+ needAutoZindex: PropTypes.bool,
359
+ needFreeze: PropTypes.bool,
360
+ onBodyClick: PropTypes.func,
361
+ onClose: PropTypes.func,
362
+ paddingSize: PropTypes.oneOf(['small', 'medium', 'large']),
363
+ palette: PropTypes.oneOf(['dark', 'default', 'darkLight', 'plain']),
364
+ responsiveId: PropTypes.string,
365
+ size: PropTypes.oneOf([
366
+ 'small',
367
+ 'xsmall',
368
+ 'medium',
369
+ 'xmedium',
370
+ 'large',
371
+ 'xlarge',
372
+ 'xxlarge',
373
+ 'default'
374
+ ]),
375
+ subDrawerActive: PropTypes.bool,
376
+ subDrawerChildren: PropTypes.func,
377
+ subDrawerClass: PropTypes.string,
378
+ subDrawerSize: PropTypes.oneOf(['xsmall', 'small', 'medium'])
379
+ };
380
+
381
+ Drawer.defaultProps = {
382
+ isActive: false,
383
+ palette: 'default',
384
+ responsiveId: 'Helmet',
385
+ size: 'small',
386
+ subDrawerSize: 'small',
387
+ subDrawerActive: false,
388
+ subDrawerClass: '',
389
+ customClass: '',
390
+ needAutoZindex: true,
391
+ onBodyClick: () => {}
392
+ };
393
+
394
+ if (__DOCS__) {
395
+ Drawer.docs = {
396
+ componentGroup: 'Template'
397
+ };
398
+ }
@@ -0,0 +1,103 @@
1
+ .container {
2
+ box-shadow: 0 6px 12px var(--zdt_drawer_default_box_shadow);
3
+ background-color: var(--zdt_drawer_default_bg);
4
+ transition: width var(--zd_transition3);
5
+ }
6
+ .isOverlay {
7
+ right: 0;
8
+ top: 0;
9
+ bottom: 0;
10
+ position: absolute;
11
+ pointer-events: none;
12
+ }
13
+ .columns {
14
+ pointer-events: initial;
15
+ }
16
+ .drawerModal {
17
+ position: relative;
18
+ }
19
+ .secondDrawer {
20
+ background-color: var(--zdt_drawer_default_bg);
21
+ box-shadow: 0 6px 12px var(--zdt_drawer_default_box_shadow);
22
+ }
23
+ .secondMobDrawer {
24
+ right: 0;
25
+ position: absolute;
26
+ top: 0;
27
+ z-index: 1;
28
+ }
29
+ .mobModal {
30
+ position: absolute;
31
+ top: 0;
32
+ right: 0;
33
+ bottom: 0;
34
+ left: 0;
35
+ }
36
+ .xsmall {
37
+ width: var(--zd_size360);
38
+ }
39
+ .small {
40
+ width: var(--zd_size410);
41
+ }
42
+ .medium {
43
+ width: var(--zd_size660);
44
+ }
45
+ .xmedium {
46
+ width: var(--zd_size730);
47
+ }
48
+ .large {
49
+ width: var(--zd_size936);
50
+ }
51
+ .xlarge {
52
+ width: var(--zd_size840);
53
+ }
54
+ .xxlarge {
55
+ width: var(--zd_size1142);
56
+ }
57
+ .mbleSize,
58
+ .default {
59
+ width: 100%;
60
+ }
61
+ .header {
62
+ min-height: var(--zd_size50);
63
+ background-color: var(--zdt_drawer_header_bg);
64
+ border-bottom: solid 1px var(--zdt_drawer_header_border);
65
+ padding-top: var(--zd_size10);
66
+ padding-bottom: var(--zd_size10);
67
+ }
68
+ .subheader {
69
+ min-height: var(--zd_size28);
70
+ }
71
+ .title {
72
+ color: var( --zdt_drawer_title_text);
73
+ font: var(--zd_font_size16) var(--zd_semibold);
74
+ composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
75
+ padding: 0 var(--zd_size10) 0 0;
76
+ }
77
+ .smallHeaderPadding {
78
+ padding-right: var(--zd_size11);
79
+ padding-left: var(--zd_size30);
80
+ }
81
+ .smallContentPadding {
82
+ padding-left: var(--zd_size30);
83
+ padding-right: var(--zd_size30);
84
+ }
85
+ .mediumHeaderPadding {
86
+ padding-right: var(--zd_size15);
87
+ padding-left: var(--zd_size30);
88
+ }
89
+ .mediumContentPadding {
90
+ padding-left: var(--zd_size30);
91
+ padding-right: var(--zd_size30);
92
+ }
93
+ .largeHeaderPadding {
94
+ padding-right: var(--zd_size15);
95
+ padding-left: var(--zd_size50);
96
+ }
97
+ .largeContentPadding {
98
+ padding-left: var(--zd_size50);
99
+ padding-right: var(--zd_size50);
100
+ }
101
+ .iconWrapper {
102
+ margin-right: var(--zd_size10);
103
+ }
@@ -0,0 +1,86 @@
1
+ import React from 'react';
2
+ import Drawer, { Header, Content, Footer } from '../Drawer';
3
+ import Button from '@zohodesk/components/lib/Button/Button';
4
+ import style from '../Drawer.module.css';
5
+ export default class Drawer__default extends React.Component {
6
+ constructor(props) {
7
+ super(props);
8
+ this.state = {
9
+ isActive: true,
10
+ size: 'xsmall'
11
+ };
12
+
13
+ this.onClose = this.onClose.bind(this);
14
+ this.getFooter = this.getFooter.bind();
15
+ }
16
+
17
+ onClose() {
18
+ this.setState({
19
+ isActive: false
20
+ });
21
+ }
22
+ changeSize(drawersize) {
23
+ this.setState({
24
+ size: drawersize
25
+ });
26
+ }
27
+ getFooter() {
28
+ return <p>getChildren</p>;
29
+ }
30
+
31
+ render() {
32
+ let { isActive, size } = this.state;
33
+ return (
34
+ <Drawer
35
+ isActive={isActive}
36
+ needFreeze={false}
37
+ paddingSize='small'
38
+ size={size}
39
+ >
40
+ <Header
41
+ title='Add Component'
42
+ onClose={this.onClose}
43
+ iconName='ZD-zdDuetimeQueueNew'
44
+ iconSize='15'
45
+ align='column'
46
+ getChildren={this.getFooter}
47
+ >
48
+ <span>children</span>
49
+ </Header>
50
+ <Content className={style.headerTest}>
51
+ <Button text='small' onClick={this.changeSize.bind(this, 'small')} />
52
+ <Button
53
+ text='xsmall'
54
+ onClick={this.changeSize.bind(this, 'xsmall')}
55
+ />
56
+ <Button
57
+ text='medium'
58
+ onClick={this.changeSize.bind(this, 'medium')}
59
+ />
60
+ <Button
61
+ text='xmedium'
62
+ onClick={this.changeSize.bind(this, 'xmedium')}
63
+ />
64
+ <Button text='large' onClick={this.changeSize.bind(this, 'large')} />
65
+ <Button
66
+ text='xlarge'
67
+ onClick={this.changeSize.bind(this, 'xlarge')}
68
+ />
69
+ <Button
70
+ text='xxlarge'
71
+ onClick={this.changeSize.bind(this, 'xxlarge')}
72
+ />
73
+ </Content>
74
+ <Footer>
75
+ <Button text='Save' palette='primaryFilled' />
76
+ <Button text='Cancel' palette='secondary' />
77
+ </Footer>
78
+ </Drawer>
79
+ );
80
+ }
81
+ }
82
+ if (__DOCS__) {
83
+ Drawer__default.docs = {
84
+ componentGroup: 'Template'
85
+ };
86
+ }