@bosonprotocol/react-kit 0.33.0 → 0.33.1-alpha.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.
@@ -23,12 +23,12 @@ export declare const CalendarCell: import("styled-components").IStyledComponent<
23
23
  between?: boolean | undefined;
24
24
  disabled?: boolean | undefined;
25
25
  }>>;
26
- export declare const CalendarDay: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "active" | "disabled" | "current" | "between"> & {
26
+ export declare const CalendarDay: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "disabled" | "active" | "current" | "between"> & {
27
27
  active?: boolean | undefined;
28
28
  current?: boolean | undefined;
29
29
  between?: boolean | undefined;
30
30
  disabled?: boolean | undefined;
31
- }, "active" | "disabled" | "key" | keyof import("react").HTMLAttributes<HTMLDivElement> | "current" | "between"> & {
31
+ }, "disabled" | "key" | keyof import("react").HTMLAttributes<HTMLDivElement> | "active" | "current" | "between"> & {
32
32
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
33
33
  }, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
34
34
  active?: boolean | undefined;
@@ -20,7 +20,7 @@ export declare function useRemovePendingTransactionWithContext(): import("zustan
20
20
  offerId?: string | undefined;
21
21
  newHash?: string | undefined;
22
22
  }) => void;
23
- removePendingTransaction: (key: "id" | "executedBy" | "dispute" | "offerId" | "exchange" | "offer" | "type" | "timestamp" | "hash" | "accountType" | "isMetaTx" | "newHash", value: string) => void;
23
+ removePendingTransaction: (key: "type" | "id" | "executedBy" | "dispute" | "offerId" | "exchange" | "offer" | "timestamp" | "hash" | "accountType" | "isMetaTx" | "newHash", value: string) => void;
24
24
  reconcilePendingTransactions: (coreSDK: import("@bosonprotocol/core-sdk").CoreSDK) => Promise<void>;
25
25
  }>> | null;
26
26
  //# sourceMappingURL=usePendingTransactionsWithContext.d.ts.map
@@ -1,91 +1,92 @@
1
- export { AuthTokenType } from "@bosonprotocol/common";
2
- export * from "@bosonprotocol/core-sdk";
3
- export * from "@bosonprotocol/ethers-sdk";
4
- export * from "@bosonprotocol/ipfs-storage";
5
- export { default as ThemedButton, IButton, bosonButtonThemes } from "./components/ui/ThemedButton";
6
- export * from "./components/ui/zIndex";
7
- export * from "./components/ui/buttonSize";
8
- export * from "./components/scroll/ScrollToID";
9
- export * from "./components/scroll/ScrollToTop";
10
- export * from "./components/buttons/Button";
11
1
  export * from "./components/buttons/BaseButton";
12
- export * from "./components/buttons/CommitButtonView";
13
2
  export * from "./components/buttons/BurgerButton";
3
+ export * from "./components/buttons/Button";
4
+ export * from "./components/buttons/CommitButtonView";
14
5
  export * from "./components/config/ConfigProvider";
6
+ export * from "./components/cta/dispute/DecideDisputeButton";
7
+ export * from "./components/cta/dispute/EscalateDisputeButton";
8
+ export * from "./components/cta/dispute/ExpireDisputeButton";
9
+ export * from "./components/cta/dispute/ExpireEscalationDisputeButton";
10
+ export * from "./components/cta/dispute/ExtendDisputeTimeoutButton";
11
+ export * from "./components/cta/dispute/RaiseDisputeButton";
12
+ export * from "./components/cta/dispute/RefuseDisputeButton";
13
+ export * from "./components/cta/dispute/ResolveDisputeButton";
14
+ export * from "./components/cta/dispute/RetractDisputeButton";
15
15
  export * from "./components/cta/exchange/BatchCompleteButton";
16
16
  export * from "./components/cta/exchange/CancelButton";
17
17
  export * from "./components/cta/exchange/CompleteButton";
18
18
  export * from "./components/cta/exchange/ExpireButton";
19
19
  export * from "./components/cta/exchange/RedeemButton";
20
20
  export * from "./components/cta/exchange/RevokeButton";
21
- export * from "./components/cta/offer/CommitButton";
22
- export * from "./components/cta/offer/VoidButton";
23
- export * from "./components/cta/offer/BatchVoidButton";
24
- export * from "./components/cta/offer/CreateOfferButton";
25
21
  export * from "./components/cta/funds/DepositFundsButton";
26
- export * from "./components/cta/funds/WithdrawFundsButton";
27
22
  export * from "./components/cta/funds/WithdrawAllFundsButton";
23
+ export * from "./components/cta/funds/WithdrawFundsButton";
24
+ export * from "./components/cta/offer/BatchVoidButton";
25
+ export * from "./components/cta/offer/CommitButton";
26
+ export * from "./components/cta/offer/CreateOfferButton";
27
+ export * from "./components/cta/offer/VoidButton";
28
28
  export * from "./components/currencyDisplay/CurrencyDisplay";
29
+ export * from "./components/error/ErrorMessage";
30
+ export * from "./components/error/SimpleError";
29
31
  export * from "./components/exchangeCard/ExchangeCard";
32
+ export * from "./components/form";
30
33
  export * from "./components/image/Image";
31
- export * from "./components/ui/IpfsImage";
32
- export { Video, VideoProps } from "./components/ui/Video";
33
- export * from "./components/ui/loading/Loading";
34
- export * from "./components/productCard/ProductCard";
35
- export * from "./components/productCard/const";
36
- export * from "./components/skeleton/ProductCardSkeleton";
37
- export * from "./components/skeleton/CollectionsCardSkeleton";
38
- export { LoadingBubble } from "./components/skeleton/common";
39
- export * from "./components/searchBar/SearchBar";
40
- export * from "./components/tooltip/Tooltip";
41
- export * from "./components/cta/dispute/RaiseDisputeButton";
42
- export * from "./components/cta/dispute/ResolveDisputeButton";
43
- export * from "./components/cta/dispute/RetractDisputeButton";
44
- export * from "./components/cta/dispute/ExtendDisputeTimeoutButton";
45
- export * from "./components/cta/dispute/ExpireDisputeButton";
46
- export * from "./components/cta/dispute/EscalateDisputeButton";
47
- export * from "./components/cta/dispute/RefuseDisputeButton";
48
- export * from "./components/cta/dispute/DecideDisputeButton";
49
- export * from "./components/cta/dispute/ExpireEscalationDisputeButton";
50
- export { default as ConnectButton } from "./components/wallet/ConnectButton";
51
- export * from "./components/widgets/index";
52
- export * as hooks from "./hooks";
53
- export * from "./theme";
34
+ export * from "./components/ipfs/IpfsProvider";
54
35
  export * from "./components/magicLink/Login";
55
36
  export * from "./components/magicLink/MagicContext";
56
37
  export * from "./components/magicLink/MagicProvider";
57
38
  export * from "./components/magicLink/UserContext";
58
- export * from "./components/modal/components/common/OfferFullDescription/ExternalOfferFullDescription";
39
+ export * from "./components/modal/components/Commit/DetailView/ExternalCommitDetailView";
59
40
  export * from "./components/modal/components/common/detail/useGetOfferDetailData";
60
- export * from "./components/modal/components/PurchaseOverview/PurchaseOverview";
41
+ export * from "./components/modal/components/common/OfferFullDescription/ExternalOfferFullDescription";
61
42
  export * from "./components/modal/components/common/StepsOverview/PurchaseOverview";
62
- export * from "./components/modal/components/Commit/DetailView/ExternalCommitDetailView";
43
+ export * from "./components/modal/components/PurchaseOverview/PurchaseOverview";
63
44
  export * from "./components/modal/components/Redeem/DetailView/ExternalExchangeDetailView";
45
+ export * from "./components/portal/Portal";
46
+ export * from "./components/productCard/const";
47
+ export * from "./components/productCard/ProductCard";
48
+ export * from "./components/scroll/ScrollToID";
49
+ export * from "./components/scroll/ScrollToTop";
50
+ export * from "./components/searchBar/SearchBar";
51
+ export * from "./components/skeleton/CollectionsCardSkeleton";
52
+ export { LoadingBubble } from "./components/skeleton/common";
53
+ export * from "./components/skeleton/ProductCardSkeleton";
54
+ export * from "./components/step/MultiSteps";
55
+ export * from "./components/tooltip/Tooltip";
56
+ export * from "./components/ui/buttonSize";
57
+ export * from "./components/ui/CardCTA";
64
58
  export * from "./components/ui/Grid";
65
59
  export * from "./components/ui/GridContainer";
66
- export * from "./components/ui/Typography";
60
+ export * from "./components/ui/IpfsImage";
61
+ export * from "./components/ui/loading/Loading";
67
62
  export * from "./components/ui/MuteButton";
68
- export * from "./components/ui/CardCTA";
69
- export * from "./components/form";
70
- export * from "./lib/magicLink/logout";
63
+ export { bosonButtonThemes, IButton, default as ThemedButton } from "./components/ui/ThemedButton";
64
+ export * from "./components/ui/Typography";
65
+ export { Video, VideoProps } from "./components/ui/Video";
66
+ export * from "./components/ui/zIndex";
67
+ export { default as ConnectButton } from "./components/wallet/ConnectButton";
68
+ export * from "./components/wallet2/accountDrawer/index";
69
+ export * from "./components/wallet2/selector/ChainSelector";
70
+ export * from "./components/wallet2/web3Provider/index";
71
+ export * from "./components/wallet2/web3Status/index";
72
+ export * from "./components/widgets/index";
73
+ export * as hooks from "./hooks";
74
+ export * from "./lib/bundle/const";
75
+ export * from "./lib/bundle/filter";
71
76
  export * from "./lib/bytes/bytesToSize";
72
- export * from "./lib/magicLink/provider";
73
77
  export * from "./lib/const/networks";
74
78
  export * from "./lib/errors/transactions";
75
- export * from "./lib/offer/getIsOfferExpired";
76
- export * from "./lib/bundle/filter";
77
- export * from "./lib/bundle/const";
79
+ export * from "./lib/ipfs/ipfs";
80
+ export * from "./lib/magicLink/logout";
81
+ export * from "./lib/magicLink/provider";
78
82
  export * from "./lib/offer/filter";
79
- export * from "./components/wallet2/selector/ChainSelector";
80
- export * from "./components/wallet2/web3Status/index";
81
- export * from "./components/wallet2/web3Provider/index";
82
- export * from "./components/wallet2/accountDrawer/index";
83
- export * from "./components/portal/Portal";
84
- export * from "./components/error/ErrorMessage";
85
- export * from "./components/error/SimpleError";
86
- export * from "./components/step/MultiSteps";
87
- export * from "./components/ipfs/IpfsProvider";
88
- export * from "./types/helpers";
89
- export * from "./lib/url/url";
83
+ export * from "./lib/offer/getIsOfferExpired";
90
84
  export * from "./lib/promises/promises";
85
+ export * from "./lib/url/url";
86
+ export * from "./theme";
87
+ export * from "./types/helpers";
88
+ export { AuthTokenType } from "@bosonprotocol/common";
89
+ export * from "@bosonprotocol/core-sdk";
90
+ export * from "@bosonprotocol/ethers-sdk";
91
+ export * from "@bosonprotocol/ipfs-storage";
91
92
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CA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cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC"}
package/dist/cjs/index.js CHANGED
@@ -29,101 +29,102 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
29
29
  return (mod && mod.__esModule) ? mod : { "default": mod };
30
30
  };
31
31
  Object.defineProperty(exports, "__esModule", { value: true });
32
- exports.hooks = exports.ConnectButton = exports.LoadingBubble = exports.Video = exports.bosonButtonThemes = exports.ThemedButton = exports.AuthTokenType = void 0;
33
- var common_1 = require("@bosonprotocol/common");
34
- Object.defineProperty(exports, "AuthTokenType", { enumerable: true, get: function () { return common_1.AuthTokenType; } });
35
- __exportStar(require("@bosonprotocol/core-sdk"), exports);
36
- __exportStar(require("@bosonprotocol/ethers-sdk"), exports);
37
- __exportStar(require("@bosonprotocol/ipfs-storage"), exports);
38
- var ThemedButton_1 = require("./components/ui/ThemedButton");
39
- Object.defineProperty(exports, "ThemedButton", { enumerable: true, get: function () { return __importDefault(ThemedButton_1).default; } });
40
- Object.defineProperty(exports, "bosonButtonThemes", { enumerable: true, get: function () { return ThemedButton_1.bosonButtonThemes; } });
41
- __exportStar(require("./components/ui/zIndex"), exports);
42
- __exportStar(require("./components/ui/buttonSize"), exports);
43
- __exportStar(require("./components/scroll/ScrollToID"), exports);
44
- __exportStar(require("./components/scroll/ScrollToTop"), exports);
45
- __exportStar(require("./components/buttons/Button"), exports);
32
+ exports.AuthTokenType = exports.hooks = exports.ConnectButton = exports.Video = exports.ThemedButton = exports.bosonButtonThemes = exports.LoadingBubble = void 0;
46
33
  __exportStar(require("./components/buttons/BaseButton"), exports);
47
- __exportStar(require("./components/buttons/CommitButtonView"), exports);
48
34
  __exportStar(require("./components/buttons/BurgerButton"), exports);
35
+ __exportStar(require("./components/buttons/Button"), exports);
36
+ __exportStar(require("./components/buttons/CommitButtonView"), exports);
49
37
  __exportStar(require("./components/config/ConfigProvider"), exports);
38
+ __exportStar(require("./components/cta/dispute/DecideDisputeButton"), exports);
39
+ __exportStar(require("./components/cta/dispute/EscalateDisputeButton"), exports);
40
+ __exportStar(require("./components/cta/dispute/ExpireDisputeButton"), exports);
41
+ __exportStar(require("./components/cta/dispute/ExpireEscalationDisputeButton"), exports);
42
+ __exportStar(require("./components/cta/dispute/ExtendDisputeTimeoutButton"), exports);
43
+ __exportStar(require("./components/cta/dispute/RaiseDisputeButton"), exports);
44
+ __exportStar(require("./components/cta/dispute/RefuseDisputeButton"), exports);
45
+ __exportStar(require("./components/cta/dispute/ResolveDisputeButton"), exports);
46
+ __exportStar(require("./components/cta/dispute/RetractDisputeButton"), exports);
50
47
  __exportStar(require("./components/cta/exchange/BatchCompleteButton"), exports);
51
48
  __exportStar(require("./components/cta/exchange/CancelButton"), exports);
52
49
  __exportStar(require("./components/cta/exchange/CompleteButton"), exports);
53
50
  __exportStar(require("./components/cta/exchange/ExpireButton"), exports);
54
51
  __exportStar(require("./components/cta/exchange/RedeemButton"), exports);
55
52
  __exportStar(require("./components/cta/exchange/RevokeButton"), exports);
56
- __exportStar(require("./components/cta/offer/CommitButton"), exports);
57
- __exportStar(require("./components/cta/offer/VoidButton"), exports);
58
- __exportStar(require("./components/cta/offer/BatchVoidButton"), exports);
59
- __exportStar(require("./components/cta/offer/CreateOfferButton"), exports);
60
53
  __exportStar(require("./components/cta/funds/DepositFundsButton"), exports);
61
- __exportStar(require("./components/cta/funds/WithdrawFundsButton"), exports);
62
54
  __exportStar(require("./components/cta/funds/WithdrawAllFundsButton"), exports);
55
+ __exportStar(require("./components/cta/funds/WithdrawFundsButton"), exports);
56
+ __exportStar(require("./components/cta/offer/BatchVoidButton"), exports);
57
+ __exportStar(require("./components/cta/offer/CommitButton"), exports);
58
+ __exportStar(require("./components/cta/offer/CreateOfferButton"), exports);
59
+ __exportStar(require("./components/cta/offer/VoidButton"), exports);
63
60
  __exportStar(require("./components/currencyDisplay/CurrencyDisplay"), exports);
61
+ __exportStar(require("./components/error/ErrorMessage"), exports);
62
+ __exportStar(require("./components/error/SimpleError"), exports);
64
63
  __exportStar(require("./components/exchangeCard/ExchangeCard"), exports);
64
+ __exportStar(require("./components/form"), exports);
65
65
  __exportStar(require("./components/image/Image"), exports);
66
- __exportStar(require("./components/ui/IpfsImage"), exports);
67
- var Video_1 = require("./components/ui/Video");
68
- Object.defineProperty(exports, "Video", { enumerable: true, get: function () { return Video_1.Video; } });
69
- __exportStar(require("./components/ui/loading/Loading"), exports);
70
- __exportStar(require("./components/productCard/ProductCard"), exports);
71
- __exportStar(require("./components/productCard/const"), exports);
72
- __exportStar(require("./components/skeleton/ProductCardSkeleton"), exports);
73
- __exportStar(require("./components/skeleton/CollectionsCardSkeleton"), exports);
74
- var common_2 = require("./components/skeleton/common");
75
- Object.defineProperty(exports, "LoadingBubble", { enumerable: true, get: function () { return common_2.LoadingBubble; } });
76
- __exportStar(require("./components/searchBar/SearchBar"), exports);
77
- __exportStar(require("./components/tooltip/Tooltip"), exports);
78
- __exportStar(require("./components/cta/dispute/RaiseDisputeButton"), exports);
79
- __exportStar(require("./components/cta/dispute/ResolveDisputeButton"), exports);
80
- __exportStar(require("./components/cta/dispute/RetractDisputeButton"), exports);
81
- __exportStar(require("./components/cta/dispute/ExtendDisputeTimeoutButton"), exports);
82
- __exportStar(require("./components/cta/dispute/ExpireDisputeButton"), exports);
83
- __exportStar(require("./components/cta/dispute/EscalateDisputeButton"), exports);
84
- __exportStar(require("./components/cta/dispute/RefuseDisputeButton"), exports);
85
- __exportStar(require("./components/cta/dispute/DecideDisputeButton"), exports);
86
- __exportStar(require("./components/cta/dispute/ExpireEscalationDisputeButton"), exports);
87
- var ConnectButton_1 = require("./components/wallet/ConnectButton");
88
- Object.defineProperty(exports, "ConnectButton", { enumerable: true, get: function () { return __importDefault(ConnectButton_1).default; } });
89
- __exportStar(require("./components/widgets/index"), exports);
90
- exports.hooks = __importStar(require("./hooks"));
91
- __exportStar(require("./theme"), exports);
66
+ __exportStar(require("./components/ipfs/IpfsProvider"), exports);
92
67
  __exportStar(require("./components/magicLink/Login"), exports);
93
68
  __exportStar(require("./components/magicLink/MagicContext"), exports);
94
69
  __exportStar(require("./components/magicLink/MagicProvider"), exports);
95
70
  __exportStar(require("./components/magicLink/UserContext"), exports);
96
- __exportStar(require("./components/modal/components/common/OfferFullDescription/ExternalOfferFullDescription"), exports);
71
+ __exportStar(require("./components/modal/components/Commit/DetailView/ExternalCommitDetailView"), exports);
97
72
  __exportStar(require("./components/modal/components/common/detail/useGetOfferDetailData"), exports);
98
- __exportStar(require("./components/modal/components/PurchaseOverview/PurchaseOverview"), exports);
73
+ __exportStar(require("./components/modal/components/common/OfferFullDescription/ExternalOfferFullDescription"), exports);
99
74
  __exportStar(require("./components/modal/components/common/StepsOverview/PurchaseOverview"), exports);
100
- __exportStar(require("./components/modal/components/Commit/DetailView/ExternalCommitDetailView"), exports);
75
+ __exportStar(require("./components/modal/components/PurchaseOverview/PurchaseOverview"), exports);
101
76
  __exportStar(require("./components/modal/components/Redeem/DetailView/ExternalExchangeDetailView"), exports);
77
+ __exportStar(require("./components/portal/Portal"), exports);
78
+ __exportStar(require("./components/productCard/const"), exports);
79
+ __exportStar(require("./components/productCard/ProductCard"), exports);
80
+ __exportStar(require("./components/scroll/ScrollToID"), exports);
81
+ __exportStar(require("./components/scroll/ScrollToTop"), exports);
82
+ __exportStar(require("./components/searchBar/SearchBar"), exports);
83
+ __exportStar(require("./components/skeleton/CollectionsCardSkeleton"), exports);
84
+ var common_1 = require("./components/skeleton/common");
85
+ Object.defineProperty(exports, "LoadingBubble", { enumerable: true, get: function () { return common_1.LoadingBubble; } });
86
+ __exportStar(require("./components/skeleton/ProductCardSkeleton"), exports);
87
+ __exportStar(require("./components/step/MultiSteps"), exports);
88
+ __exportStar(require("./components/tooltip/Tooltip"), exports);
89
+ __exportStar(require("./components/ui/buttonSize"), exports);
90
+ __exportStar(require("./components/ui/CardCTA"), exports);
102
91
  __exportStar(require("./components/ui/Grid"), exports);
103
92
  __exportStar(require("./components/ui/GridContainer"), exports);
104
- __exportStar(require("./components/ui/Typography"), exports);
93
+ __exportStar(require("./components/ui/IpfsImage"), exports);
94
+ __exportStar(require("./components/ui/loading/Loading"), exports);
105
95
  __exportStar(require("./components/ui/MuteButton"), exports);
106
- __exportStar(require("./components/ui/CardCTA"), exports);
107
- __exportStar(require("./components/form"), exports);
108
- __exportStar(require("./lib/magicLink/logout"), exports);
96
+ var ThemedButton_1 = require("./components/ui/ThemedButton");
97
+ Object.defineProperty(exports, "bosonButtonThemes", { enumerable: true, get: function () { return ThemedButton_1.bosonButtonThemes; } });
98
+ Object.defineProperty(exports, "ThemedButton", { enumerable: true, get: function () { return __importDefault(ThemedButton_1).default; } });
99
+ __exportStar(require("./components/ui/Typography"), exports);
100
+ var Video_1 = require("./components/ui/Video");
101
+ Object.defineProperty(exports, "Video", { enumerable: true, get: function () { return Video_1.Video; } });
102
+ __exportStar(require("./components/ui/zIndex"), exports);
103
+ var ConnectButton_1 = require("./components/wallet/ConnectButton");
104
+ Object.defineProperty(exports, "ConnectButton", { enumerable: true, get: function () { return __importDefault(ConnectButton_1).default; } });
105
+ __exportStar(require("./components/wallet2/accountDrawer/index"), exports);
106
+ __exportStar(require("./components/wallet2/selector/ChainSelector"), exports);
107
+ __exportStar(require("./components/wallet2/web3Provider/index"), exports);
108
+ __exportStar(require("./components/wallet2/web3Status/index"), exports);
109
+ __exportStar(require("./components/widgets/index"), exports);
110
+ exports.hooks = __importStar(require("./hooks"));
111
+ __exportStar(require("./lib/bundle/const"), exports);
112
+ __exportStar(require("./lib/bundle/filter"), exports);
109
113
  __exportStar(require("./lib/bytes/bytesToSize"), exports);
110
- __exportStar(require("./lib/magicLink/provider"), exports);
111
114
  __exportStar(require("./lib/const/networks"), exports);
112
115
  __exportStar(require("./lib/errors/transactions"), exports);
113
- __exportStar(require("./lib/offer/getIsOfferExpired"), exports);
114
- __exportStar(require("./lib/bundle/filter"), exports);
115
- __exportStar(require("./lib/bundle/const"), exports);
116
+ __exportStar(require("./lib/ipfs/ipfs"), exports);
117
+ __exportStar(require("./lib/magicLink/logout"), exports);
118
+ __exportStar(require("./lib/magicLink/provider"), exports);
116
119
  __exportStar(require("./lib/offer/filter"), exports);
117
- __exportStar(require("./components/wallet2/selector/ChainSelector"), exports);
118
- __exportStar(require("./components/wallet2/web3Status/index"), exports);
119
- __exportStar(require("./components/wallet2/web3Provider/index"), exports);
120
- __exportStar(require("./components/wallet2/accountDrawer/index"), exports);
121
- __exportStar(require("./components/portal/Portal"), exports);
122
- __exportStar(require("./components/error/ErrorMessage"), exports);
123
- __exportStar(require("./components/error/SimpleError"), exports);
124
- __exportStar(require("./components/step/MultiSteps"), exports);
125
- __exportStar(require("./components/ipfs/IpfsProvider"), exports);
126
- __exportStar(require("./types/helpers"), exports);
127
- __exportStar(require("./lib/url/url"), exports);
120
+ __exportStar(require("./lib/offer/getIsOfferExpired"), exports);
128
121
  __exportStar(require("./lib/promises/promises"), exports);
122
+ __exportStar(require("./lib/url/url"), exports);
123
+ __exportStar(require("./theme"), exports);
124
+ __exportStar(require("./types/helpers"), exports);
125
+ var common_2 = require("@bosonprotocol/common");
126
+ Object.defineProperty(exports, "AuthTokenType", { enumerable: true, get: function () { return common_2.AuthTokenType; } });
127
+ __exportStar(require("@bosonprotocol/core-sdk"), exports);
128
+ __exportStar(require("@bosonprotocol/ethers-sdk"), exports);
129
+ __exportStar(require("@bosonprotocol/ipfs-storage"), exports);
129
130
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","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,aAAa,OAAA;AACtB,4EAA0D;AAC1D,+DAA6C;AAC7C,+DAA6C;AAC7C,6DAA2C;AAC3C,0DAAwC;AACxC,uDAAqC;AACrC,gEAA8C;AAC9C,4DAA0C;AAC1C,kEAAgD;AAChD,6DAA2C;AAC3C,6DAIsC;AAHpC,iHAAA,iBAAiB,OAAA;AAEjB,6HAAA,OAAO,OAAgB;AAEzB,6DAA2C;AAC3C,+CAA0D;AAAjD,8FAAA,KAAK,OAAA;AACd,yDAAuC;AACvC,mEAA6E;AAApE,+HAAA,OAAO,OAAiB;AACjC,2EAAyD;AACzD,8EAA4D;AAC5D,0EAAwD;AACxD,wEAAsD;AACtD,6DAA2C;AAC3C,iDAAiC;AACjC,qDAAmC;AACnC,sDAAoC;AACpC,0DAAwC;AACxC,uDAAqC;AACrC,4DAA0C;AAC1C,kDAAgC;AAChC,yDAAuC;AACvC,2DAAyC;AACzC,qDAAmC;AACnC,gEAA8C;AAC9C,0DAAwC;AACxC,gDAA8B;AAC9B,0CAAwB;AACxB,kDAAgC;AAChC,gDAAsD;AAA7C,uGAAA,aAAa,OAAA;AACtB,0DAAwC;AACxC,4DAA0C;AAC1C,8DAA4C"}
@@ -23,12 +23,12 @@ export declare const CalendarCell: import("styled-components").IStyledComponent<
23
23
  between?: boolean | undefined;
24
24
  disabled?: boolean | undefined;
25
25
  }>>;
26
- export declare const CalendarDay: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "active" | "disabled" | "current" | "between"> & {
26
+ export declare const CalendarDay: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Pick<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "disabled" | "active" | "current" | "between"> & {
27
27
  active?: boolean | undefined;
28
28
  current?: boolean | undefined;
29
29
  between?: boolean | undefined;
30
30
  disabled?: boolean | undefined;
31
- }, "active" | "disabled" | "key" | keyof import("react").HTMLAttributes<HTMLDivElement> | "current" | "between"> & {
31
+ }, "disabled" | "key" | keyof import("react").HTMLAttributes<HTMLDivElement> | "active" | "current" | "between"> & {
32
32
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
33
33
  }, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
34
34
  active?: boolean | undefined;
@@ -20,7 +20,7 @@ export declare function useRemovePendingTransactionWithContext(): import("zustan
20
20
  offerId?: string | undefined;
21
21
  newHash?: string | undefined;
22
22
  }) => void;
23
- removePendingTransaction: (key: "id" | "executedBy" | "dispute" | "offerId" | "exchange" | "offer" | "type" | "timestamp" | "hash" | "accountType" | "isMetaTx" | "newHash", value: string) => void;
23
+ removePendingTransaction: (key: "type" | "id" | "executedBy" | "dispute" | "offerId" | "exchange" | "offer" | "timestamp" | "hash" | "accountType" | "isMetaTx" | "newHash", value: string) => void;
24
24
  reconcilePendingTransactions: (coreSDK: import("@bosonprotocol/core-sdk").CoreSDK) => Promise<void>;
25
25
  }>> | null;
26
26
  //# sourceMappingURL=usePendingTransactionsWithContext.d.ts.map
@@ -1,91 +1,92 @@
1
- export { AuthTokenType } from "@bosonprotocol/common";
2
- export * from "@bosonprotocol/core-sdk";
3
- export * from "@bosonprotocol/ethers-sdk";
4
- export * from "@bosonprotocol/ipfs-storage";
5
- export { default as ThemedButton, IButton, bosonButtonThemes } from "./components/ui/ThemedButton";
6
- export * from "./components/ui/zIndex";
7
- export * from "./components/ui/buttonSize";
8
- export * from "./components/scroll/ScrollToID";
9
- export * from "./components/scroll/ScrollToTop";
10
- export * from "./components/buttons/Button";
11
1
  export * from "./components/buttons/BaseButton";
12
- export * from "./components/buttons/CommitButtonView";
13
2
  export * from "./components/buttons/BurgerButton";
3
+ export * from "./components/buttons/Button";
4
+ export * from "./components/buttons/CommitButtonView";
14
5
  export * from "./components/config/ConfigProvider";
6
+ export * from "./components/cta/dispute/DecideDisputeButton";
7
+ export * from "./components/cta/dispute/EscalateDisputeButton";
8
+ export * from "./components/cta/dispute/ExpireDisputeButton";
9
+ export * from "./components/cta/dispute/ExpireEscalationDisputeButton";
10
+ export * from "./components/cta/dispute/ExtendDisputeTimeoutButton";
11
+ export * from "./components/cta/dispute/RaiseDisputeButton";
12
+ export * from "./components/cta/dispute/RefuseDisputeButton";
13
+ export * from "./components/cta/dispute/ResolveDisputeButton";
14
+ export * from "./components/cta/dispute/RetractDisputeButton";
15
15
  export * from "./components/cta/exchange/BatchCompleteButton";
16
16
  export * from "./components/cta/exchange/CancelButton";
17
17
  export * from "./components/cta/exchange/CompleteButton";
18
18
  export * from "./components/cta/exchange/ExpireButton";
19
19
  export * from "./components/cta/exchange/RedeemButton";
20
20
  export * from "./components/cta/exchange/RevokeButton";
21
- export * from "./components/cta/offer/CommitButton";
22
- export * from "./components/cta/offer/VoidButton";
23
- export * from "./components/cta/offer/BatchVoidButton";
24
- export * from "./components/cta/offer/CreateOfferButton";
25
21
  export * from "./components/cta/funds/DepositFundsButton";
26
- export * from "./components/cta/funds/WithdrawFundsButton";
27
22
  export * from "./components/cta/funds/WithdrawAllFundsButton";
23
+ export * from "./components/cta/funds/WithdrawFundsButton";
24
+ export * from "./components/cta/offer/BatchVoidButton";
25
+ export * from "./components/cta/offer/CommitButton";
26
+ export * from "./components/cta/offer/CreateOfferButton";
27
+ export * from "./components/cta/offer/VoidButton";
28
28
  export * from "./components/currencyDisplay/CurrencyDisplay";
29
+ export * from "./components/error/ErrorMessage";
30
+ export * from "./components/error/SimpleError";
29
31
  export * from "./components/exchangeCard/ExchangeCard";
32
+ export * from "./components/form";
30
33
  export * from "./components/image/Image";
31
- export * from "./components/ui/IpfsImage";
32
- export { Video, VideoProps } from "./components/ui/Video";
33
- export * from "./components/ui/loading/Loading";
34
- export * from "./components/productCard/ProductCard";
35
- export * from "./components/productCard/const";
36
- export * from "./components/skeleton/ProductCardSkeleton";
37
- export * from "./components/skeleton/CollectionsCardSkeleton";
38
- export { LoadingBubble } from "./components/skeleton/common";
39
- export * from "./components/searchBar/SearchBar";
40
- export * from "./components/tooltip/Tooltip";
41
- export * from "./components/cta/dispute/RaiseDisputeButton";
42
- export * from "./components/cta/dispute/ResolveDisputeButton";
43
- export * from "./components/cta/dispute/RetractDisputeButton";
44
- export * from "./components/cta/dispute/ExtendDisputeTimeoutButton";
45
- export * from "./components/cta/dispute/ExpireDisputeButton";
46
- export * from "./components/cta/dispute/EscalateDisputeButton";
47
- export * from "./components/cta/dispute/RefuseDisputeButton";
48
- export * from "./components/cta/dispute/DecideDisputeButton";
49
- export * from "./components/cta/dispute/ExpireEscalationDisputeButton";
50
- export { default as ConnectButton } from "./components/wallet/ConnectButton";
51
- export * from "./components/widgets/index";
52
- export * as hooks from "./hooks";
53
- export * from "./theme";
34
+ export * from "./components/ipfs/IpfsProvider";
54
35
  export * from "./components/magicLink/Login";
55
36
  export * from "./components/magicLink/MagicContext";
56
37
  export * from "./components/magicLink/MagicProvider";
57
38
  export * from "./components/magicLink/UserContext";
58
- export * from "./components/modal/components/common/OfferFullDescription/ExternalOfferFullDescription";
39
+ export * from "./components/modal/components/Commit/DetailView/ExternalCommitDetailView";
59
40
  export * from "./components/modal/components/common/detail/useGetOfferDetailData";
60
- export * from "./components/modal/components/PurchaseOverview/PurchaseOverview";
41
+ export * from "./components/modal/components/common/OfferFullDescription/ExternalOfferFullDescription";
61
42
  export * from "./components/modal/components/common/StepsOverview/PurchaseOverview";
62
- export * from "./components/modal/components/Commit/DetailView/ExternalCommitDetailView";
43
+ export * from "./components/modal/components/PurchaseOverview/PurchaseOverview";
63
44
  export * from "./components/modal/components/Redeem/DetailView/ExternalExchangeDetailView";
45
+ export * from "./components/portal/Portal";
46
+ export * from "./components/productCard/const";
47
+ export * from "./components/productCard/ProductCard";
48
+ export * from "./components/scroll/ScrollToID";
49
+ export * from "./components/scroll/ScrollToTop";
50
+ export * from "./components/searchBar/SearchBar";
51
+ export * from "./components/skeleton/CollectionsCardSkeleton";
52
+ export { LoadingBubble } from "./components/skeleton/common";
53
+ export * from "./components/skeleton/ProductCardSkeleton";
54
+ export * from "./components/step/MultiSteps";
55
+ export * from "./components/tooltip/Tooltip";
56
+ export * from "./components/ui/buttonSize";
57
+ export * from "./components/ui/CardCTA";
64
58
  export * from "./components/ui/Grid";
65
59
  export * from "./components/ui/GridContainer";
66
- export * from "./components/ui/Typography";
60
+ export * from "./components/ui/IpfsImage";
61
+ export * from "./components/ui/loading/Loading";
67
62
  export * from "./components/ui/MuteButton";
68
- export * from "./components/ui/CardCTA";
69
- export * from "./components/form";
70
- export * from "./lib/magicLink/logout";
63
+ export { bosonButtonThemes, IButton, default as ThemedButton } from "./components/ui/ThemedButton";
64
+ export * from "./components/ui/Typography";
65
+ export { Video, VideoProps } from "./components/ui/Video";
66
+ export * from "./components/ui/zIndex";
67
+ export { default as ConnectButton } from "./components/wallet/ConnectButton";
68
+ export * from "./components/wallet2/accountDrawer/index";
69
+ export * from "./components/wallet2/selector/ChainSelector";
70
+ export * from "./components/wallet2/web3Provider/index";
71
+ export * from "./components/wallet2/web3Status/index";
72
+ export * from "./components/widgets/index";
73
+ export * as hooks from "./hooks";
74
+ export * from "./lib/bundle/const";
75
+ export * from "./lib/bundle/filter";
71
76
  export * from "./lib/bytes/bytesToSize";
72
- export * from "./lib/magicLink/provider";
73
77
  export * from "./lib/const/networks";
74
78
  export * from "./lib/errors/transactions";
75
- export * from "./lib/offer/getIsOfferExpired";
76
- export * from "./lib/bundle/filter";
77
- export * from "./lib/bundle/const";
79
+ export * from "./lib/ipfs/ipfs";
80
+ export * from "./lib/magicLink/logout";
81
+ export * from "./lib/magicLink/provider";
78
82
  export * from "./lib/offer/filter";
79
- export * from "./components/wallet2/selector/ChainSelector";
80
- export * from "./components/wallet2/web3Status/index";
81
- export * from "./components/wallet2/web3Provider/index";
82
- export * from "./components/wallet2/accountDrawer/index";
83
- export * from "./components/portal/Portal";
84
- export * from "./components/error/ErrorMessage";
85
- export * from "./components/error/SimpleError";
86
- export * from "./components/step/MultiSteps";
87
- export * from "./components/ipfs/IpfsProvider";
88
- export * from "./types/helpers";
89
- export * from "./lib/url/url";
83
+ export * from "./lib/offer/getIsOfferExpired";
90
84
  export * from "./lib/promises/promises";
85
+ export * from "./lib/url/url";
86
+ export * from "./theme";
87
+ export * from "./types/helpers";
88
+ export { AuthTokenType } from "@bosonprotocol/common";
89
+ export * from "@bosonprotocol/core-sdk";
90
+ export * from "@bosonprotocol/ethers-sdk";
91
+ export * from "@bosonprotocol/ipfs-storage";
91
92
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EACL,OAAO,IAAI,YAAY,EACvB,OAAO,EACP,iBAAiB,EAClB,MAAM,8BAA8B,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,wCAAwC,CAAC;AACvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAA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,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EACL,iBAAiB,EACjB,OAAO,EACP,OAAO,IAAI,YAAY,EACxB,MAAM,8BAA8B,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC1D,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAC7E,cAAc,0CAA0C,CAAC;AACzD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC;AACtD,cAAc,4BAA4B,CAAC;AAC3C,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC"}
package/dist/esm/index.js CHANGED
@@ -1,91 +1,92 @@
1
- export { AuthTokenType } from "@bosonprotocol/common";
2
- export * from "@bosonprotocol/core-sdk";
3
- export * from "@bosonprotocol/ethers-sdk";
4
- export * from "@bosonprotocol/ipfs-storage";
5
- export { default as ThemedButton, bosonButtonThemes } from "./components/ui/ThemedButton";
6
- export * from "./components/ui/zIndex";
7
- export * from "./components/ui/buttonSize";
8
- export * from "./components/scroll/ScrollToID";
9
- export * from "./components/scroll/ScrollToTop";
10
- export * from "./components/buttons/Button";
11
1
  export * from "./components/buttons/BaseButton";
12
- export * from "./components/buttons/CommitButtonView";
13
2
  export * from "./components/buttons/BurgerButton";
3
+ export * from "./components/buttons/Button";
4
+ export * from "./components/buttons/CommitButtonView";
14
5
  export * from "./components/config/ConfigProvider";
6
+ export * from "./components/cta/dispute/DecideDisputeButton";
7
+ export * from "./components/cta/dispute/EscalateDisputeButton";
8
+ export * from "./components/cta/dispute/ExpireDisputeButton";
9
+ export * from "./components/cta/dispute/ExpireEscalationDisputeButton";
10
+ export * from "./components/cta/dispute/ExtendDisputeTimeoutButton";
11
+ export * from "./components/cta/dispute/RaiseDisputeButton";
12
+ export * from "./components/cta/dispute/RefuseDisputeButton";
13
+ export * from "./components/cta/dispute/ResolveDisputeButton";
14
+ export * from "./components/cta/dispute/RetractDisputeButton";
15
15
  export * from "./components/cta/exchange/BatchCompleteButton";
16
16
  export * from "./components/cta/exchange/CancelButton";
17
17
  export * from "./components/cta/exchange/CompleteButton";
18
18
  export * from "./components/cta/exchange/ExpireButton";
19
19
  export * from "./components/cta/exchange/RedeemButton";
20
20
  export * from "./components/cta/exchange/RevokeButton";
21
- export * from "./components/cta/offer/CommitButton";
22
- export * from "./components/cta/offer/VoidButton";
23
- export * from "./components/cta/offer/BatchVoidButton";
24
- export * from "./components/cta/offer/CreateOfferButton";
25
21
  export * from "./components/cta/funds/DepositFundsButton";
26
- export * from "./components/cta/funds/WithdrawFundsButton";
27
22
  export * from "./components/cta/funds/WithdrawAllFundsButton";
23
+ export * from "./components/cta/funds/WithdrawFundsButton";
24
+ export * from "./components/cta/offer/BatchVoidButton";
25
+ export * from "./components/cta/offer/CommitButton";
26
+ export * from "./components/cta/offer/CreateOfferButton";
27
+ export * from "./components/cta/offer/VoidButton";
28
28
  export * from "./components/currencyDisplay/CurrencyDisplay";
29
+ export * from "./components/error/ErrorMessage";
30
+ export * from "./components/error/SimpleError";
29
31
  export * from "./components/exchangeCard/ExchangeCard";
32
+ export * from "./components/form";
30
33
  export * from "./components/image/Image";
31
- export * from "./components/ui/IpfsImage";
32
- export { Video } from "./components/ui/Video";
33
- export * from "./components/ui/loading/Loading";
34
- export * from "./components/productCard/ProductCard";
35
- export * from "./components/productCard/const";
36
- export * from "./components/skeleton/ProductCardSkeleton";
37
- export * from "./components/skeleton/CollectionsCardSkeleton";
38
- export { LoadingBubble } from "./components/skeleton/common";
39
- export * from "./components/searchBar/SearchBar";
40
- export * from "./components/tooltip/Tooltip";
41
- export * from "./components/cta/dispute/RaiseDisputeButton";
42
- export * from "./components/cta/dispute/ResolveDisputeButton";
43
- export * from "./components/cta/dispute/RetractDisputeButton";
44
- export * from "./components/cta/dispute/ExtendDisputeTimeoutButton";
45
- export * from "./components/cta/dispute/ExpireDisputeButton";
46
- export * from "./components/cta/dispute/EscalateDisputeButton";
47
- export * from "./components/cta/dispute/RefuseDisputeButton";
48
- export * from "./components/cta/dispute/DecideDisputeButton";
49
- export * from "./components/cta/dispute/ExpireEscalationDisputeButton";
50
- export { default as ConnectButton } from "./components/wallet/ConnectButton";
51
- export * from "./components/widgets/index";
52
- export * as hooks from "./hooks";
53
- export * from "./theme";
34
+ export * from "./components/ipfs/IpfsProvider";
54
35
  export * from "./components/magicLink/Login";
55
36
  export * from "./components/magicLink/MagicContext";
56
37
  export * from "./components/magicLink/MagicProvider";
57
38
  export * from "./components/magicLink/UserContext";
58
- export * from "./components/modal/components/common/OfferFullDescription/ExternalOfferFullDescription";
39
+ export * from "./components/modal/components/Commit/DetailView/ExternalCommitDetailView";
59
40
  export * from "./components/modal/components/common/detail/useGetOfferDetailData";
60
- export * from "./components/modal/components/PurchaseOverview/PurchaseOverview";
41
+ export * from "./components/modal/components/common/OfferFullDescription/ExternalOfferFullDescription";
61
42
  export * from "./components/modal/components/common/StepsOverview/PurchaseOverview";
62
- export * from "./components/modal/components/Commit/DetailView/ExternalCommitDetailView";
43
+ export * from "./components/modal/components/PurchaseOverview/PurchaseOverview";
63
44
  export * from "./components/modal/components/Redeem/DetailView/ExternalExchangeDetailView";
45
+ export * from "./components/portal/Portal";
46
+ export * from "./components/productCard/const";
47
+ export * from "./components/productCard/ProductCard";
48
+ export * from "./components/scroll/ScrollToID";
49
+ export * from "./components/scroll/ScrollToTop";
50
+ export * from "./components/searchBar/SearchBar";
51
+ export * from "./components/skeleton/CollectionsCardSkeleton";
52
+ export { LoadingBubble } from "./components/skeleton/common";
53
+ export * from "./components/skeleton/ProductCardSkeleton";
54
+ export * from "./components/step/MultiSteps";
55
+ export * from "./components/tooltip/Tooltip";
56
+ export * from "./components/ui/buttonSize";
57
+ export * from "./components/ui/CardCTA";
64
58
  export * from "./components/ui/Grid";
65
59
  export * from "./components/ui/GridContainer";
66
- export * from "./components/ui/Typography";
60
+ export * from "./components/ui/IpfsImage";
61
+ export * from "./components/ui/loading/Loading";
67
62
  export * from "./components/ui/MuteButton";
68
- export * from "./components/ui/CardCTA";
69
- export * from "./components/form";
70
- export * from "./lib/magicLink/logout";
63
+ export { bosonButtonThemes, default as ThemedButton } from "./components/ui/ThemedButton";
64
+ export * from "./components/ui/Typography";
65
+ export { Video } from "./components/ui/Video";
66
+ export * from "./components/ui/zIndex";
67
+ export { default as ConnectButton } from "./components/wallet/ConnectButton";
68
+ export * from "./components/wallet2/accountDrawer/index";
69
+ export * from "./components/wallet2/selector/ChainSelector";
70
+ export * from "./components/wallet2/web3Provider/index";
71
+ export * from "./components/wallet2/web3Status/index";
72
+ export * from "./components/widgets/index";
73
+ export * as hooks from "./hooks";
74
+ export * from "./lib/bundle/const";
75
+ export * from "./lib/bundle/filter";
71
76
  export * from "./lib/bytes/bytesToSize";
72
- export * from "./lib/magicLink/provider";
73
77
  export * from "./lib/const/networks";
74
78
  export * from "./lib/errors/transactions";
75
- export * from "./lib/offer/getIsOfferExpired";
76
- export * from "./lib/bundle/filter";
77
- export * from "./lib/bundle/const";
79
+ export * from "./lib/ipfs/ipfs";
80
+ export * from "./lib/magicLink/logout";
81
+ export * from "./lib/magicLink/provider";
78
82
  export * from "./lib/offer/filter";
79
- export * from "./components/wallet2/selector/ChainSelector";
80
- export * from "./components/wallet2/web3Status/index";
81
- export * from "./components/wallet2/web3Provider/index";
82
- export * from "./components/wallet2/accountDrawer/index";
83
- export * from "./components/portal/Portal";
84
- export * from "./components/error/ErrorMessage";
85
- export * from "./components/error/SimpleError";
86
- export * from "./components/step/MultiSteps";
87
- export * from "./components/ipfs/IpfsProvider";
88
- export * from "./types/helpers";
89
- export * from "./lib/url/url";
83
+ export * from "./lib/offer/getIsOfferExpired";
90
84
  export * from "./lib/promises/promises";
85
+ export * from "./lib/url/url";
86
+ export * from "./theme";
87
+ export * from "./types/helpers";
88
+ export { AuthTokenType } from "@bosonprotocol/common";
89
+ export * from "@bosonprotocol/core-sdk";
90
+ export * from "@bosonprotocol/ethers-sdk";
91
+ export * from "@bosonprotocol/ipfs-storage";
91
92
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EACL,OAAO,IAAI,YAAY,EAEvB,iBAAiB,EAClB,MAAM,8BAA8B,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,wCAAwC,CAAC;AACvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,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,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EACL,iBAAiB,EAEjB,OAAO,IAAI,YAAY,EACxB,MAAM,8BAA8B,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAc,MAAM,uBAAuB,CAAC;AAC1D,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAC7E,cAAc,0CAA0C,CAAC;AACzD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC;AACtD,cAAc,4BAA4B,CAAC;AAC3C,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC"}
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.33.0",
4
+ "version": "0.33.1-alpha.0",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
7
7
  "types": "./dist/cjs/index.d.ts",
@@ -188,5 +188,5 @@
188
188
  "overrides": {
189
189
  "typescript": "^5.1.6"
190
190
  },
191
- "gitHead": "ee03409b93c98d332ef20b275cd19ecba5518364"
191
+ "gitHead": "f584204fef7d4089c9f7e8b1aadccd2a74569472"
192
192
  }
package/src/index.tsx CHANGED
@@ -1,94 +1,95 @@
1
- export { AuthTokenType } from "@bosonprotocol/common";
2
- export * from "@bosonprotocol/core-sdk";
3
- export * from "@bosonprotocol/ethers-sdk";
4
- export * from "@bosonprotocol/ipfs-storage";
5
- export {
6
- default as ThemedButton,
7
- IButton,
8
- bosonButtonThemes
9
- } from "./components/ui/ThemedButton";
10
- export * from "./components/ui/zIndex";
11
- export * from "./components/ui/buttonSize";
12
- export * from "./components/scroll/ScrollToID";
13
- export * from "./components/scroll/ScrollToTop";
14
- export * from "./components/buttons/Button";
15
1
  export * from "./components/buttons/BaseButton";
16
- export * from "./components/buttons/CommitButtonView";
17
2
  export * from "./components/buttons/BurgerButton";
3
+ export * from "./components/buttons/Button";
4
+ export * from "./components/buttons/CommitButtonView";
18
5
  export * from "./components/config/ConfigProvider";
6
+ export * from "./components/cta/dispute/DecideDisputeButton";
7
+ export * from "./components/cta/dispute/EscalateDisputeButton";
8
+ export * from "./components/cta/dispute/ExpireDisputeButton";
9
+ export * from "./components/cta/dispute/ExpireEscalationDisputeButton";
10
+ export * from "./components/cta/dispute/ExtendDisputeTimeoutButton";
11
+ export * from "./components/cta/dispute/RaiseDisputeButton";
12
+ export * from "./components/cta/dispute/RefuseDisputeButton";
13
+ export * from "./components/cta/dispute/ResolveDisputeButton";
14
+ export * from "./components/cta/dispute/RetractDisputeButton";
19
15
  export * from "./components/cta/exchange/BatchCompleteButton";
20
16
  export * from "./components/cta/exchange/CancelButton";
21
17
  export * from "./components/cta/exchange/CompleteButton";
22
18
  export * from "./components/cta/exchange/ExpireButton";
23
19
  export * from "./components/cta/exchange/RedeemButton";
24
20
  export * from "./components/cta/exchange/RevokeButton";
25
- export * from "./components/cta/offer/CommitButton";
26
- export * from "./components/cta/offer/VoidButton";
27
- export * from "./components/cta/offer/BatchVoidButton";
28
- export * from "./components/cta/offer/CreateOfferButton";
29
21
  export * from "./components/cta/funds/DepositFundsButton";
30
- export * from "./components/cta/funds/WithdrawFundsButton";
31
22
  export * from "./components/cta/funds/WithdrawAllFundsButton";
23
+ export * from "./components/cta/funds/WithdrawFundsButton";
24
+ export * from "./components/cta/offer/BatchVoidButton";
25
+ export * from "./components/cta/offer/CommitButton";
26
+ export * from "./components/cta/offer/CreateOfferButton";
27
+ export * from "./components/cta/offer/VoidButton";
32
28
  export * from "./components/currencyDisplay/CurrencyDisplay";
29
+ export * from "./components/error/ErrorMessage";
30
+ export * from "./components/error/SimpleError";
33
31
  export * from "./components/exchangeCard/ExchangeCard";
32
+ export * from "./components/form";
34
33
  export * from "./components/image/Image";
35
- export * from "./components/ui/IpfsImage";
36
- export { Video, VideoProps } from "./components/ui/Video";
37
- export * from "./components/ui/loading/Loading";
38
- export * from "./components/productCard/ProductCard";
39
- export * from "./components/productCard/const";
40
- export * from "./components/skeleton/ProductCardSkeleton";
41
- export * from "./components/skeleton/CollectionsCardSkeleton";
42
- export { LoadingBubble } from "./components/skeleton/common";
43
- export * from "./components/searchBar/SearchBar";
44
- export * from "./components/tooltip/Tooltip";
45
- export * from "./components/cta/dispute/RaiseDisputeButton";
46
- export * from "./components/cta/dispute/ResolveDisputeButton";
47
- export * from "./components/cta/dispute/RetractDisputeButton";
48
- export * from "./components/cta/dispute/ExtendDisputeTimeoutButton";
49
- export * from "./components/cta/dispute/ExpireDisputeButton";
50
- export * from "./components/cta/dispute/EscalateDisputeButton";
51
- export * from "./components/cta/dispute/RefuseDisputeButton";
52
- export * from "./components/cta/dispute/DecideDisputeButton";
53
- export * from "./components/cta/dispute/ExpireEscalationDisputeButton";
54
- export { default as ConnectButton } from "./components/wallet/ConnectButton";
55
- export * from "./components/widgets/index";
56
- export * as hooks from "./hooks";
57
- export * from "./theme";
34
+ export * from "./components/ipfs/IpfsProvider";
58
35
  export * from "./components/magicLink/Login";
59
36
  export * from "./components/magicLink/MagicContext";
60
37
  export * from "./components/magicLink/MagicProvider";
61
38
  export * from "./components/magicLink/UserContext";
62
- export * from "./components/modal/components/common/OfferFullDescription/ExternalOfferFullDescription";
39
+ export * from "./components/modal/components/Commit/DetailView/ExternalCommitDetailView";
63
40
  export * from "./components/modal/components/common/detail/useGetOfferDetailData";
64
- export * from "./components/modal/components/PurchaseOverview/PurchaseOverview";
41
+ export * from "./components/modal/components/common/OfferFullDescription/ExternalOfferFullDescription";
65
42
  export * from "./components/modal/components/common/StepsOverview/PurchaseOverview";
66
- export * from "./components/modal/components/Commit/DetailView/ExternalCommitDetailView";
43
+ export * from "./components/modal/components/PurchaseOverview/PurchaseOverview";
67
44
  export * from "./components/modal/components/Redeem/DetailView/ExternalExchangeDetailView";
45
+ export * from "./components/portal/Portal";
46
+ export * from "./components/productCard/const";
47
+ export * from "./components/productCard/ProductCard";
48
+ export * from "./components/scroll/ScrollToID";
49
+ export * from "./components/scroll/ScrollToTop";
50
+ export * from "./components/searchBar/SearchBar";
51
+ export * from "./components/skeleton/CollectionsCardSkeleton";
52
+ export { LoadingBubble } from "./components/skeleton/common";
53
+ export * from "./components/skeleton/ProductCardSkeleton";
54
+ export * from "./components/step/MultiSteps";
55
+ export * from "./components/tooltip/Tooltip";
56
+ export * from "./components/ui/buttonSize";
57
+ export * from "./components/ui/CardCTA";
68
58
  export * from "./components/ui/Grid";
69
59
  export * from "./components/ui/GridContainer";
70
- export * from "./components/ui/Typography";
60
+ export * from "./components/ui/IpfsImage";
61
+ export * from "./components/ui/loading/Loading";
71
62
  export * from "./components/ui/MuteButton";
72
- export * from "./components/ui/CardCTA";
73
- export * from "./components/form";
74
- export * from "./lib/magicLink/logout";
63
+ export {
64
+ bosonButtonThemes,
65
+ IButton,
66
+ default as ThemedButton
67
+ } from "./components/ui/ThemedButton";
68
+ export * from "./components/ui/Typography";
69
+ export { Video, VideoProps } from "./components/ui/Video";
70
+ export * from "./components/ui/zIndex";
71
+ export { default as ConnectButton } from "./components/wallet/ConnectButton";
72
+ export * from "./components/wallet2/accountDrawer/index";
73
+ export * from "./components/wallet2/selector/ChainSelector";
74
+ export * from "./components/wallet2/web3Provider/index";
75
+ export * from "./components/wallet2/web3Status/index";
76
+ export * from "./components/widgets/index";
77
+ export * as hooks from "./hooks";
78
+ export * from "./lib/bundle/const";
79
+ export * from "./lib/bundle/filter";
75
80
  export * from "./lib/bytes/bytesToSize";
76
- export * from "./lib/magicLink/provider";
77
81
  export * from "./lib/const/networks";
78
82
  export * from "./lib/errors/transactions";
79
- export * from "./lib/offer/getIsOfferExpired";
80
- export * from "./lib/bundle/filter";
81
- export * from "./lib/bundle/const";
83
+ export * from "./lib/ipfs/ipfs";
84
+ export * from "./lib/magicLink/logout";
85
+ export * from "./lib/magicLink/provider";
82
86
  export * from "./lib/offer/filter";
83
- export * from "./components/wallet2/selector/ChainSelector";
84
- export * from "./components/wallet2/web3Status/index";
85
- export * from "./components/wallet2/web3Provider/index";
86
- export * from "./components/wallet2/accountDrawer/index";
87
- export * from "./components/portal/Portal";
88
- export * from "./components/error/ErrorMessage";
89
- export * from "./components/error/SimpleError";
90
- export * from "./components/step/MultiSteps";
91
- export * from "./components/ipfs/IpfsProvider";
92
- export * from "./types/helpers";
93
- export * from "./lib/url/url";
87
+ export * from "./lib/offer/getIsOfferExpired";
94
88
  export * from "./lib/promises/promises";
89
+ export * from "./lib/url/url";
90
+ export * from "./theme";
91
+ export * from "./types/helpers";
92
+ export { AuthTokenType } from "@bosonprotocol/common";
93
+ export * from "@bosonprotocol/core-sdk";
94
+ export * from "@bosonprotocol/ethers-sdk";
95
+ export * from "@bosonprotocol/ipfs-storage";