@carbon/ibm-products 2.54.0-canary.6 → 2.54.0-canary.60
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 +1341 -674
- 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 +963 -52
- 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 +586 -550
- 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 +667 -555
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/es/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/es/components/APIKeyModal/APIKeyDownloader.d.ts +1 -1
- package/es/components/APIKeyModal/APIKeyDownloader.js +1 -1
- package/es/components/APIKeyModal/APIKeyModal.d.ts +13 -0
- package/es/components/APIKeyModal/APIKeyModal.js +85 -38
- package/es/components/APIKeyModal/APIKeyModal.types.d.ts +21 -3
- package/es/components/AboutModal/AboutModal.js +3 -6
- package/es/components/AddSelect/hooks/useFocus.js +1 -2
- package/es/components/AddSelect/hooks/useParentSelect.js +1 -2
- package/es/components/AddSelect/hooks/usePath.js +1 -2
- package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +18 -9
- package/es/components/Card/Card.d.ts +3 -3
- package/es/components/Card/Card.js +23 -18
- package/es/components/Card/CardHeader.d.ts +7 -7
- package/es/components/Card/CardHeader.js +14 -12
- package/es/components/Checklist/Checklist.js +1 -1
- package/es/components/Checklist/ChecklistIcon.js +1 -1
- package/es/components/Coachmark/Coachmark.d.ts +5 -0
- package/es/components/Coachmark/Coachmark.js +11 -3
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +5 -0
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +19 -5
- package/es/components/CoachmarkStack/CoachmarkStackHome.d.ts +4 -0
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +18 -6
- package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -2
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +1 -5
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +5 -5
- package/es/components/ConditionBuilder/utils/util.js +0 -4
- package/es/components/CreateTearsheet/CreateTearsheet.d.ts +1 -1
- package/es/components/CreateTearsheet/CreateTearsheet.js +2 -2
- package/es/components/CreateTearsheet/CreateTearsheetStep.js +6 -3
- package/es/components/Datagrid/Datagrid/Datagrid.d.ts +1 -0
- package/es/components/Datagrid/Datagrid/Datagrid.js +7 -0
- package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +2 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +2 -3
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +2 -3
- package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/stateReducer.js +1 -1
- package/es/components/Datagrid/useCustomizeColumns.js +4 -4
- package/es/components/Datagrid/useDatagrid.js +2 -2
- package/es/components/Datagrid/useDefaultStringRenderer.js +1 -2
- package/es/components/Datagrid/useEditableCell.js +1 -2
- package/es/components/Datagrid/useFlexResize.js +1 -2
- package/es/components/Datagrid/useFloatingScroll.js +1 -2
- package/es/components/Datagrid/useNestedRowExpander.js +1 -2
- package/es/components/Datagrid/useParentDimensions.js +1 -2
- package/es/components/Datagrid/useResizeTable.js +1 -2
- package/es/components/Datagrid/useRowExpander.js +1 -2
- package/es/components/Datagrid/useRowRenderer.js +1 -2
- package/es/components/Datagrid/useRowSize.js +1 -2
- package/es/components/Datagrid/useSkeletonRows.js +1 -2
- package/es/components/DecoratorDualButton/DecoratorDualButton.d.ts +1 -0
- package/es/components/DecoratorDualButton/DecoratorDualButton.js +5 -0
- package/es/components/DecoratorLink/DecoratorLink.d.ts +1 -0
- package/es/components/DecoratorLink/DecoratorLink.js +5 -0
- package/es/components/DecoratorSingleButton/DecoratorSingleButton.d.ts +1 -0
- package/es/components/DecoratorSingleButton/DecoratorSingleButton.js +5 -0
- package/es/components/DescriptionList/DescriptionList.d.ts +1 -0
- package/es/components/DescriptionList/DescriptionList.js +5 -0
- package/es/components/EditFullPage/EditFullPage.d.ts +2 -0
- package/es/components/EditFullPage/EditFullPage.js +8 -0
- package/es/components/EditSidePanel/EditSidePanel.d.ts +2 -0
- package/es/components/EditSidePanel/EditSidePanel.js +8 -0
- package/es/components/EditTearsheet/EditTearsheet.d.ts +2 -0
- package/es/components/EditTearsheet/EditTearsheet.js +8 -0
- package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +2 -0
- package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.js +8 -0
- package/es/components/EditUpdateCards/EditUpdateCards.d.ts +2 -0
- package/es/components/EditUpdateCards/EditUpdateCards.js +8 -0
- package/es/components/EmptyStates/EmptyStateIllustration.js +1 -2
- package/es/components/EmptyStates/EmptyStateV2.d.ts +1 -0
- package/es/components/EmptyStates/EmptyStateV2.js +7 -0
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
- package/es/components/EmptyStates/assets/ErrorIllustration.js +3 -5
- package/es/components/EmptyStates/assets/NoDataIllustration.js +3 -5
- package/es/components/EmptyStates/assets/NoTagsIllustration.js +3 -5
- package/es/components/EmptyStates/assets/NotFoundIllustration.js +3 -5
- package/es/components/EmptyStates/assets/NotificationsIllustration.js +3 -5
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +3 -5
- package/es/components/ExpressiveCard/ExpressiveCard.d.ts +5 -5
- package/es/components/ExpressiveCard/ExpressiveCard.js +5 -5
- package/es/components/FilterPanel/FilterPanel.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanel.js +6 -0
- package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +5 -0
- package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +5 -1
- package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +5 -0
- package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +5 -0
- package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +5 -0
- package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +5 -1
- package/es/components/FullPageError/FullPageError.js +7 -7
- package/es/components/FullPageError/assets/Error403SVG.d.ts +1 -3
- package/es/components/FullPageError/assets/Error403SVG.js +4 -6
- package/es/components/FullPageError/assets/Error404SVG.d.ts +1 -3
- package/es/components/FullPageError/assets/Error404SVG.js +4 -6
- package/es/components/FullPageError/assets/ErrorGenericSVG.d.ts +1 -3
- package/es/components/FullPageError/assets/ErrorGenericSVG.js +4 -6
- package/es/components/InlineTip/InlineTip.d.ts +5 -0
- package/es/components/InlineTip/InlineTip.js +17 -8
- package/es/components/Nav/Nav.d.ts +3 -0
- package/es/components/Nav/Nav.js +8 -0
- package/es/components/Nav/NavItemLink.js +1 -2
- package/es/components/ProductiveCard/ProductiveCard.d.ts +3 -3
- package/es/components/ProductiveCard/ProductiveCard.js +4 -4
- package/es/components/StatusIndicator/StatusIndicator.d.ts +1 -0
- package/es/components/StatusIndicator/StatusIndicator.js +5 -0
- package/es/components/StatusIndicator/StatusIndicatorStep.d.ts +1 -0
- package/es/components/StatusIndicator/StatusIndicatorStep.js +5 -0
- package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +3 -1
- package/es/components/Tearsheet/TearsheetShell.js +3 -24
- package/es/global/js/hooks/useFocus.d.ts +1 -0
- package/es/global/js/hooks/useFocus.js +21 -1
- package/es/global/js/hooks/usePrefersReducedMotion.js +1 -2
- package/es/global/js/package-settings.d.ts +1 -1
- package/es/global/js/package-settings.js +1 -1
- package/es/index.js +1 -1
- package/es/settings.d.ts +1 -1
- package/lib/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/lib/components/APIKeyModal/APIKeyDownloader.d.ts +1 -1
- package/lib/components/APIKeyModal/APIKeyDownloader.js +1 -1
- package/lib/components/APIKeyModal/APIKeyModal.d.ts +13 -0
- package/lib/components/APIKeyModal/APIKeyModal.js +83 -34
- package/lib/components/APIKeyModal/APIKeyModal.types.d.ts +21 -3
- package/lib/components/AboutModal/AboutModal.js +2 -5
- package/lib/components/AddSelect/hooks/useFocus.js +1 -2
- package/lib/components/AddSelect/hooks/useParentSelect.js +1 -2
- package/lib/components/AddSelect/hooks/usePath.js +1 -2
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +17 -8
- package/lib/components/Card/Card.d.ts +3 -3
- package/lib/components/Card/Card.js +22 -17
- package/lib/components/Card/CardHeader.d.ts +7 -7
- package/lib/components/Card/CardHeader.js +14 -12
- package/lib/components/Checklist/ChecklistChart.js +7 -7
- package/lib/components/Coachmark/Coachmark.d.ts +5 -0
- package/lib/components/Coachmark/Coachmark.js +11 -3
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +5 -0
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +18 -4
- package/lib/components/CoachmarkStack/CoachmarkStackHome.d.ts +4 -0
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +18 -6
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -2
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +1 -5
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +5 -5
- package/lib/components/ConditionBuilder/utils/util.js +0 -4
- package/lib/components/CreateTearsheet/CreateTearsheet.d.ts +1 -1
- package/lib/components/CreateTearsheet/CreateTearsheet.js +2 -2
- package/lib/components/CreateTearsheet/CreateTearsheetStep.js +5 -2
- package/lib/components/Datagrid/Datagrid/Datagrid.d.ts +1 -0
- package/lib/components/Datagrid/Datagrid/Datagrid.js +7 -0
- package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +2 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +1 -1
- package/lib/components/Datagrid/useColumnOrder.js +1 -1
- package/lib/components/Datagrid/useDefaultStringRenderer.js +1 -2
- package/lib/components/Datagrid/useEditableCell.js +1 -2
- package/lib/components/Datagrid/useFlexResize.js +1 -2
- package/lib/components/Datagrid/useFloatingScroll.js +1 -2
- package/lib/components/Datagrid/useNestedRowExpander.js +1 -2
- package/lib/components/Datagrid/useParentDimensions.js +1 -2
- package/lib/components/Datagrid/useResizeTable.js +1 -2
- package/lib/components/Datagrid/useRowExpander.js +1 -2
- package/lib/components/Datagrid/useRowRenderer.js +1 -2
- package/lib/components/Datagrid/useRowSize.js +1 -2
- package/lib/components/Datagrid/useSkeletonRows.js +1 -2
- package/lib/components/DecoratorDualButton/DecoratorDualButton.d.ts +1 -0
- package/lib/components/DecoratorDualButton/DecoratorDualButton.js +5 -0
- package/lib/components/DecoratorLink/DecoratorLink.d.ts +1 -0
- package/lib/components/DecoratorLink/DecoratorLink.js +5 -0
- package/lib/components/DecoratorSingleButton/DecoratorSingleButton.d.ts +1 -0
- package/lib/components/DecoratorSingleButton/DecoratorSingleButton.js +5 -0
- package/lib/components/DescriptionList/DescriptionList.d.ts +1 -0
- package/lib/components/DescriptionList/DescriptionList.js +5 -0
- package/lib/components/EditFullPage/EditFullPage.d.ts +2 -0
- package/lib/components/EditFullPage/EditFullPage.js +8 -0
- package/lib/components/EditSidePanel/EditSidePanel.d.ts +2 -0
- package/lib/components/EditSidePanel/EditSidePanel.js +8 -0
- package/lib/components/EditTearsheet/EditTearsheet.d.ts +2 -0
- package/lib/components/EditTearsheet/EditTearsheet.js +8 -0
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +2 -0
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.js +8 -0
- package/lib/components/EditUpdateCards/EditUpdateCards.d.ts +2 -0
- package/lib/components/EditUpdateCards/EditUpdateCards.js +8 -0
- package/lib/components/EmptyStates/EmptyStateIllustration.js +1 -2
- package/lib/components/EmptyStates/EmptyStateV2.d.ts +1 -0
- package/lib/components/EmptyStates/EmptyStateV2.js +7 -0
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
- package/lib/components/EmptyStates/assets/ErrorIllustration.js +2 -4
- package/lib/components/EmptyStates/assets/NoDataIllustration.js +2 -4
- package/lib/components/EmptyStates/assets/NoTagsIllustration.js +2 -4
- package/lib/components/EmptyStates/assets/NotFoundIllustration.js +2 -4
- package/lib/components/EmptyStates/assets/NotificationsIllustration.js +2 -4
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +2 -4
- package/lib/components/ExpressiveCard/ExpressiveCard.d.ts +5 -5
- package/lib/components/ExpressiveCard/ExpressiveCard.js +5 -5
- package/lib/components/FilterPanel/FilterPanel.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanel.js +6 -0
- package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +5 -0
- package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +5 -1
- package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +5 -0
- package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +5 -0
- package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +5 -0
- package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +5 -1
- package/lib/components/FullPageError/FullPageError.js +7 -7
- package/lib/components/FullPageError/assets/Error403SVG.d.ts +1 -3
- package/lib/components/FullPageError/assets/Error403SVG.js +4 -6
- package/lib/components/FullPageError/assets/Error404SVG.d.ts +1 -3
- package/lib/components/FullPageError/assets/Error404SVG.js +4 -6
- package/lib/components/FullPageError/assets/ErrorGenericSVG.d.ts +1 -3
- package/lib/components/FullPageError/assets/ErrorGenericSVG.js +4 -6
- package/lib/components/InlineTip/InlineTip.d.ts +5 -0
- package/lib/components/InlineTip/InlineTip.js +17 -8
- package/lib/components/Nav/Nav.d.ts +3 -0
- package/lib/components/Nav/Nav.js +8 -0
- package/lib/components/Nav/NavItemLink.js +1 -2
- package/lib/components/ProductiveCard/ProductiveCard.d.ts +3 -3
- package/lib/components/ProductiveCard/ProductiveCard.js +4 -4
- package/lib/components/StatusIndicator/StatusIndicator.d.ts +1 -0
- package/lib/components/StatusIndicator/StatusIndicator.js +5 -0
- package/lib/components/StatusIndicator/StatusIndicatorStep.d.ts +1 -0
- package/lib/components/StatusIndicator/StatusIndicatorStep.js +5 -0
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +3 -1
- package/lib/components/Tearsheet/TearsheetShell.js +2 -23
- package/lib/global/js/hooks/useFocus.d.ts +1 -0
- package/lib/global/js/hooks/useFocus.js +21 -0
- package/lib/global/js/hooks/usePrefersReducedMotion.js +1 -2
- package/lib/global/js/package-settings.d.ts +1 -1
- package/lib/global/js/package-settings.js +1 -1
- package/lib/index.js +109 -109
- package/lib/settings.d.ts +1 -1
- package/package.json +10 -10
- package/scss/components/APIKeyModal/_api-key-modal.scss +4 -0
- package/scss/components/BreadcrumbWithOverflow/_breadcrumb-with-overflow.scss +3 -3
- package/scss/components/Card/_card.scss +19 -5
- package/scss/components/Coachmark/_coachmark-overlay.scss +2 -2
- package/scss/components/Coachmark/_coachmark-tagline.scss +1 -1
- package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +3 -3
- package/scss/components/CoachmarkStack/_coachmark-stack.scss +2 -2
- package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +7 -7
- package/scss/components/CreateInfluencer/_create-influencer.scss +2 -2
- package/scss/components/CreateTearsheet/_create-tearsheet.scss +1 -2
- package/scss/components/DataSpreadsheet/_data-spreadsheet.scss +4 -4
- package/scss/components/Datagrid/styles/_datagrid.scss +21 -14
- package/scss/components/Datagrid/styles/_draggableElement.scss +2 -2
- package/scss/components/Datagrid/styles/_useColumnRightAlign.scss +1 -1
- package/scss/components/Datagrid/styles/_useExpandedRow.scss +1 -1
- package/scss/components/Datagrid/styles/_useInlineEdit.scss +1 -1
- package/scss/components/Datagrid/styles/_useNestedRows.scss +2 -2
- package/scss/components/Datagrid/styles/_useStickyColumn.scss +2 -2
- package/scss/components/Datagrid/styles/addons/_CustomizeColumnsTearsheet.scss +1 -1
- package/scss/components/Datagrid/styles/addons/_FilterFlyout.scss +1 -1
- package/scss/components/Datagrid/styles/addons/_FilterPanel.scss +1 -1
- package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +1 -2
- package/scss/components/DecoratorBase/_decorator-base-mixins.scss +1 -1
- package/scss/components/DecoratorBase/_decorator-base.scss +3 -3
- package/scss/components/DecoratorDualButton/_decorator-dual-button.scss +1 -1
- package/scss/components/DecoratorSingleButton/_decorator-single-button.scss +1 -1
- package/scss/components/EditTearsheet/_edit-tearsheet.scss +1 -2
- package/scss/components/EditUpdateCards/_edit-update-cards.scss +7 -7
- package/scss/components/FullPageError/_full-page-error.scss +1 -1
- package/scss/components/GetStartedCard/_get-started-card.scss +1 -1
- package/scss/components/Guidebanner/_guidebanner.scss +4 -4
- package/scss/components/HTTPErrors/_http-errors.scss +1 -1
- package/scss/components/InlineTip/_inline-tip.scss +4 -4
- package/scss/components/InterstitialScreen/_interstitial-screen.scss +6 -6
- package/scss/components/NonLinearReading/_non-linear-reading.scss +2 -2
- package/scss/components/NotificationsPanel/_notifications-panel.scss +3 -3
- package/scss/components/OptionsTile/_options-tile.scss +6 -8
- package/scss/components/PageHeader/_page-header.scss +20 -13
- package/scss/components/ProductiveCard/_productive-card.scss +2 -2
- package/scss/components/SidePanel/_side-panel.scss +11 -11
- package/scss/components/StatusIcon/_status-icon.scss +9 -7
- package/scss/components/StatusIndicator/_status-indicator.scss +1 -1
- package/scss/components/Tearsheet/_tearsheet.scss +5 -5
- package/scss/components/UserAvatar/_user-avatar.scss +5 -3
- package/scss/components/UserProfileImage/_user-profile-image.scss +6 -4
- package/scss/components/WebTerminal/_web-terminal.scss +2 -2
- package/scss/components/_index-released-only.scss +1 -0
@@ -14,7 +14,6 @@ var React = require('react');
|
|
14
14
|
var index = require('../../../_virtual/index.js');
|
15
15
|
var cx = require('classnames');
|
16
16
|
var settings = require('../../../settings.js');
|
17
|
-
var uuidv4 = require('../../../global/js/utils/uuidv4.js');
|
18
17
|
|
19
18
|
var _stop, _stop2, _stop3, _stop4, _stop5, _stop6, _stop7, _stop8, _stop9, _stop10, _stop11, _stop12, _stop13, _stop14, _path, _path2, _path3, _stop15, _stop16, _stop17, _stop18, _stop19, _stop20, _stop21, _stop22, _stop23, _stop24, _stop25, _stop26, _stop27, _stop28, _stop29, _stop30, _stop31, _stop32, _stop33, _stop34, _stop35, _stop36, _stop37, _stop38, _stop39, _stop40, _stop41, _path4;
|
20
19
|
var _excluded = ["theme", "size", "alt"];
|
@@ -26,7 +25,7 @@ var NotificationsIllustration = function NotificationsIllustration(_ref) {
|
|
26
25
|
size = _ref.size,
|
27
26
|
alt = _ref.alt,
|
28
27
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
29
|
-
var svgId =
|
28
|
+
var svgId = React.useId();
|
30
29
|
return /*#__PURE__*/React.createElement("svg", _rollupPluginBabelHelpers.extends({}, rest, {
|
31
30
|
xmlns: "http://www.w3.org/2000/svg",
|
32
31
|
width: 80,
|
@@ -332,7 +331,6 @@ NotificationsIllustration.propTypes = {
|
|
332
331
|
size: index.default.oneOf(['lg', 'sm']),
|
333
332
|
theme: index.default.oneOf(['light', 'dark'])
|
334
333
|
};
|
335
|
-
var NotificationsIllustration$1 = NotificationsIllustration;
|
336
334
|
|
337
335
|
exports.NotificationsIllustration = NotificationsIllustration;
|
338
|
-
exports.default = NotificationsIllustration
|
336
|
+
exports.default = NotificationsIllustration;
|
@@ -14,7 +14,6 @@ var React = require('react');
|
|
14
14
|
var index = require('../../../_virtual/index.js');
|
15
15
|
var cx = require('classnames');
|
16
16
|
var settings = require('../../../settings.js');
|
17
|
-
var uuidv4 = require('../../../global/js/utils/uuidv4.js');
|
18
17
|
|
19
18
|
var _stop, _stop2, _stop3, _stop4, _stop5, _stop6, _stop7, _stop8, _path, _path2, _path3, _linearGradient, _stop9, _stop10, _stop11, _stop12, _stop13, _stop14, _stop15, _stop16, _stop17, _stop18, _stop19, _stop20, _stop21, _stop22, _stop23, _stop24, _stop25, _stop26, _stop27, _stop28, _stop29, _stop30, _stop31, _stop32, _stop33, _stop34, _stop35, _path4;
|
20
19
|
var _excluded = ["theme", "size", "alt"];
|
@@ -26,7 +25,7 @@ var UnauthorizedIllustration = function UnauthorizedIllustration(_ref) {
|
|
26
25
|
size = _ref.size,
|
27
26
|
alt = _ref.alt,
|
28
27
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
29
|
-
var svgId =
|
28
|
+
var svgId = React.useId();
|
30
29
|
return /*#__PURE__*/React.createElement("svg", _rollupPluginBabelHelpers.extends({}, rest, {
|
31
30
|
xmlns: "http://www.w3.org/2000/svg",
|
32
31
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
@@ -306,7 +305,6 @@ UnauthorizedIllustration.propTypes = {
|
|
306
305
|
size: index.default.oneOf(['lg', 'sm']),
|
307
306
|
theme: index.default.oneOf(['light', 'dark'])
|
308
307
|
};
|
309
|
-
var UnauthorizedIllustration$1 = UnauthorizedIllustration;
|
310
308
|
|
311
309
|
exports.UnauthorizedIllustration = UnauthorizedIllustration;
|
312
|
-
exports.default = UnauthorizedIllustration
|
310
|
+
exports.default = UnauthorizedIllustration;
|
@@ -13,10 +13,6 @@ export interface ExpressiveCardProps extends PropsWithChildren {
|
|
13
13
|
* Icons that are displayed on card. Refer to design documentation for implementation guidelines. Note- href will supersede onClick
|
14
14
|
*/
|
15
15
|
actionIcons?: ActionIcon[];
|
16
|
-
/**
|
17
|
-
* Optional prop that is intended for any scenario where something is being generated by AI to reinforce AI transparency, accountability, and explainability at the UI level.
|
18
|
-
*/
|
19
|
-
aiLabel?: ReactNode | boolean;
|
20
16
|
/**
|
21
17
|
* Content that shows in the body of the card
|
22
18
|
*/
|
@@ -24,6 +20,10 @@ export interface ExpressiveCardProps extends PropsWithChildren {
|
|
24
20
|
* Optional user provided class
|
25
21
|
*/
|
26
22
|
className?: string;
|
23
|
+
/**
|
24
|
+
* Optional prop that allows you to pass any component.
|
25
|
+
*/
|
26
|
+
decorator?: ReactNode | boolean;
|
27
27
|
/**
|
28
28
|
* Optional header description
|
29
29
|
*/
|
@@ -91,7 +91,7 @@ export interface ExpressiveCardProps extends PropsWithChildren {
|
|
91
91
|
/**
|
92
92
|
* **Experimental:** For all cases a `Slug` component can be provided.
|
93
93
|
* Clickable tiles only accept a boolean value of true and display a hollow slug.
|
94
|
-
* @deprecated please use the `
|
94
|
+
* @deprecated please use the `decorator` prop
|
95
95
|
*/
|
96
96
|
slug?: ReactNode | boolean;
|
97
97
|
/**
|
@@ -38,10 +38,6 @@ exports.ExpressiveCard.propTypes = {
|
|
38
38
|
iconDescription: index.default.string,
|
39
39
|
href: index.default.string
|
40
40
|
})),
|
41
|
-
/**
|
42
|
-
* Optional prop that is intended for any scenario where something is being generated by AI to reinforce AI transparency, accountability, and explainability at the UI level.
|
43
|
-
*/
|
44
|
-
aiLabel: index.default.oneOfType([index.default.node, index.default.bool]),
|
45
41
|
/**
|
46
42
|
* Content that shows in the body of the card
|
47
43
|
*/
|
@@ -50,6 +46,10 @@ exports.ExpressiveCard.propTypes = {
|
|
50
46
|
* Optional user provided class
|
51
47
|
*/
|
52
48
|
className: index.default.string,
|
49
|
+
/**
|
50
|
+
* Optional prop that allows you to pass any component.
|
51
|
+
*/
|
52
|
+
decorator: index.default.oneOfType([index.default.node, index.default.bool]),
|
53
53
|
/**
|
54
54
|
* Optional header description
|
55
55
|
*/
|
@@ -120,7 +120,7 @@ exports.ExpressiveCard.propTypes = {
|
|
120
120
|
/**
|
121
121
|
* **Experimental:** For all cases a `Slug` component can be provided.
|
122
122
|
* Clickable tiles only accept a boolean value of true and display a hollow slug.
|
123
|
-
* @deprecated please use the `
|
123
|
+
* @deprecated please use the `decorator` prop
|
124
124
|
*/
|
125
125
|
slug: index.default.oneOfType([index.default.node, index.default.bool]),
|
126
126
|
/**
|
@@ -22,7 +22,9 @@ var componentName = 'FilterPanel';
|
|
22
22
|
|
23
23
|
/**
|
24
24
|
* The container for filter panel subcomponents.
|
25
|
+
* @deprecated This component is deprecated
|
25
26
|
*/
|
27
|
+
|
26
28
|
exports.FilterPanel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
27
29
|
var children = _ref.children,
|
28
30
|
className = _ref.className,
|
@@ -35,6 +37,10 @@ exports.FilterPanel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
35
37
|
className: "".concat(blockClass, "__title")
|
36
38
|
}, title), children);
|
37
39
|
});
|
40
|
+
exports.FilterPanel.deprecated = {
|
41
|
+
level: 'warn',
|
42
|
+
details: "This component is deprecated"
|
43
|
+
};
|
38
44
|
|
39
45
|
// Return a placeholder if not released and not enabled by feature flag
|
40
46
|
exports.FilterPanel = settings.pkg.checkComponentEnabled(exports.FilterPanel, componentName);
|
@@ -28,6 +28,7 @@ var defaults = {
|
|
28
28
|
|
29
29
|
/**
|
30
30
|
* A container with a label and optional count.
|
31
|
+
* @deprecated This component is deprecated
|
31
32
|
*/
|
32
33
|
exports.FilterPanelAccordion = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
33
34
|
var _ref$accordionProps = _ref.accordionProps,
|
@@ -51,6 +52,10 @@ exports.FilterPanelAccordion = /*#__PURE__*/React.forwardRef(function (_ref, ref
|
|
51
52
|
className: "".concat(blockClass, "__list")
|
52
53
|
}), children));
|
53
54
|
});
|
55
|
+
exports.FilterPanelAccordion.deprecated = {
|
56
|
+
level: 'warn',
|
57
|
+
details: "This component is deprecated"
|
58
|
+
};
|
54
59
|
|
55
60
|
// Return a placeholder if not released and not enabled by feature flag
|
56
61
|
exports.FilterPanelAccordion = settings.pkg.checkComponentEnabled(exports.FilterPanelAccordion, componentName);
|
@@ -29,6 +29,7 @@ var defaults = {
|
|
29
29
|
|
30
30
|
/**
|
31
31
|
* A container with a label and optional count.
|
32
|
+
* @deprecated This component is deprecated
|
32
33
|
*/
|
33
34
|
exports.FilterPanelAccordionItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
34
35
|
var _ref$accordionItemPro = _ref.accordionItemProps,
|
@@ -58,7 +59,10 @@ exports.FilterPanelAccordionItem = /*#__PURE__*/React.forwardRef(function (_ref,
|
|
58
59
|
}, child);
|
59
60
|
})));
|
60
61
|
});
|
61
|
-
|
62
|
+
exports.FilterPanelAccordionItem.deprecated = {
|
63
|
+
level: 'warn',
|
64
|
+
details: "This component is deprecated"
|
65
|
+
};
|
62
66
|
// Return a placeholder if not released and not enabled by feature flag
|
63
67
|
exports.FilterPanelAccordionItem = settings.pkg.checkComponentEnabled(exports.FilterPanelAccordionItem, componentName);
|
64
68
|
exports.FilterPanelAccordionItem.displayName = componentName;
|
@@ -5,6 +5,7 @@
|
|
5
5
|
*
|
6
6
|
* All of Carbon Checkbox's props are directly available
|
7
7
|
* through "...rest", including id, onClick, etc.
|
8
|
+
* @deprecated This component is deprecated
|
8
9
|
*/
|
9
10
|
export let FilterPanelCheckbox: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
10
11
|
import React from 'react';
|
@@ -29,6 +29,7 @@ var componentName = 'FilterPanelCheckbox';
|
|
29
29
|
*
|
30
30
|
* All of Carbon Checkbox's props are directly available
|
31
31
|
* through "...rest", including id, onClick, etc.
|
32
|
+
* @deprecated This component is deprecated
|
32
33
|
*/
|
33
34
|
exports.FilterPanelCheckbox = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
34
35
|
var className = _ref.className,
|
@@ -48,6 +49,10 @@ exports.FilterPanelCheckbox = /*#__PURE__*/React.forwardRef(function (_ref, ref)
|
|
48
49
|
ref: ref
|
49
50
|
}, devtools.getDevtoolsProps(componentName)));
|
50
51
|
});
|
52
|
+
exports.FilterPanelCheckbox.deprecated = {
|
53
|
+
level: 'warn',
|
54
|
+
details: "This component is deprecated"
|
55
|
+
};
|
51
56
|
|
52
57
|
// Return a placeholder if not released and not enabled by feature flag
|
53
58
|
exports.FilterPanelCheckbox = settings.pkg.checkComponentEnabled(exports.FilterPanelCheckbox, componentName);
|
@@ -5,6 +5,7 @@
|
|
5
5
|
* just like FilterPanelCheckbox.
|
6
6
|
*
|
7
7
|
* Use `overflowMenuProps` for properties specific to the OverflowMenu.
|
8
|
+
* @deprecated This component is deprecated
|
8
9
|
*/
|
9
10
|
export let FilterPanelCheckboxWithOverflow: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
10
11
|
import React from 'react';
|
@@ -32,6 +32,7 @@ var defaults = {
|
|
32
32
|
* just like FilterPanelCheckbox.
|
33
33
|
*
|
34
34
|
* Use `overflowMenuProps` for properties specific to the OverflowMenu.
|
35
|
+
* @deprecated This component is deprecated
|
35
36
|
*/
|
36
37
|
exports.FilterPanelCheckboxWithOverflow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
37
38
|
var children = _ref.children,
|
@@ -117,6 +118,10 @@ exports.FilterPanelCheckboxWithOverflow = /*#__PURE__*/React.forwardRef(function
|
|
117
118
|
}, other), children))
|
118
119
|
);
|
119
120
|
});
|
121
|
+
exports.FilterPanelCheckboxWithOverflow.deprecated = {
|
122
|
+
level: 'warn',
|
123
|
+
details: "This component is deprecated"
|
124
|
+
};
|
120
125
|
|
121
126
|
// Return a placeholder if not released and not enabled by feature flag
|
122
127
|
exports.FilterPanelCheckboxWithOverflow = settings.pkg.checkComponentEnabled(exports.FilterPanelCheckboxWithOverflow, componentName);
|
@@ -23,6 +23,7 @@ var componentName = 'FilterPanelGroup';
|
|
23
23
|
|
24
24
|
/**
|
25
25
|
* A container with a label and optional count.
|
26
|
+
* @deprecated This component is deprecated
|
26
27
|
*/
|
27
28
|
exports.FilterPanelGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
28
29
|
var children = _ref.children,
|
@@ -44,6 +45,10 @@ exports.FilterPanelGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
44
45
|
className: "".concat(blockClass, "__content")
|
45
46
|
}, children));
|
46
47
|
});
|
48
|
+
exports.FilterPanelGroup.deprecated = {
|
49
|
+
level: 'warn',
|
50
|
+
details: "This component is deprecated"
|
51
|
+
};
|
47
52
|
|
48
53
|
// Return a placeholder if not released and not enabled by feature flag
|
49
54
|
exports.FilterPanelGroup = settings.pkg.checkComponentEnabled(exports.FilterPanelGroup, componentName);
|
@@ -26,6 +26,7 @@ var defaults = {
|
|
26
26
|
|
27
27
|
/**
|
28
28
|
* An input field and container to show search results.
|
29
|
+
* @deprecated This component is deprecated
|
29
30
|
*/
|
30
31
|
exports.FilterPanelSearch = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
31
32
|
var children = _ref.children,
|
@@ -69,7 +70,10 @@ exports.FilterPanelSearch = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
69
70
|
className: "".concat(blockClass, "__results")
|
70
71
|
}, children));
|
71
72
|
});
|
72
|
-
|
73
|
+
exports.FilterPanelSearch.deprecated = {
|
74
|
+
level: 'warn',
|
75
|
+
details: "This component is deprecated"
|
76
|
+
};
|
73
77
|
// Return a placeholder if not released and not enabled by feature flag
|
74
78
|
exports.FilterPanelSearch = settings.pkg.checkComponentEnabled(exports.FilterPanelSearch, componentName);
|
75
79
|
exports.FilterPanelSearch.displayName = componentName;
|
@@ -18,6 +18,7 @@ var cx = require('classnames');
|
|
18
18
|
var devtools = require('../../global/js/utils/devtools.js');
|
19
19
|
var settings = require('../../settings.js');
|
20
20
|
|
21
|
+
var _span;
|
21
22
|
var _excluded = ["children", "className", "description", "label", "kind", "title"];
|
22
23
|
|
23
24
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
@@ -44,20 +45,17 @@ exports.FullPageError = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
44
45
|
var errorData = {
|
45
46
|
403: {
|
46
47
|
svg: /*#__PURE__*/React.createElement(Error403SVG.Error403SVG, {
|
47
|
-
className: "".concat(blockClass, "__svg ").concat(blockClass, "__403")
|
48
|
-
title: title
|
48
|
+
className: "".concat(blockClass, "__svg ").concat(blockClass, "__403")
|
49
49
|
})
|
50
50
|
},
|
51
51
|
404: {
|
52
52
|
svg: /*#__PURE__*/React.createElement(Error404SVG.Error404SVG, {
|
53
|
-
className: "".concat(blockClass, "__svg ").concat(blockClass, "__404")
|
54
|
-
title: title
|
53
|
+
className: "".concat(blockClass, "__svg ").concat(blockClass, "__404")
|
55
54
|
})
|
56
55
|
},
|
57
56
|
custom: {
|
58
57
|
svg: /*#__PURE__*/React.createElement(ErrorGenericSVG.ErrorGenericSVG, {
|
59
|
-
className: "".concat(blockClass, "__svg ").concat(blockClass, "__custom")
|
60
|
-
title: title
|
58
|
+
className: "".concat(blockClass, "__svg ").concat(blockClass, "__custom")
|
61
59
|
})
|
62
60
|
}
|
63
61
|
};
|
@@ -78,7 +76,9 @@ exports.FullPageError = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
78
76
|
className: "".concat(blockClass, "__title")
|
79
77
|
}, /*#__PURE__*/React.createElement("span", {
|
80
78
|
className: "".concat(blockClass, "__label")
|
81
|
-
},
|
79
|
+
}, _span || (_span = /*#__PURE__*/React.createElement("span", {
|
80
|
+
"aria-hidden": "true"
|
81
|
+
}, "\u21B3 ")), label), /*#__PURE__*/React.createElement("span", null, title)), /*#__PURE__*/React.createElement("p", {
|
82
82
|
className: "".concat(blockClass, "__description")
|
83
83
|
}, description), /*#__PURE__*/React.createElement("div", {
|
84
84
|
className: "".concat(blockClass, "__body")
|
@@ -1,11 +1,9 @@
|
|
1
|
-
export function Error403SVG({ className
|
1
|
+
export function Error403SVG({ className }: {
|
2
2
|
className: any;
|
3
|
-
title: any;
|
4
3
|
}): React.JSX.Element;
|
5
4
|
export namespace Error403SVG {
|
6
5
|
namespace propTypes {
|
7
6
|
export { string as className };
|
8
|
-
export { string as title };
|
9
7
|
}
|
10
8
|
}
|
11
9
|
import React from 'react';
|
@@ -12,14 +12,13 @@ var index = require('../../../_virtual/index.js');
|
|
12
12
|
|
13
13
|
var _g, _defs;
|
14
14
|
var Error403SVG = function Error403SVG(_ref) {
|
15
|
-
var className = _ref.className
|
16
|
-
title = _ref.title;
|
15
|
+
var className = _ref.className;
|
17
16
|
return /*#__PURE__*/React.createElement("svg", {
|
18
17
|
viewBox: "0 0 750 570",
|
19
18
|
fill: "none",
|
20
19
|
className: className,
|
21
|
-
|
22
|
-
"
|
20
|
+
"aria-hidden": "true",
|
21
|
+
xmlns: "http://www.w3.org/2000/svg"
|
23
22
|
}, _g || (_g = /*#__PURE__*/React.createElement("g", {
|
24
23
|
clipPath: "url(#clip0_0_2401)"
|
25
24
|
}, /*#__PURE__*/React.createElement("path", {
|
@@ -712,8 +711,7 @@ var Error403SVG = function Error403SVG(_ref) {
|
|
712
711
|
// in alphabetical order (for consistency).
|
713
712
|
// See https://www.npmjs.com/package/prop-types#usage.
|
714
713
|
Error403SVG.propTypes = {
|
715
|
-
className: index.propTypesExports.string
|
716
|
-
title: index.propTypesExports.string
|
714
|
+
className: index.propTypesExports.string
|
717
715
|
};
|
718
716
|
|
719
717
|
exports.Error403SVG = Error403SVG;
|
@@ -1,11 +1,9 @@
|
|
1
|
-
export function Error404SVG({ className
|
1
|
+
export function Error404SVG({ className }: {
|
2
2
|
className: any;
|
3
|
-
title: any;
|
4
3
|
}): React.JSX.Element;
|
5
4
|
export namespace Error404SVG {
|
6
5
|
namespace propTypes {
|
7
6
|
export { string as className };
|
8
|
-
export { string as title };
|
9
7
|
}
|
10
8
|
}
|
11
9
|
import React from 'react';
|
@@ -12,14 +12,13 @@ var index = require('../../../_virtual/index.js');
|
|
12
12
|
|
13
13
|
var _g, _defs;
|
14
14
|
var Error404SVG = function Error404SVG(_ref) {
|
15
|
-
var className = _ref.className
|
16
|
-
title = _ref.title;
|
15
|
+
var className = _ref.className;
|
17
16
|
return /*#__PURE__*/React.createElement("svg", {
|
18
17
|
viewBox: "0 0 751 549",
|
19
18
|
fill: "none",
|
20
19
|
className: className,
|
21
|
-
|
22
|
-
"
|
20
|
+
"aria-hidden": "true",
|
21
|
+
xmlns: "http://www.w3.org/2000/svg"
|
23
22
|
}, _g || (_g = /*#__PURE__*/React.createElement("g", {
|
24
23
|
clipPath: "url(#clip0_0_2285)"
|
25
24
|
}, /*#__PURE__*/React.createElement("path", {
|
@@ -621,8 +620,7 @@ var Error404SVG = function Error404SVG(_ref) {
|
|
621
620
|
// in alphabetical order (for consistency).
|
622
621
|
// See https://www.npmjs.com/package/prop-types#usage.
|
623
622
|
Error404SVG.propTypes = {
|
624
|
-
className: index.propTypesExports.string
|
625
|
-
title: index.propTypesExports.string
|
623
|
+
className: index.propTypesExports.string
|
626
624
|
};
|
627
625
|
|
628
626
|
exports.Error404SVG = Error404SVG;
|
@@ -1,11 +1,9 @@
|
|
1
|
-
export function ErrorGenericSVG({ className
|
1
|
+
export function ErrorGenericSVG({ className }: {
|
2
2
|
className: any;
|
3
|
-
title: any;
|
4
3
|
}): React.JSX.Element;
|
5
4
|
export namespace ErrorGenericSVG {
|
6
5
|
namespace propTypes {
|
7
6
|
export { string as className };
|
8
|
-
export { string as title };
|
9
7
|
}
|
10
8
|
}
|
11
9
|
import React from 'react';
|
@@ -12,14 +12,13 @@ var index = require('../../../_virtual/index.js');
|
|
12
12
|
|
13
13
|
var _g, _defs;
|
14
14
|
var ErrorGenericSVG = function ErrorGenericSVG(_ref) {
|
15
|
-
var className = _ref.className
|
16
|
-
title = _ref.title;
|
15
|
+
var className = _ref.className;
|
17
16
|
return /*#__PURE__*/React.createElement("svg", {
|
18
17
|
viewBox: "0 0 750 506",
|
19
18
|
fill: "none",
|
20
19
|
className: className,
|
21
|
-
|
22
|
-
"
|
20
|
+
"aria-hidden": "true",
|
21
|
+
xmlns: "http://www.w3.org/2000/svg"
|
23
22
|
}, _g || (_g = /*#__PURE__*/React.createElement("g", {
|
24
23
|
clipPath: "url(#clip0_203_144)"
|
25
24
|
}, /*#__PURE__*/React.createElement("path", {
|
@@ -712,8 +711,7 @@ var ErrorGenericSVG = function ErrorGenericSVG(_ref) {
|
|
712
711
|
// in alphabetical order (for consistency).
|
713
712
|
// See https://www.npmjs.com/package/prop-types#usage.
|
714
713
|
ErrorGenericSVG.propTypes = {
|
715
|
-
className: index.propTypesExports.string
|
716
|
-
title: index.propTypesExports.string
|
714
|
+
className: index.propTypesExports.string
|
717
715
|
};
|
718
716
|
|
719
717
|
exports.ErrorGenericSVG = ErrorGenericSVG;
|
@@ -51,8 +51,13 @@ export interface InlineTipProps {
|
|
51
51
|
* - If a stepped animation is required, use `{filePaths}`.
|
52
52
|
*
|
53
53
|
* Enabling `media` disables the `collapsible` feature.
|
54
|
+
* @deprecated please use the `renderMedia` prop
|
54
55
|
*/
|
55
56
|
media?: MediaType;
|
57
|
+
/**
|
58
|
+
* Optional prop to render any media like images or any animated media.
|
59
|
+
*/
|
60
|
+
renderMedia?: () => ReactNode;
|
56
61
|
/**
|
57
62
|
* Set to `true` to arrange the information in a format
|
58
63
|
* that is easier to read in a limited space.
|
@@ -20,7 +20,7 @@ var settings = require('../../settings.js');
|
|
20
20
|
var uuidv4 = require('../../global/js/utils/uuidv4.js');
|
21
21
|
|
22
22
|
var _Close, _Idea, _Crossroads;
|
23
|
-
var _excluded = ["action", "children", "className", "closeIconDescription", "collapsible", "collapseButtonLabel", "expandButtonLabel", "media", "narrow", "onClick", "onClose", "tertiaryButtonLabel", "title", "withLeftGutter"];
|
23
|
+
var _excluded = ["action", "children", "className", "closeIconDescription", "collapsible", "collapseButtonLabel", "expandButtonLabel", "media", "renderMedia", "narrow", "onClick", "onClose", "tertiaryButtonLabel", "title", "withLeftGutter"];
|
24
24
|
|
25
25
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
26
26
|
var blockClass = "".concat(settings.pkg.prefix, "--inline-tip");
|
@@ -58,6 +58,7 @@ exports.InlineTip = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
58
58
|
_ref$expandButtonLabe = _ref.expandButtonLabel,
|
59
59
|
expandButtonLabel = _ref$expandButtonLabe === void 0 ? defaults.expandButtonLabel : _ref$expandButtonLabe,
|
60
60
|
media = _ref.media,
|
61
|
+
renderMedia = _ref.renderMedia,
|
61
62
|
_ref$narrow = _ref.narrow,
|
62
63
|
narrow = _ref$narrow === void 0 ? defaults.narrow : _ref$narrow,
|
63
64
|
onClick = _ref.onClick,
|
@@ -68,6 +69,7 @@ exports.InlineTip = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
68
69
|
_ref$withLeftGutter = _ref.withLeftGutter,
|
69
70
|
withLeftGutter = _ref$withLeftGutter === void 0 ? defaults.withLeftGutter : _ref$withLeftGutter,
|
70
71
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
72
|
+
var hasMedia = renderMedia || media;
|
71
73
|
var _useState = React.useState(collapsible),
|
72
74
|
_useState2 = _rollupPluginBabelHelpers.slicedToArray(_useState, 2),
|
73
75
|
isCollapsed = _useState2[0],
|
@@ -77,7 +79,7 @@ exports.InlineTip = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
77
79
|
return utils.getComponentText(React.Children.toArray(children));
|
78
80
|
}, [children]);
|
79
81
|
var childrenToRender = children;
|
80
|
-
if (!
|
82
|
+
if (!hasMedia && collapsible && isCollapsed) {
|
81
83
|
childrenToRender = /*#__PURE__*/React.createElement("p", {
|
82
84
|
className: "".concat(blockClass, "__preview-text")
|
83
85
|
}, previewText);
|
@@ -89,7 +91,7 @@ exports.InlineTip = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
89
91
|
}, [collapsible]);
|
90
92
|
return /*#__PURE__*/React.createElement("div", _rollupPluginBabelHelpers.extends({}, rest, {
|
91
93
|
"aria-labelledby": labelId,
|
92
|
-
className: cx(blockClass, className, collapsible && "".concat(blockClass, "__collapsible"), isCollapsed && "".concat(blockClass, "__collapsible-collapsed"),
|
94
|
+
className: cx(blockClass, className, collapsible && "".concat(blockClass, "__collapsible"), isCollapsed && "".concat(blockClass, "__collapsible-collapsed"), hasMedia && "".concat(blockClass, "__has-media"), [narrow ? "".concat(blockClass, "__narrow") : "".concat(blockClass, "__wide")], withLeftGutter && !narrow && "".concat(blockClass, "__with-left-gutter")),
|
93
95
|
ref: ref,
|
94
96
|
role: "complementary"
|
95
97
|
}, devtools.getDevtoolsProps(componentName)), /*#__PURE__*/React.createElement("div", {
|
@@ -102,7 +104,7 @@ exports.InlineTip = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
102
104
|
size: "lg"
|
103
105
|
}, _Close || (_Close = /*#__PURE__*/React.createElement(icons.Close, {
|
104
106
|
size: 16
|
105
|
-
})))), (!
|
107
|
+
})))), (!hasMedia && narrow || !narrow) && /*#__PURE__*/React.createElement("div", {
|
106
108
|
className: "".concat(blockClass, "__icon-idea"),
|
107
109
|
tabIndex: -1
|
108
110
|
}, _Idea || (_Idea = /*#__PURE__*/React.createElement(icons.Idea, {
|
@@ -118,7 +120,7 @@ exports.InlineTip = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
118
120
|
className: "".concat(blockClass, "__secondary-btn")
|
119
121
|
}, action)), (collapsible || tertiaryButtonLabel) && /*#__PURE__*/React.createElement("footer", {
|
120
122
|
className: "".concat(blockClass, "__footer")
|
121
|
-
}, collapsible && !
|
123
|
+
}, collapsible && !hasMedia && /*#__PURE__*/React.createElement(react.Button, {
|
122
124
|
className: "".concat(blockClass, "__toggle-btn"),
|
123
125
|
kind: "ghost",
|
124
126
|
size: "md",
|
@@ -137,12 +139,14 @@ exports.InlineTip = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
137
139
|
size: 16
|
138
140
|
}));
|
139
141
|
}
|
140
|
-
}, tertiaryButtonLabel))),
|
142
|
+
}, tertiaryButtonLabel))), hasMedia && (media === null || media === void 0 ? void 0 : media.render) && /*#__PURE__*/React.createElement("div", {
|
141
143
|
className: "".concat(blockClass, "__media")
|
142
|
-
}, media.render()) : /*#__PURE__*/React.createElement(SteppedAnimatedMedia.SteppedAnimatedMedia, {
|
144
|
+
}, media.render()), hasMedia && (media === null || media === void 0 ? void 0 : media.filePaths) && /*#__PURE__*/React.createElement(SteppedAnimatedMedia.SteppedAnimatedMedia, {
|
143
145
|
className: "".concat(blockClass, "__media"),
|
144
146
|
filePaths: media.filePaths
|
145
|
-
})
|
147
|
+
}), hasMedia && renderMedia && /*#__PURE__*/React.createElement("div", {
|
148
|
+
className: "".concat(blockClass, "__media")
|
149
|
+
}, renderMedia()));
|
146
150
|
});
|
147
151
|
exports.InlineTip = settings.pkg.checkComponentEnabled(exports.InlineTip, componentName);
|
148
152
|
exports.InlineTip.displayName = componentName;
|
@@ -188,6 +192,7 @@ exports.InlineTip.propTypes = {
|
|
188
192
|
* - If a stepped animation is required, use `{filePaths}`.
|
189
193
|
*
|
190
194
|
* Enabling `media` disables the `collapsible` feature.
|
195
|
+
* @deprecated please use the `renderMedia` prop
|
191
196
|
*/
|
192
197
|
/**@ts-ignore*/
|
193
198
|
media: index.default.oneOfType([index.default.shape({
|
@@ -208,6 +213,10 @@ exports.InlineTip.propTypes = {
|
|
208
213
|
* Function to call when the InlineTip is closed via the "X" button.
|
209
214
|
*/
|
210
215
|
onClose: index.default.func,
|
216
|
+
/**
|
217
|
+
* Optional prop to render any media like images or animated media.
|
218
|
+
*/
|
219
|
+
renderMedia: index.default.func,
|
211
220
|
/**
|
212
221
|
* Defining the label will show a the tertiary button with the crossroads icon.
|
213
222
|
* You will still need to define the `onClose` method to trigger a callback.
|
@@ -19,6 +19,10 @@ var settings = require('../../settings.js');
|
|
19
19
|
var _excluded = ["activeHref", "className", "children", "heading", "label"];
|
20
20
|
var componentName = 'Nav';
|
21
21
|
var blockClass = "".concat(settings.pkg.prefix, "--nav");
|
22
|
+
|
23
|
+
/**
|
24
|
+
* @deprecated This component is deprecated
|
25
|
+
*/
|
22
26
|
exports.Nav = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
23
27
|
var activeHref = _ref.activeHref,
|
24
28
|
className = _ref.className,
|
@@ -123,6 +127,10 @@ exports.Nav = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
123
127
|
return (child === null || child === void 0 || (_child$type = child.type) === null || _child$type === void 0 ? void 0 : _child$type.displayName) === NavList.default.displayName ? buildNewListChild(child, index) : buildNewItemChild(child, index);
|
124
128
|
})));
|
125
129
|
});
|
130
|
+
exports.Nav.deprecated = {
|
131
|
+
level: 'warn',
|
132
|
+
details: "This component is deprecated"
|
133
|
+
};
|
126
134
|
exports.Nav.propTypes = {
|
127
135
|
/**
|
128
136
|
* Hypertext reference for active page.
|