@carbon/ibm-products 2.1.1 → 2.1.2
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 +24 -2
- 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 +6 -1
- 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 +24 -2
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css +2 -2
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +17 -1
- package/css/index.css.map +1 -1
- package/css/index.min.css +2 -2
- package/css/index.min.css.map +1 -1
- package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +3 -0
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +3 -3
- package/es/components/Datagrid/Datagrid/DatagridContent.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +5 -11
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +17 -17
- package/es/components/Datagrid/utils/DatagridActions.js +6 -14
- package/es/components/ImportModal/ImportModal.js +13 -6
- package/es/components/NotificationsPanel/preview-components/UnreadNotificationBell.js +2 -17
- package/es/components/PageHeader/PageHeaderUtils.js +2 -2
- package/es/components/Tearsheet/TearsheetShell.js +4 -5
- package/es/global/js/hooks/useCreateComponentStepChange.js +16 -15
- package/es/global/js/utils/story-helper.js +1 -1
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +3 -0
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +3 -3
- package/lib/components/Datagrid/Datagrid/DatagridContent.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +4 -10
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +17 -17
- package/lib/components/Datagrid/utils/DatagridActions.js +5 -13
- package/lib/components/ImportModal/ImportModal.js +13 -6
- package/lib/components/NotificationsPanel/preview-components/UnreadNotificationBell.js +2 -17
- package/lib/components/PageHeader/PageHeaderUtils.js +2 -2
- package/lib/components/Tearsheet/TearsheetShell.js +4 -5
- package/lib/global/js/hooks/useCreateComponentStepChange.js +16 -15
- package/lib/global/js/utils/story-helper.js +1 -1
- package/package.json +4 -4
- package/scss/components/DataSpreadsheet/_storybook-styles.scss +6 -0
- package/scss/components/Datagrid/_storybook-styles.scss +7 -1
- package/scss/components/Datagrid/styles/addons/_FilterFlyout.scss +7 -0
- package/scss/components/Datagrid/styles/addons/_FilterPanel.scss +4 -0
- package/scss/components/HTTPErrors/_storybook-styles.scss +16 -2
- package/scss/components/NotificationsPanel/_storybook-styles.scss +0 -4
- package/scss/components/PageHeader/_storybook-styles.scss +42 -14
- package/scss/components/Tearsheet/_tearsheet.scss +7 -1
- package/scss/components/WebTerminal/_storybook-styles.scss +16 -1
- package/scss/global/styles/_display-box.scss +1 -0
@@ -124,6 +124,10 @@
|
|
124
124
|
}
|
125
125
|
|
126
126
|
.#{c4p-settings.$carbon-prefix}--btn.c4p--datagrid-filter-panel-open-button {
|
127
|
+
display: flex;
|
128
|
+
width: 3rem;
|
129
|
+
height: 3rem;
|
130
|
+
justify-content: center;
|
127
131
|
border-right: 1px solid $layer-accent-01;
|
128
132
|
border-bottom: none;
|
129
133
|
}
|
@@ -1,6 +1,20 @@
|
|
1
|
-
//
|
2
|
-
// Copyright IBM Corp. 2021, 2021
|
1
|
+
// Copyright IBM Corp. 2023, 2023
|
3
2
|
//
|
4
3
|
// This source code is licensed under the Apache-2.0 license found in the
|
5
4
|
// LICENSE file in the root directory of this source tree.
|
6
5
|
//
|
6
|
+
$story-anchor: 'http-errors';
|
7
|
+
div[id*='#{$story-anchor}'] .docs-story {
|
8
|
+
min-height: 50vh;
|
9
|
+
/* stylelint-disable-next-line carbon/layout-token-use */
|
10
|
+
transform: translateZ(0);
|
11
|
+
}
|
12
|
+
|
13
|
+
div[id*='#{$story-anchor}'] .docs-story > div:first-child {
|
14
|
+
overflow: auto;
|
15
|
+
width: 100%;
|
16
|
+
}
|
17
|
+
|
18
|
+
div[id*='#{$story-anchor}'] .docs-story .preview-position-fix {
|
19
|
+
min-height: 50vh;
|
20
|
+
}
|
@@ -15,15 +15,6 @@
|
|
15
15
|
|
16
16
|
$story-class: 'page-header-stories';
|
17
17
|
|
18
|
-
// cspell:disable-next-line
|
19
|
-
.sbdocs .#{$story-class}__viewport {
|
20
|
-
max-height: 500px;
|
21
|
-
background-color: $background;
|
22
|
-
box-shadow: 0 0 4px 1px $layer-accent-01;
|
23
|
-
color: $text-primary;
|
24
|
-
overflow-y: auto;
|
25
|
-
}
|
26
|
-
|
27
18
|
.#{$story-class}__content-switcher {
|
28
19
|
justify-content: flex-start;
|
29
20
|
}
|
@@ -66,15 +57,52 @@ $story-class: 'page-header-stories';
|
|
66
57
|
flex-direction: column;
|
67
58
|
}
|
68
59
|
|
69
|
-
|
60
|
+
$story-anchor: 'page-header';
|
61
|
+
div[id*='#{$story-anchor}'] .docs-story {
|
62
|
+
--story-height: 50vh;
|
63
|
+
|
64
|
+
min-height: var(--story-height);
|
65
|
+
/* stylelint-disable-next-line carbon/layout-token-use */
|
66
|
+
transform: translateZ(0);
|
67
|
+
}
|
68
|
+
|
69
|
+
div[id*='#{$story-anchor}'] .docs-story > div:first-child {
|
70
70
|
overflow: hidden;
|
71
|
+
width: 100%;
|
71
72
|
}
|
72
73
|
|
73
|
-
|
74
|
-
height:
|
75
|
-
|
74
|
+
div[id*='#{$story-anchor}'] .docs-story .preview-position-fix {
|
75
|
+
min-height: 50vh;
|
76
|
+
}
|
77
|
+
|
78
|
+
.#{$story-class}__viewport {
|
79
|
+
overflow: hidden;
|
80
|
+
height: 100vh;
|
76
81
|
}
|
77
82
|
|
78
|
-
.#{$story-class}
|
83
|
+
.#{$story-class}__viewport--scroll {
|
79
84
|
overflow-y: auto;
|
80
85
|
}
|
86
|
+
|
87
|
+
.#{$story-class}__viewport .#{$story-class}__content-container {
|
88
|
+
height: 100%;
|
89
|
+
overflow-y: auto;
|
90
|
+
}
|
91
|
+
|
92
|
+
.#{$story-class}__viewport
|
93
|
+
.#{$story-class}__content-container--with-global-header {
|
94
|
+
height: calc(100% - #{$spacing-09});
|
95
|
+
margin-top: $spacing-09;
|
96
|
+
}
|
97
|
+
|
98
|
+
.#{$story-class}__viewport--scroll .#{$story-class}__content-container {
|
99
|
+
overflow-y: initial;
|
100
|
+
}
|
101
|
+
|
102
|
+
// cspell:disable-next-line
|
103
|
+
.sbdocs .#{$story-class}__viewport {
|
104
|
+
max-height: 50vh;
|
105
|
+
background-color: $background;
|
106
|
+
box-shadow: 0 0 4px 1px $layer-accent-01;
|
107
|
+
color: $text-primary;
|
108
|
+
}
|
@@ -146,12 +146,14 @@ $motion-duration: $duration-moderate-02;
|
|
146
146
|
padding: $spacing-06 $spacing-07;
|
147
147
|
border-bottom: 1px solid $border-subtle-01;
|
148
148
|
margin: 0;
|
149
|
+
background-color: $layer;
|
149
150
|
}
|
150
151
|
|
151
152
|
&.#{$block-class}--narrow .#{$block-class}__header {
|
152
153
|
padding: $spacing-05;
|
153
154
|
border-bottom: 1px solid $border-subtle-01;
|
154
155
|
margin: 0;
|
156
|
+
background-color: $layer;
|
155
157
|
}
|
156
158
|
|
157
159
|
.#{$block-class}__header-content {
|
@@ -265,11 +267,15 @@ $motion-duration: $duration-moderate-02;
|
|
265
267
|
.#{$block-class}__main {
|
266
268
|
display: flex;
|
267
269
|
flex-direction: row;
|
268
|
-
background-color: $
|
270
|
+
background-color: $background;
|
269
271
|
grid-column: 1 / -1;
|
270
272
|
grid-row: 1 / -1;
|
271
273
|
}
|
272
274
|
|
275
|
+
&.#{$block-class}--narrow .#{$block-class}__main {
|
276
|
+
background-color: $layer;
|
277
|
+
}
|
278
|
+
|
273
279
|
.#{$block-class}__main .#{$block-class}__influencer {
|
274
280
|
border-right: none;
|
275
281
|
border-left: 1px solid $border-subtle-01;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
//
|
2
|
-
// Copyright IBM Corp. 2021,
|
2
|
+
// Copyright IBM Corp. 2021, 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.
|
@@ -34,3 +34,18 @@ $storybook-block-class: #{c4p-settings.$pkg-prefix}--notifications-panel__story;
|
|
34
34
|
font-size: 14px;
|
35
35
|
}
|
36
36
|
}
|
37
|
+
|
38
|
+
$story-anchor: 'web-terminal';
|
39
|
+
div[id*='#{$story-anchor}'] .docs-story {
|
40
|
+
min-height: 50vh;
|
41
|
+
transform: translateZ(0);
|
42
|
+
}
|
43
|
+
|
44
|
+
div[id*='#{$story-anchor}'] .docs-story > div:first-child {
|
45
|
+
width: 100%;
|
46
|
+
overflow: hidden;
|
47
|
+
}
|
48
|
+
|
49
|
+
div[id*='#{$story-anchor}'] .docs-story .preview-position-fix {
|
50
|
+
min-height: 50vh;
|
51
|
+
}
|