@universal-material/web 3.0.26 → 3.0.27
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/css/universal-material.css +1 -22
- package/css/universal-material.min.css +2 -2
- package/custom-elements.json +412 -412
- package/navigation/side-navigation.d.ts +1 -0
- package/navigation/side-navigation.d.ts.map +1 -1
- package/navigation/side-navigation.js +1 -0
- package/navigation/side-navigation.js.map +1 -1
- package/package.json +1 -1
- package/scss/_common.scss +0 -22
- package/shared/base.styles.d.ts.map +1 -1
- package/shared/base.styles.js +19 -0
- package/shared/base.styles.js.map +1 -1
- package/snackbar/snackbar.d.ts +2 -0
- package/snackbar/snackbar.d.ts.map +1 -1
- package/snackbar/snackbar.js +2 -0
- package/snackbar/snackbar.js.map +1 -1
package/custom-elements.json
CHANGED
|
@@ -463,331 +463,6 @@
|
|
|
463
463
|
}
|
|
464
464
|
]
|
|
465
465
|
},
|
|
466
|
-
{
|
|
467
|
-
"kind": "javascript-module",
|
|
468
|
-
"path": "src/card/card-content.styles.ts",
|
|
469
|
-
"declarations": [
|
|
470
|
-
{
|
|
471
|
-
"kind": "variable",
|
|
472
|
-
"name": "styles",
|
|
473
|
-
"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`"
|
|
474
|
-
}
|
|
475
|
-
],
|
|
476
|
-
"exports": [
|
|
477
|
-
{
|
|
478
|
-
"kind": "js",
|
|
479
|
-
"name": "styles",
|
|
480
|
-
"declaration": {
|
|
481
|
-
"name": "styles",
|
|
482
|
-
"module": "src/card/card-content.styles.ts"
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
]
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
"kind": "javascript-module",
|
|
489
|
-
"path": "src/card/card-content.ts",
|
|
490
|
-
"declarations": [
|
|
491
|
-
{
|
|
492
|
-
"kind": "class",
|
|
493
|
-
"description": "",
|
|
494
|
-
"name": "UmCardContent",
|
|
495
|
-
"members": [
|
|
496
|
-
{
|
|
497
|
-
"kind": "field",
|
|
498
|
-
"name": "hasContent",
|
|
499
|
-
"type": {
|
|
500
|
-
"text": "boolean"
|
|
501
|
-
},
|
|
502
|
-
"default": "false",
|
|
503
|
-
"attribute": "has-content",
|
|
504
|
-
"reflects": true
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
"kind": "method",
|
|
508
|
-
"name": "handleSlotChange",
|
|
509
|
-
"privacy": "private",
|
|
510
|
-
"parameters": [
|
|
511
|
-
{
|
|
512
|
-
"name": "e",
|
|
513
|
-
"type": {
|
|
514
|
-
"text": "Event"
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
]
|
|
518
|
-
}
|
|
519
|
-
],
|
|
520
|
-
"attributes": [
|
|
521
|
-
{
|
|
522
|
-
"name": "has-content",
|
|
523
|
-
"type": {
|
|
524
|
-
"text": "boolean"
|
|
525
|
-
},
|
|
526
|
-
"default": "false",
|
|
527
|
-
"fieldName": "hasContent"
|
|
528
|
-
}
|
|
529
|
-
],
|
|
530
|
-
"superclass": {
|
|
531
|
-
"name": "LitElement",
|
|
532
|
-
"package": "lit"
|
|
533
|
-
},
|
|
534
|
-
"tagName": "u-card-content",
|
|
535
|
-
"customElement": true
|
|
536
|
-
}
|
|
537
|
-
],
|
|
538
|
-
"exports": [
|
|
539
|
-
{
|
|
540
|
-
"kind": "js",
|
|
541
|
-
"name": "UmCardContent",
|
|
542
|
-
"declaration": {
|
|
543
|
-
"name": "UmCardContent",
|
|
544
|
-
"module": "src/card/card-content.ts"
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"kind": "custom-element-definition",
|
|
549
|
-
"name": "u-card-content",
|
|
550
|
-
"declaration": {
|
|
551
|
-
"name": "UmCardContent",
|
|
552
|
-
"module": "src/card/card-content.ts"
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
]
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
"kind": "javascript-module",
|
|
559
|
-
"path": "src/card/card-media.styles.ts",
|
|
560
|
-
"declarations": [
|
|
561
|
-
{
|
|
562
|
-
"kind": "variable",
|
|
563
|
-
"name": "styles",
|
|
564
|
-
"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`"
|
|
565
|
-
}
|
|
566
|
-
],
|
|
567
|
-
"exports": [
|
|
568
|
-
{
|
|
569
|
-
"kind": "js",
|
|
570
|
-
"name": "styles",
|
|
571
|
-
"declaration": {
|
|
572
|
-
"name": "styles",
|
|
573
|
-
"module": "src/card/card-media.styles.ts"
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
]
|
|
577
|
-
},
|
|
578
|
-
{
|
|
579
|
-
"kind": "javascript-module",
|
|
580
|
-
"path": "src/card/card-media.ts",
|
|
581
|
-
"declarations": [
|
|
582
|
-
{
|
|
583
|
-
"kind": "class",
|
|
584
|
-
"description": "",
|
|
585
|
-
"name": "UmCardMedia",
|
|
586
|
-
"members": [
|
|
587
|
-
{
|
|
588
|
-
"kind": "field",
|
|
589
|
-
"name": "wide",
|
|
590
|
-
"type": {
|
|
591
|
-
"text": "boolean"
|
|
592
|
-
},
|
|
593
|
-
"default": "false",
|
|
594
|
-
"attribute": "wide",
|
|
595
|
-
"reflects": true
|
|
596
|
-
}
|
|
597
|
-
],
|
|
598
|
-
"attributes": [
|
|
599
|
-
{
|
|
600
|
-
"name": "wide",
|
|
601
|
-
"type": {
|
|
602
|
-
"text": "boolean"
|
|
603
|
-
},
|
|
604
|
-
"default": "false",
|
|
605
|
-
"fieldName": "wide"
|
|
606
|
-
}
|
|
607
|
-
],
|
|
608
|
-
"superclass": {
|
|
609
|
-
"name": "LitElement",
|
|
610
|
-
"package": "lit"
|
|
611
|
-
},
|
|
612
|
-
"tagName": "u-card-media",
|
|
613
|
-
"customElement": true
|
|
614
|
-
}
|
|
615
|
-
],
|
|
616
|
-
"exports": [
|
|
617
|
-
{
|
|
618
|
-
"kind": "js",
|
|
619
|
-
"name": "UmCardMedia",
|
|
620
|
-
"declaration": {
|
|
621
|
-
"name": "UmCardMedia",
|
|
622
|
-
"module": "src/card/card-media.ts"
|
|
623
|
-
}
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
"kind": "custom-element-definition",
|
|
627
|
-
"name": "u-card-media",
|
|
628
|
-
"declaration": {
|
|
629
|
-
"name": "UmCardMedia",
|
|
630
|
-
"module": "src/card/card-media.ts"
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
]
|
|
634
|
-
},
|
|
635
|
-
{
|
|
636
|
-
"kind": "javascript-module",
|
|
637
|
-
"path": "src/card/card.styles.ts",
|
|
638
|
-
"declarations": [
|
|
639
|
-
{
|
|
640
|
-
"kind": "variable",
|
|
641
|
-
"name": "styles",
|
|
642
|
-
"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(:not(:first-child)) {\n margin-top: 8px;\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`"
|
|
643
|
-
}
|
|
644
|
-
],
|
|
645
|
-
"exports": [
|
|
646
|
-
{
|
|
647
|
-
"kind": "js",
|
|
648
|
-
"name": "styles",
|
|
649
|
-
"declaration": {
|
|
650
|
-
"name": "styles",
|
|
651
|
-
"module": "src/card/card.styles.ts"
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
]
|
|
655
|
-
},
|
|
656
|
-
{
|
|
657
|
-
"kind": "javascript-module",
|
|
658
|
-
"path": "src/card/card.ts",
|
|
659
|
-
"declarations": [
|
|
660
|
-
{
|
|
661
|
-
"kind": "class",
|
|
662
|
-
"description": "",
|
|
663
|
-
"name": "UmCard",
|
|
664
|
-
"members": [
|
|
665
|
-
{
|
|
666
|
-
"kind": "field",
|
|
667
|
-
"name": "variant",
|
|
668
|
-
"type": {
|
|
669
|
-
"text": "UmCardVariant"
|
|
670
|
-
},
|
|
671
|
-
"default": "'filled'",
|
|
672
|
-
"description": "The Card variant to render.",
|
|
673
|
-
"attribute": "variant",
|
|
674
|
-
"reflects": true
|
|
675
|
-
}
|
|
676
|
-
],
|
|
677
|
-
"attributes": [
|
|
678
|
-
{
|
|
679
|
-
"name": "variant",
|
|
680
|
-
"type": {
|
|
681
|
-
"text": "UmCardVariant"
|
|
682
|
-
},
|
|
683
|
-
"default": "'filled'",
|
|
684
|
-
"description": "The Card variant to render.",
|
|
685
|
-
"fieldName": "variant"
|
|
686
|
-
}
|
|
687
|
-
],
|
|
688
|
-
"superclass": {
|
|
689
|
-
"name": "LitElement",
|
|
690
|
-
"package": "lit"
|
|
691
|
-
},
|
|
692
|
-
"tagName": "u-card",
|
|
693
|
-
"customElement": true
|
|
694
|
-
}
|
|
695
|
-
],
|
|
696
|
-
"exports": [
|
|
697
|
-
{
|
|
698
|
-
"kind": "js",
|
|
699
|
-
"name": "UmCard",
|
|
700
|
-
"declaration": {
|
|
701
|
-
"name": "UmCard",
|
|
702
|
-
"module": "src/card/card.ts"
|
|
703
|
-
}
|
|
704
|
-
},
|
|
705
|
-
{
|
|
706
|
-
"kind": "custom-element-definition",
|
|
707
|
-
"name": "u-card",
|
|
708
|
-
"declaration": {
|
|
709
|
-
"name": "UmCard",
|
|
710
|
-
"module": "src/card/card.ts"
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
]
|
|
714
|
-
},
|
|
715
|
-
{
|
|
716
|
-
"kind": "javascript-module",
|
|
717
|
-
"path": "src/checkbox/checkbox.ts",
|
|
718
|
-
"declarations": [
|
|
719
|
-
{
|
|
720
|
-
"kind": "class",
|
|
721
|
-
"description": "",
|
|
722
|
-
"name": "UmCheckbox",
|
|
723
|
-
"members": [
|
|
724
|
-
{
|
|
725
|
-
"kind": "field",
|
|
726
|
-
"name": "ripple",
|
|
727
|
-
"type": {
|
|
728
|
-
"text": "UmRipple"
|
|
729
|
-
},
|
|
730
|
-
"privacy": "private"
|
|
731
|
-
},
|
|
732
|
-
{
|
|
733
|
-
"kind": "field",
|
|
734
|
-
"name": "assignedInputs",
|
|
735
|
-
"type": {
|
|
736
|
-
"text": "HTMLInputElement[]"
|
|
737
|
-
},
|
|
738
|
-
"privacy": "private"
|
|
739
|
-
},
|
|
740
|
-
{
|
|
741
|
-
"kind": "field",
|
|
742
|
-
"name": "input",
|
|
743
|
-
"type": {
|
|
744
|
-
"text": "HTMLInputElement | undefined"
|
|
745
|
-
},
|
|
746
|
-
"privacy": "private"
|
|
747
|
-
},
|
|
748
|
-
{
|
|
749
|
-
"kind": "method",
|
|
750
|
-
"name": "handleSlotChange",
|
|
751
|
-
"privacy": "private",
|
|
752
|
-
"return": {
|
|
753
|
-
"type": {
|
|
754
|
-
"text": "void"
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
},
|
|
758
|
-
{
|
|
759
|
-
"kind": "field",
|
|
760
|
-
"name": "handleInputChange",
|
|
761
|
-
"privacy": "private"
|
|
762
|
-
}
|
|
763
|
-
],
|
|
764
|
-
"superclass": {
|
|
765
|
-
"name": "LitElement",
|
|
766
|
-
"package": "lit"
|
|
767
|
-
},
|
|
768
|
-
"tagName": "u-checkbox",
|
|
769
|
-
"customElement": true
|
|
770
|
-
}
|
|
771
|
-
],
|
|
772
|
-
"exports": [
|
|
773
|
-
{
|
|
774
|
-
"kind": "js",
|
|
775
|
-
"name": "UmCheckbox",
|
|
776
|
-
"declaration": {
|
|
777
|
-
"name": "UmCheckbox",
|
|
778
|
-
"module": "src/checkbox/checkbox.ts"
|
|
779
|
-
}
|
|
780
|
-
},
|
|
781
|
-
{
|
|
782
|
-
"kind": "custom-element-definition",
|
|
783
|
-
"name": "u-checkbox",
|
|
784
|
-
"declaration": {
|
|
785
|
-
"name": "UmCheckbox",
|
|
786
|
-
"module": "src/checkbox/checkbox.ts"
|
|
787
|
-
}
|
|
788
|
-
}
|
|
789
|
-
]
|
|
790
|
-
},
|
|
791
466
|
{
|
|
792
467
|
"kind": "javascript-module",
|
|
793
468
|
"path": "src/button/button-base.ts",
|
|
@@ -2648,139 +2323,464 @@
|
|
|
2648
2323
|
"fieldName": "toggle"
|
|
2649
2324
|
},
|
|
2650
2325
|
{
|
|
2651
|
-
"name": "has-selection-icon",
|
|
2326
|
+
"name": "has-selection-icon",
|
|
2327
|
+
"type": {
|
|
2328
|
+
"text": "boolean"
|
|
2329
|
+
},
|
|
2330
|
+
"default": "false",
|
|
2331
|
+
"fieldName": "hasSelectionIcon"
|
|
2332
|
+
},
|
|
2333
|
+
{
|
|
2334
|
+
"name": "selected",
|
|
2335
|
+
"type": {
|
|
2336
|
+
"text": "boolean"
|
|
2337
|
+
},
|
|
2338
|
+
"default": "false",
|
|
2339
|
+
"description": "Sets the selected state. When false, displays the default icon. When true,\ndisplays the selected icon, or the default icon If no `slot=\"selected\"`\nicon is provided.",
|
|
2340
|
+
"fieldName": "selected"
|
|
2341
|
+
},
|
|
2342
|
+
{
|
|
2343
|
+
"name": "aria-label-selected",
|
|
2344
|
+
"type": {
|
|
2345
|
+
"text": "string"
|
|
2346
|
+
},
|
|
2347
|
+
"default": "''",
|
|
2348
|
+
"description": "The `aria-label` of the button when the button is toggleable and selected.",
|
|
2349
|
+
"fieldName": "ariaLabelSelected"
|
|
2350
|
+
},
|
|
2351
|
+
{
|
|
2352
|
+
"name": "type",
|
|
2353
|
+
"type": {
|
|
2354
|
+
"text": "string"
|
|
2355
|
+
},
|
|
2356
|
+
"default": "'submit'",
|
|
2357
|
+
"fieldName": "type",
|
|
2358
|
+
"inheritedFrom": {
|
|
2359
|
+
"name": "UmButtonBase",
|
|
2360
|
+
"module": "src/button/button-base.ts"
|
|
2361
|
+
}
|
|
2362
|
+
},
|
|
2363
|
+
{
|
|
2364
|
+
"name": "value",
|
|
2365
|
+
"type": {
|
|
2366
|
+
"text": "string"
|
|
2367
|
+
},
|
|
2368
|
+
"default": "''",
|
|
2369
|
+
"fieldName": "value",
|
|
2370
|
+
"inheritedFrom": {
|
|
2371
|
+
"name": "UmButtonBase",
|
|
2372
|
+
"module": "src/button/button-base.ts"
|
|
2373
|
+
}
|
|
2374
|
+
},
|
|
2375
|
+
{
|
|
2376
|
+
"name": "form",
|
|
2377
|
+
"type": {
|
|
2378
|
+
"text": "HTMLFormElement | null"
|
|
2379
|
+
},
|
|
2380
|
+
"description": "The `<form>` element to associate the button with (its form owner). The value of this attribute must be the id of a `<form>` in the same document. (If this attribute is not set, the button is associated with its ancestor `<form>` element, if any.)",
|
|
2381
|
+
"fieldName": "form",
|
|
2382
|
+
"inheritedFrom": {
|
|
2383
|
+
"name": "UmButtonBase",
|
|
2384
|
+
"module": "src/button/button-base.ts"
|
|
2385
|
+
}
|
|
2386
|
+
},
|
|
2387
|
+
{
|
|
2388
|
+
"name": "disabled",
|
|
2389
|
+
"type": {
|
|
2390
|
+
"text": "boolean"
|
|
2391
|
+
},
|
|
2392
|
+
"default": "false",
|
|
2393
|
+
"description": "Whether the button is disabled or not.",
|
|
2394
|
+
"fieldName": "disabled",
|
|
2395
|
+
"inheritedFrom": {
|
|
2396
|
+
"name": "UmButtonWrapper",
|
|
2397
|
+
"module": "src/shared/button-wrapper.ts"
|
|
2398
|
+
}
|
|
2399
|
+
},
|
|
2400
|
+
{
|
|
2401
|
+
"name": "href",
|
|
2402
|
+
"type": {
|
|
2403
|
+
"text": "string | undefined"
|
|
2404
|
+
},
|
|
2405
|
+
"description": "The URL that the link button points to.",
|
|
2406
|
+
"fieldName": "href",
|
|
2407
|
+
"inheritedFrom": {
|
|
2408
|
+
"name": "UmButtonWrapper",
|
|
2409
|
+
"module": "src/shared/button-wrapper.ts"
|
|
2410
|
+
}
|
|
2411
|
+
},
|
|
2412
|
+
{
|
|
2413
|
+
"name": "target",
|
|
2414
|
+
"type": {
|
|
2415
|
+
"text": "string | undefined"
|
|
2416
|
+
},
|
|
2417
|
+
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
2418
|
+
"fieldName": "target",
|
|
2419
|
+
"inheritedFrom": {
|
|
2420
|
+
"name": "UmButtonWrapper",
|
|
2421
|
+
"module": "src/shared/button-wrapper.ts"
|
|
2422
|
+
}
|
|
2423
|
+
},
|
|
2424
|
+
{
|
|
2425
|
+
"name": "name",
|
|
2426
|
+
"type": {
|
|
2427
|
+
"text": "string | undefined"
|
|
2428
|
+
},
|
|
2429
|
+
"fieldName": "name",
|
|
2430
|
+
"inheritedFrom": {
|
|
2431
|
+
"name": "UmButtonWrapper",
|
|
2432
|
+
"module": "src/shared/button-wrapper.ts"
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2435
|
+
],
|
|
2436
|
+
"superclass": {
|
|
2437
|
+
"name": "UmButtonBase",
|
|
2438
|
+
"module": "/src/button/button-base.js"
|
|
2439
|
+
},
|
|
2440
|
+
"tagName": "u-icon-button",
|
|
2441
|
+
"customElement": true
|
|
2442
|
+
}
|
|
2443
|
+
],
|
|
2444
|
+
"exports": [
|
|
2445
|
+
{
|
|
2446
|
+
"kind": "js",
|
|
2447
|
+
"name": "UmIconButton",
|
|
2448
|
+
"declaration": {
|
|
2449
|
+
"name": "UmIconButton",
|
|
2450
|
+
"module": "src/button/icon-button.ts"
|
|
2451
|
+
}
|
|
2452
|
+
},
|
|
2453
|
+
{
|
|
2454
|
+
"kind": "custom-element-definition",
|
|
2455
|
+
"name": "u-icon-button",
|
|
2456
|
+
"declaration": {
|
|
2457
|
+
"name": "UmIconButton",
|
|
2458
|
+
"module": "src/button/icon-button.ts"
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2461
|
+
]
|
|
2462
|
+
},
|
|
2463
|
+
{
|
|
2464
|
+
"kind": "javascript-module",
|
|
2465
|
+
"path": "src/card/card-content.styles.ts",
|
|
2466
|
+
"declarations": [
|
|
2467
|
+
{
|
|
2468
|
+
"kind": "variable",
|
|
2469
|
+
"name": "styles",
|
|
2470
|
+
"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`"
|
|
2471
|
+
}
|
|
2472
|
+
],
|
|
2473
|
+
"exports": [
|
|
2474
|
+
{
|
|
2475
|
+
"kind": "js",
|
|
2476
|
+
"name": "styles",
|
|
2477
|
+
"declaration": {
|
|
2478
|
+
"name": "styles",
|
|
2479
|
+
"module": "src/card/card-content.styles.ts"
|
|
2480
|
+
}
|
|
2481
|
+
}
|
|
2482
|
+
]
|
|
2483
|
+
},
|
|
2484
|
+
{
|
|
2485
|
+
"kind": "javascript-module",
|
|
2486
|
+
"path": "src/card/card-content.ts",
|
|
2487
|
+
"declarations": [
|
|
2488
|
+
{
|
|
2489
|
+
"kind": "class",
|
|
2490
|
+
"description": "",
|
|
2491
|
+
"name": "UmCardContent",
|
|
2492
|
+
"members": [
|
|
2493
|
+
{
|
|
2494
|
+
"kind": "field",
|
|
2495
|
+
"name": "hasContent",
|
|
2496
|
+
"type": {
|
|
2497
|
+
"text": "boolean"
|
|
2498
|
+
},
|
|
2499
|
+
"default": "false",
|
|
2500
|
+
"attribute": "has-content",
|
|
2501
|
+
"reflects": true
|
|
2502
|
+
},
|
|
2503
|
+
{
|
|
2504
|
+
"kind": "method",
|
|
2505
|
+
"name": "handleSlotChange",
|
|
2506
|
+
"privacy": "private",
|
|
2507
|
+
"parameters": [
|
|
2508
|
+
{
|
|
2509
|
+
"name": "e",
|
|
2510
|
+
"type": {
|
|
2511
|
+
"text": "Event"
|
|
2512
|
+
}
|
|
2513
|
+
}
|
|
2514
|
+
]
|
|
2515
|
+
}
|
|
2516
|
+
],
|
|
2517
|
+
"attributes": [
|
|
2518
|
+
{
|
|
2519
|
+
"name": "has-content",
|
|
2520
|
+
"type": {
|
|
2521
|
+
"text": "boolean"
|
|
2522
|
+
},
|
|
2523
|
+
"default": "false",
|
|
2524
|
+
"fieldName": "hasContent"
|
|
2525
|
+
}
|
|
2526
|
+
],
|
|
2527
|
+
"superclass": {
|
|
2528
|
+
"name": "LitElement",
|
|
2529
|
+
"package": "lit"
|
|
2530
|
+
},
|
|
2531
|
+
"tagName": "u-card-content",
|
|
2532
|
+
"customElement": true
|
|
2533
|
+
}
|
|
2534
|
+
],
|
|
2535
|
+
"exports": [
|
|
2536
|
+
{
|
|
2537
|
+
"kind": "js",
|
|
2538
|
+
"name": "UmCardContent",
|
|
2539
|
+
"declaration": {
|
|
2540
|
+
"name": "UmCardContent",
|
|
2541
|
+
"module": "src/card/card-content.ts"
|
|
2542
|
+
}
|
|
2543
|
+
},
|
|
2544
|
+
{
|
|
2545
|
+
"kind": "custom-element-definition",
|
|
2546
|
+
"name": "u-card-content",
|
|
2547
|
+
"declaration": {
|
|
2548
|
+
"name": "UmCardContent",
|
|
2549
|
+
"module": "src/card/card-content.ts"
|
|
2550
|
+
}
|
|
2551
|
+
}
|
|
2552
|
+
]
|
|
2553
|
+
},
|
|
2554
|
+
{
|
|
2555
|
+
"kind": "javascript-module",
|
|
2556
|
+
"path": "src/card/card-media.styles.ts",
|
|
2557
|
+
"declarations": [
|
|
2558
|
+
{
|
|
2559
|
+
"kind": "variable",
|
|
2560
|
+
"name": "styles",
|
|
2561
|
+
"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`"
|
|
2562
|
+
}
|
|
2563
|
+
],
|
|
2564
|
+
"exports": [
|
|
2565
|
+
{
|
|
2566
|
+
"kind": "js",
|
|
2567
|
+
"name": "styles",
|
|
2568
|
+
"declaration": {
|
|
2569
|
+
"name": "styles",
|
|
2570
|
+
"module": "src/card/card-media.styles.ts"
|
|
2571
|
+
}
|
|
2572
|
+
}
|
|
2573
|
+
]
|
|
2574
|
+
},
|
|
2575
|
+
{
|
|
2576
|
+
"kind": "javascript-module",
|
|
2577
|
+
"path": "src/card/card-media.ts",
|
|
2578
|
+
"declarations": [
|
|
2579
|
+
{
|
|
2580
|
+
"kind": "class",
|
|
2581
|
+
"description": "",
|
|
2582
|
+
"name": "UmCardMedia",
|
|
2583
|
+
"members": [
|
|
2584
|
+
{
|
|
2585
|
+
"kind": "field",
|
|
2586
|
+
"name": "wide",
|
|
2652
2587
|
"type": {
|
|
2653
2588
|
"text": "boolean"
|
|
2654
2589
|
},
|
|
2655
2590
|
"default": "false",
|
|
2656
|
-
"
|
|
2657
|
-
|
|
2591
|
+
"attribute": "wide",
|
|
2592
|
+
"reflects": true
|
|
2593
|
+
}
|
|
2594
|
+
],
|
|
2595
|
+
"attributes": [
|
|
2658
2596
|
{
|
|
2659
|
-
"name": "
|
|
2597
|
+
"name": "wide",
|
|
2660
2598
|
"type": {
|
|
2661
2599
|
"text": "boolean"
|
|
2662
2600
|
},
|
|
2663
2601
|
"default": "false",
|
|
2664
|
-
"
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2602
|
+
"fieldName": "wide"
|
|
2603
|
+
}
|
|
2604
|
+
],
|
|
2605
|
+
"superclass": {
|
|
2606
|
+
"name": "LitElement",
|
|
2607
|
+
"package": "lit"
|
|
2608
|
+
},
|
|
2609
|
+
"tagName": "u-card-media",
|
|
2610
|
+
"customElement": true
|
|
2611
|
+
}
|
|
2612
|
+
],
|
|
2613
|
+
"exports": [
|
|
2614
|
+
{
|
|
2615
|
+
"kind": "js",
|
|
2616
|
+
"name": "UmCardMedia",
|
|
2617
|
+
"declaration": {
|
|
2618
|
+
"name": "UmCardMedia",
|
|
2619
|
+
"module": "src/card/card-media.ts"
|
|
2620
|
+
}
|
|
2621
|
+
},
|
|
2622
|
+
{
|
|
2623
|
+
"kind": "custom-element-definition",
|
|
2624
|
+
"name": "u-card-media",
|
|
2625
|
+
"declaration": {
|
|
2626
|
+
"name": "UmCardMedia",
|
|
2627
|
+
"module": "src/card/card-media.ts"
|
|
2628
|
+
}
|
|
2629
|
+
}
|
|
2630
|
+
]
|
|
2631
|
+
},
|
|
2632
|
+
{
|
|
2633
|
+
"kind": "javascript-module",
|
|
2634
|
+
"path": "src/card/card.styles.ts",
|
|
2635
|
+
"declarations": [
|
|
2636
|
+
{
|
|
2637
|
+
"kind": "variable",
|
|
2638
|
+
"name": "styles",
|
|
2639
|
+
"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(:not(:first-child)) {\n margin-top: 8px;\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`"
|
|
2640
|
+
}
|
|
2641
|
+
],
|
|
2642
|
+
"exports": [
|
|
2643
|
+
{
|
|
2644
|
+
"kind": "js",
|
|
2645
|
+
"name": "styles",
|
|
2646
|
+
"declaration": {
|
|
2647
|
+
"name": "styles",
|
|
2648
|
+
"module": "src/card/card.styles.ts"
|
|
2649
|
+
}
|
|
2650
|
+
}
|
|
2651
|
+
]
|
|
2652
|
+
},
|
|
2653
|
+
{
|
|
2654
|
+
"kind": "javascript-module",
|
|
2655
|
+
"path": "src/card/card.ts",
|
|
2656
|
+
"declarations": [
|
|
2657
|
+
{
|
|
2658
|
+
"kind": "class",
|
|
2659
|
+
"description": "",
|
|
2660
|
+
"name": "UmCard",
|
|
2661
|
+
"members": [
|
|
2676
2662
|
{
|
|
2677
|
-
"
|
|
2663
|
+
"kind": "field",
|
|
2664
|
+
"name": "variant",
|
|
2678
2665
|
"type": {
|
|
2679
|
-
"text": "
|
|
2666
|
+
"text": "UmCardVariant"
|
|
2680
2667
|
},
|
|
2681
|
-
"default": "'
|
|
2682
|
-
"
|
|
2683
|
-
"
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2668
|
+
"default": "'filled'",
|
|
2669
|
+
"description": "The Card variant to render.",
|
|
2670
|
+
"attribute": "variant",
|
|
2671
|
+
"reflects": true
|
|
2672
|
+
}
|
|
2673
|
+
],
|
|
2674
|
+
"attributes": [
|
|
2688
2675
|
{
|
|
2689
|
-
"name": "
|
|
2676
|
+
"name": "variant",
|
|
2690
2677
|
"type": {
|
|
2691
|
-
"text": "
|
|
2678
|
+
"text": "UmCardVariant"
|
|
2692
2679
|
},
|
|
2693
|
-
"default": "''",
|
|
2694
|
-
"
|
|
2695
|
-
"
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2680
|
+
"default": "'filled'",
|
|
2681
|
+
"description": "The Card variant to render.",
|
|
2682
|
+
"fieldName": "variant"
|
|
2683
|
+
}
|
|
2684
|
+
],
|
|
2685
|
+
"superclass": {
|
|
2686
|
+
"name": "LitElement",
|
|
2687
|
+
"package": "lit"
|
|
2688
|
+
},
|
|
2689
|
+
"tagName": "u-card",
|
|
2690
|
+
"customElement": true
|
|
2691
|
+
}
|
|
2692
|
+
],
|
|
2693
|
+
"exports": [
|
|
2694
|
+
{
|
|
2695
|
+
"kind": "js",
|
|
2696
|
+
"name": "UmCard",
|
|
2697
|
+
"declaration": {
|
|
2698
|
+
"name": "UmCard",
|
|
2699
|
+
"module": "src/card/card.ts"
|
|
2700
|
+
}
|
|
2701
|
+
},
|
|
2702
|
+
{
|
|
2703
|
+
"kind": "custom-element-definition",
|
|
2704
|
+
"name": "u-card",
|
|
2705
|
+
"declaration": {
|
|
2706
|
+
"name": "UmCard",
|
|
2707
|
+
"module": "src/card/card.ts"
|
|
2708
|
+
}
|
|
2709
|
+
}
|
|
2710
|
+
]
|
|
2711
|
+
},
|
|
2712
|
+
{
|
|
2713
|
+
"kind": "javascript-module",
|
|
2714
|
+
"path": "src/checkbox/checkbox.ts",
|
|
2715
|
+
"declarations": [
|
|
2716
|
+
{
|
|
2717
|
+
"kind": "class",
|
|
2718
|
+
"description": "",
|
|
2719
|
+
"name": "UmCheckbox",
|
|
2720
|
+
"members": [
|
|
2700
2721
|
{
|
|
2701
|
-
"
|
|
2722
|
+
"kind": "field",
|
|
2723
|
+
"name": "ripple",
|
|
2702
2724
|
"type": {
|
|
2703
|
-
"text": "
|
|
2725
|
+
"text": "UmRipple"
|
|
2704
2726
|
},
|
|
2705
|
-
"
|
|
2706
|
-
"fieldName": "form",
|
|
2707
|
-
"inheritedFrom": {
|
|
2708
|
-
"name": "UmButtonBase",
|
|
2709
|
-
"module": "src/button/button-base.ts"
|
|
2710
|
-
}
|
|
2727
|
+
"privacy": "private"
|
|
2711
2728
|
},
|
|
2712
2729
|
{
|
|
2713
|
-
"
|
|
2730
|
+
"kind": "field",
|
|
2731
|
+
"name": "assignedInputs",
|
|
2714
2732
|
"type": {
|
|
2715
|
-
"text": "
|
|
2733
|
+
"text": "HTMLInputElement[]"
|
|
2716
2734
|
},
|
|
2717
|
-
"
|
|
2718
|
-
"description": "Whether the button is disabled or not.",
|
|
2719
|
-
"fieldName": "disabled",
|
|
2720
|
-
"inheritedFrom": {
|
|
2721
|
-
"name": "UmButtonWrapper",
|
|
2722
|
-
"module": "src/shared/button-wrapper.ts"
|
|
2723
|
-
}
|
|
2735
|
+
"privacy": "private"
|
|
2724
2736
|
},
|
|
2725
2737
|
{
|
|
2726
|
-
"
|
|
2738
|
+
"kind": "field",
|
|
2739
|
+
"name": "input",
|
|
2727
2740
|
"type": {
|
|
2728
|
-
"text": "
|
|
2741
|
+
"text": "HTMLInputElement | undefined"
|
|
2729
2742
|
},
|
|
2730
|
-
"
|
|
2731
|
-
"fieldName": "href",
|
|
2732
|
-
"inheritedFrom": {
|
|
2733
|
-
"name": "UmButtonWrapper",
|
|
2734
|
-
"module": "src/shared/button-wrapper.ts"
|
|
2735
|
-
}
|
|
2743
|
+
"privacy": "private"
|
|
2736
2744
|
},
|
|
2737
2745
|
{
|
|
2738
|
-
"
|
|
2739
|
-
"
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
"name": "UmButtonWrapper",
|
|
2746
|
-
"module": "src/shared/button-wrapper.ts"
|
|
2746
|
+
"kind": "method",
|
|
2747
|
+
"name": "handleSlotChange",
|
|
2748
|
+
"privacy": "private",
|
|
2749
|
+
"return": {
|
|
2750
|
+
"type": {
|
|
2751
|
+
"text": "void"
|
|
2752
|
+
}
|
|
2747
2753
|
}
|
|
2748
2754
|
},
|
|
2749
2755
|
{
|
|
2750
|
-
"
|
|
2751
|
-
"
|
|
2752
|
-
|
|
2753
|
-
},
|
|
2754
|
-
"fieldName": "name",
|
|
2755
|
-
"inheritedFrom": {
|
|
2756
|
-
"name": "UmButtonWrapper",
|
|
2757
|
-
"module": "src/shared/button-wrapper.ts"
|
|
2758
|
-
}
|
|
2756
|
+
"kind": "field",
|
|
2757
|
+
"name": "handleInputChange",
|
|
2758
|
+
"privacy": "private"
|
|
2759
2759
|
}
|
|
2760
2760
|
],
|
|
2761
2761
|
"superclass": {
|
|
2762
|
-
"name": "
|
|
2763
|
-
"
|
|
2762
|
+
"name": "LitElement",
|
|
2763
|
+
"package": "lit"
|
|
2764
2764
|
},
|
|
2765
|
-
"tagName": "u-
|
|
2765
|
+
"tagName": "u-checkbox",
|
|
2766
2766
|
"customElement": true
|
|
2767
2767
|
}
|
|
2768
2768
|
],
|
|
2769
2769
|
"exports": [
|
|
2770
2770
|
{
|
|
2771
2771
|
"kind": "js",
|
|
2772
|
-
"name": "
|
|
2772
|
+
"name": "UmCheckbox",
|
|
2773
2773
|
"declaration": {
|
|
2774
|
-
"name": "
|
|
2775
|
-
"module": "src/
|
|
2774
|
+
"name": "UmCheckbox",
|
|
2775
|
+
"module": "src/checkbox/checkbox.ts"
|
|
2776
2776
|
}
|
|
2777
2777
|
},
|
|
2778
2778
|
{
|
|
2779
2779
|
"kind": "custom-element-definition",
|
|
2780
|
-
"name": "u-
|
|
2780
|
+
"name": "u-checkbox",
|
|
2781
2781
|
"declaration": {
|
|
2782
|
-
"name": "
|
|
2783
|
-
"module": "src/
|
|
2782
|
+
"name": "UmCheckbox",
|
|
2783
|
+
"module": "src/checkbox/checkbox.ts"
|
|
2784
2784
|
}
|
|
2785
2785
|
}
|
|
2786
2786
|
]
|
|
@@ -5415,7 +5415,7 @@
|
|
|
5415
5415
|
{
|
|
5416
5416
|
"kind": "variable",
|
|
5417
5417
|
"name": "styles",
|
|
5418
|
-
"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 }\n`"
|
|
5418
|
+
"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-visible {\n animation: u-focus-pulse 400ms ease;\n animation-fill-mode: forwards;\n outline-offset: 2px;\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 2px solid var(--u-color-primary);\n }\n 50% {\n outline: 4px solid var(--u-color-primary);\n }\n 100% {\n outline: 2px solid var(--u-color-primary);\n }\n }\n`"
|
|
5419
5419
|
}
|
|
5420
5420
|
],
|
|
5421
5421
|
"exports": [
|