@universal-material/web 3.0.105 → 3.0.107

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.
@@ -1147,7 +1147,7 @@
1147
1147
  {
1148
1148
  "kind": "variable",
1149
1149
  "name": "styles",
1150
- "default": "css `\n :host {\n --u-common-button-line-height: var(--u-label-large-line-height, 1.25rem);\n --u-common-button-font-size: var(--u-label-large-font-size, 0.875rem);\n --u-common-button-font-weight: var(--u-font-weight-medium, 500);\n --_common-button-height: var(--u-common-button-height, 2.5rem);\n --_common-button-padding: var(--u-common-button-padding, 24px);\n --_common-button-icon-size: var(--u-common-button-icon-size, 1.125rem);\n --_common-button-icon-padding: var(--u-common-button-icon-padding, 16px);\n --_common-button-icon-margin: var(--u-common-button-icon-margin, 8px);\n border-radius: var(--u-common-button-shape-corner, var(--u-shape-corner-full, 9999px));\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 height: var(--u-common-button-height, 40px);\n font-size: var(--u-common-button-font-size);\n font-weight: var(--u-common-button-font-weight);\n padding-inline: var(--_common-button-padding);\n box-sizing: border-box;\n }\n\n :host([variant=filled]),\n :host([variant=filled][color=primary]) {\n background-color: var(--u-filled-button-primary-container-color, var(--_color-primary));\n color: var(--u-filled-button-primary-text-color, var(--u-color-on-primary, rgb(255, 255, 255)));\n }\n\n :host([variant=filled][color=secondary]) {\n background-color: var(--u-filled-button-secondary-container-color, var(--u-color-secondary, rgb(98, 91, 113)));\n color: var(--u-filled-button-secondary-text-color, var(--u-color-on-secondary, rgb(255, 255, 255)));\n }\n\n :host([variant=filled][color=tertiary]) {\n background-color: var(--u-filled-button-tertiary-container-color, var(--u-color-tertiary, rgb(125, 82, 96)));\n color: var(--u-filled-button-tertiary-text-color, var(--u-color-on-tertiary, rgb(255, 255, 255)));\n }\n\n :host([variant=filled][color=error]) {\n background-color: var(--u-filled-button-error-container-color, var(--u-color-error, rgb(179, 38, 30)));\n color: var(--u-filled-button-error-text-color, var(--u-color-on-error, rgb(255, 255, 255)));\n }\n\n :host([variant=tonal]) {\n background-color: var(--u-tonal-button-bg-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n color: var(--u-tonal-button-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n :host([variant=elevated]) {\n background-color: var(--u-elevated-button-bg-color, var(--u-color-surface-container-low, rgb(247, 242, 250)));\n color: var(--u-tonal-button-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n @media (hover: hover) {\n :host([variant=filled]:hover:not(:focus-within):not(:active)),\n :host([variant=tonal]:hover:not(:focus-within):not(:active)) {\n --u-elevation-level: var(--u-filled-button-hover-elevation-level, 1);\n }\n }\n :host([variant=text]) {\n color: var(--u-text-button-text-color, var(--_color-primary));\n }\n\n :host([variant=outlined]) {\n color: var(--u-outlined-button-text-color, var(--u-text-button-text-color, var(--_color-primary)));\n border: 1px solid var(--u-outlined-button-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n }\n\n :host([variant=elevated]) {\n --u-elevation-level: var(--u-elevated-button-elevation-level, 1);\n color: var(--u-elevated-button-text-color, var(--_color-primary));\n }\n\n :host([disabled][variant=outlined]) {\n background-color: transparent !important;\n border-color: var(--u-outlined-button-disabled-border-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-outlined-button-disabled-border-opacity, 0.12))) !important;\n }\n\n @media (hover: hover) {\n :host([variant=elevated]:hover) {\n --u-elevation-level: var(--u-elevated-button-hover-elevation-level, 2);\n }\n }\n :host([has-icon]) {\n padding-inline: var(--_common-button-icon-padding) var(--_common-button-padding);\n }\n\n :host([has-icon][trailing-icon]) {\n padding-inline: var(--_common-button-padding) var(--_common-button-icon-padding);\n }\n\n :host(:not([has-icon])) .icon {\n display: none;\n }\n\n .icon {\n font-size: var(--_common-button-icon-size);\n padding-inline-end: var(--_common-button-icon-margin);\n margin-inline-end: auto;\n }\n\n :host([trailing-icon]) .icon {\n padding-inline: var(--_common-button-icon-margin) 0;\n margin-inline: auto 0;\n }\n`"
1150
+ "default": "css `\n :host {\n --u-common-button-line-height: var(--u-label-large-line-height, 1.25rem);\n --u-common-button-font-size: var(--u-label-large-font-size, 0.875rem);\n --u-common-button-font-weight: var(--u-font-weight-medium, 500);\n --_common-button-height: var(--u-common-button-height, 2.5rem);\n --_common-button-padding: var(--u-common-button-padding, 24px);\n --_common-button-icon-size: var(--u-common-button-icon-size, 1.125rem);\n --_common-button-icon-padding: var(--u-common-button-icon-padding, 16px);\n --_common-button-icon-margin: var(--u-common-button-icon-margin, 8px);\n border-radius: var(--u-common-button-shape-corner, var(--u-shape-corner-full, 9999px));\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 height: var(--u-common-button-height, 40px);\n font-size: var(--u-common-button-font-size);\n font-weight: var(--u-common-button-font-weight);\n padding-inline: var(--_common-button-padding);\n box-sizing: border-box;\n }\n\n :host([variant=filled]),\n :host([variant=filled][color=primary]) {\n background-color: var(--u-filled-button-primary-container-color, var(--_color-primary));\n color: var(--u-filled-button-primary-text-color, var(--u-color-on-primary, rgb(255, 255, 255)));\n }\n\n :host([variant=filled][color=secondary]) {\n background-color: var(--u-filled-button-secondary-container-color, var(--u-color-secondary, rgb(98, 91, 113)));\n color: var(--u-filled-button-secondary-text-color, var(--u-color-on-secondary, rgb(255, 255, 255)));\n }\n\n :host([variant=filled][color=tertiary]) {\n background-color: var(--u-filled-button-tertiary-container-color, var(--u-color-tertiary, rgb(125, 82, 96)));\n color: var(--u-filled-button-tertiary-text-color, var(--u-color-on-tertiary, rgb(255, 255, 255)));\n }\n\n :host([variant=filled][color=error]) {\n background-color: var(--u-filled-button-error-container-color, var(--u-color-error, rgb(179, 38, 30)));\n color: var(--u-filled-button-error-text-color, var(--u-color-on-error, rgb(255, 255, 255)));\n }\n\n :host([variant=tonal]) {\n background-color: var(--u-tonal-button-bg-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n color: var(--u-tonal-button-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n :host([variant=elevated]) {\n background-color: var(--u-elevated-button-bg-color, var(--u-color-surface-container-low, rgb(247, 242, 250)));\n color: var(--u-tonal-button-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n @media (hover: hover) {\n :host([variant=filled]:hover:not(:focus-within):not(:active)),\n :host([variant=tonal]:hover:not(:focus-within):not(:active)) {\n --u-elevation-level: var(--u-filled-button-hover-elevation-level, 1);\n }\n }\n :host([variant=text]) {\n color: var(--u-text-button-text-color, var(--_color-primary));\n }\n\n :host([variant=outlined]) {\n color: var(--u-outlined-button-text-color, var(--u-text-button-text-color, var(--_color-primary)));\n border: 1px solid var(--u-outlined-button-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n }\n\n :host([variant=elevated]) {\n --u-elevation-level: var(--u-elevated-button-elevation-level, 1);\n color: var(--u-elevated-button-text-color, var(--_color-primary));\n }\n\n :host([disabled][variant=outlined]) {\n background-color: transparent !important;\n border-color: var(--u-outlined-button-disabled-border-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-outlined-button-disabled-border-opacity, 0.12))) !important;\n }\n\n @media (hover: hover) {\n :host([variant=elevated]:hover) {\n --u-elevation-level: var(--u-elevated-button-hover-elevation-level, 2);\n }\n }\n :host([has-icon]) {\n padding-inline: var(--_common-button-icon-padding) var(--_common-button-padding);\n }\n\n :host([has-icon][trailing-icon]) {\n padding-inline: var(--_common-button-padding) var(--_common-button-icon-padding);\n }\n\n :host(:not([has-icon])) .icon {\n display: none;\n }\n\n .icon {\n font-size: var(--_common-button-icon-size);\n margin-inline-end: var(--_common-button-icon-margin);\n }\n\n :host([trailing-icon]) .icon {\n margin-inline: var(--_common-button-icon-margin) 0;\n }\n`"
1151
1151
  }
1152
1152
  ],
1153
1153
  "exports": [
@@ -1212,14 +1212,6 @@
1212
1212
  "attribute": "has-icon",
1213
1213
  "reflects": true
1214
1214
  },
1215
- {
1216
- "kind": "field",
1217
- "name": "assignedIcons",
1218
- "type": {
1219
- "text": "HTMLElement[]"
1220
- },
1221
- "privacy": "private"
1222
- },
1223
1215
  {
1224
1216
  "kind": "method",
1225
1217
  "name": "renderContent",
@@ -1237,7 +1229,15 @@
1237
1229
  {
1238
1230
  "kind": "method",
1239
1231
  "name": "handleSlotChange",
1240
- "privacy": "private"
1232
+ "privacy": "private",
1233
+ "parameters": [
1234
+ {
1235
+ "name": "e",
1236
+ "type": {
1237
+ "text": "Event"
1238
+ }
1239
+ }
1240
+ ]
1241
1241
  },
1242
1242
  {
1243
1243
  "kind": "field",
@@ -3712,12 +3712,12 @@
3712
3712
  },
3713
3713
  {
3714
3714
  "kind": "javascript-module",
3715
- "path": "src/chip/chip-set.styles.ts",
3715
+ "path": "src/chip-field/chip-field.styles.ts",
3716
3716
  "declarations": [
3717
3717
  {
3718
3718
  "kind": "variable",
3719
3719
  "name": "styles",
3720
- "default": "css `\n :host {\n flex-wrap: wrap;\n }\n`"
3720
+ "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`"
3721
3721
  }
3722
3722
  ],
3723
3723
  "exports": [
@@ -3726,1323 +3726,1376 @@
3726
3726
  "name": "styles",
3727
3727
  "declaration": {
3728
3728
  "name": "styles",
3729
- "module": "src/chip/chip-set.styles.ts"
3729
+ "module": "src/chip-field/chip-field.styles.ts"
3730
3730
  }
3731
3731
  }
3732
3732
  ]
3733
3733
  },
3734
3734
  {
3735
3735
  "kind": "javascript-module",
3736
- "path": "src/chip/chip-set.ts",
3736
+ "path": "src/chip-field/chip-field.ts",
3737
3737
  "declarations": [
3738
3738
  {
3739
3739
  "kind": "class",
3740
3740
  "description": "",
3741
- "name": "UmChipSet",
3741
+ "name": "UmChipField",
3742
3742
  "members": [
3743
3743
  {
3744
3744
  "kind": "field",
3745
- "name": "alignment",
3746
- "type": {
3747
- "text": "'start' | 'center' | 'end'"
3748
- },
3749
- "default": "'start'",
3750
- "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
3751
- "attribute": "alignment",
3752
- "reflects": true,
3753
- "inheritedFrom": {
3754
- "name": "UmSetBase",
3755
- "module": "src/shared/sets/set-base.ts"
3756
- }
3757
- }
3758
- ],
3759
- "superclass": {
3760
- "name": "UmSetBase",
3761
- "module": "/src/shared/sets/set-base.js"
3762
- },
3763
- "tagName": "u-chip-set",
3764
- "customElement": true,
3765
- "attributes": [
3766
- {
3767
- "name": "alignment",
3745
+ "name": "input",
3768
3746
  "type": {
3769
- "text": "'start' | 'center' | 'end'"
3770
- },
3771
- "default": "'start'",
3772
- "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
3773
- "fieldName": "alignment",
3774
- "inheritedFrom": {
3775
- "name": "UmSetBase",
3776
- "module": "src/shared/sets/set-base.ts"
3747
+ "text": "HTMLInputElement"
3777
3748
  }
3778
- }
3779
- ]
3780
- }
3781
- ],
3782
- "exports": [
3783
- {
3784
- "kind": "js",
3785
- "name": "UmChipSet",
3786
- "declaration": {
3787
- "name": "UmChipSet",
3788
- "module": "src/chip/chip-set.ts"
3789
- }
3790
- },
3791
- {
3792
- "kind": "custom-element-definition",
3793
- "name": "u-chip-set",
3794
- "declaration": {
3795
- "name": "UmChipSet",
3796
- "module": "src/chip/chip-set.ts"
3797
- }
3798
- }
3799
- ]
3800
- },
3801
- {
3802
- "kind": "javascript-module",
3803
- "path": "src/chip/chip.styles.ts",
3804
- "declarations": [
3805
- {
3806
- "kind": "variable",
3807
- "name": "styles",
3808
- "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: 1em;\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`"
3809
- }
3810
- ],
3811
- "exports": [
3812
- {
3813
- "kind": "js",
3814
- "name": "styles",
3815
- "declaration": {
3816
- "name": "styles",
3817
- "module": "src/chip/chip.styles.ts"
3818
- }
3819
- }
3820
- ]
3821
- },
3822
- {
3823
- "kind": "javascript-module",
3824
- "path": "src/chip/chip.ts",
3825
- "declarations": [
3826
- {
3827
- "kind": "class",
3828
- "description": "",
3829
- "name": "UmChip",
3830
- "members": [
3831
- {
3832
- "kind": "field",
3833
- "name": "#clickable",
3834
- "privacy": "private",
3835
- "type": {
3836
- "text": "boolean"
3837
- },
3838
- "default": "false"
3839
- },
3840
- {
3841
- "kind": "field",
3842
- "name": "#toggle",
3843
- "privacy": "private",
3844
- "type": {
3845
- "text": "boolean"
3846
- },
3847
- "default": "false"
3848
- },
3849
- {
3850
- "kind": "field",
3851
- "name": "selected",
3852
- "type": {
3853
- "text": "boolean"
3854
- },
3855
- "default": "false",
3856
- "description": "Whether the chip is selected or not",
3857
- "attribute": "selected",
3858
- "reflects": true
3859
3749
  },
3860
3750
  {
3861
3751
  "kind": "field",
3862
- "name": "clickable",
3752
+ "name": "name",
3863
3753
  "type": {
3864
- "text": "boolean"
3754
+ "text": "string"
3865
3755
  },
3866
- "attribute": "clickable",
3867
- "reflects": true
3756
+ "attribute": "name"
3868
3757
  },
3869
3758
  {
3870
3759
  "kind": "field",
3871
- "name": "elevated",
3760
+ "name": "manual",
3872
3761
  "type": {
3873
3762
  "text": "boolean"
3874
3763
  },
3875
3764
  "default": "false",
3876
- "description": "Adds elevation to the chip",
3877
- "attribute": "elevated",
3878
- "reflects": true
3765
+ "description": "If true, ignore enter key input",
3766
+ "attribute": "manual"
3879
3767
  },
3880
3768
  {
3881
3769
  "kind": "field",
3882
- "name": "toggle",
3770
+ "name": "formatter",
3883
3771
  "type": {
3884
- "text": "boolean"
3772
+ "text": "((value: any) => string) | undefined"
3885
3773
  },
3886
- "description": "When true, the chip will toggle between selected and unselected\nstates",
3887
- "attribute": "toggle",
3888
- "reflects": true
3774
+ "description": "A function return a string based on a item from the `value`. Useful when the items of value are objects."
3889
3775
  },
3890
3776
  {
3891
3777
  "kind": "field",
3892
- "name": "removable",
3778
+ "name": "leadingIconTemplate",
3893
3779
  "type": {
3894
- "text": "boolean"
3780
+ "text": "((value: any) => string) | undefined"
3895
3781
  },
3896
- "default": "false",
3897
- "description": "Add the remove icon",
3898
- "attribute": "removable",
3899
- "reflects": true
3782
+ "description": "A string representing an HTML to be rendered inside as leading icon of each chip.\n\n_Note:_ Subject to signature change"
3900
3783
  },
3901
3784
  {
3902
3785
  "kind": "field",
3903
- "name": "hideSelectedIcon",
3786
+ "name": "#value",
3787
+ "privacy": "private",
3904
3788
  "type": {
3905
- "text": "boolean"
3789
+ "text": "any[]"
3906
3790
  },
3907
- "default": "false",
3908
- "description": "Hide the selected icon",
3909
- "attribute": "hide-selected-icon",
3910
- "reflects": true
3791
+ "default": "[]"
3911
3792
  },
3912
3793
  {
3913
3794
  "kind": "field",
3914
- "name": "hasLeadingIcon",
3795
+ "name": "value",
3915
3796
  "type": {
3916
- "text": "boolean"
3797
+ "text": "any[]"
3917
3798
  },
3918
- "default": "false",
3919
- "description": "Whether the chip has a leading icon or not\n\n_Note:_ Readonly",
3920
- "attribute": "has-leading-icon",
3921
- "reflects": true
3799
+ "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`."
3922
3800
  },
3923
3801
  {
3924
- "kind": "field",
3925
- "name": "hasSelectedIcon",
3926
- "type": {
3927
- "text": "boolean"
3928
- },
3929
- "default": "false",
3930
- "description": "Whether the chip has a selected icon or not\n\n_Note:_ Readonly",
3931
- "attribute": "has-selected-icon",
3932
- "reflects": true
3802
+ "kind": "method",
3803
+ "name": "setFormValue",
3804
+ "privacy": "private"
3933
3805
  },
3934
3806
  {
3935
- "kind": "field",
3936
- "name": "hasTrailingIcon",
3937
- "type": {
3938
- "text": "boolean"
3939
- },
3940
- "default": "false",
3941
- "description": "Whether the chip has a trailing icon or not\n\n_Note:_ Readonly",
3942
- "attribute": "has-trailing-icon",
3943
- "reflects": true
3807
+ "kind": "method",
3808
+ "name": "focus"
3944
3809
  },
3945
3810
  {
3946
- "kind": "field",
3947
- "name": "assignedLeadingIcons",
3948
- "type": {
3949
- "text": "HTMLElement[]"
3811
+ "kind": "method",
3812
+ "name": "renderControl",
3813
+ "privacy": "protected",
3814
+ "return": {
3815
+ "type": {
3816
+ "text": "HTMLTemplateResult"
3817
+ }
3950
3818
  },
3951
- "privacy": "private"
3819
+ "inheritedFrom": {
3820
+ "name": "UmFieldBase",
3821
+ "module": "src/field/field-base.ts"
3822
+ }
3952
3823
  },
3953
3824
  {
3954
- "kind": "field",
3955
- "name": "assignedSelectedIcons",
3956
- "type": {
3957
- "text": "HTMLElement[]"
3958
- },
3959
- "privacy": "private"
3825
+ "kind": "method",
3826
+ "name": "#getChips"
3960
3827
  },
3961
3828
  {
3962
- "kind": "field",
3963
- "name": "assignedTrailingIcons",
3964
- "type": {
3965
- "text": "HTMLElement[]"
3966
- },
3967
- "privacy": "private"
3829
+ "kind": "method",
3830
+ "name": "#handleBlur"
3968
3831
  },
3969
3832
  {
3970
- "kind": "field",
3971
- "name": "removeRipple",
3972
- "type": {
3973
- "text": "UmRipple"
3974
- }
3833
+ "kind": "method",
3834
+ "name": "#handleInput"
3975
3835
  },
3976
3836
  {
3977
3837
  "kind": "method",
3978
- "name": "#handleRemoveClick",
3838
+ "name": "#handleKeyDown",
3979
3839
  "parameters": [
3980
3840
  {
3981
3841
  "name": "e",
3982
3842
  "type": {
3983
- "text": "Event"
3843
+ "text": "KeyboardEvent"
3984
3844
  }
3985
3845
  }
3986
3846
  ]
3987
3847
  },
3988
3848
  {
3989
3849
  "kind": "method",
3990
- "name": "#handleTrailingIconSlotChange"
3850
+ "name": "add",
3851
+ "parameters": [
3852
+ {
3853
+ "name": "value",
3854
+ "type": {
3855
+ "text": "any"
3856
+ }
3857
+ },
3858
+ {
3859
+ "name": "triggerChange",
3860
+ "default": "false"
3861
+ }
3862
+ ]
3991
3863
  },
3992
3864
  {
3993
3865
  "kind": "method",
3994
- "name": "#handleLeadingIconSlotChange"
3866
+ "name": "removeAt",
3867
+ "parameters": [
3868
+ {
3869
+ "name": "index",
3870
+ "type": {
3871
+ "text": "number"
3872
+ }
3873
+ },
3874
+ {
3875
+ "name": "triggerChange",
3876
+ "default": "false"
3877
+ }
3878
+ ]
3879
+ },
3880
+ {
3881
+ "kind": "field",
3882
+ "name": "#removeChip",
3883
+ "privacy": "private"
3995
3884
  },
3996
3885
  {
3997
3886
  "kind": "method",
3998
- "name": "#handleSelectedIconSlotChange"
3887
+ "name": "#changed",
3888
+ "parameters": [
3889
+ {
3890
+ "name": "triggerChange",
3891
+ "type": {
3892
+ "text": "boolean"
3893
+ }
3894
+ }
3895
+ ]
3999
3896
  },
4000
3897
  {
4001
3898
  "kind": "method",
4002
- "name": "handleClick",
4003
- "privacy": "protected",
3899
+ "name": "#valueUpdate"
3900
+ },
3901
+ {
3902
+ "kind": "method",
3903
+ "name": "#setEmpty"
3904
+ },
3905
+ {
3906
+ "kind": "method",
3907
+ "name": "#dispatchRemoveEvent",
4004
3908
  "return": {
4005
3909
  "type": {
4006
- "text": "void"
3910
+ "text": "boolean"
4007
3911
  }
4008
3912
  },
4009
3913
  "parameters": [
4010
3914
  {
4011
- "name": "event",
3915
+ "name": "index",
4012
3916
  "type": {
4013
- "text": "UIEvent"
3917
+ "text": "number"
4014
3918
  }
4015
3919
  }
4016
- ],
4017
- "inheritedFrom": {
4018
- "name": "UmButtonWrapper",
4019
- "module": "src/shared/button-wrapper.ts"
4020
- }
3920
+ ]
4021
3921
  },
4022
3922
  {
4023
3923
  "kind": "method",
4024
- "name": "renderContent",
4025
- "privacy": "protected",
4026
- "return": {
4027
- "type": {
4028
- "text": "HTMLTemplateResult"
3924
+ "name": "getItemLabel",
3925
+ "privacy": "private",
3926
+ "parameters": [
3927
+ {
3928
+ "name": "item",
3929
+ "type": {
3930
+ "text": "any"
3931
+ }
4029
3932
  }
4030
- },
4031
- "inheritedFrom": {
4032
- "name": "UmButtonWrapper",
4033
- "module": "src/shared/button-wrapper.ts"
4034
- }
3933
+ ]
4035
3934
  },
4036
3935
  {
4037
3936
  "kind": "field",
4038
- "name": "disabled",
3937
+ "name": "formAssociated",
4039
3938
  "type": {
4040
3939
  "text": "boolean"
4041
3940
  },
4042
- "default": "false",
4043
- "description": "Whether the button is disabled or not.",
4044
- "attribute": "disabled",
4045
- "reflects": true,
3941
+ "static": true,
3942
+ "default": "true",
4046
3943
  "inheritedFrom": {
4047
- "name": "UmButtonWrapper",
4048
- "module": "src/shared/button-wrapper.ts"
3944
+ "name": "UmTextFieldBase",
3945
+ "module": "src/shared/text-field-base/text-field-base.ts"
4049
3946
  }
4050
3947
  },
4051
3948
  {
4052
3949
  "kind": "field",
4053
- "name": "renderRipple",
3950
+ "name": "shadowRootOptions",
4054
3951
  "type": {
4055
- "text": "boolean"
3952
+ "text": "ShadowRootInit"
4056
3953
  },
4057
- "default": "true",
3954
+ "static": true,
3955
+ "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }",
4058
3956
  "inheritedFrom": {
4059
- "name": "UmButtonWrapper",
4060
- "module": "src/shared/button-wrapper.ts"
3957
+ "name": "UmTextFieldBase",
3958
+ "module": "src/shared/text-field-base/text-field-base.ts"
4061
3959
  }
4062
3960
  },
4063
3961
  {
4064
3962
  "kind": "field",
4065
- "name": "href",
3963
+ "name": "empty",
4066
3964
  "type": {
4067
- "text": "string | undefined"
3965
+ "text": "boolean"
4068
3966
  },
4069
- "description": "The URL that the link button points to.",
4070
- "attribute": "href",
3967
+ "default": "true",
3968
+ "description": "Whether the field is empty or not. This changes the behavior of the floating label when the field is not focused.",
3969
+ "attribute": "empty",
3970
+ "reflects": true,
4071
3971
  "inheritedFrom": {
4072
- "name": "UmButtonWrapper",
4073
- "module": "src/shared/button-wrapper.ts"
3972
+ "name": "UmFieldBase",
3973
+ "module": "src/field/field-base.ts"
4074
3974
  }
4075
3975
  },
4076
3976
  {
4077
3977
  "kind": "field",
4078
- "name": "target",
3978
+ "name": "placeholder",
4079
3979
  "type": {
4080
- "text": "string | undefined"
3980
+ "text": "string"
4081
3981
  },
4082
- "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
4083
- "attribute": "target",
3982
+ "default": "''",
3983
+ "attribute": "placeholder",
3984
+ "reflects": true,
4084
3985
  "inheritedFrom": {
4085
- "name": "UmButtonWrapper",
4086
- "module": "src/shared/button-wrapper.ts"
3986
+ "name": "UmTextFieldBase",
3987
+ "module": "src/shared/text-field-base/text-field-base.ts"
4087
3988
  }
4088
3989
  },
4089
3990
  {
4090
3991
  "kind": "field",
4091
- "name": "name",
3992
+ "name": "form",
4092
3993
  "type": {
4093
- "text": "string | undefined"
3994
+ "text": "HTMLFormElement | null"
4094
3995
  },
4095
- "attribute": "name",
4096
3996
  "inheritedFrom": {
4097
- "name": "UmButtonWrapper",
4098
- "module": "src/shared/button-wrapper.ts"
3997
+ "name": "UmTextFieldBase",
3998
+ "module": "src/shared/text-field-base/text-field-base.ts"
4099
3999
  }
4100
4000
  },
4101
4001
  {
4102
4002
  "kind": "field",
4103
- "name": "buttonElement",
4003
+ "name": "elementInternals",
4104
4004
  "type": {
4105
- "text": "HTMLElement"
4005
+ "text": "ElementInternals"
4106
4006
  },
4007
+ "privacy": "protected",
4107
4008
  "inheritedFrom": {
4108
- "name": "UmButtonWrapper",
4109
- "module": "src/shared/button-wrapper.ts"
4009
+ "name": "UmTextFieldBase",
4010
+ "module": "src/shared/text-field-base/text-field-base.ts"
4110
4011
  }
4111
4012
  },
4112
4013
  {
4113
4014
  "kind": "field",
4114
- "name": "ripple",
4015
+ "name": "config",
4115
4016
  "type": {
4116
- "text": "UmRipple"
4017
+ "text": "UmFieldDefaults | undefined"
4117
4018
  },
4118
4019
  "privacy": "private",
4119
4020
  "inheritedFrom": {
4120
- "name": "UmButtonWrapper",
4121
- "module": "src/shared/button-wrapper.ts"
4021
+ "name": "UmFieldBase",
4022
+ "module": "src/field/field-base.ts"
4122
4023
  }
4123
4024
  },
4124
4025
  {
4125
4026
  "kind": "field",
4126
- "name": "innerRole",
4027
+ "name": "variant",
4127
4028
  "type": {
4128
- "text": "string | null"
4029
+ "text": "'filled' | 'outlined' | undefined"
4129
4030
  },
4130
- "privacy": "protected",
4131
- "default": "null",
4031
+ "default": "undefined",
4032
+ "attribute": "variant",
4132
4033
  "inheritedFrom": {
4133
- "name": "UmButtonWrapper",
4134
- "module": "src/shared/button-wrapper.ts"
4034
+ "name": "UmFieldBase",
4035
+ "module": "src/field/field-base.ts"
4135
4036
  }
4136
4037
  },
4137
4038
  {
4138
4039
  "kind": "field",
4139
- "name": "pathname",
4040
+ "name": "label",
4140
4041
  "type": {
4141
- "text": "string"
4042
+ "text": "string | undefined"
4142
4043
  },
4044
+ "description": "The floating label for the field",
4045
+ "attribute": "label",
4143
4046
  "inheritedFrom": {
4144
- "name": "UmButtonWrapper",
4145
- "module": "src/shared/button-wrapper.ts"
4047
+ "name": "UmFieldBase",
4048
+ "module": "src/field/field-base.ts"
4146
4049
  }
4147
4050
  },
4148
4051
  {
4149
- "kind": "method",
4150
- "name": "renderButton",
4151
- "privacy": "private",
4052
+ "kind": "field",
4053
+ "name": "_innerCounter",
4054
+ "type": {
4055
+ "text": "string | undefined"
4056
+ },
4057
+ "privacy": "protected",
4152
4058
  "inheritedFrom": {
4153
- "name": "UmButtonWrapper",
4154
- "module": "src/shared/button-wrapper.ts"
4059
+ "name": "UmFieldBase",
4060
+ "module": "src/field/field-base.ts"
4155
4061
  }
4156
4062
  },
4157
4063
  {
4158
- "kind": "method",
4159
- "name": "renderLink",
4160
- "privacy": "private",
4064
+ "kind": "field",
4065
+ "name": "counter",
4066
+ "type": {
4067
+ "text": "string | undefined"
4068
+ },
4069
+ "attribute": "counter",
4161
4070
  "inheritedFrom": {
4162
- "name": "UmButtonWrapper",
4163
- "module": "src/shared/button-wrapper.ts"
4071
+ "name": "UmFieldBase",
4072
+ "module": "src/field/field-base.ts"
4164
4073
  }
4165
4074
  },
4166
4075
  {
4167
- "kind": "method",
4168
- "name": "focus",
4076
+ "kind": "field",
4077
+ "name": "hideCounter",
4078
+ "type": {
4079
+ "text": "boolean"
4080
+ },
4081
+ "default": "false",
4082
+ "attribute": "hide-counter",
4169
4083
  "inheritedFrom": {
4170
- "name": "UmButtonWrapper",
4171
- "module": "src/shared/button-wrapper.ts"
4084
+ "name": "UmFieldBase",
4085
+ "module": "src/field/field-base.ts"
4172
4086
  }
4173
4087
  },
4174
4088
  {
4175
- "kind": "method",
4176
- "name": "blur",
4089
+ "kind": "field",
4090
+ "name": "supportingText",
4091
+ "type": {
4092
+ "text": "| string\n | undefined"
4093
+ },
4094
+ "description": "Supporting text conveys additional information about the field, such as how it will be used",
4095
+ "attribute": "supporting-text",
4177
4096
  "inheritedFrom": {
4178
- "name": "UmButtonWrapper",
4179
- "module": "src/shared/button-wrapper.ts"
4097
+ "name": "UmFieldBase",
4098
+ "module": "src/field/field-base.ts"
4180
4099
  }
4181
4100
  },
4182
4101
  {
4183
- "kind": "method",
4184
- "name": "getAriaLabel",
4185
- "privacy": "protected",
4186
- "return": {
4187
- "type": {
4188
- "text": "string | null"
4189
- }
4102
+ "kind": "field",
4103
+ "name": "errorText",
4104
+ "type": {
4105
+ "text": "string | undefined"
4190
4106
  },
4107
+ "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`",
4108
+ "attribute": "error-text",
4191
4109
  "inheritedFrom": {
4192
- "name": "UmButtonWrapper",
4193
- "module": "src/shared/button-wrapper.ts"
4110
+ "name": "UmFieldBase",
4111
+ "module": "src/field/field-base.ts"
4194
4112
  }
4195
4113
  },
4196
4114
  {
4197
- "kind": "method",
4198
- "name": "innerFocusHandler",
4199
- "privacy": "private",
4200
- "return": {
4201
- "type": {
4202
- "text": "void"
4203
- }
4115
+ "kind": "field",
4116
+ "name": "disabled",
4117
+ "type": {
4118
+ "text": "boolean"
4204
4119
  },
4120
+ "default": "false",
4121
+ "attribute": "disabled",
4122
+ "reflects": true,
4205
4123
  "inheritedFrom": {
4206
- "name": "UmButtonWrapper",
4207
- "module": "src/shared/button-wrapper.ts"
4124
+ "name": "UmFieldBase",
4125
+ "module": "src/field/field-base.ts"
4126
+ }
4127
+ },
4128
+ {
4129
+ "kind": "field",
4130
+ "name": "invalid",
4131
+ "type": {
4132
+ "text": "boolean"
4133
+ },
4134
+ "default": "false",
4135
+ "description": "Get or sets where or not the field is in a visually invalid state.",
4136
+ "attribute": "invalid",
4137
+ "reflects": true,
4138
+ "inheritedFrom": {
4139
+ "name": "UmFieldBase",
4140
+ "module": "src/field/field-base.ts"
4208
4141
  }
4209
4142
  },
4210
4143
  {
4211
4144
  "kind": "method",
4212
- "name": "#innerClickHandler",
4145
+ "name": "setDefaults",
4146
+ "static": true,
4213
4147
  "return": {
4214
4148
  "type": {
4215
- "text": "void"
4149
+ "text": "ContextProvider<Context<HTMLElement, UmFieldDefaults>>"
4216
4150
  }
4217
4151
  },
4218
4152
  "parameters": [
4219
4153
  {
4220
- "name": "event",
4154
+ "name": "contextRoot",
4221
4155
  "type": {
4222
- "text": "MouseEvent"
4156
+ "text": "HTMLElement"
4157
+ }
4158
+ },
4159
+ {
4160
+ "name": "config",
4161
+ "type": {
4162
+ "text": "UmFieldDefaults"
4223
4163
  }
4224
4164
  }
4225
4165
  ],
4226
4166
  "inheritedFrom": {
4227
- "name": "UmButtonWrapper",
4228
- "module": "src/shared/button-wrapper.ts"
4229
- }
4230
- }
4231
- ],
4232
- "events": [
4233
- {
4234
- "name": "change",
4235
- "type": {
4236
- "text": "Event"
4167
+ "name": "UmFieldBase",
4168
+ "module": "src/field/field-base.ts"
4237
4169
  }
4238
- }
4239
- ],
4240
- "attributes": [
4170
+ },
4241
4171
  {
4242
- "name": "selected",
4172
+ "kind": "field",
4173
+ "name": "hasLeadingIcon",
4243
4174
  "type": {
4244
4175
  "text": "boolean"
4245
4176
  },
4246
4177
  "default": "false",
4247
- "description": "Whether the chip is selected or not",
4248
- "fieldName": "selected"
4178
+ "description": "Whether the field has a leading icon or not\n\n_Note:_ Readonly",
4179
+ "attribute": "has-leading-icon",
4180
+ "reflects": true,
4181
+ "inheritedFrom": {
4182
+ "name": "UmFieldBase",
4183
+ "module": "src/field/field-base.ts"
4184
+ }
4249
4185
  },
4250
4186
  {
4251
- "name": "clickable",
4187
+ "kind": "field",
4188
+ "name": "hasTrailingIcon",
4252
4189
  "type": {
4253
4190
  "text": "boolean"
4254
4191
  },
4255
- "fieldName": "clickable"
4192
+ "default": "false",
4193
+ "description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
4194
+ "attribute": "has-trailing-icon",
4195
+ "reflects": true,
4196
+ "inheritedFrom": {
4197
+ "name": "UmFieldBase",
4198
+ "module": "src/field/field-base.ts"
4199
+ }
4256
4200
  },
4257
4201
  {
4258
- "name": "elevated",
4202
+ "kind": "field",
4203
+ "name": "hasErrorText",
4259
4204
  "type": {
4260
4205
  "text": "boolean"
4261
4206
  },
4262
4207
  "default": "false",
4263
- "description": "Adds elevation to the chip",
4264
- "fieldName": "elevated"
4208
+ "description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
4209
+ "attribute": "has-error-text",
4210
+ "reflects": true,
4211
+ "inheritedFrom": {
4212
+ "name": "UmFieldBase",
4213
+ "module": "src/field/field-base.ts"
4214
+ }
4265
4215
  },
4266
4216
  {
4267
- "name": "toggle",
4217
+ "kind": "field",
4218
+ "name": "assignedLeadingIcons",
4268
4219
  "type": {
4269
- "text": "boolean"
4220
+ "text": "HTMLElement[]"
4270
4221
  },
4271
- "description": "When true, the chip will toggle between selected and unselected\nstates",
4272
- "fieldName": "toggle"
4222
+ "privacy": "private",
4223
+ "inheritedFrom": {
4224
+ "name": "UmFieldBase",
4225
+ "module": "src/field/field-base.ts"
4226
+ }
4273
4227
  },
4274
4228
  {
4275
- "name": "removable",
4229
+ "kind": "field",
4230
+ "name": "assignedTrailingIcons",
4276
4231
  "type": {
4277
- "text": "boolean"
4232
+ "text": "HTMLElement[]"
4278
4233
  },
4279
- "default": "false",
4280
- "description": "Add the remove icon",
4281
- "fieldName": "removable"
4234
+ "privacy": "private",
4235
+ "inheritedFrom": {
4236
+ "name": "UmFieldBase",
4237
+ "module": "src/field/field-base.ts"
4238
+ }
4282
4239
  },
4283
4240
  {
4284
- "name": "hide-selected-icon",
4241
+ "kind": "field",
4242
+ "name": "assignedErrorTexts",
4285
4243
  "type": {
4286
- "text": "boolean"
4244
+ "text": "HTMLElement[]"
4287
4245
  },
4288
- "default": "false",
4289
- "description": "Hide the selected icon",
4290
- "fieldName": "hideSelectedIcon"
4246
+ "privacy": "private",
4247
+ "inheritedFrom": {
4248
+ "name": "UmFieldBase",
4249
+ "module": "src/field/field-base.ts"
4250
+ }
4291
4251
  },
4292
4252
  {
4293
- "name": "has-leading-icon",
4253
+ "kind": "field",
4254
+ "name": "_labelElement",
4294
4255
  "type": {
4295
- "text": "boolean"
4256
+ "text": "HTMLElement"
4296
4257
  },
4297
- "default": "false",
4298
- "description": "Whether the chip has a leading icon or not\n\n_Note:_ Readonly",
4299
- "fieldName": "hasLeadingIcon"
4258
+ "privacy": "private",
4259
+ "inheritedFrom": {
4260
+ "name": "UmFieldBase",
4261
+ "module": "src/field/field-base.ts"
4262
+ }
4300
4263
  },
4301
4264
  {
4302
- "name": "has-selected-icon",
4265
+ "kind": "field",
4266
+ "name": "_container",
4303
4267
  "type": {
4304
- "text": "boolean"
4268
+ "text": "HTMLElement"
4305
4269
  },
4306
- "default": "false",
4307
- "description": "Whether the chip has a selected icon or not\n\n_Note:_ Readonly",
4308
- "fieldName": "hasSelectedIcon"
4270
+ "privacy": "protected",
4271
+ "inheritedFrom": {
4272
+ "name": "UmFieldBase",
4273
+ "module": "src/field/field-base.ts"
4274
+ }
4309
4275
  },
4310
4276
  {
4311
- "name": "has-trailing-icon",
4277
+ "kind": "field",
4278
+ "name": "labelSizeObserver",
4312
4279
  "type": {
4313
- "text": "boolean"
4280
+ "text": "ResizeObserver | null"
4314
4281
  },
4315
- "default": "false",
4316
- "description": "Whether the chip has a trailing icon or not\n\n_Note:_ Readonly",
4317
- "fieldName": "hasTrailingIcon"
4282
+ "privacy": "private",
4283
+ "default": "null",
4284
+ "inheritedFrom": {
4285
+ "name": "UmFieldBase",
4286
+ "module": "src/field/field-base.ts"
4287
+ }
4318
4288
  },
4319
4289
  {
4320
- "name": "disabled",
4321
- "type": {
4322
- "text": "boolean"
4290
+ "kind": "method",
4291
+ "name": "renderAfterContent",
4292
+ "privacy": "protected",
4293
+ "return": {
4294
+ "type": {
4295
+ "text": "TemplateResult"
4296
+ }
4323
4297
  },
4324
- "default": "false",
4325
- "description": "Whether the button is disabled or not.",
4326
- "fieldName": "disabled",
4327
4298
  "inheritedFrom": {
4328
- "name": "UmButtonWrapper",
4329
- "module": "src/shared/button-wrapper.ts"
4299
+ "name": "UmFieldBase",
4300
+ "module": "src/field/field-base.ts"
4330
4301
  }
4331
4302
  },
4332
4303
  {
4333
- "name": "href",
4334
- "type": {
4335
- "text": "string | undefined"
4304
+ "kind": "method",
4305
+ "name": "#attach",
4306
+ "return": {
4307
+ "type": {
4308
+ "text": "Promise<void>"
4309
+ }
4336
4310
  },
4337
- "description": "The URL that the link button points to.",
4338
- "fieldName": "href",
4339
4311
  "inheritedFrom": {
4340
- "name": "UmButtonWrapper",
4341
- "module": "src/shared/button-wrapper.ts"
4312
+ "name": "UmFieldBase",
4313
+ "module": "src/field/field-base.ts"
4342
4314
  }
4343
4315
  },
4344
4316
  {
4345
- "name": "target",
4346
- "type": {
4347
- "text": "string | undefined"
4348
- },
4349
- "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
4350
- "fieldName": "target",
4317
+ "kind": "method",
4318
+ "name": "handleLeadingIconSlotChange",
4319
+ "privacy": "private",
4351
4320
  "inheritedFrom": {
4352
- "name": "UmButtonWrapper",
4353
- "module": "src/shared/button-wrapper.ts"
4321
+ "name": "UmFieldBase",
4322
+ "module": "src/field/field-base.ts"
4354
4323
  }
4355
4324
  },
4356
4325
  {
4357
- "name": "name",
4358
- "type": {
4359
- "text": "string | undefined"
4360
- },
4361
- "fieldName": "name",
4326
+ "kind": "method",
4327
+ "name": "handleTrailingIconSlotChange",
4328
+ "privacy": "private",
4362
4329
  "inheritedFrom": {
4363
- "name": "UmButtonWrapper",
4364
- "module": "src/shared/button-wrapper.ts"
4330
+ "name": "UmFieldBase",
4331
+ "module": "src/field/field-base.ts"
4365
4332
  }
4366
- }
4367
- ],
4368
- "superclass": {
4369
- "name": "UmButtonWrapper",
4370
- "module": "/src/shared/button-wrapper.js"
4371
- },
4372
- "tagName": "u-chip",
4373
- "customElement": true
4374
- }
4375
- ],
4376
- "exports": [
4377
- {
4378
- "kind": "js",
4379
- "name": "UmChip",
4380
- "declaration": {
4381
- "name": "UmChip",
4382
- "module": "src/chip/chip.ts"
4383
- }
4384
- },
4385
- {
4386
- "kind": "custom-element-definition",
4387
- "name": "u-chip",
4388
- "declaration": {
4389
- "name": "UmChip",
4390
- "module": "src/chip/chip.ts"
4391
- }
4392
- }
4393
- ]
4394
- },
4395
- {
4396
- "kind": "javascript-module",
4397
- "path": "src/chip-field/chip-field.styles.ts",
4398
- "declarations": [
4399
- {
4400
- "kind": "variable",
4401
- "name": "styles",
4402
- "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`"
4403
- }
4404
- ],
4405
- "exports": [
4406
- {
4407
- "kind": "js",
4408
- "name": "styles",
4409
- "declaration": {
4410
- "name": "styles",
4411
- "module": "src/chip-field/chip-field.styles.ts"
4412
- }
4413
- }
4414
- ]
4415
- },
4416
- {
4417
- "kind": "javascript-module",
4418
- "path": "src/chip-field/chip-field.ts",
4419
- "declarations": [
4420
- {
4421
- "kind": "class",
4422
- "description": "",
4423
- "name": "UmChipField",
4424
- "members": [
4333
+ },
4425
4334
  {
4426
- "kind": "field",
4427
- "name": "input",
4428
- "type": {
4429
- "text": "HTMLInputElement"
4335
+ "kind": "method",
4336
+ "name": "handleErrorTextSlotChange",
4337
+ "privacy": "private",
4338
+ "inheritedFrom": {
4339
+ "name": "UmFieldBase",
4340
+ "module": "src/field/field-base.ts"
4430
4341
  }
4431
4342
  },
4432
4343
  {
4433
- "kind": "field",
4344
+ "kind": "method",
4345
+ "name": "setLabelWidthProperties",
4346
+ "privacy": "private",
4347
+ "inheritedFrom": {
4348
+ "name": "UmFieldBase",
4349
+ "module": "src/field/field-base.ts"
4350
+ }
4351
+ },
4352
+ {
4353
+ "kind": "method",
4354
+ "name": "renderDefaultTrailingIcon",
4355
+ "privacy": "protected",
4356
+ "return": {
4357
+ "type": {
4358
+ "text": "TemplateResult | typeof nothing"
4359
+ }
4360
+ },
4361
+ "inheritedFrom": {
4362
+ "name": "UmFieldBase",
4363
+ "module": "src/field/field-base.ts"
4364
+ }
4365
+ }
4366
+ ],
4367
+ "events": [
4368
+ {
4369
+ "name": "change",
4370
+ "type": {
4371
+ "text": "Event"
4372
+ }
4373
+ }
4374
+ ],
4375
+ "attributes": [
4376
+ {
4434
4377
  "name": "name",
4435
4378
  "type": {
4436
4379
  "text": "string"
4437
4380
  },
4438
- "attribute": "name"
4381
+ "fieldName": "name"
4439
4382
  },
4440
4383
  {
4441
- "kind": "field",
4442
4384
  "name": "manual",
4443
4385
  "type": {
4444
4386
  "text": "boolean"
4445
4387
  },
4446
4388
  "default": "false",
4447
4389
  "description": "If true, ignore enter key input",
4448
- "attribute": "manual"
4390
+ "fieldName": "manual"
4449
4391
  },
4450
4392
  {
4451
- "kind": "field",
4452
- "name": "formatter",
4393
+ "name": "placeholder",
4453
4394
  "type": {
4454
- "text": "((value: any) => string) | undefined"
4395
+ "text": "string"
4455
4396
  },
4456
- "description": "A function return a string based on a item from the `value`. Useful when the items of value are objects."
4397
+ "default": "''",
4398
+ "fieldName": "placeholder",
4399
+ "inheritedFrom": {
4400
+ "name": "UmTextFieldBase",
4401
+ "module": "src/shared/text-field-base/text-field-base.ts"
4402
+ }
4457
4403
  },
4458
4404
  {
4459
- "kind": "field",
4460
- "name": "leadingIconTemplate",
4405
+ "name": "variant",
4461
4406
  "type": {
4462
- "text": "((value: any) => string) | undefined"
4407
+ "text": "'filled' | 'outlined' | undefined"
4463
4408
  },
4464
- "description": "A string representing an HTML to be rendered inside as leading icon of each chip.\n\n_Note:_ Subject to signature change"
4409
+ "default": "undefined",
4410
+ "resolveInitializer": {
4411
+ "module": "src/field/field-base.ts"
4412
+ },
4413
+ "fieldName": "variant",
4414
+ "inheritedFrom": {
4415
+ "name": "UmFieldBase",
4416
+ "module": "src/field/field-base.ts"
4417
+ }
4465
4418
  },
4466
4419
  {
4467
- "kind": "field",
4468
- "name": "#value",
4469
- "privacy": "private",
4420
+ "name": "label",
4470
4421
  "type": {
4471
- "text": "any[]"
4422
+ "text": "string | undefined"
4472
4423
  },
4473
- "default": "[]"
4424
+ "description": "The floating label for the field",
4425
+ "fieldName": "label",
4426
+ "inheritedFrom": {
4427
+ "name": "UmFieldBase",
4428
+ "module": "src/field/field-base.ts"
4429
+ }
4474
4430
  },
4475
4431
  {
4476
- "kind": "field",
4477
- "name": "value",
4432
+ "name": "counter",
4478
4433
  "type": {
4479
- "text": "any[]"
4434
+ "text": "string | undefined"
4480
4435
  },
4481
- "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`."
4482
- },
4483
- {
4484
- "kind": "method",
4485
- "name": "setFormValue",
4486
- "privacy": "private"
4436
+ "fieldName": "counter",
4437
+ "inheritedFrom": {
4438
+ "name": "UmFieldBase",
4439
+ "module": "src/field/field-base.ts"
4440
+ }
4487
4441
  },
4488
4442
  {
4489
- "kind": "method",
4490
- "name": "focus"
4443
+ "name": "hide-counter",
4444
+ "type": {
4445
+ "text": "boolean"
4446
+ },
4447
+ "default": "false",
4448
+ "fieldName": "hideCounter",
4449
+ "inheritedFrom": {
4450
+ "name": "UmFieldBase",
4451
+ "module": "src/field/field-base.ts"
4452
+ }
4491
4453
  },
4492
4454
  {
4493
- "kind": "method",
4494
- "name": "renderControl",
4495
- "privacy": "protected",
4496
- "return": {
4497
- "type": {
4498
- "text": "HTMLTemplateResult"
4499
- }
4455
+ "name": "supporting-text",
4456
+ "type": {
4457
+ "text": "| string\n | undefined"
4500
4458
  },
4459
+ "description": "Supporting text conveys additional information about the field, such as how it will be used",
4460
+ "fieldName": "supportingText",
4501
4461
  "inheritedFrom": {
4502
4462
  "name": "UmFieldBase",
4503
4463
  "module": "src/field/field-base.ts"
4504
4464
  }
4505
4465
  },
4506
4466
  {
4507
- "kind": "method",
4508
- "name": "#getChips"
4467
+ "name": "error-text",
4468
+ "type": {
4469
+ "text": "string | undefined"
4470
+ },
4471
+ "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`",
4472
+ "fieldName": "errorText",
4473
+ "inheritedFrom": {
4474
+ "name": "UmFieldBase",
4475
+ "module": "src/field/field-base.ts"
4476
+ }
4509
4477
  },
4510
4478
  {
4511
- "kind": "method",
4512
- "name": "#handleBlur"
4479
+ "name": "empty",
4480
+ "type": {
4481
+ "text": "boolean"
4482
+ },
4483
+ "default": "false",
4484
+ "description": "Whether the field is empty or not. This changes the behavior of the floating label when the field is not focused.",
4485
+ "fieldName": "empty",
4486
+ "inheritedFrom": {
4487
+ "name": "UmFieldBase",
4488
+ "module": "src/field/field-base.ts"
4489
+ }
4513
4490
  },
4514
4491
  {
4515
- "kind": "method",
4516
- "name": "#handleInput"
4492
+ "name": "disabled",
4493
+ "type": {
4494
+ "text": "boolean"
4495
+ },
4496
+ "default": "false",
4497
+ "fieldName": "disabled",
4498
+ "inheritedFrom": {
4499
+ "name": "UmFieldBase",
4500
+ "module": "src/field/field-base.ts"
4501
+ }
4517
4502
  },
4518
4503
  {
4519
- "kind": "method",
4520
- "name": "#handleKeyDown",
4521
- "parameters": [
4522
- {
4523
- "name": "e",
4524
- "type": {
4525
- "text": "KeyboardEvent"
4526
- }
4527
- }
4528
- ]
4504
+ "name": "invalid",
4505
+ "type": {
4506
+ "text": "boolean"
4507
+ },
4508
+ "default": "false",
4509
+ "description": "Get or sets where or not the field is in a visually invalid state.",
4510
+ "fieldName": "invalid",
4511
+ "inheritedFrom": {
4512
+ "name": "UmFieldBase",
4513
+ "module": "src/field/field-base.ts"
4514
+ }
4529
4515
  },
4530
4516
  {
4531
- "kind": "method",
4532
- "name": "add",
4533
- "parameters": [
4534
- {
4535
- "name": "value",
4536
- "type": {
4537
- "text": "any"
4538
- }
4539
- },
4540
- {
4541
- "name": "triggerChange",
4542
- "default": "false"
4543
- }
4544
- ]
4517
+ "name": "has-leading-icon",
4518
+ "type": {
4519
+ "text": "boolean"
4520
+ },
4521
+ "default": "false",
4522
+ "description": "Whether the field has a leading icon or not\n\n_Note:_ Readonly",
4523
+ "fieldName": "hasLeadingIcon",
4524
+ "inheritedFrom": {
4525
+ "name": "UmFieldBase",
4526
+ "module": "src/field/field-base.ts"
4527
+ }
4545
4528
  },
4546
4529
  {
4547
- "kind": "method",
4548
- "name": "removeAt",
4549
- "parameters": [
4550
- {
4551
- "name": "index",
4552
- "type": {
4553
- "text": "number"
4554
- }
4555
- },
4556
- {
4557
- "name": "triggerChange",
4558
- "default": "false"
4559
- }
4560
- ]
4561
- },
4562
- {
4563
- "kind": "field",
4564
- "name": "#removeChip",
4565
- "privacy": "private"
4566
- },
4567
- {
4568
- "kind": "method",
4569
- "name": "#changed",
4570
- "parameters": [
4571
- {
4572
- "name": "triggerChange",
4573
- "type": {
4574
- "text": "boolean"
4575
- }
4576
- }
4577
- ]
4578
- },
4579
- {
4580
- "kind": "method",
4581
- "name": "#valueUpdate"
4582
- },
4583
- {
4584
- "kind": "method",
4585
- "name": "#setEmpty"
4586
- },
4587
- {
4588
- "kind": "method",
4589
- "name": "#dispatchRemoveEvent",
4590
- "return": {
4591
- "type": {
4592
- "text": "boolean"
4593
- }
4530
+ "name": "has-trailing-icon",
4531
+ "type": {
4532
+ "text": "boolean"
4594
4533
  },
4595
- "parameters": [
4596
- {
4597
- "name": "index",
4598
- "type": {
4599
- "text": "number"
4600
- }
4601
- }
4602
- ]
4603
- },
4604
- {
4605
- "kind": "method",
4606
- "name": "getItemLabel",
4607
- "privacy": "private",
4608
- "parameters": [
4609
- {
4610
- "name": "item",
4611
- "type": {
4612
- "text": "any"
4613
- }
4614
- }
4615
- ]
4534
+ "default": "false",
4535
+ "description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
4536
+ "fieldName": "hasTrailingIcon",
4537
+ "inheritedFrom": {
4538
+ "name": "UmFieldBase",
4539
+ "module": "src/field/field-base.ts"
4540
+ }
4616
4541
  },
4617
4542
  {
4618
- "kind": "field",
4619
- "name": "formAssociated",
4543
+ "name": "has-error-text",
4620
4544
  "type": {
4621
4545
  "text": "boolean"
4622
4546
  },
4623
- "static": true,
4624
- "default": "true",
4547
+ "default": "false",
4548
+ "description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
4549
+ "fieldName": "hasErrorText",
4625
4550
  "inheritedFrom": {
4626
- "name": "UmTextFieldBase",
4627
- "module": "src/shared/text-field-base/text-field-base.ts"
4551
+ "name": "UmFieldBase",
4552
+ "module": "src/field/field-base.ts"
4628
4553
  }
4629
- },
4554
+ }
4555
+ ],
4556
+ "superclass": {
4557
+ "name": "UmTextFieldBase",
4558
+ "module": "/src/shared/text-field-base/text-field-base.js"
4559
+ },
4560
+ "tagName": "u-chip-field",
4561
+ "customElement": true
4562
+ }
4563
+ ],
4564
+ "exports": [
4565
+ {
4566
+ "kind": "js",
4567
+ "name": "UmChipField",
4568
+ "declaration": {
4569
+ "name": "UmChipField",
4570
+ "module": "src/chip-field/chip-field.ts"
4571
+ }
4572
+ },
4573
+ {
4574
+ "kind": "custom-element-definition",
4575
+ "name": "u-chip-field",
4576
+ "declaration": {
4577
+ "name": "UmChipField",
4578
+ "module": "src/chip-field/chip-field.ts"
4579
+ }
4580
+ }
4581
+ ]
4582
+ },
4583
+ {
4584
+ "kind": "javascript-module",
4585
+ "path": "src/chip/chip-set.styles.ts",
4586
+ "declarations": [
4587
+ {
4588
+ "kind": "variable",
4589
+ "name": "styles",
4590
+ "default": "css `\n :host {\n flex-wrap: wrap;\n }\n`"
4591
+ }
4592
+ ],
4593
+ "exports": [
4594
+ {
4595
+ "kind": "js",
4596
+ "name": "styles",
4597
+ "declaration": {
4598
+ "name": "styles",
4599
+ "module": "src/chip/chip-set.styles.ts"
4600
+ }
4601
+ }
4602
+ ]
4603
+ },
4604
+ {
4605
+ "kind": "javascript-module",
4606
+ "path": "src/chip/chip-set.ts",
4607
+ "declarations": [
4608
+ {
4609
+ "kind": "class",
4610
+ "description": "",
4611
+ "name": "UmChipSet",
4612
+ "members": [
4630
4613
  {
4631
4614
  "kind": "field",
4632
- "name": "shadowRootOptions",
4615
+ "name": "alignment",
4633
4616
  "type": {
4634
- "text": "ShadowRootInit"
4617
+ "text": "'start' | 'center' | 'end'"
4635
4618
  },
4636
- "static": true,
4637
- "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }",
4619
+ "default": "'start'",
4620
+ "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
4621
+ "attribute": "alignment",
4622
+ "reflects": true,
4638
4623
  "inheritedFrom": {
4639
- "name": "UmTextFieldBase",
4640
- "module": "src/shared/text-field-base/text-field-base.ts"
4624
+ "name": "UmSetBase",
4625
+ "module": "src/shared/sets/set-base.ts"
4641
4626
  }
4642
- },
4627
+ }
4628
+ ],
4629
+ "superclass": {
4630
+ "name": "UmSetBase",
4631
+ "module": "/src/shared/sets/set-base.js"
4632
+ },
4633
+ "tagName": "u-chip-set",
4634
+ "customElement": true,
4635
+ "attributes": [
4643
4636
  {
4644
- "kind": "field",
4645
- "name": "empty",
4637
+ "name": "alignment",
4646
4638
  "type": {
4647
- "text": "boolean"
4639
+ "text": "'start' | 'center' | 'end'"
4648
4640
  },
4649
- "default": "true",
4650
- "description": "Whether the field is empty or not. This changes the behavior of the floating label when the field is not focused.",
4651
- "attribute": "empty",
4652
- "reflects": true,
4641
+ "default": "'start'",
4642
+ "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
4643
+ "fieldName": "alignment",
4653
4644
  "inheritedFrom": {
4654
- "name": "UmFieldBase",
4655
- "module": "src/field/field-base.ts"
4645
+ "name": "UmSetBase",
4646
+ "module": "src/shared/sets/set-base.ts"
4656
4647
  }
4648
+ }
4649
+ ]
4650
+ }
4651
+ ],
4652
+ "exports": [
4653
+ {
4654
+ "kind": "js",
4655
+ "name": "UmChipSet",
4656
+ "declaration": {
4657
+ "name": "UmChipSet",
4658
+ "module": "src/chip/chip-set.ts"
4659
+ }
4660
+ },
4661
+ {
4662
+ "kind": "custom-element-definition",
4663
+ "name": "u-chip-set",
4664
+ "declaration": {
4665
+ "name": "UmChipSet",
4666
+ "module": "src/chip/chip-set.ts"
4667
+ }
4668
+ }
4669
+ ]
4670
+ },
4671
+ {
4672
+ "kind": "javascript-module",
4673
+ "path": "src/chip/chip.styles.ts",
4674
+ "declarations": [
4675
+ {
4676
+ "kind": "variable",
4677
+ "name": "styles",
4678
+ "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: 1em;\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`"
4679
+ }
4680
+ ],
4681
+ "exports": [
4682
+ {
4683
+ "kind": "js",
4684
+ "name": "styles",
4685
+ "declaration": {
4686
+ "name": "styles",
4687
+ "module": "src/chip/chip.styles.ts"
4688
+ }
4689
+ }
4690
+ ]
4691
+ },
4692
+ {
4693
+ "kind": "javascript-module",
4694
+ "path": "src/chip/chip.ts",
4695
+ "declarations": [
4696
+ {
4697
+ "kind": "class",
4698
+ "description": "",
4699
+ "name": "UmChip",
4700
+ "members": [
4701
+ {
4702
+ "kind": "field",
4703
+ "name": "#clickable",
4704
+ "privacy": "private",
4705
+ "type": {
4706
+ "text": "boolean"
4707
+ },
4708
+ "default": "false"
4657
4709
  },
4658
4710
  {
4659
4711
  "kind": "field",
4660
- "name": "placeholder",
4712
+ "name": "#toggle",
4713
+ "privacy": "private",
4661
4714
  "type": {
4662
- "text": "string"
4715
+ "text": "boolean"
4663
4716
  },
4664
- "default": "''",
4665
- "attribute": "placeholder",
4666
- "reflects": true,
4667
- "inheritedFrom": {
4668
- "name": "UmTextFieldBase",
4669
- "module": "src/shared/text-field-base/text-field-base.ts"
4670
- }
4717
+ "default": "false"
4671
4718
  },
4672
4719
  {
4673
4720
  "kind": "field",
4674
- "name": "form",
4721
+ "name": "selected",
4675
4722
  "type": {
4676
- "text": "HTMLFormElement | null"
4723
+ "text": "boolean"
4677
4724
  },
4678
- "inheritedFrom": {
4679
- "name": "UmTextFieldBase",
4680
- "module": "src/shared/text-field-base/text-field-base.ts"
4681
- }
4725
+ "default": "false",
4726
+ "description": "Whether the chip is selected or not",
4727
+ "attribute": "selected",
4728
+ "reflects": true
4682
4729
  },
4683
4730
  {
4684
4731
  "kind": "field",
4685
- "name": "elementInternals",
4732
+ "name": "clickable",
4686
4733
  "type": {
4687
- "text": "ElementInternals"
4734
+ "text": "boolean"
4688
4735
  },
4689
- "privacy": "protected",
4690
- "inheritedFrom": {
4691
- "name": "UmTextFieldBase",
4692
- "module": "src/shared/text-field-base/text-field-base.ts"
4693
- }
4736
+ "attribute": "clickable",
4737
+ "reflects": true
4694
4738
  },
4695
4739
  {
4696
4740
  "kind": "field",
4697
- "name": "config",
4741
+ "name": "elevated",
4698
4742
  "type": {
4699
- "text": "UmFieldDefaults | undefined"
4743
+ "text": "boolean"
4700
4744
  },
4701
- "privacy": "private",
4702
- "inheritedFrom": {
4703
- "name": "UmFieldBase",
4704
- "module": "src/field/field-base.ts"
4705
- }
4745
+ "default": "false",
4746
+ "description": "Adds elevation to the chip",
4747
+ "attribute": "elevated",
4748
+ "reflects": true
4706
4749
  },
4707
4750
  {
4708
4751
  "kind": "field",
4709
- "name": "variant",
4752
+ "name": "toggle",
4710
4753
  "type": {
4711
- "text": "'filled' | 'outlined' | undefined"
4754
+ "text": "boolean"
4712
4755
  },
4713
- "default": "undefined",
4714
- "attribute": "variant",
4715
- "inheritedFrom": {
4716
- "name": "UmFieldBase",
4717
- "module": "src/field/field-base.ts"
4718
- }
4756
+ "description": "When true, the chip will toggle between selected and unselected\nstates",
4757
+ "attribute": "toggle",
4758
+ "reflects": true
4759
+ },
4760
+ {
4761
+ "kind": "field",
4762
+ "name": "removable",
4763
+ "type": {
4764
+ "text": "boolean"
4765
+ },
4766
+ "default": "false",
4767
+ "description": "Add the remove icon",
4768
+ "attribute": "removable",
4769
+ "reflects": true
4719
4770
  },
4720
4771
  {
4721
4772
  "kind": "field",
4722
- "name": "label",
4773
+ "name": "hideSelectedIcon",
4723
4774
  "type": {
4724
- "text": "string | undefined"
4775
+ "text": "boolean"
4725
4776
  },
4726
- "description": "The floating label for the field",
4727
- "attribute": "label",
4728
- "inheritedFrom": {
4729
- "name": "UmFieldBase",
4730
- "module": "src/field/field-base.ts"
4731
- }
4777
+ "default": "false",
4778
+ "description": "Hide the selected icon",
4779
+ "attribute": "hide-selected-icon",
4780
+ "reflects": true
4732
4781
  },
4733
4782
  {
4734
4783
  "kind": "field",
4735
- "name": "_innerCounter",
4784
+ "name": "hasLeadingIcon",
4736
4785
  "type": {
4737
- "text": "string | undefined"
4786
+ "text": "boolean"
4738
4787
  },
4739
- "privacy": "protected",
4740
- "inheritedFrom": {
4741
- "name": "UmFieldBase",
4742
- "module": "src/field/field-base.ts"
4743
- }
4788
+ "default": "false",
4789
+ "description": "Whether the chip has a leading icon or not\n\n_Note:_ Readonly",
4790
+ "attribute": "has-leading-icon",
4791
+ "reflects": true
4744
4792
  },
4745
4793
  {
4746
4794
  "kind": "field",
4747
- "name": "counter",
4795
+ "name": "hasSelectedIcon",
4748
4796
  "type": {
4749
- "text": "string | undefined"
4797
+ "text": "boolean"
4750
4798
  },
4751
- "attribute": "counter",
4752
- "inheritedFrom": {
4753
- "name": "UmFieldBase",
4754
- "module": "src/field/field-base.ts"
4755
- }
4799
+ "default": "false",
4800
+ "description": "Whether the chip has a selected icon or not\n\n_Note:_ Readonly",
4801
+ "attribute": "has-selected-icon",
4802
+ "reflects": true
4756
4803
  },
4757
4804
  {
4758
4805
  "kind": "field",
4759
- "name": "hideCounter",
4806
+ "name": "hasTrailingIcon",
4760
4807
  "type": {
4761
4808
  "text": "boolean"
4762
4809
  },
4763
4810
  "default": "false",
4764
- "attribute": "hide-counter",
4765
- "inheritedFrom": {
4766
- "name": "UmFieldBase",
4767
- "module": "src/field/field-base.ts"
4768
- }
4811
+ "description": "Whether the chip has a trailing icon or not\n\n_Note:_ Readonly",
4812
+ "attribute": "has-trailing-icon",
4813
+ "reflects": true
4769
4814
  },
4770
4815
  {
4771
4816
  "kind": "field",
4772
- "name": "supportingText",
4817
+ "name": "assignedLeadingIcons",
4773
4818
  "type": {
4774
- "text": "| string\n | undefined"
4819
+ "text": "HTMLElement[]"
4775
4820
  },
4776
- "description": "Supporting text conveys additional information about the field, such as how it will be used",
4777
- "attribute": "supporting-text",
4778
- "inheritedFrom": {
4779
- "name": "UmFieldBase",
4780
- "module": "src/field/field-base.ts"
4781
- }
4821
+ "privacy": "private"
4782
4822
  },
4783
4823
  {
4784
4824
  "kind": "field",
4785
- "name": "errorText",
4825
+ "name": "assignedSelectedIcons",
4786
4826
  "type": {
4787
- "text": "string | undefined"
4827
+ "text": "HTMLElement[]"
4788
4828
  },
4789
- "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`",
4790
- "attribute": "error-text",
4791
- "inheritedFrom": {
4792
- "name": "UmFieldBase",
4793
- "module": "src/field/field-base.ts"
4794
- }
4829
+ "privacy": "private"
4795
4830
  },
4796
4831
  {
4797
4832
  "kind": "field",
4798
- "name": "disabled",
4833
+ "name": "assignedTrailingIcons",
4799
4834
  "type": {
4800
- "text": "boolean"
4835
+ "text": "HTMLElement[]"
4801
4836
  },
4802
- "default": "false",
4803
- "attribute": "disabled",
4804
- "reflects": true,
4805
- "inheritedFrom": {
4806
- "name": "UmFieldBase",
4807
- "module": "src/field/field-base.ts"
4808
- }
4837
+ "privacy": "private"
4809
4838
  },
4810
4839
  {
4811
4840
  "kind": "field",
4812
- "name": "invalid",
4841
+ "name": "removeRipple",
4813
4842
  "type": {
4814
- "text": "boolean"
4815
- },
4816
- "default": "false",
4817
- "description": "Get or sets where or not the field is in a visually invalid state.",
4818
- "attribute": "invalid",
4819
- "reflects": true,
4820
- "inheritedFrom": {
4821
- "name": "UmFieldBase",
4822
- "module": "src/field/field-base.ts"
4843
+ "text": "UmRipple"
4823
4844
  }
4824
4845
  },
4825
4846
  {
4826
4847
  "kind": "method",
4827
- "name": "setDefaults",
4828
- "static": true,
4848
+ "name": "#handleRemoveClick",
4849
+ "parameters": [
4850
+ {
4851
+ "name": "e",
4852
+ "type": {
4853
+ "text": "Event"
4854
+ }
4855
+ }
4856
+ ]
4857
+ },
4858
+ {
4859
+ "kind": "method",
4860
+ "name": "#handleTrailingIconSlotChange"
4861
+ },
4862
+ {
4863
+ "kind": "method",
4864
+ "name": "#handleLeadingIconSlotChange"
4865
+ },
4866
+ {
4867
+ "kind": "method",
4868
+ "name": "#handleSelectedIconSlotChange"
4869
+ },
4870
+ {
4871
+ "kind": "method",
4872
+ "name": "handleClick",
4873
+ "privacy": "protected",
4829
4874
  "return": {
4830
4875
  "type": {
4831
- "text": "ContextProvider<Context<HTMLElement, UmFieldDefaults>>"
4876
+ "text": "void"
4832
4877
  }
4833
4878
  },
4834
4879
  "parameters": [
4835
4880
  {
4836
- "name": "contextRoot",
4837
- "type": {
4838
- "text": "HTMLElement"
4839
- }
4840
- },
4841
- {
4842
- "name": "config",
4881
+ "name": "event",
4843
4882
  "type": {
4844
- "text": "UmFieldDefaults"
4883
+ "text": "UIEvent"
4845
4884
  }
4846
4885
  }
4847
4886
  ],
4848
4887
  "inheritedFrom": {
4849
- "name": "UmFieldBase",
4850
- "module": "src/field/field-base.ts"
4888
+ "name": "UmButtonWrapper",
4889
+ "module": "src/shared/button-wrapper.ts"
4851
4890
  }
4852
4891
  },
4853
4892
  {
4854
- "kind": "field",
4855
- "name": "hasLeadingIcon",
4856
- "type": {
4857
- "text": "boolean"
4893
+ "kind": "method",
4894
+ "name": "renderContent",
4895
+ "privacy": "protected",
4896
+ "return": {
4897
+ "type": {
4898
+ "text": "HTMLTemplateResult"
4899
+ }
4858
4900
  },
4859
- "default": "false",
4860
- "description": "Whether the field has a leading icon or not\n\n_Note:_ Readonly",
4861
- "attribute": "has-leading-icon",
4862
- "reflects": true,
4863
4901
  "inheritedFrom": {
4864
- "name": "UmFieldBase",
4865
- "module": "src/field/field-base.ts"
4902
+ "name": "UmButtonWrapper",
4903
+ "module": "src/shared/button-wrapper.ts"
4866
4904
  }
4867
4905
  },
4868
4906
  {
4869
4907
  "kind": "field",
4870
- "name": "hasTrailingIcon",
4908
+ "name": "disabled",
4871
4909
  "type": {
4872
4910
  "text": "boolean"
4873
4911
  },
4874
4912
  "default": "false",
4875
- "description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
4876
- "attribute": "has-trailing-icon",
4913
+ "description": "Whether the button is disabled or not.",
4914
+ "attribute": "disabled",
4877
4915
  "reflects": true,
4878
4916
  "inheritedFrom": {
4879
- "name": "UmFieldBase",
4880
- "module": "src/field/field-base.ts"
4917
+ "name": "UmButtonWrapper",
4918
+ "module": "src/shared/button-wrapper.ts"
4881
4919
  }
4882
4920
  },
4883
4921
  {
4884
4922
  "kind": "field",
4885
- "name": "hasErrorText",
4923
+ "name": "renderRipple",
4886
4924
  "type": {
4887
4925
  "text": "boolean"
4888
4926
  },
4889
- "default": "false",
4890
- "description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
4891
- "attribute": "has-error-text",
4892
- "reflects": true,
4927
+ "default": "true",
4893
4928
  "inheritedFrom": {
4894
- "name": "UmFieldBase",
4895
- "module": "src/field/field-base.ts"
4929
+ "name": "UmButtonWrapper",
4930
+ "module": "src/shared/button-wrapper.ts"
4896
4931
  }
4897
4932
  },
4898
4933
  {
4899
4934
  "kind": "field",
4900
- "name": "assignedLeadingIcons",
4935
+ "name": "href",
4901
4936
  "type": {
4902
- "text": "HTMLElement[]"
4937
+ "text": "string | undefined"
4903
4938
  },
4904
- "privacy": "private",
4939
+ "description": "The URL that the link button points to.",
4940
+ "attribute": "href",
4905
4941
  "inheritedFrom": {
4906
- "name": "UmFieldBase",
4907
- "module": "src/field/field-base.ts"
4942
+ "name": "UmButtonWrapper",
4943
+ "module": "src/shared/button-wrapper.ts"
4908
4944
  }
4909
4945
  },
4910
4946
  {
4911
4947
  "kind": "field",
4912
- "name": "assignedTrailingIcons",
4948
+ "name": "target",
4913
4949
  "type": {
4914
- "text": "HTMLElement[]"
4950
+ "text": "string | undefined"
4915
4951
  },
4916
- "privacy": "private",
4952
+ "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
4953
+ "attribute": "target",
4917
4954
  "inheritedFrom": {
4918
- "name": "UmFieldBase",
4919
- "module": "src/field/field-base.ts"
4955
+ "name": "UmButtonWrapper",
4956
+ "module": "src/shared/button-wrapper.ts"
4920
4957
  }
4921
4958
  },
4922
4959
  {
4923
4960
  "kind": "field",
4924
- "name": "assignedErrorTexts",
4961
+ "name": "name",
4925
4962
  "type": {
4926
- "text": "HTMLElement[]"
4963
+ "text": "string | undefined"
4927
4964
  },
4928
- "privacy": "private",
4965
+ "attribute": "name",
4929
4966
  "inheritedFrom": {
4930
- "name": "UmFieldBase",
4931
- "module": "src/field/field-base.ts"
4967
+ "name": "UmButtonWrapper",
4968
+ "module": "src/shared/button-wrapper.ts"
4932
4969
  }
4933
4970
  },
4934
4971
  {
4935
4972
  "kind": "field",
4936
- "name": "_labelElement",
4973
+ "name": "buttonElement",
4937
4974
  "type": {
4938
4975
  "text": "HTMLElement"
4939
4976
  },
4940
- "privacy": "private",
4941
4977
  "inheritedFrom": {
4942
- "name": "UmFieldBase",
4943
- "module": "src/field/field-base.ts"
4978
+ "name": "UmButtonWrapper",
4979
+ "module": "src/shared/button-wrapper.ts"
4944
4980
  }
4945
4981
  },
4946
4982
  {
4947
4983
  "kind": "field",
4948
- "name": "_container",
4984
+ "name": "ripple",
4949
4985
  "type": {
4950
- "text": "HTMLElement"
4986
+ "text": "UmRipple"
4951
4987
  },
4952
- "privacy": "protected",
4988
+ "privacy": "private",
4953
4989
  "inheritedFrom": {
4954
- "name": "UmFieldBase",
4955
- "module": "src/field/field-base.ts"
4990
+ "name": "UmButtonWrapper",
4991
+ "module": "src/shared/button-wrapper.ts"
4956
4992
  }
4957
4993
  },
4958
4994
  {
4959
4995
  "kind": "field",
4960
- "name": "labelSizeObserver",
4996
+ "name": "innerRole",
4961
4997
  "type": {
4962
- "text": "ResizeObserver | null"
4998
+ "text": "string | null"
4963
4999
  },
4964
- "privacy": "private",
5000
+ "privacy": "protected",
4965
5001
  "default": "null",
4966
5002
  "inheritedFrom": {
4967
- "name": "UmFieldBase",
4968
- "module": "src/field/field-base.ts"
5003
+ "name": "UmButtonWrapper",
5004
+ "module": "src/shared/button-wrapper.ts"
4969
5005
  }
4970
5006
  },
4971
5007
  {
4972
- "kind": "method",
4973
- "name": "renderAfterContent",
4974
- "privacy": "protected",
4975
- "return": {
4976
- "type": {
4977
- "text": "TemplateResult"
4978
- }
5008
+ "kind": "field",
5009
+ "name": "pathname",
5010
+ "type": {
5011
+ "text": "string"
4979
5012
  },
4980
5013
  "inheritedFrom": {
4981
- "name": "UmFieldBase",
4982
- "module": "src/field/field-base.ts"
5014
+ "name": "UmButtonWrapper",
5015
+ "module": "src/shared/button-wrapper.ts"
4983
5016
  }
4984
5017
  },
4985
5018
  {
4986
5019
  "kind": "method",
4987
- "name": "#attach",
4988
- "return": {
4989
- "type": {
4990
- "text": "Promise<void>"
4991
- }
4992
- },
5020
+ "name": "renderButton",
5021
+ "privacy": "private",
4993
5022
  "inheritedFrom": {
4994
- "name": "UmFieldBase",
4995
- "module": "src/field/field-base.ts"
5023
+ "name": "UmButtonWrapper",
5024
+ "module": "src/shared/button-wrapper.ts"
4996
5025
  }
4997
5026
  },
4998
5027
  {
4999
5028
  "kind": "method",
5000
- "name": "handleLeadingIconSlotChange",
5029
+ "name": "renderLink",
5001
5030
  "privacy": "private",
5002
5031
  "inheritedFrom": {
5003
- "name": "UmFieldBase",
5004
- "module": "src/field/field-base.ts"
5032
+ "name": "UmButtonWrapper",
5033
+ "module": "src/shared/button-wrapper.ts"
5005
5034
  }
5006
5035
  },
5007
5036
  {
5008
5037
  "kind": "method",
5009
- "name": "handleTrailingIconSlotChange",
5010
- "privacy": "private",
5038
+ "name": "focus",
5011
5039
  "inheritedFrom": {
5012
- "name": "UmFieldBase",
5013
- "module": "src/field/field-base.ts"
5040
+ "name": "UmButtonWrapper",
5041
+ "module": "src/shared/button-wrapper.ts"
5014
5042
  }
5015
5043
  },
5016
5044
  {
5017
5045
  "kind": "method",
5018
- "name": "handleErrorTextSlotChange",
5019
- "privacy": "private",
5046
+ "name": "blur",
5020
5047
  "inheritedFrom": {
5021
- "name": "UmFieldBase",
5022
- "module": "src/field/field-base.ts"
5048
+ "name": "UmButtonWrapper",
5049
+ "module": "src/shared/button-wrapper.ts"
5023
5050
  }
5024
5051
  },
5025
5052
  {
5026
5053
  "kind": "method",
5027
- "name": "setLabelWidthProperties",
5054
+ "name": "getAriaLabel",
5055
+ "privacy": "protected",
5056
+ "return": {
5057
+ "type": {
5058
+ "text": "string | null"
5059
+ }
5060
+ },
5061
+ "inheritedFrom": {
5062
+ "name": "UmButtonWrapper",
5063
+ "module": "src/shared/button-wrapper.ts"
5064
+ }
5065
+ },
5066
+ {
5067
+ "kind": "method",
5068
+ "name": "innerFocusHandler",
5028
5069
  "privacy": "private",
5070
+ "return": {
5071
+ "type": {
5072
+ "text": "void"
5073
+ }
5074
+ },
5029
5075
  "inheritedFrom": {
5030
- "name": "UmFieldBase",
5031
- "module": "src/field/field-base.ts"
5076
+ "name": "UmButtonWrapper",
5077
+ "module": "src/shared/button-wrapper.ts"
5032
5078
  }
5033
5079
  },
5034
5080
  {
5035
5081
  "kind": "method",
5036
- "name": "renderDefaultTrailingIcon",
5037
- "privacy": "protected",
5082
+ "name": "#innerClickHandler",
5038
5083
  "return": {
5039
5084
  "type": {
5040
- "text": "TemplateResult | typeof nothing"
5085
+ "text": "void"
5041
5086
  }
5042
5087
  },
5088
+ "parameters": [
5089
+ {
5090
+ "name": "event",
5091
+ "type": {
5092
+ "text": "MouseEvent"
5093
+ }
5094
+ }
5095
+ ],
5043
5096
  "inheritedFrom": {
5044
- "name": "UmFieldBase",
5045
- "module": "src/field/field-base.ts"
5097
+ "name": "UmButtonWrapper",
5098
+ "module": "src/shared/button-wrapper.ts"
5046
5099
  }
5047
5100
  }
5048
5101
  ],
@@ -5056,208 +5109,155 @@
5056
5109
  ],
5057
5110
  "attributes": [
5058
5111
  {
5059
- "name": "name",
5060
- "type": {
5061
- "text": "string"
5062
- },
5063
- "fieldName": "name"
5064
- },
5065
- {
5066
- "name": "manual",
5112
+ "name": "selected",
5067
5113
  "type": {
5068
5114
  "text": "boolean"
5069
5115
  },
5070
5116
  "default": "false",
5071
- "description": "If true, ignore enter key input",
5072
- "fieldName": "manual"
5073
- },
5074
- {
5075
- "name": "placeholder",
5076
- "type": {
5077
- "text": "string"
5078
- },
5079
- "default": "''",
5080
- "fieldName": "placeholder",
5081
- "inheritedFrom": {
5082
- "name": "UmTextFieldBase",
5083
- "module": "src/shared/text-field-base/text-field-base.ts"
5084
- }
5117
+ "description": "Whether the chip is selected or not",
5118
+ "fieldName": "selected"
5085
5119
  },
5086
5120
  {
5087
- "name": "variant",
5121
+ "name": "clickable",
5088
5122
  "type": {
5089
- "text": "'filled' | 'outlined' | undefined"
5090
- },
5091
- "default": "undefined",
5092
- "resolveInitializer": {
5093
- "module": "src/field/field-base.ts"
5123
+ "text": "boolean"
5094
5124
  },
5095
- "fieldName": "variant",
5096
- "inheritedFrom": {
5097
- "name": "UmFieldBase",
5098
- "module": "src/field/field-base.ts"
5099
- }
5125
+ "fieldName": "clickable"
5100
5126
  },
5101
5127
  {
5102
- "name": "label",
5128
+ "name": "elevated",
5103
5129
  "type": {
5104
- "text": "string | undefined"
5130
+ "text": "boolean"
5105
5131
  },
5106
- "description": "The floating label for the field",
5107
- "fieldName": "label",
5108
- "inheritedFrom": {
5109
- "name": "UmFieldBase",
5110
- "module": "src/field/field-base.ts"
5111
- }
5132
+ "default": "false",
5133
+ "description": "Adds elevation to the chip",
5134
+ "fieldName": "elevated"
5112
5135
  },
5113
5136
  {
5114
- "name": "counter",
5137
+ "name": "toggle",
5115
5138
  "type": {
5116
- "text": "string | undefined"
5139
+ "text": "boolean"
5117
5140
  },
5118
- "fieldName": "counter",
5119
- "inheritedFrom": {
5120
- "name": "UmFieldBase",
5121
- "module": "src/field/field-base.ts"
5122
- }
5141
+ "description": "When true, the chip will toggle between selected and unselected\nstates",
5142
+ "fieldName": "toggle"
5123
5143
  },
5124
5144
  {
5125
- "name": "hide-counter",
5145
+ "name": "removable",
5126
5146
  "type": {
5127
5147
  "text": "boolean"
5128
5148
  },
5129
5149
  "default": "false",
5130
- "fieldName": "hideCounter",
5131
- "inheritedFrom": {
5132
- "name": "UmFieldBase",
5133
- "module": "src/field/field-base.ts"
5134
- }
5150
+ "description": "Add the remove icon",
5151
+ "fieldName": "removable"
5135
5152
  },
5136
5153
  {
5137
- "name": "supporting-text",
5154
+ "name": "hide-selected-icon",
5138
5155
  "type": {
5139
- "text": "| string\n | undefined"
5156
+ "text": "boolean"
5140
5157
  },
5141
- "description": "Supporting text conveys additional information about the field, such as how it will be used",
5142
- "fieldName": "supportingText",
5143
- "inheritedFrom": {
5144
- "name": "UmFieldBase",
5145
- "module": "src/field/field-base.ts"
5146
- }
5158
+ "default": "false",
5159
+ "description": "Hide the selected icon",
5160
+ "fieldName": "hideSelectedIcon"
5147
5161
  },
5148
5162
  {
5149
- "name": "error-text",
5163
+ "name": "has-leading-icon",
5150
5164
  "type": {
5151
- "text": "string | undefined"
5165
+ "text": "boolean"
5152
5166
  },
5153
- "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`",
5154
- "fieldName": "errorText",
5155
- "inheritedFrom": {
5156
- "name": "UmFieldBase",
5157
- "module": "src/field/field-base.ts"
5158
- }
5167
+ "default": "false",
5168
+ "description": "Whether the chip has a leading icon or not\n\n_Note:_ Readonly",
5169
+ "fieldName": "hasLeadingIcon"
5159
5170
  },
5160
5171
  {
5161
- "name": "empty",
5172
+ "name": "has-selected-icon",
5162
5173
  "type": {
5163
5174
  "text": "boolean"
5164
5175
  },
5165
5176
  "default": "false",
5166
- "description": "Whether the field is empty or not. This changes the behavior of the floating label when the field is not focused.",
5167
- "fieldName": "empty",
5168
- "inheritedFrom": {
5169
- "name": "UmFieldBase",
5170
- "module": "src/field/field-base.ts"
5171
- }
5177
+ "description": "Whether the chip has a selected icon or not\n\n_Note:_ Readonly",
5178
+ "fieldName": "hasSelectedIcon"
5172
5179
  },
5173
5180
  {
5174
- "name": "disabled",
5181
+ "name": "has-trailing-icon",
5175
5182
  "type": {
5176
5183
  "text": "boolean"
5177
5184
  },
5178
5185
  "default": "false",
5179
- "fieldName": "disabled",
5180
- "inheritedFrom": {
5181
- "name": "UmFieldBase",
5182
- "module": "src/field/field-base.ts"
5183
- }
5186
+ "description": "Whether the chip has a trailing icon or not\n\n_Note:_ Readonly",
5187
+ "fieldName": "hasTrailingIcon"
5184
5188
  },
5185
5189
  {
5186
- "name": "invalid",
5190
+ "name": "disabled",
5187
5191
  "type": {
5188
5192
  "text": "boolean"
5189
5193
  },
5190
5194
  "default": "false",
5191
- "description": "Get or sets where or not the field is in a visually invalid state.",
5192
- "fieldName": "invalid",
5195
+ "description": "Whether the button is disabled or not.",
5196
+ "fieldName": "disabled",
5193
5197
  "inheritedFrom": {
5194
- "name": "UmFieldBase",
5195
- "module": "src/field/field-base.ts"
5198
+ "name": "UmButtonWrapper",
5199
+ "module": "src/shared/button-wrapper.ts"
5196
5200
  }
5197
5201
  },
5198
5202
  {
5199
- "name": "has-leading-icon",
5203
+ "name": "href",
5200
5204
  "type": {
5201
- "text": "boolean"
5205
+ "text": "string | undefined"
5202
5206
  },
5203
- "default": "false",
5204
- "description": "Whether the field has a leading icon or not\n\n_Note:_ Readonly",
5205
- "fieldName": "hasLeadingIcon",
5207
+ "description": "The URL that the link button points to.",
5208
+ "fieldName": "href",
5206
5209
  "inheritedFrom": {
5207
- "name": "UmFieldBase",
5208
- "module": "src/field/field-base.ts"
5210
+ "name": "UmButtonWrapper",
5211
+ "module": "src/shared/button-wrapper.ts"
5209
5212
  }
5210
5213
  },
5211
5214
  {
5212
- "name": "has-trailing-icon",
5215
+ "name": "target",
5213
5216
  "type": {
5214
- "text": "boolean"
5217
+ "text": "string | undefined"
5215
5218
  },
5216
- "default": "false",
5217
- "description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
5218
- "fieldName": "hasTrailingIcon",
5219
+ "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
5220
+ "fieldName": "target",
5219
5221
  "inheritedFrom": {
5220
- "name": "UmFieldBase",
5221
- "module": "src/field/field-base.ts"
5222
+ "name": "UmButtonWrapper",
5223
+ "module": "src/shared/button-wrapper.ts"
5222
5224
  }
5223
5225
  },
5224
5226
  {
5225
- "name": "has-error-text",
5227
+ "name": "name",
5226
5228
  "type": {
5227
- "text": "boolean"
5229
+ "text": "string | undefined"
5228
5230
  },
5229
- "default": "false",
5230
- "description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
5231
- "fieldName": "hasErrorText",
5231
+ "fieldName": "name",
5232
5232
  "inheritedFrom": {
5233
- "name": "UmFieldBase",
5234
- "module": "src/field/field-base.ts"
5233
+ "name": "UmButtonWrapper",
5234
+ "module": "src/shared/button-wrapper.ts"
5235
5235
  }
5236
5236
  }
5237
5237
  ],
5238
5238
  "superclass": {
5239
- "name": "UmTextFieldBase",
5240
- "module": "/src/shared/text-field-base/text-field-base.js"
5239
+ "name": "UmButtonWrapper",
5240
+ "module": "/src/shared/button-wrapper.js"
5241
5241
  },
5242
- "tagName": "u-chip-field",
5242
+ "tagName": "u-chip",
5243
5243
  "customElement": true
5244
5244
  }
5245
5245
  ],
5246
5246
  "exports": [
5247
5247
  {
5248
5248
  "kind": "js",
5249
- "name": "UmChipField",
5249
+ "name": "UmChip",
5250
5250
  "declaration": {
5251
- "name": "UmChipField",
5252
- "module": "src/chip-field/chip-field.ts"
5251
+ "name": "UmChip",
5252
+ "module": "src/chip/chip.ts"
5253
5253
  }
5254
5254
  },
5255
5255
  {
5256
5256
  "kind": "custom-element-definition",
5257
- "name": "u-chip-field",
5257
+ "name": "u-chip",
5258
5258
  "declaration": {
5259
- "name": "UmChipField",
5260
- "module": "src/chip-field/chip-field.ts"
5259
+ "name": "UmChip",
5260
+ "module": "src/chip/chip.ts"
5261
5261
  }
5262
5262
  }
5263
5263
  ]
@@ -7246,141 +7246,6 @@
7246
7246
  }
7247
7247
  ]
7248
7248
  },
7249
- {
7250
- "kind": "javascript-module",
7251
- "path": "src/list/list-item.styles.ts",
7252
- "declarations": [
7253
- {
7254
- "kind": "variable",
7255
- "name": "styles",
7256
- "default": "css `\n :host {\n position: relative;\n display: flex;\n align-items: center;\n min-height: var(--u-list-item-min-height, 56px);\n padding-block: var(--u-list-item-block-padding, 8px);\n padding-inline: var(--u-list-item-inline-padding, 16px);\n gap: var(--u-list-item-gap, 16px);\n }\n\n slot:not([name]) {\n display: block;\n margin-inline-end: auto;\n }\n\n slot {\n flex-shrink: 0;\n }\n\n .content {\n flex: 1;\n }\n\n .headline {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-list-item-headline-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-list-item-headline-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-list-item-headline-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-list-item-headline-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n }\n\n .supporting-text {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-list-item-supporting-text-line-height, var(--u-body-m-line-height, 1.25rem));\n font-size: var(--u-list-item-supporting-text-font-size, var(--u-body-m-font-size, 0.875rem));\n letter-spacing: var(--u-list-item-supporting-text-letter-spacing, var(--u-body-m-letter-spacing, 0.0178571429rem));\n font-weight: var(--u-list-item-supporting-text-font-weight, var(--u-body-m-font-weight, var(--u-font-weight-regular, 400)));\n color: var(--u-list-item-supporting-text-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n`"
7257
- }
7258
- ],
7259
- "exports": [
7260
- {
7261
- "kind": "js",
7262
- "name": "styles",
7263
- "declaration": {
7264
- "name": "styles",
7265
- "module": "src/list/list-item.styles.ts"
7266
- }
7267
- }
7268
- ]
7269
- },
7270
- {
7271
- "kind": "javascript-module",
7272
- "path": "src/list/list-item.ts",
7273
- "declarations": [
7274
- {
7275
- "kind": "class",
7276
- "description": "",
7277
- "name": "UmListItem",
7278
- "members": [
7279
- {
7280
- "kind": "field",
7281
- "name": "selectable",
7282
- "type": {
7283
- "text": "boolean"
7284
- },
7285
- "default": "false",
7286
- "attribute": "selectable",
7287
- "reflects": true
7288
- }
7289
- ],
7290
- "attributes": [
7291
- {
7292
- "name": "selectable",
7293
- "type": {
7294
- "text": "boolean"
7295
- },
7296
- "default": "false",
7297
- "fieldName": "selectable"
7298
- }
7299
- ],
7300
- "superclass": {
7301
- "name": "LitElement",
7302
- "package": "lit"
7303
- },
7304
- "tagName": "u-list-item",
7305
- "customElement": true
7306
- }
7307
- ],
7308
- "exports": [
7309
- {
7310
- "kind": "js",
7311
- "name": "UmListItem",
7312
- "declaration": {
7313
- "name": "UmListItem",
7314
- "module": "src/list/list-item.ts"
7315
- }
7316
- },
7317
- {
7318
- "kind": "custom-element-definition",
7319
- "name": "u-list-item",
7320
- "declaration": {
7321
- "name": "UmListItem",
7322
- "module": "src/list/list-item.ts"
7323
- }
7324
- }
7325
- ]
7326
- },
7327
- {
7328
- "kind": "javascript-module",
7329
- "path": "src/list/list.styles.ts",
7330
- "declarations": [
7331
- {
7332
- "kind": "variable",
7333
- "name": "styles",
7334
- "default": "css `\n :host {\n display: block;\n padding-block: var(--u-list-padding, 8px);\n }\n`"
7335
- }
7336
- ],
7337
- "exports": [
7338
- {
7339
- "kind": "js",
7340
- "name": "styles",
7341
- "declaration": {
7342
- "name": "styles",
7343
- "module": "src/list/list.styles.ts"
7344
- }
7345
- }
7346
- ]
7347
- },
7348
- {
7349
- "kind": "javascript-module",
7350
- "path": "src/list/list.ts",
7351
- "declarations": [
7352
- {
7353
- "kind": "class",
7354
- "description": "",
7355
- "name": "UmList",
7356
- "members": [],
7357
- "superclass": {
7358
- "name": "LitElement",
7359
- "package": "lit"
7360
- },
7361
- "tagName": "u-list",
7362
- "customElement": true
7363
- }
7364
- ],
7365
- "exports": [
7366
- {
7367
- "kind": "js",
7368
- "name": "UmList",
7369
- "declaration": {
7370
- "name": "UmList",
7371
- "module": "src/list/list.ts"
7372
- }
7373
- },
7374
- {
7375
- "kind": "custom-element-definition",
7376
- "name": "u-list",
7377
- "declaration": {
7378
- "name": "UmList",
7379
- "module": "src/list/list.ts"
7380
- }
7381
- }
7382
- ]
7383
- },
7384
7249
  {
7385
7250
  "kind": "javascript-module",
7386
7251
  "path": "src/menu/menu-item.styles.ts",
@@ -8296,25 +8161,160 @@
8296
8161
  "name": "LitElement",
8297
8162
  "package": "lit"
8298
8163
  },
8299
- "tagName": "u-menu",
8164
+ "tagName": "u-menu",
8165
+ "customElement": true
8166
+ }
8167
+ ],
8168
+ "exports": [
8169
+ {
8170
+ "kind": "js",
8171
+ "name": "UmMenu",
8172
+ "declaration": {
8173
+ "name": "UmMenu",
8174
+ "module": "src/menu/menu.ts"
8175
+ }
8176
+ },
8177
+ {
8178
+ "kind": "custom-element-definition",
8179
+ "name": "u-menu",
8180
+ "declaration": {
8181
+ "name": "UmMenu",
8182
+ "module": "src/menu/menu.ts"
8183
+ }
8184
+ }
8185
+ ]
8186
+ },
8187
+ {
8188
+ "kind": "javascript-module",
8189
+ "path": "src/list/list-item.styles.ts",
8190
+ "declarations": [
8191
+ {
8192
+ "kind": "variable",
8193
+ "name": "styles",
8194
+ "default": "css `\n :host {\n position: relative;\n display: flex;\n align-items: center;\n min-height: var(--u-list-item-min-height, 56px);\n padding-block: var(--u-list-item-block-padding, 8px);\n padding-inline: var(--u-list-item-inline-padding, 16px);\n gap: var(--u-list-item-gap, 16px);\n }\n\n slot:not([name]) {\n display: block;\n margin-inline-end: auto;\n }\n\n slot {\n flex-shrink: 0;\n }\n\n .content {\n flex: 1;\n }\n\n .headline {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-list-item-headline-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-list-item-headline-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-list-item-headline-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-list-item-headline-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n }\n\n .supporting-text {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-list-item-supporting-text-line-height, var(--u-body-m-line-height, 1.25rem));\n font-size: var(--u-list-item-supporting-text-font-size, var(--u-body-m-font-size, 0.875rem));\n letter-spacing: var(--u-list-item-supporting-text-letter-spacing, var(--u-body-m-letter-spacing, 0.0178571429rem));\n font-weight: var(--u-list-item-supporting-text-font-weight, var(--u-body-m-font-weight, var(--u-font-weight-regular, 400)));\n color: var(--u-list-item-supporting-text-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n`"
8195
+ }
8196
+ ],
8197
+ "exports": [
8198
+ {
8199
+ "kind": "js",
8200
+ "name": "styles",
8201
+ "declaration": {
8202
+ "name": "styles",
8203
+ "module": "src/list/list-item.styles.ts"
8204
+ }
8205
+ }
8206
+ ]
8207
+ },
8208
+ {
8209
+ "kind": "javascript-module",
8210
+ "path": "src/list/list-item.ts",
8211
+ "declarations": [
8212
+ {
8213
+ "kind": "class",
8214
+ "description": "",
8215
+ "name": "UmListItem",
8216
+ "members": [
8217
+ {
8218
+ "kind": "field",
8219
+ "name": "selectable",
8220
+ "type": {
8221
+ "text": "boolean"
8222
+ },
8223
+ "default": "false",
8224
+ "attribute": "selectable",
8225
+ "reflects": true
8226
+ }
8227
+ ],
8228
+ "attributes": [
8229
+ {
8230
+ "name": "selectable",
8231
+ "type": {
8232
+ "text": "boolean"
8233
+ },
8234
+ "default": "false",
8235
+ "fieldName": "selectable"
8236
+ }
8237
+ ],
8238
+ "superclass": {
8239
+ "name": "LitElement",
8240
+ "package": "lit"
8241
+ },
8242
+ "tagName": "u-list-item",
8243
+ "customElement": true
8244
+ }
8245
+ ],
8246
+ "exports": [
8247
+ {
8248
+ "kind": "js",
8249
+ "name": "UmListItem",
8250
+ "declaration": {
8251
+ "name": "UmListItem",
8252
+ "module": "src/list/list-item.ts"
8253
+ }
8254
+ },
8255
+ {
8256
+ "kind": "custom-element-definition",
8257
+ "name": "u-list-item",
8258
+ "declaration": {
8259
+ "name": "UmListItem",
8260
+ "module": "src/list/list-item.ts"
8261
+ }
8262
+ }
8263
+ ]
8264
+ },
8265
+ {
8266
+ "kind": "javascript-module",
8267
+ "path": "src/list/list.styles.ts",
8268
+ "declarations": [
8269
+ {
8270
+ "kind": "variable",
8271
+ "name": "styles",
8272
+ "default": "css `\n :host {\n display: block;\n padding-block: var(--u-list-padding, 8px);\n }\n`"
8273
+ }
8274
+ ],
8275
+ "exports": [
8276
+ {
8277
+ "kind": "js",
8278
+ "name": "styles",
8279
+ "declaration": {
8280
+ "name": "styles",
8281
+ "module": "src/list/list.styles.ts"
8282
+ }
8283
+ }
8284
+ ]
8285
+ },
8286
+ {
8287
+ "kind": "javascript-module",
8288
+ "path": "src/list/list.ts",
8289
+ "declarations": [
8290
+ {
8291
+ "kind": "class",
8292
+ "description": "",
8293
+ "name": "UmList",
8294
+ "members": [],
8295
+ "superclass": {
8296
+ "name": "LitElement",
8297
+ "package": "lit"
8298
+ },
8299
+ "tagName": "u-list",
8300
8300
  "customElement": true
8301
8301
  }
8302
8302
  ],
8303
8303
  "exports": [
8304
8304
  {
8305
8305
  "kind": "js",
8306
- "name": "UmMenu",
8306
+ "name": "UmList",
8307
8307
  "declaration": {
8308
- "name": "UmMenu",
8309
- "module": "src/menu/menu.ts"
8308
+ "name": "UmList",
8309
+ "module": "src/list/list.ts"
8310
8310
  }
8311
8311
  },
8312
8312
  {
8313
8313
  "kind": "custom-element-definition",
8314
- "name": "u-menu",
8314
+ "name": "u-list",
8315
8315
  "declaration": {
8316
- "name": "UmMenu",
8317
- "module": "src/menu/menu.ts"
8316
+ "name": "UmList",
8317
+ "module": "src/list/list.ts"
8318
8318
  }
8319
8319
  }
8320
8320
  ]
@@ -17490,64 +17490,260 @@
17490
17490
  "module": "src/field/field-base.ts"
17491
17491
  }
17492
17492
  }
17493
- ],
17494
- "superclass": {
17495
- "name": "UmTextFieldBase",
17496
- "module": "/src/shared/text-field-base/text-field-base.js"
17497
- }
17493
+ ],
17494
+ "superclass": {
17495
+ "name": "UmTextFieldBase",
17496
+ "module": "/src/shared/text-field-base/text-field-base.js"
17497
+ }
17498
+ }
17499
+ ],
17500
+ "exports": [
17501
+ {
17502
+ "kind": "js",
17503
+ "name": "UmNativeTextFieldWrapper",
17504
+ "declaration": {
17505
+ "name": "UmNativeTextFieldWrapper",
17506
+ "module": "src/shared/char-count-text-field/native-text-field-wrapper.ts"
17507
+ }
17508
+ }
17509
+ ]
17510
+ },
17511
+ {
17512
+ "kind": "javascript-module",
17513
+ "path": "src/shared/events/dispatch-event.ts",
17514
+ "declarations": [],
17515
+ "exports": []
17516
+ },
17517
+ {
17518
+ "kind": "javascript-module",
17519
+ "path": "src/shared/events/redispatch-event.ts",
17520
+ "declarations": [
17521
+ {
17522
+ "kind": "function",
17523
+ "name": "redispatchEvent",
17524
+ "parameters": [
17525
+ {
17526
+ "name": "element",
17527
+ "type": {
17528
+ "text": "Element"
17529
+ }
17530
+ },
17531
+ {
17532
+ "name": "event",
17533
+ "type": {
17534
+ "text": "Event"
17535
+ }
17536
+ }
17537
+ ]
17538
+ }
17539
+ ],
17540
+ "exports": [
17541
+ {
17542
+ "kind": "js",
17543
+ "name": "redispatchEvent",
17544
+ "declaration": {
17545
+ "name": "redispatchEvent",
17546
+ "module": "src/shared/events/redispatch-event.ts"
17547
+ }
17548
+ }
17549
+ ]
17550
+ },
17551
+ {
17552
+ "kind": "javascript-module",
17553
+ "path": "src/shared/menu-field/menu-field-navigation-controller.ts",
17554
+ "declarations": [
17555
+ {
17556
+ "kind": "class",
17557
+ "description": "",
17558
+ "name": "MenuFieldNavigationController",
17559
+ "members": [
17560
+ {
17561
+ "kind": "field",
17562
+ "name": "#element",
17563
+ "privacy": "private",
17564
+ "type": {
17565
+ "text": "HTMLElement | null"
17566
+ },
17567
+ "default": "null"
17568
+ },
17569
+ {
17570
+ "kind": "field",
17571
+ "name": "focusedMenu",
17572
+ "type": {
17573
+ "text": "TMenuItem | null"
17574
+ },
17575
+ "privacy": "protected",
17576
+ "default": "null"
17577
+ },
17578
+ {
17579
+ "kind": "field",
17580
+ "name": "host",
17581
+ "type": {
17582
+ "text": "TField"
17583
+ },
17584
+ "privacy": "protected",
17585
+ "default": "host"
17586
+ },
17587
+ {
17588
+ "kind": "field",
17589
+ "name": "bindHandleKeyDown",
17590
+ "type": {
17591
+ "text": "(event: KeyboardEvent) => void"
17592
+ },
17593
+ "privacy": "private"
17594
+ },
17595
+ {
17596
+ "kind": "method",
17597
+ "name": "attach",
17598
+ "parameters": [
17599
+ {
17600
+ "name": "element",
17601
+ "type": {
17602
+ "text": "HTMLElement"
17603
+ }
17604
+ }
17605
+ ]
17606
+ },
17607
+ {
17608
+ "kind": "method",
17609
+ "name": "detach"
17610
+ },
17611
+ {
17612
+ "kind": "field",
17613
+ "name": "#handleMenuClose",
17614
+ "privacy": "private"
17615
+ },
17616
+ {
17617
+ "kind": "method",
17618
+ "name": "handleKeyDown",
17619
+ "privacy": "protected",
17620
+ "return": {
17621
+ "type": {
17622
+ "text": "boolean"
17623
+ }
17624
+ },
17625
+ "parameters": [
17626
+ {
17627
+ "name": "event",
17628
+ "type": {
17629
+ "text": "KeyboardEvent"
17630
+ }
17631
+ }
17632
+ ]
17633
+ },
17634
+ {
17635
+ "kind": "method",
17636
+ "name": "navigate",
17637
+ "privacy": "private",
17638
+ "parameters": [
17639
+ {
17640
+ "name": "event",
17641
+ "type": {
17642
+ "text": "KeyboardEvent"
17643
+ }
17644
+ },
17645
+ {
17646
+ "name": "forwards",
17647
+ "type": {
17648
+ "text": "boolean"
17649
+ }
17650
+ }
17651
+ ]
17652
+ },
17653
+ {
17654
+ "kind": "method",
17655
+ "name": "navigateTo",
17656
+ "privacy": "protected",
17657
+ "parameters": [
17658
+ {
17659
+ "name": "event",
17660
+ "type": {
17661
+ "text": "KeyboardEvent"
17662
+ }
17663
+ },
17664
+ {
17665
+ "name": "menu",
17666
+ "type": {
17667
+ "text": "TMenuItem | undefined"
17668
+ }
17669
+ }
17670
+ ]
17671
+ },
17672
+ {
17673
+ "kind": "method",
17674
+ "name": "focusMenu",
17675
+ "parameters": [
17676
+ {
17677
+ "name": "menu",
17678
+ "type": {
17679
+ "text": "TMenuItem"
17680
+ }
17681
+ },
17682
+ {
17683
+ "name": "active",
17684
+ "default": "true"
17685
+ },
17686
+ {
17687
+ "name": "scroll",
17688
+ "default": "true"
17689
+ }
17690
+ ]
17691
+ },
17692
+ {
17693
+ "kind": "method",
17694
+ "name": "blurMenu"
17695
+ },
17696
+ {
17697
+ "kind": "method",
17698
+ "name": "selectActiveItem",
17699
+ "privacy": "private",
17700
+ "parameters": [
17701
+ {
17702
+ "name": "event",
17703
+ "type": {
17704
+ "text": "KeyboardEvent"
17705
+ }
17706
+ }
17707
+ ]
17708
+ },
17709
+ {
17710
+ "kind": "method",
17711
+ "name": "afterFocus",
17712
+ "privacy": "protected",
17713
+ "parameters": [
17714
+ {
17715
+ "name": "_",
17716
+ "type": {
17717
+ "text": "TMenuItem"
17718
+ }
17719
+ }
17720
+ ]
17721
+ },
17722
+ {
17723
+ "kind": "method",
17724
+ "name": "afterBlur",
17725
+ "privacy": "protected"
17726
+ }
17727
+ ]
17498
17728
  }
17499
17729
  ],
17500
17730
  "exports": [
17501
17731
  {
17502
17732
  "kind": "js",
17503
- "name": "UmNativeTextFieldWrapper",
17733
+ "name": "MenuFieldNavigationController",
17504
17734
  "declaration": {
17505
- "name": "UmNativeTextFieldWrapper",
17506
- "module": "src/shared/char-count-text-field/native-text-field-wrapper.ts"
17735
+ "name": "MenuFieldNavigationController",
17736
+ "module": "src/shared/menu-field/menu-field-navigation-controller.ts"
17507
17737
  }
17508
17738
  }
17509
17739
  ]
17510
17740
  },
17511
17741
  {
17512
17742
  "kind": "javascript-module",
17513
- "path": "src/shared/events/dispatch-event.ts",
17743
+ "path": "src/shared/menu-field/menu-field.ts",
17514
17744
  "declarations": [],
17515
17745
  "exports": []
17516
17746
  },
17517
- {
17518
- "kind": "javascript-module",
17519
- "path": "src/shared/events/redispatch-event.ts",
17520
- "declarations": [
17521
- {
17522
- "kind": "function",
17523
- "name": "redispatchEvent",
17524
- "parameters": [
17525
- {
17526
- "name": "element",
17527
- "type": {
17528
- "text": "Element"
17529
- }
17530
- },
17531
- {
17532
- "name": "event",
17533
- "type": {
17534
- "text": "Event"
17535
- }
17536
- }
17537
- ]
17538
- }
17539
- ],
17540
- "exports": [
17541
- {
17542
- "kind": "js",
17543
- "name": "redispatchEvent",
17544
- "declaration": {
17545
- "name": "redispatchEvent",
17546
- "module": "src/shared/events/redispatch-event.ts"
17547
- }
17548
- }
17549
- ]
17550
- },
17551
17747
  {
17552
17748
  "kind": "javascript-module",
17553
17749
  "path": "src/shared/selection-control/selection-control-list-item.ts",
@@ -17890,202 +18086,6 @@
17890
18086
  }
17891
18087
  ]
17892
18088
  },
17893
- {
17894
- "kind": "javascript-module",
17895
- "path": "src/shared/menu-field/menu-field-navigation-controller.ts",
17896
- "declarations": [
17897
- {
17898
- "kind": "class",
17899
- "description": "",
17900
- "name": "MenuFieldNavigationController",
17901
- "members": [
17902
- {
17903
- "kind": "field",
17904
- "name": "#element",
17905
- "privacy": "private",
17906
- "type": {
17907
- "text": "HTMLElement | null"
17908
- },
17909
- "default": "null"
17910
- },
17911
- {
17912
- "kind": "field",
17913
- "name": "focusedMenu",
17914
- "type": {
17915
- "text": "TMenuItem | null"
17916
- },
17917
- "privacy": "protected",
17918
- "default": "null"
17919
- },
17920
- {
17921
- "kind": "field",
17922
- "name": "host",
17923
- "type": {
17924
- "text": "TField"
17925
- },
17926
- "privacy": "protected",
17927
- "default": "host"
17928
- },
17929
- {
17930
- "kind": "field",
17931
- "name": "bindHandleKeyDown",
17932
- "type": {
17933
- "text": "(event: KeyboardEvent) => void"
17934
- },
17935
- "privacy": "private"
17936
- },
17937
- {
17938
- "kind": "method",
17939
- "name": "attach",
17940
- "parameters": [
17941
- {
17942
- "name": "element",
17943
- "type": {
17944
- "text": "HTMLElement"
17945
- }
17946
- }
17947
- ]
17948
- },
17949
- {
17950
- "kind": "method",
17951
- "name": "detach"
17952
- },
17953
- {
17954
- "kind": "field",
17955
- "name": "#handleMenuClose",
17956
- "privacy": "private"
17957
- },
17958
- {
17959
- "kind": "method",
17960
- "name": "handleKeyDown",
17961
- "privacy": "protected",
17962
- "return": {
17963
- "type": {
17964
- "text": "boolean"
17965
- }
17966
- },
17967
- "parameters": [
17968
- {
17969
- "name": "event",
17970
- "type": {
17971
- "text": "KeyboardEvent"
17972
- }
17973
- }
17974
- ]
17975
- },
17976
- {
17977
- "kind": "method",
17978
- "name": "navigate",
17979
- "privacy": "private",
17980
- "parameters": [
17981
- {
17982
- "name": "event",
17983
- "type": {
17984
- "text": "KeyboardEvent"
17985
- }
17986
- },
17987
- {
17988
- "name": "forwards",
17989
- "type": {
17990
- "text": "boolean"
17991
- }
17992
- }
17993
- ]
17994
- },
17995
- {
17996
- "kind": "method",
17997
- "name": "navigateTo",
17998
- "privacy": "protected",
17999
- "parameters": [
18000
- {
18001
- "name": "event",
18002
- "type": {
18003
- "text": "KeyboardEvent"
18004
- }
18005
- },
18006
- {
18007
- "name": "menu",
18008
- "type": {
18009
- "text": "TMenuItem | undefined"
18010
- }
18011
- }
18012
- ]
18013
- },
18014
- {
18015
- "kind": "method",
18016
- "name": "focusMenu",
18017
- "parameters": [
18018
- {
18019
- "name": "menu",
18020
- "type": {
18021
- "text": "TMenuItem"
18022
- }
18023
- },
18024
- {
18025
- "name": "active",
18026
- "default": "true"
18027
- },
18028
- {
18029
- "name": "scroll",
18030
- "default": "true"
18031
- }
18032
- ]
18033
- },
18034
- {
18035
- "kind": "method",
18036
- "name": "blurMenu"
18037
- },
18038
- {
18039
- "kind": "method",
18040
- "name": "selectActiveItem",
18041
- "privacy": "private",
18042
- "parameters": [
18043
- {
18044
- "name": "event",
18045
- "type": {
18046
- "text": "KeyboardEvent"
18047
- }
18048
- }
18049
- ]
18050
- },
18051
- {
18052
- "kind": "method",
18053
- "name": "afterFocus",
18054
- "privacy": "protected",
18055
- "parameters": [
18056
- {
18057
- "name": "_",
18058
- "type": {
18059
- "text": "TMenuItem"
18060
- }
18061
- }
18062
- ]
18063
- },
18064
- {
18065
- "kind": "method",
18066
- "name": "afterBlur",
18067
- "privacy": "protected"
18068
- }
18069
- ]
18070
- }
18071
- ],
18072
- "exports": [
18073
- {
18074
- "kind": "js",
18075
- "name": "MenuFieldNavigationController",
18076
- "declaration": {
18077
- "name": "MenuFieldNavigationController",
18078
- "module": "src/shared/menu-field/menu-field-navigation-controller.ts"
18079
- }
18080
- }
18081
- ]
18082
- },
18083
- {
18084
- "kind": "javascript-module",
18085
- "path": "src/shared/menu-field/menu-field.ts",
18086
- "declarations": [],
18087
- "exports": []
18088
- },
18089
18089
  {
18090
18090
  "kind": "javascript-module",
18091
18091
  "path": "src/shared/text-field-base/text-field-base.styles.ts",