@carbon/ibm-products 1.37.0 → 1.38.0
Sign up to get free protection for your applications and to get access to all the features.
- package/css/index-full-carbon.css +11036 -10803
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css +2 -2
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +59 -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 +148 -23
- 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 +3655 -1828
- 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/AddSelect/AddSelect.js +5 -2
- package/es/components/AddSelect/AddSelectBody.js +41 -22
- package/es/components/AddSelect/AddSelectColumn.js +2 -2
- package/es/components/AddSelect/AddSelectFilter.js +4 -2
- package/es/components/AddSelect/AddSelectList.js +7 -5
- package/es/components/AddSelect/AddSelectMetaPanel.js +7 -0
- package/es/components/AddSelect/AddSelectSidebar.js +4 -1
- package/es/components/AddSelect/add-select-utils.js +7 -0
- package/es/components/AddSelect/hooks/useItemSort.js +7 -0
- package/es/components/AddSelect/hooks/useParentSelect.js +7 -0
- package/es/components/AddSelect/hooks/usePath.js +15 -1
- package/es/components/AddSelect/index.js +1 -1
- package/es/components/InlineEditV1/InlineEditV1.js +0 -3
- package/es/components/InlineEditV2/InlineEditV2.js +0 -1
- package/es/components/MultiAddSelect/MultiAddSelect.js +14 -6
- package/es/components/MultiAddSelect/index.js +7 -0
- package/es/components/SingleAddSelect/SingleAddSelect.js +13 -2
- package/es/components/SingleAddSelect/index.js +7 -0
- package/es/components/index.js +1 -2
- package/es/global/js/package-settings.js +1 -3
- package/lib/components/AddSelect/AddSelect.js +5 -2
- package/lib/components/AddSelect/AddSelectBody.js +40 -21
- package/lib/components/AddSelect/AddSelectColumn.js +2 -2
- package/lib/components/AddSelect/AddSelectFilter.js +4 -2
- package/lib/components/AddSelect/AddSelectList.js +6 -4
- package/lib/components/AddSelect/AddSelectMetaPanel.js +7 -0
- package/lib/components/AddSelect/AddSelectSidebar.js +4 -1
- package/lib/components/AddSelect/add-select-utils.js +7 -0
- package/lib/components/AddSelect/hooks/useItemSort.js +7 -0
- package/lib/components/AddSelect/hooks/useParentSelect.js +7 -0
- package/lib/components/AddSelect/hooks/usePath.js +8 -1
- package/lib/components/InlineEditV1/InlineEditV1.js +1 -4
- package/lib/components/InlineEditV2/InlineEditV2.js +0 -1
- package/lib/components/MultiAddSelect/MultiAddSelect.js +14 -6
- package/lib/components/SingleAddSelect/SingleAddSelect.js +13 -2
- package/lib/components/index.js +1 -8
- package/lib/global/js/package-settings.js +1 -3
- package/package.json +2 -2
- package/scss/components/AddSelect/_add-select.scss +37 -29
- package/scss/components/AddSelect/_index.scss +1 -1
- package/scss/components/AddSelect/_storybook-styles.scss +1 -1
- package/scss/components/MultiAddSelect/_index.scss +7 -0
- package/scss/components/MultiAddSelect/_multi-add-select.scss +7 -0
- package/scss/components/MultiAddSelect/_storybook-styles.scss +1 -1
- package/scss/components/SingleAddSelect/_index.scss +7 -0
- package/scss/components/SingleAddSelect/_single-add-select.scss +7 -0
- package/scss/components/SingleAddSelect/_storybook-styles.scss +1 -1
- package/scss/components/_index-released-only.scss +1 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
//
|
2
|
-
// Copyright IBM Corp.
|
2
|
+
// Copyright IBM Corp. 2022
|
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.
|
@@ -8,7 +8,19 @@
|
|
8
8
|
// Standard imports.
|
9
9
|
@import '../../global/styles/project-settings';
|
10
10
|
|
11
|
+
@import '../Tearsheet/index';
|
12
|
+
@import '../CreateInfluencer/index';
|
13
|
+
|
14
|
+
@import 'carbon-components/scss/components/accordion/accordion';
|
15
|
+
@import 'carbon-components/scss/components/breadcrumb/breadcrumb';
|
16
|
+
@import 'carbon-components/scss/components/button/button';
|
17
|
+
@import 'carbon-components/scss/components/checkbox/checkbox';
|
18
|
+
@import 'carbon-components/scss/components/dropdown/dropdown';
|
19
|
+
@import 'carbon-components/scss/components/overflow-menu/overflow-menu';
|
20
|
+
@import 'carbon-components/scss/components/radio-button/radio-button';
|
21
|
+
@import 'carbon-components/scss/components/search/search';
|
11
22
|
@import 'carbon-components/scss/components/structured-list/structured-list';
|
23
|
+
@import 'carbon-components/scss/components/tag/tag';
|
12
24
|
|
13
25
|
@mixin add-select {
|
14
26
|
$block-class: #{$pkg-prefix}--add-select;
|
@@ -60,7 +72,9 @@
|
|
60
72
|
justify-content: center;
|
61
73
|
}
|
62
74
|
|
63
|
-
&-cell:hover .#{$block-class}__selections-hidden-hover
|
75
|
+
&-cell:hover .#{$block-class}__selections-hidden-hover,
|
76
|
+
.#{$carbon-prefix}--structured-list-row:focus-within
|
77
|
+
.#{$block-class}__selections-hidden-hover {
|
64
78
|
visibility: visible;
|
65
79
|
}
|
66
80
|
|
@@ -68,7 +82,7 @@
|
|
68
82
|
visibility: hidden;
|
69
83
|
}
|
70
84
|
|
71
|
-
&-row
|
85
|
+
&-row--selected.#{$carbon-prefix}--structured-list-row {
|
72
86
|
border-bottom: 1px solid $selected-ui;
|
73
87
|
background-color: $selected-ui;
|
74
88
|
}
|
@@ -108,7 +122,7 @@
|
|
108
122
|
border-left: 0.125rem solid transparent;
|
109
123
|
}
|
110
124
|
|
111
|
-
&-row-meta
|
125
|
+
&-row-meta--selected {
|
112
126
|
border-left: 0.125rem solid $interactive-04;
|
113
127
|
background-color: $hover-row;
|
114
128
|
}
|
@@ -130,13 +144,6 @@
|
|
130
144
|
}
|
131
145
|
}
|
132
146
|
|
133
|
-
.#{$block-class}
|
134
|
-
#{$carbon-prefix}--structured-list--selection
|
135
|
-
.#{$block-class}__selections-row-selected#{$carbon-prefix}--structured-list-row:hover:not(#{$carbon-prefix}--structured-list-row--header-row):not(#{$carbon-prefix}--structured-list-row--selected) {
|
136
|
-
border-bottom: 1px solid $hover-selected-ui;
|
137
|
-
background-color: $hover-selected-ui;
|
138
|
-
}
|
139
|
-
|
140
147
|
.#{$block-class}__sub-header {
|
141
148
|
display: flex;
|
142
149
|
align-items: flex-end;
|
@@ -147,13 +154,10 @@
|
|
147
154
|
}
|
148
155
|
}
|
149
156
|
|
150
|
-
.#{$block-class}
|
151
|
-
border-bottom: 0;
|
152
|
-
}
|
153
|
-
|
157
|
+
.#{$block-class} .#{$carbon-prefix}--structured-list-row,
|
154
158
|
.#{$block-class}
|
155
|
-
|
156
|
-
|
159
|
+
.#{$block-class}__selections.#{$carbon-prefix}--structured-list--selection
|
160
|
+
.#{$carbon-prefix}--structured-list-row:hover:not(.#{$carbon-prefix}--structured-list-row--header-row):not(.#{$carbon-prefix}--structured-list-row--selected) {
|
157
161
|
border-bottom: 0;
|
158
162
|
}
|
159
163
|
|
@@ -224,7 +228,7 @@
|
|
224
228
|
margin-left: $spacing-03;
|
225
229
|
}
|
226
230
|
|
227
|
-
.#{$block-class}__selections-row
|
231
|
+
.#{$block-class}__selections-row.#{$carbon-prefix}--structured-list-row {
|
228
232
|
border-left: 0;
|
229
233
|
}
|
230
234
|
|
@@ -237,7 +241,7 @@
|
|
237
241
|
padding: 0 $spacing-03;
|
238
242
|
}
|
239
243
|
|
240
|
-
.#{$block-class}
|
244
|
+
.#{$block-class}__tags {
|
241
245
|
padding: 0 $spacing-03;
|
242
246
|
margin-bottom: 0;
|
243
247
|
}
|
@@ -246,7 +250,7 @@
|
|
246
250
|
padding: 0;
|
247
251
|
}
|
248
252
|
|
249
|
-
.#{$block-class}__selections
|
253
|
+
.#{$block-class}__selections.#{$carbon-prefix}--structured-list {
|
250
254
|
border-top: 0;
|
251
255
|
}
|
252
256
|
}
|
@@ -284,7 +288,7 @@
|
|
284
288
|
}
|
285
289
|
}
|
286
290
|
|
287
|
-
.#{$block-class}
|
291
|
+
.#{$block-class}__tags {
|
288
292
|
display: flex;
|
289
293
|
align-items: center;
|
290
294
|
margin-top: $spacing-05;
|
@@ -375,7 +379,11 @@
|
|
375
379
|
|
376
380
|
// overrides
|
377
381
|
|
378
|
-
.#{$block-class}
|
382
|
+
.#{$block-class}__selections .#{$carbon-prefix}--list-box__menu {
|
383
|
+
left: auto;
|
384
|
+
}
|
385
|
+
|
386
|
+
.#{$block-class}__tags .#{$carbon-prefix}--tag {
|
379
387
|
margin: 0;
|
380
388
|
}
|
381
389
|
|
@@ -440,7 +448,7 @@
|
|
440
448
|
|
441
449
|
.#{$block-class}__multi .#{$pkg-prefix}--empty-state {
|
442
450
|
max-width: 16rem;
|
443
|
-
margin-top: $
|
451
|
+
margin-top: $spacing-09;
|
444
452
|
}
|
445
453
|
|
446
454
|
.#{$block-class} .#{$carbon-prefix}--accordion__arrow {
|
@@ -454,20 +462,20 @@
|
|
454
462
|
}
|
455
463
|
|
456
464
|
.#{$block-class}
|
457
|
-
|
458
|
-
|
465
|
+
.#{$carbon-prefix}--accordion--start
|
466
|
+
.#{$carbon-prefix}--accordion__arrow {
|
459
467
|
margin: 0 0 0 $spacing-05;
|
460
468
|
}
|
461
469
|
|
462
470
|
.#{$block-class}
|
463
|
-
|
464
|
-
|
471
|
+
.#{$carbon-prefix}--accordion--start
|
472
|
+
.#{$carbon-prefix}--accordion__title {
|
465
473
|
margin: 0 $spacing-05 0 $spacing-03;
|
466
474
|
}
|
467
475
|
|
468
476
|
.#{$block-class}
|
469
|
-
|
470
|
-
|
477
|
+
.#{$carbon-prefix}--accordion__item--active
|
478
|
+
.#{$carbon-prefix}--accordion__content {
|
471
479
|
padding-top: 0;
|
472
480
|
padding-bottom: 0;
|
473
481
|
margin-top: $spacing-03;
|