@ruebenfox/liquefaction 3.0.1 → 4.0.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.
@@ -0,0 +1,35 @@
1
+ {%- comment -%}
2
+ Component: lib-alpha
3
+ Type: snippet-component
4
+
5
+ Props (snake_case with leading underscore). Use a default filter to mark required:
6
+ - _price_content: string (required)
7
+ - _aria_label: string (optional)
8
+ - _price_id: string (optional)
9
+
10
+ Description
11
+ - @description: Show a products price.
12
+
13
+ Scope (theme contexts):
14
+ - @scope= product, collection, search, cart
15
+
16
+ Docs (inline prop descriptions):
17
+ - @prop _price: The products price to display.
18
+ - @prop _show_compare_at: Whether to show the compare at price.
19
+ - @prop _classes: Whether to show the compare at price.
20
+ {%- endcomment -%}
21
+
22
+ {% assign _price = _price | default: product.selected_or_first_available_variant.price %}
23
+ {% assign _classes = _classes | default: 'm-4' %}
24
+ {% assign _show_compare_at = _show_compare_at | default: true %}
25
+
26
+ <div class="price-wrap {{ _classes }}">
27
+ <span>
28
+ {{ _price | money }}
29
+ </span>
30
+ {%- if _show_compare_at and product.selected_or_first_available_variant.compare_at_price > product.selected_or_first_available_variant.price -%}
31
+ <span class="line-through ml-2">
32
+ {{ product.selected_or_first_available_variant.compare_at_price | money }}
33
+ </span>
34
+ {%- endif -%}
35
+ </div>
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "lib-alpha",
3
+ "type": "snippet-component",
4
+ "version": "0.0.2",
5
+ "description": "Show a products price.",
6
+ "primary": {
7
+ "path": "lib-alpha.liquid",
8
+ "hash": "3f9fbff105cb95633560314fec60e84f"
9
+ },
10
+ "files": [
11
+ {
12
+ "src": "components/lib-alpha/lib-alpha.liquid",
13
+ "destDir": "snippets",
14
+ "hash": "3f9fbff105cb95633560314fec60e84f"
15
+ }
16
+ ],
17
+ "assets": {},
18
+ "props": [
19
+ {
20
+ "name": "_price",
21
+ "type": "shopify_object",
22
+ "required": true,
23
+ "description": "The products price to display.",
24
+ "placeholder": "product.selected_or_first_available_variant.price"
25
+ },
26
+ {
27
+ "name": "_classes",
28
+ "type": "string",
29
+ "required": true,
30
+ "description": "Whether to show the compare at price.",
31
+ "placeholder": "m-4"
32
+ },
33
+ {
34
+ "name": "_show_compare_at",
35
+ "type": "boolean",
36
+ "required": true,
37
+ "description": "Whether to show the compare at price.",
38
+ "placeholder": "true"
39
+ }
40
+ ],
41
+ "dependencies": [],
42
+ "scope": [
43
+ "product",
44
+ "collection",
45
+ "search",
46
+ "cart"
47
+ ],
48
+ "registry": {
49
+ "createdAt": "2026-02-09T21:52:10.351Z",
50
+ "hash": "3f9fbff105cb95633560314fec60e84f"
51
+ },
52
+ "build": {
53
+ "lastAuditAt": "2026-02-09T21:53:55.349Z"
54
+ }
55
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruebenfox/liquefaction",
3
- "version": "3.0.1",
3
+ "version": "4.0.0",
4
4
  "bin": {
5
5
  "liq": "./bin/cli.js"
6
6
  },
package/registry.json CHANGED
@@ -33,7 +33,10 @@
33
33
  "2026-02-02T11:10:09.472Z",
34
34
  "2026-02-02T11:10:33.313Z",
35
35
  "2026-02-02T11:10:45.328Z",
36
- "2026-02-02T11:11:20.622Z"
36
+ "2026-02-02T11:11:20.622Z",
37
+ "2026-02-09T21:53:33.174Z",
38
+ "2026-02-09T21:53:55.370Z",
39
+ "2026-02-09T22:00:39.955Z"
37
40
  ],
38
41
  "props": [
39
42
  {
@@ -87,7 +90,10 @@
87
90
  "2026-02-02T11:10:09.494Z",
88
91
  "2026-02-02T11:10:33.330Z",
89
92
  "2026-02-02T11:10:45.344Z",
90
- "2026-02-02T11:11:20.641Z"
93
+ "2026-02-02T11:11:20.641Z",
94
+ "2026-02-09T21:53:33.199Z",
95
+ "2026-02-09T21:53:55.390Z",
96
+ "2026-02-09T22:00:39.973Z"
91
97
  ],
92
98
  "props": [],
93
99
  "files": [
@@ -135,7 +141,10 @@
135
141
  "2026-02-02T11:10:09.516Z",
136
142
  "2026-02-02T11:10:33.351Z",
137
143
  "2026-02-02T11:10:45.366Z",
138
- "2026-02-02T11:11:20.663Z"
144
+ "2026-02-02T11:11:20.663Z",
145
+ "2026-02-09T21:53:33.230Z",
146
+ "2026-02-09T21:53:55.415Z",
147
+ "2026-02-09T22:00:39.998Z"
139
148
  ],
140
149
  "props": [],
141
150
  "files": [
@@ -177,7 +186,10 @@
177
186
  "2026-02-02T11:10:09.507Z",
178
187
  "2026-02-02T11:10:33.343Z",
179
188
  "2026-02-02T11:10:45.357Z",
180
- "2026-02-02T11:11:20.655Z"
189
+ "2026-02-02T11:11:20.655Z",
190
+ "2026-02-09T21:53:33.218Z",
191
+ "2026-02-09T21:53:55.404Z",
192
+ "2026-02-09T22:00:39.988Z"
181
193
  ],
182
194
  "props": [],
183
195
  "files": [
@@ -223,7 +235,10 @@
223
235
  "2026-02-02T11:10:09.542Z",
224
236
  "2026-02-02T11:10:33.385Z",
225
237
  "2026-02-02T11:10:45.393Z",
226
- "2026-02-02T11:11:20.688Z"
238
+ "2026-02-02T11:11:20.688Z",
239
+ "2026-02-09T21:53:33.269Z",
240
+ "2026-02-09T21:53:55.443Z",
241
+ "2026-02-09T22:00:40.027Z"
227
242
  ],
228
243
  "props": [],
229
244
  "files": [
@@ -269,7 +284,10 @@
269
284
  "2026-02-02T11:10:09.538Z",
270
285
  "2026-02-02T11:10:33.380Z",
271
286
  "2026-02-02T11:10:45.390Z",
272
- "2026-02-02T11:11:20.685Z"
287
+ "2026-02-02T11:11:20.685Z",
288
+ "2026-02-09T21:53:33.263Z",
289
+ "2026-02-09T21:53:55.439Z",
290
+ "2026-02-09T22:00:40.022Z"
273
291
  ],
274
292
  "props": [
275
293
  {
@@ -364,7 +382,10 @@
364
382
  "2026-02-02T11:10:09.558Z",
365
383
  "2026-02-02T11:10:33.398Z",
366
384
  "2026-02-02T11:10:45.416Z",
367
- "2026-02-02T11:11:20.702Z"
385
+ "2026-02-02T11:11:20.702Z",
386
+ "2026-02-09T21:53:33.289Z",
387
+ "2026-02-09T21:53:55.458Z",
388
+ "2026-02-09T22:00:40.042Z"
368
389
  ],
369
390
  "props": [
370
391
  {
@@ -452,7 +473,10 @@
452
473
  "2026-02-02T11:10:09.503Z",
453
474
  "2026-02-02T11:10:33.339Z",
454
475
  "2026-02-02T11:10:45.353Z",
455
- "2026-02-02T11:11:20.651Z"
476
+ "2026-02-02T11:11:20.651Z",
477
+ "2026-02-09T21:53:33.211Z",
478
+ "2026-02-09T21:53:55.399Z",
479
+ "2026-02-09T22:00:39.984Z"
456
480
  ],
457
481
  "props": [
458
482
  {
@@ -533,7 +557,10 @@
533
557
  "2026-02-02T11:10:09.525Z",
534
558
  "2026-02-02T11:10:33.360Z",
535
559
  "2026-02-02T11:10:45.375Z",
536
- "2026-02-02T11:11:20.671Z"
560
+ "2026-02-02T11:11:20.671Z",
561
+ "2026-02-09T21:53:33.243Z",
562
+ "2026-02-09T21:53:55.424Z",
563
+ "2026-02-09T22:00:40.008Z"
537
564
  ],
538
565
  "props": [
539
566
  {
@@ -595,7 +622,10 @@
595
622
  "2026-02-02T11:10:09.511Z",
596
623
  "2026-02-02T11:10:33.347Z",
597
624
  "2026-02-02T11:10:45.362Z",
598
- "2026-02-02T11:11:20.658Z"
625
+ "2026-02-02T11:11:20.658Z",
626
+ "2026-02-09T21:53:33.224Z",
627
+ "2026-02-09T21:53:55.409Z",
628
+ "2026-02-09T22:00:39.993Z"
599
629
  ],
600
630
  "props": [],
601
631
  "files": [
@@ -647,7 +677,10 @@
647
677
  "2026-02-02T11:10:09.498Z",
648
678
  "2026-02-02T11:10:33.335Z",
649
679
  "2026-02-02T11:10:45.348Z",
650
- "2026-02-02T11:11:20.647Z"
680
+ "2026-02-02T11:11:20.647Z",
681
+ "2026-02-09T21:53:33.205Z",
682
+ "2026-02-09T21:53:55.395Z",
683
+ "2026-02-09T22:00:39.978Z"
651
684
  ],
652
685
  "props": [],
653
686
  "files": [
@@ -694,7 +727,10 @@
694
727
  "2026-02-02T11:10:09.479Z",
695
728
  "2026-02-02T11:10:33.321Z",
696
729
  "2026-02-02T11:10:45.335Z",
697
- "2026-02-02T11:11:20.631Z"
730
+ "2026-02-02T11:11:20.631Z",
731
+ "2026-02-09T21:53:33.186Z",
732
+ "2026-02-09T21:53:55.378Z",
733
+ "2026-02-09T22:00:39.962Z"
698
734
  ],
699
735
  "props": [
700
736
  {
@@ -772,7 +808,10 @@
772
808
  "2026-02-02T11:10:09.531Z",
773
809
  "2026-02-02T11:10:33.365Z",
774
810
  "2026-02-02T11:10:45.381Z",
775
- "2026-02-02T11:11:20.675Z"
811
+ "2026-02-02T11:11:20.675Z",
812
+ "2026-02-09T21:53:33.251Z",
813
+ "2026-02-09T21:53:55.429Z",
814
+ "2026-02-09T22:00:40.013Z"
776
815
  ],
777
816
  "props": [],
778
817
  "files": [
@@ -812,7 +851,10 @@
812
851
  "2026-02-02T11:10:09.554Z",
813
852
  "2026-02-02T11:10:33.393Z",
814
853
  "2026-02-02T11:10:45.410Z",
815
- "2026-02-02T11:11:20.699Z"
854
+ "2026-02-02T11:11:20.699Z",
855
+ "2026-02-09T21:53:33.283Z",
856
+ "2026-02-09T21:53:55.454Z",
857
+ "2026-02-09T22:00:40.038Z"
816
858
  ],
817
859
  "props": [
818
860
  {
@@ -876,7 +918,10 @@
876
918
  "2026-02-02T11:01:58.337Z",
877
919
  "2026-02-02T11:10:33.375Z",
878
920
  "2026-02-02T11:10:45.386Z",
879
- "2026-02-02T11:11:20.680Z"
921
+ "2026-02-02T11:11:20.680Z",
922
+ "2026-02-09T21:53:33.257Z",
923
+ "2026-02-09T21:53:55.435Z",
924
+ "2026-02-09T22:00:40.019Z"
880
925
  ],
881
926
  "props": [
882
927
  {
@@ -944,7 +989,10 @@
944
989
  "2026-02-02T11:10:09.521Z",
945
990
  "2026-02-02T11:10:33.356Z",
946
991
  "2026-02-02T11:10:45.371Z",
947
- "2026-02-02T11:11:20.667Z"
992
+ "2026-02-02T11:11:20.667Z",
993
+ "2026-02-09T21:53:33.237Z",
994
+ "2026-02-09T21:53:55.420Z",
995
+ "2026-02-09T22:00:40.004Z"
948
996
  ],
949
997
  "props": [
950
998
  {
@@ -1023,7 +1071,10 @@
1023
1071
  "2026-02-02T11:10:09.490Z",
1024
1072
  "2026-02-02T11:10:33.325Z",
1025
1073
  "2026-02-02T11:10:45.340Z",
1026
- "2026-02-02T11:11:20.636Z"
1074
+ "2026-02-02T11:11:20.636Z",
1075
+ "2026-02-09T21:53:33.194Z",
1076
+ "2026-02-09T21:53:55.384Z",
1077
+ "2026-02-09T22:00:39.968Z"
1027
1078
  ],
1028
1079
  "props": [
1029
1080
  {
@@ -1103,7 +1154,10 @@
1103
1154
  "2026-02-02T11:10:09.465Z",
1104
1155
  "2026-02-02T11:10:33.306Z",
1105
1156
  "2026-02-02T11:10:45.321Z",
1106
- "2026-02-02T11:11:20.615Z"
1157
+ "2026-02-02T11:11:20.615Z",
1158
+ "2026-02-09T21:53:33.167Z",
1159
+ "2026-02-09T21:53:55.365Z",
1160
+ "2026-02-09T22:00:39.950Z"
1107
1161
  ],
1108
1162
  "props": [
1109
1163
  {
@@ -1162,7 +1216,10 @@
1162
1216
  "2026-02-02T11:10:09.548Z",
1163
1217
  "2026-02-02T11:10:33.389Z",
1164
1218
  "2026-02-02T11:10:45.403Z",
1165
- "2026-02-02T11:11:20.693Z"
1219
+ "2026-02-02T11:11:20.693Z",
1220
+ "2026-02-09T21:53:33.275Z",
1221
+ "2026-02-09T21:53:55.449Z",
1222
+ "2026-02-09T22:00:40.032Z"
1166
1223
  ],
1167
1224
  "props": [
1168
1225
  {
@@ -1198,5 +1255,53 @@
1198
1255
  "scope": [
1199
1256
  "all"
1200
1257
  ]
1258
+ },
1259
+ "lib-alpha": {
1260
+ "type": "snippet-component",
1261
+ "version": "0.0.2",
1262
+ "description": "liquid component scaffold",
1263
+ "hash": "3f9fbff105cb95633560314fec60e84f",
1264
+ "createdAt": "2026-02-09T21:52:10.363Z",
1265
+ "updatedAt": [
1266
+ "2026-02-09T21:53:55.359Z",
1267
+ "2026-02-09T22:00:39.941Z"
1268
+ ],
1269
+ "props": [
1270
+ {
1271
+ "name": "_price",
1272
+ "type": "shopify_object",
1273
+ "required": true,
1274
+ "description": "The products price to display.",
1275
+ "placeholder": "product.selected_or_first_available_variant.price"
1276
+ },
1277
+ {
1278
+ "name": "_classes",
1279
+ "type": "string",
1280
+ "required": true,
1281
+ "description": "Whether to show the compare at price.",
1282
+ "placeholder": "m-4"
1283
+ },
1284
+ {
1285
+ "name": "_show_compare_at",
1286
+ "type": "boolean",
1287
+ "required": true,
1288
+ "description": "Whether to show the compare at price.",
1289
+ "placeholder": "true"
1290
+ }
1291
+ ],
1292
+ "files": [
1293
+ {
1294
+ "src": "components/lib-alpha/lib-alpha.liquid",
1295
+ "destDir": "snippets",
1296
+ "hash": "3f9fbff105cb95633560314fec60e84f"
1297
+ }
1298
+ ],
1299
+ "dependencies": [],
1300
+ "scope": [
1301
+ "product",
1302
+ "collection",
1303
+ "search",
1304
+ "cart"
1305
+ ]
1201
1306
  }
1202
1307
  }