@nosto/nosto-react 0.4.0 → 0.4.3
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/README.md +5 -2
- package/dist/{index.es.client.js → index.es.js} +127 -168
- package/dist/index.umd.js +9 -0
- package/package.json +15 -10
- package/src/components/Nosto404.tsx +47 -0
- package/src/components/{Category/index.client.tsx → NostoCategory.tsx} +18 -38
- package/src/components/NostoCheckout.tsx +47 -0
- package/src/components/{Home/index.client.tsx → NostoHome.tsx} +17 -34
- package/src/components/{Order/index.client.tsx → NostoOrder.tsx} +22 -38
- package/src/components/NostoOther.tsx +46 -0
- package/src/components/{Placement/index.client.tsx → NostoPlacement.tsx} +5 -8
- package/src/components/{Product/index.client.tsx → NostoProduct.tsx} +37 -80
- package/src/components/NostoProvider.tsx +220 -0
- package/src/components/{Search/index.client.tsx → NostoSearch.tsx} +18 -36
- package/src/components/{Session/index.client.tsx → NostoSession.tsx} +14 -17
- package/src/components/context.ts +55 -0
- package/src/components/index.ts +14 -0
- package/src/index.ts +3 -0
- package/src/types.ts +112 -97
- package/src/utils/compare.ts +9 -9
- package/src/utils/hooks.ts +28 -8
- package/src/utils/object.ts +10 -11
- package/src/utils/snakeize.ts +11 -11
- package/dist/index.umd.client.js +0 -9
- package/src/components/Checkout/index.client.tsx +0 -64
- package/src/components/Fohofo/index.client.tsx +0 -64
- package/src/components/Other/index.client.tsx +0 -63
- package/src/components/Provider/context.client.ts +0 -45
- package/src/components/Provider/index.client.tsx +0 -222
- package/src/index.client.ts +0 -33
package/src/index.client.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export type {
|
|
2
|
-
Buyer, Cart, Customer, Item, Product, Purchase, Recommendation, SKU
|
|
3
|
-
} from "./types";
|
|
4
|
-
// noinspection JSUnusedGlobalSymbols
|
|
5
|
-
export { default as Nosto404 } from "./components/Fohofo/index.client";
|
|
6
|
-
// noinspection JSUnusedGlobalSymbols
|
|
7
|
-
export { default as NostoOther } from "./components/Other/index.client";
|
|
8
|
-
// noinspection JSUnusedGlobalSymbols
|
|
9
|
-
export { default as NostoCheckout } from "./components/Checkout/index.client";
|
|
10
|
-
// noinspection JSUnusedGlobalSymbols
|
|
11
|
-
export { default as NostoProduct } from "./components/Product/index.client";
|
|
12
|
-
// noinspection JSUnusedGlobalSymbols
|
|
13
|
-
export { default as NostoCategory } from "./components/Category/index.client";
|
|
14
|
-
// noinspection JSUnusedGlobalSymbols
|
|
15
|
-
export { default as NostoSearch } from "./components/Search/index.client";
|
|
16
|
-
// noinspection JSUnusedGlobalSymbols
|
|
17
|
-
export { default as NostoOrder } from "./components/Order/index.client";
|
|
18
|
-
// noinspection JSUnusedGlobalSymbols
|
|
19
|
-
export { default as NostoHome } from "./components/Home/index.client";
|
|
20
|
-
// noinspection JSUnusedGlobalSymbols
|
|
21
|
-
export { default as NostoPlacement } from "./components/Placement/index.client";
|
|
22
|
-
// noinspection JSUnusedGlobalSymbols
|
|
23
|
-
export { default as NostoProvider } from "./components/Provider/index.client";
|
|
24
|
-
// noinspection JSUnusedGlobalSymbols
|
|
25
|
-
export {
|
|
26
|
-
NostoContext,
|
|
27
|
-
useNostoContext,
|
|
28
|
-
} from "./components/Provider/context.client";
|
|
29
|
-
export type {
|
|
30
|
-
NostoContextType,
|
|
31
|
-
} from "./components/Provider/context.client";
|
|
32
|
-
// noinspection JSUnusedGlobalSymbols
|
|
33
|
-
export { default as NostoSession } from "./components/Session/index.client";
|