@xyo-network/react-storybook 2.64.0-rc.6 → 2.64.0
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/dist/browser/DeprecateStory.cjs +34 -0
- package/dist/{node/DeprecateStory.mjs.map → browser/DeprecateStory.cjs.map} +1 -1
- package/dist/browser/DeprecateStory.d.cts +5 -0
- package/dist/browser/DeprecateStory.d.cts.map +1 -0
- package/dist/browser/WithMapboxSetup.cjs +31 -0
- package/dist/{node/WithMapboxSetup.mjs.map → browser/WithMapboxSetup.cjs.map} +1 -1
- package/dist/browser/WithMapboxSetup.d.cts +3 -0
- package/dist/browser/WithMapboxSetup.d.cts.map +1 -0
- package/dist/browser/WithRefDecorator.cjs +42 -0
- package/dist/{node/WithRefDecorator.mjs.map → browser/WithRefDecorator.cjs.map} +1 -1
- package/dist/browser/WithRefDecorator.d.cts +3 -0
- package/dist/browser/WithRefDecorator.d.cts.map +1 -0
- package/dist/browser/defaultSeedPhrase.cjs +27 -0
- package/dist/{node/defaultSeedPhrase.mjs.map → browser/defaultSeedPhrase.cjs.map} +1 -1
- package/dist/browser/defaultSeedPhrase.d.cts +2 -0
- package/dist/browser/defaultSeedPhrase.d.cts.map +1 -0
- package/dist/browser/index.cjs +805 -0
- package/dist/browser/index.cjs.map +1 -0
- package/dist/browser/index.d.cts +13 -0
- package/dist/browser/index.d.cts.map +1 -0
- package/dist/{node/sampleAddressHistory.mjs → browser/sampleAddressHistory.cjs} +42 -20
- package/dist/{node/sampleAddressHistory.mjs.map → browser/sampleAddressHistory.cjs.map} +1 -1
- package/dist/browser/sampleAddressHistory.d.cts +35 -0
- package/dist/browser/sampleAddressHistory.d.cts.map +1 -0
- package/dist/{node/sampleBlock.mjs → browser/sampleBlock.cjs} +31 -9
- package/dist/{node/sampleBlock.mjs.map → browser/sampleBlock.cjs.map} +1 -1
- package/dist/browser/sampleBlock.d.cts +7 -0
- package/dist/browser/sampleBlock.d.cts.map +1 -0
- package/dist/{node/sampleCoinGeckoPayload.mjs → browser/sampleCoinGeckoPayload.cjs} +27 -5
- package/dist/{node/sampleCoinGeckoPayload.mjs.map → browser/sampleCoinGeckoPayload.cjs.map} +1 -1
- package/dist/browser/sampleCoinGeckoPayload.d.cts +73 -0
- package/dist/browser/sampleCoinGeckoPayload.d.cts.map +1 -0
- package/dist/browser/sampleEthereumGasDivinerPayload.cjs +50 -0
- package/dist/{node/sampleEthereumGasDivinerPayload.mjs.map → browser/sampleEthereumGasDivinerPayload.cjs.map} +1 -1
- package/dist/browser/sampleEthereumGasDivinerPayload.d.cts +24 -0
- package/dist/browser/sampleEthereumGasDivinerPayload.d.cts.map +1 -0
- package/dist/{node/sampleGasPricePayloads/blocknative.mjs → browser/sampleGasPricePayloads/blocknative.cjs} +27 -5
- package/dist/{node/sampleGasPricePayloads/blocknative.mjs.map → browser/sampleGasPricePayloads/blocknative.cjs.map} +1 -1
- package/dist/browser/sampleGasPricePayloads/blocknative.d.cts +68 -0
- package/dist/browser/sampleGasPricePayloads/blocknative.d.cts.map +1 -0
- package/dist/browser/sampleGasPricePayloads/ethGasStation.cjs +44 -0
- package/dist/{node/sampleGasPricePayloads/ethGasStation.mjs.map → browser/sampleGasPricePayloads/ethGasStation.cjs.map} +1 -1
- package/dist/browser/sampleGasPricePayloads/ethGasStation.d.cts +19 -0
- package/dist/browser/sampleGasPricePayloads/ethGasStation.d.cts.map +1 -0
- package/dist/browser/sampleGasPricePayloads/etherchainV1.cjs +36 -0
- package/dist/{node/sampleGasPricePayloads/etherchainV1.mjs.map → browser/sampleGasPricePayloads/etherchainV1.cjs.map} +1 -1
- package/dist/browser/sampleGasPricePayloads/etherchainV1.d.cts +11 -0
- package/dist/browser/sampleGasPricePayloads/etherchainV1.d.cts.map +1 -0
- package/dist/browser/sampleGasPricePayloads/etherchainV2.cjs +39 -0
- package/dist/{node/sampleGasPricePayloads/etherchainV2.mjs.map → browser/sampleGasPricePayloads/etherchainV2.cjs.map} +1 -1
- package/dist/browser/sampleGasPricePayloads/etherchainV2.d.cts +14 -0
- package/dist/browser/sampleGasPricePayloads/etherchainV2.d.cts.map +1 -0
- package/dist/browser/sampleGasPricePayloads/ethers.cjs +34 -0
- package/dist/{node/sampleGasPricePayloads/ethers.mjs.map → browser/sampleGasPricePayloads/ethers.cjs.map} +1 -1
- package/dist/browser/sampleGasPricePayloads/ethers.d.cts +9 -0
- package/dist/browser/sampleGasPricePayloads/ethers.d.cts.map +1 -0
- package/dist/browser/sampleGasPricePayloads/etherscan.cjs +40 -0
- package/dist/{node/sampleGasPricePayloads/etherscan.mjs.map → browser/sampleGasPricePayloads/etherscan.cjs.map} +1 -1
- package/dist/browser/sampleGasPricePayloads/etherscan.d.cts +15 -0
- package/dist/browser/sampleGasPricePayloads/etherscan.d.cts.map +1 -0
- package/dist/browser/sampleGasPricePayloads/index.cjs +197 -0
- package/dist/browser/sampleGasPricePayloads/index.cjs.map +1 -0
- package/dist/browser/sampleGasPricePayloads/index.d.cts +7 -0
- package/dist/browser/sampleGasPricePayloads/index.d.cts.map +1 -0
- package/dist/browser/samplePayload.cjs +57 -0
- package/dist/{node/samplePayload.mjs.map → browser/samplePayload.cjs.map} +1 -1
- package/dist/browser/samplePayload.d.cts +31 -0
- package/dist/browser/samplePayload.d.cts.map +1 -0
- package/dist/{node/sampleUniswapPayload.mjs → browser/sampleUniswapPayload.cjs} +29 -7
- package/dist/{node/sampleUniswapPayload.mjs.map → browser/sampleUniswapPayload.cjs.map} +1 -1
- package/dist/browser/sampleUniswapPayload.d.cts +17 -0
- package/dist/browser/sampleUniswapPayload.d.cts.map +1 -0
- package/dist/browser/useAppThemeDecorator.cjs +45 -0
- package/dist/{node/useAppThemeDecorator.mjs.map → browser/useAppThemeDecorator.cjs.map} +1 -1
- package/dist/browser/useAppThemeDecorator.d.cts +4 -0
- package/dist/browser/useAppThemeDecorator.d.cts.map +1 -0
- package/dist/docs.json +8680 -0
- package/dist/node/DeprecateStory.cjs +38 -0
- package/dist/node/DeprecateStory.cjs.map +1 -0
- package/dist/node/DeprecateStory.d.cts +5 -0
- package/dist/node/DeprecateStory.d.cts.map +1 -0
- package/dist/node/DeprecateStory.js +8 -31
- package/dist/node/DeprecateStory.js.map +1 -1
- package/dist/node/WithMapboxSetup.cjs +35 -0
- package/dist/node/WithMapboxSetup.cjs.map +1 -0
- package/dist/node/WithMapboxSetup.d.cts +3 -0
- package/dist/node/WithMapboxSetup.d.cts.map +1 -0
- package/dist/node/WithMapboxSetup.js +7 -30
- package/dist/node/WithMapboxSetup.js.map +1 -1
- package/dist/node/WithRefDecorator.cjs +46 -0
- package/dist/node/WithRefDecorator.cjs.map +1 -0
- package/dist/node/WithRefDecorator.d.cts +3 -0
- package/dist/node/WithRefDecorator.d.cts.map +1 -0
- package/dist/node/WithRefDecorator.js +11 -34
- package/dist/node/WithRefDecorator.js.map +1 -1
- package/dist/node/defaultSeedPhrase.cjs +31 -0
- package/dist/node/defaultSeedPhrase.cjs.map +1 -0
- package/dist/node/defaultSeedPhrase.d.cts +2 -0
- package/dist/node/defaultSeedPhrase.d.cts.map +1 -0
- package/dist/node/defaultSeedPhrase.js +4 -27
- package/dist/node/defaultSeedPhrase.js.map +1 -1
- package/dist/node/index.cjs +832 -0
- package/dist/node/index.cjs.map +1 -0
- package/dist/node/index.d.cts +13 -0
- package/dist/node/index.d.cts.map +1 -0
- package/dist/node/index.js +780 -43
- package/dist/node/index.js.map +1 -1
- package/dist/node/sampleAddressHistory.cjs +145 -0
- package/dist/node/sampleAddressHistory.cjs.map +1 -0
- package/dist/node/sampleAddressHistory.d.cts +35 -0
- package/dist/node/sampleAddressHistory.d.cts.map +1 -0
- package/dist/node/sampleAddressHistory.js +18 -42
- package/dist/node/sampleAddressHistory.js.map +1 -1
- package/dist/node/sampleBlock.cjs +123 -0
- package/dist/node/sampleBlock.cjs.map +1 -0
- package/dist/node/sampleBlock.d.cts +7 -0
- package/dist/node/sampleBlock.d.cts.map +1 -0
- package/dist/node/sampleBlock.js +6 -31
- package/dist/node/sampleBlock.js.map +1 -1
- package/dist/node/sampleCoinGeckoPayload.cjs +102 -0
- package/dist/node/sampleCoinGeckoPayload.cjs.map +1 -0
- package/dist/node/sampleCoinGeckoPayload.d.cts +73 -0
- package/dist/node/sampleCoinGeckoPayload.d.cts.map +1 -0
- package/dist/node/sampleCoinGeckoPayload.js +4 -27
- package/dist/node/sampleCoinGeckoPayload.js.map +1 -1
- package/dist/node/sampleEthereumGasDivinerPayload.cjs +55 -0
- package/dist/node/sampleEthereumGasDivinerPayload.cjs.map +1 -0
- package/dist/node/sampleEthereumGasDivinerPayload.d.cts +24 -0
- package/dist/node/sampleEthereumGasDivinerPayload.d.cts.map +1 -0
- package/dist/node/sampleEthereumGasDivinerPayload.js +5 -29
- package/dist/node/sampleEthereumGasDivinerPayload.js.map +1 -1
- package/dist/node/sampleGasPricePayloads/blocknative.cjs +121 -0
- package/dist/node/sampleGasPricePayloads/blocknative.cjs.map +1 -0
- package/dist/node/sampleGasPricePayloads/blocknative.d.cts +68 -0
- package/dist/node/sampleGasPricePayloads/blocknative.d.cts.map +1 -0
- package/dist/node/sampleGasPricePayloads/blocknative.js +4 -27
- package/dist/node/sampleGasPricePayloads/blocknative.js.map +1 -1
- package/dist/node/sampleGasPricePayloads/ethGasStation.cjs +48 -0
- package/dist/node/sampleGasPricePayloads/ethGasStation.cjs.map +1 -0
- package/dist/node/sampleGasPricePayloads/ethGasStation.d.cts +19 -0
- package/dist/node/sampleGasPricePayloads/ethGasStation.d.cts.map +1 -0
- package/dist/node/sampleGasPricePayloads/ethGasStation.js +4 -27
- package/dist/node/sampleGasPricePayloads/ethGasStation.js.map +1 -1
- package/dist/node/sampleGasPricePayloads/etherchainV1.cjs +40 -0
- package/dist/node/sampleGasPricePayloads/etherchainV1.cjs.map +1 -0
- package/dist/node/sampleGasPricePayloads/etherchainV1.d.cts +11 -0
- package/dist/node/sampleGasPricePayloads/etherchainV1.d.cts.map +1 -0
- package/dist/node/sampleGasPricePayloads/etherchainV1.js +4 -27
- package/dist/node/sampleGasPricePayloads/etherchainV1.js.map +1 -1
- package/dist/node/sampleGasPricePayloads/etherchainV2.cjs +43 -0
- package/dist/node/sampleGasPricePayloads/etherchainV2.cjs.map +1 -0
- package/dist/node/sampleGasPricePayloads/etherchainV2.d.cts +14 -0
- package/dist/node/sampleGasPricePayloads/etherchainV2.d.cts.map +1 -0
- package/dist/node/sampleGasPricePayloads/etherchainV2.js +4 -27
- package/dist/node/sampleGasPricePayloads/etherchainV2.js.map +1 -1
- package/dist/node/sampleGasPricePayloads/ethers.cjs +38 -0
- package/dist/node/sampleGasPricePayloads/ethers.cjs.map +1 -0
- package/dist/node/sampleGasPricePayloads/ethers.d.cts +9 -0
- package/dist/node/sampleGasPricePayloads/ethers.d.cts.map +1 -0
- package/dist/node/sampleGasPricePayloads/ethers.js +4 -27
- package/dist/node/sampleGasPricePayloads/ethers.js.map +1 -1
- package/dist/node/sampleGasPricePayloads/etherscan.cjs +44 -0
- package/dist/node/sampleGasPricePayloads/etherscan.cjs.map +1 -0
- package/dist/node/sampleGasPricePayloads/etherscan.d.cts +15 -0
- package/dist/node/sampleGasPricePayloads/etherscan.d.cts.map +1 -0
- package/dist/node/sampleGasPricePayloads/etherscan.js +4 -27
- package/dist/node/sampleGasPricePayloads/etherscan.js.map +1 -1
- package/dist/node/sampleGasPricePayloads/index.cjs +206 -0
- package/dist/node/sampleGasPricePayloads/index.cjs.map +1 -0
- package/dist/node/sampleGasPricePayloads/index.d.cts +7 -0
- package/dist/node/sampleGasPricePayloads/index.d.cts.map +1 -0
- package/dist/node/sampleGasPricePayloads/index.js +172 -31
- package/dist/node/sampleGasPricePayloads/index.js.map +1 -1
- package/dist/node/samplePayload.cjs +63 -0
- package/dist/node/samplePayload.cjs.map +1 -0
- package/dist/node/samplePayload.d.cts +31 -0
- package/dist/node/samplePayload.d.cts.map +1 -0
- package/dist/node/samplePayload.js +8 -33
- package/dist/node/samplePayload.js.map +1 -1
- package/dist/node/sampleUniswapPayload.cjs +225 -0
- package/dist/node/sampleUniswapPayload.cjs.map +1 -0
- package/dist/node/sampleUniswapPayload.d.cts +17 -0
- package/dist/node/sampleUniswapPayload.d.cts.map +1 -0
- package/dist/node/sampleUniswapPayload.js +5 -29
- package/dist/node/sampleUniswapPayload.js.map +1 -1
- package/dist/node/useAppThemeDecorator.cjs +49 -0
- package/dist/node/useAppThemeDecorator.cjs.map +1 -0
- package/dist/node/useAppThemeDecorator.d.cts +4 -0
- package/dist/node/useAppThemeDecorator.d.cts.map +1 -0
- package/dist/node/useAppThemeDecorator.js +16 -39
- package/dist/node/useAppThemeDecorator.js.map +1 -1
- package/package.json +21 -21
- package/dist/node/DeprecateStory.mjs +0 -12
- package/dist/node/WithMapboxSetup.mjs +0 -9
- package/dist/node/WithRefDecorator.mjs +0 -20
- package/dist/node/defaultSeedPhrase.mjs +0 -5
- package/dist/node/index.mjs +0 -13
- package/dist/node/index.mjs.map +0 -1
- package/dist/node/sampleEthereumGasDivinerPayload.mjs +0 -28
- package/dist/node/sampleGasPricePayloads/ethGasStation.mjs +0 -22
- package/dist/node/sampleGasPricePayloads/etherchainV1.mjs +0 -14
- package/dist/node/sampleGasPricePayloads/etherchainV2.mjs +0 -17
- package/dist/node/sampleGasPricePayloads/ethers.mjs +0 -12
- package/dist/node/sampleGasPricePayloads/etherscan.mjs +0 -18
- package/dist/node/sampleGasPricePayloads/index.mjs +0 -7
- package/dist/node/sampleGasPricePayloads/index.mjs.map +0 -1
- package/dist/node/samplePayload.mjs +0 -35
- package/dist/node/useAppThemeDecorator.mjs +0 -23
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/DeprecateStory.tsx
|
|
21
|
+
var DeprecateStory_exports = {};
|
|
22
|
+
__export(DeprecateStory_exports, {
|
|
23
|
+
DeprecateStory: () => DeprecateStory
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(DeprecateStory_exports);
|
|
26
|
+
var import_material = require("@mui/material");
|
|
27
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
28
|
+
var DeprecateStory = ({ message }) => {
|
|
29
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_material.Alert, { severity: "error", sx: { marginBottom: "24px" }, children: [
|
|
30
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.AlertTitle, { children: "Story has been Deprecated" }),
|
|
31
|
+
message
|
|
32
|
+
] });
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=DeprecateStory.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/DeprecateStory.tsx"],"sourcesContent":["import { Alert, AlertTitle } from '@mui/material'\n\nexport const DeprecateStory: React.FC<{ message?: string }> = ({ message }) => {\n return (\n <Alert severity=\"error\" sx={{ marginBottom: '24px' }}>\n <AlertTitle>Story has been Deprecated</AlertTitle>\n {message}\n </Alert>\n )\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/DeprecateStory.tsx"],"sourcesContent":["import { Alert, AlertTitle } from '@mui/material'\n\nexport const DeprecateStory: React.FC<{ message?: string }> = ({ message }) => {\n return (\n <Alert severity=\"error\" sx={{ marginBottom: '24px' }}>\n <AlertTitle>Story has been Deprecated</AlertTitle>\n {message}\n </Alert>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAkC;AAI9B;AAFG,IAAM,iBAAiD,CAAC,EAAE,QAAQ,MAAM;AAC7E,SACE,6CAAC,yBAAM,UAAS,SAAQ,IAAI,EAAE,cAAc,OAAO,GACjD;AAAA,gDAAC,8BAAW,uCAAyB;AAAA,IACpC;AAAA,KACH;AAEJ;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeprecateStory.d.ts","sourceRoot":"","sources":["../../src/DeprecateStory.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAOzD,CAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/WithMapboxSetup.tsx
|
|
21
|
+
var WithMapboxSetup_exports = {};
|
|
22
|
+
__export(WithMapboxSetup_exports, {
|
|
23
|
+
WithMapboxSetup: () => WithMapboxSetup
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(WithMapboxSetup_exports);
|
|
26
|
+
var import_react_map = require("@xyo-network/react-map");
|
|
27
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
28
|
+
var WithMapboxSetup = (Story, context) => {
|
|
29
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_map.MapboxAccessTokenProvider, { defaultAccessToken: process.env.STORYBOOK_MAPBOX_TOKEN, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Story, { ...context }) });
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=WithMapboxSetup.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/WithMapboxSetup.tsx"],"sourcesContent":["import { Decorator } from '@storybook/react'\nimport { MapboxAccessTokenProvider } from '@xyo-network/react-map'\n\nexport const WithMapboxSetup: Decorator = (Story, context) => {\n return (\n <MapboxAccessTokenProvider defaultAccessToken={process.env.STORYBOOK_MAPBOX_TOKEN}>\n <Story {...context} />\n </MapboxAccessTokenProvider>\n )\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/WithMapboxSetup.tsx"],"sourcesContent":["import { Decorator } from '@storybook/react'\nimport { MapboxAccessTokenProvider } from '@xyo-network/react-map'\n\nexport const WithMapboxSetup: Decorator = (Story, context) => {\n return (\n <MapboxAccessTokenProvider defaultAccessToken={process.env.STORYBOOK_MAPBOX_TOKEN}>\n <Story {...context} />\n </MapboxAccessTokenProvider>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,uBAA0C;AAKpC;AAHC,IAAM,kBAA6B,CAAC,OAAO,YAAY;AAC5D,SACE,4CAAC,8CAA0B,oBAAoB,QAAQ,IAAI,wBACzD,sDAAC,SAAO,GAAG,SAAS,GACtB;AAEJ;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WithMapboxSetup.d.ts","sourceRoot":"","sources":["../../src/WithMapboxSetup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAG5C,eAAO,MAAM,eAAe,EAAE,SAM7B,CAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/WithRefDecorator.tsx
|
|
21
|
+
var WithRefDecorator_exports = {};
|
|
22
|
+
__export(WithRefDecorator_exports, {
|
|
23
|
+
WithRefDecorator: () => WithRefDecorator
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(WithRefDecorator_exports);
|
|
26
|
+
var import_material = require("@mui/material");
|
|
27
|
+
var import_react = require("react");
|
|
28
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
29
|
+
var WithRefDecorator = (Story, args) => {
|
|
30
|
+
const ref = (0, import_react.useRef)(null);
|
|
31
|
+
const onClick = () => {
|
|
32
|
+
if (ref.current) {
|
|
33
|
+
ref.current.style.color = "green";
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
args.args.ref = ref;
|
|
37
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
38
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Button, { onClick, variant: "contained", children: "Change to green" }),
|
|
39
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Story, { ...args })
|
|
40
|
+
] });
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=WithRefDecorator.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/WithRefDecorator.tsx"],"sourcesContent":["import { Button } from '@mui/material'\nimport { Decorator } from '@storybook/react'\nimport { useRef } from 'react'\n\nexport const WithRefDecorator: Decorator = (Story, args) => {\n const ref = useRef<HTMLDivElement | null>(null)\n const onClick = () => {\n if (ref.current) {\n ref.current.style.color = 'green'\n }\n }\n\n args.args.ref = ref\n return (\n <>\n <Button onClick={onClick} variant=\"contained\">\n Change to green\n </Button>\n <Story {...args} />\n </>\n )\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/WithRefDecorator.tsx"],"sourcesContent":["import { Button } from '@mui/material'\nimport { Decorator } from '@storybook/react'\nimport { useRef } from 'react'\n\nexport const WithRefDecorator: Decorator = (Story, args) => {\n const ref = useRef<HTMLDivElement | null>(null)\n const onClick = () => {\n if (ref.current) {\n ref.current.style.color = 'green'\n }\n }\n\n args.args.ref = ref\n return (\n <>\n <Button onClick={onClick} variant=\"contained\">\n Change to green\n </Button>\n <Story {...args} />\n </>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAuB;AAEvB,mBAAuB;AAYnB;AAVG,IAAM,mBAA8B,CAAC,OAAO,SAAS;AAC1D,QAAM,UAAM,qBAA8B,IAAI;AAC9C,QAAM,UAAU,MAAM;AACpB,QAAI,IAAI,SAAS;AACf,UAAI,QAAQ,MAAM,QAAQ;AAAA,IAC5B;AAAA,EACF;AAEA,OAAK,KAAK,MAAM;AAChB,SACE,4EACE;AAAA,gDAAC,0BAAO,SAAkB,SAAQ,aAAY,6BAE9C;AAAA,IACA,4CAAC,SAAO,GAAG,MAAM;AAAA,KACnB;AAEJ;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WithRefDecorator.d.ts","sourceRoot":"","sources":["../../src/WithRefDecorator.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAG5C,eAAO,MAAM,gBAAgB,EAAE,SAiB9B,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/defaultSeedPhrase.ts
|
|
21
|
+
var defaultSeedPhrase_exports = {};
|
|
22
|
+
__export(defaultSeedPhrase_exports, {
|
|
23
|
+
DefaultSeedPhrase: () => DefaultSeedPhrase
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(defaultSeedPhrase_exports);
|
|
26
|
+
var DefaultSeedPhrase = "later puppy sound rebuild rebuild noise ozone amazing hope broccoli crystal grief";
|
|
27
|
+
//# sourceMappingURL=defaultSeedPhrase.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/defaultSeedPhrase.ts"],"sourcesContent":["// Well known seed phrase. DO NOT USE FOR PERSONAL ACCOUNTS\nexport const DefaultSeedPhrase = 'later puppy sound rebuild rebuild noise ozone amazing hope broccoli crystal grief'\n"],"mappings":"AACO,
|
|
1
|
+
{"version":3,"sources":["../../src/defaultSeedPhrase.ts"],"sourcesContent":["// Well known seed phrase. DO NOT USE FOR PERSONAL ACCOUNTS\nexport const DefaultSeedPhrase = 'later puppy sound rebuild rebuild noise ozone amazing hope broccoli crystal grief'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACO,IAAM,oBAAoB;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaultSeedPhrase.d.ts","sourceRoot":"","sources":["../../src/defaultSeedPhrase.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB,sFAAsF,CAAA"}
|