@cloudscape-design/components 3.0.361 → 3.0.363

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 (167) hide show
  1. package/alert/index.d.ts.map +1 -1
  2. package/alert/index.js +21 -16
  3. package/alert/index.js.map +1 -1
  4. package/annotation-context/annotation/styles.css.js +24 -24
  5. package/annotation-context/annotation/styles.scoped.css +30 -30
  6. package/annotation-context/annotation/styles.selectors.js +24 -24
  7. package/app-layout/visual-refresh/styles.css.js +69 -69
  8. package/app-layout/visual-refresh/styles.scoped.css +169 -169
  9. package/app-layout/visual-refresh/styles.selectors.js +69 -69
  10. package/area-chart/model/use-chart-model.js +1 -1
  11. package/area-chart/model/use-chart-model.js.map +1 -1
  12. package/area-chart/styles.css.js +6 -6
  13. package/area-chart/styles.scoped.css +10 -10
  14. package/area-chart/styles.selectors.js +6 -6
  15. package/attribute-editor/styles.css.js +14 -14
  16. package/attribute-editor/styles.scoped.css +25 -25
  17. package/attribute-editor/styles.selectors.js +14 -14
  18. package/button-dropdown/category-elements/styles.css.js +13 -13
  19. package/button-dropdown/category-elements/styles.scoped.css +27 -27
  20. package/button-dropdown/category-elements/styles.selectors.js +13 -13
  21. package/button-dropdown/item-element/styles.css.js +15 -15
  22. package/button-dropdown/item-element/styles.scoped.css +19 -19
  23. package/button-dropdown/item-element/styles.selectors.js +15 -15
  24. package/button-dropdown/styles.css.js +14 -14
  25. package/button-dropdown/styles.scoped.css +22 -22
  26. package/button-dropdown/styles.selectors.js +14 -14
  27. package/code-editor/index.d.ts.map +1 -1
  28. package/code-editor/index.js +26 -71
  29. package/code-editor/index.js.map +1 -1
  30. package/code-editor/listeners.d.ts +1 -1
  31. package/code-editor/listeners.d.ts.map +1 -1
  32. package/code-editor/listeners.js.map +1 -1
  33. package/code-editor/setup-editor.d.ts.map +1 -1
  34. package/code-editor/setup-editor.js +39 -36
  35. package/code-editor/setup-editor.js.map +1 -1
  36. package/code-editor/styles.css.js +32 -32
  37. package/code-editor/styles.scoped.css +130 -130
  38. package/code-editor/styles.selectors.js +32 -32
  39. package/code-editor/use-editor.d.ts +24 -0
  40. package/code-editor/use-editor.d.ts.map +1 -0
  41. package/code-editor/use-editor.js +71 -0
  42. package/code-editor/use-editor.js.map +1 -0
  43. package/collection-preferences/content-display/styles.css.js +11 -11
  44. package/collection-preferences/content-display/styles.scoped.css +18 -18
  45. package/collection-preferences/content-display/styles.selectors.js +11 -11
  46. package/collection-preferences/styles.css.js +37 -37
  47. package/collection-preferences/styles.scoped.css +47 -47
  48. package/collection-preferences/styles.selectors.js +37 -37
  49. package/column-layout/flexible-column-layout/styles.css.js +5 -5
  50. package/column-layout/flexible-column-layout/styles.scoped.css +5 -5
  51. package/column-layout/flexible-column-layout/styles.selectors.js +5 -5
  52. package/column-layout/styles.css.js +13 -13
  53. package/column-layout/styles.scoped.css +46 -46
  54. package/column-layout/styles.selectors.js +13 -13
  55. package/container/styles.css.js +28 -28
  56. package/container/styles.scoped.css +55 -55
  57. package/container/styles.selectors.js +28 -28
  58. package/date-range-picker/styles.css.js +38 -38
  59. package/date-range-picker/styles.scoped.css +47 -47
  60. package/date-range-picker/styles.selectors.js +38 -38
  61. package/expandable-section/styles.css.js +29 -29
  62. package/expandable-section/styles.scoped.css +66 -66
  63. package/expandable-section/styles.selectors.js +29 -29
  64. package/form-field/internal.d.ts.map +1 -1
  65. package/form-field/internal.js +17 -12
  66. package/form-field/internal.js.map +1 -1
  67. package/form-field/styles.css.js +19 -19
  68. package/form-field/styles.scoped.css +30 -30
  69. package/form-field/styles.selectors.js +19 -19
  70. package/help-panel/styles.css.js +4 -4
  71. package/help-panel/styles.scoped.css +66 -66
  72. package/help-panel/styles.selectors.js +4 -4
  73. package/internal/base-component/styles.scoped.css +81 -57
  74. package/internal/components/chart-popover/index.d.ts.map +1 -1
  75. package/internal/components/chart-popover/index.js +1 -1
  76. package/internal/components/chart-popover/index.js.map +1 -1
  77. package/internal/components/dropdown-footer/styles.css.js +3 -3
  78. package/internal/components/dropdown-footer/styles.scoped.css +4 -4
  79. package/internal/components/dropdown-footer/styles.selectors.js +3 -3
  80. package/internal/components/selectable-item/styles.css.js +16 -16
  81. package/internal/components/selectable-item/styles.scoped.css +31 -31
  82. package/internal/components/selectable-item/styles.selectors.js +16 -16
  83. package/internal/components/token-list/styles.css.js +9 -9
  84. package/internal/components/token-list/styles.scoped.css +22 -22
  85. package/internal/components/token-list/styles.selectors.js +9 -9
  86. package/internal/environment.js +1 -1
  87. package/internal/environment.json +1 -1
  88. package/internal/generated/styles/tokens.js +1 -1
  89. package/internal/generated/theming/index.cjs +25 -23
  90. package/internal/generated/theming/index.js +25 -23
  91. package/internal/manifest.json +1 -1
  92. package/internal/plugins/api.d.ts +21 -25
  93. package/internal/plugins/api.d.ts.map +1 -1
  94. package/internal/plugins/api.js +15 -35
  95. package/internal/plugins/api.js.map +1 -1
  96. package/internal/plugins/controllers/action-buttons.d.ts +9 -0
  97. package/internal/plugins/controllers/action-buttons.d.ts.map +1 -1
  98. package/internal/plugins/controllers/action-buttons.js +11 -0
  99. package/internal/plugins/controllers/action-buttons.js.map +1 -1
  100. package/internal/plugins/controllers/drawers.d.ts +9 -0
  101. package/internal/plugins/controllers/drawers.d.ts.map +1 -1
  102. package/internal/plugins/controllers/drawers.js +11 -0
  103. package/internal/plugins/controllers/drawers.js.map +1 -1
  104. package/internal/utils/dom.d.ts +1 -8
  105. package/internal/utils/dom.d.ts.map +1 -1
  106. package/internal/utils/dom.js +1 -22
  107. package/internal/utils/dom.js.map +1 -1
  108. package/mixed-line-bar-chart/hooks/use-mouse-hover.js +1 -1
  109. package/mixed-line-bar-chart/hooks/use-mouse-hover.js.map +1 -1
  110. package/modal/styles.css.js +23 -23
  111. package/modal/styles.scoped.css +39 -39
  112. package/modal/styles.selectors.js +23 -23
  113. package/package.json +1 -1
  114. package/pie-chart/pie-chart.d.ts.map +1 -1
  115. package/pie-chart/pie-chart.js +1 -1
  116. package/pie-chart/pie-chart.js.map +1 -1
  117. package/pie-chart/styles.css.js +27 -27
  118. package/pie-chart/styles.scoped.css +43 -43
  119. package/pie-chart/styles.selectors.js +27 -27
  120. package/popover/container.d.ts.map +1 -1
  121. package/popover/container.js +3 -2
  122. package/popover/container.js.map +1 -1
  123. package/property-filter/styles.css.js +29 -29
  124. package/property-filter/styles.scoped.css +33 -33
  125. package/property-filter/styles.selectors.js +29 -29
  126. package/s3-resource-selector/s3-in-context/styles.css.js +7 -7
  127. package/s3-resource-selector/s3-in-context/styles.scoped.css +10 -10
  128. package/s3-resource-selector/s3-in-context/styles.selectors.js +7 -7
  129. package/side-navigation/styles.css.js +28 -28
  130. package/side-navigation/styles.scoped.css +43 -43
  131. package/side-navigation/styles.selectors.js +28 -28
  132. package/split-panel/styles.css.js +56 -56
  133. package/split-panel/styles.scoped.css +85 -85
  134. package/split-panel/styles.selectors.js +56 -56
  135. package/table/body-cell/styles.css.js +28 -28
  136. package/table/body-cell/styles.scoped.css +76 -76
  137. package/table/body-cell/styles.selectors.js +28 -28
  138. package/table/header-cell/styles.css.js +24 -24
  139. package/table/header-cell/styles.scoped.css +43 -43
  140. package/table/header-cell/styles.selectors.js +24 -24
  141. package/table/sticky-scrollbar/styles.css.js +6 -6
  142. package/table/sticky-scrollbar/styles.scoped.css +9 -9
  143. package/table/sticky-scrollbar/styles.selectors.js +6 -6
  144. package/table/styles.css.js +34 -34
  145. package/table/styles.scoped.css +42 -42
  146. package/table/styles.selectors.js +34 -34
  147. package/tabs/styles.css.js +21 -21
  148. package/tabs/styles.scoped.css +46 -46
  149. package/tabs/styles.selectors.js +21 -21
  150. package/tiles/styles.css.js +29 -29
  151. package/tiles/styles.scoped.css +73 -73
  152. package/tiles/styles.selectors.js +29 -29
  153. package/top-navigation/1.0-beta/styles.css.js +25 -25
  154. package/top-navigation/1.0-beta/styles.scoped.css +43 -43
  155. package/top-navigation/1.0-beta/styles.selectors.js +25 -25
  156. package/top-navigation/styles.css.js +47 -47
  157. package/top-navigation/styles.scoped.css +73 -73
  158. package/top-navigation/styles.selectors.js +47 -47
  159. package/tutorial-panel/components/tutorial-detail-view/styles.css.js +20 -20
  160. package/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +23 -23
  161. package/tutorial-panel/components/tutorial-detail-view/styles.selectors.js +20 -20
  162. package/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
  163. package/tutorial-panel/components/tutorial-list/styles.scoped.css +28 -28
  164. package/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
  165. package/wizard/styles.css.js +31 -31
  166. package/wizard/styles.scoped.css +63 -63
  167. package/wizard/styles.selectors.js +31 -31
@@ -2,21 +2,21 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "selectable-item": "awsui_selectable-item_15o6u_tl7z5_93",
6
- "pad-bottom": "awsui_pad-bottom_15o6u_tl7z5_115",
7
- "has-background": "awsui_has-background_15o6u_tl7z5_124",
8
- "highlighted": "awsui_highlighted_15o6u_tl7z5_127",
9
- "selected": "awsui_selected_15o6u_tl7z5_127",
10
- "disabled": "awsui_disabled_15o6u_tl7z5_141",
11
- "next-item-selected": "awsui_next-item-selected_15o6u_tl7z5_149",
12
- "is-keyboard": "awsui_is-keyboard_15o6u_tl7z5_157",
13
- "parent": "awsui_parent_15o6u_tl7z5_161",
14
- "interactiveGroups": "awsui_interactiveGroups_15o6u_tl7z5_165",
15
- "child": "awsui_child_15o6u_tl7z5_180",
16
- "virtual": "awsui_virtual_15o6u_tl7z5_195",
17
- "measure-strut": "awsui_measure-strut_15o6u_tl7z5_206",
18
- "measure-strut-first": "awsui_measure-strut-first_15o6u_tl7z5_215",
19
- "screenreader-content": "awsui_screenreader-content_15o6u_tl7z5_219",
20
- "option-content": "awsui_option-content_15o6u_tl7z5_225"
5
+ "selectable-item": "awsui_selectable-item_15o6u_15za0_93",
6
+ "pad-bottom": "awsui_pad-bottom_15o6u_15za0_115",
7
+ "has-background": "awsui_has-background_15o6u_15za0_124",
8
+ "highlighted": "awsui_highlighted_15o6u_15za0_127",
9
+ "selected": "awsui_selected_15o6u_15za0_127",
10
+ "disabled": "awsui_disabled_15o6u_15za0_141",
11
+ "next-item-selected": "awsui_next-item-selected_15o6u_15za0_149",
12
+ "is-keyboard": "awsui_is-keyboard_15o6u_15za0_157",
13
+ "parent": "awsui_parent_15o6u_15za0_161",
14
+ "interactiveGroups": "awsui_interactiveGroups_15o6u_15za0_165",
15
+ "child": "awsui_child_15o6u_15za0_180",
16
+ "virtual": "awsui_virtual_15o6u_15za0_195",
17
+ "measure-strut": "awsui_measure-strut_15o6u_15za0_206",
18
+ "measure-strut-first": "awsui_measure-strut-first_15o6u_15za0_215",
19
+ "screenreader-content": "awsui_screenreader-content_15o6u_15za0_219",
20
+ "option-content": "awsui_option-content_15o6u_15za0_225"
21
21
  };
22
22
 
@@ -1,14 +1,14 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_gfwv3_1fqz6_93",
5
- "horizontal": "awsui_horizontal_gfwv3_1fqz6_98",
6
- "vertical": "awsui_vertical_gfwv3_1fqz6_102",
7
- "list": "awsui_list_gfwv3_1fqz6_106",
8
- "list-item": "awsui_list-item_gfwv3_1fqz6_124",
9
- "toggle-container-inline": "awsui_toggle-container-inline_gfwv3_1fqz6_129",
10
- "toggle": "awsui_toggle_gfwv3_1fqz6_129",
11
- "description": "awsui_description_gfwv3_1fqz6_197",
12
- "separator": "awsui_separator_gfwv3_1fqz6_201"
4
+ "root": "awsui_root_gfwv3_6v1sx_93",
5
+ "horizontal": "awsui_horizontal_gfwv3_6v1sx_98",
6
+ "vertical": "awsui_vertical_gfwv3_6v1sx_102",
7
+ "list": "awsui_list_gfwv3_6v1sx_106",
8
+ "list-item": "awsui_list-item_gfwv3_6v1sx_124",
9
+ "toggle-container-inline": "awsui_toggle-container-inline_gfwv3_6v1sx_129",
10
+ "toggle": "awsui_toggle_gfwv3_6v1sx_129",
11
+ "description": "awsui_description_gfwv3_6v1sx_197",
12
+ "separator": "awsui_separator_gfwv3_6v1sx_201"
13
13
  };
14
14
 
@@ -90,49 +90,49 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
90
90
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
91
91
  SPDX-License-Identifier: Apache-2.0
92
92
  */
93
- .awsui_root_gfwv3_1fqz6_93:not(#\9) {
93
+ .awsui_root_gfwv3_6v1sx_93:not(#\9) {
94
94
  display: flex;
95
95
  flex-wrap: wrap;
96
96
  gap: var(--space-scaled-xs-26e2du, 8px);
97
97
  }
98
- .awsui_root_gfwv3_1fqz6_93.awsui_horizontal_gfwv3_1fqz6_98:not(#\9) {
98
+ .awsui_root_gfwv3_6v1sx_93.awsui_horizontal_gfwv3_6v1sx_98:not(#\9) {
99
99
  gap: var(--space-xs-zb16t3, 8px);
100
100
  flex-direction: row;
101
101
  }
102
- .awsui_root_gfwv3_1fqz6_93.awsui_vertical_gfwv3_1fqz6_102:not(#\9) {
102
+ .awsui_root_gfwv3_6v1sx_93.awsui_vertical_gfwv3_6v1sx_102:not(#\9) {
103
103
  flex-direction: column;
104
104
  }
105
105
 
106
- .awsui_list_gfwv3_1fqz6_106:not(#\9) {
106
+ .awsui_list_gfwv3_6v1sx_106:not(#\9) {
107
107
  display: contents;
108
108
  list-style: none;
109
109
  padding: 0;
110
110
  margin: 0;
111
111
  }
112
- .awsui_list_gfwv3_1fqz6_106.awsui_horizontal_gfwv3_1fqz6_98:not(#\9), .awsui_list_gfwv3_1fqz6_106.awsui_vertical_gfwv3_1fqz6_102:not(#\9) {
112
+ .awsui_list_gfwv3_6v1sx_106.awsui_horizontal_gfwv3_6v1sx_98:not(#\9), .awsui_list_gfwv3_6v1sx_106.awsui_vertical_gfwv3_6v1sx_102:not(#\9) {
113
113
  display: flex;
114
114
  flex-wrap: wrap;
115
115
  gap: var(--space-xs-zb16t3, 8px);
116
116
  }
117
- .awsui_list_gfwv3_1fqz6_106.awsui_horizontal_gfwv3_1fqz6_98:not(#\9) {
117
+ .awsui_list_gfwv3_6v1sx_106.awsui_horizontal_gfwv3_6v1sx_98:not(#\9) {
118
118
  flex-direction: row;
119
119
  }
120
- .awsui_list_gfwv3_1fqz6_106.awsui_vertical_gfwv3_1fqz6_102:not(#\9) {
120
+ .awsui_list_gfwv3_6v1sx_106.awsui_vertical_gfwv3_6v1sx_102:not(#\9) {
121
121
  flex-direction: column;
122
122
  }
123
123
 
124
- .awsui_list-item_gfwv3_1fqz6_124:not(#\9) {
124
+ .awsui_list-item_gfwv3_6v1sx_124:not(#\9) {
125
125
  padding: 0;
126
126
  margin: 0;
127
127
  }
128
128
 
129
- .awsui_toggle-container-inline_gfwv3_1fqz6_129:not(#\9) {
129
+ .awsui_toggle-container-inline_gfwv3_6v1sx_129:not(#\9) {
130
130
  padding-left: var(--space-xs-zb16t3, 8px);
131
131
  display: flex;
132
132
  align-items: center;
133
133
  }
134
134
 
135
- .awsui_toggle_gfwv3_1fqz6_129:not(#\9) {
135
+ .awsui_toggle_gfwv3_6v1sx_129:not(#\9) {
136
136
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
137
137
  border-collapse: separate;
138
138
  border-spacing: 0;
@@ -187,47 +187,47 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
187
187
  margin-left: -1px;
188
188
  }
189
189
  @media (prefers-reduced-motion: reduce) {
190
- .awsui_toggle_gfwv3_1fqz6_129:not(#\9) {
190
+ .awsui_toggle_gfwv3_6v1sx_129:not(#\9) {
191
191
  animation: none;
192
192
  transition: none;
193
193
  }
194
194
  }
195
- .awsui-motion-disabled .awsui_toggle_gfwv3_1fqz6_129:not(#\9), .awsui-mode-entering .awsui_toggle_gfwv3_1fqz6_129:not(#\9) {
195
+ .awsui-motion-disabled .awsui_toggle_gfwv3_6v1sx_129:not(#\9), .awsui-mode-entering .awsui_toggle_gfwv3_6v1sx_129:not(#\9) {
196
196
  animation: none;
197
197
  transition: none;
198
198
  }
199
- .awsui_toggle_gfwv3_1fqz6_129:not(#\9):hover {
199
+ .awsui_toggle_gfwv3_6v1sx_129:not(#\9):hover {
200
200
  cursor: pointer;
201
201
  color: var(--color-text-link-hover-8j6p14, #033160);
202
202
  }
203
- .awsui_toggle_gfwv3_1fqz6_129:not(#\9):focus {
203
+ .awsui_toggle_gfwv3_6v1sx_129:not(#\9):focus {
204
204
  outline: none;
205
205
  }
206
- .awsui_toggle_gfwv3_1fqz6_129:not(#\9):active {
206
+ .awsui_toggle_gfwv3_6v1sx_129:not(#\9):active {
207
207
  color: var(--color-text-link-hover-8j6p14, #033160);
208
208
  }
209
- .awsui_toggle_gfwv3_1fqz6_129:not(#\9):active, .awsui_toggle_gfwv3_1fqz6_129:not(#\9):focus, .awsui_toggle_gfwv3_1fqz6_129:not(#\9):hover {
209
+ .awsui_toggle_gfwv3_6v1sx_129:not(#\9):active, .awsui_toggle_gfwv3_6v1sx_129:not(#\9):focus, .awsui_toggle_gfwv3_6v1sx_129:not(#\9):hover {
210
210
  text-decoration: underline;
211
211
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
212
212
  text-decoration-color: currentColor;
213
213
  }
214
- .awsui_toggle_gfwv3_1fqz6_129:not(#\9):active, .awsui_toggle_gfwv3_1fqz6_129:not(#\9):focus, .awsui_toggle_gfwv3_1fqz6_129:not(#\9):hover {
214
+ .awsui_toggle_gfwv3_6v1sx_129:not(#\9):active, .awsui_toggle_gfwv3_6v1sx_129:not(#\9):focus, .awsui_toggle_gfwv3_6v1sx_129:not(#\9):hover {
215
215
  text-decoration: none;
216
216
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
217
217
  text-decoration-color: transparent;
218
218
  }
219
- body[data-awsui-focus-visible=true] .awsui_toggle_gfwv3_1fqz6_129:not(#\9):focus {
219
+ body[data-awsui-focus-visible=true] .awsui_toggle_gfwv3_6v1sx_129:not(#\9):focus {
220
220
  outline: 2px dotted transparent;
221
221
  border: var(--border-field-width-09w7vk, 2px) solid var(--color-border-item-focused-b2ntyl, #0972d3);
222
222
  border-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
223
223
  box-shadow: 0 0 0 var(--border-control-focus-ring-shadow-spread-0ctpjf, 0px) var(--color-border-item-focused-b2ntyl, #0972d3);
224
224
  }
225
- .awsui_toggle_gfwv3_1fqz6_129 > .awsui_description_gfwv3_1fqz6_197:not(#\9) {
225
+ .awsui_toggle_gfwv3_6v1sx_129 > .awsui_description_gfwv3_6v1sx_197:not(#\9) {
226
226
  margin-left: var(--space-xxs-p8yyaw, 4px);
227
227
  }
228
228
 
229
- .awsui_separator_gfwv3_1fqz6_201:not(#\9) {
229
+ .awsui_separator_gfwv3_6v1sx_201:not(#\9) {
230
230
  margin: 0px var(--space-scaled-m-mo5yse, 16px);
231
- width: var(--border-divider-section-width-4ax5o2, 2px);
232
- background-color: var(--color-border-divider-default-d3adp9, #e9ebed);
231
+ width: var(--border-divider-section-width-8a5uu9, 2px);
232
+ background-color: var(--color-border-divider-default-et9j7s, #e9ebed);
233
233
  }
@@ -2,14 +2,14 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "root": "awsui_root_gfwv3_1fqz6_93",
6
- "horizontal": "awsui_horizontal_gfwv3_1fqz6_98",
7
- "vertical": "awsui_vertical_gfwv3_1fqz6_102",
8
- "list": "awsui_list_gfwv3_1fqz6_106",
9
- "list-item": "awsui_list-item_gfwv3_1fqz6_124",
10
- "toggle-container-inline": "awsui_toggle-container-inline_gfwv3_1fqz6_129",
11
- "toggle": "awsui_toggle_gfwv3_1fqz6_129",
12
- "description": "awsui_description_gfwv3_1fqz6_197",
13
- "separator": "awsui_separator_gfwv3_1fqz6_201"
5
+ "root": "awsui_root_gfwv3_6v1sx_93",
6
+ "horizontal": "awsui_horizontal_gfwv3_6v1sx_98",
7
+ "vertical": "awsui_vertical_gfwv3_6v1sx_102",
8
+ "list": "awsui_list_gfwv3_6v1sx_106",
9
+ "list-item": "awsui_list-item_gfwv3_6v1sx_124",
10
+ "toggle-container-inline": "awsui_toggle-container-inline_gfwv3_6v1sx_129",
11
+ "toggle": "awsui_toggle_gfwv3_6v1sx_129",
12
+ "description": "awsui_description_gfwv3_6v1sx_197",
13
+ "separator": "awsui_separator_gfwv3_6v1sx_201"
14
14
  };
15
15
 
@@ -1,4 +1,4 @@
1
1
  export var PACKAGE_SOURCE = "components";
2
- export var PACKAGE_VERSION = "3.0.0 (2ca759e2)";
2
+ export var PACKAGE_VERSION = "3.0.0 (7108c464)";
3
3
  export var THEME = "open-source-visual-refresh";
4
4
  export var ALWAYS_VISUAL_REFRESH = true;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "PACKAGE_SOURCE": "components",
3
- "PACKAGE_VERSION": "3.0.0 (2ca759e2)",
3
+ "PACKAGE_VERSION": "3.0.0 (7108c464)",
4
4
  "THEME": "default",
5
5
  "ALWAYS_VISUAL_REFRESH": false
6
6
  }
@@ -196,7 +196,7 @@ export var colorBorderButtonNormalHover = "var(--color-border-button-normal-hove
196
196
  export var colorBorderButtonPrimaryDisabled = "var(--color-border-button-primary-disabled-q34ikb, #e9ebed)";
197
197
  export var colorBorderContainerTop = "var(--color-border-container-top-736buh, transparent)";
198
198
  export var colorBorderControlDefault = "var(--color-border-control-default-0fzxw0, #7d8998)";
199
- export var colorBorderDividerDefault = "var(--color-border-divider-default-d3adp9, #e9ebed)";
199
+ export var colorBorderDividerDefault = "var(--color-border-divider-default-et9j7s, #e9ebed)";
200
200
  export var colorBorderDropdownItemHover = "var(--color-border-dropdown-item-hover-461g78, #7d8998)";
201
201
  export var colorBorderInputDefault = "var(--color-border-input-default-1zl7hq, #7d8998)";
202
202
  export var colorBorderItemFocused = "var(--color-border-item-focused-b2ntyl, #0972d3)";
@@ -6900,8 +6900,8 @@ module.exports.preset = {
6900
6900
  "dark": "{colorGrey100}"
6901
6901
  },
6902
6902
  "colorBorderDividerDefault": {
6903
- "light": "{colorGrey200}",
6904
- "dark": "{colorGrey600}"
6903
+ "light": "{colorTextButtonNormalDefault}",
6904
+ "dark": "{colorTextButtonNormalDefault}"
6905
6905
  },
6906
6906
  "colorBorderDividerPanelBottom": {
6907
6907
  "light": "{colorBorderDividerDefault}",
@@ -7228,12 +7228,12 @@ module.exports.preset = {
7228
7228
  "dark": "{colorGrey300}"
7229
7229
  },
7230
7230
  "colorTextExpandableSectionDefault": {
7231
- "light": "{colorTextInteractiveActive}",
7232
- "dark": "{colorTextInteractiveActive}"
7231
+ "light": "{colorTextButtonNormalDefault}",
7232
+ "dark": "{colorTextButtonNormalDefault}"
7233
7233
  },
7234
7234
  "colorTextExpandableSectionHover": {
7235
- "light": "{colorTextAccent}",
7236
- "dark": "{colorTextAccent}"
7235
+ "light": "{colorTextButtonNormalHover}",
7236
+ "dark": "{colorTextButtonNormalHover}"
7237
7237
  },
7238
7238
  "colorTextExpandableSectionNavigationIconDefault": {
7239
7239
  "light": "{colorTextInteractiveDefault}",
@@ -7450,7 +7450,9 @@ module.exports.preset = {
7450
7450
  "colorDropzoneTextHover": {
7451
7451
  "light": "{colorBlue800}",
7452
7452
  "dark": "{colorWhite}"
7453
- }
7453
+ },
7454
+ "fontExpandableHeadingSize": "14px",
7455
+ "borderDividerSectionWidth": "1px"
7454
7456
  }
7455
7457
  },
7456
7458
  "alert-header": {
@@ -7834,8 +7836,8 @@ module.exports.preset = {
7834
7836
  "dark": "{colorGrey100}"
7835
7837
  },
7836
7838
  "colorBorderDividerDefault": {
7837
- "light": "{colorGrey600}",
7838
- "dark": "{colorGrey600}"
7839
+ "light": "{colorTextButtonNormalDefault}",
7840
+ "dark": "{colorTextButtonNormalDefault}"
7839
7841
  },
7840
7842
  "colorBorderDividerPanelBottom": {
7841
7843
  "light": "{colorGreyTransparent}",
@@ -8162,12 +8164,12 @@ module.exports.preset = {
8162
8164
  "dark": "{colorGrey300}"
8163
8165
  },
8164
8166
  "colorTextExpandableSectionDefault": {
8165
- "light": "{colorTextInteractiveActive}",
8166
- "dark": "{colorTextInteractiveActive}"
8167
+ "light": "{colorTextButtonNormalDefault}",
8168
+ "dark": "{colorTextButtonNormalDefault}"
8167
8169
  },
8168
8170
  "colorTextExpandableSectionHover": {
8169
- "light": "{colorTextAccent}",
8170
- "dark": "{colorTextAccent}"
8171
+ "light": "{colorTextButtonNormalHover}",
8172
+ "dark": "{colorTextButtonNormalHover}"
8171
8173
  },
8172
8174
  "colorTextExpandableSectionNavigationIconDefault": {
8173
8175
  "light": "{colorTextInteractiveDefault}",
@@ -10402,12 +10404,12 @@ module.exports.preset = {
10402
10404
  "colorBorderControlDefault": "--color-border-control-default-0fzxw0",
10403
10405
  "colorBorderControlDisabled": "--color-border-control-disabled-bv2kkn",
10404
10406
  "colorBorderDividerActive": "--color-border-divider-active-k4haaf",
10405
- "colorBorderDividerDefault": "--color-border-divider-default-d3adp9",
10406
- "colorBorderDividerPanelBottom": "--color-border-divider-panel-bottom-s8zdda",
10407
- "colorBorderDividerPanelSide": "--color-border-divider-panel-side-ompdsw",
10407
+ "colorBorderDividerDefault": "--color-border-divider-default-et9j7s",
10408
+ "colorBorderDividerPanelBottom": "--color-border-divider-panel-bottom-16n9vt",
10409
+ "colorBorderDividerPanelSide": "--color-border-divider-panel-side-qqne3x",
10408
10410
  "colorBorderDropdownContainer": "--color-border-dropdown-container-5boaph",
10409
- "colorBorderDropdownGroup": "--color-border-dropdown-group-c2r4dp",
10410
- "colorBorderDropdownItemDefault": "--color-border-dropdown-item-default-rgr5b2",
10411
+ "colorBorderDropdownGroup": "--color-border-dropdown-group-zgquz8",
10412
+ "colorBorderDropdownItemDefault": "--color-border-dropdown-item-default-dofu99",
10411
10413
  "colorBorderDropdownItemHover": "--color-border-dropdown-item-hover-461g78",
10412
10414
  "colorBorderDropdownItemDimmedHover": "--color-border-dropdown-item-dimmed-hover-xdu0hf",
10413
10415
  "colorBorderDropdownItemSelected": "--color-border-dropdown-item-selected-096aj1",
@@ -10484,8 +10486,8 @@ module.exports.preset = {
10484
10486
  "colorTextDropdownItemSecondary": "--color-text-dropdown-item-secondary-jho0ju",
10485
10487
  "colorTextDropdownItemSecondaryHover": "--color-text-dropdown-item-secondary-hover-zfmqjr",
10486
10488
  "colorTextEmpty": "--color-text-empty-2wfcyr",
10487
- "colorTextExpandableSectionDefault": "--color-text-expandable-section-default-jh4jdf",
10488
- "colorTextExpandableSectionHover": "--color-text-expandable-section-hover-pfe4fw",
10489
+ "colorTextExpandableSectionDefault": "--color-text-expandable-section-default-lm3qgp",
10490
+ "colorTextExpandableSectionHover": "--color-text-expandable-section-hover-2d1zpj",
10489
10491
  "colorTextExpandableSectionNavigationIconDefault": "--color-text-expandable-section-navigation-icon-default-htcovl",
10490
10492
  "colorTextFormDefault": "--color-text-form-default-vh42kd",
10491
10493
  "colorTextFormLabel": "--color-text-form-label-ktbzsd",
@@ -10552,7 +10554,7 @@ module.exports.preset = {
10552
10554
  "fontDisplayLLineHeight": "--font-display-l-line-height-07o0h7",
10553
10555
  "fontDisplayLSize": "--font-display-l-size-0u12dn",
10554
10556
  "fontDisplayLabelWeight": "--font-display-label-weight-815ja9",
10555
- "fontExpandableHeadingSize": "--font-expandable-heading-size-93i095",
10557
+ "fontExpandableHeadingSize": "--font-expandable-heading-size-smdiul",
10556
10558
  "fontFamilyBase": "--font-family-base-dnvic8",
10557
10559
  "fontFamilyMonospace": "--font-family-monospace-bftdwf",
10558
10560
  "fontHeaderH2DescriptionLineHeight": "--font-header-h2-description-line-height-rtewek",
@@ -10589,13 +10591,13 @@ module.exports.preset = {
10589
10591
  "fontWayfindingLinkActiveWeight": "--font-wayfinding-link-active-weight-rbmzei",
10590
10592
  "fontWeightHeavy": "--font-weight-heavy-cqd9pv",
10591
10593
  "borderActiveWidth": "--border-active-width-9dmqf4",
10592
- "borderCodeEditorStatusDividerWidth": "--border-code-editor-status-divider-width-stg9sc",
10594
+ "borderCodeEditorStatusDividerWidth": "--border-code-editor-status-divider-width-6zj7o8",
10593
10595
  "borderContainerStickyWidth": "--border-container-sticky-width-6asz33",
10594
10596
  "borderContainerTopWidth": "--border-container-top-width-uugwwl",
10595
10597
  "borderControlFocusRingShadowSpread": "--border-control-focus-ring-shadow-spread-0ctpjf",
10596
10598
  "borderControlInvalidFocusRingShadowSpread": "--border-control-invalid-focus-ring-shadow-spread-fhmbjn",
10597
10599
  "borderDividerListWidth": "--border-divider-list-width-27y3k5",
10598
- "borderDividerSectionWidth": "--border-divider-section-width-4ax5o2",
10600
+ "borderDividerSectionWidth": "--border-divider-section-width-8a5uu9",
10599
10601
  "borderDropdownVirtualOffsetWidth": "--border-dropdown-virtual-offset-width-kekgc0",
10600
10602
  "borderFieldWidth": "--border-field-width-09w7vk",
10601
10603
  "borderInvalidWidth": "--border-invalid-width-5ktjp2",
@@ -6900,8 +6900,8 @@ export var preset = {
6900
6900
  "dark": "{colorGrey100}"
6901
6901
  },
6902
6902
  "colorBorderDividerDefault": {
6903
- "light": "{colorGrey200}",
6904
- "dark": "{colorGrey600}"
6903
+ "light": "{colorTextButtonNormalDefault}",
6904
+ "dark": "{colorTextButtonNormalDefault}"
6905
6905
  },
6906
6906
  "colorBorderDividerPanelBottom": {
6907
6907
  "light": "{colorBorderDividerDefault}",
@@ -7228,12 +7228,12 @@ export var preset = {
7228
7228
  "dark": "{colorGrey300}"
7229
7229
  },
7230
7230
  "colorTextExpandableSectionDefault": {
7231
- "light": "{colorTextInteractiveActive}",
7232
- "dark": "{colorTextInteractiveActive}"
7231
+ "light": "{colorTextButtonNormalDefault}",
7232
+ "dark": "{colorTextButtonNormalDefault}"
7233
7233
  },
7234
7234
  "colorTextExpandableSectionHover": {
7235
- "light": "{colorTextAccent}",
7236
- "dark": "{colorTextAccent}"
7235
+ "light": "{colorTextButtonNormalHover}",
7236
+ "dark": "{colorTextButtonNormalHover}"
7237
7237
  },
7238
7238
  "colorTextExpandableSectionNavigationIconDefault": {
7239
7239
  "light": "{colorTextInteractiveDefault}",
@@ -7450,7 +7450,9 @@ export var preset = {
7450
7450
  "colorDropzoneTextHover": {
7451
7451
  "light": "{colorBlue800}",
7452
7452
  "dark": "{colorWhite}"
7453
- }
7453
+ },
7454
+ "fontExpandableHeadingSize": "14px",
7455
+ "borderDividerSectionWidth": "1px"
7454
7456
  }
7455
7457
  },
7456
7458
  "alert-header": {
@@ -7834,8 +7836,8 @@ export var preset = {
7834
7836
  "dark": "{colorGrey100}"
7835
7837
  },
7836
7838
  "colorBorderDividerDefault": {
7837
- "light": "{colorGrey600}",
7838
- "dark": "{colorGrey600}"
7839
+ "light": "{colorTextButtonNormalDefault}",
7840
+ "dark": "{colorTextButtonNormalDefault}"
7839
7841
  },
7840
7842
  "colorBorderDividerPanelBottom": {
7841
7843
  "light": "{colorGreyTransparent}",
@@ -8162,12 +8164,12 @@ export var preset = {
8162
8164
  "dark": "{colorGrey300}"
8163
8165
  },
8164
8166
  "colorTextExpandableSectionDefault": {
8165
- "light": "{colorTextInteractiveActive}",
8166
- "dark": "{colorTextInteractiveActive}"
8167
+ "light": "{colorTextButtonNormalDefault}",
8168
+ "dark": "{colorTextButtonNormalDefault}"
8167
8169
  },
8168
8170
  "colorTextExpandableSectionHover": {
8169
- "light": "{colorTextAccent}",
8170
- "dark": "{colorTextAccent}"
8171
+ "light": "{colorTextButtonNormalHover}",
8172
+ "dark": "{colorTextButtonNormalHover}"
8171
8173
  },
8172
8174
  "colorTextExpandableSectionNavigationIconDefault": {
8173
8175
  "light": "{colorTextInteractiveDefault}",
@@ -10402,12 +10404,12 @@ export var preset = {
10402
10404
  "colorBorderControlDefault": "--color-border-control-default-0fzxw0",
10403
10405
  "colorBorderControlDisabled": "--color-border-control-disabled-bv2kkn",
10404
10406
  "colorBorderDividerActive": "--color-border-divider-active-k4haaf",
10405
- "colorBorderDividerDefault": "--color-border-divider-default-d3adp9",
10406
- "colorBorderDividerPanelBottom": "--color-border-divider-panel-bottom-s8zdda",
10407
- "colorBorderDividerPanelSide": "--color-border-divider-panel-side-ompdsw",
10407
+ "colorBorderDividerDefault": "--color-border-divider-default-et9j7s",
10408
+ "colorBorderDividerPanelBottom": "--color-border-divider-panel-bottom-16n9vt",
10409
+ "colorBorderDividerPanelSide": "--color-border-divider-panel-side-qqne3x",
10408
10410
  "colorBorderDropdownContainer": "--color-border-dropdown-container-5boaph",
10409
- "colorBorderDropdownGroup": "--color-border-dropdown-group-c2r4dp",
10410
- "colorBorderDropdownItemDefault": "--color-border-dropdown-item-default-rgr5b2",
10411
+ "colorBorderDropdownGroup": "--color-border-dropdown-group-zgquz8",
10412
+ "colorBorderDropdownItemDefault": "--color-border-dropdown-item-default-dofu99",
10411
10413
  "colorBorderDropdownItemHover": "--color-border-dropdown-item-hover-461g78",
10412
10414
  "colorBorderDropdownItemDimmedHover": "--color-border-dropdown-item-dimmed-hover-xdu0hf",
10413
10415
  "colorBorderDropdownItemSelected": "--color-border-dropdown-item-selected-096aj1",
@@ -10484,8 +10486,8 @@ export var preset = {
10484
10486
  "colorTextDropdownItemSecondary": "--color-text-dropdown-item-secondary-jho0ju",
10485
10487
  "colorTextDropdownItemSecondaryHover": "--color-text-dropdown-item-secondary-hover-zfmqjr",
10486
10488
  "colorTextEmpty": "--color-text-empty-2wfcyr",
10487
- "colorTextExpandableSectionDefault": "--color-text-expandable-section-default-jh4jdf",
10488
- "colorTextExpandableSectionHover": "--color-text-expandable-section-hover-pfe4fw",
10489
+ "colorTextExpandableSectionDefault": "--color-text-expandable-section-default-lm3qgp",
10490
+ "colorTextExpandableSectionHover": "--color-text-expandable-section-hover-2d1zpj",
10489
10491
  "colorTextExpandableSectionNavigationIconDefault": "--color-text-expandable-section-navigation-icon-default-htcovl",
10490
10492
  "colorTextFormDefault": "--color-text-form-default-vh42kd",
10491
10493
  "colorTextFormLabel": "--color-text-form-label-ktbzsd",
@@ -10552,7 +10554,7 @@ export var preset = {
10552
10554
  "fontDisplayLLineHeight": "--font-display-l-line-height-07o0h7",
10553
10555
  "fontDisplayLSize": "--font-display-l-size-0u12dn",
10554
10556
  "fontDisplayLabelWeight": "--font-display-label-weight-815ja9",
10555
- "fontExpandableHeadingSize": "--font-expandable-heading-size-93i095",
10557
+ "fontExpandableHeadingSize": "--font-expandable-heading-size-smdiul",
10556
10558
  "fontFamilyBase": "--font-family-base-dnvic8",
10557
10559
  "fontFamilyMonospace": "--font-family-monospace-bftdwf",
10558
10560
  "fontHeaderH2DescriptionLineHeight": "--font-header-h2-description-line-height-rtewek",
@@ -10589,13 +10591,13 @@ export var preset = {
10589
10591
  "fontWayfindingLinkActiveWeight": "--font-wayfinding-link-active-weight-rbmzei",
10590
10592
  "fontWeightHeavy": "--font-weight-heavy-cqd9pv",
10591
10593
  "borderActiveWidth": "--border-active-width-9dmqf4",
10592
- "borderCodeEditorStatusDividerWidth": "--border-code-editor-status-divider-width-stg9sc",
10594
+ "borderCodeEditorStatusDividerWidth": "--border-code-editor-status-divider-width-6zj7o8",
10593
10595
  "borderContainerStickyWidth": "--border-container-sticky-width-6asz33",
10594
10596
  "borderContainerTopWidth": "--border-container-top-width-uugwwl",
10595
10597
  "borderControlFocusRingShadowSpread": "--border-control-focus-ring-shadow-spread-0ctpjf",
10596
10598
  "borderControlInvalidFocusRingShadowSpread": "--border-control-invalid-focus-ring-shadow-spread-fhmbjn",
10597
10599
  "borderDividerListWidth": "--border-divider-list-width-27y3k5",
10598
- "borderDividerSectionWidth": "--border-divider-section-width-4ax5o2",
10600
+ "borderDividerSectionWidth": "--border-divider-section-width-8a5uu9",
10599
10601
  "borderDropdownVirtualOffsetWidth": "--border-dropdown-virtual-offset-width-kekgc0",
10600
10602
  "borderFieldWidth": "--border-field-width-09w7vk",
10601
10603
  "borderInvalidWidth": "--border-invalid-width-5ktjp2",
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "2ca759e20b944de7f7bfa668be298684df771d2e"
2
+ "commit": "7108c464847229e22776be0615e176434d8819cf"
3
3
  }
@@ -1,30 +1,26 @@
1
- import { DrawerConfig, DrawersRegistrationListener } from './controllers/drawers';
2
- import { ActionConfig, ActionRegistrationListener } from './controllers/action-buttons';
3
- interface AwsuiPluginApiPublic {
4
- appLayout: {
5
- registerDrawer(config: DrawerConfig): void;
1
+ import { DrawersApiInternal, DrawersApiPublic } from './controllers/drawers';
2
+ import { ActionsApiInternal, ActionsApiPublic } from './controllers/action-buttons';
3
+ interface AwsuiApi {
4
+ awsuiPlugins: {
5
+ appLayout: DrawersApiPublic;
6
+ alert: ActionsApiPublic;
7
+ flashbar: ActionsApiPublic;
6
8
  };
7
- alert: {
8
- registerAction(config: ActionConfig): void;
9
- };
10
- flashbar: {
11
- registerAction(config: ActionConfig): void;
12
- };
13
- }
14
- interface AwsuiPluginApiInternal {
15
- appLayout: {
16
- clearRegisteredDrawers(): void;
17
- onDrawersRegistered(listener: DrawersRegistrationListener): () => void;
18
- };
19
- alert: {
20
- clearRegisteredActions: () => void;
21
- onActionRegistered(listener: ActionRegistrationListener): () => void;
22
- };
23
- flashbar: {
24
- clearRegisteredActions: () => void;
25
- onActionRegistered(listener: ActionRegistrationListener): () => void;
9
+ awsuiPluginsInternal: {
10
+ appLayout: DrawersApiInternal;
11
+ alert: ActionsApiInternal;
12
+ flashbar: ActionsApiInternal;
26
13
  };
27
14
  }
28
- export declare const awsuiPlugins: AwsuiPluginApiPublic, awsuiPluginsInternal: AwsuiPluginApiInternal;
15
+ export declare function loadApi(): AwsuiApi;
16
+ export declare const awsuiPlugins: {
17
+ appLayout: DrawersApiPublic;
18
+ alert: ActionsApiPublic;
19
+ flashbar: ActionsApiPublic;
20
+ }, awsuiPluginsInternal: {
21
+ appLayout: DrawersApiInternal;
22
+ alert: ActionsApiInternal;
23
+ flashbar: ActionsApiInternal;
24
+ };
29
25
  export {};
30
26
  //# sourceMappingURL=api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"lib/default/","sources":["internal/plugins/api.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAqB,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AACrG,OAAO,EAA2B,YAAY,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAIjH,UAAU,oBAAoB;IAC5B,SAAS,EAAE;QACT,cAAc,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAAC;KAC5C,CAAC;IACF,KAAK,EAAE;QACL,cAAc,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAAC;KAC5C,CAAC;IACF,QAAQ,EAAE;QACR,cAAc,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAAC;KAC5C,CAAC;CACH;AACD,UAAU,sBAAsB;IAC9B,SAAS,EAAE;QACT,sBAAsB,IAAI,IAAI,CAAC;QAC/B,mBAAmB,CAAC,QAAQ,EAAE,2BAA2B,GAAG,MAAM,IAAI,CAAC;KACxE,CAAC;IACF,KAAK,EAAE;QACL,sBAAsB,EAAE,MAAM,IAAI,CAAC;QACnC,kBAAkB,CAAC,QAAQ,EAAE,0BAA0B,GAAG,MAAM,IAAI,CAAC;KACtE,CAAC;IACF,QAAQ,EAAE;QACR,sBAAsB,EAAE,MAAM,IAAI,CAAC;QACnC,kBAAkB,CAAC,QAAQ,EAAE,0BAA0B,GAAG,MAAM,IAAI,CAAC;KACtE,CAAC;CACH;AA0CD,eAAO,MAAQ,YAAY,wBAAE,oBAAoB,wBAAc,CAAC"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"lib/default/","sources":["internal/plugins/api.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAqB,MAAM,uBAAuB,CAAC;AAChG,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAA2B,MAAM,8BAA8B,CAAC;AAI7G,UAAU,QAAQ;IAChB,YAAY,EAAE;QACZ,SAAS,EAAE,gBAAgB,CAAC;QAC5B,KAAK,EAAE,gBAAgB,CAAC;QACxB,QAAQ,EAAE,gBAAgB,CAAC;KAC5B,CAAC;IACF,oBAAoB,EAAE;QACpB,SAAS,EAAE,kBAAkB,CAAC;QAC9B,KAAK,EAAE,kBAAkB,CAAC;QAC1B,QAAQ,EAAE,kBAAkB,CAAC;KAC9B,CAAC;CACH;AAwBD,wBAAgB,OAAO,aAQtB;AAED,eAAO,MAAQ,YAAY;eA3CZ,gBAAgB;WACpB,gBAAgB;cACb,gBAAgB;GAyCD,oBAAoB;eAtClC,kBAAkB;WACtB,kBAAkB;cACf,kBAAkB;CAoC+B,CAAC"}
@@ -19,49 +19,29 @@ function findUpApi(currentWindow) {
19
19
  return undefined;
20
20
  }
21
21
  }
22
- function loadApi() {
22
+ export function loadApi() {
23
23
  if (typeof window === 'undefined') {
24
- return createApi();
24
+ return installApi({});
25
25
  }
26
26
  const win = window;
27
- const api = findUpApi(win);
28
- if (api) {
29
- return api;
30
- }
31
- win[storageKey] = createApi();
27
+ const existingApi = findUpApi(win);
28
+ win[storageKey] = installApi(existingApi !== null && existingApi !== void 0 ? existingApi : {});
32
29
  return win[storageKey];
33
30
  }
34
31
  export const { awsuiPlugins, awsuiPluginsInternal } = loadApi();
35
- function createApi() {
32
+ function installApi(api) {
33
+ var _a, _b;
34
+ (_a = api.awsuiPlugins) !== null && _a !== void 0 ? _a : (api.awsuiPlugins = {});
35
+ (_b = api.awsuiPluginsInternal) !== null && _b !== void 0 ? _b : (api.awsuiPluginsInternal = {});
36
36
  const appLayoutDrawers = new DrawersController();
37
+ api.awsuiPlugins.appLayout = appLayoutDrawers.installPublic(api.awsuiPlugins.appLayout);
38
+ api.awsuiPluginsInternal.appLayout = appLayoutDrawers.installInternal(api.awsuiPluginsInternal.appLayout);
37
39
  const alertActions = new ActionButtonsController();
40
+ api.awsuiPlugins.alert = alertActions.installPublic(api.awsuiPlugins.alert);
41
+ api.awsuiPluginsInternal.alert = alertActions.installInternal(api.awsuiPluginsInternal.alert);
38
42
  const flashbarActions = new ActionButtonsController();
39
- return {
40
- awsuiPlugins: {
41
- appLayout: {
42
- registerDrawer: appLayoutDrawers.registerDrawer,
43
- },
44
- alert: {
45
- registerAction: alertActions.registerAction,
46
- },
47
- flashbar: {
48
- registerAction: flashbarActions.registerAction,
49
- },
50
- },
51
- awsuiPluginsInternal: {
52
- appLayout: {
53
- clearRegisteredDrawers: appLayoutDrawers.clearRegisteredDrawers,
54
- onDrawersRegistered: appLayoutDrawers.onDrawersRegistered,
55
- },
56
- alert: {
57
- clearRegisteredActions: alertActions.clearRegisteredActions,
58
- onActionRegistered: alertActions.onActionRegistered,
59
- },
60
- flashbar: {
61
- clearRegisteredActions: flashbarActions.clearRegisteredActions,
62
- onActionRegistered: flashbarActions.onActionRegistered,
63
- },
64
- },
65
- };
43
+ api.awsuiPlugins.flashbar = flashbarActions.installPublic(api.awsuiPlugins.flashbar);
44
+ api.awsuiPluginsInternal.flashbar = flashbarActions.installInternal(api.awsuiPluginsInternal.flashbar);
45
+ return api;
66
46
  }
67
47
  //# sourceMappingURL=api.js.map