@carbon/ibm-products 2.43.2-canary.11 → 2.43.2-canary.112
Sign up to get free protection for your applications and to get access to all the features.
- package/css/config-dev.css +6 -1
- package/css/config-dev.css.map +1 -1
- package/css/config.css +6 -1
- package/css/config.css.map +1 -1
- package/css/index-full-carbon.css +1846 -499
- 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 +267 -65
- 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 +1455 -250
- 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 +1651 -369
- 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/APIKeyModal.types.d.ts +6 -0
- package/es/components/ActionBar/ActionBar.d.ts +58 -2
- package/es/components/ActionBar/ActionBar.js +14 -9
- package/es/components/ActionBar/ActionBarItem.d.ts +36 -2
- package/es/components/ActionBar/ActionBarItem.js +8 -5
- package/es/components/ActionBar/ActionBarOverflowItems.d.ts +55 -16
- package/es/components/ActionBar/ActionBarOverflowItems.js +8 -4
- package/es/components/AddSelect/types/index.d.ts +6 -0
- package/es/components/Card/Card.d.ts +68 -2
- package/es/components/Card/Card.js +28 -35
- package/es/components/Card/CardFooter.d.ts +51 -48
- package/es/components/Card/CardFooter.js +4 -2
- package/es/components/Card/CardHeader.d.ts +67 -49
- package/es/components/Card/CardHeader.js +4 -2
- package/es/components/Coachmark/Coachmark.d.ts +6 -1
- package/es/components/Coachmark/Coachmark.js +47 -11
- package/es/components/Coachmark/CoachmarkOverlay.js +2 -4
- package/es/components/Coachmark/utils/enums.d.ts +6 -0
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -7
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +13 -11
- package/es/components/CoachmarkStack/CoachmarkStack.js +7 -3
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +8 -4
- package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +1 -0
- package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +90 -56
- package/es/components/ConditionBuilder/ConditionBuilder.js +82 -25
- package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts +15 -0
- package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +154 -0
- package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.d.ts +3 -1
- package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +29 -13
- package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.d.ts +8 -1
- package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +35 -11
- package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +18 -10
- package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +19 -11
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +9 -13
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +83 -64
- package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.d.ts +13 -7
- package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +31 -8
- package/es/components/ConditionBuilder/ConditionBuilderContext/DataConfigs.d.ts +8 -2
- package/es/components/ConditionBuilder/ConditionBuilderContext/DataConfigs.js +35 -24
- package/es/components/ConditionBuilder/ConditionBuilderContext/translationObject.d.ts +43 -36
- package/es/components/ConditionBuilder/ConditionBuilderContext/translationObject.js +43 -36
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +6 -2
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +114 -40
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.d.ts +3 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +24 -9
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +27 -9
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +13 -0
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +114 -0
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/{ConditionBuilderItemOption.d.ts → ItemOptionForValueField.d.ts} +2 -2
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/{ConditionBuilderItemOption.js → ItemOptionForValueField.js} +71 -38
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.d.ts +5 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +22 -9
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +1 -1
- package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +1 -3
- package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +131 -42
- package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +5 -1
- package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +51 -19
- package/es/components/ConditionBuilder/utils/handleKeyboardEvents.d.ts +2 -1
- package/es/components/ConditionBuilder/utils/handleKeyboardEvents.js +152 -42
- package/es/components/ConditionBuilder/utils/useTranslations.d.ts +1 -0
- package/es/components/ConditionBuilder/utils/useTranslations.js +26 -0
- package/es/components/ConditionBuilder/utils/util.d.ts +6 -4
- package/es/components/ConditionBuilder/utils/util.js +42 -17
- package/es/components/CreateFullPage/CreateFullPage.js +2 -2
- package/es/components/DataSpreadsheet/DataSpreadsheet.d.ts +26 -0
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +129 -53
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.d.ts +16 -0
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +32 -7
- package/es/components/DataSpreadsheet/DataSpreadsheetHeader.d.ts +8 -0
- package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +16 -3
- package/es/components/DataSpreadsheet/types/index.d.ts +7 -0
- package/es/components/Datagrid/Datagrid/Datagrid.d.ts +0 -4
- package/es/components/Datagrid/Datagrid/Datagrid.js +4 -9
- package/es/components/Datagrid/Datagrid/DatagridBody.d.ts +6 -0
- package/es/components/Datagrid/Datagrid/DatagridContent.js +4 -3
- package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +23 -8
- package/es/components/Datagrid/Datagrid/DatagridRefBody.d.ts +6 -0
- package/es/components/Datagrid/Datagrid/DatagridRow.js +21 -8
- package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +6 -6
- package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +3 -2
- package/es/components/Datagrid/Datagrid/DatagridSimpleBody.d.ts +6 -0
- package/es/components/Datagrid/Datagrid/DraggableElement.d.ts +6 -0
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +34 -10
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +6 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +6 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +6 -3
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +20 -12
- package/es/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +7 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +54 -17
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +2 -3
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +75 -12
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +10 -2
- package/es/components/Datagrid/common-column-ids.d.ts +6 -0
- package/es/components/Datagrid/types/index.d.ts +63 -9
- package/es/components/Datagrid/useActionsColumn.d.ts +8 -1
- package/es/components/Datagrid/useActionsColumn.js +7 -6
- package/es/components/Datagrid/useColumnRightAlign.d.ts +8 -1
- package/es/components/Datagrid/useColumnRightAlign.js +4 -3
- package/es/components/Datagrid/useCustomizeColumns.d.ts +8 -1
- package/es/components/Datagrid/useCustomizeColumns.js +4 -3
- package/es/components/Datagrid/useDatagrid.d.ts +6 -0
- package/es/components/Datagrid/useDefaultStringRenderer.js +0 -1
- package/es/components/Datagrid/useDisableSelectRows.d.ts +8 -1
- package/es/components/Datagrid/useDisableSelectRows.js +27 -22
- package/es/components/Datagrid/useInlineEdit.js +12 -2
- package/es/components/Datagrid/useNestedRowExpander.js +1 -3
- package/es/components/Datagrid/useNestedRows.js +32 -13
- package/es/components/Datagrid/useRowExpander.js +1 -3
- package/es/components/Datagrid/useRowIsMouseOver.d.ts +6 -0
- package/es/components/Datagrid/useSelectRows.js +2 -1
- package/es/components/Datagrid/useStickyColumn.d.ts +8 -1
- package/es/components/Datagrid/useStickyColumn.js +12 -9
- package/es/components/EditInPlace/EditInPlace.d.ts +4 -0
- package/es/components/EditInPlace/EditInPlace.js +21 -10
- package/es/components/EditTearsheet/EditTearsheet.d.ts +7 -2
- package/es/components/EditTearsheet/EditTearsheet.js +44 -10
- package/es/components/EditTearsheet/EditTearsheetForm.d.ts +45 -2
- package/es/components/EditTearsheet/EditTearsheetForm.js +3 -0
- package/es/components/EmptyStates/EmptyState.d.ts +72 -5
- package/es/components/EmptyStates/EmptyState.js +8 -5
- package/es/components/EmptyStates/EmptyStateV2.d.ts +63 -2
- package/es/components/EmptyStates/EmptyStateV2.js +3 -2
- package/es/components/FullPageError/FullPageError.d.ts +36 -2
- package/es/components/FullPageError/FullPageError.js +0 -3
- package/es/components/GetStartedCard/GetStartedCard.d.ts +60 -2
- package/es/components/GetStartedCard/GetStartedCard.js +11 -10
- package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +6 -0
- package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +6 -0
- package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +6 -0
- package/es/components/HTTPErrors/assets/HTTPErrorSvg403.js +204 -200
- package/es/components/HTTPErrors/assets/HTTPErrorSvg404.js +116 -112
- package/es/components/HTTPErrors/assets/HTTPErrorSvgOther.js +110 -106
- package/es/components/Nav/NavItem.js +12 -3
- package/es/components/OptionsTile/OptionsTile.js +11 -6
- package/es/components/PageHeader/PageHeader.js +1 -0
- package/es/components/PageHeader/PageHeaderUtils.js +1 -1
- package/es/components/RemoveModal/RemoveModal.d.ts +4 -0
- package/es/components/RemoveModal/RemoveModal.js +7 -1
- package/es/components/SearchBar/SearchBar.d.ts +1 -1
- package/es/components/SearchBar/SearchBar.js +2 -2
- package/es/components/SidePanel/SidePanel.js +17 -21
- package/es/components/SidePanel/motion/variants.d.ts +4 -6
- package/es/components/SidePanel/motion/variants.js +10 -11
- package/es/components/StatusIndicator/StatusIndicatorStep.js +87 -0
- package/es/components/StringFormatter/StringFormatter.js +14 -3
- package/es/components/StringFormatter/utils/enums.d.ts +20 -1
- package/es/components/StringFormatter/utils/enums.js +29 -2
- package/es/components/TagOverflow/TagOverflow.d.ts +35 -4
- package/es/components/TagOverflow/TagOverflow.js +47 -64
- package/es/components/TagOverflow/TagOverflowModal.js +4 -6
- package/es/components/TagOverflow/TagOverflowPopover.d.ts +13 -1
- package/es/components/TagOverflow/TagOverflowPopover.js +38 -41
- package/es/components/Tearsheet/Tearsheet.d.ts +8 -1
- package/es/components/Tearsheet/Tearsheet.js +9 -1
- package/es/components/Tearsheet/TearsheetNarrow.d.ts +11 -0
- package/es/components/Tearsheet/TearsheetNarrow.js +12 -0
- package/es/components/Tearsheet/TearsheetShell.d.ts +11 -1
- package/es/components/Tearsheet/TearsheetShell.js +28 -7
- package/es/components/Toolbar/ToolbarButton.js +1 -1
- package/es/components/UserAvatar/UserAvatar.d.ts +59 -1
- package/es/components/UserAvatar/UserAvatar.js +7 -23
- package/es/components/WebTerminal/WebTerminal.js +10 -12
- package/es/components/index.d.ts +1 -1
- package/es/global/js/hooks/useFocus.d.ts +1 -0
- package/es/global/js/hooks/useFocus.js +5 -2
- package/es/global/js/hooks/usePrefersReducedMotion.js +14 -8
- package/es/global/js/package-settings.d.ts +1 -1
- package/es/global/js/package-settings.js +1 -1
- package/es/global/js/utils/scrollableAncestor.js +7 -0
- package/es/global/js/utils/uuidv4.d.ts +6 -0
- package/es/global/js/utils/uuidv4.js +2 -0
- package/es/global/js/utils/wait.d.ts +6 -0
- package/es/global/js/utils/wait.js +2 -0
- package/es/index.js +1 -0
- package/es/node_modules/@carbon/icon-helpers/es/index.js +49 -62
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-2.js +1020 -1058
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-9.js +881 -758
- package/es/settings.d.ts +1 -1
- package/flags.js +7 -0
- package/lib/components/APIKeyModal/APIKeyModal.types.d.ts +6 -0
- package/lib/components/ActionBar/ActionBar.d.ts +58 -2
- package/lib/components/ActionBar/ActionBar.js +14 -9
- package/lib/components/ActionBar/ActionBarItem.d.ts +36 -2
- package/lib/components/ActionBar/ActionBarItem.js +7 -4
- package/lib/components/ActionBar/ActionBarOverflowItems.d.ts +55 -16
- package/lib/components/ActionBar/ActionBarOverflowItems.js +8 -4
- package/lib/components/AddSelect/types/index.d.ts +6 -0
- package/lib/components/Card/Card.d.ts +68 -2
- package/lib/components/Card/Card.js +28 -35
- package/lib/components/Card/CardFooter.d.ts +51 -48
- package/lib/components/Card/CardFooter.js +4 -2
- package/lib/components/Card/CardHeader.d.ts +67 -49
- package/lib/components/Card/CardHeader.js +4 -2
- package/lib/components/Coachmark/Coachmark.d.ts +6 -1
- package/lib/components/Coachmark/Coachmark.js +46 -10
- package/lib/components/Coachmark/CoachmarkOverlay.js +2 -4
- package/lib/components/Coachmark/utils/enums.d.ts +6 -0
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -7
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +13 -11
- package/lib/components/CoachmarkStack/CoachmarkStack.js +7 -3
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +8 -4
- package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +1 -0
- package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +87 -53
- package/lib/components/ConditionBuilder/ConditionBuilder.js +82 -25
- package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts +15 -0
- package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +163 -0
- package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.d.ts +3 -1
- package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +28 -11
- package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.d.ts +8 -1
- package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +33 -9
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +16 -8
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +18 -10
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +9 -13
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +81 -62
- package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.d.ts +13 -7
- package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +31 -8
- package/lib/components/ConditionBuilder/ConditionBuilderContext/DataConfigs.d.ts +8 -2
- package/lib/components/ConditionBuilder/ConditionBuilderContext/DataConfigs.js +34 -24
- package/lib/components/ConditionBuilder/ConditionBuilderContext/translationObject.d.ts +43 -36
- package/lib/components/ConditionBuilder/ConditionBuilderContext/translationObject.js +43 -36
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +6 -2
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +112 -38
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.d.ts +3 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +24 -9
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +28 -10
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +13 -0
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +122 -0
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/{ConditionBuilderItemOption.d.ts → ItemOptionForValueField.d.ts} +2 -2
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/{ConditionBuilderItemOption.js → ItemOptionForValueField.js} +68 -35
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.d.ts +5 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +21 -8
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +1 -1
- package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +1 -3
- package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +128 -39
- package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +5 -1
- package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +50 -17
- package/lib/components/ConditionBuilder/utils/handleKeyboardEvents.d.ts +2 -1
- package/lib/components/ConditionBuilder/utils/handleKeyboardEvents.js +152 -41
- package/lib/components/ConditionBuilder/utils/useTranslations.d.ts +1 -0
- package/lib/components/ConditionBuilder/utils/useTranslations.js +30 -0
- package/lib/components/ConditionBuilder/utils/util.d.ts +6 -4
- package/lib/components/ConditionBuilder/utils/util.js +44 -16
- package/lib/components/CreateFullPage/CreateFullPage.js +2 -2
- package/lib/components/DataSpreadsheet/DataSpreadsheet.d.ts +26 -0
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +129 -53
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.d.ts +16 -0
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +32 -7
- package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.d.ts +8 -0
- package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +16 -3
- package/lib/components/DataSpreadsheet/types/index.d.ts +7 -0
- package/lib/components/Datagrid/Datagrid/Datagrid.d.ts +0 -4
- package/lib/components/Datagrid/Datagrid/Datagrid.js +4 -9
- package/lib/components/Datagrid/Datagrid/DatagridBody.d.ts +6 -0
- package/lib/components/Datagrid/Datagrid/DatagridContent.js +4 -3
- package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +23 -8
- package/lib/components/Datagrid/Datagrid/DatagridRefBody.d.ts +6 -0
- package/lib/components/Datagrid/Datagrid/DatagridRow.js +21 -8
- package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +6 -6
- package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +3 -2
- package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.d.ts +6 -0
- package/lib/components/Datagrid/Datagrid/DraggableElement.d.ts +6 -0
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +34 -10
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +6 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +6 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +6 -3
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +20 -12
- package/lib/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +7 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +53 -16
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +2 -3
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +74 -11
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +10 -2
- package/lib/components/Datagrid/common-column-ids.d.ts +6 -0
- package/lib/components/Datagrid/types/index.d.ts +63 -9
- package/lib/components/Datagrid/useActionsColumn.d.ts +8 -1
- package/lib/components/Datagrid/useActionsColumn.js +7 -6
- package/lib/components/Datagrid/useColumnRightAlign.d.ts +8 -1
- package/lib/components/Datagrid/useColumnRightAlign.js +4 -3
- package/lib/components/Datagrid/useCustomizeColumns.d.ts +8 -1
- package/lib/components/Datagrid/useCustomizeColumns.js +4 -3
- package/lib/components/Datagrid/useDatagrid.d.ts +6 -0
- package/lib/components/Datagrid/useDefaultStringRenderer.js +0 -1
- package/lib/components/Datagrid/useDisableSelectRows.d.ts +8 -1
- package/lib/components/Datagrid/useDisableSelectRows.js +27 -22
- package/lib/components/Datagrid/useInlineEdit.js +12 -2
- package/lib/components/Datagrid/useNestedRowExpander.js +1 -3
- package/lib/components/Datagrid/useNestedRows.js +32 -13
- package/lib/components/Datagrid/useRowExpander.js +1 -3
- package/lib/components/Datagrid/useRowIsMouseOver.d.ts +6 -0
- package/lib/components/Datagrid/useSelectRows.js +2 -1
- package/lib/components/Datagrid/useStickyColumn.d.ts +8 -1
- package/lib/components/Datagrid/useStickyColumn.js +12 -9
- package/lib/components/EditInPlace/EditInPlace.d.ts +4 -0
- package/lib/components/EditInPlace/EditInPlace.js +21 -10
- package/lib/components/EditTearsheet/EditTearsheet.d.ts +7 -2
- package/lib/components/EditTearsheet/EditTearsheet.js +43 -9
- package/lib/components/EditTearsheet/EditTearsheetForm.d.ts +45 -2
- package/lib/components/EditTearsheet/EditTearsheetForm.js +3 -0
- package/lib/components/EmptyStates/EmptyState.d.ts +72 -5
- package/lib/components/EmptyStates/EmptyState.js +8 -5
- package/lib/components/EmptyStates/EmptyStateV2.d.ts +63 -2
- package/lib/components/EmptyStates/EmptyStateV2.js +3 -2
- package/lib/components/FullPageError/FullPageError.d.ts +36 -2
- package/lib/components/FullPageError/FullPageError.js +0 -3
- package/lib/components/GetStartedCard/GetStartedCard.d.ts +60 -2
- package/lib/components/GetStartedCard/GetStartedCard.js +10 -9
- package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +6 -0
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +6 -0
- package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +6 -0
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.js +204 -200
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.js +116 -112
- package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.js +110 -106
- package/lib/components/Nav/NavItem.js +10 -1
- package/lib/components/OptionsTile/OptionsTile.js +11 -6
- package/lib/components/PageHeader/PageHeader.js +1 -0
- package/lib/components/PageHeader/PageHeaderUtils.js +1 -1
- package/lib/components/RemoveModal/RemoveModal.d.ts +4 -0
- package/lib/components/RemoveModal/RemoveModal.js +7 -1
- package/lib/components/SearchBar/SearchBar.d.ts +1 -1
- package/lib/components/SearchBar/SearchBar.js +2 -2
- package/lib/components/SidePanel/SidePanel.js +16 -20
- package/lib/components/SidePanel/motion/variants.d.ts +4 -6
- package/lib/components/SidePanel/motion/variants.js +10 -11
- package/lib/components/StatusIndicator/StatusIndicatorStep.js +94 -0
- package/lib/components/StringFormatter/StringFormatter.js +13 -2
- package/lib/components/StringFormatter/utils/enums.d.ts +20 -1
- package/lib/components/StringFormatter/utils/enums.js +30 -1
- package/lib/components/TagOverflow/TagOverflow.d.ts +35 -4
- package/lib/components/TagOverflow/TagOverflow.js +46 -63
- package/lib/components/TagOverflow/TagOverflowModal.js +4 -6
- package/lib/components/TagOverflow/TagOverflowPopover.d.ts +13 -1
- package/lib/components/TagOverflow/TagOverflowPopover.js +37 -40
- package/lib/components/Tearsheet/Tearsheet.d.ts +8 -1
- package/lib/components/Tearsheet/Tearsheet.js +9 -1
- package/lib/components/Tearsheet/TearsheetNarrow.d.ts +11 -0
- package/lib/components/Tearsheet/TearsheetNarrow.js +12 -0
- package/lib/components/Tearsheet/TearsheetShell.d.ts +11 -1
- package/lib/components/Tearsheet/TearsheetShell.js +26 -5
- package/lib/components/Toolbar/ToolbarButton.js +1 -1
- package/lib/components/UserAvatar/UserAvatar.d.ts +59 -1
- package/lib/components/UserAvatar/UserAvatar.js +7 -23
- package/lib/components/WebTerminal/WebTerminal.js +10 -12
- package/lib/components/index.d.ts +1 -1
- package/lib/global/js/hooks/useFocus.d.ts +1 -0
- package/lib/global/js/hooks/useFocus.js +5 -1
- package/lib/global/js/hooks/usePrefersReducedMotion.js +13 -7
- package/lib/global/js/package-settings.d.ts +1 -1
- package/lib/global/js/package-settings.js +1 -1
- package/lib/global/js/utils/scrollableAncestor.js +7 -0
- package/lib/global/js/utils/uuidv4.d.ts +6 -0
- package/lib/global/js/utils/uuidv4.js +2 -0
- package/lib/global/js/utils/wait.d.ts +6 -0
- package/lib/global/js/utils/wait.js +2 -0
- package/lib/index.js +5 -0
- package/lib/node_modules/@carbon/icon-helpers/es/index.js +49 -62
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-2.js +1036 -1074
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-9.js +946 -823
- package/lib/settings.d.ts +1 -1
- package/package.json +8 -7
- package/scss/components/Coachmark/_coachmark-overlay.scss +6 -70
- package/scss/components/Coachmark/_coachmark.scss +5 -4
- package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +1 -3
- package/scss/components/ConditionBuilder/_condition-builder.scss +8 -1
- package/scss/components/ConditionBuilder/styles/_conditionBuilderCondition.scss +38 -5
- package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +68 -22
- package/scss/components/ConditionBuilder/styles/_index.scss +7 -0
- package/scss/components/CreateModal/_create-modal.scss +0 -4
- package/scss/components/DataSpreadsheet/_data-spreadsheet.scss +16 -2
- package/scss/components/Datagrid/_datagrid.scss +0 -4
- package/scss/components/Datagrid/styles/_datagrid.scss +1 -0
- package/scss/components/Datagrid/styles/_useActionsColumn.scss +6 -7
- package/scss/components/Datagrid/styles/_useColumnRightAlign.scss +6 -7
- package/scss/components/Datagrid/styles/_useExpandedRow.scss +6 -7
- package/scss/components/Datagrid/styles/_useInlineEdit.scss +19 -7
- package/scss/components/Datagrid/styles/_useNestedRows.scss +6 -7
- package/scss/components/Datagrid/styles/_useNestedTable.scss +6 -7
- package/scss/components/Datagrid/styles/_useStickyColumn.scss +6 -7
- package/scss/components/Datagrid/styles/addons/_CustomizeColumnsTearsheet.scss +7 -5
- package/scss/components/Datagrid/styles/addons/_FilterFlyout.scss +5 -4
- package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +6 -7
- package/scss/components/HTTPErrors/_http-errors.scss +77 -0
- package/scss/components/OptionsTile/_options-tile.scss +6 -6
- package/scss/components/SidePanel/_side-panel.scss +1 -1
- package/scss/components/_index-released-only.scss +1 -0
- package/scss/config-dev.scss +7 -0
- package/scss/config.scss +7 -0
- package/telemetry.yml +32 -19
- package/es/components/ConditionBuilder/utils/checkForHoldingKey.d.ts +0 -1
- package/es/components/ConditionBuilder/utils/checkForHoldingKey.js +0 -16
- package/es/global/js/utils/window.d.ts +0 -2
- package/es/global/js/utils/window.js +0 -12
- package/lib/components/ConditionBuilder/utils/checkForHoldingKey.d.ts +0 -1
- package/lib/components/ConditionBuilder/utils/checkForHoldingKey.js +0 -20
- package/lib/global/js/utils/window.d.ts +0 -2
- package/lib/global/js/utils/window.js +0 -16
package/lib/settings.d.ts
CHANGED
@@ -25,6 +25,7 @@ export const pkg: {
|
|
25
25
|
ErrorEmptyState: boolean;
|
26
26
|
ExportModal: boolean;
|
27
27
|
ExpressiveCard: boolean;
|
28
|
+
FullPageError: boolean;
|
28
29
|
HTTPError403: boolean;
|
29
30
|
HTTPError404: boolean;
|
30
31
|
HTTPErrorOther: boolean;
|
@@ -66,7 +67,6 @@ export const pkg: {
|
|
66
67
|
BigNumbers: boolean;
|
67
68
|
TruncatedList: boolean;
|
68
69
|
DelimitedList: boolean;
|
69
|
-
FullPageError: boolean;
|
70
70
|
ScrollGradient: boolean;
|
71
71
|
StringFormatter: boolean;
|
72
72
|
StatusIndicator: boolean;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@carbon/ibm-products",
|
3
3
|
"description": "Carbon for IBM Products",
|
4
|
-
"version": "2.43.2-canary.
|
4
|
+
"version": "2.43.2-canary.112+d816aad33",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "lib/index.js",
|
7
7
|
"module": "es/index.js",
|
@@ -26,7 +26,8 @@
|
|
26
26
|
"lib",
|
27
27
|
"scss",
|
28
28
|
"flags.js",
|
29
|
-
"telemetry.yml"
|
29
|
+
"telemetry.yml",
|
30
|
+
".playwright/INTERNAL_AVT_REPORT_DO_NOT_USE.json"
|
30
31
|
],
|
31
32
|
"keywords": [
|
32
33
|
"carbon",
|
@@ -80,7 +81,7 @@
|
|
80
81
|
"fs-extra": "^11.2.0",
|
81
82
|
"glob": "^10.3.10",
|
82
83
|
"jest": "^29.7.0",
|
83
|
-
"jest-config-ibm-cloud-cognitive": "^1.
|
84
|
+
"jest-config-ibm-cloud-cognitive": "^1.5.0",
|
84
85
|
"jest-environment-jsdom": "^29.7.0",
|
85
86
|
"namor": "^1.1.2",
|
86
87
|
"npm-check-updates": "^16.14.12",
|
@@ -95,7 +96,7 @@
|
|
95
96
|
"dependencies": {
|
96
97
|
"@babel/runtime": "^7.23.9",
|
97
98
|
"@carbon/feature-flags": "^0.20.0",
|
98
|
-
"@carbon/ibm-products-styles": "^2.39.1-canary.
|
99
|
+
"@carbon/ibm-products-styles": "^2.39.1-canary.122+d816aad33",
|
99
100
|
"@carbon/telemetry": "^0.1.0",
|
100
101
|
"@dnd-kit/core": "^6.0.8",
|
101
102
|
"@dnd-kit/modifiers": "^7.0.0",
|
@@ -113,11 +114,11 @@
|
|
113
114
|
"@carbon/grid": "^11.22.0",
|
114
115
|
"@carbon/layout": "^11.21.0",
|
115
116
|
"@carbon/motion": "^11.17.0",
|
116
|
-
"@carbon/react": "^1.
|
117
|
-
"@carbon/themes": "^11.
|
117
|
+
"@carbon/react": "^1.60.3",
|
118
|
+
"@carbon/themes": "^11.37.1",
|
118
119
|
"@carbon/type": "^11.26.0",
|
119
120
|
"react": "^16.8.6 || ^17.0.1 || ^18.2.0",
|
120
121
|
"react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0"
|
121
122
|
},
|
122
|
-
"gitHead": "
|
123
|
+
"gitHead": "d816aad330c70ca9902484ad301db60c58496f9b"
|
123
124
|
}
|
@@ -45,6 +45,11 @@ $draghandle-btn-class: #{$block-class}__handle;
|
|
45
45
|
|
46
46
|
visibility: hidden;
|
47
47
|
|
48
|
+
&--tooltip {
|
49
|
+
position: initial;
|
50
|
+
transform: none !important;
|
51
|
+
}
|
52
|
+
|
48
53
|
&--fixed {
|
49
54
|
position: fixed;
|
50
55
|
right: $spacing-05;
|
@@ -68,45 +73,19 @@ $draghandle-btn-class: #{$block-class}__handle;
|
|
68
73
|
visibility: visible;
|
69
74
|
}
|
70
75
|
|
71
|
-
//
|
72
|
-
&__caret {
|
73
|
-
// background-color: this property is set in _coachmark-overlay-theme.scss
|
74
|
-
position: absolute;
|
75
|
-
z-index: 5902;
|
76
|
-
width: 0;
|
77
|
-
height: 0;
|
78
|
-
// border-bottom-color: this property is set in _coachmark-overlay-theme.scss
|
79
|
-
border-right: $caret-center solid transparent;
|
80
|
-
border-bottom: solid $caret-center $background-inverse;
|
81
|
-
border-left: $caret-center solid transparent;
|
82
|
-
}
|
83
|
-
|
84
|
-
// OVERLAY AND CARET POSITIONING
|
76
|
+
// OVERLAY POSITIONING
|
85
77
|
&--top {
|
86
78
|
$horizontal-push: calc($distance-offset - $caret-center);
|
87
79
|
$translate-y: calc(-1 * (100% + $distance-offset + $caret-height));
|
88
80
|
|
89
81
|
transform: translate(-50%, $translate-y);
|
90
82
|
|
91
|
-
.#{$block-class}__caret {
|
92
|
-
left: calc(50% - $caret-center);
|
93
|
-
transform: rotate(180deg);
|
94
|
-
}
|
95
|
-
|
96
83
|
&-left {
|
97
84
|
transform: translate(calc(-1 * $distance-offset), $translate-y);
|
98
|
-
.#{$block-class}__caret {
|
99
|
-
left: $horizontal-push;
|
100
|
-
transform: rotate(180deg);
|
101
|
-
}
|
102
85
|
}
|
103
86
|
|
104
87
|
&-right {
|
105
88
|
transform: translate(calc(-1 * (100% - $distance-offset)), $translate-y);
|
106
|
-
.#{$block-class}__caret {
|
107
|
-
right: $horizontal-push;
|
108
|
-
transform: rotate(180deg);
|
109
|
-
}
|
110
89
|
}
|
111
90
|
}
|
112
91
|
|
@@ -116,26 +95,13 @@ $draghandle-btn-class: #{$block-class}__handle;
|
|
116
95
|
$translate-y: calc($distance-offset + $caret-height);
|
117
96
|
|
118
97
|
transform: translate(-50%, $translate-y);
|
119
|
-
.#{$block-class}__caret {
|
120
|
-
top: $top;
|
121
|
-
left: calc(50% - $caret-center);
|
122
|
-
}
|
123
98
|
|
124
99
|
&-left {
|
125
100
|
transform: translate(calc(-1 * $distance-offset), $translate-y);
|
126
|
-
.#{$block-class}__caret {
|
127
|
-
top: $top;
|
128
|
-
left: $horizontal-push;
|
129
|
-
}
|
130
101
|
}
|
131
102
|
|
132
103
|
&-right {
|
133
104
|
transform: translate(calc(-1 * (100% - $distance-offset)), $translate-y);
|
134
|
-
|
135
|
-
.#{$block-class}__caret {
|
136
|
-
top: $top;
|
137
|
-
right: $horizontal-push;
|
138
|
-
}
|
139
105
|
}
|
140
106
|
}
|
141
107
|
|
@@ -145,28 +111,13 @@ $draghandle-btn-class: #{$block-class}__handle;
|
|
145
111
|
$vertical-push: calc($distance-offset - ($caret-height * 0.5));
|
146
112
|
|
147
113
|
transform: translate($translate-x, -50%);
|
148
|
-
.#{$block-class}__caret {
|
149
|
-
top: calc(50% - ($caret-height * 0.5));
|
150
|
-
right: $right;
|
151
|
-
transform: rotate(90deg);
|
152
|
-
}
|
153
114
|
|
154
115
|
&-top {
|
155
116
|
transform: translate($translate-x, calc(-1 * $distance-offset));
|
156
|
-
.#{$block-class}__caret {
|
157
|
-
top: $vertical-push;
|
158
|
-
right: $right;
|
159
|
-
transform: rotate(90deg);
|
160
|
-
}
|
161
117
|
}
|
162
118
|
|
163
119
|
&-bottom {
|
164
120
|
transform: translate($translate-x, calc(-1 * (100% - $distance-offset)));
|
165
|
-
.#{$block-class}__caret {
|
166
|
-
right: $right;
|
167
|
-
bottom: $vertical-push;
|
168
|
-
transform: rotate(90deg);
|
169
|
-
}
|
170
121
|
}
|
171
122
|
}
|
172
123
|
|
@@ -176,28 +127,13 @@ $draghandle-btn-class: #{$block-class}__handle;
|
|
176
127
|
$vertical-push: calc($distance-offset - ($caret-height * 0.5));
|
177
128
|
|
178
129
|
transform: translate($translate-x, -50%);
|
179
|
-
.#{$block-class}__caret {
|
180
|
-
top: calc(50% - ($caret-height * 0.5));
|
181
|
-
left: $left;
|
182
|
-
transform: rotate(-90deg);
|
183
|
-
}
|
184
130
|
|
185
131
|
&-top {
|
186
132
|
transform: translate($translate-x, calc(-1 * $distance-offset));
|
187
|
-
.#{$block-class}__caret {
|
188
|
-
top: $vertical-push;
|
189
|
-
left: $left;
|
190
|
-
transform: rotate(-90deg);
|
191
|
-
}
|
192
133
|
}
|
193
134
|
|
194
135
|
&-bottom {
|
195
136
|
transform: translate($translate-x, calc(-1 * (100% - $distance-offset)));
|
196
|
-
.#{$block-class}__caret {
|
197
|
-
bottom: $vertical-push;
|
198
|
-
left: $left;
|
199
|
-
transform: rotate(-90deg);
|
200
|
-
}
|
201
137
|
}
|
202
138
|
}
|
203
139
|
|
@@ -8,6 +8,7 @@
|
|
8
8
|
// Standard imports.
|
9
9
|
@use '../../global/styles/project-settings' as c4p-settings;
|
10
10
|
@use '../../global/styles/mixins';
|
11
|
+
@use '@carbon/styles/scss/config';
|
11
12
|
|
12
13
|
@use './coachmark-dragbar';
|
13
14
|
@use './coachmark-header';
|
@@ -23,8 +24,8 @@
|
|
23
24
|
// TODO: @use(s) of IBM Products component styles used by Coachmark
|
24
25
|
|
25
26
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
26
|
-
|
27
|
+
$block-class: #{c4p-settings.$pkg-prefix}--coachmark;
|
27
28
|
|
28
|
-
|
29
|
-
|
30
|
-
|
29
|
+
.#{$block-class} {
|
30
|
+
position: relative;
|
31
|
+
}
|
@@ -69,9 +69,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--coachmark-beacon;
|
|
69
69
|
}
|
70
70
|
.#{$block-class}__target {
|
71
71
|
// the hit area
|
72
|
-
|
73
|
-
top: calc(-1 * $spacing-05);
|
74
|
-
left: calc(-1 * $spacing-05);
|
72
|
+
display: flex;
|
75
73
|
width: $spacing-07;
|
76
74
|
height: $spacing-07;
|
77
75
|
padding: 0;
|
@@ -49,7 +49,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
|
|
49
49
|
}
|
50
50
|
.#{$block-class}__condition-block {
|
51
51
|
display: flex;
|
52
|
-
width:
|
52
|
+
width: fit-content;
|
53
53
|
flex-direction: row;
|
54
54
|
}
|
55
55
|
.#{$block-class}__content-container {
|
@@ -69,3 +69,10 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
|
|
69
69
|
.#{$block-class}__group-separator {
|
70
70
|
margin-top: $spacing-02;
|
71
71
|
}
|
72
|
+
.#{$block-class}__add-group,
|
73
|
+
.#{$block-class}__group-separator {
|
74
|
+
width: fit-content;
|
75
|
+
}
|
76
|
+
.#{$block-class}__tooltip {
|
77
|
+
word-break: break-all;
|
78
|
+
}
|
@@ -1,6 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
7
|
+
|
1
8
|
@use '@carbon/react/scss/theme' as *;
|
2
9
|
@use '@carbon/react/scss/spacing' as *;
|
3
|
-
@use '@carbon/react/scss/motion'
|
10
|
+
@use '@carbon/react/scss/motion' as *;
|
4
11
|
@use '@carbon/styles/scss/components/tag' as *;
|
5
12
|
@use '@carbon/styles/scss/utilities/focus-outline';
|
6
13
|
@use '../../../global/styles/project-settings' as c4p-settings;
|
@@ -30,11 +37,21 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
|
|
30
37
|
.#{$block-class}__condition__deletion-preview
|
31
38
|
.#{$block-class}__button:not(
|
32
39
|
.#{$block-class}__statement-button,
|
33
|
-
.#{$block-class}__connector-button
|
40
|
+
.#{$block-class}__connector-button,
|
41
|
+
.#{$block-class}__add-button
|
34
42
|
) {
|
35
43
|
background-color: $tag-background-red;
|
36
44
|
color: $tag-color-red;
|
37
45
|
}
|
46
|
+
.#{$block-class}__subgroup_deletionPreview {
|
47
|
+
.#{$block-class}__group {
|
48
|
+
/* stylelint-disable max-nesting-depth */
|
49
|
+
button {
|
50
|
+
background-color: $tag-background-red;
|
51
|
+
color: $tag-color-red;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
38
55
|
|
39
56
|
.#{$block-class}__condition__deletion-preview
|
40
57
|
.#{$block-class}__button:not(
|
@@ -52,14 +69,30 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
|
|
52
69
|
text-wrap: nowrap;
|
53
70
|
}
|
54
71
|
.#{$block-class}__group-preview {
|
72
|
+
height: 0;
|
73
|
+
opacity: 0;
|
74
|
+
pointer-events: none;
|
75
|
+
transition: all $duration-moderate-02 motion(exit, expressive);
|
76
|
+
.#{$block-class}__preview-condition {
|
77
|
+
display: flex;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
.#{$block-class}__group-preview-animate {
|
81
|
+
height: auto;
|
82
|
+
color: $text-secondary;
|
55
83
|
opacity: 0.5;
|
56
84
|
pointer-events: none;
|
85
|
+
transition: all $duration-moderate-02 motion(exit, expressive);
|
57
86
|
}
|
58
|
-
.#{$block-class}__connector
|
87
|
+
.#{$block-class}__connector--disabled {
|
59
88
|
display: flex;
|
60
89
|
min-width: $spacing-10;
|
61
|
-
align-items: center;
|
62
90
|
background-color: $layer;
|
63
91
|
color: $text-helper;
|
64
|
-
|
92
|
+
pointer-events: none;
|
93
|
+
}
|
94
|
+
.#{$block-class}__condition-wrapper
|
95
|
+
> .#{$block-class}__condition-block:last-child
|
96
|
+
> .#{$block-class}__groupConnector {
|
97
|
+
margin-bottom: 0;
|
65
98
|
}
|
@@ -1,4 +1,12 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
7
|
+
|
1
8
|
@use 'sass:list';
|
9
|
+
@use 'sass:math';
|
2
10
|
@use 'sass:string';
|
3
11
|
@use '@carbon/react/scss/theme' as *;
|
4
12
|
@use '../../../global/styles/project-settings' as c4p-settings;
|
@@ -18,7 +26,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
|
|
18
26
|
@include type-style('body-01');
|
19
27
|
}
|
20
28
|
|
21
|
-
.#{$block-class}
|
29
|
+
.#{$block-class}__popover-content-wrapper {
|
22
30
|
overflow: auto;
|
23
31
|
min-width: $spacing-07 + $spacing-13;
|
24
32
|
max-width: $spacing-13 + $spacing-13;
|
@@ -96,7 +104,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
|
|
96
104
|
.#{$block-class}__item-date,
|
97
105
|
.#{$block-class}__item-text,
|
98
106
|
.#{$block-class}__item-number,
|
99
|
-
|
107
|
+
.#{$block-class}__item-time {
|
100
108
|
padding-block-end: $spacing-05;
|
101
109
|
padding-inline: $spacing-05;
|
102
110
|
}
|
@@ -167,21 +175,11 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
|
|
167
175
|
}
|
168
176
|
//need to revamp to a simpler logic
|
169
177
|
$colors: (
|
170
|
-
($purple-70, $purple-60, $purple-50, $purple-40, $purple-30
|
171
|
-
($
|
172
|
-
($
|
173
|
-
(
|
174
|
-
|
175
|
-
$magenta-60,
|
176
|
-
$magenta-50,
|
177
|
-
$magenta-40,
|
178
|
-
$magenta-30,
|
179
|
-
$magenta-20
|
180
|
-
),
|
181
|
-
($red-70, $red-60, $red-50, $red-40, $red-30, $red-20),
|
182
|
-
($orange-70, $orange-60, $orange-50, $orange-40, $orange-30, $orange-20),
|
183
|
-
($yellow-70, $yellow-60, $yellow-50, $yellow-40, $yellow-30, $yellow-20),
|
184
|
-
($green-70, $green-60, $green-50, $green-40, $green-30, $green-20)
|
178
|
+
($purple-70, $purple-60, $purple-50, $purple-40, $purple-30),
|
179
|
+
($blue-70, $blue-60, $blue-50, $blue-40, $blue-30),
|
180
|
+
($cyan-70, $cyan-60, $cyan-50, $cyan-40, $cyan-30),
|
181
|
+
($teal-70, $teal-60, $teal-50, $teal-40, $teal-30),
|
182
|
+
($green-70, $green-60, $green-50, $green-40, $green-30)
|
185
183
|
);
|
186
184
|
|
187
185
|
@for $i from 1 through list.length($colors) {
|
@@ -191,10 +189,30 @@ $colors: (
|
|
191
189
|
)
|
192
190
|
);
|
193
191
|
$group-colors: list.nth($colors, $i);
|
194
|
-
|
192
|
+
$group-colors-length: list.length($group-colors);
|
193
|
+
|
194
|
+
//this is to select and add color to the new group preview
|
195
|
+
.#{$block-class}__group-preview[data-color-index='#{($i%list.length($colors))}']
|
196
|
+
button {
|
197
|
+
/* stylelint-disable-next-line carbon/theme-token-use */
|
198
|
+
$next-group-color: list.nth($colors, ($i%list.length($colors)) +1);
|
199
|
+
/* stylelint-disable-next-line carbon/theme-token-use */
|
200
|
+
box-shadow: inset 0 #{$spacing-01} 0 0 list.nth($next-group-color, 1);
|
201
|
+
}
|
202
|
+
|
203
|
+
//we need to select the group color from the $colors array and need to repeat the colors after $colors.length subgroups
|
204
|
+
@for $el-index from 1 through 50 {
|
205
|
+
$item-index: $el-index;
|
206
|
+
/* stylelint-disable-next-line carbon/theme-token-use */
|
207
|
+
$item-index: ((($item-index - 1) % $group-colors-length) +1);
|
195
208
|
#{$selector} {
|
196
|
-
|
197
|
-
|
209
|
+
@if $item-index != 1 {
|
210
|
+
/* stylelint-disable-next-line carbon/theme-token-use */
|
211
|
+
--#{$block-class}__condition-wrapper-color: #{list.nth(
|
212
|
+
$group-colors,
|
213
|
+
$item-index
|
214
|
+
)}; // stylelint-disable-line carbon/theme-token-use
|
215
|
+
}
|
198
216
|
}
|
199
217
|
|
200
218
|
$selector: list.append(
|
@@ -211,8 +229,12 @@ $colors: (
|
|
211
229
|
.#{$block-class}__groupConnector {
|
212
230
|
background-color: $layer;
|
213
231
|
}
|
214
|
-
.#{$block-class}__condition-wrapper
|
215
|
-
|
232
|
+
.#{$block-class}__condition-wrapper:not(.#{$block-class}__group-preview)
|
233
|
+
> :nth-child(1)
|
234
|
+
.#{$block-class}__button,
|
235
|
+
.#{$block-class}__condition-wrapper:not(.#{$block-class}__group-preview)
|
236
|
+
> :nth-child(2)
|
237
|
+
.#{$block-class}__button {
|
216
238
|
/* stylelint-disable-next-line carbon/theme-token-use */
|
217
239
|
box-shadow: inset 0 #{$spacing-01} 0 0 var(--#{$block-class}__condition-wrapper-color);
|
218
240
|
}
|
@@ -229,3 +251,27 @@ $colors: (
|
|
229
251
|
align-self: center;
|
230
252
|
margin-left: auto;
|
231
253
|
}
|
254
|
+
.#{$block-class}__add-condition-sub-group-wrapper {
|
255
|
+
z-index: -1;
|
256
|
+
width: 0;
|
257
|
+
pointer-events: none;
|
258
|
+
transform: translateX(-100%);
|
259
|
+
// stylelint-disable-next-line carbon/motion-duration-use, carbon/motion-easing-use
|
260
|
+
transition: transform motion(exit, productive) $duration-fast-02;
|
261
|
+
}
|
262
|
+
.#{$block-class}__add-condition-sub-group-wrapper--show {
|
263
|
+
z-index: 0;
|
264
|
+
width: auto;
|
265
|
+
pointer-events: all;
|
266
|
+
transform: translateX(0);
|
267
|
+
}
|
268
|
+
.#{$block-class}__invalid-input {
|
269
|
+
display: flex;
|
270
|
+
}
|
271
|
+
.#{$block-class}__invalid-input > svg {
|
272
|
+
color: $support-warning;
|
273
|
+
/* stylelint-disable max-nesting-depth */
|
274
|
+
> path:first-child {
|
275
|
+
fill: $icon-primary;
|
276
|
+
}
|
277
|
+
}
|
@@ -12,10 +12,6 @@
|
|
12
12
|
@use '@carbon/styles/scss/type';
|
13
13
|
@use '../../global/styles/project-settings' as c4p-settings;
|
14
14
|
|
15
|
-
.#{c4p-settings.$pkg-prefix}--create-modal {
|
16
|
-
background-color: $background;
|
17
|
-
}
|
18
|
-
|
19
15
|
.#{c4p-settings.$pkg-prefix}--create-modal
|
20
16
|
.#{c4p-settings.$carbon-prefix}--modal-close {
|
21
17
|
display: none;
|
@@ -201,6 +201,13 @@ $header-cell-background: $layer-accent-01;
|
|
201
201
|
outline: 0;
|
202
202
|
}
|
203
203
|
}
|
204
|
+
|
205
|
+
.#{$block-class}__td-th.#{$block-class}__td_custom {
|
206
|
+
align-items: center;
|
207
|
+
justify-content: center;
|
208
|
+
gap: $spacing-03;
|
209
|
+
}
|
210
|
+
|
204
211
|
.#{$block-class}__selection-area--element {
|
205
212
|
position: absolute;
|
206
213
|
z-index: 2;
|
@@ -252,7 +259,9 @@ $header-cell-background: $layer-accent-01;
|
|
252
259
|
background-color: $background-inverse;
|
253
260
|
}
|
254
261
|
}
|
255
|
-
.#{$block-class}__th--selected-header.#{$block-class}__th
|
262
|
+
.#{$block-class}__th--selected-header.#{$block-class}__th:not(
|
263
|
+
.#{$block-class}__th--active-header-disabledSwapping
|
264
|
+
) {
|
256
265
|
cursor: grab;
|
257
266
|
}
|
258
267
|
.#{$block-class}__th--selected-header-reorder-active.#{$block-class}__th {
|
@@ -268,6 +277,9 @@ $header-cell-background: $layer-accent-01;
|
|
268
277
|
width: $spacing-01;
|
269
278
|
background-color: $background-brand;
|
270
279
|
}
|
280
|
+
.#{$block-class}__th--active-header-disabledSwapping {
|
281
|
+
cursor: pointer;
|
282
|
+
}
|
271
283
|
.#{$block-class}__th--active-header,
|
272
284
|
.#{$block-class}__td-th--active-header.#{$block-class}__td {
|
273
285
|
background-color: $background-selected-hover;
|
@@ -283,7 +295,9 @@ $header-cell-background: $layer-accent-01;
|
|
283
295
|
background-color: $background-inverse;
|
284
296
|
}
|
285
297
|
}
|
286
|
-
.#{$block-class}__th--selected-header.#{$block-class}__th
|
298
|
+
.#{$block-class}__th--selected-header.#{$block-class}__th:not(
|
299
|
+
.#{$block-class}__th--active-header-disabledSwapping
|
300
|
+
) {
|
287
301
|
cursor: grab;
|
288
302
|
}
|
289
303
|
.#{$block-class}__th--selected-header-reorder-active.#{$block-class}__th {
|
@@ -1,10 +1,9 @@
|
|
1
|
-
|
2
|
-
*
|
3
|
-
*
|
4
|
-
*
|
5
|
-
*
|
6
|
-
|
7
|
-
*/
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
8
7
|
|
9
8
|
@use '@carbon/styles/scss/spacing' as *;
|
10
9
|
@use '@carbon/styles/scss/theme';
|
@@ -1,10 +1,9 @@
|
|
1
|
-
|
2
|
-
*
|
3
|
-
*
|
4
|
-
*
|
5
|
-
*
|
6
|
-
|
7
|
-
*/
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
8
7
|
|
9
8
|
@use './variables';
|
10
9
|
|
@@ -1,10 +1,9 @@
|
|
1
|
-
|
2
|
-
*
|
3
|
-
*
|
4
|
-
*
|
5
|
-
*
|
6
|
-
|
7
|
-
*/
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
8
7
|
|
9
8
|
@use '../../../global/styles/project-settings' as c4p-settings;
|
10
9
|
@use '@carbon/styles/scss/theme' as *;
|
@@ -1,10 +1,9 @@
|
|
1
|
-
|
2
|
-
*
|
3
|
-
*
|
4
|
-
*
|
5
|
-
*
|
6
|
-
|
7
|
-
*/
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
8
7
|
|
9
8
|
@use '../../../global/styles/project-settings' as c4p-settings;
|
10
9
|
@use '@carbon/styles/scss/spacing' as *;
|
@@ -80,6 +79,19 @@ $row-heights: (
|
|
80
79
|
align-items: center;
|
81
80
|
}
|
82
81
|
|
82
|
+
.#{variables.$block-class}__inline-edit--outer-cell-checkbox-focus
|
83
|
+
.cds--checkbox-label::before {
|
84
|
+
outline: $spacing-01 solid $focus;
|
85
|
+
outline-offset: 1px;
|
86
|
+
}
|
87
|
+
|
88
|
+
.#{variables.$block-class}__inline-edit--outer-cell-checkbox {
|
89
|
+
display: flex;
|
90
|
+
height: -webkit-fill-available;
|
91
|
+
justify-content: center;
|
92
|
+
padding-inline: $spacing-05;
|
93
|
+
}
|
94
|
+
|
83
95
|
.#{variables.$block-class}__static--outer-cell {
|
84
96
|
display: flex;
|
85
97
|
height: -webkit-fill-available;
|
@@ -1,10 +1,9 @@
|
|
1
|
-
|
2
|
-
*
|
3
|
-
*
|
4
|
-
*
|
5
|
-
*
|
6
|
-
|
7
|
-
*/
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
8
7
|
|
9
8
|
@use '@carbon/styles/scss/theme' as *;
|
10
9
|
@use '@carbon/styles/scss/spacing' as *;
|