@fluentui/web-components 3.0.0-beta.63 → 3.0.0-beta.65

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,30 @@
1
1
  # Change Log - @fluentui/web-components
2
2
 
3
- This log was last generated on Wed, 04 Sep 2024 04:08:05 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 11 Sep 2024 04:08:09 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [3.0.0-beta.65](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.65)
8
+
9
+ Wed, 11 Sep 2024 04:08:09 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.64..@fluentui/web-components_v3.0.0-beta.65)
11
+
12
+ ### Changes
13
+
14
+ - docs: reflect setTheme change ([PR #32490](https://github.com/microsoft/fluentui/pull/32490) by machi@microsoft.com)
15
+
16
+ ## [3.0.0-beta.64](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.64)
17
+
18
+ Thu, 05 Sep 2024 04:07:18 GMT
19
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.63..@fluentui/web-components_v3.0.0-beta.64)
20
+
21
+ ### Changes
22
+
23
+ - chore: add missing export for textarea ([PR #32450](https://github.com/microsoft/fluentui/pull/32450) by rupertdavid@microsoft.com)
24
+
7
25
  ## [3.0.0-beta.63](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.63)
8
26
 
9
- Wed, 04 Sep 2024 04:08:05 GMT
27
+ Wed, 04 Sep 2024 04:08:17 GMT
10
28
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.62..@fluentui/web-components_v3.0.0-beta.63)
11
29
 
12
30
  ### Changes
@@ -47,7 +47,7 @@ export type { TabOptions } from './tab/index.js';
47
47
  export { Tabs, TabsAppearance, TabsDefinition, TabsOrientation, TabsSize, TabsStyles, TabsTemplate, } from './tabs/index.js';
48
48
  export { BaseTablist, Tablist, TablistAppearance, TablistDefinition, TablistOrientation, TablistSize, TablistStyles, TablistTemplate, } from './tablist/index.js';
49
49
  export type { TabsOptions } from './tabs/index.js';
50
- export { BaseTextArea, TextArea, TextAreaAppearance, TextAreaAutocomplete, TextAreaDefinition, TextAreaResize, TextAreaSize, TextAreaStyles, TextAreaTemplate, } from './textarea/index.js';
50
+ export { BaseTextArea, TextArea, TextAreaAppearance, TextAreaAppearancesForDisplayShadow, TextAreaAutocomplete, TextAreaDefinition, TextAreaResize, TextAreaSize, TextAreaStyles, TextAreaTemplate, } from './textarea/index.js';
51
51
  export { BaseTextInput, TextInput, TextInputAppearance, TextInputControlSize, TextInputDefinition, TextInputStyles, TextInputTemplate, TextInputType, } from './text-input/index.js';
52
52
  export type { TextInputOptions } from './text-input/index.js';
53
53
  export { Text, TextAlign, TextDefinition, TextFont, TextSize, TextStyles, TextTemplate, TextWeight, } from './text/index.js';
@@ -1,5 +1,5 @@
1
1
  export { definition as TextAreaDefinition } from './textarea.definition.js';
2
2
  export { BaseTextArea, TextArea } from './textarea.js';
3
- export { TextAreaAppearance, TextAreaAppearancesForDisplayShadow, TextAreaAutocomplete, TextAreaResizableResize, TextAreaHorizontallyResizableResize, TextAreaVerticallyResizableResize, TextAreaResize, TextAreaSize, } from './textarea.options.js';
3
+ export { TextAreaAppearance, TextAreaAppearancesForDisplayShadow, TextAreaAutocomplete, TextAreaResize, TextAreaSize, } from './textarea.options.js';
4
4
  export { styles as TextAreaStyles } from './textarea.styles.js';
5
5
  export { template as TextAreaTemplate } from './textarea.template.js';
@@ -21,6 +21,11 @@ export declare const TextAreaAppearance: {
21
21
  readonly filledDarker: "filled-darker";
22
22
  };
23
23
  export type TextAreaAppearance = ValuesOf<typeof TextAreaAppearance>;
24
+ /**
25
+ * Allowed values for `appearance` when `display-shadow` is set to true.
26
+ *
27
+ * @public
28
+ */
24
29
  export declare const TextAreaAppearancesForDisplayShadow: Partial<TextAreaAppearance[]>;
25
30
  /**
26
31
  * Values for the `autocomplete` attribute on TextArea elements.
@@ -42,6 +47,3 @@ export declare const TextAreaResize: {
42
47
  readonly vertical: "vertical";
43
48
  };
44
49
  export type TextAreaResize = ValuesOf<typeof TextAreaResize>;
45
- export declare const TextAreaResizableResize: Partial<TextAreaResize[]>;
46
- export declare const TextAreaVerticallyResizableResize: Partial<TextAreaResize[]>;
47
- export declare const TextAreaHorizontallyResizableResize: Partial<TextAreaResize[]>;
package/dist/esm/index.js CHANGED
@@ -35,7 +35,7 @@ export { TabPanel, TabPanelDefinition, TabPanelStyles, TabPanelTemplate } from '
35
35
  export { Tab, TabDefinition, TabStyles, TabTemplate } from './tab/index.js';
36
36
  export { Tabs, TabsAppearance, TabsDefinition, TabsOrientation, TabsSize, TabsStyles, TabsTemplate, } from './tabs/index.js';
37
37
  export { BaseTablist, Tablist, TablistAppearance, TablistDefinition, TablistOrientation, TablistSize, TablistStyles, TablistTemplate, } from './tablist/index.js';
38
- export { BaseTextArea, TextArea, TextAreaAppearance, TextAreaAutocomplete, TextAreaDefinition, TextAreaResize, TextAreaSize, TextAreaStyles, TextAreaTemplate, } from './textarea/index.js';
38
+ export { BaseTextArea, TextArea, TextAreaAppearance, TextAreaAppearancesForDisplayShadow, TextAreaAutocomplete, TextAreaDefinition, TextAreaResize, TextAreaSize, TextAreaStyles, TextAreaTemplate, } from './textarea/index.js';
39
39
  export { BaseTextInput, TextInput, TextInputAppearance, TextInputControlSize, TextInputDefinition, TextInputStyles, TextInputTemplate, TextInputType, } from './text-input/index.js';
40
40
  export { Text, TextAlign, TextDefinition, TextFont, TextSize, TextStyles, TextTemplate, TextWeight, } from './text/index.js';
41
41
  export * from './theme/design-tokens.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aA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zC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAc,MAAM,kBAAkB,CAAC;AACrE,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACL,0BAA0B,EAC1B,8BAA8B,EAC9B,2BAA2B,EAC3B,kBAAkB,EAClB,4BAA4B,GAC7B,MAAM,sDAAsD,CAAC;AAE9D,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,uBAAuB,EACvB,2BAA2B,EAC3B,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,SAAS,EACT,mBAAmB,EACnB,mBAAmB,EACnB,eAAe,EACf,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7G,OAAO,EACL,MAAM,EACN,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,UAAU,EACV,YAAY,EACZ,cAAc,EACd,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,EACL,eAAe,EACf,UAAU,EACV,eAAe,EACf,UAAU,EACV,SAAS,EACT,WAAW,EACX,aAAa,GACd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,UAAU,EACV,MAAM,EACN,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,UAAU,EACV,Y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X,aAAa,EACb,eAAe,GAChB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,YAAY,EACZ,QAAQ,EACR,kBAAkB,EAClB,mCAAmC,EACnC,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,EACd,YAAY,EACZ,cAAc,EACd,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,aAAa,EACb,SAAS,EACT,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,eAAe,EACf,iBAAiB,EACjB,aAAa,GACd,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,IAAI,EACJ,SAAS,EACT,cAAc,EACd,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,UAAU,GACX,MAAM,iBAAiB,CAAC;AACzB,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAc,MAAM,kBAAkB,CAAC;AACrE,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACL,0BAA0B,EAC1B,8BAA8B,EAC9B,2BAA2B,EAC3B,kBAAkB,EAClB,4BAA4B,GAC7B,MAAM,sDAAsD,CAAC;AAE9D,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  export { definition as TextAreaDefinition } from './textarea.definition.js';
2
2
  export { BaseTextArea, TextArea } from './textarea.js';
3
- export { TextAreaAppearance, TextAreaAppearancesForDisplayShadow, TextAreaAutocomplete, TextAreaResizableResize, TextAreaHorizontallyResizableResize, TextAreaVerticallyResizableResize, TextAreaResize, TextAreaSize, } from './textarea.options.js';
3
+ export { TextAreaAppearance, TextAreaAppearancesForDisplayShadow, TextAreaAutocomplete, TextAreaResize, TextAreaSize, } from './textarea.options.js';
4
4
  export { styles as TextAreaStyles } from './textarea.styles.js';
5
5
  export { template as TextAreaTemplate } from './textarea.template.js';
6
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/textarea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EACL,kBAAkB,EAClB,mCAAmC,EACnC,oBAAoB,EACpB,uBAAuB,EACvB,mCAAmC,EACnC,iCAAiC,EACjC,cAAc,EACd,YAAY,GACb,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,QAAQ,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/textarea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EACL,kBAAkB,EAClB,mCAAmC,EACnC,oBAAoB,EACpB,cAAc,EACd,YAAY,GACb,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,QAAQ,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { attr, FASTElement, nullableNumberConverter, observable, Observable } from '@microsoft/fast-element';
3
3
  import { toggleState } from '../utils/element-internals.js';
4
- import { TextAreaAppearance, TextAreaAppearancesForDisplayShadow, TextAreaResizableResize, TextAreaResize, } from './textarea.options.js';
4
+ import { TextAreaAppearance, TextAreaAppearancesForDisplayShadow, TextAreaResize, } from './textarea.options.js';
5
5
  /**
6
6
  * A Text Area Custom HTML Element.
7
7
  * Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea | `<textarea>`} element.
@@ -72,7 +72,7 @@ class BaseTextArea extends FASTElement {
72
72
  if (next) {
73
73
  toggleState(this.elementInternals, `resize-${next}`, true);
74
74
  }
75
- toggleState(this.elementInternals, `resize`, TextAreaResizableResize.includes(this.resize));
75
+ toggleState(this.elementInternals, `resize`, [TextAreaResize.both, TextAreaResize.horizontal, TextAreaResize.vertical].includes(this.resize));
76
76
  }
77
77
  /**
78
78
  * The length of the current value.
@@ -1 +1 @@
1
- {"version":3,"file":"textarea.js","sourceRoot":"","sources":["../../../src/textarea/textarea.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,uBAAuB,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC7G,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EACL,kBAAkB,EAClB,mCAAmC,EAEnC,uBAAuB,EACvB,cAAc,GAEf,MAAM,uBAAuB,CAAC;AAE/B;;;;;;;;;;;;;GAaG;AACH,MAAa,YAAa,SAAQ,WAAW;IAuCjC,0BAA0B;QAClC,MAAM,IAAI,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;QAC/B,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;IACpB,CAAC;IAQS,wBAAwB;QAChC,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC;SACtD;QACD,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YACpC,IAAI,CAAC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,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IACvD,CAAC;IAED;;OAEG;IACI,oBAAoB;QACzB,KAAK,CAAC,oBAAoB,EAAE,CAAC;QAE7B,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;QAC7D,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;QAChE,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IACzD,CAAC;IAEO,kBAAkB;QACxB,WAAW,CACT,IAAI,CAAC,gBAAgB,EACrB,gBAAgB,EAChB,IAAI,CAAC,aAAa,IAAI,mCAAmC,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CACpF,CAAC;IACJ,CAAC;CACF;AA5FQ;IADN,IAAI,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;4CACwC;AAqB5D;IADN,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;uCACI;AAavB;IADN,IAAI;sCACsB"}
@@ -18,6 +18,11 @@ export const TextAreaAppearance = {
18
18
  filledLighter: 'filled-lighter',
19
19
  filledDarker: 'filled-darker',
20
20
  };
21
+ /**
22
+ * Allowed values for `appearance` when `display-shadow` is set to true.
23
+ *
24
+ * @public
25
+ */
21
26
  export const TextAreaAppearancesForDisplayShadow = [
22
27
  TextAreaAppearance.filledLighter,
23
28
  TextAreaAppearance.filledDarker,
@@ -40,17 +45,4 @@ export const TextAreaResize = {
40
45
  horizontal: 'horizontal',
41
46
  vertical: 'vertical',
42
47
  };
43
- export const TextAreaResizableResize = [
44
- TextAreaResize.both,
45
- TextAreaResize.horizontal,
46
- TextAreaResize.vertical,
47
- ];
48
- export const TextAreaVerticallyResizableResize = [
49
- TextAreaResize.both,
50
- TextAreaResize.vertical,
51
- ];
52
- export const TextAreaHorizontallyResizableResize = [
53
- TextAreaResize.both,
54
- TextAreaResize.horizontal,
55
- ];
56
48
  //# sourceMappingURL=textarea.options.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"textarea.options.js","sourceRoot":"","sources":["../../../src/textarea/textarea.options.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACN,CAAC;AAIX;;;;GAIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,OAAO,EAAE,SAAS;IAClB,aAAa,EAAE,gBAAgB;IAC/B,YAAY,EAAE,eAAe;CACrB,CAAC;AAIX,MAAM,CAAC,MAAM,mCAAmC,GAAkC;IAChF,kBAAkB,CAAC,aAAa;IAChC,kBAAkB,CAAC,YAAY;CAChC,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,KAAK;CACF,CAAC;AAIX;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAIX,MAAM,CAAC,MAAM,uBAAuB,GAA8B;IAChE,cAAc,CAAC,IAAI;IACnB,cAAc,CAAC,UAAU;IACzB,cAAc,CAAC,QAAQ;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAA8B;IAC1E,cAAc,CAAC,IAAI;IACnB,cAAc,CAAC,QAAQ;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,mCAAmC,GAA8B;IAC5E,cAAc,CAAC,IAAI;IACnB,cAAc,CAAC,UAAU;CAC1B,CAAC"}
1
+ {"version":3,"file":"textarea.options.js","sourceRoot":"","sources":["../../../src/textarea/textarea.options.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACN,CAAC;AAIX;;;;GAIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,OAAO,EAAE,SAAS;IAClB,aAAa,EAAE,gBAAgB;IAC/B,YAAY,EAAE,eAAe;CACrB,CAAC;AAIX;;;;GAIG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAkC;IAChF,kBAAkB,CAAC,aAAa;IAChC,kBAAkB,CAAC,YAAY;CAChC,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,KAAK;CACF,CAAC;AAIX;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;CACZ,CAAC"}
@@ -9518,6 +9518,13 @@ export declare const TextAreaAppearance: {
9518
9518
 
9519
9519
  export declare type TextAreaAppearance = ValuesOf<typeof TextAreaAppearance>;
9520
9520
 
9521
+ /**
9522
+ * Allowed values for `appearance` when `display-shadow` is set to true.
9523
+ *
9524
+ * @public
9525
+ */
9526
+ export declare const TextAreaAppearancesForDisplayShadow: Partial<TextAreaAppearance[]>;
9527
+
9521
9528
  /**
9522
9529
  * Values for the `autocomplete` attribute on TextArea elements.
9523
9530
  *
@@ -11112,7 +11112,6 @@ const TextAreaResize = {
11112
11112
  horizontal: "horizontal",
11113
11113
  vertical: "vertical"
11114
11114
  };
11115
- const TextAreaResizableResize = [TextAreaResize.both, TextAreaResize.horizontal, TextAreaResize.vertical];
11116
11115
 
11117
11116
  var __defProp$3 = Object.defineProperty;
11118
11117
  var __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor;
@@ -11195,7 +11194,7 @@ class BaseTextArea extends FASTElement {
11195
11194
  if (next) {
11196
11195
  toggleState(this.elementInternals, `resize-${next}`, true);
11197
11196
  }
11198
- toggleState(this.elementInternals, `resize`, TextAreaResizableResize.includes(this.resize));
11197
+ toggleState(this.elementInternals, `resize`, [TextAreaResize.both, TextAreaResize.horizontal, TextAreaResize.vertical].includes(this.resize));
11199
11198
  }
11200
11199
  /**
11201
11200
  * The length of the current value.
@@ -509,18 +509,18 @@ const g=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElem
509
509
  :host{box-sizing:border-box;font-family:${$};font-size:${E};line-height:${D};color:${Vt};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${B}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${B}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${B}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${B}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${P}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${B}}.tablist{display:grid;grid-template-rows:auto auto;grid-template-columns:auto;position:relative;width:max-content;align-self:end;box-sizing:border-box}::slotted([slot='start']),::slotted([slot='end']){display:flex;align-self:center}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}.tabpanel{grid-row:2;grid-column-start:1;grid-column-end:4;position:relative}:host([orientation='vertical']){grid-template-rows:auto 1fr auto;grid-template-columns:auto 1fr}:host([orientation='vertical']) .tablist{grid-row-start:2;grid-row-end:2;display:grid;grid-template-rows:auto;grid-template-columns:auto 1fr;position:relative;width:max-content;justify-self:end;align-self:flex-start;width:100%}:host([orientation='vertical']) .tabpanel{grid-column:2;grid-row-start:1;grid-row-end:4}:host([orientation='vertical']) ::slotted([slot='end']){grid-row:3}:host([appearance='subtle']) ::slotted(fluent-tab:hover){background-color:${fs};color:${gi};fill:${rn}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${Ve};fill:${Ve};color:${A}}:host([size='small']) ::slotted(fluent-tab){font-size:${E};line-height:${D};padding:${ce} ${yt}}:host([size='large']) ::slotted(fluent-tab){font-size:${ct};line-height:${vt};padding:${ws} ${bt}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${Hn};transition-timing-function:${Ni}}:host ::slotted(fluent-tab)::after{height:${it};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${it};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${it};border-radius:${gt};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${it};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${it};margin-top:auto;transform-origin:left}:host([orientation='vertical']) ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:unset;margin-inline-end:auto;transform-origin:top;width:${it}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${ce};padding-bottom:${ce}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${xo};padding-bottom:${xo}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${rt};padding-bottom:${rt}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${yt};left:${yt}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${bt};left:${bt}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${bt};left:${bt}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${ce};bottom:${ce}}:host([orientation='vertical']) ::slotted(fluent-tab)::after,:host([orientation='vertical']) ::slotted(fluent-tab)::before,:host([orientation='vertical']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${rt};bottom:${rt}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${qe};bottom:${qe}}`,Tg=Eo.compose({name:`${g.prefix}-tabs`,template:Sg,styles:zg});Tg.define(g.registry);const Bg=o=>o.getAttribute("aria-disabled")==="true",Pg=o=>o.hasAttribute("hidden"),Ds=o=>!Bg(o)&&!Pg(o),Ag={subtle:"subtle",transparent:"transparent"},No=$t;var Eg=Object.defineProperty,Ng=Object.getOwnPropertyDescriptor,eo=(o,t,e,s)=>{for(var i=s>1?void 0:s?Ng(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Eg(t,e,i),i};class Fo extends w{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.disabled=!1,this.orientation=No.horizontal,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.change=()=>{this.$emit("change",this.activetab)},this.handleTabClick=t=>{const e=t.currentTarget;e.nodeType===Node.ELEMENT_NODE&&Ds(e)&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(e),this.setComponent())},this.handleTabKeyDown=t=>{const e=ci(this);switch(t.key){case Zo:if(!this.isHorizontal())return;t.preventDefault(),this.adjust(e==="ltr"?-1:1);break;case Jo:if(!this.isHorizontal())return;t.preventDefault(),this.adjust(e==="ltr"?1:-1);break;case ts:if(this.isHorizontal())return;t.preventDefault(),this.adjust(-1);break;case Qo:if(this.isHorizontal())return;t.preventDefault(),this.adjust(1);break;case ss:t.preventDefault(),this.adjust(-this.activeTabIndex);break;case es:t.preventDefault(),this.adjust(this.tabs.filter(s=>Ds(s)).length-this.activeTabIndex-1);break}}}disabledChanged(t,e){c(this.elementInternals,"disabled",e)}orientationChanged(t,e){this.elementInternals.ariaOrientation=e??No.horizontal,t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0),this.$fastController.isConnected&&this.setTabs()}activeidChanged(t,e){this.$fastController.isConnected&&this.tabs.length>0&&(this.prevActiveTabIndex=this.tabs.findIndex(s=>s.id===t),this.setTabs())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length>0&&(this.tabIds=this.getTabIds(),this.setTabs())}getActiveIndex(){return this.activeid!==void 0?this.tabIds.indexOf(this.activeid)===-1?0:this.tabIds.indexOf(this.activeid):0}setTabs(){this.activeTabIndex=this.getActiveIndex(),this.tabs.forEach((t,e)=>{if(t.slot==="tab"){const s=this.activeTabIndex===e&&Ds(t),i=this.tabIds[e];t.setAttribute("id",i),t.setAttribute("aria-selected",s?"true":"false"),t.addEventListener("click",this.handleTabClick),t.addEventListener("keydown",this.handleTabKeyDown),t.setAttribute("tabindex",s&&!this.disabled?"0":"-1"),s&&(this.activetab=t,this.activeid=i),this.change()}})}getTabIds(){return this.tabs.map(t=>t.getAttribute("id")??`tab-${no()}`)}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===No.horizontal}adjust(t){const e=this.tabs.filter(n=>Ds(n)),s=e.indexOf(this.activetab),i=tl(0,e.length-1,s+t),r=this.tabs.indexOf(e[i]);r>-1&&this.activateTabByIndex(this.tabs,r)}activateTabByIndex(t,e){const s=t[e];this.activetab=s,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=e,s.focus(),this.setComponent()}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.activeTabIndex=this.getActiveIndex()}}eo([a({mode:"boolean"})],Fo.prototype,"disabled",2),eo([a],Fo.prototype,"orientation",2),eo([a],Fo.prototype,"activeid",2),eo([x],Fo.prototype,"tabs",2);class Gi extends Fo{constructor(){super(...arguments),this.activeTabData={x:0,y:0,height:0,width:0},this.previousActiveTabData={x:0,y:0,height:0,width:0},this.activeTabOffset=0,this.activeTabScale=1,this.appearance=Ag.transparent}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}sizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}calculateAnimationProperties(t){this.activeTabOffset=this.getTabPosition(t),this.activeTabScale=this.getTabScale(t)}getTabPosition(t){return this.orientation===No.horizontal?this.previousActiveTabData.x-(t.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(t.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(t){return this.orientation===No.horizontal?this.previousActiveTabData.width/t.getBoundingClientRect().width:this.previousActiveTabData.height/t.getBoundingClientRect().height}applyUpdatedCSSValues(t){this.calculateAnimationProperties(t),this.setAnimationVars()}animationLoop(t){t.setAttribute("data-animate","false"),this.applyUpdatedCSSValues(t),this.previousActiveTabData=this.activeTabData,this.applyUpdatedCSSValues(t),t.setAttribute("data-animate","true")}setTabData(){if(this.tabs&&this.tabs.length>0){const t=this.tabs,s=(this.activetab||t[0])?.getBoundingClientRect(),i=this.getBoundingClientRect();this.activeTabData={x:s.x-i.x,y:s.y-i.y,height:s.height,width:s.width},this.previousActiveTabData?.x!==this.activeTabData?.x&&this.previousActiveTabData?.y!==this.activeTabData?.y&&(this.previousActiveTabData=this.activeTabData)}}setAnimationVars(){this.style.setProperty("--tabIndicatorOffset",`${this.activeTabOffset}px`),this.style.setProperty("--tabIndicatorScale",`${this.activeTabScale}`)}activeidChanged(t,e){super.activeidChanged(t,e),this.setTabData(),this.activetab&&this.animationLoop(this.activetab)}tabsChanged(){super.tabsChanged(),this.setTabData(),this.activetab&&this.animationLoop(this.activetab)}}eo([a],Gi.prototype,"appearance",2),eo([a],Gi.prototype,"size",2);const Fg=f`<template role="tablist"><slot name="tab" ${at("tabs")}></slot></template>`,Og=l`
510
510
  ${S("flex")}
511
511
 
512
- :host{--tabPaddingInline:inherit;--tabPaddingBlock:inherit;--tabIndicatorInsetInline:0;--tabIndicatorInsetBlock:0;box-sizing:border-box;color:${Vt};flex-direction:row}:host(${I}){flex-direction:column}:host ::slotted([role='tab']){align-items:flex-start}:host ::slotted([slot='tab'][data-animate='true'])::after{transition-property:transform;transition-duration:${Hn};transition-timing-function:${Ni}}:host ::slotted([slot='tab'])::after{height:${it};margin-block-start:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host(${I}) ::slotted([slot='tab'])::after{width:${it};height:unset;margin-block-start:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted([slot='tab'])::before{height:${it};border-radius:${gt};content:'';inset-inline:var(--tabIndicatorInsetInline);inset-block:var(--tabIndicatorInsetBlock);position:absolute;margin-top:auto}:host ::slotted([slot='tab'])::before{inset-inline:var(--tabIndicatorInsetInline);inset-block:var(--tabIndicatorInsetBlock)}:host ::slotted([slot='tab'][aria-selected='true'])::before{background-color:${B}}:host ::slotted([slot='tab'][aria-selected='false']:hover)::after{height:${it};margin-block-start:auto;transform-origin:left}:host(${I}) ::slotted([slot='tab'])::before,:host(${I}) ::slotted([slot='tab'][aria-selected='false']:hover)::after{height:unset;width:${it};margin-inline-end:auto;transform-origin:top}:host(:where(${T},${C})) ::slotted([slot='tab']){padding-inline:var(--tabPaddingInline);padding-block:var(--tabPaddingBlock)}:host(${T}) ::slotted([slot='tab']){--tabPaddingBlock:${ce};--tabPaddingInline:${yt};font-size:${E};line-height:${D}}:host(${C}) ::slotted([slot='tab']){--tabPaddingBlock:${ws};--tabPaddingInline:${bt};font-size:${ct};line-height:${vt}}:host ::slotted([slot='tab'])::after,:host ::slotted([slot='tab'])::before,:host ::slotted([slot='tab']:hover)::after{inset-inline:var(--tabIndicatorInsetInline)}:host ::slotted([slot='tab']){--tabIndicatorInsetInline:${bt}}:host(${T}) ::slotted([slot='tab']){--tabIndicatorInsetInline:${yt}}:host(${C}) ::slotted([slot='tab']){--tabIndicatorInsetInline:${bt}}:host(${I}) ::slotted([slot='tab']){padding-block:var(--tabPaddingBlock)}:host(${I}) ::slotted([slot='tab']){--tabPaddingBlock:${rt}}:host(${I}${T}) ::slotted([slot='tab']){--tabPaddingBlock:${xo}}:host(${I}${C}) ::slotted([slot='tab']){--tabPaddingBlock:${rt}}:host(${I}) ::slotted([slot='tab'])::after,:host(${I}) ::slotted([slot='tab'])::before,:host(${I}) ::slotted([slot='tab']:hover)::after{inset-inline:0;inset-block:var(--tabIndicatorInsetBlock)}:host(${I}){--tabIndicatorInsetBlock:${rt}}:host(${I}${T}){--tabIndicatorInsetBlock:${ce}}:host(${I}${C}){--tabIndicatorInsetBlock:${qe}}:host(${F}){cursor:not-allowed;color:${B}}:host(${F}) ::slotted([slot='tab']){pointer-events:none;cursor:not-allowed;color:${B}}:host(${F}) ::slotted([slot='tab']:after){background-color:${B}}:host(${F}) ::slotted([slot='tab'][aria-selected='true'])::after{background-color:${B}}:host(${F}) ::slotted([slot='tab']:hover):before{content:unset}:host(${z}) ::slotted([slot='tab']:hover){background-color:${fs};color:${gi};fill:${rn}}:host(${z}) ::slotted([slot='tab']:active){background-color:${Ve};fill:${Ve};color:${A}}`,_g=Gi.compose({name:`${g.prefix}-tablist`,template:Fg,styles:Og});_g.define(g.registry);const Oo={outline:"outline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},Mg=[Oo.filledLighter,Oo.filledDarker],Ls={none:"none",both:"both",horizontal:"horizontal",vertical:"vertical"},Vg=[Ls.both,Ls.horizontal,Ls.vertical];var Dg=Object.defineProperty,Lg=Object.getOwnPropertyDescriptor,U=(o,t,e,s)=>{for(var i=s>1?void 0:s?Lg(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Dg(t,e,i),i};class K extends w{constructor(){super(),this.elementInternals=this.attachInternals(),this.userInteracted=!1,this.preConnectControlEl=document.createElement("textarea"),this.autoResize=!1,this.disabled=!1,this.displayShadow=!1,this.readOnly=!1,this.required=!1,this.resize=Ls.none,this.spellcheck=!1}defaultSlottedNodesChanged(){const t=this.getContent();this.defaultValue=t,this.value=t}labelSlottedNodesChanged(){this.labelEl&&(this.labelEl.hidden=!this.labelSlottedNodes.length),this.labelSlottedNodes.forEach(t=>{t.disabled=this.disabled,t.required=this.required})}autoResizeChanged(){this.maybeCreateAutoSizerEl(),c(this.elementInternals,"auto-resize",this.autoResize)}disabledChanged(){this.setDisabledSideEffect(this.disabled)}get form(){return this.elementInternals.form}get labels(){return this.elementInternals.labels}readOnlyChanged(){this.elementInternals.ariaReadOnly=`${!!this.readOnly}`}requiredChanged(){this.elementInternals.ariaRequired=`${!!this.required}`,this.labelSlottedNodes?.length&&this.labelSlottedNodes.forEach(t=>t.required=this.required)}resizeChanged(t,e){t&&c(this.elementInternals,`resize-${t}`,!1),e&&c(this.elementInternals,`resize-${e}`,!0),c(this.elementInternals,"resize",Vg.includes(this.resize))}get textLength(){return this.controlEl.textLength}get type(){return"textarea"}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage||this.controlEl.validationMessage}get willValidate(){return this.elementInternals.willValidate}get defaultValue(){return this.controlEl?.defaultValue??this.preConnectControlEl.defaultValue}set defaultValue(t){const e=this.controlEl??this.preConnectControlEl;e.defaultValue=t,this.controlEl&&!this.userInteracted&&(this.controlEl.value=t)}get value(){return this.controlEl?.value??this.preConnectControlEl.value}set value(t){const e=this.controlEl??this.preConnectControlEl;e.value=t,this.setFormValue(t),this.setValidity()}connectedCallback(){super.connectedCallback(),this.setDefaultValue(),this.maybeCreateAutoSizerEl(),this.bindEvents(),this.observeControlElAttrs()}disconnectedCallback(){super.disconnectedCallback(),this.autoSizerObserver?.disconnect(),this.controlElAttrObserver?.disconnect()}formResetCallback(){this.value=this.defaultValue}formDisabledCallback(t){this.setDisabledSideEffect(t),this.setValidity()}setFormValue(t,e){this.elementInternals.setFormValue(t,t??e)}checkValidity(){return this.elementInternals.checkValidity()}reportValidity(){return this.elementInternals.reportValidity()}setCustomValidity(t){this.elementInternals.setValidity({customError:!!t},t?t.toString():void 0),this.reportValidity()}setValidity(t,e,s){this.$fastController.isConnected&&(this.disabled||this.readOnly?this.elementInternals.setValidity({}):this.elementInternals.setValidity(t??this.controlEl.validity,e??this.controlEl.validationMessage,s??this.controlEl),this.userInteracted&&this.toggleUserValidityState())}select(){this.controlEl.select()}setDefaultValue(){this.defaultValue=this.innerHTML.trim()||this.preConnectControlEl.defaultValue||"",this.value=this.preConnectControlEl.value||this.defaultValue,this.setFormValue(this.value),this.setValidity(),this.preConnectControlEl=null}bindEvents(){this.controlEl.addEventListener("input",()=>this.userInteracted=!0,{once:!0})}getContent(){return this.defaultSlottedNodes.map(t=>{switch(t.nodeType){case Node.ELEMENT_NODE:return t.outerHTML;case Node.TEXT_NODE:return t.textContent.trim();default:return""}}).join("")||""}observeControlElAttrs(){this.controlElAttrObserver=new MutationObserver(()=>{this.setValidity()}),this.controlElAttrObserver.observe(this.controlEl,{attributes:!0,attributeFilter:["disabled","required","readonly","maxlength","minlength"]})}setDisabledSideEffect(t){this.elementInternals.ariaDisabled=`${t}`,this.controlEl&&(this.controlEl.disabled=t),this.labelSlottedNodes?.length&&this.labelSlottedNodes.forEach(e=>e.disabled=this.disabled)}toggleUserValidityState(){c(this.elementInternals,"user-invalid",!this.validity.valid),c(this.elementInternals,"user-valid",this.validity.valid)}maybeCreateAutoSizerEl(){if(!CSS.supports("field-sizing: content")){if(!this.autoResize){this.autoSizerEl?.remove(),this.autoSizerObserver?.disconnect();return}this.autoSizerEl||(this.autoSizerEl=document.createElement("div"),this.autoSizerEl.classList.add("auto-sizer"),this.autoSizerEl.ariaHidden="true"),this.shadowRoot.prepend(this.autoSizerEl),this.autoSizerObserver||(this.autoSizerObserver=new ResizeObserver((t,e)=>{const s=window.getComputedStyle(this).writingMode.startsWith("horizontal")?"height":"width";this.style.getPropertyValue(s)!==""&&(this.autoSizerEl?.remove(),e.disconnect())})),this.autoSizerObserver.observe(this)}}handleControlInput(){this.autoResize&&this.autoSizerEl&&(this.autoSizerEl.textContent=this.value+" "),this.setFormValue(this.value),this.setValidity()}handleControlChange(){this.toggleUserValidityState(),this.$emit("change")}handleControlSelect(){this.$emit("select")}}K.formAssociated=!0,U([x],K.prototype,"defaultSlottedNodes",2),U([x],K.prototype,"labelSlottedNodes",2),U([a],K.prototype,"autocomplete",2),U([a({attribute:"auto-resize",mode:"boolean"})],K.prototype,"autoResize",2),U([a({attribute:"dirname"})],K.prototype,"dirName",2),U([a({mode:"boolean"})],K.prototype,"disabled",2),U([a({attribute:"display-shadow",mode:"boolean"})],K.prototype,"displayShadow",2),U([a({attribute:"form"})],K.prototype,"initialForm",2),U([a({attribute:"maxlength",converter:ot})],K.prototype,"maxLength",2),U([a({attribute:"minlength",converter:ot})],K.prototype,"minLength",2),U([a],K.prototype,"name",2),U([a],K.prototype,"placeholder",2),U([a({attribute:"readonly",mode:"boolean"})],K.prototype,"readOnly",2),U([a({mode:"boolean"})],K.prototype,"required",2),U([a({mode:"fromView"})],K.prototype,"resize",2),U([a({mode:"boolean"})],K.prototype,"spellcheck",2);class Hs extends K{constructor(){super(...arguments),this.appearance=Oo.outline,this.block=!1}labelSlottedNodesChanged(){super.labelSlottedNodesChanged(),this.labelSlottedNodes.forEach(t=>{t.size=this.size})}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),!e||!Array.from(Object.values(Oo)).includes(e)?c(this.elementInternals,Oo.outline,!0):c(this.elementInternals,`${e}`,!0)}blockChanged(){c(this.elementInternals,"block",this.block)}sizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}handleChange(t,e){switch(e){case"size":this.labelSlottedNodes.forEach(s=>{s.size=this.size});break;case"appearance":case"displayShadow":this.maybeDisplayShadow();break}}connectedCallback(){super.connectedCallback(),this.maybeDisplayShadow(),m.getNotifier(this).subscribe(this,"appearance"),m.getNotifier(this).subscribe(this,"displayShadow"),m.getNotifier(this).subscribe(this,"size")}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this,"appearance"),m.getNotifier(this).unsubscribe(this,"displayShadow"),m.getNotifier(this).unsubscribe(this,"size")}maybeDisplayShadow(){c(this.elementInternals,"display-shadow",this.displayShadow&&Mg.includes(this.appearance))}}U([a({mode:"fromView"})],Hs.prototype,"appearance",2),U([a({mode:"boolean"})],Hs.prototype,"block",2),U([a],Hs.prototype,"size",2);const Hg=l`
512
+ :host{--tabPaddingInline:inherit;--tabPaddingBlock:inherit;--tabIndicatorInsetInline:0;--tabIndicatorInsetBlock:0;box-sizing:border-box;color:${Vt};flex-direction:row}:host(${I}){flex-direction:column}:host ::slotted([role='tab']){align-items:flex-start}:host ::slotted([slot='tab'][data-animate='true'])::after{transition-property:transform;transition-duration:${Hn};transition-timing-function:${Ni}}:host ::slotted([slot='tab'])::after{height:${it};margin-block-start:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host(${I}) ::slotted([slot='tab'])::after{width:${it};height:unset;margin-block-start:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted([slot='tab'])::before{height:${it};border-radius:${gt};content:'';inset-inline:var(--tabIndicatorInsetInline);inset-block:var(--tabIndicatorInsetBlock);position:absolute;margin-top:auto}:host ::slotted([slot='tab'])::before{inset-inline:var(--tabIndicatorInsetInline);inset-block:var(--tabIndicatorInsetBlock)}:host ::slotted([slot='tab'][aria-selected='true'])::before{background-color:${B}}:host ::slotted([slot='tab'][aria-selected='false']:hover)::after{height:${it};margin-block-start:auto;transform-origin:left}:host(${I}) ::slotted([slot='tab'])::before,:host(${I}) ::slotted([slot='tab'][aria-selected='false']:hover)::after{height:unset;width:${it};margin-inline-end:auto;transform-origin:top}:host(:where(${T},${C})) ::slotted([slot='tab']){padding-inline:var(--tabPaddingInline);padding-block:var(--tabPaddingBlock)}:host(${T}) ::slotted([slot='tab']){--tabPaddingBlock:${ce};--tabPaddingInline:${yt};font-size:${E};line-height:${D}}:host(${C}) ::slotted([slot='tab']){--tabPaddingBlock:${ws};--tabPaddingInline:${bt};font-size:${ct};line-height:${vt}}:host ::slotted([slot='tab'])::after,:host ::slotted([slot='tab'])::before,:host ::slotted([slot='tab']:hover)::after{inset-inline:var(--tabIndicatorInsetInline)}:host ::slotted([slot='tab']){--tabIndicatorInsetInline:${bt}}:host(${T}) ::slotted([slot='tab']){--tabIndicatorInsetInline:${yt}}:host(${C}) ::slotted([slot='tab']){--tabIndicatorInsetInline:${bt}}:host(${I}) ::slotted([slot='tab']){padding-block:var(--tabPaddingBlock)}:host(${I}) ::slotted([slot='tab']){--tabPaddingBlock:${rt}}:host(${I}${T}) ::slotted([slot='tab']){--tabPaddingBlock:${xo}}:host(${I}${C}) ::slotted([slot='tab']){--tabPaddingBlock:${rt}}:host(${I}) ::slotted([slot='tab'])::after,:host(${I}) ::slotted([slot='tab'])::before,:host(${I}) ::slotted([slot='tab']:hover)::after{inset-inline:0;inset-block:var(--tabIndicatorInsetBlock)}:host(${I}){--tabIndicatorInsetBlock:${rt}}:host(${I}${T}){--tabIndicatorInsetBlock:${ce}}:host(${I}${C}){--tabIndicatorInsetBlock:${qe}}:host(${F}){cursor:not-allowed;color:${B}}:host(${F}) ::slotted([slot='tab']){pointer-events:none;cursor:not-allowed;color:${B}}:host(${F}) ::slotted([slot='tab']:after){background-color:${B}}:host(${F}) ::slotted([slot='tab'][aria-selected='true'])::after{background-color:${B}}:host(${F}) ::slotted([slot='tab']:hover):before{content:unset}:host(${z}) ::slotted([slot='tab']:hover){background-color:${fs};color:${gi};fill:${rn}}:host(${z}) ::slotted([slot='tab']:active){background-color:${Ve};fill:${Ve};color:${A}}`,_g=Gi.compose({name:`${g.prefix}-tablist`,template:Fg,styles:Og});_g.define(g.registry);const Oo={outline:"outline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},Mg=[Oo.filledLighter,Oo.filledDarker],Ls={none:"none",both:"both",horizontal:"horizontal",vertical:"vertical"};var Vg=Object.defineProperty,Dg=Object.getOwnPropertyDescriptor,U=(o,t,e,s)=>{for(var i=s>1?void 0:s?Dg(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Vg(t,e,i),i};class K extends w{constructor(){super(),this.elementInternals=this.attachInternals(),this.userInteracted=!1,this.preConnectControlEl=document.createElement("textarea"),this.autoResize=!1,this.disabled=!1,this.displayShadow=!1,this.readOnly=!1,this.required=!1,this.resize=Ls.none,this.spellcheck=!1}defaultSlottedNodesChanged(){const t=this.getContent();this.defaultValue=t,this.value=t}labelSlottedNodesChanged(){this.labelEl&&(this.labelEl.hidden=!this.labelSlottedNodes.length),this.labelSlottedNodes.forEach(t=>{t.disabled=this.disabled,t.required=this.required})}autoResizeChanged(){this.maybeCreateAutoSizerEl(),c(this.elementInternals,"auto-resize",this.autoResize)}disabledChanged(){this.setDisabledSideEffect(this.disabled)}get form(){return this.elementInternals.form}get labels(){return this.elementInternals.labels}readOnlyChanged(){this.elementInternals.ariaReadOnly=`${!!this.readOnly}`}requiredChanged(){this.elementInternals.ariaRequired=`${!!this.required}`,this.labelSlottedNodes?.length&&this.labelSlottedNodes.forEach(t=>t.required=this.required)}resizeChanged(t,e){t&&c(this.elementInternals,`resize-${t}`,!1),e&&c(this.elementInternals,`resize-${e}`,!0),c(this.elementInternals,"resize",[Ls.both,Ls.horizontal,Ls.vertical].includes(this.resize))}get textLength(){return this.controlEl.textLength}get type(){return"textarea"}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage||this.controlEl.validationMessage}get willValidate(){return this.elementInternals.willValidate}get defaultValue(){return this.controlEl?.defaultValue??this.preConnectControlEl.defaultValue}set defaultValue(t){const e=this.controlEl??this.preConnectControlEl;e.defaultValue=t,this.controlEl&&!this.userInteracted&&(this.controlEl.value=t)}get value(){return this.controlEl?.value??this.preConnectControlEl.value}set value(t){const e=this.controlEl??this.preConnectControlEl;e.value=t,this.setFormValue(t),this.setValidity()}connectedCallback(){super.connectedCallback(),this.setDefaultValue(),this.maybeCreateAutoSizerEl(),this.bindEvents(),this.observeControlElAttrs()}disconnectedCallback(){super.disconnectedCallback(),this.autoSizerObserver?.disconnect(),this.controlElAttrObserver?.disconnect()}formResetCallback(){this.value=this.defaultValue}formDisabledCallback(t){this.setDisabledSideEffect(t),this.setValidity()}setFormValue(t,e){this.elementInternals.setFormValue(t,t??e)}checkValidity(){return this.elementInternals.checkValidity()}reportValidity(){return this.elementInternals.reportValidity()}setCustomValidity(t){this.elementInternals.setValidity({customError:!!t},t?t.toString():void 0),this.reportValidity()}setValidity(t,e,s){this.$fastController.isConnected&&(this.disabled||this.readOnly?this.elementInternals.setValidity({}):this.elementInternals.setValidity(t??this.controlEl.validity,e??this.controlEl.validationMessage,s??this.controlEl),this.userInteracted&&this.toggleUserValidityState())}select(){this.controlEl.select()}setDefaultValue(){this.defaultValue=this.innerHTML.trim()||this.preConnectControlEl.defaultValue||"",this.value=this.preConnectControlEl.value||this.defaultValue,this.setFormValue(this.value),this.setValidity(),this.preConnectControlEl=null}bindEvents(){this.controlEl.addEventListener("input",()=>this.userInteracted=!0,{once:!0})}getContent(){return this.defaultSlottedNodes.map(t=>{switch(t.nodeType){case Node.ELEMENT_NODE:return t.outerHTML;case Node.TEXT_NODE:return t.textContent.trim();default:return""}}).join("")||""}observeControlElAttrs(){this.controlElAttrObserver=new MutationObserver(()=>{this.setValidity()}),this.controlElAttrObserver.observe(this.controlEl,{attributes:!0,attributeFilter:["disabled","required","readonly","maxlength","minlength"]})}setDisabledSideEffect(t){this.elementInternals.ariaDisabled=`${t}`,this.controlEl&&(this.controlEl.disabled=t),this.labelSlottedNodes?.length&&this.labelSlottedNodes.forEach(e=>e.disabled=this.disabled)}toggleUserValidityState(){c(this.elementInternals,"user-invalid",!this.validity.valid),c(this.elementInternals,"user-valid",this.validity.valid)}maybeCreateAutoSizerEl(){if(!CSS.supports("field-sizing: content")){if(!this.autoResize){this.autoSizerEl?.remove(),this.autoSizerObserver?.disconnect();return}this.autoSizerEl||(this.autoSizerEl=document.createElement("div"),this.autoSizerEl.classList.add("auto-sizer"),this.autoSizerEl.ariaHidden="true"),this.shadowRoot.prepend(this.autoSizerEl),this.autoSizerObserver||(this.autoSizerObserver=new ResizeObserver((t,e)=>{const s=window.getComputedStyle(this).writingMode.startsWith("horizontal")?"height":"width";this.style.getPropertyValue(s)!==""&&(this.autoSizerEl?.remove(),e.disconnect())})),this.autoSizerObserver.observe(this)}}handleControlInput(){this.autoResize&&this.autoSizerEl&&(this.autoSizerEl.textContent=this.value+" "),this.setFormValue(this.value),this.setValidity()}handleControlChange(){this.toggleUserValidityState(),this.$emit("change")}handleControlSelect(){this.$emit("select")}}K.formAssociated=!0,U([x],K.prototype,"defaultSlottedNodes",2),U([x],K.prototype,"labelSlottedNodes",2),U([a],K.prototype,"autocomplete",2),U([a({attribute:"auto-resize",mode:"boolean"})],K.prototype,"autoResize",2),U([a({attribute:"dirname"})],K.prototype,"dirName",2),U([a({mode:"boolean"})],K.prototype,"disabled",2),U([a({attribute:"display-shadow",mode:"boolean"})],K.prototype,"displayShadow",2),U([a({attribute:"form"})],K.prototype,"initialForm",2),U([a({attribute:"maxlength",converter:ot})],K.prototype,"maxLength",2),U([a({attribute:"minlength",converter:ot})],K.prototype,"minLength",2),U([a],K.prototype,"name",2),U([a],K.prototype,"placeholder",2),U([a({attribute:"readonly",mode:"boolean"})],K.prototype,"readOnly",2),U([a({mode:"boolean"})],K.prototype,"required",2),U([a({mode:"fromView"})],K.prototype,"resize",2),U([a({mode:"boolean"})],K.prototype,"spellcheck",2);class Hs extends K{constructor(){super(...arguments),this.appearance=Oo.outline,this.block=!1}labelSlottedNodesChanged(){super.labelSlottedNodesChanged(),this.labelSlottedNodes.forEach(t=>{t.size=this.size})}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),!e||!Array.from(Object.values(Oo)).includes(e)?c(this.elementInternals,Oo.outline,!0):c(this.elementInternals,`${e}`,!0)}blockChanged(){c(this.elementInternals,"block",this.block)}sizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}handleChange(t,e){switch(e){case"size":this.labelSlottedNodes.forEach(s=>{s.size=this.size});break;case"appearance":case"displayShadow":this.maybeDisplayShadow();break}}connectedCallback(){super.connectedCallback(),this.maybeDisplayShadow(),m.getNotifier(this).subscribe(this,"appearance"),m.getNotifier(this).subscribe(this,"displayShadow"),m.getNotifier(this).subscribe(this,"size")}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this,"appearance"),m.getNotifier(this).unsubscribe(this,"displayShadow"),m.getNotifier(this).unsubscribe(this,"size")}maybeDisplayShadow(){c(this.elementInternals,"display-shadow",this.displayShadow&&Mg.includes(this.appearance))}}U([a({mode:"fromView"})],Hs.prototype,"appearance",2),U([a({mode:"boolean"})],Hs.prototype,"block",2),U([a],Hs.prototype,"size",2);const Lg=l`
513
513
  ${S("inline-block")}
514
514
 
515
515
  :host{--font-size:${E};--line-height:${D};--padding-inline:${bt};--padding-block:${ce};--min-block-size:52px;--block-size:var(--min-block-size);--inline-size:18rem;--border-width:${W};--control-padding-inline:${dt};--color:${A};--background-color:${O};--border-color:${le};--border-block-end-color:${ae};--placeholder-color:${sn};--focus-indicator-color:${yo};--box-shadow:none;--contain-size:size;--resize:none;color:var(--color);font-family:${$};font-size:var(--font-size);font-weight:${_};line-height:var(--line-height);position:relative}:host(:hover){--border-color:${$o};--border-block-end-color:${He}}:host(:active){--border-color:${ms};--border-block-end-color:${Re}}:host(:focus-within){outline:none}:host(${pi}:not([hidden])){display:block}:host(${T}){--font-size:${j};--line-height:${st};--min-block-size:40px;--padding-block:${Bi};--padding-inline:${yt};--control-padding-inline:${dt}}:host(${C}){--font-size:${ct};--line-height:${vt};--min-block-size:64px;--padding-block:${rt};--padding-inline:${ft};--control-padding-inline:${yt}}:host(${ul}:not(:disabled)){--resize:both}:host(${dl}:not(:disabled)){--resize:horizontal}:host(${hl}:not(:disabled)){--resize:vertical}:host(${en}){--block-size:auto;--contain-size:inline-size}:host(${Oe}){--background-color:${gs};--border-color:var(--background-color);--border-block-end-color:var(--border-color)}:host(${Fe}){--border-color:var(--background-color);--border-block-end-color:var(--border-color)}:host(${Oe}${on}),:host(${Fe}${on}){--box-shadow:${zi}}:host(${pl}){--border-color:${Ci};--border-block-end-color:${Ci}}:host(:disabled){--color:${B};--background-color:${wt};--border-color:${Tt};--border-block-end-color:var(--border-color);--box-shadow:none;--placeholder-color:${B};cursor:no-drop;user-select:none}.root{background-color:var(--background-color);border:var(--border-width) solid var(--border-color);border-block-end-color:var(--border-block-end-color);border-radius:${P};box-sizing:border-box;box-shadow:var(--box-shadow);contain:paint layout style var(--contain-size);display:grid;grid-template:1fr / 1fr;inline-size:var(--inline-size);min-block-size:var(--min-block-size);block-size:var(--block-size);overflow:hidden;padding:var(--padding-block) var(--padding-inline);position:relative;resize:var(--resize)}:host(${pi}) .root{inline-size:auto}.root::after{border-bottom:2px solid var(--focus-indicator-color);border-radius:0 0 ${P} ${P};box-sizing:border-box;clip-path:inset(calc(100% - 2px) 1px 0px);content:'';height:max(2px,${P});inset:auto -1px 0;position:absolute;transform:scaleX(0);transition-delay:${Ue};transition-duration:${Ln};transition-property:transform}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${Ai};transition-delay:${Ge}}:host([readonly]) .root::after,:host(:disabled) .root::after{content:none}label{color:var(--color);display:flex;inline-size:fit-content;padding-block-end:${Bi};padding-inline-end:${Ht}}:host(:empty) label,label[hidden]{display:none}.auto-sizer,.control{box-sizing:border-box;font:inherit;grid-column:1 / -1;grid-row:1 / -1;letter-space:inherit;padding:0 var(--control-padding-inline)}.auto-sizer{display:none;padding-block-end:2px;pointer-events:none;visibility:hidden;white-space:pre-wrap}:host(${en}) .auto-sizer{display:block}.control{appearance:none;background-color:transparent;border:0;color:inherit;field-sizing:content;max-block-size:100%;outline:0;resize:none;text-align:inherit}.control:disabled{cursor:inherit}.control::placeholder{color:var(--placeholder-color)}::selection{color:${Me};background-color:${ln}}`.withBehaviors(Q(l`
516
- :host{--border-color:FieldText;--border-block-end-color:FieldText;--focus-indicator-color:Highlight;--placeholder-color:FieldText}:host(:hover),:host(:active),:host(:focus-within){--border-color:Highlight;--border-block-end-color:Highlight}:host(:disabled){--color:GrayText;--border-color:GrayText;--border-block-end-color:GrayText;--placeholder-color:GrayText}`));function Rg(){return f`<template><label ${kt("labelEl")} for="control" part="label"><slot name="label" ${at({property:"labelSlottedNodes",filter:di})}></slot></label><div class="root" part="root"><textarea ${kt("controlEl")} id="control" class="control" part="control" ?required="${o=>o.required}" ?disabled="${o=>o.disabled}" ?readonly="${o=>o.readOnly}" ?spellcheck="${o=>o.spellcheck}" autocomplete="${o=>o.autocomplete}" maxlength="${o=>o.maxLength}" minlength="${o=>o.minLength}" placeholder="${o=>o.placeholder}" @change="${o=>o.handleControlChange()}" @select="${o=>o.handleControlSelect()}" @input="${o=>o.handleControlInput()}"></textarea></div><div hidden><slot ${at({property:"defaultSlottedNodes",filter:di})}></slot></div></template>`}const jg=Rg(),qg=Hs.compose({name:`${g.prefix}-textarea`,template:jg,styles:Hg,shadowOptions:{delegatesFocus:!0}});qg.define(g.registry);const Ug={email:"email",password:"password",tel:"tel",text:"text",url:"url"},Gg=["date","datetime-local","email","month","number","password","search","tel","text","time","url","week"];var Wg=Object.defineProperty,Xg=Object.getOwnPropertyDescriptor,M=(o,t,e,s)=>{for(var i=s>1?void 0:s?Xg(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Wg(t,e,i),i};class V extends w{constructor(){super(...arguments),this.type=Ug.text,this._value=this.initialValue,this.dirtyValue=!1,this.elementInternals=this.attachInternals()}defaultSlottedNodesChanged(t,e){this.$fastController.isConnected&&(this.controlLabel.hidden=!e?.length)}initialValueChanged(){this.dirtyValue||(this.value=this.initialValue)}readOnlyChanged(){this.$fastController.isConnected&&(this.elementInternals.ariaReadOnly=`${!!this.readOnly}`)}requiredChanged(t,e){this.$fastController.isConnected&&(this.elementInternals.ariaRequired=`${!!e}`)}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage||this.control.validationMessage}get value(){return m.track(this,"value"),this._value}set value(t){this._value=t,this.$fastController.isConnected&&(this.control.value=t,this.setFormValue(t),this.setValidity(),m.notify(this,"value"))}get willValidate(){return this.elementInternals.willValidate}get form(){return this.elementInternals.form}beforeinputHandler(t){return t.inputType==="insertLineBreak"&&this.implicitSubmit(),!0}changeHandler(t){return this.setValidity(),this.$emit("change",t,{bubbles:!0,composed:!0}),!0}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(t){return t.target===this&&this.control?.click(),!0}connectedCallback(){super.connectedCallback(),this.setFormValue(this.value),this.setValidity()}focusinHandler(t){return t.target===this&&this.control?.focus(),!0}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}implicitSubmit(){if(!this.elementInternals.form)return;if(this.elementInternals.form.elements.length===1){this.elementInternals.form.requestSubmit();return}const t=[...this.elementInternals.form.elements],e=t.find(i=>i.getAttribute("type")==="submit");if(e){e.click();return}t.filter(i=>Gg.includes(i.getAttribute("type")??"")).length>1||this.elementInternals.form.requestSubmit()}inputHandler(t){return this.dirtyValue=!0,this.value=this.control.value,!0}keydownHandler(t){return t.key==="Enter"&&this.implicitSubmit(),!0}select(){this.control.select(),this.$emit("select")}setCustomValidity(t){this.elementInternals.setValidity({customError:!0},t),this.reportValidity()}reportValidity(){return this.elementInternals.reportValidity()}setFormValue(t,e){this.elementInternals.setFormValue(t,t??e)}setValidity(t=this.control.validity,e=this.validationMessage,s=this.control){if(this.$fastController.isConnected){if(this.disabled){this.elementInternals.setValidity({});return}this.elementInternals.setValidity(t,e,s)}}}V.formAssociated=!0,M([a],V.prototype,"autocomplete",2),M([a({mode:"boolean"})],V.prototype,"autofocus",2),M([x],V.prototype,"defaultSlottedNodes",2),M([a],V.prototype,"dirname",2),M([a({mode:"boolean"})],V.prototype,"disabled",2),M([a({attribute:"form"})],V.prototype,"formAttribute",2),M([a({attribute:"value",mode:"fromView"})],V.prototype,"initialValue",2),M([a],V.prototype,"list",2),M([a({converter:ot})],V.prototype,"maxlength",2),M([a({converter:ot})],V.prototype,"minlength",2),M([a({mode:"boolean"})],V.prototype,"multiple",2),M([a],V.prototype,"name",2),M([a],V.prototype,"pattern",2),M([a],V.prototype,"placeholder",2),M([a({attribute:"readonly",mode:"boolean"})],V.prototype,"readOnly",2),M([a({mode:"boolean"})],V.prototype,"required",2),M([a({converter:ot})],V.prototype,"size",2),M([a({converter:{fromView:o=>typeof o=="string"?["true",""].includes(o.trim().toLowerCase()):null,toView:o=>o.toString()}})],V.prototype,"spellcheck",2),M([a],V.prototype,"type",2),M([x],V.prototype,"controlLabel",2);class Rs extends V{appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}controlSizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}}M([a],Rs.prototype,"appearance",2),M([a({attribute:"control-size"})],Rs.prototype,"controlSize",2),Xt(Rs,Gt);const Kg=l`
516
+ :host{--border-color:FieldText;--border-block-end-color:FieldText;--focus-indicator-color:Highlight;--placeholder-color:FieldText}:host(:hover),:host(:active),:host(:focus-within){--border-color:Highlight;--border-block-end-color:Highlight}:host(:disabled){--color:GrayText;--border-color:GrayText;--border-block-end-color:GrayText;--placeholder-color:GrayText}`));function Hg(){return f`<template><label ${kt("labelEl")} for="control" part="label"><slot name="label" ${at({property:"labelSlottedNodes",filter:di})}></slot></label><div class="root" part="root"><textarea ${kt("controlEl")} id="control" class="control" part="control" ?required="${o=>o.required}" ?disabled="${o=>o.disabled}" ?readonly="${o=>o.readOnly}" ?spellcheck="${o=>o.spellcheck}" autocomplete="${o=>o.autocomplete}" maxlength="${o=>o.maxLength}" minlength="${o=>o.minLength}" placeholder="${o=>o.placeholder}" @change="${o=>o.handleControlChange()}" @select="${o=>o.handleControlSelect()}" @input="${o=>o.handleControlInput()}"></textarea></div><div hidden><slot ${at({property:"defaultSlottedNodes",filter:di})}></slot></div></template>`}const Rg=Hg(),jg=Hs.compose({name:`${g.prefix}-textarea`,template:Rg,styles:Lg,shadowOptions:{delegatesFocus:!0}});jg.define(g.registry);const qg={email:"email",password:"password",tel:"tel",text:"text",url:"url"},Ug=["date","datetime-local","email","month","number","password","search","tel","text","time","url","week"];var Gg=Object.defineProperty,Wg=Object.getOwnPropertyDescriptor,M=(o,t,e,s)=>{for(var i=s>1?void 0:s?Wg(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Gg(t,e,i),i};class V extends w{constructor(){super(...arguments),this.type=qg.text,this._value=this.initialValue,this.dirtyValue=!1,this.elementInternals=this.attachInternals()}defaultSlottedNodesChanged(t,e){this.$fastController.isConnected&&(this.controlLabel.hidden=!e?.length)}initialValueChanged(){this.dirtyValue||(this.value=this.initialValue)}readOnlyChanged(){this.$fastController.isConnected&&(this.elementInternals.ariaReadOnly=`${!!this.readOnly}`)}requiredChanged(t,e){this.$fastController.isConnected&&(this.elementInternals.ariaRequired=`${!!e}`)}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage||this.control.validationMessage}get value(){return m.track(this,"value"),this._value}set value(t){this._value=t,this.$fastController.isConnected&&(this.control.value=t,this.setFormValue(t),this.setValidity(),m.notify(this,"value"))}get willValidate(){return this.elementInternals.willValidate}get form(){return this.elementInternals.form}beforeinputHandler(t){return t.inputType==="insertLineBreak"&&this.implicitSubmit(),!0}changeHandler(t){return this.setValidity(),this.$emit("change",t,{bubbles:!0,composed:!0}),!0}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(t){return t.target===this&&this.control?.click(),!0}connectedCallback(){super.connectedCallback(),this.setFormValue(this.value),this.setValidity()}focusinHandler(t){return t.target===this&&this.control?.focus(),!0}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}implicitSubmit(){if(!this.elementInternals.form)return;if(this.elementInternals.form.elements.length===1){this.elementInternals.form.requestSubmit();return}const t=[...this.elementInternals.form.elements],e=t.find(i=>i.getAttribute("type")==="submit");if(e){e.click();return}t.filter(i=>Ug.includes(i.getAttribute("type")??"")).length>1||this.elementInternals.form.requestSubmit()}inputHandler(t){return this.dirtyValue=!0,this.value=this.control.value,!0}keydownHandler(t){return t.key==="Enter"&&this.implicitSubmit(),!0}select(){this.control.select(),this.$emit("select")}setCustomValidity(t){this.elementInternals.setValidity({customError:!0},t),this.reportValidity()}reportValidity(){return this.elementInternals.reportValidity()}setFormValue(t,e){this.elementInternals.setFormValue(t,t??e)}setValidity(t=this.control.validity,e=this.validationMessage,s=this.control){if(this.$fastController.isConnected){if(this.disabled){this.elementInternals.setValidity({});return}this.elementInternals.setValidity(t,e,s)}}}V.formAssociated=!0,M([a],V.prototype,"autocomplete",2),M([a({mode:"boolean"})],V.prototype,"autofocus",2),M([x],V.prototype,"defaultSlottedNodes",2),M([a],V.prototype,"dirname",2),M([a({mode:"boolean"})],V.prototype,"disabled",2),M([a({attribute:"form"})],V.prototype,"formAttribute",2),M([a({attribute:"value",mode:"fromView"})],V.prototype,"initialValue",2),M([a],V.prototype,"list",2),M([a({converter:ot})],V.prototype,"maxlength",2),M([a({converter:ot})],V.prototype,"minlength",2),M([a({mode:"boolean"})],V.prototype,"multiple",2),M([a],V.prototype,"name",2),M([a],V.prototype,"pattern",2),M([a],V.prototype,"placeholder",2),M([a({attribute:"readonly",mode:"boolean"})],V.prototype,"readOnly",2),M([a({mode:"boolean"})],V.prototype,"required",2),M([a({converter:ot})],V.prototype,"size",2),M([a({converter:{fromView:o=>typeof o=="string"?["true",""].includes(o.trim().toLowerCase()):null,toView:o=>o.toString()}})],V.prototype,"spellcheck",2),M([a],V.prototype,"type",2),M([x],V.prototype,"controlLabel",2);class Rs extends V{appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}controlSizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}}M([a],Rs.prototype,"appearance",2),M([a({attribute:"control-size"})],Rs.prototype,"controlSize",2),Xt(Rs,Gt);const Xg=l`
517
517
  ${S("block")}
518
518
 
519
- :host{font-family:${$};font-size:${E};font-weight:${_};line-height:${D};max-width:400px}.label{display:flex;color:${A};padding-bottom:${Bi};flex-shrink:0;padding-inline-end:${Ht}}.label[hidden],:host(:empty) .label{display:none}.root{align-items:center;background-color:${O};border:${W} solid ${le};border-bottom-color:${ae};border-radius:${P};box-sizing:border-box;height:32px;display:inline-flex;flex-direction:row;gap:${dt};padding:0 ${bt};position:relative;width:100%}:has(.control:user-invalid){border-color:${Ci}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${P});border-radius:0 0 ${P} ${P};border-bottom:2px solid ${yo};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${Ln};transition-delay:${Ue}}.control{width:100%;height:100%;box-sizing:border-box;color:${A};border-radius:${P};background:${wt};font-family:${$};font-weight:${_};font-size:${E};border:none;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${sn}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${ut};font-size:${je}}:host ::slotted([slot='start']){padding-right:${dt}}:host ::slotted([slot='end']){padding-left:${dt};gap:${Ht}}:host(:hover) .root{border-color:${$o};border-bottom-color:${He}}:host(:active) .root{border-color:${ms}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${Ai};transition-delay:${Ge}}:host(:focus-within:active) .root:after{border-bottom-color:${pn}}:host(${G}:focus-within) .root{border:${W} solid ${le}}:host(:focus-within) .control{color:${A}}:host([disabled]) .root{background:${wt};border:${W} solid ${Tt}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${B}}::selection{color:${Me};background-color:${ln}}:host(${T}) .control{font-size:${j};font-weight:${_};line-height:${st}}:host(${T}) .root{height:24px;gap:${dt};padding:0 ${yt}}:host(${T}) ::slotted([slot='start']),:host(${T}) ::slotted([slot='end']){font-size:${ct}}:host(${C}) .control{font-size:${ct};font-weight:${_};line-height:${vt}}:host(${C}) .root{height:40px;gap:${ee};padding:0 ${ft}}:host(${C}) ::slotted([slot='start']),:host(${C}) ::slotted([slot='end']){font-size:${$s}}:host(${co}) .root{background:${wt};border:0;border-radius:0;border-bottom:${W} solid ${ae}}:host(${co}:hover) .root{border-bottom-color:${He}}:host(${co}:active) .root{border-bottom-color:${Re}}:host(${co}:focus-within) .root{border:0;border-bottom-color:${Re}}:host(${co}[disabled]) .root{border-bottom-color:${Tt}}:host(${Fe}) .root,:host(${Oe}) .root{border:${W} solid ${pt};box-shadow:${zi}}:host(${Fe}) .root{background:${O}}:host(${Oe}) .root{background:${gs}}:host(${Fe}:hover) .root,:host(${Oe}:hover) .root{border-color:${gn}}:host(${Fe}:active) .root,:host(${Oe}:active) .root{border-color:${gn};background:${gs}}`;function Yg(o={}){return f`<template @beforeinput="${(t,e)=>t.beforeinputHandler(e.event)}" @focusin="${(t,e)=>t.focusinHandler(e.event)}" @keydown="${(t,e)=>t.keydownHandler(e.event)}"><label part="label" for="control" class="label" ${kt("controlLabel")}><slot ${at({property:"defaultSlottedNodes",filter:di})}></slot></label><div class="root" part="root">${Wt(o)}<input class="control" part="control" id="control" @change="${(t,e)=>t.changeHandler(e.event)}" @input="${(t,e)=>t.inputHandler(e.event)}" ?autofocus="${t=>t.autofocus}" autocomplete="${t=>t.autocomplete}" ?disabled="${t=>t.disabled}" list="${t=>t.list}" maxlength="${t=>t.maxlength}" minlength="${t=>t.minlength}" ?multiple="${t=>t.multiple}" name="${t=>t.name}" pattern="${t=>t.pattern}" placeholder="${t=>t.placeholder}" ?readonly="${t=>t.readOnly}" ?required="${t=>t.required}" size="${t=>t.size}" spellcheck="${t=>t.spellcheck}" type="${t=>t.type}" value="${t=>t.initialValue}" ${kt("control")} />${re(o)}</div></template>`}const Qg=Yg(),Zg=Rs.compose({name:`${g.prefix}-text-input`,template:Qg,styles:Kg,shadowOptions:{delegatesFocus:!0}});Zg.define(g.registry);var Jg=Object.defineProperty,tb=Object.getOwnPropertyDescriptor,Ut=(o,t,e,s)=>{for(var i=s>1?void 0:s?tb(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Jg(t,e,i),i};class Et extends w{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}sizeChanged(t,e){t&&c(this.elementInternals,`size-${t}`,!1),e&&c(this.elementInternals,`size-${e}`,!0)}fontChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}weightChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}alignChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this),Object.keys(this.$fastController.definition.attributeLookup).forEach(t=>{this.handleChange(this,t)})}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this)}handleChange(t,e){switch(e){case"nowrap":case"truncate":case"italic":case"underline":case"strikethrough":case"block":c(this.elementInternals,e,!!this[e]);break}}}Ut([a({mode:"boolean"})],Et.prototype,"nowrap",2),Ut([a({mode:"boolean"})],Et.prototype,"truncate",2),Ut([a({mode:"boolean"})],Et.prototype,"italic",2),Ut([a({mode:"boolean"})],Et.prototype,"underline",2),Ut([a({mode:"boolean"})],Et.prototype,"strikethrough",2),Ut([a({mode:"boolean"})],Et.prototype,"block",2),Ut([a],Et.prototype,"size",2),Ut([a],Et.prototype,"font",2),Ut([a],Et.prototype,"weight",2),Ut([a],Et.prototype,"align",2);const aa=l.partial`:is([state--nowrap], :state(nowrap))`,la=l.partial`:is([state--truncate], :state(truncate))`,ca=l.partial`:is([state--underline], :state(underline))`,da=l.partial`:is([state--strikethrough], :state(strikethrough))`,eb=l`
519
+ :host{font-family:${$};font-size:${E};font-weight:${_};line-height:${D};max-width:400px}.label{display:flex;color:${A};padding-bottom:${Bi};flex-shrink:0;padding-inline-end:${Ht}}.label[hidden],:host(:empty) .label{display:none}.root{align-items:center;background-color:${O};border:${W} solid ${le};border-bottom-color:${ae};border-radius:${P};box-sizing:border-box;height:32px;display:inline-flex;flex-direction:row;gap:${dt};padding:0 ${bt};position:relative;width:100%}:has(.control:user-invalid){border-color:${Ci}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${P});border-radius:0 0 ${P} ${P};border-bottom:2px solid ${yo};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${Ln};transition-delay:${Ue}}.control{width:100%;height:100%;box-sizing:border-box;color:${A};border-radius:${P};background:${wt};font-family:${$};font-weight:${_};font-size:${E};border:none;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${sn}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${ut};font-size:${je}}:host ::slotted([slot='start']){padding-right:${dt}}:host ::slotted([slot='end']){padding-left:${dt};gap:${Ht}}:host(:hover) .root{border-color:${$o};border-bottom-color:${He}}:host(:active) .root{border-color:${ms}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${Ai};transition-delay:${Ge}}:host(:focus-within:active) .root:after{border-bottom-color:${pn}}:host(${G}:focus-within) .root{border:${W} solid ${le}}:host(:focus-within) .control{color:${A}}:host([disabled]) .root{background:${wt};border:${W} solid ${Tt}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${B}}::selection{color:${Me};background-color:${ln}}:host(${T}) .control{font-size:${j};font-weight:${_};line-height:${st}}:host(${T}) .root{height:24px;gap:${dt};padding:0 ${yt}}:host(${T}) ::slotted([slot='start']),:host(${T}) ::slotted([slot='end']){font-size:${ct}}:host(${C}) .control{font-size:${ct};font-weight:${_};line-height:${vt}}:host(${C}) .root{height:40px;gap:${ee};padding:0 ${ft}}:host(${C}) ::slotted([slot='start']),:host(${C}) ::slotted([slot='end']){font-size:${$s}}:host(${co}) .root{background:${wt};border:0;border-radius:0;border-bottom:${W} solid ${ae}}:host(${co}:hover) .root{border-bottom-color:${He}}:host(${co}:active) .root{border-bottom-color:${Re}}:host(${co}:focus-within) .root{border:0;border-bottom-color:${Re}}:host(${co}[disabled]) .root{border-bottom-color:${Tt}}:host(${Fe}) .root,:host(${Oe}) .root{border:${W} solid ${pt};box-shadow:${zi}}:host(${Fe}) .root{background:${O}}:host(${Oe}) .root{background:${gs}}:host(${Fe}:hover) .root,:host(${Oe}:hover) .root{border-color:${gn}}:host(${Fe}:active) .root,:host(${Oe}:active) .root{border-color:${gn};background:${gs}}`;function Kg(o={}){return f`<template @beforeinput="${(t,e)=>t.beforeinputHandler(e.event)}" @focusin="${(t,e)=>t.focusinHandler(e.event)}" @keydown="${(t,e)=>t.keydownHandler(e.event)}"><label part="label" for="control" class="label" ${kt("controlLabel")}><slot ${at({property:"defaultSlottedNodes",filter:di})}></slot></label><div class="root" part="root">${Wt(o)}<input class="control" part="control" id="control" @change="${(t,e)=>t.changeHandler(e.event)}" @input="${(t,e)=>t.inputHandler(e.event)}" ?autofocus="${t=>t.autofocus}" autocomplete="${t=>t.autocomplete}" ?disabled="${t=>t.disabled}" list="${t=>t.list}" maxlength="${t=>t.maxlength}" minlength="${t=>t.minlength}" ?multiple="${t=>t.multiple}" name="${t=>t.name}" pattern="${t=>t.pattern}" placeholder="${t=>t.placeholder}" ?readonly="${t=>t.readOnly}" ?required="${t=>t.required}" size="${t=>t.size}" spellcheck="${t=>t.spellcheck}" type="${t=>t.type}" value="${t=>t.initialValue}" ${kt("control")} />${re(o)}</div></template>`}const Yg=Kg(),Qg=Rs.compose({name:`${g.prefix}-text-input`,template:Yg,styles:Xg,shadowOptions:{delegatesFocus:!0}});Qg.define(g.registry);var Zg=Object.defineProperty,Jg=Object.getOwnPropertyDescriptor,Ut=(o,t,e,s)=>{for(var i=s>1?void 0:s?Jg(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Zg(t,e,i),i};class Et extends w{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}sizeChanged(t,e){t&&c(this.elementInternals,`size-${t}`,!1),e&&c(this.elementInternals,`size-${e}`,!0)}fontChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}weightChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}alignChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this),Object.keys(this.$fastController.definition.attributeLookup).forEach(t=>{this.handleChange(this,t)})}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this)}handleChange(t,e){switch(e){case"nowrap":case"truncate":case"italic":case"underline":case"strikethrough":case"block":c(this.elementInternals,e,!!this[e]);break}}}Ut([a({mode:"boolean"})],Et.prototype,"nowrap",2),Ut([a({mode:"boolean"})],Et.prototype,"truncate",2),Ut([a({mode:"boolean"})],Et.prototype,"italic",2),Ut([a({mode:"boolean"})],Et.prototype,"underline",2),Ut([a({mode:"boolean"})],Et.prototype,"strikethrough",2),Ut([a({mode:"boolean"})],Et.prototype,"block",2),Ut([a],Et.prototype,"size",2),Ut([a],Et.prototype,"font",2),Ut([a],Et.prototype,"weight",2),Ut([a],Et.prototype,"align",2);const aa=l.partial`:is([state--nowrap], :state(nowrap))`,la=l.partial`:is([state--truncate], :state(truncate))`,ca=l.partial`:is([state--underline], :state(underline))`,da=l.partial`:is([state--strikethrough], :state(strikethrough))`,tb=l`
520
520
  ${S("inline")}
521
521
 
522
- :host{contain:content;font-family:${$};font-size:${E};line-height:${D};font-weight:${_};text-align:start}:host(${aa}),:host(${aa}) ::slotted(*){white-space:nowrap;overflow:hidden}:host(${la}),:host(${la}) ::slotted(*){text-overflow:ellipsis}:host(:is([state--block],:state(block))){display:block}:host(:is([state--italic],:state(italic))){font-style:italic}:host(${ca}){text-decoration-line:underline}:host(${da}){text-decoration-line:line-through}:host(${ca}${da}){text-decoration-line:line-through underline}:host(:is([state--size-100],:state(size-100))){font-size:${ko};line-height:${ys}}:host(:is([state--size-200],:state(size-200))){font-size:${j};line-height:${st}}:host(:is([state--size-400],:state(size-400))){font-size:${ct};line-height:${vt}}:host(:is([state--size-500],:state(size-500))){font-size:${je};line-height:${ks}}:host(:is([state--size-600],:state(size-600))){font-size:${$s};line-height:${Nn}}:host(:is([state--size-700],:state(size-700))){font-size:${Bn};line-height:${Fn}}:host(:is([state--size-800],:state(size-800))){font-size:${Pn};line-height:${On}}:host(:is([state--size-900],:state(size-900))){font-size:${An};line-height:${_n}}:host(:is([state--size-1000],:state(size-1000))){font-size:${En};line-height:${Mn}}:host(:is([state--monospace],:state(monospace))){font-family:${ed}}:host(:is([state--numeric],:state(numeric))){font-family:${od}}:host(:is([state--medium],:state(medium))){font-weight:${sd}}:host(:is([state--semibold],:state(semibold))){font-weight:${L}}:host(:is([state--bold],:state(bold))){font-weight:${vs}}:host(:is([state--center],:state(center))){text-align:center}:host(:is([state--end],:state(end))){text-align:end}:host(:is([state--justify],:state(justify))){text-align:justify}::slotted(*){display:inherit;font:inherit;line-height:inherit;text-decoration-line:inherit;text-align:inherit;text-decoration-line:inherit;margin:0}`,ob=f`<slot></slot>`,sb=Et.compose({name:`${g.prefix}-text`,template:ob,styles:eb});sb.define(g.registry);var ib=Object.defineProperty,rb=Object.getOwnPropertyDescriptor,ha=(o,t,e,s)=>{for(var i=s>1?void 0:s?rb(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&ib(t,e,i),i};class Wi extends oe{pressedChanged(){this.setPressedState()}mixedChanged(){this.setPressedState()}press(){this.pressed=!this.pressed}connectedCallback(){super.connectedCallback(),this.setPressedState()}setPressedState(){if(this.$fastController.isConnected){const t=`${this.mixed?"mixed":!!this.pressed}`;this.elementInternals.ariaPressed=t,c(this.elementInternals,"pressed",!!this.pressed||!!this.mixed)}}}ha([a({mode:"boolean"})],Wi.prototype,"pressed",2),ha([a({mode:"boolean"})],Wi.prototype,"mixed",2);const nb=l`
522
+ :host{contain:content;font-family:${$};font-size:${E};line-height:${D};font-weight:${_};text-align:start}:host(${aa}),:host(${aa}) ::slotted(*){white-space:nowrap;overflow:hidden}:host(${la}),:host(${la}) ::slotted(*){text-overflow:ellipsis}:host(:is([state--block],:state(block))){display:block}:host(:is([state--italic],:state(italic))){font-style:italic}:host(${ca}){text-decoration-line:underline}:host(${da}){text-decoration-line:line-through}:host(${ca}${da}){text-decoration-line:line-through underline}:host(:is([state--size-100],:state(size-100))){font-size:${ko};line-height:${ys}}:host(:is([state--size-200],:state(size-200))){font-size:${j};line-height:${st}}:host(:is([state--size-400],:state(size-400))){font-size:${ct};line-height:${vt}}:host(:is([state--size-500],:state(size-500))){font-size:${je};line-height:${ks}}:host(:is([state--size-600],:state(size-600))){font-size:${$s};line-height:${Nn}}:host(:is([state--size-700],:state(size-700))){font-size:${Bn};line-height:${Fn}}:host(:is([state--size-800],:state(size-800))){font-size:${Pn};line-height:${On}}:host(:is([state--size-900],:state(size-900))){font-size:${An};line-height:${_n}}:host(:is([state--size-1000],:state(size-1000))){font-size:${En};line-height:${Mn}}:host(:is([state--monospace],:state(monospace))){font-family:${ed}}:host(:is([state--numeric],:state(numeric))){font-family:${od}}:host(:is([state--medium],:state(medium))){font-weight:${sd}}:host(:is([state--semibold],:state(semibold))){font-weight:${L}}:host(:is([state--bold],:state(bold))){font-weight:${vs}}:host(:is([state--center],:state(center))){text-align:center}:host(:is([state--end],:state(end))){text-align:end}:host(:is([state--justify],:state(justify))){text-align:justify}::slotted(*){display:inherit;font:inherit;line-height:inherit;text-decoration-line:inherit;text-align:inherit;text-decoration-line:inherit;margin:0}`,eb=f`<slot></slot>`,ob=Et.compose({name:`${g.prefix}-text`,template:eb,styles:tb});ob.define(g.registry);var sb=Object.defineProperty,ib=Object.getOwnPropertyDescriptor,ha=(o,t,e,s)=>{for(var i=s>1?void 0:s?ib(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&sb(t,e,i),i};class Wi extends oe{pressedChanged(){this.setPressedState()}mixedChanged(){this.setPressedState()}press(){this.pressed=!this.pressed}connectedCallback(){super.connectedCallback(),this.setPressedState()}setPressedState(){if(this.$fastController.isConnected){const t=`${this.mixed?"mixed":!!this.pressed}`;this.elementInternals.ariaPressed=t,c(this.elementInternals,"pressed",!!this.pressed||!!this.mixed)}}}ha([a({mode:"boolean"})],Wi.prototype,"pressed",2),ha([a({mode:"boolean"})],Wi.prototype,"mixed",2);const rb=l`
523
523
  ${zs}
524
524
 
525
525
  :host(${N}){border-color:${le};background-color:${an};color:${A};border-width:${W}}:host(${N}:hover){border-color:${$o};background-color:${fi}}:host(${N}:active){border-color:${ms};background-color:${mi}}:host(${N}${lt}){border-color:transparent;background-color:${Ol};color:${te}}:host(${N}${lt}:hover){background-color:${cn}}:host(${N}${lt}:active){background-color:${dn}}:host(${N}${z}){border-color:transparent;background-color:${Nl};color:${bl}}:host(${N}${z}:hover){background-color:${fs};color:${ds}}:host(${N}${z}:active){background-color:${Ve};color:${hs}}:host(${N}${G}),:host(${N}${Z}){background-color:${Fl}}:host(${N}${G}:hover),:host(${N}${Z}:hover){background-color:${$i}}:host(${N}${G}:active),:host(${N}${Z}:active){background-color:${vi}}:host(${N}${Z}){border-color:transparent;color:${fl}}:host(${N}${Z}:hover){color:${us}}:host(${N}${Z}:active){color:${ps}}`.withBehaviors(Q(l`
526
- :host(${N}),:host(${N}${lt}),:host(${N}${z}),:host(${N}${G}),:host(${N}${Z}){background:SelectedItem;color:SelectedItemText}`)),ab=Mi(),lb=Wi.compose({name:`${g.prefix}-toggle-button`,template:ab,styles:nb});lb.define(g.registry);
526
+ :host(${N}),:host(${N}${lt}),:host(${N}${z}),:host(${N}${G}),:host(${N}${Z}){background:SelectedItem;color:SelectedItemText}`)),nb=Mi(),ab=Wi.compose({name:`${g.prefix}-toggle-button`,template:nb,styles:rb});ab.define(g.registry);
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.63",
4
+ "version": "3.0.0-beta.65",
5
5
  "author": {
6
6
  "name": "Microsoft",
7
7
  "url": "https://discord.gg/FcSNfg4"