@carbon/ibm-products 2.16.0 → 2.17.0-alpha.8
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/config-dev.css +3 -0
- package/css/config-dev.css.map +1 -0
- package/css/index-full-carbon.css +4 -4
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +1851 -37
- 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 +4 -4
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css.map +1 -1
- package/css/index.min.css.map +1 -1
- package/es/components/Datagrid/Datagrid/DatagridToolbar.js +7 -3
- package/es/components/Datagrid/Datagrid.docs-page.js +1 -1
- package/es/components/Datagrid/Datagrid.stories/StickyActionsColumnStory.js +1 -1
- package/es/components/Datagrid/useActionsColumn.js +1 -4
- package/es/components/Datagrid/useFlexResize.js +19 -9
- package/es/components/Datagrid/useInfiniteScroll.js +1 -5
- package/es/global/js/package-settings.js +1 -3
- package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +7 -3
- package/lib/components/Datagrid/Datagrid.docs-page.js +1 -1
- package/lib/components/Datagrid/Datagrid.stories/StickyActionsColumnStory.js +1 -1
- package/lib/components/Datagrid/useActionsColumn.js +1 -7
- package/lib/components/Datagrid/useFlexResize.js +19 -9
- package/lib/components/Datagrid/useInfiniteScroll.js +0 -4
- package/lib/global/js/package-settings.js +1 -3
- package/package.json +6 -7
- package/scss/components/InlineTip/_inline-tip.scss +4 -4
- package/scss/components/_index-released-only-with-carbon.scss +1 -0
- package/scss/components/_index-released-only.scss +1 -0
- package/scss/config-dev.scss +3 -0
- package/scss/components/APIKeyModal/_storybook-styles.scss +0 -35
- package/scss/components/AboutModal/_storybook-styles.scss +0 -29
- package/scss/components/ActionBar/_storybook-styles.scss +0 -8
- package/scss/components/ActionSet/_storybook-styles.scss +0 -36
- package/scss/components/AddSelect/_storybook-styles.scss +0 -6
- package/scss/components/BreadcrumbWithOverflow/_storybook-styles.scss +0 -8
- package/scss/components/ButtonMenu/_storybook-styles.scss +0 -6
- package/scss/components/ButtonSetWithOverflow/_storybook-styles.scss +0 -8
- package/scss/components/Card/_storybook-styles.scss +0 -12
- package/scss/components/Cascade/_storybook-styles.scss +0 -34
- package/scss/components/Checklist/_storybook-styles.scss +0 -13
- package/scss/components/CreateFullPage/_storybook-styles.scss +0 -67
- package/scss/components/CreateModal/_storybook-styles.scss +0 -54
- package/scss/components/CreateSidePanel/_storybook-styles.scss +0 -32
- package/scss/components/CreateTearsheet/_storybook-styles.scss +0 -56
- package/scss/components/CreateTearsheetNarrow/_storybook-styles.scss +0 -27
- package/scss/components/DataSpreadsheet/_storybook-styles.scss +0 -17
- package/scss/components/Datagrid/_storybook-styles.scss +0 -157
- package/scss/components/EditFullPage/_storybook-styles.scss +0 -10
- package/scss/components/EditInPlace/_storybook-styles.scss +0 -15
- package/scss/components/EditSidePanel/_storybook-styles.scss +0 -32
- package/scss/components/EditTearsheet/_storybook-styles.scss +0 -59
- package/scss/components/EditTearsheetNarrow/_storybook-styles.scss +0 -10
- package/scss/components/EditUpdateCards/_storybook-styles.scss +0 -55
- package/scss/components/EmptyStates/_storybook-styles.scss +0 -6
- package/scss/components/ExampleComponent/_storybook-styles.scss +0 -6
- package/scss/components/ExportModal/_storybook-styles.scss +0 -6
- package/scss/components/ExpressiveCard/_storybook-styles.scss +0 -26
- package/scss/components/FilterSummary/_storybook-styles.scss +0 -16
- package/scss/components/ImportModal/_storybook-styles.scss +0 -6
- package/scss/components/InlineTip/_storybook-styles.scss +0 -20
- package/scss/components/MultiAddSelect/_storybook-styles.scss +0 -6
- package/scss/components/NotificationsPanel/_storybook-styles.scss +0 -23
- package/scss/components/OptionsTile/_storybook-styles.scss +0 -29
- package/scss/components/PageHeader/_storybook-styles.scss +0 -90
- package/scss/components/ProductiveCard/_storybook-styles.scss +0 -23
- package/scss/components/RemoveModal/_storybook-styles.scss +0 -6
- package/scss/components/Saving/_storybook-styles.scss +0 -12
- package/scss/components/SidePanel/_storybook-styles.scss +0 -52
- package/scss/components/SingleAddSelect/_storybook-styles.scss +0 -6
- package/scss/components/StatusIcon/_storybook-styles.scss +0 -6
- package/scss/components/SteppedAnimatedMedia/_index.scss +0 -8
- package/scss/components/SteppedAnimatedMedia/_stepped-animated-media.scss +0 -6
- package/scss/components/SteppedAnimatedMedia/_storybook-styles.scss +0 -13
- package/scss/components/TagSet/_storybook-styles.scss +0 -8
- package/scss/components/Tearsheet/_storybook-styles.scss +0 -25
- package/scss/components/TooltipTrigger/_storybook-styles.scss +0 -6
- package/scss/components/UserProfileImage/_storybook.scss +0 -6
- package/scss/components/WebTerminal/_storybook-styles.scss +0 -46
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2021, 2021
|
|
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
|
-
@use 'ALIAS_STORY_STYLE_CONFIG' as c4p-settings;
|
|
9
|
-
@use '@carbon/styles/scss/spacing' as *;
|
|
10
|
-
|
|
11
|
-
$story-class: #{c4p-settings.$pkg-prefix}--create-tearsheet-narrow--story;
|
|
12
|
-
|
|
13
|
-
.#{$story-class}__flex-container {
|
|
14
|
-
display: flex;
|
|
15
|
-
align-items: baseline;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.#{$story-class}__flex-container .#{c4p-settings.$carbon-prefix}--form-item,
|
|
19
|
-
.#{$story-class}__form .#{c4p-settings.$carbon-prefix}--form-item {
|
|
20
|
-
margin-bottom: $spacing-05;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.#{$story-class}__flex-container .#{c4p-settings.$carbon-prefix}--form-item,
|
|
24
|
-
.#{$story-class}__flex-container
|
|
25
|
-
.#{c4p-settings.$carbon-prefix}--dropdown__wrapper.#{c4p-settings.$carbon-prefix}--list-box__wrapper {
|
|
26
|
-
width: 50%;
|
|
27
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2022, 2022
|
|
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
|
-
$story-anchor: 'DataSpreadsheet';
|
|
9
|
-
|
|
10
|
-
$story-anchor: 'DataSpreadsheet';
|
|
11
|
-
div[data-story-title*='#{$story-anchor}']
|
|
12
|
-
.docs-story
|
|
13
|
-
> div:first-child
|
|
14
|
-
> div:first-child {
|
|
15
|
-
overflow: auto;
|
|
16
|
-
width: 100%;
|
|
17
|
-
}
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2022, 2023
|
|
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
|
-
@use '@carbon/styles/scss/theme' as *;
|
|
9
|
-
@use '@carbon/styles/scss/type';
|
|
10
|
-
@use '@carbon/styles/scss/spacing' as *;
|
|
11
|
-
@use '@carbon/styles/scss/components/tooltip';
|
|
12
|
-
|
|
13
|
-
@use 'ALIAS_STORY_STYLE_CONFIG' as c4p-settings;
|
|
14
|
-
|
|
15
|
-
// TODO: add any additional styles used by Datagrid.stories.js
|
|
16
|
-
// helper class for the nested table
|
|
17
|
-
|
|
18
|
-
$block-class: #{c4p-settings.$pkg-prefix}--datagrid;
|
|
19
|
-
|
|
20
|
-
.sb-show-main.sb-main-centered {
|
|
21
|
-
height: 100vh;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.sb-show-main.sb-main-centered #storybook-root {
|
|
25
|
-
width: 100%;
|
|
26
|
-
height: 100vh;
|
|
27
|
-
padding: $spacing-07;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
#storybook-root
|
|
31
|
-
.#{c4p-settings.$carbon-prefix}--actionable-notification__content {
|
|
32
|
-
white-space: pre-wrap;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.carbon-nested-table {
|
|
36
|
-
border-bottom: 1px solid $border-subtle-01;
|
|
37
|
-
|
|
38
|
-
.#{$block-class}__virtual-scrollbar > div > div:last-child td {
|
|
39
|
-
border-bottom: none;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.#{$block-class}__panelContent {
|
|
44
|
-
display: inline;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/* only for storybook purpose. */
|
|
48
|
-
.#{c4p-settings.$pkg-prefix}--side-panel.#{c4p-settings.$pkg-prefix}--side-panel__container {
|
|
49
|
-
top: 0;
|
|
50
|
-
height: 100%;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.page-content-wrapper.side-panel-open {
|
|
54
|
-
.#{$block-class} {
|
|
55
|
-
padding-right: $spacing-05;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.#{$block-class}__side-panel-sections {
|
|
60
|
-
padding-bottom: $spacing-06;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.#{$block-class}__side-panel-link {
|
|
64
|
-
padding-top: $spacing-01;
|
|
65
|
-
padding-bottom: $spacing-06;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.#{$block-class}__side-panel-section-inner {
|
|
69
|
-
display: flex;
|
|
70
|
-
padding: $spacing-01 0;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.#{$block-class}__side-panel-label-text {
|
|
74
|
-
@include type.type-style('body-compact-01');
|
|
75
|
-
|
|
76
|
-
color: $text-secondary;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.#{$block-class}__side-panel-value {
|
|
80
|
-
@include type.type-style('body-compact-01');
|
|
81
|
-
|
|
82
|
-
padding-left: $spacing-03;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.#{$block-class}__side-panel-section-header {
|
|
86
|
-
@include type.type-style('heading-compact-01');
|
|
87
|
-
|
|
88
|
-
padding-bottom: $spacing-02;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.#{c4p-settings.$pkg-prefix}--side-panel.#{c4p-settings.$pkg-prefix}--side-panel__container.#{c4p-settings.$pkg-prefix}--side-panel__container-right-placement {
|
|
92
|
-
border: 0 none;
|
|
93
|
-
box-shadow: none;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.#{c4p-settings.$pkg-prefix}--side-panel__container
|
|
97
|
-
.#{c4p-settings.$pkg-prefix}--side-panel__inner-content {
|
|
98
|
-
height: 100%;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.#{$block-class}-story__custom-cell-wrapper.#{c4p-settings.$carbon-prefix}--link {
|
|
102
|
-
display: block;
|
|
103
|
-
overflow: hidden;
|
|
104
|
-
text-overflow: ellipsis;
|
|
105
|
-
white-space: nowrap;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.#{$block-class}-story__hidden-column-id-snippet {
|
|
109
|
-
padding-top: $spacing-07;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.#{$block-class}__mobile-toolbar-modal
|
|
113
|
-
.#{c4p-settings.$carbon-prefix}--dropdown__wrapper {
|
|
114
|
-
margin-bottom: $spacing-07;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.storybook-#{$block-class}__validation-code-snippet {
|
|
118
|
-
@include type.font-family($name: mono);
|
|
119
|
-
@include type.type-style('code-01');
|
|
120
|
-
|
|
121
|
-
display: inline-block;
|
|
122
|
-
padding: 0 $spacing-03;
|
|
123
|
-
border: 2px solid transparent;
|
|
124
|
-
border-radius: $spacing-02;
|
|
125
|
-
margin-right: $spacing-03;
|
|
126
|
-
background-color: $field-01;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.#{c4p-settings.$carbon-prefix}--body--with-modal-open {
|
|
130
|
-
.#{$block-class}__mobile-toolbar-modal.#{c4p-settings.$carbon-prefix}--modal {
|
|
131
|
-
top: -$spacing-07;
|
|
132
|
-
left: -$spacing-07;
|
|
133
|
-
width: 100vw;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
$story-anchor: 'Datagrid';
|
|
138
|
-
div[data-story-title*='#{$story-anchor}']
|
|
139
|
-
.docs-story
|
|
140
|
-
> div:first-child
|
|
141
|
-
> div:first-child {
|
|
142
|
-
overflow: auto;
|
|
143
|
-
width: 100%;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.sb--tooltip-trigger {
|
|
147
|
-
display: flex;
|
|
148
|
-
box-sizing: border-box;
|
|
149
|
-
align-items: center;
|
|
150
|
-
justify-content: center;
|
|
151
|
-
padding: 0;
|
|
152
|
-
border: 0;
|
|
153
|
-
margin: 0;
|
|
154
|
-
background: none;
|
|
155
|
-
cursor: pointer;
|
|
156
|
-
text-align: start;
|
|
157
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2022, 2022
|
|
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 '../../global/styles/project-settings';
|
|
9
|
-
|
|
10
|
-
// TODO: add any additional styles used by EditFullPage.stories.js
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2022, 2022
|
|
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
|
-
@use '../../global/styles/display-box';
|
|
8
|
-
|
|
9
|
-
$block-class: 'edit-in-place-example';
|
|
10
|
-
|
|
11
|
-
.#{$block-class}__viewport {
|
|
12
|
-
// width: 300px; // larger than standard size needed by text input at standard font size (html input attribute size)
|
|
13
|
-
// stylelint-disable-next-line carbon/layout-token-use
|
|
14
|
-
margin: 100px;
|
|
15
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2021, 2021
|
|
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
|
-
@use 'ALIAS_STORY_STYLE_CONFIG' as c4p-settings;
|
|
9
|
-
@use '@carbon/styles/scss/theme' as *;
|
|
10
|
-
@use '@carbon/styles/scss/spacing' as *;
|
|
11
|
-
@use '../../global/decorators/side-panel-decorator' as *;
|
|
12
|
-
|
|
13
|
-
$block-class: #{c4p-settings.$pkg-prefix}--edit-side-panel;
|
|
14
|
-
$story-prefix: edit-side-panel-stories__;
|
|
15
|
-
|
|
16
|
-
.#{$story-prefix}example-container {
|
|
17
|
-
display: grid;
|
|
18
|
-
align-items: flex-end;
|
|
19
|
-
grid-gap: $spacing-04;
|
|
20
|
-
grid-template-columns: 1fr 1fr;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.#{$story-prefix}example-form-group .#{c4p-settings.$carbon-prefix}--label {
|
|
24
|
-
margin-bottom: 0;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.#{$block-class} .#{c4p-settings.$carbon-prefix}--number__control-btn::before,
|
|
28
|
-
.#{$block-class} .#{c4p-settings.$carbon-prefix}--number__control-btn::after {
|
|
29
|
-
background-color: $field-02;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@include side-panel-decorator($story-prefix);
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2022, 2022
|
|
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
|
-
@use '@carbon/styles/scss/spacing' as *;
|
|
9
|
-
@use '@carbon/styles/scss/type';
|
|
10
|
-
@use '@carbon/type/scss/font-family';
|
|
11
|
-
|
|
12
|
-
@use 'ALIAS_STORY_STYLE_CONFIG' as c4p-settings;
|
|
13
|
-
|
|
14
|
-
// TODO: add any additional styles used by EditTearsheet.stories.js
|
|
15
|
-
|
|
16
|
-
$preview-block-class: #{c4p-settings.$pkg-prefix}--tearsheet-edit-multi-form;
|
|
17
|
-
|
|
18
|
-
.#{$preview-block-class}__description {
|
|
19
|
-
@include type.type-style('body-compact-01');
|
|
20
|
-
|
|
21
|
-
padding-bottom: $spacing-04;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
p.#{$preview-block-class}__description:last-of-type {
|
|
25
|
-
padding-bottom: $spacing-07;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.#{$preview-block-class}__heading {
|
|
29
|
-
@include font-family.font-weight('semibold');
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.#{$preview-block-class}
|
|
33
|
-
.#{c4p-settings.$pkg-prefix}--tearsheet__content
|
|
34
|
-
.#{c4p-settings.$carbon-prefix}--form-item {
|
|
35
|
-
margin-bottom: $spacing-05;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.#{c4p-settings.$carbon-prefix}--tile-group div {
|
|
39
|
-
display: flex;
|
|
40
|
-
flex-wrap: wrap;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.#{c4p-settings.$pkg-prefix}--tearsheet-edit-multi-form--custom-tile {
|
|
44
|
-
width: 280px;
|
|
45
|
-
height: 240px;
|
|
46
|
-
margin-right: $spacing-05;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.#{c4p-settings.$pkg-prefix}--tearsheet-edit-multi-form--custom-tile
|
|
50
|
-
.#{c4p-settings.$pkg-prefix}--empty-state__illustration.#{c4p-settings.$pkg-prefix}--empty-state__illustration--lg {
|
|
51
|
-
min-width: 120px;
|
|
52
|
-
height: 120px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.#{c4p-settings.$pkg-prefix}--tearsheet-edit-multi-form--custom-tile-label {
|
|
56
|
-
position: absolute;
|
|
57
|
-
bottom: $spacing-05;
|
|
58
|
-
left: $spacing-05;
|
|
59
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2022, 2022
|
|
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
|
-
// @use 'ALIAS_STORY_STYLE_CONFIG' as c4p-settings;
|
|
9
|
-
|
|
10
|
-
// TODO: add any additional styles used by EditTearsheetNarrow.stories.js
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2022, 2022
|
|
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
|
-
@use '@carbon/colors/' as *;
|
|
9
|
-
@use '@carbon/type/' as *;
|
|
10
|
-
@use '@carbon/styles/scss/spacing' as *;
|
|
11
|
-
@use 'ALIAS_STORY_STYLE_CONFIG' as c4p-settings;
|
|
12
|
-
|
|
13
|
-
// make the root full width to get a better idea of how the cards
|
|
14
|
-
// look in a real grid situation
|
|
15
|
-
/* stylelint-disable max-nesting-depth */
|
|
16
|
-
#root {
|
|
17
|
-
width: 100%;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
$block-class: #{c4p-settings.$pkg-prefix}--edit-update-cards;
|
|
21
|
-
|
|
22
|
-
.#{$block-class} {
|
|
23
|
-
textarea,
|
|
24
|
-
input,
|
|
25
|
-
select {
|
|
26
|
-
width: 100%;
|
|
27
|
-
height: auto;
|
|
28
|
-
padding: 0;
|
|
29
|
-
// stylelint-disable-next-line
|
|
30
|
-
font-size: type-scale(3);
|
|
31
|
-
letter-spacing: 0;
|
|
32
|
-
// stylelint-disable-next-line carbon/type-token-use
|
|
33
|
-
line-height: 1.5;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
.#{$block-class}--items {
|
|
37
|
-
margin-bottom: $spacing-06;
|
|
38
|
-
|
|
39
|
-
&:last-child {
|
|
40
|
-
margin-bottom: 0;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
.#{$block-class}--icon-text {
|
|
44
|
-
display: flex;
|
|
45
|
-
align-items: center;
|
|
46
|
-
|
|
47
|
-
svg {
|
|
48
|
-
margin-right: $spacing-01;
|
|
49
|
-
|
|
50
|
-
path {
|
|
51
|
-
// stylelint-disable-next-line carbon/theme-token-use
|
|
52
|
-
fill: $green-50;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2020, 2021
|
|
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
|
-
// shared card styles can be found in the Card folder
|
|
9
|
-
@use '../Card/storybook-styles' as *;
|
|
10
|
-
@use 'ALIAS_STORY_STYLE_CONFIG' as c4p-settings;
|
|
11
|
-
@use '@carbon/styles/scss/theme' as *;
|
|
12
|
-
|
|
13
|
-
$block-class: #{c4p-settings.$pkg-prefix}--card;
|
|
14
|
-
|
|
15
|
-
// aspect ratio box styling
|
|
16
|
-
.card-story .#{c4p-settings.$carbon-prefix}--aspect-ratio {
|
|
17
|
-
display: flex;
|
|
18
|
-
align-items: center;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
background: $layer-accent-01;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.#{$block-class}__media-left .#{$block-class}__media {
|
|
24
|
-
width: 100%;
|
|
25
|
-
max-width: 300px;
|
|
26
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2022, 2022
|
|
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
|
-
@use '../../global/styles/display-box' as *;
|
|
8
|
-
|
|
9
|
-
#root {
|
|
10
|
-
width: 100%;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.preview-position-fix {
|
|
14
|
-
max-width: 700px;
|
|
15
|
-
margin: 0 auto;
|
|
16
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2023, 2023
|
|
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
|
-
@use '@carbon/styles/scss/spacing' as *;
|
|
9
|
-
@use '../../global/styles/project-settings';
|
|
10
|
-
|
|
11
|
-
.storybook--inline-tip-wide {
|
|
12
|
-
max-width: 784px;
|
|
13
|
-
// Allow enough space above the component to show the "X" tooltip.
|
|
14
|
-
margin-top: $spacing-07;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.storybook--inline-tip-narrow {
|
|
18
|
-
max-width: 348px;
|
|
19
|
-
margin-top: $spacing-07;
|
|
20
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2020, 2020
|
|
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
|
-
@use '@carbon/styles/scss/theme' as *;
|
|
8
|
-
@use '@carbon/styles/scss/themes';
|
|
9
|
-
@use 'ALIAS_STORY_STYLE_CONFIG' as c4p-settings;
|
|
10
|
-
|
|
11
|
-
$storybook-block-class: #{c4p-settings.$pkg-prefix}--notifications-panel__story;
|
|
12
|
-
|
|
13
|
-
.#{$storybook-block-class}--full-height {
|
|
14
|
-
height: 100vh;
|
|
15
|
-
max-height: var(--doc-story-height); // set in core if needed;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.#{$storybook-block-class}__add {
|
|
19
|
-
display: flex;
|
|
20
|
-
height: 100%;
|
|
21
|
-
align-items: center;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2021, 2022
|
|
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
|
-
@use 'ALIAS_STORY_STYLE_CONFIG' as c4p-settings;
|
|
9
|
-
@use '@carbon/styles/scss/spacing' as *;
|
|
10
|
-
@use '@carbon/styles/scss/type';
|
|
11
|
-
|
|
12
|
-
$block-class: #{c4p-settings.$pkg-prefix}--options-tile;
|
|
13
|
-
|
|
14
|
-
.#{$block-class} {
|
|
15
|
-
width: 80vw;
|
|
16
|
-
min-width: 16rem;
|
|
17
|
-
max-width: 48rem;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.#{$block-class}__content p {
|
|
21
|
-
@include type.type-style('body-01');
|
|
22
|
-
|
|
23
|
-
margin-bottom: $spacing-06;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.#{$block-class}__content
|
|
27
|
-
.#{c4p-settings.$carbon-prefix}--dropdown__wrapper:first-of-type {
|
|
28
|
-
margin-bottom: $spacing-06;
|
|
29
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2020, 2021
|
|
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
|
-
@use '@carbon/styles/scss/theme' as *;
|
|
9
|
-
@use '@carbon/react/scss/spacing' as *;
|
|
10
|
-
@use '@carbon/styles/scss/type';
|
|
11
|
-
|
|
12
|
-
@use '@carbon/react/scss/components/ui-shell';
|
|
13
|
-
@use '@carbon/react/scss/components/data-table';
|
|
14
|
-
@use '@carbon/react/scss/components/button';
|
|
15
|
-
|
|
16
|
-
$story-class: 'page-header-stories';
|
|
17
|
-
|
|
18
|
-
.#{$story-class}__content-switcher {
|
|
19
|
-
justify-content: flex-start;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.#{$story-class}__content-switcher button {
|
|
23
|
-
width: auto;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.#{$story-class}__dummy-content {
|
|
27
|
-
position: relative; // used to raise the stacking context and check it still goes under the page header
|
|
28
|
-
padding-top: $spacing-05;
|
|
29
|
-
margin-top: $spacing-05;
|
|
30
|
-
background-color: $background;
|
|
31
|
-
color: $text-primary;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.#{$story-class}__dummy-content-block {
|
|
35
|
-
min-height: 120vh;
|
|
36
|
-
background: $layer-01;
|
|
37
|
-
background-clip: content-box;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.#{$story-class}__dummy-content-text {
|
|
41
|
-
@include type.type-style('body-compact-01');
|
|
42
|
-
|
|
43
|
-
padding: $spacing-05;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.#{$story-class}__status-icon {
|
|
47
|
-
fill: $support-success;
|
|
48
|
-
vertical-align: middle;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.#{$story-class}__app {
|
|
52
|
-
position: relative;
|
|
53
|
-
display: flex;
|
|
54
|
-
// min and max height needed to prevent scroll off screen (verify on in context page)
|
|
55
|
-
min-height: 100vh;
|
|
56
|
-
max-height: 100vh;
|
|
57
|
-
flex-direction: column;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.#{$story-class}__viewport {
|
|
61
|
-
overflow: hidden;
|
|
62
|
-
height: 100vh;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.#{$story-class}__viewport--scroll {
|
|
66
|
-
overflow-y: auto;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.#{$story-class}__viewport .#{$story-class}__content-container {
|
|
70
|
-
height: 100%;
|
|
71
|
-
overflow-y: auto;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.#{$story-class}__viewport
|
|
75
|
-
.#{$story-class}__content-container--with-global-header {
|
|
76
|
-
height: calc(100% - #{$spacing-09});
|
|
77
|
-
margin-top: $spacing-09;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.#{$story-class}__viewport--scroll .#{$story-class}__content-container {
|
|
81
|
-
overflow-y: initial;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
// cspell:disable-next-line
|
|
85
|
-
.sbdocs .#{$story-class}__viewport {
|
|
86
|
-
max-height: 50vh;
|
|
87
|
-
background-color: $background;
|
|
88
|
-
box-shadow: 0 0 4px 1px $layer-accent-01;
|
|
89
|
-
color: $text-primary;
|
|
90
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2020, 2022
|
|
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
|
-
// shared card styles can be found in the Card folder
|
|
9
|
-
@use '../Card/storybook-styles';
|
|
10
|
-
@use '@carbon/styles/scss/theme' as *;
|
|
11
|
-
@use '@carbon/styles/scss/spacing' as *;
|
|
12
|
-
|
|
13
|
-
.graph {
|
|
14
|
-
width: 200px;
|
|
15
|
-
height: 100px;
|
|
16
|
-
border: 10px solid $border-subtle-01;
|
|
17
|
-
border-right-color: $support-success;
|
|
18
|
-
border-bottom: 0;
|
|
19
|
-
border-left-color: $support-error;
|
|
20
|
-
margin: 0 auto $spacing-06 auto;
|
|
21
|
-
border-top-left-radius: 110px;
|
|
22
|
-
border-top-right-radius: 110px;
|
|
23
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2021, 2021
|
|
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
|
-
@use '@carbon/styles/scss/spacing' as *;
|
|
9
|
-
|
|
10
|
-
.saving-story-textarea {
|
|
11
|
-
margin-bottom: $spacing-03;
|
|
12
|
-
}
|