@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
@@ -39,7 +39,7 @@ var SteppedAnimatedMedia = /*#__PURE__*/React__default.forwardRef(function (_ref
|
|
39
39
|
_useState2 = _slicedToArray(_useState, 2),
|
40
40
|
jsonData = _useState2[0],
|
41
41
|
setJsonData = _useState2[1];
|
42
|
-
var animRef = useRef();
|
42
|
+
var animRef = useRef(undefined);
|
43
43
|
var backupRef = useRef(null);
|
44
44
|
var localRef = ref !== null && ref !== void 0 ? ref : backupRef;
|
45
45
|
var localRefValue = localRef.current;
|
@@ -7,6 +7,9 @@
|
|
7
7
|
import React, { ReactNode, RefObject } from 'react';
|
8
8
|
export interface TagOverflowItem {
|
9
9
|
className?: string;
|
10
|
+
/**
|
11
|
+
* @deprecated The `filter` prop is no longer going to be used. To use DismissibleTags, pass in an onClose function.
|
12
|
+
*/
|
10
13
|
filter?: boolean;
|
11
14
|
id: string;
|
12
15
|
label: string;
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, objectSpread2 as _objectSpread2, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { forwardRef, useRef, useState, useCallback, useEffect, createElement } from 'react';
|
10
|
-
import { Tooltip, Tag } from '@carbon/react';
|
10
|
+
import { Tooltip, DismissibleTag, Tag } from '@carbon/react';
|
11
11
|
import PropTypes from '../../_virtual/index.js';
|
12
12
|
import { TYPES } from './constants.js';
|
13
13
|
import { TagOverflowModal } from './TagOverflowModal.js';
|
@@ -21,7 +21,7 @@ import { useResizeObserver } from '../../global/js/hooks/useResizeObserver.js';
|
|
21
21
|
var _excluded = ["align", "allTagsModalAriaLabel", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "allTagsModalTarget", "allTagsModalTitle", "autoAlign", "className", "containingElementRef", "items", "maxVisible", "measurementOffset", "multiline", "overflowAlign", "overflowClassName", "overflowType", "onOverflowTagChange", "showAllTagsLabel", "tagComponent"],
|
22
22
|
_excluded2 = ["className", "id"],
|
23
23
|
_excluded3 = ["tagType"],
|
24
|
-
_excluded4 = ["id", "label", "tagType", "onClose"];
|
24
|
+
_excluded4 = ["id", "label", "tagType", "onClose", "filter"];
|
25
25
|
var blockClass = "".concat(pkg.prefix, "--tag-overflow");
|
26
26
|
var componentName = 'TagOverflow';
|
27
27
|
var allTagsModalSearchThreshold = 10;
|
@@ -181,6 +181,7 @@ var TagOverflow = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
181
181
|
label = item.label,
|
182
182
|
tagType = item.tagType,
|
183
183
|
_onClose = item.onClose,
|
184
|
+
filter = item.filter,
|
184
185
|
other = _objectWithoutProperties(item, _excluded4);
|
185
186
|
// If there is no template prop, then render items as Tags
|
186
187
|
return /*#__PURE__*/React__default.createElement("div", {
|
@@ -191,12 +192,16 @@ var TagOverflow = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
191
192
|
}, /*#__PURE__*/React__default.createElement(Tooltip, {
|
192
193
|
align: overflowAlign,
|
193
194
|
label: label
|
194
|
-
}, /*#__PURE__*/React__default.createElement(
|
195
|
+
}, typeof _onClose === 'function' || filter ? /*#__PURE__*/React__default.createElement(DismissibleTag, _extends({}, other, {
|
195
196
|
className: "".concat(blockClass, "__item--tag"),
|
196
197
|
type: tagType,
|
197
198
|
onClose: function onClose() {
|
198
199
|
return handleTagOnClose(_onClose, index);
|
199
|
-
}
|
200
|
+
},
|
201
|
+
text: label
|
202
|
+
})) : /*#__PURE__*/React__default.createElement(Tag, _extends({}, other, {
|
203
|
+
className: "".concat(blockClass, "__item--tag"),
|
204
|
+
type: tagType
|
200
205
|
}), label)));
|
201
206
|
}
|
202
207
|
}), /*#__PURE__*/React__default.createElement("span", {
|
@@ -11,6 +11,10 @@ interface TagOverflowModalProps {
|
|
11
11
|
className?: string;
|
12
12
|
modalAriaLabel?: string;
|
13
13
|
onClose?: () => void;
|
14
|
+
onTagClose?: (params: {
|
15
|
+
label: string;
|
16
|
+
id: any;
|
17
|
+
}) => void;
|
14
18
|
open?: boolean;
|
15
19
|
overflowType?: 'default' | 'tag';
|
16
20
|
portalTarget?: ReactNode;
|
@@ -19,13 +23,14 @@ interface TagOverflowModalProps {
|
|
19
23
|
title?: string;
|
20
24
|
}
|
21
25
|
export declare const TagOverflowModal: {
|
22
|
-
({ allTags, className, title, modalAriaLabel, onClose, open, overflowType, portalTarget: portalTargetIn, searchLabel, searchPlaceholder, ...rest }: TagOverflowModalProps): any;
|
26
|
+
({ allTags, className, title, modalAriaLabel, onClose, onTagClose, open, overflowType, portalTarget: portalTargetIn, searchLabel, searchPlaceholder, ...rest }: TagOverflowModalProps): any;
|
23
27
|
propTypes: {
|
24
28
|
allTags: PropTypes.Requireable<(PropTypes.InferProps<{
|
25
29
|
label: PropTypes.Validator<string>;
|
26
30
|
}> | null | undefined)[]>;
|
27
31
|
className: PropTypes.Requireable<string>;
|
28
32
|
onClose: PropTypes.Requireable<(...args: any[]) => any>;
|
33
|
+
onTagClose: PropTypes.Requireable<(...args: any[]) => any>;
|
29
34
|
open: PropTypes.Requireable<boolean>;
|
30
35
|
overflowType: PropTypes.Requireable<string>;
|
31
36
|
portalTarget: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
@@ -9,12 +9,12 @@ import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWith
|
|
9
9
|
import React__default, { useState } from 'react';
|
10
10
|
import PropTypes from '../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
12
|
-
import { Tag, ComposedModal, ModalHeader, Search, ModalBody } from '@carbon/react';
|
12
|
+
import { Tag, ComposedModal, ModalHeader, Search, ModalBody, DismissibleTag } from '@carbon/react';
|
13
13
|
import { pkg } from '../../settings.js';
|
14
14
|
import { prepareProps } from '../../global/js/utils/props-helper.js';
|
15
15
|
import { usePortalTarget } from '../../global/js/hooks/usePortalTarget.js';
|
16
16
|
|
17
|
-
var _excluded = ["allTags", "className", "title", "modalAriaLabel", "onClose", "open", "overflowType", "portalTarget", "searchLabel", "searchPlaceholder"];
|
17
|
+
var _excluded = ["allTags", "className", "title", "modalAriaLabel", "onClose", "onTagClose", "open", "overflowType", "portalTarget", "searchLabel", "searchPlaceholder"];
|
18
18
|
var componentName = 'TagOverflowModal';
|
19
19
|
var blockClass = "".concat(pkg.prefix, "--tag-overflow-modal");
|
20
20
|
|
@@ -32,6 +32,7 @@ var TagOverflowModal = function TagOverflowModal(_ref) {
|
|
32
32
|
_ref$modalAriaLabel = _ref.modalAriaLabel,
|
33
33
|
modalAriaLabel = _ref$modalAriaLabel === void 0 ? defaults.modalAriaLabel : _ref$modalAriaLabel,
|
34
34
|
onClose = _ref.onClose,
|
35
|
+
onTagClose = _ref.onTagClose,
|
35
36
|
open = _ref.open,
|
36
37
|
overflowType = _ref.overflowType,
|
37
38
|
portalTargetIn = _ref.portalTarget,
|
@@ -82,11 +83,20 @@ var TagOverflowModal = function TagOverflowModal(_ref) {
|
|
82
83
|
}, getFilteredItems().map(function (_ref2) {
|
83
84
|
var label = _ref2.label,
|
84
85
|
id = _ref2.id,
|
85
|
-
filter = _ref2.filter
|
86
|
-
|
87
|
-
|
86
|
+
filter = _ref2.filter,
|
87
|
+
onClose = _ref2.onClose;
|
88
|
+
var isFilterable = overflowType === 'tag' && (typeof onClose === 'function' || filter);
|
89
|
+
return isFilterable ? /*#__PURE__*/React__default.createElement(DismissibleTag, {
|
88
90
|
key: id,
|
89
|
-
|
91
|
+
text: label,
|
92
|
+
onClose: function onClose() {
|
93
|
+
return onTagClose === null || onTagClose === void 0 ? void 0 : onTagClose({
|
94
|
+
label: label,
|
95
|
+
id: id
|
96
|
+
});
|
97
|
+
}
|
98
|
+
}) : /*#__PURE__*/React__default.createElement(Tag, {
|
99
|
+
key: id
|
90
100
|
}, label);
|
91
101
|
}), /*#__PURE__*/React__default.createElement("div", {
|
92
102
|
className: "".concat(blockClass, "__fade")
|
@@ -98,6 +108,7 @@ TagOverflowModal.propTypes = {
|
|
98
108
|
}))),
|
99
109
|
className: PropTypes.string,
|
100
110
|
onClose: PropTypes.func,
|
111
|
+
onTagClose: PropTypes.func,
|
101
112
|
open: PropTypes.bool,
|
102
113
|
overflowType: PropTypes.oneOf(['default', 'tag']),
|
103
114
|
portalTarget: PropTypes.node,
|
@@ -9,7 +9,7 @@ import { objectWithoutProperties as _objectWithoutProperties, extends as _extend
|
|
9
9
|
import React__default, { forwardRef, useRef } from 'react';
|
10
10
|
import PropTypes from '../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
12
|
-
import { Popover, OperationalTag, PopoverContent, Tag, Link } from '@carbon/react';
|
12
|
+
import { Popover, OperationalTag, PopoverContent, DismissibleTag, Tag, Link } from '@carbon/react';
|
13
13
|
import { pkg } from '../../settings.js';
|
14
14
|
import { useClickOutside } from '../../global/js/hooks/useClickOutside.js';
|
15
15
|
|
@@ -88,17 +88,25 @@ var TagOverflowPopover = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
88
88
|
_onClose = _ref.onClose,
|
89
89
|
other = _objectWithoutProperties(_ref, _excluded2);
|
90
90
|
var typeValue = overflowType === 'tag' ? 'high-contrast' : tagType;
|
91
|
-
var isFilterable = overflowType === 'tag'
|
91
|
+
var isFilterable = overflowType === 'tag' && (typeof _onClose === 'function' || filter);
|
92
|
+
var tag;
|
93
|
+
if (isFilterable) {
|
94
|
+
tag = /*#__PURE__*/React__default.createElement(DismissibleTag, _extends({}, other, {
|
95
|
+
onClose: function onClose() {
|
96
|
+
return _onClose === null || _onClose === void 0 ? void 0 : _onClose();
|
97
|
+
},
|
98
|
+
type: typeValue,
|
99
|
+
text: label
|
100
|
+
}));
|
101
|
+
} else {
|
102
|
+
tag = /*#__PURE__*/React__default.createElement(Tag, _extends({}, other, {
|
103
|
+
type: typeValue
|
104
|
+
}), label);
|
105
|
+
}
|
92
106
|
return /*#__PURE__*/React__default.createElement("li", {
|
93
107
|
className: cx("".concat(blockClass, "__tag-item"), _defineProperty(_defineProperty({}, "".concat(blockClass, "__tag-item--default"), overflowType === 'default'), "".concat(blockClass, "__tag-item--tag"), overflowType === 'tag')),
|
94
108
|
key: id
|
95
|
-
}, overflowType === 'tag' ?
|
96
|
-
onClose: function onClose() {
|
97
|
-
return _onClose === null || _onClose === void 0 ? void 0 : _onClose();
|
98
|
-
},
|
99
|
-
type: typeValue,
|
100
|
-
filter: isFilterable
|
101
|
-
}), label) : label);
|
109
|
+
}, overflowType === 'tag' ? tag : label);
|
102
110
|
})), ((_overflowTags$length = overflowTags === null || overflowTags === void 0 ? void 0 : overflowTags.length) !== null && _overflowTags$length !== void 0 ? _overflowTags$length : 0) > (allTagsModalSearchThreshold !== null && allTagsModalSearchThreshold !== void 0 ? allTagsModalSearchThreshold : 0) && /*#__PURE__*/React__default.createElement(Link, {
|
103
111
|
className: "".concat(blockClass, "__show-all-tags-link"),
|
104
112
|
href: "",
|
@@ -6,6 +6,10 @@ type OverflowType = 'default' | 'tag';
|
|
6
6
|
type TagType = {
|
7
7
|
label: string;
|
8
8
|
type?: keyof typeof tagTypes;
|
9
|
+
/**
|
10
|
+
* @deprecated Use the `onClose` function instead to render as a DismissibleTag
|
11
|
+
*/
|
12
|
+
filter?: boolean;
|
9
13
|
} & TagBaseProps;
|
10
14
|
export interface TagSetProps extends PropsWithChildren {
|
11
15
|
/**
|
@@ -8,7 +8,7 @@
|
|
8
8
|
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { useState, useRef, useEffect, useCallback } from 'react';
|
10
10
|
import PropTypes from '../../_virtual/index.js';
|
11
|
-
import { Tag } from '@carbon/react';
|
11
|
+
import { Tag, DismissibleTag } from '@carbon/react';
|
12
12
|
import { TagSetModal } from './TagSetModal.js';
|
13
13
|
import { TagSetOverflow } from './TagSetOverflow.js';
|
14
14
|
import cx from 'classnames';
|
@@ -18,8 +18,8 @@ import { pkg } from '../../settings.js';
|
|
18
18
|
import { useResizeObserver } from '../../global/js/hooks/useResizeObserver.js';
|
19
19
|
|
20
20
|
var _excluded = ["align", "allTagsModalTarget", "className", "maxVisible", "multiline", "overflowAutoAlign", "overflowAlign", "overflowClassName", "overflowType", "allTagsModalAriaLabel", "allTagsModalTitle", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "showAllTagsLabel", "onOverflowClick", "tags", "containingElementRef", "measurementOffset", "onOverflowTagChange"],
|
21
|
-
_excluded2 = ["label", "id"],
|
22
|
-
_excluded3 = ["label", "onClose"];
|
21
|
+
_excluded2 = ["label", "id", "filter", "onClose"],
|
22
|
+
_excluded3 = ["label", "onClose", "filter"];
|
23
23
|
var componentName = 'TagSet';
|
24
24
|
var blockClass = "".concat(pkg.prefix, "--tag-set");
|
25
25
|
var allTagsModalSearchThreshold = 10;
|
@@ -108,6 +108,8 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
108
108
|
setHiddenSizingTags(tags && tags.length > 0 ? tags.map(function (_ref2, index) {
|
109
109
|
var label = _ref2.label,
|
110
110
|
id = _ref2.id,
|
111
|
+
filter = _ref2.filter,
|
112
|
+
onClose = _ref2.onClose,
|
111
113
|
other = _objectWithoutProperties(_ref2, _excluded2);
|
112
114
|
return /*#__PURE__*/React__default.createElement("div", {
|
113
115
|
key: index,
|
@@ -117,7 +119,10 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
117
119
|
newSizingTags[index] = el;
|
118
120
|
}
|
119
121
|
}
|
120
|
-
}, /*#__PURE__*/React__default.createElement(
|
122
|
+
}, typeof onClose === 'function' || filter ? /*#__PURE__*/React__default.createElement(DismissibleTag, _extends({}, other, {
|
123
|
+
"data-original-id": id,
|
124
|
+
text: label
|
125
|
+
})) : /*#__PURE__*/React__default.createElement(Tag, _extends({}, other, {
|
121
126
|
// ensure id is not duplicated
|
122
127
|
"data-original-id": id
|
123
128
|
}), label));
|
@@ -136,15 +141,22 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
136
141
|
var newDisplayedTags = tags && tags.length > 0 ? tags.map(function (_ref3, index) {
|
137
142
|
var label = _ref3.label,
|
138
143
|
_onClose = _ref3.onClose,
|
144
|
+
filter = _ref3.filter,
|
139
145
|
other = _objectWithoutProperties(_ref3, _excluded3);
|
140
146
|
if (index == tags.length - 1 && other.size) {
|
141
147
|
size = other.size;
|
142
148
|
}
|
149
|
+
if (typeof _onClose === 'function' || filter) {
|
150
|
+
return /*#__PURE__*/React__default.createElement(DismissibleTag, _extends({}, other, {
|
151
|
+
key: "displayed-tag-".concat(index),
|
152
|
+
onClose: function onClose() {
|
153
|
+
return handleTagOnClose(_onClose, index);
|
154
|
+
},
|
155
|
+
text: label
|
156
|
+
}));
|
157
|
+
}
|
143
158
|
return /*#__PURE__*/React__default.createElement(Tag, _extends({}, other, {
|
144
|
-
key: "displayed-tag-".concat(index)
|
145
|
-
onClose: function onClose() {
|
146
|
-
return handleTagOnClose(_onClose, index);
|
147
|
-
}
|
159
|
+
key: "displayed-tag-".concat(index)
|
148
160
|
}), label);
|
149
161
|
}) : [];
|
150
162
|
|
@@ -96,7 +96,6 @@ var TagSetModal = function TagSetModal(_ref) {
|
|
96
96
|
var label = _ref2.label,
|
97
97
|
other = _objectWithoutProperties(_ref2, _excluded2);
|
98
98
|
return /*#__PURE__*/React__default.createElement(Tag, _extends({}, other, {
|
99
|
-
filter: false,
|
100
99
|
key: "all-tags-".concat(index)
|
101
100
|
}), label);
|
102
101
|
}), /*#__PURE__*/React__default.createElement("div", {
|
@@ -10,6 +10,11 @@ import PropTypes from 'prop-types';
|
|
10
10
|
import { type ButtonProps } from '@carbon/react';
|
11
11
|
interface TearsheetShellProps extends PropsWithChildren {
|
12
12
|
actions?: ButtonProps<'button'>[];
|
13
|
+
/**
|
14
|
+
* Optional prop that is intended for any scenario where something is being generated by AI to reinforce AI transparency,
|
15
|
+
* accountability, and explainability at the UI level.
|
16
|
+
*/
|
17
|
+
aiLabel?: ReactNode;
|
13
18
|
ariaLabel?: string;
|
14
19
|
/**
|
15
20
|
* An optional class or classes to be added to the outermost element.
|
@@ -96,15 +101,15 @@ interface TearsheetShellProps extends PropsWithChildren {
|
|
96
101
|
* Specifies the width of the tearsheet, 'narrow' or 'wide'.
|
97
102
|
*/
|
98
103
|
size: 'narrow' | 'wide';
|
99
|
-
/**
|
100
|
-
* **Experimental:** Provide a `Slug` component to be rendered inside the `Tearsheet` component
|
101
|
-
*/
|
102
|
-
slug?: ReactNode;
|
103
104
|
/**
|
104
105
|
* The main title of the tearsheet, displayed in the header area.
|
105
106
|
*/
|
106
107
|
title?: ReactNode;
|
107
108
|
verticalPosition?: 'normal' | 'lower';
|
109
|
+
/**
|
110
|
+
* @deprecated Property replaced by `aiLabel`
|
111
|
+
*/
|
112
|
+
slug?: ReactNode;
|
108
113
|
}
|
109
114
|
export type CloseIconDescriptionTypes = {
|
110
115
|
hasCloseIcon?: false;
|
@@ -126,6 +131,10 @@ export declare const tearsheetHasCloseIcon: (actions: any, hasCloseIcon: any) =>
|
|
126
131
|
export declare const TearsheetShell: React.ForwardRefExoticComponent<(TearsheetShellProps & CloseIconDescriptionTypes) & React.RefAttributes<HTMLDivElement>>;
|
127
132
|
export declare const portalType: PropTypes.Requireable<object>;
|
128
133
|
export declare const deprecatedProps: {
|
134
|
+
/**
|
135
|
+
* @deprecated Property replaced by `aiLabel`
|
136
|
+
*/
|
137
|
+
slug: (props: any, propName: any, comp: any, loc: any, propFullName: any, secret: any) => any;
|
129
138
|
/**
|
130
139
|
* **Deprecated**
|
131
140
|
*
|
@@ -13,6 +13,7 @@ import cx from 'classnames';
|
|
13
13
|
import { pkg } from '../../settings.js';
|
14
14
|
import pconsole from '../../global/js/utils/pconsole.js';
|
15
15
|
import { getNodeTextContent } from '../../global/js/utils/getNodeTextContent.js';
|
16
|
+
import { deprecateProp } from '../../global/js/utils/props-helper.js';
|
16
17
|
import { Button, usePrefix, unstable_FeatureFlags, ComposedModal, ModalHeader, Layer } from '@carbon/react';
|
17
18
|
import { ActionSet } from '../ActionSet/ActionSet.js';
|
18
19
|
import { Wrap } from '../../global/js/utils/Wrap.js';
|
@@ -20,7 +21,7 @@ import { usePortalTarget } from '../../global/js/hooks/usePortalTarget.js';
|
|
20
21
|
import { useFocus, getSpecificElement } from '../../global/js/hooks/useFocus.js';
|
21
22
|
import { usePreviousValue } from '../../global/js/hooks/usePreviousValue.js';
|
22
23
|
|
23
|
-
var _excluded = ["actions", "ariaLabel", "children", "className", "closeIconDescription", "description", "hasCloseIcon", "headerActions", "influencer", "influencerPosition", "influencerWidth", "label", "navigation", "onClose", "open", "portalTarget", "selectorPrimaryFocus", "selectorsFloatingMenus", "size", "slug", "title", "verticalPosition", "launcherButtonRef"];
|
24
|
+
var _excluded = ["actions", "aiLabel", "ariaLabel", "children", "className", "closeIconDescription", "description", "hasCloseIcon", "headerActions", "influencer", "influencerPosition", "influencerWidth", "label", "navigation", "onClose", "open", "portalTarget", "selectorPrimaryFocus", "selectorsFloatingMenus", "size", "slug", "title", "verticalPosition", "launcherButtonRef"];
|
24
25
|
|
25
26
|
// The block part of our conventional BEM class names (bc__E--M).
|
26
27
|
var bc = "".concat(pkg.prefix, "--tearsheet");
|
@@ -63,6 +64,7 @@ var tearsheetHasCloseIcon = function tearsheetHasCloseIcon(actions, hasCloseIcon
|
|
63
64
|
* */
|
64
65
|
var TearsheetShell = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
65
66
|
var actions = _ref.actions,
|
67
|
+
aiLabel = _ref.aiLabel,
|
66
68
|
ariaLabel = _ref.ariaLabel,
|
67
69
|
children = _ref.children,
|
68
70
|
className = _ref.className,
|
@@ -82,7 +84,7 @@ var TearsheetShell = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
|
|
82
84
|
_ref$selectorsFloatin = _ref.selectorsFloatingMenus,
|
83
85
|
selectorsFloatingMenus = _ref$selectorsFloatin === void 0 ? [] : _ref$selectorsFloatin,
|
84
86
|
size = _ref.size,
|
85
|
-
|
87
|
+
deprecated_slug = _ref.slug,
|
86
88
|
title = _ref.title,
|
87
89
|
verticalPosition = _ref.verticalPosition,
|
88
90
|
launcherButtonRef = _ref.launcherButtonRef,
|
@@ -90,7 +92,7 @@ var TearsheetShell = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
|
|
90
92
|
var carbonPrefix = usePrefix();
|
91
93
|
var bcModalHeader = "".concat(carbonPrefix, "--modal-header");
|
92
94
|
var renderPortalUse = usePortalTarget(portalTargetIn);
|
93
|
-
var localRef = useRef();
|
95
|
+
var localRef = useRef(undefined);
|
94
96
|
var resizer = useRef(null);
|
95
97
|
var modalBodyRef = useRef(null);
|
96
98
|
var modalRef = ref || localRef;
|
@@ -121,7 +123,7 @@ var TearsheetShell = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
|
|
121
123
|
setPosition = _useState4[1];
|
122
124
|
|
123
125
|
// Keep a record of the previous value of depth.
|
124
|
-
var prevDepth = useRef();
|
126
|
+
var prevDepth = useRef(undefined);
|
125
127
|
useEffect(function () {
|
126
128
|
prevDepth.current = depth;
|
127
129
|
});
|
@@ -159,15 +161,21 @@ var TearsheetShell = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
|
|
159
161
|
useEffect(function () {
|
160
162
|
if (open) {
|
161
163
|
// Focusing the first element or selectorPrimaryFocus element
|
162
|
-
|
163
|
-
|
164
|
-
|
164
|
+
if (selectorPrimaryFocus && getSpecificElement(modalRef === null || modalRef === void 0 ? void 0 : modalRef.current, selectorPrimaryFocus)) {
|
165
|
+
var _window2;
|
166
|
+
var specifiedEl = getSpecificElement(modalRef === null || modalRef === void 0 ? void 0 : modalRef.current, selectorPrimaryFocus);
|
167
|
+
if (specifiedEl && ((_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.getComputedStyle(specifiedEl)) === null || _window2 === void 0 ? void 0 : _window2.display) !== 'none') {
|
168
|
+
setTimeout(function () {
|
169
|
+
return specifiedEl.focus();
|
170
|
+
}, 0);
|
171
|
+
return;
|
165
172
|
}
|
166
|
-
|
173
|
+
}
|
174
|
+
setTimeout(function () {
|
175
|
+
return firstElement === null || firstElement === void 0 ? void 0 : firstElement.focus();
|
167
176
|
}, 0);
|
168
177
|
}
|
169
|
-
|
170
|
-
}, [open]);
|
178
|
+
}, [firstElement, modalRef, open, selectorPrimaryFocus]);
|
171
179
|
useEffect(function () {
|
172
180
|
if (prevOpen && !open && launcherButtonRef) {
|
173
181
|
setTimeout(function () {
|
@@ -252,15 +260,13 @@ var TearsheetShell = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
|
|
252
260
|
return _defineProperty(_defineProperty({}, "--".concat(bc, "--stacking-scale-factor-single"), (width - 32) / width), "--".concat(bc, "--stacking-scale-factor-double"), (width - 64) / width);
|
253
261
|
};
|
254
262
|
return renderPortalUse( /*#__PURE__*/React__default.createElement(unstable_FeatureFlags, {
|
255
|
-
|
256
|
-
'enable-experimental-focus-wrap-without-sentinels': true
|
257
|
-
}
|
263
|
+
enableExperimentalFocusWrapWithoutSentinels: true
|
258
264
|
}, /*#__PURE__*/React__default.createElement(ComposedModal, _extends({}, rest, {
|
259
265
|
"aria-label": ariaLabel || getNodeTextContent(title),
|
260
|
-
className: cx(bc, className, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(bc, "--stacked-").concat(position, "-of-").concat(depth),
|
266
|
+
className: cx(bc, className, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(bc, "--stacked-").concat(position, "-of-").concat(depth),
|
261
267
|
// Don't apply this on the initial open of a single tearsheet.
|
262
|
-
depth > 1 || depth === 1 && ((_prevDepth$current = prevDepth === null || prevDepth === void 0 ? void 0 : prevDepth.current) !== null && _prevDepth$current !== void 0 ? _prevDepth$current : 0) > 1), "".concat(bc, "--wide"), wide), "".concat(bc, "--narrow"), !wide), "".concat(bc, "--has-slug"),
|
263
|
-
slug:
|
268
|
+
depth > 1 || depth === 1 && ((_prevDepth$current = prevDepth === null || prevDepth === void 0 ? void 0 : prevDepth.current) !== null && _prevDepth$current !== void 0 ? _prevDepth$current : 0) > 1), "".concat(bc, "--wide"), wide), "".concat(bc, "--narrow"), !wide), "".concat(bc, "--has-slug"), deprecated_slug), "".concat(bc, "--has-ai-label"), aiLabel), "".concat(bc, "--has-close"), effectiveHasCloseIcon)),
|
269
|
+
slug: aiLabel || deprecated_slug,
|
264
270
|
style: setScaleValues(),
|
265
271
|
containerClassName: cx("".concat(bc, "__container"), _defineProperty(_defineProperty({}, "".concat(bc, "__container--lower"), verticalPosition === 'lower'), "".concat(bc, "__container--mixed-size-stacking"), !areAllSameSizeVariant())),
|
266
272
|
onClose: onClose,
|
@@ -338,6 +344,10 @@ var portalType = typeof Element === 'undefined' ? PropTypes.object :
|
|
338
344
|
// eslint-disable-next-line ssr-friendly/no-dom-globals-in-module-scope
|
339
345
|
PropTypes.instanceOf(Element);
|
340
346
|
var deprecatedProps = {
|
347
|
+
/**
|
348
|
+
* @deprecated Property replaced by `aiLabel`
|
349
|
+
*/
|
350
|
+
slug: deprecateProp(PropTypes.node, 'Property replaced by `aiLabel`'),
|
341
351
|
/**
|
342
352
|
* **Deprecated**
|
343
353
|
*
|
@@ -382,6 +392,11 @@ TearsheetShell.propTypes = _objectSpread2({
|
|
382
392
|
/**@ts-ignore*/
|
383
393
|
onClick: Button.propTypes.onClick
|
384
394
|
}))),
|
395
|
+
/**
|
396
|
+
* Optional prop that is intended for any scenario where something is being generated by AI to reinforce AI transparency,
|
397
|
+
* accountability, and explainability at the UI level.
|
398
|
+
*/
|
399
|
+
aiLabel: PropTypes.oneOfType([PropTypes.node, PropTypes.bool]),
|
385
400
|
/**
|
386
401
|
* The main content of the tearsheet.
|
387
402
|
*/
|
@@ -488,10 +503,6 @@ TearsheetShell.propTypes = _objectSpread2({
|
|
488
503
|
*/
|
489
504
|
/**@ts-ignore*/
|
490
505
|
size: PropTypes.oneOf(['narrow', 'wide']).isRequired,
|
491
|
-
/**
|
492
|
-
* **Experimental:** Provide a `Slug` component to be rendered inside the `Tearsheet` component
|
493
|
-
*/
|
494
|
-
slug: PropTypes.node,
|
495
506
|
/**
|
496
507
|
* The main title of the tearsheet, displayed in the header area.
|
497
508
|
*/
|
@@ -25,7 +25,7 @@ var Toolbar = /*#__PURE__*/forwardRef(function (_ref, r) {
|
|
25
25
|
className = _ref.className,
|
26
26
|
vertical = _ref.vertical,
|
27
27
|
rest = _objectWithoutProperties(_ref, _excluded);
|
28
|
-
var focusableElements = useRef();
|
28
|
+
var focusableElements = useRef(undefined);
|
29
29
|
var getFocusableElements$1 = useCallback(function () {
|
30
30
|
return focusableElements.current;
|
31
31
|
}, [focusableElements]);
|
@@ -2,7 +2,7 @@ export function TooltipTrigger({ children, className, ...rest }: {
|
|
2
2
|
[x: string]: any;
|
3
3
|
children: any;
|
4
4
|
className: any;
|
5
|
-
}):
|
5
|
+
}): React.JSX.Element;
|
6
6
|
export namespace TooltipTrigger {
|
7
7
|
export { componentName as displayName };
|
8
8
|
export namespace propTypes {
|
@@ -10,6 +10,7 @@ export namespace TooltipTrigger {
|
|
10
10
|
let className: PropTypes.Requireable<string>;
|
11
11
|
}
|
12
12
|
}
|
13
|
+
import React from 'react';
|
13
14
|
declare const componentName: "TooltipTrigger";
|
14
15
|
import PropTypes from 'prop-types';
|
15
16
|
export {};
|
@@ -67,7 +67,7 @@ var TruncatedList = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
|
|
67
67
|
_useState4 = _slicedToArray(_useState3, 2),
|
68
68
|
listHeight = _useState4[0],
|
69
69
|
setListHeight = _useState4[1];
|
70
|
-
var listRef = useRef();
|
70
|
+
var listRef = useRef(undefined);
|
71
71
|
var handleToggle = function handleToggle() {
|
72
72
|
setIsCollapsed(function (prev) {
|
73
73
|
return !prev;
|
@@ -2,11 +2,12 @@ export function Canary({ className, componentName, ...rest }: {
|
|
2
2
|
[x: string]: any;
|
3
3
|
className: any;
|
4
4
|
componentName: any;
|
5
|
-
}):
|
5
|
+
}): React.JSX.Element;
|
6
6
|
export namespace Canary {
|
7
7
|
namespace propTypes {
|
8
8
|
let className: PropTypes.Requireable<string>;
|
9
9
|
let componentName: PropTypes.Validator<string>;
|
10
10
|
}
|
11
11
|
}
|
12
|
+
import React from 'react';
|
12
13
|
import PropTypes from 'prop-types';
|
@@ -13,7 +13,7 @@ import { useRef, useEffect } from 'react';
|
|
13
13
|
* @returns {T | undefined} - The previous value of the same type, or undefined if there is none
|
14
14
|
*/
|
15
15
|
var usePreviousValue = function usePreviousValue(value) {
|
16
|
-
var ref = useRef();
|
16
|
+
var ref = useRef(undefined);
|
17
17
|
useEffect(function () {
|
18
18
|
ref.current = value;
|
19
19
|
});
|
package/es/index.js
CHANGED
@@ -20,6 +20,14 @@ export { CreateTearsheet } from './components/CreateTearsheet/CreateTearsheet.js
|
|
20
20
|
export { CreateTearsheetStep } from './components/CreateTearsheet/CreateTearsheetStep.js';
|
21
21
|
export { CreateTearsheetDivider } from './components/CreateTearsheet/CreateTearsheetDivider.js';
|
22
22
|
export { CreateTearsheetNarrow } from './components/CreateTearsheetNarrow/CreateTearsheetNarrow.js';
|
23
|
+
export { EmptyState } from './components/EmptyStates/EmptyState.js';
|
24
|
+
export { EmptyStateV2 } from './components/EmptyStates/EmptyStateV2.js';
|
25
|
+
export { ErrorEmptyState } from './components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js';
|
26
|
+
export { NoDataEmptyState } from './components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js';
|
27
|
+
export { NoTagsEmptyState } from './components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js';
|
28
|
+
export { NotFoundEmptyState } from './components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js';
|
29
|
+
export { NotificationsEmptyState } from './components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js';
|
30
|
+
export { UnauthorizedEmptyState } from './components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js';
|
23
31
|
export { ExportModal } from './components/ExportModal/ExportModal.js';
|
24
32
|
export { ExpressiveCard } from './components/ExpressiveCard/ExpressiveCard.js';
|
25
33
|
export { ImportModal } from './components/ImportModal/ImportModal.js';
|
@@ -46,6 +54,27 @@ export { EditSidePanel } from './components/EditSidePanel/EditSidePanel.js';
|
|
46
54
|
export { OptionsTile } from './components/OptionsTile/OptionsTile.js';
|
47
55
|
export { EditInPlace } from './components/EditInPlace/EditInPlace.js';
|
48
56
|
export { DataSpreadsheet } from './components/DataSpreadsheet/DataSpreadsheet.js';
|
57
|
+
export { Datagrid } from './components/Datagrid/Datagrid/Datagrid.js';
|
58
|
+
export { default as useDatagrid } from './components/Datagrid/useDatagrid.js';
|
59
|
+
export { default as useInfiniteScroll } from './components/Datagrid/useInfiniteScroll.js';
|
60
|
+
export { default as useNestedRows } from './components/Datagrid/useNestedRows.js';
|
61
|
+
export { default as useSelectRows } from './components/Datagrid/useSelectRows.js';
|
62
|
+
export { default as useExpandedRow } from './components/Datagrid/useExpandedRow.js';
|
63
|
+
export { default as useOnRowClick } from './components/Datagrid/useOnRowClick.js';
|
64
|
+
export { default as useSortableColumns } from './components/Datagrid/useSortableColumns.js';
|
65
|
+
export { default as useRowIsMouseOver } from './components/Datagrid/useRowIsMouseOver.js';
|
66
|
+
export { default as useColumnRightAlign } from './components/Datagrid/useColumnRightAlign.js';
|
67
|
+
export { default as useDisableSelectRows } from './components/Datagrid/useDisableSelectRows.js';
|
68
|
+
export { default as useStickyColumn } from './components/Datagrid/useStickyColumn.js';
|
69
|
+
export { default as useActionsColumn } from './components/Datagrid/useActionsColumn.js';
|
70
|
+
export { default as useCustomizeColumns } from './components/Datagrid/useCustomizeColumns.js';
|
71
|
+
export { default as useSelectAllWithToggle } from './components/Datagrid/useSelectAllToggle.js';
|
72
|
+
export { default as useColumnCenterAlign } from './components/Datagrid/useColumnCenterAlign.js';
|
73
|
+
export { useColumnOrder } from 'react-table';
|
74
|
+
export { default as useInlineEdit } from './components/Datagrid/useInlineEdit.js';
|
75
|
+
export { default as useEditableCell } from './components/Datagrid/useEditableCell.js';
|
76
|
+
export { default as useFiltering } from './components/Datagrid/useFiltering.js';
|
77
|
+
export { getAutoSizedColumnWidth } from './components/Datagrid/utils/getAutoSizedColumnWidth.js';
|
49
78
|
export { EditTearsheetNarrow } from './components/EditTearsheetNarrow/EditTearsheetNarrow.js';
|
50
79
|
export { EditFullPage } from './components/EditFullPage/EditFullPage.js';
|
51
80
|
export { EditUpdateCards } from './components/EditUpdateCards/EditUpdateCards.js';
|
@@ -74,40 +103,11 @@ export { SearchBar } from './components/SearchBar/SearchBar.js';
|
|
74
103
|
export { TagOverflow } from './components/TagOverflow/TagOverflow.js';
|
75
104
|
export { GetStartedCard } from './components/GetStartedCard/GetStartedCard.js';
|
76
105
|
export { FeatureFlags as unstable_FeatureFlags, useFeatureFlag as unstable_useFeatureFlag, useFeatureFlags as unstable_useFeatureFlags } from './components/FeatureFlags/index.js';
|
77
|
-
export { useColumnOrder } from 'react-table';
|
78
106
|
export { usePrefix } from './global/js/hooks/usePrefix.js';
|
79
107
|
export { ActionBar } from './components/ActionBar/ActionBar.js';
|
80
|
-
export { EmptyState } from './components/EmptyStates/EmptyState.js';
|
81
|
-
export { EmptyStateV2 } from './components/EmptyStates/EmptyStateV2.js';
|
82
|
-
export { ErrorEmptyState } from './components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js';
|
83
|
-
export { NoDataEmptyState } from './components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js';
|
84
|
-
export { NoTagsEmptyState } from './components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js';
|
85
|
-
export { NotFoundEmptyState } from './components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js';
|
86
|
-
export { NotificationsEmptyState } from './components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js';
|
87
|
-
export { UnauthorizedEmptyState } from './components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js';
|
88
108
|
export { HTTPError403 } from './components/HTTPErrors/HTTPError403/HTTPError403.js';
|
89
109
|
export { HTTPError404 } from './components/HTTPErrors/HTTPError404/HTTPError404.js';
|
90
110
|
export { HTTPErrorOther } from './components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js';
|
91
|
-
export { Datagrid } from './components/Datagrid/Datagrid/Datagrid.js';
|
92
|
-
export { default as useDatagrid } from './components/Datagrid/useDatagrid.js';
|
93
|
-
export { default as useInfiniteScroll } from './components/Datagrid/useInfiniteScroll.js';
|
94
|
-
export { default as useNestedRows } from './components/Datagrid/useNestedRows.js';
|
95
|
-
export { default as useSelectRows } from './components/Datagrid/useSelectRows.js';
|
96
|
-
export { default as useExpandedRow } from './components/Datagrid/useExpandedRow.js';
|
97
|
-
export { default as useOnRowClick } from './components/Datagrid/useOnRowClick.js';
|
98
|
-
export { default as useSortableColumns } from './components/Datagrid/useSortableColumns.js';
|
99
|
-
export { default as useRowIsMouseOver } from './components/Datagrid/useRowIsMouseOver.js';
|
100
|
-
export { default as useColumnRightAlign } from './components/Datagrid/useColumnRightAlign.js';
|
101
|
-
export { default as useDisableSelectRows } from './components/Datagrid/useDisableSelectRows.js';
|
102
|
-
export { default as useStickyColumn } from './components/Datagrid/useStickyColumn.js';
|
103
|
-
export { default as useActionsColumn } from './components/Datagrid/useActionsColumn.js';
|
104
|
-
export { default as useCustomizeColumns } from './components/Datagrid/useCustomizeColumns.js';
|
105
|
-
export { default as useSelectAllWithToggle } from './components/Datagrid/useSelectAllToggle.js';
|
106
|
-
export { default as useColumnCenterAlign } from './components/Datagrid/useColumnCenterAlign.js';
|
107
|
-
export { default as useInlineEdit } from './components/Datagrid/useInlineEdit.js';
|
108
|
-
export { default as useEditableCell } from './components/Datagrid/useEditableCell.js';
|
109
|
-
export { default as useFiltering } from './components/Datagrid/useFiltering.js';
|
110
|
-
export { getAutoSizedColumnWidth } from './components/Datagrid/utils/getAutoSizedColumnWidth.js';
|
111
111
|
export { default as useFilterContext } from './components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js';
|
112
112
|
export { EditTearsheet } from './components/EditTearsheet/EditTearsheet.js';
|
113
113
|
export { EditTearsheetForm } from './components/EditTearsheet/EditTearsheetForm.js';
|