@fluentui/web-components 3.0.0-beta.68 → 3.0.0-beta.69

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,22 @@
1
1
  # Change Log - @fluentui/web-components
2
2
 
3
- This log was last generated on Mon, 07 Oct 2024 04:08:22 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 15 Oct 2024 04:07:37 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [3.0.0-beta.69](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.69)
8
+
9
+ Tue, 15 Oct 2024 04:07:37 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.68..@fluentui/web-components_v3.0.0-beta.69)
11
+
12
+ ### Changes
13
+
14
+ - Fix: menu-item emit current state when checked change event fires ([PR #33029](https://github.com/microsoft/fluentui/pull/33029) by jes@microsoft.com)
15
+ - fix prefers-reduced-motion media query in button ([PR #33034](https://github.com/microsoft/fluentui/pull/33034) by 863023+radium-v@users.noreply.github.com)
16
+
7
17
  ## [3.0.0-beta.68](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.68)
8
18
 
9
- Mon, 07 Oct 2024 04:08:22 GMT
19
+ Mon, 07 Oct 2024 04:08:32 GMT
10
20
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.67..@fluentui/web-components_v3.0.0-beta.68)
11
21
 
12
22
  ### Changes
@@ -62,7 +62,9 @@ export const baseButtonStyles = css `
62
62
  }
63
63
 
64
64
  @media screen and (prefers-reduced-motion: reduce) {
65
- transition-duration: 0.01ms;
65
+ :host {
66
+ transition-duration: 0.01ms;
67
+ }
66
68
  }
67
69
 
68
70
  ::slotted(svg) {
@@ -1 +1 @@
1
- {"version":3,"file":"button.styles.js","sourceRoot":"","sources":["../../../src/button/button.styles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;;;;;;;GAWrB,CAAC,CACH,CAAC"}
@@ -214,7 +214,7 @@ export class MenuItem extends FASTElement {
214
214
  this.elementInternals.ariaChecked = checkableMenuItem ? `${!!next}` : null;
215
215
  toggleState(this.elementInternals, 'checked', checkableMenuItem ? next : false);
216
216
  if (this.$fastController.isConnected) {
217
- this.$emit('change');
217
+ this.$emit('change', next, { bubbles: true });
218
218
  }
219
219
  }
220
220
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"menu-item.js","sourceRoot":"","sources":["../../../src/menu-item/menu-item.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAkB,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACxF,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAGhG,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAIvE,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAWzC;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,GAAmB,EAAE,CAAC,KAAK,CAAC,EAAE,CACtD,KAAK,CAAC,QAAQ,KAAK,CAAC,IAAK,KAAkB,CAAC,gBAAgB,CAAC,IAAI,KAAK,MAAM,CAAC;AAE/E;;;;;;;;;;;;;;GAcG;AACH,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE;;;;WAIG;QACI,qBAAgB,GAAqB,IAAI,CAAC,eAAe,EAAE,CAAC;QAsBnE;;;;;;WAMG;QAEI,SAAI,GAAiB,YAAY,CAAC,QAAQ,CAAC;QAWlD;;;;;;WAMG;QAEI,YAAO,GAAY,KAAK,CAAC;QAoEhC;;WA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AAQ,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;YAC5D,IAAI,CAAC,gBAAgB,CAAC,YAAY,GAAG,MAAM,CAAC;YAC5C,WAAW,CAAC,IAAI,CAAC,gBAAgB,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC;SACrD;aAAM;YACL,IAAI,CAAC,gBAAgB,CAAC,YAAY,GAAG,IAAI,CAAC;YAC1C,WAAW,CAAC,IAAI,CAAC,gBAAgB,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;SACtD;IACH,CAAC;IAQM,iBAAiB;;QACtB,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAE1B,IAAI,CAAC,gBAAgB,CAAC,IAAI,GAAG,MAAA,IAAI,CAAC,IAAI,mCAAI,YAAY,CAAC,QAAQ,CAAC;QAChE,IAAI,CAAC,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,IAAI,KAAK,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IACvG,CAAC;CA2JF;AApQQ;IADN,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;0CACA;AAoBnB;IADN,IAAI;sCAC6C;AAmB3C;IADN,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;yCACM;AAyBzB;IADN,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;wCACF;AAQjB;IADN,UAAU;gDAC2B;AA0B/B;IADN,UAAU;yCAC6B;AA4K1C,WAAW,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC"}
@@ -5168,7 +5168,7 @@ applyMixins(AnchorButton, StartEnd);
5168
5168
  const baseButtonStyles = css`
5169
5169
  ${display("inline-flex")}
5170
5170
 
5171
- :host{--icon-spacing:${spacingHorizontalSNudge};position:relative;contain:layout style;vertical-align:middle;align-items:center;box-sizing:border-box;justify-content:center;text-align:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${colorNeutralBackground1};color:${colorNeutralForeground1};border:${strokeWidthThin} solid ${colorNeutralStroke1};padding:0 ${spacingHorizontalM};min-width:96px;border-radius:${borderRadiusMedium};font-size:${fontSizeBase300};font-family:${fontFamilyBase};font-weight:${fontWeightSemibold};line-height:${lineHeightBase300};transition-duration:${durationFaster};transition-property:background,border,color;transition-timing-function:${curveEasyEase};cursor:pointer;user-select:none}.content{display:inherit}:host(:hover){background-color:${colorNeutralBackground1Hover};color:${colorNeutralForeground1Hover};border-color:${colorNeutralStroke1Hover}}:host(:hover:active){background-color:${colorNeutralBackground1Pressed};border-color:${colorNeutralStroke1Pressed};color:${colorNeutralForeground1Pressed};outline-style:none}:host(:focus-visible){border-color:${colorTransparentStroke};outline:${strokeWidthThick} solid ${colorTransparentStroke};box-shadow:${shadow4},0 0 0 2px ${colorStrokeFocus2}}@media screen and (prefers-reduced-motion:reduce){transition-duration:0.01ms}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}:is([slot='start'],::slotted([slot='start'])){margin-inline-end:var(--icon-spacing)}:is([slot='end'],::slotted([slot='end'])){flex-shrink:0}:host(:not(${iconOnlyState})) :is([slot='end'],:host(:not(${iconOnlyState}))::slotted([slot='end'])){margin-inline-start:var(--icon-spacing)}:host(${iconOnlyState}){min-width:32px;max-width:32px}:host(${smallState}){--icon-spacing:${spacingHorizontalXS};min-height:24px;min-width:64px;padding:0 ${spacingHorizontalS};border-radius:${borderRadiusSmall};font-size:${fontSizeBase200};line-height:${lineHeightBase200};font-weight:${fontWeightRegular}}:host(${smallState}${iconOnlyState}){min-width:24px;max-width:24px}:host(${largeState}){min-height:40px;border-radius:${borderRadiusLarge};padding:0 ${spacingHorizontalL};font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host(${largeState}${iconOnlyState}){min-width:40px;max-width:40px}:host(${largeState}) ::slotted(svg){font-size:24px;height:24px;width:24px}:host(:is(${circularState},${circularState}:focus-visible)){border-radius:${borderRadiusCircular}}:host(:is(${squareState},${squareState}:focus-visible)){border-radius:${borderRadiusNone}}:host(${primaryState}){background-color:${colorBrandBackground};color:${colorNeutralForegroundOnBrand};border-color:transparent}:host(${primaryState}:hover){background-color:${colorBrandBackgroundHover}}:host(${primaryState}:is(:hover,:hover:active)){border-color:transparent;color:${colorNeutralForegroundOnBrand}}:host(${primaryState}:hover:active){background-color:${colorBrandBackgroundPressed}}:host(${primaryState}:focus-visible){border-color:${colorNeutralForegroundOnBrand};box-shadow:${shadow2},0 0 0 2px ${colorStrokeFocus2}}:host(${outlineState}){background-color:${colorTransparentBackground}}:host(${outlineState}:hover){background-color:${colorTransparentBackgroundHover}}:host(${outlineState}:hover:active){background-color:${colorTransparentBackgroundPressed}}:host(${subtleState}){background-color:${colorSubtleBackground};color:${colorNeutralForeground2};border-color:transparent}:host(${subtleState}:hover){background-color:${colorSubtleBackgroundHover};color:${colorNeutralForeground2Hover};border-color:transparent}:host(${subtleState}:hover:active){background-color:${colorSubtleBackgroundPressed};color:${colorNeutralForeground2Pressed};border-color:transparent}:host(${subtleState}:hover) ::slotted(svg){fill:${colorNeutralForeground2BrandHover}}:host(${subtleState}:hover:active) ::slotted(svg){fill:${colorNeutralForeground2BrandPressed}}:host(${transparentState}){background-color:${colorTransparentBackground};color:${colorNeutralForeground2}}:host(${transparentState}:hover){background-color:${colorTransparentBackgroundHover};color:${colorNeutralForeground2BrandHover}}:host(${transparentState}:hover:active){background-color:${colorTransparentBackgroundPressed};color:${colorNeutralForeground2BrandPressed}}:host(:is(${transparentState},${transparentState}:is(:hover,:active))){border-color:transparent}`;
5171
+ :host{--icon-spacing:${spacingHorizontalSNudge};position:relative;contain:layout style;vertical-align:middle;align-items:center;box-sizing:border-box;justify-content:center;text-align:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${colorNeutralBackground1};color:${colorNeutralForeground1};border:${strokeWidthThin} solid ${colorNeutralStroke1};padding:0 ${spacingHorizontalM};min-width:96px;border-radius:${borderRadiusMedium};font-size:${fontSizeBase300};font-family:${fontFamilyBase};font-weight:${fontWeightSemibold};line-height:${lineHeightBase300};transition-duration:${durationFaster};transition-property:background,border,color;transition-timing-function:${curveEasyEase};cursor:pointer;user-select:none}.content{display:inherit}:host(:hover){background-color:${colorNeutralBackground1Hover};color:${colorNeutralForeground1Hover};border-color:${colorNeutralStroke1Hover}}:host(:hover:active){background-color:${colorNeutralBackground1Pressed};border-color:${colorNeutralStroke1Pressed};color:${colorNeutralForeground1Pressed};outline-style:none}:host(:focus-visible){border-color:${colorTransparentStroke};outline:${strokeWidthThick} solid ${colorTransparentStroke};box-shadow:${shadow4},0 0 0 2px ${colorStrokeFocus2}}@media screen and (prefers-reduced-motion:reduce){:host{transition-duration:0.01ms}}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}:is([slot='start'],::slotted([slot='start'])){margin-inline-end:var(--icon-spacing)}:is([slot='end'],::slotted([slot='end'])){flex-shrink:0}:host(:not(${iconOnlyState})) :is([slot='end'],:host(:not(${iconOnlyState}))::slotted([slot='end'])){margin-inline-start:var(--icon-spacing)}:host(${iconOnlyState}){min-width:32px;max-width:32px}:host(${smallState}){--icon-spacing:${spacingHorizontalXS};min-height:24px;min-width:64px;padding:0 ${spacingHorizontalS};border-radius:${borderRadiusSmall};font-size:${fontSizeBase200};line-height:${lineHeightBase200};font-weight:${fontWeightRegular}}:host(${smallState}${iconOnlyState}){min-width:24px;max-width:24px}:host(${largeState}){min-height:40px;border-radius:${borderRadiusLarge};padding:0 ${spacingHorizontalL};font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host(${largeState}${iconOnlyState}){min-width:40px;max-width:40px}:host(${largeState}) ::slotted(svg){font-size:24px;height:24px;width:24px}:host(:is(${circularState},${circularState}:focus-visible)){border-radius:${borderRadiusCircular}}:host(:is(${squareState},${squareState}:focus-visible)){border-radius:${borderRadiusNone}}:host(${primaryState}){background-color:${colorBrandBackground};color:${colorNeutralForegroundOnBrand};border-color:transparent}:host(${primaryState}:hover){background-color:${colorBrandBackgroundHover}}:host(${primaryState}:is(:hover,:hover:active)){border-color:transparent;color:${colorNeutralForegroundOnBrand}}:host(${primaryState}:hover:active){background-color:${colorBrandBackgroundPressed}}:host(${primaryState}:focus-visible){border-color:${colorNeutralForegroundOnBrand};box-shadow:${shadow2},0 0 0 2px ${colorStrokeFocus2}}:host(${outlineState}){background-color:${colorTransparentBackground}}:host(${outlineState}:hover){background-color:${colorTransparentBackgroundHover}}:host(${outlineState}:hover:active){background-color:${colorTransparentBackgroundPressed}}:host(${subtleState}){background-color:${colorSubtleBackground};color:${colorNeutralForeground2};border-color:transparent}:host(${subtleState}:hover){background-color:${colorSubtleBackgroundHover};color:${colorNeutralForeground2Hover};border-color:transparent}:host(${subtleState}:hover:active){background-color:${colorSubtleBackgroundPressed};color:${colorNeutralForeground2Pressed};border-color:transparent}:host(${subtleState}:hover) ::slotted(svg){fill:${colorNeutralForeground2BrandHover}}:host(${subtleState}:hover:active) ::slotted(svg){fill:${colorNeutralForeground2BrandPressed}}:host(${transparentState}){background-color:${colorTransparentBackground};color:${colorNeutralForeground2}}:host(${transparentState}:hover){background-color:${colorTransparentBackgroundHover};color:${colorNeutralForeground2BrandHover}}:host(${transparentState}:hover:active){background-color:${colorTransparentBackgroundPressed};color:${colorNeutralForeground2BrandPressed}}:host(:is(${transparentState},${transparentState}:is(:hover,:active))){border-color:transparent}`;
5172
5172
  const styles$y = css`
5173
5173
  ${baseButtonStyles}
5174
5174
 
@@ -7945,7 +7945,9 @@ class MenuItem extends FASTElement {
7945
7945
  this.elementInternals.ariaChecked = checkableMenuItem ? `${!!next}` : null;
7946
7946
  toggleState(this.elementInternals, "checked", checkableMenuItem ? next : false);
7947
7947
  if (this.$fastController.isConnected) {
7948
- this.$emit("change");
7948
+ this.$emit("change", next, {
7949
+ bubbles: true
7950
+ });
7949
7951
  }
7950
7952
  }
7951
7953
  /**
@@ -33,7 +33,7 @@ const g=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElem
33
33
  :host{flex-direction:column;width:100%;contain:content}`;function wd(){return f`<template><slot ${ot({property:"slottedAccordionItems",filter:_e()})}></slot></template>`}const Cd=wd(),Id=Mi.compose({name:`${g.prefix}-accordion`,template:Cd,styles:xd});Id.define(g.registry);const zs={submit:"submit",reset:"reset",button:"button"},Sd={download:"download",href:"href",hreflang:"hreflang",ping:"ping",referrerpolicy:"referrerpolicy",rel:"rel",target:"target",type:"type"};var zd=Object.defineProperty,Td=Object.getOwnPropertyDescriptor,Ct=(o,t,e,s)=>{for(var i=s>1?void 0:s?Td(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&&zd(t,e,i),i};class Rt extends w{constructor(){super(),this.isMac=navigator.userAgent.includes("Mac"),this.elementInternals=this.attachInternals(),this.internalProxyAnchor=this.createProxyElement(),this.elementInternals.role="link"}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this),Object.keys(this.$fastController.definition.attributeLookup).forEach(t=>{this.handleChange(this,t)}),this.append(this.internalProxyAnchor)}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this)}handleChange(t,e){if(e in Sd){const s=this.$fastController.definition.attributeLookup[e]?.attribute;s&&this.handleProxyAttributeChange(s,this[e])}}clickHandler(t){if(this.href){const e=this.isMac?t.metaKey:t.ctrlKey;this.handleNavigation(e)}return!0}keydownHandler(t){if(this.href&&t.key===ss){const e=this.isMac&&t.metaKey||t.ctrlKey;this.handleNavigation(e);return}return!0}handleNavigation(t){t?window.open(this.href,"_blank"):this.internalProxyAnchor.click()}handleProxyAttributeChange(t,e){e?this.internalProxyAnchor.setAttribute(t,e):this.internalProxyAnchor.removeAttribute(t)}createProxyElement(){const t=this.internalProxyAnchor??document.createElement("a");return t.ariaHidden="true",t.tabIndex=-1,t}}Ct([a],Rt.prototype,"download",2),Ct([a],Rt.prototype,"href",2),Ct([a],Rt.prototype,"hreflang",2),Ct([a],Rt.prototype,"ping",2),Ct([a],Rt.prototype,"referrerpolicy",2),Ct([a],Rt.prototype,"rel",2),Ct([a],Rt.prototype,"target",2),Ct([a],Rt.prototype,"type",2);class Qe extends Rt{constructor(){super(...arguments),this.iconOnly=!1}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}shapeChanged(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)}iconOnlyChanged(t,e){c(this.elementInternals,"icon",!!e)}}Ct([a],Qe.prototype,"appearance",2),Ct([a],Qe.prototype,"shape",2),Ct([a],Qe.prototype,"size",2),Ct([a({attribute:"icon-only",mode:"boolean"})],Qe.prototype,"iconOnly",2),Xt(Qe,Gt);const qn=l`
34
34
  ${S("inline-flex")}
35
35
 
36
- :host{--icon-spacing:${xt};position:relative;contain:layout style;vertical-align:middle;align-items:center;box-sizing:border-box;justify-content:center;text-align:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${O};color:${A};border:${H} solid ${ee};padding:0 ${ft};min-width:96px;border-radius:${P};font-size:${E};font-family:${$};font-weight:${L};line-height:${D};transition-duration:${Pi};transition-property:background,border,color;transition-timing-function:${Ss};cursor:pointer;user-select:none}.content{display:inherit}:host(:hover){background-color:${fi};color:${gi};border-color:${vo}}:host(:hover:active){background-color:${mi};border-color:${$s};color:${gl};outline-style:none}:host(:focus-visible){border-color:${pt};outline:${Bt} solid ${pt};box-shadow:${ws},0 0 0 2px ${Dt}}@media screen and (prefers-reduced-motion:reduce){transition-duration:0.01ms}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}:is([slot='start'],::slotted([slot='start'])){margin-inline-end:var(--icon-spacing)}:is([slot='end'],::slotted([slot='end'])){flex-shrink:0}:host(:not(${de})) :is([slot='end'],:host(:not(${de}))::slotted([slot='end'])){margin-inline-start:var(--icon-spacing)}:host(${de}){min-width:32px;max-width:32px}:host(${T}){--icon-spacing:${Ht};min-height:24px;min-width:64px;padding:0 ${oe};border-radius:${Lt};font-size:${q};line-height:${it};font-weight:${M}}:host(${T}${de}){min-width:24px;max-width:24px}:host(${C}){min-height:40px;border-radius:${zn};padding:0 ${nd};font-size:${ct};line-height:${kt}}:host(${C}${de}){min-width:40px;max-width:40px}:host(${C}) ::slotted(svg){font-size:24px;height:24px;width:24px}:host(:is(${uo},${uo}:focus-visible)){border-radius:${gt}}:host(:is(${po},${po}:focus-visible)){border-radius:${Si}}:host(${lt}){background-color:${ki};color:${te};border-color:transparent}:host(${lt}:hover){background-color:${cn}}:host(${lt}:is(:hover,:hover:active)){border-color:transparent;color:${te}}:host(${lt}:hover:active){background-color:${dn}}:host(${lt}:focus-visible){border-color:${te};box-shadow:${zi},0 0 0 2px ${Dt}}:host(${W}){background-color:${wt}}:host(${W}:hover){background-color:${$i}}:host(${W}:hover:active){background-color:${vi}}:host(${z}){background-color:${El};color:${Vt};border-color:transparent}:host(${z}:hover){background-color:${ms};color:${hs};border-color:transparent}:host(${z}:hover:active){background-color:${Re};color:${us};border-color:transparent}:host(${z}:hover) ::slotted(svg){fill:${ps}}:host(${z}:hover:active) ::slotted(svg){fill:${gs}}:host(${Z}){background-color:${wt};color:${Vt}}:host(${Z}:hover){background-color:${$i};color:${ps}}:host(${Z}:hover:active){background-color:${vi};color:${gs}}:host(:is(${Z},${Z}:is(:hover,:active))){border-color:transparent}`,Ts=l`
36
+ :host{--icon-spacing:${xt};position:relative;contain:layout style;vertical-align:middle;align-items:center;box-sizing:border-box;justify-content:center;text-align:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${O};color:${A};border:${H} solid ${ee};padding:0 ${ft};min-width:96px;border-radius:${P};font-size:${E};font-family:${$};font-weight:${L};line-height:${D};transition-duration:${Pi};transition-property:background,border,color;transition-timing-function:${Ss};cursor:pointer;user-select:none}.content{display:inherit}:host(:hover){background-color:${fi};color:${gi};border-color:${vo}}:host(:hover:active){background-color:${mi};border-color:${$s};color:${gl};outline-style:none}:host(:focus-visible){border-color:${pt};outline:${Bt} solid ${pt};box-shadow:${ws},0 0 0 2px ${Dt}}@media screen and (prefers-reduced-motion:reduce){:host{transition-duration:0.01ms}}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}:is([slot='start'],::slotted([slot='start'])){margin-inline-end:var(--icon-spacing)}:is([slot='end'],::slotted([slot='end'])){flex-shrink:0}:host(:not(${de})) :is([slot='end'],:host(:not(${de}))::slotted([slot='end'])){margin-inline-start:var(--icon-spacing)}:host(${de}){min-width:32px;max-width:32px}:host(${T}){--icon-spacing:${Ht};min-height:24px;min-width:64px;padding:0 ${oe};border-radius:${Lt};font-size:${q};line-height:${it};font-weight:${M}}:host(${T}${de}){min-width:24px;max-width:24px}:host(${C}){min-height:40px;border-radius:${zn};padding:0 ${nd};font-size:${ct};line-height:${kt}}:host(${C}${de}){min-width:40px;max-width:40px}:host(${C}) ::slotted(svg){font-size:24px;height:24px;width:24px}:host(:is(${uo},${uo}:focus-visible)){border-radius:${gt}}:host(:is(${po},${po}:focus-visible)){border-radius:${Si}}:host(${lt}){background-color:${ki};color:${te};border-color:transparent}:host(${lt}:hover){background-color:${cn}}:host(${lt}:is(:hover,:hover:active)){border-color:transparent;color:${te}}:host(${lt}:hover:active){background-color:${dn}}:host(${lt}:focus-visible){border-color:${te};box-shadow:${zi},0 0 0 2px ${Dt}}:host(${W}){background-color:${wt}}:host(${W}:hover){background-color:${$i}}:host(${W}:hover:active){background-color:${vi}}:host(${z}){background-color:${El};color:${Vt};border-color:transparent}:host(${z}:hover){background-color:${ms};color:${hs};border-color:transparent}:host(${z}:hover:active){background-color:${Re};color:${us};border-color:transparent}:host(${z}:hover) ::slotted(svg){fill:${ps}}:host(${z}:hover:active) ::slotted(svg){fill:${gs}}:host(${Z}){background-color:${wt};color:${Vt}}:host(${Z}:hover){background-color:${$i};color:${ps}}:host(${Z}:hover:active){background-color:${vi};color:${gs}}:host(:is(${Z},${Z}:is(:hover,:active))){border-color:transparent}`,Ts=l`
37
37
  ${qn}
38
38
 
39
39
  :host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable])),:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable]):hover),:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable]):hover:active){background-color:${je};border-color:${Tt};color:${B};cursor:not-allowed}:host(${lt}:is(:disabled,[disabled-focusable])),:host(${lt}:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent}:host(${W}:is(:disabled,[disabled-focusable])),:host(${W}:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${wt}}:host(${z}:is(:disabled,[disabled-focusable])),:host(${z}:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${wt};border-color:transparent}:host(${Z}:is(:disabled,[disabled-focusable])),:host(${Z}:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent;background-color:${wt}}`.withBehaviors(Q(l`
@@ -445,7 +445,7 @@ const g=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElem
445
445
  <svg slot="end" fill="currentColor" aria-hidden="true" width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
446
446
  <path d="M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z" fill="currentColor"></path>
447
447
  </svg>
448
- `)}),Uu=ju.compose({name:`${g.prefix}-menu-button`,template:qu,styles:Ts});Uu.define(g.registry);const J={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"};J.menuitem+"",J.menuitemcheckbox+"",J.menuitemradio+"";var Gu=Object.defineProperty,Wu=Object.getOwnPropertyDescriptor,eo=(o,t,e,s)=>{for(var i=s>1?void 0:s?Wu(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&&Gu(t,e,i),i};const Xu=()=>o=>o.nodeType===1&&o.elementInternals.role==="menu";class At extends w{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.role=J.menuitem,this.checked=!1,this.handleMenuItemKeyDown=t=>{if(t.defaultPrevented)return!1;switch(t.key){case ss:case ni:return this.invoke(),!1;case ts:return this.disabled||(this.submenu?.togglePopover(!0),this.submenu?.focus()),!1;case Jo:return this.parentElement?.hasAttribute("popover")&&(this.parentElement.togglePopover(!1),this.parentElement.parentElement?.focus()),!1}return!0},this.handleMenuItemClick=t=>(t.defaultPrevented||this.disabled||this.invoke(),!1),this.handleMouseOver=t=>(this.disabled||this.submenu?.togglePopover(!0),!1),this.handleMouseOut=t=>(this.contains(document.activeElement)||this.submenu?.togglePopover(!1),!1),this.toggleHandler=t=>{t instanceof ToggleEvent&&t.newState==="open"&&(this.setAttribute("tabindex","-1"),this.elementInternals.ariaExpanded="true",this.setSubmenuPosition()),t instanceof ToggleEvent&&t.newState==="closed"&&(this.elementInternals.ariaExpanded="false",this.setAttribute("tabindex","0"))},this.invoke=()=>{if(!this.disabled)switch(this.role){case J.menuitemcheckbox:this.checked=!this.checked;break;case J.menuitem:if(this.submenu){this.submenu.togglePopover(!0),this.submenu.focus();break}this.$emit("change");break;case J.menuitemradio:this.checked||(this.checked=!0);break}},this.setSubmenuPosition=()=>{if(!CSS.supports("anchor-name","--anchor")&&this.submenu){const t=this.getBoundingClientRect(),e=this.submenu.getBoundingClientRect(),s=getComputedStyle(this).direction==="ltr"?"right":"left";if(t.width+e.width>window.innerWidth*.75){this.submenu.style.translate="0 -100%";return}if(t[s]+e.width>window.innerWidth){this.submenu.style.translate="-100% 0";return}this.submenu.style.translate=`${t.width-8}px 0`}}}disabledChanged(t,e){this.elementInternals.ariaDisabled=e?`${e}`:null,c(this.elementInternals,"disabled",e)}roleChanged(t,e){this.elementInternals.role=e??J.menuitem}checkedChanged(t,e){const s=this.role!==J.menuitem;this.elementInternals.ariaChecked=s?`${!!e}`:null,c(this.elementInternals,"checked",s?e:!1),this.$fastController.isConnected&&this.$emit("change")}slottedSubmenuChanged(t,e){this.submenu?.removeEventListener("toggle",this.toggleHandler),e.length?(this.submenu=e[0],this.submenu.toggleAttribute("popover",!0),this.submenu.addEventListener("toggle",this.toggleHandler),this.elementInternals.ariaHasPopup="menu",c(this.elementInternals,"submenu",!0)):(this.elementInternals.ariaHasPopup=null,c(this.elementInternals,"submenu",!1))}connectedCallback(){super.connectedCallback(),this.elementInternals.role=this.role??J.menuitem,this.elementInternals.ariaChecked=this.role!==J.menuitem?`${!!this.checked}`:null}}eo([a({mode:"boolean"})],At.prototype,"disabled",2),eo([a],At.prototype,"role",2),eo([a({mode:"boolean"})],At.prototype,"checked",2),eo([a({mode:"boolean"})],At.prototype,"hidden",2),eo([v],At.prototype,"slottedSubmenu",2),eo([v],At.prototype,"submenu",2),Xt(At,Gt);const Os=l.partial`:is([state--submenu], :state(submenu))`,Ku=l`
448
+ `)}),Uu=ju.compose({name:`${g.prefix}-menu-button`,template:qu,styles:Ts});Uu.define(g.registry);const J={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"};J.menuitem+"",J.menuitemcheckbox+"",J.menuitemradio+"";var Gu=Object.defineProperty,Wu=Object.getOwnPropertyDescriptor,eo=(o,t,e,s)=>{for(var i=s>1?void 0:s?Wu(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&&Gu(t,e,i),i};const Xu=()=>o=>o.nodeType===1&&o.elementInternals.role==="menu";class At extends w{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.role=J.menuitem,this.checked=!1,this.handleMenuItemKeyDown=t=>{if(t.defaultPrevented)return!1;switch(t.key){case ss:case ni:return this.invoke(),!1;case ts:return this.disabled||(this.submenu?.togglePopover(!0),this.submenu?.focus()),!1;case Jo:return this.parentElement?.hasAttribute("popover")&&(this.parentElement.togglePopover(!1),this.parentElement.parentElement?.focus()),!1}return!0},this.handleMenuItemClick=t=>(t.defaultPrevented||this.disabled||this.invoke(),!1),this.handleMouseOver=t=>(this.disabled||this.submenu?.togglePopover(!0),!1),this.handleMouseOut=t=>(this.contains(document.activeElement)||this.submenu?.togglePopover(!1),!1),this.toggleHandler=t=>{t instanceof ToggleEvent&&t.newState==="open"&&(this.setAttribute("tabindex","-1"),this.elementInternals.ariaExpanded="true",this.setSubmenuPosition()),t instanceof ToggleEvent&&t.newState==="closed"&&(this.elementInternals.ariaExpanded="false",this.setAttribute("tabindex","0"))},this.invoke=()=>{if(!this.disabled)switch(this.role){case J.menuitemcheckbox:this.checked=!this.checked;break;case J.menuitem:if(this.submenu){this.submenu.togglePopover(!0),this.submenu.focus();break}this.$emit("change");break;case J.menuitemradio:this.checked||(this.checked=!0);break}},this.setSubmenuPosition=()=>{if(!CSS.supports("anchor-name","--anchor")&&this.submenu){const t=this.getBoundingClientRect(),e=this.submenu.getBoundingClientRect(),s=getComputedStyle(this).direction==="ltr"?"right":"left";if(t.width+e.width>window.innerWidth*.75){this.submenu.style.translate="0 -100%";return}if(t[s]+e.width>window.innerWidth){this.submenu.style.translate="-100% 0";return}this.submenu.style.translate=`${t.width-8}px 0`}}}disabledChanged(t,e){this.elementInternals.ariaDisabled=e?`${e}`:null,c(this.elementInternals,"disabled",e)}roleChanged(t,e){this.elementInternals.role=e??J.menuitem}checkedChanged(t,e){const s=this.role!==J.menuitem;this.elementInternals.ariaChecked=s?`${!!e}`:null,c(this.elementInternals,"checked",s?e:!1),this.$fastController.isConnected&&this.$emit("change",e,{bubbles:!0})}slottedSubmenuChanged(t,e){this.submenu?.removeEventListener("toggle",this.toggleHandler),e.length?(this.submenu=e[0],this.submenu.toggleAttribute("popover",!0),this.submenu.addEventListener("toggle",this.toggleHandler),this.elementInternals.ariaHasPopup="menu",c(this.elementInternals,"submenu",!0)):(this.elementInternals.ariaHasPopup=null,c(this.elementInternals,"submenu",!1))}connectedCallback(){super.connectedCallback(),this.elementInternals.role=this.role??J.menuitem,this.elementInternals.ariaChecked=this.role!==J.menuitem?`${!!this.checked}`:null}}eo([a({mode:"boolean"})],At.prototype,"disabled",2),eo([a],At.prototype,"role",2),eo([a({mode:"boolean"})],At.prototype,"checked",2),eo([a({mode:"boolean"})],At.prototype,"hidden",2),eo([v],At.prototype,"slottedSubmenu",2),eo([v],At.prototype,"submenu",2),Xt(At,Gt);const Os=l.partial`:is([state--submenu], :state(submenu))`,Ku=l`
449
449
  ${S("grid")}
450
450
 
451
451
  :host{--indent:0;align-items:center;background:${O};border-radius:${P};color:${Vt};contain:layout;cursor:pointer;flex-shrink:0;font:${M} ${E} / ${D} ${$};grid-gap:4px;grid-template-columns:20px 20px auto 20px;height:32px;overflow:visible;padding:0 10px}:host(:hover){background:${fi};color:${hs}}:host(:active){background-color:${an};color:${us}}:host(:active) ::slotted([slot='start']){color:${Il}}:host(${F}){background-color:${je};color:${B}}:host(${F}) ::slotted([slot='start']),:host(${F}) ::slotted([slot='end']){color:${B}}:host(:focus-visible){border-radius:${P};outline:2px solid ${Dt}}.content{white-space:nowrap;flex-grow:1;grid-column:auto / span 2;padding:0 2px}:host(:not(${y})) .indicator,:host(:not(${y})) ::slotted([slot='indicator']),:host(:not(${Os})) .submenu-glyph,:host(:not(${Os})) ::slotted([slot='submenu-glyph']){display:none}::slotted([slot='end']){color:${ut};font:${M} ${q} / ${it} ${$};white-space:nowrap}:host([data-indent='1']){--indent:1}:host([data-indent='2']){--indent:2;grid-template-columns:20px 20px auto auto}:host(${Os}){grid-template-columns:20px auto auto 20px}:host([data-indent='2']${Os}){grid-template-columns:20px 20px auto auto 20px}.indicator,::slotted([slot='indicator']){grid-column:1 / span 1;width:20px}::slotted([slot='start']){display:inline-flex;grid-column:calc(var(--indent)) / span 1}.content{grid-column:calc(var(--indent) + 1) / span 1}::slotted([slot='end']){grid-column:calc(var(--indent) + 2) / span 1;justify-self:end}.submenu-glyph,::slotted([slot='submenu-glyph']){grid-column:-2 / span 1;justify-self:end}@layer popover{:host{anchor-name:--menu-trigger;position:relative}::slotted([popover]){inset-area:inline-end span-block-end;margin:0;max-height:var(--menu-max-height,auto);position:absolute;position-anchor:--menu-trigger;position-try-options:flip-inline,inset-area(block-start);z-index:1}::slotted([popover]:not(:popover-open)){display:none}::slotted([popover]:popover-open){inset:unset}@supports not (anchor-name:--menu-trigger){::slotted([popover]){align-self:start}}}`.withBehaviors(Q(l`
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.68",
4
+ "version": "3.0.0-beta.69",
5
5
  "author": {
6
6
  "name": "Microsoft",
7
7
  "url": "https://discord.gg/FcSNfg4"