@rh-support/components 2.1.49 → 2.1.50

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 (336) hide show
  1. package/lib/esm/helperFunctions/errorMessage.d.ts +1 -0
  2. package/lib/esm/helperFunctions/errorMessage.d.ts.map +1 -1
  3. package/package.json +10 -21
  4. package/lib/cjs/AlertMessage/AlertMessage.css +0 -9
  5. package/lib/cjs/AlertMessage/AlertMessage.d.ts +0 -24
  6. package/lib/cjs/AlertMessage/AlertMessage.d.ts.map +0 -1
  7. package/lib/cjs/AlertMessage/AlertMessage.js +0 -30
  8. package/lib/cjs/AlertMessage/index.d.ts +0 -2
  9. package/lib/cjs/AlertMessage/index.d.ts.map +0 -1
  10. package/lib/cjs/AlertMessage/index.js +0 -18
  11. package/lib/cjs/ConfirmationModal/ConfirmationContext.d.ts +0 -7
  12. package/lib/cjs/ConfirmationModal/ConfirmationContext.d.ts.map +0 -1
  13. package/lib/cjs/ConfirmationModal/ConfirmationContext.js +0 -57
  14. package/lib/cjs/ConfirmationModal/ConfirmationDialog.d.ts +0 -30
  15. package/lib/cjs/ConfirmationModal/ConfirmationDialog.d.ts.map +0 -1
  16. package/lib/cjs/ConfirmationModal/ConfirmationDialog.js +0 -28
  17. package/lib/cjs/ConfirmationModal/ConfirmationModal.stories.d.ts +0 -1
  18. package/lib/cjs/ConfirmationModal/ConfirmationModal.stories.d.ts.map +0 -1
  19. package/lib/cjs/ConfirmationModal/ConfirmationModal.stories.js +0 -36
  20. package/lib/cjs/ConfirmationModal/index.d.ts +0 -3
  21. package/lib/cjs/ConfirmationModal/index.d.ts.map +0 -1
  22. package/lib/cjs/ConfirmationModal/index.js +0 -18
  23. package/lib/cjs/CoverSpinner/CoverSpinner.css +0 -16
  24. package/lib/cjs/CoverSpinner/CoverSpinner.d.ts +0 -4
  25. package/lib/cjs/CoverSpinner/CoverSpinner.d.ts.map +0 -1
  26. package/lib/cjs/CoverSpinner/CoverSpinner.js +0 -13
  27. package/lib/cjs/CoverSpinner/index.d.ts +0 -2
  28. package/lib/cjs/CoverSpinner/index.d.ts.map +0 -1
  29. package/lib/cjs/CoverSpinner/index.js +0 -17
  30. package/lib/cjs/CustomContentLoader/CustomContentLoader.d.ts +0 -15
  31. package/lib/cjs/CustomContentLoader/CustomContentLoader.d.ts.map +0 -1
  32. package/lib/cjs/CustomContentLoader/CustomContentLoader.js +0 -62
  33. package/lib/cjs/CustomContentLoader/index.d.ts +0 -2
  34. package/lib/cjs/CustomContentLoader/index.d.ts.map +0 -1
  35. package/lib/cjs/CustomContentLoader/index.js +0 -17
  36. package/lib/cjs/CustomTextInput/CustomTextInput.d.ts +0 -14
  37. package/lib/cjs/CustomTextInput/CustomTextInput.d.ts.map +0 -1
  38. package/lib/cjs/CustomTextInput/CustomTextInput.js +0 -50
  39. package/lib/cjs/CustomTextInput/index.d.ts +0 -2
  40. package/lib/cjs/CustomTextInput/index.d.ts.map +0 -1
  41. package/lib/cjs/CustomTextInput/index.js +0 -17
  42. package/lib/cjs/DropDownList/AsyncDropDownList.d.ts +0 -6
  43. package/lib/cjs/DropDownList/AsyncDropDownList.d.ts.map +0 -1
  44. package/lib/cjs/DropDownList/AsyncDropDownList.js +0 -10
  45. package/lib/cjs/DropDownList/DropDownList.d.ts +0 -9
  46. package/lib/cjs/DropDownList/DropDownList.d.ts.map +0 -1
  47. package/lib/cjs/DropDownList/DropDownList.js +0 -145
  48. package/lib/cjs/DropDownList/DropdownWrapper.d.ts +0 -16
  49. package/lib/cjs/DropDownList/DropdownWrapper.d.ts.map +0 -1
  50. package/lib/cjs/DropDownList/DropdownWrapper.js +0 -25
  51. package/lib/cjs/DropDownList/MultiSelectDropdownList.d.ts +0 -4
  52. package/lib/cjs/DropDownList/MultiSelectDropdownList.d.ts.map +0 -1
  53. package/lib/cjs/DropDownList/MultiSelectDropdownList.js +0 -7
  54. package/lib/cjs/DropDownList/Readme.md +0 -114
  55. package/lib/cjs/DropDownList/SearchableList.d.ts +0 -14
  56. package/lib/cjs/DropDownList/SearchableList.d.ts.map +0 -1
  57. package/lib/cjs/DropDownList/SearchableList.js +0 -104
  58. package/lib/cjs/DropDownList/SelectList.d.ts +0 -11
  59. package/lib/cjs/DropDownList/SelectList.d.ts.map +0 -1
  60. package/lib/cjs/DropDownList/SelectList.js +0 -41
  61. package/lib/cjs/DropDownList/async.d.ts +0 -9
  62. package/lib/cjs/DropDownList/async.d.ts.map +0 -1
  63. package/lib/cjs/DropDownList/async.js +0 -142
  64. package/lib/cjs/DropDownList/dropdownList.css +0 -59
  65. package/lib/cjs/DropDownList/dropdownUtils.d.ts +0 -5
  66. package/lib/cjs/DropDownList/dropdownUtils.d.ts.map +0 -1
  67. package/lib/cjs/DropDownList/dropdownUtils.js +0 -29
  68. package/lib/cjs/DropDownList/index.d.ts +0 -4
  69. package/lib/cjs/DropDownList/index.d.ts.map +0 -1
  70. package/lib/cjs/DropDownList/index.js +0 -19
  71. package/lib/cjs/DropDownList/types.d.ts +0 -54
  72. package/lib/cjs/DropDownList/types.d.ts.map +0 -1
  73. package/lib/cjs/DropDownList/types.js +0 -2
  74. package/lib/cjs/DropDownList/withMulti.d.ts +0 -5
  75. package/lib/cjs/DropDownList/withMulti.d.ts.map +0 -1
  76. package/lib/cjs/DropDownList/withMulti.js +0 -73
  77. package/lib/cjs/ErrorBoundary/ErrorBoundary.d.ts +0 -37
  78. package/lib/cjs/ErrorBoundary/ErrorBoundary.d.ts.map +0 -1
  79. package/lib/cjs/ErrorBoundary/ErrorBoundary.js +0 -66
  80. package/lib/cjs/ErrorBoundary/ErrorBoundaryFallbackComponent.d.ts +0 -15
  81. package/lib/cjs/ErrorBoundary/ErrorBoundaryFallbackComponent.d.ts.map +0 -1
  82. package/lib/cjs/ErrorBoundary/ErrorBoundaryFallbackComponent.js +0 -39
  83. package/lib/cjs/ErrorBoundary/index.d.ts +0 -2
  84. package/lib/cjs/ErrorBoundary/index.d.ts.map +0 -1
  85. package/lib/cjs/ErrorBoundary/index.js +0 -17
  86. package/lib/cjs/ErrorPages/Generic403.d.ts +0 -3
  87. package/lib/cjs/ErrorPages/Generic403.d.ts.map +0 -1
  88. package/lib/cjs/ErrorPages/Generic403.js +0 -14
  89. package/lib/cjs/ErrorPages/index.d.ts +0 -2
  90. package/lib/cjs/ErrorPages/index.d.ts.map +0 -1
  91. package/lib/cjs/ErrorPages/index.js +0 -17
  92. package/lib/cjs/FeedbackForm/FeedbackForm.d.ts +0 -12
  93. package/lib/cjs/FeedbackForm/FeedbackForm.d.ts.map +0 -1
  94. package/lib/cjs/FeedbackForm/FeedbackForm.js +0 -144
  95. package/lib/cjs/FeedbackForm/index.d.ts +0 -2
  96. package/lib/cjs/FeedbackForm/index.d.ts.map +0 -1
  97. package/lib/cjs/FeedbackForm/index.js +0 -17
  98. package/lib/cjs/Functional/CaseContactsSelectorExternal.d.ts +0 -30
  99. package/lib/cjs/Functional/CaseContactsSelectorExternal.d.ts.map +0 -1
  100. package/lib/cjs/Functional/CaseContactsSelectorExternal.js +0 -227
  101. package/lib/cjs/Functional/index.d.ts +0 -2
  102. package/lib/cjs/Functional/index.d.ts.map +0 -1
  103. package/lib/cjs/Functional/index.js +0 -17
  104. package/lib/cjs/InlineEdit/InlineEdit.d.ts +0 -37
  105. package/lib/cjs/InlineEdit/InlineEdit.d.ts.map +0 -1
  106. package/lib/cjs/InlineEdit/InlineEdit.js +0 -173
  107. package/lib/cjs/InlineEdit/NewInlineEdit.d.ts +0 -41
  108. package/lib/cjs/InlineEdit/NewInlineEdit.d.ts.map +0 -1
  109. package/lib/cjs/InlineEdit/NewInlineEdit.js +0 -182
  110. package/lib/cjs/InlineEdit/index.d.ts +0 -3
  111. package/lib/cjs/InlineEdit/index.d.ts.map +0 -1
  112. package/lib/cjs/InlineEdit/index.js +0 -18
  113. package/lib/cjs/InlineEdit/inlineEdit.css +0 -29
  114. package/lib/cjs/InlineEdit/newInlineEdit.css +0 -44
  115. package/lib/cjs/LanguageSelector/LanguageSelector.d.ts +0 -26
  116. package/lib/cjs/LanguageSelector/LanguageSelector.d.ts.map +0 -1
  117. package/lib/cjs/LanguageSelector/LanguageSelector.js +0 -65
  118. package/lib/cjs/LanguageSelector/index.d.ts +0 -2
  119. package/lib/cjs/LanguageSelector/index.d.ts.map +0 -1
  120. package/lib/cjs/LanguageSelector/index.js +0 -17
  121. package/lib/cjs/LanguageSelector/languageSelector.css +0 -5
  122. package/lib/cjs/LoadingDots/LoadingDots.css +0 -33
  123. package/lib/cjs/LoadingDots/LoadingDots.d.ts +0 -13
  124. package/lib/cjs/LoadingDots/LoadingDots.d.ts.map +0 -1
  125. package/lib/cjs/LoadingDots/LoadingDots.js +0 -25
  126. package/lib/cjs/LoadingDots/index.d.ts +0 -2
  127. package/lib/cjs/LoadingDots/index.d.ts.map +0 -1
  128. package/lib/cjs/LoadingDots/index.js +0 -18
  129. package/lib/cjs/LoadingIndicator/LoadingIndicator.d.ts +0 -15
  130. package/lib/cjs/LoadingIndicator/LoadingIndicator.d.ts.map +0 -1
  131. package/lib/cjs/LoadingIndicator/LoadingIndicator.js +0 -25
  132. package/lib/cjs/LoadingIndicator/index.d.ts +0 -2
  133. package/lib/cjs/LoadingIndicator/index.d.ts.map +0 -1
  134. package/lib/cjs/LoadingIndicator/index.js +0 -17
  135. package/lib/cjs/LoadingIndicator/loadingIndicator.css +0 -79
  136. package/lib/cjs/LoginModal/LoginModal.d.ts +0 -15
  137. package/lib/cjs/LoginModal/LoginModal.d.ts.map +0 -1
  138. package/lib/cjs/LoginModal/LoginModal.js +0 -21
  139. package/lib/cjs/LoginModal/index.d.ts +0 -2
  140. package/lib/cjs/LoginModal/index.d.ts.map +0 -1
  141. package/lib/cjs/LoginModal/index.js +0 -17
  142. package/lib/cjs/MarkdownEditor/MarkdownEditor.d.ts +0 -45
  143. package/lib/cjs/MarkdownEditor/MarkdownEditor.d.ts.map +0 -1
  144. package/lib/cjs/MarkdownEditor/MarkdownEditor.js +0 -442
  145. package/lib/cjs/MarkdownEditor/index.d.ts +0 -2
  146. package/lib/cjs/MarkdownEditor/index.d.ts.map +0 -1
  147. package/lib/cjs/MarkdownEditor/index.js +0 -17
  148. package/lib/cjs/MarkdownEditor/markdownEditor.css +0 -113
  149. package/lib/cjs/MoreOrLess/MoreOrLess.d.ts +0 -13
  150. package/lib/cjs/MoreOrLess/MoreOrLess.d.ts.map +0 -1
  151. package/lib/cjs/MoreOrLess/MoreOrLess.js +0 -75
  152. package/lib/cjs/MoreOrLess/index.d.ts +0 -2
  153. package/lib/cjs/MoreOrLess/index.d.ts.map +0 -1
  154. package/lib/cjs/MoreOrLess/index.js +0 -17
  155. package/lib/cjs/PaginatedList/PaginatedList.d.ts +0 -18
  156. package/lib/cjs/PaginatedList/PaginatedList.d.ts.map +0 -1
  157. package/lib/cjs/PaginatedList/PaginatedList.js +0 -67
  158. package/lib/cjs/PaginatedList/index.d.ts +0 -2
  159. package/lib/cjs/PaginatedList/index.d.ts.map +0 -1
  160. package/lib/cjs/PaginatedList/index.js +0 -17
  161. package/lib/cjs/PaginationCompact/PaginationCompact.d.ts +0 -10
  162. package/lib/cjs/PaginationCompact/PaginationCompact.d.ts.map +0 -1
  163. package/lib/cjs/PaginationCompact/PaginationCompact.js +0 -67
  164. package/lib/cjs/PaginationCompact/index.d.ts +0 -2
  165. package/lib/cjs/PaginationCompact/index.d.ts.map +0 -1
  166. package/lib/cjs/PaginationCompact/index.js +0 -17
  167. package/lib/cjs/PaginationCompact/paginationCompact.css +0 -5
  168. package/lib/cjs/PhoneInput/CountryData.d.ts +0 -3
  169. package/lib/cjs/PhoneInput/CountryData.d.ts.map +0 -1
  170. package/lib/cjs/PhoneInput/CountryData.js +0 -583
  171. package/lib/cjs/PhoneInput/PhoneInput.d.ts +0 -20
  172. package/lib/cjs/PhoneInput/PhoneInput.d.ts.map +0 -1
  173. package/lib/cjs/PhoneInput/PhoneInput.js +0 -293
  174. package/lib/cjs/PhoneInput/PhoneInput.scss +0 -753
  175. package/lib/cjs/PhoneInput/flags.png +0 -0
  176. package/lib/cjs/PhoneInput/index.d.ts +0 -2
  177. package/lib/cjs/PhoneInput/index.d.ts.map +0 -1
  178. package/lib/cjs/PhoneInput/index.js +0 -17
  179. package/lib/cjs/ProgressBar/CircularProgressBar/CircularProgressBar.d.ts +0 -9
  180. package/lib/cjs/ProgressBar/CircularProgressBar/CircularProgressBar.d.ts.map +0 -1
  181. package/lib/cjs/ProgressBar/CircularProgressBar/CircularProgressBar.js +0 -68
  182. package/lib/cjs/ProgressBar/CircularProgressBar/Path.d.ts +0 -12
  183. package/lib/cjs/ProgressBar/CircularProgressBar/Path.d.ts.map +0 -1
  184. package/lib/cjs/ProgressBar/CircularProgressBar/Path.js +0 -39
  185. package/lib/cjs/ProgressBar/CircularProgressBar/constants.d.ts +0 -6
  186. package/lib/cjs/ProgressBar/CircularProgressBar/constants.d.ts.map +0 -1
  187. package/lib/cjs/ProgressBar/CircularProgressBar/constants.js +0 -8
  188. package/lib/cjs/ProgressBar/CircularProgressBar/index.d.ts +0 -2
  189. package/lib/cjs/ProgressBar/CircularProgressBar/index.d.ts.map +0 -1
  190. package/lib/cjs/ProgressBar/CircularProgressBar/index.js +0 -17
  191. package/lib/cjs/ProgressBar/CircularProgressBar/styles.css +0 -60
  192. package/lib/cjs/ProgressBar/CircularProgressBar/types.d.ts +0 -32
  193. package/lib/cjs/ProgressBar/CircularProgressBar/types.d.ts.map +0 -1
  194. package/lib/cjs/ProgressBar/CircularProgressBar/types.js +0 -2
  195. package/lib/cjs/ProgressBar/ProgressBar.d.ts +0 -15
  196. package/lib/cjs/ProgressBar/ProgressBar.d.ts.map +0 -1
  197. package/lib/cjs/ProgressBar/ProgressBar.js +0 -36
  198. package/lib/cjs/ProgressBar/index.d.ts +0 -3
  199. package/lib/cjs/ProgressBar/index.d.ts.map +0 -1
  200. package/lib/cjs/ProgressBar/index.js +0 -18
  201. package/lib/cjs/PromisifyModal/PromisifyModal.d.ts +0 -15
  202. package/lib/cjs/PromisifyModal/PromisifyModal.d.ts.map +0 -1
  203. package/lib/cjs/PromisifyModal/PromisifyModal.js +0 -43
  204. package/lib/cjs/PromisifyModal/index.d.ts +0 -2
  205. package/lib/cjs/PromisifyModal/index.d.ts.map +0 -1
  206. package/lib/cjs/PromisifyModal/index.js +0 -17
  207. package/lib/cjs/SubscriptionAbuse/SubscriptionAbuseModal.d.ts +0 -8
  208. package/lib/cjs/SubscriptionAbuse/SubscriptionAbuseModal.d.ts.map +0 -1
  209. package/lib/cjs/SubscriptionAbuse/SubscriptionAbuseModal.js +0 -20
  210. package/lib/cjs/SubscriptionAbuse/const.d.ts +0 -5
  211. package/lib/cjs/SubscriptionAbuse/const.d.ts.map +0 -1
  212. package/lib/cjs/SubscriptionAbuse/const.js +0 -15
  213. package/lib/cjs/SubscriptionAbuse/index.d.ts +0 -3
  214. package/lib/cjs/SubscriptionAbuse/index.d.ts.map +0 -1
  215. package/lib/cjs/SubscriptionAbuse/index.js +0 -18
  216. package/lib/cjs/SupportFeedbackForm/SupportFeedbackForm.d.ts +0 -12
  217. package/lib/cjs/SupportFeedbackForm/SupportFeedbackForm.d.ts.map +0 -1
  218. package/lib/cjs/SupportFeedbackForm/SupportFeedbackForm.js +0 -48
  219. package/lib/cjs/SupportFeedbackForm/SupportFeedbackModal.d.ts +0 -11
  220. package/lib/cjs/SupportFeedbackForm/SupportFeedbackModal.d.ts.map +0 -1
  221. package/lib/cjs/SupportFeedbackForm/SupportFeedbackModal.js +0 -182
  222. package/lib/cjs/SupportFeedbackForm/index.d.ts +0 -3
  223. package/lib/cjs/SupportFeedbackForm/index.d.ts.map +0 -1
  224. package/lib/cjs/SupportFeedbackForm/index.js +0 -18
  225. package/lib/cjs/Table/PFTable.d.ts +0 -40
  226. package/lib/cjs/Table/PFTable.d.ts.map +0 -1
  227. package/lib/cjs/Table/PFTable.js +0 -208
  228. package/lib/cjs/Table/README.md +0 -65
  229. package/lib/cjs/Table/TableComponent.d.ts +0 -11
  230. package/lib/cjs/Table/TableComponent.d.ts.map +0 -1
  231. package/lib/cjs/Table/TableComponent.js +0 -42
  232. package/lib/cjs/Table/TablePagination.d.ts +0 -19
  233. package/lib/cjs/Table/TablePagination.d.ts.map +0 -1
  234. package/lib/cjs/Table/TablePagination.js +0 -50
  235. package/lib/cjs/Table/TableProvider.d.ts +0 -15
  236. package/lib/cjs/Table/TableProvider.d.ts.map +0 -1
  237. package/lib/cjs/Table/TableProvider.js +0 -25
  238. package/lib/cjs/Table/index.d.ts +0 -4
  239. package/lib/cjs/Table/index.d.ts.map +0 -1
  240. package/lib/cjs/Table/index.js +0 -19
  241. package/lib/cjs/TermsAndConditions/AcceptTermsModal.d.ts +0 -15
  242. package/lib/cjs/TermsAndConditions/AcceptTermsModal.d.ts.map +0 -1
  243. package/lib/cjs/TermsAndConditions/AcceptTermsModal.js +0 -121
  244. package/lib/cjs/TermsAndConditions/index.d.ts +0 -2
  245. package/lib/cjs/TermsAndConditions/index.d.ts.map +0 -1
  246. package/lib/cjs/TermsAndConditions/index.js +0 -17
  247. package/lib/cjs/TextAreaAutosize/TextAreaAutosize.d.ts +0 -8
  248. package/lib/cjs/TextAreaAutosize/TextAreaAutosize.d.ts.map +0 -1
  249. package/lib/cjs/TextAreaAutosize/TextAreaAutosize.js +0 -140
  250. package/lib/cjs/TextAreaAutosize/index.d.ts +0 -2
  251. package/lib/cjs/TextAreaAutosize/index.d.ts.map +0 -1
  252. package/lib/cjs/TextAreaAutosize/index.js +0 -17
  253. package/lib/cjs/TextAreaResizable/TextAreaResizable.d.ts +0 -20
  254. package/lib/cjs/TextAreaResizable/TextAreaResizable.d.ts.map +0 -1
  255. package/lib/cjs/TextAreaResizable/TextAreaResizable.js +0 -60
  256. package/lib/cjs/TextAreaResizable/index.d.ts +0 -2
  257. package/lib/cjs/TextAreaResizable/index.d.ts.map +0 -1
  258. package/lib/cjs/TextAreaResizable/index.js +0 -17
  259. package/lib/cjs/ToastNotification/ToastNotification.d.ts +0 -28
  260. package/lib/cjs/ToastNotification/ToastNotification.d.ts.map +0 -1
  261. package/lib/cjs/ToastNotification/ToastNotification.js +0 -71
  262. package/lib/cjs/ToastNotification/index.d.ts +0 -2
  263. package/lib/cjs/ToastNotification/index.d.ts.map +0 -1
  264. package/lib/cjs/ToastNotification/index.js +0 -17
  265. package/lib/cjs/ToastNotification/toastNotification.css +0 -22
  266. package/lib/cjs/TopContentSearch/TopContentSearch.d.ts +0 -14
  267. package/lib/cjs/TopContentSearch/TopContentSearch.d.ts.map +0 -1
  268. package/lib/cjs/TopContentSearch/TopContentSearch.js +0 -143
  269. package/lib/cjs/TopContentSearch/index.d.ts +0 -2
  270. package/lib/cjs/TopContentSearch/index.d.ts.map +0 -1
  271. package/lib/cjs/TopContentSearch/index.js +0 -17
  272. package/lib/cjs/TopContentSearch/topContentSearch.scss +0 -22
  273. package/lib/cjs/ValueChangedIcon/ValueChangedIcon.d.ts +0 -14
  274. package/lib/cjs/ValueChangedIcon/ValueChangedIcon.d.ts.map +0 -1
  275. package/lib/cjs/ValueChangedIcon/ValueChangedIcon.js +0 -80
  276. package/lib/cjs/ValueChangedIcon/index.d.ts +0 -2
  277. package/lib/cjs/ValueChangedIcon/index.d.ts.map +0 -1
  278. package/lib/cjs/ValueChangedIcon/index.js +0 -17
  279. package/lib/cjs/helperFunctions/errorMessage.d.ts +0 -12
  280. package/lib/cjs/helperFunctions/errorMessage.d.ts.map +0 -1
  281. package/lib/cjs/helperFunctions/errorMessage.js +0 -95
  282. package/lib/cjs/helperFunctions/errorMessage.scss +0 -3
  283. package/lib/cjs/helperFunctions/index.d.ts +0 -2
  284. package/lib/cjs/helperFunctions/index.d.ts.map +0 -1
  285. package/lib/cjs/helperFunctions/index.js +0 -17
  286. package/lib/cjs/hooks/index.d.ts +0 -15
  287. package/lib/cjs/hooks/index.d.ts.map +0 -1
  288. package/lib/cjs/hooks/index.js +0 -30
  289. package/lib/cjs/hooks/useBreakpoint.d.ts +0 -12
  290. package/lib/cjs/hooks/useBreakpoint.d.ts.map +0 -1
  291. package/lib/cjs/hooks/useBreakpoint.js +0 -91
  292. package/lib/cjs/hooks/useCopyToClipboard.d.ts +0 -6
  293. package/lib/cjs/hooks/useCopyToClipboard.d.ts.map +0 -1
  294. package/lib/cjs/hooks/useCopyToClipboard.js +0 -40
  295. package/lib/cjs/hooks/useDebounce.d.ts +0 -9
  296. package/lib/cjs/hooks/useDebounce.d.ts.map +0 -1
  297. package/lib/cjs/hooks/useDebounce.js +0 -40
  298. package/lib/cjs/hooks/useFetch.d.ts +0 -20
  299. package/lib/cjs/hooks/useFetch.d.ts.map +0 -1
  300. package/lib/cjs/hooks/useFetch.js +0 -70
  301. package/lib/cjs/hooks/useForceUpdate.d.ts +0 -18
  302. package/lib/cjs/hooks/useForceUpdate.d.ts.map +0 -1
  303. package/lib/cjs/hooks/useForceUpdate.js +0 -28
  304. package/lib/cjs/hooks/useForkRef.d.ts +0 -2
  305. package/lib/cjs/hooks/useForkRef.d.ts.map +0 -1
  306. package/lib/cjs/hooks/useForkRef.js +0 -29
  307. package/lib/cjs/hooks/useIsMounted.d.ts +0 -3
  308. package/lib/cjs/hooks/useIsMounted.d.ts.map +0 -1
  309. package/lib/cjs/hooks/useIsMounted.js +0 -18
  310. package/lib/cjs/hooks/useLRUCache.d.ts +0 -8
  311. package/lib/cjs/hooks/useLRUCache.d.ts.map +0 -1
  312. package/lib/cjs/hooks/useLRUCache.js +0 -28
  313. package/lib/cjs/hooks/useLocalStorage.d.ts +0 -5
  314. package/lib/cjs/hooks/useLocalStorage.d.ts.map +0 -1
  315. package/lib/cjs/hooks/useLocalStorage.js +0 -39
  316. package/lib/cjs/hooks/useOnScreen.d.ts +0 -2
  317. package/lib/cjs/hooks/useOnScreen.d.ts.map +0 -1
  318. package/lib/cjs/hooks/useOnScreen.js +0 -18
  319. package/lib/cjs/hooks/usePolling.d.ts +0 -2
  320. package/lib/cjs/hooks/usePolling.d.ts.map +0 -1
  321. package/lib/cjs/hooks/usePolling.js +0 -19
  322. package/lib/cjs/hooks/usePrevious.d.ts +0 -2
  323. package/lib/cjs/hooks/usePrevious.d.ts.map +0 -1
  324. package/lib/cjs/hooks/usePrevious.js +0 -12
  325. package/lib/cjs/hooks/useSelectKeyboardNavigator.d.ts +0 -13
  326. package/lib/cjs/hooks/useSelectKeyboardNavigator.d.ts.map +0 -1
  327. package/lib/cjs/hooks/useSelectKeyboardNavigator.js +0 -58
  328. package/lib/cjs/hooks/useTitle.d.ts +0 -2
  329. package/lib/cjs/hooks/useTitle.d.ts.map +0 -1
  330. package/lib/cjs/hooks/useTitle.js +0 -14
  331. package/lib/cjs/hooks/useUndo.d.ts +0 -22
  332. package/lib/cjs/hooks/useUndo.d.ts.map +0 -1
  333. package/lib/cjs/hooks/useUndo.js +0 -76
  334. package/lib/cjs/index.d.ts +0 -34
  335. package/lib/cjs/index.d.ts.map +0 -1
  336. package/lib/cjs/index.js +0 -49
@@ -1,75 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = 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);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- var __importDefault = (this && this.__importDefault) || function (mod) {
26
- return (mod && mod.__esModule) ? mod : { "default": mod };
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.MoreOrLess = void 0;
30
- const utils_1 = require("@rh-support/utils");
31
- const react_1 = __importStar(require("react"));
32
- const react_i18next_1 = require("react-i18next");
33
- const resize_observer_polyfill_1 = __importDefault(require("resize-observer-polyfill"));
34
- const defaultProps = {
35
- maxHeight: 500,
36
- className: '',
37
- };
38
- function MoreOrLess(props) {
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);
44
- // eslint-disable-next-line react-hooks/exhaustive-deps
45
- const resizeObserver = new resize_observer_polyfill_1.default(() => elem.scrollHeight > props.maxHeight ? setVisibility(true) : setVisibility(false));
46
- (0, react_1.useEffect)(() => {
47
- return () => resizeObserver.disconnect();
48
- }, [resizeObserver]);
49
- const ref = (0, react_1.useCallback)((node) => {
50
- if (node !== null) {
51
- setElem(node);
52
- resizeObserver.observe(node);
53
- }
54
- }, [resizeObserver]);
55
- const [showLess, setShowLess] = (0, react_1.useState)(false);
56
- const getClassAndText = () => showLess ? { text: t('Show less'), class: 'Show less' } : { text: t('Show more'), class: 'Show more' };
57
- const handleMoreOrLess = (e) => {
58
- e.preventDefault();
59
- // save scroll y position after click on more and then
60
- // scroll to the saved y position after clicking on less
61
- if (!y) {
62
- setY(true);
63
- }
64
- else {
65
- (0, utils_1.scrollIntoView)(sectionRef, { navBarRef: props.appStickyHeaderRef, timeout: 0, offset: 30 });
66
- setY(undefined);
67
- }
68
- setShowLess((prevState) => !prevState);
69
- };
70
- return (react_1.default.createElement("div", { className: `${props.className}`, ref: sectionRef },
71
- react_1.default.createElement("div", { ref: ref, style: { maxHeight: props.maxHeight + 'px' }, className: 'more-less-wrapper ' + (showLess ? 'open' : '') }, props.children),
72
- isVisible && (react_1.default.createElement("button", { onClick: handleMoreOrLess, className: `btn btn-app btn-link ${getClassAndText().class}`, type: "button" }, getClassAndText().text))));
73
- }
74
- exports.MoreOrLess = MoreOrLess;
75
- MoreOrLess.defaultProps = defaultProps;
@@ -1,2 +0,0 @@
1
- export * from './MoreOrLess';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/MoreOrLess/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = 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);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./MoreOrLess"), exports);
@@ -1,18 +0,0 @@
1
- import { PaginationProps } from '@patternfly/react-core';
2
- import React from 'react';
3
- interface IProps {
4
- id: string;
5
- className?: string;
6
- listItems: React.ReactNode[];
7
- perPage?: number;
8
- serverPaginated?: boolean;
9
- itemCount?: number;
10
- isFetching?: boolean;
11
- onSetPage?: (pageNumber: number) => void;
12
- onPerPageSelect?: (pageSize: number) => void;
13
- perPageOptions?: PaginationProps['perPageOptions'];
14
- errorMessage?: string;
15
- }
16
- export declare function PaginatedList(props: IProps): React.JSX.Element;
17
- export {};
18
- //# sourceMappingURL=PaginatedList.d.ts.map
@@ -1 +0,0 @@
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,67 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = 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);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- var __importDefault = (this && this.__importDefault) || function (mod) {
26
- return (mod && mod.__esModule) ? mod : { "default": mod };
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.PaginatedList = void 0;
30
- const react_core_1 = require("@patternfly/react-core");
31
- const times_1 = __importDefault(require("lodash/times"));
32
- const react_1 = __importStar(require("react"));
33
- const AlertMessage_1 = require("../AlertMessage");
34
- const CustomContentLoader_1 = require("../CustomContentLoader/CustomContentLoader");
35
- function PaginatedList(props) {
36
- const [pageSize, setPageSize] = (0, react_1.useState)(props.perPage || 10);
37
- const [currentPage, setCurrentPage] = (0, react_1.useState)(1);
38
- const indexOfFirstShownElement = (currentPage - 1) * pageSize;
39
- const skeltonLoader = (0, times_1.default)(pageSize, (index) => react_1.default.createElement(CustomContentLoader_1.CustomContentLoader, { key: index }));
40
- // wrap the list components in patternfly list item component
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)));
42
- // trim the list to the "current page" if data is not paginated by server.
43
- if (!props.serverPaginated) {
44
- listItems = listItems.slice(indexOfFirstShownElement, indexOfFirstShownElement + pageSize);
45
- }
46
- const onSetPage = (event, pageNumber) => {
47
- setCurrentPage(pageNumber);
48
- props.onSetPage && props.onSetPage(pageNumber);
49
- };
50
- const onPerPageSelect = (event, pageSize) => {
51
- setPageSize(pageSize);
52
- props.onPerPageSelect && props.onPerPageSelect(pageSize);
53
- onSetPage(event, 1);
54
- };
55
- // reset to first page on fetch
56
- (0, react_1.useEffect)(() => {
57
- if (props.isFetching) {
58
- setCurrentPage(1);
59
- }
60
- }, [props.isFetching]);
61
- return (react_1.default.createElement(react_1.default.Fragment, null,
62
- !!props.isFetching && skeltonLoader,
63
- react_1.default.createElement(AlertMessage_1.AlertMessage, { variant: AlertMessage_1.AlertType.WARNING, show: !!props.errorMessage, title: props.errorMessage }),
64
- !props.isFetching && (react_1.default.createElement(react_core_1.List, { id: props.id, className: `${props.className || ''}` }, listItems)),
65
- props.listItems.length > pageSize && (react_1.default.createElement(react_core_1.Pagination, { itemCount: props.serverPaginated ? props.itemCount : props.listItems.length, widgetId: `${props.id}-pagination`, perPage: pageSize, page: currentPage, perPageOptions: props.perPageOptions, variant: react_core_1.PaginationVariant.bottom, onSetPage: onSetPage, isDisabled: props.isFetching, onPerPageSelect: onPerPageSelect }))));
66
- }
67
- exports.PaginatedList = PaginatedList;
@@ -1,2 +0,0 @@
1
- export * from './PaginatedList';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/PaginatedList/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = 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);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./PaginatedList"), exports);
@@ -1,10 +0,0 @@
1
- import './paginationCompact.css';
2
- import React from 'react';
3
- interface IProps {
4
- maxPage: number;
5
- dataTrackingId: string;
6
- onPageChange: (currentPage: number) => void;
7
- }
8
- export declare function PaginationCompact({ maxPage, dataTrackingId, onPageChange }: IProps): React.JSX.Element;
9
- export {};
10
- //# sourceMappingURL=PaginationCompact.d.ts.map
@@ -1 +0,0 @@
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,67 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = 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);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- var __importDefault = (this && this.__importDefault) || function (mod) {
26
- return (mod && mod.__esModule) ? mod : { "default": mod };
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.PaginationCompact = void 0;
30
- require("./paginationCompact.css");
31
- const react_core_1 = require("@patternfly/react-core");
32
- const angle_left_icon_1 = __importDefault(require("@patternfly/react-icons/dist/js/icons/angle-left-icon"));
33
- const angle_right_icon_1 = __importDefault(require("@patternfly/react-icons/dist/js/icons/angle-right-icon"));
34
- const react_1 = __importStar(require("react"));
35
- function PaginationCompact({ maxPage, dataTrackingId, onPageChange }) {
36
- const [currentPage, setCurrentPage] = (0, react_1.useState)(1);
37
- const isFirstMountRef = (0, react_1.useRef)(true);
38
- const onNextClick = () => {
39
- setCurrentPage((currentPage) => currentPage + 1);
40
- };
41
- const onPreviousClick = () => {
42
- setCurrentPage((currentPage) => currentPage - 1);
43
- };
44
- (0, react_1.useEffect)(() => {
45
- if (isFirstMountRef.current) {
46
- isFirstMountRef.current = false;
47
- return;
48
- }
49
- onPageChange(currentPage);
50
- // eslint-disable-next-line react-hooks/exhaustive-deps
51
- }, [currentPage]);
52
- return (react_1.default.createElement("div", { className: "pagination-compact pf-v5-c-pagination pf-m-compact pf-m-bottom pf-v5-u-ml-auto" },
53
- react_1.default.createElement("nav", { className: "pf-v5-c-pagination__nav" },
54
- react_1.default.createElement("div", { className: "pf-v5-c-pagination__nav-control pf-m-prev" },
55
- react_1.default.createElement(react_core_1.Button, { variant: react_core_1.ButtonVariant.plain, type: "button", "data-tracking-id": `${dataTrackingId}-previous`, onClick: onPreviousClick, isDisabled: currentPage === 1, "aria-label": "Go to previous page" },
56
- react_1.default.createElement(angle_left_icon_1.default, null))),
57
- react_1.default.createElement("div", { style: {
58
- lineHeight: 2.6,
59
- }, className: "text-muted" },
60
- currentPage,
61
- " of ",
62
- maxPage),
63
- react_1.default.createElement("div", { className: "pf-v5-c-pagination__nav-control pf-m-next" },
64
- react_1.default.createElement(react_core_1.Button, { variant: react_core_1.ButtonVariant.plain, onClick: onNextClick, "data-tracking-id": `${dataTrackingId}-next`, isDisabled: currentPage === maxPage, type: "button", "aria-label": "Go to next page" },
65
- react_1.default.createElement(angle_right_icon_1.default, null))))));
66
- }
67
- exports.PaginationCompact = PaginationCompact;
@@ -1,2 +0,0 @@
1
- export * from './PaginationCompact';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/PaginationCompact/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = 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);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./PaginationCompact"), exports);
@@ -1,5 +0,0 @@
1
- .pagination-compact.pf-v5-c-pagination.pf-m-bottom {
2
- padding: 0px;
3
- background: none;
4
- box-shadow: none;
5
- }
@@ -1,3 +0,0 @@
1
- export declare const canadaAreaCodes: string[];
2
- export declare const COUNTRY_DATA: (string | number | string[])[][];
3
- //# sourceMappingURL=CountryData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CountryData.d.ts","sourceRoot":"","sources":["../../../src/PhoneInput/CountryData.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,eAAe,UA2C3B,CAAC;AAEF,eAAO,MAAM,YAAY,kCAsgBxB,CAAC"}