spree_storefront 5.1.8 → 5.2.0.rc1

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 (94) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/spree/account/newsletter_controller.rb +2 -0
  3. data/app/controllers/spree/errors_controller.rb +21 -0
  4. data/app/controllers/spree/newsletter_subscribers_controller.rb +27 -13
  5. data/app/controllers/spree/policies_controller.rb +2 -20
  6. data/app/controllers/spree/store_controller.rb +2 -2
  7. data/app/helpers/spree/page_helper.rb +38 -2
  8. data/app/helpers/spree/payment_methods_helper.rb +7 -0
  9. data/app/helpers/spree/storefront_helper.rb +18 -0
  10. data/app/helpers/spree/theme_helper.rb +10 -2
  11. data/app/helpers/spree/turbo_helper.rb +2 -1
  12. data/app/javascript/spree/storefront/application.js +1 -0
  13. data/app/javascript/spree/storefront/controllers/prefetch_lazy_controller.js +26 -0
  14. data/app/javascript/spree/storefront/controllers/toggle_menu_controller.js +0 -1
  15. data/app/views/layouts/spree/storefront.html.erb +5 -14
  16. data/app/views/spree/checkout/_footer.html.erb +14 -9
  17. data/app/views/spree/checkout/_line_items.html.erb +2 -2
  18. data/app/views/spree/checkout/_missing_line_items.html.erb +1 -1
  19. data/app/views/spree/checkout/_payment_method.html.erb +15 -0
  20. data/app/views/spree/checkout/_payment_methods.html.erb +1 -18
  21. data/app/views/spree/checkout/_summary.html.erb +3 -3
  22. data/app/views/spree/checkout/payment/_gateway.html.erb +3 -3
  23. data/app/views/spree/errors/403.html.erb +7 -0
  24. data/app/views/spree/errors/403.json.erb +1 -0
  25. data/app/views/spree/errors/404.html.erb +7 -0
  26. data/app/views/spree/errors/404.json.erb +1 -0
  27. data/app/views/spree/errors/422.html.erb +7 -0
  28. data/app/views/spree/errors/422.json.erb +1 -0
  29. data/app/views/spree/errors/500.html.erb +7 -0
  30. data/app/views/spree/errors/500.json.erb +1 -0
  31. data/app/views/spree/errors/503.html.erb +7 -0
  32. data/app/views/spree/errors/503.json.erb +1 -0
  33. data/app/views/spree/home/index.html.erb +3 -1
  34. data/app/views/spree/newsletter_subscribers/create.turbo_stream.erb +1 -1
  35. data/app/views/themes/default/spree/account/_orders.html.erb +1 -1
  36. data/app/views/themes/default/spree/account/addresses/index.html.erb +1 -1
  37. data/app/views/themes/default/spree/account/gift_cards/index.html.erb +1 -1
  38. data/app/views/themes/default/spree/account/store_credits/index.html.erb +1 -1
  39. data/app/views/themes/default/spree/metafields/_boolean.html.erb +5 -0
  40. data/app/views/themes/default/spree/metafields/_json.html.erb +3 -0
  41. data/app/views/themes/default/spree/metafields/_long_text.html.erb +1 -0
  42. data/app/views/themes/default/spree/metafields/_number.html.erb +1 -0
  43. data/app/views/themes/default/spree/metafields/_rich_text.html.erb +1 -0
  44. data/app/views/themes/default/spree/metafields/_short_text.html.erb +1 -0
  45. data/app/views/themes/default/spree/orders/_cart.html.erb +1 -1
  46. data/app/views/themes/default/spree/orders/_line_item.html.erb +1 -1
  47. data/app/views/themes/default/spree/page_sections/_announcement_bar.html.erb +1 -1
  48. data/app/views/themes/default/spree/page_sections/_breadcrumbs.html.erb +18 -0
  49. data/app/views/themes/default/spree/page_sections/_custom_code.html.erb +1 -1
  50. data/app/views/themes/default/spree/page_sections/_featured_posts.html.erb +1 -1
  51. data/app/views/themes/default/spree/page_sections/_featured_taxon.html.erb +1 -1
  52. data/app/views/themes/default/spree/page_sections/_featured_taxons.html.erb +1 -1
  53. data/app/views/themes/default/spree/page_sections/_footer.html.erb +2 -2
  54. data/app/views/themes/default/spree/page_sections/_header.html.erb +140 -139
  55. data/app/views/themes/default/spree/page_sections/_image_banner.html.erb +5 -4
  56. data/app/views/themes/default/spree/page_sections/_image_with_text.html.erb +3 -2
  57. data/app/views/themes/default/spree/page_sections/_newsletter.html.erb +43 -39
  58. data/app/views/themes/default/spree/page_sections/_page_title.html.erb +1 -1
  59. data/app/views/themes/default/spree/page_sections/_product_details.html.erb +47 -66
  60. data/app/views/themes/default/spree/page_sections/_rich_text.html.erb +1 -1
  61. data/app/views/themes/default/spree/page_sections/_taxon_banner.html.erb +1 -1
  62. data/app/views/themes/default/spree/page_sections/_taxon_grid.html.erb +1 -1
  63. data/app/views/themes/default/spree/page_sections/_video.html.erb +1 -1
  64. data/app/views/themes/default/spree/page_sections/nav/_desktop.html.erb +1 -1
  65. data/app/views/themes/default/spree/page_sections/nav/_mobile.html.erb +4 -9
  66. data/app/views/themes/default/spree/policies/show.html.erb +8 -9
  67. data/app/views/themes/default/spree/products/_add_to_waitlist.html.erb +3 -3
  68. data/app/views/themes/default/spree/products/_breadcrumbs.html.erb +1 -1
  69. data/app/views/themes/default/spree/products/_color_swatches.html.erb +2 -2
  70. data/app/views/themes/default/spree/products/_description.html.erb +11 -0
  71. data/app/views/themes/default/spree/products/_details.html.erb +2 -2
  72. data/app/views/themes/default/spree/products/_featured_image.html.erb +2 -8
  73. data/app/views/themes/default/spree/products/_media_gallery.html.erb +1 -1
  74. data/app/views/themes/default/spree/products/_metafields.html.erb +18 -0
  75. data/app/views/themes/default/spree/products/_quantity_selector.html.erb +1 -2
  76. data/app/views/themes/default/spree/settings/show.html.erb +2 -2
  77. data/app/views/themes/default/spree/shared/_address.html.erb +1 -1
  78. data/app/views/themes/default/spree/shared/_css_variables.html.erb +1 -1
  79. data/app/views/themes/default/spree/shared/_json_ld.html.erb +1 -1
  80. data/app/views/themes/default/spree/shared/_logo.html.erb +2 -9
  81. data/app/views/themes/default/spree/shared/_meta_tags.html.erb +6 -2
  82. data/app/views/themes/default/spree/shared/_order_details.html.erb +2 -2
  83. data/app/views/themes/default/spree/shared/_order_shipment.html.erb +1 -1
  84. data/app/views/themes/default/spree/wishlists/show.html.erb +1 -1
  85. data/config/initializers/assets.rb +3 -1
  86. data/config/locales/en.yml +5 -2
  87. data/config/routes.rb +9 -1
  88. data/lib/generators/spree/storefront/install/install_generator.rb +2 -1
  89. data/lib/generators/spree/storefront/install/templates/{application.tailwind.css → application.css} +105 -14
  90. data/lib/generators/spree/storefront/install/templates/tailwind.config.js +3 -114
  91. data/lib/spree/storefront/configuration.rb +3 -0
  92. data/lib/spree/storefront/engine.rb +5 -3
  93. data/lib/spree/storefront.rb +1 -3
  94. metadata +43 -34
@@ -1,10 +1,107 @@
1
- @import url("https://esm.sh/swiper@11.2.2/swiper-bundle.min.css");
2
- @import url("https://esm.sh/flag-icons@7.3.2/css/flag-icons.min.css");
1
+ @import url('https://esm.sh/swiper@11.2.2/swiper-bundle.min.css');
2
+ @import url('https://esm.sh/flag-icons@7.3.2/css/flag-icons.min.css');
3
+
4
+ @import 'tailwindcss';
5
+ @plugin "@tailwindcss/typography";
6
+ @plugin "@tailwindcss/forms";
7
+ @plugin "@tailwindcss/aspect-ratio";
8
+
9
+ /* Link to JS config for content paths */
10
+ @config '../../../config/tailwind.config.js';
11
+
12
+ /* Tailwind v4 Base Layer - Set default border color */
13
+ @layer base {
14
+ *, ::after, ::before, ::backdrop, ::file-selector-button {
15
+ border-color: var(--border-default-color, currentColor);
16
+ }
17
+ }
18
+
19
+ /* Tailwind v4 Theme Configuration */
20
+ @theme {
21
+ /* Custom Colors */
22
+ --color-primary: var(--primary);
23
+ --color-accent: var(--accent);
24
+ --color-neutral: var(--neutral);
25
+ --color-danger: var(--danger);
26
+ --color-success: var(--success);
27
+
28
+ --color-accent-100: var(--accent-100);
29
+ --color-neutral-50: var(--neutral-50);
30
+ --color-neutral-100: var(--neutral-100);
31
+ --color-neutral-200: var(--neutral-200);
32
+ --color-neutral-300: var(--neutral-300);
33
+ --color-neutral-400: var(--neutral-400);
34
+ --color-neutral-500: var(--neutral-500);
35
+ --color-neutral-600: var(--neutral-600);
36
+ --color-neutral-700: var(--neutral-700);
37
+ --color-neutral-800: var(--neutral-800);
38
+ --color-neutral-900: var(--neutral-900);
39
+
40
+ --color-background: var(--background);
41
+ --color-section-background: var(--section-background, var(--background));
42
+ --color-text: var(--text);
43
+
44
+ --color-button: rgba(var(--button-rgb), <alpha-value>);
45
+ --color-button-text: var(--button-text);
46
+ --color-button-hover: var(--button-hover);
47
+ --color-button-hover-text: var(--button-hover-text);
48
+
49
+ --color-secondary-button: var(--secondary-button);
50
+ --color-secondary-button-text: var(--secondary-button-text);
51
+ --color-secondary-button-hover: var(--secondary-button-hover);
52
+ --color-secondary-button-hover-text: var(--secondary-button-hover-text);
53
+
54
+ --color-button-light: var(--button-light);
55
+ --color-button-light-text: var(--button-light-text);
56
+ --color-button-light-hover: var(--button-light-hover);
57
+ --color-button-light-hover-text: var(--button-light-hover-text);
58
+
59
+ --color-input: var(--input);
60
+ --color-input-bg: var(--input-bg);
61
+ --color-input-text: var(--input-text);
62
+ --color-input-focus: var(--input-focus);
63
+ --color-input-focus-bg: var(--input-focus-bg);
64
+ --color-input-focus-text: var(--input-focus-text);
65
+
66
+ /* Letter Spacing */
67
+ --letter-spacing-widest: 0.07rem;
68
+
69
+ /* Animations */
70
+ --animate-fadeIn: fadeIn 0.5s ease-in-out;
71
+
72
+ /* Typography - Prose Colors */
73
+ --prose-body: var(--text);
74
+ --prose-headings: var(--text);
75
+ --prose-bold: var(--text);
76
+ --prose-links: var(--text);
77
+ --prose-counters: var(--text);
78
+ --prose-bullets: var(--text);
79
+ --prose-lead: var(--text);
80
+ --prose-hr: var(--border-default-color);
81
+ --prose-th-borders: var(--border-default-color);
82
+ --prose-td-borders: var(--border-default-color);
83
+ --prose-quote-borders: var(--border-default-color);
84
+ --prose-quotes: var(--text);
85
+ }
86
+
87
+ /* Define fadeIn keyframes for animation */
88
+ @keyframes fadeIn {
89
+ from {
90
+ opacity: 0;
91
+ }
92
+ to {
93
+ opacity: 1;
94
+ }
95
+ }
96
+
97
+ /* Custom Variants */
3
98
 
4
- @tailwind base;
5
- @tailwind components;
6
- @tailwind utilities;
7
- @tailwind forms;
99
+ /* Variant for scrollbar rounded */
100
+ @variant scrollbar {
101
+ &::-webkit-scrollbar {
102
+ @slot;
103
+ }
104
+ }
8
105
 
9
106
  /*
10
107
  This is the storefront CSS
@@ -167,10 +264,6 @@ textarea.text-input {
167
264
  }
168
265
  .menu-item:focus {
169
266
  outline: none;
170
- padding-left: 0.5rem;
171
- padding-right: 0.5rem;
172
- margin-left: -0.5rem;
173
- margin-right: -0.5rem;
174
267
  border-radius: var(--button-border-radius);
175
268
  }
176
269
 
@@ -444,9 +537,6 @@ textarea.text-input {
444
537
  background-color: var(--text);
445
538
  }
446
539
 
447
- a:hover {
448
- }
449
-
450
540
  .delivery-list-item:last-child {
451
541
  border-radius: 0.375rem !important;
452
542
  }
@@ -1122,6 +1212,7 @@ html[aria-busy="true"] .hide-on-load {
1122
1212
  opacity: 1;
1123
1213
  transition: all 0.2s;
1124
1214
  visibility: visible;
1215
+ margin-bottom: 1rem;
1125
1216
  }
1126
1217
 
1127
1218
  .st-accordion button {
@@ -1607,7 +1698,7 @@ html[aria-busy="true"] .hide-on-load {
1607
1698
  }
1608
1699
 
1609
1700
  /* PDP properties */
1610
- .product-property {
1701
+ .product-property, .product-metafield {
1611
1702
  ul {
1612
1703
  list-style: disc;
1613
1704
  padding-left: 2rem;
@@ -1,5 +1,5 @@
1
- const defaultTheme = require('tailwindcss/defaultTheme')
2
-
1
+ // Tailwind CSS v4 - Minimal config for content paths only
2
+ // Theme configuration has been moved to app/assets/tailwind/application.css
3
3
  module.exports = {
4
4
  content: [
5
5
  'public/*.html',
@@ -13,116 +13,5 @@ module.exports = {
13
13
  process.env.SPREE_STOREFRONT_PATH + '/app/views/themes/**/*.erb',
14
14
  process.env.SPREE_STOREFRONT_PATH + '/app/views/spree/**/*.erb',
15
15
  process.env.SPREE_STOREFRONT_PATH + '/app/views/devise/**/*.erb'
16
- ],
17
- plugins: [
18
- require('@tailwindcss/typography'),
19
- require('@tailwindcss/forms'),
20
- require('@tailwindcss/aspect-ratio')
21
- ],
22
- variants: {
23
- scrollbar: ['rounded']
24
- },
25
- safelist: [
26
- 'hidden',
27
- 'lg:grid',
28
- 'grid',
29
- 'text-xs',
30
- 'text-sm',
31
- 'text-base',
32
- 'text-lg',
33
- 'text-xl',
34
- 'text-2xl',
35
- 'text-3xl',
36
- 'text-4xl',
37
- 'text-left',
38
- 'text-right',
39
- 'text-center',
40
- 'cursor-wait',
41
- 'lg:sr-only'
42
- ],
43
- theme: {
44
- extend: {
45
- fontFamily: {
46
- body: ['var(--font-body)', ...defaultTheme.fontFamily.sans]
47
- },
48
- screens: {
49
- lg: { raw: '(min-width: 1024px) { &:not(.force-mobile-view *) }' }
50
- },
51
- animation: {
52
- fadeIn: 'fadeIn 0.5s ease-in-out'
53
- },
54
- keyframes: {
55
- fadeIn: {
56
- '0%': { opacity: 0 },
57
- '100%': { opacity: 1 }
58
- }
59
- },
60
- colors: {
61
- primary: 'var(--primary)',
62
- accent: 'var(--accent)',
63
- neutral: 'var(--neutral)',
64
- danger: 'var(--danger)',
65
- success: 'var(--success)',
66
-
67
- 'accent-100': 'var(--accent-100)',
68
- 'neutral-50': 'var(--neutral-50)',
69
- 'neutral-100': 'var(--neutral-100)',
70
- 'neutral-200': 'var(--neutral-200)',
71
- 'neutral-300': 'var(--neutral-300)',
72
- 'neutral-400': 'var(--neutral-400)',
73
- 'neutral-500': 'var(--neutral-500)',
74
- 'neutral-600': 'var(--neutral-600)',
75
- 'neutral-700': 'var(--neutral-700)',
76
- 'neutral-800': 'var(--neutral-800)',
77
- 'neutral-900': 'var(--neutral-900)',
78
-
79
- background: 'var(--background)',
80
- 'section-background': 'var(--section-background, var(--background))',
81
- text: 'var(--text)',
82
-
83
- button: 'rgba(var(--button-rgb), <alpha-value>)',
84
- 'button-text': 'var(--button-text)',
85
- 'button-hover': 'var(--button-hover)',
86
- 'button-hover-text': 'var(--button-hover-text)',
87
-
88
- 'secondary-button': 'var(--secondary-button)',
89
- 'secondary-button-text': 'var(--secondary-button-text)',
90
- 'secondary-button-hover': 'var(--secondary-button-hover)',
91
- 'secondary-button-hover-text': 'var(--secondary-button-hover-text)',
92
-
93
- 'button-light': 'var(--button-light)',
94
- 'button-light-text': 'var(--button-light-text)',
95
- 'button-light-hover': 'var(--button-light-hover)',
96
- 'button-light-hover-text': 'var(--button-light-hover-text)',
97
-
98
- input: 'var(--input)',
99
- 'input-bg': 'var(--input-bg)',
100
- 'input-text': 'var(--input-text)',
101
- 'input-focus': 'var(--input-focus)',
102
- 'input-focus-bg': 'var(--input-focus-bg)',
103
- 'input-focus-text': 'var(--input-focus-text)'
104
- },
105
- letterSpacing: {
106
- widest: '0.07rem'
107
- },
108
- typography: {
109
- DEFAULT: {
110
- css: {
111
- '--tw-prose-body': 'var(--text)',
112
- '--tw-prose-headings': 'var(--text)',
113
- '--tw-prose-bold': 'var(--text)',
114
- '--tw-prose-links': 'var(--text)',
115
- '--tw-prose-counters': 'var(--text)',
116
- '--tw-prose-bullets': 'var(--text)',
117
- '--tw-prose-lead': 'var(--text)',
118
- '--tw-prose-hr': 'var(--border-default-color)',
119
- '--tw-prose-th-borders': 'var(--border-default-color)',
120
- '--tw-prose-td-borders': 'var(--border-default-color)',
121
- '--tw-prose-quote-borders': 'var(--border-default-color)',
122
- '--tw-prose-quotes': 'var(--text)'
123
- }
124
- }
125
- }
126
- }
127
- }
16
+ ]
128
17
  }
@@ -3,6 +3,9 @@ require 'spree/core/preferences/runtime_configuration'
3
3
  module Spree
4
4
  module Storefront
5
5
  class Configuration < ::Spree::Preferences::RuntimeConfiguration
6
+ preference :page_cache_enabled, :boolean, default: true
7
+ preference :page_cache_ttl, :integer, default: 10.minutes.to_i
8
+
6
9
  preference :products_per_page, :integer, default: 20
7
10
 
8
11
  preference :search_min_query_length, :integer, default: 2
@@ -27,9 +27,11 @@ module Spree
27
27
  end
28
28
 
29
29
  initializer 'spree.storefront.assets' do |app|
30
- app.config.assets.paths << root.join('app/javascript')
31
- app.config.assets.paths << root.join('vendor/javascript')
32
- app.config.assets.precompile += %w[spree_storefront_manifest]
30
+ if app.config.respond_to?(:assets)
31
+ app.config.assets.paths << root.join('app/javascript')
32
+ app.config.assets.paths << root.join('vendor/javascript')
33
+ app.config.assets.precompile += %w[spree_storefront_manifest]
34
+ end
33
35
  end
34
36
 
35
37
  initializer 'spree.storefront.importmap', before: 'importmap' do |app|
@@ -1,16 +1,14 @@
1
1
  require 'spree_core'
2
2
 
3
- require 'sprockets/railtie'
4
-
5
3
  require 'active_link_to'
6
4
  require 'canonical-rails'
7
5
  require 'heroicon'
8
6
  require 'importmap-rails'
9
7
  require 'local_time'
10
8
  require 'mail_form'
11
- require 'payment_icons'
12
9
  require 'stimulus-rails'
13
10
  require 'tailwindcss-rails'
14
11
  require 'turbo-rails'
12
+ require 'inline_svg'
15
13
 
16
14
  require 'spree/storefront/engine'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_storefront
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.8
4
+ version: 5.2.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vendo Connect Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-30 00:00:00.000000000 Z
11
+ date: 2025-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree_core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 5.1.8
19
+ version: 5.2.0.rc1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 5.1.8
26
+ version: 5.2.0.rc1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: active_link_to
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -81,35 +81,35 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: local_time
84
+ name: inline_svg
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '3.0'
89
+ version: '1.10'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '3.0'
96
+ version: '1.10'
97
97
  - !ruby/object:Gem::Dependency
98
- name: mail_form
98
+ name: local_time
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: '3.0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '0'
110
+ version: '3.0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: payment_icons
112
+ name: mail_form
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
@@ -122,20 +122,6 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
- - !ruby/object:Gem::Dependency
126
- name: sprockets
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- version: '4.0'
132
- type: :runtime
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- version: '4.0'
139
125
  - !ruby/object:Gem::Dependency
140
126
  name: stimulus-rails
141
127
  requirement: !ruby/object:Gem::Requirement
@@ -168,16 +154,16 @@ dependencies:
168
154
  name: tailwindcss-ruby
169
155
  requirement: !ruby/object:Gem::Requirement
170
156
  requirements:
171
- - - "~>"
157
+ - - ">="
172
158
  - !ruby/object:Gem::Version
173
- version: 3.4.17
159
+ version: '0'
174
160
  type: :runtime
175
161
  prerelease: false
176
162
  version_requirements: !ruby/object:Gem::Requirement
177
163
  requirements:
178
- - - "~>"
164
+ - - ">="
179
165
  - !ruby/object:Gem::Version
180
- version: 3.4.17
166
+ version: '0'
181
167
  - !ruby/object:Gem::Dependency
182
168
  name: turbo-rails
183
169
  requirement: !ruby/object:Gem::Requirement
@@ -219,6 +205,7 @@ files:
219
205
  - app/controllers/spree/checkout_controller.rb
220
206
  - app/controllers/spree/contacts_controller.rb
221
207
  - app/controllers/spree/digital_links_controller.rb
208
+ - app/controllers/spree/errors_controller.rb
222
209
  - app/controllers/spree/home_controller.rb
223
210
  - app/controllers/spree/line_items_controller.rb
224
211
  - app/controllers/spree/newsletter_subscribers_controller.rb
@@ -246,6 +233,7 @@ files:
246
233
  - app/helpers/spree/fonts_helper.rb
247
234
  - app/helpers/spree/orders_helper.rb
248
235
  - app/helpers/spree/page_helper.rb
236
+ - app/helpers/spree/payment_methods_helper.rb
249
237
  - app/helpers/spree/posts_helper.rb
250
238
  - app/helpers/spree/products_helper.rb
251
239
  - app/helpers/spree/storefront_helper.rb
@@ -276,6 +264,7 @@ files:
276
264
  - app/javascript/spree/storefront/controllers/no_ui_slider_controller.js
277
265
  - app/javascript/spree/storefront/controllers/pdp_desktop_gallery_controller.js
278
266
  - app/javascript/spree/storefront/controllers/plp_variant_picker_controller.js
267
+ - app/javascript/spree/storefront/controllers/prefetch_lazy_controller.js
279
268
  - app/javascript/spree/storefront/controllers/product_form_controller.js
280
269
  - app/javascript/spree/storefront/controllers/quantity_picker_controller.js
281
270
  - app/javascript/spree/storefront/controllers/search_suggestions_controller.js
@@ -322,6 +311,7 @@ files:
322
311
  - app/views/spree/checkout/_missing_line_items.html.erb
323
312
  - app/views/spree/checkout/_order_lock_version.html.erb
324
313
  - app/views/spree/checkout/_payment.html.erb
314
+ - app/views/spree/checkout/_payment_method.html.erb
325
315
  - app/views/spree/checkout/_payment_methods.html.erb
326
316
  - app/views/spree/checkout/_payment_sources.html.erb
327
317
  - app/views/spree/checkout/_quick_checkout.html.erb
@@ -340,6 +330,16 @@ files:
340
330
  - app/views/spree/checkout/remove_coupon_code.turbo_stream.erb
341
331
  - app/views/spree/checkout/remove_store_credit.turbo_stream.erb
342
332
  - app/views/spree/checkout/update.turbo_stream.erb
333
+ - app/views/spree/errors/403.html.erb
334
+ - app/views/spree/errors/403.json.erb
335
+ - app/views/spree/errors/404.html.erb
336
+ - app/views/spree/errors/404.json.erb
337
+ - app/views/spree/errors/422.html.erb
338
+ - app/views/spree/errors/422.json.erb
339
+ - app/views/spree/errors/500.html.erb
340
+ - app/views/spree/errors/500.json.erb
341
+ - app/views/spree/errors/503.html.erb
342
+ - app/views/spree/errors/503.json.erb
343
343
  - app/views/spree/home/index.html.erb
344
344
  - app/views/spree/line_items/create.turbo_stream.erb
345
345
  - app/views/spree/line_items/destroy.turbo_stream.erb
@@ -396,6 +396,12 @@ files:
396
396
  - app/views/themes/default/spree/account/store_credits/index.html.erb
397
397
  - app/views/themes/default/spree/checkout/complete.html.erb
398
398
  - app/views/themes/default/spree/contacts/new.html.erb
399
+ - app/views/themes/default/spree/metafields/_boolean.html.erb
400
+ - app/views/themes/default/spree/metafields/_json.html.erb
401
+ - app/views/themes/default/spree/metafields/_long_text.html.erb
402
+ - app/views/themes/default/spree/metafields/_number.html.erb
403
+ - app/views/themes/default/spree/metafields/_rich_text.html.erb
404
+ - app/views/themes/default/spree/metafields/_short_text.html.erb
399
405
  - app/views/themes/default/spree/orders/_cart.html.erb
400
406
  - app/views/themes/default/spree/orders/_empty.html.erb
401
407
  - app/views/themes/default/spree/orders/_line_item.html.erb
@@ -404,6 +410,7 @@ files:
404
410
  - app/views/themes/default/spree/orders/edit.html.erb
405
411
  - app/views/themes/default/spree/orders/show.html.erb
406
412
  - app/views/themes/default/spree/page_sections/_announcement_bar.html.erb
413
+ - app/views/themes/default/spree/page_sections/_breadcrumbs.html.erb
407
414
  - app/views/themes/default/spree/page_sections/_custom_code.html.erb
408
415
  - app/views/themes/default/spree/page_sections/_featured_posts.html.erb
409
416
  - app/views/themes/default/spree/page_sections/_featured_product.html.erb
@@ -438,6 +445,7 @@ files:
438
445
  - app/views/themes/default/spree/products/_breadcrumbs.html.erb
439
446
  - app/views/themes/default/spree/products/_color_picker.html.erb
440
447
  - app/views/themes/default/spree/products/_color_swatches.html.erb
448
+ - app/views/themes/default/spree/products/_description.html.erb
441
449
  - app/views/themes/default/spree/products/_details.html.erb
442
450
  - app/views/themes/default/spree/products/_featured_image.html.erb
443
451
  - app/views/themes/default/spree/products/_filters.html.erb
@@ -446,6 +454,7 @@ files:
446
454
  - app/views/themes/default/spree/products/_json_ld_variant.html.erb
447
455
  - app/views/themes/default/spree/products/_label.html.erb
448
456
  - app/views/themes/default/spree/products/_media_gallery.html.erb
457
+ - app/views/themes/default/spree/products/_metafields.html.erb
449
458
  - app/views/themes/default/spree/products/_price.html.erb
450
459
  - app/views/themes/default/spree/products/_product.html.erb
451
460
  - app/views/themes/default/spree/products/_quantity_selector.html.erb
@@ -534,7 +543,7 @@ files:
534
543
  - lib/generators/spree/storefront/devise/templates/user_registrations_controller.rb
535
544
  - lib/generators/spree/storefront/devise/templates/user_sessions_controller.rb
536
545
  - lib/generators/spree/storefront/install/install_generator.rb
537
- - lib/generators/spree/storefront/install/templates/application.tailwind.css
546
+ - lib/generators/spree/storefront/install/templates/application.css
538
547
  - lib/generators/spree/storefront/install/templates/dev
539
548
  - lib/generators/spree/storefront/install/templates/tailwind.config.js
540
549
  - lib/generators/spree/storefront/theme/templates/model.rb.tt
@@ -562,9 +571,9 @@ licenses:
562
571
  - AGPL-3.0-or-later
563
572
  metadata:
564
573
  bug_tracker_uri: https://github.com/spree/spree/issues
565
- changelog_uri: https://github.com/spree/spree/releases/tag/v5.1.8
574
+ changelog_uri: https://github.com/spree/spree/releases/tag/v5.2.0.rc1
566
575
  documentation_uri: https://docs.spreecommerce.org/
567
- source_code_uri: https://github.com/spree/spree/tree/v5.1.8
576
+ source_code_uri: https://github.com/spree/spree/tree/v5.2.0.rc1
568
577
  post_install_message:
569
578
  rdoc_options: []
570
579
  require_paths: