From ea744c02829b470165f734b5259aa7f1381b461b Mon Sep 17 00:00:00 2001 From: Hossein Dehnokhalaji Date: Sat, 15 Oct 2022 17:02:47 +0100 Subject: [PATCH] Minor fix. Update Changelog --- CHANGELOG.md | 6 + src/index.d.ts | 3 +- typedoc.json | 544 +++++++++++++++++++++++-------------------------- 3 files changed, 260 insertions(+), 293 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 52c20d5..0144650 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ Thanks to all contributers who improved notistack by opening an issue/PR. +### `notistack@2.0.7` +###### Oct 15, 2022 +* Fix TypeScript cannot be used as a JSX constructor [#485](https://github.com/iamhosseindhv/notistack/issues/485) + +
+ ### `notistack@2.0.6` ###### Oct 15, 2022 * **@ryancrunchi** **@vwalsh** Fix TypeScript cannot be used as a JSX constructor [#485](https://github.com/iamhosseindhv/notistack/issues/485) diff --git a/src/index.d.ts b/src/index.d.ts index 7995395..b22692a 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -259,12 +259,13 @@ export class SnackbarProvider extends React.Component { enqueueSnackbar: ProviderContext['enqueueSnackbar']; closeSnackbar: ProviderContext['closeSnackbar']; + + render(): ReactNode; } export interface ProviderContext { enqueueSnackbar: (message: SnackbarMessage, options?: OptionsObject) => SnackbarKey; closeSnackbar: (key?: SnackbarKey) => void; - render(): ReactNode; } export function withSnackbar

(component: React.ComponentType

): diff --git a/typedoc.json b/typedoc.json index 00b2151..6d1bbe8 100644 --- a/typedoc.json +++ b/typedoc.json @@ -15,7 +15,7 @@ }, "typeParameter": [ { - "id": 64, + "id": 66, "name": "S", "kind": 131072, "kindString": "Type parameter", @@ -24,7 +24,7 @@ } }, { - "id": 65, + "id": 67, "name": "SS", "kind": 131072, "kindString": "Type parameter", @@ -33,7 +33,7 @@ } }, { - "id": 110, + "id": 112, "name": "S", "kind": 131072, "kindString": "Type parameter", @@ -44,7 +44,7 @@ ], "children": [ { - "id": 113, + "id": 115, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -65,7 +65,7 @@ }, "signatures": [ { - "id": 114, + "id": 116, "name": "new SnackbarProvider", "kind": 16384, "kindString": "Constructor signature", @@ -86,7 +86,7 @@ }, "parameters": [ { - "id": 115, + "id": 117, "name": "props", "kind": 32768, "kindString": "Parameter", @@ -123,12 +123,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 113, + "id": 115, "name": "Component.__constructor" } }, { - "id": 116, + "id": 118, "name": "new SnackbarProvider", "kind": 16384, "kindString": "Constructor signature", @@ -149,7 +149,7 @@ }, "parameters": [ { - "id": 117, + "id": 119, "name": "props", "kind": 32768, "kindString": "Parameter", @@ -163,7 +163,7 @@ } }, { - "id": 118, + "id": 120, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -183,7 +183,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 113, + "id": 115, "name": "Component.__constructor" } } @@ -202,7 +202,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 113, + "id": 115, "name": "Component.__constructor" } }, @@ -234,7 +234,7 @@ } }, { - "id": 112, + "id": 114, "name": "context", "kind": 1024, "kindString": "Property", @@ -264,7 +264,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 112, + "id": 114, "name": "Component.context" } }, @@ -437,7 +437,7 @@ } }, { - "id": 111, + "id": 113, "name": "contextType", "kind": 1024, "kindString": "Property", @@ -484,12 +484,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 111, + "id": 113, "name": "Component.contextType" } }, { - "id": 90, + "id": 92, "name": "UNSAFE_componentWillMount", "kind": 2048, "kindString": "Method", @@ -499,7 +499,7 @@ }, "signatures": [ { - "id": 91, + "id": 93, "name": "UNSAFE_componentWillMount", "kind": 4096, "kindString": "Call signature", @@ -530,7 +530,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 90, + "id": 92, "name": "DeprecatedLifecycle.UNSAFE_componentWillMount" } } @@ -544,12 +544,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 90, + "id": 92, "name": "DeprecatedLifecycle.UNSAFE_componentWillMount" } }, { - "id": 96, + "id": 98, "name": "UNSAFE_componentWillReceiveProps", "kind": 2048, "kindString": "Method", @@ -559,7 +559,7 @@ }, "signatures": [ { - "id": 97, + "id": 99, "name": "UNSAFE_componentWillReceiveProps", "kind": 4096, "kindString": "Call signature", @@ -586,7 +586,7 @@ }, "parameters": [ { - "id": 98, + "id": 100, "name": "nextProps", "kind": 32768, "kindString": "Parameter", @@ -606,7 +606,7 @@ } }, { - "id": 99, + "id": 101, "name": "nextContext", "kind": 32768, "kindString": "Parameter", @@ -625,7 +625,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 96, + "id": 98, "name": "DeprecatedLifecycle.UNSAFE_componentWillReceiveProps" } } @@ -639,12 +639,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 96, + "id": 98, "name": "DeprecatedLifecycle.UNSAFE_componentWillReceiveProps" } }, { - "id": 105, + "id": 107, "name": "UNSAFE_componentWillUpdate", "kind": 2048, "kindString": "Method", @@ -654,7 +654,7 @@ }, "signatures": [ { - "id": 106, + "id": 108, "name": "UNSAFE_componentWillUpdate", "kind": 4096, "kindString": "Call signature", @@ -681,7 +681,7 @@ }, "parameters": [ { - "id": 107, + "id": 109, "name": "nextProps", "kind": 32768, "kindString": "Parameter", @@ -701,7 +701,7 @@ } }, { - "id": 108, + "id": 110, "name": "nextState", "kind": 32768, "kindString": "Parameter", @@ -720,7 +720,7 @@ } }, { - "id": 109, + "id": 111, "name": "nextContext", "kind": 32768, "kindString": "Parameter", @@ -739,7 +739,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 105, + "id": 107, "name": "DeprecatedLifecycle.UNSAFE_componentWillUpdate" } } @@ -753,12 +753,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 105, + "id": 107, "name": "DeprecatedLifecycle.UNSAFE_componentWillUpdate" } }, { - "id": 75, + "id": 77, "name": "componentDidCatch", "kind": 2048, "kindString": "Method", @@ -768,7 +768,7 @@ }, "signatures": [ { - "id": 76, + "id": 78, "name": "componentDidCatch", "kind": 4096, "kindString": "Call signature", @@ -780,7 +780,7 @@ }, "parameters": [ { - "id": 77, + "id": 79, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -793,7 +793,7 @@ } }, { - "id": 78, + "id": 80, "name": "errorInfo", "kind": 32768, "kindString": "Parameter", @@ -812,7 +812,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 75, + "id": 77, "name": "ComponentLifecycle.componentDidCatch" } } @@ -826,12 +826,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 75, + "id": 77, "name": "ComponentLifecycle.componentDidCatch" } }, { - "id": 66, + "id": 68, "name": "componentDidMount", "kind": 2048, "kindString": "Method", @@ -841,7 +841,7 @@ }, "signatures": [ { - "id": 67, + "id": 69, "name": "componentDidMount", "kind": 4096, "kindString": "Call signature", @@ -857,7 +857,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 66, + "id": 68, "name": "ComponentLifecycle.componentDidMount" } } @@ -871,12 +871,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 66, + "id": 68, "name": "ComponentLifecycle.componentDidMount" } }, { - "id": 83, + "id": 85, "name": "componentDidUpdate", "kind": 2048, "kindString": "Method", @@ -886,7 +886,7 @@ }, "signatures": [ { - "id": 84, + "id": 86, "name": "componentDidUpdate", "kind": 4096, "kindString": "Call signature", @@ -899,7 +899,7 @@ }, "parameters": [ { - "id": 85, + "id": 87, "name": "prevProps", "kind": 32768, "kindString": "Parameter", @@ -919,7 +919,7 @@ } }, { - "id": 86, + "id": 88, "name": "prevState", "kind": 32768, "kindString": "Parameter", @@ -938,7 +938,7 @@ } }, { - "id": 87, + "id": 89, "name": "snapshot", "kind": 32768, "kindString": "Parameter", @@ -948,7 +948,7 @@ }, "type": { "type": "reference", - "id": 65, + "id": 67, "name": "SS" } } @@ -959,7 +959,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 83, + "id": 85, "name": "NewLifecycle.componentDidUpdate" } } @@ -973,12 +973,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 83, + "id": 85, "name": "NewLifecycle.componentDidUpdate" } }, { - "id": 88, + "id": 90, "name": "componentWillMount", "kind": 2048, "kindString": "Method", @@ -988,7 +988,7 @@ }, "signatures": [ { - "id": 89, + "id": 91, "name": "componentWillMount", "kind": 4096, "kindString": "Call signature", @@ -1019,7 +1019,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 88, + "id": 90, "name": "DeprecatedLifecycle.componentWillMount" } } @@ -1033,12 +1033,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 88, + "id": 90, "name": "DeprecatedLifecycle.componentWillMount" } }, { - "id": 92, + "id": 94, "name": "componentWillReceiveProps", "kind": 2048, "kindString": "Method", @@ -1048,7 +1048,7 @@ }, "signatures": [ { - "id": 93, + "id": 95, "name": "componentWillReceiveProps", "kind": 4096, "kindString": "Call signature", @@ -1075,7 +1075,7 @@ }, "parameters": [ { - "id": 94, + "id": 96, "name": "nextProps", "kind": 32768, "kindString": "Parameter", @@ -1095,7 +1095,7 @@ } }, { - "id": 95, + "id": 97, "name": "nextContext", "kind": 32768, "kindString": "Parameter", @@ -1114,7 +1114,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 92, + "id": 94, "name": "DeprecatedLifecycle.componentWillReceiveProps" } } @@ -1128,12 +1128,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 92, + "id": 94, "name": "DeprecatedLifecycle.componentWillReceiveProps" } }, { - "id": 73, + "id": 75, "name": "componentWillUnmount", "kind": 2048, "kindString": "Method", @@ -1143,7 +1143,7 @@ }, "signatures": [ { - "id": 74, + "id": 76, "name": "componentWillUnmount", "kind": 4096, "kindString": "Call signature", @@ -1159,7 +1159,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 73, + "id": 75, "name": "ComponentLifecycle.componentWillUnmount" } } @@ -1173,12 +1173,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 73, + "id": 75, "name": "ComponentLifecycle.componentWillUnmount" } }, { - "id": 100, + "id": 102, "name": "componentWillUpdate", "kind": 2048, "kindString": "Method", @@ -1188,7 +1188,7 @@ }, "signatures": [ { - "id": 101, + "id": 103, "name": "componentWillUpdate", "kind": 4096, "kindString": "Call signature", @@ -1215,7 +1215,7 @@ }, "parameters": [ { - "id": 102, + "id": 104, "name": "nextProps", "kind": 32768, "kindString": "Parameter", @@ -1235,7 +1235,7 @@ } }, { - "id": 103, + "id": 105, "name": "nextState", "kind": 32768, "kindString": "Parameter", @@ -1254,7 +1254,7 @@ } }, { - "id": 104, + "id": 106, "name": "nextContext", "kind": 32768, "kindString": "Parameter", @@ -1273,7 +1273,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 100, + "id": 102, "name": "DeprecatedLifecycle.componentWillUpdate" } } @@ -1287,12 +1287,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 100, + "id": 102, "name": "DeprecatedLifecycle.componentWillUpdate" } }, { - "id": 132, + "id": 134, "name": "forceUpdate", "kind": 2048, "kindString": "Method", @@ -1301,7 +1301,7 @@ }, "signatures": [ { - "id": 133, + "id": 135, "name": "forceUpdate", "kind": 4096, "kindString": "Call signature", @@ -1310,7 +1310,7 @@ }, "parameters": [ { - "id": 134, + "id": 136, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1328,7 +1328,7 @@ { "type": "reflection", "declaration": { - "id": 135, + "id": 137, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1337,7 +1337,7 @@ }, "signatures": [ { - "id": 136, + "id": 138, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -1362,7 +1362,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 132, + "id": 134, "name": "Component.forceUpdate" } } @@ -1376,12 +1376,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 132, + "id": 134, "name": "Component.forceUpdate" } }, { - "id": 79, + "id": 81, "name": "getSnapshotBeforeUpdate", "kind": 2048, "kindString": "Method", @@ -1391,7 +1391,7 @@ }, "signatures": [ { - "id": 80, + "id": 82, "name": "getSnapshotBeforeUpdate", "kind": 4096, "kindString": "Call signature", @@ -1404,7 +1404,7 @@ }, "parameters": [ { - "id": 81, + "id": 83, "name": "prevProps", "kind": 32768, "kindString": "Parameter", @@ -1424,7 +1424,7 @@ } }, { - "id": 82, + "id": 84, "name": "prevState", "kind": 32768, "kindString": "Parameter", @@ -1458,7 +1458,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 79, + "id": 81, "name": "NewLifecycle.getSnapshotBeforeUpdate" } } @@ -1472,12 +1472,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 79, + "id": 81, "name": "NewLifecycle.getSnapshotBeforeUpdate" } }, { - "id": 137, + "id": 64, "name": "render", "kind": 2048, "kindString": "Method", @@ -1486,7 +1486,7 @@ }, "signatures": [ { - "id": 138, + "id": 65, "name": "render", "kind": 4096, "kindString": "Call signature", @@ -1497,28 +1497,26 @@ "type": "reference", "name": "ReactNode" }, - "inheritedFrom": { + "overwrites": { "type": "reference", - "id": 137, "name": "Component.render" } } ], "sources": [ { - "fileName": "node_modules/@types/react/index.d.ts", - "line": 488, - "character": 14 + "fileName": "src/index.d.ts", + "line": 263, + "character": 10 } ], - "inheritedFrom": { + "overwrites": { "type": "reference", - "id": 137, "name": "Component.render" } }, { - "id": 119, + "id": 121, "name": "setState", "kind": 2048, "kindString": "Method", @@ -1527,7 +1525,7 @@ }, "signatures": [ { - "id": 120, + "id": 122, "name": "setState", "kind": 4096, "kindString": "Call signature", @@ -1536,7 +1534,7 @@ }, "typeParameter": [ { - "id": 121, + "id": 123, "name": "K", "kind": 131072, "kindString": "Type parameter", @@ -1555,7 +1553,7 @@ ], "parameters": [ { - "id": 122, + "id": 124, "name": "state", "kind": 32768, "kindString": "Parameter", @@ -1568,7 +1566,7 @@ { "type": "reflection", "declaration": { - "id": 123, + "id": 125, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1577,7 +1575,7 @@ }, "signatures": [ { - "id": 124, + "id": 126, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -1586,7 +1584,7 @@ }, "parameters": [ { - "id": 125, + "id": 127, "name": "prevState", "kind": 32768, "kindString": "Parameter", @@ -1605,7 +1603,7 @@ } }, { - "id": 126, + "id": 128, "name": "props", "kind": 32768, "kindString": "Parameter", @@ -1639,7 +1637,7 @@ { "type": "reflection", "declaration": { - "id": 127, + "id": 129, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1675,7 +1673,7 @@ { "type": "reflection", "declaration": { - "id": 128, + "id": 130, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1690,7 +1688,7 @@ } }, { - "id": 129, + "id": 131, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1708,7 +1706,7 @@ { "type": "reflection", "declaration": { - "id": 130, + "id": 132, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1717,7 +1715,7 @@ }, "signatures": [ { - "id": 131, + "id": 133, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -1742,7 +1740,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 119, + "id": 121, "name": "Component.setState" } } @@ -1756,12 +1754,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 119, + "id": 121, "name": "Component.setState" } }, { - "id": 68, + "id": 70, "name": "shouldComponentUpdate", "kind": 2048, "kindString": "Method", @@ -1771,7 +1769,7 @@ }, "signatures": [ { - "id": 69, + "id": 71, "name": "shouldComponentUpdate", "kind": 4096, "kindString": "Call signature", @@ -1784,7 +1782,7 @@ }, "parameters": [ { - "id": 70, + "id": 72, "name": "nextProps", "kind": 32768, "kindString": "Parameter", @@ -1804,7 +1802,7 @@ } }, { - "id": 71, + "id": 73, "name": "nextState", "kind": 32768, "kindString": "Parameter", @@ -1823,7 +1821,7 @@ } }, { - "id": 72, + "id": 74, "name": "nextContext", "kind": 32768, "kindString": "Parameter", @@ -1842,7 +1840,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 68, + "id": 70, "name": "ComponentLifecycle.shouldComponentUpdate" } } @@ -1856,7 +1854,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 68, + "id": 70, "name": "ComponentLifecycle.shouldComponentUpdate" } } @@ -1866,7 +1864,7 @@ "title": "Constructors", "kind": 512, "children": [ - 113 + 115 ] }, { @@ -1874,33 +1872,33 @@ "kind": 1024, "children": [ 63, - 112, + 114, 62, 139, 141, 140, - 111 + 113 ] }, { "title": "Methods", "kind": 2048, "children": [ + 92, + 98, + 107, + 77, + 68, + 85, 90, - 96, - 105, + 94, 75, - 66, - 83, - 88, - 92, - 73, - 100, - 132, - 79, - 137, - 119, - 68 + 102, + 134, + 81, + 64, + 121, + 70 ] } ], @@ -2109,7 +2107,7 @@ ], "type": { "type": "reference", - "id": 172, + "id": 170, "name": "SnackbarAction" }, "inheritedFrom": { @@ -2146,7 +2144,7 @@ ], "type": { "type": "reference", - "id": 176, + "id": 174, "name": "SnackbarContentCallback" }, "inheritedFrom": { @@ -2182,7 +2180,7 @@ ], "type": { "type": "reference", - "id": 168, + "id": 166, "name": "SnackbarKey" } }, @@ -2304,7 +2302,7 @@ ], "type": { "type": "reference", - "id": 169, + "id": 167, "name": "VariantType" }, "inheritedFrom": { @@ -2363,7 +2361,7 @@ "sources": [ { "fileName": "src/index.d.ts", - "line": 266, + "line": 268, "character": 17 } ], @@ -2398,7 +2396,7 @@ }, "type": { "type": "reference", - "id": 168, + "id": 166, "name": "SnackbarKey" } } @@ -2412,7 +2410,7 @@ "sources": [ { "fileName": "src/index.d.ts", - "line": 266, + "line": 268, "character": 18 } ] @@ -2430,7 +2428,7 @@ "sources": [ { "fileName": "src/index.d.ts", - "line": 265, + "line": 267, "character": 19 } ], @@ -2464,7 +2462,7 @@ }, "type": { "type": "reference", - "id": 171, + "id": 169, "name": "SnackbarMessage" } }, @@ -2486,7 +2484,7 @@ ], "type": { "type": "reference", - "id": 168, + "id": 166, "name": "SnackbarKey" } } @@ -2494,43 +2492,12 @@ "sources": [ { "fileName": "src/index.d.ts", - "line": 265, + "line": 267, "character": 20 } ] } } - }, - { - "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": [ @@ -2541,19 +2508,12 @@ 151, 146 ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 155 - ] } ], "sources": [ { "fileName": "src/index.d.ts", - "line": 264, + "line": 266, "character": 32 } ] @@ -2596,7 +2556,7 @@ ], "type": { "type": "reference", - "id": 172, + "id": 170, "name": "SnackbarAction" } }, @@ -2628,7 +2588,7 @@ ], "type": { "type": "reference", - "id": 176, + "id": 174, "name": "SnackbarContentCallback" } }, @@ -2702,7 +2662,7 @@ ], "type": { "type": "reference", - "id": 169, + "id": 167, "name": "VariantType" } } @@ -3403,7 +3363,7 @@ ], "type": { "type": "reference", - "id": 172, + "id": 170, "name": "SnackbarAction" }, "inheritedFrom": { @@ -3471,11 +3431,11 @@ "typeArguments": [ { "type": "reference", - "id": 160, + "id": 158, "typeArguments": [ { "type": "reference", - "id": 200, + "id": 198, "name": "CombinedClassKey" } ], @@ -3513,7 +3473,7 @@ ], "type": { "type": "reference", - "id": 176, + "id": 174, "name": "SnackbarContentCallback" }, "inheritedFrom": { @@ -3777,7 +3737,7 @@ ], "type": { "type": "reference", - "id": 169, + "id": 167, "name": "VariantType" }, "inheritedFrom": { @@ -3868,7 +3828,7 @@ ], "type": { "type": "reference", - "id": 181, + "id": 179, "name": "TransitionCloseHandler" } }, @@ -3892,7 +3852,7 @@ ], "type": { "type": "reference", - "id": 193, + "id": 191, "name": "TransitionHandler" } }, @@ -3916,7 +3876,7 @@ ], "type": { "type": "reference", - "id": 187, + "id": 185, "name": "TransitionEnterHandler" } }, @@ -3940,7 +3900,7 @@ ], "type": { "type": "reference", - "id": 193, + "id": 191, "name": "TransitionHandler" } }, @@ -3964,7 +3924,7 @@ ], "type": { "type": "reference", - "id": 193, + "id": 191, "name": "TransitionHandler" } }, @@ -3988,7 +3948,7 @@ ], "type": { "type": "reference", - "id": 193, + "id": 191, "name": "TransitionHandler" } }, @@ -4012,7 +3972,7 @@ ], "type": { "type": "reference", - "id": 193, + "id": 191, "name": "TransitionHandler" } } @@ -4041,7 +4001,7 @@ ] }, { - "id": 160, + "id": 158, "name": "ClassNameMap", "kind": 4194304, "kindString": "Type alias", @@ -4050,7 +4010,7 @@ }, "typeParameter": [ { - "id": 161, + "id": 159, "name": "ClassKey", "kind": 131072, "kindString": "Type parameter", @@ -4090,7 +4050,7 @@ } }, { - "id": 170, + "id": 168, "name": "CloseReason", "kind": 4194304, "kindString": "Type alias", @@ -4127,7 +4087,7 @@ } }, { - "id": 200, + "id": 198, "name": "CombinedClassKey", "kind": 4194304, "kindString": "Type alias", @@ -4146,12 +4106,12 @@ "types": [ { "type": "reference", - "id": 199, + "id": 197, "name": "VariantClassKey" }, { "type": "reference", - "id": 198, + "id": 196, "name": "ContainerClassKey" }, { @@ -4162,7 +4122,7 @@ } }, { - "id": 198, + "id": 196, "name": "ContainerClassKey", "kind": 4194304, "kindString": "Type alias", @@ -4211,7 +4171,7 @@ } }, { - "id": 165, + "id": 163, "name": "Modify", "kind": 4194304, "kindString": "Type alias", @@ -4220,7 +4180,7 @@ }, "typeParameter": [ { - "id": 166, + "id": 164, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -4229,7 +4189,7 @@ } }, { - "id": 167, + "id": 165, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -4288,7 +4248,7 @@ } }, { - "id": 162, + "id": 160, "name": "Omit", "kind": 4194304, "kindString": "Type alias", @@ -4297,7 +4257,7 @@ }, "typeParameter": [ { - "id": 163, + "id": 161, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -4306,7 +4266,7 @@ } }, { - "id": 164, + "id": 162, "name": "K", "kind": 131072, "kindString": "Type parameter", @@ -4368,7 +4328,7 @@ } }, { - "id": 157, + "id": 155, "name": "RequiredBy", "kind": 4194304, "kindString": "Type alias", @@ -4377,7 +4337,7 @@ }, "typeParameter": [ { - "id": 158, + "id": 156, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -4386,7 +4346,7 @@ } }, { - "id": 159, + "id": 157, "name": "K", "kind": 131072, "kindString": "Type parameter", @@ -4415,7 +4375,7 @@ "types": [ { "type": "reference", - "id": 162, + "id": 160, "typeArguments": [ { "type": "typeParameter", @@ -4468,7 +4428,7 @@ } }, { - "id": 172, + "id": 170, "name": "SnackbarAction", "kind": 4194304, "kindString": "Type alias", @@ -4492,7 +4452,7 @@ { "type": "reflection", "declaration": { - "id": 173, + "id": 171, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4501,7 +4461,7 @@ }, "signatures": [ { - "id": 174, + "id": 172, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -4510,7 +4470,7 @@ }, "parameters": [ { - "id": 175, + "id": 173, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4519,7 +4479,7 @@ }, "type": { "type": "reference", - "id": 168, + "id": 166, "name": "SnackbarKey" } } @@ -4543,7 +4503,7 @@ } }, { - "id": 176, + "id": 174, "name": "SnackbarContentCallback", "kind": 4194304, "kindString": "Type alias", @@ -4567,7 +4527,7 @@ { "type": "reflection", "declaration": { - "id": 177, + "id": 175, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4576,7 +4536,7 @@ }, "signatures": [ { - "id": 178, + "id": 176, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -4585,7 +4545,7 @@ }, "parameters": [ { - "id": 179, + "id": 177, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4594,12 +4554,12 @@ }, "type": { "type": "reference", - "id": 168, + "id": 166, "name": "SnackbarKey" } }, { - "id": 180, + "id": 178, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -4608,7 +4568,7 @@ }, "type": { "type": "reference", - "id": 171, + "id": 169, "name": "SnackbarMessage" } } @@ -4632,7 +4592,7 @@ } }, { - "id": 201, + "id": 199, "name": "SnackbarContentProps", "kind": 4194304, "kindString": "Type alias", @@ -4658,7 +4618,7 @@ } }, { - "id": 168, + "id": 166, "name": "SnackbarKey", "kind": 4194304, "kindString": "Type alias", @@ -4687,7 +4647,7 @@ } }, { - "id": 171, + "id": 169, "name": "SnackbarMessage", "kind": 4194304, "kindString": "Type alias", @@ -4716,7 +4676,7 @@ } }, { - "id": 181, + "id": 179, "name": "TransitionCloseHandler", "kind": 4194304, "kindString": "Type alias", @@ -4733,7 +4693,7 @@ "type": { "type": "reflection", "declaration": { - "id": 182, + "id": 180, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4742,7 +4702,7 @@ }, "signatures": [ { - "id": 183, + "id": 181, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -4751,7 +4711,7 @@ }, "parameters": [ { - "id": 184, + "id": 182, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -4779,7 +4739,7 @@ } }, { - "id": 185, + "id": 183, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -4788,12 +4748,12 @@ }, "type": { "type": "reference", - "id": 170, + "id": 168, "name": "CloseReason" } }, { - "id": 186, + "id": 184, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4803,7 +4763,7 @@ }, "type": { "type": "reference", - "id": 168, + "id": 166, "name": "SnackbarKey" } } @@ -4825,7 +4785,7 @@ } }, { - "id": 187, + "id": 185, "name": "TransitionEnterHandler", "kind": 4194304, "kindString": "Type alias", @@ -4842,7 +4802,7 @@ "type": { "type": "reflection", "declaration": { - "id": 188, + "id": 186, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4851,7 +4811,7 @@ }, "signatures": [ { - "id": 189, + "id": 187, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -4860,7 +4820,7 @@ }, "parameters": [ { - "id": 190, + "id": 188, "name": "node", "kind": 32768, "kindString": "Parameter", @@ -4873,7 +4833,7 @@ } }, { - "id": 191, + "id": 189, "name": "isAppearing", "kind": 32768, "kindString": "Parameter", @@ -4886,7 +4846,7 @@ } }, { - "id": 192, + "id": 190, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4895,7 +4855,7 @@ }, "type": { "type": "reference", - "id": 168, + "id": 166, "name": "SnackbarKey" } } @@ -4917,7 +4877,7 @@ } }, { - "id": 193, + "id": 191, "name": "TransitionHandler", "kind": 4194304, "kindString": "Type alias", @@ -4934,7 +4894,7 @@ "type": { "type": "reflection", "declaration": { - "id": 194, + "id": 192, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4943,7 +4903,7 @@ }, "signatures": [ { - "id": 195, + "id": 193, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -4952,7 +4912,7 @@ }, "parameters": [ { - "id": 196, + "id": 194, "name": "node", "kind": 32768, "kindString": "Parameter", @@ -4965,7 +4925,7 @@ } }, { - "id": 197, + "id": 195, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4974,7 +4934,7 @@ }, "type": { "type": "reference", - "id": 168, + "id": 166, "name": "SnackbarKey" } } @@ -4996,7 +4956,7 @@ } }, { - "id": 199, + "id": 197, "name": "VariantClassKey", "kind": 4194304, "kindString": "Type alias", @@ -5033,7 +4993,7 @@ } }, { - "id": 169, + "id": 167, "name": "VariantType", "kind": 4194304, "kindString": "Type alias", @@ -5074,7 +5034,7 @@ } }, { - "id": 214, + "id": 212, "name": "WithSnackbarProps", "kind": 4194304, "kindString": "Type alias", @@ -5084,7 +5044,7 @@ "sources": [ { "fileName": "src/index.d.ts", - "line": 278, + "line": 279, "character": 29 } ], @@ -5095,7 +5055,7 @@ } }, { - "id": 208, + "id": 206, "name": "SnackbarContent", "kind": 32, "kindString": "Variable", @@ -5106,14 +5066,14 @@ "sources": [ { "fileName": "src/index.d.ts", - "line": 273, + "line": 274, "character": 36 } ], "type": { "type": "reflection", "declaration": { - "id": 209, + "id": 207, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5122,7 +5082,7 @@ }, "signatures": [ { - "id": 210, + "id": 208, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -5131,7 +5091,7 @@ }, "parameters": [ { - "id": 211, + "id": 209, "name": "props", "kind": 32768, "kindString": "Parameter", @@ -5140,7 +5100,7 @@ }, "type": { "type": "reference", - "id": 201, + "id": 199, "name": "SnackbarContentProps" } } @@ -5154,7 +5114,7 @@ "sources": [ { "fileName": "src/index.d.ts", - "line": 273, + "line": 274, "character": 37 } ] @@ -5162,7 +5122,7 @@ } }, { - "id": 212, + "id": 210, "name": "useSnackbar", "kind": 64, "kindString": "Function", @@ -5171,7 +5131,7 @@ }, "signatures": [ { - "id": 213, + "id": 211, "name": "useSnackbar", "kind": 4096, "kindString": "Call signature", @@ -5188,13 +5148,13 @@ "sources": [ { "fileName": "src/index.d.ts", - "line": 275, + "line": 276, "character": 27 } ] }, { - "id": 202, + "id": 200, "name": "withSnackbar", "kind": 64, "kindString": "Function", @@ -5203,7 +5163,7 @@ }, "signatures": [ { - "id": 203, + "id": 201, "name": "withSnackbar", "kind": 4096, "kindString": "Call signature", @@ -5212,7 +5172,7 @@ }, "typeParameter": [ { - "id": 204, + "id": 202, "name": "P", "kind": 131072, "kindString": "Type parameter", @@ -5228,7 +5188,7 @@ ], "parameters": [ { - "id": 205, + "id": 203, "name": "component", "kind": 32768, "kindString": "Parameter", @@ -5260,7 +5220,7 @@ "typeArguments": [ { "type": "reference", - "id": 162, + "id": 160, "typeArguments": [ { "type": "typeParameter", @@ -5289,7 +5249,7 @@ { "type": "reflection", "declaration": { - "id": 206, + "id": 204, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5298,7 +5258,7 @@ }, "children": [ { - "id": 207, + "id": 205, "name": "WrappedComponent", "kind": 32, "kindString": "Variable", @@ -5308,7 +5268,7 @@ "sources": [ { "fileName": "src/index.d.ts", - "line": 271, + "line": 272, "character": 77 } ], @@ -5334,14 +5294,14 @@ "title": "Variables", "kind": 32, "children": [ - 207 + 205 ] } ], "sources": [ { "fileName": "src/index.d.ts", - "line": 271, + "line": 272, "character": 58 } ] @@ -5354,7 +5314,7 @@ "sources": [ { "fileName": "src/index.d.ts", - "line": 270, + "line": 271, "character": 28 } ] @@ -5416,39 +5376,39 @@ "title": "Type aliases", "kind": 4194304, "children": [ + 158, + 168, + 198, + 196, + 163, 160, + 155, 170, - 200, - 198, - 165, - 162, - 157, - 172, - 176, - 201, - 168, - 171, - 181, - 187, - 193, + 174, 199, + 166, 169, - 214 + 179, + 185, + 191, + 197, + 167, + 212 ] }, { "title": "Variables", "kind": 32, "children": [ - 208 + 206 ] }, { "title": "Functions", "kind": 64, "children": [ - 212, - 202 + 210, + 200 ] } ]