@cloudscape-design/components-themeable 3.0.1312 → 3.0.1314
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/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/action-card/styles.scss +4 -0
- package/lib/internal/scss/app-layout/visual-refresh/drawers.scss +4 -3
- package/lib/internal/scss/app-layout/visual-refresh/tools.scss +2 -1
- package/lib/internal/scss/breadcrumb-group/item/styles.scss +7 -0
- package/lib/internal/scss/breadcrumb-group/styles.scss +7 -0
- package/lib/internal/scss/button-dropdown/category-elements/styles.scss +6 -0
- package/lib/internal/scss/button-dropdown/styles.scss +16 -1
- package/lib/internal/scss/expandable-section/styles.scss +3 -2
- package/lib/internal/scss/internal/components/button-trigger/styles.scss +3 -2
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
- package/lib/internal/scss/internal/styles/utils/theming.scss +6 -0
- package/lib/internal/scss/segmented-control/styles.scss +2 -2
- package/lib/internal/scss/status-indicator/styles.scss +13 -4
- package/lib/internal/scss/steps/styles.scss +39 -0
- package/lib/internal/scss/table/header-cell/styles.scss +13 -2
- package/lib/internal/scss/table/resizer/styles.scss +9 -1
- package/lib/internal/scss/toggle/styles.scss +1 -1
- package/lib/internal/scss/toggle-button/styles.scss +7 -1
- package/lib/internal/scss/token/mixins.scss +4 -4
- package/lib/internal/scss/token/styles.scss +7 -0
- package/lib/internal/scss/tree-view/tree-item/styles.scss +2 -1
- package/lib/internal/template/action-card/styles.css.js +17 -17
- package/lib/internal/template/action-card/styles.scoped.css +94 -91
- package/lib/internal/template/action-card/styles.selectors.js +17 -17
- package/lib/internal/template/app-layout/visual-refresh/drawers.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/drawers.js +0 -3
- package/lib/internal/template/app-layout/visual-refresh/drawers.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/styles.css.js +86 -87
- package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +167 -167
- package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +86 -87
- package/lib/internal/template/app-layout/visual-refresh/tools.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/tools.js +0 -2
- package/lib/internal/template/app-layout/visual-refresh/tools.js.map +1 -1
- package/lib/internal/template/breadcrumb-group/item/styles.css.js +7 -7
- package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +29 -25
- package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +7 -7
- package/lib/internal/template/breadcrumb-group/styles.css.js +14 -14
- package/lib/internal/template/breadcrumb-group/styles.scoped.css +27 -24
- package/lib/internal/template/breadcrumb-group/styles.selectors.js +14 -14
- package/lib/internal/template/button-dropdown/category-elements/expandable-category-element.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/category-elements/expandable-category-element.js +3 -1
- package/lib/internal/template/button-dropdown/category-elements/expandable-category-element.js.map +1 -1
- package/lib/internal/template/button-dropdown/category-elements/mobile-expandable-category-element.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/category-elements/mobile-expandable-category-element.js +3 -1
- package/lib/internal/template/button-dropdown/category-elements/mobile-expandable-category-element.js.map +1 -1
- package/lib/internal/template/button-dropdown/category-elements/styles.css.js +18 -18
- package/lib/internal/template/button-dropdown/category-elements/styles.scoped.css +32 -28
- package/lib/internal/template/button-dropdown/category-elements/styles.selectors.js +18 -18
- package/lib/internal/template/button-dropdown/index.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/index.js +4 -3
- package/lib/internal/template/button-dropdown/index.js.map +1 -1
- package/lib/internal/template/button-dropdown/interfaces.d.ts +22 -0
- package/lib/internal/template/button-dropdown/interfaces.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/interfaces.js.map +1 -1
- package/lib/internal/template/button-dropdown/internal.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/internal.js +14 -6
- package/lib/internal/template/button-dropdown/internal.js.map +1 -1
- package/lib/internal/template/button-dropdown/styles.css.js +22 -22
- package/lib/internal/template/button-dropdown/styles.scoped.css +36 -30
- package/lib/internal/template/button-dropdown/styles.selectors.js +22 -22
- package/lib/internal/template/button-group/interfaces.d.ts +12 -1
- package/lib/internal/template/button-group/interfaces.d.ts.map +1 -1
- package/lib/internal/template/button-group/interfaces.js.map +1 -1
- package/lib/internal/template/button-group/menu-dropdown-item.d.ts.map +1 -1
- package/lib/internal/template/button-group/menu-dropdown-item.js +2 -1
- package/lib/internal/template/button-group/menu-dropdown-item.js.map +1 -1
- package/lib/internal/template/expandable-section/expandable-section-header.d.ts.map +1 -1
- package/lib/internal/template/expandable-section/expandable-section-header.js +3 -3
- package/lib/internal/template/expandable-section/expandable-section-header.js.map +1 -1
- package/lib/internal/template/expandable-section/styles.css.js +35 -36
- package/lib/internal/template/expandable-section/styles.scoped.css +70 -70
- package/lib/internal/template/expandable-section/styles.selectors.js +35 -36
- package/lib/internal/template/internal/base-component/styles.scoped.css +64 -1
- package/lib/internal/template/internal/components/button-trigger/index.js +1 -1
- package/lib/internal/template/internal/components/button-trigger/index.js.map +1 -1
- package/lib/internal/template/internal/components/button-trigger/styles.css.js +14 -15
- package/lib/internal/template/internal/components/button-trigger/styles.scoped.css +31 -31
- package/lib/internal/template/internal/components/button-trigger/styles.selectors.js +14 -15
- package/lib/internal/template/internal/components/checkbox-icon/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/checkbox-icon/index.js +11 -2
- package/lib/internal/template/internal/components/checkbox-icon/index.js.map +1 -1
- package/lib/internal/template/internal/environment.js +2 -2
- package/lib/internal/template/internal/environment.json +2 -2
- package/lib/internal/template/internal/generated/styles/tokens.d.ts +8 -0
- package/lib/internal/template/internal/generated/styles/tokens.js +8 -0
- package/lib/internal/template/internal/generated/theming/index.cjs +236 -0
- package/lib/internal/template/internal/generated/theming/index.cjs.d.ts +72 -0
- package/lib/internal/template/internal/generated/theming/index.d.ts +72 -0
- package/lib/internal/template/internal/generated/theming/index.js +236 -0
- package/lib/internal/template/internal/utils/throttle.d.ts.map +1 -1
- package/lib/internal/template/internal/utils/throttle.js +3 -1
- package/lib/internal/template/internal/utils/throttle.js.map +1 -1
- package/lib/internal/template/progress-bar/index.d.ts.map +1 -1
- package/lib/internal/template/progress-bar/index.js +1 -0
- package/lib/internal/template/progress-bar/index.js.map +1 -1
- package/lib/internal/template/segmented-control/styles.css.js +16 -16
- package/lib/internal/template/segmented-control/styles.scoped.css +34 -34
- package/lib/internal/template/segmented-control/styles.selectors.js +16 -16
- package/lib/internal/template/status-indicator/internal.d.ts.map +1 -1
- package/lib/internal/template/status-indicator/internal.js +2 -2
- package/lib/internal/template/status-indicator/internal.js.map +1 -1
- package/lib/internal/template/status-indicator/styles.css.js +24 -25
- package/lib/internal/template/status-indicator/styles.scoped.css +55 -50
- package/lib/internal/template/status-indicator/styles.selectors.js +24 -25
- package/lib/internal/template/steps/internal.d.ts.map +1 -1
- package/lib/internal/template/steps/internal.js +20 -6
- package/lib/internal/template/steps/internal.js.map +1 -1
- package/lib/internal/template/steps/styles.css.js +12 -9
- package/lib/internal/template/steps/styles.scoped.css +43 -15
- package/lib/internal/template/steps/styles.selectors.js +12 -9
- package/lib/internal/template/table/header-cell/group-header-cell.d.ts.map +1 -1
- package/lib/internal/template/table/header-cell/group-header-cell.js +1 -1
- package/lib/internal/template/table/header-cell/group-header-cell.js.map +1 -1
- package/lib/internal/template/table/header-cell/index.d.ts.map +1 -1
- package/lib/internal/template/table/header-cell/index.js +2 -1
- package/lib/internal/template/table/header-cell/index.js.map +1 -1
- package/lib/internal/template/table/header-cell/styles.css.js +33 -33
- package/lib/internal/template/table/header-cell/styles.scoped.css +81 -74
- package/lib/internal/template/table/header-cell/styles.selectors.js +33 -33
- package/lib/internal/template/table/resizer/index.d.ts +4 -2
- package/lib/internal/template/table/resizer/index.d.ts.map +1 -1
- package/lib/internal/template/table/resizer/index.js +4 -4
- package/lib/internal/template/table/resizer/index.js.map +1 -1
- package/lib/internal/template/table/resizer/styles.css.js +17 -16
- package/lib/internal/template/table/resizer/styles.scoped.css +32 -24
- package/lib/internal/template/table/resizer/styles.selectors.js +17 -16
- package/lib/internal/template/table/selection/selection-cell.d.ts +2 -1
- package/lib/internal/template/table/selection/selection-cell.d.ts.map +1 -1
- package/lib/internal/template/table/selection/selection-cell.js +2 -2
- package/lib/internal/template/table/selection/selection-cell.js.map +1 -1
- package/lib/internal/template/table/thead.d.ts.map +1 -1
- package/lib/internal/template/table/thead.js +1 -1
- package/lib/internal/template/table/thead.js.map +1 -1
- package/lib/internal/template/toggle/styles.css.js +10 -10
- package/lib/internal/template/toggle/styles.scoped.css +18 -18
- package/lib/internal/template/toggle/styles.selectors.js +10 -10
- package/lib/internal/template/toggle-button/internal.d.ts.map +1 -1
- package/lib/internal/template/toggle-button/internal.js +3 -1
- package/lib/internal/template/toggle-button/internal.js.map +1 -1
- package/lib/internal/template/toggle-button/styles.css.js +4 -3
- package/lib/internal/template/toggle-button/styles.scoped.css +8 -3
- package/lib/internal/template/toggle-button/styles.selectors.js +4 -3
- package/lib/internal/template/token/dismiss-button.d.ts.map +1 -1
- package/lib/internal/template/token/dismiss-button.js +3 -1
- package/lib/internal/template/token/dismiss-button.js.map +1 -1
- package/lib/internal/template/token/internal.d.ts.map +1 -1
- package/lib/internal/template/token/internal.js +11 -3
- package/lib/internal/template/token/internal.js.map +1 -1
- package/lib/internal/template/token/styles.css.js +14 -14
- package/lib/internal/template/token/styles.scoped.css +33 -30
- package/lib/internal/template/token/styles.selectors.js +14 -14
- package/lib/internal/template/tree-view/tree-item/index.d.ts.map +1 -1
- package/lib/internal/template/tree-view/tree-item/index.js +1 -2
- package/lib/internal/template/tree-view/tree-item/index.js.map +1 -1
- package/lib/internal/template/tree-view/tree-item/styles.css.js +9 -10
- package/lib/internal/template/tree-view/tree-item/styles.scoped.css +18 -14
- package/lib/internal/template/tree-view/tree-item/styles.selectors.js +9 -10
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
@use '../internal/styles' as styles;
|
|
9
9
|
@use '../internal/styles/tokens' as awsui;
|
|
10
|
+
@use '../internal/styles/utils/theming' as theming;
|
|
10
11
|
@use '@cloudscape-design/component-toolkit/internal/focus-visible' as focus-visible;
|
|
11
12
|
@use './constants' as constants;
|
|
12
13
|
@use './mixins' as mixins;
|
|
@@ -18,6 +19,9 @@
|
|
|
18
19
|
&.disabled {
|
|
19
20
|
color: map.get(constants.$states, 'disabled', 'text-color');
|
|
20
21
|
}
|
|
22
|
+
@include theming.one-theme-only {
|
|
23
|
+
color: awsui.$color-text-heading-default;
|
|
24
|
+
}
|
|
21
25
|
}
|
|
22
26
|
&:not(:has(+ .body)) {
|
|
23
27
|
flex: 1;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
@use '../../internal/styles/tokens' as awsui;
|
|
6
6
|
@use '../../internal/generated/custom-css-properties/index.scss' as custom-props;
|
|
7
7
|
@use '../../internal/styles' as styles;
|
|
8
|
+
@use '../../internal/styles/utils/theming';
|
|
8
9
|
@use '../constants.scss' as constants;
|
|
9
10
|
|
|
10
11
|
.drawers-container {
|
|
@@ -22,7 +23,7 @@
|
|
|
22
23
|
background-color: awsui.$color-background-container-content;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
|
|
26
|
+
@include theming.one-theme-only {
|
|
26
27
|
&.has-open-drawer {
|
|
27
28
|
background-color: awsui.$color-background-layout-panel-content;
|
|
28
29
|
}
|
|
@@ -72,7 +73,7 @@
|
|
|
72
73
|
background-color: awsui.$color-background-container-content;
|
|
73
74
|
}
|
|
74
75
|
|
|
75
|
-
|
|
76
|
+
@include theming.one-theme-only {
|
|
76
77
|
&.has-multiple-triggers.has-open-drawer {
|
|
77
78
|
background-color: awsui.$color-background-layout-panel-content;
|
|
78
79
|
}
|
|
@@ -137,7 +138,7 @@
|
|
|
137
138
|
pointer-events: auto;
|
|
138
139
|
word-wrap: break-word;
|
|
139
140
|
|
|
140
|
-
|
|
141
|
+
@include theming.one-theme-only {
|
|
141
142
|
background-color: awsui.$color-background-layout-panel-content;
|
|
142
143
|
}
|
|
143
144
|
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
@use '../../internal/styles' as styles;
|
|
7
7
|
@use '../../internal/styles/tokens' as awsui;
|
|
8
8
|
@use '../../internal/generated/custom-css-properties/index.scss' as custom-props;
|
|
9
|
+
@use '../../internal/styles/utils/theming';
|
|
9
10
|
|
|
10
11
|
/*
|
|
11
12
|
The Tools component container has a max width calculation that depends on the
|
|
@@ -95,7 +96,7 @@ viewport size and state of the Tools drawer.
|
|
|
95
96
|
}
|
|
96
97
|
}
|
|
97
98
|
|
|
98
|
-
|
|
99
|
+
@include theming.one-theme-only {
|
|
99
100
|
background-color: awsui.$color-background-layout-panel-content;
|
|
100
101
|
}
|
|
101
102
|
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
@use '../../internal/styles' as styles;
|
|
7
7
|
@use '../../internal/styles/tokens' as awsui;
|
|
8
8
|
@use '@cloudscape-design/component-toolkit/internal/focus-visible' as focus-visible;
|
|
9
|
+
@use '../../internal/styles/utils/theming' as theming;
|
|
9
10
|
|
|
10
11
|
.link:after {
|
|
11
12
|
display: none;
|
|
@@ -21,6 +22,12 @@
|
|
|
21
22
|
color: awsui.$color-text-breadcrumb-icon;
|
|
22
23
|
}
|
|
23
24
|
|
|
25
|
+
@include theming.one-theme-only {
|
|
26
|
+
> .icon {
|
|
27
|
+
margin-inline: awsui.$space-xxs;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
24
31
|
> .anchor {
|
|
25
32
|
min-inline-size: 0;
|
|
26
33
|
overflow: hidden;
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
@use '../internal/styles' as styles;
|
|
7
7
|
@use '../internal/styles/tokens' as awsui;
|
|
8
8
|
@use '@cloudscape-design/component-toolkit/internal/focus-visible' as focus-visible;
|
|
9
|
+
@use '../internal/styles/utils/theming' as theming;
|
|
9
10
|
|
|
10
11
|
.breadcrumb-group {
|
|
11
12
|
@include styles.styles-reset;
|
|
@@ -63,6 +64,12 @@
|
|
|
63
64
|
margin-inline: styles.$base-size;
|
|
64
65
|
color: awsui.$color-text-breadcrumb-icon;
|
|
65
66
|
}
|
|
67
|
+
|
|
68
|
+
@include theming.one-theme-only {
|
|
69
|
+
> .icon {
|
|
70
|
+
margin-inline: awsui.$space-xxs;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
66
73
|
}
|
|
67
74
|
}
|
|
68
75
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
@use '../../internal/styles' as styles;
|
|
7
7
|
@use '../../internal/styles/tokens' as awsui;
|
|
8
|
+
@use '../../internal/styles/utils/theming';
|
|
8
9
|
|
|
9
10
|
.header {
|
|
10
11
|
position: relative;
|
|
@@ -120,6 +121,11 @@
|
|
|
120
121
|
display: inline-block;
|
|
121
122
|
margin-inline-start: auto;
|
|
122
123
|
|
|
124
|
+
@include theming.one-theme-only {
|
|
125
|
+
inset-inline-end: calc(-1 * #{awsui.$space-xs});
|
|
126
|
+
inline-size: awsui.$space-s;
|
|
127
|
+
}
|
|
128
|
+
|
|
123
129
|
@include styles.with-motion {
|
|
124
130
|
transition: transform awsui.$motion-duration-rotate-180 awsui.$motion-easing-rotate-180;
|
|
125
131
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
@use '../internal/styles' as styles;
|
|
7
7
|
@use '../internal/styles/tokens' as awsui;
|
|
8
|
+
@use '../internal/styles/utils/theming';
|
|
8
9
|
|
|
9
10
|
$dropdown-trigger-icon-offset: 2px;
|
|
10
11
|
|
|
@@ -50,7 +51,7 @@ $dropdown-trigger-icon-offset: 2px;
|
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
.trigger-button {
|
|
53
|
-
|
|
54
|
+
@include theming.one-theme-only {
|
|
54
55
|
display: flex;
|
|
55
56
|
align-items: center;
|
|
56
57
|
}
|
|
@@ -103,6 +104,20 @@ $dropdown-trigger-icon-offset: 2px;
|
|
|
103
104
|
padding-inline-end: calc(#{awsui.$space-s} - #{$dropdown-trigger-icon-offset});
|
|
104
105
|
}
|
|
105
106
|
}
|
|
107
|
+
|
|
108
|
+
@include theming.one-theme-only {
|
|
109
|
+
& > .trigger-button {
|
|
110
|
+
// Resets the padding-inline-end override applied by .visual-refresh above,
|
|
111
|
+
// so both sides stay at $space-xs - $dropdown-trigger-icon-offset.
|
|
112
|
+
padding-inline: calc(#{awsui.$space-xs} - #{$dropdown-trigger-icon-offset});
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&.has-trigger-text {
|
|
116
|
+
& > .trigger-button {
|
|
117
|
+
padding-inline: calc(#{awsui.$space-xs} + #{$dropdown-trigger-icon-offset});
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
106
121
|
}
|
|
107
122
|
|
|
108
123
|
& > .trigger-item.variant-normal {
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
@use '../internal/styles/tokens' as awsui;
|
|
7
7
|
@use '@cloudscape-design/component-toolkit/internal/focus-visible' as focus-visible;
|
|
8
8
|
@use '../container/shared' as container;
|
|
9
|
+
@use '../internal/styles/utils/theming';
|
|
9
10
|
|
|
10
11
|
@use './motion';
|
|
11
12
|
|
|
@@ -54,7 +55,7 @@ $icon-total-space-medium: calc(#{$icon-width-medium} + #{$icon-margin-left} + #{
|
|
|
54
55
|
// For vertical alignment of text in side navigation items
|
|
55
56
|
&-container {
|
|
56
57
|
margin-inline-end: $icon-margin-right-medium;
|
|
57
|
-
|
|
58
|
+
@include theming.one-theme-only {
|
|
58
59
|
margin-inline-end: calc(#{$icon-margin-right-medium} + $icon-offset-inline);
|
|
59
60
|
inset-block-start: $icon-offset-block;
|
|
60
61
|
> .icon {
|
|
@@ -62,7 +63,7 @@ $icon-total-space-medium: calc(#{$icon-width-medium} + #{$icon-margin-left} + #{
|
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
|
-
|
|
66
|
+
@include theming.one-theme-only {
|
|
66
67
|
display: inline-flex;
|
|
67
68
|
align-items: flex-start;
|
|
68
69
|
margin-inline-end: calc(#{$icon-margin-right-normal} + #{$icon-offset-inline});
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
@use '../../styles/tokens' as awsui;
|
|
8
8
|
@use '@cloudscape-design/component-toolkit/internal/focus-visible' as focus-visible;
|
|
9
9
|
@use '../../../token/constants' as token;
|
|
10
|
+
@use '../../styles/utils/theming';
|
|
10
11
|
|
|
11
12
|
@use './motion';
|
|
12
13
|
|
|
@@ -70,7 +71,7 @@ $icon-offset: awsui.$space-xxxs;
|
|
|
70
71
|
inset-inline-end: styles.$control-icon-horizontal-offset;
|
|
71
72
|
inset-block-start: styles.$control-icon-vertical-offset;
|
|
72
73
|
color: awsui.$color-text-button-inline-icon-default;
|
|
73
|
-
|
|
74
|
+
@include theming.one-theme-only {
|
|
74
75
|
inset-block-start: calc(styles.$control-icon-vertical-offset + $icon-offset);
|
|
75
76
|
}
|
|
76
77
|
}
|
|
@@ -84,7 +85,7 @@ $icon-offset: awsui.$space-xxxs;
|
|
|
84
85
|
&.pressed {
|
|
85
86
|
> .arrow {
|
|
86
87
|
transform: rotate(-180deg);
|
|
87
|
-
|
|
88
|
+
@include theming.one-theme-only {
|
|
88
89
|
inset-block-start: calc(styles.$control-icon-vertical-offset - $icon-offset);
|
|
89
90
|
}
|
|
90
91
|
}
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
|
|
25
25
|
.segment-part {
|
|
26
26
|
display: inline-grid;
|
|
27
|
-
border-inline: solid awsui.$border-width-field awsui.$color-border-
|
|
28
|
-
border-block: solid awsui.$border-width-field awsui.$color-border-
|
|
27
|
+
border-inline: solid awsui.$border-width-field awsui.$color-border-segment-wrapper;
|
|
28
|
+
border-block: solid awsui.$border-width-field awsui.$color-border-segment-wrapper;
|
|
29
29
|
border-start-start-radius: awsui.$border-radius-button;
|
|
30
30
|
border-start-end-radius: awsui.$border-radius-button;
|
|
31
31
|
border-end-start-radius: awsui.$border-radius-button;
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
@use 'sass:map';
|
|
7
7
|
@use '../internal/styles' as styles;
|
|
8
8
|
@use '../internal/styles/tokens' as awsui;
|
|
9
|
+
@use '../internal/styles/utils/theming';
|
|
9
10
|
|
|
10
11
|
@use './motion';
|
|
11
12
|
|
|
@@ -79,13 +80,21 @@ $_background-overrides: (
|
|
|
79
80
|
border-start-end-radius: awsui.$border-radius-status-indicator;
|
|
80
81
|
border-end-start-radius: awsui.$border-radius-status-indicator;
|
|
81
82
|
border-end-end-radius: awsui.$border-radius-status-indicator;
|
|
83
|
+
|
|
84
|
+
.root.status-loading > & {
|
|
85
|
+
@include theming.one-theme-only {
|
|
86
|
+
background: transparent;
|
|
87
|
+
align-items: center;
|
|
88
|
+
color: awsui.$color-text-body-secondary;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
82
91
|
&.display-inline {
|
|
83
92
|
@include styles.text-wrapping;
|
|
84
93
|
display: inline;
|
|
85
94
|
|
|
86
95
|
> .icon {
|
|
87
96
|
white-space: nowrap;
|
|
88
|
-
|
|
97
|
+
@include theming.one-theme-only {
|
|
89
98
|
vertical-align: middle;
|
|
90
99
|
}
|
|
91
100
|
}
|
|
@@ -95,7 +104,7 @@ $_background-overrides: (
|
|
|
95
104
|
display: inline-block;
|
|
96
105
|
word-wrap: break-word;
|
|
97
106
|
word-break: break-all;
|
|
98
|
-
|
|
107
|
+
@include theming.one-theme-only {
|
|
99
108
|
display: inline-flex;
|
|
100
109
|
align-items: flex-start;
|
|
101
110
|
}
|
|
@@ -103,7 +112,7 @@ $_background-overrides: (
|
|
|
103
112
|
> .icon {
|
|
104
113
|
padding-inline-end: awsui.$space-xxs;
|
|
105
114
|
|
|
106
|
-
|
|
115
|
+
@include theming.one-theme-only {
|
|
107
116
|
display: inline-flex;
|
|
108
117
|
align-items: center;
|
|
109
118
|
margin-block-start: awsui.$space-xxxs;
|
|
@@ -119,7 +128,7 @@ $_background-overrides: (
|
|
|
119
128
|
white-space: nowrap;
|
|
120
129
|
vertical-align: text-bottom;
|
|
121
130
|
|
|
122
|
-
|
|
131
|
+
@include theming.one-theme-only {
|
|
123
132
|
text-overflow: unset;
|
|
124
133
|
|
|
125
134
|
> span:last-child {
|
|
@@ -116,3 +116,42 @@
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
+
|
|
120
|
+
// Vertical custom steps: a column-1 "rail" stacks the icon above a connector that grows to fill
|
|
121
|
+
// the full height of the step (header + details), keeping the vertical line continuous and
|
|
122
|
+
// connecting consecutive steps regardless of header height. Placed after `.horizontal` so
|
|
123
|
+
// selectors stay in ascending specificity order.
|
|
124
|
+
.root > .list > .container.custom-vertical {
|
|
125
|
+
// The rail stretches to the row height (default `align-items: stretch`), which is driven by the
|
|
126
|
+
// content column, so the connector always spans the full step.
|
|
127
|
+
> .rail {
|
|
128
|
+
grid-column: 1;
|
|
129
|
+
display: flex;
|
|
130
|
+
flex-direction: column;
|
|
131
|
+
align-items: center;
|
|
132
|
+
|
|
133
|
+
> .connector {
|
|
134
|
+
grid-row: auto;
|
|
135
|
+
grid-column: auto;
|
|
136
|
+
flex: 1 1 auto;
|
|
137
|
+
background-color: awsui.$color-border-divider-default;
|
|
138
|
+
border-block: 0;
|
|
139
|
+
border-inline: 0;
|
|
140
|
+
inline-size: awsui.$border-divider-list-width;
|
|
141
|
+
block-size: auto;
|
|
142
|
+
min-block-size: awsui.$space-static-xs;
|
|
143
|
+
inset-inline-end: 0;
|
|
144
|
+
margin-block: awsui.$space-static-xxs 0;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
> .content {
|
|
149
|
+
grid-column: 2;
|
|
150
|
+
// Allow long header/details text to wrap instead of stretching the grid column.
|
|
151
|
+
min-inline-size: 0;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.root > .list > .container.custom-vertical:last-of-type > .rail > .connector {
|
|
156
|
+
display: none;
|
|
157
|
+
}
|
|
@@ -53,7 +53,7 @@ $cell-horizontal-padding: awsui.$space-scaled-l;
|
|
|
53
53
|
position: relative;
|
|
54
54
|
text-align: start;
|
|
55
55
|
box-sizing: border-box;
|
|
56
|
-
border-block-end: awsui.$border-divider-list-width solid awsui.$color-border-divider-
|
|
56
|
+
border-block-end: awsui.$border-divider-list-width solid awsui.$color-border-divider-default;
|
|
57
57
|
background: awsui.$color-background-table-header;
|
|
58
58
|
color: awsui.$color-text-column-header;
|
|
59
59
|
font-weight: awsui.$font-weight-heading-s;
|
|
@@ -68,10 +68,21 @@ $cell-horizontal-padding: awsui.$space-scaled-l;
|
|
|
68
68
|
&.header-cell-spans-rows {
|
|
69
69
|
padding-block: awsui.$space-xxxs;
|
|
70
70
|
padding-inline: awsui.$space-scaled-xs;
|
|
71
|
+
border-block-end-color: awsui.$color-border-divider-table-group;
|
|
72
|
+
|
|
73
|
+
> .resize-divider.resize-divider {
|
|
74
|
+
border-inline-start-color: awsui.$color-border-divider-table-group;
|
|
75
|
+
}
|
|
71
76
|
}
|
|
72
77
|
|
|
73
78
|
&-sticky {
|
|
74
|
-
border-block-end: awsui.$border-table-sticky-width solid awsui.$color-border-divider-
|
|
79
|
+
border-block-end: awsui.$border-table-sticky-width solid awsui.$color-border-divider-default;
|
|
80
|
+
|
|
81
|
+
&.header-cell-group,
|
|
82
|
+
&.header-cell-grouped,
|
|
83
|
+
&.header-cell-spans-rows {
|
|
84
|
+
border-block-end-color: awsui.$color-border-divider-table-group;
|
|
85
|
+
}
|
|
75
86
|
}
|
|
76
87
|
&-stuck:not(.header-cell-variant-full-page) {
|
|
77
88
|
border-block-end-color: transparent;
|
|
@@ -46,9 +46,17 @@ th:not([data-rightmost]) > .divider,
|
|
|
46
46
|
max-block-size: calc(100% - #{$block-gap});
|
|
47
47
|
margin-block: auto;
|
|
48
48
|
margin-inline: auto;
|
|
49
|
-
border-inline-start: awsui.$border-divider-list-width solid awsui.$color-border-divider-
|
|
49
|
+
border-inline-start: awsui.$border-divider-list-width solid awsui.$color-border-divider-default;
|
|
50
50
|
box-sizing: border-box;
|
|
51
51
|
|
|
52
|
+
&.divider-interactive {
|
|
53
|
+
border-inline-start: awsui.$border-divider-list-width solid awsui.$color-border-divider-interactive-default;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.divider-grouped {
|
|
57
|
+
border-inline-start-color: awsui.$color-border-divider-table-group;
|
|
58
|
+
}
|
|
59
|
+
|
|
52
60
|
// Position variants for grouped column headers.
|
|
53
61
|
// All Column dividers maintain the same bottom gap ($block-gap / 2) as the default.
|
|
54
62
|
&.divider-position-top {
|
|
@@ -13,7 +13,7 @@ $toggle-width: 2.4 * styles.$base-size;
|
|
|
13
13
|
$toggle-height: 1.6 * styles.$base-size;
|
|
14
14
|
$handle-size: 1.2 * styles.$base-size;
|
|
15
15
|
$handle-offset: 0.2 * styles.$base-size;
|
|
16
|
-
$shadow-color:
|
|
16
|
+
$shadow-color: awsui.$color-shadow-toggle-handle;
|
|
17
17
|
|
|
18
18
|
.root {
|
|
19
19
|
@include styles.styles-reset;
|
|
@@ -5,8 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
@use '../internal/styles/tokens' as awsui;
|
|
7
7
|
|
|
8
|
-
.variant-normal {
|
|
8
|
+
.toggle-button.variant-normal {
|
|
9
9
|
background: awsui.$color-background-toggle-button-normal-default;
|
|
10
|
+
border-color: awsui.$color-border-toggle-button-normal-default;
|
|
11
|
+
|
|
12
|
+
&:hover {
|
|
13
|
+
background: awsui.$color-background-toggle-button-normal-hover;
|
|
14
|
+
border-color: awsui.$color-border-toggle-button-normal-hover;
|
|
15
|
+
}
|
|
10
16
|
}
|
|
11
17
|
|
|
12
18
|
.variant-normal.pressed {
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
display: flex;
|
|
43
43
|
align-items: center;
|
|
44
44
|
background: var(#{custom-props.$tokenStyleBackgroundDefault}, constants.$token-background);
|
|
45
|
-
border-start-start-radius: awsui.$
|
|
46
|
-
border-start-end-radius: awsui.$
|
|
47
|
-
border-end-start-radius: awsui.$
|
|
48
|
-
border-end-end-radius: awsui.$
|
|
45
|
+
border-start-start-radius: awsui.$border-radius-token-inline;
|
|
46
|
+
border-start-end-radius: awsui.$border-radius-token-inline;
|
|
47
|
+
border-end-start-radius: awsui.$border-radius-token-inline;
|
|
48
|
+
border-end-end-radius: awsui.$border-radius-token-inline;
|
|
49
49
|
color: awsui.$color-text-body-default;
|
|
50
50
|
box-sizing: border-box;
|
|
51
51
|
max-inline-size: 100%;
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
@use '../internal/generated/custom-css-properties/index.scss' as custom-props;
|
|
11
11
|
@use './constants' as constants;
|
|
12
12
|
@use './mixins.scss' as mixins;
|
|
13
|
+
@use '../internal/styles/utils/theming' as theming;
|
|
13
14
|
|
|
14
15
|
.root {
|
|
15
16
|
@include styles.styles-reset;
|
|
@@ -54,6 +55,12 @@
|
|
|
54
55
|
align-items: center;
|
|
55
56
|
align-self: center;
|
|
56
57
|
}
|
|
58
|
+
|
|
59
|
+
&:not(&-inline) {
|
|
60
|
+
@include theming.one-theme-only {
|
|
61
|
+
padding-block-start: 1px;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
57
64
|
}
|
|
58
65
|
|
|
59
66
|
.icon {
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
@use '../../internal/styles/tokens' as awsui;
|
|
6
6
|
@use '../../internal/styles' as styles;
|
|
7
7
|
@use '@cloudscape-design/component-toolkit/internal/focus-visible' as focus-visible;
|
|
8
|
+
@use '../../internal/styles/utils/theming';
|
|
8
9
|
|
|
9
10
|
$item-toggle-column-width: 28px;
|
|
10
11
|
|
|
@@ -49,7 +50,7 @@ $item-toggle-column-width: 28px;
|
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
52
|
|
|
52
|
-
|
|
53
|
+
@include theming.one-theme-only {
|
|
53
54
|
align-items: center;
|
|
54
55
|
> .expand-toggle-wrapper {
|
|
55
56
|
> .toggle {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"icon": "
|
|
6
|
-
"header-inner": "awsui_header-
|
|
7
|
-
"disabled": "
|
|
8
|
-
"header": "
|
|
9
|
-
"body": "
|
|
10
|
-
"header-row": "awsui_header-
|
|
11
|
-
"description": "
|
|
12
|
-
"has-header": "awsui_has-
|
|
13
|
-
"header-button": "awsui_header-
|
|
14
|
-
"overlay-button": "awsui_overlay-
|
|
15
|
-
"variant-embedded": "awsui_variant-
|
|
16
|
-
"variant-default": "awsui_variant-
|
|
17
|
-
"inner-card": "awsui_inner-
|
|
18
|
-
"no-padding": "awsui_no-
|
|
19
|
-
"icon-vertical-align-center": "awsui_icon-vertical-align-
|
|
20
|
-
"icon-align-end": "awsui_icon-align-
|
|
4
|
+
"root": "awsui_root_16248_1xlcm_161",
|
|
5
|
+
"icon": "awsui_icon_16248_1xlcm_193",
|
|
6
|
+
"header-inner": "awsui_header-inner_16248_1xlcm_209",
|
|
7
|
+
"disabled": "awsui_disabled_16248_1xlcm_218",
|
|
8
|
+
"header": "awsui_header_16248_1xlcm_209",
|
|
9
|
+
"body": "awsui_body_16248_1xlcm_224",
|
|
10
|
+
"header-row": "awsui_header-row_16248_1xlcm_228",
|
|
11
|
+
"description": "awsui_description_16248_1xlcm_241",
|
|
12
|
+
"has-header": "awsui_has-header_16248_1xlcm_247",
|
|
13
|
+
"header-button": "awsui_header-button_16248_1xlcm_261",
|
|
14
|
+
"overlay-button": "awsui_overlay-button_16248_1xlcm_262",
|
|
15
|
+
"variant-embedded": "awsui_variant-embedded_16248_1xlcm_281",
|
|
16
|
+
"variant-default": "awsui_variant-default_16248_1xlcm_293",
|
|
17
|
+
"inner-card": "awsui_inner-card_16248_1xlcm_394",
|
|
18
|
+
"no-padding": "awsui_no-padding_16248_1xlcm_401",
|
|
19
|
+
"icon-vertical-align-center": "awsui_icon-vertical-align-center_16248_1xlcm_412",
|
|
20
|
+
"icon-align-end": "awsui_icon-align-end_16248_1xlcm_546"
|
|
21
21
|
};
|
|
22
22
|
|