@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
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { APIKeyModalProps } from './APIKeyModal.types';
|
3
|
-
export declare
|
3
|
+
export declare const APIKeyModal: React.FC<APIKeyModalProps>;
|
4
4
|
export declare const deprecatedProps: {
|
5
5
|
/**
|
6
6
|
* deprecated
|
@@ -29,7 +29,7 @@ const defaults = {
|
|
29
29
|
apiKeyName: '',
|
30
30
|
customSteps: []
|
31
31
|
};
|
32
|
-
|
32
|
+
const APIKeyModal = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
33
33
|
let {
|
34
34
|
// The component props, in alphabetical order (for consistency).
|
35
35
|
apiKey,
|
@@ -312,7 +312,7 @@ exports.APIKeyModal = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
312
312
|
});
|
313
313
|
|
314
314
|
// Return a placeholder if not released and not enabled by feature flag
|
315
|
-
|
315
|
+
|
316
316
|
const deprecatedProps = {
|
317
317
|
/**
|
318
318
|
* deprecated
|
@@ -325,7 +325,7 @@ const deprecatedProps = {
|
|
325
325
|
*/
|
326
326
|
generateSuccessTitle: index.default.string
|
327
327
|
};
|
328
|
-
|
328
|
+
APIKeyModal.propTypes = {
|
329
329
|
/**
|
330
330
|
* the api key that's displayed to the user when a request to create is fulfilled.
|
331
331
|
*/
|
@@ -530,6 +530,7 @@ exports.APIKeyModal.propTypes = {
|
|
530
530
|
showAPIKeyLabel: index.default.string,
|
531
531
|
...deprecatedProps
|
532
532
|
};
|
533
|
-
|
533
|
+
APIKeyModal.displayName = componentName;
|
534
534
|
|
535
|
+
exports.APIKeyModal = APIKeyModal;
|
535
536
|
exports.deprecatedProps = deprecatedProps;
|
@@ -70,4 +70,4 @@ export interface AboutModalProps {
|
|
70
70
|
* should be immediately apparent to the user, with a clear and obvious path
|
71
71
|
* to completion.
|
72
72
|
*/
|
73
|
-
export declare
|
73
|
+
export declare const AboutModal: React.ForwardRefExoticComponent<AboutModalProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -30,7 +30,7 @@ const componentName = 'AboutModal';
|
|
30
30
|
* should be immediately apparent to the user, with a clear and obvious path
|
31
31
|
* to completion.
|
32
32
|
*/
|
33
|
-
|
33
|
+
const AboutModal = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
34
34
|
let {
|
35
35
|
additionalInfo,
|
36
36
|
className,
|
@@ -112,13 +112,12 @@ exports.AboutModal = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
112
112
|
});
|
113
113
|
|
114
114
|
// Return a placeholder if not released and not enabled by feature flag
|
115
|
-
|
116
|
-
exports.AboutModal.displayName = componentName;
|
115
|
+
AboutModal.displayName = componentName;
|
117
116
|
|
118
117
|
// The types and DocGen commentary for the component props,
|
119
118
|
// in alphabetical order (for consistency).
|
120
119
|
// See https://www.npmjs.com/package/prop-types#usage.
|
121
|
-
|
120
|
+
AboutModal.propTypes = {
|
122
121
|
/**
|
123
122
|
* Provide additional detail for the modal footer, such as logos of
|
124
123
|
* technologies used in the product, legally required for some products
|
@@ -176,3 +175,5 @@ exports.AboutModal.propTypes = {
|
|
176
175
|
*/
|
177
176
|
version: index.default.string.isRequired
|
178
177
|
};
|
178
|
+
|
179
|
+
exports.AboutModal = AboutModal;
|
@@ -61,5 +61,5 @@ interface ActionBarProps extends PropsWithChildren {
|
|
61
61
|
/**
|
62
62
|
* The ActionBar is used internally by the PageHeader to wrap ActionBarItems.
|
63
63
|
*/
|
64
|
-
export declare
|
64
|
+
export declare const ActionBar: React.ForwardRefExoticComponent<ActionBarProps & React.RefAttributes<HTMLDivElement>>;
|
65
65
|
export {};
|
@@ -32,7 +32,7 @@ const defaults = {
|
|
32
32
|
/**
|
33
33
|
* The ActionBar is used internally by the PageHeader to wrap ActionBarItems.
|
34
34
|
*/
|
35
|
-
|
35
|
+
const ActionBar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
36
36
|
let {
|
37
37
|
// The component props, in alphabetical order (for consistency).
|
38
38
|
|
@@ -102,9 +102,8 @@ exports.ActionBar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
102
102
|
key: `overflow-menu-${internalId.current}`
|
103
103
|
})));
|
104
104
|
});
|
105
|
-
|
106
|
-
|
107
|
-
exports.ActionBar.propTypes = {
|
105
|
+
ActionBar.displayName = componentName;
|
106
|
+
ActionBar.propTypes = {
|
108
107
|
/**
|
109
108
|
* Specifies the action bar items. Each item is specified as an object
|
110
109
|
* with required fields: key for array rendering, renderIcon, iconDescription and
|
@@ -170,3 +169,5 @@ exports.ActionBar.propTypes = {
|
|
170
169
|
*/
|
171
170
|
rightAlign: index.default.bool
|
172
171
|
};
|
172
|
+
|
173
|
+
exports.ActionBar = ActionBar;
|
@@ -35,5 +35,5 @@ interface ActionBarItemProps extends PropsWithChildren {
|
|
35
35
|
/**
|
36
36
|
* The ActionBarItem is used in the page header to populate the action bar
|
37
37
|
*/
|
38
|
-
export declare
|
38
|
+
export declare const ActionBarItem: React.ForwardRefExoticComponent<ActionBarItemProps & React.RefAttributes<HTMLDivElement>>;
|
39
39
|
export {};
|
@@ -22,7 +22,7 @@ const blockClass = `${settings.pkg.prefix}--action-bar-item`;
|
|
22
22
|
/**
|
23
23
|
* The ActionBarItem is used in the page header to populate the action bar
|
24
24
|
*/
|
25
|
-
|
25
|
+
const ActionBarItem = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
26
26
|
let {
|
27
27
|
label,
|
28
28
|
className,
|
@@ -42,7 +42,6 @@ exports.ActionBarItem = /*#__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.ActionBarItem = settings.pkg.checkComponentEnabled(exports.ActionBarItem, componentName);
|
46
45
|
|
47
46
|
// Props the user cannot change
|
48
47
|
const reservedProps = ['kind', 'size', 'align', 'type'];
|
@@ -55,8 +54,8 @@ const propTypes = {
|
|
55
54
|
reservedProps.forEach(prop => {
|
56
55
|
delete propTypes[prop];
|
57
56
|
});
|
58
|
-
|
59
|
-
|
57
|
+
ActionBarItem.displayName = componentName;
|
58
|
+
ActionBarItem.propTypes = {
|
60
59
|
/**
|
61
60
|
* The ...propTypes are copies of those from Button minus the props reserved for use by this component
|
62
61
|
*/
|
@@ -99,3 +98,5 @@ exports.ActionBarItem.propTypes = {
|
|
99
98
|
*/
|
100
99
|
tabIndex: index.default.number
|
101
100
|
};
|
101
|
+
|
102
|
+
exports.ActionBarItem = ActionBarItem;
|
@@ -31,4 +31,4 @@ export interface BigNumberProps {
|
|
31
31
|
* of a button as well as tool tip functionality.
|
32
32
|
* The default locale is English (`en-US`) if one is not provided or if the provided one is not supported.
|
33
33
|
*/
|
34
|
-
export declare
|
34
|
+
export declare const BigNumber: React.ForwardRefExoticComponent<BigNumberProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -35,7 +35,7 @@ const componentName = 'BigNumber';
|
|
35
35
|
* of a button as well as tool tip functionality.
|
36
36
|
* The default locale is English (`en-US`) if one is not provided or if the provided one is not supported.
|
37
37
|
*/
|
38
|
-
|
38
|
+
const BigNumber = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
39
39
|
let {
|
40
40
|
// The component props, in alphabetical order (for consistency).
|
41
41
|
className,
|
@@ -104,17 +104,14 @@ exports.BigNumber = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
104
104
|
}, iconButton)));
|
105
105
|
});
|
106
106
|
|
107
|
-
// Return a placeholder if not released and not enabled by feature flag
|
108
|
-
exports.BigNumber = settings.pkg.checkComponentEnabled(exports.BigNumber, componentName);
|
109
|
-
|
110
107
|
// The display name of the component, used by React. Note that displayName
|
111
108
|
// is used in preference to relying on function.name.
|
112
|
-
|
109
|
+
BigNumber.displayName = componentName;
|
113
110
|
|
114
111
|
// The types and DocGen commentary for the component props,
|
115
112
|
// in alphabetical order (for consistency).
|
116
113
|
// See https://www.npmjs.com/package/prop-types#usage.
|
117
|
-
|
114
|
+
BigNumber.propTypes = {
|
118
115
|
/**
|
119
116
|
* Provide an optional class to be applied to the containing node.
|
120
117
|
*/
|
@@ -178,3 +175,5 @@ exports.BigNumber.propTypes = {
|
|
178
175
|
*/
|
179
176
|
value: index.default.number
|
180
177
|
};
|
178
|
+
|
179
|
+
exports.BigNumber = BigNumber;
|
@@ -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 BigNumber = require('./BigNumber.js');
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
exports.BigNumber = BigNumber.BigNumber;
|
@@ -22,4 +22,4 @@ the page. It should not be used on a page if it is the secondary focus of the
|
|
22
22
|
page as that will distract the user.
|
23
23
|
|
24
24
|
*/
|
25
|
-
export declare
|
25
|
+
export declare const Cascade: React.ForwardRefExoticComponent<CascadeProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -34,7 +34,7 @@ the page. It should not be used on a page if it is the secondary focus of the
|
|
34
34
|
page as that will distract the user.
|
35
35
|
|
36
36
|
*/
|
37
|
-
|
37
|
+
const Cascade = /*#__PURE__*/React.forwardRef((props, ref) => {
|
38
38
|
const {
|
39
39
|
children,
|
40
40
|
className,
|
@@ -79,9 +79,8 @@ exports.Cascade = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
79
79
|
}
|
80
80
|
return /*#__PURE__*/React.createElement("div", childProps, getModifiedChildren());
|
81
81
|
});
|
82
|
-
|
83
|
-
|
84
|
-
exports.Cascade.propTypes = {
|
82
|
+
Cascade.displayName = componentName;
|
83
|
+
Cascade.propTypes = {
|
85
84
|
/**
|
86
85
|
* Main content that is shown.
|
87
86
|
*/
|
@@ -97,3 +96,5 @@ exports.Cascade.propTypes = {
|
|
97
96
|
*/
|
98
97
|
grid: index.default.bool
|
99
98
|
};
|
99
|
+
|
100
|
+
exports.Cascade = Cascade;
|
@@ -101,5 +101,5 @@ export interface ChecklistProps {
|
|
101
101
|
* an icon that defines the item's state as "not started", "in progress",
|
102
102
|
* and "complete".
|
103
103
|
*/
|
104
|
-
export declare
|
104
|
+
export declare const Checklist: React.ForwardRefExoticComponent<ChecklistProps & React.RefAttributes<HTMLElement>>;
|
105
105
|
export {};
|
@@ -54,7 +54,7 @@ const defaults = {
|
|
54
54
|
* an icon that defines the item's state as "not started", "in progress",
|
55
55
|
* and "complete".
|
56
56
|
*/
|
57
|
-
|
57
|
+
const Checklist = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
58
58
|
let {
|
59
59
|
chartValue,
|
60
60
|
chartLabel,
|
@@ -184,13 +184,12 @@ exports.Checklist = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
184
184
|
});
|
185
185
|
|
186
186
|
// Return a placeholder if not released and not enabled by feature flag
|
187
|
-
|
188
|
-
exports.Checklist.displayName = componentName;
|
187
|
+
Checklist.displayName = componentName;
|
189
188
|
|
190
189
|
// The types and DocGen commentary for the component props,
|
191
190
|
// in alphabetical order (for consistency).
|
192
191
|
// See https://www.npmjs.com/package/prop-types#usage.
|
193
|
-
|
192
|
+
Checklist.propTypes = {
|
194
193
|
/**
|
195
194
|
* Define both `chartLabel` and `chartValue` to show the chart and its label together.
|
196
195
|
*/
|
@@ -271,3 +270,5 @@ exports.Checklist.propTypes = {
|
|
271
270
|
*/
|
272
271
|
viewAllLabel: index.default.string
|
273
272
|
};
|
273
|
+
|
274
|
+
exports.Checklist = Checklist;
|
@@ -88,7 +88,7 @@ export interface CoachmarkProps {
|
|
88
88
|
* within the UI that may not be intuitive but are important for the
|
89
89
|
* user to gain understanding of the product's main value and discover new use cases.
|
90
90
|
*/
|
91
|
-
export declare
|
91
|
+
export declare const Coachmark: React.ForwardRefExoticComponent<CoachmarkProps & React.RefAttributes<HTMLElement>>;
|
92
92
|
export declare const deprecatedProps: {
|
93
93
|
/**
|
94
94
|
* **Deprecated**
|
@@ -40,7 +40,7 @@ const defaults = {
|
|
40
40
|
* user to gain understanding of the product's main value and discover new use cases.
|
41
41
|
*/
|
42
42
|
|
43
|
-
|
43
|
+
const Coachmark = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
44
44
|
let {
|
45
45
|
align = defaults.align,
|
46
46
|
autoAlign,
|
@@ -218,11 +218,10 @@ const overlayRefType = typeof HTMLElement === 'undefined' ? index.default.object
|
|
218
218
|
index.default.instanceOf(HTMLElement);
|
219
219
|
|
220
220
|
// Return a placeholder if not released and not enabled by feature flag
|
221
|
-
exports.Coachmark = settings.pkg.checkComponentEnabled(exports.Coachmark, componentName);
|
222
221
|
|
223
222
|
// The display name of the component, used by React. Note that displayName
|
224
223
|
// is used in preference to relying on function.name.
|
225
|
-
|
224
|
+
Coachmark.displayName = componentName;
|
226
225
|
const deprecatedProps = {
|
227
226
|
/**
|
228
227
|
* **Deprecated**
|
@@ -264,7 +263,7 @@ const deprecatedProps = {
|
|
264
263
|
// The types and DocGen commentary for the component props,
|
265
264
|
// in alphabetical order (for consistency).
|
266
265
|
// See https://www.npmjs.com/package/prop-types#usage.
|
267
|
-
|
266
|
+
Coachmark.propTypes = {
|
268
267
|
/**
|
269
268
|
* Where to render the Coachmark relative to its target.
|
270
269
|
* Applies only to Floating and Tooltip Coachmarks.
|
@@ -309,4 +308,5 @@ exports.Coachmark.propTypes = {
|
|
309
308
|
...deprecatedProps
|
310
309
|
};
|
311
310
|
|
311
|
+
exports.Coachmark = Coachmark;
|
312
312
|
exports.deprecatedProps = deprecatedProps;
|
@@ -36,5 +36,5 @@ interface CoachmarkDragbarProps {
|
|
36
36
|
* DO NOT USE. This component is for the exclusive use
|
37
37
|
* of other Onboarding components.
|
38
38
|
*/
|
39
|
-
export declare
|
39
|
+
export declare const CoachmarkDragbar: React.ForwardRefExoticComponent<Omit<CoachmarkDragbarProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
40
40
|
export {};
|
@@ -36,7 +36,7 @@ const defaults = {
|
|
36
36
|
* DO NOT USE. This component is for the exclusive use
|
37
37
|
* of other Onboarding components.
|
38
38
|
*/
|
39
|
-
|
39
|
+
const CoachmarkDragbar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
40
40
|
let {
|
41
41
|
a11yKeyboardHandler,
|
42
42
|
onClose = defaults.onClose,
|
@@ -98,16 +98,15 @@ exports.CoachmarkDragbar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
98
98
|
});
|
99
99
|
|
100
100
|
// Return a placeholder if not released and not enabled by feature flag
|
101
|
-
exports.CoachmarkDragbar = settings.pkg.checkComponentEnabled(exports.CoachmarkDragbar, componentName);
|
102
101
|
|
103
102
|
// The display name of the component, used by React. Note that displayName
|
104
103
|
// is used in preference to relying on function.name.
|
105
|
-
|
104
|
+
CoachmarkDragbar.displayName = componentName;
|
106
105
|
|
107
106
|
// The types and DocGen commentary for the component props,
|
108
107
|
// in alphabetical order (for consistency).
|
109
108
|
// See https://www.npmjs.com/package/prop-types#usage.
|
110
|
-
|
109
|
+
CoachmarkDragbar.propTypes = {
|
111
110
|
/**
|
112
111
|
* Handler to manage keyboard interactions with the dragbar.
|
113
112
|
*/
|
@@ -130,3 +129,5 @@ exports.CoachmarkDragbar.propTypes = {
|
|
130
129
|
*/
|
131
130
|
theme: index.default.oneOf(['light', 'dark'])
|
132
131
|
};
|
132
|
+
|
133
|
+
exports.CoachmarkDragbar = CoachmarkDragbar;
|
@@ -23,5 +23,5 @@ interface CoachmarkHeaderProps {
|
|
23
23
|
* DO NOT USE. This component is for the exclusive use
|
24
24
|
* of other Onboarding components.
|
25
25
|
*/
|
26
|
-
export declare
|
26
|
+
export declare const CoachmarkHeader: React.ForwardRefExoticComponent<CoachmarkHeaderProps & React.RefAttributes<HTMLElement>>;
|
27
27
|
export {};
|
@@ -30,7 +30,7 @@ const defaults = {
|
|
30
30
|
* DO NOT USE. This component is for the exclusive use
|
31
31
|
* of other Onboarding components.
|
32
32
|
*/
|
33
|
-
|
33
|
+
const CoachmarkHeader = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
34
34
|
let {
|
35
35
|
onClose = defaults.onClose,
|
36
36
|
showCloseButton = defaults.showCloseButton,
|
@@ -56,16 +56,15 @@ exports.CoachmarkHeader = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
56
56
|
});
|
57
57
|
|
58
58
|
// Return a placeholder if not released and not enabled by feature flag
|
59
|
-
exports.CoachmarkHeader = settings.pkg.checkComponentEnabled(exports.CoachmarkHeader, componentName);
|
60
59
|
|
61
60
|
// The display name of the component, used by React. Note that displayName
|
62
61
|
// is used in preference to relying on function.name.
|
63
|
-
|
62
|
+
CoachmarkHeader.displayName = componentName;
|
64
63
|
|
65
64
|
// The types and DocGen commentary for the component props,
|
66
65
|
// in alphabetical order (for consistency).
|
67
66
|
// See https://www.npmjs.com/package/prop-types#usage.
|
68
|
-
|
67
|
+
CoachmarkHeader.propTypes = {
|
69
68
|
/**
|
70
69
|
* Tooltip text and aria label for the Close button icon.
|
71
70
|
*/
|
@@ -83,3 +82,5 @@ exports.CoachmarkHeader.propTypes = {
|
|
83
82
|
*/
|
84
83
|
theme: index.default.oneOf(['light', 'dark'])
|
85
84
|
};
|
85
|
+
|
86
|
+
exports.CoachmarkHeader = CoachmarkHeader;
|
@@ -42,5 +42,5 @@ interface CoachmarkOverlayProps {
|
|
42
42
|
* DO NOT USE. This component is for the exclusive use
|
43
43
|
* of other Onboarding components.
|
44
44
|
*/
|
45
|
-
export declare
|
45
|
+
export declare const CoachmarkOverlay: React.ForwardRefExoticComponent<Omit<CoachmarkOverlayProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
46
46
|
export {};
|
@@ -35,7 +35,7 @@ const defaults = {
|
|
35
35
|
* DO NOT USE. This component is for the exclusive use
|
36
36
|
* of other Onboarding components.
|
37
37
|
*/
|
38
|
-
|
38
|
+
const CoachmarkOverlay = /*#__PURE__*/React.forwardRef((props, ref) => {
|
39
39
|
const {
|
40
40
|
children,
|
41
41
|
onClose,
|
@@ -200,22 +200,21 @@ const useWindowDimensions = () => {
|
|
200
200
|
};
|
201
201
|
|
202
202
|
/**@ts-ignore*/
|
203
|
-
|
203
|
+
CoachmarkOverlay.deprecated = {
|
204
204
|
level: 'warn',
|
205
205
|
details: `${componentName} is deprecated.`
|
206
206
|
};
|
207
207
|
|
208
208
|
// Return a placeholder if not released and not enabled by feature flag
|
209
|
-
exports.CoachmarkOverlay = settings.pkg.checkComponentEnabled(exports.CoachmarkOverlay, componentName);
|
210
209
|
|
211
210
|
// The display name of the component, used by React. Note that displayName
|
212
211
|
// is used in preference to relying on function.name.
|
213
|
-
|
212
|
+
CoachmarkOverlay.displayName = componentName;
|
214
213
|
|
215
214
|
// The types and DocGen commentary for the component props,
|
216
215
|
// in alphabetical order (for consistency).
|
217
216
|
// See https://www.npmjs.com/package/prop-types#usage.
|
218
|
-
|
217
|
+
CoachmarkOverlay.propTypes = {
|
219
218
|
/**
|
220
219
|
* The CoachmarkOverlayElements child components.
|
221
220
|
* Validation is handled in the parent Coachmark component.
|
@@ -243,3 +242,5 @@ exports.CoachmarkOverlay.propTypes = {
|
|
243
242
|
*/
|
244
243
|
theme: index.default.oneOf(['light', 'dark'])
|
245
244
|
};
|
245
|
+
|
246
|
+
exports.CoachmarkOverlay = CoachmarkOverlay;
|
@@ -27,5 +27,5 @@ interface CoachmarkTaglineProps {
|
|
27
27
|
* DO NOT USE. This component is for the exclusive use
|
28
28
|
* of other Onboarding components.
|
29
29
|
*/
|
30
|
-
export declare
|
30
|
+
export declare const CoachmarkTagline: React.ForwardRefExoticComponent<CoachmarkTaglineProps & React.RefAttributes<HTMLDivElement>>;
|
31
31
|
export {};
|
@@ -31,7 +31,7 @@ const defaults = {
|
|
31
31
|
* DO NOT USE. This component is for the exclusive use
|
32
32
|
* of other Onboarding components.
|
33
33
|
*/
|
34
|
-
|
34
|
+
const CoachmarkTagline = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
35
35
|
let {
|
36
36
|
closeIconDescription = defaults.closeIconDescription,
|
37
37
|
onClose = defaults.onClose,
|
@@ -67,16 +67,15 @@ exports.CoachmarkTagline = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
67
67
|
});
|
68
68
|
|
69
69
|
// Return a placeholder if not released and not enabled by feature flag
|
70
|
-
exports.CoachmarkTagline = settings.pkg.checkComponentEnabled(exports.CoachmarkTagline, componentName);
|
71
70
|
|
72
71
|
// The display name of the component, used by React. Note that displayName
|
73
72
|
// is used in preference to relying on function.name.
|
74
|
-
|
73
|
+
CoachmarkTagline.displayName = componentName;
|
75
74
|
|
76
75
|
// The types and DocGen commentary for the component props,
|
77
76
|
// in alphabetical order (for consistency).
|
78
77
|
// See https://www.npmjs.com/package/prop-types#usage.
|
79
|
-
|
78
|
+
CoachmarkTagline.propTypes = {
|
80
79
|
/**
|
81
80
|
* Tooltip text and aria label for the Close button icon.
|
82
81
|
*/
|
@@ -94,3 +93,5 @@ exports.CoachmarkTagline.propTypes = {
|
|
94
93
|
*/
|
95
94
|
title: index.default.string.isRequired
|
96
95
|
};
|
96
|
+
|
97
|
+
exports.CoachmarkTagline = CoachmarkTagline;
|
@@ -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 Coachmark = require('./Coachmark.js');
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
exports.Coachmark = Coachmark.Coachmark;
|
@@ -10,6 +10,10 @@
|
|
10
10
|
/**
|
11
11
|
* Reserved for future expansion, i.e. "RING".
|
12
12
|
*/
|
13
|
+
let BEACON_KIND = /*#__PURE__*/function (BEACON_KIND) {
|
14
|
+
BEACON_KIND["DEFAULT"] = "default";
|
15
|
+
return BEACON_KIND;
|
16
|
+
}({});
|
13
17
|
|
14
18
|
/**
|
15
19
|
* Describes the style and behavior of a Coachmark.
|
@@ -45,5 +49,6 @@ let COACHMARK_ALIGNMENT = /*#__PURE__*/function (COACHMARK_ALIGNMENT) {
|
|
45
49
|
return COACHMARK_ALIGNMENT;
|
46
50
|
}({});
|
47
51
|
|
52
|
+
exports.BEACON_KIND = BEACON_KIND;
|
48
53
|
exports.COACHMARK_ALIGNMENT = COACHMARK_ALIGNMENT;
|
49
54
|
exports.COACHMARK_OVERLAY_KIND = COACHMARK_OVERLAY_KIND;
|
@@ -36,4 +36,4 @@ export interface CoachmarkBeaconProps {
|
|
36
36
|
/**
|
37
37
|
* Use beacon for the target prop of a Coachmark component.
|
38
38
|
*/
|
39
|
-
export declare
|
39
|
+
export declare const CoachmarkBeacon: React.ForwardRefExoticComponent<CoachmarkBeaconProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -26,7 +26,7 @@ const defaults = {
|
|
26
26
|
/**
|
27
27
|
* Use beacon for the target prop of a Coachmark component.
|
28
28
|
*/
|
29
|
-
|
29
|
+
const CoachmarkBeacon = /*#__PURE__*/React.forwardRef((props, ref) => {
|
30
30
|
const {
|
31
31
|
label,
|
32
32
|
className,
|
@@ -54,16 +54,15 @@ exports.CoachmarkBeacon = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
54
54
|
});
|
55
55
|
|
56
56
|
// Return a placeholder if not released and not enabled by feature flag
|
57
|
-
exports.CoachmarkBeacon = settings.pkg.checkComponentEnabled(exports.CoachmarkBeacon, componentName);
|
58
57
|
|
59
58
|
// The display name of the component, used by React. Note that displayName
|
60
59
|
// is used in preference to relying on function.name.
|
61
|
-
|
60
|
+
CoachmarkBeacon.displayName = componentName;
|
62
61
|
|
63
62
|
// The types and DocGen commentary for the component props,
|
64
63
|
// in alphabetical order (for consistency).
|
65
64
|
// See https://www.npmjs.com/package/prop-types#usage.
|
66
|
-
|
65
|
+
CoachmarkBeacon.propTypes = {
|
67
66
|
/**
|
68
67
|
* button props
|
69
68
|
*/
|
@@ -91,3 +90,5 @@ exports.CoachmarkBeacon.propTypes = {
|
|
91
90
|
*/
|
92
91
|
label: index.default.string.isRequired
|
93
92
|
};
|
93
|
+
|
94
|
+
exports.CoachmarkBeacon = CoachmarkBeacon;
|
@@ -18,4 +18,4 @@ export interface CoachmarkButtonProps {
|
|
18
18
|
/**
|
19
19
|
* Use CoachmarkButton for the target prop of a Coachmark component.
|
20
20
|
*/
|
21
|
-
export declare
|
21
|
+
export declare const CoachmarkButton: React.ForwardRefExoticComponent<CoachmarkButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -46,7 +46,7 @@ const componentName = 'CoachmarkButton';
|
|
46
46
|
/**
|
47
47
|
* Use CoachmarkButton for the target prop of a Coachmark component.
|
48
48
|
*/
|
49
|
-
|
49
|
+
const CoachmarkButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
50
50
|
let {
|
51
51
|
className,
|
52
52
|
label,
|
@@ -73,22 +73,21 @@ exports.CoachmarkButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
73
73
|
});
|
74
74
|
|
75
75
|
/**@ts-ignore*/
|
76
|
-
|
76
|
+
CoachmarkButton.deprecated = {
|
77
77
|
level: 'warn',
|
78
78
|
details: `${componentName} is deprecated.`
|
79
79
|
};
|
80
80
|
|
81
81
|
// Return a placeholder if not released and not enabled by feature flag
|
82
|
-
exports.CoachmarkButton = settings.pkg.checkComponentEnabled(exports.CoachmarkButton, componentName);
|
83
82
|
|
84
83
|
// The display name of the component, used by React. Note that displayName
|
85
84
|
// is used in preference to relying on function.name.
|
86
|
-
|
85
|
+
CoachmarkButton.displayName = componentName;
|
87
86
|
|
88
87
|
// The types and DocGen commentary for the component props,
|
89
88
|
// in alphabetical order (for consistency).
|
90
89
|
// See https://www.npmjs.com/package/prop-types#usage.
|
91
|
-
|
90
|
+
CoachmarkButton.propTypes = {
|
92
91
|
/**
|
93
92
|
* Provide an optional class to be applied to the containing node.
|
94
93
|
*/
|
@@ -98,3 +97,5 @@ exports.CoachmarkButton.propTypes = {
|
|
98
97
|
*/
|
99
98
|
label: index.default.string.isRequired
|
100
99
|
};
|
100
|
+
|
101
|
+
exports.CoachmarkButton = CoachmarkButton;
|
@@ -48,4 +48,4 @@ export interface CoachmarkFixedProps {
|
|
48
48
|
* user to gain understanding of the product's main value and discover new use cases.
|
49
49
|
* This variant allows the a coachmark overlay to be displayed by interacting with the tagline.
|
50
50
|
*/
|
51
|
-
export declare
|
51
|
+
export declare const CoachmarkFixed: React.ForwardRefExoticComponent<CoachmarkFixedProps & React.RefAttributes<HTMLDivElement>>;
|