@faststore/core 2.0.166-alpha.0 → 2.0.169-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.
Files changed (191) hide show
  1. package/.turbo/turbo-build.log +7 -7
  2. package/CHANGELOG.md +12 -0
  3. package/cms/faststore/sections.json +131 -0
  4. package/next.config.js +3 -0
  5. package/package.json +4 -4
  6. package/src/Layout.tsx +1 -18
  7. package/src/components/cart/CartSidebar/section.module.scss +0 -3
  8. package/src/components/cms/GlobalSections.tsx +6 -5
  9. package/src/components/common/Alert/section.module.scss +0 -3
  10. package/src/components/common/Toast/section.module.scss +0 -3
  11. package/src/components/region/RegionBar/RegionBar.tsx +35 -3
  12. package/src/components/region/RegionModal/RegionModal.tsx +81 -19
  13. package/src/components/region/RegionModal/section.module.scss +0 -3
  14. package/src/components/search/Filter/section.module.scss +0 -3
  15. package/src/components/sections/BannerNewsletter/section.module.scss +0 -3
  16. package/src/components/sections/BannerText/section.module.scss +0 -3
  17. package/src/components/sections/Breadcrumb/section.module.scss +0 -3
  18. package/src/components/sections/EmptyState/section.module.scss +0 -3
  19. package/src/components/sections/Footer/section.module.scss +0 -3
  20. package/src/components/sections/Hero/section.module.scss +0 -3
  21. package/src/components/sections/Incentives/section.module.scss +0 -3
  22. package/src/components/sections/Navbar/section.module.scss +0 -3
  23. package/src/components/sections/Newsletter/section.module.scss +0 -3
  24. package/src/components/sections/ProductDetails/section.module.scss +0 -3
  25. package/src/components/sections/ProductGallery/section.module.scss +0 -3
  26. package/src/components/sections/ProductShelf/section.module.scss +0 -3
  27. package/src/components/sections/ProductTiles/section.module.scss +0 -3
  28. package/src/components/sections/RegionBar/RegionBar.tsx +41 -0
  29. package/src/components/{common → sections}/RegionBar/section.module.scss +0 -3
  30. package/src/components/sections/ScrollToTopButton/section.module.scss +0 -3
  31. package/src/components/sections/Section/section.scss +0 -2
  32. package/src/styles/themes/custom-theme.scss +0 -2
  33. package/src/styles/themes/midnight.scss +0 -2
  34. package/src/styles/themes/soft-blue.scss +0 -2
  35. package/stylelint.config.js +1 -1
  36. package/.next/BUILD_ID +0 -1
  37. package/.next/build-manifest.json +0 -123
  38. package/.next/cache/.tsbuildinfo +0 -1
  39. package/.next/cache/config.json +0 -7
  40. package/.next/cache/eslint/.cache_1gneedd +0 -1
  41. package/.next/cache/next-server.js.nft.json +0 -1
  42. package/.next/cache/webpack/client-production/0.pack +0 -0
  43. package/.next/cache/webpack/client-production/index.pack +0 -0
  44. package/.next/cache/webpack/server-production/0.pack +0 -0
  45. package/.next/cache/webpack/server-production/index.pack +0 -0
  46. package/.next/export-marker.json +0 -1
  47. package/.next/images-manifest.json +0 -1
  48. package/.next/next-server.js.nft.json +0 -1
  49. package/.next/package.json +0 -1
  50. package/.next/prerender-manifest.json +0 -1
  51. package/.next/react-loadable-manifest.json +0 -45
  52. package/.next/required-server-files.json +0 -1
  53. package/.next/routes-manifest.json +0 -1
  54. package/.next/server/chunks/123.js +0 -58
  55. package/.next/server/chunks/143.js +0 -106
  56. package/.next/server/chunks/183.js +0 -90
  57. package/.next/server/chunks/205.js +0 -692
  58. package/.next/server/chunks/247.js +0 -61
  59. package/.next/server/chunks/280.js +0 -324
  60. package/.next/server/chunks/287.js +0 -58
  61. package/.next/server/chunks/289.js +0 -229
  62. package/.next/server/chunks/312.js +0 -697
  63. package/.next/server/chunks/336.js +0 -821
  64. package/.next/server/chunks/350.js +0 -143
  65. package/.next/server/chunks/368.js +0 -253
  66. package/.next/server/chunks/487.js +0 -9142
  67. package/.next/server/chunks/502.js +0 -626
  68. package/.next/server/chunks/576.js +0 -90
  69. package/.next/server/chunks/597.js +0 -169
  70. package/.next/server/chunks/650.js +0 -9142
  71. package/.next/server/chunks/676.js +0 -32
  72. package/.next/server/chunks/701.js +0 -87
  73. package/.next/server/chunks/74.js +0 -2951
  74. package/.next/server/chunks/82.js +0 -371
  75. package/.next/server/chunks/825.js +0 -4039
  76. package/.next/server/chunks/854.js +0 -72
  77. package/.next/server/chunks/859.js +0 -959
  78. package/.next/server/chunks/874.js +0 -487
  79. package/.next/server/chunks/886.js +0 -120
  80. package/.next/server/chunks/907.js +0 -1803
  81. package/.next/server/chunks/970.js +0 -200
  82. package/.next/server/chunks/98.js +0 -124
  83. package/.next/server/chunks/font-manifest.json +0 -1
  84. package/.next/server/font-manifest.json +0 -1
  85. package/.next/server/middleware-build-manifest.js +0 -1
  86. package/.next/server/middleware-manifest.json +0 -6
  87. package/.next/server/middleware-react-loadable-manifest.js +0 -1
  88. package/.next/server/pages/404.js +0 -393
  89. package/.next/server/pages/404.js.nft.json +0 -1
  90. package/.next/server/pages/500.js +0 -395
  91. package/.next/server/pages/500.js.nft.json +0 -1
  92. package/.next/server/pages/[...slug].js +0 -786
  93. package/.next/server/pages/[...slug].js.nft.json +0 -1
  94. package/.next/server/pages/[slug]/p.js +0 -2532
  95. package/.next/server/pages/[slug]/p.js.nft.json +0 -1
  96. package/.next/server/pages/_app.js +0 -323
  97. package/.next/server/pages/_app.js.nft.json +0 -1
  98. package/.next/server/pages/_document.js +0 -304
  99. package/.next/server/pages/_document.js.nft.json +0 -1
  100. package/.next/server/pages/_error.js +0 -164
  101. package/.next/server/pages/_error.js.nft.json +0 -1
  102. package/.next/server/pages/account.js +0 -370
  103. package/.next/server/pages/account.js.nft.json +0 -1
  104. package/.next/server/pages/api/graphql.js +0 -365
  105. package/.next/server/pages/api/graphql.js.nft.json +0 -1
  106. package/.next/server/pages/api/preview.js +0 -119
  107. package/.next/server/pages/api/preview.js.nft.json +0 -1
  108. package/.next/server/pages/checkout.js +0 -370
  109. package/.next/server/pages/checkout.js.nft.json +0 -1
  110. package/.next/server/pages/en-US/404.html +0 -81
  111. package/.next/server/pages/en-US/404.json +0 -1
  112. package/.next/server/pages/en-US/500.html +0 -81
  113. package/.next/server/pages/en-US/500.json +0 -1
  114. package/.next/server/pages/en-US/account.html +0 -81
  115. package/.next/server/pages/en-US/account.json +0 -1
  116. package/.next/server/pages/en-US/checkout.html +0 -81
  117. package/.next/server/pages/en-US/checkout.json +0 -1
  118. package/.next/server/pages/en-US/login.html +0 -81
  119. package/.next/server/pages/en-US/login.json +0 -1
  120. package/.next/server/pages/en-US/s.html +0 -81
  121. package/.next/server/pages/en-US/s.json +0 -1
  122. package/.next/server/pages/en-US.html +0 -81
  123. package/.next/server/pages/en-US.json +0 -1
  124. package/.next/server/pages/index.js +0 -966
  125. package/.next/server/pages/index.js.nft.json +0 -1
  126. package/.next/server/pages/login.js +0 -375
  127. package/.next/server/pages/login.js.nft.json +0 -1
  128. package/.next/server/pages/s.js +0 -473
  129. package/.next/server/pages/s.js.nft.json +0 -1
  130. package/.next/server/pages-manifest.json +0 -16
  131. package/.next/server/webpack-api-runtime.js +0 -229
  132. package/.next/server/webpack-runtime.js +0 -229
  133. package/.next/static/V9ehyEgCMbu0LEDWsRhj5/_buildManifest.js +0 -1
  134. package/.next/static/V9ehyEgCMbu0LEDWsRhj5/_ssgManifest.js +0 -1
  135. package/.next/static/chunks/0-82274e07cb857231.js +0 -1
  136. package/.next/static/chunks/143.dd8a556e6957baa1.js +0 -1
  137. package/.next/static/chunks/226.b57e10ad9932f88c.js +0 -1
  138. package/.next/static/chunks/240-8e66b2892f9d8c40.js +0 -1
  139. package/.next/static/chunks/377-a2ea7cc68eb5f626.js +0 -1
  140. package/.next/static/chunks/460-910c8076569320d3.js +0 -1
  141. package/.next/static/chunks/495.0ecd099878b2a36d.js +0 -1
  142. package/.next/static/chunks/502.ec90d1859d393d34.js +0 -1
  143. package/.next/static/chunks/597.331d43f9ddefb6ad.js +0 -1
  144. package/.next/static/chunks/64.ebbe1d2b40f980c7.js +0 -1
  145. package/.next/static/chunks/651.7142f31ce1e052b3.js +0 -1
  146. package/.next/static/chunks/741.52f7fb873418346f.js +0 -1
  147. package/.next/static/chunks/98.97381d2021f86cd9.js +0 -1
  148. package/.next/static/chunks/framework-dfd14d7ce6600b03.js +0 -1
  149. package/.next/static/chunks/main-fd466221927468fd.js +0 -1
  150. package/.next/static/chunks/pages/404-51ec6bdbfb779d04.js +0 -1
  151. package/.next/static/chunks/pages/500-2326a336f08c29f7.js +0 -1
  152. package/.next/static/chunks/pages/[...slug]-98f2ea72ad0aa938.js +0 -1
  153. package/.next/static/chunks/pages/[slug]/p-fdd59650ea60aef9.js +0 -1
  154. package/.next/static/chunks/pages/_app-ed042290aee646cb.js +0 -1
  155. package/.next/static/chunks/pages/_error-a7a0c1d9bfbb4f38.js +0 -1
  156. package/.next/static/chunks/pages/account-a27dac55934a8c58.js +0 -1
  157. package/.next/static/chunks/pages/checkout-f75cc5c4859916ba.js +0 -1
  158. package/.next/static/chunks/pages/index-e7b12b548c44b1c5.js +0 -1
  159. package/.next/static/chunks/pages/login-cdb531ad10c8993c.js +0 -1
  160. package/.next/static/chunks/pages/s-62ae2cb782518452.js +0 -1
  161. package/.next/static/chunks/polyfills-c67a75d1b6f99dc8.js +0 -1
  162. package/.next/static/chunks/webpack-c22f5b0626028f1b.js +0 -1
  163. package/.next/static/css/13a4da555ff5e3be.css +0 -1
  164. package/.next/static/css/287f5ba239375052.css +0 -1
  165. package/.next/static/css/2e00f7ba49c754b3.css +0 -1
  166. package/.next/static/css/47d82dcec9a7dbc2.css +0 -1
  167. package/.next/static/css/6e41f1b6078c14c1.css +0 -1
  168. package/.next/static/css/7d822a137c54a781.css +0 -1
  169. package/.next/static/css/87c68d702d4c704e.css +0 -1
  170. package/.next/static/css/c6f97f692b2efad9.css +0 -1
  171. package/.next/static/css/d4a0d9df8c6df555.css +0 -1
  172. package/.next/static/css/e02cdad8fc000339.css +0 -1
  173. package/.next/trace +0 -70
  174. package/public/~partytown/debug/partytown-atomics.js +0 -556
  175. package/public/~partytown/debug/partytown-media.js +0 -374
  176. package/public/~partytown/debug/partytown-sandbox-sw.js +0 -543
  177. package/public/~partytown/debug/partytown-sw.js +0 -59
  178. package/public/~partytown/debug/partytown-ww-atomics.js +0 -1789
  179. package/public/~partytown/debug/partytown-ww-sw.js +0 -1781
  180. package/public/~partytown/debug/partytown.js +0 -72
  181. package/public/~partytown/partytown-atomics.js +0 -2
  182. package/public/~partytown/partytown-media.js +0 -2
  183. package/public/~partytown/partytown-sw.js +0 -2
  184. package/public/~partytown/partytown.js +0 -2
  185. package/src/components/common/RegionBar/RegionBar.tsx +0 -17
  186. package/src/styles/global/utilities.scss +0 -76
  187. package/src/styles/scaffold.scss +0 -7
  188. package/src/styles/vendors/include-media.scss +0 -4
  189. package/src/styles/vendors/include-media_overwrite.scss +0 -9
  190. package/src/styles/vendors/modern-normalize.css +0 -270
  191. /package/src/components/{common → sections}/RegionBar/index.ts +0 -0
@@ -1,32 +0,0 @@
1
- "use strict";
2
- exports.id = 676;
3
- exports.ids = [676];
4
- exports.modules = {
5
-
6
- /***/ 80676:
7
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
8
-
9
-
10
- Object.defineProperty(exports, "__esModule", ({
11
- value: true
12
- }));
13
- exports["default"] = isError;
14
- exports.getProperError = getProperError;
15
- var _isPlainObject = __webpack_require__(78524);
16
- function isError(err) {
17
- return typeof err === "object" && err !== null && "name" in err && "message" in err;
18
- }
19
- function getProperError(err) {
20
- if (isError(err)) {
21
- return err;
22
- }
23
- if (false) {}
24
- return new Error((0, _isPlainObject).isPlainObject(err) ? JSON.stringify(err) : err + "");
25
- }
26
-
27
- //# sourceMappingURL=is-error.js.map
28
-
29
- /***/ })
30
-
31
- };
32
- ;
@@ -1,87 +0,0 @@
1
- exports.id = 701;
2
- exports.ids = [701];
3
- exports.modules = {
4
-
5
- /***/ 7434:
6
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
7
-
8
- "use strict";
9
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10
- /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
11
- /* harmony export */ });
12
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(16689);
13
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
14
-
15
- function EmptyState({ testId = 'fs-empty-state', title, titleIcon, variant = 'default', bkgColor = 'default', children, ...otherProps }) {
16
- return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("section", { "data-fs-empty-state": true, "data-fs-empty-state-variant": variant, "data-fs-empty-state-bkg-color": bkgColor, "data-testid": testId, ...otherProps },
17
- title && (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("header", { "data-fs-empty-state-title": true },
18
- titleIcon && react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, titleIcon),
19
- react__WEBPACK_IMPORTED_MODULE_0___default().createElement("p", null, title))),
20
- children));
21
- }
22
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EmptyState);
23
- //# sourceMappingURL=EmptyState.js.map
24
-
25
- /***/ }),
26
-
27
- /***/ 13701:
28
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
29
-
30
- "use strict";
31
-
32
- // EXPORTS
33
- __webpack_require__.d(__webpack_exports__, {
34
- "Z": () => (/* reexport */ sections_EmptyState_EmptyState)
35
- });
36
-
37
- // EXTERNAL MODULE: ./src/components/sections/Section/index.ts
38
- var Section = __webpack_require__(57067);
39
- // EXTERNAL MODULE: ./src/components/sections/EmptyState/section.module.scss
40
- var section_module = __webpack_require__(96791);
41
- var section_module_default = /*#__PURE__*/__webpack_require__.n(section_module);
42
- // EXTERNAL MODULE: ../components/dist/organisms/EmptyState/EmptyState.js
43
- var EmptyState = __webpack_require__(7434);
44
- // EXTERNAL MODULE: external "react/jsx-runtime"
45
- var jsx_runtime_ = __webpack_require__(20997);
46
- ;// CONCATENATED MODULE: ./src/components/sections/EmptyState/EmptyState.tsx
47
-
48
-
49
-
50
-
51
-
52
- function EmptyState_EmptyState({
53
- title,
54
- titleIcon,
55
- children
56
- }) {
57
- return /*#__PURE__*/jsx_runtime_.jsx(Section/* default */.Z, {
58
- className: `${(section_module_default()).section} section-empty-state`,
59
- children: /*#__PURE__*/jsx_runtime_.jsx(EmptyState/* default */.Z, {
60
- title: title,
61
- titleIcon: titleIcon,
62
- bkgColor: "light",
63
- children: children
64
- })
65
- });
66
- }
67
-
68
- /* harmony default export */ const sections_EmptyState_EmptyState = (EmptyState_EmptyState);
69
- ;// CONCATENATED MODULE: ./src/components/sections/EmptyState/index.ts
70
-
71
-
72
- /***/ }),
73
-
74
- /***/ 96791:
75
- /***/ ((module) => {
76
-
77
- // Exports
78
- module.exports = {
79
- "section": "section_section__TgowL",
80
- "load": "section_load__F5rqW"
81
- };
82
-
83
-
84
- /***/ })
85
-
86
- };
87
- ;