@carbon/ibm-products 2.38.0-alpha.5 → 2.39.0
Sign up to get free protection for your applications and to get access to all the features.
- package/css/index-full-carbon.css +227 -0
- 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 +218 -0
- 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 +227 -0
- 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 +445 -0
- 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.js +3 -2
- package/es/components/Card/Card.js +50 -9
- package/es/components/Card/CardFooter.d.ts +5 -1
- package/es/components/Card/CardFooter.js +11 -1
- package/es/components/Carousel/Carousel.d.ts +6 -2
- package/es/components/Checklist/Checklist.d.ts +100 -2
- package/es/components/Checklist/Checklist.js +19 -15
- package/es/components/Checklist/Checklist.types.d.ts +19 -0
- package/es/components/Checklist/Checklist.types.js +22 -0
- package/es/components/Checklist/ChecklistChart.d.ts +6 -2
- package/es/components/Checklist/ChecklistChart.js +14 -33
- package/es/components/Checklist/ChecklistIcon.d.ts +5 -1
- package/es/components/Checklist/ChecklistIcon.js +9 -4
- package/es/components/Coachmark/Coachmark.d.ts +65 -2
- package/es/components/Coachmark/Coachmark.js +7 -10
- package/es/components/Coachmark/CoachmarkDragbar.d.ts +40 -2
- package/es/components/Coachmark/CoachmarkDragbar.js +3 -1
- package/es/components/Coachmark/CoachmarkHeader.d.ts +27 -2
- package/es/components/Coachmark/CoachmarkHeader.js +0 -1
- package/es/components/Coachmark/CoachmarkOverlay.d.ts +42 -2
- package/es/components/Coachmark/CoachmarkOverlay.js +18 -15
- package/es/components/Coachmark/CoachmarkTagline.d.ts +27 -2
- package/es/components/Coachmark/CoachmarkTagline.js +0 -1
- package/es/components/Coachmark/utils/enums.d.ts +20 -20
- package/es/components/Coachmark/utils/enums.js +22 -20
- package/es/components/CoachmarkButton/CoachmarkButton.d.ts +19 -2
- package/es/components/CoachmarkFixed/CoachmarkFixed.d.ts +42 -2
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +4 -2
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +46 -2
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +5 -4
- package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +25 -23
- package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +2 -2
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +14 -24
- package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.d.ts +2 -0
- package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +4 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +3 -3
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +11 -11
- package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +5 -3
- package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +54 -44
- package/es/components/CreateInfluencer/CreateInfluencer.d.ts +55 -17
- package/es/components/DataSpreadsheet/DataSpreadsheet.d.ts +67 -2
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +48 -27
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.d.ts +139 -2
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +60 -39
- package/es/components/DataSpreadsheet/DataSpreadsheetHeader.d.ts +89 -2
- package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +39 -27
- package/es/components/DataSpreadsheet/hooks/useMoveActiveCell.js +2 -1
- package/es/components/DataSpreadsheet/types/index.d.ts +30 -0
- package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +19 -2
- package/es/components/GetStartedCard/GetStartedCard.d.ts +5 -0
- package/es/components/GetStartedCard/GetStartedCard.js +82 -0
- package/es/components/GetStartedCard/index.d.ts +1 -0
- package/es/components/Guidebanner/Guidebanner.js +2 -2
- package/es/components/NotificationsPanel/NotificationsPanel.d.ts +162 -1
- package/es/components/NotificationsPanel/NotificationsPanel.js +10 -10
- package/es/components/SearchBar/SearchBar.d.ts +10 -1
- package/es/components/SearchBar/SearchBar.js +26 -20
- package/es/components/SidePanel/SidePanel.js +1 -1
- package/es/components/TagOverflow/TagOverflow.d.ts +5 -0
- package/es/components/TagOverflow/TagOverflow.js +153 -29
- package/es/components/TagOverflow/TagOverflowModal.d.ts +29 -0
- package/es/components/TagOverflow/TagOverflowModal.js +112 -0
- package/es/components/TagOverflow/TagOverflowPopover.d.ts +2 -0
- package/es/components/TagOverflow/TagOverflowPopover.js +135 -0
- package/es/components/TagSet/TagSet.d.ts +87 -3
- package/es/components/TagSet/TagSet.js +20 -9
- package/es/components/TagSet/TagSetModal.d.ts +32 -26
- package/es/components/TagSet/TagSetModal.js +5 -5
- package/es/components/TagSet/TagSetOverflow.d.ts +45 -2
- package/es/components/TagSet/TagSetOverflow.js +14 -12
- package/es/components/WebTerminal/WebTerminal.js +2 -2
- package/es/components/WebTerminal/WebTerminalContentWrapper.d.ts +15 -2
- package/es/components/WebTerminal/hooks/index.d.ts +16 -11
- package/es/components/WebTerminal/hooks/index.js +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/global/js/package-settings.d.ts +2 -1
- package/es/global/js/package-settings.js +2 -1
- package/es/index.js +1 -0
- package/es/node_modules/@carbon/colors/es/index.js +4 -1
- package/es/settings.d.ts +2 -1
- package/lib/components/ActionSet/ActionSet.js +2 -1
- package/lib/components/Card/Card.js +50 -9
- package/lib/components/Card/CardFooter.d.ts +5 -1
- package/lib/components/Card/CardFooter.js +11 -1
- package/lib/components/Carousel/Carousel.d.ts +6 -2
- package/lib/components/Checklist/Checklist.d.ts +100 -2
- package/lib/components/Checklist/Checklist.js +19 -15
- package/lib/components/Checklist/Checklist.types.d.ts +19 -0
- package/lib/components/Checklist/Checklist.types.js +27 -0
- package/lib/components/Checklist/ChecklistChart.d.ts +6 -2
- package/lib/components/Checklist/ChecklistChart.js +17 -36
- package/lib/components/Checklist/ChecklistIcon.d.ts +5 -1
- package/lib/components/Checklist/ChecklistIcon.js +9 -4
- package/lib/components/Coachmark/Coachmark.d.ts +65 -2
- package/lib/components/Coachmark/Coachmark.js +6 -9
- package/lib/components/Coachmark/CoachmarkDragbar.d.ts +40 -2
- package/lib/components/Coachmark/CoachmarkDragbar.js +3 -1
- package/lib/components/Coachmark/CoachmarkHeader.d.ts +27 -2
- package/lib/components/Coachmark/CoachmarkHeader.js +0 -1
- package/lib/components/Coachmark/CoachmarkOverlay.d.ts +42 -2
- package/lib/components/Coachmark/CoachmarkOverlay.js +18 -15
- package/lib/components/Coachmark/CoachmarkTagline.d.ts +27 -2
- package/lib/components/Coachmark/CoachmarkTagline.js +0 -1
- package/lib/components/Coachmark/utils/enums.d.ts +20 -20
- package/lib/components/Coachmark/utils/enums.js +22 -20
- package/lib/components/CoachmarkButton/CoachmarkButton.d.ts +19 -2
- package/lib/components/CoachmarkFixed/CoachmarkFixed.d.ts +42 -2
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +4 -2
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +46 -2
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +5 -4
- package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +25 -23
- package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +2 -2
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +13 -23
- package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.d.ts +2 -0
- package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +4 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +3 -3
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +11 -11
- package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +5 -3
- package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +54 -44
- package/lib/components/CreateInfluencer/CreateInfluencer.d.ts +55 -17
- package/lib/components/DataSpreadsheet/DataSpreadsheet.d.ts +67 -2
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +48 -27
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.d.ts +139 -2
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +59 -38
- package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.d.ts +89 -2
- package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +39 -27
- package/lib/components/DataSpreadsheet/hooks/useMoveActiveCell.js +2 -1
- package/lib/components/DataSpreadsheet/types/index.d.ts +30 -0
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +19 -2
- package/lib/components/GetStartedCard/GetStartedCard.d.ts +5 -0
- package/lib/components/GetStartedCard/GetStartedCard.js +88 -0
- package/lib/components/GetStartedCard/index.d.ts +1 -0
- package/lib/components/Guidebanner/Guidebanner.js +2 -2
- package/lib/components/NotificationsPanel/NotificationsPanel.d.ts +162 -1
- package/lib/components/NotificationsPanel/NotificationsPanel.js +10 -10
- package/lib/components/SearchBar/SearchBar.d.ts +10 -1
- package/lib/components/SearchBar/SearchBar.js +26 -18
- package/lib/components/SidePanel/SidePanel.js +1 -1
- package/lib/components/TagOverflow/TagOverflow.d.ts +5 -0
- package/lib/components/TagOverflow/TagOverflow.js +154 -28
- package/lib/components/TagOverflow/TagOverflowModal.d.ts +29 -0
- package/lib/components/TagOverflow/TagOverflowModal.js +121 -0
- package/lib/components/TagOverflow/TagOverflowPopover.d.ts +2 -0
- package/lib/components/TagOverflow/TagOverflowPopover.js +144 -0
- package/lib/components/TagSet/TagSet.d.ts +87 -3
- package/lib/components/TagSet/TagSet.js +20 -9
- package/lib/components/TagSet/TagSetModal.d.ts +32 -26
- package/lib/components/TagSet/TagSetModal.js +3 -3
- package/lib/components/TagSet/TagSetOverflow.d.ts +45 -2
- package/lib/components/TagSet/TagSetOverflow.js +14 -12
- package/lib/components/WebTerminal/WebTerminal.js +2 -2
- package/lib/components/WebTerminal/WebTerminalContentWrapper.d.ts +15 -2
- package/lib/components/WebTerminal/hooks/index.d.ts +16 -11
- package/lib/components/WebTerminal/hooks/index.js +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/global/js/package-settings.d.ts +2 -1
- package/lib/global/js/package-settings.js +2 -1
- package/lib/index.js +5 -0
- package/lib/node_modules/@carbon/colors/es/index.js +6 -0
- package/lib/settings.d.ts +2 -1
- package/package.json +3 -3
- package/scss/components/Checklist/_carbon-imports.scss +2 -2
- package/scss/components/GetStartedCard/_carbon-imports.scss +9 -0
- package/scss/components/GetStartedCard/_get-started-card.scss +135 -0
- package/scss/components/GetStartedCard/_index-with-carbon.scss +9 -0
- package/scss/components/GetStartedCard/_index.scss +8 -0
- package/scss/components/TagOverflow/_tag-overflow.scss +157 -0
- package/scss/components/_index-released-only-with-carbon.scss +2 -1
- package/scss/components/_index-released-only.scss +2 -1
- package/scss/components/_index-with-carbon.scss +2 -0
- package/scss/components/_index.scss +1 -0
- package/telemetry.yml +28 -24
@@ -26,6 +26,7 @@ var defaults = {
|
|
26
26
|
AboutModal: true,
|
27
27
|
APIKeyModal: true,
|
28
28
|
Cascade: true,
|
29
|
+
Checklist: true,
|
29
30
|
CreateModal: true,
|
30
31
|
CreateFullPage: true,
|
31
32
|
CreateFullPageStep: true,
|
@@ -98,6 +99,7 @@ var defaults = {
|
|
98
99
|
FilterPanelLabel: false,
|
99
100
|
FilterPanelSearch: false,
|
100
101
|
ConditionBuilder: false,
|
102
|
+
GetStartedCard: false,
|
101
103
|
/* new component flags here - comment used by generate CLI */
|
102
104
|
|
103
105
|
// Novice to pro components not yet reviewed and released:
|
@@ -121,7 +123,6 @@ var defaults = {
|
|
121
123
|
/* new component flags here - comment used by generate CLI */
|
122
124
|
|
123
125
|
// Novice to pro components not yet reviewed and released:
|
124
|
-
Checklist: false,
|
125
126
|
EmptyStateV2: false,
|
126
127
|
Guidebanner: false,
|
127
128
|
GuidebannerElement: false,
|
package/lib/index.js
CHANGED
@@ -136,6 +136,7 @@ var FilterPanelGroup = require('./components/FilterPanel/FilterPanelGroup/Filter
|
|
136
136
|
var FilterPanelLabel = require('./components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js');
|
137
137
|
var FilterPanelSearch = require('./components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js');
|
138
138
|
var ConditionBuilder = require('./components/ConditionBuilder/ConditionBuilder.js');
|
139
|
+
var GetStartedCard = require('./components/GetStartedCard/GetStartedCard.js');
|
139
140
|
|
140
141
|
|
141
142
|
|
@@ -576,3 +577,7 @@ Object.defineProperty(exports, 'ConditionBuilder', {
|
|
576
577
|
enumerable: true,
|
577
578
|
get: function () { return ConditionBuilder.ConditionBuilder; }
|
578
579
|
});
|
580
|
+
Object.defineProperty(exports, 'GetStartedCard', {
|
581
|
+
enumerable: true,
|
582
|
+
get: function () { return GetStartedCard.GetStartedCard; }
|
583
|
+
});
|
@@ -9,8 +9,14 @@
|
|
9
9
|
|
10
10
|
Object.defineProperty(exports, '__esModule', { value: true });
|
11
11
|
|
12
|
+
var purple50 = '#a56eff';
|
12
13
|
var purple70 = '#6929c4';
|
13
14
|
var blue90 = '#001d6c';
|
15
|
+
var gray20 = '#e0e0e0';
|
16
|
+
var gray70 = '#525252';
|
14
17
|
|
15
18
|
exports.blue90 = blue90;
|
19
|
+
exports.gray20 = gray20;
|
20
|
+
exports.gray70 = gray70;
|
21
|
+
exports.purple50 = purple50;
|
16
22
|
exports.purple70 = purple70;
|
package/lib/settings.d.ts
CHANGED
@@ -10,6 +10,7 @@ export const pkg: {
|
|
10
10
|
AboutModal: boolean;
|
11
11
|
APIKeyModal: boolean;
|
12
12
|
Cascade: boolean;
|
13
|
+
Checklist: boolean;
|
13
14
|
CreateModal: boolean;
|
14
15
|
CreateFullPage: boolean;
|
15
16
|
CreateFullPageStep: boolean;
|
@@ -81,6 +82,7 @@ export const pkg: {
|
|
81
82
|
FilterPanelLabel: boolean;
|
82
83
|
FilterPanelSearch: boolean;
|
83
84
|
ConditionBuilder: boolean;
|
85
|
+
GetStartedCard: boolean;
|
84
86
|
Coachmark: boolean;
|
85
87
|
CoachmarkBeacon: boolean;
|
86
88
|
CoachmarkButton: boolean;
|
@@ -98,7 +100,6 @@ export const pkg: {
|
|
98
100
|
DescriptionListRow: boolean;
|
99
101
|
SearchBar: boolean;
|
100
102
|
UserAvatar: boolean;
|
101
|
-
Checklist: boolean;
|
102
103
|
EmptyStateV2: boolean;
|
103
104
|
Guidebanner: boolean;
|
104
105
|
GuidebannerElement: 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.
|
4
|
+
"version": "2.39.0",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "lib/index.js",
|
7
7
|
"module": "es/index.js",
|
@@ -92,7 +92,7 @@
|
|
92
92
|
},
|
93
93
|
"dependencies": {
|
94
94
|
"@babel/runtime": "^7.23.9",
|
95
|
-
"@carbon/ibm-products-styles": "^2.
|
95
|
+
"@carbon/ibm-products-styles": "^2.37.0",
|
96
96
|
"@carbon/telemetry": "^0.1.0",
|
97
97
|
"@dnd-kit/core": "^6.0.8",
|
98
98
|
"@dnd-kit/modifiers": "^7.0.0",
|
@@ -116,5 +116,5 @@
|
|
116
116
|
"react": "^16.8.6 || ^17.0.1 || ^18.2.0",
|
117
117
|
"react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0"
|
118
118
|
},
|
119
|
-
"gitHead": "
|
119
|
+
"gitHead": "90e3441d8fdfc65023988bd734089c72fba0799b"
|
120
120
|
}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
//
|
2
|
-
// Copyright IBM Corp. 2020,
|
2
|
+
// Copyright IBM Corp. 2020, 2024
|
3
3
|
//
|
4
4
|
// This source code is licensed under the Apache-2.0 license found in the
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
6
6
|
//
|
7
7
|
|
8
|
-
//
|
8
|
+
// Checklist uses the following Carbon components:
|
9
9
|
// Button, IconButton
|
10
10
|
|
11
11
|
@use '@carbon/react/scss/components/button';
|
@@ -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 GetStartedCard in this file.
|
9
|
+
// GetStartedCard uses the following Carbon components:
|
@@ -0,0 +1,135 @@
|
|
1
|
+
/* stylelint-disable carbon/layout-token-use */
|
2
|
+
/* stylelint-disable max-nesting-depth */
|
3
|
+
//
|
4
|
+
// Copyright IBM Corp. 2024, 2024
|
5
|
+
//
|
6
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
7
|
+
// LICENSE file in the root directory of this source tree.
|
8
|
+
//
|
9
|
+
|
10
|
+
// Standard imports.
|
11
|
+
@use '../../global/styles/project-settings' as c4p-settings;
|
12
|
+
@use '../../global/styles/mixins';
|
13
|
+
@use '@carbon/styles/scss/spacing' as *;
|
14
|
+
@use '@carbon/styles/scss/type' as *;
|
15
|
+
@use '@carbon/styles/scss/theme' as *;
|
16
|
+
@use '@carbon/react/scss/colors' as *;
|
17
|
+
@use '@carbon/layout/scss/convert' as *;
|
18
|
+
@use '@carbon/styles/scss/breakpoint' as *;
|
19
|
+
|
20
|
+
$block-class: #{c4p-settings.$pkg-prefix}--card;
|
21
|
+
|
22
|
+
.#{$block-class}__get-started {
|
23
|
+
border-width: 1px;
|
24
|
+
border-style: solid;
|
25
|
+
background: linear-gradient(to bottom, $purple-80 40%, $purple-70);
|
26
|
+
border-image: linear-gradient(to bottom, $purple-60, $purple-50) 1;
|
27
|
+
color: $text-on-color;
|
28
|
+
|
29
|
+
&:hover {
|
30
|
+
background: linear-gradient($purple-70-hover, $purple-70-hover);
|
31
|
+
}
|
32
|
+
|
33
|
+
&:focus {
|
34
|
+
border: 2px solid $focus;
|
35
|
+
outline: 1px solid $focus-inset;
|
36
|
+
outline-offset: -3px;
|
37
|
+
}
|
38
|
+
|
39
|
+
.#{$block-class}__sequence {
|
40
|
+
@include type-style('heading-05');
|
41
|
+
|
42
|
+
padding-top: $spacing-05;
|
43
|
+
padding-left: $spacing-05;
|
44
|
+
}
|
45
|
+
|
46
|
+
.#{$block-class}__status {
|
47
|
+
position: absolute;
|
48
|
+
z-index: 2;
|
49
|
+
top: $spacing-05;
|
50
|
+
right: $spacing-05;
|
51
|
+
}
|
52
|
+
|
53
|
+
.#{$block-class}__header-body-container {
|
54
|
+
display: flex;
|
55
|
+
}
|
56
|
+
|
57
|
+
.#{$block-class}__header {
|
58
|
+
padding-right: $spacing-09;
|
59
|
+
|
60
|
+
@include breakpoint-down(lg) {
|
61
|
+
padding-bottom: 0;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
.#{$block-class}__body {
|
66
|
+
@include breakpoint-down(lg) {
|
67
|
+
padding: 0;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
.#{$block-class}__media {
|
71
|
+
align-content: center;
|
72
|
+
|
73
|
+
@include breakpoint-down(lg) {
|
74
|
+
display: none;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
.#{$block-class}__pictogram ~ .#{$block-class}__content-container {
|
79
|
+
.#{$block-class}__media {
|
80
|
+
/* stylelint-disable-next-line function-no-unknown */
|
81
|
+
margin-top: to-rem(-50px);
|
82
|
+
margin-bottom: -$spacing-09;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
.#{$block-class}__sequence ~ .#{$block-class}__content-container {
|
87
|
+
.#{$block-class}__media {
|
88
|
+
/* stylelint-disable-next-line function-no-unknown */
|
89
|
+
margin-top: to-rem(-56px);
|
90
|
+
margin-bottom: -$spacing-09;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
//meta-data
|
95
|
+
.#{$block-class}__actions {
|
96
|
+
padding: $spacing-05;
|
97
|
+
gap: $spacing-04;
|
98
|
+
@include type-style('label-01');
|
99
|
+
|
100
|
+
.#{$block-class}__icon {
|
101
|
+
display: flex;
|
102
|
+
padding: 0;
|
103
|
+
margin-right: 0;
|
104
|
+
}
|
105
|
+
|
106
|
+
.#{$block-class}__icon svg {
|
107
|
+
margin-right: $spacing-02;
|
108
|
+
}
|
109
|
+
|
110
|
+
.#{$block-class}__icon:hover {
|
111
|
+
background: none;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
.#{$block-class}__footer {
|
116
|
+
position: relative;
|
117
|
+
z-index: 1;
|
118
|
+
justify-content: space-between;
|
119
|
+
border: none;
|
120
|
+
|
121
|
+
.#{$block-class}__action-icon {
|
122
|
+
display: flex;
|
123
|
+
align-self: center;
|
124
|
+
padding-right: $spacing-05;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
.#{$block-class}__disabled:focus,
|
129
|
+
.#{$block-class}__disabled:hover,
|
130
|
+
.#{$block-class}__disabled {
|
131
|
+
border: 1px solid $border-disabled;
|
132
|
+
background: $layer-02;
|
133
|
+
color: $text-disabled;
|
134
|
+
cursor: default;
|
135
|
+
}
|
@@ -9,6 +9,9 @@
|
|
9
9
|
@use '../../global/styles/project-settings' as c4p-settings;
|
10
10
|
@use '../../global/styles/mixins';
|
11
11
|
@use '@carbon/styles/scss/spacing' as *;
|
12
|
+
@use '@carbon/styles/scss/breakpoint' as *;
|
13
|
+
@use '@carbon/styles/scss/theme' as *;
|
14
|
+
@use '@carbon/styles/scss/type';
|
12
15
|
|
13
16
|
// Other Carbon settings if needed
|
14
17
|
// TODO: @use '@carbon/styles/scss/grid';
|
@@ -20,15 +23,26 @@
|
|
20
23
|
|
21
24
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
22
25
|
$block-class: #{c4p-settings.$pkg-prefix}--tag-overflow;
|
26
|
+
$block-class-overflow: #{$block-class}-popover;
|
27
|
+
$block-class-modal: #{$block-class}-modal;
|
23
28
|
|
24
29
|
.#{$block-class} {
|
25
30
|
display: flex;
|
26
31
|
width: 100%;
|
27
32
|
min-width: $spacing-12;
|
28
33
|
align-items: center;
|
34
|
+
justify-content: flex-start;
|
29
35
|
white-space: nowrap;
|
30
36
|
}
|
31
37
|
|
38
|
+
.#{$block-class}--align-end {
|
39
|
+
justify-content: flex-end;
|
40
|
+
}
|
41
|
+
|
42
|
+
.#{$block-class}--align-center {
|
43
|
+
justify-content: center;
|
44
|
+
}
|
45
|
+
|
32
46
|
.#{$block-class}--multiline {
|
33
47
|
flex-wrap: wrap;
|
34
48
|
}
|
@@ -53,3 +67,146 @@ $block-class: #{c4p-settings.$pkg-prefix}--tag-overflow;
|
|
53
67
|
display: inline-block;
|
54
68
|
max-width: $spacing-09;
|
55
69
|
}
|
70
|
+
|
71
|
+
.#{$block-class-overflow} {
|
72
|
+
display: inline-block;
|
73
|
+
vertical-align: bottom;
|
74
|
+
.#{c4p-settings.$carbon-prefix}--tag.#{c4p-settings.$carbon-prefix}--tag--interactive {
|
75
|
+
border: 0;
|
76
|
+
}
|
77
|
+
|
78
|
+
.#{c4p-settings.$carbon-prefix}--popover
|
79
|
+
.#{c4p-settings.$carbon-prefix}--popover-content {
|
80
|
+
padding: $spacing-05;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
.#{$block-class-overflow}--hidden {
|
85
|
+
overflow: hidden;
|
86
|
+
max-width: 0;
|
87
|
+
visibility: hidden;
|
88
|
+
}
|
89
|
+
|
90
|
+
@include mixins.block-wrap('#{$block-class-overflow}__el') {
|
91
|
+
&.#{$block-class-overflow}__el {
|
92
|
+
// removes the min width in Carbon
|
93
|
+
min-width: initial;
|
94
|
+
text-align: left;
|
95
|
+
}
|
96
|
+
|
97
|
+
.#{$block-class-overflow}__trigger {
|
98
|
+
font-family: inherit;
|
99
|
+
}
|
100
|
+
|
101
|
+
.#{$block-class-overflow}__show-all-tags-link.#{c4p-settings.$carbon-prefix}--link:visited {
|
102
|
+
display: inline-block;
|
103
|
+
margin: $spacing-03 0 $spacing-02; // to match the tags
|
104
|
+
color: $link-inverse;
|
105
|
+
}
|
106
|
+
|
107
|
+
.#{c4p-settings.$carbon-prefix}--link:active,
|
108
|
+
.#{c4p-settings.$carbon-prefix}--link:active:visited,
|
109
|
+
.#{c4p-settings.$carbon-prefix}--link:active:visited:hover {
|
110
|
+
color: $text-inverse;
|
111
|
+
}
|
112
|
+
|
113
|
+
.#{$block-class-overflow}__tag-list {
|
114
|
+
display: flex;
|
115
|
+
flex-direction: column;
|
116
|
+
}
|
117
|
+
|
118
|
+
.#{$block-class-overflow}__show-all-tags-link {
|
119
|
+
margin-top: $spacing-03;
|
120
|
+
color: $link-inverse;
|
121
|
+
}
|
122
|
+
|
123
|
+
.#{$block-class-overflow}__tag-item.#{$block-class-overflow}__tag-item--tag
|
124
|
+
.#{c4p-settings.$carbon-prefix}--tag {
|
125
|
+
background-color: $background-inverse-hover;
|
126
|
+
}
|
127
|
+
|
128
|
+
.#{$block-class-overflow}__tag-item.#{$block-class-overflow}__tag-item--default,
|
129
|
+
.#{$block-class-overflow}__tag-item.#{$block-class-overflow}__tag-item--default
|
130
|
+
.#{c4p-settings.$carbon-prefix}--tag {
|
131
|
+
@include type.type-style('body-compact-01');
|
132
|
+
|
133
|
+
display: block;
|
134
|
+
overflow: hidden;
|
135
|
+
min-width: initial;
|
136
|
+
min-height: initial;
|
137
|
+
padding: 0;
|
138
|
+
border-radius: 0;
|
139
|
+
margin: 0;
|
140
|
+
background-color: inherit;
|
141
|
+
color: inherit;
|
142
|
+
text-overflow: ellipsis;
|
143
|
+
white-space: nowrap;
|
144
|
+
}
|
145
|
+
|
146
|
+
.#{$block-class-overflow}__tag
|
147
|
+
.#{c4p-settings.$carbon-prefix}--tag__close-icon {
|
148
|
+
// undo override by .#{c4p-settings.$carbon-prefix}--tooltip button
|
149
|
+
padding: 0;
|
150
|
+
}
|
151
|
+
|
152
|
+
.#{$block-class-overflow}__tag
|
153
|
+
.#{c4p-settings.$carbon-prefix}--tag--high-contrast {
|
154
|
+
background-color: $background;
|
155
|
+
color: $text-primary;
|
156
|
+
}
|
157
|
+
|
158
|
+
.#{$block-class-overflow}__tag
|
159
|
+
.#{c4p-settings.$carbon-prefix}--tag__close-icon:hover {
|
160
|
+
background-color: $background-hover;
|
161
|
+
}
|
162
|
+
|
163
|
+
.#{$block-class-overflow}__tag
|
164
|
+
.#{c4p-settings.$carbon-prefix}--tag__close-icon:focus {
|
165
|
+
box-shadow: inset 0 0 0 $spacing-01 $focus;
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
@include mixins.block-wrap('#{$block-class-modal}') {
|
170
|
+
&.#{$block-class-modal} {
|
171
|
+
// not to be overridden by use in tag set
|
172
|
+
text-align: initial;
|
173
|
+
white-space: initial;
|
174
|
+
}
|
175
|
+
|
176
|
+
.#{$block-class-modal}__container {
|
177
|
+
@include breakpoint(md) {
|
178
|
+
height: 90%;
|
179
|
+
max-height: 450px;
|
180
|
+
}
|
181
|
+
}
|
182
|
+
|
183
|
+
.#{$block-class-modal}__search {
|
184
|
+
margin-top: $spacing-05;
|
185
|
+
margin-bottom: 0;
|
186
|
+
}
|
187
|
+
|
188
|
+
&.#{$block-class-modal} .#{$block-class-modal}__fade {
|
189
|
+
position: relative;
|
190
|
+
margin-right: $spacing-05;
|
191
|
+
margin-left: $spacing-05;
|
192
|
+
}
|
193
|
+
|
194
|
+
.#{$block-class-modal}__body {
|
195
|
+
padding-bottom: $spacing-06;
|
196
|
+
}
|
197
|
+
|
198
|
+
.#{$block-class-modal}__header {
|
199
|
+
padding-right: 0;
|
200
|
+
margin-right: $spacing-05;
|
201
|
+
}
|
202
|
+
|
203
|
+
&.#{$block-class-modal} .#{$block-class-modal}__fade::after {
|
204
|
+
position: absolute;
|
205
|
+
top: calc(-1 * #{$spacing-11});
|
206
|
+
left: 0;
|
207
|
+
width: 100%;
|
208
|
+
height: $spacing-07;
|
209
|
+
background: linear-gradient(to bottom, transparent, $layer-01);
|
210
|
+
content: '';
|
211
|
+
}
|
212
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
//
|
2
|
-
// Copyright IBM Corp. 2020,
|
2
|
+
// Copyright IBM Corp. 2020, 2024
|
3
3
|
//
|
4
4
|
// This source code is licensed under the Apache-2.0 license found in the
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
@@ -12,6 +12,7 @@
|
|
12
12
|
@use './APIKeyModal/index-with-carbon' as *;
|
13
13
|
@use './ActionSet/index-with-carbon' as *;
|
14
14
|
@use './Cascade/index-with-carbon' as *;
|
15
|
+
@use './Checklist/index-with-carbon' as *;
|
15
16
|
@use './CreateModal/index-with-carbon' as *;
|
16
17
|
@use './CreateFullPage/index-with-carbon' as *;
|
17
18
|
@use './CreateSidePanel/index-with-carbon' as *;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
//
|
2
|
-
// Copyright IBM Corp. 2020,
|
2
|
+
// Copyright IBM Corp. 2020, 2024
|
3
3
|
//
|
4
4
|
// This source code is licensed under the Apache-2.0 license found in the
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
@@ -12,6 +12,7 @@
|
|
12
12
|
@use './APIKeyModal';
|
13
13
|
@use './ActionSet';
|
14
14
|
@use './Cascade';
|
15
|
+
@use './Checklist';
|
15
16
|
@use './CreateModal';
|
16
17
|
@use './CreateFullPage';
|
17
18
|
@use './CreateSidePanel';
|
@@ -14,6 +14,7 @@
|
|
14
14
|
@use './ActionSet/index-with-carbon' as *;
|
15
15
|
@use './ButtonMenu/index-with-carbon' as *;
|
16
16
|
@use './Cascade/index-with-carbon' as *;
|
17
|
+
@use './Checklist/index-with-carbon' as *;
|
17
18
|
@use './ComboButton/index-with-carbon' as *;
|
18
19
|
@use './CreateFullPage/index-with-carbon' as *;
|
19
20
|
@use './CreateModal/index-with-carbon' as *;
|
@@ -75,3 +76,4 @@
|
|
75
76
|
@use './TagOverflow/index-with-carbon' as *;
|
76
77
|
@use './FilterPanel/index-with-carbon' as *;
|
77
78
|
@use './ConditionBuilder/index-with-carbon' as *;
|
79
|
+
@use './GetStartedCard/index-with-carbon' as *;
|