@cloudscape-design/components-themeable 3.0.1354 → 3.0.1356
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/expandable-section/styles.scss +12 -8
- package/lib/internal/scss/icon/hover-motion.scss +1151 -124
- package/lib/internal/scss/icon/mixins.scss +4 -0
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
- package/lib/internal/scss/link/styles.scss +2 -0
- package/lib/internal/scss/segmented-control/segment.scss +1 -1
- package/lib/internal/scss/spinner/mixins.scss +6 -0
- package/lib/internal/scss/spinner/styles.scss +13 -0
- package/lib/internal/template/expandable-section/styles.css.js +43 -43
- package/lib/internal/template/expandable-section/styles.scoped.css +89 -88
- package/lib/internal/template/expandable-section/styles.selectors.js +43 -43
- package/lib/internal/template/icon/generated/icons.js +126 -58
- package/lib/internal/template/icon/generated/icons.js.map +1 -1
- package/lib/internal/template/icon/styles.css.js +41 -41
- package/lib/internal/template/icon/styles.scoped.css +109 -91
- package/lib/internal/template/icon/styles.selectors.js +41 -41
- package/lib/internal/template/internal/base-component/styles.scoped.css +7 -7
- package/lib/internal/template/internal/base-theme/styles.scoped.css +6 -6
- 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.js +4 -4
- package/lib/internal/template/internal/generated/theming/index.cjs +12 -12
- package/lib/internal/template/internal/generated/theming/index.js +12 -12
- package/lib/internal/template/segmented-control/styles.css.js +16 -16
- package/lib/internal/template/segmented-control/styles.scoped.css +36 -36
- package/lib/internal/template/segmented-control/styles.selectors.js +16 -16
- package/lib/internal/template/spinner/internal.d.ts +3 -1
- package/lib/internal/template/spinner/internal.d.ts.map +1 -1
- package/lib/internal/template/spinner/internal.js.map +1 -1
- package/lib/internal/template/spinner/styles.css.js +14 -13
- package/lib/internal/template/spinner/styles.scoped.css +27 -19
- package/lib/internal/template/spinner/styles.selectors.js +14 -13
- package/lib/internal/template/status-indicator/internal.d.ts.map +1 -1
- package/lib/internal/template/status-indicator/internal.js +17 -12
- package/lib/internal/template/status-indicator/internal.js.map +1 -1
- package/package.json +1 -1
|
@@ -89,6 +89,10 @@ $_icon-sizes: (
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
> svg {
|
|
92
|
+
// Exposed for hover motion that compensates stroke width while scaling
|
|
93
|
+
// parts (see hover-motion.scss).
|
|
94
|
+
--awsui-internal-style-icon-stroke-width: calc(#{$stroke} / #{$scaleFactor});
|
|
95
|
+
|
|
92
96
|
&,
|
|
93
97
|
* {
|
|
94
98
|
stroke-width: calc(#{$stroke} / #{$scaleFactor});
|
|
@@ -21,7 +21,7 @@ $selected-background: var(#{custom-props.$styleBackgroundActive}, awsui.$color-b
|
|
|
21
21
|
$selected-color: var(#{custom-props.$styleColorActive}, awsui.$color-text-segment-active);
|
|
22
22
|
$segment-gap: awsui.$space-static-xxs;
|
|
23
23
|
$segment-divider-width: 1px;
|
|
24
|
-
$segment-radius: calc(awsui.$border-radius-button -
|
|
24
|
+
$segment-radius: calc(awsui.$border-radius-button - (#{awsui.$border-width-field} + #{awsui.$border-width-button}));
|
|
25
25
|
|
|
26
26
|
.segment {
|
|
27
27
|
@include styles.font-body-m;
|
|
@@ -8,6 +8,12 @@
|
|
|
8
8
|
@use '../internal/styles/tokens' as awsui;
|
|
9
9
|
|
|
10
10
|
$_spinner-sizes: (
|
|
11
|
+
(
|
|
12
|
+
name: 'x-small',
|
|
13
|
+
size: styles.$base-size,
|
|
14
|
+
iconSizeMap: 12px,
|
|
15
|
+
supportedLineHeight: awsui.$line-height-body-s,
|
|
16
|
+
),
|
|
11
17
|
(
|
|
12
18
|
name: 'normal',
|
|
13
19
|
size: 1.2 * styles.$base-size,
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
@use './mixins' as mixins;
|
|
8
8
|
@use '../internal/styles/tokens' as awsui;
|
|
9
9
|
@use '../internal/generated/custom-css-properties/index' as custom-props;
|
|
10
|
+
@use '../internal/styles/utils/theming' as theming;
|
|
10
11
|
|
|
11
12
|
@keyframes spinner-rotator {
|
|
12
13
|
0% {
|
|
@@ -115,3 +116,15 @@
|
|
|
115
116
|
animation-name: spinner-line-right;
|
|
116
117
|
}
|
|
117
118
|
}
|
|
119
|
+
|
|
120
|
+
// One Theme renders x-small/normal status icons with a 1.5px stroke.
|
|
121
|
+
// Match the spinner ring for those sizes only; big/large keep 2px.
|
|
122
|
+
.root.size-x-small,
|
|
123
|
+
.root.size-normal {
|
|
124
|
+
@include theming.one-theme-only {
|
|
125
|
+
& > .circle::after {
|
|
126
|
+
border-block-width: awsui.$border-width-icon-x-small;
|
|
127
|
+
border-inline-width: awsui.$border-width-icon-x-small;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"expand-button": "awsui_expand-
|
|
6
|
-
"icon": "
|
|
7
|
-
"expanded": "
|
|
8
|
-
"icon-container": "awsui_icon-
|
|
9
|
-
"icon-container-container": "awsui_icon-container-
|
|
10
|
-
"wrapper": "
|
|
11
|
-
"wrapper-default": "awsui_wrapper-
|
|
12
|
-
"wrapper-inline": "awsui_wrapper-
|
|
13
|
-
"wrapper-footer": "awsui_wrapper-
|
|
14
|
-
"wrapper-navigation": "awsui_wrapper-
|
|
15
|
-
"wrapper-container": "awsui_wrapper-
|
|
16
|
-
"wrapper-compact": "awsui_wrapper-
|
|
17
|
-
"header-deprecated": "awsui_header-
|
|
18
|
-
"wrapper-expanded": "awsui_wrapper-
|
|
19
|
-
"wrapper-not-expanded-without-actions": "awsui_wrapper-not-expanded-without-
|
|
20
|
-
"header": "
|
|
21
|
-
"header-wrapper": "awsui_header-
|
|
22
|
-
"header-actions-wrapper": "awsui_header-actions-
|
|
23
|
-
"header-button": "awsui_header-
|
|
24
|
-
"header-container-button": "awsui_header-container-
|
|
25
|
-
"header-container": "awsui_header-
|
|
26
|
-
"header-navigation": "awsui_header-
|
|
27
|
-
"icon-container-end": "awsui_icon-container-
|
|
28
|
-
"header-text": "awsui_header-
|
|
29
|
-
"content": "
|
|
30
|
-
"content-expanded": "awsui_content-
|
|
31
|
-
"content-compact": "awsui_content-
|
|
32
|
-
"content-inner": "awsui_content-
|
|
33
|
-
"content-inner-expanded": "awsui_content-inner-
|
|
34
|
-
"content-inner-settled": "awsui_content-inner-
|
|
35
|
-
"content-inner-body-default": "awsui_content-inner-body-
|
|
36
|
-
"content-inner-body-inline": "awsui_content-inner-body-
|
|
37
|
-
"content-inner-body-footer": "awsui_content-inner-body-
|
|
38
|
-
"content-inner-body-container": "awsui_content-inner-body-
|
|
39
|
-
"disable-header-paddings": "awsui_disable-header-
|
|
40
|
-
"disable-content-paddings": "awsui_disable-content-
|
|
41
|
-
"focusable": "
|
|
42
|
-
"click-target": "awsui_click-
|
|
43
|
-
"header-icon-end": "awsui_header-icon-
|
|
44
|
-
"header-button-icon-end": "awsui_header-button-icon-
|
|
45
|
-
"header-content": "awsui_header-
|
|
46
|
-
"header-navigation-content": "awsui_header-navigation-
|
|
4
|
+
"root": "awsui_root_gwq0h_1qsm6_149",
|
|
5
|
+
"expand-button": "awsui_expand-button_gwq0h_1qsm6_184",
|
|
6
|
+
"icon": "awsui_icon_gwq0h_1qsm6_188",
|
|
7
|
+
"expanded": "awsui_expanded_gwq0h_1qsm6_203",
|
|
8
|
+
"icon-container": "awsui_icon-container_gwq0h_1qsm6_213",
|
|
9
|
+
"icon-container-container": "awsui_icon-container-container_gwq0h_1qsm6_217",
|
|
10
|
+
"wrapper": "awsui_wrapper_gwq0h_1qsm6_221",
|
|
11
|
+
"wrapper-default": "awsui_wrapper-default_gwq0h_1qsm6_229",
|
|
12
|
+
"wrapper-inline": "awsui_wrapper-inline_gwq0h_1qsm6_229",
|
|
13
|
+
"wrapper-footer": "awsui_wrapper-footer_gwq0h_1qsm6_229",
|
|
14
|
+
"wrapper-navigation": "awsui_wrapper-navigation_gwq0h_1qsm6_233",
|
|
15
|
+
"wrapper-container": "awsui_wrapper-container_gwq0h_1qsm6_236",
|
|
16
|
+
"wrapper-compact": "awsui_wrapper-compact_gwq0h_1qsm6_240",
|
|
17
|
+
"header-deprecated": "awsui_header-deprecated_gwq0h_1qsm6_253",
|
|
18
|
+
"wrapper-expanded": "awsui_wrapper-expanded_gwq0h_1qsm6_272",
|
|
19
|
+
"wrapper-not-expanded-without-actions": "awsui_wrapper-not-expanded-without-actions_gwq0h_1qsm6_317",
|
|
20
|
+
"header": "awsui_header_gwq0h_1qsm6_253",
|
|
21
|
+
"header-wrapper": "awsui_header-wrapper_gwq0h_1qsm6_334",
|
|
22
|
+
"header-actions-wrapper": "awsui_header-actions-wrapper_gwq0h_1qsm6_346",
|
|
23
|
+
"header-button": "awsui_header-button_gwq0h_1qsm6_354",
|
|
24
|
+
"header-container-button": "awsui_header-container-button_gwq0h_1qsm6_354",
|
|
25
|
+
"header-container": "awsui_header-container_gwq0h_1qsm6_354",
|
|
26
|
+
"header-navigation": "awsui_header-navigation_gwq0h_1qsm6_389",
|
|
27
|
+
"icon-container-end": "awsui_icon-container-end_gwq0h_1qsm6_402",
|
|
28
|
+
"header-text": "awsui_header-text_gwq0h_1qsm6_434",
|
|
29
|
+
"content": "awsui_content_gwq0h_1qsm6_444",
|
|
30
|
+
"content-expanded": "awsui_content-expanded_gwq0h_1qsm6_447",
|
|
31
|
+
"content-compact": "awsui_content-compact_gwq0h_1qsm6_450",
|
|
32
|
+
"content-inner": "awsui_content-inner_gwq0h_1qsm6_454",
|
|
33
|
+
"content-inner-expanded": "awsui_content-inner-expanded_gwq0h_1qsm6_458",
|
|
34
|
+
"content-inner-settled": "awsui_content-inner-settled_gwq0h_1qsm6_462",
|
|
35
|
+
"content-inner-body-default": "awsui_content-inner-body-default_gwq0h_1qsm6_466",
|
|
36
|
+
"content-inner-body-inline": "awsui_content-inner-body-inline_gwq0h_1qsm6_466",
|
|
37
|
+
"content-inner-body-footer": "awsui_content-inner-body-footer_gwq0h_1qsm6_469",
|
|
38
|
+
"content-inner-body-container": "awsui_content-inner-body-container_gwq0h_1qsm6_472",
|
|
39
|
+
"disable-header-paddings": "awsui_disable-header-paddings_gwq0h_1qsm6_477",
|
|
40
|
+
"disable-content-paddings": "awsui_disable-content-paddings_gwq0h_1qsm6_482",
|
|
41
|
+
"focusable": "awsui_focusable_gwq0h_1qsm6_487",
|
|
42
|
+
"click-target": "awsui_click-target_gwq0h_1qsm6_502",
|
|
43
|
+
"header-icon-end": "awsui_header-icon-end_gwq0h_1qsm6_509",
|
|
44
|
+
"header-button-icon-end": "awsui_header-button-icon-end_gwq0h_1qsm6_526",
|
|
45
|
+
"header-content": "awsui_header-content_gwq0h_1qsm6_580",
|
|
46
|
+
"header-navigation-content": "awsui_header-navigation-content_gwq0h_1qsm6_586"
|
|
47
47
|
};
|
|
48
48
|
|