@carbon/ibm-products 2.0.0-rc.22 → 2.0.0-rc.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/index-full-carbon.css +8 -16
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css +3 -3
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +2 -11
- package/css/index-without-carbon-released-only.css.map +1 -1
- package/css/index-without-carbon-released-only.min.css +2 -2
- package/css/index-without-carbon-released-only.min.css.map +1 -1
- package/css/index-without-carbon.css +8 -16
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css +3 -3
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +74 -11
- package/css/index.css.map +1 -1
- package/css/index.min.css +3 -3
- package/css/index.min.css.map +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +4 -2
- package/es/components/PageHeader/PageHeaderTitle.js +1 -0
- package/es/components/SidePanel/SidePanel.js +14 -5
- package/es/components/Tearsheet/TearsheetShell.js +6 -4
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +3 -1
- package/lib/components/PageHeader/PageHeaderTitle.js +1 -0
- package/lib/components/SidePanel/SidePanel.js +14 -5
- package/lib/components/Tearsheet/TearsheetShell.js +4 -2
- package/package.json +2 -2
- package/scss/components/Datagrid/styles/_useInlineEdit.scss +4 -0
- package/scss/components/InlineEditV1/_inline-edit-v1.scss +1 -3
- package/scss/components/Tearsheet/_carbon-imports.scss +2 -1
- package/scss/components/Tearsheet/_tearsheet.scss +4 -5
@@ -267,11 +267,13 @@ var TearsheetShell = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref)
|
|
267
267
|
}, influencer), /*#__PURE__*/_react.default.createElement(_Wrap.Wrap, {
|
268
268
|
className: "".concat(bc, "__right")
|
269
269
|
}, /*#__PURE__*/_react.default.createElement(_Wrap.Wrap, {
|
270
|
+
className: "".concat(bc, "__main"),
|
270
271
|
alwaysRender: includeActions,
|
271
|
-
|
272
|
+
element: _react2.Layer
|
272
273
|
}, /*#__PURE__*/_react.default.createElement(_Wrap.Wrap, {
|
274
|
+
className: "".concat(bc, "__content"),
|
273
275
|
alwaysRender: influencer && influencerPosition === 'right',
|
274
|
-
|
276
|
+
element: _react2.Layer
|
275
277
|
}, children), /*#__PURE__*/_react.default.createElement(_Wrap.Wrap, {
|
276
278
|
className: (0, _classnames.default)((_cx6 = {}, (0, _defineProperty2.default)(_cx6, "".concat(bc, "__influencer"), true), (0, _defineProperty2.default)(_cx6, "".concat(bc, "__influencer--wide"), influencerWidth === 'wide'), _cx6)),
|
277
279
|
neverRender: influencerPosition !== 'right'
|
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.0.0-rc.
|
4
|
+
"version": "2.0.0-rc.23",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "lib/index.js",
|
7
7
|
"module": "es/index.js",
|
@@ -94,5 +94,5 @@
|
|
94
94
|
"react": "^16.8.6 || ^17.0.1",
|
95
95
|
"react-dom": "^16.8.6 || ^17.0.1"
|
96
96
|
},
|
97
|
-
"gitHead": "
|
97
|
+
"gitHead": "9c7b2779466691e363e1c111f7049aa52623aba9"
|
98
98
|
}
|
@@ -409,6 +409,10 @@ $row-heights: (
|
|
409
409
|
outline-color: $support-error;
|
410
410
|
}
|
411
411
|
|
412
|
+
.#{variables.$block-class} .#{c4p-settings.$carbon-prefix}--text-input:focus {
|
413
|
+
background: $field-01;
|
414
|
+
}
|
415
|
+
|
412
416
|
.#{variables.$block-class}
|
413
417
|
.#{variables.$block-class}__inline-edit--outer-cell-button--invalid
|
414
418
|
.#{c4p-settings.$carbon-prefix}--number
|
@@ -34,8 +34,6 @@
|
|
34
34
|
|
35
35
|
@mixin input-button-defaults($block-class) {
|
36
36
|
display: inline-flex;
|
37
|
-
width: var(--#{$block-class}--size);
|
38
|
-
max-width: var(--#{$block-class}--size);
|
39
37
|
height: 100%;
|
40
38
|
min-height: initial;
|
41
39
|
max-height: var(--#{$block-class}--size);
|
@@ -194,7 +192,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--inline-edit;
|
|
194
192
|
right: 0;
|
195
193
|
display: flex;
|
196
194
|
// width: room for validation, and two buttons
|
197
|
-
width: var(--#{$block-class}--toolbar-width);
|
195
|
+
// width: var(--#{$block-class}--toolbar-width);
|
198
196
|
height: 100%;
|
199
197
|
justify-content: space-between;
|
200
198
|
cursor: text;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
//
|
2
|
-
// Copyright IBM Corp. 2022,
|
2
|
+
// Copyright IBM Corp. 2022, 2023
|
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,3 +8,4 @@
|
|
8
8
|
// Tearsheets use the following Carbon components:
|
9
9
|
// Button, ComposedModal, ModalHeader, ModalBody,
|
10
10
|
@use '@carbon/react/scss/components/modal';
|
11
|
+
@use '@carbon/react/scss/layer';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
//
|
2
|
-
// Copyright IBM Corp. 2020,
|
2
|
+
// Copyright IBM Corp. 2020, 2023
|
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.
|
@@ -266,6 +266,7 @@ $motion-duration: $duration-moderate-02;
|
|
266
266
|
.#{$block-class}__main {
|
267
267
|
display: flex;
|
268
268
|
flex-direction: row;
|
269
|
+
background-color: $layer;
|
269
270
|
grid-column: 1 / -1;
|
270
271
|
grid-row: 1 / -1;
|
271
272
|
}
|
@@ -281,9 +282,7 @@ $motion-duration: $duration-moderate-02;
|
|
281
282
|
}
|
282
283
|
|
283
284
|
&.#{$block-class}--wide .#{$block-class}__content {
|
284
|
-
background
|
285
|
-
|
286
|
-
// revert the background color overridden by #{$carbon-prefix}--modal styles
|
285
|
+
// Revert background color overridden by Carbon's modal - https://github.com/carbon-design-system/carbon/blob/main/packages/styles/scss/components/modal/_modal.scss#L54
|
287
286
|
.#{$carbon-prefix}--pagination,
|
288
287
|
.#{$carbon-prefix}--pagination__control-buttons,
|
289
288
|
.#{$carbon-prefix}--text-input,
|
@@ -294,7 +293,7 @@ $motion-duration: $duration-moderate-02;
|
|
294
293
|
.#{$carbon-prefix}--dropdown-list,
|
295
294
|
.#{$carbon-prefix}--number input[type='number'],
|
296
295
|
.#{$carbon-prefix}--date-picker__input {
|
297
|
-
background-color: $field
|
296
|
+
background-color: $field;
|
298
297
|
}
|
299
298
|
|
300
299
|
.#{$carbon-prefix}--select--inline .#{$carbon-prefix}--select-input {
|