@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
@@ -16,7 +16,7 @@ var settings = require('../../settings.js');
|
|
16
16
|
var react = require('@carbon/react');
|
17
17
|
var icons = require('@carbon/react/icons');
|
18
18
|
var DatagridSelectAll = require('./Datagrid/DatagridSelectAll.js');
|
19
|
-
var
|
19
|
+
var DatagridAiLabel = require('./Datagrid/addons/AiLabel/DatagridAiLabel.js');
|
20
20
|
|
21
21
|
var blockClass = "".concat(settings.pkg.prefix, "--datagrid");
|
22
22
|
var getNewSortOrder = function getNewSortOrder(currentOrder) {
|
@@ -82,9 +82,9 @@ var useSortableColumns = function useSortableColumns(hooks) {
|
|
82
82
|
descendingSortableLabelText = instance.descendingSortableLabelText,
|
83
83
|
defaultSortableLabelText = instance.defaultSortableLabelText;
|
84
84
|
var onSortClick = function onSortClick(event, column) {
|
85
|
-
var
|
85
|
+
var aiLabel = event.target.classList.contains("".concat(settings.carbon.prefix, "--slug")) || event.target.closest(".".concat(settings.carbon.prefix, "--slug"));
|
86
86
|
// Do not continue with sorting if we find a slug
|
87
|
-
if (
|
87
|
+
if (aiLabel) {
|
88
88
|
event.stopPropagation();
|
89
89
|
return;
|
90
90
|
}
|
@@ -140,9 +140,9 @@ var useSortableColumns = function useSortableColumns(hooks) {
|
|
140
140
|
},
|
141
141
|
kind: "ghost",
|
142
142
|
renderIcon: function renderIcon(props) {
|
143
|
-
var _headerProp$column;
|
144
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(
|
145
|
-
|
143
|
+
var _headerProp$column, _headerProp$column2;
|
144
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(DatagridAiLabel.DatagridAILabel, {
|
145
|
+
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)
|
146
146
|
}), icon(headerProp === null || headerProp === void 0 ? void 0 : headerProp.column, props));
|
147
147
|
},
|
148
148
|
id: column === null || column === void 0 ? void 0 : column.id,
|
@@ -170,7 +170,6 @@ var useSortableColumns = function useSortableColumns(hooks) {
|
|
170
170
|
hooks.visibleColumns.push(sortableVisibleColumns);
|
171
171
|
hooks.useInstance.push(sortInstanceProps);
|
172
172
|
};
|
173
|
-
var useSortableColumns$1 = useSortableColumns;
|
174
173
|
|
175
|
-
exports.default = useSortableColumns
|
174
|
+
exports.default = useSortableColumns;
|
176
175
|
exports.getNewSortOrder = getNewSortOrder;
|
@@ -20,9 +20,9 @@ var styleClassPrefix = "".concat(blockClass, "__right-sticky-column");
|
|
20
20
|
var leftStickyStyleClassPrefix = "".concat(blockClass, "__left-sticky-column");
|
21
21
|
var OFFSET_SCROLL_CLASS = "".concat(styleClassPrefix, "-offset-scroll");
|
22
22
|
var useStickyColumn = function useStickyColumn(hooks) {
|
23
|
-
var tableBodyRef = React.useRef();
|
24
|
-
var stickyHeaderCellRef = React.useRef();
|
25
|
-
var _useState = React.useState(),
|
23
|
+
var tableBodyRef = React.useRef(undefined);
|
24
|
+
var stickyHeaderCellRef = React.useRef(undefined);
|
25
|
+
var _useState = React.useState(undefined),
|
26
26
|
_useState2 = _rollupPluginBabelHelpers.slicedToArray(_useState, 2),
|
27
27
|
windowSize = _useState2[0],
|
28
28
|
setWindowSize = _useState2[1];
|
@@ -196,6 +196,5 @@ var hasVertScroll = function hasVertScroll(element) {
|
|
196
196
|
clientHeight = element.clientHeight;
|
197
197
|
return scrollHeight > clientHeight;
|
198
198
|
};
|
199
|
-
var useStickyColumn$1 = useStickyColumn;
|
200
199
|
|
201
|
-
exports.default = useStickyColumn
|
200
|
+
exports.default = useStickyColumn;
|
@@ -9,6 +9,13 @@
|
|
9
9
|
|
10
10
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
11
11
|
var React = require('react');
|
12
|
+
var EmptyStateV2 = require('./EmptyStateV2.js');
|
13
|
+
require('./ErrorEmptyState/ErrorEmptyState.js');
|
14
|
+
require('./NoDataEmptyState/NoDataEmptyState.js');
|
15
|
+
require('./NoTagsEmptyState/NoTagsEmptyState.js');
|
16
|
+
require('./NotFoundEmptyState/NotFoundEmptyState.js');
|
17
|
+
require('./NotificationsEmptyState/NotificationsEmptyState.js');
|
18
|
+
require('./UnauthorizedEmptyState/UnauthorizedEmptyState.js');
|
12
19
|
var index = require('../../_virtual/index.js');
|
13
20
|
var cx = require('classnames');
|
14
21
|
var react = require('@carbon/react');
|
@@ -16,7 +23,6 @@ var devtools = require('../../global/js/utils/devtools.js');
|
|
16
23
|
require('../../global/js/utils/props-helper.js');
|
17
24
|
var settings = require('../../settings.js');
|
18
25
|
var EmptyStateContent = require('./EmptyStateContent.js');
|
19
|
-
var EmptyStateV2 = require('./EmptyStateV2.js');
|
20
26
|
|
21
27
|
var _excluded = ["v2"],
|
22
28
|
_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 {};
|
@@ -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 {};
|
@@ -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 {};
|
@@ -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 {};
|
@@ -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 {};
|
@@ -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 {};
|
@@ -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';
|
@@ -16,7 +16,7 @@ var cx = require('classnames');
|
|
16
16
|
var settings = require('../../../settings.js');
|
17
17
|
var uuidv4 = require('../../../global/js/utils/uuidv4.js');
|
18
18
|
|
19
|
-
var _stop, _stop2, _stop3, _stop4, _stop5, _stop6, _path, _path2, _path3, _path4, _path5, _stop7, _stop8, _stop9, _stop10, _stop11, _stop12, _stop13, _stop14, _path6, _path7;
|
19
|
+
var _stop, _stop2, _stop3, _stop4, _stop5, _stop6, _path, _path2, _path3, _path4, _path5, _stop7, _stop8, _stop9, _stop10, _stop11, _stop12, _stop13, _stop14, _path6, _path7, _path8;
|
20
20
|
var _excluded = ["theme", "size", "alt"];
|
21
21
|
|
22
22
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
@@ -150,7 +150,7 @@ var NoDataIllustration = function NoDataIllustration(_ref) {
|
|
150
150
|
})), _stop14 || (_stop14 = /*#__PURE__*/React.createElement("stop", {
|
151
151
|
offset: 1,
|
152
152
|
stopColor: "#e0e0e0"
|
153
|
-
})))
|
153
|
+
})))), _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
|
154
154
|
fill: "none",
|
155
155
|
d: "M0 0h80v80H0z"
|
156
156
|
})), /*#__PURE__*/React.createElement("path", {
|
@@ -168,10 +168,10 @@ var NoDataIllustration = function NoDataIllustration(_ref) {
|
|
168
168
|
}), _path7 || (_path7 = /*#__PURE__*/React.createElement("path", {
|
169
169
|
fill: "#c6c6c6",
|
170
170
|
d: "M25.97 26.67l28.67-16.55-.42-.24-28.68 16.56.43.23z"
|
171
|
-
})), /*#__PURE__*/React.createElement("path", {
|
172
|
-
|
171
|
+
})), _path8 || (_path8 = /*#__PURE__*/React.createElement("path", {
|
172
|
+
fill: "#fff",
|
173
173
|
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"
|
174
|
-
})));
|
174
|
+
}))));
|
175
175
|
};
|
176
176
|
NoDataIllustration.propTypes = {
|
177
177
|
alt: index.default.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';
|
@@ -16,7 +16,7 @@ var cx = require('classnames');
|
|
16
16
|
var settings = require('../../../settings.js');
|
17
17
|
var uuidv4 = require('../../../global/js/utils/uuidv4.js');
|
18
18
|
|
19
|
-
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,
|
19
|
+
var _stop, _stop2, _stop3, _stop4, _stop5, _stop6, _stop7, _stop8, _stop9, _stop10, _stop11, _stop12, _stop13, _stop14, _path, _path2, _path3, _stop15, _stop16, _stop17, _stop18, _stop19, _stop20, _stop21, _stop22, _stop23, _stop24, _stop25, _stop26, _stop27, _stop28, _stop29, _stop30, _stop31, _stop32, _stop33, _stop34, _stop35, _stop36, _stop37, _stop38, _stop39, _stop40, _stop41, _path4;
|
20
20
|
var _excluded = ["theme", "size", "alt"];
|
21
21
|
|
22
22
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
@@ -108,7 +108,7 @@ var NotificationsIllustration = function NotificationsIllustration(_ref) {
|
|
108
108
|
offset: 0.97,
|
109
109
|
stopColor: "#262626",
|
110
110
|
stopOpacity: 0
|
111
|
-
})))
|
111
|
+
})))), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
112
112
|
fill: "none",
|
113
113
|
d: "M0 0h80v80H0z"
|
114
114
|
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
@@ -123,10 +123,10 @@ var NotificationsIllustration = function NotificationsIllustration(_ref) {
|
|
123
123
|
}), /*#__PURE__*/React.createElement("path", {
|
124
124
|
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",
|
125
125
|
fill: "url(#prefix__c_dark_".concat(svgId, ")")
|
126
|
-
}), /*#__PURE__*/React.createElement("path", {
|
127
|
-
|
126
|
+
}), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
|
127
|
+
fill: "#525252",
|
128
128
|
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"
|
129
|
-
}), /*#__PURE__*/React.createElement("path", {
|
129
|
+
})), /*#__PURE__*/React.createElement("path", {
|
130
130
|
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",
|
131
131
|
fill: "url(#prefix__d_dark_".concat(svgId, ")")
|
132
132
|
})) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
@@ -289,7 +289,7 @@ var NotificationsIllustration = function NotificationsIllustration(_ref) {
|
|
289
289
|
offset: 0.97,
|
290
290
|
stopColor: "#d0d0d0",
|
291
291
|
stopOpacity: 0
|
292
|
-
})))
|
292
|
+
})))), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
|
293
293
|
fill: "none",
|
294
294
|
d: "M0 0h80v80H0z"
|
295
295
|
})), /*#__PURE__*/React.createElement("path", {
|
@@ -305,13 +305,13 @@ var NotificationsIllustration = function NotificationsIllustration(_ref) {
|
|
305
305
|
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",
|
306
306
|
fill: "url(#prefix__d_".concat(svgId, ")")
|
307
307
|
}), /*#__PURE__*/React.createElement("path", {
|
308
|
-
|
308
|
+
fill: "url(#prefix__e_".concat(svgId, ")"),
|
309
309
|
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"
|
310
310
|
}), /*#__PURE__*/React.createElement("path", {
|
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
|
fill: "url(#prefix__f_".concat(svgId, ")")
|
313
313
|
}), /*#__PURE__*/React.createElement("path", {
|
314
|
-
|
314
|
+
fill: "url(#prefix__e_".concat(svgId, ")"),
|
315
315
|
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"
|
316
316
|
}), /*#__PURE__*/React.createElement("path", {
|
317
317
|
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';
|
@@ -129,9 +129,7 @@ exports.ExportModal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
129
129
|
onBlur: onBlurHandler
|
130
130
|
}, 'data-modal-primary-focus', true);
|
131
131
|
return renderPortalUse( /*#__PURE__*/React.createElement(react.unstable_FeatureFlags, {
|
132
|
-
|
133
|
-
'enable-experimental-focus-wrap-without-sentinels': true
|
134
|
-
}
|
132
|
+
enableExperimentalFocusWrapWithoutSentinels: true
|
135
133
|
}, /*#__PURE__*/React.createElement(react.ComposedModal, _rollupPluginBabelHelpers.extends({}, rest, {
|
136
134
|
className: cx(blockClass, className),
|
137
135
|
"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
|
/**
|
@@ -38,6 +38,10 @@ exports.ExpressiveCard.propTypes = {
|
|
38
38
|
iconDescription: index.default.string,
|
39
39
|
href: index.default.string
|
40
40
|
})),
|
41
|
+
/**
|
42
|
+
* Optional prop that is intended for any scenario where something is being generated by AI to reinforce AI transparency, accountability, and explainability at the UI level.
|
43
|
+
*/
|
44
|
+
aiLabel: index.default.oneOfType([index.default.node, index.default.bool]),
|
41
45
|
/**
|
42
46
|
* Content that shows in the body of the card
|
43
47
|
*/
|
@@ -116,6 +120,7 @@ exports.ExpressiveCard.propTypes = {
|
|
116
120
|
/**
|
117
121
|
* **Experimental:** For all cases a `Slug` component can be provided.
|
118
122
|
* Clickable tiles only accept a boolean value of true and display a hollow slug.
|
123
|
+
* @deprecated please use the `aiLabel` prop
|
119
124
|
*/
|
120
125
|
slug: index.default.oneOfType([index.default.node, index.default.bool]),
|
121
126
|
/**
|
@@ -12,19 +12,20 @@ import PropTypes from 'prop-types';
|
|
12
12
|
*/
|
13
13
|
declare const FeatureFlagContext: React.Context<any>;
|
14
14
|
/**
|
15
|
-
* Supports
|
15
|
+
* Supports individual feature flag values as props, merging them
|
16
16
|
* along with the current `FeatureFlagContext` to provide consumers to check if
|
17
17
|
* a feature flag is enabled or disabled in a given React tree
|
18
18
|
*/
|
19
|
-
declare function FeatureFlags({ children, flags }: {
|
19
|
+
declare function FeatureFlags({ children, flags, ...newFlags }: {
|
20
|
+
[x: string]: any;
|
20
21
|
children: any;
|
21
22
|
flags?: {} | undefined;
|
22
|
-
}):
|
23
|
+
}): React.JSX.Element;
|
23
24
|
declare namespace FeatureFlags {
|
24
25
|
var propTypes: {
|
25
26
|
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
26
27
|
/**
|
27
|
-
* Provide the feature flags to enabled or disabled in the current React tree
|
28
|
+
* Provide the feature flags to enabled or disabled in the current React tree, this has been deprecated. as we are going to pass individual boolean props for each flag.
|
28
29
|
*/
|
29
30
|
flags: PropTypes.Requireable<{
|
30
31
|
[x: string]: boolean | null | undefined;
|