spree_frontend 4.1.3 → 4.1.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d86ff5e025b67089cf9392a93b84465d0c950f635e0aa64b853880434e379ad
4
- data.tar.gz: ed91603a662f3fc1e6d6a18d08748e5e1c0cc499607652b6b5cb7e8788eff4e2
3
+ metadata.gz: 2c953a108231a986a2298e2a51cfaea5520ba18100b1ad6a2f9b90f3e9019ff0
4
+ data.tar.gz: d4dfe20a874982c13793bc35e3a3718812b223b97e0955906fa5e07d96db3c95
5
5
  SHA512:
6
- metadata.gz: 7ee50ae2ae0a15cd68bf28f55820d528df630d9543301182027d60670f5e2ed1009476bd721b75c9c9be9870e2ecdd8ad82f808cd42346816a4e601a89f13200
7
- data.tar.gz: 92d1c2ef2541949d5116f84a28cf5b254b823cdf4fb2c6c07d7d9b2110968aa103d9d2e5e3779c3335f733c8e80e5e2f3017b66db1e1cc9a3c3dd0f64321189f
6
+ metadata.gz: 9fb7d2a689d7ffc0ba283542eeb62af36d79501b9d3db36d01315bad1ecc842a40e0e10724ac3f3669ee6bab70f300ac4f9e95f373716199347308ccaa3b1eb0
7
+ data.tar.gz: 1f12786620901d2bc41ed6d368c9e69db5e5afa1690275d891963e79b1207c442fc46dca9b8223abc2a87168af40ce3eae71c87111be183531f9462ff8154013
@@ -42,7 +42,7 @@
42
42
  }
43
43
  }
44
44
  &-continue-link {
45
- margin-top: 234px;
45
+ margin-top: 100px;
46
46
  margin-bottom: 30px;
47
47
  @include media-breakpoint-up(sm) {
48
48
  padding: 20px 12px;
@@ -1,6 +1,6 @@
1
1
  .plp {
2
2
  &-not-found-header {
3
- color: theme-color("dark-text");
3
+ color: $font-color;
4
4
  font-size: font-px-to-rem(18px);
5
5
  font-weight: 500;
6
6
  letter-spacing: 0.45px;
@@ -30,7 +30,7 @@
30
30
  }
31
31
 
32
32
  &-not-found-text {
33
- color: theme-color("dark-text");
33
+ color: $font-color;
34
34
  margin-bottom: 350px;
35
35
  font-size: font-px-to-rem(14px);
36
36
  font-weight: 500;
@@ -50,7 +50,7 @@
50
50
  height: 60px;
51
51
  display: flex;
52
52
  align-items: center;
53
- color: theme-color("dark-text");
53
+ color: $font-color;
54
54
  @include media-breakpoint-up("md") {
55
55
  font-size: font-px-to-rem(32px);
56
56
  }
@@ -68,7 +68,7 @@
68
68
  }
69
69
 
70
70
  &-buttons {
71
- color: theme-color("dark-text");
71
+ color: $font-color;
72
72
  display: flex;
73
73
  align-items: center;
74
74
  justify-content: space-between;
@@ -92,7 +92,7 @@
92
92
  top: $spree-plp-filter-desktop-position;
93
93
  left: 0;
94
94
  &-card {
95
- background-color: theme-color("light-background");
95
+ background-color: $primary-background;
96
96
  border: none;
97
97
  a:hover {
98
98
  text-decoration: none;
@@ -104,7 +104,7 @@
104
104
  }
105
105
  }
106
106
  &-header {
107
- background-color: theme-color("light-background");
107
+ background-color: $primary-background;
108
108
  border-color: $global-border-style;
109
109
  cursor: pointer;
110
110
  font-size: font-px-to-rem(17px);
@@ -125,7 +125,7 @@
125
125
  }
126
126
  &-item {
127
127
  border: solid 1px $second-global-border;
128
- color: theme-color("dark-text");
128
+ color: $font-color;
129
129
  font-size: font-px-to-rem(16px);
130
130
  font-weight: 500;
131
131
  &--selected {
@@ -154,7 +154,7 @@
154
154
  &-li--active {
155
155
  list-style: none;
156
156
  a {
157
- color: theme-color("dark-text");
157
+ color: $font-color;
158
158
  }
159
159
  }
160
160
  &-li--active {
@@ -186,7 +186,7 @@
186
186
  }
187
187
  }
188
188
  a {
189
- color: theme-color("dark-text");
189
+ color: $font-color;
190
190
  border-color: $global-border-style !important;
191
191
  padding: 5px 13px;
192
192
  min-width: 37px;
@@ -207,7 +207,7 @@
207
207
  }
208
208
 
209
209
  &-overlay {
210
- color: theme-color("dark-text");
210
+ color: $font-color;
211
211
  position: fixed;
212
212
  width: 100%;
213
213
  height: 100%;
@@ -216,7 +216,7 @@
216
216
  right: 0;
217
217
  bottom: 0;
218
218
  z-index: 999;
219
- background-color: theme-color("light-background");
219
+ background-color: $primary-background;
220
220
 
221
221
  &-header {
222
222
  height: 60px;
@@ -243,13 +243,13 @@
243
243
  height: 12px;
244
244
  margin-top: 2px;
245
245
  margin-left: 2px;
246
- background-color: theme-color("secondary");
247
- border: solid 1px theme-color("secondary");
246
+ background-color: $secondary-color;
247
+ border: solid 1px $secondary-color;
248
248
  border-radius: 50%;
249
249
  }
250
250
  }
251
251
  a {
252
- color: theme-color("dark-text");
252
+ color: $font-color;
253
253
  &:hover {
254
254
  text-decoration: none;
255
255
  }
@@ -263,25 +263,25 @@
263
263
  &-card {
264
264
  border: none;
265
265
  border-top: solid 1px $global-border-style;
266
- background-color: theme-color("light-background");
266
+ background-color: $primary-background;
267
267
  &-header.collapsed {
268
268
  .arrow {
269
269
  transform: rotate(90deg);
270
270
  }
271
271
  }
272
272
  &-header {
273
- background-color: theme-color("light-background");
273
+ background-color: $primary-background;
274
274
  border-bottom: none;
275
275
  cursor: pointer;
276
276
  &-arrow {
277
- color: theme-color("dark-test");
277
+ color: $font-color;
278
278
  transform: rotate(-90deg);
279
279
  }
280
280
  }
281
281
 
282
282
  &-item {
283
283
  border: solid 1px $second-global-border;
284
- color: theme-color("dark-text");
284
+ color: $font-color;
285
285
  font-size: font-px-to-rem(13px);
286
286
  &--selected {
287
287
  border: solid 2px $secondary-color;
@@ -295,19 +295,24 @@
295
295
  }
296
296
  }
297
297
  &-buttons {
298
- bottom: 30px;
298
+ background-color: $primary-background;
299
+ padding-bottom: 30px;
300
+ bottom: 0px;
299
301
  }
300
302
  }
301
303
 
302
304
  &-scroll {
303
305
  max-height: 100%;
304
306
  overflow-y: auto;
305
- padding-bottom: 140px;
307
+ padding-bottom: 150px;
308
+ @include media-breakpoint-up('sm') {
309
+ padding-bottom: 220px;
310
+ }
306
311
  }
307
312
 
308
313
  &-empty-dot {
309
- background-color: theme-color("light-background");
310
- border: solid 1px theme-color("secondary");
314
+ background-color: $primary-background;
315
+ border: solid 1px $secondary-color;
311
316
  border-radius: 50%;
312
317
  display: inline-block;
313
318
  margin-right: 16px;
@@ -55,7 +55,7 @@
55
55
  </div>
56
56
  <% end %>
57
57
 
58
- <div class="container position-absolute text-center mb-2 plp-overlay-buttons pt-3">
58
+ <div class="container position-absolute text-center plp-overlay-buttons pt-3">
59
59
  <%= link_to Spree.t('plp.clear_all'), permitted_params.select { |key, value| key == "sort_by"}, class: 'btn spree-btn btn-outline-primary w-100 mb-4' %>
60
60
  <%= link_to Spree.t('plp.done'), permitted_params, class: 'btn btn-primary spree-btn w-100' %>
61
61
  </div>
@@ -1,6 +1,6 @@
1
1
  <%# TODO: Use in cart %>
2
2
  <div class="d-flex quantity-select mx-auto mx-md-0">
3
3
  <%= button_tag '-', type: 'button', class: "border-right-0 flex-grow-0 flex-shrink-0 py-0 px-3 quantity-select-decrease" %>
4
- <%= number_field_tag input_name, 1, min: 1, class: "p-0 flex-grow-1 flex-shrink-1 text-center form-control border-left-0 border-right-0 quantity-select-value", 'aria-label': Spree.t('pdp.quantity') %>
4
+ <%= number_field_tag input_name, 1, min: 1, max: maximum_quantity, class: "p-0 flex-grow-1 flex-shrink-1 text-center form-control border-left-0 border-right-0 quantity-select-value", 'aria-label': Spree.t('pdp.quantity') %>
5
5
  <%= button_tag '+', type: 'button', class: "border-left-0 flex-grow-0 flex-shrink-0 py-0 px-3 quantity-select-increase" %>
6
6
  </div>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.3
4
+ version: 4.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-31 00:00:00.000000000 Z
11
+ date: 2020-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree_api
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.1.3
19
+ version: 4.1.4
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: 4.1.3
26
+ version: 4.1.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: spree_core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 4.1.3
33
+ version: 4.1.4
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 4.1.3
40
+ version: 4.1.4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bootstrap
43
43
  requirement: !ruby/object:Gem::Requirement