@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
@@ -18,7 +18,7 @@ var settings = require('../../settings.js');
|
|
18
18
|
|
19
19
|
var _ErrorFilled;
|
20
20
|
const componentName = 'Saving';
|
21
|
-
|
21
|
+
const Saving = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
22
22
|
let {
|
23
23
|
secondaryButtonText,
|
24
24
|
className,
|
@@ -94,8 +94,7 @@ exports.Saving = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
94
94
|
type: "button"
|
95
95
|
}, statusObj[status]?.text)));
|
96
96
|
});
|
97
|
-
|
98
|
-
exports.Saving.propTypes = {
|
97
|
+
Saving.propTypes = {
|
99
98
|
/**
|
100
99
|
* Provide an optional class to be applied to the containing node.
|
101
100
|
*/
|
@@ -153,4 +152,6 @@ exports.Saving.propTypes = {
|
|
153
152
|
*/
|
154
153
|
type: index.default.oneOf(['manual', 'auto']).isRequired
|
155
154
|
};
|
156
|
-
|
155
|
+
Saving.displayName = componentName;
|
156
|
+
|
157
|
+
exports.Saving = Saving;
|
@@ -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**
|
@@ -27,7 +27,7 @@ const defaults = {
|
|
27
27
|
onChange: () => {},
|
28
28
|
hideScopesLabel: true
|
29
29
|
};
|
30
|
-
|
30
|
+
const SearchBar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
31
31
|
let {
|
32
32
|
// The component props, in alphabetical order (for consistency).
|
33
33
|
className,
|
@@ -144,11 +144,10 @@ exports.SearchBar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
144
144
|
});
|
145
145
|
|
146
146
|
// Return a placeholder if not released and not enabled by feature flag
|
147
|
-
exports.SearchBar = settings.pkg.checkComponentEnabled(exports.SearchBar, componentName);
|
148
147
|
|
149
148
|
// The display name of the component, used by React. Note that displayName
|
150
149
|
// is used in preference to relying on function.name.
|
151
|
-
|
150
|
+
SearchBar.displayName = componentName;
|
152
151
|
const conditionalScopePropValidator = function (props, propName, componentName) {
|
153
152
|
if (props.scopes && props.scopes.length > 0 && !props[propName]) {
|
154
153
|
return new Error(`Required \`${propName}\` when \`scopes\` prop type is supplied to \`${componentName}\`. Validation failed.`);
|
@@ -171,7 +170,7 @@ const deprecatedProps = {
|
|
171
170
|
// The types and DocGen commentary for the component props,
|
172
171
|
// in alphabetical order (for consistency).
|
173
172
|
// See https://www.npmjs.com/package/prop-types#usage.
|
174
|
-
|
173
|
+
SearchBar.propTypes = {
|
175
174
|
/** @type {string} Optional additional class name. */
|
176
175
|
className: index.default.string,
|
177
176
|
/** @type {string} The label text for the search text input. */
|
@@ -213,4 +212,5 @@ exports.SearchBar.propTypes = {
|
|
213
212
|
...deprecatedProps
|
214
213
|
};
|
215
214
|
|
215
|
+
exports.SearchBar = SearchBar;
|
216
216
|
exports.deprecatedProps = deprecatedProps;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2020, 2025
|
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
|
+
|
8
|
+
'use strict';
|
9
|
+
|
10
|
+
var SearchBar = require('./SearchBar.js');
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
exports.SearchBar = SearchBar.SearchBar;
|
@@ -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 {};
|
@@ -46,7 +46,8 @@ const defaults = {
|
|
46
46
|
/**
|
47
47
|
* Side panels keep users in-context of a page while performing tasks like navigating, editing, viewing details, or configuring something new.
|
48
48
|
*/
|
49
|
-
const
|
49
|
+
const SidePanel = /*#__PURE__*/React.forwardRef((props, ref) => {
|
50
|
+
var _Layer;
|
50
51
|
const {
|
51
52
|
actionToolbarButtons,
|
52
53
|
actions,
|
@@ -522,7 +523,7 @@ const SidePanelBase = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
522
523
|
ref: innerContentRef,
|
523
524
|
onScroll: handleScroll,
|
524
525
|
className: cx(`${blockClass}__inner-content`, `${blockClass}--scrolls`, `${!doAnimateTitle && !animateTitle ? `${blockClass}__inner-content--no-animated-title` : ''}`)
|
525
|
-
}, children);
|
526
|
+
}, _Layer || (_Layer = /*#__PURE__*/React.createElement(react.Layer, null, children)));
|
526
527
|
};
|
527
528
|
const handleKeyDown = event => {
|
528
529
|
if (!slideIn) {
|
@@ -559,9 +560,6 @@ const SidePanelBase = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
559
560
|
})
|
560
561
|
})) : null;
|
561
562
|
});
|
562
|
-
|
563
|
-
// Return a placeholder if not released and not enabled by feature flag
|
564
|
-
const SidePanel = settings.pkg.checkComponentEnabled(SidePanelBase, componentName);
|
565
563
|
const deprecatedProps = {
|
566
564
|
/**
|
567
565
|
* **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>>;
|
@@ -12,14 +12,13 @@ var React = require('react');
|
|
12
12
|
var AddSelect = require('../AddSelect/AddSelect.js');
|
13
13
|
var index = require('../../_virtual/index.js');
|
14
14
|
var devtools = require('../../global/js/utils/devtools.js');
|
15
|
-
var settings = require('../../settings.js');
|
16
15
|
var propsHelper = require('../../global/js/utils/props-helper.js');
|
17
16
|
|
18
17
|
const componentName = 'SingleAddSelect';
|
19
18
|
/**
|
20
19
|
* Used to add or select one or more items from larger lists or hierarchies.
|
21
20
|
*/
|
22
|
-
|
21
|
+
const SingleAddSelect = /*#__PURE__*/React.forwardRef((props, ref) => {
|
23
22
|
// remove multi add select specific props
|
24
23
|
const validProps = propsHelper.prepareProps(props, ['columnInputPlaceholder', 'globalFilters', 'globalFiltersIconDescription', 'globalFiltersPlaceholderText', 'globalFiltersPrimaryButtonText', 'globalFiltersSecondaryButtonText', 'influencerTitle', 'multi', 'noSelectionDescription', 'noSelectionTitle', 'removeIconDescription']);
|
25
24
|
return /*#__PURE__*/React.createElement(AddSelect.AddSelect, _rollupPluginBabelHelpers.extends({}, validProps, {
|
@@ -28,8 +27,7 @@ exports.SingleAddSelect = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
28
27
|
multi: false
|
29
28
|
}));
|
30
29
|
});
|
31
|
-
|
32
|
-
exports.SingleAddSelect.propTypes = {
|
30
|
+
SingleAddSelect.propTypes = {
|
33
31
|
/**
|
34
32
|
* optional class name
|
35
33
|
*/
|
@@ -101,4 +99,6 @@ exports.SingleAddSelect.propTypes = {
|
|
101
99
|
*/
|
102
100
|
title: index.default.string
|
103
101
|
};
|
104
|
-
|
102
|
+
SingleAddSelect.displayName = componentName;
|
103
|
+
|
104
|
+
exports.SingleAddSelect = SingleAddSelect;
|
@@ -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 {};
|
@@ -28,7 +28,7 @@ information to users. The shapes and colors, communicate severity that enable
|
|
28
28
|
users to quickly assess and identify status and respond accordingly.
|
29
29
|
*/
|
30
30
|
|
31
|
-
|
31
|
+
const StatusIcon = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
|
32
32
|
let {
|
33
33
|
kind,
|
34
34
|
theme,
|
@@ -247,9 +247,8 @@ exports.StatusIcon = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
|
|
247
247
|
ref
|
248
248
|
}, devtools.getDevtoolsProps(componentName)), /*#__PURE__*/React.createElement("title", null, iconDescription));
|
249
249
|
});
|
250
|
-
|
251
|
-
|
252
|
-
exports.StatusIcon.propTypes = {
|
250
|
+
StatusIcon.displayName = componentName;
|
251
|
+
StatusIcon.propTypes = {
|
253
252
|
/**
|
254
253
|
* Provide an optional class to be applied to the modal root node.
|
255
254
|
*/
|
@@ -271,3 +270,5 @@ exports.StatusIcon.propTypes = {
|
|
271
270
|
*/
|
272
271
|
theme: index.default.oneOf(['light', 'dark']).isRequired
|
273
272
|
};
|
273
|
+
|
274
|
+
exports.StatusIcon = StatusIcon;
|
@@ -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>>;
|
@@ -22,7 +22,7 @@ var useOverflowItems = require('../../global/js/hooks/useOverflowItems/useOverfl
|
|
22
22
|
const blockClass = `${settings.pkg.prefix}--tag-overflow`;
|
23
23
|
const componentName = 'TagOverflow';
|
24
24
|
const allTagsModalSearchThreshold = 10;
|
25
|
-
|
25
|
+
const TagOverflow = /*#__PURE__*/React.forwardRef((props, ref) => {
|
26
26
|
const {
|
27
27
|
align = 'start',
|
28
28
|
allTagsModalAriaLabel,
|
@@ -134,17 +134,16 @@ exports.TagOverflow = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
134
134
|
});
|
135
135
|
|
136
136
|
// Return a placeholder if not released and not enabled by feature flag
|
137
|
-
exports.TagOverflow = settings.pkg.checkComponentEnabled(exports.TagOverflow, componentName);
|
138
137
|
|
139
138
|
// The display name of the component, used by React. Note that displayName
|
140
139
|
// is used in preference to relying on function.name.
|
141
|
-
|
140
|
+
TagOverflow.displayName = componentName;
|
142
141
|
const tagTypes = Object.keys(constants.TYPES);
|
143
142
|
|
144
143
|
// The types and DocGen commentary for the component props,
|
145
144
|
// in alphabetical order (for consistency).
|
146
145
|
// See https://www.npmjs.com/package/prop-types#usage.
|
147
|
-
|
146
|
+
TagOverflow.propTypes = {
|
148
147
|
/**
|
149
148
|
* align the Tags displayed by the TagSet. Default start.
|
150
149
|
*/
|
@@ -234,3 +233,5 @@ exports.TagOverflow.propTypes = {
|
|
234
233
|
//@ts-ignore
|
235
234
|
tagComponent: index.default.elementType
|
236
235
|
};
|
236
|
+
|
237
|
+
exports.TagOverflow = TagOverflow;
|
@@ -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;
|
@@ -7,6 +7,8 @@
|
|
7
7
|
|
8
8
|
'use strict';
|
9
9
|
|
10
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
11
|
+
|
10
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
11
13
|
var React = require('react');
|
12
14
|
var index = require('../../_virtual/index.js');
|
@@ -27,7 +29,7 @@ const defaults = {
|
|
27
29
|
measurementOffset: 0,
|
28
30
|
onOverflowTagChange: () => {}
|
29
31
|
};
|
30
|
-
|
32
|
+
const TagSet = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
31
33
|
let {
|
32
34
|
// The component props, in alphabetical order (for consistency).
|
33
35
|
|
@@ -243,7 +245,6 @@ exports.TagSet = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
243
245
|
});
|
244
246
|
|
245
247
|
// Return a placeholder if not released and not enabled by feature flag
|
246
|
-
exports.TagSet = settings.pkg.checkComponentEnabled(exports.TagSet, componentName);
|
247
248
|
|
248
249
|
// copied from carbon-components-react/src/components/Tag/Tag.js for DocGen
|
249
250
|
const TYPES = {
|
@@ -261,8 +262,8 @@ const TYPES = {
|
|
261
262
|
outline: 'Outline'
|
262
263
|
};
|
263
264
|
const tagTypes = Object.keys(TYPES);
|
264
|
-
|
265
|
-
|
265
|
+
TagSet['types'] = tagTypes;
|
266
|
+
TagSet.propTypes = {
|
266
267
|
/**
|
267
268
|
* align the Tags displayed by the TagSet. Default start.
|
268
269
|
*/
|
@@ -353,4 +354,7 @@ exports.TagSet.propTypes = {
|
|
353
354
|
type: index.default.oneOf(tagTypes)
|
354
355
|
}))
|
355
356
|
};
|
356
|
-
|
357
|
+
TagSet.displayName = componentName;
|
358
|
+
|
359
|
+
exports.TagSet = TagSet;
|
360
|
+
exports.default = TagSet;
|
@@ -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**
|
@@ -14,7 +14,6 @@ var TearsheetShell = require('./TearsheetShell.js');
|
|
14
14
|
var index = require('../../_virtual/index.js');
|
15
15
|
var propsHelper = require('../../global/js/utils/props-helper.js');
|
16
16
|
var devtools = require('../../global/js/utils/devtools.js');
|
17
|
-
var settings = require('../../settings.js');
|
18
17
|
|
19
18
|
const componentName = 'Tearsheet';
|
20
19
|
|
@@ -38,7 +37,7 @@ const componentName = 'Tearsheet';
|
|
38
37
|
* panel on either the left or right side, the main content area, and a set of
|
39
38
|
* action buttons.
|
40
39
|
*/
|
41
|
-
|
40
|
+
const Tearsheet = /*#__PURE__*/React.forwardRef((props, ref) => {
|
42
41
|
const {
|
43
42
|
influencerPosition = 'left',
|
44
43
|
influencerWidth = 'narrow',
|
@@ -54,11 +53,10 @@ exports.Tearsheet = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
54
53
|
});
|
55
54
|
|
56
55
|
// Return a placeholder if not released and not enabled by feature flag
|
57
|
-
exports.Tearsheet = settings.pkg.checkComponentEnabled(exports.Tearsheet, componentName);
|
58
56
|
|
59
57
|
// The display name of the component, used by React. Note that displayName
|
60
58
|
// is used in preference to relying on function.name.
|
61
|
-
|
59
|
+
Tearsheet.displayName = componentName;
|
62
60
|
const deprecatedProps = {
|
63
61
|
/**
|
64
62
|
* **Deprecated**
|
@@ -78,7 +76,7 @@ const deprecatedProps = {
|
|
78
76
|
|
79
77
|
// Note that the descriptions here should be kept in sync with those for the
|
80
78
|
// corresponding props for TearsheetNarrow and TearsheetShell components.
|
81
|
-
|
79
|
+
Tearsheet.propTypes = {
|
82
80
|
/**
|
83
81
|
* The navigation actions to be shown as buttons in the action area at the
|
84
82
|
* bottom of the tearsheet. Each action is specified as an object with
|
@@ -199,4 +197,5 @@ exports.Tearsheet.propTypes = {
|
|
199
197
|
...deprecatedProps
|
200
198
|
};
|
201
199
|
|
200
|
+
exports.Tearsheet = Tearsheet;
|
202
201
|
exports.deprecatedProps = deprecatedProps;
|
@@ -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**
|
@@ -14,7 +14,6 @@ var React = require('react');
|
|
14
14
|
var propsHelper = require('../../global/js/utils/props-helper.js');
|
15
15
|
var index = require('../../_virtual/index.js');
|
16
16
|
var devtools = require('../../global/js/utils/devtools.js');
|
17
|
-
var settings = require('../../settings.js');
|
18
17
|
|
19
18
|
const componentName = 'TearsheetNarrow';
|
20
19
|
|
@@ -34,7 +33,7 @@ const defaults = {
|
|
34
33
|
* main content area, and a set of action buttons.
|
35
34
|
*/
|
36
35
|
|
37
|
-
|
36
|
+
const TearsheetNarrow = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
38
37
|
let {
|
39
38
|
verticalPosition = defaults.verticalPosition,
|
40
39
|
...rest
|
@@ -47,11 +46,10 @@ exports.TearsheetNarrow = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
47
46
|
});
|
48
47
|
|
49
48
|
// Return a placeholder if not released and not enabled by feature flag
|
50
|
-
exports.TearsheetNarrow = settings.pkg.checkComponentEnabled(exports.TearsheetNarrow, componentName);
|
51
49
|
|
52
50
|
// The display name of the component, used by React. Note that displayName
|
53
51
|
// is used in preference to relying on function.name.
|
54
|
-
|
52
|
+
TearsheetNarrow.displayName = componentName;
|
55
53
|
const deprecatedProps = {
|
56
54
|
/**
|
57
55
|
* **Deprecated**
|
@@ -71,7 +69,7 @@ const deprecatedProps = {
|
|
71
69
|
|
72
70
|
// Note that the descriptions here should be kept in sync with those for the
|
73
71
|
// corresponding props for Tearsheet and TearsheetShell components.
|
74
|
-
|
72
|
+
TearsheetNarrow.propTypes = {
|
75
73
|
/**
|
76
74
|
* The navigation actions to be shown as buttons in the action area at the
|
77
75
|
* bottom of the tearsheet. Each action is specified as an object with
|
@@ -159,4 +157,5 @@ exports.TearsheetNarrow.propTypes = {
|
|
159
157
|
...deprecatedProps
|
160
158
|
};
|
161
159
|
|
160
|
+
exports.TearsheetNarrow = TearsheetNarrow;
|
162
161
|
exports.deprecatedProps = deprecatedProps;
|
@@ -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";
|
@@ -23,7 +23,7 @@ const blockClass = `${prefix}--toolbar`;
|
|
23
23
|
const ToolbarContext = /*#__PURE__*/React.createContext({});
|
24
24
|
|
25
25
|
/** Toolbars are a collection of action items that organize a program’s interaction patterns into a series of closely related commands. */
|
26
|
-
|
26
|
+
const Toolbar = /*#__PURE__*/React.forwardRef((_ref, r) => {
|
27
27
|
let {
|
28
28
|
children,
|
29
29
|
className,
|
@@ -98,8 +98,8 @@ exports.Toolbar = /*#__PURE__*/React.forwardRef((_ref, r) => {
|
|
98
98
|
}, children));
|
99
99
|
});
|
100
100
|
const componentName = 'Toolbar';
|
101
|
-
|
102
|
-
|
101
|
+
Toolbar.displayName = componentName;
|
102
|
+
Toolbar.propTypes = {
|
103
103
|
/** Provide the content of the `Toolbar` */
|
104
104
|
children: index.propTypesExports.node.isRequired,
|
105
105
|
/** Provide an optional class to be applied to the containing node */
|
@@ -107,8 +107,8 @@ exports.Toolbar.propTypes = {
|
|
107
107
|
/** Determines whether the `Toolbar` is rendered vertically */
|
108
108
|
vertical: index.propTypesExports.bool
|
109
109
|
};
|
110
|
-
exports.Toolbar = checkComponentEnabled(exports.Toolbar, componentName);
|
111
110
|
|
111
|
+
exports.Toolbar = Toolbar;
|
112
112
|
exports.ToolbarContext = ToolbarContext;
|
113
113
|
exports.blockClass = blockClass;
|
114
114
|
exports.componentName = 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: {
|
@@ -13,11 +13,10 @@ var Toolbar = require('./Toolbar.js');
|
|
13
13
|
var index = require('../../_virtual/index.js');
|
14
14
|
var react = require('@carbon/react');
|
15
15
|
var cx = require('classnames');
|
16
|
-
var settings = require('../../settings.js');
|
17
16
|
|
18
17
|
const blockClass = `${Toolbar.blockClass}__button`;
|
19
18
|
/** Toolbar buttons are common functions performed as part of a products interface or an open window. */
|
20
|
-
|
19
|
+
const ToolbarButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
21
20
|
let {
|
22
21
|
caret = false,
|
23
22
|
children,
|
@@ -43,7 +42,7 @@ exports.ToolbarButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
43
42
|
})));
|
44
43
|
});
|
45
44
|
const componentName = 'ToolbarButton';
|
46
|
-
|
45
|
+
ToolbarButton.displayName = componentName;
|
47
46
|
const deprecatedProps = {
|
48
47
|
/**
|
49
48
|
* **Deprecated**
|
@@ -51,7 +50,7 @@ const deprecatedProps = {
|
|
51
50
|
* */
|
52
51
|
iconDescription: index.propTypesExports.string
|
53
52
|
};
|
54
|
-
|
53
|
+
ToolbarButton.propTypes = {
|
55
54
|
/** Determines whether the caret is rendered */
|
56
55
|
caret: index.propTypesExports.bool,
|
57
56
|
/** Provide the content of the `ToolbarButton` */
|
@@ -64,7 +63,7 @@ exports.ToolbarButton.propTypes = {
|
|
64
63
|
renderIcon: index.propTypesExports.func.isRequired,
|
65
64
|
...deprecatedProps
|
66
65
|
};
|
67
|
-
exports.ToolbarButton = settings.pkg.checkComponentEnabled(exports.ToolbarButton, componentName);
|
68
66
|
|
67
|
+
exports.ToolbarButton = ToolbarButton;
|
69
68
|
exports.blockClass = blockClass;
|
70
69
|
exports.deprecatedProps = 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>>;
|
@@ -12,10 +12,9 @@ var React = require('react');
|
|
12
12
|
var index = require('../../_virtual/index.js');
|
13
13
|
var Toolbar = require('./Toolbar.js');
|
14
14
|
var cx = require('classnames');
|
15
|
-
var settings = require('../../settings.js');
|
16
15
|
|
17
16
|
/** Toolbar groups organize the commands within a toolbar into related groups. */
|
18
|
-
|
17
|
+
const ToolbarGroup = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
19
18
|
let {
|
20
19
|
className,
|
21
20
|
children,
|
@@ -27,11 +26,12 @@ exports.ToolbarGroup = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
27
26
|
}), children);
|
28
27
|
});
|
29
28
|
const componentName = 'ToolbarGroup';
|
30
|
-
|
31
|
-
|
29
|
+
ToolbarGroup.displayName = componentName;
|
30
|
+
ToolbarGroup.propTypes = {
|
32
31
|
/** Provide the content of the `ToolbarGroup` */
|
33
32
|
children: index.propTypesExports.node.isRequired,
|
34
33
|
/** Provide an optional class to be applied to the containing node */
|
35
34
|
className: index.propTypesExports.string
|
36
35
|
};
|
37
|
-
|
36
|
+
|
37
|
+
exports.ToolbarGroup = 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>>;
|
@@ -23,7 +23,7 @@ const componentName = 'TooltipTrigger';
|
|
23
23
|
* This is an tooltip trigger as Carbon Tooltip requires an active element to work but provides
|
24
24
|
* no blanked button.
|
25
25
|
*/
|
26
|
-
|
26
|
+
const TooltipTrigger = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
27
27
|
let {
|
28
28
|
children,
|
29
29
|
className,
|
@@ -42,16 +42,15 @@ exports.TooltipTrigger = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
42
42
|
});
|
43
43
|
|
44
44
|
// Return a placeholder if not released and not enabled by feature flag.
|
45
|
-
exports.TooltipTrigger = settings.pkg.checkComponentEnabled(exports.TooltipTrigger, componentName);
|
46
45
|
|
47
46
|
// The display name of the component, used by React. Note that displayName
|
48
47
|
// is used in preference to relying on function.name.
|
49
|
-
|
48
|
+
TooltipTrigger.displayName = componentName;
|
50
49
|
|
51
50
|
// The types and DocGen commentary for the component props,
|
52
51
|
// in alphabetical order (for consistency).
|
53
52
|
// See https://www.npmjs.com/package/prop-types#usage.
|
54
|
-
|
53
|
+
TooltipTrigger.propTypes = {
|
55
54
|
/**
|
56
55
|
* Child content of tooltip trigger
|
57
56
|
*/
|
@@ -61,3 +60,5 @@ exports.TooltipTrigger.propTypes = {
|
|
61
60
|
*/
|
62
61
|
className: index.default.string
|
63
62
|
};
|
63
|
+
|
64
|
+
exports.TooltipTrigger = TooltipTrigger;
|
@@ -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>>;
|
@@ -32,7 +32,7 @@ const defaults = {
|
|
32
32
|
* revealed to the user while giving the user the ability to expand
|
33
33
|
* and see the entire list.
|
34
34
|
*/
|
35
|
-
|
35
|
+
const TruncatedList = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
36
36
|
let {
|
37
37
|
children,
|
38
38
|
className,
|
@@ -108,16 +108,15 @@ exports.TruncatedList = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
108
108
|
});
|
109
109
|
|
110
110
|
// Return a placeholder if not released and not enabled by feature flag
|
111
|
-
exports.TruncatedList = settings.pkg.checkComponentEnabled(exports.TruncatedList, componentName);
|
112
111
|
|
113
112
|
// The display name of the component, used by React. Note that displayName
|
114
113
|
// is used in preference to relying on function.name.
|
115
|
-
|
114
|
+
TruncatedList.displayName = componentName;
|
116
115
|
|
117
116
|
// The types and DocGen commentary for the component props,
|
118
117
|
// in alphabetical order (for consistency).
|
119
118
|
// See https://www.npmjs.com/package/prop-types#usage.
|
120
|
-
|
119
|
+
TruncatedList.propTypes = {
|
121
120
|
/**
|
122
121
|
* The type of list element to render.
|
123
122
|
* This could be a `ul`, `ol`, or a custom React component.
|
@@ -159,3 +158,5 @@ exports.TruncatedList.propTypes = {
|
|
159
158
|
*/
|
160
159
|
viewMoreLabel: index.default.func
|
161
160
|
};
|
161
|
+
|
162
|
+
exports.TruncatedList = TruncatedList;
|