@carbon/ibm-products 2.74.0 → 2.75.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/carbon.css +349 -63
- package/css/carbon.css.map +1 -1
- package/css/index-full-carbon.css +351 -80
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css +1 -1
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +2 -17
- package/css/index-without-carbon-released-only.css.map +1 -1
- package/css/index-without-carbon-released-only.min.css +1 -1
- package/css/index-without-carbon-released-only.min.css.map +1 -1
- package/css/index-without-carbon.css +2 -17
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css +1 -1
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +204 -60
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/es/components/APIKeyModal/APIKeyModal.d.ts +1 -1
- package/es/components/APIKeyModal/APIKeyModal.js +2 -2
- package/es/components/AboutModal/AboutModal.d.ts +1 -1
- package/es/components/AboutModal/AboutModal.js +1 -2
- package/es/components/ActionBar/ActionBar.d.ts +1 -1
- package/es/components/ActionBar/ActionBar.js +1 -2
- package/es/components/ActionBar/ActionBarItem.d.ts +1 -1
- package/es/components/ActionBar/ActionBarItem.js +1 -2
- package/es/components/BigNumber/BigNumber.d.ts +1 -1
- package/es/components/BigNumber/BigNumber.js +1 -4
- package/es/components/BigNumber/index.js +8 -0
- package/es/components/Cascade/Cascade.d.ts +1 -1
- package/es/components/Cascade/Cascade.js +1 -2
- package/es/components/Checklist/Checklist.d.ts +1 -1
- package/es/components/Checklist/Checklist.js +1 -2
- package/es/components/Coachmark/Coachmark.d.ts +1 -1
- package/es/components/Coachmark/Coachmark.js +1 -2
- package/es/components/Coachmark/CoachmarkDragbar.d.ts +1 -1
- package/es/components/Coachmark/CoachmarkDragbar.js +1 -2
- package/es/components/Coachmark/CoachmarkHeader.d.ts +1 -1
- package/es/components/Coachmark/CoachmarkHeader.js +1 -2
- package/es/components/Coachmark/CoachmarkOverlay.d.ts +1 -1
- package/es/components/Coachmark/CoachmarkOverlay.js +1 -2
- package/es/components/Coachmark/CoachmarkTagline.d.ts +1 -1
- package/es/components/Coachmark/CoachmarkTagline.js +1 -2
- package/es/components/Coachmark/next/Coachmark/index.js +8 -0
- package/es/components/Coachmark/utils/enums.js +5 -1
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +1 -1
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -2
- package/es/components/CoachmarkButton/CoachmarkButton.d.ts +1 -1
- package/es/components/CoachmarkButton/CoachmarkButton.js +1 -2
- package/es/components/CoachmarkFixed/CoachmarkFixed.d.ts +1 -1
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +1 -2
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +1 -1
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +1 -4
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +1 -1
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +1 -4
- package/es/components/CoachmarkStack/CoachmarkStack.d.ts +1 -1
- package/es/components/CoachmarkStack/CoachmarkStack.js +1 -2
- package/es/components/CoachmarkStack/CoachmarkStackHome.d.ts +1 -1
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +1 -4
- package/es/components/ConditionBuilder/ConditionBuilder.d.ts +1 -1
- package/es/components/ConditionBuilder/ConditionBuilder.js +1 -3
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +6 -0
- package/es/components/ConditionBuilder/index.js +8 -0
- package/es/components/CreateFullPage/CreateFullPage.d.ts +1 -1
- package/es/components/CreateFullPage/CreateFullPage.js +1 -2
- package/es/components/CreateFullPage/CreateFullPageStep.d.ts +1 -1
- package/es/components/CreateFullPage/CreateFullPageStep.js +1 -4
- package/es/components/CreateModal/CreateModal.d.ts +1 -1
- package/es/components/CreateModal/CreateModal.js +2 -2
- package/es/components/CreateSidePanel/CreateSidePanel.d.ts +1 -1
- package/es/components/CreateSidePanel/CreateSidePanel.js +1 -2
- package/es/components/CreateTearsheet/CreateTearsheet.d.ts +1 -1
- package/es/components/CreateTearsheet/CreateTearsheet.js +1 -2
- package/es/components/CreateTearsheet/CreateTearsheetDivider.d.ts +1 -1
- package/es/components/CreateTearsheet/CreateTearsheetDivider.js +1 -5
- package/es/components/CreateTearsheet/CreateTearsheetStep.d.ts +1 -1
- package/es/components/CreateTearsheet/CreateTearsheetStep.js +1 -4
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +1 -1
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +1 -4
- package/es/components/DataSpreadsheet/DataSpreadsheet.d.ts +1 -1
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +1 -2
- package/es/components/DataSpreadsheet/index.js +8 -0
- package/es/components/Datagrid/Datagrid/Datagrid.d.ts +1 -1
- package/es/components/Datagrid/Datagrid/Datagrid.js +1 -2
- package/es/components/Decorator/index.js +8 -0
- package/es/components/DecoratorBase/utils.d.ts +1 -1
- package/es/components/DelimitedList/DelimitedList.d.ts +1 -1
- package/es/components/DelimitedList/DelimitedList.js +1 -2
- package/es/components/DelimitedList/index.js +8 -0
- package/es/components/EditFullPage/EditFullPage.d.ts +1 -1
- package/es/components/EditFullPage/EditFullPage.js +1 -2
- package/es/components/EditInPlace/EditInPlace.d.ts +1 -1
- package/es/components/EditInPlace/EditInPlace.js +1 -2
- package/es/components/EditSidePanel/EditSidePanel.d.ts +1 -1
- package/es/components/EditSidePanel/EditSidePanel.js +1 -2
- package/es/components/EditTearsheet/EditTearsheet.d.ts +1 -1
- package/es/components/EditTearsheet/EditTearsheet.js +1 -2
- package/es/components/EditTearsheet/EditTearsheetForm.d.ts +1 -1
- package/es/components/EditTearsheet/EditTearsheetForm.js +2 -2
- package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +1 -1
- package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.js +1 -4
- package/es/components/EditUpdateCards/EditUpdateCards.d.ts +1 -1
- package/es/components/EditUpdateCards/EditUpdateCards.js +1 -2
- package/es/components/EmptyStates/EmptyState.d.ts +1 -1
- package/es/components/EmptyStates/EmptyState.js +2 -2
- package/es/components/EmptyStates/EmptyStateV2.deprecated.d.ts +1 -1
- package/es/components/EmptyStates/EmptyStateV2.deprecated.js +2 -2
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +1 -1
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -2
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +1 -1
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -2
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.d.ts +1 -1
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -2
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +1 -1
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -4
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.d.ts +1 -1
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -4
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +1 -1
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -4
- package/es/components/ExportModal/ExportModal.d.ts +1 -1
- package/es/components/ExportModal/ExportModal.js +2 -2
- package/es/components/ExpressiveCard/ExpressiveCard.d.ts +1 -1
- package/es/components/ExpressiveCard/ExpressiveCard.js +2 -3
- package/es/components/FullPageError/FullPageError.d.ts +1 -1
- package/es/components/FullPageError/FullPageError.js +1 -2
- package/es/components/GetStartedCard/GetStartedCard.d.ts +1 -1
- package/es/components/GetStartedCard/GetStartedCard.js +2 -3
- package/es/components/GetStartedCard/index.js +8 -0
- package/es/components/Guidebanner/Guidebanner.d.ts +1 -1
- package/es/components/Guidebanner/Guidebanner.js +1 -2
- package/es/components/Guidebanner/GuidebannerElement.d.ts +1 -1
- package/es/components/Guidebanner/GuidebannerElement.js +1 -4
- package/es/components/Guidebanner/GuidebannerElementButton.d.ts +1 -1
- package/es/components/Guidebanner/GuidebannerElementButton.js +1 -4
- package/es/components/Guidebanner/GuidebannerElementLink.d.ts +1 -1
- package/es/components/Guidebanner/GuidebannerElementLink.js +1 -4
- package/es/components/HTTPErrors/HTTPError403/HTTPError403.d.ts +1 -1
- package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -2
- package/es/components/HTTPErrors/HTTPError404/HTTPError404.d.ts +1 -1
- package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -2
- package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.d.ts +1 -1
- package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +1 -2
- package/es/components/ImportModal/ImportModal.d.ts +1 -1
- package/es/components/ImportModal/ImportModal.js +2 -2
- package/es/components/InlineTip/InlineTip.d.ts +1 -1
- package/es/components/InlineTip/InlineTip.js +1 -2
- package/es/components/InlineTip/InlineTipButton.d.ts +1 -1
- package/es/components/InlineTip/InlineTipButton.js +1 -2
- package/es/components/InlineTip/InlineTipLink.d.ts +1 -1
- package/es/components/InlineTip/InlineTipLink.js +1 -2
- package/es/components/InterstitialScreen/InterstitialScreen.d.ts +1 -1
- package/es/components/InterstitialScreen/InterstitialScreen.js +1 -4
- package/es/components/InterstitialScreen/_story-assets/InterstitialScreenView/InterstitialScreenView.d.ts +2 -2
- package/es/components/InterstitialScreen/_story-assets/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +2 -2
- package/es/components/MultiAddSelect/MultiAddSelect.d.ts +1 -1
- package/es/components/MultiAddSelect/MultiAddSelect.js +1 -3
- package/es/components/NonLinearReading/NonLinearReading.d.ts +1 -1
- package/es/components/NonLinearReading/NonLinearReading.js +1 -2
- package/es/components/NonLinearReading/index.js +8 -0
- package/es/components/NotificationsPanel/NotificationsPanel.d.ts +1 -1
- package/es/components/NotificationsPanel/NotificationsPanel.js +1 -4
- package/es/components/OptionsTile/OptionsTile.d.ts +1 -1
- package/es/components/OptionsTile/OptionsTile.js +1 -2
- package/es/components/PageHeader/PageHeader.d.ts +1 -1
- package/es/components/PageHeader/PageHeader.js +1 -2
- package/es/components/ProductiveCard/ProductiveCard.d.ts +1 -1
- package/es/components/ProductiveCard/ProductiveCard.js +2 -3
- package/es/components/RemoveModal/RemoveModal.d.ts +1 -1
- package/es/components/RemoveModal/RemoveModal.js +2 -2
- package/es/components/Saving/Saving.d.ts +1 -1
- package/es/components/Saving/Saving.js +1 -2
- package/es/components/SearchBar/SearchBar.d.ts +1 -1
- package/es/components/SearchBar/SearchBar.js +1 -2
- package/es/components/SearchBar/index.js +8 -0
- package/es/components/SidePanel/SidePanel.d.ts +4 -1
- package/es/components/SidePanel/SidePanel.js +4 -6
- package/es/components/SingleAddSelect/SingleAddSelect.d.ts +1 -1
- package/es/components/SingleAddSelect/SingleAddSelect.js +1 -3
- package/es/components/StatusIcon/StatusIcon.d.ts +1 -1
- package/es/components/StatusIcon/StatusIcon.js +1 -2
- package/es/components/StepFlow/story-assets/SidePanel/StepSidePanel.d.ts +4 -3
- package/es/components/TagOverflow/TagOverflow.d.ts +1 -1
- package/es/components/TagOverflow/TagOverflow.js +1 -2
- package/es/components/TagSet/TagSet.d.ts +1 -1
- package/es/components/TagSet/TagSet.js +2 -3
- package/es/components/Tearsheet/Tearsheet.d.ts +1 -1
- package/es/components/Tearsheet/Tearsheet.js +1 -3
- package/es/components/Tearsheet/TearsheetNarrow.d.ts +1 -1
- package/es/components/Tearsheet/TearsheetNarrow.js +1 -3
- package/es/components/Toolbar/Toolbar.d.ts +2 -2
- package/es/components/Toolbar/Toolbar.js +1 -2
- package/es/components/Toolbar/ToolbarButton.d.ts +1 -1
- package/es/components/Toolbar/ToolbarButton.js +1 -3
- package/es/components/Toolbar/ToolbarGroup.d.ts +1 -1
- package/es/components/Toolbar/ToolbarGroup.js +1 -3
- package/es/components/TooltipTrigger/TooltipTrigger.d.ts +1 -1
- package/es/components/TooltipTrigger/TooltipTrigger.js +1 -2
- package/es/components/TruncatedList/TruncatedList.d.ts +1 -1
- package/es/components/TruncatedList/TruncatedList.js +1 -2
- package/es/components/TruncatedList/index.js +8 -0
- package/es/components/UserAvatar/UserAvatar.d.ts +1 -1
- package/es/components/UserAvatar/UserAvatar.js +1 -2
- package/es/components/UserProfileImage/UserProfileImage.d.ts +1 -1
- package/es/components/UserProfileImage/UserProfileImage.js +2 -2
- package/es/components/WebTerminal/WebTerminal.d.ts +1 -1
- package/es/components/WebTerminal/WebTerminal.js +1 -2
- package/es/components/WebTerminal/WebTerminalContentWrapper.d.ts +1 -1
- package/es/components/WebTerminal/WebTerminalContentWrapper.js +1 -4
- package/es/components/WebTerminal/hooks/index.d.ts +1 -1
- package/es/components/WebTerminal/hooks/index.js +2 -7
- package/es/components/index.d.ts +53 -43
- package/es/global/js/utils/carousel/carousel.d.ts +14 -0
- package/es/global/js/utils/carousel/index.d.ts +8 -0
- package/es/global/js/utils/carousel/swipeEvents.d.ts +7 -0
- package/es/global/js/utils/carousel/types.d.ts +37 -0
- package/es/global/js/utils/makeDraggable/makeDraggable.d.ts +20 -1
- package/es/global/js/utils/makeDraggable/makeDraggable.js +35 -22
- package/es/global/js/utils/makeDraggable/makeDraggable.stories.d.ts +1 -1
- package/es/index.js +69 -58
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-10.js +798 -792
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-3.js +528 -529
- package/lib/components/APIKeyModal/APIKeyModal.d.ts +1 -1
- package/lib/components/APIKeyModal/APIKeyModal.js +5 -4
- package/lib/components/AboutModal/AboutModal.d.ts +1 -1
- package/lib/components/AboutModal/AboutModal.js +5 -4
- package/lib/components/ActionBar/ActionBar.d.ts +1 -1
- package/lib/components/ActionBar/ActionBar.js +5 -4
- package/lib/components/ActionBar/ActionBarItem.d.ts +1 -1
- package/lib/components/ActionBar/ActionBarItem.js +5 -4
- package/lib/components/BigNumber/BigNumber.d.ts +1 -1
- package/lib/components/BigNumber/BigNumber.js +5 -6
- package/lib/components/BigNumber/index.js +14 -0
- package/lib/components/Cascade/Cascade.d.ts +1 -1
- package/lib/components/Cascade/Cascade.js +5 -4
- package/lib/components/Checklist/Checklist.d.ts +1 -1
- package/lib/components/Checklist/Checklist.js +5 -4
- package/lib/components/Coachmark/Coachmark.d.ts +1 -1
- package/lib/components/Coachmark/Coachmark.js +4 -4
- package/lib/components/Coachmark/CoachmarkDragbar.d.ts +1 -1
- package/lib/components/Coachmark/CoachmarkDragbar.js +5 -4
- package/lib/components/Coachmark/CoachmarkHeader.d.ts +1 -1
- package/lib/components/Coachmark/CoachmarkHeader.js +5 -4
- package/lib/components/Coachmark/CoachmarkOverlay.d.ts +1 -1
- package/lib/components/Coachmark/CoachmarkOverlay.js +6 -5
- package/lib/components/Coachmark/CoachmarkTagline.d.ts +1 -1
- package/lib/components/Coachmark/CoachmarkTagline.js +5 -4
- package/lib/components/Coachmark/next/Coachmark/index.js +14 -0
- package/lib/components/Coachmark/utils/enums.js +5 -0
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +1 -1
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +5 -4
- package/lib/components/CoachmarkButton/CoachmarkButton.d.ts +1 -1
- package/lib/components/CoachmarkButton/CoachmarkButton.js +6 -5
- package/lib/components/CoachmarkFixed/CoachmarkFixed.d.ts +1 -1
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +5 -4
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +1 -1
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +6 -7
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +1 -1
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +6 -7
- package/lib/components/CoachmarkStack/CoachmarkStack.d.ts +1 -1
- package/lib/components/CoachmarkStack/CoachmarkStack.js +5 -4
- package/lib/components/CoachmarkStack/CoachmarkStackHome.d.ts +1 -1
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +5 -6
- package/lib/components/ConditionBuilder/ConditionBuilder.d.ts +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilder.js +5 -5
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +6 -0
- package/lib/components/ConditionBuilder/index.js +14 -0
- package/lib/components/CreateFullPage/CreateFullPage.d.ts +1 -1
- package/lib/components/CreateFullPage/CreateFullPage.js +4 -4
- package/lib/components/CreateFullPage/CreateFullPageStep.d.ts +1 -1
- package/lib/components/CreateFullPage/CreateFullPageStep.js +4 -5
- package/lib/components/CreateModal/CreateModal.d.ts +1 -1
- package/lib/components/CreateModal/CreateModal.js +6 -4
- package/lib/components/CreateSidePanel/CreateSidePanel.d.ts +1 -1
- package/lib/components/CreateSidePanel/CreateSidePanel.js +5 -4
- package/lib/components/CreateTearsheet/CreateTearsheet.d.ts +1 -1
- package/lib/components/CreateTearsheet/CreateTearsheet.js +4 -4
- package/lib/components/CreateTearsheet/CreateTearsheetDivider.d.ts +1 -1
- package/lib/components/CreateTearsheet/CreateTearsheetDivider.js +4 -6
- package/lib/components/CreateTearsheet/CreateTearsheetStep.d.ts +1 -1
- package/lib/components/CreateTearsheet/CreateTearsheetStep.js +4 -5
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +1 -1
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +5 -6
- package/lib/components/DataSpreadsheet/DataSpreadsheet.d.ts +1 -1
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +5 -4
- package/lib/components/DataSpreadsheet/index.js +14 -0
- package/lib/components/Datagrid/Datagrid/Datagrid.d.ts +1 -1
- package/lib/components/Datagrid/Datagrid/Datagrid.js +6 -5
- package/lib/components/Decorator/index.js +17 -0
- package/lib/components/DecoratorBase/utils.d.ts +1 -1
- package/lib/components/DelimitedList/DelimitedList.d.ts +1 -1
- package/lib/components/DelimitedList/DelimitedList.js +5 -4
- package/lib/components/DelimitedList/index.js +14 -0
- package/lib/components/EditFullPage/EditFullPage.d.ts +1 -1
- package/lib/components/EditFullPage/EditFullPage.js +6 -5
- package/lib/components/EditInPlace/EditInPlace.d.ts +1 -1
- package/lib/components/EditInPlace/EditInPlace.js +4 -4
- package/lib/components/EditSidePanel/EditSidePanel.d.ts +1 -1
- package/lib/components/EditSidePanel/EditSidePanel.js +6 -5
- package/lib/components/EditTearsheet/EditTearsheet.d.ts +1 -1
- package/lib/components/EditTearsheet/EditTearsheet.js +5 -5
- package/lib/components/EditTearsheet/EditTearsheetForm.d.ts +1 -1
- package/lib/components/EditTearsheet/EditTearsheetForm.js +5 -3
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +1 -1
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.js +6 -7
- package/lib/components/EditUpdateCards/EditUpdateCards.d.ts +1 -1
- package/lib/components/EditUpdateCards/EditUpdateCards.js +6 -5
- package/lib/components/EmptyStates/EmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/EmptyState.js +5 -4
- package/lib/components/EmptyStates/EmptyStateV2.deprecated.d.ts +1 -1
- package/lib/components/EmptyStates/EmptyStateV2.deprecated.js +7 -5
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +5 -4
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +5 -4
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +5 -4
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +5 -6
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +5 -6
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +5 -6
- package/lib/components/ExportModal/ExportModal.d.ts +1 -1
- package/lib/components/ExportModal/ExportModal.js +6 -4
- package/lib/components/ExpressiveCard/ExpressiveCard.d.ts +1 -1
- package/lib/components/ExpressiveCard/ExpressiveCard.js +6 -5
- package/lib/components/FullPageError/FullPageError.d.ts +1 -1
- package/lib/components/FullPageError/FullPageError.js +5 -4
- package/lib/components/GetStartedCard/GetStartedCard.d.ts +1 -1
- package/lib/components/GetStartedCard/GetStartedCard.js +6 -5
- package/lib/components/GetStartedCard/index.js +14 -0
- package/lib/components/Guidebanner/Guidebanner.d.ts +1 -1
- package/lib/components/Guidebanner/Guidebanner.js +5 -4
- package/lib/components/Guidebanner/GuidebannerElement.d.ts +1 -1
- package/lib/components/Guidebanner/GuidebannerElement.js +5 -6
- package/lib/components/Guidebanner/GuidebannerElementButton.d.ts +1 -1
- package/lib/components/Guidebanner/GuidebannerElementButton.js +5 -6
- package/lib/components/Guidebanner/GuidebannerElementLink.d.ts +1 -1
- package/lib/components/Guidebanner/GuidebannerElementLink.js +5 -6
- package/lib/components/HTTPErrors/HTTPError403/HTTPError403.d.ts +1 -1
- package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +6 -5
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.d.ts +1 -1
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +6 -5
- package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.d.ts +1 -1
- package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +6 -5
- package/lib/components/ImportModal/ImportModal.d.ts +1 -1
- package/lib/components/ImportModal/ImportModal.js +6 -4
- package/lib/components/InlineTip/InlineTip.d.ts +1 -1
- package/lib/components/InlineTip/InlineTip.js +5 -4
- package/lib/components/InlineTip/InlineTipButton.d.ts +1 -1
- package/lib/components/InlineTip/InlineTipButton.js +5 -4
- package/lib/components/InlineTip/InlineTipLink.d.ts +1 -1
- package/lib/components/InlineTip/InlineTipLink.js +5 -4
- package/lib/components/InterstitialScreen/InterstitialScreen.d.ts +1 -1
- package/lib/components/InterstitialScreen/InterstitialScreen.js +8 -9
- package/lib/components/InterstitialScreen/_story-assets/InterstitialScreenView/InterstitialScreenView.d.ts +2 -2
- package/lib/components/InterstitialScreen/_story-assets/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +2 -2
- package/lib/components/MultiAddSelect/MultiAddSelect.d.ts +1 -1
- package/lib/components/MultiAddSelect/MultiAddSelect.js +5 -5
- package/lib/components/NonLinearReading/NonLinearReading.d.ts +1 -1
- package/lib/components/NonLinearReading/NonLinearReading.js +5 -4
- package/lib/components/NonLinearReading/index.js +14 -0
- package/lib/components/NotificationsPanel/NotificationsPanel.d.ts +1 -1
- package/lib/components/NotificationsPanel/NotificationsPanel.js +5 -6
- package/lib/components/OptionsTile/OptionsTile.d.ts +1 -1
- package/lib/components/OptionsTile/OptionsTile.js +5 -4
- package/lib/components/PageHeader/PageHeader.d.ts +1 -1
- package/lib/components/PageHeader/PageHeader.js +5 -5
- package/lib/components/ProductiveCard/ProductiveCard.d.ts +1 -1
- package/lib/components/ProductiveCard/ProductiveCard.js +6 -5
- package/lib/components/RemoveModal/RemoveModal.d.ts +1 -1
- package/lib/components/RemoveModal/RemoveModal.js +6 -4
- package/lib/components/Saving/Saving.d.ts +1 -1
- package/lib/components/Saving/Saving.js +5 -4
- package/lib/components/SearchBar/SearchBar.d.ts +1 -1
- package/lib/components/SearchBar/SearchBar.js +4 -4
- package/lib/components/SearchBar/index.js +14 -0
- package/lib/components/SidePanel/SidePanel.d.ts +4 -1
- package/lib/components/SidePanel/SidePanel.js +3 -5
- package/lib/components/SingleAddSelect/SingleAddSelect.d.ts +1 -1
- package/lib/components/SingleAddSelect/SingleAddSelect.js +5 -5
- package/lib/components/StatusIcon/StatusIcon.d.ts +1 -1
- package/lib/components/StatusIcon/StatusIcon.js +5 -4
- package/lib/components/StepFlow/story-assets/SidePanel/StepSidePanel.d.ts +4 -3
- package/lib/components/TagOverflow/TagOverflow.d.ts +1 -1
- package/lib/components/TagOverflow/TagOverflow.js +5 -4
- package/lib/components/TagSet/TagSet.d.ts +1 -1
- package/lib/components/TagSet/TagSet.js +9 -5
- package/lib/components/Tearsheet/Tearsheet.d.ts +1 -1
- package/lib/components/Tearsheet/Tearsheet.js +4 -5
- package/lib/components/Tearsheet/TearsheetNarrow.d.ts +1 -1
- package/lib/components/Tearsheet/TearsheetNarrow.js +4 -5
- package/lib/components/Toolbar/Toolbar.d.ts +2 -2
- package/lib/components/Toolbar/Toolbar.js +4 -4
- package/lib/components/Toolbar/ToolbarButton.d.ts +1 -1
- package/lib/components/Toolbar/ToolbarButton.js +4 -5
- package/lib/components/Toolbar/ToolbarGroup.d.ts +1 -1
- package/lib/components/Toolbar/ToolbarGroup.js +5 -5
- package/lib/components/TooltipTrigger/TooltipTrigger.d.ts +1 -1
- package/lib/components/TooltipTrigger/TooltipTrigger.js +5 -4
- package/lib/components/TruncatedList/TruncatedList.d.ts +1 -1
- package/lib/components/TruncatedList/TruncatedList.js +5 -4
- package/lib/components/TruncatedList/index.js +14 -0
- package/lib/components/UserAvatar/UserAvatar.d.ts +1 -1
- package/lib/components/UserAvatar/UserAvatar.js +5 -4
- package/lib/components/UserProfileImage/UserProfileImage.d.ts +1 -1
- package/lib/components/UserProfileImage/UserProfileImage.js +7 -5
- package/lib/components/WebTerminal/WebTerminal.d.ts +1 -1
- package/lib/components/WebTerminal/WebTerminal.js +5 -4
- package/lib/components/WebTerminal/WebTerminalContentWrapper.d.ts +1 -1
- package/lib/components/WebTerminal/WebTerminalContentWrapper.js +5 -6
- package/lib/components/WebTerminal/hooks/index.d.ts +1 -1
- package/lib/components/WebTerminal/hooks/index.js +3 -7
- package/lib/components/index.d.ts +53 -43
- package/lib/global/js/utils/carousel/carousel.d.ts +14 -0
- package/lib/global/js/utils/carousel/index.d.ts +8 -0
- package/lib/global/js/utils/carousel/swipeEvents.d.ts +7 -0
- package/lib/global/js/utils/carousel/types.d.ts +37 -0
- package/lib/global/js/utils/makeDraggable/makeDraggable.d.ts +20 -1
- package/lib/global/js/utils/makeDraggable/makeDraggable.js +35 -22
- package/lib/global/js/utils/makeDraggable/makeDraggable.stories.d.ts +1 -1
- package/lib/index.js +178 -416
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-10.js +817 -811
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-3.js +651 -652
- package/package.json +17 -17
- package/scss/components/SidePanel/_side-panel.scss +1 -13
- package/scss/components/TagSet/_tag-set.scss +0 -6
- package/telemetry.yml +3 -1
- /package/es/node_modules/@carbon/icons-react/es/{iconPropTypes-4cbeb95d.js → iconPropTypes-C5chbmyn.js} +0 -0
- /package/lib/node_modules/@carbon/icons-react/es/{iconPropTypes-4cbeb95d.js → iconPropTypes-C5chbmyn.js} +0 -0
@@ -41,7 +41,7 @@ const defaults = {
|
|
41
41
|
* user to gain understanding of the product's main value and discover new use cases.
|
42
42
|
* This variant allows the a coachmark overlay to be displayed by interacting with the tagline.
|
43
43
|
*/
|
44
|
-
|
44
|
+
const CoachmarkFixed = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
45
45
|
let {
|
46
46
|
children,
|
47
47
|
className,
|
@@ -166,16 +166,15 @@ exports.CoachmarkFixed = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
166
166
|
});
|
167
167
|
|
168
168
|
// Return a placeholder if not released and not enabled by feature flag
|
169
|
-
exports.CoachmarkFixed = settings.pkg.checkComponentEnabled(exports.CoachmarkFixed, componentName);
|
170
169
|
|
171
170
|
// The display name of the component, used by React. Note that displayName
|
172
171
|
// is used in preference to relying on function.name.
|
173
|
-
|
172
|
+
CoachmarkFixed.displayName = componentName;
|
174
173
|
|
175
174
|
// The types and DocGen commentary for the component props,
|
176
175
|
// in alphabetical order (for consistency).
|
177
176
|
// See https://www.npmjs.com/package/prop-types#usage.
|
178
|
-
|
177
|
+
CoachmarkFixed.propTypes = {
|
179
178
|
// TODO: Add this to MDX as will be done with Coachmark
|
180
179
|
/**
|
181
180
|
* CoachmarkFixed should use a single CoachmarkOverlayElements component as a child.
|
@@ -213,3 +212,5 @@ exports.CoachmarkFixed.propTypes = {
|
|
213
212
|
*/
|
214
213
|
theme: index.default.oneOf(['light', 'dark'])
|
215
214
|
};
|
215
|
+
|
216
|
+
exports.CoachmarkFixed = CoachmarkFixed;
|
@@ -29,4 +29,4 @@ export interface CoachmarkOverlayElementProps {
|
|
29
29
|
* Can be used 1 to N number, to display content in a Coachmark's overlay
|
30
30
|
* in a carousel fashion.
|
31
31
|
*/
|
32
|
-
export declare
|
32
|
+
export declare const CoachmarkOverlayElement: React.ForwardRefExoticComponent<CoachmarkOverlayElementProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -22,7 +22,7 @@ const componentName = 'CoachmarkOverlayElement';
|
|
22
22
|
* Can be used 1 to N number, to display content in a Coachmark's overlay
|
23
23
|
* in a carousel fashion.
|
24
24
|
*/
|
25
|
-
|
25
|
+
const CoachmarkOverlayElement = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
26
26
|
let {
|
27
27
|
button,
|
28
28
|
className,
|
@@ -54,22 +54,19 @@ exports.CoachmarkOverlayElement = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
54
54
|
});
|
55
55
|
|
56
56
|
/**@ts-ignore*/
|
57
|
-
|
57
|
+
CoachmarkOverlayElement.deprecated = {
|
58
58
|
level: 'warn',
|
59
59
|
details: `${componentName} is deprecated.`
|
60
60
|
};
|
61
61
|
|
62
|
-
// Return a placeholder if not released and not enabled by feature flag
|
63
|
-
exports.CoachmarkOverlayElement = settings.pkg.checkComponentEnabled(exports.CoachmarkOverlayElement, componentName);
|
64
|
-
|
65
62
|
// The display name of the component, used by React. Note that displayName
|
66
63
|
// is used in preference to relying on function.name.
|
67
|
-
|
64
|
+
CoachmarkOverlayElement.displayName = componentName;
|
68
65
|
|
69
66
|
// The types and DocGen commentary for the component props,
|
70
67
|
// in alphabetical order (for consistency).
|
71
68
|
// See https://www.npmjs.com/package/prop-types#usage.
|
72
|
-
|
69
|
+
CoachmarkOverlayElement.propTypes = {
|
73
70
|
/**
|
74
71
|
* An optional button can be rendered below the description.
|
75
72
|
* This can be a link, button, Coachmark button, etc.
|
@@ -88,3 +85,5 @@ exports.CoachmarkOverlayElement.propTypes = {
|
|
88
85
|
*/
|
89
86
|
title: index.default.string.isRequired
|
90
87
|
};
|
88
|
+
|
89
|
+
exports.CoachmarkOverlayElement = CoachmarkOverlayElement;
|
@@ -53,4 +53,4 @@ export interface CoachmarkOverlayElementsProps {
|
|
53
53
|
* Composable container to allow for the displaying of CoachmarkOverlayElement
|
54
54
|
* components in a carousel fashion.
|
55
55
|
*/
|
56
|
-
export declare
|
56
|
+
export declare const CoachmarkOverlayElements: React.ForwardRefExoticComponent<CoachmarkOverlayElementsProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -50,7 +50,7 @@ const defaults = {
|
|
50
50
|
* Composable container to allow for the displaying of CoachmarkOverlayElement
|
51
51
|
* components in a carousel fashion.
|
52
52
|
*/
|
53
|
-
|
53
|
+
const CoachmarkOverlayElements = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
54
54
|
let {
|
55
55
|
className,
|
56
56
|
children,
|
@@ -166,22 +166,19 @@ exports.CoachmarkOverlayElements = /*#__PURE__*/React.forwardRef((_ref, ref) =>
|
|
166
166
|
});
|
167
167
|
|
168
168
|
/**@ts-ignore*/
|
169
|
-
|
169
|
+
CoachmarkOverlayElements.deprecated = {
|
170
170
|
level: 'warn',
|
171
171
|
details: `${componentName} is deprecated.`
|
172
172
|
};
|
173
173
|
|
174
|
-
// Return a placeholder if not released and not enabled by feature flag
|
175
|
-
exports.CoachmarkOverlayElements = settings.pkg.checkComponentEnabled(exports.CoachmarkOverlayElements, componentName);
|
176
|
-
|
177
174
|
// The display name of the component, used by React. Note that displayName
|
178
175
|
// is used in preference to relying on function.name.
|
179
|
-
|
176
|
+
CoachmarkOverlayElements.displayName = componentName;
|
180
177
|
|
181
178
|
// The types and DocGen commentary for the component props,
|
182
179
|
// in alphabetical order (for consistency).
|
183
180
|
// See https://www.npmjs.com/package/prop-types#usage.
|
184
|
-
|
181
|
+
CoachmarkOverlayElements.propTypes = {
|
185
182
|
// TODO: UPDATE COMMENT HERE - UPDATE MDX TO HAVE DIRECTION TO USE ONLY OVERLAY ELEMENTS>...CoachmarkOverlayElements will accept only one or more CoachmarkOverlayElement as child components.
|
186
183
|
|
187
184
|
/**
|
@@ -227,3 +224,5 @@ exports.CoachmarkOverlayElements.propTypes = {
|
|
227
224
|
*/
|
228
225
|
renderMedia: index.default.func
|
229
226
|
};
|
227
|
+
|
228
|
+
exports.CoachmarkOverlayElements = CoachmarkOverlayElements;
|
@@ -67,5 +67,5 @@ interface CoachmarkStackProps {
|
|
67
67
|
* user to gain understanding of the product's main value and discover new use cases.
|
68
68
|
* This variant allows the stacking of multiple coachmark overlays to be displayed by interacting with the tagline.
|
69
69
|
*/
|
70
|
-
export declare
|
70
|
+
export declare const CoachmarkStack: React.ForwardRefExoticComponent<CoachmarkStackProps & React.RefAttributes<HTMLDivElement>>;
|
71
71
|
export {};
|
@@ -48,7 +48,7 @@ const defaults = {
|
|
48
48
|
* user to gain understanding of the product's main value and discover new use cases.
|
49
49
|
* This variant allows the stacking of multiple coachmark overlays to be displayed by interacting with the tagline.
|
50
50
|
*/
|
51
|
-
|
51
|
+
const CoachmarkStack = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
52
52
|
let {
|
53
53
|
children,
|
54
54
|
className,
|
@@ -216,16 +216,15 @@ exports.CoachmarkStack = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
216
216
|
});
|
217
217
|
|
218
218
|
// Return a placeholder if not released and not enabled by feature flag
|
219
|
-
exports.CoachmarkStack = settings.pkg.checkComponentEnabled(exports.CoachmarkStack, componentName);
|
220
219
|
|
221
220
|
// The display name of the component, used by React. Note that displayName
|
222
221
|
// is used in preference to relying on function.name.
|
223
|
-
|
222
|
+
CoachmarkStack.displayName = componentName;
|
224
223
|
|
225
224
|
// The types and DocGen commentary for the component props,
|
226
225
|
// in alphabetical order (for consistency).
|
227
226
|
// See https://www.npmjs.com/package/prop-types#usage.
|
228
|
-
|
227
|
+
CoachmarkStack.propTypes = {
|
229
228
|
/**
|
230
229
|
* CoachmarkStack should use a single CoachmarkOverlayElements component as a child.
|
231
230
|
*/
|
@@ -281,3 +280,5 @@ exports.CoachmarkStack.propTypes = {
|
|
281
280
|
*/
|
282
281
|
tooltipAlign: index.default.oneOf(['top', 'bottom'])
|
283
282
|
};
|
283
|
+
|
284
|
+
exports.CoachmarkStack = CoachmarkStack;
|
@@ -63,5 +63,5 @@ interface CoachmarkStackHomeProps {
|
|
63
63
|
* DO NOT USE. This component is for the exclusive use
|
64
64
|
* of other Onboarding components.
|
65
65
|
*/
|
66
|
-
export declare
|
66
|
+
export declare const CoachmarkStackHome: React.ForwardRefExoticComponent<CoachmarkStackHomeProps & React.RefAttributes<HTMLDivElement>>;
|
67
67
|
export {};
|
@@ -32,7 +32,7 @@ const componentName = 'CoachmarkStackHome';
|
|
32
32
|
* DO NOT USE. This component is for the exclusive use
|
33
33
|
* of other Onboarding components.
|
34
34
|
*/
|
35
|
-
|
35
|
+
const CoachmarkStackHome = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
36
36
|
let {
|
37
37
|
className,
|
38
38
|
description,
|
@@ -144,17 +144,14 @@ exports.CoachmarkStackHome = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
144
144
|
}, closeButtonLabel))))), portalNode?.current) : null;
|
145
145
|
});
|
146
146
|
|
147
|
-
// Return a placeholder if not released and not enabled by feature flag
|
148
|
-
exports.CoachmarkStackHome = settings.pkg.checkComponentEnabled(exports.CoachmarkStackHome, componentName);
|
149
|
-
|
150
147
|
// The display name of the component, used by React. Note that displayName
|
151
148
|
// is used in preference to relying on function.name.
|
152
|
-
|
149
|
+
CoachmarkStackHome.displayName = componentName;
|
153
150
|
|
154
151
|
// The types and DocGen commentary for the component props,
|
155
152
|
// in alphabetical order (for consistency).
|
156
153
|
// See https://www.npmjs.com/package/prop-types#usage.
|
157
|
-
|
154
|
+
CoachmarkStackHome.propTypes = {
|
158
155
|
/**
|
159
156
|
* Optional class name for this component.
|
160
157
|
*/
|
@@ -207,3 +204,5 @@ exports.CoachmarkStackHome.propTypes = {
|
|
207
204
|
*/
|
208
205
|
tooltipAlign: index.default.oneOf(['top', 'bottom'])
|
209
206
|
};
|
207
|
+
|
208
|
+
exports.CoachmarkStackHome = CoachmarkStackHome;
|
@@ -9,4 +9,4 @@ import { ConditionBuilderProps } from './ConditionBuilder.types';
|
|
9
9
|
/**
|
10
10
|
* TODO: A description of the component.
|
11
11
|
*/
|
12
|
-
export declare
|
12
|
+
export declare const ConditionBuilder: React.ForwardRefExoticComponent<ConditionBuilderProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -15,7 +15,6 @@ var cx = require('classnames');
|
|
15
15
|
var devtools = require('../../global/js/utils/devtools.js');
|
16
16
|
var ConditionBuilderContent = require('./ConditionBuilderContent/ConditionBuilderContent.js');
|
17
17
|
var ConditionBuilderProvider = require('./ConditionBuilderContext/ConditionBuilderProvider.js');
|
18
|
-
var settings = require('../../settings.js');
|
19
18
|
var handleKeyboardEvents = require('./utils/handleKeyboardEvents.js');
|
20
19
|
var util = require('./utils/util.js');
|
21
20
|
|
@@ -44,7 +43,7 @@ const componentName = 'ConditionBuilder';
|
|
44
43
|
* TODO: A description of the component.
|
45
44
|
*/
|
46
45
|
|
47
|
-
|
46
|
+
const ConditionBuilder = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
48
47
|
let {
|
49
48
|
className,
|
50
49
|
inputConfig,
|
@@ -102,16 +101,15 @@ exports.ConditionBuilder = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
102
101
|
});
|
103
102
|
|
104
103
|
// Return a placeholder if not released and not enabled by feature flag
|
105
|
-
exports.ConditionBuilder = settings.pkg.checkComponentEnabled(exports.ConditionBuilder, componentName);
|
106
104
|
|
107
105
|
// The display name of the component, used by React. Note that displayName
|
108
106
|
// is used in preference to relying on function.name.
|
109
|
-
|
107
|
+
ConditionBuilder.displayName = componentName;
|
110
108
|
|
111
109
|
// The types and DocGen commentary for the component props,
|
112
110
|
// in alphabetical order (for consistency).
|
113
111
|
// See https://www.npmjs.com/package/prop-types#usage.
|
114
|
-
|
112
|
+
ConditionBuilder.propTypes = {
|
115
113
|
/**
|
116
114
|
* optional array of actions
|
117
115
|
*/
|
@@ -235,3 +233,5 @@ exports.ConditionBuilder.propTypes = {
|
|
235
233
|
*/
|
236
234
|
variant: index.default.oneOf(['Non-Hierarchical', 'Hierarchical'])
|
237
235
|
};
|
236
|
+
|
237
|
+
exports.ConditionBuilder = ConditionBuilder;
|
@@ -78,6 +78,9 @@ const ConditionBuilderItemDate = _ref => {
|
|
78
78
|
return /*#__PURE__*/React.createElement("div", {
|
79
79
|
className: `${util.blockClass}__item-date `
|
80
80
|
}, datePickerType == 'single' && /*#__PURE__*/React.createElement(react.DatePicker, _rollupPluginBabelHelpers.extends({}, config, {
|
81
|
+
locale: {
|
82
|
+
locale: config.locale ?? 'en'
|
83
|
+
},
|
81
84
|
ref: DatePickerInputRef,
|
82
85
|
datePickerType: "single",
|
83
86
|
value: conditionState.value,
|
@@ -89,6 +92,9 @@ const ConditionBuilderItemDate = _ref => {
|
|
89
92
|
placeholder: "dd/mm/yyyy",
|
90
93
|
labelText: conditionState.property
|
91
94
|
})), datePickerType == 'range' && /*#__PURE__*/React.createElement(react.DatePicker, _rollupPluginBabelHelpers.extends({}, config, {
|
95
|
+
locale: {
|
96
|
+
locale: config.locale ?? 'en'
|
97
|
+
},
|
92
98
|
ref: DatePickerInputRef,
|
93
99
|
datePickerType: datePickerType,
|
94
100
|
onClose: onCloseHandler,
|
@@ -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 ConditionBuilder = require('./ConditionBuilder.js');
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
exports.ConditionBuilder = ConditionBuilder.ConditionBuilder;
|
@@ -142,5 +142,5 @@ on the Carbon's grid system
|
|
142
142
|
include `<Row>` and `<Column>` components inside of each `CreateFullPageStep`
|
143
143
|
component to get the desired affect.
|
144
144
|
*/
|
145
|
-
export declare
|
145
|
+
export declare const CreateFullPage: React.ForwardRefExoticComponent<CreateFullPageProps & React.RefAttributes<HTMLDivElement>>;
|
146
146
|
export {};
|
@@ -47,7 +47,7 @@ on the Carbon's grid system
|
|
47
47
|
include `<Row>` and `<Column>` components inside of each `CreateFullPageStep`
|
48
48
|
component to get the desired affect.
|
49
49
|
*/
|
50
|
-
|
50
|
+
const CreateFullPage = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
51
51
|
let {
|
52
52
|
breadcrumbsOverflowAriaLabel,
|
53
53
|
breadcrumbs,
|
@@ -220,16 +220,15 @@ exports.CreateFullPage = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
220
220
|
});
|
221
221
|
|
222
222
|
// Return a placeholder if not released and not enabled by feature flag.
|
223
|
-
exports.CreateFullPage = settings.pkg.checkComponentEnabled(exports.CreateFullPage, componentName);
|
224
223
|
|
225
224
|
// The display name of the component, used by React. Note that displayName
|
226
225
|
// is used in preference to relying on function.name.
|
227
|
-
|
226
|
+
CreateFullPage.displayName = componentName;
|
228
227
|
|
229
228
|
// The types and DocGen commentary for the component props,
|
230
229
|
// in alphabetical order (for consistency).
|
231
230
|
// See https://www.npmjs.com/package/prop-types#usage.
|
232
|
-
|
231
|
+
CreateFullPage.propTypes = {
|
233
232
|
/**
|
234
233
|
* The back button text
|
235
234
|
*/
|
@@ -338,5 +337,6 @@ exports.CreateFullPage.propTypes = {
|
|
338
337
|
title: index.default.string
|
339
338
|
};
|
340
339
|
|
340
|
+
exports.CreateFullPage = CreateFullPage;
|
341
341
|
exports.StepNumberContext = StepNumberContext;
|
342
342
|
exports.StepsContext = StepsContext;
|
@@ -73,5 +73,5 @@ type CreateFullPageStepFieldsetProps = {
|
|
73
73
|
fieldsetLegendText: string;
|
74
74
|
};
|
75
75
|
export type CreateFullPageStepProps = CreateFullPageStepBaseProps & CreateFullPageStepFieldsetProps;
|
76
|
-
export declare
|
76
|
+
export declare const CreateFullPageStep: React.ForwardRefExoticComponent<CreateFullPageStepProps & React.RefAttributes<HTMLDivElement>>;
|
77
77
|
export {};
|
@@ -30,7 +30,7 @@ const defaults = {
|
|
30
30
|
// Basically, fieldsetLegendText should only be specified when hasFieldset is true.
|
31
31
|
// And usually, hasFieldset won't be specified at all unless it's being set to true.
|
32
32
|
|
33
|
-
|
33
|
+
const CreateFullPageStep = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
34
34
|
let {
|
35
35
|
// The component props, in alphabetical order (for consistency).
|
36
36
|
|
@@ -128,10 +128,7 @@ exports.CreateFullPageStep = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
128
128
|
className: `${blockClass}-fieldset`
|
129
129
|
}, children) : children) : pconsole.default.warn(`You have tried using a ${componentName} component outside of a CreateFullPage. This is not allowed. ${componentName}s should always be children of the CreateFullPage`);
|
130
130
|
});
|
131
|
-
|
132
|
-
// Return a placeholder if not released and not enabled by feature flag
|
133
|
-
exports.CreateFullPageStep = settings.pkg.checkComponentEnabled(exports.CreateFullPageStep, componentName);
|
134
|
-
exports.CreateFullPageStep.propTypes = {
|
131
|
+
CreateFullPageStep.propTypes = {
|
135
132
|
/**
|
136
133
|
* Content that shows in the CreateFullPage step
|
137
134
|
*/
|
@@ -198,3 +195,5 @@ exports.CreateFullPageStep.propTypes = {
|
|
198
195
|
*/
|
199
196
|
title: index.default.node.isRequired
|
200
197
|
};
|
198
|
+
|
199
|
+
exports.CreateFullPageStep = CreateFullPageStep;
|
@@ -64,4 +64,4 @@ resource. It is triggered by a user’s action, appears on top of the main page
|
|
64
64
|
content, and is persistent until dismissed. The purpose of this modal should be
|
65
65
|
immediately apparent to the user, with a clear and obvious path to completion.
|
66
66
|
*/
|
67
|
-
export declare
|
67
|
+
export declare const CreateModal: React.ForwardRefExoticComponent<CreateModalProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -24,7 +24,7 @@ resource. It is triggered by a user’s action, appears on top of the main page
|
|
24
24
|
content, and is persistent until dismissed. The purpose of this modal should be
|
25
25
|
immediately apparent to the user, with a clear and obvious path to completion.
|
26
26
|
*/
|
27
|
-
|
27
|
+
const CreateModal = /*#__PURE__*/React.forwardRef((props, ref) => {
|
28
28
|
const {
|
29
29
|
className,
|
30
30
|
children,
|
@@ -80,8 +80,8 @@ exports.CreateModal = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
80
80
|
});
|
81
81
|
|
82
82
|
// Return a placeholder if not released and not enabled by feature flag
|
83
|
-
|
84
|
-
|
83
|
+
|
84
|
+
CreateModal.propTypes = {
|
85
85
|
/**
|
86
86
|
* Children refers to all form items within a form inside of the modal's body.
|
87
87
|
*/
|
@@ -138,4 +138,6 @@ exports.CreateModal.propTypes = {
|
|
138
138
|
*/
|
139
139
|
title: index.default.node.isRequired
|
140
140
|
};
|
141
|
-
|
141
|
+
CreateModal.displayName = componentName;
|
142
|
+
|
143
|
+
exports.CreateModal = CreateModal;
|
@@ -78,7 +78,7 @@ interface CreateSidePanelProps {
|
|
78
78
|
/**
|
79
79
|
* Use with medium complexity creations if the user needs page context. On-page content can be seen and interacted with.
|
80
80
|
*/
|
81
|
-
export declare
|
81
|
+
export declare const CreateSidePanel: React.ForwardRefExoticComponent<CreateSidePanelProps & {
|
82
82
|
children?: ReactNode | undefined;
|
83
83
|
} & React.RefAttributes<HTMLDivElement>>;
|
84
84
|
export {};
|
@@ -26,7 +26,7 @@ const componentName = 'CreateSidePanel';
|
|
26
26
|
/**
|
27
27
|
* Use with medium complexity creations if the user needs page context. On-page content can be seen and interacted with.
|
28
28
|
*/
|
29
|
-
|
29
|
+
const CreateSidePanel = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
30
30
|
let {
|
31
31
|
// The component props, in alphabetical order (for consistency).
|
32
32
|
className,
|
@@ -88,9 +88,8 @@ exports.CreateSidePanel = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
88
88
|
onSubmit: e => e.preventDefault()
|
89
89
|
}, children));
|
90
90
|
});
|
91
|
-
|
92
|
-
|
93
|
-
exports.CreateSidePanel.propTypes = {
|
91
|
+
CreateSidePanel.displayName = componentName;
|
92
|
+
CreateSidePanel.propTypes = {
|
94
93
|
/**
|
95
94
|
* Sets the body content of the create side panel
|
96
95
|
*/
|
@@ -167,3 +166,5 @@ exports.CreateSidePanel.propTypes = {
|
|
167
166
|
*/
|
168
167
|
title: index.default.string.isRequired
|
169
168
|
};
|
169
|
+
|
170
|
+
exports.CreateSidePanel = CreateSidePanel;
|
@@ -122,5 +122,5 @@ interface Step {
|
|
122
122
|
shouldIncludeStep?: boolean;
|
123
123
|
title?: string;
|
124
124
|
}
|
125
|
-
export declare
|
125
|
+
export declare const CreateTearsheet: React.ForwardRefExoticComponent<CreateTearsheetProps & React.RefAttributes<HTMLDivElement>>;
|
126
126
|
export {};
|
@@ -37,7 +37,7 @@ const StepsContext = /*#__PURE__*/React.createContext(null);
|
|
37
37
|
// This is a context supplied separately to each step in the container
|
38
38
|
// to let it know what number it is in the sequence of steps
|
39
39
|
const StepNumberContext = /*#__PURE__*/React.createContext(-1);
|
40
|
-
|
40
|
+
const CreateTearsheet = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
41
41
|
let {
|
42
42
|
// The component props, in alphabetical order (for consistency).
|
43
43
|
|
@@ -189,11 +189,10 @@ exports.CreateTearsheet = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
189
189
|
});
|
190
190
|
|
191
191
|
// Return a placeholder if not released and not enabled by feature flag
|
192
|
-
exports.CreateTearsheet = settings.pkg.checkComponentEnabled(exports.CreateTearsheet, componentName);
|
193
192
|
|
194
193
|
// The display name of the component, used by React. Note that displayName
|
195
194
|
// is used in preference to relying on function.name.
|
196
|
-
|
195
|
+
CreateTearsheet.displayName = componentName;
|
197
196
|
const deprecatedProps = {
|
198
197
|
/**
|
199
198
|
* @deprecated Property replaced by `decorator`
|
@@ -202,7 +201,7 @@ const deprecatedProps = {
|
|
202
201
|
};
|
203
202
|
// Note that the descriptions here should be kept in sync with those for the
|
204
203
|
// corresponding props for TearsheetNarrow and TearsheetShell components.
|
205
|
-
|
204
|
+
CreateTearsheet.propTypes = {
|
206
205
|
/**
|
207
206
|
* The back button text
|
208
207
|
*/
|
@@ -299,5 +298,6 @@ exports.CreateTearsheet.propTypes = {
|
|
299
298
|
...deprecatedProps
|
300
299
|
};
|
301
300
|
|
301
|
+
exports.CreateTearsheet = CreateTearsheet;
|
302
302
|
exports.StepNumberContext = StepNumberContext;
|
303
303
|
exports.StepsContext = StepsContext;
|
@@ -9,5 +9,5 @@ interface CreateTearsheetDividerProps {
|
|
9
9
|
/** Specifies an optional className to be added to the tearsheet divider */
|
10
10
|
className?: string;
|
11
11
|
}
|
12
|
-
export declare
|
12
|
+
export declare const CreateTearsheetDivider: React.FC<CreateTearsheetDividerProps>;
|
13
13
|
export {};
|
@@ -13,9 +13,8 @@ var index = require('../../_virtual/index.js');
|
|
13
13
|
var cx = require('classnames');
|
14
14
|
var settings = require('../../settings.js');
|
15
15
|
|
16
|
-
const componentName = 'CreateTearsheetDivider';
|
17
16
|
const blockClass = `${settings.pkg.prefix}--tearsheet-create__section--divider`;
|
18
|
-
|
17
|
+
const CreateTearsheetDivider = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
19
18
|
let {
|
20
19
|
className,
|
21
20
|
// Collect any other property values passed in
|
@@ -26,12 +25,11 @@ exports.CreateTearsheetDivider = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
26
25
|
className: cx(blockClass, className)
|
27
26
|
}));
|
28
27
|
});
|
29
|
-
|
30
|
-
// Return a placeholder if not released and not enabled by feature flag
|
31
|
-
exports.CreateTearsheetDivider = settings.pkg.checkComponentEnabled(exports.CreateTearsheetDivider, componentName);
|
32
|
-
exports.CreateTearsheetDivider.propTypes = {
|
28
|
+
CreateTearsheetDivider.propTypes = {
|
33
29
|
/**
|
34
30
|
* Sets an optional className to be added to the tearsheet divider
|
35
31
|
*/
|
36
32
|
className: index.default.string
|
37
33
|
};
|
34
|
+
|
35
|
+
exports.CreateTearsheetDivider = CreateTearsheetDivider;
|
@@ -117,5 +117,5 @@ export type ExperimentalSecondarySubmit = {
|
|
117
117
|
hideSecondarySubmit?: boolean;
|
118
118
|
onClick?: () => void;
|
119
119
|
};
|
120
|
-
export declare
|
120
|
+
export declare const CreateTearsheetStep: React.ForwardRefExoticComponent<CreateTearsheetStepProps & React.RefAttributes<unknown>>;
|
121
121
|
export {};
|
@@ -36,7 +36,7 @@ const defaults = {
|
|
36
36
|
* @property {() => void} [onClick] - Optional click handler function to be executed when the button is clicked.
|
37
37
|
*/
|
38
38
|
|
39
|
-
|
39
|
+
const CreateTearsheetStep = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
40
40
|
let {
|
41
41
|
// The component props, in alphabetical order (for consistency).
|
42
42
|
|
@@ -164,10 +164,7 @@ exports.CreateTearsheetStep = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
164
164
|
legendId: fieldsetLegendId
|
165
165
|
}, children) : children))) : pconsole.default.warn(`You have tried using a ${componentName} component outside of a CreateTearsheet. This is not allowed. ${componentName}s should always be children of the CreateTearsheet`);
|
166
166
|
});
|
167
|
-
|
168
|
-
// Return a placeholder if not released and not enabled by feature flag
|
169
|
-
exports.CreateTearsheetStep = settings.pkg.checkComponentEnabled(exports.CreateTearsheetStep, componentName);
|
170
|
-
exports.CreateTearsheetStep.propTypes = {
|
167
|
+
CreateTearsheetStep.propTypes = {
|
171
168
|
/**
|
172
169
|
* Content that shows in the tearsheet step
|
173
170
|
*/
|
@@ -259,3 +256,5 @@ exports.CreateTearsheetStep.propTypes = {
|
|
259
256
|
*/
|
260
257
|
title: index.default.node.isRequired
|
261
258
|
};
|
259
|
+
|
260
|
+
exports.CreateTearsheetStep = CreateTearsheetStep;
|
@@ -82,5 +82,5 @@ export interface CreateTearsheetNarrowProps extends PropsWithChildren {
|
|
82
82
|
* Use a narrow tearsheet as an alternative to a modal when there is scrolling.
|
83
83
|
* Use when the form fields can be broken down into sections using section headers.
|
84
84
|
*/
|
85
|
-
export declare
|
85
|
+
export declare const CreateTearsheetNarrow: React.ForwardRefExoticComponent<CreateTearsheetNarrowProps & React.RefAttributes<unknown>>;
|
86
86
|
export {};
|
@@ -27,7 +27,7 @@ const componentName = 'CreateTearsheetNarrow';
|
|
27
27
|
* Use a narrow tearsheet as an alternative to a modal when there is scrolling.
|
28
28
|
* Use when the form fields can be broken down into sections using section headers.
|
29
29
|
*/
|
30
|
-
|
30
|
+
const CreateTearsheetNarrow = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
31
31
|
let {
|
32
32
|
children,
|
33
33
|
className,
|
@@ -85,17 +85,14 @@ exports.CreateTearsheetNarrow = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
85
85
|
}, children));
|
86
86
|
});
|
87
87
|
|
88
|
-
// Return a placeholder if not released and not enabled by feature flag
|
89
|
-
exports.CreateTearsheetNarrow = settings.pkg.checkComponentEnabled(exports.CreateTearsheetNarrow, componentName);
|
90
|
-
|
91
88
|
// The display name of the component, used by React. Note that displayName
|
92
89
|
// is used in preference to relying on function.name.
|
93
|
-
|
90
|
+
CreateTearsheetNarrow.displayName = componentName;
|
94
91
|
|
95
92
|
// The types and DocGen commentary for the component props,
|
96
93
|
// in alphabetical order (for consistency).
|
97
94
|
// See https://www.npmjs.com/package/prop-types#usage.
|
98
|
-
|
95
|
+
CreateTearsheetNarrow.propTypes = {
|
99
96
|
/**
|
100
97
|
* Provide the contents of the CreateTearsheetNarrow.
|
101
98
|
*/
|
@@ -167,3 +164,5 @@ exports.CreateTearsheetNarrow.propTypes = {
|
|
167
164
|
*/
|
168
165
|
verticalPosition: index.default.oneOf(['normal', 'lower'])
|
169
166
|
};
|
167
|
+
|
168
|
+
exports.CreateTearsheetNarrow = CreateTearsheetNarrow;
|
@@ -93,4 +93,4 @@ export interface DataSpreadsheetProps {
|
|
93
93
|
/**
|
94
94
|
* DataSpreadsheet: used to organize and display large amounts of structured data, separated by columns and rows in a grid-like format.
|
95
95
|
*/
|
96
|
-
export declare
|
96
|
+
export declare const DataSpreadsheet: React.ForwardRefExoticComponent<DataSpreadsheetProps & React.RefAttributes<HTMLDivElement>>;
|