@fluentui/web-components 3.0.3 → 3.1.1

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,19 +1,37 @@
1
1
  # Change Log - @fluentui/web-components
2
2
 
3
- This log was last generated on Wed, 05 Aug 2026 04:08:29 GMT and should not be manually modified.
3
+ <!-- This log was last generated on Wed, 19 Aug 2026 04:08:15 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [3.1.1](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.1.1)
8
+
9
+ Wed, 19 Aug 2026 04:08:15 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.1.0..@fluentui/web-components_v3.1.1)
11
+
12
+ ### Patches
13
+
14
+ - fix: remove padding-block-start in multiline dismiss slot to fix alignment ([PR #36547](https://github.com/microsoft/fluentui/pull/36547) by jibinjose884@gmail.com)
15
+
16
+ ## [3.1.0](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.1.0)
17
+
18
+ Thu, 13 Aug 2026 04:10:22 GMT
19
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.3..@fluentui/web-components_v3.1.0)
20
+
21
+ ### Minor changes
22
+
23
+ - Remove max-width from MessageBar component ([PR #36521](https://github.com/microsoft/fluentui/pull/36521) by jolud@microsoft.com)
24
+
7
25
  ## [3.0.3](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.3)
8
26
 
9
- Wed, 05 Aug 2026 04:08:29 GMT
27
+ Mon, 10 Aug 2026 17:06:42 GMT
10
28
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.2..@fluentui/web-components_v3.0.3)
11
29
 
12
30
  ### Patches
13
31
 
32
+ - remove using data-indent for styling ([PR #36457](https://github.com/microsoft/fluentui/pull/36457) by machi@microsoft.com)
14
33
  - make native disabled state support SSR better ([PR #36441](https://github.com/microsoft/fluentui/pull/36441) by machi@microsoft.com)
15
34
  - fix: select a tab when click() is called on it ([PR #36395](https://github.com/microsoft/fluentui/pull/36395) by machi@microsoft.com)
16
- - remove using data-indent for styling ([PR #36457](https://github.com/microsoft/fluentui/pull/36457) by machi@microsoft.com)
17
35
 
18
36
  ## [3.0.2](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.2)
19
37
 
@@ -28281,7 +28281,7 @@
28281
28281
  },
28282
28282
  {
28283
28283
  "kind": "javascript-module",
28284
- "path": "src/accordion/accordion.definition-async.ts",
28284
+ "path": "src/accordion-item/accordion-item.definition-async.ts",
28285
28285
  "declarations": [
28286
28286
  {
28287
28287
  "kind": "variable",
@@ -28290,7 +28290,7 @@
28290
28290
  "text": "PartialFASTElementDefinition"
28291
28291
  },
28292
28292
  "default": "{ name: tagName, registry: FluentDesignSystem.registry, template: declarativeTemplate(), }",
28293
- "description": "The async definition configuration for the `<fluent-accordion>` element.",
28293
+ "description": "The async definition configuration for the `<fluent-accordion-item>` element.",
28294
28294
  "privacy": "public"
28295
28295
  }
28296
28296
  ],
@@ -28300,20 +28300,20 @@
28300
28300
  "name": "declarativeDefinition",
28301
28301
  "declaration": {
28302
28302
  "name": "declarativeDefinition",
28303
- "module": "src/accordion/accordion.definition-async.ts"
28303
+ "module": "src/accordion-item/accordion-item.definition-async.ts"
28304
28304
  }
28305
28305
  }
28306
28306
  ]
28307
28307
  },
28308
28308
  {
28309
28309
  "kind": "javascript-module",
28310
- "path": "src/accordion/define-async.ts",
28310
+ "path": "src/accordion-item/define-async.ts",
28311
28311
  "declarations": [],
28312
28312
  "exports": []
28313
28313
  },
28314
28314
  {
28315
28315
  "kind": "javascript-module",
28316
- "path": "src/anchor-button/anchor-button.definition-async.ts",
28316
+ "path": "src/accordion/accordion.definition-async.ts",
28317
28317
  "declarations": [
28318
28318
  {
28319
28319
  "kind": "variable",
@@ -28322,7 +28322,7 @@
28322
28322
  "text": "PartialFASTElementDefinition"
28323
28323
  },
28324
28324
  "default": "{ name: tagName, registry: FluentDesignSystem.registry, template: declarativeTemplate(), }",
28325
- "description": "The async definition configuration for the `<fluent-anchor-button>` element.",
28325
+ "description": "The async definition configuration for the `<fluent-accordion>` element.",
28326
28326
  "privacy": "public"
28327
28327
  }
28328
28328
  ],
@@ -28332,20 +28332,20 @@
28332
28332
  "name": "declarativeDefinition",
28333
28333
  "declaration": {
28334
28334
  "name": "declarativeDefinition",
28335
- "module": "src/anchor-button/anchor-button.definition-async.ts"
28335
+ "module": "src/accordion/accordion.definition-async.ts"
28336
28336
  }
28337
28337
  }
28338
28338
  ]
28339
28339
  },
28340
28340
  {
28341
28341
  "kind": "javascript-module",
28342
- "path": "src/anchor-button/define-async.ts",
28342
+ "path": "src/accordion/define-async.ts",
28343
28343
  "declarations": [],
28344
28344
  "exports": []
28345
28345
  },
28346
28346
  {
28347
28347
  "kind": "javascript-module",
28348
- "path": "src/accordion-item/accordion-item.definition-async.ts",
28348
+ "path": "src/avatar/avatar.definition-async.ts",
28349
28349
  "declarations": [
28350
28350
  {
28351
28351
  "kind": "variable",
@@ -28354,7 +28354,7 @@
28354
28354
  "text": "PartialFASTElementDefinition"
28355
28355
  },
28356
28356
  "default": "{ name: tagName, registry: FluentDesignSystem.registry, template: declarativeTemplate(), }",
28357
- "description": "The async definition configuration for the `<fluent-accordion-item>` element.",
28357
+ "description": "The async definition configuration for the `<fluent-avatar>` element.",
28358
28358
  "privacy": "public"
28359
28359
  }
28360
28360
  ],
@@ -28364,20 +28364,20 @@
28364
28364
  "name": "declarativeDefinition",
28365
28365
  "declaration": {
28366
28366
  "name": "declarativeDefinition",
28367
- "module": "src/accordion-item/accordion-item.definition-async.ts"
28367
+ "module": "src/avatar/avatar.definition-async.ts"
28368
28368
  }
28369
28369
  }
28370
28370
  ]
28371
28371
  },
28372
28372
  {
28373
28373
  "kind": "javascript-module",
28374
- "path": "src/accordion-item/define-async.ts",
28374
+ "path": "src/avatar/define-async.ts",
28375
28375
  "declarations": [],
28376
28376
  "exports": []
28377
28377
  },
28378
28378
  {
28379
28379
  "kind": "javascript-module",
28380
- "path": "src/avatar/avatar.definition-async.ts",
28380
+ "path": "src/badge/badge.definition-async.ts",
28381
28381
  "declarations": [
28382
28382
  {
28383
28383
  "kind": "variable",
@@ -28386,7 +28386,7 @@
28386
28386
  "text": "PartialFASTElementDefinition"
28387
28387
  },
28388
28388
  "default": "{ name: tagName, registry: FluentDesignSystem.registry, template: declarativeTemplate(), }",
28389
- "description": "The async definition configuration for the `<fluent-avatar>` element.",
28389
+ "description": "The async definition configuration for the `<fluent-badge>` element.",
28390
28390
  "privacy": "public"
28391
28391
  }
28392
28392
  ],
@@ -28396,14 +28396,14 @@
28396
28396
  "name": "declarativeDefinition",
28397
28397
  "declaration": {
28398
28398
  "name": "declarativeDefinition",
28399
- "module": "src/avatar/avatar.definition-async.ts"
28399
+ "module": "src/badge/badge.definition-async.ts"
28400
28400
  }
28401
28401
  }
28402
28402
  ]
28403
28403
  },
28404
28404
  {
28405
28405
  "kind": "javascript-module",
28406
- "path": "src/avatar/define-async.ts",
28406
+ "path": "src/badge/define-async.ts",
28407
28407
  "declarations": [],
28408
28408
  "exports": []
28409
28409
  },
@@ -28441,7 +28441,7 @@
28441
28441
  },
28442
28442
  {
28443
28443
  "kind": "javascript-module",
28444
- "path": "src/badge/badge.definition-async.ts",
28444
+ "path": "src/anchor-button/anchor-button.definition-async.ts",
28445
28445
  "declarations": [
28446
28446
  {
28447
28447
  "kind": "variable",
@@ -28450,7 +28450,7 @@
28450
28450
  "text": "PartialFASTElementDefinition"
28451
28451
  },
28452
28452
  "default": "{ name: tagName, registry: FluentDesignSystem.registry, template: declarativeTemplate(), }",
28453
- "description": "The async definition configuration for the `<fluent-badge>` element.",
28453
+ "description": "The async definition configuration for the `<fluent-anchor-button>` element.",
28454
28454
  "privacy": "public"
28455
28455
  }
28456
28456
  ],
@@ -28460,14 +28460,14 @@
28460
28460
  "name": "declarativeDefinition",
28461
28461
  "declaration": {
28462
28462
  "name": "declarativeDefinition",
28463
- "module": "src/badge/badge.definition-async.ts"
28463
+ "module": "src/anchor-button/anchor-button.definition-async.ts"
28464
28464
  }
28465
28465
  }
28466
28466
  ]
28467
28467
  },
28468
28468
  {
28469
28469
  "kind": "javascript-module",
28470
- "path": "src/badge/define-async.ts",
28470
+ "path": "src/anchor-button/define-async.ts",
28471
28471
  "declarations": [],
28472
28472
  "exports": []
28473
28473
  },
@@ -47,7 +47,6 @@
47
47
 
48
48
  .content {
49
49
  grid-area: body;
50
- max-width: 520px;
51
50
  padding-block: var(--spacingVerticalMNudge);
52
51
  padding-inline: 0;
53
52
  }
@@ -1,5 +1,5 @@
1
1
  import { css } from '@microsoft/fast-element';
2
- import { borderRadiusMedium, colorNeutralBackground3, colorNeutralForeground3, colorNeutralStroke1, colorPaletteDarkOrangeBackground1, colorPaletteDarkOrangeBorder1, colorPaletteGreenBackground1, colorPaletteGreenBorder1, colorPaletteRedBackground1, colorPaletteRedBorder1, fontFamilyBase, fontSizeBase200, lineHeightBase200, spacingHorizontalM, spacingHorizontalS, spacingVerticalMNudge, spacingVerticalS, } from '../theme/design-tokens.js';
2
+ import { borderRadiusMedium, colorNeutralBackground3, colorNeutralForeground3, colorNeutralStroke1, colorPaletteDarkOrangeBackground1, colorPaletteDarkOrangeBorder1, colorPaletteGreenBackground1, colorPaletteGreenBorder1, colorPaletteRedBackground1, colorPaletteRedBorder1, fontFamilyBase, fontSizeBase200, lineHeightBase200, spacingHorizontalM, spacingHorizontalS, spacingVerticalMNudge, } from '../theme/design-tokens.js';
3
3
  /**
4
4
  * Styles for the MessageBar component.
5
5
  *
@@ -55,7 +55,6 @@ export const styles = css `
55
55
 
56
56
  .content {
57
57
  grid-area: body;
58
- max-width: 520px;
59
58
  padding-block: ${spacingVerticalMNudge};
60
59
  padding-inline: 0;
61
60
  }
@@ -98,7 +97,6 @@ export const styles = css `
98
97
  :host([layout='multiline']) ::slotted([slot='dismiss']) {
99
98
  align-items: start;
100
99
  height: 100%;
101
- padding-block-start: ${spacingVerticalS};
102
100
  }
103
101
 
104
102
  ::slotted(*) {
@@ -1 +1 @@
1
- {"version":3,"file":"message-bar.styles.js","sourceRoot":"","sources":["../../../src/message-bar/message-bar.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,EACnB,iCAAiC,EACjC,6BAA6B,EAC7B,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,sBAAsB,EACtB,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,2BAA2B,CAAC;AAEnC;;;;GAIG;AACH,MAAM,CAAC,MAAM,MAAM,GAAkB,GAAG,CAAA;;;;mBAIrB,cAAc;iBAChB,eAAe;mBACb,iBAAiB;;kBAElB,uBAAuB;aAC5B,uBAAuB;wBACZ,mBAAmB;sBACrB,kBAAkB;qBACnB,kBAAkB;;;;;;;;;;;;wBAYf,4BAA4B;oBAChC,wBAAwB;;;;wBAIpB,iCAAiC;oBACrC,6BAA6B;;;;wBAIzB,0BAA0B;oBAC9B,sBAAsB;;;;;;;;;qBASrB,qBAAqB;sBACpB,kBAAkB;;;;;;qBAMnB,qBAAqB;;;;;;;;;;;;;aAa7B,uBAAuB;yBACX,kBAAkB;;;;;;;;;;;;;;;;yBAgBlB,kBAAkB;WAChC,kBAAkB;;;;0BAIH,qBAAqB;;;;;;;2BAOpB,gBAAgB;;;;;;CAM1C,CAAC"}
1
+ {"version":3,"file":"message-bar.styles.js","sourceRoot":"","sources":["../../../src/message-bar/message-bar.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,EACnB,iCAAiC,EACjC,6BAA6B,EAC7B,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,sBAAsB,EACtB,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,GAEtB,MAAM,2BAA2B,CAAC;AAEnC;;;;GAIG;AACH,MAAM,CAAC,MAAM,MAAM,GAAkB,GAAG,CAAA;;;;mBAIrB,cAAc;iBAChB,eAAe;mBACb,iBAAiB;;kBAElB,uBAAuB;aAC5B,uBAAuB;wBACZ,mBAAmB;sBACrB,kBAAkB;qBACnB,kBAAkB;;;;;;;;;;;;wBAYf,4BAA4B;oBAChC,wBAAwB;;;;wBAIpB,iCAAiC;oBACrC,6BAA6B;;;;wBAIzB,0BAA0B;oBAC9B,sBAAsB;;;;;;;;;qBASrB,qBAAqB;sBACpB,kBAAkB;;;;;qBAKnB,qBAAqB;;;;;;;;;;;;;aAa7B,uBAAuB;yBACX,kBAAkB;;;;;;;;;;;;;;;;yBAgBlB,kBAAkB;WAChC,kBAAkB;;;;0BAIH,qBAAqB;;;;;;;;;;;;CAY9C,CAAC"}
@@ -10618,7 +10618,7 @@ const MessageBarIntent = {
10618
10618
  };
10619
10619
  const tagName$g = `${FluentDesignSystem.prefix}-message-bar`;
10620
10620
 
10621
- const styles$h = css`:host{display:grid;box-sizing:border-box;font-family:${fontFamilyBase};font-size:${fontSizeBase200};line-height:${lineHeightBase200};width:100%;background:${colorNeutralBackground3};color:${colorNeutralForeground3};border:1px solid ${colorNeutralStroke1};padding-inline:${spacingHorizontalM};border-radius:${borderRadiusMedium};min-height:36px;align-items:center;grid-template:'icon body actions dismiss'/auto 1fr auto auto;contain:layout style paint}:host([shape='square']){border-radius:0}:host([intent='success']){background-color:${colorPaletteGreenBackground1};border-color:${colorPaletteGreenBorder1}}:host([intent='warning']){background-color:${colorPaletteDarkOrangeBackground1};border-color:${colorPaletteDarkOrangeBorder1}}:host([intent='error']){background-color:${colorPaletteRedBackground1};border-color:${colorPaletteRedBorder1}}:host([layout='multiline']){grid-template-areas:'icon body dismiss' 'actions actions actions';grid-template-columns:auto 1fr auto;grid-template-rows:auto auto 1fr;padding-block:${spacingVerticalMNudge};padding-inline:${spacingHorizontalM}}.content{grid-area:body;max-width:520px;padding-block:${spacingVerticalMNudge};padding-inline:0}:host([layout='multiline']) .content{padding:0}::slotted([slot='icon']){display:flex;grid-area:icon;flex-direction:column;align-items:center;color:${colorNeutralForeground3};margin-inline-end:${spacingHorizontalS}}:host([layout='multiline']) ::slotted([slot='icon']){align-items:start;height:100%}::slotted([slot='dismiss']){grid-area:dismiss}.actions{grid-area:actions;display:flex;justify-self:end;margin-inline-end:${spacingHorizontalS};gap:${spacingHorizontalS}}:host([layout='multiline']) .actions{margin-block-start:${spacingVerticalMNudge};margin-inline-end:0}:host([layout='multiline']) ::slotted([slot='dismiss']){align-items:start;height:100%;padding-block-start:${spacingVerticalS}}::slotted(*){font-size:inherit}`;
10621
+ const styles$h = css`:host{display:grid;box-sizing:border-box;font-family:${fontFamilyBase};font-size:${fontSizeBase200};line-height:${lineHeightBase200};width:100%;background:${colorNeutralBackground3};color:${colorNeutralForeground3};border:1px solid ${colorNeutralStroke1};padding-inline:${spacingHorizontalM};border-radius:${borderRadiusMedium};min-height:36px;align-items:center;grid-template:'icon body actions dismiss'/auto 1fr auto auto;contain:layout style paint}:host([shape='square']){border-radius:0}:host([intent='success']){background-color:${colorPaletteGreenBackground1};border-color:${colorPaletteGreenBorder1}}:host([intent='warning']){background-color:${colorPaletteDarkOrangeBackground1};border-color:${colorPaletteDarkOrangeBorder1}}:host([intent='error']){background-color:${colorPaletteRedBackground1};border-color:${colorPaletteRedBorder1}}:host([layout='multiline']){grid-template-areas:'icon body dismiss' 'actions actions actions';grid-template-columns:auto 1fr auto;grid-template-rows:auto auto 1fr;padding-block:${spacingVerticalMNudge};padding-inline:${spacingHorizontalM}}.content{grid-area:body;padding-block:${spacingVerticalMNudge};padding-inline:0}:host([layout='multiline']) .content{padding:0}::slotted([slot='icon']){display:flex;grid-area:icon;flex-direction:column;align-items:center;color:${colorNeutralForeground3};margin-inline-end:${spacingHorizontalS}}:host([layout='multiline']) ::slotted([slot='icon']){align-items:start;height:100%}::slotted([slot='dismiss']){grid-area:dismiss}.actions{grid-area:actions;display:flex;justify-self:end;margin-inline-end:${spacingHorizontalS};gap:${spacingHorizontalS}}:host([layout='multiline']) .actions{margin-block-start:${spacingVerticalMNudge};margin-inline-end:0}:host([layout='multiline']) ::slotted([slot='dismiss']){align-items:start;height:100%}::slotted(*){font-size:inherit}`;
10622
10622
 
10623
10623
  function messageBarTemplate() {
10624
10624
  return html`<slot name=icon></slot><div class=content><slot></slot></div><div class=actions><slot name=actions></slot></div><slot name=dismiss></slot>`;