@fluentui/web-components 2.5.1 → 2.5.2

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.json CHANGED
@@ -2,7 +2,37 @@
2
2
  "name": "@fluentui/web-components",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 17 May 2022 07:43:36 GMT",
5
+ "date": "Tue, 07 Jun 2022 07:46:02 GMT",
6
+ "tag": "@fluentui/web-components_v2.5.2",
7
+ "version": "2.5.2",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "47367562+bheston@users.noreply.github.com",
12
+ "package": "@fluentui/web-components",
13
+ "commit": "8949b3e8dcdb3dcb4b987fcb08ff48e549133828",
14
+ "comment": "(web-components) Fix issue loading Color Explorer values"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Thu, 02 Jun 2022 07:38:04 GMT",
21
+ "tag": "@fluentui/web-components_v2.5.1",
22
+ "version": "2.5.1",
23
+ "comments": {
24
+ "none": [
25
+ {
26
+ "author": "mgodbolt@microsoft.com",
27
+ "package": "@fluentui/web-components",
28
+ "commit": "d989caf6db389bb92221f372c8028cf7a85210b4",
29
+ "comment": "upgrade storybook to 6.5"
30
+ }
31
+ ]
32
+ }
33
+ },
34
+ {
35
+ "date": "Tue, 17 May 2022 07:45:01 GMT",
6
36
  "tag": "@fluentui/web-components_v2.5.1",
7
37
  "version": "2.5.1",
8
38
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,21 @@
1
1
  # Change Log - @fluentui/web-components
2
2
 
3
- This log was last generated on Tue, 17 May 2022 07:43:36 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 07 Jun 2022 07:46:02 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [2.5.2](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v2.5.2)
8
+
9
+ Tue, 07 Jun 2022 07:46:02 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v2.5.1..@fluentui/web-components_v2.5.2)
11
+
12
+ ### Patches
13
+
14
+ - (web-components) Fix issue loading Color Explorer values ([PR #23392](https://github.com/microsoft/fluentui/pull/23392) by 47367562+bheston@users.noreply.github.com)
15
+
7
16
  ## [2.5.1](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v2.5.1)
8
17
 
9
- Tue, 17 May 2022 07:43:36 GMT
18
+ Tue, 17 May 2022 07:45:01 GMT
10
19
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v2.5.0..@fluentui/web-components_v2.5.1)
11
20
 
12
21
  ### Patches
@@ -6,6 +6,5 @@ export declare class AppColorBlock extends FASTElement {
6
6
  color: string;
7
7
  private colorChanged;
8
8
  layerName?: string;
9
- connectedCallback(): void;
10
9
  private updateColor;
11
10
  }
@@ -377,10 +377,6 @@ const styles = css `
377
377
  `;
378
378
  let AppColorBlock = class AppColorBlock extends FASTElement {
379
379
  colorChanged() {
380
- this.updateColor();
381
- }
382
- connectedCallback() {
383
- super.connectedCallback();
384
380
  DOM.queueUpdate(() => this.updateColor());
385
381
  }
386
382
  updateColor() {
@@ -70,6 +70,12 @@ let AppSwatch = class AppSwatch extends FoundationElement {
70
70
  }
71
71
  connectedCallback() {
72
72
  super.connectedCallback();
73
+ const fillColorChangeHandler = () => {
74
+ this.updateObservables();
75
+ };
76
+ fillColor.subscribe({
77
+ handleChange: fillColorChangeHandler,
78
+ }, this);
73
79
  this.updateObservables();
74
80
  }
75
81
  updateObservables() {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fluentui/web-components",
3
3
  "description": "A library of Fluent Web Components",
4
4
  "sideEffects": false,
5
- "version": "2.5.1",
5
+ "version": "2.5.2",
6
6
  "author": {
7
7
  "name": "Microsoft",
8
8
  "url": "https://discord.gg/FcSNfg4"
@@ -47,7 +47,7 @@
47
47
  "test-firefox:verbose": "karma start karma.conf.js --browsers=FirefoxHeadless --single-run --coverage --reporter=mocha"
48
48
  },
49
49
  "devDependencies": {
50
- "@storybook/html": "6.4.19",
50
+ "@storybook/html": "6.5.5",
51
51
  "@types/chai": "^4.2.11",
52
52
  "@types/chai-spies": "^1.0.1",
53
53
  "@types/karma": "^5.0.0",