@carbon/ibm-products 2.34.0 → 2.36.0-alpha.27
Sign up to get free protection for your applications and to get access to all the features.
- package/css/index-full-carbon.css +32448 -32421
- 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 +105 -91
- 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 +765 -24496
- 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 +2543 -18127
- 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/Coachmark/utils/enums.d.ts +36 -22
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +26 -2
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -3
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +28 -2
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +0 -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.d.ts +121 -4
- package/es/components/CreateFullPage/CreateFullPage.js +14 -26
- package/es/components/CreateFullPage/CreateFullPageStep.js +22 -7
- package/es/components/CreateTearsheet/CreateTearsheet.js +2 -0
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +82 -2
- package/es/components/Datagrid/Datagrid/DatagridRow.js +4 -3
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +2 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +10 -6
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +6 -2
- 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/EditFullPage/EditFullPage.d.ts +19 -2
- package/es/components/EditFullPage/EditFullPage.js +3 -3
- package/es/components/EditInPlace/EditInPlace.d.ts +97 -5
- package/es/components/EditInPlace/EditInPlace.js +10 -6
- 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/NoTagsEmptyState/NoTagsEmptyState.d.ts +61 -2
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -3
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +61 -2
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -3
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +61 -2
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -2
- package/es/components/ExportModal/ExportModal.d.ts +110 -2
- package/es/components/ExportModal/ExportModal.js +10 -4
- package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +1 -1
- package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +2 -2
- package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +5 -0
- package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +5 -9
- package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +1 -1
- 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 +1 -0
- package/es/components/FullPageError/FullPageError.d.ts +2 -1
- package/es/components/FullPageError/FullPageError.js +24 -49
- 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/HTTPErrors/HTTPErrorOther/HTTPErrorOther.d.ts +40 -2
- package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.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/InlineTip/InlineTipLink.d.ts +19 -2
- package/es/components/InterstitialScreenView/InterstitialScreenView.d.ts +23 -2
- package/es/components/InterstitialScreenView/InterstitialScreenView.js +0 -1
- package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +23 -2
- package/es/components/Nav/Nav.js +1 -1
- package/es/components/Nav/NavList.js +7 -7
- package/es/components/NonLinearReading/NonLinearReading.d.ts +28 -2
- package/es/components/NonLinearReading/NonLinearReading.js +2 -7
- package/es/components/NotificationsPanel/NotificationsPanel.js +1 -1
- 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/SearchBar/SearchBar.d.ts +51 -3
- package/es/components/SearchBar/SearchBar.js +5 -6
- package/es/components/SidePanel/SidePanel.js +62 -41
- 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.d.ts +47 -2
- package/es/components/TruncatedList/TruncatedList.js +5 -4
- package/es/components/UserAvatar/UserAvatar.js +4 -2
- package/es/components/index.d.ts +4 -2
- package/es/global/js/package-settings.d.ts +3 -0
- package/es/global/js/package-settings.js +3 -0
- package/es/index.js +4 -0
- package/es/settings.d.ts +3 -0
- package/lib/components/ActionSet/ActionSet.d.ts +38 -2
- package/lib/components/ActionSet/ActionSet.js +3 -5
- package/lib/components/Coachmark/utils/enums.d.ts +36 -22
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +26 -2
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -3
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +28 -2
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +0 -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.d.ts +121 -4
- package/lib/components/CreateFullPage/CreateFullPage.js +13 -25
- package/lib/components/CreateFullPage/CreateFullPageStep.js +20 -5
- package/lib/components/CreateTearsheet/CreateTearsheet.js +2 -0
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +82 -2
- package/lib/components/Datagrid/Datagrid/DatagridRow.js +4 -3
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +2 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +11 -7
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +6 -2
- 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/EditFullPage/EditFullPage.d.ts +19 -2
- package/lib/components/EditFullPage/EditFullPage.js +3 -3
- package/lib/components/EditInPlace/EditInPlace.d.ts +97 -5
- package/lib/components/EditInPlace/EditInPlace.js +10 -6
- 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/NoTagsEmptyState/NoTagsEmptyState.d.ts +61 -2
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -3
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +61 -2
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -3
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +61 -2
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -2
- package/lib/components/ExportModal/ExportModal.d.ts +110 -2
- package/lib/components/ExportModal/ExportModal.js +10 -4
- package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +1 -1
- package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +2 -2
- package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +5 -0
- package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +5 -9
- package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +1 -1
- 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 +1 -0
- package/lib/components/FullPageError/FullPageError.d.ts +2 -1
- package/lib/components/FullPageError/FullPageError.js +24 -49
- 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/HTTPErrors/HTTPErrorOther/HTTPErrorOther.d.ts +40 -2
- package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.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/InlineTip/InlineTipLink.d.ts +19 -2
- package/lib/components/InterstitialScreenView/InterstitialScreenView.d.ts +23 -2
- package/lib/components/InterstitialScreenView/InterstitialScreenView.js +0 -1
- package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +23 -2
- package/lib/components/Nav/Nav.js +1 -1
- package/lib/components/Nav/NavList.js +7 -7
- package/lib/components/NonLinearReading/NonLinearReading.d.ts +28 -2
- package/lib/components/NonLinearReading/NonLinearReading.js +2 -7
- package/lib/components/NotificationsPanel/NotificationsPanel.js +1 -1
- 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/SearchBar/SearchBar.d.ts +51 -3
- package/lib/components/SearchBar/SearchBar.js +5 -6
- package/lib/components/SidePanel/SidePanel.js +62 -41
- 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.d.ts +47 -2
- package/lib/components/TruncatedList/TruncatedList.js +5 -4
- package/lib/components/UserAvatar/UserAvatar.js +4 -2
- package/lib/components/index.d.ts +4 -2
- package/lib/global/js/package-settings.d.ts +3 -0
- package/lib/global/js/package-settings.js +3 -0
- package/lib/index.js +17 -0
- package/lib/settings.d.ts +3 -0
- package/package.json +5 -5
- 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/Datagrid/styles/_useSortableColumns.scss +2 -0
- package/scss/components/FilterPanel/_carbon-imports.scss +5 -0
- package/scss/components/FilterPanel/_filter-panel-accordion-item.scss +1 -3
- package/scss/components/FilterPanel/_filter-panel-checkbox-with-overflow.scss +0 -2
- package/scss/components/FilterPanel/_filter-panel-checkbox.scss +0 -1
- package/scss/components/FilterPanel/_filter-panel-search.scss +38 -0
- package/scss/components/FilterPanel/_index-with-carbon.scss +1 -0
- package/scss/components/FilterPanel/_index.scss +1 -0
- package/scss/components/FullPageError/_full-page-error.scss +10 -10
- 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/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 +7 -3
- package/scss/components/_index-with-carbon.scss +2 -0
- package/scss/components/_index.scss +2 -0
@@ -21,8 +21,15 @@
|
|
21
21
|
$block-class: #{c4p-settings.$pkg-prefix}--create-full-page;
|
22
22
|
$step-block-class: #{c4p-settings.$pkg-prefix}--create-full-page__step;
|
23
23
|
|
24
|
-
.#{$block-class}
|
24
|
+
.#{$block-class} {
|
25
|
+
display: grid;
|
26
|
+
height: 100%;
|
25
27
|
color: $text-primary;
|
28
|
+
grid-template-rows: minmax(auto, 100%);
|
29
|
+
|
30
|
+
&:has(.#{$block-class}__header) {
|
31
|
+
grid-template-rows: auto minmax(auto, 100%);
|
32
|
+
}
|
26
33
|
}
|
27
34
|
|
28
35
|
.#{$block-class}
|
@@ -33,14 +40,6 @@ $step-block-class: #{c4p-settings.$pkg-prefix}--create-full-page__step;
|
|
33
40
|
margin-left: 0;
|
34
41
|
}
|
35
42
|
|
36
|
-
.#{$block-class}__header {
|
37
|
-
position: sticky;
|
38
|
-
z-index: 9;
|
39
|
-
top: 0;
|
40
|
-
right: 0;
|
41
|
-
left: 0;
|
42
|
-
}
|
43
|
-
|
44
43
|
.#{$block-class} .#{$step-block-class}__step--hidden-step {
|
45
44
|
display: none;
|
46
45
|
}
|
@@ -75,7 +74,8 @@ $step-block-class: #{c4p-settings.$pkg-prefix}--create-full-page__step;
|
|
75
74
|
|
76
75
|
.#{$block-class}__influencer-and-body-container {
|
77
76
|
display: flex;
|
78
|
-
|
77
|
+
overflow: hidden;
|
78
|
+
max-height: 100%;
|
79
79
|
padding: 0;
|
80
80
|
margin: 0;
|
81
81
|
}
|
@@ -71,7 +71,11 @@
|
|
71
71
|
.#{$block-class}__carbon-nested-row:not(
|
72
72
|
.#{$block-class}__carbon-row-expandable
|
73
73
|
)
|
74
|
-
td.#{$block-class}__cell:nth-of-type(2)
|
74
|
+
td.#{$block-class}__cell:nth-of-type(2),
|
75
|
+
.#{c4p-settings.$carbon-prefix}--data-table
|
76
|
+
.#{$block-class}__carbon-nested-row
|
77
|
+
td.#{$block-class}__cell:nth-of-type(2)
|
78
|
+
+ td {
|
75
79
|
position: relative;
|
76
80
|
}
|
77
81
|
|
@@ -7,3 +7,8 @@
|
|
7
7
|
|
8
8
|
// Import any Carbon component styles used from FilterPanel in this file.
|
9
9
|
// FilterPanel uses the following Carbon components:
|
10
|
+
@use '@carbon/react/scss/components/accordion';
|
11
|
+
@use '@carbon/react/scss/components/checkbox';
|
12
|
+
@use '@carbon/react/scss/components/list';
|
13
|
+
@use '@carbon/react/scss/components/overflow-menu';
|
14
|
+
@use '@carbon/react/scss/components/search';
|
@@ -12,9 +12,7 @@
|
|
12
12
|
@use '../../global/styles/project-settings' as c4p-settings;
|
13
13
|
@use '../../global/styles/mixins';
|
14
14
|
|
15
|
-
@use '@carbon/layout/scss/convert' as *;
|
16
15
|
@use '@carbon/styles/scss/spacing' as *;
|
17
|
-
@use '@carbon/styles/scss/theme' as *;
|
18
16
|
@use '@carbon/styles/scss/type';
|
19
17
|
|
20
18
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
@@ -34,7 +32,7 @@ html .#{$block-class} .#{$carbon}--accordion__wrapper {
|
|
34
32
|
padding-block: 0;
|
35
33
|
}
|
36
34
|
html .#{$block-class} .#{$carbon}--accordion__heading {
|
37
|
-
min-block-size:
|
35
|
+
min-block-size: $spacing-07;
|
38
36
|
padding-inline-end: 0;
|
39
37
|
}
|
40
38
|
html .#{$block-class} .#{$carbon}--accordion__title {
|
@@ -12,8 +12,6 @@
|
|
12
12
|
@use '../../global/styles/project-settings' as c4p-settings;
|
13
13
|
@use '../../global/styles/mixins';
|
14
14
|
|
15
|
-
@use '@carbon/styles/scss/colors' as *;
|
16
|
-
@use '@carbon/layout/scss/convert' as *;
|
17
15
|
@use '@carbon/styles/scss/spacing' as *;
|
18
16
|
@use '@carbon/styles/scss/theme' as *;
|
19
17
|
|
@@ -0,0 +1,38 @@
|
|
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
|
+
|
11
|
+
@use '@carbon/layout/scss/convert' as *;
|
12
|
+
@use '@carbon/styles/scss/spacing' as *;
|
13
|
+
@use '@carbon/styles/scss/theme' as *;
|
14
|
+
@use '@carbon/styles/scss/utilities';
|
15
|
+
|
16
|
+
// FilterPanel uses the following Carbon for IBM Products components:
|
17
|
+
// TODO: @use(s) of IBM Products component styles used by FilterPanel
|
18
|
+
|
19
|
+
// The block part of our conventional BEM class names (blockClass__E--M).
|
20
|
+
$block-class: #{c4p-settings.$pkg-prefix}--filter-panel-search;
|
21
|
+
|
22
|
+
.#{$block-class} {
|
23
|
+
position: relative;
|
24
|
+
margin-bottom: $spacing-05;
|
25
|
+
}
|
26
|
+
|
27
|
+
.#{$block-class}__results {
|
28
|
+
position: absolute;
|
29
|
+
z-index: utilities.z('dropdown');
|
30
|
+
top: 100%;
|
31
|
+
right: 0;
|
32
|
+
left: 0;
|
33
|
+
/* stylelint-disable-next-line function-no-unknown */
|
34
|
+
max-height: to-rem(320px);
|
35
|
+
padding: $spacing-03;
|
36
|
+
background-color: $layer;
|
37
|
+
overflow-y: auto;
|
38
|
+
}
|
@@ -24,7 +24,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--full-page-error;
|
|
24
24
|
.#{$block-class} {
|
25
25
|
height: inherit;
|
26
26
|
}
|
27
|
-
.#{$block-class}
|
27
|
+
.#{$block-class}__container {
|
28
28
|
height: 100%;
|
29
29
|
margin: 0 $spacing-06;
|
30
30
|
|
@@ -32,19 +32,19 @@ $block-class: #{c4p-settings.$pkg-prefix}--full-page-error;
|
|
32
32
|
margin: 0 $spacing-03;
|
33
33
|
}
|
34
34
|
}
|
35
|
-
.#{$block-class}
|
35
|
+
.#{$block-class}__grid {
|
36
36
|
height: 100%;
|
37
37
|
padding-top: $spacing-07;
|
38
38
|
padding-bottom: $spacing-07;
|
39
39
|
}
|
40
|
-
.#{$block-class}
|
40
|
+
.#{$block-class}__column {
|
41
41
|
padding: 0;
|
42
42
|
@include breakpoint(lg) {
|
43
43
|
padding: 0 $spacing-07 0 0;
|
44
44
|
}
|
45
45
|
}
|
46
46
|
|
47
|
-
.#{$block-class}
|
47
|
+
.#{$block-class}__svg-container {
|
48
48
|
display: flex;
|
49
49
|
height: 100%;
|
50
50
|
padding: $spacing-03 $spacing-03 $spacing-11 $spacing-03;
|
@@ -53,16 +53,16 @@ $block-class: #{c4p-settings.$pkg-prefix}--full-page-error;
|
|
53
53
|
}
|
54
54
|
}
|
55
55
|
|
56
|
-
.#{$block-class}
|
57
|
-
.#{$block-class}
|
56
|
+
.#{$block-class}__label,
|
57
|
+
.#{$block-class}__title {
|
58
58
|
@include type-style('fluid-heading-05', true);
|
59
59
|
}
|
60
60
|
|
61
|
-
.#{$block-class}
|
61
|
+
.#{$block-class}__label {
|
62
62
|
display: block;
|
63
63
|
color: $text-error;
|
64
64
|
}
|
65
|
-
.#{$block-class}
|
65
|
+
.#{$block-class}__title {
|
66
66
|
margin-bottom: $spacing-09;
|
67
67
|
}
|
68
68
|
|
@@ -73,12 +73,12 @@ $block-class: #{c4p-settings.$pkg-prefix}--full-page-error;
|
|
73
73
|
}
|
74
74
|
|
75
75
|
// safari rendering fix
|
76
|
-
.#{$block-class}
|
76
|
+
.#{$block-class}__svg-container svg.#{$block-class}__svg {
|
77
77
|
width: 100%;
|
78
78
|
}
|
79
79
|
|
80
80
|
// svg theme styles
|
81
|
-
.#{$block-class}
|
81
|
+
.#{$block-class}__svg-container svg.#{$block-class}__svg path {
|
82
82
|
fill: $background;
|
83
83
|
stroke: $border-inverse;
|
84
84
|
}
|
@@ -248,7 +248,7 @@ $purple-3: #7433e3;
|
|
248
248
|
}
|
249
249
|
|
250
250
|
// Exception handling.
|
251
|
-
// If "
|
251
|
+
// If "withLeftGutter", then:
|
252
252
|
// - insert 1 rem of more "space" on the left.
|
253
253
|
// - move icon 1 rem more to the right.
|
254
254
|
.#{$block-class}__with-left-gutter .#{$block-class}__icon-idea {
|
@@ -229,7 +229,7 @@ $purple: #7f3ae7;
|
|
229
229
|
}
|
230
230
|
|
231
231
|
// Exception handling.
|
232
|
-
// If "
|
232
|
+
// If "withLeftGutter", then:
|
233
233
|
// - insert 1 rem of more "space" on the left.
|
234
234
|
// - move icon 1 rem more to the right.
|
235
235
|
.#{$block-class}__wide.#{$block-class}__with-left-gutter {
|
@@ -16,6 +16,9 @@
|
|
16
16
|
$block-class: #{c4p-settings.$pkg-prefix}--card;
|
17
17
|
|
18
18
|
.#{$block-class}__productive {
|
19
|
+
display: flex;
|
20
|
+
flex-direction: column;
|
21
|
+
|
19
22
|
.#{$block-class}__title {
|
20
23
|
@include type.type-style('heading-compact-02');
|
21
24
|
}
|
@@ -101,4 +104,14 @@ $block-class: #{c4p-settings.$pkg-prefix}--card;
|
|
101
104
|
.#{$block-class}__header-container {
|
102
105
|
align-items: flex-start;
|
103
106
|
}
|
107
|
+
|
108
|
+
.#{$block-class}__content-container {
|
109
|
+
display: flex;
|
110
|
+
flex: 1;
|
111
|
+
flex-direction: column;
|
112
|
+
}
|
113
|
+
|
114
|
+
.#{$block-class}__header-body-container {
|
115
|
+
flex: 1;
|
116
|
+
}
|
104
117
|
}
|
@@ -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
|
}
|
@@ -65,7 +65,6 @@ $sizes: (
|
|
65
65
|
}
|
66
66
|
|
67
67
|
@mixin photo-styling {
|
68
|
-
position: fixed;
|
69
68
|
border-radius: 100%;
|
70
69
|
object-fit: fill;
|
71
70
|
}
|
@@ -76,15 +75,20 @@ $sizes: (
|
|
76
75
|
}
|
77
76
|
|
78
77
|
@mixin setLightBg($order, $color) {
|
78
|
+
:root .#{$block-class}--#{$order},
|
79
79
|
.#{$carbon-prefix}--g10 .#{$block-class}--#{$order},
|
80
|
-
.#{$carbon-prefix}--white .#{$block-class}--#{$order}
|
80
|
+
.#{$carbon-prefix}--white .#{$block-class}--#{$order},
|
81
|
+
[storybook-carbon-theme='g10'] .#{$block-class}--#{$order},
|
82
|
+
[storybook-carbon-theme='white'] .#{$block-class}--#{$order} {
|
81
83
|
@include setBgColor($color);
|
82
84
|
}
|
83
85
|
}
|
84
86
|
|
85
87
|
@mixin setDarkBg($order, $color) {
|
86
88
|
.#{$carbon-prefix}--g90 .#{$block-class}--#{$order},
|
87
|
-
.#{$carbon-prefix}--g100 .#{$block-class}--#{$order}
|
89
|
+
.#{$carbon-prefix}--g100 .#{$block-class}--#{$order},
|
90
|
+
[storybook-carbon-theme='g90'] .#{$block-class}--#{$order},
|
91
|
+
[storybook-carbon-theme='g100'] .#{$block-class}--#{$order} {
|
88
92
|
@include setBgColor($color);
|
89
93
|
}
|
90
94
|
}
|
@@ -72,4 +72,6 @@
|
|
72
72
|
@use './UserAvatar/index-with-carbon' as *;
|
73
73
|
@use './ScrollGradient/index-with-carbon' as *;
|
74
74
|
@use './StatusIndicator/index-with-carbon' as *;
|
75
|
+
@use './TagOverflow/index-with-carbon' as *;
|
75
76
|
@use './FilterPanel/index-with-carbon' as *;
|
77
|
+
@use './ConditionBuilder/index-with-carbon' as *;
|