@cloudscape-design/components-themeable 3.0.1322 → 3.0.1324

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 (80) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/box/base-styles.scss +1 -0
  3. package/lib/internal/scss/flashbar/styles.scss +25 -4
  4. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
  5. package/lib/internal/scss/internal/styles/typography/mixins.scss +16 -0
  6. package/lib/internal/scss/side-navigation/styles.scss +18 -24
  7. package/lib/internal/template/alert/index.d.ts.map +1 -1
  8. package/lib/internal/template/alert/index.js +5 -0
  9. package/lib/internal/template/alert/index.js.map +1 -1
  10. package/lib/internal/template/alert/styles.css.js +27 -27
  11. package/lib/internal/template/alert/styles.scoped.css +44 -44
  12. package/lib/internal/template/alert/styles.selectors.js +27 -27
  13. package/lib/internal/template/box/interfaces.d.ts +1 -1
  14. package/lib/internal/template/box/interfaces.d.ts.map +1 -1
  15. package/lib/internal/template/box/interfaces.js.map +1 -1
  16. package/lib/internal/template/box/styles.css.js +193 -192
  17. package/lib/internal/template/box/styles.scoped.css +246 -241
  18. package/lib/internal/template/box/styles.selectors.js +193 -192
  19. package/lib/internal/template/code-editor/styles.css.js +33 -33
  20. package/lib/internal/template/code-editor/styles.scoped.css +195 -195
  21. package/lib/internal/template/code-editor/styles.selectors.js +33 -33
  22. package/lib/internal/template/flashbar/flash.d.ts.map +1 -1
  23. package/lib/internal/template/flashbar/flash.js +2 -2
  24. package/lib/internal/template/flashbar/flash.js.map +1 -1
  25. package/lib/internal/template/flashbar/index.d.ts.map +1 -1
  26. package/lib/internal/template/flashbar/index.js +5 -0
  27. package/lib/internal/template/flashbar/index.js.map +1 -1
  28. package/lib/internal/template/flashbar/style.d.ts +3 -0
  29. package/lib/internal/template/flashbar/style.d.ts.map +1 -1
  30. package/lib/internal/template/flashbar/style.js +9 -0
  31. package/lib/internal/template/flashbar/style.js.map +1 -1
  32. package/lib/internal/template/flashbar/styles.css.js +50 -50
  33. package/lib/internal/template/flashbar/styles.scoped.css +169 -151
  34. package/lib/internal/template/flashbar/styles.selectors.js +50 -50
  35. package/lib/internal/template/form-field/styles.css.js +24 -24
  36. package/lib/internal/template/form-field/styles.scoped.css +40 -40
  37. package/lib/internal/template/form-field/styles.selectors.js +24 -24
  38. package/lib/internal/template/icon/styles.css.js +41 -41
  39. package/lib/internal/template/icon/styles.scoped.css +94 -94
  40. package/lib/internal/template/icon/styles.selectors.js +41 -41
  41. package/lib/internal/template/input/styles.css.js +18 -18
  42. package/lib/internal/template/input/styles.scoped.css +38 -38
  43. package/lib/internal/template/input/styles.selectors.js +18 -18
  44. package/lib/internal/template/internal/base-component/styles.scoped.css +151 -88
  45. package/lib/internal/template/internal/components/button-trigger/styles.css.js +14 -14
  46. package/lib/internal/template/internal/components/button-trigger/styles.scoped.css +35 -35
  47. package/lib/internal/template/internal/components/button-trigger/styles.selectors.js +14 -14
  48. package/lib/internal/template/internal/environment.js +2 -2
  49. package/lib/internal/template/internal/environment.json +2 -2
  50. package/lib/internal/template/internal/generated/styles/tokens.d.ts +14 -0
  51. package/lib/internal/template/internal/generated/styles/tokens.js +27 -13
  52. package/lib/internal/template/internal/generated/theming/index.cjs +282 -21
  53. package/lib/internal/template/internal/generated/theming/index.cjs.d.ts +126 -0
  54. package/lib/internal/template/internal/generated/theming/index.d.ts +126 -0
  55. package/lib/internal/template/internal/generated/theming/index.js +282 -21
  56. package/lib/internal/template/popover/body.d.ts.map +1 -1
  57. package/lib/internal/template/popover/body.js +2 -2
  58. package/lib/internal/template/popover/body.js.map +1 -1
  59. package/lib/internal/template/prompt-input/styles.css.js +26 -26
  60. package/lib/internal/template/prompt-input/styles.scoped.css +61 -61
  61. package/lib/internal/template/prompt-input/styles.selectors.js +26 -26
  62. package/lib/internal/template/side-navigation/parts.d.ts.map +1 -1
  63. package/lib/internal/template/side-navigation/parts.js +37 -28
  64. package/lib/internal/template/side-navigation/parts.js.map +1 -1
  65. package/lib/internal/template/side-navigation/styles.css.js +46 -46
  66. package/lib/internal/template/side-navigation/styles.scoped.css +85 -111
  67. package/lib/internal/template/side-navigation/styles.selectors.js +46 -46
  68. package/lib/internal/template/slider/styles.css.js +26 -26
  69. package/lib/internal/template/slider/styles.scoped.css +112 -112
  70. package/lib/internal/template/slider/styles.selectors.js +26 -26
  71. package/lib/internal/template/status-indicator/styles.css.js +24 -24
  72. package/lib/internal/template/status-indicator/styles.scoped.css +59 -59
  73. package/lib/internal/template/status-indicator/styles.selectors.js +24 -24
  74. package/lib/internal/template/textarea/styles.css.js +5 -5
  75. package/lib/internal/template/textarea/styles.scoped.css +17 -17
  76. package/lib/internal/template/textarea/styles.selectors.js +5 -5
  77. package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/styles.css.js +20 -20
  78. package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +23 -23
  79. package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/styles.selectors.js +20 -20
  80. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "6a213a018ead0e7922fa0a5fcfb639e6ff0f9633"
2
+ "commit": "350ae2f57b2af280ae6395e05853890aabef9d8f"
3
3
  }
@@ -81,6 +81,7 @@ $font-styles: (
81
81
  heading-l: heading-l,
82
82
  heading-xl: heading-xl,
83
83
  display-l: display-l,
84
+ display-xl: display-xl,
84
85
  ),
85
86
  font-weight: (
86
87
  default: (
@@ -36,6 +36,7 @@
36
36
  border-start-end-radius: awsui.$border-radius-flashbar;
37
37
  border-end-start-radius: awsui.$border-radius-flashbar;
38
38
  border-end-end-radius: awsui.$border-radius-flashbar;
39
+ border-inline-start: awsui.$border-width-flashbar-inline-start solid transparent;
39
40
  color: awsui.$color-text-notification-default;
40
41
  overflow-wrap: break-word;
41
42
  word-wrap: break-word;
@@ -146,19 +147,39 @@
146
147
  }
147
148
 
148
149
  .flash-type-success {
149
- background-color: awsui.$color-background-notification-green;
150
+ background-color: awsui.$color-background-flashbar-success;
151
+ border-inline-start-color: awsui.$color-border-status-success;
152
+
153
+ > .flash-body > .flash-focus-container > .flash-icon {
154
+ color: awsui.$color-text-status-success;
155
+ }
150
156
  }
151
157
 
152
158
  .flash-type-error {
153
- background-color: awsui.$color-background-notification-red;
159
+ background-color: awsui.$color-background-flashbar-error;
160
+ border-inline-start-color: awsui.$color-border-status-error;
161
+
162
+ > .flash-body > .flash-focus-container > .flash-icon {
163
+ color: awsui.$color-text-status-error;
164
+ }
154
165
  }
155
166
 
156
167
  .flash-type-info,
157
168
  .flash-type-in-progress {
158
- background-color: awsui.$color-background-notification-blue;
169
+ background-color: awsui.$color-background-flashbar-info;
170
+ border-inline-start-color: awsui.$color-border-status-info;
171
+
172
+ > .flash-body > .flash-focus-container > .flash-icon {
173
+ color: awsui.$color-text-status-info;
174
+ }
159
175
  }
160
176
 
161
177
  .flash-type-warning {
162
178
  color: awsui.$color-text-notification-yellow;
163
- background-color: awsui.$color-background-notification-yellow;
179
+ background-color: awsui.$color-background-flashbar-warning;
180
+ border-inline-start-color: awsui.$color-border-status-warning;
181
+
182
+ > .flash-body > .flash-focus-container > .flash-icon {
183
+ color: awsui.$color-text-status-warning;
184
+ }
164
185
  }
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Build environment
3
- $awsui-commit-hash: "6a213a01";
3
+ $awsui-commit-hash: "350ae2f5";
4
4
  // Manually managed CSS-variables
5
5
  $maxContentWidth: --awsui-max-content-width-6b9ypa;
6
6
  $minContentWidth: --awsui-min-content-width-6b9ypa;
@@ -110,6 +110,19 @@
110
110
  }
111
111
  }
112
112
 
113
+ @mixin font-display-xl($weight: true, $family: true) {
114
+ @if $family {
115
+ font-family: awsui.$font-family-display;
116
+ }
117
+ font-size: awsui.$font-size-display-xl;
118
+ line-height: awsui.$line-height-display-xl;
119
+ letter-spacing: awsui.$letter-spacing-display-xl;
120
+ @if $weight {
121
+ font-weight: awsui.$font-weight-display-xl;
122
+ @include font-smoothing;
123
+ }
124
+ }
125
+
113
126
  @mixin font-inherit {
114
127
  font-size: inherit;
115
128
  line-height: inherit;
@@ -174,6 +187,9 @@
174
187
  @if $font-size == display-l {
175
188
  @include font-display-l($weight: false, $family: false);
176
189
  }
190
+ @if $font-size == display-xl {
191
+ @include font-display-xl($weight: false, $family: false);
192
+ }
177
193
  @if $font-size == inherit {
178
194
  @include font-inherit;
179
195
  }
@@ -18,11 +18,11 @@ $item-padding-inline: awsui.$space-xs;
18
18
  $item-indent: calc(awsui.$size-icon-normal + #{$item-icon-text-gap} - #{$item-padding-inline});
19
19
  $expandable-icon-negative-margin: awsui.$space-l;
20
20
 
21
- @mixin item-radius {
22
- border-start-start-radius: awsui.$border-radius-item;
23
- border-start-end-radius: awsui.$border-radius-item;
24
- border-end-start-radius: awsui.$border-radius-item;
25
- border-end-end-radius: awsui.$border-radius-item;
21
+ @mixin item-radius($radius: awsui.$border-radius-item) {
22
+ border-start-start-radius: $radius;
23
+ border-start-end-radius: $radius;
24
+ border-end-start-radius: $radius;
25
+ border-end-end-radius: $radius;
26
26
  }
27
27
 
28
28
  .root {
@@ -154,9 +154,6 @@ $expandable-icon-negative-margin: awsui.$space-l;
154
154
  padding-block: 0;
155
155
  padding-inline: $item-padding-inline;
156
156
  list-style: none;
157
- @include styles.with-motion {
158
- transition: margin awsui.$motion-duration-expressive awsui.$motion-easing-responsive;
159
- }
160
157
  // Remove margin from first item in side nav, outer block margins are covered by list-container
161
158
  .list-variant-root--first > &:first-child {
162
159
  margin-block-start: 0px;
@@ -168,9 +165,6 @@ $expandable-icon-negative-margin: awsui.$space-l;
168
165
  justify-content: center;
169
166
  padding-block: 0;
170
167
  padding-inline: 0;
171
- @include styles.with-motion {
172
- transition: margin awsui.$motion-duration-expressive awsui.$motion-easing-responsive;
173
- }
174
168
  }
175
169
 
176
170
  &--group {
@@ -187,16 +181,12 @@ $expandable-icon-negative-margin: awsui.$space-l;
187
181
  }
188
182
  }
189
183
 
190
- &--info {
184
+ &--link-with-info {
191
185
  display: flex;
192
186
  align-items: baseline;
193
187
  }
194
188
  }
195
189
 
196
- .list-item--info > .list {
197
- inline-size: 100%;
198
- }
199
-
200
190
  .list--collapsed-group {
201
191
  margin-block: 0;
202
192
  margin-inline: 0;
@@ -284,28 +274,31 @@ $expandable-icon-negative-margin: awsui.$space-l;
284
274
  // ==========================================================================
285
275
  .link {
286
276
  @include styles.font-body-m;
287
- color: awsui.$color-text-body-secondary;
288
- display: inline-flex;
277
+ color: awsui.$color-text-side-navigation-item-default;
278
+ display: flex;
289
279
  padding-block: $item-padding-block;
290
280
  min-inline-size: awsui.$size-side-navigation-item-height;
291
281
  padding-inline: $item-padding-inline;
292
282
  margin-inline: calc(-1 * #{$item-padding-inline});
293
283
  align-items: flex-start;
294
- @include item-radius;
284
+ @include item-radius(awsui.$border-radius-side-navigation-item);
295
285
  font-weight: styles.$font-weight-normal;
296
286
  -webkit-font-smoothing: auto;
297
287
  -moz-osx-font-smoothing: auto;
298
- @include styles.with-motion {
299
- transition:
300
- background-color awsui.$motion-duration-expressive awsui.$motion-easing-responsive,
301
- color awsui.$motion-duration-expressive awsui.$motion-easing-expressive;
302
- }
303
288
 
304
289
  &-active {
305
290
  font-weight: awsui.$font-wayfinding-link-active-weight;
306
291
  @include styles.font-smoothing;
307
292
  color: awsui.$color-text-side-navigation-item-active;
308
293
  background-color: awsui.$color-background-side-navigation-item-active;
294
+
295
+ &.link--collapsed {
296
+ color: awsui.$color-text-side-navigation-item-active-collapsed;
297
+ background-color: awsui.$color-background-side-navigation-item-active-collapsed;
298
+ &:hover {
299
+ color: awsui.$color-text-side-navigation-item-active-collapsed;
300
+ }
301
+ }
309
302
  }
310
303
 
311
304
  &--collapsed {
@@ -313,6 +306,7 @@ $expandable-icon-negative-margin: awsui.$space-l;
313
306
  margin-inline: 0;
314
307
  justify-content: center;
315
308
  align-items: center;
309
+ @include item-radius(awsui.$border-radius-side-navigation-item-collapsed);
316
310
  }
317
311
  }
318
312
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/alert/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAYjD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAK1C,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB,QAAA,MAAM,KAAK,mFAuGV,CAAC;AAGF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/alert/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAYjD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAK1C,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB,QAAA,MAAM,KAAK,mFA2GV,CAAC;AAGF,eAAe,KAAK,CAAC"}
@@ -13,9 +13,14 @@ import { applyDisplayName } from '../internal/utils/apply-display-name';
13
13
  import InternalAlert from './internal';
14
14
  import analyticsSelectors from './analytics-metadata/styles.css.js';
15
15
  const Alert = React.forwardRef(({ type = 'info', visible = true, style, ...props }, ref) => {
16
+ var _a, _b;
16
17
  const analyticsMetadata = getAnalyticsMetadataProps(props);
17
18
  const baseComponentProps = useBaseComponent('Alert', {
18
19
  props: { type, visible, dismissible: props.dismissible },
20
+ metadata: {
21
+ hasPersistenceConfig: !!((_a = props.persistenceConfig) === null || _a === void 0 ? void 0 : _a.uniqueKey),
22
+ crossServicePersistence: !!((_b = props.persistenceConfig) === null || _b === void 0 ? void 0 : _b.crossServicePersistence),
23
+ },
19
24
  }, analyticsMetadata);
20
25
  const rootRef = useRef(null);
21
26
  const __internalRootRef = useMergeRefs(rootRef, baseComponentProps.__internalRootRef);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/alert/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,YAAY,CAAC;AACb,OAAO,KAAK,EAAE,EAA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AACjC,eAAe,KAAK,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n'use client';\nimport React, { useEffect, useRef } from 'react';\n\nimport { useMergeRefs, useUniqueId } from '@cloudscape-design/component-toolkit/internal';\nimport { getAnalyticsMetadataAttribute } from '@cloudscape-design/component-toolkit/internal/analytics-metadata';\n\nimport { FunnelMetrics } from '../internal/analytics';\nimport { useFunnel, useFunnelStep, useFunnelSubStep } from '../internal/analytics/hooks/use-funnel';\nimport { getSubStepAllSelector, getTextFromSelector } from '../internal/analytics/selectors';\nimport { BasePropsWithAnalyticsMetadata, getAnalyticsMetadataProps } from '../internal/base-component';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { GeneratedAnalyticsMetadataAlertComponent } from './analytics-metadata/interfaces';\nimport { AlertProps } from './interfaces';\nimport InternalAlert from './internal';\n\nimport analyticsSelectors from './analytics-metadata/styles.css.js';\n\nexport { AlertProps };\n\nconst Alert = React.forwardRef(\n ({ type = 'info', visible = true, style, ...props }: AlertProps, ref: React.Ref<AlertProps.Ref>) => {\n const analyticsMetadata = getAnalyticsMetadataProps(props as BasePropsWithAnalyticsMetadata);\n\n const baseComponentProps = useBaseComponent(\n 'Alert',\n {\n props: { type, visible, dismissible: props.dismissible },\n },\n analyticsMetadata\n );\n const rootRef = useRef<HTMLElement>(null);\n const __internalRootRef = useMergeRefs(rootRef, baseComponentProps.__internalRootRef);\n\n const { funnelIdentifier, funnelInteractionId, funnelErrorContext, submissionAttempt, funnelState, errorCount } =\n useFunnel();\n const { stepNumber, stepNameSelector, stepIdentifier, subStepCount, stepErrorContext, subStepConfiguration } =\n useFunnelStep();\n const { subStepSelector, subStepNameSelector, subStepIdentifier, subStepErrorContext } = useFunnelSubStep();\n\n const messageSlotId = useUniqueId('alert-');\n\n useEffect(() => {\n if (funnelInteractionId && visible && type === 'error' && funnelState.current !== 'complete') {\n const stepName = getTextFromSelector(stepNameSelector);\n const subStepName = getTextFromSelector(subStepNameSelector);\n\n errorCount.current++;\n\n // We don't want to report an error if it is hidden, e.g. inside an Expandable Section.\n const errorIsVisible = (rootRef.current?.getBoundingClientRect()?.width ?? 0) > 0;\n\n if (errorIsVisible) {\n if (subStepSelector) {\n FunnelMetrics.funnelSubStepError({\n funnelInteractionId,\n funnelIdentifier,\n stepIdentifier,\n subStepSelector,\n subStepName,\n subStepNameSelector,\n stepNumber,\n stepName,\n stepNameSelector,\n subStepAllSelector: getSubStepAllSelector(),\n subStepIdentifier,\n errorContext: analyticsMetadata.errorContext || subStepErrorContext,\n });\n } else if (stepNameSelector) {\n FunnelMetrics.funnelStepError({\n funnelInteractionId,\n stepNumber,\n stepNameSelector,\n stepName,\n stepIdentifier,\n currentDocument: rootRef.current?.ownerDocument,\n totalSubSteps: subStepCount.current,\n funnelIdentifier,\n subStepAllSelector: getSubStepAllSelector(),\n errorContext: analyticsMetadata.errorContext || stepErrorContext,\n subStepConfiguration: subStepConfiguration.current?.get(stepNumber),\n stepErrorSelector: '#' + messageSlotId,\n });\n } else {\n FunnelMetrics.funnelError({\n funnelIdentifier,\n funnelInteractionId,\n errorContext: analyticsMetadata.errorContext || funnelErrorContext,\n });\n }\n }\n\n return () => {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n errorCount.current--;\n };\n }\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [funnelInteractionId, visible, submissionAttempt, errorCount]);\n\n const componentAnalyticsMetadata: GeneratedAnalyticsMetadataAlertComponent = {\n name: 'awsui.Alert',\n label: `.${analyticsSelectors.header}`,\n properties: {\n type,\n },\n };\n\n return (\n <InternalAlert\n type={type}\n visible={visible}\n {...props}\n {...baseComponentProps}\n __internalRootRef={__internalRootRef}\n ref={ref}\n messageSlotId={messageSlotId}\n style={style}\n {...getAnalyticsMetadataAttribute({ component: componentAnalyticsMetadata })}\n />\n );\n }\n);\n\napplyDisplayName(Alert, 'Al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,CAAC;IAEF,OAAO,CACL,oBAAC,aAAa,IACZ,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,KACZ,KAAK,KACL,kBAAkB,EACtB,iBAAiB,EAAE,iBAAiB,EACpC,GAAG,EAAE,GAAG,EACR,aAAa,EAAE,aAAa,EAC5B,KAAK,EAAE,KAAK,KACR,6BAA6B,CAAC,EAAE,SAAS,EAAE,0BAA0B,EAAE,CAAC,GAC5E,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,gBAAgB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AACjC,eAAe,KAAK,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n'use client';\nimport React, { useEffect, useRef } from 'react';\n\nimport { useMergeRefs, useUniqueId } from '@cloudscape-design/component-toolkit/internal';\nimport { getAnalyticsMetadataAttribute } from '@cloudscape-design/component-toolkit/internal/analytics-metadata';\n\nimport { FunnelMetrics } from '../internal/analytics';\nimport { useFunnel, useFunnelStep, useFunnelSubStep } from '../internal/analytics/hooks/use-funnel';\nimport { getSubStepAllSelector, getTextFromSelector } from '../internal/analytics/selectors';\nimport { BasePropsWithAnalyticsMetadata, getAnalyticsMetadataProps } from '../internal/base-component';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { GeneratedAnalyticsMetadataAlertComponent } from './analytics-metadata/interfaces';\nimport { AlertProps } from './interfaces';\nimport InternalAlert from './internal';\n\nimport analyticsSelectors from './analytics-metadata/styles.css.js';\n\nexport { AlertProps };\n\nconst Alert = React.forwardRef(\n ({ type = 'info', visible = true, style, ...props }: AlertProps, ref: React.Ref<AlertProps.Ref>) => {\n const analyticsMetadata = getAnalyticsMetadataProps(props as BasePropsWithAnalyticsMetadata);\n\n const baseComponentProps = useBaseComponent(\n 'Alert',\n {\n props: { type, visible, dismissible: props.dismissible },\n metadata: {\n hasPersistenceConfig: !!props.persistenceConfig?.uniqueKey,\n crossServicePersistence: !!props.persistenceConfig?.crossServicePersistence,\n },\n },\n analyticsMetadata\n );\n const rootRef = useRef<HTMLElement>(null);\n const __internalRootRef = useMergeRefs(rootRef, baseComponentProps.__internalRootRef);\n\n const { funnelIdentifier, funnelInteractionId, funnelErrorContext, submissionAttempt, funnelState, errorCount } =\n useFunnel();\n const { stepNumber, stepNameSelector, stepIdentifier, subStepCount, stepErrorContext, subStepConfiguration } =\n useFunnelStep();\n const { subStepSelector, subStepNameSelector, subStepIdentifier, subStepErrorContext } = useFunnelSubStep();\n\n const messageSlotId = useUniqueId('alert-');\n\n useEffect(() => {\n if (funnelInteractionId && visible && type === 'error' && funnelState.current !== 'complete') {\n const stepName = getTextFromSelector(stepNameSelector);\n const subStepName = getTextFromSelector(subStepNameSelector);\n\n errorCount.current++;\n\n // We don't want to report an error if it is hidden, e.g. inside an Expandable Section.\n const errorIsVisible = (rootRef.current?.getBoundingClientRect()?.width ?? 0) > 0;\n\n if (errorIsVisible) {\n if (subStepSelector) {\n FunnelMetrics.funnelSubStepError({\n funnelInteractionId,\n funnelIdentifier,\n stepIdentifier,\n subStepSelector,\n subStepName,\n subStepNameSelector,\n stepNumber,\n stepName,\n stepNameSelector,\n subStepAllSelector: getSubStepAllSelector(),\n subStepIdentifier,\n errorContext: analyticsMetadata.errorContext || subStepErrorContext,\n });\n } else if (stepNameSelector) {\n FunnelMetrics.funnelStepError({\n funnelInteractionId,\n stepNumber,\n stepNameSelector,\n stepName,\n stepIdentifier,\n currentDocument: rootRef.current?.ownerDocument,\n totalSubSteps: subStepCount.current,\n funnelIdentifier,\n subStepAllSelector: getSubStepAllSelector(),\n errorContext: analyticsMetadata.errorContext || stepErrorContext,\n subStepConfiguration: subStepConfiguration.current?.get(stepNumber),\n stepErrorSelector: '#' + messageSlotId,\n });\n } else {\n FunnelMetrics.funnelError({\n funnelIdentifier,\n funnelInteractionId,\n errorContext: analyticsMetadata.errorContext || funnelErrorContext,\n });\n }\n }\n\n return () => {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n errorCount.current--;\n };\n }\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [funnelInteractionId, visible, submissionAttempt, errorCount]);\n\n const componentAnalyticsMetadata: GeneratedAnalyticsMetadataAlertComponent = {\n name: 'awsui.Alert',\n label: `.${analyticsSelectors.header}`,\n properties: {\n type,\n },\n };\n\n return (\n <InternalAlert\n type={type}\n visible={visible}\n {...props}\n {...baseComponentProps}\n __internalRootRef={__internalRootRef}\n ref={ref}\n messageSlotId={messageSlotId}\n style={style}\n {...getAnalyticsMetadataAttribute({ component: componentAnalyticsMetadata })}\n />\n );\n }\n);\n\napplyDisplayName(Alert, 'Alert');\nexport default Alert;\n"]}
@@ -1,32 +1,32 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "alert": "awsui_alert_mx3cw_a3sen_193",
5
- "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_mx3cw_a3sen_1",
6
- "root": "awsui_root_mx3cw_a3sen_215",
7
- "hidden": "awsui_hidden_mx3cw_a3sen_250",
8
- "alert-wrapper": "awsui_alert-wrapper_mx3cw_a3sen_301",
9
- "initial-hidden": "awsui_initial-hidden_mx3cw_a3sen_313",
10
- "header": "awsui_header_mx3cw_a3sen_318",
11
- "header-replacement": "awsui_header-replacement_mx3cw_a3sen_319",
12
- "action": "awsui_action_mx3cw_a3sen_323",
13
- "action-slot": "awsui_action-slot_mx3cw_a3sen_327",
14
- "action-button": "awsui_action-button_mx3cw_a3sen_328",
15
- "alert-focus-wrapper": "awsui_alert-focus-wrapper_mx3cw_a3sen_332",
16
- "text": "awsui_text_mx3cw_a3sen_363",
17
- "icon": "awsui_icon_mx3cw_a3sen_370",
18
- "message": "awsui_message_mx3cw_a3sen_373",
19
- "action-wrapped": "awsui_action-wrapped_mx3cw_a3sen_377",
20
- "icon-size-medium": "awsui_icon-size-medium_mx3cw_a3sen_381",
21
- "icon-size-big": "awsui_icon-size-big_mx3cw_a3sen_385",
22
- "icon-size-normal": "awsui_icon-size-normal_mx3cw_a3sen_389",
23
- "content": "awsui_content_mx3cw_a3sen_393",
24
- "content-replacement": "awsui_content-replacement_mx3cw_a3sen_394",
25
- "dismiss": "awsui_dismiss_mx3cw_a3sen_398",
26
- "dismiss-button": "awsui_dismiss-button_mx3cw_a3sen_403",
27
- "type-error": "awsui_type-error_mx3cw_a3sen_407",
28
- "type-warning": "awsui_type-warning_mx3cw_a3sen_415",
29
- "type-success": "awsui_type-success_mx3cw_a3sen_423",
30
- "type-info": "awsui_type-info_mx3cw_a3sen_431"
4
+ "alert": "awsui_alert_mx3cw_1a9ra_193",
5
+ "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_mx3cw_1a9ra_1",
6
+ "root": "awsui_root_mx3cw_1a9ra_215",
7
+ "hidden": "awsui_hidden_mx3cw_1a9ra_250",
8
+ "alert-wrapper": "awsui_alert-wrapper_mx3cw_1a9ra_301",
9
+ "initial-hidden": "awsui_initial-hidden_mx3cw_1a9ra_313",
10
+ "header": "awsui_header_mx3cw_1a9ra_318",
11
+ "header-replacement": "awsui_header-replacement_mx3cw_1a9ra_319",
12
+ "action": "awsui_action_mx3cw_1a9ra_323",
13
+ "action-slot": "awsui_action-slot_mx3cw_1a9ra_327",
14
+ "action-button": "awsui_action-button_mx3cw_1a9ra_328",
15
+ "alert-focus-wrapper": "awsui_alert-focus-wrapper_mx3cw_1a9ra_332",
16
+ "text": "awsui_text_mx3cw_1a9ra_363",
17
+ "icon": "awsui_icon_mx3cw_1a9ra_370",
18
+ "message": "awsui_message_mx3cw_1a9ra_373",
19
+ "action-wrapped": "awsui_action-wrapped_mx3cw_1a9ra_377",
20
+ "icon-size-medium": "awsui_icon-size-medium_mx3cw_1a9ra_381",
21
+ "icon-size-big": "awsui_icon-size-big_mx3cw_1a9ra_385",
22
+ "icon-size-normal": "awsui_icon-size-normal_mx3cw_1a9ra_389",
23
+ "content": "awsui_content_mx3cw_1a9ra_393",
24
+ "content-replacement": "awsui_content-replacement_mx3cw_1a9ra_394",
25
+ "dismiss": "awsui_dismiss_mx3cw_1a9ra_398",
26
+ "dismiss-button": "awsui_dismiss-button_mx3cw_1a9ra_403",
27
+ "type-error": "awsui_type-error_mx3cw_1a9ra_407",
28
+ "type-warning": "awsui_type-warning_mx3cw_1a9ra_415",
29
+ "type-success": "awsui_type-success_mx3cw_1a9ra_423",
30
+ "type-info": "awsui_type-info_mx3cw_1a9ra_431"
31
31
  };
32
32
 
@@ -190,10 +190,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
190
190
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
191
191
  SPDX-License-Identifier: Apache-2.0
192
192
  */
193
- .awsui_alert_mx3cw_a3sen_193:not(#\9) {
194
- animation: awsui_awsui-motion-fade-in_mx3cw_a3sen_1 var(--motion-duration-show-paced-agho9h, 180ms) var(--motion-easing-show-paced-vcekro, ease-out);
193
+ .awsui_alert_mx3cw_1a9ra_193:not(#\9) {
194
+ animation: awsui_awsui-motion-fade-in_mx3cw_1a9ra_1 var(--motion-duration-show-paced-agho9h, 180ms) var(--motion-easing-show-paced-vcekro, ease-out);
195
195
  }
196
- @keyframes awsui_awsui-motion-fade-in_mx3cw_a3sen_1 {
196
+ @keyframes awsui_awsui-motion-fade-in_mx3cw_1a9ra_1 {
197
197
  from {
198
198
  opacity: 0.2;
199
199
  }
@@ -202,17 +202,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
202
202
  }
203
203
  }
204
204
  @media (prefers-reduced-motion: reduce) {
205
- .awsui_alert_mx3cw_a3sen_193:not(#\9) {
205
+ .awsui_alert_mx3cw_1a9ra_193:not(#\9) {
206
206
  animation: none;
207
207
  transition: none;
208
208
  }
209
209
  }
210
- .awsui-motion-disabled .awsui_alert_mx3cw_a3sen_193:not(#\9), .awsui-mode-entering .awsui_alert_mx3cw_a3sen_193:not(#\9) {
210
+ .awsui-motion-disabled .awsui_alert_mx3cw_1a9ra_193:not(#\9), .awsui-mode-entering .awsui_alert_mx3cw_1a9ra_193:not(#\9) {
211
211
  animation: none;
212
212
  transition: none;
213
213
  }
214
214
 
215
- .awsui_root_mx3cw_a3sen_215:not(#\9) {
215
+ .awsui_root_mx3cw_1a9ra_215:not(#\9) {
216
216
  border-collapse: separate;
217
217
  border-spacing: 0;
218
218
  box-sizing: border-box;
@@ -247,11 +247,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
247
247
  overflow: hidden;
248
248
  display: block;
249
249
  }
250
- .awsui_root_mx3cw_a3sen_215.awsui_hidden_mx3cw_a3sen_250:not(#\9) {
250
+ .awsui_root_mx3cw_1a9ra_215.awsui_hidden_mx3cw_1a9ra_250:not(#\9) {
251
251
  display: none;
252
252
  }
253
253
 
254
- .awsui_alert_mx3cw_a3sen_193:not(#\9) {
254
+ .awsui_alert_mx3cw_1a9ra_193:not(#\9) {
255
255
  border-collapse: separate;
256
256
  border-spacing: 0;
257
257
  box-sizing: border-box;
@@ -298,7 +298,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
298
298
  --awsui-alert-focus-ring-box-shadow-6b9ypa: 0 0 0 var(--awsui-alert-focus-ring-border-width-6b9ypa, 2px) var(--awsui-alert-focus-ring-border-color-6b9ypa, var(--color-border-item-focused-r5f6xl, #0073bb));
299
299
  }
300
300
 
301
- .awsui_alert-wrapper_mx3cw_a3sen_301:not(#\9) {
301
+ .awsui_alert-wrapper_mx3cw_1a9ra_301:not(#\9) {
302
302
  flex: 1;
303
303
  display: flex;
304
304
  flex-direction: row;
@@ -306,46 +306,46 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
306
306
  column-gap: var(--space-alert-action-left-ii45xs, 20px);
307
307
  }
308
308
 
309
- .awsui_hidden_mx3cw_a3sen_250:not(#\9) {
309
+ .awsui_hidden_mx3cw_1a9ra_250:not(#\9) {
310
310
  display: none;
311
311
  }
312
312
 
313
- .awsui_initial-hidden_mx3cw_a3sen_313:not(#\9) {
313
+ .awsui_initial-hidden_mx3cw_1a9ra_313:not(#\9) {
314
314
  overflow: hidden;
315
315
  block-size: 0;
316
316
  }
317
317
 
318
- .awsui_header_mx3cw_a3sen_318:not(#\9),
319
- .awsui_header-replacement_mx3cw_a3sen_319:not(#\9) {
318
+ .awsui_header_mx3cw_1a9ra_318:not(#\9),
319
+ .awsui_header-replacement_mx3cw_1a9ra_319:not(#\9) {
320
320
  font-weight: var(--font-weight-alert-header-b68cy5, 700);
321
321
  }
322
322
 
323
- .awsui_action_mx3cw_a3sen_323:not(#\9) {
323
+ .awsui_action_mx3cw_1a9ra_323:not(#\9) {
324
324
  white-space: nowrap;
325
325
  }
326
326
 
327
- .awsui_action-slot_mx3cw_a3sen_327:not(#\9),
328
- .awsui_action-button_mx3cw_a3sen_328:not(#\9) {
327
+ .awsui_action-slot_mx3cw_1a9ra_327:not(#\9),
328
+ .awsui_action-button_mx3cw_1a9ra_328:not(#\9) {
329
329
  /* used in test-utils */
330
330
  }
331
331
 
332
- .awsui_alert-focus-wrapper_mx3cw_a3sen_332:not(#\9) {
332
+ .awsui_alert-focus-wrapper_mx3cw_1a9ra_332:not(#\9) {
333
333
  flex: 1;
334
334
  min-inline-size: 70%;
335
335
  display: grid;
336
336
  grid-template-columns: min-content auto;
337
337
  }
338
- .awsui_alert-focus-wrapper_mx3cw_a3sen_332:not(#\9):focus {
338
+ .awsui_alert-focus-wrapper_mx3cw_1a9ra_332:not(#\9):focus {
339
339
  outline: none;
340
340
  }
341
- body[data-awsui-focus-visible=true] .awsui_alert-focus-wrapper_mx3cw_a3sen_332:not(#\9):focus {
341
+ body[data-awsui-focus-visible=true] .awsui_alert-focus-wrapper_mx3cw_1a9ra_332:not(#\9):focus {
342
342
  position: relative;
343
343
  }
344
- body[data-awsui-focus-visible=true] .awsui_alert-focus-wrapper_mx3cw_a3sen_332:not(#\9):focus {
344
+ body[data-awsui-focus-visible=true] .awsui_alert-focus-wrapper_mx3cw_1a9ra_332:not(#\9):focus {
345
345
  outline: 2px dotted transparent;
346
346
  outline-offset: calc(var(--space-button-focus-outline-gutter-vsdlzg, 3px) - 1px);
347
347
  }
348
- body[data-awsui-focus-visible=true] .awsui_alert-focus-wrapper_mx3cw_a3sen_332:not(#\9):focus::before {
348
+ body[data-awsui-focus-visible=true] .awsui_alert-focus-wrapper_mx3cw_1a9ra_332:not(#\9):focus::before {
349
349
  content: " ";
350
350
  display: block;
351
351
  position: absolute;
@@ -360,78 +360,78 @@ body[data-awsui-focus-visible=true] .awsui_alert-focus-wrapper_mx3cw_a3sen_332:n
360
360
  box-shadow: var(--awsui-alert-focus-ring-box-shadow-6b9ypa);
361
361
  }
362
362
 
363
- .awsui_text_mx3cw_a3sen_363:not(#\9) {
363
+ .awsui_text_mx3cw_1a9ra_363:not(#\9) {
364
364
  min-inline-size: 0;
365
365
  padding-block: var(--border-width-button-40y1n5, 1px);
366
366
  padding-inline: 0;
367
367
  margin-block: var(--space-scaled-xxs-jatbiv, 4px);
368
368
  margin-inline: var(--space-xxs-jnczic, 4px);
369
369
  }
370
- .awsui_text_mx3cw_a3sen_363.awsui_icon_mx3cw_a3sen_370:not(#\9) {
370
+ .awsui_text_mx3cw_1a9ra_363.awsui_icon_mx3cw_1a9ra_370:not(#\9) {
371
371
  margin-inline-start: 0;
372
372
  }
373
- .awsui_text_mx3cw_a3sen_363.awsui_message_mx3cw_a3sen_373:not(#\9) {
373
+ .awsui_text_mx3cw_1a9ra_363.awsui_message_mx3cw_1a9ra_373:not(#\9) {
374
374
  margin-inline-end: var(--space-alert-message-right-ipx6aa, 0px);
375
375
  }
376
376
 
377
- .awsui_action-wrapped_mx3cw_a3sen_377:not(#\9) {
377
+ .awsui_action-wrapped_mx3cw_1a9ra_377:not(#\9) {
378
378
  margin-block-end: var(--space-xxs-jnczic, 4px);
379
379
  }
380
380
 
381
- .awsui_icon-size-medium_mx3cw_a3sen_381 > .awsui_alert-wrapper_mx3cw_a3sen_301 > .awsui_action-wrapped_mx3cw_a3sen_377:not(#\9) {
381
+ .awsui_icon-size-medium_mx3cw_1a9ra_381 > .awsui_alert-wrapper_mx3cw_1a9ra_301 > .awsui_action-wrapped_mx3cw_1a9ra_377:not(#\9) {
382
382
  margin-inline-start: calc(var(--size-icon-medium-3ovt3t, 16px) + var(--space-xs-kw7k3v, 8px));
383
383
  }
384
384
 
385
- .awsui_icon-size-big_mx3cw_a3sen_385 > .awsui_alert-wrapper_mx3cw_a3sen_301 > .awsui_action-wrapped_mx3cw_a3sen_377:not(#\9) {
385
+ .awsui_icon-size-big_mx3cw_1a9ra_385 > .awsui_alert-wrapper_mx3cw_1a9ra_301 > .awsui_action-wrapped_mx3cw_1a9ra_377:not(#\9) {
386
386
  margin-inline-start: calc(var(--size-icon-big-hnqj8f, 32px) + var(--space-xs-kw7k3v, 8px));
387
387
  }
388
388
 
389
- .awsui_icon-size-normal_mx3cw_a3sen_389 > .awsui_alert-wrapper_mx3cw_a3sen_301 > .awsui_action-wrapped_mx3cw_a3sen_377:not(#\9) {
389
+ .awsui_icon-size-normal_mx3cw_1a9ra_389 > .awsui_alert-wrapper_mx3cw_1a9ra_301 > .awsui_action-wrapped_mx3cw_1a9ra_377:not(#\9) {
390
390
  margin-inline-start: calc(var(--size-icon-normal-2f5zkr, 16px) + var(--space-xs-kw7k3v, 8px));
391
391
  }
392
392
 
393
- .awsui_content_mx3cw_a3sen_393:not(#\9),
394
- .awsui_content-replacement_mx3cw_a3sen_394:not(#\9) {
393
+ .awsui_content_mx3cw_1a9ra_393:not(#\9),
394
+ .awsui_content-replacement_mx3cw_1a9ra_394:not(#\9) {
395
395
  /* used in test-utils */
396
396
  }
397
397
 
398
- .awsui_dismiss_mx3cw_a3sen_398:not(#\9) {
398
+ .awsui_dismiss_mx3cw_1a9ra_398:not(#\9) {
399
399
  margin-inline-end: calc(-1 * var(--space-xxs-jnczic, 4px));
400
400
  margin-inline-start: var(--space-s-4a5hs8, 12px);
401
401
  }
402
402
 
403
- .awsui_dismiss-button_mx3cw_a3sen_403:not(#\9) {
403
+ .awsui_dismiss-button_mx3cw_1a9ra_403:not(#\9) {
404
404
  /* used in test-utils */
405
405
  }
406
406
 
407
- .awsui_type-error_mx3cw_a3sen_407:not(#\9) {
407
+ .awsui_type-error_mx3cw_1a9ra_407:not(#\9) {
408
408
  border-color: var(--color-border-status-error-jybbdz, #d13212);
409
409
  background-color: var(--color-background-status-error-5i5ikf, #fdf3f1);
410
410
  }
411
- .awsui_type-error_mx3cw_a3sen_407 > .awsui_alert-wrapper_mx3cw_a3sen_301 > .awsui_alert-focus-wrapper_mx3cw_a3sen_332 > .awsui_icon_mx3cw_a3sen_370:not(#\9) {
412
- color: var(--awsui-alert-icon-color-6b9ypa, var(--color-text-status-error-aknuvu, #d13212));
411
+ .awsui_type-error_mx3cw_1a9ra_407 > .awsui_alert-wrapper_mx3cw_1a9ra_301 > .awsui_alert-focus-wrapper_mx3cw_1a9ra_332 > .awsui_icon_mx3cw_1a9ra_370:not(#\9) {
412
+ color: var(--awsui-alert-icon-color-6b9ypa, var(--color-text-status-error-c3at5p, #d13212));
413
413
  }
414
414
 
415
- .awsui_type-warning_mx3cw_a3sen_415:not(#\9) {
415
+ .awsui_type-warning_mx3cw_1a9ra_415:not(#\9) {
416
416
  border-color: var(--color-border-status-warning-qmz1c4, #906806);
417
417
  background-color: var(--color-background-status-warning-mvw8w7, #fffef0);
418
418
  }
419
- .awsui_type-warning_mx3cw_a3sen_415 > .awsui_alert-wrapper_mx3cw_a3sen_301 > .awsui_alert-focus-wrapper_mx3cw_a3sen_332 > .awsui_icon_mx3cw_a3sen_370:not(#\9) {
420
- color: var(--awsui-alert-icon-color-6b9ypa, var(--color-text-status-warning-9b45qh, #906806));
419
+ .awsui_type-warning_mx3cw_1a9ra_415 > .awsui_alert-wrapper_mx3cw_1a9ra_301 > .awsui_alert-focus-wrapper_mx3cw_1a9ra_332 > .awsui_icon_mx3cw_1a9ra_370:not(#\9) {
420
+ color: var(--awsui-alert-icon-color-6b9ypa, var(--color-text-status-warning-08d9ki, #906806));
421
421
  }
422
422
 
423
- .awsui_type-success_mx3cw_a3sen_423:not(#\9) {
423
+ .awsui_type-success_mx3cw_1a9ra_423:not(#\9) {
424
424
  border-color: var(--color-border-status-success-e61wev, #1d8102);
425
425
  background-color: var(--color-background-status-success-tkxjye, #f2f8f0);
426
426
  }
427
- .awsui_type-success_mx3cw_a3sen_423 > .awsui_alert-wrapper_mx3cw_a3sen_301 > .awsui_alert-focus-wrapper_mx3cw_a3sen_332 > .awsui_icon_mx3cw_a3sen_370:not(#\9) {
428
- color: var(--awsui-alert-icon-color-6b9ypa, var(--color-text-status-success-yodf3z, #1d8102));
427
+ .awsui_type-success_mx3cw_1a9ra_423 > .awsui_alert-wrapper_mx3cw_1a9ra_301 > .awsui_alert-focus-wrapper_mx3cw_1a9ra_332 > .awsui_icon_mx3cw_1a9ra_370:not(#\9) {
428
+ color: var(--awsui-alert-icon-color-6b9ypa, var(--color-text-status-success-ya1ikb, #1d8102));
429
429
  }
430
430
 
431
- .awsui_type-info_mx3cw_a3sen_431:not(#\9) {
431
+ .awsui_type-info_mx3cw_1a9ra_431:not(#\9) {
432
432
  border-color: var(--color-border-status-info-kp0iif, #0073bb);
433
433
  background-color: var(--color-background-status-info-nzp1n3, #f1faff);
434
434
  }
435
- .awsui_type-info_mx3cw_a3sen_431 > .awsui_alert-wrapper_mx3cw_a3sen_301 > .awsui_alert-focus-wrapper_mx3cw_a3sen_332 > .awsui_icon_mx3cw_a3sen_370:not(#\9) {
436
- color: var(--awsui-alert-icon-color-6b9ypa, var(--color-text-status-info-xt2ka7, #0073bb));
435
+ .awsui_type-info_mx3cw_1a9ra_431 > .awsui_alert-wrapper_mx3cw_1a9ra_301 > .awsui_alert-focus-wrapper_mx3cw_1a9ra_332 > .awsui_icon_mx3cw_1a9ra_370:not(#\9) {
436
+ color: var(--awsui-alert-icon-color-6b9ypa, var(--color-text-status-info-5vpe5d, #0073bb));
437
437
  }
@@ -2,32 +2,32 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "alert": "awsui_alert_mx3cw_a3sen_193",
6
- "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_mx3cw_a3sen_1",
7
- "root": "awsui_root_mx3cw_a3sen_215",
8
- "hidden": "awsui_hidden_mx3cw_a3sen_250",
9
- "alert-wrapper": "awsui_alert-wrapper_mx3cw_a3sen_301",
10
- "initial-hidden": "awsui_initial-hidden_mx3cw_a3sen_313",
11
- "header": "awsui_header_mx3cw_a3sen_318",
12
- "header-replacement": "awsui_header-replacement_mx3cw_a3sen_319",
13
- "action": "awsui_action_mx3cw_a3sen_323",
14
- "action-slot": "awsui_action-slot_mx3cw_a3sen_327",
15
- "action-button": "awsui_action-button_mx3cw_a3sen_328",
16
- "alert-focus-wrapper": "awsui_alert-focus-wrapper_mx3cw_a3sen_332",
17
- "text": "awsui_text_mx3cw_a3sen_363",
18
- "icon": "awsui_icon_mx3cw_a3sen_370",
19
- "message": "awsui_message_mx3cw_a3sen_373",
20
- "action-wrapped": "awsui_action-wrapped_mx3cw_a3sen_377",
21
- "icon-size-medium": "awsui_icon-size-medium_mx3cw_a3sen_381",
22
- "icon-size-big": "awsui_icon-size-big_mx3cw_a3sen_385",
23
- "icon-size-normal": "awsui_icon-size-normal_mx3cw_a3sen_389",
24
- "content": "awsui_content_mx3cw_a3sen_393",
25
- "content-replacement": "awsui_content-replacement_mx3cw_a3sen_394",
26
- "dismiss": "awsui_dismiss_mx3cw_a3sen_398",
27
- "dismiss-button": "awsui_dismiss-button_mx3cw_a3sen_403",
28
- "type-error": "awsui_type-error_mx3cw_a3sen_407",
29
- "type-warning": "awsui_type-warning_mx3cw_a3sen_415",
30
- "type-success": "awsui_type-success_mx3cw_a3sen_423",
31
- "type-info": "awsui_type-info_mx3cw_a3sen_431"
5
+ "alert": "awsui_alert_mx3cw_1a9ra_193",
6
+ "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_mx3cw_1a9ra_1",
7
+ "root": "awsui_root_mx3cw_1a9ra_215",
8
+ "hidden": "awsui_hidden_mx3cw_1a9ra_250",
9
+ "alert-wrapper": "awsui_alert-wrapper_mx3cw_1a9ra_301",
10
+ "initial-hidden": "awsui_initial-hidden_mx3cw_1a9ra_313",
11
+ "header": "awsui_header_mx3cw_1a9ra_318",
12
+ "header-replacement": "awsui_header-replacement_mx3cw_1a9ra_319",
13
+ "action": "awsui_action_mx3cw_1a9ra_323",
14
+ "action-slot": "awsui_action-slot_mx3cw_1a9ra_327",
15
+ "action-button": "awsui_action-button_mx3cw_1a9ra_328",
16
+ "alert-focus-wrapper": "awsui_alert-focus-wrapper_mx3cw_1a9ra_332",
17
+ "text": "awsui_text_mx3cw_1a9ra_363",
18
+ "icon": "awsui_icon_mx3cw_1a9ra_370",
19
+ "message": "awsui_message_mx3cw_1a9ra_373",
20
+ "action-wrapped": "awsui_action-wrapped_mx3cw_1a9ra_377",
21
+ "icon-size-medium": "awsui_icon-size-medium_mx3cw_1a9ra_381",
22
+ "icon-size-big": "awsui_icon-size-big_mx3cw_1a9ra_385",
23
+ "icon-size-normal": "awsui_icon-size-normal_mx3cw_1a9ra_389",
24
+ "content": "awsui_content_mx3cw_1a9ra_393",
25
+ "content-replacement": "awsui_content-replacement_mx3cw_1a9ra_394",
26
+ "dismiss": "awsui_dismiss_mx3cw_1a9ra_398",
27
+ "dismiss-button": "awsui_dismiss-button_mx3cw_1a9ra_403",
28
+ "type-error": "awsui_type-error_mx3cw_1a9ra_407",
29
+ "type-warning": "awsui_type-warning_mx3cw_1a9ra_415",
30
+ "type-success": "awsui_type-success_mx3cw_1a9ra_423",
31
+ "type-info": "awsui_type-info_mx3cw_1a9ra_431"
32
32
  };
33
33
 
@@ -136,7 +136,7 @@ export declare namespace BoxProps {
136
136
  type Display = 'block' | 'inline' | 'inline-block' | 'none';
137
137
  type TextAlign = 'left' | 'center' | 'right';
138
138
  type Float = 'left' | 'right';
139
- type FontSize = 'body-s' | 'body-m' | 'heading-xs' | 'heading-s' | 'heading-m' | 'heading-l' | 'heading-xl' | 'display-l';
139
+ type FontSize = 'body-s' | 'body-m' | 'heading-xs' | 'heading-s' | 'heading-m' | 'heading-l' | 'heading-xl' | 'display-l' | 'display-xl';
140
140
  type FontWeight = 'light' | 'normal' | 'bold' | 'heavy';
141
141
  type Color = 'inherit' | 'text-label' | 'text-body-secondary' | 'text-status-error' | 'text-status-success' | 'text-status-info' | 'text-status-inactive' | 'text-status-warning';
142
142
  type SpacingSize = 'n' | 'xxxs' | 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | 'xxxl';
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/box/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,MAAM,WAAW,QAAS,SAAQ,kBAAkB;IAClD;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC;IAC3B;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,MAAM,CAAC,EAAE,QAAQ,CAAC,WAAW,GAAG,QAAQ,CAAC,OAAO,CAAC;IACjD;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC,WAAW,GAAG,QAAQ,CAAC,OAAO,CAAC;IAClD;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,CAAC,SAAS,CAAC;IAC/B;;OAEG;IACH,KA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