@cloudscape-design/components 3.0.1047 → 3.0.1049
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/app-layout/visual-refresh-toolbar/skeleton/breadcrumbs/index.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/skeleton/breadcrumbs/index.js +4 -2
- package/app-layout/visual-refresh-toolbar/skeleton/breadcrumbs/index.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/skeleton/breadcrumbs/styles.css.js +7 -0
- package/app-layout/visual-refresh-toolbar/skeleton/breadcrumbs/styles.scoped.css +7 -0
- package/app-layout/visual-refresh-toolbar/skeleton/breadcrumbs/styles.selectors.js +8 -0
- package/attribute-editor/styles.css.js +15 -15
- package/attribute-editor/styles.scoped.css +28 -28
- package/attribute-editor/styles.selectors.js +15 -15
- package/breadcrumb-group/item/styles.css.js +7 -7
- package/breadcrumb-group/item/styles.scoped.css +28 -28
- package/breadcrumb-group/item/styles.selectors.js +7 -7
- package/button-dropdown/item-element/styles.css.js +16 -16
- package/button-dropdown/item-element/styles.scoped.css +27 -27
- package/button-dropdown/item-element/styles.selectors.js +16 -16
- package/date-input/index.d.ts +1 -1
- package/date-input/index.d.ts.map +1 -1
- package/date-input/index.js.map +1 -1
- package/date-input/interfaces.d.ts +29 -0
- package/date-input/interfaces.d.ts.map +1 -1
- package/date-input/interfaces.js.map +1 -1
- package/date-input/internal.d.ts +1 -4
- package/date-input/internal.d.ts.map +1 -1
- package/date-input/internal.js +39 -4
- package/date-input/internal.js.map +1 -1
- package/date-input/utils.d.ts +9 -1
- package/date-input/utils.d.ts.map +1 -1
- package/date-input/utils.js +32 -7
- package/date-input/utils.js.map +1 -1
- package/help-panel/styles.css.js +6 -6
- package/help-panel/styles.scoped.css +73 -73
- package/help-panel/styles.selectors.js +6 -6
- package/internal/base-component/styles.scoped.css +1 -1
- package/internal/components/masked-input/index.d.ts.map +1 -1
- package/internal/components/masked-input/index.js +2 -2
- package/internal/components/masked-input/index.js.map +1 -1
- package/internal/components/masked-input/interfaces.d.ts +6 -1
- package/internal/components/masked-input/interfaces.d.ts.map +1 -1
- package/internal/components/masked-input/interfaces.js.map +1 -1
- package/internal/components/masked-input/use-mask.d.ts +1 -1
- package/internal/components/masked-input/use-mask.d.ts.map +1 -1
- package/internal/components/masked-input/use-mask.js +7 -5
- package/internal/components/masked-input/use-mask.js.map +1 -1
- package/internal/components/masked-input/utils/mask-format.d.ts.map +1 -1
- package/internal/components/masked-input/utils/mask-format.js +19 -20
- package/internal/components/masked-input/utils/mask-format.js.map +1 -1
- package/internal/components/token-list/styles.css.js +10 -10
- package/internal/components/token-list/styles.scoped.css +25 -25
- package/internal/components/token-list/styles.selectors.js +10 -10
- package/internal/environment.js +2 -2
- package/internal/environment.json +2 -2
- package/internal/manifest.json +1 -1
- package/internal/plugins/helpers/use-global-breadcrumbs.d.ts.map +1 -1
- package/internal/plugins/helpers/use-global-breadcrumbs.js +5 -1
- package/internal/plugins/helpers/use-global-breadcrumbs.js.map +1 -1
- package/internal/utils/date-time/format-date-iso.d.ts.map +1 -1
- package/internal/utils/date-time/format-date-iso.js.map +1 -1
- package/internal/utils/date-time/interfaces.d.ts +16 -0
- package/internal/utils/date-time/interfaces.d.ts.map +1 -0
- package/internal/utils/date-time/interfaces.js +4 -0
- package/internal/utils/date-time/interfaces.js.map +1 -0
- package/link/index.d.ts.map +1 -1
- package/link/index.js +11 -27
- package/link/interfaces.d.ts +23 -0
- package/link/interfaces.d.ts.map +1 -1
- package/link/interfaces.js.map +1 -1
- package/link/internal-do-not-use-core.js +34 -0
- package/link/internal-do-not-use-core.js.map +1 -0
- package/link/internal.d.ts.map +1 -1
- package/link/internal.js +3 -2
- package/link/internal.js.map +1 -1
- package/link/style.d.ts +2 -0
- package/link/style.d.ts.map +1 -0
- package/link/style.js +21 -0
- package/link/style.js.map +1 -0
- package/link/styles.css.js +20 -20
- package/link/styles.scoped.css +103 -102
- package/link/styles.selectors.js +20 -20
- package/package.json +1 -1
- package/table/body-cell/styles.css.js +47 -47
- package/table/body-cell/styles.scoped.css +374 -375
- package/table/body-cell/styles.selectors.js +47 -47
- package/tag-editor/styles.css.js +3 -3
- package/tag-editor/styles.scoped.css +13 -13
- package/tag-editor/styles.selectors.js +3 -3
- package/text-content/styles.css.js +1 -1
- package/text-content/styles.scoped.css +66 -66
- package/text-content/styles.selectors.js +1 -1
- package/link/index.js.map +0 -1
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
*/
|
|
179
179
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
180
180
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
181
|
-
.awsui_help-
|
|
181
|
+
.awsui_help-panel_1d237_2srcz_181:not(#\9) {
|
|
182
182
|
border-collapse: separate;
|
|
183
183
|
border-spacing: 0;
|
|
184
184
|
box-sizing: border-box;
|
|
@@ -214,36 +214,36 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
214
214
|
/* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
215
215
|
/* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
216
216
|
}
|
|
217
|
-
.awsui_help-
|
|
217
|
+
.awsui_help-panel_1d237_2srcz_181 hr:not(#\9) {
|
|
218
218
|
border-block: none;
|
|
219
219
|
border-inline: none;
|
|
220
220
|
border-block-start: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-divider-default-nr68jt, #c6c6cd);
|
|
221
221
|
margin-block: var(--space-scaled-xl-dunxp5, 24px);
|
|
222
222
|
margin-inline: calc(-1 * var(--space-panel-divider-margin-horizontal-yw31p0, 8px));
|
|
223
223
|
}
|
|
224
|
-
.awsui_help-
|
|
225
|
-
.awsui_help-
|
|
224
|
+
.awsui_help-panel_1d237_2srcz_181 ol:not(#\9),
|
|
225
|
+
.awsui_help-panel_1d237_2srcz_181 ul:not(#\9) {
|
|
226
226
|
padding-inline-start: var(--space-l-2ud1p3, 20px);
|
|
227
227
|
list-style-position: outside;
|
|
228
228
|
margin-block: var(--space-s-tvghoh, 12px);
|
|
229
229
|
margin-inline: 0;
|
|
230
230
|
}
|
|
231
|
-
.awsui_help-
|
|
231
|
+
.awsui_help-panel_1d237_2srcz_181 li:not(#\9) {
|
|
232
232
|
margin-block: var(--space-scaled-xxs-pfm1nx, 4px);
|
|
233
233
|
margin-inline: 0;
|
|
234
234
|
}
|
|
235
|
-
.awsui_help-
|
|
236
|
-
.awsui_help-
|
|
237
|
-
.awsui_help-
|
|
238
|
-
.awsui_help-
|
|
239
|
-
.awsui_help-
|
|
240
|
-
.awsui_help-
|
|
241
|
-
.awsui_help-
|
|
235
|
+
.awsui_help-panel_1d237_2srcz_181 a:not(#\9),
|
|
236
|
+
.awsui_help-panel_1d237_2srcz_181 h2:not(#\9),
|
|
237
|
+
.awsui_help-panel_1d237_2srcz_181 h3:not(#\9),
|
|
238
|
+
.awsui_help-panel_1d237_2srcz_181 h4:not(#\9),
|
|
239
|
+
.awsui_help-panel_1d237_2srcz_181 h5:not(#\9),
|
|
240
|
+
.awsui_help-panel_1d237_2srcz_181 pre:not(#\9),
|
|
241
|
+
.awsui_help-panel_1d237_2srcz_181 code:not(#\9) {
|
|
242
242
|
margin-block: var(--space-xs-ymlm0b, 8px);
|
|
243
243
|
margin-inline: 0;
|
|
244
244
|
padding-block: 0;
|
|
245
245
|
}
|
|
246
|
-
.awsui_help-
|
|
246
|
+
.awsui_help-panel_1d237_2srcz_181 code:not(#\9) {
|
|
247
247
|
font-size: var(--font-size-body-s-smc8cv, 12px);
|
|
248
248
|
line-height: var(--line-height-body-s-nu5hx1, 16px);
|
|
249
249
|
letter-spacing: var(--letter-spacing-body-s-gq78ok, 0.005em);
|
|
@@ -254,7 +254,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
254
254
|
word-wrap: break-word;
|
|
255
255
|
white-space: pre-wrap;
|
|
256
256
|
}
|
|
257
|
-
.awsui_help-
|
|
257
|
+
.awsui_help-panel_1d237_2srcz_181 pre:not(#\9) {
|
|
258
258
|
font-size: var(--font-size-body-s-smc8cv, 12px);
|
|
259
259
|
line-height: var(--line-height-body-s-nu5hx1, 16px);
|
|
260
260
|
letter-spacing: var(--letter-spacing-body-s-gq78ok, 0.005em);
|
|
@@ -267,41 +267,41 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
267
267
|
padding-block: var(--space-xxs-hwfkai, 4px);
|
|
268
268
|
padding-inline: var(--space-xxs-hwfkai, 4px);
|
|
269
269
|
}
|
|
270
|
-
.awsui_help-
|
|
270
|
+
.awsui_help-panel_1d237_2srcz_181 dl:not(#\9) {
|
|
271
271
|
margin-block: var(--space-s-tvghoh, 12px);
|
|
272
272
|
margin-inline: 0;
|
|
273
273
|
/* stylelint-disable-next-line selector-max-universal */
|
|
274
274
|
}
|
|
275
|
-
.awsui_help-
|
|
275
|
+
.awsui_help-panel_1d237_2srcz_181 dl *:not(#\9) {
|
|
276
276
|
margin-block: 0;
|
|
277
277
|
}
|
|
278
|
-
.awsui_help-
|
|
278
|
+
.awsui_help-panel_1d237_2srcz_181 dt:not(#\9) {
|
|
279
279
|
margin-block-start: var(--space-xs-ymlm0b, 8px);
|
|
280
280
|
font-weight: 700;
|
|
281
281
|
}
|
|
282
|
-
.awsui_help-
|
|
282
|
+
.awsui_help-panel_1d237_2srcz_181 dd:not(#\9) {
|
|
283
283
|
margin-block-start: 0;
|
|
284
284
|
margin-block-end: var(--space-xs-ymlm0b, 8px);
|
|
285
285
|
margin-inline: 0;
|
|
286
286
|
}
|
|
287
|
-
.awsui_help-
|
|
288
|
-
.awsui_help-
|
|
289
|
-
.awsui_help-
|
|
290
|
-
.awsui_help-
|
|
291
|
-
.awsui_help-
|
|
287
|
+
.awsui_help-panel_1d237_2srcz_181 h2:not(#\9),
|
|
288
|
+
.awsui_help-panel_1d237_2srcz_181 h3:not(#\9),
|
|
289
|
+
.awsui_help-panel_1d237_2srcz_181 h4:not(#\9),
|
|
290
|
+
.awsui_help-panel_1d237_2srcz_181 h5:not(#\9),
|
|
291
|
+
.awsui_help-panel_1d237_2srcz_181 h6:not(#\9) {
|
|
292
292
|
margin-block-start: var(--space-xl-jfy3x4, 24px);
|
|
293
293
|
color: var(--color-text-heading-default-izpp46, #0f141a);
|
|
294
294
|
}
|
|
295
|
-
.awsui_help-
|
|
295
|
+
.awsui_help-panel_1d237_2srcz_181 > :not(#\9):last-child {
|
|
296
296
|
margin-block-end: var(--space-panel-content-bottom-24c6lu, 40px);
|
|
297
297
|
}
|
|
298
|
-
.awsui_help-
|
|
298
|
+
.awsui_help-panel_1d237_2srcz_181 p:not(#\9) {
|
|
299
299
|
color: inherit;
|
|
300
300
|
text-decoration: none;
|
|
301
301
|
margin-block: var(--space-s-tvghoh, 12px);
|
|
302
302
|
margin-inline: 0;
|
|
303
303
|
}
|
|
304
|
-
.awsui_help-
|
|
304
|
+
.awsui_help-panel_1d237_2srcz_181 h1:not(#\9) {
|
|
305
305
|
font-size: var(--font-size-heading-xl-wvkbur, 24px);
|
|
306
306
|
line-height: var(--line-height-heading-xl-hko6p0, 30px);
|
|
307
307
|
letter-spacing: var(--letter-spacing-heading-xl-ckkb6u, -0.02em);
|
|
@@ -309,7 +309,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
309
309
|
-webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
|
|
310
310
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
|
|
311
311
|
}
|
|
312
|
-
.awsui_help-
|
|
312
|
+
.awsui_help-panel_1d237_2srcz_181 h2:not(#\9) {
|
|
313
313
|
font-size: var(--font-size-heading-l-vnacx6, 20px);
|
|
314
314
|
line-height: var(--line-height-heading-l-mg5bx6, 24px);
|
|
315
315
|
letter-spacing: var(--letter-spacing-heading-l-5v6ibv, -0.015em);
|
|
@@ -317,7 +317,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
317
317
|
-webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
|
|
318
318
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
|
|
319
319
|
}
|
|
320
|
-
.awsui_help-
|
|
320
|
+
.awsui_help-panel_1d237_2srcz_181 h3:not(#\9) {
|
|
321
321
|
font-size: var(--font-size-heading-m-170yiy, 18px);
|
|
322
322
|
line-height: var(--line-height-heading-m-uoaqdh, 22px);
|
|
323
323
|
letter-spacing: var(--letter-spacing-heading-m-29ewnk, -0.01em);
|
|
@@ -325,7 +325,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
325
325
|
-webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
|
|
326
326
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
|
|
327
327
|
}
|
|
328
|
-
.awsui_help-
|
|
328
|
+
.awsui_help-panel_1d237_2srcz_181 h4:not(#\9) {
|
|
329
329
|
font-size: var(--font-size-heading-s-zp08en, 16px);
|
|
330
330
|
line-height: var(--line-height-heading-s-hmi4vc, 20px);
|
|
331
331
|
letter-spacing: var(--letter-spacing-heading-s-4st9ep, -0.005em);
|
|
@@ -333,24 +333,24 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
333
333
|
-webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
|
|
334
334
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
|
|
335
335
|
}
|
|
336
|
-
.awsui_help-
|
|
336
|
+
.awsui_help-panel_1d237_2srcz_181 h5:not(#\9) {
|
|
337
337
|
font-size: var(--font-size-heading-xs-j8yzxv, 14px);
|
|
338
338
|
line-height: var(--line-height-heading-xs-q9j004, 18px);
|
|
339
339
|
font-weight: var(--font-weight-heading-xs-wqqpne, 700);
|
|
340
340
|
-webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
|
|
341
341
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
|
|
342
342
|
}
|
|
343
|
-
.awsui_help-
|
|
344
|
-
.awsui_help-
|
|
343
|
+
.awsui_help-panel_1d237_2srcz_181 b:not(#\9),
|
|
344
|
+
.awsui_help-panel_1d237_2srcz_181 strong:not(#\9) {
|
|
345
345
|
font-weight: 700;
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
-
.
|
|
348
|
+
.awsui_loading_1d237_2srcz_348:not(#\9) {
|
|
349
349
|
padding-inline-start: var(--space-panel-side-left-u1m3s9, 28px);
|
|
350
350
|
padding-inline-end: var(--space-panel-side-right-8wwirc, 24px);
|
|
351
351
|
}
|
|
352
352
|
|
|
353
|
-
.
|
|
353
|
+
.awsui_header_1d237_2srcz_353:not(#\9) {
|
|
354
354
|
font-size: var(--font-panel-header-size-33h9j8, 18px);
|
|
355
355
|
letter-spacing: var(--letter-spacing-heading-m-29ewnk, -0.01em);
|
|
356
356
|
line-height: var(--font-panel-header-line-height-8xb2qj, 22px);
|
|
@@ -368,15 +368,15 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
368
368
|
/* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
369
369
|
/* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
370
370
|
}
|
|
371
|
-
.awsui_with-
|
|
371
|
+
.awsui_with-toolbar_1d237_2srcz_371 > .awsui_header_1d237_2srcz_353:not(#\9) {
|
|
372
372
|
border-color: transparent;
|
|
373
373
|
margin-block-end: 0px;
|
|
374
374
|
}
|
|
375
|
-
.
|
|
376
|
-
.
|
|
377
|
-
.
|
|
378
|
-
.
|
|
379
|
-
.
|
|
375
|
+
.awsui_header_1d237_2srcz_353 h2:not(#\9),
|
|
376
|
+
.awsui_header_1d237_2srcz_353 h3:not(#\9),
|
|
377
|
+
.awsui_header_1d237_2srcz_353 h4:not(#\9),
|
|
378
|
+
.awsui_header_1d237_2srcz_353 h5:not(#\9),
|
|
379
|
+
.awsui_header_1d237_2srcz_353 h6:not(#\9) {
|
|
380
380
|
font-size: var(--font-panel-header-size-33h9j8, 18px);
|
|
381
381
|
letter-spacing: var(--letter-spacing-heading-m-29ewnk, -0.01em);
|
|
382
382
|
line-height: var(--font-panel-header-line-height-8xb2qj, 22px);
|
|
@@ -387,25 +387,25 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
387
387
|
margin-block: 0;
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
-
.
|
|
390
|
+
.awsui_content_1d237_2srcz_390:not(#\9) {
|
|
391
391
|
color: var(--color-text-body-secondary-bcbgoi, #424650);
|
|
392
392
|
padding-inline-start: var(--space-panel-side-left-u1m3s9, 28px);
|
|
393
393
|
padding-inline-end: var(--space-panel-side-right-8wwirc, 24px);
|
|
394
394
|
/* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
395
395
|
/* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
396
396
|
}
|
|
397
|
-
.
|
|
398
|
-
.
|
|
399
|
-
.
|
|
400
|
-
.
|
|
401
|
-
.
|
|
402
|
-
.
|
|
397
|
+
.awsui_content_1d237_2srcz_390 h2:not(#\9):first-child,
|
|
398
|
+
.awsui_content_1d237_2srcz_390 h3:not(#\9):first-child,
|
|
399
|
+
.awsui_content_1d237_2srcz_390 h4:not(#\9):first-child,
|
|
400
|
+
.awsui_content_1d237_2srcz_390 h5:not(#\9):first-child,
|
|
401
|
+
.awsui_content_1d237_2srcz_390 h6:not(#\9):first-child,
|
|
402
|
+
.awsui_content_1d237_2srcz_390 p:not(#\9):first-child {
|
|
403
403
|
margin-block-start: 0;
|
|
404
404
|
}
|
|
405
|
-
.
|
|
405
|
+
.awsui_content_1d237_2srcz_390 a:not(#\9) {
|
|
406
406
|
text-underline-offset: 0.25em;
|
|
407
407
|
text-decoration-thickness: 1px;
|
|
408
|
-
color: var(--color-text-link-default-1dmm7z, #006ce0);
|
|
408
|
+
color: var(--awsui-style-color-default-kcc2gu, var(--color-text-link-default-1dmm7z, #006ce0));
|
|
409
409
|
font-weight: inherit;
|
|
410
410
|
letter-spacing: normal;
|
|
411
411
|
text-decoration-line: underline;
|
|
@@ -416,31 +416,31 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
416
416
|
transition-duration: var(--motion-duration-refresh-only-medium-5rbn3k, 165ms);
|
|
417
417
|
}
|
|
418
418
|
@media (prefers-reduced-motion: reduce) {
|
|
419
|
-
.
|
|
419
|
+
.awsui_content_1d237_2srcz_390 a:not(#\9) {
|
|
420
420
|
animation: none;
|
|
421
421
|
transition: none;
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
.awsui-motion-disabled .
|
|
424
|
+
.awsui-motion-disabled .awsui_content_1d237_2srcz_390 a:not(#\9), .awsui-mode-entering .awsui_content_1d237_2srcz_390 a:not(#\9) {
|
|
425
425
|
animation: none;
|
|
426
426
|
transition: none;
|
|
427
427
|
}
|
|
428
|
-
.
|
|
428
|
+
.awsui_content_1d237_2srcz_390 a:not(#\9):hover {
|
|
429
429
|
cursor: pointer;
|
|
430
|
-
color: var(--color-text-link-hover-sq1gxg, #002b66);
|
|
430
|
+
color: var(--awsui-style-color-hover-kcc2gu, var(--color-text-link-hover-sq1gxg, #002b66));
|
|
431
431
|
}
|
|
432
|
-
.
|
|
432
|
+
.awsui_content_1d237_2srcz_390 a:not(#\9):focus {
|
|
433
433
|
outline: none;
|
|
434
434
|
}
|
|
435
|
-
.
|
|
436
|
-
color: var(--color-text-link-hover-sq1gxg, #002b66);
|
|
435
|
+
.awsui_content_1d237_2srcz_390 a:not(#\9):active {
|
|
436
|
+
color: var(--awsui-style-color-active-kcc2gu, var(--color-text-link-hover-sq1gxg, #002b66));
|
|
437
437
|
}
|
|
438
|
-
.
|
|
438
|
+
.awsui_content_1d237_2srcz_390 a:not(#\9):active, .awsui_content_1d237_2srcz_390 a:not(#\9):focus, .awsui_content_1d237_2srcz_390 a:not(#\9):hover {
|
|
439
439
|
text-decoration-line: underline;
|
|
440
440
|
text-decoration-color: currentColor;
|
|
441
441
|
}
|
|
442
442
|
|
|
443
|
-
.
|
|
443
|
+
.awsui_footer_1d237_2srcz_441:not(#\9) {
|
|
444
444
|
color: var(--color-text-body-secondary-bcbgoi, #424650);
|
|
445
445
|
padding-block: 0;
|
|
446
446
|
padding-inline-start: var(--space-panel-side-left-u1m3s9, 28px);
|
|
@@ -448,14 +448,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
448
448
|
/* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
449
449
|
/* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
450
450
|
}
|
|
451
|
-
.
|
|
451
|
+
.awsui_footer_1d237_2srcz_441 ul:not(#\9) {
|
|
452
452
|
list-style: none;
|
|
453
453
|
padding-inline-start: 0;
|
|
454
454
|
}
|
|
455
|
-
.
|
|
455
|
+
.awsui_footer_1d237_2srcz_441 a:not(#\9) {
|
|
456
456
|
text-underline-offset: 0.25em;
|
|
457
457
|
text-decoration-thickness: 1px;
|
|
458
|
-
color: var(--color-text-link-default-1dmm7z, #006ce0);
|
|
458
|
+
color: var(--awsui-style-color-default-kcc2gu, var(--color-text-link-default-1dmm7z, #006ce0));
|
|
459
459
|
font-weight: inherit;
|
|
460
460
|
letter-spacing: normal;
|
|
461
461
|
text-decoration-line: none;
|
|
@@ -466,37 +466,37 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
466
466
|
transition-duration: var(--motion-duration-refresh-only-medium-5rbn3k, 165ms);
|
|
467
467
|
}
|
|
468
468
|
@media (prefers-reduced-motion: reduce) {
|
|
469
|
-
.
|
|
469
|
+
.awsui_footer_1d237_2srcz_441 a:not(#\9) {
|
|
470
470
|
animation: none;
|
|
471
471
|
transition: none;
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
.awsui-motion-disabled .
|
|
474
|
+
.awsui-motion-disabled .awsui_footer_1d237_2srcz_441 a:not(#\9), .awsui-mode-entering .awsui_footer_1d237_2srcz_441 a:not(#\9) {
|
|
475
475
|
animation: none;
|
|
476
476
|
transition: none;
|
|
477
477
|
}
|
|
478
|
-
.
|
|
478
|
+
.awsui_footer_1d237_2srcz_441 a:not(#\9):hover {
|
|
479
479
|
cursor: pointer;
|
|
480
|
-
color: var(--color-text-link-hover-sq1gxg, #002b66);
|
|
480
|
+
color: var(--awsui-style-color-hover-kcc2gu, var(--color-text-link-hover-sq1gxg, #002b66));
|
|
481
481
|
}
|
|
482
|
-
.
|
|
482
|
+
.awsui_footer_1d237_2srcz_441 a:not(#\9):focus {
|
|
483
483
|
outline: none;
|
|
484
484
|
}
|
|
485
|
-
.
|
|
486
|
-
color: var(--color-text-link-hover-sq1gxg, #002b66);
|
|
485
|
+
.awsui_footer_1d237_2srcz_441 a:not(#\9):active {
|
|
486
|
+
color: var(--awsui-style-color-active-kcc2gu, var(--color-text-link-hover-sq1gxg, #002b66));
|
|
487
487
|
}
|
|
488
|
-
.
|
|
488
|
+
.awsui_footer_1d237_2srcz_441 a:not(#\9):active, .awsui_footer_1d237_2srcz_441 a:not(#\9):focus, .awsui_footer_1d237_2srcz_441 a:not(#\9):hover {
|
|
489
489
|
text-decoration-line: underline;
|
|
490
490
|
text-decoration-color: currentColor;
|
|
491
491
|
}
|
|
492
492
|
|
|
493
|
-
.
|
|
494
|
-
.
|
|
493
|
+
.awsui_content_1d237_2srcz_390:not(#\9),
|
|
494
|
+
.awsui_footer_1d237_2srcz_441:not(#\9) {
|
|
495
495
|
/* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
496
496
|
/* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
497
497
|
}
|
|
498
|
-
.
|
|
499
|
-
.
|
|
498
|
+
.awsui_content_1d237_2srcz_390 a:not(#\9):focus,
|
|
499
|
+
.awsui_footer_1d237_2srcz_441 a:not(#\9):focus {
|
|
500
500
|
outline: thin dotted;
|
|
501
501
|
outline: var(--border-link-focus-ring-outline-1p0hnu, 0);
|
|
502
502
|
outline-offset: 2px;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"help-panel": "awsui_help-
|
|
6
|
-
"loading": "
|
|
7
|
-
"header": "
|
|
8
|
-
"with-toolbar": "awsui_with-
|
|
9
|
-
"content": "
|
|
10
|
-
"footer": "
|
|
5
|
+
"help-panel": "awsui_help-panel_1d237_2srcz_181",
|
|
6
|
+
"loading": "awsui_loading_1d237_2srcz_348",
|
|
7
|
+
"header": "awsui_header_1d237_2srcz_353",
|
|
8
|
+
"with-toolbar": "awsui_with-toolbar_1d237_2srcz_371",
|
|
9
|
+
"content": "awsui_content_1d237_2srcz_390",
|
|
10
|
+
"footer": "awsui_footer_1d237_2srcz_441"
|
|
11
11
|
};
|
|
12
12
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/masked-input/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAQ9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAIhD,QAAA,MAAM,WAAW,+
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/masked-input/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAQ9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAIhD,QAAA,MAAM,WAAW,+FA0DhB,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC5B,eAAe,WAAW,CAAC"}
|
|
@@ -10,7 +10,7 @@ import { fireCancelableEvent, fireNonCancelableEvent } from '../../events';
|
|
|
10
10
|
import useMask from './use-mask';
|
|
11
11
|
import MaskFormat from './utils/mask-format';
|
|
12
12
|
const MaskedInput = React.forwardRef((_a, ref) => {
|
|
13
|
-
var { value, onBlur, onChange, onKeyDown, mask, autofix = false, disableAutocompleteOnBlur = false } = _a, rest = __rest(_a, ["value", "onBlur", "onChange", "onKeyDown", "mask", "autofix", "disableAutocompleteOnBlur"]);
|
|
13
|
+
var { value, onBlur, onChange, onKeyDown, mask, autofix = false, disableAutocompleteOnBlur = false, showUnmaskedValue = false } = _a, rest = __rest(_a, ["value", "onBlur", "onChange", "onKeyDown", "mask", "autofix", "disableAutocompleteOnBlur", "showUnmaskedValue"]);
|
|
14
14
|
const baseProps = getBaseProps(rest);
|
|
15
15
|
const formFieldContext = useFormFieldContext(rest);
|
|
16
16
|
const inputRef = React.useRef(null);
|
|
@@ -32,7 +32,7 @@ const MaskedInput = React.forwardRef((_a, ref) => {
|
|
|
32
32
|
onBlur: () => fireNonCancelableEvent(onBlur),
|
|
33
33
|
setPosition: setCursorPosition,
|
|
34
34
|
}), { onPaste } = _b, maskProps = __rest(_b, ["onPaste"]);
|
|
35
|
-
const inputProps = Object.assign(Object.assign(Object.assign(Object.assign({}, rest), baseProps), formFieldContext), maskProps);
|
|
35
|
+
const inputProps = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, rest), baseProps), formFieldContext), maskProps), { value: showUnmaskedValue ? value : maskProps.value });
|
|
36
36
|
const mergedRef = useMergeRefs(ref, inputRef);
|
|
37
37
|
return (React.createElement(InternalInput, Object.assign({}, inputProps, { ref: mergedRef, __nativeAttributes: {
|
|
38
38
|
onPaste,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/masked-input/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAO,eAAe,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE9D,OAAO,EAAE,YAAY,EAAE,MAAM,+CAA+C,CAAC;AAE7E,OAAO,aAAa,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAE3E,OAAO,OAAO,MAAM,YAAY,CAAC;AACjC,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAE7C,MAAM,WAAW,GAAG,KAAK,CAAC,UAAU,CAClC,CACE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/masked-input/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAO,eAAe,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE9D,OAAO,EAAE,YAAY,EAAE,MAAM,+CAA+C,CAAC;AAE7E,OAAO,aAAa,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAE3E,OAAO,OAAO,MAAM,YAAY,CAAC;AACjC,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAE7C,MAAM,WAAW,GAAG,KAAK,CAAC,UAAU,CAClC,CACE,EAUmB,EACnB,GAA8B,EAC9B,EAAE;QAZF,EACE,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AEH,MAAM,UAAU,6EACX,IAAI,GACJ,SAAS,GACT,gBAAgB,GAChB,SAAS,KACZ,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,GACnD,CAAC;IAEF,MAAM,SAAS,GAAG,YAAY,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IAC9C,OAAO,CACL,oBAAC,aAAa,oBACR,UAAU,IACd,GAAG,EAAE,SAAS,EACd,kBAAkB,EAAE;YAClB,OAAO;SACR,IACD,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAGF,eAAe,WAAW,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { Ref, useLayoutEffect, useState } from 'react';\n\nimport { useMergeRefs } from '@cloudscape-design/component-toolkit/internal';\n\nimport InternalInput from '../../../input/internal';\nimport { getBaseProps } from '../../base-component';\nimport { useFormFieldContext } from '../../context/form-field-context';\nimport { fireCancelableEvent, fireNonCancelableEvent } from '../../events';\nimport { MaskedInputProps } from './interfaces';\nimport useMask from './use-mask';\nimport MaskFormat from './utils/mask-format';\n\nconst MaskedInput = React.forwardRef(\n (\n {\n value,\n onBlur,\n onChange,\n onKeyDown,\n mask,\n autofix = false,\n disableAutocompleteOnBlur = false,\n showUnmaskedValue = false,\n ...rest\n }: MaskedInputProps,\n ref: Ref<MaskedInputProps.Ref>\n ) => {\n const baseProps = getBaseProps(rest);\n const formFieldContext = useFormFieldContext(rest);\n const inputRef = React.useRef<HTMLInputElement>(null);\n const [cursorPosition, setCursorPosition] = useState<number | null>(null);\n\n useLayoutEffect(() => {\n if (cursorPosition !== null) {\n inputRef.current?.setSelectionRange(cursorPosition, cursorPosition);\n }\n }, [cursorPosition, inputRef]);\n\n const { onPaste, ...maskProps } = useMask({\n format: new MaskFormat(mask),\n value,\n inputRef,\n autofix,\n disableAutocompleteOnBlur,\n onChange: (value: string) => !rest.readOnly && fireNonCancelableEvent(onChange, { value }),\n onKeyDown: (event: CustomEvent) =>\n !rest.readOnly && onKeyDown && fireCancelableEvent(onKeyDown, event.detail, event),\n onBlur: () => fireNonCancelableEvent(onBlur),\n setPosition: setCursorPosition,\n });\n\n const inputProps = {\n ...rest,\n ...baseProps,\n ...formFieldContext,\n ...maskProps,\n value: showUnmaskedValue ? value : maskProps.value,\n };\n\n const mergedRef = useMergeRefs(ref, inputRef);\n return (\n <InternalInput\n {...inputProps}\n ref={mergedRef}\n __nativeAttributes={{\n onPaste,\n }}\n />\n );\n }\n);\n\nexport { MaskedInputProps };\nexport default MaskedInput;\n"]}
|
|
@@ -5,7 +5,7 @@ import { FormFieldValidationControlProps } from '../../context/form-field-contex
|
|
|
5
5
|
import { MaskArgs } from './utils/mask-format';
|
|
6
6
|
export interface MaskedInputProps extends InternalInputProps, FormFieldValidationControlProps, BaseComponentProps {
|
|
7
7
|
/**
|
|
8
|
-
* Mask config definition to describe segments and
|
|
8
|
+
* Mask config definition to describe segments and separators
|
|
9
9
|
*/
|
|
10
10
|
mask: MaskArgs;
|
|
11
11
|
/**
|
|
@@ -16,6 +16,11 @@ export interface MaskedInputProps extends InternalInputProps, FormFieldValidatio
|
|
|
16
16
|
* Disable value autocompletion when input is blurred
|
|
17
17
|
*/
|
|
18
18
|
disableAutocompleteOnBlur?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* When true, the provided value is shown as is, ignoring masking.
|
|
21
|
+
* This is useful when rendering an alternative value when the input is not focused or disabled.
|
|
22
|
+
*/
|
|
23
|
+
showUnmaskedValue?: boolean;
|
|
19
24
|
}
|
|
20
25
|
export declare namespace MaskedInputProps {
|
|
21
26
|
type ChangeDetail = BaseChangeDetail;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/masked-input/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2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1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../src/internal/components/masked-input/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseChangeDetail } from '../../../input/interfaces';\nimport { InternalInputProps } from '../../../input/internal';\nimport { BaseComponentProps } from '../../base-component';\nimport { FormFieldValidationControlProps } from '../../context/form-field-context';\nimport { MaskArgs } from './utils/mask-format';\n\nexport interface MaskedInputProps extends InternalInputProps, FormFieldValidationControlProps, BaseComponentProps {\n /**\n * Mask config definition to describe segments and
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../src/internal/components/masked-input/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { BaseChangeDetail } from '../../../input/interfaces';\nimport { InternalInputProps } from '../../../input/internal';\nimport { BaseComponentProps } from '../../base-component';\nimport { FormFieldValidationControlProps } from '../../context/form-field-context';\nimport { MaskArgs } from './utils/mask-format';\n\nexport interface MaskedInputProps extends InternalInputProps, FormFieldValidationControlProps, BaseComponentProps {\n /**\n * Mask config definition to describe segments and separators\n */\n mask: MaskArgs;\n\n /**\n * Autofixes values provided to the Mask based on the minValue/maxValue specified in the mask.\n */\n autofix?: boolean;\n\n /**\n * Disable value autocompletion when input is blurred\n */\n disableAutocompleteOnBlur?: boolean;\n\n /**\n * When true, the provided value is shown as is, ignoring masking.\n * This is useful when rendering an alternative value when the input is not focused or disabled.\n */\n showUnmaskedValue?: boolean;\n}\n\nexport namespace MaskedInputProps {\n export type ChangeDetail = BaseChangeDetail;\n export interface Ref {\n /**\n * Sets input focus onto the UI control.\n */\n focus(): void;\n }\n}\n"]}
|
|
@@ -9,7 +9,7 @@ interface UseMaskHook {
|
|
|
9
9
|
onBlur: NonCancelableEventHandler<null>;
|
|
10
10
|
onPaste: (event: React.ClipboardEvent) => void;
|
|
11
11
|
}
|
|
12
|
-
interface UseMaskProps {
|
|
12
|
+
export interface UseMaskProps {
|
|
13
13
|
value: string;
|
|
14
14
|
onChange: (value: string) => void;
|
|
15
15
|
onKeyDown?: (event: CustomEvent) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-mask.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/masked-input/use-mask.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AAIjF,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAE7C,UAAU,WAAW;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,yBAAyB,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;IAC7D,SAAS,EAAE,sBAAsB,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACxD,MAAM,EAAE,yBAAyB,CAAC,IAAI,CAAC,CAAC;IACxC,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAC;CAChD;AAED,
|
|
1
|
+
{"version":3,"file":"use-mask.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/masked-input/use-mask.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AAIjF,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAE7C,UAAU,WAAW;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,yBAAyB,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;IAC7D,SAAS,EAAE,sBAAsB,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACxD,MAAM,EAAE,yBAAyB,CAAC,IAAI,CAAC,CAAC;IACxC,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAC;CAChD;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IACzC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,UAAU,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC;IACtC,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAChD;AAgBD,QAAA,MAAM,OAAO,+GAUV,YAAY,KAAG,WAmEjB,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -65,11 +65,13 @@ const useMask = ({ value = '', onBlur, onChange, onKeyDown, format, inputRef, au
|
|
|
65
65
|
},
|
|
66
66
|
onPaste: (event) => {
|
|
67
67
|
var _a, _b;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
if (event.clipboardData) {
|
|
69
|
+
const text = event.clipboardData.getData('text');
|
|
70
|
+
const selectionStart = ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.selectionStart) || 0;
|
|
71
|
+
const selectionEnd = ((_b = inputRef.current) === null || _b === void 0 ? void 0 : _b.selectionEnd) || 0;
|
|
72
|
+
const formattedText = format.formatPastedText(text, maskedValue, selectionStart, selectionEnd);
|
|
73
|
+
onMaskChange(formattedText);
|
|
74
|
+
}
|
|
73
75
|
},
|
|
74
76
|
};
|
|
75
77
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-mask.js","sourceRoot":"","sources":["../../../../../src/internal/components/masked-input/use-mask.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAIzE,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAiB,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAuBlD,MAAM,cAAc,GAAG,CAAC,KAAa,EAAE,QAAkC,EAAE,UAAsB,EAAE,EAAE;IACnG,wCAAwC;IACxC,IAAI,CAAC,KAAK,EAAE;QACV,OAAO;KACR;IAED,MAAM,kBAAkB,GAAG,UAAU,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAC1D,IAAI,kBAAkB,KAAK,KAAK,EAAE;QAChC,QAAQ,CAAC,kBAAkB,CAAC,CAAC;KAC9B;AACH,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,KAAkB,EAAE,MAA6B,EAAE,EAAE,CAAC,MAAM,IAAI,KAAK,CAAC,cAAc,EAAE,CAAC;AAE/G,MAAM,OAAO,GAAG,CAAC,EACf,KAAK,GAAG,EAAE,EACV,MAAM,EACN,QAAQ,EACR,SAAS,EACT,MAAM,EACN,QAAQ,EACR,OAAO,GAAG,KAAK,EACf,yBAAyB,GAAG,KAAK,EACjC,WAAW,GACE,EAAe,EAAE;IAC9B,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;QAC1B,QAAQ,CAAC,SAAS,EAAE,mBAAmB,KAAK,YAAY,CAAC,CAAC;KAC3D;IAED,MAAM,YAAY,GAAG,CAAC,YAAoB,EAAE,EAAE;QAC5C,MAAM,qBAAqB,GAAG,OAAO,CAAC,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AAK,CAAC,CAAC;QACrB,CAAC;QACD,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC;QACpD,MAAM,EAAE,GAAG,EAAE;YACX,IAAI,CAAC,yBAAyB,EAAE;gBAC9B,cAAc,CAAC,WAAW,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;aAC/C;YAED,MAAM,aAAN,MAAM,uBAAN,MAAM,EAAI,CAAC;QACb,CAAC;QACD,OAAO,EAAE,CAAC,KAA2B,EAAE,EAAE;;YACvC,IAAI,KAAK,CAAC,aAAa,EAAE;gBACvB,MAAM,IAAI,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;gBAEjD,MAAM,cAAc,GAAG,CAAA,MAAA,QAAQ,CAAC,OAAO,0CAAE,cAAc,KAAI,CAAC,CAAC;gBAC7D,MAAM,YAAY,GAAG,CAAA,MAAA,QAAQ,CAAC,OAAO,0CAAE,YAAY,KAAI,CAAC,CAAC;gBAEzD,MAAM,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC,IAAI,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,CAAC,CAAC;gBAC/F,YAAY,CAAC,aAAa,CAAC,CAAC;aAC7B;QACH,CAAC;KACF,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { RefObject } from 'react';\n\nimport { warnOnce } from '@cloudscape-design/component-toolkit/internal';\n\nimport { InputProps } from '../../../input/interfaces';\nimport { CancelableEventHandler, NonCancelableEventHandler } from '../../events';\nimport { KeyCode } from '../../keycode';\nimport { backspaceHandler, enterHandler, HandlerResult, keyHandler } from './keyboard-handler';\nimport { isCommand, isDigit } from './utils/keys';\nimport MaskFormat from './utils/mask-format';\n\ninterface UseMaskHook {\n value: string;\n onChange: NonCancelableEventHandler<InputProps.ChangeDetail>;\n onKeyDown: CancelableEventHandler<InputProps.KeyDetail>;\n onBlur: NonCancelableEventHandler<null>;\n onPaste: (event: React.ClipboardEvent) => void;\n}\n\nexport interface UseMaskProps {\n value: string;\n onChange: (value: string) => void;\n onKeyDown?: (event: CustomEvent) => void;\n onBlur?: () => void;\n format: MaskFormat;\n autofix?: boolean;\n inputRef: RefObject<HTMLInputElement>;\n disableAutocompleteOnBlur?: boolean;\n setPosition: (position: number | null) => void;\n}\n\nconst onAutoComplete = (value: string, onChange: UseMaskProps['onChange'], maskFormat: MaskFormat) => {\n // Do not autocomplete if input is empty\n if (!value) {\n return;\n }\n\n const autoCompletedValue = maskFormat.autoComplete(value);\n if (autoCompletedValue !== value) {\n onChange(autoCompletedValue);\n }\n};\n\nconst preventDefault = (event: CustomEvent, result?: HandlerResult | null) => result && event.preventDefault();\n\nconst useMask = ({\n value = '',\n onBlur,\n onChange,\n onKeyDown,\n format,\n inputRef,\n autofix = false,\n disableAutocompleteOnBlur = false,\n setPosition,\n}: UseMaskProps): UseMaskHook => {\n if (!format.isValid(value)) {\n warnOnce('useMask', `Invalid string \"${value}\" provided`);\n }\n\n const onMaskChange = (updatedValue: string) => {\n const autofixedUpdatedValue = autofix ? format.correctMinMaxValues(updatedValue) : updatedValue;\n if (autofixedUpdatedValue === value || !format.isValid(autofixedUpdatedValue)) {\n return;\n }\n\n onChange(autofixedUpdatedValue);\n };\n\n const initialValue = autofix ? format.correctMinMaxValues(value) : value;\n const maskedValue = format.getValidValue(initialValue);\n\n return {\n value: maskedValue,\n onKeyDown: (event: CustomEvent) => {\n const selectionStart = inputRef.current?.selectionStart || 0;\n const selectionEnd = inputRef.current?.selectionEnd || 0;\n\n let result: HandlerResult | undefined;\n const { keyCode, key, ctrlKey, metaKey } = event.detail;\n if (isDigit(key) || format.isSeparator(key)) {\n result = keyHandler(maskedValue, key, format, selectionStart, selectionEnd);\n preventDefault(event, result);\n } else if (keyCode === KeyCode.backspace) {\n result = backspaceHandler(maskedValue, format, selectionStart, selectionEnd);\n preventDefault(event, result);\n } else if (keyCode === KeyCode.enter) {\n result = enterHandler(maskedValue, format);\n } else if (!isCommand(keyCode, ctrlKey, metaKey)) {\n event.preventDefault();\n }\n\n if (result) {\n const { value, position } = result;\n\n onMaskChange(value);\n setPosition(position);\n }\n\n // Proxy original event\n onKeyDown?.(event);\n },\n onChange: ({ detail }) => onMaskChange(detail.value),\n onBlur: () => {\n if (!disableAutocompleteOnBlur) {\n onAutoComplete(maskedValue, onChange, format);\n }\n\n onBlur?.();\n },\n onPaste: (event: React.ClipboardEvent) => {\n if (event.clipboardData) {\n const text = event.clipboardData.getData('text');\n\n const selectionStart = inputRef.current?.selectionStart || 0;\n const selectionEnd = inputRef.current?.selectionEnd || 0;\n\n const formattedText = format.formatPastedText(text, maskedValue, selectionStart, selectionEnd);\n onMaskChange(formattedText);\n }\n },\n };\n};\n\nexport default useMask;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mask-format.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/components/masked-input/utils/mask-format.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mask-format.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/components/masked-input/utils/mask-format.ts"],"names":[],"mappings":"AAMA,UAAU,aAAa;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC,CAAC;IAC1C,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAQD,MAAM,WAAW,QAAQ;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC,QAAQ,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CAChC;AAED,UAAU,YAAY;IACpB,KAAK,EAAE,MAAM,CAAC;I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