@bosonprotocol/react-kit 0.41.0-alpha.5 → 0.41.0-alpha.6

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.
@@ -5,14 +5,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.CommitView = void 0;
7
7
  const react_1 = __importDefault(require("react"));
8
- const logo_svg_1 = __importDefault(require("../../../assets/logo.svg"));
8
+ const logo_svg_react_1 = __importDefault(require("../../../assets/logo.svg?react"));
9
9
  const SvgImage_1 = require("../../ui/SvgImage");
10
10
  const Grid_1 = require("../../ui/Grid");
11
11
  const logoWidthPx = 100;
12
12
  const CommitView = ({ layout = "horizontal" }) => {
13
13
  return (react_1.default.createElement(Grid_1.Grid, { flexDirection: layout === "horizontal" ? "row" : "column", gap: "0.375rem", justifyContent: "center" },
14
14
  "Buy with",
15
- react_1.default.createElement(SvgImage_1.SvgImage, { src: logo_svg_1.default, width: logoWidthPx, height: (logoWidthPx * 218) / 947 })));
15
+ react_1.default.createElement(SvgImage_1.SvgImage, { src: logo_svg_react_1.default, width: logoWidthPx, height: (logoWidthPx * 218) / 947 })));
16
16
  };
17
17
  exports.CommitView = CommitView;
18
18
  //# sourceMappingURL=CommitView.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CommitView.js","sourceRoot":"","sources":["../../../../../src/components/buttons/commit/CommitView.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,wEAA4C;AAC5C,gDAA6C;AAC7C,wCAAqC;AAMrC,MAAM,WAAW,GAAG,GAAG,CAAC;AACjB,MAAM,UAAU,GAAG,CAAC,EAAE,MAAM,GAAG,YAAY,EAAmB,EAAE,EAAE;IACvE,OAAO,CACL,8BAAC,WAAI,IACH,aAAa,EAAE,MAAM,KAAK,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,EACzD,GAAG,EAAC,UAAU,EACd,cAAc,EAAC,QAAQ;;QAGvB,8BAAC,mBAAQ,IACP,GAAG,EAAE,kBAAI,EACT,KAAK,EAAE,WAAW,EAClB,MAAM,EAAE,CAAC,WAAW,GAAG,GAAG,CAAC,GAAG,GAAG,GACjC,CACG,CACR,CAAC;AACJ,CAAC,CAAC;AAfW,QAAA,UAAU,cAerB"}
1
+ {"version":3,"file":"CommitView.js","sourceRoot":"","sources":["../../../../../src/components/buttons/commit/CommitView.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,oFAAkD;AAClD,gDAA6C;AAC7C,wCAAqC;AAMrC,MAAM,WAAW,GAAG,GAAG,CAAC;AACjB,MAAM,UAAU,GAAG,CAAC,EAAE,MAAM,GAAG,YAAY,EAAmB,EAAE,EAAE;IACvE,OAAO,CACL,8BAAC,WAAI,IACH,aAAa,EAAE,MAAM,KAAK,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,EACzD,GAAG,EAAC,UAAU,EACd,cAAc,EAAC,QAAQ;;QAGvB,8BAAC,mBAAQ,IACP,GAAG,EAAE,wBAAI,EACT,KAAK,EAAE,WAAW,EAClB,MAAM,EAAE,CAAC,WAAW,GAAG,GAAG,CAAC,GAAG,GAAG,GACjC,CACG,CACR,CAAC;AACJ,CAAC,CAAC;AAfW,QAAA,UAAU,cAerB"}
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import Logo from "../../../assets/logo.svg";
2
+ import Logo from "../../../assets/logo.svg?react";
3
3
  import { SvgImage } from "../../ui/SvgImage";
4
4
  import { Grid } from "../../ui/Grid";
5
5
  const logoWidthPx = 100;
@@ -1 +1 @@
1
- {"version":3,"file":"CommitView.js","sourceRoot":"","sources":["../../../../../src/components/buttons/commit/CommitView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,0BAA0B,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAm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package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bosonprotocol/react-kit",
3
3
  "description": "React toolkit with smart components and hooks for building on top of the Boson Protocol.",
4
- "version": "0.41.0-alpha.5",
4
+ "version": "0.41.0-alpha.6",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
7
7
  "types": "./dist/cjs/index.d.ts",
@@ -15,8 +15,8 @@
15
15
  "license": "Apache-2.0",
16
16
  "dependencies": {
17
17
  "@bosonprotocol/chat-sdk": "^1.3.1-alpha.20",
18
- "@bosonprotocol/core-sdk": "^1.45.0-alpha.5",
19
- "@bosonprotocol/ethers-sdk": "^1.17.0-alpha.5",
18
+ "@bosonprotocol/core-sdk": "^1.45.0-alpha.6",
19
+ "@bosonprotocol/ethers-sdk": "^1.17.0-alpha.6",
20
20
  "@bosonprotocol/ipfs-storage": "^1.13.0",
21
21
  "@davatar/react": "1.11.1",
22
22
  "@ethersproject/units": "5.6.0",
@@ -152,7 +152,7 @@
152
152
  }
153
153
  },
154
154
  "devDependencies": {
155
- "@bosonprotocol/common": "^1.32.0-alpha.5",
155
+ "@bosonprotocol/common": "^1.32.0-alpha.6",
156
156
  "@chromatic-com/storybook": "^1.2.18",
157
157
  "@storybook/addon-essentials": "^8.0.0",
158
158
  "@storybook/addon-interactions": "^8.0.0",
@@ -206,5 +206,5 @@
206
206
  "overrides": {
207
207
  "typescript": "^5.1.6"
208
208
  },
209
- "gitHead": "301095940225dda20b06fb07e1035724f49027fa"
209
+ "gitHead": "f0a68a9423633b754793844d9ff10b3979d41537"
210
210
  }
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import Logo from "../../../assets/logo.svg";
2
+ import Logo from "../../../assets/logo.svg?react";
3
3
  import { SvgImage } from "../../ui/SvgImage";
4
4
  import { Grid } from "../../ui/Grid";
5
5
 
@@ -1 +1,7 @@
1
1
  declare module "@metamask/jazzicon";
2
+
3
+ declare module "*.svg?react" {
4
+ import React from "react";
5
+ const ReactComponent: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
6
+ export default ReactComponent;
7
+ }