spree_frontend 4.2.7 → 4.3.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -1
  3. data/app/assets/config/spree_frontend_manifest.js +4 -0
  4. data/app/assets/images/card-image.svg +4 -0
  5. data/app/assets/images/file-image.svg +4 -0
  6. data/app/assets/images/image.svg +4 -0
  7. data/app/assets/images/noimage/large.png +0 -0
  8. data/app/assets/images/noimage/mini.png +0 -0
  9. data/app/assets/images/noimage/plp.svg +23 -0
  10. data/app/assets/images/noimage/product.png +0 -0
  11. data/app/assets/images/noimage/small.png +0 -0
  12. data/app/assets/javascripts/spree/api/main.js +36 -0
  13. data/app/assets/javascripts/spree/api/storefront/cart.js +49 -0
  14. data/app/assets/javascripts/spree/frontend/checkout/payment.js +18 -5
  15. data/app/assets/javascripts/spree/frontend/checkout.js +16 -0
  16. data/app/assets/javascripts/spree/frontend/locale.es6 +13 -0
  17. data/app/assets/javascripts/spree/frontend/views/spree/home/product_carousels.js +3 -3
  18. data/app/assets/javascripts/spree/frontend/views/spree/products/index.js +0 -9
  19. data/app/assets/javascripts/spree/frontend/views/spree/products/price_filters.es6 +46 -0
  20. data/app/assets/javascripts/spree/frontend.js +3 -0
  21. data/app/assets/javascripts/spree.js +78 -0
  22. data/app/assets/stylesheets/spree/frontend/application.scss +1 -0
  23. data/app/assets/stylesheets/spree/frontend/components-bootstrap/button.scss +8 -0
  24. data/app/assets/stylesheets/spree/frontend/helpers/spree/frontend_helper.scss +41 -0
  25. data/app/assets/stylesheets/spree/frontend/variables/variables.scss +2 -2
  26. data/app/assets/stylesheets/spree/frontend/views/spree/checkout/edit.scss +17 -5
  27. data/app/assets/stylesheets/spree/frontend/views/spree/cms_sections/_index.scss +1 -0
  28. data/app/assets/stylesheets/spree/frontend/views/spree/cms_sections/product_buy_bar.scss +20 -0
  29. data/app/assets/stylesheets/spree/frontend/views/spree/home/index.scss +54 -67
  30. data/app/assets/stylesheets/spree/frontend/views/spree/shared/category_nav_bar.scss +3 -3
  31. data/app/assets/stylesheets/spree/frontend/views/spree/shared/footer.scss +4 -0
  32. data/app/assets/stylesheets/spree/frontend/views/spree/shared/main_nav_bar.scss +12 -1
  33. data/app/controllers/spree/addresses_controller.rb +14 -19
  34. data/app/controllers/spree/checkout_controller.rb +5 -3
  35. data/app/controllers/spree/cms_pages_controller.rb +29 -0
  36. data/app/controllers/spree/content_controller.rb +0 -2
  37. data/app/controllers/spree/errors_controller.rb +11 -0
  38. data/app/controllers/spree/home_controller.rb +34 -1
  39. data/app/controllers/spree/locale_controller.rb +7 -1
  40. data/app/controllers/spree/orders_controller.rb +9 -7
  41. data/app/controllers/spree/products_controller.rb +14 -13
  42. data/app/controllers/spree/store_controller.rb +25 -1
  43. data/app/controllers/spree/taxons_controller.rb +12 -5
  44. data/app/helpers/spree/addresses_helper.rb +9 -4
  45. data/app/helpers/spree/cms_pages_helper.rb +23 -0
  46. data/app/helpers/spree/frontend_helper.rb +109 -10
  47. data/app/helpers/spree/navigation_helper.rb +73 -4
  48. data/app/helpers/spree/products_filters_helper.rb +168 -0
  49. data/app/helpers/spree/store_helper.rb +3 -1
  50. data/app/views/spree/checkout/_address.html.erb +1 -1
  51. data/app/views/spree/checkout/_credit_card.html.erb +1 -0
  52. data/app/views/spree/cms_pages/show.html.erb +16 -0
  53. data/app/views/spree/errors/forbidden.html.erb +0 -0
  54. data/app/views/spree/errors/unauthorized.html.erb +0 -0
  55. data/app/views/spree/home/index.html.erb +19 -118
  56. data/app/views/spree/layouts/spree_application.html.erb +1 -1
  57. data/app/views/spree/products/_description.html.erb +16 -19
  58. data/app/views/spree/products/_filters_desktop.html.erb +50 -15
  59. data/app/views/spree/products/_filters_mobile.html.erb +38 -10
  60. data/app/views/spree/products/_sort_desktop.html.erb +17 -11
  61. data/app/views/spree/products/_sort_mobile.html.erb +16 -0
  62. data/app/views/spree/products/index.html.erb +1 -1
  63. data/app/views/spree/shared/_carousel_4_products.html.erb +2 -2
  64. data/app/views/spree/shared/_checkout_header.html.erb +22 -21
  65. data/app/views/spree/shared/_copyright.html.erb +1 -1
  66. data/app/views/spree/shared/_footer.html.erb +15 -9
  67. data/app/views/spree/shared/_head.html.erb +1 -1
  68. data/app/views/spree/shared/_header.html.erb +3 -3
  69. data/app/views/spree/shared/_main_nav_bar.html.erb +61 -43
  70. data/app/views/spree/shared/_mobile_navigation.html.erb +30 -19
  71. data/app/views/spree/shared/_nav_bar.html.erb +1 -1
  72. data/app/views/spree/shared/_option_values.html.erb +2 -21
  73. data/app/views/spree/shared/_order_details.html.erb +1 -1
  74. data/app/views/spree/shared/_paths.html.erb +8 -0
  75. data/app/views/spree/shared/_properties.html.erb +4 -0
  76. data/app/views/spree/shared/_translations.html.erb +2 -1
  77. data/app/views/spree/shared/carousel/_single.html.erb +1 -1
  78. data/app/views/spree/shared/carousel/_thumbnails.html.erb +1 -1
  79. data/app/views/spree/shared/cms/pages/_edit_mode.html.erb +13 -0
  80. data/app/views/spree/shared/cms/sections/_featured_article.html.erb +27 -0
  81. data/app/views/spree/shared/cms/sections/_hero_image.html.erb +60 -0
  82. data/app/views/spree/shared/cms/sections/_image_gallery.html.erb +171 -0
  83. data/app/views/spree/shared/cms/sections/_product_carousel.html.erb +5 -0
  84. data/app/views/spree/shared/cms/sections/_rich_text_content.html.erb +3 -0
  85. data/app/views/spree/shared/cms/sections/_side_by_side_images.html.erb +118 -0
  86. data/app/views/spree/taxons/_header.html.erb +6 -1
  87. data/app/views/spree/users/show.html.erb +1 -1
  88. data/config/initializers/assets.rb +4 -13
  89. data/config/routes.rb +9 -3
  90. data/lib/generators/spree/frontend/install/install_generator.rb +5 -5
  91. data/lib/generators/spree/frontend/install/templates/app/assets/config/manifest.js +2 -0
  92. data/lib/generators/spree/frontend/install/templates/vendor/assets/javascripts/spree/frontend/all.js +8 -0
  93. data/lib/generators/spree/frontend/install/templates/vendor/assets/stylesheets/spree/frontend/all.css +9 -0
  94. data/lib/spree/frontend/engine.rb +6 -0
  95. data/lib/spree/frontend.rb +6 -3
  96. data/spec/fixtures/files/store_favicon.ico +0 -0
  97. data/spree_frontend.gemspec +7 -3
  98. data/vendor/assets/javascripts/cleave.js +8 -0
  99. data/vendor/assets/javascripts/fetch.umd.js +531 -0
  100. data/vendor/assets/javascripts/jquery.payment.js +652 -0
  101. data/vendor/assets/javascripts/jsuri.js +458 -0
  102. data/vendor/assets/javascripts/polyfill.min.js +1 -0
  103. metadata +116 -70
  104. data/app/assets/images/homepage/big_category_banner.jpg +0 -0
  105. data/app/assets/images/homepage/big_category_banner_mobile.jpg +0 -0
  106. data/app/assets/images/homepage/big_category_banner_tablet_landscape.jpg +0 -0
  107. data/app/assets/images/homepage/big_category_banner_tablet_portrait.jpg +0 -0
  108. data/app/assets/images/homepage/category_banner_lower.jpg +0 -0
  109. data/app/assets/images/homepage/category_banner_lower_mobile.jpg +0 -0
  110. data/app/assets/images/homepage/category_banner_lower_tablet_landscape.jpg +0 -0
  111. data/app/assets/images/homepage/category_banner_lower_tablet_portrait.jpg +0 -0
  112. data/app/assets/images/homepage/category_banner_upper.jpg +0 -0
  113. data/app/assets/images/homepage/category_banner_upper_mobile.jpg +0 -0
  114. data/app/assets/images/homepage/category_banner_upper_tablet_landscape.jpg +0 -0
  115. data/app/assets/images/homepage/category_banner_upper_tablet_portrait.jpg +0 -0
  116. data/app/assets/images/homepage/main_banner.jpg +0 -0
  117. data/app/assets/images/homepage/main_banner_mobile.jpg +0 -0
  118. data/app/assets/images/homepage/main_banner_tablet_landscape.jpg +0 -0
  119. data/app/assets/images/homepage/main_banner_tablet_portrait.jpg +0 -0
  120. data/app/assets/images/homepage/promo_banner_left.jpg +0 -0
  121. data/app/assets/images/homepage/promo_banner_left_mobile.jpg +0 -0
  122. data/app/assets/images/homepage/promo_banner_left_tablet_landscape.jpg +0 -0
  123. data/app/assets/images/homepage/promo_banner_left_tablet_portrait.jpg +0 -0
  124. data/app/assets/images/homepage/promo_banner_right.jpg +0 -0
  125. data/app/assets/images/homepage/promo_banner_right_mobile.jpg +0 -0
  126. data/app/assets/images/homepage/promo_banner_right_tablet_landscape.jpg +0 -0
  127. data/app/assets/images/homepage/promo_banner_right_tablet_portrait.jpg +0 -0
  128. data/app/assets/images/meganav/promo_banner_left-first-category.jpg +0 -0
  129. data/app/assets/images/meganav/promo_banner_left-second-category.jpg +0 -0
  130. data/app/assets/images/meganav/promo_banner_left-third-category.jpg +0 -0
  131. data/app/assets/images/meganav/promo_banner_right-first-category.jpg +0 -0
  132. data/app/assets/images/meganav/promo_banner_right-second-category.jpg +0 -0
  133. data/app/assets/images/meganav/promo_banner_right-third-category.jpg +0 -0
  134. data/app/assets/images/noimage/big_category_banner.jpg +0 -0
  135. data/app/assets/images/noimage/big_category_banner_mobile.jpg +0 -0
  136. data/app/assets/images/noimage/big_category_banner_tablet_landscape.jpg +0 -0
  137. data/app/assets/images/noimage/big_category_banner_tablet_portrait.jpg +0 -0
  138. data/app/assets/images/noimage/category_banner.jpg +0 -0
  139. data/app/assets/images/noimage/category_banner_mobile.jpg +0 -0
  140. data/app/assets/images/noimage/category_banner_plp.jpg +0 -0
  141. data/app/assets/images/noimage/category_banner_tablet_landscape.jpg +0 -0
  142. data/app/assets/images/noimage/category_banner_tablet_portrait.jpg +0 -0
  143. data/app/assets/images/noimage/main_banner.jpg +0 -0
  144. data/app/assets/images/noimage/main_banner_mobile.jpg +0 -0
  145. data/app/assets/images/noimage/main_banner_tablet_landscape.jpg +0 -0
  146. data/app/assets/images/noimage/main_banner_tablet_portrait.jpg +0 -0
  147. data/app/assets/images/noimage/product_photo.jpg +0 -0
  148. data/app/assets/images/noimage/promo_banner.jpg +0 -0
  149. data/app/assets/images/noimage/promo_banner_megamenu.jpg +0 -0
  150. data/app/assets/images/noimage/promo_banner_mobile.jpg +0 -0
  151. data/app/assets/images/noimage/promo_banner_tablet_landscape.jpg +0 -0
  152. data/app/assets/images/noimage/promo_banner_tablet_portrait.jpg +0 -0
  153. data/app/assets/javascripts/spree/frontend/locale.js +0 -13
  154. data/app/assets/javascripts/spree/frontend/multi_currency.js +0 -13
  155. data/lib/generators/spree/frontend/install/templates/config/initializers/spree_storefront.rb +0 -1
  156. data/lib/generators/spree/frontend/install/templates/config/spree_storefront.yml +0 -99
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.7
4
+ version: 4.3.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
@@ -9,36 +9,50 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-04-21 00:00:00.000000000 Z
12
+ date: 2021-08-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spree_api
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 4.2.7
20
+ version: 4.3.0.rc1
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: 4.2.7
27
+ version: 4.3.0.rc1
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: spree_core
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: 4.2.7
34
+ version: 4.3.0.rc1
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: 4.2.7
41
+ version: 4.3.0.rc1
42
+ - !ruby/object:Gem::Dependency
43
+ name: babel-transpiler
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '0.7'
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '0.7'
42
56
  - !ruby/object:Gem::Dependency
43
57
  name: bootstrap
44
58
  requirement: !ruby/object:Gem::Requirement
@@ -115,6 +129,20 @@ dependencies:
115
129
  - - "~>"
116
130
  - !ruby/object:Gem::Version
117
131
  version: '4.3'
132
+ - !ruby/object:Gem::Dependency
133
+ name: sass-rails
134
+ requirement: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '5'
139
+ type: :runtime
140
+ prerelease: false
141
+ version_requirements: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '5'
118
146
  - !ruby/object:Gem::Dependency
119
147
  name: turbolinks
120
148
  requirement: !ruby/object:Gem::Requirement
@@ -129,6 +157,34 @@ dependencies:
129
157
  - - "~>"
130
158
  - !ruby/object:Gem::Version
131
159
  version: '5.2'
160
+ - !ruby/object:Gem::Dependency
161
+ name: responders
162
+ requirement: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ type: :runtime
168
+ prerelease: false
169
+ version_requirements: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ - !ruby/object:Gem::Dependency
175
+ name: sprockets
176
+ requirement: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '4.0'
181
+ type: :runtime
182
+ prerelease: false
183
+ version_requirements: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '4.0'
132
188
  - !ruby/object:Gem::Dependency
133
189
  name: capybara-accessible
134
190
  requirement: !ruby/object:Gem::Requirement
@@ -143,7 +199,8 @@ dependencies:
143
199
  - - ">="
144
200
  - !ruby/object:Gem::Version
145
201
  version: '0'
146
- description: Frontend e-commerce functionality for the Spree project.
202
+ description: The default Storefront built with Rails and Turbolinks for Spree eCommerce
203
+ platform
147
204
  email: hello@spreecommerce.org
148
205
  executables: []
149
206
  extensions: []
@@ -152,11 +209,13 @@ files:
152
209
  - Gemfile
153
210
  - LICENSE
154
211
  - Rakefile
212
+ - app/assets/config/spree_frontend_manifest.js
155
213
  - app/assets/images/arrow-down.svg
156
214
  - app/assets/images/arrow-right.svg
157
215
  - app/assets/images/arrow.svg
158
216
  - app/assets/images/bag.svg
159
217
  - app/assets/images/burger.svg
218
+ - app/assets/images/card-image.svg
160
219
  - app/assets/images/cart.svg
161
220
  - app/assets/images/check-mark-circle.png
162
221
  - app/assets/images/check-mark-circle.svg
@@ -200,6 +259,7 @@ files:
200
259
  - app/assets/images/error.svg
201
260
  - app/assets/images/facebook.svg
202
261
  - app/assets/images/favicon.ico
262
+ - app/assets/images/file-image.svg
203
263
  - app/assets/images/flags/4x3/ad.svg
204
264
  - app/assets/images/flags/4x3/ae.svg
205
265
  - app/assets/images/flags/4x3/af.svg
@@ -462,31 +522,8 @@ files:
462
522
  - app/assets/images/garbage.svg
463
523
  - app/assets/images/garbage_2.svg
464
524
  - app/assets/images/global.svg
465
- - app/assets/images/homepage/big_category_banner.jpg
466
- - app/assets/images/homepage/big_category_banner_mobile.jpg
467
- - app/assets/images/homepage/big_category_banner_tablet_landscape.jpg
468
- - app/assets/images/homepage/big_category_banner_tablet_portrait.jpg
469
- - app/assets/images/homepage/category_banner_lower.jpg
470
- - app/assets/images/homepage/category_banner_lower_mobile.jpg
471
- - app/assets/images/homepage/category_banner_lower_tablet_landscape.jpg
472
- - app/assets/images/homepage/category_banner_lower_tablet_portrait.jpg
473
- - app/assets/images/homepage/category_banner_upper.jpg
474
- - app/assets/images/homepage/category_banner_upper_mobile.jpg
475
- - app/assets/images/homepage/category_banner_upper_tablet_landscape.jpg
476
- - app/assets/images/homepage/category_banner_upper_tablet_portrait.jpg
477
- - app/assets/images/homepage/main_banner.jpg
478
- - app/assets/images/homepage/main_banner_mobile.jpg
479
- - app/assets/images/homepage/main_banner_tablet_landscape.jpg
480
- - app/assets/images/homepage/main_banner_tablet_portrait.jpg
481
525
  - app/assets/images/homepage/products.jpg
482
- - app/assets/images/homepage/promo_banner_left.jpg
483
- - app/assets/images/homepage/promo_banner_left_mobile.jpg
484
- - app/assets/images/homepage/promo_banner_left_tablet_landscape.jpg
485
- - app/assets/images/homepage/promo_banner_left_tablet_portrait.jpg
486
- - app/assets/images/homepage/promo_banner_right.jpg
487
- - app/assets/images/homepage/promo_banner_right_mobile.jpg
488
- - app/assets/images/homepage/promo_banner_right_tablet_landscape.jpg
489
- - app/assets/images/homepage/promo_banner_right_tablet_portrait.jpg
526
+ - app/assets/images/image.svg
490
527
  - app/assets/images/info.svg
491
528
  - app/assets/images/instagram.svg
492
529
  - app/assets/images/logo-spree.png
@@ -496,33 +533,13 @@ files:
496
533
  - app/assets/images/logo@2x.png
497
534
  - app/assets/images/logo@3x.png
498
535
  - app/assets/images/magnifying-glass.svg
499
- - app/assets/images/meganav/promo_banner_left-first-category.jpg
500
- - app/assets/images/meganav/promo_banner_left-second-category.jpg
501
- - app/assets/images/meganav/promo_banner_left-third-category.jpg
502
- - app/assets/images/meganav/promo_banner_right-first-category.jpg
503
- - app/assets/images/meganav/promo_banner_right-second-category.jpg
504
- - app/assets/images/meganav/promo_banner_right-third-category.jpg
505
536
  - app/assets/images/minus.svg
506
- - app/assets/images/noimage/big_category_banner.jpg
507
- - app/assets/images/noimage/big_category_banner_mobile.jpg
508
- - app/assets/images/noimage/big_category_banner_tablet_landscape.jpg
509
- - app/assets/images/noimage/big_category_banner_tablet_portrait.jpg
510
- - app/assets/images/noimage/category_banner.jpg
511
- - app/assets/images/noimage/category_banner_mobile.jpg
512
- - app/assets/images/noimage/category_banner_plp.jpg
513
- - app/assets/images/noimage/category_banner_tablet_landscape.jpg
514
- - app/assets/images/noimage/category_banner_tablet_portrait.jpg
515
- - app/assets/images/noimage/main_banner.jpg
516
- - app/assets/images/noimage/main_banner_mobile.jpg
517
- - app/assets/images/noimage/main_banner_tablet_landscape.jpg
518
- - app/assets/images/noimage/main_banner_tablet_portrait.jpg
537
+ - app/assets/images/noimage/large.png
538
+ - app/assets/images/noimage/mini.png
519
539
  - app/assets/images/noimage/plp.png
520
- - app/assets/images/noimage/product_photo.jpg
521
- - app/assets/images/noimage/promo_banner.jpg
522
- - app/assets/images/noimage/promo_banner_megamenu.jpg
523
- - app/assets/images/noimage/promo_banner_mobile.jpg
524
- - app/assets/images/noimage/promo_banner_tablet_landscape.jpg
525
- - app/assets/images/noimage/promo_banner_tablet_portrait.jpg
540
+ - app/assets/images/noimage/plp.svg
541
+ - app/assets/images/noimage/product.png
542
+ - app/assets/images/noimage/small.png
526
543
  - app/assets/images/pagination-arrow-right.svg
527
544
  - app/assets/images/pagination-double-arrow-right.svg
528
545
  - app/assets/images/person.svg
@@ -534,6 +551,9 @@ files:
534
551
  - app/assets/images/spark-logo@3x.png
535
552
  - app/assets/images/twitter.svg
536
553
  - app/assets/images/vimeo.svg
554
+ - app/assets/javascripts/spree.js
555
+ - app/assets/javascripts/spree/api/main.js
556
+ - app/assets/javascripts/spree/api/storefront/cart.js
537
557
  - app/assets/javascripts/spree/frontend.js
538
558
  - app/assets/javascripts/spree/frontend/account.js
539
559
  - app/assets/javascripts/spree/frontend/api_tokens.js
@@ -548,10 +568,9 @@ files:
548
568
  - app/assets/javascripts/spree/frontend/components-custom/.gitkeep
549
569
  - app/assets/javascripts/spree/frontend/coupon_manager.js
550
570
  - app/assets/javascripts/spree/frontend/currency.js
551
- - app/assets/javascripts/spree/frontend/locale.js
571
+ - app/assets/javascripts/spree/frontend/locale.es6
552
572
  - app/assets/javascripts/spree/frontend/login.js
553
573
  - app/assets/javascripts/spree/frontend/main_nav_bar.js
554
- - app/assets/javascripts/spree/frontend/multi_currency.js
555
574
  - app/assets/javascripts/spree/frontend/turbolinks_scroll_fix.js
556
575
  - app/assets/javascripts/spree/frontend/viewport.js
557
576
  - app/assets/javascripts/spree/frontend/views/spree/home/product_carousels.js
@@ -561,6 +580,7 @@ files:
561
580
  - app/assets/javascripts/spree/frontend/views/spree/products/description.js
562
581
  - app/assets/javascripts/spree/frontend/views/spree/products/index.js
563
582
  - app/assets/javascripts/spree/frontend/views/spree/products/modal_carousel.js
583
+ - app/assets/javascripts/spree/frontend/views/spree/products/price_filters.es6
564
584
  - app/assets/javascripts/spree/frontend/views/spree/shared/carousel.js
565
585
  - app/assets/javascripts/spree/frontend/views/spree/shared/carousel/single.js
566
586
  - app/assets/javascripts/spree/frontend/views/spree/shared/carousel/swipes.js
@@ -602,6 +622,8 @@ files:
602
622
  - app/assets/stylesheets/spree/frontend/views/spree/checkout/edit.scss
603
623
  - app/assets/stylesheets/spree/frontend/views/spree/checkout/payment.scss
604
624
  - app/assets/stylesheets/spree/frontend/views/spree/checkout/registration.scss
625
+ - app/assets/stylesheets/spree/frontend/views/spree/cms_sections/_index.scss
626
+ - app/assets/stylesheets/spree/frontend/views/spree/cms_sections/product_buy_bar.scss
605
627
  - app/assets/stylesheets/spree/frontend/views/spree/errors/not_found.scss
606
628
  - app/assets/stylesheets/spree/frontend/views/spree/home/index.scss
607
629
  - app/assets/stylesheets/spree/frontend/views/spree/icon.scss
@@ -642,8 +664,10 @@ files:
642
664
  - app/controllers/concerns/spree/locale_urls.rb
643
665
  - app/controllers/spree/addresses_controller.rb
644
666
  - app/controllers/spree/checkout_controller.rb
667
+ - app/controllers/spree/cms_pages_controller.rb
645
668
  - app/controllers/spree/content_controller.rb
646
669
  - app/controllers/spree/currency_controller.rb
670
+ - app/controllers/spree/errors_controller.rb
647
671
  - app/controllers/spree/home_controller.rb
648
672
  - app/controllers/spree/locale_controller.rb
649
673
  - app/controllers/spree/orders_controller.rb
@@ -652,9 +676,11 @@ files:
652
676
  - app/controllers/spree/taxons_controller.rb
653
677
  - app/helpers/spree/addresses_helper.rb
654
678
  - app/helpers/spree/cache_helper.rb
679
+ - app/helpers/spree/cms_pages_helper.rb
655
680
  - app/helpers/spree/frontend_helper.rb
656
681
  - app/helpers/spree/navigation_helper.rb
657
682
  - app/helpers/spree/orders_helper.rb
683
+ - app/helpers/spree/products_filters_helper.rb
658
684
  - app/helpers/spree/store_helper.rb
659
685
  - app/helpers/spree/structured_data_helper.rb
660
686
  - app/helpers/spree/taxons_helper.rb
@@ -684,9 +710,12 @@ files:
684
710
  - app/views/spree/checkout/payment/_gateway.html.erb
685
711
  - app/views/spree/checkout/payment/_storecredit.html.erb
686
712
  - app/views/spree/checkout/registration.html.erb
713
+ - app/views/spree/cms_pages/show.html.erb
687
714
  - app/views/spree/content/cvv.html.erb
688
715
  - app/views/spree/content/test.html.erb
716
+ - app/views/spree/errors/forbidden.html.erb
689
717
  - app/views/spree/errors/not_found.html.erb
718
+ - app/views/spree/errors/unauthorized.html.erb
690
719
  - app/views/spree/home/index.html.erb
691
720
  - app/views/spree/layouts/checkout.html.erb
692
721
  - app/views/spree/layouts/spree_application.html.erb
@@ -749,11 +778,13 @@ files:
749
778
  - app/views/spree/shared/_no_product_available.html.erb
750
779
  - app/views/spree/shared/_option_values.html.erb
751
780
  - app/views/spree/shared/_order_details.html.erb
781
+ - app/views/spree/shared/_paths.html.erb
752
782
  - app/views/spree/shared/_payment.html.erb
753
783
  - app/views/spree/shared/_payment_sources.html.erb
754
784
  - app/views/spree/shared/_product.html.erb
755
785
  - app/views/spree/shared/_product_added_modal.html.erb
756
786
  - app/views/spree/shared/_products.html.erb
787
+ - app/views/spree/shared/_properties.html.erb
757
788
  - app/views/spree/shared/_quantity_select.html.erb
758
789
  - app/views/spree/shared/_registration.html.erb
759
790
  - app/views/spree/shared/_search.html.erb
@@ -764,6 +795,13 @@ files:
764
795
  - app/views/spree/shared/_user_form.html.erb
765
796
  - app/views/spree/shared/carousel/_single.html.erb
766
797
  - app/views/spree/shared/carousel/_thumbnails.html.erb
798
+ - app/views/spree/shared/cms/pages/_edit_mode.html.erb
799
+ - app/views/spree/shared/cms/sections/_featured_article.html.erb
800
+ - app/views/spree/shared/cms/sections/_hero_image.html.erb
801
+ - app/views/spree/shared/cms/sections/_image_gallery.html.erb
802
+ - app/views/spree/shared/cms/sections/_product_carousel.html.erb
803
+ - app/views/spree/shared/cms/sections/_rich_text_content.html.erb
804
+ - app/views/spree/shared/cms/sections/_side_by_side_images.html.erb
767
805
  - app/views/spree/taxons/_header.html.erb
768
806
  - app/views/spree/taxons/_subcategories.html.erb
769
807
  - app/views/spree/taxons/product_carousel.html.erb
@@ -777,25 +815,32 @@ files:
777
815
  - config/routes.rb
778
816
  - lib/generators/spree/frontend/copy_storefront/copy_storefront_generator.rb
779
817
  - lib/generators/spree/frontend/install/install_generator.rb
780
- - lib/generators/spree/frontend/install/templates/config/initializers/spree_storefront.rb
781
- - lib/generators/spree/frontend/install/templates/config/spree_storefront.yml
818
+ - lib/generators/spree/frontend/install/templates/app/assets/config/manifest.js
819
+ - lib/generators/spree/frontend/install/templates/vendor/assets/javascripts/spree/frontend/all.js
820
+ - lib/generators/spree/frontend/install/templates/vendor/assets/stylesheets/spree/frontend/all.css
782
821
  - lib/spree/frontend.rb
783
822
  - lib/spree/frontend/engine.rb
784
823
  - lib/spree/frontend/middleware/seo_assist.rb
785
824
  - lib/spree_frontend.rb
786
825
  - script/rails
826
+ - spec/fixtures/files/store_favicon.ico
787
827
  - spec/fixtures/thinking-cat.jpg
788
828
  - spree_frontend.gemspec
789
829
  - vendor/assets/javascripts/accounting.min.js
830
+ - vendor/assets/javascripts/cleave.js
831
+ - vendor/assets/javascripts/fetch.umd.js
832
+ - vendor/assets/javascripts/jquery.payment.js
833
+ - vendor/assets/javascripts/jsuri.js
790
834
  - vendor/assets/javascripts/lazysizes.min.js
835
+ - vendor/assets/javascripts/polyfill.min.js
791
836
  homepage: https://spreecommerce.org
792
837
  licenses:
793
838
  - BSD-3-Clause
794
839
  metadata:
795
840
  bug_tracker_uri: https://github.com/spree/spree/issues
796
- changelog_uri: https://github.com/spree/spree/releases/tag/v4.2.7
841
+ changelog_uri: https://github.com/spree/spree/releases/tag/v4.3.0.rc1
797
842
  documentation_uri: https://guides.spreecommerce.org/
798
- source_code_uri: https://github.com/spree/spree/tree/v4.2.7
843
+ source_code_uri: https://github.com/spree/spree/tree/v4.3.0.rc1
799
844
  post_install_message:
800
845
  rdoc_options: []
801
846
  require_paths:
@@ -807,13 +852,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
807
852
  version: '2.5'
808
853
  required_rubygems_version: !ruby/object:Gem::Requirement
809
854
  requirements:
810
- - - ">="
855
+ - - ">"
811
856
  - !ruby/object:Gem::Version
812
- version: '0'
857
+ version: 1.3.1
813
858
  requirements:
814
859
  - none
815
- rubygems_version: 3.5.3
860
+ rubygems_version: 3.2.3
816
861
  signing_key:
817
862
  specification_version: 4
818
- summary: Frontend e-commerce functionality for the Spree project.
863
+ summary: The default Storefront built with Rails and Turbolinks for Spree eCommerce
864
+ platform
819
865
  test_files: []
@@ -1,13 +0,0 @@
1
- document.addEventListener('turbolinks:load', function () {
2
- var localeSelect = document.querySelectorAll('select[name=switch_to_locale]')
3
-
4
- if (localeSelect.length) {
5
- localeSelect.forEach(function (element) {
6
- element.addEventListener('change', function () {
7
- Spree.clearCache()
8
- Spree.showProgressBar()
9
- this.form.submit()
10
- })
11
- })
12
- }
13
- })
@@ -1,13 +0,0 @@
1
- Spree.ready(function () {
2
- return $('#currency').on('change', function() {
3
- return $.ajax({
4
- type: 'GET',
5
- url: $(this).data('href'),
6
- data: {
7
- currency: $(this).val()
8
- }
9
- }).done(function () {
10
- window.location.reload()
11
- })
12
- })
13
- })
@@ -1 +0,0 @@
1
- SpreeStorefrontConfig = YAML.load_file(Rails.root.join('config', 'spree_storefront.yml')).with_indifferent_access
@@ -1,99 +0,0 @@
1
- default:
2
- navigation:
3
- - title: Women
4
- subtitle: Categories
5
- url: /t/women
6
- items:
7
- - :title: Skirts
8
- :url: /t/women/skirts
9
- - :title: Dresses
10
- :url: /t/women/dresses
11
- - :title: Shirts and Blouses
12
- :url: /t/women/shirts-and-blouses
13
- - :title: Sweaters
14
- :url: /t/women/sweaters
15
- - :title: Tops and T-shirts
16
- :url: /t/women/tops-and-t-shirts
17
- - :title: Jackets and Coats
18
- :url: /t/women/jackets-and-coats
19
- promo_banners:
20
- - subtitle: New collection
21
- title: Summer 2021
22
- url: /t/new-collection/summer-2021
23
- image: 'meganav/promo_banner_left-first-category.jpg'
24
- - subtitle: Special Offers
25
- title: Get up to 30% off
26
- url: /t/special-offers/30-percent-off
27
- image: 'meganav/promo_banner_right-first-category.jpg'
28
- - title: Men
29
- subtitle: Categories
30
- url: /t/men
31
- items:
32
- - :title: Shirts
33
- :url: /t/men/shirts
34
- - :title: T-shirts
35
- :url: /t/men/t-shirts
36
- - :title: Sweaters
37
- :url: /t/men/sweaters
38
- - :title: Jackets and Coats
39
- :url: /t/men/jackets-and-coats
40
- promo_banners:
41
- - subtitle: New collection
42
- title: Summer 2021
43
- url: /t/new-collection/summer-2021
44
- image: 'meganav/promo_banner_left-second-category.jpg'
45
- - subtitle: Special Offers
46
- title: Get up to 30% off
47
- url: /t/special-offers/30-percent-off
48
- image: 'meganav/promo_banner_right-second-category.jpg'
49
- - title: Sportswear
50
- subtitle: Categories
51
- url: /t/sportswear
52
- items:
53
- - :title: Tops
54
- :url: /t/sportswear/tops
55
- - :title: Sweatshirts
56
- :url: /t/sportswear/sweatshirts
57
- - :title: Pants
58
- :url: /t/sportswear/pants
59
- promo_banners:
60
- - subtitle: New collection
61
- title: Summer 2021
62
- url: /t/new-collection/summer-2021
63
- image: 'meganav/promo_banner_left-third-category.jpg'
64
- - subtitle: Special Offers
65
- title: Get up to 30% off
66
- url: /t/special-offers/30-percent-off
67
- image: 'meganav/promo_banner_right-third-category.jpg'
68
- fr:
69
- navigation:
70
- - title: Femmes
71
- url: /fr/t/women
72
- promo_banners:
73
- - subtitle: Nouvelle collection
74
- title: Été 2021
75
- url: /fr/t/new-collection/summer-2021
76
- image: 'meganav/promo_banner_left-first-category.jpg'
77
- - subtitle: Offres spéciales
78
- url: /fr/t/special-offers/30-percent-off
79
- image: 'meganav/promo_banner_right-first-category.jpg'
80
- - title: Hommes
81
- url: /fr/t/men
82
- promo_banners:
83
- - subtitle: Nouvelle collection
84
- title: Été 2021
85
- url: /fr/t/new-collection/summer-2021
86
- image: 'meganav/promo_banner_left-second-category.jpg'
87
- - subtitle: Offres spéciales
88
- url: /fr/t/special-offers/30-percent-off
89
- image: 'meganav/promo_banner_right-second-category.jpg'
90
- - title: Vêtements de sport
91
- url: /fr/t/sportswear
92
- promo_banners:
93
- - subtitle: Nouvelle collection
94
- title: Été 2021
95
- url: /fr/t/new-collection/summer-2021
96
- image: 'meganav/promo_banner_left-third-category.jpg'
97
- - subtitle: Offres spéciales
98
- url: /fr/t/special-offers/30-percent-off
99
- image: 'meganav/promo_banner_right-third-category.jpg'