@cloudscape-design/components 3.0.299 → 3.0.301
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.
- package/alert/interfaces.d.ts +0 -1
- package/alert/interfaces.d.ts.map +1 -1
- package/alert/interfaces.js.map +1 -1
- package/app-layout/index.d.ts.map +1 -1
- package/app-layout/index.js +0 -1
- package/app-layout/index.js.map +1 -1
- package/app-layout/interfaces.d.ts +0 -1
- package/app-layout/interfaces.d.ts.map +1 -1
- package/app-layout/interfaces.js.map +1 -1
- package/app-layout/visual-refresh/context.d.ts.map +1 -1
- package/app-layout/visual-refresh/context.js +0 -1
- package/app-layout/visual-refresh/context.js.map +1 -1
- package/area-chart/interfaces.d.ts +0 -1
- package/area-chart/interfaces.d.ts.map +1 -1
- package/area-chart/interfaces.js.map +1 -1
- package/attribute-editor/interfaces.d.ts +0 -1
- package/attribute-editor/interfaces.d.ts.map +1 -1
- package/attribute-editor/interfaces.js.map +1 -1
- package/autosuggest/interfaces.d.ts +0 -2
- package/autosuggest/interfaces.d.ts.map +1 -1
- package/autosuggest/interfaces.js.map +1 -1
- package/breadcrumb-group/interfaces.d.ts +0 -1
- package/breadcrumb-group/interfaces.d.ts.map +1 -1
- package/breadcrumb-group/interfaces.js.map +1 -1
- package/calendar/interfaces.d.ts +0 -3
- package/calendar/interfaces.d.ts.map +1 -1
- package/calendar/interfaces.js.map +1 -1
- package/cards/interfaces.d.ts +0 -1
- package/cards/interfaces.d.ts.map +1 -1
- package/cards/interfaces.js.map +1 -1
- package/code-editor/interfaces.d.ts +0 -1
- package/code-editor/interfaces.d.ts.map +1 -1
- package/code-editor/interfaces.js.map +1 -1
- package/collection-preferences/content-display/content-display-option.js +1 -1
- package/collection-preferences/content-display/content-display-option.js.map +1 -1
- package/collection-preferences/interfaces.d.ts +0 -9
- package/collection-preferences/interfaces.d.ts.map +1 -1
- package/collection-preferences/interfaces.js.map +1 -1
- package/date-range-picker/interfaces.d.ts +0 -1
- package/date-range-picker/interfaces.d.ts.map +1 -1
- package/date-range-picker/interfaces.js.map +1 -1
- package/flashbar/interfaces.d.ts +0 -1
- package/flashbar/interfaces.d.ts.map +1 -1
- package/flashbar/interfaces.js.map +1 -1
- package/form/interfaces.d.ts +0 -1
- package/form/interfaces.d.ts.map +1 -1
- package/form/interfaces.js.map +1 -1
- package/form-field/interfaces.d.ts +0 -1
- package/form-field/interfaces.d.ts.map +1 -1
- package/form-field/interfaces.js.map +1 -1
- package/header/styles.css.js +44 -44
- package/header/styles.scoped.css +47 -48
- package/header/styles.selectors.js +44 -44
- package/help-panel/interfaces.d.ts +0 -1
- package/help-panel/interfaces.d.ts.map +1 -1
- package/help-panel/interfaces.js.map +1 -1
- package/input/interfaces.d.ts +0 -1
- package/input/interfaces.d.ts.map +1 -1
- package/input/interfaces.js.map +1 -1
- package/internal/components/cartesian-chart/interfaces.d.ts +0 -4
- package/internal/components/cartesian-chart/interfaces.d.ts.map +1 -1
- package/internal/components/cartesian-chart/interfaces.js.map +1 -1
- package/internal/components/drag-handle/index.d.ts.map +1 -0
- package/internal/{drag-handle → components/drag-handle}/index.js +1 -1
- package/internal/components/drag-handle/index.js.map +1 -0
- package/internal/{drag-handle → components/drag-handle}/styles.css.js +1 -1
- package/internal/{drag-handle → components/drag-handle}/styles.scoped.css +2 -2
- package/internal/{drag-handle → components/drag-handle}/styles.selectors.js +1 -1
- package/internal/components/dropdown-status/interfaces.d.ts +0 -3
- package/internal/components/dropdown-status/interfaces.d.ts.map +1 -1
- package/internal/components/dropdown-status/interfaces.js.map +1 -1
- package/internal/components/handle/index.d.ts.map +1 -0
- package/internal/components/handle/index.js.map +1 -0
- package/internal/components/handle/styles.css.js +7 -0
- package/internal/{handle → components/handle}/styles.scoped.css +6 -6
- package/internal/{handle → components/handle}/styles.selectors.js +2 -2
- package/internal/context/app-layout-context.d.ts +0 -1
- package/internal/context/app-layout-context.d.ts.map +1 -1
- package/internal/context/app-layout-context.js +0 -1
- package/internal/context/app-layout-context.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/manifest.json +1 -1
- package/link/interfaces.d.ts +0 -1
- package/link/interfaces.d.ts.map +1 -1
- package/link/interfaces.js.map +1 -1
- package/modal/interfaces.d.ts +0 -1
- package/modal/interfaces.d.ts.map +1 -1
- package/modal/interfaces.js.map +1 -1
- package/multiselect/interfaces.d.ts +0 -1
- package/multiselect/interfaces.d.ts.map +1 -1
- package/multiselect/interfaces.js.map +1 -1
- package/package.json +1 -1
- package/pagination/interfaces.d.ts +0 -1
- package/pagination/interfaces.d.ts.map +1 -1
- package/pagination/interfaces.js.map +1 -1
- package/pie-chart/interfaces.d.ts +0 -4
- package/pie-chart/interfaces.d.ts.map +1 -1
- package/pie-chart/interfaces.js.map +1 -1
- package/popover/interfaces.d.ts +0 -1
- package/popover/interfaces.d.ts.map +1 -1
- package/popover/interfaces.js.map +1 -1
- package/property-filter/interfaces.d.ts +0 -1
- package/property-filter/interfaces.d.ts.map +1 -1
- package/property-filter/interfaces.js.map +1 -1
- package/s3-resource-selector/interfaces.d.ts +0 -1
- package/s3-resource-selector/interfaces.d.ts.map +1 -1
- package/s3-resource-selector/interfaces.js.map +1 -1
- package/select/interfaces.d.ts +0 -2
- package/select/interfaces.d.ts.map +1 -1
- package/select/interfaces.js.map +1 -1
- package/split-panel/index.d.ts.map +1 -1
- package/split-panel/index.js +0 -1
- package/split-panel/index.js.map +1 -1
- package/split-panel/interfaces.d.ts +0 -1
- package/split-panel/interfaces.d.ts.map +1 -1
- package/split-panel/interfaces.js.map +1 -1
- package/table/interfaces.d.ts +0 -1
- package/table/interfaces.d.ts.map +1 -1
- package/table/interfaces.js.map +1 -1
- package/tabs/interfaces.d.ts +0 -1
- package/tabs/interfaces.d.ts.map +1 -1
- package/tabs/interfaces.js.map +1 -1
- package/tag-editor/interfaces.d.ts +0 -1
- package/tag-editor/interfaces.d.ts.map +1 -1
- package/tag-editor/interfaces.js.map +1 -1
- package/test-utils/dom/collection-preferences/content-display-preference.js +1 -1
- package/test-utils/dom/collection-preferences/content-display-preference.js.map +1 -1
- package/test-utils/selectors/collection-preferences/content-display-preference.js +1 -1
- package/test-utils/selectors/collection-preferences/content-display-preference.js.map +1 -1
- package/test-utils/tsconfig.tsbuildinfo +1 -1
- package/token-group/interfaces.d.ts +0 -1
- package/token-group/interfaces.d.ts.map +1 -1
- package/token-group/interfaces.js.map +1 -1
- package/top-navigation/interfaces.d.ts +0 -1
- package/top-navigation/interfaces.d.ts.map +1 -1
- package/top-navigation/interfaces.js.map +1 -1
- package/wizard/interfaces.d.ts +0 -1
- package/wizard/interfaces.d.ts.map +1 -1
- package/wizard/interfaces.js.map +1 -1
- package/internal/drag-handle/index.d.ts.map +0 -1
- package/internal/drag-handle/index.js.map +0 -1
- package/internal/handle/index.d.ts.map +0 -1
- package/internal/handle/index.js.map +0 -1
- package/internal/handle/styles.css.js +0 -7
- /package/internal/{drag-handle → components/drag-handle}/index.d.ts +0 -0
- /package/internal/{handle → components/handle}/index.d.ts +0 -0
- /package/internal/{handle → components/handle}/index.js +0 -0
package/header/styles.scoped.css
CHANGED
|
@@ -90,7 +90,7 @@ 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
|
-
.
|
|
93
|
+
.awsui_root_2qdw9_1xw9w_93:not(#\9) {
|
|
94
94
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
95
95
|
border-collapse: separate;
|
|
96
96
|
border-spacing: 0;
|
|
@@ -133,164 +133,163 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
133
133
|
flex-wrap: wrap;
|
|
134
134
|
justify-content: space-between;
|
|
135
135
|
}
|
|
136
|
-
.awsui_root-no-
|
|
136
|
+
.awsui_root-no-actions_2qdw9_1xw9w_110.awsui_root-variant-h1_2qdw9_1xw9w_110:not(#\9) {
|
|
137
137
|
padding-bottom: 0;
|
|
138
138
|
}
|
|
139
|
-
.awsui_root-no-
|
|
139
|
+
.awsui_root-no-actions_2qdw9_1xw9w_110.awsui_root-variant-h1-refresh_2qdw9_1xw9w_113:not(#\9) {
|
|
140
140
|
padding-bottom: var(--space-xxxs-rq3iss, 2px);
|
|
141
141
|
}
|
|
142
|
-
.awsui_root-no-
|
|
142
|
+
.awsui_root-no-actions_2qdw9_1xw9w_110.awsui_root-variant-h2_2qdw9_1xw9w_116:not(#\9), .awsui_root-has-description_2qdw9_1xw9w_116.awsui_root-variant-h2_2qdw9_1xw9w_116:not(#\9) {
|
|
143
143
|
padding-bottom: var(--space-scaled-xxs-ugy2pw, 4px);
|
|
144
144
|
}
|
|
145
|
-
.awsui_root-no-
|
|
145
|
+
.awsui_root-no-actions_2qdw9_1xw9w_110.awsui_root-variant-h2-refresh_2qdw9_1xw9w_119:not(#\9), .awsui_root-has-description_2qdw9_1xw9w_116.awsui_root-variant-h2-refresh_2qdw9_1xw9w_119:not(#\9) {
|
|
146
146
|
padding-bottom: var(--space-xxxs-rq3iss, 2px);
|
|
147
147
|
}
|
|
148
|
-
.awsui_root-no-
|
|
148
|
+
.awsui_root-no-actions_2qdw9_1xw9w_110.awsui_root-variant-h3_2qdw9_1xw9w_122:not(#\9), .awsui_root-has-description_2qdw9_1xw9w_116.awsui_root-variant-h3_2qdw9_1xw9w_122:not(#\9) {
|
|
149
149
|
padding-bottom: var(--space-scaled-xxs-ugy2pw, 4px);
|
|
150
150
|
}
|
|
151
|
-
.awsui_root-no-
|
|
151
|
+
.awsui_root-no-actions_2qdw9_1xw9w_110.awsui_root-variant-h3-refresh_2qdw9_1xw9w_125:not(#\9), .awsui_root-has-description_2qdw9_1xw9w_116.awsui_root-variant-h3-refresh_2qdw9_1xw9w_125:not(#\9) {
|
|
152
152
|
padding-bottom: 0;
|
|
153
153
|
}
|
|
154
|
-
.awsui_root-no-
|
|
154
|
+
.awsui_root-no-wrap_2qdw9_1xw9w_128:not(#\9) {
|
|
155
155
|
flex-wrap: nowrap;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
.
|
|
158
|
+
.awsui_main_2qdw9_1xw9w_132:not(#\9) {
|
|
159
159
|
word-wrap: break-word;
|
|
160
160
|
max-width: 100%;
|
|
161
|
-
overflow: hidden;
|
|
162
161
|
}
|
|
163
|
-
:not(#\9):not(.awsui_root-no-
|
|
162
|
+
:not(#\9):not(.awsui_root-no-actions_2qdw9_1xw9w_110) > .awsui_main_2qdw9_1xw9w_132 {
|
|
164
163
|
margin-right: var(--space-xs-inub5w, 8px);
|
|
165
164
|
}
|
|
166
|
-
.awsui_main-variant-
|
|
165
|
+
.awsui_main-variant-h1_2qdw9_1xw9w_139:not(#\9) {
|
|
167
166
|
padding: var(--space-scaled-2x-xxs-mfdb10, 4px) 0;
|
|
168
167
|
}
|
|
169
|
-
.awsui_main-variant-h1-
|
|
168
|
+
.awsui_main-variant-h1-refresh_2qdw9_1xw9w_142:not(#\9) {
|
|
170
169
|
padding: var(--space-xxs-a6783b, 4px) 0;
|
|
171
170
|
}
|
|
172
|
-
:not(#\9):not(.awsui_root-no-
|
|
171
|
+
:not(#\9):not(.awsui_root-no-actions_2qdw9_1xw9w_110) > .awsui_main-variant-h1-refresh_2qdw9_1xw9w_142 {
|
|
173
172
|
padding-top: var(--space-scaled-xxxs-emyscj, 2px);
|
|
174
173
|
}
|
|
175
|
-
.awsui_main-variant-
|
|
174
|
+
.awsui_main-variant-h2_2qdw9_1xw9w_148:not(#\9), .awsui_main-variant-h3_2qdw9_1xw9w_148:not(#\9) {
|
|
176
175
|
padding-top: var(--space-scaled-xxs-ugy2pw, 4px);
|
|
177
176
|
}
|
|
178
|
-
:not(#\9):not(.awsui_root-has-
|
|
177
|
+
:not(#\9):not(.awsui_root-has-description_2qdw9_1xw9w_116) > .awsui_main-variant-h2_2qdw9_1xw9w_148, :not(#\9):not(.awsui_root-has-description_2qdw9_1xw9w_116) > .awsui_main-variant-h3_2qdw9_1xw9w_148 {
|
|
179
178
|
padding-bottom: var(--space-xxxs-rq3iss, 2px);
|
|
180
179
|
}
|
|
181
|
-
.awsui_main-variant-h2-
|
|
180
|
+
.awsui_main-variant-h2-refresh_2qdw9_1xw9w_154:not(#\9) {
|
|
182
181
|
padding-top: 0;
|
|
183
182
|
}
|
|
184
|
-
:not(#\9):not(.awsui_root-has-
|
|
183
|
+
:not(#\9):not(.awsui_root-has-description_2qdw9_1xw9w_116) > .awsui_main-variant-h2-refresh_2qdw9_1xw9w_154 {
|
|
185
184
|
padding-bottom: 0;
|
|
186
185
|
}
|
|
187
186
|
|
|
188
|
-
.
|
|
187
|
+
.awsui_actions_2qdw9_1xw9w_161:not(#\9) {
|
|
189
188
|
display: flex;
|
|
190
189
|
align-items: flex-start;
|
|
191
190
|
}
|
|
192
|
-
.awsui_actions-variant-
|
|
191
|
+
.awsui_actions-variant-h1_2qdw9_1xw9w_165:not(#\9) {
|
|
193
192
|
padding: var(--space-scaled-xs-u0e7ft, 8px) 0;
|
|
194
193
|
}
|
|
195
|
-
.awsui_actions-variant-h1-
|
|
194
|
+
.awsui_actions-variant-h1-refresh_2qdw9_1xw9w_168:not(#\9) {
|
|
196
195
|
padding: var(--space-xs-inub5w, 8px) 0;
|
|
197
196
|
}
|
|
198
|
-
.awsui_actions-variant-
|
|
197
|
+
.awsui_actions-variant-h2_2qdw9_1xw9w_171:not(#\9), .awsui_actions-variant-h3_2qdw9_1xw9w_171:not(#\9) {
|
|
199
198
|
padding: var(--space-scaled-xxs-ugy2pw, 4px) 0;
|
|
200
199
|
}
|
|
201
|
-
.awsui_root-has-
|
|
200
|
+
.awsui_root-has-description_2qdw9_1xw9w_116 > .awsui_actions-variant-h2_2qdw9_1xw9w_171:not(#\9), .awsui_root-has-description_2qdw9_1xw9w_116 > .awsui_actions-variant-h3_2qdw9_1xw9w_171:not(#\9) {
|
|
202
201
|
padding-bottom: 0;
|
|
203
202
|
}
|
|
204
|
-
.awsui_actions-variant-h2-
|
|
203
|
+
.awsui_actions-variant-h2-refresh_2qdw9_1xw9w_177:not(#\9) {
|
|
205
204
|
padding-bottom: var(--space-xxxs-rq3iss, 2px);
|
|
206
205
|
}
|
|
207
|
-
.awsui_actions-variant-h3-
|
|
206
|
+
.awsui_actions-variant-h3-refresh_2qdw9_1xw9w_180:not(#\9) {
|
|
208
207
|
padding-bottom: 0;
|
|
209
208
|
}
|
|
210
209
|
|
|
211
|
-
.
|
|
210
|
+
.awsui_title_2qdw9_1xw9w_184:not(#\9) {
|
|
212
211
|
min-width: 0;
|
|
213
212
|
-ms-word-break: break-all;
|
|
214
213
|
word-break: break-word;
|
|
215
214
|
color: var(--color-text-heading-default-go662r, #000716);
|
|
216
215
|
}
|
|
217
|
-
.awsui_title-variant-
|
|
216
|
+
.awsui_title-variant-h1_2qdw9_1xw9w_190:not(#\9) {
|
|
218
217
|
font-size: var(--font-heading-xl-size-mgduwc, 32px);
|
|
219
218
|
}
|
|
220
|
-
.awsui_title-variant-
|
|
219
|
+
.awsui_title-variant-h2_2qdw9_1xw9w_193:not(#\9), .awsui_title-variant-h3_2qdw9_1xw9w_193:not(#\9) {
|
|
221
220
|
padding: var(--space-scaled-xxs-ugy2pw, 4px) 0;
|
|
222
221
|
}
|
|
223
|
-
.awsui_title-variant-
|
|
222
|
+
.awsui_title-variant-h2_2qdw9_1xw9w_193:not(#\9) {
|
|
224
223
|
font-size: var(--font-heading-l-size-jcxqqa, 24px);
|
|
225
224
|
}
|
|
226
|
-
.awsui_title-variant-h2-
|
|
225
|
+
.awsui_title-variant-h2-refresh_2qdw9_1xw9w_199:not(#\9) {
|
|
227
226
|
padding-top: var(--space-scaled-2x-xxs-mfdb10, 4px);
|
|
228
227
|
}
|
|
229
|
-
.awsui_title-variant-
|
|
228
|
+
.awsui_title-variant-h3_2qdw9_1xw9w_193:not(#\9) {
|
|
230
229
|
font-size: var(--font-heading-m-size-sbbndt, 20px);
|
|
231
230
|
}
|
|
232
231
|
|
|
233
|
-
.
|
|
232
|
+
.awsui_info_2qdw9_1xw9w_206:not(#\9) {
|
|
234
233
|
padding-right: var(--space-s-rd607g, 12px);
|
|
235
234
|
}
|
|
236
235
|
|
|
237
|
-
.
|
|
236
|
+
.awsui_description_2qdw9_1xw9w_210:not(#\9) {
|
|
238
237
|
margin: 0;
|
|
239
238
|
padding: 0;
|
|
240
239
|
color: var(--color-text-heading-secondary-nwxx97, #414d5c);
|
|
241
240
|
}
|
|
242
|
-
.awsui_description-variant-
|
|
241
|
+
.awsui_description-variant-h1_2qdw9_1xw9w_215:not(#\9) {
|
|
243
242
|
font-size: var(--font-body-m-size-cqtcam, 14px);
|
|
244
243
|
line-height: var(--font-body-m-line-height-83azrc, 22px);
|
|
245
244
|
padding-top: var(--space-scaled-xxs-ugy2pw, 4px);
|
|
246
245
|
}
|
|
247
|
-
.awsui_description-variant-h1-
|
|
246
|
+
.awsui_description-variant-h1-refresh_2qdw9_1xw9w_220:not(#\9) {
|
|
248
247
|
padding-top: var(--space-scaled-xs-u0e7ft, 8px);
|
|
249
248
|
}
|
|
250
|
-
.awsui_description-variant-
|
|
249
|
+
.awsui_description-variant-h2_2qdw9_1xw9w_223:not(#\9) {
|
|
251
250
|
font-size: var(--font-header-h2-description-size-213hsz, 14px);
|
|
252
251
|
line-height: var(--font-header-h2-description-line-height-j8zsi5, 22px);
|
|
253
252
|
padding-bottom: var(--space-scaled-xxs-ugy2pw, 4px);
|
|
254
253
|
}
|
|
255
|
-
.awsui_description-variant-
|
|
254
|
+
.awsui_description-variant-h3_2qdw9_1xw9w_228:not(#\9) {
|
|
256
255
|
font-size: var(--font-body-s-size-zu142i, 12px);
|
|
257
256
|
line-height: var(--font-body-s-line-height-yd7nw5, 16px);
|
|
258
257
|
letter-spacing: var(--font-body-s-letter-spacing-26nwxv, 0.005em);
|
|
259
258
|
padding-bottom: var(--space-scaled-xxs-ugy2pw, 4px);
|
|
260
259
|
}
|
|
261
|
-
.awsui_description-variant-h3-
|
|
260
|
+
.awsui_description-variant-h3-refresh_2qdw9_1xw9w_234:not(#\9) {
|
|
262
261
|
padding-top: var(--space-xxxs-rq3iss, 2px);
|
|
263
262
|
}
|
|
264
263
|
|
|
265
|
-
.
|
|
264
|
+
.awsui_heading_2qdw9_1xw9w_238:not(#\9) {
|
|
266
265
|
margin: 0;
|
|
267
266
|
display: inline;
|
|
268
267
|
font-size: inherit;
|
|
269
268
|
margin-right: var(--space-xs-inub5w, 8px);
|
|
270
269
|
}
|
|
271
|
-
.
|
|
270
|
+
.awsui_heading_2qdw9_1xw9w_238:not(#\9):only-child {
|
|
272
271
|
margin: 0;
|
|
273
272
|
}
|
|
274
|
-
.awsui_heading-variant-
|
|
273
|
+
.awsui_heading-variant-h1_2qdw9_1xw9w_247:not(#\9) {
|
|
275
274
|
font-size: var(--font-heading-xl-size-mgduwc, 32px);
|
|
276
275
|
line-height: var(--font-heading-xl-line-height-cka4rq, 40px);
|
|
277
276
|
letter-spacing: var(--font-heading-xl-letter-spacing-z86rqp, -0.02em);
|
|
278
277
|
}
|
|
279
|
-
.awsui_heading-variant-
|
|
278
|
+
.awsui_heading-variant-h2_2qdw9_1xw9w_252:not(#\9) {
|
|
280
279
|
font-size: var(--font-heading-l-size-jcxqqa, 24px);
|
|
281
280
|
line-height: var(--font-heading-l-line-height-sit3zj, 30px);
|
|
282
281
|
letter-spacing: var(--font-heading-l-letter-spacing-l0jyth, -0.015em);
|
|
283
282
|
}
|
|
284
|
-
.awsui_heading-variant-
|
|
283
|
+
.awsui_heading-variant-h3_2qdw9_1xw9w_257:not(#\9) {
|
|
285
284
|
font-size: var(--font-heading-m-size-sbbndt, 20px);
|
|
286
285
|
line-height: var(--font-heading-m-line-height-25bzvw, 24px);
|
|
287
286
|
letter-spacing: var(--font-heading-m-letter-spacing-afjv68, -0.01em);
|
|
288
287
|
}
|
|
289
288
|
|
|
290
|
-
.awsui_heading-
|
|
289
|
+
.awsui_heading-text_2qdw9_1xw9w_263:not(#\9) {
|
|
291
290
|
/* used in test-utils */
|
|
292
291
|
}
|
|
293
|
-
.awsui_heading-text-variant-
|
|
292
|
+
.awsui_heading-text-variant-h1_2qdw9_1xw9w_266:not(#\9) {
|
|
294
293
|
font-size: var(--font-heading-xl-size-mgduwc, 32px);
|
|
295
294
|
line-height: var(--font-heading-xl-line-height-cka4rq, 40px);
|
|
296
295
|
letter-spacing: var(--font-heading-xl-letter-spacing-z86rqp, -0.02em);
|
|
@@ -298,7 +297,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
298
297
|
-webkit-font-smoothing: var(--font-smoothing-webkit-imui5j, antialiased);
|
|
299
298
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-zc5t56, grayscale);
|
|
300
299
|
}
|
|
301
|
-
.awsui_heading-text-variant-
|
|
300
|
+
.awsui_heading-text-variant-h2_2qdw9_1xw9w_274:not(#\9) {
|
|
302
301
|
font-size: var(--font-heading-l-size-jcxqqa, 24px);
|
|
303
302
|
line-height: var(--font-heading-l-line-height-sit3zj, 30px);
|
|
304
303
|
letter-spacing: var(--font-heading-l-letter-spacing-l0jyth, -0.015em);
|
|
@@ -306,7 +305,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
306
305
|
-webkit-font-smoothing: var(--font-smoothing-webkit-imui5j, antialiased);
|
|
307
306
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-zc5t56, grayscale);
|
|
308
307
|
}
|
|
309
|
-
.awsui_heading-text-variant-
|
|
308
|
+
.awsui_heading-text-variant-h3_2qdw9_1xw9w_282:not(#\9) {
|
|
310
309
|
font-size: var(--font-heading-m-size-sbbndt, 20px);
|
|
311
310
|
line-height: var(--font-heading-m-line-height-25bzvw, 24px);
|
|
312
311
|
letter-spacing: var(--font-heading-m-letter-spacing-afjv68, -0.01em);
|
|
@@ -315,7 +314,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
315
314
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-zc5t56, grayscale);
|
|
316
315
|
}
|
|
317
316
|
|
|
318
|
-
.
|
|
317
|
+
.awsui_counter_2qdw9_1xw9w_291:not(#\9) {
|
|
319
318
|
color: var(--color-text-counter-mls8z1, #5f6b7a);
|
|
320
319
|
font-weight: 400;
|
|
321
320
|
}
|
|
@@ -2,49 +2,49 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"root-no-actions": "awsui_root-no-
|
|
7
|
-
"root-variant-h1": "awsui_root-variant-
|
|
8
|
-
"root-variant-h1-refresh": "awsui_root-variant-h1-
|
|
9
|
-
"root-variant-h2": "awsui_root-variant-
|
|
10
|
-
"root-has-description": "awsui_root-has-
|
|
11
|
-
"root-variant-h2-refresh": "awsui_root-variant-h2-
|
|
12
|
-
"root-variant-h3": "awsui_root-variant-
|
|
13
|
-
"root-variant-h3-refresh": "awsui_root-variant-h3-
|
|
14
|
-
"root-no-wrap": "awsui_root-no-
|
|
15
|
-
"main": "
|
|
16
|
-
"main-variant-h1": "awsui_main-variant-
|
|
17
|
-
"main-variant-h1-refresh": "awsui_main-variant-h1-
|
|
18
|
-
"main-variant-h2": "awsui_main-variant-
|
|
19
|
-
"main-variant-h3": "awsui_main-variant-
|
|
20
|
-
"main-variant-h2-refresh": "awsui_main-variant-h2-
|
|
21
|
-
"actions": "
|
|
22
|
-
"actions-variant-h1": "awsui_actions-variant-
|
|
23
|
-
"actions-variant-h1-refresh": "awsui_actions-variant-h1-
|
|
24
|
-
"actions-variant-h2": "awsui_actions-variant-
|
|
25
|
-
"actions-variant-h3": "awsui_actions-variant-
|
|
26
|
-
"actions-variant-h2-refresh": "awsui_actions-variant-h2-
|
|
27
|
-
"actions-variant-h3-refresh": "awsui_actions-variant-h3-
|
|
28
|
-
"title": "
|
|
29
|
-
"title-variant-h1": "awsui_title-variant-
|
|
30
|
-
"title-variant-h2": "awsui_title-variant-
|
|
31
|
-
"title-variant-h3": "awsui_title-variant-
|
|
32
|
-
"title-variant-h2-refresh": "awsui_title-variant-h2-
|
|
33
|
-
"info": "
|
|
34
|
-
"description": "
|
|
35
|
-
"description-variant-h1": "awsui_description-variant-
|
|
36
|
-
"description-variant-h1-refresh": "awsui_description-variant-h1-
|
|
37
|
-
"description-variant-h2": "awsui_description-variant-
|
|
38
|
-
"description-variant-h3": "awsui_description-variant-
|
|
39
|
-
"description-variant-h3-refresh": "awsui_description-variant-h3-
|
|
40
|
-
"heading": "
|
|
41
|
-
"heading-variant-h1": "awsui_heading-variant-
|
|
42
|
-
"heading-variant-h2": "awsui_heading-variant-
|
|
43
|
-
"heading-variant-h3": "awsui_heading-variant-
|
|
44
|
-
"heading-text": "awsui_heading-
|
|
45
|
-
"heading-text-variant-h1": "awsui_heading-text-variant-
|
|
46
|
-
"heading-text-variant-h2": "awsui_heading-text-variant-
|
|
47
|
-
"heading-text-variant-h3": "awsui_heading-text-variant-
|
|
48
|
-
"counter": "
|
|
5
|
+
"root": "awsui_root_2qdw9_1xw9w_93",
|
|
6
|
+
"root-no-actions": "awsui_root-no-actions_2qdw9_1xw9w_110",
|
|
7
|
+
"root-variant-h1": "awsui_root-variant-h1_2qdw9_1xw9w_110",
|
|
8
|
+
"root-variant-h1-refresh": "awsui_root-variant-h1-refresh_2qdw9_1xw9w_113",
|
|
9
|
+
"root-variant-h2": "awsui_root-variant-h2_2qdw9_1xw9w_116",
|
|
10
|
+
"root-has-description": "awsui_root-has-description_2qdw9_1xw9w_116",
|
|
11
|
+
"root-variant-h2-refresh": "awsui_root-variant-h2-refresh_2qdw9_1xw9w_119",
|
|
12
|
+
"root-variant-h3": "awsui_root-variant-h3_2qdw9_1xw9w_122",
|
|
13
|
+
"root-variant-h3-refresh": "awsui_root-variant-h3-refresh_2qdw9_1xw9w_125",
|
|
14
|
+
"root-no-wrap": "awsui_root-no-wrap_2qdw9_1xw9w_128",
|
|
15
|
+
"main": "awsui_main_2qdw9_1xw9w_132",
|
|
16
|
+
"main-variant-h1": "awsui_main-variant-h1_2qdw9_1xw9w_139",
|
|
17
|
+
"main-variant-h1-refresh": "awsui_main-variant-h1-refresh_2qdw9_1xw9w_142",
|
|
18
|
+
"main-variant-h2": "awsui_main-variant-h2_2qdw9_1xw9w_148",
|
|
19
|
+
"main-variant-h3": "awsui_main-variant-h3_2qdw9_1xw9w_148",
|
|
20
|
+
"main-variant-h2-refresh": "awsui_main-variant-h2-refresh_2qdw9_1xw9w_154",
|
|
21
|
+
"actions": "awsui_actions_2qdw9_1xw9w_161",
|
|
22
|
+
"actions-variant-h1": "awsui_actions-variant-h1_2qdw9_1xw9w_165",
|
|
23
|
+
"actions-variant-h1-refresh": "awsui_actions-variant-h1-refresh_2qdw9_1xw9w_168",
|
|
24
|
+
"actions-variant-h2": "awsui_actions-variant-h2_2qdw9_1xw9w_171",
|
|
25
|
+
"actions-variant-h3": "awsui_actions-variant-h3_2qdw9_1xw9w_171",
|
|
26
|
+
"actions-variant-h2-refresh": "awsui_actions-variant-h2-refresh_2qdw9_1xw9w_177",
|
|
27
|
+
"actions-variant-h3-refresh": "awsui_actions-variant-h3-refresh_2qdw9_1xw9w_180",
|
|
28
|
+
"title": "awsui_title_2qdw9_1xw9w_184",
|
|
29
|
+
"title-variant-h1": "awsui_title-variant-h1_2qdw9_1xw9w_190",
|
|
30
|
+
"title-variant-h2": "awsui_title-variant-h2_2qdw9_1xw9w_193",
|
|
31
|
+
"title-variant-h3": "awsui_title-variant-h3_2qdw9_1xw9w_193",
|
|
32
|
+
"title-variant-h2-refresh": "awsui_title-variant-h2-refresh_2qdw9_1xw9w_199",
|
|
33
|
+
"info": "awsui_info_2qdw9_1xw9w_206",
|
|
34
|
+
"description": "awsui_description_2qdw9_1xw9w_210",
|
|
35
|
+
"description-variant-h1": "awsui_description-variant-h1_2qdw9_1xw9w_215",
|
|
36
|
+
"description-variant-h1-refresh": "awsui_description-variant-h1-refresh_2qdw9_1xw9w_220",
|
|
37
|
+
"description-variant-h2": "awsui_description-variant-h2_2qdw9_1xw9w_223",
|
|
38
|
+
"description-variant-h3": "awsui_description-variant-h3_2qdw9_1xw9w_228",
|
|
39
|
+
"description-variant-h3-refresh": "awsui_description-variant-h3-refresh_2qdw9_1xw9w_234",
|
|
40
|
+
"heading": "awsui_heading_2qdw9_1xw9w_238",
|
|
41
|
+
"heading-variant-h1": "awsui_heading-variant-h1_2qdw9_1xw9w_247",
|
|
42
|
+
"heading-variant-h2": "awsui_heading-variant-h2_2qdw9_1xw9w_252",
|
|
43
|
+
"heading-variant-h3": "awsui_heading-variant-h3_2qdw9_1xw9w_257",
|
|
44
|
+
"heading-text": "awsui_heading-text_2qdw9_1xw9w_263",
|
|
45
|
+
"heading-text-variant-h1": "awsui_heading-text-variant-h1_2qdw9_1xw9w_266",
|
|
46
|
+
"heading-text-variant-h2": "awsui_heading-text-variant-h2_2qdw9_1xw9w_274",
|
|
47
|
+
"heading-text-variant-h3": "awsui_heading-text-variant-h3_2qdw9_1xw9w_282",
|
|
48
|
+
"counter": "awsui_counter_2qdw9_1xw9w_291"
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"lib/default/","sources":["help-panel/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,cAAe,SAAQ,kBAAkB;IACxD;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"lib/default/","sources":["help-panel/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,cAAe,SAAQ,kBAAkB;IACxD;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["help-panel/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport React from 'react';\n\nexport interface HelpPanelProps extends BaseComponentProps {\n /**\n * Header of the help panel.\n *\n * It should contain the only `h2` used in the help panel.\n */\n header?: React.ReactNode;\n\n /**\n * Main content of the help panel.\n *\n * Use `p, a, h3, h4, h5, span, div, ul, ol, li, code, pre, dl, dt, dd, hr, br, i, em, b, strong` tags to format the content.\n * Use `code` for inline code or `pre` for code blocks.\n */\n children?: React.ReactNode;\n\n /**\n * Footer of the help panel.\n */\n footer?: React.ReactNode;\n\n /**\n * Renders the panel in a loading state. We recommend that you also set a `loadingText`.\n */\n loading?: boolean;\n\n /**\n * Specifies the text that's displayed when the panel is in a loading state.\n
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["help-panel/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport React from 'react';\n\nexport interface HelpPanelProps extends BaseComponentProps {\n /**\n * Header of the help panel.\n *\n * It should contain the only `h2` used in the help panel.\n */\n header?: React.ReactNode;\n\n /**\n * Main content of the help panel.\n *\n * Use `p, a, h3, h4, h5, span, div, ul, ol, li, code, pre, dl, dt, dd, hr, br, i, em, b, strong` tags to format the content.\n * Use `code` for inline code or `pre` for code blocks.\n */\n children?: React.ReactNode;\n\n /**\n * Footer of the help panel.\n */\n footer?: React.ReactNode;\n\n /**\n * Renders the panel in a loading state. We recommend that you also set a `loadingText`.\n */\n loading?: boolean;\n\n /**\n * Specifies the text that's displayed when the panel is in a loading state.\n */\n loadingText?: string;\n}\n"]}
|
package/input/interfaces.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"lib/default/","sources":["input/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACtG,OAAO,EAAE,+BAA+B,EAAE,MAAM,wCAAwC,CAAC;AAEzF,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;;OAIG;IACH,S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AAC;IAEvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC;IAEjC;;;;OAIG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC,IAAI,CAAC;CACxB;AAED,yBAAiB,UAAU,CAAC;IAC1B,KAAY,IAAI,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAC;IAC/E,KAAY,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAC;IACrG,KAAY,IAAI,GAAG,MAAM,GAAG,KAAK,CAAC;IAElC,KAAY,YAAY,GAAG,gBAAgB,CAAC;IAC5C,KAAY,SAAS,GAAG,aAAa,CAAC;IAEtC,UAAiB,GAAG;QAClB;;WAEG;QACH,KAAK,IAAI,IAAI,CAAC;QAEd;;WAEG;QACH,MAAM,IAAI,IAAI,CAAC;KAChB;CACF;AACD,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf"}
|
package/input/interfaces.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["input/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport { BaseKeyDetail, CancelableEventHandler, NonCancelableEventHandler } from '../internal/events';\nimport { FormFieldValidationControlProps } from '../internal/context/form-field-context';\n\nexport interface BaseInputProps {\n /**\n * Specifies the text entered into the form element.\n */\n value: string;\n\n /**\n * Specifies the name of the control used in HTML forms.\n */\n name?: string;\n\n /**\n * Specifies the placeholder text rendered when the value is an empty string.\n */\n placeholder?: string;\n\n /**\n * Specifies if the control is disabled, which prevents the\n * user from modifying the value and prevents the value from\n * being included in a form submission. A disabled control can't\n * receive focus.\n */\n disabled?: boolean;\n\n /**\n * Specifies if the control is read only, which prevents the\n * user from modifying the value but includes it in a form\n * submission. A read-only control can receive focus.\n *\n * Don't use read-only inputs outside a form.\n */\n readOnly?: boolean;\n\n /**\n * Indicates whether the control should be focused as\n * soon as the page loads, which enables the user to\n * start typing without having to manually focus the control. Don't\n * use this option on pages where the control may be\n * scrolled out of the viewport.\n */\n autoFocus?: boolean;\n\n /**\n * Adds an `aria-label` to the native control.\n *\n * Use this if you don't have a visible label for this control.\n */\n ariaLabel?: string;\n\n /**\n * Specifies whether to add `aria-required` to the native control.\n */\n ariaRequired?: boolean;\n\n /**\n * Called when input focus is removed from the UI control.\n */\n onBlur?: NonCancelableEventHandler<null>;\n\n /**\n * Called when input focus is moved to the UI control.\n */\n onFocus?: NonCancelableEventHandler<null>;\n\n /**\n * Called whenever a user changes the input value (by typing or pasting).\n * The event `detail` contains the current value of the field.\n */\n onChange?: NonCancelableEventHandler<InputProps.ChangeDetail>;\n}\n\nexport interface InputAutoCorrect {\n /**\n * Specifies whether to disable browser autocorrect and related features.\n * If you set this to `true`, it disables any native browser capabilities\n * that automatically correct user input, such as `autocorrect` and\n * `autocapitalize`. If you don't set it, the behavior follows the default behavior\n * of the user's browser.\n */\n disableBrowserAutocorrect?: boolean;\n}\n\nexport interface InputAutoComplete {\n /**\n * Specifies whether to enable a browser's autocomplete functionality for this input.\n * In some cases it might be appropriate to disable autocomplete (for example, for security-sensitive fields).\n * To use it correctly, set the `name` property.\n *\n * You can either provide a boolean value to set the property to \"on\" or \"off\", or specify a string value\n * for the [autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute.\n */\n autoComplete?: boolean | string;\n}\n\nexport interface InputSpellcheck {\n /**\n * Specifies the value of the `spellcheck` attribute on the native control.\n * This value controls the native browser capability to check for spelling/grammar errors.\n * If not set, the browser default behavior is to perform spellchecking.\n * For more details, check the [spellcheck MDN article](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck).\n *\n * Enhanced spellchecking features of your browser and/or operating system may send input values to external parties.\n * Make sure it’s deactivated for fields with sensitive information to prevent\n * inadvertently sending data (such as user passwords) to third parties.\n */\n spellcheck?: boolean;\n}\n\nexport interface InputKeyEvents {\n /**\n * Called when the underlying native textarea emits a `keydown` event.\n * The event `detail` contains the `keyCode` and information\n * about modifiers (that is, CTRL, ALT, SHIFT, META, etc.).\n */\n onKeyDown?: CancelableEventHandler<InputProps.KeyDetail>;\n\n /**\n * Called when the underlying native textarea emits a `keyup` event.\n * The event `detail` contains the `keyCode` and information\n * about modifiers (that is, CTRL, ALT, SHIFT, META, etc.).\n */\n onKeyUp?: CancelableEventHandler<InputProps.KeyDetail>;\n}\n\nexport interface InputClearLabel {\n /**\n * Adds an `aria-label` to the clear button inside the search input.\n
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["input/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../internal/base-component';\nimport { BaseKeyDetail, CancelableEventHandler, NonCancelableEventHandler } from '../internal/events';\nimport { FormFieldValidationControlProps } from '../internal/context/form-field-context';\n\nexport interface BaseInputProps {\n /**\n * Specifies the text entered into the form element.\n */\n value: string;\n\n /**\n * Specifies the name of the control used in HTML forms.\n */\n name?: string;\n\n /**\n * Specifies the placeholder text rendered when the value is an empty string.\n */\n placeholder?: string;\n\n /**\n * Specifies if the control is disabled, which prevents the\n * user from modifying the value and prevents the value from\n * being included in a form submission. A disabled control can't\n * receive focus.\n */\n disabled?: boolean;\n\n /**\n * Specifies if the control is read only, which prevents the\n * user from modifying the value but includes it in a form\n * submission. A read-only control can receive focus.\n *\n * Don't use read-only inputs outside a form.\n */\n readOnly?: boolean;\n\n /**\n * Indicates whether the control should be focused as\n * soon as the page loads, which enables the user to\n * start typing without having to manually focus the control. Don't\n * use this option on pages where the control may be\n * scrolled out of the viewport.\n */\n autoFocus?: boolean;\n\n /**\n * Adds an `aria-label` to the native control.\n *\n * Use this if you don't have a visible label for this control.\n */\n ariaLabel?: string;\n\n /**\n * Specifies whether to add `aria-required` to the native control.\n */\n ariaRequired?: boolean;\n\n /**\n * Called when input focus is removed from the UI control.\n */\n onBlur?: NonCancelableEventHandler<null>;\n\n /**\n * Called when input focus is moved to the UI control.\n */\n onFocus?: NonCancelableEventHandler<null>;\n\n /**\n * Called whenever a user changes the input value (by typing or pasting).\n * The event `detail` contains the current value of the field.\n */\n onChange?: NonCancelableEventHandler<InputProps.ChangeDetail>;\n}\n\nexport interface InputAutoCorrect {\n /**\n * Specifies whether to disable browser autocorrect and related features.\n * If you set this to `true`, it disables any native browser capabilities\n * that automatically correct user input, such as `autocorrect` and\n * `autocapitalize`. If you don't set it, the behavior follows the default behavior\n * of the user's browser.\n */\n disableBrowserAutocorrect?: boolean;\n}\n\nexport interface InputAutoComplete {\n /**\n * Specifies whether to enable a browser's autocomplete functionality for this input.\n * In some cases it might be appropriate to disable autocomplete (for example, for security-sensitive fields).\n * To use it correctly, set the `name` property.\n *\n * You can either provide a boolean value to set the property to \"on\" or \"off\", or specify a string value\n * for the [autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute.\n */\n autoComplete?: boolean | string;\n}\n\nexport interface InputSpellcheck {\n /**\n * Specifies the value of the `spellcheck` attribute on the native control.\n * This value controls the native browser capability to check for spelling/grammar errors.\n * If not set, the browser default behavior is to perform spellchecking.\n * For more details, check the [spellcheck MDN article](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck).\n *\n * Enhanced spellchecking features of your browser and/or operating system may send input values to external parties.\n * Make sure it’s deactivated for fields with sensitive information to prevent\n * inadvertently sending data (such as user passwords) to third parties.\n */\n spellcheck?: boolean;\n}\n\nexport interface InputKeyEvents {\n /**\n * Called when the underlying native textarea emits a `keydown` event.\n * The event `detail` contains the `keyCode` and information\n * about modifiers (that is, CTRL, ALT, SHIFT, META, etc.).\n */\n onKeyDown?: CancelableEventHandler<InputProps.KeyDetail>;\n\n /**\n * Called when the underlying native textarea emits a `keyup` event.\n * The event `detail` contains the `keyCode` and information\n * about modifiers (that is, CTRL, ALT, SHIFT, META, etc.).\n */\n onKeyUp?: CancelableEventHandler<InputProps.KeyDetail>;\n}\n\nexport interface InputClearLabel {\n /**\n * Adds an `aria-label` to the clear button inside the search input.\n */\n clearAriaLabel?: string;\n}\n\nexport interface InputProps\n extends BaseComponentProps,\n BaseInputProps,\n InputKeyEvents,\n InputAutoCorrect,\n InputAutoComplete,\n InputSpellcheck,\n InputClearLabel,\n FormFieldValidationControlProps {\n /**\n * Specifies the type of control to render.\n * Inputs with a `number` type use the native element behavior, which might\n * be slightly different across browsers.\n */\n type?: InputProps.Type;\n\n /**\n * Adds a hint to the browser about the type of data a user may enter into this field.\n * Some devices may render a different virtual keyboard depending on this value.\n * This value may not be supported by all browsers or devices.\n */\n inputMode?: InputProps.InputMode;\n\n /**\n * The step attribute is a number that specifies the granularity that the value\n * must adhere to or the keyword \"any\". It is valid for the numeric input types,\n * including the date, month, week, time, datetime-local, number and range types.\n */\n step?: InputProps.Step;\n}\n\nexport namespace InputProps {\n export type Type = 'text' | 'password' | 'search' | 'number' | 'email' | 'url';\n export type InputMode = 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';\n export type Step = number | 'any';\n\n export type ChangeDetail = BaseChangeDetail;\n export type KeyDetail = BaseKeyDetail;\n\n export interface Ref {\n /**\n * Sets input focus onto the UI control.\n */\n focus(): void;\n\n /**\n * Selects all text in the input control.\n */\n select(): void;\n }\n}\nexport interface BaseChangeDetail {\n value: string;\n}\n"]}
|
|
@@ -57,7 +57,6 @@ export interface CartesianChartProps<T extends ChartDataTypes, Series> extends B
|
|
|
57
57
|
ariaDescription?: string;
|
|
58
58
|
/**
|
|
59
59
|
* An object containing all the necessary localized strings required by the component.
|
|
60
|
-
* @i18n
|
|
61
60
|
*/
|
|
62
61
|
i18nStrings?: CartesianChartProps.I18nStrings<T>;
|
|
63
62
|
/**
|
|
@@ -115,17 +114,14 @@ export interface CartesianChartProps<T extends ChartDataTypes, Series> extends B
|
|
|
115
114
|
noMatch?: React.ReactNode;
|
|
116
115
|
/**
|
|
117
116
|
* Text that is displayed when the chart is loading, i.e. when `statusType` is set to `"loading"`.
|
|
118
|
-
* @i18n
|
|
119
117
|
*/
|
|
120
118
|
loadingText?: string;
|
|
121
119
|
/**
|
|
122
120
|
* Text that is displayed when the chart is in error state, i.e. when `statusType` is set to `"error"`.
|
|
123
|
-
* @i18n
|
|
124
121
|
*/
|
|
125
122
|
errorText?: string;
|
|
126
123
|
/**
|
|
127
124
|
* Text for the recovery button that is displayed next to the error text.
|
|
128
|
-
* @i18n
|
|
129
125
|
**/
|
|
130
126
|
recoveryText?: string;
|
|
131
127
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"lib/default/","sources":["internal/components/cartesian-chart/interfaces.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,cAAc,EAAE,MAAM,CAAE,SAAQ,kBAAkB;IAC/F;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IAE9B;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,CAAC,SAAS,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC;IAElE;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAEhC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,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C,SAAS,cAAc,IAAI,CAAC,SAAS,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC;AAC5G,MAAM,MAAM,OAAO,CAAC,CAAC,SAAS,cAAc,IAAI,WAAW,CAAC,CAAC,CAAC,CAAC;AAC/D,MAAM,MAAM,OAAO,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["internal/components/cartesian-chart/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../../base-component';\nimport { NonCancelableEventHandler } from '../../events';\n\nexport interface CartesianChartProps<T extends ChartDataTypes, Series> extends BaseComponentProps {\n /**\n * Determines the type of scale for values on the x axis.\n */\n xScaleType?: ScaleType;\n\n /**\n * Determines the type of scale for values on the y axis.\n */\n yScaleType?: 'linear' | 'log';\n\n /**\n * Determines the domain of the x axis, i.e. the range of values that will be visible in the chart.\n * For numerical and time-based data this is represented as an array with two values: `[minimumValue, maximumValue]`.\n * For categorical data this is represented as an array of strings that determine the categories to display.\n *\n * It is recommended to set this explicitly. If not, the component will determine a domain that fits all data points.\n * When controlling this directly, make sure to update the value based on filtering changes.\n */\n xDomain?: T extends unknown ? ReadonlyArray<T> : ReadonlyArray<T>;\n\n /**\n * Determines the domain of the y axis, i.e. the range of values that will be visible in the chart.\n * The domain is defined by a tuple: `[minimumValue, maximumValue]`.\n *\n * It is recommended to set this explicitly. If not, the component will determine a domain that fits all data points.\n * When controlling this directly, make sure to update the value based on filtering changes.\n */\n yDomain?: ReadonlyArray<number>;\n\n /**\n * The title of the x axis.\n */\n xTitle?: string;\n\n /**\n * The title of the y axis.\n */\n yTitle?: string;\n\n /**\n * Optional title for the legend.\n */\n legendTitle?: string;\n\n /**\n * ARIA label that is assigned to the chart itself. It should match the visible label on the page, e.g. in the container header.\n * Do not use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabel?: string;\n\n /**\n * Sets `aria-labelledby` on the chart itself.\n * If there is a visible label for the chart on the page, e.g. in the container header, set this property to the ID of that header element.\n * Do not use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabelledby?: string;\n\n /**\n * A description of the chart that assistive technologies can use (through `aria-describedby`).\n * Provide a concise summary of the data visualized in the chart.\n */\n ariaDescription?: string;\n\n /**\n * An object containing all the necessary localized strings required by the component.\n
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["internal/components/cartesian-chart/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseComponentProps } from '../../base-component';\nimport { NonCancelableEventHandler } from '../../events';\n\nexport interface CartesianChartProps<T extends ChartDataTypes, Series> extends BaseComponentProps {\n /**\n * Determines the type of scale for values on the x axis.\n */\n xScaleType?: ScaleType;\n\n /**\n * Determines the type of scale for values on the y axis.\n */\n yScaleType?: 'linear' | 'log';\n\n /**\n * Determines the domain of the x axis, i.e. the range of values that will be visible in the chart.\n * For numerical and time-based data this is represented as an array with two values: `[minimumValue, maximumValue]`.\n * For categorical data this is represented as an array of strings that determine the categories to display.\n *\n * It is recommended to set this explicitly. If not, the component will determine a domain that fits all data points.\n * When controlling this directly, make sure to update the value based on filtering changes.\n */\n xDomain?: T extends unknown ? ReadonlyArray<T> : ReadonlyArray<T>;\n\n /**\n * Determines the domain of the y axis, i.e. the range of values that will be visible in the chart.\n * The domain is defined by a tuple: `[minimumValue, maximumValue]`.\n *\n * It is recommended to set this explicitly. If not, the component will determine a domain that fits all data points.\n * When controlling this directly, make sure to update the value based on filtering changes.\n */\n yDomain?: ReadonlyArray<number>;\n\n /**\n * The title of the x axis.\n */\n xTitle?: string;\n\n /**\n * The title of the y axis.\n */\n yTitle?: string;\n\n /**\n * Optional title for the legend.\n */\n legendTitle?: string;\n\n /**\n * ARIA label that is assigned to the chart itself. It should match the visible label on the page, e.g. in the container header.\n * Do not use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabel?: string;\n\n /**\n * Sets `aria-labelledby` on the chart itself.\n * If there is a visible label for the chart on the page, e.g. in the container header, set this property to the ID of that header element.\n * Do not use `ariaLabel` and `ariaLabelledby` at the same time.\n */\n ariaLabelledby?: string;\n\n /**\n * A description of the chart that assistive technologies can use (through `aria-describedby`).\n * Provide a concise summary of the data visualized in the chart.\n */\n ariaDescription?: string;\n\n /**\n * An object containing all the necessary localized strings required by the component.\n */\n i18nStrings?: CartesianChartProps.I18nStrings<T>;\n\n /**\n * An optional pixel value number that fixes the height of the chart area.\n * If not set explicitly, the component will use a default height that is defined internally.\n */\n height?: number;\n\n /**\n * Determines the maximum width the detail popover will be limited to.\n */\n detailPopoverSize?: 'small' | 'medium' | 'large';\n\n /**\n * When set to `true`, the legend beneath the chart is not displayed.\n * It is highly recommended to keep this set to `false`.\n */\n hideLegend?: boolean;\n\n /**\n * When set to `true`, the default filtering dropdown is not displayed.\n * It is still possible to render additional filters with the `additionalFilters` slot.\n */\n hideFilter?: boolean;\n\n /**\n * Additional filters that are added above the chart component.\n * Make sure to update the `data` property when any of your custom filters change the data to be displayed.\n */\n additionalFilters?: React.ReactNode;\n\n /**\n * The currently highlighted data series, usually through hovering over a series or the legend.\n * A value of `null` means no series is highlighted.\n *\n * - If you do not set this property, series are highlighted automatically when hovering over one of the triggers (uncontrolled behavior).\n * - If you explicitly set this property, you must set an `onHighlightChange` listener to update this property when a series should be highlighted (controlled behavior).\n */\n highlightedSeries?: Series | null;\n\n /**\n * An array of series objects that determines which of the data series are currently displayed, i.e. not filtered out.\n * - If you do not set this property, series are shown and hidden automatically when using the default filter component (uncontrolled behavior).\n * - If you explicitly set this property, you must set an `onFilterChange` listener to update this property when the visible series should change, or when one of your custom filters changes the number of visible series (controlled behavior).\n */\n visibleSeries?: ReadonlyArray<Series>;\n\n /**\n * Specifies the current status of loading data.\n * * `loading`: data fetching is in progress.\n * * `finished`: data has loaded successfully.\n * * `error`: an error occurred during fetch. You should provide user an option to recover.\n **/\n statusType?: 'loading' | 'finished' | 'error';\n\n /**\n * Content that is displayed when the data passed to the component is empty.\n */\n empty?: React.ReactNode;\n\n /**\n * Content that is displayed when there is no data to display due to the built-in filtering.\n */\n noMatch?: React.ReactNode;\n\n /**\n * Text that is displayed when the chart is loading, i.e. when `statusType` is set to `\"loading\"`.\n */\n loadingText?: string;\n\n /**\n * Text that is displayed when the chart is in error state, i.e. when `statusType` is set to `\"error\"`.\n */\n errorText?: string;\n\n /**\n * Text for the recovery button that is displayed next to the error text.\n **/\n recoveryText?: string;\n\n /**\n * Called when the user clicks the recovery button that appears when there is an error state.\n * Use this to enable the user to retry a failed request or provide another option for the user\n * to recover from the error.\n */\n onRecoveryClick?: NonCancelableEventHandler;\n\n /**\n * Called when the values of the internal filter component changed.\n * This will **not** be called for any custom filter components you have defined in `additionalFilters`.\n */\n onFilterChange?: NonCancelableEventHandler<CartesianChartProps.FilterChangeDetail<Series>>;\n\n /**\n * Called when the highlighted series has changed because of user interaction.\n */\n onHighlightChange?: NonCancelableEventHandler<CartesianChartProps.HighlightChangeDetail<Series>>;\n}\n\nexport namespace CartesianChartProps {\n export interface FilterChangeDetail<Series> {\n visibleSeries: ReadonlyArray<Series>;\n }\n\n export interface HighlightChangeDetail<Series> {\n highlightedSeries: Series | null;\n }\n\n export interface TickFormatter<T> {\n (value: T): string;\n }\n\n export interface ValueFormatter<YType, XType = null> {\n (yValue: YType, xValue: XType): string;\n }\n\n export interface I18nStrings<T> {\n /** Visible label of the default filter */\n filterLabel?: string;\n\n /** Placeholder text of the default filter */\n filterPlaceholder?: string;\n\n /** ARIA label for the default filter which is appended to any option that is selected */\n filterSelectedAriaLabel?: string;\n\n /** ARIA label that is associated with the legend in case there is no visible `legendTitle` defined */\n legendAriaLabel?: string;\n\n /** ARIA label for details popover dismiss button */\n detailPopoverDismissAriaLabel?: string;\n\n /** Name of the ARIA role description of the chart, e.g. \"line chart\" */\n chartAriaRoleDescription?: string;\n\n /** Name of the ARIA role description of the x axis, e.g. \"x axis\" */\n xAxisAriaRoleDescription?: string;\n\n /** Name of the ARIA role description of the y axis, e.g. \"y axis\" */\n yAxisAriaRoleDescription?: string;\n\n /** Function to format the displayed label of an x axis tick. */\n xTickFormatter?: TickFormatter<T>;\n\n /** Function to format the displayed label of a y axis tick. */\n yTickFormatter?: TickFormatter<number>;\n }\n}\n\nexport type ChartDataTypes = number | string | Date;\n\nexport type ScaleType = 'linear' | 'log' | 'time' | 'categorical';\nexport type XScaleType = 'linear' | 'log' | 'time' | 'categorical';\nexport type YScaleType = 'linear' | 'log';\nexport type ScaleRange = [number, number];\n\nexport type ChartDomain<T extends ChartDataTypes> = T extends unknown ? ReadonlyArray<T> : ReadonlyArray<T>;\nexport type XDomain<T extends ChartDataTypes> = ChartDomain<T>;\nexport type YDomain = ChartDomain<number>;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["internal/components/drag-handle/index.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAMpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAG1E,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,oBAAoB,CAAC,cAAc,CAAC,CAAC;IACjD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,oBAAoB,CAAC;CAClC;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,eAAe,eAMvF"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import Handle from '../handle';
|
|
5
|
-
import InternalIcon from '
|
|
5
|
+
import InternalIcon from '../../../icon/internal';
|
|
6
6
|
import styles from './styles.css.js';
|
|
7
7
|
import handleStyles from '../handle/styles.css.js';
|
|
8
8
|
import clsx from 'clsx';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["internal/components/drag-handle/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,YAAY,MAAM,wBAAwB,CAAC;AAClD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,YAAY,MAAM,yBAAyB,CAAC;AAEnD,OAAO,IAAI,MAAM,MAAM,CAAC;AAQxB,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAmB;IACtF,OAAO,CACL,oBAAC,MAAM,kBAAC,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,IAAI,YAAY,CAAC,YAAY,CAAC,CAAC,IAAM,UAAU,EAAM,SAAS;QAC5G,oBAAC,YAAY,IAAC,IAAI,EAAC,gBAAgB,GAAG,CAC/B,CACV,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { ButtonHTMLAttributes } from 'react';\n\nimport Handle from '../handle';\nimport InternalIcon from '../../../icon/internal';\nimport styles from './styles.css.js';\nimport handleStyles from '../handle/styles.css.js';\nimport { SyntheticListenerMap } from '@dnd-kit/core/dist/hooks/utilities';\nimport clsx from 'clsx';\n\nexport interface DragHandleProps {\n attributes: ButtonHTMLAttributes<HTMLDivElement>;\n hideFocus?: boolean;\n listeners?: SyntheticListenerMap;\n}\n\nexport default function DragHandle({ attributes, hideFocus, listeners }: DragHandleProps) {\n return (\n <Handle className={clsx(styles.handle, hideFocus && handleStyles['hide-focus'])} {...attributes} {...listeners}>\n <InternalIcon name=\"drag-indicator\" />\n </Handle>\n );\n}\n"]}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
|
-
.
|
|
5
|
+
.awsui_handle_sdha6_1v8zk_5:not(#\9) {
|
|
6
6
|
cursor: grab;
|
|
7
7
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
8
8
|
touch-action: none;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.
|
|
11
|
+
.awsui_handle_sdha6_1v8zk_5:not(#\9):active {
|
|
12
12
|
cursor: grabbing;
|
|
13
13
|
}
|
|
@@ -15,18 +15,15 @@ export interface DropdownStatusProps {
|
|
|
15
15
|
finishedText?: string;
|
|
16
16
|
/**
|
|
17
17
|
* Specifies the text to display when a data fetching error occurs. Make sure that you provide `recoveryText`.
|
|
18
|
-
* @i18n
|
|
19
18
|
**/
|
|
20
19
|
errorText?: string;
|
|
21
20
|
/**
|
|
22
21
|
* Specifies the text for the recovery button. The text is displayed next to the error text.
|
|
23
22
|
* Use the `onLoadItems` event to perform a recovery action (for example, retrying the request).
|
|
24
|
-
* @i18n
|
|
25
23
|
**/
|
|
26
24
|
recoveryText?: string;
|
|
27
25
|
/**
|
|
28
26
|
* Provides a text alternative for the error icon in the error message.
|
|
29
|
-
* @i18n
|
|
30
27
|
*/
|
|
31
28
|
errorIconAriaLabel?: string;
|
|
32
29
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"lib/default/","sources":["internal/components/dropdown-status/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;QAEI;IACJ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;QAEI;IACJ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"lib/default/","sources":["internal/components/dropdown-status/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;QAEI;IACJ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;QAEI;IACJ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;QAEI;IACJ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;QAGI;IACJ,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;;;QAMI;IACJ,UAAU,CAAC,EAAE,mBAAmB,CAAC,UAAU,CAAC;CAC7C;AAED,yBAAiB,mBAAmB,CAAC;IACnC,KAAY,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,CAAC;CACvE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["internal/components/dropdown-status/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { ReactNode } from 'react';\n\nexport interface DropdownStatusProps {\n /**\n * Displayed when there are no options to display.\n * This is only shown when `statusType` is set to `finished` or not set at all.\n */\n empty?: ReactNode;\n /**\n * Specifies the text to display when in the loading state.\n **/\n loadingText?: string;\n /**\n * Specifies the text to display at the bottom of the dropdown menu after pagination has reached the end.\n **/\n finishedText?: string;\n /**\n * Specifies the text to display when a data fetching error occurs. Make sure that you provide `recoveryText`.\n
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["internal/components/dropdown-status/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { ReactNode } from 'react';\n\nexport interface DropdownStatusProps {\n /**\n * Displayed when there are no options to display.\n * This is only shown when `statusType` is set to `finished` or not set at all.\n */\n empty?: ReactNode;\n /**\n * Specifies the text to display when in the loading state.\n **/\n loadingText?: string;\n /**\n * Specifies the text to display at the bottom of the dropdown menu after pagination has reached the end.\n **/\n finishedText?: string;\n /**\n * Specifies the text to display when a data fetching error occurs. Make sure that you provide `recoveryText`.\n **/\n errorText?: string;\n /**\n * Specifies the text for the recovery button. The text is displayed next to the error text.\n * Use the `onLoadItems` event to perform a recovery action (for example, retrying the request).\n **/\n recoveryText?: string;\n\n /**\n * Provides a text alternative for the error icon in the error message.\n */\n errorIconAriaLabel?: string;\n /**\n * Specifies the current status of loading more options.\n * * `pending` - Indicates that no request in progress, but more options may be loaded.\n * * `loading` - Indicates that data fetching is in progress.\n * * `finished` - Indicates that pagination has finished and no more requests are expected.\n * * `error` - Indicates that an error occurred during fetch. You should use `recoveryText` to enable the user to recover.\n **/\n statusType?: DropdownStatusProps.StatusType;\n}\n\nexport namespace DropdownStatusProps {\n export type StatusType = 'pending' | 'loading' | 'finished' | 'error';\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["internal/components/handle/index.tsx"],"names":[],"mappings":"AAGA,OAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG9C,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,cAAc,CAAC,cAAc,CAAC,eAgBnE"}
|