@carbon/ibm-products 2.43.2-canary.18 → 2.43.2-canary.183
Sign up to get free protection for your applications and to get access to all the features.
- package/css/config-dev.css +6 -1
- package/css/config-dev.css.map +1 -1
- package/css/config.css +6 -1
- package/css/config.css.map +1 -1
- package/css/index-full-carbon.css +1798 -321
- 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 +279 -68
- 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 +1491 -257
- 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 +1775 -363
- 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.types.d.ts +7 -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/ActionBar/ActionBar.d.ts +58 -2
- package/es/components/ActionBar/ActionBar.js +14 -9
- package/es/components/ActionBar/ActionBarItem.d.ts +36 -2
- package/es/components/ActionBar/ActionBarItem.js +8 -5
- package/es/components/ActionBar/ActionBarOverflowItems.d.ts +55 -16
- package/es/components/ActionBar/ActionBarOverflowItems.js +8 -4
- 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/AddSelect/types/index.d.ts +6 -0
- package/es/components/Card/Card.d.ts +69 -2
- package/es/components/Card/Card.js +37 -39
- package/es/components/Card/CardFooter.d.ts +51 -48
- package/es/components/Card/CardFooter.js +4 -2
- package/es/components/Card/CardHeader.d.ts +67 -49
- package/es/components/Card/CardHeader.js +4 -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 +7 -3
- package/es/components/Coachmark/Coachmark.js +52 -16
- package/es/components/Coachmark/CoachmarkOverlay.js +2 -4
- package/es/components/Coachmark/index.d.ts +10 -3
- package/es/components/Coachmark/utils/enums.d.ts +6 -0
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +2 -3
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +5 -10
- 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 +19 -16
- 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 +22 -11
- package/es/components/CoachmarkStack/CoachmarkStackHome.d.ts +71 -2
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +25 -23
- 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 +100 -24
- package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +124 -79
- package/es/components/ConditionBuilder/ConditionBuilder.d.ts +9 -2
- package/es/components/ConditionBuilder/ConditionBuilder.js +85 -24
- package/es/components/ConditionBuilder/ConditionBuilder.types.d.ts +151 -0
- package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts +29 -0
- package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +154 -0
- package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.d.ts +62 -25
- package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +31 -29
- package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.d.ts +86 -30
- package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +36 -12
- package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.d.ts +29 -14
- package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +27 -18
- package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +22 -11
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +42 -26
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +102 -80
- package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.d.ts +10 -43
- package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +48 -34
- package/es/components/ConditionBuilder/ConditionBuilderContext/translationObject.d.ts +49 -36
- package/es/components/ConditionBuilder/ConditionBuilderContext/translationObject.js +49 -36
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +81 -27
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +121 -41
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.d.ts +27 -10
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +26 -12
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.d.ts +30 -12
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +33 -10
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +36 -0
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +121 -0
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.d.ts +33 -0
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/{ConditionBuilderItemOption.js → ItemOptionForValueField.js} +71 -38
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.d.ts +35 -10
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +24 -12
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.d.ts +25 -10
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +2 -2
- package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +44 -19
- package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +157 -65
- package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +30 -9
- package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +52 -21
- package/es/components/ConditionBuilder/utils/handleKeyboardEvents.d.ts +2 -1
- package/es/components/ConditionBuilder/utils/handleKeyboardEvents.js +152 -43
- package/es/components/ConditionBuilder/utils/useDataConfigs.d.ts +18 -0
- package/es/components/ConditionBuilder/utils/useDataConfigs.js +120 -0
- package/es/components/ConditionBuilder/utils/useTranslations.d.ts +1 -0
- package/es/components/ConditionBuilder/utils/useTranslations.js +29 -0
- package/es/components/ConditionBuilder/utils/util.d.ts +18 -4
- package/es/components/ConditionBuilder/utils/util.js +88 -17
- package/es/components/CreateFullPage/CreateFullPage.d.ts +1 -1
- package/es/components/CreateFullPage/CreateFullPage.js +7 -7
- package/es/components/CreateFullPage/CreateFullPageStep.d.ts +2 -2
- package/es/components/CreateFullPage/index.d.ts +10 -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 +7 -8
- 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 +29 -4
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +142 -61
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.d.ts +16 -0
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +32 -7
- package/es/components/DataSpreadsheet/DataSpreadsheetHeader.d.ts +8 -0
- package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +16 -3
- package/es/components/DataSpreadsheet/index.d.ts +8 -1
- package/es/components/DataSpreadsheet/types/index.d.ts +7 -0
- package/es/components/Datagrid/Datagrid/Datagrid.d.ts +0 -4
- package/es/components/Datagrid/Datagrid/Datagrid.js +4 -9
- package/es/components/Datagrid/Datagrid/DatagridBody.d.ts +6 -0
- package/es/components/Datagrid/Datagrid/DatagridContent.js +5 -4
- package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +23 -8
- package/es/components/Datagrid/Datagrid/DatagridRefBody.d.ts +6 -0
- package/es/components/Datagrid/Datagrid/DatagridRow.js +27 -12
- package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +6 -6
- package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +3 -2
- package/es/components/Datagrid/Datagrid/DatagridSimpleBody.d.ts +6 -0
- package/es/components/Datagrid/Datagrid/DatagridToolbar.js +8 -3
- package/es/components/Datagrid/Datagrid/DatagridVirtualBody.js +23 -12
- package/es/components/Datagrid/Datagrid/DraggableElement.d.ts +6 -0
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +43 -13
- 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 +16 -4
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +19 -9
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +6 -3
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +20 -12
- package/es/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +7 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +54 -17
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +2 -3
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +94 -28
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +10 -2
- 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/common-column-ids.d.ts +6 -0
- package/es/components/Datagrid/types/index.d.ts +50 -7
- package/es/components/Datagrid/useActionsColumn.js +1 -4
- package/es/components/Datagrid/useCustomizeColumns.d.ts +8 -1
- package/es/components/Datagrid/useCustomizeColumns.js +4 -3
- package/es/components/Datagrid/useDatagrid.d.ts +6 -0
- package/es/components/Datagrid/useDefaultStringRenderer.js +0 -1
- package/es/components/Datagrid/useDisableSelectRows.d.ts +8 -1
- package/es/components/Datagrid/useDisableSelectRows.js +27 -22
- package/es/components/Datagrid/useFiltering.d.ts +1 -0
- package/es/components/Datagrid/useFiltering.js +14 -3
- package/es/components/Datagrid/useInitialColumnSort.js +4 -0
- package/es/components/Datagrid/useInlineEdit.js +12 -2
- package/es/components/Datagrid/useNestedRowExpander.js +66 -19
- package/es/components/Datagrid/useNestedRows.js +5 -4
- package/es/components/Datagrid/useRowExpander.js +1 -3
- package/es/components/Datagrid/useRowIsMouseOver.d.ts +6 -0
- package/es/components/Datagrid/useRowRenderer.js +44 -2
- package/es/components/Datagrid/useSelectRows.js +2 -1
- package/es/components/Datagrid/useSortableColumns.d.ts +5 -4
- package/es/components/Datagrid/useSortableColumns.js +32 -14
- package/es/components/Datagrid/useStickyColumn.d.ts +8 -1
- package/es/components/Datagrid/useStickyColumn.js +12 -9
- 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 +9 -1
- package/es/components/EditInPlace/EditInPlace.js +38 -19
- 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/EditTearsheet/EditTearsheet.d.ts +7 -2
- package/es/components/EditTearsheet/EditTearsheet.js +44 -10
- package/es/components/EditTearsheet/EditTearsheetForm.d.ts +45 -2
- package/es/components/EditTearsheet/EditTearsheetForm.js +3 -0
- 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/EmptyStates/EmptyState.d.ts +72 -5
- package/es/components/EmptyStates/EmptyState.js +8 -5
- package/es/components/EmptyStates/EmptyStateV2.d.ts +63 -2
- package/es/components/EmptyStates/EmptyStateV2.js +3 -2
- 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 +35 -2
- package/es/components/FullPageError/FullPageError.js +10 -10
- 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 +60 -2
- package/es/components/GetStartedCard/GetStartedCard.js +11 -10
- 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 +8 -1
- package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +8 -1
- package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +7 -0
- package/es/components/HTTPErrors/assets/HTTPErrorSvg403.d.ts +3 -1
- package/es/components/HTTPErrors/assets/HTTPErrorSvg403.js +210 -203
- package/es/components/HTTPErrors/assets/HTTPErrorSvg404.d.ts +3 -1
- package/es/components/HTTPErrors/assets/HTTPErrorSvg404.js +122 -115
- package/es/components/HTTPErrors/assets/HTTPErrorSvgOther.d.ts +3 -1
- package/es/components/HTTPErrors/assets/HTTPErrorSvgOther.js +116 -109
- 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 +15 -3
- 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 +4 -2
- package/es/components/NotificationsPanel/NotificationsPanel.js +77 -7
- package/es/components/NotificationsPanel/index.d.ts +8 -1
- package/es/components/OptionsTile/OptionsTile.d.ts +2 -3
- package/es/components/OptionsTile/OptionsTile.js +15 -11
- package/es/components/OptionsTile/index.d.ts +8 -1
- package/es/components/PageHeader/PageHeader.d.ts +2 -2
- package/es/components/PageHeader/PageHeader.js +10 -9
- package/es/components/PageHeader/PageHeaderUtils.js +1 -1
- 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 +7 -4
- package/es/components/RemoveModal/RemoveModal.js +13 -7
- 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 +2 -2
- package/es/components/SearchBar/SearchBar.js +4 -4
- package/es/components/SearchBar/index.d.ts +8 -1
- package/es/components/SidePanel/SidePanel.d.ts +1 -1
- package/es/components/SidePanel/SidePanel.js +39 -31
- package/es/components/SidePanel/index.d.ts +8 -1
- package/es/components/SidePanel/motion/variants.d.ts +4 -6
- package/es/components/SidePanel/motion/variants.js +10 -11
- 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/StatusIndicator/StatusIndicatorStep.js +87 -0
- package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +1 -2
- package/es/components/SteppedAnimatedMedia/index.d.ts +8 -1
- package/es/components/StringFormatter/StringFormatter.js +14 -3
- package/es/components/StringFormatter/utils/enums.d.ts +20 -1
- package/es/components/StringFormatter/utils/enums.js +29 -2
- package/es/components/TagOverflow/TagOverflow.d.ts +35 -4
- package/es/components/TagOverflow/TagOverflow.js +51 -68
- package/es/components/TagOverflow/TagOverflowModal.js +4 -6
- package/es/components/TagOverflow/TagOverflowPopover.d.ts +13 -1
- package/es/components/TagOverflow/TagOverflowPopover.js +38 -41
- 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/TagSetOverflow.js +1 -1
- package/es/components/TagSet/index.d.ts +2 -1
- package/es/components/Tearsheet/Tearsheet.d.ts +4 -5
- 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.d.ts +1 -1
- package/es/components/Tearsheet/TearsheetShell.js +26 -10
- 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 +14 -4
- package/es/components/Toolbar/ToolbarButton.js +20 -12
- 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/UserAvatar/UserAvatar.d.ts +59 -1
- package/es/components/UserAvatar/UserAvatar.js +7 -23
- 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 +15 -17
- 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 +3 -2
- package/es/global/js/hooks/useFocus.js +48 -28
- package/es/global/js/hooks/usePrefersReducedMotion.js +14 -8
- package/es/global/js/package-settings.d.ts +3 -1
- package/es/global/js/package-settings.js +3 -1
- package/es/global/js/utils/keyboardNavigation.d.ts +27 -0
- package/es/global/js/utils/keyboardNavigation.js +37 -0
- package/es/global/js/utils/scrollableAncestor.js +7 -0
- package/es/global/js/utils/uuidv4.d.ts +6 -0
- package/es/global/js/utils/uuidv4.js +2 -0
- package/es/global/js/utils/wait.d.ts +6 -0
- package/es/global/js/utils/wait.js +2 -0
- package/es/global/js/utils/wrapFocus.d.ts +25 -0
- package/es/global/js/utils/wrapFocus.js +68 -0
- package/es/index.js +47 -44
- package/es/node_modules/@carbon/icon-helpers/es/index.js +49 -62
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-2.js +1020 -1058
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-9.js +879 -758
- package/es/settings.d.ts +3 -1
- package/flags.js +7 -0
- package/lib/components/APIKeyModal/APIKeyModal.types.d.ts +7 -1
- 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/ActionBar/ActionBar.d.ts +58 -2
- package/lib/components/ActionBar/ActionBar.js +14 -9
- package/lib/components/ActionBar/ActionBarItem.d.ts +36 -2
- package/lib/components/ActionBar/ActionBarItem.js +7 -4
- package/lib/components/ActionBar/ActionBarOverflowItems.d.ts +55 -16
- package/lib/components/ActionBar/ActionBarOverflowItems.js +8 -4
- 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/AddSelect/types/index.d.ts +6 -0
- package/lib/components/Card/Card.d.ts +69 -2
- package/lib/components/Card/Card.js +36 -38
- package/lib/components/Card/CardFooter.d.ts +51 -48
- package/lib/components/Card/CardFooter.js +4 -2
- package/lib/components/Card/CardHeader.d.ts +67 -49
- package/lib/components/Card/CardHeader.js +4 -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 +7 -3
- package/lib/components/Coachmark/Coachmark.js +51 -15
- package/lib/components/Coachmark/CoachmarkOverlay.js +2 -4
- package/lib/components/Coachmark/index.d.ts +10 -3
- package/lib/components/Coachmark/utils/enums.d.ts +6 -0
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +2 -3
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +5 -10
- 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 +19 -16
- 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 +22 -11
- package/lib/components/CoachmarkStack/CoachmarkStackHome.d.ts +71 -2
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +25 -23
- 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 +100 -24
- package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +129 -84
- package/lib/components/ConditionBuilder/ConditionBuilder.d.ts +9 -2
- package/lib/components/ConditionBuilder/ConditionBuilder.js +87 -26
- package/lib/components/ConditionBuilder/ConditionBuilder.types.d.ts +151 -0
- package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts +29 -0
- package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +163 -0
- package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.d.ts +62 -25
- package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +33 -30
- package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.d.ts +86 -30
- package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +34 -10
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.d.ts +29 -14
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +26 -17
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +25 -14
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +42 -26
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +106 -84
- package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.d.ts +10 -43
- package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +48 -34
- package/lib/components/ConditionBuilder/ConditionBuilderContext/translationObject.d.ts +49 -36
- package/lib/components/ConditionBuilder/ConditionBuilderContext/translationObject.js +49 -36
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +81 -27
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +121 -41
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.d.ts +27 -10
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +27 -13
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.d.ts +30 -12
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +34 -11
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +36 -0
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +129 -0
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.d.ts +33 -0
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/{ConditionBuilderItemOption.js → ItemOptionForValueField.js} +80 -47
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.d.ts +35 -10
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +23 -11
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.d.ts +25 -10
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +3 -3
- package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +44 -19
- package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +161 -69
- package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +30 -9
- package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +63 -31
- package/lib/components/ConditionBuilder/utils/handleKeyboardEvents.d.ts +2 -1
- package/lib/components/ConditionBuilder/utils/handleKeyboardEvents.js +153 -43
- package/lib/components/ConditionBuilder/utils/useDataConfigs.d.ts +18 -0
- package/lib/components/ConditionBuilder/utils/useDataConfigs.js +124 -0
- package/lib/components/ConditionBuilder/utils/useTranslations.d.ts +1 -0
- package/lib/components/ConditionBuilder/utils/useTranslations.js +33 -0
- package/lib/components/ConditionBuilder/utils/util.d.ts +18 -4
- package/lib/components/ConditionBuilder/utils/util.js +94 -16
- package/lib/components/CreateFullPage/CreateFullPage.d.ts +1 -1
- package/lib/components/CreateFullPage/CreateFullPage.js +7 -7
- package/lib/components/CreateFullPage/CreateFullPageStep.d.ts +2 -2
- package/lib/components/CreateFullPage/index.d.ts +10 -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 +7 -8
- 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 +29 -4
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +142 -61
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.d.ts +16 -0
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +32 -7
- package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.d.ts +8 -0
- package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +16 -3
- package/lib/components/DataSpreadsheet/index.d.ts +8 -1
- package/lib/components/DataSpreadsheet/types/index.d.ts +7 -0
- package/lib/components/Datagrid/Datagrid/Datagrid.d.ts +0 -4
- package/lib/components/Datagrid/Datagrid/Datagrid.js +4 -9
- package/lib/components/Datagrid/Datagrid/DatagridBody.d.ts +6 -0
- package/lib/components/Datagrid/Datagrid/DatagridContent.js +5 -4
- package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +23 -8
- package/lib/components/Datagrid/Datagrid/DatagridRefBody.d.ts +6 -0
- package/lib/components/Datagrid/Datagrid/DatagridRow.js +27 -12
- package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +6 -6
- package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +3 -2
- package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.d.ts +6 -0
- package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +8 -3
- package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +22 -11
- package/lib/components/Datagrid/Datagrid/DraggableElement.d.ts +6 -0
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +42 -12
- 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 +16 -4
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +18 -8
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +6 -3
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +20 -12
- package/lib/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +7 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +53 -16
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +2 -3
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +93 -27
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +10 -2
- 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/common-column-ids.d.ts +6 -0
- package/lib/components/Datagrid/types/index.d.ts +50 -7
- package/lib/components/Datagrid/useActionsColumn.js +1 -4
- package/lib/components/Datagrid/useCustomizeColumns.d.ts +8 -1
- package/lib/components/Datagrid/useCustomizeColumns.js +4 -3
- package/lib/components/Datagrid/useDatagrid.d.ts +6 -0
- package/lib/components/Datagrid/useDefaultStringRenderer.js +0 -1
- package/lib/components/Datagrid/useDisableSelectRows.d.ts +8 -1
- package/lib/components/Datagrid/useDisableSelectRows.js +27 -22
- package/lib/components/Datagrid/useFiltering.d.ts +1 -0
- package/lib/components/Datagrid/useFiltering.js +13 -1
- package/lib/components/Datagrid/useInitialColumnSort.js +4 -0
- package/lib/components/Datagrid/useInlineEdit.js +12 -2
- package/lib/components/Datagrid/useNestedRowExpander.js +65 -18
- package/lib/components/Datagrid/useNestedRows.js +5 -4
- package/lib/components/Datagrid/useRowExpander.js +1 -3
- package/lib/components/Datagrid/useRowIsMouseOver.d.ts +6 -0
- package/lib/components/Datagrid/useRowRenderer.js +44 -2
- package/lib/components/Datagrid/useSelectRows.js +2 -1
- package/lib/components/Datagrid/useSortableColumns.d.ts +5 -4
- package/lib/components/Datagrid/useSortableColumns.js +32 -14
- package/lib/components/Datagrid/useStickyColumn.d.ts +8 -1
- package/lib/components/Datagrid/useStickyColumn.js +12 -9
- 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 +9 -1
- package/lib/components/EditInPlace/EditInPlace.js +37 -18
- 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/EditTearsheet/EditTearsheet.d.ts +7 -2
- package/lib/components/EditTearsheet/EditTearsheet.js +43 -9
- package/lib/components/EditTearsheet/EditTearsheetForm.d.ts +45 -2
- package/lib/components/EditTearsheet/EditTearsheetForm.js +3 -0
- 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/EmptyStates/EmptyState.d.ts +72 -5
- package/lib/components/EmptyStates/EmptyState.js +8 -5
- package/lib/components/EmptyStates/EmptyStateV2.d.ts +63 -2
- package/lib/components/EmptyStates/EmptyStateV2.js +3 -2
- 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 +35 -2
- package/lib/components/FullPageError/FullPageError.js +10 -10
- 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 +60 -2
- package/lib/components/GetStartedCard/GetStartedCard.js +10 -9
- 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 +8 -1
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +8 -1
- package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +7 -0
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.d.ts +3 -1
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.js +210 -203
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.d.ts +3 -1
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.js +122 -115
- package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.d.ts +3 -1
- package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.js +116 -109
- 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 +18 -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 +4 -2
- package/lib/components/NotificationsPanel/NotificationsPanel.js +77 -7
- package/lib/components/NotificationsPanel/index.d.ts +8 -1
- package/lib/components/OptionsTile/OptionsTile.d.ts +2 -3
- package/lib/components/OptionsTile/OptionsTile.js +16 -12
- package/lib/components/OptionsTile/index.d.ts +8 -1
- package/lib/components/PageHeader/PageHeader.d.ts +2 -2
- package/lib/components/PageHeader/PageHeader.js +9 -8
- package/lib/components/PageHeader/PageHeaderUtils.js +1 -1
- 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 +7 -4
- package/lib/components/RemoveModal/RemoveModal.js +13 -7
- 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 +2 -2
- package/lib/components/SearchBar/SearchBar.js +3 -3
- package/lib/components/SearchBar/index.d.ts +8 -1
- package/lib/components/SidePanel/SidePanel.d.ts +1 -1
- package/lib/components/SidePanel/SidePanel.js +38 -30
- package/lib/components/SidePanel/index.d.ts +8 -1
- package/lib/components/SidePanel/motion/variants.d.ts +4 -6
- package/lib/components/SidePanel/motion/variants.js +10 -11
- 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/StatusIndicator/StatusIndicatorStep.js +94 -0
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +1 -2
- package/lib/components/SteppedAnimatedMedia/index.d.ts +8 -1
- package/lib/components/StringFormatter/StringFormatter.js +13 -2
- package/lib/components/StringFormatter/utils/enums.d.ts +20 -1
- package/lib/components/StringFormatter/utils/enums.js +30 -1
- package/lib/components/TagOverflow/TagOverflow.d.ts +35 -4
- package/lib/components/TagOverflow/TagOverflow.js +50 -67
- package/lib/components/TagOverflow/TagOverflowModal.js +4 -6
- package/lib/components/TagOverflow/TagOverflowPopover.d.ts +13 -1
- package/lib/components/TagOverflow/TagOverflowPopover.js +37 -40
- 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/TagSetOverflow.js +1 -1
- package/lib/components/TagSet/index.d.ts +2 -1
- package/lib/components/Tearsheet/Tearsheet.d.ts +4 -5
- 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.d.ts +1 -1
- package/lib/components/Tearsheet/TearsheetShell.js +24 -8
- 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 +14 -4
- package/lib/components/Toolbar/ToolbarButton.js +20 -11
- 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/UserAvatar/UserAvatar.d.ts +59 -1
- package/lib/components/UserAvatar/UserAvatar.js +7 -23
- 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 +28 -30
- 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 +3 -2
- package/lib/global/js/hooks/useFocus.js +48 -27
- package/lib/global/js/hooks/usePrefersReducedMotion.js +13 -7
- package/lib/global/js/package-settings.d.ts +3 -1
- package/lib/global/js/package-settings.js +3 -1
- package/lib/global/js/utils/keyboardNavigation.d.ts +27 -0
- package/lib/global/js/utils/keyboardNavigation.js +43 -0
- package/lib/global/js/utils/scrollableAncestor.js +7 -0
- package/lib/global/js/utils/uuidv4.d.ts +6 -0
- package/lib/global/js/utils/uuidv4.js +2 -0
- package/lib/global/js/utils/wait.d.ts +6 -0
- package/lib/global/js/utils/wait.js +2 -0
- package/lib/global/js/utils/wrapFocus.d.ts +25 -0
- package/lib/global/js/utils/wrapFocus.js +73 -0
- package/lib/index.js +172 -157
- package/lib/node_modules/@carbon/icon-helpers/es/index.js +49 -62
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-2.js +1036 -1074
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-9.js +944 -823
- package/lib/settings.d.ts +3 -1
- package/package.json +12 -11
- package/scss/components/Coachmark/_coachmark-overlay.scss +6 -70
- package/scss/components/Coachmark/_coachmark.scss +5 -4
- package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +1 -3
- package/scss/components/ConditionBuilder/_condition-builder.scss +9 -2
- package/scss/components/ConditionBuilder/styles/_conditionBuilderCondition.scss +30 -5
- package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +101 -24
- package/scss/components/ConditionBuilder/styles/_index.scss +7 -0
- package/scss/components/CreateModal/_create-modal.scss +0 -4
- package/scss/components/DataSpreadsheet/_data-spreadsheet.scss +16 -2
- package/scss/components/Datagrid/_datagrid.scss +0 -4
- package/scss/components/Datagrid/styles/_datagrid.scss +8 -0
- package/scss/components/Datagrid/styles/_useActionsColumn.scss +10 -7
- package/scss/components/Datagrid/styles/_useColumnRightAlign.scss +6 -7
- package/scss/components/Datagrid/styles/_useExpandedRow.scss +6 -7
- package/scss/components/Datagrid/styles/_useInlineEdit.scss +19 -7
- package/scss/components/Datagrid/styles/_useNestedRows.scss +7 -8
- package/scss/components/Datagrid/styles/_useNestedTable.scss +6 -7
- package/scss/components/Datagrid/styles/_useStickyColumn.scss +6 -7
- package/scss/components/Datagrid/styles/addons/_CustomizeColumnsTearsheet.scss +7 -5
- package/scss/components/Datagrid/styles/addons/_FilterFlyout.scss +5 -4
- package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +6 -7
- package/scss/components/EditInPlace/_edit-in-place.scss +2 -2
- package/scss/components/HTTPErrors/_http-errors.scss +77 -0
- package/scss/components/OptionsTile/_options-tile.scss +6 -6
- package/scss/components/SidePanel/_side-panel.scss +1 -1
- package/scss/components/_index-released-only.scss +1 -0
- package/scss/config-dev.scss +7 -0
- package/scss/config.scss +7 -0
- package/telemetry.yml +33 -19
- package/es/components/ConditionBuilder/ConditionBuilderContext/DataConfigs.d.ts +0 -22
- package/es/components/ConditionBuilder/ConditionBuilderContext/DataConfigs.js +0 -112
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ConditionBuilderItemOption.d.ts +0 -13
- package/es/components/ConditionBuilder/utils/checkForHoldingKey.d.ts +0 -1
- package/es/components/ConditionBuilder/utils/checkForHoldingKey.js +0 -16
- package/es/global/js/utils/window.d.ts +0 -2
- package/es/global/js/utils/window.js +0 -12
- package/lib/components/ConditionBuilder/ConditionBuilderContext/DataConfigs.d.ts +0 -22
- package/lib/components/ConditionBuilder/ConditionBuilderContext/DataConfigs.js +0 -121
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ConditionBuilderItemOption.d.ts +0 -13
- package/lib/components/ConditionBuilder/utils/checkForHoldingKey.d.ts +0 -1
- package/lib/components/ConditionBuilder/utils/checkForHoldingKey.js +0 -20
- package/lib/global/js/utils/window.d.ts +0 -2
- package/lib/global/js/utils/window.js +0 -16
@@ -5,7 +5,7 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
|
8
|
-
import { objectWithoutProperties as _objectWithoutProperties,
|
8
|
+
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends, objectSpread2 as _objectSpread2, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { forwardRef } from 'react';
|
10
10
|
import cx from 'classnames';
|
11
11
|
import { Layer, OverflowMenu, OverflowMenuItem, Button, IconButton } from '@carbon/react';
|
@@ -16,36 +16,21 @@ import { CardFooter } from './CardFooter.js';
|
|
16
16
|
import { pkg } from '../../settings.js';
|
17
17
|
|
18
18
|
var _Incomplete, _CheckmarkOutline;
|
19
|
-
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"],
|
19
|
+
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"],
|
20
20
|
_excluded2 = ["id"],
|
21
21
|
_excluded3 = ["id", "icon", "onClick", "iconDescription", "href"];
|
22
22
|
var componentName = 'Card';
|
23
|
-
|
24
|
-
// Default values for props
|
25
|
-
var defaults = {
|
26
|
-
actionIcons: Object.freeze([]),
|
27
|
-
actionsPlacement: 'bottom',
|
28
|
-
clickZone: 'one',
|
29
|
-
mediaPosition: 'top',
|
30
|
-
overflowActions: Object.freeze([]),
|
31
|
-
primaryButtonKind: 'primary',
|
32
|
-
primaryButtonPlacement: 'bottom',
|
33
|
-
productive: false,
|
34
|
-
secondaryButtonKind: 'secondary',
|
35
|
-
secondaryButtonPlacement: 'bottom',
|
36
|
-
titleSize: 'default'
|
37
|
-
};
|
38
23
|
var Card = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
39
24
|
var _ref$actionIcons = _ref.actionIcons,
|
40
|
-
actionIcons = _ref$actionIcons === void 0 ?
|
25
|
+
actionIcons = _ref$actionIcons === void 0 ? Object.freeze([]) : _ref$actionIcons,
|
41
26
|
_ref$actionsPlacement = _ref.actionsPlacement,
|
42
|
-
actionsPlacement = _ref$actionsPlacement === void 0 ?
|
27
|
+
actionsPlacement = _ref$actionsPlacement === void 0 ? 'bottom' : _ref$actionsPlacement,
|
43
28
|
_ref$metadata = _ref.metadata,
|
44
|
-
metadata = _ref$metadata === void 0 ?
|
29
|
+
metadata = _ref$metadata === void 0 ? Object.freeze([]) : _ref$metadata,
|
45
30
|
children = _ref.children,
|
46
31
|
className = _ref.className,
|
47
32
|
_ref$clickZone = _ref.clickZone,
|
48
|
-
clickZone = _ref$clickZone === void 0 ?
|
33
|
+
clickZone = _ref$clickZone === void 0 ? 'one' : _ref$clickZone,
|
49
34
|
description = _ref.description,
|
50
35
|
disabled = _ref.disabled,
|
51
36
|
footerActionIcon = _ref.footerActionIcon,
|
@@ -53,12 +38,12 @@ var Card = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
53
38
|
label = _ref.label,
|
54
39
|
media = _ref.media,
|
55
40
|
_ref$mediaPosition = _ref.mediaPosition,
|
56
|
-
mediaPosition = _ref$mediaPosition === void 0 ?
|
41
|
+
mediaPosition = _ref$mediaPosition === void 0 ? 'top' : _ref$mediaPosition,
|
57
42
|
onClick = _ref.onClick,
|
58
43
|
onKeyDown = _ref.onKeyDown,
|
59
44
|
onPrimaryButtonClick = _ref.onPrimaryButtonClick,
|
60
45
|
_ref$overflowActions = _ref.overflowActions,
|
61
|
-
overflowActions = _ref$overflowActions === void 0 ?
|
46
|
+
overflowActions = _ref$overflowActions === void 0 ? Object.freeze([]) : _ref$overflowActions,
|
62
47
|
overflowAriaLabel = _ref.overflowAriaLabel,
|
63
48
|
onSecondaryButtonClick = _ref.onSecondaryButtonClick,
|
64
49
|
Pictogram = _ref.pictogram,
|
@@ -66,26 +51,28 @@ var Card = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
66
51
|
primaryButtonHref = _ref.primaryButtonHref,
|
67
52
|
primaryButtonIcon = _ref.primaryButtonIcon,
|
68
53
|
_ref$primaryButtonKin = _ref.primaryButtonKind,
|
69
|
-
primaryButtonKind = _ref$primaryButtonKin === void 0 ?
|
54
|
+
primaryButtonKind = _ref$primaryButtonKin === void 0 ? 'primary' : _ref$primaryButtonKin,
|
70
55
|
_ref$primaryButtonPla = _ref.primaryButtonPlacement,
|
71
|
-
primaryButtonPlacement = _ref$primaryButtonPla === void 0 ?
|
56
|
+
primaryButtonPlacement = _ref$primaryButtonPla === void 0 ? 'bottom' : _ref$primaryButtonPla,
|
72
57
|
primaryButtonText = _ref.primaryButtonText,
|
73
58
|
_ref$productive = _ref.productive,
|
74
|
-
productive = _ref$productive === void 0 ?
|
59
|
+
productive = _ref$productive === void 0 ? false : _ref$productive,
|
75
60
|
secondaryButtonDisabled = _ref.secondaryButtonDisabled,
|
76
61
|
secondaryButtonHref = _ref.secondaryButtonHref,
|
77
62
|
secondaryButtonIcon = _ref.secondaryButtonIcon,
|
78
63
|
_ref$secondaryButtonK = _ref.secondaryButtonKind,
|
79
|
-
secondaryButtonKind = _ref$secondaryButtonK === void 0 ?
|
64
|
+
secondaryButtonKind = _ref$secondaryButtonK === void 0 ? 'secondary' : _ref$secondaryButtonK,
|
80
65
|
_ref$secondaryButtonP = _ref.secondaryButtonPlacement,
|
81
|
-
secondaryButtonPlacement = _ref$secondaryButtonP === void 0 ?
|
66
|
+
secondaryButtonPlacement = _ref$secondaryButtonP === void 0 ? 'bottom' : _ref$secondaryButtonP,
|
82
67
|
secondaryButtonText = _ref.secondaryButtonText,
|
83
68
|
slug = _ref.slug,
|
84
69
|
status = _ref.status,
|
85
70
|
sequence = _ref.sequence,
|
86
71
|
title = _ref.title,
|
87
72
|
_ref$titleSize = _ref.titleSize,
|
88
|
-
titleSize = _ref$titleSize === void 0 ?
|
73
|
+
titleSize = _ref$titleSize === void 0 ? 'default' : _ref$titleSize,
|
74
|
+
_ref$iconDescription = _ref.iconDescription,
|
75
|
+
iconDescription = _ref$iconDescription === void 0 ? 'Options' : _ref$iconDescription,
|
89
76
|
rest = _objectWithoutProperties(_ref, _excluded);
|
90
77
|
var getIcons = function getIcons() {
|
91
78
|
return getStarted ? metadata : actionIcons;
|
@@ -101,7 +88,7 @@ var Card = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
101
88
|
onClick: onClick,
|
102
89
|
onKeyDown: onKeyDown,
|
103
90
|
role: 'button',
|
104
|
-
tabIndex:
|
91
|
+
tabIndex: 0
|
105
92
|
};
|
106
93
|
|
107
94
|
// actions can either be an overflow menu or series of icons
|
@@ -115,7 +102,8 @@ var Card = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
115
102
|
size: size,
|
116
103
|
direction: pos,
|
117
104
|
flipped: true,
|
118
|
-
"aria-label": overflowAriaLabel
|
105
|
+
"aria-label": overflowAriaLabel,
|
106
|
+
iconDescription: iconDescription
|
119
107
|
}, overflowActions.map(function (_ref2) {
|
120
108
|
var id = _ref2.id,
|
121
109
|
rest = _objectWithoutProperties(_ref2, _excluded2);
|
@@ -135,7 +123,7 @@ var Card = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
135
123
|
return /*#__PURE__*/React__default.createElement("span", {
|
136
124
|
key: id,
|
137
125
|
className: "".concat(blockClass, "__icon")
|
138
|
-
}, /*#__PURE__*/React__default.createElement(Icon, {
|
126
|
+
}, Icon && /*#__PURE__*/React__default.createElement(Icon, {
|
139
127
|
"aria-label": iconDescription
|
140
128
|
}), iconDescription);
|
141
129
|
}
|
@@ -157,7 +145,7 @@ var Card = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
157
145
|
className: "".concat(blockClass, "__icon"),
|
158
146
|
href: href,
|
159
147
|
onClick: onClick
|
160
|
-
}, /*#__PURE__*/React__default.createElement(Icon, {
|
148
|
+
}, Icon && /*#__PURE__*/React__default.createElement(Icon, {
|
161
149
|
"aria-label": iconDescription
|
162
150
|
}));
|
163
151
|
}
|
@@ -168,7 +156,7 @@ var Card = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
168
156
|
onClick: onClick,
|
169
157
|
kind: "ghost",
|
170
158
|
size: "sm"
|
171
|
-
}, /*#__PURE__*/React__default.createElement(Icon, {
|
159
|
+
}, Icon && /*#__PURE__*/React__default.createElement(Icon, {
|
172
160
|
"aria-label": iconDescription
|
173
161
|
}));
|
174
162
|
});
|
@@ -248,7 +236,9 @@ var Card = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
248
236
|
secondaryButtonText: secondaryButtonText
|
249
237
|
};
|
250
238
|
};
|
251
|
-
return /*#__PURE__*/React__default.createElement("div",
|
239
|
+
return /*#__PURE__*/React__default.createElement("div", _extends({
|
240
|
+
"aria-disabled": disabled
|
241
|
+
}, getCardProps()), !getStarted && media && /*#__PURE__*/React__default.createElement("div", {
|
252
242
|
className: "".concat(blockClass, "__media")
|
253
243
|
}, media), Pictogram && /*#__PURE__*/React__default.createElement("div", {
|
254
244
|
className: "".concat(blockClass, "__pictogram")
|
@@ -265,6 +255,7 @@ var Card = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
265
255
|
}, media)), hasBottomBar && /*#__PURE__*/React__default.createElement(CardFooter, getFooterProps())));
|
266
256
|
});
|
267
257
|
Card.propTypes = {
|
258
|
+
/**@ts-ignore */
|
268
259
|
actionIcons: PropTypes.arrayOf(PropTypes.shape({
|
269
260
|
id: PropTypes.string,
|
270
261
|
icon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
@@ -277,13 +268,16 @@ Card.propTypes = {
|
|
277
268
|
children: PropTypes.node,
|
278
269
|
className: PropTypes.string,
|
279
270
|
clickZone: PropTypes.oneOf(['one', 'two', 'three']),
|
280
|
-
|
271
|
+
/**@ts-ignore */
|
272
|
+
description: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
281
273
|
disabled: PropTypes.bool,
|
274
|
+
/**@ts-ignore */
|
282
275
|
footerActionIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
283
276
|
getStarted: PropTypes.bool,
|
284
|
-
label: PropTypes.oneOfType([PropTypes.string, PropTypes.
|
277
|
+
label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
285
278
|
media: PropTypes.node,
|
286
279
|
mediaPosition: PropTypes.oneOf(['top', 'left']),
|
280
|
+
/**@ts-ignore */
|
287
281
|
metadata: PropTypes.arrayOf(PropTypes.shape({
|
288
282
|
id: PropTypes.string,
|
289
283
|
icon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
@@ -293,6 +287,7 @@ Card.propTypes = {
|
|
293
287
|
onKeyDown: PropTypes.func,
|
294
288
|
onPrimaryButtonClick: PropTypes.func,
|
295
289
|
onSecondaryButtonClick: PropTypes.func,
|
290
|
+
/**@ts-ignore */
|
296
291
|
overflowActions: PropTypes.arrayOf(PropTypes.shape({
|
297
292
|
id: PropTypes.string,
|
298
293
|
itemText: PropTypes.string,
|
@@ -300,16 +295,19 @@ Card.propTypes = {
|
|
300
295
|
onKeyDown: PropTypes.func
|
301
296
|
})),
|
302
297
|
overflowAriaLabel: PropTypes.string,
|
298
|
+
/**@ts-ignore */
|
303
299
|
pictogram: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
304
300
|
primaryButtonDisabled: PropTypes.bool,
|
305
301
|
primaryButtonHref: PropTypes.string,
|
302
|
+
/**@ts-ignore */
|
306
303
|
primaryButtonIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
307
304
|
primaryButtonKind: PropTypes.oneOf(['primary', 'ghost']),
|
308
305
|
primaryButtonPlacement: PropTypes.oneOf(['top', 'bottom']),
|
309
|
-
primaryButtonText: PropTypes.
|
306
|
+
primaryButtonText: PropTypes.string,
|
310
307
|
productive: PropTypes.bool,
|
311
308
|
secondaryButtonDisabled: PropTypes.bool,
|
312
309
|
secondaryButtonHref: PropTypes.string,
|
310
|
+
/**@ts-ignore */
|
313
311
|
secondaryButtonIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
314
312
|
secondaryButtonKind: PropTypes.oneOf(['secondary', 'ghost']),
|
315
313
|
secondaryButtonPlacement: PropTypes.oneOf(['top', 'bottom']),
|
@@ -321,7 +319,7 @@ Card.propTypes = {
|
|
321
319
|
*/
|
322
320
|
slug: PropTypes.oneOfType([PropTypes.node, PropTypes.bool]),
|
323
321
|
status: PropTypes.oneOf(['complete', 'incomplete']),
|
324
|
-
title: PropTypes.oneOfType([PropTypes.string, PropTypes.
|
322
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
325
323
|
titleSize: PropTypes.oneOf(['default', 'large'])
|
326
324
|
};
|
327
325
|
Card.displayName = componentName;
|
@@ -1,50 +1,53 @@
|
|
1
|
-
|
2
|
-
actions?: any[] | undefined;
|
3
|
-
disabled: any;
|
4
|
-
footerActionIcon: any;
|
5
|
-
hasActions: any;
|
6
|
-
hasButton: any;
|
7
|
-
onPrimaryButtonClick: any;
|
8
|
-
onSecondaryButtonClick: any;
|
9
|
-
primaryButtonDisabled: any;
|
10
|
-
primaryButtonHref: any;
|
11
|
-
primaryButtonIcon: any;
|
12
|
-
primaryButtonKind?: string | undefined;
|
13
|
-
primaryButtonPlacement: any;
|
14
|
-
primaryButtonText: any;
|
15
|
-
productive?: boolean | undefined;
|
16
|
-
secondaryButtonDisabled: any;
|
17
|
-
secondaryButtonHref: any;
|
18
|
-
secondaryButtonIcon: any;
|
19
|
-
secondaryButtonKind?: string | undefined;
|
20
|
-
secondaryButtonPlacement: any;
|
21
|
-
secondaryButtonText: any;
|
22
|
-
}): import("react/jsx-runtime").JSX.Element;
|
23
|
-
export namespace CardFooter {
|
24
|
-
export namespace propTypes {
|
25
|
-
let actions: PropTypes.Requireable<NonNullable<any[] | PropTypes.ReactNodeLike>>;
|
26
|
-
let disabled: PropTypes.Requireable<boolean>;
|
27
|
-
let footerActionIcon: PropTypes.Requireable<object>;
|
28
|
-
let hasActions: PropTypes.Requireable<boolean>;
|
29
|
-
let hasButton: PropTypes.Requireable<boolean>;
|
30
|
-
let onPrimaryButtonClick: PropTypes.Requireable<(...args: any[]) => any>;
|
31
|
-
let onSecondaryButtonClick: PropTypes.Requireable<(...args: any[]) => any>;
|
32
|
-
let primaryButtonDisabled: PropTypes.Requireable<boolean>;
|
33
|
-
let primaryButtonHref: PropTypes.Requireable<string>;
|
34
|
-
let primaryButtonIcon: PropTypes.Requireable<object>;
|
35
|
-
let primaryButtonKind: PropTypes.Requireable<string>;
|
36
|
-
let primaryButtonPlacement: PropTypes.Requireable<string>;
|
37
|
-
let primaryButtonText: PropTypes.Requireable<string>;
|
38
|
-
let productive: PropTypes.Requireable<boolean>;
|
39
|
-
let secondaryButtonDisabled: PropTypes.Requireable<boolean>;
|
40
|
-
let secondaryButtonHref: PropTypes.Requireable<string>;
|
41
|
-
let secondaryButtonIcon: PropTypes.Requireable<object>;
|
42
|
-
let secondaryButtonKind: PropTypes.Requireable<string>;
|
43
|
-
let secondaryButtonPlacement: PropTypes.Requireable<string>;
|
44
|
-
let secondaryButtonText: PropTypes.Requireable<string>;
|
45
|
-
}
|
46
|
-
export { componentName as displayName };
|
47
|
-
}
|
1
|
+
import React, { ReactNode } from 'react';
|
48
2
|
import PropTypes from 'prop-types';
|
49
|
-
|
3
|
+
interface CardFooterProps {
|
4
|
+
actions?: ReactNode[] | ReactNode;
|
5
|
+
disabled?: boolean;
|
6
|
+
footerActionIcon?: React.ElementType;
|
7
|
+
hasActions?: boolean;
|
8
|
+
hasButton?: boolean;
|
9
|
+
onPrimaryButtonClick?: () => void;
|
10
|
+
onSecondaryButtonClick?: () => void;
|
11
|
+
primaryButtonDisabled?: boolean;
|
12
|
+
primaryButtonHref?: string;
|
13
|
+
primaryButtonIcon?: React.ElementType;
|
14
|
+
primaryButtonKind?: 'primary' | 'ghost';
|
15
|
+
primaryButtonPlacement?: 'top' | 'bottom';
|
16
|
+
primaryButtonText?: string;
|
17
|
+
productive?: boolean;
|
18
|
+
secondaryButtonDisabled?: boolean;
|
19
|
+
secondaryButtonHref?: string;
|
20
|
+
secondaryButtonIcon?: React.ElementType;
|
21
|
+
secondaryButtonKind?: 'secondary' | 'ghost';
|
22
|
+
secondaryButtonPlacement?: 'top' | 'bottom';
|
23
|
+
secondaryButtonText?: string;
|
24
|
+
}
|
25
|
+
export declare const CardFooter: {
|
26
|
+
({ actions, disabled, footerActionIcon: FooterActionIcon, hasActions, hasButton, onPrimaryButtonClick, onSecondaryButtonClick, primaryButtonDisabled, primaryButtonHref, primaryButtonIcon, primaryButtonKind, primaryButtonPlacement, primaryButtonText, productive, secondaryButtonDisabled, secondaryButtonHref, secondaryButtonIcon, secondaryButtonKind, secondaryButtonPlacement, secondaryButtonText, }: CardFooterProps): import("react/jsx-runtime").JSX.Element;
|
27
|
+
/**@ts-ignore */
|
28
|
+
propTypes: {
|
29
|
+
actions: PropTypes.Requireable<NonNullable<any[] | PropTypes.ReactNodeLike>>;
|
30
|
+
disabled: PropTypes.Requireable<boolean>;
|
31
|
+
footerActionIcon: PropTypes.Requireable<object>;
|
32
|
+
hasActions: PropTypes.Requireable<boolean>;
|
33
|
+
hasButton: PropTypes.Requireable<boolean>;
|
34
|
+
onPrimaryButtonClick: PropTypes.Requireable<(...args: any[]) => any>;
|
35
|
+
onSecondaryButtonClick: PropTypes.Requireable<(...args: any[]) => any>;
|
36
|
+
primaryButtonDisabled: PropTypes.Requireable<boolean>;
|
37
|
+
primaryButtonHref: PropTypes.Requireable<string>;
|
38
|
+
primaryButtonIcon: PropTypes.Requireable<object>;
|
39
|
+
primaryButtonKind: PropTypes.Requireable<string>;
|
40
|
+
primaryButtonPlacement: PropTypes.Requireable<string>;
|
41
|
+
primaryButtonText: PropTypes.Requireable<string>;
|
42
|
+
productive: PropTypes.Requireable<boolean>;
|
43
|
+
secondaryButtonDisabled: PropTypes.Requireable<boolean>;
|
44
|
+
secondaryButtonHref: PropTypes.Requireable<string>;
|
45
|
+
secondaryButtonIcon: PropTypes.Requireable<object>;
|
46
|
+
secondaryButtonKind: PropTypes.Requireable<string>;
|
47
|
+
secondaryButtonPlacement: PropTypes.Requireable<string>;
|
48
|
+
secondaryButtonText: PropTypes.Requireable<string>;
|
49
|
+
};
|
50
|
+
/**@ts-ignore */
|
51
|
+
displayName: string;
|
52
|
+
};
|
50
53
|
export {};
|
@@ -34,7 +34,7 @@ var CardFooter = function CardFooter(_ref) {
|
|
34
34
|
primaryButtonHref = _ref.primaryButtonHref,
|
35
35
|
primaryButtonIcon = _ref.primaryButtonIcon,
|
36
36
|
_ref$primaryButtonKin = _ref.primaryButtonKind,
|
37
|
-
primaryButtonKind = _ref$primaryButtonKin === void 0 ?
|
37
|
+
primaryButtonKind = _ref$primaryButtonKin === void 0 ? 'primary' : _ref$primaryButtonKin,
|
38
38
|
primaryButtonPlacement = _ref.primaryButtonPlacement,
|
39
39
|
primaryButtonText = _ref.primaryButtonText,
|
40
40
|
_ref$productive = _ref.productive,
|
@@ -43,7 +43,7 @@ var CardFooter = function CardFooter(_ref) {
|
|
43
43
|
secondaryButtonHref = _ref.secondaryButtonHref,
|
44
44
|
secondaryButtonIcon = _ref.secondaryButtonIcon,
|
45
45
|
_ref$secondaryButtonK = _ref.secondaryButtonKind,
|
46
|
-
secondaryButtonKind = _ref$secondaryButtonK === void 0 ?
|
46
|
+
secondaryButtonKind = _ref$secondaryButtonK === void 0 ? 'secondary' : _ref$secondaryButtonK,
|
47
47
|
secondaryButtonPlacement = _ref.secondaryButtonPlacement,
|
48
48
|
secondaryButtonText = _ref.secondaryButtonText;
|
49
49
|
var blockClass = "".concat(pkg.prefix, "--card");
|
@@ -73,6 +73,7 @@ var CardFooter = function CardFooter(_ref) {
|
|
73
73
|
size: 16
|
74
74
|
})) : /*#__PURE__*/React__default.createElement(FooterActionIcon, null)));
|
75
75
|
};
|
76
|
+
/**@ts-ignore */
|
76
77
|
CardFooter.propTypes = {
|
77
78
|
actions: PropTypes.oneOfType([PropTypes.array, PropTypes.node]),
|
78
79
|
disabled: PropTypes.bool,
|
@@ -95,6 +96,7 @@ CardFooter.propTypes = {
|
|
95
96
|
secondaryButtonPlacement: PropTypes.oneOf(['top', 'bottom']),
|
96
97
|
secondaryButtonText: PropTypes.string
|
97
98
|
};
|
99
|
+
/**@ts-ignore */
|
98
100
|
CardFooter.displayName = componentName;
|
99
101
|
|
100
102
|
export { CardFooter };
|
@@ -1,51 +1,69 @@
|
|
1
|
-
|
2
|
-
actions: any;
|
3
|
-
noActionIcons: any;
|
4
|
-
onPrimaryButtonClick: any;
|
5
|
-
onSecondaryButtonClick: any;
|
6
|
-
primaryButtonIcon: any;
|
7
|
-
primaryButtonPlacement: any;
|
8
|
-
primaryButtonText: any;
|
9
|
-
primaryButtonDisabled: any;
|
10
|
-
description: any;
|
11
|
-
hasActions?: boolean | undefined;
|
12
|
-
inClickableCard: any;
|
13
|
-
label: any;
|
14
|
-
secondaryButtonDisabled: any;
|
15
|
-
secondaryButtonHref: any;
|
16
|
-
secondaryButtonIcon: any;
|
17
|
-
secondaryButtonPlacement: any;
|
18
|
-
secondaryButtonText: any;
|
19
|
-
slug: any;
|
20
|
-
title: any;
|
21
|
-
titleSize?: string | undefined;
|
22
|
-
}): import("react/jsx-runtime").JSX.Element;
|
23
|
-
export namespace CardHeader {
|
24
|
-
export namespace propTypes {
|
25
|
-
let actions: PropTypes.Requireable<NonNullable<any[] | PropTypes.ReactNodeLike>>;
|
26
|
-
let description: PropTypes.Requireable<NonNullable<object | PropTypes.ReactNodeLike>>;
|
27
|
-
let hasActions: PropTypes.Requireable<boolean>;
|
28
|
-
let inClickableCard: PropTypes.Requireable<boolean>;
|
29
|
-
let label: PropTypes.Requireable<string>;
|
30
|
-
let noActionIcons: PropTypes.Requireable<boolean>;
|
31
|
-
let onPrimaryButtonClick: PropTypes.Requireable<(...args: any[]) => any>;
|
32
|
-
let onSecondaryButtonClick: PropTypes.Requireable<(...args: any[]) => any>;
|
33
|
-
let primaryButtonDisabled: PropTypes.Requireable<boolean>;
|
34
|
-
let primaryButtonIcon: PropTypes.Requireable<object>;
|
35
|
-
let primaryButtonPlacement: PropTypes.Requireable<string>;
|
36
|
-
let primaryButtonText: PropTypes.Requireable<string>;
|
37
|
-
let secondaryButtonDisabled: PropTypes.Requireable<boolean>;
|
38
|
-
let secondaryButtonHref: PropTypes.Requireable<string>;
|
39
|
-
let secondaryButtonIcon: PropTypes.Requireable<object>;
|
40
|
-
let secondaryButtonKind: PropTypes.Requireable<string>;
|
41
|
-
let secondaryButtonPlacement: PropTypes.Requireable<string>;
|
42
|
-
let secondaryButtonText: PropTypes.Requireable<string>;
|
43
|
-
let slug: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
44
|
-
let title: PropTypes.Requireable<NonNullable<object | PropTypes.ReactNodeLike>>;
|
45
|
-
let titleSize: PropTypes.Requireable<string>;
|
46
|
-
}
|
47
|
-
export { componentName as displayName };
|
48
|
-
}
|
1
|
+
import React, { ReactNode } from 'react';
|
49
2
|
import PropTypes from 'prop-types';
|
50
|
-
|
3
|
+
interface CardHeaderProps {
|
4
|
+
actions?: ReactNode[] | ReactNode;
|
5
|
+
description?: ReactNode;
|
6
|
+
hasActions?: boolean;
|
7
|
+
/**
|
8
|
+
* is the host card clickable
|
9
|
+
*/
|
10
|
+
inClickableCard?: boolean;
|
11
|
+
label?: ReactNode;
|
12
|
+
noActionIcons?: boolean;
|
13
|
+
onPrimaryButtonClick?: () => void;
|
14
|
+
onSecondaryButtonClick?: () => void;
|
15
|
+
primaryButtonDisabled?: boolean;
|
16
|
+
primaryButtonIcon?: React.ElementType;
|
17
|
+
primaryButtonPlacement?: 'top' | 'bottom';
|
18
|
+
primaryButtonText?: string;
|
19
|
+
secondaryButtonDisabled?: boolean;
|
20
|
+
secondaryButtonHref?: string;
|
21
|
+
secondaryButtonIcon?: React.ElementType;
|
22
|
+
secondaryButtonKind?: 'secondary' | 'ghost';
|
23
|
+
secondaryButtonPlacement?: 'top' | 'bottom';
|
24
|
+
secondaryButtonText?: string;
|
25
|
+
/**
|
26
|
+
* **Experimental:** For all cases a `Slug` component can be provided.
|
27
|
+
* Clickable tiles only accept a boolean value of true and display a hollow slug.
|
28
|
+
*/
|
29
|
+
slug?: ReactNode;
|
30
|
+
title?: ReactNode;
|
31
|
+
titleSize?: 'default' | 'large';
|
32
|
+
}
|
33
|
+
export declare const CardHeader: {
|
34
|
+
({ actions, noActionIcons, onPrimaryButtonClick, onSecondaryButtonClick, primaryButtonIcon, primaryButtonPlacement, primaryButtonText, primaryButtonDisabled, description, hasActions, inClickableCard, label, secondaryButtonDisabled, secondaryButtonHref, secondaryButtonIcon, secondaryButtonPlacement, secondaryButtonText, slug, title, titleSize, }: CardHeaderProps): import("react/jsx-runtime").JSX.Element;
|
35
|
+
/**@ts-ignore */
|
36
|
+
propTypes: {
|
37
|
+
actions: PropTypes.Requireable<NonNullable<any[] | PropTypes.ReactNodeLike>>;
|
38
|
+
description: PropTypes.Requireable<NonNullable<object | PropTypes.ReactNodeLike>>;
|
39
|
+
hasActions: PropTypes.Requireable<boolean>;
|
40
|
+
/**
|
41
|
+
* is the host card clickable
|
42
|
+
*/
|
43
|
+
inClickableCard: PropTypes.Requireable<boolean>;
|
44
|
+
label: PropTypes.Requireable<string>;
|
45
|
+
noActionIcons: PropTypes.Requireable<boolean>;
|
46
|
+
onPrimaryButtonClick: PropTypes.Requireable<(...args: any[]) => any>;
|
47
|
+
onSecondaryButtonClick: PropTypes.Requireable<(...args: any[]) => any>;
|
48
|
+
primaryButtonDisabled: PropTypes.Requireable<boolean>;
|
49
|
+
primaryButtonIcon: PropTypes.Requireable<object>;
|
50
|
+
primaryButtonPlacement: PropTypes.Requireable<string>;
|
51
|
+
primaryButtonText: PropTypes.Requireable<string>;
|
52
|
+
secondaryButtonDisabled: PropTypes.Requireable<boolean>;
|
53
|
+
secondaryButtonHref: PropTypes.Requireable<string>;
|
54
|
+
secondaryButtonIcon: PropTypes.Requireable<object>;
|
55
|
+
secondaryButtonKind: PropTypes.Requireable<string>;
|
56
|
+
secondaryButtonPlacement: PropTypes.Requireable<string>;
|
57
|
+
secondaryButtonText: PropTypes.Requireable<string>;
|
58
|
+
/**
|
59
|
+
* **Experimental:** For all cases a `Slug` component can be provided.
|
60
|
+
* Clickable tiles only accept a boolean value of true and display a hollow slug.
|
61
|
+
*/
|
62
|
+
slug: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
63
|
+
title: PropTypes.Requireable<NonNullable<object | PropTypes.ReactNodeLike>>;
|
64
|
+
titleSize: PropTypes.Requireable<string>;
|
65
|
+
};
|
66
|
+
/**@ts-ignore */
|
67
|
+
displayName: string;
|
68
|
+
};
|
51
69
|
export {};
|
@@ -40,7 +40,7 @@ var CardHeader = function CardHeader(_ref) {
|
|
40
40
|
slug = _ref.slug,
|
41
41
|
title = _ref.title,
|
42
42
|
_ref$titleSize = _ref.titleSize,
|
43
|
-
titleSize = _ref$titleSize === void 0 ?
|
43
|
+
titleSize = _ref$titleSize === void 0 ? 'default' : _ref$titleSize;
|
44
44
|
var carbonPrefix = usePrefix();
|
45
45
|
var blockClass = "".concat(pkg.prefix, "--card");
|
46
46
|
var headerClass = "".concat(blockClass, "__header");
|
@@ -63,7 +63,7 @@ var CardHeader = function CardHeader(_ref) {
|
|
63
63
|
d: "M13.2436 16H11.5996L10.9276 13.864H7.95164L7.29164 16H5.68364L8.49164 7.624H10.4596L13.2436 16ZM10.5436 12.508L9.46364 9.064H9.40364L8.33564 12.508H10.5436ZM17.9341 16H14.1301V14.728H15.2341V8.896H14.1301V7.624H17.9341V8.896H16.8181V14.728H17.9341V16Z",
|
64
64
|
fill: "#161616"
|
65
65
|
})));
|
66
|
-
var normalizedSlug;
|
66
|
+
var normalizedSlug = null;
|
67
67
|
if (slug) {
|
68
68
|
if (inClickableCard || typeof slug === 'boolean') {
|
69
69
|
normalizedSlug = hollowSlugIcon;
|
@@ -104,6 +104,7 @@ var CardHeader = function CardHeader(_ref) {
|
|
104
104
|
disabled: primaryButtonDisabled
|
105
105
|
}, primaryButtonText)), normalizedSlug));
|
106
106
|
};
|
107
|
+
/**@ts-ignore */
|
107
108
|
CardHeader.propTypes = {
|
108
109
|
actions: PropTypes.oneOfType([PropTypes.array, PropTypes.node]),
|
109
110
|
description: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.node]),
|
@@ -134,6 +135,7 @@ CardHeader.propTypes = {
|
|
134
135
|
title: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.node]),
|
135
136
|
titleSize: PropTypes.oneOf(['default', 'large'])
|
136
137
|
};
|
138
|
+
/**@ts-ignore */
|
137
139
|
CardHeader.displayName = componentName;
|
138
140
|
|
139
141
|
export { CardHeader };
|
@@ -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 {};
|
@@ -8,10 +8,10 @@
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _objectSpread2 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { forwardRef } from 'react';
|
10
10
|
import { Grid } from '@carbon/react';
|
11
|
-
import cx from 'classnames';
|
12
11
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
13
|
-
import
|
12
|
+
import cx from 'classnames';
|
14
13
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
14
|
+
import { pkg } from '../../settings.js';
|
15
15
|
|
16
16
|
var _excluded = ["children", "className", "grid"];
|
17
17
|
var blockClass = "".concat(pkg.prefix, "--cascade");
|
@@ -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
|
*/
|
@@ -6,17 +6,17 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
+
import { IconButton, Button } from '@carbon/react';
|
10
|
+
import { Themes, Kinds } from './Checklist.types.js';
|
9
11
|
import React__default, { useState, useRef, useEffect } from 'react';
|
12
|
+
import { ChecklistChart } from './ChecklistChart.js';
|
13
|
+
import { ChecklistIcon } from './ChecklistIcon.js';
|
14
|
+
import { ChevronUp } from '@carbon/react/icons';
|
10
15
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
11
16
|
import cx from 'classnames';
|
12
17
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
13
|
-
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
14
18
|
import { pkg } from '../../settings.js';
|
15
|
-
import
|
16
|
-
import { ChevronUp } from '@carbon/react/icons';
|
17
|
-
import { ChecklistIcon } from './ChecklistIcon.js';
|
18
|
-
import { ChecklistChart } from './ChecklistChart.js';
|
19
|
-
import { Themes, Kinds } from './Checklist.types.js';
|
19
|
+
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
20
20
|
|
21
21
|
var _excluded = ["chartValue", "chartLabel", "checklistAriaLabel", "checklistToggleAriaLabel", "className", "onClickViewAll", "onToggle", "open", "enableToggle", "taskLists", "theme", "title", "toggleLabel", "toggleLabelAlign", "viewAllLabel"];
|
22
22
|
|
@@ -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,13 +5,18 @@
|
|
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.
|
12
12
|
* @see COACHMARK_ALIGNMENT
|
13
13
|
*/
|
14
14
|
align?: 'bottom' | 'bottom-left' | 'bottom-right' | 'left' | 'left-top' | 'left-bottom' | 'right' | 'right-top' | 'right-bottom' | 'top' | 'top-left' | 'top-right';
|
15
|
+
/**
|
16
|
+
* Auto aligns the coachmark based on screen boundaries
|
17
|
+
* Applies only to Tooltip Coachmarks.
|
18
|
+
*/
|
19
|
+
autoAlign?: boolean;
|
15
20
|
/**
|
16
21
|
* Coachmark should use a single CoachmarkOverlayElements component as a child.
|
17
22
|
* @see CoachmarkOverlayElements
|
@@ -51,7 +56,7 @@ interface CoachmarkProps {
|
|
51
56
|
positionTune?: {
|
52
57
|
x: number;
|
53
58
|
y: number;
|
54
|
-
}
|
59
|
+
};
|
55
60
|
/**
|
56
61
|
* The optional button or beacon that the user will click to show the Coachmark.
|
57
62
|
*/
|
@@ -67,4 +72,3 @@ interface CoachmarkProps {
|
|
67
72
|
* user to gain understanding of the product's main value and discover new use cases.
|
68
73
|
*/
|
69
74
|
export declare let Coachmark: React.ForwardRefExoticComponent<CoachmarkProps & React.RefAttributes<HTMLElement>>;
|
70
|
-
export {};
|