@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.
- package/css/index-full-carbon.css +1 -1
- package/css/index-full-carbon.min.css +1 -1
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +1 -1
- package/css/index-without-carbon-released-only.min.css +1 -1
- package/css/index-without-carbon-released-only.min.css.map +1 -1
- package/css/index-without-carbon.css +1 -1
- package/css/index-without-carbon.min.css +1 -1
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/es/components/APIKeyModal/index.d.ts +2 -1
- package/es/components/AboutModal/AboutModal.d.ts +1 -2
- package/es/components/AboutModal/index.d.ts +8 -1
- package/es/components/ActionSet/ActionSet.d.ts +1 -2
- package/es/components/ActionSet/ActionSet.js +2 -2
- package/es/components/ActionSet/index.d.ts +8 -1
- package/es/components/AddSelect/AddSelectBody.js +3 -3
- package/es/components/AddSelect/index.d.ts +2 -1
- package/es/components/Carousel/index.d.ts +9 -2
- package/es/components/Cascade/Cascade.d.ts +1 -2
- package/es/components/Cascade/Cascade.js +2 -2
- package/es/components/Cascade/index.d.ts +2 -1
- package/es/components/Checklist/Checklist.d.ts +2 -2
- package/es/components/Checklist/Checklist.js +6 -6
- package/es/components/Checklist/index.d.ts +8 -1
- package/es/components/Coachmark/Coachmark.d.ts +1 -2
- package/es/components/Coachmark/Coachmark.js +5 -5
- package/es/components/Coachmark/index.d.ts +10 -3
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +2 -3
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +3 -2
- package/es/components/CoachmarkBeacon/index.d.ts +8 -1
- package/es/components/CoachmarkButton/CoachmarkButton.d.ts +1 -2
- package/es/components/CoachmarkButton/CoachmarkButton.js +4 -2
- package/es/components/CoachmarkButton/index.d.ts +8 -1
- package/es/components/CoachmarkFixed/CoachmarkFixed.d.ts +1 -2
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +6 -5
- package/es/components/CoachmarkFixed/index.d.ts +8 -1
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +1 -2
- package/es/components/CoachmarkOverlayElement/index.d.ts +8 -1
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +1 -2
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +8 -5
- package/es/components/CoachmarkOverlayElements/index.d.ts +8 -1
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +1 -1
- package/es/components/ComboButton/ComboButton.d.ts +1 -1
- package/es/components/ComboButton/ComboButton.js +4 -4
- package/es/components/ComboButton/index.d.ts +9 -2
- package/es/components/CreateFullPage/CreateFullPage.d.ts +1 -1
- package/es/components/CreateFullPage/CreateFullPage.js +5 -5
- package/es/components/CreateFullPage/index.d.ts +9 -2
- package/es/components/CreateModal/CreateModal.d.ts +2 -3
- package/es/components/CreateModal/CreateModal.js +1 -1
- package/es/components/CreateModal/index.d.ts +2 -1
- package/es/components/CreateSidePanel/CreateSidePanel.js +1 -1
- package/es/components/CreateSidePanel/index.d.ts +7 -1
- package/es/components/CreateTearsheet/CreateTearsheet.d.ts +2 -2
- package/es/components/CreateTearsheet/CreateTearsheet.js +4 -4
- package/es/components/CreateTearsheet/index.d.ts +10 -3
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +1 -1
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +2 -2
- package/es/components/CreateTearsheetNarrow/index.d.ts +8 -1
- package/es/components/DataSpreadsheet/DataSpreadsheet.d.ts +3 -4
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +11 -10
- package/es/components/DataSpreadsheet/index.d.ts +8 -1
- package/es/components/Datagrid/Datagrid/DatagridContent.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridRow.js +7 -5
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +2 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/stateReducer.d.ts +7 -0
- package/es/components/Datagrid/Datagrid/addons/stateReducer.js +70 -27
- package/es/components/Datagrid/types/index.d.ts +2 -0
- package/es/components/Datagrid/useNestedRowExpander.js +65 -16
- package/es/components/Datagrid/useRowRenderer.js +44 -2
- package/es/components/DelimitedList/DelimitedList.d.ts +1 -2
- package/es/components/DelimitedList/index.d.ts +8 -1
- package/es/components/EditFullPage/EditFullPage.d.ts +1 -2
- package/es/components/EditFullPage/index.d.ts +8 -1
- package/es/components/EditInPlace/EditInPlace.d.ts +1 -1
- package/es/components/EditInPlace/EditInPlace.js +3 -3
- package/es/components/EditInPlace/index.d.ts +8 -1
- package/es/components/EditSidePanel/EditSidePanel.d.ts +2 -3
- package/es/components/EditSidePanel/EditSidePanel.js +3 -3
- package/es/components/EditSidePanel/index.d.ts +8 -1
- package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +1 -2
- package/es/components/EditTearsheetNarrow/index.d.ts +8 -1
- package/es/components/EditUpdateCards/EditUpdateCards.d.ts +1 -1
- package/es/components/EditUpdateCards/EditUpdateCards.js +2 -1
- package/es/components/EditUpdateCards/index.d.ts +8 -1
- package/es/components/ExportModal/ExportModal.d.ts +3 -3
- package/es/components/ExportModal/ExportModal.js +3 -3
- package/es/components/ExportModal/index.d.ts +2 -1
- package/es/components/ExpressiveCard/ExpressiveCard.d.ts +1 -1
- package/es/components/ExpressiveCard/ExpressiveCard.js +1 -1
- package/es/components/ExpressiveCard/index.d.ts +2 -1
- package/es/components/FeatureFlags/index.d.ts +26 -21
- package/es/components/FeatureFlags/index.js +1 -10
- package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +1 -1
- package/es/components/FilterSummary/FilterSummary.d.ts +1 -1
- package/es/components/FilterSummary/FilterSummary.js +7 -8
- package/es/components/FilterSummary/index.d.ts +8 -1
- package/es/components/FullPageError/FullPageError.d.ts +1 -2
- package/es/components/FullPageError/FullPageError.js +4 -4
- package/es/components/FullPageError/index.d.ts +8 -1
- package/es/components/GetStartedCard/GetStartedCard.d.ts +1 -1
- package/es/components/GetStartedCard/index.d.ts +8 -1
- package/es/components/Guidebanner/Guidebanner.d.ts +1 -2
- package/es/components/Guidebanner/Guidebanner.js +5 -4
- package/es/components/Guidebanner/GuidebannerElement.d.ts +1 -2
- package/es/components/Guidebanner/GuidebannerElementButton.d.ts +2 -3
- package/es/components/Guidebanner/GuidebannerElementButton.js +2 -2
- package/es/components/Guidebanner/GuidebannerElementLink.d.ts +2 -3
- package/es/components/Guidebanner/GuidebannerElementLink.js +1 -1
- package/es/components/Guidebanner/index.d.ts +14 -4
- package/es/components/ImportModal/ImportModal.d.ts +1 -1
- package/es/components/ImportModal/ImportModal.js +3 -3
- package/es/components/ImportModal/index.d.ts +2 -1
- package/es/components/InlineTip/InlineTip.d.ts +1 -1
- package/es/components/InlineTip/InlineTip.js +4 -4
- package/es/components/InlineTip/InlineTipButton.d.ts +1 -2
- package/es/components/InlineTip/InlineTipButton.js +1 -1
- package/es/components/InlineTip/InlineTipLink.d.ts +1 -2
- package/es/components/InlineTip/InlineTipLink.js +2 -2
- package/es/components/InlineTip/index.d.ts +12 -3
- package/es/components/InterstitialScreen/InterstitialScreen.d.ts +1 -1
- package/es/components/InterstitialScreen/InterstitialScreen.js +6 -5
- package/es/components/InterstitialScreen/index.d.ts +8 -1
- package/es/components/InterstitialScreenView/InterstitialScreenView.d.ts +1 -2
- package/es/components/InterstitialScreenView/index.d.ts +8 -1
- package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +1 -2
- package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +1 -1
- package/es/components/InterstitialScreenViewModule/index.d.ts +8 -1
- package/es/components/MultiAddSelect/MultiAddSelect.d.ts +1 -1
- package/es/components/MultiAddSelect/MultiAddSelect.js +1 -1
- package/es/components/MultiAddSelect/index.d.ts +2 -1
- package/es/components/NonLinearReading/NonLinearReading.d.ts +1 -1
- package/es/components/NonLinearReading/NonLinearReading.js +2 -2
- package/es/components/NonLinearReading/index.d.ts +8 -1
- package/es/components/NotificationsPanel/NotificationsPanel.d.ts +2 -2
- package/es/components/NotificationsPanel/NotificationsPanel.js +3 -3
- package/es/components/NotificationsPanel/index.d.ts +8 -1
- package/es/components/OptionsTile/OptionsTile.d.ts +1 -2
- package/es/components/OptionsTile/OptionsTile.js +4 -4
- package/es/components/OptionsTile/index.d.ts +8 -1
- package/es/components/PageHeader/PageHeader.d.ts +2 -2
- package/es/components/PageHeader/PageHeader.js +8 -8
- package/es/components/PageHeader/index.d.ts +2 -1
- package/es/components/ProductiveCard/ProductiveCard.d.ts +1 -1
- package/es/components/ProductiveCard/ProductiveCard.js +1 -1
- package/es/components/ProductiveCard/index.d.ts +2 -1
- package/es/components/RemoveModal/RemoveModal.d.ts +2 -3
- package/es/components/RemoveModal/RemoveModal.js +3 -3
- package/es/components/RemoveModal/index.d.ts +2 -1
- package/es/components/Saving/Saving.d.ts +1 -1
- package/es/components/Saving/Saving.js +2 -2
- package/es/components/Saving/index.d.ts +2 -1
- package/es/components/SearchBar/SearchBar.d.ts +1 -1
- package/es/components/SearchBar/SearchBar.js +1 -1
- package/es/components/SearchBar/index.d.ts +8 -1
- package/es/components/SidePanel/SidePanel.d.ts +1 -1
- package/es/components/SidePanel/SidePanel.js +9 -9
- package/es/components/SidePanel/index.d.ts +8 -1
- package/es/components/SingleAddSelect/SingleAddSelect.d.ts +1 -2
- package/es/components/SingleAddSelect/SingleAddSelect.js +1 -1
- package/es/components/SingleAddSelect/index.d.ts +2 -1
- package/es/components/StatusIcon/StatusIcon.d.ts +1 -1
- package/es/components/StatusIcon/StatusIcon.js +1 -1
- package/es/components/StatusIcon/index.d.ts +8 -1
- package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +1 -2
- package/es/components/SteppedAnimatedMedia/index.d.ts +8 -1
- package/es/components/TagOverflow/TagOverflow.d.ts +3 -3
- package/es/components/TagOverflow/TagOverflow.js +4 -4
- package/es/components/TagOverflow/index.d.ts +8 -1
- package/es/components/TagSet/TagSet.d.ts +2 -2
- package/es/components/TagSet/TagSet.js +4 -4
- package/es/components/TagSet/index.d.ts +2 -1
- package/es/components/Tearsheet/Tearsheet.d.ts +2 -3
- package/es/components/Tearsheet/Tearsheet.js +4 -4
- package/es/components/Tearsheet/TearsheetNarrow.d.ts +3 -3
- package/es/components/Tearsheet/TearsheetNarrow.js +4 -4
- package/es/components/Tearsheet/TearsheetShell.js +1 -1
- package/es/components/Tearsheet/index.d.ts +10 -2
- package/es/components/Toolbar/Toolbar.d.ts +1 -1
- package/es/components/Toolbar/Toolbar.js +3 -3
- package/es/components/Toolbar/ToolbarButton.d.ts +2 -3
- package/es/components/Toolbar/ToolbarButton.js +3 -3
- package/es/components/Toolbar/ToolbarGroup.d.ts +1 -2
- package/es/components/Toolbar/ToolbarGroup.js +3 -3
- package/es/components/Toolbar/index.d.ts +12 -3
- package/es/components/TruncatedList/TruncatedList.d.ts +1 -2
- package/es/components/TruncatedList/TruncatedList.js +2 -2
- package/es/components/TruncatedList/index.d.ts +8 -1
- package/es/components/UserProfileImage/UserProfileImage.d.ts +3 -3
- package/es/components/UserProfileImage/UserProfileImage.js +5 -4
- package/es/components/UserProfileImage/index.d.ts +2 -1
- package/es/components/WebTerminal/WebTerminal.d.ts +4 -4
- package/es/components/WebTerminal/WebTerminal.js +5 -5
- package/es/components/WebTerminal/WebTerminalContentWrapper.d.ts +2 -3
- package/es/components/WebTerminal/index.d.ts +11 -3
- package/lib/components/APIKeyModal/index.d.ts +2 -1
- package/lib/components/AboutModal/AboutModal.d.ts +1 -2
- package/lib/components/AboutModal/index.d.ts +8 -1
- package/lib/components/ActionSet/ActionSet.d.ts +1 -2
- package/lib/components/ActionSet/ActionSet.js +2 -2
- package/lib/components/ActionSet/index.d.ts +8 -1
- package/lib/components/AddSelect/AddSelectBody.js +2 -2
- package/lib/components/AddSelect/index.d.ts +2 -1
- package/lib/components/Carousel/index.d.ts +9 -2
- package/lib/components/Cascade/Cascade.d.ts +1 -2
- package/lib/components/Cascade/Cascade.js +2 -2
- package/lib/components/Cascade/index.d.ts +2 -1
- package/lib/components/Checklist/Checklist.d.ts +2 -2
- package/lib/components/Checklist/Checklist.js +6 -6
- package/lib/components/Checklist/index.d.ts +8 -1
- package/lib/components/Coachmark/Coachmark.d.ts +1 -2
- package/lib/components/Coachmark/Coachmark.js +5 -5
- package/lib/components/Coachmark/index.d.ts +10 -3
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +2 -3
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +3 -2
- package/lib/components/CoachmarkBeacon/index.d.ts +8 -1
- package/lib/components/CoachmarkButton/CoachmarkButton.d.ts +1 -2
- package/lib/components/CoachmarkButton/CoachmarkButton.js +4 -2
- package/lib/components/CoachmarkButton/index.d.ts +8 -1
- package/lib/components/CoachmarkFixed/CoachmarkFixed.d.ts +1 -2
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +6 -5
- package/lib/components/CoachmarkFixed/index.d.ts +8 -1
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +1 -2
- package/lib/components/CoachmarkOverlayElement/index.d.ts +8 -1
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +1 -2
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +8 -5
- package/lib/components/CoachmarkOverlayElements/index.d.ts +8 -1
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +1 -1
- package/lib/components/ComboButton/ComboButton.d.ts +1 -1
- package/lib/components/ComboButton/ComboButton.js +5 -5
- package/lib/components/ComboButton/index.d.ts +9 -2
- package/lib/components/CreateFullPage/CreateFullPage.d.ts +1 -1
- package/lib/components/CreateFullPage/CreateFullPage.js +5 -5
- package/lib/components/CreateFullPage/index.d.ts +9 -2
- package/lib/components/CreateModal/CreateModal.d.ts +2 -3
- package/lib/components/CreateModal/CreateModal.js +1 -1
- package/lib/components/CreateModal/index.d.ts +2 -1
- package/lib/components/CreateSidePanel/CreateSidePanel.js +1 -1
- package/lib/components/CreateSidePanel/index.d.ts +7 -1
- package/lib/components/CreateTearsheet/CreateTearsheet.d.ts +2 -2
- package/lib/components/CreateTearsheet/CreateTearsheet.js +4 -4
- package/lib/components/CreateTearsheet/index.d.ts +10 -3
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +1 -1
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +2 -2
- package/lib/components/CreateTearsheetNarrow/index.d.ts +8 -1
- package/lib/components/DataSpreadsheet/DataSpreadsheet.d.ts +3 -4
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +11 -10
- package/lib/components/DataSpreadsheet/index.d.ts +8 -1
- package/lib/components/Datagrid/Datagrid/DatagridContent.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridRow.js +7 -5
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +2 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/stateReducer.d.ts +7 -0
- package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +70 -26
- package/lib/components/Datagrid/types/index.d.ts +2 -0
- package/lib/components/Datagrid/useNestedRowExpander.js +64 -15
- package/lib/components/Datagrid/useRowRenderer.js +44 -2
- package/lib/components/DelimitedList/DelimitedList.d.ts +1 -2
- package/lib/components/DelimitedList/index.d.ts +8 -1
- package/lib/components/EditFullPage/EditFullPage.d.ts +1 -2
- package/lib/components/EditFullPage/index.d.ts +8 -1
- package/lib/components/EditInPlace/EditInPlace.d.ts +1 -1
- package/lib/components/EditInPlace/EditInPlace.js +3 -3
- package/lib/components/EditInPlace/index.d.ts +8 -1
- package/lib/components/EditSidePanel/EditSidePanel.d.ts +2 -3
- package/lib/components/EditSidePanel/EditSidePanel.js +3 -3
- package/lib/components/EditSidePanel/index.d.ts +8 -1
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +1 -2
- package/lib/components/EditTearsheetNarrow/index.d.ts +8 -1
- package/lib/components/EditUpdateCards/EditUpdateCards.d.ts +1 -1
- package/lib/components/EditUpdateCards/EditUpdateCards.js +2 -1
- package/lib/components/EditUpdateCards/index.d.ts +8 -1
- package/lib/components/ExportModal/ExportModal.d.ts +3 -3
- package/lib/components/ExportModal/ExportModal.js +3 -3
- package/lib/components/ExportModal/index.d.ts +2 -1
- package/lib/components/ExpressiveCard/ExpressiveCard.d.ts +1 -1
- package/lib/components/ExpressiveCard/ExpressiveCard.js +1 -1
- package/lib/components/ExpressiveCard/index.d.ts +2 -1
- package/lib/components/FeatureFlags/index.d.ts +26 -21
- package/lib/components/FeatureFlags/index.js +1 -10
- package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +1 -1
- package/lib/components/FilterSummary/FilterSummary.d.ts +1 -1
- package/lib/components/FilterSummary/FilterSummary.js +7 -8
- package/lib/components/FilterSummary/index.d.ts +8 -1
- package/lib/components/FullPageError/FullPageError.d.ts +1 -2
- package/lib/components/FullPageError/FullPageError.js +4 -4
- package/lib/components/FullPageError/index.d.ts +8 -1
- package/lib/components/GetStartedCard/GetStartedCard.d.ts +1 -1
- package/lib/components/GetStartedCard/index.d.ts +8 -1
- package/lib/components/Guidebanner/Guidebanner.d.ts +1 -2
- package/lib/components/Guidebanner/Guidebanner.js +5 -4
- package/lib/components/Guidebanner/GuidebannerElement.d.ts +1 -2
- package/lib/components/Guidebanner/GuidebannerElementButton.d.ts +2 -3
- package/lib/components/Guidebanner/GuidebannerElementButton.js +2 -2
- package/lib/components/Guidebanner/GuidebannerElementLink.d.ts +2 -3
- package/lib/components/Guidebanner/GuidebannerElementLink.js +1 -1
- package/lib/components/Guidebanner/index.d.ts +14 -4
- package/lib/components/ImportModal/ImportModal.d.ts +1 -1
- package/lib/components/ImportModal/ImportModal.js +3 -3
- package/lib/components/ImportModal/index.d.ts +2 -1
- package/lib/components/InlineTip/InlineTip.d.ts +1 -1
- package/lib/components/InlineTip/InlineTip.js +4 -4
- package/lib/components/InlineTip/InlineTipButton.d.ts +1 -2
- package/lib/components/InlineTip/InlineTipButton.js +1 -1
- package/lib/components/InlineTip/InlineTipLink.d.ts +1 -2
- package/lib/components/InlineTip/InlineTipLink.js +2 -2
- package/lib/components/InlineTip/index.d.ts +12 -3
- package/lib/components/InterstitialScreen/InterstitialScreen.d.ts +1 -1
- package/lib/components/InterstitialScreen/InterstitialScreen.js +6 -5
- package/lib/components/InterstitialScreen/index.d.ts +8 -1
- package/lib/components/InterstitialScreenView/InterstitialScreenView.d.ts +1 -2
- package/lib/components/InterstitialScreenView/index.d.ts +8 -1
- package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +1 -2
- package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +1 -1
- package/lib/components/InterstitialScreenViewModule/index.d.ts +8 -1
- package/lib/components/MultiAddSelect/MultiAddSelect.d.ts +1 -1
- package/lib/components/MultiAddSelect/MultiAddSelect.js +1 -1
- package/lib/components/MultiAddSelect/index.d.ts +2 -1
- package/lib/components/NonLinearReading/NonLinearReading.d.ts +1 -1
- package/lib/components/NonLinearReading/NonLinearReading.js +2 -2
- package/lib/components/NonLinearReading/index.d.ts +8 -1
- package/lib/components/NotificationsPanel/NotificationsPanel.d.ts +2 -2
- package/lib/components/NotificationsPanel/NotificationsPanel.js +3 -3
- package/lib/components/NotificationsPanel/index.d.ts +8 -1
- package/lib/components/OptionsTile/OptionsTile.d.ts +1 -2
- package/lib/components/OptionsTile/OptionsTile.js +5 -5
- package/lib/components/OptionsTile/index.d.ts +8 -1
- package/lib/components/PageHeader/PageHeader.d.ts +2 -2
- package/lib/components/PageHeader/PageHeader.js +8 -8
- package/lib/components/PageHeader/index.d.ts +2 -1
- package/lib/components/ProductiveCard/ProductiveCard.d.ts +1 -1
- package/lib/components/ProductiveCard/ProductiveCard.js +1 -1
- package/lib/components/ProductiveCard/index.d.ts +2 -1
- package/lib/components/RemoveModal/RemoveModal.d.ts +2 -3
- package/lib/components/RemoveModal/RemoveModal.js +3 -3
- package/lib/components/RemoveModal/index.d.ts +2 -1
- package/lib/components/Saving/Saving.d.ts +1 -1
- package/lib/components/Saving/Saving.js +2 -2
- package/lib/components/Saving/index.d.ts +2 -1
- package/lib/components/SearchBar/SearchBar.d.ts +1 -1
- package/lib/components/SearchBar/SearchBar.js +1 -1
- package/lib/components/SearchBar/index.d.ts +8 -1
- package/lib/components/SidePanel/SidePanel.d.ts +1 -1
- package/lib/components/SidePanel/SidePanel.js +9 -9
- package/lib/components/SidePanel/index.d.ts +8 -1
- package/lib/components/SingleAddSelect/SingleAddSelect.d.ts +1 -2
- package/lib/components/SingleAddSelect/SingleAddSelect.js +1 -1
- package/lib/components/SingleAddSelect/index.d.ts +2 -1
- package/lib/components/StatusIcon/StatusIcon.d.ts +1 -1
- package/lib/components/StatusIcon/StatusIcon.js +1 -1
- package/lib/components/StatusIcon/index.d.ts +8 -1
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +1 -2
- package/lib/components/SteppedAnimatedMedia/index.d.ts +8 -1
- package/lib/components/TagOverflow/TagOverflow.d.ts +3 -3
- package/lib/components/TagOverflow/TagOverflow.js +4 -4
- package/lib/components/TagOverflow/index.d.ts +8 -1
- package/lib/components/TagSet/TagSet.d.ts +2 -2
- package/lib/components/TagSet/TagSet.js +4 -4
- package/lib/components/TagSet/index.d.ts +2 -1
- package/lib/components/Tearsheet/Tearsheet.d.ts +2 -3
- package/lib/components/Tearsheet/Tearsheet.js +4 -4
- package/lib/components/Tearsheet/TearsheetNarrow.d.ts +3 -3
- package/lib/components/Tearsheet/TearsheetNarrow.js +4 -4
- package/lib/components/Tearsheet/TearsheetShell.js +1 -1
- package/lib/components/Tearsheet/index.d.ts +10 -2
- package/lib/components/Toolbar/Toolbar.d.ts +1 -1
- package/lib/components/Toolbar/Toolbar.js +4 -4
- package/lib/components/Toolbar/ToolbarButton.d.ts +2 -3
- package/lib/components/Toolbar/ToolbarButton.js +4 -4
- package/lib/components/Toolbar/ToolbarGroup.d.ts +1 -2
- package/lib/components/Toolbar/ToolbarGroup.js +4 -4
- package/lib/components/Toolbar/index.d.ts +12 -3
- package/lib/components/TruncatedList/TruncatedList.d.ts +1 -2
- package/lib/components/TruncatedList/TruncatedList.js +2 -2
- package/lib/components/TruncatedList/index.d.ts +8 -1
- package/lib/components/UserProfileImage/UserProfileImage.d.ts +3 -3
- package/lib/components/UserProfileImage/UserProfileImage.js +5 -4
- package/lib/components/UserProfileImage/index.d.ts +2 -1
- package/lib/components/WebTerminal/WebTerminal.d.ts +4 -4
- package/lib/components/WebTerminal/WebTerminal.js +5 -5
- package/lib/components/WebTerminal/WebTerminalContentWrapper.d.ts +2 -3
- package/lib/components/WebTerminal/index.d.ts +11 -3
- package/package.json +2 -2
- 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
|
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 =
|
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
|
-
|
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
|
-
|
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';
|
@@ -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
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
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<
|
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
|
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
|
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
|
-
|
19
|
+
declare function FeatureFlags({ children, flags }: {
|
7
20
|
children: any;
|
8
21
|
flags?: {} | undefined;
|
9
22
|
}): import("react/jsx-runtime").JSX.Element;
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
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
|
-
*
|
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
|
-
|
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
|
-
|
36
|
-
|
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
|
|
@@ -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
|
173
|
+
exports["default"] = FilterSummary;
|
@@ -1 +1,8 @@
|
|
1
|
-
|
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
|
-
|
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
|
-
|
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 {};
|