@carbon/ibm-products 2.43.2-canary.125 → 2.43.2-canary.129

Sign up to get free protection for your applications and to get access to all the features.
Files changed (390) hide show
  1. package/css/index-full-carbon.css +1 -1
  2. package/css/index-full-carbon.min.css +1 -1
  3. package/css/index-full-carbon.min.css.map +1 -1
  4. package/css/index-without-carbon-released-only.css +1 -1
  5. package/css/index-without-carbon-released-only.min.css +1 -1
  6. package/css/index-without-carbon-released-only.min.css.map +1 -1
  7. package/css/index-without-carbon.css +1 -1
  8. package/css/index-without-carbon.min.css +1 -1
  9. package/css/index-without-carbon.min.css.map +1 -1
  10. package/css/index.css +1 -1
  11. package/css/index.min.css +1 -1
  12. package/css/index.min.css.map +1 -1
  13. package/es/components/APIKeyModal/index.d.ts +2 -1
  14. package/es/components/AboutModal/AboutModal.d.ts +1 -2
  15. package/es/components/AboutModal/index.d.ts +8 -1
  16. package/es/components/ActionSet/ActionSet.d.ts +1 -2
  17. package/es/components/ActionSet/ActionSet.js +2 -2
  18. package/es/components/ActionSet/index.d.ts +8 -1
  19. package/es/components/AddSelect/AddSelectBody.js +3 -3
  20. package/es/components/AddSelect/index.d.ts +2 -1
  21. package/es/components/Carousel/index.d.ts +9 -2
  22. package/es/components/Cascade/Cascade.d.ts +1 -2
  23. package/es/components/Cascade/Cascade.js +2 -2
  24. package/es/components/Cascade/index.d.ts +2 -1
  25. package/es/components/Checklist/Checklist.d.ts +2 -2
  26. package/es/components/Checklist/Checklist.js +6 -6
  27. package/es/components/Checklist/index.d.ts +8 -1
  28. package/es/components/Coachmark/Coachmark.d.ts +1 -2
  29. package/es/components/Coachmark/Coachmark.js +5 -5
  30. package/es/components/Coachmark/index.d.ts +10 -3
  31. package/es/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +2 -3
  32. package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +3 -2
  33. package/es/components/CoachmarkBeacon/index.d.ts +8 -1
  34. package/es/components/CoachmarkButton/CoachmarkButton.d.ts +1 -2
  35. package/es/components/CoachmarkButton/CoachmarkButton.js +4 -2
  36. package/es/components/CoachmarkButton/index.d.ts +8 -1
  37. package/es/components/CoachmarkFixed/CoachmarkFixed.d.ts +1 -2
  38. package/es/components/CoachmarkFixed/CoachmarkFixed.js +6 -5
  39. package/es/components/CoachmarkFixed/index.d.ts +8 -1
  40. package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +1 -2
  41. package/es/components/CoachmarkOverlayElement/index.d.ts +8 -1
  42. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +1 -2
  43. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +8 -5
  44. package/es/components/CoachmarkOverlayElements/index.d.ts +8 -1
  45. package/es/components/CoachmarkStack/CoachmarkStackHome.js +1 -1
  46. package/es/components/ComboButton/ComboButton.d.ts +1 -1
  47. package/es/components/ComboButton/ComboButton.js +4 -4
  48. package/es/components/ComboButton/index.d.ts +9 -2
  49. package/es/components/CreateFullPage/CreateFullPage.d.ts +1 -1
  50. package/es/components/CreateFullPage/CreateFullPage.js +5 -5
  51. package/es/components/CreateFullPage/index.d.ts +9 -2
  52. package/es/components/CreateModal/CreateModal.d.ts +2 -3
  53. package/es/components/CreateModal/CreateModal.js +1 -1
  54. package/es/components/CreateModal/index.d.ts +2 -1
  55. package/es/components/CreateSidePanel/CreateSidePanel.js +1 -1
  56. package/es/components/CreateSidePanel/index.d.ts +7 -1
  57. package/es/components/CreateTearsheet/CreateTearsheet.d.ts +2 -2
  58. package/es/components/CreateTearsheet/CreateTearsheet.js +4 -4
  59. package/es/components/CreateTearsheet/index.d.ts +10 -3
  60. package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +1 -1
  61. package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +2 -2
  62. package/es/components/CreateTearsheetNarrow/index.d.ts +8 -1
  63. package/es/components/DataSpreadsheet/DataSpreadsheet.d.ts +3 -4
  64. package/es/components/DataSpreadsheet/DataSpreadsheet.js +11 -10
  65. package/es/components/DataSpreadsheet/index.d.ts +8 -1
  66. package/es/components/Datagrid/Datagrid/DatagridContent.js +1 -1
  67. package/es/components/Datagrid/Datagrid/DatagridRow.js +7 -5
  68. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +2 -1
  69. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -1
  70. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
  71. package/es/components/Datagrid/Datagrid/addons/stateReducer.d.ts +7 -0
  72. package/es/components/Datagrid/Datagrid/addons/stateReducer.js +70 -27
  73. package/es/components/Datagrid/types/index.d.ts +2 -0
  74. package/es/components/Datagrid/useNestedRowExpander.js +65 -16
  75. package/es/components/Datagrid/useRowRenderer.js +44 -2
  76. package/es/components/DelimitedList/DelimitedList.d.ts +1 -2
  77. package/es/components/DelimitedList/index.d.ts +8 -1
  78. package/es/components/EditFullPage/EditFullPage.d.ts +1 -2
  79. package/es/components/EditFullPage/index.d.ts +8 -1
  80. package/es/components/EditInPlace/EditInPlace.d.ts +1 -1
  81. package/es/components/EditInPlace/EditInPlace.js +3 -3
  82. package/es/components/EditInPlace/index.d.ts +8 -1
  83. package/es/components/EditSidePanel/EditSidePanel.d.ts +2 -3
  84. package/es/components/EditSidePanel/EditSidePanel.js +3 -3
  85. package/es/components/EditSidePanel/index.d.ts +8 -1
  86. package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +1 -2
  87. package/es/components/EditTearsheetNarrow/index.d.ts +8 -1
  88. package/es/components/EditUpdateCards/EditUpdateCards.d.ts +1 -1
  89. package/es/components/EditUpdateCards/EditUpdateCards.js +2 -1
  90. package/es/components/EditUpdateCards/index.d.ts +8 -1
  91. package/es/components/ExportModal/ExportModal.d.ts +3 -3
  92. package/es/components/ExportModal/ExportModal.js +3 -3
  93. package/es/components/ExportModal/index.d.ts +2 -1
  94. package/es/components/ExpressiveCard/ExpressiveCard.d.ts +1 -1
  95. package/es/components/ExpressiveCard/ExpressiveCard.js +1 -1
  96. package/es/components/ExpressiveCard/index.d.ts +2 -1
  97. package/es/components/FeatureFlags/index.d.ts +26 -21
  98. package/es/components/FeatureFlags/index.js +1 -10
  99. package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +1 -1
  100. package/es/components/FilterSummary/FilterSummary.d.ts +1 -1
  101. package/es/components/FilterSummary/FilterSummary.js +7 -8
  102. package/es/components/FilterSummary/index.d.ts +8 -1
  103. package/es/components/FullPageError/FullPageError.d.ts +1 -2
  104. package/es/components/FullPageError/FullPageError.js +4 -4
  105. package/es/components/FullPageError/index.d.ts +8 -1
  106. package/es/components/GetStartedCard/GetStartedCard.d.ts +1 -1
  107. package/es/components/GetStartedCard/index.d.ts +8 -1
  108. package/es/components/Guidebanner/Guidebanner.d.ts +1 -2
  109. package/es/components/Guidebanner/Guidebanner.js +5 -4
  110. package/es/components/Guidebanner/GuidebannerElement.d.ts +1 -2
  111. package/es/components/Guidebanner/GuidebannerElementButton.d.ts +2 -3
  112. package/es/components/Guidebanner/GuidebannerElementButton.js +2 -2
  113. package/es/components/Guidebanner/GuidebannerElementLink.d.ts +2 -3
  114. package/es/components/Guidebanner/GuidebannerElementLink.js +1 -1
  115. package/es/components/Guidebanner/index.d.ts +14 -4
  116. package/es/components/ImportModal/ImportModal.d.ts +1 -1
  117. package/es/components/ImportModal/ImportModal.js +3 -3
  118. package/es/components/ImportModal/index.d.ts +2 -1
  119. package/es/components/InlineTip/InlineTip.d.ts +1 -1
  120. package/es/components/InlineTip/InlineTip.js +4 -4
  121. package/es/components/InlineTip/InlineTipButton.d.ts +1 -2
  122. package/es/components/InlineTip/InlineTipButton.js +1 -1
  123. package/es/components/InlineTip/InlineTipLink.d.ts +1 -2
  124. package/es/components/InlineTip/InlineTipLink.js +2 -2
  125. package/es/components/InlineTip/index.d.ts +12 -3
  126. package/es/components/InterstitialScreen/InterstitialScreen.d.ts +1 -1
  127. package/es/components/InterstitialScreen/InterstitialScreen.js +6 -5
  128. package/es/components/InterstitialScreen/index.d.ts +8 -1
  129. package/es/components/InterstitialScreenView/InterstitialScreenView.d.ts +1 -2
  130. package/es/components/InterstitialScreenView/index.d.ts +8 -1
  131. package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +1 -2
  132. package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +1 -1
  133. package/es/components/InterstitialScreenViewModule/index.d.ts +8 -1
  134. package/es/components/MultiAddSelect/MultiAddSelect.d.ts +1 -1
  135. package/es/components/MultiAddSelect/MultiAddSelect.js +1 -1
  136. package/es/components/MultiAddSelect/index.d.ts +2 -1
  137. package/es/components/NonLinearReading/NonLinearReading.d.ts +1 -1
  138. package/es/components/NonLinearReading/NonLinearReading.js +2 -2
  139. package/es/components/NonLinearReading/index.d.ts +8 -1
  140. package/es/components/NotificationsPanel/NotificationsPanel.d.ts +2 -2
  141. package/es/components/NotificationsPanel/NotificationsPanel.js +3 -3
  142. package/es/components/NotificationsPanel/index.d.ts +8 -1
  143. package/es/components/OptionsTile/OptionsTile.d.ts +1 -2
  144. package/es/components/OptionsTile/OptionsTile.js +4 -4
  145. package/es/components/OptionsTile/index.d.ts +8 -1
  146. package/es/components/PageHeader/PageHeader.d.ts +2 -2
  147. package/es/components/PageHeader/PageHeader.js +8 -8
  148. package/es/components/PageHeader/index.d.ts +2 -1
  149. package/es/components/ProductiveCard/ProductiveCard.d.ts +1 -1
  150. package/es/components/ProductiveCard/ProductiveCard.js +1 -1
  151. package/es/components/ProductiveCard/index.d.ts +2 -1
  152. package/es/components/RemoveModal/RemoveModal.d.ts +2 -3
  153. package/es/components/RemoveModal/RemoveModal.js +3 -3
  154. package/es/components/RemoveModal/index.d.ts +2 -1
  155. package/es/components/Saving/Saving.d.ts +1 -1
  156. package/es/components/Saving/Saving.js +2 -2
  157. package/es/components/Saving/index.d.ts +2 -1
  158. package/es/components/SearchBar/SearchBar.d.ts +1 -1
  159. package/es/components/SearchBar/SearchBar.js +1 -1
  160. package/es/components/SearchBar/index.d.ts +8 -1
  161. package/es/components/SidePanel/SidePanel.d.ts +1 -1
  162. package/es/components/SidePanel/SidePanel.js +9 -9
  163. package/es/components/SidePanel/index.d.ts +8 -1
  164. package/es/components/SingleAddSelect/SingleAddSelect.d.ts +1 -2
  165. package/es/components/SingleAddSelect/SingleAddSelect.js +1 -1
  166. package/es/components/SingleAddSelect/index.d.ts +2 -1
  167. package/es/components/StatusIcon/StatusIcon.d.ts +1 -1
  168. package/es/components/StatusIcon/StatusIcon.js +1 -1
  169. package/es/components/StatusIcon/index.d.ts +8 -1
  170. package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +1 -2
  171. package/es/components/SteppedAnimatedMedia/index.d.ts +8 -1
  172. package/es/components/TagOverflow/TagOverflow.d.ts +3 -3
  173. package/es/components/TagOverflow/TagOverflow.js +4 -4
  174. package/es/components/TagOverflow/index.d.ts +8 -1
  175. package/es/components/TagSet/TagSet.d.ts +2 -2
  176. package/es/components/TagSet/TagSet.js +4 -4
  177. package/es/components/TagSet/index.d.ts +2 -1
  178. package/es/components/Tearsheet/Tearsheet.d.ts +2 -3
  179. package/es/components/Tearsheet/Tearsheet.js +4 -4
  180. package/es/components/Tearsheet/TearsheetNarrow.d.ts +3 -3
  181. package/es/components/Tearsheet/TearsheetNarrow.js +4 -4
  182. package/es/components/Tearsheet/TearsheetShell.js +1 -1
  183. package/es/components/Tearsheet/index.d.ts +10 -2
  184. package/es/components/Toolbar/Toolbar.d.ts +1 -1
  185. package/es/components/Toolbar/Toolbar.js +3 -3
  186. package/es/components/Toolbar/ToolbarButton.d.ts +2 -3
  187. package/es/components/Toolbar/ToolbarButton.js +3 -3
  188. package/es/components/Toolbar/ToolbarGroup.d.ts +1 -2
  189. package/es/components/Toolbar/ToolbarGroup.js +3 -3
  190. package/es/components/Toolbar/index.d.ts +12 -3
  191. package/es/components/TruncatedList/TruncatedList.d.ts +1 -2
  192. package/es/components/TruncatedList/TruncatedList.js +2 -2
  193. package/es/components/TruncatedList/index.d.ts +8 -1
  194. package/es/components/UserProfileImage/UserProfileImage.d.ts +3 -3
  195. package/es/components/UserProfileImage/UserProfileImage.js +5 -4
  196. package/es/components/UserProfileImage/index.d.ts +2 -1
  197. package/es/components/WebTerminal/WebTerminal.d.ts +4 -4
  198. package/es/components/WebTerminal/WebTerminal.js +5 -5
  199. package/es/components/WebTerminal/WebTerminalContentWrapper.d.ts +2 -3
  200. package/es/components/WebTerminal/index.d.ts +11 -3
  201. package/lib/components/APIKeyModal/index.d.ts +2 -1
  202. package/lib/components/AboutModal/AboutModal.d.ts +1 -2
  203. package/lib/components/AboutModal/index.d.ts +8 -1
  204. package/lib/components/ActionSet/ActionSet.d.ts +1 -2
  205. package/lib/components/ActionSet/ActionSet.js +2 -2
  206. package/lib/components/ActionSet/index.d.ts +8 -1
  207. package/lib/components/AddSelect/AddSelectBody.js +2 -2
  208. package/lib/components/AddSelect/index.d.ts +2 -1
  209. package/lib/components/Carousel/index.d.ts +9 -2
  210. package/lib/components/Cascade/Cascade.d.ts +1 -2
  211. package/lib/components/Cascade/Cascade.js +2 -2
  212. package/lib/components/Cascade/index.d.ts +2 -1
  213. package/lib/components/Checklist/Checklist.d.ts +2 -2
  214. package/lib/components/Checklist/Checklist.js +6 -6
  215. package/lib/components/Checklist/index.d.ts +8 -1
  216. package/lib/components/Coachmark/Coachmark.d.ts +1 -2
  217. package/lib/components/Coachmark/Coachmark.js +5 -5
  218. package/lib/components/Coachmark/index.d.ts +10 -3
  219. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +2 -3
  220. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +3 -2
  221. package/lib/components/CoachmarkBeacon/index.d.ts +8 -1
  222. package/lib/components/CoachmarkButton/CoachmarkButton.d.ts +1 -2
  223. package/lib/components/CoachmarkButton/CoachmarkButton.js +4 -2
  224. package/lib/components/CoachmarkButton/index.d.ts +8 -1
  225. package/lib/components/CoachmarkFixed/CoachmarkFixed.d.ts +1 -2
  226. package/lib/components/CoachmarkFixed/CoachmarkFixed.js +6 -5
  227. package/lib/components/CoachmarkFixed/index.d.ts +8 -1
  228. package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +1 -2
  229. package/lib/components/CoachmarkOverlayElement/index.d.ts +8 -1
  230. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +1 -2
  231. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +8 -5
  232. package/lib/components/CoachmarkOverlayElements/index.d.ts +8 -1
  233. package/lib/components/CoachmarkStack/CoachmarkStackHome.js +1 -1
  234. package/lib/components/ComboButton/ComboButton.d.ts +1 -1
  235. package/lib/components/ComboButton/ComboButton.js +5 -5
  236. package/lib/components/ComboButton/index.d.ts +9 -2
  237. package/lib/components/CreateFullPage/CreateFullPage.d.ts +1 -1
  238. package/lib/components/CreateFullPage/CreateFullPage.js +5 -5
  239. package/lib/components/CreateFullPage/index.d.ts +9 -2
  240. package/lib/components/CreateModal/CreateModal.d.ts +2 -3
  241. package/lib/components/CreateModal/CreateModal.js +1 -1
  242. package/lib/components/CreateModal/index.d.ts +2 -1
  243. package/lib/components/CreateSidePanel/CreateSidePanel.js +1 -1
  244. package/lib/components/CreateSidePanel/index.d.ts +7 -1
  245. package/lib/components/CreateTearsheet/CreateTearsheet.d.ts +2 -2
  246. package/lib/components/CreateTearsheet/CreateTearsheet.js +4 -4
  247. package/lib/components/CreateTearsheet/index.d.ts +10 -3
  248. package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +1 -1
  249. package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +2 -2
  250. package/lib/components/CreateTearsheetNarrow/index.d.ts +8 -1
  251. package/lib/components/DataSpreadsheet/DataSpreadsheet.d.ts +3 -4
  252. package/lib/components/DataSpreadsheet/DataSpreadsheet.js +11 -10
  253. package/lib/components/DataSpreadsheet/index.d.ts +8 -1
  254. package/lib/components/Datagrid/Datagrid/DatagridContent.js +1 -1
  255. package/lib/components/Datagrid/Datagrid/DatagridRow.js +7 -5
  256. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +2 -1
  257. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -1
  258. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
  259. package/lib/components/Datagrid/Datagrid/addons/stateReducer.d.ts +7 -0
  260. package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +70 -26
  261. package/lib/components/Datagrid/types/index.d.ts +2 -0
  262. package/lib/components/Datagrid/useNestedRowExpander.js +64 -15
  263. package/lib/components/Datagrid/useRowRenderer.js +44 -2
  264. package/lib/components/DelimitedList/DelimitedList.d.ts +1 -2
  265. package/lib/components/DelimitedList/index.d.ts +8 -1
  266. package/lib/components/EditFullPage/EditFullPage.d.ts +1 -2
  267. package/lib/components/EditFullPage/index.d.ts +8 -1
  268. package/lib/components/EditInPlace/EditInPlace.d.ts +1 -1
  269. package/lib/components/EditInPlace/EditInPlace.js +3 -3
  270. package/lib/components/EditInPlace/index.d.ts +8 -1
  271. package/lib/components/EditSidePanel/EditSidePanel.d.ts +2 -3
  272. package/lib/components/EditSidePanel/EditSidePanel.js +3 -3
  273. package/lib/components/EditSidePanel/index.d.ts +8 -1
  274. package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +1 -2
  275. package/lib/components/EditTearsheetNarrow/index.d.ts +8 -1
  276. package/lib/components/EditUpdateCards/EditUpdateCards.d.ts +1 -1
  277. package/lib/components/EditUpdateCards/EditUpdateCards.js +2 -1
  278. package/lib/components/EditUpdateCards/index.d.ts +8 -1
  279. package/lib/components/ExportModal/ExportModal.d.ts +3 -3
  280. package/lib/components/ExportModal/ExportModal.js +3 -3
  281. package/lib/components/ExportModal/index.d.ts +2 -1
  282. package/lib/components/ExpressiveCard/ExpressiveCard.d.ts +1 -1
  283. package/lib/components/ExpressiveCard/ExpressiveCard.js +1 -1
  284. package/lib/components/ExpressiveCard/index.d.ts +2 -1
  285. package/lib/components/FeatureFlags/index.d.ts +26 -21
  286. package/lib/components/FeatureFlags/index.js +1 -10
  287. package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +1 -1
  288. package/lib/components/FilterSummary/FilterSummary.d.ts +1 -1
  289. package/lib/components/FilterSummary/FilterSummary.js +7 -8
  290. package/lib/components/FilterSummary/index.d.ts +8 -1
  291. package/lib/components/FullPageError/FullPageError.d.ts +1 -2
  292. package/lib/components/FullPageError/FullPageError.js +4 -4
  293. package/lib/components/FullPageError/index.d.ts +8 -1
  294. package/lib/components/GetStartedCard/GetStartedCard.d.ts +1 -1
  295. package/lib/components/GetStartedCard/index.d.ts +8 -1
  296. package/lib/components/Guidebanner/Guidebanner.d.ts +1 -2
  297. package/lib/components/Guidebanner/Guidebanner.js +5 -4
  298. package/lib/components/Guidebanner/GuidebannerElement.d.ts +1 -2
  299. package/lib/components/Guidebanner/GuidebannerElementButton.d.ts +2 -3
  300. package/lib/components/Guidebanner/GuidebannerElementButton.js +2 -2
  301. package/lib/components/Guidebanner/GuidebannerElementLink.d.ts +2 -3
  302. package/lib/components/Guidebanner/GuidebannerElementLink.js +1 -1
  303. package/lib/components/Guidebanner/index.d.ts +14 -4
  304. package/lib/components/ImportModal/ImportModal.d.ts +1 -1
  305. package/lib/components/ImportModal/ImportModal.js +3 -3
  306. package/lib/components/ImportModal/index.d.ts +2 -1
  307. package/lib/components/InlineTip/InlineTip.d.ts +1 -1
  308. package/lib/components/InlineTip/InlineTip.js +4 -4
  309. package/lib/components/InlineTip/InlineTipButton.d.ts +1 -2
  310. package/lib/components/InlineTip/InlineTipButton.js +1 -1
  311. package/lib/components/InlineTip/InlineTipLink.d.ts +1 -2
  312. package/lib/components/InlineTip/InlineTipLink.js +2 -2
  313. package/lib/components/InlineTip/index.d.ts +12 -3
  314. package/lib/components/InterstitialScreen/InterstitialScreen.d.ts +1 -1
  315. package/lib/components/InterstitialScreen/InterstitialScreen.js +6 -5
  316. package/lib/components/InterstitialScreen/index.d.ts +8 -1
  317. package/lib/components/InterstitialScreenView/InterstitialScreenView.d.ts +1 -2
  318. package/lib/components/InterstitialScreenView/index.d.ts +8 -1
  319. package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +1 -2
  320. package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +1 -1
  321. package/lib/components/InterstitialScreenViewModule/index.d.ts +8 -1
  322. package/lib/components/MultiAddSelect/MultiAddSelect.d.ts +1 -1
  323. package/lib/components/MultiAddSelect/MultiAddSelect.js +1 -1
  324. package/lib/components/MultiAddSelect/index.d.ts +2 -1
  325. package/lib/components/NonLinearReading/NonLinearReading.d.ts +1 -1
  326. package/lib/components/NonLinearReading/NonLinearReading.js +2 -2
  327. package/lib/components/NonLinearReading/index.d.ts +8 -1
  328. package/lib/components/NotificationsPanel/NotificationsPanel.d.ts +2 -2
  329. package/lib/components/NotificationsPanel/NotificationsPanel.js +3 -3
  330. package/lib/components/NotificationsPanel/index.d.ts +8 -1
  331. package/lib/components/OptionsTile/OptionsTile.d.ts +1 -2
  332. package/lib/components/OptionsTile/OptionsTile.js +5 -5
  333. package/lib/components/OptionsTile/index.d.ts +8 -1
  334. package/lib/components/PageHeader/PageHeader.d.ts +2 -2
  335. package/lib/components/PageHeader/PageHeader.js +8 -8
  336. package/lib/components/PageHeader/index.d.ts +2 -1
  337. package/lib/components/ProductiveCard/ProductiveCard.d.ts +1 -1
  338. package/lib/components/ProductiveCard/ProductiveCard.js +1 -1
  339. package/lib/components/ProductiveCard/index.d.ts +2 -1
  340. package/lib/components/RemoveModal/RemoveModal.d.ts +2 -3
  341. package/lib/components/RemoveModal/RemoveModal.js +3 -3
  342. package/lib/components/RemoveModal/index.d.ts +2 -1
  343. package/lib/components/Saving/Saving.d.ts +1 -1
  344. package/lib/components/Saving/Saving.js +2 -2
  345. package/lib/components/Saving/index.d.ts +2 -1
  346. package/lib/components/SearchBar/SearchBar.d.ts +1 -1
  347. package/lib/components/SearchBar/SearchBar.js +1 -1
  348. package/lib/components/SearchBar/index.d.ts +8 -1
  349. package/lib/components/SidePanel/SidePanel.d.ts +1 -1
  350. package/lib/components/SidePanel/SidePanel.js +9 -9
  351. package/lib/components/SidePanel/index.d.ts +8 -1
  352. package/lib/components/SingleAddSelect/SingleAddSelect.d.ts +1 -2
  353. package/lib/components/SingleAddSelect/SingleAddSelect.js +1 -1
  354. package/lib/components/SingleAddSelect/index.d.ts +2 -1
  355. package/lib/components/StatusIcon/StatusIcon.d.ts +1 -1
  356. package/lib/components/StatusIcon/StatusIcon.js +1 -1
  357. package/lib/components/StatusIcon/index.d.ts +8 -1
  358. package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +1 -2
  359. package/lib/components/SteppedAnimatedMedia/index.d.ts +8 -1
  360. package/lib/components/TagOverflow/TagOverflow.d.ts +3 -3
  361. package/lib/components/TagOverflow/TagOverflow.js +4 -4
  362. package/lib/components/TagOverflow/index.d.ts +8 -1
  363. package/lib/components/TagSet/TagSet.d.ts +2 -2
  364. package/lib/components/TagSet/TagSet.js +4 -4
  365. package/lib/components/TagSet/index.d.ts +2 -1
  366. package/lib/components/Tearsheet/Tearsheet.d.ts +2 -3
  367. package/lib/components/Tearsheet/Tearsheet.js +4 -4
  368. package/lib/components/Tearsheet/TearsheetNarrow.d.ts +3 -3
  369. package/lib/components/Tearsheet/TearsheetNarrow.js +4 -4
  370. package/lib/components/Tearsheet/TearsheetShell.js +1 -1
  371. package/lib/components/Tearsheet/index.d.ts +10 -2
  372. package/lib/components/Toolbar/Toolbar.d.ts +1 -1
  373. package/lib/components/Toolbar/Toolbar.js +4 -4
  374. package/lib/components/Toolbar/ToolbarButton.d.ts +2 -3
  375. package/lib/components/Toolbar/ToolbarButton.js +4 -4
  376. package/lib/components/Toolbar/ToolbarGroup.d.ts +1 -2
  377. package/lib/components/Toolbar/ToolbarGroup.js +4 -4
  378. package/lib/components/Toolbar/index.d.ts +12 -3
  379. package/lib/components/TruncatedList/TruncatedList.d.ts +1 -2
  380. package/lib/components/TruncatedList/TruncatedList.js +2 -2
  381. package/lib/components/TruncatedList/index.d.ts +8 -1
  382. package/lib/components/UserProfileImage/UserProfileImage.d.ts +3 -3
  383. package/lib/components/UserProfileImage/UserProfileImage.js +5 -4
  384. package/lib/components/UserProfileImage/index.d.ts +2 -1
  385. package/lib/components/WebTerminal/WebTerminal.d.ts +4 -4
  386. package/lib/components/WebTerminal/WebTerminal.js +5 -5
  387. package/lib/components/WebTerminal/WebTerminalContentWrapper.d.ts +2 -3
  388. package/lib/components/WebTerminal/index.d.ts +11 -3
  389. package/package.json +2 -2
  390. package/scss/components/Datagrid/styles/_useNestedRows.scss +1 -1
@@ -9,18 +9,60 @@
9
9
 
10
10
  Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
+ var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
12
13
  var DatagridRow = require('./Datagrid/DatagridRow.js');
13
14
 
14
15
  var useRowRenderer = function useRowRenderer(hooks) {
15
16
  var useInstance = function useInstance(instance) {
16
- var rows = instance.rows;
17
+ var _newRows;
18
+ var rows = instance.rows,
19
+ state = instance.state;
20
+ var newRows = null;
21
+ if (state !== null && state !== void 0 && state.dynamicRowSkeleton) {
22
+ var _state$dynamicRowSkel;
23
+ var depthIndexArray = state === null || state === void 0 || (_state$dynamicRowSkel = state.dynamicRowSkeleton) === null || _state$dynamicRowSkel === void 0 ? void 0 : _state$dynamicRowSkel.id.split('').filter(function (r) {
24
+ return r !== '.';
25
+ });
26
+ if (depthIndexArray.length > 1) {
27
+ var subRows;
28
+ var finalRow;
29
+ // This will find the subRow that requested to find dynamic rows
30
+ // and will apply the skeleton row after that row
31
+ depthIndexArray.map(function (depthIndex, index) {
32
+ if (index === 0) {
33
+ subRows = rows[depthIndex].subRows;
34
+ return;
35
+ }
36
+ if (depthIndexArray.length - 1 === index) {
37
+ finalRow = subRows.find(function (r) {
38
+ return r.index === parseInt(depthIndex);
39
+ });
40
+ subRows.splice(finalRow.index + 1, 0, state === null || state === void 0 ? void 0 : state.dynamicRowSkeleton); // + 1 because we want to add the skeleton row after the row initiating the dynamic request
41
+ return;
42
+ }
43
+ var foundRow = subRows.find(function (r) {
44
+ return r.index === parseInt(depthIndex);
45
+ });
46
+ subRows = foundRow.subRows;
47
+ });
48
+ }
49
+ var rootRowIndexWithDynamicRow = rows.findIndex(function (r) {
50
+ var _state$dynamicRowSkel2;
51
+ return r.id === (state === null || state === void 0 || (_state$dynamicRowSkel2 = state.dynamicRowSkeleton) === null || _state$dynamicRowSkel2 === void 0 ? void 0 : _state$dynamicRowSkel2.id);
52
+ });
53
+ if (rootRowIndexWithDynamicRow > -1) {
54
+ newRows = [].concat(_rollupPluginBabelHelpers.toConsumableArray(rows.slice(0, rootRowIndexWithDynamicRow + 1)), [// + 1 because we want to add the skeleton row after the row initiating the dynamic request
55
+ state === null || state === void 0 ? void 0 : state.dynamicRowSkeleton], _rollupPluginBabelHelpers.toConsumableArray(rows.slice(rootRowIndexWithDynamicRow + 1)));
56
+ }
57
+ }
58
+ newRows = (_newRows = newRows) !== null && _newRows !== void 0 ? _newRows : rows;
17
59
  var addRowRenderer = function addRowRenderer(row) {
18
60
  return Object.assign(row, {
19
61
  RowRenderer: DatagridRow["default"],
20
62
  subRows: (row.subRows || []).map(addRowRenderer)
21
63
  });
22
64
  };
23
- var rowsWithRenderer = rows.map(addRowRenderer);
65
+ var rowsWithRenderer = newRows.map(addRowRenderer);
24
66
  Object.assign(instance, {
25
67
  rows: rowsWithRenderer
26
68
  });
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { PropsWithChildren } from 'react';
8
- interface DelimitedListProps extends PropsWithChildren {
8
+ export interface DelimitedListProps extends PropsWithChildren {
9
9
  /**
10
10
  * Provide an optional class to be applied to the containing node.
11
11
  */
@@ -28,4 +28,3 @@ interface DelimitedListProps extends PropsWithChildren {
28
28
  * comma-separated values.
29
29
  */
30
30
  export declare let DelimitedList: React.ForwardRefExoticComponent<DelimitedListProps & React.RefAttributes<HTMLDivElement>>;
31
- export {};
@@ -1 +1,8 @@
1
- export { DelimitedList } from "./DelimitedList";
1
+ /**
2
+ * Copyright IBM Corp. 2024, 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export { DelimitedList } from './DelimitedList';
8
+ export type { DelimitedListProps } from './DelimitedList';
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { ReactNode } from 'react';
8
- interface EditFullPageProps {
8
+ export interface EditFullPageProps {
9
9
  /**
10
10
  * Provide an optional class to be applied to the containing node.
11
11
  */
@@ -20,4 +20,3 @@ interface EditFullPageProps {
20
20
  * See usage guidance for further details.
21
21
  */
22
22
  export declare let EditFullPage: React.ForwardRefExoticComponent<EditFullPageProps & React.RefAttributes<HTMLDivElement>>;
23
- export {};
@@ -1 +1,8 @@
1
- export { EditFullPage } from "./EditFullPage";
1
+ /**
2
+ * Copyright IBM Corp. 2022, 2022
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export { EditFullPage } from './EditFullPage';
8
+ export type { EditFullPageProps } from './EditFullPage';
@@ -13,7 +13,7 @@ type Shape = {
13
13
  edit: AlignPropType;
14
14
  save: AlignPropType;
15
15
  };
16
- interface EditInplaceProps extends PropsWithChildren {
16
+ export interface EditInplaceProps extends PropsWithChildren {
17
17
  /**
18
18
  * label for cancel button
19
19
  */
@@ -10,12 +10,12 @@
10
10
  Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
+ var icons = require('@carbon/react/icons');
13
14
  var React = require('react');
15
+ var settings = require('../../settings.js');
14
16
  var react = require('@carbon/react');
15
- var cx = require('classnames');
16
17
  var index = require('../../node_modules/prop-types/index.js');
17
- var icons = require('@carbon/react/icons');
18
- var settings = require('../../settings.js');
18
+ var cx = require('classnames');
19
19
  var devtools = require('../../global/js/utils/devtools.js');
20
20
 
21
21
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -1 +1,8 @@
1
- export { EditInPlace } from "./EditInPlace";
1
+ /**
2
+ * Copyright IBM Corp. 2022, 2022
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export { EditInPlace } from './EditInPlace';
8
+ export type { EditInplaceProps } from './EditInPlace';
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import React, { ReactNode } from 'react';
8
7
  import '../../global/js/utils/props-helper';
9
- interface EditSidePanelProps {
8
+ import React, { ReactNode } from 'react';
9
+ export interface EditSidePanelProps {
10
10
  /**
11
11
  * Sets the body content of the create side panel
12
12
  */
@@ -92,4 +92,3 @@ interface EditSidePanelProps {
92
92
  * Use with medium complexity edits if the user needs page context.
93
93
  */
94
94
  export declare let EditSidePanel: React.ForwardRefExoticComponent<EditSidePanelProps & React.RefAttributes<HTMLDivElement>>;
95
- export {};
@@ -10,15 +10,15 @@
10
10
  Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
+ require('../../global/js/utils/props-helper.js');
13
14
  var React = require('react');
15
+ var react = require('@carbon/react');
14
16
  var index = require('../../node_modules/prop-types/index.js');
17
+ var SidePanel = require('../SidePanel/SidePanel.js');
15
18
  var cx = require('classnames');
16
19
  var devtools = require('../../global/js/utils/devtools.js');
17
20
  var settings = require('../../settings.js');
18
- var react = require('@carbon/react');
19
- require('../../global/js/utils/props-helper.js');
20
21
  var uuidv4 = require('../../global/js/utils/uuidv4.js');
21
- var SidePanel = require('../SidePanel/SidePanel.js');
22
22
 
23
23
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
24
24
 
@@ -1 +1,8 @@
1
- export { EditSidePanel } from "./EditSidePanel";
1
+ /**
2
+ * Copyright IBM Corp. 2021, 2021
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export { EditSidePanel } from './EditSidePanel';
8
+ export type { EditSidePanelProps } from './EditSidePanel';
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { ReactNode } from 'react';
8
- interface EditTearsheetNarrowProps {
8
+ export interface EditTearsheetNarrowProps {
9
9
  /**
10
10
  * Provide the contents of the EditTearsheetNarrow.
11
11
  */
@@ -19,4 +19,3 @@ interface EditTearsheetNarrowProps {
19
19
  * Use a narrow tearsheet as an alternative to a modal when there is scrolling. See usage guidance for further information.
20
20
  */
21
21
  export declare let EditTearsheetNarrow: React.ForwardRefExoticComponent<EditTearsheetNarrowProps & React.RefAttributes<HTMLDivElement>>;
22
- export {};
@@ -1 +1,8 @@
1
- export { EditTearsheetNarrow } from "./EditTearsheetNarrow";
1
+ /**
2
+ * Copyright IBM Corp. 2022, 2022
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export { EditTearsheetNarrow } from './EditTearsheetNarrow';
8
+ export type { EditTearsheetNarrowProps } from './EditTearsheetNarrow';
@@ -15,7 +15,7 @@ type ActionIcon = {
15
15
  href?: string;
16
16
  };
17
17
  type PlacementType = 'top' | 'bottom';
18
- interface EditUpdateCardsProps {
18
+ export interface EditUpdateCardsProps {
19
19
  /**
20
20
  * Icons that are displayed on card. Refer to design documentation for implementation guidelines
21
21
  */
@@ -11,11 +11,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
13
  var React = require('react');
14
+ var ProductiveCard = require('../ProductiveCard/ProductiveCard.js');
14
15
  var index = require('../../node_modules/prop-types/index.js');
15
16
  var cx = require('classnames');
16
17
  var devtools = require('../../global/js/utils/devtools.js');
17
18
  var settings = require('../../settings.js');
18
- var ProductiveCard = require('../ProductiveCard/ProductiveCard.js');
19
19
 
20
20
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
21
21
 
@@ -23,6 +23,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
23
23
  var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
24
24
 
25
25
  var _excluded = ["actionIcons", "actionsPlacement", "className", "description", "editChildren", "editMode", "label", "onPrimaryButtonClick", "onSecondaryButtonClick", "previewChildren", "title", "titleSize", "primaryButtonIcon", "primaryButtonText", "secondaryButtonIcon", "secondaryButtonText"];
26
+
26
27
  // import { children } from 'cheerio/lib/api/traversing';
27
28
 
28
29
  // Carbon and package components we use.
@@ -1 +1,8 @@
1
- export { EditUpdateCards } from "./EditUpdateCards";
1
+ /**
2
+ * Copyright IBM Corp. 2022, 2022
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export { EditUpdateCards } from './EditUpdateCards';
8
+ export type { EditUpdateCardsProps } from './EditUpdateCards';
@@ -1,12 +1,12 @@
1
1
  /// <reference path="../../../src/custom-typings/index.d.ts" />
2
- import React, { ReactNode } from 'react';
3
2
  import { ComposedModal } from '@carbon/react';
3
+ import React, { ReactNode } from 'react';
4
4
  type InputType = 'text' | 'password';
5
5
  type PreformattedExtensions = {
6
6
  extension?: string;
7
7
  description?: string;
8
8
  };
9
- interface RemoveModalProps extends React.ComponentProps<typeof ComposedModal> {
9
+ export interface ExportModalProps extends React.ComponentProps<typeof ComposedModal> {
10
10
  /**
11
11
  * Body content for the modal
12
12
  */
@@ -107,7 +107,7 @@ interface RemoveModalProps extends React.ComponentProps<typeof ComposedModal> {
107
107
  /**
108
108
  * Modal dialog version of the export pattern
109
109
  */
110
- export declare let ExportModal: React.ForwardRefExoticComponent<RemoveModalProps & {
110
+ export declare let ExportModal: React.ForwardRefExoticComponent<ExportModalProps & {
111
111
  children?: React.ReactNode;
112
112
  } & React.RefAttributes<unknown>>;
113
113
  export {};
@@ -10,15 +10,15 @@
10
10
  Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
- var React = require('react');
14
13
  var react = require('@carbon/react');
15
- var cx = require('classnames');
16
14
  var icons = require('@carbon/react/icons');
15
+ var React = require('react');
17
16
  var index = require('../../node_modules/prop-types/index.js');
17
+ var cx = require('classnames');
18
18
  var devtools = require('../../global/js/utils/devtools.js');
19
- var uuidv4 = require('../../global/js/utils/uuidv4.js');
20
19
  var settings = require('../../settings.js');
21
20
  var usePortalTarget = require('../../global/js/hooks/usePortalTarget.js');
21
+ var uuidv4 = require('../../global/js/utils/uuidv4.js');
22
22
 
23
23
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
24
24
 
@@ -1 +1,2 @@
1
- export { ExportModal } from "./ExportModal";
1
+ export { ExportModal } from './ExportModal';
2
+ export type { ExportModalProps } from './ExportModal';
@@ -8,7 +8,7 @@ type ActionIcon = {
8
8
  iconDescription?: string;
9
9
  href?: string;
10
10
  };
11
- interface ExpressiveCardProps extends PropsWithChildren {
11
+ export interface ExpressiveCardProps extends PropsWithChildren {
12
12
  /**
13
13
  * Icons that are displayed on card. Refer to design documentation for implementation guidelines. Note- href will supersede onClick
14
14
  */
@@ -13,8 +13,8 @@ var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelper
13
13
  var React = require('react');
14
14
  var index = require('../../node_modules/prop-types/index.js');
15
15
  var devtools = require('../../global/js/utils/devtools.js');
16
- var propsHelper = require('../../global/js/utils/props-helper.js');
17
16
  var settings = require('../../settings.js');
17
+ var propsHelper = require('../../global/js/utils/props-helper.js');
18
18
  var Card = require('../Card/Card.js');
19
19
 
20
20
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -1 +1,2 @@
1
- export { ExpressiveCard } from "./ExpressiveCard";
1
+ export { ExpressiveCard } from './ExpressiveCard';
2
+ export type { ExpressiveCardProps } from './ExpressiveCard';
@@ -1,37 +1,42 @@
1
+ /**
2
+ * Copyright IBM Corp. 2024, 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import React from 'react';
8
+ import PropTypes from 'prop-types';
9
+ /**
10
+ * Our FeatureFlagContext is used alongside the FeatureFlags component to enable
11
+ * or disable feature flags in a given React tree
12
+ */
13
+ declare const FeatureFlagContext: React.Context<any>;
1
14
  /**
2
15
  * Supports an object of feature flag values with the `flags` prop, merging them
3
16
  * along with the current `FeatureFlagContext` to provide consumers to check if
4
17
  * a feature flag is enabled or disabled in a given React tree
5
18
  */
6
- export function FeatureFlags({ children, flags }: {
19
+ declare function FeatureFlags({ children, flags }: {
7
20
  children: any;
8
21
  flags?: {} | undefined;
9
22
  }): import("react/jsx-runtime").JSX.Element;
10
- export namespace FeatureFlags {
11
- namespace propTypes {
12
- let children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
13
- let flags: PropTypes.Requireable<{
23
+ declare namespace FeatureFlags {
24
+ var propTypes: {
25
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
26
+ /**
27
+ * Provide the feature flags to enabled or disabled in the current React tree
28
+ */
29
+ flags: PropTypes.Requireable<{
14
30
  [x: string]: boolean | null | undefined;
15
31
  }>;
16
- }
32
+ };
17
33
  }
18
34
  /**
19
- * Our FeatureFlagContext is used alongside the FeatureFlags component to enable
20
- * or disable feature flags in a given React tree
35
+ * Access whether a given flag is enabled or disabled in a given FeatureFlagContext
21
36
  */
22
- export const FeatureFlagContext: React.Context<any>;
37
+ declare function useFeatureFlag(flag: string): boolean;
23
38
  /**
24
39
  * Access all feature flag information for the given FeatureFlagContext
25
- *
26
- * @returns {FeatureFlagScope}
27
- */
28
- export function useFeatureFlags(): FeatureFlagScope;
29
- /**
30
- * Access whether a given flag is enabled or disabled in a given
31
- * FeatureFlagContext
32
- *
33
- * @returns {boolean}
34
40
  */
35
- export function useFeatureFlag(flag: any): boolean;
36
- import PropTypes from 'prop-types';
37
- import React from 'react';
41
+ declare function useFeatureFlags(): any;
42
+ export { FeatureFlags, FeatureFlagContext, useFeatureFlags, useFeatureFlag };
@@ -108,21 +108,15 @@ function useChangedValue(value, compare, callback) {
108
108
  }
109
109
 
110
110
  /**
111
- * Access whether a given flag is enabled or disabled in a given
112
- * FeatureFlagContext
113
- *
114
- * @returns {boolean}
111
+ * Access whether a given flag is enabled or disabled in a given FeatureFlagContext
115
112
  */
116
113
  function useFeatureFlag(flag) {
117
114
  var scope = React.useContext(FeatureFlagContext);
118
- // console.log(scope);
119
115
  return scope.enabled(flag);
120
116
  }
121
117
 
122
118
  /**
123
119
  * Access all feature flag information for the given FeatureFlagContext
124
- *
125
- * @returns {FeatureFlagScope}
126
120
  */
127
121
  function useFeatureFlags() {
128
122
  return React.useContext(FeatureFlagContext);
@@ -133,9 +127,6 @@ function useFeatureFlags() {
133
127
  * comparison since the objects we are comparing are objects with boolean flags
134
128
  * from the flags prop in the `FeatureFlags` component
135
129
  *
136
- * @param {object} a
137
- * @param {object} b
138
- * @returns {boolean}
139
130
  */
140
131
  function isEqual(a, b) {
141
132
  if (a === b) {
@@ -16,8 +16,8 @@ var cx = require('classnames');
16
16
  var react = require('@carbon/react');
17
17
  var devtools = require('../../../global/js/utils/devtools.js');
18
18
  var settings = require('../../../settings.js');
19
- var FilterPanelLabel = require('../FilterPanelLabel/FilterPanelLabel.js');
20
19
  var TruncatedList = require('../../TruncatedList/TruncatedList.js');
20
+ var FilterPanelLabel = require('../FilterPanelLabel/FilterPanelLabel.js');
21
21
 
22
22
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
23
23
 
@@ -9,7 +9,7 @@ export interface Filter {
9
9
  key: string;
10
10
  value: string;
11
11
  }
12
- interface FilterSummaryProps {
12
+ export interface FilterSummaryProps {
13
13
  className?: string;
14
14
  clearButtonInline?: boolean;
15
15
  clearFilters: () => void;
@@ -10,20 +10,20 @@
10
10
  Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
- var React = require('react');
14
- var react = require('@carbon/react');
15
13
  var framerMotion = require('framer-motion');
14
+ var react = require('@carbon/react');
15
+ var motionConstants = require('../../global/js/utils/motionConstants.js');
16
+ var React = require('react');
16
17
  var icons = require('@carbon/react/icons');
17
18
  var index = require('../../node_modules/prop-types/index.js');
19
+ var TagSet = require('../TagSet/TagSet.js');
18
20
  var cx = require('classnames');
19
- var settings = require('../../settings.js');
20
- var uuidv4 = require('../../global/js/utils/uuidv4.js');
21
- var motionConstants = require('../../global/js/utils/motionConstants.js');
22
21
  var debounce = require('lodash/debounce');
23
22
  var devtools = require('../../global/js/utils/devtools.js');
23
+ var settings = require('../../settings.js');
24
+ var uuidv4 = require('../../global/js/utils/uuidv4.js');
24
25
  var usePreviousValue = require('../../global/js/hooks/usePreviousValue.js');
25
26
  var useWindowResize = require('../../global/js/hooks/useWindowResize.js');
26
- var TagSet = require('../TagSet/TagSet.js');
27
27
 
28
28
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
29
29
 
@@ -169,6 +169,5 @@ FilterSummary.propTypes = {
169
169
  overflowType: index["default"].oneOf(['default', 'tag']),
170
170
  renderLabel: index["default"].func
171
171
  };
172
- var FilterSummary$1 = FilterSummary;
173
172
 
174
- exports["default"] = FilterSummary$1;
173
+ exports["default"] = FilterSummary;
@@ -1 +1,8 @@
1
- export { default as FilterSummary } from "./FilterSummary";
1
+ /**
2
+ * Copyright IBM Corp. 2022, 2022
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export { default as FilterSummary } from './FilterSummary';
8
+ export type { FilterSummaryProps } from './FilterSummary';
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { ReactNode } from 'react';
8
- interface FullPageErrorProps {
8
+ export interface FullPageErrorProps {
9
9
  /**
10
10
  * Provide the contents of the FullPageError.
11
11
  */
@@ -37,4 +37,3 @@ interface FullPageErrorProps {
37
37
  * This is typically caused by issues with the requested URL or access permissions.
38
38
  */
39
39
  export declare let FullPageError: React.ForwardRefExoticComponent<FullPageErrorProps & React.RefAttributes<HTMLDivElement>>;
40
- export {};
@@ -10,15 +10,15 @@
10
10
  Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
+ var react = require('@carbon/react');
13
14
  var React = require('react');
15
+ var Error403SVG = require('./assets/Error403SVG.js');
16
+ var Error404SVG = require('./assets/Error404SVG.js');
17
+ var ErrorGenericSVG = require('./assets/ErrorGenericSVG.js');
14
18
  var index = require('../../node_modules/prop-types/index.js');
15
19
  var cx = require('classnames');
16
20
  var devtools = require('../../global/js/utils/devtools.js');
17
21
  var settings = require('../../settings.js');
18
- var ErrorGenericSVG = require('./assets/ErrorGenericSVG.js');
19
- var Error404SVG = require('./assets/Error404SVG.js');
20
- var Error403SVG = require('./assets/Error403SVG.js');
21
- var react = require('@carbon/react');
22
22
 
23
23
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
24
24
 
@@ -1 +1,8 @@
1
- export { FullPageError } from "./FullPageError";
1
+ /**
2
+ * Copyright IBM Corp. 2024, 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export { FullPageError } from './FullPageError';
8
+ export type { FullPageErrorProps } from './FullPageError';
@@ -10,7 +10,7 @@ type MetaData = {
10
10
  icon?: () => ReactNode;
11
11
  iconDescription?: string;
12
12
  };
13
- interface GetStartedCardProps extends PropsWithChildren {
13
+ export interface GetStartedCardProps extends PropsWithChildren {
14
14
  /**
15
15
  * Provide an optional class to be applied to the containing node.
16
16
  */
@@ -1 +1,8 @@
1
- export { GetStartedCard } from "./GetStartedCard";
1
+ /**
2
+ * Copyright IBM Corp. 2024, 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export { GetStartedCard } from './GetStartedCard';
8
+ export type { GetStartedCardProps } from './GetStartedCard';
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { ReactNode } from 'react';
8
- interface GuidebannerProps {
8
+ export interface GuidebannerProps {
9
9
  /**
10
10
  * Provide the contents of the Guidebanner.
11
11
  * One or more GuidebannerElement components are required.
@@ -63,4 +63,3 @@ interface GuidebannerProps {
63
63
  * to introduce foundational concepts related to the page's content.
64
64
  */
65
65
  export declare let Guidebanner: React.ForwardRefExoticComponent<GuidebannerProps & React.RefAttributes<HTMLDivElement>>;
66
- export {};
@@ -10,16 +10,17 @@
10
10
  Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
+ var react = require('@carbon/react');
14
+ var icons = require('@carbon/react/icons');
13
15
  var React = require('react');
16
+ var index = require('../../node_modules/@carbon/colors/es/index.js');
17
+ var Carousel = require('../Carousel/Carousel.js');
18
+ require('../Carousel/CarouselItem.js');
14
19
  var index$1 = require('../../node_modules/prop-types/index.js');
15
20
  var cx = require('classnames');
16
- var index = require('../../node_modules/@carbon/colors/es/index.js');
17
- var icons = require('@carbon/react/icons');
18
- var react = require('@carbon/react');
19
21
  var devtools = require('../../global/js/utils/devtools.js');
20
22
  var settings = require('../../settings.js');
21
23
  var uuidv4 = require('../../global/js/utils/uuidv4.js');
22
- var Carousel = require('../Carousel/Carousel.js');
23
24
 
24
25
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
25
26
 
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { ReactNode } from 'react';
8
- interface GuidebannerElementProps {
8
+ export interface GuidebannerElementProps {
9
9
  /**
10
10
  * An optional button can be rendered below the description.
11
11
  * This can be a link, button, Coachmark button, etc.
@@ -29,4 +29,3 @@ interface GuidebannerElementProps {
29
29
  * and acts as a container for a CarouselItem.
30
30
  */
31
31
  export declare let GuidebannerElement: React.ForwardRefExoticComponent<GuidebannerElementProps & React.RefAttributes<HTMLDivElement>>;
32
- export {};