@rh-support/components 2.1.36 → 2.1.38

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 (296) hide show
  1. package/lib/cjs/AlertMessage/AlertMessage.d.ts +2 -2
  2. package/lib/cjs/AlertMessage/AlertMessage.d.ts.map +1 -1
  3. package/lib/cjs/AlertMessage/AlertMessage.js +1 -1
  4. package/lib/cjs/AlertMessage/index.js +5 -1
  5. package/lib/cjs/ConfirmationModal/ConfirmationContext.d.ts +2 -1
  6. package/lib/cjs/ConfirmationModal/ConfirmationContext.d.ts.map +1 -1
  7. package/lib/cjs/ConfirmationModal/ConfirmationContext.js +8 -4
  8. package/lib/cjs/ConfirmationModal/ConfirmationDialog.d.ts +2 -1
  9. package/lib/cjs/ConfirmationModal/ConfirmationDialog.d.ts.map +1 -1
  10. package/lib/cjs/ConfirmationModal/ConfirmationDialog.js +1 -1
  11. package/lib/cjs/ConfirmationModal/index.js +5 -1
  12. package/lib/cjs/CoverSpinner/CoverSpinner.d.ts +2 -1
  13. package/lib/cjs/CoverSpinner/CoverSpinner.d.ts.map +1 -1
  14. package/lib/cjs/CoverSpinner/index.js +5 -1
  15. package/lib/cjs/CustomContentLoader/CustomContentLoader.d.ts +2 -2
  16. package/lib/cjs/CustomContentLoader/CustomContentLoader.d.ts.map +1 -1
  17. package/lib/cjs/CustomContentLoader/index.js +5 -1
  18. package/lib/cjs/CustomTextInput/CustomTextInput.d.ts +1 -1
  19. package/lib/cjs/CustomTextInput/CustomTextInput.d.ts.map +1 -1
  20. package/lib/cjs/CustomTextInput/CustomTextInput.js +3 -3
  21. package/lib/cjs/CustomTextInput/index.js +5 -1
  22. package/lib/cjs/DropDownList/AsyncDropDownList.js +2 -2
  23. package/lib/cjs/DropDownList/DropDownList.d.ts +2 -1
  24. package/lib/cjs/DropDownList/DropDownList.d.ts.map +1 -1
  25. package/lib/cjs/DropDownList/DropDownList.js +16 -12
  26. package/lib/cjs/DropDownList/DropdownWrapper.d.ts +1 -1
  27. package/lib/cjs/DropDownList/DropdownWrapper.d.ts.map +1 -1
  28. package/lib/cjs/DropDownList/DropdownWrapper.js +1 -1
  29. package/lib/cjs/DropDownList/MultiSelectDropdownList.js +1 -1
  30. package/lib/cjs/DropDownList/SearchableList.d.ts +1 -1
  31. package/lib/cjs/DropDownList/SearchableList.d.ts.map +1 -1
  32. package/lib/cjs/DropDownList/SearchableList.js +6 -6
  33. package/lib/cjs/DropDownList/SelectList.d.ts +1 -1
  34. package/lib/cjs/DropDownList/SelectList.d.ts.map +1 -1
  35. package/lib/cjs/DropDownList/SelectList.js +3 -3
  36. package/lib/cjs/DropDownList/async.d.ts +1 -1
  37. package/lib/cjs/DropDownList/async.js +16 -12
  38. package/lib/cjs/DropDownList/index.js +5 -1
  39. package/lib/cjs/DropDownList/types.d.ts +6 -6
  40. package/lib/cjs/DropDownList/types.d.ts.map +1 -1
  41. package/lib/cjs/DropDownList/withMulti.js +9 -5
  42. package/lib/cjs/ErrorBoundary/ErrorBoundary.d.ts +2 -1
  43. package/lib/cjs/ErrorBoundary/ErrorBoundary.d.ts.map +1 -1
  44. package/lib/cjs/ErrorBoundary/ErrorBoundary.js +7 -3
  45. package/lib/cjs/ErrorBoundary/ErrorBoundaryFallbackComponent.d.ts +2 -1
  46. package/lib/cjs/ErrorBoundary/ErrorBoundaryFallbackComponent.d.ts.map +1 -1
  47. package/lib/cjs/ErrorBoundary/ErrorBoundaryFallbackComponent.js +1 -1
  48. package/lib/cjs/ErrorBoundary/index.js +5 -1
  49. package/lib/cjs/ErrorPages/Generic403.d.ts +2 -1
  50. package/lib/cjs/ErrorPages/Generic403.d.ts.map +1 -1
  51. package/lib/cjs/ErrorPages/index.js +5 -1
  52. package/lib/cjs/FeedbackForm/FeedbackForm.d.ts +2 -1
  53. package/lib/cjs/FeedbackForm/FeedbackForm.d.ts.map +1 -1
  54. package/lib/cjs/FeedbackForm/FeedbackForm.js +12 -8
  55. package/lib/cjs/FeedbackForm/index.js +5 -1
  56. package/lib/cjs/Functional/CaseContactsSelectorExternal.d.ts +4 -4
  57. package/lib/cjs/Functional/CaseContactsSelectorExternal.d.ts.map +1 -1
  58. package/lib/cjs/Functional/CaseContactsSelectorExternal.js +26 -22
  59. package/lib/cjs/Functional/index.js +5 -1
  60. package/lib/cjs/InlineEdit/InlineEdit.d.ts +2 -2
  61. package/lib/cjs/InlineEdit/InlineEdit.d.ts.map +1 -1
  62. package/lib/cjs/InlineEdit/InlineEdit.js +8 -4
  63. package/lib/cjs/InlineEdit/NewInlineEdit.d.ts +2 -2
  64. package/lib/cjs/InlineEdit/NewInlineEdit.d.ts.map +1 -1
  65. package/lib/cjs/InlineEdit/NewInlineEdit.js +9 -5
  66. package/lib/cjs/InlineEdit/index.js +5 -1
  67. package/lib/cjs/LanguageSelector/LanguageSelector.d.ts +2 -1
  68. package/lib/cjs/LanguageSelector/LanguageSelector.d.ts.map +1 -1
  69. package/lib/cjs/LanguageSelector/LanguageSelector.js +8 -4
  70. package/lib/cjs/LanguageSelector/index.js +5 -1
  71. package/lib/cjs/LoadingDots/LoadingDots.d.ts +2 -1
  72. package/lib/cjs/LoadingDots/LoadingDots.d.ts.map +1 -1
  73. package/lib/cjs/LoadingDots/index.js +5 -1
  74. package/lib/cjs/LoadingIndicator/LoadingIndicator.d.ts +2 -1
  75. package/lib/cjs/LoadingIndicator/LoadingIndicator.d.ts.map +1 -1
  76. package/lib/cjs/LoadingIndicator/index.js +5 -1
  77. package/lib/cjs/LoginModal/LoginModal.d.ts +2 -1
  78. package/lib/cjs/LoginModal/LoginModal.d.ts.map +1 -1
  79. package/lib/cjs/LoginModal/index.js +5 -1
  80. package/lib/cjs/MarkdownEditor/MarkdownEditor.d.ts +1 -1
  81. package/lib/cjs/MarkdownEditor/MarkdownEditor.d.ts.map +1 -1
  82. package/lib/cjs/MarkdownEditor/MarkdownEditor.js +33 -29
  83. package/lib/cjs/MarkdownEditor/index.js +5 -1
  84. package/lib/cjs/MoreOrLess/MoreOrLess.d.ts +1 -1
  85. package/lib/cjs/MoreOrLess/MoreOrLess.d.ts.map +1 -1
  86. package/lib/cjs/MoreOrLess/MoreOrLess.js +14 -10
  87. package/lib/cjs/MoreOrLess/index.js +5 -1
  88. package/lib/cjs/PaginatedList/PaginatedList.d.ts +1 -1
  89. package/lib/cjs/PaginatedList/PaginatedList.d.ts.map +1 -1
  90. package/lib/cjs/PaginatedList/PaginatedList.js +9 -5
  91. package/lib/cjs/PaginatedList/index.js +5 -1
  92. package/lib/cjs/PaginationCompact/PaginationCompact.d.ts +2 -1
  93. package/lib/cjs/PaginationCompact/PaginationCompact.d.ts.map +1 -1
  94. package/lib/cjs/PaginationCompact/PaginationCompact.js +8 -4
  95. package/lib/cjs/PaginationCompact/index.js +5 -1
  96. package/lib/cjs/PhoneInput/PhoneInput.d.ts +2 -1
  97. package/lib/cjs/PhoneInput/PhoneInput.d.ts.map +1 -1
  98. package/lib/cjs/PhoneInput/PhoneInput.js +41 -37
  99. package/lib/cjs/PhoneInput/index.js +5 -1
  100. package/lib/cjs/ProgressBar/CircularProgressBar/CircularProgressBar.d.ts +2 -1
  101. package/lib/cjs/ProgressBar/CircularProgressBar/CircularProgressBar.d.ts.map +1 -1
  102. package/lib/cjs/ProgressBar/CircularProgressBar/Path.d.ts +1 -1
  103. package/lib/cjs/ProgressBar/CircularProgressBar/Path.d.ts.map +1 -1
  104. package/lib/cjs/ProgressBar/CircularProgressBar/index.js +5 -1
  105. package/lib/cjs/ProgressBar/CircularProgressBar/types.d.ts +3 -3
  106. package/lib/cjs/ProgressBar/CircularProgressBar/types.d.ts.map +1 -1
  107. package/lib/cjs/ProgressBar/ProgressBar.d.ts +1 -1
  108. package/lib/cjs/ProgressBar/ProgressBar.d.ts.map +1 -1
  109. package/lib/cjs/ProgressBar/index.js +5 -1
  110. package/lib/cjs/PromisifyModal/PromisifyModal.d.ts +3 -3
  111. package/lib/cjs/PromisifyModal/PromisifyModal.d.ts.map +1 -1
  112. package/lib/cjs/PromisifyModal/PromisifyModal.js +6 -4
  113. package/lib/cjs/PromisifyModal/index.js +5 -1
  114. package/lib/cjs/SubscriptionAbuse/SubscriptionAbuseModal.d.ts +2 -1
  115. package/lib/cjs/SubscriptionAbuse/SubscriptionAbuseModal.d.ts.map +1 -1
  116. package/lib/cjs/SubscriptionAbuse/SubscriptionAbuseModal.js +1 -1
  117. package/lib/cjs/SubscriptionAbuse/const.d.ts +2 -1
  118. package/lib/cjs/SubscriptionAbuse/const.d.ts.map +1 -1
  119. package/lib/cjs/SubscriptionAbuse/index.js +5 -1
  120. package/lib/cjs/SupportFeedbackForm/SupportFeedbackForm.d.ts +2 -1
  121. package/lib/cjs/SupportFeedbackForm/SupportFeedbackForm.d.ts.map +1 -1
  122. package/lib/cjs/SupportFeedbackForm/SupportFeedbackForm.js +6 -2
  123. package/lib/cjs/SupportFeedbackForm/SupportFeedbackModal.d.ts +2 -1
  124. package/lib/cjs/SupportFeedbackForm/SupportFeedbackModal.d.ts.map +1 -1
  125. package/lib/cjs/SupportFeedbackForm/SupportFeedbackModal.js +13 -9
  126. package/lib/cjs/SupportFeedbackForm/index.js +5 -1
  127. package/lib/cjs/Table/PFTable.d.ts +2 -2
  128. package/lib/cjs/Table/PFTable.d.ts.map +1 -1
  129. package/lib/cjs/Table/PFTable.js +15 -11
  130. package/lib/cjs/Table/TableColumnSelector.d.ts +2 -1
  131. package/lib/cjs/Table/TableColumnSelector.d.ts.map +1 -1
  132. package/lib/cjs/Table/TableColumnSelector.js +4 -4
  133. package/lib/cjs/Table/TableComponent.d.ts +1 -1
  134. package/lib/cjs/Table/TableComponent.d.ts.map +1 -1
  135. package/lib/cjs/Table/TableComponent.js +7 -3
  136. package/lib/cjs/Table/TablePagination.d.ts +2 -1
  137. package/lib/cjs/Table/TablePagination.d.ts.map +1 -1
  138. package/lib/cjs/Table/TablePagination.js +7 -3
  139. package/lib/cjs/Table/index.js +5 -1
  140. package/lib/cjs/TermsAndConditions/AcceptTermsModal.d.ts +2 -1
  141. package/lib/cjs/TermsAndConditions/AcceptTermsModal.d.ts.map +1 -1
  142. package/lib/cjs/TermsAndConditions/AcceptTermsModal.js +12 -8
  143. package/lib/cjs/TermsAndConditions/index.js +5 -1
  144. package/lib/cjs/TextAreaAutosize/TextAreaAutosize.d.ts +1 -1
  145. package/lib/cjs/TextAreaAutosize/TextAreaAutosize.d.ts.map +1 -1
  146. package/lib/cjs/TextAreaAutosize/TextAreaAutosize.js +14 -10
  147. package/lib/cjs/TextAreaAutosize/index.js +5 -1
  148. package/lib/cjs/TextAreaResizable/TextAreaResizable.d.ts +1 -1
  149. package/lib/cjs/TextAreaResizable/TextAreaResizable.d.ts.map +1 -1
  150. package/lib/cjs/TextAreaResizable/TextAreaResizable.js +7 -3
  151. package/lib/cjs/TextAreaResizable/index.js +5 -1
  152. package/lib/cjs/ToastNotification/ToastNotification.d.ts +1 -1
  153. package/lib/cjs/ToastNotification/ToastNotification.d.ts.map +1 -1
  154. package/lib/cjs/ToastNotification/ToastNotification.js +18 -10
  155. package/lib/cjs/ToastNotification/index.js +5 -1
  156. package/lib/cjs/TopContentSearch/TopContentSearch.d.ts +1 -1
  157. package/lib/cjs/TopContentSearch/TopContentSearch.d.ts.map +1 -1
  158. package/lib/cjs/TopContentSearch/TopContentSearch.js +19 -15
  159. package/lib/cjs/TopContentSearch/index.js +5 -1
  160. package/lib/cjs/ValueChangedIcon/ValueChangedIcon.d.ts +1 -1
  161. package/lib/cjs/ValueChangedIcon/ValueChangedIcon.d.ts.map +1 -1
  162. package/lib/cjs/ValueChangedIcon/ValueChangedIcon.js +13 -9
  163. package/lib/cjs/ValueChangedIcon/index.js +5 -1
  164. package/lib/cjs/helperFunctions/errorMessage.d.ts +1 -0
  165. package/lib/cjs/helperFunctions/errorMessage.d.ts.map +1 -1
  166. package/lib/cjs/helperFunctions/errorMessage.js +1 -1
  167. package/lib/cjs/helperFunctions/index.js +5 -1
  168. package/lib/cjs/hooks/index.js +5 -1
  169. package/lib/cjs/hooks/useBreakpoint.d.ts +2 -2
  170. package/lib/cjs/hooks/useBreakpoint.d.ts.map +1 -1
  171. package/lib/cjs/hooks/useBreakpoint.js +8 -4
  172. package/lib/cjs/hooks/useCopyToClipboard.d.ts.map +1 -1
  173. package/lib/cjs/hooks/useCopyToClipboard.js +4 -3
  174. package/lib/cjs/hooks/useDebounce.js +4 -4
  175. package/lib/cjs/hooks/useFetch.js +6 -7
  176. package/lib/cjs/hooks/useForceUpdate.js +1 -1
  177. package/lib/cjs/hooks/useForkRef.js +1 -1
  178. package/lib/cjs/hooks/useLRUCache.js +2 -2
  179. package/lib/cjs/hooks/useLocalStorage.d.ts +2 -2
  180. package/lib/cjs/hooks/useLocalStorage.d.ts.map +1 -1
  181. package/lib/cjs/hooks/useLocalStorage.js +2 -2
  182. package/lib/cjs/hooks/useOnScreen.js +2 -2
  183. package/lib/cjs/hooks/usePolling.js +2 -2
  184. package/lib/cjs/hooks/usePrevious.js +2 -2
  185. package/lib/cjs/hooks/useSelectKeyboardNavigator.js +2 -2
  186. package/lib/cjs/hooks/useTitle.js +1 -1
  187. package/lib/cjs/hooks/useUndo.js +6 -6
  188. package/lib/cjs/index.js +5 -1
  189. package/lib/esm/AlertMessage/AlertMessage.d.ts +2 -2
  190. package/lib/esm/AlertMessage/AlertMessage.d.ts.map +1 -1
  191. package/lib/esm/ConfirmationModal/ConfirmationContext.d.ts +2 -1
  192. package/lib/esm/ConfirmationModal/ConfirmationContext.d.ts.map +1 -1
  193. package/lib/esm/ConfirmationModal/ConfirmationDialog.d.ts +2 -1
  194. package/lib/esm/ConfirmationModal/ConfirmationDialog.d.ts.map +1 -1
  195. package/lib/esm/CoverSpinner/CoverSpinner.d.ts +2 -1
  196. package/lib/esm/CoverSpinner/CoverSpinner.d.ts.map +1 -1
  197. package/lib/esm/CustomContentLoader/CustomContentLoader.d.ts +2 -2
  198. package/lib/esm/CustomContentLoader/CustomContentLoader.d.ts.map +1 -1
  199. package/lib/esm/CustomTextInput/CustomTextInput.d.ts +1 -1
  200. package/lib/esm/CustomTextInput/CustomTextInput.d.ts.map +1 -1
  201. package/lib/esm/DropDownList/DropDownList.d.ts +2 -1
  202. package/lib/esm/DropDownList/DropDownList.d.ts.map +1 -1
  203. package/lib/esm/DropDownList/DropdownWrapper.d.ts +1 -1
  204. package/lib/esm/DropDownList/DropdownWrapper.d.ts.map +1 -1
  205. package/lib/esm/DropDownList/SearchableList.d.ts +1 -1
  206. package/lib/esm/DropDownList/SearchableList.d.ts.map +1 -1
  207. package/lib/esm/DropDownList/SelectList.d.ts +1 -1
  208. package/lib/esm/DropDownList/SelectList.d.ts.map +1 -1
  209. package/lib/esm/DropDownList/async.d.ts +1 -1
  210. package/lib/esm/DropDownList/types.d.ts +6 -6
  211. package/lib/esm/DropDownList/types.d.ts.map +1 -1
  212. package/lib/esm/ErrorBoundary/ErrorBoundary.d.ts +2 -1
  213. package/lib/esm/ErrorBoundary/ErrorBoundary.d.ts.map +1 -1
  214. package/lib/esm/ErrorBoundary/ErrorBoundary.js +1 -1
  215. package/lib/esm/ErrorBoundary/ErrorBoundaryFallbackComponent.d.ts +2 -1
  216. package/lib/esm/ErrorBoundary/ErrorBoundaryFallbackComponent.d.ts.map +1 -1
  217. package/lib/esm/ErrorPages/Generic403.d.ts +2 -1
  218. package/lib/esm/ErrorPages/Generic403.d.ts.map +1 -1
  219. package/lib/esm/FeedbackForm/FeedbackForm.d.ts +2 -1
  220. package/lib/esm/FeedbackForm/FeedbackForm.d.ts.map +1 -1
  221. package/lib/esm/Functional/CaseContactsSelectorExternal.d.ts +4 -4
  222. package/lib/esm/Functional/CaseContactsSelectorExternal.d.ts.map +1 -1
  223. package/lib/esm/Functional/CaseContactsSelectorExternal.js +7 -7
  224. package/lib/esm/InlineEdit/InlineEdit.d.ts +2 -2
  225. package/lib/esm/InlineEdit/InlineEdit.d.ts.map +1 -1
  226. package/lib/esm/InlineEdit/NewInlineEdit.d.ts +2 -2
  227. package/lib/esm/InlineEdit/NewInlineEdit.d.ts.map +1 -1
  228. package/lib/esm/LanguageSelector/LanguageSelector.d.ts +2 -1
  229. package/lib/esm/LanguageSelector/LanguageSelector.d.ts.map +1 -1
  230. package/lib/esm/LoadingDots/LoadingDots.d.ts +2 -1
  231. package/lib/esm/LoadingDots/LoadingDots.d.ts.map +1 -1
  232. package/lib/esm/LoadingIndicator/LoadingIndicator.d.ts +2 -1
  233. package/lib/esm/LoadingIndicator/LoadingIndicator.d.ts.map +1 -1
  234. package/lib/esm/LoginModal/LoginModal.d.ts +2 -1
  235. package/lib/esm/LoginModal/LoginModal.d.ts.map +1 -1
  236. package/lib/esm/MarkdownEditor/MarkdownEditor.d.ts +1 -1
  237. package/lib/esm/MarkdownEditor/MarkdownEditor.d.ts.map +1 -1
  238. package/lib/esm/MoreOrLess/MoreOrLess.d.ts +1 -1
  239. package/lib/esm/MoreOrLess/MoreOrLess.d.ts.map +1 -1
  240. package/lib/esm/PaginatedList/PaginatedList.d.ts +1 -1
  241. package/lib/esm/PaginatedList/PaginatedList.d.ts.map +1 -1
  242. package/lib/esm/PaginationCompact/PaginationCompact.d.ts +2 -1
  243. package/lib/esm/PaginationCompact/PaginationCompact.d.ts.map +1 -1
  244. package/lib/esm/PhoneInput/PhoneInput.d.ts +2 -1
  245. package/lib/esm/PhoneInput/PhoneInput.d.ts.map +1 -1
  246. package/lib/esm/PhoneInput/PhoneInput.js +7 -7
  247. package/lib/esm/ProgressBar/CircularProgressBar/CircularProgressBar.d.ts +2 -1
  248. package/lib/esm/ProgressBar/CircularProgressBar/CircularProgressBar.d.ts.map +1 -1
  249. package/lib/esm/ProgressBar/CircularProgressBar/Path.d.ts +1 -1
  250. package/lib/esm/ProgressBar/CircularProgressBar/Path.d.ts.map +1 -1
  251. package/lib/esm/ProgressBar/CircularProgressBar/types.d.ts +3 -3
  252. package/lib/esm/ProgressBar/CircularProgressBar/types.d.ts.map +1 -1
  253. package/lib/esm/ProgressBar/ProgressBar.d.ts +1 -1
  254. package/lib/esm/ProgressBar/ProgressBar.d.ts.map +1 -1
  255. package/lib/esm/PromisifyModal/PromisifyModal.d.ts +3 -3
  256. package/lib/esm/PromisifyModal/PromisifyModal.d.ts.map +1 -1
  257. package/lib/esm/PromisifyModal/PromisifyModal.js +6 -4
  258. package/lib/esm/SubscriptionAbuse/SubscriptionAbuseModal.d.ts +2 -1
  259. package/lib/esm/SubscriptionAbuse/SubscriptionAbuseModal.d.ts.map +1 -1
  260. package/lib/esm/SubscriptionAbuse/const.d.ts +2 -1
  261. package/lib/esm/SubscriptionAbuse/const.d.ts.map +1 -1
  262. package/lib/esm/SupportFeedbackForm/SupportFeedbackForm.d.ts +2 -1
  263. package/lib/esm/SupportFeedbackForm/SupportFeedbackForm.d.ts.map +1 -1
  264. package/lib/esm/SupportFeedbackForm/SupportFeedbackModal.d.ts +2 -1
  265. package/lib/esm/SupportFeedbackForm/SupportFeedbackModal.d.ts.map +1 -1
  266. package/lib/esm/Table/PFTable.d.ts +2 -2
  267. package/lib/esm/Table/PFTable.d.ts.map +1 -1
  268. package/lib/esm/Table/TableColumnSelector.d.ts +2 -1
  269. package/lib/esm/Table/TableColumnSelector.d.ts.map +1 -1
  270. package/lib/esm/Table/TableComponent.d.ts +1 -1
  271. package/lib/esm/Table/TableComponent.d.ts.map +1 -1
  272. package/lib/esm/Table/TablePagination.d.ts +2 -1
  273. package/lib/esm/Table/TablePagination.d.ts.map +1 -1
  274. package/lib/esm/TermsAndConditions/AcceptTermsModal.d.ts +2 -1
  275. package/lib/esm/TermsAndConditions/AcceptTermsModal.d.ts.map +1 -1
  276. package/lib/esm/TextAreaAutosize/TextAreaAutosize.d.ts +1 -1
  277. package/lib/esm/TextAreaAutosize/TextAreaAutosize.d.ts.map +1 -1
  278. package/lib/esm/TextAreaResizable/TextAreaResizable.d.ts +1 -1
  279. package/lib/esm/TextAreaResizable/TextAreaResizable.d.ts.map +1 -1
  280. package/lib/esm/ToastNotification/ToastNotification.d.ts +1 -1
  281. package/lib/esm/ToastNotification/ToastNotification.d.ts.map +1 -1
  282. package/lib/esm/ToastNotification/ToastNotification.js +13 -5
  283. package/lib/esm/TopContentSearch/TopContentSearch.d.ts +1 -1
  284. package/lib/esm/TopContentSearch/TopContentSearch.d.ts.map +1 -1
  285. package/lib/esm/ValueChangedIcon/ValueChangedIcon.d.ts +1 -1
  286. package/lib/esm/ValueChangedIcon/ValueChangedIcon.d.ts.map +1 -1
  287. package/lib/esm/helperFunctions/errorMessage.d.ts +1 -0
  288. package/lib/esm/helperFunctions/errorMessage.d.ts.map +1 -1
  289. package/lib/esm/hooks/useBreakpoint.d.ts +2 -2
  290. package/lib/esm/hooks/useBreakpoint.d.ts.map +1 -1
  291. package/lib/esm/hooks/useCopyToClipboard.d.ts.map +1 -1
  292. package/lib/esm/hooks/useCopyToClipboard.js +1 -0
  293. package/lib/esm/hooks/useFetch.js +1 -2
  294. package/lib/esm/hooks/useLocalStorage.d.ts +2 -2
  295. package/lib/esm/hooks/useLocalStorage.d.ts.map +1 -1
  296. package/package.json +21 -17
@@ -1 +1 @@
1
- {"version":3,"file":"LanguageSelector.d.ts","sourceRoot":"","sources":["../../../src/LanguageSelector/LanguageSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAC;AAEhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAO5D,UAAU,MAAO,SAAQ,gBAAgB;IACrC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;CAWzB,CAAC;AAOF,iBAAS,gBAAgB,CAAC,KAAK,EAAE,MAAM,eAyBtC;kBAzBQ,gBAAgB;;;AA4BzB,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
1
+ {"version":3,"file":"LanguageSelector.d.ts","sourceRoot":"","sources":["../../../src/LanguageSelector/LanguageSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAC;AAEhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,UAAU,MAAO,SAAQ,gBAAgB;IACrC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;CAWzB,CAAC;AAOF,iBAAS,gBAAgB,CAAC,KAAK,EAAE,MAAM,qBAyBtC;kBAzBQ,gBAAgB;;;AA4BzB,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -45,16 +49,16 @@ const defaultProps = {
45
49
  className: '',
46
50
  };
47
51
  function LanguageSelector(props) {
48
- const [language, setLanguage] = react_1.useState({
52
+ const [language, setLanguage] = (0, react_1.useState)({
49
53
  label: exports.languageConst[props.currentLanguage],
50
54
  value: props.currentLanguage,
51
55
  });
52
- const { t } = react_i18next_1.useTranslation();
56
+ const { t } = (0, react_i18next_1.useTranslation)();
53
57
  const handleLanguageChange = (language) => {
54
58
  setLanguage(language);
55
59
  props.updateLang(language.value);
56
60
  };
57
- const languageOption = () => map_1.default(exports.languageConst, (value, key) => ({ label: value, value: key }));
61
+ const languageOption = () => (0, map_1.default)(exports.languageConst, (value, key) => ({ label: value, value: key }));
58
62
  return (react_1.default.createElement(DropDownList_1.Dropdown, { "data-tracking-id": "app-language-selector", id: "app-language-selector", title: t('Language selector'), className: "language-selector", list: languageOption(), selectedItem: language, onChange: handleLanguageChange, isLoadingList: props.showLoader }));
59
63
  }
60
64
  exports.LanguageSelector = LanguageSelector;
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1,9 +1,10 @@
1
1
  import './LoadingDots.css';
2
+ import React from 'react';
2
3
  interface IProps {
3
4
  show?: boolean;
4
5
  message?: string;
5
6
  }
6
- declare function LoadingDots(props: IProps): JSX.Element;
7
+ declare function LoadingDots(props: IProps): React.JSX.Element;
7
8
  declare namespace LoadingDots {
8
9
  var defaultProps: Partial<IProps>;
9
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingDots.d.ts","sourceRoot":"","sources":["../../../src/LoadingDots/LoadingDots.tsx"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAC;AAK3B,UAAU,MAAM;IACZ,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAKD,iBAAS,WAAW,CAAC,KAAK,EAAE,MAAM,eAkBjC;kBAlBQ,WAAW;;;AAoBpB,OAAO,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"LoadingDots.d.ts","sourceRoot":"","sources":["../../../src/LoadingDots/LoadingDots.tsx"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAC;AAE3B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,MAAM;IACZ,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAKD,iBAAS,WAAW,CAAC,KAAK,EAAE,MAAM,qBAkBjC;kBAlBQ,WAAW;;;AAoBpB,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1,4 +1,5 @@
1
1
  import './loadingIndicator.css';
2
+ import React from 'react';
2
3
  interface IProps {
3
4
  size?: 'sm' | 'xs' | 'lg';
4
5
  isInline?: boolean;
@@ -6,7 +7,7 @@ interface IProps {
6
7
  message?: string;
7
8
  className?: string;
8
9
  }
9
- declare function LoadingIndicator(props: IProps): JSX.Element;
10
+ declare function LoadingIndicator(props: IProps): React.JSX.Element;
10
11
  declare namespace LoadingIndicator {
11
12
  var defaultProps: Partial<IProps>;
12
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingIndicator.d.ts","sourceRoot":"","sources":["../../../src/LoadingIndicator/LoadingIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAC;AAIhC,UAAU,MAAM;IACZ,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAQD,iBAAS,gBAAgB,CAAC,KAAK,EAAE,MAAM,eAgBtC;kBAhBQ,gBAAgB;;;AAkBzB,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
1
+ {"version":3,"file":"LoadingIndicator.d.ts","sourceRoot":"","sources":["../../../src/LoadingIndicator/LoadingIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAC;AAEhC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,MAAM;IACZ,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAQD,iBAAS,gBAAgB,CAAC,KAAK,EAAE,MAAM,qBAgBtC;kBAhBQ,gBAAgB;;;AAkBzB,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  interface IProps {
2
3
  isOpen: boolean;
3
4
  login: () => void;
@@ -6,7 +7,7 @@ interface IProps {
6
7
  buttonText?: string;
7
8
  uniqueid: string;
8
9
  }
9
- export declare function LoginModal(props: IProps): JSX.Element;
10
+ export declare function LoginModal(props: IProps): React.JSX.Element;
10
11
  export declare namespace LoginModal {
11
12
  var defaultProps: Partial<IProps>;
12
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"LoginModal.d.ts","sourceRoot":"","sources":["../../../src/LoginModal/LoginModal.tsx"],"names":[],"mappings":"AAGA,UAAU,MAAM;IACZ,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAUD,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,eAkBvC;yBAlBe,UAAU"}
1
+ {"version":3,"file":"LoginModal.d.ts","sourceRoot":"","sources":["../../../src/LoginModal/LoginModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,MAAM;IACZ,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAUD,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,qBAkBvC;yBAlBe,UAAU"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -37,7 +37,7 @@ export interface IMDEditorProps extends Omit<HTMLProps<HTMLTextAreaElement>, 'on
37
37
  onCommentExceedCharsLimit: (val: boolean) => void;
38
38
  fileSelectorProps?: Partial<IFileSelectorProps>;
39
39
  }
40
- declare function MarkdownEditor(props: IMDEditorProps): JSX.Element;
40
+ declare function MarkdownEditor(props: IMDEditorProps): React.JSX.Element;
41
41
  declare namespace MarkdownEditor {
42
42
  var defaultProps: Partial<IMDEditorProps>;
43
43
  }
@@ -1 +1 @@
1
- {"version":3,"file":"MarkdownEditor.d.ts","sourceRoot":"","sources":["../../../src/MarkdownEditor/MarkdownEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAE9B,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAwB,MAAM,qBAAqB,CAAC;AAwB7E,OAAO,KAAK,EAAE,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AAKtE,oBAAY,UAAU;IAClB,KAAK,cAAc;IACnB,QAAQ,aAAa;CACxB;AAED,UAAU,kBAAkB;IACxB,yBAAyB,EAAE,OAAO,CAAC;IACnC,SAAS,EAAE,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC;IAClC,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACnD,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACnD,gBAAgB,EAAE,CAAC,IAAI,KAAA,KAAK,IAAI,CAAC;IACjC,eAAe,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC;IAChD,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,eAAe,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,KAAK,CAAC;IACtG,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAClD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yBAAyB,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IAClD,iBAAiB,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;CACnD;AAuBD,iBAAS,cAAc,CAAC,KAAK,EAAE,cAAc,eAsmB5C;kBAtmBQ,cAAc;;;AA0mBvB,OAAO,EAAE,cAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"MarkdownEditor.d.ts","sourceRoot":"","sources":["../../../src/MarkdownEditor/MarkdownEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAE9B,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAwB,MAAM,qBAAqB,CAAC;AAwB7E,OAAO,KAAK,EAAE,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AAKtE,oBAAY,UAAU;IAClB,KAAK,cAAc;IACnB,QAAQ,aAAa;CACxB;AAED,UAAU,kBAAkB;IACxB,yBAAyB,EAAE,OAAO,CAAC;IACnC,SAAS,EAAE,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC;IAClC,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACnD,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACnD,gBAAgB,EAAE,CAAC,IAAI,KAAA,KAAK,IAAI,CAAC;IACjC,eAAe,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC;IAChD,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,eAAe,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,KAAK,CAAC;IACtG,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAClD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yBAAyB,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IAClD,iBAAiB,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;CACnD;AAuBD,iBAAS,cAAc,CAAC,KAAK,EAAE,cAAc,qBAsmB5C;kBAtmBQ,cAAc;;;AA0mBvB,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -55,7 +59,7 @@ var EditorMode;
55
59
  (function (EditorMode) {
56
60
  EditorMode["PLAIN"] = "plaintext";
57
61
  EditorMode["MARKDOWN"] = "markdown";
58
- })(EditorMode = exports.EditorMode || (exports.EditorMode = {}));
62
+ })(EditorMode || (exports.EditorMode = EditorMode = {}));
59
63
  const defaultProps = {
60
64
  value: '',
61
65
  onChange: () => { },
@@ -77,31 +81,31 @@ const defaultProps = {
77
81
  },
78
82
  };
79
83
  function MarkdownEditor(props) {
80
- const { t } = react_i18next_1.useTranslation();
84
+ const { t } = (0, react_i18next_1.useTranslation)();
81
85
  const { hidePreviewText, showPreviewText, mdPlaceholder, plainTextPlaceholder, textAreaClassName, bindTextArea, markedownOptions, allowEmoji, hideHeadingOptions, rows, showMarkdownPlainTextToggle, editorMode, className, charLimit, minCharsForCounter, id, onCommentExceedCharsLimit, fileSelectorProps: { onClipboardPaste, onFileDelete, onFileSelect, isSupportedFile, showFileSelectorInToolbar = false, isUploadingFile = false, filesList = [], attachFileBtn, } } = props, textAreaProps = __rest(props, ["hidePreviewText", "showPreviewText", "mdPlaceholder", "plainTextPlaceholder", "textAreaClassName", "bindTextArea", "markedownOptions", "allowEmoji", "hideHeadingOptions", "rows", "showMarkdownPlainTextToggle", "editorMode", "className", "charLimit", "minCharsForCounter", "id", "onCommentExceedCharsLimit", "fileSelectorProps"]);
82
- const [isPreview, setIsPreview] = react_1.useState(false);
83
- const [mdValue, setMdValue] = react_1.useState(props.value);
84
- const previousFileList = hooks_1.usePrevious(filesList);
85
- const [isPlainModeEnabled, setIsPlainModeEnabled] = react_1.useState(showMarkdownPlainTextToggle && props.editorMode === EditorMode.PLAIN ? true : false);
86
- const textareaRef = react_1.useRef(null);
87
- const { state, setURValue, undo, redo, resetURValue } = hooks_1.useUndo(props.value);
86
+ const [isPreview, setIsPreview] = (0, react_1.useState)(false);
87
+ const [mdValue, setMdValue] = (0, react_1.useState)(props.value);
88
+ const previousFileList = (0, hooks_1.usePrevious)(filesList);
89
+ const [isPlainModeEnabled, setIsPlainModeEnabled] = (0, react_1.useState)(showMarkdownPlainTextToggle && props.editorMode === EditorMode.PLAIN ? true : false);
90
+ const textareaRef = (0, react_1.useRef)(null);
91
+ const { state, setURValue, undo, redo, resetURValue } = (0, hooks_1.useUndo)(props.value);
88
92
  // for access inside event handlers
89
- const isPlainModeEnabledRef = react_1.useRef(isPlainModeEnabled);
90
- const [isFileSelectorOpen, setIsFileSelectorOpen] = react_1.useState(false);
93
+ const isPlainModeEnabledRef = (0, react_1.useRef)(isPlainModeEnabled);
94
+ const [isFileSelectorOpen, setIsFileSelectorOpen] = (0, react_1.useState)(false);
91
95
  const onFileSelectLocal = () => {
92
96
  setIsFileSelectorOpen((open) => !open);
93
97
  };
94
98
  const onFileSelectToggle = (isOpen) => {
95
99
  setIsFileSelectorOpen(isOpen);
96
100
  };
97
- react_1.useEffect(() => {
101
+ (0, react_1.useEffect)(() => {
98
102
  if ((previousFileList || []).length < (filesList || []).length && isUploadingFile) {
99
103
  onFileInsert(filesList[0]);
100
104
  }
101
105
  // eslint-disable-next-line react-hooks/exhaustive-deps
102
106
  }, [filesList]);
103
107
  const onFileInsert = (file) => {
104
- const template = utils_1.isImageFile(file.fileType)
108
+ const template = (0, utils_1.isImageFile)(file.fileType)
105
109
  ? `![${file.fileName}](${file.link})`
106
110
  : `[${file.fileName}](${file.link})`;
107
111
  insert(template, 0, 0);
@@ -174,27 +178,27 @@ function MarkdownEditor(props) {
174
178
  const mode = isPlainMode ? EditorMode.PLAIN : EditorMode.MARKDOWN;
175
179
  props.onChange(mdValue, mode);
176
180
  };
177
- react_1.useEffect(() => {
181
+ (0, react_1.useEffect)(() => {
178
182
  if (mdValue !== props.value) {
179
183
  setMdValue(props.value);
180
184
  }
181
185
  }, [mdValue, props.value]);
182
- react_1.useEffect(() => {
186
+ (0, react_1.useEffect)(() => {
183
187
  const isPlainMode = props.editorMode === EditorMode.PLAIN ? true : false;
184
188
  if (isPlainMode === isPlainModeEnabled)
185
189
  return;
186
190
  onModeChange(isPlainMode);
187
191
  // eslint-disable-next-line react-hooks/exhaustive-deps
188
192
  }, [props.editorMode]);
189
- react_1.useEffect(() => {
193
+ (0, react_1.useEffect)(() => {
190
194
  // update state on undo redo
191
195
  if (mdValue !== state.present) {
192
196
  onValueChangeLocal(state.present);
193
197
  }
194
198
  // eslint-disable-next-line react-hooks/exhaustive-deps
195
199
  }, [state.present]);
196
- hooks_1.useDebounce(() => {
197
- if (isEmpty_1.default(mdValue))
200
+ (0, hooks_1.useDebounce)(() => {
201
+ if ((0, isEmpty_1.default)(mdValue))
198
202
  return;
199
203
  !isPlainModeEnabled && setURValue(mdValue);
200
204
  }, [mdValue], 500);
@@ -205,7 +209,7 @@ function MarkdownEditor(props) {
205
209
  };
206
210
  const textChanged = (event) => {
207
211
  let value = event.target.value;
208
- if (!props.allowEmoji && utils_1.isEmojiPattern(value)) {
212
+ if (!props.allowEmoji && (0, utils_1.isEmojiPattern)(value)) {
209
213
  value = value.replace(utils_1.emojiPattern, '').trim();
210
214
  }
211
215
  onValueChangeLocal(value);
@@ -336,38 +340,38 @@ function MarkdownEditor(props) {
336
340
  const previewMDText = (mdText) => {
337
341
  let text = mdText;
338
342
  const markeddownOptions = Object.assign(Object.assign({}, props.markedownOptions), { openLinksInNewTab: true, gfm: true, breaks: true });
339
- return ui_toolkit_1.parseCommentMarkdown(text, { openImagesInNewTab: false, lazyLoadImages: false }, markeddownOptions);
343
+ return (0, ui_toolkit_1.parseCommentMarkdown)(text, { openImagesInNewTab: false, lazyLoadImages: false }, markeddownOptions);
340
344
  };
341
345
  const keydown = (event) => {
342
346
  if (event.ctrlKey) {
343
347
  switch (event.key) {
344
348
  case 'b':
345
349
  bold();
346
- utils_1.haltEvent(event);
350
+ (0, utils_1.haltEvent)(event);
347
351
  break;
348
352
  case 'i':
349
353
  italic();
350
- utils_1.haltEvent(event);
354
+ (0, utils_1.haltEvent)(event);
351
355
  break;
352
356
  case '1':
353
357
  h1();
354
- utils_1.haltEvent(event);
358
+ (0, utils_1.haltEvent)(event);
355
359
  break;
356
360
  case '2':
357
361
  h2();
358
- utils_1.haltEvent(event);
362
+ (0, utils_1.haltEvent)(event);
359
363
  break;
360
364
  case '3':
361
365
  h3();
362
- utils_1.haltEvent(event);
366
+ (0, utils_1.haltEvent)(event);
363
367
  break;
364
368
  case 'z':
365
369
  undo();
366
- utils_1.haltEvent(event);
370
+ (0, utils_1.haltEvent)(event);
367
371
  break;
368
372
  case 'y':
369
373
  redo();
370
- utils_1.haltEvent(event);
374
+ (0, utils_1.haltEvent)(event);
371
375
  break;
372
376
  }
373
377
  }
@@ -381,7 +385,7 @@ function MarkdownEditor(props) {
381
385
  };
382
386
  const contentRows = (props.value && props.value.split('\n').length + 1) || 4;
383
387
  // reset undo redo value after post comment
384
- props.disabled && !isEmpty_1.default(state.present) && resetURValue('');
388
+ props.disabled && !(0, isEmpty_1.default)(state.present) && resetURValue('');
385
389
  // editor is disabled and preview is true -> set preview to false
386
390
  props.disabled && isPreview && setIsPreview(false);
387
391
  const disablePreviewButton = mdValue === '';
@@ -410,7 +414,7 @@ function MarkdownEditor(props) {
410
414
  react_1.default.createElement(react_core_1.ToolbarItem, null,
411
415
  react_1.default.createElement("a", { className: "pf-v5-c-button pf-m-link pf-m-inline markdown-guidance", rel: "noopener noreferrer", target: "_blank", href: "/articles/4729621", "data-tracking-id": "md-guidance" },
412
416
  react_1.default.createElement(react_i18next_1.Trans, null, "Markdown guidance")))))),
413
- react_1.default.createElement("div", { className: "markdown-content" }, !isPreview ? (react_1.default.createElement("textarea", Object.assign({}, textAreaProps, { onKeyDown: keydown, placeholder: isPlainModeEnabled ? t(props.plainTextPlaceholder) : t(props.mdPlaceholder), ref: bindTextAreaRef, className: classnames_1.default('form-control', 'markdown-text-area', props.textAreaClassName, 'textArea'), value: mdValue, onChange: textChanged, rows: props.rows || contentRows, style: { height: '313px' } }))) : (react_1.default.createElement("div", { className: "markdown-preview-placeholder", style: { height: '313px' } },
417
+ react_1.default.createElement("div", { className: "markdown-content" }, !isPreview ? (react_1.default.createElement("textarea", Object.assign({}, textAreaProps, { onKeyDown: keydown, placeholder: isPlainModeEnabled ? t(props.plainTextPlaceholder) : t(props.mdPlaceholder), ref: bindTextAreaRef, className: (0, classnames_1.default)('form-control', 'markdown-text-area', props.textAreaClassName, 'textArea'), value: mdValue, onChange: textChanged, rows: props.rows || contentRows, style: { height: '313px' } }))) : (react_1.default.createElement("div", { className: "markdown-preview-placeholder", style: { height: '313px' } },
414
418
  react_1.default.createElement("div", { className: "markdown-preview", style: { maxHeight: '313px' } },
415
419
  react_1.default.createElement("div", { dangerouslySetInnerHTML: {
416
420
  __html: dompurify_1.default.sanitize(previewMDText(mdValue)),
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -5,7 +5,7 @@ interface IProps {
5
5
  className?: string;
6
6
  appStickyHeaderRef?: React.MutableRefObject<HTMLElement>;
7
7
  }
8
- declare function MoreOrLess(props: IProps): JSX.Element;
8
+ declare function MoreOrLess(props: IProps): React.JSX.Element;
9
9
  declare namespace MoreOrLess {
10
10
  var defaultProps: Partial<IProps>;
11
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"MoreOrLess.d.ts","sourceRoot":"","sources":["../../../src/MoreOrLess/MoreOrLess.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAIxE,UAAU,MAAM;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC;CAC5D;AAOD,iBAAS,UAAU,CAAC,KAAK,EAAE,MAAM,eAgEhC;kBAhEQ,UAAU;;;AAoEnB,OAAO,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"MoreOrLess.d.ts","sourceRoot":"","sources":["../../../src/MoreOrLess/MoreOrLess.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAIxE,UAAU,MAAM;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC;CAC5D;AAOD,iBAAS,UAAU,CAAC,KAAK,EAAE,MAAM,qBAgEhC;kBAhEQ,UAAU;;;AAoEnB,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -32,23 +36,23 @@ const defaultProps = {
32
36
  className: '',
33
37
  };
34
38
  function MoreOrLess(props) {
35
- const { t } = react_i18next_1.useTranslation();
36
- const [isVisible, setVisibility] = react_1.useState(false);
37
- const [y, setY] = react_1.useState(undefined);
38
- const [elem, setElem] = react_1.useState(null);
39
- const sectionRef = react_1.useRef(null);
39
+ const { t } = (0, react_i18next_1.useTranslation)();
40
+ const [isVisible, setVisibility] = (0, react_1.useState)(false);
41
+ const [y, setY] = (0, react_1.useState)(undefined);
42
+ const [elem, setElem] = (0, react_1.useState)(null);
43
+ const sectionRef = (0, react_1.useRef)(null);
40
44
  // eslint-disable-next-line react-hooks/exhaustive-deps
41
45
  const resizeObserver = new resize_observer_polyfill_1.default(() => elem.scrollHeight > props.maxHeight ? setVisibility(true) : setVisibility(false));
42
- react_1.useEffect(() => {
46
+ (0, react_1.useEffect)(() => {
43
47
  return () => resizeObserver.disconnect();
44
48
  }, [resizeObserver]);
45
- const ref = react_1.useCallback((node) => {
49
+ const ref = (0, react_1.useCallback)((node) => {
46
50
  if (node !== null) {
47
51
  setElem(node);
48
52
  resizeObserver.observe(node);
49
53
  }
50
54
  }, [resizeObserver]);
51
- const [showLess, setShowLess] = react_1.useState(false);
55
+ const [showLess, setShowLess] = (0, react_1.useState)(false);
52
56
  const getClassAndText = () => showLess ? { text: t('Show less'), class: 'Show less' } : { text: t('Show more'), class: 'Show more' };
53
57
  const handleMoreOrLess = (e) => {
54
58
  e.preventDefault();
@@ -58,7 +62,7 @@ function MoreOrLess(props) {
58
62
  setY(true);
59
63
  }
60
64
  else {
61
- utils_1.scrollIntoView(sectionRef, { navBarRef: props.appStickyHeaderRef, timeout: 0, offset: 30 });
65
+ (0, utils_1.scrollIntoView)(sectionRef, { navBarRef: props.appStickyHeaderRef, timeout: 0, offset: 30 });
62
66
  setY(undefined);
63
67
  }
64
68
  setShowLess((prevState) => !prevState);
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -13,6 +13,6 @@ interface IProps {
13
13
  perPageOptions?: PaginationProps['perPageOptions'];
14
14
  errorMessage?: string;
15
15
  }
16
- export declare function PaginatedList(props: IProps): JSX.Element;
16
+ export declare function PaginatedList(props: IProps): React.JSX.Element;
17
17
  export {};
18
18
  //# sourceMappingURL=PaginatedList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaginatedList.d.ts","sourceRoot":"","sources":["../../../src/PaginatedList/PaginatedList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIH,eAAe,EAElB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,UAAU,MAAM;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,cAAc,CAAC,EAAE,eAAe,CAAC,gBAAgB,CAAC,CAAC;IACnD,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,eA4D1C"}
1
+ {"version":3,"file":"PaginatedList.d.ts","sourceRoot":"","sources":["../../../src/PaginatedList/PaginatedList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIH,eAAe,EAElB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,UAAU,MAAM;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,cAAc,CAAC,EAAE,eAAe,CAAC,gBAAgB,CAAC,CAAC;IACnD,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,qBA4D1C"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -29,10 +33,10 @@ const react_1 = __importStar(require("react"));
29
33
  const AlertMessage_1 = require("../AlertMessage");
30
34
  const CustomContentLoader_1 = require("../CustomContentLoader/CustomContentLoader");
31
35
  function PaginatedList(props) {
32
- const [pageSize, setPageSize] = react_1.useState(props.perPage || 10);
33
- const [currentPage, setCurrentPage] = react_1.useState(1);
36
+ const [pageSize, setPageSize] = (0, react_1.useState)(props.perPage || 10);
37
+ const [currentPage, setCurrentPage] = (0, react_1.useState)(1);
34
38
  const indexOfFirstShownElement = (currentPage - 1) * pageSize;
35
- const skeltonLoader = times_1.default(pageSize, (index) => react_1.default.createElement(CustomContentLoader_1.CustomContentLoader, { key: index }));
39
+ const skeltonLoader = (0, times_1.default)(pageSize, (index) => react_1.default.createElement(CustomContentLoader_1.CustomContentLoader, { key: index }));
36
40
  // wrap the list components in patternfly list item component
37
41
  let listItems = props.listItems.map((listItem, index) => (react_1.default.createElement(react_core_1.ListItem, { type: 'none', className: `${props.id}-listItem`, key: index }, listItem)));
38
42
  // trim the list to the "current page" if data is not paginated by server.
@@ -49,7 +53,7 @@ function PaginatedList(props) {
49
53
  onSetPage(event, 1);
50
54
  };
51
55
  // reset to first page on fetch
52
- react_1.useEffect(() => {
56
+ (0, react_1.useEffect)(() => {
53
57
  if (props.isFetching) {
54
58
  setCurrentPage(1);
55
59
  }
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1,9 +1,10 @@
1
1
  import './paginationCompact.css';
2
+ import React from 'react';
2
3
  interface IProps {
3
4
  maxPage: number;
4
5
  dataTrackingId: string;
5
6
  onPageChange: (currentPage: number) => void;
6
7
  }
7
- export declare function PaginationCompact({ maxPage, dataTrackingId, onPageChange }: IProps): JSX.Element;
8
+ export declare function PaginationCompact({ maxPage, dataTrackingId, onPageChange }: IProps): React.JSX.Element;
8
9
  export {};
9
10
  //# sourceMappingURL=PaginationCompact.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaginationCompact.d.ts","sourceRoot":"","sources":["../../../src/PaginationCompact/PaginationCompact.tsx"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AAOjC,UAAU,MAAM;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C;AAED,wBAAgB,iBAAiB,CAAC,EAAE,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,EAAE,MAAM,eA0DlF"}
1
+ {"version":3,"file":"PaginationCompact.d.ts","sourceRoot":"","sources":["../../../src/PaginationCompact/PaginationCompact.tsx"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AAKjC,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,UAAU,MAAM;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C;AAED,wBAAgB,iBAAiB,CAAC,EAAE,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,EAAE,MAAM,qBA0DlF"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -29,15 +33,15 @@ const angle_left_icon_1 = __importDefault(require("@patternfly/react-icons/dist/
29
33
  const angle_right_icon_1 = __importDefault(require("@patternfly/react-icons/dist/js/icons/angle-right-icon"));
30
34
  const react_1 = __importStar(require("react"));
31
35
  function PaginationCompact({ maxPage, dataTrackingId, onPageChange }) {
32
- const [currentPage, setCurrentPage] = react_1.useState(1);
33
- const isFirstMountRef = react_1.useRef(true);
36
+ const [currentPage, setCurrentPage] = (0, react_1.useState)(1);
37
+ const isFirstMountRef = (0, react_1.useRef)(true);
34
38
  const onNextClick = () => {
35
39
  setCurrentPage((currentPage) => currentPage + 1);
36
40
  };
37
41
  const onPreviousClick = () => {
38
42
  setCurrentPage((currentPage) => currentPage - 1);
39
43
  };
40
- react_1.useEffect(() => {
44
+ (0, react_1.useEffect)(() => {
41
45
  if (isFirstMountRef.current) {
42
46
  isFirstMountRef.current = false;
43
47
  return;
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1,4 +1,5 @@
1
1
  import './PhoneInput.scss';
2
+ import React from 'react';
2
3
  interface IProps {
3
4
  phoneValue: string;
4
5
  countryCode?: string;
@@ -14,6 +15,6 @@ export declare const getPhoneObj: (phoneNumber: string) => {
14
15
  countryCode: string;
15
16
  phoneLine: string;
16
17
  };
17
- export declare function PhoneInput(props: IProps): JSX.Element;
18
+ export declare function PhoneInput(props: IProps): React.JSX.Element;
18
19
  export {};
19
20
  //# sourceMappingURL=PhoneInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PhoneInput.d.ts","sourceRoot":"","sources":["../../../src/PhoneInput/PhoneInput.tsx"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAC;AAW3B,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,CAAC,MAAM,KAAA,KAAK,IAAI,CAAC;IACrC,WAAW,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IACtE,mBAAmB,CAAC,EAAE,CAAC,MAAM,KAAA,KAAK,IAAI,CAAC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,CAAC,OAAO,KAAA,KAAK,IAAI,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AA4DD,eAAO,MAAM,WAAW,gBAAiB,MAAM;;;CAqB9C,CAAC;AAEF,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,eAqPvC"}
1
+ {"version":3,"file":"PhoneInput.d.ts","sourceRoot":"","sources":["../../../src/PhoneInput/PhoneInput.tsx"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAC;AAM3B,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,CAAC,MAAM,KAAA,KAAK,IAAI,CAAC;IACrC,WAAW,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IACtE,mBAAmB,CAAC,EAAE,CAAC,MAAM,KAAA,KAAK,IAAI,CAAC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,CAAC,OAAO,KAAA,KAAK,IAAI,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AA4DD,eAAO,MAAM,WAAW,gBAAiB,MAAM;;;CAqB9C,CAAC;AAEF,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,qBAqPvC"}