@vonage/vivid 5.1.0 → 5.2.0

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 (102) hide show
  1. package/audio-player/definition.cjs +37 -4
  2. package/audio-player/definition.js +37 -4
  3. package/audio-player/index.cjs +25 -25
  4. package/audio-player/index.js +86 -62
  5. package/bundled/definition13.cjs +2 -2
  6. package/bundled/definition13.js +4 -4
  7. package/bundled/definition19.cjs +18 -15
  8. package/bundled/definition19.js +85 -77
  9. package/bundled/definition6.cjs +6 -6
  10. package/bundled/definition6.js +34 -31
  11. package/bundled/localized.cjs +1 -1
  12. package/bundled/localized.js +2 -1
  13. package/bundled/picker-field.template.cjs +18 -13
  14. package/bundled/picker-field.template.js +44 -36
  15. package/bundled/text-field.cjs +1 -1
  16. package/bundled/text-field.js +1 -1
  17. package/bundled/vivid-element.cjs +1 -1
  18. package/bundled/vivid-element.js +1 -1
  19. package/bundled/with-contextual-help.cjs +1 -1
  20. package/bundled/with-contextual-help.js +17 -7
  21. package/combobox/definition.cjs +12 -5
  22. package/combobox/definition.js +12 -5
  23. package/combobox/index.cjs +15 -11
  24. package/combobox/index.js +83 -76
  25. package/custom-elements.json +95 -3
  26. package/dial-pad/definition.cjs +51 -1
  27. package/dial-pad/definition.js +52 -2
  28. package/dial-pad/index.cjs +21 -18
  29. package/dial-pad/index.js +123 -92
  30. package/file-picker/definition.cjs +14 -5
  31. package/file-picker/definition.js +15 -6
  32. package/file-picker/index.cjs +12 -9
  33. package/file-picker/index.js +102 -92
  34. package/lib/audio-player/audio-player.d.ts +4 -0
  35. package/lib/combobox/combobox.d.ts +483 -66
  36. package/lib/date-picker/date-picker.d.ts +839 -827
  37. package/lib/date-range-picker/date-range-picker.d.ts +580 -574
  38. package/lib/date-time-picker/date-time-picker.d.ts +863 -851
  39. package/lib/dial-pad/dial-pad.template.d.ts +1 -1
  40. package/lib/dial-pad/locale.d.ts +1 -0
  41. package/lib/file-picker/file-picker.d.ts +483 -66
  42. package/lib/menu/menu.d.ts +1 -0
  43. package/lib/number-field/number-field.d.ts +1 -0
  44. package/lib/searchable-select/searchable-select.d.ts +505 -88
  45. package/lib/select/select.d.ts +470 -53
  46. package/lib/text-area/text-area.d.ts +1 -0
  47. package/lib/text-field/text-field.d.ts +1 -0
  48. package/lib/time-picker/time-picker.d.ts +551 -545
  49. package/locales/de-DE.cjs +2 -1
  50. package/locales/de-DE.js +2 -1
  51. package/locales/en-GB.cjs +2 -1
  52. package/locales/en-GB.js +2 -1
  53. package/locales/en-US.cjs +2 -1
  54. package/locales/en-US.js +2 -1
  55. package/locales/ja-JP.cjs +2 -1
  56. package/locales/ja-JP.js +2 -1
  57. package/locales/zh-CN.cjs +2 -1
  58. package/locales/zh-CN.js +2 -1
  59. package/menu/definition.cjs +6 -2
  60. package/menu/definition.js +7 -3
  61. package/number-field/definition.cjs +2 -2
  62. package/number-field/definition.js +3 -3
  63. package/number-field/index.cjs +9 -9
  64. package/number-field/index.js +28 -27
  65. package/package.json +1 -1
  66. package/searchable-select/definition.cjs +27 -18
  67. package/searchable-select/definition.js +28 -19
  68. package/searchable-select/index.cjs +28 -25
  69. package/searchable-select/index.js +150 -141
  70. package/select/definition.cjs +14 -6
  71. package/select/definition.js +14 -6
  72. package/shared/patterns/form-elements/index.d.ts +1 -0
  73. package/shared/patterns/form-elements/with-contextual-help.d.ts +1 -0
  74. package/shared/picker-field/mixins/calendar-picker.d.ts +442 -439
  75. package/shared/picker-field/mixins/calendar-picker.template.d.ts +442 -439
  76. package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +584 -578
  77. package/shared/picker-field/mixins/single-date-picker.d.ts +696 -687
  78. package/shared/picker-field/mixins/single-value-picker.d.ts +441 -438
  79. package/shared/picker-field/mixins/time-selection-picker.d.ts +562 -556
  80. package/shared/picker-field/mixins/time-selection-picker.template.d.ts +551 -545
  81. package/shared/picker-field/picker-field.d.ts +483 -66
  82. package/styles/core/all.css +1 -1
  83. package/styles/core/theme.css +1 -1
  84. package/styles/core/typography.css +1 -1
  85. package/styles/tokens/theme-dark.css +4 -4
  86. package/styles/tokens/theme-light.css +4 -4
  87. package/styles/tokens/vivid-2-compat.css +1 -1
  88. package/text-area/definition.cjs +1 -1
  89. package/text-area/definition.js +1 -1
  90. package/text-area/index.cjs +1 -1
  91. package/text-area/index.js +1 -1
  92. package/text-field/definition.cjs +1 -1
  93. package/text-field/definition.js +1 -1
  94. package/unbundled/picker-field.template.cjs +11 -3
  95. package/unbundled/picker-field.template.js +11 -3
  96. package/unbundled/text-field.cjs +1 -1
  97. package/unbundled/text-field.js +1 -1
  98. package/unbundled/vivid-element.cjs +1 -1
  99. package/unbundled/vivid-element.js +1 -1
  100. package/unbundled/with-contextual-help.cjs +11 -0
  101. package/unbundled/with-contextual-help.js +11 -0
  102. package/vivid.api.json +30 -0
@@ -1,36 +1,39 @@
1
- import { B as V, c as z, b as E } from "../bundled/definition3.js";
2
- import { P, p as L } from "../bundled/definition9.js";
3
- import { I as M, i as I } from "../bundled/definition2.js";
4
- import { P as B, p as A } from "../bundled/definition15.js";
5
- import { V as C, O as T, D as W, a as f, n as F, o as p, h as d, c as N, d as D } from "../bundled/vivid-element.js";
6
- import { W as K, f as q } from "../bundled/mixins.js";
7
- import { s as H } from "../bundled/scrollIntoView.js";
8
- import { D as j, d as U } from "../bundled/delegates-aria.js";
9
- import { F as G } from "../bundled/form-associated.js";
10
- import { W as J } from "../bundled/with-error-text.js";
11
- import { W as Q } from "../bundled/with-success-text.js";
12
- import { F as X } from "../bundled/form-element.js";
13
- import { A as Y, a as Z, I as ee } from "../bundled/affix.js";
14
- import { L as R } from "../bundled/localized.js";
15
- import { i as te } from "../bundled/option.js";
1
+ import { B as z, c as E, b as P } from "../bundled/definition3.js";
2
+ import { P as L, p as M } from "../bundled/definition9.js";
3
+ import { I as B, i as I } from "../bundled/definition2.js";
4
+ import { P as A, p as W } from "../bundled/definition15.js";
5
+ import { V as F, O as T, D as N, a as f, n as D, o as d, h as p, c as H, d as R } from "../bundled/vivid-element.js";
6
+ import { W as K, f as j } from "../bundled/mixins.js";
7
+ import { s as q } from "../bundled/scrollIntoView.js";
8
+ import { D as U, d as G } from "../bundled/delegates-aria.js";
9
+ import { F as J } from "../bundled/form-associated.js";
10
+ import { W as Q } from "../bundled/with-contextual-help.js";
11
+ import { W as X } from "../bundled/with-error-text.js";
12
+ import { W as Y } from "../bundled/with-success-text.js";
13
+ import { F as Z } from "../bundled/form-element.js";
14
+ import { A as ee, a as te, I as oe } from "../bundled/affix.js";
15
+ import { L as V } from "../bundled/localized.js";
16
+ import { i as ae } from "../bundled/option.js";
16
17
  import { w as v } from "../bundled/when.js";
18
+ import { s as O } from "../bundled/slotted.js";
17
19
  import { r as x } from "../bundled/ref.js";
18
- import { s as oe } from "../bundled/slotted.js";
19
- import { c as w } from "../bundled/class-names.js";
20
- import { r as y } from "../bundled/repeat.js";
21
- const ae = ".chevron{display:flex;flex-shrink:0;font:var(--vvd-typography-base-extended);transform:rotate(0);transition:transform .2s}:host([data-expanded=true]) .chevron,:host([open]) .chevron{transform:rotate(180deg)}:not(.disabled) .chevron{cursor:pointer}.disabled .chevron{color:var(--_low-ink-color);cursor:not-allowed}:host(:focus-visible){outline:none}:host{display:inline-block;inline-size:300px;--_low-ink-color: var(--vvd-color-neutral-600)}:host([disabled]){--_low-ink-color: var(--vvd-color-neutral-400);cursor:not-allowed}.control-wrapper{display:flex;flex-direction:column;gap:4px}.label{color:var(--vvd-color-canvas-text);font:var(--vvd-typography-base)}.selection-count{color:var(--_low-ink-color);font:var(--vvd-typography-base)}.fieldset{--_connotation-color-primary: var(--vvd-searchable-select-accent-primary, var(--vvd-color-canvas-text));--_connotation-color-primary-text: var(--vvd-searchable-select-accent-primary-text, var(--vvd-color-canvas));--_connotation-color-primary-increment: var(--vvd-searchable-select-accent-primary-increment, var(--vvd-color-neutral-800));--_connotation-color-intermediate: var(--vvd-searchable-select-accent-intermediate, var(--vvd-color-neutral-500));--_connotation-color-faint: var(--vvd-searchable-select-accent-faint, var(--vvd-color-neutral-50));--_connotation-color-soft: var(--vvd-searchable-select-accent-soft, var(--vvd-color-neutral-100));--_connotation-color-firm: var(--vvd-searchable-select-accent-firm, var(--vvd-color-canvas-text));--_connotation-color-fierce: var(--vvd-searchable-select-accent-fierce, var(--vvd-color-neutral-700))}.fieldset{--_appearance-color-text: var(--vvd-color-canvas-text);--_appearance-color-fill: var(--vvd-color-canvas);--_appearance-color-outline: var(--vvd-color-neutral-500)}.fieldset.appearance-ghost{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}@media (hover: hover){.fieldset:hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text: var(--vvd-color-canvas-text);--_appearance-color-fill: var(--vvd-color-canvas);--_appearance-color-outline: var(--vvd-color-neutral-700)}.fieldset:hover:where(:not(.disabled,:disabled,.readonly)).appearance-ghost{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-faint);--_appearance-color-outline: transparent}}.fieldset.hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text: var(--vvd-color-canvas-text);--_appearance-color-fill: var(--vvd-color-canvas);--_appearance-color-outline: var(--vvd-color-neutral-700)}.fieldset.hover:where(:not(.disabled,:disabled,.readonly)).appearance-ghost{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-faint);--_appearance-color-outline: transparent}.fieldset:disabled{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-100);--_appearance-color-outline: var(--vvd-color-neutral-300)}.fieldset:disabled.appearance-ghost{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}.fieldset.disabled{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-100);--_appearance-color-outline: var(--vvd-color-neutral-300)}.fieldset.disabled.appearance-ghost{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}.fieldset.readonly:where(:not(.disabled,:disabled)){--_appearance-color-text: var(--vvd-color-canvas-text);--_appearance-color-fill: var(--vvd-color-neutral-200);--_appearance-color-outline: var(--vvd-color-neutral-400)}.fieldset.readonly:where(:not(.disabled,:disabled)).appearance-ghost{--_appearance-color-text: var(--vvd-color-neutral-600);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}.fieldset.error:where(:not(.disabled,:disabled)){--_appearance-color-text: notSet;--_appearance-color-fill: var(--vvd-color-alert-50);--_appearance-color-outline: var(--vvd-color-alert-500)}.fieldset.error:where(:not(.disabled,:disabled)).appearance-ghost{--_appearance-color-text: notSet;--_appearance-color-fill: var(--vvd-color-alert-50);--_appearance-color-outline: transparent}.fieldset.success:where(:not(.disabled,:disabled)){--_appearance-color-text: notSet;--_appearance-color-fill: var(--vvd-color-success-50);--_appearance-color-outline: var(--vvd-color-success-500)}.fieldset.success:where(:not(.disabled,:disabled)).appearance-ghost{--_appearance-color-text: notSet;--_appearance-color-fill: var(--vvd-color-success-50);--_appearance-color-outline: transparent}.fieldset{display:flex;align-items:center;justify-content:space-between;background-color:var(--_appearance-color-fill);box-shadow:inset 0 0 0 1px var(--_appearance-color-outline);color:var(--_appearance-color-text);font:var(--vvd-typography-base);gap:8px;padding-block:8px;padding-inline:16px;transition:box-shadow .2s,background-color .2s}@supports selector(:has(*)){.fieldset:not(.has-highlighted-option):has(input:focus){box-shadow:0 0 0 4px color-mix(in srgb,var(--vvd-color-cta-500),transparent 85%),inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:1px solid var(--focus-stroke-color, var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset, 0px));--focus-stroke-gap-color: transparent}}@supports not selector(:has(*)){.fieldset:not(.has-highlighted-option):focus-within{box-shadow:0 0 0 4px color-mix(in srgb,var(--vvd-color-cta-500),transparent 85%),inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:1px solid var(--focus-stroke-color, var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset, 0px));--focus-stroke-gap-color: transparent}}:host(:not([shape=pill])) .fieldset{border-radius:8px}:host([shape=pill]) .fieldset{border-radius:24px}.popup-wrapper{position:relative}.content-area{display:flex;overflow:hidden;flex:1;flex-direction:column;gap:8px;min-block-size:24px}.tag-row{display:flex;gap:8px;inline-size:100%}.tag-row.contains-only-input:not(:focus-within){display:contents}.tag-wrapper{overflow:hidden}.tag{max-inline-size:100%}input{box-sizing:border-box;flex:1;border:none;background:none;block-size:24px;font:var(--vvd-typography-base);max-inline-size:100%;min-inline-size:min(100px,40%);outline:none}.contains-only-input input:not(:focus){position:absolute;block-size:0;inline-size:0;min-inline-size:0;opacity:0;pointer-events:none}.listbox{display:flex;flex-direction:column;padding:4px;gap:2px;max-block-size:var(--searchable-select-height, 408px);overflow-y:auto}.empty-message{display:flex;align-items:center;justify-content:center;color:var(--vvd-color-neutral-300);font:var(--vvd-typography-base);min-block-size:40px;text-align:center}::part(popup-base){inline-size:max-content;min-inline-size:var(--_searchable-select-fixed-width, 100%)}slot[name=icon]{font-size:20px}.visually-hidden{position:absolute;overflow:hidden;width:1px;height:1px;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}::slotted([data-vvd-component=option][data-highlighted]){border-radius:8px;box-shadow:0 0 0 4px color-mix(in srgb,var(--vvd-color-cta-500),transparent 85%),inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:1px solid var(--focus-stroke-color, var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset, 0px));--focus-stroke-gap-color: transparent}", ie = '.base.connotation-cta{--_connotation-color-contrast: var(--vvd-option-tag-cta-contrast, var(--vvd-color-cta-800))}.base:not(.connotation-cta){--_connotation-color-contrast: var(--vvd-option-tag-accent-contrast, var(--vvd-color-neutral-800))}.base{position:relative;display:inline-flex;box-sizing:border-box;align-items:center;background-color:var(--fill-color);block-size:calc(1px*(24 + 4*clamp(-1,var(--vvd-size-density, 0),2)));box-shadow:inset 0 0 0 1px var(--outline-color);color:var(--text-color);column-gap:8px;font:var(--vvd-typography-base-bold);max-inline-size:100%;padding-inline:8px;user-select:none;vertical-align:middle}.base:not(.disabled){--text-color: var(--_connotation-color-contrast);--fill-color: var(--_connotation-color-soft);--outline-color: transparent}@supports (background-color: color-mix(in srgb,black 50%,white)){.base:not(.disabled){--fill-color: color-mix( in srgb, var(--_connotation-color-contrast), transparent 87.5% )}}.base.disabled{--text-color: var(--vvd-color-neutral-300);--fill-color: var(--vvd-color-neutral-200);--outline-color: transparent}@supports (background-color: color-mix(in srgb,black 50%,white)){.base.disabled{--fill-color: color-mix( in srgb, var(--vvd-color-neutral-800), transparent 87.5% )}}.base:not(.shape-pill){border-radius:4px}.base.shape-pill{border-radius:16px}.label{overflow:hidden;max-inline-size:100%;text-overflow:ellipsis;white-space:nowrap}slot[name=icon]{font-size:calc(calc(1px*(24 + 4*clamp(-1,var(--vvd-size-density, 0),2))) / 1.5);line-height:1}.icon-placeholder{inline-size:calc(calc(1px*(24 + 4*clamp(-1,var(--vvd-size-density, 0),2))) / 1.5)}.remove-button{display:flex;align-items:center;border-radius:inherit;cursor:pointer;outline:none}.disabled .remove-button{pointer-events:none}.remove-button:focus-visible:before{--focus-stroke-gap-color: transparent;box-shadow:0 0 0 4px color-mix(in srgb,var(--vvd-color-cta-500),transparent 85%),inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:1px solid var(--focus-stroke-color, var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset, 0px));position:absolute;z-index:1;display:block;border-radius:inherit;content:"";inset:0;pointer-events:none}';
22
- var se = Object.defineProperty, r = (s, t, e, a) => {
20
+ import { c as y } from "../bundled/class-names.js";
21
+ import { r as w } from "../bundled/repeat.js";
22
+ const ie = ".chevron{display:flex;flex-shrink:0;font:var(--vvd-typography-base-extended);transform:rotate(0);transition:transform .2s}:host([data-expanded=true]) .chevron,:host([open]) .chevron{transform:rotate(180deg)}:not(.disabled) .chevron{cursor:pointer}.disabled .chevron{color:var(--_low-ink-color);cursor:not-allowed}:host(:focus-visible){outline:none}:host{display:inline-block;inline-size:300px;--_low-ink-color: var(--vvd-color-neutral-600)}:host([disabled]){--_low-ink-color: var(--vvd-color-neutral-400);cursor:not-allowed}.control-wrapper{display:flex;flex-direction:column;gap:4px}.label{color:var(--vvd-color-canvas-text);font:var(--vvd-typography-base)}.selection-count{color:var(--_low-ink-color);font:var(--vvd-typography-base)}.fieldset{--_connotation-color-primary: var(--vvd-searchable-select-accent-primary, var(--vvd-color-canvas-text));--_connotation-color-primary-text: var(--vvd-searchable-select-accent-primary-text, var(--vvd-color-canvas));--_connotation-color-primary-increment: var(--vvd-searchable-select-accent-primary-increment, var(--vvd-color-neutral-800));--_connotation-color-intermediate: var(--vvd-searchable-select-accent-intermediate, var(--vvd-color-neutral-500));--_connotation-color-faint: var(--vvd-searchable-select-accent-faint, var(--vvd-color-neutral-50));--_connotation-color-soft: var(--vvd-searchable-select-accent-soft, var(--vvd-color-neutral-100));--_connotation-color-firm: var(--vvd-searchable-select-accent-firm, var(--vvd-color-canvas-text));--_connotation-color-fierce: var(--vvd-searchable-select-accent-fierce, var(--vvd-color-neutral-700))}.fieldset{--_appearance-color-text: var(--vvd-color-canvas-text);--_appearance-color-fill: var(--vvd-color-canvas);--_appearance-color-outline: var(--vvd-color-neutral-500)}.fieldset.appearance-ghost{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}@media (hover: hover){.fieldset:hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text: var(--vvd-color-canvas-text);--_appearance-color-fill: var(--vvd-color-canvas);--_appearance-color-outline: var(--vvd-color-neutral-700)}.fieldset:hover:where(:not(.disabled,:disabled,.readonly)).appearance-ghost{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-faint);--_appearance-color-outline: transparent}}.fieldset.hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text: var(--vvd-color-canvas-text);--_appearance-color-fill: var(--vvd-color-canvas);--_appearance-color-outline: var(--vvd-color-neutral-700)}.fieldset.hover:where(:not(.disabled,:disabled,.readonly)).appearance-ghost{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-faint);--_appearance-color-outline: transparent}.fieldset:disabled{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-100);--_appearance-color-outline: var(--vvd-color-neutral-300)}.fieldset:disabled.appearance-ghost{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}.fieldset.disabled{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-100);--_appearance-color-outline: var(--vvd-color-neutral-300)}.fieldset.disabled.appearance-ghost{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}.fieldset.readonly:where(:not(.disabled,:disabled)){--_appearance-color-text: var(--vvd-color-canvas-text);--_appearance-color-fill: var(--vvd-color-neutral-200);--_appearance-color-outline: var(--vvd-color-neutral-400)}.fieldset.readonly:where(:not(.disabled,:disabled)).appearance-ghost{--_appearance-color-text: var(--vvd-color-neutral-600);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}.fieldset.error:where(:not(.disabled,:disabled)){--_appearance-color-text: notSet;--_appearance-color-fill: var(--vvd-color-alert-50);--_appearance-color-outline: var(--vvd-color-alert-500)}.fieldset.error:where(:not(.disabled,:disabled)).appearance-ghost{--_appearance-color-text: notSet;--_appearance-color-fill: var(--vvd-color-alert-50);--_appearance-color-outline: transparent}.fieldset.success:where(:not(.disabled,:disabled)){--_appearance-color-text: notSet;--_appearance-color-fill: var(--vvd-color-success-50);--_appearance-color-outline: var(--vvd-color-success-500)}.fieldset.success:where(:not(.disabled,:disabled)).appearance-ghost{--_appearance-color-text: notSet;--_appearance-color-fill: var(--vvd-color-success-50);--_appearance-color-outline: transparent}.fieldset{display:flex;align-items:center;justify-content:space-between;background-color:var(--_appearance-color-fill);box-shadow:inset 0 0 0 1px var(--_appearance-color-outline);color:var(--_appearance-color-text);font:var(--vvd-typography-base);gap:8px;padding-block:8px;padding-inline:16px;transition:box-shadow .2s,background-color .2s}@supports selector(:has(*)){.fieldset:not(.has-highlighted-option):has(input:focus){box-shadow:0 0 0 4px color-mix(in srgb,var(--vvd-color-cta-500),transparent 85%),inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:1px solid var(--focus-stroke-color, var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset, 0px));--focus-stroke-gap-color: transparent}}@supports not selector(:has(*)){.fieldset:not(.has-highlighted-option):focus-within{box-shadow:0 0 0 4px color-mix(in srgb,var(--vvd-color-cta-500),transparent 85%),inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:1px solid var(--focus-stroke-color, var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset, 0px));--focus-stroke-gap-color: transparent}}:host(:not([shape=pill])) .fieldset{border-radius:8px}:host([shape=pill]) .fieldset{border-radius:24px}.popup-wrapper{position:relative}.content-area{display:flex;overflow:hidden;flex:1;flex-direction:column;gap:8px;min-block-size:24px}.tag-row{display:flex;gap:8px;inline-size:100%}.tag-row.contains-only-input:not(:focus-within){display:contents}.tag-wrapper{overflow:hidden}.tag{max-inline-size:100%}input{box-sizing:border-box;flex:1;border:none;background:none;block-size:24px;font:var(--vvd-typography-base);max-inline-size:100%;min-inline-size:min(100px,40%);outline:none}.contains-only-input input:not(:focus){position:absolute;block-size:0;inline-size:0;min-inline-size:0;opacity:0;pointer-events:none}.listbox{display:flex;flex-direction:column;padding:4px;gap:2px;max-block-size:var(--searchable-select-height, 408px);overflow-y:auto}.empty-message{display:flex;align-items:center;justify-content:center;color:var(--vvd-color-neutral-300);font:var(--vvd-typography-base);min-block-size:40px;text-align:center}::part(popup-base){inline-size:max-content;min-inline-size:var(--_searchable-select-fixed-width, 100%)}slot[name=icon]{font-size:20px}.visually-hidden{position:absolute;overflow:hidden;width:1px;height:1px;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}::slotted([data-vvd-component=option][data-highlighted]){border-radius:8px;box-shadow:0 0 0 4px color-mix(in srgb,var(--vvd-color-cta-500),transparent 85%),inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:1px solid var(--focus-stroke-color, var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset, 0px));--focus-stroke-gap-color: transparent}.label-wrapper{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:var(--label-wrapper-gap, 8px)}.label-wrapper[hidden]{display:none}.label-wrapper .label{flex:1 1 auto}.label-wrapper slot[name=contextual-help]::slotted([data-vvd-component=contextual-help]){margin-inline-start:auto}", se = '.base.connotation-cta{--_connotation-color-contrast: var(--vvd-option-tag-cta-contrast, var(--vvd-color-cta-800))}.base:not(.connotation-cta){--_connotation-color-contrast: var(--vvd-option-tag-accent-contrast, var(--vvd-color-neutral-800))}.base{position:relative;display:inline-flex;box-sizing:border-box;align-items:center;background-color:var(--fill-color);block-size:calc(1px*(24 + 4*clamp(-1,var(--vvd-size-density, 0),2)));box-shadow:inset 0 0 0 1px var(--outline-color);color:var(--text-color);column-gap:8px;font:var(--vvd-typography-base-bold);max-inline-size:100%;padding-inline:8px;user-select:none;vertical-align:middle}.base:not(.disabled){--text-color: var(--_connotation-color-contrast);--fill-color: var(--_connotation-color-soft);--outline-color: transparent}@supports (background-color: color-mix(in srgb,black 50%,white)){.base:not(.disabled){--fill-color: color-mix( in srgb, var(--_connotation-color-contrast), transparent 87.5% )}}.base.disabled{--text-color: var(--vvd-color-neutral-300);--fill-color: var(--vvd-color-neutral-200);--outline-color: transparent}@supports (background-color: color-mix(in srgb,black 50%,white)){.base.disabled{--fill-color: color-mix( in srgb, var(--vvd-color-neutral-800), transparent 87.5% )}}.base:not(.shape-pill){border-radius:4px}.base.shape-pill{border-radius:16px}.label{overflow:hidden;max-inline-size:100%;text-overflow:ellipsis;white-space:nowrap}slot[name=icon]{font-size:calc(calc(1px*(24 + 4*clamp(-1,var(--vvd-size-density, 0),2))) / 1.5);line-height:1}.icon-placeholder{inline-size:calc(calc(1px*(24 + 4*clamp(-1,var(--vvd-size-density, 0),2))) / 1.5)}.remove-button{display:flex;align-items:center;border-radius:inherit;cursor:pointer;outline:none}.disabled .remove-button{pointer-events:none}.remove-button:focus-visible:before{--focus-stroke-gap-color: transparent;box-shadow:0 0 0 4px color-mix(in srgb,var(--vvd-color-cta-500),transparent 85%),inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:1px solid var(--focus-stroke-color, var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset, 0px));position:absolute;z-index:1;display:block;border-radius:inherit;content:"";inset:0;pointer-events:none}';
23
+ var le = Object.defineProperty, r = (s, t, e, a) => {
23
24
  for (var i = void 0, l = s.length - 1, g; l >= 0; l--)
24
25
  (g = s[l]) && (i = g(t, e, i) || i);
25
- return i && se(t, e, i), i;
26
+ return i && le(t, e, i), i;
26
27
  };
27
- const m = 8, le = 100, O = 10, ne = (s) => typeof s == "string";
28
- class n extends K(
29
- J(
30
- Q(
31
- X(
32
- j(
33
- Y(R(G(C)))
28
+ const m = 8, ne = 100, S = 10, re = (s) => typeof s == "string";
29
+ class n extends Q(
30
+ K(
31
+ X(
32
+ Y(
33
+ Z(
34
+ U(
35
+ ee(V(J(F)))
36
+ )
34
37
  )
35
38
  )
36
39
  )
@@ -42,8 +45,8 @@ class n extends K(
42
45
  t.selected && !this.values.includes(t.value) ? this.values = [...this.values, t.value] : !t.selected && this.values.includes(t.value) && (this.values = this.values.filter((a) => a !== t.value));
43
46
  }
44
47
  }, this.#t = /* @__PURE__ */ new Map(), this._filteredOptions = [], this._filteredEnabledOptions = [], this.loading = !1, this._highlightedOptionIndex = null, this._numElidedTags = 0, this._tagRows = [], this._lastTagRow = [], this.clearable = !1, this.maxSelected = null, this._slottedDisabledOptions = [], this.proxy = document.createElement("input"), this.setFormValue = (t, e) => {
45
- ne(t) || super.setFormValue(t, e);
46
- }, this._changeDescription = "", this.#d = new ResizeObserver(() => {
48
+ re(t) || super.setFormValue(t, e);
49
+ }, this._changeDescription = "", this.#p = new ResizeObserver(() => {
47
50
  this.#u();
48
51
  });
49
52
  }
@@ -62,8 +65,8 @@ class n extends K(
62
65
  this.values = [this.values[0]];
63
66
  return;
64
67
  }
65
- if (this.values.some((t) => !this.#p(t))) {
66
- this.values = this.values.filter((t) => this.#p(t));
68
+ if (this.values.some((t) => !this.#d(t))) {
69
+ this.values = this.values.filter((t) => this.#d(t));
67
70
  return;
68
71
  }
69
72
  this.value = this.values.length ? this.values[0] : "", this.#c(), this.#m(), this.$fastController.isConnected && this.#u(), this.#g();
@@ -86,7 +89,7 @@ class n extends K(
86
89
  initialValuesChanged() {
87
90
  this.dirtyValue || (this.values = this.initialValues, this.dirtyValue = !1);
88
91
  }
89
- #p(t) {
92
+ #d(t) {
90
93
  return this._slottedOptions.some((e) => e.value === t);
91
94
  }
92
95
  /**
@@ -172,13 +175,13 @@ class n extends K(
172
175
  this.open = !0;
173
176
  break;
174
177
  }
175
- return this.#y(), !1;
178
+ return this.#w(), !1;
176
179
  case "End":
177
180
  if (!this.open) {
178
181
  this.open = !0;
179
182
  break;
180
183
  }
181
- return this.#w(), !1;
184
+ return this.#y(), !1;
182
185
  case "PageUp":
183
186
  if (!this.open) {
184
187
  this.open = !0;
@@ -304,7 +307,7 @@ class n extends K(
304
307
  Math.min(this._filteredEnabledOptions.length - 1, t)
305
308
  ) : t = null), this._highlightedOptionIndex = t, typeof this._highlightedOptionIndex == "number") {
306
309
  const e = this._filteredEnabledOptions[this._highlightedOptionIndex];
307
- e._highlighted = !0, e.setAttribute("data-highlighted", ""), H(e, this._listbox, "nearest"), this._changeDescription = this.locale.searchableSelect.optionFocusedMessage(
310
+ e._highlighted = !0, e.setAttribute("data-highlighted", ""), q(e, this._listbox, "nearest"), this._changeDescription = this.locale.searchableSelect.optionFocusedMessage(
308
311
  e._getAccessibleName(),
309
312
  this._highlightedOptionIndex + 1,
310
313
  this._filteredEnabledOptions.length,
@@ -317,22 +320,22 @@ class n extends K(
317
320
  this._filteredEnabledOptions[this._highlightedOptionIndex]
318
321
  );
319
322
  }
320
- #y() {
323
+ #w() {
321
324
  this.#e(0);
322
325
  }
323
- #w() {
326
+ #y() {
324
327
  this.#e(
325
328
  this._filteredEnabledOptions.length - 1
326
329
  );
327
330
  }
328
331
  #$() {
329
332
  this.#e(
330
- (this._highlightedOptionIndex ?? this._filteredEnabledOptions.length) - O
333
+ (this._highlightedOptionIndex ?? this._filteredEnabledOptions.length) - S
331
334
  );
332
335
  }
333
336
  #T() {
334
337
  this.#e(
335
- (this._highlightedOptionIndex ?? -1) + O
338
+ (this._highlightedOptionIndex ?? -1) + S
336
339
  );
337
340
  }
338
341
  #O() {
@@ -395,7 +398,7 @@ class n extends K(
395
398
  return;
396
399
  }
397
400
  const t = this._contentArea.getBoundingClientRect().width, e = [[]];
398
- let a = 0, i = le, l;
401
+ let a = 0, i = ne, l;
399
402
  for (l = this.values.length - 1; l >= 0; l--) {
400
403
  const h = this.maxLines && a === this.maxLines - 1, u = this.#n(
401
404
  this._tagLabelForValue(this.values[l]),
@@ -451,7 +454,7 @@ class n extends K(
451
454
  case "Delete":
452
455
  case "Enter":
453
456
  case " ": {
454
- this._onTagRemoved(this.values[e]), W.processUpdates(), this.#i(this.#I(e));
457
+ this._onTagRemoved(this.values[e]), N.processUpdates(), this.#i(this.#C(e));
455
458
  break;
456
459
  }
457
460
  case "ArrowLeft":
@@ -482,7 +485,7 @@ class n extends K(
482
485
  return e;
483
486
  return null;
484
487
  }
485
- #I(t) {
488
+ #C(t) {
486
489
  return this.#v(t - 1) ?? this.#r(t);
487
490
  }
488
491
  /**
@@ -532,6 +535,12 @@ class n extends K(
532
535
  for (const e of t)
533
536
  e.disabled = !1;
534
537
  }
538
+ /**
539
+ * @internal
540
+ */
541
+ get _hasSelectionCount() {
542
+ return this.multiple && this.maxSelected && this.maxSelected >= 1;
543
+ }
535
544
  #f() {
536
545
  return this.initialValues.length ? this.initialValues : this.initialValue ? [this.initialValue] : [];
537
546
  }
@@ -557,7 +566,7 @@ class n extends K(
557
566
  formResetCallback() {
558
567
  super.formResetCallback(), this.#a(this.#f());
559
568
  }
560
- #d;
569
+ #p;
561
570
  /**
562
571
  * @internal
563
572
  */
@@ -571,10 +580,10 @@ class n extends K(
571
580
  return this.open ? (this.open = !1, !1) : !0;
572
581
  }
573
582
  connectedCallback() {
574
- super.connectedCallback(), this.values.length || (this.values = this.#f()), this.#d.observe(this._contentArea);
583
+ super.connectedCallback(), this.values.length || (this.values = this.#f()), this.#p.observe(this._contentArea);
575
584
  }
576
585
  disconnectedCallback() {
577
- super.disconnectedCallback(), this.#d.disconnect();
586
+ super.disconnectedCallback(), this.#p.disconnect();
578
587
  }
579
588
  /**
580
589
  * @internal
@@ -593,7 +602,7 @@ class n extends K(
593
602
  */
594
603
  _onMouseDown(t) {
595
604
  const e = t.composedPath()[0];
596
- return !t.defaultPrevented && e !== this._input ? (this._input.focus(), !1) : !0;
605
+ return !t.defaultPrevented && e !== this._input && !this._isFromContextualHelp(t) ? (this._input.focus(), !1) : !0;
597
606
  }
598
607
  }
599
608
  r([
@@ -618,31 +627,31 @@ r([
618
627
  f({ attribute: "external-tags", mode: "boolean" })
619
628
  ], n.prototype, "externalTags");
620
629
  r([
621
- f({ attribute: "max-lines", converter: F })
630
+ f({ attribute: "max-lines", converter: D })
622
631
  ], n.prototype, "maxLines");
623
632
  r([
624
- p
633
+ d
625
634
  ], n.prototype, "values");
626
635
  r([
627
- p
636
+ d
628
637
  ], n.prototype, "initialValues");
629
638
  r([
630
- p
639
+ d
631
640
  ], n.prototype, "_input");
632
641
  r([
633
- p
642
+ d
634
643
  ], n.prototype, "_currentSearchText");
635
644
  r([
636
- p
645
+ d
637
646
  ], n.prototype, "_slottedOptions");
638
647
  r([
639
- p
648
+ d
640
649
  ], n.prototype, "optionFilter");
641
650
  r([
642
- p
651
+ d
643
652
  ], n.prototype, "_filteredOptions");
644
653
  r([
645
- p
654
+ d
646
655
  ], n.prototype, "_filteredEnabledOptions");
647
656
  r([
648
657
  f({
@@ -650,44 +659,44 @@ r([
650
659
  })
651
660
  ], n.prototype, "loading");
652
661
  r([
653
- p
662
+ d
654
663
  ], n.prototype, "_highlightedOptionIndex");
655
664
  r([
656
- p
665
+ d
657
666
  ], n.prototype, "_contentArea");
658
667
  r([
659
- p
668
+ d
660
669
  ], n.prototype, "_numElidedTags");
661
670
  r([
662
- p
671
+ d
663
672
  ], n.prototype, "_tagRows");
664
673
  r([
665
- p
674
+ d
666
675
  ], n.prototype, "_lastTagRow");
667
676
  r([
668
- p
677
+ d
669
678
  ], n.prototype, "_listbox");
670
679
  r([
671
680
  f({ mode: "boolean" })
672
681
  ], n.prototype, "clearable");
673
682
  r([
674
- f({ attribute: "max-selected", converter: F })
683
+ f({ attribute: "max-selected", converter: D })
675
684
  ], n.prototype, "maxSelected");
676
685
  r([
677
- p
686
+ d
678
687
  ], n.prototype, "_slottedDisabledOptions");
679
688
  r([
680
- p
689
+ d
681
690
  ], n.prototype, "_changeDescription");
682
691
  r([
683
- p
692
+ d
684
693
  ], n.prototype, "_anchor");
685
- var re = Object.defineProperty, _ = (s, t, e, a) => {
694
+ var ce = Object.defineProperty, _ = (s, t, e, a) => {
686
695
  for (var i = void 0, l = s.length - 1, g; l >= 0; l--)
687
696
  (g = s[l]) && (i = g(t, e, i) || i);
688
- return i && re(t, e, i), i;
697
+ return i && ce(t, e, i), i;
689
698
  };
690
- class b extends R(C) {
699
+ class b extends V(F) {
691
700
  constructor() {
692
701
  super(...arguments), this.removable = !1, this.disabled = !1, this.hasIconPlaceholder = !1;
693
702
  }
@@ -701,7 +710,7 @@ _([
701
710
  f
702
711
  ], b.prototype, "shape");
703
712
  _([
704
- p
713
+ d
705
714
  ], b.prototype, "connotation");
706
715
  _([
707
716
  f
@@ -713,9 +722,9 @@ _([
713
722
  f({ mode: "boolean" })
714
723
  ], b.prototype, "disabled");
715
724
  _([
716
- p
725
+ d
717
726
  ], b.prototype, "hasIconPlaceholder");
718
- const ce = (s) => w(
727
+ const pe = (s) => y(
719
728
  ["disabled", s.disabled],
720
729
  [`appearance-${s.appearance}`, !!s.appearance],
721
730
  [`shape-${s.shape}`, !!s.shape],
@@ -724,12 +733,12 @@ const ce = (s) => w(
724
733
  ["has-highlighted-option", s._highlightedOptionIndex !== null]
725
734
  );
726
735
  function de() {
727
- return d`
736
+ return p`
728
737
  <label for="control" class="label" id="label"> ${(s) => s.label} </label>
729
738
  `;
730
739
  }
731
- function pe() {
732
- return d`
740
+ function he() {
741
+ return p`
733
742
  <span
734
743
  id="selection-count"
735
744
  class="selection-count"
@@ -741,9 +750,9 @@ function pe() {
741
750
  >
742
751
  `;
743
752
  }
744
- const S = (s, t) => {
753
+ const k = (s, t) => {
745
754
  const e = s.tagFor(b);
746
- return d`
755
+ return p`
747
756
  <div class="tag-wrapper">
748
757
  <${e}
749
758
  class="tag"
@@ -761,9 +770,9 @@ const S = (s, t) => {
761
770
  </${e}>
762
771
  </div>
763
772
  `;
764
- }, k = (s, t) => {
773
+ }, C = (s, t) => {
765
774
  const e = s.tagFor(b);
766
- return d`
775
+ return p`
767
776
  <${e}
768
777
  class="tag"
769
778
  tabindex="-1"
@@ -774,37 +783,37 @@ const S = (s, t) => {
774
783
  </${e}>
775
784
  `;
776
785
  };
777
- function he(s) {
778
- const t = s.tagFor(V), e = s.tagFor(B), a = Z(s), i = z(s), l = S(s, (o) => o.parent), g = S(
786
+ function ue(s) {
787
+ const t = s.tagFor(z), e = s.tagFor(A), a = te(s), i = E(s), l = k(s, (o) => o.parent), g = k(
779
788
  s,
780
789
  (o) => o.parentContext.parent
781
- ), h = k(s, (o, c) => o), u = k(
790
+ ), h = C(s, (o, c) => o), u = C(
782
791
  s,
783
792
  (o, c) => c.parent
784
793
  );
785
- return d`
794
+ return p`
786
795
  <div
787
- class="fieldset ${ce}"
796
+ class="fieldset ${pe}"
788
797
  @click="${(o, c) => o._onFieldsetClick(c.event)}"
789
798
  ${x("_anchor")}
790
799
  >
791
- ${(o) => a(o.icon, ee.Slot)}
800
+ ${(o) => a(o.icon, oe.Slot)}
792
801
  <div class="content-area" ${x("_contentArea")}>
793
- ${y(
802
+ ${w(
794
803
  (o) => o._tagRows,
795
- d`
804
+ p`
796
805
  <div class="tag-row">
797
806
  ${v(
798
807
  (o, c) => c.isFirst && c.parent._numElidedTags,
799
808
  u
800
809
  )}
801
- ${y((o) => o, g)}
810
+ ${w((o) => o, g)}
802
811
  </div>
803
812
  `,
804
813
  { positioning: !0 }
805
814
  )}
806
815
  <div
807
- class="tag-row ${(o) => w([
816
+ class="tag-row ${(o) => y([
808
817
  "contains-only-input",
809
818
  o._tagRows.length > 0 && o._lastTagRow.length === 0
810
819
  ])}"
@@ -813,14 +822,14 @@ function he(s) {
813
822
  (o) => o._tagRows.length === 0 && o._numElidedTags,
814
823
  h
815
824
  )}
816
- ${y((o) => o._lastTagRow, l)}
825
+ ${w((o) => o._lastTagRow, l)}
817
826
  <input
818
827
  id="control"
819
828
  class="control"
820
829
  autocomplete="off"
821
830
  aria-controls="listbox"
822
831
  aria-describedby="${(o) => o._feedbackDescribedBy} ${(o) => o.multiple && o.maxSelected && o.maxSelected >= 1 ? "selection-count" : null}"
823
- ${U({
832
+ ${G({
824
833
  role: "combobox",
825
834
  ariaAutoComplete: "list",
826
835
  ariaHasPopup: "listbox",
@@ -846,7 +855,7 @@ function he(s) {
846
855
  <slot name="meta"></slot>
847
856
  ${v(
848
857
  (o) => o._shouldShowClearButton,
849
- d`<${t}
858
+ p`<${t}
850
859
  aria-label="${(o) => o.locale.searchableSelect.clearButtonLabel}"
851
860
  @click="${(o) => o._onClearButtonClick()}"
852
861
  @mousedown="${() => !1}"
@@ -861,45 +870,45 @@ function he(s) {
861
870
  <div @mousedown="${() => !1}" @click="${(o) => o._onChevronClick()}">
862
871
  ${v(
863
872
  (o) => o.loading,
864
- d`<${e} indeterminate size="-6" aria-hidden="true"></${e}>`
873
+ p`<${e} indeterminate size="-6" aria-hidden="true"></${e}>`
865
874
  )}
866
875
  ${v((o) => !o.loading, i)}
867
876
  </div>
868
877
  </div>
869
878
  `;
870
879
  }
871
- function ue(s) {
880
+ function ve(s) {
872
881
  return s.open && s.fixedDropdown ? `--_searchable-select-fixed-width: ${Math.round(
873
882
  s.getBoundingClientRect().width
874
883
  )}px` : null;
875
884
  }
876
- function ve(s) {
877
- const t = s.tagFor(P);
878
- return d`
879
- ${v(
880
- (e) => e.label || e.multiple && e.maxSelected && e.maxSelected >= 1,
881
- d`
882
- <div>
883
- ${v((e) => e.label, de())}
884
- ${v(
885
- (e) => e.multiple && e.maxSelected && e.maxSelected >= 1,
886
- pe()
887
- )}
888
- </div>
889
- `
885
+ function fe(s) {
886
+ const t = s.tagFor(L);
887
+ return p`
888
+ <div class="label-wrapper" ?hidden=${(e) => !e.label && !e._hasContextualHelp && !e._hasSelectionCount}>
889
+ ${v(
890
+ (e) => e.label || e._hasSelectionCount,
891
+ p`
892
+ <div>
893
+ ${v((e) => e.label, de())}
894
+ ${v((e) => e._hasSelectionCount, he())}
895
+ </div>
896
+ `
890
897
  )}
898
+ <slot name="contextual-help" ${O("_contextualHelpSlottedContent")}></slot>
899
+ </div>
891
900
  <span aria-live="assertive" aria-relevant="text" class="visually-hidden">
892
901
  ${(e) => e._changeDescription}
893
902
  </span>
894
903
  <div>
895
- ${he(s)}
904
+ ${ue(s)}
896
905
  <div class="popup-wrapper">
897
906
  <${t}
898
907
  :anchor="${(e) => e._anchor}"
899
908
  :open="${(e) => e.open}"
900
909
  class="popup"
901
910
  placement="bottom-start"
902
- style="${ue}"
911
+ style="${ve}"
903
912
  strategy="${(e) => e.fixedDropdown ? "fixed" : "absolute"}">
904
913
  <div
905
914
  class="listbox"
@@ -911,30 +920,30 @@ function ve(s) {
911
920
  @mousedown="${() => !1}"
912
921
  >
913
922
  <slot
914
- ${oe({
915
- filter: te,
923
+ ${O({
924
+ filter: ae,
916
925
  flatten: !0,
917
926
  property: "_slottedOptions"
918
927
  })}>
919
928
  </slot>
920
929
  ${v(
921
930
  (e) => e._filteredOptions.length === 0,
922
- d`<div class="empty-message">
931
+ p`<div class="empty-message">
923
932
  ${v(
924
933
  (e) => e.loading,
925
- d`<slot name="loading-options">
934
+ p`<slot name="loading-options">
926
935
  ${(e) => e.locale.searchableSelect.loadingOptionsMessage}
927
936
  </slot>`
928
937
  )}
929
938
  ${v(
930
939
  (e) => !e.loading && e.searchText === "",
931
- d`<slot name="no-options">
940
+ p`<slot name="no-options">
932
941
  ${(e) => e.locale.searchableSelect.noOptionsMessage}
933
942
  </slot>`
934
943
  )}
935
944
  ${v(
936
945
  (e) => !e.loading && e.searchText !== "",
937
- d`<slot name="no-matches">
946
+ p`<slot name="no-matches">
938
947
  ${(e) => e.locale.searchableSelect.noMatchesMessage}
939
948
  </slot>`
940
949
  )}
@@ -946,27 +955,27 @@ function ve(s) {
946
955
  </div>
947
956
  `;
948
957
  }
949
- const fe = (s) => {
958
+ const ge = (s) => {
950
959
  const t = s.tagFor(b);
951
- return d`
960
+ return p`
952
961
  <template
953
962
  :_optionTagTagName="${() => t}"
954
963
  @mousedown="${(e, a) => e._onMouseDown(a.event)}"
955
964
  >
956
965
  <div class="control-wrapper">
957
- ${ve(s)} ${(e) => e._getFeedbackTemplate(s)}
966
+ ${fe(s)} ${(e) => e._getFeedbackTemplate(s)}
958
967
  </div>
959
968
  </template>
960
969
  `;
961
- }, ge = ({ shape: s, connotation: t, disabled: e, removable: a }) => w(
970
+ }, be = ({ shape: s, connotation: t, disabled: e, removable: a }) => y(
962
971
  "base",
963
972
  ["disabled", e],
964
973
  ["removable", a],
965
974
  [`shape-${s}`, !!s],
966
975
  [`connotation-${t}`, !!t]
967
976
  );
968
- function be(s) {
969
- return d`
977
+ function me(s) {
978
+ return p`
970
979
  <span
971
980
  class="remove-button"
972
981
  aria-label="${(t) => t.locale.searchableSelect.removeTagButtonLabel(t.label)}"
@@ -978,48 +987,48 @@ function be(s) {
978
987
  </span>
979
988
  `;
980
989
  }
981
- const me = (s) => {
982
- const t = s.tagFor(M);
983
- return d`<span class="${ge}" aria-disabled="${(e) => e.disabled}">
990
+ const _e = (s) => {
991
+ const t = s.tagFor(B);
992
+ return p`<span class="${be}" aria-disabled="${(e) => e.disabled}">
984
993
  <slot name="icon" aria-hidden="true">
985
994
  ${v(
986
995
  (e) => e.hasIconPlaceholder,
987
- d`<div class="icon-placeholder"></div>`
996
+ p`<div class="icon-placeholder"></div>`
988
997
  )}
989
998
  </slot>
990
999
  ${v(
991
1000
  (e) => e.label,
992
- (e) => d`<span class="label">${e.label}</span>`
1001
+ (e) => p`<span class="label">${e.label}</span>`
993
1002
  )}
994
- ${v((e) => e.removable, be(t))}
1003
+ ${v((e) => e.removable, me(t))}
995
1004
  </span>`;
996
- }, _e = D(
1005
+ }, xe = R(
997
1006
  "option-tag",
998
1007
  b,
999
- me,
1008
+ _e,
1000
1009
  [I],
1001
1010
  {
1002
- styles: [ie],
1011
+ styles: [se],
1003
1012
  shadowOptions: {
1004
1013
  delegatesFocus: !0
1005
1014
  }
1006
1015
  }
1007
- ), xe = D(
1016
+ ), we = R(
1008
1017
  "searchable-select",
1009
1018
  n,
1010
- fe,
1019
+ ge,
1011
1020
  [
1012
- E,
1013
- L,
1021
+ P,
1022
+ M,
1014
1023
  I,
1015
- _e,
1016
- A,
1017
- q
1024
+ xe,
1025
+ W,
1026
+ j
1018
1027
  ],
1019
1028
  {
1020
- styles: ae
1029
+ styles: ie
1021
1030
  }
1022
- ), ye = N(
1023
- xe
1031
+ ), ye = H(
1032
+ we
1024
1033
  );
1025
1034
  ye();