@carbon/ibm-products 2.52.0 → 2.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/css/index-full-carbon.css +306 -298
- 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 +94 -27
- 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 +110 -44
- 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 +179 -118
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/es/components/APIKeyModal/APIKeyDownloader.d.ts +2 -1
- package/es/components/APIKeyModal/APIKeyModal.js +1 -1
- package/es/components/AboutModal/AboutModal.js +2 -4
- package/es/components/ActionBar/ActionBarOverflowItems.d.ts +2 -2
- package/es/components/AddSelect/AddSelectBody.js +8 -1
- package/es/components/AddSelect/AddSelectBreadcrumbs.d.ts +2 -1
- package/es/components/AddSelect/AddSelectColumn.d.ts +2 -1
- package/es/components/AddSelect/AddSelectFilter.d.ts +2 -1
- package/es/components/AddSelect/AddSelectFilter.js +5 -5
- package/es/components/AddSelect/AddSelectFormControl.d.ts +2 -1
- package/es/components/AddSelect/AddSelectList.d.ts +2 -1
- package/es/components/AddSelect/AddSelectMetaPanel.d.ts +2 -1
- package/es/components/AddSelect/AddSelectRow.d.ts +2 -1
- package/es/components/AddSelect/AddSelectSidebar.d.ts +2 -1
- package/es/components/AddSelect/AddSelectSidebar.js +1 -1
- package/es/components/AddSelect/AddSelectSort.d.ts +2 -1
- package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.d.ts +2 -1
- package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.d.ts +2 -1
- package/es/components/Card/Card.d.ts +5 -1
- package/es/components/Card/Card.js +9 -2
- package/es/components/Card/CardFooter.d.ts +1 -1
- package/es/components/Card/CardHeader.d.ts +12 -2
- package/es/components/Card/CardHeader.js +17 -9
- package/es/components/Carousel/Carousel.js +17 -8
- package/es/components/Checklist/ChecklistChart.js +22 -6
- package/es/components/Coachmark/Coachmark.js +18 -11
- package/es/components/Coachmark/CoachmarkOverlay.js +30 -19
- package/es/components/Coachmark/utils/hooks.js +1 -1
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +2 -2
- package/es/components/CoachmarkStack/CoachmarkStack.js +1 -1
- package/es/components/ComboButton/ComboButtonItem/index.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +1 -1
- package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +3 -6
- package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.d.ts +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +2 -8
- package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +0 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +5 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +6 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +2 -1
- package/es/components/ConditionBuilder/utils/handleKeyboardEvents.js +65 -61
- package/es/components/ConditionBuilder/utils/util.js +0 -2
- package/es/components/CreateInfluencer/CreateInfluencer.d.ts +2 -2
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +4 -4
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +2 -2
- package/es/components/Datagrid/Datagrid/DatagridBody.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DatagridContent.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DatagridEmptyBody.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DatagridEmptyBody.js +5 -1
- package/es/components/Datagrid/Datagrid/DatagridExpandedRow.d.ts +2 -2
- package/es/components/Datagrid/Datagrid/DatagridExpandedRow.js +6 -4
- package/es/components/Datagrid/Datagrid/DatagridHead.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +13 -10
- package/es/components/Datagrid/Datagrid/DatagridRefBody.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DatagridRow.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DatagridRow.js +14 -10
- package/es/components/Datagrid/Datagrid/DatagridSelectAll.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DatagridSimpleBody.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DatagridToolbar.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DatagridVirtualBody.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DraggableElement.d.ts +2 -2
- package/es/components/Datagrid/Datagrid/addons/{Slug/DatagridSlug.d.ts → AiLabel/DatagridAiLabel.d.ts} +3 -3
- package/es/components/Datagrid/Datagrid/addons/AiLabel/DatagridAiLabel.js +29 -0
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +5 -5
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +2 -2
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +5 -5
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.d.ts +1 -1
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -1
- package/es/components/Datagrid/index.d.ts +29 -22
- package/es/components/Datagrid/types/index.d.ts +7 -7
- package/es/components/Datagrid/useActionsColumn.js +1 -2
- package/es/components/Datagrid/useColumnCenterAlign.js +1 -2
- package/es/components/Datagrid/useColumnRightAlign.js +1 -2
- package/es/components/Datagrid/useCustomizeColumns.js +1 -2
- package/es/components/Datagrid/useDatagrid.js +1 -2
- package/es/components/Datagrid/useDefaultStringRenderer.js +3 -3
- package/es/components/Datagrid/useDisableSelectRows.js +1 -2
- package/es/components/Datagrid/useExpandedRow.js +1 -2
- package/es/components/Datagrid/useFiltering.js +1 -2
- package/es/components/Datagrid/useFlexResize.js +1 -1
- package/es/components/Datagrid/useInfiniteScroll.js +1 -2
- package/es/components/Datagrid/useInlineEdit.js +1 -2
- package/es/components/Datagrid/useNestedRowExpander.js +2 -2
- package/es/components/Datagrid/useNestedRows.js +1 -2
- package/es/components/Datagrid/useOnRowClick.js +1 -2
- package/es/components/Datagrid/useParentDimensions.js +5 -5
- package/es/components/Datagrid/useRowExpander.js +6 -7
- package/es/components/Datagrid/useRowIsMouseOver.js +1 -2
- package/es/components/Datagrid/useSelectAllToggle.js +1 -2
- package/es/components/Datagrid/useSelectRows.js +1 -2
- package/es/components/Datagrid/useSortableColumns.js +7 -8
- package/es/components/Datagrid/useStickyColumn.js +4 -5
- package/es/components/EmptyStates/EmptyState.d.ts +1 -1
- package/es/components/EmptyStates/EmptyState.js +8 -2
- package/es/components/EmptyStates/EmptyStateContent.d.ts +2 -1
- package/es/components/EmptyStates/EmptyStateIllustration.d.ts +2 -1
- package/es/components/EmptyStates/EmptyStateV2.d.ts +1 -2
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +1 -2
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
- package/es/components/EmptyStates/ErrorEmptyState/index.d.ts +8 -1
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +1 -2
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
- package/es/components/EmptyStates/NoDataEmptyState/index.d.ts +8 -1
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.d.ts +1 -2
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
- package/es/components/EmptyStates/NoTagsEmptyState/index.d.ts +8 -1
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +1 -2
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
- package/es/components/EmptyStates/NotFoundEmptyState/index.d.ts +8 -1
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.d.ts +1 -2
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
- package/es/components/EmptyStates/NotificationsEmptyState/index.d.ts +8 -1
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +1 -2
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
- package/es/components/EmptyStates/UnauthorizedEmptyState/index.d.ts +8 -1
- package/es/components/EmptyStates/assets/ErrorIllustration.d.ts +2 -1
- package/es/components/EmptyStates/assets/NoDataIllustration.d.ts +2 -1
- package/es/components/EmptyStates/assets/NoDataIllustration.js +5 -5
- package/es/components/EmptyStates/assets/NoTagsIllustration.d.ts +2 -1
- package/es/components/EmptyStates/assets/NotFoundIllustration.d.ts +2 -1
- package/es/components/EmptyStates/assets/NotificationsIllustration.d.ts +2 -1
- package/es/components/EmptyStates/assets/NotificationsIllustration.js +8 -8
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.d.ts +2 -1
- package/es/components/EmptyStates/index.d.ts +22 -8
- package/es/components/ExportModal/ExportModal.js +1 -3
- package/es/components/ExpressiveCard/ExpressiveCard.d.ts +5 -0
- package/es/components/ExpressiveCard/ExpressiveCard.js +5 -0
- package/es/components/FeatureFlags/index.d.ts +5 -4
- package/es/components/FeatureFlags/index.js +17 -10
- package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +1 -1
- package/es/components/FullPageError/assets/Error403SVG.d.ts +2 -1
- package/es/components/FullPageError/assets/Error404SVG.d.ts +2 -1
- package/es/components/FullPageError/assets/ErrorGenericSVG.d.ts +2 -1
- package/es/components/HTTPErrors/HTTPErrorContent.d.ts +2 -1
- package/es/components/HTTPErrors/assets/HTTPErrorSvg403.d.ts +2 -1
- package/es/components/HTTPErrors/assets/HTTPErrorSvg404.d.ts +2 -1
- package/es/components/HTTPErrors/assets/HTTPErrorSvgOther.d.ts +2 -1
- package/es/components/InterstitialScreen/InterstitialScreen.js +4 -4
- package/es/components/Nav/NavItem.d.ts +2 -1
- package/es/components/NotificationsPanel/NotificationsPanel.js +8 -1
- package/es/components/PageHeader/PageHeader.d.ts +2 -0
- package/es/components/PageHeader/PageHeader.js +4 -1
- package/es/components/PageHeader/PageHeaderTitle.d.ts +3 -1
- package/es/components/PageHeader/PageHeaderTitle.js +42 -8
- package/es/components/ProductiveCard/ProductiveCard.d.ts +5 -0
- package/es/components/ProductiveCard/ProductiveCard.js +4 -0
- package/es/components/ScrollGradient/ScrollGradient.js +2 -2
- package/es/components/SidePanel/SidePanel.d.ts +5 -0
- package/es/components/SidePanel/SidePanel.js +30 -16
- package/es/components/SimpleHeader/SimpleHeader.d.ts +2 -1
- package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +1 -1
- package/es/components/TagOverflow/TagOverflow.d.ts +3 -0
- package/es/components/TagOverflow/TagOverflow.js +9 -4
- package/es/components/TagOverflow/TagOverflowModal.d.ts +6 -1
- package/es/components/TagOverflow/TagOverflowModal.js +17 -6
- package/es/components/TagOverflow/TagOverflowPopover.js +17 -9
- package/es/components/TagSet/TagSet.d.ts +4 -0
- package/es/components/TagSet/TagSet.js +20 -8
- package/es/components/TagSet/TagSetModal.js +0 -1
- package/es/components/Tearsheet/TearsheetShell.d.ts +13 -4
- package/es/components/Tearsheet/TearsheetShell.js +31 -20
- package/es/components/Toolbar/Toolbar.js +1 -1
- package/es/components/TooltipTrigger/TooltipTrigger.d.ts +2 -1
- package/es/components/TruncatedList/TruncatedList.js +1 -1
- package/es/components/_Canary/Canary.d.ts +2 -1
- package/es/global/js/hooks/usePreviousValue.js +1 -1
- package/es/index.js +29 -29
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-9.js +742 -740
- package/lib/components/APIKeyModal/APIKeyDownloader.d.ts +2 -1
- package/lib/components/APIKeyModal/APIKeyModal.js +1 -1
- package/lib/components/AboutModal/AboutModal.js +2 -4
- package/lib/components/ActionBar/ActionBarOverflowItems.d.ts +2 -2
- package/lib/components/AddSelect/AddSelectBody.js +8 -1
- package/lib/components/AddSelect/AddSelectBreadcrumbs.d.ts +2 -1
- package/lib/components/AddSelect/AddSelectColumn.d.ts +2 -1
- package/lib/components/AddSelect/AddSelectFilter.d.ts +2 -1
- package/lib/components/AddSelect/AddSelectFilter.js +4 -4
- package/lib/components/AddSelect/AddSelectFormControl.d.ts +2 -1
- package/lib/components/AddSelect/AddSelectList.d.ts +2 -1
- package/lib/components/AddSelect/AddSelectMetaPanel.d.ts +2 -1
- package/lib/components/AddSelect/AddSelectRow.d.ts +2 -1
- package/lib/components/AddSelect/AddSelectSidebar.d.ts +2 -1
- package/lib/components/AddSelect/AddSelectSidebar.js +1 -1
- package/lib/components/AddSelect/AddSelectSort.d.ts +2 -1
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.d.ts +2 -1
- package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.d.ts +2 -1
- package/lib/components/Card/Card.d.ts +5 -1
- package/lib/components/Card/Card.js +9 -2
- package/lib/components/Card/CardFooter.d.ts +1 -1
- package/lib/components/Card/CardHeader.d.ts +12 -2
- package/lib/components/Card/CardHeader.js +17 -9
- package/lib/components/Carousel/Carousel.js +17 -8
- package/lib/components/Checklist/ChecklistChart.js +20 -4
- package/lib/components/Coachmark/Coachmark.js +17 -10
- package/lib/components/Coachmark/CoachmarkOverlay.js +29 -18
- package/lib/components/Coachmark/utils/hooks.js +1 -1
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +2 -2
- package/lib/components/CoachmarkStack/CoachmarkStack.js +1 -1
- package/lib/components/ComboButton/ComboButtonItem/index.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +1 -1
- package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +3 -6
- package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.d.ts +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +2 -8
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +0 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +5 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +6 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +2 -1
- package/lib/components/ConditionBuilder/utils/handleKeyboardEvents.js +65 -61
- package/lib/components/ConditionBuilder/utils/util.js +0 -2
- package/lib/components/CreateInfluencer/CreateInfluencer.d.ts +2 -2
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +4 -4
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +2 -2
- package/lib/components/Datagrid/Datagrid/DatagridBody.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridContent.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +5 -1
- package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.d.ts +2 -2
- package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.js +6 -4
- package/lib/components/Datagrid/Datagrid/DatagridHead.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +13 -10
- package/lib/components/Datagrid/Datagrid/DatagridRefBody.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridRow.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridRow.js +14 -10
- package/lib/components/Datagrid/Datagrid/DatagridSelectAll.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridToolbar.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DraggableElement.d.ts +2 -2
- package/lib/components/Datagrid/Datagrid/addons/{Slug/DatagridSlug.d.ts → AiLabel/DatagridAiLabel.d.ts} +3 -3
- package/lib/components/Datagrid/Datagrid/addons/AiLabel/DatagridAiLabel.js +31 -0
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +5 -5
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +2 -2
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +5 -5
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.d.ts +1 -1
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -1
- package/lib/components/Datagrid/index.d.ts +29 -22
- package/lib/components/Datagrid/types/index.d.ts +7 -7
- package/lib/components/Datagrid/useActionsColumn.js +1 -2
- package/lib/components/Datagrid/useColumnCenterAlign.js +1 -2
- package/lib/components/Datagrid/useColumnRightAlign.js +1 -2
- package/lib/components/Datagrid/useCustomizeColumns.js +1 -2
- package/lib/components/Datagrid/useDatagrid.js +1 -2
- package/lib/components/Datagrid/useDefaultStringRenderer.js +3 -3
- package/lib/components/Datagrid/useDisableSelectRows.js +1 -2
- package/lib/components/Datagrid/useExpandedRow.js +1 -2
- package/lib/components/Datagrid/useFiltering.js +1 -2
- package/lib/components/Datagrid/useFlexResize.js +1 -1
- package/lib/components/Datagrid/useInfiniteScroll.js +1 -2
- package/lib/components/Datagrid/useInlineEdit.js +1 -2
- package/lib/components/Datagrid/useNestedRowExpander.js +2 -2
- package/lib/components/Datagrid/useNestedRows.js +1 -2
- package/lib/components/Datagrid/useOnRowClick.js +1 -2
- package/lib/components/Datagrid/useParentDimensions.js +5 -5
- package/lib/components/Datagrid/useRowExpander.js +6 -7
- package/lib/components/Datagrid/useRowIsMouseOver.js +1 -2
- package/lib/components/Datagrid/useSelectAllToggle.js +1 -2
- package/lib/components/Datagrid/useSelectRows.js +1 -2
- package/lib/components/Datagrid/useSortableColumns.js +7 -8
- package/lib/components/Datagrid/useStickyColumn.js +4 -5
- package/lib/components/EmptyStates/EmptyState.d.ts +1 -1
- package/lib/components/EmptyStates/EmptyState.js +7 -1
- package/lib/components/EmptyStates/EmptyStateContent.d.ts +2 -1
- package/lib/components/EmptyStates/EmptyStateIllustration.d.ts +2 -1
- package/lib/components/EmptyStates/EmptyStateV2.d.ts +1 -2
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +1 -2
- package/lib/components/EmptyStates/ErrorEmptyState/index.d.ts +8 -1
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +1 -2
- package/lib/components/EmptyStates/NoDataEmptyState/index.d.ts +8 -1
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.d.ts +1 -2
- package/lib/components/EmptyStates/NoTagsEmptyState/index.d.ts +8 -1
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +1 -2
- package/lib/components/EmptyStates/NotFoundEmptyState/index.d.ts +8 -1
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.d.ts +1 -2
- package/lib/components/EmptyStates/NotificationsEmptyState/index.d.ts +8 -1
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +1 -2
- package/lib/components/EmptyStates/UnauthorizedEmptyState/index.d.ts +8 -1
- package/lib/components/EmptyStates/assets/ErrorIllustration.d.ts +2 -1
- package/lib/components/EmptyStates/assets/NoDataIllustration.d.ts +2 -1
- package/lib/components/EmptyStates/assets/NoDataIllustration.js +5 -5
- package/lib/components/EmptyStates/assets/NoTagsIllustration.d.ts +2 -1
- package/lib/components/EmptyStates/assets/NotFoundIllustration.d.ts +2 -1
- package/lib/components/EmptyStates/assets/NotificationsIllustration.d.ts +2 -1
- package/lib/components/EmptyStates/assets/NotificationsIllustration.js +8 -8
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.d.ts +2 -1
- package/lib/components/EmptyStates/index.d.ts +22 -8
- package/lib/components/ExportModal/ExportModal.js +1 -3
- package/lib/components/ExpressiveCard/ExpressiveCard.d.ts +5 -0
- package/lib/components/ExpressiveCard/ExpressiveCard.js +5 -0
- package/lib/components/FeatureFlags/index.d.ts +5 -4
- package/lib/components/FeatureFlags/index.js +16 -9
- package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +1 -1
- package/lib/components/FullPageError/assets/Error403SVG.d.ts +2 -1
- package/lib/components/FullPageError/assets/Error404SVG.d.ts +2 -1
- package/lib/components/FullPageError/assets/ErrorGenericSVG.d.ts +2 -1
- package/lib/components/HTTPErrors/HTTPErrorContent.d.ts +2 -1
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.d.ts +2 -1
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.d.ts +2 -1
- package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.d.ts +2 -1
- package/lib/components/InterstitialScreen/InterstitialScreen.js +4 -4
- package/lib/components/Nav/NavItem.d.ts +2 -1
- package/lib/components/NotificationsPanel/NotificationsPanel.js +8 -1
- package/lib/components/PageHeader/PageHeader.d.ts +2 -0
- package/lib/components/PageHeader/PageHeader.js +4 -1
- package/lib/components/PageHeader/PageHeaderTitle.d.ts +3 -1
- package/lib/components/PageHeader/PageHeaderTitle.js +39 -5
- package/lib/components/ProductiveCard/ProductiveCard.d.ts +5 -0
- package/lib/components/ProductiveCard/ProductiveCard.js +4 -0
- package/lib/components/ScrollGradient/ScrollGradient.js +2 -2
- package/lib/components/SidePanel/SidePanel.d.ts +5 -0
- package/lib/components/SidePanel/SidePanel.js +30 -16
- package/lib/components/SimpleHeader/SimpleHeader.d.ts +2 -1
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +1 -1
- package/lib/components/TagOverflow/TagOverflow.d.ts +3 -0
- package/lib/components/TagOverflow/TagOverflow.js +8 -3
- package/lib/components/TagOverflow/TagOverflowModal.d.ts +6 -1
- package/lib/components/TagOverflow/TagOverflowModal.js +16 -5
- package/lib/components/TagOverflow/TagOverflowPopover.js +16 -8
- package/lib/components/TagSet/TagSet.d.ts +4 -0
- package/lib/components/TagSet/TagSet.js +19 -7
- package/lib/components/TagSet/TagSetModal.js +0 -1
- package/lib/components/Tearsheet/TearsheetShell.d.ts +13 -4
- package/lib/components/Tearsheet/TearsheetShell.js +31 -20
- package/lib/components/Toolbar/Toolbar.js +1 -1
- package/lib/components/TooltipTrigger/TooltipTrigger.d.ts +2 -1
- package/lib/components/TruncatedList/TruncatedList.js +1 -1
- package/lib/components/_Canary/Canary.d.ts +2 -1
- package/lib/global/js/hooks/usePreviousValue.js +1 -1
- package/lib/index.js +88 -88
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-9.js +742 -740
- package/package.json +11 -11
- package/scss/components/Card/_card.scss +14 -6
- package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +4 -0
- package/scss/components/Datagrid/styles/_datagrid.scss +82 -2
- package/scss/components/PageHeader/_page-header.scss +16 -3
- package/scss/components/SidePanel/_side-panel.scss +12 -6
- package/scss/components/Tearsheet/_tearsheet.scss +13 -3
- package/telemetry.yml +1 -0
- package/es/components/Datagrid/Datagrid/addons/Slug/DatagridSlug.js +0 -29
- package/lib/components/Datagrid/Datagrid/addons/Slug/DatagridSlug.js +0 -31
@@ -12,7 +12,7 @@ import { pkg, carbon } from '../../settings.js';
|
|
12
12
|
import { Button } from '@carbon/react';
|
13
13
|
import { ArrowsVertical, ArrowDown, ArrowUp } from '@carbon/react/icons';
|
14
14
|
import { SelectAll } from './Datagrid/DatagridSelectAll.js';
|
15
|
-
import {
|
15
|
+
import { DatagridAILabel } from './Datagrid/addons/AiLabel/DatagridAiLabel.js';
|
16
16
|
|
17
17
|
var blockClass = "".concat(pkg.prefix, "--datagrid");
|
18
18
|
var getNewSortOrder = function getNewSortOrder(currentOrder) {
|
@@ -78,9 +78,9 @@ var useSortableColumns = function useSortableColumns(hooks) {
|
|
78
78
|
descendingSortableLabelText = instance.descendingSortableLabelText,
|
79
79
|
defaultSortableLabelText = instance.defaultSortableLabelText;
|
80
80
|
var onSortClick = function onSortClick(event, column) {
|
81
|
-
var
|
81
|
+
var aiLabel = event.target.classList.contains("".concat(carbon.prefix, "--slug")) || event.target.closest(".".concat(carbon.prefix, "--slug"));
|
82
82
|
// Do not continue with sorting if we find a slug
|
83
|
-
if (
|
83
|
+
if (aiLabel) {
|
84
84
|
event.stopPropagation();
|
85
85
|
return;
|
86
86
|
}
|
@@ -136,9 +136,9 @@ var useSortableColumns = function useSortableColumns(hooks) {
|
|
136
136
|
},
|
137
137
|
kind: "ghost",
|
138
138
|
renderIcon: function renderIcon(props) {
|
139
|
-
var _headerProp$column;
|
140
|
-
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(
|
141
|
-
|
139
|
+
var _headerProp$column, _headerProp$column2;
|
140
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(DatagridAILabel, {
|
141
|
+
aiLabel: (headerProp === null || headerProp === void 0 || (_headerProp$column = headerProp.column) === null || _headerProp$column === void 0 ? void 0 : _headerProp$column.aiLabel) || (headerProp === null || headerProp === void 0 || (_headerProp$column2 = headerProp.column) === null || _headerProp$column2 === void 0 ? void 0 : _headerProp$column2.slug)
|
142
142
|
}), icon(headerProp === null || headerProp === void 0 ? void 0 : headerProp.column, props));
|
143
143
|
},
|
144
144
|
id: column === null || column === void 0 ? void 0 : column.id,
|
@@ -166,6 +166,5 @@ var useSortableColumns = function useSortableColumns(hooks) {
|
|
166
166
|
hooks.visibleColumns.push(sortableVisibleColumns);
|
167
167
|
hooks.useInstance.push(sortInstanceProps);
|
168
168
|
};
|
169
|
-
var useSortableColumns$1 = useSortableColumns;
|
170
169
|
|
171
|
-
export { useSortableColumns
|
170
|
+
export { useSortableColumns as default, getNewSortOrder };
|
@@ -16,9 +16,9 @@ var styleClassPrefix = "".concat(blockClass, "__right-sticky-column");
|
|
16
16
|
var leftStickyStyleClassPrefix = "".concat(blockClass, "__left-sticky-column");
|
17
17
|
var OFFSET_SCROLL_CLASS = "".concat(styleClassPrefix, "-offset-scroll");
|
18
18
|
var useStickyColumn = function useStickyColumn(hooks) {
|
19
|
-
var tableBodyRef = useRef();
|
20
|
-
var stickyHeaderCellRef = useRef();
|
21
|
-
var _useState = useState(),
|
19
|
+
var tableBodyRef = useRef(undefined);
|
20
|
+
var stickyHeaderCellRef = useRef(undefined);
|
21
|
+
var _useState = useState(undefined),
|
22
22
|
_useState2 = _slicedToArray(_useState, 2),
|
23
23
|
windowSize = _useState2[0],
|
24
24
|
setWindowSize = _useState2[1];
|
@@ -192,6 +192,5 @@ var hasVertScroll = function hasVertScroll(element) {
|
|
192
192
|
clientHeight = element.clientHeight;
|
193
193
|
return scrollHeight > clientHeight;
|
194
194
|
};
|
195
|
-
var useStickyColumn$1 = useStickyColumn;
|
196
195
|
|
197
|
-
export { useStickyColumn
|
196
|
+
export { useStickyColumn as default };
|
@@ -5,8 +5,15 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
|
8
|
-
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends, defineProperty as _defineProperty
|
8
|
+
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default from 'react';
|
10
|
+
import { EmptyStateV2 } from './EmptyStateV2.js';
|
11
|
+
import './ErrorEmptyState/ErrorEmptyState.js';
|
12
|
+
import './NoDataEmptyState/NoDataEmptyState.js';
|
13
|
+
import './NoTagsEmptyState/NoTagsEmptyState.js';
|
14
|
+
import './NotFoundEmptyState/NotFoundEmptyState.js';
|
15
|
+
import './NotificationsEmptyState/NotificationsEmptyState.js';
|
16
|
+
import './UnauthorizedEmptyState/UnauthorizedEmptyState.js';
|
10
17
|
import PropTypes from '../../_virtual/index.js';
|
11
18
|
import cx from 'classnames';
|
12
19
|
import { Button, Link } from '@carbon/react';
|
@@ -14,7 +21,6 @@ import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
|
14
21
|
import '../../global/js/utils/props-helper.js';
|
15
22
|
import { pkg } from '../../settings.js';
|
16
23
|
import { EmptyStateContent } from './EmptyStateContent.js';
|
17
|
-
import { EmptyStateV2 } from './EmptyStateV2.js';
|
18
24
|
|
19
25
|
var _excluded = ["v2"],
|
20
26
|
_excluded2 = ["action", "className", "illustration", "illustrationDescription", "illustrationPosition", "link", "size", "subtitle", "title"];
|
@@ -4,7 +4,7 @@ export function EmptyStateContent({ action, link, size, subtitle, title }: {
|
|
4
4
|
size: any;
|
5
5
|
subtitle: any;
|
6
6
|
title: any;
|
7
|
-
}):
|
7
|
+
}): React.JSX.Element;
|
8
8
|
export namespace EmptyStateContent {
|
9
9
|
export { componentName as displayName };
|
10
10
|
export namespace propTypes {
|
@@ -15,6 +15,7 @@ export namespace EmptyStateContent {
|
|
15
15
|
let title: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike>>>;
|
16
16
|
}
|
17
17
|
}
|
18
|
+
import React from 'react';
|
18
19
|
declare const componentName: "EmptyStateContent";
|
19
20
|
import PropTypes from 'prop-types';
|
20
21
|
export {};
|
@@ -2,10 +2,11 @@ export default EmptyStateIllustration;
|
|
2
2
|
declare function EmptyStateIllustration({ kind, ...rest }: {
|
3
3
|
[x: string]: any;
|
4
4
|
kind: any;
|
5
|
-
}):
|
5
|
+
}): React.JSX.Element;
|
6
6
|
declare namespace EmptyStateIllustration {
|
7
7
|
namespace propTypes {
|
8
8
|
let kind: PropTypes.Requireable<string>;
|
9
9
|
}
|
10
10
|
}
|
11
|
+
import React from 'react';
|
11
12
|
import PropTypes from 'prop-types';
|
@@ -6,7 +6,7 @@
|
|
6
6
|
*/
|
7
7
|
import React, { ReactNode } from 'react';
|
8
8
|
import '../../global/js/utils/props-helper';
|
9
|
-
interface EmptyStateV2Props {
|
9
|
+
export interface EmptyStateV2Props {
|
10
10
|
/**
|
11
11
|
* Props for the action button. Refer to the Carbon Components button documentation for full list of props.
|
12
12
|
*/
|
@@ -64,4 +64,3 @@ interface EmptyStateV2Props {
|
|
64
64
|
* In order to avoid breaking changes in the future `EmptyStateV2` is not actually directly importable.
|
65
65
|
*/
|
66
66
|
export declare let EmptyStateV2: React.ForwardRefExoticComponent<EmptyStateV2Props & React.RefAttributes<HTMLDivElement>>;
|
67
|
-
export {};
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import React, { ReactNode } from 'react';
|
9
9
|
import { ButtonProps } from '@carbon/react';
|
10
10
|
import { CarbonIconType } from '@carbon/icons-react/lib/CarbonIcon';
|
11
|
-
interface ErrorEmptyStateProps {
|
11
|
+
export interface ErrorEmptyStateProps {
|
12
12
|
/**
|
13
13
|
* Empty state action button
|
14
14
|
*/
|
@@ -61,4 +61,3 @@ interface ErrorEmptyStateProps {
|
|
61
61
|
* The `EmptyState` component follows the Carbon guidelines for empty states with some added specifications around illustration usage. For additional usage guidelines and documentation please refer to the links above.
|
62
62
|
*/
|
63
63
|
export declare let ErrorEmptyState: React.ForwardRefExoticComponent<ErrorEmptyStateProps & React.RefAttributes<HTMLDivElement>>;
|
64
|
-
export {};
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
|
8
|
-
import {
|
8
|
+
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default from 'react';
|
10
10
|
import PropTypes from '../../../_virtual/index.js';
|
11
11
|
import { Button, Link } from '@carbon/react';
|
@@ -1 +1,8 @@
|
|
1
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2020, 2021
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
7
|
+
export { ErrorEmptyState } from './ErrorEmptyState';
|
8
|
+
export type { ErrorEmptyStateProps } from './ErrorEmptyState';
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import React, { ReactNode } from 'react';
|
9
9
|
import { ButtonProps } from '@carbon/react';
|
10
10
|
import { CarbonIconType } from '@carbon/icons-react/lib/CarbonIcon';
|
11
|
-
interface NoDataEmptyStateProps {
|
11
|
+
export interface NoDataEmptyStateProps {
|
12
12
|
/**
|
13
13
|
* Empty state action button
|
14
14
|
*/
|
@@ -61,4 +61,3 @@ interface NoDataEmptyStateProps {
|
|
61
61
|
* The `EmptyState` component follows the Carbon guidelines for empty states with some added specifications around illustration usage. For additional usage guidelines and documentation please refer to the links above.
|
62
62
|
*/
|
63
63
|
export declare let NoDataEmptyState: React.ForwardRefExoticComponent<NoDataEmptyStateProps & React.RefAttributes<HTMLDivElement>>;
|
64
|
-
export {};
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
|
8
|
-
import {
|
8
|
+
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default from 'react';
|
10
10
|
import PropTypes from '../../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
@@ -1 +1,8 @@
|
|
1
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2020, 2021
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
7
|
+
export { NoDataEmptyState } from './NoDataEmptyState';
|
8
|
+
export type { NoDataEmptyStateProps } from './NoDataEmptyState';
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import React, { ReactNode } from 'react';
|
9
9
|
import { ButtonProps } from '@carbon/react';
|
10
10
|
import { CarbonIconType } from '@carbon/icons-react/lib/CarbonIcon';
|
11
|
-
interface NoTagsEmptyStateProps {
|
11
|
+
export interface NoTagsEmptyStateProps {
|
12
12
|
/**
|
13
13
|
* Empty state action button
|
14
14
|
*/
|
@@ -61,4 +61,3 @@ interface NoTagsEmptyStateProps {
|
|
61
61
|
* The `EmptyState` component follows the Carbon guidelines for empty states with some added specifications around illustration usage. For additional usage guidelines and documentation please refer to the links above.
|
62
62
|
*/
|
63
63
|
export declare let NoTagsEmptyState: React.ForwardRefExoticComponent<NoTagsEmptyStateProps & React.RefAttributes<HTMLDivElement>>;
|
64
|
-
export {};
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
|
8
|
-
import {
|
8
|
+
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default from 'react';
|
10
10
|
import PropTypes from '../../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
@@ -1 +1,8 @@
|
|
1
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2020, 2021
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
7
|
+
export { NoTagsEmptyState } from './NoTagsEmptyState';
|
8
|
+
export type { NoTagsEmptyStateProps } from './NoTagsEmptyState';
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import React, { ReactNode } from 'react';
|
9
9
|
import { ButtonProps } from '@carbon/react';
|
10
10
|
import { CarbonIconType } from '@carbon/icons-react/lib/CarbonIcon';
|
11
|
-
interface NotFoundEmptyStateProps {
|
11
|
+
export interface NotFoundEmptyStateProps {
|
12
12
|
/**
|
13
13
|
* Empty state action button
|
14
14
|
*/
|
@@ -61,4 +61,3 @@ interface NotFoundEmptyStateProps {
|
|
61
61
|
* The `EmptyState` component follows the Carbon guidelines for empty states with some added specifications around illustration usage. For additional usage guidelines and documentation please refer to the links above.
|
62
62
|
*/
|
63
63
|
export declare let NotFoundEmptyState: React.ForwardRefExoticComponent<NotFoundEmptyStateProps & React.RefAttributes<HTMLDivElement>>;
|
64
|
-
export {};
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
|
8
|
-
import {
|
8
|
+
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default from 'react';
|
10
10
|
import PropTypes from '../../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
@@ -1 +1,8 @@
|
|
1
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2020, 2021
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
7
|
+
export { NotFoundEmptyState } from './NotFoundEmptyState';
|
8
|
+
export type { NotFoundEmptyStateProps } from './NotFoundEmptyState';
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import React, { ReactNode } from 'react';
|
9
9
|
import { ButtonProps } from '@carbon/react';
|
10
10
|
import { CarbonIconType } from '@carbon/icons-react/lib/CarbonIcon';
|
11
|
-
interface NotificationsEmptyStateProps {
|
11
|
+
export interface NotificationsEmptyStateProps {
|
12
12
|
/**
|
13
13
|
* Empty state action button
|
14
14
|
*/
|
@@ -61,4 +61,3 @@ interface NotificationsEmptyStateProps {
|
|
61
61
|
* The `EmptyState` component follows the Carbon guidelines for empty states with some added specifications around illustration usage. For additional usage guidelines and documentation please refer to the links above.
|
62
62
|
*/
|
63
63
|
export declare let NotificationsEmptyState: React.ForwardRefExoticComponent<NotificationsEmptyStateProps & React.RefAttributes<HTMLDivElement>>;
|
64
|
-
export {};
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
|
8
|
-
import {
|
8
|
+
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default from 'react';
|
10
10
|
import PropTypes from '../../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
@@ -1 +1,8 @@
|
|
1
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2020, 2021
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
7
|
+
export { NotificationsEmptyState } from './NotificationsEmptyState';
|
8
|
+
export type { NotificationsEmptyStateProps } from './NotificationsEmptyState';
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import React, { ReactNode } from 'react';
|
9
9
|
import { ButtonProps } from '@carbon/react';
|
10
10
|
import { CarbonIconType } from '@carbon/icons-react/lib/CarbonIcon';
|
11
|
-
interface UnauthorizedEmptyStateProps {
|
11
|
+
export interface UnauthorizedEmptyStateProps {
|
12
12
|
/**
|
13
13
|
* Empty state action button
|
14
14
|
*/
|
@@ -61,4 +61,3 @@ interface UnauthorizedEmptyStateProps {
|
|
61
61
|
* The `EmptyState` component follows the Carbon guidelines for empty states with some added specifications around illustration usage. For additional usage guidelines and documentation please refer to the links above.
|
62
62
|
*/
|
63
63
|
export declare let UnauthorizedEmptyState: React.ForwardRefExoticComponent<UnauthorizedEmptyStateProps & React.RefAttributes<HTMLDivElement>>;
|
64
|
-
export {};
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
|
8
|
-
import {
|
8
|
+
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default from 'react';
|
10
10
|
import PropTypes from '../../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
@@ -1 +1,8 @@
|
|
1
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2020, 2021
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
7
|
+
export { UnauthorizedEmptyState } from './UnauthorizedEmptyState';
|
8
|
+
export type { UnauthorizedEmptyStateProps } from './UnauthorizedEmptyState';
|
@@ -3,7 +3,7 @@ export function ErrorIllustration({ theme, size, alt, ...rest }: {
|
|
3
3
|
theme: any;
|
4
4
|
size: any;
|
5
5
|
alt: any;
|
6
|
-
}):
|
6
|
+
}): React.JSX.Element;
|
7
7
|
export namespace ErrorIllustration {
|
8
8
|
namespace propTypes {
|
9
9
|
let alt: PropTypes.Validator<string>;
|
@@ -12,4 +12,5 @@ export namespace ErrorIllustration {
|
|
12
12
|
}
|
13
13
|
}
|
14
14
|
export default ErrorIllustration;
|
15
|
+
import React from 'react';
|
15
16
|
import PropTypes from 'prop-types';
|
@@ -3,7 +3,7 @@ export function NoDataIllustration({ theme, size, alt, ...rest }: {
|
|
3
3
|
theme: any;
|
4
4
|
size: any;
|
5
5
|
alt: any;
|
6
|
-
}):
|
6
|
+
}): React.JSX.Element;
|
7
7
|
export namespace NoDataIllustration {
|
8
8
|
namespace propTypes {
|
9
9
|
let alt: PropTypes.Validator<string>;
|
@@ -12,4 +12,5 @@ export namespace NoDataIllustration {
|
|
12
12
|
}
|
13
13
|
}
|
14
14
|
export default NoDataIllustration;
|
15
|
+
import React from 'react';
|
15
16
|
import PropTypes from 'prop-types';
|
@@ -12,7 +12,7 @@ import cx from 'classnames';
|
|
12
12
|
import { pkg } from '../../../settings.js';
|
13
13
|
import uuidv4 from '../../../global/js/utils/uuidv4.js';
|
14
14
|
|
15
|
-
var _stop, _stop2, _stop3, _stop4, _stop5, _stop6, _path, _path2, _path3, _path4, _path5, _stop7, _stop8, _stop9, _stop10, _stop11, _stop12, _stop13, _stop14, _path6, _path7;
|
15
|
+
var _stop, _stop2, _stop3, _stop4, _stop5, _stop6, _path, _path2, _path3, _path4, _path5, _stop7, _stop8, _stop9, _stop10, _stop11, _stop12, _stop13, _stop14, _path6, _path7, _path8;
|
16
16
|
var _excluded = ["theme", "size", "alt"];
|
17
17
|
|
18
18
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
@@ -146,7 +146,7 @@ var NoDataIllustration = function NoDataIllustration(_ref) {
|
|
146
146
|
})), _stop14 || (_stop14 = /*#__PURE__*/React__default.createElement("stop", {
|
147
147
|
offset: 1,
|
148
148
|
stopColor: "#e0e0e0"
|
149
|
-
})))
|
149
|
+
})))), _path6 || (_path6 = /*#__PURE__*/React__default.createElement("path", {
|
150
150
|
fill: "none",
|
151
151
|
d: "M0 0h80v80H0z"
|
152
152
|
})), /*#__PURE__*/React__default.createElement("path", {
|
@@ -164,10 +164,10 @@ var NoDataIllustration = function NoDataIllustration(_ref) {
|
|
164
164
|
}), _path7 || (_path7 = /*#__PURE__*/React__default.createElement("path", {
|
165
165
|
fill: "#c6c6c6",
|
166
166
|
d: "M25.97 26.67l28.67-16.55-.42-.24-28.68 16.56.43.23z"
|
167
|
-
})), /*#__PURE__*/React__default.createElement("path", {
|
168
|
-
|
167
|
+
})), _path8 || (_path8 = /*#__PURE__*/React__default.createElement("path", {
|
168
|
+
fill: "#fff",
|
169
169
|
d: "M40 35.24L11.13 18.57v-.24l.21-.12 28.87 16.67-.21.11v.25zM21.49 33.33l-8.2-4.73.01-5.69 8.19 4.74v5.68z"
|
170
|
-
})));
|
170
|
+
}))));
|
171
171
|
};
|
172
172
|
NoDataIllustration.propTypes = {
|
173
173
|
alt: PropTypes.string.isRequired,
|
@@ -3,7 +3,7 @@ export function NoTagsIllustration({ theme, size, alt, ...rest }: {
|
|
3
3
|
theme: any;
|
4
4
|
size: any;
|
5
5
|
alt: any;
|
6
|
-
}):
|
6
|
+
}): React.JSX.Element;
|
7
7
|
export namespace NoTagsIllustration {
|
8
8
|
namespace propTypes {
|
9
9
|
let alt: PropTypes.Validator<string>;
|
@@ -12,4 +12,5 @@ export namespace NoTagsIllustration {
|
|
12
12
|
}
|
13
13
|
}
|
14
14
|
export default NoTagsIllustration;
|
15
|
+
import React from 'react';
|
15
16
|
import PropTypes from 'prop-types';
|
@@ -3,7 +3,7 @@ export function NotFoundIllustration({ theme, size, alt, ...rest }: {
|
|
3
3
|
theme: any;
|
4
4
|
size: any;
|
5
5
|
alt: any;
|
6
|
-
}):
|
6
|
+
}): React.JSX.Element;
|
7
7
|
export namespace NotFoundIllustration {
|
8
8
|
namespace propTypes {
|
9
9
|
let alt: PropTypes.Validator<string>;
|
@@ -12,4 +12,5 @@ export namespace NotFoundIllustration {
|
|
12
12
|
}
|
13
13
|
}
|
14
14
|
export default NotFoundIllustration;
|
15
|
+
import React from 'react';
|
15
16
|
import PropTypes from 'prop-types';
|
@@ -3,7 +3,7 @@ export function NotificationsIllustration({ theme, size, alt, ...rest }: {
|
|
3
3
|
theme: any;
|
4
4
|
size: any;
|
5
5
|
alt: any;
|
6
|
-
}):
|
6
|
+
}): React.JSX.Element;
|
7
7
|
export namespace NotificationsIllustration {
|
8
8
|
namespace propTypes {
|
9
9
|
let alt: PropTypes.Validator<string>;
|
@@ -12,4 +12,5 @@ export namespace NotificationsIllustration {
|
|
12
12
|
}
|
13
13
|
}
|
14
14
|
export default NotificationsIllustration;
|
15
|
+
import React from 'react';
|
15
16
|
import PropTypes from 'prop-types';
|
@@ -12,7 +12,7 @@ import cx from 'classnames';
|
|
12
12
|
import { pkg } from '../../../settings.js';
|
13
13
|
import uuidv4 from '../../../global/js/utils/uuidv4.js';
|
14
14
|
|
15
|
-
var _stop, _stop2, _stop3, _stop4, _stop5, _stop6, _stop7, _stop8, _stop9, _stop10, _stop11, _stop12, _stop13, _stop14, _path, _path2, _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,
|
15
|
+
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;
|
16
16
|
var _excluded = ["theme", "size", "alt"];
|
17
17
|
|
18
18
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
@@ -104,7 +104,7 @@ var NotificationsIllustration = function NotificationsIllustration(_ref) {
|
|
104
104
|
offset: 0.97,
|
105
105
|
stopColor: "#262626",
|
106
106
|
stopOpacity: 0
|
107
|
-
})))
|
107
|
+
})))), _path || (_path = /*#__PURE__*/React__default.createElement("path", {
|
108
108
|
fill: "none",
|
109
109
|
d: "M0 0h80v80H0z"
|
110
110
|
})), _path2 || (_path2 = /*#__PURE__*/React__default.createElement("path", {
|
@@ -119,10 +119,10 @@ var NotificationsIllustration = function NotificationsIllustration(_ref) {
|
|
119
119
|
}), /*#__PURE__*/React__default.createElement("path", {
|
120
120
|
d: "M59.48 28.88a3.17 3.17 0 011.42 2.47l-.1 36.08c0 .9-.65 1.26-1.42.81l-26.7-15.4-2.26 4.22a.9.9 0 01-1.33.28 3.07 3.07 0 01-1.22-1.53l-2.33-7.09-9-5.2a3.15 3.15 0 01-1.43-2.46L15.23 5c0-.9.64-1.27 1.43-.81z",
|
121
121
|
fill: "url(#prefix__c_dark_".concat(svgId, ")")
|
122
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
123
|
-
|
122
|
+
}), _path3 || (_path3 = /*#__PURE__*/React__default.createElement("path", {
|
123
|
+
fill: "#525252",
|
124
124
|
d: "M57.99 37.07l-.01 3.9L18.03 17.9l.01-3.9 39.95 23.07zM57.99 45.11l-.01 3.91-39.95-23.07.01-3.9 39.95 23.06zM44.62 45.04l-.01 3.9L18.03 33.6l.01-3.9 26.58 15.34z"
|
125
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
125
|
+
})), /*#__PURE__*/React__default.createElement("path", {
|
126
126
|
d: "M60.76 30.55a2.54 2.54 0 01.14.8v3.95l.41-.13v-3.82a3.54 3.54 0 00-1.63-2.82L16.86 3.8a2.09 2.09 0 00-.44-.19l-.78.45a1 1 0 01.21-.06h.48l.27.12 21.47 12.4 21.41 12.36a3.19 3.19 0 011.28 1.67z",
|
127
127
|
fill: "url(#prefix__d_dark_".concat(svgId, ")")
|
128
128
|
})) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("linearGradient", {
|
@@ -285,7 +285,7 @@ var NotificationsIllustration = function NotificationsIllustration(_ref) {
|
|
285
285
|
offset: 0.97,
|
286
286
|
stopColor: "#d0d0d0",
|
287
287
|
stopOpacity: 0
|
288
|
-
})))
|
288
|
+
})))), _path4 || (_path4 = /*#__PURE__*/React__default.createElement("path", {
|
289
289
|
fill: "none",
|
290
290
|
d: "M0 0h80v80H0z"
|
291
291
|
})), /*#__PURE__*/React__default.createElement("path", {
|
@@ -301,13 +301,13 @@ var NotificationsIllustration = function NotificationsIllustration(_ref) {
|
|
301
301
|
d: "M63.45 26.58L20.63 1.86a1 1 0 00-1-.1l-4 2.3a1 1 0 011 .1l42.85 24.72a3.17 3.17 0 011.42 2.47l-.1 36.08a1 1 0 01-.42.91l4-2.3a1 1 0 00.42-.91L64.88 29a3.14 3.14 0 00-1.43-2.42z",
|
302
302
|
fill: "url(#prefix__d_".concat(svgId, ")")
|
303
303
|
}), /*#__PURE__*/React__default.createElement("path", {
|
304
|
-
|
304
|
+
fill: "url(#prefix__e_".concat(svgId, ")"),
|
305
305
|
d: "M59.48 28.88a3.17 3.17 0 011.42 2.47l-.1 36.08c0 .9-.65 1.26-1.42.81l-26.7-15.4-2.26 4.22a.9.9 0 01-1.33.28 3.07 3.07 0 01-1.22-1.53l-2.33-7.09-9-5.2a3.15 3.15 0 01-1.43-2.46L15.23 5c0-.9.64-1.27 1.43-.81z"
|
306
306
|
}), /*#__PURE__*/React__default.createElement("path", {
|
307
307
|
d: "M59.48 28.88a3.17 3.17 0 011.42 2.47l-.1 36.08c0 .9-.65 1.26-1.42.81l-26.7-15.4-2.26 4.22a.9.9 0 01-1.33.28 3.07 3.07 0 01-1.22-1.53l-2.33-7.09-9-5.2a3.15 3.15 0 01-1.43-2.46L15.23 5c0-.9.64-1.27 1.43-.81z",
|
308
308
|
fill: "url(#prefix__f_".concat(svgId, ")")
|
309
309
|
}), /*#__PURE__*/React__default.createElement("path", {
|
310
|
-
|
310
|
+
fill: "url(#prefix__e_".concat(svgId, ")"),
|
311
311
|
d: "M59.48 28.88a3.17 3.17 0 011.42 2.47l-.1 36.08c0 .9-.65 1.26-1.42.81l-26.7-15.4-2.26 4.22a.9.9 0 01-1.33.28 3.07 3.07 0 01-1.22-1.53l-2.33-7.09-9-5.2a3.15 3.15 0 01-1.43-2.46L15.23 5c0-.9.64-1.27 1.43-.81z"
|
312
312
|
}), /*#__PURE__*/React__default.createElement("path", {
|
313
313
|
fill: "url(#prefix__h_".concat(svgId, ")"),
|
@@ -3,7 +3,7 @@ export function UnauthorizedIllustration({ theme, size, alt, ...rest }: {
|
|
3
3
|
theme: any;
|
4
4
|
size: any;
|
5
5
|
alt: any;
|
6
|
-
}):
|
6
|
+
}): React.JSX.Element;
|
7
7
|
export namespace UnauthorizedIllustration {
|
8
8
|
namespace propTypes {
|
9
9
|
let alt: PropTypes.Validator<string>;
|
@@ -12,4 +12,5 @@ export namespace UnauthorizedIllustration {
|
|
12
12
|
}
|
13
13
|
}
|
14
14
|
export default UnauthorizedIllustration;
|
15
|
+
import React from 'react';
|
15
16
|
import PropTypes from 'prop-types';
|
@@ -1,8 +1,22 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
export {
|
8
|
-
export {
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2020, 2021
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
7
|
+
export { EmptyState } from './EmptyState';
|
8
|
+
export { EmptyStateV2 } from './EmptyStateV2';
|
9
|
+
export { ErrorEmptyState } from './ErrorEmptyState';
|
10
|
+
export { NoDataEmptyState } from './NoDataEmptyState';
|
11
|
+
export { NoTagsEmptyState } from './NoTagsEmptyState';
|
12
|
+
export { NotFoundEmptyState } from './NotFoundEmptyState';
|
13
|
+
export { NotificationsEmptyState } from './NotificationsEmptyState';
|
14
|
+
export { UnauthorizedEmptyState } from './UnauthorizedEmptyState';
|
15
|
+
export type { EmptyStateProps } from './EmptyState';
|
16
|
+
export type { EmptyStateV2Props } from './EmptyStateV2';
|
17
|
+
export type { ErrorEmptyStateProps } from './ErrorEmptyState';
|
18
|
+
export type { NoDataEmptyStateProps } from './NoDataEmptyState';
|
19
|
+
export type { NoTagsEmptyStateProps } from './NoTagsEmptyState';
|
20
|
+
export type { NotFoundEmptyStateProps } from './NotFoundEmptyState';
|
21
|
+
export type { NotificationsEmptyStateProps } from './NotificationsEmptyState';
|
22
|
+
export type { UnauthorizedEmptyStateProps } from './UnauthorizedEmptyState';
|
@@ -127,9 +127,7 @@ var ExportModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
127
127
|
onBlur: onBlurHandler
|
128
128
|
}, 'data-modal-primary-focus', true);
|
129
129
|
return renderPortalUse( /*#__PURE__*/React__default.createElement(unstable_FeatureFlags, {
|
130
|
-
|
131
|
-
'enable-experimental-focus-wrap-without-sentinels': true
|
132
|
-
}
|
130
|
+
enableExperimentalFocusWrapWithoutSentinels: true
|
133
131
|
}, /*#__PURE__*/React__default.createElement(ComposedModal, _extends({}, rest, {
|
134
132
|
className: cx(blockClass, className),
|
135
133
|
"aria-label": title,
|
@@ -13,6 +13,10 @@ 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;
|
16
20
|
/**
|
17
21
|
* Content that shows in the body of the card
|
18
22
|
*/
|
@@ -87,6 +91,7 @@ export interface ExpressiveCardProps extends PropsWithChildren {
|
|
87
91
|
/**
|
88
92
|
* **Experimental:** For all cases a `Slug` component can be provided.
|
89
93
|
* Clickable tiles only accept a boolean value of true and display a hollow slug.
|
94
|
+
* @deprecated please use the `aiLabel` prop
|
90
95
|
*/
|
91
96
|
slug?: ReactNode | boolean;
|
92
97
|
/**
|