@universal-material/web 3.0.68 → 3.0.70

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.
Files changed (202) hide show
  1. package/app-bar/top-app-bar.js +3 -2
  2. package/app-bar/top-app-bar.js.map +1 -1
  3. package/button/button-base.d.ts +1 -0
  4. package/button/button-base.d.ts.map +1 -1
  5. package/button/button-base.js +7 -18
  6. package/button/button-base.js.map +1 -1
  7. package/button/button-base.styles.d.ts +2 -0
  8. package/button/button-base.styles.d.ts.map +1 -0
  9. package/button/button-base.styles.js +16 -0
  10. package/button/button-base.styles.js.map +1 -0
  11. package/button/button-set.d.ts +1 -1
  12. package/button/button-set.d.ts.map +1 -1
  13. package/button/button-set.js +1 -1
  14. package/button/button-set.js.map +1 -1
  15. package/button/button-set.styles.d.ts.map +1 -1
  16. package/button/button-set.styles.js +0 -19
  17. package/button/button-set.styles.js.map +1 -1
  18. package/button/button.d.ts +2 -2
  19. package/button/button.d.ts.map +1 -1
  20. package/button/button.js +1 -1
  21. package/button/button.js.map +1 -1
  22. package/button/button.styles.d.ts.map +1 -1
  23. package/button/button.styles.js +0 -100
  24. package/button/button.styles.js.map +1 -1
  25. package/button/fab.d.ts +2 -2
  26. package/button/fab.d.ts.map +1 -1
  27. package/button/fab.js +1 -1
  28. package/button/fab.js.map +1 -1
  29. package/button/fab.styles.d.ts.map +1 -1
  30. package/button/fab.styles.js +0 -100
  31. package/button/fab.styles.js.map +1 -1
  32. package/button/icon-button.d.ts +2 -2
  33. package/button/icon-button.d.ts.map +1 -1
  34. package/button/icon-button.js +1 -1
  35. package/button/icon-button.js.map +1 -1
  36. package/button/icon-button.styles.d.ts.map +1 -1
  37. package/button/icon-button.styles.js +0 -100
  38. package/button/icon-button.styles.js.map +1 -1
  39. package/card/card-content.js +1 -1
  40. package/card/card-content.js.map +1 -1
  41. package/card/card-media.js +1 -1
  42. package/card/card-media.js.map +1 -1
  43. package/card/card.js +1 -1
  44. package/card/card.js.map +1 -1
  45. package/checkbox/checkbox.js +8 -20
  46. package/checkbox/checkbox.js.map +1 -1
  47. package/chip/chip-set.d.ts +1 -1
  48. package/chip/chip-set.d.ts.map +1 -1
  49. package/chip/chip-set.js +1 -1
  50. package/chip/chip-set.js.map +1 -1
  51. package/chip/chip-set.styles.d.ts.map +1 -1
  52. package/chip/chip-set.styles.js +0 -19
  53. package/chip/chip-set.styles.js.map +1 -1
  54. package/chip/chip.d.ts +1 -1
  55. package/chip/chip.d.ts.map +1 -1
  56. package/chip/chip.js +39 -54
  57. package/chip/chip.js.map +1 -1
  58. package/chip/chip.styles.d.ts.map +1 -1
  59. package/chip/chip.styles.js +0 -87
  60. package/chip/chip.styles.js.map +1 -1
  61. package/chip-field/chip-field.js +72 -86
  62. package/chip-field/chip-field.js.map +1 -1
  63. package/custom-elements.json +2109 -1186
  64. package/dialog/confirm-dialog-builder.js +6 -22
  65. package/dialog/confirm-dialog-builder.js.map +1 -1
  66. package/dialog/dialog-builder.js +4 -17
  67. package/dialog/dialog-builder.js.map +1 -1
  68. package/dialog/dialog.js +65 -80
  69. package/dialog/dialog.js.map +1 -1
  70. package/dialog/message-dialog-builder.js +3 -19
  71. package/dialog/message-dialog-builder.js.map +1 -1
  72. package/elevation/elevation.js +1 -1
  73. package/elevation/elevation.js.map +1 -1
  74. package/field/field-base.d.ts +2 -2
  75. package/field/field-base.d.ts.map +1 -1
  76. package/field/field-base.js +13 -16
  77. package/field/field-base.js.map +1 -1
  78. package/field/field-base.styles.js +1 -1
  79. package/field/field-base.styles.js.map +1 -1
  80. package/list/list-item.js +1 -1
  81. package/list/list-item.js.map +1 -1
  82. package/list/list.js +1 -1
  83. package/list/list.js.map +1 -1
  84. package/menu/menu-item.d.ts +12 -6
  85. package/menu/menu-item.d.ts.map +1 -1
  86. package/menu/menu-item.js +49 -31
  87. package/menu/menu-item.js.map +1 -1
  88. package/menu/menu-item.styles.d.ts.map +1 -1
  89. package/menu/menu-item.styles.js +15 -90
  90. package/menu/menu-item.styles.js.map +1 -1
  91. package/menu/menu.d.ts +1 -1
  92. package/menu/menu.d.ts.map +1 -1
  93. package/menu/menu.js +142 -150
  94. package/menu/menu.js.map +1 -1
  95. package/menu/menu.styles.d.ts.map +1 -1
  96. package/menu/menu.styles.js +1 -0
  97. package/menu/menu.styles.js.map +1 -1
  98. package/navigation/drawer-item.d.ts +1 -1
  99. package/navigation/drawer-item.d.ts.map +1 -1
  100. package/navigation/drawer-item.js +4 -5
  101. package/navigation/drawer-item.js.map +1 -1
  102. package/navigation/drawer-item.styles.d.ts.map +1 -1
  103. package/navigation/drawer-item.styles.js +0 -87
  104. package/navigation/drawer-item.styles.js.map +1 -1
  105. package/navigation/drawer.js +4 -4
  106. package/navigation/drawer.js.map +1 -1
  107. package/navigation/side-navigation.js +8 -20
  108. package/navigation/side-navigation.js.map +1 -1
  109. package/package.json +18 -18
  110. package/progress/circular-progress.d.ts +1 -2
  111. package/progress/circular-progress.d.ts.map +1 -1
  112. package/progress/circular-progress.js +19 -30
  113. package/progress/circular-progress.js.map +1 -1
  114. package/progress/progress-bar.d.ts +1 -2
  115. package/progress/progress-bar.d.ts.map +1 -1
  116. package/progress/progress-bar.js +12 -20
  117. package/progress/progress-bar.js.map +1 -1
  118. package/radio/radio.js +53 -61
  119. package/radio/radio.js.map +1 -1
  120. package/ripple/ripple.js +3 -2
  121. package/ripple/ripple.js.map +1 -1
  122. package/select/extended-option.d.ts +5 -0
  123. package/select/extended-option.d.ts.map +1 -0
  124. package/select/extended-option.js +2 -0
  125. package/select/extended-option.js.map +1 -0
  126. package/select/extended-select.d.ts +6 -0
  127. package/select/extended-select.d.ts.map +1 -0
  128. package/select/extended-select.js +2 -0
  129. package/select/extended-select.js.map +1 -0
  130. package/select/option.d.ts +10 -0
  131. package/select/option.d.ts.map +1 -1
  132. package/select/option.js +84 -74
  133. package/select/option.js.map +1 -1
  134. package/select/option.styles.d.ts.map +1 -1
  135. package/select/option.styles.js +10 -0
  136. package/select/option.styles.js.map +1 -1
  137. package/select/select-navigation-controller.d.ts +14 -0
  138. package/select/select-navigation-controller.d.ts.map +1 -0
  139. package/select/select-navigation-controller.js +80 -0
  140. package/select/select-navigation-controller.js.map +1 -0
  141. package/select/select.d.ts +13 -5
  142. package/select/select.d.ts.map +1 -1
  143. package/select/select.js +186 -66
  144. package/select/select.js.map +1 -1
  145. package/select/select.styles.d.ts.map +1 -1
  146. package/select/select.styles.js +25 -6
  147. package/select/select.styles.js.map +1 -1
  148. package/shared/button-wrapper.d.ts +2 -0
  149. package/shared/button-wrapper.d.ts.map +1 -1
  150. package/shared/button-wrapper.js +18 -22
  151. package/shared/button-wrapper.js.map +1 -1
  152. package/shared/button-wrapper.styles.d.ts +2 -0
  153. package/shared/button-wrapper.styles.d.ts.map +1 -0
  154. package/shared/button-wrapper.styles.js +63 -0
  155. package/shared/button-wrapper.styles.js.map +1 -0
  156. package/shared/compare-text.d.ts +2 -0
  157. package/shared/compare-text.d.ts.map +1 -0
  158. package/shared/compare-text.js +5 -0
  159. package/shared/compare-text.js.map +1 -0
  160. package/shared/menu-field/menu-field-navigation-controller.d.ts +20 -0
  161. package/shared/menu-field/menu-field-navigation-controller.d.ts.map +1 -0
  162. package/shared/menu-field/menu-field-navigation-controller.js +103 -0
  163. package/shared/menu-field/menu-field-navigation-controller.js.map +1 -0
  164. package/shared/menu-field/menu-field.d.ts +7 -0
  165. package/shared/menu-field/menu-field.d.ts.map +1 -0
  166. package/shared/menu-field/menu-field.js +2 -0
  167. package/shared/menu-field/menu-field.js.map +1 -0
  168. package/shared/mixin-attribute-properties.d.ts.map +1 -1
  169. package/shared/normalize-text.d.ts +1 -1
  170. package/shared/normalize-text.d.ts.map +1 -1
  171. package/shared/normalize-text.js +1 -1
  172. package/shared/normalize-text.js.map +1 -1
  173. package/shared/selection-control/selection-control-list-item.d.ts.map +1 -1
  174. package/shared/selection-control/selection-control-list-item.js +7 -7
  175. package/shared/selection-control/selection-control-list-item.js.map +1 -1
  176. package/shared/selection-control/selection-control.js +16 -28
  177. package/shared/selection-control/selection-control.js.map +1 -1
  178. package/shared/sets/set-base.d.ts +2 -0
  179. package/shared/sets/set-base.d.ts.map +1 -1
  180. package/shared/sets/set-base.js +2 -0
  181. package/shared/sets/set-base.js.map +1 -1
  182. package/shared/sets/set-base.styles.d.ts +2 -0
  183. package/shared/sets/set-base.styles.d.ts.map +1 -0
  184. package/shared/sets/set-base.styles.js +22 -0
  185. package/shared/sets/set-base.styles.js.map +1 -0
  186. package/shared/text-field-base/text-field-base.js +6 -6
  187. package/shared/text-field-base/text-field-base.js.map +1 -1
  188. package/snackbar/snackbar.d.ts.map +1 -1
  189. package/snackbar/snackbar.js +13 -7
  190. package/snackbar/snackbar.js.map +1 -1
  191. package/switch/switch.js +4 -4
  192. package/switch/switch.js.map +1 -1
  193. package/text-field/text-field.d.ts +2 -0
  194. package/text-field/text-field.d.ts.map +1 -1
  195. package/text-field/text-field.js +22 -30
  196. package/text-field/text-field.js.map +1 -1
  197. package/typeahead/highlight.js +7 -24
  198. package/typeahead/highlight.js.map +1 -1
  199. package/typeahead/typeahead.d.ts +3 -3
  200. package/typeahead/typeahead.d.ts.map +1 -1
  201. package/typeahead/typeahead.js +178 -204
  202. package/typeahead/typeahead.js.map +1 -1
@@ -567,6 +567,27 @@
567
567
  }
568
568
  ]
569
569
  },
570
+ {
571
+ "kind": "javascript-module",
572
+ "path": "src/button/button-base.styles.ts",
573
+ "declarations": [
574
+ {
575
+ "kind": "variable",
576
+ "name": "styles",
577
+ "default": "css `\n .icon {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 1em;\n height: 1em;\n line-height: 1em;\n }\n\n ::slotted([slot=icon]) {\n display: inline-block;\n }\n`"
578
+ }
579
+ ],
580
+ "exports": [
581
+ {
582
+ "kind": "js",
583
+ "name": "styles",
584
+ "declaration": {
585
+ "name": "styles",
586
+ "module": "src/button/button-base.styles.ts"
587
+ }
588
+ }
589
+ ]
590
+ },
570
591
  {
571
592
  "kind": "javascript-module",
572
593
  "path": "src/button/button-base.ts",
@@ -941,7 +962,7 @@
941
962
  {
942
963
  "kind": "variable",
943
964
  "name": "styles",
944
- "default": "css `\n :host {\n display: flex;\n gap: 8px;\n align-items: center;\n flex-wrap: nowrap;\n }\n\n :host([alignment=start]) {\n justify-content: flex-start;\n }\n\n :host([alignment=center]) {\n justify-content: center;\n }\n\n :host([alignment=end]) {\n justify-content: flex-end;\n }\n\n :host([stack][alignment=start]) {\n align-items: flex-start;\n }\n\n :host([stack][alignment=center]) {\n align-items: center;\n }\n\n :host([stack][alignment=end]) {\n align-items: flex-end;\n }\n\n :host([stack]) {\n flex-direction: column;\n justify-content: flex-start;\n }\n`"
965
+ "default": "css `\n :host([stack][alignment=start]) {\n align-items: flex-start;\n }\n\n :host([stack][alignment=center]) {\n align-items: center;\n }\n\n :host([stack][alignment=end]) {\n align-items: flex-end;\n }\n\n :host([stack]) {\n flex-direction: column;\n justify-content: flex-start;\n }\n`"
945
966
  }
946
967
  ],
947
968
  "exports": [
@@ -1049,7 +1070,7 @@
1049
1070
  {
1050
1071
  "kind": "variable",
1051
1072
  "name": "styles",
1052
- "default": "css `\n :host,\n * {\n --_focus-ring-outline-offset: var(--u-focus-ring-outline-offset, 2px);\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n box-sizing: border-box;\n outline: 0;\n }\n\n :host(.force-focus-ring) .focus-ring,\n .focus-ring:focus-visible {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: var(--_focus-ring-outline-offset);\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_color-primary);\n }\n 50% {\n outline: 6px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n :host {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n -webkit-tap-highlight-color: transparent;\n --u-elevation-level: 0;\n position: relative;\n display: inline-block;\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n appearance: none !important;\n }\n\n :host([disabled]) {\n --u-elevation-level: 0 !important;\n background-color: var(--u-button-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-background-opacity, 0.12))) !important;\n color: var(--u-button-disabled-text-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-color, 0.38))) !important;\n }\n\n :host([disabled]) .button {\n cursor: default;\n }\n\n * {\n color: inherit;\n }\n\n u-elevation {\n z-index: -1;\n }\n\n .button {\n cursor: pointer;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100%;\n height: 100%;\n font-family: inherit;\n border-radius: inherit;\n color: inherit;\n border: none;\n margin: 0;\n padding: 0;\n text-align: center;\n white-space: nowrap;\n background: transparent;\n user-select: none;\n text-decoration: none;\n outline: 0;\n z-index: 0;\n }\n\n .content {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n border-radius: inherit;\n width: 100%;\n height: 100%;\n }\n\n .icon {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 1em;\n height: 1em;\n line-height: 1em;\n }\n\n ::slotted([slot=icon]) {\n display: inline-block;\n }\n\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-background-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-background-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`"
1073
+ "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-background-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-background-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`"
1053
1074
  }
1054
1075
  ],
1055
1076
  "exports": [
@@ -1564,7 +1585,7 @@
1564
1585
  {
1565
1586
  "kind": "variable",
1566
1587
  "name": "styles",
1567
- "default": "css `\n :host,\n * {\n --_focus-ring-outline-offset: var(--u-focus-ring-outline-offset, 2px);\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n box-sizing: border-box;\n outline: 0;\n }\n\n :host(.force-focus-ring) .focus-ring,\n .focus-ring:focus-visible {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: var(--_focus-ring-outline-offset);\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_color-primary);\n }\n 50% {\n outline: 6px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n :host {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n -webkit-tap-highlight-color: transparent;\n --u-elevation-level: 0;\n position: relative;\n display: inline-block;\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n appearance: none !important;\n }\n\n :host([disabled]) {\n --u-elevation-level: 0 !important;\n background-color: var(--u-button-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-background-opacity, 0.12))) !important;\n color: var(--u-button-disabled-text-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-color, 0.38))) !important;\n }\n\n :host([disabled]) .button {\n cursor: default;\n }\n\n * {\n color: inherit;\n }\n\n u-elevation {\n z-index: -1;\n }\n\n .button {\n cursor: pointer;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100%;\n height: 100%;\n font-family: inherit;\n border-radius: inherit;\n color: inherit;\n border: none;\n margin: 0;\n padding: 0;\n text-align: center;\n white-space: nowrap;\n background: transparent;\n user-select: none;\n text-decoration: none;\n outline: 0;\n z-index: 0;\n }\n\n .content {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n border-radius: inherit;\n width: 100%;\n height: 100%;\n }\n\n .icon {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 1em;\n height: 1em;\n line-height: 1em;\n }\n\n ::slotted([slot=icon]) {\n display: inline-block;\n }\n\n :host {\n aspect-ratio: 1;\n --u-elevation-level: var(--u-fab-button-elevation-level, 3);\n }\n\n :host([lowered]) {\n --u-elevation-level: var(--u-fab-button-elevation-level, 1);\n }\n\n @media (hover: hover) {\n :host(:hover:not(:focus-within):not(:active)) {\n --u-elevation-level: var(--u-fab-button-hover-elevation-level, 4);\n }\n :host(:hover:not(:focus-within):not(:active)[lowered]) {\n --u-elevation-level: var(--u-fab-button-elevation-level, 2);\n }\n }\n @media (hover: hover) {\n :host(:hover:not(:focus-within):not(:active)) {\n --u-elevation-level: var(--u-fab-button-hover-elevation-level, 4);\n }\n }\n :host([size=small]) {\n width: var(--u-fab-button-small-size, 40px);\n border-radius: var(--u-fab-button-medium-shape-corner, var(--u-shape-corner-medium, 12px));\n }\n\n :host([size=large]) {\n width: var(--u-fab-button-medium-size, 96px);\n border-radius: var(--u-fab-button-medium-shape-corner, var(--u-shape-corner-extra-large, 28px));\n }\n\n :host([extended]),\n :host([size=medium]) {\n width: var(--u-fab-button-medium-size, 56px);\n border-radius: var(--u-fab-button-medium-shape-corner, var(--u-shape-corner-large, 16px));\n }\n\n :host([size=large]) .icon {\n font-size: var(--u-fab-button-icon-size, 2rem);\n }\n\n :host([extended]) .icon,\n :host([size=small]) .icon,\n :host([size=medium]) .icon {\n font-size: var(--u-fab-button-icon-size, 1.5rem);\n }\n\n :host([extended]) {\n width: auto;\n height: var(--u-extended-fab-button-height, 56px);\n aspect-ratio: auto;\n min-width: var(--u-extended-fab-button-min-width, 80px);\n padding-inline: var(--u-extended-fab-button-padding, 16px 24px);\n }\n\n :host([extended]) .icon {\n margin-inline-end: var(--u-extended-fab-button-icon-margin, 12px);\n }\n\n :host([color=primary]) {\n background-color: var(--u-fab-button-primary-background-color, var(--u-color-primary-container, rgb(234, 221, 255)));\n color: var(--u-fab-button-primary-text-color, var(--u-color-on-primary-container, rgb(33, 0, 93)));\n }\n\n :host([color=secondary]) {\n background-color: var(--u-fab-button-secondary-background-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n color: var(--u-fab-button-secondary-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n :host([color=tertiary]) {\n background-color: var(--u-fab-button-tertiary-background-color, var(--u-color-tertiary-container, rgb(255, 216, 228)));\n color: var(--u-fab-button-tertiary-text-color, var(--u-color-on-tertiary-container, rgb(49, 17, 29)));\n }\n\n :host([color=branded]),\n :host([color=surface]) {\n background-color: var(--u-fab-button-surface-background-color, var(--u-color-surface-container-high, rgb(236, 230, 240)));\n color: var(--u-fab-button-surface-text-color, var(--_color-primary));\n }\n\n :host([color=branded][lowered]),\n :host([color=surface][lowered]) {\n background-color: var(--u-fab-button-surface-background-color, var(--u-color-surface-container-low, rgb(247, 242, 250)));\n }\n`"
1588
+ "default": "css `\n :host {\n aspect-ratio: 1;\n --u-elevation-level: var(--u-fab-button-elevation-level, 3);\n }\n\n :host([lowered]) {\n --u-elevation-level: var(--u-fab-button-elevation-level, 1);\n }\n\n @media (hover: hover) {\n :host(:hover:not(:focus-within):not(:active)) {\n --u-elevation-level: var(--u-fab-button-hover-elevation-level, 4);\n }\n :host(:hover:not(:focus-within):not(:active)[lowered]) {\n --u-elevation-level: var(--u-fab-button-elevation-level, 2);\n }\n }\n @media (hover: hover) {\n :host(:hover:not(:focus-within):not(:active)) {\n --u-elevation-level: var(--u-fab-button-hover-elevation-level, 4);\n }\n }\n :host([size=small]) {\n width: var(--u-fab-button-small-size, 40px);\n border-radius: var(--u-fab-button-medium-shape-corner, var(--u-shape-corner-medium, 12px));\n }\n\n :host([size=large]) {\n width: var(--u-fab-button-medium-size, 96px);\n border-radius: var(--u-fab-button-medium-shape-corner, var(--u-shape-corner-extra-large, 28px));\n }\n\n :host([extended]),\n :host([size=medium]) {\n width: var(--u-fab-button-medium-size, 56px);\n border-radius: var(--u-fab-button-medium-shape-corner, var(--u-shape-corner-large, 16px));\n }\n\n :host([size=large]) .icon {\n font-size: var(--u-fab-button-icon-size, 2rem);\n }\n\n :host([extended]) .icon,\n :host([size=small]) .icon,\n :host([size=medium]) .icon {\n font-size: var(--u-fab-button-icon-size, 1.5rem);\n }\n\n :host([extended]) {\n width: auto;\n height: var(--u-extended-fab-button-height, 56px);\n aspect-ratio: auto;\n min-width: var(--u-extended-fab-button-min-width, 80px);\n padding-inline: var(--u-extended-fab-button-padding, 16px 24px);\n }\n\n :host([extended]) .icon {\n margin-inline-end: var(--u-extended-fab-button-icon-margin, 12px);\n }\n\n :host([color=primary]) {\n background-color: var(--u-fab-button-primary-background-color, var(--u-color-primary-container, rgb(234, 221, 255)));\n color: var(--u-fab-button-primary-text-color, var(--u-color-on-primary-container, rgb(33, 0, 93)));\n }\n\n :host([color=secondary]) {\n background-color: var(--u-fab-button-secondary-background-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n color: var(--u-fab-button-secondary-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n :host([color=tertiary]) {\n background-color: var(--u-fab-button-tertiary-background-color, var(--u-color-tertiary-container, rgb(255, 216, 228)));\n color: var(--u-fab-button-tertiary-text-color, var(--u-color-on-tertiary-container, rgb(49, 17, 29)));\n }\n\n :host([color=branded]),\n :host([color=surface]) {\n background-color: var(--u-fab-button-surface-background-color, var(--u-color-surface-container-high, rgb(236, 230, 240)));\n color: var(--u-fab-button-surface-text-color, var(--_color-primary));\n }\n\n :host([color=branded][lowered]),\n :host([color=surface][lowered]) {\n background-color: var(--u-fab-button-surface-background-color, var(--u-color-surface-container-low, rgb(247, 242, 250)));\n }\n`"
1568
1589
  }
1569
1590
  ],
1570
1591
  "exports": [
@@ -2086,7 +2107,7 @@
2086
2107
  {
2087
2108
  "kind": "variable",
2088
2109
  "name": "styles",
2089
- "default": "css `\n :host,\n * {\n --_focus-ring-outline-offset: var(--u-focus-ring-outline-offset, 2px);\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n box-sizing: border-box;\n outline: 0;\n }\n\n :host(.force-focus-ring) .focus-ring,\n .focus-ring:focus-visible {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: var(--_focus-ring-outline-offset);\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_color-primary);\n }\n 50% {\n outline: 6px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n :host {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n -webkit-tap-highlight-color: transparent;\n --u-elevation-level: 0;\n position: relative;\n display: inline-block;\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n appearance: none !important;\n }\n\n :host([disabled]) {\n --u-elevation-level: 0 !important;\n background-color: var(--u-button-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-background-opacity, 0.12))) !important;\n color: var(--u-button-disabled-text-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-color, 0.38))) !important;\n }\n\n :host([disabled]) .button {\n cursor: default;\n }\n\n * {\n color: inherit;\n }\n\n u-elevation {\n z-index: -1;\n }\n\n .button {\n cursor: pointer;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100%;\n height: 100%;\n font-family: inherit;\n border-radius: inherit;\n color: inherit;\n border: none;\n margin: 0;\n padding: 0;\n text-align: center;\n white-space: nowrap;\n background: transparent;\n user-select: none;\n text-decoration: none;\n outline: 0;\n z-index: 0;\n }\n\n .content {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n border-radius: inherit;\n width: 100%;\n height: 100%;\n }\n\n .icon {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 1em;\n height: 1em;\n line-height: 1em;\n }\n\n ::slotted([slot=icon]) {\n display: inline-block;\n }\n\n :host {\n --_icon-button-size: var(--u-icon-button-size, 2.5rem);\n --_color-surface-container-highest: var(--u-color-surface-container-highest, rgb(230, 224, 233));\n width: var(--_icon-button-size);\n height: var(--_icon-button-size);\n border-radius: var(--u-icon-button-shape-corner, 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 }\n\n .icon {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: var(--u-icon-button-icon-size, 1.5rem);\n }\n .icon.icon-selected {\n display: none;\n }\n\n :host([selected][has-selection-icon]) .icon:not(.icon-selected) {\n display: none;\n }\n :host([selected][has-selection-icon]) .icon.icon-selected {\n display: inline-block;\n }\n\n :host([variant=filled]) {\n background-color: var(--u-filled-icon-button-unselected-background-color, var(--_color-surface-container-highest));\n color: var(--u-filled-icon-button-unselected-text-color, var(--_color-primary));\n }\n\n :host([variant=tonal]) {\n background-color: var(--u-total-icon-button-unselected-background-color, var(--_color-surface-container-highest));\n color: var(--u-tonal-icon-button-unselected-text-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n :host([selected][variant=filled]),\n :host([variant=filled]:not([has-selection-icon])) {\n background-color: var(--u-filled-icon-button-background-color, var(--_color-primary));\n color: var(--u-filled-icon-button-text-color, var(--u-color-on-primary, rgb(255, 255, 255)));\n }\n\n :host([selected][variant=tonal]),\n :host([variant=tonal]:not([has-selection-icon])) {\n background-color: var(--u-tonal-icon-button-background-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n color: var(--u-tonal-icon-button-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n :host([variant=standard]),\n :host([variant=outlined]) {\n color: var(--u-standard-icon-button-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n :host([variant=outlined]) {\n border: 1px solid var(--u-color-outline, rgb(121, 116, 126));\n color: var(--u-outlined-icon-button-color, var(--u-standard-icon-button-color, var(--u-color-on-surface-variant, rgb(73, 69, 79))));\n }\n\n :host([selected][variant=outlined]) {\n border: none;\n background-color: var(--u-outlined-icon-button-selected-background-color, var(--u-color-inverse-surface, rgb(50, 47, 53)));\n color: var(--u-outlined-icon-button-selected-text-color, var(--u-color-on-inverse-surface, rgb(245, 239, 247)));\n }\n\n :host([selected][variant=standard]) {\n color: var(--u-standard-icon-button-selected-text-color, var(--_color-primary));\n background-color: var(--u-standard-icon-button-selected-background-color, transparent);\n }\n\n :host([disabled][variant=outlined]) {\n background-color: transparent !important;\n border-color: var(--u-outlined-icon-button-disabled-border-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-outlined-icon-button-disabled-border-opacity, 0.12))) !important;\n }\n`"
2110
+ "default": "css `\n :host {\n --_icon-button-size: var(--u-icon-button-size, 2.5rem);\n --_color-surface-container-highest: var(--u-color-surface-container-highest, rgb(230, 224, 233));\n width: var(--_icon-button-size);\n height: var(--_icon-button-size);\n border-radius: var(--u-icon-button-shape-corner, 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 }\n\n .icon {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: var(--u-icon-button-icon-size, 1.5rem);\n }\n .icon.icon-selected {\n display: none;\n }\n\n :host([selected][has-selection-icon]) .icon:not(.icon-selected) {\n display: none;\n }\n :host([selected][has-selection-icon]) .icon.icon-selected {\n display: inline-block;\n }\n\n :host([variant=filled]) {\n background-color: var(--u-filled-icon-button-unselected-background-color, var(--_color-surface-container-highest));\n color: var(--u-filled-icon-button-unselected-text-color, var(--_color-primary));\n }\n\n :host([variant=tonal]) {\n background-color: var(--u-total-icon-button-unselected-background-color, var(--_color-surface-container-highest));\n color: var(--u-tonal-icon-button-unselected-text-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n :host([selected][variant=filled]),\n :host([variant=filled]:not([has-selection-icon])) {\n background-color: var(--u-filled-icon-button-background-color, var(--_color-primary));\n color: var(--u-filled-icon-button-text-color, var(--u-color-on-primary, rgb(255, 255, 255)));\n }\n\n :host([selected][variant=tonal]),\n :host([variant=tonal]:not([has-selection-icon])) {\n background-color: var(--u-tonal-icon-button-background-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n color: var(--u-tonal-icon-button-text-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n }\n\n :host([variant=standard]),\n :host([variant=outlined]) {\n color: var(--u-standard-icon-button-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n :host([variant=outlined]) {\n border: 1px solid var(--u-color-outline, rgb(121, 116, 126));\n color: var(--u-outlined-icon-button-color, var(--u-standard-icon-button-color, var(--u-color-on-surface-variant, rgb(73, 69, 79))));\n }\n\n :host([selected][variant=outlined]) {\n border: none;\n background-color: var(--u-outlined-icon-button-selected-background-color, var(--u-color-inverse-surface, rgb(50, 47, 53)));\n color: var(--u-outlined-icon-button-selected-text-color, var(--u-color-on-inverse-surface, rgb(245, 239, 247)));\n }\n\n :host([selected][variant=standard]) {\n color: var(--u-standard-icon-button-selected-text-color, var(--_color-primary));\n background-color: var(--u-standard-icon-button-selected-background-color, transparent);\n }\n\n :host([disabled][variant=outlined]) {\n background-color: transparent !important;\n border-color: var(--u-outlined-icon-button-disabled-border-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-outlined-icon-button-disabled-border-opacity, 0.12))) !important;\n }\n`"
2090
2111
  }
2091
2112
  ],
2092
2113
  "exports": [
@@ -3583,7 +3604,7 @@
3583
3604
  {
3584
3605
  "kind": "variable",
3585
3606
  "name": "styles",
3586
- "default": "css `\n :host {\n display: flex;\n gap: 8px;\n align-items: center;\n flex-wrap: nowrap;\n }\n\n :host([alignment=start]) {\n justify-content: flex-start;\n }\n\n :host([alignment=center]) {\n justify-content: center;\n }\n\n :host([alignment=end]) {\n justify-content: flex-end;\n }\n\n :host {\n flex-wrap: wrap;\n }\n`"
3607
+ "default": "css `\n :host {\n flex-wrap: wrap;\n }\n`"
3587
3608
  }
3588
3609
  ],
3589
3610
  "exports": [
@@ -3671,7 +3692,7 @@
3671
3692
  {
3672
3693
  "kind": "variable",
3673
3694
  "name": "styles",
3674
- "default": "css `\n :host,\n * {\n --_focus-ring-outline-offset: var(--u-focus-ring-outline-offset, 2px);\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n box-sizing: border-box;\n outline: 0;\n }\n\n :host(.force-focus-ring) .focus-ring,\n .focus-ring:focus-visible {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: var(--_focus-ring-outline-offset);\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_color-primary);\n }\n 50% {\n outline: 6px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n :host {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n -webkit-tap-highlight-color: transparent;\n --u-elevation-level: 0;\n position: relative;\n display: inline-block;\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n appearance: none !important;\n }\n\n :host([disabled]) {\n --u-elevation-level: 0 !important;\n background-color: var(--u-button-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-background-opacity, 0.12))) !important;\n color: var(--u-button-disabled-text-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-color, 0.38))) !important;\n }\n\n :host([disabled]) .button {\n cursor: default;\n }\n\n * {\n color: inherit;\n }\n\n u-elevation {\n z-index: -1;\n }\n\n .button {\n cursor: pointer;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100%;\n height: 100%;\n font-family: inherit;\n border-radius: inherit;\n color: inherit;\n border: none;\n margin: 0;\n padding: 0;\n text-align: center;\n white-space: nowrap;\n background: transparent;\n user-select: none;\n text-decoration: none;\n outline: 0;\n z-index: 0;\n }\n\n .content {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n border-radius: inherit;\n width: 100%;\n height: 100%;\n }\n\n :host {\n --_height: var(--u-chip-height, 32px);\n --_outline-width: var(--u-chip-outline-width, 1px);\n --_outline-color: var(--u-chip-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n --_shape: var(--u-chip-shape, var(--u-shape-corner-small, 8px));\n --_gap: var(--u-chip-gap, 8px);\n --_icon-size: var(--u-chip-icon-size, 1.125rem);\n --_remove-button-margin: var(--u-chip-remove-button-margin, 2px);\n --_remove-button-size: calc(var(--_height) - var(--_remove-button-margin) * 2);\n --_selected-icon-color: var(--u-chip-selected-icon-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n display: inline-block;\n height: var(--_height);\n border-radius: var(--_shape);\n }\n\n :host(:not([disabled]):not([elevated]):not([selected])) .outline {\n border: var(--_outline-width) solid var(--_outline-color);\n }\n\n :host([elevated]:not([disabled])) {\n --u-elevation-level: var(--u-elevated-chip-elevation-level, 1);\n }\n\n @media (hover: hover) {\n :host([elevated]:not([disabled]):hover) {\n --u-elevation-level: var(--u-elevated-chip-hover-elevation-level, 2);\n }\n }\n .outline {\n position: absolute;\n inset: 0;\n border-radius: inherit;\n pointer-events: none;\n }\n\n .container {\n display: flex;\n align-items: center;\n border-radius: inherit;\n height: 100%;\n padding-inline: var(--u-chip-padding, 16px);\n gap: var(--_gap);\n }\n\n .icon {\n width: var(--_icon-size);\n height: var(--_icon-size);\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: var(--_icon-size);\n }\n\n .leading {\n color: var(--u-chip-leading-icon-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n .selected {\n color: var(--_selected-icon-color);\n }\n\n .trailing {\n color: var(--u-chip-trailing-icon-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n .label {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-chip-label-line-height, var(--u-label-l-line-height, 1.25rem));\n font-size: var(--u-chip-label-font-size, var(--u-label-l-font-size, 0.875rem));\n letter-spacing: var(--u-chip-label-letter-spacing, var(--u-label-l-letter-spacing, 0.0071428571rem));\n font-weight: var(--u-chip-label-font-weight, var(--u-label-l-font-weight, var(--u-font-weight-medium, 500)));\n }\n\n .remove-button {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: var(--_remove-button-size);\n height: var(--_remove-button-size);\n cursor: pointer;\n padding: 0;\n margin: 0;\n margin-inline: calc((var(--_remove-button-size) - var(--_icon-size)) * -0.5);\n background: gray;\n border: none;\n border-radius: var(--u-chip-remove-button-border-radius, var(--u-shape-corner-full, 9999px));\n background: none;\n appearance: none;\n outline: 0;\n outline-offset: 0;\n z-index: 1;\n }\n\n ::slotted([slot=remove-icon]),\n ::slotted([slot=selected-icon]),\n ::slotted([slot=leading-icon]),\n ::slotted([slot=trailing-icon]) {\n font-size: inherit !important;\n }\n\n slot[name=selected-icon] {\n display: none;\n }\n\n :host(:not([clickable]):not([toggle])) .button {\n cursor: auto;\n }\n\n :host([selected]:not([hide-selected-icon])) .leading {\n display: none;\n }\n :host([selected]:not([hide-selected-icon])) slot[name=selected-icon] {\n display: contents;\n }\n\n .default-select-icon {\n display: contents;\n }\n\n :host([has-selected-icon]) .default-select-icon {\n display: none;\n }\n\n :host([selected]:not([disabled])) {\n background-color: var(--u-chip-selected-background-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n }\n :host([selected]:not([disabled])) .leading {\n color: var(--u-chip-selected-leading-icon-color, var(--_selected-icon-color));\n }\n :host([selected]:not([disabled])) .trailing {\n color: var(--u-chip-selected-trailing-icon-color, var(--_selected-icon-color));\n }\n\n :host([has-leading-icon]) .container,\n :host([selected]:not([hide-selected-icon])) .container {\n padding-inline-start: var(--_gap);\n }\n\n :host([has-trailing-icon]) .container,\n :host([removable]) .container {\n padding-inline-end: var(--_gap);\n }\n\n :host(:not([has-leading-icon])) .leading {\n display: none;\n }\n\n :host([hide-selected-icon]) .selected,\n :host(:not([selected])) .selected {\n display: none;\n }\n\n :host(:not([has-trailing-icon])) .trailing {\n display: none;\n }\n\n [part=default-selected-icon] {\n display: contents;\n }\n`"
3695
+ "default": "css `\n :host {\n --_height: var(--u-chip-height, 32px);\n --_outline-width: var(--u-chip-outline-width, 1px);\n --_outline-color: var(--u-chip-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n --_shape: var(--u-chip-shape, var(--u-shape-corner-small, 8px));\n --_gap: var(--u-chip-gap, 8px);\n --_icon-size: var(--u-chip-icon-size, 1.125rem);\n --_remove-button-margin: var(--u-chip-remove-button-margin, 2px);\n --_remove-button-size: calc(var(--_height) - var(--_remove-button-margin) * 2);\n --_selected-icon-color: var(--u-chip-selected-icon-color, var(--u-color-on-secondary-container, rgb(29, 25, 43)));\n display: inline-block;\n height: var(--_height);\n border-radius: var(--_shape);\n }\n\n :host(:not([disabled]):not([elevated]):not([selected])) .outline {\n border: var(--_outline-width) solid var(--_outline-color);\n }\n\n :host([elevated]:not([disabled])) {\n --u-elevation-level: var(--u-elevated-chip-elevation-level, 1);\n }\n\n @media (hover: hover) {\n :host([elevated]:not([disabled]):hover) {\n --u-elevation-level: var(--u-elevated-chip-hover-elevation-level, 2);\n }\n }\n .outline {\n position: absolute;\n inset: 0;\n border-radius: inherit;\n pointer-events: none;\n }\n\n .container {\n display: flex;\n align-items: center;\n border-radius: inherit;\n height: 100%;\n padding-inline: var(--u-chip-padding, 16px);\n gap: var(--_gap);\n }\n\n .icon {\n width: var(--_icon-size);\n height: var(--_icon-size);\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: var(--_icon-size);\n }\n\n .leading {\n color: var(--u-chip-leading-icon-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n .selected {\n color: var(--_selected-icon-color);\n }\n\n .trailing {\n color: var(--u-chip-trailing-icon-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n .label {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-chip-label-line-height, var(--u-label-l-line-height, 1.25rem));\n font-size: var(--u-chip-label-font-size, var(--u-label-l-font-size, 0.875rem));\n letter-spacing: var(--u-chip-label-letter-spacing, var(--u-label-l-letter-spacing, 0.0071428571rem));\n font-weight: var(--u-chip-label-font-weight, var(--u-label-l-font-weight, var(--u-font-weight-medium, 500)));\n }\n\n .remove-button {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: var(--_remove-button-size);\n height: var(--_remove-button-size);\n cursor: pointer;\n padding: 0;\n margin: 0;\n margin-inline: calc((var(--_remove-button-size) - var(--_icon-size)) * -0.5);\n background: gray;\n border: none;\n border-radius: var(--u-chip-remove-button-border-radius, var(--u-shape-corner-full, 9999px));\n background: none;\n appearance: none;\n outline: 0;\n outline-offset: 0;\n z-index: 1;\n }\n\n ::slotted([slot=remove-icon]),\n ::slotted([slot=selected-icon]),\n ::slotted([slot=leading-icon]),\n ::slotted([slot=trailing-icon]) {\n font-size: inherit !important;\n }\n\n slot[name=selected-icon] {\n display: none;\n }\n\n :host(:not([clickable]):not([toggle])) .button {\n cursor: auto;\n }\n\n :host([selected]:not([hide-selected-icon])) .leading {\n display: none;\n }\n :host([selected]:not([hide-selected-icon])) slot[name=selected-icon] {\n display: contents;\n }\n\n .default-select-icon {\n display: contents;\n }\n\n :host([has-selected-icon]) .default-select-icon {\n display: none;\n }\n\n :host([selected]:not([disabled])) {\n background-color: var(--u-chip-selected-background-color, var(--u-color-secondary-container, rgb(232, 222, 248)));\n }\n :host([selected]:not([disabled])) .leading {\n color: var(--u-chip-selected-leading-icon-color, var(--_selected-icon-color));\n }\n :host([selected]:not([disabled])) .trailing {\n color: var(--u-chip-selected-trailing-icon-color, var(--_selected-icon-color));\n }\n\n :host([has-leading-icon]) .container,\n :host([selected]:not([hide-selected-icon])) .container {\n padding-inline-start: var(--_gap);\n }\n\n :host([has-trailing-icon]) .container,\n :host([removable]) .container {\n padding-inline-end: var(--_gap);\n }\n\n :host(:not([has-leading-icon])) .leading {\n display: none;\n }\n\n :host([hide-selected-icon]) .selected,\n :host(:not([selected])) .selected {\n display: none;\n }\n\n :host(:not([has-trailing-icon])) .trailing {\n display: none;\n }\n\n [part=default-selected-icon] {\n display: contents;\n }\n`"
3675
3696
  }
3676
3697
  ],
3677
3698
  "exports": [
@@ -4831,6 +4852,20 @@
4831
4852
  "name": "UmFieldBase",
4832
4853
  "module": "src/field/field-base.ts"
4833
4854
  }
4855
+ },
4856
+ {
4857
+ "kind": "method",
4858
+ "name": "renderDefaultTrailingIcon",
4859
+ "privacy": "protected",
4860
+ "return": {
4861
+ "type": {
4862
+ "text": "TemplateResult | typeof nothing"
4863
+ }
4864
+ },
4865
+ "inheritedFrom": {
4866
+ "name": "UmFieldBase",
4867
+ "module": "src/field/field-base.ts"
4868
+ }
4834
4869
  }
4835
4870
  ],
4836
4871
  "events": [
@@ -5966,7 +6001,7 @@
5966
6001
  {
5967
6002
  "kind": "variable",
5968
6003
  "name": "styles",
5969
- "default": "css `\n :host {\n --_control-line-height: var(--u-field-control-line-height, 1.5rem);\n --_label-line-height: var(--u-field-label-line-height, 1rem);\n --_field-icon-size: var(--u-field-icon-size, 1.5rem);\n --_field-control-padding: var(--u-field-control-padding, 16px);\n --_field-control-inline-padding: var(--u-field-control-inline-padding, var(--_field-control-padding));\n --_field-control-block-padding: var(--u-field-control-block-padding, var(--_field-control-padding));\n --_field-min-height: var(--u-field-min-height, 56px);\n --_field-placeholder-color: var(--u-field-placeholder-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n --_disabled-color: var(--u-field-disabled-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-field-disabled-opacity, .38)));\n --_disabled-background-color: var(--u-filled-field-disabled-background-color, rgba(var(--u-color-on-surface-rgb, ), var(--u-filled-field-background-disabled-opacity, .12)));\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n --_color-error: var(--u-field-error-color, var(--u-color-error, rgb(179, 38, 30)));\n --_active-indicator-opacity: 1;\n --_vertical-padding: var(--u-field-vertical-padding, 8px);\n --_icon-size: var(--u-field-icon-size, 1.5rem);\n --_icon-padding: var(--u-field-icon-padding, 12px);\n --_icon-color: var(--u-icon-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n --_focus-border-width: var(--u-text-field-focus-border-width, 2px);\n --_field-control-leading-padding: var(--_field-control-inline-padding);\n --_outlined-label-margin: var(--u-outlined-field-label-margin, 12px);\n --_outlined-label-padding: var(--u-outlined-field-label-padding, 4px);\n --u-label-input-start: auto;\n --u-label-input-span-leading-offset: 0;\n --u-label-input-span-trailing-offset: 0;\n --u-text-field-horizontal-padding: 12px;\n display: block;\n }\n\n .container {\n display: flex;\n align-items: center;\n position: relative;\n }\n .container::before, .container::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n pointer-events: none;\n }\n .container::before {\n background: var(--u-color-on-surface, rgb(29, 27, 32));\n transition: opacity 150ms;\n opacity: 0;\n }\n .container::after {\n border-width: var(--u-field-border-width, 1px);\n border-color: var(--u-field-border-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n @media (hover: hover) {\n :host(:not([disabled]):not([invalid]):hover) .container.filled::before {\n opacity: var(--u-state-hover-opacity, 0.08);\n }\n :host(:not([disabled]):not([invalid]):not(:focus-within):hover) .container::after {\n border-color: var(--u-field-hover-border-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n }\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: var(--_icon-size);\n color: var(--_icon-color);\n font-size: var(--_icon-size);\n line-height: var(--_icon-size);\n }\n .icon::slotted(*) {\n flex-shrink: 0;\n }\n\n .leading-icon {\n margin-inline-start: var(--_icon-padding);\n }\n\n .trailing-icon {\n margin-inline-end: var(--_icon-padding);\n }\n\n .label {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-field-label-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-field-label-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-field-label-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-field-label-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n font-size: var(--u-field-label-font-size, var(--u-body-s-font-size, 0.75rem));\n display: block;\n position: absolute;\n inset-inline-start: var(--_field-control-leading-padding);\n margin-bottom: 0;\n line-height: var(--_label-line-height);\n color: var(--u-field-label-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n transition: inset 200ms, font-size 200ms;\n }\n\n .input-wrapper {\n display: flex;\n align-items: center;\n flex: 1;\n padding-block: var(--_vertical-padding);\n padding-inline: var(--_field-control-inline-padding);\n min-height: var(--_field-min-height);\n transition: opacity 150ms;\n }\n\n .input {\n color: var(--u-field-input-text-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n flex: 1;\n }\n .input:focus {\n outline: 0;\n }\n .input select,\n .input input,\n .input ::slotted(*) {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-field-control-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-field-control-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-field-control-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-field-control-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n display: block;\n width: 100%;\n color: var(--u-field-input-text-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n min-height: var(--_control-line-height);\n line-height: var(--_control-line-height);\n padding: 0;\n margin: 0;\n appearance: none;\n background: transparent;\n border: none;\n outline: 0 !important;\n }\n .input,\n .input ::slotted(select),\n .input ::slotted(:is(input, textarea))::placeholder {\n transition: color 150ms 100ms;\n }\n .input ::slotted(:is(input, textarea))::placeholder {\n color: var(--_field-placeholder-color);\n }\n\n .supporting-text {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-field-supporting-text-line-height, var(--u-body-s-line-height, 1rem));\n font-size: var(--u-field-supporting-text-font-size, var(--u-body-s-font-size, 0.75rem));\n letter-spacing: var(--u-field-supporting-text-letter-spacing, var(--u-body-s-letter-spacing, 0.0333333333rem));\n font-weight: var(--u-field-supporting-text-font-weight, var(--u-body-s-font-weight, var(--u-font-weight-regular, 400)));\n display: flex;\n color: var(--u-field-supporting-text, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n padding-inline: 16px;\n gap: 16px;\n }\n .supporting-text div:empty {\n display: none;\n }\n .supporting-text div,\n .supporting-text ::slotted(*) {\n display: inline-block;\n margin-top: 4px;\n }\n\n .error-text {\n display: none;\n }\n\n .counter div, .counter::slotted(*) {\n margin-inline-start: auto;\n }\n\n :host([has-leading-icon]) {\n --_field-control-leading-padding: calc(var(--_icon-padding) + var(--_icon-size) + var(--_field-control-inline-padding)) ;\n }\n\n :host(:not([has-leading-icon])) .leading-icon {\n display: none;\n }\n\n :host(:not([has-trailing-icon])) .trailing-icon {\n display: none;\n }\n\n :host(:focus-within) {\n --u-field-border-width: var(--_focus-border-width);\n }\n :host(:focus-within) .container::after {\n border-color: var(--u-field-focused-border-color, var(--_color-primary));\n }\n :host(:focus-within) .label {\n color: var(--u-field-label-focused-color, var(--_color-primary));\n }\n\n :host([invalid]) .container::after {\n border-color: var(--u-field-error-border-color, var(--_color-error));\n }\n :host([invalid]) .label {\n color: var(--u-field-label-error-color, var(--_color-error));\n }\n :host([invalid]) .supporting-text {\n color: var(--u-field-supporting-text-error-color, var(--_color-error));\n }\n :host([invalid]) .trailing-icon {\n color: var(--u-field-trailing-icon-error-color, var(--_color-error));\n }\n :host([invalid]) .leading-icon {\n color: var(--u-field-leading-icon-error-color, var(--_icon-color));\n }\n\n :host([invalid]) .supporting-text:has(.error-text div:not(:empty)) .error-text,\n :host([invalid][has-error-text]) .error-text {\n display: contents;\n }\n :host([invalid]) .supporting-text:has(.error-text div:not(:empty)) slot[name=supporting-text],\n :host([invalid][has-error-text]) slot[name=supporting-text] {\n display: none;\n }\n\n .container.filled {\n border-radius: var(--u-field-filled-border-radius, 4px 4px 0 0);\n background-color: var(--u-color-surface-container-highest, rgb(230, 224, 233));\n }\n .container.filled::after {\n border-bottom-style: solid;\n }\n .container.filled:not(.no-label) .input-wrapper {\n padding-top: calc(var(--_vertical-padding) + var(--_label-line-height));\n padding-bottom: var(--_vertical-padding);\n }\n .container.filled .label {\n top: var(--_vertical-padding);\n }\n .container.filled .input ::slotted(:is(input, textarea, select, button)) {\n display: block;\n }\n .container.outlined::after {\n --_mid-point: calc(var(--u-field-label-half-width) + var(--_outlined-label-margin) + var(--_outlined-label-padding));\n border-radius: var(--u-outlined-field-shape-corder, var(--u-shape-corner-small, 8px));\n border-style: solid;\n clip-path: polygon(0 0, var(--_mid-point) 0, var(--_mid-point) var(--_focus-border-width), var(--_mid-point) var(--_focus-border-width), var(--_mid-point) 0, 100% 0, 100% 100%, 0 100%);\n transition: clip-path 100ms;\n }\n .container.outlined .label {\n top: calc(var(--_label-line-height) / -2);\n }\n\n .container.outlined:focus-within::after,\n :host(:not([empty])) .container.outlined::after {\n --_end-point: calc(var(--u-field-label-width) + var(--_outlined-label-margin) + (var(--_outlined-label-padding) * 2));\n clip-path: polygon(0 0, var(--_outlined-label-margin) 0, var(--_outlined-label-margin) var(--_focus-border-width), var(--_end-point) var(--_focus-border-width), var(--_end-point) 0, 100% 0, 100% 100%, 0 100%);\n }\n .container.outlined:focus-within .label,\n :host(:not([empty])) .container.outlined .label {\n inset-inline-start: calc(var(--_outlined-label-margin) + var(--_outlined-label-padding));\n }\n\n :host([empty]) ::slotted(select) {\n color: var(--_field-placeholder-color);\n }\n\n :host([empty]:not(:focus-within)) .label {\n font-size: var(--u-field-label-font-size, var(--u-body-l-font-size, 1rem));\n pointer-events: none;\n top: calc(var(--_field-min-height) / 2 - var(--_label-line-height) / 2);\n }\n :host([empty]:not(:focus-within)) .input-wrapper {\n opacity: 0;\n }\n :host([empty]:not(:focus-within)) .input,\n :host([empty]:not(:focus-within)) ::slotted(:is(input, textarea))::placeholder,\n :host([empty]:not(:focus-within)) ::slotted(select) {\n color: transparent;\n transition: color 150ms;\n }\n\n .container.no-label::after {\n clip-path: none !important;\n }\n\n :host([disabled]) .container .filled {\n background-color: var(--u-filled-field-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-filled-field-background-disabled-opacity, 0.04)));\n }\n :host([disabled]) .container::after {\n border-color: var(--u-field-disabled-border-color, var(--_disabled-color));\n }\n :host([disabled]) .supporting-text {\n color: var(--u-field-supporting-text-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .label {\n color: var(--u-field-label-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .input select,\n :host([disabled]) .input select::placeholder,\n :host([disabled]) .input input,\n :host([disabled]) .input input::placeholder,\n :host([disabled]) .input ::slotted(*),\n :host([disabled]) .input ::slotted(:is(input, textarea))::placeholder {\n color: var(--u-field-input-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .trailing-icon {\n color: var(--u-field-trailing-icon-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .leading-icon {\n color: var(--u-field-leading-icon-disabled-color, var(--_disabled-color));\n }\n`"
6004
+ "default": "css `\n :host {\n --_control-line-height: var(--u-field-control-line-height, 1.5rem);\n --_label-line-height: var(--u-field-label-line-height, 1rem);\n --_field-icon-size: var(--u-field-icon-size, 1.5rem);\n --_field-control-padding: var(--u-field-control-padding, 16px);\n --_field-control-inline-padding: var(--u-field-control-inline-padding, var(--_field-control-padding));\n --_field-control-block-padding: var(--u-field-control-block-padding, var(--_field-control-padding));\n --_field-min-height: var(--u-field-min-height, 56px);\n --_field-placeholder-color: var(--u-field-placeholder-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n --_disabled-color: var(--u-field-disabled-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-field-disabled-opacity, .38)));\n --_disabled-background-color: var(--u-filled-field-disabled-background-color, rgba(var(--u-color-on-surface-rgb, ), var(--u-filled-field-background-disabled-opacity, .12)));\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n --_color-error: var(--u-field-error-color, var(--u-color-error, rgb(179, 38, 30)));\n --_active-indicator-opacity: 1;\n --_vertical-padding: var(--u-field-vertical-padding, 8px);\n --_icon-size: var(--u-field-icon-size, 1.5rem);\n --_icon-padding: var(--u-field-icon-padding, 12px);\n --_icon-color: var(--u-icon-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n --_focus-border-width: var(--u-text-field-focus-border-width, 2px);\n --_field-control-leading-padding: var(--_field-control-inline-padding);\n --_outlined-label-margin: var(--u-outlined-field-label-margin, 12px);\n --_outlined-label-padding: var(--u-outlined-field-label-padding, 4px);\n --u-label-input-start: auto;\n --u-label-input-span-leading-offset: 0;\n --u-label-input-span-trailing-offset: 0;\n --u-text-field-horizontal-padding: 12px;\n display: block;\n }\n\n .container {\n display: flex;\n align-items: center;\n position: relative;\n }\n .container::before, .container::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n pointer-events: none;\n }\n .container::before {\n background: var(--u-color-on-surface, rgb(29, 27, 32));\n transition: opacity 150ms;\n opacity: 0;\n }\n .container::after {\n border-width: var(--u-field-border-width, 1px);\n border-color: var(--u-field-border-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n @media (hover: hover) {\n :host(:not([disabled]):not([invalid]):hover) .container.filled::before {\n opacity: var(--u-state-hover-opacity, 0.08);\n }\n :host(:not([disabled]):not([invalid]):not(:focus-within):hover) .container::after {\n border-color: var(--u-field-hover-border-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n }\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: var(--_icon-size);\n color: var(--_icon-color);\n font-size: var(--_icon-size);\n line-height: var(--_icon-size);\n }\n .icon::slotted(*) {\n flex-shrink: 0;\n }\n\n .leading-icon {\n margin-inline-start: var(--_icon-padding);\n }\n\n .trailing-icon {\n margin-inline-end: var(--_icon-padding);\n }\n\n .label {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-field-label-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-field-label-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-field-label-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-field-label-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n font-size: var(--u-field-label-font-size, var(--u-body-s-font-size, 0.75rem));\n display: block;\n position: absolute;\n inset-inline-start: var(--_field-control-leading-padding);\n margin-bottom: 0;\n line-height: var(--_label-line-height);\n color: var(--u-field-label-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n transition: inset 200ms, font-size 200ms;\n }\n\n .input-wrapper {\n display: flex;\n align-items: center;\n flex: 1;\n padding-block: var(--_vertical-padding);\n padding-inline: var(--_field-control-inline-padding);\n min-height: var(--_field-min-height);\n transition: opacity 150ms;\n }\n\n .input {\n color: var(--u-field-input-text-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n flex: 1;\n }\n .input:focus {\n outline: 0;\n }\n .input select,\n .input input,\n .input ::slotted(*) {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-field-control-line-height, var(--u-body-l-line-height, 1.5rem));\n font-size: var(--u-field-control-font-size, var(--u-body-l-font-size, 1rem));\n letter-spacing: var(--u-field-control-letter-spacing, var(--u-body-l-letter-spacing, 0.03125rem));\n font-weight: var(--u-field-control-font-weight, var(--u-body-l-font-weight, var(--u-font-weight-regular, 400)));\n display: block;\n width: 100%;\n color: var(--u-field-input-text-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n min-height: var(--_control-line-height);\n line-height: var(--_control-line-height);\n padding: 0;\n margin: 0;\n appearance: none;\n background: transparent;\n border: none;\n outline: 0 !important;\n }\n .input,\n .input ::slotted(select),\n .input ::slotted(:is(input, textarea))::placeholder {\n transition: color 150ms 100ms;\n }\n .input ::slotted(:is(input, textarea))::placeholder {\n color: var(--_field-placeholder-color);\n }\n\n .supporting-text {\n font-family: var(--u-font-family, var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n line-height: var(--u-field-supporting-text-line-height, var(--u-body-s-line-height, 1rem));\n font-size: var(--u-field-supporting-text-font-size, var(--u-body-s-font-size, 0.75rem));\n letter-spacing: var(--u-field-supporting-text-letter-spacing, var(--u-body-s-letter-spacing, 0.0333333333rem));\n font-weight: var(--u-field-supporting-text-font-weight, var(--u-body-s-font-weight, var(--u-font-weight-regular, 400)));\n display: flex;\n color: var(--u-field-supporting-text, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n padding-inline: 16px;\n gap: 16px;\n }\n .supporting-text div:empty {\n display: none;\n }\n .supporting-text div,\n .supporting-text ::slotted(*) {\n display: inline-block;\n margin-top: 4px;\n }\n\n .error-text {\n display: none;\n }\n\n .counter div, .counter::slotted(*) {\n margin-inline-start: auto;\n }\n\n :host([has-leading-icon]) {\n --_field-control-leading-padding: calc(var(--_icon-padding) + var(--_icon-size) + var(--_field-control-inline-padding)) ;\n }\n\n :host(:not([has-leading-icon])) .leading-icon {\n display: none;\n }\n\n :host(:not([has-trailing-icon])) .container:has(slot[name=trailing-icon] span:empty) .trailing-icon {\n display: none;\n }\n\n :host(:focus-within) {\n --u-field-border-width: var(--_focus-border-width);\n }\n :host(:focus-within) .container::after {\n border-color: var(--u-field-focused-border-color, var(--_color-primary));\n }\n :host(:focus-within) .label {\n color: var(--u-field-label-focused-color, var(--_color-primary));\n }\n\n :host([invalid]) .container::after {\n border-color: var(--u-field-error-border-color, var(--_color-error));\n }\n :host([invalid]) .label {\n color: var(--u-field-label-error-color, var(--_color-error));\n }\n :host([invalid]) .supporting-text {\n color: var(--u-field-supporting-text-error-color, var(--_color-error));\n }\n :host([invalid]) .trailing-icon {\n color: var(--u-field-trailing-icon-error-color, var(--_color-error));\n }\n :host([invalid]) .leading-icon {\n color: var(--u-field-leading-icon-error-color, var(--_icon-color));\n }\n\n :host([invalid]) .supporting-text:has(.error-text div:not(:empty)) .error-text,\n :host([invalid][has-error-text]) .error-text {\n display: contents;\n }\n :host([invalid]) .supporting-text:has(.error-text div:not(:empty)) slot[name=supporting-text],\n :host([invalid][has-error-text]) slot[name=supporting-text] {\n display: none;\n }\n\n .container.filled {\n border-radius: var(--u-field-filled-border-radius, 4px 4px 0 0);\n background-color: var(--u-color-surface-container-highest, rgb(230, 224, 233));\n }\n .container.filled::after {\n border-bottom-style: solid;\n }\n .container.filled:not(.no-label) .input-wrapper {\n padding-top: calc(var(--_vertical-padding) + var(--_label-line-height));\n padding-bottom: var(--_vertical-padding);\n }\n .container.filled .label {\n top: var(--_vertical-padding);\n }\n .container.filled .input ::slotted(:is(input, textarea, select, button)) {\n display: block;\n }\n .container.outlined::after {\n --_mid-point: calc(var(--u-field-label-half-width) + var(--_outlined-label-margin) + var(--_outlined-label-padding));\n border-radius: var(--u-outlined-field-shape-corder, var(--u-shape-corner-small, 8px));\n border-style: solid;\n clip-path: polygon(0 0, var(--_mid-point) 0, var(--_mid-point) var(--_focus-border-width), var(--_mid-point) var(--_focus-border-width), var(--_mid-point) 0, 100% 0, 100% 100%, 0 100%);\n transition: clip-path 100ms;\n }\n .container.outlined .label {\n top: calc(var(--_label-line-height) / -2);\n }\n\n .container.outlined:focus-within::after,\n :host(:not([empty])) .container.outlined::after {\n --_end-point: calc(var(--u-field-label-width) + var(--_outlined-label-margin) + (var(--_outlined-label-padding) * 2));\n clip-path: polygon(0 0, var(--_outlined-label-margin) 0, var(--_outlined-label-margin) var(--_focus-border-width), var(--_end-point) var(--_focus-border-width), var(--_end-point) 0, 100% 0, 100% 100%, 0 100%);\n }\n .container.outlined:focus-within .label,\n :host(:not([empty])) .container.outlined .label {\n inset-inline-start: calc(var(--_outlined-label-margin) + var(--_outlined-label-padding));\n }\n\n :host([empty]) ::slotted(select) {\n color: var(--_field-placeholder-color);\n }\n\n :host([empty]:not(:focus-within)) .label {\n font-size: var(--u-field-label-font-size, var(--u-body-l-font-size, 1rem));\n pointer-events: none;\n top: calc(var(--_field-min-height) / 2 - var(--_label-line-height) / 2);\n }\n :host([empty]:not(:focus-within)) .input-wrapper {\n opacity: 0;\n }\n :host([empty]:not(:focus-within)) .input,\n :host([empty]:not(:focus-within)) ::slotted(:is(input, textarea))::placeholder,\n :host([empty]:not(:focus-within)) ::slotted(select) {\n color: transparent;\n transition: color 150ms;\n }\n\n .container.no-label::after {\n clip-path: none !important;\n }\n\n :host([disabled]) .container .filled {\n background-color: var(--u-filled-field-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-filled-field-background-disabled-opacity, 0.04)));\n }\n :host([disabled]) .container::after {\n border-color: var(--u-field-disabled-border-color, var(--_disabled-color));\n }\n :host([disabled]) .supporting-text {\n color: var(--u-field-supporting-text-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .label {\n color: var(--u-field-label-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .input select,\n :host([disabled]) .input select::placeholder,\n :host([disabled]) .input input,\n :host([disabled]) .input input::placeholder,\n :host([disabled]) .input ::slotted(*),\n :host([disabled]) .input ::slotted(:is(input, textarea))::placeholder {\n color: var(--u-field-input-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .trailing-icon {\n color: var(--u-field-trailing-icon-disabled-color, var(--_disabled-color));\n }\n :host([disabled]) .leading-icon {\n color: var(--u-field-leading-icon-disabled-color, var(--_disabled-color));\n }\n`"
5970
6005
  }
5971
6006
  ],
5972
6007
  "exports": [
@@ -6220,6 +6255,16 @@
6220
6255
  "kind": "method",
6221
6256
  "name": "setLabelWidthProperties",
6222
6257
  "privacy": "private"
6258
+ },
6259
+ {
6260
+ "kind": "method",
6261
+ "name": "renderDefaultTrailingIcon",
6262
+ "privacy": "protected",
6263
+ "return": {
6264
+ "type": {
6265
+ "text": "TemplateResult | typeof nothing"
6266
+ }
6267
+ }
6223
6268
  }
6224
6269
  ],
6225
6270
  "attributes": [
@@ -6731,6 +6776,20 @@
6731
6776
  "name": "UmFieldBase",
6732
6777
  "module": "src/field/field-base.ts"
6733
6778
  }
6779
+ },
6780
+ {
6781
+ "kind": "method",
6782
+ "name": "renderDefaultTrailingIcon",
6783
+ "privacy": "protected",
6784
+ "return": {
6785
+ "type": {
6786
+ "text": "TemplateResult | typeof nothing"
6787
+ }
6788
+ },
6789
+ "inheritedFrom": {
6790
+ "name": "UmFieldBase",
6791
+ "module": "src/field/field-base.ts"
6792
+ }
6734
6793
  }
6735
6794
  ],
6736
6795
  "attributes": [
@@ -7046,7 +7105,7 @@
7046
7105
  {
7047
7106
  "kind": "variable",
7048
7107
  "name": "styles",
7049
- "default": "css `\n :host,\n * {\n --_focus-ring-outline-offset: var(--u-focus-ring-outline-offset, 2px);\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n box-sizing: border-box;\n outline: 0;\n }\n\n :host(.force-focus-ring) .focus-ring,\n .focus-ring:focus-visible {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: var(--_focus-ring-outline-offset);\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_color-primary);\n }\n 50% {\n outline: 6px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n :host {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n -webkit-tap-highlight-color: transparent;\n --u-elevation-level: 0;\n position: relative;\n display: inline-block;\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n appearance: none !important;\n }\n\n :host([disabled]) {\n --u-elevation-level: 0 !important;\n background-color: var(--u-button-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-background-opacity, 0.12))) !important;\n color: var(--u-button-disabled-text-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-color, 0.38))) !important;\n }\n\n :host([disabled]) .button {\n cursor: default;\n }\n\n * {\n color: inherit;\n }\n\n u-elevation {\n z-index: -1;\n }\n\n .button {\n cursor: pointer;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100%;\n height: 100%;\n font-family: inherit;\n border-radius: inherit;\n color: inherit;\n border: none;\n margin: 0;\n padding: 0;\n text-align: center;\n white-space: nowrap;\n background: transparent;\n user-select: none;\n text-decoration: none;\n outline: 0;\n z-index: 0;\n }\n\n .content {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n border-radius: inherit;\n width: 100%;\n height: 100%;\n }\n\n :host {\n display: block;\n --_menu-item-icon-size: var(--u-menu-item-icon-size, 1.125rem);\n --_menu-item-padding: var(--u-menu-item-padding, 12px);\n --u-focus-ring-outline-offset: -4px;\n height: var(--u-menu-item-height, 56px);\n padding-inline: var(--_menu-item-padding);\n color: var(--u-menu-item-label-color, var(--u-color-on-surface, rgb(29, 27, 32)));\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-menu-item-label-line-height, var(--u-label-l-line-height, 1.25rem));\n font-size: var(--u-menu-item-label-font-size, var(--u-label-l-font-size, 0.875rem));\n letter-spacing: var(--u-menu-item-label-letter-spacing, var(--u-label-l-letter-spacing, 0.0071428571rem));\n font-weight: var(--u-menu-item-label-font-weight, var(--u-label-l-font-weight, var(--u-font-weight-medium, 500)));\n }\n\n :host(:not([has-icon])) .icon {\n display: none;\n }\n\n .icon {\n font-size: var(--_menu-item-icon-size);\n line-height: var(--_menu-item-icon-size);\n margin-inline-end: var(--u-menu-item-icon-margin, 12px);\n color: var(--u-menu-item-label-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n .content {\n justify-content: flex-start;\n }\n\n :host(.force-focus-ring) .button,\n .button:focus-visible {\n border-radius: var(--u-spacing-small, 8px);\n }\n`"
7108
+ "default": "css `\n :host {\n display: block;\n --_menu-item-icon-size: var(--u-menu-item-icon-size, 1.5rem);\n --_menu-item-padding: var(--u-menu-item-padding, 12px);\n --u-focus-ring-outline-offset: -4px;\n height: var(--u-menu-item-height, 56px);\n padding-inline: var(--_menu-item-padding);\n color: var(--u-menu-item-label-color, var(--u-color-on-surface, rgb(29, 27, 32)));\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-menu-item-label-line-height, var(--u-label-l-line-height, 1.25rem));\n font-size: var(--u-menu-item-label-font-size, var(--u-label-l-font-size, 0.875rem));\n letter-spacing: var(--u-menu-item-label-letter-spacing, var(--u-label-l-letter-spacing, 0.0071428571rem));\n font-weight: var(--u-menu-item-label-font-weight, var(--u-label-l-font-weight, var(--u-font-weight-medium, 500)));\n }\n\n :host(:not([has-leading-icon])) .leading {\n display: none;\n }\n\n :host(:not([has-trailing-icon])) .trailing:has(slot[name=trailing-icon] span:empty) {\n display: none;\n }\n\n .icon {\n font-size: var(--_menu-item-icon-size);\n line-height: var(--_menu-item-icon-size);\n color: var(--u-menu-item-label-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n .content {\n justify-content: flex-start;\n gap: var(--u-menu-item-icon-margin, 12px);\n }\n\n :host(.force-focus-ring) .button,\n .button:focus-visible {\n border-radius: var(--u-spacing-small, 8px);\n }\n\n .label {\n flex: 1;\n max-width: 100%;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n`"
7050
7109
  }
7051
7110
  ],
7052
7111
  "exports": [
@@ -7090,33 +7149,36 @@
7090
7149
  },
7091
7150
  {
7092
7151
  "kind": "field",
7093
- "name": "hasIcon",
7152
+ "name": "hasLeadingIcon",
7094
7153
  "type": {
7095
7154
  "text": "boolean"
7096
7155
  },
7097
7156
  "default": "false",
7098
- "description": "Whether the drawer item has icon or not\n\n_Note:_ Readonly",
7099
- "attribute": "has-icon",
7157
+ "description": "Whether the menu item has leading icon or not\n\n_Note:_ Readonly",
7158
+ "attribute": "has-leading-icon",
7100
7159
  "reflects": true
7101
7160
  },
7102
7161
  {
7103
7162
  "kind": "field",
7104
- "name": "hasBadge",
7163
+ "name": "hasTrailingIcon",
7105
7164
  "type": {
7106
7165
  "text": "boolean"
7107
7166
  },
7108
7167
  "default": "false",
7109
- "description": "Whether the drawer item has badge or not\n\n_Note:_ Readonly",
7110
- "attribute": "has-badge",
7168
+ "description": "Whether the menu item has trailing icon or not\n\n_Note:_ Readonly",
7169
+ "attribute": "has-trailing-icon",
7111
7170
  "reflects": true
7112
7171
  },
7113
7172
  {
7114
7173
  "kind": "field",
7115
- "name": "assignedIcons",
7174
+ "name": "hasBadge",
7116
7175
  "type": {
7117
- "text": "HTMLElement[]"
7176
+ "text": "boolean"
7118
7177
  },
7119
- "privacy": "private"
7178
+ "default": "false",
7179
+ "description": "Whether the drawer item has badge or not\n\n_Note:_ Readonly",
7180
+ "attribute": "has-badge",
7181
+ "reflects": true
7120
7182
  },
7121
7183
  {
7122
7184
  "kind": "field",
@@ -7131,6 +7193,11 @@
7131
7193
  "module": "src/shared/button-wrapper.ts"
7132
7194
  }
7133
7195
  },
7196
+ {
7197
+ "kind": "field",
7198
+ "name": "#handleMouseEnter",
7199
+ "privacy": "private"
7200
+ },
7134
7201
  {
7135
7202
  "kind": "method",
7136
7203
  "name": "renderContent",
@@ -7147,8 +7214,37 @@
7147
7214
  },
7148
7215
  {
7149
7216
  "kind": "method",
7150
- "name": "handleIconSlotChange",
7151
- "privacy": "private"
7217
+ "name": "renderDefaultTrailingIcon",
7218
+ "privacy": "protected",
7219
+ "return": {
7220
+ "type": {
7221
+ "text": "TemplateResult | typeof nothing"
7222
+ }
7223
+ }
7224
+ },
7225
+ {
7226
+ "kind": "method",
7227
+ "name": "#handleLeadingIconSlotChange",
7228
+ "parameters": [
7229
+ {
7230
+ "name": "e",
7231
+ "type": {
7232
+ "text": "Event"
7233
+ }
7234
+ }
7235
+ ]
7236
+ },
7237
+ {
7238
+ "kind": "method",
7239
+ "name": "#handleTrailingIconSlotChange",
7240
+ "parameters": [
7241
+ {
7242
+ "name": "e",
7243
+ "type": {
7244
+ "text": "Event"
7245
+ }
7246
+ }
7247
+ ]
7152
7248
  },
7153
7249
  {
7154
7250
  "kind": "field",
@@ -7365,13 +7461,22 @@
7365
7461
  "fieldName": "active"
7366
7462
  },
7367
7463
  {
7368
- "name": "has-icon",
7464
+ "name": "has-leading-icon",
7369
7465
  "type": {
7370
7466
  "text": "boolean"
7371
7467
  },
7372
7468
  "default": "false",
7373
- "description": "Whether the drawer item has icon or not\n\n_Note:_ Readonly",
7374
- "fieldName": "hasIcon"
7469
+ "description": "Whether the menu item has leading icon or not\n\n_Note:_ Readonly",
7470
+ "fieldName": "hasLeadingIcon"
7471
+ },
7472
+ {
7473
+ "name": "has-trailing-icon",
7474
+ "type": {
7475
+ "text": "boolean"
7476
+ },
7477
+ "default": "false",
7478
+ "description": "Whether the menu item has trailing icon or not\n\n_Note:_ Readonly",
7479
+ "fieldName": "hasTrailingIcon"
7375
7480
  },
7376
7481
  {
7377
7482
  "name": "has-badge",
@@ -7465,7 +7570,7 @@
7465
7570
  {
7466
7571
  "kind": "variable",
7467
7572
  "name": "styles",
7468
- "default": "css `\n :host {\n --u-elevation-level: var(--u-menu-elevation-level, 2);\n display: block;\n width: 0;\n }\n\n :host([positioning=relative]) {\n position: relative;\n }\n\n :host([positioning=fixed]) {\n position: fixed;\n }\n\n .ref {\n position: absolute;\n inset-inline-start: 0;\n pointer-events: none;\n }\n\n .menu {\n position: absolute;\n display: flex;\n min-width: var(--u-menu-min-width, 112px);\n max-width: var(--u-menu-max-width, 280px);\n background: var(--u-menu-background-color, var(--u-color-surface-container, rgb(243, 237, 247)));\n border-radius: var(--u-menu-shape-corner, var(--u-shape-corner-extra-small, 4px));\n opacity: 0;\n transition: transform 350ms cubic-bezier(0.19, 1, 0.22, 1) 350ms, opacity 350ms;\n transform: scale3d(0, 0, 1);\n transform-origin: top;\n z-index: var(--u-menu-z-index, 1020);\n }\n .menu.up {\n transform: scale3d(1, 0, 0);\n transform-origin: bottom;\n }\n\n .content {\n width: 100%;\n padding-block: var(--u-menu-padding, 8px);\n opacity: 0;\n transition: opacity 1ms 400ms;\n overflow: auto;\n }\n\n :host([open]) .menu {\n opacity: 1;\n transition: transform 350ms cubic-bezier(0.19, 1, 0.22, 1), opacity 250ms;\n transform: scale3d(1, 1, 1);\n }\n :host([open]) .content {\n opacity: 1;\n transition: opacity 300ms 150ms;\n }\n`"
7573
+ "default": "css `\n :host {\n --u-elevation-level: var(--u-menu-elevation-level, 2);\n display: block;\n width: 0;\n }\n\n :host([positioning=relative]) {\n position: relative;\n }\n\n :host([positioning=fixed]) {\n position: fixed;\n }\n\n .ref {\n position: absolute;\n inset-inline-start: 0;\n pointer-events: none;\n }\n\n .menu {\n position: absolute;\n display: flex;\n min-width: var(--u-menu-min-width, 112px);\n max-width: var(--u-menu-max-width, 280px);\n background: var(--u-menu-background-color, var(--u-color-surface-container, rgb(243, 237, 247)));\n border-radius: var(--u-menu-shape-corner, var(--u-shape-corner-extra-small, 4px));\n opacity: 0;\n transition: transform 350ms cubic-bezier(0.19, 1, 0.22, 1) 350ms, opacity 350ms;\n transform: scale3d(0, 0, 1);\n transform-origin: top;\n z-index: var(--u-menu-z-index, 1020);\n }\n .menu.up {\n transform: scale3d(1, 0, 0);\n transform-origin: bottom;\n }\n\n .content {\n width: 100%;\n padding-block: var(--u-menu-padding, 8px);\n opacity: 0;\n transition: opacity 1ms 400ms;\n scroll-padding-block: 32px;\n overflow: auto;\n }\n\n :host([open]) .menu {\n opacity: 1;\n transition: transform 350ms cubic-bezier(0.19, 1, 0.22, 1), opacity 250ms;\n transform: scale3d(1, 1, 1);\n }\n :host([open]) .content {\n opacity: 1;\n transition: opacity 300ms 150ms;\n }\n`"
7469
7574
  }
7470
7575
  ],
7471
7576
  "exports": [
@@ -7497,15 +7602,6 @@
7497
7602
  },
7498
7603
  "default": "false"
7499
7604
  },
7500
- {
7501
- "kind": "field",
7502
- "name": "#justShow",
7503
- "privacy": "private",
7504
- "type": {
7505
- "text": "boolean"
7506
- },
7507
- "default": "false"
7508
- },
7509
7605
  {
7510
7606
  "kind": "field",
7511
7607
  "name": "open",
@@ -7582,6 +7678,13 @@
7582
7678
  "text": "HTMLElement"
7583
7679
  }
7584
7680
  },
7681
+ {
7682
+ "kind": "field",
7683
+ "name": "scrollContainer",
7684
+ "type": {
7685
+ "text": "HTMLElement"
7686
+ }
7687
+ },
7585
7688
  {
7586
7689
  "kind": "field",
7587
7690
  "name": "#anchorElement",
@@ -7940,7 +8043,7 @@
7940
8043
  {
7941
8044
  "kind": "variable",
7942
8045
  "name": "styles",
7943
- "default": "css `\n :host,\n * {\n --_focus-ring-outline-offset: var(--u-focus-ring-outline-offset, 2px);\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n box-sizing: border-box;\n outline: 0;\n }\n\n :host(.force-focus-ring) .focus-ring,\n .focus-ring:focus-visible {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: var(--_focus-ring-outline-offset);\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_color-primary);\n }\n 50% {\n outline: 6px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n :host {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n -webkit-tap-highlight-color: transparent;\n --u-elevation-level: 0;\n position: relative;\n display: inline-block;\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n appearance: none !important;\n }\n\n :host([disabled]) {\n --u-elevation-level: 0 !important;\n background-color: var(--u-button-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-background-opacity, 0.12))) !important;\n color: var(--u-button-disabled-text-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-color, 0.38))) !important;\n }\n\n :host([disabled]) .button {\n cursor: default;\n }\n\n * {\n color: inherit;\n }\n\n u-elevation {\n z-index: -1;\n }\n\n .button {\n cursor: pointer;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100%;\n height: 100%;\n font-family: inherit;\n border-radius: inherit;\n color: inherit;\n border: none;\n margin: 0;\n padding: 0;\n text-align: center;\n white-space: nowrap;\n background: transparent;\n user-select: none;\n text-decoration: none;\n outline: 0;\n z-index: 0;\n }\n\n .content {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n border-radius: inherit;\n width: 100%;\n height: 100%;\n }\n\n :host {\n display: block;\n --_drawer-item-icon-size: var(--u-drawer-item-icon-size, 1.125rem);\n --_drawer-item-padding: var(--u-drawer-item-padding, 16px);\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-drawer-item-line-height, var(--u-label-l-line-height, 1.25rem));\n font-size: var(--u-drawer-item-font-size, var(--u-label-l-font-size, 0.875rem));\n letter-spacing: var(--u-drawer-item-letter-spacing, var(--u-label-l-letter-spacing, 0.0071428571rem));\n font-weight: var(--u-drawer-item-font-weight, var(--u-label-l-font-weight, var(--u-font-weight-medium, 500)));\n height: var(--u-drawer-item-height, 56px);\n padding-inline: var(--_drawer-item-padding);\n margin-inline: calc(var(--_drawer-item-padding) * -1);\n border-radius: var(--u-drawer-item-shape-corner, var(--u-shape-corner-full, 9999px));\n color: var(--u-drawer-item-label-inactive-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n :host([active]) {\n color: var(--u-drawer-item-label-active-color, var(--_color-primary));\n }\n\n :host(:not([has-icon])) .icon,\n :host(:not([has-badge])) .badge {\n display: none;\n }\n\n .icon {\n font-size: var(--_drawer-item-icon-size);\n line-height: var(--_drawer-item-icon-size);\n margin-inline-end: var(--u-drawer-item-icon-margin, 16px);\n }\n\n .badge {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-inline-start: auto;\n padding-inline: var(--u-drawer-item-badge-padding, 12px 8px);\n }\n\n .content {\n justify-content: flex-start;\n }\n`"
8046
+ "default": "css `\n :host {\n display: block;\n --_drawer-item-icon-size: var(--u-drawer-item-icon-size, 1.125rem);\n --_drawer-item-padding: var(--u-drawer-item-padding, 16px);\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-drawer-item-line-height, var(--u-label-l-line-height, 1.25rem));\n font-size: var(--u-drawer-item-font-size, var(--u-label-l-font-size, 0.875rem));\n letter-spacing: var(--u-drawer-item-letter-spacing, var(--u-label-l-letter-spacing, 0.0071428571rem));\n font-weight: var(--u-drawer-item-font-weight, var(--u-label-l-font-weight, var(--u-font-weight-medium, 500)));\n height: var(--u-drawer-item-height, 56px);\n padding-inline: var(--_drawer-item-padding);\n margin-inline: calc(var(--_drawer-item-padding) * -1);\n border-radius: var(--u-drawer-item-shape-corner, var(--u-shape-corner-full, 9999px));\n color: var(--u-drawer-item-label-inactive-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n }\n\n :host([active]) {\n color: var(--u-drawer-item-label-active-color, var(--_color-primary));\n }\n\n :host(:not([has-icon])) .icon,\n :host(:not([has-badge])) .badge {\n display: none;\n }\n\n .icon {\n font-size: var(--_drawer-item-icon-size);\n line-height: var(--_drawer-item-icon-size);\n margin-inline-end: var(--u-drawer-item-icon-margin, 16px);\n }\n\n .badge {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-inline-start: auto;\n padding-inline: var(--u-drawer-item-badge-padding, 12px 8px);\n }\n\n .content {\n justify-content: flex-start;\n }\n`"
7944
8047
  }
7945
8048
  ],
7946
8049
  "exports": [
@@ -9809,12 +9912,12 @@
9809
9912
  },
9810
9913
  {
9811
9914
  "kind": "javascript-module",
9812
- "path": "src/select/option.styles.ts",
9915
+ "path": "src/shared/base.styles.ts",
9813
9916
  "declarations": [
9814
9917
  {
9815
9918
  "kind": "variable",
9816
9919
  "name": "styles",
9817
- "default": "css `\n\n`"
9920
+ "default": "css `\n :host,\n * {\n --_focus-ring-outline-offset: var(--u-focus-ring-outline-offset, 2px);\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n box-sizing: border-box;\n outline: 0;\n }\n\n :host(.force-focus-ring) .focus-ring,\n .focus-ring:focus-visible {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: var(--_focus-ring-outline-offset);\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_color-primary);\n }\n 50% {\n outline: 6px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n`"
9818
9921
  }
9819
9922
  ],
9820
9923
  "exports": [
@@ -9823,107 +9926,577 @@
9823
9926
  "name": "styles",
9824
9927
  "declaration": {
9825
9928
  "name": "styles",
9826
- "module": "src/select/option.styles.ts"
9929
+ "module": "src/shared/base.styles.ts"
9827
9930
  }
9828
9931
  }
9829
9932
  ]
9830
9933
  },
9831
9934
  {
9832
9935
  "kind": "javascript-module",
9833
- "path": "src/select/option.ts",
9936
+ "path": "src/shared/button-wrapper.styles.ts",
9937
+ "declarations": [
9938
+ {
9939
+ "kind": "variable",
9940
+ "name": "styles",
9941
+ "default": "css `\n :host {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n -webkit-tap-highlight-color: transparent;\n --u-elevation-level: 0;\n position: relative;\n display: inline-block;\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n appearance: none !important;\n }\n\n :host([disabled]) {\n --u-elevation-level: 0 !important;\n background-color: var(--u-button-disabled-background-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-background-opacity, 0.12))) !important;\n color: var(--u-button-disabled-text-color, rgba(var(--u-color-on-surface-rgb, 29, 27, 32), var(--u-button-disabled-color, 0.38))) !important;\n }\n\n :host([disabled]) .button {\n cursor: default;\n }\n\n * {\n color: inherit;\n }\n\n u-elevation {\n z-index: -1;\n }\n\n .button {\n cursor: pointer;\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n width: 100%;\n height: 100%;\n font-family: inherit;\n border-radius: inherit;\n color: inherit;\n border: none;\n margin: 0;\n padding: 0;\n text-align: center;\n white-space: nowrap;\n background: transparent;\n user-select: none;\n text-decoration: none;\n outline: 0;\n z-index: 0;\n }\n\n .content {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n border-radius: inherit;\n width: 100%;\n height: 100%;\n }\n`"
9942
+ }
9943
+ ],
9944
+ "exports": [
9945
+ {
9946
+ "kind": "js",
9947
+ "name": "styles",
9948
+ "declaration": {
9949
+ "name": "styles",
9950
+ "module": "src/shared/button-wrapper.styles.ts"
9951
+ }
9952
+ }
9953
+ ]
9954
+ },
9955
+ {
9956
+ "kind": "javascript-module",
9957
+ "path": "src/shared/button-wrapper.ts",
9834
9958
  "declarations": [
9835
9959
  {
9836
9960
  "kind": "class",
9837
9961
  "description": "",
9838
- "name": "UmOption",
9962
+ "name": "UmButtonWrapper",
9839
9963
  "members": [
9840
9964
  {
9841
9965
  "kind": "field",
9842
- "name": "#nativeOption",
9843
- "privacy": "private",
9966
+ "name": "disabled",
9844
9967
  "type": {
9845
- "text": "HTMLOptionElement"
9846
- }
9968
+ "text": "boolean"
9969
+ },
9970
+ "default": "false",
9971
+ "description": "Whether the button is disabled or not.",
9972
+ "attribute": "disabled",
9973
+ "reflects": true
9847
9974
  },
9848
9975
  {
9849
9976
  "kind": "field",
9850
- "name": "#mutationObserver",
9851
- "privacy": "private",
9977
+ "name": "renderRipple",
9852
9978
  "type": {
9853
- "text": "MutationObserver | null"
9979
+ "text": "boolean"
9854
9980
  },
9855
- "default": "null"
9981
+ "default": "true"
9856
9982
  },
9857
9983
  {
9858
9984
  "kind": "field",
9859
- "name": "value",
9985
+ "name": "href",
9860
9986
  "type": {
9861
- "text": "string"
9987
+ "text": "string | undefined"
9862
9988
  },
9863
- "attribute": "value",
9864
- "reflects": true
9989
+ "description": "The URL that the link button points to.",
9990
+ "attribute": "href"
9865
9991
  },
9866
9992
  {
9867
9993
  "kind": "field",
9868
- "name": "selected",
9994
+ "name": "target",
9869
9995
  "type": {
9870
- "text": "boolean"
9996
+ "text": "string | undefined"
9997
+ },
9998
+ "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
9999
+ "attribute": "target"
10000
+ },
10001
+ {
10002
+ "kind": "field",
10003
+ "name": "name",
10004
+ "type": {
10005
+ "text": "string | undefined"
10006
+ },
10007
+ "attribute": "name"
10008
+ },
10009
+ {
10010
+ "kind": "field",
10011
+ "name": "buttonElement",
10012
+ "type": {
10013
+ "text": "HTMLElement"
9871
10014
  }
9872
10015
  },
9873
10016
  {
9874
10017
  "kind": "field",
9875
- "name": "_selectedAttribute",
10018
+ "name": "ripple",
9876
10019
  "type": {
9877
- "text": "boolean"
10020
+ "text": "UmRipple"
9878
10021
  },
9879
- "privacy": "private",
9880
- "attribute": "selected"
10022
+ "privacy": "private"
9881
10023
  },
9882
10024
  {
9883
10025
  "kind": "field",
9884
- "name": "#select",
9885
- "privacy": "private",
10026
+ "name": "innerRole",
9886
10027
  "type": {
9887
- "text": "UmSelect | null"
10028
+ "text": "string | null"
10029
+ },
10030
+ "privacy": "protected",
10031
+ "default": "null"
10032
+ },
10033
+ {
10034
+ "kind": "field",
10035
+ "name": "pathname",
10036
+ "type": {
10037
+ "text": "string"
9888
10038
  }
9889
10039
  },
9890
10040
  {
9891
10041
  "kind": "method",
9892
- "name": "#attach",
10042
+ "name": "renderButton",
10043
+ "privacy": "private"
10044
+ },
10045
+ {
10046
+ "kind": "method",
10047
+ "name": "renderLink",
10048
+ "privacy": "private"
10049
+ },
10050
+ {
10051
+ "kind": "method",
10052
+ "name": "renderContent",
10053
+ "privacy": "protected",
9893
10054
  "return": {
9894
10055
  "type": {
9895
- "text": "Promise<void>"
10056
+ "text": "HTMLTemplateResult"
9896
10057
  }
9897
10058
  }
9898
10059
  },
9899
10060
  {
9900
10061
  "kind": "method",
9901
- "name": "#handleClick",
9902
- "parameters": [
9903
- {
9904
- "name": "e",
9905
- "type": {
9906
- "text": "Event"
9907
- }
9908
- }
9909
- ]
10062
+ "name": "focus"
9910
10063
  },
9911
10064
  {
9912
10065
  "kind": "method",
9913
- "name": "#updateContent"
10066
+ "name": "blur"
9914
10067
  },
9915
10068
  {
9916
10069
  "kind": "method",
9917
- "name": "#setNativeOption",
10070
+ "name": "getAriaLabel",
10071
+ "privacy": "protected",
9918
10072
  "return": {
9919
10073
  "type": {
9920
- "text": "Promise<void>"
10074
+ "text": "string | null"
9921
10075
  }
9922
10076
  }
9923
10077
  },
9924
10078
  {
9925
- "kind": "field",
9926
- "name": "#active",
10079
+ "kind": "method",
10080
+ "name": "innerFocusHandler",
10081
+ "privacy": "private",
10082
+ "return": {
10083
+ "type": {
10084
+ "text": "void"
10085
+ }
10086
+ }
10087
+ },
10088
+ {
10089
+ "kind": "method",
10090
+ "name": "#innerClickHandler",
10091
+ "return": {
10092
+ "type": {
10093
+ "text": "void"
10094
+ }
10095
+ },
10096
+ "parameters": [
10097
+ {
10098
+ "name": "event",
10099
+ "type": {
10100
+ "text": "MouseEvent"
10101
+ }
10102
+ }
10103
+ ]
10104
+ },
10105
+ {
10106
+ "kind": "method",
10107
+ "name": "handleClick",
10108
+ "privacy": "protected",
10109
+ "return": {
10110
+ "type": {
10111
+ "text": "void"
10112
+ }
10113
+ },
10114
+ "parameters": [
10115
+ {
10116
+ "name": "_",
10117
+ "type": {
10118
+ "text": "UIEvent"
10119
+ }
10120
+ }
10121
+ ]
10122
+ }
10123
+ ],
10124
+ "attributes": [
10125
+ {
10126
+ "name": "disabled",
10127
+ "type": {
10128
+ "text": "boolean"
10129
+ },
10130
+ "default": "false",
10131
+ "description": "Whether the button is disabled or not.",
10132
+ "fieldName": "disabled"
10133
+ },
10134
+ {
10135
+ "name": "href",
10136
+ "type": {
10137
+ "text": "string | undefined"
10138
+ },
10139
+ "description": "The URL that the link button points to.",
10140
+ "fieldName": "href"
10141
+ },
10142
+ {
10143
+ "name": "target",
10144
+ "type": {
10145
+ "text": "string | undefined"
10146
+ },
10147
+ "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
10148
+ "fieldName": "target"
10149
+ },
10150
+ {
10151
+ "name": "name",
10152
+ "type": {
10153
+ "text": "string | undefined"
10154
+ },
10155
+ "fieldName": "name"
10156
+ }
10157
+ ],
10158
+ "superclass": {
10159
+ "name": "LitElement",
10160
+ "package": "lit"
10161
+ },
10162
+ "customElement": true
10163
+ }
10164
+ ],
10165
+ "exports": [
10166
+ {
10167
+ "kind": "js",
10168
+ "name": "UmButtonWrapper",
10169
+ "declaration": {
10170
+ "name": "UmButtonWrapper",
10171
+ "module": "src/shared/button-wrapper.ts"
10172
+ }
10173
+ }
10174
+ ]
10175
+ },
10176
+ {
10177
+ "kind": "javascript-module",
10178
+ "path": "src/shared/compare-text.ts",
10179
+ "declarations": [
10180
+ {
10181
+ "kind": "function",
10182
+ "name": "normalizedStartsWith",
10183
+ "return": {
10184
+ "type": {
10185
+ "text": "boolean"
10186
+ }
10187
+ },
10188
+ "parameters": [
10189
+ {
10190
+ "name": "text",
10191
+ "type": {
10192
+ "text": "string | null"
10193
+ }
10194
+ },
10195
+ {
10196
+ "name": "term",
10197
+ "type": {
10198
+ "text": "string | null"
10199
+ }
10200
+ }
10201
+ ]
10202
+ }
10203
+ ],
10204
+ "exports": [
10205
+ {
10206
+ "kind": "js",
10207
+ "name": "normalizedStartsWith",
10208
+ "declaration": {
10209
+ "name": "normalizedStartsWith",
10210
+ "module": "src/shared/compare-text.ts"
10211
+ }
10212
+ }
10213
+ ]
10214
+ },
10215
+ {
10216
+ "kind": "javascript-module",
10217
+ "path": "src/shared/extract-template-html.ts",
10218
+ "declarations": [
10219
+ {
10220
+ "kind": "function",
10221
+ "name": "extractTemplateHtml",
10222
+ "parameters": [
10223
+ {
10224
+ "name": "template",
10225
+ "type": {
10226
+ "text": "HTMLTemplateElement"
10227
+ }
10228
+ }
10229
+ ]
10230
+ }
10231
+ ],
10232
+ "exports": [
10233
+ {
10234
+ "kind": "js",
10235
+ "name": "extractTemplateHtml",
10236
+ "declaration": {
10237
+ "name": "extractTemplateHtml",
10238
+ "module": "src/shared/extract-template-html.ts"
10239
+ }
10240
+ }
10241
+ ]
10242
+ },
10243
+ {
10244
+ "kind": "javascript-module",
10245
+ "path": "src/shared/mixin-attribute-properties.ts",
10246
+ "declarations": [
10247
+ {
10248
+ "kind": "mixin",
10249
+ "description": "",
10250
+ "name": "mixinAttributeProperties",
10251
+ "parameters": [
10252
+ {
10253
+ "name": "base",
10254
+ "type": {
10255
+ "text": "T"
10256
+ }
10257
+ },
10258
+ {
10259
+ "name": "properties",
10260
+ "type": {
10261
+ "text": "string[]"
10262
+ }
10263
+ }
10264
+ ]
10265
+ }
10266
+ ],
10267
+ "exports": [
10268
+ {
10269
+ "kind": "js",
10270
+ "name": "mixinAttributeProperties",
10271
+ "declaration": {
10272
+ "name": "mixinAttributeProperties",
10273
+ "module": "src/shared/mixin-attribute-properties.ts"
10274
+ }
10275
+ }
10276
+ ]
10277
+ },
10278
+ {
10279
+ "kind": "javascript-module",
10280
+ "path": "src/shared/mixin.ts",
10281
+ "declarations": [],
10282
+ "exports": []
10283
+ },
10284
+ {
10285
+ "kind": "javascript-module",
10286
+ "path": "src/shared/normalize-text.ts",
10287
+ "declarations": [
10288
+ {
10289
+ "kind": "function",
10290
+ "name": "normalizeText",
10291
+ "return": {
10292
+ "type": {
10293
+ "text": "string"
10294
+ }
10295
+ },
10296
+ "parameters": [
10297
+ {
10298
+ "name": "text",
10299
+ "type": {
10300
+ "text": "string | null"
10301
+ }
10302
+ }
10303
+ ]
10304
+ }
10305
+ ],
10306
+ "exports": [
10307
+ {
10308
+ "kind": "js",
10309
+ "name": "normalizeText",
10310
+ "declaration": {
10311
+ "name": "normalizeText",
10312
+ "module": "src/shared/normalize-text.ts"
10313
+ }
10314
+ }
10315
+ ]
10316
+ },
10317
+ {
10318
+ "kind": "javascript-module",
10319
+ "path": "src/shared/redispatch-event.ts",
10320
+ "declarations": [
10321
+ {
10322
+ "kind": "function",
10323
+ "name": "redispatchEvent",
10324
+ "parameters": [
10325
+ {
10326
+ "name": "element",
10327
+ "type": {
10328
+ "text": "Element"
10329
+ }
10330
+ },
10331
+ {
10332
+ "name": "event",
10333
+ "type": {
10334
+ "text": "Event"
10335
+ }
10336
+ }
10337
+ ]
10338
+ }
10339
+ ],
10340
+ "exports": [
10341
+ {
10342
+ "kind": "js",
10343
+ "name": "redispatchEvent",
10344
+ "declaration": {
10345
+ "name": "redispatchEvent",
10346
+ "module": "src/shared/redispatch-event.ts"
10347
+ }
10348
+ }
10349
+ ]
10350
+ },
10351
+ {
10352
+ "kind": "javascript-module",
10353
+ "path": "src/select/extended-option.ts",
10354
+ "declarations": [],
10355
+ "exports": []
10356
+ },
10357
+ {
10358
+ "kind": "javascript-module",
10359
+ "path": "src/select/extended-select.ts",
10360
+ "declarations": [],
10361
+ "exports": []
10362
+ },
10363
+ {
10364
+ "kind": "javascript-module",
10365
+ "path": "src/select/option.styles.ts",
10366
+ "declarations": [
10367
+ {
10368
+ "kind": "variable",
10369
+ "name": "styles",
10370
+ "default": "css `\n :host(.selected) {\n background-color: var(--u-select-option-selected-background-color, var(--u-color-primary-container, rgb(234, 221, 255)));\n }\n :host(.selected) .icon,\n :host(.selected) .content {\n color: var(--u-select-option-selected-text-color, var(--u-color-on-primary-container, rgb(33, 0, 93)));\n }\n\n :host(:not(.selected):not([has-trailing-icon])) .trailing {\n display: none;\n }\n`"
10371
+ }
10372
+ ],
10373
+ "exports": [
10374
+ {
10375
+ "kind": "js",
10376
+ "name": "styles",
10377
+ "declaration": {
10378
+ "name": "styles",
10379
+ "module": "src/select/option.styles.ts"
10380
+ }
10381
+ }
10382
+ ]
10383
+ },
10384
+ {
10385
+ "kind": "javascript-module",
10386
+ "path": "src/select/option.ts",
10387
+ "declarations": [
10388
+ {
10389
+ "kind": "class",
10390
+ "description": "",
10391
+ "name": "UmOption",
10392
+ "members": [
10393
+ {
10394
+ "kind": "field",
10395
+ "name": "_nativeOption",
10396
+ "type": {
10397
+ "text": "ExtendedOption"
10398
+ }
10399
+ },
10400
+ {
10401
+ "kind": "field",
10402
+ "name": "_listItem"
10403
+ },
10404
+ {
10405
+ "kind": "field",
10406
+ "name": "#mutationObserver",
10407
+ "privacy": "private",
10408
+ "type": {
10409
+ "text": "MutationObserver"
10410
+ },
10411
+ "default": "new MutationObserver(() => this.#updateContent())"
10412
+ },
10413
+ {
10414
+ "kind": "field",
10415
+ "name": "value",
10416
+ "type": {
10417
+ "text": "string"
10418
+ },
10419
+ "attribute": "value",
10420
+ "reflects": true
10421
+ },
10422
+ {
10423
+ "kind": "field",
10424
+ "name": "selected",
10425
+ "type": {
10426
+ "text": "boolean"
10427
+ }
10428
+ },
10429
+ {
10430
+ "kind": "method",
10431
+ "name": "renderDefaultTrailingIcon",
10432
+ "privacy": "protected",
10433
+ "return": {
10434
+ "type": {
10435
+ "text": "TemplateResult"
10436
+ }
10437
+ },
10438
+ "inheritedFrom": {
10439
+ "name": "UmMenuItem",
10440
+ "module": "src/menu/menu-item.ts"
10441
+ }
10442
+ },
10443
+ {
10444
+ "kind": "field",
10445
+ "name": "_selectedAttribute",
10446
+ "type": {
10447
+ "text": "boolean"
10448
+ },
10449
+ "privacy": "private",
10450
+ "attribute": "selected"
10451
+ },
10452
+ {
10453
+ "kind": "field",
10454
+ "name": "_select",
10455
+ "type": {
10456
+ "text": "UmSelect | null"
10457
+ }
10458
+ },
10459
+ {
10460
+ "kind": "method",
10461
+ "name": "#attach",
10462
+ "return": {
10463
+ "type": {
10464
+ "text": "Promise<void>"
10465
+ }
10466
+ }
10467
+ },
10468
+ {
10469
+ "kind": "method",
10470
+ "name": "#handleClick",
10471
+ "parameters": [
10472
+ {
10473
+ "name": "e",
10474
+ "type": {
10475
+ "text": "Event"
10476
+ }
10477
+ }
10478
+ ]
10479
+ },
10480
+ {
10481
+ "kind": "method",
10482
+ "name": "setSelectedByUser"
10483
+ },
10484
+ {
10485
+ "kind": "method",
10486
+ "name": "#updateContent"
10487
+ },
10488
+ {
10489
+ "kind": "method",
10490
+ "name": "#setNativeOption",
10491
+ "return": {
10492
+ "type": {
10493
+ "text": "Promise<void>"
10494
+ }
10495
+ }
10496
+ },
10497
+ {
10498
+ "kind": "field",
10499
+ "name": "#active",
9927
10500
  "privacy": "private",
9928
10501
  "type": {
9929
10502
  "text": "boolean"
@@ -9950,13 +10523,13 @@
9950
10523
  },
9951
10524
  {
9952
10525
  "kind": "field",
9953
- "name": "hasIcon",
10526
+ "name": "hasLeadingIcon",
9954
10527
  "type": {
9955
10528
  "text": "boolean"
9956
10529
  },
9957
10530
  "default": "false",
9958
- "description": "Whether the drawer item has icon or not\n\n_Note:_ Readonly",
9959
- "attribute": "has-icon",
10531
+ "description": "Whether the menu item has leading icon or not\n\n_Note:_ Readonly",
10532
+ "attribute": "has-leading-icon",
9960
10533
  "reflects": true,
9961
10534
  "inheritedFrom": {
9962
10535
  "name": "UmMenuItem",
@@ -9965,13 +10538,13 @@
9965
10538
  },
9966
10539
  {
9967
10540
  "kind": "field",
9968
- "name": "hasBadge",
10541
+ "name": "hasTrailingIcon",
9969
10542
  "type": {
9970
10543
  "text": "boolean"
9971
10544
  },
9972
10545
  "default": "false",
9973
- "description": "Whether the drawer item has badge or not\n\n_Note:_ Readonly",
9974
- "attribute": "has-badge",
10546
+ "description": "Whether the menu item has trailing icon or not\n\n_Note:_ Readonly",
10547
+ "attribute": "has-trailing-icon",
9975
10548
  "reflects": true,
9976
10549
  "inheritedFrom": {
9977
10550
  "name": "UmMenuItem",
@@ -9980,11 +10553,14 @@
9980
10553
  },
9981
10554
  {
9982
10555
  "kind": "field",
9983
- "name": "assignedIcons",
10556
+ "name": "hasBadge",
9984
10557
  "type": {
9985
- "text": "HTMLElement[]"
10558
+ "text": "boolean"
9986
10559
  },
9987
- "privacy": "private",
10560
+ "default": "false",
10561
+ "description": "Whether the drawer item has badge or not\n\n_Note:_ Readonly",
10562
+ "attribute": "has-badge",
10563
+ "reflects": true,
9988
10564
  "inheritedFrom": {
9989
10565
  "name": "UmMenuItem",
9990
10566
  "module": "src/menu/menu-item.ts"
@@ -10003,6 +10579,15 @@
10003
10579
  "module": "src/shared/button-wrapper.ts"
10004
10580
  }
10005
10581
  },
10582
+ {
10583
+ "kind": "field",
10584
+ "name": "#handleMouseEnter",
10585
+ "privacy": "private",
10586
+ "inheritedFrom": {
10587
+ "name": "UmMenuItem",
10588
+ "module": "src/menu/menu-item.ts"
10589
+ }
10590
+ },
10006
10591
  {
10007
10592
  "kind": "method",
10008
10593
  "name": "renderContent",
@@ -10019,8 +10604,31 @@
10019
10604
  },
10020
10605
  {
10021
10606
  "kind": "method",
10022
- "name": "handleIconSlotChange",
10023
- "privacy": "private",
10607
+ "name": "#handleLeadingIconSlotChange",
10608
+ "parameters": [
10609
+ {
10610
+ "name": "e",
10611
+ "type": {
10612
+ "text": "Event"
10613
+ }
10614
+ }
10615
+ ],
10616
+ "inheritedFrom": {
10617
+ "name": "UmMenuItem",
10618
+ "module": "src/menu/menu-item.ts"
10619
+ }
10620
+ },
10621
+ {
10622
+ "kind": "method",
10623
+ "name": "#handleTrailingIconSlotChange",
10624
+ "parameters": [
10625
+ {
10626
+ "name": "e",
10627
+ "type": {
10628
+ "text": "Event"
10629
+ }
10630
+ }
10631
+ ],
10024
10632
  "inheritedFrom": {
10025
10633
  "name": "UmMenuItem",
10026
10634
  "module": "src/menu/menu-item.ts"
@@ -10259,13 +10867,26 @@
10259
10867
  }
10260
10868
  },
10261
10869
  {
10262
- "name": "has-icon",
10870
+ "name": "has-leading-icon",
10263
10871
  "type": {
10264
10872
  "text": "boolean"
10265
10873
  },
10266
10874
  "default": "false",
10267
- "description": "Whether the drawer item has icon or not\n\n_Note:_ Readonly",
10268
- "fieldName": "hasIcon",
10875
+ "description": "Whether the menu item has leading icon or not\n\n_Note:_ Readonly",
10876
+ "fieldName": "hasLeadingIcon",
10877
+ "inheritedFrom": {
10878
+ "name": "UmMenuItem",
10879
+ "module": "src/menu/menu-item.ts"
10880
+ }
10881
+ },
10882
+ {
10883
+ "name": "has-trailing-icon",
10884
+ "type": {
10885
+ "text": "boolean"
10886
+ },
10887
+ "default": "false",
10888
+ "description": "Whether the menu item has trailing icon or not\n\n_Note:_ Readonly",
10889
+ "fieldName": "hasTrailingIcon",
10269
10890
  "inheritedFrom": {
10270
10891
  "name": "UmMenuItem",
10271
10892
  "module": "src/menu/menu-item.ts"
@@ -10362,416 +10983,500 @@
10362
10983
  },
10363
10984
  {
10364
10985
  "kind": "javascript-module",
10365
- "path": "src/select/select.styles.ts",
10366
- "declarations": [
10367
- {
10368
- "kind": "variable",
10369
- "name": "styles",
10370
- "default": "css `\n .container {\n cursor: pointer;\n }\n\n u-menu {\n display: block;\n width: 100%;\n }\n u-menu::part(menu) {\n width: 100%;\n max-width: 100%;\n }\n\n select {\n pointer-events: none;\n }\n`"
10371
- }
10372
- ],
10373
- "exports": [
10374
- {
10375
- "kind": "js",
10376
- "name": "styles",
10377
- "declaration": {
10378
- "name": "styles",
10379
- "module": "src/select/select.styles.ts"
10380
- }
10381
- }
10382
- ]
10383
- },
10384
- {
10385
- "kind": "javascript-module",
10386
- "path": "src/select/select.ts",
10986
+ "path": "src/select/select-navigation-controller.ts",
10387
10987
  "declarations": [
10388
10988
  {
10389
10989
  "kind": "class",
10390
10990
  "description": "",
10391
- "name": "UmSelect",
10991
+ "name": "SelectNavigationController",
10392
10992
  "members": [
10393
10993
  {
10394
10994
  "kind": "field",
10395
- "name": "nativeSelect",
10396
- "type": {
10397
- "text": "HTMLSelectElement"
10398
- }
10995
+ "name": "#typeaheadStatus",
10996
+ "privacy": "private"
10399
10997
  },
10400
10998
  {
10401
- "kind": "field",
10402
- "name": "#connected",
10403
- "privacy": "private",
10404
- "type": {
10405
- "text": "boolean"
10999
+ "kind": "method",
11000
+ "name": "handleKeyDown",
11001
+ "privacy": "protected",
11002
+ "return": {
11003
+ "type": {
11004
+ "text": "boolean"
11005
+ }
10406
11006
  },
10407
- "default": "false"
11007
+ "parameters": [
11008
+ {
11009
+ "name": "event",
11010
+ "type": {
11011
+ "text": "KeyboardEvent"
11012
+ }
11013
+ }
11014
+ ],
11015
+ "inheritedFrom": {
11016
+ "name": "MenuFieldNavigationController",
11017
+ "module": "src/shared/menu-field/menu-field-navigation-controller.ts"
11018
+ }
10408
11019
  },
10409
11020
  {
10410
- "kind": "field",
10411
- "name": "value",
10412
- "type": {
10413
- "text": "string"
11021
+ "kind": "method",
11022
+ "name": "attach",
11023
+ "parameters": [
11024
+ {
11025
+ "name": "element",
11026
+ "type": {
11027
+ "text": "HTMLElement"
11028
+ }
11029
+ }
11030
+ ],
11031
+ "inheritedFrom": {
11032
+ "name": "MenuFieldNavigationController",
11033
+ "module": "src/shared/menu-field/menu-field-navigation-controller.ts"
10414
11034
  }
10415
11035
  },
10416
11036
  {
10417
- "kind": "field",
10418
- "name": "menu",
10419
- "type": {
10420
- "text": "UmMenu"
11037
+ "kind": "method",
11038
+ "name": "detach",
11039
+ "inheritedFrom": {
11040
+ "name": "MenuFieldNavigationController",
11041
+ "module": "src/shared/menu-field/menu-field-navigation-controller.ts"
10421
11042
  }
10422
11043
  },
10423
11044
  {
10424
11045
  "kind": "field",
10425
- "name": "input",
10426
- "type": {
10427
- "text": "HTMLElement"
10428
- }
11046
+ "name": "#handleMouseFocus",
11047
+ "privacy": "private"
10429
11048
  },
10430
11049
  {
10431
- "kind": "field",
10432
- "name": "selectedIndex",
10433
- "type": {
10434
- "text": "number"
11050
+ "kind": "method",
11051
+ "name": "afterFocus",
11052
+ "privacy": "protected",
11053
+ "parameters": [
11054
+ {
11055
+ "name": "option",
11056
+ "type": {
11057
+ "text": "UmOption"
11058
+ }
11059
+ }
11060
+ ],
11061
+ "inheritedFrom": {
11062
+ "name": "MenuFieldNavigationController",
11063
+ "module": "src/shared/menu-field/menu-field-navigation-controller.ts"
10435
11064
  }
10436
11065
  },
10437
11066
  {
10438
- "kind": "field",
10439
- "name": "selectedOption",
10440
- "type": {
10441
- "text": "UmOption | null"
11067
+ "kind": "method",
11068
+ "name": "afterBlur",
11069
+ "privacy": "protected",
11070
+ "inheritedFrom": {
11071
+ "name": "MenuFieldNavigationController",
11072
+ "module": "src/shared/menu-field/menu-field-navigation-controller.ts"
10442
11073
  }
10443
11074
  },
11075
+ {
11076
+ "kind": "method",
11077
+ "name": "handleType",
11078
+ "privacy": "private",
11079
+ "parameters": [
11080
+ {
11081
+ "name": "event",
11082
+ "type": {
11083
+ "text": "KeyboardEvent"
11084
+ }
11085
+ }
11086
+ ]
11087
+ },
11088
+ {
11089
+ "kind": "method",
11090
+ "name": "findNextElementByTerm",
11091
+ "privacy": "private",
11092
+ "return": {
11093
+ "type": {
11094
+ "text": "void"
11095
+ }
11096
+ },
11097
+ "parameters": [
11098
+ {
11099
+ "name": "term",
11100
+ "type": {
11101
+ "text": "string"
11102
+ }
11103
+ },
11104
+ {
11105
+ "name": "lastFocusedMenu",
11106
+ "type": {
11107
+ "text": "UmOption | null"
11108
+ }
11109
+ }
11110
+ ]
11111
+ },
10444
11112
  {
10445
11113
  "kind": "field",
10446
- "name": "_options",
11114
+ "name": "#element",
11115
+ "privacy": "private",
10447
11116
  "type": {
10448
- "text": "UmOption[]"
11117
+ "text": "HTMLElement | null"
10449
11118
  },
10450
- "privacy": "private",
10451
- "default": "[]"
11119
+ "default": "null",
11120
+ "inheritedFrom": {
11121
+ "name": "MenuFieldNavigationController",
11122
+ "module": "src/shared/menu-field/menu-field-navigation-controller.ts"
11123
+ }
10452
11124
  },
10453
11125
  {
10454
11126
  "kind": "field",
10455
- "name": "options",
11127
+ "name": "focusedMenu",
10456
11128
  "type": {
10457
- "text": "UmOption[]"
11129
+ "text": "TMenuItem | null"
11130
+ },
11131
+ "privacy": "protected",
11132
+ "default": "null",
11133
+ "inheritedFrom": {
11134
+ "name": "MenuFieldNavigationController",
11135
+ "module": "src/shared/menu-field/menu-field-navigation-controller.ts"
10458
11136
  }
10459
11137
  },
10460
11138
  {
10461
- "kind": "method",
10462
- "name": "renderControl",
10463
- "privacy": "protected",
10464
- "return": {
10465
- "type": {
10466
- "text": "TemplateResult"
10467
- }
11139
+ "kind": "field",
11140
+ "name": "host",
11141
+ "type": {
11142
+ "text": "TField"
10468
11143
  },
11144
+ "privacy": "protected",
11145
+ "default": "host",
10469
11146
  "inheritedFrom": {
10470
- "name": "UmFieldBase",
10471
- "module": "src/field/field-base.ts"
11147
+ "name": "MenuFieldNavigationController",
11148
+ "module": "src/shared/menu-field/menu-field-navigation-controller.ts"
10472
11149
  }
10473
11150
  },
10474
11151
  {
10475
- "kind": "method",
10476
- "name": "renderAfterContent",
10477
- "privacy": "protected",
10478
- "return": {
10479
- "type": {
10480
- "text": "TemplateResult"
10481
- }
11152
+ "kind": "field",
11153
+ "name": "bindHandleKeyDown",
11154
+ "type": {
11155
+ "text": "(event: KeyboardEvent) => void"
10482
11156
  },
11157
+ "privacy": "private",
10483
11158
  "inheritedFrom": {
10484
- "name": "UmFieldBase",
10485
- "module": "src/field/field-base.ts"
11159
+ "name": "MenuFieldNavigationController",
11160
+ "module": "src/shared/menu-field/menu-field-navigation-controller.ts"
10486
11161
  }
10487
11162
  },
10488
11163
  {
10489
11164
  "kind": "field",
10490
- "name": "#handleClick",
10491
- "privacy": "private"
11165
+ "name": "#handleMenuClose",
11166
+ "privacy": "private",
11167
+ "inheritedFrom": {
11168
+ "name": "MenuFieldNavigationController",
11169
+ "module": "src/shared/menu-field/menu-field-navigation-controller.ts"
11170
+ }
10492
11171
  },
10493
11172
  {
10494
11173
  "kind": "method",
10495
- "name": "#handleMenuClick",
11174
+ "name": "navigate",
11175
+ "privacy": "private",
10496
11176
  "parameters": [
10497
11177
  {
10498
- "name": "e",
11178
+ "name": "event",
10499
11179
  "type": {
10500
- "text": "Event"
11180
+ "text": "KeyboardEvent"
11181
+ }
11182
+ },
11183
+ {
11184
+ "name": "forwards",
11185
+ "type": {
11186
+ "text": "boolean"
10501
11187
  }
10502
11188
  }
10503
- ]
11189
+ ],
11190
+ "inheritedFrom": {
11191
+ "name": "MenuFieldNavigationController",
11192
+ "module": "src/shared/menu-field/menu-field-navigation-controller.ts"
11193
+ }
10504
11194
  },
10505
11195
  {
10506
11196
  "kind": "method",
10507
- "name": "#handleSlotChange",
11197
+ "name": "navigateTo",
11198
+ "privacy": "protected",
10508
11199
  "parameters": [
10509
11200
  {
10510
- "name": "e",
11201
+ "name": "event",
10511
11202
  "type": {
10512
- "text": "Event"
11203
+ "text": "KeyboardEvent"
11204
+ }
11205
+ },
11206
+ {
11207
+ "name": "menu",
11208
+ "type": {
11209
+ "text": "TMenuItem | undefined"
10513
11210
  }
10514
11211
  }
10515
- ]
11212
+ ],
11213
+ "inheritedFrom": {
11214
+ "name": "MenuFieldNavigationController",
11215
+ "module": "src/shared/menu-field/menu-field-navigation-controller.ts"
11216
+ }
10516
11217
  },
10517
11218
  {
10518
11219
  "kind": "method",
10519
- "name": "#attach",
10520
- "return": {
10521
- "type": {
10522
- "text": "Promise<void>"
11220
+ "name": "focusMenu",
11221
+ "parameters": [
11222
+ {
11223
+ "name": "menu",
11224
+ "type": {
11225
+ "text": "TMenuItem"
11226
+ }
11227
+ },
11228
+ {
11229
+ "name": "active",
11230
+ "default": "true"
11231
+ },
11232
+ {
11233
+ "name": "scroll",
11234
+ "default": "true"
10523
11235
  }
10524
- },
11236
+ ],
10525
11237
  "inheritedFrom": {
10526
- "name": "UmFieldBase",
10527
- "module": "src/field/field-base.ts"
11238
+ "name": "MenuFieldNavigationController",
11239
+ "module": "src/shared/menu-field/menu-field-navigation-controller.ts"
10528
11240
  }
10529
11241
  },
10530
11242
  {
10531
- "kind": "field",
10532
- "name": "formAssociated",
10533
- "type": {
10534
- "text": "boolean"
10535
- },
10536
- "static": true,
10537
- "default": "true",
11243
+ "kind": "method",
11244
+ "name": "blurMenu",
10538
11245
  "inheritedFrom": {
10539
- "name": "UmTextFieldBase",
10540
- "module": "src/shared/text-field-base/text-field-base.ts"
11246
+ "name": "MenuFieldNavigationController",
11247
+ "module": "src/shared/menu-field/menu-field-navigation-controller.ts"
10541
11248
  }
10542
11249
  },
10543
11250
  {
10544
- "kind": "field",
10545
- "name": "shadowRootOptions",
10546
- "type": {
10547
- "text": "ShadowRootInit"
10548
- },
10549
- "static": true,
10550
- "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }",
11251
+ "kind": "method",
11252
+ "name": "selectActiveItem",
11253
+ "privacy": "private",
11254
+ "parameters": [
11255
+ {
11256
+ "name": "event",
11257
+ "type": {
11258
+ "text": "KeyboardEvent"
11259
+ }
11260
+ }
11261
+ ],
10551
11262
  "inheritedFrom": {
10552
- "name": "UmTextFieldBase",
10553
- "module": "src/shared/text-field-base/text-field-base.ts"
11263
+ "name": "MenuFieldNavigationController",
11264
+ "module": "src/shared/menu-field/menu-field-navigation-controller.ts"
10554
11265
  }
10555
- },
11266
+ }
11267
+ ],
11268
+ "superclass": {
11269
+ "name": "MenuFieldNavigationController",
11270
+ "module": "/src/shared/menu-field/menu-field-navigation-controller.js"
11271
+ }
11272
+ }
11273
+ ],
11274
+ "exports": [
11275
+ {
11276
+ "kind": "js",
11277
+ "name": "SelectNavigationController",
11278
+ "declaration": {
11279
+ "name": "SelectNavigationController",
11280
+ "module": "src/select/select-navigation-controller.ts"
11281
+ }
11282
+ }
11283
+ ]
11284
+ },
11285
+ {
11286
+ "kind": "javascript-module",
11287
+ "path": "src/select/select.styles.ts",
11288
+ "declarations": [
11289
+ {
11290
+ "kind": "variable",
11291
+ "name": "styles",
11292
+ "default": "css `\n u-menu {\n display: block;\n width: 100%;\n }\n u-menu::part(menu) {\n min-width: 100%;\n max-width: 50vw;\n }\n\n :host(:not([disabled])) .button {\n cursor: pointer;\n }\n\n .button {\n position: absolute;\n inset: 0;\n margin: 0;\n padding: 0;\n background: transparent;\n border: none;\n appearance: none;\n }\n\n select {\n pointer-events: none;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n\n .list {\n width: 2px;\n height: 2px;\n margin: -1px;\n overflow: hidden;\n }\n`"
11293
+ }
11294
+ ],
11295
+ "exports": [
11296
+ {
11297
+ "kind": "js",
11298
+ "name": "styles",
11299
+ "declaration": {
11300
+ "name": "styles",
11301
+ "module": "src/select/select.styles.ts"
11302
+ }
11303
+ }
11304
+ ]
11305
+ },
11306
+ {
11307
+ "kind": "javascript-module",
11308
+ "path": "src/select/select.ts",
11309
+ "declarations": [
11310
+ {
11311
+ "kind": "class",
11312
+ "description": "",
11313
+ "name": "UmSelect",
11314
+ "members": [
10556
11315
  {
10557
11316
  "kind": "field",
10558
- "name": "empty",
11317
+ "name": "currentOptionIndex",
10559
11318
  "type": {
10560
- "text": "boolean"
11319
+ "text": "number"
10561
11320
  },
10562
- "default": "true",
10563
- "attribute": "empty",
10564
- "reflects": true,
10565
- "inheritedFrom": {
10566
- "name": "UmFieldBase",
10567
- "module": "src/field/field-base.ts"
10568
- }
11321
+ "default": "1"
10569
11322
  },
10570
11323
  {
10571
11324
  "kind": "field",
10572
- "name": "placeholder",
11325
+ "name": "nativeSelect",
10573
11326
  "type": {
10574
- "text": "string | undefined"
10575
- },
10576
- "attribute": "placeholder",
10577
- "reflects": true,
10578
- "inheritedFrom": {
10579
- "name": "UmTextFieldBase",
10580
- "module": "src/shared/text-field-base/text-field-base.ts"
11327
+ "text": "ExtendedSelect"
10581
11328
  }
10582
11329
  },
10583
11330
  {
10584
11331
  "kind": "field",
10585
- "name": "form",
11332
+ "name": "#list",
11333
+ "privacy": "private",
10586
11334
  "type": {
10587
- "text": "HTMLFormElement | null"
10588
- },
10589
- "inheritedFrom": {
10590
- "name": "UmTextFieldBase",
10591
- "module": "src/shared/text-field-base/text-field-base.ts"
11335
+ "text": "HTMLElement"
10592
11336
  }
10593
11337
  },
10594
11338
  {
10595
11339
  "kind": "field",
10596
- "name": "elementInternals",
11340
+ "name": "#navigationController",
11341
+ "privacy": "private",
11342
+ "default": "new SelectNavigationController(this)"
11343
+ },
11344
+ {
11345
+ "kind": "field",
11346
+ "name": "#mutationObserver",
11347
+ "privacy": "private",
10597
11348
  "type": {
10598
- "text": "ElementInternals"
11349
+ "text": "MutationObserver"
10599
11350
  },
10600
- "privacy": "protected",
10601
- "inheritedFrom": {
10602
- "name": "UmTextFieldBase",
10603
- "module": "src/shared/text-field-base/text-field-base.ts"
10604
- }
11351
+ "default": "new MutationObserver(() => this._updateOptions())"
10605
11352
  },
10606
11353
  {
10607
11354
  "kind": "field",
10608
- "name": "config",
11355
+ "name": "#connected",
11356
+ "privacy": "private",
10609
11357
  "type": {
10610
- "text": "UmFieldDefaults | undefined"
11358
+ "text": "boolean"
10611
11359
  },
10612
- "privacy": "private",
10613
- "inheritedFrom": {
10614
- "name": "UmFieldBase",
10615
- "module": "src/field/field-base.ts"
10616
- }
11360
+ "default": "false"
10617
11361
  },
10618
11362
  {
10619
11363
  "kind": "field",
10620
- "name": "variant",
11364
+ "name": "value",
10621
11365
  "type": {
10622
- "text": "'filled' | 'outlined' | undefined"
10623
- },
10624
- "default": "undefined",
10625
- "attribute": "variant",
10626
- "inheritedFrom": {
10627
- "name": "UmFieldBase",
10628
- "module": "src/field/field-base.ts"
11366
+ "text": "string"
10629
11367
  }
10630
11368
  },
10631
11369
  {
10632
11370
  "kind": "field",
10633
- "name": "label",
11371
+ "name": "menu",
10634
11372
  "type": {
10635
- "text": "string | undefined"
10636
- },
10637
- "attribute": "label",
10638
- "inheritedFrom": {
10639
- "name": "UmFieldBase",
10640
- "module": "src/field/field-base.ts"
11373
+ "text": "UmMenu"
10641
11374
  }
10642
11375
  },
10643
11376
  {
10644
11377
  "kind": "field",
10645
- "name": "counter",
11378
+ "name": "button",
10646
11379
  "type": {
10647
- "text": "string | undefined"
10648
- },
10649
- "attribute": "counter",
10650
- "inheritedFrom": {
10651
- "name": "UmFieldBase",
10652
- "module": "src/field/field-base.ts"
11380
+ "text": "HTMLButtonElement"
10653
11381
  }
10654
11382
  },
10655
11383
  {
10656
11384
  "kind": "field",
10657
- "name": "supportingText",
11385
+ "name": "input",
10658
11386
  "type": {
10659
- "text": "string | undefined"
10660
- },
10661
- "attribute": "supporting-text",
10662
- "inheritedFrom": {
10663
- "name": "UmFieldBase",
10664
- "module": "src/field/field-base.ts"
11387
+ "text": "HTMLElement"
10665
11388
  }
10666
11389
  },
10667
11390
  {
10668
11391
  "kind": "field",
10669
- "name": "errorText",
11392
+ "name": "selectedIndex",
10670
11393
  "type": {
10671
- "text": "string | undefined"
10672
- },
10673
- "attribute": "error-text",
10674
- "inheritedFrom": {
10675
- "name": "UmFieldBase",
10676
- "module": "src/field/field-base.ts"
11394
+ "text": "number"
10677
11395
  }
10678
11396
  },
10679
11397
  {
10680
11398
  "kind": "field",
10681
- "name": "disabled",
11399
+ "name": "selectedOptions",
10682
11400
  "type": {
10683
- "text": "boolean"
10684
- },
10685
- "default": "false",
10686
- "attribute": "disabled",
10687
- "reflects": true,
10688
- "inheritedFrom": {
10689
- "name": "UmFieldBase",
10690
- "module": "src/field/field-base.ts"
11401
+ "text": "UmOption[]"
10691
11402
  }
10692
11403
  },
10693
11404
  {
10694
11405
  "kind": "field",
10695
- "name": "invalid",
11406
+ "name": "options",
10696
11407
  "type": {
10697
- "text": "boolean"
10698
- },
10699
- "default": "false",
10700
- "attribute": "invalid",
10701
- "reflects": true,
10702
- "inheritedFrom": {
10703
- "name": "UmFieldBase",
10704
- "module": "src/field/field-base.ts"
11408
+ "text": "UmOption[]"
10705
11409
  }
10706
11410
  },
10707
11411
  {
10708
11412
  "kind": "method",
10709
- "name": "setDefaults",
10710
- "static": true,
10711
- "return": {
10712
- "type": {
10713
- "text": "ContextProvider<Context<HTMLElement, UmFieldDefaults>>"
10714
- }
10715
- },
11413
+ "name": "_updateOptions"
11414
+ },
11415
+ {
11416
+ "kind": "method",
11417
+ "name": "#updateOptions",
10716
11418
  "parameters": [
10717
11419
  {
10718
- "name": "contextRoot",
11420
+ "name": "options",
10719
11421
  "type": {
10720
- "text": "HTMLElement"
11422
+ "text": "UmOption[]"
10721
11423
  }
10722
- },
11424
+ }
11425
+ ]
11426
+ },
11427
+ {
11428
+ "kind": "method",
11429
+ "name": "#updateAccessibilityList",
11430
+ "parameters": [
10723
11431
  {
10724
- "name": "config",
11432
+ "name": "options",
10725
11433
  "type": {
10726
- "text": "UmFieldDefaults"
11434
+ "text": "UmOption[]"
10727
11435
  }
10728
11436
  }
10729
- ],
10730
- "inheritedFrom": {
10731
- "name": "UmFieldBase",
10732
- "module": "src/field/field-base.ts"
10733
- }
11437
+ ]
10734
11438
  },
10735
11439
  {
10736
- "kind": "field",
10737
- "name": "hasLeadingIcon",
10738
- "type": {
10739
- "text": "boolean"
11440
+ "kind": "method",
11441
+ "name": "#setSelectedOption"
11442
+ },
11443
+ {
11444
+ "kind": "method",
11445
+ "name": "renderControl",
11446
+ "privacy": "protected",
11447
+ "return": {
11448
+ "type": {
11449
+ "text": "TemplateResult"
11450
+ }
10740
11451
  },
10741
- "default": "false",
10742
- "description": "Whether the field has a leading icon or not\n\n_Note:_ Readonly",
10743
- "attribute": "has-leading-icon",
10744
- "reflects": true,
10745
11452
  "inheritedFrom": {
10746
11453
  "name": "UmFieldBase",
10747
11454
  "module": "src/field/field-base.ts"
10748
11455
  }
10749
11456
  },
10750
11457
  {
10751
- "kind": "field",
10752
- "name": "hasTrailingIcon",
10753
- "type": {
10754
- "text": "boolean"
11458
+ "kind": "method",
11459
+ "name": "renderAfterContent",
11460
+ "privacy": "protected",
11461
+ "return": {
11462
+ "type": {
11463
+ "text": "TemplateResult"
11464
+ }
10755
11465
  },
10756
- "default": "false",
10757
- "description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
10758
- "attribute": "has-trailing-icon",
10759
- "reflects": true,
10760
11466
  "inheritedFrom": {
10761
11467
  "name": "UmFieldBase",
10762
11468
  "module": "src/field/field-base.ts"
10763
11469
  }
10764
11470
  },
10765
11471
  {
10766
- "kind": "field",
10767
- "name": "hasErrorText",
10768
- "type": {
10769
- "text": "boolean"
11472
+ "kind": "method",
11473
+ "name": "renderDefaultTrailingIcon",
11474
+ "privacy": "protected",
11475
+ "return": {
11476
+ "type": {
11477
+ "text": "TemplateResult"
11478
+ }
10770
11479
  },
10771
- "default": "false",
10772
- "description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
10773
- "attribute": "has-error-text",
10774
- "reflects": true,
10775
11480
  "inheritedFrom": {
10776
11481
  "name": "UmFieldBase",
10777
11482
  "module": "src/field/field-base.ts"
@@ -10779,23 +11484,44 @@
10779
11484
  },
10780
11485
  {
10781
11486
  "kind": "field",
10782
- "name": "assignedLeadingIcons",
10783
- "type": {
10784
- "text": "HTMLElement[]"
10785
- },
10786
- "privacy": "private",
10787
- "inheritedFrom": {
10788
- "name": "UmFieldBase",
10789
- "module": "src/field/field-base.ts"
10790
- }
11487
+ "name": "#handleClick",
11488
+ "privacy": "private"
11489
+ },
11490
+ {
11491
+ "kind": "method",
11492
+ "name": "#handleMenuClick",
11493
+ "parameters": [
11494
+ {
11495
+ "name": "e",
11496
+ "type": {
11497
+ "text": "Event"
11498
+ }
11499
+ }
11500
+ ]
10791
11501
  },
10792
11502
  {
10793
11503
  "kind": "field",
10794
- "name": "assignedTrailingIcons",
10795
- "type": {
10796
- "text": "HTMLElement[]"
11504
+ "name": "#handleMenuOpen",
11505
+ "privacy": "private"
11506
+ },
11507
+ {
11508
+ "kind": "field",
11509
+ "name": "#handleMenuOpened",
11510
+ "privacy": "private"
11511
+ },
11512
+ {
11513
+ "kind": "field",
11514
+ "name": "#handleMenuClose",
11515
+ "privacy": "private"
11516
+ },
11517
+ {
11518
+ "kind": "method",
11519
+ "name": "#attach",
11520
+ "return": {
11521
+ "type": {
11522
+ "text": "Promise<void>"
11523
+ }
10797
11524
  },
10798
- "privacy": "private",
10799
11525
  "inheritedFrom": {
10800
11526
  "name": "UmFieldBase",
10801
11527
  "module": "src/field/field-base.ts"
@@ -10803,624 +11529,519 @@
10803
11529
  },
10804
11530
  {
10805
11531
  "kind": "field",
10806
- "name": "assignedErrorTexts",
11532
+ "name": "menuItems",
10807
11533
  "type": {
10808
- "text": "HTMLElement[]"
10809
- },
10810
- "privacy": "private",
10811
- "inheritedFrom": {
10812
- "name": "UmFieldBase",
10813
- "module": "src/field/field-base.ts"
11534
+ "text": "UmOption[]"
10814
11535
  }
10815
11536
  },
10816
11537
  {
10817
11538
  "kind": "field",
10818
- "name": "labelElement",
11539
+ "name": "formAssociated",
10819
11540
  "type": {
10820
- "text": "HTMLElement"
11541
+ "text": "boolean"
10821
11542
  },
10822
- "inheritedFrom": {
10823
- "name": "UmFieldBase",
10824
- "module": "src/field/field-base.ts"
11543
+ "static": true,
11544
+ "default": "true",
11545
+ "inheritedFrom": {
11546
+ "name": "UmTextFieldBase",
11547
+ "module": "src/shared/text-field-base/text-field-base.ts"
10825
11548
  }
10826
11549
  },
10827
11550
  {
10828
11551
  "kind": "field",
10829
- "name": "container",
11552
+ "name": "shadowRootOptions",
10830
11553
  "type": {
10831
- "text": "HTMLElement"
11554
+ "text": "ShadowRootInit"
10832
11555
  },
11556
+ "static": true,
11557
+ "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }",
10833
11558
  "inheritedFrom": {
10834
- "name": "UmFieldBase",
10835
- "module": "src/field/field-base.ts"
11559
+ "name": "UmTextFieldBase",
11560
+ "module": "src/shared/text-field-base/text-field-base.ts"
10836
11561
  }
10837
11562
  },
10838
11563
  {
10839
11564
  "kind": "field",
10840
- "name": "labelSizeObserver",
11565
+ "name": "empty",
10841
11566
  "type": {
10842
- "text": "ResizeObserver | null"
11567
+ "text": "boolean"
10843
11568
  },
10844
- "privacy": "private",
10845
- "default": "null",
11569
+ "default": "true",
11570
+ "attribute": "empty",
11571
+ "reflects": true,
10846
11572
  "inheritedFrom": {
10847
11573
  "name": "UmFieldBase",
10848
11574
  "module": "src/field/field-base.ts"
10849
11575
  }
10850
11576
  },
10851
11577
  {
10852
- "kind": "method",
10853
- "name": "handleLeadingIconSlotChange",
10854
- "privacy": "private",
11578
+ "kind": "field",
11579
+ "name": "placeholder",
11580
+ "type": {
11581
+ "text": "string | undefined"
11582
+ },
11583
+ "attribute": "placeholder",
11584
+ "reflects": true,
10855
11585
  "inheritedFrom": {
10856
- "name": "UmFieldBase",
10857
- "module": "src/field/field-base.ts"
11586
+ "name": "UmTextFieldBase",
11587
+ "module": "src/shared/text-field-base/text-field-base.ts"
10858
11588
  }
10859
11589
  },
10860
11590
  {
10861
- "kind": "method",
10862
- "name": "handleTrailingIconSlotChange",
10863
- "privacy": "private",
11591
+ "kind": "field",
11592
+ "name": "form",
11593
+ "type": {
11594
+ "text": "HTMLFormElement | null"
11595
+ },
10864
11596
  "inheritedFrom": {
10865
- "name": "UmFieldBase",
10866
- "module": "src/field/field-base.ts"
11597
+ "name": "UmTextFieldBase",
11598
+ "module": "src/shared/text-field-base/text-field-base.ts"
10867
11599
  }
10868
11600
  },
10869
11601
  {
10870
- "kind": "method",
10871
- "name": "handleErrorTextSlotChange",
10872
- "privacy": "private",
11602
+ "kind": "field",
11603
+ "name": "elementInternals",
11604
+ "type": {
11605
+ "text": "ElementInternals"
11606
+ },
11607
+ "privacy": "protected",
10873
11608
  "inheritedFrom": {
10874
- "name": "UmFieldBase",
10875
- "module": "src/field/field-base.ts"
11609
+ "name": "UmTextFieldBase",
11610
+ "module": "src/shared/text-field-base/text-field-base.ts"
10876
11611
  }
10877
11612
  },
10878
11613
  {
10879
- "kind": "method",
10880
- "name": "setLabelWidthProperties",
11614
+ "kind": "field",
11615
+ "name": "config",
11616
+ "type": {
11617
+ "text": "UmFieldDefaults | undefined"
11618
+ },
10881
11619
  "privacy": "private",
10882
11620
  "inheritedFrom": {
10883
11621
  "name": "UmFieldBase",
10884
11622
  "module": "src/field/field-base.ts"
10885
11623
  }
10886
- }
10887
- ],
10888
- "superclass": {
10889
- "name": "UmTextFieldBase",
10890
- "module": "/src/shared/text-field-base/text-field-base.js"
10891
- },
10892
- "tagName": "u-select",
10893
- "customElement": true,
10894
- "attributes": [
10895
- {
10896
- "name": "placeholder",
10897
- "type": {
10898
- "text": "string | undefined"
10899
- },
10900
- "fieldName": "placeholder",
10901
- "inheritedFrom": {
10902
- "name": "UmTextFieldBase",
10903
- "module": "src/shared/text-field-base/text-field-base.ts"
10904
- }
10905
11624
  },
10906
11625
  {
11626
+ "kind": "field",
10907
11627
  "name": "variant",
10908
11628
  "type": {
10909
11629
  "text": "'filled' | 'outlined' | undefined"
10910
11630
  },
10911
11631
  "default": "undefined",
10912
- "resolveInitializer": {
10913
- "module": "src/field/field-base.ts"
10914
- },
10915
- "fieldName": "variant",
11632
+ "attribute": "variant",
10916
11633
  "inheritedFrom": {
10917
11634
  "name": "UmFieldBase",
10918
11635
  "module": "src/field/field-base.ts"
10919
11636
  }
10920
11637
  },
10921
11638
  {
11639
+ "kind": "field",
10922
11640
  "name": "label",
10923
11641
  "type": {
10924
11642
  "text": "string | undefined"
10925
11643
  },
10926
- "fieldName": "label",
11644
+ "attribute": "label",
10927
11645
  "inheritedFrom": {
10928
11646
  "name": "UmFieldBase",
10929
11647
  "module": "src/field/field-base.ts"
10930
11648
  }
10931
11649
  },
10932
11650
  {
11651
+ "kind": "field",
10933
11652
  "name": "counter",
10934
11653
  "type": {
10935
11654
  "text": "string | undefined"
10936
11655
  },
10937
- "fieldName": "counter",
11656
+ "attribute": "counter",
10938
11657
  "inheritedFrom": {
10939
11658
  "name": "UmFieldBase",
10940
11659
  "module": "src/field/field-base.ts"
10941
11660
  }
10942
11661
  },
10943
11662
  {
10944
- "name": "supporting-text",
11663
+ "kind": "field",
11664
+ "name": "supportingText",
10945
11665
  "type": {
10946
11666
  "text": "string | undefined"
10947
11667
  },
10948
- "fieldName": "supportingText",
11668
+ "attribute": "supporting-text",
10949
11669
  "inheritedFrom": {
10950
11670
  "name": "UmFieldBase",
10951
11671
  "module": "src/field/field-base.ts"
10952
11672
  }
10953
11673
  },
10954
11674
  {
10955
- "name": "error-text",
11675
+ "kind": "field",
11676
+ "name": "errorText",
10956
11677
  "type": {
10957
11678
  "text": "string | undefined"
10958
11679
  },
10959
- "fieldName": "errorText",
11680
+ "attribute": "error-text",
10960
11681
  "inheritedFrom": {
10961
11682
  "name": "UmFieldBase",
10962
11683
  "module": "src/field/field-base.ts"
10963
11684
  }
10964
11685
  },
10965
11686
  {
10966
- "name": "empty",
11687
+ "kind": "field",
11688
+ "name": "disabled",
10967
11689
  "type": {
10968
11690
  "text": "boolean"
10969
11691
  },
10970
11692
  "default": "false",
10971
- "fieldName": "empty",
11693
+ "attribute": "disabled",
11694
+ "reflects": true,
10972
11695
  "inheritedFrom": {
10973
11696
  "name": "UmFieldBase",
10974
11697
  "module": "src/field/field-base.ts"
10975
11698
  }
10976
11699
  },
10977
11700
  {
10978
- "name": "disabled",
11701
+ "kind": "field",
11702
+ "name": "invalid",
10979
11703
  "type": {
10980
11704
  "text": "boolean"
10981
11705
  },
10982
11706
  "default": "false",
10983
- "fieldName": "disabled",
11707
+ "attribute": "invalid",
11708
+ "reflects": true,
10984
11709
  "inheritedFrom": {
10985
11710
  "name": "UmFieldBase",
10986
11711
  "module": "src/field/field-base.ts"
10987
11712
  }
10988
11713
  },
10989
11714
  {
10990
- "name": "invalid",
10991
- "type": {
10992
- "text": "boolean"
11715
+ "kind": "method",
11716
+ "name": "setDefaults",
11717
+ "static": true,
11718
+ "return": {
11719
+ "type": {
11720
+ "text": "ContextProvider<Context<HTMLElement, UmFieldDefaults>>"
11721
+ }
10993
11722
  },
10994
- "default": "false",
10995
- "fieldName": "invalid",
11723
+ "parameters": [
11724
+ {
11725
+ "name": "contextRoot",
11726
+ "type": {
11727
+ "text": "HTMLElement"
11728
+ }
11729
+ },
11730
+ {
11731
+ "name": "config",
11732
+ "type": {
11733
+ "text": "UmFieldDefaults"
11734
+ }
11735
+ }
11736
+ ],
10996
11737
  "inheritedFrom": {
10997
11738
  "name": "UmFieldBase",
10998
11739
  "module": "src/field/field-base.ts"
10999
11740
  }
11000
11741
  },
11001
11742
  {
11002
- "name": "has-leading-icon",
11743
+ "kind": "field",
11744
+ "name": "hasLeadingIcon",
11003
11745
  "type": {
11004
11746
  "text": "boolean"
11005
11747
  },
11006
11748
  "default": "false",
11007
11749
  "description": "Whether the field has a leading icon or not\n\n_Note:_ Readonly",
11008
- "fieldName": "hasLeadingIcon",
11750
+ "attribute": "has-leading-icon",
11751
+ "reflects": true,
11009
11752
  "inheritedFrom": {
11010
11753
  "name": "UmFieldBase",
11011
11754
  "module": "src/field/field-base.ts"
11012
11755
  }
11013
11756
  },
11014
11757
  {
11015
- "name": "has-trailing-icon",
11758
+ "kind": "field",
11759
+ "name": "hasTrailingIcon",
11016
11760
  "type": {
11017
11761
  "text": "boolean"
11018
11762
  },
11019
11763
  "default": "false",
11020
11764
  "description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
11021
- "fieldName": "hasTrailingIcon",
11765
+ "attribute": "has-trailing-icon",
11766
+ "reflects": true,
11022
11767
  "inheritedFrom": {
11023
11768
  "name": "UmFieldBase",
11024
11769
  "module": "src/field/field-base.ts"
11025
11770
  }
11026
11771
  },
11027
11772
  {
11028
- "name": "has-error-text",
11773
+ "kind": "field",
11774
+ "name": "hasErrorText",
11029
11775
  "type": {
11030
11776
  "text": "boolean"
11031
11777
  },
11032
11778
  "default": "false",
11033
11779
  "description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
11034
- "fieldName": "hasErrorText",
11780
+ "attribute": "has-error-text",
11781
+ "reflects": true,
11035
11782
  "inheritedFrom": {
11036
11783
  "name": "UmFieldBase",
11037
11784
  "module": "src/field/field-base.ts"
11038
11785
  }
11039
- }
11040
- ]
11041
- }
11042
- ],
11043
- "exports": [
11044
- {
11045
- "kind": "js",
11046
- "name": "UmSelect",
11047
- "declaration": {
11048
- "name": "UmSelect",
11049
- "module": "src/select/select.ts"
11050
- }
11051
- },
11052
- {
11053
- "kind": "custom-element-definition",
11054
- "name": "u-select",
11055
- "declaration": {
11056
- "name": "UmSelect",
11057
- "module": "src/select/select.ts"
11058
- }
11059
- }
11060
- ]
11061
- },
11062
- {
11063
- "kind": "javascript-module",
11064
- "path": "src/shared/base.styles.ts",
11065
- "declarations": [
11066
- {
11067
- "kind": "variable",
11068
- "name": "styles",
11069
- "default": "css `\n :host,\n * {\n --_focus-ring-outline-offset: var(--u-focus-ring-outline-offset, 2px);\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n box-sizing: border-box;\n outline: 0;\n }\n\n :host(.force-focus-ring) .focus-ring,\n .focus-ring:focus-visible {\n --_color-primary: var(--u-color-primary, rgb(103, 80, 164));\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: var(--_focus-ring-outline-offset);\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_color-primary);\n }\n 50% {\n outline: 6px solid var(--_color-primary);\n }\n 100% {\n outline: 4px solid var(--_color-primary);\n }\n }\n`"
11070
- }
11071
- ],
11072
- "exports": [
11073
- {
11074
- "kind": "js",
11075
- "name": "styles",
11076
- "declaration": {
11077
- "name": "styles",
11078
- "module": "src/shared/base.styles.ts"
11079
- }
11080
- }
11081
- ]
11082
- },
11083
- {
11084
- "kind": "javascript-module",
11085
- "path": "src/shared/button-wrapper.ts",
11086
- "declarations": [
11087
- {
11088
- "kind": "class",
11089
- "description": "",
11090
- "name": "UmButtonWrapper",
11091
- "members": [
11092
- {
11093
- "kind": "field",
11094
- "name": "disabled",
11095
- "type": {
11096
- "text": "boolean"
11097
- },
11098
- "default": "false",
11099
- "description": "Whether the button is disabled or not.",
11100
- "attribute": "disabled",
11101
- "reflects": true
11102
- },
11103
- {
11104
- "kind": "field",
11105
- "name": "renderRipple",
11106
- "type": {
11107
- "text": "boolean"
11108
- },
11109
- "default": "true"
11110
- },
11111
- {
11112
- "kind": "field",
11113
- "name": "href",
11114
- "type": {
11115
- "text": "string | undefined"
11116
- },
11117
- "description": "The URL that the link button points to.",
11118
- "attribute": "href"
11119
11786
  },
11120
11787
  {
11121
11788
  "kind": "field",
11122
- "name": "target",
11789
+ "name": "assignedLeadingIcons",
11123
11790
  "type": {
11124
- "text": "string | undefined"
11791
+ "text": "HTMLElement[]"
11125
11792
  },
11126
- "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
11127
- "attribute": "target"
11793
+ "privacy": "private",
11794
+ "inheritedFrom": {
11795
+ "name": "UmFieldBase",
11796
+ "module": "src/field/field-base.ts"
11797
+ }
11128
11798
  },
11129
11799
  {
11130
11800
  "kind": "field",
11131
- "name": "name",
11801
+ "name": "assignedTrailingIcons",
11132
11802
  "type": {
11133
- "text": "string | undefined"
11803
+ "text": "HTMLElement[]"
11134
11804
  },
11135
- "attribute": "name"
11805
+ "privacy": "private",
11806
+ "inheritedFrom": {
11807
+ "name": "UmFieldBase",
11808
+ "module": "src/field/field-base.ts"
11809
+ }
11136
11810
  },
11137
11811
  {
11138
11812
  "kind": "field",
11139
- "name": "buttonElement",
11813
+ "name": "assignedErrorTexts",
11140
11814
  "type": {
11141
- "text": "HTMLElement"
11815
+ "text": "HTMLElement[]"
11816
+ },
11817
+ "privacy": "private",
11818
+ "inheritedFrom": {
11819
+ "name": "UmFieldBase",
11820
+ "module": "src/field/field-base.ts"
11142
11821
  }
11143
11822
  },
11144
11823
  {
11145
11824
  "kind": "field",
11146
- "name": "ripple",
11825
+ "name": "labelElement",
11147
11826
  "type": {
11148
- "text": "UmRipple"
11827
+ "text": "HTMLElement"
11149
11828
  },
11150
- "privacy": "private"
11829
+ "inheritedFrom": {
11830
+ "name": "UmFieldBase",
11831
+ "module": "src/field/field-base.ts"
11832
+ }
11151
11833
  },
11152
11834
  {
11153
11835
  "kind": "field",
11154
- "name": "innerRole",
11836
+ "name": "container",
11155
11837
  "type": {
11156
- "text": "string | null"
11838
+ "text": "HTMLElement"
11157
11839
  },
11158
- "privacy": "protected",
11159
- "default": "null"
11840
+ "inheritedFrom": {
11841
+ "name": "UmFieldBase",
11842
+ "module": "src/field/field-base.ts"
11843
+ }
11160
11844
  },
11161
11845
  {
11162
11846
  "kind": "field",
11163
- "name": "pathname",
11847
+ "name": "labelSizeObserver",
11164
11848
  "type": {
11165
- "text": "string"
11849
+ "text": "ResizeObserver | null"
11850
+ },
11851
+ "privacy": "private",
11852
+ "default": "null",
11853
+ "inheritedFrom": {
11854
+ "name": "UmFieldBase",
11855
+ "module": "src/field/field-base.ts"
11166
11856
  }
11167
11857
  },
11168
11858
  {
11169
11859
  "kind": "method",
11170
- "name": "renderButton",
11171
- "privacy": "private"
11172
- },
11173
- {
11174
- "kind": "method",
11175
- "name": "renderLink",
11176
- "privacy": "private"
11177
- },
11178
- {
11179
- "kind": "method",
11180
- "name": "renderContent",
11181
- "privacy": "protected",
11182
- "return": {
11183
- "type": {
11184
- "text": "HTMLTemplateResult"
11185
- }
11860
+ "name": "handleLeadingIconSlotChange",
11861
+ "privacy": "private",
11862
+ "inheritedFrom": {
11863
+ "name": "UmFieldBase",
11864
+ "module": "src/field/field-base.ts"
11186
11865
  }
11187
11866
  },
11188
11867
  {
11189
11868
  "kind": "method",
11190
- "name": "focus"
11191
- },
11192
- {
11193
- "kind": "method",
11194
- "name": "blur"
11195
- },
11196
- {
11197
- "kind": "method",
11198
- "name": "getAriaLabel",
11199
- "privacy": "protected",
11200
- "return": {
11201
- "type": {
11202
- "text": "string | null"
11203
- }
11869
+ "name": "handleTrailingIconSlotChange",
11870
+ "privacy": "private",
11871
+ "inheritedFrom": {
11872
+ "name": "UmFieldBase",
11873
+ "module": "src/field/field-base.ts"
11204
11874
  }
11205
11875
  },
11206
11876
  {
11207
11877
  "kind": "method",
11208
- "name": "innerFocusHandler",
11878
+ "name": "handleErrorTextSlotChange",
11209
11879
  "privacy": "private",
11210
- "return": {
11211
- "type": {
11212
- "text": "void"
11213
- }
11880
+ "inheritedFrom": {
11881
+ "name": "UmFieldBase",
11882
+ "module": "src/field/field-base.ts"
11214
11883
  }
11215
11884
  },
11216
11885
  {
11217
11886
  "kind": "method",
11218
- "name": "#innerClickHandler",
11219
- "return": {
11220
- "type": {
11221
- "text": "void"
11222
- }
11223
- },
11224
- "parameters": [
11225
- {
11226
- "name": "event",
11227
- "type": {
11228
- "text": "MouseEvent"
11229
- }
11230
- }
11231
- ]
11232
- },
11233
- {
11234
- "kind": "method",
11235
- "name": "handleClick",
11236
- "privacy": "protected",
11237
- "return": {
11238
- "type": {
11239
- "text": "void"
11240
- }
11241
- },
11242
- "parameters": [
11243
- {
11244
- "name": "_",
11245
- "type": {
11246
- "text": "UIEvent"
11247
- }
11248
- }
11249
- ]
11887
+ "name": "setLabelWidthProperties",
11888
+ "privacy": "private",
11889
+ "inheritedFrom": {
11890
+ "name": "UmFieldBase",
11891
+ "module": "src/field/field-base.ts"
11892
+ }
11250
11893
  }
11251
11894
  ],
11895
+ "superclass": {
11896
+ "name": "UmTextFieldBase",
11897
+ "module": "/src/shared/text-field-base/text-field-base.js"
11898
+ },
11899
+ "tagName": "u-select",
11900
+ "customElement": true,
11252
11901
  "attributes": [
11253
11902
  {
11254
- "name": "disabled",
11903
+ "name": "placeholder",
11255
11904
  "type": {
11256
- "text": "boolean"
11905
+ "text": "string | undefined"
11257
11906
  },
11258
- "default": "false",
11259
- "description": "Whether the button is disabled or not.",
11260
- "fieldName": "disabled"
11907
+ "fieldName": "placeholder",
11908
+ "inheritedFrom": {
11909
+ "name": "UmTextFieldBase",
11910
+ "module": "src/shared/text-field-base/text-field-base.ts"
11911
+ }
11261
11912
  },
11262
11913
  {
11263
- "name": "href",
11914
+ "name": "variant",
11915
+ "type": {
11916
+ "text": "'filled' | 'outlined' | undefined"
11917
+ },
11918
+ "default": "undefined",
11919
+ "resolveInitializer": {
11920
+ "module": "src/field/field-base.ts"
11921
+ },
11922
+ "fieldName": "variant",
11923
+ "inheritedFrom": {
11924
+ "name": "UmFieldBase",
11925
+ "module": "src/field/field-base.ts"
11926
+ }
11927
+ },
11928
+ {
11929
+ "name": "label",
11264
11930
  "type": {
11265
11931
  "text": "string | undefined"
11266
11932
  },
11267
- "description": "The URL that the link button points to.",
11268
- "fieldName": "href"
11933
+ "fieldName": "label",
11934
+ "inheritedFrom": {
11935
+ "name": "UmFieldBase",
11936
+ "module": "src/field/field-base.ts"
11937
+ }
11269
11938
  },
11270
11939
  {
11271
- "name": "target",
11940
+ "name": "counter",
11272
11941
  "type": {
11273
11942
  "text": "string | undefined"
11274
11943
  },
11275
- "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
11276
- "fieldName": "target"
11944
+ "fieldName": "counter",
11945
+ "inheritedFrom": {
11946
+ "name": "UmFieldBase",
11947
+ "module": "src/field/field-base.ts"
11948
+ }
11277
11949
  },
11278
11950
  {
11279
- "name": "name",
11951
+ "name": "supporting-text",
11280
11952
  "type": {
11281
11953
  "text": "string | undefined"
11282
11954
  },
11283
- "fieldName": "name"
11284
- }
11285
- ],
11286
- "superclass": {
11287
- "name": "LitElement",
11288
- "package": "lit"
11289
- },
11290
- "customElement": true
11291
- }
11292
- ],
11293
- "exports": [
11294
- {
11295
- "kind": "js",
11296
- "name": "UmButtonWrapper",
11297
- "declaration": {
11298
- "name": "UmButtonWrapper",
11299
- "module": "src/shared/button-wrapper.ts"
11300
- }
11301
- }
11302
- ]
11303
- },
11304
- {
11305
- "kind": "javascript-module",
11306
- "path": "src/shared/extract-template-html.ts",
11307
- "declarations": [
11308
- {
11309
- "kind": "function",
11310
- "name": "extractTemplateHtml",
11311
- "parameters": [
11955
+ "fieldName": "supportingText",
11956
+ "inheritedFrom": {
11957
+ "name": "UmFieldBase",
11958
+ "module": "src/field/field-base.ts"
11959
+ }
11960
+ },
11312
11961
  {
11313
- "name": "template",
11962
+ "name": "error-text",
11314
11963
  "type": {
11315
- "text": "HTMLTemplateElement"
11964
+ "text": "string | undefined"
11965
+ },
11966
+ "fieldName": "errorText",
11967
+ "inheritedFrom": {
11968
+ "name": "UmFieldBase",
11969
+ "module": "src/field/field-base.ts"
11316
11970
  }
11317
- }
11318
- ]
11319
- }
11320
- ],
11321
- "exports": [
11322
- {
11323
- "kind": "js",
11324
- "name": "extractTemplateHtml",
11325
- "declaration": {
11326
- "name": "extractTemplateHtml",
11327
- "module": "src/shared/extract-template-html.ts"
11328
- }
11329
- }
11330
- ]
11331
- },
11332
- {
11333
- "kind": "javascript-module",
11334
- "path": "src/shared/mixin-attribute-properties.ts",
11335
- "declarations": [
11336
- {
11337
- "kind": "mixin",
11338
- "description": "",
11339
- "name": "mixinAttributeProperties",
11340
- "parameters": [
11971
+ },
11341
11972
  {
11342
- "name": "base",
11973
+ "name": "empty",
11343
11974
  "type": {
11344
- "text": "T"
11975
+ "text": "boolean"
11976
+ },
11977
+ "default": "false",
11978
+ "fieldName": "empty",
11979
+ "inheritedFrom": {
11980
+ "name": "UmFieldBase",
11981
+ "module": "src/field/field-base.ts"
11345
11982
  }
11346
11983
  },
11347
11984
  {
11348
- "name": "properties",
11985
+ "name": "disabled",
11349
11986
  "type": {
11350
- "text": "string[]"
11987
+ "text": "boolean"
11988
+ },
11989
+ "default": "false",
11990
+ "fieldName": "disabled",
11991
+ "inheritedFrom": {
11992
+ "name": "UmFieldBase",
11993
+ "module": "src/field/field-base.ts"
11351
11994
  }
11352
- }
11353
- ]
11354
- }
11355
- ],
11356
- "exports": [
11357
- {
11358
- "kind": "js",
11359
- "name": "mixinAttributeProperties",
11360
- "declaration": {
11361
- "name": "mixinAttributeProperties",
11362
- "module": "src/shared/mixin-attribute-properties.ts"
11363
- }
11364
- }
11365
- ]
11366
- },
11367
- {
11368
- "kind": "javascript-module",
11369
- "path": "src/shared/mixin.ts",
11370
- "declarations": [],
11371
- "exports": []
11372
- },
11373
- {
11374
- "kind": "javascript-module",
11375
- "path": "src/shared/normalize-text.ts",
11376
- "declarations": [
11377
- {
11378
- "kind": "function",
11379
- "name": "normalizeText",
11380
- "return": {
11381
- "type": {
11382
- "text": "string"
11383
- }
11384
- },
11385
- "parameters": [
11995
+ },
11386
11996
  {
11387
- "name": "text",
11997
+ "name": "invalid",
11388
11998
  "type": {
11389
- "text": "string"
11999
+ "text": "boolean"
12000
+ },
12001
+ "default": "false",
12002
+ "fieldName": "invalid",
12003
+ "inheritedFrom": {
12004
+ "name": "UmFieldBase",
12005
+ "module": "src/field/field-base.ts"
11390
12006
  }
11391
- }
11392
- ]
11393
- }
11394
- ],
11395
- "exports": [
11396
- {
11397
- "kind": "js",
11398
- "name": "normalizeText",
11399
- "declaration": {
11400
- "name": "normalizeText",
11401
- "module": "src/shared/normalize-text.ts"
11402
- }
11403
- }
11404
- ]
11405
- },
11406
- {
11407
- "kind": "javascript-module",
11408
- "path": "src/shared/redispatch-event.ts",
11409
- "declarations": [
11410
- {
11411
- "kind": "function",
11412
- "name": "redispatchEvent",
11413
- "parameters": [
12007
+ },
11414
12008
  {
11415
- "name": "element",
12009
+ "name": "has-leading-icon",
11416
12010
  "type": {
11417
- "text": "Element"
12011
+ "text": "boolean"
12012
+ },
12013
+ "default": "false",
12014
+ "description": "Whether the field has a leading icon or not\n\n_Note:_ Readonly",
12015
+ "fieldName": "hasLeadingIcon",
12016
+ "inheritedFrom": {
12017
+ "name": "UmFieldBase",
12018
+ "module": "src/field/field-base.ts"
11418
12019
  }
11419
12020
  },
11420
12021
  {
11421
- "name": "event",
12022
+ "name": "has-trailing-icon",
11422
12023
  "type": {
11423
- "text": "Event"
12024
+ "text": "boolean"
12025
+ },
12026
+ "default": "false",
12027
+ "description": "Whether the field has a trailing icon or not\n\n_Note:_ Readonly",
12028
+ "fieldName": "hasTrailingIcon",
12029
+ "inheritedFrom": {
12030
+ "name": "UmFieldBase",
12031
+ "module": "src/field/field-base.ts"
12032
+ }
12033
+ },
12034
+ {
12035
+ "name": "has-error-text",
12036
+ "type": {
12037
+ "text": "boolean"
12038
+ },
12039
+ "default": "false",
12040
+ "description": "Whether the field has an error text or not\n\n_Note:_ Readonly",
12041
+ "fieldName": "hasErrorText",
12042
+ "inheritedFrom": {
12043
+ "name": "UmFieldBase",
12044
+ "module": "src/field/field-base.ts"
11424
12045
  }
11425
12046
  }
11426
12047
  ]
@@ -11429,332 +12050,356 @@
11429
12050
  "exports": [
11430
12051
  {
11431
12052
  "kind": "js",
11432
- "name": "redispatchEvent",
12053
+ "name": "UmSelect",
11433
12054
  "declaration": {
11434
- "name": "redispatchEvent",
11435
- "module": "src/shared/redispatch-event.ts"
12055
+ "name": "UmSelect",
12056
+ "module": "src/select/select.ts"
11436
12057
  }
11437
- }
11438
- ]
11439
- },
11440
- {
11441
- "kind": "javascript-module",
11442
- "path": "src/snackbar/snackbar.styles.ts",
11443
- "declarations": [
11444
- {
11445
- "kind": "variable",
11446
- "name": "styles",
11447
- "default": "css `\n :host {\n --u-elevation-level: var(--u-snackbar-elevation-level, 3);\n --_snackbar-margin: var(--u-snackbar-margin, var(--u-spacing-medium, 16px));\n position: fixed;\n inset-inline: 0;\n inset-block-end: 0;\n padding: var(--_snackbar-margin);\n z-index: var(--u-snackbar-z-index, 1070);\n display: flex;\n justify-content: center;\n }\n\n .snackbar {\n display: flex;\n align-items: center;\n min-height: var(--u-snackbar-height, 48px);\n color: var(--u-snackbar-text-color, var(--u-color-on-inverse-surface, rgb(245, 239, 247)));\n background-color: var(--u-snackbar-background-color, var(--u-color-inverse-surface, rgb(50, 47, 53)));\n border-radius: var(--u-snackbar-shape, var(--u-shape-corner-extra-small, 4px));\n animation-name: snackbar-fade-in;\n animation-duration: 450ms;\n animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n animation-fill-mode: forwards;\n min-width: var(--u-snackbar-min-width, 100%);\n max-width: var(--u-snackbar-max-width, 100%);\n }\n .snackbar.dismiss {\n animation-name: snackbar-fade-out;\n }\n\n u-button {\n color: var(--u-color-inverse-primary, );\n margin-inline: var(--u-snackbar-text-button-margin, var(--u-spacing-small, 8px));\n }\n\n u-icon-button {\n color: var(--u-color-on-inverse-surface, rgb(245, 239, 247));\n margin-inline: var(--u-snackbar-close-button-margin, var(--u-spacing-extra-small, 4px));\n }\n\n .label {\n flex: 1;\n overflow: hidden;\n color: var(--u-on-inverse-surface-color);\n padding: var(--u-snackbar-text-margin, var(--u-spacing-medium, 16px));\n line-height: 18px;\n }\n\n @media (min-width: 840px) {\n :host {\n --_snackbar-margin: var(--u-snackbar-margin, var(--u-spacing-large, 24px));\n }\n .snackbar {\n min-width: var(--u-snackbar-min-width, 288px);\n max-width: var(--u-snackbar-max-width, 568px);\n }\n }\n @keyframes snackbar-fade-in {\n 0% {\n opacity: 0;\n transform: scale3d(0.5, 0.5, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3d(1, 1, 1);\n }\n }\n @keyframes snackbar-fade-out {\n 0% {\n opacity: 1;\n transform: scale3d(1, 1, 1);\n }\n 100% {\n opacity: 0;\n transform: scale3d(0.5, 0.5, 1);\n }\n }\n`"
11448
- }
11449
- ],
11450
- "exports": [
12058
+ },
11451
12059
  {
11452
- "kind": "js",
11453
- "name": "styles",
12060
+ "kind": "custom-element-definition",
12061
+ "name": "u-select",
11454
12062
  "declaration": {
11455
- "name": "styles",
11456
- "module": "src/snackbar/snackbar.styles.ts"
12063
+ "name": "UmSelect",
12064
+ "module": "src/select/select.ts"
11457
12065
  }
11458
12066
  }
11459
12067
  ]
11460
12068
  },
11461
12069
  {
11462
12070
  "kind": "javascript-module",
11463
- "path": "src/snackbar/snackbar.ts",
12071
+ "path": "src/switch/switch-list-item.ts",
11464
12072
  "declarations": [
11465
12073
  {
11466
12074
  "kind": "class",
11467
12075
  "description": "",
11468
- "name": "UmSnackbar",
12076
+ "name": "UmSwitchListItem",
12077
+ "mixins": [
12078
+ {
12079
+ "name": "mixinSelectionControlListItem",
12080
+ "module": "/src/shared/selection-control/selection-control-list-item.js"
12081
+ }
12082
+ ],
12083
+ "superclass": {
12084
+ "name": "UmSwitch",
12085
+ "module": "/src/switch/switch.js"
12086
+ },
12087
+ "tagName": "u-switch-list-item",
12088
+ "customElement": true,
11469
12089
  "members": [
11470
12090
  {
11471
12091
  "kind": "field",
11472
- "name": "label",
12092
+ "name": "styles",
11473
12093
  "type": {
11474
- "text": "string"
12094
+ "text": "array"
11475
12095
  },
11476
- "default": "''",
11477
- "attribute": "label",
11478
- "reflects": true
12096
+ "static": true,
12097
+ "default": "[\n (base as unknown as typeof LitElement).styles ?? [],\n css`:host {\n --u-list-item-block-padding: 0;\n display: block;\n }`\n ]",
12098
+ "inheritedFrom": {
12099
+ "name": "mixinSelectionControlListItem",
12100
+ "module": "src/shared/selection-control/selection-control-list-item.ts"
12101
+ }
11479
12102
  },
11480
12103
  {
11481
- "kind": "field",
11482
- "name": "buttonLabel",
11483
- "type": {
11484
- "text": "string"
12104
+ "kind": "method",
12105
+ "name": "render",
12106
+ "return": {
12107
+ "type": {
12108
+ "text": "HTMLTemplateResult"
12109
+ }
11485
12110
  },
11486
- "default": "''",
11487
- "attribute": "buttonLabel",
11488
- "reflects": true
12111
+ "inheritedFrom": {
12112
+ "name": "mixinSelectionControlListItem",
12113
+ "module": "src/shared/selection-control/selection-control-list-item.ts"
12114
+ }
11489
12115
  },
11490
12116
  {
11491
12117
  "kind": "field",
11492
- "name": "showClose",
12118
+ "name": "renderRipple",
11493
12119
  "type": {
11494
12120
  "text": "boolean"
11495
12121
  },
12122
+ "privacy": "protected",
11496
12123
  "default": "false",
11497
- "attribute": "show-close",
11498
- "reflects": true
12124
+ "inheritedFrom": {
12125
+ "name": "UmSelectionControl",
12126
+ "module": "src/shared/selection-control/selection-control.ts"
12127
+ }
12128
+ },
12129
+ {
12130
+ "kind": "method",
12131
+ "name": "renderIndicator",
12132
+ "privacy": "protected",
12133
+ "return": {
12134
+ "type": {
12135
+ "text": "HTMLTemplateResult"
12136
+ }
12137
+ },
12138
+ "inheritedFrom": {
12139
+ "name": "UmSelectionControl",
12140
+ "module": "src/shared/selection-control/selection-control.ts"
12141
+ }
11499
12142
  },
11500
12143
  {
11501
12144
  "kind": "field",
11502
- "name": "dismissed",
12145
+ "name": "formAssociated",
11503
12146
  "type": {
11504
12147
  "text": "boolean"
11505
12148
  },
11506
- "default": "false",
11507
- "attribute": "dismissed",
11508
- "reflects": true
12149
+ "static": true,
12150
+ "default": "true",
12151
+ "inheritedFrom": {
12152
+ "name": "UmSelectionControl",
12153
+ "module": "src/shared/selection-control/selection-control.ts"
12154
+ }
12155
+ },
12156
+ {
12157
+ "kind": "field",
12158
+ "name": "elementInternals",
12159
+ "type": {
12160
+ "text": "ElementInternals"
12161
+ },
12162
+ "privacy": "protected",
12163
+ "inheritedFrom": {
12164
+ "name": "UmSelectionControl",
12165
+ "module": "src/shared/selection-control/selection-control.ts"
12166
+ }
12167
+ },
12168
+ {
12169
+ "kind": "field",
12170
+ "name": "name",
12171
+ "type": {
12172
+ "text": "string | undefined"
12173
+ },
12174
+ "default": "''",
12175
+ "attribute": "name",
12176
+ "inheritedFrom": {
12177
+ "name": "UmSelectionControl",
12178
+ "module": "src/shared/selection-control/selection-control.ts"
12179
+ }
11509
12180
  },
11510
12181
  {
11511
12182
  "kind": "field",
11512
- "name": "duration",
12183
+ "name": "disabled",
11513
12184
  "type": {
11514
- "text": "SnackbarDuration"
12185
+ "text": "boolean"
11515
12186
  },
11516
- "privacy": "private"
12187
+ "default": "false",
12188
+ "attribute": "disabled",
12189
+ "reflects": true,
12190
+ "inheritedFrom": {
12191
+ "name": "UmSelectionControl",
12192
+ "module": "src/shared/selection-control/selection-control.ts"
12193
+ }
11517
12194
  },
11518
12195
  {
11519
12196
  "kind": "field",
11520
- "name": "snackbar",
12197
+ "name": "input",
11521
12198
  "type": {
11522
- "text": "HTMLElement"
12199
+ "text": "HTMLInputElement"
11523
12200
  },
11524
- "privacy": "private"
11525
- },
11526
- {
11527
- "kind": "method",
11528
- "name": "renderButton",
11529
- "privacy": "private"
11530
- },
11531
- {
11532
- "kind": "method",
11533
- "name": "renderCloseButton",
11534
- "privacy": "private"
11535
- },
11536
- {
11537
- "kind": "method",
11538
- "name": "dismiss",
11539
- "return": {
11540
- "type": {
11541
- "text": "void"
11542
- }
12201
+ "inheritedFrom": {
12202
+ "name": "UmSelectionControl",
12203
+ "module": "src/shared/selection-control/selection-control.ts"
11543
12204
  }
11544
12205
  },
11545
12206
  {
11546
12207
  "kind": "field",
11547
- "name": "_queue",
12208
+ "name": "form",
11548
12209
  "type": {
11549
- "text": "UmSnackbar[]"
12210
+ "text": "HTMLFormElement | null"
11550
12211
  },
11551
- "privacy": "private",
11552
- "static": true,
11553
- "default": "[]"
12212
+ "inheritedFrom": {
12213
+ "name": "UmSelectionControl",
12214
+ "module": "src/shared/selection-control/selection-control.ts"
12215
+ }
11554
12216
  },
11555
12217
  {
11556
12218
  "kind": "field",
11557
- "name": "_consuming",
12219
+ "name": "#checked",
12220
+ "privacy": "private",
11558
12221
  "type": {
11559
12222
  "text": "boolean"
11560
12223
  },
11561
- "privacy": "private",
11562
- "static": true
11563
- },
11564
- {
11565
- "kind": "method",
11566
- "name": "show",
11567
- "static": true,
11568
- "return": {
11569
- "type": {
11570
- "text": "UmSnackbar"
11571
- }
11572
- },
11573
- "parameters": [
11574
- {
11575
- "name": "label",
11576
- "type": {
11577
- "text": "string"
11578
- }
11579
- }
11580
- ]
12224
+ "default": "false",
12225
+ "inheritedFrom": {
12226
+ "name": "UmSelectionControl",
12227
+ "module": "src/shared/selection-control/selection-control.ts"
12228
+ }
11581
12229
  },
11582
12230
  {
11583
- "kind": "method",
11584
- "name": "show",
11585
- "static": true,
11586
- "return": {
11587
- "type": {
11588
- "text": "UmSnackbar"
11589
- }
12231
+ "kind": "field",
12232
+ "name": "inputType",
12233
+ "type": {
12234
+ "text": "'checkbox' | 'radio'"
11590
12235
  },
11591
- "parameters": [
11592
- {
11593
- "name": "config",
11594
- "type": {
11595
- "text": "SnackbarConfig"
11596
- }
11597
- }
11598
- ]
12236
+ "privacy": "protected",
12237
+ "default": "'checkbox'",
12238
+ "inheritedFrom": {
12239
+ "name": "UmSelectionControl",
12240
+ "module": "src/shared/selection-control/selection-control.ts"
12241
+ }
11599
12242
  },
11600
12243
  {
11601
- "kind": "method",
11602
- "name": "show",
11603
- "static": true,
11604
- "return": {
11605
- "type": {
11606
- "text": "UmSnackbar"
11607
- }
12244
+ "kind": "field",
12245
+ "name": "value",
12246
+ "type": {
12247
+ "text": "string"
11608
12248
  },
11609
- "parameters": [
11610
- {
11611
- "name": "configOrLabel",
11612
- "type": {
11613
- "text": "SnackbarConfig | string"
11614
- }
11615
- }
11616
- ]
11617
- },
11618
- {
11619
- "kind": "method",
11620
- "name": "consumeQueue",
11621
- "privacy": "private",
11622
- "static": true
12249
+ "default": "'on'",
12250
+ "description": "The element value to use in form submission when checked.",
12251
+ "attribute": "value",
12252
+ "inheritedFrom": {
12253
+ "name": "UmSelectionControl",
12254
+ "module": "src/shared/selection-control/selection-control.ts"
12255
+ }
11623
12256
  },
11624
12257
  {
11625
- "kind": "method",
11626
- "name": "showNext",
11627
- "privacy": "private",
11628
- "static": true
12258
+ "kind": "field",
12259
+ "name": "checked",
12260
+ "attribute": "checked",
12261
+ "inheritedFrom": {
12262
+ "name": "UmSelectionControl",
12263
+ "module": "src/shared/selection-control/selection-control.ts"
12264
+ }
11629
12265
  },
11630
12266
  {
11631
12267
  "kind": "method",
11632
- "name": "createSnackbar",
11633
- "privacy": "private",
11634
- "static": true,
11635
- "return": {
11636
- "type": {
11637
- "text": "UmSnackbar"
11638
- }
11639
- },
12268
+ "name": "#handleClick",
11640
12269
  "parameters": [
11641
12270
  {
11642
- "name": "config",
12271
+ "name": "e",
11643
12272
  "type": {
11644
- "text": "SnackbarConfig"
12273
+ "text": "Event"
11645
12274
  }
11646
12275
  }
11647
- ]
12276
+ ],
12277
+ "inheritedFrom": {
12278
+ "name": "UmSelectionControl",
12279
+ "module": "src/shared/selection-control/selection-control.ts"
12280
+ }
11648
12281
  }
11649
12282
  ],
11650
12283
  "attributes": [
11651
12284
  {
11652
- "name": "label",
12285
+ "name": "name",
11653
12286
  "type": {
11654
- "text": "string"
12287
+ "text": "string | undefined"
11655
12288
  },
11656
12289
  "default": "''",
11657
- "fieldName": "label"
12290
+ "fieldName": "name",
12291
+ "inheritedFrom": {
12292
+ "name": "UmSelectionControl",
12293
+ "module": "src/shared/selection-control/selection-control.ts"
12294
+ }
11658
12295
  },
11659
12296
  {
11660
- "name": "buttonLabel",
12297
+ "name": "disabled",
12298
+ "type": {
12299
+ "text": "boolean"
12300
+ },
12301
+ "default": "false",
12302
+ "fieldName": "disabled",
12303
+ "inheritedFrom": {
12304
+ "name": "UmSelectionControl",
12305
+ "module": "src/shared/selection-control/selection-control.ts"
12306
+ }
12307
+ },
12308
+ {
12309
+ "name": "value",
11661
12310
  "type": {
11662
12311
  "text": "string"
11663
12312
  },
11664
- "default": "''",
11665
- "fieldName": "buttonLabel"
12313
+ "default": "'on'",
12314
+ "description": "The element value to use in form submission when checked.",
12315
+ "fieldName": "value",
12316
+ "inheritedFrom": {
12317
+ "name": "UmSelectionControl",
12318
+ "module": "src/shared/selection-control/selection-control.ts"
12319
+ }
11666
12320
  },
11667
12321
  {
11668
- "name": "show-close",
12322
+ "name": "checked",
12323
+ "fieldName": "checked",
12324
+ "inheritedFrom": {
12325
+ "name": "UmSelectionControl",
12326
+ "module": "src/shared/selection-control/selection-control.ts"
12327
+ }
12328
+ }
12329
+ ],
12330
+ "events": [
12331
+ {
12332
+ "name": "input",
11669
12333
  "type": {
11670
- "text": "boolean"
12334
+ "text": "InputEvent"
11671
12335
  },
11672
- "default": "false",
11673
- "fieldName": "showClose"
12336
+ "inheritedFrom": {
12337
+ "name": "UmSelectionControl",
12338
+ "module": "src/shared/selection-control/selection-control.ts"
12339
+ }
11674
12340
  },
11675
12341
  {
11676
- "name": "dismissed",
12342
+ "name": "change",
11677
12343
  "type": {
11678
- "text": "boolean"
12344
+ "text": "Event"
11679
12345
  },
11680
- "default": "false",
11681
- "fieldName": "dismissed"
12346
+ "inheritedFrom": {
12347
+ "name": "UmSelectionControl",
12348
+ "module": "src/shared/selection-control/selection-control.ts"
12349
+ }
11682
12350
  }
11683
- ],
11684
- "superclass": {
11685
- "name": "LitElement",
11686
- "package": "lit"
11687
- },
11688
- "tagName": "u-snackbar",
11689
- "customElement": true
12351
+ ]
12352
+ }
12353
+ ],
12354
+ "exports": [
12355
+ {
12356
+ "kind": "js",
12357
+ "name": "UmSwitchListItem",
12358
+ "declaration": {
12359
+ "name": "UmSwitchListItem",
12360
+ "module": "src/switch/switch-list-item.ts"
12361
+ }
12362
+ },
12363
+ {
12364
+ "kind": "custom-element-definition",
12365
+ "name": "u-switch-list-item",
12366
+ "declaration": {
12367
+ "name": "UmSwitchListItem",
12368
+ "module": "src/switch/switch-list-item.ts"
12369
+ }
12370
+ }
12371
+ ]
12372
+ },
12373
+ {
12374
+ "kind": "javascript-module",
12375
+ "path": "src/switch/switch.styles.ts",
12376
+ "declarations": [
12377
+ {
12378
+ "kind": "variable",
12379
+ "name": "styles",
12380
+ "default": "css `\n :host {\n --_state-layer-padding: var(--u-switch-state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u-switch-indicator-unselected-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n display: inline-block;\n vertical-align: middle;\n }\n\n .container {\n cursor: pointer;\n position: relative;\n width: var(--_width);\n height: var(--_height);\n padding: var(--_state-layer-padding);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n :host([hide-state-layer]) .container {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n padding: 0;\n }\n :host([hide-state-layer]) u-ripple {\n display: none;\n }\n\n input {\n cursor: pointer;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n border-radius: inherit;\n appearance: none;\n }\n\n u-ripple {\n padding: var(--_state-layer-padding);\n }\n\n .indicator-container {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n inset: 0;\n pointer-events: none;\n }\n\n input:checked ~ .indicator-container {\n --_indicator-color: var(--u-switch-indicator-unselected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u-switch-disabled-state-opacity, 0.38);\n }\n :host([disabled]) input,\n :host([disabled]) .container {\n cursor: default;\n }\n :host([disabled]) .indicator-container {\n --_indicator-color: var(--u-switch-indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n\n :host {\n --_width: 3.25rem;\n --_height: 2rem;\n --_state-layer-padding: 0;\n --_selected-track-background: var(--u-switch-track-background-color, var(--u-color-primary, rgb(103, 80, 164)));\n --_state-layer-size: var(--u-switch-state-layer-size, 2.5rem);\n --_unselected-color: var(--u-switch-track-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n --_unselected-handle-size: var(--u-swich-unselected-handle-size, 1rem);\n --_selected-handle-size: var(--u-swich-unselected-handle-size, 1.5rem);\n --_active-handle-size: var(--u-swich-unselected-handle-size, 1.75rem);\n }\n\n .indicator-container {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n width: var(--_height);\n transition: width 200ms;\n }\n\n .state-layer,\n .indicator {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .indicator {\n width: var(--_height);\n height: var(--_height);\n }\n\n .state-layer {\n flex-shrink: 0;\n width: var(--_state-layer-size);\n height: var(--_state-layer-size);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n .handle {\n width: var(--_unselected-handle-size);\n height: var(--_unselected-handle-size);\n background-color: var(--u-switch-unselected-handle-color, var(--_unselected-color));\n border-radius: var(--u-switch-handle-shape-corner, var(--u-shape-corner-full, 9999px));\n transition: background 200ms, width 200ms, height 200ms;\n }\n\n input {\n border: var(--u-switch-track-width, 0.125rem) solid var(--u-switch-unselected-track-outline-color, var(--_unselected-color));\n background-color: var(--u-switch-unselected-track-background-color, var(--u-color-surface-container-highest, rgb(230, 224, 233)));\n transition: background 200ms, border-color 200ms;\n }\n input:checked {\n background-color: var(--_selected-track-background);\n border-color: var(--_selected-track-background);\n }\n input:checked ~ .indicator-container {\n width: 100%;\n }\n input:checked ~ .indicator-container .handle {\n width: var(--_selected-handle-size);\n height: var(--_selected-handle-size);\n background-color: var(--u-switch-selected-handle-color, var(--u-color-on-primary, rgb(255, 255, 255)));\n }\n\n @media (hover: hover) {\n :host(:not([disabled]):hover) .state-layer {\n background-color: rgba(var(--u-color-on-surface-rgb, ), var(--u-switch-state-layer-hover-opacity, var(--u-state-hover-opacity, 0.08)));\n }\n }\n :host(:not([disabled]):active) .indicator-container .handle {\n width: var(--_active-handle-size);\n height: var(--_active-handle-size);\n }\n`"
11690
12381
  }
11691
12382
  ],
11692
12383
  "exports": [
11693
12384
  {
11694
12385
  "kind": "js",
11695
- "name": "UmSnackbar",
11696
- "declaration": {
11697
- "name": "UmSnackbar",
11698
- "module": "src/snackbar/snackbar.ts"
11699
- }
11700
- },
11701
- {
11702
- "kind": "custom-element-definition",
11703
- "name": "u-snackbar",
12386
+ "name": "styles",
11704
12387
  "declaration": {
11705
- "name": "UmSnackbar",
11706
- "module": "src/snackbar/snackbar.ts"
12388
+ "name": "styles",
12389
+ "module": "src/switch/switch.styles.ts"
11707
12390
  }
11708
12391
  }
11709
12392
  ]
11710
12393
  },
11711
12394
  {
11712
12395
  "kind": "javascript-module",
11713
- "path": "src/switch/switch-list-item.ts",
12396
+ "path": "src/switch/switch.ts",
11714
12397
  "declarations": [
11715
12398
  {
11716
12399
  "kind": "class",
11717
12400
  "description": "",
11718
- "name": "UmSwitchListItem",
11719
- "mixins": [
11720
- {
11721
- "name": "mixinSelectionControlListItem",
11722
- "module": "/src/shared/selection-control/selection-control-list-item.js"
11723
- }
11724
- ],
11725
- "superclass": {
11726
- "name": "UmSwitch",
11727
- "module": "/src/switch/switch.js"
11728
- },
11729
- "tagName": "u-switch-list-item",
11730
- "customElement": true,
12401
+ "name": "UmSwitch",
11731
12402
  "members": [
11732
- {
11733
- "kind": "field",
11734
- "name": "styles",
11735
- "type": {
11736
- "text": "array"
11737
- },
11738
- "static": true,
11739
- "default": "[\n (base as unknown as typeof LitElement).styles ?? [],\n css`:host {\n --u-list-item-block-padding: 0;\n display: block;\n }`\n ]",
11740
- "inheritedFrom": {
11741
- "name": "mixinSelectionControlListItem",
11742
- "module": "src/shared/selection-control/selection-control-list-item.ts"
11743
- }
11744
- },
11745
- {
11746
- "kind": "method",
11747
- "name": "render",
11748
- "return": {
11749
- "type": {
11750
- "text": "HTMLTemplateResult"
11751
- }
11752
- },
11753
- "inheritedFrom": {
11754
- "name": "mixinSelectionControlListItem",
11755
- "module": "src/shared/selection-control/selection-control-list-item.ts"
11756
- }
11757
- },
11758
12403
  {
11759
12404
  "kind": "field",
11760
12405
  "name": "renderRipple",
@@ -11922,6 +12567,12 @@
11922
12567
  }
11923
12568
  }
11924
12569
  ],
12570
+ "superclass": {
12571
+ "name": "UmSelectionControl",
12572
+ "module": "/src/shared/selection-control/selection-control.js"
12573
+ },
12574
+ "tagName": "u-switch",
12575
+ "customElement": true,
11925
12576
  "attributes": [
11926
12577
  {
11927
12578
  "name": "name",
@@ -11996,30 +12647,30 @@
11996
12647
  "exports": [
11997
12648
  {
11998
12649
  "kind": "js",
11999
- "name": "UmSwitchListItem",
12650
+ "name": "UmSwitch",
12000
12651
  "declaration": {
12001
- "name": "UmSwitchListItem",
12002
- "module": "src/switch/switch-list-item.ts"
12652
+ "name": "UmSwitch",
12653
+ "module": "src/switch/switch.ts"
12003
12654
  }
12004
12655
  },
12005
12656
  {
12006
12657
  "kind": "custom-element-definition",
12007
- "name": "u-switch-list-item",
12658
+ "name": "u-switch",
12008
12659
  "declaration": {
12009
- "name": "UmSwitchListItem",
12010
- "module": "src/switch/switch-list-item.ts"
12660
+ "name": "UmSwitch",
12661
+ "module": "src/switch/switch.ts"
12011
12662
  }
12012
12663
  }
12013
12664
  ]
12014
12665
  },
12015
12666
  {
12016
12667
  "kind": "javascript-module",
12017
- "path": "src/switch/switch.styles.ts",
12668
+ "path": "src/snackbar/snackbar.styles.ts",
12018
12669
  "declarations": [
12019
12670
  {
12020
12671
  "kind": "variable",
12021
12672
  "name": "styles",
12022
- "default": "css `\n :host {\n --_state-layer-padding: var(--u-switch-state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u-switch-indicator-unselected-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n display: inline-block;\n vertical-align: middle;\n }\n\n .container {\n cursor: pointer;\n position: relative;\n width: var(--_width);\n height: var(--_height);\n padding: var(--_state-layer-padding);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n :host([hide-state-layer]) .container {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n padding: 0;\n }\n :host([hide-state-layer]) u-ripple {\n display: none;\n }\n\n input {\n cursor: pointer;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n border-radius: inherit;\n appearance: none;\n }\n\n u-ripple {\n padding: var(--_state-layer-padding);\n }\n\n .indicator-container {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n inset: 0;\n pointer-events: none;\n }\n\n input:checked ~ .indicator-container {\n --_indicator-color: var(--u-switch-indicator-unselected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u-switch-disabled-state-opacity, 0.38);\n }\n :host([disabled]) input,\n :host([disabled]) .container {\n cursor: default;\n }\n :host([disabled]) .indicator-container {\n --_indicator-color: var(--u-switch-indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n\n :host {\n --_width: 3.25rem;\n --_height: 2rem;\n --_state-layer-padding: 0;\n --_selected-track-background: var(--u-switch-track-background-color, var(--u-color-primary, rgb(103, 80, 164)));\n --_state-layer-size: var(--u-switch-state-layer-size, 2.5rem);\n --_unselected-color: var(--u-switch-track-outline-color, var(--u-color-outline, rgb(121, 116, 126)));\n --_unselected-handle-size: var(--u-swich-unselected-handle-size, 1rem);\n --_selected-handle-size: var(--u-swich-unselected-handle-size, 1.5rem);\n --_active-handle-size: var(--u-swich-unselected-handle-size, 1.75rem);\n }\n\n .indicator-container {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n width: var(--_height);\n transition: width 200ms;\n }\n\n .state-layer,\n .indicator {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .indicator {\n width: var(--_height);\n height: var(--_height);\n }\n\n .state-layer {\n flex-shrink: 0;\n width: var(--_state-layer-size);\n height: var(--_state-layer-size);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n .handle {\n width: var(--_unselected-handle-size);\n height: var(--_unselected-handle-size);\n background-color: var(--u-switch-unselected-handle-color, var(--_unselected-color));\n border-radius: var(--u-switch-handle-shape-corner, var(--u-shape-corner-full, 9999px));\n transition: background 200ms, width 200ms, height 200ms;\n }\n\n input {\n border: var(--u-switch-track-width, 0.125rem) solid var(--u-switch-unselected-track-outline-color, var(--_unselected-color));\n background-color: var(--u-switch-unselected-track-background-color, var(--u-color-surface-container-highest, rgb(230, 224, 233)));\n transition: background 200ms, border-color 200ms;\n }\n input:checked {\n background-color: var(--_selected-track-background);\n border-color: var(--_selected-track-background);\n }\n input:checked ~ .indicator-container {\n width: 100%;\n }\n input:checked ~ .indicator-container .handle {\n width: var(--_selected-handle-size);\n height: var(--_selected-handle-size);\n background-color: var(--u-switch-selected-handle-color, var(--u-color-on-primary, rgb(255, 255, 255)));\n }\n\n @media (hover: hover) {\n :host(:not([disabled]):hover) .state-layer {\n background-color: rgba(var(--u-color-on-surface-rgb, ), var(--u-switch-state-layer-hover-opacity, var(--u-state-hover-opacity, 0.08)));\n }\n }\n :host(:not([disabled]):active) .indicator-container .handle {\n width: var(--_active-handle-size);\n height: var(--_active-handle-size);\n }\n`"
12673
+ "default": "css `\n :host {\n --u-elevation-level: var(--u-snackbar-elevation-level, 3);\n --_snackbar-margin: var(--u-snackbar-margin, var(--u-spacing-medium, 16px));\n position: fixed;\n inset-inline: 0;\n inset-block-end: 0;\n padding: var(--_snackbar-margin);\n z-index: var(--u-snackbar-z-index, 1070);\n display: flex;\n justify-content: center;\n }\n\n .snackbar {\n display: flex;\n align-items: center;\n min-height: var(--u-snackbar-height, 48px);\n color: var(--u-snackbar-text-color, var(--u-color-on-inverse-surface, rgb(245, 239, 247)));\n background-color: var(--u-snackbar-background-color, var(--u-color-inverse-surface, rgb(50, 47, 53)));\n border-radius: var(--u-snackbar-shape, var(--u-shape-corner-extra-small, 4px));\n animation-name: snackbar-fade-in;\n animation-duration: 450ms;\n animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n animation-fill-mode: forwards;\n min-width: var(--u-snackbar-min-width, 100%);\n max-width: var(--u-snackbar-max-width, 100%);\n }\n .snackbar.dismiss {\n animation-name: snackbar-fade-out;\n }\n\n u-button {\n color: var(--u-color-inverse-primary, );\n margin-inline: var(--u-snackbar-text-button-margin, var(--u-spacing-small, 8px));\n }\n\n u-icon-button {\n color: var(--u-color-on-inverse-surface, rgb(245, 239, 247));\n margin-inline: var(--u-snackbar-close-button-margin, var(--u-spacing-extra-small, 4px));\n }\n\n .label {\n flex: 1;\n overflow: hidden;\n color: var(--u-on-inverse-surface-color);\n padding: var(--u-snackbar-text-margin, var(--u-spacing-medium, 16px));\n line-height: 18px;\n }\n\n @media (min-width: 840px) {\n :host {\n --_snackbar-margin: var(--u-snackbar-margin, var(--u-spacing-large, 24px));\n }\n .snackbar {\n min-width: var(--u-snackbar-min-width, 288px);\n max-width: var(--u-snackbar-max-width, 568px);\n }\n }\n @keyframes snackbar-fade-in {\n 0% {\n opacity: 0;\n transform: scale3d(0.5, 0.5, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3d(1, 1, 1);\n }\n }\n @keyframes snackbar-fade-out {\n 0% {\n opacity: 1;\n transform: scale3d(1, 1, 1);\n }\n 100% {\n opacity: 0;\n transform: scale3d(0.5, 0.5, 1);\n }\n }\n`"
12023
12674
  }
12024
12675
  ],
12025
12676
  "exports": [
@@ -12028,279 +12679,257 @@
12028
12679
  "name": "styles",
12029
12680
  "declaration": {
12030
12681
  "name": "styles",
12031
- "module": "src/switch/switch.styles.ts"
12682
+ "module": "src/snackbar/snackbar.styles.ts"
12032
12683
  }
12033
12684
  }
12034
12685
  ]
12035
12686
  },
12036
12687
  {
12037
12688
  "kind": "javascript-module",
12038
- "path": "src/switch/switch.ts",
12689
+ "path": "src/snackbar/snackbar.ts",
12039
12690
  "declarations": [
12040
12691
  {
12041
12692
  "kind": "class",
12042
12693
  "description": "",
12043
- "name": "UmSwitch",
12694
+ "name": "UmSnackbar",
12044
12695
  "members": [
12045
12696
  {
12046
12697
  "kind": "field",
12047
- "name": "renderRipple",
12698
+ "name": "label",
12048
12699
  "type": {
12049
- "text": "boolean"
12700
+ "text": "string"
12050
12701
  },
12051
- "privacy": "protected",
12052
- "default": "false",
12053
- "inheritedFrom": {
12054
- "name": "UmSelectionControl",
12055
- "module": "src/shared/selection-control/selection-control.ts"
12056
- }
12702
+ "default": "''",
12703
+ "attribute": "label",
12704
+ "reflects": true
12057
12705
  },
12058
12706
  {
12059
- "kind": "method",
12060
- "name": "renderIndicator",
12061
- "privacy": "protected",
12062
- "return": {
12063
- "type": {
12064
- "text": "HTMLTemplateResult"
12065
- }
12707
+ "kind": "field",
12708
+ "name": "buttonLabel",
12709
+ "type": {
12710
+ "text": "string"
12066
12711
  },
12067
- "inheritedFrom": {
12068
- "name": "UmSelectionControl",
12069
- "module": "src/shared/selection-control/selection-control.ts"
12070
- }
12712
+ "default": "''",
12713
+ "attribute": "buttonLabel",
12714
+ "reflects": true
12071
12715
  },
12072
12716
  {
12073
12717
  "kind": "field",
12074
- "name": "formAssociated",
12718
+ "name": "showClose",
12075
12719
  "type": {
12076
12720
  "text": "boolean"
12077
12721
  },
12078
- "static": true,
12079
- "default": "true",
12080
- "inheritedFrom": {
12081
- "name": "UmSelectionControl",
12082
- "module": "src/shared/selection-control/selection-control.ts"
12083
- }
12722
+ "default": "false",
12723
+ "attribute": "show-close",
12724
+ "reflects": true
12084
12725
  },
12085
12726
  {
12086
12727
  "kind": "field",
12087
- "name": "elementInternals",
12728
+ "name": "dismissed",
12088
12729
  "type": {
12089
- "text": "ElementInternals"
12730
+ "text": "boolean"
12090
12731
  },
12091
- "privacy": "protected",
12092
- "inheritedFrom": {
12093
- "name": "UmSelectionControl",
12094
- "module": "src/shared/selection-control/selection-control.ts"
12095
- }
12732
+ "default": "false",
12733
+ "attribute": "dismissed",
12734
+ "reflects": true
12096
12735
  },
12097
12736
  {
12098
12737
  "kind": "field",
12099
- "name": "name",
12738
+ "name": "duration",
12100
12739
  "type": {
12101
- "text": "string | undefined"
12740
+ "text": "SnackbarDuration"
12102
12741
  },
12103
- "default": "''",
12104
- "attribute": "name",
12105
- "inheritedFrom": {
12106
- "name": "UmSelectionControl",
12107
- "module": "src/shared/selection-control/selection-control.ts"
12108
- }
12742
+ "privacy": "private"
12109
12743
  },
12110
12744
  {
12111
12745
  "kind": "field",
12112
- "name": "disabled",
12746
+ "name": "snackbar",
12113
12747
  "type": {
12114
- "text": "boolean"
12748
+ "text": "HTMLElement"
12115
12749
  },
12116
- "default": "false",
12117
- "attribute": "disabled",
12118
- "reflects": true,
12119
- "inheritedFrom": {
12120
- "name": "UmSelectionControl",
12121
- "module": "src/shared/selection-control/selection-control.ts"
12122
- }
12750
+ "privacy": "private"
12123
12751
  },
12124
12752
  {
12125
- "kind": "field",
12126
- "name": "input",
12127
- "type": {
12128
- "text": "HTMLInputElement"
12129
- },
12130
- "inheritedFrom": {
12131
- "name": "UmSelectionControl",
12132
- "module": "src/shared/selection-control/selection-control.ts"
12753
+ "kind": "method",
12754
+ "name": "renderButton",
12755
+ "privacy": "private"
12756
+ },
12757
+ {
12758
+ "kind": "method",
12759
+ "name": "renderCloseButton",
12760
+ "privacy": "private"
12761
+ },
12762
+ {
12763
+ "kind": "method",
12764
+ "name": "dismiss",
12765
+ "return": {
12766
+ "type": {
12767
+ "text": "void"
12768
+ }
12133
12769
  }
12134
12770
  },
12135
12771
  {
12136
12772
  "kind": "field",
12137
- "name": "form",
12773
+ "name": "_queue",
12138
12774
  "type": {
12139
- "text": "HTMLFormElement | null"
12775
+ "text": "UmSnackbar[]"
12140
12776
  },
12141
- "inheritedFrom": {
12142
- "name": "UmSelectionControl",
12143
- "module": "src/shared/selection-control/selection-control.ts"
12144
- }
12777
+ "privacy": "private",
12778
+ "static": true,
12779
+ "default": "[]"
12145
12780
  },
12146
12781
  {
12147
12782
  "kind": "field",
12148
- "name": "#checked",
12149
- "privacy": "private",
12783
+ "name": "_consuming",
12150
12784
  "type": {
12151
12785
  "text": "boolean"
12152
12786
  },
12153
- "default": "false",
12154
- "inheritedFrom": {
12155
- "name": "UmSelectionControl",
12156
- "module": "src/shared/selection-control/selection-control.ts"
12157
- }
12787
+ "privacy": "private",
12788
+ "static": true
12158
12789
  },
12159
12790
  {
12160
- "kind": "field",
12161
- "name": "inputType",
12162
- "type": {
12163
- "text": "'checkbox' | 'radio'"
12791
+ "kind": "method",
12792
+ "name": "show",
12793
+ "static": true,
12794
+ "return": {
12795
+ "type": {
12796
+ "text": "UmSnackbar"
12797
+ }
12164
12798
  },
12165
- "privacy": "protected",
12166
- "default": "'checkbox'",
12167
- "inheritedFrom": {
12168
- "name": "UmSelectionControl",
12169
- "module": "src/shared/selection-control/selection-control.ts"
12170
- }
12799
+ "parameters": [
12800
+ {
12801
+ "name": "label",
12802
+ "type": {
12803
+ "text": "string"
12804
+ }
12805
+ }
12806
+ ]
12807
+ },
12808
+ {
12809
+ "kind": "method",
12810
+ "name": "show",
12811
+ "static": true,
12812
+ "return": {
12813
+ "type": {
12814
+ "text": "UmSnackbar"
12815
+ }
12816
+ },
12817
+ "parameters": [
12818
+ {
12819
+ "name": "config",
12820
+ "type": {
12821
+ "text": "SnackbarConfig"
12822
+ }
12823
+ }
12824
+ ]
12171
12825
  },
12172
12826
  {
12173
- "kind": "field",
12174
- "name": "value",
12175
- "type": {
12176
- "text": "string"
12827
+ "kind": "method",
12828
+ "name": "show",
12829
+ "static": true,
12830
+ "return": {
12831
+ "type": {
12832
+ "text": "UmSnackbar"
12833
+ }
12177
12834
  },
12178
- "default": "'on'",
12179
- "description": "The element value to use in form submission when checked.",
12180
- "attribute": "value",
12181
- "inheritedFrom": {
12182
- "name": "UmSelectionControl",
12183
- "module": "src/shared/selection-control/selection-control.ts"
12184
- }
12835
+ "parameters": [
12836
+ {
12837
+ "name": "configOrLabel",
12838
+ "type": {
12839
+ "text": "SnackbarConfig | string"
12840
+ }
12841
+ }
12842
+ ]
12185
12843
  },
12186
12844
  {
12187
- "kind": "field",
12188
- "name": "checked",
12189
- "attribute": "checked",
12190
- "inheritedFrom": {
12191
- "name": "UmSelectionControl",
12192
- "module": "src/shared/selection-control/selection-control.ts"
12193
- }
12845
+ "kind": "method",
12846
+ "name": "consumeQueue",
12847
+ "privacy": "private",
12848
+ "static": true
12194
12849
  },
12195
12850
  {
12196
12851
  "kind": "method",
12197
- "name": "#handleClick",
12852
+ "name": "showNext",
12853
+ "privacy": "private",
12854
+ "static": true
12855
+ },
12856
+ {
12857
+ "kind": "method",
12858
+ "name": "createSnackbar",
12859
+ "privacy": "private",
12860
+ "static": true,
12861
+ "return": {
12862
+ "type": {
12863
+ "text": "UmSnackbar"
12864
+ }
12865
+ },
12198
12866
  "parameters": [
12199
12867
  {
12200
- "name": "e",
12868
+ "name": "config",
12201
12869
  "type": {
12202
- "text": "Event"
12870
+ "text": "SnackbarConfig"
12203
12871
  }
12204
12872
  }
12205
- ],
12206
- "inheritedFrom": {
12207
- "name": "UmSelectionControl",
12208
- "module": "src/shared/selection-control/selection-control.ts"
12209
- }
12873
+ ]
12210
12874
  }
12211
12875
  ],
12212
- "superclass": {
12213
- "name": "UmSelectionControl",
12214
- "module": "/src/shared/selection-control/selection-control.js"
12215
- },
12216
- "tagName": "u-switch",
12217
- "customElement": true,
12218
12876
  "attributes": [
12219
12877
  {
12220
- "name": "name",
12878
+ "name": "label",
12221
12879
  "type": {
12222
- "text": "string | undefined"
12880
+ "text": "string"
12223
12881
  },
12224
12882
  "default": "''",
12225
- "fieldName": "name",
12226
- "inheritedFrom": {
12227
- "name": "UmSelectionControl",
12228
- "module": "src/shared/selection-control/selection-control.ts"
12229
- }
12230
- },
12231
- {
12232
- "name": "disabled",
12233
- "type": {
12234
- "text": "boolean"
12235
- },
12236
- "default": "false",
12237
- "fieldName": "disabled",
12238
- "inheritedFrom": {
12239
- "name": "UmSelectionControl",
12240
- "module": "src/shared/selection-control/selection-control.ts"
12241
- }
12883
+ "fieldName": "label"
12242
12884
  },
12243
12885
  {
12244
- "name": "value",
12886
+ "name": "buttonLabel",
12245
12887
  "type": {
12246
12888
  "text": "string"
12247
12889
  },
12248
- "default": "'on'",
12249
- "description": "The element value to use in form submission when checked.",
12250
- "fieldName": "value",
12251
- "inheritedFrom": {
12252
- "name": "UmSelectionControl",
12253
- "module": "src/shared/selection-control/selection-control.ts"
12254
- }
12890
+ "default": "''",
12891
+ "fieldName": "buttonLabel"
12255
12892
  },
12256
12893
  {
12257
- "name": "checked",
12258
- "fieldName": "checked",
12259
- "inheritedFrom": {
12260
- "name": "UmSelectionControl",
12261
- "module": "src/shared/selection-control/selection-control.ts"
12262
- }
12263
- }
12264
- ],
12265
- "events": [
12266
- {
12267
- "name": "input",
12894
+ "name": "show-close",
12268
12895
  "type": {
12269
- "text": "InputEvent"
12896
+ "text": "boolean"
12270
12897
  },
12271
- "inheritedFrom": {
12272
- "name": "UmSelectionControl",
12273
- "module": "src/shared/selection-control/selection-control.ts"
12274
- }
12898
+ "default": "false",
12899
+ "fieldName": "showClose"
12275
12900
  },
12276
12901
  {
12277
- "name": "change",
12902
+ "name": "dismissed",
12278
12903
  "type": {
12279
- "text": "Event"
12904
+ "text": "boolean"
12280
12905
  },
12281
- "inheritedFrom": {
12282
- "name": "UmSelectionControl",
12283
- "module": "src/shared/selection-control/selection-control.ts"
12284
- }
12906
+ "default": "false",
12907
+ "fieldName": "dismissed"
12285
12908
  }
12286
- ]
12909
+ ],
12910
+ "superclass": {
12911
+ "name": "LitElement",
12912
+ "package": "lit"
12913
+ },
12914
+ "tagName": "u-snackbar",
12915
+ "customElement": true
12287
12916
  }
12288
12917
  ],
12289
12918
  "exports": [
12290
12919
  {
12291
12920
  "kind": "js",
12292
- "name": "UmSwitch",
12921
+ "name": "UmSnackbar",
12293
12922
  "declaration": {
12294
- "name": "UmSwitch",
12295
- "module": "src/switch/switch.ts"
12923
+ "name": "UmSnackbar",
12924
+ "module": "src/snackbar/snackbar.ts"
12296
12925
  }
12297
12926
  },
12298
12927
  {
12299
12928
  "kind": "custom-element-definition",
12300
- "name": "u-switch",
12929
+ "name": "u-snackbar",
12301
12930
  "declaration": {
12302
- "name": "UmSwitch",
12303
- "module": "src/switch/switch.ts"
12931
+ "name": "UmSnackbar",
12932
+ "module": "src/snackbar/snackbar.ts"
12304
12933
  }
12305
12934
  }
12306
12935
  ]
@@ -12365,6 +12994,24 @@
12365
12994
  },
12366
12995
  "attribute": "suffix-text"
12367
12996
  },
12997
+ {
12998
+ "kind": "field",
12999
+ "name": "autocomplete",
13000
+ "type": {
13001
+ "text": "AutoFill | undefined"
13002
+ },
13003
+ "attribute": "autocomplete",
13004
+ "reflects": true
13005
+ },
13006
+ {
13007
+ "kind": "field",
13008
+ "name": "autocapitalize",
13009
+ "type": {
13010
+ "text": "string"
13011
+ },
13012
+ "attribute": "autocapitalize",
13013
+ "reflects": true
13014
+ },
12368
13015
  {
12369
13016
  "kind": "field",
12370
13017
  "name": "input",
@@ -12777,6 +13424,20 @@
12777
13424
  "name": "UmFieldBase",
12778
13425
  "module": "src/field/field-base.ts"
12779
13426
  }
13427
+ },
13428
+ {
13429
+ "kind": "method",
13430
+ "name": "renderDefaultTrailingIcon",
13431
+ "privacy": "protected",
13432
+ "return": {
13433
+ "type": {
13434
+ "text": "TemplateResult | typeof nothing"
13435
+ }
13436
+ },
13437
+ "inheritedFrom": {
13438
+ "name": "UmFieldBase",
13439
+ "module": "src/field/field-base.ts"
13440
+ }
12780
13441
  }
12781
13442
  ],
12782
13443
  "attributes": [
@@ -12798,6 +13459,20 @@
12798
13459
  },
12799
13460
  "fieldName": "suffixText"
12800
13461
  },
13462
+ {
13463
+ "name": "autocomplete",
13464
+ "type": {
13465
+ "text": "AutoFill | undefined"
13466
+ },
13467
+ "fieldName": "autocomplete"
13468
+ },
13469
+ {
13470
+ "name": "autocapitalize",
13471
+ "type": {
13472
+ "text": "string"
13473
+ },
13474
+ "fieldName": "autocapitalize"
13475
+ },
12801
13476
  {
12802
13477
  "name": "placeholder",
12803
13478
  "type": {
@@ -13741,7 +14416,7 @@
13741
14416
  "kind": "field",
13742
14417
  "name": "target",
13743
14418
  "type": {
13744
- "text": "HTMLElement & {input?: HTMLInputElement; container?: HTMLElement; value: string} | null"
14419
+ "text": "HTMLElement & {autocomplete: AutoFill; input?: HTMLInputElement; container?: HTMLElement; value: string} | null"
13745
14420
  },
13746
14421
  "privacy": "private",
13747
14422
  "default": "null"
@@ -13755,6 +14430,12 @@
13755
14430
  },
13756
14431
  "default": "null"
13757
14432
  },
14433
+ {
14434
+ "kind": "field",
14435
+ "name": "#navigationController",
14436
+ "privacy": "private",
14437
+ "default": "new MenuFieldNavigationController(this)"
14438
+ },
13758
14439
  {
13759
14440
  "kind": "field",
13760
14441
  "name": "#termNormalized",
@@ -13868,6 +14549,26 @@
13868
14549
  "attribute": "editable",
13869
14550
  "reflects": true
13870
14551
  },
14552
+ {
14553
+ "kind": "field",
14554
+ "name": "autocomplete",
14555
+ "type": {
14556
+ "text": "AutoFill"
14557
+ },
14558
+ "default": "'off'",
14559
+ "attribute": "autocomplete",
14560
+ "reflects": true
14561
+ },
14562
+ {
14563
+ "kind": "field",
14564
+ "name": "spellcheck",
14565
+ "type": {
14566
+ "text": "boolean"
14567
+ },
14568
+ "default": "false",
14569
+ "attribute": "spellcheck",
14570
+ "reflects": true
14571
+ },
13871
14572
  {
13872
14573
  "kind": "field",
13873
14574
  "name": "form",
@@ -13931,43 +14632,6 @@
13931
14632
  "name": "#handleInput",
13932
14633
  "privacy": "private"
13933
14634
  },
13934
- {
13935
- "kind": "field",
13936
- "name": "handleKeyDown",
13937
- "privacy": "private"
13938
- },
13939
- {
13940
- "kind": "method",
13941
- "name": "navigate",
13942
- "privacy": "private",
13943
- "parameters": [
13944
- {
13945
- "name": "event",
13946
- "type": {
13947
- "text": "KeyboardEvent"
13948
- }
13949
- },
13950
- {
13951
- "name": "forwards",
13952
- "type": {
13953
- "text": "boolean"
13954
- }
13955
- }
13956
- ]
13957
- },
13958
- {
13959
- "kind": "method",
13960
- "name": "selectActiveItem",
13961
- "privacy": "private",
13962
- "parameters": [
13963
- {
13964
- "name": "event",
13965
- "type": {
13966
- "text": "KeyboardEvent"
13967
- }
13968
- }
13969
- ]
13970
- },
13971
14635
  {
13972
14636
  "kind": "method",
13973
14637
  "name": "#getItemClickHandler",
@@ -14060,7 +14724,19 @@
14060
14724
  "type": {
14061
14725
  "text": "string"
14062
14726
  }
14063
- }
14727
+ }
14728
+ },
14729
+ {
14730
+ "kind": "method",
14731
+ "name": "#handleClick",
14732
+ "parameters": [
14733
+ {
14734
+ "name": "e",
14735
+ "type": {
14736
+ "text": "Event"
14737
+ }
14738
+ }
14739
+ ]
14064
14740
  }
14065
14741
  ],
14066
14742
  "events": [
@@ -14125,6 +14801,22 @@
14125
14801
  "default": "false",
14126
14802
  "fieldName": "editable"
14127
14803
  },
14804
+ {
14805
+ "name": "autocomplete",
14806
+ "type": {
14807
+ "text": "AutoFill"
14808
+ },
14809
+ "default": "'off'",
14810
+ "fieldName": "autocomplete"
14811
+ },
14812
+ {
14813
+ "name": "spellcheck",
14814
+ "type": {
14815
+ "text": "boolean"
14816
+ },
14817
+ "default": "false",
14818
+ "fieldName": "spellcheck"
14819
+ },
14128
14820
  {
14129
14821
  "name": "target-id",
14130
14822
  "type": {
@@ -14202,54 +14894,200 @@
14202
14894
  },
14203
14895
  {
14204
14896
  "kind": "javascript-module",
14205
- "path": "src/shared/sets/set-base.ts",
14897
+ "path": "src/shared/menu-field/menu-field-navigation-controller.ts",
14206
14898
  "declarations": [
14207
14899
  {
14208
14900
  "kind": "class",
14209
14901
  "description": "",
14210
- "name": "UmSetBase",
14902
+ "name": "MenuFieldNavigationController",
14211
14903
  "members": [
14212
14904
  {
14213
14905
  "kind": "field",
14214
- "name": "alignment",
14906
+ "name": "#element",
14907
+ "privacy": "private",
14215
14908
  "type": {
14216
- "text": "'start' | 'center' | 'end'"
14909
+ "text": "HTMLElement | null"
14217
14910
  },
14218
- "default": "'start'",
14219
- "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
14220
- "attribute": "alignment",
14221
- "reflects": true
14222
- }
14223
- ],
14224
- "attributes": [
14911
+ "default": "null"
14912
+ },
14225
14913
  {
14226
- "name": "alignment",
14914
+ "kind": "field",
14915
+ "name": "focusedMenu",
14227
14916
  "type": {
14228
- "text": "'start' | 'center' | 'end'"
14917
+ "text": "TMenuItem | null"
14229
14918
  },
14230
- "default": "'start'",
14231
- "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
14232
- "fieldName": "alignment"
14919
+ "privacy": "protected",
14920
+ "default": "null"
14921
+ },
14922
+ {
14923
+ "kind": "field",
14924
+ "name": "host",
14925
+ "type": {
14926
+ "text": "TField"
14927
+ },
14928
+ "privacy": "protected",
14929
+ "default": "host"
14930
+ },
14931
+ {
14932
+ "kind": "field",
14933
+ "name": "bindHandleKeyDown",
14934
+ "type": {
14935
+ "text": "(event: KeyboardEvent) => void"
14936
+ },
14937
+ "privacy": "private"
14938
+ },
14939
+ {
14940
+ "kind": "method",
14941
+ "name": "attach",
14942
+ "parameters": [
14943
+ {
14944
+ "name": "element",
14945
+ "type": {
14946
+ "text": "HTMLElement"
14947
+ }
14948
+ }
14949
+ ]
14950
+ },
14951
+ {
14952
+ "kind": "method",
14953
+ "name": "detach"
14954
+ },
14955
+ {
14956
+ "kind": "field",
14957
+ "name": "#handleMenuClose",
14958
+ "privacy": "private"
14959
+ },
14960
+ {
14961
+ "kind": "method",
14962
+ "name": "handleKeyDown",
14963
+ "privacy": "protected",
14964
+ "return": {
14965
+ "type": {
14966
+ "text": "boolean"
14967
+ }
14968
+ },
14969
+ "parameters": [
14970
+ {
14971
+ "name": "event",
14972
+ "type": {
14973
+ "text": "KeyboardEvent"
14974
+ }
14975
+ }
14976
+ ]
14977
+ },
14978
+ {
14979
+ "kind": "method",
14980
+ "name": "navigate",
14981
+ "privacy": "private",
14982
+ "parameters": [
14983
+ {
14984
+ "name": "event",
14985
+ "type": {
14986
+ "text": "KeyboardEvent"
14987
+ }
14988
+ },
14989
+ {
14990
+ "name": "forwards",
14991
+ "type": {
14992
+ "text": "boolean"
14993
+ }
14994
+ }
14995
+ ]
14996
+ },
14997
+ {
14998
+ "kind": "method",
14999
+ "name": "navigateTo",
15000
+ "privacy": "protected",
15001
+ "parameters": [
15002
+ {
15003
+ "name": "event",
15004
+ "type": {
15005
+ "text": "KeyboardEvent"
15006
+ }
15007
+ },
15008
+ {
15009
+ "name": "menu",
15010
+ "type": {
15011
+ "text": "TMenuItem | undefined"
15012
+ }
15013
+ }
15014
+ ]
15015
+ },
15016
+ {
15017
+ "kind": "method",
15018
+ "name": "focusMenu",
15019
+ "parameters": [
15020
+ {
15021
+ "name": "menu",
15022
+ "type": {
15023
+ "text": "TMenuItem"
15024
+ }
15025
+ },
15026
+ {
15027
+ "name": "active",
15028
+ "default": "true"
15029
+ },
15030
+ {
15031
+ "name": "scroll",
15032
+ "default": "true"
15033
+ }
15034
+ ]
15035
+ },
15036
+ {
15037
+ "kind": "method",
15038
+ "name": "blurMenu"
15039
+ },
15040
+ {
15041
+ "kind": "method",
15042
+ "name": "selectActiveItem",
15043
+ "privacy": "private",
15044
+ "parameters": [
15045
+ {
15046
+ "name": "event",
15047
+ "type": {
15048
+ "text": "KeyboardEvent"
15049
+ }
15050
+ }
15051
+ ]
15052
+ },
15053
+ {
15054
+ "kind": "method",
15055
+ "name": "afterFocus",
15056
+ "privacy": "protected",
15057
+ "parameters": [
15058
+ {
15059
+ "name": "_",
15060
+ "type": {
15061
+ "text": "TMenuItem"
15062
+ }
15063
+ }
15064
+ ]
15065
+ },
15066
+ {
15067
+ "kind": "method",
15068
+ "name": "afterBlur",
15069
+ "privacy": "protected"
14233
15070
  }
14234
- ],
14235
- "superclass": {
14236
- "name": "LitElement",
14237
- "package": "lit"
14238
- },
14239
- "customElement": true
15071
+ ]
14240
15072
  }
14241
15073
  ],
14242
15074
  "exports": [
14243
15075
  {
14244
15076
  "kind": "js",
14245
- "name": "UmSetBase",
15077
+ "name": "MenuFieldNavigationController",
14246
15078
  "declaration": {
14247
- "name": "UmSetBase",
14248
- "module": "src/shared/sets/set-base.ts"
15079
+ "name": "MenuFieldNavigationController",
15080
+ "module": "src/shared/menu-field/menu-field-navigation-controller.ts"
14249
15081
  }
14250
15082
  }
14251
15083
  ]
14252
15084
  },
15085
+ {
15086
+ "kind": "javascript-module",
15087
+ "path": "src/shared/menu-field/menu-field.ts",
15088
+ "declarations": [],
15089
+ "exports": []
15090
+ },
14253
15091
  {
14254
15092
  "kind": "javascript-module",
14255
15093
  "path": "src/shared/selection-control/selection-control-list-item.ts",
@@ -14507,6 +15345,77 @@
14507
15345
  }
14508
15346
  ]
14509
15347
  },
15348
+ {
15349
+ "kind": "javascript-module",
15350
+ "path": "src/shared/sets/set-base.styles.ts",
15351
+ "declarations": [
15352
+ {
15353
+ "kind": "variable",
15354
+ "name": "styles",
15355
+ "default": "css `\n :host {\n display: flex;\n gap: 8px;\n align-items: center;\n flex-wrap: nowrap;\n }\n\n :host([alignment=start]) {\n justify-content: flex-start;\n }\n\n :host([alignment=center]) {\n justify-content: center;\n }\n\n :host([alignment=end]) {\n justify-content: flex-end;\n }\n`"
15356
+ }
15357
+ ],
15358
+ "exports": [
15359
+ {
15360
+ "kind": "js",
15361
+ "name": "styles",
15362
+ "declaration": {
15363
+ "name": "styles",
15364
+ "module": "src/shared/sets/set-base.styles.ts"
15365
+ }
15366
+ }
15367
+ ]
15368
+ },
15369
+ {
15370
+ "kind": "javascript-module",
15371
+ "path": "src/shared/sets/set-base.ts",
15372
+ "declarations": [
15373
+ {
15374
+ "kind": "class",
15375
+ "description": "",
15376
+ "name": "UmSetBase",
15377
+ "members": [
15378
+ {
15379
+ "kind": "field",
15380
+ "name": "alignment",
15381
+ "type": {
15382
+ "text": "'start' | 'center' | 'end'"
15383
+ },
15384
+ "default": "'start'",
15385
+ "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
15386
+ "attribute": "alignment",
15387
+ "reflects": true
15388
+ }
15389
+ ],
15390
+ "attributes": [
15391
+ {
15392
+ "name": "alignment",
15393
+ "type": {
15394
+ "text": "'start' | 'center' | 'end'"
15395
+ },
15396
+ "default": "'start'",
15397
+ "description": "Set the alignment of the set at the `start`, `center` or at the `end`.",
15398
+ "fieldName": "alignment"
15399
+ }
15400
+ ],
15401
+ "superclass": {
15402
+ "name": "LitElement",
15403
+ "package": "lit"
15404
+ },
15405
+ "customElement": true
15406
+ }
15407
+ ],
15408
+ "exports": [
15409
+ {
15410
+ "kind": "js",
15411
+ "name": "UmSetBase",
15412
+ "declaration": {
15413
+ "name": "UmSetBase",
15414
+ "module": "src/shared/sets/set-base.ts"
15415
+ }
15416
+ }
15417
+ ]
15418
+ },
14510
15419
  {
14511
15420
  "kind": "javascript-module",
14512
15421
  "path": "src/shared/text-field-base/text-field-base.styles.ts",
@@ -14914,6 +15823,20 @@
14914
15823
  "name": "UmFieldBase",
14915
15824
  "module": "src/field/field-base.ts"
14916
15825
  }
15826
+ },
15827
+ {
15828
+ "kind": "method",
15829
+ "name": "renderDefaultTrailingIcon",
15830
+ "privacy": "protected",
15831
+ "return": {
15832
+ "type": {
15833
+ "text": "TemplateResult | typeof nothing"
15834
+ }
15835
+ },
15836
+ "inheritedFrom": {
15837
+ "name": "UmFieldBase",
15838
+ "module": "src/field/field-base.ts"
15839
+ }
14917
15840
  }
14918
15841
  ],
14919
15842
  "attributes": [