@carbon/ibm-products 2.50.0 → 2.51.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 +1 -1
- package/css/index-full-carbon.css +56 -29
- 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 +3 -10
- 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 +3 -10
- 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 +34 -28
- 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/ActionBar/ActionBarOverflowItems.js +5 -0
- package/es/components/AddSelect/AddSelectBody.js +1 -1
- package/es/components/BigNumbers/BigNumbers.js +1 -1
- package/es/components/Coachmark/utils/enums.js +1 -0
- package/es/components/ConditionBuilder/ConditionBuilder.js +26 -20
- package/es/components/ConditionBuilder/ConditionBuilder.types.d.ts +6 -2
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +11 -8
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +44 -24
- package/es/components/CreateFullPage/CreateFullPage.d.ts +4 -2
- package/es/components/CreateFullPage/CreateFullPage.js +10 -3
- package/es/components/CreateFullPage/CreateFullPageStep.d.ts +3 -1
- package/es/components/CreateFullPage/CreateFullPageStep.js +5 -2
- package/es/components/Datagrid/Datagrid/Datagrid.d.ts +1 -1
- package/es/components/Datagrid/Datagrid/Datagrid.js +1 -1
- package/es/components/Datagrid/Datagrid/DatagridToolbar.js +12 -1
- package/es/components/Datagrid/Datagrid/DraggableElement.js +1 -0
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +3 -8
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +15 -13
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +17 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +13 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +1 -12
- package/es/components/Datagrid/types/index.d.ts +4 -0
- package/es/components/Datagrid/useSelectRows.js +40 -19
- package/es/components/EditInPlace/EditInPlace.js +0 -3
- package/es/components/ExportModal/ExportModal.js +18 -5
- package/es/components/NotificationsPanel/NotificationsPanel.d.ts +5 -1
- package/es/components/NotificationsPanel/NotificationsPanel.js +14 -1
- package/es/components/OptionsTile/OptionsTile.d.ts +1 -1
- package/es/components/OptionsTile/OptionsTile.js +0 -1
- package/es/components/ProductiveCard/ProductiveCard.d.ts +4 -0
- package/es/components/ProductiveCard/ProductiveCard.js +4 -0
- package/es/components/ScrollGradient/ScrollGradient.js +1 -1
- package/es/components/SimpleHeader/SimpleHeader.d.ts +3 -1
- package/es/components/SimpleHeader/SimpleHeader.js +9 -2
- package/es/components/StringFormatter/StringFormatter.js +1 -1
- package/es/components/TagSet/TagSet.js +5 -0
- package/es/components/TagSet/TagSetOverflow.d.ts +4 -0
- package/es/components/TagSet/TagSetOverflow.js +13 -6
- package/es/components/Tearsheet/TearsheetShell.js +9 -2
- package/es/components/UserProfileImage/UserProfileImage.d.ts +1 -1
- package/es/components/UserProfileImage/UserProfileImage.js +1 -1
- package/es/global/js/utils/Wrap.d.ts +4 -0
- package/es/global/js/utils/Wrap.js +9 -3
- package/es/global/js/utils/devtools.js +1 -2
- package/es/node_modules/@carbon/icon-helpers/es/index.js +3 -3
- package/lib/_virtual/_commonjsHelpers.js +0 -2
- package/lib/_virtual/_rollupPluginBabelHelpers.js +2 -4
- package/lib/_virtual/index.js +0 -2
- package/lib/components/APIKeyModal/APIKeyDownloader.js +8 -14
- package/lib/components/APIKeyModal/APIKeyModal.js +70 -77
- package/lib/components/AboutModal/AboutModal.js +29 -36
- package/lib/components/ActionBar/ActionBar.js +26 -33
- package/lib/components/ActionBar/ActionBarItem.js +9 -16
- package/lib/components/ActionBar/ActionBarOverflowItems.js +23 -25
- package/lib/components/ActionSet/ActionSet.js +17 -24
- package/lib/components/AddSelect/AddSelect.js +62 -68
- package/lib/components/AddSelect/AddSelectBody.js +82 -89
- package/lib/components/AddSelect/AddSelectBreadcrumbs.js +6 -13
- package/lib/components/AddSelect/AddSelectColumn.js +29 -35
- package/lib/components/AddSelect/AddSelectFilter.js +30 -37
- package/lib/components/AddSelect/AddSelectFormControl.js +15 -21
- package/lib/components/AddSelect/AddSelectList.js +9 -16
- package/lib/components/AddSelect/AddSelectMetaPanel.js +16 -22
- package/lib/components/AddSelect/AddSelectRow.js +32 -39
- package/lib/components/AddSelect/AddSelectSidebar.js +29 -35
- package/lib/components/AddSelect/AddSelectSort.js +10 -16
- package/lib/components/AddSelect/add-select-utils.js +0 -2
- package/lib/components/AddSelect/hooks/useFocus.js +1 -1
- package/lib/components/AddSelect/hooks/useItemSort.js +0 -2
- package/lib/components/AddSelect/hooks/useParentSelect.js +1 -1
- package/lib/components/AddSelect/hooks/usePath.js +1 -1
- package/lib/components/BigNumbers/BigNumbers.js +39 -46
- package/lib/components/BigNumbers/constants.js +0 -2
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +35 -42
- package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +22 -29
- package/lib/components/Card/Card.js +73 -80
- package/lib/components/Card/CardFooter.js +28 -35
- package/lib/components/Card/CardHeader.js +37 -44
- package/lib/components/Carousel/Carousel.js +21 -28
- package/lib/components/Carousel/CarouselItem.js +5 -12
- package/lib/components/Cascade/Cascade.js +15 -22
- package/lib/components/Checklist/Checklist.js +50 -57
- package/lib/components/Checklist/Checklist.types.js +0 -2
- package/lib/components/Checklist/ChecklistChart.js +7 -15
- package/lib/components/Checklist/ChecklistIcon.js +7 -14
- package/lib/components/Coachmark/Coachmark.js +24 -31
- package/lib/components/Coachmark/CoachmarkDragbar.js +12 -19
- package/lib/components/Coachmark/CoachmarkHeader.js +9 -16
- package/lib/components/Coachmark/CoachmarkOverlay.js +14 -21
- package/lib/components/Coachmark/CoachmarkTagline.js +12 -19
- package/lib/components/Coachmark/utils/constants.js +0 -2
- package/lib/components/Coachmark/utils/context.js +0 -2
- package/lib/components/Coachmark/utils/enums.js +1 -2
- package/lib/components/Coachmark/utils/hooks.js +0 -2
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +10 -17
- package/lib/components/CoachmarkButton/CoachmarkButton.js +6 -13
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +13 -20
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +11 -18
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +25 -32
- package/lib/components/CoachmarkStack/CoachmarkStack.js +23 -30
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +29 -36
- package/lib/components/ComboButton/ComboButton.js +11 -18
- package/lib/components/ComboButton/ComboButtonItem/index.js +2 -8
- package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +34 -39
- package/lib/components/ConditionBuilder/ConditionBuilder.js +58 -59
- package/lib/components/ConditionBuilder/ConditionBuilder.types.d.ts +6 -2
- package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +18 -23
- package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +15 -20
- package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +20 -27
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +8 -12
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +4 -8
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +11 -8
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +63 -47
- package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +25 -31
- package/lib/components/ConditionBuilder/ConditionBuilderContext/translationObject.js +0 -2
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +17 -23
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +9 -15
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +5 -11
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +13 -19
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +17 -23
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +6 -12
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +9 -15
- package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +27 -32
- package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +25 -30
- package/lib/components/ConditionBuilder/utils/handleKeyboardEvents.js +0 -2
- package/lib/components/ConditionBuilder/utils/useDataConfigs.js +0 -2
- package/lib/components/ConditionBuilder/utils/useTranslations.js +0 -2
- package/lib/components/ConditionBuilder/utils/util.js +0 -2
- package/lib/components/CreateFullPage/CreateFullPage.d.ts +4 -2
- package/lib/components/CreateFullPage/CreateFullPage.js +53 -53
- package/lib/components/CreateFullPage/CreateFullPageStep.d.ts +3 -1
- package/lib/components/CreateFullPage/CreateFullPageStep.js +27 -31
- package/lib/components/CreateInfluencer/CreateInfluencer.js +15 -22
- package/lib/components/CreateModal/CreateModal.js +22 -29
- package/lib/components/CreateSidePanel/CreateSidePanel.js +24 -31
- package/lib/components/CreateTearsheet/CreateTearsheet.js +26 -33
- package/lib/components/CreateTearsheet/CreateTearsheetDivider.js +3 -10
- package/lib/components/CreateTearsheet/CreateTearsheetStep.js +31 -38
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +24 -31
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +37 -44
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +54 -61
- package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +37 -44
- package/lib/components/DataSpreadsheet/hooks/useMoveActiveCell.js +0 -2
- package/lib/components/DataSpreadsheet/hooks/useMultipleKeyTracking.js +0 -2
- package/lib/components/DataSpreadsheet/hooks/useResetSpreadsheetFocus.js +0 -2
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetEdit.js +0 -2
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.js +0 -2
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseUp.js +0 -2
- package/lib/components/DataSpreadsheet/hooks/useSpreadsheetOutsideClick.js +0 -2
- package/lib/components/DataSpreadsheet/utils/checkActiveHeaderCell.js +0 -2
- package/lib/components/DataSpreadsheet/utils/checkForHoldingKey.js +0 -2
- package/lib/components/DataSpreadsheet/utils/checkSelectedHeaderCell.js +0 -2
- package/lib/components/DataSpreadsheet/utils/commonEventHandlers.js +1 -3
- package/lib/components/DataSpreadsheet/utils/createActiveCellFn.js +0 -2
- package/lib/components/DataSpreadsheet/utils/createCellSelectionArea.js +0 -2
- package/lib/components/DataSpreadsheet/utils/getCellSize.js +0 -2
- package/lib/components/DataSpreadsheet/utils/getSelectionAreaPoints.js +0 -2
- package/lib/components/DataSpreadsheet/utils/getSpreadsheetWidth.js +0 -2
- package/lib/components/DataSpreadsheet/utils/handleActiveCellInSelectionEnter.js +0 -2
- package/lib/components/DataSpreadsheet/utils/handleActiveCellInSelectionTab.js +0 -2
- package/lib/components/DataSpreadsheet/utils/handleCellDeletion.js +0 -2
- package/lib/components/DataSpreadsheet/utils/handleEditSubmit.js +1 -3
- package/lib/components/DataSpreadsheet/utils/handleHeaderCellSelection.js +1 -3
- package/lib/components/DataSpreadsheet/utils/handleMultipleKeys.js +2 -4
- package/lib/components/DataSpreadsheet/utils/moveColumnIndicatorLine.js +0 -2
- package/lib/components/DataSpreadsheet/utils/removeCellSelections.js +0 -2
- package/lib/components/DataSpreadsheet/utils/selectAllCells.js +1 -3
- package/lib/components/Datagrid/Datagrid/Datagrid.d.ts +1 -1
- package/lib/components/Datagrid/Datagrid/Datagrid.js +10 -17
- package/lib/components/Datagrid/Datagrid/DatagridBody.js +5 -9
- package/lib/components/Datagrid/Datagrid/DatagridContent.js +43 -50
- package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +4 -8
- package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.js +6 -11
- package/lib/components/Datagrid/Datagrid/DatagridHead.js +2 -6
- package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +12 -17
- package/lib/components/Datagrid/Datagrid/DatagridRefBody.js +3 -8
- package/lib/components/Datagrid/Datagrid/DatagridRow.js +12 -17
- package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +4 -11
- package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +18 -23
- package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.js +3 -8
- package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +26 -20
- package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +5 -9
- package/lib/components/Datagrid/Datagrid/DraggableElement.js +18 -22
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +11 -12
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +10 -11
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +25 -31
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +21 -30
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +7 -13
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +18 -20
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/common.js +1 -7
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +49 -39
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +54 -48
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +5 -11
- package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +11 -15
- package/lib/components/Datagrid/Datagrid/addons/Filtering/constants.js +0 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +0 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +16 -31
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +2 -6
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/motion/variants.js +0 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/utils.js +0 -2
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +18 -25
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +32 -39
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +2 -8
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/getCellIdAsObject.js +0 -2
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/returnUpdatedActiveCell.js +0 -2
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridFocus.js +0 -2
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +0 -2
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleMultipleKeys.js +0 -2
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +12 -17
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +11 -16
- package/lib/components/Datagrid/Datagrid/addons/Slug/DatagridSlug.js +2 -8
- package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +0 -2
- package/lib/components/Datagrid/common-column-ids.js +0 -2
- package/lib/components/Datagrid/types/index.d.ts +4 -0
- package/lib/components/Datagrid/useActionsColumn.js +12 -17
- package/lib/components/Datagrid/useColumnCenterAlign.js +4 -9
- package/lib/components/Datagrid/useColumnRightAlign.js +4 -9
- package/lib/components/Datagrid/useCustomizeColumns.js +6 -7
- package/lib/components/Datagrid/useDatagrid.js +4 -8
- package/lib/components/Datagrid/useDefaultStringRenderer.js +5 -10
- package/lib/components/Datagrid/useDisableSelectRows.js +1 -1
- package/lib/components/Datagrid/useEditableCell.js +2 -2
- package/lib/components/Datagrid/useExpandedRow.js +3 -3
- package/lib/components/Datagrid/useFiltering.js +5 -5
- package/lib/components/Datagrid/useFlexResize.js +1 -1
- package/lib/components/Datagrid/useFloatingScroll.js +2 -6
- package/lib/components/Datagrid/useFocusRowExpander.js +0 -2
- package/lib/components/Datagrid/useInfiniteScroll.js +4 -8
- package/lib/components/Datagrid/useInitialColumnSort.js +0 -2
- package/lib/components/Datagrid/useInlineEdit.js +7 -12
- package/lib/components/Datagrid/useNestedRowExpander.js +5 -10
- package/lib/components/Datagrid/useNestedRows.js +3 -7
- package/lib/components/Datagrid/useOnRowClick.js +1 -1
- package/lib/components/Datagrid/useParentDimensions.js +1 -1
- package/lib/components/Datagrid/useResizeTable.js +1 -1
- package/lib/components/Datagrid/useRowExpander.js +5 -10
- package/lib/components/Datagrid/useRowIsMouseOver.js +2 -6
- package/lib/components/Datagrid/useRowRenderer.js +2 -2
- package/lib/components/Datagrid/useRowSize.js +2 -2
- package/lib/components/Datagrid/useSelectAllToggle.js +3 -8
- package/lib/components/Datagrid/useSelectRows.js +45 -29
- package/lib/components/Datagrid/useSkeletonRows.js +1 -1
- package/lib/components/Datagrid/useSortableColumns.js +8 -13
- package/lib/components/Datagrid/useStickyColumn.js +4 -9
- package/lib/components/Datagrid/utils/getAutoSizedColumnWidth.js +0 -2
- package/lib/components/Decorator/Decorator.js +16 -22
- package/lib/components/DecoratorBase/DecoratorBase.js +41 -48
- package/lib/components/DecoratorBase/DecoratorIcon.js +6 -13
- package/lib/components/DecoratorBase/utils.js +0 -2
- package/lib/components/DecoratorDualButton/DecoratorDualButton.js +21 -27
- package/lib/components/DecoratorLink/DecoratorLink.js +19 -25
- package/lib/components/DecoratorSingleButton/DecoratorSingleButton.js +19 -25
- package/lib/components/DelimitedList/DelimitedList.js +7 -14
- package/lib/components/DescriptionList/DescriptionList.js +8 -15
- package/lib/components/DescriptionList/DescriptionListBody.js +5 -12
- package/lib/components/DescriptionList/DescriptionListCell.js +5 -12
- package/lib/components/DescriptionList/DescriptionListRow.js +5 -12
- package/lib/components/DescriptionList/constants.js +0 -2
- package/lib/components/EditFullPage/EditFullPage.js +5 -12
- package/lib/components/EditInPlace/EditInPlace.js +35 -45
- package/lib/components/EditSidePanel/EditSidePanel.js +26 -33
- package/lib/components/EditTearsheet/EditTearsheet.js +24 -31
- package/lib/components/EditTearsheet/EditTearsheetForm.js +16 -23
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.js +5 -12
- package/lib/components/EditUpdateCards/EditUpdateCards.js +32 -39
- package/lib/components/EmptyStates/EmptyState.js +22 -29
- package/lib/components/EmptyStates/EmptyStateContent.js +18 -25
- package/lib/components/EmptyStates/EmptyStateIllustration.js +3 -7
- package/lib/components/EmptyStates/EmptyStateV2.js +25 -32
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +19 -26
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +19 -26
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +19 -26
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +19 -26
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +19 -26
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +19 -26
- package/lib/components/EmptyStates/assets/ErrorIllustration.js +53 -58
- package/lib/components/EmptyStates/assets/NoDataIllustration.js +43 -48
- package/lib/components/EmptyStates/assets/NoTagsIllustration.js +114 -119
- package/lib/components/EmptyStates/assets/NotFoundIllustration.js +84 -89
- package/lib/components/EmptyStates/assets/NotificationsIllustration.js +81 -86
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +74 -79
- package/lib/components/ExportModal/ExportModal.js +59 -53
- package/lib/components/ExpressiveCard/ExpressiveCard.js +28 -34
- package/lib/components/FeatureFlags/index.js +3 -9
- package/lib/components/FilterPanel/FilterPanel.js +7 -14
- package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +10 -17
- package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +13 -20
- package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +9 -16
- package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +17 -24
- package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +11 -18
- package/lib/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +9 -16
- package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +9 -16
- package/lib/components/FilterSummary/FilterSummary.js +22 -28
- package/lib/components/FullPageError/FullPageError.js +21 -28
- package/lib/components/FullPageError/assets/Error403SVG.js +129 -135
- package/lib/components/FullPageError/assets/Error404SVG.js +114 -120
- package/lib/components/FullPageError/assets/ErrorGenericSVG.js +128 -134
- package/lib/components/GetStartedCard/GetStartedCard.js +16 -22
- package/lib/components/Guidebanner/Guidebanner.js +32 -39
- package/lib/components/Guidebanner/GuidebannerElement.js +10 -17
- package/lib/components/Guidebanner/GuidebannerElementButton.js +9 -16
- package/lib/components/Guidebanner/GuidebannerElementLink.js +5 -12
- package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +5 -12
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +5 -12
- package/lib/components/HTTPErrors/HTTPErrorContent.js +5 -11
- package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +5 -12
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.js +358 -364
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.js +309 -315
- package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.js +321 -327
- package/lib/components/ImportModal/ImportModal.js +48 -55
- package/lib/components/InlineTip/InlineTip.js +38 -45
- package/lib/components/InlineTip/InlineTipButton.js +5 -12
- package/lib/components/InlineTip/InlineTipLink.js +6 -13
- package/lib/components/InlineTip/utils.js +2 -4
- package/lib/components/InterstitialScreen/InterstitialScreen.js +73 -80
- package/lib/components/InterstitialScreenView/InterstitialScreenView.js +6 -13
- package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +8 -15
- package/lib/components/MultiAddSelect/MultiAddSelect.js +45 -51
- package/lib/components/Nav/Nav.js +14 -21
- package/lib/components/Nav/NavItem.js +19 -24
- package/lib/components/Nav/NavItemLink.js +4 -8
- package/lib/components/Nav/NavList.js +12 -17
- package/lib/components/NonLinearReading/NonLinearReading.js +12 -19
- package/lib/components/NotificationsPanel/NotificationsPanel.d.ts +5 -1
- package/lib/components/NotificationsPanel/NotificationsPanel.js +104 -98
- package/lib/components/NotificationsPanel/utils.js +0 -2
- package/lib/components/OptionsTile/OptionsTile.d.ts +1 -1
- package/lib/components/OptionsTile/OptionsTile.js +40 -48
- package/lib/components/PageHeader/PageHeader.js +105 -112
- package/lib/components/PageHeader/PageHeaderTitle.js +23 -30
- package/lib/components/PageHeader/PageHeaderUtils.js +2 -9
- package/lib/components/ProductiveCard/ProductiveCard.d.ts +4 -0
- package/lib/components/ProductiveCard/ProductiveCard.js +39 -41
- package/lib/components/RemoveModal/RemoveModal.js +27 -34
- package/lib/components/Saving/Saving.js +27 -34
- package/lib/components/ScrollGradient/ScrollGradient.js +17 -24
- package/lib/components/ScrollGradient/constants.js +0 -2
- package/lib/components/SearchBar/SearchBar.js +22 -29
- package/lib/components/SidePanel/SidePanel.js +66 -73
- package/lib/components/SidePanel/constants.js +0 -2
- package/lib/components/SidePanel/motion/variants.js +0 -2
- package/lib/components/SimpleHeader/SimpleHeader.d.ts +3 -1
- package/lib/components/SimpleHeader/SimpleHeader.js +27 -27
- package/lib/components/SingleAddSelect/SingleAddSelect.js +21 -27
- package/lib/components/StatusIcon/StatusIcon.js +52 -59
- package/lib/components/StatusIndicator/StatusIndicator.js +13 -20
- package/lib/components/StatusIndicator/StatusIndicatorStep.js +14 -21
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +8 -17
- package/lib/components/StringFormatter/StringFormatter.js +12 -19
- package/lib/components/StringFormatter/utils/enums.js +0 -2
- package/lib/components/TagOverflow/TagOverflow.js +26 -33
- package/lib/components/TagOverflow/TagOverflowModal.js +17 -24
- package/lib/components/TagOverflow/TagOverflowPopover.js +22 -29
- package/lib/components/TagOverflow/constants.js +0 -2
- package/lib/components/TagSet/TagSet.js +39 -41
- package/lib/components/TagSet/TagSetModal.js +16 -23
- package/lib/components/TagSet/TagSetOverflow.d.ts +4 -0
- package/lib/components/TagSet/TagSetOverflow.js +32 -32
- package/lib/components/Tearsheet/Tearsheet.js +23 -29
- package/lib/components/Tearsheet/TearsheetNarrow.js +18 -24
- package/lib/components/Tearsheet/TearsheetShell.js +63 -63
- package/lib/components/Toolbar/Toolbar.js +3 -10
- package/lib/components/Toolbar/ToolbarButton.js +3 -10
- package/lib/components/Toolbar/ToolbarGroup.js +2 -9
- package/lib/components/TooltipTrigger/TooltipTrigger.js +4 -11
- package/lib/components/TruncatedList/TruncatedList.js +15 -22
- package/lib/components/UserAvatar/UserAvatar.js +18 -25
- package/lib/components/UserProfileImage/UserProfileImage.d.ts +1 -1
- package/lib/components/UserProfileImage/UserProfileImage.js +25 -32
- package/lib/components/WebTerminal/WebTerminal.js +26 -33
- package/lib/components/WebTerminal/WebTerminalContentWrapper.js +4 -11
- package/lib/components/WebTerminal/hooks/index.js +2 -8
- package/lib/components/_Canary/Canary.js +7 -14
- package/lib/feature-flags.js +3 -4
- package/lib/global/js/hooks/useActiveElement.js +0 -2
- package/lib/global/js/hooks/useClickOutside.js +0 -2
- package/lib/global/js/hooks/useControllableState.js +2 -4
- package/lib/global/js/hooks/useCreateComponentFocus.js +1 -3
- package/lib/global/js/hooks/useCreateComponentStepChange.js +0 -2
- package/lib/global/js/hooks/useFocus.js +1 -3
- package/lib/global/js/hooks/useIsomorphicEffect.js +0 -2
- package/lib/global/js/hooks/usePortalTarget.js +0 -2
- package/lib/global/js/hooks/usePrefersReducedMotion.js +1 -1
- package/lib/global/js/hooks/usePrefix.js +1 -3
- package/lib/global/js/hooks/usePreviousValue.js +0 -2
- package/lib/global/js/hooks/useResetCreateComponent.js +0 -2
- package/lib/global/js/hooks/useResizeObserver.js +0 -2
- package/lib/global/js/hooks/useRetrieveFormTitles.js +0 -2
- package/lib/global/js/hooks/useRetrieveStepData.js +0 -2
- package/lib/global/js/hooks/useValidCreateStepCount.js +0 -2
- package/lib/global/js/hooks/useWindowResize.js +1 -3
- package/lib/global/js/hooks/useWindowScroll.js +1 -3
- package/lib/global/js/package-settings.js +1 -1
- package/lib/global/js/utils/Wrap.d.ts +4 -0
- package/lib/global/js/utils/Wrap.js +16 -16
- package/lib/global/js/utils/deepCloneObject.js +1 -3
- package/lib/global/js/utils/devtools.js +0 -2
- package/lib/global/js/utils/getBezierValues.js +0 -2
- package/lib/global/js/utils/getFocusableElements.js +0 -2
- package/lib/global/js/utils/getNodeTextContent.js +1 -3
- package/lib/global/js/utils/getNumberOfHiddenSteps.js +0 -2
- package/lib/global/js/utils/getScrollbarWidth.js +0 -2
- package/lib/global/js/utils/keyboardNavigation.js +0 -2
- package/lib/global/js/utils/lastIndexInArray.js +0 -2
- package/lib/global/js/utils/motionConstants.js +0 -2
- package/lib/global/js/utils/pconsole.js +1 -1
- package/lib/global/js/utils/props-helper.js +10 -12
- package/lib/global/js/utils/rangeWithCallback.js +0 -2
- package/lib/global/js/utils/scrollableAncestor.js +1 -3
- package/lib/global/js/utils/uuidv4.js +1 -1
- package/lib/global/js/utils/wait.js +1 -1
- package/lib/global/js/utils/wrapFocus.js +1 -1
- package/lib/index.js +19 -21
- package/lib/node_modules/@carbon/colors/es/index.js +0 -2
- package/lib/node_modules/@carbon/icon-helpers/es/index.js +6 -8
- package/lib/node_modules/@carbon/icons-react/es/Icon.js +14 -18
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-2.js +525 -531
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-9.js +500 -506
- package/lib/node_modules/@carbon/icons-react/es/iconPropTypes-4cbeb95d.js +1 -3
- package/lib/node_modules/object-assign/index.js +0 -2
- package/lib/node_modules/prop-types/checkPropTypes.js +2 -4
- package/lib/node_modules/prop-types/factoryWithThrowingShims.js +0 -2
- package/lib/node_modules/prop-types/factoryWithTypeCheckers.js +4 -10
- package/lib/node_modules/prop-types/index.js +2 -6
- package/lib/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -2
- package/lib/node_modules/prop-types/lib/has.js +0 -2
- package/lib/settings.js +9 -15
- package/package.json +11 -11
- package/scss/components/EditInPlace/_edit-in-place.scss +0 -11
- package/scss/components/SidePanel/_side-panel.scss +1 -0
- package/scss/components/TagSet/_tag-set.scss +2 -0
- package/telemetry.yml +3 -3
@@ -5,7 +5,7 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
|
8
|
-
import { toConsumableArray as _toConsumableArray, slicedToArray as _slicedToArray, objectWithoutProperties as _objectWithoutProperties, extends as _extends, defineProperty as _defineProperty, objectSpread2 as _objectSpread2 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
8
|
+
import { toConsumableArray as _toConsumableArray, slicedToArray as _slicedToArray, objectWithoutProperties as _objectWithoutProperties, extends as _extends, defineProperty as _defineProperty, objectSpread2 as _objectSpread2, asyncToGenerator as _asyncToGenerator, regeneratorRuntime as _regeneratorRuntime } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { useState, useLayoutEffect } from 'react';
|
10
10
|
import cx from 'classnames';
|
11
11
|
import { TableSelectRow } from '@carbon/react';
|
@@ -95,24 +95,45 @@ var SelectRow = function SelectRow(datagridState) {
|
|
95
95
|
return window.removeEventListener('resize', updateSize);
|
96
96
|
};
|
97
97
|
}, []);
|
98
|
-
var onSelectHandler = function
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
98
|
+
var onSelectHandler = /*#__PURE__*/function () {
|
99
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(event) {
|
100
|
+
var _document$activeEleme, _document, _document2;
|
101
|
+
var activeElement;
|
102
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
103
|
+
while (1) switch (_context.prev = _context.next) {
|
104
|
+
case 0:
|
105
|
+
event.stopPropagation(); // avoid triggering onRowClick
|
106
|
+
if (radio) {
|
107
|
+
toggleAllRowsSelected(false);
|
108
|
+
if (onRadioSelect) {
|
109
|
+
onRadioSelect(row);
|
110
|
+
}
|
111
|
+
}
|
112
|
+
onChange(event);
|
113
|
+
onRowSelect === null || onRowSelect === void 0 || onRowSelect(row, event);
|
114
|
+
handleToggleRowSelected({
|
115
|
+
dispatch: dispatch,
|
116
|
+
rowData: row,
|
117
|
+
isChecked: event.target.checked,
|
118
|
+
getRowId: getRowId,
|
119
|
+
selectAll: null
|
120
|
+
});
|
121
|
+
// focus the radio / checkbox if lost
|
122
|
+
activeElement = (_document$activeEleme = (_document = document) === null || _document === void 0 || (_document = _document.activeElement) === null || _document === void 0 ? void 0 : _document.id) !== null && _document$activeEleme !== void 0 ? _document$activeEleme : '';
|
123
|
+
_context.next = 8;
|
124
|
+
return undefined;
|
125
|
+
case 8:
|
126
|
+
(_document2 = document) === null || _document2 === void 0 || (_document2 = _document2.getElementById(activeElement)) === null || _document2 === void 0 || _document2.focus();
|
127
|
+
case 9:
|
128
|
+
case "end":
|
129
|
+
return _context.stop();
|
130
|
+
}
|
131
|
+
}, _callee);
|
132
|
+
}));
|
133
|
+
return function onSelectHandler(_x) {
|
134
|
+
return _ref3.apply(this, arguments);
|
135
|
+
};
|
136
|
+
}();
|
116
137
|
var selectDisabled = isFetching || row.getRowProps().disabled;
|
117
138
|
var _row$getToggleRowSele2 = row.getToggleRowSelectedProps(),
|
118
139
|
onChange = _row$getToggleRowSele2.onChange,
|
@@ -169,9 +169,6 @@ var EditInPlace = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
169
169
|
"aria-label": labelText,
|
170
170
|
"aria-invalid": invalid
|
171
171
|
}), /*#__PURE__*/React__default.createElement("div", {
|
172
|
-
className: "".concat(blockClass, "__ellipsis"),
|
173
|
-
"aria-hidden": !focused
|
174
|
-
}, "\u2026"), /*#__PURE__*/React__default.createElement("div", {
|
175
172
|
className: "".concat(blockClass, "__toolbar")
|
176
173
|
}, invalid && /*#__PURE__*/React__default.createElement(WarningFilled, {
|
177
174
|
size: 16,
|
@@ -6,13 +6,13 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, defineProperty as _defineProperty, extends as _extends, objectSpread2 as _objectSpread2 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
-
import { ComposedModal, ModalHeader, ModalBody, FormGroup, RadioButtonGroup, RadioButton, TextInput, PasswordInput, Loading, ModalFooter, Button } from '@carbon/react';
|
9
|
+
import { unstable_FeatureFlags, ComposedModal, ModalHeader, ModalBody, FormGroup, RadioButtonGroup, RadioButton, TextInput, PasswordInput, Loading, ModalFooter, Button } from '@carbon/react';
|
10
10
|
import { CheckmarkFilled, ErrorFilled } from '@carbon/react/icons';
|
11
11
|
import React__default, { forwardRef, useState, useEffect, useRef } from 'react';
|
12
12
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
13
13
|
import cx from 'classnames';
|
14
14
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
15
|
-
import { pkg } from '../../settings.js';
|
15
|
+
import { pkg, carbon } from '../../settings.js';
|
16
16
|
import { usePortalTarget } from '../../global/js/hooks/usePortalTarget.js';
|
17
17
|
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
18
18
|
|
@@ -58,6 +58,7 @@ var ExportModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
58
58
|
_ref$validExtensions = _ref.validExtensions,
|
59
59
|
validExtensions = _ref$validExtensions === void 0 ? defaults.validExtensions : _ref$validExtensions,
|
60
60
|
rest = _objectWithoutProperties(_ref, _excluded);
|
61
|
+
var blockClass = "".concat(pkg.prefix, "--export-modal");
|
61
62
|
var _useState = useState(''),
|
62
63
|
_useState2 = _slicedToArray(_useState, 2),
|
63
64
|
name = _useState2[0],
|
@@ -80,6 +81,12 @@ var ExportModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
80
81
|
setExtension(preformattedExtensions === null || preformattedExtensions === void 0 || (_preformattedExtensio2 = preformattedExtensions[0]) === null || _preformattedExtensio2 === void 0 ? void 0 : _preformattedExtensio2.extension);
|
81
82
|
}
|
82
83
|
}, [filename, preformattedExtensions, open]);
|
84
|
+
useEffect(function () {
|
85
|
+
if (successful) {
|
86
|
+
var button = document.querySelector(".".concat(blockClass, " .").concat(carbon.prefix, "--modal-close-button button"));
|
87
|
+
button === null || button === void 0 || button.focus();
|
88
|
+
}
|
89
|
+
}, [successful, blockClass]);
|
83
90
|
var onNameChangeHandler = function onNameChangeHandler(evt) {
|
84
91
|
setName(evt.target.value);
|
85
92
|
};
|
@@ -106,7 +113,6 @@ var ExportModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
106
113
|
}
|
107
114
|
return false;
|
108
115
|
};
|
109
|
-
var blockClass = "".concat(pkg.prefix, "--export-modal");
|
110
116
|
var internalId = useRef(uuidv4());
|
111
117
|
var primaryButtonDisabled = loading || !name || hasInvalidExtension();
|
112
118
|
var submitted = loading || error || successful;
|
@@ -119,7 +125,11 @@ var ExportModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
119
125
|
invalidText: invalidInputText,
|
120
126
|
onBlur: onBlurHandler
|
121
127
|
}, 'data-modal-primary-focus', true);
|
122
|
-
return renderPortalUse( /*#__PURE__*/React__default.createElement(
|
128
|
+
return renderPortalUse( /*#__PURE__*/React__default.createElement(unstable_FeatureFlags, {
|
129
|
+
flags: {
|
130
|
+
'enable-experimental-focus-wrap-without-sentinels': true
|
131
|
+
}
|
132
|
+
}, /*#__PURE__*/React__default.createElement(ComposedModal, _extends({}, rest, {
|
123
133
|
className: cx(blockClass, className),
|
124
134
|
"aria-label": title,
|
125
135
|
size: "sm",
|
@@ -158,8 +168,11 @@ var ExportModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
158
168
|
hidePasswordLabel: hidePasswordLabel,
|
159
169
|
tooltipPosition: "left"
|
160
170
|
})))), /*#__PURE__*/React__default.createElement("div", {
|
171
|
+
"aria-live": "polite",
|
161
172
|
className: "".concat(blockClass, "__messaging")
|
162
173
|
}, loading && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, _Loading || (_Loading = /*#__PURE__*/React__default.createElement(Loading, {
|
174
|
+
"aria-live": "off",
|
175
|
+
description: "",
|
163
176
|
small: true,
|
164
177
|
withOverlay: false
|
165
178
|
})), /*#__PURE__*/React__default.createElement("p", null, loadingMessage)), successful && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(CheckmarkFilled, {
|
@@ -179,7 +192,7 @@ var ExportModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
179
192
|
kind: "primary",
|
180
193
|
onClick: onSubmitHandler,
|
181
194
|
disabled: primaryButtonDisabled
|
182
|
-
}, primaryButtonText))));
|
195
|
+
}, primaryButtonText)))));
|
183
196
|
});
|
184
197
|
|
185
198
|
// Return a placeholder if not released and not enabled by feature flag
|
@@ -6,7 +6,7 @@
|
|
6
6
|
*/
|
7
7
|
/// <reference path="../../../src/custom-typings/index.d.ts" />
|
8
8
|
import { Link } from '@carbon/react';
|
9
|
-
import React from 'react';
|
9
|
+
import React, { RefObject } from 'react';
|
10
10
|
interface Link {
|
11
11
|
url: string;
|
12
12
|
text: string;
|
@@ -138,6 +138,10 @@ export interface NotificationsPanelProps {
|
|
138
138
|
* Sets the today label text
|
139
139
|
*/
|
140
140
|
todayLabel?: string;
|
141
|
+
/**
|
142
|
+
* Reference to trigger button
|
143
|
+
*/
|
144
|
+
triggerButtonRef?: RefObject<any>;
|
141
145
|
/**
|
142
146
|
* Sets the View all button text
|
143
147
|
*/
|
@@ -22,7 +22,7 @@ import { useClickOutside } from '../../global/js/hooks/useClickOutside.js';
|
|
22
22
|
import { NotificationsEmptyState } from '../EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js';
|
23
23
|
|
24
24
|
var _Close;
|
25
|
-
var _excluded = ["className", "data", "daysAgoText", "dismissAllLabel", "dismissSingleNotificationIconDescription", "doNotDisturbDefaultToggled", "doNotDisturbLabel", "emptyStateLabel", "hourAgoText", "hoursAgoText", "minuteAgoText", "minutesAgoText", "monthAgoText", "monthsAgoText", "nowText", "onClickOutside", "onDismissAllNotifications", "onDismissSingleNotification", "onDoNotDisturbChange", "onSettingsClick", "onViewAllClick", "open", "previousLabel", "readLessLabel", "readMoreLabel", "secondsAgoText", "settingsIconDescription", "title", "todayLabel", "viewAllLabel", "yearAgoText", "yearsAgoText", "yesterdayAtText", "yesterdayLabel", "selectorsFloatingMenus"];
|
25
|
+
var _excluded = ["className", "data", "daysAgoText", "dismissAllLabel", "dismissSingleNotificationIconDescription", "doNotDisturbDefaultToggled", "doNotDisturbLabel", "emptyStateLabel", "hourAgoText", "hoursAgoText", "minuteAgoText", "minutesAgoText", "monthAgoText", "monthsAgoText", "nowText", "onClickOutside", "onDismissAllNotifications", "onDismissSingleNotification", "onDoNotDisturbChange", "onSettingsClick", "onViewAllClick", "open", "previousLabel", "readLessLabel", "readMoreLabel", "secondsAgoText", "settingsIconDescription", "title", "todayLabel", "viewAllLabel", "yearAgoText", "yearsAgoText", "yesterdayAtText", "yesterdayLabel", "selectorsFloatingMenus", "triggerButtonRef"];
|
26
26
|
|
27
27
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
28
28
|
var componentName = 'NotificationsPanel';
|
@@ -143,6 +143,7 @@ var NotificationsPanel = /*#__PURE__*/React__default.forwardRef(function (_ref,
|
|
143
143
|
_ref$yesterdayLabel = _ref.yesterdayLabel,
|
144
144
|
yesterdayLabel = _ref$yesterdayLabel === void 0 ? defaults.yesterdayLabel : _ref$yesterdayLabel,
|
145
145
|
selectorsFloatingMenus = _ref.selectorsFloatingMenus,
|
146
|
+
triggerButtonRef = _ref.triggerButtonRef,
|
146
147
|
rest = _objectWithoutProperties(_ref, _excluded);
|
147
148
|
var notificationPanelRef = useRef(null);
|
148
149
|
var notificationPanelInnerRef = useRef(null);
|
@@ -167,6 +168,10 @@ var NotificationsPanel = /*#__PURE__*/React__default.forwardRef(function (_ref,
|
|
167
168
|
}, [data]);
|
168
169
|
useClickOutside(ref || notificationPanelRef, function () {
|
169
170
|
onClickOutside();
|
171
|
+
setTimeout(function () {
|
172
|
+
var _triggerButtonRef$cur;
|
173
|
+
triggerButtonRef === null || triggerButtonRef === void 0 || (_triggerButtonRef$cur = triggerButtonRef.current) === null || _triggerButtonRef$cur === void 0 || _triggerButtonRef$cur.focus();
|
174
|
+
}, 0);
|
170
175
|
});
|
171
176
|
useEffect(function () {
|
172
177
|
// initialize the notification panel to open
|
@@ -220,6 +225,10 @@ var NotificationsPanel = /*#__PURE__*/React__default.forwardRef(function (_ref,
|
|
220
225
|
event.stopPropagation();
|
221
226
|
if (event.key === 'Escape') {
|
222
227
|
onClickOutside();
|
228
|
+
setTimeout(function () {
|
229
|
+
var _triggerButtonRef$cur2;
|
230
|
+
triggerButtonRef === null || triggerButtonRef === void 0 || (_triggerButtonRef$cur2 = triggerButtonRef.current) === null || _triggerButtonRef$cur2 === void 0 || _triggerButtonRef$cur2.focus();
|
231
|
+
}, 100);
|
223
232
|
}
|
224
233
|
};
|
225
234
|
useEffect(function () {
|
@@ -595,6 +604,10 @@ NotificationsPanel.propTypes = {
|
|
595
604
|
* Sets the today label text
|
596
605
|
*/
|
597
606
|
todayLabel: PropTypes.string,
|
607
|
+
/**
|
608
|
+
* Sets the today label text
|
609
|
+
*/
|
610
|
+
triggerButtonRef: PropTypes.any,
|
598
611
|
/**
|
599
612
|
* Sets the View all button text
|
600
613
|
*/
|
@@ -45,7 +45,7 @@ export interface OptionsTileProps {
|
|
45
45
|
* Provide a function which will be called each time the user
|
46
46
|
* interacts with the toggle.
|
47
47
|
*/
|
48
|
-
onToggle
|
48
|
+
onToggle?: (value: boolean) => void;
|
49
49
|
/**
|
50
50
|
* Whether the OptionsTile is in open state.
|
51
51
|
*/
|
@@ -65,6 +65,10 @@ export interface ProductiveCardProps extends PropsWithChildren {
|
|
65
65
|
* Aria label prop required for OverflowMenu
|
66
66
|
*/
|
67
67
|
overflowAriaLabel?: string;
|
68
|
+
/**
|
69
|
+
* Determines if the primary button is enabled or not
|
70
|
+
*/
|
71
|
+
primaryButtonDisabled?: boolean;
|
68
72
|
/**
|
69
73
|
* Optionally specify an href for your Button to become an <a> element
|
70
74
|
*/
|
@@ -98,6 +98,10 @@ ProductiveCard.propTypes = {
|
|
98
98
|
* Aria label prop required for OverflowMenu
|
99
99
|
*/
|
100
100
|
overflowAriaLabel: PropTypes.string,
|
101
|
+
/**
|
102
|
+
* Determines if the primary button is enabled or not
|
103
|
+
*/
|
104
|
+
primaryButtonDisabled: PropTypes.bool,
|
101
105
|
/**
|
102
106
|
* Optionally specify an href for your Button to become an <a> element
|
103
107
|
*/
|
@@ -12,7 +12,7 @@ import cx from 'classnames';
|
|
12
12
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
13
13
|
import { pkg, carbon } from '../../settings.js';
|
14
14
|
import { throttle } from 'lodash';
|
15
|
-
import { ScrollStates, getScrollState,
|
15
|
+
import { ScrollStates, getScrollState, useIsOverflow, ScrollDirection } from './constants.js';
|
16
16
|
|
17
17
|
var _excluded = ["children", "className", "color", "onScroll", "scrollElementClassName", "getScrollElementRef", "hideStartGradient"];
|
18
18
|
var blockClass = "".concat(pkg.prefix, "--scroll-gradient");
|
@@ -11,7 +11,7 @@ export const overflowAriaLabel_required_if_breadcrumbs_exist: (props: any, propN
|
|
11
11
|
* The component will throw a warning message if neither a title or breadcrumbs are provided
|
12
12
|
* since it requires at least one of them.
|
13
13
|
* */
|
14
|
-
export function SimpleHeader({ breadcrumbs, className, title, noTrailingSlash, maxVisible, overflowAriaLabel, ...rest }: {
|
14
|
+
export function SimpleHeader({ breadcrumbs, className, title, noTrailingSlash, maxVisible, overflowAriaLabel, overflowTooltipAlign, ...rest }: {
|
15
15
|
[x: string]: any;
|
16
16
|
breadcrumbs: any;
|
17
17
|
className: any;
|
@@ -19,6 +19,7 @@ export function SimpleHeader({ breadcrumbs, className, title, noTrailingSlash, m
|
|
19
19
|
noTrailingSlash?: boolean | undefined;
|
20
20
|
maxVisible: any;
|
21
21
|
overflowAriaLabel: any;
|
22
|
+
overflowTooltipAlign: any;
|
22
23
|
}): import("react/jsx-runtime").JSX.Element;
|
23
24
|
export namespace SimpleHeader {
|
24
25
|
namespace propTypes {
|
@@ -38,6 +39,7 @@ export namespace SimpleHeader {
|
|
38
39
|
export let maxVisible: PropTypes.Requireable<number>;
|
39
40
|
export let noTrailingSlash: PropTypes.Requireable<boolean>;
|
40
41
|
export { overflowAriaLabel_required_if_breadcrumbs_exist as overflowAriaLabel };
|
42
|
+
export let overflowTooltipAlign: any;
|
41
43
|
export let title: PropTypes.Requireable<string>;
|
42
44
|
}
|
43
45
|
}
|
@@ -12,9 +12,10 @@ import cx from 'classnames';
|
|
12
12
|
import { pkg } from '../../settings.js';
|
13
13
|
import pconsole from '../../global/js/utils/pconsole.js';
|
14
14
|
import { isRequiredIf } from '../../global/js/utils/props-helper.js';
|
15
|
+
import { Tooltip } from '@carbon/react';
|
15
16
|
import { BreadcrumbWithOverflow } from '../BreadcrumbWithOverflow/BreadcrumbWithOverflow.js';
|
16
17
|
|
17
|
-
var _excluded = ["breadcrumbs", "className", "title", "noTrailingSlash", "maxVisible", "overflowAriaLabel"];
|
18
|
+
var _excluded = ["breadcrumbs", "className", "title", "noTrailingSlash", "maxVisible", "overflowAriaLabel", "overflowTooltipAlign"];
|
18
19
|
var blockClass = "".concat(pkg.prefix, "--simple-header");
|
19
20
|
var componentName = 'SimpleHeader';
|
20
21
|
/**
|
@@ -37,6 +38,7 @@ var SimpleHeader = function SimpleHeader(_ref) {
|
|
37
38
|
noTrailingSlash = _ref$noTrailingSlash === void 0 ? true : _ref$noTrailingSlash,
|
38
39
|
maxVisible = _ref.maxVisible,
|
39
40
|
overflowAriaLabel = _ref.overflowAriaLabel,
|
41
|
+
overflowTooltipAlign = _ref.overflowTooltipAlign,
|
40
42
|
rest = _objectWithoutProperties(_ref, _excluded);
|
41
43
|
var warnIfNoTitleOrBreadcrumbs = useCallback(function () {
|
42
44
|
if (!title && !(breadcrumbs !== null && breadcrumbs !== void 0 && breadcrumbs.length)) {
|
@@ -53,7 +55,8 @@ var SimpleHeader = function SimpleHeader(_ref) {
|
|
53
55
|
className: cx("".concat(blockClass, "__breadcrumbs")),
|
54
56
|
breadcrumbs: breadcrumbs,
|
55
57
|
maxVisible: maxVisible,
|
56
|
-
overflowAriaLabel: overflowAriaLabel
|
58
|
+
overflowAriaLabel: overflowAriaLabel,
|
59
|
+
overflowTooltipAlign: overflowTooltipAlign
|
57
60
|
}), title && /*#__PURE__*/React__default.createElement("h1", {
|
58
61
|
className: cx("".concat(blockClass, "__title"))
|
59
62
|
}, title));
|
@@ -84,6 +87,10 @@ SimpleHeader.propTypes = {
|
|
84
87
|
noTrailingSlash: PropTypes.bool,
|
85
88
|
/** Label for open/close overflow button used for breadcrumb items that do not fit */
|
86
89
|
overflowAriaLabel: overflowAriaLabel_required_if_breadcrumbs_exist,
|
90
|
+
/**
|
91
|
+
* overflowTooltipAlign: align tooltip position
|
92
|
+
*/
|
93
|
+
overflowTooltipAlign: Tooltip.propTypes.align,
|
87
94
|
/** Header title */
|
88
95
|
title: PropTypes.string
|
89
96
|
};
|
@@ -12,7 +12,7 @@ import cx from 'classnames';
|
|
12
12
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
13
13
|
import { pkg } from '../../settings.js';
|
14
14
|
import { DefinitionTooltip } from '@carbon/react';
|
15
|
-
import { StringFormatterAlignment, deprecated_StringFormatterAlignment
|
15
|
+
import { propMappingFunction, StringFormatterAlignment, deprecated_StringFormatterAlignment } from './utils/enums.js';
|
16
16
|
import { allPropTypes } from '../../global/js/utils/props-helper.js';
|
17
17
|
|
18
18
|
var _excluded = ["className", "lines", "tooltipDirection", "truncate", "width", "value"];
|
@@ -129,11 +129,15 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
129
129
|
}
|
130
130
|
}, [displayCount]);
|
131
131
|
useEffect(function () {
|
132
|
+
var size = 'md';
|
132
133
|
// create visible and overflow tags
|
133
134
|
var newDisplayedTags = tags && tags.length > 0 ? tags.map(function (_ref3, index) {
|
134
135
|
var label = _ref3.label,
|
135
136
|
_onClose = _ref3.onClose,
|
136
137
|
other = _objectWithoutProperties(_ref3, _excluded3);
|
138
|
+
if (index == tags.length - 1 && other.size) {
|
139
|
+
size = other.size;
|
140
|
+
}
|
137
141
|
return /*#__PURE__*/React__default.createElement(Tag, _extends({}, other, {
|
138
142
|
key: "displayed-tag-".concat(index),
|
139
143
|
onClose: function onClose() {
|
@@ -161,6 +165,7 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
161
165
|
overflowAlign: overflowAlign,
|
162
166
|
overflowType: overflowType,
|
163
167
|
showAllTagsLabel: showAllTagsLabel,
|
168
|
+
size: size,
|
164
169
|
key: "displayed-tag-overflow",
|
165
170
|
ref: overflowTag,
|
166
171
|
popoverOpen: popoverOpen,
|
@@ -42,6 +42,10 @@ interface TagSetOverflowProps {
|
|
42
42
|
* label for the overflow show all tags link
|
43
43
|
*/
|
44
44
|
showAllTagsLabel?: string;
|
45
|
+
/**
|
46
|
+
* Size of the overflow tag
|
47
|
+
*/
|
48
|
+
size?: string;
|
45
49
|
}
|
46
50
|
export declare const TagSetOverflow: React.ForwardRefExoticComponent<TagSetOverflowProps & {
|
47
51
|
children?: React.ReactNode;
|
@@ -9,11 +9,11 @@ import { objectWithoutProperties as _objectWithoutProperties, extends as _extend
|
|
9
9
|
import React__default, { useRef } from 'react';
|
10
10
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
11
11
|
import cx from 'classnames';
|
12
|
-
import { Popover,
|
12
|
+
import { Popover, OperationalTag, PopoverContent, Link } from '@carbon/react';
|
13
13
|
import { pkg } from '../../settings.js';
|
14
14
|
import { useClickOutside } from '../../global/js/hooks/useClickOutside.js';
|
15
15
|
|
16
|
-
var _excluded = ["allTagsModalSearchThreshold", "className", "onShowAllClick", "overflowAlign", "overflowAutoAlign", "overflowTags", "overflowType", "showAllTagsLabel", "popoverOpen", "setPopoverOpen"];
|
16
|
+
var _excluded = ["allTagsModalSearchThreshold", "className", "onShowAllClick", "overflowAlign", "overflowAutoAlign", "overflowTags", "overflowType", "showAllTagsLabel", "popoverOpen", "setPopoverOpen", "size"];
|
17
17
|
var componentName = 'TagSetOverflow';
|
18
18
|
var blockClass = "".concat(pkg.prefix, "--tag-set-overflow");
|
19
19
|
|
@@ -34,6 +34,7 @@ var TagSetOverflow = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
|
|
34
34
|
showAllTagsLabel = _ref.showAllTagsLabel,
|
35
35
|
popoverOpen = _ref.popoverOpen,
|
36
36
|
setPopoverOpen = _ref.setPopoverOpen,
|
37
|
+
size = _ref.size,
|
37
38
|
rest = _objectWithoutProperties(_ref, _excluded);
|
38
39
|
var localRef = useRef(null);
|
39
40
|
var overflowTagContent = useRef(null);
|
@@ -66,12 +67,14 @@ var TagSetOverflow = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
|
|
66
67
|
onKeyDown: handleEscKeyPress,
|
67
68
|
open: popoverOpen,
|
68
69
|
autoAlign: overflowAutoAlign
|
69
|
-
}, /*#__PURE__*/React__default.createElement(
|
70
|
+
}, /*#__PURE__*/React__default.createElement(OperationalTag, {
|
70
71
|
onClick: function onClick() {
|
71
72
|
return setPopoverOpen === null || setPopoverOpen === void 0 ? void 0 : setPopoverOpen(!popoverOpen);
|
72
73
|
},
|
73
|
-
className: cx("".concat(blockClass, "__popover-trigger"))
|
74
|
-
|
74
|
+
className: cx("".concat(blockClass, "__popover-trigger")),
|
75
|
+
size: size,
|
76
|
+
text: "+".concat(overflowTags.length)
|
77
|
+
}), /*#__PURE__*/React__default.createElement(PopoverContent, null, /*#__PURE__*/React__default.createElement("div", {
|
75
78
|
ref: overflowTagContent,
|
76
79
|
className: "".concat(blockClass, "__content")
|
77
80
|
}, /*#__PURE__*/React__default.createElement("ul", {
|
@@ -141,7 +144,11 @@ TagSetOverflow.propTypes = {
|
|
141
144
|
/**
|
142
145
|
* label for the overflow show all tags link
|
143
146
|
*/
|
144
|
-
showAllTagsLabel: PropTypes.string
|
147
|
+
showAllTagsLabel: PropTypes.string,
|
148
|
+
/**
|
149
|
+
* Size of the overflow tag
|
150
|
+
*/
|
151
|
+
size: PropTypes.string
|
145
152
|
};
|
146
153
|
|
147
154
|
export { TagSetOverflow };
|
@@ -6,7 +6,7 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends, defineProperty as _defineProperty, toConsumableArray as _toConsumableArray } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
-
import React__default, { useRef, useState, useEffect } from 'react';
|
9
|
+
import React__default, { useRef, useCallback, useState, useEffect } from 'react';
|
10
10
|
import { useResizeObserver } from '../../global/js/hooks/useResizeObserver.js';
|
11
11
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
12
12
|
import cx from 'classnames';
|
@@ -102,6 +102,12 @@ var TearsheetShell = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
|
|
102
102
|
keyDownListener = _useFocus.keyDownListener,
|
103
103
|
specifiedElement = _useFocus.specifiedElement;
|
104
104
|
var modalRefValue = modalRef.current;
|
105
|
+
|
106
|
+
// Function to strip html tags out of a string.
|
107
|
+
var stripTags = useCallback(function (input) {
|
108
|
+
return input.replace(/<\/?[^>]+(>|$)/g, '');
|
109
|
+
}, []);
|
110
|
+
var titleText = stripTags(String(description));
|
105
111
|
var wide = size === 'wide';
|
106
112
|
|
107
113
|
// Keep track of the stack depth and our position in it (1-based, 0=closed)
|
@@ -283,7 +289,8 @@ var TearsheetShell = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
|
|
283
289
|
element: "h3",
|
284
290
|
className: cx("".concat(bcModalHeader, "__heading"), "".concat(bc, "__heading"))
|
285
291
|
}, title), /*#__PURE__*/React__default.createElement(Wrap, {
|
286
|
-
className: "".concat(bc, "__header-description")
|
292
|
+
className: "".concat(bc, "__header-description"),
|
293
|
+
title: titleText
|
287
294
|
}, description)), /*#__PURE__*/React__default.createElement(Wrap, {
|
288
295
|
className: "".concat(bc, "__header-actions")
|
289
296
|
}, headerActions)), /*#__PURE__*/React__default.createElement(Wrap, {
|
@@ -25,7 +25,7 @@ type imageProps = {
|
|
25
25
|
type UserProfileImageBaseProps = {
|
26
26
|
/**
|
27
27
|
* The background color passed should match one of the background colors in the library documentation:
|
28
|
-
* https://pages.github.ibm.com/
|
28
|
+
* https://pages.github.ibm.com/carbon/ibm-products/patterns/user-profile-images/
|
29
29
|
*/
|
30
30
|
backgroundColor?: string;
|
31
31
|
/**
|
@@ -136,7 +136,7 @@ UserProfileImage.displayName = componentName;
|
|
136
136
|
UserProfileImage.propTypes = {
|
137
137
|
/**
|
138
138
|
* The background color passed should match one of the background colors in the library documentation:
|
139
|
-
* https://pages.github.ibm.com/
|
139
|
+
* https://pages.github.ibm.com/carbon/ibm-products/patterns/user-profile-images/
|
140
140
|
*/
|
141
141
|
backgroundColor: PropTypes.oneOf(['light-cyan', 'dark-cyan', 'light-gray', 'dark-gray', 'light-green', 'dark-green', 'light-magenta', 'dark-magenta', 'light-purple', 'dark-purple', 'light-teal', 'dark-teal']),
|
142
142
|
/**
|
@@ -30,6 +30,10 @@ interface WrapProps extends PropsWithChildren {
|
|
30
30
|
* Tab index for the wrapper div
|
31
31
|
*/
|
32
32
|
tabIndex?: number;
|
33
|
+
/**
|
34
|
+
* The title attribute the content.
|
35
|
+
*/
|
36
|
+
title?: string;
|
33
37
|
}
|
34
38
|
/**
|
35
39
|
* A simple conditional wrapper that encloses its children in a <div> (or other
|
@@ -9,7 +9,7 @@ import { objectWithoutProperties as _objectWithoutProperties, extends as _extend
|
|
9
9
|
import React__default from 'react';
|
10
10
|
import PropTypes from '../../../node_modules/prop-types/index.js';
|
11
11
|
|
12
|
-
var _excluded = ["alwaysRender", "children", "element", "neverRender", "className"];
|
12
|
+
var _excluded = ["alwaysRender", "children", "element", "neverRender", "className", "title"];
|
13
13
|
|
14
14
|
// Examine a flat array of children to decide whether it is effectively empty.
|
15
15
|
// If there are no children, or all the children are falsy, or all the non-falsy
|
@@ -41,11 +41,13 @@ var Wrap = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
41
41
|
Wrapper = _ref$element === void 0 ? 'div' : _ref$element,
|
42
42
|
neverRender = _ref.neverRender,
|
43
43
|
className = _ref.className,
|
44
|
+
title = _ref.title,
|
44
45
|
rest = _objectWithoutProperties(_ref, _excluded);
|
45
46
|
return (neverRender || isEmpty(children)) && !alwaysRender ? null : /*#__PURE__*/React__default.createElement(Wrapper, _extends({
|
46
47
|
className: className
|
47
48
|
}, rest, {
|
48
|
-
ref: ref
|
49
|
+
ref: ref,
|
50
|
+
title: title
|
49
51
|
}), children);
|
50
52
|
});
|
51
53
|
Wrap.displayName = 'Wrap';
|
@@ -75,7 +77,11 @@ Wrap.propTypes = {
|
|
75
77
|
* set to true then it will take precedence and the wrapper element and
|
76
78
|
* content will be rendered.
|
77
79
|
*/
|
78
|
-
neverRender: PropTypes.bool
|
80
|
+
neverRender: PropTypes.bool,
|
81
|
+
/**
|
82
|
+
* The title attribute the content.
|
83
|
+
*/
|
84
|
+
title: PropTypes.string
|
79
85
|
};
|
80
86
|
|
81
87
|
export { Wrap };
|
@@ -7,10 +7,9 @@
|
|
7
7
|
|
8
8
|
import { defineProperty as _defineProperty } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import { getDevtoolsId, devtoolsAttribute } from '../package-settings.js';
|
10
|
-
export { devtoolsAttribute, getDevtoolsId } from '../package-settings.js';
|
11
10
|
|
12
11
|
function getDevtoolsProps(componentName) {
|
13
12
|
return _defineProperty({}, devtoolsAttribute, getDevtoolsId(componentName));
|
14
13
|
}
|
15
14
|
|
16
|
-
export { getDevtoolsProps };
|
15
|
+
export { devtoolsAttribute, getDevtoolsId, getDevtoolsProps };
|
@@ -42,8 +42,8 @@ function _objectWithoutProperties(e, t) {
|
|
42
42
|
r,
|
43
43
|
i = _objectWithoutPropertiesLoose(e, t);
|
44
44
|
if (Object.getOwnPropertySymbols) {
|
45
|
-
var
|
46
|
-
for (r = 0; r <
|
45
|
+
var s = Object.getOwnPropertySymbols(e);
|
46
|
+
for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
47
47
|
}
|
48
48
|
return i;
|
49
49
|
}
|
@@ -51,7 +51,7 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
51
51
|
if (null == r) return {};
|
52
52
|
var t = {};
|
53
53
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
54
|
-
if (e.
|
54
|
+
if (e.includes(n)) continue;
|
55
55
|
t[n] = r[n];
|
56
56
|
}
|
57
57
|
return t;
|
@@ -7,8 +7,6 @@
|
|
7
7
|
|
8
8
|
'use strict';
|
9
9
|
|
10
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
11
|
-
|
12
10
|
function _iterableToArrayLimit(r, l) {
|
13
11
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
14
12
|
if (null != t) {
|
@@ -563,7 +561,7 @@ exports.arrayWithoutHoles = _arrayWithoutHoles;
|
|
563
561
|
exports.asyncToGenerator = _asyncToGenerator;
|
564
562
|
exports.createForOfIteratorHelper = _createForOfIteratorHelper;
|
565
563
|
exports.defineProperty = _defineProperty;
|
566
|
-
exports
|
564
|
+
exports.extends = _extends;
|
567
565
|
exports.iterableToArray = _iterableToArray;
|
568
566
|
exports.iterableToArrayLimit = _iterableToArrayLimit;
|
569
567
|
exports.nonIterableRest = _nonIterableRest;
|
@@ -578,5 +576,5 @@ exports.toArray = _toArray;
|
|
578
576
|
exports.toConsumableArray = _toConsumableArray;
|
579
577
|
exports.toPrimitive = _toPrimitive;
|
580
578
|
exports.toPropertyKey = _toPropertyKey;
|
581
|
-
exports
|
579
|
+
exports.typeof = _typeof;
|
582
580
|
exports.unsupportedIterableToArray = _unsupportedIterableToArray;
|