@universal-material/web 3.0.53 → 3.0.54
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/chip-field/chip-field.styles.js +1 -1
- package/chip-field/chip-field.styles.js.map +1 -1
- package/custom-elements.json +1230 -1078
- package/field/field.styles.d.ts.map +1 -1
- package/field/field.styles.js +5 -4
- package/field/field.styles.js.map +1 -1
- package/menu/menu.d.ts +11 -19
- package/menu/menu.d.ts.map +1 -1
- package/menu/menu.js +176 -87
- package/menu/menu.js.map +1 -1
- package/menu/menu.styles.d.ts.map +1 -1
- package/menu/menu.styles.js +16 -52
- package/menu/menu.styles.js.map +1 -1
- package/package.json +1 -1
- package/shared/text-field-base/text-field-base.d.ts +2 -0
- package/shared/text-field-base/text-field-base.d.ts.map +1 -1
- package/shared/text-field-base/text-field-base.js +4 -1
- package/shared/text-field-base/text-field-base.js.map +1 -1
- package/typeahead/typeahead.d.ts +1 -0
- package/typeahead/typeahead.d.ts.map +1 -1
- package/typeahead/typeahead.js +17 -2
- package/typeahead/typeahead.js.map +1 -1
- package/typeahead/typeahead.styles.d.ts.map +1 -1
- package/typeahead/typeahead.styles.js +4 -0
- package/typeahead/typeahead.styles.js.map +1 -1
package/custom-elements.json
CHANGED
|
@@ -278,255 +278,6 @@
|
|
|
278
278
|
}
|
|
279
279
|
]
|
|
280
280
|
},
|
|
281
|
-
{
|
|
282
|
-
"kind": "javascript-module",
|
|
283
|
-
"path": "src/app-bar/top-app-bar.styles.ts",
|
|
284
|
-
"declarations": [
|
|
285
|
-
{
|
|
286
|
-
"kind": "variable",
|
|
287
|
-
"name": "styles",
|
|
288
|
-
"default": "css `\n :host {\n display: block;\n background-color: var(--u-top-app-bar-background-color, var(--u-color-body, var(--u-color-surface, rgb(254, 247, 255))));\n color: var(--u-top-app-bar-text-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n transition: background-color 100ms, inset 375ms cubic-bezier(0.19, 1, 0.22, 1);\n }\n\n :host([container-scrolled]) {\n background-color: var(--u-top-app-bar-elevated-background-color, var(--u-color-surface-container, rgb(243, 237, 247)));\n }\n\n :host(:not([has-leading-icon])) .leading-icon {\n display: none;\n }\n\n :host(:not([has-trailing-icon])) .trailing-icon {\n display: none;\n }\n\n slot[name=leading-icon],\n slot[name=trailing-icon] {\n display: inline-flex;\n align-items: center;\n gap: var(--u-top-app-bar-icons-gap, 8px);\n }\n\n slot[name=leading-icon]::slotted(u-icon-button) {\n color: inherit;\n }\n\n :host([position=absolute]) .content {\n position: absolute;\n }\n\n :host([position=fixed]) .content {\n position: fixed;\n inset-inline: 0;\n inset-block-start: 0;\n inset-inline-start: var(--u-app-bar-offset, 0);\n }\n\n :host([position=absolute]),\n :host([position=fixed]) {\n padding-top: var(--_content-height);\n }\n :host([position=absolute]) .content,\n :host([position=fixed]) .content {\n z-index: var(--u-fixed-app-bar-z-index, 1010);\n }\n\n .content {\n display: flex;\n align-items: center;\n background-color: inherit;\n transition: inherit;\n min-height: var(--u-top-app-bar-min-height, 56px);\n }\n @media (min-width: 840px) {\n .content {\n min-height: var(--u-top-app-bar-extended-min-height, 64px);\n }\n }\n\n .headline {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-top-app-bar-headline-line-height, var(--u-title-l-line-height, 1.75rem));\n font-size: var(--u-top-app-bar-headline-font-size, var(--u-title-l-font-size, 1.375rem));\n letter-spacing: var(--u-top-app-bar-headline-letter-spacing, var(--u-title-l-letter-spacing, 0rem));\n font-weight: var(--u-top-app-bar-headline-font-weight, var(--u-title-l-font-weight, var(--u-font-weight-regular, 400)));\n margin-inline: var(--u-headline-margin, 16px);\n }\n\n .leading-icon {\n margin-inline: var(--u-leading-icon-margin, 8px);\n }\n .leading-icon + .headline {\n margin-inline-start: 0;\n }\n\n .trailing-icon {\n padding-inline: var(--u-trailing-icon-margin, 8px);\n margin-inline-start: auto;\n }\n`"
|
|
289
|
-
}
|
|
290
|
-
],
|
|
291
|
-
"exports": [
|
|
292
|
-
{
|
|
293
|
-
"kind": "js",
|
|
294
|
-
"name": "styles",
|
|
295
|
-
"declaration": {
|
|
296
|
-
"name": "styles",
|
|
297
|
-
"module": "src/app-bar/top-app-bar.styles.ts"
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
]
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"kind": "javascript-module",
|
|
304
|
-
"path": "src/app-bar/top-app-bar.ts",
|
|
305
|
-
"declarations": [
|
|
306
|
-
{
|
|
307
|
-
"kind": "class",
|
|
308
|
-
"description": "",
|
|
309
|
-
"name": "UmTopAppBar",
|
|
310
|
-
"members": [
|
|
311
|
-
{
|
|
312
|
-
"kind": "field",
|
|
313
|
-
"name": "hasLeadingIcon",
|
|
314
|
-
"type": {
|
|
315
|
-
"text": "boolean"
|
|
316
|
-
},
|
|
317
|
-
"default": "false",
|
|
318
|
-
"description": "Whether the app bar has leading icon or not\n\n_Note:_ Readonly",
|
|
319
|
-
"attribute": "has-leading-icon",
|
|
320
|
-
"reflects": true
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"kind": "field",
|
|
324
|
-
"name": "hasTrailingIcon",
|
|
325
|
-
"type": {
|
|
326
|
-
"text": "boolean"
|
|
327
|
-
},
|
|
328
|
-
"default": "false",
|
|
329
|
-
"description": "Whether the app bar has trailing icon or not\n\n_Note:_ Readonly",
|
|
330
|
-
"attribute": "has-trailing-icon",
|
|
331
|
-
"reflects": true
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
"kind": "field",
|
|
335
|
-
"name": "position",
|
|
336
|
-
"type": {
|
|
337
|
-
"text": "'fixed' | 'absolute' | 'static'"
|
|
338
|
-
},
|
|
339
|
-
"default": "'fixed'",
|
|
340
|
-
"attribute": "position",
|
|
341
|
-
"reflects": true
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
"kind": "field",
|
|
345
|
-
"name": "scrollContainer",
|
|
346
|
-
"type": {
|
|
347
|
-
"text": "'none' | 'window' | string | undefined"
|
|
348
|
-
},
|
|
349
|
-
"attribute": "scrollContainer",
|
|
350
|
-
"reflects": true
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
"kind": "field",
|
|
354
|
-
"name": "containerScrolled",
|
|
355
|
-
"type": {
|
|
356
|
-
"text": "boolean"
|
|
357
|
-
},
|
|
358
|
-
"default": "false",
|
|
359
|
-
"attribute": "container-scrolled",
|
|
360
|
-
"reflects": true
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
"kind": "field",
|
|
364
|
-
"name": "assignedLeadingIcons",
|
|
365
|
-
"type": {
|
|
366
|
-
"text": "HTMLElement[]"
|
|
367
|
-
},
|
|
368
|
-
"privacy": "private"
|
|
369
|
-
},
|
|
370
|
-
{
|
|
371
|
-
"kind": "field",
|
|
372
|
-
"name": "assignedTrailingIcons",
|
|
373
|
-
"type": {
|
|
374
|
-
"text": "HTMLElement[]"
|
|
375
|
-
},
|
|
376
|
-
"privacy": "private"
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
"kind": "field",
|
|
380
|
-
"name": "content",
|
|
381
|
-
"type": {
|
|
382
|
-
"text": "HTMLElement"
|
|
383
|
-
}
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
"kind": "field",
|
|
387
|
-
"name": "contentSizeObserver",
|
|
388
|
-
"type": {
|
|
389
|
-
"text": "ResizeObserver | null"
|
|
390
|
-
},
|
|
391
|
-
"privacy": "private",
|
|
392
|
-
"default": "null"
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
"kind": "field",
|
|
396
|
-
"name": "scrollContainerElement",
|
|
397
|
-
"type": {
|
|
398
|
-
"text": "{\n addEventListener: typeof window.addEventListener;\n removeEventListener: typeof window.removeEventListener;\n } | null"
|
|
399
|
-
},
|
|
400
|
-
"privacy": "private",
|
|
401
|
-
"default": "null"
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
"kind": "method",
|
|
405
|
-
"name": "getScrollContainer",
|
|
406
|
-
"privacy": "private",
|
|
407
|
-
"return": {
|
|
408
|
-
"type": {
|
|
409
|
-
"text": "{\n addEventListener: typeof window.addEventListener;\n removeEventListener: typeof window.removeEventListener;\n } | undefined"
|
|
410
|
-
}
|
|
411
|
-
},
|
|
412
|
-
"parameters": [
|
|
413
|
-
{
|
|
414
|
-
"name": "idOrElement",
|
|
415
|
-
"type": {
|
|
416
|
-
"text": "string | HTMLElement | undefined"
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
]
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
"kind": "method",
|
|
423
|
-
"name": "handleLeadingIconSlotChange",
|
|
424
|
-
"privacy": "private"
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
"kind": "method",
|
|
428
|
-
"name": "handleTrailingIconSlotChange",
|
|
429
|
-
"privacy": "private"
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
"kind": "field",
|
|
433
|
-
"name": "onContainerScroll"
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
"kind": "method",
|
|
437
|
-
"name": "getScrollTop",
|
|
438
|
-
"privacy": "private",
|
|
439
|
-
"static": true,
|
|
440
|
-
"return": {
|
|
441
|
-
"type": {
|
|
442
|
-
"text": "number | null"
|
|
443
|
-
}
|
|
444
|
-
},
|
|
445
|
-
"parameters": [
|
|
446
|
-
{
|
|
447
|
-
"name": "container",
|
|
448
|
-
"type": {
|
|
449
|
-
"text": "HTMLElement & Window"
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
]
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
"kind": "method",
|
|
456
|
-
"name": "setContentHeightProperty",
|
|
457
|
-
"privacy": "private"
|
|
458
|
-
}
|
|
459
|
-
],
|
|
460
|
-
"attributes": [
|
|
461
|
-
{
|
|
462
|
-
"name": "has-leading-icon",
|
|
463
|
-
"type": {
|
|
464
|
-
"text": "boolean"
|
|
465
|
-
},
|
|
466
|
-
"default": "false",
|
|
467
|
-
"description": "Whether the app bar has leading icon or not\n\n_Note:_ Readonly",
|
|
468
|
-
"fieldName": "hasLeadingIcon"
|
|
469
|
-
},
|
|
470
|
-
{
|
|
471
|
-
"name": "has-trailing-icon",
|
|
472
|
-
"type": {
|
|
473
|
-
"text": "boolean"
|
|
474
|
-
},
|
|
475
|
-
"default": "false",
|
|
476
|
-
"description": "Whether the app bar has trailing icon or not\n\n_Note:_ Readonly",
|
|
477
|
-
"fieldName": "hasTrailingIcon"
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
"name": "position",
|
|
481
|
-
"type": {
|
|
482
|
-
"text": "'fixed' | 'absolute' | 'static'"
|
|
483
|
-
},
|
|
484
|
-
"default": "'fixed'",
|
|
485
|
-
"fieldName": "position"
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
"name": "scrollContainer",
|
|
489
|
-
"type": {
|
|
490
|
-
"text": "'none' | 'window' | string | undefined"
|
|
491
|
-
},
|
|
492
|
-
"fieldName": "scrollContainer"
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
"name": "container-scrolled",
|
|
496
|
-
"type": {
|
|
497
|
-
"text": "boolean"
|
|
498
|
-
},
|
|
499
|
-
"default": "false",
|
|
500
|
-
"fieldName": "containerScrolled"
|
|
501
|
-
}
|
|
502
|
-
],
|
|
503
|
-
"superclass": {
|
|
504
|
-
"name": "LitElement",
|
|
505
|
-
"package": "lit"
|
|
506
|
-
},
|
|
507
|
-
"tagName": "u-top-app-bar",
|
|
508
|
-
"customElement": true
|
|
509
|
-
}
|
|
510
|
-
],
|
|
511
|
-
"exports": [
|
|
512
|
-
{
|
|
513
|
-
"kind": "js",
|
|
514
|
-
"name": "UmTopAppBar",
|
|
515
|
-
"declaration": {
|
|
516
|
-
"name": "UmTopAppBar",
|
|
517
|
-
"module": "src/app-bar/top-app-bar.ts"
|
|
518
|
-
}
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
"kind": "custom-element-definition",
|
|
522
|
-
"name": "u-top-app-bar",
|
|
523
|
-
"declaration": {
|
|
524
|
-
"name": "UmTopAppBar",
|
|
525
|
-
"module": "src/app-bar/top-app-bar.ts"
|
|
526
|
-
}
|
|
527
|
-
}
|
|
528
|
-
]
|
|
529
|
-
},
|
|
530
281
|
{
|
|
531
282
|
"kind": "javascript-module",
|
|
532
283
|
"path": "src/button/button-base.ts",
|
|
@@ -2638,14 +2389,263 @@
|
|
|
2638
2389
|
},
|
|
2639
2390
|
{
|
|
2640
2391
|
"kind": "javascript-module",
|
|
2641
|
-
"path": "src/
|
|
2392
|
+
"path": "src/card/card-content.styles.ts",
|
|
2642
2393
|
"declarations": [
|
|
2643
2394
|
{
|
|
2644
|
-
"kind": "
|
|
2645
|
-
"
|
|
2646
|
-
"
|
|
2647
|
-
|
|
2648
|
-
|
|
2395
|
+
"kind": "variable",
|
|
2396
|
+
"name": "styles",
|
|
2397
|
+
"default": "css `\n :host {\n display: block;\n }\n\n :host(:has(slot > *)) {\n display: none;\n }\n\n :host([has-content]) {\n padding: var(--u-card-padding, 16px);\n }\n\n slot {\n border-radius: inherit;\n }\n`"
|
|
2398
|
+
}
|
|
2399
|
+
],
|
|
2400
|
+
"exports": [
|
|
2401
|
+
{
|
|
2402
|
+
"kind": "js",
|
|
2403
|
+
"name": "styles",
|
|
2404
|
+
"declaration": {
|
|
2405
|
+
"name": "styles",
|
|
2406
|
+
"module": "src/card/card-content.styles.ts"
|
|
2407
|
+
}
|
|
2408
|
+
}
|
|
2409
|
+
]
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
"kind": "javascript-module",
|
|
2413
|
+
"path": "src/card/card-content.ts",
|
|
2414
|
+
"declarations": [
|
|
2415
|
+
{
|
|
2416
|
+
"kind": "class",
|
|
2417
|
+
"description": "",
|
|
2418
|
+
"name": "UmCardContent",
|
|
2419
|
+
"members": [
|
|
2420
|
+
{
|
|
2421
|
+
"kind": "field",
|
|
2422
|
+
"name": "hasContent",
|
|
2423
|
+
"type": {
|
|
2424
|
+
"text": "boolean"
|
|
2425
|
+
},
|
|
2426
|
+
"default": "false",
|
|
2427
|
+
"attribute": "has-content",
|
|
2428
|
+
"reflects": true
|
|
2429
|
+
},
|
|
2430
|
+
{
|
|
2431
|
+
"kind": "method",
|
|
2432
|
+
"name": "handleSlotChange",
|
|
2433
|
+
"privacy": "private",
|
|
2434
|
+
"parameters": [
|
|
2435
|
+
{
|
|
2436
|
+
"name": "e",
|
|
2437
|
+
"type": {
|
|
2438
|
+
"text": "Event"
|
|
2439
|
+
}
|
|
2440
|
+
}
|
|
2441
|
+
]
|
|
2442
|
+
}
|
|
2443
|
+
],
|
|
2444
|
+
"attributes": [
|
|
2445
|
+
{
|
|
2446
|
+
"name": "has-content",
|
|
2447
|
+
"type": {
|
|
2448
|
+
"text": "boolean"
|
|
2449
|
+
},
|
|
2450
|
+
"default": "false",
|
|
2451
|
+
"fieldName": "hasContent"
|
|
2452
|
+
}
|
|
2453
|
+
],
|
|
2454
|
+
"superclass": {
|
|
2455
|
+
"name": "LitElement",
|
|
2456
|
+
"package": "lit"
|
|
2457
|
+
},
|
|
2458
|
+
"tagName": "u-card-content",
|
|
2459
|
+
"customElement": true
|
|
2460
|
+
}
|
|
2461
|
+
],
|
|
2462
|
+
"exports": [
|
|
2463
|
+
{
|
|
2464
|
+
"kind": "js",
|
|
2465
|
+
"name": "UmCardContent",
|
|
2466
|
+
"declaration": {
|
|
2467
|
+
"name": "UmCardContent",
|
|
2468
|
+
"module": "src/card/card-content.ts"
|
|
2469
|
+
}
|
|
2470
|
+
},
|
|
2471
|
+
{
|
|
2472
|
+
"kind": "custom-element-definition",
|
|
2473
|
+
"name": "u-card-content",
|
|
2474
|
+
"declaration": {
|
|
2475
|
+
"name": "UmCardContent",
|
|
2476
|
+
"module": "src/card/card-content.ts"
|
|
2477
|
+
}
|
|
2478
|
+
}
|
|
2479
|
+
]
|
|
2480
|
+
},
|
|
2481
|
+
{
|
|
2482
|
+
"kind": "javascript-module",
|
|
2483
|
+
"path": "src/card/card-media.styles.ts",
|
|
2484
|
+
"declarations": [
|
|
2485
|
+
{
|
|
2486
|
+
"kind": "variable",
|
|
2487
|
+
"name": "styles",
|
|
2488
|
+
"default": "css `\n :host {\n display: block;\n aspect-ratio: 1;\n border-radius: var(--u-card-shape-corner, var(--u-shape-corner-medium, 12px));\n }\n\n :host([wide]) {\n aspect-ratio: 16/9;\n }\n`"
|
|
2489
|
+
}
|
|
2490
|
+
],
|
|
2491
|
+
"exports": [
|
|
2492
|
+
{
|
|
2493
|
+
"kind": "js",
|
|
2494
|
+
"name": "styles",
|
|
2495
|
+
"declaration": {
|
|
2496
|
+
"name": "styles",
|
|
2497
|
+
"module": "src/card/card-media.styles.ts"
|
|
2498
|
+
}
|
|
2499
|
+
}
|
|
2500
|
+
]
|
|
2501
|
+
},
|
|
2502
|
+
{
|
|
2503
|
+
"kind": "javascript-module",
|
|
2504
|
+
"path": "src/card/card-media.ts",
|
|
2505
|
+
"declarations": [
|
|
2506
|
+
{
|
|
2507
|
+
"kind": "class",
|
|
2508
|
+
"description": "",
|
|
2509
|
+
"name": "UmCardMedia",
|
|
2510
|
+
"members": [
|
|
2511
|
+
{
|
|
2512
|
+
"kind": "field",
|
|
2513
|
+
"name": "wide",
|
|
2514
|
+
"type": {
|
|
2515
|
+
"text": "boolean"
|
|
2516
|
+
},
|
|
2517
|
+
"default": "false",
|
|
2518
|
+
"attribute": "wide",
|
|
2519
|
+
"reflects": true
|
|
2520
|
+
}
|
|
2521
|
+
],
|
|
2522
|
+
"attributes": [
|
|
2523
|
+
{
|
|
2524
|
+
"name": "wide",
|
|
2525
|
+
"type": {
|
|
2526
|
+
"text": "boolean"
|
|
2527
|
+
},
|
|
2528
|
+
"default": "false",
|
|
2529
|
+
"fieldName": "wide"
|
|
2530
|
+
}
|
|
2531
|
+
],
|
|
2532
|
+
"superclass": {
|
|
2533
|
+
"name": "LitElement",
|
|
2534
|
+
"package": "lit"
|
|
2535
|
+
},
|
|
2536
|
+
"tagName": "u-card-media",
|
|
2537
|
+
"customElement": true
|
|
2538
|
+
}
|
|
2539
|
+
],
|
|
2540
|
+
"exports": [
|
|
2541
|
+
{
|
|
2542
|
+
"kind": "js",
|
|
2543
|
+
"name": "UmCardMedia",
|
|
2544
|
+
"declaration": {
|
|
2545
|
+
"name": "UmCardMedia",
|
|
2546
|
+
"module": "src/card/card-media.ts"
|
|
2547
|
+
}
|
|
2548
|
+
},
|
|
2549
|
+
{
|
|
2550
|
+
"kind": "custom-element-definition",
|
|
2551
|
+
"name": "u-card-media",
|
|
2552
|
+
"declaration": {
|
|
2553
|
+
"name": "UmCardMedia",
|
|
2554
|
+
"module": "src/card/card-media.ts"
|
|
2555
|
+
}
|
|
2556
|
+
}
|
|
2557
|
+
]
|
|
2558
|
+
},
|
|
2559
|
+
{
|
|
2560
|
+
"kind": "javascript-module",
|
|
2561
|
+
"path": "src/card/card.styles.ts",
|
|
2562
|
+
"declarations": [
|
|
2563
|
+
{
|
|
2564
|
+
"kind": "variable",
|
|
2565
|
+
"name": "styles",
|
|
2566
|
+
"default": "css `\n :host {\n display: block;\n position: relative;\n border-radius: var(--u-card-shape-corner, var(--u-shape-corner-medium, 12px));\n }\n\n :host([variant=elevated]) {\n background-color: var(--u-color-surface-container-low, rgb(247, 242, 250));\n }\n :host([variant=elevated]) u-elevation {\n --u-elevation-level: var(--u-elevated-card-elevation-level, 1);\n }\n\n :host([variant=filled]) {\n background-color: var(--u-color-surface-container-highest, rgb(230, 224, 233));\n }\n\n :host([variant=outlined]) {\n border: var(--u-outlined-card-outline-width, 1px) solid var(--u-outlined-card-outline-color, var(--u-color-outline-variant, rgb(202, 196, 208)));\n }\n\n u-card-content,\n slot {\n border-radius: inherit;\n }\n`"
|
|
2567
|
+
}
|
|
2568
|
+
],
|
|
2569
|
+
"exports": [
|
|
2570
|
+
{
|
|
2571
|
+
"kind": "js",
|
|
2572
|
+
"name": "styles",
|
|
2573
|
+
"declaration": {
|
|
2574
|
+
"name": "styles",
|
|
2575
|
+
"module": "src/card/card.styles.ts"
|
|
2576
|
+
}
|
|
2577
|
+
}
|
|
2578
|
+
]
|
|
2579
|
+
},
|
|
2580
|
+
{
|
|
2581
|
+
"kind": "javascript-module",
|
|
2582
|
+
"path": "src/card/card.ts",
|
|
2583
|
+
"declarations": [
|
|
2584
|
+
{
|
|
2585
|
+
"kind": "class",
|
|
2586
|
+
"description": "",
|
|
2587
|
+
"name": "UmCard",
|
|
2588
|
+
"members": [
|
|
2589
|
+
{
|
|
2590
|
+
"kind": "field",
|
|
2591
|
+
"name": "variant",
|
|
2592
|
+
"type": {
|
|
2593
|
+
"text": "UmCardVariant"
|
|
2594
|
+
},
|
|
2595
|
+
"default": "'filled'",
|
|
2596
|
+
"description": "The Card variant to render.",
|
|
2597
|
+
"attribute": "variant",
|
|
2598
|
+
"reflects": true
|
|
2599
|
+
}
|
|
2600
|
+
],
|
|
2601
|
+
"attributes": [
|
|
2602
|
+
{
|
|
2603
|
+
"name": "variant",
|
|
2604
|
+
"type": {
|
|
2605
|
+
"text": "UmCardVariant"
|
|
2606
|
+
},
|
|
2607
|
+
"default": "'filled'",
|
|
2608
|
+
"description": "The Card variant to render.",
|
|
2609
|
+
"fieldName": "variant"
|
|
2610
|
+
}
|
|
2611
|
+
],
|
|
2612
|
+
"superclass": {
|
|
2613
|
+
"name": "LitElement",
|
|
2614
|
+
"package": "lit"
|
|
2615
|
+
},
|
|
2616
|
+
"tagName": "u-card",
|
|
2617
|
+
"customElement": true
|
|
2618
|
+
}
|
|
2619
|
+
],
|
|
2620
|
+
"exports": [
|
|
2621
|
+
{
|
|
2622
|
+
"kind": "js",
|
|
2623
|
+
"name": "UmCard",
|
|
2624
|
+
"declaration": {
|
|
2625
|
+
"name": "UmCard",
|
|
2626
|
+
"module": "src/card/card.ts"
|
|
2627
|
+
}
|
|
2628
|
+
},
|
|
2629
|
+
{
|
|
2630
|
+
"kind": "custom-element-definition",
|
|
2631
|
+
"name": "u-card",
|
|
2632
|
+
"declaration": {
|
|
2633
|
+
"name": "UmCard",
|
|
2634
|
+
"module": "src/card/card.ts"
|
|
2635
|
+
}
|
|
2636
|
+
}
|
|
2637
|
+
]
|
|
2638
|
+
},
|
|
2639
|
+
{
|
|
2640
|
+
"kind": "javascript-module",
|
|
2641
|
+
"path": "src/checkbox/checkbox-list-item.ts",
|
|
2642
|
+
"declarations": [
|
|
2643
|
+
{
|
|
2644
|
+
"kind": "class",
|
|
2645
|
+
"description": "",
|
|
2646
|
+
"name": "UmCheckboxListItem",
|
|
2647
|
+
"mixins": [
|
|
2648
|
+
{
|
|
2649
2649
|
"name": "mixinSelectionControlListItem",
|
|
2650
2650
|
"module": "/src/shared/selection-control/selection-control-list-item.js"
|
|
2651
2651
|
}
|
|
@@ -3345,12 +3345,12 @@
|
|
|
3345
3345
|
},
|
|
3346
3346
|
{
|
|
3347
3347
|
"kind": "javascript-module",
|
|
3348
|
-
"path": "src/
|
|
3348
|
+
"path": "src/app-bar/top-app-bar.styles.ts",
|
|
3349
3349
|
"declarations": [
|
|
3350
3350
|
{
|
|
3351
3351
|
"kind": "variable",
|
|
3352
3352
|
"name": "styles",
|
|
3353
|
-
"default": "css `\n :host {\n display: block;\n }\n\n :host(:
|
|
3353
|
+
"default": "css `\n :host {\n display: block;\n background-color: var(--u-top-app-bar-background-color, var(--u-color-body, var(--u-color-surface, rgb(254, 247, 255))));\n color: var(--u-top-app-bar-text-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n transition: background-color 100ms, inset 375ms cubic-bezier(0.19, 1, 0.22, 1);\n }\n\n :host([container-scrolled]) {\n background-color: var(--u-top-app-bar-elevated-background-color, var(--u-color-surface-container, rgb(243, 237, 247)));\n }\n\n :host(:not([has-leading-icon])) .leading-icon {\n display: none;\n }\n\n :host(:not([has-trailing-icon])) .trailing-icon {\n display: none;\n }\n\n slot[name=leading-icon],\n slot[name=trailing-icon] {\n display: inline-flex;\n align-items: center;\n gap: var(--u-top-app-bar-icons-gap, 8px);\n }\n\n slot[name=leading-icon]::slotted(u-icon-button) {\n color: inherit;\n }\n\n :host([position=absolute]) .content {\n position: absolute;\n }\n\n :host([position=fixed]) .content {\n position: fixed;\n inset-inline: 0;\n inset-block-start: 0;\n inset-inline-start: var(--u-app-bar-offset, 0);\n }\n\n :host([position=absolute]),\n :host([position=fixed]) {\n padding-top: var(--_content-height);\n }\n :host([position=absolute]) .content,\n :host([position=fixed]) .content {\n z-index: var(--u-fixed-app-bar-z-index, 1010);\n }\n\n .content {\n display: flex;\n align-items: center;\n background-color: inherit;\n transition: inherit;\n min-height: var(--u-top-app-bar-min-height, 56px);\n }\n @media (min-width: 840px) {\n .content {\n min-height: var(--u-top-app-bar-extended-min-height, 64px);\n }\n }\n\n .headline {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-top-app-bar-headline-line-height, var(--u-title-l-line-height, 1.75rem));\n font-size: var(--u-top-app-bar-headline-font-size, var(--u-title-l-font-size, 1.375rem));\n letter-spacing: var(--u-top-app-bar-headline-letter-spacing, var(--u-title-l-letter-spacing, 0rem));\n font-weight: var(--u-top-app-bar-headline-font-weight, var(--u-title-l-font-weight, var(--u-font-weight-regular, 400)));\n margin-inline: var(--u-headline-margin, 16px);\n }\n\n .leading-icon {\n margin-inline: var(--u-leading-icon-margin, 8px);\n }\n .leading-icon + .headline {\n margin-inline-start: 0;\n }\n\n .trailing-icon {\n padding-inline: var(--u-trailing-icon-margin, 8px);\n margin-inline-start: auto;\n }\n`"
|
|
3354
3354
|
}
|
|
3355
3355
|
],
|
|
3356
3356
|
"exports": [
|
|
@@ -3359,89 +3359,247 @@
|
|
|
3359
3359
|
"name": "styles",
|
|
3360
3360
|
"declaration": {
|
|
3361
3361
|
"name": "styles",
|
|
3362
|
-
"module": "src/
|
|
3362
|
+
"module": "src/app-bar/top-app-bar.styles.ts"
|
|
3363
3363
|
}
|
|
3364
3364
|
}
|
|
3365
3365
|
]
|
|
3366
3366
|
},
|
|
3367
3367
|
{
|
|
3368
3368
|
"kind": "javascript-module",
|
|
3369
|
-
"path": "src/
|
|
3369
|
+
"path": "src/app-bar/top-app-bar.ts",
|
|
3370
3370
|
"declarations": [
|
|
3371
3371
|
{
|
|
3372
3372
|
"kind": "class",
|
|
3373
3373
|
"description": "",
|
|
3374
|
-
"name": "
|
|
3374
|
+
"name": "UmTopAppBar",
|
|
3375
3375
|
"members": [
|
|
3376
3376
|
{
|
|
3377
3377
|
"kind": "field",
|
|
3378
|
-
"name": "
|
|
3378
|
+
"name": "hasLeadingIcon",
|
|
3379
3379
|
"type": {
|
|
3380
3380
|
"text": "boolean"
|
|
3381
3381
|
},
|
|
3382
3382
|
"default": "false",
|
|
3383
|
-
"
|
|
3383
|
+
"description": "Whether the app bar has leading icon or not\n\n_Note:_ Readonly",
|
|
3384
|
+
"attribute": "has-leading-icon",
|
|
3385
|
+
"reflects": true
|
|
3386
|
+
},
|
|
3387
|
+
{
|
|
3388
|
+
"kind": "field",
|
|
3389
|
+
"name": "hasTrailingIcon",
|
|
3390
|
+
"type": {
|
|
3391
|
+
"text": "boolean"
|
|
3392
|
+
},
|
|
3393
|
+
"default": "false",
|
|
3394
|
+
"description": "Whether the app bar has trailing icon or not\n\n_Note:_ Readonly",
|
|
3395
|
+
"attribute": "has-trailing-icon",
|
|
3396
|
+
"reflects": true
|
|
3397
|
+
},
|
|
3398
|
+
{
|
|
3399
|
+
"kind": "field",
|
|
3400
|
+
"name": "position",
|
|
3401
|
+
"type": {
|
|
3402
|
+
"text": "'fixed' | 'absolute' | 'static'"
|
|
3403
|
+
},
|
|
3404
|
+
"default": "'fixed'",
|
|
3405
|
+
"attribute": "position",
|
|
3406
|
+
"reflects": true
|
|
3407
|
+
},
|
|
3408
|
+
{
|
|
3409
|
+
"kind": "field",
|
|
3410
|
+
"name": "scrollContainer",
|
|
3411
|
+
"type": {
|
|
3412
|
+
"text": "'none' | 'window' | string | undefined"
|
|
3413
|
+
},
|
|
3414
|
+
"attribute": "scrollContainer",
|
|
3415
|
+
"reflects": true
|
|
3416
|
+
},
|
|
3417
|
+
{
|
|
3418
|
+
"kind": "field",
|
|
3419
|
+
"name": "containerScrolled",
|
|
3420
|
+
"type": {
|
|
3421
|
+
"text": "boolean"
|
|
3422
|
+
},
|
|
3423
|
+
"default": "false",
|
|
3424
|
+
"attribute": "container-scrolled",
|
|
3384
3425
|
"reflects": true
|
|
3385
3426
|
},
|
|
3427
|
+
{
|
|
3428
|
+
"kind": "field",
|
|
3429
|
+
"name": "assignedLeadingIcons",
|
|
3430
|
+
"type": {
|
|
3431
|
+
"text": "HTMLElement[]"
|
|
3432
|
+
},
|
|
3433
|
+
"privacy": "private"
|
|
3434
|
+
},
|
|
3435
|
+
{
|
|
3436
|
+
"kind": "field",
|
|
3437
|
+
"name": "assignedTrailingIcons",
|
|
3438
|
+
"type": {
|
|
3439
|
+
"text": "HTMLElement[]"
|
|
3440
|
+
},
|
|
3441
|
+
"privacy": "private"
|
|
3442
|
+
},
|
|
3443
|
+
{
|
|
3444
|
+
"kind": "field",
|
|
3445
|
+
"name": "content",
|
|
3446
|
+
"type": {
|
|
3447
|
+
"text": "HTMLElement"
|
|
3448
|
+
}
|
|
3449
|
+
},
|
|
3450
|
+
{
|
|
3451
|
+
"kind": "field",
|
|
3452
|
+
"name": "contentSizeObserver",
|
|
3453
|
+
"type": {
|
|
3454
|
+
"text": "ResizeObserver | null"
|
|
3455
|
+
},
|
|
3456
|
+
"privacy": "private",
|
|
3457
|
+
"default": "null"
|
|
3458
|
+
},
|
|
3459
|
+
{
|
|
3460
|
+
"kind": "field",
|
|
3461
|
+
"name": "scrollContainerElement",
|
|
3462
|
+
"type": {
|
|
3463
|
+
"text": "{\n addEventListener: typeof window.addEventListener;\n removeEventListener: typeof window.removeEventListener;\n } | null"
|
|
3464
|
+
},
|
|
3465
|
+
"privacy": "private",
|
|
3466
|
+
"default": "null"
|
|
3467
|
+
},
|
|
3386
3468
|
{
|
|
3387
3469
|
"kind": "method",
|
|
3388
|
-
"name": "
|
|
3470
|
+
"name": "getScrollContainer",
|
|
3389
3471
|
"privacy": "private",
|
|
3472
|
+
"return": {
|
|
3473
|
+
"type": {
|
|
3474
|
+
"text": "{\n addEventListener: typeof window.addEventListener;\n removeEventListener: typeof window.removeEventListener;\n } | undefined"
|
|
3475
|
+
}
|
|
3476
|
+
},
|
|
3390
3477
|
"parameters": [
|
|
3391
3478
|
{
|
|
3392
|
-
"name": "
|
|
3479
|
+
"name": "idOrElement",
|
|
3393
3480
|
"type": {
|
|
3394
|
-
"text": "
|
|
3481
|
+
"text": "string | HTMLElement | undefined"
|
|
3482
|
+
}
|
|
3483
|
+
}
|
|
3484
|
+
]
|
|
3485
|
+
},
|
|
3486
|
+
{
|
|
3487
|
+
"kind": "method",
|
|
3488
|
+
"name": "handleLeadingIconSlotChange",
|
|
3489
|
+
"privacy": "private"
|
|
3490
|
+
},
|
|
3491
|
+
{
|
|
3492
|
+
"kind": "method",
|
|
3493
|
+
"name": "handleTrailingIconSlotChange",
|
|
3494
|
+
"privacy": "private"
|
|
3495
|
+
},
|
|
3496
|
+
{
|
|
3497
|
+
"kind": "field",
|
|
3498
|
+
"name": "onContainerScroll"
|
|
3499
|
+
},
|
|
3500
|
+
{
|
|
3501
|
+
"kind": "method",
|
|
3502
|
+
"name": "getScrollTop",
|
|
3503
|
+
"privacy": "private",
|
|
3504
|
+
"static": true,
|
|
3505
|
+
"return": {
|
|
3506
|
+
"type": {
|
|
3507
|
+
"text": "number | null"
|
|
3508
|
+
}
|
|
3509
|
+
},
|
|
3510
|
+
"parameters": [
|
|
3511
|
+
{
|
|
3512
|
+
"name": "container",
|
|
3513
|
+
"type": {
|
|
3514
|
+
"text": "HTMLElement & Window"
|
|
3395
3515
|
}
|
|
3396
3516
|
}
|
|
3397
3517
|
]
|
|
3518
|
+
},
|
|
3519
|
+
{
|
|
3520
|
+
"kind": "method",
|
|
3521
|
+
"name": "setContentHeightProperty",
|
|
3522
|
+
"privacy": "private"
|
|
3398
3523
|
}
|
|
3399
3524
|
],
|
|
3400
3525
|
"attributes": [
|
|
3401
3526
|
{
|
|
3402
|
-
"name": "has-
|
|
3527
|
+
"name": "has-leading-icon",
|
|
3403
3528
|
"type": {
|
|
3404
3529
|
"text": "boolean"
|
|
3405
3530
|
},
|
|
3406
3531
|
"default": "false",
|
|
3407
|
-
"
|
|
3532
|
+
"description": "Whether the app bar has leading icon or not\n\n_Note:_ Readonly",
|
|
3533
|
+
"fieldName": "hasLeadingIcon"
|
|
3534
|
+
},
|
|
3535
|
+
{
|
|
3536
|
+
"name": "has-trailing-icon",
|
|
3537
|
+
"type": {
|
|
3538
|
+
"text": "boolean"
|
|
3539
|
+
},
|
|
3540
|
+
"default": "false",
|
|
3541
|
+
"description": "Whether the app bar has trailing icon or not\n\n_Note:_ Readonly",
|
|
3542
|
+
"fieldName": "hasTrailingIcon"
|
|
3543
|
+
},
|
|
3544
|
+
{
|
|
3545
|
+
"name": "position",
|
|
3546
|
+
"type": {
|
|
3547
|
+
"text": "'fixed' | 'absolute' | 'static'"
|
|
3548
|
+
},
|
|
3549
|
+
"default": "'fixed'",
|
|
3550
|
+
"fieldName": "position"
|
|
3551
|
+
},
|
|
3552
|
+
{
|
|
3553
|
+
"name": "scrollContainer",
|
|
3554
|
+
"type": {
|
|
3555
|
+
"text": "'none' | 'window' | string | undefined"
|
|
3556
|
+
},
|
|
3557
|
+
"fieldName": "scrollContainer"
|
|
3558
|
+
},
|
|
3559
|
+
{
|
|
3560
|
+
"name": "container-scrolled",
|
|
3561
|
+
"type": {
|
|
3562
|
+
"text": "boolean"
|
|
3563
|
+
},
|
|
3564
|
+
"default": "false",
|
|
3565
|
+
"fieldName": "containerScrolled"
|
|
3408
3566
|
}
|
|
3409
3567
|
],
|
|
3410
3568
|
"superclass": {
|
|
3411
3569
|
"name": "LitElement",
|
|
3412
3570
|
"package": "lit"
|
|
3413
3571
|
},
|
|
3414
|
-
"tagName": "u-
|
|
3572
|
+
"tagName": "u-top-app-bar",
|
|
3415
3573
|
"customElement": true
|
|
3416
3574
|
}
|
|
3417
3575
|
],
|
|
3418
3576
|
"exports": [
|
|
3419
3577
|
{
|
|
3420
3578
|
"kind": "js",
|
|
3421
|
-
"name": "
|
|
3579
|
+
"name": "UmTopAppBar",
|
|
3422
3580
|
"declaration": {
|
|
3423
|
-
"name": "
|
|
3424
|
-
"module": "src/
|
|
3581
|
+
"name": "UmTopAppBar",
|
|
3582
|
+
"module": "src/app-bar/top-app-bar.ts"
|
|
3425
3583
|
}
|
|
3426
3584
|
},
|
|
3427
3585
|
{
|
|
3428
3586
|
"kind": "custom-element-definition",
|
|
3429
|
-
"name": "u-
|
|
3587
|
+
"name": "u-top-app-bar",
|
|
3430
3588
|
"declaration": {
|
|
3431
|
-
"name": "
|
|
3432
|
-
"module": "src/
|
|
3589
|
+
"name": "UmTopAppBar",
|
|
3590
|
+
"module": "src/app-bar/top-app-bar.ts"
|
|
3433
3591
|
}
|
|
3434
3592
|
}
|
|
3435
3593
|
]
|
|
3436
3594
|
},
|
|
3437
3595
|
{
|
|
3438
3596
|
"kind": "javascript-module",
|
|
3439
|
-
"path": "src/
|
|
3597
|
+
"path": "src/chip/chip-set.styles.ts",
|
|
3440
3598
|
"declarations": [
|
|
3441
3599
|
{
|
|
3442
3600
|
"kind": "variable",
|
|
3443
3601
|
"name": "styles",
|
|
3444
|
-
"default": "css `\n :host {\n display:
|
|
3602
|
+
"default": "css `\n :host {\n display: flex;\n gap: 8px;\n align-items: center;\n flex-wrap: nowrap;\n }\n\n :host([alignment=start]) {\n justify-content: flex-start;\n }\n\n :host([alignment=center]) {\n justify-content: center;\n }\n\n :host([alignment=end]) {\n justify-content: flex-end;\n }\n\n :host {\n flex-wrap: wrap;\n }\n`"
|
|
3445
3603
|
}
|
|
3446
3604
|
],
|
|
3447
3605
|
"exports": [
|
|
@@ -3450,76 +3608,86 @@
|
|
|
3450
3608
|
"name": "styles",
|
|
3451
3609
|
"declaration": {
|
|
3452
3610
|
"name": "styles",
|
|
3453
|
-
"module": "src/
|
|
3611
|
+
"module": "src/chip/chip-set.styles.ts"
|
|
3454
3612
|
}
|
|
3455
3613
|
}
|
|
3456
3614
|
]
|
|
3457
3615
|
},
|
|
3458
3616
|
{
|
|
3459
3617
|
"kind": "javascript-module",
|
|
3460
|
-
"path": "src/
|
|
3618
|
+
"path": "src/chip/chip-set.ts",
|
|
3461
3619
|
"declarations": [
|
|
3462
3620
|
{
|
|
3463
3621
|
"kind": "class",
|
|
3464
3622
|
"description": "",
|
|
3465
|
-
"name": "
|
|
3623
|
+
"name": "UmChipSet",
|
|
3466
3624
|
"members": [
|
|
3467
3625
|
{
|
|
3468
3626
|
"kind": "field",
|
|
3469
|
-
"name": "
|
|
3627
|
+
"name": "alignment",
|
|
3470
3628
|
"type": {
|
|
3471
|
-
"text": "
|
|
3629
|
+
"text": "'start' | 'center' | 'end'"
|
|
3472
3630
|
},
|
|
3473
|
-
"default": "
|
|
3474
|
-
"
|
|
3475
|
-
"
|
|
3631
|
+
"default": "'start'",
|
|
3632
|
+
"description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
|
|
3633
|
+
"attribute": "alignment",
|
|
3634
|
+
"reflects": true,
|
|
3635
|
+
"inheritedFrom": {
|
|
3636
|
+
"name": "UmSetBase",
|
|
3637
|
+
"module": "src/shared/sets/set-base.ts"
|
|
3638
|
+
}
|
|
3476
3639
|
}
|
|
3477
3640
|
],
|
|
3641
|
+
"superclass": {
|
|
3642
|
+
"name": "UmSetBase",
|
|
3643
|
+
"module": "/src/shared/sets/set-base.js"
|
|
3644
|
+
},
|
|
3645
|
+
"tagName": "u-chip-set",
|
|
3646
|
+
"customElement": true,
|
|
3478
3647
|
"attributes": [
|
|
3479
3648
|
{
|
|
3480
|
-
"name": "
|
|
3649
|
+
"name": "alignment",
|
|
3481
3650
|
"type": {
|
|
3482
|
-
"text": "
|
|
3651
|
+
"text": "'start' | 'center' | 'end'"
|
|
3483
3652
|
},
|
|
3484
|
-
"default": "
|
|
3485
|
-
"
|
|
3653
|
+
"default": "'start'",
|
|
3654
|
+
"description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
|
|
3655
|
+
"fieldName": "alignment",
|
|
3656
|
+
"inheritedFrom": {
|
|
3657
|
+
"name": "UmSetBase",
|
|
3658
|
+
"module": "src/shared/sets/set-base.ts"
|
|
3659
|
+
}
|
|
3486
3660
|
}
|
|
3487
|
-
]
|
|
3488
|
-
"superclass": {
|
|
3489
|
-
"name": "LitElement",
|
|
3490
|
-
"package": "lit"
|
|
3491
|
-
},
|
|
3492
|
-
"tagName": "u-card-media",
|
|
3493
|
-
"customElement": true
|
|
3661
|
+
]
|
|
3494
3662
|
}
|
|
3495
3663
|
],
|
|
3496
3664
|
"exports": [
|
|
3497
3665
|
{
|
|
3498
3666
|
"kind": "js",
|
|
3499
|
-
"name": "
|
|
3667
|
+
"name": "UmChipSet",
|
|
3500
3668
|
"declaration": {
|
|
3501
|
-
"name": "
|
|
3502
|
-
"module": "src/
|
|
3669
|
+
"name": "UmChipSet",
|
|
3670
|
+
"module": "src/chip/chip-set.ts"
|
|
3503
3671
|
}
|
|
3504
3672
|
},
|
|
3505
3673
|
{
|
|
3506
3674
|
"kind": "custom-element-definition",
|
|
3507
|
-
"name": "u-
|
|
3675
|
+
"name": "u-chip-set",
|
|
3508
3676
|
"declaration": {
|
|
3509
|
-
"name": "
|
|
3510
|
-
"module": "src/
|
|
3677
|
+
"name": "UmChipSet",
|
|
3678
|
+
"module": "src/chip/chip-set.ts"
|
|
3511
3679
|
}
|
|
3512
3680
|
}
|
|
3513
3681
|
]
|
|
3514
3682
|
},
|
|
3515
3683
|
{
|
|
3516
3684
|
"kind": "javascript-module",
|
|
3517
|
-
"path": "src/
|
|
3685
|
+
"path": "src/chip/chip.styles.ts",
|
|
3518
3686
|
"declarations": [
|
|
3519
3687
|
{
|
|
3520
3688
|
"kind": "variable",
|
|
3521
3689
|
"name": "styles",
|
|
3522
|
-
"default": "css `\n :host {\n
|
|
3690
|
+
"default": "css `\n :host,\n * {\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n box-sizing: border-box;\n outline: 0;\n }\n\n .focus-ring:focus-visible {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: 2px;\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_color-primary);\n }\n 50% {\n outline: 6px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n :host {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n -webkit-tap-highlight-color: transparent;\n --u-elevation-level: 0;\n position: relative;\n display: inline-block;\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n appearance: none !important;\n }\n\n :host([disabled]) {\n --u-elevation-level: 0 !important;\n background-color: var(--u-button-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-background-opacity, 0.12))) !important;\n color: var(--u-button-disabled-text-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-color, 0.38))) !important;\n }\n\n :host([disabled]) .button {\n cursor: default;\n }\n\n * {\n color: inherit;\n }\n\n u-elevation {\n z-index: -1;\n }\n\n .button {\n cursor: pointer;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100%;\n height: 100%;\n font-family: inherit;\n border-radius: inherit;\n color: inherit;\n border: none;\n margin: 0;\n padding: 0;\n text-align: center;\n white-space: nowrap;\n background: transparent;\n user-select: none;\n text-decoration: none;\n outline: 0;\n z-index: 0;\n }\n\n .content {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n border-radius: inherit;\n width: 100%;\n height: 100%;\n }\n\n :host {\n --_height: var(--u-chip-height, 32px);\n --_outline-width: var(--u-chip-outline-width, 1px);\n --_outline-color: var(--u-chip-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n --_shape: var(--u-chip-shape, var(--u-shape-corner-small, 8px));\n --_gap: var(--u-chip-gap, 8px);\n --_icon-size: var(--u-chip-icon-size, 1.125rem);\n --_remove-button-margin: var(--u-chip-remove-button-margin, 2px);\n --_remove-button-size: calc(var(--_height) - var(--_remove-button-margin) * 2);\n --_selected-icon-color: var(--u-chip-selected-icon-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n display: inline-block;\n height: var(--_height);\n border-radius: var(--_shape);\n }\n\n :host(:not([disabled]):not([elevated]):not([selected])) .outline {\n border: var(--_outline-width) solid var(--_outline-color);\n }\n\n :host([elevated]:not([disabled])) {\n --u-elevation-level: var(--u-elevated-chip-elevation-level, 1);\n }\n\n @media (hover: hover) {\n :host([elevated]:not([disabled]):hover) {\n --u-elevation-level: var(--u-elevated-chip-hover-elevation-level, 2);\n }\n }\n .outline {\n position: absolute;\n inset: 0;\n border-radius: inherit;\n pointer-events: none;\n }\n\n .container {\n display: flex;\n align-items: center;\n border-radius: inherit;\n height: 100%;\n padding-inline: var(--u-chip-padding, 16px);\n gap: var(--_gap);\n }\n\n .icon {\n width: var(--_icon-size);\n height: var(--_icon-size);\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: var(--_icon-size);\n }\n\n .leading {\n color: var(--u-chip-leading-icon-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n .selected {\n color: var(--_selected-icon-color);\n }\n\n .trailing {\n color: var(--u-chip-trailing-icon-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n .label {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-chip-label-line-height, var(--u-label-l-line-height, 1.25rem));\n font-size: var(--u-chip-label-font-size, var(--u-label-l-font-size, 0.875rem));\n letter-spacing: var(--u-chip-label-letter-spacing, var(--u-label-l-letter-spacing, 0.0071428571rem));\n font-weight: var(--u-chip-label-font-weight, var(--u-label-l-font-weight, var(--u-font-weight-medium, 500)));\n }\n\n .remove-button {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: var(--_remove-button-size);\n height: var(--_remove-button-size);\n cursor: pointer;\n padding: 0;\n margin: 0;\n margin-inline: calc((var(--_remove-button-size) - var(--_icon-size)) * -0.5);\n background: gray;\n border: none;\n border-radius: var(--u-chip-remove-button-border-radius, var(--u-shape-corner-full, 9999px));\n background: none;\n appearance: none;\n outline: 0;\n outline-offset: 0;\n z-index: 1;\n }\n\n ::slotted([slot=remove-icon]),\n ::slotted([slot=selected-icon]),\n ::slotted([slot=leading-icon]),\n ::slotted([slot=trailing-icon]) {\n font-size: inherit !important;\n }\n\n slot[name=selected-icon] {\n display: none;\n }\n\n :host(:not([clickable]):not([toggle])) .button {\n cursor: auto;\n }\n\n :host([selected]:not([hide-selected-icon])) .leading {\n display: none;\n }\n :host([selected]:not([hide-selected-icon])) slot[name=selected-icon] {\n display: contents;\n }\n\n .default-select-icon {\n display: contents;\n }\n\n :host([has-selected-icon]) .default-select-icon {\n display: none;\n }\n\n :host([selected]:not([disabled])) {\n background-color: var(--u-chip-selected-background-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n }\n :host([selected]:not([disabled])) .leading {\n color: var(--u-chip-selected-leading-icon-color, var(--_selected-icon-color));\n }\n :host([selected]:not([disabled])) .trailing {\n color: var(--u-chip-selected-trailing-icon-color, var(--_selected-icon-color));\n }\n\n :host([has-leading-icon]) .container,\n :host([selected]:not([hide-selected-icon])) .container {\n padding-inline-start: var(--_gap);\n }\n\n :host([has-trailing-icon]) .container,\n :host([removable]) .container {\n padding-inline-end: var(--_gap);\n }\n\n :host(:not([has-leading-icon])) .leading {\n display: none;\n }\n\n :host([hide-selected-icon]) .selected,\n :host(:not([selected])) .selected {\n display: none;\n }\n\n :host(:not([has-trailing-icon])) .trailing {\n display: none;\n }\n\n [part=default-selected-icon] {\n display: contents;\n }\n`"
|
|
3523
3691
|
}
|
|
3524
3692
|
],
|
|
3525
3693
|
"exports": [
|
|
@@ -3528,404 +3696,419 @@
|
|
|
3528
3696
|
"name": "styles",
|
|
3529
3697
|
"declaration": {
|
|
3530
3698
|
"name": "styles",
|
|
3531
|
-
"module": "src/
|
|
3699
|
+
"module": "src/chip/chip.styles.ts"
|
|
3532
3700
|
}
|
|
3533
3701
|
}
|
|
3534
3702
|
]
|
|
3535
3703
|
},
|
|
3536
3704
|
{
|
|
3537
3705
|
"kind": "javascript-module",
|
|
3538
|
-
"path": "src/
|
|
3706
|
+
"path": "src/chip/chip.ts",
|
|
3539
3707
|
"declarations": [
|
|
3540
3708
|
{
|
|
3541
3709
|
"kind": "class",
|
|
3542
3710
|
"description": "",
|
|
3543
|
-
"name": "
|
|
3711
|
+
"name": "UmChip",
|
|
3544
3712
|
"members": [
|
|
3545
3713
|
{
|
|
3546
3714
|
"kind": "field",
|
|
3547
|
-
"name": "
|
|
3715
|
+
"name": "#clickable",
|
|
3716
|
+
"privacy": "private",
|
|
3548
3717
|
"type": {
|
|
3549
|
-
"text": "
|
|
3718
|
+
"text": "boolean"
|
|
3550
3719
|
},
|
|
3551
|
-
"default": "
|
|
3552
|
-
|
|
3553
|
-
"attribute": "variant",
|
|
3554
|
-
"reflects": true
|
|
3555
|
-
}
|
|
3556
|
-
],
|
|
3557
|
-
"attributes": [
|
|
3720
|
+
"default": "false"
|
|
3721
|
+
},
|
|
3558
3722
|
{
|
|
3559
|
-
"
|
|
3723
|
+
"kind": "field",
|
|
3724
|
+
"name": "#toggle",
|
|
3725
|
+
"privacy": "private",
|
|
3560
3726
|
"type": {
|
|
3561
|
-
"text": "
|
|
3727
|
+
"text": "boolean"
|
|
3562
3728
|
},
|
|
3563
|
-
"default": "
|
|
3564
|
-
|
|
3565
|
-
"fieldName": "variant"
|
|
3566
|
-
}
|
|
3567
|
-
],
|
|
3568
|
-
"superclass": {
|
|
3569
|
-
"name": "LitElement",
|
|
3570
|
-
"package": "lit"
|
|
3571
|
-
},
|
|
3572
|
-
"tagName": "u-card",
|
|
3573
|
-
"customElement": true
|
|
3574
|
-
}
|
|
3575
|
-
],
|
|
3576
|
-
"exports": [
|
|
3577
|
-
{
|
|
3578
|
-
"kind": "js",
|
|
3579
|
-
"name": "UmCard",
|
|
3580
|
-
"declaration": {
|
|
3581
|
-
"name": "UmCard",
|
|
3582
|
-
"module": "src/card/card.ts"
|
|
3583
|
-
}
|
|
3584
|
-
},
|
|
3585
|
-
{
|
|
3586
|
-
"kind": "custom-element-definition",
|
|
3587
|
-
"name": "u-card",
|
|
3588
|
-
"declaration": {
|
|
3589
|
-
"name": "UmCard",
|
|
3590
|
-
"module": "src/card/card.ts"
|
|
3591
|
-
}
|
|
3592
|
-
}
|
|
3593
|
-
]
|
|
3594
|
-
},
|
|
3595
|
-
{
|
|
3596
|
-
"kind": "javascript-module",
|
|
3597
|
-
"path": "src/chip-field/chip-field.styles.ts",
|
|
3598
|
-
"declarations": [
|
|
3599
|
-
{
|
|
3600
|
-
"kind": "variable",
|
|
3601
|
-
"name": "styles",
|
|
3602
|
-
"default": "css `\n input {\n appearance: none;\n padding: none;\n }\n\n u-chip {\n flex-basis: 0;\n }\n\n ::part(wrapper) {\n gap: 8px;\n flex-wrap: wrap;\n }\n\n input {\n flex-basis: 200px;\n }\n`"
|
|
3603
|
-
}
|
|
3604
|
-
],
|
|
3605
|
-
"exports": [
|
|
3606
|
-
{
|
|
3607
|
-
"kind": "js",
|
|
3608
|
-
"name": "styles",
|
|
3609
|
-
"declaration": {
|
|
3610
|
-
"name": "styles",
|
|
3611
|
-
"module": "src/chip-field/chip-field.styles.ts"
|
|
3612
|
-
}
|
|
3613
|
-
}
|
|
3614
|
-
]
|
|
3615
|
-
},
|
|
3616
|
-
{
|
|
3617
|
-
"kind": "javascript-module",
|
|
3618
|
-
"path": "src/chip-field/chip-field.ts",
|
|
3619
|
-
"declarations": [
|
|
3620
|
-
{
|
|
3621
|
-
"kind": "class",
|
|
3622
|
-
"description": "",
|
|
3623
|
-
"name": "UmChipField",
|
|
3624
|
-
"members": [
|
|
3729
|
+
"default": "false"
|
|
3730
|
+
},
|
|
3625
3731
|
{
|
|
3626
3732
|
"kind": "field",
|
|
3627
|
-
"name": "
|
|
3733
|
+
"name": "selected",
|
|
3628
3734
|
"type": {
|
|
3629
|
-
"text": "
|
|
3630
|
-
}
|
|
3735
|
+
"text": "boolean"
|
|
3736
|
+
},
|
|
3737
|
+
"default": "false",
|
|
3738
|
+
"description": "Whether the chip is selected or not",
|
|
3739
|
+
"attribute": "selected",
|
|
3740
|
+
"reflects": true
|
|
3631
3741
|
},
|
|
3632
3742
|
{
|
|
3633
3743
|
"kind": "field",
|
|
3634
|
-
"name": "
|
|
3744
|
+
"name": "clickable",
|
|
3635
3745
|
"type": {
|
|
3636
|
-
"text": "
|
|
3746
|
+
"text": "boolean"
|
|
3637
3747
|
},
|
|
3638
|
-
"attribute": "
|
|
3748
|
+
"attribute": "clickable",
|
|
3749
|
+
"reflects": true
|
|
3639
3750
|
},
|
|
3640
3751
|
{
|
|
3641
3752
|
"kind": "field",
|
|
3642
|
-
"name": "
|
|
3753
|
+
"name": "elevated",
|
|
3643
3754
|
"type": {
|
|
3644
3755
|
"text": "boolean"
|
|
3645
3756
|
},
|
|
3646
3757
|
"default": "false",
|
|
3647
|
-
"
|
|
3758
|
+
"description": "Adds elevation to the chip",
|
|
3759
|
+
"attribute": "elevated",
|
|
3760
|
+
"reflects": true
|
|
3648
3761
|
},
|
|
3649
3762
|
{
|
|
3650
3763
|
"kind": "field",
|
|
3651
|
-
"name": "
|
|
3764
|
+
"name": "toggle",
|
|
3652
3765
|
"type": {
|
|
3653
|
-
"text": "
|
|
3654
|
-
}
|
|
3766
|
+
"text": "boolean"
|
|
3767
|
+
},
|
|
3768
|
+
"description": "When true, the chip will toggle between selected and unselected\nstates",
|
|
3769
|
+
"attribute": "toggle",
|
|
3770
|
+
"reflects": true
|
|
3655
3771
|
},
|
|
3656
3772
|
{
|
|
3657
3773
|
"kind": "field",
|
|
3658
|
-
"name": "
|
|
3774
|
+
"name": "removable",
|
|
3659
3775
|
"type": {
|
|
3660
|
-
"text": "
|
|
3661
|
-
}
|
|
3776
|
+
"text": "boolean"
|
|
3777
|
+
},
|
|
3778
|
+
"default": "false",
|
|
3779
|
+
"description": "Add the remove icon",
|
|
3780
|
+
"attribute": "removable",
|
|
3781
|
+
"reflects": true
|
|
3662
3782
|
},
|
|
3663
3783
|
{
|
|
3664
3784
|
"kind": "field",
|
|
3665
|
-
"name": "
|
|
3666
|
-
"privacy": "private",
|
|
3785
|
+
"name": "hideSelectedIcon",
|
|
3667
3786
|
"type": {
|
|
3668
|
-
"text": "
|
|
3787
|
+
"text": "boolean"
|
|
3669
3788
|
},
|
|
3670
|
-
"default": "
|
|
3789
|
+
"default": "false",
|
|
3790
|
+
"description": "Hide the selected icon",
|
|
3791
|
+
"attribute": "hide-selected-icon",
|
|
3792
|
+
"reflects": true
|
|
3671
3793
|
},
|
|
3672
3794
|
{
|
|
3673
3795
|
"kind": "field",
|
|
3674
|
-
"name": "
|
|
3796
|
+
"name": "hasLeadingIcon",
|
|
3675
3797
|
"type": {
|
|
3676
|
-
"text": "
|
|
3677
|
-
}
|
|
3798
|
+
"text": "boolean"
|
|
3799
|
+
},
|
|
3800
|
+
"default": "false",
|
|
3801
|
+
"description": "Whether the chip has a leading icon or not\n\n_Note:_ Readonly",
|
|
3802
|
+
"attribute": "has-leading-icon",
|
|
3803
|
+
"reflects": true
|
|
3678
3804
|
},
|
|
3679
3805
|
{
|
|
3680
|
-
"kind": "
|
|
3681
|
-
"name": "
|
|
3682
|
-
"
|
|
3806
|
+
"kind": "field",
|
|
3807
|
+
"name": "hasSelectedIcon",
|
|
3808
|
+
"type": {
|
|
3809
|
+
"text": "boolean"
|
|
3810
|
+
},
|
|
3811
|
+
"default": "false",
|
|
3812
|
+
"description": "Whether the chip has a selected icon or not\n\n_Note:_ Readonly",
|
|
3813
|
+
"attribute": "has-selected-icon",
|
|
3814
|
+
"reflects": true
|
|
3683
3815
|
},
|
|
3684
3816
|
{
|
|
3685
|
-
"kind": "
|
|
3686
|
-
"name": "
|
|
3817
|
+
"kind": "field",
|
|
3818
|
+
"name": "hasTrailingIcon",
|
|
3819
|
+
"type": {
|
|
3820
|
+
"text": "boolean"
|
|
3821
|
+
},
|
|
3822
|
+
"default": "false",
|
|
3823
|
+
"description": "Whether the chip has a trailing icon or not\n\n_Note:_ Readonly",
|
|
3824
|
+
"attribute": "has-trailing-icon",
|
|
3825
|
+
"reflects": true
|
|
3687
3826
|
},
|
|
3688
3827
|
{
|
|
3689
3828
|
"kind": "field",
|
|
3690
|
-
"name": "
|
|
3829
|
+
"name": "assignedLeadingIcons",
|
|
3691
3830
|
"type": {
|
|
3692
|
-
"text": "
|
|
3831
|
+
"text": "HTMLElement[]"
|
|
3693
3832
|
},
|
|
3694
|
-
"
|
|
3695
|
-
"name": "UmTextFieldBase",
|
|
3696
|
-
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
3697
|
-
}
|
|
3833
|
+
"privacy": "private"
|
|
3698
3834
|
},
|
|
3699
3835
|
{
|
|
3700
|
-
"kind": "
|
|
3701
|
-
"name": "
|
|
3702
|
-
"
|
|
3703
|
-
|
|
3704
|
-
"type": {
|
|
3705
|
-
"text": "HTMLTemplateResult"
|
|
3706
|
-
}
|
|
3836
|
+
"kind": "field",
|
|
3837
|
+
"name": "assignedSelectedIcons",
|
|
3838
|
+
"type": {
|
|
3839
|
+
"text": "HTMLElement[]"
|
|
3707
3840
|
},
|
|
3708
|
-
"
|
|
3709
|
-
"name": "UmTextFieldBase",
|
|
3710
|
-
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
3711
|
-
}
|
|
3841
|
+
"privacy": "private"
|
|
3712
3842
|
},
|
|
3713
3843
|
{
|
|
3714
|
-
"kind": "
|
|
3715
|
-
"name": "
|
|
3844
|
+
"kind": "field",
|
|
3845
|
+
"name": "assignedTrailingIcons",
|
|
3846
|
+
"type": {
|
|
3847
|
+
"text": "HTMLElement[]"
|
|
3848
|
+
},
|
|
3849
|
+
"privacy": "private"
|
|
3716
3850
|
},
|
|
3717
3851
|
{
|
|
3718
|
-
"kind": "
|
|
3719
|
-
"name": "
|
|
3852
|
+
"kind": "field",
|
|
3853
|
+
"name": "removeRipple",
|
|
3854
|
+
"type": {
|
|
3855
|
+
"text": "UmRipple"
|
|
3856
|
+
}
|
|
3720
3857
|
},
|
|
3721
3858
|
{
|
|
3722
3859
|
"kind": "method",
|
|
3723
|
-
"name": "#
|
|
3860
|
+
"name": "#handleRemoveClick",
|
|
3724
3861
|
"parameters": [
|
|
3725
3862
|
{
|
|
3726
3863
|
"name": "e",
|
|
3727
3864
|
"type": {
|
|
3728
|
-
"text": "
|
|
3865
|
+
"text": "Event"
|
|
3729
3866
|
}
|
|
3730
3867
|
}
|
|
3731
3868
|
]
|
|
3732
3869
|
},
|
|
3733
3870
|
{
|
|
3734
3871
|
"kind": "method",
|
|
3735
|
-
"name": "
|
|
3736
|
-
"parameters": [
|
|
3737
|
-
{
|
|
3738
|
-
"name": "value",
|
|
3739
|
-
"type": {
|
|
3740
|
-
"text": "any"
|
|
3741
|
-
}
|
|
3742
|
-
}
|
|
3743
|
-
]
|
|
3872
|
+
"name": "#handleTrailingIconSlotChange"
|
|
3744
3873
|
},
|
|
3745
3874
|
{
|
|
3746
|
-
"kind": "
|
|
3747
|
-
"name": "#
|
|
3748
|
-
"privacy": "private"
|
|
3875
|
+
"kind": "method",
|
|
3876
|
+
"name": "#handleLeadingIconSlotChange"
|
|
3749
3877
|
},
|
|
3750
3878
|
{
|
|
3751
3879
|
"kind": "method",
|
|
3752
|
-
"name": "#
|
|
3880
|
+
"name": "#handleSelectedIconSlotChange"
|
|
3753
3881
|
},
|
|
3754
3882
|
{
|
|
3755
3883
|
"kind": "method",
|
|
3756
|
-
"name": "
|
|
3884
|
+
"name": "handleClick",
|
|
3885
|
+
"privacy": "protected",
|
|
3757
3886
|
"return": {
|
|
3758
3887
|
"type": {
|
|
3759
|
-
"text": "
|
|
3888
|
+
"text": "void"
|
|
3760
3889
|
}
|
|
3761
3890
|
},
|
|
3762
3891
|
"parameters": [
|
|
3763
3892
|
{
|
|
3764
|
-
"name": "
|
|
3893
|
+
"name": "event",
|
|
3765
3894
|
"type": {
|
|
3766
|
-
"text": "
|
|
3895
|
+
"text": "UIEvent"
|
|
3767
3896
|
}
|
|
3768
3897
|
}
|
|
3769
|
-
]
|
|
3898
|
+
],
|
|
3899
|
+
"inheritedFrom": {
|
|
3900
|
+
"name": "UmButtonWrapper",
|
|
3901
|
+
"module": "src/shared/button-wrapper.ts"
|
|
3902
|
+
}
|
|
3770
3903
|
},
|
|
3771
3904
|
{
|
|
3772
3905
|
"kind": "method",
|
|
3773
|
-
"name": "
|
|
3774
|
-
"privacy": "
|
|
3775
|
-
"
|
|
3776
|
-
{
|
|
3777
|
-
"
|
|
3778
|
-
"type": {
|
|
3779
|
-
"text": "any"
|
|
3780
|
-
}
|
|
3906
|
+
"name": "renderContent",
|
|
3907
|
+
"privacy": "protected",
|
|
3908
|
+
"return": {
|
|
3909
|
+
"type": {
|
|
3910
|
+
"text": "HTMLTemplateResult"
|
|
3781
3911
|
}
|
|
3782
|
-
|
|
3912
|
+
},
|
|
3913
|
+
"inheritedFrom": {
|
|
3914
|
+
"name": "UmButtonWrapper",
|
|
3915
|
+
"module": "src/shared/button-wrapper.ts"
|
|
3916
|
+
}
|
|
3783
3917
|
},
|
|
3784
3918
|
{
|
|
3785
3919
|
"kind": "field",
|
|
3786
|
-
"name": "
|
|
3920
|
+
"name": "disabled",
|
|
3787
3921
|
"type": {
|
|
3788
3922
|
"text": "boolean"
|
|
3789
3923
|
},
|
|
3790
|
-
"
|
|
3791
|
-
"
|
|
3924
|
+
"default": "false",
|
|
3925
|
+
"description": "Whether the button is disabled or not.",
|
|
3926
|
+
"attribute": "disabled",
|
|
3927
|
+
"reflects": true,
|
|
3792
3928
|
"inheritedFrom": {
|
|
3793
|
-
"name": "
|
|
3794
|
-
"module": "src/shared/
|
|
3929
|
+
"name": "UmButtonWrapper",
|
|
3930
|
+
"module": "src/shared/button-wrapper.ts"
|
|
3795
3931
|
}
|
|
3796
3932
|
},
|
|
3797
3933
|
{
|
|
3798
3934
|
"kind": "field",
|
|
3799
|
-
"name": "
|
|
3935
|
+
"name": "renderRipple",
|
|
3800
3936
|
"type": {
|
|
3801
|
-
"text": "
|
|
3937
|
+
"text": "boolean"
|
|
3802
3938
|
},
|
|
3803
|
-
"
|
|
3804
|
-
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }",
|
|
3939
|
+
"default": "true",
|
|
3805
3940
|
"inheritedFrom": {
|
|
3806
|
-
"name": "
|
|
3807
|
-
"module": "src/shared/
|
|
3941
|
+
"name": "UmButtonWrapper",
|
|
3942
|
+
"module": "src/shared/button-wrapper.ts"
|
|
3808
3943
|
}
|
|
3809
3944
|
},
|
|
3810
3945
|
{
|
|
3811
3946
|
"kind": "field",
|
|
3812
|
-
"name": "
|
|
3813
|
-
"
|
|
3947
|
+
"name": "href",
|
|
3948
|
+
"type": {
|
|
3949
|
+
"text": "string | undefined"
|
|
3950
|
+
},
|
|
3951
|
+
"description": "The URL that the link button points to.",
|
|
3952
|
+
"attribute": "href",
|
|
3814
3953
|
"inheritedFrom": {
|
|
3815
|
-
"name": "
|
|
3816
|
-
"module": "src/shared/
|
|
3954
|
+
"name": "UmButtonWrapper",
|
|
3955
|
+
"module": "src/shared/button-wrapper.ts"
|
|
3817
3956
|
}
|
|
3818
3957
|
},
|
|
3819
3958
|
{
|
|
3820
3959
|
"kind": "field",
|
|
3821
|
-
"name": "
|
|
3960
|
+
"name": "target",
|
|
3822
3961
|
"type": {
|
|
3823
3962
|
"text": "string | undefined"
|
|
3824
3963
|
},
|
|
3825
|
-
"
|
|
3964
|
+
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
3965
|
+
"attribute": "target",
|
|
3826
3966
|
"inheritedFrom": {
|
|
3827
|
-
"name": "
|
|
3828
|
-
"module": "src/shared/
|
|
3967
|
+
"name": "UmButtonWrapper",
|
|
3968
|
+
"module": "src/shared/button-wrapper.ts"
|
|
3829
3969
|
}
|
|
3830
3970
|
},
|
|
3831
3971
|
{
|
|
3832
3972
|
"kind": "field",
|
|
3833
|
-
"name": "
|
|
3973
|
+
"name": "name",
|
|
3834
3974
|
"type": {
|
|
3835
3975
|
"text": "string | undefined"
|
|
3836
3976
|
},
|
|
3837
|
-
"attribute": "
|
|
3977
|
+
"attribute": "name",
|
|
3838
3978
|
"inheritedFrom": {
|
|
3839
|
-
"name": "
|
|
3840
|
-
"module": "src/shared/
|
|
3979
|
+
"name": "UmButtonWrapper",
|
|
3980
|
+
"module": "src/shared/button-wrapper.ts"
|
|
3841
3981
|
}
|
|
3842
3982
|
},
|
|
3843
3983
|
{
|
|
3844
3984
|
"kind": "field",
|
|
3845
|
-
"name": "
|
|
3985
|
+
"name": "buttonElement",
|
|
3846
3986
|
"type": {
|
|
3847
|
-
"text": "
|
|
3987
|
+
"text": "HTMLElement"
|
|
3848
3988
|
},
|
|
3849
|
-
"
|
|
3850
|
-
"reflects": true,
|
|
3989
|
+
"privacy": "protected",
|
|
3851
3990
|
"inheritedFrom": {
|
|
3852
|
-
"name": "
|
|
3853
|
-
"module": "src/shared/
|
|
3991
|
+
"name": "UmButtonWrapper",
|
|
3992
|
+
"module": "src/shared/button-wrapper.ts"
|
|
3854
3993
|
}
|
|
3855
3994
|
},
|
|
3856
3995
|
{
|
|
3857
3996
|
"kind": "field",
|
|
3858
|
-
"name": "
|
|
3997
|
+
"name": "ripple",
|
|
3859
3998
|
"type": {
|
|
3860
|
-
"text": "
|
|
3999
|
+
"text": "UmRipple"
|
|
3861
4000
|
},
|
|
3862
|
-
"
|
|
4001
|
+
"privacy": "private",
|
|
3863
4002
|
"inheritedFrom": {
|
|
3864
|
-
"name": "
|
|
3865
|
-
"module": "src/shared/
|
|
4003
|
+
"name": "UmButtonWrapper",
|
|
4004
|
+
"module": "src/shared/button-wrapper.ts"
|
|
3866
4005
|
}
|
|
3867
4006
|
},
|
|
3868
4007
|
{
|
|
3869
4008
|
"kind": "field",
|
|
3870
|
-
"name": "
|
|
4009
|
+
"name": "innerRole",
|
|
3871
4010
|
"type": {
|
|
3872
|
-
"text": "string |
|
|
4011
|
+
"text": "string | null"
|
|
3873
4012
|
},
|
|
3874
|
-
"
|
|
4013
|
+
"privacy": "protected",
|
|
4014
|
+
"default": "null",
|
|
3875
4015
|
"inheritedFrom": {
|
|
3876
|
-
"name": "
|
|
3877
|
-
"module": "src/shared/
|
|
4016
|
+
"name": "UmButtonWrapper",
|
|
4017
|
+
"module": "src/shared/button-wrapper.ts"
|
|
3878
4018
|
}
|
|
3879
4019
|
},
|
|
3880
4020
|
{
|
|
3881
4021
|
"kind": "field",
|
|
3882
|
-
"name": "
|
|
4022
|
+
"name": "pathname",
|
|
3883
4023
|
"type": {
|
|
3884
|
-
"text": "
|
|
4024
|
+
"text": "string"
|
|
3885
4025
|
},
|
|
3886
|
-
"default": "false",
|
|
3887
|
-
"attribute": "disabled",
|
|
3888
|
-
"reflects": true,
|
|
3889
4026
|
"inheritedFrom": {
|
|
3890
|
-
"name": "
|
|
3891
|
-
"module": "src/shared/
|
|
4027
|
+
"name": "UmButtonWrapper",
|
|
4028
|
+
"module": "src/shared/button-wrapper.ts"
|
|
3892
4029
|
}
|
|
3893
4030
|
},
|
|
3894
4031
|
{
|
|
3895
|
-
"kind": "
|
|
3896
|
-
"name": "
|
|
3897
|
-
"
|
|
3898
|
-
|
|
4032
|
+
"kind": "method",
|
|
4033
|
+
"name": "renderButton",
|
|
4034
|
+
"privacy": "private",
|
|
4035
|
+
"inheritedFrom": {
|
|
4036
|
+
"name": "UmButtonWrapper",
|
|
4037
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4038
|
+
}
|
|
4039
|
+
},
|
|
4040
|
+
{
|
|
4041
|
+
"kind": "method",
|
|
4042
|
+
"name": "renderLink",
|
|
4043
|
+
"privacy": "private",
|
|
4044
|
+
"inheritedFrom": {
|
|
4045
|
+
"name": "UmButtonWrapper",
|
|
4046
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4047
|
+
}
|
|
4048
|
+
},
|
|
4049
|
+
{
|
|
4050
|
+
"kind": "method",
|
|
4051
|
+
"name": "focus",
|
|
4052
|
+
"inheritedFrom": {
|
|
4053
|
+
"name": "UmButtonWrapper",
|
|
4054
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4055
|
+
}
|
|
4056
|
+
},
|
|
4057
|
+
{
|
|
4058
|
+
"kind": "method",
|
|
4059
|
+
"name": "blur",
|
|
4060
|
+
"inheritedFrom": {
|
|
4061
|
+
"name": "UmButtonWrapper",
|
|
4062
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4063
|
+
}
|
|
4064
|
+
},
|
|
4065
|
+
{
|
|
4066
|
+
"kind": "method",
|
|
4067
|
+
"name": "getAriaLabel",
|
|
4068
|
+
"privacy": "protected",
|
|
4069
|
+
"return": {
|
|
4070
|
+
"type": {
|
|
4071
|
+
"text": "string | null"
|
|
4072
|
+
}
|
|
3899
4073
|
},
|
|
3900
|
-
"default": "false",
|
|
3901
|
-
"attribute": "invalid",
|
|
3902
|
-
"reflects": true,
|
|
3903
4074
|
"inheritedFrom": {
|
|
3904
|
-
"name": "
|
|
3905
|
-
"module": "src/shared/
|
|
4075
|
+
"name": "UmButtonWrapper",
|
|
4076
|
+
"module": "src/shared/button-wrapper.ts"
|
|
3906
4077
|
}
|
|
3907
4078
|
},
|
|
3908
4079
|
{
|
|
3909
|
-
"kind": "
|
|
3910
|
-
"name": "
|
|
3911
|
-
"
|
|
3912
|
-
|
|
4080
|
+
"kind": "method",
|
|
4081
|
+
"name": "innerFocusHandler",
|
|
4082
|
+
"privacy": "private",
|
|
4083
|
+
"return": {
|
|
4084
|
+
"type": {
|
|
4085
|
+
"text": "void"
|
|
4086
|
+
}
|
|
3913
4087
|
},
|
|
3914
4088
|
"inheritedFrom": {
|
|
3915
|
-
"name": "
|
|
3916
|
-
"module": "src/shared/
|
|
4089
|
+
"name": "UmButtonWrapper",
|
|
4090
|
+
"module": "src/shared/button-wrapper.ts"
|
|
3917
4091
|
}
|
|
3918
4092
|
},
|
|
3919
4093
|
{
|
|
3920
|
-
"kind": "
|
|
3921
|
-
"name": "
|
|
3922
|
-
"
|
|
3923
|
-
"
|
|
4094
|
+
"kind": "method",
|
|
4095
|
+
"name": "#innerClickHandler",
|
|
4096
|
+
"return": {
|
|
4097
|
+
"type": {
|
|
4098
|
+
"text": "void"
|
|
4099
|
+
}
|
|
3924
4100
|
},
|
|
3925
|
-
"
|
|
4101
|
+
"parameters": [
|
|
4102
|
+
{
|
|
4103
|
+
"name": "event",
|
|
4104
|
+
"type": {
|
|
4105
|
+
"text": "MouseEvent"
|
|
4106
|
+
}
|
|
4107
|
+
}
|
|
4108
|
+
],
|
|
3926
4109
|
"inheritedFrom": {
|
|
3927
|
-
"name": "
|
|
3928
|
-
"module": "src/shared/
|
|
4110
|
+
"name": "UmButtonWrapper",
|
|
4111
|
+
"module": "src/shared/button-wrapper.ts"
|
|
3929
4112
|
}
|
|
3930
4113
|
}
|
|
3931
4114
|
],
|
|
@@ -3939,82 +4122,82 @@
|
|
|
3939
4122
|
],
|
|
3940
4123
|
"attributes": [
|
|
3941
4124
|
{
|
|
3942
|
-
"name": "
|
|
4125
|
+
"name": "selected",
|
|
3943
4126
|
"type": {
|
|
3944
|
-
"text": "
|
|
4127
|
+
"text": "boolean"
|
|
3945
4128
|
},
|
|
3946
|
-
"
|
|
4129
|
+
"default": "false",
|
|
4130
|
+
"description": "Whether the chip is selected or not",
|
|
4131
|
+
"fieldName": "selected"
|
|
3947
4132
|
},
|
|
3948
4133
|
{
|
|
3949
|
-
"name": "
|
|
4134
|
+
"name": "clickable",
|
|
3950
4135
|
"type": {
|
|
3951
4136
|
"text": "boolean"
|
|
3952
4137
|
},
|
|
3953
|
-
"
|
|
3954
|
-
"fieldName": "manual"
|
|
4138
|
+
"fieldName": "clickable"
|
|
3955
4139
|
},
|
|
3956
4140
|
{
|
|
3957
|
-
"name": "
|
|
3958
|
-
"
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
4141
|
+
"name": "elevated",
|
|
4142
|
+
"type": {
|
|
4143
|
+
"text": "boolean"
|
|
4144
|
+
},
|
|
4145
|
+
"default": "false",
|
|
4146
|
+
"description": "Adds elevation to the chip",
|
|
4147
|
+
"fieldName": "elevated"
|
|
3963
4148
|
},
|
|
3964
4149
|
{
|
|
3965
|
-
"name": "
|
|
4150
|
+
"name": "toggle",
|
|
3966
4151
|
"type": {
|
|
3967
|
-
"text": "
|
|
4152
|
+
"text": "boolean"
|
|
3968
4153
|
},
|
|
3969
|
-
"
|
|
3970
|
-
"
|
|
3971
|
-
"name": "UmTextFieldBase",
|
|
3972
|
-
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
3973
|
-
}
|
|
4154
|
+
"description": "When true, the chip will toggle between selected and unselected\nstates",
|
|
4155
|
+
"fieldName": "toggle"
|
|
3974
4156
|
},
|
|
3975
4157
|
{
|
|
3976
|
-
"name": "
|
|
4158
|
+
"name": "removable",
|
|
3977
4159
|
"type": {
|
|
3978
|
-
"text": "
|
|
4160
|
+
"text": "boolean"
|
|
3979
4161
|
},
|
|
3980
|
-
"
|
|
3981
|
-
"
|
|
3982
|
-
|
|
3983
|
-
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
3984
|
-
}
|
|
4162
|
+
"default": "false",
|
|
4163
|
+
"description": "Add the remove icon",
|
|
4164
|
+
"fieldName": "removable"
|
|
3985
4165
|
},
|
|
3986
4166
|
{
|
|
3987
|
-
"name": "
|
|
4167
|
+
"name": "hide-selected-icon",
|
|
3988
4168
|
"type": {
|
|
3989
|
-
"text": "
|
|
4169
|
+
"text": "boolean"
|
|
3990
4170
|
},
|
|
3991
|
-
"
|
|
3992
|
-
"
|
|
3993
|
-
|
|
3994
|
-
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
3995
|
-
}
|
|
4171
|
+
"default": "false",
|
|
4172
|
+
"description": "Hide the selected icon",
|
|
4173
|
+
"fieldName": "hideSelectedIcon"
|
|
3996
4174
|
},
|
|
3997
4175
|
{
|
|
3998
|
-
"name": "
|
|
4176
|
+
"name": "has-leading-icon",
|
|
3999
4177
|
"type": {
|
|
4000
|
-
"text": "
|
|
4178
|
+
"text": "boolean"
|
|
4001
4179
|
},
|
|
4002
|
-
"
|
|
4003
|
-
"
|
|
4004
|
-
|
|
4005
|
-
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4006
|
-
}
|
|
4180
|
+
"default": "false",
|
|
4181
|
+
"description": "Whether the chip has a leading icon or not\n\n_Note:_ Readonly",
|
|
4182
|
+
"fieldName": "hasLeadingIcon"
|
|
4007
4183
|
},
|
|
4008
4184
|
{
|
|
4009
|
-
"name": "
|
|
4185
|
+
"name": "has-selected-icon",
|
|
4010
4186
|
"type": {
|
|
4011
|
-
"text": "
|
|
4187
|
+
"text": "boolean"
|
|
4012
4188
|
},
|
|
4013
|
-
"
|
|
4014
|
-
"
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4189
|
+
"default": "false",
|
|
4190
|
+
"description": "Whether the chip has a selected icon or not\n\n_Note:_ Readonly",
|
|
4191
|
+
"fieldName": "hasSelectedIcon"
|
|
4192
|
+
},
|
|
4193
|
+
{
|
|
4194
|
+
"name": "has-trailing-icon",
|
|
4195
|
+
"type": {
|
|
4196
|
+
"text": "boolean"
|
|
4197
|
+
},
|
|
4198
|
+
"default": "false",
|
|
4199
|
+
"description": "Whether the chip has a trailing icon or not\n\n_Note:_ Readonly",
|
|
4200
|
+
"fieldName": "hasTrailingIcon"
|
|
4018
4201
|
},
|
|
4019
4202
|
{
|
|
4020
4203
|
"name": "disabled",
|
|
@@ -4022,148 +4205,84 @@
|
|
|
4022
4205
|
"text": "boolean"
|
|
4023
4206
|
},
|
|
4024
4207
|
"default": "false",
|
|
4208
|
+
"description": "Whether the button is disabled or not.",
|
|
4025
4209
|
"fieldName": "disabled",
|
|
4026
4210
|
"inheritedFrom": {
|
|
4027
|
-
"name": "
|
|
4028
|
-
"module": "src/shared/
|
|
4211
|
+
"name": "UmButtonWrapper",
|
|
4212
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4029
4213
|
}
|
|
4030
4214
|
},
|
|
4031
4215
|
{
|
|
4032
|
-
"name": "
|
|
4216
|
+
"name": "href",
|
|
4033
4217
|
"type": {
|
|
4034
|
-
"text": "
|
|
4218
|
+
"text": "string | undefined"
|
|
4035
4219
|
},
|
|
4036
|
-
"
|
|
4037
|
-
"fieldName": "
|
|
4220
|
+
"description": "The URL that the link button points to.",
|
|
4221
|
+
"fieldName": "href",
|
|
4038
4222
|
"inheritedFrom": {
|
|
4039
|
-
"name": "
|
|
4040
|
-
"module": "src/shared/
|
|
4223
|
+
"name": "UmButtonWrapper",
|
|
4224
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4041
4225
|
}
|
|
4042
|
-
}
|
|
4043
|
-
],
|
|
4044
|
-
"superclass": {
|
|
4045
|
-
"name": "UmTextFieldBase",
|
|
4046
|
-
"module": "/src/shared/text-field-base/text-field-base.js"
|
|
4047
|
-
},
|
|
4048
|
-
"tagName": "u-chip-field",
|
|
4049
|
-
"customElement": true
|
|
4050
|
-
}
|
|
4051
|
-
],
|
|
4052
|
-
"exports": [
|
|
4053
|
-
{
|
|
4054
|
-
"kind": "js",
|
|
4055
|
-
"name": "UmChipField",
|
|
4056
|
-
"declaration": {
|
|
4057
|
-
"name": "UmChipField",
|
|
4058
|
-
"module": "src/chip-field/chip-field.ts"
|
|
4059
|
-
}
|
|
4060
|
-
},
|
|
4061
|
-
{
|
|
4062
|
-
"kind": "custom-element-definition",
|
|
4063
|
-
"name": "u-chip-field",
|
|
4064
|
-
"declaration": {
|
|
4065
|
-
"name": "UmChipField",
|
|
4066
|
-
"module": "src/chip-field/chip-field.ts"
|
|
4067
|
-
}
|
|
4068
|
-
}
|
|
4069
|
-
]
|
|
4070
|
-
},
|
|
4071
|
-
{
|
|
4072
|
-
"kind": "javascript-module",
|
|
4073
|
-
"path": "src/chip/chip-set.styles.ts",
|
|
4074
|
-
"declarations": [
|
|
4075
|
-
{
|
|
4076
|
-
"kind": "variable",
|
|
4077
|
-
"name": "styles",
|
|
4078
|
-
"default": "css `\n :host {\n display: flex;\n gap: 8px;\n align-items: center;\n flex-wrap: nowrap;\n }\n\n :host([alignment=start]) {\n justify-content: flex-start;\n }\n\n :host([alignment=center]) {\n justify-content: center;\n }\n\n :host([alignment=end]) {\n justify-content: flex-end;\n }\n\n :host {\n flex-wrap: wrap;\n }\n`"
|
|
4079
|
-
}
|
|
4080
|
-
],
|
|
4081
|
-
"exports": [
|
|
4082
|
-
{
|
|
4083
|
-
"kind": "js",
|
|
4084
|
-
"name": "styles",
|
|
4085
|
-
"declaration": {
|
|
4086
|
-
"name": "styles",
|
|
4087
|
-
"module": "src/chip/chip-set.styles.ts"
|
|
4088
|
-
}
|
|
4089
|
-
}
|
|
4090
|
-
]
|
|
4091
|
-
},
|
|
4092
|
-
{
|
|
4093
|
-
"kind": "javascript-module",
|
|
4094
|
-
"path": "src/chip/chip-set.ts",
|
|
4095
|
-
"declarations": [
|
|
4096
|
-
{
|
|
4097
|
-
"kind": "class",
|
|
4098
|
-
"description": "",
|
|
4099
|
-
"name": "UmChipSet",
|
|
4100
|
-
"members": [
|
|
4226
|
+
},
|
|
4101
4227
|
{
|
|
4102
|
-
"
|
|
4103
|
-
"name": "alignment",
|
|
4228
|
+
"name": "target",
|
|
4104
4229
|
"type": {
|
|
4105
|
-
"text": "
|
|
4230
|
+
"text": "string | undefined"
|
|
4106
4231
|
},
|
|
4107
|
-
"
|
|
4108
|
-
"
|
|
4109
|
-
"attribute": "alignment",
|
|
4110
|
-
"reflects": true,
|
|
4232
|
+
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
4233
|
+
"fieldName": "target",
|
|
4111
4234
|
"inheritedFrom": {
|
|
4112
|
-
"name": "
|
|
4113
|
-
"module": "src/shared/
|
|
4235
|
+
"name": "UmButtonWrapper",
|
|
4236
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4114
4237
|
}
|
|
4115
|
-
}
|
|
4116
|
-
],
|
|
4117
|
-
"superclass": {
|
|
4118
|
-
"name": "UmSetBase",
|
|
4119
|
-
"module": "/src/shared/sets/set-base.js"
|
|
4120
|
-
},
|
|
4121
|
-
"tagName": "u-chip-set",
|
|
4122
|
-
"customElement": true,
|
|
4123
|
-
"attributes": [
|
|
4238
|
+
},
|
|
4124
4239
|
{
|
|
4125
|
-
"name": "
|
|
4240
|
+
"name": "name",
|
|
4126
4241
|
"type": {
|
|
4127
|
-
"text": "
|
|
4242
|
+
"text": "string | undefined"
|
|
4128
4243
|
},
|
|
4129
|
-
"
|
|
4130
|
-
"description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
|
|
4131
|
-
"fieldName": "alignment",
|
|
4244
|
+
"fieldName": "name",
|
|
4132
4245
|
"inheritedFrom": {
|
|
4133
|
-
"name": "
|
|
4134
|
-
"module": "src/shared/
|
|
4246
|
+
"name": "UmButtonWrapper",
|
|
4247
|
+
"module": "src/shared/button-wrapper.ts"
|
|
4135
4248
|
}
|
|
4136
4249
|
}
|
|
4137
|
-
]
|
|
4250
|
+
],
|
|
4251
|
+
"superclass": {
|
|
4252
|
+
"name": "UmButtonWrapper",
|
|
4253
|
+
"module": "/src/shared/button-wrapper.js"
|
|
4254
|
+
},
|
|
4255
|
+
"tagName": "u-chip",
|
|
4256
|
+
"customElement": true
|
|
4138
4257
|
}
|
|
4139
4258
|
],
|
|
4140
4259
|
"exports": [
|
|
4141
4260
|
{
|
|
4142
4261
|
"kind": "js",
|
|
4143
|
-
"name": "
|
|
4262
|
+
"name": "UmChip",
|
|
4144
4263
|
"declaration": {
|
|
4145
|
-
"name": "
|
|
4146
|
-
"module": "src/chip/chip
|
|
4264
|
+
"name": "UmChip",
|
|
4265
|
+
"module": "src/chip/chip.ts"
|
|
4147
4266
|
}
|
|
4148
4267
|
},
|
|
4149
4268
|
{
|
|
4150
4269
|
"kind": "custom-element-definition",
|
|
4151
|
-
"name": "u-chip
|
|
4270
|
+
"name": "u-chip",
|
|
4152
4271
|
"declaration": {
|
|
4153
|
-
"name": "
|
|
4154
|
-
"module": "src/chip/chip
|
|
4272
|
+
"name": "UmChip",
|
|
4273
|
+
"module": "src/chip/chip.ts"
|
|
4155
4274
|
}
|
|
4156
4275
|
}
|
|
4157
4276
|
]
|
|
4158
4277
|
},
|
|
4159
4278
|
{
|
|
4160
4279
|
"kind": "javascript-module",
|
|
4161
|
-
"path": "src/chip/chip.styles.ts",
|
|
4280
|
+
"path": "src/chip-field/chip-field.styles.ts",
|
|
4162
4281
|
"declarations": [
|
|
4163
4282
|
{
|
|
4164
4283
|
"kind": "variable",
|
|
4165
4284
|
"name": "styles",
|
|
4166
|
-
"default": "css `\n
|
|
4285
|
+
"default": "css `\n input {\n appearance: none;\n padding: 4px 0;\n }\n\n u-chip {\n flex-basis: 0;\n }\n\n ::part(wrapper) {\n gap: 8px;\n flex-wrap: wrap;\n }\n\n input {\n flex-basis: 200px;\n }\n`"
|
|
4167
4286
|
}
|
|
4168
4287
|
],
|
|
4169
4288
|
"exports": [
|
|
@@ -4172,419 +4291,335 @@
|
|
|
4172
4291
|
"name": "styles",
|
|
4173
4292
|
"declaration": {
|
|
4174
4293
|
"name": "styles",
|
|
4175
|
-
"module": "src/chip/chip.styles.ts"
|
|
4294
|
+
"module": "src/chip-field/chip-field.styles.ts"
|
|
4176
4295
|
}
|
|
4177
4296
|
}
|
|
4178
4297
|
]
|
|
4179
4298
|
},
|
|
4180
4299
|
{
|
|
4181
4300
|
"kind": "javascript-module",
|
|
4182
|
-
"path": "src/chip/chip.ts",
|
|
4301
|
+
"path": "src/chip-field/chip-field.ts",
|
|
4183
4302
|
"declarations": [
|
|
4184
4303
|
{
|
|
4185
4304
|
"kind": "class",
|
|
4186
4305
|
"description": "",
|
|
4187
|
-
"name": "
|
|
4306
|
+
"name": "UmChipField",
|
|
4188
4307
|
"members": [
|
|
4189
4308
|
{
|
|
4190
4309
|
"kind": "field",
|
|
4191
|
-
"name": "
|
|
4192
|
-
"privacy": "private",
|
|
4310
|
+
"name": "input",
|
|
4193
4311
|
"type": {
|
|
4194
|
-
"text": "
|
|
4195
|
-
}
|
|
4196
|
-
"default": "false"
|
|
4312
|
+
"text": "HTMLInputElement"
|
|
4313
|
+
}
|
|
4197
4314
|
},
|
|
4198
4315
|
{
|
|
4199
4316
|
"kind": "field",
|
|
4200
|
-
"name": "
|
|
4201
|
-
"privacy": "private",
|
|
4317
|
+
"name": "name",
|
|
4202
4318
|
"type": {
|
|
4203
|
-
"text": "
|
|
4319
|
+
"text": "string"
|
|
4204
4320
|
},
|
|
4205
|
-
"
|
|
4321
|
+
"attribute": "name"
|
|
4206
4322
|
},
|
|
4207
4323
|
{
|
|
4208
4324
|
"kind": "field",
|
|
4209
|
-
"name": "
|
|
4325
|
+
"name": "manual",
|
|
4210
4326
|
"type": {
|
|
4211
4327
|
"text": "boolean"
|
|
4212
4328
|
},
|
|
4213
4329
|
"default": "false",
|
|
4214
|
-
"
|
|
4215
|
-
"attribute": "selected",
|
|
4216
|
-
"reflects": true
|
|
4330
|
+
"attribute": "manual"
|
|
4217
4331
|
},
|
|
4218
4332
|
{
|
|
4219
4333
|
"kind": "field",
|
|
4220
|
-
"name": "
|
|
4334
|
+
"name": "formatter",
|
|
4221
4335
|
"type": {
|
|
4222
|
-
"text": "
|
|
4223
|
-
}
|
|
4224
|
-
"attribute": "clickable",
|
|
4225
|
-
"reflects": true
|
|
4336
|
+
"text": "((value: any) => string) | undefined"
|
|
4337
|
+
}
|
|
4226
4338
|
},
|
|
4227
4339
|
{
|
|
4228
4340
|
"kind": "field",
|
|
4229
|
-
"name": "
|
|
4341
|
+
"name": "leadingIconTemplate",
|
|
4230
4342
|
"type": {
|
|
4231
|
-
"text": "
|
|
4232
|
-
}
|
|
4233
|
-
"default": "false",
|
|
4234
|
-
"description": "Adds elevation to the chip",
|
|
4235
|
-
"attribute": "elevated",
|
|
4236
|
-
"reflects": true
|
|
4343
|
+
"text": "((value: any) => string) | undefined"
|
|
4344
|
+
}
|
|
4237
4345
|
},
|
|
4238
4346
|
{
|
|
4239
4347
|
"kind": "field",
|
|
4240
|
-
"name": "
|
|
4348
|
+
"name": "#value",
|
|
4349
|
+
"privacy": "private",
|
|
4241
4350
|
"type": {
|
|
4242
|
-
"text": "
|
|
4351
|
+
"text": "any[]"
|
|
4243
4352
|
},
|
|
4244
|
-
"
|
|
4245
|
-
"attribute": "toggle",
|
|
4246
|
-
"reflects": true
|
|
4353
|
+
"default": "[]"
|
|
4247
4354
|
},
|
|
4248
4355
|
{
|
|
4249
4356
|
"kind": "field",
|
|
4250
|
-
"name": "
|
|
4357
|
+
"name": "value",
|
|
4251
4358
|
"type": {
|
|
4252
|
-
"text": "
|
|
4253
|
-
}
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
"
|
|
4257
|
-
"
|
|
4359
|
+
"text": "any[]"
|
|
4360
|
+
}
|
|
4361
|
+
},
|
|
4362
|
+
{
|
|
4363
|
+
"kind": "method",
|
|
4364
|
+
"name": "setFormValue",
|
|
4365
|
+
"privacy": "private"
|
|
4366
|
+
},
|
|
4367
|
+
{
|
|
4368
|
+
"kind": "method",
|
|
4369
|
+
"name": "focus"
|
|
4258
4370
|
},
|
|
4259
4371
|
{
|
|
4260
4372
|
"kind": "field",
|
|
4261
|
-
"name": "
|
|
4373
|
+
"name": "empty",
|
|
4262
4374
|
"type": {
|
|
4263
4375
|
"text": "boolean"
|
|
4264
4376
|
},
|
|
4265
|
-
"
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
},
|
|
4270
|
-
{
|
|
4271
|
-
"kind": "field",
|
|
4272
|
-
"name": "hasLeadingIcon",
|
|
4273
|
-
"type": {
|
|
4274
|
-
"text": "boolean"
|
|
4275
|
-
},
|
|
4276
|
-
"default": "false",
|
|
4277
|
-
"description": "Whether the chip has a leading icon or not\n\n_Note:_ Readonly",
|
|
4278
|
-
"attribute": "has-leading-icon",
|
|
4279
|
-
"reflects": true
|
|
4280
|
-
},
|
|
4281
|
-
{
|
|
4282
|
-
"kind": "field",
|
|
4283
|
-
"name": "hasSelectedIcon",
|
|
4284
|
-
"type": {
|
|
4285
|
-
"text": "boolean"
|
|
4286
|
-
},
|
|
4287
|
-
"default": "false",
|
|
4288
|
-
"description": "Whether the chip has a selected icon or not\n\n_Note:_ Readonly",
|
|
4289
|
-
"attribute": "has-selected-icon",
|
|
4290
|
-
"reflects": true
|
|
4291
|
-
},
|
|
4292
|
-
{
|
|
4293
|
-
"kind": "field",
|
|
4294
|
-
"name": "hasTrailingIcon",
|
|
4295
|
-
"type": {
|
|
4296
|
-
"text": "boolean"
|
|
4297
|
-
},
|
|
4298
|
-
"default": "false",
|
|
4299
|
-
"description": "Whether the chip has a trailing icon or not\n\n_Note:_ Readonly",
|
|
4300
|
-
"attribute": "has-trailing-icon",
|
|
4301
|
-
"reflects": true
|
|
4302
|
-
},
|
|
4303
|
-
{
|
|
4304
|
-
"kind": "field",
|
|
4305
|
-
"name": "assignedLeadingIcons",
|
|
4306
|
-
"type": {
|
|
4307
|
-
"text": "HTMLElement[]"
|
|
4308
|
-
},
|
|
4309
|
-
"privacy": "private"
|
|
4377
|
+
"inheritedFrom": {
|
|
4378
|
+
"name": "UmTextFieldBase",
|
|
4379
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4380
|
+
}
|
|
4310
4381
|
},
|
|
4311
4382
|
{
|
|
4312
|
-
"kind": "
|
|
4313
|
-
"name": "
|
|
4314
|
-
"
|
|
4315
|
-
|
|
4383
|
+
"kind": "method",
|
|
4384
|
+
"name": "renderContent",
|
|
4385
|
+
"privacy": "protected",
|
|
4386
|
+
"return": {
|
|
4387
|
+
"type": {
|
|
4388
|
+
"text": "HTMLTemplateResult"
|
|
4389
|
+
}
|
|
4316
4390
|
},
|
|
4317
|
-
"
|
|
4391
|
+
"inheritedFrom": {
|
|
4392
|
+
"name": "UmTextFieldBase",
|
|
4393
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4394
|
+
}
|
|
4318
4395
|
},
|
|
4319
4396
|
{
|
|
4320
|
-
"kind": "
|
|
4321
|
-
"name": "
|
|
4322
|
-
"type": {
|
|
4323
|
-
"text": "HTMLElement[]"
|
|
4324
|
-
},
|
|
4325
|
-
"privacy": "private"
|
|
4397
|
+
"kind": "method",
|
|
4398
|
+
"name": "#getChips"
|
|
4326
4399
|
},
|
|
4327
4400
|
{
|
|
4328
|
-
"kind": "
|
|
4329
|
-
"name": "
|
|
4330
|
-
"type": {
|
|
4331
|
-
"text": "UmRipple"
|
|
4332
|
-
}
|
|
4401
|
+
"kind": "method",
|
|
4402
|
+
"name": "#handleBlur"
|
|
4333
4403
|
},
|
|
4334
4404
|
{
|
|
4335
4405
|
"kind": "method",
|
|
4336
|
-
"name": "#
|
|
4406
|
+
"name": "#handleKeyDown",
|
|
4337
4407
|
"parameters": [
|
|
4338
4408
|
{
|
|
4339
4409
|
"name": "e",
|
|
4340
4410
|
"type": {
|
|
4341
|
-
"text": "
|
|
4411
|
+
"text": "KeyboardEvent"
|
|
4342
4412
|
}
|
|
4343
4413
|
}
|
|
4344
4414
|
]
|
|
4345
4415
|
},
|
|
4346
4416
|
{
|
|
4347
4417
|
"kind": "method",
|
|
4348
|
-
"name": "
|
|
4418
|
+
"name": "add",
|
|
4419
|
+
"parameters": [
|
|
4420
|
+
{
|
|
4421
|
+
"name": "value",
|
|
4422
|
+
"type": {
|
|
4423
|
+
"text": "any"
|
|
4424
|
+
}
|
|
4425
|
+
}
|
|
4426
|
+
]
|
|
4349
4427
|
},
|
|
4350
4428
|
{
|
|
4351
|
-
"kind": "
|
|
4352
|
-
"name": "#
|
|
4429
|
+
"kind": "field",
|
|
4430
|
+
"name": "#removeChip",
|
|
4431
|
+
"privacy": "private"
|
|
4353
4432
|
},
|
|
4354
4433
|
{
|
|
4355
4434
|
"kind": "method",
|
|
4356
|
-
"name": "#
|
|
4435
|
+
"name": "#updated"
|
|
4357
4436
|
},
|
|
4358
4437
|
{
|
|
4359
4438
|
"kind": "method",
|
|
4360
|
-
"name": "
|
|
4361
|
-
"privacy": "protected",
|
|
4439
|
+
"name": "#dispatchRemoveEvent",
|
|
4362
4440
|
"return": {
|
|
4363
4441
|
"type": {
|
|
4364
|
-
"text": "
|
|
4442
|
+
"text": "boolean"
|
|
4365
4443
|
}
|
|
4366
4444
|
},
|
|
4367
4445
|
"parameters": [
|
|
4368
4446
|
{
|
|
4369
|
-
"name": "
|
|
4447
|
+
"name": "index",
|
|
4370
4448
|
"type": {
|
|
4371
|
-
"text": "
|
|
4449
|
+
"text": "number"
|
|
4372
4450
|
}
|
|
4373
4451
|
}
|
|
4374
|
-
]
|
|
4375
|
-
"inheritedFrom": {
|
|
4376
|
-
"name": "UmButtonWrapper",
|
|
4377
|
-
"module": "src/shared/button-wrapper.ts"
|
|
4378
|
-
}
|
|
4452
|
+
]
|
|
4379
4453
|
},
|
|
4380
4454
|
{
|
|
4381
4455
|
"kind": "method",
|
|
4382
|
-
"name": "
|
|
4383
|
-
"privacy": "
|
|
4384
|
-
"
|
|
4385
|
-
|
|
4386
|
-
"
|
|
4456
|
+
"name": "getItemLabel",
|
|
4457
|
+
"privacy": "private",
|
|
4458
|
+
"parameters": [
|
|
4459
|
+
{
|
|
4460
|
+
"name": "item",
|
|
4461
|
+
"type": {
|
|
4462
|
+
"text": "any"
|
|
4463
|
+
}
|
|
4387
4464
|
}
|
|
4388
|
-
|
|
4389
|
-
"inheritedFrom": {
|
|
4390
|
-
"name": "UmButtonWrapper",
|
|
4391
|
-
"module": "src/shared/button-wrapper.ts"
|
|
4392
|
-
}
|
|
4465
|
+
]
|
|
4393
4466
|
},
|
|
4394
4467
|
{
|
|
4395
4468
|
"kind": "field",
|
|
4396
|
-
"name": "
|
|
4469
|
+
"name": "formAssociated",
|
|
4397
4470
|
"type": {
|
|
4398
4471
|
"text": "boolean"
|
|
4399
4472
|
},
|
|
4400
|
-
"
|
|
4401
|
-
"
|
|
4402
|
-
"attribute": "disabled",
|
|
4403
|
-
"reflects": true,
|
|
4473
|
+
"static": true,
|
|
4474
|
+
"default": "true",
|
|
4404
4475
|
"inheritedFrom": {
|
|
4405
|
-
"name": "
|
|
4406
|
-
"module": "src/shared/
|
|
4476
|
+
"name": "UmTextFieldBase",
|
|
4477
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4407
4478
|
}
|
|
4408
4479
|
},
|
|
4409
4480
|
{
|
|
4410
4481
|
"kind": "field",
|
|
4411
|
-
"name": "
|
|
4482
|
+
"name": "shadowRootOptions",
|
|
4412
4483
|
"type": {
|
|
4413
|
-
"text": "
|
|
4484
|
+
"text": "ShadowRootInit"
|
|
4414
4485
|
},
|
|
4415
|
-
"
|
|
4486
|
+
"static": true,
|
|
4487
|
+
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }",
|
|
4416
4488
|
"inheritedFrom": {
|
|
4417
|
-
"name": "
|
|
4418
|
-
"module": "src/shared/
|
|
4489
|
+
"name": "UmTextFieldBase",
|
|
4490
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4419
4491
|
}
|
|
4420
4492
|
},
|
|
4421
4493
|
{
|
|
4422
4494
|
"kind": "field",
|
|
4423
|
-
"name": "
|
|
4424
|
-
"
|
|
4425
|
-
"text": "string | undefined"
|
|
4426
|
-
},
|
|
4427
|
-
"description": "The URL that the link button points to.",
|
|
4428
|
-
"attribute": "href",
|
|
4495
|
+
"name": "variant",
|
|
4496
|
+
"attribute": "variant",
|
|
4429
4497
|
"inheritedFrom": {
|
|
4430
|
-
"name": "
|
|
4431
|
-
"module": "src/shared/
|
|
4498
|
+
"name": "UmTextFieldBase",
|
|
4499
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4432
4500
|
}
|
|
4433
4501
|
},
|
|
4434
4502
|
{
|
|
4435
4503
|
"kind": "field",
|
|
4436
|
-
"name": "
|
|
4504
|
+
"name": "label",
|
|
4437
4505
|
"type": {
|
|
4438
4506
|
"text": "string | undefined"
|
|
4439
4507
|
},
|
|
4440
|
-
"
|
|
4441
|
-
"attribute": "target",
|
|
4508
|
+
"attribute": "label",
|
|
4442
4509
|
"inheritedFrom": {
|
|
4443
|
-
"name": "
|
|
4444
|
-
"module": "src/shared/
|
|
4510
|
+
"name": "UmTextFieldBase",
|
|
4511
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4445
4512
|
}
|
|
4446
4513
|
},
|
|
4447
4514
|
{
|
|
4448
4515
|
"kind": "field",
|
|
4449
|
-
"name": "
|
|
4516
|
+
"name": "counter",
|
|
4450
4517
|
"type": {
|
|
4451
4518
|
"text": "string | undefined"
|
|
4452
4519
|
},
|
|
4453
|
-
"attribute": "
|
|
4520
|
+
"attribute": "counter",
|
|
4454
4521
|
"inheritedFrom": {
|
|
4455
|
-
"name": "
|
|
4456
|
-
"module": "src/shared/
|
|
4522
|
+
"name": "UmTextFieldBase",
|
|
4523
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4457
4524
|
}
|
|
4458
4525
|
},
|
|
4459
4526
|
{
|
|
4460
4527
|
"kind": "field",
|
|
4461
|
-
"name": "
|
|
4528
|
+
"name": "placeholder",
|
|
4462
4529
|
"type": {
|
|
4463
|
-
"text": "
|
|
4530
|
+
"text": "string | undefined"
|
|
4464
4531
|
},
|
|
4465
|
-
"
|
|
4532
|
+
"attribute": "placeholder",
|
|
4533
|
+
"reflects": true,
|
|
4466
4534
|
"inheritedFrom": {
|
|
4467
|
-
"name": "
|
|
4468
|
-
"module": "src/shared/
|
|
4535
|
+
"name": "UmTextFieldBase",
|
|
4536
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4469
4537
|
}
|
|
4470
4538
|
},
|
|
4471
4539
|
{
|
|
4472
4540
|
"kind": "field",
|
|
4473
|
-
"name": "
|
|
4541
|
+
"name": "supportingText",
|
|
4474
4542
|
"type": {
|
|
4475
|
-
"text": "
|
|
4543
|
+
"text": "string | undefined"
|
|
4476
4544
|
},
|
|
4477
|
-
"
|
|
4545
|
+
"attribute": "supporting-text",
|
|
4478
4546
|
"inheritedFrom": {
|
|
4479
|
-
"name": "
|
|
4480
|
-
"module": "src/shared/
|
|
4547
|
+
"name": "UmTextFieldBase",
|
|
4548
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4481
4549
|
}
|
|
4482
4550
|
},
|
|
4483
4551
|
{
|
|
4484
4552
|
"kind": "field",
|
|
4485
|
-
"name": "
|
|
4553
|
+
"name": "errorText",
|
|
4486
4554
|
"type": {
|
|
4487
|
-
"text": "string |
|
|
4555
|
+
"text": "string | undefined"
|
|
4488
4556
|
},
|
|
4489
|
-
"
|
|
4490
|
-
"default": "null",
|
|
4557
|
+
"attribute": "error-text",
|
|
4491
4558
|
"inheritedFrom": {
|
|
4492
|
-
"name": "
|
|
4493
|
-
"module": "src/shared/
|
|
4559
|
+
"name": "UmTextFieldBase",
|
|
4560
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4494
4561
|
}
|
|
4495
4562
|
},
|
|
4496
4563
|
{
|
|
4497
4564
|
"kind": "field",
|
|
4498
|
-
"name": "
|
|
4565
|
+
"name": "disabled",
|
|
4499
4566
|
"type": {
|
|
4500
|
-
"text": "
|
|
4567
|
+
"text": "boolean"
|
|
4501
4568
|
},
|
|
4569
|
+
"default": "false",
|
|
4570
|
+
"attribute": "disabled",
|
|
4571
|
+
"reflects": true,
|
|
4502
4572
|
"inheritedFrom": {
|
|
4503
|
-
"name": "
|
|
4504
|
-
"module": "src/shared/
|
|
4505
|
-
}
|
|
4506
|
-
},
|
|
4507
|
-
{
|
|
4508
|
-
"kind": "method",
|
|
4509
|
-
"name": "renderButton",
|
|
4510
|
-
"privacy": "private",
|
|
4511
|
-
"inheritedFrom": {
|
|
4512
|
-
"name": "UmButtonWrapper",
|
|
4513
|
-
"module": "src/shared/button-wrapper.ts"
|
|
4514
|
-
}
|
|
4515
|
-
},
|
|
4516
|
-
{
|
|
4517
|
-
"kind": "method",
|
|
4518
|
-
"name": "renderLink",
|
|
4519
|
-
"privacy": "private",
|
|
4520
|
-
"inheritedFrom": {
|
|
4521
|
-
"name": "UmButtonWrapper",
|
|
4522
|
-
"module": "src/shared/button-wrapper.ts"
|
|
4523
|
-
}
|
|
4524
|
-
},
|
|
4525
|
-
{
|
|
4526
|
-
"kind": "method",
|
|
4527
|
-
"name": "focus",
|
|
4528
|
-
"inheritedFrom": {
|
|
4529
|
-
"name": "UmButtonWrapper",
|
|
4530
|
-
"module": "src/shared/button-wrapper.ts"
|
|
4573
|
+
"name": "UmTextFieldBase",
|
|
4574
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4531
4575
|
}
|
|
4532
4576
|
},
|
|
4533
4577
|
{
|
|
4534
|
-
"kind": "
|
|
4535
|
-
"name": "
|
|
4578
|
+
"kind": "field",
|
|
4579
|
+
"name": "invalid",
|
|
4580
|
+
"type": {
|
|
4581
|
+
"text": "boolean"
|
|
4582
|
+
},
|
|
4583
|
+
"default": "false",
|
|
4584
|
+
"attribute": "invalid",
|
|
4585
|
+
"reflects": true,
|
|
4536
4586
|
"inheritedFrom": {
|
|
4537
|
-
"name": "
|
|
4538
|
-
"module": "src/shared/
|
|
4587
|
+
"name": "UmTextFieldBase",
|
|
4588
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4539
4589
|
}
|
|
4540
4590
|
},
|
|
4541
4591
|
{
|
|
4542
|
-
"kind": "
|
|
4543
|
-
"name": "
|
|
4544
|
-
"
|
|
4545
|
-
|
|
4546
|
-
"type": {
|
|
4547
|
-
"text": "string | null"
|
|
4548
|
-
}
|
|
4592
|
+
"kind": "field",
|
|
4593
|
+
"name": "field",
|
|
4594
|
+
"type": {
|
|
4595
|
+
"text": "UmField"
|
|
4549
4596
|
},
|
|
4550
4597
|
"inheritedFrom": {
|
|
4551
|
-
"name": "
|
|
4552
|
-
"module": "src/shared/
|
|
4598
|
+
"name": "UmTextFieldBase",
|
|
4599
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4553
4600
|
}
|
|
4554
4601
|
},
|
|
4555
4602
|
{
|
|
4556
|
-
"kind": "
|
|
4557
|
-
"name": "
|
|
4558
|
-
"
|
|
4559
|
-
|
|
4560
|
-
"type": {
|
|
4561
|
-
"text": "void"
|
|
4562
|
-
}
|
|
4603
|
+
"kind": "field",
|
|
4604
|
+
"name": "form",
|
|
4605
|
+
"type": {
|
|
4606
|
+
"text": "HTMLFormElement | null"
|
|
4563
4607
|
},
|
|
4564
4608
|
"inheritedFrom": {
|
|
4565
|
-
"name": "
|
|
4566
|
-
"module": "src/shared/
|
|
4609
|
+
"name": "UmTextFieldBase",
|
|
4610
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4567
4611
|
}
|
|
4568
4612
|
},
|
|
4569
4613
|
{
|
|
4570
|
-
"kind": "
|
|
4571
|
-
"name": "
|
|
4572
|
-
"
|
|
4573
|
-
"
|
|
4574
|
-
"text": "void"
|
|
4575
|
-
}
|
|
4614
|
+
"kind": "field",
|
|
4615
|
+
"name": "elementInternals",
|
|
4616
|
+
"type": {
|
|
4617
|
+
"text": "ElementInternals"
|
|
4576
4618
|
},
|
|
4577
|
-
"
|
|
4578
|
-
{
|
|
4579
|
-
"name": "event",
|
|
4580
|
-
"type": {
|
|
4581
|
-
"text": "MouseEvent"
|
|
4582
|
-
}
|
|
4583
|
-
}
|
|
4584
|
-
],
|
|
4619
|
+
"privacy": "protected",
|
|
4585
4620
|
"inheritedFrom": {
|
|
4586
|
-
"name": "
|
|
4587
|
-
"module": "src/shared/
|
|
4621
|
+
"name": "UmTextFieldBase",
|
|
4622
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4588
4623
|
}
|
|
4589
4624
|
}
|
|
4590
4625
|
],
|
|
@@ -4598,155 +4633,131 @@
|
|
|
4598
4633
|
],
|
|
4599
4634
|
"attributes": [
|
|
4600
4635
|
{
|
|
4601
|
-
"name": "
|
|
4602
|
-
"type": {
|
|
4603
|
-
"text": "boolean"
|
|
4604
|
-
},
|
|
4605
|
-
"default": "false",
|
|
4606
|
-
"description": "Whether the chip is selected or not",
|
|
4607
|
-
"fieldName": "selected"
|
|
4608
|
-
},
|
|
4609
|
-
{
|
|
4610
|
-
"name": "clickable",
|
|
4611
|
-
"type": {
|
|
4612
|
-
"text": "boolean"
|
|
4613
|
-
},
|
|
4614
|
-
"fieldName": "clickable"
|
|
4615
|
-
},
|
|
4616
|
-
{
|
|
4617
|
-
"name": "elevated",
|
|
4618
|
-
"type": {
|
|
4619
|
-
"text": "boolean"
|
|
4620
|
-
},
|
|
4621
|
-
"default": "false",
|
|
4622
|
-
"description": "Adds elevation to the chip",
|
|
4623
|
-
"fieldName": "elevated"
|
|
4624
|
-
},
|
|
4625
|
-
{
|
|
4626
|
-
"name": "toggle",
|
|
4627
|
-
"type": {
|
|
4628
|
-
"text": "boolean"
|
|
4629
|
-
},
|
|
4630
|
-
"description": "When true, the chip will toggle between selected and unselected\nstates",
|
|
4631
|
-
"fieldName": "toggle"
|
|
4632
|
-
},
|
|
4633
|
-
{
|
|
4634
|
-
"name": "removable",
|
|
4635
|
-
"type": {
|
|
4636
|
-
"text": "boolean"
|
|
4637
|
-
},
|
|
4638
|
-
"default": "false",
|
|
4639
|
-
"description": "Add the remove icon",
|
|
4640
|
-
"fieldName": "removable"
|
|
4641
|
-
},
|
|
4642
|
-
{
|
|
4643
|
-
"name": "hide-selected-icon",
|
|
4644
|
-
"type": {
|
|
4645
|
-
"text": "boolean"
|
|
4646
|
-
},
|
|
4647
|
-
"default": "false",
|
|
4648
|
-
"description": "Hide the selected icon",
|
|
4649
|
-
"fieldName": "hideSelectedIcon"
|
|
4650
|
-
},
|
|
4651
|
-
{
|
|
4652
|
-
"name": "has-leading-icon",
|
|
4636
|
+
"name": "name",
|
|
4653
4637
|
"type": {
|
|
4654
|
-
"text": "
|
|
4638
|
+
"text": "string"
|
|
4655
4639
|
},
|
|
4656
|
-
"
|
|
4657
|
-
"description": "Whether the chip has a leading icon or not\n\n_Note:_ Readonly",
|
|
4658
|
-
"fieldName": "hasLeadingIcon"
|
|
4640
|
+
"fieldName": "name"
|
|
4659
4641
|
},
|
|
4660
4642
|
{
|
|
4661
|
-
"name": "
|
|
4643
|
+
"name": "manual",
|
|
4662
4644
|
"type": {
|
|
4663
4645
|
"text": "boolean"
|
|
4664
4646
|
},
|
|
4665
4647
|
"default": "false",
|
|
4666
|
-
"
|
|
4667
|
-
"fieldName": "hasSelectedIcon"
|
|
4648
|
+
"fieldName": "manual"
|
|
4668
4649
|
},
|
|
4669
4650
|
{
|
|
4670
|
-
"name": "
|
|
4651
|
+
"name": "variant",
|
|
4652
|
+
"fieldName": "variant",
|
|
4653
|
+
"inheritedFrom": {
|
|
4654
|
+
"name": "UmTextFieldBase",
|
|
4655
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4656
|
+
}
|
|
4657
|
+
},
|
|
4658
|
+
{
|
|
4659
|
+
"name": "label",
|
|
4671
4660
|
"type": {
|
|
4672
|
-
"text": "
|
|
4661
|
+
"text": "string | undefined"
|
|
4673
4662
|
},
|
|
4674
|
-
"
|
|
4675
|
-
"
|
|
4676
|
-
|
|
4663
|
+
"fieldName": "label",
|
|
4664
|
+
"inheritedFrom": {
|
|
4665
|
+
"name": "UmTextFieldBase",
|
|
4666
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4667
|
+
}
|
|
4677
4668
|
},
|
|
4678
4669
|
{
|
|
4679
|
-
"name": "
|
|
4670
|
+
"name": "counter",
|
|
4680
4671
|
"type": {
|
|
4681
|
-
"text": "
|
|
4672
|
+
"text": "string | undefined"
|
|
4682
4673
|
},
|
|
4683
|
-
"
|
|
4684
|
-
"description": "Whether the button is disabled or not.",
|
|
4685
|
-
"fieldName": "disabled",
|
|
4674
|
+
"fieldName": "counter",
|
|
4686
4675
|
"inheritedFrom": {
|
|
4687
|
-
"name": "
|
|
4688
|
-
"module": "src/shared/
|
|
4676
|
+
"name": "UmTextFieldBase",
|
|
4677
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4689
4678
|
}
|
|
4690
4679
|
},
|
|
4691
4680
|
{
|
|
4692
|
-
"name": "
|
|
4681
|
+
"name": "placeholder",
|
|
4693
4682
|
"type": {
|
|
4694
4683
|
"text": "string | undefined"
|
|
4695
4684
|
},
|
|
4696
|
-
"
|
|
4697
|
-
"fieldName": "href",
|
|
4685
|
+
"fieldName": "placeholder",
|
|
4698
4686
|
"inheritedFrom": {
|
|
4699
|
-
"name": "
|
|
4700
|
-
"module": "src/shared/
|
|
4687
|
+
"name": "UmTextFieldBase",
|
|
4688
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4701
4689
|
}
|
|
4702
4690
|
},
|
|
4703
4691
|
{
|
|
4704
|
-
"name": "
|
|
4692
|
+
"name": "supporting-text",
|
|
4705
4693
|
"type": {
|
|
4706
4694
|
"text": "string | undefined"
|
|
4707
4695
|
},
|
|
4708
|
-
"
|
|
4709
|
-
"fieldName": "target",
|
|
4696
|
+
"fieldName": "supportingText",
|
|
4710
4697
|
"inheritedFrom": {
|
|
4711
|
-
"name": "
|
|
4712
|
-
"module": "src/shared/
|
|
4698
|
+
"name": "UmTextFieldBase",
|
|
4699
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4713
4700
|
}
|
|
4714
4701
|
},
|
|
4715
4702
|
{
|
|
4716
|
-
"name": "
|
|
4703
|
+
"name": "error-text",
|
|
4717
4704
|
"type": {
|
|
4718
4705
|
"text": "string | undefined"
|
|
4719
4706
|
},
|
|
4720
|
-
"fieldName": "
|
|
4707
|
+
"fieldName": "errorText",
|
|
4721
4708
|
"inheritedFrom": {
|
|
4722
|
-
"name": "
|
|
4723
|
-
"module": "src/shared/
|
|
4709
|
+
"name": "UmTextFieldBase",
|
|
4710
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4711
|
+
}
|
|
4712
|
+
},
|
|
4713
|
+
{
|
|
4714
|
+
"name": "disabled",
|
|
4715
|
+
"type": {
|
|
4716
|
+
"text": "boolean"
|
|
4717
|
+
},
|
|
4718
|
+
"default": "false",
|
|
4719
|
+
"fieldName": "disabled",
|
|
4720
|
+
"inheritedFrom": {
|
|
4721
|
+
"name": "UmTextFieldBase",
|
|
4722
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4723
|
+
}
|
|
4724
|
+
},
|
|
4725
|
+
{
|
|
4726
|
+
"name": "invalid",
|
|
4727
|
+
"type": {
|
|
4728
|
+
"text": "boolean"
|
|
4729
|
+
},
|
|
4730
|
+
"default": "false",
|
|
4731
|
+
"fieldName": "invalid",
|
|
4732
|
+
"inheritedFrom": {
|
|
4733
|
+
"name": "UmTextFieldBase",
|
|
4734
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
4724
4735
|
}
|
|
4725
4736
|
}
|
|
4726
4737
|
],
|
|
4727
4738
|
"superclass": {
|
|
4728
|
-
"name": "
|
|
4729
|
-
"module": "/src/shared/
|
|
4739
|
+
"name": "UmTextFieldBase",
|
|
4740
|
+
"module": "/src/shared/text-field-base/text-field-base.js"
|
|
4730
4741
|
},
|
|
4731
|
-
"tagName": "u-chip",
|
|
4742
|
+
"tagName": "u-chip-field",
|
|
4732
4743
|
"customElement": true
|
|
4733
4744
|
}
|
|
4734
4745
|
],
|
|
4735
4746
|
"exports": [
|
|
4736
4747
|
{
|
|
4737
4748
|
"kind": "js",
|
|
4738
|
-
"name": "
|
|
4749
|
+
"name": "UmChipField",
|
|
4739
4750
|
"declaration": {
|
|
4740
|
-
"name": "
|
|
4741
|
-
"module": "src/chip/chip.ts"
|
|
4751
|
+
"name": "UmChipField",
|
|
4752
|
+
"module": "src/chip-field/chip-field.ts"
|
|
4742
4753
|
}
|
|
4743
4754
|
},
|
|
4744
4755
|
{
|
|
4745
4756
|
"kind": "custom-element-definition",
|
|
4746
|
-
"name": "u-chip",
|
|
4757
|
+
"name": "u-chip-field",
|
|
4747
4758
|
"declaration": {
|
|
4748
|
-
"name": "
|
|
4749
|
-
"module": "src/chip/chip.ts"
|
|
4759
|
+
"name": "UmChipField",
|
|
4760
|
+
"module": "src/chip-field/chip-field.ts"
|
|
4750
4761
|
}
|
|
4751
4762
|
}
|
|
4752
4763
|
]
|
|
@@ -4815,7 +4826,7 @@
|
|
|
4815
4826
|
{
|
|
4816
4827
|
"kind": "variable",
|
|
4817
4828
|
"name": "styles",
|
|
4818
|
-
"default": "css `\n :host {\n --_control-line-height: var(--u-field-control-line-height, 1.5rem);\n --_label-line-height: var(--u-field-label-line-height, 1rem);\n --_field-icon-size: var(--u-field-icon-size, 1.5rem);\n --_field-control-padding: var(--u-field-control-padding, 16px);\n --_field-control-inline-padding: var(--u-field-control-inline-padding, var(--_field-control-padding));\n --_field-control-block-padding: var(--u-field-control-block-padding, var(--_field-control-padding));\n --_field-min-height: var(--u-field-min-height, 56px);\n --_field-placeholder-color: var(--u-field-placeholder-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n --_disabled-color: var(--u-field-disabled-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-field-disabled-opacity, .38)));\n --_disabled-background-color: var(--u-filled-field-disabled-background-color, rgba(var(--u-color-on-surface-rgb, ), var(--u-filled-field-background-disabled-opacity, .12)));\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n --_color-error: var(--u-field-error-color, var(--u-color-error, rgb(179, 38, 30)));\n --_active-indicator-opacity: 1;\n --_vertical-padding: var(--u-field-vertical-padding, 8px);\n --_icon-size: var(--u-field-icon-size, 1.5rem);\n --_icon-padding: var(--u-field-icon-padding, 12px);\n --_icon-color: var(--u-icon-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n --_focus-border-width: var(--u-text-field-focus-border-width, 2px);\n --_field-control-leading-padding: var(--_field-control-inline-padding);\n --_outlined-label-margin: var(--u-outlined-field-label-margin, 12px);\n --_outlined-label-padding: var(--u-outlined-field-label-padding, 4px);\n --u-label-input-start: auto;\n --u-label-input-span-leading-offset: 0;\n --u-label-input-span-trailing-offset: 0;\n --u-text-field-horizontal-padding: 12px;\n }\n\n .field {\n display: flex;\n align-items: center;\n position: relative;\n }\n .field::before, .field::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n pointer-events: none;\n }\n .field::before {\n background: var(--u-color-on-surface, rgb(29, 27, 32));\n transition: opacity 150ms;\n opacity: 0;\n }\n .field::after {\n border-width: var(--u-field-border-width, 1px);\n border-color: var(--u-field-border-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n @media (hover: hover) {\n :host([variant=filled]:not([disabled]):not([invalid]):hover) .field::before {\n opacity: var(--u-state-hover-opacity, 0.08);\n }\n :host(:not([disabled]):not([invalid]):not(:focus-within):hover) .field::after {\n border-color: var(--u-field-hover-border-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n }\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: var(--_icon-size);\n color: var(--_icon-color);\n font-size: var(--_icon-size);\n line-height: var(--_icon-size);\n }\n .icon::slotted(*) {\n flex-shrink: 0;\n }\n\n .leading-icon {\n margin-inline-start: var(--_icon-padding);\n }\n\n .trailing-icon {\n margin-inline-end: var(--_icon-padding);\n }\n\n .label {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-field-label-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-field-label-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-field-label-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-field-label-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n font-size: var(--u-field-label-font-size, var(--u-body-s-font-size, 0.75rem));\n display: block;\n position: absolute;\n inset-inline-start: var(--_field-control-leading-padding);\n margin-bottom: 0;\n line-height: var(--_label-line-height);\n color: var(--u-field-label-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n transition: inset 200ms, font-size 200ms;\n }\n\n .input-wrapper {\n display: flex;\n align-items: center;\n flex: 1;\n padding-inline: var(--_field-control-inline-padding);\n min-height: var(--_field-min-height);\n transition: opacity 150ms;\n }\n\n .input {\n color: var(--u-field-input-text-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n .input:focus {\n outline: 0;\n }\n .input::slotted(*) {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-field-control-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-field-control-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-field-control-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-field-control-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n width: 100%;\n color: var(--u-field-input-text-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n min-height: var(--_control-line-height);\n line-height: var(--_control-line-height);\n padding: 0;\n margin: 0;\n appearance: none;\n background: transparent;\n border: none;\n outline: 0 !important;\n }\n .input, .input::slotted(select), .input::slotted(:is(input, textarea))::placeholder {\n transition: color 150ms 100ms;\n }\n .input::slotted(:is(input, textarea))::placeholder {\n color: var(--_field-placeholder-color);\n }\n\n .supporting-text {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-field-supporting-text-line-height, var(--u-body-s-line-height, 1rem));\n font-size: var(--u-field-supporting-text-font-size, var(--u-body-s-font-size, 0.75rem));\n letter-spacing: var(--u-field-supporting-text-letter-spacing, var(--u-body-s-letter-spacing, 0.0333333333rem));\n font-weight: var(--u-field-supporting-text-font-weight, var(--u-body-s-font-weight, var(--u-font-weight-regular, 400)));\n display: flex;\n color: var(--u-field-supporting-text, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n padding-inline: 16px;\n gap: 16px;\n }\n .supporting-text .supporting-text-slot {\n display: block;\n }\n .supporting-text ::slotted(*) {\n display: inline-block;\n margin-top: 4px;\n }\n\n .error-text {\n display: none;\n }\n\n .counter {\n display: none;\n margin-inline-start: auto;\n }\n\n :host([has-counter]) .counter {\n display: block;\n }\n\n :host([has-leading-icon]) {\n --_field-control-leading-padding: calc(var(--_icon-padding) + var(--_icon-size) + var(--_field-control-inline-padding)) ;\n }\n\n :host(:not([has-leading-icon])) .leading-icon {\n display: none;\n }\n\n :host(:not([has-trailing-icon])) .trailing-icon {\n display: none;\n }\n\n :host(:focus-within) {\n --u-field-border-width: var(--_focus-border-width);\n }\n :host(:focus-within) .field::after {\n border-color: var(--u-field-focused-border-color, var(--_color-primary));\n }\n :host(:focus-within) .label {\n color: var(--u-field-label-focused-color, var(--_color-primary));\n }\n\n :host([invalid]) .field::after {\n border-color: var(--u-field-error-border-color, var(--_color-error));\n }\n :host([invalid]) .label {\n color: var(--u-field-label-error-color, var(--_color-error));\n }\n :host([invalid]) .supporting-text {\n color: var(--u-field-supporting-text-error-color, var(--_color-error));\n }\n :host([invalid]) .trailing-icon {\n color: var(--u-field-trailing-icon-error-color, var(--_color-error));\n }\n :host([invalid]) .leading-icon {\n color: var(--u-field-leading-icon-error-color, var(--_icon-color));\n }\n\n :host([invalid][has-error-text]) .error-text {\n display: block;\n }\n :host([invalid][has-error-text]) .supporting-text-slot {\n display: none;\n }\n\n :host([disabled]) .field::after {\n border-color: var(--u-field-disabled-border-color, var(--_disabled-color));\n }\n :host([disabled]) .supporting-text {\n color: var(--u-field-supporting-text-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .label {\n color: var(--u-field-label-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .input::slotted(*) {\n color: var(--u-field-input-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .input::slotted(:is(input, textarea))::placeholder {\n color: var(--u-field-input-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .trailing-icon {\n color: var(--u-field-trailing-icon-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .leading-icon {\n color: var(--u-field-leading-icon-disabled-color, var(--_disabled-color));\n }\n\n :host([variant=filled]) .field {\n border-radius: var(--u-field-filled-border-radius, 4px 4px 0 0);\n background-color: var(--u-color-surface-container-highest, rgb(230, 224, 233));\n }\n :host([variant=filled]) .field::after {\n border-bottom-style: solid;\n }\n :host([variant=filled]) .label {\n top: var(--_vertical-padding);\n }\n :host([variant=filled]) .input::slotted(:is(input, textarea, select, button)) {\n display: block;\n }\n :host([variant=filled]) .input-wrapper {\n padding-top: calc(var(--_vertical-padding) + var(--_label-line-height));\n padding-bottom: var(--_vertical-padding);\n }\n\n :host([variant=filled][disabled]) .field {\n background-color: var(--u-filled-field-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-filled-field-background-disabled-opacity, 0.04)));\n }\n\n :host([variant=outlined]) .field::after {\n --_mid-point: calc(var(--u-field-label-half-width) + var(--_outlined-label-margin) + var(--_outlined-label-padding));\n border-radius: var(--u-outlined-field-shape-corder, var(--u-shape-corner-small, 8px));\n border-style: solid;\n clip-path: polygon(0 0, var(--_mid-point) 0, var(--_mid-point) var(--_focus-border-width), var(--_mid-point) var(--_focus-border-width), var(--_mid-point) 0, 100% 0, 100% 100%, 0 100%);\n transition: clip-path 100ms;\n }\n :host([variant=outlined]) .label {\n top: calc(var(--_label-line-height) / -2);\n }\n\n :host([variant=outlined]:focus-within) .field::after,\n :host([variant=outlined]:not([empty])) .field::after {\n --_end-point: calc(var(--u-field-label-width) + var(--_outlined-label-margin) + (var(--_outlined-label-padding) * 2));\n clip-path: polygon(0 0, var(--_outlined-label-margin) 0, var(--_outlined-label-margin) var(--_focus-border-width), var(--_end-point) var(--_focus-border-width), var(--_end-point) 0, 100% 0, 100% 100%, 0 100%);\n }\n :host([variant=outlined]:focus-within) .label,\n :host([variant=outlined]:not([empty])) .label {\n inset-inline-start: calc(var(--_outlined-label-margin) + var(--_outlined-label-padding));\n }\n\n :host([empty]) ::slotted(select) {\n color: var(--_field-placeholder-color);\n }\n\n :host([empty]:not(:focus-within)) .label {\n font-size: var(--u-field-label-font-size, var(--u-body-l-font-size, 1rem));\n pointer-events: none;\n top: calc(var(--_field-min-height) / 2 - var(--_label-line-height) / 2);\n }\n :host([empty]:not(:focus-within)) .input-wrapper {\n opacity: 0;\n }\n :host([empty]:not(:focus-within)) .input,\n :host([empty]:not(:focus-within)) ::slotted(:is(input, textarea))::placeholder,\n :host([empty]:not(:focus-within)) ::slotted(select) {\n color: transparent;\n transition: color 150ms;\n }\n\n .field.no-label::after {\n clip-path: none !important;\n }\n`"
|
|
4829
|
+
"default": "css `\n :host {\n --_control-line-height: var(--u-field-control-line-height, 1.5rem);\n --_label-line-height: var(--u-field-label-line-height, 1rem);\n --_field-icon-size: var(--u-field-icon-size, 1.5rem);\n --_field-control-padding: var(--u-field-control-padding, 16px);\n --_field-control-inline-padding: var(--u-field-control-inline-padding, var(--_field-control-padding));\n --_field-control-block-padding: var(--u-field-control-block-padding, var(--_field-control-padding));\n --_field-min-height: var(--u-field-min-height, 56px);\n --_field-placeholder-color: var(--u-field-placeholder-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n --_disabled-color: var(--u-field-disabled-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-field-disabled-opacity, .38)));\n --_disabled-background-color: var(--u-filled-field-disabled-background-color, rgba(var(--u-color-on-surface-rgb, ), var(--u-filled-field-background-disabled-opacity, .12)));\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n --_color-error: var(--u-field-error-color, var(--u-color-error, rgb(179, 38, 30)));\n --_active-indicator-opacity: 1;\n --_vertical-padding: var(--u-field-vertical-padding, 8px);\n --_icon-size: var(--u-field-icon-size, 1.5rem);\n --_icon-padding: var(--u-field-icon-padding, 12px);\n --_icon-color: var(--u-icon-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n --_focus-border-width: var(--u-text-field-focus-border-width, 2px);\n --_field-control-leading-padding: var(--_field-control-inline-padding);\n --_outlined-label-margin: var(--u-outlined-field-label-margin, 12px);\n --_outlined-label-padding: var(--u-outlined-field-label-padding, 4px);\n --u-label-input-start: auto;\n --u-label-input-span-leading-offset: 0;\n --u-label-input-span-trailing-offset: 0;\n --u-text-field-horizontal-padding: 12px;\n }\n\n .field {\n display: flex;\n align-items: center;\n position: relative;\n }\n .field::before, .field::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n pointer-events: none;\n }\n .field::before {\n background: var(--u-color-on-surface, rgb(29, 27, 32));\n transition: opacity 150ms;\n opacity: 0;\n }\n .field::after {\n border-width: var(--u-field-border-width, 1px);\n border-color: var(--u-field-border-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n @media (hover: hover) {\n :host([variant=filled]:not([disabled]):not([invalid]):hover) .field::before {\n opacity: var(--u-state-hover-opacity, 0.08);\n }\n :host(:not([disabled]):not([invalid]):not(:focus-within):hover) .field::after {\n border-color: var(--u-field-hover-border-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n }\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: var(--_icon-size);\n color: var(--_icon-color);\n font-size: var(--_icon-size);\n line-height: var(--_icon-size);\n }\n .icon::slotted(*) {\n flex-shrink: 0;\n }\n\n .leading-icon {\n margin-inline-start: var(--_icon-padding);\n }\n\n .trailing-icon {\n margin-inline-end: var(--_icon-padding);\n }\n\n .label {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-field-label-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-field-label-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-field-label-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-field-label-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n font-size: var(--u-field-label-font-size, var(--u-body-s-font-size, 0.75rem));\n display: block;\n position: absolute;\n inset-inline-start: var(--_field-control-leading-padding);\n margin-bottom: 0;\n line-height: var(--_label-line-height);\n color: var(--u-field-label-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n transition: inset 200ms, font-size 200ms;\n }\n\n .input-wrapper {\n display: flex;\n align-items: center;\n flex: 1;\n padding-block: var(--_vertical-padding);\n padding-inline: var(--_field-control-inline-padding);\n min-height: var(--_field-min-height);\n transition: opacity 150ms;\n }\n\n .input {\n color: var(--u-field-input-text-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n .input:focus {\n outline: 0;\n }\n .input::slotted(*) {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-field-control-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-field-control-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-field-control-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-field-control-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n width: 100%;\n color: var(--u-field-input-text-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n min-height: var(--_control-line-height);\n line-height: var(--_control-line-height);\n padding: 0;\n margin: 0;\n appearance: none;\n background: transparent;\n border: none;\n outline: 0 !important;\n }\n .input, .input::slotted(select), .input::slotted(:is(input, textarea))::placeholder {\n transition: color 150ms 100ms;\n }\n .input::slotted(:is(input, textarea))::placeholder {\n color: var(--_field-placeholder-color);\n }\n\n .supporting-text {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-field-supporting-text-line-height, var(--u-body-s-line-height, 1rem));\n font-size: var(--u-field-supporting-text-font-size, var(--u-body-s-font-size, 0.75rem));\n letter-spacing: var(--u-field-supporting-text-letter-spacing, var(--u-body-s-letter-spacing, 0.0333333333rem));\n font-weight: var(--u-field-supporting-text-font-weight, var(--u-body-s-font-weight, var(--u-font-weight-regular, 400)));\n display: flex;\n color: var(--u-field-supporting-text, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n padding-inline: 16px;\n gap: 16px;\n }\n .supporting-text .supporting-text-slot {\n display: block;\n }\n .supporting-text ::slotted(*) {\n display: inline-block;\n margin-top: 4px;\n }\n\n .error-text {\n display: none;\n }\n\n .counter {\n display: none;\n margin-inline-start: auto;\n }\n\n :host([has-counter]) .counter {\n display: block;\n }\n\n :host([has-leading-icon]) {\n --_field-control-leading-padding: calc(var(--_icon-padding) + var(--_icon-size) + var(--_field-control-inline-padding)) ;\n }\n\n :host(:not([has-leading-icon])) .leading-icon {\n display: none;\n }\n\n :host(:not([has-trailing-icon])) .trailing-icon {\n display: none;\n }\n\n :host(:focus-within) {\n --u-field-border-width: var(--_focus-border-width);\n }\n :host(:focus-within) .field::after {\n border-color: var(--u-field-focused-border-color, var(--_color-primary));\n }\n :host(:focus-within) .label {\n color: var(--u-field-label-focused-color, var(--_color-primary));\n }\n\n :host([invalid]) .field::after {\n border-color: var(--u-field-error-border-color, var(--_color-error));\n }\n :host([invalid]) .label {\n color: var(--u-field-label-error-color, var(--_color-error));\n }\n :host([invalid]) .supporting-text {\n color: var(--u-field-supporting-text-error-color, var(--_color-error));\n }\n :host([invalid]) .trailing-icon {\n color: var(--u-field-trailing-icon-error-color, var(--_color-error));\n }\n :host([invalid]) .leading-icon {\n color: var(--u-field-leading-icon-error-color, var(--_icon-color));\n }\n\n :host([invalid][has-error-text]) .error-text {\n display: block;\n }\n :host([invalid][has-error-text]) .supporting-text-slot {\n display: none;\n }\n\n :host([disabled]) .field::after {\n border-color: var(--u-field-disabled-border-color, var(--_disabled-color));\n }\n :host([disabled]) .supporting-text {\n color: var(--u-field-supporting-text-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .label {\n color: var(--u-field-label-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .input::slotted(*) {\n color: var(--u-field-input-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .input::slotted(:is(input, textarea))::placeholder {\n color: var(--u-field-input-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .trailing-icon {\n color: var(--u-field-trailing-icon-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .leading-icon {\n color: var(--u-field-leading-icon-disabled-color, var(--_disabled-color));\n }\n\n :host([variant=filled]) .field {\n border-radius: var(--u-field-filled-border-radius, 4px 4px 0 0);\n background-color: var(--u-color-surface-container-highest, rgb(230, 224, 233));\n }\n :host([variant=filled]) .field::after {\n border-bottom-style: solid;\n }\n :host([variant=filled]) .field:not(.no-label) .input-wrapper {\n padding-top: calc(var(--_vertical-padding) + var(--_label-line-height));\n padding-bottom: var(--_vertical-padding);\n }\n :host([variant=filled]) .label {\n top: var(--_vertical-padding);\n }\n :host([variant=filled]) .input::slotted(:is(input, textarea, select, button)) {\n display: block;\n }\n\n :host([variant=filled][disabled]) .field {\n background-color: var(--u-filled-field-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-filled-field-background-disabled-opacity, 0.04)));\n }\n\n :host([variant=outlined]) .field::after {\n --_mid-point: calc(var(--u-field-label-half-width) + var(--_outlined-label-margin) + var(--_outlined-label-padding));\n border-radius: var(--u-outlined-field-shape-corder, var(--u-shape-corner-small, 8px));\n border-style: solid;\n clip-path: polygon(0 0, var(--_mid-point) 0, var(--_mid-point) var(--_focus-border-width), var(--_mid-point) var(--_focus-border-width), var(--_mid-point) 0, 100% 0, 100% 100%, 0 100%);\n transition: clip-path 100ms;\n }\n :host([variant=outlined]) .label {\n top: calc(var(--_label-line-height) / -2);\n }\n\n :host([variant=outlined]:focus-within) .field::after,\n :host([variant=outlined]:not([empty])) .field::after {\n --_end-point: calc(var(--u-field-label-width) + var(--_outlined-label-margin) + (var(--_outlined-label-padding) * 2));\n clip-path: polygon(0 0, var(--_outlined-label-margin) 0, var(--_outlined-label-margin) var(--_focus-border-width), var(--_end-point) var(--_focus-border-width), var(--_end-point) 0, 100% 0, 100% 100%, 0 100%);\n }\n :host([variant=outlined]:focus-within) .label,\n :host([variant=outlined]:not([empty])) .label {\n inset-inline-start: calc(var(--_outlined-label-margin) + var(--_outlined-label-padding));\n }\n\n :host([empty]) ::slotted(select) {\n color: var(--_field-placeholder-color);\n }\n\n :host([empty]:not(:focus-within)) .label {\n font-size: var(--u-field-label-font-size, var(--u-body-l-font-size, 1rem));\n pointer-events: none;\n top: calc(var(--_field-min-height) / 2 - var(--_label-line-height) / 2);\n }\n :host([empty]:not(:focus-within)) .input-wrapper {\n opacity: 0;\n }\n :host([empty]:not(:focus-within)) .input,\n :host([empty]:not(:focus-within)) ::slotted(:is(input, textarea))::placeholder,\n :host([empty]:not(:focus-within)) ::slotted(select) {\n color: transparent;\n transition: color 150ms;\n }\n\n .field.no-label::after {\n clip-path: none !important;\n }\n`"
|
|
4819
4830
|
}
|
|
4820
4831
|
],
|
|
4821
4832
|
"exports": [
|
|
@@ -5671,7 +5682,7 @@
|
|
|
5671
5682
|
{
|
|
5672
5683
|
"kind": "variable",
|
|
5673
5684
|
"name": "styles",
|
|
5674
|
-
"default": "css `\n :host {\n --u-elevation-level: var(--u-menu-elevation-level, 2);\n }\n\n .menu {\n position: absolute;\n display: flex;\n min-width: var(--u-menu-min-width, 112px);\n max-width: var(--u-menu-max-width, 280px);\n background: var(--u-menu-background-color, var(--u-color-surface-container, rgb(243, 237, 247)));\n border-radius: var(--u-menu-shape-corner, var(--u-shape-corner-extra-small, 4px));\n opacity: 0;\n transition: transform 350ms cubic-bezier(0.19, 1, 0.22, 1) 350ms, opacity 350ms;\n transform: scale3d(0, 0, 1);\n transform-origin: top;\n z-index: var(--u-menu-z-index, 1020);\n }\n .menu.up {\n transform: scale3d(1, 0, 0);\n transform-origin: bottom;\n }\n\n .content {\n width: 100%;\n padding-block: var(--u-menu-padding, 8px);\n opacity: 0;\n transition: opacity 1ms 400ms;\n overflow: auto;\n }\n\n :host([open]) .menu {\n opacity: 1;\n transition: transform 350ms cubic-bezier(0.19, 1, 0.22, 1), opacity 250ms;\n transform: scale3d(1, 1, 1);\n }\n :host([open]) .content {\n opacity: 1;\n transition: opacity 300ms 150ms;\n }\n
|
|
5685
|
+
"default": "css `\n :host {\n --u-elevation-level: var(--u-menu-elevation-level, 2);\n display: block;\n width: 0;\n }\n\n :host([positioning=relative]) {\n position: relative;\n }\n\n :host([positioning=fixed]) {\n position: fixed;\n }\n\n .ref {\n position: absolute;\n inset-inline-start: 0;\n pointer-events: none;\n }\n\n .menu {\n position: absolute;\n display: flex;\n min-width: var(--u-menu-min-width, 112px);\n max-width: var(--u-menu-max-width, 280px);\n background: var(--u-menu-background-color, var(--u-color-surface-container, rgb(243, 237, 247)));\n border-radius: var(--u-menu-shape-corner, var(--u-shape-corner-extra-small, 4px));\n opacity: 0;\n transition: transform 350ms cubic-bezier(0.19, 1, 0.22, 1) 350ms, opacity 350ms;\n transform: scale3d(0, 0, 1);\n transform-origin: top;\n z-index: var(--u-menu-z-index, 1020);\n }\n .menu.up {\n transform: scale3d(1, 0, 0);\n transform-origin: bottom;\n }\n\n .content {\n width: 100%;\n padding-block: var(--u-menu-padding, 8px);\n opacity: 0;\n transition: opacity 1ms 400ms;\n overflow: auto;\n }\n\n :host([open]) .menu {\n opacity: 1;\n transition: transform 350ms cubic-bezier(0.19, 1, 0.22, 1), opacity 250ms;\n transform: scale3d(1, 1, 1);\n }\n :host([open]) .content {\n opacity: 1;\n transition: opacity 300ms 150ms;\n }\n`"
|
|
5675
5686
|
}
|
|
5676
5687
|
],
|
|
5677
5688
|
"exports": [
|
|
@@ -5722,6 +5733,16 @@
|
|
|
5722
5733
|
"attribute": "open",
|
|
5723
5734
|
"reflects": true
|
|
5724
5735
|
},
|
|
5736
|
+
{
|
|
5737
|
+
"kind": "field",
|
|
5738
|
+
"name": "positioning",
|
|
5739
|
+
"type": {
|
|
5740
|
+
"text": "'relative' | 'fixed'"
|
|
5741
|
+
},
|
|
5742
|
+
"default": "'relative'",
|
|
5743
|
+
"attribute": "positioning",
|
|
5744
|
+
"reflects": true
|
|
5745
|
+
},
|
|
5725
5746
|
{
|
|
5726
5747
|
"kind": "field",
|
|
5727
5748
|
"name": "manualFocus",
|
|
@@ -5735,7 +5756,7 @@
|
|
|
5735
5756
|
"kind": "field",
|
|
5736
5757
|
"name": "anchorCorner",
|
|
5737
5758
|
"type": {
|
|
5738
|
-
"text": "'start-start' | 'start-end' | 'end-start' | 'end-end'"
|
|
5759
|
+
"text": "'auto-start' | 'auto-end' | 'start-start' | 'start-end' | 'end-start' | 'end-end'"
|
|
5739
5760
|
},
|
|
5740
5761
|
"default": "'end-start'",
|
|
5741
5762
|
"description": "The corner of the anchor which to align the menu in the standard logical\nproperty style of <block>-<inline> e.g. `'end-start'`.",
|
|
@@ -5746,56 +5767,52 @@
|
|
|
5746
5767
|
"kind": "field",
|
|
5747
5768
|
"name": "direction",
|
|
5748
5769
|
"type": {
|
|
5749
|
-
"text": "'start' | 'end'"
|
|
5770
|
+
"text": "'up-start' | 'up-end' | 'down-start' | 'down-end'"
|
|
5750
5771
|
},
|
|
5751
|
-
"default": "'end'",
|
|
5752
|
-
"description": "The direction of the menu. e.g. `'end'`.\n\nNOTE: This value may not be respected by the menu positioning algorithm\nif the menu would render outside the viewport.",
|
|
5772
|
+
"default": "'down-end'",
|
|
5773
|
+
"description": "The direction of the menu. e.g. `'down-end'`.\n\nNOTE: This value may not be respected by the menu positioning algorithm\nif the menu would render outside the viewport.",
|
|
5753
5774
|
"attribute": "direction",
|
|
5754
5775
|
"reflects": true
|
|
5755
5776
|
},
|
|
5756
5777
|
{
|
|
5757
5778
|
"kind": "field",
|
|
5758
|
-
"name": "
|
|
5779
|
+
"name": "allowOverflow",
|
|
5759
5780
|
"type": {
|
|
5760
5781
|
"text": "boolean"
|
|
5761
5782
|
},
|
|
5762
|
-
"default": "
|
|
5763
|
-
"description": "
|
|
5764
|
-
"attribute": "
|
|
5783
|
+
"default": "false",
|
|
5784
|
+
"description": "Don't limit the height of the menu",
|
|
5785
|
+
"attribute": "allow-overflow",
|
|
5765
5786
|
"reflects": true
|
|
5766
5787
|
},
|
|
5767
5788
|
{
|
|
5768
5789
|
"kind": "field",
|
|
5769
|
-
"name": "
|
|
5790
|
+
"name": "menu",
|
|
5770
5791
|
"type": {
|
|
5771
|
-
"text": "
|
|
5772
|
-
}
|
|
5773
|
-
"description": "Set a selector to auto attach to a toggle element",
|
|
5774
|
-
"attribute": "toggle-selector",
|
|
5775
|
-
"reflects": true
|
|
5792
|
+
"text": "HTMLElement"
|
|
5793
|
+
}
|
|
5776
5794
|
},
|
|
5777
5795
|
{
|
|
5778
5796
|
"kind": "field",
|
|
5779
|
-
"name": "
|
|
5797
|
+
"name": "ref",
|
|
5780
5798
|
"type": {
|
|
5781
5799
|
"text": "HTMLElement"
|
|
5782
5800
|
}
|
|
5783
5801
|
},
|
|
5784
5802
|
{
|
|
5785
5803
|
"kind": "field",
|
|
5786
|
-
"name": "anchorElement",
|
|
5804
|
+
"name": "#anchorElement",
|
|
5805
|
+
"privacy": "private",
|
|
5787
5806
|
"type": {
|
|
5788
|
-
"text": "HTMLElement"
|
|
5807
|
+
"text": "HTMLElement | null | undefined"
|
|
5789
5808
|
}
|
|
5790
5809
|
},
|
|
5791
5810
|
{
|
|
5792
5811
|
"kind": "field",
|
|
5793
|
-
"name": "
|
|
5812
|
+
"name": "anchorElement",
|
|
5794
5813
|
"type": {
|
|
5795
|
-
"text": "HTMLElement | null"
|
|
5796
|
-
}
|
|
5797
|
-
"privacy": "private",
|
|
5798
|
-
"default": "null"
|
|
5814
|
+
"text": "HTMLElement | null | undefined"
|
|
5815
|
+
}
|
|
5799
5816
|
},
|
|
5800
5817
|
{
|
|
5801
5818
|
"kind": "field",
|
|
@@ -5821,13 +5838,11 @@
|
|
|
5821
5838
|
},
|
|
5822
5839
|
{
|
|
5823
5840
|
"kind": "method",
|
|
5824
|
-
"name": "resetMenu"
|
|
5825
|
-
"privacy": "private"
|
|
5841
|
+
"name": "#resetMenu"
|
|
5826
5842
|
},
|
|
5827
5843
|
{
|
|
5828
5844
|
"kind": "method",
|
|
5829
|
-
"name": "setToOpenUpOrDown",
|
|
5830
|
-
"privacy": "private",
|
|
5845
|
+
"name": "#setToOpenUpOrDown",
|
|
5831
5846
|
"return": {
|
|
5832
5847
|
"type": {
|
|
5833
5848
|
"text": "void"
|
|
@@ -5835,23 +5850,22 @@
|
|
|
5835
5850
|
},
|
|
5836
5851
|
"parameters": [
|
|
5837
5852
|
{
|
|
5838
|
-
"name": "
|
|
5853
|
+
"name": "menuPosition",
|
|
5839
5854
|
"type": {
|
|
5840
|
-
"text": "
|
|
5855
|
+
"text": "MenuPosition"
|
|
5841
5856
|
}
|
|
5842
5857
|
},
|
|
5843
5858
|
{
|
|
5844
|
-
"name": "
|
|
5859
|
+
"name": "menuSize",
|
|
5845
5860
|
"type": {
|
|
5846
|
-
"text": "
|
|
5861
|
+
"text": "MenuSize"
|
|
5847
5862
|
}
|
|
5848
5863
|
}
|
|
5849
5864
|
]
|
|
5850
5865
|
},
|
|
5851
5866
|
{
|
|
5852
5867
|
"kind": "method",
|
|
5853
|
-
"name": "
|
|
5854
|
-
"privacy": "private",
|
|
5868
|
+
"name": "#openBlockAuto",
|
|
5855
5869
|
"return": {
|
|
5856
5870
|
"type": {
|
|
5857
5871
|
"text": "void"
|
|
@@ -5859,23 +5873,22 @@
|
|
|
5859
5873
|
},
|
|
5860
5874
|
"parameters": [
|
|
5861
5875
|
{
|
|
5862
|
-
"name": "
|
|
5876
|
+
"name": "menuPosition",
|
|
5863
5877
|
"type": {
|
|
5864
|
-
"text": "
|
|
5878
|
+
"text": "MenuPosition"
|
|
5865
5879
|
}
|
|
5866
5880
|
},
|
|
5867
5881
|
{
|
|
5868
|
-
"name": "
|
|
5882
|
+
"name": "menuSize",
|
|
5869
5883
|
"type": {
|
|
5870
|
-
"text": "
|
|
5884
|
+
"text": "MenuSize"
|
|
5871
5885
|
}
|
|
5872
5886
|
}
|
|
5873
5887
|
]
|
|
5874
5888
|
},
|
|
5875
5889
|
{
|
|
5876
5890
|
"kind": "method",
|
|
5877
|
-
"name": "
|
|
5878
|
-
"privacy": "private",
|
|
5891
|
+
"name": "#tryOpenUp",
|
|
5879
5892
|
"return": {
|
|
5880
5893
|
"type": {
|
|
5881
5894
|
"text": "void"
|
|
@@ -5883,23 +5896,103 @@
|
|
|
5883
5896
|
},
|
|
5884
5897
|
"parameters": [
|
|
5885
5898
|
{
|
|
5886
|
-
"name": "
|
|
5899
|
+
"name": "side",
|
|
5887
5900
|
"type": {
|
|
5888
|
-
"text": "
|
|
5901
|
+
"text": "AnchorCornerBlockSide"
|
|
5889
5902
|
}
|
|
5890
5903
|
},
|
|
5891
5904
|
{
|
|
5892
|
-
"name": "
|
|
5905
|
+
"name": "menuSize",
|
|
5893
5906
|
"type": {
|
|
5894
|
-
"text": "
|
|
5907
|
+
"text": "MenuSize"
|
|
5895
5908
|
}
|
|
5896
5909
|
}
|
|
5897
5910
|
]
|
|
5898
5911
|
},
|
|
5899
5912
|
{
|
|
5900
5913
|
"kind": "method",
|
|
5901
|
-
"name": "
|
|
5902
|
-
"
|
|
5914
|
+
"name": "#tryOpenDown",
|
|
5915
|
+
"return": {
|
|
5916
|
+
"type": {
|
|
5917
|
+
"text": "void"
|
|
5918
|
+
}
|
|
5919
|
+
},
|
|
5920
|
+
"parameters": [
|
|
5921
|
+
{
|
|
5922
|
+
"name": "side",
|
|
5923
|
+
"type": {
|
|
5924
|
+
"text": "AnchorCornerBlockSide"
|
|
5925
|
+
}
|
|
5926
|
+
},
|
|
5927
|
+
{
|
|
5928
|
+
"name": "menuSize",
|
|
5929
|
+
"type": {
|
|
5930
|
+
"text": "MenuSize"
|
|
5931
|
+
}
|
|
5932
|
+
}
|
|
5933
|
+
]
|
|
5934
|
+
},
|
|
5935
|
+
{
|
|
5936
|
+
"kind": "method",
|
|
5937
|
+
"name": "#openToLargestBlockSide",
|
|
5938
|
+
"parameters": [
|
|
5939
|
+
{
|
|
5940
|
+
"name": "side",
|
|
5941
|
+
"type": {
|
|
5942
|
+
"text": "AnchorCornerBlockSide"
|
|
5943
|
+
}
|
|
5944
|
+
}
|
|
5945
|
+
]
|
|
5946
|
+
},
|
|
5947
|
+
{
|
|
5948
|
+
"kind": "method",
|
|
5949
|
+
"name": "#setToOpenToStartOrEnd",
|
|
5950
|
+
"return": {
|
|
5951
|
+
"type": {
|
|
5952
|
+
"text": "void"
|
|
5953
|
+
}
|
|
5954
|
+
},
|
|
5955
|
+
"parameters": [
|
|
5956
|
+
{
|
|
5957
|
+
"name": "menuPosition",
|
|
5958
|
+
"type": {
|
|
5959
|
+
"text": "MenuPosition"
|
|
5960
|
+
}
|
|
5961
|
+
},
|
|
5962
|
+
{
|
|
5963
|
+
"name": "menuSize",
|
|
5964
|
+
"type": {
|
|
5965
|
+
"text": "MenuSize"
|
|
5966
|
+
}
|
|
5967
|
+
}
|
|
5968
|
+
]
|
|
5969
|
+
},
|
|
5970
|
+
{
|
|
5971
|
+
"kind": "method",
|
|
5972
|
+
"name": "#tryOpenLeft",
|
|
5973
|
+
"return": {
|
|
5974
|
+
"type": {
|
|
5975
|
+
"text": "void"
|
|
5976
|
+
}
|
|
5977
|
+
},
|
|
5978
|
+
"parameters": [
|
|
5979
|
+
{
|
|
5980
|
+
"name": "side",
|
|
5981
|
+
"type": {
|
|
5982
|
+
"text": "AnchorCornerInlineSide"
|
|
5983
|
+
}
|
|
5984
|
+
},
|
|
5985
|
+
{
|
|
5986
|
+
"name": "menuSize",
|
|
5987
|
+
"type": {
|
|
5988
|
+
"text": "MenuSize"
|
|
5989
|
+
}
|
|
5990
|
+
}
|
|
5991
|
+
]
|
|
5992
|
+
},
|
|
5993
|
+
{
|
|
5994
|
+
"kind": "method",
|
|
5995
|
+
"name": "#tryOpenRight",
|
|
5903
5996
|
"return": {
|
|
5904
5997
|
"type": {
|
|
5905
5998
|
"text": "void"
|
|
@@ -5907,36 +6000,72 @@
|
|
|
5907
6000
|
},
|
|
5908
6001
|
"parameters": [
|
|
5909
6002
|
{
|
|
5910
|
-
"name": "
|
|
6003
|
+
"name": "side",
|
|
5911
6004
|
"type": {
|
|
5912
|
-
"text": "
|
|
6005
|
+
"text": "AnchorCornerInlineSide"
|
|
5913
6006
|
}
|
|
5914
6007
|
},
|
|
5915
6008
|
{
|
|
5916
|
-
"name": "
|
|
6009
|
+
"name": "menuSize",
|
|
6010
|
+
"type": {
|
|
6011
|
+
"text": "MenuSize"
|
|
6012
|
+
}
|
|
6013
|
+
}
|
|
6014
|
+
]
|
|
6015
|
+
},
|
|
6016
|
+
{
|
|
6017
|
+
"kind": "method",
|
|
6018
|
+
"name": "#openToLargestInlineSide",
|
|
6019
|
+
"parameters": [
|
|
6020
|
+
{
|
|
6021
|
+
"name": "side",
|
|
6022
|
+
"type": {
|
|
6023
|
+
"text": "AnchorCornerInlineSide"
|
|
6024
|
+
}
|
|
6025
|
+
}
|
|
6026
|
+
]
|
|
6027
|
+
},
|
|
6028
|
+
{
|
|
6029
|
+
"kind": "method",
|
|
6030
|
+
"name": "#openUp",
|
|
6031
|
+
"parameters": [
|
|
6032
|
+
{
|
|
6033
|
+
"name": "side",
|
|
6034
|
+
"type": {
|
|
6035
|
+
"text": "AnchorCornerBlockSide"
|
|
6036
|
+
}
|
|
6037
|
+
}
|
|
6038
|
+
]
|
|
6039
|
+
},
|
|
6040
|
+
{
|
|
6041
|
+
"kind": "method",
|
|
6042
|
+
"name": "#openDown",
|
|
6043
|
+
"parameters": [
|
|
6044
|
+
{
|
|
6045
|
+
"name": "side",
|
|
5917
6046
|
"type": {
|
|
5918
|
-
"text": "
|
|
6047
|
+
"text": "AnchorCornerBlockSide"
|
|
5919
6048
|
}
|
|
5920
6049
|
}
|
|
5921
6050
|
]
|
|
5922
6051
|
},
|
|
5923
6052
|
{
|
|
5924
6053
|
"kind": "method",
|
|
5925
|
-
"name": "
|
|
6054
|
+
"name": "getMenuPosition",
|
|
5926
6055
|
"privacy": "private",
|
|
5927
6056
|
"return": {
|
|
5928
6057
|
"type": {
|
|
5929
|
-
"text": "
|
|
6058
|
+
"text": "MenuPosition"
|
|
5930
6059
|
}
|
|
5931
6060
|
}
|
|
5932
6061
|
},
|
|
5933
6062
|
{
|
|
5934
6063
|
"kind": "method",
|
|
5935
|
-
"name": "
|
|
6064
|
+
"name": "getMenuSize",
|
|
5936
6065
|
"privacy": "private",
|
|
5937
6066
|
"return": {
|
|
5938
6067
|
"type": {
|
|
5939
|
-
"text": "
|
|
6068
|
+
"text": "MenuSize"
|
|
5940
6069
|
}
|
|
5941
6070
|
}
|
|
5942
6071
|
}
|
|
@@ -5950,6 +6079,14 @@
|
|
|
5950
6079
|
"description": "Opens the menu and makes it visible. Alternative to the `.show()`, `.close()` and `.toggle()` methods",
|
|
5951
6080
|
"fieldName": "open"
|
|
5952
6081
|
},
|
|
6082
|
+
{
|
|
6083
|
+
"name": "positioning",
|
|
6084
|
+
"type": {
|
|
6085
|
+
"text": "'relative' | 'fixed'"
|
|
6086
|
+
},
|
|
6087
|
+
"default": "'relative'",
|
|
6088
|
+
"fieldName": "positioning"
|
|
6089
|
+
},
|
|
5953
6090
|
{
|
|
5954
6091
|
"name": "manualFocus",
|
|
5955
6092
|
"type": {
|
|
@@ -5961,7 +6098,7 @@
|
|
|
5961
6098
|
{
|
|
5962
6099
|
"name": "anchor-corner",
|
|
5963
6100
|
"type": {
|
|
5964
|
-
"text": "'start-start' | 'start-end' | 'end-start' | 'end-end'"
|
|
6101
|
+
"text": "'auto-start' | 'auto-end' | 'start-start' | 'start-end' | 'end-start' | 'end-end'"
|
|
5965
6102
|
},
|
|
5966
6103
|
"default": "'end-start'",
|
|
5967
6104
|
"description": "The corner of the anchor which to align the menu in the standard logical\nproperty style of <block>-<inline> e.g. `'end-start'`.",
|
|
@@ -5970,28 +6107,20 @@
|
|
|
5970
6107
|
{
|
|
5971
6108
|
"name": "direction",
|
|
5972
6109
|
"type": {
|
|
5973
|
-
"text": "'start' | 'end'"
|
|
6110
|
+
"text": "'up-start' | 'up-end' | 'down-start' | 'down-end'"
|
|
5974
6111
|
},
|
|
5975
|
-
"default": "'end'",
|
|
5976
|
-
"description": "The direction of the menu. e.g. `'end'`.\n\nNOTE: This value may not be respected by the menu positioning algorithm\nif the menu would render outside the viewport.",
|
|
6112
|
+
"default": "'down-end'",
|
|
6113
|
+
"description": "The direction of the menu. e.g. `'down-end'`.\n\nNOTE: This value may not be respected by the menu positioning algorithm\nif the menu would render outside the viewport.",
|
|
5977
6114
|
"fieldName": "direction"
|
|
5978
6115
|
},
|
|
5979
6116
|
{
|
|
5980
|
-
"name": "
|
|
6117
|
+
"name": "allow-overflow",
|
|
5981
6118
|
"type": {
|
|
5982
6119
|
"text": "boolean"
|
|
5983
6120
|
},
|
|
5984
|
-
"default": "
|
|
5985
|
-
"description": "
|
|
5986
|
-
"fieldName": "
|
|
5987
|
-
},
|
|
5988
|
-
{
|
|
5989
|
-
"name": "toggle-selector",
|
|
5990
|
-
"type": {
|
|
5991
|
-
"text": "string | undefined"
|
|
5992
|
-
},
|
|
5993
|
-
"description": "Set a selector to auto attach to a toggle element",
|
|
5994
|
-
"fieldName": "toggleSelector"
|
|
6121
|
+
"default": "false",
|
|
6122
|
+
"description": "Don't limit the height of the menu",
|
|
6123
|
+
"fieldName": "allowOverflow"
|
|
5995
6124
|
}
|
|
5996
6125
|
],
|
|
5997
6126
|
"superclass": {
|
|
@@ -9130,6 +9259,17 @@
|
|
|
9130
9259
|
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
9131
9260
|
}
|
|
9132
9261
|
},
|
|
9262
|
+
{
|
|
9263
|
+
"kind": "field",
|
|
9264
|
+
"name": "field",
|
|
9265
|
+
"type": {
|
|
9266
|
+
"text": "UmField"
|
|
9267
|
+
},
|
|
9268
|
+
"inheritedFrom": {
|
|
9269
|
+
"name": "UmTextFieldBase",
|
|
9270
|
+
"module": "src/shared/text-field-base/text-field-base.ts"
|
|
9271
|
+
}
|
|
9272
|
+
},
|
|
9133
9273
|
{
|
|
9134
9274
|
"kind": "field",
|
|
9135
9275
|
"name": "form",
|
|
@@ -10005,7 +10145,7 @@
|
|
|
10005
10145
|
{
|
|
10006
10146
|
"kind": "variable",
|
|
10007
10147
|
"name": "styles",
|
|
10008
|
-
"default": "css `\n u-menu-item {\n font-weight: var(--u-typeahead-item-font-weight, var(--u-font-weight-regular, 400));\n }\n`"
|
|
10148
|
+
"default": "css `\n :host {\n display: inline-block;\n }\n\n u-menu-item {\n font-weight: var(--u-typeahead-item-font-weight, var(--u-font-weight-regular, 400));\n }\n`"
|
|
10009
10149
|
}
|
|
10010
10150
|
],
|
|
10011
10151
|
"exports": [
|
|
@@ -10058,7 +10198,7 @@
|
|
|
10058
10198
|
"kind": "field",
|
|
10059
10199
|
"name": "target",
|
|
10060
10200
|
"type": {
|
|
10061
|
-
"text": "HTMLElement & {input?: HTMLInputElement; value: string} | null"
|
|
10201
|
+
"text": "HTMLElement & {input?: HTMLInputElement; field?: UmField; value: string} | null"
|
|
10062
10202
|
},
|
|
10063
10203
|
"privacy": "private",
|
|
10064
10204
|
"default": "null"
|
|
@@ -10319,6 +10459,11 @@
|
|
|
10319
10459
|
}
|
|
10320
10460
|
}
|
|
10321
10461
|
]
|
|
10462
|
+
},
|
|
10463
|
+
{
|
|
10464
|
+
"kind": "method",
|
|
10465
|
+
"name": "getMenuAnchor",
|
|
10466
|
+
"privacy": "private"
|
|
10322
10467
|
}
|
|
10323
10468
|
],
|
|
10324
10469
|
"events": [
|
|
@@ -10839,6 +10984,13 @@
|
|
|
10839
10984
|
"attribute": "invalid",
|
|
10840
10985
|
"reflects": true
|
|
10841
10986
|
},
|
|
10987
|
+
{
|
|
10988
|
+
"kind": "field",
|
|
10989
|
+
"name": "field",
|
|
10990
|
+
"type": {
|
|
10991
|
+
"text": "UmField"
|
|
10992
|
+
}
|
|
10993
|
+
},
|
|
10842
10994
|
{
|
|
10843
10995
|
"kind": "field",
|
|
10844
10996
|
"name": "form",
|