@fluentui/react-toast 0.0.0-nightly-20240314-0406.1 → 0.0.0-nightly-20240315-0408.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 +14 -14
- package/lib/components/Toast/Toast.types.js +3 -1
- package/lib/components/Toast/Toast.types.js.map +1 -1
- package/lib/components/ToastBody/ToastBody.types.js +3 -1
- package/lib/components/ToastBody/ToastBody.types.js.map +1 -1
- package/lib/components/ToastFooter/ToastFooter.types.js +3 -1
- package/lib/components/ToastFooter/ToastFooter.types.js.map +1 -1
- package/lib/components/ToastTitle/ToastTitle.types.js +3 -1
- package/lib/components/ToastTitle/ToastTitle.types.js.map +1 -1
- package/lib/components/Toaster/Toaster.types.js +3 -1
- package/lib/components/Toaster/Toaster.types.js.map +1 -1
- package/lib-commonjs/components/Toast/Toast.types.js +3 -1
- package/lib-commonjs/components/Toast/Toast.types.js.map +1 -1
- package/lib-commonjs/components/ToastBody/ToastBody.types.js +3 -1
- package/lib-commonjs/components/ToastBody/ToastBody.types.js.map +1 -1
- package/lib-commonjs/components/ToastFooter/ToastFooter.types.js +3 -1
- package/lib-commonjs/components/ToastFooter/ToastFooter.types.js.map +1 -1
- package/lib-commonjs/components/ToastTitle/ToastTitle.types.js +3 -1
- package/lib-commonjs/components/ToastTitle/ToastTitle.types.js.map +1 -1
- package/lib-commonjs/components/Toaster/Toaster.types.js +3 -1
- package/lib-commonjs/components/Toaster/Toaster.types.js.map +1 -1
- package/lib-commonjs/index.js +50 -50
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/state/index.js +3 -3
- package/lib-commonjs/state/index.js.map +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-toast
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 15 Mar 2024 04:24:46 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [0.0.0-nightly-
|
|
7
|
+
## [0.0.0-nightly-20240315-0408.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-toast_v0.0.0-nightly-20240315-0408.1)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-toast_v9.3.33..@fluentui/react-toast_v0.0.0-nightly-
|
|
9
|
+
Fri, 15 Mar 2024 04:24:46 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-toast_v9.3.33..@fluentui/react-toast_v0.0.0-nightly-20240315-0408.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/keyboard-keys to v0.0.0-nightly-
|
|
16
|
-
- Bump @fluentui/react-aria to v0.0.0-nightly-
|
|
17
|
-
- Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-
|
|
18
|
-
- Bump @fluentui/react-portal to v0.0.0-nightly-
|
|
19
|
-
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly-
|
|
20
|
-
- Bump @fluentui/react-tabster to v0.0.0-nightly-
|
|
21
|
-
- Bump @fluentui/react-theme to v0.0.0-nightly-
|
|
22
|
-
- Bump @fluentui/react-utilities to v0.0.0-nightly-
|
|
23
|
-
- Bump @fluentui/react-conformance to v0.0.0-nightly-
|
|
24
|
-
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-
|
|
15
|
+
- Bump @fluentui/keyboard-keys to v0.0.0-nightly-20240315-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/e039505b45ad657244113509cf6693af6eb2ff42) by beachball)
|
|
16
|
+
- Bump @fluentui/react-aria to v0.0.0-nightly-20240315-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/e039505b45ad657244113509cf6693af6eb2ff42) by beachball)
|
|
17
|
+
- Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20240315-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/e039505b45ad657244113509cf6693af6eb2ff42) by beachball)
|
|
18
|
+
- Bump @fluentui/react-portal to v0.0.0-nightly-20240315-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/e039505b45ad657244113509cf6693af6eb2ff42) by beachball)
|
|
19
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20240315-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/e039505b45ad657244113509cf6693af6eb2ff42) by beachball)
|
|
20
|
+
- Bump @fluentui/react-tabster to v0.0.0-nightly-20240315-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/e039505b45ad657244113509cf6693af6eb2ff42) by beachball)
|
|
21
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly-20240315-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/e039505b45ad657244113509cf6693af6eb2ff42) by beachball)
|
|
22
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly-20240315-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/e039505b45ad657244113509cf6693af6eb2ff42) by beachball)
|
|
23
|
+
- Bump @fluentui/react-conformance to v0.0.0-nightly-20240315-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/e039505b45ad657244113509cf6693af6eb2ff42) by beachball)
|
|
24
|
+
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20240315-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/e039505b45ad657244113509cf6693af6eb2ff42) by beachball)
|
|
25
25
|
|
|
26
26
|
## [9.3.33](https://github.com/microsoft/fluentui/tree/@fluentui/react-toast_v9.3.33)
|
|
27
27
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["Toast.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\nimport { BackgroundAppearanceContextValue } from '@fluentui/react-shared-contexts';\n\nexport type ToastSlots = {\n root: Slot<'div'>;\n};\n\nexport type ToastContextValues = {\n backgroundAppearance: BackgroundAppearanceContextValue;\n};\n\n/**\n * Toast Props\n */\nexport type ToastProps = ComponentProps<ToastSlots> & {\n appearance?: BackgroundAppearanceContextValue;\n};\n\n/**\n * State used in rendering Toast\n */\nexport type ToastState = ComponentState<ToastSlots> & {\n backgroundAppearance: BackgroundAppearanceContextValue;\n};\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["Toast.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\nimport { BackgroundAppearanceContextValue } from '@fluentui/react-shared-contexts';\n\nexport type ToastSlots = {\n root: Slot<'div'>;\n};\n\nexport type ToastContextValues = {\n backgroundAppearance: BackgroundAppearanceContextValue;\n};\n\n/**\n * Toast Props\n */\nexport type ToastProps = ComponentProps<ToastSlots> & {\n appearance?: BackgroundAppearanceContextValue;\n};\n\n/**\n * State used in rendering Toast\n */\nexport type ToastState = ComponentState<ToastSlots> & {\n backgroundAppearance: BackgroundAppearanceContextValue;\n};\n"],"names":[],"mappings":"AAkBA;;CAEC,GACD,WAEE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["ToastBody.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\nimport { BackgroundAppearanceContextValue } from '@fluentui/react-shared-contexts';\n\nexport type ToastBodySlots = {\n root: Slot<'div'>;\n subtitle?: Slot<'div'>;\n};\n\n/**\n * ToastBody Props\n */\nexport type ToastBodyProps = ComponentProps<ToastBodySlots> & {};\n\n/**\n * State used in rendering ToastBody\n */\nexport type ToastBodyState = ComponentState<ToastBodySlots> & {\n backgroundAppearance: BackgroundAppearanceContextValue;\n};\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["ToastBody.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\nimport { BackgroundAppearanceContextValue } from '@fluentui/react-shared-contexts';\n\nexport type ToastBodySlots = {\n root: Slot<'div'>;\n subtitle?: Slot<'div'>;\n};\n\n/**\n * ToastBody Props\n */\nexport type ToastBodyProps = ComponentProps<ToastBodySlots> & {};\n\n/**\n * State used in rendering ToastBody\n */\nexport type ToastBodyState = ComponentState<ToastBodySlots> & {\n backgroundAppearance: BackgroundAppearanceContextValue;\n};\n"],"names":[],"mappings":"AAaA;;CAEC,GACD,WAEE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["ToastFooter.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\nexport type ToastFooterSlots = {\n root: Slot<'div'>;\n};\n\n/**\n * ToastFooter Props\n */\nexport type ToastFooterProps = ComponentProps<ToastFooterSlots> & {};\n\n/**\n * State used in rendering ToastFooter\n */\nexport type ToastFooterState = ComponentState<ToastFooterSlots>;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["ToastFooter.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\nexport type ToastFooterSlots = {\n root: Slot<'div'>;\n};\n\n/**\n * ToastFooter Props\n */\nexport type ToastFooterProps = ComponentProps<ToastFooterSlots> & {};\n\n/**\n * State used in rendering ToastFooter\n */\nexport type ToastFooterState = ComponentState<ToastFooterSlots>;\n"],"names":[],"mappings":"AAWA;;CAEC,GACD,WAAgE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["ToastTitle.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\nimport { BackgroundAppearanceContextValue } from '@fluentui/react-shared-contexts';\nimport { ToastContainerContextValue } from '../../contexts/toastContainerContext';\n\nexport type ToastTitleSlots = {\n root: NonNullable<Slot<'div'>>;\n media?: Slot<'div'>;\n action?: Slot<'div'>;\n};\n\n/**\n * ToastTitle Props\n */\nexport type ToastTitleProps = ComponentProps<ToastTitleSlots> & {};\n\n/**\n * State used in rendering ToastTitle\n */\nexport type ToastTitleState = ComponentState<ToastTitleSlots> &\n Pick<ToastContainerContextValue, 'intent'> & {\n backgroundAppearance: BackgroundAppearanceContextValue;\n };\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["ToastTitle.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\nimport { BackgroundAppearanceContextValue } from '@fluentui/react-shared-contexts';\nimport { ToastContainerContextValue } from '../../contexts/toastContainerContext';\n\nexport type ToastTitleSlots = {\n root: NonNullable<Slot<'div'>>;\n media?: Slot<'div'>;\n action?: Slot<'div'>;\n};\n\n/**\n * ToastTitle Props\n */\nexport type ToastTitleProps = ComponentProps<ToastTitleSlots> & {};\n\n/**\n * State used in rendering ToastTitle\n */\nexport type ToastTitleState = ComponentState<ToastTitleSlots> &\n Pick<ToastContainerContextValue, 'intent'> & {\n backgroundAppearance: BackgroundAppearanceContextValue;\n };\n"],"names":[],"mappings":"AAeA;;CAEC,GACD,WAGI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["Toaster.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\nimport type { PortalProps } from '@fluentui/react-portal';\nimport { ToasterOptions } from '../../state/types';\nimport { Announce, AriaLiveProps } from '../AriaLive';\n\nexport type ToasterSlots = {\n /**\n * NOTE: This root slot maps in exactly the same way to the containers rendered for each toast position\n * There is no intention (currently) to let users customize the div for each toast position.\n */\n root: Slot<'div'>;\n};\n\nexport type ToasterSlotsInternal = ToasterSlots & {\n bottomEnd?: Slot<'div'>;\n bottomStart?: Slot<'div'>;\n topEnd?: Slot<'div'>;\n topStart?: Slot<'div'>;\n top?: Slot<'div'>;\n bottom?: Slot<'div'>;\n};\n\n/**\n * Toaster Props\n */\nexport type ToasterProps = Omit<ComponentProps<ToasterSlots>, 'children'> &\n Partial<ToasterOptions> &\n Pick<PortalProps, 'mountNode'> & {\n /**\n * User override API for aria-live narration for toasts\n */\n announce?: Announce;\n\n inline?: boolean;\n };\n\n/**\n * State used in rendering Toaster\n */\nexport type ToasterState = ComponentState<ToasterSlotsInternal> &\n Pick<AriaLiveProps, 'announceRef'> &\n Pick<PortalProps, 'mountNode'> &\n Pick<Required<ToasterProps>, 'announce' | 'inline'> & {\n offset: ToasterOptions['offset'] | undefined;\n renderAriaLive: boolean;\n dir: 'rtl' | 'ltr';\n };\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["Toaster.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\nimport type { PortalProps } from '@fluentui/react-portal';\nimport { ToasterOptions } from '../../state/types';\nimport { Announce, AriaLiveProps } from '../AriaLive';\n\nexport type ToasterSlots = {\n /**\n * NOTE: This root slot maps in exactly the same way to the containers rendered for each toast position\n * There is no intention (currently) to let users customize the div for each toast position.\n */\n root: Slot<'div'>;\n};\n\nexport type ToasterSlotsInternal = ToasterSlots & {\n bottomEnd?: Slot<'div'>;\n bottomStart?: Slot<'div'>;\n topEnd?: Slot<'div'>;\n topStart?: Slot<'div'>;\n top?: Slot<'div'>;\n bottom?: Slot<'div'>;\n};\n\n/**\n * Toaster Props\n */\nexport type ToasterProps = Omit<ComponentProps<ToasterSlots>, 'children'> &\n Partial<ToasterOptions> &\n Pick<PortalProps, 'mountNode'> & {\n /**\n * User override API for aria-live narration for toasts\n */\n announce?: Announce;\n\n inline?: boolean;\n };\n\n/**\n * State used in rendering Toaster\n */\nexport type ToasterState = ComponentState<ToasterSlotsInternal> &\n Pick<AriaLiveProps, 'announceRef'> &\n Pick<PortalProps, 'mountNode'> &\n Pick<Required<ToasterProps>, 'announce' | 'inline'> & {\n offset: ToasterOptions['offset'] | undefined;\n renderAriaLive: boolean;\n dir: 'rtl' | 'ltr';\n };\n"],"names":[],"mappings":"AAoCA;;CAEC,GACD,WAOI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"sources":["Toast.types.js"],"sourcesContent":["/**\n * State used in rendering Toast\n */ export { };\n"],"names":[],"mappings":"AAAA;;CAEC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"sources":["ToastBody.types.js"],"sourcesContent":["/**\n * State used in rendering ToastBody\n */ export { };\n"],"names":[],"mappings":"AAAA;;CAEC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"sources":["ToastFooter.types.js"],"sourcesContent":["/**\n * State used in rendering ToastFooter\n */ export { };\n"],"names":[],"mappings":"AAAA;;CAEC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"sources":["ToastTitle.types.js"],"sourcesContent":["/**\n * State used in rendering ToastTitle\n */ export { };\n"],"names":[],"mappings":"AAAA;;CAEC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"sources":["Toaster.types.js"],"sourcesContent":["/**\n * State used in rendering Toaster\n */ export { };\n"],"names":[],"mappings":"AAAA;;CAEC"}
|
package/lib-commonjs/index.js
CHANGED
|
@@ -9,65 +9,56 @@ function _export(target, all) {
|
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
|
-
|
|
13
|
-
return
|
|
12
|
+
Toast: function() {
|
|
13
|
+
return _Toast.Toast;
|
|
14
14
|
},
|
|
15
|
-
|
|
16
|
-
return
|
|
15
|
+
ToastBody: function() {
|
|
16
|
+
return _ToastBody.ToastBody;
|
|
17
17
|
},
|
|
18
|
-
|
|
19
|
-
return
|
|
18
|
+
ToastFooter: function() {
|
|
19
|
+
return _ToastFooter.ToastFooter;
|
|
20
20
|
},
|
|
21
|
-
|
|
22
|
-
return
|
|
21
|
+
ToastTitle: function() {
|
|
22
|
+
return _ToastTitle.ToastTitle;
|
|
23
|
+
},
|
|
24
|
+
ToastTrigger: function() {
|
|
25
|
+
return _ToastTrigger.ToastTrigger;
|
|
23
26
|
},
|
|
24
27
|
Toaster: function() {
|
|
25
28
|
return _Toaster.Toaster;
|
|
26
29
|
},
|
|
27
|
-
|
|
28
|
-
return
|
|
29
|
-
},
|
|
30
|
-
useToasterStyles_unstable: function() {
|
|
31
|
-
return _Toaster.useToasterStyles_unstable;
|
|
32
|
-
},
|
|
33
|
-
renderToaster_unstable: function() {
|
|
34
|
-
return _Toaster.renderToaster_unstable;
|
|
35
|
-
},
|
|
36
|
-
toasterClassNames: function() {
|
|
37
|
-
return _Toaster.toasterClassNames;
|
|
30
|
+
renderToastBody_unstable: function() {
|
|
31
|
+
return _ToastBody.renderToastBody_unstable;
|
|
38
32
|
},
|
|
39
|
-
|
|
40
|
-
return
|
|
33
|
+
renderToastFooter_unstable: function() {
|
|
34
|
+
return _ToastFooter.renderToastFooter_unstable;
|
|
41
35
|
},
|
|
42
|
-
|
|
43
|
-
return
|
|
36
|
+
renderToastTitle_unstable: function() {
|
|
37
|
+
return _ToastTitle.renderToastTitle_unstable;
|
|
44
38
|
},
|
|
45
|
-
|
|
46
|
-
return
|
|
39
|
+
renderToastTrigger_unstable: function() {
|
|
40
|
+
return _ToastTrigger.renderToastTrigger_unstable;
|
|
47
41
|
},
|
|
48
42
|
renderToast_unstable: function() {
|
|
49
43
|
return _Toast.renderToast_unstable;
|
|
50
44
|
},
|
|
51
|
-
|
|
52
|
-
return
|
|
53
|
-
},
|
|
54
|
-
ToastTitle: function() {
|
|
55
|
-
return _ToastTitle.ToastTitle;
|
|
45
|
+
renderToaster_unstable: function() {
|
|
46
|
+
return _Toaster.renderToaster_unstable;
|
|
56
47
|
},
|
|
57
|
-
|
|
58
|
-
return
|
|
48
|
+
toastBodyClassNames: function() {
|
|
49
|
+
return _ToastBody.toastBodyClassNames;
|
|
59
50
|
},
|
|
60
|
-
|
|
61
|
-
return
|
|
51
|
+
toastClassNames: function() {
|
|
52
|
+
return _Toast.toastClassNames;
|
|
62
53
|
},
|
|
63
|
-
|
|
64
|
-
return
|
|
54
|
+
toastFooterClassNames: function() {
|
|
55
|
+
return _ToastFooter.toastFooterClassNames;
|
|
65
56
|
},
|
|
66
57
|
toastTitleClassNames: function() {
|
|
67
58
|
return _ToastTitle.toastTitleClassNames;
|
|
68
59
|
},
|
|
69
|
-
|
|
70
|
-
return
|
|
60
|
+
toasterClassNames: function() {
|
|
61
|
+
return _Toaster.toasterClassNames;
|
|
71
62
|
},
|
|
72
63
|
useToastBodyStyles_unstable: function() {
|
|
73
64
|
return _ToastBody.useToastBodyStyles_unstable;
|
|
@@ -75,14 +66,8 @@ _export(exports, {
|
|
|
75
66
|
useToastBody_unstable: function() {
|
|
76
67
|
return _ToastBody.useToastBody_unstable;
|
|
77
68
|
},
|
|
78
|
-
|
|
79
|
-
return
|
|
80
|
-
},
|
|
81
|
-
toastBodyClassNames: function() {
|
|
82
|
-
return _ToastBody.toastBodyClassNames;
|
|
83
|
-
},
|
|
84
|
-
ToastFooter: function() {
|
|
85
|
-
return _ToastFooter.ToastFooter;
|
|
69
|
+
useToastController: function() {
|
|
70
|
+
return _state.useToastController;
|
|
86
71
|
},
|
|
87
72
|
useToastFooterStyles_unstable: function() {
|
|
88
73
|
return _ToastFooter.useToastFooterStyles_unstable;
|
|
@@ -90,11 +75,26 @@ _export(exports, {
|
|
|
90
75
|
useToastFooter_unstable: function() {
|
|
91
76
|
return _ToastFooter.useToastFooter_unstable;
|
|
92
77
|
},
|
|
93
|
-
|
|
94
|
-
return
|
|
78
|
+
useToastStyles_unstable: function() {
|
|
79
|
+
return _Toast.useToastStyles_unstable;
|
|
95
80
|
},
|
|
96
|
-
|
|
97
|
-
return
|
|
81
|
+
useToastTitleStyles_unstable: function() {
|
|
82
|
+
return _ToastTitle.useToastTitleStyles_unstable;
|
|
83
|
+
},
|
|
84
|
+
useToastTitle_unstable: function() {
|
|
85
|
+
return _ToastTitle.useToastTitle_unstable;
|
|
86
|
+
},
|
|
87
|
+
useToastTrigger_unstable: function() {
|
|
88
|
+
return _ToastTrigger.useToastTrigger_unstable;
|
|
89
|
+
},
|
|
90
|
+
useToast_unstable: function() {
|
|
91
|
+
return _Toast.useToast_unstable;
|
|
92
|
+
},
|
|
93
|
+
useToasterStyles_unstable: function() {
|
|
94
|
+
return _Toaster.useToasterStyles_unstable;
|
|
95
|
+
},
|
|
96
|
+
useToaster_unstable: function() {
|
|
97
|
+
return _Toaster.useToaster_unstable;
|
|
98
98
|
}
|
|
99
99
|
});
|
|
100
100
|
const _state = require("./state");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.js"],"sourcesContent":["export { useToastController } from './state';\nexport { ToastTrigger, useToastTrigger_unstable, renderToastTrigger_unstable } from './ToastTrigger';\nexport { Toaster, useToaster_unstable, useToasterStyles_unstable, renderToaster_unstable, toasterClassNames } from './Toaster';\nexport { Toast, useToastStyles_unstable, useToast_unstable, renderToast_unstable, toastClassNames } from './Toast';\nexport { ToastTitle, useToastTitleStyles_unstable, useToastTitle_unstable, renderToastTitle_unstable, toastTitleClassNames } from './ToastTitle';\nexport { ToastBody, useToastBodyStyles_unstable, useToastBody_unstable, renderToastBody_unstable, toastBodyClassNames } from './ToastBody';\nexport { ToastFooter, useToastFooterStyles_unstable, useToastFooter_unstable, renderToastFooter_unstable, toastFooterClassNames } from './ToastFooter';\n"],"names":["
|
|
1
|
+
{"version":3,"sources":["index.js"],"sourcesContent":["export { useToastController } from './state';\nexport { ToastTrigger, useToastTrigger_unstable, renderToastTrigger_unstable } from './ToastTrigger';\nexport { Toaster, useToaster_unstable, useToasterStyles_unstable, renderToaster_unstable, toasterClassNames } from './Toaster';\nexport { Toast, useToastStyles_unstable, useToast_unstable, renderToast_unstable, toastClassNames } from './Toast';\nexport { ToastTitle, useToastTitleStyles_unstable, useToastTitle_unstable, renderToastTitle_unstable, toastTitleClassNames } from './ToastTitle';\nexport { ToastBody, useToastBodyStyles_unstable, useToastBody_unstable, renderToastBody_unstable, toastBodyClassNames } from './ToastBody';\nexport { ToastFooter, useToastFooterStyles_unstable, useToastFooter_unstable, renderToastFooter_unstable, toastFooterClassNames } from './ToastFooter';\n"],"names":["Toast","ToastBody","ToastFooter","ToastTitle","ToastTrigger","Toaster","renderToastBody_unstable","renderToastFooter_unstable","renderToastTitle_unstable","renderToastTrigger_unstable","renderToast_unstable","renderToaster_unstable","toastBodyClassNames","toastClassNames","toastFooterClassNames","toastTitleClassNames","toasterClassNames","useToastBodyStyles_unstable","useToastBody_unstable","useToastController","useToastFooterStyles_unstable","useToastFooter_unstable","useToastStyles_unstable","useToastTitleStyles_unstable","useToastTitle_unstable","useToastTrigger_unstable","useToast_unstable","useToasterStyles_unstable","useToaster_unstable"],"mappings":";;;;;;;;;;;IAGSA,KAAK;eAALA,YAAK;;IAELC,SAAS;eAATA,oBAAS;;IACTC,WAAW;eAAXA,wBAAW;;IAFXC,UAAU;eAAVA,sBAAU;;IAHVC,YAAY;eAAZA,0BAAY;;IACZC,OAAO;eAAPA,gBAAO;;IAGwDC,wBAAwB;eAAxBA,mCAAwB;;IAClBC,0BAA0B;eAA1BA,uCAA0B;;IAF7BC,yBAAyB;eAAzBA,qCAAyB;;IAHnDC,2BAA2B;eAA3BA,yCAA2B;;IAEhBC,oBAAoB;eAApBA,2BAAoB;;IADdC,sBAAsB;eAAtBA,+BAAsB;;IAGUC,mBAAmB;eAAnBA,8BAAmB;;IAFnCC,eAAe;eAAfA,sBAAe;;IAGSC,qBAAqB;eAArBA,kCAAqB;;IAFzBC,oBAAoB;eAApBA,gCAAoB;;IAFhCC,iBAAiB;eAAjBA,0BAAiB;;IAGvFC,2BAA2B;eAA3BA,sCAA2B;;IAAEC,qBAAqB;eAArBA,gCAAqB;;IAL7DC,kBAAkB;eAAlBA,yBAAkB;;IAMLC,6BAA6B;eAA7BA,0CAA6B;;IAAEC,uBAAuB;eAAvBA,oCAAuB;;IAH5DC,uBAAuB;eAAvBA,8BAAuB;;IAClBC,4BAA4B;eAA5BA,wCAA4B;;IAAEC,sBAAsB;eAAtBA,kCAAsB;;IAHlDC,wBAAwB;eAAxBA,sCAAwB;;IAENC,iBAAiB;eAAjBA,wBAAiB;;IADnBC,yBAAyB;eAAzBA,kCAAyB;;IAA9CC,mBAAmB;eAAnBA,4BAAmB;;;uBAFF;8BACiD;yBAC+B;uBACV;4BACyB;2BACL;6BACU"}
|
|
@@ -9,11 +9,11 @@ function _export(target, all) {
|
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
|
-
getPositionStyles: function() {
|
|
13
|
-
return _vanilla.getPositionStyles;
|
|
14
|
-
},
|
|
15
12
|
TOAST_POSITIONS: function() {
|
|
16
13
|
return _constants.TOAST_POSITIONS;
|
|
14
|
+
},
|
|
15
|
+
getPositionStyles: function() {
|
|
16
|
+
return _vanilla.getPositionStyles;
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
const _export_star = require("@swc/helpers/_/_export_star");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.js"],"sourcesContent":["export * from './types';\nexport * from './useToaster';\nexport * from './useToastController';\nexport { getPositionStyles } from './vanilla';\nexport { TOAST_POSITIONS } from './constants';\n"],"names":["
|
|
1
|
+
{"version":3,"sources":["index.js"],"sourcesContent":["export * from './types';\nexport * from './useToaster';\nexport * from './useToastController';\nexport { getPositionStyles } from './vanilla';\nexport { TOAST_POSITIONS } from './constants';\n"],"names":["TOAST_POSITIONS","getPositionStyles"],"mappings":";;;;;;;;;;;IAISA,eAAe;eAAfA,0BAAe;;IADfC,iBAAiB;eAAjBA,0BAAiB;;;;uBAHZ;uBACA;uBACA;yBACoB;2BACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-toast",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20240315-0408.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-
|
|
33
|
-
"@fluentui/react-conformance-griffel": "0.0.0-nightly-
|
|
32
|
+
"@fluentui/react-conformance": "0.0.0-nightly-20240315-0408.1",
|
|
33
|
+
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20240315-0408.1",
|
|
34
34
|
"@fluentui/scripts-api-extractor": "*",
|
|
35
35
|
"@fluentui/scripts-tasks": "*"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"react-transition-group": "^4.4.1",
|
|
39
|
-
"@fluentui/keyboard-keys": "0.0.0-nightly-
|
|
40
|
-
"@fluentui/react-aria": "0.0.0-nightly-
|
|
39
|
+
"@fluentui/keyboard-keys": "0.0.0-nightly-20240315-0408.1",
|
|
40
|
+
"@fluentui/react-aria": "0.0.0-nightly-20240315-0408.1",
|
|
41
41
|
"@fluentui/react-icons": "^2.0.224",
|
|
42
|
-
"@fluentui/react-jsx-runtime": "0.0.0-nightly-
|
|
43
|
-
"@fluentui/react-portal": "0.0.0-nightly-
|
|
44
|
-
"@fluentui/react-shared-contexts": "0.0.0-nightly-
|
|
45
|
-
"@fluentui/react-tabster": "0.0.0-nightly-
|
|
46
|
-
"@fluentui/react-theme": "0.0.0-nightly-
|
|
47
|
-
"@fluentui/react-utilities": "0.0.0-nightly-
|
|
42
|
+
"@fluentui/react-jsx-runtime": "0.0.0-nightly-20240315-0408.1",
|
|
43
|
+
"@fluentui/react-portal": "0.0.0-nightly-20240315-0408.1",
|
|
44
|
+
"@fluentui/react-shared-contexts": "0.0.0-nightly-20240315-0408.1",
|
|
45
|
+
"@fluentui/react-tabster": "0.0.0-nightly-20240315-0408.1",
|
|
46
|
+
"@fluentui/react-theme": "0.0.0-nightly-20240315-0408.1",
|
|
47
|
+
"@fluentui/react-utilities": "0.0.0-nightly-20240315-0408.1",
|
|
48
48
|
"@griffel/react": "^1.5.14",
|
|
49
49
|
"@swc/helpers": "^0.5.1"
|
|
50
50
|
},
|