@fluentui/react-toast 0.0.0-nightly-20240606-0405.1 → 0.0.0-nightly-20240607-0405.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,28 +1,46 @@
1
1
  # Change Log - @fluentui/react-toast
2
2
 
3
- This log was last generated on Thu, 06 Jun 2024 04:19:05 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 07 Jun 2024 04:23:56 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20240606-0405.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-toast_v0.0.0-nightly-20240606-0405.1)
7
+ ## [0.0.0-nightly-20240607-0405.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-toast_v0.0.0-nightly-20240607-0405.1)
8
8
 
9
- Thu, 06 Jun 2024 04:19:05 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-toast_v9.3.44..@fluentui/react-toast_v0.0.0-nightly-20240606-0405.1)
9
+ Fri, 07 Jun 2024 04:23:56 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-toast_v9.3.45..@fluentui/react-toast_v0.0.0-nightly-20240607-0405.1)
11
11
 
12
12
  ### Changes
13
13
 
14
14
  - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
15
- - Bump @fluentui/react-motions-preview to v0.0.0-nightly-20240606-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/c82f39ddadd8c6a0aa908fb61ee7d01e10dac290) by beachball)
16
- - Bump @fluentui/keyboard-keys to v0.0.0-nightly-20240606-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/c82f39ddadd8c6a0aa908fb61ee7d01e10dac290) by beachball)
17
- - Bump @fluentui/react-aria to v0.0.0-nightly-20240606-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/c82f39ddadd8c6a0aa908fb61ee7d01e10dac290) by beachball)
18
- - Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20240606-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/c82f39ddadd8c6a0aa908fb61ee7d01e10dac290) by beachball)
19
- - Bump @fluentui/react-portal to v0.0.0-nightly-20240606-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/c82f39ddadd8c6a0aa908fb61ee7d01e10dac290) by beachball)
20
- - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20240606-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/c82f39ddadd8c6a0aa908fb61ee7d01e10dac290) by beachball)
21
- - Bump @fluentui/react-tabster to v0.0.0-nightly-20240606-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/c82f39ddadd8c6a0aa908fb61ee7d01e10dac290) by beachball)
22
- - Bump @fluentui/react-theme to v0.0.0-nightly-20240606-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/c82f39ddadd8c6a0aa908fb61ee7d01e10dac290) by beachball)
23
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20240606-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/c82f39ddadd8c6a0aa908fb61ee7d01e10dac290) by beachball)
24
- - Bump @fluentui/react-conformance to v0.0.0-nightly-20240606-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/c82f39ddadd8c6a0aa908fb61ee7d01e10dac290) by beachball)
25
- - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20240606-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/c82f39ddadd8c6a0aa908fb61ee7d01e10dac290) by beachball)
15
+ - Bump @fluentui/keyboard-keys to v0.0.0-nightly-20240607-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/e219591328e69d0e326772cfeb1d5634636bb417) by beachball)
16
+ - Bump @fluentui/react-aria to v0.0.0-nightly-20240607-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/e219591328e69d0e326772cfeb1d5634636bb417) by beachball)
17
+ - Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20240607-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/e219591328e69d0e326772cfeb1d5634636bb417) by beachball)
18
+ - Bump @fluentui/react-motion to v0.0.0-nightly-20240607-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/e219591328e69d0e326772cfeb1d5634636bb417) by beachball)
19
+ - Bump @fluentui/react-portal to v0.0.0-nightly-20240607-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/e219591328e69d0e326772cfeb1d5634636bb417) by beachball)
20
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20240607-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/e219591328e69d0e326772cfeb1d5634636bb417) by beachball)
21
+ - Bump @fluentui/react-tabster to v0.0.0-nightly-20240607-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/e219591328e69d0e326772cfeb1d5634636bb417) by beachball)
22
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20240607-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/e219591328e69d0e326772cfeb1d5634636bb417) by beachball)
23
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20240607-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/e219591328e69d0e326772cfeb1d5634636bb417) by beachball)
24
+ - Bump @fluentui/react-conformance to v0.0.0-nightly-20240607-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/e219591328e69d0e326772cfeb1d5634636bb417) by beachball)
25
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20240607-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/e219591328e69d0e326772cfeb1d5634636bb417) by beachball)
26
+
27
+ ## [9.3.45](https://github.com/microsoft/fluentui/tree/@fluentui/react-toast_v9.3.45)
28
+
29
+ Thu, 06 Jun 2024 15:26:41 GMT
30
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-toast_v9.3.44..@fluentui/react-toast_v9.3.45)
31
+
32
+ ### Patches
33
+
34
+ - chore: migrate Toast to new motion library ([PR #31516](https://github.com/microsoft/fluentui/pull/31516) by olfedias@microsoft.com)
35
+ - chore: use @fluentui/react-motion ([PR #31574](https://github.com/microsoft/fluentui/pull/31574) by olfedias@microsoft.com)
36
+ - chore: adopt changes in motion APIs ([PR #31508](https://github.com/microsoft/fluentui/pull/31508) by olfedias@microsoft.com)
37
+ - chore: disable eslint rule. ([PR #30967](https://github.com/microsoft/fluentui/pull/30967) by seanmonahan@microsoft.com)
38
+ - Bump @fluentui/react-aria to v9.12.0 ([PR #31586](https://github.com/microsoft/fluentui/pull/31586) by beachball)
39
+ - Bump @fluentui/react-jsx-runtime to v9.0.39 ([PR #31586](https://github.com/microsoft/fluentui/pull/31586) by beachball)
40
+ - Bump @fluentui/react-motion to v9.0.0 ([PR #31586](https://github.com/microsoft/fluentui/pull/31586) by beachball)
41
+ - Bump @fluentui/react-portal to v9.4.27 ([PR #31586](https://github.com/microsoft/fluentui/pull/31586) by beachball)
42
+ - Bump @fluentui/react-tabster to v9.21.5 ([PR #31586](https://github.com/microsoft/fluentui/pull/31586) by beachball)
43
+ - Bump @fluentui/react-utilities to v9.18.10 ([PR #31586](https://github.com/microsoft/fluentui/pull/31586) by beachball)
26
44
 
27
45
  ## [9.3.44](https://github.com/microsoft/fluentui/tree/@fluentui/react-toast_v9.3.44)
28
46
 
@@ -1,4 +1,4 @@
1
- import { createPresenceComponent } from '@fluentui/react-motions-preview';
1
+ import { createPresenceComponent } from '@fluentui/react-motion';
2
2
  export const ToastContainerMotion = createPresenceComponent(({ element })=>({
3
3
  enter: [
4
4
  {
@@ -1 +1 @@
1
- {"version":3,"sources":["ToastContainerMotion.tsx"],"sourcesContent":["import { createPresenceComponent } from '@fluentui/react-motions-preview';\n\nexport const ToastContainerMotion = createPresenceComponent(({ element }) => ({\n enter: [\n {\n keyframes: [\n { marginTop: 0, minHeight: 0, maxHeight: 0, opacity: 0 },\n { marginTop: '16px', minHeight: 44, maxHeight: `${element.scrollHeight}px`, opacity: 0 },\n ],\n duration: 200,\n },\n {\n keyframes: [{ opacity: 0 }, { opacity: 1 }],\n delay: 200,\n duration: 400,\n },\n ],\n\n exit: [\n {\n keyframes: [\n { marginTop: '16px', minHeight: 44, maxHeight: `${element.scrollHeight}px` },\n { marginTop: 0, minHeight: 0, maxHeight: 0 },\n ],\n delay: 400,\n duration: 200,\n },\n {\n keyframes: [{ opacity: 1 }, { opacity: 0 }],\n duration: 400,\n },\n ],\n}));\n"],"names":["createPresenceComponent","ToastContainerMotion","element","enter","keyframes","marginTop","minHeight","maxHeight","opacity","scrollHeight","duration","delay","exit"],"mappings":"AAAA,SAASA,uBAAuB,QAAQ,kCAAkC;AAE1E,OAAO,MAAMC,uBAAuBD,wBAAwB,CAAC,EAAEE,OAAO,EAAE,GAAM,CAAA;QAC5EC,OAAO;YACL;gBACEC,WAAW;oBACT;wBAAEC,WAAW;wBAAGC,WAAW;wBAAGC,WAAW;wBAAGC,SAAS;oBAAE;oBACvD;wBAAEH,WAAW;wBAAQC,WAAW;wBAAIC,WAAW,CAAC,EAAEL,QAAQO,YAAY,CAAC,EAAE,CAAC;wBAAED,SAAS;oBAAE;iBACxF;gBACDE,UAAU;YACZ;YACA;gBACEN,WAAW;oBAAC;wBAAEI,SAAS;oBAAE;oBAAG;wBAAEA,SAAS;oBAAE;iBAAE;gBAC3CG,OAAO;gBACPD,UAAU;YACZ;SACD;QAEDE,MAAM;YACJ;gBACER,WAAW;oBACT;wBAAEC,WAAW;wBAAQC,WAAW;wBAAIC,WAAW,CAAC,EAAEL,QAAQO,YAAY,CAAC,EAAE,CAAC;oBAAC;oBAC3E;wBAAEJ,WAAW;wBAAGC,WAAW;wBAAGC,WAAW;oBAAE;iBAC5C;gBACDI,OAAO;gBACPD,UAAU;YACZ;YACA;gBACEN,WAAW;oBAAC;wBAAEI,SAAS;oBAAE;oBAAG;wBAAEA,SAAS;oBAAE;iBAAE;gBAC3CE,UAAU;YACZ;SACD;IACH,CAAA,GAAI"}
1
+ {"version":3,"sources":["ToastContainerMotion.tsx"],"sourcesContent":["import { createPresenceComponent } from '@fluentui/react-motion';\n\nexport const ToastContainerMotion = createPresenceComponent(({ element }) => ({\n enter: [\n {\n keyframes: [\n { marginTop: 0, minHeight: 0, maxHeight: 0, opacity: 0 },\n { marginTop: '16px', minHeight: 44, maxHeight: `${element.scrollHeight}px`, opacity: 0 },\n ],\n duration: 200,\n },\n {\n keyframes: [{ opacity: 0 }, { opacity: 1 }],\n delay: 200,\n duration: 400,\n },\n ],\n\n exit: [\n {\n keyframes: [\n { marginTop: '16px', minHeight: 44, maxHeight: `${element.scrollHeight}px` },\n { marginTop: 0, minHeight: 0, maxHeight: 0 },\n ],\n delay: 400,\n duration: 200,\n },\n {\n keyframes: [{ opacity: 1 }, { opacity: 0 }],\n duration: 400,\n },\n ],\n}));\n"],"names":["createPresenceComponent","ToastContainerMotion","element","enter","keyframes","marginTop","minHeight","maxHeight","opacity","scrollHeight","duration","delay","exit"],"mappings":"AAAA,SAASA,uBAAuB,QAAQ,yBAAyB;AAEjE,OAAO,MAAMC,uBAAuBD,wBAAwB,CAAC,EAAEE,OAAO,EAAE,GAAM,CAAA;QAC5EC,OAAO;YACL;gBACEC,WAAW;oBACT;wBAAEC,WAAW;wBAAGC,WAAW;wBAAGC,WAAW;wBAAGC,SAAS;oBAAE;oBACvD;wBAAEH,WAAW;wBAAQC,WAAW;wBAAIC,WAAW,CAAC,EAAEL,QAAQO,YAAY,CAAC,EAAE,CAAC;wBAAED,SAAS;oBAAE;iBACxF;gBACDE,UAAU;YACZ;YACA;gBACEN,WAAW;oBAAC;wBAAEI,SAAS;oBAAE;oBAAG;wBAAEA,SAAS;oBAAE;iBAAE;gBAC3CG,OAAO;gBACPD,UAAU;YACZ;SACD;QAEDE,MAAM;YACJ;gBACER,WAAW;oBACT;wBAAEC,WAAW;wBAAQC,WAAW;wBAAIC,WAAW,CAAC,EAAEL,QAAQO,YAAY,CAAC,EAAE,CAAC;oBAAC;oBAC3E;wBAAEJ,WAAW;wBAAGC,WAAW;wBAAGC,WAAW;oBAAE;iBAC5C;gBACDI,OAAO;gBACPD,UAAU;YACZ;YACA;gBACEN,WAAW;oBAAC;wBAAEI,SAAS;oBAAE;oBAAG;wBAAEA,SAAS;oBAAE;iBAAE;gBAC3CE,UAAU;YACZ;SACD;IACH,CAAA,GAAI"}
@@ -8,8 +8,8 @@ Object.defineProperty(exports, "ToastContainerMotion", {
8
8
  return ToastContainerMotion;
9
9
  }
10
10
  });
11
- const _reactmotionspreview = require("@fluentui/react-motions-preview");
12
- const ToastContainerMotion = (0, _reactmotionspreview.createPresenceComponent)(({ element })=>({
11
+ const _reactmotion = require("@fluentui/react-motion");
12
+ const ToastContainerMotion = (0, _reactmotion.createPresenceComponent)(({ element })=>({
13
13
  enter: [
14
14
  {
15
15
  keyframes: [
@@ -1 +1 @@
1
- {"version":3,"sources":["ToastContainerMotion.js"],"sourcesContent":["import { createPresenceComponent } from '@fluentui/react-motions-preview';\nexport const ToastContainerMotion = createPresenceComponent(({ element })=>({\n enter: [\n {\n keyframes: [\n {\n marginTop: 0,\n minHeight: 0,\n maxHeight: 0,\n opacity: 0\n },\n {\n marginTop: '16px',\n minHeight: 44,\n maxHeight: `${element.scrollHeight}px`,\n opacity: 0\n }\n ],\n duration: 200\n },\n {\n keyframes: [\n {\n opacity: 0\n },\n {\n opacity: 1\n }\n ],\n delay: 200,\n duration: 400\n }\n ],\n exit: [\n {\n keyframes: [\n {\n marginTop: '16px',\n minHeight: 44,\n maxHeight: `${element.scrollHeight}px`\n },\n {\n marginTop: 0,\n minHeight: 0,\n maxHeight: 0\n }\n ],\n delay: 400,\n duration: 200\n },\n {\n keyframes: [\n {\n opacity: 1\n },\n {\n opacity: 0\n }\n ],\n duration: 400\n }\n ]\n }));\n"],"names":["ToastContainerMotion","createPresenceComponent","element","enter","keyframes","marginTop","minHeight","maxHeight","opacity","scrollHeight","duration","delay","exit"],"mappings":";;;;+BACaA;;;eAAAA;;;qCAD2B;AACjC,MAAMA,uBAAuBC,IAAAA,4CAAuB,EAAC,CAAC,EAAEC,OAAO,EAAE,GAAI,CAAA;QACpEC,OAAO;YACH;gBACIC,WAAW;oBACP;wBACIC,WAAW;wBACXC,WAAW;wBACXC,WAAW;wBACXC,SAAS;oBACb;oBACA;wBACIH,WAAW;wBACXC,WAAW;wBACXC,WAAW,CAAC,EAAEL,QAAQO,YAAY,CAAC,EAAE,CAAC;wBACtCD,SAAS;oBACb;iBACH;gBACDE,UAAU;YACd;YACA;gBACIN,WAAW;oBACP;wBACII,SAAS;oBACb;oBACA;wBACIA,SAAS;oBACb;iBACH;gBACDG,OAAO;gBACPD,UAAU;YACd;SACH;QACDE,MAAM;YACF;gBACIR,WAAW;oBACP;wBACIC,WAAW;wBACXC,WAAW;wBACXC,WAAW,CAAC,EAAEL,QAAQO,YAAY,CAAC,EAAE,CAAC;oBAC1C;oBACA;wBACIJ,WAAW;wBACXC,WAAW;wBACXC,WAAW;oBACf;iBACH;gBACDI,OAAO;gBACPD,UAAU;YACd;YACA;gBACIN,WAAW;oBACP;wBACII,SAAS;oBACb;oBACA;wBACIA,SAAS;oBACb;iBACH;gBACDE,UAAU;YACd;SACH;IACL,CAAA"}
1
+ {"version":3,"sources":["ToastContainerMotion.js"],"sourcesContent":["import { createPresenceComponent } from '@fluentui/react-motion';\nexport const ToastContainerMotion = createPresenceComponent(({ element })=>({\n enter: [\n {\n keyframes: [\n {\n marginTop: 0,\n minHeight: 0,\n maxHeight: 0,\n opacity: 0\n },\n {\n marginTop: '16px',\n minHeight: 44,\n maxHeight: `${element.scrollHeight}px`,\n opacity: 0\n }\n ],\n duration: 200\n },\n {\n keyframes: [\n {\n opacity: 0\n },\n {\n opacity: 1\n }\n ],\n delay: 200,\n duration: 400\n }\n ],\n exit: [\n {\n keyframes: [\n {\n marginTop: '16px',\n minHeight: 44,\n maxHeight: `${element.scrollHeight}px`\n },\n {\n marginTop: 0,\n minHeight: 0,\n maxHeight: 0\n }\n ],\n delay: 400,\n duration: 200\n },\n {\n keyframes: [\n {\n opacity: 1\n },\n {\n opacity: 0\n }\n ],\n duration: 400\n }\n ]\n }));\n"],"names":["ToastContainerMotion","createPresenceComponent","element","enter","keyframes","marginTop","minHeight","maxHeight","opacity","scrollHeight","duration","delay","exit"],"mappings":";;;;+BACaA;;;eAAAA;;;6BAD2B;AACjC,MAAMA,uBAAuBC,IAAAA,oCAAuB,EAAC,CAAC,EAAEC,OAAO,EAAE,GAAI,CAAA;QACpEC,OAAO;YACH;gBACIC,WAAW;oBACP;wBACIC,WAAW;wBACXC,WAAW;wBACXC,WAAW;wBACXC,SAAS;oBACb;oBACA;wBACIH,WAAW;wBACXC,WAAW;wBACXC,WAAW,CAAC,EAAEL,QAAQO,YAAY,CAAC,EAAE,CAAC;wBACtCD,SAAS;oBACb;iBACH;gBACDE,UAAU;YACd;YACA;gBACIN,WAAW;oBACP;wBACII,SAAS;oBACb;oBACA;wBACIA,SAAS;oBACb;iBACH;gBACDG,OAAO;gBACPD,UAAU;YACd;SACH;QACDE,MAAM;YACF;gBACIR,WAAW;oBACP;wBACIC,WAAW;wBACXC,WAAW;wBACXC,WAAW,CAAC,EAAEL,QAAQO,YAAY,CAAC,EAAE,CAAC;oBAC1C;oBACA;wBACIJ,WAAW;wBACXC,WAAW;wBACXC,WAAW;oBACf;iBACH;gBACDI,OAAO;gBACPD,UAAU;YACd;YACA;gBACIN,WAAW;oBACP;wBACII,SAAS;oBACb;oBACA;wBACIA,SAAS;oBACb;iBACH;gBACDE,UAAU;YACd;SACH;IACL,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-toast",
3
- "version": "0.0.0-nightly-20240606-0405.1",
3
+ "version": "0.0.0-nightly-20240607-0405.1",
4
4
  "description": "Toast component for Fluent UI",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -29,22 +29,22 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "@fluentui/eslint-plugin": "*",
32
- "@fluentui/react-conformance": "0.0.0-nightly-20240606-0405.1",
33
- "@fluentui/react-conformance-griffel": "0.0.0-nightly-20240606-0405.1",
32
+ "@fluentui/react-conformance": "0.0.0-nightly-20240607-0405.1",
33
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly-20240607-0405.1",
34
34
  "@fluentui/scripts-api-extractor": "*",
35
35
  "@fluentui/scripts-tasks": "*"
36
36
  },
37
37
  "dependencies": {
38
- "@fluentui/react-motions-preview": "0.0.0-nightly-20240606-0405.1",
39
- "@fluentui/keyboard-keys": "0.0.0-nightly-20240606-0405.1",
40
- "@fluentui/react-aria": "0.0.0-nightly-20240606-0405.1",
38
+ "@fluentui/keyboard-keys": "0.0.0-nightly-20240607-0405.1",
39
+ "@fluentui/react-aria": "0.0.0-nightly-20240607-0405.1",
41
40
  "@fluentui/react-icons": "^2.0.239",
42
- "@fluentui/react-jsx-runtime": "0.0.0-nightly-20240606-0405.1",
43
- "@fluentui/react-portal": "0.0.0-nightly-20240606-0405.1",
44
- "@fluentui/react-shared-contexts": "0.0.0-nightly-20240606-0405.1",
45
- "@fluentui/react-tabster": "0.0.0-nightly-20240606-0405.1",
46
- "@fluentui/react-theme": "0.0.0-nightly-20240606-0405.1",
47
- "@fluentui/react-utilities": "0.0.0-nightly-20240606-0405.1",
41
+ "@fluentui/react-jsx-runtime": "0.0.0-nightly-20240607-0405.1",
42
+ "@fluentui/react-motion": "0.0.0-nightly-20240607-0405.1",
43
+ "@fluentui/react-portal": "0.0.0-nightly-20240607-0405.1",
44
+ "@fluentui/react-shared-contexts": "0.0.0-nightly-20240607-0405.1",
45
+ "@fluentui/react-tabster": "0.0.0-nightly-20240607-0405.1",
46
+ "@fluentui/react-theme": "0.0.0-nightly-20240607-0405.1",
47
+ "@fluentui/react-utilities": "0.0.0-nightly-20240607-0405.1",
48
48
  "@griffel/react": "^1.5.22",
49
49
  "@swc/helpers": "^0.5.1"
50
50
  },