@xyo-network/react-embed 2.56.2 → 2.56.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. package/dist/cjs/components/EmbedPlugin.js +3 -3
  2. package/dist/cjs/components/EmbedPlugin.js.map +1 -1
  3. package/dist/cjs/components/EmbedResolver.js +1 -1
  4. package/dist/cjs/components/EmbedResolver.js.map +1 -1
  5. package/dist/cjs/components/controls/EmbedFormControl.js +1 -1
  6. package/dist/cjs/components/controls/EmbedFormControl.js.map +1 -1
  7. package/dist/cjs/components/controls/ListModeSelect.js +2 -2
  8. package/dist/cjs/components/controls/ListModeSelect.js.map +1 -1
  9. package/dist/cjs/components/controls/RenderSelect.js +1 -1
  10. package/dist/cjs/components/controls/RenderSelect.js.map +1 -1
  11. package/dist/cjs/components/embed-card/EmbedCardResolver.js +1 -1
  12. package/dist/cjs/components/embed-card/EmbedCardResolver.js.map +1 -1
  13. package/dist/cjs/components/embed-card/EmbedPluginCard.js +5 -3
  14. package/dist/cjs/components/embed-card/EmbedPluginCard.js.map +1 -1
  15. package/dist/cjs/components/embed-card/card/EmbedCardHeader.js +1 -1
  16. package/dist/cjs/components/embed-card/card/EmbedCardHeader.js.map +1 -1
  17. package/dist/cjs/components/embed-card/card/EmbedPluginCard.js +1 -1
  18. package/dist/cjs/components/embed-card/card/EmbedPluginCard.js.map +1 -1
  19. package/dist/cjs/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js +1 -1
  20. package/dist/cjs/components/embed-card/error-handling/EmbedCardApiErrorRenderer.js.map +1 -1
  21. package/dist/cjs/components/embed-card/error-handling/EmbedErrorCard.js +1 -1
  22. package/dist/cjs/components/embed-card/error-handling/EmbedErrorCard.js.map +1 -1
  23. package/dist/cjs/components/embed-card/menu/EmbedMenu.js +1 -1
  24. package/dist/cjs/components/embed-card/menu/EmbedMenu.js.map +1 -1
  25. package/dist/cjs/components/embed-card/menu/JsonMenuItem.js +1 -1
  26. package/dist/cjs/components/embed-card/menu/JsonMenuItem.js.map +1 -1
  27. package/dist/cjs/contexts/EmbedPluginContext/Provider.js +2 -2
  28. package/dist/cjs/contexts/EmbedPluginContext/Provider.js.map +1 -1
  29. package/dist/cjs/contexts/RefreshPayloadContext/Provider.js +1 -1
  30. package/dist/cjs/contexts/RefreshPayloadContext/Provider.js.map +1 -1
  31. package/dist/cjs/contexts/ResolvePayloadContext/Provider.js +1 -1
  32. package/dist/cjs/contexts/ResolvePayloadContext/Provider.js.map +1 -1
  33. package/dist/cjs/contexts/ValidatePayloadContext/Provider.js +1 -1
  34. package/dist/cjs/contexts/ValidatePayloadContext/Provider.js.map +1 -1
  35. package/dist/docs.json +895 -658
  36. package/dist/esm/components/embed-card/EmbedPluginCard.js +10 -8
  37. package/dist/esm/components/embed-card/EmbedPluginCard.js.map +1 -1
  38. package/package.json +14 -14
@@ -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, { embedPluginConfig,
10
- hideElementsConfig,
11
- huriPayload,
12
- onRefresh,
13
- plugins,
14
- refreshTitle,
15
- timestampLabel,
16
- validateSchema, children: [_jsx(EmbedPluginCardInner, { ...busyCardProps }), children] }));
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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,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"}
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,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAErE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,EAAiB,eAAe,EAAE,MAAM,QAAQ,CAAA;AACvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAA;AAI5D,MAAM,CAAC,MAAM,kBAAkB,GAAmC,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE;IAC3F,MAAM,EACJ,cAAc,EACd,OAAO,GAAG,EAAE,EACZ,WAAW,EACX,YAAY,GAAG,EAAE,EACjB,cAAc,GAAG,WAAW,EAC5B,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,EACT,GAAG,aAAa,EACjB,GAAG,KAAK,CAAA;IAET,OAAO,CACL,MAAC,gBAAgB,OACX;YACF,iBAAiB;YACjB,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
@@ -14,24 +14,24 @@
14
14
  "@xylabs/react-async-effect": "^2.17.6",
15
15
  "@xylabs/react-flexbox": "^2.17.6",
16
16
  "@xylabs/react-shared": "^2.17.6",
17
- "@xyo-network/huri": "^2.64.1",
18
- "@xyo-network/module": "^2.64.1",
19
- "@xyo-network/module-model": "^2.64.1",
20
- "@xyo-network/payload-model": "^2.64.1",
21
- "@xyo-network/react-error": "^2.56.2",
22
- "@xyo-network/react-payload-plugin": "^2.56.2",
23
- "@xyo-network/react-shared": "^2.56.2",
24
- "@xyo-network/schema-cache": "^2.64.1"
17
+ "@xyo-network/huri": "^2.64.3",
18
+ "@xyo-network/module": "^2.64.3",
19
+ "@xyo-network/module-model": "^2.64.3",
20
+ "@xyo-network/payload-model": "^2.64.3",
21
+ "@xyo-network/react-error": "^2.56.4",
22
+ "@xyo-network/react-payload-plugin": "^2.56.4",
23
+ "@xyo-network/react-shared": "^2.56.4",
24
+ "@xyo-network/schema-cache": "^2.64.3"
25
25
  },
26
26
  "devDependencies": {
27
- "@storybook/react": "^7.0.24",
27
+ "@storybook/react": "^7.0.25",
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.2",
32
- "@xylabs/tsconfig-react": "^2.18.2",
33
- "@xyo-network/react-aggregate-price-plugin": "^2.56.2",
34
- "@xyo-network/react-crypto-market-uniswap-plugin": "^2.56.2",
31
+ "@xylabs/ts-scripts-yarn3": "^2.18.7",
32
+ "@xylabs/tsconfig-react": "^2.18.7",
33
+ "@xyo-network/react-aggregate-price-plugin": "^2.56.4",
34
+ "@xyo-network/react-crypto-market-uniswap-plugin": "^2.56.4",
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.2"
89
+ "version": "2.56.4"
90
90
  }