@xyo-network/react-embed 2.56.2 → 2.56.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/components/EmbedPlugin.js +3 -3
- package/dist/cjs/components/EmbedPlugin.js.map +1 -1
- package/dist/cjs/components/EmbedResolver.js +1 -1
- package/dist/cjs/components/EmbedResolver.js.map +1 -1
- package/dist/cjs/components/controls/EmbedFormControl.js +1 -1
- package/dist/cjs/components/controls/EmbedFormControl.js.map +1 -1
- package/dist/cjs/components/controls/ListModeSelect.js +2 -2
- package/dist/cjs/components/controls/ListModeSelect.js.map +1 -1
- package/dist/cjs/components/controls/RenderSelect.js +1 -1
- package/dist/cjs/components/controls/RenderSelect.js.map +1 -1
- package/dist/cjs/components/embed-card/EmbedCardResolver.js +1 -1
- package/dist/cjs/components/embed-card/EmbedCardResolver.js.map +1 -1
- package/dist/cjs/components/embed-card/EmbedPluginCard.js +5 -3
- package/dist/cjs/components/embed-card/EmbedPluginCard.js.map +1 -1
- package/dist/cjs/components/embed-card/card/EmbedCardHeader.js +1 -1
- package/dist/cjs/components/embed-card/card/EmbedCardHeader.js.map +1 -1
- package/dist/cjs/components/embed-card/card/EmbedPluginCard.js +1 -1
- package/dist/cjs/components/embed-card/card/EmbedPluginCard.js.map +1 -1
- package/dist/cjs/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js +1 -1
- package/dist/cjs/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js.map +1 -1
- package/dist/cjs/components/embed-card/error-handling/EmbedErrorCard.js +1 -1
- package/dist/cjs/components/embed-card/error-handling/EmbedErrorCard.js.map +1 -1
- package/dist/cjs/components/embed-card/menu/EmbedMenu.js +1 -1
- package/dist/cjs/components/embed-card/menu/EmbedMenu.js.map +1 -1
- package/dist/cjs/components/embed-card/menu/JsonMenuItem.js +1 -1
- package/dist/cjs/components/embed-card/menu/JsonMenuItem.js.map +1 -1
- package/dist/cjs/contexts/EmbedPluginContext/Provider.js +2 -2
- package/dist/cjs/contexts/EmbedPluginContext/Provider.js.map +1 -1
- package/dist/cjs/contexts/RefreshPayloadContext/Provider.js +1 -1
- package/dist/cjs/contexts/RefreshPayloadContext/Provider.js.map +1 -1
- package/dist/cjs/contexts/ResolvePayloadContext/Provider.js +1 -1
- package/dist/cjs/contexts/ResolvePayloadContext/Provider.js.map +1 -1
- package/dist/cjs/contexts/ValidatePayloadContext/Provider.js +1 -1
- package/dist/cjs/contexts/ValidatePayloadContext/Provider.js.map +1 -1
- package/dist/docs.json +895 -658
- package/dist/esm/components/embed-card/EmbedPluginCard.js +10 -8
- package/dist/esm/components/embed-card/EmbedPluginCard.js.map +1 -1
- package/package.json +8 -8
@@ -6,14 +6,16 @@ import { EmbedPluginCard } from './card';
|
|
6
6
|
import { EmbedCardApiErrorRenderer } from './error-handling';
|
7
7
|
export const ApiEmbedPluginCard = ({ children, ...props }) => {
|
8
8
|
const { validateSchema, plugins = [], huriPayload, refreshTitle = '', timestampLabel = 'Data From', hideElementsConfig, embedPluginConfig, onRefresh, ...busyCardProps } = props;
|
9
|
-
return (_jsxs(EmbedPluginInner, {
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
9
|
+
return (_jsxs(EmbedPluginInner, { ...{
|
10
|
+
embedPluginConfig,
|
11
|
+
hideElementsConfig,
|
12
|
+
huriPayload,
|
13
|
+
onRefresh,
|
14
|
+
plugins,
|
15
|
+
refreshTitle,
|
16
|
+
timestampLabel,
|
17
|
+
validateSchema,
|
18
|
+
}, children: [_jsx(EmbedPluginCardInner, { ...busyCardProps }), children] }));
|
17
19
|
};
|
18
20
|
export const EmbedPluginCardInner = (props) => {
|
19
21
|
const { payload, huriError } = useResolvePayload();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EmbedPluginCard.js","sourceRoot":"","sources":["../../../../src/components/embed-card/EmbedPluginCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAGxC,OAAO,EAAE,iBAA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kBAAkB;YAClB,WAAW;YACX,SAAS;YACT,OAAO;YACP,YAAY;YACZ,cAAc;YACd,cAAc;SACf,aAED,KAAC,oBAAoB,OAAK,aAAa,GAAI,EAC1C,QAAQ,IACQ,CACpB,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,oBAAoB,GAA4B,CAAC,KAAK,EAAE,EAAE;IACrE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,iBAAiB,EAAE,CAAA;IAClD,MAAM,EAAE,cAAc,EAAE,GAAG,iBAAiB,EAAE,CAAA;IAC9C,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAA;IAExB,OAAO,CACL,KAAC,yBAAyB,IAAC,QAAQ,EAAE,SAAS,YAC5C,KAAC,eAAe,IACd,SAAS,EAAE,CAAC,EACZ,OAAO,EAAC,WAAW,EACnB,IAAI,EAAE,OAAO,CAAC,CAAC,cAAc,IAAI,OAAO,CAAC,EACzC,gBAAgB,EAAE,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,EAC7F,EAAE,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,KACxB,KAAK,GACT,GACwB,CAC7B,CAAA;AACH,CAAC,CAAA;AAED,kFAAkF;AAClF,MAAM,CAAC,MAAM,WAAW,GAAG,eAAe,CAAA"}
|
package/package.json
CHANGED
@@ -18,9 +18,9 @@
|
|
18
18
|
"@xyo-network/module": "^2.64.1",
|
19
19
|
"@xyo-network/module-model": "^2.64.1",
|
20
20
|
"@xyo-network/payload-model": "^2.64.1",
|
21
|
-
"@xyo-network/react-error": "^2.56.
|
22
|
-
"@xyo-network/react-payload-plugin": "^2.56.
|
23
|
-
"@xyo-network/react-shared": "^2.56.
|
21
|
+
"@xyo-network/react-error": "^2.56.3",
|
22
|
+
"@xyo-network/react-payload-plugin": "^2.56.3",
|
23
|
+
"@xyo-network/react-shared": "^2.56.3",
|
24
24
|
"@xyo-network/schema-cache": "^2.64.1"
|
25
25
|
},
|
26
26
|
"devDependencies": {
|
@@ -28,10 +28,10 @@
|
|
28
28
|
"@uniswap/sdk": "^3.0.3",
|
29
29
|
"@uniswap/sdk-core": "^3.2.6",
|
30
30
|
"@uniswap/v3-sdk": "^3.9.0",
|
31
|
-
"@xylabs/ts-scripts-yarn3": "^2.18.
|
32
|
-
"@xylabs/tsconfig-react": "^2.18.
|
33
|
-
"@xyo-network/react-aggregate-price-plugin": "^2.56.
|
34
|
-
"@xyo-network/react-crypto-market-uniswap-plugin": "^2.56.
|
31
|
+
"@xylabs/ts-scripts-yarn3": "^2.18.7",
|
32
|
+
"@xylabs/tsconfig-react": "^2.18.7",
|
33
|
+
"@xyo-network/react-aggregate-price-plugin": "^2.56.3",
|
34
|
+
"@xyo-network/react-crypto-market-uniswap-plugin": "^2.56.3",
|
35
35
|
"typescript": "^5.1.6"
|
36
36
|
},
|
37
37
|
"peerDependencies": {
|
@@ -86,5 +86,5 @@
|
|
86
86
|
},
|
87
87
|
"sideEffects": false,
|
88
88
|
"types": "dist/types/index.d.ts",
|
89
|
-
"version": "2.56.
|
89
|
+
"version": "2.56.3"
|
90
90
|
}
|