@fluentui/web-components 3.0.0-rc.24 → 3.0.0-rc.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,12 +1,21 @@
1
1
  # Change Log - @fluentui/web-components
2
2
 
3
- This log was last generated on Mon, 08 Jun 2026 04:10:10 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 10 Jun 2026 04:08:37 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [3.0.0-rc.25](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-rc.25)
8
+
9
+ Wed, 10 Jun 2026 04:08:37 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-rc.24..@fluentui/web-components_v3.0.0-rc.25)
11
+
12
+ ### Changes
13
+
14
+ - avoid dialog from focusing on non-active tab upon showing ([PR #36278](https://github.com/microsoft/fluentui/pull/36278) by machi@microsoft.com)
15
+
7
16
  ## [3.0.0-rc.24](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-rc.24)
8
17
 
9
- Mon, 08 Jun 2026 04:10:10 GMT
18
+ Mon, 08 Jun 2026 04:10:19 GMT
10
19
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-rc.23..@fluentui/web-components_v3.0.0-rc.24)
11
20
 
12
21
  ### Changes
@@ -28186,7 +28186,7 @@
28186
28186
  },
28187
28187
  {
28188
28188
  "kind": "javascript-module",
28189
- "path": "src/accordion-item/accordion-item.definition-async.ts",
28189
+ "path": "src/avatar/avatar.definition-async.ts",
28190
28190
  "declarations": [
28191
28191
  {
28192
28192
  "kind": "variable",
@@ -28195,7 +28195,7 @@
28195
28195
  "text": "PartialFASTElementDefinition"
28196
28196
  },
28197
28197
  "default": "{ name: tagName, templateOptions: 'defer-and-hydrate', }",
28198
- "description": "The async definition configuration for the fluent-accordion-item element.",
28198
+ "description": "The async definition configuration for the fluent-avatar element.",
28199
28199
  "privacy": "public"
28200
28200
  }
28201
28201
  ],
@@ -28205,14 +28205,14 @@
28205
28205
  "name": "definition",
28206
28206
  "declaration": {
28207
28207
  "name": "definition",
28208
- "module": "src/accordion-item/accordion-item.definition-async.ts"
28208
+ "module": "src/avatar/avatar.definition-async.ts"
28209
28209
  }
28210
28210
  }
28211
28211
  ]
28212
28212
  },
28213
28213
  {
28214
28214
  "kind": "javascript-module",
28215
- "path": "src/accordion-item/define-async.ts",
28215
+ "path": "src/avatar/define-async.ts",
28216
28216
  "declarations": [],
28217
28217
  "exports": []
28218
28218
  },
@@ -28250,7 +28250,7 @@
28250
28250
  },
28251
28251
  {
28252
28252
  "kind": "javascript-module",
28253
- "path": "src/avatar/avatar.definition-async.ts",
28253
+ "path": "src/accordion-item/accordion-item.definition-async.ts",
28254
28254
  "declarations": [
28255
28255
  {
28256
28256
  "kind": "variable",
@@ -28259,7 +28259,7 @@
28259
28259
  "text": "PartialFASTElementDefinition"
28260
28260
  },
28261
28261
  "default": "{ name: tagName, templateOptions: 'defer-and-hydrate', }",
28262
- "description": "The async definition configuration for the fluent-avatar element.",
28262
+ "description": "The async definition configuration for the fluent-accordion-item element.",
28263
28263
  "privacy": "public"
28264
28264
  }
28265
28265
  ],
@@ -28269,20 +28269,20 @@
28269
28269
  "name": "definition",
28270
28270
  "declaration": {
28271
28271
  "name": "definition",
28272
- "module": "src/avatar/avatar.definition-async.ts"
28272
+ "module": "src/accordion-item/accordion-item.definition-async.ts"
28273
28273
  }
28274
28274
  }
28275
28275
  ]
28276
28276
  },
28277
28277
  {
28278
28278
  "kind": "javascript-module",
28279
- "path": "src/avatar/define-async.ts",
28279
+ "path": "src/accordion-item/define-async.ts",
28280
28280
  "declarations": [],
28281
28281
  "exports": []
28282
28282
  },
28283
28283
  {
28284
28284
  "kind": "javascript-module",
28285
- "path": "src/badge/badge.definition-async.ts",
28285
+ "path": "src/button/button.definition-async.ts",
28286
28286
  "declarations": [
28287
28287
  {
28288
28288
  "kind": "variable",
@@ -28291,7 +28291,7 @@
28291
28291
  "text": "PartialFASTElementDefinition"
28292
28292
  },
28293
28293
  "default": "{ name: tagName, templateOptions: 'defer-and-hydrate', }",
28294
- "description": "The async definition configuration for the fluent-badge element.",
28294
+ "description": "The async definition configuration for the fluent-button element.",
28295
28295
  "privacy": "public"
28296
28296
  }
28297
28297
  ],
@@ -28301,20 +28301,20 @@
28301
28301
  "name": "definition",
28302
28302
  "declaration": {
28303
28303
  "name": "definition",
28304
- "module": "src/badge/badge.definition-async.ts"
28304
+ "module": "src/button/button.definition-async.ts"
28305
28305
  }
28306
28306
  }
28307
28307
  ]
28308
28308
  },
28309
28309
  {
28310
28310
  "kind": "javascript-module",
28311
- "path": "src/badge/define-async.ts",
28311
+ "path": "src/button/define-async.ts",
28312
28312
  "declarations": [],
28313
28313
  "exports": []
28314
28314
  },
28315
28315
  {
28316
28316
  "kind": "javascript-module",
28317
- "path": "src/button/button.definition-async.ts",
28317
+ "path": "src/badge/badge.definition-async.ts",
28318
28318
  "declarations": [
28319
28319
  {
28320
28320
  "kind": "variable",
@@ -28323,7 +28323,7 @@
28323
28323
  "text": "PartialFASTElementDefinition"
28324
28324
  },
28325
28325
  "default": "{ name: tagName, templateOptions: 'defer-and-hydrate', }",
28326
- "description": "The async definition configuration for the fluent-button element.",
28326
+ "description": "The async definition configuration for the fluent-badge element.",
28327
28327
  "privacy": "public"
28328
28328
  }
28329
28329
  ],
@@ -28333,14 +28333,14 @@
28333
28333
  "name": "definition",
28334
28334
  "declaration": {
28335
28335
  "name": "definition",
28336
- "module": "src/button/button.definition-async.ts"
28336
+ "module": "src/badge/badge.definition-async.ts"
28337
28337
  }
28338
28338
  }
28339
28339
  ]
28340
28340
  },
28341
28341
  {
28342
28342
  "kind": "javascript-module",
28343
- "path": "src/button/define-async.ts",
28343
+ "path": "src/badge/define-async.ts",
28344
28344
  "declarations": [],
28345
28345
  "exports": []
28346
28346
  },
@@ -2,6 +2,11 @@ import { type ElementViewTemplate } from '@microsoft/fast-element';
2
2
  import type { Dialog } from './dialog.js';
3
3
  /**
4
4
  * Template for the Dialog component
5
+ *
6
+ * Note: The empty `<div tabindex="-1">` element above the `<slot>` element is
7
+ * for working around a dialog focus issue, learn more at
8
+ * https://github.com/microsoft/fluentui/pull/36278
9
+ *
5
10
  * @public
6
11
  */
7
12
  export declare const template: ElementViewTemplate<Dialog>;
@@ -11,6 +11,7 @@
11
11
  @cancel="{hide()}"
12
12
  f-ref="{dialog}"
13
13
  >
14
+ <div tabindex="-1"></div>
14
15
  <slot></slot>
15
16
  </dialog></template>
16
17
  </f-template>
@@ -1,6 +1,11 @@
1
1
  import { html, ref } from '@microsoft/fast-element';
2
2
  /**
3
3
  * Template for the Dialog component
4
+ *
5
+ * Note: The empty `<div tabindex="-1">` element above the `<slot>` element is
6
+ * for working around a dialog focus issue, learn more at
7
+ * https://github.com/microsoft/fluentui/pull/36278
8
+ *
4
9
  * @public
5
10
  */
6
11
  export const template = html `
@@ -16,6 +21,7 @@ export const template = html `
16
21
  @cancel="${x => x.hide()}"
17
22
  ${ref('dialog')}
18
23
  >
24
+ <div tabindex="-1"></div>
19
25
  <slot></slot>
20
26
  </dialog>
21
27
  `;
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.template.js","sourceRoot":"","sources":["../../../src/dialog/dialog.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,IAAI,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAG9E;;;GAGG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAgC,IAAI,CAAA;;;;kBAIvC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW;wBACZ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,iBAAiB;uBACzB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,gBAAgB;kBAC5B,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW;YACxB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU;cACf,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,KAAmB,CAAC;eAC9C,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE;MACtB,GAAG,CAAC,QAAQ,CAAC;;;;CAIlB,CAAC"}
1
+ {"version":3,"file":"dialog.template.js","sourceRoot":"","sources":["../../../src/dialog/dialog.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,IAAI,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAG9E;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAgC,IAAI,CAAA;;;;kBAIvC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW;wBACZ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,iBAAiB;uBACzB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,gBAAgB;kBAC5B,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW;YACxB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU;cACf,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,KAAmB,CAAC;eAC9C,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE;MACtB,GAAG,CAAC,QAAQ,CAAC;;;;;CAKlB,CAAC"}
@@ -7386,7 +7386,7 @@ __decorateClass$B([
7386
7386
  volatile
7387
7387
  ], Dialog.prototype, "dialogRole", 1);
7388
7388
 
7389
- const template$w = html`<dialog class=dialog part=dialog aria-modal=${(x) => x.dialogModal} aria-describedby=${(x) => x.dialogDescribedby} aria-labelledby=${(x) => x.dialogLabelledby} aria-label=${(x) => x.dialogLabel} role=${(x) => x.dialogRole} @click=${(x, c) => x.clickHandler(c.event)} @cancel=${(x) => x.hide()} ${ref("dialog")}><slot></slot></dialog>`;
7389
+ const template$w = html`<dialog class=dialog part=dialog aria-modal=${(x) => x.dialogModal} aria-describedby=${(x) => x.dialogDescribedby} aria-labelledby=${(x) => x.dialogLabelledby} aria-label=${(x) => x.dialogLabel} role=${(x) => x.dialogRole} @click=${(x, c) => x.clickHandler(c.event)} @cancel=${(x) => x.hide()} ${ref("dialog")}><div tabindex=-1></div><slot></slot></dialog>`;
7390
7390
 
7391
7391
  const styles$w = css`@layer base{:host{--dialog-backdrop:${colorBackgroundOverlay};--dialog-starting-scale:0.85}::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}dialog{background:${colorNeutralBackground1};border-radius:${borderRadiusXLarge};border:none;box-shadow:${shadow64};color:${colorNeutralForeground1};max-height:100vh;padding:0;width:100%;max-width:600px}:host([type='non-modal']) dialog{inset:0;z-index:2;overflow:auto}@supports (max-height:1dvh){dialog{max-height:100dvh}}}@layer animations{@media (prefers-reduced-motion:no-preference){dialog,::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${durationGentle};transition-timing-function:${curveDecelerateMid};opacity:0}::backdrop{transition-timing-function:${curveLinear}}[open],[open]::backdrop{opacity:1}dialog:not([open]){scale:var(--dialog-starting-scale);transition-timing-function:${curveAccelerateMid}}}@starting-style{[open],[open]::backdrop{opacity:0}dialog{scale:var(--dialog-starting-scale)}}}@media (forced-colors:active){@layer base{dialog{border:${strokeWidthThin} solid ${colorTransparentStroke}}}}`;
7392
7392