@cloudscape-design/components-themeable 3.0.1210 → 3.0.1211

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 (198) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/internal/components/dropdown/styles.scss +3 -2
  3. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +140 -139
  4. package/lib/internal/template/alert/interfaces.d.ts +2 -0
  5. package/lib/internal/template/alert/interfaces.d.ts.map +1 -1
  6. package/lib/internal/template/alert/interfaces.js.map +1 -1
  7. package/lib/internal/template/alert/styles.css.js +27 -27
  8. package/lib/internal/template/alert/styles.scoped.css +50 -50
  9. package/lib/internal/template/alert/styles.selectors.js +27 -27
  10. package/lib/internal/template/annotation-context/annotation/styles.css.js +13 -13
  11. package/lib/internal/template/annotation-context/annotation/styles.scoped.css +21 -21
  12. package/lib/internal/template/annotation-context/annotation/styles.selectors.js +13 -13
  13. package/lib/internal/template/app-layout/notifications/styles.css.js +3 -3
  14. package/lib/internal/template/app-layout/notifications/styles.scoped.css +7 -7
  15. package/lib/internal/template/app-layout/notifications/styles.selectors.js +3 -3
  16. package/lib/internal/template/app-layout/visual-refresh/styles.css.js +86 -86
  17. package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +258 -258
  18. package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +86 -86
  19. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.css.js +30 -30
  20. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +87 -87
  21. package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +30 -30
  22. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.css.js +4 -4
  23. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +7 -7
  24. package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +4 -4
  25. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +27 -27
  26. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +54 -54
  27. package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +27 -27
  28. package/lib/internal/template/attribute-editor/styles.css.js +15 -15
  29. package/lib/internal/template/attribute-editor/styles.scoped.css +28 -28
  30. package/lib/internal/template/attribute-editor/styles.selectors.js +15 -15
  31. package/lib/internal/template/autosuggest/interfaces.d.ts +2 -0
  32. package/lib/internal/template/autosuggest/interfaces.d.ts.map +1 -1
  33. package/lib/internal/template/autosuggest/interfaces.js.map +1 -1
  34. package/lib/internal/template/badge/interfaces.d.ts +2 -0
  35. package/lib/internal/template/badge/interfaces.d.ts.map +1 -1
  36. package/lib/internal/template/badge/interfaces.js.map +1 -1
  37. package/lib/internal/template/breadcrumb-group/item/styles.css.js +7 -7
  38. package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +28 -28
  39. package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +7 -7
  40. package/lib/internal/template/button/interfaces.d.ts +2 -0
  41. package/lib/internal/template/button/interfaces.d.ts.map +1 -1
  42. package/lib/internal/template/button/interfaces.js.map +1 -1
  43. package/lib/internal/template/button/styles.css.js +22 -22
  44. package/lib/internal/template/button/styles.scoped.css +256 -256
  45. package/lib/internal/template/button/styles.selectors.js +22 -22
  46. package/lib/internal/template/button-dropdown/category-elements/expandable-category-element.js +1 -1
  47. package/lib/internal/template/button-dropdown/category-elements/expandable-category-element.js.map +1 -1
  48. package/lib/internal/template/button-dropdown/internal.d.ts.map +1 -1
  49. package/lib/internal/template/button-dropdown/internal.js +1 -1
  50. package/lib/internal/template/button-dropdown/internal.js.map +1 -1
  51. package/lib/internal/template/button-dropdown/item-element/styles.css.js +21 -21
  52. package/lib/internal/template/button-dropdown/item-element/styles.scoped.css +37 -37
  53. package/lib/internal/template/button-dropdown/item-element/styles.selectors.js +21 -21
  54. package/lib/internal/template/button-group/interfaces.d.ts +2 -0
  55. package/lib/internal/template/button-group/interfaces.d.ts.map +1 -1
  56. package/lib/internal/template/button-group/interfaces.js.map +1 -1
  57. package/lib/internal/template/checkbox/interfaces.d.ts +2 -0
  58. package/lib/internal/template/checkbox/interfaces.d.ts.map +1 -1
  59. package/lib/internal/template/checkbox/interfaces.js.map +1 -1
  60. package/lib/internal/template/checkbox/styles.css.js +3 -3
  61. package/lib/internal/template/checkbox/styles.scoped.css +11 -11
  62. package/lib/internal/template/checkbox/styles.selectors.js +3 -3
  63. package/lib/internal/template/container/interfaces.d.ts +2 -0
  64. package/lib/internal/template/container/interfaces.d.ts.map +1 -1
  65. package/lib/internal/template/container/interfaces.js.map +1 -1
  66. package/lib/internal/template/content-layout/styles.css.js +14 -14
  67. package/lib/internal/template/content-layout/styles.scoped.css +27 -27
  68. package/lib/internal/template/content-layout/styles.selectors.js +14 -14
  69. package/lib/internal/template/date-picker/index.d.ts.map +1 -1
  70. package/lib/internal/template/date-picker/index.js +1 -1
  71. package/lib/internal/template/date-picker/index.js.map +1 -1
  72. package/lib/internal/template/date-range-picker/index.d.ts.map +1 -1
  73. package/lib/internal/template/date-range-picker/index.js +1 -1
  74. package/lib/internal/template/date-range-picker/index.js.map +1 -1
  75. package/lib/internal/template/flashbar/interfaces.d.ts +2 -0
  76. package/lib/internal/template/flashbar/interfaces.d.ts.map +1 -1
  77. package/lib/internal/template/flashbar/interfaces.js.map +1 -1
  78. package/lib/internal/template/flashbar/styles.css.js +50 -50
  79. package/lib/internal/template/flashbar/styles.scoped.css +187 -187
  80. package/lib/internal/template/flashbar/styles.selectors.js +50 -50
  81. package/lib/internal/template/help-panel/styles.css.js +6 -6
  82. package/lib/internal/template/help-panel/styles.scoped.css +73 -73
  83. package/lib/internal/template/help-panel/styles.selectors.js +6 -6
  84. package/lib/internal/template/input/interfaces.d.ts +2 -0
  85. package/lib/internal/template/input/interfaces.d.ts.map +1 -1
  86. package/lib/internal/template/input/interfaces.js.map +1 -1
  87. package/lib/internal/template/input/styles.css.js +13 -13
  88. package/lib/internal/template/input/styles.scoped.css +74 -74
  89. package/lib/internal/template/input/styles.selectors.js +13 -13
  90. package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
  91. package/lib/internal/template/internal/components/autosuggest-input/index.d.ts.map +1 -1
  92. package/lib/internal/template/internal/components/autosuggest-input/index.js +2 -1
  93. package/lib/internal/template/internal/components/autosuggest-input/index.js.map +1 -1
  94. package/lib/internal/template/internal/components/drag-handle-wrapper/styles.css.js +30 -30
  95. package/lib/internal/template/internal/components/drag-handle-wrapper/styles.scoped.css +58 -58
  96. package/lib/internal/template/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
  97. package/lib/internal/template/internal/components/dropdown/dropdown-fit-handler.d.ts +9 -9
  98. package/lib/internal/template/internal/components/dropdown/dropdown-fit-handler.d.ts.map +1 -1
  99. package/lib/internal/template/internal/components/dropdown/dropdown-fit-handler.js +22 -23
  100. package/lib/internal/template/internal/components/dropdown/dropdown-fit-handler.js.map +1 -1
  101. package/lib/internal/template/internal/components/dropdown/dropdown-position.d.ts.map +1 -1
  102. package/lib/internal/template/internal/components/dropdown/dropdown-position.js +4 -1
  103. package/lib/internal/template/internal/components/dropdown/dropdown-position.js.map +1 -1
  104. package/lib/internal/template/internal/components/dropdown/index.d.ts +1 -1
  105. package/lib/internal/template/internal/components/dropdown/index.d.ts.map +1 -1
  106. package/lib/internal/template/internal/components/dropdown/index.js +52 -30
  107. package/lib/internal/template/internal/components/dropdown/index.js.map +1 -1
  108. package/lib/internal/template/internal/components/dropdown/interfaces.d.ts +20 -14
  109. package/lib/internal/template/internal/components/dropdown/interfaces.d.ts.map +1 -1
  110. package/lib/internal/template/internal/components/dropdown/interfaces.js.map +1 -1
  111. package/lib/internal/template/internal/components/dropdown/styles.css.js +20 -20
  112. package/lib/internal/template/internal/components/dropdown/styles.scoped.css +39 -38
  113. package/lib/internal/template/internal/components/dropdown/styles.selectors.js +20 -20
  114. package/lib/internal/template/internal/components/radio-button/interfaces.d.ts +2 -0
  115. package/lib/internal/template/internal/components/radio-button/interfaces.d.ts.map +1 -1
  116. package/lib/internal/template/internal/components/radio-button/interfaces.js.map +1 -1
  117. package/lib/internal/template/internal/components/radio-button/styles.css.js +7 -7
  118. package/lib/internal/template/internal/components/radio-button/styles.scoped.css +18 -18
  119. package/lib/internal/template/internal/components/radio-button/styles.selectors.js +7 -7
  120. package/lib/internal/template/internal/components/token-list/styles.css.js +10 -10
  121. package/lib/internal/template/internal/components/token-list/styles.scoped.css +25 -25
  122. package/lib/internal/template/internal/components/token-list/styles.selectors.js +10 -10
  123. package/lib/internal/template/internal/environment.js +2 -2
  124. package/lib/internal/template/internal/environment.json +2 -2
  125. package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts +1 -0
  126. package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts.map +1 -1
  127. package/lib/internal/template/internal/generated/custom-css-properties/index.js +139 -138
  128. package/lib/internal/template/internal/generated/custom-css-properties/index.js.map +1 -1
  129. package/lib/internal/template/link/interfaces.d.ts +2 -0
  130. package/lib/internal/template/link/interfaces.d.ts.map +1 -1
  131. package/lib/internal/template/link/interfaces.js.map +1 -1
  132. package/lib/internal/template/link/styles.css.js +20 -20
  133. package/lib/internal/template/link/styles.scoped.css +103 -103
  134. package/lib/internal/template/link/styles.selectors.js +20 -20
  135. package/lib/internal/template/multiselect/internal.d.ts.map +1 -1
  136. package/lib/internal/template/multiselect/internal.js +2 -1
  137. package/lib/internal/template/multiselect/internal.js.map +1 -1
  138. package/lib/internal/template/progress-bar/interfaces.d.ts +2 -0
  139. package/lib/internal/template/progress-bar/interfaces.d.ts.map +1 -1
  140. package/lib/internal/template/progress-bar/interfaces.js.map +1 -1
  141. package/lib/internal/template/progress-bar/styles.css.js +18 -18
  142. package/lib/internal/template/progress-bar/styles.scoped.css +48 -48
  143. package/lib/internal/template/progress-bar/styles.selectors.js +18 -18
  144. package/lib/internal/template/prompt-input/interfaces.d.ts +2 -0
  145. package/lib/internal/template/prompt-input/interfaces.d.ts.map +1 -1
  146. package/lib/internal/template/prompt-input/interfaces.js.map +1 -1
  147. package/lib/internal/template/prompt-input/styles.css.js +17 -17
  148. package/lib/internal/template/prompt-input/styles.scoped.css +79 -79
  149. package/lib/internal/template/prompt-input/styles.selectors.js +17 -17
  150. package/lib/internal/template/radio-group/interfaces.d.ts +2 -0
  151. package/lib/internal/template/radio-group/interfaces.d.ts.map +1 -1
  152. package/lib/internal/template/radio-group/interfaces.js.map +1 -1
  153. package/lib/internal/template/segmented-control/interfaces.d.ts +2 -0
  154. package/lib/internal/template/segmented-control/interfaces.d.ts.map +1 -1
  155. package/lib/internal/template/segmented-control/interfaces.js.map +1 -1
  156. package/lib/internal/template/segmented-control/styles.css.js +16 -16
  157. package/lib/internal/template/segmented-control/styles.scoped.css +46 -46
  158. package/lib/internal/template/segmented-control/styles.selectors.js +16 -16
  159. package/lib/internal/template/select/internal.d.ts.map +1 -1
  160. package/lib/internal/template/select/internal.js +2 -1
  161. package/lib/internal/template/select/internal.js.map +1 -1
  162. package/lib/internal/template/slider/interfaces.d.ts +2 -0
  163. package/lib/internal/template/slider/interfaces.d.ts.map +1 -1
  164. package/lib/internal/template/slider/interfaces.js.map +1 -1
  165. package/lib/internal/template/slider/styles.css.js +26 -26
  166. package/lib/internal/template/slider/styles.scoped.css +165 -165
  167. package/lib/internal/template/slider/styles.selectors.js +26 -26
  168. package/lib/internal/template/spinner/styles.css.js +13 -13
  169. package/lib/internal/template/spinner/styles.scoped.css +39 -39
  170. package/lib/internal/template/spinner/styles.selectors.js +13 -13
  171. package/lib/internal/template/tabs/interfaces.d.ts +2 -0
  172. package/lib/internal/template/tabs/interfaces.d.ts.map +1 -1
  173. package/lib/internal/template/tabs/interfaces.js.map +1 -1
  174. package/lib/internal/template/tabs/styles.css.js +30 -30
  175. package/lib/internal/template/tabs/styles.scoped.css +76 -76
  176. package/lib/internal/template/tabs/styles.selectors.js +30 -30
  177. package/lib/internal/template/tag-editor/styles.css.js +3 -3
  178. package/lib/internal/template/tag-editor/styles.scoped.css +13 -13
  179. package/lib/internal/template/tag-editor/styles.selectors.js +3 -3
  180. package/lib/internal/template/text-content/styles.css.js +1 -1
  181. package/lib/internal/template/text-content/styles.scoped.css +66 -66
  182. package/lib/internal/template/text-content/styles.selectors.js +1 -1
  183. package/lib/internal/template/text-filter/interfaces.d.ts +2 -0
  184. package/lib/internal/template/text-filter/interfaces.d.ts.map +1 -1
  185. package/lib/internal/template/text-filter/interfaces.js.map +1 -1
  186. package/lib/internal/template/textarea/interfaces.d.ts +2 -0
  187. package/lib/internal/template/textarea/interfaces.d.ts.map +1 -1
  188. package/lib/internal/template/textarea/interfaces.js.map +1 -1
  189. package/lib/internal/template/textarea/styles.css.js +5 -5
  190. package/lib/internal/template/textarea/styles.scoped.css +45 -45
  191. package/lib/internal/template/textarea/styles.selectors.js +5 -5
  192. package/lib/internal/template/toggle/interfaces.d.ts +2 -0
  193. package/lib/internal/template/toggle/interfaces.d.ts.map +1 -1
  194. package/lib/internal/template/toggle/interfaces.js.map +1 -1
  195. package/lib/internal/template/toggle/styles.css.js +10 -10
  196. package/lib/internal/template/toggle/styles.scoped.css +23 -23
  197. package/lib/internal/template/toggle/styles.selectors.js +10 -10
  198. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "62db9d6a7c80ebd09b4ff146b52cf6c91b9beedc"
2
+ "commit": "87a3e478da1a7d4664430a1b93c7fe64a3c522c5"
3
3
  }
@@ -73,9 +73,10 @@
73
73
  &.occupy-entire-width {
74
74
  min-inline-size: 100%;
75
75
  }
76
- &.stretch-beyond-trigger-width {
76
+ &.use-flexible-width {
77
77
  inline-size: max-content;
78
- max-inline-size: var(#{custom-props.$dropdownDefaultMaxWidth}, 100%);
78
+ max-inline-size: var(#{custom-props.$dropdownDefaultMaxWidth}, none);
79
+ min-inline-size: var(#{custom-props.$dropdownDefaultMinWidth}, auto);
79
80
  }
80
81
  &.interior > .dropdown-content-wrapper {
81
82
  margin-block-start: -1px;
@@ -1,143 +1,144 @@
1
1
 
2
2
  // Build environment
3
- $awsui-commit-hash: "62db9d6a";
3
+ $awsui-commit-hash: "87a3e478";
4
4
  // Manually managed CSS-variables
5
- $maxContentWidth: --awsui-max-content-width-4hh3rt;
6
- $minContentWidth: --awsui-min-content-width-4hh3rt;
7
- $breadcrumbsGap: --awsui-breadcrumbs-gap-4hh3rt;
8
- $contentGapLeft: --awsui-content-gap-left-4hh3rt;
9
- $contentGapRight: --awsui-content-gap-right-4hh3rt;
10
- $contentHeight: --awsui-content-height-4hh3rt;
11
- $contentLayoutDefaultHorizontalPadding: --awsui-content-layout-default-horizontal-padding-4hh3rt;
12
- $contentLayoutMaxContentWidth: --awsui-content-layout-max-content-width-4hh3rt;
13
- $contentLayoutMainGap: --awsui-content-layout-main-gap-4hh3rt;
14
- $defaultMaxContentWidth: --awsui-default-max-content-width-4hh3rt;
15
- $defaultMinContentWidth: --awsui-default-min-content-width-4hh3rt;
16
- $drawerSize: --awsui-drawer-size-4hh3rt;
17
- $drawerMinSize: --awsui-drawer-min-size-4hh3rt;
18
- $bottomDrawerSize: --awsui-bottom-drawer-size-4hh3rt;
19
- $footerHeight: --awsui-footer-height-4hh3rt;
20
- $headerGap: --awsui-header-gap-4hh3rt;
21
- $headerHeight: --awsui-header-height-4hh3rt;
22
- $layoutWidth: --awsui-layout-width-4hh3rt;
23
- $mainGap: --awsui-main-gap-4hh3rt;
24
- $mainOffsetLeft: --awsui-main-offset-left-4hh3rt;
25
- $mainTemplateRows: --awsui-main-template-rows-4hh3rt;
26
- $mobileBarHeight: --awsui-mobile-bar-height-4hh3rt;
27
- $notificationsHeight: --awsui-notifications-height-4hh3rt;
28
- $offsetTop: --awsui-offset-top-4hh3rt;
29
- $overlapHeight: --awsui-overlap-height-4hh3rt;
30
- $navigationWidth: --awsui-navigation-width-4hh3rt;
31
- $splitPanelReportedHeaderSize: --awsui-split-panel-reported-header-size-4hh3rt;
32
- $splitPanelReportedSize: --awsui-split-panel-reported-size-4hh3rt;
33
- $splitPanelHeight: --awsui-split-panel-height-4hh3rt;
34
- $splitPanelMinWidth: --awsui-split-panel-min-width-4hh3rt;
35
- $splitPanelMaxWidth: --awsui-split-panel-max-width-4hh3rt;
36
- $toolsMaxWidth: --awsui-tools-max-width-4hh3rt;
37
- $toolsWidth: --awsui-tools-width-4hh3rt;
38
- $toolsAnimationStartingOpacity: --awsui-tools-animation-starting-opacity-4hh3rt;
39
- $contentScrollMargin: --awsui-content-scroll-margin-4hh3rt;
40
- $flashbarStackDepth: --awsui-flashbar-stack-depth-4hh3rt;
41
- $flashbarStackIndex: --awsui-flashbar-stack-index-4hh3rt;
42
- $flashbarStickyBottomMargin: --awsui-flashbar-sticky-bottom-margin-4hh3rt;
43
- $stackedNotificationsBottomMargin: --awsui-stacked-notifications-bottom-margin-4hh3rt;
44
- $stackedNotificationsDefaultBottomMargin: --awsui-stacked-notifications-default-bottom-margin-4hh3rt;
45
- $dropdownDefaultMaxWidth: --awsui-dropdown-default-max-width-4hh3rt;
46
- $spinnerRotatorFrom: --awsui-spinner-rotator-from-4hh3rt;
47
- $spinnerRotatorTo: --awsui-spinner-rotator-to-4hh3rt;
48
- $spinnerLineLeftFrom: --awsui-spinner-line-left-from-4hh3rt;
49
- $spinnerLineLeftTo: --awsui-spinner-line-left-to-4hh3rt;
50
- $spinnerLineRightFrom: --awsui-spinner-line-right-from-4hh3rt;
51
- $spinnerLineRightTo: --awsui-spinner-line-right-to-4hh3rt;
52
- $sliderLabelCount: --awsui-slider-label-count-4hh3rt;
53
- $sliderTickCount: --awsui-slider-tick-count-4hh3rt;
54
- $sliderReferenceColumn: --awsui-slider-reference-column-4hh3rt;
55
- $sliderNextReferenceColumn: --awsui-slider-next-reference-column-4hh3rt;
56
- $sliderMaxStart: --awsui-slider-max-start-4hh3rt;
57
- $sliderMinEnd: --awsui-slider-min-end-4hh3rt;
58
- $sliderRangeInlineSize: --awsui-slider-range-inline-size-4hh3rt;
59
- $sliderTooltipPosition: --awsui-slider-tooltip-position-4hh3rt;
60
- $togglesLeftWidth: --awsui-toggles-left-width-4hh3rt;
61
- $togglesRightWidth: --awsui-toggles-right-width-4hh3rt;
62
- $promptInputMaxRows: --awsui-prompt-input-max-rows-4hh3rt;
63
- $promptInputScrollHeight: --awsui-prompt-input-scroll-height-4hh3rt;
64
- $dragHandleAnimationInlineOffset: --awsui-drag-handle-animation-inline-offset-4hh3rt;
65
- $dragHandleAnimationBlockOffset: --awsui-drag-handle-animation-block-offset-4hh3rt;
66
- $styleBackgroundActive: --awsui-style-background-active-4hh3rt;
67
- $styleBackgroundDefault: --awsui-style-background-default-4hh3rt;
68
- $styleBackgroundDisabled: --awsui-style-background-disabled-4hh3rt;
69
- $styleBackgroundHover: --awsui-style-background-hover-4hh3rt;
70
- $styleBorderColorActive: --awsui-style-border-color-active-4hh3rt;
71
- $styleBorderColorDefault: --awsui-style-border-color-default-4hh3rt;
72
- $styleBorderColorDisabled: --awsui-style-border-color-disabled-4hh3rt;
73
- $styleBorderColorHover: --awsui-style-border-color-hover-4hh3rt;
74
- $styleColorActive: --awsui-style-color-active-4hh3rt;
75
- $styleColorDefault: --awsui-style-color-default-4hh3rt;
76
- $styleColorDisabled: --awsui-style-color-disabled-4hh3rt;
77
- $styleColorHover: --awsui-style-color-hover-4hh3rt;
78
- $styleFocusRingBorderColor: --awsui-style-focus-ring-border-color-4hh3rt;
79
- $styleFocusRingBorderRadius: --awsui-style-focus-ring-border-radius-4hh3rt;
80
- $styleFocusRingBorderWidth: --awsui-style-focus-ring-border-width-4hh3rt;
81
- $styleFocusRingBoxShadow: --awsui-style-focus-ring-box-shadow-4hh3rt;
82
- $styleBoxShadowActive: --awsui-style-box-shadow-active-4hh3rt;
83
- $styleBoxShadowDefault: --awsui-style-box-shadow-default-4hh3rt;
84
- $styleBoxShadowDisabled: --awsui-style-box-shadow-disabled-4hh3rt;
85
- $styleBoxShadowHover: --awsui-style-box-shadow-hover-4hh3rt;
86
- $styleBackgroundReadonly: --awsui-style-background-readonly-4hh3rt;
87
- $styleBorderColorReadonly: --awsui-style-border-color-readonly-4hh3rt;
88
- $styleBoxShadowReadonly: --awsui-style-box-shadow-readonly-4hh3rt;
89
- $styleColorReadonly: --awsui-style-color-readonly-4hh3rt;
90
- $styleBackgroundFocus: --awsui-style-background-focus-4hh3rt;
91
- $styleBorderColorFocus: --awsui-style-border-color-focus-4hh3rt;
92
- $styleBoxShadowFocus: --awsui-style-box-shadow-focus-4hh3rt;
93
- $styleColorFocus: --awsui-style-color-focus-4hh3rt;
94
- $stylePlaceholderColor: --awsui-style-placeholder-color-4hh3rt;
95
- $stylePlaceholderFontSize: --awsui-style-placeholder-font-size-4hh3rt;
96
- $stylePlaceholderFontStyle: --awsui-style-placeholder-font-style-4hh3rt;
97
- $stylePlaceholderFontWeight: --awsui-style-placeholder-font-weight-4hh3rt;
98
- $styleTabsActiveIndicatorColor: --awsui-style-tabs-active-indicator-color-4hh3rt;
99
- $styleTabsActiveIndicatorWidth: --awsui-style-tabs-active-indicator-width-4hh3rt;
100
- $styleTabsActiveIndicatorBorderRadius: --awsui-style-tabs-active-indicator-border-radius-4hh3rt;
101
- $styleTabsSeparatorColor: --awsui-style-tabs-separator-color-4hh3rt;
102
- $styleTabsSeparatorWidth: --awsui-style-tabs-separator-width-4hh3rt;
103
- $alertFocusRingBorderColor: --awsui-alert-focus-ring-border-color-4hh3rt;
104
- $alertFocusRingBorderRadius: --awsui-alert-focus-ring-border-radius-4hh3rt;
105
- $alertFocusRingBorderWidth: --awsui-alert-focus-ring-border-width-4hh3rt;
106
- $alertFocusRingBoxShadow: --awsui-alert-focus-ring-box-shadow-4hh3rt;
107
- $alertIconColor: --awsui-alert-icon-color-4hh3rt;
108
- $promptInputStyleBackgroundDefault: --awsui-prompt-input-style-background-default-4hh3rt;
109
- $promptInputStyleBackgroundDisabled: --awsui-prompt-input-style-background-disabled-4hh3rt;
110
- $promptInputStyleBackgroundFocus: --awsui-prompt-input-style-background-focus-4hh3rt;
111
- $promptInputStyleBackgroundHover: --awsui-prompt-input-style-background-hover-4hh3rt;
112
- $promptInputStyleBackgroundReadonly: --awsui-prompt-input-style-background-readonly-4hh3rt;
113
- $promptInputStyleBorderColorDefault: --awsui-prompt-input-style-border-color-default-4hh3rt;
114
- $promptInputStyleBorderColorDisabled: --awsui-prompt-input-style-border-color-disabled-4hh3rt;
115
- $promptInputStyleBorderColorFocus: --awsui-prompt-input-style-border-color-focus-4hh3rt;
116
- $promptInputStyleBorderColorHover: --awsui-prompt-input-style-border-color-hover-4hh3rt;
117
- $promptInputStyleBorderColorReadonly: --awsui-prompt-input-style-border-color-readonly-4hh3rt;
118
- $promptInputStyleBoxShadowDefault: --awsui-prompt-input-style-box-shadow-default-4hh3rt;
119
- $promptInputStyleBoxShadowDisabled: --awsui-prompt-input-style-box-shadow-disabled-4hh3rt;
120
- $promptInputStyleBoxShadowFocus: --awsui-prompt-input-style-box-shadow-focus-4hh3rt;
121
- $promptInputStyleBoxShadowHover: --awsui-prompt-input-style-box-shadow-hover-4hh3rt;
122
- $promptInputStyleBoxShadowReadonly: --awsui-prompt-input-style-box-shadow-readonly-4hh3rt;
123
- $promptInputStyleColorDefault: --awsui-prompt-input-style-color-default-4hh3rt;
124
- $promptInputStyleColorDisabled: --awsui-prompt-input-style-color-disabled-4hh3rt;
125
- $promptInputStyleColorFocus: --awsui-prompt-input-style-color-focus-4hh3rt;
126
- $promptInputStyleColorHover: --awsui-prompt-input-style-color-hover-4hh3rt;
127
- $promptInputStyleColorReadonly: --awsui-prompt-input-style-color-readonly-4hh3rt;
128
- $promptInputStylePlaceholderColor: --awsui-prompt-input-style-placeholder-color-4hh3rt;
129
- $promptInputStylePlaceholderFontSize: --awsui-prompt-input-style-placeholder-font-size-4hh3rt;
130
- $promptInputStylePlaceholderFontStyle: --awsui-prompt-input-style-placeholder-font-style-4hh3rt;
131
- $promptInputStylePlaceholderFontWeight: --awsui-prompt-input-style-placeholder-font-weight-4hh3rt;
132
- $progressBarBackgroundColor: --awsui-progress-bar-background-color-4hh3rt;
133
- $progressBarBorderRadius: --awsui-progress-bar-border-radius-4hh3rt;
134
- $progressBarHeight: --awsui-progress-bar-height-4hh3rt;
135
- $progressValueBackgroundColor: --awsui-progress-value-background-color-4hh3rt;
136
- $styleSliderTrackBackgroundColor: --awsui-style-slider-track-background-color-4hh3rt;
137
- $styleSliderRangeBackgroundDefault: --awsui-style-slider-range-background-default-4hh3rt;
138
- $styleSliderRangeBackgroundActive: --awsui-style-slider-range-background-active-4hh3rt;
139
- $styleSliderHandleBackgroundDefault: --awsui-style-slider-handle-background-default-4hh3rt;
140
- $styleSliderHandleBackgroundHover: --awsui-style-slider-handle-background-hover-4hh3rt;
141
- $styleSliderHandleBackgroundActive: --awsui-style-slider-handle-background-active-4hh3rt;
142
- $styleSliderHandleBorderRadius: --awsui-style-slider-handle-border-radius-4hh3rt;
5
+ $maxContentWidth: --awsui-max-content-width-c5ek4l;
6
+ $minContentWidth: --awsui-min-content-width-c5ek4l;
7
+ $breadcrumbsGap: --awsui-breadcrumbs-gap-c5ek4l;
8
+ $contentGapLeft: --awsui-content-gap-left-c5ek4l;
9
+ $contentGapRight: --awsui-content-gap-right-c5ek4l;
10
+ $contentHeight: --awsui-content-height-c5ek4l;
11
+ $contentLayoutDefaultHorizontalPadding: --awsui-content-layout-default-horizontal-padding-c5ek4l;
12
+ $contentLayoutMaxContentWidth: --awsui-content-layout-max-content-width-c5ek4l;
13
+ $contentLayoutMainGap: --awsui-content-layout-main-gap-c5ek4l;
14
+ $defaultMaxContentWidth: --awsui-default-max-content-width-c5ek4l;
15
+ $defaultMinContentWidth: --awsui-default-min-content-width-c5ek4l;
16
+ $drawerSize: --awsui-drawer-size-c5ek4l;
17
+ $drawerMinSize: --awsui-drawer-min-size-c5ek4l;
18
+ $bottomDrawerSize: --awsui-bottom-drawer-size-c5ek4l;
19
+ $footerHeight: --awsui-footer-height-c5ek4l;
20
+ $headerGap: --awsui-header-gap-c5ek4l;
21
+ $headerHeight: --awsui-header-height-c5ek4l;
22
+ $layoutWidth: --awsui-layout-width-c5ek4l;
23
+ $mainGap: --awsui-main-gap-c5ek4l;
24
+ $mainOffsetLeft: --awsui-main-offset-left-c5ek4l;
25
+ $mainTemplateRows: --awsui-main-template-rows-c5ek4l;
26
+ $mobileBarHeight: --awsui-mobile-bar-height-c5ek4l;
27
+ $notificationsHeight: --awsui-notifications-height-c5ek4l;
28
+ $offsetTop: --awsui-offset-top-c5ek4l;
29
+ $overlapHeight: --awsui-overlap-height-c5ek4l;
30
+ $navigationWidth: --awsui-navigation-width-c5ek4l;
31
+ $splitPanelReportedHeaderSize: --awsui-split-panel-reported-header-size-c5ek4l;
32
+ $splitPanelReportedSize: --awsui-split-panel-reported-size-c5ek4l;
33
+ $splitPanelHeight: --awsui-split-panel-height-c5ek4l;
34
+ $splitPanelMinWidth: --awsui-split-panel-min-width-c5ek4l;
35
+ $splitPanelMaxWidth: --awsui-split-panel-max-width-c5ek4l;
36
+ $toolsMaxWidth: --awsui-tools-max-width-c5ek4l;
37
+ $toolsWidth: --awsui-tools-width-c5ek4l;
38
+ $toolsAnimationStartingOpacity: --awsui-tools-animation-starting-opacity-c5ek4l;
39
+ $contentScrollMargin: --awsui-content-scroll-margin-c5ek4l;
40
+ $flashbarStackDepth: --awsui-flashbar-stack-depth-c5ek4l;
41
+ $flashbarStackIndex: --awsui-flashbar-stack-index-c5ek4l;
42
+ $flashbarStickyBottomMargin: --awsui-flashbar-sticky-bottom-margin-c5ek4l;
43
+ $stackedNotificationsBottomMargin: --awsui-stacked-notifications-bottom-margin-c5ek4l;
44
+ $stackedNotificationsDefaultBottomMargin: --awsui-stacked-notifications-default-bottom-margin-c5ek4l;
45
+ $dropdownDefaultMaxWidth: --awsui-dropdown-default-max-width-c5ek4l;
46
+ $dropdownDefaultMinWidth: --awsui-dropdown-default-min-width-c5ek4l;
47
+ $spinnerRotatorFrom: --awsui-spinner-rotator-from-c5ek4l;
48
+ $spinnerRotatorTo: --awsui-spinner-rotator-to-c5ek4l;
49
+ $spinnerLineLeftFrom: --awsui-spinner-line-left-from-c5ek4l;
50
+ $spinnerLineLeftTo: --awsui-spinner-line-left-to-c5ek4l;
51
+ $spinnerLineRightFrom: --awsui-spinner-line-right-from-c5ek4l;
52
+ $spinnerLineRightTo: --awsui-spinner-line-right-to-c5ek4l;
53
+ $sliderLabelCount: --awsui-slider-label-count-c5ek4l;
54
+ $sliderTickCount: --awsui-slider-tick-count-c5ek4l;
55
+ $sliderReferenceColumn: --awsui-slider-reference-column-c5ek4l;
56
+ $sliderNextReferenceColumn: --awsui-slider-next-reference-column-c5ek4l;
57
+ $sliderMaxStart: --awsui-slider-max-start-c5ek4l;
58
+ $sliderMinEnd: --awsui-slider-min-end-c5ek4l;
59
+ $sliderRangeInlineSize: --awsui-slider-range-inline-size-c5ek4l;
60
+ $sliderTooltipPosition: --awsui-slider-tooltip-position-c5ek4l;
61
+ $togglesLeftWidth: --awsui-toggles-left-width-c5ek4l;
62
+ $togglesRightWidth: --awsui-toggles-right-width-c5ek4l;
63
+ $promptInputMaxRows: --awsui-prompt-input-max-rows-c5ek4l;
64
+ $promptInputScrollHeight: --awsui-prompt-input-scroll-height-c5ek4l;
65
+ $dragHandleAnimationInlineOffset: --awsui-drag-handle-animation-inline-offset-c5ek4l;
66
+ $dragHandleAnimationBlockOffset: --awsui-drag-handle-animation-block-offset-c5ek4l;
67
+ $styleBackgroundActive: --awsui-style-background-active-c5ek4l;
68
+ $styleBackgroundDefault: --awsui-style-background-default-c5ek4l;
69
+ $styleBackgroundDisabled: --awsui-style-background-disabled-c5ek4l;
70
+ $styleBackgroundHover: --awsui-style-background-hover-c5ek4l;
71
+ $styleBorderColorActive: --awsui-style-border-color-active-c5ek4l;
72
+ $styleBorderColorDefault: --awsui-style-border-color-default-c5ek4l;
73
+ $styleBorderColorDisabled: --awsui-style-border-color-disabled-c5ek4l;
74
+ $styleBorderColorHover: --awsui-style-border-color-hover-c5ek4l;
75
+ $styleColorActive: --awsui-style-color-active-c5ek4l;
76
+ $styleColorDefault: --awsui-style-color-default-c5ek4l;
77
+ $styleColorDisabled: --awsui-style-color-disabled-c5ek4l;
78
+ $styleColorHover: --awsui-style-color-hover-c5ek4l;
79
+ $styleFocusRingBorderColor: --awsui-style-focus-ring-border-color-c5ek4l;
80
+ $styleFocusRingBorderRadius: --awsui-style-focus-ring-border-radius-c5ek4l;
81
+ $styleFocusRingBorderWidth: --awsui-style-focus-ring-border-width-c5ek4l;
82
+ $styleFocusRingBoxShadow: --awsui-style-focus-ring-box-shadow-c5ek4l;
83
+ $styleBoxShadowActive: --awsui-style-box-shadow-active-c5ek4l;
84
+ $styleBoxShadowDefault: --awsui-style-box-shadow-default-c5ek4l;
85
+ $styleBoxShadowDisabled: --awsui-style-box-shadow-disabled-c5ek4l;
86
+ $styleBoxShadowHover: --awsui-style-box-shadow-hover-c5ek4l;
87
+ $styleBackgroundReadonly: --awsui-style-background-readonly-c5ek4l;
88
+ $styleBorderColorReadonly: --awsui-style-border-color-readonly-c5ek4l;
89
+ $styleBoxShadowReadonly: --awsui-style-box-shadow-readonly-c5ek4l;
90
+ $styleColorReadonly: --awsui-style-color-readonly-c5ek4l;
91
+ $styleBackgroundFocus: --awsui-style-background-focus-c5ek4l;
92
+ $styleBorderColorFocus: --awsui-style-border-color-focus-c5ek4l;
93
+ $styleBoxShadowFocus: --awsui-style-box-shadow-focus-c5ek4l;
94
+ $styleColorFocus: --awsui-style-color-focus-c5ek4l;
95
+ $stylePlaceholderColor: --awsui-style-placeholder-color-c5ek4l;
96
+ $stylePlaceholderFontSize: --awsui-style-placeholder-font-size-c5ek4l;
97
+ $stylePlaceholderFontStyle: --awsui-style-placeholder-font-style-c5ek4l;
98
+ $stylePlaceholderFontWeight: --awsui-style-placeholder-font-weight-c5ek4l;
99
+ $styleTabsActiveIndicatorColor: --awsui-style-tabs-active-indicator-color-c5ek4l;
100
+ $styleTabsActiveIndicatorWidth: --awsui-style-tabs-active-indicator-width-c5ek4l;
101
+ $styleTabsActiveIndicatorBorderRadius: --awsui-style-tabs-active-indicator-border-radius-c5ek4l;
102
+ $styleTabsSeparatorColor: --awsui-style-tabs-separator-color-c5ek4l;
103
+ $styleTabsSeparatorWidth: --awsui-style-tabs-separator-width-c5ek4l;
104
+ $alertFocusRingBorderColor: --awsui-alert-focus-ring-border-color-c5ek4l;
105
+ $alertFocusRingBorderRadius: --awsui-alert-focus-ring-border-radius-c5ek4l;
106
+ $alertFocusRingBorderWidth: --awsui-alert-focus-ring-border-width-c5ek4l;
107
+ $alertFocusRingBoxShadow: --awsui-alert-focus-ring-box-shadow-c5ek4l;
108
+ $alertIconColor: --awsui-alert-icon-color-c5ek4l;
109
+ $promptInputStyleBackgroundDefault: --awsui-prompt-input-style-background-default-c5ek4l;
110
+ $promptInputStyleBackgroundDisabled: --awsui-prompt-input-style-background-disabled-c5ek4l;
111
+ $promptInputStyleBackgroundFocus: --awsui-prompt-input-style-background-focus-c5ek4l;
112
+ $promptInputStyleBackgroundHover: --awsui-prompt-input-style-background-hover-c5ek4l;
113
+ $promptInputStyleBackgroundReadonly: --awsui-prompt-input-style-background-readonly-c5ek4l;
114
+ $promptInputStyleBorderColorDefault: --awsui-prompt-input-style-border-color-default-c5ek4l;
115
+ $promptInputStyleBorderColorDisabled: --awsui-prompt-input-style-border-color-disabled-c5ek4l;
116
+ $promptInputStyleBorderColorFocus: --awsui-prompt-input-style-border-color-focus-c5ek4l;
117
+ $promptInputStyleBorderColorHover: --awsui-prompt-input-style-border-color-hover-c5ek4l;
118
+ $promptInputStyleBorderColorReadonly: --awsui-prompt-input-style-border-color-readonly-c5ek4l;
119
+ $promptInputStyleBoxShadowDefault: --awsui-prompt-input-style-box-shadow-default-c5ek4l;
120
+ $promptInputStyleBoxShadowDisabled: --awsui-prompt-input-style-box-shadow-disabled-c5ek4l;
121
+ $promptInputStyleBoxShadowFocus: --awsui-prompt-input-style-box-shadow-focus-c5ek4l;
122
+ $promptInputStyleBoxShadowHover: --awsui-prompt-input-style-box-shadow-hover-c5ek4l;
123
+ $promptInputStyleBoxShadowReadonly: --awsui-prompt-input-style-box-shadow-readonly-c5ek4l;
124
+ $promptInputStyleColorDefault: --awsui-prompt-input-style-color-default-c5ek4l;
125
+ $promptInputStyleColorDisabled: --awsui-prompt-input-style-color-disabled-c5ek4l;
126
+ $promptInputStyleColorFocus: --awsui-prompt-input-style-color-focus-c5ek4l;
127
+ $promptInputStyleColorHover: --awsui-prompt-input-style-color-hover-c5ek4l;
128
+ $promptInputStyleColorReadonly: --awsui-prompt-input-style-color-readonly-c5ek4l;
129
+ $promptInputStylePlaceholderColor: --awsui-prompt-input-style-placeholder-color-c5ek4l;
130
+ $promptInputStylePlaceholderFontSize: --awsui-prompt-input-style-placeholder-font-size-c5ek4l;
131
+ $promptInputStylePlaceholderFontStyle: --awsui-prompt-input-style-placeholder-font-style-c5ek4l;
132
+ $promptInputStylePlaceholderFontWeight: --awsui-prompt-input-style-placeholder-font-weight-c5ek4l;
133
+ $progressBarBackgroundColor: --awsui-progress-bar-background-color-c5ek4l;
134
+ $progressBarBorderRadius: --awsui-progress-bar-border-radius-c5ek4l;
135
+ $progressBarHeight: --awsui-progress-bar-height-c5ek4l;
136
+ $progressValueBackgroundColor: --awsui-progress-value-background-color-c5ek4l;
137
+ $styleSliderTrackBackgroundColor: --awsui-style-slider-track-background-color-c5ek4l;
138
+ $styleSliderRangeBackgroundDefault: --awsui-style-slider-range-background-default-c5ek4l;
139
+ $styleSliderRangeBackgroundActive: --awsui-style-slider-range-background-active-c5ek4l;
140
+ $styleSliderHandleBackgroundDefault: --awsui-style-slider-handle-background-default-c5ek4l;
141
+ $styleSliderHandleBackgroundHover: --awsui-style-slider-handle-background-hover-c5ek4l;
142
+ $styleSliderHandleBackgroundActive: --awsui-style-slider-handle-background-active-c5ek4l;
143
+ $styleSliderHandleBorderRadius: --awsui-style-slider-handle-border-radius-c5ek4l;
143
144
 
@@ -126,6 +126,8 @@ export interface AlertProps extends BaseComponentProps {
126
126
  */
127
127
  analyticsMetadata?: AlertProps.AnalyticsMetadata;
128
128
  /**
129
+ * An object containing CSS properties to customize the alert's visual appearance.
130
+ * Refer to the [style](/components/alert/?tabId=style) tab for more details.
129
131
  * @awsuiSystem core
130
132
  */
131
133
  style?: AlertProps.Style;
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/alert/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,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;IAE5D,UAAiB,GAAG;QAClB;;WAEG;QACH,KAAK,IAAI,IAAI,CAAC;KACf;IAED,UAAiB,WAAW;QAK1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;QAK9B,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAK5B,oBAAoB,CAAC,EAAE,MAAM,CAAC;QAK9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAK3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;KAC3B;IAED,UAAiB,iBAAiB;QAChC,YAAY,CAAC,EAAE,YAAY,CAAC;KAC7B;IAED,UAAiB,KAAK;QACpB,IAAI,CAAC,EAAE;YACL,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,YAAY,CAAC,EAAE,MAAM,CAAC;YACtB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,KAAK,CAAC,EAAE,MAAM,CAAC;YACf,SAAS,CAAC,EAAE;gBACV,WAAW,CAAC,EAAE,MAAM,CAAC;gBACrB,YAAY,CAAC,EAAE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C,EAAE,yBAAyB,CAAC;IACtC;;;OAGG;IACH,aAAa,CAAC,EAAE,yBAAyB,CAAC;IAC1C;;;;OAIG;IACH,WAAW,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC;IACrC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,UAAU,CAAC,iBAAiB,CAAC;IACjD;;;;OAIG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC;IACzB;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,UAAU,CAAC,iBAAiB,CAAC;CAClD"}
@@ -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 React from 'react';\n\nimport { ErrorContext } from '../internal/analytics/interfaces';\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 export interface Ref {\n /**\n * Sets focus on the alert content.\n */\n focus(): void;\n }\n\n export interface I18nStrings {\n /*\n * Specifies the ARIA label for the alert icon for type `success`.\n * @property {string} [successIconAriaLabel] - optional\n */\n successIconAriaLabel?: string;\n /*\n * Specifies the ARIA label for the alert icon for type `error`.\n * @property {string} [errorIconAriaLabel] - optional\n */\n errorIconAriaLabel?: string;\n /*\n * Specifies the ARIA label for the alert icon for type `warning`.\n * @property {string} [warningIconAriaLabel] - optional\n */\n warningIconAriaLabel?: string;\n /*\n * Specifies the ARIA label for the alert icon for type `info`.\n * @property {string} [infoIconAriaLabel] - optional\n */\n infoIconAriaLabel?: string;\n /*\n * Specifies the ARIA label for the dismiss button.\n * @property {string} [dismissAriaLabel] - optional\n */\n dismissAriaLabel?: string;\n }\n\n export interface AnalyticsMetadata {\n errorContext?: ErrorContext;\n }\n\n export interface Style {\n root?: {\n background?: string;\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n color?: string;\n focusRing?: {\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n };\n };\n icon?: {\n color?: string;\n };\n dismissButton?: {\n color?: {\n active?: string;\n default?: string;\n hover?: string;\n };\n focusRing?: {\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n };\n };\n }\n export interface PersistenceConfig {\n uniqueKey: string;\n crossServicePersistence?: boolean;\n }\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 * @deprecated Use the label properties inside `i18nStrings` instead.\n * If the label is assigned via the `i18nStrings` property, this label will be ignored.\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 * @i18n\n *\n * @deprecated Use `i18nStrings.dismissAriaLabel` instead.\n * If the label is assigned via the `i18nStrings` property, this label will be ignored.\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 * An object containing all the necessary localized strings required by the component.\n * @property {AlertProps.I18nStrings} [i18nStrings] - optional\n * @i18n\n */\n i18nStrings?: AlertProps.I18nStrings;\n /**\n * Specifies additional analytics-related metadata.\n * * `errorContext` - Identifies the error category and sub-category.\n * @analytics\n */\n analyticsMetadata?: AlertProps.AnalyticsMetadata;\n /**\n * @awsuiSystem core\n */\n style?: AlertProps.Style;\n /**\n * Config to persist dismiss state for dismissable Alert\n * persistenceConfig contains:\n * * `uniqueKey` (string) - This key to store the persistence state, it must be unique across your console.\n * * `crossServicePersistence` (boolean) - (Optional) If true, the persistence state will be shared across AWS services.\n * @awsuiSystem console\n */\n persistenceConfig?: AlertProps.PersistenceConfig;\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';\n\nimport { ErrorContext } from '../internal/analytics/interfaces';\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 export interface Ref {\n /**\n * Sets focus on the alert content.\n */\n focus(): void;\n }\n\n export interface I18nStrings {\n /*\n * Specifies the ARIA label for the alert icon for type `success`.\n * @property {string} [successIconAriaLabel] - optional\n */\n successIconAriaLabel?: string;\n /*\n * Specifies the ARIA label for the alert icon for type `error`.\n * @property {string} [errorIconAriaLabel] - optional\n */\n errorIconAriaLabel?: string;\n /*\n * Specifies the ARIA label for the alert icon for type `warning`.\n * @property {string} [warningIconAriaLabel] - optional\n */\n warningIconAriaLabel?: string;\n /*\n * Specifies the ARIA label for the alert icon for type `info`.\n * @property {string} [infoIconAriaLabel] - optional\n */\n infoIconAriaLabel?: string;\n /*\n * Specifies the ARIA label for the dismiss button.\n * @property {string} [dismissAriaLabel] - optional\n */\n dismissAriaLabel?: string;\n }\n\n export interface AnalyticsMetadata {\n errorContext?: ErrorContext;\n }\n\n export interface Style {\n root?: {\n background?: string;\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n color?: string;\n focusRing?: {\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n };\n };\n icon?: {\n color?: string;\n };\n dismissButton?: {\n color?: {\n active?: string;\n default?: string;\n hover?: string;\n };\n focusRing?: {\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n };\n };\n }\n export interface PersistenceConfig {\n uniqueKey: string;\n crossServicePersistence?: boolean;\n }\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 * @deprecated Use the label properties inside `i18nStrings` instead.\n * If the label is assigned via the `i18nStrings` property, this label will be ignored.\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 * @i18n\n *\n * @deprecated Use `i18nStrings.dismissAriaLabel` instead.\n * If the label is assigned via the `i18nStrings` property, this label will be ignored.\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 * An object containing all the necessary localized strings required by the component.\n * @property {AlertProps.I18nStrings} [i18nStrings] - optional\n * @i18n\n */\n i18nStrings?: AlertProps.I18nStrings;\n /**\n * Specifies additional analytics-related metadata.\n * * `errorContext` - Identifies the error category and sub-category.\n * @analytics\n */\n analyticsMetadata?: AlertProps.AnalyticsMetadata;\n /**\n * An object containing CSS properties to customize the alert's visual appearance.\n * Refer to the [style](/components/alert/?tabId=style) tab for more details.\n * @awsuiSystem core\n */\n style?: AlertProps.Style;\n /**\n * Config to persist dismiss state for dismissable Alert\n * persistenceConfig contains:\n * * `uniqueKey` (string) - This key to store the persistence state, it must be unique across your console.\n * * `crossServicePersistence` (boolean) - (Optional) If true, the persistence state will be shared across AWS services.\n * @awsuiSystem console\n */\n persistenceConfig?: AlertProps.PersistenceConfig;\n}\n"]}
@@ -1,32 +1,32 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "alert": "awsui_alert_mx3cw_12aw9_193",
5
- "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_mx3cw_12aw9_1",
6
- "root": "awsui_root_mx3cw_12aw9_215",
7
- "hidden": "awsui_hidden_mx3cw_12aw9_250",
8
- "alert-wrapper": "awsui_alert-wrapper_mx3cw_12aw9_299",
9
- "initial-hidden": "awsui_initial-hidden_mx3cw_12aw9_311",
10
- "header": "awsui_header_mx3cw_12aw9_316",
11
- "header-replacement": "awsui_header-replacement_mx3cw_12aw9_317",
12
- "action": "awsui_action_mx3cw_12aw9_321",
13
- "action-slot": "awsui_action-slot_mx3cw_12aw9_325",
14
- "action-button": "awsui_action-button_mx3cw_12aw9_326",
15
- "alert-focus-wrapper": "awsui_alert-focus-wrapper_mx3cw_12aw9_330",
16
- "text": "awsui_text_mx3cw_12aw9_361",
17
- "icon": "awsui_icon_mx3cw_12aw9_368",
18
- "message": "awsui_message_mx3cw_12aw9_371",
19
- "action-wrapped": "awsui_action-wrapped_mx3cw_12aw9_375",
20
- "icon-size-medium": "awsui_icon-size-medium_mx3cw_12aw9_379",
21
- "icon-size-big": "awsui_icon-size-big_mx3cw_12aw9_383",
22
- "icon-size-normal": "awsui_icon-size-normal_mx3cw_12aw9_387",
23
- "content": "awsui_content_mx3cw_12aw9_391",
24
- "content-replacement": "awsui_content-replacement_mx3cw_12aw9_392",
25
- "dismiss": "awsui_dismiss_mx3cw_12aw9_396",
26
- "dismiss-button": "awsui_dismiss-button_mx3cw_12aw9_401",
27
- "type-error": "awsui_type-error_mx3cw_12aw9_405",
28
- "type-warning": "awsui_type-warning_mx3cw_12aw9_413",
29
- "type-success": "awsui_type-success_mx3cw_12aw9_421",
30
- "type-info": "awsui_type-info_mx3cw_12aw9_429"
4
+ "alert": "awsui_alert_mx3cw_1h8yn_193",
5
+ "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_mx3cw_1h8yn_1",
6
+ "root": "awsui_root_mx3cw_1h8yn_215",
7
+ "hidden": "awsui_hidden_mx3cw_1h8yn_250",
8
+ "alert-wrapper": "awsui_alert-wrapper_mx3cw_1h8yn_299",
9
+ "initial-hidden": "awsui_initial-hidden_mx3cw_1h8yn_311",
10
+ "header": "awsui_header_mx3cw_1h8yn_316",
11
+ "header-replacement": "awsui_header-replacement_mx3cw_1h8yn_317",
12
+ "action": "awsui_action_mx3cw_1h8yn_321",
13
+ "action-slot": "awsui_action-slot_mx3cw_1h8yn_325",
14
+ "action-button": "awsui_action-button_mx3cw_1h8yn_326",
15
+ "alert-focus-wrapper": "awsui_alert-focus-wrapper_mx3cw_1h8yn_330",
16
+ "text": "awsui_text_mx3cw_1h8yn_361",
17
+ "icon": "awsui_icon_mx3cw_1h8yn_368",
18
+ "message": "awsui_message_mx3cw_1h8yn_371",
19
+ "action-wrapped": "awsui_action-wrapped_mx3cw_1h8yn_375",
20
+ "icon-size-medium": "awsui_icon-size-medium_mx3cw_1h8yn_379",
21
+ "icon-size-big": "awsui_icon-size-big_mx3cw_1h8yn_383",
22
+ "icon-size-normal": "awsui_icon-size-normal_mx3cw_1h8yn_387",
23
+ "content": "awsui_content_mx3cw_1h8yn_391",
24
+ "content-replacement": "awsui_content-replacement_mx3cw_1h8yn_392",
25
+ "dismiss": "awsui_dismiss_mx3cw_1h8yn_396",
26
+ "dismiss-button": "awsui_dismiss-button_mx3cw_1h8yn_401",
27
+ "type-error": "awsui_type-error_mx3cw_1h8yn_405",
28
+ "type-warning": "awsui_type-warning_mx3cw_1h8yn_413",
29
+ "type-success": "awsui_type-success_mx3cw_1h8yn_421",
30
+ "type-info": "awsui_type-info_mx3cw_1h8yn_429"
31
31
  };
32
32