@carbon/ibm-products 2.74.0-rc.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
@@ -51,7 +51,7 @@ const defaults = {
|
|
51
51
|
/**
|
52
52
|
* DataSpreadsheet: used to organize and display large amounts of structured data, separated by columns and rows in a grid-like format.
|
53
53
|
*/
|
54
|
-
|
54
|
+
const DataSpreadsheet = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
55
55
|
let {
|
56
56
|
// The component props, in alphabetical order (for consistency).
|
57
57
|
cellSize = 'sm',
|
@@ -731,16 +731,15 @@ exports.DataSpreadsheet = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
731
731
|
});
|
732
732
|
|
733
733
|
// Return a placeholder if not released and not enabled by feature flag
|
734
|
-
exports.DataSpreadsheet = settings.pkg.checkComponentEnabled(exports.DataSpreadsheet, componentName);
|
735
734
|
|
736
735
|
// The display name of the component, used by React. Note that displayName
|
737
736
|
// is used in preference to relying on function.name.
|
738
|
-
|
737
|
+
DataSpreadsheet.displayName = componentName;
|
739
738
|
|
740
739
|
// The types and DocGen commentary for the component props,
|
741
740
|
// in alphabetical order (for consistency).
|
742
741
|
// See https://www.npmjs.com/package/prop-types#usage.
|
743
|
-
|
742
|
+
DataSpreadsheet.propTypes = {
|
744
743
|
/**
|
745
744
|
* Specifies the cell height
|
746
745
|
*/
|
@@ -827,3 +826,5 @@ exports.DataSpreadsheet.propTypes = {
|
|
827
826
|
|
828
827
|
/* TODO: add types and DocGen for all props. */
|
829
828
|
};
|
829
|
+
|
830
|
+
exports.DataSpreadsheet = DataSpreadsheet;
|
@@ -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 DataSpreadsheet = require('./DataSpreadsheet.js');
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
exports.DataSpreadsheet = DataSpreadsheet.DataSpreadsheet;
|
@@ -21,4 +21,4 @@ export interface DatagridProps {
|
|
21
21
|
* The `Datagrid` component is an extension of Carbon's DataTable component. At the most basic level, the `Datagrid` component takes in columns and rows and renders a data table. There is a set of data table extensions which this component provides support for, these can be found [here](https://pages.github.ibm.com/carbon/ibm-products/components/datagrid/overview/). This component is data driven and allows you to choose what pieces will be included based on the hooks/plugins that are provided.
|
22
22
|
* @deprecated
|
23
23
|
*/
|
24
|
-
export declare
|
24
|
+
export declare const Datagrid: React.ForwardRefExoticComponent<DatagridProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -24,7 +24,7 @@ const componentName = 'Datagrid';
|
|
24
24
|
* The `Datagrid` component is an extension of Carbon's DataTable component. At the most basic level, the `Datagrid` component takes in columns and rows and renders a data table. There is a set of data table extensions which this component provides support for, these can be found [here](https://pages.github.ibm.com/carbon/ibm-products/components/datagrid/overview/). This component is data driven and allows you to choose what pieces will be included based on the hooks/plugins that are provided.
|
25
25
|
* @deprecated
|
26
26
|
*/
|
27
|
-
|
27
|
+
const Datagrid = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
28
28
|
let {
|
29
29
|
datagridState,
|
30
30
|
ariaToolbarLabel,
|
@@ -62,18 +62,17 @@ exports.Datagrid = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
62
62
|
});
|
63
63
|
|
64
64
|
/**@ts-ignore*/
|
65
|
-
|
65
|
+
Datagrid.deprecated = {
|
66
66
|
level: 'warn',
|
67
67
|
details: `For more information, please refer to the migration docs https://github.com/carbon-design-system/tanstack-carbon`
|
68
68
|
};
|
69
69
|
|
70
70
|
// Return a placeholder if not released and not enabled by feature flag
|
71
|
-
exports.Datagrid = settings.pkg.checkComponentEnabled(exports.Datagrid, componentName);
|
72
71
|
|
73
72
|
// The display name of the component, used by React. Note that displayName
|
74
73
|
// is used in preference to relying on function.name.
|
75
|
-
|
76
|
-
|
74
|
+
Datagrid.displayName = componentName;
|
75
|
+
Datagrid.propTypes = {
|
77
76
|
/**
|
78
77
|
* Specify a label to be read by screen readers on the container node
|
79
78
|
* 'aria-label' of the TableToolbar component.
|
@@ -85,3 +84,5 @@ exports.Datagrid.propTypes = {
|
|
85
84
|
/**@ts-ignore */
|
86
85
|
datagridState: index.default.object.isRequired
|
87
86
|
};
|
87
|
+
|
88
|
+
exports.Datagrid = Datagrid;
|
@@ -0,0 +1,17 @@
|
|
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 Decorator = require('./Decorator.js');
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
Object.defineProperty(exports, "Decorator", {
|
15
|
+
enumerable: true,
|
16
|
+
get: function () { return Decorator.Decorator; }
|
17
|
+
});
|
@@ -4,5 +4,5 @@
|
|
4
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
|
-
export function getMagnitude(score: any, thresholds: any): "
|
7
|
+
export function getMagnitude(score: any, thresholds: any): "Unknown" | "Benign" | "Low" | "Medium" | "High" | "Critical";
|
8
8
|
export function truncate(inputText: any, truncateValue: any): any;
|
@@ -27,4 +27,4 @@ export interface DelimitedListProps extends PropsWithChildren {
|
|
27
27
|
* `DelimitedList` converts an array of items into a single line of
|
28
28
|
* comma-separated values.
|
29
29
|
*/
|
30
|
-
export declare
|
30
|
+
export declare const DelimitedList: React.ForwardRefExoticComponent<DelimitedListProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -25,7 +25,7 @@ const defaults = {
|
|
25
25
|
* `DelimitedList` converts an array of items into a single line of
|
26
26
|
* comma-separated values.
|
27
27
|
*/
|
28
|
-
|
28
|
+
const DelimitedList = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
29
29
|
let {
|
30
30
|
// The component props, in alphabetical order (for consistency).
|
31
31
|
className,
|
@@ -43,16 +43,15 @@ exports.DelimitedList = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
43
43
|
});
|
44
44
|
|
45
45
|
// Return a placeholder if not released and not enabled by feature flag
|
46
|
-
exports.DelimitedList = settings.pkg.checkComponentEnabled(exports.DelimitedList, componentName);
|
47
46
|
|
48
47
|
// The display name of the component, used by React. Note that displayName
|
49
48
|
// is used in preference to relying on function.name.
|
50
|
-
|
49
|
+
DelimitedList.displayName = componentName;
|
51
50
|
|
52
51
|
// The types and DocGen commentary for the component props,
|
53
52
|
// in alphabetical order (for consistency).
|
54
53
|
// See https://www.npmjs.com/package/prop-types#usage.
|
55
|
-
|
54
|
+
DelimitedList.propTypes = {
|
56
55
|
/**
|
57
56
|
* Provide an optional class to be applied to the containing node.
|
58
57
|
*/
|
@@ -70,3 +69,5 @@ exports.DelimitedList.propTypes = {
|
|
70
69
|
*/
|
71
70
|
truncate: index.default.bool
|
72
71
|
};
|
72
|
+
|
73
|
+
exports.DelimitedList = DelimitedList;
|
@@ -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 DelimitedList = require('./DelimitedList.js');
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
exports.DelimitedList = DelimitedList.DelimitedList;
|
@@ -21,4 +21,4 @@ export interface EditFullPageProps {
|
|
21
21
|
* See usage guidance for further details.
|
22
22
|
* @deprecated
|
23
23
|
*/
|
24
|
-
export declare
|
24
|
+
export declare const EditFullPage: React.ForwardRefExoticComponent<EditFullPageProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -43,7 +43,7 @@ const componentName = 'EditFullPage';
|
|
43
43
|
* See usage guidance for further details.
|
44
44
|
* @deprecated
|
45
45
|
*/
|
46
|
-
|
46
|
+
const EditFullPage = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
47
47
|
let {
|
48
48
|
// The component props, in alphabetical order (for consistency).
|
49
49
|
|
@@ -71,22 +71,21 @@ exports.EditFullPage = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
71
71
|
});
|
72
72
|
|
73
73
|
/**@ts-ignore*/
|
74
|
-
|
74
|
+
EditFullPage.deprecated = {
|
75
75
|
level: 'warn',
|
76
76
|
details: `This component is deprecated and will be removed in the next major version.`
|
77
77
|
};
|
78
78
|
|
79
79
|
// Return a placeholder if not released and not enabled by feature flag
|
80
|
-
exports.EditFullPage = settings.pkg.checkComponentEnabled(exports.EditFullPage, componentName);
|
81
80
|
|
82
81
|
// The display name of the component, used by React. Note that displayName
|
83
82
|
// is used in preference to relying on function.name.
|
84
|
-
|
83
|
+
EditFullPage.displayName = componentName;
|
85
84
|
|
86
85
|
// The types and DocGen commentary for the component props,
|
87
86
|
// in alphabetical order (for consistency).
|
88
87
|
// See https://www.npmjs.com/package/prop-types#usage.
|
89
|
-
|
88
|
+
EditFullPage.propTypes = {
|
90
89
|
/**
|
91
90
|
* Provide the contents of the EditFullPage.
|
92
91
|
*/
|
@@ -98,3 +97,5 @@ exports.EditFullPage.propTypes = {
|
|
98
97
|
|
99
98
|
/* TODO: add types and DocGen for all props. */
|
100
99
|
};
|
100
|
+
|
101
|
+
exports.EditFullPage = EditFullPage;
|
@@ -94,7 +94,7 @@ export interface EditInplaceProps extends PropsWithChildren {
|
|
94
94
|
*/
|
95
95
|
placeholder?: string;
|
96
96
|
}
|
97
|
-
export declare
|
97
|
+
export declare const EditInPlace: React.ForwardRefExoticComponent<EditInplaceProps & React.RefAttributes<HTMLDivElement>>;
|
98
98
|
export declare const deprecatedProps: {
|
99
99
|
/**
|
100
100
|
* **Deprecated**
|
@@ -21,7 +21,7 @@ const componentName = 'EditInPlace';
|
|
21
21
|
const blockClass = `${settings.pkg.prefix}--edit-in-place`;
|
22
22
|
const defaults = {
|
23
23
|
tooltipAlignment: 'top'};
|
24
|
-
|
24
|
+
const EditInPlace = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
25
25
|
let {
|
26
26
|
cancelLabel,
|
27
27
|
editAlwaysVisible,
|
@@ -212,8 +212,7 @@ exports.EditInPlace = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
212
212
|
className: `${blockClass}__warning-text`
|
213
213
|
}, invalidText ?? deprecated_invalidLabel));
|
214
214
|
});
|
215
|
-
|
216
|
-
exports.EditInPlace.displayName = componentName;
|
215
|
+
EditInPlace.displayName = componentName;
|
217
216
|
const deprecatedProps = {
|
218
217
|
/**
|
219
218
|
* **Deprecated**
|
@@ -222,7 +221,7 @@ const deprecatedProps = {
|
|
222
221
|
invalidText: index.default.string
|
223
222
|
};
|
224
223
|
const alignPropType = index.default.oneOf(['top', 'top-left', 'top-right', 'bottom', 'bottom-left', 'bottom-right', 'left', 'right']);
|
225
|
-
|
224
|
+
EditInPlace.propTypes = {
|
226
225
|
/**
|
227
226
|
* label for cancel button
|
228
227
|
*/
|
@@ -314,4 +313,5 @@ exports.EditInPlace.propTypes = {
|
|
314
313
|
...deprecatedProps
|
315
314
|
};
|
316
315
|
|
316
|
+
exports.EditInPlace = EditInPlace;
|
317
317
|
exports.deprecatedProps = deprecatedProps;
|
@@ -93,4 +93,4 @@ export interface EditSidePanelProps {
|
|
93
93
|
* Use with medium complexity edits if the user needs page context.
|
94
94
|
* @deprecated
|
95
95
|
*/
|
96
|
-
export declare
|
96
|
+
export declare const EditSidePanel: React.ForwardRefExoticComponent<EditSidePanelProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -29,7 +29,7 @@ const componentName = 'EditSidePanel';
|
|
29
29
|
* Use with medium complexity edits if the user needs page context.
|
30
30
|
* @deprecated
|
31
31
|
*/
|
32
|
-
|
32
|
+
const EditSidePanel = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
33
33
|
let {
|
34
34
|
// The component props, in alphabetical order (for consistency).
|
35
35
|
|
@@ -98,22 +98,21 @@ exports.EditSidePanel = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
98
98
|
});
|
99
99
|
|
100
100
|
/**@ts-ignore*/
|
101
|
-
|
101
|
+
EditSidePanel.deprecated = {
|
102
102
|
level: 'warn',
|
103
103
|
details: `This component is deprecated and will be removed in the next major version.`
|
104
104
|
};
|
105
105
|
|
106
106
|
// Return a placeholder if not released and not enabled by feature flag
|
107
|
-
exports.EditSidePanel = settings.pkg.checkComponentEnabled(exports.EditSidePanel, componentName);
|
108
107
|
|
109
108
|
// The display name of the component, used by React. Note that displayName
|
110
109
|
// is used in preference to relying on function.name.
|
111
|
-
|
110
|
+
EditSidePanel.displayName = componentName;
|
112
111
|
|
113
112
|
// The types and DocGen commentary for the component props,
|
114
113
|
// in alphabetical order (for consistency).
|
115
114
|
// See https://www.npmjs.com/package/prop-types#usage.
|
116
|
-
|
115
|
+
EditSidePanel.propTypes = {
|
117
116
|
/**
|
118
117
|
* Sets the body content of the create side panel
|
119
118
|
*/
|
@@ -199,3 +198,5 @@ exports.EditSidePanel.propTypes = {
|
|
199
198
|
/**@ts-ignore*/
|
200
199
|
title: index.default.node.isRequired
|
201
200
|
};
|
201
|
+
|
202
|
+
exports.EditSidePanel = EditSidePanel;
|
@@ -85,5 +85,5 @@ interface EditTearsheetProps extends PropsWithChildren {
|
|
85
85
|
* Use Tearsheet with medium to complex edits. See usage guidance for further information.
|
86
86
|
* @deprecated
|
87
87
|
*/
|
88
|
-
export declare
|
88
|
+
export declare const EditTearsheet: React.ForwardRefExoticComponent<EditTearsheetProps & React.RefAttributes<HTMLDivElement>>;
|
89
89
|
export {};
|
@@ -43,7 +43,7 @@ const defaults = {
|
|
43
43
|
* Use Tearsheet with medium to complex edits. See usage guidance for further information.
|
44
44
|
* @deprecated
|
45
45
|
*/
|
46
|
-
|
46
|
+
const EditTearsheet = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
47
47
|
let {
|
48
48
|
// The component props, in alphabetical order (for consistency).
|
49
49
|
cancelButtonText,
|
@@ -142,21 +142,20 @@ exports.EditTearsheet = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
142
142
|
});
|
143
143
|
|
144
144
|
/**@ts-ignore*/
|
145
|
-
|
145
|
+
EditTearsheet.deprecated = {
|
146
146
|
level: 'warn',
|
147
147
|
details: `This component is deprecated and will be removed in the next major version.`
|
148
148
|
};
|
149
149
|
|
150
150
|
// Return a placeholder if not released and not enabled by feature flag
|
151
|
-
exports.EditTearsheet = settings.pkg.checkComponentEnabled(exports.EditTearsheet, componentName);
|
152
151
|
|
153
152
|
// The display name of the component, used by React. Note that displayName
|
154
153
|
// is used in preference to relying on function.name.
|
155
|
-
|
154
|
+
EditTearsheet.displayName = componentName;
|
156
155
|
|
157
156
|
// Note that the descriptions here should be kept in sync with those for the
|
158
157
|
// corresponding props for TearsheetNarrow and TearsheetShell components.
|
159
|
-
|
158
|
+
EditTearsheet.propTypes = {
|
160
159
|
/**
|
161
160
|
* The cancel button text
|
162
161
|
*/
|
@@ -225,5 +224,6 @@ exports.EditTearsheet.propTypes = {
|
|
225
224
|
verticalPosition: index.default.oneOf(['normal', 'lower'])
|
226
225
|
};
|
227
226
|
|
227
|
+
exports.EditTearsheet = EditTearsheet;
|
228
228
|
exports.FormContext = FormContext;
|
229
229
|
exports.FormNumberContext = FormNumberContext;
|
@@ -43,5 +43,5 @@ type EditTearsheetFormFieldsetTypes = {
|
|
43
43
|
fieldsetLegendId: React.ReactNode;
|
44
44
|
};
|
45
45
|
type EditTearsheetFormProps = EditTearsheetFormBaseProps & EditTearsheetFormFieldsetTypes;
|
46
|
-
export declare
|
46
|
+
export declare const EditTearsheetForm: React.ForwardRefExoticComponent<EditTearsheetFormProps & React.RefAttributes<HTMLDivElement>>;
|
47
47
|
export {};
|
@@ -24,7 +24,7 @@ const blockClass = `${settings.pkg.prefix}--tearsheet-edit__form`;
|
|
24
24
|
const defaults = {
|
25
25
|
hasFieldset: true
|
26
26
|
};
|
27
|
-
|
27
|
+
const EditTearsheetForm = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
28
28
|
let {
|
29
29
|
// The component props, in alphabetical order (for consistency).
|
30
30
|
|
@@ -73,8 +73,8 @@ exports.EditTearsheetForm = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
73
73
|
});
|
74
74
|
|
75
75
|
// Return a placeholder if not released and not enabled by feature flag
|
76
|
-
|
77
|
-
|
76
|
+
|
77
|
+
EditTearsheetForm.propTypes = {
|
78
78
|
/**
|
79
79
|
* Content that shows in the tearsheet form
|
80
80
|
*/
|
@@ -116,3 +116,5 @@ exports.EditTearsheetForm.propTypes = {
|
|
116
116
|
*/
|
117
117
|
title: index.default.node.isRequired
|
118
118
|
};
|
119
|
+
|
120
|
+
exports.EditTearsheetForm = EditTearsheetForm;
|
@@ -20,4 +20,4 @@ export interface EditTearsheetNarrowProps {
|
|
20
20
|
* Use a narrow tearsheet as an alternative to a modal when there is scrolling. See usage guidance for further information.
|
21
21
|
* @deprecated
|
22
22
|
*/
|
23
|
-
export declare
|
23
|
+
export declare const EditTearsheetNarrow: React.ForwardRefExoticComponent<EditTearsheetNarrowProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -42,7 +42,7 @@ const componentName = 'EditTearsheetNarrow';
|
|
42
42
|
* Use a narrow tearsheet as an alternative to a modal when there is scrolling. See usage guidance for further information.
|
43
43
|
* @deprecated
|
44
44
|
*/
|
45
|
-
|
45
|
+
const EditTearsheetNarrow = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
46
46
|
let {
|
47
47
|
// The component props, in alphabetical order (for consistency).
|
48
48
|
|
@@ -69,22 +69,19 @@ exports.EditTearsheetNarrow = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
69
69
|
});
|
70
70
|
|
71
71
|
/**@ts-ignore*/
|
72
|
-
|
72
|
+
EditTearsheetNarrow.deprecated = {
|
73
73
|
level: 'warn',
|
74
74
|
details: `This component is deprecated and will be removed in the next major version.`
|
75
75
|
};
|
76
76
|
|
77
|
-
// Return a placeholder if not released and not enabled by feature flag
|
78
|
-
exports.EditTearsheetNarrow = settings.pkg.checkComponentEnabled(exports.EditTearsheetNarrow, componentName);
|
79
|
-
|
80
77
|
// The display name of the component, used by React. Note that displayName
|
81
78
|
// is used in preference to relying on function.name.
|
82
|
-
|
79
|
+
EditTearsheetNarrow.displayName = componentName;
|
83
80
|
|
84
81
|
// The types and DocGen commentary for the component props,
|
85
82
|
// in alphabetical order (for consistency).
|
86
83
|
// See https://www.npmjs.com/package/prop-types#usage.
|
87
|
-
|
84
|
+
EditTearsheetNarrow.propTypes = {
|
88
85
|
/**
|
89
86
|
* Provide the contents of the EditTearsheetNarrow.
|
90
87
|
*/
|
@@ -96,3 +93,5 @@ exports.EditTearsheetNarrow.propTypes = {
|
|
96
93
|
|
97
94
|
/* TODO: add types and DocGen for all props. */
|
98
95
|
};
|
96
|
+
|
97
|
+
exports.EditTearsheetNarrow = EditTearsheetNarrow;
|
@@ -101,5 +101,5 @@ export interface EditUpdateCardsProps {
|
|
101
101
|
(ex. configuration details), account plan, etc. Editable cards allow a user to edit something within context.
|
102
102
|
@deprecated
|
103
103
|
*/
|
104
|
-
export declare
|
104
|
+
export declare const EditUpdateCards: React.ForwardRefExoticComponent<EditUpdateCardsProps & React.RefAttributes<HTMLDivElement>>;
|
105
105
|
export {};
|
@@ -45,7 +45,7 @@ const componentName = 'EditUpdateCards';
|
|
45
45
|
(ex. configuration details), account plan, etc. Editable cards allow a user to edit something within context.
|
46
46
|
@deprecated
|
47
47
|
*/
|
48
|
-
|
48
|
+
const EditUpdateCards = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
49
49
|
let {
|
50
50
|
// The component props, in alphabetical order (for consistency).
|
51
51
|
actionIcons,
|
@@ -105,22 +105,21 @@ exports.EditUpdateCards = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
105
105
|
});
|
106
106
|
|
107
107
|
/**@ts-ignore*/
|
108
|
-
|
108
|
+
EditUpdateCards.deprecated = {
|
109
109
|
level: 'warn',
|
110
110
|
details: `This component is deprecated and will be removed in the next major version.`
|
111
111
|
};
|
112
112
|
|
113
113
|
// Return a placeholder if not released and not enabled by feature flag
|
114
|
-
exports.EditUpdateCards = settings.pkg.checkComponentEnabled(exports.EditUpdateCards, componentName);
|
115
114
|
|
116
115
|
// The display name of the component, used by React. Note that displayName
|
117
116
|
// is used in preference to relying on function.name.
|
118
|
-
|
117
|
+
EditUpdateCards.displayName = componentName;
|
119
118
|
|
120
119
|
// The types and DocGen commentary for the component props,
|
121
120
|
// in alphabetical order (for consistency).
|
122
121
|
// See https://www.npmjs.com/package/prop-types#usage.
|
123
|
-
|
122
|
+
EditUpdateCards.propTypes = {
|
124
123
|
/**
|
125
124
|
* 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.
|
126
125
|
*/
|
@@ -223,3 +222,5 @@ exports.EditUpdateCards.propTypes = {
|
|
223
222
|
titleSize: index.default.oneOf(['default', 'large'])
|
224
223
|
/* TODO: add types and DocGen for all props. */
|
225
224
|
};
|
225
|
+
|
226
|
+
exports.EditUpdateCards = EditUpdateCards;
|
@@ -76,5 +76,5 @@ export type EmptyStatePresetProps = Omit<EmptyStateProps, 'illustration'>;
|
|
76
76
|
/**
|
77
77
|
* The `EmptyState` component follows the Carbon guidelines for empty states with some added specifications around illustration usage. For additional usage guidelines and documentation please refer to the links above.
|
78
78
|
*/
|
79
|
-
export declare
|
79
|
+
export declare const EmptyState: React.ForwardRefExoticComponent<EmptyStateProps & React.RefAttributes<HTMLDivElement>>;
|
80
80
|
export {};
|
@@ -33,7 +33,7 @@ const defaults = {
|
|
33
33
|
/**
|
34
34
|
* The `EmptyState` component follows the Carbon guidelines for empty states with some added specifications around illustration usage. For additional usage guidelines and documentation please refer to the links above.
|
35
35
|
*/
|
36
|
-
|
36
|
+
const EmptyState = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
37
37
|
let {
|
38
38
|
v2 = false,
|
39
39
|
...props
|
@@ -75,8 +75,8 @@ exports.EmptyState = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
75
75
|
});
|
76
76
|
|
77
77
|
// Return a placeholder if not released and not enabled by feature flag
|
78
|
-
|
79
|
-
|
78
|
+
|
79
|
+
EmptyState.propTypes = {
|
80
80
|
/**
|
81
81
|
* Empty state action button
|
82
82
|
*/
|
@@ -134,6 +134,7 @@ exports.EmptyState.propTypes = {
|
|
134
134
|
*/
|
135
135
|
v2: index.default.bool
|
136
136
|
};
|
137
|
-
|
137
|
+
EmptyState.displayName = componentName;
|
138
138
|
|
139
|
+
exports.EmptyState = EmptyState;
|
139
140
|
exports.defaults = defaults;
|
@@ -64,4 +64,4 @@ export interface EmptyStateV2Props {
|
|
64
64
|
* In order to avoid breaking changes in the future `EmptyStateV2` is not actually directly importable.
|
65
65
|
* @deprecated
|
66
66
|
*/
|
67
|
-
export declare
|
67
|
+
export declare const EmptyStateV2: React.ForwardRefExoticComponent<EmptyStateV2Props & React.RefAttributes<HTMLDivElement>>;
|
@@ -25,7 +25,7 @@ const componentName = 'EmptyStateV2';
|
|
25
25
|
* @deprecated
|
26
26
|
*/
|
27
27
|
|
28
|
-
|
28
|
+
const EmptyStateV2 = /*#__PURE__*/React.forwardRef((props, ref) => {
|
29
29
|
const {
|
30
30
|
action,
|
31
31
|
className,
|
@@ -74,14 +74,14 @@ exports.EmptyStateV2 = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
74
74
|
});
|
75
75
|
|
76
76
|
/**@ts-ignore*/
|
77
|
-
|
77
|
+
EmptyStateV2.deprecated = {
|
78
78
|
level: 'warn',
|
79
79
|
details: 'For more information, please refer to the Carbon docs https://carbondesignsystem.com/patterns/empty-states-pattern/'
|
80
80
|
};
|
81
81
|
|
82
82
|
// Return a placeholder if not released and not enabled by feature flag
|
83
|
-
|
84
|
-
|
83
|
+
|
84
|
+
EmptyStateV2.propTypes = {
|
85
85
|
/**
|
86
86
|
* Props for the action button. Refer to the Carbon Components button documentation for full list of props.
|
87
87
|
*/
|
@@ -136,4 +136,6 @@ exports.EmptyStateV2.propTypes = {
|
|
136
136
|
*/
|
137
137
|
title: index.default.oneOfType([index.default.string, index.default.node]).isRequired
|
138
138
|
};
|
139
|
-
|
139
|
+
EmptyStateV2.displayName = componentName;
|
140
|
+
|
141
|
+
exports.EmptyStateV2 = EmptyStateV2;
|
@@ -18,4 +18,4 @@ export interface ErrorEmptyStateProps extends EmptyStatePresetProps {
|
|
18
18
|
/**
|
19
19
|
* The `EmptyState` component follows the Carbon guidelines for empty states with some added specifications around illustration usage. For additional usage guidelines and documentation please refer to the links above.
|
20
20
|
*/
|
21
|
-
export declare
|
21
|
+
export declare const ErrorEmptyState: React.ForwardRefExoticComponent<ErrorEmptyStateProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -24,7 +24,7 @@ const componentName = 'ErrorEmptyState';
|
|
24
24
|
/**
|
25
25
|
* The `EmptyState` component follows the Carbon guidelines for empty states with some added specifications around illustration usage. For additional usage guidelines and documentation please refer to the links above.
|
26
26
|
*/
|
27
|
-
|
27
|
+
const ErrorEmptyState = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
28
28
|
let {
|
29
29
|
// The component props, in alphabetical order (for consistency).
|
30
30
|
|
@@ -59,16 +59,15 @@ exports.ErrorEmptyState = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
59
59
|
});
|
60
60
|
|
61
61
|
// Return a placeholder if not released and not enabled by feature flag
|
62
|
-
exports.ErrorEmptyState = settings.pkg.checkComponentEnabled(exports.ErrorEmptyState, componentName);
|
63
62
|
|
64
63
|
// The display name of the component, used by React. Note that displayName
|
65
64
|
// is used in preference to relying on function.name.
|
66
|
-
|
65
|
+
ErrorEmptyState.displayName = componentName;
|
67
66
|
|
68
67
|
// The types and DocGen commentary for the component props,
|
69
68
|
// in alphabetical order (for consistency).
|
70
69
|
// See https://www.npmjs.com/package/prop-types#usage.
|
71
|
-
|
70
|
+
ErrorEmptyState.propTypes = {
|
72
71
|
/**
|
73
72
|
* Empty state action button
|
74
73
|
*/
|
@@ -122,3 +121,5 @@ exports.ErrorEmptyState.propTypes = {
|
|
122
121
|
*/
|
123
122
|
title: index.default.oneOfType([index.default.string, index.default.node]).isRequired
|
124
123
|
};
|
124
|
+
|
125
|
+
exports.ErrorEmptyState = ErrorEmptyState;
|
@@ -18,4 +18,4 @@ export interface NoDataEmptyStateProps extends EmptyStatePresetProps {
|
|
18
18
|
/**
|
19
19
|
* The `EmptyState` component follows the Carbon guidelines for empty states with some added specifications around illustration usage. For additional usage guidelines and documentation please refer to the links above.
|
20
20
|
*/
|
21
|
-
export declare
|
21
|
+
export declare const NoDataEmptyState: React.ForwardRefExoticComponent<NoDataEmptyStateProps & React.RefAttributes<HTMLDivElement>>;
|