@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
@@ -18,7 +18,7 @@ import { pkg } from '../../settings.js';
|
|
18
18
|
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
19
19
|
|
20
20
|
var _Close, _Idea, _Crossroads;
|
21
|
-
var _excluded = ["action", "children", "className", "closeIconDescription", "collapsible", "collapseButtonLabel", "expandButtonLabel", "media", "narrow", "onClick", "onClose", "tertiaryButtonLabel", "title", "withLeftGutter"];
|
21
|
+
var _excluded = ["action", "children", "className", "closeIconDescription", "collapsible", "collapseButtonLabel", "expandButtonLabel", "media", "renderMedia", "narrow", "onClick", "onClose", "tertiaryButtonLabel", "title", "withLeftGutter"];
|
22
22
|
|
23
23
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
24
24
|
var blockClass = "".concat(pkg.prefix, "--inline-tip");
|
@@ -56,6 +56,7 @@ var InlineTip = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
56
56
|
_ref$expandButtonLabe = _ref.expandButtonLabel,
|
57
57
|
expandButtonLabel = _ref$expandButtonLabe === void 0 ? defaults.expandButtonLabel : _ref$expandButtonLabe,
|
58
58
|
media = _ref.media,
|
59
|
+
renderMedia = _ref.renderMedia,
|
59
60
|
_ref$narrow = _ref.narrow,
|
60
61
|
narrow = _ref$narrow === void 0 ? defaults.narrow : _ref$narrow,
|
61
62
|
onClick = _ref.onClick,
|
@@ -66,6 +67,7 @@ var InlineTip = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
66
67
|
_ref$withLeftGutter = _ref.withLeftGutter,
|
67
68
|
withLeftGutter = _ref$withLeftGutter === void 0 ? defaults.withLeftGutter : _ref$withLeftGutter,
|
68
69
|
rest = _objectWithoutProperties(_ref, _excluded);
|
70
|
+
var hasMedia = renderMedia || media;
|
69
71
|
var _useState = useState(collapsible),
|
70
72
|
_useState2 = _slicedToArray(_useState, 2),
|
71
73
|
isCollapsed = _useState2[0],
|
@@ -75,7 +77,7 @@ var InlineTip = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
75
77
|
return getComponentText(React__default.Children.toArray(children));
|
76
78
|
}, [children]);
|
77
79
|
var childrenToRender = children;
|
78
|
-
if (!
|
80
|
+
if (!hasMedia && collapsible && isCollapsed) {
|
79
81
|
childrenToRender = /*#__PURE__*/React__default.createElement("p", {
|
80
82
|
className: "".concat(blockClass, "__preview-text")
|
81
83
|
}, previewText);
|
@@ -87,7 +89,7 @@ var InlineTip = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
87
89
|
}, [collapsible]);
|
88
90
|
return /*#__PURE__*/React__default.createElement("div", _extends({}, rest, {
|
89
91
|
"aria-labelledby": labelId,
|
90
|
-
className: cx(blockClass, className, collapsible && "".concat(blockClass, "__collapsible"), isCollapsed && "".concat(blockClass, "__collapsible-collapsed"),
|
92
|
+
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")),
|
91
93
|
ref: ref,
|
92
94
|
role: "complementary"
|
93
95
|
}, getDevtoolsProps(componentName)), /*#__PURE__*/React__default.createElement("div", {
|
@@ -100,7 +102,7 @@ var InlineTip = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
100
102
|
size: "lg"
|
101
103
|
}, _Close || (_Close = /*#__PURE__*/React__default.createElement(Close, {
|
102
104
|
size: 16
|
103
|
-
})))), (!
|
105
|
+
})))), (!hasMedia && narrow || !narrow) && /*#__PURE__*/React__default.createElement("div", {
|
104
106
|
className: "".concat(blockClass, "__icon-idea"),
|
105
107
|
tabIndex: -1
|
106
108
|
}, _Idea || (_Idea = /*#__PURE__*/React__default.createElement(Idea, {
|
@@ -116,7 +118,7 @@ var InlineTip = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
116
118
|
className: "".concat(blockClass, "__secondary-btn")
|
117
119
|
}, action)), (collapsible || tertiaryButtonLabel) && /*#__PURE__*/React__default.createElement("footer", {
|
118
120
|
className: "".concat(blockClass, "__footer")
|
119
|
-
}, collapsible && !
|
121
|
+
}, collapsible && !hasMedia && /*#__PURE__*/React__default.createElement(Button, {
|
120
122
|
className: "".concat(blockClass, "__toggle-btn"),
|
121
123
|
kind: "ghost",
|
122
124
|
size: "md",
|
@@ -135,12 +137,14 @@ var InlineTip = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
135
137
|
size: 16
|
136
138
|
}));
|
137
139
|
}
|
138
|
-
}, tertiaryButtonLabel))),
|
140
|
+
}, tertiaryButtonLabel))), hasMedia && (media === null || media === void 0 ? void 0 : media.render) && /*#__PURE__*/React__default.createElement("div", {
|
139
141
|
className: "".concat(blockClass, "__media")
|
140
|
-
}, media.render()) : /*#__PURE__*/React__default.createElement(SteppedAnimatedMedia, {
|
142
|
+
}, media.render()), hasMedia && (media === null || media === void 0 ? void 0 : media.filePaths) && /*#__PURE__*/React__default.createElement(SteppedAnimatedMedia, {
|
141
143
|
className: "".concat(blockClass, "__media"),
|
142
144
|
filePaths: media.filePaths
|
143
|
-
})
|
145
|
+
}), hasMedia && renderMedia && /*#__PURE__*/React__default.createElement("div", {
|
146
|
+
className: "".concat(blockClass, "__media")
|
147
|
+
}, renderMedia()));
|
144
148
|
});
|
145
149
|
InlineTip = pkg.checkComponentEnabled(InlineTip, componentName);
|
146
150
|
InlineTip.displayName = componentName;
|
@@ -186,6 +190,7 @@ InlineTip.propTypes = {
|
|
186
190
|
* - If a stepped animation is required, use `{filePaths}`.
|
187
191
|
*
|
188
192
|
* Enabling `media` disables the `collapsible` feature.
|
193
|
+
* @deprecated please use the `renderMedia` prop
|
189
194
|
*/
|
190
195
|
/**@ts-ignore*/
|
191
196
|
media: PropTypes.oneOfType([PropTypes.shape({
|
@@ -206,6 +211,10 @@ InlineTip.propTypes = {
|
|
206
211
|
* Function to call when the InlineTip is closed via the "X" button.
|
207
212
|
*/
|
208
213
|
onClose: PropTypes.func,
|
214
|
+
/**
|
215
|
+
* Optional prop to render any media like images or animated media.
|
216
|
+
*/
|
217
|
+
renderMedia: PropTypes.func,
|
209
218
|
/**
|
210
219
|
* Defining the label will show a the tertiary button with the crossroads icon.
|
211
220
|
* You will still need to define the `onClose` method to trigger a callback.
|
package/es/components/Nav/Nav.js
CHANGED
@@ -17,6 +17,10 @@ import { pkg } from '../../settings.js';
|
|
17
17
|
var _excluded = ["activeHref", "className", "children", "heading", "label"];
|
18
18
|
var componentName = 'Nav';
|
19
19
|
var blockClass = "".concat(pkg.prefix, "--nav");
|
20
|
+
|
21
|
+
/**
|
22
|
+
* @deprecated This component is deprecated
|
23
|
+
*/
|
20
24
|
var Nav = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
21
25
|
var activeHref = _ref.activeHref,
|
22
26
|
className = _ref.className,
|
@@ -121,6 +125,10 @@ var Nav = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
121
125
|
return (child === null || child === void 0 || (_child$type = child.type) === null || _child$type === void 0 ? void 0 : _child$type.displayName) === NavList.displayName ? buildNewListChild(child, index) : buildNewItemChild(child, index);
|
122
126
|
})));
|
123
127
|
});
|
128
|
+
Nav.deprecated = {
|
129
|
+
level: 'warn',
|
130
|
+
details: "This component is deprecated"
|
131
|
+
};
|
124
132
|
Nav.propTypes = {
|
125
133
|
/**
|
126
134
|
* Hypertext reference for active page.
|
@@ -22,9 +22,9 @@ export interface ProductiveCardProps extends PropsWithChildren {
|
|
22
22
|
*/
|
23
23
|
actionIcons?: ActionIcon[];
|
24
24
|
/**
|
25
|
-
* Optional prop that
|
25
|
+
* Optional prop that allows you to pass any component.
|
26
26
|
*/
|
27
|
-
|
27
|
+
decorator?: ReactNode | boolean;
|
28
28
|
/**
|
29
29
|
* Determines if the action icons are on the top or bottom of the card
|
30
30
|
*/
|
@@ -108,7 +108,7 @@ export interface ProductiveCardProps extends PropsWithChildren {
|
|
108
108
|
/**
|
109
109
|
* **Experimental:** For all cases a `Slug` component can be provided.
|
110
110
|
* Clickable tiles only accept a boolean value of true and display a hollow slug.
|
111
|
-
* @deprecated please use the `
|
111
|
+
* @deprecated please use the `decorator` prop
|
112
112
|
*/
|
113
113
|
slug?: ReactNode | boolean;
|
114
114
|
/**
|
@@ -48,10 +48,6 @@ ProductiveCard.propTypes = {
|
|
48
48
|
* Determines if the action icons are on the top or bottom of the card
|
49
49
|
*/
|
50
50
|
actionsPlacement: PropTypes.oneOf(['top', 'bottom']),
|
51
|
-
/**
|
52
|
-
* 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.
|
53
|
-
*/
|
54
|
-
aiLabel: PropTypes.oneOfType([PropTypes.node, PropTypes.bool]),
|
55
51
|
/**
|
56
52
|
* Content that shows in the body of the card
|
57
53
|
*/
|
@@ -64,6 +60,10 @@ ProductiveCard.propTypes = {
|
|
64
60
|
* Designates which zones of the card are clickable. Refer to design documentation for implementation guidelines
|
65
61
|
*/
|
66
62
|
clickZone: PropTypes.oneOf(['one', 'two', 'three']),
|
63
|
+
/**
|
64
|
+
* Optional prop that allows you to pass any component.
|
65
|
+
*/
|
66
|
+
decorator: PropTypes.oneOfType([PropTypes.node, PropTypes.bool]),
|
67
67
|
/**
|
68
68
|
* Optional header description
|
69
69
|
*/
|
@@ -27,6 +27,7 @@ var defaults = {
|
|
27
27
|
|
28
28
|
/**
|
29
29
|
* A list of icon/description pairs used to show multiple states of progress.
|
30
|
+
* @deprecated This component is deprecated
|
30
31
|
*/
|
31
32
|
var StatusIndicator = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
32
33
|
var children = _ref.children,
|
@@ -57,6 +58,10 @@ var StatusIndicator = /*#__PURE__*/React__default.forwardRef(function (_ref, ref
|
|
57
58
|
}
|
58
59
|
}, retryLabel));
|
59
60
|
});
|
61
|
+
StatusIndicator.deprecated = {
|
62
|
+
level: 'warn',
|
63
|
+
details: "This component is deprecated"
|
64
|
+
};
|
60
65
|
|
61
66
|
// Return a placeholder if not released and not enabled by feature flag
|
62
67
|
StatusIndicator = pkg.checkComponentEnabled(StatusIndicator, componentName);
|
@@ -26,6 +26,7 @@ var defaults = {
|
|
26
26
|
|
27
27
|
/**
|
28
28
|
* An icon/description pair that describes one step of the `StatusIndicator`.
|
29
|
+
* @deprecated This component is deprecated
|
29
30
|
*/
|
30
31
|
var StatusIndicatorStep = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
31
32
|
var className = _ref.className,
|
@@ -54,6 +55,10 @@ var StatusIndicatorStep = /*#__PURE__*/React__default.forwardRef(function (_ref,
|
|
54
55
|
className: "".concat(blockClass, "__error-message")
|
55
56
|
}, errorMessage));
|
56
57
|
});
|
58
|
+
StatusIndicatorStep.deprecated = {
|
59
|
+
level: 'warn',
|
60
|
+
details: "This component is deprecated"
|
61
|
+
};
|
57
62
|
|
58
63
|
// Return a placeholder if not released and not enabled by feature flag
|
59
64
|
StatusIndicatorStep = pkg.checkComponentEnabled(StatusIndicatorStep, componentName);
|
@@ -43,6 +43,7 @@ var SteppedAnimatedMedia = /*#__PURE__*/React__default.forwardRef(function (_ref
|
|
43
43
|
var backupRef = useRef(null);
|
44
44
|
var localRef = ref !== null && ref !== void 0 ? ref : backupRef;
|
45
45
|
var localRefValue = localRef.current;
|
46
|
+
var filePathStr = filePaths === null || filePaths === void 0 ? void 0 : filePaths.join(); //converting the array to string will avoid unwanted useEffect trigger.
|
46
47
|
// load animation source
|
47
48
|
useEffect(function () {
|
48
49
|
var isJsonFile = function isJsonFile(filePath) {
|
@@ -85,7 +86,8 @@ var SteppedAnimatedMedia = /*#__PURE__*/React__default.forwardRef(function (_ref
|
|
85
86
|
return _loadArtifact.apply(this, arguments);
|
86
87
|
}
|
87
88
|
loadArtifact();
|
88
|
-
|
89
|
+
// eslint-disable-next-line
|
90
|
+
}, [filePathStr]);
|
89
91
|
useEffect(function () {
|
90
92
|
var _window;
|
91
93
|
var prefersReducedMotion = (_window = window) !== null && _window !== void 0 && _window.matchMedia ? window.matchMedia('(prefers-reduced-motion: reduce)').matches : true;
|
@@ -18,7 +18,7 @@ import { Button, usePrefix, unstable_FeatureFlags, ComposedModal, ModalHeader, L
|
|
18
18
|
import { ActionSet } from '../ActionSet/ActionSet.js';
|
19
19
|
import { Wrap } from '../../global/js/utils/Wrap.js';
|
20
20
|
import { usePortalTarget } from '../../global/js/hooks/usePortalTarget.js';
|
21
|
-
import { useFocus,
|
21
|
+
import { useFocus, claimFocus } from '../../global/js/hooks/useFocus.js';
|
22
22
|
import { usePreviousValue } from '../../global/js/hooks/usePreviousValue.js';
|
23
23
|
|
24
24
|
var _excluded = ["actions", "aiLabel", "ariaLabel", "children", "className", "closeIconDescription", "description", "hasCloseIcon", "headerActions", "influencer", "influencerPosition", "influencerWidth", "label", "navigation", "onClose", "open", "portalTarget", "selectorPrimaryFocus", "selectorsFloatingMenus", "size", "slug", "title", "verticalPosition", "launcherButtonRef"];
|
@@ -146,33 +146,12 @@ var TearsheetShell = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
|
|
146
146
|
|
147
147
|
// Callback to give the tearsheet the opportunity to claim focus
|
148
148
|
handleStackChange.claimFocus = function () {
|
149
|
-
|
150
|
-
var _window;
|
151
|
-
var specifiedEl = getSpecificElement(modalRef === null || modalRef === void 0 ? void 0 : modalRef.current, selectorPrimaryFocus);
|
152
|
-
if (specifiedEl && ((_window = window) === null || _window === void 0 || (_window = _window.getComputedStyle(specifiedEl)) === null || _window === void 0 ? void 0 : _window.display) !== 'none') {
|
153
|
-
return specifiedEl.focus();
|
154
|
-
}
|
155
|
-
}
|
156
|
-
setTimeout(function () {
|
157
|
-
return firstElement === null || firstElement === void 0 ? void 0 : firstElement.focus();
|
158
|
-
}, 0);
|
149
|
+
claimFocus(firstElement, modalRef, selectorPrimaryFocus);
|
159
150
|
};
|
160
151
|
useEffect(function () {
|
161
152
|
if (open) {
|
162
153
|
// Focusing the first element or selectorPrimaryFocus element
|
163
|
-
|
164
|
-
var _window2;
|
165
|
-
var specifiedEl = getSpecificElement(modalRef === null || modalRef === void 0 ? void 0 : modalRef.current, selectorPrimaryFocus);
|
166
|
-
if (specifiedEl && ((_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.getComputedStyle(specifiedEl)) === null || _window2 === void 0 ? void 0 : _window2.display) !== 'none') {
|
167
|
-
setTimeout(function () {
|
168
|
-
return specifiedEl.focus();
|
169
|
-
}, 0);
|
170
|
-
return;
|
171
|
-
}
|
172
|
-
}
|
173
|
-
setTimeout(function () {
|
174
|
-
return firstElement === null || firstElement === void 0 ? void 0 : firstElement.focus();
|
175
|
-
}, 0);
|
154
|
+
claimFocus(firstElement, modalRef, selectorPrimaryFocus);
|
176
155
|
}
|
177
156
|
}, [firstElement, modalRef, open, selectorPrimaryFocus]);
|
178
157
|
useEffect(function () {
|
@@ -104,4 +104,24 @@ var useFocus = function useFocus(modalRef, selectorPrimaryFocus) {
|
|
104
104
|
};
|
105
105
|
};
|
106
106
|
|
107
|
-
|
107
|
+
/**
|
108
|
+
*
|
109
|
+
* @param {*} firstElement
|
110
|
+
* @param {*} modalRef
|
111
|
+
* @param {string | undefined} selectorPrimaryFocus
|
112
|
+
*/
|
113
|
+
var claimFocus = function claimFocus(firstElement, modalRef) {
|
114
|
+
var selectorPrimaryFocus = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
|
115
|
+
if (selectorPrimaryFocus && getSpecificElement(modalRef === null || modalRef === void 0 ? void 0 : modalRef.current, selectorPrimaryFocus)) {
|
116
|
+
var _window2;
|
117
|
+
var specifiedEl = getSpecificElement(modalRef === null || modalRef === void 0 ? void 0 : modalRef.current, selectorPrimaryFocus);
|
118
|
+
if (specifiedEl && ((_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.getComputedStyle(specifiedEl)) === null || _window2 === void 0 ? void 0 : _window2.display) !== 'none') {
|
119
|
+
return specifiedEl.focus();
|
120
|
+
}
|
121
|
+
}
|
122
|
+
setTimeout(function () {
|
123
|
+
return firstElement === null || firstElement === void 0 ? void 0 : firstElement.focus();
|
124
|
+
}, 0);
|
125
|
+
};
|
126
|
+
|
127
|
+
export { claimFocus, getSpecificElement, useFocus };
|
@@ -29,6 +29,5 @@ var usePrefersReducedMotion = function usePrefersReducedMotion() {
|
|
29
29
|
}, []);
|
30
30
|
return prefersReducedMotion;
|
31
31
|
};
|
32
|
-
var usePrefersReducedMotion$1 = usePrefersReducedMotion;
|
33
32
|
|
34
|
-
export { usePrefersReducedMotion
|
33
|
+
export { usePrefersReducedMotion as default };
|
@@ -66,6 +66,7 @@ declare namespace defaults {
|
|
66
66
|
let WebTerminal: boolean;
|
67
67
|
let WebTerminalContentWrapper: boolean;
|
68
68
|
let WebTerminalProvider: boolean;
|
69
|
+
let UserAvatar: boolean;
|
69
70
|
let Toolbar: boolean;
|
70
71
|
let ToolbarButton: boolean;
|
71
72
|
let ToolbarGroup: boolean;
|
@@ -115,7 +116,6 @@ declare namespace defaults {
|
|
115
116
|
let DescriptionListCell: boolean;
|
116
117
|
let DescriptionListRow: boolean;
|
117
118
|
let SearchBar: boolean;
|
118
|
-
let UserAvatar: boolean;
|
119
119
|
let EmptyStateV2: boolean;
|
120
120
|
let Guidebanner: boolean;
|
121
121
|
let GuidebannerElement: boolean;
|
@@ -64,6 +64,7 @@ var defaults = {
|
|
64
64
|
WebTerminal: true,
|
65
65
|
WebTerminalContentWrapper: true,
|
66
66
|
WebTerminalProvider: true,
|
67
|
+
UserAvatar: true,
|
67
68
|
// other public components not yet reviewed and released:
|
68
69
|
Toolbar: false,
|
69
70
|
ToolbarButton: false,
|
@@ -117,7 +118,6 @@ var defaults = {
|
|
117
118
|
DescriptionListCell: false,
|
118
119
|
DescriptionListRow: false,
|
119
120
|
SearchBar: false,
|
120
|
-
UserAvatar: false,
|
121
121
|
/* new component flags here - comment used by generate CLI */
|
122
122
|
|
123
123
|
// Onboarding components not yet reviewed and released:
|
package/es/index.js
CHANGED
@@ -103,12 +103,12 @@ export { SearchBar } from './components/SearchBar/SearchBar.js';
|
|
103
103
|
export { TagOverflow } from './components/TagOverflow/TagOverflow.js';
|
104
104
|
export { GetStartedCard } from './components/GetStartedCard/GetStartedCard.js';
|
105
105
|
export { FeatureFlags as unstable_FeatureFlags, useFeatureFlag as unstable_useFeatureFlag, useFeatureFlags as unstable_useFeatureFlags } from './components/FeatureFlags/index.js';
|
106
|
+
export { default as useFilterContext } from './components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js';
|
106
107
|
export { usePrefix } from './global/js/hooks/usePrefix.js';
|
107
108
|
export { ActionBar } from './components/ActionBar/ActionBar.js';
|
108
109
|
export { HTTPError403 } from './components/HTTPErrors/HTTPError403/HTTPError403.js';
|
109
110
|
export { HTTPError404 } from './components/HTTPErrors/HTTPError404/HTTPError404.js';
|
110
111
|
export { HTTPErrorOther } from './components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js';
|
111
|
-
export { default as useFilterContext } from './components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js';
|
112
112
|
export { EditTearsheet } from './components/EditTearsheet/EditTearsheet.js';
|
113
113
|
export { EditTearsheetForm } from './components/EditTearsheet/EditTearsheetForm.js';
|
114
114
|
export { CoachmarkStack } from './components/CoachmarkStack/CoachmarkStack.js';
|
package/es/settings.d.ts
CHANGED
@@ -52,6 +52,7 @@ export const pkg: {
|
|
52
52
|
WebTerminal: boolean;
|
53
53
|
WebTerminalContentWrapper: boolean;
|
54
54
|
WebTerminalProvider: boolean;
|
55
|
+
UserAvatar: boolean;
|
55
56
|
Toolbar: boolean;
|
56
57
|
ToolbarButton: boolean;
|
57
58
|
ToolbarGroup: boolean;
|
@@ -101,7 +102,6 @@ export const pkg: {
|
|
101
102
|
DescriptionListCell: boolean;
|
102
103
|
DescriptionListRow: boolean;
|
103
104
|
SearchBar: boolean;
|
104
|
-
UserAvatar: boolean;
|
105
105
|
EmptyStateV2: boolean;
|
106
106
|
Guidebanner: boolean;
|
107
107
|
GuidebannerElement: boolean;
|
@@ -506,7 +506,7 @@ function _nonIterableRest() {
|
|
506
506
|
function _createForOfIteratorHelper(o, allowArrayLike) {
|
507
507
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
508
508
|
if (!it) {
|
509
|
-
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike
|
509
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike) {
|
510
510
|
if (it) o = it;
|
511
511
|
var i = 0;
|
512
512
|
var F = function () {};
|
@@ -10,7 +10,7 @@ export namespace APIKeyDownloader {
|
|
10
10
|
export { componentName as displayName };
|
11
11
|
export namespace propTypes {
|
12
12
|
let apiKey: PropTypes.Validator<string>;
|
13
|
-
let body: PropTypes.
|
13
|
+
let body: PropTypes.Requireable<string>;
|
14
14
|
let downloadLinkLabel: PropTypes.Requireable<string>;
|
15
15
|
let fileName: PropTypes.Validator<string>;
|
16
16
|
let fileType: PropTypes.Validator<string>;
|
@@ -1,3 +1,16 @@
|
|
1
1
|
import React from 'react';
|
2
|
+
import PropTypes from 'prop-types';
|
2
3
|
import { APIKeyModalProps } from './APIKeyModal.types';
|
3
4
|
export declare let APIKeyModal: React.FC<APIKeyModalProps>;
|
5
|
+
export declare const deprecatedProps: {
|
6
|
+
/**
|
7
|
+
* deprecated
|
8
|
+
* title for a successful edit
|
9
|
+
*/
|
10
|
+
editSuccessTitle: PropTypes.Requireable<string>;
|
11
|
+
/**
|
12
|
+
* deprecated
|
13
|
+
* title for a successful key generation
|
14
|
+
*/
|
15
|
+
generateSuccessTitle: PropTypes.Requireable<string>;
|
16
|
+
};
|