@zohodesk/dot 1.0.0-beta.202 → 1.0.0-beta.206

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 (345) hide show
  1. package/README.md +51 -31
  2. package/es/Appearance/dark/mode/dotDarkMode.module.css +521 -536
  3. package/es/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +9 -9
  4. package/es/Appearance/dark/themes/green/greenDarkDotTheme.module.css +8 -8
  5. package/es/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +8 -8
  6. package/es/Appearance/dark/themes/red/redDarkDotTheme.module.css +8 -8
  7. package/es/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +8 -8
  8. package/es/Appearance/default/mode/dotDefaultMode.module.css +521 -536
  9. package/es/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +9 -9
  10. package/es/Appearance/default/themes/green/greenDefaultDotTheme.module.css +8 -8
  11. package/es/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +8 -8
  12. package/es/Appearance/default/themes/red/redDefaultDotTheme.module.css +8 -8
  13. package/es/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +8 -8
  14. package/es/FreezeLayer/docs/FreezeLayer__dark.docs.js +2 -2
  15. package/es/FreezeLayer/docs/FreezeLayer__default.docs.js +2 -2
  16. package/es/Loader/docs/Loader__default.docs.js +1 -1
  17. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +6 -6
  18. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +3 -2
  19. package/es/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +1 -1
  20. package/es/form/fields/TextEditor/TextEditor.js +1 -1
  21. package/es/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +1 -1
  22. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
  23. package/es/list/BluePrintStatus/BluePrintStatus.module.css +2 -2
  24. package/es/list/DotNew/DotNew.module.css +4 -4
  25. package/es/list/ListLayout/ListLayout.module.css +10 -10
  26. package/es/version2/GlobalNotification/GlobalNotification.js +18 -6
  27. package/es/version2/notification/DesktopNotification/DesktopNotification.js +13 -5
  28. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -5
  29. package/lib/ActionButton/ActionButton.js +3 -3
  30. package/lib/ActionButton/docs/ActionButton__default.docs.js +3 -3
  31. package/lib/AlphabeticList/AlphabeticList.js +3 -3
  32. package/lib/AlphabeticList/docs/AlphabeticList__default.docs.js +3 -3
  33. package/lib/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +3 -3
  34. package/lib/Appearance/dark/mode/dotDarkMode.module.css +521 -536
  35. package/lib/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +9 -9
  36. package/lib/Appearance/dark/themes/green/greenDarkDotTheme.module.css +8 -8
  37. package/lib/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +8 -8
  38. package/lib/Appearance/dark/themes/red/redDarkDotTheme.module.css +8 -8
  39. package/lib/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +8 -8
  40. package/lib/Appearance/default/mode/dotDefaultMode.module.css +521 -536
  41. package/lib/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +9 -9
  42. package/lib/Appearance/default/themes/green/greenDefaultDotTheme.module.css +8 -8
  43. package/lib/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +8 -8
  44. package/lib/Appearance/default/themes/red/redDefaultDotTheme.module.css +8 -8
  45. package/lib/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +8 -8
  46. package/lib/Attachment/Attachment.js +3 -3
  47. package/lib/Attachment/docs/Attachment__default.docs.js +3 -3
  48. package/lib/ChannelIcon/ChannelIcon.js +3 -3
  49. package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +3 -3
  50. package/lib/Drawer/Drawer.js +3 -3
  51. package/lib/Drawer/docs/Drawer__default.docs.js +3 -3
  52. package/lib/Drawer/docs/Drawer__multiDrawer.docs.js +3 -3
  53. package/lib/Drawer/docs/Drawer__noFreeze.docs.js +3 -3
  54. package/lib/Drawer/docs/Drawer__withModal.docs.js +3 -3
  55. package/lib/ExternalLink/ExternalLink.js +3 -3
  56. package/lib/ExternalLink/docs/ExternalLink__default.docs.js +3 -3
  57. package/lib/FlipCard/FlipCard.js +3 -3
  58. package/lib/FlipCard/docs/FlipCard__default.docs.js +3 -3
  59. package/lib/FormAction/FormAction.js +3 -3
  60. package/lib/FormAction/docs/FormAction__default.docs.js +3 -3
  61. package/lib/FreezeLayer/FreezeLayer.js +3 -3
  62. package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +5 -5
  63. package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +5 -5
  64. package/lib/IconButton/IconButton.js +3 -3
  65. package/lib/IconButton/docs/IconButton__default.docs.js +3 -3
  66. package/lib/Image/Image.js +3 -3
  67. package/lib/Image/docs/Image__default.docs.js +3 -3
  68. package/lib/ImportantNotes/ImportantNotes.js +3 -3
  69. package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +3 -3
  70. package/lib/Link/Link.js +3 -3
  71. package/lib/Link/docs/Link__default.docs.js +3 -3
  72. package/lib/Loader/Loader.js +3 -3
  73. package/lib/Loader/docs/Loader__default.docs.js +4 -4
  74. package/lib/Message/Message.js +3 -3
  75. package/lib/Message/docs/Message__default.docs.js +3 -3
  76. package/lib/MessageBanner/MessageBanner.js +3 -3
  77. package/lib/MessageBanner/docs/MessageBanner__default.docs.js +3 -3
  78. package/lib/NewStar/NewStar.js +3 -3
  79. package/lib/NewStar/docs/NewStar__default.docs.js +3 -3
  80. package/lib/PlusIcon/PlusIcon.js +3 -3
  81. package/lib/PlusIcon/docs/PlusIcon__default.docs.js +3 -3
  82. package/lib/Provider.js +3 -3
  83. package/lib/ToastMessage/ToastMessage.js +1 -1
  84. package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +3 -3
  85. package/lib/ToastMessage/docs/ToastMessage__information.docs.js +3 -3
  86. package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +3 -3
  87. package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +3 -3
  88. package/lib/ToastMessage/docs/ToastMessage__success.docs.js +3 -3
  89. package/lib/Upload/Upload.js +3 -3
  90. package/lib/Upload/docs/Upload__default.docs.js +3 -3
  91. package/lib/actions/AutoClose.js +1 -1
  92. package/lib/alert/AlertHeader/AlertHeader.js +3 -3
  93. package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +3 -3
  94. package/lib/alert/AlertLookup/AlertLookup.js +3 -3
  95. package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +3 -3
  96. package/lib/avatar/AvatarClose/AvatarClose.js +3 -3
  97. package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +3 -3
  98. package/lib/avatar/AvatarCollision/AvatarCollision.js +3 -3
  99. package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +3 -3
  100. package/lib/avatar/AvatarIcon/AvatarIcon.js +3 -3
  101. package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +3 -3
  102. package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +3 -3
  103. package/lib/avatar/AvatarStatus/AvatarStatus.js +3 -3
  104. package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +3 -3
  105. package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +3 -3
  106. package/lib/avatar/AvatarThread/AvatarThread.js +3 -3
  107. package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +3 -3
  108. package/lib/avatar/AvatarUser/AvatarUser.js +3 -3
  109. package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +3 -3
  110. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
  111. package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +3 -3
  112. package/lib/deprecated/SelectDropdown/SelectDropdown.js +3 -3
  113. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +6 -6
  114. package/lib/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +3 -3
  115. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +3 -3
  116. package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +3 -3
  117. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +3 -3
  118. package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +3 -3
  119. package/lib/emptystate/EditionPage/EditionPage.js +3 -3
  120. package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +3 -3
  121. package/lib/errorstate/Inconvenience/Inconvenience.js +3 -3
  122. package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +3 -3
  123. package/lib/errorstate/LinkText/LinkText.js +3 -3
  124. package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +3 -3
  125. package/lib/errorstate/NoRequestFound/NoRequestFound.js +3 -3
  126. package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +3 -3
  127. package/lib/errorstate/PermissionPlay/PermissionPlay.js +3 -3
  128. package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +3 -3
  129. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -3
  130. package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +3 -3
  131. package/lib/errorstate/UnableToProcess/UnableToProcess.js +3 -3
  132. package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +3 -3
  133. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
  134. package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +3 -3
  135. package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +3 -3
  136. package/lib/errorstate/WillBack/WillBack.js +3 -3
  137. package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +3 -3
  138. package/lib/form/fields/CheckBoxField/CheckBoxField.js +3 -3
  139. package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +3 -3
  140. package/lib/form/fields/CurrencyField/CurrencyField.js +3 -3
  141. package/lib/form/fields/DateField/DateField.js +3 -3
  142. package/lib/form/fields/DateField/docs/DateField__default.docs.js +3 -3
  143. package/lib/form/fields/MultiSelectField/MultiSelectField.js +3 -3
  144. package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +3 -3
  145. package/lib/form/fields/PhoneField/PhoneField.js +3 -3
  146. package/lib/form/fields/PhoneField/docs/PhoneField__default.docs.js +3 -3
  147. package/lib/form/fields/RadioField/RadioField.js +3 -3
  148. package/lib/form/fields/SelectField/SelectField.js +3 -3
  149. package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +3 -3
  150. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +6 -5
  151. package/lib/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +3 -3
  152. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +1 -1
  153. package/lib/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +1 -1
  154. package/lib/form/fields/TextBoxField/TextBoxField.js +3 -3
  155. package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +3 -3
  156. package/lib/form/fields/TextEditor/TextEditor.js +4 -4
  157. package/lib/form/fields/TextEditorField/TextEditorField.js +3 -3
  158. package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +4 -4
  159. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +4 -4
  160. package/lib/form/fields/TextareaField/TextareaField.js +3 -3
  161. package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +3 -3
  162. package/lib/form/fields/ValidationMessage/ValidationMessage.js +3 -3
  163. package/lib/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +3 -3
  164. package/lib/form/layout/Field/Field.js +3 -3
  165. package/lib/form/layout/Field/docs/Field__default.docs.js +3 -3
  166. package/lib/form/layout/Section/Section.js +3 -3
  167. package/lib/form/layout/Section/docs/Section__default.docs.js +3 -3
  168. package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +3 -3
  169. package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +3 -3
  170. package/lib/layout/SetupDetailLayout/index.js +1 -1
  171. package/lib/layout/SubtabLayout/SubtabLayout.js +3 -3
  172. package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +3 -3
  173. package/lib/layout/SubtabLayout/index.js +1 -1
  174. package/lib/list/AvatarFlip/AvatarFlip.js +3 -3
  175. package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +3 -3
  176. package/lib/list/BluePrintStatus/BluePrintStatus.js +3 -3
  177. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +2 -2
  178. package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +3 -3
  179. package/lib/list/Comment/Comment.js +3 -3
  180. package/lib/list/Comment/docs/Comment__default.docs.js +3 -3
  181. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +3 -3
  182. package/lib/list/Dot/Dot.js +3 -3
  183. package/lib/list/DotNew/DotNew.js +3 -3
  184. package/lib/list/DotNew/DotNew.module.css +4 -4
  185. package/lib/list/DotNew/docs/DotNew__default.docs.js +3 -3
  186. package/lib/list/GridStencils/GridStencils.js +3 -3
  187. package/lib/list/GridStencils/docs/GridStencils__default.docs.js +3 -3
  188. package/lib/list/Icons/AddNewIcon.js +3 -3
  189. package/lib/list/Icons/CompleteIcon.js +3 -3
  190. package/lib/list/Icons/DeleteIcon.js +3 -3
  191. package/lib/list/Icons/EditIcon.js +3 -3
  192. package/lib/list/Icons/FloatingIcons.js +3 -3
  193. package/lib/list/Icons/ReadUnreadIcon.js +3 -3
  194. package/lib/list/Icons/SmartIcon.js +3 -3
  195. package/lib/list/Icons/docs/FloatingIcons__default.docs.js +3 -3
  196. package/lib/list/ListLayout/ListLayout.js +3 -3
  197. package/lib/list/ListLayout/ListLayout.module.css +10 -10
  198. package/lib/list/ListLayout/docs/ListLayout__default.docs.js +3 -3
  199. package/lib/list/ListStencils/ListStencils.js +3 -3
  200. package/lib/list/ListStencils/docs/ListStencils__default.docs.js +3 -3
  201. package/lib/list/SecondaryText/AccountName.js +3 -3
  202. package/lib/list/SecondaryText/ContactName.js +3 -3
  203. package/lib/list/SecondaryText/DepartmentText.js +3 -3
  204. package/lib/list/SecondaryText/Email.js +3 -3
  205. package/lib/list/SecondaryText/HappinessRating.js +3 -3
  206. package/lib/list/SecondaryText/PhoneNumber.js +3 -3
  207. package/lib/list/SecondaryText/PriorityText.js +3 -3
  208. package/lib/list/SecondaryText/SecondaryText.js +3 -3
  209. package/lib/list/SecondaryText/StatusText.js +3 -3
  210. package/lib/list/SecondaryText/TicketId.js +3 -3
  211. package/lib/list/SecondaryText/Website.js +3 -3
  212. package/lib/list/SecondaryText/docs/ContactName__default.docs.js +3 -3
  213. package/lib/list/SecondryPanel/SecondryPanel.js +3 -3
  214. package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +3 -3
  215. package/lib/list/SentimentStatus/SentimentStatus.js +3 -3
  216. package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +3 -3
  217. package/lib/list/Subject/Subject.js +3 -3
  218. package/lib/list/Subject/docs/Subject__default.docs.js +3 -3
  219. package/lib/list/TagNew/TagNew.js +3 -3
  220. package/lib/list/TagNew/docs/TagNew__default.docs.js +3 -3
  221. package/lib/list/Thread/Thread.js +3 -3
  222. package/lib/list/Thread/docs/Thread__default.docs.js +3 -3
  223. package/lib/list/UserTime/UserTime.js +3 -3
  224. package/lib/list/UserTime/docs/UserTime__default.docs.js +3 -3
  225. package/lib/list/status/StatusDropdown/StatusDropdown.js +3 -3
  226. package/lib/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +3 -3
  227. package/lib/list/status/StatusListItem/StatusListItem.js +3 -3
  228. package/lib/list/status/StatusListItem/docs/StatusListItem__default.docs.js +3 -3
  229. package/lib/lookup/EmptyPage/EmptyPage.js +3 -3
  230. package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +3 -3
  231. package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +3 -3
  232. package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +3 -3
  233. package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +3 -3
  234. package/lib/lookup/Lookup/Lookup.js +3 -3
  235. package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +3 -3
  236. package/lib/lookup/Lookup/docs/Lookup__default.docs.js +3 -3
  237. package/lib/lookup/Section/Section.js +3 -3
  238. package/lib/lookup/header/Close/Close.js +3 -3
  239. package/lib/lookup/header/Close/docs/Close__default.docs.js +3 -3
  240. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +3 -3
  241. package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +3 -3
  242. package/lib/lookup/header/Search/Search.js +3 -3
  243. package/lib/lookup/header/Search/docs/Search__default.docs.js +3 -3
  244. package/lib/lookup/header/TicketHeader/TicketHeader.js +3 -3
  245. package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +3 -3
  246. package/lib/lookup/header/Title/Title.js +3 -3
  247. package/lib/lookup/header/Title/docs/Title__default.docs.js +3 -3
  248. package/lib/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
  249. package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +3 -3
  250. package/lib/setup/header/Button/Button.js +3 -3
  251. package/lib/setup/header/Button/docs/Button__default.docs.js +3 -3
  252. package/lib/setup/header/Link/Link.js +3 -3
  253. package/lib/setup/header/Link/docs/Link__default.docs.js +3 -3
  254. package/lib/setup/header/Search/Search.js +3 -3
  255. package/lib/setup/header/Search/docs/Search__default.docs.js +3 -3
  256. package/lib/setup/header/Views/Views.js +3 -3
  257. package/lib/setup/header/Views/docs/Views__default.docs.js +3 -3
  258. package/lib/setup/helptips/Description/Description.js +3 -3
  259. package/lib/setup/helptips/Description/docs/Description__default.docs.js +3 -3
  260. package/lib/setup/helptips/Link/Link.js +3 -3
  261. package/lib/setup/helptips/Link/docs/Link__default.docs.js +3 -3
  262. package/lib/setup/helptips/ListGroup/ListGroup.js +3 -3
  263. package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +3 -3
  264. package/lib/setup/helptips/Title/Title.js +3 -3
  265. package/lib/setup/helptips/Title/docs/Title__default.docs.js +3 -3
  266. package/lib/setup/table/Table/Table.js +3 -3
  267. package/lib/setup/table/Table/docs/Table__default.docs.js +3 -3
  268. package/lib/setup/table/TableBody/TableBody.js +3 -3
  269. package/lib/setup/table/TableData/TableData.js +3 -3
  270. package/lib/setup/table/TableHead/TableHead.js +3 -3
  271. package/lib/setup/table/TableRow/TableRow.js +3 -3
  272. package/lib/setup/table/Text/Text.js +3 -3
  273. package/lib/setup/table/Text/docs/Text__default.docs.js +3 -3
  274. package/lib/svg/PlusIcon.js +3 -3
  275. package/lib/svg/SnippetIcon.js +3 -3
  276. package/lib/svg/TemplateIcon.js +3 -3
  277. package/lib/svg/docs/SVG__default.docs.js +3 -3
  278. package/lib/utils/General.js +1 -1
  279. package/lib/version2/AlertClose/AlertClose.js +3 -3
  280. package/lib/version2/AlertClose/docs/AlertClose__default.docs.js +3 -3
  281. package/lib/version2/GlobalNotification/GlobalNotification.js +21 -9
  282. package/lib/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +3 -3
  283. package/lib/version2/alertIcons/AlarmAlertIcon.js +3 -3
  284. package/lib/version2/alertIcons/AlertIcons.js +3 -3
  285. package/lib/version2/alertIcons/DangerAlertIcon.js +3 -3
  286. package/lib/version2/alertIcons/ErrorAlertIcon.js +3 -3
  287. package/lib/version2/alertIcons/InfoAlertIcon.js +3 -3
  288. package/lib/version2/alertIcons/NotificationAlertIcon.js +3 -3
  289. package/lib/version2/alertIcons/SuccessAlertIcon.js +3 -3
  290. package/lib/version2/alertIcons/WarningAlertIcon.js +3 -3
  291. package/lib/version2/alertIcons/docs/AlertIcons__default.docs.js +3 -3
  292. package/lib/version2/errorstate/Inconvenience/Inconvenience.js +3 -3
  293. package/lib/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +3 -3
  294. package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -3
  295. package/lib/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +3 -3
  296. package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -3
  297. package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +3 -3
  298. package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
  299. package/lib/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +3 -3
  300. package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -3
  301. package/lib/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +3 -3
  302. package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -3
  303. package/lib/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +3 -3
  304. package/lib/version2/lookup/AlertHeader/AlertHeader.js +3 -3
  305. package/lib/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +3 -3
  306. package/lib/version2/lookup/AlertLookup/AlertLookup.js +3 -3
  307. package/lib/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +3 -3
  308. package/lib/version2/notification/DesktopNotification/DesktopNotification.js +14 -6
  309. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -5
  310. package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +3 -3
  311. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +3 -3
  312. package/lib/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +3 -3
  313. package/package.json +12 -8
  314. package/preprocess/dotAppearanceColors.js +71 -0
  315. package/preprocess/dotThemeColors.js +98 -0
  316. package/preprocess/index.js +2 -0
  317. package/preprocess/json/dotAppearanceVariableJson.js +1908 -0
  318. package/preprocess/json/dotThemeVariableJson.js +90 -0
  319. package/src/Appearance/dark/mode/dotDarkMode.module.css +521 -536
  320. package/src/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +9 -9
  321. package/src/Appearance/dark/themes/green/greenDarkDotTheme.module.css +8 -8
  322. package/src/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +8 -8
  323. package/src/Appearance/dark/themes/red/redDarkDotTheme.module.css +8 -8
  324. package/src/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +8 -8
  325. package/src/Appearance/default/mode/dotDefaultMode.module.css +521 -536
  326. package/src/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +9 -9
  327. package/src/Appearance/default/themes/green/greenDefaultDotTheme.module.css +8 -8
  328. package/src/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +8 -8
  329. package/src/Appearance/default/themes/red/redDefaultDotTheme.module.css +8 -8
  330. package/src/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +8 -8
  331. package/src/FreezeLayer/docs/FreezeLayer__dark.docs.js +2 -2
  332. package/src/FreezeLayer/docs/FreezeLayer__default.docs.js +2 -2
  333. package/src/Loader/docs/Loader__default.docs.js +1 -1
  334. package/src/deprecated/SelectDropdown/SelectDropdown.module.css +6 -6
  335. package/src/form/fields/TagsMultiSelect/TagsMultiSelect.js +3 -2
  336. package/src/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +1 -1
  337. package/src/form/fields/TextEditor/TextEditor.js +1 -1
  338. package/src/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +1 -1
  339. package/src/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
  340. package/src/list/BluePrintStatus/BluePrintStatus.module.css +2 -2
  341. package/src/list/DotNew/DotNew.module.css +4 -4
  342. package/src/list/ListLayout/ListLayout.module.css +5 -5
  343. package/src/version2/GlobalNotification/GlobalNotification.js +12 -4
  344. package/src/version2/notification/DesktopNotification/DesktopNotification.js +10 -3
  345. package/src/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -5
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -27,9 +27,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
27
27
 
28
28
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
29
29
 
30
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
30
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
31
31
 
32
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
32
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
33
33
 
34
34
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
35
35
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -19,9 +19,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
19
19
 
20
20
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
21
21
 
22
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
22
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
23
23
 
24
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
24
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
25
25
 
26
26
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
27
27
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -29,9 +29,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
29
29
 
30
30
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
31
31
 
32
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
32
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
33
33
 
34
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
34
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
35
35
 
36
36
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
37
37
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -39,9 +39,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
39
39
 
40
40
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
41
41
 
42
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
42
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
43
43
 
44
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
44
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
45
45
 
46
46
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
47
47
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -23,9 +23,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
23
23
 
24
24
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
25
25
 
26
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
26
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
27
27
 
28
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
28
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
29
29
 
30
30
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
31
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -85,7 +85,8 @@ function DesktopNotificationUI(props) {
85
85
  _props$customClass = props.customClass,
86
86
  customClass = _props$customClass === void 0 ? {} : _props$customClass,
87
87
  _props$i18nKeys = props.i18nKeys,
88
- i18nKeys = _props$i18nKeys === void 0 ? {} : _props$i18nKeys;
88
+ i18nKeys = _props$i18nKeys === void 0 ? {} : _props$i18nKeys,
89
+ customProps = props.customProps;
89
90
  var _i18nKeys$closeTitle = i18nKeys.closeTitle,
90
91
  closeTitle = _i18nKeys$closeTitle === void 0 ? 'Close' : _i18nKeys$closeTitle;
91
92
  var containerClass = customClass.containerClass;
@@ -94,6 +95,9 @@ function DesktopNotificationUI(props) {
94
95
  _ref$buttonPalette = _ref.buttonPalette,
95
96
  buttonPalette = _ref$buttonPalette === void 0 ? 'dangerFilled' : _ref$buttonPalette;
96
97
 
98
+ var _customProps$ExtraPro = customProps.ExtraProps,
99
+ ExtraProps = _customProps$ExtraPro === void 0 ? {} : _customProps$ExtraPro;
100
+
97
101
  function onClickSubmit(e) {
98
102
  onSubmit && onSubmit();
99
103
  }
@@ -113,12 +117,12 @@ function DesktopNotificationUI(props) {
113
117
  style: needAutoZindex && isAnimate ? {
114
118
  zIndex: "".concat(Zindex)
115
119
  } : {}
116
- }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
120
+ }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, _extends({
117
121
  className: "".concat(_DesktopNotificationModule["default"].container, " ").concat(isAnimate ? animateClass : animateRemoveClass, " ").concat(_DesktopNotificationModule["default"]["".concat(size)] ? _DesktopNotificationModule["default"]["".concat(size)] : '', " ").concat(isShrinkView ? _DesktopNotificationModule["default"].globalNotify : '', " ").concat(containerClass),
118
122
  isCover: false,
119
123
  dataId: dataId,
120
124
  isInline: uiVariantTwo
121
- }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, /*#__PURE__*/_react["default"].createElement(_DesktopNotificationHeader["default"], {
125
+ }, ExtraProps), /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, /*#__PURE__*/_react["default"].createElement(_DesktopNotificationHeader["default"], {
122
126
  type: type,
123
127
  title: title,
124
128
  variant: titleVariant,
@@ -204,7 +208,10 @@ DesktopNotification.propTypes = {
204
208
  submitText: _propTypes["default"].string,
205
209
  submitType: _propTypes["default"].oneOf(['primary', 'danger', 'success']),
206
210
  titleVariant: _propTypes["default"].oneOf(['primary', 'secondary']),
207
- type: _propTypes["default"].oneOf(['success', 'error', 'danger', 'warning', 'info', 'notification', 'alarm'])
211
+ type: _propTypes["default"].oneOf(['success', 'error', 'danger', 'warning', 'info', 'notification', 'alarm']),
212
+ customProps: _propTypes["default"].shape({
213
+ ExtraProps: _propTypes["default"].object
214
+ })
208
215
  };
209
216
  DesktopNotification.defaultProps = {
210
217
  isMore: false,
@@ -217,7 +224,8 @@ DesktopNotification.defaultProps = {
217
224
  needIcon: true,
218
225
  titleVariant: 'primary',
219
226
  isShrinkView: false,
220
- needClose: true
227
+ needClose: true,
228
+ customProps: {}
221
229
  };
222
230
 
223
231
  if (false) {
@@ -18,7 +18,7 @@
18
18
  [dir=rtl] .container {
19
19
  transform-origin: left center;
20
20
  }
21
- .globalNotify {
21
+ .globalNotify {
22
22
  max-width: var(--zd_size490);
23
23
  min-width: var(--zd_size394);
24
24
  }
@@ -62,12 +62,12 @@
62
62
  /* Container Style */
63
63
  .message {
64
64
  position: relative;
65
- color: var(--zd_text_smoke18);
65
+ color: var(--zd_smoke18);
66
66
  font-size: var(--zd_font_size11);
67
67
  composes: dotted textCap from '~@zohodesk/components/lib/common/common.module.css';
68
68
  height: var(--zd_size33);
69
69
  transition: padding var(--zd_transition3), height var(--zd_transition3);
70
- border-top: 1px solid var(--zd_border_smoke1);
70
+ border-top: 1px solid var(--zd_smoke1);
71
71
  cursor: pointer;
72
72
  }
73
73
  [dir=ltr] .message {
@@ -77,7 +77,7 @@
77
77
  padding: var(--zd_size10) var(--zd_size76) var(--zd_size10) var(--zd_size20);
78
78
  }
79
79
  .message:hover {
80
- background: var(--zd_bg_alabaster);
80
+ background: var(--zd_alabaster);
81
81
  }
82
82
  /* Section */
83
83
  .section {
@@ -104,4 +104,3 @@
104
104
  overflow: hidden;
105
105
  border-radius: 0 0 var(--zd_size10) var(--zd_size10);
106
106
  }
107
-
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -23,9 +23,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
23
23
 
24
24
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
25
25
 
26
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
26
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
27
27
 
28
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
28
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
29
29
 
30
30
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
31
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -29,9 +29,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
29
29
 
30
30
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
31
31
 
32
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
32
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
33
33
 
34
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
34
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
35
35
 
36
36
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
37
37
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -25,9 +25,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
25
25
 
26
26
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
27
27
 
28
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
28
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
29
29
 
30
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
30
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
31
31
 
32
32
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
33
33
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/dot",
3
- "version": "1.0.0-beta.202",
3
+ "version": "1.0.0-beta.206",
4
4
  "main": "lib/index",
5
5
  "module": "es/index.js",
6
6
  "jsnext:main": "es/index.js",
@@ -17,7 +17,8 @@
17
17
  "build:dev": "npm run clean && npm run build:es --module:mode=dev -- -w",
18
18
  "rtl": "react-cli rtl ./src ./lib && react-cli rtl ./src ./es",
19
19
  "prepare": "npm run init && npm run build && npm run build:es && npm run rtl",
20
- "init": "npm run clean",
20
+ "init": "npm run clean && npm run build:variables",
21
+ "build:variables": "node ./preprocess/index",
21
22
  "lint": "react-cli lint",
22
23
  "lintAll": "react-cli lint ./src",
23
24
  "lintAllFix": "npm run lintAll --eslint:fix=true",
@@ -30,23 +31,26 @@
30
31
  "dependencies": {},
31
32
  "devDependencies": {
32
33
  "velocity-react": "^1.4.3",
33
- "@zohodesk/variables": "1.0.0-beta.25",
34
+ "@zohodesk/variables": "1.0.0-beta.28",
34
35
  "@zohodesk/i18n": "^1.0.0-beta.7",
35
- "@zohodesk/components": "1.0.0-alpha-219",
36
+ "@zohodesk/components": "1.0.0-alpha-224",
36
37
  "@zohodesk/icons": "1.0.0-beta.85",
37
- "@zohodesk/svg": "1.0.0-beta.37",
38
+ "@zohodesk/svg": "1.0.0-beta.38",
38
39
  "@zohodesk/virtualizer": "1.0.3",
39
40
  "react-sortable-hoc": "^0.8.3"
40
41
  },
41
42
  "peerDependencies": {
42
43
  "velocity-react": "^1.4.3",
43
- "@zohodesk/variables": "^1.0.0-beta.25",
44
+ "@zohodesk/variables": "^1.0.0-beta.28",
44
45
  "@zohodesk/i18n": "^1.0.0-beta.7",
45
- "@zohodesk/components": "1.0.0-alpha-219",
46
+ "@zohodesk/components": "1.0.0-alpha-224",
46
47
  "@zohodesk/icons": "^1.0.0-beta.85",
47
- "@zohodesk/svg": "^1.0.0-beta.37"
48
+ "@zohodesk/svg": "^1.0.0-beta.38"
48
49
  },
49
50
  "react-cli": {
51
+ "preprocessor": {
52
+ "runner": "preprocess/index.js"
53
+ },
50
54
  "app": {
51
55
  "removePropTypes": {
52
56
  "removeImport": true
@@ -0,0 +1,71 @@
1
+ var { dotAppearanceVariables } = require('./json/dotAppearanceVariableJson');
2
+ let fs = require('fs');
3
+ let path = require('path');
4
+ let baseFolder = 'Appearance';
5
+ let mode = ['default', 'dark'];
6
+ let modeFiles = [];
7
+ mode.forEach(mode => {
8
+ let modeFilesString = `../src/${baseFolder}/${mode}/mode/dot${
9
+ capitalizeFirstLetter(mode)
10
+ }Mode.module.css`;
11
+ modeFiles.push(path.join(__dirname, modeFilesString));
12
+ });
13
+ let files = modeFiles;
14
+
15
+ function capitalizeFirstLetter(string) {
16
+ return string.charAt(0).toUpperCase() + string.slice(1);
17
+ }
18
+
19
+ function generate(mode) {
20
+ let exportVariables = [];
21
+ let counter = 0;
22
+ let newLine = '';
23
+ dotAppearanceVariables.map(dotVariable => {
24
+ let commentName = dotVariable[3];
25
+ counting = counter++;
26
+ if (counting != 0) {
27
+ newLine = `\n\t`;
28
+ }
29
+ if (mode == 'default') {
30
+ let dotDefaultColors = dotVariable[1][1];
31
+
32
+ colorsResult = [
33
+ `\n\t--zdt_${dotVariable[0]}: ${dotDefaultColors};`
34
+ ];
35
+ exportVariables.push(
36
+ commentName ? `${newLine}\n\t/* ${commentName} */` : '',
37
+ colorsResult
38
+ );
39
+ } else if (mode == 'dark') {
40
+ let dotDarkColors = dotVariable[2][1];
41
+
42
+ colorsResult = [
43
+ `\n\t--zdt_${dotVariable[0]}: ${dotDarkColors};`
44
+ ];
45
+ exportVariables.push(
46
+ commentName ? `${newLine}\n\t/* ${commentName} */` : '',
47
+ colorsResult
48
+ );
49
+ }
50
+ });
51
+ return exportVariables.join('');
52
+ }
53
+
54
+ let arrayIndexCounter = 0;
55
+ mode.forEach(mode => {
56
+ let fileString = files[arrayIndexCounter];
57
+ // let splitPath = fileString.split(/\\/g);
58
+ let getMode = mode;
59
+ if (mode == 'default') {
60
+ blueSelector = ', :global(.blueDefaultTheme) [data-desk-theme="blue"]';
61
+ } else if (mode == 'dark') {
62
+ blueSelector = ', :global(.blueDarkTheme) [data-desk-theme="blue"]';
63
+ }
64
+ fs.writeFileSync(
65
+ fileString,
66
+ `[data-mode='${getMode}']${blueSelector} {${generate(
67
+ getMode
68
+ )}\n}`
69
+ );
70
+ arrayIndexCounter++;
71
+ });
@@ -0,0 +1,98 @@
1
+ var { dotThemeVariables } = require('./json/dotThemeVariableJson');
2
+ let fs = require('fs');
3
+ let path = require('path');
4
+ let baseFolder = 'Appearance';
5
+ let mode = ['default', 'dark'];
6
+ let themes = ['blue', 'green', 'orange', 'red', 'yellow'];
7
+ let themeFiles = [];
8
+ mode.forEach(mode => {
9
+ themes.forEach(theme => {
10
+ let themeFilesString = `../src/${baseFolder}/${mode}/themes/${theme}/${
11
+ theme + capitalizeFirstLetter(mode)
12
+ }DotTheme.module.css`;
13
+ themeFiles.push(path.join(__dirname, themeFilesString));
14
+ });
15
+ });
16
+ let files = themeFiles;
17
+
18
+ function capitalizeFirstLetter(string) {
19
+ return string.charAt(0).toUpperCase() + string.slice(1);
20
+ }
21
+
22
+ function generate(mode, theme) {
23
+ let exportVariables = [];
24
+ let counter = 0;
25
+ let newLine = '';
26
+ dotThemeVariables.map(dotVariable => {
27
+ let commentName = dotVariable[3];
28
+ counting = counter++;
29
+ if (counting != 0) {
30
+ newLine = `\n\t`;
31
+ }
32
+ if (mode == 'default') {
33
+ let dotDefaultColors = dotVariable[1][1];
34
+ let colorsResult = '';
35
+ if (theme == 'blue') {
36
+ colorsResult = [`\n\t--zdt_${dotVariable[0]}: ${dotDefaultColors[0]};`];
37
+ } else if (theme == 'green') {
38
+ colorsResult = [`\n\t--zdt_${dotVariable[0]}: ${dotDefaultColors[1]};`];
39
+ } else if (theme == 'orange') {
40
+ colorsResult = [`\n\t--zdt_${dotVariable[0]}: ${dotDefaultColors[2]};`];
41
+ } else if (theme == 'red') {
42
+ colorsResult = [`\n\t--zdt_${dotVariable[0]}: ${dotDefaultColors[3]};`];
43
+ } else if (theme == 'yellow') {
44
+ colorsResult = [`\n\t--zdt_${dotVariable[0]}: ${dotDefaultColors[4]};`];
45
+ }
46
+ exportVariables.push(
47
+ commentName ? `${newLine}\n\t/* ${commentName} */` : '',
48
+ colorsResult
49
+ );
50
+ } else if (mode == 'dark') {
51
+ let dotDarkColors = dotVariable[2][1];
52
+ let colorsResult = '';
53
+ if (theme == 'blue') {
54
+ colorsResult = [`\n\t--zdt_${dotVariable[0]}: ${dotDarkColors[0]};`];
55
+ } else if (theme == 'green') {
56
+ colorsResult = [`\n\t--zdt_${dotVariable[0]}: ${dotDarkColors[1]};`];
57
+ } else if (theme == 'orange') {
58
+ colorsResult = [`\n\t--zdt_${dotVariable[0]}: ${dotDarkColors[2]};`];
59
+ } else if (theme == 'red') {
60
+ colorsResult = [`\n\t--zdt_${dotVariable[0]}: ${dotDarkColors[3]};`];
61
+ } else if (theme == 'yellow') {
62
+ colorsResult = [`\n\t--zdt_${dotVariable[0]}: ${dotDarkColors[4]};`];
63
+ }
64
+ exportVariables.push(
65
+ commentName ? `${newLine}\n\t/* ${commentName} */` : '',
66
+ colorsResult
67
+ );
68
+ }
69
+ });
70
+ return exportVariables.join('');
71
+ }
72
+
73
+ let arrayIndexCounter = 0;
74
+ mode.forEach(mode => {
75
+ themes.forEach(theme => {
76
+ let fileString = files[arrayIndexCounter];
77
+ // let splitPath = fileString.split(/\\/g);
78
+ let getMode = mode;
79
+ let getTheme = theme;
80
+ if (theme == 'blue') {
81
+ if (mode == 'default') {
82
+ blueSelector = ', :global(.blueDefaultTheme) [data-desk-theme="blue"]';
83
+ } else if (mode == 'dark') {
84
+ blueSelector = ', :global(.blueDarkTheme) [data-desk-theme="blue"]';
85
+ }
86
+ } else {
87
+ blueSelector = '';
88
+ }
89
+ fs.writeFileSync(
90
+ fileString,
91
+ `[data-mode='${getMode}'][data-theme='${getTheme}']${blueSelector} {${generate(
92
+ getMode,
93
+ getTheme
94
+ )}\n}`
95
+ );
96
+ arrayIndexCounter++;
97
+ });
98
+ });
@@ -0,0 +1,2 @@
1
+ require('./dotThemeColors');
2
+ require('./dotAppearanceColors');