@fluentui/web-components 3.0.0-beta.70 → 3.0.0-beta.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/CHANGELOG.md +11 -2
  2. package/dist/dts/avatar/avatar.d.ts +1 -1
  3. package/dist/dts/menu-item/menu-item.styles.d.ts +0 -5
  4. package/dist/dts/styles/states/index.d.ts +439 -95
  5. package/dist/dts/utils/element-internals.d.ts +15 -0
  6. package/dist/esm/avatar/avatar.styles.js +32 -31
  7. package/dist/esm/avatar/avatar.styles.js.map +1 -1
  8. package/dist/esm/checkbox/checkbox.styles.js +1 -6
  9. package/dist/esm/checkbox/checkbox.styles.js.map +1 -1
  10. package/dist/esm/counter-badge/counter-badge.styles.js +1 -6
  11. package/dist/esm/counter-badge/counter-badge.styles.js.map +1 -1
  12. package/dist/esm/field/field.styles.js +1 -66
  13. package/dist/esm/field/field.styles.js.map +1 -1
  14. package/dist/esm/image/image.styles.js +8 -8
  15. package/dist/esm/image/image.styles.js.map +1 -1
  16. package/dist/esm/label/label.styles.js +4 -5
  17. package/dist/esm/label/label.styles.js.map +1 -1
  18. package/dist/esm/link/link.styles.js +3 -3
  19. package/dist/esm/link/link.styles.js.map +1 -1
  20. package/dist/esm/menu-item/menu-item.styles.js +1 -6
  21. package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
  22. package/dist/esm/styles/states/index.js +437 -97
  23. package/dist/esm/styles/states/index.js.map +1 -1
  24. package/dist/esm/text/text.styles.js +20 -39
  25. package/dist/esm/text/text.styles.js.map +1 -1
  26. package/dist/esm/utils/element-internals.js +20 -0
  27. package/dist/esm/utils/element-internals.js.map +1 -1
  28. package/dist/web-components.d.ts +1 -1
  29. package/dist/web-components.js +130 -78
  30. package/dist/web-components.min.js +274 -274
  31. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/styles/states/index.ts"],"names":[],"mappings":"AA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,MAAM,CAAC,CAAC;AAE/C;;;GAGG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;AAE/C;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC,UAAU,CAAC,CAAC;AAEtD;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;AAExD;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,CAAC;AAE7D;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,UAAU,CAAC,CAAC;AAEvD;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,eAAe,CAAC,CAAC;AAEhE;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;AAEzD;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC;AAE9D;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC;AAEjD;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,eAAe,CAAC,CAAC;AAEhE;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,UAAU,CAAC,CAAC;AAEvD;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC,SAAS,CAAC,CAAC"}
@@ -1,26 +1,7 @@
1
1
  import { css } from '@microsoft/fast-element';
2
2
  import { display } from '../utils/index.js';
3
3
  import { fontFamilyBase, fontFamilyMonospace, fontFamilyNumeric, fontSizeBase100, fontSizeBase200, fontSizeBase300, fontSizeBase400, fontSizeBase500, fontSizeBase600, fontSizeHero1000, fontSizeHero700, fontSizeHero800, fontSizeHero900, fontWeightBold, fontWeightMedium, fontWeightRegular, fontWeightSemibold, lineHeightBase100, lineHeightBase200, lineHeightBase300, lineHeightBase400, lineHeightBase500, lineHeightBase600, lineHeightHero1000, lineHeightHero700, lineHeightHero800, lineHeightHero900, } from '../theme/design-tokens.js';
4
- /**
5
- * Selector for the `nowrap` state.
6
- * @public
7
- */
8
- const nowrapState = css.partial `:is([state--nowrap], :state(nowrap))`;
9
- /**
10
- * Selector for the `truncate` state.
11
- * @public
12
- */
13
- const truncateState = css.partial `:is([state--truncate], :state(truncate))`;
14
- /**
15
- * Selector for the `underline` state.
16
- * @public
17
- */
18
- const underlineState = css.partial `:is([state--underline], :state(underline))`;
19
- /**
20
- * Selector for the `strikethrough` state.
21
- * @public
22
- */
23
- const strikethroughState = css.partial `:is([state--strikethrough], :state(strikethrough))`;
4
+ import { blockState, boldState, centerState, endState, italicState, justifyState, mediumState, monospaceState, nowrapState, numericState, semiboldState, size1000State, size100State, size200State, size400State, size500State, size600State, size700State, size800State, size900State, strikethroughState, truncateState, underlineState, } from '../styles/states/index.js';
24
5
  /** Text styles
25
6
  * @public
26
7
  */
@@ -45,10 +26,10 @@ export const styles = css `
45
26
  :host(${truncateState}) ::slotted(*) {
46
27
  text-overflow: ellipsis;
47
28
  }
48
- :host(:is([state--block], :state(block))) {
29
+ :host(${blockState}) {
49
30
  display: block;
50
31
  }
51
- :host(:is([state--italic], :state(italic))) {
32
+ :host(${italicState}) {
52
33
  font-style: italic;
53
34
  }
54
35
  :host(${underlineState}) {
@@ -60,64 +41,64 @@ export const styles = css `
60
41
  :host(${underlineState}${strikethroughState}) {
61
42
  text-decoration-line: line-through underline;
62
43
  }
63
- :host(:is([state--size-100], :state(size-100))) {
44
+ :host(${size100State}) {
64
45
  font-size: ${fontSizeBase100};
65
46
  line-height: ${lineHeightBase100};
66
47
  }
67
- :host(:is([state--size-200], :state(size-200))) {
48
+ :host(${size200State}) {
68
49
  font-size: ${fontSizeBase200};
69
50
  line-height: ${lineHeightBase200};
70
51
  }
71
- :host(:is([state--size-400], :state(size-400))) {
52
+ :host(${size400State}) {
72
53
  font-size: ${fontSizeBase400};
73
54
  line-height: ${lineHeightBase400};
74
55
  }
75
- :host(:is([state--size-500], :state(size-500))) {
56
+ :host(${size500State}) {
76
57
  font-size: ${fontSizeBase500};
77
58
  line-height: ${lineHeightBase500};
78
59
  }
79
- :host(:is([state--size-600], :state(size-600))) {
60
+ :host(${size600State}) {
80
61
  font-size: ${fontSizeBase600};
81
62
  line-height: ${lineHeightBase600};
82
63
  }
83
- :host(:is([state--size-700], :state(size-700))) {
64
+ :host(${size700State}) {
84
65
  font-size: ${fontSizeHero700};
85
66
  line-height: ${lineHeightHero700};
86
67
  }
87
- :host(:is([state--size-800], :state(size-800))) {
68
+ :host(${size800State}) {
88
69
  font-size: ${fontSizeHero800};
89
70
  line-height: ${lineHeightHero800};
90
71
  }
91
- :host(:is([state--size-900], :state(size-900))) {
72
+ :host(${size900State}) {
92
73
  font-size: ${fontSizeHero900};
93
74
  line-height: ${lineHeightHero900};
94
75
  }
95
- :host(:is([state--size-1000], :state(size-1000))) {
76
+ :host(${size1000State}) {
96
77
  font-size: ${fontSizeHero1000};
97
78
  line-height: ${lineHeightHero1000};
98
79
  }
99
- :host(:is([state--monospace], :state(monospace))) {
80
+ :host(${monospaceState}) {
100
81
  font-family: ${fontFamilyMonospace};
101
82
  }
102
- :host(:is([state--numeric], :state(numeric))) {
83
+ :host(${numericState}) {
103
84
  font-family: ${fontFamilyNumeric};
104
85
  }
105
- :host(:is([state--medium], :state(medium))) {
86
+ :host(${mediumState}) {
106
87
  font-weight: ${fontWeightMedium};
107
88
  }
108
- :host(:is([state--semibold], :state(semibold))) {
89
+ :host(${semiboldState}) {
109
90
  font-weight: ${fontWeightSemibold};
110
91
  }
111
- :host(:is([state--bold], :state(bold))) {
92
+ :host(${boldState}) {
112
93
  font-weight: ${fontWeightBold};
113
94
  }
114
- :host(:is([state--center], :state(center))) {
95
+ :host(${centerState}) {
115
96
  text-align: center;
116
97
  }
117
- :host(:is([state--end], :state(end))) {
98
+ :host(${endState}) {
118
99
  text-align: end;
119
100
  }
120
- :host(:is([state--justify], :state(justify))) {
101
+ :host(${justifyState}) {
121
102
  text-align: justify;
122
103
  }
123
104
 
@@ -1 +1 @@
1
- {"version":3,"file":"text.styles.js","sourceRoot":"","sources":["../../../src/text/text.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,2BAA2B,CAAC;AAEnC;;;GAGG;AACH,MAAM,WAAW,GAAG,GAAG,CAAC,OAAO,CAAA,sCAAsC,CAAC;AAEtE;;;GAGG;AACH,MAAM,aAAa,GAAG,GAAG,CAAC,OAAO,CAAA,0CAA0C,CAAC;AAE5E;;;GAGG;AACH,MAAM,cAAc,GAAG,GAAG,CAAC,OAAO,CAAA,4CAA4C,CAAC;AAE/E;;;GAGG;AACH,MAAM,kBAAkB,GAAG,GAAG,CAAC,OAAO,CAAA,oDAAoD,CAAC;AAE3F;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;IACrB,OAAO,CAAC,QAAQ,CAAC;;;;mBAIF,cAAc;iBAChB,eAAe;mBACb,iBAAiB;mBACjB,iBAAiB;;;;UAI1B,WAAW;UACX,WAAW;;;;UAIX,aAAa;UACb,aAAa;;;;;;;;;UASb,cAAc;;;UAGd,kBAAkB;;;UAGlB,cAAc,GAAG,kBAAkB;;;;iBAI5B,eAAe;mBACb,iBAAiB;;;iBAGnB,eAAe;mBACb,iBAAiB;;;iBAGnB,eAAe;mBACb,iBAAiB;;;iBAGnB,eAAe;mBACb,iBAAiB;;;iBAGnB,eAAe;mBACb,iBAAiB;;;iBAGnB,eAAe;mBACb,iBAAiB;;;iBAGnB,eAAe;mBACb,iBAAiB;;;iBAGnB,eAAe;mBACb,iBAAiB;;;iBAGnB,gBAAgB;mBACd,kBAAkB;;;mBAGlB,mBAAmB;;;mBAGnB,iBAAiB;;;mBAGjB,gBAAgB;;;mBAGhB,kBAAkB;;;mBAGlB,cAAc;;;;;;;;;;;;;;;;;;;;CAoBhC,CAAC"}
1
+ {"version":3,"file":"text.styles.js","sourceRoot":"","sources":["../../../src/text/text.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,UAAU,EACV,SAAS,EACT,WAAW,EACX,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,WAAW,EACX,cAAc,EACd,WAAW,EACX,YAAY,EACZ,aAAa,EACb,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,cAAc,GACf,MAAM,2BAA2B,CAAC;AAEnC;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;IACrB,OAAO,CAAC,QAAQ,CAAC;;;;mBAIF,cAAc;iBAChB,eAAe;mBACb,iBAAiB;mBACjB,iBAAiB;;;;UAI1B,WAAW;UACX,WAAW;;;;UAIX,aAAa;UACb,aAAa;;;UAGb,UAAU;;;UAGV,WAAW;;;UAGX,cAAc;;;UAGd,kBAAkB;;;UAGlB,cAAc,GAAG,kBAAkB;;;UAGnC,YAAY;iBACL,eAAe;mBACb,iBAAiB;;UAE1B,YAAY;iBACL,eAAe;mBACb,iBAAiB;;UAE1B,YAAY;iBACL,eAAe;mBACb,iBAAiB;;UAE1B,YAAY;iBACL,eAAe;mBACb,iBAAiB;;UAE1B,YAAY;iBACL,eAAe;mBACb,iBAAiB;;UAE1B,YAAY;iBACL,eAAe;mBACb,iBAAiB;;UAE1B,YAAY;iBACL,eAAe;mBACb,iBAAiB;;UAE1B,YAAY;iBACL,eAAe;mBACb,iBAAiB;;UAE1B,aAAa;iBACN,gBAAgB;mBACd,kBAAkB;;UAE3B,cAAc;mBACL,mBAAmB;;UAE5B,YAAY;mBACH,iBAAiB;;UAE1B,WAAW;mBACF,gBAAgB;;UAEzB,aAAa;mBACJ,kBAAkB;;UAE3B,SAAS;mBACA,cAAc;;UAEvB,WAAW;;;UAGX,QAAQ;;;UAGR,YAAY;;;;;;;;;;;;CAYrB,CAAC"}
@@ -3,6 +3,26 @@
3
3
  * @public
4
4
  */
5
5
  export const CustomStatesSetSupported = CSS.supports('selector(:state(g))');
6
+ /**
7
+ * Map to store the state values.
8
+ * @internal
9
+ */
10
+ const statesMap = new Map();
11
+ /**
12
+ * Returns a string that represents a CSS custom state selector.
13
+ *
14
+ * @param state - the state value.
15
+ * @returns a string that represents a CSS state selector, or a custom attribute selector if the browser does not
16
+ * support Custom States.
17
+ *
18
+ * @public
19
+ */
20
+ export function stateSelector(state) {
21
+ var _a;
22
+ return ((_a = statesMap.get(state)) !== null && _a !== void 0 ? _a : statesMap
23
+ .set(state, CustomStatesSetSupported ? `:state(${state})` : `[state--${state}]`)
24
+ .get(state));
25
+ }
6
26
  /**
7
27
  * This function is used to toggle a state on the control. If the browser supports Custom States, the state is toggled
8
28
  * on the `ElementInternals.states` set. If the browser does not support Custom States, the state is toggled on the host
@@ -1 +1 @@
1
- {"version":3,"file":"element-internals.js","sourceRoot":"","sources":["../../../src/utils/element-internals.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC;AAE5E;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,WAAW,CAAC,gBAAkC,EAAE,KAAa,EAAE,KAAe;IAC5F,IAAI,CAAC,wBAAwB,EAAE;QAC7B,gBAAgB,CAAC,UAAW,CAAC,IAAI,CAAC,eAAe,CAAC,UAAU,KAAK,EAAE,EAAE,KAAK,CAAC,CAAC;QAC5E,OAAO;KACR;IACD,mCAAmC;IACnC,IAAI,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;QAChD,mCAAmC;QACnC,gBAAgB,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACnC,OAAO;KACR;IACD,mCAAmC;IACnC,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AACxC,CAAC"}
1
+ {"version":3,"file":"element-internals.js","sourceRoot":"","sources":["../../../src/utils/element-internals.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC;AAE5E;;;GAGG;AACH,MAAM,SAAS,GAAG,IAAI,GAAG,EAAiC,CAAC;AAE3D;;;;;;;;GAQG;AACH,MAAM,UAAU,aAAa,CAAmB,KAAQ;;IACtD,OAAO,CAAC,MAAA,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC,mCAC1B,SAAS;SACN,GAAG,CAAC,KAAK,EAAE,wBAAwB,CAAC,CAAC,CAAC,UAAU,KAAK,GAAG,CAAC,CAAC,CAAC,WAAW,KAAK,GAAG,CAAC;SAC/E,GAAG,CAAC,KAAK,CAAC,CAAqB,CAAC;AACvC,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,WAAW,CAAC,gBAAkC,EAAE,KAAa,EAAE,KAAe;IAC5F,IAAI,CAAC,wBAAwB,EAAE;QAC7B,gBAAgB,CAAC,UAAW,CAAC,IAAI,CAAC,eAAe,CAAC,UAAU,KAAK,EAAE,EAAE,KAAK,CAAC,CAAC;QAC5E,OAAO;KACR;IACD,mCAAmC;IACnC,IAAI,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;QAChD,mCAAmC;QACnC,gBAAgB,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACnC,OAAO;KACR;IACD,mCAAmC;IACnC,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AACxC,CAAC"}
@@ -460,7 +460,7 @@ export declare class Avatar extends BaseAvatar {
460
460
  /**
461
461
  * An array of the available Avatar named colors
462
462
  */
463
- static colors: ("anchor" | "dark-red" | "cranberry" | "red" | "pumpkin" | "peach" | "marigold" | "gold" | "brass" | "brown" | "forest" | "seafoam" | "dark-green" | "light-teal" | "teal" | "steel" | "blue" | "royal-blue" | "cornflower" | "navy" | "lavender" | "purple" | "grape" | "lilac" | "pink" | "magenta" | "plum" | "beige" | "mink" | "platinum")[];
463
+ static colors: ("anchor" | "beige" | "blue" | "brass" | "brown" | "cornflower" | "cranberry" | "dark-green" | "dark-red" | "forest" | "gold" | "grape" | "lavender" | "light-teal" | "lilac" | "magenta" | "marigold" | "mink" | "navy" | "peach" | "pink" | "platinum" | "plum" | "pumpkin" | "purple" | "red" | "royal-blue" | "seafoam" | "steel" | "teal")[];
464
464
  connectedCallback(): void;
465
465
  disconnectedCallback(): void;
466
466
  }
@@ -4338,6 +4338,10 @@ function applyMixins(derivedCtor, ...baseCtors) {
4338
4338
  }
4339
4339
 
4340
4340
  const CustomStatesSetSupported = CSS.supports("selector(:state(g))");
4341
+ const statesMap = /* @__PURE__ */new Map();
4342
+ function stateSelector(state) {
4343
+ return statesMap.get(state) ?? statesMap.set(state, CustomStatesSetSupported ? `:state(${state})` : `[state--${state}]`).get(state);
4344
+ }
4341
4345
  function toggleState(elementInternals, state, force) {
4342
4346
  if (!CustomStatesSetSupported) {
4343
4347
  elementInternals.shadowRoot.host.toggleAttribute(`state--${state}`, force);
@@ -4450,58 +4454,126 @@ __decorateClass$v([attr({
4450
4454
  })], AccordionItem.prototype, "block", 2);
4451
4455
  applyMixins(AccordionItem, StartEnd);
4452
4456
 
4453
- const checkedState = css.partial`:is([state--checked], :state(checked))`;
4454
- const disabledState = css.partial`:is([state--disabled], :state(disabled))`;
4455
- const filledLighterState = css.partial`:is([state--filled-lighter], :state(filled-lighter))`;
4456
- const filledDarkerState = css.partial`:is([state--filled-darker], :state(filled-darker))`;
4457
- const ghostState = css.partial`:is([state--ghost], :state(ghost))`;
4458
- const invertedState = css.partial`:is([state--inverted], :state(inverted))`;
4459
- const primaryState = css.partial`:is([state--primary], :state(primary))`;
4460
- const outlineState = css.partial`:is([state--outline], :state(outline))`;
4461
- const strongState = css.partial`:is([state--strong], :state(strong))`;
4462
- const subtleState = css.partial`:is([state--subtle], :state(subtle))`;
4463
- const tintState = css.partial`:is([state--tint], :state(tint))`;
4464
- const underlineState$1 = css.partial`:is([state--underline], :state(underline))`;
4465
- const transparentState = css.partial`:is([state--transparent], :state(transparent))`;
4466
- const circularState = css.partial`:is([state--circular], :state(circular))`;
4467
- const roundedState = css.partial`:is([state--rounded], :state(rounded))`;
4468
- const squareState = css.partial`:is([state--square], :state(square))`;
4469
- const tinyState = css.partial`:is([state--tiny], :state(tiny))`;
4470
- const extraSmallState = css.partial`:is([state--extra-small], :state(extra-small))`;
4471
- const smallState = css.partial`:is([state--small], :state(small))`;
4472
- css.partial`:is([state--medium], :state(medium))`;
4473
- const largeState = css.partial`:is([state--large], :state(large))`;
4474
- const extraLargeState = css.partial`:is([state--extra-large], :state(extra-large))`;
4475
- const hugeState = css.partial`:is([state--huge], :state(huge))`;
4476
- const alignStartState = css.partial`:is([state--align-start], :state(align-start))`;
4477
- const alignEndState = css.partial`:is([state--align-end], :state(align-end))`;
4478
- const insetState = css.partial`:is([state--inset], :state(inset))`;
4479
- const iconOnlyState = css.partial`:is([state--icon], :state(icon))`;
4480
- const pressedState = css.partial`:is([state--pressed], :state(pressed))`;
4481
- const brandState = css.partial`:is([state--brand], :state(brand))`;
4482
- const errorState = css.partial`:is([state--error], :state(error))`;
4483
- const dangerState = css.partial`:is([state--danger], :state(danger))`;
4484
- const importantState = css.partial`:is([state--important], :state(important))`;
4485
- const informativeState = css.partial`:is([state--informative], :state(informative))`;
4486
- css.partial`:is([state--marigold], :state(marigold))`;
4487
- const neutralState = css.partial`:is([state--neutral], :state(neutral))`;
4488
- const severeState = css.partial`:is([state--severe], :state(severe))`;
4489
- const successState = css.partial`:is([state--success], :state(success))`;
4490
- const warningState = css.partial`:is([state--warning], :state(warning))`;
4491
- const verticalState = css.partial`:is([state--vertical], :state(vertical))`;
4492
- css.partial`:is([state--horizontal], :state(horizontal))`;
4493
- css.partial`:is([state--singleline], :state(singleline))`;
4494
- const multiLineState = css.partial`:is([state--multiline], :state(multiline))`;
4495
- const expandedState = css.partial`:is([state--expanded], :state(expanded))`;
4496
- const blockState = css.partial`:is([state--block], :state(block))`;
4497
- css.partial`:is([state--resize], :state(resize))`;
4498
- const resizeHorizontalState = css.partial`:is([state--resize-horizontal], :state(resize-horizontal))`;
4499
- const resizeVerticalState = css.partial`:is([state--resize-vertical], :state(resize-vertical))`;
4500
- const resizeBothState = css.partial`:is([state--resize-both], :state(resize-both))`;
4501
- const autoResizeState = css.partial`:is([state--auto-resize], :state(auto-resize))`;
4502
- const displayShadowState = css.partial`:is([state--display-shadow], :state(display-shadow))`;
4503
- const userInvalidState = css.partial`:is([state--user-invalid], :state(user-invalid))`;
4504
- css.partial`:is([state--user-valid], :state(user-valid))`;
4457
+ const alignEndState = stateSelector("align-end");
4458
+ const alignStartState = stateSelector("align-start");
4459
+ const anchorState = stateSelector("anchor");
4460
+ const autoResizeState = stateSelector("auto-resize");
4461
+ const badInputState = stateSelector("bad-input");
4462
+ const beigeState = stateSelector("beige");
4463
+ const blockState = stateSelector("block");
4464
+ const blueState = stateSelector("blue");
4465
+ const boldState = stateSelector("bold");
4466
+ const borderedState = stateSelector("bordered");
4467
+ const brandState = stateSelector("brand");
4468
+ const brassState = stateSelector("brass");
4469
+ const brownState = stateSelector("brown");
4470
+ const centerState = stateSelector("center");
4471
+ const checkedState = stateSelector("checked");
4472
+ const circularState = stateSelector("circular");
4473
+ const cornflowerState = stateSelector("cornflower");
4474
+ const cranberryState = stateSelector("cranberry");
4475
+ const customErrorState = stateSelector("custom-error");
4476
+ const dangerState = stateSelector("danger");
4477
+ const darkGreenState = stateSelector("dark-green");
4478
+ const darkRedState = stateSelector("dark-red");
4479
+ const disabledState = stateSelector("disabled");
4480
+ const displayShadowState = stateSelector("display-shadow");
4481
+ const dotState = stateSelector("dot");
4482
+ const endState = stateSelector("end");
4483
+ const errorState = stateSelector("error");
4484
+ const expandedState = stateSelector("expanded");
4485
+ const extraLargeState = stateSelector("extra-large");
4486
+ const extraSmallState = stateSelector("extra-small");
4487
+ const filledDarkerState = stateSelector("filled-darker");
4488
+ const filledLighterState = stateSelector("filled-lighter");
4489
+ const fitCenterState = stateSelector("fit-center");
4490
+ const fitContainState = stateSelector("fit-contain");
4491
+ const fitCoverState = stateSelector("fit-cover");
4492
+ const fitNoneState = stateSelector("fit-none");
4493
+ const focusVisibleState = stateSelector("focus-visible");
4494
+ const forestState = stateSelector("forest");
4495
+ const ghostState = stateSelector("ghost");
4496
+ const goldState = stateSelector("gold");
4497
+ const grapeState = stateSelector("grape");
4498
+ const hasMessageState = stateSelector("has-message");
4499
+ const hugeState = stateSelector("huge");
4500
+ const iconOnlyState = stateSelector("icon");
4501
+ const importantState = stateSelector("important");
4502
+ const indeterminateState = stateSelector("indeterminate");
4503
+ const informativeState = stateSelector("informative");
4504
+ const inlineState = stateSelector("inline");
4505
+ const insetState = stateSelector("inset");
4506
+ const invertedState = stateSelector("inverted");
4507
+ const italicState = stateSelector("italic");
4508
+ const justifyState = stateSelector("justify");
4509
+ const largeState = stateSelector("large");
4510
+ const lavenderState = stateSelector("lavender");
4511
+ const lightTealState = stateSelector("light-teal");
4512
+ const lilacState = stateSelector("lilac");
4513
+ const magentaState = stateSelector("magenta");
4514
+ const marigoldState = stateSelector("marigold");
4515
+ const mediumState = stateSelector("medium");
4516
+ const minkState = stateSelector("mink");
4517
+ const monospaceState = stateSelector("monospace");
4518
+ const multiLineState = stateSelector("multiline");
4519
+ const navyState = stateSelector("navy");
4520
+ const neutralState = stateSelector("neutral");
4521
+ const nowrapState = stateSelector("nowrap");
4522
+ const numericState = stateSelector("numeric");
4523
+ const outlineState = stateSelector("outline");
4524
+ const patternMismatchState = stateSelector("pattern-mismatch");
4525
+ const peachState = stateSelector("peach");
4526
+ const pinkState = stateSelector("pink");
4527
+ const platinumState = stateSelector("platinum");
4528
+ const plumState = stateSelector("plum");
4529
+ const pressedState = stateSelector("pressed");
4530
+ const primaryState = stateSelector("primary");
4531
+ const pumpkinState = stateSelector("pumpkin");
4532
+ const purpleState = stateSelector("purple");
4533
+ const rangeOverflowState = stateSelector("range-overflow");
4534
+ const rangeUnderflowState = stateSelector("range-underflow");
4535
+ const redState = stateSelector("red");
4536
+ const resizeBothState = stateSelector("resize-both");
4537
+ const resizeHorizontalState = stateSelector("resize-horizontal");
4538
+ const resizeVerticalState = stateSelector("resize-vertical");
4539
+ const roundedState = stateSelector("rounded");
4540
+ const royalBlueState = stateSelector("royal-blue");
4541
+ const seafoamState = stateSelector("seafoam");
4542
+ const semiboldState = stateSelector("semibold");
4543
+ const severeState = stateSelector("severe");
4544
+ const shadowState = stateSelector("shadow");
4545
+ const size1000State = stateSelector("size-1000");
4546
+ const size100State = stateSelector("size-100");
4547
+ const size200State = stateSelector("size-200");
4548
+ const size400State = stateSelector("size-400");
4549
+ const size500State = stateSelector("size-500");
4550
+ const size600State = stateSelector("size-600");
4551
+ const size700State = stateSelector("size-700");
4552
+ const size800State = stateSelector("size-800");
4553
+ const size900State = stateSelector("size-900");
4554
+ const smallState = stateSelector("small");
4555
+ const squareState = stateSelector("square");
4556
+ const steelState = stateSelector("steel");
4557
+ const stepMismatchState = stateSelector("step-mismatch");
4558
+ const strikethroughState = stateSelector("strikethrough");
4559
+ const strongState = stateSelector("strong");
4560
+ const submenuState = stateSelector("submenu");
4561
+ const subtleState = stateSelector("subtle");
4562
+ const successState = stateSelector("success");
4563
+ const tealState = stateSelector("teal");
4564
+ const tintState = stateSelector("tint");
4565
+ const tinyState = stateSelector("tiny");
4566
+ const tooLongState = stateSelector("too-long");
4567
+ const tooShortState = stateSelector("too-short");
4568
+ const transparentState = stateSelector("transparent");
4569
+ const truncateState = stateSelector("truncate");
4570
+ const typeMismatchState = stateSelector("type-mismatch");
4571
+ const underlineState = stateSelector("underline");
4572
+ const userInvalidState = stateSelector("user-invalid");
4573
+ const validState = stateSelector("valid");
4574
+ const valueMissingState = stateSelector("value-missing");
4575
+ const verticalState = stateSelector("vertical");
4576
+ const warningState = stateSelector("warning");
4505
4577
 
4506
4578
  const colorNeutralForeground1 = "var(--colorNeutralForeground1)";
4507
4579
  const colorNeutralForeground1Hover = "var(--colorNeutralForeground1Hover)";
@@ -5382,7 +5454,7 @@ const animations = {
5382
5454
  nullEasing: curveLinear
5383
5455
  };
5384
5456
  const styles$w = css`
5385
- ${display("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${fontFamilyBase};font-weight:${fontWeightSemibold};font-size:${fontSizeBase300};border-radius:${borderRadiusCircular};color:${colorNeutralForeground3};background-color:${colorNeutralBackground6};contain:layout style}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${borderRadiusCircular}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${strokeWidthThin}) ${colorNeutralBackground1}}:host([size='64']) ::slotted([slot='badge']),:host([size='72']) ::slotted([slot='badge']),:host([size='96']) ::slotted([slot='badge']),:host([size='120']) ::slotted([slot='badge']),:host([size='128']) ::slotted([slot='badge']){box-shadow:0 0 0 ${strokeWidthThick}) ${colorNeutralBackground1}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${fontSizeBase100};font-weight:${fontWeightRegular}}:host([size='16']){width:16px;height:16px}:host([size='20']){width:20px;height:20px}:host([size='24']){width:24px;height:24px}:host([size='16']) .default-icon,:host([size='16']) ::slotted(svg){width:12px;height:12px;font-size:12px}:host([size='20']) .default-icon,:host([size='24']) .default-icon,:host([size='20']) ::slotted(svg),:host([size='24']) ::slotted(svg){width:16px;height:16px;font-size:16px}:host([size='28']){width:28px;height:28px;font-size:${fontSizeBase200}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${fontSizeBase400}}:host([size='48']){width:48px;height:48px}:host([size='48']) .default-icon,:host([size='48']) ::slotted(svg){width:24px;height:24px;font-size:24px}:host([size='56']){width:56px;height:56px}:host([size='56']) .default-icon,:host([size='56']) ::slotted(svg){width:28px;height:28px;font-size:28px}:host([size='64']),:host([size='72']),:host([size='96']){font-size:${fontSizeBase500}}:host([size='64']) .default-icon,:host([size='72']) .default-icon,:host([size='64']) ::slotted(svg),:host([size='72']) ::slotted(svg){width:32px;height:32px;font-size:32px}:host([size='64']){width:64px;height:64px}:host([size='72']){width:72px;height:72px}:host([size='96']){width:96px;height:96px}:host([size='96']) .default-icon,:host([size='120']) .default-icon,:host([size='128']) .default-icon,:host([size='96']) ::slotted(svg),:host([size='120']) ::slotted(svg),:host([size='128']) ::slotted(svg){width:48px;height:48px;font-size:48px}:host([size='120']),:host([size='128']){font-size:${fontSizeBase600}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${borderRadiusMedium}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${borderRadiusSmall}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${borderRadiusLarge}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${borderRadiusXLarge}}:host(:is([state--brand],:state(brand))){color:${colorNeutralForegroundStaticInverted};background-color:${colorBrandBackgroundStatic}}:host(:is([state--dark-red],:state(dark-red))){color:${colorPaletteDarkRedForeground2};background-color:${colorPaletteDarkRedBackground2}}:host(:is([state--cranberry],:state(cranberry))){color:${colorPaletteCranberryForeground2};background-color:${colorPaletteCranberryBackground2}}:host(:is([state--red],:state(red))){color:${colorPaletteRedForeground2};background-color:${colorPaletteRedBackground2}}:host(:is([state--pumpkin],:state(pumpkin))){color:${colorPalettePumpkinForeground2};background-color:${colorPalettePumpkinBackground2}}:host(:is([state--peach],:state(peach))){color:${colorPalettePeachForeground2};background-color:${colorPalettePeachBackground2}}:host(:is([state--marigold],:state(marigold))){color:${colorPaletteMarigoldForeground2};background-color:${colorPaletteMarigoldBackground2}}:host(:is([state--gold],:state(gold))){color:${colorPaletteGoldForeground2};background-color:${colorPaletteGoldBackground2}}:host(:is([state--brass],:state(brass))){color:${colorPaletteBrassForeground2};background-color:${colorPaletteBrassBackground2}}:host(:is([state--brown],:state(brown))){color:${colorPaletteBrownForeground2};background-color:${colorPaletteBrownBackground2}}:host(:is([state--forest],:state(forest))){color:${colorPaletteForestForeground2};background-color:${colorPaletteForestBackground2}}:host(:is([state--seafoam],:state(seafoam))){color:${colorPaletteSeafoamForeground2};background-color:${colorPaletteSeafoamBackground2}}:host(:is([state--dark-green],:state(dark-green))){color:${colorPaletteDarkGreenForeground2};background-color:${colorPaletteDarkGreenBackground2}}:host(:is([state--light-teal],:state(light-teal))){color:${colorPaletteLightTealForeground2};background-color:${colorPaletteLightTealBackground2}}:host(:is([state--teal],:state(teal))){color:${colorPaletteTealForeground2};background-color:${colorPaletteTealBackground2}}:host(:is([state--steel],:state(steel))){color:${colorPaletteSteelForeground2};background-color:${colorPaletteSteelBackground2}}:host(:is([state--blue],:state(blue))){color:${colorPaletteBlueForeground2};background-color:${colorPaletteBlueBackground2}}:host(:is([state--royal-blue],:state(royal-blue))){color:${colorPaletteRoyalBlueForeground2};background-color:${colorPaletteRoyalBlueBackground2}}:host(:is([state--cornflower],:state(cornflower))){color:${colorPaletteCornflowerForeground2};background-color:${colorPaletteCornflowerBackground2}}:host(:is([state--navy],:state(navy))){color:${colorPaletteNavyForeground2};background-color:${colorPaletteNavyBackground2}}:host(:is([state--lavender],:state(lavender))){color:${colorPaletteLavenderForeground2};background-color:${colorPaletteLavenderBackground2}}:host(:is([state--purple],:state(purple))){color:${colorPalettePurpleForeground2};background-color:${colorPalettePurpleBackground2}}:host(:is([state--grape],:state(grape))){color:${colorPaletteGrapeForeground2};background-color:${colorPaletteGrapeBackground2}}:host(:is([state--lilac],:state(lilac))){color:${colorPaletteLilacForeground2};background-color:${colorPaletteLilacBackground2}}:host(:is([state--pink],:state(pink))){color:${colorPalettePinkForeground2};background-color:${colorPalettePinkBackground2}}:host(:is([state--magenta],:state(magenta))){color:${colorPaletteMagentaForeground2};background-color:${colorPaletteMagentaBackground2}}:host(:is([state--plum],:state(plum))){color:${colorPalettePlumForeground2};background-color:${colorPalettePlumBackground2}}:host(:is([state--beige],:state(beige))){color:${colorPaletteBeigeForeground2};background-color:${colorPaletteBeigeBackground2}}:host(:is([state--mink],:state(mink))){color:${colorPaletteMinkForeground2};background-color:${colorPaletteMinkBackground2}}:host(:is([state--platinum],:state(platinum))){color:${colorPalettePlatinumForeground2};background-color:${colorPalettePlatinumBackground2}}:host(:is([state--anchor],:state(anchor))){color:${colorPaletteAnchorForeground2};background-color:${colorPaletteAnchorBackground2}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${durationUltraSlow},${durationFaster};transition-delay:${animations.fastEase},${animations.nullEasing}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${durationUltraSlow}),${durationSlower};transition-delay:${animations.fastEase}),${animations.nullEasing})}:host([active])::before{box-shadow:${shadow8};border-style:solid;border-color:${colorBrandBackgroundStatic}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${strokeWidthThick});border-width:${strokeWidthThick}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${strokeWidthThicker});border-width:${strokeWidthThicker}}:host([size='72'][active]:not([appearance='shadow']))::before,:host([size='96'][active]:not([appearance='shadow']))::before,:host([size='120'][active]:not([appearance='shadow']))::before,:host([size='128'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${strokeWidthThickest});border-width:${strokeWidthThickest}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${shadow4}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${shadow16}}:host([size='72'][active][appearance])::before,:host([size='96'][active][appearance])::before,:host([size='120'][active][appearance])::before,:host([size='128'][active][appearance])::before{box-shadow:${shadow28}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${durationUltraSlow},${durationFaster};transition-delay:${animations.fastOutSlowInMin},${animations.nullEasing}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${durationUltraSlow},${durationSlower};transition-delay:${animations.fastOutSlowInMin},${animations.nullEasing}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`;
5457
+ ${display("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${fontFamilyBase};font-weight:${fontWeightSemibold};font-size:${fontSizeBase300};border-radius:${borderRadiusCircular};color:${colorNeutralForeground3};background-color:${colorNeutralBackground6};contain:layout style}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${borderRadiusCircular}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${strokeWidthThin}) ${colorNeutralBackground1}}:host([size='64']) ::slotted([slot='badge']),:host([size='72']) ::slotted([slot='badge']),:host([size='96']) ::slotted([slot='badge']),:host([size='120']) ::slotted([slot='badge']),:host([size='128']) ::slotted([slot='badge']){box-shadow:0 0 0 ${strokeWidthThick}) ${colorNeutralBackground1}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${fontSizeBase100};font-weight:${fontWeightRegular}}:host([size='16']){width:16px;height:16px}:host([size='20']){width:20px;height:20px}:host([size='24']){width:24px;height:24px}:host([size='16']) .default-icon,:host([size='16']) ::slotted(svg){width:12px;height:12px;font-size:12px}:host([size='20']) .default-icon,:host([size='24']) .default-icon,:host([size='20']) ::slotted(svg),:host([size='24']) ::slotted(svg){width:16px;height:16px;font-size:16px}:host([size='28']){width:28px;height:28px;font-size:${fontSizeBase200}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${fontSizeBase400}}:host([size='48']){width:48px;height:48px}:host([size='48']) .default-icon,:host([size='48']) ::slotted(svg){width:24px;height:24px;font-size:24px}:host([size='56']){width:56px;height:56px}:host([size='56']) .default-icon,:host([size='56']) ::slotted(svg){width:28px;height:28px;font-size:28px}:host([size='64']),:host([size='72']),:host([size='96']){font-size:${fontSizeBase500}}:host([size='64']) .default-icon,:host([size='72']) .default-icon,:host([size='64']) ::slotted(svg),:host([size='72']) ::slotted(svg){width:32px;height:32px;font-size:32px}:host([size='64']){width:64px;height:64px}:host([size='72']){width:72px;height:72px}:host([size='96']){width:96px;height:96px}:host([size='96']) .default-icon,:host([size='120']) .default-icon,:host([size='128']) .default-icon,:host([size='96']) ::slotted(svg),:host([size='120']) ::slotted(svg),:host([size='128']) ::slotted(svg){width:48px;height:48px;font-size:48px}:host([size='120']),:host([size='128']){font-size:${fontSizeBase600}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${borderRadiusMedium}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${borderRadiusSmall}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${borderRadiusLarge}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${borderRadiusXLarge}}:host(${brandState}){color:${colorNeutralForegroundStaticInverted};background-color:${colorBrandBackgroundStatic}}:host(${darkRedState}){color:${colorPaletteDarkRedForeground2};background-color:${colorPaletteDarkRedBackground2}}:host(${cranberryState}){color:${colorPaletteCranberryForeground2};background-color:${colorPaletteCranberryBackground2}}:host(${redState}){color:${colorPaletteRedForeground2};background-color:${colorPaletteRedBackground2}}:host(${pumpkinState}){color:${colorPalettePumpkinForeground2};background-color:${colorPalettePumpkinBackground2}}:host(${peachState}){color:${colorPalettePeachForeground2};background-color:${colorPalettePeachBackground2}}:host(${marigoldState}){color:${colorPaletteMarigoldForeground2};background-color:${colorPaletteMarigoldBackground2}}:host(${goldState}){color:${colorPaletteGoldForeground2};background-color:${colorPaletteGoldBackground2}}:host(${brassState}){color:${colorPaletteBrassForeground2};background-color:${colorPaletteBrassBackground2}}:host(${brownState}){color:${colorPaletteBrownForeground2};background-color:${colorPaletteBrownBackground2}}:host(${forestState}){color:${colorPaletteForestForeground2};background-color:${colorPaletteForestBackground2}}:host(${seafoamState}){color:${colorPaletteSeafoamForeground2};background-color:${colorPaletteSeafoamBackground2}}:host(${darkGreenState}){color:${colorPaletteDarkGreenForeground2};background-color:${colorPaletteDarkGreenBackground2}}:host(${lightTealState}){color:${colorPaletteLightTealForeground2};background-color:${colorPaletteLightTealBackground2}}:host(${tealState}){color:${colorPaletteTealForeground2};background-color:${colorPaletteTealBackground2}}:host(${steelState}){color:${colorPaletteSteelForeground2};background-color:${colorPaletteSteelBackground2}}:host(${blueState}){color:${colorPaletteBlueForeground2};background-color:${colorPaletteBlueBackground2}}:host(${royalBlueState}){color:${colorPaletteRoyalBlueForeground2};background-color:${colorPaletteRoyalBlueBackground2}}:host(${cornflowerState}){color:${colorPaletteCornflowerForeground2};background-color:${colorPaletteCornflowerBackground2}}:host(${navyState}){color:${colorPaletteNavyForeground2};background-color:${colorPaletteNavyBackground2}}:host(${lavenderState}){color:${colorPaletteLavenderForeground2};background-color:${colorPaletteLavenderBackground2}}:host(${purpleState}){color:${colorPalettePurpleForeground2};background-color:${colorPalettePurpleBackground2}}:host(${grapeState}){color:${colorPaletteGrapeForeground2};background-color:${colorPaletteGrapeBackground2}}:host(${lilacState}){color:${colorPaletteLilacForeground2};background-color:${colorPaletteLilacBackground2}}:host(${pinkState}){color:${colorPalettePinkForeground2};background-color:${colorPalettePinkBackground2}}:host(${magentaState}){color:${colorPaletteMagentaForeground2};background-color:${colorPaletteMagentaBackground2}}:host(${plumState}){color:${colorPalettePlumForeground2};background-color:${colorPalettePlumBackground2}}:host(${beigeState}){color:${colorPaletteBeigeForeground2};background-color:${colorPaletteBeigeBackground2}}:host(${minkState}){color:${colorPaletteMinkForeground2};background-color:${colorPaletteMinkBackground2}}:host(${platinumState}){color:${colorPalettePlatinumForeground2};background-color:${colorPalettePlatinumBackground2}}:host(${anchorState}){color:${colorPaletteAnchorForeground2};background-color:${colorPaletteAnchorBackground2}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${durationUltraSlow},${durationFaster};transition-delay:${animations.fastEase},${animations.nullEasing}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${durationUltraSlow}),${durationSlower};transition-delay:${animations.fastEase}),${animations.nullEasing})}:host([active])::before{box-shadow:${shadow8};border-style:solid;border-color:${colorBrandBackgroundStatic}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${strokeWidthThick});border-width:${strokeWidthThick}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${strokeWidthThicker});border-width:${strokeWidthThicker}}:host([size='72'][active]:not([appearance='shadow']))::before,:host([size='96'][active]:not([appearance='shadow']))::before,:host([size='120'][active]:not([appearance='shadow']))::before,:host([size='128'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${strokeWidthThickest});border-width:${strokeWidthThickest}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${shadow4}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${shadow16}}:host([size='72'][active][appearance])::before,:host([size='96'][active][appearance])::before,:host([size='120'][active][appearance])::before,:host([size='128'][active][appearance])::before{box-shadow:${shadow28}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${durationUltraSlow},${durationFaster};transition-delay:${animations.fastOutSlowInMin},${animations.nullEasing}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${durationUltraSlow},${durationSlower};transition-delay:${animations.fastOutSlowInMin},${animations.nullEasing}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`;
5386
5458
 
5387
5459
  const defaultIconTemplate = html`<svg width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="default-icon" fill="currentcolor" aria-hidden="true"><path d="M10 2a4 4 0 100 8 4 4 0 000-8zM7 6a3 3 0 116 0 3 3 0 01-6 0zm-2 5a2 2 0 00-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0010 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0017 13a2 2 0 00-2-2H5zm-1 2a1 1 0 011-1h10a1 1 0 011 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0110 17a8.16 8.16 0 01-4.33-1.05A3.36 3.36 0 014 13z"></path></svg>`;
5388
5460
  function avatarTemplate() {
@@ -6626,7 +6698,6 @@ __decorateClass$p([observable], Checkbox.prototype, "indeterminate", 2);
6626
6698
  __decorateClass$p([attr], Checkbox.prototype, "shape", 2);
6627
6699
  __decorateClass$p([attr], Checkbox.prototype, "size", 2);
6628
6700
 
6629
- const indeterminateState = css.partial`:is([state--indeterminate], :state(indeterminate))`;
6630
6701
  const styles$u = css`
6631
6702
  ${display("inline-flex")}
6632
6703
 
@@ -6809,7 +6880,6 @@ __decorateClass$o([attr({
6809
6880
  })], CounterBadge.prototype, "dot", 2);
6810
6881
  applyMixins(CounterBadge, StartEnd);
6811
6882
 
6812
- const dotState = css.partial`:is([state--dot], :state(dot))`;
6813
6883
  const styles$s = css`
6814
6884
  :host(${roundedState}){border-radius:${borderRadiusMedium}}:host(${roundedState}${tinyState}),:host(${roundedState}${extraSmallState}),:host(${roundedState}${smallState}){border-radius:${borderRadiusSmall}}${badgeSizeStyles}
6815
6885
  ${badgeFilledStyles}
@@ -7464,19 +7534,6 @@ __decorateClass$j([attr({
7464
7534
  attribute: "label-position"
7465
7535
  })], Field.prototype, "labelPosition", 2);
7466
7536
 
7467
- const focusVisibleState = css.partial`:is([state--focus-visible], :state(focus-visible))`;
7468
- const badInputState = css.partial`:is([state--${ValidationFlags.badInput}], :state(${ValidationFlags.badInput}))`;
7469
- const customErrorState = css.partial`:is([state--${ValidationFlags.customError}], :state(${ValidationFlags.customError}))`;
7470
- const patternMismatchState = css.partial`:is([state--${ValidationFlags.patternMismatch}], :state(${ValidationFlags.patternMismatch}))`;
7471
- const rangeOverflowState = css.partial`:is([state--${ValidationFlags.rangeOverflow}], :state(${ValidationFlags.rangeOverflow}))`;
7472
- const rangeUnderflowState = css.partial`:is([state--${ValidationFlags.rangeUnderflow}], :state(${ValidationFlags.rangeUnderflow}))`;
7473
- const stepMismatchState = css.partial`:is([state--${ValidationFlags.stepMismatch}], :state(${ValidationFlags.stepMismatch}))`;
7474
- const tooLongState = css.partial`:is([state--${ValidationFlags.tooLong}], :state(${ValidationFlags.tooLong}))`;
7475
- const tooShortState = css.partial`:is([state--${ValidationFlags.tooShort}], :state(${ValidationFlags.tooShort}))`;
7476
- const typeMismatchState = css.partial`:is([state--${ValidationFlags.typeMismatch}], :state(${ValidationFlags.typeMismatch}))`;
7477
- const validState = css.partial`:is([state-${ValidationFlags.valid}], :state(${ValidationFlags.valid}))`;
7478
- const valueMissingState = css.partial`:is([state--${ValidationFlags.valueMissing}], :state(${ValidationFlags.valueMissing}))`;
7479
- const hasMessageState = css.partial`:is([state--has-message], :state(has-message))`;
7480
7537
  const styles$m = css`
7481
7538
  ${display("inline-grid")}
7482
7539
 
@@ -7589,7 +7646,7 @@ __decorateClass$i([attr], Image.prototype, "shape", 2);
7589
7646
  const template$m = html`<slot></slot>`;
7590
7647
 
7591
7648
  const styles$l = css`
7592
- :host{contain:content}:host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host(:is([state--block],:state(block))) ::slotted(img){width:100%;height:auto}:host(:is([state--bordered],:state(bordered))) ::slotted(img){border:${strokeWidthThin} solid ${colorNeutralStroke2}}:host(:is([state--fit-none],:state(fit-none))) ::slotted(img){object-fit:none;object-position:top left;height:100%;width:100%}:host(:is([state--fit-center],:state(fit-center))) ::slotted(img){object-fit:none;object-position:center;height:100%;width:100%}:host(:is([state--fit-contain],:state(fit-contain))) ::slotted(img){object-fit:contain;object-position:center;height:100%;width:100%}:host(:is([state--fit-cover],:state(fit-cover))) ::slotted(img){object-fit:cover;object-position:center;height:100%;width:100%}:host(:is([state--shadowed],:state(shadowed))) ::slotted(img){box-shadow:${shadow4}}:host(${circularState}) ::slotted(img){border-radius:${borderRadiusCircular}}:host(${roundedState}) ::slotted(img){border-radius:${borderRadiusMedium}}`;
7649
+ :host{contain:content}:host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host(${blockState}) ::slotted(img){width:100%;height:auto}:host(${borderedState}) ::slotted(img){border:${strokeWidthThin} solid ${colorNeutralStroke2}}:host(${fitNoneState}) ::slotted(img){object-fit:none;object-position:top left;height:100%;width:100%}:host(${fitCenterState}) ::slotted(img){object-fit:none;object-position:center;height:100%;width:100%}:host(${fitContainState}) ::slotted(img){object-fit:contain;object-position:center;height:100%;width:100%}:host(${fitCoverState}) ::slotted(img){object-fit:cover;object-position:center;height:100%;width:100%}:host(${shadowState}) ::slotted(img){box-shadow:${shadow4}}:host(${circularState}) ::slotted(img){border-radius:${borderRadiusCircular}}:host(${roundedState}) ::slotted(img){border-radius:${borderRadiusMedium}}`;
7593
7650
 
7594
7651
  const definition$m = Image.compose({
7595
7652
  name: `${FluentDesignSystem.prefix}-image`,
@@ -7666,7 +7723,7 @@ __decorateClass$h([attr({
7666
7723
  const styles$k = css`
7667
7724
  ${display("inline-flex")}
7668
7725
 
7669
- :host{color:${colorNeutralForeground1};cursor:pointer;font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};line-height:${lineHeightBase300};user-select:none}.asterisk{color:${colorPaletteRedForeground1};margin-inline-start:${spacingHorizontalXS}}:host(${smallState}){font-size:${fontSizeBase200};line-height:${lineHeightBase200}}:host(${largeState}){font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host(${largeState}),:host(:is([state--semibold],:state(semibold))){font-weight:${fontWeightSemibold}}:host(:is([state--disabled],:state(disabled))),:host(:is([state--disabled],:state(disabled))) .asterisk{color:${colorNeutralForegroundDisabled}}`;
7726
+ :host{color:${colorNeutralForeground1};cursor:pointer;font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};line-height:${lineHeightBase300};user-select:none}.asterisk{color:${colorPaletteRedForeground1};margin-inline-start:${spacingHorizontalXS}}:host(${smallState}){font-size:${fontSizeBase200};line-height:${lineHeightBase200}}:host(${largeState}){font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host(:is(${largeState},${semiboldState})){font-weight:${fontWeightSemibold}}:host(${disabledState}),:host(${disabledState}) .asterisk{color:${colorNeutralForegroundDisabled}}`;
7670
7727
 
7671
7728
  function labelTemplate() {
7672
7729
  return html`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${x => !x.required}">*</span>`;
@@ -7724,7 +7781,7 @@ __decorateClass$g([attr({
7724
7781
  const styles$j = css`
7725
7782
  ${display("inline")}
7726
7783
 
7727
- :host{position:relative;box-sizing:border-box;background-color:transparent;color:${colorBrandForegroundLink};cursor:pointer;font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};overflow:inherit;text-align:start;text-decoration:none;text-decoration-thinkness:${strokeWidthThin};text-overflow:inherit;user-select:text}:host(:is(:hover,:focus-visible)){outline:none;text-decoration-line:underline}@media (hover:hover){:host(:hover){color:${colorBrandForegroundLinkHover}}:host(:active){color:${colorBrandForegroundLinkPressed}}:host(${subtleState}:hover){color:${colorNeutralForeground2LinkHover}}:host(${subtleState}:active){color:${colorNeutralForeground2LinkPressed}}}:host(${subtleState}){color:${colorNeutralForeground2Link}}:host-context(:is(h1,h2,h3,h4,h5,h6,p,fluent-text)),:host(:is([state--inline],:state(inline))){font:inherit;text-decoration:underline}:host(:not([href])){color:inherit;text-decoration:none}::slotted(a){position:absolute;inset:0}`.withBehaviors(forcedColorsStylesheetBehavior(css`
7784
+ :host{position:relative;box-sizing:border-box;background-color:transparent;color:${colorBrandForegroundLink};cursor:pointer;font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};overflow:inherit;text-align:start;text-decoration:none;text-decoration-thickness:${strokeWidthThin};text-overflow:inherit;user-select:text}:host(:is(:hover,:focus-visible)){outline:none;text-decoration-line:underline}@media (hover:hover){:host(:hover){color:${colorBrandForegroundLinkHover}}:host(:active){color:${colorBrandForegroundLinkPressed}}:host(${subtleState}:hover){color:${colorNeutralForeground2LinkHover}}:host(${subtleState}:active){color:${colorNeutralForeground2LinkPressed}}}:host(${subtleState}){color:${colorNeutralForeground2Link}}:host-context(:is(h1,h2,h3,h4,h5,h6,p,fluent-text)),:host(${inlineState}){font:inherit;text-decoration:underline}:host(:not([href])){color:inherit;text-decoration:none}::slotted(a){position:absolute;inset:0}`.withBehaviors(forcedColorsStylesheetBehavior(css`
7728
7785
  :host{color:LinkText}`));
7729
7786
 
7730
7787
  function anchorTemplate() {
@@ -7988,7 +8045,6 @@ __decorateClass$f([observable], MenuItem.prototype, "slottedSubmenu", 2);
7988
8045
  __decorateClass$f([observable], MenuItem.prototype, "submenu", 2);
7989
8046
  applyMixins(MenuItem, StartEnd);
7990
8047
 
7991
- const submenuState = css.partial`:is([state--submenu], :state(submenu))`;
7992
8048
  const styles$i = css`
7993
8049
  ${display("grid")}
7994
8050
 
@@ -12083,7 +12139,7 @@ applyMixins(TextInput, StartEnd);
12083
12139
  const styles$2 = css`
12084
12140
  ${display("block")}
12085
12141
 
12086
- :host{font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};line-height:${lineHeightBase300};max-width:400px}.label{display:flex;color:${colorNeutralForeground1};padding-bottom:${spacingVerticalXS};flex-shrink:0;padding-inline-end:${spacingHorizontalXS}}.label[hidden],:host(:empty) .label{display:none}.root{align-items:center;background-color:${colorNeutralBackground1};border:${strokeWidthThin} solid ${colorNeutralStroke1};border-bottom-color:${colorNeutralStrokeAccessible};border-radius:${borderRadiusMedium};box-sizing:border-box;height:32px;display:inline-flex;flex-direction:row;gap:${spacingHorizontalXXS};padding:0 ${spacingHorizontalMNudge};position:relative;width:100%}:has(.control:user-invalid){border-color:${colorPaletteRedBorder2}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${borderRadiusMedium});border-radius:0 0 ${borderRadiusMedium} ${borderRadiusMedium};border-bottom:2px solid ${colorCompoundBrandStroke};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${durationUltraFast};transition-delay:${curveAccelerateMid}}.control{width:100%;height:100%;box-sizing:border-box;color:${colorNeutralForeground1};border-radius:${borderRadiusMedium};background:${colorTransparentBackground};font-family:${fontFamilyBase};font-weight:${fontWeightRegular};font-size:${fontSizeBase300};border:none;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${colorNeutralForeground4}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${colorNeutralForeground3};font-size:${fontSizeBase500}}:host ::slotted([slot='start']){padding-right:${spacingHorizontalXXS}}:host ::slotted([slot='end']){padding-left:${spacingHorizontalXXS};gap:${spacingHorizontalXS}}:host(:hover) .root{border-color:${colorNeutralStroke1Hover};border-bottom-color:${colorNeutralStrokeAccessibleHover}}:host(:active) .root{border-color:${colorNeutralStroke1Pressed}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${durationNormal};transition-delay:${curveDecelerateMid}}:host(:focus-within:active) .root:after{border-bottom-color:${colorCompoundBrandStrokePressed}}:host(${outlineState}:focus-within) .root{border:${strokeWidthThin} solid ${colorNeutralStroke1}}:host(:focus-within) .control{color:${colorNeutralForeground1}}:host([disabled]) .root{background:${colorTransparentBackground};border:${strokeWidthThin} solid ${colorNeutralStrokeDisabled}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${colorNeutralForegroundDisabled}}::selection{color:${colorNeutralForegroundInverted};background-color:${colorNeutralBackgroundInverted}}:host(${smallState}) .control{font-size:${fontSizeBase200};font-weight:${fontWeightRegular};line-height:${lineHeightBase200}}:host(${smallState}) .root{height:24px;gap:${spacingHorizontalXXS};padding:0 ${spacingHorizontalSNudge}}:host(${smallState}) ::slotted([slot='start']),:host(${smallState}) ::slotted([slot='end']){font-size:${fontSizeBase400}}:host(${largeState}) .control{font-size:${fontSizeBase400};font-weight:${fontWeightRegular};line-height:${lineHeightBase400}}:host(${largeState}) .root{height:40px;gap:${spacingHorizontalS};padding:0 ${spacingHorizontalM}}:host(${largeState}) ::slotted([slot='start']),:host(${largeState}) ::slotted([slot='end']){font-size:${fontSizeBase600}}:host(${underlineState$1}) .root{background:${colorTransparentBackground};border:0;border-radius:0;border-bottom:${strokeWidthThin} solid ${colorNeutralStrokeAccessible}}:host(${underlineState$1}:hover) .root{border-bottom-color:${colorNeutralStrokeAccessibleHover}}:host(${underlineState$1}:active) .root{border-bottom-color:${colorNeutralStrokeAccessiblePressed}}:host(${underlineState$1}:focus-within) .root{border:0;border-bottom-color:${colorNeutralStrokeAccessiblePressed}}:host(${underlineState$1}[disabled]) .root{border-bottom-color:${colorNeutralStrokeDisabled}}:host(${filledLighterState}) .root,:host(${filledDarkerState}) .root{border:${strokeWidthThin} solid ${colorTransparentStroke};box-shadow:${shadow2}}:host(${filledLighterState}) .root{background:${colorNeutralBackground1}}:host(${filledDarkerState}) .root{background:${colorNeutralBackground3}}:host(${filledLighterState}:hover) .root,:host(${filledDarkerState}:hover) .root{border-color:${colorTransparentStrokeInteractive}}:host(${filledLighterState}:active) .root,:host(${filledDarkerState}:active) .root{border-color:${colorTransparentStrokeInteractive};background:${colorNeutralBackground3}}`;
12142
+ :host{font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};line-height:${lineHeightBase300};max-width:400px}.label{display:flex;color:${colorNeutralForeground1};padding-bottom:${spacingVerticalXS};flex-shrink:0;padding-inline-end:${spacingHorizontalXS}}.label[hidden],:host(:empty) .label{display:none}.root{align-items:center;background-color:${colorNeutralBackground1};border:${strokeWidthThin} solid ${colorNeutralStroke1};border-bottom-color:${colorNeutralStrokeAccessible};border-radius:${borderRadiusMedium};box-sizing:border-box;height:32px;display:inline-flex;flex-direction:row;gap:${spacingHorizontalXXS};padding:0 ${spacingHorizontalMNudge};position:relative;width:100%}:has(.control:user-invalid){border-color:${colorPaletteRedBorder2}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${borderRadiusMedium});border-radius:0 0 ${borderRadiusMedium} ${borderRadiusMedium};border-bottom:2px solid ${colorCompoundBrandStroke};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${durationUltraFast};transition-delay:${curveAccelerateMid}}.control{width:100%;height:100%;box-sizing:border-box;color:${colorNeutralForeground1};border-radius:${borderRadiusMedium};background:${colorTransparentBackground};font-family:${fontFamilyBase};font-weight:${fontWeightRegular};font-size:${fontSizeBase300};border:none;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${colorNeutralForeground4}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${colorNeutralForeground3};font-size:${fontSizeBase500}}:host ::slotted([slot='start']){padding-right:${spacingHorizontalXXS}}:host ::slotted([slot='end']){padding-left:${spacingHorizontalXXS};gap:${spacingHorizontalXS}}:host(:hover) .root{border-color:${colorNeutralStroke1Hover};border-bottom-color:${colorNeutralStrokeAccessibleHover}}:host(:active) .root{border-color:${colorNeutralStroke1Pressed}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${durationNormal};transition-delay:${curveDecelerateMid}}:host(:focus-within:active) .root:after{border-bottom-color:${colorCompoundBrandStrokePressed}}:host(${outlineState}:focus-within) .root{border:${strokeWidthThin} solid ${colorNeutralStroke1}}:host(:focus-within) .control{color:${colorNeutralForeground1}}:host([disabled]) .root{background:${colorTransparentBackground};border:${strokeWidthThin} solid ${colorNeutralStrokeDisabled}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${colorNeutralForegroundDisabled}}::selection{color:${colorNeutralForegroundInverted};background-color:${colorNeutralBackgroundInverted}}:host(${smallState}) .control{font-size:${fontSizeBase200};font-weight:${fontWeightRegular};line-height:${lineHeightBase200}}:host(${smallState}) .root{height:24px;gap:${spacingHorizontalXXS};padding:0 ${spacingHorizontalSNudge}}:host(${smallState}) ::slotted([slot='start']),:host(${smallState}) ::slotted([slot='end']){font-size:${fontSizeBase400}}:host(${largeState}) .control{font-size:${fontSizeBase400};font-weight:${fontWeightRegular};line-height:${lineHeightBase400}}:host(${largeState}) .root{height:40px;gap:${spacingHorizontalS};padding:0 ${spacingHorizontalM}}:host(${largeState}) ::slotted([slot='start']),:host(${largeState}) ::slotted([slot='end']){font-size:${fontSizeBase600}}:host(${underlineState}) .root{background:${colorTransparentBackground};border:0;border-radius:0;border-bottom:${strokeWidthThin} solid ${colorNeutralStrokeAccessible}}:host(${underlineState}:hover) .root{border-bottom-color:${colorNeutralStrokeAccessibleHover}}:host(${underlineState}:active) .root{border-bottom-color:${colorNeutralStrokeAccessiblePressed}}:host(${underlineState}:focus-within) .root{border:0;border-bottom-color:${colorNeutralStrokeAccessiblePressed}}:host(${underlineState}[disabled]) .root{border-bottom-color:${colorNeutralStrokeDisabled}}:host(${filledLighterState}) .root,:host(${filledDarkerState}) .root{border:${strokeWidthThin} solid ${colorTransparentStroke};box-shadow:${shadow2}}:host(${filledLighterState}) .root{background:${colorNeutralBackground1}}:host(${filledDarkerState}) .root{background:${colorNeutralBackground3}}:host(${filledLighterState}:hover) .root,:host(${filledDarkerState}:hover) .root{border-color:${colorTransparentStrokeInteractive}}:host(${filledLighterState}:active) .root,:host(${filledDarkerState}:active) .root{border-color:${colorTransparentStrokeInteractive};background:${colorNeutralBackground3}}`;
12087
12143
 
12088
12144
  function textInputTemplate(options = {}) {
12089
12145
  return html`<template @beforeinput="${(x, c) => x.beforeinputHandler(c.event)}" @focusin="${(x, c) => x.focusinHandler(c.event)}" @keydown="${(x, c) => x.keydownHandler(c.event)}"><label part="label" for="control" class="label" ${ref("controlLabel")}><slot ${slotted({
@@ -12233,14 +12289,10 @@ __decorateClass$1([attr], Text.prototype, "font", 2);
12233
12289
  __decorateClass$1([attr], Text.prototype, "weight", 2);
12234
12290
  __decorateClass$1([attr], Text.prototype, "align", 2);
12235
12291
 
12236
- const nowrapState = css.partial`:is([state--nowrap], :state(nowrap))`;
12237
- const truncateState = css.partial`:is([state--truncate], :state(truncate))`;
12238
- const underlineState = css.partial`:is([state--underline], :state(underline))`;
12239
- const strikethroughState = css.partial`:is([state--strikethrough], :state(strikethrough))`;
12240
12292
  const styles$1 = css`
12241
12293
  ${display("inline")}
12242
12294
 
12243
- :host{contain:content;font-family:${fontFamilyBase};font-size:${fontSizeBase300};line-height:${lineHeightBase300};font-weight:${fontWeightRegular};text-align:start}:host(${nowrapState}),:host(${nowrapState}) ::slotted(*){white-space:nowrap;overflow:hidden}:host(${truncateState}),:host(${truncateState}) ::slotted(*){text-overflow:ellipsis}:host(:is([state--block],:state(block))){display:block}:host(:is([state--italic],:state(italic))){font-style:italic}:host(${underlineState}){text-decoration-line:underline}:host(${strikethroughState}){text-decoration-line:line-through}:host(${underlineState}${strikethroughState}){text-decoration-line:line-through underline}:host(:is([state--size-100],:state(size-100))){font-size:${fontSizeBase100};line-height:${lineHeightBase100}}:host(:is([state--size-200],:state(size-200))){font-size:${fontSizeBase200};line-height:${lineHeightBase200}}:host(:is([state--size-400],:state(size-400))){font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host(:is([state--size-500],:state(size-500))){font-size:${fontSizeBase500};line-height:${lineHeightBase500}}:host(:is([state--size-600],:state(size-600))){font-size:${fontSizeBase600};line-height:${lineHeightBase600}}:host(:is([state--size-700],:state(size-700))){font-size:${fontSizeHero700};line-height:${lineHeightHero700}}:host(:is([state--size-800],:state(size-800))){font-size:${fontSizeHero800};line-height:${lineHeightHero800}}:host(:is([state--size-900],:state(size-900))){font-size:${fontSizeHero900};line-height:${lineHeightHero900}}:host(:is([state--size-1000],:state(size-1000))){font-size:${fontSizeHero1000};line-height:${lineHeightHero1000}}:host(:is([state--monospace],:state(monospace))){font-family:${fontFamilyMonospace}}:host(:is([state--numeric],:state(numeric))){font-family:${fontFamilyNumeric}}:host(:is([state--medium],:state(medium))){font-weight:${fontWeightMedium}}:host(:is([state--semibold],:state(semibold))){font-weight:${fontWeightSemibold}}:host(:is([state--bold],:state(bold))){font-weight:${fontWeightBold}}: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(*){font:inherit;line-height:inherit;text-decoration-line:inherit;text-align:inherit;text-decoration-line:inherit;margin:0}`;
12295
+ :host{contain:content;font-family:${fontFamilyBase};font-size:${fontSizeBase300};line-height:${lineHeightBase300};font-weight:${fontWeightRegular};text-align:start}:host(${nowrapState}),:host(${nowrapState}) ::slotted(*){white-space:nowrap;overflow:hidden}:host(${truncateState}),:host(${truncateState}) ::slotted(*){text-overflow:ellipsis}:host(${blockState}){display:block}:host(${italicState}){font-style:italic}:host(${underlineState}){text-decoration-line:underline}:host(${strikethroughState}){text-decoration-line:line-through}:host(${underlineState}${strikethroughState}){text-decoration-line:line-through underline}:host(${size100State}){font-size:${fontSizeBase100};line-height:${lineHeightBase100}}:host(${size200State}){font-size:${fontSizeBase200};line-height:${lineHeightBase200}}:host(${size400State}){font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host(${size500State}){font-size:${fontSizeBase500};line-height:${lineHeightBase500}}:host(${size600State}){font-size:${fontSizeBase600};line-height:${lineHeightBase600}}:host(${size700State}){font-size:${fontSizeHero700};line-height:${lineHeightHero700}}:host(${size800State}){font-size:${fontSizeHero800};line-height:${lineHeightHero800}}:host(${size900State}){font-size:${fontSizeHero900};line-height:${lineHeightHero900}}:host(${size1000State}){font-size:${fontSizeHero1000};line-height:${lineHeightHero1000}}:host(${monospaceState}){font-family:${fontFamilyMonospace}}:host(${numericState}){font-family:${fontFamilyNumeric}}:host(${mediumState}){font-weight:${fontWeightMedium}}:host(${semiboldState}){font-weight:${fontWeightSemibold}}:host(${boldState}){font-weight:${fontWeightBold}}:host(${centerState}){text-align:center}:host(${endState}){text-align:end}:host(${justifyState}){text-align:justify}::slotted(*){font:inherit;line-height:inherit;text-decoration-line:inherit;text-align:inherit;text-decoration-line:inherit;margin:0}`;
12244
12296
 
12245
12297
  const template$1 = html`<slot></slot>`;
12246
12298