easyorders 0.1.13 → 0.1.15

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 (40) hide show
  1. package/README.md +93 -93
  2. package/dist/bin/cli.js +12 -5
  3. package/dist/template/theme/config.json +95 -95
  4. package/dist/template/theme/home-sections/category-mosaic/config.json +40 -40
  5. package/dist/template/theme/home-sections/category-mosaic/template.liquid +155 -155
  6. package/dist/template/theme/home-sections/editorial-feature/config.json +67 -67
  7. package/dist/template/theme/home-sections/editorial-feature/template.liquid +153 -153
  8. package/dist/template/theme/home-sections/newsletter-luxe/config.json +60 -60
  9. package/dist/template/theme/home-sections/newsletter-luxe/template.liquid +144 -144
  10. package/dist/template/theme/home-sections/runway-hero/config.json +91 -91
  11. package/dist/template/theme/home-sections/runway-hero/template.liquid +159 -159
  12. package/dist/template/theme/home-sections/shop-the-look/config.json +75 -75
  13. package/dist/template/theme/home-sections/shop-the-look/template.liquid +304 -304
  14. package/dist/template/theme/home-sections/trust-promise/config.json +47 -47
  15. package/dist/template/theme/home-sections/trust-promise/template.liquid +96 -96
  16. package/dist/template/theme/schema.json +151 -151
  17. package/dist/template/theme/script.js +586 -586
  18. package/dist/template/theme/sections/breadcrumbs.liquid +17 -17
  19. package/dist/template/theme/sections/categories.liquid +9 -9
  20. package/dist/template/theme/sections/fake-counter.liquid +27 -27
  21. package/dist/template/theme/sections/fake-stock.liquid +6 -6
  22. package/dist/template/theme/sections/fake-visitor.liquid +6 -6
  23. package/dist/template/theme/sections/featured-products.liquid +110 -110
  24. package/dist/template/theme/sections/fixed-buy-button.liquid +46 -46
  25. package/dist/template/theme/sections/footer.liquid +128 -128
  26. package/dist/template/theme/sections/gallery.liquid +61 -61
  27. package/dist/template/theme/sections/header.liquid +152 -152
  28. package/dist/template/theme/sections/home-products-grid.liquid +109 -109
  29. package/dist/template/theme/sections/list-products.liquid +93 -93
  30. package/dist/template/theme/sections/order-invoice.liquid +154 -154
  31. package/dist/template/theme/sections/product-description.liquid +30 -30
  32. package/dist/template/theme/sections/product-details.liquid +63 -63
  33. package/dist/template/theme/sections/products-grid.liquid +86 -86
  34. package/dist/template/theme/sections/related-products.liquid +88 -88
  35. package/dist/template/theme/sections/reviews.liquid +55 -55
  36. package/dist/template/theme/sections/slider.liquid +43 -43
  37. package/dist/template/theme/sections/thanks.liquid +33 -33
  38. package/dist/template/theme/style.css +3923 -3923
  39. package/dist/template/theme/theme-data.json +9 -9
  40. package/package.json +40 -40
@@ -1,144 +1,144 @@
1
- <section
2
- class="newsletter-luxe"
3
- style="
4
- background: {{ section_data.bg_color | default: '#1A1814' }};
5
- color: {{ section_data.text_color | default: '#F4EEE6' }};
6
- --nl-btn: {{ section_data.button_color | default: '#C9A962' }};
7
- "
8
- >
9
- <div class="newsletter-luxe__inner">
10
- {% if section_data.headline != blank %}
11
- <h2 class="newsletter-luxe__title">{{ section_data.headline }}</h2>
12
- {% endif %}
13
- {% if section_data.body != blank %}
14
- <p class="newsletter-luxe__body">{{ section_data.body }}</p>
15
- {% endif %}
16
-
17
- <form
18
- class="newsletter-luxe__form"
19
- novalidate
20
- onsubmit="
21
- event.preventDefault();
22
- if (!this.checkValidity()) {
23
- this.reportValidity();
24
- return;
25
- }
26
- var input = this.elements.email;
27
- var email = input && input.value ? String(input.value).trim() : '';
28
- this.dispatchEvent(
29
- new CustomEvent('footer-subscribe', {
30
- bubbles: true,
31
- detail: { email: email }
32
- })
33
- );
34
- this.reset();
35
- "
36
- >
37
- <input
38
- class="newsletter-luxe__input"
39
- type="email"
40
- name="email"
41
- autocomplete="email"
42
- inputmode="email"
43
- maxlength="254"
44
- pattern="[^@\s]+@[^@\s]+\.[^@\s]+"
45
- title="Valid email required"
46
- required
47
- aria-required="true"
48
- aria-label="{{ section_data.placeholder | default: 'Email address' }}"
49
- placeholder="{{ section_data.placeholder | default: 'Email address' }}"
50
- />
51
- <button class="newsletter-luxe__submit" type="submit">
52
- {{ section_data.button_label | default: 'Join the list' }}
53
- </button>
54
- </form>
55
-
56
- {% if section_data.show_footnote and section_data.footnote != blank %}
57
- <p class="newsletter-luxe__fine">{{ section_data.footnote }}</p>
58
- {% endif %}
59
- </div>
60
- </section>
61
-
62
- <style>
63
- .newsletter-luxe {
64
- padding: clamp(2.75rem, 6vw, 4rem) 1.25rem;
65
- }
66
- .newsletter-luxe__inner {
67
- max-width: 520px;
68
- margin: 0 auto;
69
- text-align: center;
70
- display: flex;
71
- flex-direction: column;
72
- gap: 1.25rem;
73
- }
74
- .newsletter-luxe__title {
75
- margin: 0;
76
- font-family: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
77
- font-weight: 500;
78
- font-size: clamp(1.65rem, 4vw, 2.1rem);
79
- line-height: 1.2;
80
- }
81
- .newsletter-luxe__body {
82
- margin: 0;
83
- font-size: 1rem;
84
- line-height: 1.65;
85
- opacity: 0.88;
86
- }
87
- .newsletter-luxe__form {
88
- display: flex;
89
- flex-wrap: wrap;
90
- gap: 0.6rem;
91
- justify-content: center;
92
- margin-top: 0.25rem;
93
- }
94
- @media (min-width: 520px) {
95
- .newsletter-luxe__form {
96
- flex-wrap: nowrap;
97
- }
98
- }
99
- .newsletter-luxe__input {
100
- flex: 1 1 200px;
101
- min-width: 0;
102
- padding: 0.9rem 1.1rem;
103
- border-radius: 999px;
104
- border: 1px solid rgba(255, 255, 255, 0.18);
105
- background: rgba(255, 255, 255, 0.06);
106
- color: inherit;
107
- font-size: 0.95rem;
108
- outline: none;
109
- transition: border-color 0.2s ease, background 0.2s ease;
110
- }
111
- .newsletter-luxe__input::placeholder {
112
- color: rgba(244, 238, 230, 0.45);
113
- }
114
- .newsletter-luxe__input:focus {
115
- border-color: var(--nl-btn, #c9a962);
116
- background: rgba(255, 255, 255, 0.09);
117
- }
118
- .newsletter-luxe__submit {
119
- flex-shrink: 0;
120
- padding: 0.9rem 1.5rem;
121
- border-radius: 999px;
122
- border: none;
123
- cursor: pointer;
124
- font-size: 0.78rem;
125
- font-weight: 700;
126
- letter-spacing: 0.14em;
127
- text-transform: uppercase;
128
- background: var(--nl-btn, #c9a962);
129
- color: #141218;
130
- transition: transform 0.2s ease, box-shadow 0.2s ease;
131
- }
132
- .newsletter-luxe__submit:hover {
133
- transform: translateY(-1px);
134
- box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
135
- }
136
- .newsletter-luxe__fine {
137
- margin: 0;
138
- font-size: 0.72rem;
139
- line-height: 1.5;
140
- opacity: 0.55;
141
- max-width: 36rem;
142
- margin-inline: auto;
143
- }
144
- </style>
1
+ <section
2
+ class="newsletter-luxe"
3
+ style="
4
+ background: {{ section_data.bg_color | default: '#1A1814' }};
5
+ color: {{ section_data.text_color | default: '#F4EEE6' }};
6
+ --nl-btn: {{ section_data.button_color | default: '#C9A962' }};
7
+ "
8
+ >
9
+ <div class="newsletter-luxe__inner">
10
+ {% if section_data.headline != blank %}
11
+ <h2 class="newsletter-luxe__title">{{ section_data.headline }}</h2>
12
+ {% endif %}
13
+ {% if section_data.body != blank %}
14
+ <p class="newsletter-luxe__body">{{ section_data.body }}</p>
15
+ {% endif %}
16
+
17
+ <form
18
+ class="newsletter-luxe__form"
19
+ novalidate
20
+ onsubmit="
21
+ event.preventDefault();
22
+ if (!this.checkValidity()) {
23
+ this.reportValidity();
24
+ return;
25
+ }
26
+ var input = this.elements.email;
27
+ var email = input && input.value ? String(input.value).trim() : '';
28
+ this.dispatchEvent(
29
+ new CustomEvent('footer-subscribe', {
30
+ bubbles: true,
31
+ detail: { email: email }
32
+ })
33
+ );
34
+ this.reset();
35
+ "
36
+ >
37
+ <input
38
+ class="newsletter-luxe__input"
39
+ type="email"
40
+ name="email"
41
+ autocomplete="email"
42
+ inputmode="email"
43
+ maxlength="254"
44
+ pattern="[^@\s]+@[^@\s]+\.[^@\s]+"
45
+ title="Valid email required"
46
+ required
47
+ aria-required="true"
48
+ aria-label="{{ section_data.placeholder | default: 'Email address' }}"
49
+ placeholder="{{ section_data.placeholder | default: 'Email address' }}"
50
+ />
51
+ <button class="newsletter-luxe__submit" type="submit">
52
+ {{ section_data.button_label | default: 'Join the list' }}
53
+ </button>
54
+ </form>
55
+
56
+ {% if section_data.show_footnote and section_data.footnote != blank %}
57
+ <p class="newsletter-luxe__fine">{{ section_data.footnote }}</p>
58
+ {% endif %}
59
+ </div>
60
+ </section>
61
+
62
+ <style>
63
+ .newsletter-luxe {
64
+ padding: clamp(2.75rem, 6vw, 4rem) 1.25rem;
65
+ }
66
+ .newsletter-luxe__inner {
67
+ max-width: 520px;
68
+ margin: 0 auto;
69
+ text-align: center;
70
+ display: flex;
71
+ flex-direction: column;
72
+ gap: 1.25rem;
73
+ }
74
+ .newsletter-luxe__title {
75
+ margin: 0;
76
+ font-family: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
77
+ font-weight: 500;
78
+ font-size: clamp(1.65rem, 4vw, 2.1rem);
79
+ line-height: 1.2;
80
+ }
81
+ .newsletter-luxe__body {
82
+ margin: 0;
83
+ font-size: 1rem;
84
+ line-height: 1.65;
85
+ opacity: 0.88;
86
+ }
87
+ .newsletter-luxe__form {
88
+ display: flex;
89
+ flex-wrap: wrap;
90
+ gap: 0.6rem;
91
+ justify-content: center;
92
+ margin-top: 0.25rem;
93
+ }
94
+ @media (min-width: 520px) {
95
+ .newsletter-luxe__form {
96
+ flex-wrap: nowrap;
97
+ }
98
+ }
99
+ .newsletter-luxe__input {
100
+ flex: 1 1 200px;
101
+ min-width: 0;
102
+ padding: 0.9rem 1.1rem;
103
+ border-radius: 999px;
104
+ border: 1px solid rgba(255, 255, 255, 0.18);
105
+ background: rgba(255, 255, 255, 0.06);
106
+ color: inherit;
107
+ font-size: 0.95rem;
108
+ outline: none;
109
+ transition: border-color 0.2s ease, background 0.2s ease;
110
+ }
111
+ .newsletter-luxe__input::placeholder {
112
+ color: rgba(244, 238, 230, 0.45);
113
+ }
114
+ .newsletter-luxe__input:focus {
115
+ border-color: var(--nl-btn, #c9a962);
116
+ background: rgba(255, 255, 255, 0.09);
117
+ }
118
+ .newsletter-luxe__submit {
119
+ flex-shrink: 0;
120
+ padding: 0.9rem 1.5rem;
121
+ border-radius: 999px;
122
+ border: none;
123
+ cursor: pointer;
124
+ font-size: 0.78rem;
125
+ font-weight: 700;
126
+ letter-spacing: 0.14em;
127
+ text-transform: uppercase;
128
+ background: var(--nl-btn, #c9a962);
129
+ color: #141218;
130
+ transition: transform 0.2s ease, box-shadow 0.2s ease;
131
+ }
132
+ .newsletter-luxe__submit:hover {
133
+ transform: translateY(-1px);
134
+ box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
135
+ }
136
+ .newsletter-luxe__fine {
137
+ margin: 0;
138
+ font-size: 0.72rem;
139
+ line-height: 1.5;
140
+ opacity: 0.55;
141
+ max-width: 36rem;
142
+ margin-inline: auto;
143
+ }
144
+ </style>
@@ -1,91 +1,91 @@
1
- {
2
- "icon": "https://api.iconify.design/lucide:sparkles.svg",
3
- "label": "Runway hero",
4
- "section_schema": [
5
- {
6
- "name": "image",
7
- "type": "image",
8
- "default": "",
9
- "description": "Full-width background image"
10
- },
11
- {
12
- "name": "kicker",
13
- "type": "string",
14
- "default": "New season",
15
- "description": "Small line above the headline"
16
- },
17
- {
18
- "name": "headline",
19
- "type": "string",
20
- "default": "The spring edit",
21
- "description": "Main headline"
22
- },
23
- {
24
- "name": "subheadline",
25
- "type": "string",
26
- "default": "Silhouettes, textures, and tones curated for everyday luxury.",
27
- "description": "Supporting line under the headline"
28
- },
29
- {
30
- "name": "primary_label",
31
- "type": "string",
32
- "default": "Shop collection",
33
- "description": "Primary button label"
34
- },
35
- {
36
- "name": "primary_category_id",
37
- "type": "category_single_select",
38
- "description": "Collection the primary button links to (resolved on the storefront)"
39
- },
40
- {
41
- "name": "secondary_label",
42
- "type": "string",
43
- "default": "Lookbook",
44
- "description": "Secondary button label (hidden if empty)"
45
- },
46
- {
47
- "name": "secondary_page_id",
48
- "type": "page_single_select",
49
- "description": "Simple page the secondary button links to (when label is set)"
50
- },
51
- {
52
- "name": "overlay_strength",
53
- "type": "number",
54
- "default": 42,
55
- "description": "Dark overlay strength (0–100)"
56
- },
57
- {
58
- "name": "accent_color",
59
- "type": "color",
60
- "default": "#C9A962",
61
- "description": "Accent for buttons and kicker when no image"
62
- },
63
- {
64
- "name": "text_color",
65
- "type": "color",
66
- "default": "#FAF7F2",
67
- "description": "Hero text color"
68
- },
69
- {
70
- "name": "alignment",
71
- "type": "select",
72
- "default": "center",
73
- "description": "Content alignment",
74
- "options": [
75
- { "label": "Center", "value": "center" },
76
- { "label": "Left", "value": "left" }
77
- ]
78
- },
79
- {
80
- "name": "min_height",
81
- "type": "select",
82
- "default": "tall",
83
- "description": "Minimum height",
84
- "options": [
85
- { "label": "Compact", "value": "compact" },
86
- { "label": "Tall", "value": "tall" },
87
- { "label": "Near full screen", "value": "screen" }
88
- ]
89
- }
90
- ]
91
- }
1
+ {
2
+ "icon": "https://api.iconify.design/lucide:sparkles.svg",
3
+ "label": "Runway hero",
4
+ "section_schema": [
5
+ {
6
+ "name": "image",
7
+ "type": "image",
8
+ "default": "",
9
+ "description": "Full-width background image"
10
+ },
11
+ {
12
+ "name": "kicker",
13
+ "type": "string",
14
+ "default": "New season",
15
+ "description": "Small line above the headline"
16
+ },
17
+ {
18
+ "name": "headline",
19
+ "type": "string",
20
+ "default": "The spring edit",
21
+ "description": "Main headline"
22
+ },
23
+ {
24
+ "name": "subheadline",
25
+ "type": "string",
26
+ "default": "Silhouettes, textures, and tones curated for everyday luxury.",
27
+ "description": "Supporting line under the headline"
28
+ },
29
+ {
30
+ "name": "primary_label",
31
+ "type": "string",
32
+ "default": "Shop collection",
33
+ "description": "Primary button label"
34
+ },
35
+ {
36
+ "name": "primary_category_id",
37
+ "type": "category_single_select",
38
+ "description": "Collection the primary button links to (resolved on the storefront)"
39
+ },
40
+ {
41
+ "name": "secondary_label",
42
+ "type": "string",
43
+ "default": "Lookbook",
44
+ "description": "Secondary button label (hidden if empty)"
45
+ },
46
+ {
47
+ "name": "secondary_page_id",
48
+ "type": "page_single_select",
49
+ "description": "Simple page the secondary button links to (when label is set)"
50
+ },
51
+ {
52
+ "name": "overlay_strength",
53
+ "type": "number",
54
+ "default": 42,
55
+ "description": "Dark overlay strength (0–100)"
56
+ },
57
+ {
58
+ "name": "accent_color",
59
+ "type": "color",
60
+ "default": "#C9A962",
61
+ "description": "Accent for buttons and kicker when no image"
62
+ },
63
+ {
64
+ "name": "text_color",
65
+ "type": "color",
66
+ "default": "#FAF7F2",
67
+ "description": "Hero text color"
68
+ },
69
+ {
70
+ "name": "alignment",
71
+ "type": "select",
72
+ "default": "center",
73
+ "description": "Content alignment",
74
+ "options": [
75
+ { "label": "Center", "value": "center" },
76
+ { "label": "Left", "value": "left" }
77
+ ]
78
+ },
79
+ {
80
+ "name": "min_height",
81
+ "type": "select",
82
+ "default": "tall",
83
+ "description": "Minimum height",
84
+ "options": [
85
+ { "label": "Compact", "value": "compact" },
86
+ { "label": "Tall", "value": "tall" },
87
+ { "label": "Near full screen", "value": "screen" }
88
+ ]
89
+ }
90
+ ]
91
+ }