@cloudscape-design/components 3.0.630 → 3.0.632

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 (111) hide show
  1. package/autosuggest/internal.d.ts.map +1 -1
  2. package/autosuggest/internal.js +10 -0
  3. package/autosuggest/internal.js.map +1 -1
  4. package/breadcrumb-group/implementation.d.ts +8 -0
  5. package/breadcrumb-group/implementation.d.ts.map +1 -0
  6. package/breadcrumb-group/implementation.js +71 -0
  7. package/breadcrumb-group/implementation.js.map +1 -0
  8. package/breadcrumb-group/index.js +1 -1
  9. package/breadcrumb-group/index.js.map +1 -1
  10. package/breadcrumb-group/internal.d.ts +1 -11
  11. package/breadcrumb-group/internal.d.ts.map +1 -1
  12. package/breadcrumb-group/internal.js +2 -70
  13. package/breadcrumb-group/internal.js.map +1 -1
  14. package/breadcrumb-group/item/item.js +1 -1
  15. package/breadcrumb-group/item/item.js.map +1 -1
  16. package/breadcrumb-group/utils.d.ts +7 -0
  17. package/breadcrumb-group/utils.d.ts.map +1 -0
  18. package/breadcrumb-group/utils.js +6 -0
  19. package/breadcrumb-group/utils.js.map +1 -0
  20. package/drawer/implementation.d.ts +7 -0
  21. package/drawer/implementation.d.ts.map +1 -0
  22. package/drawer/implementation.js +24 -0
  23. package/drawer/implementation.js.map +1 -0
  24. package/drawer/index.d.ts +1 -1
  25. package/drawer/index.d.ts.map +1 -1
  26. package/drawer/index.js +4 -18
  27. package/drawer/index.js.map +1 -1
  28. package/drawer/internal.d.ts +2 -0
  29. package/drawer/internal.d.ts.map +1 -0
  30. package/drawer/internal.js +5 -0
  31. package/drawer/internal.js.map +1 -0
  32. package/form-field/styles.css.js +23 -23
  33. package/form-field/styles.scoped.css +38 -37
  34. package/form-field/styles.selectors.js +23 -23
  35. package/help-panel/implementation.d.ts +7 -0
  36. package/help-panel/implementation.d.ts.map +1 -0
  37. package/help-panel/implementation.js +27 -0
  38. package/help-panel/implementation.js.map +1 -0
  39. package/help-panel/index.d.ts +1 -1
  40. package/help-panel/index.d.ts.map +1 -1
  41. package/help-panel/index.js +4 -21
  42. package/help-panel/index.js.map +1 -1
  43. package/help-panel/internal.d.ts +2 -0
  44. package/help-panel/internal.d.ts.map +1 -0
  45. package/help-panel/internal.js +5 -0
  46. package/help-panel/internal.js.map +1 -0
  47. package/internal/base-component/styles.scoped.css +5 -0
  48. package/internal/components/options-list/utils/use-keyboard.d.ts +2 -1
  49. package/internal/components/options-list/utils/use-keyboard.d.ts.map +1 -1
  50. package/internal/components/options-list/utils/use-keyboard.js +4 -4
  51. package/internal/components/options-list/utils/use-keyboard.js.map +1 -1
  52. package/internal/environment.js +1 -1
  53. package/internal/environment.json +1 -1
  54. package/internal/generated/styles/tokens.d.ts +1 -0
  55. package/internal/generated/styles/tokens.js +1 -0
  56. package/internal/generated/theming/index.cjs +31 -0
  57. package/internal/generated/theming/index.js +31 -0
  58. package/internal/manifest.json +1 -1
  59. package/internal/widgets/index.d.ts +4 -0
  60. package/internal/widgets/index.d.ts.map +1 -0
  61. package/internal/widgets/index.js +28 -0
  62. package/internal/widgets/index.js.map +1 -0
  63. package/link/styles.css.js +20 -20
  64. package/link/styles.scoped.css +71 -75
  65. package/link/styles.selectors.js +20 -20
  66. package/package.json +1 -1
  67. package/s3-resource-selector/s3-modal/index.js +2 -2
  68. package/s3-resource-selector/s3-modal/index.js.map +1 -1
  69. package/select/utils/use-select.d.ts.map +1 -1
  70. package/select/utils/use-select.js +15 -1
  71. package/select/utils/use-select.js.map +1 -1
  72. package/side-navigation/implementation.d.ts +7 -0
  73. package/side-navigation/implementation.d.ts.map +1 -0
  74. package/side-navigation/implementation.js +36 -0
  75. package/side-navigation/implementation.js.map +1 -0
  76. package/side-navigation/index.d.ts +1 -1
  77. package/side-navigation/index.d.ts.map +1 -1
  78. package/side-navigation/index.js +5 -29
  79. package/side-navigation/index.js.map +1 -1
  80. package/side-navigation/internal.d.ts +1 -17
  81. package/side-navigation/internal.d.ts.map +1 -1
  82. package/side-navigation/internal.js +2 -182
  83. package/side-navigation/internal.js.map +1 -1
  84. package/side-navigation/parts.d.ts +18 -0
  85. package/side-navigation/parts.d.ts.map +1 -0
  86. package/side-navigation/parts.js +185 -0
  87. package/side-navigation/parts.js.map +1 -0
  88. package/slider/internal.d.ts.map +1 -1
  89. package/slider/internal.js +6 -2
  90. package/slider/internal.js.map +1 -1
  91. package/slider/styles.css.js +25 -23
  92. package/slider/styles.scoped.css +95 -52
  93. package/slider/styles.selectors.js +25 -23
  94. package/slider/tick-marks.d.ts +1 -0
  95. package/slider/tick-marks.d.ts.map +1 -1
  96. package/slider/tick-marks.js +4 -1
  97. package/slider/tick-marks.js.map +1 -1
  98. package/split-panel/implementation.d.ts +1 -0
  99. package/split-panel/implementation.d.ts.map +1 -1
  100. package/split-panel/implementation.js +2 -0
  101. package/split-panel/implementation.js.map +1 -1
  102. package/split-panel/styles.css.js +57 -57
  103. package/split-panel/styles.scoped.css +78 -77
  104. package/split-panel/styles.selectors.js +57 -57
  105. package/split-panel/widget.d.ts +1 -5
  106. package/split-panel/widget.d.ts.map +1 -1
  107. package/split-panel/widget.js +1 -13
  108. package/split-panel/widget.js.map +1 -1
  109. package/table/selection/use-selection.d.ts.map +1 -1
  110. package/table/selection/use-selection.js +59 -64
  111. package/table/selection/use-selection.js.map +1 -1
@@ -1,28 +1,28 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "error-icon-shake-wrapper": "awsui_error-icon-shake-wrapper_14mhv_kp9ld_103",
5
- "warning-icon-shake-wrapper": "awsui_warning-icon-shake-wrapper_14mhv_kp9ld_104",
6
- "awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-horizontally_14mhv_kp9ld_1",
7
- "error-icon-scale-wrapper": "awsui_error-icon-scale-wrapper_14mhv_kp9ld_134",
8
- "warning-icon-scale-wrapper": "awsui_warning-icon-scale-wrapper_14mhv_kp9ld_135",
9
- "awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_14mhv_kp9ld_1",
10
- "warning": "awsui_warning_14mhv_kp9ld_104",
11
- "error": "awsui_error_14mhv_kp9ld_103",
12
- "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_14mhv_kp9ld_1",
13
- "root": "awsui_root_14mhv_kp9ld_186",
14
- "label": "awsui_label_14mhv_kp9ld_222",
15
- "info": "awsui_info_14mhv_kp9ld_236",
16
- "description": "awsui_description_14mhv_kp9ld_241",
17
- "constraint": "awsui_constraint_14mhv_kp9ld_242",
18
- "hints": "awsui_hints_14mhv_kp9ld_249",
19
- "constraint-has-validation-text": "awsui_constraint-has-validation-text_14mhv_kp9ld_250",
20
- "secondary-control": "awsui_secondary-control_14mhv_kp9ld_254",
21
- "controls": "awsui_controls_14mhv_kp9ld_258",
22
- "label-hidden": "awsui_label-hidden_14mhv_kp9ld_258",
23
- "control": "awsui_control_14mhv_kp9ld_258",
24
- "error__message": "awsui_error__message_14mhv_kp9ld_285",
25
- "warning__message": "awsui_warning__message_14mhv_kp9ld_286",
26
- "visually-hidden": "awsui_visually-hidden_14mhv_kp9ld_290"
4
+ "error-icon-shake-wrapper": "awsui_error-icon-shake-wrapper_14mhv_3golc_103",
5
+ "warning-icon-shake-wrapper": "awsui_warning-icon-shake-wrapper_14mhv_3golc_104",
6
+ "awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-horizontally_14mhv_3golc_1",
7
+ "error-icon-scale-wrapper": "awsui_error-icon-scale-wrapper_14mhv_3golc_134",
8
+ "warning-icon-scale-wrapper": "awsui_warning-icon-scale-wrapper_14mhv_3golc_135",
9
+ "awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_14mhv_3golc_1",
10
+ "warning": "awsui_warning_14mhv_3golc_104",
11
+ "error": "awsui_error_14mhv_3golc_103",
12
+ "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_14mhv_3golc_1",
13
+ "root": "awsui_root_14mhv_3golc_186",
14
+ "label": "awsui_label_14mhv_3golc_222",
15
+ "info": "awsui_info_14mhv_3golc_236",
16
+ "description": "awsui_description_14mhv_3golc_242",
17
+ "constraint": "awsui_constraint_14mhv_3golc_243",
18
+ "hints": "awsui_hints_14mhv_3golc_250",
19
+ "constraint-has-validation-text": "awsui_constraint-has-validation-text_14mhv_3golc_251",
20
+ "secondary-control": "awsui_secondary-control_14mhv_3golc_255",
21
+ "controls": "awsui_controls_14mhv_3golc_259",
22
+ "label-hidden": "awsui_label-hidden_14mhv_3golc_259",
23
+ "control": "awsui_control_14mhv_3golc_259",
24
+ "error__message": "awsui_error__message_14mhv_3golc_286",
25
+ "warning__message": "awsui_warning__message_14mhv_3golc_287",
26
+ "visually-hidden": "awsui_visually-hidden_14mhv_3golc_291"
27
27
  };
28
28
 
@@ -100,11 +100,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
100
100
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
101
101
  SPDX-License-Identifier: Apache-2.0
102
102
  */
103
- .awsui_error-icon-shake-wrapper_14mhv_kp9ld_103:not(#\9),
104
- .awsui_warning-icon-shake-wrapper_14mhv_kp9ld_104:not(#\9) {
105
- animation: awsui_awsui-motion-shake-horizontally_14mhv_kp9ld_1 var(--motion-duration-refresh-only-medium-nf6485, 165ms);
103
+ .awsui_error-icon-shake-wrapper_14mhv_3golc_103:not(#\9),
104
+ .awsui_warning-icon-shake-wrapper_14mhv_3golc_104:not(#\9) {
105
+ animation: awsui_awsui-motion-shake-horizontally_14mhv_3golc_1 var(--motion-duration-refresh-only-medium-nf6485, 165ms);
106
106
  }
107
- @keyframes awsui_awsui-motion-shake-horizontally_14mhv_kp9ld_1 {
107
+ @keyframes awsui_awsui-motion-shake-horizontally_14mhv_3golc_1 {
108
108
  0% {
109
109
  transform: translateX(-5px);
110
110
  animation-timing-function: linear;
@@ -118,22 +118,22 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
118
118
  }
119
119
  }
120
120
  @media (prefers-reduced-motion: reduce) {
121
- .awsui_error-icon-shake-wrapper_14mhv_kp9ld_103:not(#\9),
122
- .awsui_warning-icon-shake-wrapper_14mhv_kp9ld_104:not(#\9) {
121
+ .awsui_error-icon-shake-wrapper_14mhv_3golc_103:not(#\9),
122
+ .awsui_warning-icon-shake-wrapper_14mhv_3golc_104:not(#\9) {
123
123
  animation: none;
124
124
  transition: none;
125
125
  }
126
126
  }
127
- .awsui-motion-disabled .awsui_error-icon-shake-wrapper_14mhv_kp9ld_103:not(#\9), .awsui-mode-entering .awsui_error-icon-shake-wrapper_14mhv_kp9ld_103:not(#\9), .awsui-motion-disabled .awsui_warning-icon-shake-wrapper_14mhv_kp9ld_104:not(#\9), .awsui-mode-entering .awsui_warning-icon-shake-wrapper_14mhv_kp9ld_104:not(#\9) {
127
+ .awsui-motion-disabled .awsui_error-icon-shake-wrapper_14mhv_3golc_103:not(#\9), .awsui-mode-entering .awsui_error-icon-shake-wrapper_14mhv_3golc_103:not(#\9), .awsui-motion-disabled .awsui_warning-icon-shake-wrapper_14mhv_3golc_104:not(#\9), .awsui-mode-entering .awsui_warning-icon-shake-wrapper_14mhv_3golc_104:not(#\9) {
128
128
  animation: none;
129
129
  transition: none;
130
130
  }
131
131
 
132
- .awsui_error-icon-scale-wrapper_14mhv_kp9ld_134:not(#\9),
133
- .awsui_warning-icon-scale-wrapper_14mhv_kp9ld_135:not(#\9) {
134
- animation: awsui_awsui-motion-scale-popup_14mhv_kp9ld_1 var(--motion-duration-refresh-only-medium-nf6485, 165ms) var(--motion-easing-refresh-only-a-8flf9q, cubic-bezier(0, 0, 0, 1));
132
+ .awsui_error-icon-scale-wrapper_14mhv_3golc_134:not(#\9),
133
+ .awsui_warning-icon-scale-wrapper_14mhv_3golc_135:not(#\9) {
134
+ animation: awsui_awsui-motion-scale-popup_14mhv_3golc_1 var(--motion-duration-refresh-only-medium-nf6485, 165ms) var(--motion-easing-refresh-only-a-8flf9q, cubic-bezier(0, 0, 0, 1));
135
135
  }
136
- @keyframes awsui_awsui-motion-scale-popup_14mhv_kp9ld_1 {
136
+ @keyframes awsui_awsui-motion-scale-popup_14mhv_3golc_1 {
137
137
  0% {
138
138
  transform: scale(0.95);
139
139
  }
@@ -142,22 +142,22 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
142
142
  }
143
143
  }
144
144
  @media (prefers-reduced-motion: reduce) {
145
- .awsui_error-icon-scale-wrapper_14mhv_kp9ld_134:not(#\9),
146
- .awsui_warning-icon-scale-wrapper_14mhv_kp9ld_135:not(#\9) {
145
+ .awsui_error-icon-scale-wrapper_14mhv_3golc_134:not(#\9),
146
+ .awsui_warning-icon-scale-wrapper_14mhv_3golc_135:not(#\9) {
147
147
  animation: none;
148
148
  transition: none;
149
149
  }
150
150
  }
151
- .awsui-motion-disabled .awsui_error-icon-scale-wrapper_14mhv_kp9ld_134:not(#\9), .awsui-mode-entering .awsui_error-icon-scale-wrapper_14mhv_kp9ld_134:not(#\9), .awsui-motion-disabled .awsui_warning-icon-scale-wrapper_14mhv_kp9ld_135:not(#\9), .awsui-mode-entering .awsui_warning-icon-scale-wrapper_14mhv_kp9ld_135:not(#\9) {
151
+ .awsui-motion-disabled .awsui_error-icon-scale-wrapper_14mhv_3golc_134:not(#\9), .awsui-mode-entering .awsui_error-icon-scale-wrapper_14mhv_3golc_134:not(#\9), .awsui-motion-disabled .awsui_warning-icon-scale-wrapper_14mhv_3golc_135:not(#\9), .awsui-mode-entering .awsui_warning-icon-scale-wrapper_14mhv_3golc_135:not(#\9) {
152
152
  animation: none;
153
153
  transition: none;
154
154
  }
155
155
 
156
- .awsui_warning_14mhv_kp9ld_104:not(#\9),
157
- .awsui_error_14mhv_kp9ld_103:not(#\9) {
158
- animation: awsui_awsui-motion-fade-in-0_14mhv_kp9ld_1 var(--motion-duration-refresh-only-medium-nf6485, 165ms) var(--motion-easing-refresh-only-a-8flf9q, cubic-bezier(0, 0, 0, 1));
156
+ .awsui_warning_14mhv_3golc_104:not(#\9),
157
+ .awsui_error_14mhv_3golc_103:not(#\9) {
158
+ animation: awsui_awsui-motion-fade-in-0_14mhv_3golc_1 var(--motion-duration-refresh-only-medium-nf6485, 165ms) var(--motion-easing-refresh-only-a-8flf9q, cubic-bezier(0, 0, 0, 1));
159
159
  }
160
- @keyframes awsui_awsui-motion-fade-in-0_14mhv_kp9ld_1 {
160
+ @keyframes awsui_awsui-motion-fade-in-0_14mhv_3golc_1 {
161
161
  from {
162
162
  opacity: 0;
163
163
  }
@@ -166,18 +166,18 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
166
166
  }
167
167
  }
168
168
  @media (prefers-reduced-motion: reduce) {
169
- .awsui_warning_14mhv_kp9ld_104:not(#\9),
170
- .awsui_error_14mhv_kp9ld_103:not(#\9) {
169
+ .awsui_warning_14mhv_3golc_104:not(#\9),
170
+ .awsui_error_14mhv_3golc_103:not(#\9) {
171
171
  animation: none;
172
172
  transition: none;
173
173
  }
174
174
  }
175
- .awsui-motion-disabled .awsui_warning_14mhv_kp9ld_104:not(#\9), .awsui-mode-entering .awsui_warning_14mhv_kp9ld_104:not(#\9), .awsui-motion-disabled .awsui_error_14mhv_kp9ld_103:not(#\9), .awsui-mode-entering .awsui_error_14mhv_kp9ld_103:not(#\9) {
175
+ .awsui-motion-disabled .awsui_warning_14mhv_3golc_104:not(#\9), .awsui-mode-entering .awsui_warning_14mhv_3golc_104:not(#\9), .awsui-motion-disabled .awsui_error_14mhv_3golc_103:not(#\9), .awsui-mode-entering .awsui_error_14mhv_3golc_103:not(#\9) {
176
176
  animation: none;
177
177
  transition: none;
178
178
  }
179
179
 
180
- .awsui_root_14mhv_kp9ld_186:not(#\9) {
180
+ .awsui_root_14mhv_3golc_186:not(#\9) {
181
181
  border-collapse: separate;
182
182
  border-spacing: 0;
183
183
  box-sizing: border-box;
@@ -214,7 +214,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
214
214
  box-sizing: border-box;
215
215
  }
216
216
 
217
- .awsui_label_14mhv_kp9ld_222:not(#\9) {
217
+ .awsui_label_14mhv_3golc_222:not(#\9) {
218
218
  box-sizing: border-box;
219
219
  color: var(--color-text-form-label-ktbzsd, #000716);
220
220
  display: inline;
@@ -223,43 +223,44 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
223
223
  font-weight: var(--font-display-label-weight-815ja9, 700);
224
224
  margin-inline-end: var(--space-xs-zb16t3, 8px);
225
225
  }
226
- .awsui_label_14mhv_kp9ld_222:not(#\9):only-child {
226
+ .awsui_label_14mhv_3golc_222:not(#\9):only-child {
227
227
  margin-block: 0;
228
228
  margin-inline: 0;
229
229
  }
230
230
 
231
- .awsui_info_14mhv_kp9ld_236:not(#\9) {
231
+ .awsui_info_14mhv_3golc_236:not(#\9) {
232
+ display: inline-flex;
232
233
  padding-inline-start: var(--space-xs-zb16t3, 8px);
233
234
  border-inline-start: var(--border-divider-section-width-1061zr, 1px) solid var(--color-border-divider-default-j74lyz, #b6bec9);
234
235
  }
235
236
 
236
- .awsui_description_14mhv_kp9ld_241:not(#\9),
237
- .awsui_constraint_14mhv_kp9ld_242:not(#\9) {
237
+ .awsui_description_14mhv_3golc_242:not(#\9),
238
+ .awsui_constraint_14mhv_3golc_243:not(#\9) {
238
239
  color: var(--color-text-form-secondary-dxc248, #5f6b7a);
239
240
  font-size: var(--font-size-body-s-asqx2i, 12px);
240
241
  line-height: var(--line-height-body-s-7zv1j5, 16px);
241
242
  letter-spacing: var(--letter-spacing-body-s-z9jkwp, 0.005em);
242
243
  }
243
244
 
244
- .awsui_hints_14mhv_kp9ld_249:not(#\9),
245
- .awsui_constraint-has-validation-text_14mhv_kp9ld_250:not(#\9) {
245
+ .awsui_hints_14mhv_3golc_250:not(#\9),
246
+ .awsui_constraint-has-validation-text_14mhv_3golc_251:not(#\9) {
246
247
  padding-block-start: var(--space-xxs-p8yyaw, 4px);
247
248
  }
248
249
 
249
- .awsui_secondary-control_14mhv_kp9ld_254:not(#\9) {
250
+ .awsui_secondary-control_14mhv_3golc_255:not(#\9) {
250
251
  /* used in test-utils */
251
252
  }
252
253
 
253
- .awsui_controls_14mhv_kp9ld_258:not(#\9):not(.awsui_label-hidden_14mhv_kp9ld_258) {
254
+ .awsui_controls_14mhv_3golc_259:not(#\9):not(.awsui_label-hidden_14mhv_3golc_259) {
254
255
  padding-block-start: var(--space-xxs-p8yyaw, 4px);
255
256
  }
256
257
 
257
- .awsui_control_14mhv_kp9ld_258:not(#\9) {
258
+ .awsui_control_14mhv_3golc_259:not(#\9) {
258
259
  min-inline-size: 0;
259
260
  word-break: break-word;
260
261
  }
261
262
 
262
- .awsui_error_14mhv_kp9ld_103:not(#\9) {
263
+ .awsui_error_14mhv_3golc_103:not(#\9) {
263
264
  color: var(--color-text-status-error-wdvepn, #d91515);
264
265
  font-size: var(--font-size-body-s-asqx2i, 12px);
265
266
  line-height: var(--line-height-body-s-7zv1j5, 16px);
@@ -268,7 +269,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
268
269
  align-items: flex-start;
269
270
  }
270
271
 
271
- .awsui_warning_14mhv_kp9ld_104:not(#\9) {
272
+ .awsui_warning_14mhv_3golc_104:not(#\9) {
272
273
  color: var(--color-text-status-warning-yik8vi, #8d6605);
273
274
  font-size: var(--font-size-body-s-asqx2i, 12px);
274
275
  line-height: var(--line-height-body-s-7zv1j5, 16px);
@@ -277,12 +278,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
277
278
  align-items: flex-start;
278
279
  }
279
280
 
280
- .awsui_error__message_14mhv_kp9ld_285:not(#\9),
281
- .awsui_warning__message_14mhv_kp9ld_286:not(#\9) {
281
+ .awsui_error__message_14mhv_3golc_286:not(#\9),
282
+ .awsui_warning__message_14mhv_3golc_287:not(#\9) {
282
283
  margin-inline-start: var(--space-xxs-p8yyaw, 4px);
283
284
  }
284
285
 
285
- .awsui_visually-hidden_14mhv_kp9ld_290:not(#\9) {
286
+ .awsui_visually-hidden_14mhv_3golc_291:not(#\9) {
286
287
  position: absolute !important;
287
288
  inset-block-start: -9999px !important;
288
289
  inset-inline-start: -9999px !important;
@@ -2,28 +2,28 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "error-icon-shake-wrapper": "awsui_error-icon-shake-wrapper_14mhv_kp9ld_103",
6
- "warning-icon-shake-wrapper": "awsui_warning-icon-shake-wrapper_14mhv_kp9ld_104",
7
- "awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-horizontally_14mhv_kp9ld_1",
8
- "error-icon-scale-wrapper": "awsui_error-icon-scale-wrapper_14mhv_kp9ld_134",
9
- "warning-icon-scale-wrapper": "awsui_warning-icon-scale-wrapper_14mhv_kp9ld_135",
10
- "awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_14mhv_kp9ld_1",
11
- "warning": "awsui_warning_14mhv_kp9ld_104",
12
- "error": "awsui_error_14mhv_kp9ld_103",
13
- "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_14mhv_kp9ld_1",
14
- "root": "awsui_root_14mhv_kp9ld_186",
15
- "label": "awsui_label_14mhv_kp9ld_222",
16
- "info": "awsui_info_14mhv_kp9ld_236",
17
- "description": "awsui_description_14mhv_kp9ld_241",
18
- "constraint": "awsui_constraint_14mhv_kp9ld_242",
19
- "hints": "awsui_hints_14mhv_kp9ld_249",
20
- "constraint-has-validation-text": "awsui_constraint-has-validation-text_14mhv_kp9ld_250",
21
- "secondary-control": "awsui_secondary-control_14mhv_kp9ld_254",
22
- "controls": "awsui_controls_14mhv_kp9ld_258",
23
- "label-hidden": "awsui_label-hidden_14mhv_kp9ld_258",
24
- "control": "awsui_control_14mhv_kp9ld_258",
25
- "error__message": "awsui_error__message_14mhv_kp9ld_285",
26
- "warning__message": "awsui_warning__message_14mhv_kp9ld_286",
27
- "visually-hidden": "awsui_visually-hidden_14mhv_kp9ld_290"
5
+ "error-icon-shake-wrapper": "awsui_error-icon-shake-wrapper_14mhv_3golc_103",
6
+ "warning-icon-shake-wrapper": "awsui_warning-icon-shake-wrapper_14mhv_3golc_104",
7
+ "awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-horizontally_14mhv_3golc_1",
8
+ "error-icon-scale-wrapper": "awsui_error-icon-scale-wrapper_14mhv_3golc_134",
9
+ "warning-icon-scale-wrapper": "awsui_warning-icon-scale-wrapper_14mhv_3golc_135",
10
+ "awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_14mhv_3golc_1",
11
+ "warning": "awsui_warning_14mhv_3golc_104",
12
+ "error": "awsui_error_14mhv_3golc_103",
13
+ "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_14mhv_3golc_1",
14
+ "root": "awsui_root_14mhv_3golc_186",
15
+ "label": "awsui_label_14mhv_3golc_222",
16
+ "info": "awsui_info_14mhv_3golc_236",
17
+ "description": "awsui_description_14mhv_3golc_242",
18
+ "constraint": "awsui_constraint_14mhv_3golc_243",
19
+ "hints": "awsui_hints_14mhv_3golc_250",
20
+ "constraint-has-validation-text": "awsui_constraint-has-validation-text_14mhv_3golc_251",
21
+ "secondary-control": "awsui_secondary-control_14mhv_3golc_255",
22
+ "controls": "awsui_controls_14mhv_3golc_259",
23
+ "label-hidden": "awsui_label-hidden_14mhv_3golc_259",
24
+ "control": "awsui_control_14mhv_3golc_259",
25
+ "error__message": "awsui_error__message_14mhv_3golc_286",
26
+ "warning__message": "awsui_warning__message_14mhv_3golc_287",
27
+ "visually-hidden": "awsui_visually-hidden_14mhv_3golc_291"
28
28
  };
29
29
 
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { InternalBaseComponentProps } from '../internal/hooks/use-base-component';
3
+ import { HelpPanelProps } from './interfaces';
4
+ export type HelpPanelInternalProps = HelpPanelProps & InternalBaseComponentProps;
5
+ export declare function HelpPanelImplementation({ header, footer, children, loading, loadingText, __internalRootRef, ...restProps }: HelpPanelInternalProps): JSX.Element;
6
+ export declare const createWidgetizedHelpPanel: (Loader?: typeof HelpPanelImplementation | undefined) => typeof HelpPanelImplementation;
7
+ //# sourceMappingURL=implementation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"implementation.d.ts","sourceRoot":"","sources":["../../../src/help-panel/implementation.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAM9C,MAAM,MAAM,sBAAsB,GAAG,cAAc,GAAG,0BAA0B,CAAC;AAEjF,wBAAgB,uBAAuB,CAAC,EACtC,MAAM,EACN,MAAM,EACN,QAAQ,EACR,OAAO,EACP,WAAW,EACX,iBAAiB,EACjB,GAAG,SAAS,EACb,EAAE,sBAAsB,eAsBxB;AAED,eAAO,MAAM,yBAAyB,yFAAqD,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { __rest } from "tslib";
2
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ import clsx from 'clsx';
5
+ import React from 'react';
6
+ import { getBaseProps } from '../internal/base-component';
7
+ import InternalStatusIndicator from '../status-indicator/internal';
8
+ import styles from './styles.css.js';
9
+ import LiveRegion from '../internal/components/live-region';
10
+ import { useInternalI18n } from '../i18n/context';
11
+ import { LinkDefaultVariantContext } from '../internal/context/link-default-variant-context';
12
+ import { createWidgetizedComponent } from '../internal/widgets';
13
+ export function HelpPanelImplementation(_a) {
14
+ var { header, footer, children, loading, loadingText, __internalRootRef } = _a, restProps = __rest(_a, ["header", "footer", "children", "loading", "loadingText", "__internalRootRef"]);
15
+ const baseProps = getBaseProps(restProps);
16
+ const i18n = useInternalI18n('help-panel');
17
+ const containerProps = Object.assign(Object.assign({}, baseProps), { className: clsx(baseProps.className, styles['help-panel']) });
18
+ return loading ? (React.createElement("div", Object.assign({}, containerProps, { ref: __internalRootRef }),
19
+ React.createElement(InternalStatusIndicator, { type: "loading" },
20
+ React.createElement(LiveRegion, { visible: true }, i18n('loadingText', loadingText))))) : (React.createElement("div", Object.assign({}, containerProps, { ref: __internalRootRef }),
21
+ header && React.createElement("div", { className: clsx(styles.header) }, header),
22
+ React.createElement(LinkDefaultVariantContext.Provider, { value: { defaultVariant: 'primary' } },
23
+ React.createElement("div", { className: clsx(styles.content) }, children)),
24
+ footer && React.createElement("div", { className: styles.footer }, footer)));
25
+ }
26
+ export const createWidgetizedHelpPanel = createWidgetizedComponent(HelpPanelImplementation);
27
+ //# sourceMappingURL=implementation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"implementation.js","sourceRoot":"","sources":["../../../src/help-panel/implementation.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,uBAAuB,MAAM,8BAA8B,CAAC;AACnE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAGrC,OAAO,UAAU,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAC7F,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAIhE,MAAM,UAAU,uBAAuB,CAAC,EAQf;QARe,EACtC,MAAM,EACN,MAAM,EACN,QAAQ,EACR,OAAO,EACP,WAAW,EACX,iBAAiB,OAEM,EADpB,SAAS,cAP0B,+EAQvC,CADa;IAEZ,MAAM,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,CAAC;IAC1C,MAAM,IAAI,GAAG,eAAe,CAAC,YAAY,CAAC,CAAC;IAC3C,MAAM,cAAc,mCACf,SAAS,KACZ,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,MAAM,CAAC,YAAY,CAAC,CAAC,GAC3D,CAAC;IACF,OAAO,OAAO,CAAC,CAAC,CAAC,CACf,6CAAS,cAAc,IAAE,GAAG,EAAE,iBAAiB;QAC7C,oBAAC,uBAAuB,IAAC,IAAI,EAAC,SAAS;YACrC,oBAAC,UAAU,IAAC,OAAO,EAAE,IAAI,IAAG,IAAI,CAAC,aAAa,EAAE,WAAW,CAAC,CAAc,CAClD,CACtB,CACP,CAAC,CAAC,CAAC,CACF,6CAAS,cAAc,IAAE,GAAG,EAAE,iBAAiB;QAC5C,MAAM,IAAI,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAG,MAAM,CAAO;QAC9D,oBAAC,yBAAyB,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE;YACtE,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,IAAG,QAAQ,CAAO,CACnB;QACpC,MAAM,IAAI,6BAAK,SAAS,EAAE,MAAM,CAAC,MAAM,IAAG,MAAM,CAAO,CACpD,CACP,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,yBAAyB,GAAG,yBAAyB,CAAC,uBAAuB,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport React from 'react';\nimport { getBaseProps } from '../internal/base-component';\nimport InternalStatusIndicator from '../status-indicator/internal';\nimport styles from './styles.css.js';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { HelpPanelProps } from './interfaces';\nimport LiveRegion from '../internal/components/live-region';\nimport { useInternalI18n } from '../i18n/context';\nimport { LinkDefaultVariantContext } from '../internal/context/link-default-variant-context';\nimport { createWidgetizedComponent } from '../internal/widgets';\n\nexport type HelpPanelInternalProps = HelpPanelProps & InternalBaseComponentProps;\n\nexport function HelpPanelImplementation({\n header,\n footer,\n children,\n loading,\n loadingText,\n __internalRootRef,\n ...restProps\n}: HelpPanelInternalProps) {\n const baseProps = getBaseProps(restProps);\n const i18n = useInternalI18n('help-panel');\n const containerProps = {\n ...baseProps,\n className: clsx(baseProps.className, styles['help-panel']),\n };\n return loading ? (\n <div {...containerProps} ref={__internalRootRef}>\n <InternalStatusIndicator type=\"loading\">\n <LiveRegion visible={true}>{i18n('loadingText', loadingText)}</LiveRegion>\n </InternalStatusIndicator>\n </div>\n ) : (\n <div {...containerProps} ref={__internalRootRef}>\n {header && <div className={clsx(styles.header)}>{header}</div>}\n <LinkDefaultVariantContext.Provider value={{ defaultVariant: 'primary' }}>\n <div className={clsx(styles.content)}>{children}</div>\n </LinkDefaultVariantContext.Provider>\n {footer && <div className={styles.footer}>{footer}</div>}\n </div>\n );\n}\n\nexport const createWidgetizedHelpPanel = createWidgetizedComponent(HelpPanelImplementation);\n"]}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { HelpPanelProps } from './interfaces';
3
3
  export { HelpPanelProps };
4
- export default function HelpPanel({ header, footer, children, loading, loadingText, ...restProps }: HelpPanelProps): JSX.Element;
4
+ export default function HelpPanel(props: HelpPanelProps): JSX.Element;
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/help-panel/index.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAK9C,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,SAAS,EAAE,EAAE,cAAc,eAuBjH"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/help-panel/index.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE,cAAc,eAGtD"}
@@ -1,29 +1,12 @@
1
- import { __rest } from "tslib";
2
1
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
2
  // SPDX-License-Identifier: Apache-2.0
4
- import clsx from 'clsx';
5
3
  import React from 'react';
6
- import { getBaseProps } from '../internal/base-component';
7
- import InternalStatusIndicator from '../status-indicator/internal';
8
- import styles from './styles.css.js';
9
4
  import { applyDisplayName } from '../internal/utils/apply-display-name';
10
5
  import useBaseComponent from '../internal/hooks/use-base-component';
11
- import LiveRegion from '../internal/components/live-region';
12
- import { useInternalI18n } from '../i18n/context';
13
- import { LinkDefaultVariantContext } from '../internal/context/link-default-variant-context';
14
- export default function HelpPanel(_a) {
15
- var { header, footer, children, loading, loadingText } = _a, restProps = __rest(_a, ["header", "footer", "children", "loading", "loadingText"]);
16
- const { __internalRootRef } = useBaseComponent('HelpPanel');
17
- const baseProps = getBaseProps(restProps);
18
- const i18n = useInternalI18n('help-panel');
19
- const containerProps = Object.assign(Object.assign({}, baseProps), { className: clsx(baseProps.className, styles['help-panel']) });
20
- return loading ? (React.createElement("div", Object.assign({}, containerProps, { ref: __internalRootRef }),
21
- React.createElement(InternalStatusIndicator, { type: "loading" },
22
- React.createElement(LiveRegion, { visible: true }, i18n('loadingText', loadingText))))) : (React.createElement("div", Object.assign({}, containerProps, { ref: __internalRootRef }),
23
- header && React.createElement("div", { className: clsx(styles.header) }, header),
24
- React.createElement(LinkDefaultVariantContext.Provider, { value: { defaultVariant: 'primary' } },
25
- React.createElement("div", { className: clsx(styles.content) }, children)),
26
- footer && React.createElement("div", { className: styles.footer }, footer)));
6
+ import { InternalHelpPanel } from './internal';
7
+ export default function HelpPanel(props) {
8
+ const internalProps = useBaseComponent('HelpPanel');
9
+ return React.createElement(InternalHelpPanel, Object.assign({}, props, internalProps));
27
10
  }
28
11
  applyDisplayName(HelpPanel, 'HelpPanel');
29
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/help-panel/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,uBAAuB,MAAM,8BAA8B,CAAC;AACnE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AAEpE,OAAO,UAAU,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAI7F,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAgF;QAAhF,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,OAAgC,EAA3B,SAAS,cAA9D,0DAAgE,CAAF;IAC9F,MAAM,EAAE,iBAAiB,EAAE,GAAG,gBAAgB,CAAC,WAAW,CAAC,CAAC;IAC5D,MAAM,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,CAAC;IAC1C,MAAM,IAAI,GAAG,eAAe,CAAC,YAAY,CAAC,CAAC;IAC3C,MAAM,cAAc,mCACf,SAAS,KACZ,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,MAAM,CAAC,YAAY,CAAC,CAAC,GAC3D,CAAC;IACF,OAAO,OAAO,CAAC,CAAC,CAAC,CACf,6CAAS,cAAc,IAAE,GAAG,EAAE,iBAAiB;QAC7C,oBAAC,uBAAuB,IAAC,IAAI,EAAC,SAAS;YACrC,oBAAC,UAAU,IAAC,OAAO,EAAE,IAAI,IAAG,IAAI,CAAC,aAAa,EAAE,WAAW,CAAC,CAAc,CAClD,CACtB,CACP,CAAC,CAAC,CAAC,CACF,6CAAS,cAAc,IAAE,GAAG,EAAE,iBAAiB;QAC5C,MAAM,IAAI,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAG,MAAM,CAAO;QAC9D,oBAAC,yBAAyB,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE;YACtE,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,IAAG,QAAQ,CAAO,CACnB;QACpC,MAAM,IAAI,6BAAK,SAAS,EAAE,MAAM,CAAC,MAAM,IAAG,MAAM,CAAO,CACpD,CACP,CAAC;AACJ,CAAC;AAED,gBAAgB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport React from 'react';\nimport { getBaseProps } from '../internal/base-component';\nimport InternalStatusIndicator from '../status-indicator/internal';\nimport styles from './styles.css.js';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { HelpPanelProps } from './interfaces';\nimport LiveRegion from '../internal/components/live-region';\nimport { useInternalI18n } from '../i18n/context';\nimport { LinkDefaultVariantContext } from '../internal/context/link-default-variant-context';\n\nexport { HelpPanelProps };\n\nexport default function HelpPanel({ header, footer, children, loading, loadingText, ...restProps }: HelpPanelProps) {\n const { __internalRootRef } = useBaseComponent('HelpPanel');\n const baseProps = getBaseProps(restProps);\n const i18n = useInternalI18n('help-panel');\n const containerProps = {\n ...baseProps,\n className: clsx(baseProps.className, styles['help-panel']),\n };\n return loading ? (\n <div {...containerProps} ref={__internalRootRef}>\n <InternalStatusIndicator type=\"loading\">\n <LiveRegion visible={true}>{i18n('loadingText', loadingText)}</LiveRegion>\n </InternalStatusIndicator>\n </div>\n ) : (\n <div {...containerProps} ref={__internalRootRef}>\n {header && <div className={clsx(styles.header)}>{header}</div>}\n <LinkDefaultVariantContext.Provider value={{ defaultVariant: 'primary' }}>\n <div className={clsx(styles.content)}>{children}</div>\n </LinkDefaultVariantContext.Provider>\n {footer && <div className={styles.footer}>{footer}</div>}\n </div>\n );\n}\n\napplyDisplayName(HelpPanel, 'HelpPanel');\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/help-panel/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AAEpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAI/C,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAqB;IACrD,MAAM,aAAa,GAAG,gBAAgB,CAAC,WAAW,CAAC,CAAC;IACpD,OAAO,oBAAC,iBAAiB,oBAAK,KAAK,EAAM,aAAa,EAAI,CAAC;AAC7D,CAAC;AAED,gBAAgB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { HelpPanelProps } from './interfaces';\nimport { InternalHelpPanel } from './internal';\n\nexport { HelpPanelProps };\n\nexport default function HelpPanel(props: HelpPanelProps) {\n const internalProps = useBaseComponent('HelpPanel');\n return <InternalHelpPanel {...props} {...internalProps} />;\n}\n\napplyDisplayName(HelpPanel, 'HelpPanel');\n"]}
@@ -0,0 +1,2 @@
1
+ export declare const InternalHelpPanel: typeof import("./implementation").HelpPanelImplementation;
2
+ //# sourceMappingURL=internal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/help-panel/internal.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,2DAA8B,CAAC"}
@@ -0,0 +1,5 @@
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import { createWidgetizedHelpPanel } from './implementation';
4
+ export const InternalHelpPanel = createWidgetizedHelpPanel();
5
+ //# sourceMappingURL=internal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/help-panel/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,MAAM,CAAC,MAAM,iBAAiB,GAAG,yBAAyB,EAAE,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { createWidgetizedHelpPanel } from './implementation';\n\nexport const InternalHelpPanel = createWidgetizedHelpPanel();\n"]}
@@ -220,6 +220,7 @@
220
220
  --color-background-slider-track-3m68rn:#7d8998;
221
221
  --color-background-slider-handle-ring-31445h:#ffffff;
222
222
  --color-background-slider-error-pressed-g7oqnt:#7c2718;
223
+ --color-background-slider-warning-pressed-9xuhwf:#8d6605;
223
224
  --color-background-status-error-pbprvn:#fff7f7;
224
225
  --color-background-status-info-mvnbre:#f2f8fd;
225
226
  --color-background-status-success-jp14wa:#f2fcf3;
@@ -825,6 +826,7 @@
825
826
  --color-background-slider-track-3m68rn:#5f6b7a;
826
827
  --color-background-slider-handle-ring-31445h:#0f1b2a;
827
828
  --color-background-slider-error-pressed-g7oqnt:#eb6f6f;
829
+ --color-background-slider-warning-pressed-9xuhwf:#e0ca57;
828
830
  --color-background-status-error-pbprvn:#1a0000;
829
831
  --color-background-status-info-mvnbre:#00142b;
830
832
  --color-background-status-success-jp14wa:#001a02;
@@ -1117,6 +1119,7 @@
1117
1119
  --color-background-slider-track-3m68rn:#5f6b7a;
1118
1120
  --color-background-slider-handle-ring-31445h:#0f1b2a;
1119
1121
  --color-background-slider-error-pressed-g7oqnt:#eb6f6f;
1122
+ --color-background-slider-warning-pressed-9xuhwf:#e0ca57;
1120
1123
  --color-background-status-error-pbprvn:#1a0000;
1121
1124
  --color-background-status-info-mvnbre:#00142b;
1122
1125
  --color-background-status-success-jp14wa:#001a02;
@@ -1311,6 +1314,7 @@
1311
1314
  --color-background-slider-track-3m68rn:#5f6b7a;
1312
1315
  --color-background-slider-handle-ring-31445h:#0f1b2a;
1313
1316
  --color-background-slider-error-pressed-g7oqnt:#eb6f6f;
1317
+ --color-background-slider-warning-pressed-9xuhwf:#e0ca57;
1314
1318
  --color-background-status-error-pbprvn:#1a0000;
1315
1319
  --color-background-status-info-mvnbre:#00142b;
1316
1320
  --color-background-status-success-jp14wa:#001a02;
@@ -1603,6 +1607,7 @@
1603
1607
  --color-background-slider-track-3m68rn:#5f6b7a;
1604
1608
  --color-background-slider-handle-ring-31445h:#0f1b2a;
1605
1609
  --color-background-slider-error-pressed-g7oqnt:#eb6f6f;
1610
+ --color-background-slider-warning-pressed-9xuhwf:#e0ca57;
1606
1611
  --color-background-status-error-pbprvn:#1a0000;
1607
1612
  --color-background-status-info-mvnbre:#00142b;
1608
1613
  --color-background-status-success-jp14wa:#001a02;
@@ -1,7 +1,8 @@
1
1
  import { BaseKeyDetail, CancelableEventHandler } from '../../../events';
2
2
  interface UseMenuKeyboard {
3
3
  (inputProps: {
4
- moveHighlight: (direction: -1 | 1, startIndex?: number) => void;
4
+ goUp: () => void;
5
+ goDown: () => void;
5
6
  selectOption: () => void;
6
7
  goHome: () => void;
7
8
  goEnd: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"use-keyboard.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/components/options-list/utils/use-keyboard.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAKxE,UAAU,eAAe;IACvB,CAAC,UAAU,EAAE;QACX,aAAa,EAAE,CAAC,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;QAChE,YAAY,EAAE,MAAM,IAAI,CAAC;QACzB,MAAM,EAAE,MAAM,IAAI,CAAC;QACnB,KAAK,EAAE,MAAM,IAAI,CAAC;QAClB,aAAa,EAAE,MAAM,IAAI,CAAC;QAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAC;KAC9B,GAAG,sBAAsB,CAAC,aAAa,CAAC,CAAC;CAC3C;AAED,eAAO,MAAM,eAAe,EAAE,eA0C7B,CAAC;AAEF,UAAU,kBAAkB;IAC1B,CAAC,UAAU,EAAE;QAAE,YAAY,EAAE,MAAM,IAAI,CAAC;QAAC,MAAM,EAAE,MAAM,IAAI,CAAA;KAAE,GAAG,sBAAsB,CAAC,aAAa,CAAC,CAAC;CACvG;AAED,eAAO,MAAM,kBAAkB,EAAE,kBAmBhC,CAAC"}
1
+ {"version":3,"file":"use-keyboard.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/components/options-list/utils/use-keyboard.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAKxE,UAAU,eAAe;IACvB,CAAC,UAAU,EAAE;QACX,IAAI,EAAE,MAAM,IAAI,CAAC;QACjB,MAAM,EAAE,MAAM,IAAI,CAAC;QACnB,YAAY,EAAE,MAAM,IAAI,CAAC;QACzB,MAAM,EAAE,MAAM,IAAI,CAAC;QACnB,KAAK,EAAE,MAAM,IAAI,CAAC;QAClB,aAAa,EAAE,MAAM,IAAI,CAAC;QAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAC;KAC9B,GAAG,sBAAsB,CAAC,aAAa,CAAC,CAAC;CAC3C;AAED,eAAO,MAAM,eAAe,EAAE,eA2C7B,CAAC;AAEF,UAAU,kBAAkB;IAC1B,CAAC,UAAU,EAAE;QAAE,YAAY,EAAE,MAAM,IAAI,CAAC;QAAC,MAAM,EAAE,MAAM,IAAI,CAAA;KAAE,GAAG,sBAAsB,CAAC,aAAa,CAAC,CAAC;CACvG;AAED,eAAO,MAAM,kBAAkB,EAAE,kBAmBhC,CAAC"}
@@ -4,16 +4,16 @@ import { useCallback } from 'react';
4
4
  import { KeyCode } from '../../../keycode';
5
5
  const HOME = 36;
6
6
  const END = 35;
7
- export const useMenuKeyboard = ({ moveHighlight, selectOption, goHome, goEnd, closeDropdown, preventNativeSpace = false, }) => {
7
+ export const useMenuKeyboard = ({ goUp, goDown, selectOption, goHome, goEnd, closeDropdown, preventNativeSpace = false, }) => {
8
8
  return useCallback((e) => {
9
9
  switch (e.detail.keyCode) {
10
10
  case KeyCode.up:
11
11
  e.preventDefault();
12
- moveHighlight(-1);
12
+ goUp();
13
13
  break;
14
14
  case KeyCode.down:
15
15
  e.preventDefault();
16
- moveHighlight(1);
16
+ goDown();
17
17
  break;
18
18
  case HOME:
19
19
  goHome();
@@ -35,7 +35,7 @@ export const useMenuKeyboard = ({ moveHighlight, selectOption, goHome, goEnd, cl
35
35
  selectOption();
36
36
  }
37
37
  }
38
- }, [moveHighlight, selectOption, goHome, goEnd, closeDropdown, preventNativeSpace]);
38
+ }, [selectOption, goHome, goEnd, closeDropdown, preventNativeSpace, goUp, goDown]);
39
39
  };
40
40
  export const useTriggerKeyboard = ({ openDropdown, goHome }) => {
41
41
  return useCallback((e) => {
@@ -1 +1 @@
1
- {"version":3,"file":"use-keyboard.js","sourceRoot":"","sources":["../../../../../../src/internal/components/options-list/utils/use-keyboard.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAG3C,MAAM,IAAI,GAAG,EAAE,CAAC;AAChB,MAAM,GAAG,GAAG,EAAE,CAAC;AAaf,MAAM,CAAC,MAAM,eAAe,GAAoB,CAAC,EAC/C,aAAa,EACb,YAAY,EACZ,MAAM,EACN,KAAK,EACL,aAAa,EACb,kBAAkB,GAAG,KAAK,GAC3B,EAAE,EAAE;IACH,OAAO,WAAW,CAChB,CAAC,CAA6B,EAAE,EAAE;QAChC,QAAQ,CAAC,CAAC,MAAM,CAAC,OAAO,EAAE;YACxB,KAAK,OAAO,CAAC,EAAE;gBACb,CAAC,CAAC,cAAc,EAAE,CAAC;gBACnB,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;gBAClB,MAAM;YACR,KAAK,OAAO,CAAC,IAAI;gBACf,CAAC,CAAC,cAAc,EAAE,CAAC;gBACnB,aAAa,CAAC,CAAC,CAAC,CAAC;gBACjB,MAAM;YACR,KAAK,IAAI;gBACP,MAAM,EAAE,CAAC;gBACT,MAAM;YACR,KAAK,GAAG;gBACN,KAAK,EAAE,CAAC;gBACR,MAAM;YACR,KAAK,OAAO,CAAC,MAAM;gBACjB,CAAC,CAAC,eAAe,EAAE,CAAC;gBACpB,aAAa,EAAE,CAAC;gBAChB,MAAM;YACR,KAAK,OAAO,CAAC,KAAK;gBAChB,CAAC,CAAC,cAAc,EAAE,CAAC;gBACnB,YAAY,EAAE,CAAC;gBACf,MAAM;YACR,KAAK,OAAO,CAAC,KAAK;gBAChB,IAAI,kBAAkB,EAAE;oBACtB,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,YAAY,EAAE,CAAC;iBAChB;SACJ;IACH,CAAC,EACD,CAAC,aAAa,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,EAAE,kBAAkB,CAAC,CAChF,CAAC;AACJ,CAAC,CAAC;AAMF,MAAM,CAAC,MAAM,kBAAkB,GAAuB,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,EAAE;IACjF,OAAO,WAAW,CAChB,CAAC,CAA6B,EAAE,EAAE;QAChC,QAAQ,CAAC,CAAC,MAAM,CAAC,OAAO,EAAE;YACxB,KAAK,OAAO,CAAC,EAAE,CAAC;YAChB,KAAK,OAAO,CAAC,IAAI;gBACf,CAAC,CAAC,cAAc,EAAE,CAAC;gBACnB,MAAM,EAAE,CAAC;gBACT,YAAY,EAAE,CAAC;gBACf,MAAM;YACR,KAAK,OAAO,CAAC,KAAK,CAAC;YACnB,KAAK,OAAO,CAAC,KAAK;gBAChB,CAAC,CAAC,cAAc,EAAE,CAAC;gBACnB,YAAY,EAAE,CAAC;gBACf,MAAM;SACT;IACH,CAAC,EACD,CAAC,YAAY,EAAE,MAAM,CAAC,CACvB,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { useCallback } from 'react';\nimport { KeyCode } from '../../../keycode';\nimport { BaseKeyDetail, CancelableEventHandler } from '../../../events';\n\nconst HOME = 36;\nconst END = 35;\n\ninterface UseMenuKeyboard {\n (inputProps: {\n moveHighlight: (direction: -1 | 1, startIndex?: number) => void;\n selectOption: () => void;\n goHome: () => void;\n goEnd: () => void;\n closeDropdown: () => void;\n preventNativeSpace?: boolean;\n }): CancelableEventHandler<BaseKeyDetail>;\n}\n\nexport const useMenuKeyboard: UseMenuKeyboard = ({\n moveHighlight,\n selectOption,\n goHome,\n goEnd,\n closeDropdown,\n preventNativeSpace = false,\n}) => {\n return useCallback(\n (e: CustomEvent<BaseKeyDetail>) => {\n switch (e.detail.keyCode) {\n case KeyCode.up:\n e.preventDefault();\n moveHighlight(-1);\n break;\n case KeyCode.down:\n e.preventDefault();\n moveHighlight(1);\n break;\n case HOME:\n goHome();\n break;\n case END:\n goEnd();\n break;\n case KeyCode.escape:\n e.stopPropagation();\n closeDropdown();\n break;\n case KeyCode.enter:\n e.preventDefault();\n selectOption();\n break;\n case KeyCode.space:\n if (preventNativeSpace) {\n e.preventDefault();\n selectOption();\n }\n }\n },\n [moveHighlight, selectOption, goHome, goEnd, closeDropdown, preventNativeSpace]\n );\n};\n\ninterface UseTriggerKeyboard {\n (inputProps: { openDropdown: () => void; goHome: () => void }): CancelableEventHandler<BaseKeyDetail>;\n}\n\nexport const useTriggerKeyboard: UseTriggerKeyboard = ({ openDropdown, goHome }) => {\n return useCallback(\n (e: CustomEvent<BaseKeyDetail>) => {\n switch (e.detail.keyCode) {\n case KeyCode.up:\n case KeyCode.down:\n e.preventDefault();\n goHome();\n openDropdown();\n break;\n case KeyCode.space:\n case KeyCode.enter:\n e.preventDefault();\n openDropdown();\n break;\n }\n },\n [openDropdown, goHome]\n );\n};\n"]}
1
+ {"version":3,"file":"use-keyboard.js","sourceRoot":"","sources":["../../../../../../src/internal/components/options-list/utils/use-keyboard.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAG3C,MAAM,IAAI,GAAG,EAAE,CAAC;AAChB,MAAM,GAAG,GAAG,EAAE,CAAC;AAcf,MAAM,CAAC,MAAM,eAAe,GAAoB,CAAC,EAC/C,IAAI,EACJ,MAAM,EACN,YAAY,EACZ,MAAM,EACN,KAAK,EACL,aAAa,EACb,kBAAkB,GAAG,KAAK,GAC3B,EAAE,EAAE;IACH,OAAO,WAAW,CAChB,CAAC,CAA6B,EAAE,EAAE;QAChC,QAAQ,CAAC,CAAC,MAAM,CAAC,OAAO,EAAE;YACxB,KAAK,OAAO,CAAC,EAAE;gBACb,CAAC,CAAC,cAAc,EAAE,CAAC;gBACnB,IAAI,EAAE,CAAC;gBACP,MAAM;YACR,KAAK,OAAO,CAAC,IAAI;gBACf,CAAC,CAAC,cAAc,EAAE,CAAC;gBACnB,MAAM,EAAE,CAAC;gBACT,MAAM;YACR,KAAK,IAAI;gBACP,MAAM,EAAE,CAAC;gBACT,MAAM;YACR,KAAK,GAAG;gBACN,KAAK,EAAE,CAAC;gBACR,MAAM;YACR,KAAK,OAAO,CAAC,MAAM;gBACjB,CAAC,CAAC,eAAe,EAAE,CAAC;gBACpB,aAAa,EAAE,CAAC;gBAChB,MAAM;YACR,KAAK,OAAO,CAAC,KAAK;gBAChB,CAAC,CAAC,cAAc,EAAE,CAAC;gBACnB,YAAY,EAAE,CAAC;gBACf,MAAM;YACR,KAAK,OAAO,CAAC,KAAK;gBAChB,IAAI,kBAAkB,EAAE;oBACtB,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,YAAY,EAAE,CAAC;iBAChB;SACJ;IACH,CAAC,EACD,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,IAAI,EAAE,MAAM,CAAC,CAC/E,CAAC;AACJ,CAAC,CAAC;AAMF,MAAM,CAAC,MAAM,kBAAkB,GAAuB,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,EAAE;IACjF,OAAO,WAAW,CAChB,CAAC,CAA6B,EAAE,EAAE;QAChC,QAAQ,CAAC,CAAC,MAAM,CAAC,OAAO,EAAE;YACxB,KAAK,OAAO,CAAC,EAAE,CAAC;YAChB,KAAK,OAAO,CAAC,IAAI;gBACf,CAAC,CAAC,cAAc,EAAE,CAAC;gBACnB,MAAM,EAAE,CAAC;gBACT,YAAY,EAAE,CAAC;gBACf,MAAM;YACR,KAAK,OAAO,CAAC,KAAK,CAAC;YACnB,KAAK,OAAO,CAAC,KAAK;gBAChB,CAAC,CAAC,cAAc,EAAE,CAAC;gBACnB,YAAY,EAAE,CAAC;gBACf,MAAM;SACT;IACH,CAAC,EACD,CAAC,YAAY,EAAE,MAAM,CAAC,CACvB,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { useCallback } from 'react';\nimport { KeyCode } from '../../../keycode';\nimport { BaseKeyDetail, CancelableEventHandler } from '../../../events';\n\nconst HOME = 36;\nconst END = 35;\n\ninterface UseMenuKeyboard {\n (inputProps: {\n goUp: () => void;\n goDown: () => void;\n selectOption: () => void;\n goHome: () => void;\n goEnd: () => void;\n closeDropdown: () => void;\n preventNativeSpace?: boolean;\n }): CancelableEventHandler<BaseKeyDetail>;\n}\n\nexport const useMenuKeyboard: UseMenuKeyboard = ({\n goUp,\n goDown,\n selectOption,\n goHome,\n goEnd,\n closeDropdown,\n preventNativeSpace = false,\n}) => {\n return useCallback(\n (e: CustomEvent<BaseKeyDetail>) => {\n switch (e.detail.keyCode) {\n case KeyCode.up:\n e.preventDefault();\n goUp();\n break;\n case KeyCode.down:\n e.preventDefault();\n goDown();\n break;\n case HOME:\n goHome();\n break;\n case END:\n goEnd();\n break;\n case KeyCode.escape:\n e.stopPropagation();\n closeDropdown();\n break;\n case KeyCode.enter:\n e.preventDefault();\n selectOption();\n break;\n case KeyCode.space:\n if (preventNativeSpace) {\n e.preventDefault();\n selectOption();\n }\n }\n },\n [selectOption, goHome, goEnd, closeDropdown, preventNativeSpace, goUp, goDown]\n );\n};\n\ninterface UseTriggerKeyboard {\n (inputProps: { openDropdown: () => void; goHome: () => void }): CancelableEventHandler<BaseKeyDetail>;\n}\n\nexport const useTriggerKeyboard: UseTriggerKeyboard = ({ openDropdown, goHome }) => {\n return useCallback(\n (e: CustomEvent<BaseKeyDetail>) => {\n switch (e.detail.keyCode) {\n case KeyCode.up:\n case KeyCode.down:\n e.preventDefault();\n goHome();\n openDropdown();\n break;\n case KeyCode.space:\n case KeyCode.enter:\n e.preventDefault();\n openDropdown();\n break;\n }\n },\n [openDropdown, goHome]\n );\n};\n"]}
@@ -1,4 +1,4 @@
1
1
  export var PACKAGE_SOURCE = "components";
2
- export var PACKAGE_VERSION = "3.0.0 (a9a5affb)";
2
+ export var PACKAGE_VERSION = "3.0.0 (8f694589)";
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 (a9a5affb)",
3
+ "PACKAGE_VERSION": "3.0.0 (8f694589)",
4
4
  "THEME": "default",
5
5
  "ALWAYS_VISUAL_REFRESH": false
6
6
  }
@@ -281,6 +281,7 @@ export const colorBackgroundSliderHandleActive: string;
281
281
  export const colorBackgroundSliderTrack: string;
282
282
  export const colorBackgroundSliderHandleRing: string;
283
283
  export const colorBackgroundSliderErrorPressed: string;
284
+ export const colorBackgroundSliderWarningPressed: string;
284
285
  export const colorBackgroundStatusError: string;
285
286
  export const colorBackgroundStatusInfo: string;
286
287
  export const colorBackgroundStatusSuccess: string;
@@ -281,6 +281,7 @@ export var colorBackgroundSliderHandleActive = "var(--color-background-slider-ha
281
281
  export var colorBackgroundSliderTrack = "var(--color-background-slider-track-3m68rn, #7d8998)";
282
282
  export var colorBackgroundSliderHandleRing = "var(--color-background-slider-handle-ring-31445h, #ffffff)";
283
283
  export var colorBackgroundSliderErrorPressed = "var(--color-background-slider-error-pressed-g7oqnt, #7c2718)";
284
+ export var colorBackgroundSliderWarningPressed = "var(--color-background-slider-warning-pressed-9xuhwf, #8d6605)";
284
285
  export var colorBackgroundStatusError = "var(--color-background-status-error-pbprvn, #fff7f7)";
285
286
  export var colorBackgroundStatusInfo = "var(--color-background-status-info-mvnbre, #f2f8fd)";
286
287
  export var colorBackgroundStatusSuccess = "var(--color-background-status-success-jp14wa, #f2fcf3)";