@fluentui/web-components 3.0.0-rc.14 → 3.0.0-rc.15

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 Wed, 22 Apr 2026 04:08:00 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 01 May 2026 04:08:33 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [3.0.0-rc.15](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-rc.15)
8
+
9
+ Fri, 01 May 2026 04:08:33 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-rc.14..@fluentui/web-components_v3.0.0-rc.15)
11
+
12
+ ### Changes
13
+
14
+ - fix: remove unnecessary id property mappings in accordion-item ([PR #36060](https://github.com/microsoft/fluentui/pull/36060) by 863023+radium-v@users.noreply.github.com)
15
+ - fix: remove errant preventDefault causing element interactions to be blocked inside drawer ([PR #36032](https://github.com/microsoft/fluentui/pull/36032) by 13071055+chrisdholt@users.noreply.github.com)
16
+
7
17
  ## [3.0.0-rc.14](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-rc.14)
8
18
 
9
- Wed, 22 Apr 2026 04:08:00 GMT
19
+ Wed, 29 Apr 2026 19:07:13 GMT
10
20
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-rc.13..@fluentui/web-components_v3.0.0-rc.14)
11
21
 
12
22
  ### Changes
@@ -995,50 +995,6 @@
995
995
  "declarations": [],
996
996
  "exports": []
997
997
  },
998
- {
999
- "kind": "javascript-module",
1000
- "path": "src/utils/element-internals.ts",
1001
- "declarations": [
1002
- {
1003
- "kind": "function",
1004
- "name": "stateSelector",
1005
- "return": {
1006
- "type": {
1007
- "text": ""
1008
- }
1009
- },
1010
- "parameters": [
1011
- {
1012
- "name": "state",
1013
- "type": {
1014
- "text": "S"
1015
- },
1016
- "description": "the state value."
1017
- }
1018
- ],
1019
- "description": "Returns a string that represents a CSS custom state selector.",
1020
- "privacy": "public"
1021
- }
1022
- ],
1023
- "exports": [
1024
- {
1025
- "kind": "js",
1026
- "name": "CustomStatesSetSupported",
1027
- "declaration": {
1028
- "name": "CustomStatesSetSupported",
1029
- "module": "src/utils/element-internals.ts"
1030
- }
1031
- },
1032
- {
1033
- "kind": "js",
1034
- "name": "stateSelector",
1035
- "declaration": {
1036
- "name": "stateSelector",
1037
- "module": "src/utils/element-internals.ts"
1038
- }
1039
- }
1040
- ]
1041
- },
1042
998
  {
1043
999
  "kind": "javascript-module",
1044
1000
  "path": "./dist/esm/accordion-item/accordion-item.base.js",
@@ -1113,15 +1069,6 @@
1113
1069
  "privacy": "public",
1114
1070
  "default": "false",
1115
1071
  "description": "Disables an accordion item"
1116
- },
1117
- {
1118
- "kind": "field",
1119
- "name": "id",
1120
- "type": {
1121
- "text": "string"
1122
- },
1123
- "privacy": "public",
1124
- "description": "The item ID"
1125
1072
  }
1126
1073
  ],
1127
1074
  "attributes": [
@@ -1151,14 +1098,6 @@
1151
1098
  "default": "false",
1152
1099
  "description": "Disables an accordion item",
1153
1100
  "fieldName": "disabled"
1154
- },
1155
- {
1156
- "name": "id",
1157
- "type": {
1158
- "text": "string"
1159
- },
1160
- "description": "The item ID",
1161
- "fieldName": "id"
1162
1101
  }
1163
1102
  ],
1164
1103
  "superclass": {
@@ -1265,19 +1204,6 @@
1265
1204
  "name": "BaseAccordionItem",
1266
1205
  "module": "src/accordion-item/accordion-item.base.ts"
1267
1206
  }
1268
- },
1269
- {
1270
- "kind": "field",
1271
- "name": "id",
1272
- "type": {
1273
- "text": "string"
1274
- },
1275
- "privacy": "public",
1276
- "description": "The item ID",
1277
- "inheritedFrom": {
1278
- "name": "BaseAccordionItem",
1279
- "module": "src/accordion-item/accordion-item.base.ts"
1280
- }
1281
1207
  }
1282
1208
  ],
1283
1209
  "attributes": [
@@ -1350,18 +1276,6 @@
1350
1276
  "name": "BaseAccordionItem",
1351
1277
  "module": "src/accordion-item/accordion-item.base.ts"
1352
1278
  }
1353
- },
1354
- {
1355
- "name": "id",
1356
- "type": {
1357
- "text": "string"
1358
- },
1359
- "description": "The item ID",
1360
- "fieldName": "id",
1361
- "inheritedFrom": {
1362
- "name": "BaseAccordionItem",
1363
- "module": "src/accordion-item/accordion-item.base.ts"
1364
- }
1365
1279
  }
1366
1280
  ],
1367
1281
  "superclass": {
@@ -10167,6 +10081,50 @@
10167
10081
  }
10168
10082
  ]
10169
10083
  },
10084
+ {
10085
+ "kind": "javascript-module",
10086
+ "path": "src/utils/element-internals.ts",
10087
+ "declarations": [
10088
+ {
10089
+ "kind": "function",
10090
+ "name": "stateSelector",
10091
+ "return": {
10092
+ "type": {
10093
+ "text": ""
10094
+ }
10095
+ },
10096
+ "parameters": [
10097
+ {
10098
+ "name": "state",
10099
+ "type": {
10100
+ "text": "S"
10101
+ },
10102
+ "description": "the state value."
10103
+ }
10104
+ ],
10105
+ "description": "Returns a string that represents a CSS custom state selector.",
10106
+ "privacy": "public"
10107
+ }
10108
+ ],
10109
+ "exports": [
10110
+ {
10111
+ "kind": "js",
10112
+ "name": "CustomStatesSetSupported",
10113
+ "declaration": {
10114
+ "name": "CustomStatesSetSupported",
10115
+ "module": "src/utils/element-internals.ts"
10116
+ }
10117
+ },
10118
+ {
10119
+ "kind": "js",
10120
+ "name": "stateSelector",
10121
+ "declaration": {
10122
+ "name": "stateSelector",
10123
+ "module": "src/utils/element-internals.ts"
10124
+ }
10125
+ }
10126
+ ]
10127
+ },
10170
10128
  {
10171
10129
  "kind": "javascript-module",
10172
10130
  "path": "./dist/esm/button/button.base.js",
@@ -44,14 +44,6 @@ export declare class BaseAccordionItem extends FASTElement {
44
44
  * HTML attribute: disabled
45
45
  */
46
46
  disabled: boolean;
47
- /**
48
- * The item ID
49
- *
50
- * @public
51
- * @remarks
52
- * HTML Attribute: id
53
- */
54
- id: string;
55
47
  /**
56
48
  * @internal
57
49
  */
@@ -1,6 +1,5 @@
1
1
  import { __decorate } from "tslib";
2
- import { attr, FASTElement, nullableNumberConverter } from '@microsoft/fast-element';
3
- import { uniqueId } from '@microsoft/fast-web-utilities';
2
+ import { attr, FASTElement, nullableNumberConverter, observable } from '@microsoft/fast-element';
4
3
  /**
5
4
  *
6
5
  * @slot start - Content positioned before heading in the collapsed state
@@ -48,14 +47,6 @@ export class BaseAccordionItem extends FASTElement {
48
47
  * HTML attribute: disabled
49
48
  */
50
49
  this.disabled = false;
51
- /**
52
- * The item ID
53
- *
54
- * @public
55
- * @remarks
56
- * HTML Attribute: id
57
- */
58
- this.id = uniqueId('accordion-');
59
50
  }
60
51
  }
61
52
  __decorate([
@@ -72,6 +63,6 @@ __decorate([
72
63
  attr({ mode: 'boolean' })
73
64
  ], BaseAccordionItem.prototype, "disabled", void 0);
74
65
  __decorate([
75
- attr
76
- ], BaseAccordionItem.prototype, "id", void 0);
66
+ observable
67
+ ], BaseAccordionItem.prototype, "expandbutton", void 0);
77
68
  //# sourceMappingURL=accordion-item.base.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"accordion-item.base.js","sourceRoot":"","sources":["../../../src/accordion-item/accordion-item.base.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AACrF,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAGzD;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,iBAAkB,SAAQ,WAAW;IAAlD;;QACE;;;;WAIG;QACI,qBAAgB,GAAqB,IAAI,CAAC,eAAe,EAAE,CAAC;QAEnE;;;;;;;WAOG;QAMI,iBAAY,GAA0B,CAAC,CAAC;QAE/C;;;;;;WAMG;QAEI,aAAQ,GAAY,KAAK,CAAC;QAEjC;;;;;;WAMG;QAEI,aAAQ,GAAY,KAAK,CAAC;QAEjC;;;;;;WAMG;QAEI,OAAE,GAAW,QAAQ,CAAC,YAAY,CAAC,CAAC;IAM7C,CAAC;CAAA;AApCQ;IALN,IAAI,CAAC;QACJ,SAAS,EAAE,eAAe;QAC1B,IAAI,EAAE,UAAU;QAChB,SAAS,EAAE,uBAAuB;KACnC,CAAC;uDAC6C;AAUxC;IADN,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;mDACO;AAU1B;IADN,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;mDACO;AAU1B;IADN,IAAI;6CACsC"}
1
+ {"version":3,"file":"accordion-item.base.js","sourceRoot":"","sources":["../../../src/accordion-item/accordion-item.base.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,uBAAuB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAEjG;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,iBAAkB,SAAQ,WAAW;IAAlD;;QACE;;;;WAIG;QACI,qBAAgB,GAAqB,IAAI,CAAC,eAAe,EAAE,CAAC;QAEnE;;;;;;;WAOG;QAMI,iBAAY,GAA0B,CAAC,CAAC;QAE/C;;;;;;WAMG;QAEI,aAAQ,GAAY,KAAK,CAAC;QAEjC;;;;;;WAMG;QAEI,aAAQ,GAAY,KAAK,CAAC;IAOnC,CAAC;CAAA;AA3BQ;IALN,IAAI,CAAC;QACJ,SAAS,EAAE,eAAe;QAC1B,IAAI,EAAE,UAAU;QAChB,SAAS,EAAE,uBAAuB;KACnC,CAAC;uDAC6C;AAUxC;IADN,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;mDACO;AAU1B;IADN,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;mDACO;AAM1B;IADN,UAAU;uDACuB"}
@@ -35,11 +35,11 @@ export function accordionItemTemplate(options = {}) {
35
35
  <button
36
36
  class="button"
37
37
  part="button"
38
- ${ref('expandbutton')}
39
- ?disabled="${x => (x.disabled ? 'true' : void 0)}"
38
+ id="control"
39
+ aria-controls="panel"
40
40
  aria-expanded="${x => x.expanded}"
41
- aria-controls="${x => x.id}-panel"
42
- id="${x => x.id}"
41
+ ?disabled="${x => x.disabled}"
42
+ ${ref('expandbutton')}
43
43
  >
44
44
  <slot name="heading"></slot>
45
45
  </button>
@@ -47,7 +47,7 @@ export function accordionItemTemplate(options = {}) {
47
47
  <slot name="marker-expanded"> ${staticallyCompose(options.expandedIcon)} </slot>
48
48
  <slot name="marker-collapsed"> ${staticallyCompose(options.collapsedIcon)} </slot>
49
49
  </div>
50
- <div class="content" part="content" id="${x => x.id}-panel" role="region" aria-labelledby="${x => x.id}">
50
+ <div class="content" part="content" id="panel" role="region" aria-labelledby="control">
51
51
  <slot></slot>
52
52
  </div>
53
53
  `;
@@ -1 +1 @@
1
- {"version":3,"file":"accordion-item.template.js","sourceRoot":"","sources":["../../../src/accordion-item/accordion-item.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,IAAI,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAGtD,MAAM,oBAAoB,GAAG,IAAI,CAAC,OAAO,CAAC;;;;;;;;;;;;;OAanC,CAAC,CAAC;AAET,MAAM,mBAAmB,GAAG,IAAI,CAAC,OAAO,CAAC;;;;;;;;;;;;;OAalC,CAAC,CAAC;AAET,MAAM,UAAU,qBAAqB,CACnC,UAAgC,EAAE;IAElC,OAAO,IAAI,CAAG;qEACqD,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,YAAY;;;;UAI9E,GAAG,CAAC,cAAc,CAAC;qBACR,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;yBAC/B,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ;yBACf,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE;cACpB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE;;;;QAIf,iBAAiB,CAAC,OAAO,CAAC;sCACI,iBAAiB,CAAC,OAAO,CAAC,YAAY,CAAC;uCACtC,iBAAiB,CAAC,OAAO,CAAC,aAAa,CAAC;;8CAEjC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,0CAA0C,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE;;;GAGvG,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAuC,qBAAqB,CAAC;IAChF,aAAa,EAAE,oBAAoB;IACnC,YAAY,EAAE,mBAAmB;CAClC,CAAC,CAAC"}
1
+ {"version":3,"file":"accordion-item.template.js","sourceRoot":"","sources":["../../../src/accordion-item/accordion-item.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,IAAI,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAGtD,MAAM,oBAAoB,GAAG,IAAI,CAAC,OAAO,CAAC;;;;;;;;;;;;;OAanC,CAAC,CAAC;AAET,MAAM,mBAAmB,GAAG,IAAI,CAAC,OAAO,CAAC;;;;;;;;;;;;;OAalC,CAAC,CAAC;AAET,MAAM,UAAU,qBAAqB,CACnC,UAAgC,EAAE;IAElC,OAAO,IAAI,CAAG;qEACqD,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,YAAY;;;;;;yBAM/D,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ;qBACnB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ;UAC1B,GAAG,CAAC,cAAc,CAAC;;;;QAIrB,iBAAiB,CAAC,OAAO,CAAC;sCACI,iBAAiB,CAAC,OAAO,CAAC,YAAY,CAAC;uCACtC,iBAAiB,CAAC,OAAO,CAAC,aAAa,CAAC;;;;;GAK5E,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAuC,qBAAqB,CAAC;IAChF,aAAa,EAAE,oBAAoB;IACnC,YAAY,EAAE,mBAAmB;CAClC,CAAC,CAAC"}
@@ -136,7 +136,6 @@ export class Drawer extends FASTElement {
136
136
  * Handles click events on the drawer.
137
137
  */
138
138
  clickHandler(event) {
139
- event.preventDefault();
140
139
  if (this.dialog.open && event.target === this.dialog) {
141
140
  this.hide();
142
141
  }
@@ -1 +1 @@
1
- {"version":3,"file":"drawer.js","sourceRoot":"","sources":["../../../src/drawer/drawer.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE7E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QAGE;;;;;WAKG;QAEI,SAAI,GAAe,UAAU,CAAC,KAAK,CAAC;QA+B3C;;;;WAIG;QAEI,aAAQ,GAAmB,cAAc,CAAC,KAAK,CAAC;QAEvD;;;;WAIG;QAEI,SAAI,GAAe,UAAU,CAAC,MAAM,CAAC;QAuB5C;;;;;WAKG;QACI,eAAU,GAAG,GAAS,EAAE;YAC7B,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;gBACnB,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM;gBAC9C,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAA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AApKQ;IADN,IAAI;oCACsC;AAqBpC;IADN,IAAI,CAAC,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;8CACR;AAQxB;IADN,IAAI,CAAC,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;+CACR;AAQzB;IADN,IAAI;wCACkD;AAQhD;IADN,IAAI,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC;oCACgB;AAQrC;IADN,UAAU;sCACuB"}
@@ -823,14 +823,6 @@ export declare class BaseAccordionItem extends FASTElement {
823
823
  * HTML attribute: disabled
824
824
  */
825
825
  disabled: boolean;
826
- /**
827
- * The item ID
828
- *
829
- * @public
830
- * @remarks
831
- * HTML Attribute: id
832
- */
833
- id: string;
834
826
  /**
835
827
  * @internal
836
828
  */
@@ -4302,7 +4302,6 @@ class BaseAccordionItem extends FASTElement {
4302
4302
  this.headinglevel = 2;
4303
4303
  this.expanded = false;
4304
4304
  this.disabled = false;
4305
- this.id = uniqueId$1("accordion-");
4306
4305
  }
4307
4306
  }
4308
4307
  __decorateClass$O([attr({
@@ -4316,7 +4315,7 @@ __decorateClass$O([attr({
4316
4315
  __decorateClass$O([attr({
4317
4316
  mode: "boolean"
4318
4317
  })], BaseAccordionItem.prototype, "disabled", 2);
4319
- __decorateClass$O([attr], BaseAccordionItem.prototype, "id", 2);
4318
+ __decorateClass$O([observable], BaseAccordionItem.prototype, "expandbutton", 2);
4320
4319
 
4321
4320
  var __defProp$N = Object.defineProperty;
4322
4321
  var __getOwnPropDesc$N = Object.getOwnPropertyDescriptor;
@@ -4621,7 +4620,7 @@ const chevronDown20Filled = html.partial(`<svg
4621
4620
  />
4622
4621
  </svg>`);
4623
4622
  function accordionItemTemplate(options = {}) {
4624
- return html`<div class="heading" part="heading" role="heading" aria-level="${x => x.headinglevel}"><button class="button" part="button" ${ref("expandbutton")} ?disabled="${x => x.disabled ? "true" : void 0}" aria-expanded="${x => x.expanded}" aria-controls="${x => x.id}-panel" id="${x => x.id}"><slot name="heading"></slot></button>${startSlotTemplate(options)}<slot name="marker-expanded">${staticallyCompose(options.expandedIcon)}</slot><slot name="marker-collapsed">${staticallyCompose(options.collapsedIcon)}</slot></div><div class="content" part="content" id="${x => x.id}-panel" role="region" aria-labelledby="${x => x.id}"><slot></slot></div>`;
4623
+ return html`<div class="heading" part="heading" role="heading" aria-level="${x => x.headinglevel}"><button class="button" part="button" id="control" aria-controls="panel" aria-expanded="${x => x.expanded}" ?disabled="${x => x.disabled}" ${ref("expandbutton")}><slot name="heading"></slot></button>${startSlotTemplate(options)}<slot name="marker-expanded">${staticallyCompose(options.expandedIcon)}</slot><slot name="marker-collapsed">${staticallyCompose(options.collapsedIcon)}</slot></div><div class="content" part="content" id="panel" role="region" aria-labelledby="control"><slot></slot></div>`;
4625
4624
  }
4626
4625
  const template$F = accordionItemTemplate({
4627
4626
  collapsedIcon: chevronRight20Filled,
@@ -7162,7 +7161,6 @@ class Drawer extends FASTElement {
7162
7161
  * Handles click events on the drawer.
7163
7162
  */
7164
7163
  clickHandler(event) {
7165
- event.preventDefault();
7166
7164
  if (this.dialog.open && event.target === this.dialog) {
7167
7165
  this.hide();
7168
7166
  }