@universal-material/web 3.0.82 → 3.0.83

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.
@@ -583,6 +583,255 @@
583
583
  }
584
584
  ]
585
585
  },
586
+ {
587
+ "kind": "javascript-module",
588
+ "path": "src/card/card-content.styles.ts",
589
+ "declarations": [
590
+ {
591
+ "kind": "variable",
592
+ "name": "styles",
593
+ "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`"
594
+ }
595
+ ],
596
+ "exports": [
597
+ {
598
+ "kind": "js",
599
+ "name": "styles",
600
+ "declaration": {
601
+ "name": "styles",
602
+ "module": "src/card/card-content.styles.ts"
603
+ }
604
+ }
605
+ ]
606
+ },
607
+ {
608
+ "kind": "javascript-module",
609
+ "path": "src/card/card-content.ts",
610
+ "declarations": [
611
+ {
612
+ "kind": "class",
613
+ "description": "",
614
+ "name": "UmCardContent",
615
+ "members": [
616
+ {
617
+ "kind": "field",
618
+ "name": "hasContent",
619
+ "type": {
620
+ "text": "boolean"
621
+ },
622
+ "default": "false",
623
+ "attribute": "has-content",
624
+ "reflects": true
625
+ },
626
+ {
627
+ "kind": "method",
628
+ "name": "handleSlotChange",
629
+ "privacy": "private",
630
+ "parameters": [
631
+ {
632
+ "name": "e",
633
+ "type": {
634
+ "text": "Event"
635
+ }
636
+ }
637
+ ]
638
+ }
639
+ ],
640
+ "attributes": [
641
+ {
642
+ "name": "has-content",
643
+ "type": {
644
+ "text": "boolean"
645
+ },
646
+ "default": "false",
647
+ "fieldName": "hasContent"
648
+ }
649
+ ],
650
+ "superclass": {
651
+ "name": "LitElement",
652
+ "package": "lit"
653
+ },
654
+ "tagName": "u-card-content",
655
+ "customElement": true
656
+ }
657
+ ],
658
+ "exports": [
659
+ {
660
+ "kind": "js",
661
+ "name": "UmCardContent",
662
+ "declaration": {
663
+ "name": "UmCardContent",
664
+ "module": "src/card/card-content.ts"
665
+ }
666
+ },
667
+ {
668
+ "kind": "custom-element-definition",
669
+ "name": "u-card-content",
670
+ "declaration": {
671
+ "name": "UmCardContent",
672
+ "module": "src/card/card-content.ts"
673
+ }
674
+ }
675
+ ]
676
+ },
677
+ {
678
+ "kind": "javascript-module",
679
+ "path": "src/card/card-media.styles.ts",
680
+ "declarations": [
681
+ {
682
+ "kind": "variable",
683
+ "name": "styles",
684
+ "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`"
685
+ }
686
+ ],
687
+ "exports": [
688
+ {
689
+ "kind": "js",
690
+ "name": "styles",
691
+ "declaration": {
692
+ "name": "styles",
693
+ "module": "src/card/card-media.styles.ts"
694
+ }
695
+ }
696
+ ]
697
+ },
698
+ {
699
+ "kind": "javascript-module",
700
+ "path": "src/card/card-media.ts",
701
+ "declarations": [
702
+ {
703
+ "kind": "class",
704
+ "description": "",
705
+ "name": "UmCardMedia",
706
+ "members": [
707
+ {
708
+ "kind": "field",
709
+ "name": "wide",
710
+ "type": {
711
+ "text": "boolean"
712
+ },
713
+ "default": "false",
714
+ "attribute": "wide",
715
+ "reflects": true
716
+ }
717
+ ],
718
+ "attributes": [
719
+ {
720
+ "name": "wide",
721
+ "type": {
722
+ "text": "boolean"
723
+ },
724
+ "default": "false",
725
+ "fieldName": "wide"
726
+ }
727
+ ],
728
+ "superclass": {
729
+ "name": "LitElement",
730
+ "package": "lit"
731
+ },
732
+ "tagName": "u-card-media",
733
+ "customElement": true
734
+ }
735
+ ],
736
+ "exports": [
737
+ {
738
+ "kind": "js",
739
+ "name": "UmCardMedia",
740
+ "declaration": {
741
+ "name": "UmCardMedia",
742
+ "module": "src/card/card-media.ts"
743
+ }
744
+ },
745
+ {
746
+ "kind": "custom-element-definition",
747
+ "name": "u-card-media",
748
+ "declaration": {
749
+ "name": "UmCardMedia",
750
+ "module": "src/card/card-media.ts"
751
+ }
752
+ }
753
+ ]
754
+ },
755
+ {
756
+ "kind": "javascript-module",
757
+ "path": "src/card/card.styles.ts",
758
+ "declarations": [
759
+ {
760
+ "kind": "variable",
761
+ "name": "styles",
762
+ "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 --u-current-bg-color: var(--u-card-elevated-bg-color, var(var(--u-color-surface-container-low, rgb(247, 242, 250))));\n background-color: var(--u-current-bg-color);\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 --u-current-bg-color: var(--u-card-filled-bg-color, var(--u-color-surface-container-highest, rgb(230, 224, 233)));\n background-color: var(--u-current-bg-color);\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`"
763
+ }
764
+ ],
765
+ "exports": [
766
+ {
767
+ "kind": "js",
768
+ "name": "styles",
769
+ "declaration": {
770
+ "name": "styles",
771
+ "module": "src/card/card.styles.ts"
772
+ }
773
+ }
774
+ ]
775
+ },
776
+ {
777
+ "kind": "javascript-module",
778
+ "path": "src/card/card.ts",
779
+ "declarations": [
780
+ {
781
+ "kind": "class",
782
+ "description": "",
783
+ "name": "UmCard",
784
+ "members": [
785
+ {
786
+ "kind": "field",
787
+ "name": "variant",
788
+ "type": {
789
+ "text": "UmCardVariant"
790
+ },
791
+ "default": "'filled'",
792
+ "description": "The Card variant to render.",
793
+ "attribute": "variant",
794
+ "reflects": true
795
+ }
796
+ ],
797
+ "attributes": [
798
+ {
799
+ "name": "variant",
800
+ "type": {
801
+ "text": "UmCardVariant"
802
+ },
803
+ "default": "'filled'",
804
+ "description": "The Card variant to render.",
805
+ "fieldName": "variant"
806
+ }
807
+ ],
808
+ "superclass": {
809
+ "name": "LitElement",
810
+ "package": "lit"
811
+ },
812
+ "tagName": "u-card",
813
+ "customElement": true
814
+ }
815
+ ],
816
+ "exports": [
817
+ {
818
+ "kind": "js",
819
+ "name": "UmCard",
820
+ "declaration": {
821
+ "name": "UmCard",
822
+ "module": "src/card/card.ts"
823
+ }
824
+ },
825
+ {
826
+ "kind": "custom-element-definition",
827
+ "name": "u-card",
828
+ "declaration": {
829
+ "name": "UmCard",
830
+ "module": "src/card/card.ts"
831
+ }
832
+ }
833
+ ]
834
+ },
586
835
  {
587
836
  "kind": "javascript-module",
588
837
  "path": "src/button/button-base.styles.ts",
@@ -2659,256 +2908,7 @@
2659
2908
  },
2660
2909
  {
2661
2910
  "kind": "javascript-module",
2662
- "path": "src/card/card-content.styles.ts",
2663
- "declarations": [
2664
- {
2665
- "kind": "variable",
2666
- "name": "styles",
2667
- "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`"
2668
- }
2669
- ],
2670
- "exports": [
2671
- {
2672
- "kind": "js",
2673
- "name": "styles",
2674
- "declaration": {
2675
- "name": "styles",
2676
- "module": "src/card/card-content.styles.ts"
2677
- }
2678
- }
2679
- ]
2680
- },
2681
- {
2682
- "kind": "javascript-module",
2683
- "path": "src/card/card-content.ts",
2684
- "declarations": [
2685
- {
2686
- "kind": "class",
2687
- "description": "",
2688
- "name": "UmCardContent",
2689
- "members": [
2690
- {
2691
- "kind": "field",
2692
- "name": "hasContent",
2693
- "type": {
2694
- "text": "boolean"
2695
- },
2696
- "default": "false",
2697
- "attribute": "has-content",
2698
- "reflects": true
2699
- },
2700
- {
2701
- "kind": "method",
2702
- "name": "handleSlotChange",
2703
- "privacy": "private",
2704
- "parameters": [
2705
- {
2706
- "name": "e",
2707
- "type": {
2708
- "text": "Event"
2709
- }
2710
- }
2711
- ]
2712
- }
2713
- ],
2714
- "attributes": [
2715
- {
2716
- "name": "has-content",
2717
- "type": {
2718
- "text": "boolean"
2719
- },
2720
- "default": "false",
2721
- "fieldName": "hasContent"
2722
- }
2723
- ],
2724
- "superclass": {
2725
- "name": "LitElement",
2726
- "package": "lit"
2727
- },
2728
- "tagName": "u-card-content",
2729
- "customElement": true
2730
- }
2731
- ],
2732
- "exports": [
2733
- {
2734
- "kind": "js",
2735
- "name": "UmCardContent",
2736
- "declaration": {
2737
- "name": "UmCardContent",
2738
- "module": "src/card/card-content.ts"
2739
- }
2740
- },
2741
- {
2742
- "kind": "custom-element-definition",
2743
- "name": "u-card-content",
2744
- "declaration": {
2745
- "name": "UmCardContent",
2746
- "module": "src/card/card-content.ts"
2747
- }
2748
- }
2749
- ]
2750
- },
2751
- {
2752
- "kind": "javascript-module",
2753
- "path": "src/card/card-media.styles.ts",
2754
- "declarations": [
2755
- {
2756
- "kind": "variable",
2757
- "name": "styles",
2758
- "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`"
2759
- }
2760
- ],
2761
- "exports": [
2762
- {
2763
- "kind": "js",
2764
- "name": "styles",
2765
- "declaration": {
2766
- "name": "styles",
2767
- "module": "src/card/card-media.styles.ts"
2768
- }
2769
- }
2770
- ]
2771
- },
2772
- {
2773
- "kind": "javascript-module",
2774
- "path": "src/card/card-media.ts",
2775
- "declarations": [
2776
- {
2777
- "kind": "class",
2778
- "description": "",
2779
- "name": "UmCardMedia",
2780
- "members": [
2781
- {
2782
- "kind": "field",
2783
- "name": "wide",
2784
- "type": {
2785
- "text": "boolean"
2786
- },
2787
- "default": "false",
2788
- "attribute": "wide",
2789
- "reflects": true
2790
- }
2791
- ],
2792
- "attributes": [
2793
- {
2794
- "name": "wide",
2795
- "type": {
2796
- "text": "boolean"
2797
- },
2798
- "default": "false",
2799
- "fieldName": "wide"
2800
- }
2801
- ],
2802
- "superclass": {
2803
- "name": "LitElement",
2804
- "package": "lit"
2805
- },
2806
- "tagName": "u-card-media",
2807
- "customElement": true
2808
- }
2809
- ],
2810
- "exports": [
2811
- {
2812
- "kind": "js",
2813
- "name": "UmCardMedia",
2814
- "declaration": {
2815
- "name": "UmCardMedia",
2816
- "module": "src/card/card-media.ts"
2817
- }
2818
- },
2819
- {
2820
- "kind": "custom-element-definition",
2821
- "name": "u-card-media",
2822
- "declaration": {
2823
- "name": "UmCardMedia",
2824
- "module": "src/card/card-media.ts"
2825
- }
2826
- }
2827
- ]
2828
- },
2829
- {
2830
- "kind": "javascript-module",
2831
- "path": "src/card/card.styles.ts",
2832
- "declarations": [
2833
- {
2834
- "kind": "variable",
2835
- "name": "styles",
2836
- "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 --u-current-bg-color: var(--u-card-elevated-bg-color, var(var(--u-color-surface-container-low, rgb(247, 242, 250))));\n background-color: var(--u-current-bg-color);\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 --u-current-bg-color: var(--u-card-filled-bg-color, var(--u-color-surface-container-highest, rgb(230, 224, 233)));\n background-color: var(--u-current-bg-color);\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`"
2837
- }
2838
- ],
2839
- "exports": [
2840
- {
2841
- "kind": "js",
2842
- "name": "styles",
2843
- "declaration": {
2844
- "name": "styles",
2845
- "module": "src/card/card.styles.ts"
2846
- }
2847
- }
2848
- ]
2849
- },
2850
- {
2851
- "kind": "javascript-module",
2852
- "path": "src/card/card.ts",
2853
- "declarations": [
2854
- {
2855
- "kind": "class",
2856
- "description": "",
2857
- "name": "UmCard",
2858
- "members": [
2859
- {
2860
- "kind": "field",
2861
- "name": "variant",
2862
- "type": {
2863
- "text": "UmCardVariant"
2864
- },
2865
- "default": "'filled'",
2866
- "description": "The Card variant to render.",
2867
- "attribute": "variant",
2868
- "reflects": true
2869
- }
2870
- ],
2871
- "attributes": [
2872
- {
2873
- "name": "variant",
2874
- "type": {
2875
- "text": "UmCardVariant"
2876
- },
2877
- "default": "'filled'",
2878
- "description": "The Card variant to render.",
2879
- "fieldName": "variant"
2880
- }
2881
- ],
2882
- "superclass": {
2883
- "name": "LitElement",
2884
- "package": "lit"
2885
- },
2886
- "tagName": "u-card",
2887
- "customElement": true
2888
- }
2889
- ],
2890
- "exports": [
2891
- {
2892
- "kind": "js",
2893
- "name": "UmCard",
2894
- "declaration": {
2895
- "name": "UmCard",
2896
- "module": "src/card/card.ts"
2897
- }
2898
- },
2899
- {
2900
- "kind": "custom-element-definition",
2901
- "name": "u-card",
2902
- "declaration": {
2903
- "name": "UmCard",
2904
- "module": "src/card/card.ts"
2905
- }
2906
- }
2907
- ]
2908
- },
2909
- {
2910
- "kind": "javascript-module",
2911
- "path": "src/checkbox/checkbox-list-item.ts",
2911
+ "path": "src/checkbox/checkbox-list-item.ts",
2912
2912
  "declarations": [
2913
2913
  {
2914
2914
  "kind": "class",
@@ -3651,12 +3651,12 @@
3651
3651
  },
3652
3652
  {
3653
3653
  "kind": "javascript-module",
3654
- "path": "src/chip-field/chip-field.styles.ts",
3654
+ "path": "src/chip/chip-set.styles.ts",
3655
3655
  "declarations": [
3656
3656
  {
3657
3657
  "kind": "variable",
3658
3658
  "name": "styles",
3659
- "default": "css `\n u-chip {\n flex-basis: 0;\n }\n\n .input {\n display: flex;\n gap: var(--u-chip-field-chips-gap, var(--u-spacing-extra-small, 4px));\n flex-wrap: wrap;\n }\n .input:has(u-chip) {\n margin-top: var(--u-chip-field-chips-margin, var(--u-spacing-extra-small, 4px));\n }\n .input input {\n width: auto;\n flex-basis: 200px;\n padding: 4px 0;\n margin-block: -4px;\n }\n`"
3659
+ "default": "css `\n :host {\n flex-wrap: wrap;\n }\n`"
3660
3660
  }
3661
3661
  ],
3662
3662
  "exports": [
@@ -3665,829 +3665,680 @@
3665
3665
  "name": "styles",
3666
3666
  "declaration": {
3667
3667
  "name": "styles",
3668
- "module": "src/chip-field/chip-field.styles.ts"
3668
+ "module": "src/chip/chip-set.styles.ts"
3669
3669
  }
3670
3670
  }
3671
3671
  ]
3672
3672
  },
3673
3673
  {
3674
3674
  "kind": "javascript-module",
3675
- "path": "src/chip-field/chip-field.ts",
3675
+ "path": "src/chip/chip-set.ts",
3676
3676
  "declarations": [
3677
3677
  {
3678
3678
  "kind": "class",
3679
3679
  "description": "",
3680
- "name": "UmChipField",
3680
+ "name": "UmChipSet",
3681
3681
  "members": [
3682
3682
  {
3683
3683
  "kind": "field",
3684
- "name": "input",
3684
+ "name": "alignment",
3685
3685
  "type": {
3686
- "text": "HTMLInputElement"
3686
+ "text": "'start' | 'center' | 'end'"
3687
+ },
3688
+ "default": "'start'",
3689
+ "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
3690
+ "attribute": "alignment",
3691
+ "reflects": true,
3692
+ "inheritedFrom": {
3693
+ "name": "UmSetBase",
3694
+ "module": "src/shared/sets/set-base.ts"
3695
+ }
3696
+ }
3697
+ ],
3698
+ "superclass": {
3699
+ "name": "UmSetBase",
3700
+ "module": "/src/shared/sets/set-base.js"
3701
+ },
3702
+ "tagName": "u-chip-set",
3703
+ "customElement": true,
3704
+ "attributes": [
3705
+ {
3706
+ "name": "alignment",
3707
+ "type": {
3708
+ "text": "'start' | 'center' | 'end'"
3709
+ },
3710
+ "default": "'start'",
3711
+ "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
3712
+ "fieldName": "alignment",
3713
+ "inheritedFrom": {
3714
+ "name": "UmSetBase",
3715
+ "module": "src/shared/sets/set-base.ts"
3687
3716
  }
3717
+ }
3718
+ ]
3719
+ }
3720
+ ],
3721
+ "exports": [
3722
+ {
3723
+ "kind": "js",
3724
+ "name": "UmChipSet",
3725
+ "declaration": {
3726
+ "name": "UmChipSet",
3727
+ "module": "src/chip/chip-set.ts"
3728
+ }
3729
+ },
3730
+ {
3731
+ "kind": "custom-element-definition",
3732
+ "name": "u-chip-set",
3733
+ "declaration": {
3734
+ "name": "UmChipSet",
3735
+ "module": "src/chip/chip-set.ts"
3736
+ }
3737
+ }
3738
+ ]
3739
+ },
3740
+ {
3741
+ "kind": "javascript-module",
3742
+ "path": "src/chip/chip.styles.ts",
3743
+ "declarations": [
3744
+ {
3745
+ "kind": "variable",
3746
+ "name": "styles",
3747
+ "default": "css `\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-bg-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`"
3748
+ }
3749
+ ],
3750
+ "exports": [
3751
+ {
3752
+ "kind": "js",
3753
+ "name": "styles",
3754
+ "declaration": {
3755
+ "name": "styles",
3756
+ "module": "src/chip/chip.styles.ts"
3757
+ }
3758
+ }
3759
+ ]
3760
+ },
3761
+ {
3762
+ "kind": "javascript-module",
3763
+ "path": "src/chip/chip.ts",
3764
+ "declarations": [
3765
+ {
3766
+ "kind": "class",
3767
+ "description": "",
3768
+ "name": "UmChip",
3769
+ "members": [
3770
+ {
3771
+ "kind": "field",
3772
+ "name": "#clickable",
3773
+ "privacy": "private",
3774
+ "type": {
3775
+ "text": "boolean"
3776
+ },
3777
+ "default": "false"
3688
3778
  },
3689
3779
  {
3690
3780
  "kind": "field",
3691
- "name": "name",
3781
+ "name": "#toggle",
3782
+ "privacy": "private",
3692
3783
  "type": {
3693
- "text": "string"
3784
+ "text": "boolean"
3694
3785
  },
3695
- "attribute": "name"
3786
+ "default": "false"
3696
3787
  },
3697
3788
  {
3698
3789
  "kind": "field",
3699
- "name": "manual",
3790
+ "name": "selected",
3700
3791
  "type": {
3701
3792
  "text": "boolean"
3702
3793
  },
3703
3794
  "default": "false",
3704
- "description": "If true, ignore enter key input",
3705
- "attribute": "manual"
3795
+ "description": "Whether the chip is selected or not",
3796
+ "attribute": "selected",
3797
+ "reflects": true
3706
3798
  },
3707
3799
  {
3708
3800
  "kind": "field",
3709
- "name": "formatter",
3801
+ "name": "clickable",
3710
3802
  "type": {
3711
- "text": "((value: any) => string) | undefined"
3803
+ "text": "boolean"
3712
3804
  },
3713
- "description": "A function return a string based on a item from the `value`. Useful when the items of value are objects."
3805
+ "attribute": "clickable",
3806
+ "reflects": true
3714
3807
  },
3715
3808
  {
3716
3809
  "kind": "field",
3717
- "name": "leadingIconTemplate",
3810
+ "name": "elevated",
3718
3811
  "type": {
3719
- "text": "((value: any) => string) | undefined"
3812
+ "text": "boolean"
3720
3813
  },
3721
- "description": "A string representing an HTML to be rendered inside as leading icon of each chip.\n\n_Note:_ Subject to signature change"
3814
+ "default": "false",
3815
+ "description": "Adds elevation to the chip",
3816
+ "attribute": "elevated",
3817
+ "reflects": true
3722
3818
  },
3723
3819
  {
3724
3820
  "kind": "field",
3725
- "name": "#value",
3726
- "privacy": "private",
3821
+ "name": "toggle",
3727
3822
  "type": {
3728
- "text": "any[]"
3823
+ "text": "boolean"
3729
3824
  },
3730
- "default": "[]"
3825
+ "description": "When true, the chip will toggle between selected and unselected\nstates",
3826
+ "attribute": "toggle",
3827
+ "reflects": true
3731
3828
  },
3732
3829
  {
3733
3830
  "kind": "field",
3734
- "name": "value",
3831
+ "name": "removable",
3735
3832
  "type": {
3736
- "text": "any[]"
3833
+ "text": "boolean"
3737
3834
  },
3738
- "description": "An array containing the value representation of each chip.\n\n_Note:_ Add or remove items directly from value array won't trigger a render on Chip Field. Use the methods `add` or `removeAt`."
3835
+ "default": "false",
3836
+ "description": "Add the remove icon",
3837
+ "attribute": "removable",
3838
+ "reflects": true
3739
3839
  },
3740
3840
  {
3741
- "kind": "method",
3742
- "name": "setFormValue",
3743
- "privacy": "private"
3841
+ "kind": "field",
3842
+ "name": "hideSelectedIcon",
3843
+ "type": {
3844
+ "text": "boolean"
3845
+ },
3846
+ "default": "false",
3847
+ "description": "Hide the selected icon",
3848
+ "attribute": "hide-selected-icon",
3849
+ "reflects": true
3744
3850
  },
3745
3851
  {
3746
- "kind": "method",
3747
- "name": "focus"
3852
+ "kind": "field",
3853
+ "name": "hasLeadingIcon",
3854
+ "type": {
3855
+ "text": "boolean"
3856
+ },
3857
+ "default": "false",
3858
+ "description": "Whether the chip has a leading icon or not\n\n_Note:_ Readonly",
3859
+ "attribute": "has-leading-icon",
3860
+ "reflects": true
3748
3861
  },
3749
3862
  {
3750
- "kind": "method",
3751
- "name": "renderControl",
3752
- "privacy": "protected",
3753
- "return": {
3754
- "type": {
3755
- "text": "HTMLTemplateResult"
3756
- }
3863
+ "kind": "field",
3864
+ "name": "hasSelectedIcon",
3865
+ "type": {
3866
+ "text": "boolean"
3757
3867
  },
3758
- "inheritedFrom": {
3759
- "name": "UmFieldBase",
3760
- "module": "src/field/field-base.ts"
3761
- }
3868
+ "default": "false",
3869
+ "description": "Whether the chip has a selected icon or not\n\n_Note:_ Readonly",
3870
+ "attribute": "has-selected-icon",
3871
+ "reflects": true
3762
3872
  },
3763
3873
  {
3764
- "kind": "method",
3765
- "name": "#getChips"
3874
+ "kind": "field",
3875
+ "name": "hasTrailingIcon",
3876
+ "type": {
3877
+ "text": "boolean"
3878
+ },
3879
+ "default": "false",
3880
+ "description": "Whether the chip has a trailing icon or not\n\n_Note:_ Readonly",
3881
+ "attribute": "has-trailing-icon",
3882
+ "reflects": true
3766
3883
  },
3767
3884
  {
3768
- "kind": "method",
3769
- "name": "#handleBlur"
3885
+ "kind": "field",
3886
+ "name": "assignedLeadingIcons",
3887
+ "type": {
3888
+ "text": "HTMLElement[]"
3889
+ },
3890
+ "privacy": "private"
3770
3891
  },
3771
3892
  {
3772
- "kind": "method",
3773
- "name": "#handleInput"
3893
+ "kind": "field",
3894
+ "name": "assignedSelectedIcons",
3895
+ "type": {
3896
+ "text": "HTMLElement[]"
3897
+ },
3898
+ "privacy": "private"
3899
+ },
3900
+ {
3901
+ "kind": "field",
3902
+ "name": "assignedTrailingIcons",
3903
+ "type": {
3904
+ "text": "HTMLElement[]"
3905
+ },
3906
+ "privacy": "private"
3907
+ },
3908
+ {
3909
+ "kind": "field",
3910
+ "name": "removeRipple",
3911
+ "type": {
3912
+ "text": "UmRipple"
3913
+ }
3774
3914
  },
3775
3915
  {
3776
3916
  "kind": "method",
3777
- "name": "#handleKeyDown",
3917
+ "name": "#handleRemoveClick",
3778
3918
  "parameters": [
3779
3919
  {
3780
3920
  "name": "e",
3781
3921
  "type": {
3782
- "text": "KeyboardEvent"
3922
+ "text": "Event"
3783
3923
  }
3784
3924
  }
3785
3925
  ]
3786
3926
  },
3787
3927
  {
3788
3928
  "kind": "method",
3789
- "name": "add",
3790
- "parameters": [
3791
- {
3792
- "name": "value",
3793
- "type": {
3794
- "text": "any"
3795
- }
3796
- },
3797
- {
3798
- "name": "triggerChange",
3799
- "default": "false"
3800
- }
3801
- ]
3929
+ "name": "#handleTrailingIconSlotChange"
3802
3930
  },
3803
3931
  {
3804
3932
  "kind": "method",
3805
- "name": "removeAt",
3806
- "parameters": [
3807
- {
3808
- "name": "index",
3809
- "type": {
3810
- "text": "number"
3811
- }
3812
- },
3813
- {
3814
- "name": "triggerChange",
3815
- "default": "false"
3816
- }
3817
- ]
3818
- },
3819
- {
3820
- "kind": "field",
3821
- "name": "#removeChip",
3822
- "privacy": "private"
3823
- },
3824
- {
3825
- "kind": "method",
3826
- "name": "#changed",
3827
- "parameters": [
3828
- {
3829
- "name": "triggerChange",
3830
- "type": {
3831
- "text": "boolean"
3832
- }
3833
- }
3834
- ]
3835
- },
3836
- {
3837
- "kind": "method",
3838
- "name": "#valueUpdate"
3933
+ "name": "#handleLeadingIconSlotChange"
3839
3934
  },
3840
3935
  {
3841
3936
  "kind": "method",
3842
- "name": "#setEmpty"
3937
+ "name": "#handleSelectedIconSlotChange"
3843
3938
  },
3844
3939
  {
3845
3940
  "kind": "method",
3846
- "name": "#dispatchRemoveEvent",
3941
+ "name": "handleClick",
3942
+ "privacy": "protected",
3847
3943
  "return": {
3848
3944
  "type": {
3849
- "text": "boolean"
3945
+ "text": "void"
3850
3946
  }
3851
3947
  },
3852
3948
  "parameters": [
3853
3949
  {
3854
- "name": "index",
3950
+ "name": "event",
3855
3951
  "type": {
3856
- "text": "number"
3952
+ "text": "UIEvent"
3857
3953
  }
3858
3954
  }
3859
- ]
3955
+ ],
3956
+ "inheritedFrom": {
3957
+ "name": "UmButtonWrapper",
3958
+ "module": "src/shared/button-wrapper.ts"
3959
+ }
3860
3960
  },
3861
3961
  {
3862
3962
  "kind": "method",
3863
- "name": "getItemLabel",
3864
- "privacy": "private",
3865
- "parameters": [
3866
- {
3867
- "name": "item",
3868
- "type": {
3869
- "text": "any"
3870
- }
3963
+ "name": "renderContent",
3964
+ "privacy": "protected",
3965
+ "return": {
3966
+ "type": {
3967
+ "text": "HTMLTemplateResult"
3871
3968
  }
3872
- ]
3969
+ },
3970
+ "inheritedFrom": {
3971
+ "name": "UmButtonWrapper",
3972
+ "module": "src/shared/button-wrapper.ts"
3973
+ }
3873
3974
  },
3874
3975
  {
3875
3976
  "kind": "field",
3876
- "name": "formAssociated",
3977
+ "name": "disabled",
3877
3978
  "type": {
3878
3979
  "text": "boolean"
3879
3980
  },
3880
- "static": true,
3881
- "default": "true",
3981
+ "default": "false",
3982
+ "description": "Whether the button is disabled or not.",
3983
+ "attribute": "disabled",
3984
+ "reflects": true,
3882
3985
  "inheritedFrom": {
3883
- "name": "UmTextFieldBase",
3884
- "module": "src/shared/text-field-base/text-field-base.ts"
3986
+ "name": "UmButtonWrapper",
3987
+ "module": "src/shared/button-wrapper.ts"
3885
3988
  }
3886
3989
  },
3887
3990
  {
3888
3991
  "kind": "field",
3889
- "name": "shadowRootOptions",
3992
+ "name": "renderRipple",
3890
3993
  "type": {
3891
- "text": "ShadowRootInit"
3994
+ "text": "boolean"
3892
3995
  },
3893
- "static": true,
3894
- "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }",
3996
+ "default": "true",
3895
3997
  "inheritedFrom": {
3896
- "name": "UmTextFieldBase",
3897
- "module": "src/shared/text-field-base/text-field-base.ts"
3998
+ "name": "UmButtonWrapper",
3999
+ "module": "src/shared/button-wrapper.ts"
3898
4000
  }
3899
4001
  },
3900
4002
  {
3901
4003
  "kind": "field",
3902
- "name": "empty",
4004
+ "name": "href",
3903
4005
  "type": {
3904
- "text": "boolean"
4006
+ "text": "string | undefined"
3905
4007
  },
3906
- "default": "true",
3907
- "description": "Whether the field is empty or not. This changes the behavior of the floating label when the field is not focused.",
3908
- "attribute": "empty",
3909
- "reflects": true,
4008
+ "description": "The URL that the link button points to.",
4009
+ "attribute": "href",
3910
4010
  "inheritedFrom": {
3911
- "name": "UmFieldBase",
3912
- "module": "src/field/field-base.ts"
4011
+ "name": "UmButtonWrapper",
4012
+ "module": "src/shared/button-wrapper.ts"
3913
4013
  }
3914
4014
  },
3915
4015
  {
3916
4016
  "kind": "field",
3917
- "name": "placeholder",
4017
+ "name": "target",
3918
4018
  "type": {
3919
4019
  "text": "string | undefined"
3920
4020
  },
3921
- "attribute": "placeholder",
3922
- "reflects": true,
4021
+ "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
4022
+ "attribute": "target",
3923
4023
  "inheritedFrom": {
3924
- "name": "UmTextFieldBase",
3925
- "module": "src/shared/text-field-base/text-field-base.ts"
4024
+ "name": "UmButtonWrapper",
4025
+ "module": "src/shared/button-wrapper.ts"
3926
4026
  }
3927
4027
  },
3928
4028
  {
3929
4029
  "kind": "field",
3930
- "name": "form",
4030
+ "name": "name",
3931
4031
  "type": {
3932
- "text": "HTMLFormElement | null"
4032
+ "text": "string | undefined"
3933
4033
  },
4034
+ "attribute": "name",
3934
4035
  "inheritedFrom": {
3935
- "name": "UmTextFieldBase",
3936
- "module": "src/shared/text-field-base/text-field-base.ts"
4036
+ "name": "UmButtonWrapper",
4037
+ "module": "src/shared/button-wrapper.ts"
3937
4038
  }
3938
4039
  },
3939
4040
  {
3940
4041
  "kind": "field",
3941
- "name": "elementInternals",
4042
+ "name": "buttonElement",
3942
4043
  "type": {
3943
- "text": "ElementInternals"
4044
+ "text": "HTMLElement"
3944
4045
  },
3945
- "privacy": "protected",
3946
4046
  "inheritedFrom": {
3947
- "name": "UmTextFieldBase",
3948
- "module": "src/shared/text-field-base/text-field-base.ts"
4047
+ "name": "UmButtonWrapper",
4048
+ "module": "src/shared/button-wrapper.ts"
3949
4049
  }
3950
4050
  },
3951
4051
  {
3952
4052
  "kind": "field",
3953
- "name": "config",
4053
+ "name": "ripple",
3954
4054
  "type": {
3955
- "text": "UmFieldDefaults | undefined"
4055
+ "text": "UmRipple"
3956
4056
  },
3957
4057
  "privacy": "private",
3958
4058
  "inheritedFrom": {
3959
- "name": "UmFieldBase",
3960
- "module": "src/field/field-base.ts"
4059
+ "name": "UmButtonWrapper",
4060
+ "module": "src/shared/button-wrapper.ts"
3961
4061
  }
3962
4062
  },
3963
4063
  {
3964
4064
  "kind": "field",
3965
- "name": "variant",
4065
+ "name": "innerRole",
3966
4066
  "type": {
3967
- "text": "'filled' | 'outlined' | undefined"
4067
+ "text": "string | null"
3968
4068
  },
3969
- "default": "undefined",
3970
- "attribute": "variant",
4069
+ "privacy": "protected",
4070
+ "default": "null",
3971
4071
  "inheritedFrom": {
3972
- "name": "UmFieldBase",
3973
- "module": "src/field/field-base.ts"
4072
+ "name": "UmButtonWrapper",
4073
+ "module": "src/shared/button-wrapper.ts"
3974
4074
  }
3975
4075
  },
3976
4076
  {
3977
4077
  "kind": "field",
3978
- "name": "label",
4078
+ "name": "pathname",
3979
4079
  "type": {
3980
- "text": "string | undefined"
4080
+ "text": "string"
3981
4081
  },
3982
- "description": "The floating label for the field",
3983
- "attribute": "label",
3984
4082
  "inheritedFrom": {
3985
- "name": "UmFieldBase",
3986
- "module": "src/field/field-base.ts"
4083
+ "name": "UmButtonWrapper",
4084
+ "module": "src/shared/button-wrapper.ts"
3987
4085
  }
3988
4086
  },
3989
4087
  {
3990
- "kind": "field",
3991
- "name": "counter",
3992
- "type": {
3993
- "text": "string | undefined"
3994
- },
3995
- "attribute": "counter",
4088
+ "kind": "method",
4089
+ "name": "renderButton",
4090
+ "privacy": "private",
3996
4091
  "inheritedFrom": {
3997
- "name": "UmFieldBase",
3998
- "module": "src/field/field-base.ts"
4092
+ "name": "UmButtonWrapper",
4093
+ "module": "src/shared/button-wrapper.ts"
3999
4094
  }
4000
4095
  },
4001
4096
  {
4002
- "kind": "field",
4003
- "name": "supportingText",
4004
- "type": {
4005
- "text": "string | undefined"
4006
- },
4007
- "description": "Supporting text conveys additional information about the field, such as how it will be used",
4008
- "attribute": "supporting-text",
4097
+ "kind": "method",
4098
+ "name": "renderLink",
4099
+ "privacy": "private",
4009
4100
  "inheritedFrom": {
4010
- "name": "UmFieldBase",
4011
- "module": "src/field/field-base.ts"
4101
+ "name": "UmButtonWrapper",
4102
+ "module": "src/shared/button-wrapper.ts"
4012
4103
  }
4013
4104
  },
4014
4105
  {
4015
- "kind": "field",
4016
- "name": "errorText",
4017
- "type": {
4018
- "text": "string | undefined"
4019
- },
4020
- "description": "For text fields that validate their content (such as passwords), replace supporting text with error text when applicable.\nIf `errorText` is not an empty string, changing the property `invalid` to `true` will show the `errorText` instead of `supportingText`",
4021
- "attribute": "error-text",
4106
+ "kind": "method",
4107
+ "name": "focus",
4022
4108
  "inheritedFrom": {
4023
- "name": "UmFieldBase",
4024
- "module": "src/field/field-base.ts"
4109
+ "name": "UmButtonWrapper",
4110
+ "module": "src/shared/button-wrapper.ts"
4025
4111
  }
4026
4112
  },
4027
4113
  {
4028
- "kind": "field",
4029
- "name": "disabled",
4030
- "type": {
4031
- "text": "boolean"
4114
+ "kind": "method",
4115
+ "name": "blur",
4116
+ "inheritedFrom": {
4117
+ "name": "UmButtonWrapper",
4118
+ "module": "src/shared/button-wrapper.ts"
4119
+ }
4120
+ },
4121
+ {
4122
+ "kind": "method",
4123
+ "name": "getAriaLabel",
4124
+ "privacy": "protected",
4125
+ "return": {
4126
+ "type": {
4127
+ "text": "string | null"
4128
+ }
4032
4129
  },
4033
- "default": "false",
4034
- "attribute": "disabled",
4035
- "reflects": true,
4036
4130
  "inheritedFrom": {
4037
- "name": "UmFieldBase",
4038
- "module": "src/field/field-base.ts"
4131
+ "name": "UmButtonWrapper",
4132
+ "module": "src/shared/button-wrapper.ts"
4039
4133
  }
4040
4134
  },
4041
4135
  {
4042
- "kind": "field",
4043
- "name": "invalid",
4044
- "type": {
4045
- "text": "boolean"
4136
+ "kind": "method",
4137
+ "name": "innerFocusHandler",
4138
+ "privacy": "private",
4139
+ "return": {
4140
+ "type": {
4141
+ "text": "void"
4142
+ }
4046
4143
  },
4047
- "default": "false",
4048
- "description": "Get or sets where or not the field is in a visually invalid state.",
4049
- "attribute": "invalid",
4050
- "reflects": true,
4051
4144
  "inheritedFrom": {
4052
- "name": "UmFieldBase",
4053
- "module": "src/field/field-base.ts"
4145
+ "name": "UmButtonWrapper",
4146
+ "module": "src/shared/button-wrapper.ts"
4054
4147
  }
4055
4148
  },
4056
4149
  {
4057
4150
  "kind": "method",
4058
- "name": "setDefaults",
4059
- "static": true,
4151
+ "name": "#innerClickHandler",
4060
4152
  "return": {
4061
4153
  "type": {
4062
- "text": "ContextProvider<Context<HTMLElement, UmFieldDefaults>>"
4154
+ "text": "void"
4063
4155
  }
4064
4156
  },
4065
4157
  "parameters": [
4066
4158
  {
4067
- "name": "contextRoot",
4068
- "type": {
4069
- "text": "HTMLElement"
4070
- }
4071
- },
4072
- {
4073
- "name": "config",
4159
+ "name": "event",
4074
4160
  "type": {
4075
- "text": "UmFieldDefaults"
4161
+ "text": "MouseEvent"
4076
4162
  }
4077
4163
  }
4078
4164
  ],
4079
4165
  "inheritedFrom": {
4080
- "name": "UmFieldBase",
4081
- "module": "src/field/field-base.ts"
4166
+ "name": "UmButtonWrapper",
4167
+ "module": "src/shared/button-wrapper.ts"
4082
4168
  }
4083
- },
4169
+ }
4170
+ ],
4171
+ "events": [
4084
4172
  {
4085
- "kind": "field",
4086
- "name": "hasLeadingIcon",
4173
+ "name": "change",
4087
4174
  "type": {
4088
- "text": "boolean"
4089
- },
4090
- "default": "false",
4091
- "description": "Whether the field has a leading icon or not\n\n_Note:_ Readonly",
4092
- "attribute": "has-leading-icon",
4093
- "reflects": true,
4094
- "inheritedFrom": {
4095
- "name": "UmFieldBase",
4096
- "module": "src/field/field-base.ts"
4175
+ "text": "Event"
4097
4176
  }
4098
- },
4177
+ }
4178
+ ],
4179
+ "attributes": [
4099
4180
  {
4100
- "kind": "field",
4101
- "name": "hasTrailingIcon",
4181
+ "name": "selected",
4102
4182
  "type": {
4103
4183
  "text": "boolean"
4104
4184
  },
4105
4185
  "default": "false",
4106
- "description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
4107
- "attribute": "has-trailing-icon",
4108
- "reflects": true,
4109
- "inheritedFrom": {
4110
- "name": "UmFieldBase",
4111
- "module": "src/field/field-base.ts"
4112
- }
4186
+ "description": "Whether the chip is selected or not",
4187
+ "fieldName": "selected"
4113
4188
  },
4114
4189
  {
4115
- "kind": "field",
4116
- "name": "hasErrorText",
4190
+ "name": "clickable",
4117
4191
  "type": {
4118
4192
  "text": "boolean"
4119
4193
  },
4120
- "default": "false",
4121
- "description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
4122
- "attribute": "has-error-text",
4123
- "reflects": true,
4124
- "inheritedFrom": {
4125
- "name": "UmFieldBase",
4126
- "module": "src/field/field-base.ts"
4127
- }
4194
+ "fieldName": "clickable"
4128
4195
  },
4129
4196
  {
4130
- "kind": "field",
4131
- "name": "assignedLeadingIcons",
4197
+ "name": "elevated",
4132
4198
  "type": {
4133
- "text": "HTMLElement[]"
4199
+ "text": "boolean"
4134
4200
  },
4135
- "privacy": "private",
4136
- "inheritedFrom": {
4137
- "name": "UmFieldBase",
4138
- "module": "src/field/field-base.ts"
4139
- }
4201
+ "default": "false",
4202
+ "description": "Adds elevation to the chip",
4203
+ "fieldName": "elevated"
4140
4204
  },
4141
4205
  {
4142
- "kind": "field",
4143
- "name": "assignedTrailingIcons",
4206
+ "name": "toggle",
4144
4207
  "type": {
4145
- "text": "HTMLElement[]"
4208
+ "text": "boolean"
4146
4209
  },
4147
- "privacy": "private",
4148
- "inheritedFrom": {
4149
- "name": "UmFieldBase",
4150
- "module": "src/field/field-base.ts"
4151
- }
4210
+ "description": "When true, the chip will toggle between selected and unselected\nstates",
4211
+ "fieldName": "toggle"
4152
4212
  },
4153
4213
  {
4154
- "kind": "field",
4155
- "name": "assignedErrorTexts",
4214
+ "name": "removable",
4156
4215
  "type": {
4157
- "text": "HTMLElement[]"
4216
+ "text": "boolean"
4158
4217
  },
4159
- "privacy": "private",
4160
- "inheritedFrom": {
4161
- "name": "UmFieldBase",
4162
- "module": "src/field/field-base.ts"
4163
- }
4218
+ "default": "false",
4219
+ "description": "Add the remove icon",
4220
+ "fieldName": "removable"
4164
4221
  },
4165
4222
  {
4166
- "kind": "field",
4167
- "name": "_labelElement",
4223
+ "name": "hide-selected-icon",
4168
4224
  "type": {
4169
- "text": "HTMLElement"
4225
+ "text": "boolean"
4170
4226
  },
4171
- "privacy": "private",
4172
- "inheritedFrom": {
4173
- "name": "UmFieldBase",
4174
- "module": "src/field/field-base.ts"
4175
- }
4227
+ "default": "false",
4228
+ "description": "Hide the selected icon",
4229
+ "fieldName": "hideSelectedIcon"
4176
4230
  },
4177
4231
  {
4178
- "kind": "field",
4179
- "name": "_container",
4232
+ "name": "has-leading-icon",
4180
4233
  "type": {
4181
- "text": "HTMLElement"
4234
+ "text": "boolean"
4182
4235
  },
4183
- "privacy": "protected",
4184
- "inheritedFrom": {
4185
- "name": "UmFieldBase",
4186
- "module": "src/field/field-base.ts"
4187
- }
4236
+ "default": "false",
4237
+ "description": "Whether the chip has a leading icon or not\n\n_Note:_ Readonly",
4238
+ "fieldName": "hasLeadingIcon"
4188
4239
  },
4189
4240
  {
4190
- "kind": "field",
4191
- "name": "labelSizeObserver",
4241
+ "name": "has-selected-icon",
4192
4242
  "type": {
4193
- "text": "ResizeObserver | null"
4194
- },
4195
- "privacy": "private",
4196
- "default": "null",
4197
- "inheritedFrom": {
4198
- "name": "UmFieldBase",
4199
- "module": "src/field/field-base.ts"
4200
- }
4201
- },
4202
- {
4203
- "kind": "method",
4204
- "name": "renderAfterContent",
4205
- "privacy": "protected",
4206
- "return": {
4207
- "type": {
4208
- "text": "TemplateResult"
4209
- }
4210
- },
4211
- "inheritedFrom": {
4212
- "name": "UmFieldBase",
4213
- "module": "src/field/field-base.ts"
4214
- }
4215
- },
4216
- {
4217
- "kind": "method",
4218
- "name": "#attach",
4219
- "return": {
4220
- "type": {
4221
- "text": "Promise<void>"
4222
- }
4243
+ "text": "boolean"
4223
4244
  },
4224
- "inheritedFrom": {
4225
- "name": "UmFieldBase",
4226
- "module": "src/field/field-base.ts"
4227
- }
4228
- },
4229
- {
4230
- "kind": "method",
4231
- "name": "handleLeadingIconSlotChange",
4232
- "privacy": "private",
4233
- "inheritedFrom": {
4234
- "name": "UmFieldBase",
4235
- "module": "src/field/field-base.ts"
4236
- }
4237
- },
4238
- {
4239
- "kind": "method",
4240
- "name": "handleTrailingIconSlotChange",
4241
- "privacy": "private",
4242
- "inheritedFrom": {
4243
- "name": "UmFieldBase",
4244
- "module": "src/field/field-base.ts"
4245
- }
4246
- },
4247
- {
4248
- "kind": "method",
4249
- "name": "handleErrorTextSlotChange",
4250
- "privacy": "private",
4251
- "inheritedFrom": {
4252
- "name": "UmFieldBase",
4253
- "module": "src/field/field-base.ts"
4254
- }
4255
- },
4256
- {
4257
- "kind": "method",
4258
- "name": "setLabelWidthProperties",
4259
- "privacy": "private",
4260
- "inheritedFrom": {
4261
- "name": "UmFieldBase",
4262
- "module": "src/field/field-base.ts"
4263
- }
4245
+ "default": "false",
4246
+ "description": "Whether the chip has a selected icon or not\n\n_Note:_ Readonly",
4247
+ "fieldName": "hasSelectedIcon"
4264
4248
  },
4265
4249
  {
4266
- "kind": "method",
4267
- "name": "renderDefaultTrailingIcon",
4268
- "privacy": "protected",
4269
- "return": {
4270
- "type": {
4271
- "text": "TemplateResult | typeof nothing"
4272
- }
4273
- },
4274
- "inheritedFrom": {
4275
- "name": "UmFieldBase",
4276
- "module": "src/field/field-base.ts"
4277
- }
4278
- }
4279
- ],
4280
- "events": [
4281
- {
4282
- "name": "change",
4283
- "type": {
4284
- "text": "Event"
4285
- }
4286
- }
4287
- ],
4288
- "attributes": [
4289
- {
4290
- "name": "name",
4250
+ "name": "has-trailing-icon",
4291
4251
  "type": {
4292
- "text": "string"
4252
+ "text": "boolean"
4293
4253
  },
4294
- "fieldName": "name"
4254
+ "default": "false",
4255
+ "description": "Whether the chip has a trailing icon or not\n\n_Note:_ Readonly",
4256
+ "fieldName": "hasTrailingIcon"
4295
4257
  },
4296
4258
  {
4297
- "name": "manual",
4259
+ "name": "disabled",
4298
4260
  "type": {
4299
4261
  "text": "boolean"
4300
4262
  },
4301
4263
  "default": "false",
4302
- "description": "If true, ignore enter key input",
4303
- "fieldName": "manual"
4264
+ "description": "Whether the button is disabled or not.",
4265
+ "fieldName": "disabled",
4266
+ "inheritedFrom": {
4267
+ "name": "UmButtonWrapper",
4268
+ "module": "src/shared/button-wrapper.ts"
4269
+ }
4304
4270
  },
4305
4271
  {
4306
- "name": "placeholder",
4272
+ "name": "href",
4307
4273
  "type": {
4308
4274
  "text": "string | undefined"
4309
4275
  },
4310
- "fieldName": "placeholder",
4276
+ "description": "The URL that the link button points to.",
4277
+ "fieldName": "href",
4311
4278
  "inheritedFrom": {
4312
- "name": "UmTextFieldBase",
4313
- "module": "src/shared/text-field-base/text-field-base.ts"
4279
+ "name": "UmButtonWrapper",
4280
+ "module": "src/shared/button-wrapper.ts"
4314
4281
  }
4315
4282
  },
4316
4283
  {
4317
- "name": "variant",
4284
+ "name": "target",
4318
4285
  "type": {
4319
- "text": "'filled' | 'outlined' | undefined"
4320
- },
4321
- "default": "undefined",
4322
- "resolveInitializer": {
4323
- "module": "src/field/field-base.ts"
4286
+ "text": "string | undefined"
4324
4287
  },
4325
- "fieldName": "variant",
4288
+ "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
4289
+ "fieldName": "target",
4326
4290
  "inheritedFrom": {
4327
- "name": "UmFieldBase",
4328
- "module": "src/field/field-base.ts"
4291
+ "name": "UmButtonWrapper",
4292
+ "module": "src/shared/button-wrapper.ts"
4329
4293
  }
4330
4294
  },
4331
4295
  {
4332
- "name": "label",
4296
+ "name": "name",
4333
4297
  "type": {
4334
4298
  "text": "string | undefined"
4335
4299
  },
4336
- "description": "The floating label for the field",
4337
- "fieldName": "label",
4338
- "inheritedFrom": {
4339
- "name": "UmFieldBase",
4340
- "module": "src/field/field-base.ts"
4341
- }
4342
- },
4343
- {
4344
- "name": "counter",
4345
- "type": {
4346
- "text": "string | undefined"
4347
- },
4348
- "fieldName": "counter",
4349
- "inheritedFrom": {
4350
- "name": "UmFieldBase",
4351
- "module": "src/field/field-base.ts"
4352
- }
4353
- },
4354
- {
4355
- "name": "supporting-text",
4356
- "type": {
4357
- "text": "string | undefined"
4358
- },
4359
- "description": "Supporting text conveys additional information about the field, such as how it will be used",
4360
- "fieldName": "supportingText",
4361
- "inheritedFrom": {
4362
- "name": "UmFieldBase",
4363
- "module": "src/field/field-base.ts"
4364
- }
4365
- },
4366
- {
4367
- "name": "error-text",
4368
- "type": {
4369
- "text": "string | undefined"
4370
- },
4371
- "description": "For text fields that validate their content (such as passwords), replace supporting text with error text when applicable.\nIf `errorText` is not an empty string, changing the property `invalid` to `true` will show the `errorText` instead of `supportingText`",
4372
- "fieldName": "errorText",
4373
- "inheritedFrom": {
4374
- "name": "UmFieldBase",
4375
- "module": "src/field/field-base.ts"
4376
- }
4377
- },
4378
- {
4379
- "name": "empty",
4380
- "type": {
4381
- "text": "boolean"
4382
- },
4383
- "default": "false",
4384
- "description": "Whether the field is empty or not. This changes the behavior of the floating label when the field is not focused.",
4385
- "fieldName": "empty",
4386
- "inheritedFrom": {
4387
- "name": "UmFieldBase",
4388
- "module": "src/field/field-base.ts"
4389
- }
4390
- },
4391
- {
4392
- "name": "disabled",
4393
- "type": {
4394
- "text": "boolean"
4395
- },
4396
- "default": "false",
4397
- "fieldName": "disabled",
4398
- "inheritedFrom": {
4399
- "name": "UmFieldBase",
4400
- "module": "src/field/field-base.ts"
4401
- }
4402
- },
4403
- {
4404
- "name": "invalid",
4405
- "type": {
4406
- "text": "boolean"
4407
- },
4408
- "default": "false",
4409
- "description": "Get or sets where or not the field is in a visually invalid state.",
4410
- "fieldName": "invalid",
4411
- "inheritedFrom": {
4412
- "name": "UmFieldBase",
4413
- "module": "src/field/field-base.ts"
4414
- }
4415
- },
4416
- {
4417
- "name": "has-leading-icon",
4418
- "type": {
4419
- "text": "boolean"
4420
- },
4421
- "default": "false",
4422
- "description": "Whether the field has a leading icon or not\n\n_Note:_ Readonly",
4423
- "fieldName": "hasLeadingIcon",
4424
- "inheritedFrom": {
4425
- "name": "UmFieldBase",
4426
- "module": "src/field/field-base.ts"
4427
- }
4428
- },
4429
- {
4430
- "name": "has-trailing-icon",
4431
- "type": {
4432
- "text": "boolean"
4433
- },
4434
- "default": "false",
4435
- "description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
4436
- "fieldName": "hasTrailingIcon",
4437
- "inheritedFrom": {
4438
- "name": "UmFieldBase",
4439
- "module": "src/field/field-base.ts"
4440
- }
4441
- },
4442
- {
4443
- "name": "has-error-text",
4444
- "type": {
4445
- "text": "boolean"
4446
- },
4447
- "default": "false",
4448
- "description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
4449
- "fieldName": "hasErrorText",
4300
+ "fieldName": "name",
4450
4301
  "inheritedFrom": {
4451
- "name": "UmFieldBase",
4452
- "module": "src/field/field-base.ts"
4302
+ "name": "UmButtonWrapper",
4303
+ "module": "src/shared/button-wrapper.ts"
4453
4304
  }
4454
4305
  }
4455
4306
  ],
4456
4307
  "superclass": {
4457
- "name": "UmTextFieldBase",
4458
- "module": "/src/shared/text-field-base/text-field-base.js"
4308
+ "name": "UmButtonWrapper",
4309
+ "module": "/src/shared/button-wrapper.js"
4459
4310
  },
4460
- "tagName": "u-chip-field",
4311
+ "tagName": "u-chip",
4461
4312
  "customElement": true
4462
4313
  }
4463
4314
  ],
4464
4315
  "exports": [
4465
4316
  {
4466
4317
  "kind": "js",
4467
- "name": "UmChipField",
4318
+ "name": "UmChip",
4468
4319
  "declaration": {
4469
- "name": "UmChipField",
4470
- "module": "src/chip-field/chip-field.ts"
4320
+ "name": "UmChip",
4321
+ "module": "src/chip/chip.ts"
4471
4322
  }
4472
4323
  },
4473
4324
  {
4474
4325
  "kind": "custom-element-definition",
4475
- "name": "u-chip-field",
4326
+ "name": "u-chip",
4476
4327
  "declaration": {
4477
- "name": "UmChipField",
4478
- "module": "src/chip-field/chip-field.ts"
4328
+ "name": "UmChip",
4329
+ "module": "src/chip/chip.ts"
4479
4330
  }
4480
4331
  }
4481
4332
  ]
4482
4333
  },
4483
4334
  {
4484
4335
  "kind": "javascript-module",
4485
- "path": "src/chip/chip-set.styles.ts",
4336
+ "path": "src/chip-field/chip-field.styles.ts",
4486
4337
  "declarations": [
4487
4338
  {
4488
4339
  "kind": "variable",
4489
4340
  "name": "styles",
4490
- "default": "css `\n :host {\n flex-wrap: wrap;\n }\n`"
4341
+ "default": "css `\n u-chip {\n flex-basis: 0;\n }\n\n .input {\n display: flex;\n gap: var(--u-chip-field-chips-gap, var(--u-spacing-extra-small, 4px));\n flex-wrap: wrap;\n }\n .input:has(u-chip) {\n margin-top: var(--u-chip-field-chips-margin, var(--u-spacing-extra-small, 4px));\n }\n .input input {\n width: auto;\n flex-basis: 200px;\n padding: 4px 0;\n margin-block: -4px;\n }\n`"
4491
4342
  }
4492
4343
  ],
4493
4344
  "exports": [
@@ -4496,506 +4347,615 @@
4496
4347
  "name": "styles",
4497
4348
  "declaration": {
4498
4349
  "name": "styles",
4499
- "module": "src/chip/chip-set.styles.ts"
4350
+ "module": "src/chip-field/chip-field.styles.ts"
4500
4351
  }
4501
4352
  }
4502
4353
  ]
4503
4354
  },
4504
4355
  {
4505
4356
  "kind": "javascript-module",
4506
- "path": "src/chip/chip-set.ts",
4357
+ "path": "src/chip-field/chip-field.ts",
4507
4358
  "declarations": [
4508
4359
  {
4509
4360
  "kind": "class",
4510
4361
  "description": "",
4511
- "name": "UmChipSet",
4362
+ "name": "UmChipField",
4512
4363
  "members": [
4513
4364
  {
4514
4365
  "kind": "field",
4515
- "name": "alignment",
4366
+ "name": "input",
4516
4367
  "type": {
4517
- "text": "'start' | 'center' | 'end'"
4518
- },
4519
- "default": "'start'",
4520
- "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
4521
- "attribute": "alignment",
4522
- "reflects": true,
4523
- "inheritedFrom": {
4524
- "name": "UmSetBase",
4525
- "module": "src/shared/sets/set-base.ts"
4368
+ "text": "HTMLInputElement"
4526
4369
  }
4527
- }
4528
- ],
4529
- "superclass": {
4530
- "name": "UmSetBase",
4531
- "module": "/src/shared/sets/set-base.js"
4532
- },
4533
- "tagName": "u-chip-set",
4534
- "customElement": true,
4535
- "attributes": [
4370
+ },
4536
4371
  {
4537
- "name": "alignment",
4372
+ "kind": "field",
4373
+ "name": "name",
4538
4374
  "type": {
4539
- "text": "'start' | 'center' | 'end'"
4375
+ "text": "string"
4540
4376
  },
4541
- "default": "'start'",
4542
- "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
4543
- "fieldName": "alignment",
4544
- "inheritedFrom": {
4545
- "name": "UmSetBase",
4546
- "module": "src/shared/sets/set-base.ts"
4547
- }
4548
- }
4549
- ]
4550
- }
4551
- ],
4552
- "exports": [
4553
- {
4554
- "kind": "js",
4555
- "name": "UmChipSet",
4556
- "declaration": {
4557
- "name": "UmChipSet",
4558
- "module": "src/chip/chip-set.ts"
4559
- }
4560
- },
4561
- {
4562
- "kind": "custom-element-definition",
4563
- "name": "u-chip-set",
4564
- "declaration": {
4565
- "name": "UmChipSet",
4566
- "module": "src/chip/chip-set.ts"
4567
- }
4568
- }
4569
- ]
4570
- },
4571
- {
4572
- "kind": "javascript-module",
4573
- "path": "src/chip/chip.styles.ts",
4574
- "declarations": [
4575
- {
4576
- "kind": "variable",
4577
- "name": "styles",
4578
- "default": "css `\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-bg-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`"
4579
- }
4580
- ],
4581
- "exports": [
4582
- {
4583
- "kind": "js",
4584
- "name": "styles",
4585
- "declaration": {
4586
- "name": "styles",
4587
- "module": "src/chip/chip.styles.ts"
4588
- }
4589
- }
4590
- ]
4591
- },
4592
- {
4593
- "kind": "javascript-module",
4594
- "path": "src/chip/chip.ts",
4595
- "declarations": [
4596
- {
4597
- "kind": "class",
4598
- "description": "",
4599
- "name": "UmChip",
4600
- "members": [
4377
+ "attribute": "name"
4378
+ },
4601
4379
  {
4602
4380
  "kind": "field",
4603
- "name": "#clickable",
4604
- "privacy": "private",
4381
+ "name": "manual",
4605
4382
  "type": {
4606
4383
  "text": "boolean"
4607
4384
  },
4608
- "default": "false"
4385
+ "default": "false",
4386
+ "description": "If true, ignore enter key input",
4387
+ "attribute": "manual"
4609
4388
  },
4610
4389
  {
4611
4390
  "kind": "field",
4612
- "name": "#toggle",
4391
+ "name": "formatter",
4392
+ "type": {
4393
+ "text": "((value: any) => string) | undefined"
4394
+ },
4395
+ "description": "A function return a string based on a item from the `value`. Useful when the items of value are objects."
4396
+ },
4397
+ {
4398
+ "kind": "field",
4399
+ "name": "leadingIconTemplate",
4400
+ "type": {
4401
+ "text": "((value: any) => string) | undefined"
4402
+ },
4403
+ "description": "A string representing an HTML to be rendered inside as leading icon of each chip.\n\n_Note:_ Subject to signature change"
4404
+ },
4405
+ {
4406
+ "kind": "field",
4407
+ "name": "#value",
4613
4408
  "privacy": "private",
4614
4409
  "type": {
4615
- "text": "boolean"
4410
+ "text": "any[]"
4616
4411
  },
4617
- "default": "false"
4412
+ "default": "[]"
4618
4413
  },
4619
4414
  {
4620
4415
  "kind": "field",
4621
- "name": "selected",
4416
+ "name": "value",
4622
4417
  "type": {
4623
- "text": "boolean"
4418
+ "text": "any[]"
4624
4419
  },
4625
- "default": "false",
4626
- "description": "Whether the chip is selected or not",
4627
- "attribute": "selected",
4628
- "reflects": true
4420
+ "description": "An array containing the value representation of each chip.\n\n_Note:_ Add or remove items directly from value array won't trigger a render on Chip Field. Use the methods `add` or `removeAt`."
4421
+ },
4422
+ {
4423
+ "kind": "method",
4424
+ "name": "setFormValue",
4425
+ "privacy": "private"
4426
+ },
4427
+ {
4428
+ "kind": "method",
4429
+ "name": "focus"
4430
+ },
4431
+ {
4432
+ "kind": "method",
4433
+ "name": "renderControl",
4434
+ "privacy": "protected",
4435
+ "return": {
4436
+ "type": {
4437
+ "text": "HTMLTemplateResult"
4438
+ }
4439
+ },
4440
+ "inheritedFrom": {
4441
+ "name": "UmFieldBase",
4442
+ "module": "src/field/field-base.ts"
4443
+ }
4444
+ },
4445
+ {
4446
+ "kind": "method",
4447
+ "name": "#getChips"
4448
+ },
4449
+ {
4450
+ "kind": "method",
4451
+ "name": "#handleBlur"
4452
+ },
4453
+ {
4454
+ "kind": "method",
4455
+ "name": "#handleInput"
4456
+ },
4457
+ {
4458
+ "kind": "method",
4459
+ "name": "#handleKeyDown",
4460
+ "parameters": [
4461
+ {
4462
+ "name": "e",
4463
+ "type": {
4464
+ "text": "KeyboardEvent"
4465
+ }
4466
+ }
4467
+ ]
4468
+ },
4469
+ {
4470
+ "kind": "method",
4471
+ "name": "add",
4472
+ "parameters": [
4473
+ {
4474
+ "name": "value",
4475
+ "type": {
4476
+ "text": "any"
4477
+ }
4478
+ },
4479
+ {
4480
+ "name": "triggerChange",
4481
+ "default": "false"
4482
+ }
4483
+ ]
4484
+ },
4485
+ {
4486
+ "kind": "method",
4487
+ "name": "removeAt",
4488
+ "parameters": [
4489
+ {
4490
+ "name": "index",
4491
+ "type": {
4492
+ "text": "number"
4493
+ }
4494
+ },
4495
+ {
4496
+ "name": "triggerChange",
4497
+ "default": "false"
4498
+ }
4499
+ ]
4629
4500
  },
4630
4501
  {
4631
4502
  "kind": "field",
4632
- "name": "clickable",
4503
+ "name": "#removeChip",
4504
+ "privacy": "private"
4505
+ },
4506
+ {
4507
+ "kind": "method",
4508
+ "name": "#changed",
4509
+ "parameters": [
4510
+ {
4511
+ "name": "triggerChange",
4512
+ "type": {
4513
+ "text": "boolean"
4514
+ }
4515
+ }
4516
+ ]
4517
+ },
4518
+ {
4519
+ "kind": "method",
4520
+ "name": "#valueUpdate"
4521
+ },
4522
+ {
4523
+ "kind": "method",
4524
+ "name": "#setEmpty"
4525
+ },
4526
+ {
4527
+ "kind": "method",
4528
+ "name": "#dispatchRemoveEvent",
4529
+ "return": {
4530
+ "type": {
4531
+ "text": "boolean"
4532
+ }
4533
+ },
4534
+ "parameters": [
4535
+ {
4536
+ "name": "index",
4537
+ "type": {
4538
+ "text": "number"
4539
+ }
4540
+ }
4541
+ ]
4542
+ },
4543
+ {
4544
+ "kind": "method",
4545
+ "name": "getItemLabel",
4546
+ "privacy": "private",
4547
+ "parameters": [
4548
+ {
4549
+ "name": "item",
4550
+ "type": {
4551
+ "text": "any"
4552
+ }
4553
+ }
4554
+ ]
4555
+ },
4556
+ {
4557
+ "kind": "field",
4558
+ "name": "formAssociated",
4633
4559
  "type": {
4634
4560
  "text": "boolean"
4635
4561
  },
4636
- "attribute": "clickable",
4637
- "reflects": true
4562
+ "static": true,
4563
+ "default": "true",
4564
+ "inheritedFrom": {
4565
+ "name": "UmTextFieldBase",
4566
+ "module": "src/shared/text-field-base/text-field-base.ts"
4567
+ }
4638
4568
  },
4639
4569
  {
4640
4570
  "kind": "field",
4641
- "name": "elevated",
4571
+ "name": "shadowRootOptions",
4642
4572
  "type": {
4643
- "text": "boolean"
4573
+ "text": "ShadowRootInit"
4644
4574
  },
4645
- "default": "false",
4646
- "description": "Adds elevation to the chip",
4647
- "attribute": "elevated",
4648
- "reflects": true
4575
+ "static": true,
4576
+ "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }",
4577
+ "inheritedFrom": {
4578
+ "name": "UmTextFieldBase",
4579
+ "module": "src/shared/text-field-base/text-field-base.ts"
4580
+ }
4649
4581
  },
4650
4582
  {
4651
4583
  "kind": "field",
4652
- "name": "toggle",
4584
+ "name": "empty",
4653
4585
  "type": {
4654
4586
  "text": "boolean"
4655
4587
  },
4656
- "description": "When true, the chip will toggle between selected and unselected\nstates",
4657
- "attribute": "toggle",
4658
- "reflects": true
4588
+ "default": "true",
4589
+ "description": "Whether the field is empty or not. This changes the behavior of the floating label when the field is not focused.",
4590
+ "attribute": "empty",
4591
+ "reflects": true,
4592
+ "inheritedFrom": {
4593
+ "name": "UmFieldBase",
4594
+ "module": "src/field/field-base.ts"
4595
+ }
4659
4596
  },
4660
4597
  {
4661
4598
  "kind": "field",
4662
- "name": "removable",
4599
+ "name": "placeholder",
4663
4600
  "type": {
4664
- "text": "boolean"
4601
+ "text": "string | undefined"
4665
4602
  },
4666
- "default": "false",
4667
- "description": "Add the remove icon",
4668
- "attribute": "removable",
4669
- "reflects": true
4603
+ "attribute": "placeholder",
4604
+ "reflects": true,
4605
+ "inheritedFrom": {
4606
+ "name": "UmTextFieldBase",
4607
+ "module": "src/shared/text-field-base/text-field-base.ts"
4608
+ }
4609
+ },
4610
+ {
4611
+ "kind": "field",
4612
+ "name": "form",
4613
+ "type": {
4614
+ "text": "HTMLFormElement | null"
4615
+ },
4616
+ "inheritedFrom": {
4617
+ "name": "UmTextFieldBase",
4618
+ "module": "src/shared/text-field-base/text-field-base.ts"
4619
+ }
4670
4620
  },
4671
4621
  {
4672
4622
  "kind": "field",
4673
- "name": "hideSelectedIcon",
4623
+ "name": "elementInternals",
4674
4624
  "type": {
4675
- "text": "boolean"
4625
+ "text": "ElementInternals"
4676
4626
  },
4677
- "default": "false",
4678
- "description": "Hide the selected icon",
4679
- "attribute": "hide-selected-icon",
4680
- "reflects": true
4627
+ "privacy": "protected",
4628
+ "inheritedFrom": {
4629
+ "name": "UmTextFieldBase",
4630
+ "module": "src/shared/text-field-base/text-field-base.ts"
4631
+ }
4681
4632
  },
4682
4633
  {
4683
4634
  "kind": "field",
4684
- "name": "hasLeadingIcon",
4635
+ "name": "config",
4685
4636
  "type": {
4686
- "text": "boolean"
4637
+ "text": "UmFieldDefaults | undefined"
4687
4638
  },
4688
- "default": "false",
4689
- "description": "Whether the chip has a leading icon or not\n\n_Note:_ Readonly",
4690
- "attribute": "has-leading-icon",
4691
- "reflects": true
4639
+ "privacy": "private",
4640
+ "inheritedFrom": {
4641
+ "name": "UmFieldBase",
4642
+ "module": "src/field/field-base.ts"
4643
+ }
4692
4644
  },
4693
4645
  {
4694
4646
  "kind": "field",
4695
- "name": "hasSelectedIcon",
4647
+ "name": "variant",
4696
4648
  "type": {
4697
- "text": "boolean"
4649
+ "text": "'filled' | 'outlined' | undefined"
4698
4650
  },
4699
- "default": "false",
4700
- "description": "Whether the chip has a selected icon or not\n\n_Note:_ Readonly",
4701
- "attribute": "has-selected-icon",
4702
- "reflects": true
4651
+ "default": "undefined",
4652
+ "attribute": "variant",
4653
+ "inheritedFrom": {
4654
+ "name": "UmFieldBase",
4655
+ "module": "src/field/field-base.ts"
4656
+ }
4703
4657
  },
4704
4658
  {
4705
4659
  "kind": "field",
4706
- "name": "hasTrailingIcon",
4660
+ "name": "label",
4707
4661
  "type": {
4708
- "text": "boolean"
4662
+ "text": "string | undefined"
4709
4663
  },
4710
- "default": "false",
4711
- "description": "Whether the chip has a trailing icon or not\n\n_Note:_ Readonly",
4712
- "attribute": "has-trailing-icon",
4713
- "reflects": true
4664
+ "description": "The floating label for the field",
4665
+ "attribute": "label",
4666
+ "inheritedFrom": {
4667
+ "name": "UmFieldBase",
4668
+ "module": "src/field/field-base.ts"
4669
+ }
4714
4670
  },
4715
4671
  {
4716
4672
  "kind": "field",
4717
- "name": "assignedLeadingIcons",
4673
+ "name": "counter",
4718
4674
  "type": {
4719
- "text": "HTMLElement[]"
4675
+ "text": "string | undefined"
4720
4676
  },
4721
- "privacy": "private"
4677
+ "attribute": "counter",
4678
+ "inheritedFrom": {
4679
+ "name": "UmFieldBase",
4680
+ "module": "src/field/field-base.ts"
4681
+ }
4722
4682
  },
4723
4683
  {
4724
4684
  "kind": "field",
4725
- "name": "assignedSelectedIcons",
4685
+ "name": "supportingText",
4726
4686
  "type": {
4727
- "text": "HTMLElement[]"
4687
+ "text": "string | undefined"
4728
4688
  },
4729
- "privacy": "private"
4689
+ "description": "Supporting text conveys additional information about the field, such as how it will be used",
4690
+ "attribute": "supporting-text",
4691
+ "inheritedFrom": {
4692
+ "name": "UmFieldBase",
4693
+ "module": "src/field/field-base.ts"
4694
+ }
4730
4695
  },
4731
4696
  {
4732
4697
  "kind": "field",
4733
- "name": "assignedTrailingIcons",
4698
+ "name": "errorText",
4734
4699
  "type": {
4735
- "text": "HTMLElement[]"
4700
+ "text": "string | undefined"
4736
4701
  },
4737
- "privacy": "private"
4702
+ "description": "For text fields that validate their content (such as passwords), replace supporting text with error text when applicable.\nIf `errorText` is not an empty string, changing the property `invalid` to `true` will show the `errorText` instead of `supportingText`",
4703
+ "attribute": "error-text",
4704
+ "inheritedFrom": {
4705
+ "name": "UmFieldBase",
4706
+ "module": "src/field/field-base.ts"
4707
+ }
4738
4708
  },
4739
4709
  {
4740
4710
  "kind": "field",
4741
- "name": "removeRipple",
4711
+ "name": "disabled",
4742
4712
  "type": {
4743
- "text": "UmRipple"
4713
+ "text": "boolean"
4714
+ },
4715
+ "default": "false",
4716
+ "attribute": "disabled",
4717
+ "reflects": true,
4718
+ "inheritedFrom": {
4719
+ "name": "UmFieldBase",
4720
+ "module": "src/field/field-base.ts"
4744
4721
  }
4745
4722
  },
4746
4723
  {
4747
- "kind": "method",
4748
- "name": "#handleRemoveClick",
4749
- "parameters": [
4750
- {
4751
- "name": "e",
4752
- "type": {
4753
- "text": "Event"
4754
- }
4755
- }
4756
- ]
4757
- },
4758
- {
4759
- "kind": "method",
4760
- "name": "#handleTrailingIconSlotChange"
4761
- },
4762
- {
4763
- "kind": "method",
4764
- "name": "#handleLeadingIconSlotChange"
4765
- },
4766
- {
4767
- "kind": "method",
4768
- "name": "#handleSelectedIconSlotChange"
4724
+ "kind": "field",
4725
+ "name": "invalid",
4726
+ "type": {
4727
+ "text": "boolean"
4728
+ },
4729
+ "default": "false",
4730
+ "description": "Get or sets where or not the field is in a visually invalid state.",
4731
+ "attribute": "invalid",
4732
+ "reflects": true,
4733
+ "inheritedFrom": {
4734
+ "name": "UmFieldBase",
4735
+ "module": "src/field/field-base.ts"
4736
+ }
4769
4737
  },
4770
4738
  {
4771
4739
  "kind": "method",
4772
- "name": "handleClick",
4773
- "privacy": "protected",
4740
+ "name": "setDefaults",
4741
+ "static": true,
4774
4742
  "return": {
4775
4743
  "type": {
4776
- "text": "void"
4744
+ "text": "ContextProvider<Context<HTMLElement, UmFieldDefaults>>"
4777
4745
  }
4778
4746
  },
4779
4747
  "parameters": [
4780
4748
  {
4781
- "name": "event",
4749
+ "name": "contextRoot",
4782
4750
  "type": {
4783
- "text": "UIEvent"
4751
+ "text": "HTMLElement"
4752
+ }
4753
+ },
4754
+ {
4755
+ "name": "config",
4756
+ "type": {
4757
+ "text": "UmFieldDefaults"
4784
4758
  }
4785
4759
  }
4786
4760
  ],
4787
4761
  "inheritedFrom": {
4788
- "name": "UmButtonWrapper",
4789
- "module": "src/shared/button-wrapper.ts"
4790
- }
4791
- },
4792
- {
4793
- "kind": "method",
4794
- "name": "renderContent",
4795
- "privacy": "protected",
4796
- "return": {
4797
- "type": {
4798
- "text": "HTMLTemplateResult"
4799
- }
4800
- },
4801
- "inheritedFrom": {
4802
- "name": "UmButtonWrapper",
4803
- "module": "src/shared/button-wrapper.ts"
4762
+ "name": "UmFieldBase",
4763
+ "module": "src/field/field-base.ts"
4804
4764
  }
4805
4765
  },
4806
4766
  {
4807
4767
  "kind": "field",
4808
- "name": "disabled",
4768
+ "name": "hasLeadingIcon",
4809
4769
  "type": {
4810
4770
  "text": "boolean"
4811
4771
  },
4812
4772
  "default": "false",
4813
- "description": "Whether the button is disabled or not.",
4814
- "attribute": "disabled",
4773
+ "description": "Whether the field has a leading icon or not\n\n_Note:_ Readonly",
4774
+ "attribute": "has-leading-icon",
4815
4775
  "reflects": true,
4816
4776
  "inheritedFrom": {
4817
- "name": "UmButtonWrapper",
4818
- "module": "src/shared/button-wrapper.ts"
4777
+ "name": "UmFieldBase",
4778
+ "module": "src/field/field-base.ts"
4819
4779
  }
4820
4780
  },
4821
4781
  {
4822
4782
  "kind": "field",
4823
- "name": "renderRipple",
4783
+ "name": "hasTrailingIcon",
4824
4784
  "type": {
4825
4785
  "text": "boolean"
4826
4786
  },
4827
- "default": "true",
4787
+ "default": "false",
4788
+ "description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
4789
+ "attribute": "has-trailing-icon",
4790
+ "reflects": true,
4828
4791
  "inheritedFrom": {
4829
- "name": "UmButtonWrapper",
4830
- "module": "src/shared/button-wrapper.ts"
4792
+ "name": "UmFieldBase",
4793
+ "module": "src/field/field-base.ts"
4831
4794
  }
4832
4795
  },
4833
4796
  {
4834
4797
  "kind": "field",
4835
- "name": "href",
4798
+ "name": "hasErrorText",
4836
4799
  "type": {
4837
- "text": "string | undefined"
4800
+ "text": "boolean"
4838
4801
  },
4839
- "description": "The URL that the link button points to.",
4840
- "attribute": "href",
4802
+ "default": "false",
4803
+ "description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
4804
+ "attribute": "has-error-text",
4805
+ "reflects": true,
4841
4806
  "inheritedFrom": {
4842
- "name": "UmButtonWrapper",
4843
- "module": "src/shared/button-wrapper.ts"
4807
+ "name": "UmFieldBase",
4808
+ "module": "src/field/field-base.ts"
4844
4809
  }
4845
4810
  },
4846
4811
  {
4847
4812
  "kind": "field",
4848
- "name": "target",
4813
+ "name": "assignedLeadingIcons",
4849
4814
  "type": {
4850
- "text": "string | undefined"
4815
+ "text": "HTMLElement[]"
4851
4816
  },
4852
- "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
4853
- "attribute": "target",
4817
+ "privacy": "private",
4854
4818
  "inheritedFrom": {
4855
- "name": "UmButtonWrapper",
4856
- "module": "src/shared/button-wrapper.ts"
4819
+ "name": "UmFieldBase",
4820
+ "module": "src/field/field-base.ts"
4857
4821
  }
4858
4822
  },
4859
4823
  {
4860
4824
  "kind": "field",
4861
- "name": "name",
4825
+ "name": "assignedTrailingIcons",
4862
4826
  "type": {
4863
- "text": "string | undefined"
4827
+ "text": "HTMLElement[]"
4864
4828
  },
4865
- "attribute": "name",
4829
+ "privacy": "private",
4866
4830
  "inheritedFrom": {
4867
- "name": "UmButtonWrapper",
4868
- "module": "src/shared/button-wrapper.ts"
4831
+ "name": "UmFieldBase",
4832
+ "module": "src/field/field-base.ts"
4869
4833
  }
4870
4834
  },
4871
4835
  {
4872
4836
  "kind": "field",
4873
- "name": "buttonElement",
4837
+ "name": "assignedErrorTexts",
4874
4838
  "type": {
4875
- "text": "HTMLElement"
4839
+ "text": "HTMLElement[]"
4876
4840
  },
4841
+ "privacy": "private",
4877
4842
  "inheritedFrom": {
4878
- "name": "UmButtonWrapper",
4879
- "module": "src/shared/button-wrapper.ts"
4843
+ "name": "UmFieldBase",
4844
+ "module": "src/field/field-base.ts"
4880
4845
  }
4881
4846
  },
4882
4847
  {
4883
4848
  "kind": "field",
4884
- "name": "ripple",
4849
+ "name": "_labelElement",
4885
4850
  "type": {
4886
- "text": "UmRipple"
4851
+ "text": "HTMLElement"
4887
4852
  },
4888
4853
  "privacy": "private",
4889
4854
  "inheritedFrom": {
4890
- "name": "UmButtonWrapper",
4891
- "module": "src/shared/button-wrapper.ts"
4855
+ "name": "UmFieldBase",
4856
+ "module": "src/field/field-base.ts"
4892
4857
  }
4893
4858
  },
4894
4859
  {
4895
4860
  "kind": "field",
4896
- "name": "innerRole",
4861
+ "name": "_container",
4897
4862
  "type": {
4898
- "text": "string | null"
4863
+ "text": "HTMLElement"
4899
4864
  },
4900
4865
  "privacy": "protected",
4901
- "default": "null",
4902
4866
  "inheritedFrom": {
4903
- "name": "UmButtonWrapper",
4904
- "module": "src/shared/button-wrapper.ts"
4867
+ "name": "UmFieldBase",
4868
+ "module": "src/field/field-base.ts"
4905
4869
  }
4906
4870
  },
4907
4871
  {
4908
4872
  "kind": "field",
4909
- "name": "pathname",
4873
+ "name": "labelSizeObserver",
4910
4874
  "type": {
4911
- "text": "string"
4875
+ "text": "ResizeObserver | null"
4912
4876
  },
4877
+ "privacy": "private",
4878
+ "default": "null",
4913
4879
  "inheritedFrom": {
4914
- "name": "UmButtonWrapper",
4915
- "module": "src/shared/button-wrapper.ts"
4880
+ "name": "UmFieldBase",
4881
+ "module": "src/field/field-base.ts"
4916
4882
  }
4917
4883
  },
4918
4884
  {
4919
4885
  "kind": "method",
4920
- "name": "renderButton",
4921
- "privacy": "private",
4886
+ "name": "renderAfterContent",
4887
+ "privacy": "protected",
4888
+ "return": {
4889
+ "type": {
4890
+ "text": "TemplateResult"
4891
+ }
4892
+ },
4922
4893
  "inheritedFrom": {
4923
- "name": "UmButtonWrapper",
4924
- "module": "src/shared/button-wrapper.ts"
4894
+ "name": "UmFieldBase",
4895
+ "module": "src/field/field-base.ts"
4925
4896
  }
4926
4897
  },
4927
4898
  {
4928
4899
  "kind": "method",
4929
- "name": "renderLink",
4930
- "privacy": "private",
4900
+ "name": "#attach",
4901
+ "return": {
4902
+ "type": {
4903
+ "text": "Promise<void>"
4904
+ }
4905
+ },
4931
4906
  "inheritedFrom": {
4932
- "name": "UmButtonWrapper",
4933
- "module": "src/shared/button-wrapper.ts"
4907
+ "name": "UmFieldBase",
4908
+ "module": "src/field/field-base.ts"
4934
4909
  }
4935
4910
  },
4936
4911
  {
4937
4912
  "kind": "method",
4938
- "name": "focus",
4913
+ "name": "handleLeadingIconSlotChange",
4914
+ "privacy": "private",
4939
4915
  "inheritedFrom": {
4940
- "name": "UmButtonWrapper",
4941
- "module": "src/shared/button-wrapper.ts"
4916
+ "name": "UmFieldBase",
4917
+ "module": "src/field/field-base.ts"
4942
4918
  }
4943
4919
  },
4944
4920
  {
4945
4921
  "kind": "method",
4946
- "name": "blur",
4922
+ "name": "handleTrailingIconSlotChange",
4923
+ "privacy": "private",
4947
4924
  "inheritedFrom": {
4948
- "name": "UmButtonWrapper",
4949
- "module": "src/shared/button-wrapper.ts"
4925
+ "name": "UmFieldBase",
4926
+ "module": "src/field/field-base.ts"
4950
4927
  }
4951
4928
  },
4952
4929
  {
4953
4930
  "kind": "method",
4954
- "name": "getAriaLabel",
4955
- "privacy": "protected",
4956
- "return": {
4957
- "type": {
4958
- "text": "string | null"
4959
- }
4960
- },
4931
+ "name": "handleErrorTextSlotChange",
4932
+ "privacy": "private",
4961
4933
  "inheritedFrom": {
4962
- "name": "UmButtonWrapper",
4963
- "module": "src/shared/button-wrapper.ts"
4934
+ "name": "UmFieldBase",
4935
+ "module": "src/field/field-base.ts"
4964
4936
  }
4965
4937
  },
4966
4938
  {
4967
4939
  "kind": "method",
4968
- "name": "innerFocusHandler",
4940
+ "name": "setLabelWidthProperties",
4969
4941
  "privacy": "private",
4970
- "return": {
4971
- "type": {
4972
- "text": "void"
4973
- }
4974
- },
4975
4942
  "inheritedFrom": {
4976
- "name": "UmButtonWrapper",
4977
- "module": "src/shared/button-wrapper.ts"
4943
+ "name": "UmFieldBase",
4944
+ "module": "src/field/field-base.ts"
4978
4945
  }
4979
4946
  },
4980
4947
  {
4981
4948
  "kind": "method",
4982
- "name": "#innerClickHandler",
4949
+ "name": "renderDefaultTrailingIcon",
4950
+ "privacy": "protected",
4983
4951
  "return": {
4984
4952
  "type": {
4985
- "text": "void"
4953
+ "text": "TemplateResult | typeof nothing"
4986
4954
  }
4987
4955
  },
4988
- "parameters": [
4989
- {
4990
- "name": "event",
4991
- "type": {
4992
- "text": "MouseEvent"
4993
- }
4994
- }
4995
- ],
4996
4956
  "inheritedFrom": {
4997
- "name": "UmButtonWrapper",
4998
- "module": "src/shared/button-wrapper.ts"
4957
+ "name": "UmFieldBase",
4958
+ "module": "src/field/field-base.ts"
4999
4959
  }
5000
4960
  }
5001
4961
  ],
@@ -5009,155 +4969,195 @@
5009
4969
  ],
5010
4970
  "attributes": [
5011
4971
  {
5012
- "name": "selected",
4972
+ "name": "name",
4973
+ "type": {
4974
+ "text": "string"
4975
+ },
4976
+ "fieldName": "name"
4977
+ },
4978
+ {
4979
+ "name": "manual",
5013
4980
  "type": {
5014
4981
  "text": "boolean"
5015
4982
  },
5016
4983
  "default": "false",
5017
- "description": "Whether the chip is selected or not",
5018
- "fieldName": "selected"
4984
+ "description": "If true, ignore enter key input",
4985
+ "fieldName": "manual"
5019
4986
  },
5020
4987
  {
5021
- "name": "clickable",
4988
+ "name": "placeholder",
5022
4989
  "type": {
5023
- "text": "boolean"
4990
+ "text": "string | undefined"
5024
4991
  },
5025
- "fieldName": "clickable"
4992
+ "fieldName": "placeholder",
4993
+ "inheritedFrom": {
4994
+ "name": "UmTextFieldBase",
4995
+ "module": "src/shared/text-field-base/text-field-base.ts"
4996
+ }
5026
4997
  },
5027
4998
  {
5028
- "name": "elevated",
4999
+ "name": "variant",
5029
5000
  "type": {
5030
- "text": "boolean"
5001
+ "text": "'filled' | 'outlined' | undefined"
5031
5002
  },
5032
- "default": "false",
5033
- "description": "Adds elevation to the chip",
5034
- "fieldName": "elevated"
5003
+ "default": "undefined",
5004
+ "resolveInitializer": {
5005
+ "module": "src/field/field-base.ts"
5006
+ },
5007
+ "fieldName": "variant",
5008
+ "inheritedFrom": {
5009
+ "name": "UmFieldBase",
5010
+ "module": "src/field/field-base.ts"
5011
+ }
5035
5012
  },
5036
5013
  {
5037
- "name": "toggle",
5014
+ "name": "label",
5038
5015
  "type": {
5039
- "text": "boolean"
5016
+ "text": "string | undefined"
5040
5017
  },
5041
- "description": "When true, the chip will toggle between selected and unselected\nstates",
5042
- "fieldName": "toggle"
5018
+ "description": "The floating label for the field",
5019
+ "fieldName": "label",
5020
+ "inheritedFrom": {
5021
+ "name": "UmFieldBase",
5022
+ "module": "src/field/field-base.ts"
5023
+ }
5043
5024
  },
5044
5025
  {
5045
- "name": "removable",
5026
+ "name": "counter",
5046
5027
  "type": {
5047
- "text": "boolean"
5028
+ "text": "string | undefined"
5048
5029
  },
5049
- "default": "false",
5050
- "description": "Add the remove icon",
5051
- "fieldName": "removable"
5030
+ "fieldName": "counter",
5031
+ "inheritedFrom": {
5032
+ "name": "UmFieldBase",
5033
+ "module": "src/field/field-base.ts"
5034
+ }
5052
5035
  },
5053
5036
  {
5054
- "name": "hide-selected-icon",
5037
+ "name": "supporting-text",
5055
5038
  "type": {
5056
- "text": "boolean"
5039
+ "text": "string | undefined"
5057
5040
  },
5058
- "default": "false",
5059
- "description": "Hide the selected icon",
5060
- "fieldName": "hideSelectedIcon"
5041
+ "description": "Supporting text conveys additional information about the field, such as how it will be used",
5042
+ "fieldName": "supportingText",
5043
+ "inheritedFrom": {
5044
+ "name": "UmFieldBase",
5045
+ "module": "src/field/field-base.ts"
5046
+ }
5061
5047
  },
5062
5048
  {
5063
- "name": "has-leading-icon",
5049
+ "name": "error-text",
5064
5050
  "type": {
5065
- "text": "boolean"
5051
+ "text": "string | undefined"
5066
5052
  },
5067
- "default": "false",
5068
- "description": "Whether the chip has a leading icon or not\n\n_Note:_ Readonly",
5069
- "fieldName": "hasLeadingIcon"
5053
+ "description": "For text fields that validate their content (such as passwords), replace supporting text with error text when applicable.\nIf `errorText` is not an empty string, changing the property `invalid` to `true` will show the `errorText` instead of `supportingText`",
5054
+ "fieldName": "errorText",
5055
+ "inheritedFrom": {
5056
+ "name": "UmFieldBase",
5057
+ "module": "src/field/field-base.ts"
5058
+ }
5070
5059
  },
5071
5060
  {
5072
- "name": "has-selected-icon",
5061
+ "name": "empty",
5073
5062
  "type": {
5074
5063
  "text": "boolean"
5075
5064
  },
5076
5065
  "default": "false",
5077
- "description": "Whether the chip has a selected icon or not\n\n_Note:_ Readonly",
5078
- "fieldName": "hasSelectedIcon"
5066
+ "description": "Whether the field is empty or not. This changes the behavior of the floating label when the field is not focused.",
5067
+ "fieldName": "empty",
5068
+ "inheritedFrom": {
5069
+ "name": "UmFieldBase",
5070
+ "module": "src/field/field-base.ts"
5071
+ }
5079
5072
  },
5080
5073
  {
5081
- "name": "has-trailing-icon",
5074
+ "name": "disabled",
5082
5075
  "type": {
5083
5076
  "text": "boolean"
5084
5077
  },
5085
5078
  "default": "false",
5086
- "description": "Whether the chip has a trailing icon or not\n\n_Note:_ Readonly",
5087
- "fieldName": "hasTrailingIcon"
5079
+ "fieldName": "disabled",
5080
+ "inheritedFrom": {
5081
+ "name": "UmFieldBase",
5082
+ "module": "src/field/field-base.ts"
5083
+ }
5088
5084
  },
5089
5085
  {
5090
- "name": "disabled",
5086
+ "name": "invalid",
5091
5087
  "type": {
5092
5088
  "text": "boolean"
5093
5089
  },
5094
5090
  "default": "false",
5095
- "description": "Whether the button is disabled or not.",
5096
- "fieldName": "disabled",
5091
+ "description": "Get or sets where or not the field is in a visually invalid state.",
5092
+ "fieldName": "invalid",
5097
5093
  "inheritedFrom": {
5098
- "name": "UmButtonWrapper",
5099
- "module": "src/shared/button-wrapper.ts"
5094
+ "name": "UmFieldBase",
5095
+ "module": "src/field/field-base.ts"
5100
5096
  }
5101
5097
  },
5102
5098
  {
5103
- "name": "href",
5099
+ "name": "has-leading-icon",
5104
5100
  "type": {
5105
- "text": "string | undefined"
5101
+ "text": "boolean"
5106
5102
  },
5107
- "description": "The URL that the link button points to.",
5108
- "fieldName": "href",
5103
+ "default": "false",
5104
+ "description": "Whether the field has a leading icon or not\n\n_Note:_ Readonly",
5105
+ "fieldName": "hasLeadingIcon",
5109
5106
  "inheritedFrom": {
5110
- "name": "UmButtonWrapper",
5111
- "module": "src/shared/button-wrapper.ts"
5107
+ "name": "UmFieldBase",
5108
+ "module": "src/field/field-base.ts"
5112
5109
  }
5113
5110
  },
5114
5111
  {
5115
- "name": "target",
5112
+ "name": "has-trailing-icon",
5116
5113
  "type": {
5117
- "text": "string | undefined"
5114
+ "text": "boolean"
5118
5115
  },
5119
- "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
5120
- "fieldName": "target",
5116
+ "default": "false",
5117
+ "description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
5118
+ "fieldName": "hasTrailingIcon",
5121
5119
  "inheritedFrom": {
5122
- "name": "UmButtonWrapper",
5123
- "module": "src/shared/button-wrapper.ts"
5120
+ "name": "UmFieldBase",
5121
+ "module": "src/field/field-base.ts"
5124
5122
  }
5125
5123
  },
5126
5124
  {
5127
- "name": "name",
5125
+ "name": "has-error-text",
5128
5126
  "type": {
5129
- "text": "string | undefined"
5127
+ "text": "boolean"
5130
5128
  },
5131
- "fieldName": "name",
5129
+ "default": "false",
5130
+ "description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
5131
+ "fieldName": "hasErrorText",
5132
5132
  "inheritedFrom": {
5133
- "name": "UmButtonWrapper",
5134
- "module": "src/shared/button-wrapper.ts"
5133
+ "name": "UmFieldBase",
5134
+ "module": "src/field/field-base.ts"
5135
5135
  }
5136
5136
  }
5137
5137
  ],
5138
5138
  "superclass": {
5139
- "name": "UmButtonWrapper",
5140
- "module": "/src/shared/button-wrapper.js"
5139
+ "name": "UmTextFieldBase",
5140
+ "module": "/src/shared/text-field-base/text-field-base.js"
5141
5141
  },
5142
- "tagName": "u-chip",
5142
+ "tagName": "u-chip-field",
5143
5143
  "customElement": true
5144
5144
  }
5145
5145
  ],
5146
5146
  "exports": [
5147
5147
  {
5148
5148
  "kind": "js",
5149
- "name": "UmChip",
5149
+ "name": "UmChipField",
5150
5150
  "declaration": {
5151
- "name": "UmChip",
5152
- "module": "src/chip/chip.ts"
5151
+ "name": "UmChipField",
5152
+ "module": "src/chip-field/chip-field.ts"
5153
5153
  }
5154
5154
  },
5155
5155
  {
5156
5156
  "kind": "custom-element-definition",
5157
- "name": "u-chip",
5157
+ "name": "u-chip-field",
5158
5158
  "declaration": {
5159
- "name": "UmChip",
5160
- "module": "src/chip/chip.ts"
5159
+ "name": "UmChipField",
5160
+ "module": "src/chip-field/chip-field.ts"
5161
5161
  }
5162
5162
  }
5163
5163
  ]