@carbon/ibm-products 2.47.0 → 2.48.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/index-full-carbon.css +165 -50
- 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 +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 +30 -16
- 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 +165 -50
- 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/index.d.ts +2 -1
- package/es/components/AboutModal/AboutModal.d.ts +1 -2
- package/es/components/AboutModal/index.d.ts +8 -1
- package/es/components/ActionSet/ActionSet.d.ts +1 -2
- package/es/components/ActionSet/ActionSet.js +2 -2
- package/es/components/ActionSet/index.d.ts +8 -1
- package/es/components/AddSelect/AddSelectBody.js +3 -3
- package/es/components/AddSelect/index.d.ts +2 -1
- package/es/components/Card/Card.d.ts +1 -0
- package/es/components/Card/Card.js +5 -2
- package/es/components/Carousel/index.d.ts +9 -2
- package/es/components/Cascade/Cascade.d.ts +1 -2
- package/es/components/Cascade/Cascade.js +2 -2
- package/es/components/Cascade/index.d.ts +2 -1
- package/es/components/Checklist/Checklist.d.ts +2 -2
- package/es/components/Checklist/Checklist.js +6 -6
- package/es/components/Checklist/index.d.ts +8 -1
- package/es/components/Coachmark/Coachmark.d.ts +1 -2
- package/es/components/Coachmark/Coachmark.js +5 -5
- package/es/components/Coachmark/index.d.ts +10 -3
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +2 -3
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +4 -3
- package/es/components/CoachmarkBeacon/index.d.ts +8 -1
- package/es/components/CoachmarkButton/CoachmarkButton.d.ts +1 -2
- package/es/components/CoachmarkButton/CoachmarkButton.js +4 -2
- package/es/components/CoachmarkButton/index.d.ts +8 -1
- package/es/components/CoachmarkFixed/CoachmarkFixed.d.ts +1 -2
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +6 -5
- package/es/components/CoachmarkFixed/index.d.ts +8 -1
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +1 -2
- package/es/components/CoachmarkOverlayElement/index.d.ts +8 -1
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +1 -2
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +10 -6
- package/es/components/CoachmarkOverlayElements/index.d.ts +8 -1
- package/es/components/CoachmarkStack/CoachmarkStack.d.ts +67 -2
- package/es/components/CoachmarkStack/CoachmarkStack.js +16 -9
- package/es/components/CoachmarkStack/CoachmarkStackHome.d.ts +71 -2
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +19 -21
- package/es/components/ComboButton/ComboButton.d.ts +1 -1
- package/es/components/ComboButton/ComboButton.js +4 -4
- package/es/components/ComboButton/index.d.ts +9 -2
- package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +0 -1
- package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +28 -20
- package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +6 -19
- package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +29 -36
- package/es/components/CreateFullPage/CreateFullPage.d.ts +1 -1
- package/es/components/CreateFullPage/CreateFullPage.js +5 -5
- package/es/components/CreateFullPage/index.d.ts +9 -2
- package/es/components/CreateModal/CreateModal.d.ts +2 -3
- package/es/components/CreateModal/CreateModal.js +1 -1
- package/es/components/CreateModal/index.d.ts +2 -1
- package/es/components/CreateSidePanel/CreateSidePanel.js +1 -1
- package/es/components/CreateSidePanel/index.d.ts +7 -1
- package/es/components/CreateTearsheet/CreateTearsheet.d.ts +2 -2
- package/es/components/CreateTearsheet/CreateTearsheet.js +4 -4
- package/es/components/CreateTearsheet/index.d.ts +10 -3
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +1 -1
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +2 -2
- package/es/components/CreateTearsheetNarrow/index.d.ts +8 -1
- package/es/components/DataSpreadsheet/DataSpreadsheet.d.ts +3 -4
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +11 -10
- package/es/components/DataSpreadsheet/index.d.ts +8 -1
- package/es/components/Datagrid/Datagrid/DatagridContent.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridRow.js +7 -5
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +2 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +4 -4
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.d.ts +3 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +10 -3
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +2 -1
- package/es/components/Datagrid/Datagrid/addons/stateReducer.d.ts +7 -0
- package/es/components/Datagrid/Datagrid/addons/stateReducer.js +70 -27
- package/es/components/Datagrid/types/index.d.ts +2 -0
- package/es/components/Datagrid/useFiltering.js +1 -1
- package/es/components/Datagrid/useNestedRowExpander.js +65 -16
- package/es/components/Datagrid/useRowRenderer.js +44 -2
- package/es/components/Datagrid/useSortableColumns.js +14 -1
- package/es/components/DelimitedList/DelimitedList.d.ts +1 -2
- package/es/components/DelimitedList/index.d.ts +8 -1
- package/es/components/EditFullPage/EditFullPage.d.ts +1 -2
- package/es/components/EditFullPage/index.d.ts +8 -1
- package/es/components/EditInPlace/EditInPlace.d.ts +5 -1
- package/es/components/EditInPlace/EditInPlace.js +11 -5
- package/es/components/EditInPlace/index.d.ts +8 -1
- package/es/components/EditSidePanel/EditSidePanel.d.ts +2 -3
- package/es/components/EditSidePanel/EditSidePanel.js +3 -3
- package/es/components/EditSidePanel/index.d.ts +8 -1
- package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +1 -2
- package/es/components/EditTearsheetNarrow/index.d.ts +8 -1
- package/es/components/EditUpdateCards/EditUpdateCards.d.ts +1 -1
- package/es/components/EditUpdateCards/EditUpdateCards.js +2 -1
- package/es/components/EditUpdateCards/index.d.ts +8 -1
- package/es/components/ExportModal/ExportModal.d.ts +3 -3
- package/es/components/ExportModal/ExportModal.js +3 -3
- package/es/components/ExportModal/index.d.ts +2 -1
- package/es/components/ExpressiveCard/ExpressiveCard.d.ts +1 -1
- package/es/components/ExpressiveCard/ExpressiveCard.js +1 -1
- package/es/components/ExpressiveCard/index.d.ts +2 -1
- package/es/components/FeatureFlags/index.d.ts +26 -21
- package/es/components/FeatureFlags/index.js +1 -10
- package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +1 -1
- package/es/components/FilterSummary/FilterSummary.d.ts +1 -1
- package/es/components/FilterSummary/FilterSummary.js +7 -8
- package/es/components/FilterSummary/index.d.ts +8 -1
- package/es/components/FullPageError/FullPageError.d.ts +1 -2
- package/es/components/FullPageError/FullPageError.js +10 -7
- package/es/components/FullPageError/assets/Error403SVG.d.ts +3 -1
- package/es/components/FullPageError/assets/Error403SVG.js +6 -3
- package/es/components/FullPageError/assets/Error404SVG.d.ts +3 -1
- package/es/components/FullPageError/assets/Error404SVG.js +6 -3
- package/es/components/FullPageError/assets/ErrorGenericSVG.d.ts +3 -1
- package/es/components/FullPageError/assets/ErrorGenericSVG.js +6 -3
- package/es/components/FullPageError/index.d.ts +8 -1
- package/es/components/GetStartedCard/GetStartedCard.d.ts +1 -1
- package/es/components/GetStartedCard/index.d.ts +8 -1
- package/es/components/Guidebanner/Guidebanner.d.ts +1 -2
- package/es/components/Guidebanner/Guidebanner.js +5 -4
- package/es/components/Guidebanner/GuidebannerElement.d.ts +1 -2
- package/es/components/Guidebanner/GuidebannerElementButton.d.ts +2 -3
- package/es/components/Guidebanner/GuidebannerElementButton.js +2 -2
- package/es/components/Guidebanner/GuidebannerElementLink.d.ts +2 -3
- package/es/components/Guidebanner/GuidebannerElementLink.js +1 -1
- package/es/components/Guidebanner/index.d.ts +14 -4
- package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +2 -1
- package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +2 -1
- package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +1 -0
- package/es/components/HTTPErrors/assets/HTTPErrorSvg403.d.ts +3 -1
- package/es/components/HTTPErrors/assets/HTTPErrorSvg403.js +6 -3
- package/es/components/HTTPErrors/assets/HTTPErrorSvg404.d.ts +3 -1
- package/es/components/HTTPErrors/assets/HTTPErrorSvg404.js +6 -3
- package/es/components/HTTPErrors/assets/HTTPErrorSvgOther.d.ts +3 -1
- package/es/components/HTTPErrors/assets/HTTPErrorSvgOther.js +6 -3
- package/es/components/ImportModal/ImportModal.d.ts +1 -1
- package/es/components/ImportModal/ImportModal.js +3 -3
- package/es/components/ImportModal/index.d.ts +2 -1
- package/es/components/InlineTip/InlineTip.d.ts +1 -1
- package/es/components/InlineTip/InlineTip.js +4 -4
- package/es/components/InlineTip/InlineTipButton.d.ts +1 -2
- package/es/components/InlineTip/InlineTipButton.js +1 -1
- package/es/components/InlineTip/InlineTipLink.d.ts +1 -2
- package/es/components/InlineTip/InlineTipLink.js +2 -2
- package/es/components/InlineTip/index.d.ts +12 -3
- package/es/components/InterstitialScreen/InterstitialScreen.d.ts +1 -1
- package/es/components/InterstitialScreen/InterstitialScreen.js +6 -5
- package/es/components/InterstitialScreen/index.d.ts +8 -1
- package/es/components/InterstitialScreenView/InterstitialScreenView.d.ts +1 -2
- package/es/components/InterstitialScreenView/index.d.ts +8 -1
- package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +1 -2
- package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +1 -1
- package/es/components/InterstitialScreenViewModule/index.d.ts +8 -1
- package/es/components/MultiAddSelect/MultiAddSelect.d.ts +1 -1
- package/es/components/MultiAddSelect/MultiAddSelect.js +1 -1
- package/es/components/MultiAddSelect/index.d.ts +2 -1
- package/es/components/Nav/NavItem.js +4 -1
- package/es/components/Nav/NavList.js +3 -0
- package/es/components/NonLinearReading/NonLinearReading.d.ts +1 -1
- package/es/components/NonLinearReading/NonLinearReading.js +2 -2
- package/es/components/NonLinearReading/index.d.ts +8 -1
- package/es/components/NotificationsPanel/NotificationsPanel.d.ts +2 -2
- package/es/components/NotificationsPanel/NotificationsPanel.js +3 -3
- package/es/components/NotificationsPanel/index.d.ts +8 -1
- package/es/components/OptionsTile/OptionsTile.d.ts +2 -3
- package/es/components/OptionsTile/OptionsTile.js +4 -5
- package/es/components/OptionsTile/index.d.ts +8 -1
- package/es/components/PageHeader/PageHeader.d.ts +2 -2
- package/es/components/PageHeader/PageHeader.js +9 -9
- package/es/components/PageHeader/index.d.ts +2 -1
- package/es/components/ProductiveCard/ProductiveCard.d.ts +5 -1
- package/es/components/ProductiveCard/ProductiveCard.js +8 -2
- package/es/components/ProductiveCard/index.d.ts +2 -1
- package/es/components/RemoveModal/RemoveModal.d.ts +3 -4
- package/es/components/RemoveModal/RemoveModal.js +6 -6
- package/es/components/RemoveModal/index.d.ts +2 -1
- package/es/components/Saving/Saving.d.ts +1 -1
- package/es/components/Saving/Saving.js +3 -3
- package/es/components/Saving/index.d.ts +2 -1
- package/es/components/SearchBar/SearchBar.d.ts +1 -1
- package/es/components/SearchBar/SearchBar.js +2 -2
- package/es/components/SearchBar/index.d.ts +8 -1
- package/es/components/SidePanel/SidePanel.d.ts +1 -1
- package/es/components/SidePanel/SidePanel.js +23 -11
- package/es/components/SidePanel/index.d.ts +8 -1
- package/es/components/SingleAddSelect/SingleAddSelect.d.ts +1 -2
- package/es/components/SingleAddSelect/SingleAddSelect.js +1 -1
- package/es/components/SingleAddSelect/index.d.ts +2 -1
- package/es/components/StatusIcon/StatusIcon.d.ts +1 -1
- package/es/components/StatusIcon/StatusIcon.js +1 -1
- package/es/components/StatusIcon/index.d.ts +8 -1
- package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +1 -2
- package/es/components/SteppedAnimatedMedia/index.d.ts +8 -1
- package/es/components/TagOverflow/TagOverflow.d.ts +3 -3
- package/es/components/TagOverflow/TagOverflow.js +4 -4
- package/es/components/TagOverflow/index.d.ts +8 -1
- package/es/components/TagSet/TagSet.d.ts +2 -2
- package/es/components/TagSet/TagSet.js +5 -5
- package/es/components/TagSet/index.d.ts +2 -1
- package/es/components/Tearsheet/Tearsheet.d.ts +2 -3
- package/es/components/Tearsheet/Tearsheet.js +5 -5
- package/es/components/Tearsheet/TearsheetNarrow.d.ts +3 -3
- package/es/components/Tearsheet/TearsheetNarrow.js +5 -5
- package/es/components/Tearsheet/TearsheetShell.js +10 -5
- package/es/components/Tearsheet/index.d.ts +10 -2
- package/es/components/Toolbar/Toolbar.d.ts +1 -1
- package/es/components/Toolbar/Toolbar.js +3 -3
- package/es/components/Toolbar/ToolbarButton.d.ts +2 -3
- package/es/components/Toolbar/ToolbarButton.js +3 -3
- package/es/components/Toolbar/ToolbarGroup.d.ts +1 -2
- package/es/components/Toolbar/ToolbarGroup.js +3 -3
- package/es/components/Toolbar/index.d.ts +12 -3
- package/es/components/TruncatedList/TruncatedList.d.ts +1 -2
- package/es/components/TruncatedList/TruncatedList.js +2 -2
- package/es/components/TruncatedList/index.d.ts +8 -1
- package/es/components/UserProfileImage/UserProfileImage.d.ts +3 -3
- package/es/components/UserProfileImage/UserProfileImage.js +5 -4
- package/es/components/UserProfileImage/index.d.ts +2 -1
- package/es/components/WebTerminal/WebTerminal.d.ts +4 -4
- package/es/components/WebTerminal/WebTerminal.js +6 -6
- package/es/components/WebTerminal/WebTerminalContentWrapper.d.ts +2 -3
- package/es/components/WebTerminal/index.d.ts +11 -3
- package/es/components/index.d.ts +73 -72
- package/es/global/js/hooks/useFocus.d.ts +1 -1
- package/es/global/js/hooks/useFocus.js +5 -4
- package/es/global/js/package-settings.d.ts +2 -0
- package/es/global/js/package-settings.js +2 -0
- package/es/index.js +46 -44
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-9.js +2 -4
- package/es/settings.d.ts +2 -0
- package/lib/components/APIKeyModal/index.d.ts +2 -1
- package/lib/components/AboutModal/AboutModal.d.ts +1 -2
- package/lib/components/AboutModal/index.d.ts +8 -1
- package/lib/components/ActionSet/ActionSet.d.ts +1 -2
- package/lib/components/ActionSet/ActionSet.js +2 -2
- package/lib/components/ActionSet/index.d.ts +8 -1
- package/lib/components/AddSelect/AddSelectBody.js +2 -2
- package/lib/components/AddSelect/index.d.ts +2 -1
- package/lib/components/Card/Card.d.ts +1 -0
- package/lib/components/Card/Card.js +5 -2
- package/lib/components/Carousel/index.d.ts +9 -2
- package/lib/components/Cascade/Cascade.d.ts +1 -2
- package/lib/components/Cascade/Cascade.js +2 -2
- package/lib/components/Cascade/index.d.ts +2 -1
- package/lib/components/Checklist/Checklist.d.ts +2 -2
- package/lib/components/Checklist/Checklist.js +6 -6
- package/lib/components/Checklist/index.d.ts +8 -1
- package/lib/components/Coachmark/Coachmark.d.ts +1 -2
- package/lib/components/Coachmark/Coachmark.js +5 -5
- package/lib/components/Coachmark/index.d.ts +10 -3
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +2 -3
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +4 -3
- package/lib/components/CoachmarkBeacon/index.d.ts +8 -1
- package/lib/components/CoachmarkButton/CoachmarkButton.d.ts +1 -2
- package/lib/components/CoachmarkButton/CoachmarkButton.js +4 -2
- package/lib/components/CoachmarkButton/index.d.ts +8 -1
- package/lib/components/CoachmarkFixed/CoachmarkFixed.d.ts +1 -2
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +6 -5
- package/lib/components/CoachmarkFixed/index.d.ts +8 -1
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +1 -2
- package/lib/components/CoachmarkOverlayElement/index.d.ts +8 -1
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +1 -2
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +10 -6
- package/lib/components/CoachmarkOverlayElements/index.d.ts +8 -1
- package/lib/components/CoachmarkStack/CoachmarkStack.d.ts +67 -2
- package/lib/components/CoachmarkStack/CoachmarkStack.js +16 -9
- package/lib/components/CoachmarkStack/CoachmarkStackHome.d.ts +71 -2
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +19 -21
- package/lib/components/ComboButton/ComboButton.d.ts +1 -1
- package/lib/components/ComboButton/ComboButton.js +5 -5
- package/lib/components/ComboButton/index.d.ts +9 -2
- package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +0 -1
- package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +27 -19
- package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +4 -17
- package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +29 -36
- package/lib/components/CreateFullPage/CreateFullPage.d.ts +1 -1
- package/lib/components/CreateFullPage/CreateFullPage.js +5 -5
- package/lib/components/CreateFullPage/index.d.ts +9 -2
- package/lib/components/CreateModal/CreateModal.d.ts +2 -3
- package/lib/components/CreateModal/CreateModal.js +1 -1
- package/lib/components/CreateModal/index.d.ts +2 -1
- package/lib/components/CreateSidePanel/CreateSidePanel.js +1 -1
- package/lib/components/CreateSidePanel/index.d.ts +7 -1
- package/lib/components/CreateTearsheet/CreateTearsheet.d.ts +2 -2
- package/lib/components/CreateTearsheet/CreateTearsheet.js +4 -4
- package/lib/components/CreateTearsheet/index.d.ts +10 -3
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +1 -1
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +2 -2
- package/lib/components/CreateTearsheetNarrow/index.d.ts +8 -1
- package/lib/components/DataSpreadsheet/DataSpreadsheet.d.ts +3 -4
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +11 -10
- package/lib/components/DataSpreadsheet/index.d.ts +8 -1
- package/lib/components/Datagrid/Datagrid/DatagridContent.js +1 -1
- package/lib/components/Datagrid/Datagrid/DatagridRow.js +7 -5
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +2 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +4 -4
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.d.ts +3 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +10 -3
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +2 -1
- package/lib/components/Datagrid/Datagrid/addons/stateReducer.d.ts +7 -0
- package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +70 -26
- package/lib/components/Datagrid/types/index.d.ts +2 -0
- package/lib/components/Datagrid/useNestedRowExpander.js +64 -15
- package/lib/components/Datagrid/useRowRenderer.js +44 -2
- package/lib/components/Datagrid/useSortableColumns.js +14 -1
- package/lib/components/DelimitedList/DelimitedList.d.ts +1 -2
- package/lib/components/DelimitedList/index.d.ts +8 -1
- package/lib/components/EditFullPage/EditFullPage.d.ts +1 -2
- package/lib/components/EditFullPage/index.d.ts +8 -1
- package/lib/components/EditInPlace/EditInPlace.d.ts +5 -1
- package/lib/components/EditInPlace/EditInPlace.js +10 -4
- package/lib/components/EditInPlace/index.d.ts +8 -1
- package/lib/components/EditSidePanel/EditSidePanel.d.ts +2 -3
- package/lib/components/EditSidePanel/EditSidePanel.js +3 -3
- package/lib/components/EditSidePanel/index.d.ts +8 -1
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +1 -2
- package/lib/components/EditTearsheetNarrow/index.d.ts +8 -1
- package/lib/components/EditUpdateCards/EditUpdateCards.d.ts +1 -1
- package/lib/components/EditUpdateCards/EditUpdateCards.js +2 -1
- package/lib/components/EditUpdateCards/index.d.ts +8 -1
- package/lib/components/ExportModal/ExportModal.d.ts +3 -3
- package/lib/components/ExportModal/ExportModal.js +3 -3
- package/lib/components/ExportModal/index.d.ts +2 -1
- package/lib/components/ExpressiveCard/ExpressiveCard.d.ts +1 -1
- package/lib/components/ExpressiveCard/ExpressiveCard.js +1 -1
- package/lib/components/ExpressiveCard/index.d.ts +2 -1
- package/lib/components/FeatureFlags/index.d.ts +26 -21
- package/lib/components/FeatureFlags/index.js +1 -10
- package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +1 -1
- package/lib/components/FilterSummary/FilterSummary.d.ts +1 -1
- package/lib/components/FilterSummary/FilterSummary.js +7 -8
- package/lib/components/FilterSummary/index.d.ts +8 -1
- package/lib/components/FullPageError/FullPageError.d.ts +1 -2
- package/lib/components/FullPageError/FullPageError.js +10 -7
- package/lib/components/FullPageError/assets/Error403SVG.d.ts +3 -1
- package/lib/components/FullPageError/assets/Error403SVG.js +6 -3
- package/lib/components/FullPageError/assets/Error404SVG.d.ts +3 -1
- package/lib/components/FullPageError/assets/Error404SVG.js +6 -3
- package/lib/components/FullPageError/assets/ErrorGenericSVG.d.ts +3 -1
- package/lib/components/FullPageError/assets/ErrorGenericSVG.js +6 -3
- package/lib/components/FullPageError/index.d.ts +8 -1
- package/lib/components/GetStartedCard/GetStartedCard.d.ts +1 -1
- package/lib/components/GetStartedCard/index.d.ts +8 -1
- package/lib/components/Guidebanner/Guidebanner.d.ts +1 -2
- package/lib/components/Guidebanner/Guidebanner.js +18 -17
- package/lib/components/Guidebanner/GuidebannerElement.d.ts +1 -2
- package/lib/components/Guidebanner/GuidebannerElementButton.d.ts +2 -3
- package/lib/components/Guidebanner/GuidebannerElementButton.js +2 -2
- package/lib/components/Guidebanner/GuidebannerElementLink.d.ts +2 -3
- package/lib/components/Guidebanner/GuidebannerElementLink.js +1 -1
- package/lib/components/Guidebanner/index.d.ts +14 -4
- package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +2 -1
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +2 -1
- package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +1 -0
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.d.ts +3 -1
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.js +6 -3
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.d.ts +3 -1
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.js +6 -3
- package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.d.ts +3 -1
- package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.js +6 -3
- package/lib/components/ImportModal/ImportModal.d.ts +1 -1
- package/lib/components/ImportModal/ImportModal.js +3 -3
- package/lib/components/ImportModal/index.d.ts +2 -1
- package/lib/components/InlineTip/InlineTip.d.ts +1 -1
- package/lib/components/InlineTip/InlineTip.js +4 -4
- package/lib/components/InlineTip/InlineTipButton.d.ts +1 -2
- package/lib/components/InlineTip/InlineTipButton.js +1 -1
- package/lib/components/InlineTip/InlineTipLink.d.ts +1 -2
- package/lib/components/InlineTip/InlineTipLink.js +2 -2
- package/lib/components/InlineTip/index.d.ts +12 -3
- package/lib/components/InterstitialScreen/InterstitialScreen.d.ts +1 -1
- package/lib/components/InterstitialScreen/InterstitialScreen.js +6 -5
- package/lib/components/InterstitialScreen/index.d.ts +8 -1
- package/lib/components/InterstitialScreenView/InterstitialScreenView.d.ts +1 -2
- package/lib/components/InterstitialScreenView/index.d.ts +8 -1
- package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +1 -2
- package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +1 -1
- package/lib/components/InterstitialScreenViewModule/index.d.ts +8 -1
- package/lib/components/MultiAddSelect/MultiAddSelect.d.ts +1 -1
- package/lib/components/MultiAddSelect/MultiAddSelect.js +1 -1
- package/lib/components/MultiAddSelect/index.d.ts +2 -1
- package/lib/components/Nav/NavItem.js +9 -7
- package/lib/components/Nav/NavList.js +8 -6
- package/lib/components/NonLinearReading/NonLinearReading.d.ts +1 -1
- package/lib/components/NonLinearReading/NonLinearReading.js +2 -2
- package/lib/components/NonLinearReading/index.d.ts +8 -1
- package/lib/components/NotificationsPanel/NotificationsPanel.d.ts +2 -2
- package/lib/components/NotificationsPanel/NotificationsPanel.js +3 -3
- package/lib/components/NotificationsPanel/index.d.ts +8 -1
- package/lib/components/OptionsTile/OptionsTile.d.ts +2 -3
- package/lib/components/OptionsTile/OptionsTile.js +5 -6
- package/lib/components/OptionsTile/index.d.ts +8 -1
- package/lib/components/PageHeader/PageHeader.d.ts +2 -2
- package/lib/components/PageHeader/PageHeader.js +8 -8
- package/lib/components/PageHeader/index.d.ts +2 -1
- package/lib/components/ProductiveCard/ProductiveCard.d.ts +5 -1
- package/lib/components/ProductiveCard/ProductiveCard.js +8 -2
- package/lib/components/ProductiveCard/index.d.ts +2 -1
- package/lib/components/RemoveModal/RemoveModal.d.ts +3 -4
- package/lib/components/RemoveModal/RemoveModal.js +6 -6
- package/lib/components/RemoveModal/index.d.ts +2 -1
- package/lib/components/Saving/Saving.d.ts +1 -1
- package/lib/components/Saving/Saving.js +2 -2
- package/lib/components/Saving/index.d.ts +2 -1
- package/lib/components/SearchBar/SearchBar.d.ts +1 -1
- package/lib/components/SearchBar/SearchBar.js +1 -1
- package/lib/components/SearchBar/index.d.ts +8 -1
- package/lib/components/SidePanel/SidePanel.d.ts +1 -1
- package/lib/components/SidePanel/SidePanel.js +22 -10
- package/lib/components/SidePanel/index.d.ts +8 -1
- package/lib/components/SingleAddSelect/SingleAddSelect.d.ts +1 -2
- package/lib/components/SingleAddSelect/SingleAddSelect.js +1 -1
- package/lib/components/SingleAddSelect/index.d.ts +2 -1
- package/lib/components/StatusIcon/StatusIcon.d.ts +1 -1
- package/lib/components/StatusIcon/StatusIcon.js +1 -1
- package/lib/components/StatusIcon/index.d.ts +8 -1
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +1 -2
- package/lib/components/SteppedAnimatedMedia/index.d.ts +8 -1
- package/lib/components/TagOverflow/TagOverflow.d.ts +3 -3
- package/lib/components/TagOverflow/TagOverflow.js +4 -4
- package/lib/components/TagOverflow/index.d.ts +8 -1
- package/lib/components/TagSet/TagSet.d.ts +2 -2
- package/lib/components/TagSet/TagSet.js +4 -4
- package/lib/components/TagSet/index.d.ts +2 -1
- package/lib/components/Tearsheet/Tearsheet.d.ts +2 -3
- package/lib/components/Tearsheet/Tearsheet.js +4 -4
- package/lib/components/Tearsheet/TearsheetNarrow.d.ts +3 -3
- package/lib/components/Tearsheet/TearsheetNarrow.js +4 -4
- package/lib/components/Tearsheet/TearsheetShell.js +10 -5
- package/lib/components/Tearsheet/index.d.ts +10 -2
- package/lib/components/Toolbar/Toolbar.d.ts +1 -1
- package/lib/components/Toolbar/Toolbar.js +4 -4
- package/lib/components/Toolbar/ToolbarButton.d.ts +2 -3
- package/lib/components/Toolbar/ToolbarButton.js +4 -4
- package/lib/components/Toolbar/ToolbarGroup.d.ts +1 -2
- package/lib/components/Toolbar/ToolbarGroup.js +4 -4
- package/lib/components/Toolbar/index.d.ts +12 -3
- package/lib/components/TruncatedList/TruncatedList.d.ts +1 -2
- package/lib/components/TruncatedList/TruncatedList.js +2 -2
- package/lib/components/TruncatedList/index.d.ts +8 -1
- package/lib/components/UserProfileImage/UserProfileImage.d.ts +3 -3
- package/lib/components/UserProfileImage/UserProfileImage.js +5 -4
- package/lib/components/UserProfileImage/index.d.ts +2 -1
- package/lib/components/WebTerminal/WebTerminal.d.ts +4 -4
- package/lib/components/WebTerminal/WebTerminal.js +18 -18
- package/lib/components/WebTerminal/WebTerminalContentWrapper.d.ts +2 -3
- package/lib/components/WebTerminal/WebTerminalContentWrapper.js +4 -4
- package/lib/components/WebTerminal/index.d.ts +11 -3
- package/lib/components/index.d.ts +73 -72
- package/lib/global/js/hooks/useFocus.d.ts +1 -1
- package/lib/global/js/hooks/useFocus.js +5 -4
- package/lib/global/js/package-settings.d.ts +2 -0
- package/lib/global/js/package-settings.js +2 -0
- package/lib/index.js +169 -159
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-9.js +2 -4
- package/lib/settings.d.ts +2 -0
- package/package.json +9 -9
- package/scss/components/ConditionBuilder/styles/_conditionBuilderCondition.scss +2 -10
- package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +30 -10
- package/scss/components/Datagrid/styles/_useNestedRows.scss +1 -1
- package/telemetry.yml +1 -1
@@ -1 +1,2 @@
|
|
1
|
-
export { AddSelect } from
|
1
|
+
export { AddSelect } from './AddSelect';
|
2
|
+
export type { AddSelectProps } from './AddSelect';
|
@@ -55,6 +55,7 @@ interface CardProp extends PropsWithChildren {
|
|
55
55
|
secondaryButtonPlacement?: 'top' | 'bottom';
|
56
56
|
secondaryButtonText?: string;
|
57
57
|
sequence?: number;
|
58
|
+
iconDescription?: string;
|
58
59
|
/**
|
59
60
|
* **Experimental?** For all cases a `Slug` component can be provided.
|
60
61
|
* Clickable tiles only accept a boolean value of true and display a hollow slug.
|
@@ -25,7 +25,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
25
25
|
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
26
26
|
|
27
27
|
var _Incomplete, _CheckmarkOutline;
|
28
|
-
var _excluded = ["actionIcons", "actionsPlacement", "metadata", "children", "className", "clickZone", "description", "disabled", "footerActionIcon", "getStarted", "label", "media", "mediaPosition", "onClick", "onKeyDown", "onPrimaryButtonClick", "overflowActions", "overflowAriaLabel", "onSecondaryButtonClick", "pictogram", "primaryButtonDisabled", "primaryButtonHref", "primaryButtonIcon", "primaryButtonKind", "primaryButtonPlacement", "primaryButtonText", "productive", "secondaryButtonDisabled", "secondaryButtonHref", "secondaryButtonIcon", "secondaryButtonKind", "secondaryButtonPlacement", "secondaryButtonText", "slug", "status", "sequence", "title", "titleSize"],
|
28
|
+
var _excluded = ["actionIcons", "actionsPlacement", "metadata", "children", "className", "clickZone", "description", "disabled", "footerActionIcon", "getStarted", "label", "media", "mediaPosition", "onClick", "onKeyDown", "onPrimaryButtonClick", "overflowActions", "overflowAriaLabel", "onSecondaryButtonClick", "pictogram", "primaryButtonDisabled", "primaryButtonHref", "primaryButtonIcon", "primaryButtonKind", "primaryButtonPlacement", "primaryButtonText", "productive", "secondaryButtonDisabled", "secondaryButtonHref", "secondaryButtonIcon", "secondaryButtonKind", "secondaryButtonPlacement", "secondaryButtonText", "slug", "status", "sequence", "title", "titleSize", "iconDescription"],
|
29
29
|
_excluded2 = ["id"],
|
30
30
|
_excluded3 = ["id", "icon", "onClick", "iconDescription", "href"];
|
31
31
|
var componentName = 'Card';
|
@@ -80,6 +80,8 @@ var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
80
80
|
title = _ref.title,
|
81
81
|
_ref$titleSize = _ref.titleSize,
|
82
82
|
titleSize = _ref$titleSize === void 0 ? 'default' : _ref$titleSize,
|
83
|
+
_ref$iconDescription = _ref.iconDescription,
|
84
|
+
iconDescription = _ref$iconDescription === void 0 ? 'Options' : _ref$iconDescription,
|
83
85
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
84
86
|
var getIcons = function getIcons() {
|
85
87
|
return getStarted ? metadata : actionIcons;
|
@@ -109,7 +111,8 @@ var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
109
111
|
size: size,
|
110
112
|
direction: pos,
|
111
113
|
flipped: true,
|
112
|
-
"aria-label": overflowAriaLabel
|
114
|
+
"aria-label": overflowAriaLabel,
|
115
|
+
iconDescription: iconDescription
|
113
116
|
}, overflowActions.map(function (_ref2) {
|
114
117
|
var id = _ref2.id,
|
115
118
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref2, _excluded2);
|
@@ -1,2 +1,9 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2023, 2023
|
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
|
+
export { Carousel } from './Carousel';
|
8
|
+
export { CarouselItem } from './CarouselItem';
|
9
|
+
export type { CarouselProps } from './Carousel';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React, { ReactNode } from 'react';
|
2
|
-
interface CascadeProps {
|
2
|
+
export interface CascadeProps {
|
3
3
|
children: ReactNode;
|
4
4
|
/**
|
5
5
|
* Specify an optional className to be applied to
|
@@ -25,4 +25,3 @@ page as that will distract the user.
|
|
25
25
|
export declare let Cascade: React.ForwardRefExoticComponent<CascadeProps & {
|
26
26
|
children?: React.ReactNode;
|
27
27
|
} & React.RefAttributes<HTMLDivElement>>;
|
28
|
-
export {};
|
@@ -12,10 +12,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
13
|
var React = require('react');
|
14
14
|
var react = require('@carbon/react');
|
15
|
-
var cx = require('classnames');
|
16
15
|
var index = require('../../node_modules/prop-types/index.js');
|
17
|
-
var
|
16
|
+
var cx = require('classnames');
|
18
17
|
var devtools = require('../../global/js/utils/devtools.js');
|
18
|
+
var settings = require('../../settings.js');
|
19
19
|
|
20
20
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
21
21
|
|
@@ -1 +1,2 @@
|
|
1
|
-
export { Cascade } from
|
1
|
+
export { Cascade } from './Cascade';
|
2
|
+
export type { CascadeProps } from './Cascade';
|
@@ -11,9 +11,9 @@
|
|
11
11
|
* ModifiedTabs (ModifiedTabLabelNew, ModifiedTabLabelWithClose)
|
12
12
|
* PageHeader (PageHeaderTitle, PageHeaderUtils)
|
13
13
|
*/
|
14
|
-
import React, { ReactNode } from 'react';
|
15
14
|
import { IconButton } from '@carbon/react';
|
16
15
|
import { Kind, Theme } from './Checklist.types';
|
16
|
+
import React, { ReactNode } from 'react';
|
17
17
|
type Task = {
|
18
18
|
kind: Kind;
|
19
19
|
label: string;
|
@@ -23,7 +23,7 @@ type TaskList = {
|
|
23
23
|
title?: string;
|
24
24
|
tasks: Array<Task>;
|
25
25
|
};
|
26
|
-
interface ChecklistProps {
|
26
|
+
export interface ChecklistProps {
|
27
27
|
/**
|
28
28
|
* Define both `chartLabel` and `chartValue` to show the chart and its label together.
|
29
29
|
*/
|
@@ -10,17 +10,17 @@
|
|
10
10
|
Object.defineProperty(exports, '__esModule', { value: true });
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
|
+
var react = require('@carbon/react');
|
14
|
+
var Checklist_types = require('./Checklist.types.js');
|
13
15
|
var React = require('react');
|
16
|
+
var ChecklistChart = require('./ChecklistChart.js');
|
17
|
+
var ChecklistIcon = require('./ChecklistIcon.js');
|
18
|
+
var icons = require('@carbon/react/icons');
|
14
19
|
var index = require('../../node_modules/prop-types/index.js');
|
15
20
|
var cx = require('classnames');
|
16
21
|
var devtools = require('../../global/js/utils/devtools.js');
|
17
|
-
var uuidv4 = require('../../global/js/utils/uuidv4.js');
|
18
22
|
var settings = require('../../settings.js');
|
19
|
-
var
|
20
|
-
var icons = require('@carbon/react/icons');
|
21
|
-
var ChecklistIcon = require('./ChecklistIcon.js');
|
22
|
-
var ChecklistChart = require('./ChecklistChart.js');
|
23
|
-
var Checklist_types = require('./Checklist.types.js');
|
23
|
+
var uuidv4 = require('../../global/js/utils/uuidv4.js');
|
24
24
|
|
25
25
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
26
26
|
|
@@ -1 +1,8 @@
|
|
1
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2023, 2023
|
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
|
+
export { Checklist } from './Checklist';
|
8
|
+
export type { ChecklistProps } from './Checklist';
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
import React, { MutableRefObject, ReactNode } from 'react';
|
8
|
-
interface CoachmarkProps {
|
8
|
+
export interface CoachmarkProps {
|
9
9
|
/**
|
10
10
|
* Where to render the Coachmark relative to its target.
|
11
11
|
* Applies only to Floating and Tooltip Coachmarks.
|
@@ -72,4 +72,3 @@ interface CoachmarkProps {
|
|
72
72
|
* user to gain understanding of the product's main value and discover new use cases.
|
73
73
|
*/
|
74
74
|
export declare let Coachmark: React.ForwardRefExoticComponent<CoachmarkProps & React.RefAttributes<HTMLElement>>;
|
75
|
-
export {};
|
@@ -11,13 +11,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
13
|
var React = require('react');
|
14
|
-
var
|
14
|
+
var hooks = require('./utils/hooks.js');
|
15
|
+
var enums = require('./utils/enums.js');
|
16
|
+
var context = require('./utils/context.js');
|
17
|
+
var CoachmarkOverlay = require('./CoachmarkOverlay.js');
|
15
18
|
var index = require('../../node_modules/prop-types/index.js');
|
16
19
|
var reactDom = require('react-dom');
|
17
|
-
var
|
18
|
-
var context = require('./utils/context.js');
|
19
|
-
var enums = require('./utils/enums.js');
|
20
|
-
var hooks = require('./utils/hooks.js');
|
20
|
+
var cx = require('classnames');
|
21
21
|
var devtools = require('../../global/js/utils/devtools.js');
|
22
22
|
var settings = require('../../settings.js');
|
23
23
|
var lodash = require('lodash');
|
@@ -1,3 +1,10 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2023, 2024
|
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
|
+
export { Coachmark } from './Coachmark';
|
8
|
+
export { BEACON_KIND, COACHMARK_OVERLAY_KIND, COACHMARK_ALIGNMENT, } from './utils/enums';
|
9
|
+
export { useCoachmark } from './utils/context';
|
10
|
+
export type { CoachmarkProps } from './Coachmark';
|
@@ -4,9 +4,9 @@
|
|
4
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
|
-
import React from 'react';
|
8
7
|
import { BEACON_KIND } from '../Coachmark';
|
9
|
-
|
8
|
+
import React from 'react';
|
9
|
+
export interface CoachmarkBeaconProps {
|
10
10
|
/**
|
11
11
|
* Optional class name for this component.
|
12
12
|
*/
|
@@ -26,4 +26,3 @@ interface CoachmarkBeaconProps {
|
|
26
26
|
* Use beacon for the target prop of a Coachmark component.
|
27
27
|
*/
|
28
28
|
export declare let CoachmarkBeacon: React.ForwardRefExoticComponent<CoachmarkBeaconProps & React.RefAttributes<HTMLDivElement>>;
|
29
|
-
export {};
|
@@ -10,12 +10,13 @@
|
|
10
10
|
Object.defineProperty(exports, '__esModule', { value: true });
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
|
-
|
13
|
+
require('../Coachmark/Coachmark.js');
|
14
|
+
var context = require('../Coachmark/utils/context.js');
|
14
15
|
var index = require('../../node_modules/prop-types/index.js');
|
16
|
+
var React = require('react');
|
15
17
|
var cx = require('classnames');
|
16
18
|
var devtools = require('../../global/js/utils/devtools.js');
|
17
19
|
var settings = require('../../settings.js');
|
18
|
-
var context = require('../Coachmark/utils/context.js');
|
19
20
|
|
20
21
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
21
22
|
|
@@ -57,7 +58,7 @@ exports.CoachmarkBeacon = /*#__PURE__*/React__default["default"].forwardRef(func
|
|
57
58
|
className: "".concat(blockClass, "__target")
|
58
59
|
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
59
60
|
className: "".concat(blockClass, "__center")
|
60
|
-
}, _circle || (_circle = /*#__PURE__*/React__default["default"].createElement("circle", {
|
61
|
+
}, /*#__PURE__*/React__default["default"].createElement("title", null, label), _circle || (_circle = /*#__PURE__*/React__default["default"].createElement("circle", {
|
61
62
|
r: 1,
|
62
63
|
cx: 38,
|
63
64
|
cy: 38
|
@@ -1 +1,8 @@
|
|
1
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2023, 2024
|
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
|
+
export { CoachmarkBeacon } from './CoachmarkBeacon';
|
8
|
+
export type { CoachmarkBeaconProps } from './CoachmarkBeacon';
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
import React from 'react';
|
8
|
-
interface CoachmarkButtonProps {
|
8
|
+
export interface CoachmarkButtonProps {
|
9
9
|
/**
|
10
10
|
* Provide an optional class to be applied to the containing node.
|
11
11
|
*/
|
@@ -19,4 +19,3 @@ interface CoachmarkButtonProps {
|
|
19
19
|
* Use CoachmarkButton for the target prop of a Coachmark component.
|
20
20
|
*/
|
21
21
|
export declare let CoachmarkButton: React.ForwardRefExoticComponent<CoachmarkButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
22
|
-
export {};
|
@@ -10,12 +10,13 @@
|
|
10
10
|
Object.defineProperty(exports, '__esModule', { value: true });
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
|
-
var
|
13
|
+
var react = require('@carbon/react');
|
14
14
|
var index = require('../../node_modules/prop-types/index.js');
|
15
|
+
var React = require('react');
|
15
16
|
var cx = require('classnames');
|
16
17
|
var devtools = require('../../global/js/utils/devtools.js');
|
17
18
|
var settings = require('../../settings.js');
|
18
|
-
|
19
|
+
require('../Coachmark/Coachmark.js');
|
19
20
|
var context = require('../Coachmark/utils/context.js');
|
20
21
|
|
21
22
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
@@ -25,6 +26,7 @@ var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
|
25
26
|
|
26
27
|
var _div;
|
27
28
|
var _excluded = ["className", "label"];
|
29
|
+
|
28
30
|
// Carbon and package components we use.
|
29
31
|
/* TODO: @import(s) of carbon components and other package components. */
|
30
32
|
|
@@ -1 +1,8 @@
|
|
1
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2023, 2024
|
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
|
+
export { CoachmarkButton } from './CoachmarkButton';
|
8
|
+
export type { CoachmarkButtonProps } from './CoachmarkButton';
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
import React, { ReactNode } from 'react';
|
8
|
-
interface CoachmarkFixedProps {
|
8
|
+
export interface CoachmarkFixedProps {
|
9
9
|
/**
|
10
10
|
* CoachmarkFixed should use a single CoachmarkOverlayElements component as a child.
|
11
11
|
*/
|
@@ -45,4 +45,3 @@ interface CoachmarkFixedProps {
|
|
45
45
|
* This variant allows the a coachmark overlay to be displayed by interacting with the tagline.
|
46
46
|
*/
|
47
47
|
export declare let CoachmarkFixed: React.ForwardRefExoticComponent<CoachmarkFixedProps & React.RefAttributes<HTMLDivElement>>;
|
48
|
-
export {};
|
@@ -11,15 +11,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
13
|
var React = require('react');
|
14
|
+
var enums = require('../Coachmark/utils/enums.js');
|
15
|
+
var context = require('../Coachmark/utils/context.js');
|
16
|
+
var CoachmarkOverlay = require('../Coachmark/CoachmarkOverlay.js');
|
17
|
+
var CoachmarkTagline = require('../Coachmark/CoachmarkTagline.js');
|
14
18
|
var index = require('../../node_modules/prop-types/index.js');
|
19
|
+
var reactDom = require('react-dom');
|
15
20
|
var cx = require('classnames');
|
16
21
|
var devtools = require('../../global/js/utils/devtools.js');
|
17
22
|
var settings = require('../../settings.js');
|
18
|
-
var reactDom = require('react-dom');
|
19
|
-
var CoachmarkOverlay = require('../Coachmark/CoachmarkOverlay.js');
|
20
|
-
var CoachmarkTagline = require('../Coachmark/CoachmarkTagline.js');
|
21
|
-
var context = require('../Coachmark/utils/context.js');
|
22
|
-
var enums = require('../Coachmark/utils/enums.js');
|
23
23
|
var framerMotion = require('framer-motion');
|
24
24
|
var useIsomorphicEffect = require('../../global/js/hooks/useIsomorphicEffect.js');
|
25
25
|
|
@@ -29,6 +29,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
29
29
|
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
30
30
|
|
31
31
|
var _excluded = ["children", "className", "onClose", "portalTarget", "tagline", "theme"];
|
32
|
+
|
32
33
|
// Carbon and package components we use.
|
33
34
|
/* TODO: @import(s) of carbon components and other package components. */
|
34
35
|
|
@@ -1 +1,8 @@
|
|
1
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2023, 2024
|
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
|
+
export { CoachmarkFixed } from './CoachmarkFixed';
|
8
|
+
export type { CoachmarkFixedProps } from './CoachmarkFixed';
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
import React, { ReactNode } from 'react';
|
8
|
-
interface CoachmarkOverlayElementProps {
|
8
|
+
export interface CoachmarkOverlayElementProps {
|
9
9
|
/**
|
10
10
|
* An optional button can be rendered below the description.
|
11
11
|
* This can be a link, button, Coachmark button, etc.
|
@@ -30,4 +30,3 @@ interface CoachmarkOverlayElementProps {
|
|
30
30
|
* in a carousel fashion.
|
31
31
|
*/
|
32
32
|
export declare let CoachmarkOverlayElement: React.ForwardRefExoticComponent<CoachmarkOverlayElementProps & React.RefAttributes<HTMLDivElement>>;
|
33
|
-
export {};
|
@@ -1 +1,8 @@
|
|
1
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2023, 2024
|
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
|
+
export { CoachmarkOverlayElement } from './CoachmarkOverlayElement';
|
8
|
+
export type { CoachmarkOverlayElementProps } from './CoachmarkOverlayElement';
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
import React, { ReactNode } from 'react';
|
8
|
-
interface CoachmarkOverlayElementsProps {
|
8
|
+
export interface CoachmarkOverlayElementsProps {
|
9
9
|
/**
|
10
10
|
* CoachmarkOverlayElements should be used with one or many CoachmarkOverlayElement components as children.
|
11
11
|
* @see CoachmarkOverlayElement
|
@@ -47,4 +47,3 @@ interface CoachmarkOverlayElementsProps {
|
|
47
47
|
* components in a carousel fashion.
|
48
48
|
*/
|
49
49
|
export declare let CoachmarkOverlayElements: React.ForwardRefExoticComponent<CoachmarkOverlayElementsProps & React.RefAttributes<HTMLDivElement>>;
|
50
|
-
export {};
|
@@ -10,17 +10,19 @@
|
|
10
10
|
Object.defineProperty(exports, '__esModule', { value: true });
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
|
+
var react = require('@carbon/react');
|
13
14
|
var React = require('react');
|
15
|
+
var Carousel = require('../Carousel/Carousel.js');
|
16
|
+
require('../Carousel/CarouselItem.js');
|
14
17
|
var index = require('../../node_modules/prop-types/index.js');
|
18
|
+
var SteppedAnimatedMedia = require('../SteppedAnimatedMedia/SteppedAnimatedMedia.js');
|
19
|
+
var lodash = require('lodash');
|
15
20
|
var cx = require('classnames');
|
16
21
|
var devtools = require('../../global/js/utils/devtools.js');
|
17
|
-
var settings = require('../../settings.js');
|
18
|
-
var react = require('@carbon/react');
|
19
|
-
var lodash = require('lodash');
|
20
22
|
var pconsole = require('../../global/js/utils/pconsole.js');
|
23
|
+
var settings = require('../../settings.js');
|
24
|
+
require('../Coachmark/Coachmark.js');
|
21
25
|
var context = require('../Coachmark/utils/context.js');
|
22
|
-
var SteppedAnimatedMedia = require('../SteppedAnimatedMedia/SteppedAnimatedMedia.js');
|
23
|
-
var Carousel = require('../Carousel/Carousel.js');
|
24
26
|
|
25
27
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
26
28
|
|
@@ -28,6 +30,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
28
30
|
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
29
31
|
|
30
32
|
var _excluded = ["className", "children", "isVisible", "media", "nextButtonText", "previousButtonLabel", "closeButtonLabel"];
|
33
|
+
|
31
34
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
32
35
|
var blockClass = "".concat(settings.pkg.prefix, "--coachmark-overlay-elements");
|
33
36
|
var componentName = 'CoachmarkOverlayElements';
|
@@ -80,7 +83,8 @@ exports.CoachmarkOverlayElements = /*#__PURE__*/React__default["default"].forwar
|
|
80
83
|
var setCurrentProgStep = function setCurrentProgStep(value) {
|
81
84
|
if (currentProgStep > 0 && value === 0 && buttonFocusRef.current) {
|
82
85
|
setTimeout(function () {
|
83
|
-
|
86
|
+
var _buttonFocusRef$curre;
|
87
|
+
(_buttonFocusRef$curre = buttonFocusRef.current) === null || _buttonFocusRef$curre === void 0 || _buttonFocusRef$curre.focus();
|
84
88
|
}, 1000);
|
85
89
|
}
|
86
90
|
_setCurrentProgStep(value);
|
@@ -1 +1,8 @@
|
|
1
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2023, 2024
|
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
|
+
export { CoachmarkOverlayElements } from './CoachmarkOverlayElements';
|
8
|
+
export type { CoachmarkOverlayElementsProps } from './CoachmarkOverlayElements';
|
@@ -1,8 +1,73 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2023, 2024
|
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
|
+
import React, { ReactNode } from 'react';
|
8
|
+
type Media = {
|
9
|
+
render?: () => ReactNode;
|
10
|
+
} | {
|
11
|
+
filePaths?: string[];
|
12
|
+
};
|
13
|
+
interface CoachmarkStackProps {
|
14
|
+
/**
|
15
|
+
* CoachmarkStack should use a single CoachmarkOverlayElements component as a child.
|
16
|
+
*/
|
17
|
+
children: ReactNode;
|
18
|
+
/**
|
19
|
+
* Provide an optional class to be applied to the containing node.
|
20
|
+
*/
|
21
|
+
className?: string;
|
22
|
+
/**
|
23
|
+
* The label for the button that will close the Stack
|
24
|
+
*/
|
25
|
+
closeButtonLabel?: string;
|
26
|
+
/**
|
27
|
+
* The description of the Coachmark.
|
28
|
+
*/
|
29
|
+
description: ReactNode;
|
30
|
+
/**
|
31
|
+
* The object describing an image in one of two shapes.
|
32
|
+
*
|
33
|
+
* If a single media element is required, use `{render}`.
|
34
|
+
*
|
35
|
+
* If a stepped animation is required, use `{filePaths}`.
|
36
|
+
*
|
37
|
+
* @see {@link MEDIA_PROP_TYPE}.
|
38
|
+
*/
|
39
|
+
media?: Media;
|
40
|
+
/**
|
41
|
+
* The labels used to link to the stackable Coachmarks.
|
42
|
+
*/
|
43
|
+
navLinkLabels: string[];
|
44
|
+
/**
|
45
|
+
* Function to call when the CoachmarkStack closes.
|
46
|
+
*/
|
47
|
+
onClose?: () => void;
|
48
|
+
/**
|
49
|
+
* Where in the DOM to render the stack.
|
50
|
+
* The default is `document.body`.
|
51
|
+
*/
|
52
|
+
portalTarget?: string;
|
53
|
+
/**
|
54
|
+
* The tagline title which will be fixed to the bottom right of the window and will serve as the display trigger.
|
55
|
+
*/
|
56
|
+
tagline: string;
|
57
|
+
/**
|
58
|
+
* Determines the theme of the component.
|
59
|
+
*/
|
60
|
+
theme?: 'light' | 'dark';
|
61
|
+
/**
|
62
|
+
* The title of the Coachmark.
|
63
|
+
*/
|
64
|
+
title: string;
|
65
|
+
}
|
1
66
|
/**
|
2
67
|
* Stacked coachmarks are used to call out specific functionality or concepts
|
3
68
|
* within the UI that may not be intuitive but are important for the
|
4
69
|
* user to gain understanding of the product's main value and discover new use cases.
|
5
70
|
* This variant allows the stacking of multiple coachmark overlays to be displayed by interacting with the tagline.
|
6
71
|
*/
|
7
|
-
export let CoachmarkStack: React.ForwardRefExoticComponent<React.RefAttributes<
|
8
|
-
|
72
|
+
export declare let CoachmarkStack: React.ForwardRefExoticComponent<CoachmarkStackProps & React.RefAttributes<HTMLDivElement>>;
|
73
|
+
export {};
|
@@ -40,7 +40,8 @@ var elementBlockClass = "".concat(settings.pkg.prefix, "--coachmark-stack-elemen
|
|
40
40
|
var defaults = {
|
41
41
|
onClose: function onClose() {},
|
42
42
|
// Pass through to CoachmarkStackHome
|
43
|
-
theme: 'light'
|
43
|
+
theme: 'light',
|
44
|
+
portalTarget: 'body'
|
44
45
|
};
|
45
46
|
|
46
47
|
// NOTE
|
@@ -72,12 +73,12 @@ exports.CoachmarkStack = /*#__PURE__*/React__default["default"].forwardRef(funct
|
|
72
73
|
theme = _ref$theme === void 0 ? defaults.theme : _ref$theme,
|
73
74
|
title = _ref.title,
|
74
75
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
75
|
-
var portalNode = React.useRef();
|
76
|
+
var portalNode = React.useRef(null);
|
76
77
|
useIsomorphicEffect.useIsomorphicEffect(function () {
|
77
78
|
var _document$querySelect, _document, _document2, _document3;
|
78
79
|
portalNode.current = portalTarget ? (_document$querySelect = (_document = document) === null || _document === void 0 ? void 0 : _document.querySelector(portalTarget)) !== null && _document$querySelect !== void 0 ? _document$querySelect : (_document2 = document) === null || _document2 === void 0 ? void 0 : _document2.querySelector('body') : (_document3 = document) === null || _document3 === void 0 ? void 0 : _document3.querySelector('body');
|
79
80
|
}, [portalTarget]);
|
80
|
-
var stackHomeRef = React.useRef();
|
81
|
+
var stackHomeRef = React.useRef(null);
|
81
82
|
var stackedCoachmarkRefs = React.useRef([]);
|
82
83
|
var _useState = React.useState(false),
|
83
84
|
_useState2 = _rollupPluginBabelHelpers.slicedToArray(_useState, 2),
|
@@ -91,7 +92,7 @@ exports.CoachmarkStack = /*#__PURE__*/React__default["default"].forwardRef(funct
|
|
91
92
|
selectedItemNumber = _useState4[0],
|
92
93
|
setSelectedItemNumber = _useState4[1];
|
93
94
|
// // The parent height and width values to return to after unstacked
|
94
|
-
var _useState5 = React.useState(
|
95
|
+
var _useState5 = React.useState(),
|
95
96
|
_useState6 = _rollupPluginBabelHelpers.slicedToArray(_useState5, 2),
|
96
97
|
parentHeight = _useState6[0],
|
97
98
|
setParentHeight = _useState6[1];
|
@@ -172,14 +173,20 @@ exports.CoachmarkStack = /*#__PURE__*/React__default["default"].forwardRef(funct
|
|
172
173
|
if (!parentHeight) {
|
173
174
|
return;
|
174
175
|
}
|
175
|
-
stackHomeRef.current
|
176
|
+
if (stackHomeRef.current) {
|
177
|
+
stackHomeRef.current.style.height = "".concat(parentHeight, "px");
|
178
|
+
}
|
176
179
|
if (!isOpen || targetSelectedItem < 0) {
|
177
|
-
stackHomeRef.current
|
180
|
+
if (stackHomeRef.current) {
|
181
|
+
stackHomeRef.current.focus();
|
182
|
+
}
|
178
183
|
return;
|
179
184
|
}
|
180
185
|
var targetHomeHeight = stackedCoachmarkRefs.current[targetSelectedItem].clientHeight;
|
181
|
-
stackHomeRef.current
|
182
|
-
|
186
|
+
if (stackHomeRef.current) {
|
187
|
+
stackHomeRef.current.style.height = "".concat(targetHomeHeight, "px");
|
188
|
+
stackedCoachmarkRefs.current[targetSelectedItem].focus();
|
189
|
+
}
|
183
190
|
}, [selectedItemNumber, isOpen, parentHeight]);
|
184
191
|
var wrappedChildren = React.Children.map(childArray, function (child, idx) {
|
185
192
|
var mountedClass = mountedRef.current ? "".concat(elementBlockClass, "--is-mounted") : '';
|
@@ -267,7 +274,7 @@ exports.CoachmarkStack.propTypes = {
|
|
267
274
|
/**
|
268
275
|
* The labels used to link to the stackable Coachmarks.
|
269
276
|
*/
|
270
|
-
navLinkLabels: index["default"].arrayOf(index["default"].string).isRequired,
|
277
|
+
navLinkLabels: index["default"].arrayOf(index["default"].string.isRequired).isRequired,
|
271
278
|
/**
|
272
279
|
* Function to call when the CoachmarkStack closes.
|
273
280
|
*/
|