@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.
Files changed (30) hide show
  1. package/README.md +5 -2
  2. package/dist/{index.es.client.js → index.es.js} +127 -168
  3. package/dist/index.umd.js +9 -0
  4. package/package.json +15 -10
  5. package/src/components/Nosto404.tsx +47 -0
  6. package/src/components/{Category/index.client.tsx → NostoCategory.tsx} +18 -38
  7. package/src/components/NostoCheckout.tsx +47 -0
  8. package/src/components/{Home/index.client.tsx → NostoHome.tsx} +17 -34
  9. package/src/components/{Order/index.client.tsx → NostoOrder.tsx} +22 -38
  10. package/src/components/NostoOther.tsx +46 -0
  11. package/src/components/{Placement/index.client.tsx → NostoPlacement.tsx} +5 -8
  12. package/src/components/{Product/index.client.tsx → NostoProduct.tsx} +37 -80
  13. package/src/components/NostoProvider.tsx +220 -0
  14. package/src/components/{Search/index.client.tsx → NostoSearch.tsx} +18 -36
  15. package/src/components/{Session/index.client.tsx → NostoSession.tsx} +14 -17
  16. package/src/components/context.ts +55 -0
  17. package/src/components/index.ts +14 -0
  18. package/src/index.ts +3 -0
  19. package/src/types.ts +112 -97
  20. package/src/utils/compare.ts +9 -9
  21. package/src/utils/hooks.ts +28 -8
  22. package/src/utils/object.ts +10 -11
  23. package/src/utils/snakeize.ts +11 -11
  24. package/dist/index.umd.client.js +0 -9
  25. package/src/components/Checkout/index.client.tsx +0 -64
  26. package/src/components/Fohofo/index.client.tsx +0 -64
  27. package/src/components/Other/index.client.tsx +0 -63
  28. package/src/components/Provider/context.client.ts +0 -45
  29. package/src/components/Provider/index.client.tsx +0 -222
  30. package/src/index.client.ts +0 -33
@@ -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";