@redhat-cloud-services/frontend-components 3.4.14 → 3.6.1

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 (765) hide show
  1. package/Ansible/Ansible.d.ts +13 -0
  2. package/Ansible/Ansible.js +56 -91
  3. package/Ansible/Ansible.js.map +1 -0
  4. package/Ansible/index.d.ts +1 -0
  5. package/Ansible/index.js +10 -20
  6. package/Ansible/index.js.map +1 -0
  7. package/Ansible/package.json +1 -1
  8. package/AsyncComponent/index.d.ts +3 -0
  9. package/AsyncComponent/index.js +47 -87
  10. package/AsyncComponent/index.js.map +1 -0
  11. package/AsyncComponent/package.json +1 -1
  12. package/Battery/Battery.d.ts +11 -0
  13. package/Battery/Battery.js +83 -125
  14. package/Battery/Battery.js.map +1 -0
  15. package/Battery/CriticalBattery.d.ts +3 -0
  16. package/Battery/CriticalBattery.js +7 -22
  17. package/Battery/CriticalBattery.js.map +1 -0
  18. package/Battery/HighBattery.d.ts +3 -0
  19. package/Battery/HighBattery.js +7 -18
  20. package/Battery/HighBattery.js.map +1 -0
  21. package/Battery/LowBattery.d.ts +3 -0
  22. package/Battery/LowBattery.js +7 -18
  23. package/Battery/LowBattery.js.map +1 -0
  24. package/Battery/MediumBattery.d.ts +3 -0
  25. package/Battery/MediumBattery.js +7 -18
  26. package/Battery/MediumBattery.js.map +1 -0
  27. package/Battery/NullBattery.d.ts +3 -0
  28. package/Battery/NullBattery.js +7 -18
  29. package/Battery/NullBattery.js.map +1 -0
  30. package/Battery/index.d.ts +7 -0
  31. package/Battery/index.js +20 -60
  32. package/Battery/index.js.map +1 -0
  33. package/Battery/package.json +1 -1
  34. package/Breadcrumbs/Breadcrumbs.d.ts +28 -0
  35. package/Breadcrumbs/Breadcrumbs.js +53 -67
  36. package/Breadcrumbs/Breadcrumbs.js.map +1 -0
  37. package/Breadcrumbs/ConnectedBreadcrumbs.d.ts +2 -0
  38. package/Breadcrumbs/ConnectedBreadcrumbs.js +52 -73
  39. package/Breadcrumbs/ConnectedBreadcrumbs.js.map +1 -0
  40. package/Breadcrumbs/index.d.ts +2 -0
  41. package/Breadcrumbs/index.js +12 -28
  42. package/Breadcrumbs/index.js.map +1 -0
  43. package/Breadcrumbs/package.json +1 -1
  44. package/BulkSelect/BulkSelect.d.ts +23 -0
  45. package/BulkSelect/BulkSelect.js +75 -191
  46. package/BulkSelect/BulkSelect.js.map +1 -0
  47. package/BulkSelect/index.d.ts +2 -0
  48. package/BulkSelect/index.js +10 -20
  49. package/BulkSelect/index.js.map +1 -0
  50. package/BulkSelect/package.json +1 -1
  51. package/ConditionalFilter/CheckboxFilter.d.ts +38 -0
  52. package/ConditionalFilter/CheckboxFilter.js +145 -208
  53. package/ConditionalFilter/CheckboxFilter.js.map +1 -0
  54. package/ConditionalFilter/ConditionalFilter.d.ts +58 -0
  55. package/ConditionalFilter/ConditionalFilter.js +184 -262
  56. package/ConditionalFilter/ConditionalFilter.js.map +1 -0
  57. package/ConditionalFilter/GroupFilter.d.ts +47 -0
  58. package/ConditionalFilter/GroupFilter.js +151 -261
  59. package/ConditionalFilter/GroupFilter.js.map +1 -0
  60. package/ConditionalFilter/RadioFilter.d.ts +37 -0
  61. package/ConditionalFilter/RadioFilter.js +125 -167
  62. package/ConditionalFilter/RadioFilter.js.map +1 -0
  63. package/ConditionalFilter/TextFilter.d.ts +27 -0
  64. package/ConditionalFilter/TextFilter.js +102 -124
  65. package/ConditionalFilter/TextFilter.js.map +1 -0
  66. package/ConditionalFilter/conditionalFilterConstants.d.ts +19 -0
  67. package/ConditionalFilter/conditionalFilterConstants.js +22 -31
  68. package/ConditionalFilter/conditionalFilterConstants.js.map +1 -0
  69. package/ConditionalFilter/groupFilterConstants.d.ts +7 -0
  70. package/ConditionalFilter/groupFilterConstants.js +149 -187
  71. package/ConditionalFilter/groupFilterConstants.js.map +1 -0
  72. package/ConditionalFilter/groupType.d.ts +8 -0
  73. package/ConditionalFilter/groupType.js +8 -12
  74. package/ConditionalFilter/groupType.js.map +1 -0
  75. package/ConditionalFilter/index.d.ts +7 -0
  76. package/ConditionalFilter/index.js +30 -81
  77. package/ConditionalFilter/index.js.map +1 -0
  78. package/ConditionalFilter/package.json +1 -1
  79. package/CullingInfo/CullingInformation.d.ts +31 -0
  80. package/CullingInfo/CullingInformation.js +85 -102
  81. package/CullingInfo/CullingInformation.js.map +1 -0
  82. package/CullingInfo/index.d.ts +1 -0
  83. package/CullingInfo/index.js +10 -20
  84. package/CullingInfo/index.js.map +1 -0
  85. package/CullingInfo/package.json +1 -1
  86. package/Dark/Dark.d.ts +3 -0
  87. package/Dark/Dark.js +35 -0
  88. package/Dark/Dark.js.map +1 -0
  89. package/Dark/DarkContext.d.ts +4 -0
  90. package/Dark/DarkContext.js +7 -30
  91. package/Dark/DarkContext.js.map +1 -0
  92. package/Dark/index.d.ts +3 -3
  93. package/Dark/index.js +12 -28
  94. package/Dark/index.js.map +1 -0
  95. package/DateFormat/DateFormat.d.ts +16 -0
  96. package/DateFormat/DateFormat.js +20 -48
  97. package/DateFormat/DateFormat.js.map +1 -0
  98. package/DateFormat/helper.d.ts +3 -0
  99. package/DateFormat/helper.js +51 -99
  100. package/DateFormat/helper.js.map +1 -0
  101. package/DateFormat/index.d.ts +2 -0
  102. package/DateFormat/index.js +20 -36
  103. package/DateFormat/index.js.map +1 -0
  104. package/DateFormat/package.json +1 -1
  105. package/DownloadButton/DownloadButton.d.ts +24 -0
  106. package/DownloadButton/DownloadButton.js +112 -142
  107. package/DownloadButton/DownloadButton.js.map +1 -0
  108. package/DownloadButton/index.d.ts +1 -0
  109. package/DownloadButton/index.js +10 -20
  110. package/DownloadButton/index.js.map +1 -0
  111. package/DownloadButton/package.json +1 -1
  112. package/EmptyTable/EmptyTable.d.ts +15 -0
  113. package/EmptyTable/EmptyTable.js +42 -37
  114. package/EmptyTable/EmptyTable.js.map +1 -0
  115. package/EmptyTable/index.d.ts +2 -0
  116. package/EmptyTable/index.js +10 -22
  117. package/EmptyTable/index.js.map +1 -0
  118. package/EmptyTable/package.json +1 -1
  119. package/ErrorState/DefaultErrorMessage.d.ts +2 -0
  120. package/ErrorState/DefaultErrorMessage.js +16 -21
  121. package/ErrorState/DefaultErrorMessage.js.map +1 -0
  122. package/ErrorState/ErrorState.d.ts +9 -0
  123. package/ErrorState/ErrorState.js +41 -69
  124. package/ErrorState/ErrorState.js.map +1 -0
  125. package/ErrorState/index.d.ts +3 -0
  126. package/ErrorState/index.js +12 -28
  127. package/ErrorState/index.js.map +1 -0
  128. package/ErrorState/package.json +1 -1
  129. package/FilterChips/FilterChips.d.ts +39 -0
  130. package/FilterChips/FilterChips.js +71 -117
  131. package/FilterChips/FilterChips.js.map +1 -0
  132. package/FilterChips/index.d.ts +1 -0
  133. package/FilterChips/index.js +10 -20
  134. package/FilterChips/index.js.map +1 -0
  135. package/FilterChips/package.json +1 -1
  136. package/FilterHooks/constants.d.ts +3 -0
  137. package/FilterHooks/constants.js +109 -128
  138. package/FilterHooks/constants.js.map +1 -0
  139. package/FilterHooks/index.d.ts +3 -0
  140. package/FilterHooks/index.js +17 -39
  141. package/FilterHooks/index.js.map +1 -0
  142. package/FilterHooks/package.json +1 -1
  143. package/FilterHooks/tagFilterHook.d.ts +45 -0
  144. package/FilterHooks/tagFilterHook.js +118 -146
  145. package/FilterHooks/tagFilterHook.js.map +1 -0
  146. package/Filters/FilterDropdown.d.ts +43 -0
  147. package/Filters/FilterDropdown.js +105 -159
  148. package/Filters/FilterDropdown.js.map +1 -0
  149. package/Filters/FilterInput.d.ts +37 -0
  150. package/Filters/FilterInput.js +109 -164
  151. package/Filters/FilterInput.js.map +1 -0
  152. package/Filters/index.d.ts +2 -0
  153. package/Filters/index.js +10 -22
  154. package/Filters/index.js.map +1 -0
  155. package/Filters/package.json +1 -1
  156. package/Input/Input.d.ts +23 -0
  157. package/Input/Input.js +44 -50
  158. package/Input/Input.js.map +1 -0
  159. package/Input/LabeledInput.d.ts +17 -0
  160. package/Input/LabeledInput.js +43 -44
  161. package/Input/LabeledInput.js.map +1 -0
  162. package/Input/index.d.ts +2 -0
  163. package/Input/index.js +12 -28
  164. package/Input/index.js.map +1 -0
  165. package/Input/package.json +1 -1
  166. package/InsightsLabel/CriticalIcon.d.ts +3 -0
  167. package/InsightsLabel/CriticalIcon.js +9 -22
  168. package/InsightsLabel/CriticalIcon.js.map +1 -0
  169. package/InsightsLabel/InsightsLabel.d.ts +14 -0
  170. package/InsightsLabel/InsightsLabel.js +42 -67
  171. package/InsightsLabel/InsightsLabel.js.map +1 -0
  172. package/InsightsLabel/index.d.ts +3 -0
  173. package/InsightsLabel/index.js +12 -28
  174. package/InsightsLabel/index.js.map +1 -0
  175. package/InsightsLabel/package.json +1 -1
  176. package/InvalidObject/InvalidObject.d.ts +4 -0
  177. package/InvalidObject/InvalidObject.js +40 -42
  178. package/InvalidObject/InvalidObject.js.map +1 -0
  179. package/InvalidObject/icon-404.d.ts +4 -0
  180. package/InvalidObject/icon-404.js +50 -202
  181. package/InvalidObject/icon-404.js.map +1 -0
  182. package/InvalidObject/index.d.ts +3 -0
  183. package/InvalidObject/index.js +12 -28
  184. package/InvalidObject/index.js.map +1 -0
  185. package/InvalidObject/package.json +1 -1
  186. package/Inventory/AppInfo.d.ts +3 -0
  187. package/Inventory/AppInfo.js +53 -73
  188. package/Inventory/AppInfo.js.map +1 -0
  189. package/Inventory/DetailWrapper.d.ts +3 -0
  190. package/Inventory/DetailWrapper.js +53 -73
  191. package/Inventory/DetailWrapper.js.map +1 -0
  192. package/Inventory/InventoryDetail.d.ts +3 -0
  193. package/Inventory/InventoryDetail.js +53 -73
  194. package/Inventory/InventoryDetail.js.map +1 -0
  195. package/Inventory/InventoryDetailHead.d.ts +3 -0
  196. package/Inventory/InventoryDetailHead.js +53 -73
  197. package/Inventory/InventoryDetailHead.js.map +1 -0
  198. package/Inventory/InventoryLoadError.d.ts +6 -0
  199. package/Inventory/InventoryLoadError.js +43 -31
  200. package/Inventory/InventoryLoadError.js.map +1 -0
  201. package/Inventory/InventoryTable.d.ts +3 -0
  202. package/Inventory/InventoryTable.js +53 -73
  203. package/Inventory/InventoryTable.js.map +1 -0
  204. package/Inventory/TagWithDialog.d.ts +3 -0
  205. package/Inventory/TagWithDialog.js +53 -78
  206. package/Inventory/TagWithDialog.js.map +1 -0
  207. package/Inventory/index.d.ts +7 -0
  208. package/Inventory/index.js +20 -62
  209. package/Inventory/index.js.map +1 -0
  210. package/Inventory/package.json +1 -1
  211. package/LongTextTooltip/LongTextTooltip.d.ts +25 -0
  212. package/LongTextTooltip/LongTextTooltip.js +68 -75
  213. package/LongTextTooltip/LongTextTooltip.js.map +1 -0
  214. package/LongTextTooltip/index.d.ts +2 -0
  215. package/LongTextTooltip/index.js +10 -22
  216. package/LongTextTooltip/index.js.map +1 -0
  217. package/LongTextTooltip/package.json +1 -1
  218. package/Main/Main.d.ts +25 -0
  219. package/Main/Main.js +86 -150
  220. package/Main/Main.js.map +1 -0
  221. package/Main/index.js +10 -20
  222. package/Main/index.js.map +1 -0
  223. package/Maintenance/Maintenance.d.ts +15 -0
  224. package/Maintenance/Maintenance.js +55 -77
  225. package/Maintenance/Maintenance.js.map +1 -0
  226. package/Maintenance/index.d.ts +2 -0
  227. package/Maintenance/index.js +10 -20
  228. package/Maintenance/index.js.map +1 -0
  229. package/Maintenance/package.json +1 -1
  230. package/NotAuthorized/NotAuthorized.d.ts +16 -0
  231. package/NotAuthorized/NotAuthorized.js +43 -97
  232. package/NotAuthorized/NotAuthorized.js.map +1 -0
  233. package/NotAuthorized/index.d.ts +2 -0
  234. package/NotAuthorized/index.js +10 -20
  235. package/NotAuthorized/index.js.map +1 -0
  236. package/NotAuthorized/package.json +1 -1
  237. package/NotConnected/NotConnected.d.ts +22 -0
  238. package/NotConnected/NotConnected.js +23 -50
  239. package/NotConnected/NotConnected.js.map +1 -0
  240. package/NotConnected/index.d.ts +1 -0
  241. package/NotConnected/index.js +10 -20
  242. package/NotConnected/index.js.map +1 -0
  243. package/NotConnected/package.json +1 -1
  244. package/PageHeader/PageHeader.d.ts +7 -0
  245. package/PageHeader/PageHeader.js +40 -46
  246. package/PageHeader/PageHeader.js.map +1 -0
  247. package/PageHeader/PageHeaderTitle.d.ts +7 -0
  248. package/PageHeader/PageHeaderTitle.js +13 -36
  249. package/PageHeader/PageHeaderTitle.js.map +1 -0
  250. package/PageHeader/index.js +12 -28
  251. package/PageHeader/index.js.map +1 -0
  252. package/Pagination/Pagination.d.ts +32 -0
  253. package/Pagination/Pagination.js +109 -139
  254. package/Pagination/Pagination.js.map +1 -0
  255. package/Pagination/PaginationMenu.d.ts +34 -0
  256. package/Pagination/PaginationMenu.js +125 -154
  257. package/Pagination/PaginationMenu.js.map +1 -0
  258. package/Pagination/PaginationNav.d.ts +39 -0
  259. package/Pagination/PaginationNav.js +78 -125
  260. package/Pagination/PaginationNav.js.map +1 -0
  261. package/Pagination/PaginationNext.d.ts +31 -0
  262. package/Pagination/PaginationNext.js +97 -118
  263. package/Pagination/PaginationNext.js.map +1 -0
  264. package/Pagination/index.d.ts +5 -0
  265. package/Pagination/index.js +26 -68
  266. package/Pagination/index.js.map +1 -0
  267. package/Pagination/package.json +1 -1
  268. package/PrimaryToolbar/Actions.d.ts +36 -0
  269. package/PrimaryToolbar/Actions.js +128 -187
  270. package/PrimaryToolbar/Actions.js.map +1 -0
  271. package/PrimaryToolbar/PrimaryToolbar.d.ts +83 -0
  272. package/PrimaryToolbar/PrimaryToolbar.js +146 -188
  273. package/PrimaryToolbar/PrimaryToolbar.js.map +1 -0
  274. package/PrimaryToolbar/SortBy.d.ts +20 -0
  275. package/PrimaryToolbar/SortBy.js +21 -45
  276. package/PrimaryToolbar/SortBy.js.map +1 -0
  277. package/PrimaryToolbar/index.d.ts +4 -0
  278. package/PrimaryToolbar/index.js +24 -58
  279. package/PrimaryToolbar/index.js.map +1 -0
  280. package/PrimaryToolbar/package.json +1 -1
  281. package/Reboot/Reboot.d.ts +13 -0
  282. package/Reboot/Reboot.js +42 -37
  283. package/Reboot/Reboot.js.map +1 -0
  284. package/Reboot/index.d.ts +1 -0
  285. package/Reboot/index.js +10 -20
  286. package/Reboot/index.js.map +1 -0
  287. package/Reboot/package.json +1 -1
  288. package/Section/Section.d.ts +8 -0
  289. package/Section/Section.js +38 -38
  290. package/Section/Section.js.map +1 -0
  291. package/Section/index.js +10 -20
  292. package/Section/index.js.map +1 -0
  293. package/Shield/Shield.d.ts +11 -0
  294. package/Shield/Shield.js +35 -57
  295. package/Shield/Shield.js.map +1 -0
  296. package/Shield/consts.d.ts +70 -0
  297. package/Shield/consts.js +70 -82
  298. package/Shield/consts.js.map +1 -0
  299. package/Shield/index.d.ts +3 -0
  300. package/Shield/index.js +20 -36
  301. package/Shield/index.js.map +1 -0
  302. package/Shield/package.json +1 -1
  303. package/SimpleTableFilter/SimpleTableFilter.d.ts +47 -0
  304. package/SimpleTableFilter/SimpleTableFilter.js +135 -188
  305. package/SimpleTableFilter/SimpleTableFilter.js.map +1 -0
  306. package/SimpleTableFilter/index.d.ts +1 -0
  307. package/SimpleTableFilter/index.js +10 -20
  308. package/SimpleTableFilter/index.js.map +1 -0
  309. package/SimpleTableFilter/package.json +1 -1
  310. package/Skeleton/Skeleton.d.ts +15 -0
  311. package/Skeleton/Skeleton.js +36 -49
  312. package/Skeleton/Skeleton.js.map +1 -0
  313. package/Skeleton/index.js +11 -30
  314. package/Skeleton/index.js.map +1 -0
  315. package/Skeleton/skeleton.css +14 -35
  316. package/Skeleton/skeleton.scss +14 -30
  317. package/SkeletonTable/SkeletonTable.css +3 -0
  318. package/SkeletonTable/SkeletonTable.d.ts +51 -0
  319. package/SkeletonTable/SkeletonTable.js +93 -140
  320. package/SkeletonTable/SkeletonTable.js.map +1 -0
  321. package/SkeletonTable/SkeletonTable.scss +3 -0
  322. package/SkeletonTable/index.d.ts +1 -0
  323. package/SkeletonTable/index.js +10 -20
  324. package/SkeletonTable/index.js.map +1 -0
  325. package/SkeletonTable/package.json +1 -1
  326. package/Spinner/Spinner.d.ts +8 -0
  327. package/Spinner/Spinner.js +36 -39
  328. package/Spinner/Spinner.js.map +1 -0
  329. package/Spinner/index.js +10 -20
  330. package/Spinner/index.js.map +1 -0
  331. package/TabLayout/TabLayout.d.ts +28 -0
  332. package/TabLayout/TabLayout.js +46 -61
  333. package/TabLayout/TabLayout.js.map +1 -0
  334. package/TabLayout/index.d.ts +1 -0
  335. package/TabLayout/index.js +10 -20
  336. package/TabLayout/index.js.map +1 -0
  337. package/TabLayout/package.json +1 -1
  338. package/TableToolbar/TableToolbar.d.ts +27 -0
  339. package/TableToolbar/TableToolbar.js +83 -73
  340. package/TableToolbar/TableToolbar.js.map +1 -0
  341. package/TableToolbar/index.d.ts +2 -0
  342. package/TableToolbar/index.js +10 -22
  343. package/TableToolbar/index.js.map +1 -0
  344. package/TableToolbar/package.json +1 -1
  345. package/TagCount/TagCount.d.ts +10 -0
  346. package/TagCount/TagCount.js +36 -50
  347. package/TagCount/TagCount.js.map +1 -0
  348. package/TagCount/index.d.ts +2 -0
  349. package/TagCount/index.js +10 -20
  350. package/TagCount/index.js.map +1 -0
  351. package/TagCount/package.json +1 -1
  352. package/TagModal/TableWithFilter.d.ts +45 -0
  353. package/TagModal/TableWithFilter.js +148 -201
  354. package/TagModal/TableWithFilter.js.map +1 -0
  355. package/TagModal/TagModal.d.ts +54 -0
  356. package/TagModal/TagModal.js +153 -228
  357. package/TagModal/TagModal.js.map +1 -0
  358. package/TagModal/index.d.ts +2 -0
  359. package/TagModal/index.js +12 -28
  360. package/TagModal/index.js.map +1 -0
  361. package/TagModal/package.json +1 -1
  362. package/TreeTable/decorator.d.ts +8 -0
  363. package/TreeTable/decorator.js +44 -56
  364. package/TreeTable/decorator.js.map +1 -0
  365. package/TreeTable/helpers.d.ts +4 -0
  366. package/TreeTable/helpers.js +43 -55
  367. package/TreeTable/helpers.js.map +1 -0
  368. package/TreeTable/index.d.ts +3 -0
  369. package/TreeTable/index.js +22 -45
  370. package/TreeTable/index.js.map +1 -0
  371. package/TreeTable/package.json +1 -1
  372. package/TreeTable/rowWrapper.d.ts +17 -0
  373. package/TreeTable/rowWrapper.js +39 -50
  374. package/TreeTable/rowWrapper.js.map +1 -0
  375. package/Truncate/Truncate.d.ts +26 -0
  376. package/Truncate/Truncate.js +75 -116
  377. package/Truncate/Truncate.js.map +1 -0
  378. package/Truncate/index.d.ts +2 -0
  379. package/Truncate/index.js +10 -22
  380. package/Truncate/index.js.map +1 -0
  381. package/Truncate/package.json +1 -1
  382. package/Unavailable/Unavailable.d.ts +2 -0
  383. package/Unavailable/Unavailable.js +20 -38
  384. package/Unavailable/Unavailable.js.map +1 -0
  385. package/Unavailable/index.d.ts +1 -0
  386. package/Unavailable/index.js +10 -20
  387. package/Unavailable/index.js.map +1 -0
  388. package/Unavailable/package.json +1 -1
  389. package/Wizard/Wizard.d.ts +31 -0
  390. package/Wizard/Wizard.js +126 -170
  391. package/Wizard/Wizard.js.map +1 -0
  392. package/Wizard/index.d.ts +1 -0
  393. package/Wizard/index.js +10 -20
  394. package/Wizard/index.js.map +1 -0
  395. package/Wizard/package.json +1 -1
  396. package/esm/Ansible/Ansible.js +49 -74
  397. package/esm/Ansible/Ansible.js.map +1 -0
  398. package/esm/Ansible/ansible.css +19 -0
  399. package/esm/Ansible/ansible.scss +14 -0
  400. package/esm/Ansible/index.js +2 -1
  401. package/esm/Ansible/index.js.map +1 -0
  402. package/esm/AsyncComponent/index.js +39 -67
  403. package/esm/AsyncComponent/index.js.map +1 -0
  404. package/esm/Battery/Battery.js +72 -99
  405. package/esm/Battery/Battery.js.map +1 -0
  406. package/esm/Battery/CriticalBattery.js +3 -12
  407. package/esm/Battery/CriticalBattery.js.map +1 -0
  408. package/esm/Battery/HighBattery.js +3 -9
  409. package/esm/Battery/HighBattery.js.map +1 -0
  410. package/esm/Battery/LowBattery.js +3 -9
  411. package/esm/Battery/LowBattery.js.map +1 -0
  412. package/esm/Battery/MediumBattery.js +3 -9
  413. package/esm/Battery/MediumBattery.js.map +1 -0
  414. package/esm/Battery/NullBattery.js +3 -9
  415. package/esm/Battery/NullBattery.js.map +1 -0
  416. package/esm/Battery/battery.css +35 -0
  417. package/esm/Battery/battery.scss +47 -0
  418. package/esm/Battery/index.js +2 -1
  419. package/esm/Battery/index.js.map +1 -0
  420. package/esm/Breadcrumbs/Breadcrumbs.js +46 -50
  421. package/esm/Breadcrumbs/Breadcrumbs.js.map +1 -0
  422. package/esm/Breadcrumbs/ConnectedBreadcrumbs.js +45 -52
  423. package/esm/Breadcrumbs/ConnectedBreadcrumbs.js.map +1 -0
  424. package/esm/Breadcrumbs/index.js +2 -1
  425. package/esm/Breadcrumbs/index.js.map +1 -0
  426. package/esm/BulkSelect/BulkSelect.js +53 -166
  427. package/esm/BulkSelect/BulkSelect.js.map +1 -0
  428. package/esm/BulkSelect/bulk-select.css +15 -0
  429. package/esm/BulkSelect/bulk-select.scss +19 -0
  430. package/esm/BulkSelect/index.js +2 -1
  431. package/esm/BulkSelect/index.js.map +1 -0
  432. package/esm/ConditionalFilter/CheckboxFilter.js +120 -183
  433. package/esm/ConditionalFilter/CheckboxFilter.js.map +1 -0
  434. package/esm/ConditionalFilter/ConditionalFilter.js +154 -225
  435. package/esm/ConditionalFilter/ConditionalFilter.js.map +1 -0
  436. package/esm/ConditionalFilter/GroupFilter.js +124 -222
  437. package/esm/ConditionalFilter/GroupFilter.js.map +1 -0
  438. package/esm/ConditionalFilter/RadioFilter.js +100 -143
  439. package/esm/ConditionalFilter/RadioFilter.js.map +1 -0
  440. package/esm/ConditionalFilter/TextFilter.js +79 -102
  441. package/esm/ConditionalFilter/TextFilter.js.map +1 -0
  442. package/esm/ConditionalFilter/conditional-filter.css +93 -0
  443. package/esm/ConditionalFilter/conditional-filter.scss +110 -0
  444. package/esm/ConditionalFilter/conditionalFilterConstants.js +12 -11
  445. package/esm/ConditionalFilter/conditionalFilterConstants.js.map +1 -0
  446. package/esm/ConditionalFilter/group-filter.css +19 -0
  447. package/esm/ConditionalFilter/group-filter.scss +23 -0
  448. package/esm/ConditionalFilter/groupFilterConstants.js +143 -165
  449. package/esm/ConditionalFilter/groupFilterConstants.js.map +1 -0
  450. package/esm/ConditionalFilter/groupType.js +7 -6
  451. package/esm/ConditionalFilter/groupType.js.map +1 -0
  452. package/esm/ConditionalFilter/index.js +2 -1
  453. package/esm/ConditionalFilter/index.js.map +1 -0
  454. package/esm/CullingInfo/CullingInformation.css +14 -0
  455. package/esm/CullingInfo/CullingInformation.js +79 -82
  456. package/esm/CullingInfo/CullingInformation.js.map +1 -0
  457. package/esm/CullingInfo/CullingInformation.scss +10 -0
  458. package/esm/CullingInfo/index.js +2 -1
  459. package/esm/CullingInfo/index.js.map +1 -0
  460. package/esm/Dark/Dark.js +30 -0
  461. package/esm/Dark/Dark.js.map +1 -0
  462. package/esm/Dark/DarkContext.js +3 -18
  463. package/esm/Dark/DarkContext.js.map +1 -0
  464. package/esm/Dark/index.js +4 -3
  465. package/esm/Dark/index.js.map +1 -0
  466. package/esm/DateFormat/DateFormat.js +12 -34
  467. package/esm/DateFormat/DateFormat.js.map +1 -0
  468. package/esm/DateFormat/helper.js +45 -82
  469. package/esm/DateFormat/helper.js.map +1 -0
  470. package/esm/DateFormat/index.js +2 -1
  471. package/esm/DateFormat/index.js.map +1 -0
  472. package/esm/DownloadButton/DownloadButton.js +89 -120
  473. package/esm/DownloadButton/DownloadButton.js.map +1 -0
  474. package/esm/DownloadButton/index.js +2 -1
  475. package/esm/DownloadButton/index.js.map +1 -0
  476. package/esm/EmptyTable/EmptyTable.css +14 -0
  477. package/esm/EmptyTable/EmptyTable.js +35 -20
  478. package/esm/EmptyTable/EmptyTable.js.map +1 -0
  479. package/esm/EmptyTable/EmptyTable.scss +11 -0
  480. package/esm/EmptyTable/index.js +2 -1
  481. package/esm/EmptyTable/index.js.map +1 -0
  482. package/esm/ErrorState/DefaultErrorMessage.js +11 -11
  483. package/esm/ErrorState/DefaultErrorMessage.js.map +1 -0
  484. package/esm/ErrorState/ErrorState.js +36 -48
  485. package/esm/ErrorState/ErrorState.js.map +1 -0
  486. package/esm/ErrorState/error-state.css +3 -0
  487. package/esm/ErrorState/error-state.scss +5 -0
  488. package/esm/ErrorState/index.js +2 -1
  489. package/esm/ErrorState/index.js.map +1 -0
  490. package/esm/FilterChips/FilterChips.js +65 -98
  491. package/esm/FilterChips/FilterChips.js.map +1 -0
  492. package/esm/FilterChips/filter-chips.css +12 -0
  493. package/esm/FilterChips/filter-chips.scss +15 -0
  494. package/esm/FilterChips/index.js +2 -1
  495. package/esm/FilterChips/index.js.map +1 -0
  496. package/esm/FilterHooks/constants.js +101 -111
  497. package/esm/FilterHooks/constants.js.map +1 -0
  498. package/esm/FilterHooks/index.js +2 -1
  499. package/esm/FilterHooks/index.js.map +1 -0
  500. package/esm/FilterHooks/tagFilterHook.css +22 -0
  501. package/esm/FilterHooks/tagFilterHook.js +97 -120
  502. package/esm/FilterHooks/tagFilterHook.js.map +1 -0
  503. package/esm/FilterHooks/tagFilterHook.scss +21 -0
  504. package/esm/Filters/FilterDropdown.js +80 -134
  505. package/esm/Filters/FilterDropdown.js.map +1 -0
  506. package/esm/Filters/FilterInput.js +85 -143
  507. package/esm/Filters/FilterInput.js.map +1 -0
  508. package/esm/Filters/filter-dropdown.css +8 -0
  509. package/esm/Filters/filter-dropdown.scss +10 -0
  510. package/esm/Filters/index.js +2 -1
  511. package/esm/Filters/index.js.map +1 -0
  512. package/esm/Input/Input.js +36 -32
  513. package/esm/Input/Input.js.map +1 -0
  514. package/esm/Input/LabeledInput.js +35 -27
  515. package/esm/Input/LabeledInput.js.map +1 -0
  516. package/esm/Input/index.js +2 -1
  517. package/esm/Input/index.js.map +1 -0
  518. package/esm/InsightsLabel/CriticalIcon.js +5 -12
  519. package/esm/InsightsLabel/CriticalIcon.js.map +1 -0
  520. package/esm/InsightsLabel/InsightsLabel.js +36 -46
  521. package/esm/InsightsLabel/InsightsLabel.js.map +1 -0
  522. package/esm/InsightsLabel/critical-icon.css +8 -0
  523. package/esm/InsightsLabel/critical-icon.scss +8 -0
  524. package/esm/InsightsLabel/index.js +2 -1
  525. package/esm/InsightsLabel/index.js.map +1 -0
  526. package/esm/InsightsLabel/labels.css +54 -0
  527. package/esm/InsightsLabel/labels.scss +54 -0
  528. package/esm/InvalidObject/InvalidObject.js +35 -27
  529. package/esm/InvalidObject/InvalidObject.js.map +1 -0
  530. package/esm/InvalidObject/icon-404.css +15 -0
  531. package/esm/InvalidObject/icon-404.js +46 -192
  532. package/esm/InvalidObject/icon-404.js.map +1 -0
  533. package/esm/InvalidObject/icon-404.scss +11 -0
  534. package/esm/InvalidObject/index.js +2 -1
  535. package/esm/InvalidObject/index.js.map +1 -0
  536. package/esm/InvalidObject/invalidObject.css +22 -0
  537. package/esm/InvalidObject/invalidObject.scss +15 -0
  538. package/esm/Inventory/AppInfo.js +25 -44
  539. package/esm/Inventory/AppInfo.js.map +1 -0
  540. package/esm/Inventory/DetailWrapper.js +25 -44
  541. package/esm/Inventory/DetailWrapper.js.map +1 -0
  542. package/esm/Inventory/InventoryDetail.js +25 -44
  543. package/esm/Inventory/InventoryDetail.js.map +1 -0
  544. package/esm/Inventory/InventoryDetailHead.js +25 -44
  545. package/esm/Inventory/InventoryDetailHead.js.map +1 -0
  546. package/esm/Inventory/InventoryLoadError.js +24 -16
  547. package/esm/Inventory/InventoryLoadError.js.map +1 -0
  548. package/esm/Inventory/InventoryTable.js +25 -44
  549. package/esm/Inventory/InventoryTable.js.map +1 -0
  550. package/esm/Inventory/TagWithDialog.js +25 -49
  551. package/esm/Inventory/TagWithDialog.js.map +1 -0
  552. package/esm/Inventory/index.js +2 -1
  553. package/esm/Inventory/index.js.map +1 -0
  554. package/esm/LongTextTooltip/LongTextTooltip.js +62 -59
  555. package/esm/LongTextTooltip/LongTextTooltip.js.map +1 -0
  556. package/esm/LongTextTooltip/index.js +2 -1
  557. package/esm/LongTextTooltip/index.js.map +1 -0
  558. package/esm/Main/Main.js +79 -119
  559. package/esm/Main/Main.js.map +1 -0
  560. package/esm/Main/index.js +2 -1
  561. package/esm/Main/index.js.map +1 -0
  562. package/esm/Main/main.css +3 -0
  563. package/esm/Main/main.scss +3 -0
  564. package/esm/Maintenance/Maintenance.js +51 -57
  565. package/esm/Maintenance/Maintenance.js.map +1 -0
  566. package/esm/Maintenance/index.js +2 -1
  567. package/esm/Maintenance/index.js.map +1 -0
  568. package/esm/Maintenance/maintenance.css +9 -0
  569. package/esm/Maintenance/maintenance.scss +7 -0
  570. package/esm/NotAuthorized/NotAuthorized.css +5 -0
  571. package/esm/NotAuthorized/NotAuthorized.js +40 -81
  572. package/esm/NotAuthorized/NotAuthorized.js.map +1 -0
  573. package/esm/NotAuthorized/NotAuthorized.scss +7 -0
  574. package/esm/NotAuthorized/index.js +2 -1
  575. package/esm/NotAuthorized/index.js.map +1 -0
  576. package/esm/NotConnected/NotConnected.js +17 -32
  577. package/esm/NotConnected/NotConnected.js.map +1 -0
  578. package/esm/NotConnected/index.js +2 -1
  579. package/esm/NotConnected/index.js.map +1 -0
  580. package/esm/PageHeader/PageHeader.js +34 -29
  581. package/esm/PageHeader/PageHeader.js.map +1 -0
  582. package/esm/PageHeader/PageHeaderTitle.js +6 -21
  583. package/esm/PageHeader/PageHeaderTitle.js.map +1 -0
  584. package/esm/PageHeader/index.js +2 -1
  585. package/esm/PageHeader/index.js.map +1 -0
  586. package/esm/PageHeader/page-header.css +13 -0
  587. package/esm/PageHeader/page-header.scss +12 -0
  588. package/esm/Pagination/Pagination.js +82 -113
  589. package/esm/Pagination/Pagination.js.map +1 -0
  590. package/esm/Pagination/PaginationMenu.js +101 -129
  591. package/esm/Pagination/PaginationMenu.js.map +1 -0
  592. package/esm/Pagination/PaginationNav.js +72 -107
  593. package/esm/Pagination/PaginationNav.js.map +1 -0
  594. package/esm/Pagination/PaginationNext.js +71 -94
  595. package/esm/Pagination/PaginationNext.js.map +1 -0
  596. package/esm/Pagination/index.js +2 -1
  597. package/esm/Pagination/index.js.map +1 -0
  598. package/esm/Pagination/pagination.css +580 -0
  599. package/esm/Pagination/pagination.scss +15 -0
  600. package/esm/PrimaryToolbar/Actions.js +104 -154
  601. package/esm/PrimaryToolbar/Actions.js.map +1 -0
  602. package/esm/PrimaryToolbar/PrimaryToolbar.js +117 -146
  603. package/esm/PrimaryToolbar/PrimaryToolbar.js.map +1 -0
  604. package/esm/PrimaryToolbar/SortBy.js +12 -26
  605. package/esm/PrimaryToolbar/SortBy.js.map +1 -0
  606. package/esm/PrimaryToolbar/index.js +2 -1
  607. package/esm/PrimaryToolbar/index.js.map +1 -0
  608. package/esm/PrimaryToolbar/primary-toolbar.css +49 -0
  609. package/esm/PrimaryToolbar/primary-toolbar.scss +64 -0
  610. package/esm/Reboot/Reboot.js +35 -19
  611. package/esm/Reboot/Reboot.js.map +1 -0
  612. package/esm/Reboot/index.js +2 -1
  613. package/esm/Reboot/index.js.map +1 -0
  614. package/esm/Reboot/reboot.css +11 -0
  615. package/esm/Reboot/reboot.scss +12 -0
  616. package/esm/Section/Section.js +32 -22
  617. package/esm/Section/Section.js.map +1 -0
  618. package/esm/Section/index.js +2 -1
  619. package/esm/Section/index.js.map +1 -0
  620. package/esm/Section/section.css +35 -0
  621. package/esm/Section/section.scss +27 -0
  622. package/esm/Shield/Shield.js +31 -41
  623. package/esm/Shield/Shield.js.map +1 -0
  624. package/esm/Shield/consts.js +67 -73
  625. package/esm/Shield/consts.js.map +1 -0
  626. package/esm/Shield/index.js +2 -1
  627. package/esm/Shield/index.js.map +1 -0
  628. package/esm/SimpleTableFilter/SimpleTableFilter.js +111 -166
  629. package/esm/SimpleTableFilter/SimpleTableFilter.js.map +1 -0
  630. package/esm/SimpleTableFilter/index.js +2 -1
  631. package/esm/SimpleTableFilter/index.js.map +1 -0
  632. package/esm/SimpleTableFilter/simple-table-filter.css +356 -0
  633. package/esm/SimpleTableFilter/simple-table-filter.scss +18 -0
  634. package/esm/Skeleton/Skeleton.js +30 -32
  635. package/esm/Skeleton/Skeleton.js.map +1 -0
  636. package/esm/Skeleton/index.js +2 -1
  637. package/esm/Skeleton/index.js.map +1 -0
  638. package/esm/Skeleton/skeleton.css +24 -0
  639. package/esm/Skeleton/skeleton.scss +18 -0
  640. package/esm/SkeletonTable/SkeletonTable.css +3 -0
  641. package/esm/SkeletonTable/SkeletonTable.js +86 -125
  642. package/esm/SkeletonTable/SkeletonTable.js.map +1 -0
  643. package/esm/SkeletonTable/SkeletonTable.scss +3 -0
  644. package/esm/SkeletonTable/index.js +2 -1
  645. package/esm/SkeletonTable/index.js.map +1 -0
  646. package/esm/Spinner/Spinner.js +31 -24
  647. package/esm/Spinner/Spinner.js.map +1 -0
  648. package/esm/Spinner/index.js +2 -1
  649. package/esm/Spinner/index.js.map +1 -0
  650. package/esm/Spinner/spinner.css +27 -0
  651. package/esm/Spinner/spinner.scss +24 -0
  652. package/esm/TabLayout/TabLayout.js +40 -46
  653. package/esm/TabLayout/TabLayout.js.map +1 -0
  654. package/esm/TabLayout/index.js +2 -1
  655. package/esm/TabLayout/index.js.map +1 -0
  656. package/esm/TabLayout/tab-layout.css +14 -0
  657. package/esm/TabLayout/tab-layout.scss +21 -0
  658. package/esm/TableToolbar/TableToolbar.css +36 -0
  659. package/esm/TableToolbar/TableToolbar.js +57 -48
  660. package/esm/TableToolbar/TableToolbar.js.map +1 -0
  661. package/esm/TableToolbar/TableToolbar.scss +28 -0
  662. package/esm/TableToolbar/index.js +2 -1
  663. package/esm/TableToolbar/index.js.map +1 -0
  664. package/esm/TagCount/TagCount.js +32 -36
  665. package/esm/TagCount/TagCount.js.map +1 -0
  666. package/esm/TagCount/index.js +2 -1
  667. package/esm/TagCount/index.js.map +1 -0
  668. package/esm/TagCount/tagCount.css +9 -0
  669. package/esm/TagCount/tagCount.scss +9 -0
  670. package/esm/TagModal/TableWithFilter.js +123 -168
  671. package/esm/TagModal/TableWithFilter.js.map +1 -0
  672. package/esm/TagModal/TagModal.js +128 -200
  673. package/esm/TagModal/TagModal.js.map +1 -0
  674. package/esm/TagModal/index.js +2 -1
  675. package/esm/TagModal/index.js.map +1 -0
  676. package/esm/TagModal/tagModal.css +3 -0
  677. package/esm/TagModal/tagModal.scss +3 -0
  678. package/esm/TreeTable/decorator.js +40 -42
  679. package/esm/TreeTable/decorator.js.map +1 -0
  680. package/esm/TreeTable/helpers.js +40 -42
  681. package/esm/TreeTable/helpers.js.map +1 -0
  682. package/esm/TreeTable/index.js +2 -1
  683. package/esm/TreeTable/index.js.map +1 -0
  684. package/esm/TreeTable/rowWrapper.js +31 -33
  685. package/esm/TreeTable/rowWrapper.js.map +1 -0
  686. package/esm/TreeTable/styles.css +338 -0
  687. package/esm/TreeTable/styles.scss +278 -0
  688. package/esm/Truncate/Truncate.js +50 -87
  689. package/esm/Truncate/Truncate.js.map +1 -0
  690. package/esm/Truncate/index.js +2 -1
  691. package/esm/Truncate/index.js.map +1 -0
  692. package/esm/Truncate/truncate.css +12 -0
  693. package/esm/Truncate/truncate.scss +5 -0
  694. package/esm/Unavailable/Unavailable.css +3 -0
  695. package/esm/Unavailable/Unavailable.js +16 -24
  696. package/esm/Unavailable/Unavailable.js.map +1 -0
  697. package/esm/Unavailable/Unavailable.scss +3 -0
  698. package/esm/Unavailable/index.js +2 -1
  699. package/esm/Unavailable/index.js.map +1 -0
  700. package/esm/Wizard/Wizard.js +102 -149
  701. package/esm/Wizard/Wizard.js.map +1 -0
  702. package/esm/Wizard/index.js +2 -1
  703. package/esm/Wizard/index.js.map +1 -0
  704. package/esm/Wizard/wizard.css +7 -0
  705. package/esm/Wizard/wizard.scss +7 -0
  706. package/esm/index.css +1902 -0
  707. package/esm/index.js +2 -1
  708. package/esm/index.js.map +1 -0
  709. package/esm/index.scss +32 -0
  710. package/esm/useChrome/index.js +2 -1
  711. package/esm/useChrome/index.js.map +1 -0
  712. package/esm/useChrome/useChrome.js +22 -23
  713. package/esm/useChrome/useChrome.js.map +1 -0
  714. package/esm/usePendoFeedback/index.js +2 -1
  715. package/esm/usePendoFeedback/index.js.map +1 -0
  716. package/esm/usePendoFeedback/usePendoFeedback.js +14 -18
  717. package/esm/usePendoFeedback/usePendoFeedback.js.map +1 -0
  718. package/esm/useScreenSize/breakpoints.js +8 -7
  719. package/esm/useScreenSize/breakpoints.js.map +1 -0
  720. package/esm/useScreenSize/getVariant.js +12 -20
  721. package/esm/useScreenSize/getVariant.js.map +1 -0
  722. package/esm/useScreenSize/index.js +2 -1
  723. package/esm/useScreenSize/index.js.map +1 -0
  724. package/esm/useScreenSize/isSmallScreen.js +3 -6
  725. package/esm/useScreenSize/isSmallScreen.js.map +1 -0
  726. package/esm/useScreenSize/useScreenSize.js +17 -29
  727. package/esm/useScreenSize/useScreenSize.js.map +1 -0
  728. package/index.css +14 -34
  729. package/index.d.ts +39 -0
  730. package/index.js +51 -511
  731. package/index.js.map +1 -0
  732. package/package.json +7 -6
  733. package/tsconfig.cjs.json +8 -0
  734. package/useChrome/index.d.ts +2 -0
  735. package/useChrome/index.js +10 -20
  736. package/useChrome/index.js.map +1 -0
  737. package/useChrome/package.json +1 -1
  738. package/useChrome/useChrome.d.ts +130 -0
  739. package/useChrome/useChrome.js +24 -33
  740. package/useChrome/useChrome.js.map +1 -0
  741. package/usePendoFeedback/index.d.ts +2 -0
  742. package/usePendoFeedback/index.js +10 -20
  743. package/usePendoFeedback/index.js.map +1 -0
  744. package/usePendoFeedback/package.json +1 -1
  745. package/usePendoFeedback/usePendoFeedback.d.ts +2 -0
  746. package/usePendoFeedback/usePendoFeedback.js +18 -27
  747. package/usePendoFeedback/usePendoFeedback.js.map +1 -0
  748. package/useScreenSize/breakpoints.d.ts +9 -0
  749. package/useScreenSize/breakpoints.js +18 -28
  750. package/useScreenSize/breakpoints.js.map +1 -0
  751. package/useScreenSize/getVariant.d.ts +2 -0
  752. package/useScreenSize/getVariant.js +17 -31
  753. package/useScreenSize/getVariant.js.map +1 -0
  754. package/useScreenSize/index.d.ts +5 -0
  755. package/useScreenSize/index.js +16 -44
  756. package/useScreenSize/index.js.map +1 -0
  757. package/useScreenSize/isSmallScreen.d.ts +3 -0
  758. package/useScreenSize/isSmallScreen.js +7 -15
  759. package/useScreenSize/isSmallScreen.js.map +1 -0
  760. package/useScreenSize/package.json +1 -1
  761. package/useScreenSize/useScreenSize.d.ts +2 -0
  762. package/useScreenSize/useScreenSize.js +23 -42
  763. package/useScreenSize/useScreenSize.js.map +1 -0
  764. package/Dark/configContext.js +0 -15
  765. package/esm/Dark/configContext.js +0 -3
@@ -1,216 +1,153 @@
1
1
  "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- var _typeof = require("@babel/runtime/helpers/typeof");
6
-
7
- Object.defineProperty(exports, "__esModule", {
8
- value: true
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ var __assign = (this && this.__assign) || function () {
18
+ __assign = Object.assign || function(t) {
19
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
20
+ s = arguments[i];
21
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
22
+ t[p] = s[p];
23
+ }
24
+ return t;
25
+ };
26
+ return __assign.apply(this, arguments);
27
+ };
28
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
29
+ if (k2 === undefined) k2 = k;
30
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
31
+ }) : (function(o, m, k, k2) {
32
+ if (k2 === undefined) k2 = k;
33
+ o[k2] = m[k];
34
+ }));
35
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
36
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
37
+ }) : function(o, v) {
38
+ o["default"] = v;
9
39
  });
10
- exports["default"] = void 0;
11
-
12
- var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
13
-
14
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
15
-
16
- var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
17
-
18
- var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
19
-
20
- var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
21
-
22
- var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
23
-
24
- var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
25
-
26
- var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
27
-
28
- var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
29
-
30
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
31
-
32
- var _react = _interopRequireWildcard(require("react"));
33
-
34
- var _propTypes = _interopRequireDefault(require("prop-types"));
35
-
36
- var _Select = require("@patternfly/react-core/dist/js/components/Select/Select.js");
37
-
38
- var _SelectOption = require("@patternfly/react-core/dist/js/components/Select/SelectOption.js");
39
-
40
- var _selectConstants = require("@patternfly/react-core/dist/js/components/Select/selectConstants.js");
41
-
42
- var _TextFilter = _interopRequireDefault(require("./TextFilter"));
43
-
44
- var _isEqual = _interopRequireDefault(require("lodash/isEqual"));
45
-
46
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
47
-
48
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
49
-
50
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
51
-
52
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
53
-
54
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
55
-
56
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
57
-
58
- /**
59
- * CheckboxFilter is a part of the <a href="/components/ConditionalFilter">Conditional filter composite component</a>.
60
- * It was not designed to be used as a standalone component.
61
- */
62
- var CheckboxFilter = /*#__PURE__*/function (_Component) {
63
- (0, _inherits2["default"])(CheckboxFilter, _Component);
64
-
65
- var _super = _createSuper(CheckboxFilter);
66
-
67
- function CheckboxFilter() {
68
- var _this;
69
-
70
- (0, _classCallCheck2["default"])(this, CheckboxFilter);
71
-
72
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
73
- args[_key] = arguments[_key];
74
- }
75
-
76
- _this = _super.call.apply(_super, [this].concat(args));
77
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "state", {
78
- isExpanded: false,
79
- selected: []
80
- });
81
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "onToggle", function (isExpanded) {
82
- _this.setState({
83
- isExpanded: isExpanded
84
- });
85
- });
86
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "calculateSelected", function () {
87
- var selected = _this.state.selected;
88
- var value = _this.props.value;
89
- return Array.from(new Set([].concat((0, _toConsumableArray2["default"])(value && value.length > 0 && value.constructor === Array ? value.map(function (item) {
90
- return item.value || item;
91
- }) : []), (0, _toConsumableArray2["default"])(selected))));
92
- });
93
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "onSelect", function (event, selection) {
94
- var onChange = _this.props.onChange;
95
-
96
- var newSelection = _this.calculateSelected();
97
-
98
- if (newSelection.includes(selection)) {
99
- newSelection = newSelection.filter(function (item) {
100
- return item !== selection;
101
- });
102
- } else {
103
- newSelection = [].concat((0, _toConsumableArray2["default"])(newSelection), [selection]);
104
- }
105
-
106
- onChange(event, newSelection, selection);
107
-
108
- _this.setState({
109
- selected: newSelection
110
- });
111
- });
112
- return _this;
113
- }
114
-
115
- (0, _createClass2["default"])(CheckboxFilter, [{
116
- key: "componentDidUpdate",
117
- value: function componentDidUpdate(_ref) {
118
- var prevSelected = _ref.value;
119
- var value = this.props.value;
120
-
121
- if (!(0, _isEqual["default"])(prevSelected, value)) {
122
- this.setState({
123
- selected: value
124
- });
125
- }
40
+ var __importStar = (this && this.__importStar) || function (mod) {
41
+ if (mod && mod.__esModule) return mod;
42
+ var result = {};
43
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
44
+ __setModuleDefault(result, mod);
45
+ return result;
46
+ };
47
+ var __rest = (this && this.__rest) || function (s, e) {
48
+ var t = {};
49
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
50
+ t[p] = s[p];
51
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
52
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
53
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
54
+ t[p[i]] = s[p[i]];
55
+ }
56
+ return t;
57
+ };
58
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
59
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
60
+ if (ar || !(i in from)) {
61
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
62
+ ar[i] = from[i];
63
+ }
126
64
  }
127
- }, {
128
- key: "render",
129
- value: function render() {
130
- var isExpanded = this.state.isExpanded;
131
- var _this$props = this.props,
132
- items = _this$props.items,
133
- placeholder = _this$props.placeholder,
134
- isDisabled = _this$props.isDisabled,
135
- className = _this$props.className;
136
- return /*#__PURE__*/_react["default"].createElement(_react.Fragment, null, !items || items && items.length <= 0 ? /*#__PURE__*/_react["default"].createElement(_TextFilter["default"], (0, _extends2["default"])({}, this.props, {
137
- value: "".concat(this.calculateSelected())
138
- })) : /*#__PURE__*/_react["default"].createElement(_Select.Select, {
139
- className: className,
140
- variant: _selectConstants.SelectVariant.checkbox,
141
- "aria-label": "Select Input",
142
- onToggle: this.onToggle,
143
- isDisabled: isDisabled,
144
- onSelect: this.onSelect,
145
- selections: this.calculateSelected(),
146
- isOpen: isExpanded,
147
- placeholderText: placeholder,
148
- ouiaId: placeholder
149
- }, items.map(function (_ref2, key) {
150
- var value = _ref2.value,
151
- _onClick = _ref2.onClick,
152
- label = _ref2.label,
153
- id = _ref2.id,
154
- item = (0, _objectWithoutProperties2["default"])(_ref2, ["value", "onClick", "label", "id"]);
155
- return /*#__PURE__*/_react["default"].createElement(_SelectOption.SelectOption, (0, _extends2["default"])({}, item, {
156
- key: id || key,
157
- value: String(value || id || key),
158
- onClick: function onClick(e) {
159
- return _onClick && _onClick(e, _objectSpread({
160
- value: value,
161
- label: label,
162
- id: id
163
- }, item), key);
164
- }
165
- }), label);
166
- })));
65
+ return to.concat(ar || Array.prototype.slice.call(from));
66
+ };
67
+ var __importDefault = (this && this.__importDefault) || function (mod) {
68
+ return (mod && mod.__esModule) ? mod : { "default": mod };
69
+ };
70
+ Object.defineProperty(exports, "__esModule", { value: true });
71
+ var react_1 = __importStar(require("react"));
72
+ var prop_types_1 = __importDefault(require("prop-types"));
73
+ var react_core_1 = require("@patternfly/react-core");
74
+ var TextFilter_1 = __importDefault(require("./TextFilter"));
75
+ var isEqual_1 = __importDefault(require("lodash/isEqual"));
76
+ var CheckboxFilter = (function (_super) {
77
+ __extends(CheckboxFilter, _super);
78
+ function CheckboxFilter() {
79
+ var _this = _super !== null && _super.apply(this, arguments) || this;
80
+ _this.state = {
81
+ isExpanded: false,
82
+ selected: [],
83
+ };
84
+ _this.onToggle = function (isExpanded) {
85
+ _this.setState({
86
+ isExpanded: isExpanded,
87
+ });
88
+ };
89
+ _this.calculateSelected = function () {
90
+ var selected = _this.state.selected;
91
+ var value = _this.props.value;
92
+ return Array.from(new Set(__spreadArray(__spreadArray([], (value && value.length > 0 && value.constructor === Array ? value.map(function (item) { return item.value || item; }) : []), true), selected, true)));
93
+ };
94
+ _this.onSelect = function (event, selection) {
95
+ var onChange = _this.props.onChange;
96
+ var newSelection = _this.calculateSelected();
97
+ if (newSelection.includes(selection)) {
98
+ newSelection = newSelection.filter(function (item) { return item !== selection; });
99
+ }
100
+ else {
101
+ newSelection = __spreadArray(__spreadArray([], newSelection, true), [selection], false);
102
+ }
103
+ onChange(event, newSelection, selection);
104
+ _this.setState({ selected: newSelection });
105
+ };
106
+ return _this;
167
107
  }
168
- }]);
169
- return CheckboxFilter;
170
- }(_react.Component);
171
-
108
+ CheckboxFilter.prototype.componentDidUpdate = function (_a) {
109
+ var prevSelected = _a.value;
110
+ var value = this.props.value;
111
+ if (!(0, isEqual_1.default)(prevSelected, value)) {
112
+ this.setState({
113
+ selected: value,
114
+ });
115
+ }
116
+ };
117
+ CheckboxFilter.prototype.render = function () {
118
+ var isExpanded = this.state.isExpanded;
119
+ var _a = this.props, items = _a.items, placeholder = _a.placeholder, isDisabled = _a.isDisabled, className = _a.className;
120
+ return (react_1.default.createElement(react_1.Fragment, null, !items || (items && items.length <= 0) ? (react_1.default.createElement(TextFilter_1.default, __assign({}, this.props, { value: "".concat(this.calculateSelected()) }))) : (react_1.default.createElement(react_core_1.Select, { className: className, variant: react_core_1.SelectVariant.checkbox, "aria-label": "Select Input", onToggle: this.onToggle, isDisabled: isDisabled, onSelect: this.onSelect, selections: this.calculateSelected(), isOpen: isExpanded, placeholderText: placeholder, ouiaId: placeholder }, items.map(function (_a, key) {
121
+ var value = _a.value, onClick = _a.onClick, label = _a.label, id = _a.id, item = __rest(_a, ["value", "onClick", "label", "id"]);
122
+ return (react_1.default.createElement(react_core_1.SelectOption, __assign({}, item, { key: id || key, value: String(value || id || key), onClick: function (e) { return onClick && onClick(e, __assign({ value: value, label: label, id: id }, item), key); } }), label));
123
+ })))));
124
+ };
125
+ return CheckboxFilter;
126
+ }(react_1.Component));
172
127
  CheckboxFilter.propTypes = {
173
- /**
174
- * onChange event callback <br /><code>func(event, newSelection, currentSelection) => undefined</code>
175
- */
176
- onChange: _propTypes["default"].func,
177
-
178
- /**
179
- * List of selected values
180
- */
181
- value: _propTypes["default"].arrayOf(_propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].shape({
182
- label: _propTypes["default"].node,
183
- value: _propTypes["default"].string
184
- })])),
185
-
186
- /**
187
- * Select value placeholder
188
- */
189
- placeholder: _propTypes["default"].string,
190
-
191
- /**
192
- * List of available options
193
- */
194
- items: _propTypes["default"].arrayOf(_propTypes["default"].shape({
195
- value: _propTypes["default"].string,
196
- label: _propTypes["default"].node,
197
- id: _propTypes["default"].string,
198
- onClick: _propTypes["default"].func
199
- })),
200
-
201
- /**
202
- * Disabled flag
203
- */
204
- isDisabled: _propTypes["default"].bool,
205
- className: _propTypes["default"].string
128
+ onChange: prop_types_1.default.func,
129
+ value: prop_types_1.default.arrayOf(prop_types_1.default.oneOfType([
130
+ prop_types_1.default.string,
131
+ prop_types_1.default.shape({
132
+ label: prop_types_1.default.node,
133
+ value: prop_types_1.default.string,
134
+ }),
135
+ ])),
136
+ placeholder: prop_types_1.default.string,
137
+ items: prop_types_1.default.arrayOf(prop_types_1.default.shape({
138
+ value: prop_types_1.default.string,
139
+ label: prop_types_1.default.node,
140
+ id: prop_types_1.default.string,
141
+ onClick: prop_types_1.default.func,
142
+ })),
143
+ isDisabled: prop_types_1.default.bool,
144
+ className: prop_types_1.default.string,
206
145
  };
207
146
  CheckboxFilter.defaultProps = {
208
- items: [],
209
- value: [],
210
- onChange: function onChange() {
211
- return undefined;
212
- },
213
- isDisabled: false
147
+ items: [],
148
+ value: [],
149
+ onChange: function () { return undefined; },
150
+ isDisabled: false,
214
151
  };
215
- var _default = CheckboxFilter;
216
- exports["default"] = _default;
152
+ exports.default = CheckboxFilter;
153
+ //# sourceMappingURL=CheckboxFilter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxFilter.js","sourceRoot":"","sources":["../src/ConditionalFilter/CheckboxFilter.js"],"names":[],"mappings":"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"}
@@ -0,0 +1,58 @@
1
+ export default ConditionalFilter;
2
+ declare class ConditionalFilter extends React.Component<any, any, any> {
3
+ constructor(props: any);
4
+ breakpointConstant: number;
5
+ dropdownToggle: (isOpen: any) => void;
6
+ onChange: (_e: any, value: any) => void;
7
+ getWrapper: () => React.ExoticComponent<{
8
+ children?: React.ReactNode;
9
+ }> | ((props: any) => JSX.Element);
10
+ updateFilterViewport: (width: any) => boolean;
11
+ resizeListener: void | undefined;
12
+ }
13
+ declare namespace ConditionalFilter {
14
+ namespace propTypes {
15
+ const id: PropTypes.Requireable<string>;
16
+ const isDisabled: PropTypes.Requireable<boolean>;
17
+ const useMobileLayout: PropTypes.Requireable<boolean>;
18
+ const value: PropTypes.Requireable<string>;
19
+ const placeholder: PropTypes.Requireable<string>;
20
+ const onChange: PropTypes.Requireable<(...args: any[]) => any>;
21
+ const hideLabel: PropTypes.Requireable<boolean>;
22
+ const items: PropTypes.Requireable<(PropTypes.InferProps<{
23
+ id: PropTypes.Requireable<string>;
24
+ label: PropTypes.Requireable<PropTypes.ReactNodeLike>;
25
+ value: PropTypes.Requireable<string>;
26
+ type: PropTypes.Requireable<string>;
27
+ filterValues: PropTypes.Requireable<PropTypes.InferProps<{
28
+ value: PropTypes.Requireable<string>;
29
+ placeholder: PropTypes.Requireable<string>;
30
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
31
+ }> | PropTypes.InferProps<{
32
+ value: PropTypes.Requireable<PropTypes.InferProps<{}>>;
33
+ items: PropTypes.Requireable<(PropTypes.InferProps<{
34
+ label: PropTypes.Requireable<PropTypes.ReactNodeLike>;
35
+ value: PropTypes.Requireable<string>;
36
+ }> | null | undefined)[]>;
37
+ placeholder: PropTypes.Requireable<string>;
38
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
39
+ }>>;
40
+ }> | null | undefined)[]>;
41
+ }
42
+ namespace defaultProps {
43
+ const value_1: string;
44
+ export { value_1 as value };
45
+ const items_1: never[];
46
+ export { items_1 as items };
47
+ const hideLabel_1: boolean;
48
+ export { hideLabel_1 as hideLabel };
49
+ const isDisabled_1: boolean;
50
+ export { isDisabled_1 as isDisabled };
51
+ const id_1: string;
52
+ export { id_1 as id };
53
+ const useMobileLayout_1: boolean;
54
+ export { useMobileLayout_1 as useMobileLayout };
55
+ }
56
+ }
57
+ import React from "react";
58
+ import PropTypes from "prop-types";