@carbon/ibm-products 2.74.0 → 2.75.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/carbon.css +349 -63
- package/css/carbon.css.map +1 -1
- package/css/index-full-carbon.css +351 -80
- package/css/index-full-carbon.css.map +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 +2 -17
- package/css/index-without-carbon-released-only.css.map +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 +2 -17
- package/css/index-without-carbon.css.map +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 +204 -60
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/es/components/APIKeyModal/APIKeyModal.d.ts +1 -1
- package/es/components/APIKeyModal/APIKeyModal.js +2 -2
- package/es/components/AboutModal/AboutModal.d.ts +1 -1
- package/es/components/AboutModal/AboutModal.js +1 -2
- package/es/components/ActionBar/ActionBar.d.ts +1 -1
- package/es/components/ActionBar/ActionBar.js +1 -2
- package/es/components/ActionBar/ActionBarItem.d.ts +1 -1
- package/es/components/ActionBar/ActionBarItem.js +1 -2
- package/es/components/BigNumber/BigNumber.d.ts +1 -1
- package/es/components/BigNumber/BigNumber.js +1 -4
- package/es/components/BigNumber/index.js +8 -0
- package/es/components/Cascade/Cascade.d.ts +1 -1
- package/es/components/Cascade/Cascade.js +1 -2
- package/es/components/Checklist/Checklist.d.ts +1 -1
- package/es/components/Checklist/Checklist.js +1 -2
- package/es/components/Coachmark/Coachmark.d.ts +1 -1
- package/es/components/Coachmark/Coachmark.js +1 -2
- package/es/components/Coachmark/CoachmarkDragbar.d.ts +1 -1
- package/es/components/Coachmark/CoachmarkDragbar.js +1 -2
- package/es/components/Coachmark/CoachmarkHeader.d.ts +1 -1
- package/es/components/Coachmark/CoachmarkHeader.js +1 -2
- package/es/components/Coachmark/CoachmarkOverlay.d.ts +1 -1
- package/es/components/Coachmark/CoachmarkOverlay.js +1 -2
- package/es/components/Coachmark/CoachmarkTagline.d.ts +1 -1
- package/es/components/Coachmark/CoachmarkTagline.js +1 -2
- package/es/components/Coachmark/next/Coachmark/index.js +8 -0
- package/es/components/Coachmark/utils/enums.js +5 -1
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +1 -1
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -2
- package/es/components/CoachmarkButton/CoachmarkButton.d.ts +1 -1
- package/es/components/CoachmarkButton/CoachmarkButton.js +1 -2
- package/es/components/CoachmarkFixed/CoachmarkFixed.d.ts +1 -1
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +1 -2
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +1 -1
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +1 -4
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +1 -1
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +1 -4
- package/es/components/CoachmarkStack/CoachmarkStack.d.ts +1 -1
- package/es/components/CoachmarkStack/CoachmarkStack.js +1 -2
- package/es/components/CoachmarkStack/CoachmarkStackHome.d.ts +1 -1
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +1 -4
- package/es/components/ConditionBuilder/ConditionBuilder.d.ts +1 -1
- package/es/components/ConditionBuilder/ConditionBuilder.js +1 -3
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +6 -0
- package/es/components/ConditionBuilder/index.js +8 -0
- package/es/components/CreateFullPage/CreateFullPage.d.ts +1 -1
- package/es/components/CreateFullPage/CreateFullPage.js +1 -2
- package/es/components/CreateFullPage/CreateFullPageStep.d.ts +1 -1
- package/es/components/CreateFullPage/CreateFullPageStep.js +1 -4
- package/es/components/CreateModal/CreateModal.d.ts +1 -1
- package/es/components/CreateModal/CreateModal.js +2 -2
- package/es/components/CreateSidePanel/CreateSidePanel.d.ts +1 -1
- package/es/components/CreateSidePanel/CreateSidePanel.js +1 -2
- package/es/components/CreateTearsheet/CreateTearsheet.d.ts +1 -1
- package/es/components/CreateTearsheet/CreateTearsheet.js +1 -2
- package/es/components/CreateTearsheet/CreateTearsheetDivider.d.ts +1 -1
- package/es/components/CreateTearsheet/CreateTearsheetDivider.js +1 -5
- package/es/components/CreateTearsheet/CreateTearsheetStep.d.ts +1 -1
- package/es/components/CreateTearsheet/CreateTearsheetStep.js +1 -4
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +1 -1
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +1 -4
- package/es/components/DataSpreadsheet/DataSpreadsheet.d.ts +1 -1
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +1 -2
- package/es/components/DataSpreadsheet/index.js +8 -0
- package/es/components/Datagrid/Datagrid/Datagrid.d.ts +1 -1
- package/es/components/Datagrid/Datagrid/Datagrid.js +1 -2
- package/es/components/Decorator/index.js +8 -0
- package/es/components/DecoratorBase/utils.d.ts +1 -1
- package/es/components/DelimitedList/DelimitedList.d.ts +1 -1
- package/es/components/DelimitedList/DelimitedList.js +1 -2
- package/es/components/DelimitedList/index.js +8 -0
- package/es/components/EditFullPage/EditFullPage.d.ts +1 -1
- package/es/components/EditFullPage/EditFullPage.js +1 -2
- package/es/components/EditInPlace/EditInPlace.d.ts +1 -1
- package/es/components/EditInPlace/EditInPlace.js +1 -2
- package/es/components/EditSidePanel/EditSidePanel.d.ts +1 -1
- package/es/components/EditSidePanel/EditSidePanel.js +1 -2
- package/es/components/EditTearsheet/EditTearsheet.d.ts +1 -1
- package/es/components/EditTearsheet/EditTearsheet.js +1 -2
- package/es/components/EditTearsheet/EditTearsheetForm.d.ts +1 -1
- package/es/components/EditTearsheet/EditTearsheetForm.js +2 -2
- package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +1 -1
- package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.js +1 -4
- package/es/components/EditUpdateCards/EditUpdateCards.d.ts +1 -1
- package/es/components/EditUpdateCards/EditUpdateCards.js +1 -2
- package/es/components/EmptyStates/EmptyState.d.ts +1 -1
- package/es/components/EmptyStates/EmptyState.js +2 -2
- package/es/components/EmptyStates/EmptyStateV2.deprecated.d.ts +1 -1
- package/es/components/EmptyStates/EmptyStateV2.deprecated.js +2 -2
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +1 -1
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -2
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +1 -1
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -2
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.d.ts +1 -1
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -2
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +1 -1
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -4
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.d.ts +1 -1
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -4
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +1 -1
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -4
- package/es/components/ExportModal/ExportModal.d.ts +1 -1
- package/es/components/ExportModal/ExportModal.js +2 -2
- package/es/components/ExpressiveCard/ExpressiveCard.d.ts +1 -1
- package/es/components/ExpressiveCard/ExpressiveCard.js +2 -3
- package/es/components/FullPageError/FullPageError.d.ts +1 -1
- package/es/components/FullPageError/FullPageError.js +1 -2
- package/es/components/GetStartedCard/GetStartedCard.d.ts +1 -1
- package/es/components/GetStartedCard/GetStartedCard.js +2 -3
- package/es/components/GetStartedCard/index.js +8 -0
- package/es/components/Guidebanner/Guidebanner.d.ts +1 -1
- package/es/components/Guidebanner/Guidebanner.js +1 -2
- package/es/components/Guidebanner/GuidebannerElement.d.ts +1 -1
- package/es/components/Guidebanner/GuidebannerElement.js +1 -4
- package/es/components/Guidebanner/GuidebannerElementButton.d.ts +1 -1
- package/es/components/Guidebanner/GuidebannerElementButton.js +1 -4
- package/es/components/Guidebanner/GuidebannerElementLink.d.ts +1 -1
- package/es/components/Guidebanner/GuidebannerElementLink.js +1 -4
- package/es/components/HTTPErrors/HTTPError403/HTTPError403.d.ts +1 -1
- package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -2
- package/es/components/HTTPErrors/HTTPError404/HTTPError404.d.ts +1 -1
- package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -2
- package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.d.ts +1 -1
- package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +1 -2
- package/es/components/ImportModal/ImportModal.d.ts +1 -1
- package/es/components/ImportModal/ImportModal.js +2 -2
- package/es/components/InlineTip/InlineTip.d.ts +1 -1
- package/es/components/InlineTip/InlineTip.js +1 -2
- package/es/components/InlineTip/InlineTipButton.d.ts +1 -1
- package/es/components/InlineTip/InlineTipButton.js +1 -2
- package/es/components/InlineTip/InlineTipLink.d.ts +1 -1
- package/es/components/InlineTip/InlineTipLink.js +1 -2
- package/es/components/InterstitialScreen/InterstitialScreen.d.ts +1 -1
- package/es/components/InterstitialScreen/InterstitialScreen.js +1 -4
- package/es/components/InterstitialScreen/_story-assets/InterstitialScreenView/InterstitialScreenView.d.ts +2 -2
- package/es/components/InterstitialScreen/_story-assets/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +2 -2
- package/es/components/MultiAddSelect/MultiAddSelect.d.ts +1 -1
- package/es/components/MultiAddSelect/MultiAddSelect.js +1 -3
- package/es/components/NonLinearReading/NonLinearReading.d.ts +1 -1
- package/es/components/NonLinearReading/NonLinearReading.js +1 -2
- package/es/components/NonLinearReading/index.js +8 -0
- package/es/components/NotificationsPanel/NotificationsPanel.d.ts +1 -1
- package/es/components/NotificationsPanel/NotificationsPanel.js +1 -4
- package/es/components/OptionsTile/OptionsTile.d.ts +1 -1
- package/es/components/OptionsTile/OptionsTile.js +1 -2
- package/es/components/PageHeader/PageHeader.d.ts +1 -1
- package/es/components/PageHeader/PageHeader.js +1 -2
- package/es/components/ProductiveCard/ProductiveCard.d.ts +1 -1
- package/es/components/ProductiveCard/ProductiveCard.js +2 -3
- package/es/components/RemoveModal/RemoveModal.d.ts +1 -1
- package/es/components/RemoveModal/RemoveModal.js +2 -2
- package/es/components/Saving/Saving.d.ts +1 -1
- package/es/components/Saving/Saving.js +1 -2
- package/es/components/SearchBar/SearchBar.d.ts +1 -1
- package/es/components/SearchBar/SearchBar.js +1 -2
- package/es/components/SearchBar/index.js +8 -0
- package/es/components/SidePanel/SidePanel.d.ts +4 -1
- package/es/components/SidePanel/SidePanel.js +4 -6
- package/es/components/SingleAddSelect/SingleAddSelect.d.ts +1 -1
- package/es/components/SingleAddSelect/SingleAddSelect.js +1 -3
- package/es/components/StatusIcon/StatusIcon.d.ts +1 -1
- package/es/components/StatusIcon/StatusIcon.js +1 -2
- package/es/components/StepFlow/story-assets/SidePanel/StepSidePanel.d.ts +4 -3
- package/es/components/TagOverflow/TagOverflow.d.ts +1 -1
- package/es/components/TagOverflow/TagOverflow.js +1 -2
- package/es/components/TagSet/TagSet.d.ts +1 -1
- package/es/components/TagSet/TagSet.js +2 -3
- package/es/components/Tearsheet/Tearsheet.d.ts +1 -1
- package/es/components/Tearsheet/Tearsheet.js +1 -3
- package/es/components/Tearsheet/TearsheetNarrow.d.ts +1 -1
- package/es/components/Tearsheet/TearsheetNarrow.js +1 -3
- package/es/components/Toolbar/Toolbar.d.ts +2 -2
- package/es/components/Toolbar/Toolbar.js +1 -2
- package/es/components/Toolbar/ToolbarButton.d.ts +1 -1
- package/es/components/Toolbar/ToolbarButton.js +1 -3
- package/es/components/Toolbar/ToolbarGroup.d.ts +1 -1
- package/es/components/Toolbar/ToolbarGroup.js +1 -3
- package/es/components/TooltipTrigger/TooltipTrigger.d.ts +1 -1
- package/es/components/TooltipTrigger/TooltipTrigger.js +1 -2
- package/es/components/TruncatedList/TruncatedList.d.ts +1 -1
- package/es/components/TruncatedList/TruncatedList.js +1 -2
- package/es/components/TruncatedList/index.js +8 -0
- package/es/components/UserAvatar/UserAvatar.d.ts +1 -1
- package/es/components/UserAvatar/UserAvatar.js +1 -2
- package/es/components/UserProfileImage/UserProfileImage.d.ts +1 -1
- package/es/components/UserProfileImage/UserProfileImage.js +2 -2
- package/es/components/WebTerminal/WebTerminal.d.ts +1 -1
- package/es/components/WebTerminal/WebTerminal.js +1 -2
- package/es/components/WebTerminal/WebTerminalContentWrapper.d.ts +1 -1
- package/es/components/WebTerminal/WebTerminalContentWrapper.js +1 -4
- package/es/components/WebTerminal/hooks/index.d.ts +1 -1
- package/es/components/WebTerminal/hooks/index.js +2 -7
- package/es/components/index.d.ts +53 -43
- package/es/global/js/utils/carousel/carousel.d.ts +14 -0
- package/es/global/js/utils/carousel/index.d.ts +8 -0
- package/es/global/js/utils/carousel/swipeEvents.d.ts +7 -0
- package/es/global/js/utils/carousel/types.d.ts +37 -0
- package/es/global/js/utils/makeDraggable/makeDraggable.d.ts +20 -1
- package/es/global/js/utils/makeDraggable/makeDraggable.js +35 -22
- package/es/global/js/utils/makeDraggable/makeDraggable.stories.d.ts +1 -1
- package/es/index.js +69 -58
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-10.js +798 -792
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-3.js +528 -529
- package/lib/components/APIKeyModal/APIKeyModal.d.ts +1 -1
- package/lib/components/APIKeyModal/APIKeyModal.js +5 -4
- package/lib/components/AboutModal/AboutModal.d.ts +1 -1
- package/lib/components/AboutModal/AboutModal.js +5 -4
- package/lib/components/ActionBar/ActionBar.d.ts +1 -1
- package/lib/components/ActionBar/ActionBar.js +5 -4
- package/lib/components/ActionBar/ActionBarItem.d.ts +1 -1
- package/lib/components/ActionBar/ActionBarItem.js +5 -4
- package/lib/components/BigNumber/BigNumber.d.ts +1 -1
- package/lib/components/BigNumber/BigNumber.js +5 -6
- package/lib/components/BigNumber/index.js +14 -0
- package/lib/components/Cascade/Cascade.d.ts +1 -1
- package/lib/components/Cascade/Cascade.js +5 -4
- package/lib/components/Checklist/Checklist.d.ts +1 -1
- package/lib/components/Checklist/Checklist.js +5 -4
- package/lib/components/Coachmark/Coachmark.d.ts +1 -1
- package/lib/components/Coachmark/Coachmark.js +4 -4
- package/lib/components/Coachmark/CoachmarkDragbar.d.ts +1 -1
- package/lib/components/Coachmark/CoachmarkDragbar.js +5 -4
- package/lib/components/Coachmark/CoachmarkHeader.d.ts +1 -1
- package/lib/components/Coachmark/CoachmarkHeader.js +5 -4
- package/lib/components/Coachmark/CoachmarkOverlay.d.ts +1 -1
- package/lib/components/Coachmark/CoachmarkOverlay.js +6 -5
- package/lib/components/Coachmark/CoachmarkTagline.d.ts +1 -1
- package/lib/components/Coachmark/CoachmarkTagline.js +5 -4
- package/lib/components/Coachmark/next/Coachmark/index.js +14 -0
- package/lib/components/Coachmark/utils/enums.js +5 -0
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +1 -1
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +5 -4
- package/lib/components/CoachmarkButton/CoachmarkButton.d.ts +1 -1
- package/lib/components/CoachmarkButton/CoachmarkButton.js +6 -5
- package/lib/components/CoachmarkFixed/CoachmarkFixed.d.ts +1 -1
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +5 -4
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +1 -1
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +6 -7
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +1 -1
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +6 -7
- package/lib/components/CoachmarkStack/CoachmarkStack.d.ts +1 -1
- package/lib/components/CoachmarkStack/CoachmarkStack.js +5 -4
- package/lib/components/CoachmarkStack/CoachmarkStackHome.d.ts +1 -1
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +5 -6
- package/lib/components/ConditionBuilder/ConditionBuilder.d.ts +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilder.js +5 -5
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +6 -0
- package/lib/components/ConditionBuilder/index.js +14 -0
- package/lib/components/CreateFullPage/CreateFullPage.d.ts +1 -1
- package/lib/components/CreateFullPage/CreateFullPage.js +4 -4
- package/lib/components/CreateFullPage/CreateFullPageStep.d.ts +1 -1
- package/lib/components/CreateFullPage/CreateFullPageStep.js +4 -5
- package/lib/components/CreateModal/CreateModal.d.ts +1 -1
- package/lib/components/CreateModal/CreateModal.js +6 -4
- package/lib/components/CreateSidePanel/CreateSidePanel.d.ts +1 -1
- package/lib/components/CreateSidePanel/CreateSidePanel.js +5 -4
- package/lib/components/CreateTearsheet/CreateTearsheet.d.ts +1 -1
- package/lib/components/CreateTearsheet/CreateTearsheet.js +4 -4
- package/lib/components/CreateTearsheet/CreateTearsheetDivider.d.ts +1 -1
- package/lib/components/CreateTearsheet/CreateTearsheetDivider.js +4 -6
- package/lib/components/CreateTearsheet/CreateTearsheetStep.d.ts +1 -1
- package/lib/components/CreateTearsheet/CreateTearsheetStep.js +4 -5
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +1 -1
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +5 -6
- package/lib/components/DataSpreadsheet/DataSpreadsheet.d.ts +1 -1
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +5 -4
- package/lib/components/DataSpreadsheet/index.js +14 -0
- package/lib/components/Datagrid/Datagrid/Datagrid.d.ts +1 -1
- package/lib/components/Datagrid/Datagrid/Datagrid.js +6 -5
- package/lib/components/Decorator/index.js +17 -0
- package/lib/components/DecoratorBase/utils.d.ts +1 -1
- package/lib/components/DelimitedList/DelimitedList.d.ts +1 -1
- package/lib/components/DelimitedList/DelimitedList.js +5 -4
- package/lib/components/DelimitedList/index.js +14 -0
- package/lib/components/EditFullPage/EditFullPage.d.ts +1 -1
- package/lib/components/EditFullPage/EditFullPage.js +6 -5
- package/lib/components/EditInPlace/EditInPlace.d.ts +1 -1
- package/lib/components/EditInPlace/EditInPlace.js +4 -4
- package/lib/components/EditSidePanel/EditSidePanel.d.ts +1 -1
- package/lib/components/EditSidePanel/EditSidePanel.js +6 -5
- package/lib/components/EditTearsheet/EditTearsheet.d.ts +1 -1
- package/lib/components/EditTearsheet/EditTearsheet.js +5 -5
- package/lib/components/EditTearsheet/EditTearsheetForm.d.ts +1 -1
- package/lib/components/EditTearsheet/EditTearsheetForm.js +5 -3
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +1 -1
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.js +6 -7
- package/lib/components/EditUpdateCards/EditUpdateCards.d.ts +1 -1
- package/lib/components/EditUpdateCards/EditUpdateCards.js +6 -5
- package/lib/components/EmptyStates/EmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/EmptyState.js +5 -4
- package/lib/components/EmptyStates/EmptyStateV2.deprecated.d.ts +1 -1
- package/lib/components/EmptyStates/EmptyStateV2.deprecated.js +7 -5
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +5 -4
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +5 -4
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +5 -4
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +5 -6
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +5 -6
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +5 -6
- package/lib/components/ExportModal/ExportModal.d.ts +1 -1
- package/lib/components/ExportModal/ExportModal.js +6 -4
- package/lib/components/ExpressiveCard/ExpressiveCard.d.ts +1 -1
- package/lib/components/ExpressiveCard/ExpressiveCard.js +6 -5
- package/lib/components/FullPageError/FullPageError.d.ts +1 -1
- package/lib/components/FullPageError/FullPageError.js +5 -4
- package/lib/components/GetStartedCard/GetStartedCard.d.ts +1 -1
- package/lib/components/GetStartedCard/GetStartedCard.js +6 -5
- package/lib/components/GetStartedCard/index.js +14 -0
- package/lib/components/Guidebanner/Guidebanner.d.ts +1 -1
- package/lib/components/Guidebanner/Guidebanner.js +5 -4
- package/lib/components/Guidebanner/GuidebannerElement.d.ts +1 -1
- package/lib/components/Guidebanner/GuidebannerElement.js +5 -6
- package/lib/components/Guidebanner/GuidebannerElementButton.d.ts +1 -1
- package/lib/components/Guidebanner/GuidebannerElementButton.js +5 -6
- package/lib/components/Guidebanner/GuidebannerElementLink.d.ts +1 -1
- package/lib/components/Guidebanner/GuidebannerElementLink.js +5 -6
- package/lib/components/HTTPErrors/HTTPError403/HTTPError403.d.ts +1 -1
- package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +6 -5
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.d.ts +1 -1
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +6 -5
- package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.d.ts +1 -1
- package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +6 -5
- package/lib/components/ImportModal/ImportModal.d.ts +1 -1
- package/lib/components/ImportModal/ImportModal.js +6 -4
- package/lib/components/InlineTip/InlineTip.d.ts +1 -1
- package/lib/components/InlineTip/InlineTip.js +5 -4
- package/lib/components/InlineTip/InlineTipButton.d.ts +1 -1
- package/lib/components/InlineTip/InlineTipButton.js +5 -4
- package/lib/components/InlineTip/InlineTipLink.d.ts +1 -1
- package/lib/components/InlineTip/InlineTipLink.js +5 -4
- package/lib/components/InterstitialScreen/InterstitialScreen.d.ts +1 -1
- package/lib/components/InterstitialScreen/InterstitialScreen.js +8 -9
- package/lib/components/InterstitialScreen/_story-assets/InterstitialScreenView/InterstitialScreenView.d.ts +2 -2
- package/lib/components/InterstitialScreen/_story-assets/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +2 -2
- package/lib/components/MultiAddSelect/MultiAddSelect.d.ts +1 -1
- package/lib/components/MultiAddSelect/MultiAddSelect.js +5 -5
- package/lib/components/NonLinearReading/NonLinearReading.d.ts +1 -1
- package/lib/components/NonLinearReading/NonLinearReading.js +5 -4
- package/lib/components/NonLinearReading/index.js +14 -0
- package/lib/components/NotificationsPanel/NotificationsPanel.d.ts +1 -1
- package/lib/components/NotificationsPanel/NotificationsPanel.js +5 -6
- package/lib/components/OptionsTile/OptionsTile.d.ts +1 -1
- package/lib/components/OptionsTile/OptionsTile.js +5 -4
- package/lib/components/PageHeader/PageHeader.d.ts +1 -1
- package/lib/components/PageHeader/PageHeader.js +5 -5
- package/lib/components/ProductiveCard/ProductiveCard.d.ts +1 -1
- package/lib/components/ProductiveCard/ProductiveCard.js +6 -5
- package/lib/components/RemoveModal/RemoveModal.d.ts +1 -1
- package/lib/components/RemoveModal/RemoveModal.js +6 -4
- package/lib/components/Saving/Saving.d.ts +1 -1
- package/lib/components/Saving/Saving.js +5 -4
- package/lib/components/SearchBar/SearchBar.d.ts +1 -1
- package/lib/components/SearchBar/SearchBar.js +4 -4
- package/lib/components/SearchBar/index.js +14 -0
- package/lib/components/SidePanel/SidePanel.d.ts +4 -1
- package/lib/components/SidePanel/SidePanel.js +3 -5
- package/lib/components/SingleAddSelect/SingleAddSelect.d.ts +1 -1
- package/lib/components/SingleAddSelect/SingleAddSelect.js +5 -5
- package/lib/components/StatusIcon/StatusIcon.d.ts +1 -1
- package/lib/components/StatusIcon/StatusIcon.js +5 -4
- package/lib/components/StepFlow/story-assets/SidePanel/StepSidePanel.d.ts +4 -3
- package/lib/components/TagOverflow/TagOverflow.d.ts +1 -1
- package/lib/components/TagOverflow/TagOverflow.js +5 -4
- package/lib/components/TagSet/TagSet.d.ts +1 -1
- package/lib/components/TagSet/TagSet.js +9 -5
- package/lib/components/Tearsheet/Tearsheet.d.ts +1 -1
- package/lib/components/Tearsheet/Tearsheet.js +4 -5
- package/lib/components/Tearsheet/TearsheetNarrow.d.ts +1 -1
- package/lib/components/Tearsheet/TearsheetNarrow.js +4 -5
- package/lib/components/Toolbar/Toolbar.d.ts +2 -2
- package/lib/components/Toolbar/Toolbar.js +4 -4
- package/lib/components/Toolbar/ToolbarButton.d.ts +1 -1
- package/lib/components/Toolbar/ToolbarButton.js +4 -5
- package/lib/components/Toolbar/ToolbarGroup.d.ts +1 -1
- package/lib/components/Toolbar/ToolbarGroup.js +5 -5
- package/lib/components/TooltipTrigger/TooltipTrigger.d.ts +1 -1
- package/lib/components/TooltipTrigger/TooltipTrigger.js +5 -4
- package/lib/components/TruncatedList/TruncatedList.d.ts +1 -1
- package/lib/components/TruncatedList/TruncatedList.js +5 -4
- package/lib/components/TruncatedList/index.js +14 -0
- package/lib/components/UserAvatar/UserAvatar.d.ts +1 -1
- package/lib/components/UserAvatar/UserAvatar.js +5 -4
- package/lib/components/UserProfileImage/UserProfileImage.d.ts +1 -1
- package/lib/components/UserProfileImage/UserProfileImage.js +7 -5
- package/lib/components/WebTerminal/WebTerminal.d.ts +1 -1
- package/lib/components/WebTerminal/WebTerminal.js +5 -4
- package/lib/components/WebTerminal/WebTerminalContentWrapper.d.ts +1 -1
- package/lib/components/WebTerminal/WebTerminalContentWrapper.js +5 -6
- package/lib/components/WebTerminal/hooks/index.d.ts +1 -1
- package/lib/components/WebTerminal/hooks/index.js +3 -7
- package/lib/components/index.d.ts +53 -43
- package/lib/global/js/utils/carousel/carousel.d.ts +14 -0
- package/lib/global/js/utils/carousel/index.d.ts +8 -0
- package/lib/global/js/utils/carousel/swipeEvents.d.ts +7 -0
- package/lib/global/js/utils/carousel/types.d.ts +37 -0
- package/lib/global/js/utils/makeDraggable/makeDraggable.d.ts +20 -1
- package/lib/global/js/utils/makeDraggable/makeDraggable.js +35 -22
- package/lib/global/js/utils/makeDraggable/makeDraggable.stories.d.ts +1 -1
- package/lib/index.js +178 -416
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-10.js +817 -811
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-3.js +651 -652
- package/package.json +17 -17
- package/scss/components/SidePanel/_side-panel.scss +1 -13
- package/scss/components/TagSet/_tag-set.scss +0 -6
- package/telemetry.yml +3 -1
- /package/es/node_modules/@carbon/icons-react/es/{iconPropTypes-4cbeb95d.js → iconPropTypes-C5chbmyn.js} +0 -0
- /package/lib/node_modules/@carbon/icons-react/es/{iconPropTypes-4cbeb95d.js → iconPropTypes-C5chbmyn.js} +0 -0
@@ -219,5 +219,5 @@ export interface NotificationsPanelProps {
|
|
219
219
|
*
|
220
220
|
* If you do not provide a locale, the deprecated props will be applied instead.
|
221
221
|
*/
|
222
|
-
export declare
|
222
|
+
export declare const NotificationsPanel: React.ForwardRefExoticComponent<NotificationsPanelProps & React.RefAttributes<unknown>>;
|
223
223
|
export {};
|
@@ -82,7 +82,7 @@ const defaults = {
|
|
82
82
|
*
|
83
83
|
* If you do not provide a locale, the deprecated props will be applied instead.
|
84
84
|
*/
|
85
|
-
|
85
|
+
const NotificationsPanel = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
86
86
|
let {
|
87
87
|
// The component props, in alphabetical order (for consistency).
|
88
88
|
className,
|
@@ -410,9 +410,6 @@ let NotificationsPanel = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
410
410
|
})))) : null;
|
411
411
|
});
|
412
412
|
|
413
|
-
// Return a placeholder if not released and not enabled by feature flag
|
414
|
-
NotificationsPanel = pkg.checkComponentEnabled(NotificationsPanel, componentName);
|
415
|
-
|
416
413
|
// The display name of the component, used by React. Note that displayName
|
417
414
|
// is used in preference to relying on function.name.
|
418
415
|
NotificationsPanel.displayName = componentName;
|
@@ -74,4 +74,4 @@ export interface OptionsTileProps {
|
|
74
74
|
*/
|
75
75
|
warnText?: string;
|
76
76
|
}
|
77
|
-
export declare
|
77
|
+
export declare const OptionsTile: React.ForwardRefExoticComponent<OptionsTileProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -26,7 +26,7 @@ const componentName = 'OptionsTile';
|
|
26
26
|
const defaults = {
|
27
27
|
size: 'lg'
|
28
28
|
};
|
29
|
-
|
29
|
+
const OptionsTile = /*#__PURE__*/React__default.forwardRef((props, ref) => {
|
30
30
|
const {
|
31
31
|
children,
|
32
32
|
className,
|
@@ -211,7 +211,6 @@ let OptionsTile = /*#__PURE__*/React__default.forwardRef((props, ref) => {
|
|
211
211
|
});
|
212
212
|
|
213
213
|
// Return a placeholder if not released and not enabled by feature flag
|
214
|
-
OptionsTile = pkg.checkComponentEnabled(OptionsTile, componentName);
|
215
214
|
|
216
215
|
// The display name of the component, used by React. Note that displayName
|
217
216
|
// is used in preference to relying on function.name.
|
@@ -290,7 +290,7 @@ interface PageHeaderBaseProps extends PropsWithChildren {
|
|
290
290
|
hasBackgroundAlways?: boolean;
|
291
291
|
}
|
292
292
|
export type PageHeaderProps = PageHeaderBaseProps & PageActionProps & CollapseHeaderProps & BreadcrumbProps & ActionBarOverflowAriaLabelProps;
|
293
|
-
export declare
|
293
|
+
export declare const PageHeader: React.ForwardRefExoticComponent<PageHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
294
294
|
export declare const deprecatedProps: {
|
295
295
|
/**
|
296
296
|
* **Deprecated**
|
@@ -37,7 +37,7 @@ const defaults = {
|
|
37
37
|
narrowGrid: false,
|
38
38
|
breadcrumbOverflowTooltipAlign: 'right'
|
39
39
|
};
|
40
|
-
|
40
|
+
const PageHeader = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
41
41
|
let {
|
42
42
|
// The component props, in alphabetical order (for consistency).
|
43
43
|
|
@@ -530,7 +530,6 @@ let PageHeader = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
530
530
|
});
|
531
531
|
|
532
532
|
// Return a placeholder if not released and not enabled by feature flag
|
533
|
-
PageHeader = pkg.checkComponentEnabled(PageHeader, componentName);
|
534
533
|
|
535
534
|
// copied from carbon-components-react/src/components/Tag/Tag.js for DocGen
|
536
535
|
const TYPES = {
|
@@ -121,5 +121,5 @@ export interface ProductiveCardProps extends PropsWithChildren {
|
|
121
121
|
*/
|
122
122
|
iconDescription?: string;
|
123
123
|
}
|
124
|
-
export declare
|
124
|
+
export declare const ProductiveCard: React.ForwardRefExoticComponent<ProductiveCardProps & React.RefAttributes<HTMLDivElement>>;
|
125
125
|
export {};
|
@@ -9,12 +9,11 @@ import { extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js
|
|
9
9
|
import React__default, { forwardRef } from 'react';
|
10
10
|
import PropTypes from '../../_virtual/index.js';
|
11
11
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
12
|
-
import { pkg } from '../../settings.js';
|
13
12
|
import { prepareProps } from '../../global/js/utils/props-helper.js';
|
14
13
|
import { Card } from '../Card/Card.js';
|
15
14
|
|
16
15
|
const componentName = 'ProductiveCard';
|
17
|
-
|
16
|
+
const ProductiveCard = /*#__PURE__*/forwardRef((_ref, ref) => {
|
18
17
|
let {
|
19
18
|
actionsPlacement = 'top',
|
20
19
|
children,
|
@@ -29,7 +28,7 @@ let ProductiveCard = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
29
28
|
});
|
30
29
|
|
31
30
|
// Return a placeholder if not released and not enabled by feature flag
|
32
|
-
|
31
|
+
|
33
32
|
ProductiveCard.propTypes = {
|
34
33
|
/**
|
35
34
|
* Icons that are displayed on the card. Refer to design documentation for implementation guidelines. Note: href is deprecated. Set link.href for href functionality. If you are setting link object, href is a required property. link object supports all anchor element properties. Precedence: link.href > href. If link.href or href is set => anchor element, else button.
|
@@ -78,6 +78,6 @@ export interface RemoveModalProps extends React.ComponentProps<typeof ComposedMo
|
|
78
78
|
*/
|
79
79
|
title: string;
|
80
80
|
}
|
81
|
-
export declare
|
81
|
+
export declare const RemoveModal: React.ForwardRefExoticComponent<RemoveModalProps & {
|
82
82
|
children?: ReactNode | undefined;
|
83
83
|
} & React.RefAttributes<unknown>>;
|
@@ -24,7 +24,7 @@ Enabling `textConfirmation` enables what would be considered the high impact sta
|
|
24
24
|
For additional information on differentiating between delete / remove and low / medium / high impact please refer to the usage guidelines.
|
25
25
|
*/
|
26
26
|
|
27
|
-
|
27
|
+
const RemoveModal = /*#__PURE__*/forwardRef((_ref, ref) => {
|
28
28
|
let {
|
29
29
|
body,
|
30
30
|
className,
|
@@ -114,7 +114,7 @@ let RemoveModal = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
114
114
|
});
|
115
115
|
|
116
116
|
// Return a placeholder if not released and not enabled by feature flag
|
117
|
-
|
117
|
+
|
118
118
|
RemoveModal.propTypes = {
|
119
119
|
/**
|
120
120
|
* The content to be displayed in the body of the modal
|
@@ -65,5 +65,5 @@ export interface SavingProps {
|
|
65
65
|
*/
|
66
66
|
type: Type;
|
67
67
|
}
|
68
|
-
export declare
|
68
|
+
export declare const Saving: React.ForwardRefExoticComponent<SavingProps & React.RefAttributes<unknown>>;
|
69
69
|
export {};
|
@@ -16,7 +16,7 @@ import { pkg } from '../../settings.js';
|
|
16
16
|
|
17
17
|
var _ErrorFilled;
|
18
18
|
const componentName = 'Saving';
|
19
|
-
|
19
|
+
const Saving = /*#__PURE__*/forwardRef((_ref, ref) => {
|
20
20
|
let {
|
21
21
|
secondaryButtonText,
|
22
22
|
className,
|
@@ -92,7 +92,6 @@ let Saving = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
92
92
|
type: "button"
|
93
93
|
}, statusObj[status]?.text)));
|
94
94
|
});
|
95
|
-
Saving = pkg.checkComponentEnabled(Saving, componentName);
|
96
95
|
Saving.propTypes = {
|
97
96
|
/**
|
98
97
|
* Provide an optional class to be applied to the containing node.
|
@@ -48,7 +48,7 @@ export interface SearchBarProps extends PropsWithChildren {
|
|
48
48
|
/** @type {string} Search query value. */
|
49
49
|
value?: string;
|
50
50
|
}
|
51
|
-
export declare
|
51
|
+
export declare const SearchBar: React.ForwardRefExoticComponent<SearchBarProps & React.RefAttributes<HTMLFormElement>>;
|
52
52
|
export declare const deprecatedProps: {
|
53
53
|
/**
|
54
54
|
* **Deprecated**
|
@@ -25,7 +25,7 @@ const defaults = {
|
|
25
25
|
onChange: () => {},
|
26
26
|
hideScopesLabel: true
|
27
27
|
};
|
28
|
-
|
28
|
+
const SearchBar = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
29
29
|
let {
|
30
30
|
// The component props, in alphabetical order (for consistency).
|
31
31
|
className,
|
@@ -142,7 +142,6 @@ let SearchBar = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
142
142
|
});
|
143
143
|
|
144
144
|
// Return a placeholder if not released and not enabled by feature flag
|
145
|
-
SearchBar = pkg.checkComponentEnabled(SearchBar, componentName);
|
146
145
|
|
147
146
|
// The display name of the component, used by React. Note that displayName
|
148
147
|
// is used in preference to relying on function.name.
|
@@ -162,5 +162,8 @@ type SidePanelSlideInProps = {
|
|
162
162
|
selectorPageContent: string;
|
163
163
|
};
|
164
164
|
export type SidePanelProps = SidePanelBaseProps & SidePanelSlideInProps;
|
165
|
-
|
165
|
+
/**
|
166
|
+
* Side panels keep users in-context of a page while performing tasks like navigating, editing, viewing details, or configuring something new.
|
167
|
+
*/
|
168
|
+
export declare const SidePanel: React.ForwardRefExoticComponent<SidePanelProps & React.RefAttributes<HTMLDivElement>>;
|
166
169
|
export {};
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import { extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import { ArrowLeft, Close } from '@carbon/react/icons';
|
10
10
|
import '../../feature-flags.js';
|
11
|
-
import { Button, Section, IconButton, Heading } from '@carbon/react';
|
11
|
+
import { Button, Section, IconButton, Layer, Heading } from '@carbon/react';
|
12
12
|
import { useFeatureFlag } from '../FeatureFlags/index.js';
|
13
13
|
import React__default, { useState, useRef, useEffect, useCallback } from 'react';
|
14
14
|
import { ActionSet } from '../ActionSet/ActionSet.js';
|
@@ -44,7 +44,8 @@ const defaults = {
|
|
44
44
|
/**
|
45
45
|
* Side panels keep users in-context of a page while performing tasks like navigating, editing, viewing details, or configuring something new.
|
46
46
|
*/
|
47
|
-
const
|
47
|
+
const SidePanel = /*#__PURE__*/React__default.forwardRef((props, ref) => {
|
48
|
+
var _Layer;
|
48
49
|
const {
|
49
50
|
actionToolbarButtons,
|
50
51
|
actions,
|
@@ -520,7 +521,7 @@ const SidePanelBase = /*#__PURE__*/React__default.forwardRef((props, ref) => {
|
|
520
521
|
ref: innerContentRef,
|
521
522
|
onScroll: handleScroll,
|
522
523
|
className: cx(`${blockClass}__inner-content`, `${blockClass}--scrolls`, `${!doAnimateTitle && !animateTitle ? `${blockClass}__inner-content--no-animated-title` : ''}`)
|
523
|
-
}, children);
|
524
|
+
}, _Layer || (_Layer = /*#__PURE__*/React__default.createElement(Layer, null, children)));
|
524
525
|
};
|
525
526
|
const handleKeyDown = event => {
|
526
527
|
if (!slideIn) {
|
@@ -557,9 +558,6 @@ const SidePanelBase = /*#__PURE__*/React__default.forwardRef((props, ref) => {
|
|
557
558
|
})
|
558
559
|
})) : null;
|
559
560
|
});
|
560
|
-
|
561
|
-
// Return a placeholder if not released and not enabled by feature flag
|
562
|
-
const SidePanel = pkg.checkComponentEnabled(SidePanelBase, componentName);
|
563
561
|
const deprecatedProps = {
|
564
562
|
/**
|
565
563
|
* **deprecated**
|
@@ -68,4 +68,4 @@ export interface SingleAddSelectProps {
|
|
68
68
|
/**
|
69
69
|
* Used to add or select one or more items from larger lists or hierarchies.
|
70
70
|
*/
|
71
|
-
export declare
|
71
|
+
export declare const SingleAddSelect: React.ForwardRefExoticComponent<SingleAddSelectProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -10,14 +10,13 @@ import React__default, { forwardRef } from 'react';
|
|
10
10
|
import { AddSelect } from '../AddSelect/AddSelect.js';
|
11
11
|
import PropTypes from '../../_virtual/index.js';
|
12
12
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
13
|
-
import { pkg } from '../../settings.js';
|
14
13
|
import { prepareProps } from '../../global/js/utils/props-helper.js';
|
15
14
|
|
16
15
|
const componentName = 'SingleAddSelect';
|
17
16
|
/**
|
18
17
|
* Used to add or select one or more items from larger lists or hierarchies.
|
19
18
|
*/
|
20
|
-
|
19
|
+
const SingleAddSelect = /*#__PURE__*/forwardRef((props, ref) => {
|
21
20
|
// remove multi add select specific props
|
22
21
|
const validProps = prepareProps(props, ['columnInputPlaceholder', 'globalFilters', 'globalFiltersIconDescription', 'globalFiltersPlaceholderText', 'globalFiltersPrimaryButtonText', 'globalFiltersSecondaryButtonText', 'influencerTitle', 'multi', 'noSelectionDescription', 'noSelectionTitle', 'removeIconDescription']);
|
23
22
|
return /*#__PURE__*/React__default.createElement(AddSelect, _extends({}, validProps, {
|
@@ -26,7 +25,6 @@ let SingleAddSelect = /*#__PURE__*/forwardRef((props, ref) => {
|
|
26
25
|
multi: false
|
27
26
|
}));
|
28
27
|
});
|
29
|
-
SingleAddSelect = pkg.checkComponentEnabled(SingleAddSelect, componentName);
|
30
28
|
SingleAddSelect.propTypes = {
|
31
29
|
/**
|
32
30
|
* optional class name
|
@@ -39,5 +39,5 @@ export interface StatusIconProps extends PropsWithChildren {
|
|
39
39
|
*/
|
40
40
|
theme: Theme;
|
41
41
|
}
|
42
|
-
export declare
|
42
|
+
export declare const StatusIcon: React.ForwardRefExoticComponent<StatusIconProps & React.RefAttributes<React.ReactSVGElement | null>>;
|
43
43
|
export {};
|
@@ -26,7 +26,7 @@ information to users. The shapes and colors, communicate severity that enable
|
|
26
26
|
users to quickly assess and identify status and respond accordingly.
|
27
27
|
*/
|
28
28
|
|
29
|
-
|
29
|
+
const StatusIcon = /*#__PURE__*/forwardRef((_ref2, ref) => {
|
30
30
|
let {
|
31
31
|
kind,
|
32
32
|
theme,
|
@@ -245,7 +245,6 @@ let StatusIcon = /*#__PURE__*/forwardRef((_ref2, ref) => {
|
|
245
245
|
ref
|
246
246
|
}, getDevtoolsProps(componentName)), /*#__PURE__*/React__default.createElement("title", null, iconDescription));
|
247
247
|
});
|
248
|
-
StatusIcon = pkg.checkComponentEnabled(StatusIcon, componentName);
|
249
248
|
StatusIcon.displayName = componentName;
|
250
249
|
StatusIcon.propTypes = {
|
251
250
|
/**
|
@@ -9,12 +9,13 @@ import { StepState } from '../..';
|
|
9
9
|
interface Props {
|
10
10
|
children?: ReactNode;
|
11
11
|
subtitle?: ((a: StepState) => ReactNode) | null;
|
12
|
-
open
|
12
|
+
open: boolean;
|
13
13
|
onClose?: () => void;
|
14
|
-
title?:
|
14
|
+
title?: string;
|
15
15
|
hasCloseIcon?: boolean;
|
16
16
|
closeIconDescription?: string;
|
17
17
|
selectorPrimaryFocus?: string;
|
18
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
18
19
|
}
|
19
|
-
export declare const StepSidePanel: ({ subtitle, children, open, onClose, title, selectorPrimaryFocus, ...rest }: Props) => React.JSX.Element;
|
20
|
+
export declare const StepSidePanel: ({ subtitle, children, open, onClose, title, selectorPrimaryFocus, size, ...rest }: Props) => React.JSX.Element;
|
20
21
|
export {};
|
@@ -51,4 +51,4 @@ export interface TagOverflowProps {
|
|
51
51
|
showAllTagsLabel?: string;
|
52
52
|
tagComponent?: string;
|
53
53
|
}
|
54
|
-
export declare
|
54
|
+
export declare const TagOverflow: React.ForwardRefExoticComponent<TagOverflowProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -20,7 +20,7 @@ import { useOverflowItems } from '../../global/js/hooks/useOverflowItems/useOver
|
|
20
20
|
const blockClass = `${pkg.prefix}--tag-overflow`;
|
21
21
|
const componentName = 'TagOverflow';
|
22
22
|
const allTagsModalSearchThreshold = 10;
|
23
|
-
|
23
|
+
const TagOverflow = /*#__PURE__*/forwardRef((props, ref) => {
|
24
24
|
const {
|
25
25
|
align = 'start',
|
26
26
|
allTagsModalAriaLabel,
|
@@ -132,7 +132,6 @@ let TagOverflow = /*#__PURE__*/forwardRef((props, ref) => {
|
|
132
132
|
});
|
133
133
|
|
134
134
|
// Return a placeholder if not released and not enabled by feature flag
|
135
|
-
TagOverflow = pkg.checkComponentEnabled(TagOverflow, componentName);
|
136
135
|
|
137
136
|
// The display name of the component, used by React. Note that displayName
|
138
137
|
// is used in preference to relying on function.name.
|
@@ -96,6 +96,6 @@ export interface TagSetProps extends PropsWithChildren {
|
|
96
96
|
*/
|
97
97
|
tags?: TagType[];
|
98
98
|
}
|
99
|
-
export declare
|
99
|
+
export declare const TagSet: React.ForwardRefExoticComponent<TagSetProps & React.RefAttributes<HTMLDivElement>>;
|
100
100
|
declare const tagTypes: string[];
|
101
101
|
export default TagSet;
|
@@ -25,7 +25,7 @@ const defaults = {
|
|
25
25
|
measurementOffset: 0,
|
26
26
|
onOverflowTagChange: () => {}
|
27
27
|
};
|
28
|
-
|
28
|
+
const TagSet = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
29
29
|
let {
|
30
30
|
// The component props, in alphabetical order (for consistency).
|
31
31
|
|
@@ -241,7 +241,6 @@ let TagSet = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
241
241
|
});
|
242
242
|
|
243
243
|
// Return a placeholder if not released and not enabled by feature flag
|
244
|
-
TagSet = pkg.checkComponentEnabled(TagSet, componentName);
|
245
244
|
|
246
245
|
// copied from carbon-components-react/src/components/Tag/Tag.js for DocGen
|
247
246
|
const TYPES = {
|
@@ -353,4 +352,4 @@ TagSet.propTypes = {
|
|
353
352
|
};
|
354
353
|
TagSet.displayName = componentName;
|
355
354
|
|
356
|
-
export { TagSet };
|
355
|
+
export { TagSet, TagSet as default };
|
@@ -140,7 +140,7 @@ export interface TearsheetProps extends PropsWithChildren {
|
|
140
140
|
* panel on either the left or right side, the main content area, and a set of
|
141
141
|
* action buttons.
|
142
142
|
*/
|
143
|
-
export declare
|
143
|
+
export declare const Tearsheet: React.ForwardRefExoticComponent<TearsheetProps & React.RefAttributes<HTMLDivElement>>;
|
144
144
|
export declare const deprecatedProps: {
|
145
145
|
/**
|
146
146
|
* **Deprecated**
|
@@ -12,7 +12,6 @@ import { portalType, TearsheetShell } from './TearsheetShell.js';
|
|
12
12
|
import PropTypes from '../../_virtual/index.js';
|
13
13
|
import { allPropTypes } from '../../global/js/utils/props-helper.js';
|
14
14
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
15
|
-
import { pkg } from '../../settings.js';
|
16
15
|
|
17
16
|
const componentName = 'Tearsheet';
|
18
17
|
|
@@ -36,7 +35,7 @@ const componentName = 'Tearsheet';
|
|
36
35
|
* panel on either the left or right side, the main content area, and a set of
|
37
36
|
* action buttons.
|
38
37
|
*/
|
39
|
-
|
38
|
+
const Tearsheet = /*#__PURE__*/React__default.forwardRef((props, ref) => {
|
40
39
|
const {
|
41
40
|
influencerPosition = 'left',
|
42
41
|
influencerWidth = 'narrow',
|
@@ -52,7 +51,6 @@ let Tearsheet = /*#__PURE__*/React__default.forwardRef((props, ref) => {
|
|
52
51
|
});
|
53
52
|
|
54
53
|
// Return a placeholder if not released and not enabled by feature flag
|
55
|
-
Tearsheet = pkg.checkComponentEnabled(Tearsheet, componentName);
|
56
54
|
|
57
55
|
// The display name of the component, used by React. Note that displayName
|
58
56
|
// is used in preference to relying on function.name.
|
@@ -104,7 +104,7 @@ export interface TearsheetNarrowProps extends PropsWithChildren {
|
|
104
104
|
* A narrow tearsheet comprises 3 zones: a heading area including a title, the
|
105
105
|
* main content area, and a set of action buttons.
|
106
106
|
*/
|
107
|
-
export declare
|
107
|
+
export declare const TearsheetNarrow: React.ForwardRefExoticComponent<TearsheetNarrowProps & React.RefAttributes<HTMLDivElement>>;
|
108
108
|
export declare const deprecatedProps: {
|
109
109
|
/**
|
110
110
|
* **Deprecated**
|
@@ -12,7 +12,6 @@ import React__default from 'react';
|
|
12
12
|
import { allPropTypes, prepareProps } from '../../global/js/utils/props-helper.js';
|
13
13
|
import PropTypes from '../../_virtual/index.js';
|
14
14
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
15
|
-
import { pkg } from '../../settings.js';
|
16
15
|
|
17
16
|
const componentName = 'TearsheetNarrow';
|
18
17
|
|
@@ -32,7 +31,7 @@ const defaults = {
|
|
32
31
|
* main content area, and a set of action buttons.
|
33
32
|
*/
|
34
33
|
|
35
|
-
|
34
|
+
const TearsheetNarrow = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
36
35
|
let {
|
37
36
|
verticalPosition = defaults.verticalPosition,
|
38
37
|
...rest
|
@@ -45,7 +44,6 @@ let TearsheetNarrow = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
45
44
|
});
|
46
45
|
|
47
46
|
// Return a placeholder if not released and not enabled by feature flag
|
48
|
-
TearsheetNarrow = pkg.checkComponentEnabled(TearsheetNarrow, componentName);
|
49
47
|
|
50
48
|
// The display name of the component, used by React. Note that displayName
|
51
49
|
// is used in preference to relying on function.name.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* Copyright IBM Corp. 2021,
|
2
|
+
* Copyright IBM Corp. 2021, 2025
|
3
3
|
*
|
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.
|
@@ -17,7 +17,7 @@ interface ToolbarContextType {
|
|
17
17
|
}
|
18
18
|
declare const ToolbarContext: React.Context<ToolbarContextType>;
|
19
19
|
/** Toolbars are a collection of action items that organize a program’s interaction patterns into a series of closely related commands. */
|
20
|
-
declare
|
20
|
+
declare const Toolbar: React.ForwardRefExoticComponent<ToolbarProps & {
|
21
21
|
children?: React.ReactNode | undefined;
|
22
22
|
} & React.RefAttributes<HTMLDivElement>>;
|
23
23
|
declare const componentName = "Toolbar";
|
@@ -21,7 +21,7 @@ const blockClass = `${prefix}--toolbar`;
|
|
21
21
|
const ToolbarContext = /*#__PURE__*/createContext({});
|
22
22
|
|
23
23
|
/** Toolbars are a collection of action items that organize a program’s interaction patterns into a series of closely related commands. */
|
24
|
-
|
24
|
+
const Toolbar = /*#__PURE__*/forwardRef((_ref, r) => {
|
25
25
|
let {
|
26
26
|
children,
|
27
27
|
className,
|
@@ -105,6 +105,5 @@ Toolbar.propTypes = {
|
|
105
105
|
/** Determines whether the `Toolbar` is rendered vertically */
|
106
106
|
vertical: propTypesExports.bool
|
107
107
|
};
|
108
|
-
Toolbar = checkComponentEnabled(Toolbar, componentName);
|
109
108
|
|
110
109
|
export { Toolbar, ToolbarContext, blockClass, componentName };
|
@@ -22,7 +22,7 @@ export interface ToolbarButtonProps extends React.ComponentProps<typeof IconButt
|
|
22
22
|
renderIcon: React.ElementType;
|
23
23
|
}
|
24
24
|
/** Toolbar buttons are common functions performed as part of a products interface or an open window. */
|
25
|
-
export declare
|
25
|
+
export declare const ToolbarButton: React.ForwardRefExoticComponent<ToolbarButtonProps & {
|
26
26
|
children?: React.ReactNode | undefined;
|
27
27
|
} & React.RefAttributes<unknown>>;
|
28
28
|
export declare const deprecatedProps: {
|
@@ -11,11 +11,10 @@ import { ToolbarContext, blockClass as blockClass$1 } from './Toolbar.js';
|
|
11
11
|
import { p as propTypesExports } from '../../_virtual/index.js';
|
12
12
|
import { IconButton } from '@carbon/react';
|
13
13
|
import cx from 'classnames';
|
14
|
-
import { pkg } from '../../settings.js';
|
15
14
|
|
16
15
|
const blockClass = `${blockClass$1}__button`;
|
17
16
|
/** Toolbar buttons are common functions performed as part of a products interface or an open window. */
|
18
|
-
|
17
|
+
const ToolbarButton = /*#__PURE__*/forwardRef((_ref, ref) => {
|
19
18
|
let {
|
20
19
|
caret = false,
|
21
20
|
children,
|
@@ -62,6 +61,5 @@ ToolbarButton.propTypes = {
|
|
62
61
|
renderIcon: propTypesExports.func.isRequired,
|
63
62
|
...deprecatedProps
|
64
63
|
};
|
65
|
-
ToolbarButton = pkg.checkComponentEnabled(ToolbarButton, componentName);
|
66
64
|
|
67
65
|
export { ToolbarButton, blockClass, deprecatedProps };
|
@@ -12,6 +12,6 @@ export interface ToolbarGroupProps {
|
|
12
12
|
className?: string;
|
13
13
|
}
|
14
14
|
/** Toolbar groups organize the commands within a toolbar into related groups. */
|
15
|
-
export declare
|
15
|
+
export declare const ToolbarGroup: React.ForwardRefExoticComponent<ToolbarGroupProps & {
|
16
16
|
children?: ReactNode | undefined;
|
17
17
|
} & React.RefAttributes<HTMLDivElement>>;
|
@@ -10,10 +10,9 @@ import React__default, { forwardRef } from 'react';
|
|
10
10
|
import { p as propTypesExports } from '../../_virtual/index.js';
|
11
11
|
import { blockClass } from './Toolbar.js';
|
12
12
|
import cx from 'classnames';
|
13
|
-
import { pkg } from '../../settings.js';
|
14
13
|
|
15
14
|
/** Toolbar groups organize the commands within a toolbar into related groups. */
|
16
|
-
|
15
|
+
const ToolbarGroup = /*#__PURE__*/forwardRef((_ref, ref) => {
|
17
16
|
let {
|
18
17
|
className,
|
19
18
|
children,
|
@@ -32,6 +31,5 @@ ToolbarGroup.propTypes = {
|
|
32
31
|
/** Provide an optional class to be applied to the containing node */
|
33
32
|
className: propTypesExports.string
|
34
33
|
};
|
35
|
-
ToolbarGroup = pkg.checkComponentEnabled(ToolbarGroup, componentName);
|
36
34
|
|
37
35
|
export { ToolbarGroup };
|
@@ -15,4 +15,4 @@ export interface TooltipTriggerProps extends PropsWithChildren {
|
|
15
15
|
* This is an tooltip trigger as Carbon Tooltip requires an active element to work but provides
|
16
16
|
* no blanked button.
|
17
17
|
*/
|
18
|
-
export declare
|
18
|
+
export declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -21,7 +21,7 @@ const componentName = 'TooltipTrigger';
|
|
21
21
|
* This is an tooltip trigger as Carbon Tooltip requires an active element to work but provides
|
22
22
|
* no blanked button.
|
23
23
|
*/
|
24
|
-
|
24
|
+
const TooltipTrigger = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
25
25
|
let {
|
26
26
|
children,
|
27
27
|
className,
|
@@ -40,7 +40,6 @@ let TooltipTrigger = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
40
40
|
});
|
41
41
|
|
42
42
|
// Return a placeholder if not released and not enabled by feature flag.
|
43
|
-
TooltipTrigger = pkg.checkComponentEnabled(TooltipTrigger, componentName);
|
44
43
|
|
45
44
|
// The display name of the component, used by React. Note that displayName
|
46
45
|
// is used in preference to relying on function.name.
|
@@ -48,4 +48,4 @@ export interface TruncatedListProps extends PropsWithChildren {
|
|
48
48
|
* revealed to the user while giving the user the ability to expand
|
49
49
|
* and see the entire list.
|
50
50
|
*/
|
51
|
-
export declare
|
51
|
+
export declare const TruncatedList: React.ForwardRefExoticComponent<TruncatedListProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -30,7 +30,7 @@ const defaults = {
|
|
30
30
|
* revealed to the user while giving the user the ability to expand
|
31
31
|
* and see the entire list.
|
32
32
|
*/
|
33
|
-
|
33
|
+
const TruncatedList = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
34
34
|
let {
|
35
35
|
children,
|
36
36
|
className,
|
@@ -106,7 +106,6 @@ let TruncatedList = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
106
106
|
});
|
107
107
|
|
108
108
|
// Return a placeholder if not released and not enabled by feature flag
|
109
|
-
TruncatedList = pkg.checkComponentEnabled(TruncatedList, componentName);
|
110
109
|
|
111
110
|
// The display name of the component, used by React. Note that displayName
|
112
111
|
// is used in preference to relying on function.name.
|
@@ -56,5 +56,5 @@ type UserAvatarBaseProps = {
|
|
56
56
|
tooltipText?: string;
|
57
57
|
};
|
58
58
|
type UserAvatarProps = UserAvatarBaseProps & ImageProps;
|
59
|
-
export declare
|
59
|
+
export declare const UserAvatar: React.ForwardRefExoticComponent<UserAvatarProps & React.RefAttributes<HTMLDivElement>>;
|
60
60
|
export {};
|