@faststore/core 2.2.19 → 2.2.21
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/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +2 -2
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/eslint/.cache_1gneedd +1 -1
- package/.next/cache/next-server.js.nft.json +1 -1
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/required-server-files.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/350.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/[...slug].js.nft.json +1 -1
- package/.next/server/pages/[slug]/p.js.nft.json +1 -1
- package/.next/server/pages/api/graphql.js +1 -1
- package/.next/server/pages/en-US/404.html +2 -2
- package/.next/server/pages/en-US/500.html +2 -2
- package/.next/server/pages/en-US/account.html +2 -2
- package/.next/server/pages/en-US/checkout.html +2 -2
- package/.next/server/pages/en-US/login.html +2 -2
- package/.next/server/pages/en-US/s.html +2 -2
- package/.next/server/pages/en-US.html +2 -2
- package/.next/server/pages-manifest.json +4 -4
- package/.next/trace +78 -78
- package/.turbo/turbo-build.log +3 -3
- package/.turbo/turbo-test.log +11 -11
- package/package.json +10 -21
- package/.storybook/components/BestPractices.tsx +0 -18
- package/.storybook/components/BestPracticesRule.tsx +0 -43
- package/.storybook/components/Callout.tsx +0 -12
- package/.storybook/components/SectionItem.tsx +0 -46
- package/.storybook/components/SectionList.tsx +0 -27
- package/.storybook/components/TokenDivider.tsx +0 -12
- package/.storybook/components/TokenRow.tsx +0 -32
- package/.storybook/components/TokenTable.tsx +0 -33
- package/.storybook/components/index.ts +0 -8
- package/.storybook/main.js +0 -59
- package/.storybook/manager-head.html +0 -9
- package/.storybook/manager.js +0 -6
- package/.storybook/mocks/cart-sidebar.js +0 -40
- package/.storybook/mocks/filter-slider.js +0 -59
- package/.storybook/mocks/index.ts +0 -5
- package/.storybook/mocks/product.ts +0 -67
- package/.storybook/mocks/productGridItems.ts +0 -334
- package/.storybook/mocks/searchHistory.ts +0 -8
- package/.storybook/mocks/searchTerms.ts +0 -5
- package/.storybook/preview-head.html +0 -1
- package/.storybook/preview.js +0 -85
- package/.storybook/storybook.css +0 -551
- package/.storybook/theme.js +0 -21
- package/public/brandless-storybook.png +0 -0
- package/src/styles/global/storybook-components.scss +0 -5
- /package/.next/static/{eVxha-IgCjYeJHL840-Lb → l5ofCQQvVmQNWMK4ps_PJ}/_buildManifest.js +0 -0
- /package/.next/static/{eVxha-IgCjYeJHL840-Lb → l5ofCQQvVmQNWMK4ps_PJ}/_ssgManifest.js +0 -0
|
@@ -1,334 +0,0 @@
|
|
|
1
|
-
export const productGridItems = [
|
|
2
|
-
{
|
|
3
|
-
node: {
|
|
4
|
-
id: '71976307',
|
|
5
|
-
slug: 'sleek-granite-computer-71976307',
|
|
6
|
-
sku: '71976307',
|
|
7
|
-
brand: {
|
|
8
|
-
brandName: 'iRobot',
|
|
9
|
-
name: 'iRobot',
|
|
10
|
-
},
|
|
11
|
-
name: 'indigo',
|
|
12
|
-
gtin: '6128632395521',
|
|
13
|
-
isVariantOf: {
|
|
14
|
-
productGroupID: '67864306',
|
|
15
|
-
name: 'Sleek Granite Computer',
|
|
16
|
-
},
|
|
17
|
-
image: [
|
|
18
|
-
{
|
|
19
|
-
url: 'https://storeframework.vtexassets.com/arquivos/ids/155594/sed.jpg?v=637752875201000000',
|
|
20
|
-
alternateName: 'reprehenderit',
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
offers: {
|
|
24
|
-
lowPrice: 408.71,
|
|
25
|
-
offers: [
|
|
26
|
-
{
|
|
27
|
-
availability: 'https://schema.org/InStock',
|
|
28
|
-
price: 408.71,
|
|
29
|
-
listPrice: 577.61,
|
|
30
|
-
quantity: 10000,
|
|
31
|
-
seller: {
|
|
32
|
-
identifier: '1',
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
],
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
node: {
|
|
41
|
-
id: '36611699',
|
|
42
|
-
slug: 'ergonomic-fresh-computer-36611699',
|
|
43
|
-
sku: '36611699',
|
|
44
|
-
brand: {
|
|
45
|
-
brandName: 'adidas',
|
|
46
|
-
name: 'adidas',
|
|
47
|
-
},
|
|
48
|
-
name: 'purple',
|
|
49
|
-
gtin: '5054932586657',
|
|
50
|
-
isVariantOf: {
|
|
51
|
-
productGroupID: '68344729',
|
|
52
|
-
name: 'Ergonomic Fresh Computer',
|
|
53
|
-
},
|
|
54
|
-
image: [
|
|
55
|
-
{
|
|
56
|
-
url: 'https://storeframework.vtexassets.com/arquivos/ids/161681/similique.jpg?v=637752930786500000',
|
|
57
|
-
alternateName: 'suscipit',
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
url: 'https://storeframework.vtexassets.com/arquivos/ids/161678/et.jpg?v=637752930773370000',
|
|
61
|
-
alternateName: 'quia',
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
url: 'https://storeframework.vtexassets.com/arquivos/ids/161679/ipsum.jpg?v=637752930778700000',
|
|
65
|
-
alternateName: 'in',
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
url: 'https://storeframework.vtexassets.com/arquivos/ids/161680/sequi.jpg?v=637752930782730000',
|
|
69
|
-
alternateName: 'ad',
|
|
70
|
-
},
|
|
71
|
-
],
|
|
72
|
-
offers: {
|
|
73
|
-
lowPrice: 617.53,
|
|
74
|
-
offers: [
|
|
75
|
-
{
|
|
76
|
-
availability: 'https://schema.org/InStock',
|
|
77
|
-
price: 617.53,
|
|
78
|
-
listPrice: 859.85,
|
|
79
|
-
quantity: 10000,
|
|
80
|
-
seller: {
|
|
81
|
-
identifier: '1',
|
|
82
|
-
},
|
|
83
|
-
},
|
|
84
|
-
],
|
|
85
|
-
},
|
|
86
|
-
},
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
node: {
|
|
90
|
-
id: '78095639',
|
|
91
|
-
slug: 'generic-steel-computer-78095639',
|
|
92
|
-
sku: '78095639',
|
|
93
|
-
brand: {
|
|
94
|
-
brandName: 'adidas',
|
|
95
|
-
name: 'adidas',
|
|
96
|
-
},
|
|
97
|
-
name: 'pink',
|
|
98
|
-
gtin: '5164179323676',
|
|
99
|
-
isVariantOf: {
|
|
100
|
-
productGroupID: '7526630',
|
|
101
|
-
name: 'Generic Steel Computer',
|
|
102
|
-
},
|
|
103
|
-
image: [
|
|
104
|
-
{
|
|
105
|
-
url: 'https://storeframework.vtexassets.com/arquivos/ids/162122/dolor.jpg?v=637752934689100000',
|
|
106
|
-
alternateName: 'optio',
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
url: 'https://storeframework.vtexassets.com/arquivos/ids/162121/ea.jpg?v=637752934685970000',
|
|
110
|
-
alternateName: 'qui',
|
|
111
|
-
},
|
|
112
|
-
],
|
|
113
|
-
offers: {
|
|
114
|
-
lowPrice: 383.91,
|
|
115
|
-
offers: [
|
|
116
|
-
{
|
|
117
|
-
availability: 'https://schema.org/InStock',
|
|
118
|
-
price: 383.91,
|
|
119
|
-
listPrice: 562.62,
|
|
120
|
-
quantity: 10000,
|
|
121
|
-
seller: {
|
|
122
|
-
identifier: '1',
|
|
123
|
-
},
|
|
124
|
-
},
|
|
125
|
-
],
|
|
126
|
-
},
|
|
127
|
-
},
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
node: {
|
|
131
|
-
id: '39542524',
|
|
132
|
-
slug: 'tasty-concrete-computer-39542524',
|
|
133
|
-
sku: '39542524',
|
|
134
|
-
brand: {
|
|
135
|
-
brandName: 'iRobot',
|
|
136
|
-
name: 'iRobot',
|
|
137
|
-
},
|
|
138
|
-
name: 'pink',
|
|
139
|
-
gtin: '0001078884042',
|
|
140
|
-
isVariantOf: {
|
|
141
|
-
productGroupID: '99483893',
|
|
142
|
-
name: 'Tasty Concrete Computer',
|
|
143
|
-
},
|
|
144
|
-
image: [
|
|
145
|
-
{
|
|
146
|
-
url: 'https://storeframework.vtexassets.com/arquivos/ids/165082/sed.jpg?v=637752996157770000',
|
|
147
|
-
alternateName: 'accusamus',
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
url: 'https://storeframework.vtexassets.com/arquivos/ids/165079/quis.jpg?v=637752996135400000',
|
|
151
|
-
alternateName: 'dolorem',
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
url: 'https://storeframework.vtexassets.com/arquivos/ids/165080/tempora.jpg?v=637752996141030000',
|
|
155
|
-
alternateName: 'enim',
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
url: 'https://storeframework.vtexassets.com/arquivos/ids/165081/est.jpg?v=637752996144600000',
|
|
159
|
-
alternateName: 'ea',
|
|
160
|
-
},
|
|
161
|
-
],
|
|
162
|
-
offers: {
|
|
163
|
-
lowPrice: 656.5,
|
|
164
|
-
offers: [
|
|
165
|
-
{
|
|
166
|
-
availability: 'https://schema.org/InStock',
|
|
167
|
-
price: 656.5,
|
|
168
|
-
listPrice: 892.43,
|
|
169
|
-
quantity: 10000,
|
|
170
|
-
seller: {
|
|
171
|
-
identifier: '1',
|
|
172
|
-
},
|
|
173
|
-
},
|
|
174
|
-
],
|
|
175
|
-
},
|
|
176
|
-
},
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
node: {
|
|
180
|
-
id: '68237302',
|
|
181
|
-
slug: 'refined-metal-computer-68237302',
|
|
182
|
-
sku: '68237302',
|
|
183
|
-
brand: {
|
|
184
|
-
brandName: 'Acer',
|
|
185
|
-
name: 'Acer',
|
|
186
|
-
},
|
|
187
|
-
name: 'sky blue',
|
|
188
|
-
gtin: '8985861454535',
|
|
189
|
-
isVariantOf: {
|
|
190
|
-
productGroupID: '70710833',
|
|
191
|
-
name: 'Refined Metal Computer',
|
|
192
|
-
},
|
|
193
|
-
image: [
|
|
194
|
-
{
|
|
195
|
-
url: 'https://storeframework.vtexassets.com/arquivos/ids/170491/vero.jpg?v=637753049086730000',
|
|
196
|
-
alternateName: 'labore',
|
|
197
|
-
},
|
|
198
|
-
],
|
|
199
|
-
offers: {
|
|
200
|
-
lowPrice: 253.07,
|
|
201
|
-
offers: [
|
|
202
|
-
{
|
|
203
|
-
availability: 'https://schema.org/InStock',
|
|
204
|
-
price: 253.07,
|
|
205
|
-
listPrice: 388.35,
|
|
206
|
-
quantity: 10000,
|
|
207
|
-
seller: {
|
|
208
|
-
identifier: '1',
|
|
209
|
-
},
|
|
210
|
-
},
|
|
211
|
-
],
|
|
212
|
-
},
|
|
213
|
-
},
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
node: {
|
|
217
|
-
id: '44903104',
|
|
218
|
-
slug: 'handmade-granite-computer-unbranded-44903104',
|
|
219
|
-
sku: '44903104',
|
|
220
|
-
brand: {
|
|
221
|
-
brandName: 'adidas',
|
|
222
|
-
name: 'adidas',
|
|
223
|
-
},
|
|
224
|
-
name: 'red',
|
|
225
|
-
gtin: '8169125134781',
|
|
226
|
-
isVariantOf: {
|
|
227
|
-
productGroupID: '48182547',
|
|
228
|
-
name: 'Handmade Granite Computer Unbranded',
|
|
229
|
-
},
|
|
230
|
-
image: [
|
|
231
|
-
{
|
|
232
|
-
url: 'https://storeframework.vtexassets.com/arquivos/ids/184304/a.jpg?v=637755547736000000',
|
|
233
|
-
alternateName: 'impedit',
|
|
234
|
-
},
|
|
235
|
-
],
|
|
236
|
-
offers: {
|
|
237
|
-
lowPrice: 362.36,
|
|
238
|
-
offers: [
|
|
239
|
-
{
|
|
240
|
-
availability: 'https://schema.org/InStock',
|
|
241
|
-
price: 362.36,
|
|
242
|
-
listPrice: 537.5,
|
|
243
|
-
quantity: 10000,
|
|
244
|
-
seller: {
|
|
245
|
-
identifier: '1',
|
|
246
|
-
},
|
|
247
|
-
},
|
|
248
|
-
],
|
|
249
|
-
},
|
|
250
|
-
},
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
node: {
|
|
254
|
-
id: '96175310',
|
|
255
|
-
slug: 'small-cotton-cheese-3325400227651-96175310',
|
|
256
|
-
sku: '96175310',
|
|
257
|
-
brand: {
|
|
258
|
-
brandName: 'Acer',
|
|
259
|
-
name: 'Acer',
|
|
260
|
-
},
|
|
261
|
-
name: 'olive',
|
|
262
|
-
gtin: '8277738323492',
|
|
263
|
-
isVariantOf: {
|
|
264
|
-
productGroupID: '8172115',
|
|
265
|
-
name: 'Small Cotton Cheese',
|
|
266
|
-
},
|
|
267
|
-
image: [
|
|
268
|
-
{
|
|
269
|
-
url: 'https://storeframework.vtexassets.com/arquivos/ids/178292/ea.jpg?v=637755492251130000',
|
|
270
|
-
alternateName: 'debitis',
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
url: 'https://storeframework.vtexassets.com/arquivos/ids/178290/voluptatum.jpg?v=637755492245200000',
|
|
274
|
-
alternateName: 'et',
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
url: 'https://storeframework.vtexassets.com/arquivos/ids/178291/non.jpg?v=637755492248300000',
|
|
278
|
-
alternateName: 'itaque',
|
|
279
|
-
},
|
|
280
|
-
],
|
|
281
|
-
offers: {
|
|
282
|
-
lowPrice: 247.01,
|
|
283
|
-
offers: [
|
|
284
|
-
{
|
|
285
|
-
availability: 'https://schema.org/InStock',
|
|
286
|
-
price: 247.01,
|
|
287
|
-
listPrice: 339.21,
|
|
288
|
-
quantity: 10000,
|
|
289
|
-
seller: {
|
|
290
|
-
identifier: '1',
|
|
291
|
-
},
|
|
292
|
-
},
|
|
293
|
-
],
|
|
294
|
-
},
|
|
295
|
-
},
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
node: {
|
|
299
|
-
id: '12405783',
|
|
300
|
-
slug: 'tasty-frozen-tuna-handmade-12405783',
|
|
301
|
-
sku: '12405783',
|
|
302
|
-
brand: {
|
|
303
|
-
brandName: 'adidas',
|
|
304
|
-
name: 'adidas',
|
|
305
|
-
},
|
|
306
|
-
name: 'fuchsia',
|
|
307
|
-
gtin: '6486061707855',
|
|
308
|
-
isVariantOf: {
|
|
309
|
-
productGroupID: '31264637',
|
|
310
|
-
name: 'Tasty Frozen Tuna Handmade',
|
|
311
|
-
},
|
|
312
|
-
image: [
|
|
313
|
-
{
|
|
314
|
-
url: 'https://storeframework.vtexassets.com/arquivos/ids/190604/vel.jpg?v=637755602570270000',
|
|
315
|
-
alternateName: 'ipsam',
|
|
316
|
-
},
|
|
317
|
-
],
|
|
318
|
-
offers: {
|
|
319
|
-
lowPrice: 1.37,
|
|
320
|
-
offers: [
|
|
321
|
-
{
|
|
322
|
-
availability: 'https://schema.org/InStock',
|
|
323
|
-
price: 1.37,
|
|
324
|
-
listPrice: 2.01,
|
|
325
|
-
quantity: 10000,
|
|
326
|
-
seller: {
|
|
327
|
-
identifier: '1',
|
|
328
|
-
},
|
|
329
|
-
},
|
|
330
|
-
],
|
|
331
|
-
},
|
|
332
|
-
},
|
|
333
|
-
},
|
|
334
|
-
]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap" />
|
package/.storybook/preview.js
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import '!style-loader!css-loader!sass-loader!../src/styles/global/storybook-components.scss'
|
|
2
|
-
import { initialize, mswDecorator } from 'msw-storybook-addon'
|
|
3
|
-
|
|
4
|
-
// Initialize MSW
|
|
5
|
-
initialize()
|
|
6
|
-
|
|
7
|
-
import SBTheme from './theme'
|
|
8
|
-
|
|
9
|
-
// Provide the MSW addon decorator globally
|
|
10
|
-
export const decorators = [mswDecorator]
|
|
11
|
-
|
|
12
|
-
// Viewports from src/styles/vendors/include-media_overwrite.scss
|
|
13
|
-
const customViewports = {
|
|
14
|
-
phone: {
|
|
15
|
-
name: 'Phone',
|
|
16
|
-
styles: {
|
|
17
|
-
width: '320px',
|
|
18
|
-
height: '480px',
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
phonemid: {
|
|
22
|
-
name: 'PhoneMid',
|
|
23
|
-
styles: {
|
|
24
|
-
width: '375px',
|
|
25
|
-
height: '667px',
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
tablet: {
|
|
29
|
-
name: 'Tablet',
|
|
30
|
-
styles: {
|
|
31
|
-
width: '768px',
|
|
32
|
-
height: '1024px',
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
notebook: {
|
|
36
|
-
name: 'Notebook',
|
|
37
|
-
styles: {
|
|
38
|
-
width: '1280px',
|
|
39
|
-
height: '960px',
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
desktop: {
|
|
43
|
-
name: 'Desktop',
|
|
44
|
-
styles: {
|
|
45
|
-
width: '1440px',
|
|
46
|
-
height: '1024px',
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export const parameters = {
|
|
52
|
-
actions: { disable: true, argTypesRegex: '^on[A-Z].*' },
|
|
53
|
-
controls: {
|
|
54
|
-
theme: SBTheme,
|
|
55
|
-
},
|
|
56
|
-
docs: {
|
|
57
|
-
theme: SBTheme,
|
|
58
|
-
},
|
|
59
|
-
viewMode: 'docs',
|
|
60
|
-
previewTabs: {
|
|
61
|
-
'storybook/docs/panel': {},
|
|
62
|
-
canvas: { title: 'Sandbox' },
|
|
63
|
-
},
|
|
64
|
-
viewport: {
|
|
65
|
-
viewports: customViewports,
|
|
66
|
-
},
|
|
67
|
-
options: {
|
|
68
|
-
showToolbar: true,
|
|
69
|
-
storySort: {
|
|
70
|
-
method: 'alphabetical',
|
|
71
|
-
order: [
|
|
72
|
-
'Getting Started',
|
|
73
|
-
'Theming',
|
|
74
|
-
'Global Tokens',
|
|
75
|
-
'Media',
|
|
76
|
-
['Colors', 'Typography', 'Spacing', 'Grid & Layout'],
|
|
77
|
-
'Atoms',
|
|
78
|
-
'Molecules',
|
|
79
|
-
'Organisms',
|
|
80
|
-
'Features',
|
|
81
|
-
'Releases',
|
|
82
|
-
],
|
|
83
|
-
},
|
|
84
|
-
},
|
|
85
|
-
}
|