@fluentui/web-components 3.0.0-beta.86 → 3.0.0-beta.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,12 +1,21 @@
1
1
  # Change Log - @fluentui/web-components
2
2
 
3
- This log was last generated on Fri, 14 Mar 2025 04:06:53 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 20 Mar 2025 04:06:52 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [3.0.0-beta.87](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.87)
8
+
9
+ Thu, 20 Mar 2025 04:06:52 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.86..@fluentui/web-components_v3.0.0-beta.87)
11
+
12
+ ### Changes
13
+
14
+ - [chore]: move core functionality to base dropdown ([PR #34033](https://github.com/microsoft/fluentui/pull/34033) by jes@microsoft.com)
15
+
7
16
  ## [3.0.0-beta.86](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.86)
8
17
 
9
- Fri, 14 Mar 2025 04:06:53 GMT
18
+ Fri, 14 Mar 2025 04:07:05 GMT
10
19
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.85..@fluentui/web-components_v3.0.0-beta.86)
11
20
 
12
21
  ### Changes
@@ -18,6 +18,13 @@ import { DropdownType } from './dropdown.options.js';
18
18
  * @public
19
19
  */
20
20
  export declare class BaseDropdown extends FASTElement {
21
+ /**
22
+ * Static property for the anchor positioning fallback observer. The observer is used to flip the listbox when it is
23
+ * out of view.
24
+ * @remarks This is only used when the browser does not support CSS anchor positioning.
25
+ * @internal
26
+ */
27
+ private static AnchorPositionFallbackObserver;
21
28
  /**
22
29
  * The ID of the current active descendant.
23
30
  *
@@ -415,4 +422,20 @@ export declare class BaseDropdown extends FASTElement {
415
422
  * @internal
416
423
  */
417
424
  protected updateFreeformOption(value?: string): void;
425
+ connectedCallback(): void;
426
+ disconnectedCallback(): void;
427
+ /**
428
+ * Handles the connected event for the listbox.
429
+ *
430
+ * @param e - the event object
431
+ * @internal
432
+ */
433
+ private listboxConnectedHandler;
434
+ /**
435
+ * When anchor positioning isn't supported, an intersection observer is used to flip the listbox when it hits the
436
+ * viewport bounds. One static observer is used for all dropdowns.
437
+ *
438
+ * @internal
439
+ */
440
+ private anchorPositionFallback;
418
441
  }
@@ -10,13 +10,6 @@ import { DropdownAppearance, DropdownSize } from './dropdown.options.js';
10
10
  * @public
11
11
  */
12
12
  export declare class Dropdown extends BaseDropdown {
13
- /**
14
- * Static property for the anchor positioning fallback observer. The observer is used to flip the listbox when it is
15
- * out of view.
16
- * @remarks This is only used when the browser does not support CSS anchor positioning.
17
- * @internal
18
- */
19
- private static AnchorPositionFallbackObserver;
20
13
  /**
21
14
  * The appearance of the dropdown.
22
15
  *
@@ -48,29 +41,4 @@ export declare class Dropdown extends BaseDropdown {
48
41
  * @internal
49
42
  */
50
43
  sizeChanged(prev: DropdownSize | undefined, next: DropdownSize | undefined): void;
51
- connectedCallback(): void;
52
- constructor();
53
- disconnectedCallback(): void;
54
- /**
55
- * Handles the connected event for the listbox.
56
- *
57
- * @param e - the event object
58
- * @internal
59
- */
60
- private listboxConnectedHandler;
61
- /**
62
- * Adds or removes the window event listener based on the open state.
63
- *
64
- * @param prev - the previous open state
65
- * @param next - the current open state
66
- * @internal
67
- */
68
- openChanged(prev: boolean | undefined, next: boolean | undefined): void;
69
- /**
70
- * When anchor positioning isn't supported, an intersection observer is used to flip the listbox when it hits the
71
- * viewport bounds. One static observer is used for all dropdowns.
72
- *
73
- * @internal
74
- */
75
- private anchorPositionFallback;
76
44
  }
@@ -1,5 +1,6 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { attr, FASTElement, Observable, observable, Updates, volatile } from '@microsoft/fast-element';
3
+ import { isListbox } from '../listbox/listbox.options.js';
3
4
  import { isDropdownOption } from '../option/option.options.js';
4
5
  import { toggleState } from '../utils/element-internals.js';
5
6
  import { getLanguage } from '../utils/language.js';
@@ -172,6 +173,11 @@ export class BaseDropdown extends FASTElement {
172
173
  toggleState(this.elementInternals, 'open', next);
173
174
  this.elementInternals.ariaExpanded = next ? 'true' : 'false';
174
175
  this.activeIndex = this.selectedIndex ?? -1;
176
+ if (next) {
177
+ BaseDropdown.AnchorPositionFallbackObserver?.observe(this.listbox);
178
+ return;
179
+ }
180
+ BaseDropdown.AnchorPositionFallbackObserver?.unobserve(this.listbox);
175
181
  }
176
182
  /**
177
183
  * Changes the slotted control element based on the dropdown type.
@@ -398,6 +404,7 @@ export class BaseDropdown extends FASTElement {
398
404
  */
399
405
  this.elementInternals = this.attachInternals();
400
406
  this.elementInternals.role = 'presentation';
407
+ this.addEventListener('connected', this.listboxConnectedHandler);
401
408
  Updates.enqueue(() => {
402
409
  this.insertControl();
403
410
  });
@@ -616,6 +623,49 @@ export class BaseDropdown extends FASTElement {
616
623
  this.freeformOption.value = value;
617
624
  this.freeformOption.hidden = false;
618
625
  }
626
+ connectedCallback() {
627
+ super.connectedCallback();
628
+ this.anchorPositionFallback();
629
+ }
630
+ disconnectedCallback() {
631
+ BaseDropdown.AnchorPositionFallbackObserver?.unobserve(this.listbox);
632
+ super.disconnectedCallback();
633
+ }
634
+ /**
635
+ * Handles the connected event for the listbox.
636
+ *
637
+ * @param e - the event object
638
+ * @internal
639
+ */
640
+ listboxConnectedHandler(e) {
641
+ const target = e.target;
642
+ if (isListbox(target)) {
643
+ this.listbox = target;
644
+ }
645
+ }
646
+ /**
647
+ * When anchor positioning isn't supported, an intersection observer is used to flip the listbox when it hits the
648
+ * viewport bounds. One static observer is used for all dropdowns.
649
+ *
650
+ * @internal
651
+ */
652
+ anchorPositionFallback() {
653
+ BaseDropdown.AnchorPositionFallbackObserver =
654
+ BaseDropdown.AnchorPositionFallbackObserver ??
655
+ new IntersectionObserver((entries) => {
656
+ entries.forEach(({ boundingClientRect, isIntersecting, target }) => {
657
+ if (isListbox(target) && !isIntersecting) {
658
+ if (boundingClientRect.bottom > window.innerHeight) {
659
+ toggleState(target.dropdown.elementInternals, 'flip-block', true);
660
+ return;
661
+ }
662
+ if (boundingClientRect.top < 0) {
663
+ toggleState(target.dropdown.elementInternals, 'flip-block', false);
664
+ }
665
+ }
666
+ });
667
+ }, { threshold: 1 });
668
+ }
619
669
  }
620
670
  __decorate([
621
671
  volatile
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown.base.js","sourceRoot":"","sources":["../../../src/dropdown/dropdown.base.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAGvG,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAEvF;;;;;;;;;;;;;;GAcG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;OAIG;IAEH,IAAW,gBAAgB;QACzB,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;YACd,OAAO,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,EAAE,CAAC;QACnD,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAUD;;;;;;OAMG;IACI,kBAAkB,CAAC,IAAwB,EAAE,IAAwB;QAC1E,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;YAC7B,MAAM,WAAW,GAAG,IAAI,CAAC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;IADN,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8CACA;AAuBnB;IADN,IAAI;0CACgB;AAwBd;IADN,UAAU;0CACW;AA6Bf;IADN,IAAI;iDACuB;AAUrB;IADN,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8CACO;AAU1B;IADN,IAAI;0CAC6C;AAwB3C;IADN,IAAI,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC;oDACM"}
@@ -1,7 +1,6 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { attr } from '@microsoft/fast-element';
3
- import { isListbox } from '../listbox/listbox.options.js';
4
- import { swapStates, toggleState } from '../utils/element-internals.js';
3
+ import { swapStates } from '../utils/element-internals.js';
5
4
  import { BaseDropdown } from './dropdown.base.js';
6
5
  import { DropdownAppearance, DropdownSize } from './dropdown.options.js';
7
6
  /**
@@ -14,32 +13,8 @@ import { DropdownAppearance, DropdownSize } from './dropdown.options.js';
14
13
  * @public
15
14
  */
16
15
  export class Dropdown extends BaseDropdown {
17
- /**
18
- * Swaps appearance states when the appearance property changes.
19
- *
20
- * @param prev - the previous appearance state
21
- * @param next - the current appearance state
22
- * @internal
23
- */
24
- appearanceChanged(prev, next) {
25
- swapStates(this.elementInternals, prev, next, DropdownAppearance);
26
- }
27
- /**
28
- * Swaps size states when the size property changes.
29
- *
30
- * @param prev - the previous size state
31
- * @param next - the current size state
32
- * @internal
33
- */
34
- sizeChanged(prev, next) {
35
- swapStates(this.elementInternals, prev, next, DropdownSize);
36
- }
37
- connectedCallback() {
38
- super.connectedCallback();
39
- this.anchorPositionFallback();
40
- }
41
16
  constructor() {
42
- super();
17
+ super(...arguments);
43
18
  /**
44
19
  * The appearance of the dropdown.
45
20
  *
@@ -48,61 +23,26 @@ export class Dropdown extends BaseDropdown {
48
23
  * HTML Attribute: `appearance`
49
24
  */
50
25
  this.appearance = DropdownAppearance.outline;
51
- this.addEventListener('connected', this.listboxConnectedHandler);
52
- }
53
- disconnectedCallback() {
54
- Dropdown.AnchorPositionFallbackObserver?.unobserve(this.listbox);
55
- super.disconnectedCallback();
56
26
  }
57
27
  /**
58
- * Handles the connected event for the listbox.
59
- *
60
- * @param e - the event object
61
- * @internal
62
- */
63
- listboxConnectedHandler(e) {
64
- const target = e.target;
65
- if (isListbox(target)) {
66
- this.listbox = target;
67
- }
68
- }
69
- /**
70
- * Adds or removes the window event listener based on the open state.
28
+ * Swaps appearance states when the appearance property changes.
71
29
  *
72
- * @param prev - the previous open state
73
- * @param next - the current open state
30
+ * @param prev - the previous appearance state
31
+ * @param next - the current appearance state
74
32
  * @internal
75
33
  */
76
- openChanged(prev, next) {
77
- super.openChanged(prev, next);
78
- if (next) {
79
- Dropdown.AnchorPositionFallbackObserver?.observe(this.listbox);
80
- return;
81
- }
82
- Dropdown.AnchorPositionFallbackObserver?.unobserve(this.listbox);
34
+ appearanceChanged(prev, next) {
35
+ swapStates(this.elementInternals, prev, next, DropdownAppearance);
83
36
  }
84
37
  /**
85
- * When anchor positioning isn't supported, an intersection observer is used to flip the listbox when it hits the
86
- * viewport bounds. One static observer is used for all dropdowns.
38
+ * Swaps size states when the size property changes.
87
39
  *
40
+ * @param prev - the previous size state
41
+ * @param next - the current size state
88
42
  * @internal
89
43
  */
90
- anchorPositionFallback() {
91
- Dropdown.AnchorPositionFallbackObserver =
92
- Dropdown.AnchorPositionFallbackObserver ??
93
- new IntersectionObserver((entries) => {
94
- entries.forEach(({ boundingClientRect, isIntersecting, target }) => {
95
- if (isListbox(target) && !isIntersecting) {
96
- if (boundingClientRect.bottom > window.innerHeight) {
97
- toggleState(target.dropdown.elementInternals, 'flip-block', true);
98
- return;
99
- }
100
- if (boundingClientRect.top < 0) {
101
- toggleState(target.dropdown.elementInternals, 'flip-block', false);
102
- }
103
- }
104
- });
105
- }, { threshold: 1 });
44
+ sizeChanged(prev, next) {
45
+ swapStates(this.elementInternals, prev, next, DropdownSize);
106
46
  }
107
47
  }
108
48
  __decorate([
@@ -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7GQ;IADN,IAAI;4CAC8D;AAoB5D;IADN,IAAI;sCACsB"}
1
+ {"version":3,"file":"dropdown.js","sourceRoot":"","sources":["../../../src/dropdown/dropdown.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEzE;;;;;;;;GAQG;AACH,MAAM,OAAO,QAAS,SAAQ,YAAY;IAA1C;;QACE;;;;;;WAMG;QAEI,eAAU,GAAuB,kBAAkB,CAAC,OAAO,CAAC;IAgCrE,CAAC;IA9BC;;;;;;OAMG;IACI,iBAAiB,CAAC,IAAoC,EAAE,IAAoC;QACjG,UAAU,CAAC,IAAI,CAAC,gBAAgB,EAAE,IAAI,EAAE,IAAI,EAAE,kBAAkB,CAAC,CAAC;IACpE,CAAC;IAWD;;;;;;OAMG;IACI,WAAW,CAAC,IAA8B,EAAE,IAA8B;QAC/E,UAAU,CAAC,IAAI,CAAC,gBAAgB,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,CAAC,CAAC;IAC9D,CAAC;CACF;AAhCQ;IADN,IAAI;4CAC8D;AAoB5D;IADN,IAAI;sCACsB"}
@@ -1648,6 +1648,13 @@ export declare class BaseDivider extends FASTElement {
1648
1648
  * @public
1649
1649
  */
1650
1650
  export declare class BaseDropdown extends FASTElement {
1651
+ /**
1652
+ * Static property for the anchor positioning fallback observer. The observer is used to flip the listbox when it is
1653
+ * out of view.
1654
+ * @remarks This is only used when the browser does not support CSS anchor positioning.
1655
+ * @internal
1656
+ */
1657
+ private static AnchorPositionFallbackObserver;
1651
1658
  /**
1652
1659
  * The ID of the current active descendant.
1653
1660
  *
@@ -2045,6 +2052,22 @@ export declare class BaseDropdown extends FASTElement {
2045
2052
  * @internal
2046
2053
  */
2047
2054
  protected updateFreeformOption(value?: string): void;
2055
+ connectedCallback(): void;
2056
+ disconnectedCallback(): void;
2057
+ /**
2058
+ * Handles the connected event for the listbox.
2059
+ *
2060
+ * @param e - the event object
2061
+ * @internal
2062
+ */
2063
+ private listboxConnectedHandler;
2064
+ /**
2065
+ * When anchor positioning isn't supported, an intersection observer is used to flip the listbox when it hits the
2066
+ * viewport bounds. One static observer is used for all dropdowns.
2067
+ *
2068
+ * @internal
2069
+ */
2070
+ private anchorPositionFallback;
2048
2071
  }
2049
2072
 
2050
2073
  /**
@@ -6610,13 +6633,6 @@ export declare type DrawerType = ValuesOf<typeof DrawerType>;
6610
6633
  * @public
6611
6634
  */
6612
6635
  export declare class Dropdown extends BaseDropdown {
6613
- /**
6614
- * Static property for the anchor positioning fallback observer. The observer is used to flip the listbox when it is
6615
- * out of view.
6616
- * @remarks This is only used when the browser does not support CSS anchor positioning.
6617
- * @internal
6618
- */
6619
- private static AnchorPositionFallbackObserver;
6620
6636
  /**
6621
6637
  * The appearance of the dropdown.
6622
6638
  *
@@ -6648,31 +6664,6 @@ export declare class Dropdown extends BaseDropdown {
6648
6664
  * @internal
6649
6665
  */
6650
6666
  sizeChanged(prev: DropdownSize | undefined, next: DropdownSize | undefined): void;
6651
- connectedCallback(): void;
6652
- constructor();
6653
- disconnectedCallback(): void;
6654
- /**
6655
- * Handles the connected event for the listbox.
6656
- *
6657
- * @param e - the event object
6658
- * @internal
6659
- */
6660
- private listboxConnectedHandler;
6661
- /**
6662
- * Adds or removes the window event listener based on the open state.
6663
- *
6664
- * @param prev - the previous open state
6665
- * @param next - the current open state
6666
- * @internal
6667
- */
6668
- openChanged(prev: boolean | undefined, next: boolean | undefined): void;
6669
- /**
6670
- * When anchor positioning isn't supported, an intersection observer is used to flip the listbox when it hits the
6671
- * viewport bounds. One static observer is used for all dropdowns.
6672
- *
6673
- * @internal
6674
- */
6675
- private anchorPositionFallback;
6676
6667
  }
6677
6668
 
6678
6669
  /**
@@ -7463,7 +7463,7 @@ var __decorateClass$z = (decorators, target, key, kind) => {
7463
7463
  if (kind && result) __defProp$z(target, key, result);
7464
7464
  return result;
7465
7465
  };
7466
- class BaseDropdown extends FASTElement {
7466
+ const _BaseDropdown = class _BaseDropdown extends FASTElement {
7467
7467
  constructor() {
7468
7468
  super();
7469
7469
  this.activeIndex = 0;
@@ -7478,6 +7478,7 @@ class BaseDropdown extends FASTElement {
7478
7478
  */
7479
7479
  this.elementInternals = this.attachInternals();
7480
7480
  this.elementInternals.role = "presentation";
7481
+ this.addEventListener("connected", this.listboxConnectedHandler);
7481
7482
  Updates.enqueue(() => {
7482
7483
  this.insertControl();
7483
7484
  });
@@ -7619,6 +7620,11 @@ class BaseDropdown extends FASTElement {
7619
7620
  toggleState(this.elementInternals, "open", next);
7620
7621
  this.elementInternals.ariaExpanded = next ? "true" : "false";
7621
7622
  this.activeIndex = this.selectedIndex ?? -1;
7623
+ if (next) {
7624
+ _BaseDropdown.AnchorPositionFallbackObserver?.observe(this.listbox);
7625
+ return;
7626
+ }
7627
+ _BaseDropdown.AnchorPositionFallbackObserver?.unobserve(this.listbox);
7622
7628
  }
7623
7629
  /**
7624
7630
  * Changes the slotted control element based on the dropdown type.
@@ -8011,49 +8017,97 @@ class BaseDropdown extends FASTElement {
8011
8017
  this.freeformOption.value = value;
8012
8018
  this.freeformOption.hidden = false;
8013
8019
  }
8014
- }
8020
+ connectedCallback() {
8021
+ super.connectedCallback();
8022
+ this.anchorPositionFallback();
8023
+ }
8024
+ disconnectedCallback() {
8025
+ _BaseDropdown.AnchorPositionFallbackObserver?.unobserve(this.listbox);
8026
+ super.disconnectedCallback();
8027
+ }
8028
+ /**
8029
+ * Handles the connected event for the listbox.
8030
+ *
8031
+ * @param e - the event object
8032
+ * @internal
8033
+ */
8034
+ listboxConnectedHandler(e) {
8035
+ const target = e.target;
8036
+ if (isListbox(target)) {
8037
+ this.listbox = target;
8038
+ }
8039
+ }
8040
+ /**
8041
+ * When anchor positioning isn't supported, an intersection observer is used to flip the listbox when it hits the
8042
+ * viewport bounds. One static observer is used for all dropdowns.
8043
+ *
8044
+ * @internal
8045
+ */
8046
+ anchorPositionFallback() {
8047
+ _BaseDropdown.AnchorPositionFallbackObserver = _BaseDropdown.AnchorPositionFallbackObserver ?? new IntersectionObserver(entries => {
8048
+ entries.forEach(({
8049
+ boundingClientRect,
8050
+ isIntersecting,
8051
+ target
8052
+ }) => {
8053
+ if (isListbox(target) && !isIntersecting) {
8054
+ if (boundingClientRect.bottom > window.innerHeight) {
8055
+ toggleState(target.dropdown.elementInternals, "flip-block", true);
8056
+ return;
8057
+ }
8058
+ if (boundingClientRect.top < 0) {
8059
+ toggleState(target.dropdown.elementInternals, "flip-block", false);
8060
+ }
8061
+ }
8062
+ });
8063
+ }, {
8064
+ threshold: 1
8065
+ });
8066
+ }
8067
+ };
8015
8068
  /**
8016
8069
  * The form-associated flag.
8017
8070
  * @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example | Form-associated custom elements}
8018
8071
  *
8019
8072
  * @public
8020
8073
  */
8021
- BaseDropdown.formAssociated = true;
8022
- __decorateClass$z([volatile], BaseDropdown.prototype, "activeDescendant", 1);
8023
- __decorateClass$z([observable], BaseDropdown.prototype, "activeIndex", 2);
8074
+ _BaseDropdown.formAssociated = true;
8075
+ __decorateClass$z([volatile], _BaseDropdown.prototype, "activeDescendant", 1);
8076
+ __decorateClass$z([observable], _BaseDropdown.prototype, "activeIndex", 2);
8024
8077
  __decorateClass$z([attr({
8025
8078
  attribute: "aria-labelledby",
8026
8079
  mode: "fromView"
8027
- })], BaseDropdown.prototype, "ariaLabelledBy", 2);
8028
- __decorateClass$z([observable], BaseDropdown.prototype, "control", 2);
8080
+ })], _BaseDropdown.prototype, "ariaLabelledBy", 2);
8081
+ __decorateClass$z([observable], _BaseDropdown.prototype, "control", 2);
8029
8082
  __decorateClass$z([attr({
8030
8083
  mode: "boolean"
8031
- })], BaseDropdown.prototype, "disabled", 2);
8032
- __decorateClass$z([volatile], BaseDropdown.prototype, "displayValue", 1);
8084
+ })], _BaseDropdown.prototype, "disabled", 2);
8085
+ __decorateClass$z([volatile], _BaseDropdown.prototype, "displayValue", 1);
8033
8086
  __decorateClass$z([attr({
8034
8087
  attribute: "id"
8035
- })], BaseDropdown.prototype, "id", 2);
8036
- __decorateClass$z([observable], BaseDropdown.prototype, "indicator", 2);
8037
- __decorateClass$z([observable], BaseDropdown.prototype, "indicatorSlot", 2);
8088
+ })], _BaseDropdown.prototype, "id", 2);
8089
+ __decorateClass$z([observable], _BaseDropdown.prototype, "indicator", 2);
8090
+ __decorateClass$z([observable], _BaseDropdown.prototype, "indicatorSlot", 2);
8038
8091
  __decorateClass$z([attr({
8039
8092
  attribute: "value",
8040
8093
  mode: "fromView"
8041
- })], BaseDropdown.prototype, "initialValue", 2);
8042
- __decorateClass$z([observable], BaseDropdown.prototype, "listbox", 2);
8043
- __decorateClass$z([observable], BaseDropdown.prototype, "listboxSlot", 2);
8094
+ })], _BaseDropdown.prototype, "initialValue", 2);
8095
+ __decorateClass$z([observable], _BaseDropdown.prototype, "listbox", 2);
8096
+ __decorateClass$z([observable], _BaseDropdown.prototype, "listboxSlot", 2);
8044
8097
  __decorateClass$z([attr({
8045
8098
  mode: "boolean"
8046
- })], BaseDropdown.prototype, "multiple", 2);
8047
- __decorateClass$z([attr], BaseDropdown.prototype, "name", 2);
8048
- __decorateClass$z([observable], BaseDropdown.prototype, "open", 2);
8049
- __decorateClass$z([attr], BaseDropdown.prototype, "placeholder", 2);
8099
+ })], _BaseDropdown.prototype, "multiple", 2);
8100
+ __decorateClass$z([attr], _BaseDropdown.prototype, "name", 2);
8101
+ __decorateClass$z([observable], _BaseDropdown.prototype, "open", 2);
8102
+ __decorateClass$z([attr], _BaseDropdown.prototype, "placeholder", 2);
8050
8103
  __decorateClass$z([attr({
8051
8104
  mode: "boolean"
8052
- })], BaseDropdown.prototype, "required", 2);
8053
- __decorateClass$z([attr], BaseDropdown.prototype, "type", 2);
8105
+ })], _BaseDropdown.prototype, "required", 2);
8106
+ __decorateClass$z([attr], _BaseDropdown.prototype, "type", 2);
8054
8107
  __decorateClass$z([attr({
8055
8108
  attribute: "value"
8056
- })], BaseDropdown.prototype, "valueAttribute", 2);
8109
+ })], _BaseDropdown.prototype, "valueAttribute", 2);
8110
+ let BaseDropdown = _BaseDropdown;
8057
8111
 
8058
8112
  var __defProp$y = Object.defineProperty;
8059
8113
  var __getOwnPropDesc$y = Object.getOwnPropertyDescriptor;
@@ -8063,11 +8117,10 @@ var __decorateClass$y = (decorators, target, key, kind) => {
8063
8117
  if (kind && result) __defProp$y(target, key, result);
8064
8118
  return result;
8065
8119
  };
8066
- const _Dropdown = class _Dropdown extends BaseDropdown {
8120
+ class Dropdown extends BaseDropdown {
8067
8121
  constructor() {
8068
- super();
8122
+ super(...arguments);
8069
8123
  this.appearance = DropdownAppearance.outline;
8070
- this.addEventListener("connected", this.listboxConnectedHandler);
8071
8124
  }
8072
8125
  /**
8073
8126
  * Swaps appearance states when the appearance property changes.
@@ -8089,72 +8142,9 @@ const _Dropdown = class _Dropdown extends BaseDropdown {
8089
8142
  sizeChanged(prev, next) {
8090
8143
  swapStates(this.elementInternals, prev, next, DropdownSize);
8091
8144
  }
8092
- connectedCallback() {
8093
- super.connectedCallback();
8094
- this.anchorPositionFallback();
8095
- }
8096
- disconnectedCallback() {
8097
- _Dropdown.AnchorPositionFallbackObserver?.unobserve(this.listbox);
8098
- super.disconnectedCallback();
8099
- }
8100
- /**
8101
- * Handles the connected event for the listbox.
8102
- *
8103
- * @param e - the event object
8104
- * @internal
8105
- */
8106
- listboxConnectedHandler(e) {
8107
- const target = e.target;
8108
- if (isListbox(target)) {
8109
- this.listbox = target;
8110
- }
8111
- }
8112
- /**
8113
- * Adds or removes the window event listener based on the open state.
8114
- *
8115
- * @param prev - the previous open state
8116
- * @param next - the current open state
8117
- * @internal
8118
- */
8119
- openChanged(prev, next) {
8120
- super.openChanged(prev, next);
8121
- if (next) {
8122
- _Dropdown.AnchorPositionFallbackObserver?.observe(this.listbox);
8123
- return;
8124
- }
8125
- _Dropdown.AnchorPositionFallbackObserver?.unobserve(this.listbox);
8126
- }
8127
- /**
8128
- * When anchor positioning isn't supported, an intersection observer is used to flip the listbox when it hits the
8129
- * viewport bounds. One static observer is used for all dropdowns.
8130
- *
8131
- * @internal
8132
- */
8133
- anchorPositionFallback() {
8134
- _Dropdown.AnchorPositionFallbackObserver = _Dropdown.AnchorPositionFallbackObserver ?? new IntersectionObserver(entries => {
8135
- entries.forEach(({
8136
- boundingClientRect,
8137
- isIntersecting,
8138
- target
8139
- }) => {
8140
- if (isListbox(target) && !isIntersecting) {
8141
- if (boundingClientRect.bottom > window.innerHeight) {
8142
- toggleState(target.dropdown.elementInternals, "flip-block", true);
8143
- return;
8144
- }
8145
- if (boundingClientRect.top < 0) {
8146
- toggleState(target.dropdown.elementInternals, "flip-block", false);
8147
- }
8148
- }
8149
- });
8150
- }, {
8151
- threshold: 1
8152
- });
8153
- }
8154
- };
8155
- __decorateClass$y([attr], _Dropdown.prototype, "appearance", 2);
8156
- __decorateClass$y([attr], _Dropdown.prototype, "size", 2);
8157
- let Dropdown = _Dropdown;
8145
+ }
8146
+ __decorateClass$y([attr], Dropdown.prototype, "appearance", 2);
8147
+ __decorateClass$y([attr], Dropdown.prototype, "size", 2);
8158
8148
 
8159
8149
  const styles$s = css`
8160
8150
  ${display("inline-flex")}
@@ -430,10 +430,10 @@ const b=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElem
430
430
 
431
431
  :host{--dialog-backdrop:${Zr}}:host([type='non-modal']) dialog[open]::backdrop{display:none}:host([type='non-modal']) dialog{position:fixed;top:0;bottom:0}:host([type='inline']){height:100%;width:fit-content}:host([type='inline']) dialog[open]{box-shadow:none;position:relative}:host([size='small']) dialog{width:320px;max-width:320px}:host([size='large']) dialog{width:940px;max-width:940px}:host([size='full']) dialog{width:100%;max-width:100%}:host([position='end']) dialog{margin-inline-start:auto;margin-inline-end:0}dialog{box-sizing:border-box;z-index:var(--drawer-elevation,1000);font-size:${F};line-height:${H};font-family:${x};font-weight:${j};color:${_};max-width:var(--drawer-width,592px);max-height:100vh;height:100%;margin-inline-start:0;margin-inline-end:auto;border-inline-end-color:${ae};border-inline-start-color:var(--drawer-separator,${ae});outline:none;top:0;bottom:0;width:var(--drawer-width,592px);border-radius:0;padding:0;max-width:var(--drawer-width,592px);box-shadow:${Fa};border:${N} solid ${ae};background:${A}}dialog::backdrop{background:var(--dialog-backdrop)}@layer animations{@media (prefers-reduced-motion:no-preference){dialog{transition:display allow-discrete,opacity,overlay allow-discrete,transform;transition-duration:${hs};transition-timing-function:${Rt}}:host dialog:not([open]){transform:translateX(-100%);transition-timing-function:${jt}}:host([position='end']) dialog:not([open]){transform:translateX(100%);transition-timing-function:${jt}}dialog[open]{transform:translateX(0)}dialog::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${hs};transition-timing-function:${Rt};background:var(--dialog-backdrop,${Zr});opacity:0}dialog[open]::backdrop{opacity:1}dialog::backdrop{transition-timing-function:${ps}}}@starting-style{dialog[open]{transform:translateX(-100%)}:host([position='end']) dialog[open]{transform:translateX(100%)}dialog[open]::backdrop{opacity:0}}}`;function tg(){return g`<dialog class="dialog" part="dialog" role="${o=>o.type==="modal"?"dialog":o.role}" aria-modal="${o=>o.type==="modal"?"true":void 0}" aria-describedby="${o=>o.ariaDescribedby}" aria-labelledby="${o=>o.ariaLabelledby}" aria-label="${o=>o.ariaLabel}" size="${o=>o.size}" position="${o=>o.position}" type="${o=>o.type}" @click="${(o,e)=>o.clickHandler(e.event)}" @cancel="${(o,e)=>o.hide()}" ${X("dialog")}><slot></slot></dialog>`}const og=tg(),ig=Gt.compose({name:`${b.prefix}-drawer`,template:og,styles:eg});ig.define(b.registry);class rg extends k{}const sg=p`
432
432
  ${C("grid")}
433
- :host{box-sizing:border-box;grid-template-rows:min-content auto min-content;position:relative;height:100%;padding:${Ru};max-height:100svh}.header{display:flex;justify-content:space-between;align-items:center;${Gp}}.footer{display:flex;justify-content:flex-start;gap:${ge}}`;function ng(){return g`<div class="header" part="header"><slot name="title"></slot><slot name="close"></slot></div><div class="content" part="content"><slot></slot></div><div class="footer" part="footer"><slot name="footer"></slot></div>`}const ag=ng(),lg=rg.compose({name:`${b.prefix}-drawer-body`,template:ag,styles:sg});lg.define(b.registry);function sl(o,e="-listbox"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}function nr(o,e="-option"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}function nl(o){return o.closest("[lang]")?.lang??"en"}let cg=0;function Yo(o="id-"){const e=`${o}${cg++}`;return document.getElementById(e)?Yo(o):e}const al={filledDarker:"filled-darker",filledLighter:"filled-lighter",outline:"outline",transparent:"transparent"},dg={small:"small",medium:"medium",large:"large"},ks={combobox:"combobox",dropdown:"dropdown",select:"select"},hg=g`<svg class="chevron-down-20-regular" role="button" slot="indicator" viewBox="0 0 20 20" ${X("indicator")}><path d="M15.85 7.65a.5.5 0 0 1 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16a.5.5 0 0 1 .7 0" fill="currentColor" /></svg>`,ug=g`<input @input="${(o,e)=>o.inputHandler(e.event)}" @change="${(o,e)=>o.changeHandler(e.event)}" aria-activedescendant="${o=>o.activeDescendant}" aria-controls="${o=>o.listbox?.id??null}" aria-labelledby="${o=>o.ariaLabelledBy}" aria-expanded="${o=>o.open}" aria-haspopup="listbox" placeholder="${o=>o.placeholder}" role="combobox" ?disabled="${o=>o.disabled}" type="${o=>o.type}" value="${o=>o.valueAttribute}" ${X("control")} />`,pg=g`<button aria-activedescendant="${o=>o.activeDescendant}" aria-controls="${o=>o.listbox?.id??null}" aria-expanded="${o=>o.open}" aria-haspopup="listbox" role="combobox" ?disabled="${o=>o.disabled}" type="button" ${X("control")}>${o=>o.displayValue}</button>`;function bg(o={}){return g`<template @click="${(e,t)=>e.clickHandler(t.event)}" @focusout="${(e,t)=>e.focusoutHandler(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}" @mousedown="${(e,t)=>e.mousedownHandler(t.event)}"><div class="control"><slot name="control" ${X("controlSlot")}></slot><slot name="indicator" ${X("indicatorSlot")}>${$e(o.indicator)}</slot></div><slot ${X("listboxSlot")}></slot></template>`}const gg=bg({indicator:hg});var fg=Object.defineProperty,mg=Object.getOwnPropertyDescriptor,J=(o,e,t,i)=>{for(var r=i>1?void 0:i?mg(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&fg(e,t,r),r};class R extends k{constructor(){super(),this.activeIndex=0,this.id=Yo("dropdown-"),this.required=!1,this.type=ks.dropdown,this.valueAttribute="",this.elementInternals=this.attachInternals(),this.elementInternals.role="presentation",re.enqueue(()=>{this.insertControl()})}get activeDescendant(){if(this.open)return this.enabledOptions[this.activeIndex]?.id}activeIndexChanged(e,t){if(typeof t=="number"){const i=this.matches(":has(:focus-visible)")?t:-1;this.enabledOptions.forEach((r,s)=>{r.active=s===i}),this.open&&this.enabledOptions[i]?.scrollIntoView({block:"nearest"})}}controlChanged(e,t){t&&(t.id=t.id||Yo("input-"),this.controlSlot?.assign(t))}disabledChanged(e,t){re.enqueue(()=>{this.options.forEach(i=>{i.disabled=i.disabledAttribute||this.disabled})})}get displayValue(){if(!this.$fastController.isConnected||!this.control||this.isCombobox&&this.multiple)return $(this.elementInternals,"placeholder-shown",!1),"";this.listFormatter=this.listFormatter??new Intl.ListFormat(nl(this),{type:"conjunction",style:"narrow"});const e=this.listFormatter.format(this.selectedOptions.map(t=>t.text));return $(this.elementInternals,"placeholder-shown",!e),this.isCombobox?e:e||this.placeholder}listboxChanged(e,t){if(e&&f.getNotifier(this).unsubscribe(e),t){t.dropdown=this,t.popover="manual",this.listboxSlot.assign(t);const i=f.getNotifier(this);i.subscribe(t);for(const r of["disabled","multiple"])i.notify(r);re.enqueue(()=>{this.enabledOptions.filter(r=>r.defaultSelected).forEach((r,s)=>{r.selected=this.multiple||s===0})})}}multipleChanged(e,t){this.elementInternals.ariaMultiSelectable=t?"true":"false",$(this.elementInternals,"multiple",t),this.value=null}nameChanged(e,t){re.enqueue(()=>{this.options.forEach(i=>{i.name=t})})}openChanged(e,t){$(this.elementInternals,"open",t),this.elementInternals.ariaExpanded=t?"true":"false",this.activeIndex=this.selectedIndex??-1}typeChanged(e,t){this.$fastController.isConnected&&this.insertControl()}get enabledOptions(){return this.listbox?.enabledOptions??[]}formResetCallback(){this.enabledOptions.forEach((e,t)=>{if(this.multiple){e.selected=!!e.defaultSelected;return}if(!e.defaultSelected){e.selected=!1;return}this.selectOption(t)})}get freeformOption(){return this.enabledOptions.find(e=>e.freeform)}get isCombobox(){return this.type===ks.combobox}get options(){return this.listbox?.options??[]}get selectedIndex(){return this.enabledOptions.findIndex(e=>e.selected)??-1}get selectedOptions(){return this.listbox?.selectedOptions??[]}get validationMessage(){if(this.elementInternals.validationMessage)return this.elementInternals.validationMessage;if(!this.validationFallbackMessage){const e=document.createElement("input");e.type="radio",e.required=!0,e.checked=!1,this.validationFallbackMessage=e.validationMessage}return this.validationFallbackMessage}get value(){return f.notify(this,"value"),this.enabledOptions.find(e=>e.selected)?.value??null}set value(e){this.multiple||(this.selectOption(this.enabledOptions.findIndex(t=>t.value===e)),f.track(this,"value"))}changeHandler(e){if(this===e.target)return!0;const t=this.isCombobox?this.enabledOptions.findIndex(i=>i.text===this.control.value):this.enabledOptions.indexOf(e.target);return this.selectOption(t,!0),!0}clickHandler(e){if(this.disabled)return;const t=e.target;if(this.focus(),t===this.control&&!this.isCombobox)return this.listbox.togglePopover(),!0;if(!this.open)return this.listbox.showPopover(),!0;if(nr(t)){if(t.disabled)return;this.selectOption(this.enabledOptions.indexOf(t),!0),this.multiple||(this.isCombobox&&(this.control.value=t.text,this.updateFreeformOption()),this.listbox.hidePopover())}return!0}filterOptions(e,t=this.enabledOptions){return this.listCollator||(this.listCollator=new Intl.Collator(nl(this),{usage:"search",sensitivity:"base"})),t.filter(i=>this.listCollator.compare(i.text.substring(0,Math.min(i.text.length,e.length)),e)===0)}focus(e){this.disabled||this.control.focus(e)}focusoutHandler(e){const t=e.relatedTarget;return this.open&&!this.contains(t)&&this.listbox.togglePopover(),!0}getEnabledIndexInBounds(e,t=this.enabledOptions.length||0){return t===0?-1:(e+t)%t}inputHandler(e){this.open||this.listbox.showPopover(),this.updateFreeformOption();const t=this.control.value,i=this.enabledOptions.indexOf(this.filterOptions(t)[0]??null);return this.activeIndex=i,!0}insertControl(){if(this.controlSlot?.assignedNodes().forEach(e=>this.removeChild(e)),this.type===ks.combobox){ug.render(this,this);return}pg.render(this,this)}keydownHandler(e){let t=0;switch(e.key){case"ArrowUp":{e.preventDefault(),t=-1;break}case"ArrowDown":{e.preventDefault(),t=1;break}case" ":{if(this.isCombobox)break;e.preventDefault()}case"Enter":case"Tab":{if(this.open){if(this.selectOption(this.activeIndex,!0),this.multiple)break;return this.listbox.hidePopover(),e.key==="Tab"}this.listbox.showPopover();break}case"Escape":{this.activeIndex=this.multiple?0:this.selectedIndex,this.listbox.hidePopover();break}}if(!t)return!0;if(!this.open){this.listbox.showPopover();return}let i=this.activeIndex;i+=t;let r=this.getEnabledIndexInBounds(i);return r===0&&this.freeformOption?.hidden&&(r=this.getEnabledIndexInBounds(i+t)),this.activeIndex=r,!0}mousedownHandler(e){if(!(this.disabled||e.target===this.control&&!this.isCombobox))return!nr(e.target)}selectOption(e=this.selectedIndex,t=!1){this.listbox.selectOption(e),this.control.value=this.displayValue,this.setValidity(),this.updateFreeformOption(),t&&this.$emit("change")}setValidity(e,t,i){if(this.$fastController.isConnected){if(this.disabled||!this.required){this.elementInternals.setValidity({});return}const r=this.required&&this.listbox.selectedOptions.length===0;this.elementInternals.setValidity({valueMissing:r,...e},t??this.validationMessage,i??this.listbox.enabledOptions[0])}}updateFreeformOption(e=this.control.value){if(this.freeformOption){if(e===""||this.filterOptions(e,this.enabledOptions.filter(t=>!t.freeform)).length){this.freeformOption.value="",this.freeformOption.selected=!1,this.freeformOption.hidden=!0;return}this.freeformOption.value=e,this.freeformOption.hidden=!1}}}R.formAssociated=!0,J([Sr],R.prototype,"activeDescendant",1),J([m],R.prototype,"activeIndex",2),J([a({attribute:"aria-labelledby",mode:"fromView"})],R.prototype,"ariaLabelledBy",2),J([m],R.prototype,"control",2),J([a({mode:"boolean"})],R.prototype,"disabled",2),J([Sr],R.prototype,"displayValue",1),J([a({attribute:"id"})],R.prototype,"id",2),J([m],R.prototype,"indicator",2),J([m],R.prototype,"indicatorSlot",2),J([a({attribute:"value",mode:"fromView"})],R.prototype,"initialValue",2),J([m],R.prototype,"listbox",2),J([m],R.prototype,"listboxSlot",2),J([a({mode:"boolean"})],R.prototype,"multiple",2),J([a],R.prototype,"name",2),J([m],R.prototype,"open",2),J([a],R.prototype,"placeholder",2),J([a({mode:"boolean"})],R.prototype,"required",2),J([a],R.prototype,"type",2),J([a({attribute:"value"})],R.prototype,"valueAttribute",2);var vg=Object.defineProperty,$g=Object.getOwnPropertyDescriptor,ll=(o,e,t,i)=>{for(var r=i>1?void 0:i?$g(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&vg(e,t,r),r};const ws=class wo extends R{constructor(){super(),this.appearance=al.outline,this.addEventListener("connected",this.listboxConnectedHandler)}appearanceChanged(e,t){y(this.elementInternals,e,t,al)}sizeChanged(e,t){y(this.elementInternals,e,t,dg)}connectedCallback(){super.connectedCallback(),this.anchorPositionFallback()}disconnectedCallback(){wo.AnchorPositionFallbackObserver?.unobserve(this.listbox),super.disconnectedCallback()}listboxConnectedHandler(e){const t=e.target;sl(t)&&(this.listbox=t)}openChanged(e,t){if(super.openChanged(e,t),t){wo.AnchorPositionFallbackObserver?.observe(this.listbox);return}wo.AnchorPositionFallbackObserver?.unobserve(this.listbox)}anchorPositionFallback(){wo.AnchorPositionFallbackObserver=wo.AnchorPositionFallbackObserver??new IntersectionObserver(e=>{e.forEach(({boundingClientRect:t,isIntersecting:i,target:r})=>{if(sl(r)&&!i){if(t.bottom>window.innerHeight){$(r.dropdown.elementInternals,"flip-block",!0);return}t.top<0&&$(r.dropdown.elementInternals,"flip-block",!1)}})},{threshold:1})}};ll([a],ws.prototype,"appearance",2),ll([a],ws.prototype,"size",2);let yg=ws;const xg=p`
433
+ :host{box-sizing:border-box;grid-template-rows:min-content auto min-content;position:relative;height:100%;padding:${Ru};max-height:100svh}.header{display:flex;justify-content:space-between;align-items:center;${Gp}}.footer{display:flex;justify-content:flex-start;gap:${ge}}`;function ng(){return g`<div class="header" part="header"><slot name="title"></slot><slot name="close"></slot></div><div class="content" part="content"><slot></slot></div><div class="footer" part="footer"><slot name="footer"></slot></div>`}const ag=ng(),lg=rg.compose({name:`${b.prefix}-drawer-body`,template:ag,styles:sg});lg.define(b.registry);function sl(o,e="-listbox"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}function nr(o,e="-option"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}function nl(o){return o.closest("[lang]")?.lang??"en"}let cg=0;function Yo(o="id-"){const e=`${o}${cg++}`;return document.getElementById(e)?Yo(o):e}const al={filledDarker:"filled-darker",filledLighter:"filled-lighter",outline:"outline",transparent:"transparent"},dg={small:"small",medium:"medium",large:"large"},ks={combobox:"combobox",dropdown:"dropdown",select:"select"},hg=g`<svg class="chevron-down-20-regular" role="button" slot="indicator" viewBox="0 0 20 20" ${X("indicator")}><path d="M15.85 7.65a.5.5 0 0 1 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16a.5.5 0 0 1 .7 0" fill="currentColor" /></svg>`,ug=g`<input @input="${(o,e)=>o.inputHandler(e.event)}" @change="${(o,e)=>o.changeHandler(e.event)}" aria-activedescendant="${o=>o.activeDescendant}" aria-controls="${o=>o.listbox?.id??null}" aria-labelledby="${o=>o.ariaLabelledBy}" aria-expanded="${o=>o.open}" aria-haspopup="listbox" placeholder="${o=>o.placeholder}" role="combobox" ?disabled="${o=>o.disabled}" type="${o=>o.type}" value="${o=>o.valueAttribute}" ${X("control")} />`,pg=g`<button aria-activedescendant="${o=>o.activeDescendant}" aria-controls="${o=>o.listbox?.id??null}" aria-expanded="${o=>o.open}" aria-haspopup="listbox" role="combobox" ?disabled="${o=>o.disabled}" type="button" ${X("control")}>${o=>o.displayValue}</button>`;function bg(o={}){return g`<template @click="${(e,t)=>e.clickHandler(t.event)}" @focusout="${(e,t)=>e.focusoutHandler(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}" @mousedown="${(e,t)=>e.mousedownHandler(t.event)}"><div class="control"><slot name="control" ${X("controlSlot")}></slot><slot name="indicator" ${X("indicatorSlot")}>${$e(o.indicator)}</slot></div><slot ${X("listboxSlot")}></slot></template>`}const gg=bg({indicator:hg});var fg=Object.defineProperty,mg=Object.getOwnPropertyDescriptor,J=(o,e,t,i)=>{for(var r=i>1?void 0:i?mg(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&fg(e,t,r),r};const R=class wo extends k{constructor(){super(),this.activeIndex=0,this.id=Yo("dropdown-"),this.required=!1,this.type=ks.dropdown,this.valueAttribute="",this.elementInternals=this.attachInternals(),this.elementInternals.role="presentation",this.addEventListener("connected",this.listboxConnectedHandler),re.enqueue(()=>{this.insertControl()})}get activeDescendant(){if(this.open)return this.enabledOptions[this.activeIndex]?.id}activeIndexChanged(e,t){if(typeof t=="number"){const i=this.matches(":has(:focus-visible)")?t:-1;this.enabledOptions.forEach((r,s)=>{r.active=s===i}),this.open&&this.enabledOptions[i]?.scrollIntoView({block:"nearest"})}}controlChanged(e,t){t&&(t.id=t.id||Yo("input-"),this.controlSlot?.assign(t))}disabledChanged(e,t){re.enqueue(()=>{this.options.forEach(i=>{i.disabled=i.disabledAttribute||this.disabled})})}get displayValue(){if(!this.$fastController.isConnected||!this.control||this.isCombobox&&this.multiple)return $(this.elementInternals,"placeholder-shown",!1),"";this.listFormatter=this.listFormatter??new Intl.ListFormat(nl(this),{type:"conjunction",style:"narrow"});const e=this.listFormatter.format(this.selectedOptions.map(t=>t.text));return $(this.elementInternals,"placeholder-shown",!e),this.isCombobox?e:e||this.placeholder}listboxChanged(e,t){if(e&&f.getNotifier(this).unsubscribe(e),t){t.dropdown=this,t.popover="manual",this.listboxSlot.assign(t);const i=f.getNotifier(this);i.subscribe(t);for(const r of["disabled","multiple"])i.notify(r);re.enqueue(()=>{this.enabledOptions.filter(r=>r.defaultSelected).forEach((r,s)=>{r.selected=this.multiple||s===0})})}}multipleChanged(e,t){this.elementInternals.ariaMultiSelectable=t?"true":"false",$(this.elementInternals,"multiple",t),this.value=null}nameChanged(e,t){re.enqueue(()=>{this.options.forEach(i=>{i.name=t})})}openChanged(e,t){if($(this.elementInternals,"open",t),this.elementInternals.ariaExpanded=t?"true":"false",this.activeIndex=this.selectedIndex??-1,t){wo.AnchorPositionFallbackObserver?.observe(this.listbox);return}wo.AnchorPositionFallbackObserver?.unobserve(this.listbox)}typeChanged(e,t){this.$fastController.isConnected&&this.insertControl()}get enabledOptions(){return this.listbox?.enabledOptions??[]}formResetCallback(){this.enabledOptions.forEach((e,t)=>{if(this.multiple){e.selected=!!e.defaultSelected;return}if(!e.defaultSelected){e.selected=!1;return}this.selectOption(t)})}get freeformOption(){return this.enabledOptions.find(e=>e.freeform)}get isCombobox(){return this.type===ks.combobox}get options(){return this.listbox?.options??[]}get selectedIndex(){return this.enabledOptions.findIndex(e=>e.selected)??-1}get selectedOptions(){return this.listbox?.selectedOptions??[]}get validationMessage(){if(this.elementInternals.validationMessage)return this.elementInternals.validationMessage;if(!this.validationFallbackMessage){const e=document.createElement("input");e.type="radio",e.required=!0,e.checked=!1,this.validationFallbackMessage=e.validationMessage}return this.validationFallbackMessage}get value(){return f.notify(this,"value"),this.enabledOptions.find(e=>e.selected)?.value??null}set value(e){this.multiple||(this.selectOption(this.enabledOptions.findIndex(t=>t.value===e)),f.track(this,"value"))}changeHandler(e){if(this===e.target)return!0;const t=this.isCombobox?this.enabledOptions.findIndex(i=>i.text===this.control.value):this.enabledOptions.indexOf(e.target);return this.selectOption(t,!0),!0}clickHandler(e){if(this.disabled)return;const t=e.target;if(this.focus(),t===this.control&&!this.isCombobox)return this.listbox.togglePopover(),!0;if(!this.open)return this.listbox.showPopover(),!0;if(nr(t)){if(t.disabled)return;this.selectOption(this.enabledOptions.indexOf(t),!0),this.multiple||(this.isCombobox&&(this.control.value=t.text,this.updateFreeformOption()),this.listbox.hidePopover())}return!0}filterOptions(e,t=this.enabledOptions){return this.listCollator||(this.listCollator=new Intl.Collator(nl(this),{usage:"search",sensitivity:"base"})),t.filter(i=>this.listCollator.compare(i.text.substring(0,Math.min(i.text.length,e.length)),e)===0)}focus(e){this.disabled||this.control.focus(e)}focusoutHandler(e){const t=e.relatedTarget;return this.open&&!this.contains(t)&&this.listbox.togglePopover(),!0}getEnabledIndexInBounds(e,t=this.enabledOptions.length||0){return t===0?-1:(e+t)%t}inputHandler(e){this.open||this.listbox.showPopover(),this.updateFreeformOption();const t=this.control.value,i=this.enabledOptions.indexOf(this.filterOptions(t)[0]??null);return this.activeIndex=i,!0}insertControl(){if(this.controlSlot?.assignedNodes().forEach(e=>this.removeChild(e)),this.type===ks.combobox){ug.render(this,this);return}pg.render(this,this)}keydownHandler(e){let t=0;switch(e.key){case"ArrowUp":{e.preventDefault(),t=-1;break}case"ArrowDown":{e.preventDefault(),t=1;break}case" ":{if(this.isCombobox)break;e.preventDefault()}case"Enter":case"Tab":{if(this.open){if(this.selectOption(this.activeIndex,!0),this.multiple)break;return this.listbox.hidePopover(),e.key==="Tab"}this.listbox.showPopover();break}case"Escape":{this.activeIndex=this.multiple?0:this.selectedIndex,this.listbox.hidePopover();break}}if(!t)return!0;if(!this.open){this.listbox.showPopover();return}let i=this.activeIndex;i+=t;let r=this.getEnabledIndexInBounds(i);return r===0&&this.freeformOption?.hidden&&(r=this.getEnabledIndexInBounds(i+t)),this.activeIndex=r,!0}mousedownHandler(e){if(!(this.disabled||e.target===this.control&&!this.isCombobox))return!nr(e.target)}selectOption(e=this.selectedIndex,t=!1){this.listbox.selectOption(e),this.control.value=this.displayValue,this.setValidity(),this.updateFreeformOption(),t&&this.$emit("change")}setValidity(e,t,i){if(this.$fastController.isConnected){if(this.disabled||!this.required){this.elementInternals.setValidity({});return}const r=this.required&&this.listbox.selectedOptions.length===0;this.elementInternals.setValidity({valueMissing:r,...e},t??this.validationMessage,i??this.listbox.enabledOptions[0])}}updateFreeformOption(e=this.control.value){if(this.freeformOption){if(e===""||this.filterOptions(e,this.enabledOptions.filter(t=>!t.freeform)).length){this.freeformOption.value="",this.freeformOption.selected=!1,this.freeformOption.hidden=!0;return}this.freeformOption.value=e,this.freeformOption.hidden=!1}}connectedCallback(){super.connectedCallback(),this.anchorPositionFallback()}disconnectedCallback(){wo.AnchorPositionFallbackObserver?.unobserve(this.listbox),super.disconnectedCallback()}listboxConnectedHandler(e){const t=e.target;sl(t)&&(this.listbox=t)}anchorPositionFallback(){wo.AnchorPositionFallbackObserver=wo.AnchorPositionFallbackObserver??new IntersectionObserver(e=>{e.forEach(({boundingClientRect:t,isIntersecting:i,target:r})=>{if(sl(r)&&!i){if(t.bottom>window.innerHeight){$(r.dropdown.elementInternals,"flip-block",!0);return}t.top<0&&$(r.dropdown.elementInternals,"flip-block",!1)}})},{threshold:1})}};R.formAssociated=!0,J([Sr],R.prototype,"activeDescendant",1),J([m],R.prototype,"activeIndex",2),J([a({attribute:"aria-labelledby",mode:"fromView"})],R.prototype,"ariaLabelledBy",2),J([m],R.prototype,"control",2),J([a({mode:"boolean"})],R.prototype,"disabled",2),J([Sr],R.prototype,"displayValue",1),J([a({attribute:"id"})],R.prototype,"id",2),J([m],R.prototype,"indicator",2),J([m],R.prototype,"indicatorSlot",2),J([a({attribute:"value",mode:"fromView"})],R.prototype,"initialValue",2),J([m],R.prototype,"listbox",2),J([m],R.prototype,"listboxSlot",2),J([a({mode:"boolean"})],R.prototype,"multiple",2),J([a],R.prototype,"name",2),J([m],R.prototype,"open",2),J([a],R.prototype,"placeholder",2),J([a({mode:"boolean"})],R.prototype,"required",2),J([a],R.prototype,"type",2),J([a({attribute:"value"})],R.prototype,"valueAttribute",2);let vg=R;var $g=Object.defineProperty,yg=Object.getOwnPropertyDescriptor,ll=(o,e,t,i)=>{for(var r=i>1?void 0:i?yg(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&$g(e,t,r),r};class ws extends vg{constructor(){super(...arguments),this.appearance=al.outline}appearanceChanged(e,t){y(this.elementInternals,e,t,al)}sizeChanged(e,t){y(this.elementInternals,e,t,dg)}}ll([a],ws.prototype,"appearance",2),ll([a],ws.prototype,"size",2);const xg=p`
434
434
  ${C("inline-flex")}
435
435
 
436
- :host{anchor-name:--dropdown-trigger;box-sizing:border-box;color:${_};cursor:pointer}:host(${fd}){color:${Yr}}.control{appearance:none;background-color:${A};border-radius:${z};border:none;box-shadow:inset 0 0 0 ${N} var(--control-border-color);box-sizing:border-box;color:inherit;column-gap:${Q};display:inline-flex;justify-content:space-between;min-width:160px;overflow:hidden;padding:${Ze} ${be};position:relative;text-align:start;width:100%;z-index:1;${Ja}}:host(${T}) .control{column-gap:${Q};padding:${ho} ${le};${el}}:host(${S}) .control{column-gap:${Qe};padding:${Z} ${ge};${qp}}::slotted(:is(input,button)){all:unset;flex:1 1 auto}::slotted(button){cursor:pointer}::slotted(input){cursor:text}:where(slot[name='indicator'] > *,::slotted([slot='indicator'])){all:unset;align-items:center;appearance:none;aspect-ratio:1;color:${ue};display:inline-flex;justify-content:center;width:20px}:host(${T}) :where(slot[name='indicator'] > *,::slotted([slot='indicator'])){width:16px}:host(${S}) :where(slot[name='indicator'] > *,::slotted([slot='indicator'])){width:24px}.control::after,.control::before{content:'' / '';inset:auto 0 0;pointer-events:none;position:absolute}.control::before{height:${N}}.control::after{background-color:${Lt};height:${Pe};scale:0 1;transition:scale ${ds} ${Rt}}:host(:where(${ud},:focus-within)) .control::after{scale:1 1;transition-duration:${Ui};transition-timing-function:${jt}}:host(:where(${E},${V})) .control::before{background-color:${Ke}}:host(${V}) .control{--control-border-color:${ts};background-color:${Ce};border-radius:${Li}}:host(${E}) .control{--control-border-color:${Ye}}:host(${E}) .control:hover{--control-border-color:${ao}}:host(:where(${E},${V})) .control:hover::before{background-color:${Dt}}:host(${E}) .control:hover::after{background-color:${so}}:host(${E}) .control:active{--control-border-color:${qo}}:host(:where(${E},${V})) .control:active::before{background-color:${Ht}}:host(:where(${E},${V})) .control:active::after{background-color:${no}}:host(${ft}) .control{background-color:${jo}}:host(:where(${Bt},${ft})) .control{--control-border-color:${ae}}:host(:disabled),:host(:disabled) ::slotted(:where(button,input)){cursor:not-allowed}:host(:disabled) .control::before,:host(:disabled) .control::after{content:none}:host(:disabled) .control:is(*,:active,:hover),:host(:disabled) :where(slot[name='indicator'] > *,::slotted([slot='indicator'])){--control-border-color:${Ae};background-color:${vt};color:${O}}::slotted([popover]){inset:unset;position:absolute;position-anchor:--dropdown-trigger;position-area:block-end span-inline-end;position-try-fallbacks:flip-inline,flip-block,block-start;max-height:var(--listbox-max-height,calc(50vh - anchor-size(self-block)));min-width:anchor-size(width);overflow:auto}::slotted([popover]:not(:popover-open)){display:none}@supports not (anchor-name:--anchor){::slotted([popover]){margin-block-start:calc(${H} + (${Ze} * 2) + ${N});max-height:50vh}:host(${T}) ::slotted([popover]){margin-block-start:calc(${te} + (${ho} * 2) + ${N})}:host(${S}) ::slotted([popover]){margin-block-start:calc(${Ie} + (${Z} * 2) + ${N})}:host(${Wc}) ::slotted([popover]){margin-block-start:revert;transform:translate(0,-100%)}}`,kg=yg.compose({name:`${b.prefix}-dropdown`,template:gg,styles:xg,shadowOptions:{slotAssignment:"manual"}});kg.define(b.registry);const wg={above:"above",after:"after",before:"before"},Fe={badInput:"bad-input",customError:"custom-error",patternMismatch:"pattern-mismatch",rangeOverflow:"range-overflow",rangeUnderflow:"range-underflow",stepMismatch:"step-mismatch",tooLong:"too-long",tooShort:"too-short",typeMismatch:"type-mismatch",valueMissing:"value-missing",valid:"valid"};var Cg=Object.defineProperty,Sg=Object.getOwnPropertyDescriptor,ar=(o,e,t,i)=>{for(var r=i>1?void 0:i?Sg(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Cg(e,t,r),r};class Qo extends k{constructor(){super(),this.labelSlot=[],this.elementInternals=this.attachInternals(),this.elementInternals.role="presentation"}labelSlotChanged(e,t){t&&this.input&&(this.setLabelProperties(),this.setStates())}messageSlotChanged(e,t){if($(this.elementInternals,"has-message",!!t.length),!t.length){this.removeEventListener("invalid",this.invalidHandler,{capture:!0});return}this.addEventListener("invalid",this.invalidHandler,{capture:!0})}slottedInputsChanged(e,t){t?.length&&(this.input=t?.[0],this.setStates())}inputChanged(e,t){t&&(this.setStates(),this.setLabelProperties())}changeHandler(e){return this.setStates(),this.setValidationStates(),!0}clickHandler(e){return this===e.target&&this.input.click(),!0}focusinHandler(e){return this.matches(":focus-within:has(> :focus-visible)")&&$(this.elementInternals,"focus-visible",!0),!0}focusoutHandler(e){return $(this.elementInternals,"focus-visible",!1),!0}invalidHandler(e){this.messageSlot.length&&e.preventDefault(),this.setValidationStates()}setLabelProperties(){this.$fastController.isConnected&&(this.input.id=this.input.id||eo("input"),this.labelSlot?.forEach(e=>{e instanceof HTMLLabelElement&&(e.htmlFor=e.htmlFor||this.input.id,e.id=e.id||`${this.input.id}--label`,e.setAttribute("aria-hidden","true"),this.input.setAttribute("aria-labelledby",e.id))}))}setStates(){this.elementInternals&&this.input&&($(this.elementInternals,"disabled",!!this.input.disabled),$(this.elementInternals,"readonly",!!this.input.readOnly),$(this.elementInternals,"required",!!this.input.required),$(this.elementInternals,"checked",!!this.input.checked))}setValidationStates(){if(this.input.validity)for(const[e,t]of Object.entries(Fe))$(this.elementInternals,t,this.input.validity[e])}}ar([m],Qo.prototype,"labelSlot",2),ar([m],Qo.prototype,"messageSlot",2),ar([m],Qo.prototype,"slottedInputs",2),ar([m],Qo.prototype,"input",2);var Ig=Object.defineProperty,Pg=Object.getOwnPropertyDescriptor,zg=(o,e,t,i)=>{for(var r=i>1?void 0:i?Pg(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Ig(e,t,r),r};class cl extends Qo{constructor(){super(...arguments),this.labelPosition=wg.above}}zg([a({attribute:"label-position"})],cl.prototype,"labelPosition",2);const Tg=p`
436
+ :host{anchor-name:--dropdown-trigger;box-sizing:border-box;color:${_};cursor:pointer}:host(${fd}){color:${Yr}}.control{appearance:none;background-color:${A};border-radius:${z};border:none;box-shadow:inset 0 0 0 ${N} var(--control-border-color);box-sizing:border-box;color:inherit;column-gap:${Q};display:inline-flex;justify-content:space-between;min-width:160px;overflow:hidden;padding:${Ze} ${be};position:relative;text-align:start;width:100%;z-index:1;${Ja}}:host(${T}) .control{column-gap:${Q};padding:${ho} ${le};${el}}:host(${S}) .control{column-gap:${Qe};padding:${Z} ${ge};${qp}}::slotted(:is(input,button)){all:unset;flex:1 1 auto}::slotted(button){cursor:pointer}::slotted(input){cursor:text}:where(slot[name='indicator'] > *,::slotted([slot='indicator'])){all:unset;align-items:center;appearance:none;aspect-ratio:1;color:${ue};display:inline-flex;justify-content:center;width:20px}:host(${T}) :where(slot[name='indicator'] > *,::slotted([slot='indicator'])){width:16px}:host(${S}) :where(slot[name='indicator'] > *,::slotted([slot='indicator'])){width:24px}.control::after,.control::before{content:'' / '';inset:auto 0 0;pointer-events:none;position:absolute}.control::before{height:${N}}.control::after{background-color:${Lt};height:${Pe};scale:0 1;transition:scale ${ds} ${Rt}}:host(:where(${ud},:focus-within)) .control::after{scale:1 1;transition-duration:${Ui};transition-timing-function:${jt}}:host(:where(${E},${V})) .control::before{background-color:${Ke}}:host(${V}) .control{--control-border-color:${ts};background-color:${Ce};border-radius:${Li}}:host(${E}) .control{--control-border-color:${Ye}}:host(${E}) .control:hover{--control-border-color:${ao}}:host(:where(${E},${V})) .control:hover::before{background-color:${Dt}}:host(${E}) .control:hover::after{background-color:${so}}:host(${E}) .control:active{--control-border-color:${qo}}:host(:where(${E},${V})) .control:active::before{background-color:${Ht}}:host(:where(${E},${V})) .control:active::after{background-color:${no}}:host(${ft}) .control{background-color:${jo}}:host(:where(${Bt},${ft})) .control{--control-border-color:${ae}}:host(:disabled),:host(:disabled) ::slotted(:where(button,input)){cursor:not-allowed}:host(:disabled) .control::before,:host(:disabled) .control::after{content:none}:host(:disabled) .control:is(*,:active,:hover),:host(:disabled) :where(slot[name='indicator'] > *,::slotted([slot='indicator'])){--control-border-color:${Ae};background-color:${vt};color:${O}}::slotted([popover]){inset:unset;position:absolute;position-anchor:--dropdown-trigger;position-area:block-end span-inline-end;position-try-fallbacks:flip-inline,flip-block,block-start;max-height:var(--listbox-max-height,calc(50vh - anchor-size(self-block)));min-width:anchor-size(width);overflow:auto}::slotted([popover]:not(:popover-open)){display:none}@supports not (anchor-name:--anchor){::slotted([popover]){margin-block-start:calc(${H} + (${Ze} * 2) + ${N});max-height:50vh}:host(${T}) ::slotted([popover]){margin-block-start:calc(${te} + (${ho} * 2) + ${N})}:host(${S}) ::slotted([popover]){margin-block-start:calc(${Ie} + (${Z} * 2) + ${N})}:host(${Wc}) ::slotted([popover]){margin-block-start:revert;transform:translate(0,-100%)}}`,kg=ws.compose({name:`${b.prefix}-dropdown`,template:gg,styles:xg,shadowOptions:{slotAssignment:"manual"}});kg.define(b.registry);const wg={above:"above",after:"after",before:"before"},Fe={badInput:"bad-input",customError:"custom-error",patternMismatch:"pattern-mismatch",rangeOverflow:"range-overflow",rangeUnderflow:"range-underflow",stepMismatch:"step-mismatch",tooLong:"too-long",tooShort:"too-short",typeMismatch:"type-mismatch",valueMissing:"value-missing",valid:"valid"};var Cg=Object.defineProperty,Sg=Object.getOwnPropertyDescriptor,ar=(o,e,t,i)=>{for(var r=i>1?void 0:i?Sg(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Cg(e,t,r),r};class Qo extends k{constructor(){super(),this.labelSlot=[],this.elementInternals=this.attachInternals(),this.elementInternals.role="presentation"}labelSlotChanged(e,t){t&&this.input&&(this.setLabelProperties(),this.setStates())}messageSlotChanged(e,t){if($(this.elementInternals,"has-message",!!t.length),!t.length){this.removeEventListener("invalid",this.invalidHandler,{capture:!0});return}this.addEventListener("invalid",this.invalidHandler,{capture:!0})}slottedInputsChanged(e,t){t?.length&&(this.input=t?.[0],this.setStates())}inputChanged(e,t){t&&(this.setStates(),this.setLabelProperties())}changeHandler(e){return this.setStates(),this.setValidationStates(),!0}clickHandler(e){return this===e.target&&this.input.click(),!0}focusinHandler(e){return this.matches(":focus-within:has(> :focus-visible)")&&$(this.elementInternals,"focus-visible",!0),!0}focusoutHandler(e){return $(this.elementInternals,"focus-visible",!1),!0}invalidHandler(e){this.messageSlot.length&&e.preventDefault(),this.setValidationStates()}setLabelProperties(){this.$fastController.isConnected&&(this.input.id=this.input.id||eo("input"),this.labelSlot?.forEach(e=>{e instanceof HTMLLabelElement&&(e.htmlFor=e.htmlFor||this.input.id,e.id=e.id||`${this.input.id}--label`,e.setAttribute("aria-hidden","true"),this.input.setAttribute("aria-labelledby",e.id))}))}setStates(){this.elementInternals&&this.input&&($(this.elementInternals,"disabled",!!this.input.disabled),$(this.elementInternals,"readonly",!!this.input.readOnly),$(this.elementInternals,"required",!!this.input.required),$(this.elementInternals,"checked",!!this.input.checked))}setValidationStates(){if(this.input.validity)for(const[e,t]of Object.entries(Fe))$(this.elementInternals,t,this.input.validity[e])}}ar([m],Qo.prototype,"labelSlot",2),ar([m],Qo.prototype,"messageSlot",2),ar([m],Qo.prototype,"slottedInputs",2),ar([m],Qo.prototype,"input",2);var Ig=Object.defineProperty,Pg=Object.getOwnPropertyDescriptor,zg=(o,e,t,i)=>{for(var r=i>1?void 0:i?Pg(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Ig(e,t,r),r};class cl extends Qo{constructor(){super(...arguments),this.labelPosition=wg.above}}zg([a({attribute:"label-position"})],cl.prototype,"labelPosition",2);const Tg=p`
437
437
  ${C("inline-grid")}
438
438
 
439
439
  :host{color:${_};align-items:center;gap:0 ${ge};justify-items:start;position:relative}:has([slot='message']){color:${_};row-gap:${Z}}:not(::slotted([slot='label'])){gap:0}:host([label-position='before']){grid-template-areas:'label input' 'label message'}:host([label-position='after']){gap:0;grid-template-areas:'input label' 'message message';grid-template-columns:auto 1fr}:host([label-position='after']) ::slotted([slot='input']){margin-inline-end:${ge}}:host([label-position='above']){grid-template-areas:'label' 'input' 'message';row-gap:${co}}:host([label-position='below']){grid-template-areas:'input' 'label' 'message';justify-items:center}:host([label-position='below']) ::slotted([slot='label']){margin-block-start:${qu}}:host([label-position='below']:not(${Qc})){grid-template-areas:'input' 'label'}::slotted([slot='label'])::after{content:'';display:block;position:absolute;inset:0}::slotted([slot='input']){grid-area:input;position:relative;z-index:1}::slotted([slot='message']){margin-block-start:${co};grid-area:message}:host(${Xc}:focus-within){border-radius:${z};outline:${Pe} solid ${_e}}::slotted(label),::slotted([slot='label']){cursor:inherit;display:inline-flex;font-family:${x};font-size:${F};font-weight:${j};grid-area:label;line-height:${H};user-select:none}:host([size='small']) ::slotted(label){font-size:${G};line-height:${te}}:host([size='large']) ::slotted(label){font-size:${xe};line-height:${Ie}}:host([size='large']) ::slotted(label),:host([weight='semibold']) ::slotted(label){font-weight:${W}}:host(${M}){cursor:default}::slotted([flag]){display:none}:host(${Pc}) ::slotted([flag='${Fe.badInput}']),:host(${Mc}) ::slotted([flag='${Fe.customError}']),:host(${pd}) ::slotted([flag='${Fe.patternMismatch}']),:host(${xd}) ::slotted([flag='${Fe.rangeOverflow}']),:host(${kd}) ::slotted([flag='${Fe.rangeUnderflow}']),:host(${Ld}) ::slotted([flag='${Fe.stepMismatch}']),:host(${jd}) ::slotted([flag='${Fe.tooLong}']),:host(${Rd}) ::slotted([flag='${Fe.tooShort}']),:host(${qd}) ::slotted([flag='${Fe.typeMismatch}']),:host(${Xd}) ::slotted([flag='${Fe.valueMissing}']),:host(${Wd}) ::slotted([flag='${Fe.valid}']){display:block}`,Bg=g`<template @click="${(o,e)=>o.clickHandler(e.event)}" @change="${(o,e)=>o.changeHandler(e.event)}" @focusin="${(o,e)=>o.focusinHandler(e.event)}" @focusout="${(o,e)=>o.focusoutHandler(e.event)}" ${Mr({property:"slottedInputs",attributes:!0,attributeFilter:["disabled","required","readonly"],subtree:!0,selector:'[slot="input"]',filter:zt()})}><slot name="label" part="label" ${U("labelSlot")}></slot><slot name="input" part="input"></slot><slot name="message" part="message" ${U({property:"messageSlot",filter:zt("[flag]")})}></slot></template>`,Og=cl.compose({name:`${b.prefix}-field`,template:Bg,styles:Tg,shadowOptions:{delegatesFocus:!0}});Og.define(b.registry);const Ag={none:"none",center:"center",contain:"contain",cover:"cover"},_g={circular:"circular",rounded:"rounded",square:"square"};var Eg=Object.defineProperty,Ng=Object.getOwnPropertyDescriptor,Zo=(o,e,t,i)=>{for(var r=i>1?void 0:i?Ng(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Eg(e,t,r),r};class fo extends k{constructor(){super(...arguments),this.elementInternals=this.attachInternals()}blockChanged(e,t){$(this.elementInternals,"block",t)}borderedChanged(e,t){$(this.elementInternals,"bordered",t)}shadowChanged(e,t){$(this.elementInternals,"shadow",t)}fitChanged(e,t){y(this.elementInternals,e,t,Ag,"fit-")}shapeChanged(e,t){y(this.elementInternals,e,t,_g)}}Zo([a({mode:"boolean"})],fo.prototype,"block",2),Zo([a({mode:"boolean"})],fo.prototype,"bordered",2),Zo([a({mode:"boolean"})],fo.prototype,"shadow",2),Zo([a],fo.prototype,"fit",2),Zo([a],fo.prototype,"shape",2);const Fg=g`<slot></slot>`,Mg=p`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fluentui/web-components",
3
3
  "description": "A library of Fluent Web Components",
4
- "version": "3.0.0-beta.86",
4
+ "version": "3.0.0-beta.87",
5
5
  "author": {
6
6
  "name": "Microsoft",
7
7
  "url": "https://discord.gg/FcSNfg4"