@carbon/ibm-products 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +0 -3
- package/css/index-full-carbon.css +1543 -529
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css +5 -5
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +12 -0
- 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 +77 -187
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css +4 -4
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +194 -187
- package/css/index.css.map +1 -1
- package/css/index.min.css +5 -5
- package/css/index.min.css.map +1 -1
- package/es/components/AddSelect/AddSelect.js +63 -12
- package/es/components/AddSelect/AddSelectColumn.js +58 -22
- package/es/components/AddSelect/AddSelectList.js +38 -18
- package/es/components/AddSelect/AddSelectSidebar.js +2 -1
- package/es/components/ButtonMenu/ButtonMenu.js +11 -3
- package/es/components/CreateFullPage/CreateFullPageStep.js +4 -4
- package/es/components/CreateTearsheet/CreateTearsheetStep.js +4 -4
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +107 -89
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +93 -20
- package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +50 -2
- package/es/components/DataSpreadsheet/utils/handleHeaderCellSelection.js +3 -1
- package/es/components/ImportModal/ImportModal.js +2 -2
- package/es/components/UserProfileImage/UserProfileImage.js +1 -1
- package/es/components/index.js +0 -1
- package/es/global/js/package-settings.js +1 -2
- package/lib/components/AddSelect/AddSelect.js +63 -12
- package/lib/components/AddSelect/AddSelectColumn.js +57 -21
- package/lib/components/AddSelect/AddSelectList.js +39 -17
- package/lib/components/AddSelect/AddSelectSidebar.js +2 -1
- package/lib/components/ButtonMenu/ButtonMenu.js +11 -3
- package/lib/components/CreateFullPage/CreateFullPageStep.js +4 -4
- package/lib/components/CreateTearsheet/CreateTearsheetStep.js +4 -4
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +108 -91
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +94 -20
- package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +52 -7
- package/lib/components/DataSpreadsheet/utils/handleHeaderCellSelection.js +3 -1
- package/lib/components/ImportModal/ImportModal.js +1 -1
- package/lib/components/UserProfileImage/UserProfileImage.js +1 -1
- package/lib/components/index.js +0 -8
- package/lib/global/js/package-settings.js +1 -2
- package/package.json +16 -16
- package/scss/components/AboutModal/_about-modal.scss +2 -2
- package/scss/components/ActionSet/_action-set.scss +3 -1
- package/scss/components/AddSelect/_add-select.scss +41 -2
- package/scss/components/CreateModal/_create-modal.scss +7 -5
- package/scss/components/CreateModal/_storybook-styles.scss +8 -7
- package/scss/components/DataSpreadsheet/_data-spreadsheet.scss +21 -3
- package/scss/components/ExportModal/_export-modal.scss +3 -3
- package/scss/components/InlineEdit/_inline-edit.scss +3 -0
- package/scss/components/ModifiedTabs/_modified-tabs.scss +4 -9
- package/scss/components/NotificationsPanel/_notifications-panel.scss +9 -5
- package/scss/components/OptionsTile/_options-tile.scss +0 -1
- package/scss/components/RemoveModal/_remove-modal.scss +3 -3
- package/scss/components/TagSet/_tag-set.scss +2 -1
- package/scss/components/Tearsheet/_tearsheet.scss +4 -1
- package/scss/components/_index.scss +0 -1
- package/es/components/LoadingBar/LoadingBar.js +0 -156
- package/es/components/LoadingBar/index.js +0 -7
- package/lib/components/LoadingBar/LoadingBar.js +0 -170
- package/lib/components/LoadingBar/index.js +0 -13
- package/scss/components/LoadingBar/_index.scss +0 -8
- package/scss/components/LoadingBar/_loading-bar.scss +0 -224
- package/scss/components/LoadingBar/_storybook-styles.scss +0 -14
@@ -27,7 +27,9 @@ var handleHeaderCellSelection = function handleHeaderCellSelection(_ref) {
|
|
27
27
|
setSelectionAreas = _ref.setSelectionAreas,
|
28
28
|
spreadsheetRef = _ref.spreadsheetRef,
|
29
29
|
index = _ref.index,
|
30
|
-
isKeyboard = _ref.isKeyboard
|
30
|
+
isKeyboard = _ref.isKeyboard,
|
31
|
+
setSelectionAreaData = _ref.setSelectionAreaData;
|
32
|
+
setSelectionAreaData([]);
|
31
33
|
var rowValue = isKeyboard ? activeCellCoordinates === null || activeCellCoordinates === void 0 ? void 0 : activeCellCoordinates.row : index;
|
32
34
|
var columnValue = isKeyboard ? activeCellCoordinates === null || activeCellCoordinates === void 0 ? void 0 : activeCellCoordinates.column : index;
|
33
35
|
var point1 = {
|
@@ -275,7 +275,7 @@ var ImportModal = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
275
275
|
size: "sm",
|
276
276
|
disabled: importButtonDisabled
|
277
277
|
}, inputButtonText)), /*#__PURE__*/_react.default.createElement("div", {
|
278
|
-
className: "
|
278
|
+
className: "".concat(_settings.carbon.prefix, "--file-container ").concat(blockClass, "__file-container")
|
279
279
|
}, hasFiles && /*#__PURE__*/_react.default.createElement("p", {
|
280
280
|
className: "".concat(blockClass, "__helper-text")
|
281
281
|
}, fileStatusString), files.map(function (file) {
|
package/lib/components/index.js
CHANGED
@@ -147,12 +147,6 @@ Object.defineProperty(exports, "InlineEdit", {
|
|
147
147
|
return _InlineEdit.InlineEdit;
|
148
148
|
}
|
149
149
|
});
|
150
|
-
Object.defineProperty(exports, "LoadingBar", {
|
151
|
-
enumerable: true,
|
152
|
-
get: function get() {
|
153
|
-
return _LoadingBar.LoadingBar;
|
154
|
-
}
|
155
|
-
});
|
156
150
|
Object.defineProperty(exports, "ModifiedTabs", {
|
157
151
|
enumerable: true,
|
158
152
|
get: function get() {
|
@@ -326,8 +320,6 @@ var _HTTPErrors = require("./HTTPErrors");
|
|
326
320
|
|
327
321
|
var _ImportModal = require("./ImportModal");
|
328
322
|
|
329
|
-
var _LoadingBar = require("./LoadingBar");
|
330
|
-
|
331
323
|
var _ModifiedTabs = require("./ModifiedTabs");
|
332
324
|
|
333
325
|
var _MultiAddSelect = require("./MultiAddSelect");
|
@@ -44,6 +44,7 @@ var defaults = {
|
|
44
44
|
NoTagsEmptyState: true,
|
45
45
|
NotFoundEmptyState: true,
|
46
46
|
NotificationsEmptyState: true,
|
47
|
+
OptionsTile: true,
|
47
48
|
PageHeader: true,
|
48
49
|
ProductiveCard: true,
|
49
50
|
RemoveModal: true,
|
@@ -58,14 +59,12 @@ var defaults = {
|
|
58
59
|
// other public components not yet reviewed and released:
|
59
60
|
MultiAddSelect: false,
|
60
61
|
SingleAddSelect: false,
|
61
|
-
LoadingBar: false,
|
62
62
|
ModifiedTabs: false,
|
63
63
|
Toolbar: false,
|
64
64
|
ToolbarButton: false,
|
65
65
|
ToolbarGroup: false,
|
66
66
|
WebTerminal: false,
|
67
67
|
EditSidePanel: false,
|
68
|
-
OptionsTile: false,
|
69
68
|
CancelableTextEdit: false,
|
70
69
|
InlineEdit: false,
|
71
70
|
DataSpreadsheet: false
|
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": "1.
|
4
|
+
"version": "1.12.0",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "lib/index.js",
|
7
7
|
"module": "es/index.js",
|
@@ -51,8 +51,8 @@
|
|
51
51
|
},
|
52
52
|
"devDependencies": {
|
53
53
|
"@babel/cli": "^7.17.6",
|
54
|
-
"@babel/core": "^7.17.
|
55
|
-
"babel-preset-ibm-cloud-cognitive": "^0.14.
|
54
|
+
"@babel/core": "^7.17.8",
|
55
|
+
"babel-preset-ibm-cloud-cognitive": "^0.14.12",
|
56
56
|
"chalk": "^4.1.2",
|
57
57
|
"change-case": "^4.1.2",
|
58
58
|
"copyfiles": "^2.4.1",
|
@@ -60,33 +60,33 @@
|
|
60
60
|
"fs-extra": "^10.0.1",
|
61
61
|
"glob": "^7.2.0",
|
62
62
|
"jest": "^27.5.1",
|
63
|
-
"jest-config-ibm-cloud-cognitive": "^0.23.
|
64
|
-
"npm-check-updates": "^12.5.
|
63
|
+
"jest-config-ibm-cloud-cognitive": "^0.23.13",
|
64
|
+
"npm-check-updates": "^12.5.4",
|
65
65
|
"npm-run-all": "^4.1.5",
|
66
66
|
"rimraf": "^3.0.2",
|
67
67
|
"sass": "^1.49.9",
|
68
|
-
"yargs": "^17.
|
68
|
+
"yargs": "^17.4.0"
|
69
69
|
},
|
70
70
|
"dependencies": {
|
71
|
-
"@babel/runtime": "^7.17.
|
72
|
-
"@carbon/telemetry": "^0.
|
71
|
+
"@babel/runtime": "^7.17.8",
|
72
|
+
"@carbon/telemetry": "^0.1.0",
|
73
73
|
"react-resize-detector": "^7.0.0",
|
74
74
|
"react-table": "^7.7.0",
|
75
75
|
"react-window": "^1.8.6"
|
76
76
|
},
|
77
77
|
"peerDependencies": {
|
78
|
-
"@carbon/colors": "^10.37.
|
79
|
-
"@carbon/icons-react": "^10.
|
78
|
+
"@carbon/colors": "^10.37.1",
|
79
|
+
"@carbon/icons-react": "^10.48.0",
|
80
80
|
"@carbon/import-once": "^10.7.0",
|
81
|
-
"@carbon/layout": "^10.37.
|
81
|
+
"@carbon/layout": "^10.37.1",
|
82
82
|
"@carbon/motion": "^10.29.0",
|
83
|
-
"@carbon/themes": "^10.
|
84
|
-
"@carbon/type": "^10.
|
85
|
-
"carbon-components": "^10.
|
86
|
-
"carbon-components-react": "^7.
|
83
|
+
"@carbon/themes": "^10.53.2",
|
84
|
+
"@carbon/type": "^10.43.2",
|
85
|
+
"carbon-components": "^10.55.2",
|
86
|
+
"carbon-components-react": "^7.55.2",
|
87
87
|
"carbon-icons": "^7.0.7",
|
88
88
|
"react": "^16.8.6 || ^17.0.1",
|
89
89
|
"react-dom": "^16.8.6 || ^17.0.1"
|
90
90
|
},
|
91
|
-
"gitHead": "
|
91
|
+
"gitHead": "85ac9b35afdba4e7e2d63c29cf4150347028e00d"
|
92
92
|
}
|
@@ -19,7 +19,7 @@
|
|
19
19
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
20
20
|
$block-class: #{$pkg-prefix}--about-modal;
|
21
21
|
|
22
|
-
.#{$block-class}
|
22
|
+
.#{$block-class} .#{$carbon-prefix}--modal-container {
|
23
23
|
grid-template-rows: auto auto 1fr auto;
|
24
24
|
}
|
25
25
|
|
@@ -56,7 +56,7 @@
|
|
56
56
|
}
|
57
57
|
|
58
58
|
.#{$block-class}.#{$block-class}--with-tabs
|
59
|
-
|
59
|
+
.#{$carbon-prefix}--modal-content--overflow-indicator {
|
60
60
|
// stylelint-disable-next-line carbon/layout-token-use
|
61
61
|
bottom: calc(#{$spacing-09} + #{$spacing-08});
|
62
62
|
}
|
@@ -101,7 +101,9 @@
|
|
101
101
|
flex: 1 1 25%;
|
102
102
|
}
|
103
103
|
|
104
|
-
.#{$block-class}
|
104
|
+
.#{$block-class}
|
105
|
+
.#{$block-class}__action-button
|
106
|
+
.#{$carbon-prefix}--inline-loading {
|
105
107
|
position: absolute;
|
106
108
|
top: 0;
|
107
109
|
right: 0;
|
@@ -51,6 +51,41 @@
|
|
51
51
|
display: block;
|
52
52
|
color: $text-02;
|
53
53
|
}
|
54
|
+
|
55
|
+
&-cell:hover .#{$block-class}__selections-dropdown {
|
56
|
+
visibility: visible;
|
57
|
+
}
|
58
|
+
|
59
|
+
&-dropdown {
|
60
|
+
visibility: hidden;
|
61
|
+
}
|
62
|
+
|
63
|
+
&-row-selected {
|
64
|
+
background: #e5e5e5;
|
65
|
+
}
|
66
|
+
|
67
|
+
&-row-selected .#{$block-class}__selections-dropdown {
|
68
|
+
visibility: visible;
|
69
|
+
}
|
70
|
+
|
71
|
+
&-checkbox {
|
72
|
+
display: flex;
|
73
|
+
align-items: center;
|
74
|
+
}
|
75
|
+
|
76
|
+
&-checkbox-label-text {
|
77
|
+
display: flex;
|
78
|
+
flex-direction: column;
|
79
|
+
padding-left: $spacing-05;
|
80
|
+
}
|
81
|
+
|
82
|
+
&-checkbox-wrapper.#{$carbon-prefix}--form-item {
|
83
|
+
flex: 0;
|
84
|
+
}
|
85
|
+
|
86
|
+
&-checkbox-wrapper .#{$carbon-prefix}--checkbox-label-text {
|
87
|
+
display: none;
|
88
|
+
}
|
54
89
|
}
|
55
90
|
|
56
91
|
// sidebar
|
@@ -141,7 +176,7 @@
|
|
141
176
|
display: flex;
|
142
177
|
}
|
143
178
|
|
144
|
-
|
179
|
+
.#{$carbon-prefix}--overflow-menu {
|
145
180
|
border-bottom: 1px solid $ui-04;
|
146
181
|
}
|
147
182
|
}
|
@@ -159,6 +194,10 @@
|
|
159
194
|
|
160
195
|
// overrides
|
161
196
|
|
197
|
+
.#{$block-class}__tag-container .#{$carbon-prefix}--tag {
|
198
|
+
margin: 0;
|
199
|
+
}
|
200
|
+
|
162
201
|
// the influencer sidebar needs to be even with the buttons
|
163
202
|
.#{$block-class} .#{$tearsheet-class} .#{$tearsheet-class}__influencer {
|
164
203
|
max-width: 29rem;
|
@@ -180,7 +219,7 @@
|
|
180
219
|
|
181
220
|
.#{$block-class}
|
182
221
|
.#{$carbon-prefix}--modal-container--sm
|
183
|
-
|
222
|
+
.#{$carbon-prefix}--modal-content
|
184
223
|
p {
|
185
224
|
padding-right: 0;
|
186
225
|
}
|
@@ -19,11 +19,11 @@
|
|
19
19
|
background-color: $ui-background;
|
20
20
|
}
|
21
21
|
|
22
|
-
.#{$pkg-prefix}--create-modal
|
22
|
+
.#{$pkg-prefix}--create-modal .#{$carbon-prefix}--modal-close {
|
23
23
|
display: none;
|
24
24
|
}
|
25
25
|
|
26
|
-
.#{$pkg-prefix}--create-modal
|
26
|
+
.#{$pkg-prefix}--create-modal .#{$carbon-prefix}--modal-container {
|
27
27
|
@include carbon--breakpoint(md) {
|
28
28
|
max-height: 95%;
|
29
29
|
}
|
@@ -32,14 +32,16 @@
|
|
32
32
|
}
|
33
33
|
}
|
34
34
|
|
35
|
-
.#{$pkg-prefix}--create-modal
|
35
|
+
.#{$pkg-prefix}--create-modal .#{$carbon-prefix}--modal-header {
|
36
36
|
padding-right: 20%;
|
37
37
|
padding-bottom: $spacing-03;
|
38
38
|
border-bottom: 1px solid $ui-03;
|
39
39
|
margin-bottom: 0;
|
40
40
|
}
|
41
41
|
|
42
|
-
.#{$pkg-prefix}--create-modal
|
42
|
+
.#{$pkg-prefix}--create-modal
|
43
|
+
.#{$carbon-prefix}--modal-footer
|
44
|
+
.#{$carbon-prefix}--btn {
|
43
45
|
max-width: none;
|
44
46
|
}
|
45
47
|
|
@@ -63,7 +65,7 @@
|
|
63
65
|
margin: $spacing-03 0 $spacing-05 0;
|
64
66
|
}
|
65
67
|
|
66
|
-
.#{$pkg-prefix}--create-modal__form
|
68
|
+
.#{$pkg-prefix}--create-modal__form .#{$carbon-prefix}--fieldset {
|
67
69
|
min-width: 100%;
|
68
70
|
margin-bottom: 0;
|
69
71
|
}
|
@@ -15,31 +15,32 @@
|
|
15
15
|
@import 'carbon-components/scss/components/tooltip/tooltip';
|
16
16
|
@import 'carbon-components/scss/components/modal/modal';
|
17
17
|
|
18
|
-
|
18
|
+
.#{$carbon-prefix}--number {
|
19
19
|
min-width: 100%;
|
20
20
|
}
|
21
21
|
|
22
|
-
|
22
|
+
.#{$carbon-prefix}--number__control-btn::before {
|
23
23
|
background-color: transparent;
|
24
24
|
}
|
25
25
|
|
26
|
-
|
26
|
+
.#{$carbon-prefix}--number__control-btn::after {
|
27
27
|
background-color: transparent;
|
28
28
|
}
|
29
29
|
|
30
|
-
|
30
|
+
.#{$carbon-prefix}--date-picker {
|
31
31
|
min-width: 100%;
|
32
32
|
}
|
33
33
|
|
34
|
-
|
34
|
+
.#{$carbon-prefix}--date-picker-container {
|
35
35
|
min-width: 100%;
|
36
36
|
}
|
37
37
|
|
38
|
-
|
38
|
+
.#{$carbon-prefix}--date-picker.#{$carbon-prefix}--date-picker--single
|
39
|
+
.#{$carbon-prefix}--date-picker__input {
|
39
40
|
min-width: 100%;
|
40
41
|
}
|
41
42
|
|
42
|
-
|
43
|
+
.#{$carbon-prefix}--list-box__menu-icon {
|
43
44
|
top: $spacing-03;
|
44
45
|
}
|
45
46
|
|
@@ -45,7 +45,8 @@
|
|
45
45
|
|
46
46
|
.#{$block-class}__th,
|
47
47
|
.#{$block-class}__td {
|
48
|
-
|
48
|
+
@include carbon--type-style('body-short-01');
|
49
|
+
|
49
50
|
padding: 0 $spacing-03;
|
50
51
|
border: 0;
|
51
52
|
margin: 0;
|
@@ -85,10 +86,13 @@
|
|
85
86
|
text-align: left;
|
86
87
|
}
|
87
88
|
.#{$block-class}__cell-editor {
|
89
|
+
@include carbon--type-style('body-short-01');
|
90
|
+
|
88
91
|
position: absolute;
|
89
92
|
z-index: 4;
|
90
93
|
display: none;
|
91
|
-
|
94
|
+
/* stylelint-disable-next-line carbon/layout-token-use */
|
95
|
+
padding: 0 calc(#{$spacing-03} + 1px) 0 $spacing-03;
|
92
96
|
background-color: $ui-background;
|
93
97
|
resize: none;
|
94
98
|
&.#{$carbon-prefix}--text-area {
|
@@ -97,11 +101,25 @@
|
|
97
101
|
}
|
98
102
|
}
|
99
103
|
.#{$block-class}__active-cell--highlight {
|
104
|
+
@include carbon--type-style('body-short-01');
|
105
|
+
@include set-body-borders();
|
106
|
+
|
100
107
|
position: absolute;
|
101
108
|
z-index: 3;
|
102
109
|
display: none;
|
110
|
+
// Could be fixed by using border-right but the fact that
|
111
|
+
// this element is positioned absolute prevents that from working
|
112
|
+
/* stylelint-disable-next-line carbon/layout-token-use */
|
113
|
+
padding-right: calc(#{$spacing-03} - 1px);
|
114
|
+
padding-bottom: $spacing-01;
|
103
115
|
border: $spacing-01 solid $interactive-01;
|
104
|
-
background-color:
|
116
|
+
background-color: $ui-background;
|
117
|
+
text-align: left;
|
118
|
+
|
119
|
+
&[data-active-row-index='header'],
|
120
|
+
&[data-active-column-index='header'] {
|
121
|
+
background-color: transparent;
|
122
|
+
}
|
105
123
|
|
106
124
|
&:focus {
|
107
125
|
border: $spacing-01 solid $interactive-01;
|
@@ -21,15 +21,15 @@
|
|
21
21
|
@mixin export-modal {
|
22
22
|
$block-class: #{$pkg-prefix}--export-modal;
|
23
23
|
|
24
|
-
.#{$block-class}
|
24
|
+
.#{$block-class} .#{$carbon-prefix}--modal-footer .#{$carbon-prefix}--btn {
|
25
25
|
max-width: none;
|
26
26
|
}
|
27
27
|
|
28
|
-
.#{$block-class}.#{$carbon-prefix}--modal
|
28
|
+
.#{$block-class}.#{$carbon-prefix}--modal .#{$carbon-prefix}--modal-content {
|
29
29
|
padding-right: $spacing-05;
|
30
30
|
}
|
31
31
|
|
32
|
-
.#{$block-class}
|
32
|
+
.#{$block-class} .#{$carbon-prefix}--modal-close {
|
33
33
|
display: none;
|
34
34
|
}
|
35
35
|
|
@@ -13,15 +13,6 @@
|
|
13
13
|
justify-content: space-between;
|
14
14
|
}
|
15
15
|
|
16
|
-
.modified-tabs .modified-tabs__tab .bx--btn {
|
17
|
-
// transform: translateY(8px);
|
18
|
-
}
|
19
|
-
|
20
|
-
.modified-tabs .bx--tabs__nav {
|
21
|
-
/* overflow cannot be tweaked to fix tooltip */
|
22
|
-
// overflow: visible;
|
23
|
-
}
|
24
|
-
|
25
16
|
.modified-tabs__tab-new,
|
26
17
|
.modified-tabs__tab {
|
27
18
|
position: relative;
|
@@ -45,6 +36,10 @@
|
|
45
36
|
border-radius: 0;
|
46
37
|
cursor: pointer;
|
47
38
|
transition: background-color $duration--fast-02 motion(standard, productive);
|
39
|
+
// stylelint-disable-next-line max-nesting-depth
|
40
|
+
@media (prefers-reduced-motion: reduce) {
|
41
|
+
transition: none;
|
42
|
+
}
|
48
43
|
}
|
49
44
|
|
50
45
|
.modified-tabs__tab-new-icon {
|
@@ -75,7 +75,8 @@
|
|
75
75
|
align-items: center;
|
76
76
|
justify-content: space-between;
|
77
77
|
}
|
78
|
-
.#{$block-class}__do-not-disturb-toggle
|
78
|
+
.#{$block-class}__do-not-disturb-toggle
|
79
|
+
.#{$carbon-prefix}--toggle__switch {
|
79
80
|
margin-top: $spacing-02;
|
80
81
|
}
|
81
82
|
.#{$block-class}__dismiss-button {
|
@@ -183,16 +184,19 @@
|
|
183
184
|
min-width: 5.5rem;
|
184
185
|
padding: 0;
|
185
186
|
|
186
|
-
|
187
|
+
.#{$carbon-prefix}--btn__icon {
|
187
188
|
transition: transform $duration--moderate-02 ease;
|
189
|
+
@media (prefers-reduced-motion: reduce) {
|
190
|
+
transition: none;
|
191
|
+
}
|
188
192
|
}
|
189
193
|
&.#{$block-class}__notification-read-more-button {
|
190
|
-
|
194
|
+
.#{$carbon-prefix}--btn__icon {
|
191
195
|
transform: rotate(0deg);
|
192
196
|
}
|
193
197
|
}
|
194
198
|
&.#{$block-class}__notification-read-less-button {
|
195
|
-
|
199
|
+
.#{$carbon-prefix}--btn__icon {
|
196
200
|
transform: rotate(180deg);
|
197
201
|
}
|
198
202
|
}
|
@@ -276,7 +280,7 @@
|
|
276
280
|
padding: 0;
|
277
281
|
color: $text-01;
|
278
282
|
}
|
279
|
-
.#{$block-class}__settings-button
|
283
|
+
.#{$block-class}__settings-button .#{$carbon-prefix}--btn__icon {
|
280
284
|
margin: 0;
|
281
285
|
}
|
282
286
|
}
|
@@ -17,15 +17,15 @@
|
|
17
17
|
@mixin remove-modal {
|
18
18
|
$block-class: #{$pkg-prefix}--remove-modal;
|
19
19
|
|
20
|
-
.#{$block-class}
|
20
|
+
.#{$block-class} .#{$carbon-prefix}--modal-footer .#{$carbon-prefix}--btn {
|
21
21
|
max-width: none;
|
22
22
|
}
|
23
23
|
|
24
|
-
.#{$block-class}
|
24
|
+
.#{$block-class} .#{$carbon-prefix}--modal-content {
|
25
25
|
padding-right: $spacing-05;
|
26
26
|
}
|
27
27
|
|
28
|
-
.#{$block-class}
|
28
|
+
.#{$block-class} .#{$carbon-prefix}--modal-close {
|
29
29
|
display: none;
|
30
30
|
}
|
31
31
|
|
@@ -114,6 +114,7 @@ $block-class-modal: #{$block-class}-modal;
|
|
114
114
|
&.#{$block-class-overflow}__tooltip {
|
115
115
|
// removes the min width in Carbon
|
116
116
|
min-width: initial;
|
117
|
+
text-align: left;
|
117
118
|
}
|
118
119
|
|
119
120
|
.#{$block-class-overflow}__show-all-tags-link {
|
@@ -138,7 +139,7 @@ $block-class-modal: #{$block-class}-modal;
|
|
138
139
|
}
|
139
140
|
|
140
141
|
.#{$block-class-overflow}__tag .#{$carbon-prefix}--tag__close-icon {
|
141
|
-
// undo override by
|
142
|
+
// undo override by .#{$carbon-prefix}--tooltip button
|
142
143
|
padding: 0;
|
143
144
|
}
|
144
145
|
|
@@ -47,6 +47,9 @@
|
|
47
47
|
transition: visibility 0s linear,
|
48
48
|
background-color $motion-duration motion(entrance, expressive),
|
49
49
|
opacity $motion-duration motion(entrance, expressive);
|
50
|
+
@media (prefers-reduced-motion: reduce) {
|
51
|
+
transition: none;
|
52
|
+
}
|
50
53
|
}
|
51
54
|
|
52
55
|
&.#{$block-class}--stacked-1-of-2 {
|
@@ -263,7 +266,7 @@
|
|
263
266
|
&.#{$block-class}--wide .#{$block-class}__content {
|
264
267
|
background: $ui-background;
|
265
268
|
|
266
|
-
// revert the background
|
269
|
+
// revert the background color overridden by #{$carbon-prefix}--modal styles
|
267
270
|
.#{$prefix}--pagination,
|
268
271
|
.#{$prefix}--pagination__control-buttons,
|
269
272
|
.#{$prefix}--text-input,
|