@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.
Files changed (37) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/expandable-section/styles.scss +12 -8
  3. package/lib/internal/scss/icon/hover-motion.scss +1151 -124
  4. package/lib/internal/scss/icon/mixins.scss +4 -0
  5. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
  6. package/lib/internal/scss/link/styles.scss +2 -0
  7. package/lib/internal/scss/segmented-control/segment.scss +1 -1
  8. package/lib/internal/scss/spinner/mixins.scss +6 -0
  9. package/lib/internal/scss/spinner/styles.scss +13 -0
  10. package/lib/internal/template/expandable-section/styles.css.js +43 -43
  11. package/lib/internal/template/expandable-section/styles.scoped.css +89 -88
  12. package/lib/internal/template/expandable-section/styles.selectors.js +43 -43
  13. package/lib/internal/template/icon/generated/icons.js +126 -58
  14. package/lib/internal/template/icon/generated/icons.js.map +1 -1
  15. package/lib/internal/template/icon/styles.css.js +41 -41
  16. package/lib/internal/template/icon/styles.scoped.css +109 -91
  17. package/lib/internal/template/icon/styles.selectors.js +41 -41
  18. package/lib/internal/template/internal/base-component/styles.scoped.css +7 -7
  19. package/lib/internal/template/internal/base-theme/styles.scoped.css +6 -6
  20. package/lib/internal/template/internal/environment.js +2 -2
  21. package/lib/internal/template/internal/environment.json +2 -2
  22. package/lib/internal/template/internal/generated/styles/tokens.js +4 -4
  23. package/lib/internal/template/internal/generated/theming/index.cjs +12 -12
  24. package/lib/internal/template/internal/generated/theming/index.js +12 -12
  25. package/lib/internal/template/segmented-control/styles.css.js +16 -16
  26. package/lib/internal/template/segmented-control/styles.scoped.css +36 -36
  27. package/lib/internal/template/segmented-control/styles.selectors.js +16 -16
  28. package/lib/internal/template/spinner/internal.d.ts +3 -1
  29. package/lib/internal/template/spinner/internal.d.ts.map +1 -1
  30. package/lib/internal/template/spinner/internal.js.map +1 -1
  31. package/lib/internal/template/spinner/styles.css.js +14 -13
  32. package/lib/internal/template/spinner/styles.scoped.css +27 -19
  33. package/lib/internal/template/spinner/styles.selectors.js +14 -13
  34. package/lib/internal/template/status-indicator/internal.d.ts.map +1 -1
  35. package/lib/internal/template/status-indicator/internal.js +17 -12
  36. package/lib/internal/template/status-indicator/internal.js.map +1 -1
  37. 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});
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Build environment
3
- $awsui-commit-hash: "d5642f70";
3
+ $awsui-commit-hash: "6ecc94b1";
4
4
  // Manually managed CSS-variables
5
5
  $maxContentWidth: --awsui-max-content-width-esndbs;
6
6
  $minContentWidth: --awsui-min-content-width-esndbs;
@@ -45,6 +45,8 @@
45
45
  & {
46
46
  font-weight: inherit;
47
47
  letter-spacing: normal;
48
+ -webkit-font-smoothing: auto;
49
+ -moz-osx-font-smoothing: auto;
48
50
  }
49
51
  &.color-inverted {
50
52
  color: awsui.$color-text-link-inverted-default;
@@ -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 - 3px);
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": "awsui_root_gwq0h_12t28_149",
5
- "expand-button": "awsui_expand-button_gwq0h_12t28_184",
6
- "icon": "awsui_icon_gwq0h_12t28_188",
7
- "expanded": "awsui_expanded_gwq0h_12t28_203",
8
- "icon-container": "awsui_icon-container_gwq0h_12t28_213",
9
- "icon-container-container": "awsui_icon-container-container_gwq0h_12t28_217",
10
- "wrapper": "awsui_wrapper_gwq0h_12t28_221",
11
- "wrapper-default": "awsui_wrapper-default_gwq0h_12t28_229",
12
- "wrapper-inline": "awsui_wrapper-inline_gwq0h_12t28_229",
13
- "wrapper-footer": "awsui_wrapper-footer_gwq0h_12t28_229",
14
- "wrapper-navigation": "awsui_wrapper-navigation_gwq0h_12t28_233",
15
- "wrapper-container": "awsui_wrapper-container_gwq0h_12t28_236",
16
- "wrapper-compact": "awsui_wrapper-compact_gwq0h_12t28_240",
17
- "header-deprecated": "awsui_header-deprecated_gwq0h_12t28_253",
18
- "wrapper-expanded": "awsui_wrapper-expanded_gwq0h_12t28_272",
19
- "wrapper-not-expanded-without-actions": "awsui_wrapper-not-expanded-without-actions_gwq0h_12t28_317",
20
- "header": "awsui_header_gwq0h_12t28_253",
21
- "header-wrapper": "awsui_header-wrapper_gwq0h_12t28_334",
22
- "header-actions-wrapper": "awsui_header-actions-wrapper_gwq0h_12t28_346",
23
- "header-button": "awsui_header-button_gwq0h_12t28_354",
24
- "header-container-button": "awsui_header-container-button_gwq0h_12t28_354",
25
- "header-container": "awsui_header-container_gwq0h_12t28_354",
26
- "header-navigation": "awsui_header-navigation_gwq0h_12t28_389",
27
- "icon-container-end": "awsui_icon-container-end_gwq0h_12t28_402",
28
- "header-text": "awsui_header-text_gwq0h_12t28_434",
29
- "content": "awsui_content_gwq0h_12t28_444",
30
- "content-expanded": "awsui_content-expanded_gwq0h_12t28_447",
31
- "content-compact": "awsui_content-compact_gwq0h_12t28_450",
32
- "content-inner": "awsui_content-inner_gwq0h_12t28_454",
33
- "content-inner-expanded": "awsui_content-inner-expanded_gwq0h_12t28_458",
34
- "content-inner-settled": "awsui_content-inner-settled_gwq0h_12t28_462",
35
- "content-inner-body-default": "awsui_content-inner-body-default_gwq0h_12t28_466",
36
- "content-inner-body-inline": "awsui_content-inner-body-inline_gwq0h_12t28_466",
37
- "content-inner-body-footer": "awsui_content-inner-body-footer_gwq0h_12t28_469",
38
- "content-inner-body-container": "awsui_content-inner-body-container_gwq0h_12t28_472",
39
- "disable-header-paddings": "awsui_disable-header-paddings_gwq0h_12t28_477",
40
- "disable-content-paddings": "awsui_disable-content-paddings_gwq0h_12t28_482",
41
- "focusable": "awsui_focusable_gwq0h_12t28_487",
42
- "click-target": "awsui_click-target_gwq0h_12t28_502",
43
- "header-icon-end": "awsui_header-icon-end_gwq0h_12t28_509",
44
- "header-button-icon-end": "awsui_header-button-icon-end_gwq0h_12t28_526",
45
- "header-content": "awsui_header-content_gwq0h_12t28_580",
46
- "header-navigation-content": "awsui_header-navigation-content_gwq0h_12t28_585"
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