From c1c5be81941793e96d1e29dff9ee076508c6772c Mon Sep 17 00:00:00 2001 From: Hossein Dehnokhalaji Date: Sat, 15 Oct 2022 16:51:41 +0100 Subject: [PATCH 1/2] Fix bug with "not a JSX component" --- src/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.d.ts b/src/index.d.ts index afe8120..7995395 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -264,12 +264,13 @@ export class SnackbarProvider extends React.Component { export interface ProviderContext { enqueueSnackbar: (message: SnackbarMessage, options?: OptionsObject) => SnackbarKey; closeSnackbar: (key?: SnackbarKey) => void; + render(): ReactNode; } export function withSnackbar

(component: React.ComponentType

): React.ComponentClass> & { WrappedComponent: React.ComponentType

}; -export declare const SnackbarContent: React.ComponentType>; +export declare const SnackbarContent: (props: SnackbarContentProps) => JSX.element export function useSnackbar(): ProviderContext; From 9ec749b28e4682eb859372fa3529db1eceb4b061 Mon Sep 17 00:00:00 2001 From: Hossein Dehnokhalaji Date: Sat, 15 Oct 2022 16:52:02 +0100 Subject: [PATCH 2/2] Update typedoc --- typedoc.json | 1335 ++++++++++++++++++-------------------------------- 1 file changed, 487 insertions(+), 848 deletions(-) diff --git a/typedoc.json b/typedoc.json index cc1323b..00b2151 100644 --- a/typedoc.json +++ b/typedoc.json @@ -6,7 +6,7 @@ "originalName": "", "children": [ { - "id": 74, + "id": 61, "name": "SnackbarProvider", "kind": 128, "kindString": "Class", @@ -15,7 +15,7 @@ }, "typeParameter": [ { - "id": 77, + "id": 64, "name": "S", "kind": 131072, "kindString": "Type parameter", @@ -24,7 +24,7 @@ } }, { - "id": 78, + "id": 65, "name": "SS", "kind": 131072, "kindString": "Type parameter", @@ -33,7 +33,7 @@ } }, { - "id": 123, + "id": 110, "name": "S", "kind": 131072, "kindString": "Type parameter", @@ -44,7 +44,7 @@ ], "children": [ { - "id": 126, + "id": 113, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -65,7 +65,7 @@ }, "signatures": [ { - "id": 127, + "id": 114, "name": "new SnackbarProvider", "kind": 16384, "kindString": "Constructor signature", @@ -86,7 +86,7 @@ }, "parameters": [ { - "id": 128, + "id": 115, "name": "props", "kind": 32768, "kindString": "Parameter", @@ -101,7 +101,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 48, "name": "SnackbarProviderProps" } ], @@ -109,7 +109,7 @@ }, { "type": "reference", - "id": 61, + "id": 48, "name": "SnackbarProviderProps" } ] @@ -118,17 +118,17 @@ ], "type": { "type": "reference", - "id": 74, + "id": 61, "name": "SnackbarProvider" }, "inheritedFrom": { "type": "reference", - "id": 126, + "id": 113, "name": "Component.__constructor" } }, { - "id": 129, + "id": 116, "name": "new SnackbarProvider", "kind": 16384, "kindString": "Constructor signature", @@ -149,7 +149,7 @@ }, "parameters": [ { - "id": 130, + "id": 117, "name": "props", "kind": 32768, "kindString": "Parameter", @@ -158,12 +158,12 @@ }, "type": { "type": "reference", - "id": 61, + "id": 48, "name": "SnackbarProviderProps" } }, { - "id": 131, + "id": 118, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -178,12 +178,12 @@ ], "type": { "type": "reference", - "id": 74, + "id": 61, "name": "SnackbarProvider" }, "inheritedFrom": { "type": "reference", - "id": 126, + "id": 113, "name": "Component.__constructor" } } @@ -202,12 +202,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 126, + "id": 113, "name": "Component.__constructor" } }, { - "id": 76, + "id": 63, "name": "closeSnackbar", "kind": 1024, "kindString": "Property", @@ -234,7 +234,7 @@ } }, { - "id": 125, + "id": 112, "name": "context", "kind": 1024, "kindString": "Property", @@ -264,12 +264,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 125, + "id": 112, "name": "Component.context" } }, { - "id": 75, + "id": 62, "name": "enqueueSnackbar", "kind": 1024, "kindString": "Property", @@ -296,7 +296,7 @@ } }, { - "id": 152, + "id": 139, "name": "props", "kind": 1024, "kindString": "Property", @@ -315,7 +315,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 48, "name": "SnackbarProviderProps" } ], @@ -323,12 +323,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 152, + "id": 139, "name": "Component.props" } }, { - "id": 154, + "id": 141, "name": "refs", "kind": 1024, "kindString": "Property", @@ -353,7 +353,7 @@ "type": { "type": "reflection", "declaration": { - "id": 155, + "id": 142, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -362,7 +362,7 @@ }, "indexSignature": [ { - "id": 156, + "id": 143, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -371,7 +371,7 @@ }, "parameters": [ { - "id": 157, + "id": 144, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -401,12 +401,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 154, + "id": 141, "name": "Component.refs" } }, { - "id": 153, + "id": 140, "name": "state", "kind": 1024, "kindString": "Property", @@ -432,12 +432,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 153, + "id": 140, "name": "Component.state" } }, { - "id": 124, + "id": 111, "name": "contextType", "kind": 1024, "kindString": "Property", @@ -484,12 +484,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 124, + "id": 111, "name": "Component.contextType" } }, { - "id": 103, + "id": 90, "name": "UNSAFE_componentWillMount", "kind": 2048, "kindString": "Method", @@ -499,7 +499,7 @@ }, "signatures": [ { - "id": 104, + "id": 91, "name": "UNSAFE_componentWillMount", "kind": 4096, "kindString": "Call signature", @@ -530,7 +530,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 103, + "id": 90, "name": "DeprecatedLifecycle.UNSAFE_componentWillMount" } } @@ -544,12 +544,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 103, + "id": 90, "name": "DeprecatedLifecycle.UNSAFE_componentWillMount" } }, { - "id": 109, + "id": 96, "name": "UNSAFE_componentWillReceiveProps", "kind": 2048, "kindString": "Method", @@ -559,7 +559,7 @@ }, "signatures": [ { - "id": 110, + "id": 97, "name": "UNSAFE_componentWillReceiveProps", "kind": 4096, "kindString": "Call signature", @@ -586,7 +586,7 @@ }, "parameters": [ { - "id": 111, + "id": 98, "name": "nextProps", "kind": 32768, "kindString": "Parameter", @@ -598,7 +598,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 48, "name": "SnackbarProviderProps" } ], @@ -606,7 +606,7 @@ } }, { - "id": 112, + "id": 99, "name": "nextContext", "kind": 32768, "kindString": "Parameter", @@ -625,7 +625,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 109, + "id": 96, "name": "DeprecatedLifecycle.UNSAFE_componentWillReceiveProps" } } @@ -639,12 +639,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 109, + "id": 96, "name": "DeprecatedLifecycle.UNSAFE_componentWillReceiveProps" } }, { - "id": 118, + "id": 105, "name": "UNSAFE_componentWillUpdate", "kind": 2048, "kindString": "Method", @@ -654,7 +654,7 @@ }, "signatures": [ { - "id": 119, + "id": 106, "name": "UNSAFE_componentWillUpdate", "kind": 4096, "kindString": "Call signature", @@ -681,7 +681,7 @@ }, "parameters": [ { - "id": 120, + "id": 107, "name": "nextProps", "kind": 32768, "kindString": "Parameter", @@ -693,7 +693,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 48, "name": "SnackbarProviderProps" } ], @@ -701,7 +701,7 @@ } }, { - "id": 121, + "id": 108, "name": "nextState", "kind": 32768, "kindString": "Parameter", @@ -720,7 +720,7 @@ } }, { - "id": 122, + "id": 109, "name": "nextContext", "kind": 32768, "kindString": "Parameter", @@ -739,7 +739,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 118, + "id": 105, "name": "DeprecatedLifecycle.UNSAFE_componentWillUpdate" } } @@ -753,12 +753,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 118, + "id": 105, "name": "DeprecatedLifecycle.UNSAFE_componentWillUpdate" } }, { - "id": 88, + "id": 75, "name": "componentDidCatch", "kind": 2048, "kindString": "Method", @@ -768,7 +768,7 @@ }, "signatures": [ { - "id": 89, + "id": 76, "name": "componentDidCatch", "kind": 4096, "kindString": "Call signature", @@ -780,7 +780,7 @@ }, "parameters": [ { - "id": 90, + "id": 77, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -793,7 +793,7 @@ } }, { - "id": 91, + "id": 78, "name": "errorInfo", "kind": 32768, "kindString": "Parameter", @@ -812,7 +812,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 88, + "id": 75, "name": "ComponentLifecycle.componentDidCatch" } } @@ -826,12 +826,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 88, + "id": 75, "name": "ComponentLifecycle.componentDidCatch" } }, { - "id": 79, + "id": 66, "name": "componentDidMount", "kind": 2048, "kindString": "Method", @@ -841,7 +841,7 @@ }, "signatures": [ { - "id": 80, + "id": 67, "name": "componentDidMount", "kind": 4096, "kindString": "Call signature", @@ -857,7 +857,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 79, + "id": 66, "name": "ComponentLifecycle.componentDidMount" } } @@ -871,12 +871,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 79, + "id": 66, "name": "ComponentLifecycle.componentDidMount" } }, { - "id": 96, + "id": 83, "name": "componentDidUpdate", "kind": 2048, "kindString": "Method", @@ -886,7 +886,7 @@ }, "signatures": [ { - "id": 97, + "id": 84, "name": "componentDidUpdate", "kind": 4096, "kindString": "Call signature", @@ -899,7 +899,7 @@ }, "parameters": [ { - "id": 98, + "id": 85, "name": "prevProps", "kind": 32768, "kindString": "Parameter", @@ -911,7 +911,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 48, "name": "SnackbarProviderProps" } ], @@ -919,7 +919,7 @@ } }, { - "id": 99, + "id": 86, "name": "prevState", "kind": 32768, "kindString": "Parameter", @@ -938,7 +938,7 @@ } }, { - "id": 100, + "id": 87, "name": "snapshot", "kind": 32768, "kindString": "Parameter", @@ -948,7 +948,7 @@ }, "type": { "type": "reference", - "id": 78, + "id": 65, "name": "SS" } } @@ -959,7 +959,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 96, + "id": 83, "name": "NewLifecycle.componentDidUpdate" } } @@ -973,12 +973,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 96, + "id": 83, "name": "NewLifecycle.componentDidUpdate" } }, { - "id": 101, + "id": 88, "name": "componentWillMount", "kind": 2048, "kindString": "Method", @@ -988,7 +988,7 @@ }, "signatures": [ { - "id": 102, + "id": 89, "name": "componentWillMount", "kind": 4096, "kindString": "Call signature", @@ -1019,7 +1019,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 101, + "id": 88, "name": "DeprecatedLifecycle.componentWillMount" } } @@ -1033,12 +1033,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 101, + "id": 88, "name": "DeprecatedLifecycle.componentWillMount" } }, { - "id": 105, + "id": 92, "name": "componentWillReceiveProps", "kind": 2048, "kindString": "Method", @@ -1048,7 +1048,7 @@ }, "signatures": [ { - "id": 106, + "id": 93, "name": "componentWillReceiveProps", "kind": 4096, "kindString": "Call signature", @@ -1075,7 +1075,7 @@ }, "parameters": [ { - "id": 107, + "id": 94, "name": "nextProps", "kind": 32768, "kindString": "Parameter", @@ -1087,7 +1087,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 48, "name": "SnackbarProviderProps" } ], @@ -1095,7 +1095,7 @@ } }, { - "id": 108, + "id": 95, "name": "nextContext", "kind": 32768, "kindString": "Parameter", @@ -1114,7 +1114,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 105, + "id": 92, "name": "DeprecatedLifecycle.componentWillReceiveProps" } } @@ -1128,12 +1128,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 105, + "id": 92, "name": "DeprecatedLifecycle.componentWillReceiveProps" } }, { - "id": 86, + "id": 73, "name": "componentWillUnmount", "kind": 2048, "kindString": "Method", @@ -1143,7 +1143,7 @@ }, "signatures": [ { - "id": 87, + "id": 74, "name": "componentWillUnmount", "kind": 4096, "kindString": "Call signature", @@ -1159,7 +1159,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 86, + "id": 73, "name": "ComponentLifecycle.componentWillUnmount" } } @@ -1173,12 +1173,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 86, + "id": 73, "name": "ComponentLifecycle.componentWillUnmount" } }, { - "id": 113, + "id": 100, "name": "componentWillUpdate", "kind": 2048, "kindString": "Method", @@ -1188,7 +1188,7 @@ }, "signatures": [ { - "id": 114, + "id": 101, "name": "componentWillUpdate", "kind": 4096, "kindString": "Call signature", @@ -1215,7 +1215,7 @@ }, "parameters": [ { - "id": 115, + "id": 102, "name": "nextProps", "kind": 32768, "kindString": "Parameter", @@ -1227,7 +1227,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 48, "name": "SnackbarProviderProps" } ], @@ -1235,7 +1235,7 @@ } }, { - "id": 116, + "id": 103, "name": "nextState", "kind": 32768, "kindString": "Parameter", @@ -1254,7 +1254,7 @@ } }, { - "id": 117, + "id": 104, "name": "nextContext", "kind": 32768, "kindString": "Parameter", @@ -1273,7 +1273,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 113, + "id": 100, "name": "DeprecatedLifecycle.componentWillUpdate" } } @@ -1287,12 +1287,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 113, + "id": 100, "name": "DeprecatedLifecycle.componentWillUpdate" } }, { - "id": 145, + "id": 132, "name": "forceUpdate", "kind": 2048, "kindString": "Method", @@ -1301,7 +1301,7 @@ }, "signatures": [ { - "id": 146, + "id": 133, "name": "forceUpdate", "kind": 4096, "kindString": "Call signature", @@ -1310,7 +1310,7 @@ }, "parameters": [ { - "id": 147, + "id": 134, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1328,7 +1328,7 @@ { "type": "reflection", "declaration": { - "id": 148, + "id": 135, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1337,7 +1337,7 @@ }, "signatures": [ { - "id": 149, + "id": 136, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -1362,7 +1362,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 145, + "id": 132, "name": "Component.forceUpdate" } } @@ -1376,12 +1376,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 145, + "id": 132, "name": "Component.forceUpdate" } }, { - "id": 92, + "id": 79, "name": "getSnapshotBeforeUpdate", "kind": 2048, "kindString": "Method", @@ -1391,7 +1391,7 @@ }, "signatures": [ { - "id": 93, + "id": 80, "name": "getSnapshotBeforeUpdate", "kind": 4096, "kindString": "Call signature", @@ -1404,7 +1404,7 @@ }, "parameters": [ { - "id": 94, + "id": 81, "name": "prevProps", "kind": 32768, "kindString": "Parameter", @@ -1416,7 +1416,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 48, "name": "SnackbarProviderProps" } ], @@ -1424,7 +1424,7 @@ } }, { - "id": 95, + "id": 82, "name": "prevState", "kind": 32768, "kindString": "Parameter", @@ -1458,7 +1458,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 92, + "id": 79, "name": "NewLifecycle.getSnapshotBeforeUpdate" } } @@ -1472,12 +1472,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 92, + "id": 79, "name": "NewLifecycle.getSnapshotBeforeUpdate" } }, { - "id": 150, + "id": 137, "name": "render", "kind": 2048, "kindString": "Method", @@ -1486,7 +1486,7 @@ }, "signatures": [ { - "id": 151, + "id": 138, "name": "render", "kind": 4096, "kindString": "Call signature", @@ -1499,7 +1499,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 150, + "id": 137, "name": "Component.render" } } @@ -1513,12 +1513,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 150, + "id": 137, "name": "Component.render" } }, { - "id": 132, + "id": 119, "name": "setState", "kind": 2048, "kindString": "Method", @@ -1527,7 +1527,7 @@ }, "signatures": [ { - "id": 133, + "id": 120, "name": "setState", "kind": 4096, "kindString": "Call signature", @@ -1536,7 +1536,7 @@ }, "typeParameter": [ { - "id": 134, + "id": 121, "name": "K", "kind": 131072, "kindString": "Type parameter", @@ -1555,7 +1555,7 @@ ], "parameters": [ { - "id": 135, + "id": 122, "name": "state", "kind": 32768, "kindString": "Parameter", @@ -1568,7 +1568,7 @@ { "type": "reflection", "declaration": { - "id": 136, + "id": 123, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1577,7 +1577,7 @@ }, "signatures": [ { - "id": 137, + "id": 124, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -1586,7 +1586,7 @@ }, "parameters": [ { - "id": 138, + "id": 125, "name": "prevState", "kind": 32768, "kindString": "Parameter", @@ -1605,7 +1605,7 @@ } }, { - "id": 139, + "id": 126, "name": "props", "kind": 32768, "kindString": "Parameter", @@ -1617,7 +1617,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 48, "name": "SnackbarProviderProps" } ], @@ -1639,7 +1639,7 @@ { "type": "reflection", "declaration": { - "id": 140, + "id": 127, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1675,7 +1675,7 @@ { "type": "reflection", "declaration": { - "id": 141, + "id": 128, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1690,7 +1690,7 @@ } }, { - "id": 142, + "id": 129, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1708,7 +1708,7 @@ { "type": "reflection", "declaration": { - "id": 143, + "id": 130, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1717,7 +1717,7 @@ }, "signatures": [ { - "id": 144, + "id": 131, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -1742,7 +1742,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 132, + "id": 119, "name": "Component.setState" } } @@ -1756,12 +1756,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 132, + "id": 119, "name": "Component.setState" } }, { - "id": 81, + "id": 68, "name": "shouldComponentUpdate", "kind": 2048, "kindString": "Method", @@ -1771,7 +1771,7 @@ }, "signatures": [ { - "id": 82, + "id": 69, "name": "shouldComponentUpdate", "kind": 4096, "kindString": "Call signature", @@ -1784,7 +1784,7 @@ }, "parameters": [ { - "id": 83, + "id": 70, "name": "nextProps", "kind": 32768, "kindString": "Parameter", @@ -1796,7 +1796,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 48, "name": "SnackbarProviderProps" } ], @@ -1804,7 +1804,7 @@ } }, { - "id": 84, + "id": 71, "name": "nextState", "kind": 32768, "kindString": "Parameter", @@ -1823,7 +1823,7 @@ } }, { - "id": 85, + "id": 72, "name": "nextContext", "kind": 32768, "kindString": "Parameter", @@ -1842,7 +1842,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 81, + "id": 68, "name": "ComponentLifecycle.shouldComponentUpdate" } } @@ -1856,7 +1856,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 81, + "id": 68, "name": "ComponentLifecycle.shouldComponentUpdate" } } @@ -1866,41 +1866,41 @@ "title": "Constructors", "kind": 512, "children": [ - 126 + 113 ] }, { "title": "Properties", "kind": 1024, "children": [ - 76, - 125, - 75, - 152, - 154, - 153, - 124 + 63, + 112, + 62, + 139, + 141, + 140, + 111 ] }, { "title": "Methods", "kind": 2048, "children": [ - 103, - 109, - 118, - 88, - 79, + 90, 96, - 101, 105, - 86, - 113, - 145, + 75, + 66, + 83, + 88, 92, - 150, + 73, + 100, 132, - 81 + 79, + 137, + 119, + 68 ] } ], @@ -1917,7 +1917,7 @@ "typeArguments": [ { "type": "reference", - "id": 61, + "id": 48, "name": "SnackbarProviderProps" } ], @@ -2072,7 +2072,7 @@ ] }, { - "id": 54, + "id": 41, "name": "OptionsObject", "kind": 256, "kindString": "Interface", @@ -2082,7 +2082,7 @@ "comment": {}, "children": [ { - "id": 60, + "id": 47, "name": "action", "kind": 1024, "kindString": "Property", @@ -2109,17 +2109,17 @@ ], "type": { "type": "reference", - "id": 183, + "id": 172, "name": "SnackbarAction" }, "inheritedFrom": { "type": "reference", - "id": 51, + "id": 38, "name": "SharedProps.action" } }, { - "id": 59, + "id": 46, "name": "content", "kind": 1024, "kindString": "Property", @@ -2146,17 +2146,17 @@ ], "type": { "type": "reference", - "id": 187, + "id": 176, "name": "SnackbarContentCallback" }, "inheritedFrom": { "type": "reference", - "id": 50, + "id": 37, "name": "SharedProps.content" } }, { - "id": 55, + "id": 42, "name": "key", "kind": 1024, "kindString": "Property", @@ -2182,12 +2182,12 @@ ], "type": { "type": "reference", - "id": 179, + "id": 168, "name": "SnackbarKey" } }, { - "id": 56, + "id": 43, "name": "persist", "kind": 1024, "kindString": "Property", @@ -2230,7 +2230,7 @@ } }, { - "id": 58, + "id": 45, "name": "preventDuplicate", "kind": 1024, "kindString": "Property", @@ -2273,12 +2273,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 49, + "id": 36, "name": "SharedProps.preventDuplicate" } }, { - "id": 57, + "id": 44, "name": "variant", "kind": 1024, "kindString": "Property", @@ -2304,12 +2304,12 @@ ], "type": { "type": "reference", - "id": 180, + "id": 169, "name": "VariantType" }, "inheritedFrom": { "type": "reference", - "id": 48, + "id": 35, "name": "SharedProps.variant" } } @@ -2319,12 +2319,12 @@ "title": "Properties", "kind": 1024, "children": [ - 60, - 59, - 55, - 56, - 58, - 57 + 47, + 46, + 42, + 43, + 45, + 44 ] } ], @@ -2338,13 +2338,13 @@ "extendedTypes": [ { "type": "reference", - "id": 47, + "id": 34, "name": "SharedProps" } ] }, { - "id": 158, + "id": 145, "name": "ProviderContext", "kind": 256, "kindString": "Interface", @@ -2353,7 +2353,7 @@ }, "children": [ { - "id": 164, + "id": 151, "name": "closeSnackbar", "kind": 1024, "kindString": "Property", @@ -2370,7 +2370,7 @@ "type": { "type": "reflection", "declaration": { - "id": 165, + "id": 152, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2379,7 +2379,7 @@ }, "signatures": [ { - "id": 166, + "id": 153, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -2388,7 +2388,7 @@ }, "parameters": [ { - "id": 167, + "id": 154, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -2398,7 +2398,7 @@ }, "type": { "type": "reference", - "id": 179, + "id": 168, "name": "SnackbarKey" } } @@ -2420,7 +2420,7 @@ } }, { - "id": 159, + "id": 146, "name": "enqueueSnackbar", "kind": 1024, "kindString": "Property", @@ -2437,7 +2437,7 @@ "type": { "type": "reflection", "declaration": { - "id": 160, + "id": 147, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2446,7 +2446,7 @@ }, "signatures": [ { - "id": 161, + "id": 148, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -2455,7 +2455,7 @@ }, "parameters": [ { - "id": 162, + "id": 149, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -2464,12 +2464,12 @@ }, "type": { "type": "reference", - "id": 182, + "id": 171, "name": "SnackbarMessage" } }, { - "id": 163, + "id": 150, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2479,14 +2479,14 @@ }, "type": { "type": "reference", - "id": 54, + "id": 41, "name": "OptionsObject" } } ], "type": { "type": "reference", - "id": 179, + "id": 168, "name": "SnackbarKey" } } @@ -2500,6 +2500,37 @@ ] } } + }, + { + "id": 155, + "name": "render", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 156, + "name": "render", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "ReactNode" + } + } + ], + "sources": [ + { + "fileName": "src/index.d.ts", + "line": 267, + "character": 10 + } + ] } ], "groups": [ @@ -2507,8 +2538,15 @@ "title": "Properties", "kind": 1024, "children": [ - 164, - 159 + 151, + 146 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 155 ] } ], @@ -2521,7 +2559,7 @@ ] }, { - "id": 47, + "id": 34, "name": "SharedProps", "kind": 256, "kindString": "Interface", @@ -2531,7 +2569,7 @@ "comment": {}, "children": [ { - "id": 51, + "id": 38, "name": "action", "kind": 1024, "kindString": "Property", @@ -2558,12 +2596,12 @@ ], "type": { "type": "reference", - "id": 183, + "id": 172, "name": "SnackbarAction" } }, { - "id": 50, + "id": 37, "name": "content", "kind": 1024, "kindString": "Property", @@ -2590,12 +2628,12 @@ ], "type": { "type": "reference", - "id": 187, + "id": 176, "name": "SnackbarContentCallback" } }, { - "id": 49, + "id": 36, "name": "preventDuplicate", "kind": 1024, "kindString": "Property", @@ -2638,7 +2676,7 @@ } }, { - "id": 48, + "id": 35, "name": "variant", "kind": 1024, "kindString": "Property", @@ -2664,7 +2702,7 @@ ], "type": { "type": "reference", - "id": 180, + "id": 169, "name": "VariantType" } } @@ -2674,10 +2712,10 @@ "title": "Properties", "kind": 1024, "children": [ - 51, - 50, - 49, - 48 + 38, + 37, + 36, + 35 ] } ], @@ -2692,7 +2730,7 @@ { "type": "reflection", "declaration": { - "id": 52, + "id": 39, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2711,7 +2749,7 @@ { "type": "reflection", "declaration": { - "id": 53, + "id": 40, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2731,12 +2769,12 @@ "extendedBy": [ { "type": "reference", - "id": 54, + "id": 41, "name": "OptionsObject" }, { "type": "reference", - "id": 61, + "id": 48, "name": "SnackbarProviderProps" } ] @@ -2874,6 +2912,7 @@ "types": [ { "type": "reference", + "id": 33, "name": "TransitionProps" }, { @@ -3062,19 +3101,28 @@ } }, { - "id": 42, - "name": "className", + "id": 23, + "name": "disableWindowBlurListener", "kind": 1024, "kindString": "Property", "flags": { "isExported": true, "isOptional": true }, + "comment": { + "shortText": "If `true`, the `autoHideDuration` timer will expire even if the window is not focused.", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, "sources": [ { - "fileName": "node_modules/@mui/material/index.d.ts", - "line": 19, - "character": 13 + "fileName": "src/index.d.ts", + "line": 142, + "character": 29 } ], "type": { @@ -3086,19 +3134,18 @@ }, { "type": "intrinsic", - "name": "string" + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" } ] - }, - "inheritedFrom": { - "type": "reference", - "id": 36, - "name": "__type.className" } }, { - "id": 41, - "name": "classes", + "id": 24, + "name": "resumeHideDuration", "kind": 1024, "kindString": "Property", "flags": { @@ -3106,47 +3153,38 @@ "isOptional": true }, "comment": { - "shortText": "Override or extend the styles applied to the component." + "shortText": "The number of milliseconds to wait before dismissing after user interaction.\nIf `autoHideDuration` property isn't specified, it does nothing.\nIf `autoHideDuration` property is specified but `resumeHideDuration` isn't,\nwe use the default value.", + "tags": [ + { + "tag": "default", + "text": "autoHideDuration / 2 ms.\n" + } + ] }, "sources": [ { - "fileName": "node_modules/@mui/material/styles/index.d.ts", - "line": 86, - "character": 9 + "fileName": "src/index.d.ts", + "line": 150, + "character": 22 } ], "type": { - "type": "reference", - "typeArguments": [ + "type": "union", + "types": [ { - "type": "reference", - "id": 171, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "HTMLDivElement" - } - ], - "name": "HTMLAttributes" - } - ], - "name": "ClassNameMap" + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" } - ], - "name": "Partial" - }, - "inheritedFrom": { - "type": "reference", - "id": 41, - "name": "StyledComponentProps.classes" + ] } }, { - "id": 23, - "name": "disableWindowBlurListener", + "id": 28, + "name": "transitionDuration", "kind": 1024, "kindString": "Property", "flags": { @@ -3154,213 +3192,11 @@ "isOptional": true }, "comment": { - "shortText": "If `true`, the `autoHideDuration` timer will expire even if the window is not focused.", + "shortText": "The duration for the transition, in milliseconds.\nYou may specify the duration with an object in the following shape:\n```js\ntransitionDuration={{ enter: 300, exit: 500 }}\n```", "tags": [ { "tag": "default", - "text": "false\n" - } - ] - }, - "sources": [ - { - "fileName": "src/index.d.ts", - "line": 142, - "character": 29 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - }, - { - "id": 43, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@mui/material/index.d.ts", - "line": 20, - "character": 7 - } - ], - "type": { - "type": "conditional", - "checkType": { - "type": "typeParameter", - "name": "C" - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 44, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 45, - "name": "ref", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@mui/material/index.d.ts", - "line": 20, - "character": 25 - } - ], - "type": { - "type": "inferred", - "name": "RefType" - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 45 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@mui/material/index.d.ts", - "line": 20, - "character": 19 - } - ] - } - }, - "trueType": { - "type": "typeParameter", - "name": "RefType" - }, - "falseType": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "React.Ref" - } - }, - "inheritedFrom": { - "type": "reference", - "id": 37, - "name": "__type.ref" - } - }, - { - "id": 24, - "name": "resumeHideDuration", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "isOptional": true - }, - "comment": { - "shortText": "The number of milliseconds to wait before dismissing after user interaction.\nIf `autoHideDuration` property isn't specified, it does nothing.\nIf `autoHideDuration` property is specified but `resumeHideDuration` isn't,\nwe use the default value.", - "tags": [ - { - "tag": "default", - "text": "autoHideDuration / 2 ms.\n" - } - ] - }, - "sources": [ - { - "fileName": "src/index.d.ts", - "line": 150, - "character": 22 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 46, - "name": "style", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@mui/material/index.d.ts", - "line": 21, - "character": 9 - } - ], - "type": { - "type": "reference", - "name": "React.CSSProperties" - }, - "inheritedFrom": { - "type": "reference", - "id": 40, - "name": "__type.style" - } - }, - { - "id": 28, - "name": "transitionDuration", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "isOptional": true - }, - "comment": { - "shortText": "The duration for the transition, in milliseconds.\nYou may specify the duration with an object in the following shape:\n```js\ntransitionDuration={{ enter: 300, exit: 500 }}\n```", - "tags": [ - { - "tag": "default", - "text": "{ enter: 225, exit: 195 }\n" + "text": "{ enter: 225, exit: 195 }\n" } ] }, @@ -3507,12 +3343,8 @@ 19, 22, 20, - 42, - 41, 23, - 43, 24, - 46, 28 ] } @@ -3526,230 +3358,13 @@ ], "extendedTypes": [ { - "type": "intersection", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 34, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - } - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "root" - }, - { - "type": "stringLiteral", - "value": "anchorOriginTopCenter" - }, - { - "type": "stringLiteral", - "value": "anchorOriginBottomCenter" - }, - { - "type": "stringLiteral", - "value": "anchorOriginTopRight" - }, - { - "type": "stringLiteral", - "value": "anchorOriginBottomRight" - }, - { - "type": "stringLiteral", - "value": "anchorOriginTopLeft" - }, - { - "type": "stringLiteral", - "value": "anchorOriginBottomLeft" - } - ] - } - ], - "name": "StyledComponentProps" - }, - { - "type": "reflection", - "declaration": { - "id": 35, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 36, - "name": "className", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@mui/material/index.d.ts", - "line": 19, - "character": 13 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 37, - "name": "ref", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@mui/material/index.d.ts", - "line": 20, - "character": 7 - } - ], - "type": { - "type": "conditional", - "checkType": { - "type": "typeParameter", - "name": "C" - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 38, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 39, - "name": "ref", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@mui/material/index.d.ts", - "line": 20, - "character": 25 - } - ], - "type": { - "type": "inferred", - "name": "RefType" - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 39 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@mui/material/index.d.ts", - "line": 20, - "character": 19 - } - ] - } - }, - "trueType": { - "type": "typeParameter", - "name": "RefType" - }, - "falseType": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "React.Ref" - } - } - }, - { - "id": 40, - "name": "style", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@mui/material/index.d.ts", - "line": 21, - "character": 9 - } - ], - "type": { - "type": "reference", - "name": "React.CSSProperties" - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 36, - 37, - 40 - ] - } - ] - } - } - ] + "type": "intrinsic", + "name": "any" } ] }, { - "id": 61, + "id": 48, "name": "SnackbarProviderProps", "kind": 256, "kindString": "Interface", @@ -3761,7 +3376,7 @@ }, "children": [ { - "id": 73, + "id": 60, "name": "action", "kind": 1024, "kindString": "Property", @@ -3788,17 +3403,17 @@ ], "type": { "type": "reference", - "id": 183, + "id": 172, "name": "SnackbarAction" }, "inheritedFrom": { "type": "reference", - "id": 51, + "id": 38, "name": "SharedProps.action" } }, { - "id": 62, + "id": 49, "name": "children", "kind": 1024, "kindString": "Property", @@ -3833,7 +3448,7 @@ } }, { - "id": 67, + "id": 54, "name": "classes", "kind": 1024, "kindString": "Property", @@ -3856,11 +3471,11 @@ "typeArguments": [ { "type": "reference", - "id": 171, + "id": 160, "typeArguments": [ { "type": "reference", - "id": 211, + "id": 200, "name": "CombinedClassKey" } ], @@ -3871,7 +3486,7 @@ } }, { - "id": 72, + "id": 59, "name": "content", "kind": 1024, "kindString": "Property", @@ -3898,17 +3513,17 @@ ], "type": { "type": "reference", - "id": 187, + "id": 176, "name": "SnackbarContentCallback" }, "inheritedFrom": { "type": "reference", - "id": 50, + "id": 37, "name": "SharedProps.content" } }, { - "id": 63, + "id": 50, "name": "dense", "kind": 1024, "kindString": "Property", @@ -3951,7 +3566,7 @@ } }, { - "id": 66, + "id": 53, "name": "domRoot", "kind": 1024, "kindString": "Property", @@ -3975,7 +3590,7 @@ } }, { - "id": 65, + "id": 52, "name": "hideIconVariant", "kind": 1024, "kindString": "Property", @@ -4018,7 +3633,7 @@ } }, { - "id": 68, + "id": 55, "name": "iconVariant", "kind": 1024, "kindString": "Property", @@ -4049,7 +3664,7 @@ } }, { - "id": 64, + "id": 51, "name": "maxSnack", "kind": 1024, "kindString": "Property", @@ -4088,7 +3703,7 @@ } }, { - "id": 71, + "id": 58, "name": "preventDuplicate", "kind": 1024, "kindString": "Property", @@ -4131,12 +3746,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 49, + "id": 36, "name": "SharedProps.preventDuplicate" } }, { - "id": 70, + "id": 57, "name": "variant", "kind": 1024, "kindString": "Property", @@ -4162,12 +3777,12 @@ ], "type": { "type": "reference", - "id": 180, + "id": 169, "name": "VariantType" }, "inheritedFrom": { "type": "reference", - "id": 48, + "id": 35, "name": "SharedProps.variant" } } @@ -4177,17 +3792,17 @@ "title": "Properties", "kind": 1024, "children": [ - 73, - 62, - 67, - 72, - 63, - 66, - 65, - 68, - 64, - 71, - 70 + 60, + 49, + 54, + 59, + 50, + 53, + 52, + 55, + 51, + 58, + 57 ] } ], @@ -4201,7 +3816,7 @@ "extendedTypes": [ { "type": "reference", - "id": 47, + "id": 34, "name": "SharedProps" } ] @@ -4253,7 +3868,7 @@ ], "type": { "type": "reference", - "id": 192, + "id": 181, "name": "TransitionCloseHandler" } }, @@ -4277,7 +3892,7 @@ ], "type": { "type": "reference", - "id": 204, + "id": 193, "name": "TransitionHandler" } }, @@ -4301,7 +3916,7 @@ ], "type": { "type": "reference", - "id": 198, + "id": 187, "name": "TransitionEnterHandler" } }, @@ -4325,7 +3940,7 @@ ], "type": { "type": "reference", - "id": 204, + "id": 193, "name": "TransitionHandler" } }, @@ -4349,7 +3964,7 @@ ], "type": { "type": "reference", - "id": 204, + "id": 193, "name": "TransitionHandler" } }, @@ -4373,7 +3988,7 @@ ], "type": { "type": "reference", - "id": 204, + "id": 193, "name": "TransitionHandler" } }, @@ -4397,7 +4012,7 @@ ], "type": { "type": "reference", - "id": 204, + "id": 193, "name": "TransitionHandler" } } @@ -4426,7 +4041,7 @@ ] }, { - "id": 171, + "id": 160, "name": "ClassNameMap", "kind": 4194304, "kindString": "Type alias", @@ -4435,7 +4050,7 @@ }, "typeParameter": [ { - "id": 172, + "id": 161, "name": "ClassKey", "kind": 131072, "kindString": "Type parameter", @@ -4475,7 +4090,7 @@ } }, { - "id": 181, + "id": 170, "name": "CloseReason", "kind": 4194304, "kindString": "Type alias", @@ -4512,7 +4127,7 @@ } }, { - "id": 211, + "id": 200, "name": "CombinedClassKey", "kind": 4194304, "kindString": "Type alias", @@ -4531,12 +4146,12 @@ "types": [ { "type": "reference", - "id": 210, + "id": 199, "name": "VariantClassKey" }, { "type": "reference", - "id": 209, + "id": 198, "name": "ContainerClassKey" }, { @@ -4547,7 +4162,7 @@ } }, { - "id": 209, + "id": 198, "name": "ContainerClassKey", "kind": 4194304, "kindString": "Type alias", @@ -4596,7 +4211,7 @@ } }, { - "id": 176, + "id": 165, "name": "Modify", "kind": 4194304, "kindString": "Type alias", @@ -4605,7 +4220,7 @@ }, "typeParameter": [ { - "id": 177, + "id": 166, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -4614,7 +4229,7 @@ } }, { - "id": 178, + "id": 167, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -4673,7 +4288,7 @@ } }, { - "id": 173, + "id": 162, "name": "Omit", "kind": 4194304, "kindString": "Type alias", @@ -4682,7 +4297,7 @@ }, "typeParameter": [ { - "id": 174, + "id": 163, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -4691,7 +4306,7 @@ } }, { - "id": 175, + "id": 164, "name": "K", "kind": 131072, "kindString": "Type parameter", @@ -4753,7 +4368,7 @@ } }, { - "id": 168, + "id": 157, "name": "RequiredBy", "kind": 4194304, "kindString": "Type alias", @@ -4762,7 +4377,7 @@ }, "typeParameter": [ { - "id": 169, + "id": 158, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -4771,7 +4386,7 @@ } }, { - "id": 170, + "id": 159, "name": "K", "kind": 131072, "kindString": "Type parameter", @@ -4800,7 +4415,7 @@ "types": [ { "type": "reference", - "id": 173, + "id": 162, "typeArguments": [ { "type": "typeParameter", @@ -4853,7 +4468,7 @@ } }, { - "id": 183, + "id": 172, "name": "SnackbarAction", "kind": 4194304, "kindString": "Type alias", @@ -4877,7 +4492,7 @@ { "type": "reflection", "declaration": { - "id": 184, + "id": 173, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4886,7 +4501,7 @@ }, "signatures": [ { - "id": 185, + "id": 174, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -4895,7 +4510,7 @@ }, "parameters": [ { - "id": 186, + "id": 175, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4904,7 +4519,7 @@ }, "type": { "type": "reference", - "id": 179, + "id": 168, "name": "SnackbarKey" } } @@ -4928,7 +4543,7 @@ } }, { - "id": 187, + "id": 176, "name": "SnackbarContentCallback", "kind": 4194304, "kindString": "Type alias", @@ -4952,7 +4567,7 @@ { "type": "reflection", "declaration": { - "id": 188, + "id": 177, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4961,7 +4576,7 @@ }, "signatures": [ { - "id": 189, + "id": 178, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -4970,7 +4585,7 @@ }, "parameters": [ { - "id": 190, + "id": 179, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4979,12 +4594,12 @@ }, "type": { "type": "reference", - "id": 179, + "id": 168, "name": "SnackbarKey" } }, { - "id": 191, + "id": 180, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -4993,7 +4608,7 @@ }, "type": { "type": "reference", - "id": 182, + "id": 171, "name": "SnackbarMessage" } } @@ -5017,7 +4632,7 @@ } }, { - "id": 212, + "id": 201, "name": "SnackbarContentProps", "kind": 4194304, "kindString": "Type alias", @@ -5043,7 +4658,7 @@ } }, { - "id": 179, + "id": 168, "name": "SnackbarKey", "kind": 4194304, "kindString": "Type alias", @@ -5072,7 +4687,7 @@ } }, { - "id": 182, + "id": 171, "name": "SnackbarMessage", "kind": 4194304, "kindString": "Type alias", @@ -5101,7 +4716,7 @@ } }, { - "id": 192, + "id": 181, "name": "TransitionCloseHandler", "kind": 4194304, "kindString": "Type alias", @@ -5118,7 +4733,7 @@ "type": { "type": "reflection", "declaration": { - "id": 193, + "id": 182, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5127,7 +4742,7 @@ }, "signatures": [ { - "id": 194, + "id": 183, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -5136,7 +4751,7 @@ }, "parameters": [ { - "id": 195, + "id": 184, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -5164,7 +4779,7 @@ } }, { - "id": 196, + "id": 185, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -5173,12 +4788,12 @@ }, "type": { "type": "reference", - "id": 181, + "id": 170, "name": "CloseReason" } }, { - "id": 197, + "id": 186, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -5188,7 +4803,7 @@ }, "type": { "type": "reference", - "id": 179, + "id": 168, "name": "SnackbarKey" } } @@ -5210,7 +4825,7 @@ } }, { - "id": 198, + "id": 187, "name": "TransitionEnterHandler", "kind": 4194304, "kindString": "Type alias", @@ -5227,7 +4842,7 @@ "type": { "type": "reflection", "declaration": { - "id": 199, + "id": 188, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5236,7 +4851,7 @@ }, "signatures": [ { - "id": 200, + "id": 189, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -5245,7 +4860,7 @@ }, "parameters": [ { - "id": 201, + "id": 190, "name": "node", "kind": 32768, "kindString": "Parameter", @@ -5258,7 +4873,7 @@ } }, { - "id": 202, + "id": 191, "name": "isAppearing", "kind": 32768, "kindString": "Parameter", @@ -5271,7 +4886,7 @@ } }, { - "id": 203, + "id": 192, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -5280,7 +4895,7 @@ }, "type": { "type": "reference", - "id": 179, + "id": 168, "name": "SnackbarKey" } } @@ -5302,7 +4917,7 @@ } }, { - "id": 204, + "id": 193, "name": "TransitionHandler", "kind": 4194304, "kindString": "Type alias", @@ -5319,7 +4934,7 @@ "type": { "type": "reflection", "declaration": { - "id": 205, + "id": 194, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5328,7 +4943,7 @@ }, "signatures": [ { - "id": 206, + "id": 195, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -5337,7 +4952,7 @@ }, "parameters": [ { - "id": 207, + "id": 196, "name": "node", "kind": 32768, "kindString": "Parameter", @@ -5350,7 +4965,7 @@ } }, { - "id": 208, + "id": 197, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -5359,7 +4974,7 @@ }, "type": { "type": "reference", - "id": 179, + "id": 168, "name": "SnackbarKey" } } @@ -5381,7 +4996,7 @@ } }, { - "id": 210, + "id": 199, "name": "VariantClassKey", "kind": 4194304, "kindString": "Type alias", @@ -5418,7 +5033,7 @@ } }, { - "id": 180, + "id": 169, "name": "VariantType", "kind": 4194304, "kindString": "Type alias", @@ -5459,7 +5074,7 @@ } }, { - "id": 222, + "id": 214, "name": "WithSnackbarProps", "kind": 4194304, "kindString": "Type alias", @@ -5469,18 +5084,18 @@ "sources": [ { "fileName": "src/index.d.ts", - "line": 277, + "line": 278, "character": 29 } ], "type": { "type": "reference", - "id": 158, + "id": 145, "name": "ProviderContext" } }, { - "id": 219, + "id": 208, "name": "SnackbarContent", "kind": 32, "kindString": "Variable", @@ -5491,39 +5106,63 @@ "sources": [ { "fileName": "src/index.d.ts", - "line": 272, + "line": 273, "character": 36 } ], "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intersection", - "types": [ - { - "type": "reference", - "id": 212, - "name": "SnackbarContentProps" + "type": "reflection", + "declaration": { + "id": 209, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 210, + "name": "__call", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true }, - { - "type": "reference", - "typeArguments": [ - { + "parameters": [ + { + "id": 211, + "name": "props", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { "type": "reference", - "name": "HTMLDivElement" + "id": 201, + "name": "SnackbarContentProps" } - ], - "name": "RefAttributes" + } + ], + "type": { + "type": "reference", + "name": "JSX.element" } - ] - } - ], - "name": "React.ComponentType" + } + ], + "sources": [ + { + "fileName": "src/index.d.ts", + "line": 273, + "character": 37 + } + ] + } } }, { - "id": 220, + "id": 212, "name": "useSnackbar", "kind": 64, "kindString": "Function", @@ -5532,7 +5171,7 @@ }, "signatures": [ { - "id": 221, + "id": 213, "name": "useSnackbar", "kind": 4096, "kindString": "Call signature", @@ -5541,7 +5180,7 @@ }, "type": { "type": "reference", - "id": 158, + "id": 145, "name": "ProviderContext" } } @@ -5549,13 +5188,13 @@ "sources": [ { "fileName": "src/index.d.ts", - "line": 274, + "line": 275, "character": 27 } ] }, { - "id": 213, + "id": 202, "name": "withSnackbar", "kind": 64, "kindString": "Function", @@ -5564,7 +5203,7 @@ }, "signatures": [ { - "id": 214, + "id": 203, "name": "withSnackbar", "kind": 4096, "kindString": "Call signature", @@ -5573,7 +5212,7 @@ }, "typeParameter": [ { - "id": 215, + "id": 204, "name": "P", "kind": 131072, "kindString": "Type parameter", @@ -5582,14 +5221,14 @@ }, "type": { "type": "reference", - "id": 158, + "id": 145, "name": "ProviderContext" } } ], "parameters": [ { - "id": 216, + "id": 205, "name": "component", "kind": 32768, "kindString": "Parameter", @@ -5604,7 +5243,7 @@ "name": "P", "constraint": { "type": "reference", - "id": 158, + "id": 145, "name": "ProviderContext" } } @@ -5621,14 +5260,14 @@ "typeArguments": [ { "type": "reference", - "id": 173, + "id": 162, "typeArguments": [ { "type": "typeParameter", "name": "P", "constraint": { "type": "reference", - "id": 158, + "id": 145, "name": "ProviderContext" } }, @@ -5637,7 +5276,7 @@ "operator": "keyof", "target": { "type": "reference", - "id": 158, + "id": 145, "name": "ProviderContext" } } @@ -5650,7 +5289,7 @@ { "type": "reflection", "declaration": { - "id": 217, + "id": 206, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5659,7 +5298,7 @@ }, "children": [ { - "id": 218, + "id": 207, "name": "WrappedComponent", "kind": 32, "kindString": "Variable", @@ -5669,7 +5308,7 @@ "sources": [ { "fileName": "src/index.d.ts", - "line": 270, + "line": 271, "character": 77 } ], @@ -5681,7 +5320,7 @@ "name": "P", "constraint": { "type": "reference", - "id": 158, + "id": 145, "name": "ProviderContext" } } @@ -5695,14 +5334,14 @@ "title": "Variables", "kind": 32, "children": [ - 218 + 207 ] } ], "sources": [ { "fileName": "src/index.d.ts", - "line": 270, + "line": 271, "character": 58 } ] @@ -5715,7 +5354,7 @@ "sources": [ { "fileName": "src/index.d.ts", - "line": 269, + "line": 270, "character": 28 } ] @@ -5726,7 +5365,7 @@ "title": "Classes", "kind": 128, "children": [ - 74 + 61 ] }, { @@ -5734,39 +5373,39 @@ "kind": 256, "children": [ 4, - 54, - 158, - 47, + 41, + 145, + 34, 1, 18, - 61, + 48, 10 ], "categories": [ { "title": "Enqueue", "children": [ - 54 + 41 ] }, { "title": "Other", "children": [ 4, - 158, + 145, 1 ] }, { "title": "Provider", "children": [ - 61 + 48 ] }, { "title": "Shared", "children": [ - 47, + 34, 18, 10 ] @@ -5777,39 +5416,39 @@ "title": "Type aliases", "kind": 4194304, "children": [ - 171, - 181, - 211, - 209, + 160, + 170, + 200, + 198, + 165, + 162, + 157, + 172, 176, - 173, + 201, 168, - 183, + 171, + 181, 187, - 212, - 179, - 182, - 192, - 198, - 204, - 210, - 180, - 222 + 193, + 199, + 169, + 214 ] }, { "title": "Variables", "kind": 32, "children": [ - 219 + 208 ] }, { "title": "Functions", "kind": 64, "children": [ - 220, - 213 + 212, + 202 ] } ]