@zohodesk/dot 1.0.0-temp-112 → 1.0.0-temp-114

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 (432) hide show
  1. package/README.md +1173 -1176
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +1 -1
  3. package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +1 -1
  4. package/css_error.log +0 -0
  5. package/dubFinder.js +96 -96
  6. package/es/ActionButton/ActionButton.module.css +136 -136
  7. package/es/AlphabeticList/AlphabeticList.module.css +57 -57
  8. package/es/Attachment/Attachment.module.css +157 -157
  9. package/es/AttachmentViewer/AttachmentViewer.module.css +354 -354
  10. package/es/ChannelIcon/ChannelIcon.module.css +217 -217
  11. package/es/Drawer/Drawer.js +0 -0
  12. package/es/Drawer/Drawer.module.css +150 -150
  13. package/es/ExternalLink/ExternalLink.js +0 -0
  14. package/es/ExternalLink/ExternalLink.module.css +3 -3
  15. package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  16. package/es/FlipCard/FlipCard.module.css +44 -44
  17. package/es/FormAction/FormAction.module.css +82 -82
  18. package/es/FreezeLayer/FreezeLayer.module.css +42 -42
  19. package/es/IconButton/IconButton.module.css +22 -22
  20. package/es/Image/Image.module.css +10 -10
  21. package/es/ImportantNotes/ImportantNotes.module.css +20 -20
  22. package/es/Link/Link.js +0 -0
  23. package/es/Link/Link.module.css +3 -3
  24. package/es/Loader/Loader.module.css +46 -46
  25. package/es/Message/Message.module.css +102 -102
  26. package/es/MessageBanner/MessageBanner.module.css +46 -46
  27. package/es/NewStar/NewStar.module.css +110 -110
  28. package/es/PlusIcon/PlusIcon.js +0 -0
  29. package/es/PlusIcon/PlusIcon.module.css +16 -16
  30. package/es/ToastMessage/ToastMessage.js +0 -0
  31. package/es/ToastMessage/ToastMessage.module.css +328 -328
  32. package/es/Upload/Upload.module.css +125 -125
  33. package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
  34. package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
  35. package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
  36. package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  37. package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  38. package/es/avatar/AvatarStatus/AvatarStatus.js +0 -0
  39. package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  40. package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
  41. package/es/avatar/AvatarUser/AvatarUser.js +0 -0
  42. package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
  43. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  44. package/es/common/dot_animation.module.css +26 -26
  45. package/es/common/dot_common.module.css +3 -3
  46. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  47. package/es/deprecated/utils/KeyboardApi.js +25 -25
  48. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +8 -4
  49. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +101 -101
  50. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  51. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  52. package/es/emptystate/EditionPage/EditionPage.css +43 -43
  53. package/es/errorstate/EmptyStates.module.css +87 -87
  54. package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  55. package/es/errorstate/LinkText/LinkText.module.css +6 -6
  56. package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  57. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  58. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  59. package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  60. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  61. package/es/errorstate/WillBack/WillBack.module.css +34 -34
  62. package/es/form/fields/CheckBoxField/CheckBoxField.js +2 -3
  63. package/es/form/fields/CurrencyField/CurrencyField.js +8 -43
  64. package/es/form/fields/CurrencyField/props/defaultProps.js +0 -1
  65. package/es/form/fields/DateField/DateField.js +8 -93
  66. package/es/form/fields/DateField/props/defaultProps.js +0 -1
  67. package/es/form/fields/Fields.module.css +183 -248
  68. package/es/form/fields/MultiSelectField/MultiSelectField.js +9 -91
  69. package/es/form/fields/MultiSelectField/props/defaultProps.js +0 -1
  70. package/es/form/fields/PhoneField/PhoneField.js +1 -3
  71. package/es/form/fields/PhoneField/props/defaultProps.js +1 -2
  72. package/es/form/fields/RadioField/RadioField.js +1 -1
  73. package/es/form/fields/SelectField/SelectField.js +12 -99
  74. package/es/form/fields/SelectField/props/defaultProps.js +0 -1
  75. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  76. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  77. package/es/form/fields/TextBoxField/TextBoxField.js +8 -59
  78. package/es/form/fields/TextBoxField/props/defaultProps.js +0 -1
  79. package/es/form/fields/TextEditor/TextEditor.module.css +666 -666
  80. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
  81. package/es/form/fields/TextareaField/TextareaField.js +12 -58
  82. package/es/form/fields/TextareaField/props/defaultProps.js +0 -1
  83. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  84. package/es/form/layout/Field/Field.js +0 -0
  85. package/es/form/layout/Field/Field.module.css +22 -22
  86. package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
  87. package/es/form/layout/Section/Section.js +0 -0
  88. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  89. package/es/layout/SubtabLayout/SubtabLayout.module.css +146 -146
  90. package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
  91. package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  92. package/es/list/Comment/Comment.module.css +29 -29
  93. package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  94. package/es/list/Dot/Dot.module.css +15 -15
  95. package/es/list/DotNew/DotNew.module.css +22 -22
  96. package/es/list/GridStencils/GridStencils.module.css +146 -146
  97. package/es/list/Icons/Icons.module.css +16 -16
  98. package/es/list/ListLayout/ListLayout.js +1 -0
  99. package/es/list/ListLayout/ListLayout.module.css +57 -57
  100. package/es/list/ListStencils/ListStencils.module.css +67 -67
  101. package/es/list/SecondaryText/SecondaryText.module.css +136 -136
  102. package/es/list/SecondaryText/Website.js +0 -0
  103. package/es/list/SecondryPanel/SecondryPanel.js +0 -0
  104. package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
  105. package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
  106. package/es/list/Subject/Subject.module.css +27 -27
  107. package/es/list/TagNew/TagNew.module.css +115 -115
  108. package/es/list/Thread/Thread.module.css +42 -42
  109. package/es/list/UserTime/UserTime.module.css +58 -58
  110. package/es/list/listCommon.module.css +60 -60
  111. package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  112. package/es/list/status/StatusListItem/StatusListItem.js +0 -0
  113. package/es/list/status/StatusListItem/StatusListItem.module.css +104 -104
  114. package/es/lookup/EmptyPage/EmptyPage.js +0 -0
  115. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  116. package/es/lookup/Lookup/Lookup.js +0 -0
  117. package/es/lookup/Lookup/Lookup.module.css +26 -26
  118. package/es/lookup/Section/LookupSection.module.css +8 -8
  119. package/es/lookup/header/Close/LookupClose.module.css +15 -15
  120. package/es/lookup/header/Search/LookupSearch.module.css +57 -57
  121. package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  122. package/es/lookup/header/Title/LookupTitle.module.css +20 -20
  123. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  124. package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
  125. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  126. package/es/setup/header/Button/HeaderButton.module.css +5 -5
  127. package/es/setup/header/Link/HeaderLink.module.css +21 -21
  128. package/es/setup/header/Search/Search.module.css +68 -68
  129. package/es/setup/header/Views/Views.module.css +37 -37
  130. package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  131. package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  132. package/es/setup/helptips/Link/Link.js +0 -0
  133. package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  134. package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  135. package/es/setup/helptips/Title/Title.js +0 -0
  136. package/es/setup/table/TableData/SetupTableData.module.css +44 -44
  137. package/es/setup/table/TableData/Tablehover.module.css +6 -6
  138. package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
  139. package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
  140. package/es/setup/table/Text/TableText.module.css +37 -37
  141. package/es/setup/table/Text/Text.js +0 -0
  142. package/es/svg/PlusIcon.js +1 -1
  143. package/es/svg/SnippetIcon.js +2 -2
  144. package/es/version2/AlertClose/AlertClose.module.css +42 -42
  145. package/es/version2/GlobalNotification/GlobalNotification.module.css +124 -124
  146. package/es/version2/alertIcons/AlertIcons.module.css +67 -67
  147. package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
  148. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
  149. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  150. package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
  151. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -106
  152. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  153. package/lib/ActionButton/ActionButton.js +1 -3
  154. package/lib/ActionButton/ActionButton.module.css +136 -136
  155. package/lib/AlphabeticList/AlphabeticList.js +1 -3
  156. package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
  157. package/lib/Attachment/Attachment.js +1 -3
  158. package/lib/Attachment/Attachment.module.css +157 -157
  159. package/lib/AttachmentViewer/AttachmentImage.js +1 -3
  160. package/lib/AttachmentViewer/AttachmentViewer.js +1 -3
  161. package/lib/AttachmentViewer/AttachmentViewer.module.css +354 -354
  162. package/lib/AttachmentViewer/utils.js +1 -4
  163. package/lib/ChannelIcon/ChannelIcon.js +1 -3
  164. package/lib/ChannelIcon/ChannelIcon.module.css +217 -217
  165. package/lib/Drawer/Drawer.js +1 -3
  166. package/lib/Drawer/Drawer.module.css +150 -150
  167. package/lib/ExternalLink/ExternalLink.js +1 -3
  168. package/lib/ExternalLink/ExternalLink.module.css +3 -3
  169. package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  170. package/lib/FlipCard/FlipCard.js +1 -3
  171. package/lib/FlipCard/FlipCard.module.css +44 -44
  172. package/lib/FormAction/FormAction.js +1 -3
  173. package/lib/FormAction/FormAction.module.css +82 -82
  174. package/lib/FreezeLayer/FreezeLayer.js +1 -3
  175. package/lib/FreezeLayer/FreezeLayer.module.css +42 -42
  176. package/lib/IconButton/IconButton.js +1 -3
  177. package/lib/IconButton/IconButton.module.css +22 -22
  178. package/lib/IconButton/props/propTypes.js +1 -4
  179. package/lib/Image/Image.js +1 -3
  180. package/lib/Image/Image.module.css +10 -10
  181. package/lib/ImportantNotes/ImportantNotes.js +1 -3
  182. package/lib/ImportantNotes/ImportantNotes.module.css +20 -20
  183. package/lib/Link/Link.js +1 -3
  184. package/lib/Link/Link.module.css +3 -3
  185. package/lib/Loader/Loader.js +1 -3
  186. package/lib/Loader/Loader.module.css +46 -46
  187. package/lib/Message/Message.js +1 -3
  188. package/lib/Message/Message.module.css +102 -102
  189. package/lib/MessageBanner/MessageBanner.js +1 -3
  190. package/lib/MessageBanner/MessageBanner.module.css +46 -46
  191. package/lib/NewStar/NewStar.js +1 -3
  192. package/lib/NewStar/NewStar.module.css +110 -110
  193. package/lib/PlusIcon/PlusIcon.js +1 -3
  194. package/lib/PlusIcon/PlusIcon.module.css +16 -16
  195. package/lib/ToastMessage/ToastMessage.js +1 -1
  196. package/lib/ToastMessage/ToastMessage.module.css +328 -328
  197. package/lib/Upload/Upload.js +1 -3
  198. package/lib/Upload/Upload.module.css +125 -125
  199. package/lib/actions/AutoClose.js +1 -1
  200. package/lib/alert/AlertHeader/AlertHeader.js +1 -3
  201. package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
  202. package/lib/alert/AlertLookup/AlertLookup.js +1 -3
  203. package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
  204. package/lib/avatar/AvatarClose/AvatarClose.js +1 -3
  205. package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
  206. package/lib/avatar/AvatarCollision/AvatarCollision.js +1 -3
  207. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  208. package/lib/avatar/AvatarIcon/AvatarIcon.js +1 -3
  209. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  210. package/lib/avatar/AvatarStatus/AvatarStatus.js +1 -3
  211. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  212. package/lib/avatar/AvatarThread/AvatarThread.js +1 -3
  213. package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
  214. package/lib/avatar/AvatarUser/AvatarUser.js +2 -5
  215. package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
  216. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +1 -3
  217. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  218. package/lib/common/dot_animation.module.css +26 -26
  219. package/lib/common/dot_common.module.css +3 -3
  220. package/lib/deprecated/SelectDropdown/SelectDropdown.js +1 -3
  221. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  222. package/lib/deprecated/utils/KeyboardApi.js +26 -29
  223. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +10 -8
  224. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +101 -101
  225. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +1 -3
  226. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  227. package/lib/emptystate/EditionPage/EditionPage.css +43 -43
  228. package/lib/emptystate/EditionPage/EditionPage.js +1 -3
  229. package/lib/errorstate/EmptyStates.module.css +87 -87
  230. package/lib/errorstate/Inconvenience/Inconvenience.js +1 -3
  231. package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  232. package/lib/errorstate/LinkText/LinkText.js +1 -3
  233. package/lib/errorstate/LinkText/LinkText.module.css +6 -6
  234. package/lib/errorstate/NoRequestFound/NoRequestFound.js +1 -3
  235. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  236. package/lib/errorstate/PermissionPlay/PermissionPlay.js +1 -3
  237. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  238. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +1 -3
  239. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  240. package/lib/errorstate/UnableToProcess/UnableToProcess.js +1 -3
  241. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  242. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -3
  243. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  244. package/lib/errorstate/WillBack/WillBack.js +1 -3
  245. package/lib/errorstate/WillBack/WillBack.module.css +34 -34
  246. package/lib/form/fields/CheckBoxField/CheckBoxField.js +3 -6
  247. package/lib/form/fields/CheckBoxField/props/defaultProps.js +1 -4
  248. package/lib/form/fields/CheckBoxField/props/propTypes.js +1 -4
  249. package/lib/form/fields/CurrencyField/CurrencyField.js +42 -79
  250. package/lib/form/fields/CurrencyField/props/defaultProps.js +1 -5
  251. package/lib/form/fields/CurrencyField/props/propTypes.js +1 -4
  252. package/lib/form/fields/DateField/DateField.js +41 -131
  253. package/lib/form/fields/DateField/props/defaultProps.js +1 -4
  254. package/lib/form/fields/DateField/props/propTypes.js +1 -4
  255. package/lib/form/fields/FieldContainer/FieldContainer.js +1 -3
  256. package/lib/form/fields/FieldContainer/props/defaultProps.js +1 -4
  257. package/lib/form/fields/FieldContainer/props/propTypes.js +1 -4
  258. package/lib/form/fields/Fields.module.css +183 -248
  259. package/lib/form/fields/MultiSelectField/MultiSelectField.js +53 -138
  260. package/lib/form/fields/MultiSelectField/props/defaultProps.js +1 -4
  261. package/lib/form/fields/MultiSelectField/props/propTypes.js +1 -4
  262. package/lib/form/fields/PhoneField/PhoneField.js +2 -6
  263. package/lib/form/fields/PhoneField/props/defaultProps.js +1 -2
  264. package/lib/form/fields/RadioField/RadioField.js +2 -4
  265. package/lib/form/fields/SelectField/SelectField.js +61 -153
  266. package/lib/form/fields/SelectField/props/defaultProps.js +2 -6
  267. package/lib/form/fields/SelectField/props/propTypes.js +1 -4
  268. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +1 -3
  269. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  270. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +1 -1
  271. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  272. package/lib/form/fields/TagsMultiSelectField/props/defaultProps.js +1 -4
  273. package/lib/form/fields/TagsMultiSelectField/props/propTypes.js +1 -4
  274. package/lib/form/fields/TextBoxField/TextBoxField.js +44 -97
  275. package/lib/form/fields/TextBoxField/props/defaultProps.js +2 -6
  276. package/lib/form/fields/TextBoxField/props/propTypes.js +1 -4
  277. package/lib/form/fields/TextEditor/TextEditor.js +2 -4
  278. package/lib/form/fields/TextEditor/TextEditor.module.css +666 -666
  279. package/lib/form/fields/TextEditorField/TextEditorField.js +1 -3
  280. package/lib/form/fields/TextEditorField/props/defaultProps.js +1 -4
  281. package/lib/form/fields/TextEditorField/props/propTypes.js +1 -4
  282. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -5
  283. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
  284. package/lib/form/fields/TextareaField/TextareaField.js +45 -92
  285. package/lib/form/fields/TextareaField/props/defaultProps.js +1 -4
  286. package/lib/form/fields/TextareaField/props/propTypes.js +1 -4
  287. package/lib/form/fields/ValidationMessage/ValidationMessage.js +1 -3
  288. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  289. package/lib/form/layout/Field/Field.js +1 -3
  290. package/lib/form/layout/Field/Field.module.css +22 -22
  291. package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
  292. package/lib/form/layout/Section/Section.js +1 -3
  293. package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +1 -3
  294. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  295. package/lib/layout/SubtabLayout/SubtabLayout.js +1 -3
  296. package/lib/layout/SubtabLayout/SubtabLayout.module.css +146 -146
  297. package/lib/list/AvatarFlip/AvatarFlip.js +1 -3
  298. package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
  299. package/lib/list/BluePrintStatus/BluePrintStatus.js +1 -3
  300. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  301. package/lib/list/Comment/Comment.js +1 -3
  302. package/lib/list/Comment/Comment.module.css +29 -29
  303. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +1 -3
  304. package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  305. package/lib/list/DepartmentDropDown/props/propTypes.js +1 -4
  306. package/lib/list/Dot/Dot.js +1 -3
  307. package/lib/list/Dot/Dot.module.css +15 -15
  308. package/lib/list/DotNew/DotNew.js +1 -3
  309. package/lib/list/DotNew/DotNew.module.css +22 -22
  310. package/lib/list/GridStencils/GridStencils.js +1 -3
  311. package/lib/list/GridStencils/GridStencils.module.css +146 -146
  312. package/lib/list/Icons/AddNewIcon.js +1 -3
  313. package/lib/list/Icons/CompleteIcon.js +1 -3
  314. package/lib/list/Icons/DeleteIcon.js +1 -3
  315. package/lib/list/Icons/EditIcon.js +1 -3
  316. package/lib/list/Icons/FloatingIcons.js +1 -3
  317. package/lib/list/Icons/Icons.module.css +16 -16
  318. package/lib/list/Icons/ReadUnreadIcon.js +1 -3
  319. package/lib/list/Icons/SmartIcon.js +1 -3
  320. package/lib/list/ListLayout/ListLayout.js +2 -3
  321. package/lib/list/ListLayout/ListLayout.module.css +57 -57
  322. package/lib/list/ListLayout/props/propTypes.js +1 -4
  323. package/lib/list/ListStencils/ListStencils.js +1 -3
  324. package/lib/list/ListStencils/ListStencils.module.css +67 -67
  325. package/lib/list/SecondaryText/AccountName.js +1 -3
  326. package/lib/list/SecondaryText/ContactName.js +1 -3
  327. package/lib/list/SecondaryText/DepartmentText.js +1 -3
  328. package/lib/list/SecondaryText/Email.js +1 -3
  329. package/lib/list/SecondaryText/HappinessRating.js +1 -3
  330. package/lib/list/SecondaryText/PhoneNumber.js +1 -3
  331. package/lib/list/SecondaryText/PriorityText.js +1 -3
  332. package/lib/list/SecondaryText/SecondaryText.js +1 -3
  333. package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
  334. package/lib/list/SecondaryText/StatusText.js +1 -3
  335. package/lib/list/SecondaryText/TicketId.js +1 -3
  336. package/lib/list/SecondaryText/Website.js +1 -3
  337. package/lib/list/SecondryPanel/SecondryPanel.js +1 -3
  338. package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
  339. package/lib/list/SentimentStatus/SentimentStatus.js +1 -3
  340. package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
  341. package/lib/list/Subject/Subject.js +1 -3
  342. package/lib/list/Subject/Subject.module.css +27 -27
  343. package/lib/list/TagNew/TagNew.js +1 -3
  344. package/lib/list/TagNew/TagNew.module.css +115 -115
  345. package/lib/list/Thread/Thread.js +1 -3
  346. package/lib/list/Thread/Thread.module.css +42 -42
  347. package/lib/list/UserTime/UserTime.js +1 -3
  348. package/lib/list/UserTime/UserTime.module.css +58 -58
  349. package/lib/list/listCommon.module.css +60 -60
  350. package/lib/list/status/StatusDropdown/StatusDropdown.js +1 -3
  351. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  352. package/lib/list/status/StatusDropdown/props/propTypes.js +1 -4
  353. package/lib/list/status/StatusListItem/StatusListItem.js +1 -3
  354. package/lib/list/status/StatusListItem/StatusListItem.module.css +104 -104
  355. package/lib/lookup/EmptyPage/EmptyPage.js +1 -3
  356. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  357. package/lib/lookup/Lookup/Lookup.js +2 -5
  358. package/lib/lookup/Lookup/Lookup.module.css +26 -26
  359. package/lib/lookup/Section/LookupSection.module.css +8 -8
  360. package/lib/lookup/Section/Section.js +1 -3
  361. package/lib/lookup/header/Close/Close.js +1 -3
  362. package/lib/lookup/header/Close/LookupClose.module.css +15 -15
  363. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +2 -5
  364. package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
  365. package/lib/lookup/header/Search/Search.js +1 -3
  366. package/lib/lookup/header/TicketHeader/TicketHeader.js +2 -5
  367. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  368. package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
  369. package/lib/lookup/header/Title/Title.js +1 -3
  370. package/lib/lookup/header/ViewDropDown/ViewDropDown.js +1 -3
  371. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  372. package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
  373. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  374. package/lib/setup/header/Button/Button.js +1 -3
  375. package/lib/setup/header/Button/HeaderButton.module.css +5 -5
  376. package/lib/setup/header/Link/HeaderLink.module.css +21 -21
  377. package/lib/setup/header/Link/Link.js +1 -3
  378. package/lib/setup/header/Search/Search.js +1 -3
  379. package/lib/setup/header/Search/Search.module.css +68 -68
  380. package/lib/setup/header/Views/Views.js +1 -3
  381. package/lib/setup/header/Views/Views.module.css +37 -37
  382. package/lib/setup/helptips/Description/Description.js +1 -3
  383. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  384. package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  385. package/lib/setup/helptips/Link/Link.js +1 -3
  386. package/lib/setup/helptips/ListGroup/ListGroup.js +1 -3
  387. package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  388. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  389. package/lib/setup/helptips/Title/Title.js +1 -3
  390. package/lib/setup/table/Table/Table.js +1 -3
  391. package/lib/setup/table/TableBody/TableBody.js +1 -3
  392. package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
  393. package/lib/setup/table/TableData/TableData.js +1 -3
  394. package/lib/setup/table/TableData/Tablehover.module.css +6 -6
  395. package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
  396. package/lib/setup/table/TableHead/TableHead.js +1 -3
  397. package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
  398. package/lib/setup/table/TableRow/TableRow.js +1 -3
  399. package/lib/setup/table/Text/TableText.module.css +37 -37
  400. package/lib/setup/table/Text/Text.js +1 -3
  401. package/lib/svg/PlusIcon.js +2 -4
  402. package/lib/svg/SnippetIcon.js +3 -5
  403. package/lib/svg/TemplateIcon.js +1 -3
  404. package/lib/version2/AlertClose/AlertClose.js +1 -3
  405. package/lib/version2/AlertClose/AlertClose.module.css +42 -42
  406. package/lib/version2/GlobalNotification/GlobalNotification.js +1 -3
  407. package/lib/version2/GlobalNotification/GlobalNotification.module.css +124 -124
  408. package/lib/version2/alertIcons/AlarmAlertIcon.js +1 -3
  409. package/lib/version2/alertIcons/AlertIcons.js +1 -3
  410. package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
  411. package/lib/version2/alertIcons/DangerAlertIcon.js +1 -3
  412. package/lib/version2/alertIcons/ErrorAlertIcon.js +1 -3
  413. package/lib/version2/alertIcons/InfoAlertIcon.js +1 -3
  414. package/lib/version2/alertIcons/NotificationAlertIcon.js +1 -3
  415. package/lib/version2/alertIcons/SuccessAlertIcon.js +1 -3
  416. package/lib/version2/alertIcons/WarningAlertIcon.js +1 -3
  417. package/lib/version2/errorstate/Inconvenience/Inconvenience.js +1 -3
  418. package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +1 -3
  419. package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +1 -3
  420. package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -3
  421. package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +1 -3
  422. package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
  423. package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +1 -3
  424. package/lib/version2/lookup/AlertHeader/AlertHeader.js +1 -3
  425. package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
  426. package/lib/version2/lookup/AlertLookup/AlertLookup.js +1 -3
  427. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  428. package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
  429. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -106
  430. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -3
  431. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  432. package/package.json +93 -93
@@ -13,17 +13,14 @@ var _TextBoxIcon = _interopRequireDefault(require("@zohodesk/components/lib/Text
13
13
  var _ValidationMessage = _interopRequireDefault(require("../ValidationMessage/ValidationMessage"));
14
14
  var _IdProvider = require("@zohodesk/components/lib/Provider/IdProvider");
15
15
  var _FieldContainer = _interopRequireDefault(require("../FieldContainer/FieldContainer"));
16
- var _RippleEffect = _interopRequireDefault(require("@zohodesk/components/lib/RippleEffect/RippleEffect"));
17
16
  var _FieldsModule = _interopRequireDefault(require("../Fields.module.css"));
18
17
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
18
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
20
19
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
21
20
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
22
21
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
23
- 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, _toPropertyKey(descriptor.key), descriptor); } }
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); } }
24
23
  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
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
26
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
27
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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
28
25
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
26
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
@@ -42,13 +39,6 @@ var TextBoxField = /*#__PURE__*/function (_PureComponent) {
42
39
  _this.handleGetRef = _this.handleGetRef.bind(_assertThisInitialized(_this));
43
40
  // this.handleLabelClick = this.handleLabelClick.bind(this);
44
41
  _this.getNextId = (0, _IdProvider.getUniqueId)(_assertThisInitialized(_this));
45
- _this.handleParentClick = _this.handleParentClick.bind(_assertThisInitialized(_this));
46
- _this.handleFocusToggle = _this.handleFocusToggle.bind(_assertThisInitialized(_this));
47
- _this.handleFocus = _this.handleFocus.bind(_assertThisInitialized(_this));
48
- _this.handleBlur = _this.handleBlur.bind(_assertThisInitialized(_this));
49
- _this.state = {
50
- isFocused: false
51
- };
52
42
  return _this;
53
43
  }
54
44
  _createClass(TextBoxField, [{
@@ -75,82 +65,45 @@ var TextBoxField = /*#__PURE__*/function (_PureComponent) {
75
65
  // // this.textBox.focus();
76
66
  // // }
77
67
  // }
78
- }, {
79
- key: "handleParentClick",
80
- value: function handleParentClick() {
81
- var needFieldStyle = this.props.needFieldStyle;
82
- if (needFieldStyle) {
83
- this.textBox.focus();
84
- }
85
- }
86
- }, {
87
- key: "handleFocusToggle",
88
- value: function handleFocusToggle(value) {
89
- var needFieldStyle = this.props.needFieldStyle;
90
- if (needFieldStyle) {
91
- this.setState({
92
- isFocused: value
93
- });
94
- }
95
- }
96
- }, {
97
- key: "handleFocus",
98
- value: function handleFocus(e) {
99
- var _this$props3 = this.props,
100
- onFocus = _this$props3.onFocus,
101
- needFieldStyle = _this$props3.needFieldStyle;
102
- needFieldStyle && this.handleFocusToggle(true);
103
- onFocus && onFocus(e);
104
- }
105
- }, {
106
- key: "handleBlur",
107
- value: function handleBlur(e) {
108
- var _this$props4 = this.props,
109
- onBlur = _this$props4.onBlur,
110
- needFieldStyle = _this$props4.needFieldStyle;
111
- needFieldStyle && this.handleFocusToggle(false);
112
- onBlur && onBlur(e);
113
- }
114
68
  }, {
115
69
  key: "render",
116
70
  value: function render() {
117
- var _this$props5 = this.props,
118
- labelName = _this$props5.labelName,
119
- id = _this$props5.id,
120
- textBoxSize = _this$props5.textBoxSize,
121
- textBoxVariant = _this$props5.textBoxVariant,
122
- textBoxType = _this$props5.textBoxType,
123
- isMandatory = _this$props5.isMandatory,
124
- validationMessage = _this$props5.validationMessage,
125
- validationPalette = _this$props5.validationPalette,
126
- maxLength = _this$props5.maxLength,
127
- isReadOnly = _this$props5.isReadOnly,
128
- value = _this$props5.value,
129
- errorType = _this$props5.errorType,
130
- isDisabled = _this$props5.isDisabled,
131
- title = _this$props5.title,
132
- onBlur = _this$props5.onBlur,
133
- dataId = _this$props5.dataId,
134
- validationRuleMessage = _this$props5.validationRuleMessage,
135
- validationRulePalette = _this$props5.validationRulePalette,
136
- onKeyDown = _this$props5.onKeyDown,
137
- placeHolder = _this$props5.placeHolder,
138
- infoText = _this$props5.infoText,
139
- borderColor = _this$props5.borderColor,
140
- fieldSize = _this$props5.fieldSize,
141
- labelPalette = _this$props5.labelPalette,
142
- labelCustomClass = _this$props5.labelCustomClass,
143
- htmlId = _this$props5.htmlId,
144
- lockedInfoText = _this$props5.lockedInfoText,
145
- isLocked = _this$props5.isLocked,
146
- needReadOnlyStyle = _this$props5.needReadOnlyStyle,
147
- isClickable = _this$props5.isClickable,
148
- onFocus = _this$props5.onFocus,
149
- ePhiData = _this$props5.ePhiData,
150
- children = _this$props5.children,
151
- customProps = _this$props5.customProps,
152
- renderLabelProps = _this$props5.renderLabelProps,
153
- needFieldStyle = _this$props5.needFieldStyle;
71
+ var _this$props3 = this.props,
72
+ labelName = _this$props3.labelName,
73
+ id = _this$props3.id,
74
+ textBoxSize = _this$props3.textBoxSize,
75
+ textBoxVariant = _this$props3.textBoxVariant,
76
+ textBoxType = _this$props3.textBoxType,
77
+ isMandatory = _this$props3.isMandatory,
78
+ validationMessage = _this$props3.validationMessage,
79
+ validationPalette = _this$props3.validationPalette,
80
+ maxLength = _this$props3.maxLength,
81
+ isReadOnly = _this$props3.isReadOnly,
82
+ value = _this$props3.value,
83
+ errorType = _this$props3.errorType,
84
+ isDisabled = _this$props3.isDisabled,
85
+ title = _this$props3.title,
86
+ onBlur = _this$props3.onBlur,
87
+ dataId = _this$props3.dataId,
88
+ validationRuleMessage = _this$props3.validationRuleMessage,
89
+ validationRulePalette = _this$props3.validationRulePalette,
90
+ onKeyDown = _this$props3.onKeyDown,
91
+ placeHolder = _this$props3.placeHolder,
92
+ infoText = _this$props3.infoText,
93
+ borderColor = _this$props3.borderColor,
94
+ fieldSize = _this$props3.fieldSize,
95
+ labelPalette = _this$props3.labelPalette,
96
+ labelCustomClass = _this$props3.labelCustomClass,
97
+ htmlId = _this$props3.htmlId,
98
+ lockedInfoText = _this$props3.lockedInfoText,
99
+ isLocked = _this$props3.isLocked,
100
+ needReadOnlyStyle = _this$props3.needReadOnlyStyle,
101
+ isClickable = _this$props3.isClickable,
102
+ onFocus = _this$props3.onFocus,
103
+ ePhiData = _this$props3.ePhiData,
104
+ children = _this$props3.children,
105
+ customProps = _this$props3.customProps,
106
+ renderLabelProps = _this$props3.renderLabelProps;
154
107
  var _customProps$LabelPro = customProps.LabelProps,
155
108
  LabelProps = _customProps$LabelPro === void 0 ? {} : _customProps$LabelPro,
156
109
  _customProps$TextBoxI = customProps.TextBoxIconProps,
@@ -160,15 +113,9 @@ var TextBoxField = /*#__PURE__*/function (_PureComponent) {
160
113
  _customProps$Validati2 = customProps.ValidationMessageProps2,
161
114
  ValidationMessageProps2 = _customProps$Validati2 === void 0 ? {} : _customProps$Validati2;
162
115
  var uniqueId = htmlId ? htmlId : this.getNextId();
163
- var isFocused = this.state.isFocused;
164
- return /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
165
- hoverType: "bg",
166
- isActive: isFocused,
167
- isNeedEffect: !isReadOnly && !isDisabled && needFieldStyle ? true : false
168
- }, /*#__PURE__*/_react["default"].createElement("div", {
169
- className: "".concat(_FieldsModule["default"].container, " ").concat(needFieldStyle ? _FieldsModule["default"].highlightSpace : '', " ").concat(isDisabled ? _FieldsModule["default"].disabled : isReadOnly ? _FieldsModule["default"].readonly : ''),
170
- "data-title": isDisabled ? title : null,
171
- onClick: this.handleParentClick
116
+ return /*#__PURE__*/_react["default"].createElement("div", {
117
+ className: "".concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled : isReadOnly ? _FieldsModule["default"].readonly : ''),
118
+ "data-title": isDisabled ? title : null
172
119
  }, labelName && /*#__PURE__*/_react["default"].createElement(_FieldContainer["default"], {
173
120
  infoText: infoText,
174
121
  isLocked: isLocked,
@@ -180,7 +127,7 @@ var TextBoxField = /*#__PURE__*/function (_PureComponent) {
180
127
  text: labelName,
181
128
  size: fieldSize === 'small' ? 'small' : 'medium',
182
129
  palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
183
- customClass: "".concat(_FieldsModule["default"].fieldLabel, " ").concat(labelCustomClass, " ").concat(isMandatory ? _FieldsModule["default"].labelMandatory : '', " ").concat(_FieldsModule["default"].labelindex),
130
+ customClass: "".concat(_FieldsModule["default"].fieldLabel, " ").concat(labelCustomClass, " ").concat(isMandatory ? _FieldsModule["default"].labelMandatory : ''),
184
131
  htmlFor: uniqueId,
185
132
  dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
186
133
  }, LabelProps, {
@@ -199,11 +146,11 @@ var TextBoxField = /*#__PURE__*/function (_PureComponent) {
199
146
  value: value,
200
147
  onChange: this.handleChange,
201
148
  dataId: dataId,
202
- onBlur: this.handleBlur,
149
+ onBlur: onBlur,
203
150
  onKeyDown: onKeyDown,
204
151
  placeHolder: placeHolder,
205
152
  borderColor: borderColor,
206
- onFocus: this.handleFocus,
153
+ onFocus: onFocus,
207
154
  isDisabled: isDisabled,
208
155
  needEffect: isReadOnly || isDisabled ? false : true,
209
156
  isClickable: isClickable,
@@ -224,7 +171,7 @@ var TextBoxField = /*#__PURE__*/function (_PureComponent) {
224
171
  type: errorType,
225
172
  htmlFor: uniqueId,
226
173
  dataId: "".concat(dataId, "_ValidationRuleMessage")
227
- }, ValidationMessageProps2)))));
174
+ }, ValidationMessageProps2))));
228
175
  }
229
176
  }]);
230
177
  return TextBoxField;
@@ -5,12 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.defaultProps = void 0;
7
7
  var _FieldCommonDefaultProps = require("../../props/FieldCommonDefaultProps");
8
- 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); }
9
8
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
10
9
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
11
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
12
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
13
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
10
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
11
  var defaultProps = _objectSpread({
15
12
  errorType: 'primary',
16
13
  textBoxSize: 'xmedium',
@@ -23,7 +20,6 @@ var defaultProps = _objectSpread({
23
20
  labelCustomClass: '',
24
21
  isClickable: false,
25
22
  needReadOnlyStyle: true,
26
- customProps: {},
27
- needFieldStyle: false
23
+ customProps: {}
28
24
  }, (0, _FieldCommonDefaultProps.FieldCommonDefaultProps)());
29
25
  exports.defaultProps = defaultProps;
@@ -7,12 +7,9 @@ exports.propTypes = void 0;
7
7
  var _FieldCommonPropTypes = require("../../props/FieldCommonPropTypes");
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
- 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); }
11
10
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
12
11
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
13
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
12
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
16
13
  var propTypes = _objectSpread({
17
14
  borderColor: _propTypes["default"].oneOf(['transparent', 'default']),
18
15
  errorType: _propTypes["default"].oneOf(['primary', 'secondary']),
@@ -15,12 +15,10 @@ var _TextEditorModule = _interopRequireDefault(require("./TextEditor.module.css"
15
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
16
16
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
17
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
18
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
18
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
19
19
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
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, _toPropertyKey(descriptor.key), descriptor); } }
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
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
22
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
23
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
24
22
  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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
25
23
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
26
24
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }