@fluentui/react-toast 9.3.60 → 9.3.61

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.
Files changed (78) hide show
  1. package/CHANGELOG.md +19 -2
  2. package/lib/AriaLive.js +1 -1
  3. package/lib/AriaLive.js.map +1 -1
  4. package/lib/Toast.js +1 -1
  5. package/lib/Toast.js.map +1 -1
  6. package/lib/ToastBody.js +1 -1
  7. package/lib/ToastBody.js.map +1 -1
  8. package/lib/ToastContainer.js +1 -1
  9. package/lib/ToastContainer.js.map +1 -1
  10. package/lib/ToastFooter.js +1 -1
  11. package/lib/ToastFooter.js.map +1 -1
  12. package/lib/ToastTitle.js +1 -1
  13. package/lib/ToastTitle.js.map +1 -1
  14. package/lib/ToastTrigger.js +1 -1
  15. package/lib/ToastTrigger.js.map +1 -1
  16. package/lib/Toaster.js +1 -1
  17. package/lib/Toaster.js.map +1 -1
  18. package/lib/components/AriaLive/index.js +4 -5
  19. package/lib/components/AriaLive/index.js.map +1 -1
  20. package/lib/components/Timer/index.js +1 -1
  21. package/lib/components/Timer/index.js.map +1 -1
  22. package/lib/components/Toast/index.js +4 -5
  23. package/lib/components/Toast/index.js.map +1 -1
  24. package/lib/components/ToastBody/index.js +4 -5
  25. package/lib/components/ToastBody/index.js.map +1 -1
  26. package/lib/components/ToastContainer/index.js +5 -6
  27. package/lib/components/ToastContainer/index.js.map +1 -1
  28. package/lib/components/ToastFooter/index.js +4 -5
  29. package/lib/components/ToastFooter/index.js.map +1 -1
  30. package/lib/components/ToastTitle/index.js +4 -5
  31. package/lib/components/ToastTitle/index.js.map +1 -1
  32. package/lib/components/ToastTrigger/index.js +3 -4
  33. package/lib/components/ToastTrigger/index.js.map +1 -1
  34. package/lib/components/Toaster/index.js +4 -5
  35. package/lib/components/Toaster/index.js.map +1 -1
  36. package/lib/state/index.js +2 -3
  37. package/lib/state/index.js.map +1 -1
  38. package/lib/state/vanilla/index.js +8 -8
  39. package/lib/state/vanilla/index.js.map +1 -1
  40. package/lib-commonjs/AriaLive.js +24 -2
  41. package/lib-commonjs/AriaLive.js.map +1 -1
  42. package/lib-commonjs/Toast.js +24 -2
  43. package/lib-commonjs/Toast.js.map +1 -1
  44. package/lib-commonjs/ToastBody.js +24 -2
  45. package/lib-commonjs/ToastBody.js.map +1 -1
  46. package/lib-commonjs/ToastContainer.js +27 -2
  47. package/lib-commonjs/ToastContainer.js.map +1 -1
  48. package/lib-commonjs/ToastFooter.js +24 -2
  49. package/lib-commonjs/ToastFooter.js.map +1 -1
  50. package/lib-commonjs/ToastTitle.js +24 -2
  51. package/lib-commonjs/ToastTitle.js.map +1 -1
  52. package/lib-commonjs/ToastTrigger.js +18 -2
  53. package/lib-commonjs/ToastTrigger.js.map +1 -1
  54. package/lib-commonjs/Toaster.js +24 -2
  55. package/lib-commonjs/Toaster.js.map +1 -1
  56. package/lib-commonjs/components/AriaLive/index.js +27 -6
  57. package/lib-commonjs/components/AriaLive/index.js.map +1 -1
  58. package/lib-commonjs/components/Timer/index.js +7 -2
  59. package/lib-commonjs/components/Timer/index.js.map +1 -1
  60. package/lib-commonjs/components/Toast/index.js +27 -6
  61. package/lib-commonjs/components/Toast/index.js.map +1 -1
  62. package/lib-commonjs/components/ToastBody/index.js +27 -6
  63. package/lib-commonjs/components/ToastBody/index.js.map +1 -1
  64. package/lib-commonjs/components/ToastContainer/index.js +31 -7
  65. package/lib-commonjs/components/ToastContainer/index.js.map +1 -1
  66. package/lib-commonjs/components/ToastFooter/index.js +27 -6
  67. package/lib-commonjs/components/ToastFooter/index.js.map +1 -1
  68. package/lib-commonjs/components/ToastTitle/index.js +27 -6
  69. package/lib-commonjs/components/ToastTitle/index.js.map +1 -1
  70. package/lib-commonjs/components/ToastTrigger/index.js +20 -5
  71. package/lib-commonjs/components/ToastTrigger/index.js.map +1 -1
  72. package/lib-commonjs/components/Toaster/index.js +27 -6
  73. package/lib-commonjs/components/Toaster/index.js.map +1 -1
  74. package/lib-commonjs/state/index.js +8 -4
  75. package/lib-commonjs/state/index.js.map +1 -1
  76. package/lib-commonjs/state/vanilla/index.js +40 -9
  77. package/lib-commonjs/state/vanilla/index.js.map +1 -1
  78. package/package.json +9 -9
@@ -2,5 +2,27 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- const _export_star = require("@swc/helpers/_/_export_star");
6
- _export_star._(require("./components/Toaster/index"), exports);
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ Toaster: function() {
13
+ return _index.Toaster;
14
+ },
15
+ renderToaster_unstable: function() {
16
+ return _index.renderToaster_unstable;
17
+ },
18
+ toasterClassNames: function() {
19
+ return _index.toasterClassNames;
20
+ },
21
+ useToasterStyles_unstable: function() {
22
+ return _index.useToasterStyles_unstable;
23
+ },
24
+ useToaster_unstable: function() {
25
+ return _index.useToaster_unstable;
26
+ }
27
+ });
28
+ const _index = require("./components/Toaster/index");
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Toaster.ts"],"sourcesContent":["export * from './components/Toaster/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
1
+ {"version":3,"sources":["../src/Toaster.ts"],"sourcesContent":["export type { ToasterProps, ToasterSlots, ToasterSlotsInternal, ToasterState } from './components/Toaster/index';\nexport {\n Toaster,\n renderToaster_unstable,\n toasterClassNames,\n useToasterStyles_unstable,\n useToaster_unstable,\n} from './components/Toaster/index';\n"],"names":["Toaster","renderToaster_unstable","toasterClassNames","useToasterStyles_unstable","useToaster_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAEEA,OAAO;eAAPA,cAAO;;IACPC,sBAAsB;eAAtBA,6BAAsB;;IACtBC,iBAAiB;eAAjBA,wBAAiB;;IACjBC,yBAAyB;eAAzBA,gCAAyB;;IACzBC,mBAAmB;eAAnBA,0BAAmB;;;uBACd"}
@@ -2,9 +2,30 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- const _export_star = require("@swc/helpers/_/_export_star");
6
- _export_star._(require("./AriaLive"), exports);
7
- _export_star._(require("./AriaLive.types"), exports);
8
- _export_star._(require("./renderAriaLive"), exports);
9
- _export_star._(require("./useAriaLive"), exports);
10
- _export_star._(require("./useAriaLiveStyles.styles"), exports);
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ AriaLive: function() {
13
+ return _AriaLive.AriaLive;
14
+ },
15
+ ariaLiveClassNames: function() {
16
+ return _useAriaLiveStylesstyles.ariaLiveClassNames;
17
+ },
18
+ renderAriaLive_unstable: function() {
19
+ return _renderAriaLive.renderAriaLive_unstable;
20
+ },
21
+ useAriaLiveStyles_unstable: function() {
22
+ return _useAriaLiveStylesstyles.useAriaLiveStyles_unstable;
23
+ },
24
+ useAriaLive_unstable: function() {
25
+ return _useAriaLive.useAriaLive_unstable;
26
+ }
27
+ });
28
+ const _AriaLive = require("./AriaLive");
29
+ const _renderAriaLive = require("./renderAriaLive");
30
+ const _useAriaLive = require("./useAriaLive");
31
+ const _useAriaLiveStylesstyles = require("./useAriaLiveStyles.styles");
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/AriaLive/index.ts"],"sourcesContent":["export * from './AriaLive';\nexport * from './AriaLive.types';\nexport * from './renderAriaLive';\nexport * from './useAriaLive';\nexport * from './useAriaLiveStyles.styles';\n"],"names":[],"rangeMappings":";;;;;;;;;","mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA"}
1
+ {"version":3,"sources":["../src/components/AriaLive/index.ts"],"sourcesContent":["export { AriaLive } from './AriaLive';\nexport type {\n Announce,\n AnnounceOptions,\n AriaLivePoliteness,\n AriaLiveProps,\n AriaLiveSlots,\n AriaLiveState,\n LiveMessage,\n} from './AriaLive.types';\nexport { renderAriaLive_unstable } from './renderAriaLive';\nexport { useAriaLive_unstable } from './useAriaLive';\nexport { ariaLiveClassNames, useAriaLiveStyles_unstable } from './useAriaLiveStyles.styles';\n"],"names":["AriaLive","ariaLiveClassNames","renderAriaLive_unstable","useAriaLiveStyles_unstable","useAriaLive_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAASA,QAAQ;eAARA,kBAAQ;;IAYRC,kBAAkB;eAAlBA,2CAAkB;;IAFlBC,uBAAuB;eAAvBA,uCAAuB;;IAEHC,0BAA0B;eAA1BA,mDAA0B;;IAD9CC,oBAAoB;eAApBA,iCAAoB;;;0BAXJ;gCAUe;6BACH;yCAC0B"}
@@ -2,5 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- const _export_star = require("@swc/helpers/_/_export_star");
6
- _export_star._(require("./Timer"), exports);
5
+ Object.defineProperty(exports, "Timer", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return _Timer.Timer;
9
+ }
10
+ });
11
+ const _Timer = require("./Timer");
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Timer/index.ts"],"sourcesContent":["export * from './Timer';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
1
+ {"version":3,"sources":["../src/components/Timer/index.ts"],"sourcesContent":["export type { TimerProps } from './Timer';\nexport { Timer } from './Timer';\n"],"names":["Timer"],"rangeMappings":";;;;;;;;;;","mappings":";;;;+BACSA;;;eAAAA,YAAK;;;uBAAQ"}
@@ -2,9 +2,30 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- const _export_star = require("@swc/helpers/_/_export_star");
6
- _export_star._(require("./Toast"), exports);
7
- _export_star._(require("./Toast.types"), exports);
8
- _export_star._(require("./renderToast"), exports);
9
- _export_star._(require("./useToast"), exports);
10
- _export_star._(require("./useToastStyles.styles"), exports);
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ Toast: function() {
13
+ return _Toast.Toast;
14
+ },
15
+ renderToast_unstable: function() {
16
+ return _renderToast.renderToast_unstable;
17
+ },
18
+ toastClassNames: function() {
19
+ return _useToastStylesstyles.toastClassNames;
20
+ },
21
+ useToastStyles_unstable: function() {
22
+ return _useToastStylesstyles.useToastStyles_unstable;
23
+ },
24
+ useToast_unstable: function() {
25
+ return _useToast.useToast_unstable;
26
+ }
27
+ });
28
+ const _Toast = require("./Toast");
29
+ const _renderToast = require("./renderToast");
30
+ const _useToast = require("./useToast");
31
+ const _useToastStylesstyles = require("./useToastStyles.styles");
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Toast/index.ts"],"sourcesContent":["export * from './Toast';\nexport * from './Toast.types';\nexport * from './renderToast';\nexport * from './useToast';\nexport * from './useToastStyles.styles';\n"],"names":[],"rangeMappings":";;;;;;;;;","mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA"}
1
+ {"version":3,"sources":["../src/components/Toast/index.ts"],"sourcesContent":["export { Toast } from './Toast';\nexport type { ToastContextValues, ToastProps, ToastSlots, ToastState } from './Toast.types';\nexport { renderToast_unstable } from './renderToast';\nexport { useToast_unstable } from './useToast';\nexport { toastClassNames, useToastStyles_unstable } from './useToastStyles.styles';\n"],"names":["Toast","renderToast_unstable","toastClassNames","useToastStyles_unstable","useToast_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAASA,KAAK;eAALA,YAAK;;IAELC,oBAAoB;eAApBA,iCAAoB;;IAEpBC,eAAe;eAAfA,qCAAe;;IAAEC,uBAAuB;eAAvBA,6CAAuB;;IADxCC,iBAAiB;eAAjBA,2BAAiB;;;uBAHJ;6BAEe;0BACH;sCACuB"}
@@ -2,9 +2,30 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- const _export_star = require("@swc/helpers/_/_export_star");
6
- _export_star._(require("./ToastBody"), exports);
7
- _export_star._(require("./ToastBody.types"), exports);
8
- _export_star._(require("./renderToastBody"), exports);
9
- _export_star._(require("./useToastBody"), exports);
10
- _export_star._(require("./useToastBodyStyles.styles"), exports);
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ ToastBody: function() {
13
+ return _ToastBody.ToastBody;
14
+ },
15
+ renderToastBody_unstable: function() {
16
+ return _renderToastBody.renderToastBody_unstable;
17
+ },
18
+ toastBodyClassNames: function() {
19
+ return _useToastBodyStylesstyles.toastBodyClassNames;
20
+ },
21
+ useToastBodyStyles_unstable: function() {
22
+ return _useToastBodyStylesstyles.useToastBodyStyles_unstable;
23
+ },
24
+ useToastBody_unstable: function() {
25
+ return _useToastBody.useToastBody_unstable;
26
+ }
27
+ });
28
+ const _ToastBody = require("./ToastBody");
29
+ const _renderToastBody = require("./renderToastBody");
30
+ const _useToastBody = require("./useToastBody");
31
+ const _useToastBodyStylesstyles = require("./useToastBodyStyles.styles");
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/ToastBody/index.ts"],"sourcesContent":["export * from './ToastBody';\nexport * from './ToastBody.types';\nexport * from './renderToastBody';\nexport * from './useToastBody';\nexport * from './useToastBodyStyles.styles';\n"],"names":[],"rangeMappings":";;;;;;;;;","mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA"}
1
+ {"version":3,"sources":["../src/components/ToastBody/index.ts"],"sourcesContent":["export { ToastBody } from './ToastBody';\nexport type { ToastBodyProps, ToastBodySlots, ToastBodyState } from './ToastBody.types';\nexport { renderToastBody_unstable } from './renderToastBody';\nexport { useToastBody_unstable } from './useToastBody';\nexport { toastBodyClassNames, useToastBodyStyles_unstable } from './useToastBodyStyles.styles';\n"],"names":["ToastBody","renderToastBody_unstable","toastBodyClassNames","useToastBodyStyles_unstable","useToastBody_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAASA,SAAS;eAATA,oBAAS;;IAETC,wBAAwB;eAAxBA,yCAAwB;;IAExBC,mBAAmB;eAAnBA,6CAAmB;;IAAEC,2BAA2B;eAA3BA,qDAA2B;;IADhDC,qBAAqB;eAArBA,mCAAqB;;;2BAHJ;iCAEe;8BACH;0CAC2B"}
@@ -2,10 +2,34 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- const _export_star = require("@swc/helpers/_/_export_star");
6
- _export_star._(require("./ToastContainer"), exports);
7
- _export_star._(require("./ToastContainer.types"), exports);
8
- _export_star._(require("./renderToastContainer"), exports);
9
- _export_star._(require("./useToastContainer"), exports);
10
- _export_star._(require("./useToastContainerStyles.styles"), exports);
11
- _export_star._(require("./useToastContainerContextValues"), exports);
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ ToastContainer: function() {
13
+ return _ToastContainer.ToastContainer;
14
+ },
15
+ renderToastContainer_unstable: function() {
16
+ return _renderToastContainer.renderToastContainer_unstable;
17
+ },
18
+ toastContainerClassNames: function() {
19
+ return _useToastContainerStylesstyles.toastContainerClassNames;
20
+ },
21
+ useToastContainerContextValues_unstable: function() {
22
+ return _useToastContainerContextValues.useToastContainerContextValues_unstable;
23
+ },
24
+ useToastContainerStyles_unstable: function() {
25
+ return _useToastContainerStylesstyles.useToastContainerStyles_unstable;
26
+ },
27
+ useToastContainer_unstable: function() {
28
+ return _useToastContainer.useToastContainer_unstable;
29
+ }
30
+ });
31
+ const _ToastContainer = require("./ToastContainer");
32
+ const _renderToastContainer = require("./renderToastContainer");
33
+ const _useToastContainer = require("./useToastContainer");
34
+ const _useToastContainerStylesstyles = require("./useToastContainerStyles.styles");
35
+ const _useToastContainerContextValues = require("./useToastContainerContextValues");
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/ToastContainer/index.ts"],"sourcesContent":["export * from './ToastContainer';\nexport * from './ToastContainer.types';\nexport * from './renderToastContainer';\nexport * from './useToastContainer';\nexport * from './useToastContainerStyles.styles';\nexport * from './useToastContainerContextValues';\n"],"names":[],"rangeMappings":";;;;;;;;;;","mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA;uBACA"}
1
+ {"version":3,"sources":["../src/components/ToastContainer/index.ts"],"sourcesContent":["export { ToastContainer } from './ToastContainer';\nexport type {\n ToastContainerContextValues,\n ToastContainerProps,\n ToastContainerSlots,\n ToastContainerState,\n} from './ToastContainer.types';\nexport { renderToastContainer_unstable } from './renderToastContainer';\nexport { useToastContainer_unstable } from './useToastContainer';\nexport { toastContainerClassNames, useToastContainerStyles_unstable } from './useToastContainerStyles.styles';\nexport { useToastContainerContextValues_unstable } from './useToastContainerContextValues';\n"],"names":["ToastContainer","renderToastContainer_unstable","toastContainerClassNames","useToastContainerContextValues_unstable","useToastContainerStyles_unstable","useToastContainer_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAASA,cAAc;eAAdA,8BAAc;;IAOdC,6BAA6B;eAA7BA,mDAA6B;;IAE7BC,wBAAwB;eAAxBA,uDAAwB;;IACxBC,uCAAuC;eAAvCA,uEAAuC;;IADbC,gCAAgC;eAAhCA,+DAAgC;;IAD1DC,0BAA0B;eAA1BA,6CAA0B;;;gCARJ;sCAOe;mCACH;+CACgC;gDACnB"}
@@ -2,9 +2,30 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- const _export_star = require("@swc/helpers/_/_export_star");
6
- _export_star._(require("./ToastFooter"), exports);
7
- _export_star._(require("./ToastFooter.types"), exports);
8
- _export_star._(require("./renderToastFooter"), exports);
9
- _export_star._(require("./useToastFooter"), exports);
10
- _export_star._(require("./useToastFooterStyles.styles"), exports);
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ ToastFooter: function() {
13
+ return _ToastFooter.ToastFooter;
14
+ },
15
+ renderToastFooter_unstable: function() {
16
+ return _renderToastFooter.renderToastFooter_unstable;
17
+ },
18
+ toastFooterClassNames: function() {
19
+ return _useToastFooterStylesstyles.toastFooterClassNames;
20
+ },
21
+ useToastFooterStyles_unstable: function() {
22
+ return _useToastFooterStylesstyles.useToastFooterStyles_unstable;
23
+ },
24
+ useToastFooter_unstable: function() {
25
+ return _useToastFooter.useToastFooter_unstable;
26
+ }
27
+ });
28
+ const _ToastFooter = require("./ToastFooter");
29
+ const _renderToastFooter = require("./renderToastFooter");
30
+ const _useToastFooter = require("./useToastFooter");
31
+ const _useToastFooterStylesstyles = require("./useToastFooterStyles.styles");
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/ToastFooter/index.ts"],"sourcesContent":["export * from './ToastFooter';\nexport * from './ToastFooter.types';\nexport * from './renderToastFooter';\nexport * from './useToastFooter';\nexport * from './useToastFooterStyles.styles';\n"],"names":[],"rangeMappings":";;;;;;;;;","mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA"}
1
+ {"version":3,"sources":["../src/components/ToastFooter/index.ts"],"sourcesContent":["export { ToastFooter } from './ToastFooter';\nexport type { ToastFooterProps, ToastFooterSlots, ToastFooterState } from './ToastFooter.types';\nexport { renderToastFooter_unstable } from './renderToastFooter';\nexport { useToastFooter_unstable } from './useToastFooter';\nexport { toastFooterClassNames, useToastFooterStyles_unstable } from './useToastFooterStyles.styles';\n"],"names":["ToastFooter","renderToastFooter_unstable","toastFooterClassNames","useToastFooterStyles_unstable","useToastFooter_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAASA,WAAW;eAAXA,wBAAW;;IAEXC,0BAA0B;eAA1BA,6CAA0B;;IAE1BC,qBAAqB;eAArBA,iDAAqB;;IAAEC,6BAA6B;eAA7BA,yDAA6B;;IADpDC,uBAAuB;eAAvBA,uCAAuB;;;6BAHJ;mCAEe;gCACH;4CAC6B"}
@@ -2,9 +2,30 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- const _export_star = require("@swc/helpers/_/_export_star");
6
- _export_star._(require("./ToastTitle"), exports);
7
- _export_star._(require("./ToastTitle.types"), exports);
8
- _export_star._(require("./renderToastTitle"), exports);
9
- _export_star._(require("./useToastTitle"), exports);
10
- _export_star._(require("./useToastTitleStyles.styles"), exports);
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ ToastTitle: function() {
13
+ return _ToastTitle.ToastTitle;
14
+ },
15
+ renderToastTitle_unstable: function() {
16
+ return _renderToastTitle.renderToastTitle_unstable;
17
+ },
18
+ toastTitleClassNames: function() {
19
+ return _useToastTitleStylesstyles.toastTitleClassNames;
20
+ },
21
+ useToastTitleStyles_unstable: function() {
22
+ return _useToastTitleStylesstyles.useToastTitleStyles_unstable;
23
+ },
24
+ useToastTitle_unstable: function() {
25
+ return _useToastTitle.useToastTitle_unstable;
26
+ }
27
+ });
28
+ const _ToastTitle = require("./ToastTitle");
29
+ const _renderToastTitle = require("./renderToastTitle");
30
+ const _useToastTitle = require("./useToastTitle");
31
+ const _useToastTitleStylesstyles = require("./useToastTitleStyles.styles");
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/ToastTitle/index.ts"],"sourcesContent":["export * from './ToastTitle';\nexport * from './ToastTitle.types';\nexport * from './renderToastTitle';\nexport * from './useToastTitle';\nexport * from './useToastTitleStyles.styles';\n"],"names":[],"rangeMappings":";;;;;;;;;","mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA"}
1
+ {"version":3,"sources":["../src/components/ToastTitle/index.ts"],"sourcesContent":["export { ToastTitle } from './ToastTitle';\nexport type { ToastTitleProps, ToastTitleSlots, ToastTitleState } from './ToastTitle.types';\nexport { renderToastTitle_unstable } from './renderToastTitle';\nexport { useToastTitle_unstable } from './useToastTitle';\nexport { toastTitleClassNames, useToastTitleStyles_unstable } from './useToastTitleStyles.styles';\n"],"names":["ToastTitle","renderToastTitle_unstable","toastTitleClassNames","useToastTitleStyles_unstable","useToastTitle_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAASA,UAAU;eAAVA,sBAAU;;IAEVC,yBAAyB;eAAzBA,2CAAyB;;IAEzBC,oBAAoB;eAApBA,+CAAoB;;IAAEC,4BAA4B;eAA5BA,uDAA4B;;IADlDC,sBAAsB;eAAtBA,qCAAsB;;;4BAHJ;kCAEe;+BACH;2CAC4B"}
@@ -2,8 +2,23 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- const _export_star = require("@swc/helpers/_/_export_star");
6
- _export_star._(require("./ToastTrigger"), exports);
7
- _export_star._(require("./ToastTrigger.types"), exports);
8
- _export_star._(require("./renderToastTrigger"), exports);
9
- _export_star._(require("./useToastTrigger"), exports);
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ ToastTrigger: function() {
13
+ return _ToastTrigger.ToastTrigger;
14
+ },
15
+ renderToastTrigger_unstable: function() {
16
+ return _renderToastTrigger.renderToastTrigger_unstable;
17
+ },
18
+ useToastTrigger_unstable: function() {
19
+ return _useToastTrigger.useToastTrigger_unstable;
20
+ }
21
+ });
22
+ const _ToastTrigger = require("./ToastTrigger");
23
+ const _renderToastTrigger = require("./renderToastTrigger");
24
+ const _useToastTrigger = require("./useToastTrigger");
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/ToastTrigger/index.ts"],"sourcesContent":["export * from './ToastTrigger';\nexport * from './ToastTrigger.types';\nexport * from './renderToastTrigger';\nexport * from './useToastTrigger';\n"],"names":[],"rangeMappings":";;;;;;;;","mappings":";;;;;uBAAc;uBACA;uBACA;uBACA"}
1
+ {"version":3,"sources":["../src/components/ToastTrigger/index.ts"],"sourcesContent":["export { ToastTrigger } from './ToastTrigger';\nexport type { ToastTriggerChildProps, ToastTriggerProps, ToastTriggerState } from './ToastTrigger.types';\nexport { renderToastTrigger_unstable } from './renderToastTrigger';\nexport { useToastTrigger_unstable } from './useToastTrigger';\n"],"names":["ToastTrigger","renderToastTrigger_unstable","useToastTrigger_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAASA,YAAY;eAAZA,0BAAY;;IAEZC,2BAA2B;eAA3BA,+CAA2B;;IAC3BC,wBAAwB;eAAxBA,yCAAwB;;;8BAHJ;oCAEe;iCACH"}
@@ -2,9 +2,30 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- const _export_star = require("@swc/helpers/_/_export_star");
6
- _export_star._(require("./Toaster"), exports);
7
- _export_star._(require("./Toaster.types"), exports);
8
- _export_star._(require("./renderToaster"), exports);
9
- _export_star._(require("./useToaster"), exports);
10
- _export_star._(require("./useToasterStyles.styles"), exports);
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ Toaster: function() {
13
+ return _Toaster.Toaster;
14
+ },
15
+ renderToaster_unstable: function() {
16
+ return _renderToaster.renderToaster_unstable;
17
+ },
18
+ toasterClassNames: function() {
19
+ return _useToasterStylesstyles.toasterClassNames;
20
+ },
21
+ useToasterStyles_unstable: function() {
22
+ return _useToasterStylesstyles.useToasterStyles_unstable;
23
+ },
24
+ useToaster_unstable: function() {
25
+ return _useToaster.useToaster_unstable;
26
+ }
27
+ });
28
+ const _Toaster = require("./Toaster");
29
+ const _renderToaster = require("./renderToaster");
30
+ const _useToaster = require("./useToaster");
31
+ const _useToasterStylesstyles = require("./useToasterStyles.styles");
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Toaster/index.ts"],"sourcesContent":["export * from './Toaster';\nexport * from './Toaster.types';\nexport * from './renderToaster';\nexport * from './useToaster';\nexport * from './useToasterStyles.styles';\n"],"names":[],"rangeMappings":";;;;;;;;;","mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA"}
1
+ {"version":3,"sources":["../src/components/Toaster/index.ts"],"sourcesContent":["export { Toaster } from './Toaster';\nexport type { ToasterProps, ToasterSlots, ToasterSlotsInternal, ToasterState } from './Toaster.types';\nexport { renderToaster_unstable } from './renderToaster';\nexport { useToaster_unstable } from './useToaster';\nexport { toasterClassNames, useToasterStyles_unstable } from './useToasterStyles.styles';\n"],"names":["Toaster","renderToaster_unstable","toasterClassNames","useToasterStyles_unstable","useToaster_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAASA,OAAO;eAAPA,gBAAO;;IAEPC,sBAAsB;eAAtBA,qCAAsB;;IAEtBC,iBAAiB;eAAjBA,yCAAiB;;IAAEC,yBAAyB;eAAzBA,iDAAyB;;IAD5CC,mBAAmB;eAAnBA,+BAAmB;;;yBAHJ;+BAEe;4BACH;wCACyB"}
@@ -14,11 +14,15 @@ _export(exports, {
14
14
  },
15
15
  getPositionStyles: function() {
16
16
  return _vanilla.getPositionStyles;
17
+ },
18
+ useToastController: function() {
19
+ return _useToastController.useToastController;
20
+ },
21
+ useToaster: function() {
22
+ return _useToaster.useToaster;
17
23
  }
18
24
  });
19
- const _export_star = require("@swc/helpers/_/_export_star");
20
- _export_star._(require("./types"), exports);
21
- _export_star._(require("./useToaster"), exports);
22
- _export_star._(require("./useToastController"), exports);
25
+ const _useToaster = require("./useToaster");
26
+ const _useToastController = require("./useToastController");
23
27
  const _vanilla = require("./vanilla");
24
28
  const _constants = require("./constants");
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/state/index.ts"],"sourcesContent":["export * from './types';\nexport * from './useToaster';\nexport * from './useToastController';\nexport { getPositionStyles } from './vanilla';\nexport { TOAST_POSITIONS } from './constants';\n"],"names":["TOAST_POSITIONS","getPositionStyles"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAISA,eAAe;eAAfA,0BAAe;;IADfC,iBAAiB;eAAjBA,0BAAiB;;;;uBAHZ;uBACA;uBACA;yBACoB;2BACF"}
1
+ {"version":3,"sources":["../src/state/index.ts"],"sourcesContent":["export type {\n CommonToastDetail,\n DismissAllToastsEventDetail,\n DismissToastEventDetail,\n DispatchToastOptions,\n PauseToastEventDetail,\n PlayToastEventDetail,\n ShowToastEventDetail,\n Toast,\n ToastChangeData,\n ToastChangeHandler,\n ToastId,\n ToastImperativeRef,\n ToastIntent,\n ToastListenerMap,\n ToastOffset,\n ToastOffsetObject,\n ToastOptions,\n ToastPoliteness,\n ToastPosition,\n ToastStatus,\n ToasterId,\n ToasterOptions,\n ToasterShortcuts,\n UpdateToastEventDetail,\n UpdateToastOptions,\n} from './types';\nexport { useToaster } from './useToaster';\nexport { useToastController } from './useToastController';\nexport { getPositionStyles } from './vanilla';\nexport { TOAST_POSITIONS } from './constants';\n"],"names":["TOAST_POSITIONS","getPositionStyles","useToastController","useToaster"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IA8BSA,eAAe;eAAfA,0BAAe;;IADfC,iBAAiB;eAAjBA,0BAAiB;;IADjBC,kBAAkB;eAAlBA,sCAAkB;;IADlBC,UAAU;eAAVA,sBAAU;;;4BAAQ;oCACQ;yBACD;2BACF"}
@@ -2,12 +2,43 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- const _export_star = require("@swc/helpers/_/_export_star");
6
- _export_star._(require("./dispatchToast"), exports);
7
- _export_star._(require("./dismissToast"), exports);
8
- _export_star._(require("./dismissAllToasts"), exports);
9
- _export_star._(require("./updateToast"), exports);
10
- _export_star._(require("./pauseToast"), exports);
11
- _export_star._(require("./playToast"), exports);
12
- _export_star._(require("./createToaster"), exports);
13
- _export_star._(require("./getPositionStyles"), exports);
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ createToaster: function() {
13
+ return _createToaster.createToaster;
14
+ },
15
+ dismissAllToasts: function() {
16
+ return _dismissAllToasts.dismissAllToasts;
17
+ },
18
+ dismissToast: function() {
19
+ return _dismissToast.dismissToast;
20
+ },
21
+ dispatchToast: function() {
22
+ return _dispatchToast.dispatchToast;
23
+ },
24
+ getPositionStyles: function() {
25
+ return _getPositionStyles.getPositionStyles;
26
+ },
27
+ pauseToast: function() {
28
+ return _pauseToast.pauseToast;
29
+ },
30
+ playToast: function() {
31
+ return _playToast.playToast;
32
+ },
33
+ updateToast: function() {
34
+ return _updateToast.updateToast;
35
+ }
36
+ });
37
+ const _dispatchToast = require("./dispatchToast");
38
+ const _dismissToast = require("./dismissToast");
39
+ const _dismissAllToasts = require("./dismissAllToasts");
40
+ const _updateToast = require("./updateToast");
41
+ const _pauseToast = require("./pauseToast");
42
+ const _playToast = require("./playToast");
43
+ const _createToaster = require("./createToaster");
44
+ const _getPositionStyles = require("./getPositionStyles");
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/state/vanilla/index.ts"],"sourcesContent":["export * from './dispatchToast';\nexport * from './dismissToast';\nexport * from './dismissAllToasts';\nexport * from './updateToast';\nexport * from './pauseToast';\nexport * from './playToast';\nexport * from './createToaster';\nexport * from './getPositionStyles';\n"],"names":[],"rangeMappings":";;;;;;;;;;;;","mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA"}
1
+ {"version":3,"sources":["../src/state/vanilla/index.ts"],"sourcesContent":["export { dispatchToast } from './dispatchToast';\nexport { dismissToast } from './dismissToast';\nexport { dismissAllToasts } from './dismissAllToasts';\nexport { updateToast } from './updateToast';\nexport { pauseToast } from './pauseToast';\nexport { playToast } from './playToast';\nexport { createToaster } from './createToaster';\nexport { getPositionStyles } from './getPositionStyles';\n"],"names":["createToaster","dismissAllToasts","dismissToast","dispatchToast","getPositionStyles","pauseToast","playToast","updateToast"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAMSA,aAAa;eAAbA,4BAAa;;IAJbC,gBAAgB;eAAhBA,kCAAgB;;IADhBC,YAAY;eAAZA,0BAAY;;IADZC,aAAa;eAAbA,4BAAa;;IAObC,iBAAiB;eAAjBA,oCAAiB;;IAHjBC,UAAU;eAAVA,sBAAU;;IACVC,SAAS;eAATA,oBAAS;;IAFTC,WAAW;eAAXA,wBAAW;;;+BAHU;8BACD;kCACI;6BACL;4BACD;2BACD;+BACI;mCACI"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-toast",
3
- "version": "9.3.60",
3
+ "version": "9.3.61",
4
4
  "description": "Toast component for Fluent UI",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -21,15 +21,15 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@fluentui/keyboard-keys": "^9.0.8",
24
- "@fluentui/react-aria": "^9.13.9",
24
+ "@fluentui/react-aria": "^9.13.10",
25
25
  "@fluentui/react-icons": "^2.0.245",
26
- "@fluentui/react-jsx-runtime": "^9.0.46",
27
- "@fluentui/react-motion": "^9.6.2",
28
- "@fluentui/react-portal": "^9.4.38",
29
- "@fluentui/react-shared-contexts": "^9.21.0",
30
- "@fluentui/react-tabster": "^9.23.0",
31
- "@fluentui/react-theme": "^9.1.22",
32
- "@fluentui/react-utilities": "^9.18.17",
26
+ "@fluentui/react-jsx-runtime": "^9.0.47",
27
+ "@fluentui/react-motion": "^9.6.3",
28
+ "@fluentui/react-portal": "^9.4.39",
29
+ "@fluentui/react-shared-contexts": "^9.21.1",
30
+ "@fluentui/react-tabster": "^9.23.1",
31
+ "@fluentui/react-theme": "^9.1.23",
32
+ "@fluentui/react-utilities": "^9.18.18",
33
33
  "@griffel/react": "^1.5.22",
34
34
  "@swc/helpers": "^0.5.1"
35
35
  },