@cloudscape-design/components-themeable 3.0.74 → 3.0.75

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 (141) hide show
  1. package/lib/internal/scss/date-picker/styles.scss +0 -4
  2. package/lib/internal/scss/flashbar/styles.scss +132 -2
  3. package/lib/internal/scss/internal/components/live-region/styles.scss +1 -3
  4. package/lib/internal/scss/internal/components/screenreader-only/styles.scss +10 -0
  5. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +26 -24
  6. package/lib/internal/template/alert/interfaces.d.ts +5 -0
  7. package/lib/internal/template/alert/interfaces.d.ts.map +1 -1
  8. package/lib/internal/template/alert/interfaces.js.map +1 -1
  9. package/lib/internal/template/alert/internal.d.ts +1 -1
  10. package/lib/internal/template/alert/internal.d.ts.map +1 -1
  11. package/lib/internal/template/alert/internal.js +2 -2
  12. package/lib/internal/template/alert/internal.js.map +1 -1
  13. package/lib/internal/template/annotation-context/annotation/styles.css.js +24 -24
  14. package/lib/internal/template/annotation-context/annotation/styles.scoped.css +30 -30
  15. package/lib/internal/template/annotation-context/annotation/styles.selectors.js +24 -24
  16. package/lib/internal/template/app-layout/visual-refresh/styles.css.js +59 -59
  17. package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +218 -218
  18. package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +59 -59
  19. package/lib/internal/template/attribute-editor/interfaces.d.ts +7 -0
  20. package/lib/internal/template/attribute-editor/interfaces.d.ts.map +1 -1
  21. package/lib/internal/template/attribute-editor/interfaces.js.map +1 -1
  22. package/lib/internal/template/attribute-editor/internal.d.ts.map +1 -1
  23. package/lib/internal/template/attribute-editor/internal.js +2 -2
  24. package/lib/internal/template/attribute-editor/internal.js.map +1 -1
  25. package/lib/internal/template/attribute-editor/row.d.ts +2 -1
  26. package/lib/internal/template/attribute-editor/row.d.ts.map +1 -1
  27. package/lib/internal/template/attribute-editor/row.js +5 -10
  28. package/lib/internal/template/attribute-editor/row.js.map +1 -1
  29. package/lib/internal/template/calendar/grid/index.d.ts +15 -3
  30. package/lib/internal/template/calendar/grid/index.d.ts.map +1 -1
  31. package/lib/internal/template/calendar/grid/index.js +19 -17
  32. package/lib/internal/template/calendar/grid/index.js.map +1 -1
  33. package/lib/internal/template/calendar/internal.d.ts.map +1 -1
  34. package/lib/internal/template/calendar/internal.js +5 -17
  35. package/lib/internal/template/calendar/internal.js.map +1 -1
  36. package/lib/internal/template/calendar/utils/intl.d.ts +2 -3
  37. package/lib/internal/template/calendar/utils/intl.d.ts.map +1 -1
  38. package/lib/internal/template/calendar/utils/intl.js +6 -5
  39. package/lib/internal/template/calendar/utils/intl.js.map +1 -1
  40. package/lib/internal/template/calendar/utils/navigation.d.ts +6 -0
  41. package/lib/internal/template/calendar/utils/navigation.d.ts.map +1 -0
  42. package/lib/internal/template/calendar/utils/navigation.js +38 -0
  43. package/lib/internal/template/calendar/utils/navigation.js.map +1 -0
  44. package/lib/internal/template/date-picker/index.d.ts.map +1 -1
  45. package/lib/internal/template/date-picker/index.js +2 -1
  46. package/lib/internal/template/date-picker/index.js.map +1 -1
  47. package/lib/internal/template/date-picker/styles.css.js +6 -7
  48. package/lib/internal/template/date-picker/styles.scoped.css +7 -13
  49. package/lib/internal/template/date-picker/styles.selectors.js +6 -7
  50. package/lib/internal/template/date-range-picker/calendar/grids/grid.d.ts.map +1 -1
  51. package/lib/internal/template/date-range-picker/calendar/grids/grid.js +2 -2
  52. package/lib/internal/template/date-range-picker/calendar/grids/grid.js.map +1 -1
  53. package/lib/internal/template/date-range-picker/calendar/grids/index.d.ts +1 -3
  54. package/lib/internal/template/date-range-picker/calendar/grids/index.d.ts.map +1 -1
  55. package/lib/internal/template/date-range-picker/calendar/grids/index.js +10 -11
  56. package/lib/internal/template/date-range-picker/calendar/grids/index.js.map +1 -1
  57. package/lib/internal/template/date-range-picker/calendar/header/index.d.ts +2 -2
  58. package/lib/internal/template/date-range-picker/calendar/header/index.d.ts.map +1 -1
  59. package/lib/internal/template/date-range-picker/calendar/header/index.js +13 -9
  60. package/lib/internal/template/date-range-picker/calendar/header/index.js.map +1 -1
  61. package/lib/internal/template/date-range-picker/calendar/index.d.ts.map +1 -1
  62. package/lib/internal/template/date-range-picker/calendar/index.js +4 -6
  63. package/lib/internal/template/date-range-picker/calendar/index.js.map +1 -1
  64. package/lib/internal/template/date-range-picker/dropdown.js +1 -1
  65. package/lib/internal/template/date-range-picker/dropdown.js.map +1 -1
  66. package/lib/internal/template/date-range-picker/interfaces.d.ts +4 -0
  67. package/lib/internal/template/date-range-picker/interfaces.d.ts.map +1 -1
  68. package/lib/internal/template/date-range-picker/interfaces.js.map +1 -1
  69. package/lib/internal/template/flashbar/index.d.ts.map +1 -1
  70. package/lib/internal/template/flashbar/index.js +105 -34
  71. package/lib/internal/template/flashbar/index.js.map +1 -1
  72. package/lib/internal/template/flashbar/styles.css.js +29 -22
  73. package/lib/internal/template/flashbar/styles.scoped.css +208 -86
  74. package/lib/internal/template/flashbar/styles.selectors.js +29 -22
  75. package/lib/internal/template/form/interfaces.d.ts +5 -0
  76. package/lib/internal/template/form/interfaces.d.ts.map +1 -1
  77. package/lib/internal/template/form/interfaces.js.map +1 -1
  78. package/lib/internal/template/form/internal.d.ts +1 -1
  79. package/lib/internal/template/form/internal.d.ts.map +1 -1
  80. package/lib/internal/template/form/internal.js +10 -5
  81. package/lib/internal/template/form/internal.js.map +1 -1
  82. package/lib/internal/template/input/internal.d.ts +2 -1
  83. package/lib/internal/template/input/internal.d.ts.map +1 -1
  84. package/lib/internal/template/input/internal.js +4 -0
  85. package/lib/internal/template/input/internal.js.map +1 -1
  86. package/lib/internal/template/input/utils.js +1 -1
  87. package/lib/internal/template/input/utils.js.map +1 -1
  88. package/lib/internal/template/internal/components/autosuggest-input/index.js +1 -1
  89. package/lib/internal/template/internal/components/autosuggest-input/index.js.map +1 -1
  90. package/lib/internal/template/internal/components/live-region/index.d.ts +3 -2
  91. package/lib/internal/template/internal/components/live-region/index.d.ts.map +1 -1
  92. package/lib/internal/template/internal/components/live-region/index.js +5 -2
  93. package/lib/internal/template/internal/components/live-region/index.js.map +1 -1
  94. package/lib/internal/template/internal/components/live-region/styles.css.js +1 -1
  95. package/lib/internal/template/internal/components/live-region/styles.scoped.css +2 -92
  96. package/lib/internal/template/internal/components/live-region/styles.selectors.js +1 -1
  97. package/lib/internal/template/internal/components/screenreader-only/index.d.ts +22 -0
  98. package/lib/internal/template/internal/components/screenreader-only/index.d.ts.map +1 -0
  99. package/lib/internal/template/internal/components/screenreader-only/index.js +24 -0
  100. package/lib/internal/template/internal/components/screenreader-only/index.js.map +1 -0
  101. package/lib/internal/template/internal/components/screenreader-only/styles.css.js +6 -0
  102. package/lib/internal/template/internal/components/screenreader-only/styles.scoped.css +97 -0
  103. package/lib/internal/template/internal/components/screenreader-only/styles.selectors.js +7 -0
  104. package/lib/internal/template/internal/components/visual-context/index.d.ts +7 -0
  105. package/lib/internal/template/internal/components/visual-context/index.d.ts.map +1 -1
  106. package/lib/internal/template/internal/components/visual-context/index.js +10 -1
  107. package/lib/internal/template/internal/components/visual-context/index.js.map +1 -1
  108. package/lib/internal/template/internal/environment.js +1 -1
  109. package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts.map +1 -1
  110. package/lib/internal/template/internal/generated/custom-css-properties/index.js +26 -24
  111. package/lib/internal/template/internal/generated/custom-css-properties/index.js.map +1 -1
  112. package/lib/internal/template/select/parts/filter.js +1 -1
  113. package/lib/internal/template/select/parts/filter.js.map +1 -1
  114. package/lib/internal/template/tag-editor/index.d.ts.map +1 -1
  115. package/lib/internal/template/tag-editor/index.js +1 -1
  116. package/lib/internal/template/tag-editor/index.js.map +1 -1
  117. package/lib/internal/template/tutorial-panel/interfaces.d.ts +2 -1
  118. package/lib/internal/template/tutorial-panel/interfaces.d.ts.map +1 -1
  119. package/lib/internal/template/tutorial-panel/interfaces.js.map +1 -1
  120. package/lib/internal/template/wizard/interfaces.d.ts +3 -0
  121. package/lib/internal/template/wizard/interfaces.d.ts.map +1 -1
  122. package/lib/internal/template/wizard/interfaces.js.map +1 -1
  123. package/lib/internal/template/wizard/wizard-form.d.ts.map +1 -1
  124. package/lib/internal/template/wizard/wizard-form.js +1 -1
  125. package/lib/internal/template/wizard/wizard-form.js.map +1 -1
  126. package/lib/internal/template/wizard/wizard-navigation.d.ts.map +1 -1
  127. package/lib/internal/template/wizard/wizard-navigation.js +1 -1
  128. package/lib/internal/template/wizard/wizard-navigation.js.map +1 -1
  129. package/package.json +1 -1
  130. package/lib/internal/template/calendar/utils/move-focus-handler.d.ts +0 -7
  131. package/lib/internal/template/calendar/utils/move-focus-handler.d.ts.map +0 -1
  132. package/lib/internal/template/calendar/utils/move-focus-handler.js +0 -24
  133. package/lib/internal/template/calendar/utils/move-focus-handler.js.map +0 -1
  134. package/lib/internal/template/calendar/utils/rotate-day-indexes.d.ts +0 -3
  135. package/lib/internal/template/calendar/utils/rotate-day-indexes.d.ts.map +0 -1
  136. package/lib/internal/template/calendar/utils/rotate-day-indexes.js +0 -11
  137. package/lib/internal/template/calendar/utils/rotate-day-indexes.js.map +0 -1
  138. package/lib/internal/template/date-range-picker/calendar/get-base-date.d.ts +0 -3
  139. package/lib/internal/template/date-range-picker/calendar/get-base-date.d.ts.map +0 -1
  140. package/lib/internal/template/date-range-picker/calendar/get-base-date.js +0 -10
  141. package/lib/internal/template/date-range-picker/calendar/get-base-date.js.map +0 -1
@@ -21,10 +21,6 @@
21
21
  }
22
22
  }
23
23
 
24
- .screenreader-only {
25
- @include styles.awsui-util-hide;
26
- }
27
-
28
24
  .date-picker-container {
29
25
  position: relative;
30
26
  max-width: 234px;
@@ -2,10 +2,12 @@
2
2
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
  SPDX-License-Identifier: Apache-2.0
4
4
  */
5
-
5
+ @use '../internal/generated/custom-css-properties/index.scss' as custom-props;
6
+ @use '../internal/hooks/focus-visible' as focus-visible;
6
7
  @use '../internal/styles/tokens' as awsui;
7
8
  @use '../internal/styles' as styles;
8
9
  @use './motion';
10
+
9
11
  .flashbar {
10
12
  position: relative;
11
13
  }
@@ -94,7 +96,7 @@
94
96
  margin-left: awsui.$space-flashbar-action-left;
95
97
  }
96
98
  /* stylelint-disable selector-max-type */
97
- .flashbar.breakpoint-default > div > .flash > .flash-body {
99
+ .flashbar.breakpoint-default > .flash > .flash-body {
98
100
  display: block;
99
101
  & > .action-button-wrapper {
100
102
  margin-left: awsui.$space-xxs;
@@ -122,3 +124,131 @@
122
124
  .flash-type-info {
123
125
  background-color: awsui.$color-background-notification-blue;
124
126
  }
127
+
128
+ // `stackItems` feature beta test
129
+
130
+ .stack {
131
+ display: grid;
132
+ grid-template-columns: 1fr minmax(70px, auto) 1fr;
133
+ }
134
+
135
+ .stack > .expanded {
136
+ grid-column: 1 / 4;
137
+ }
138
+
139
+ /*
140
+ The collapsed stack is a dynamic grid that creates the necessary number of
141
+ rows and columns based on the number of items passed to CSS via the
142
+ `flashbarStackDepth` custom property. Assuming there are three flashbar items,
143
+ the grid layout will be:
144
+
145
+ [item 1 start] [12px] [12px] [fractional unit] [12px] [12px] [item 1 end]
146
+ [12px] [item 2 start] [12px] [fractional unit] [12px] [item 2 end] [12px]
147
+ [12px] [12px] [item 3 start] [fractional unit] [item 3 end] [12px] [12px]
148
+ */
149
+ .stack > .collapsed {
150
+ display: grid;
151
+ grid-column: 1 / 4;
152
+ grid-template-columns:
153
+ repeat(var(#{custom-props.$flashbarStackDepth}), 12px)
154
+ 1fr
155
+ repeat(var(#{custom-props.$flashbarStackDepth}), 12px);
156
+ row-gap: 8px;
157
+
158
+ > .item {
159
+ // Each item will have a unique custom property `flashbarStackIndex`
160
+ // Add +1 is because the array is indexed at zero but grid positions are indexed at 1.
161
+ grid-column-start: calc(var(#{custom-props.$flashbarStackIndex}) + 1);
162
+
163
+ // Add +1 to include the fractional unit in the column count
164
+ // Add +1 because the array indexed at zero but grid positions at indexed at 1.
165
+ grid-column-end: calc(
166
+ var(#{custom-props.$flashbarStackDepth}) * 2 + 1 - var(#{custom-props.$flashbarStackIndex}) + 1
167
+ );
168
+ grid-row-start: 1;
169
+ grid-row-end: calc(var(#{custom-props.$flashbarStackIndex}) + 2);
170
+
171
+ // The first item should have the highest z index than the second item, and so forth...
172
+ z-index: calc(var(#{custom-props.$flashbarStackDepth}) - var(#{custom-props.$flashbarStackIndex}));
173
+ }
174
+
175
+ > .item:not(:first-of-type) {
176
+ align-self: end;
177
+ }
178
+
179
+ &.visual-refresh > .item:not(:last-of-type) > :first-child {
180
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
181
+ }
182
+
183
+ &:not(.visual-refresh) > .item:not(:last-of-type) > :first-child {
184
+ box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.15);
185
+ }
186
+ }
187
+
188
+ .stack > .toggle {
189
+ grid-column: 2;
190
+ grid-row: 2;
191
+
192
+ @include focus-visible.when-visible {
193
+ @include styles.focus-highlight(awsui.$space-button-focus-outline-gutter);
194
+ }
195
+
196
+ &.visual-refresh {
197
+ background: awsui.$color-background-layout-toggle-default;
198
+ border: none;
199
+ border-radius: 0 0 10px 10px;
200
+ box-shadow: awsui.$shadow-panel-toggle;
201
+ color: awsui.$color-text-layout-toggle;
202
+ cursor: pointer;
203
+ padding: awsui.$space-scaled-xxs;
204
+ z-index: var(#{custom-props.$flashbarStackDepth});
205
+
206
+ &:focus {
207
+ outline: none;
208
+ }
209
+
210
+ &:hover {
211
+ background: awsui.$color-background-layout-toggle-hover;
212
+ }
213
+
214
+ &:active {
215
+ background: awsui.$color-background-layout-toggle-active;
216
+ }
217
+ }
218
+
219
+ &:not(.visual-refresh) {
220
+ background: awsui.$color-background-button-normal-default;
221
+ border: styles.$control-border-width solid awsui.$color-border-button-normal-default;
222
+ border-radius: awsui.$border-radius-button;
223
+ border-top: none;
224
+ cursor: pointer;
225
+ padding: styles.$control-padding-vertical awsui.$space-l;
226
+ text-decoration: none;
227
+
228
+ &:focus {
229
+ outline: none;
230
+ text-decoration: none;
231
+ }
232
+
233
+ &:hover {
234
+ background: awsui.$color-background-button-normal-hover;
235
+ border-color: awsui.$color-border-button-normal-hover;
236
+ text-decoration: none;
237
+ }
238
+
239
+ &:active {
240
+ background: awsui.$color-background-button-normal-active;
241
+ border-color: awsui.$color-border-button-normal-active;
242
+ }
243
+ }
244
+
245
+ > .icon {
246
+ @include styles.with-motion {
247
+ transition: transform awsui.$motion-duration-rotate-90 awsui.$motion-easing-rotate-90;
248
+ }
249
+
250
+ &.expanded {
251
+ transform: rotate(180deg);
252
+ }
253
+ }
254
+ }
@@ -3,8 +3,6 @@
3
3
  SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
 
6
- @use '../../styles' as styles;
7
-
8
6
  .root {
9
- @include styles.awsui-util-hide;
7
+ /* used in test-utils */
10
8
  }
@@ -0,0 +1,10 @@
1
+ /*
2
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ SPDX-License-Identifier: Apache-2.0
4
+ */
5
+
6
+ @use '../../styles' as styles;
7
+
8
+ .root {
9
+ @include styles.awsui-util-hide;
10
+ }
@@ -1,26 +1,28 @@
1
1
 
2
- $offsetTop: --awsui-offset-top-ujkcpl;
3
- $offsetTopWithNotifications: --awsui-offset-top-with-notifications-ujkcpl;
4
- $contentGapLeft: --awsui-content-gap-left-ujkcpl;
5
- $contentGapRight: --awsui-content-gap-right-ujkcpl;
6
- $contentHeight: --awsui-content-height-ujkcpl;
7
- $defaultMaxContentWidth: --awsui-default-max-content-width-ujkcpl;
8
- $defaultMinContentWidth: --awsui-default-min-content-width-ujkcpl;
9
- $footerHeight: --awsui-footer-height-ujkcpl;
10
- $headerHeight: --awsui-header-height-ujkcpl;
11
- $layoutWidth: --awsui-layout-width-ujkcpl;
12
- $mainOffsetLeft: --awsui-main-offset-left-ujkcpl;
13
- $maxContentWidth: --awsui-max-content-width-ujkcpl;
14
- $minContentWidth: --awsui-min-content-width-ujkcpl;
15
- $notificationsHeight: --awsui-notifications-height-ujkcpl;
16
- $overlapHeight: --awsui-overlap-height-ujkcpl;
17
- $navigationWidth: --awsui-navigation-width-ujkcpl;
18
- $splitPanelReportedHeaderSize: --awsui-split-panel-reported-header-size-ujkcpl;
19
- $splitPanelReportedSize: --awsui-split-panel-reported-size-ujkcpl;
20
- $splitPanelMinWidth: --awsui-split-panel-min-width-ujkcpl;
21
- $splitPanelMaxWidth: --awsui-split-panel-max-width-ujkcpl;
22
- $toolsMaxWidth: --awsui-tools-max-width-ujkcpl;
23
- $toolsWidth: --awsui-tools-width-ujkcpl;
24
- $toolsAnimationStartingOpacity: --awsui-tools-animation-starting-opacity-ujkcpl;
25
- $contentScrollMargin: --awsui-content-scroll-margin-ujkcpl;
2
+ $offsetTop: --awsui-offset-top-f9jj7p;
3
+ $offsetTopWithNotifications: --awsui-offset-top-with-notifications-f9jj7p;
4
+ $contentGapLeft: --awsui-content-gap-left-f9jj7p;
5
+ $contentGapRight: --awsui-content-gap-right-f9jj7p;
6
+ $contentHeight: --awsui-content-height-f9jj7p;
7
+ $defaultMaxContentWidth: --awsui-default-max-content-width-f9jj7p;
8
+ $defaultMinContentWidth: --awsui-default-min-content-width-f9jj7p;
9
+ $footerHeight: --awsui-footer-height-f9jj7p;
10
+ $headerHeight: --awsui-header-height-f9jj7p;
11
+ $layoutWidth: --awsui-layout-width-f9jj7p;
12
+ $mainOffsetLeft: --awsui-main-offset-left-f9jj7p;
13
+ $maxContentWidth: --awsui-max-content-width-f9jj7p;
14
+ $minContentWidth: --awsui-min-content-width-f9jj7p;
15
+ $notificationsHeight: --awsui-notifications-height-f9jj7p;
16
+ $overlapHeight: --awsui-overlap-height-f9jj7p;
17
+ $navigationWidth: --awsui-navigation-width-f9jj7p;
18
+ $splitPanelReportedHeaderSize: --awsui-split-panel-reported-header-size-f9jj7p;
19
+ $splitPanelReportedSize: --awsui-split-panel-reported-size-f9jj7p;
20
+ $splitPanelMinWidth: --awsui-split-panel-min-width-f9jj7p;
21
+ $splitPanelMaxWidth: --awsui-split-panel-max-width-f9jj7p;
22
+ $toolsMaxWidth: --awsui-tools-max-width-f9jj7p;
23
+ $toolsWidth: --awsui-tools-width-f9jj7p;
24
+ $toolsAnimationStartingOpacity: --awsui-tools-animation-starting-opacity-f9jj7p;
25
+ $contentScrollMargin: --awsui-content-scroll-margin-f9jj7p;
26
+ $flashbarStackDepth: --awsui-flashbar-stack-depth-f9jj7p;
27
+ $flashbarStackIndex: --awsui-flashbar-stack-index-f9jj7p;
26
28
 
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { BaseComponentProps } from '../internal/base-component';
2
3
  import { NonCancelableEventHandler } from '../internal/events';
3
4
  export declare namespace AlertProps {
@@ -8,6 +9,10 @@ export interface AlertProps extends BaseComponentProps {
8
9
  * Specifies the type of message you want to display.
9
10
  */
10
11
  type?: AlertProps.Type;
12
+ /**
13
+ * Provides a text alternative for the icon.
14
+ */
15
+ statusIconAriaLabel?: string;
11
16
  /**
12
17
  * Determines whether the alert is displayed.
13
18
  * @deprecated Use conditional rendering in your code instead of this prop
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/alert/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,yBAAiB,UAAU,CAAC;IAC1B,KAAY,IAAI,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;CAC7D;AAED,MAAM,WAAW,UAAW,SAAQ,kBAAkB;IACpD;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC,IAAI,CAAC;IACvB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QA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G;IACH,SAAS,CAAC,EAAE,yBAAyB,CAAC;IACtC;;;OAGG;IACH,aAAa,CAAC,EAAE,yBAAyB,CAAC;CAC3C"}
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/alert/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\n\nexport namespace AlertProps {\n export type Type = 'success' | 'error' | 'warning' | 'info';\n}\n\nexport interface AlertProps extends BaseComponentProps {\n /**\n * Specifies the type of message you want to display.\n */\n type?: AlertProps.Type;\n /**\n * Determines whether the alert is displayed.\n * @deprecated Use conditional rendering in your code instead of this prop\n */\n visible?: boolean;\n /**\n * Adds a close button to the alert when set to `true`.\n * An `onDismiss` event is fired when a user clicks the button.\n */\n dismissible?: boolean;\n /**\n * Adds an aria-label to the dismiss button.\n */\n dismissAriaLabel?: string;\n /**\n * Primary text displayed in the element.\n */\n children?: React.ReactNode;\n /**\n * Heading text.\n */\n header?: React.ReactNode;\n /**\n * Displays an action button next to the message area when set.\n * An `onButtonClick` event is fired when the user clicks it.\n * **Deprecated**, replaced by `action`.\n */\n buttonText?: React.ReactNode;\n /**\n * Specifies an action for the alert message.\n * Although it is technically possible to insert any content, our UX guidelines only allow you to add a button.\n */\n action?: React.ReactNode;\n /**\n * Fired when the user clicks the close icon that is displayed\n * when the `dismissible` property is set to `true`.\n */\n onDismiss?: NonCancelableEventHandler;\n /**\n * Fired when the user clicks the action button.\n * **Deprecated**, replaced by `action`.\n */\n onButtonClick?: NonCancelableEventHandler;\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/alert/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\n\nexport namespace AlertProps {\n export type Type = 'success' | 'error' | 'warning' | 'info';\n}\n\nexport interface AlertProps extends BaseComponentProps {\n /**\n * Specifies the type of message you want to display.\n */\n type?: AlertProps.Type;\n\n /**\n * Provides a text alternative for the icon.\n */\n statusIconAriaLabel?: string;\n\n /**\n * Determines whether the alert is displayed.\n * @deprecated Use conditional rendering in your code instead of this prop\n */\n visible?: boolean;\n /**\n * Adds a close button to the alert when set to `true`.\n * An `onDismiss` event is fired when a user clicks the button.\n */\n dismissible?: boolean;\n /**\n * Adds an aria-label to the dismiss button.\n */\n dismissAriaLabel?: string;\n /**\n * Primary text displayed in the element.\n */\n children?: React.ReactNode;\n /**\n * Heading text.\n */\n header?: React.ReactNode;\n /**\n * Displays an action button next to the message area when set.\n * An `onButtonClick` event is fired when the user clicks it.\n * **Deprecated**, replaced by `action`.\n */\n buttonText?: React.ReactNode;\n /**\n * Specifies an action for the alert message.\n * Although it is technically possible to insert any content, our UX guidelines only allow you to add a button.\n */\n action?: React.ReactNode;\n /**\n * Fired when the user clicks the close icon that is displayed\n * when the `dismissible` property is set to `true`.\n */\n onDismiss?: NonCancelableEventHandler;\n /**\n * Fired when the user clicks the action button.\n * **Deprecated**, replaced by `action`.\n */\n onButtonClick?: NonCancelableEventHandler;\n}\n"]}
@@ -2,6 +2,6 @@ import { AlertProps } from './interfaces';
2
2
  import { InternalBaseComponentProps } from '../internal/hooks/use-base-component';
3
3
  import { SomeRequired } from '../internal/types';
4
4
  declare type InternalAlertProps = SomeRequired<AlertProps, 'type'> & InternalBaseComponentProps;
5
- export default function InternalAlert({ type, visible, dismissible, dismissAriaLabel, children, header, buttonText, action, onDismiss, onButtonClick, __internalRootRef, ...rest }: InternalAlertProps): JSX.Element;
5
+ export default function InternalAlert({ type, statusIconAriaLabel, visible, dismissible, dismissAriaLabel, children, header, buttonText, action, onDismiss, onButtonClick, __internalRootRef, ...rest }: InternalAlertProps): JSX.Element;
6
6
  export {};
7
7
  //# sourceMappingURL=internal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/alert/internal.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAElF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AASjD,aAAK,kBAAkB,GAAG,YAAY,CAAC,UAAU,EAAE,MAAM,CAAC,GAAG,0BAA0B,CAAC;AAExF,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,IAAI,EACJ,OAAc,EACd,WAAW,EACX,gBAAgB,EAChB,QAAQ,EACR,MAAM,EACN,UAAU,EACV,MAAM,EACN,SAAS,EACT,aAAa,EACb,iBAAwB,EACxB,GAAG,IAAI,EACR,EAAE,kBAAkB,eA6DpB"}
1
+ {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/alert/internal.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAElF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AASjD,aAAK,kBAAkB,GAAG,YAAY,CAAC,UAAU,EAAE,MAAM,CAAC,GAAG,0BAA0B,CAAC;AAExF,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,IAAI,EACJ,mBAAmB,EACnB,OAAc,EACd,WAAW,EACX,gBAAgB,EAChB,QAAQ,EACR,MAAM,EACN,UAAU,EACV,MAAM,EACN,SAAS,EACT,aAAa,EACb,iBAAwB,EACxB,GAAG,IAAI,EACR,EAAE,kBAAkB,eA6DpB"}
@@ -20,7 +20,7 @@ var typeToIcon = {
20
20
  };
21
21
  export default function InternalAlert(_a) {
22
22
  var _b;
23
- var type = _a.type, _c = _a.visible, visible = _c === void 0 ? true : _c, dismissible = _a.dismissible, dismissAriaLabel = _a.dismissAriaLabel, children = _a.children, header = _a.header, buttonText = _a.buttonText, action = _a.action, onDismiss = _a.onDismiss, onButtonClick = _a.onButtonClick, _d = _a.__internalRootRef, __internalRootRef = _d === void 0 ? null : _d, rest = __rest(_a, ["type", "visible", "dismissible", "dismissAriaLabel", "children", "header", "buttonText", "action", "onDismiss", "onButtonClick", "__internalRootRef"]);
23
+ var type = _a.type, statusIconAriaLabel = _a.statusIconAriaLabel, _c = _a.visible, visible = _c === void 0 ? true : _c, dismissible = _a.dismissible, dismissAriaLabel = _a.dismissAriaLabel, children = _a.children, header = _a.header, buttonText = _a.buttonText, action = _a.action, onDismiss = _a.onDismiss, onButtonClick = _a.onButtonClick, _d = _a.__internalRootRef, __internalRootRef = _d === void 0 ? null : _d, rest = __rest(_a, ["type", "statusIconAriaLabel", "visible", "dismissible", "dismissAriaLabel", "children", "header", "buttonText", "action", "onDismiss", "onButtonClick", "__internalRootRef"]);
24
24
  var baseProps = getBaseProps(rest);
25
25
  var _e = useContainerBreakpoints(['xs']), breakpoint = _e[0], breakpointRef = _e[1];
26
26
  var mergedRef = useMergeRefs(breakpointRef, __internalRootRef);
@@ -31,7 +31,7 @@ export default function InternalAlert(_a) {
31
31
  return (React.createElement("div", __assign({}, baseProps, { "aria-hidden": !visible, className: clsx(styles.root, (_b = {}, _b[styles.hidden] = !visible, _b), baseProps.className, styles["breakpoint-".concat(breakpoint)]), ref: mergedRef }),
32
32
  React.createElement(VisualContext, { contextName: "alert" },
33
33
  React.createElement("div", { className: clsx(styles.alert, styles["type-".concat(type)]) },
34
- React.createElement("div", { className: clsx(styles.icon, styles.text) },
34
+ React.createElement("div", { className: clsx(styles.icon, styles.text), role: "img", "aria-label": statusIconAriaLabel },
35
35
  React.createElement(InternalIcon, { name: typeToIcon[type], size: size })),
36
36
  React.createElement("div", { className: styles.body },
37
37
  React.createElement("div", { className: clsx(styles.message, styles.text) },
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/alert/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,aAAa,MAAM,uCAAuC,CAAC;AAClE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAGrE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAGhE,IAAM,UAAU,GAA+C;IAC7D,KAAK,EAAE,iBAAiB;IACxB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,iBAAiB;IAC1B,IAAI,EAAE,aAAa;CACpB,CAAC;AAIF,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAajB;;IAZnB,IAAA,IAAI,UAAA,EACJ,eAAc,EAAd,OAAO,mBAAG,IAAI,KAAA,EACd,WAAW,iBAAA,EACX,gBAAgB,sBAAA,EAChB,QAAQ,cAAA,EACR,MAAM,YAAA,EACN,UAAU,gBAAA,EACV,MAAM,YAAA,EACN,SAAS,eAAA,EACT,aAAa,mBAAA,EACb,yBAAwB,EAAxB,iBAAiB,mBAAG,IAAI,KAAA,EACrB,IAAI,cAZ6B,uJAarC,CADQ;IAEP,IAAM,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IAE/B,IAAA,KAA8B,uBAAuB,CAAC,CAAC,IAAI,CAAC,CA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AAS,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC;wBAC9C,MAAM,IAAI,6BAAK,SAAS,EAAE,MAAM,CAAC,MAAM,IAAG,MAAM,CAAO;wBACxD,6BAAK,SAAS,EAAE,MAAM,CAAC,OAAO,IAAG,QAAQ,CAAO,CAC5C;oBACL,SAAS,IAAI,6BAAK,SAAS,EAAE,MAAM,CAAC,MAAM,IAAG,YAAY,CAAO,CAC7D;gBACL,WAAW,IAAI,CACd,6BAAK,SAAS,EAAE,MAAM,CAAC,OAAO;oBAC5B,oBAAC,cAAc,IACb,SAAS,EAAE,MAAM,CAAC,gBAAgB,CAAC,EACnC,OAAO,EAAC,MAAM,EACd,QAAQ,EAAC,OAAO,EAChB,UAAU,EAAC,MAAM,EACjB,SAAS,EAAE,gBAAgB,EAC3B,OAAO,EAAE,cAAM,OAAA,sBAAsB,CAAC,SAAS,CAAC,EAAjC,CAAiC,GAChD,CACE,CACP,CACG,CACQ,CACZ,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\nimport { InternalButton } from '../button/internal';\nimport { IconProps } from '../icon/interfaces';\nimport InternalIcon from '../icon/internal';\nimport { getBaseProps } from '../internal/base-component';\nimport VisualContext from '../internal/components/visual-context';\nimport styles from './styles.css.js';\nimport { fireNonCancelableEvent } from '../internal/events';\nimport { useContainerBreakpoints } from '../internal/hooks/container-queries';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport { AlertProps } from './interfaces';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport { SomeRequired } from '../internal/types';\n\nconst typeToIcon: Record<AlertProps.Type, IconProps['name']> = {\n error: 'status-negative',\n warning: 'status-warning',\n success: 'status-positive',\n info: 'status-info',\n};\n\ntype InternalAlertProps = SomeRequired<AlertProps, 'type'> & InternalBaseComponentProps;\n\nexport default function InternalAlert({\n type,\n visible = true,\n dismissible,\n dismissAriaLabel,\n children,\n header,\n buttonText,\n action,\n onDismiss,\n onButtonClick,\n __internalRootRef = null,\n ...rest\n}: InternalAlertProps) {\n const baseProps = getBaseProps(rest);\n\n const [breakpoint, breakpointRef] = useContainerBreakpoints(['xs']);\n const mergedRef = useMergeRefs(breakpointRef, __internalRootRef);\n\n const isRefresh = useVisualRefresh();\n const size = isRefresh ? 'normal' : header && children ? 'big' : 'normal';\n\n const actionButton = action || (\n <InternalButton\n className={styles['action-button']}\n onClick={() => fireNonCancelableEvent(onButtonClick)}\n formAction=\"none\"\n >\n {buttonText}\n </InternalButton>\n );\n\n const hasAction = Boolean(action || buttonText);\n\n return (\n <div\n {...baseProps}\n aria-hidden={!visible}\n className={clsx(\n styles.root,\n { [styles.hidden]: !visible },\n baseProps.className,\n styles[`breakpoint-${breakpoint}`]\n )}\n ref={mergedRef}\n >\n <VisualContext contextName=\"alert\">\n <div className={clsx(styles.alert, styles[`type-${type}`])}>\n <div className={clsx(styles.icon, styles.text)}>\n <InternalIcon name={typeToIcon[type]} size={size} />\n </div>\n <div className={styles.body}>\n <div className={clsx(styles.message, styles.text)}>\n {header && <div className={styles.header}>{header}</div>}\n <div className={styles.content}>{children}</div>\n </div>\n {hasAction && <div className={styles.action}>{actionButton}</div>}\n </div>\n {dismissible && (\n <div className={styles.dismiss}>\n <InternalButton\n className={styles['dismiss-button']}\n variant=\"icon\"\n iconName=\"close\"\n formAction=\"none\"\n ariaLabel={dismissAriaLabel}\n onClick={() => fireNonCancelableEvent(onDismiss)}\n />\n </div>\n )}\n </div>\n </VisualContext>\n </div>\n );\n}\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/alert/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,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,CAAC,MAAM,IAAG,MAAM,CAAO;wBACxD,6BAAK,SAAS,EAAE,MAAM,CAAC,OAAO,IAAG,QAAQ,CAAO,CAC5C;oBACL,SAAS,IAAI,6BAAK,SAAS,EAAE,MAAM,CAAC,MAAM,IAAG,YAAY,CAAO,CAC7D;gBACL,WAAW,IAAI,CACd,6BAAK,SAAS,EAAE,MAAM,CAAC,OAAO;oBAC5B,oBAAC,cAAc,IACb,SAAS,EAAE,MAAM,CAAC,gBAAgB,CAAC,EACnC,OAAO,EAAC,MAAM,EACd,QAAQ,EAAC,OAAO,EAChB,UAAU,EAAC,MAAM,EACjB,SAAS,EAAE,gBAAgB,EAC3B,OAAO,EAAE,cAAM,OAAA,sBAAsB,CAAC,SAAS,CAAC,EAAjC,CAAiC,GAChD,CACE,CACP,CACG,CACQ,CACZ,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\nimport { InternalButton } from '../button/internal';\nimport { IconProps } from '../icon/interfaces';\nimport InternalIcon from '../icon/internal';\nimport { getBaseProps } from '../internal/base-component';\nimport VisualContext from '../internal/components/visual-context';\nimport styles from './styles.css.js';\nimport { fireNonCancelableEvent } from '../internal/events';\nimport { useContainerBreakpoints } from '../internal/hooks/container-queries';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport { AlertProps } from './interfaces';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport { SomeRequired } from '../internal/types';\n\nconst typeToIcon: Record<AlertProps.Type, IconProps['name']> = {\n error: 'status-negative',\n warning: 'status-warning',\n success: 'status-positive',\n info: 'status-info',\n};\n\ntype InternalAlertProps = SomeRequired<AlertProps, 'type'> & InternalBaseComponentProps;\n\nexport default function InternalAlert({\n type,\n statusIconAriaLabel,\n visible = true,\n dismissible,\n dismissAriaLabel,\n children,\n header,\n buttonText,\n action,\n onDismiss,\n onButtonClick,\n __internalRootRef = null,\n ...rest\n}: InternalAlertProps) {\n const baseProps = getBaseProps(rest);\n\n const [breakpoint, breakpointRef] = useContainerBreakpoints(['xs']);\n const mergedRef = useMergeRefs(breakpointRef, __internalRootRef);\n\n const isRefresh = useVisualRefresh();\n const size = isRefresh ? 'normal' : header && children ? 'big' : 'normal';\n\n const actionButton = action || (\n <InternalButton\n className={styles['action-button']}\n onClick={() => fireNonCancelableEvent(onButtonClick)}\n formAction=\"none\"\n >\n {buttonText}\n </InternalButton>\n );\n\n const hasAction = Boolean(action || buttonText);\n\n return (\n <div\n {...baseProps}\n aria-hidden={!visible}\n className={clsx(\n styles.root,\n { [styles.hidden]: !visible },\n baseProps.className,\n styles[`breakpoint-${breakpoint}`]\n )}\n ref={mergedRef}\n >\n <VisualContext contextName=\"alert\">\n <div className={clsx(styles.alert, styles[`type-${type}`])}>\n <div className={clsx(styles.icon, styles.text)} role=\"img\" aria-label={statusIconAriaLabel}>\n <InternalIcon name={typeToIcon[type]} size={size} />\n </div>\n <div className={styles.body}>\n <div className={clsx(styles.message, styles.text)}>\n {header && <div className={styles.header}>{header}</div>}\n <div className={styles.content}>{children}</div>\n </div>\n {hasAction && <div className={styles.action}>{actionButton}</div>}\n </div>\n {dismissible && (\n <div className={styles.dismiss}>\n <InternalButton\n className={styles['dismiss-button']}\n variant=\"icon\"\n iconName=\"close\"\n formAction=\"none\"\n ariaLabel={dismissAriaLabel}\n onClick={() => fireNonCancelableEvent(onDismiss)}\n />\n </div>\n )}\n </div>\n </VisualContext>\n </div>\n );\n}\n"]}
@@ -1,29 +1,29 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "arrow": "awsui_arrow_1hpp3_z21ah_93",
5
- "arrow-outer": "awsui_arrow-outer_1hpp3_z21ah_97",
6
- "arrow-inner": "awsui_arrow-inner_1hpp3_z21ah_97",
7
- "arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_z21ah_128",
8
- "arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_z21ah_128",
9
- "arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_z21ah_131",
10
- "arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_z21ah_131",
11
- "arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_z21ah_134",
12
- "arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_z21ah_134",
13
- "arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_z21ah_137",
14
- "arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_z21ah_137",
15
- "annotation": "awsui_annotation_1hpp3_z21ah_145",
16
- "next-button": "awsui_next-button_1hpp3_z21ah_146",
17
- "previous-button": "awsui_previous-button_1hpp3_z21ah_147",
18
- "finish-button": "awsui_finish-button_1hpp3_z21ah_148",
19
- "header": "awsui_header_1hpp3_z21ah_149",
20
- "step-counter-content": "awsui_step-counter-content_1hpp3_z21ah_150",
21
- "content": "awsui_content_1hpp3_z21ah_151",
22
- "description": "awsui_description_1hpp3_z21ah_155",
23
- "actionBar": "awsui_actionBar_1hpp3_z21ah_160",
24
- "stepCounter": "awsui_stepCounter_1hpp3_z21ah_167",
25
- "divider": "awsui_divider_1hpp3_z21ah_171",
26
- "hotspot": "awsui_hotspot_1hpp3_z21ah_175",
27
- "icon": "awsui_icon_1hpp3_z21ah_213"
4
+ "arrow": "awsui_arrow_1hpp3_1nzqd_93",
5
+ "arrow-outer": "awsui_arrow-outer_1hpp3_1nzqd_97",
6
+ "arrow-inner": "awsui_arrow-inner_1hpp3_1nzqd_97",
7
+ "arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_1nzqd_128",
8
+ "arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_1nzqd_128",
9
+ "arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_1nzqd_131",
10
+ "arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_1nzqd_131",
11
+ "arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_1nzqd_134",
12
+ "arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_1nzqd_134",
13
+ "arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_1nzqd_137",
14
+ "arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_1nzqd_137",
15
+ "annotation": "awsui_annotation_1hpp3_1nzqd_145",
16
+ "next-button": "awsui_next-button_1hpp3_1nzqd_146",
17
+ "previous-button": "awsui_previous-button_1hpp3_1nzqd_147",
18
+ "finish-button": "awsui_finish-button_1hpp3_1nzqd_148",
19
+ "header": "awsui_header_1hpp3_1nzqd_149",
20
+ "step-counter-content": "awsui_step-counter-content_1hpp3_1nzqd_150",
21
+ "content": "awsui_content_1hpp3_1nzqd_151",
22
+ "description": "awsui_description_1hpp3_1nzqd_155",
23
+ "actionBar": "awsui_actionBar_1hpp3_1nzqd_160",
24
+ "stepCounter": "awsui_stepCounter_1hpp3_1nzqd_167",
25
+ "divider": "awsui_divider_1hpp3_1nzqd_171",
26
+ "hotspot": "awsui_hotspot_1hpp3_1nzqd_175",
27
+ "icon": "awsui_icon_1hpp3_1nzqd_213"
28
28
  };
29
29
 
@@ -90,11 +90,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
90
90
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
91
91
  SPDX-License-Identifier: Apache-2.0
92
92
  */
93
- .awsui_arrow_1hpp3_z21ah_93:not(#\9) {
93
+ .awsui_arrow_1hpp3_1nzqd_93:not(#\9) {
94
94
  width: 20px;
95
95
  height: 10px;
96
96
  }
97
- .awsui_arrow-outer_1hpp3_z21ah_97:not(#\9), .awsui_arrow-inner_1hpp3_z21ah_97:not(#\9) {
97
+ .awsui_arrow-outer_1hpp3_1nzqd_97:not(#\9), .awsui_arrow-inner_1hpp3_1nzqd_97:not(#\9) {
98
98
  position: absolute;
99
99
  overflow: hidden;
100
100
  width: 20px;
@@ -102,7 +102,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
102
102
  top: 0;
103
103
  left: 0;
104
104
  }
105
- .awsui_arrow-outer_1hpp3_z21ah_97:not(#\9)::after, .awsui_arrow-inner_1hpp3_z21ah_97:not(#\9)::after {
105
+ .awsui_arrow-outer_1hpp3_1nzqd_97:not(#\9)::after, .awsui_arrow-inner_1hpp3_1nzqd_97:not(#\9)::after {
106
106
  content: "";
107
107
  box-sizing: border-box;
108
108
  display: inline-block;
@@ -115,26 +115,26 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
115
115
  transform: rotate(45deg);
116
116
  transform-origin: 0 100%;
117
117
  }
118
- .awsui_arrow-outer_1hpp3_z21ah_97:not(#\9)::after {
118
+ .awsui_arrow-outer_1hpp3_1nzqd_97:not(#\9)::after {
119
119
  background-color: var(--color-border-status-info-0iedcr, #0073bb);
120
120
  }
121
- .awsui_arrow-inner_1hpp3_z21ah_97:not(#\9) {
121
+ .awsui_arrow-inner_1hpp3_1nzqd_97:not(#\9) {
122
122
  top: 2px;
123
123
  }
124
- .awsui_arrow-inner_1hpp3_z21ah_97:not(#\9)::after {
124
+ .awsui_arrow-inner_1hpp3_1nzqd_97:not(#\9)::after {
125
125
  border-radius: 1px 0 0 0;
126
126
  background-color: var(--color-background-status-info-yq3r41, #f1faff);
127
127
  }
128
- .awsui_arrow-position-right-top_1hpp3_z21ah_128 > .awsui_arrow-outer_1hpp3_z21ah_97:not(#\9)::after, .awsui_arrow-position-right-bottom_1hpp3_z21ah_128 > .awsui_arrow-outer_1hpp3_z21ah_97:not(#\9)::after {
128
+ .awsui_arrow-position-right-top_1hpp3_1nzqd_128 > .awsui_arrow-outer_1hpp3_1nzqd_97:not(#\9)::after, .awsui_arrow-position-right-bottom_1hpp3_1nzqd_128 > .awsui_arrow-outer_1hpp3_1nzqd_97:not(#\9)::after {
129
129
  box-shadow: -0.71px 0.71px 4px -2px var(--color-shadow-default-94w2kz, rgba(0, 28, 36, 0.5));
130
130
  }
131
- .awsui_arrow-position-left-top_1hpp3_z21ah_131 > .awsui_arrow-outer_1hpp3_z21ah_97:not(#\9)::after, .awsui_arrow-position-left-bottom_1hpp3_z21ah_131 > .awsui_arrow-outer_1hpp3_z21ah_97:not(#\9)::after {
131
+ .awsui_arrow-position-left-top_1hpp3_1nzqd_131 > .awsui_arrow-outer_1hpp3_1nzqd_97:not(#\9)::after, .awsui_arrow-position-left-bottom_1hpp3_1nzqd_131 > .awsui_arrow-outer_1hpp3_1nzqd_97:not(#\9)::after {
132
132
  box-shadow: 0.71px -0.71px 4px -2px var(--color-shadow-default-94w2kz, rgba(0, 28, 36, 0.5));
133
133
  }
134
- .awsui_arrow-position-top-center_1hpp3_z21ah_134 > .awsui_arrow-outer_1hpp3_z21ah_97:not(#\9)::after, .awsui_arrow-position-top-responsive_1hpp3_z21ah_134 > .awsui_arrow-outer_1hpp3_z21ah_97:not(#\9)::after {
134
+ .awsui_arrow-position-top-center_1hpp3_1nzqd_134 > .awsui_arrow-outer_1hpp3_1nzqd_97:not(#\9)::after, .awsui_arrow-position-top-responsive_1hpp3_1nzqd_134 > .awsui_arrow-outer_1hpp3_1nzqd_97:not(#\9)::after {
135
135
  box-shadow: -0.71px -0.71px 4px -2px var(--color-shadow-default-94w2kz, rgba(0, 28, 36, 0.5));
136
136
  }
137
- .awsui_arrow-position-bottom-center_1hpp3_z21ah_137 > .awsui_arrow-outer_1hpp3_z21ah_97:not(#\9)::after, .awsui_arrow-position-bottom-responsive_1hpp3_z21ah_137 > .awsui_arrow-outer_1hpp3_z21ah_97:not(#\9)::after {
137
+ .awsui_arrow-position-bottom-center_1hpp3_1nzqd_137 > .awsui_arrow-outer_1hpp3_1nzqd_97:not(#\9)::after, .awsui_arrow-position-bottom-responsive_1hpp3_1nzqd_137 > .awsui_arrow-outer_1hpp3_1nzqd_97:not(#\9)::after {
138
138
  box-shadow: 0.71px 0.71px 4px -2px var(--color-shadow-default-94w2kz, rgba(0, 28, 36, 0.5));
139
139
  }
140
140
 
@@ -142,37 +142,37 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
142
142
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
143
143
  SPDX-License-Identifier: Apache-2.0
144
144
  */
145
- .awsui_annotation_1hpp3_z21ah_145:not(#\9),
146
- .awsui_next-button_1hpp3_z21ah_146:not(#\9),
147
- .awsui_previous-button_1hpp3_z21ah_147:not(#\9),
148
- .awsui_finish-button_1hpp3_z21ah_148:not(#\9),
149
- .awsui_header_1hpp3_z21ah_149:not(#\9),
150
- .awsui_step-counter-content_1hpp3_z21ah_150:not(#\9),
151
- .awsui_content_1hpp3_z21ah_151:not(#\9) {
145
+ .awsui_annotation_1hpp3_1nzqd_145:not(#\9),
146
+ .awsui_next-button_1hpp3_1nzqd_146:not(#\9),
147
+ .awsui_previous-button_1hpp3_1nzqd_147:not(#\9),
148
+ .awsui_finish-button_1hpp3_1nzqd_148:not(#\9),
149
+ .awsui_header_1hpp3_1nzqd_149:not(#\9),
150
+ .awsui_step-counter-content_1hpp3_1nzqd_150:not(#\9),
151
+ .awsui_content_1hpp3_1nzqd_151:not(#\9) {
152
152
  /* used in test-utils */
153
153
  }
154
154
 
155
- .awsui_description_1hpp3_z21ah_155:not(#\9) {
155
+ .awsui_description_1hpp3_1nzqd_155:not(#\9) {
156
156
  overflow: hidden;
157
157
  margin-top: var(--space-xxs-ynfts5, 4px);
158
158
  }
159
159
 
160
- .awsui_actionBar_1hpp3_z21ah_160:not(#\9) {
160
+ .awsui_actionBar_1hpp3_1nzqd_160:not(#\9) {
161
161
  display: flex;
162
162
  justify-content: space-between;
163
163
  align-items: center;
164
164
  position: relative;
165
165
  }
166
166
 
167
- .awsui_stepCounter_1hpp3_z21ah_167:not(#\9) {
167
+ .awsui_stepCounter_1hpp3_1nzqd_167:not(#\9) {
168
168
  margin-right: 20px;
169
169
  }
170
170
 
171
- .awsui_divider_1hpp3_z21ah_171:not(#\9) {
171
+ .awsui_divider_1hpp3_1nzqd_171:not(#\9) {
172
172
  border-bottom: var(--border-divider-section-width-5a4cv1, 1px) solid var(--color-border-divider-default-k96bks, #eaeded);
173
173
  }
174
174
 
175
- .awsui_hotspot_1hpp3_z21ah_175:not(#\9) {
175
+ .awsui_hotspot_1hpp3_1nzqd_175:not(#\9) {
176
176
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
177
177
  border-collapse: separate;
178
178
  border-spacing: 0;
@@ -211,21 +211,21 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
211
211
  border: none;
212
212
  padding: 0;
213
213
  cursor: pointer;
214
- scroll-margin: var(--awsui-content-scroll-margin-ujkcpl, 40px 0 0 0);
214
+ scroll-margin: var(--awsui-content-scroll-margin-f9jj7p, 40px 0 0 0);
215
215
  width: 16px;
216
216
  height: 16px;
217
217
  }
218
- .awsui_hotspot_1hpp3_z21ah_175:not(#\9):focus {
218
+ .awsui_hotspot_1hpp3_1nzqd_175:not(#\9):focus {
219
219
  outline: none;
220
220
  }
221
- .awsui_hotspot_1hpp3_z21ah_175[data-awsui-focus-visible=true]:not(#\9):focus {
221
+ .awsui_hotspot_1hpp3_1nzqd_175[data-awsui-focus-visible=true]:not(#\9):focus {
222
222
  position: relative;
223
223
  }
224
- .awsui_hotspot_1hpp3_z21ah_175[data-awsui-focus-visible=true]:not(#\9):focus {
224
+ .awsui_hotspot_1hpp3_1nzqd_175[data-awsui-focus-visible=true]:not(#\9):focus {
225
225
  outline: 2px dotted transparent;
226
226
  outline-offset: calc(2px - 1px);
227
227
  }
228
- .awsui_hotspot_1hpp3_z21ah_175[data-awsui-focus-visible=true]:not(#\9):focus::before {
228
+ .awsui_hotspot_1hpp3_1nzqd_175[data-awsui-focus-visible=true]:not(#\9):focus::before {
229
229
  content: " ";
230
230
  display: block;
231
231
  position: absolute;
@@ -236,13 +236,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
236
236
  border-radius: var(--border-radius-control-circular-focus-ring-l88ib6, 50%);
237
237
  box-shadow: 0 0 0 2px var(--color-border-item-focused-n5kd8g, #0073bb);
238
238
  }
239
- .awsui_hotspot_1hpp3_z21ah_175 > .awsui_icon_1hpp3_z21ah_213:not(#\9) {
239
+ .awsui_hotspot_1hpp3_1nzqd_175 > .awsui_icon_1hpp3_1nzqd_213:not(#\9) {
240
240
  position: relative;
241
241
  stroke: var(--color-text-link-default-753y4e, #0073bb);
242
242
  }
243
- .awsui_hotspot_1hpp3_z21ah_175:not(#\9):hover > .awsui_icon_1hpp3_z21ah_213 {
243
+ .awsui_hotspot_1hpp3_1nzqd_175:not(#\9):hover > .awsui_icon_1hpp3_1nzqd_213 {
244
244
  stroke: var(--color-text-link-hover-ok01xk, #0073bb);
245
245
  }
246
- .awsui_hotspot_1hpp3_z21ah_175:not(#\9):active > .awsui_icon_1hpp3_z21ah_213 {
246
+ .awsui_hotspot_1hpp3_1nzqd_175:not(#\9):active > .awsui_icon_1hpp3_1nzqd_213 {
247
247
  stroke: var(--color-text-link-default-753y4e, #0073bb);
248
248
  }
@@ -2,29 +2,29 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "arrow": "awsui_arrow_1hpp3_z21ah_93",
6
- "arrow-outer": "awsui_arrow-outer_1hpp3_z21ah_97",
7
- "arrow-inner": "awsui_arrow-inner_1hpp3_z21ah_97",
8
- "arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_z21ah_128",
9
- "arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_z21ah_128",
10
- "arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_z21ah_131",
11
- "arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_z21ah_131",
12
- "arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_z21ah_134",
13
- "arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_z21ah_134",
14
- "arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_z21ah_137",
15
- "arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_z21ah_137",
16
- "annotation": "awsui_annotation_1hpp3_z21ah_145",
17
- "next-button": "awsui_next-button_1hpp3_z21ah_146",
18
- "previous-button": "awsui_previous-button_1hpp3_z21ah_147",
19
- "finish-button": "awsui_finish-button_1hpp3_z21ah_148",
20
- "header": "awsui_header_1hpp3_z21ah_149",
21
- "step-counter-content": "awsui_step-counter-content_1hpp3_z21ah_150",
22
- "content": "awsui_content_1hpp3_z21ah_151",
23
- "description": "awsui_description_1hpp3_z21ah_155",
24
- "actionBar": "awsui_actionBar_1hpp3_z21ah_160",
25
- "stepCounter": "awsui_stepCounter_1hpp3_z21ah_167",
26
- "divider": "awsui_divider_1hpp3_z21ah_171",
27
- "hotspot": "awsui_hotspot_1hpp3_z21ah_175",
28
- "icon": "awsui_icon_1hpp3_z21ah_213"
5
+ "arrow": "awsui_arrow_1hpp3_1nzqd_93",
6
+ "arrow-outer": "awsui_arrow-outer_1hpp3_1nzqd_97",
7
+ "arrow-inner": "awsui_arrow-inner_1hpp3_1nzqd_97",
8
+ "arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_1nzqd_128",
9
+ "arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_1nzqd_128",
10
+ "arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_1nzqd_131",
11
+ "arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_1nzqd_131",
12
+ "arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_1nzqd_134",
13
+ "arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_1nzqd_134",
14
+ "arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_1nzqd_137",
15
+ "arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_1nzqd_137",
16
+ "annotation": "awsui_annotation_1hpp3_1nzqd_145",
17
+ "next-button": "awsui_next-button_1hpp3_1nzqd_146",
18
+ "previous-button": "awsui_previous-button_1hpp3_1nzqd_147",
19
+ "finish-button": "awsui_finish-button_1hpp3_1nzqd_148",
20
+ "header": "awsui_header_1hpp3_1nzqd_149",
21
+ "step-counter-content": "awsui_step-counter-content_1hpp3_1nzqd_150",
22
+ "content": "awsui_content_1hpp3_1nzqd_151",
23
+ "description": "awsui_description_1hpp3_1nzqd_155",
24
+ "actionBar": "awsui_actionBar_1hpp3_1nzqd_160",
25
+ "stepCounter": "awsui_stepCounter_1hpp3_1nzqd_167",
26
+ "divider": "awsui_divider_1hpp3_1nzqd_171",
27
+ "hotspot": "awsui_hotspot_1hpp3_1nzqd_175",
28
+ "icon": "awsui_icon_1hpp3_1nzqd_213"
29
29
  };
30
30