@cloudscape-design/components-themeable 3.0.1129 → 3.0.1131

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 (29) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/app-layout/visual-refresh-toolbar/drawer/styles.scss +1 -1
  3. package/lib/internal/scss/input/styles.scss +16 -16
  4. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
  5. package/lib/internal/scss/steps/styles.scss +63 -0
  6. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.css.js +27 -27
  7. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +78 -78
  8. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +27 -27
  9. package/lib/internal/template/input/styles.css.js +13 -13
  10. package/lib/internal/template/input/styles.scoped.css +34 -34
  11. package/lib/internal/template/input/styles.selectors.js +13 -13
  12. package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
  13. package/lib/internal/template/internal/environment.js +2 -2
  14. package/lib/internal/template/internal/environment.json +2 -2
  15. package/lib/internal/template/status-indicator/internal.d.ts +7 -0
  16. package/lib/internal/template/status-indicator/internal.d.ts.map +1 -1
  17. package/lib/internal/template/status-indicator/internal.js +6 -3
  18. package/lib/internal/template/status-indicator/internal.js.map +1 -1
  19. package/lib/internal/template/steps/interfaces.d.ts +22 -0
  20. package/lib/internal/template/steps/interfaces.d.ts.map +1 -1
  21. package/lib/internal/template/steps/interfaces.js.map +1 -1
  22. package/lib/internal/template/steps/internal.d.ts +1 -1
  23. package/lib/internal/template/steps/internal.d.ts.map +1 -1
  24. package/lib/internal/template/steps/internal.js +31 -7
  25. package/lib/internal/template/steps/internal.js.map +1 -1
  26. package/lib/internal/template/steps/styles.css.js +9 -6
  27. package/lib/internal/template/steps/styles.scoped.css +58 -7
  28. package/lib/internal/template/steps/styles.selectors.js +9 -6
  29. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "a5c0ddf5a1670a477423b256dc1432f03e79efd4"
2
+ "commit": "05d1e350f5cf1f8e913a72f1baeff2af7967d6bf"
3
3
  }
@@ -50,7 +50,7 @@ $ai-drawer-heider-height: 41px;
50
50
  }
51
51
 
52
52
  @include desktop-only {
53
- &:not(.legacy):not(.ai-drawer) {
53
+ &:not(.legacy):not(.ai-drawer):not(.bottom-drawer) {
54
54
  border-inline-start: awsui.$border-divider-section-width solid awsui.$color-border-layout;
55
55
  }
56
56
  }
@@ -55,6 +55,22 @@
55
55
  @include styles.font-body-m;
56
56
  block-size: awsui.$size-vertical-input;
57
57
 
58
+ &:hover {
59
+ border-color: var(
60
+ #{custom-props.$styleBorderColorHover},
61
+ var(#{custom-props.$styleBorderColorDefault}, awsui.$color-border-input-default)
62
+ );
63
+ color: var(
64
+ #{custom-props.$styleColorHover},
65
+ var(#{custom-props.$styleBorderColorDefault}, awsui.$color-text-body-default)
66
+ );
67
+ background-color: var(
68
+ #{custom-props.$styleBackgroundHover},
69
+ var(#{custom-props.$styleBackgroundDefault}, awsui.$color-background-input-default)
70
+ );
71
+ box-shadow: var(#{custom-props.$styleBoxShadowHover}, #{custom-props.$styleBoxShadowDefault});
72
+ }
73
+
58
74
  &.input-readonly {
59
75
  @include styles.form-readonly-element(
60
76
  $background-color: var(
@@ -109,22 +125,6 @@
109
125
  box-shadow: none;
110
126
  }
111
127
 
112
- &:hover:not(:focus):not(:disabled):not(.input-readonly) {
113
- border-color: var(
114
- #{custom-props.$styleBorderColorHover},
115
- var(#{custom-props.$styleBorderColorDefault}, awsui.$color-border-input-default)
116
- );
117
- color: var(
118
- #{custom-props.$styleColorHover},
119
- var(#{custom-props.$styleBorderColorDefault}, awsui.$color-text-body-default)
120
- );
121
- background-color: var(
122
- #{custom-props.$styleBackgroundHover},
123
- var(#{custom-props.$styleBackgroundDefault}, awsui.$color-background-input-default)
124
- );
125
- box-shadow: var(#{custom-props.$styleBoxShadowHover}, #{custom-props.$styleBoxShadowDefault});
126
- }
127
-
128
128
  &.input-invalid {
129
129
  @include styles.form-invalid-control();
130
130
  &.input-has-icon-left {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Build environment
3
- $awsui-commit-hash: "a5c0ddf5";
3
+ $awsui-commit-hash: "05d1e350";
4
4
  // Manually managed CSS-variables
5
5
  $maxContentWidth: --awsui-max-content-width-b75yp7;
6
6
  $minContentWidth: --awsui-min-content-width-b75yp7;
@@ -8,6 +8,7 @@
8
8
 
9
9
  .root {
10
10
  @include styles.styles-reset;
11
+ @include styles.text-wrapping;
11
12
 
12
13
  > .list {
13
14
  list-style: none;
@@ -20,6 +21,8 @@
20
21
  grid-template-rows: minmax(awsui.$space-static-l, auto);
21
22
 
22
23
  > .header {
24
+ display: flex;
25
+ gap: awsui.$space-xxs;
23
26
  grid-row: 1;
24
27
  grid-column: 1 / span 2;
25
28
  }
@@ -49,5 +52,65 @@
49
52
  > :last-of-type > .connector {
50
53
  display: none;
51
54
  }
55
+
56
+ &.custom > .details {
57
+ // Remove built-in margins for custom rendering for maximum flexibility
58
+ margin-block-end: 0;
59
+ }
60
+ }
61
+ }
62
+
63
+ .horizontal {
64
+ > .list {
65
+ display: grid;
66
+ align-items: flex-start;
67
+ grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
68
+ grid-auto-flow: column;
69
+
70
+ > .container {
71
+ display: grid;
72
+ grid-template-columns: awsui.$space-static-l 1fr;
73
+ grid-template-rows: minmax(awsui.$space-static-l, auto);
74
+ align-items: center;
75
+
76
+ > .header {
77
+ display: flex;
78
+ grid-row: 1;
79
+ grid-column: 1 / span 2;
80
+ align-items: center;
81
+
82
+ > .connector {
83
+ display: block;
84
+ flex: 1;
85
+ background-color: awsui.$color-border-divider-default;
86
+ margin-block: 0;
87
+ border-block: 0;
88
+ border-inline: 0;
89
+ min-block-size: 0;
90
+ inset-inline-end: 0;
91
+
92
+ block-size: awsui.$border-divider-list-width;
93
+ inline-size: auto;
94
+ min-inline-size: awsui.$space-static-xs;
95
+ margin-inline-end: awsui.$space-static-xxs;
96
+ }
97
+ }
98
+
99
+ > .horizontal-header {
100
+ grid-row: 2;
101
+ grid-column: 1 / span 3;
102
+ }
103
+
104
+ > .details {
105
+ grid-row: 3;
106
+ grid-column: 1 / span 3;
107
+ }
108
+ }
109
+
110
+ > .container:last-child {
111
+ > .header > .connector {
112
+ display: none;
113
+ }
114
+ }
52
115
  }
53
116
  }
@@ -1,32 +1,32 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "drawer": "awsui_drawer_12i0j_bk9dj_193",
5
- "with-expanded-motion": "awsui_with-expanded-motion_12i0j_bk9dj_207",
6
- "legacy": "awsui_legacy_12i0j_bk9dj_221",
7
- "ai-drawer": "awsui_ai-drawer_12i0j_bk9dj_221",
8
- "last-opened": "awsui_last-opened_12i0j_bk9dj_229",
9
- "drawer-global": "awsui_drawer-global_12i0j_bk9dj_233",
10
- "drawer-expanded": "awsui_drawer-expanded_12i0j_bk9dj_242",
11
- "drawer-hidden": "awsui_drawer-hidden_12i0j_bk9dj_246",
12
- "has-next-siblings": "awsui_has-next-siblings_12i0j_bk9dj_256",
13
- "global-drawer-wrapper": "awsui_global-drawer-wrapper_12i0j_bk9dj_256",
14
- "drawer-content-container": "awsui_drawer-content-container_12i0j_bk9dj_270",
15
- "drawer-gap": "awsui_drawer-gap_12i0j_bk9dj_273",
16
- "drawer-close-button": "awsui_drawer-close-button_12i0j_bk9dj_291",
17
- "drawer-expanded-mode-button": "awsui_drawer-expanded-mode-button_12i0j_bk9dj_297",
18
- "drawer-content": "awsui_drawer-content_12i0j_bk9dj_270",
19
- "drawer-content-hidden": "awsui_drawer-content-hidden_12i0j_bk9dj_309",
20
- "drawer-slider": "awsui_drawer-slider_12i0j_bk9dj_312",
21
- "drawer-actions": "awsui_drawer-actions_12i0j_bk9dj_362",
22
- "ai-drawer-slider-handle": "awsui_ai-drawer-slider-handle_12i0j_bk9dj_418",
23
- "drawer-content-header": "awsui_drawer-content-header_12i0j_bk9dj_437",
24
- "drawer-content-header-content": "awsui_drawer-content-header-content_12i0j_bk9dj_450",
25
- "drawer-back-to-console-slot": "awsui_drawer-back-to-console-slot_12i0j_bk9dj_467",
26
- "drawer-back-to-console-button-wrapper": "awsui_drawer-back-to-console-button-wrapper_12i0j_bk9dj_506",
27
- "drawer-back-to-console-button": "awsui_drawer-back-to-console-button_12i0j_bk9dj_506",
28
- "drawer-back-to-console-custom-button": "awsui_drawer-back-to-console-custom-button_12i0j_bk9dj_579",
29
- "drawer-content-content": "awsui_drawer-content-content_12i0j_bk9dj_585",
30
- "bottom-drawer": "awsui_bottom-drawer_12i0j_bk9dj_613"
4
+ "drawer": "awsui_drawer_12i0j_1k77u_193",
5
+ "with-expanded-motion": "awsui_with-expanded-motion_12i0j_1k77u_207",
6
+ "legacy": "awsui_legacy_12i0j_1k77u_221",
7
+ "ai-drawer": "awsui_ai-drawer_12i0j_1k77u_221",
8
+ "bottom-drawer": "awsui_bottom-drawer_12i0j_1k77u_221",
9
+ "last-opened": "awsui_last-opened_12i0j_1k77u_229",
10
+ "drawer-global": "awsui_drawer-global_12i0j_1k77u_233",
11
+ "drawer-expanded": "awsui_drawer-expanded_12i0j_1k77u_242",
12
+ "drawer-hidden": "awsui_drawer-hidden_12i0j_1k77u_246",
13
+ "has-next-siblings": "awsui_has-next-siblings_12i0j_1k77u_256",
14
+ "global-drawer-wrapper": "awsui_global-drawer-wrapper_12i0j_1k77u_256",
15
+ "drawer-content-container": "awsui_drawer-content-container_12i0j_1k77u_270",
16
+ "drawer-gap": "awsui_drawer-gap_12i0j_1k77u_273",
17
+ "drawer-close-button": "awsui_drawer-close-button_12i0j_1k77u_291",
18
+ "drawer-expanded-mode-button": "awsui_drawer-expanded-mode-button_12i0j_1k77u_297",
19
+ "drawer-content": "awsui_drawer-content_12i0j_1k77u_270",
20
+ "drawer-content-hidden": "awsui_drawer-content-hidden_12i0j_1k77u_309",
21
+ "drawer-slider": "awsui_drawer-slider_12i0j_1k77u_312",
22
+ "drawer-actions": "awsui_drawer-actions_12i0j_1k77u_362",
23
+ "ai-drawer-slider-handle": "awsui_ai-drawer-slider-handle_12i0j_1k77u_418",
24
+ "drawer-content-header": "awsui_drawer-content-header_12i0j_1k77u_437",
25
+ "drawer-content-header-content": "awsui_drawer-content-header-content_12i0j_1k77u_450",
26
+ "drawer-back-to-console-slot": "awsui_drawer-back-to-console-slot_12i0j_1k77u_467",
27
+ "drawer-back-to-console-button-wrapper": "awsui_drawer-back-to-console-button-wrapper_12i0j_1k77u_506",
28
+ "drawer-back-to-console-button": "awsui_drawer-back-to-console-button_12i0j_1k77u_506",
29
+ "drawer-back-to-console-custom-button": "awsui_drawer-back-to-console-custom-button_12i0j_1k77u_579",
30
+ "drawer-content-content": "awsui_drawer-content-content_12i0j_1k77u_585"
31
31
  };
32
32