@carbon/ibm-products 2.33.0 → 2.35.0
Sign up to get free protection for your applications and to get access to all the features.
- package/css/index-full-carbon.css +31990 -32061
- 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 +38 -17
- 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 +636 -24096
- 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 +2342 -17830
- 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/ActionSet/ActionSet.d.ts +38 -2
- package/es/components/ActionSet/ActionSet.js +3 -5
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilder.d.ts +5 -0
- package/es/components/ConditionBuilder/ConditionBuilder.js +125 -0
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +10 -0
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +92 -0
- package/es/components/ConditionBuilder/ConditionBuilderContext/DataTreeContext.d.ts +38 -0
- package/es/components/ConditionBuilder/ConditionBuilderContext/DataTreeContext.js +88 -0
- package/es/components/ConditionBuilder/assets/sampleInput.d.ts +58 -0
- package/es/components/ConditionBuilder/index.d.ts +1 -0
- package/es/components/CreateFullPage/CreateFullPage.js +3 -19
- package/es/components/CreateFullPage/CreateFullPageStep.js +22 -7
- package/es/components/CreateSidePanel/CreateSidePanel.d.ts +81 -2
- package/es/components/CreateSidePanel/CreateSidePanel.js +5 -2
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +82 -2
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +5 -117
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +12 -111
- package/es/components/DataSpreadsheet/utils/commonEventHandlers.d.ts +4 -0
- package/es/components/DataSpreadsheet/utils/commonEventHandlers.js +304 -0
- package/es/components/Datagrid/Datagrid/DatagridContent.js +2 -1
- package/es/components/Datagrid/Datagrid/DatagridEmptyBody.js +4 -1
- package/es/components/Datagrid/Datagrid/DatagridRefBody.js +3 -1
- package/es/components/Datagrid/Datagrid/DatagridSimpleBody.js +4 -1
- package/es/components/Datagrid/Datagrid/DatagridVirtualBody.js +6 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +1 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +4 -0
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +4 -3
- package/es/components/Datagrid/Datagrid/addons/stateReducer.js +2 -1
- package/es/components/Datagrid/useEditableCell.js +15 -0
- package/es/components/DelimitedList/DelimitedList.d.ts +27 -2
- package/es/components/DelimitedList/DelimitedList.js +0 -1
- package/es/components/EditInPlace/EditInPlace.d.ts +97 -5
- package/es/components/EditInPlace/EditInPlace.js +10 -6
- package/es/components/EditSidePanel/EditSidePanel.d.ts +92 -2
- package/es/components/EditSidePanel/EditSidePanel.js +8 -10
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +61 -2
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -3
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +61 -2
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -2
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +61 -2
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -3
- package/es/components/ExportModal/ExportModal.d.ts +110 -2
- package/es/components/ExportModal/ExportModal.js +10 -4
- package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.d.ts +5 -0
- package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +83 -0
- package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.d.ts +5 -0
- package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +94 -0
- package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +5 -0
- package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +8 -10
- package/es/components/FilterPanel/FilterPanelCheckbox/index.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.d.ts +10 -0
- package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +157 -0
- package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.d.ts +5 -0
- package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +72 -0
- package/es/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +2 -2
- package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +5 -0
- package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +92 -0
- package/es/components/FilterPanel/index.d.ts +5 -0
- package/es/components/HTTPErrors/HTTPError403/HTTPError403.d.ts +40 -2
- package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
- package/es/components/HTTPErrors/HTTPError404/HTTPError404.d.ts +40 -2
- package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
- package/es/components/ImportModal/ImportModal.d.ts +136 -2
- package/es/components/ImportModal/ImportModal.js +3 -2
- package/es/components/InlineTip/InlineTip.d.ts +90 -2
- package/es/components/InlineTip/InlineTip.js +3 -2
- package/es/components/Nav/Nav.js +1 -1
- package/es/components/Nav/NavList.js +7 -7
- package/es/components/NotificationsPanel/NotificationsPanel.js +1 -1
- package/es/components/OptionsTile/OptionsTile.d.ts +77 -3
- package/es/components/OptionsTile/OptionsTile.js +9 -20
- package/es/components/PageHeader/PageHeader.js +3 -3
- package/es/components/PageHeader/PageHeaderUtils.d.ts +1 -1
- package/es/components/PageHeader/PageHeaderUtils.js +4 -3
- package/es/components/RemoveModal/RemoveModal.d.ts +81 -7
- package/es/components/RemoveModal/RemoveModal.js +1 -0
- package/es/components/ScrollGradient/ScrollGradient.d.ts +5 -0
- package/es/components/ScrollGradient/ScrollGradient.js +156 -0
- package/es/components/ScrollGradient/constants.d.ts +15 -0
- package/es/components/ScrollGradient/constants.js +121 -0
- package/es/components/ScrollGradient/index.d.ts +1 -0
- package/es/components/SidePanel/SidePanel.d.ts +144 -2
- package/es/components/SidePanel/SidePanel.js +100 -75
- package/es/components/StatusIcon/StatusIcon.d.ts +34 -2
- package/es/components/StatusIcon/StatusIcon.js +97 -95
- package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +23 -2
- package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +6 -5
- package/es/components/TagOverflow/TagOverflow.d.ts +5 -0
- package/es/components/TagOverflow/TagOverflow.js +209 -0
- package/es/components/TagOverflow/constants.d.ts +14 -0
- package/es/components/TagOverflow/constants.js +30 -0
- package/es/components/TagOverflow/index.d.ts +1 -0
- package/es/components/Tearsheet/TearsheetNarrow.d.ts +105 -6
- package/es/components/Tearsheet/TearsheetNarrow.js +6 -1
- package/es/components/Toolbar/Toolbar.d.ts +23 -5
- package/es/components/Toolbar/Toolbar.js +30 -26
- package/es/components/TruncatedList/TruncatedList.js +5 -3
- package/es/components/UserAvatar/UserAvatar.js +7 -4
- package/es/components/index.d.ts +5 -2
- package/es/global/js/package-settings.d.ts +8 -0
- package/es/global/js/package-settings.js +8 -0
- package/es/index.js +9 -0
- package/es/settings.d.ts +8 -0
- package/lib/components/ActionSet/ActionSet.d.ts +38 -2
- package/lib/components/ActionSet/ActionSet.js +3 -5
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilder.d.ts +5 -0
- package/lib/components/ConditionBuilder/ConditionBuilder.js +132 -0
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +10 -0
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +100 -0
- package/lib/components/ConditionBuilder/ConditionBuilderContext/DataTreeContext.d.ts +38 -0
- package/lib/components/ConditionBuilder/ConditionBuilderContext/DataTreeContext.js +98 -0
- package/lib/components/ConditionBuilder/assets/sampleInput.d.ts +58 -0
- package/lib/components/ConditionBuilder/index.d.ts +1 -0
- package/lib/components/CreateFullPage/CreateFullPage.js +2 -18
- package/lib/components/CreateFullPage/CreateFullPageStep.js +20 -5
- package/lib/components/CreateSidePanel/CreateSidePanel.d.ts +81 -2
- package/lib/components/CreateSidePanel/CreateSidePanel.js +5 -2
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +82 -2
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +5 -117
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +12 -111
- package/lib/components/DataSpreadsheet/utils/commonEventHandlers.d.ts +4 -0
- package/lib/components/DataSpreadsheet/utils/commonEventHandlers.js +311 -0
- package/lib/components/Datagrid/Datagrid/DatagridContent.js +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +4 -1
- package/lib/components/Datagrid/Datagrid/DatagridRefBody.js +3 -1
- package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.js +4 -1
- package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +5 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +1 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +4 -0
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +4 -3
- package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +2 -1
- package/lib/components/Datagrid/useEditableCell.js +19 -0
- package/lib/components/DelimitedList/DelimitedList.d.ts +27 -2
- package/lib/components/DelimitedList/DelimitedList.js +0 -1
- package/lib/components/EditInPlace/EditInPlace.d.ts +97 -5
- package/lib/components/EditInPlace/EditInPlace.js +10 -6
- package/lib/components/EditSidePanel/EditSidePanel.d.ts +92 -2
- package/lib/components/EditSidePanel/EditSidePanel.js +8 -10
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +61 -2
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -3
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +61 -2
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -2
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +61 -2
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -3
- package/lib/components/ExportModal/ExportModal.d.ts +110 -2
- package/lib/components/ExportModal/ExportModal.js +10 -4
- package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.d.ts +5 -0
- package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +90 -0
- package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.d.ts +5 -0
- package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +101 -0
- package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +5 -0
- package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +8 -10
- package/lib/components/FilterPanel/FilterPanelCheckbox/index.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.d.ts +10 -0
- package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +164 -0
- package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.d.ts +5 -0
- package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +79 -0
- package/lib/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +2 -2
- package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +5 -0
- package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +99 -0
- package/lib/components/FilterPanel/index.d.ts +5 -0
- package/lib/components/HTTPErrors/HTTPError403/HTTPError403.d.ts +40 -2
- package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.d.ts +40 -2
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
- package/lib/components/ImportModal/ImportModal.d.ts +136 -2
- package/lib/components/ImportModal/ImportModal.js +3 -2
- package/lib/components/InlineTip/InlineTip.d.ts +90 -2
- package/lib/components/InlineTip/InlineTip.js +3 -2
- package/lib/components/Nav/Nav.js +1 -1
- package/lib/components/Nav/NavList.js +7 -7
- package/lib/components/NotificationsPanel/NotificationsPanel.js +1 -1
- package/lib/components/OptionsTile/OptionsTile.d.ts +77 -3
- package/lib/components/OptionsTile/OptionsTile.js +9 -20
- package/lib/components/PageHeader/PageHeader.js +3 -3
- package/lib/components/PageHeader/PageHeaderUtils.d.ts +1 -1
- package/lib/components/PageHeader/PageHeaderUtils.js +4 -3
- package/lib/components/RemoveModal/RemoveModal.d.ts +81 -7
- package/lib/components/RemoveModal/RemoveModal.js +1 -0
- package/lib/components/ScrollGradient/ScrollGradient.d.ts +5 -0
- package/lib/components/ScrollGradient/ScrollGradient.js +163 -0
- package/lib/components/ScrollGradient/constants.d.ts +15 -0
- package/lib/components/ScrollGradient/constants.js +128 -0
- package/lib/components/ScrollGradient/index.d.ts +1 -0
- package/lib/components/SidePanel/SidePanel.d.ts +144 -2
- package/lib/components/SidePanel/SidePanel.js +100 -75
- package/lib/components/StatusIcon/StatusIcon.d.ts +34 -2
- package/lib/components/StatusIcon/StatusIcon.js +97 -95
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +23 -2
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +6 -5
- package/lib/components/TagOverflow/TagOverflow.d.ts +5 -0
- package/lib/components/TagOverflow/TagOverflow.js +216 -0
- package/lib/components/TagOverflow/constants.d.ts +14 -0
- package/lib/components/TagOverflow/constants.js +34 -0
- package/lib/components/TagOverflow/index.d.ts +1 -0
- package/lib/components/Tearsheet/TearsheetNarrow.d.ts +105 -6
- package/lib/components/Tearsheet/TearsheetNarrow.js +6 -1
- package/lib/components/Toolbar/Toolbar.d.ts +23 -5
- package/lib/components/Toolbar/Toolbar.js +30 -26
- package/lib/components/TruncatedList/TruncatedList.js +5 -3
- package/lib/components/UserAvatar/UserAvatar.js +7 -4
- package/lib/components/index.d.ts +5 -2
- package/lib/global/js/package-settings.d.ts +8 -0
- package/lib/global/js/package-settings.js +8 -0
- package/lib/index.js +42 -0
- package/lib/settings.d.ts +8 -0
- package/package.json +3 -3
- package/scss/components/Coachmark/_coachmark-dragbar.scss +0 -1
- package/scss/components/Coachmark/_coachmark-tagline.scss +2 -2
- package/scss/components/ConditionBuilder/_carbon-imports.scss +9 -0
- package/scss/components/ConditionBuilder/_condition-builder.scss +25 -0
- package/scss/components/ConditionBuilder/_index-with-carbon.scss +9 -0
- package/scss/components/ConditionBuilder/_index.scss +8 -0
- package/scss/components/CreateFullPage/_create-full-page.scss +10 -10
- package/scss/components/Datagrid/styles/_useNestedRows.scss +5 -1
- package/scss/components/FilterPanel/_carbon-imports.scss +5 -0
- package/scss/components/FilterPanel/_filter-panel-accordion-item.scss +54 -0
- package/scss/components/FilterPanel/_filter-panel-accordion.scss +6 -0
- package/scss/components/FilterPanel/_filter-panel-checkbox-with-overflow.scss +60 -0
- package/scss/components/FilterPanel/_filter-panel-checkbox.scss +24 -3
- package/scss/components/FilterPanel/_filter-panel-group.scss +39 -0
- package/scss/components/FilterPanel/_filter-panel-label.scss +0 -8
- package/scss/components/FilterPanel/_filter-panel-search.scss +38 -0
- package/scss/components/FilterPanel/_filter-panel.scss +2 -0
- package/scss/components/FilterPanel/_index-with-carbon.scss +5 -0
- package/scss/components/FilterPanel/_index.scss +5 -0
- package/scss/components/Guidebanner/_guidebanner.scss +1 -1
- package/scss/components/InlineTip/_inline-tip.scss +1 -1
- package/scss/components/ProductiveCard/_productive-card.scss +13 -0
- package/scss/components/ScrollGradient/_carbon-imports.scss +9 -0
- package/scss/components/ScrollGradient/_index-with-carbon.scss +9 -0
- package/scss/components/ScrollGradient/_index.scss +8 -0
- package/scss/components/ScrollGradient/_scroll-gradient.scss +102 -0
- package/scss/components/SidePanel/_side-panel.scss +9 -9
- package/scss/components/TagOverflow/_carbon-imports.scss +9 -0
- package/scss/components/TagOverflow/_index-with-carbon.scss +9 -0
- package/scss/components/TagOverflow/_index.scss +8 -0
- package/scss/components/TagOverflow/_tag-overflow.scss +55 -0
- package/scss/components/Tearsheet/_tearsheet.scss +10 -0
- package/scss/components/UserAvatar/_user-avatar.scss +38 -4
- package/scss/components/_index-with-carbon.scss +3 -0
- package/scss/components/_index.scss +3 -0
@@ -0,0 +1,102 @@
|
|
1
|
+
//
|
2
|
+
// Copyright IBM Corp. 2024, 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
|
+
|
8
|
+
// Standard imports.
|
9
|
+
@use '../../global/styles/project-settings' as c4p-settings;
|
10
|
+
@use '../../global/styles/mixins';
|
11
|
+
@use '@carbon/styles/scss/motion' as *;
|
12
|
+
@use '@carbon/styles/scss/spacing' as *;
|
13
|
+
|
14
|
+
$block-class: #{c4p-settings.$pkg-prefix}--scroll-gradient;
|
15
|
+
|
16
|
+
.#{$block-class} {
|
17
|
+
position: relative;
|
18
|
+
display: flex;
|
19
|
+
width: inherit;
|
20
|
+
height: inherit;
|
21
|
+
align-items: stretch;
|
22
|
+
justify-content: stretch;
|
23
|
+
}
|
24
|
+
.#{$block-class}__content {
|
25
|
+
overflow: auto;
|
26
|
+
width: 100%;
|
27
|
+
height: inherit;
|
28
|
+
}
|
29
|
+
|
30
|
+
.#{$block-class}__content-children {
|
31
|
+
width: 100%;
|
32
|
+
height: 100%;
|
33
|
+
}
|
34
|
+
// All gradients
|
35
|
+
.#{$block-class}__start-vertical,
|
36
|
+
.#{$block-class}__start-horizontal,
|
37
|
+
.#{$block-class}__end-vertical,
|
38
|
+
.#{$block-class}__end-horizontal {
|
39
|
+
position: absolute;
|
40
|
+
z-index: 1;
|
41
|
+
display: none;
|
42
|
+
pointer-events: none;
|
43
|
+
}
|
44
|
+
|
45
|
+
// Vertical start
|
46
|
+
.#{$block-class}--y-scrollable .#{$block-class}__start-vertical {
|
47
|
+
top: 0;
|
48
|
+
left: 0;
|
49
|
+
height: $spacing-09;
|
50
|
+
}
|
51
|
+
// Vertical end
|
52
|
+
.#{$block-class}--y-scrollable .#{$block-class}__end-vertical {
|
53
|
+
bottom: 0;
|
54
|
+
left: 0;
|
55
|
+
height: $spacing-09;
|
56
|
+
}
|
57
|
+
|
58
|
+
// Horizontal start
|
59
|
+
.#{$block-class}--x-scrollable .#{$block-class}__start-horizontal {
|
60
|
+
top: 0;
|
61
|
+
left: 0;
|
62
|
+
width: $spacing-09;
|
63
|
+
}
|
64
|
+
|
65
|
+
// Horizontal end
|
66
|
+
.#{$block-class}--x-scrollable .#{$block-class}__end-horizontal {
|
67
|
+
top: 0;
|
68
|
+
right: 0;
|
69
|
+
width: $spacing-09;
|
70
|
+
}
|
71
|
+
|
72
|
+
// Vertical start states
|
73
|
+
.#{$block-class}--y-started.#{$block-class}--y-scrollable
|
74
|
+
.#{$block-class}__start-vertical,
|
75
|
+
.#{$block-class}--y-end.#{$block-class}--y-scrollable
|
76
|
+
.#{$block-class}__start-vertical {
|
77
|
+
display: block;
|
78
|
+
}
|
79
|
+
|
80
|
+
// Vertical end states
|
81
|
+
.#{$block-class}--y-initial.#{$block-class}--y-scrollable
|
82
|
+
.#{$block-class}__end-vertical,
|
83
|
+
.#{$block-class}--y-started.#{$block-class}--y-scrollable
|
84
|
+
.#{$block-class}__end-vertical {
|
85
|
+
display: block;
|
86
|
+
}
|
87
|
+
|
88
|
+
// Horizontal start states
|
89
|
+
.#{$block-class}--x-started.#{$block-class}--x-scrollable
|
90
|
+
.#{$block-class}__start-horizontal,
|
91
|
+
.#{$block-class}--x-end.#{$block-class}--x-scrollable
|
92
|
+
.#{$block-class}__start-horizontal {
|
93
|
+
display: block;
|
94
|
+
}
|
95
|
+
|
96
|
+
// Horizontal end states
|
97
|
+
.#{$block-class}--x-initial.#{$block-class}--x-scrollable
|
98
|
+
.#{$block-class}__end-horizontal,
|
99
|
+
.#{$block-class}--x-started.#{$block-class}--x-scrollable
|
100
|
+
.#{$block-class}__end-horizontal {
|
101
|
+
display: block;
|
102
|
+
}
|
@@ -122,10 +122,15 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
|
|
122
122
|
z-index: 4;
|
123
123
|
/* stylelint-disable-next-line carbon/layout-token-use */
|
124
124
|
top: calc(-1px * var(--#{$block-class}--scroll-animation-distance));
|
125
|
+
min-height: $spacing-08;
|
125
126
|
padding: $spacing-05;
|
126
127
|
padding-bottom: 0;
|
127
128
|
background-color: $layer-01;
|
128
129
|
|
130
|
+
&.#{$block-class}__header--has-title {
|
131
|
+
min-height: auto;
|
132
|
+
}
|
133
|
+
|
129
134
|
&:has(.#{$block-class}__subtitle-text),
|
130
135
|
&.#{$block-class}__header--has-subtitle {
|
131
136
|
--#{$block-class}--title-padding-bottom: #{$spacing-03};
|
@@ -170,11 +175,6 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
|
|
170
175
|
margin-bottom: 0;
|
171
176
|
}
|
172
177
|
|
173
|
-
&.#{$block-class}__header--on-detail-step
|
174
|
-
.#{$block-class}__collapsed-title-text {
|
175
|
-
top: $spacing-05;
|
176
|
-
}
|
177
|
-
|
178
178
|
&.#{$block-class}__header--on-detail-step
|
179
179
|
.#{$block-class}__navigation-back-button.#{c4p-settings.$carbon-prefix}--btn--md
|
180
180
|
~ .#{$block-class}__collapsed-title-text {
|
@@ -297,6 +297,10 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
|
|
297
297
|
padding-top: 0;
|
298
298
|
}
|
299
299
|
|
300
|
+
.#{$block-class}__inner-content--no-animated-title {
|
301
|
+
padding-top: $spacing-05;
|
302
|
+
}
|
303
|
+
|
300
304
|
.#{$block-class}__header:has(.#{$block-class}__action-toolbar)
|
301
305
|
+ .#{$block-class}__inner-content,
|
302
306
|
.#{$block-class}__header--has-action-toolbar
|
@@ -311,10 +315,6 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
|
|
311
315
|
0 4px 10px 2px $ai-drop-shadow;
|
312
316
|
}
|
313
317
|
|
314
|
-
.#{$block-class}__inner-content.#{$block-class}--scrolls {
|
315
|
-
padding-top: $spacing-05;
|
316
|
-
}
|
317
|
-
|
318
318
|
.#{$block-class}__action-toolbar {
|
319
319
|
position: sticky;
|
320
320
|
z-index: 4;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
//
|
2
|
+
// Copyright IBM Corp. 2024, 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
|
+
|
8
|
+
// Import any Carbon component styles used from TagOverflow in this file.
|
9
|
+
// TagOverflow uses the following Carbon components:
|
@@ -0,0 +1,55 @@
|
|
1
|
+
//
|
2
|
+
// Copyright IBM Corp. 2024, 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
|
+
|
8
|
+
// Standard imports.
|
9
|
+
@use '../../global/styles/project-settings' as c4p-settings;
|
10
|
+
@use '../../global/styles/mixins';
|
11
|
+
@use '@carbon/styles/scss/spacing' as *;
|
12
|
+
|
13
|
+
// Other Carbon settings if needed
|
14
|
+
// TODO: @use '@carbon/styles/scss/grid';
|
15
|
+
// or
|
16
|
+
// TODO: @use '@carbon/react/scss/grid';
|
17
|
+
|
18
|
+
// TagOverflow uses the following Carbon for IBM Products components:
|
19
|
+
// TODO: @use(s) of IBM Products component styles used by TagOverflow
|
20
|
+
|
21
|
+
// The block part of our conventional BEM class names (blockClass__E--M).
|
22
|
+
$block-class: #{c4p-settings.$pkg-prefix}--tag-overflow;
|
23
|
+
|
24
|
+
.#{$block-class} {
|
25
|
+
display: flex;
|
26
|
+
width: 100%;
|
27
|
+
min-width: $spacing-12;
|
28
|
+
align-items: center;
|
29
|
+
white-space: nowrap;
|
30
|
+
}
|
31
|
+
|
32
|
+
.#{$block-class}--multiline {
|
33
|
+
flex-wrap: wrap;
|
34
|
+
}
|
35
|
+
|
36
|
+
.#{$block-class}__item {
|
37
|
+
margin: $spacing-01;
|
38
|
+
}
|
39
|
+
|
40
|
+
.#{$block-class}__item--tag {
|
41
|
+
border: none;
|
42
|
+
}
|
43
|
+
|
44
|
+
.#{$block-class}__item--tag span {
|
45
|
+
display: inline-block;
|
46
|
+
overflow: hidden;
|
47
|
+
max-width: $spacing-12;
|
48
|
+
text-overflow: ellipsis;
|
49
|
+
white-space: nowrap;
|
50
|
+
}
|
51
|
+
|
52
|
+
.#{$block-class}__indicator {
|
53
|
+
display: inline-block;
|
54
|
+
max-width: $spacing-09;
|
55
|
+
}
|
@@ -317,6 +317,16 @@ $motion-duration: $duration-moderate-02;
|
|
317
317
|
}
|
318
318
|
}
|
319
319
|
|
320
|
+
@include breakpoint-down(md) {
|
321
|
+
.#{$block-class}__container {
|
322
|
+
max-height: 100%;
|
323
|
+
}
|
324
|
+
|
325
|
+
.#{$block-class}__influencer {
|
326
|
+
flex-basis: auto;
|
327
|
+
}
|
328
|
+
}
|
329
|
+
|
320
330
|
.#{$block-class}__influencer--wide {
|
321
331
|
flex-basis: 321px; // influencer width 320px plus 1px border
|
322
332
|
}
|
@@ -75,13 +75,47 @@ $sizes: (
|
|
75
75
|
background-color: $color;
|
76
76
|
}
|
77
77
|
|
78
|
-
|
79
|
-
|
78
|
+
@mixin setLightBg($order, $color) {
|
79
|
+
:root .#{$block-class}--#{$order},
|
80
|
+
.#{$carbon-prefix}--g10 .#{$block-class}--#{$order},
|
81
|
+
.#{$carbon-prefix}--white .#{$block-class}--#{$order} {
|
82
|
+
@include setBgColor($color);
|
83
|
+
}
|
80
84
|
}
|
81
85
|
|
82
|
-
|
83
|
-
|
86
|
+
@mixin setDarkBg($order, $color) {
|
87
|
+
.#{$carbon-prefix}--g90 .#{$block-class}--#{$order},
|
88
|
+
.#{$carbon-prefix}--g100 .#{$block-class}--#{$order} {
|
89
|
+
@include setBgColor($color);
|
90
|
+
}
|
84
91
|
}
|
92
|
+
|
93
|
+
@include setLightBg(order-1-cyan, $cyan-60);
|
94
|
+
@include setLightBg(order-2-gray, $gray-60);
|
95
|
+
@include setLightBg(order-3-green, $green-60);
|
96
|
+
@include setLightBg(order-4-magenta, $magenta-60);
|
97
|
+
@include setLightBg(order-5-purple, $purple-60);
|
98
|
+
@include setLightBg(order-6-teal, $teal-60);
|
99
|
+
@include setLightBg(order-7-cyan, $cyan-80);
|
100
|
+
@include setLightBg(order-8-gray, $gray-80);
|
101
|
+
@include setLightBg(order-9-green, $green-80);
|
102
|
+
@include setLightBg(order-10-magenta, $magenta-80);
|
103
|
+
@include setLightBg(order-11-purple, $purple-80);
|
104
|
+
@include setLightBg(order-12-teal, $teal-80);
|
105
|
+
|
106
|
+
@include setDarkBg(order-1-cyan, $cyan-50);
|
107
|
+
@include setDarkBg(order-2-gray, $gray-50);
|
108
|
+
@include setDarkBg(order-3-green, $green-50);
|
109
|
+
@include setDarkBg(order-4-magenta, $magenta-50);
|
110
|
+
@include setDarkBg(order-5-purple, $purple-50);
|
111
|
+
@include setDarkBg(order-6-teal, $teal-50);
|
112
|
+
@include setDarkBg(order-7-cyan, $cyan-30);
|
113
|
+
@include setDarkBg(order-8-gray, $gray-30);
|
114
|
+
@include setDarkBg(order-9-green, $green-30);
|
115
|
+
@include setDarkBg(order-10-magenta, $magenta-30);
|
116
|
+
@include setDarkBg(order-11-purple, $purple-30);
|
117
|
+
@include setDarkBg(order-12-teal, $teal-30);
|
118
|
+
|
85
119
|
.#{$block-class}--xl {
|
86
120
|
@include size('xl');
|
87
121
|
@include type.type-style('heading-04');
|
@@ -70,5 +70,8 @@
|
|
70
70
|
@use './Nav/index-with-carbon' as *;
|
71
71
|
@use './StringFormatter/index-with-carbon' as *;
|
72
72
|
@use './UserAvatar/index-with-carbon' as *;
|
73
|
+
@use './ScrollGradient/index-with-carbon' as *;
|
73
74
|
@use './StatusIndicator/index-with-carbon' as *;
|
75
|
+
@use './TagOverflow/index-with-carbon' as *;
|
74
76
|
@use './FilterPanel/index-with-carbon' as *;
|
77
|
+
@use './ConditionBuilder/index-with-carbon' as *;
|