figma-to-code-agent 0.3.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 (166) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/LICENSE +21 -0
  3. package/QUICKSTART.md +198 -0
  4. package/README.md +149 -0
  5. package/dist/FigmaToCodeAgent.d.ts +55 -0
  6. package/dist/FigmaToCodeAgent.d.ts.map +1 -0
  7. package/dist/FigmaToCodeAgent.js +251 -0
  8. package/dist/FigmaToCodeAgent.js.map +1 -0
  9. package/dist/assets/index.d.ts +6 -0
  10. package/dist/assets/index.d.ts.map +1 -0
  11. package/dist/assets/index.js +7 -0
  12. package/dist/assets/index.js.map +1 -0
  13. package/dist/cli.d.ts +3 -0
  14. package/dist/cli.d.ts.map +1 -0
  15. package/dist/cli.js +261 -0
  16. package/dist/cli.js.map +1 -0
  17. package/dist/extraction/FigmaAPIClient.d.ts +53 -0
  18. package/dist/extraction/FigmaAPIClient.d.ts.map +1 -0
  19. package/dist/extraction/FigmaAPIClient.js +275 -0
  20. package/dist/extraction/FigmaAPIClient.js.map +1 -0
  21. package/dist/extraction/FigmaCache.d.ts +28 -0
  22. package/dist/extraction/FigmaCache.d.ts.map +1 -0
  23. package/dist/extraction/FigmaCache.js +120 -0
  24. package/dist/extraction/FigmaCache.js.map +1 -0
  25. package/dist/extraction/MCPClient.d.ts +75 -0
  26. package/dist/extraction/MCPClient.d.ts.map +1 -0
  27. package/dist/extraction/MCPClient.js +254 -0
  28. package/dist/extraction/MCPClient.js.map +1 -0
  29. package/dist/extraction/index.d.ts +9 -0
  30. package/dist/extraction/index.d.ts.map +1 -0
  31. package/dist/extraction/index.js +27 -0
  32. package/dist/extraction/index.js.map +1 -0
  33. package/dist/extraction/types.d.ts +122 -0
  34. package/dist/extraction/types.d.ts.map +1 -0
  35. package/dist/extraction/types.js +6 -0
  36. package/dist/extraction/types.js.map +1 -0
  37. package/dist/generation/AICodeOptimizer.d.ts +10 -0
  38. package/dist/generation/AICodeOptimizer.d.ts.map +1 -0
  39. package/dist/generation/AICodeOptimizer.js +33 -0
  40. package/dist/generation/AICodeOptimizer.js.map +1 -0
  41. package/dist/generation/ReactGenerator.d.ts +27 -0
  42. package/dist/generation/ReactGenerator.d.ts.map +1 -0
  43. package/dist/generation/ReactGenerator.js +423 -0
  44. package/dist/generation/ReactGenerator.js.map +1 -0
  45. package/dist/generation/VueGenerator.d.ts +23 -0
  46. package/dist/generation/VueGenerator.d.ts.map +1 -0
  47. package/dist/generation/VueGenerator.js +337 -0
  48. package/dist/generation/VueGenerator.js.map +1 -0
  49. package/dist/generation/index.d.ts +6 -0
  50. package/dist/generation/index.d.ts.map +1 -0
  51. package/dist/generation/index.js +7 -0
  52. package/dist/generation/index.js.map +1 -0
  53. package/dist/generation/types.d.ts +24 -0
  54. package/dist/generation/types.d.ts.map +1 -0
  55. package/dist/generation/types.js +3 -0
  56. package/dist/generation/types.js.map +1 -0
  57. package/dist/index.d.ts +10 -0
  58. package/dist/index.d.ts.map +1 -0
  59. package/dist/index.js +17 -0
  60. package/dist/index.js.map +1 -0
  61. package/dist/llm/BedrockProvider.d.ts +8 -0
  62. package/dist/llm/BedrockProvider.d.ts.map +1 -0
  63. package/dist/llm/BedrockProvider.js +34 -0
  64. package/dist/llm/BedrockProvider.js.map +1 -0
  65. package/dist/llm/LLMFactory.d.ts +5 -0
  66. package/dist/llm/LLMFactory.d.ts.map +1 -0
  67. package/dist/llm/LLMFactory.js +21 -0
  68. package/dist/llm/LLMFactory.js.map +1 -0
  69. package/dist/llm/OpenAIProvider.d.ts +7 -0
  70. package/dist/llm/OpenAIProvider.d.ts.map +1 -0
  71. package/dist/llm/OpenAIProvider.js +34 -0
  72. package/dist/llm/OpenAIProvider.js.map +1 -0
  73. package/dist/llm/index.d.ts +5 -0
  74. package/dist/llm/index.d.ts.map +1 -0
  75. package/dist/llm/index.js +21 -0
  76. package/dist/llm/index.js.map +1 -0
  77. package/dist/llm/types.d.ts +23 -0
  78. package/dist/llm/types.d.ts.map +1 -0
  79. package/dist/llm/types.js +3 -0
  80. package/dist/llm/types.js.map +1 -0
  81. package/dist/transformation/ASTFactory.d.ts +92 -0
  82. package/dist/transformation/ASTFactory.d.ts.map +1 -0
  83. package/dist/transformation/ASTFactory.js +240 -0
  84. package/dist/transformation/ASTFactory.js.map +1 -0
  85. package/dist/transformation/ASTParser.d.ts +13 -0
  86. package/dist/transformation/ASTParser.d.ts.map +1 -0
  87. package/dist/transformation/ASTParser.js +177 -0
  88. package/dist/transformation/ASTParser.js.map +1 -0
  89. package/dist/transformation/TransformationPipeline.d.ts +31 -0
  90. package/dist/transformation/TransformationPipeline.d.ts.map +1 -0
  91. package/dist/transformation/TransformationPipeline.js +42 -0
  92. package/dist/transformation/TransformationPipeline.js.map +1 -0
  93. package/dist/transformation/index.d.ts +7 -0
  94. package/dist/transformation/index.d.ts.map +1 -0
  95. package/dist/transformation/index.js +25 -0
  96. package/dist/transformation/index.js.map +1 -0
  97. package/dist/transformation/transformers/AIComponentSplitter.d.ts +14 -0
  98. package/dist/transformation/transformers/AIComponentSplitter.d.ts.map +1 -0
  99. package/dist/transformation/transformers/AIComponentSplitter.js +71 -0
  100. package/dist/transformation/transformers/AIComponentSplitter.js.map +1 -0
  101. package/dist/transformation/transformers/AILayoutAnalyzer.d.ts +18 -0
  102. package/dist/transformation/transformers/AILayoutAnalyzer.d.ts.map +1 -0
  103. package/dist/transformation/transformers/AILayoutAnalyzer.js +125 -0
  104. package/dist/transformation/transformers/AILayoutAnalyzer.js.map +1 -0
  105. package/dist/transformation/transformers/AISemanticNamer.d.ts +12 -0
  106. package/dist/transformation/transformers/AISemanticNamer.d.ts.map +1 -0
  107. package/dist/transformation/transformers/AISemanticNamer.js +50 -0
  108. package/dist/transformation/transformers/AISemanticNamer.js.map +1 -0
  109. package/dist/transformation/transformers/ComponentExtractor.d.ts +16 -0
  110. package/dist/transformation/transformers/ComponentExtractor.d.ts.map +1 -0
  111. package/dist/transformation/transformers/ComponentExtractor.js +91 -0
  112. package/dist/transformation/transformers/ComponentExtractor.js.map +1 -0
  113. package/dist/transformation/transformers/FigmaLayerPreserver.d.ts +14 -0
  114. package/dist/transformation/transformers/FigmaLayerPreserver.d.ts.map +1 -0
  115. package/dist/transformation/transformers/FigmaLayerPreserver.js +48 -0
  116. package/dist/transformation/transformers/FigmaLayerPreserver.js.map +1 -0
  117. package/dist/transformation/transformers/FigmaStructureOptimizer.d.ts +16 -0
  118. package/dist/transformation/transformers/FigmaStructureOptimizer.d.ts.map +1 -0
  119. package/dist/transformation/transformers/FigmaStructureOptimizer.js +65 -0
  120. package/dist/transformation/transformers/FigmaStructureOptimizer.js.map +1 -0
  121. package/dist/transformation/transformers/FlattenTransformer.d.ts +15 -0
  122. package/dist/transformation/transformers/FlattenTransformer.d.ts.map +1 -0
  123. package/dist/transformation/transformers/FlattenTransformer.js +69 -0
  124. package/dist/transformation/transformers/FlattenTransformer.js.map +1 -0
  125. package/dist/transformation/transformers/LayoutOptimizer.d.ts +15 -0
  126. package/dist/transformation/transformers/LayoutOptimizer.d.ts.map +1 -0
  127. package/dist/transformation/transformers/LayoutOptimizer.js +63 -0
  128. package/dist/transformation/transformers/LayoutOptimizer.js.map +1 -0
  129. package/dist/transformation/transformers/SemanticNamer.d.ts +14 -0
  130. package/dist/transformation/transformers/SemanticNamer.d.ts.map +1 -0
  131. package/dist/transformation/transformers/SemanticNamer.js +65 -0
  132. package/dist/transformation/transformers/SemanticNamer.js.map +1 -0
  133. package/dist/transformation/transformers/SimplifyTransformer.d.ts +23 -0
  134. package/dist/transformation/transformers/SimplifyTransformer.d.ts.map +1 -0
  135. package/dist/transformation/transformers/SimplifyTransformer.js +138 -0
  136. package/dist/transformation/transformers/SimplifyTransformer.js.map +1 -0
  137. package/dist/transformation/types.d.ts +129 -0
  138. package/dist/transformation/types.d.ts.map +1 -0
  139. package/dist/transformation/types.js +7 -0
  140. package/dist/transformation/types.js.map +1 -0
  141. package/dist/validation/index.d.ts +6 -0
  142. package/dist/validation/index.d.ts.map +1 -0
  143. package/dist/validation/index.js +7 -0
  144. package/dist/validation/index.js.map +1 -0
  145. package/package.json +81 -0
  146. package/test-app/test-react/index.html +19 -0
  147. package/test-app/test-react/package.json +16 -0
  148. package/test-app/test-react/src/Component.jsx +146 -0
  149. package/test-app/test-react/src/Component.module.css +572 -0
  150. package/test-app/test-react/src/Homepage.jsx +53 -0
  151. package/test-app/test-react/src/Homepage.module.css +218 -0
  152. package/test-app/test-react/src/ProductPage.jsx +74 -0
  153. package/test-app/test-react/src/ProductPage.module.css +357 -0
  154. package/test-app/test-react/src/ShoppingCart.jsx +151 -0
  155. package/test-app/test-react/src/ShoppingCart.module.css +739 -0
  156. package/test-app/test-react/src/main.jsx +9 -0
  157. package/test-app/test-react/vite.config.js +6 -0
  158. package/test-app/test-vue/index.html +19 -0
  159. package/test-app/test-vue/package.json +15 -0
  160. package/test-app/test-vue/src/App.vue +16 -0
  161. package/test-app/test-vue/src/Component.vue +723 -0
  162. package/test-app/test-vue/src/Homepage.vue +271 -0
  163. package/test-app/test-vue/src/ProductPage.vue +431 -0
  164. package/test-app/test-vue/src/ShoppingCart.vue +890 -0
  165. package/test-app/test-vue/src/main.js +4 -0
  166. package/test-app/test-vue/vite.config.js +6 -0
@@ -0,0 +1,739 @@
1
+ .shopping-cart {
2
+ position: relative;
3
+ max-width: 1440px;
4
+ margin: 0 auto;
5
+ height: 1024px;
6
+ background-color: rgba(255, 255, 255, 1);
7
+ }
8
+
9
+ .tomato {
10
+ position: absolute;
11
+ left: 96px;
12
+ top: 301px;
13
+ width: 821px;
14
+ height: 159px;
15
+ overflow: hidden;
16
+ background-color: rgba(250, 250, 245, 1);
17
+ border-radius: 24px;
18
+ }
19
+
20
+ .heirloom-tomato {
21
+ position: absolute;
22
+ left: 184px;
23
+ top: 24px;
24
+ width: 162px;
25
+ height: 26px;
26
+ font-family: 'Inter', sans-serif;
27
+ font-size: 20px;
28
+ font-weight: 600;
29
+ line-height: 26px;
30
+ text-align: left;
31
+ white-space: nowrap;
32
+ color: rgba(0, 0, 0, 1);
33
+ }
34
+
35
+ .element {
36
+ position: absolute;
37
+ left: 740px;
38
+ top: 24px;
39
+ width: 57px;
40
+ height: 26px;
41
+ font-family: 'Inter', sans-serif;
42
+ font-size: 20px;
43
+ font-weight: 600;
44
+ line-height: 26px;
45
+ text-align: right;
46
+ white-space: nowrap;
47
+ color: rgba(0, 0, 0, 1);
48
+ }
49
+
50
+ .lb {
51
+ position: absolute;
52
+ left: 184px;
53
+ top: 54px;
54
+ width: 92px;
55
+ height: 26px;
56
+ font-family: 'Inter', sans-serif;
57
+ font-size: 20px;
58
+ font-weight: 600;
59
+ line-height: 26px;
60
+ text-align: left;
61
+ white-space: nowrap;
62
+ color: rgba(66, 107, 31, 1);
63
+ }
64
+
65
+ .input-field {
66
+ position: absolute;
67
+ left: 184px;
68
+ top: 95px;
69
+ width: 128px;
70
+ height: 40px;
71
+ overflow: hidden;
72
+ background-color: rgba(255, 255, 255, 1);
73
+ border-radius: 20px;
74
+ }
75
+
76
+ .lb-1 {
77
+ position: absolute;
78
+ left: 16px;
79
+ top: 10px;
80
+ width: 26px;
81
+ height: 21px;
82
+ font-family: 'Inter', sans-serif;
83
+ font-size: 16px;
84
+ font-weight: 600;
85
+ line-height: 21px;
86
+ text-align: left;
87
+ white-space: nowrap;
88
+ color: rgba(0, 0, 0, 1);
89
+ }
90
+
91
+ .icon {
92
+ position: absolute;
93
+ left: 88px;
94
+ top: 4px;
95
+ width: 32px;
96
+ height: 32px;
97
+ overflow: hidden;
98
+ }
99
+
100
+ .union {
101
+ position: absolute;
102
+ left: 8px;
103
+ top: 8px;
104
+ width: 16px;
105
+ height: 16px;
106
+ overflow: hidden;
107
+ background-color: rgba(109, 109, 109, 1);
108
+ }
109
+
110
+ .union-1 {
111
+ position: absolute;
112
+ left: -2px;
113
+ top: -1px;
114
+ width: 19px;
115
+ height: 19px;
116
+ overflow: hidden;
117
+ }
118
+
119
+ .rectangle4 {
120
+ position: absolute;
121
+ left: 3px;
122
+ top: 0px;
123
+ width: 16px;
124
+ height: 16px;
125
+ background-color: rgba(255, 0, 255, 1);
126
+ }
127
+
128
+ .rectangle5 {
129
+ position: absolute;
130
+ left: 0px;
131
+ top: 12px;
132
+ width: 7px;
133
+ height: 7px;
134
+ background-color: rgba(255, 0, 255, 1);
135
+ }
136
+
137
+ .ed-oneil {
138
+ position: absolute;
139
+ left: 0px;
140
+ top: 0px;
141
+ width: 160px;
142
+ height: 160px;
143
+ object-fit: cover;
144
+ display: block;
145
+ }
146
+
147
+ .ginger {
148
+ position: absolute;
149
+ left: 96px;
150
+ top: 491px;
151
+ width: 821px;
152
+ height: 159px;
153
+ overflow: hidden;
154
+ background-color: rgba(250, 250, 245, 1);
155
+ border-radius: 24px;
156
+ }
157
+
158
+ .organic-ginger {
159
+ position: absolute;
160
+ left: 184px;
161
+ top: 24px;
162
+ width: 144px;
163
+ height: 26px;
164
+ font-family: 'Inter', sans-serif;
165
+ font-size: 20px;
166
+ font-weight: 600;
167
+ line-height: 26px;
168
+ text-align: left;
169
+ white-space: nowrap;
170
+ color: rgba(0, 0, 0, 1);
171
+ }
172
+
173
+ .lb-2 {
174
+ position: absolute;
175
+ left: 184px;
176
+ top: 54px;
177
+ width: 102px;
178
+ height: 26px;
179
+ font-family: 'Inter', sans-serif;
180
+ font-size: 20px;
181
+ font-weight: 600;
182
+ line-height: 26px;
183
+ text-align: left;
184
+ white-space: nowrap;
185
+ color: rgba(66, 107, 31, 1);
186
+ }
187
+
188
+ .input-field-1 {
189
+ position: absolute;
190
+ left: 184px;
191
+ top: 95px;
192
+ width: 128px;
193
+ height: 40px;
194
+ overflow: hidden;
195
+ background-color: rgba(255, 255, 255, 1);
196
+ border-radius: 20px;
197
+ }
198
+
199
+ .lb-3 {
200
+ position: absolute;
201
+ left: 16px;
202
+ top: 10px;
203
+ width: 44px;
204
+ height: 21px;
205
+ font-family: 'Inter', sans-serif;
206
+ font-size: 16px;
207
+ font-weight: 700;
208
+ line-height: 21px;
209
+ text-align: left;
210
+ white-space: nowrap;
211
+ color: rgba(0, 0, 0, 1);
212
+ }
213
+
214
+ .icon-1 {
215
+ position: absolute;
216
+ left: 88px;
217
+ top: 4px;
218
+ width: 32px;
219
+ height: 32px;
220
+ overflow: hidden;
221
+ }
222
+
223
+ .union-2 {
224
+ position: absolute;
225
+ left: 8px;
226
+ top: 8px;
227
+ width: 16px;
228
+ height: 16px;
229
+ overflow: hidden;
230
+ background-color: rgba(109, 109, 109, 1);
231
+ }
232
+
233
+ .union-3 {
234
+ position: absolute;
235
+ left: -2px;
236
+ top: -1px;
237
+ width: 19px;
238
+ height: 19px;
239
+ overflow: hidden;
240
+ }
241
+
242
+ .rectangle4-1 {
243
+ position: absolute;
244
+ left: 3px;
245
+ top: 0px;
246
+ width: 16px;
247
+ height: 16px;
248
+ background-color: rgba(255, 0, 255, 1);
249
+ }
250
+
251
+ .rectangle5-1 {
252
+ position: absolute;
253
+ left: 0px;
254
+ top: 12px;
255
+ width: 7px;
256
+ height: 7px;
257
+ background-color: rgba(255, 0, 255, 1);
258
+ }
259
+
260
+ .element-1 {
261
+ position: absolute;
262
+ left: 740px;
263
+ top: 24px;
264
+ width: 57px;
265
+ height: 26px;
266
+ font-family: 'Inter', sans-serif;
267
+ font-size: 20px;
268
+ font-weight: 600;
269
+ line-height: 26px;
270
+ text-align: right;
271
+ white-space: nowrap;
272
+ color: rgba(0, 0, 0, 1);
273
+ }
274
+
275
+ .noonbrew-zicb4ekmak {
276
+ position: absolute;
277
+ left: 0px;
278
+ top: 0px;
279
+ width: 160px;
280
+ height: 160px;
281
+ object-fit: cover;
282
+ display: block;
283
+ }
284
+
285
+ .onion {
286
+ position: absolute;
287
+ left: 96px;
288
+ top: 681px;
289
+ width: 821px;
290
+ height: 159px;
291
+ overflow: hidden;
292
+ background-color: rgba(250, 250, 245, 1);
293
+ border-radius: 24px;
294
+ }
295
+
296
+ .sweet-onion {
297
+ position: absolute;
298
+ left: 184px;
299
+ top: 24px;
300
+ width: 120px;
301
+ height: 26px;
302
+ font-family: 'Inter', sans-serif;
303
+ font-size: 20px;
304
+ font-weight: 600;
305
+ line-height: 26px;
306
+ text-align: left;
307
+ white-space: nowrap;
308
+ color: rgba(0, 0, 0, 1);
309
+ }
310
+
311
+ .lb-4 {
312
+ position: absolute;
313
+ left: 184px;
314
+ top: 54px;
315
+ width: 93px;
316
+ height: 26px;
317
+ font-family: 'Inter', sans-serif;
318
+ font-size: 20px;
319
+ font-weight: 600;
320
+ line-height: 26px;
321
+ text-align: left;
322
+ white-space: nowrap;
323
+ color: rgba(66, 107, 31, 1);
324
+ }
325
+
326
+ .input-field-2 {
327
+ position: absolute;
328
+ left: 184px;
329
+ top: 95px;
330
+ width: 128px;
331
+ height: 40px;
332
+ overflow: hidden;
333
+ background-color: rgba(255, 255, 255, 1);
334
+ border-radius: 20px;
335
+ }
336
+
337
+ .lb-5 {
338
+ position: absolute;
339
+ left: 16px;
340
+ top: 10px;
341
+ width: 29px;
342
+ height: 21px;
343
+ font-family: 'Inter', sans-serif;
344
+ font-size: 16px;
345
+ font-weight: 700;
346
+ line-height: 21px;
347
+ text-align: left;
348
+ white-space: nowrap;
349
+ color: rgba(0, 0, 0, 1);
350
+ }
351
+
352
+ .icon-2 {
353
+ position: absolute;
354
+ left: 88px;
355
+ top: 4px;
356
+ width: 32px;
357
+ height: 32px;
358
+ overflow: hidden;
359
+ }
360
+
361
+ .union-4 {
362
+ position: absolute;
363
+ left: 8px;
364
+ top: 8px;
365
+ width: 16px;
366
+ height: 16px;
367
+ overflow: hidden;
368
+ background-color: rgba(109, 109, 109, 1);
369
+ }
370
+
371
+ .union-5 {
372
+ position: absolute;
373
+ left: -2px;
374
+ top: -1px;
375
+ width: 19px;
376
+ height: 19px;
377
+ overflow: hidden;
378
+ }
379
+
380
+ .rectangle4-2 {
381
+ position: absolute;
382
+ left: 3px;
383
+ top: 0px;
384
+ width: 16px;
385
+ height: 16px;
386
+ background-color: rgba(255, 0, 255, 1);
387
+ }
388
+
389
+ .rectangle5-2 {
390
+ position: absolute;
391
+ left: 0px;
392
+ top: 12px;
393
+ width: 7px;
394
+ height: 7px;
395
+ background-color: rgba(255, 0, 255, 1);
396
+ }
397
+
398
+ .element-2 {
399
+ position: absolute;
400
+ left: 730px;
401
+ top: 24px;
402
+ width: 67px;
403
+ height: 26px;
404
+ font-family: 'Inter', sans-serif;
405
+ font-size: 20px;
406
+ font-weight: 600;
407
+ line-height: 26px;
408
+ text-align: right;
409
+ white-space: nowrap;
410
+ color: rgba(0, 0, 0, 1);
411
+ }
412
+
413
+ .k80fkphulv {
414
+ position: absolute;
415
+ left: 0px;
416
+ top: 0px;
417
+ width: 160px;
418
+ height: 160px;
419
+ object-fit: cover;
420
+ display: block;
421
+ }
422
+
423
+ .summary {
424
+ position: absolute;
425
+ left: 949px;
426
+ top: 301px;
427
+ width: 395px;
428
+ height: 318px;
429
+ overflow: hidden;
430
+ background-color: rgba(250, 250, 245, 1);
431
+ border-radius: 24px;
432
+ }
433
+
434
+ .order-summary {
435
+ position: absolute;
436
+ left: 24px;
437
+ top: 24px;
438
+ width: 151px;
439
+ height: 26px;
440
+ font-family: 'Inter', sans-serif;
441
+ font-size: 20px;
442
+ font-weight: 600;
443
+ line-height: 26px;
444
+ text-align: left;
445
+ white-space: nowrap;
446
+ color: rgba(0, 0, 0, 1);
447
+ }
448
+
449
+ .subtotal {
450
+ position: absolute;
451
+ left: 24px;
452
+ top: 82px;
453
+ width: 64px;
454
+ height: 21px;
455
+ font-family: 'Inter', sans-serif;
456
+ font-size: 16px;
457
+ font-weight: 400;
458
+ line-height: 21px;
459
+ text-align: left;
460
+ white-space: nowrap;
461
+ color: rgba(0, 0, 0, 1);
462
+ }
463
+
464
+ .element-3 {
465
+ position: absolute;
466
+ left: 319px;
467
+ top: 82px;
468
+ width: 52px;
469
+ height: 21px;
470
+ font-family: 'Inter', sans-serif;
471
+ font-size: 16px;
472
+ font-weight: 400;
473
+ line-height: 21px;
474
+ text-align: right;
475
+ white-space: nowrap;
476
+ color: rgba(0, 0, 0, 1);
477
+ }
478
+
479
+ .shipping {
480
+ position: absolute;
481
+ left: 24px;
482
+ top: 119px;
483
+ width: 66px;
484
+ height: 21px;
485
+ font-family: 'Inter', sans-serif;
486
+ font-size: 16px;
487
+ font-weight: 400;
488
+ line-height: 21px;
489
+ text-align: left;
490
+ white-space: nowrap;
491
+ color: rgba(0, 0, 0, 1);
492
+ }
493
+
494
+ .element-4 {
495
+ position: absolute;
496
+ left: 326px;
497
+ top: 119px;
498
+ width: 45px;
499
+ height: 21px;
500
+ font-family: 'Inter', sans-serif;
501
+ font-size: 16px;
502
+ font-weight: 400;
503
+ line-height: 21px;
504
+ text-align: right;
505
+ white-space: nowrap;
506
+ color: rgba(0, 0, 0, 1);
507
+ }
508
+
509
+ .tax {
510
+ position: absolute;
511
+ left: 24px;
512
+ top: 156px;
513
+ width: 27px;
514
+ height: 21px;
515
+ font-family: 'Inter', sans-serif;
516
+ font-size: 16px;
517
+ font-weight: 400;
518
+ line-height: 21px;
519
+ text-align: left;
520
+ white-space: nowrap;
521
+ color: rgba(0, 0, 0, 1);
522
+ }
523
+
524
+ .element-5 {
525
+ position: absolute;
526
+ left: 327px;
527
+ top: 156px;
528
+ width: 44px;
529
+ height: 21px;
530
+ font-family: 'Inter', sans-serif;
531
+ font-size: 16px;
532
+ font-weight: 400;
533
+ line-height: 21px;
534
+ text-align: right;
535
+ white-space: nowrap;
536
+ color: rgba(0, 0, 0, 1);
537
+ }
538
+
539
+ .total {
540
+ position: absolute;
541
+ left: 24px;
542
+ top: 193px;
543
+ width: 39px;
544
+ height: 21px;
545
+ font-family: 'Inter', sans-serif;
546
+ font-size: 16px;
547
+ font-weight: 600;
548
+ line-height: 21px;
549
+ text-align: left;
550
+ white-space: nowrap;
551
+ color: rgba(0, 0, 0, 1);
552
+ }
553
+
554
+ .element-6 {
555
+ position: absolute;
556
+ left: 314px;
557
+ top: 190px;
558
+ width: 57px;
559
+ height: 21px;
560
+ font-family: 'Inter', sans-serif;
561
+ font-size: 16px;
562
+ font-weight: 600;
563
+ line-height: 21px;
564
+ text-align: right;
565
+ white-space: nowrap;
566
+ color: rgba(0, 0, 0, 1);
567
+ }
568
+
569
+ .button {
570
+ display: flex;
571
+ align-items: center;
572
+ justify-content: center;
573
+ position: absolute;
574
+ left: 24px;
575
+ top: 246px;
576
+ width: 347px;
577
+ height: 48px;
578
+ overflow: hidden;
579
+ background-color: rgba(66, 107, 31, 1);
580
+ border-radius: 8px;
581
+ }
582
+
583
+ .continue-to-payment {
584
+ font-family: 'Inter', sans-serif;
585
+ font-size: 16px;
586
+ font-weight: 600;
587
+ line-height: 21px;
588
+ white-space: nowrap;
589
+ color: rgba(255, 255, 255, 1);
590
+ }
591
+
592
+ .page-heading {
593
+ position: absolute;
594
+ left: 0px;
595
+ top: 112px;
596
+ width: 1440px;
597
+ height: 149px;
598
+ overflow: hidden;
599
+ background-color: rgba(255, 255, 255, 1);
600
+ }
601
+
602
+ .items {
603
+ position: absolute;
604
+ left: 301px;
605
+ top: 90px;
606
+ width: 69px;
607
+ height: 26px;
608
+ font-family: 'Inter', sans-serif;
609
+ font-size: 20px;
610
+ font-weight: 300;
611
+ line-height: 26px;
612
+ text-align: left;
613
+ white-space: nowrap;
614
+ color: rgba(0, 0, 0, 1);
615
+ }
616
+
617
+ .basket {
618
+ position: absolute;
619
+ left: 96px;
620
+ top: 56px;
621
+ width: 181px;
622
+ height: 77px;
623
+ font-family: 'Newsreader', sans-serif;
624
+ font-size: 64px;
625
+ font-weight: 400;
626
+ line-height: 77px;
627
+ letter-spacing: -1.28px;
628
+ text-align: left;
629
+ white-space: nowrap;
630
+ color: rgba(0, 0, 0, 1);
631
+ }
632
+
633
+ .navigation {
634
+ position: absolute;
635
+ left: 0px;
636
+ top: 0px;
637
+ width: 1440px;
638
+ height: 112px;
639
+ overflow: hidden;
640
+ }
641
+
642
+ .world-peas {
643
+ position: absolute;
644
+ left: 96px;
645
+ top: 41px;
646
+ width: 151px;
647
+ height: 32px;
648
+ font-family: 'Newsreader', sans-serif;
649
+ font-size: 32px;
650
+ font-weight: 500;
651
+ line-height: 32px;
652
+ letter-spacing: -0.32px;
653
+ text-align: left;
654
+ white-space: nowrap;
655
+ color: rgba(66, 107, 31, 1);
656
+ }
657
+
658
+ .shop {
659
+ position: absolute;
660
+ left: 744px;
661
+ top: 46px;
662
+ width: 39px;
663
+ height: 21px;
664
+ font-family: 'Inter', sans-serif;
665
+ font-size: 16px;
666
+ font-weight: 400;
667
+ line-height: 21px;
668
+ text-align: center;
669
+ white-space: nowrap;
670
+ color: rgba(0, 0, 0, 1);
671
+ }
672
+
673
+ .newstand {
674
+ position: absolute;
675
+ left: 831px;
676
+ top: 46px;
677
+ width: 77px;
678
+ height: 21px;
679
+ font-family: 'Inter', sans-serif;
680
+ font-size: 16px;
681
+ font-weight: 400;
682
+ line-height: 21px;
683
+ text-align: center;
684
+ white-space: nowrap;
685
+ color: rgba(0, 0, 0, 1);
686
+ }
687
+
688
+ .who-we-are {
689
+ position: absolute;
690
+ left: 956px;
691
+ top: 46px;
692
+ width: 90px;
693
+ height: 21px;
694
+ font-family: 'Inter', sans-serif;
695
+ font-size: 16px;
696
+ font-weight: 400;
697
+ line-height: 21px;
698
+ text-align: center;
699
+ white-space: nowrap;
700
+ color: rgba(0, 0, 0, 1);
701
+ }
702
+
703
+ .my-profile {
704
+ position: absolute;
705
+ left: 1094px;
706
+ top: 46px;
707
+ width: 76px;
708
+ height: 21px;
709
+ font-family: 'Inter', sans-serif;
710
+ font-size: 16px;
711
+ font-weight: 400;
712
+ line-height: 21px;
713
+ text-align: center;
714
+ white-space: nowrap;
715
+ color: rgba(0, 0, 0, 1);
716
+ }
717
+
718
+ .cart-button {
719
+ display: flex;
720
+ align-items: center;
721
+ justify-content: center;
722
+ position: absolute;
723
+ left: 1218px;
724
+ top: 32px;
725
+ width: 126px;
726
+ height: 48px;
727
+ overflow: hidden;
728
+ background-color: rgba(66, 107, 31, 1);
729
+ border-radius: 4px;
730
+ }
731
+
732
+ .basket3 {
733
+ font-family: 'Inter', sans-serif;
734
+ font-size: 16px;
735
+ font-weight: 600;
736
+ line-height: 21px;
737
+ white-space: nowrap;
738
+ color: rgba(255, 255, 255, 1);
739
+ }
@@ -0,0 +1,9 @@
1
+ import React from 'react'
2
+ import ReactDOM from 'react-dom/client'
3
+ import { Component } from './Component.jsx'
4
+
5
+ ReactDOM.createRoot(document.getElementById('root')).render(
6
+ <React.StrictMode>
7
+ <Component />
8
+ </React.StrictMode>
9
+ )