@total_onion/onion-library 2.0.54 → 2.0.58

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.
@@ -1494,6 +1494,240 @@
1494
1494
  "acfe_layout_col": "auto",
1495
1495
  "acfe_layout_allowed_col": false
1496
1496
  },
1497
+ "layout_68ee447ea887b": {
1498
+ "key": "layout_68ee447ea887b",
1499
+ "name": "product_colour",
1500
+ "label": "Colour",
1501
+ "display": "block",
1502
+ "sub_fields": [
1503
+ {
1504
+ "key": "field_68ee447ea887e",
1505
+ "label": "Grid Layout",
1506
+ "name": "",
1507
+ "aria-label": "",
1508
+ "type": "tab",
1509
+ "instructions": "",
1510
+ "required": 0,
1511
+ "conditional_logic": 0,
1512
+ "wrapper": {
1513
+ "width": "",
1514
+ "class": "",
1515
+ "id": ""
1516
+ },
1517
+ "wpml_cf_preferences": 3,
1518
+ "placement": "top",
1519
+ "endpoint": 0,
1520
+ "no_preference": 0,
1521
+ "selected": 0
1522
+ },
1523
+ {
1524
+ "key": "field_68ee447ea887f",
1525
+ "label": "Grid layout",
1526
+ "name": "grid_layout",
1527
+ "aria-label": "",
1528
+ "type": "clone",
1529
+ "instructions": "",
1530
+ "required": 0,
1531
+ "conditional_logic": 0,
1532
+ "wrapper": {
1533
+ "width": "",
1534
+ "class": "",
1535
+ "id": ""
1536
+ },
1537
+ "wpml_cf_preferences": 3,
1538
+ "clone": [
1539
+ "group_68822860bda9f"
1540
+ ],
1541
+ "display": "seamless",
1542
+ "layout": "block",
1543
+ "prefix_label": 0,
1544
+ "prefix_name": 0,
1545
+ "acfe_seamless_style": 0,
1546
+ "acfe_clone_modal": 0,
1547
+ "acfe_clone_modal_close": 0,
1548
+ "acfe_clone_modal_button": "",
1549
+ "acfe_clone_modal_size": "large"
1550
+ },
1551
+ {
1552
+ "key": "field_68ee447ea8880",
1553
+ "label": "Style",
1554
+ "name": "",
1555
+ "aria-label": "",
1556
+ "type": "tab",
1557
+ "instructions": "",
1558
+ "required": 0,
1559
+ "conditional_logic": 0,
1560
+ "wrapper": {
1561
+ "width": "",
1562
+ "class": "",
1563
+ "id": ""
1564
+ },
1565
+ "wpml_cf_preferences": 3,
1566
+ "placement": "top",
1567
+ "endpoint": 0,
1568
+ "no_preference": 0,
1569
+ "selected": 0
1570
+ },
1571
+ {
1572
+ "key": "field_68ee447ea8881",
1573
+ "label": "Text editor settings fields",
1574
+ "name": "text_editor_settings_fields",
1575
+ "aria-label": "",
1576
+ "type": "clone",
1577
+ "instructions": "",
1578
+ "required": 0,
1579
+ "conditional_logic": 0,
1580
+ "wrapper": {
1581
+ "width": "",
1582
+ "class": "",
1583
+ "id": ""
1584
+ },
1585
+ "wpml_cf_preferences": 3,
1586
+ "clone": [
1587
+ "group_687a4e2334e37"
1588
+ ],
1589
+ "display": "seamless",
1590
+ "layout": "block",
1591
+ "prefix_label": 0,
1592
+ "prefix_name": 0,
1593
+ "acfe_seamless_style": 0,
1594
+ "acfe_clone_modal": 0,
1595
+ "acfe_clone_modal_close": 0,
1596
+ "acfe_clone_modal_button": "",
1597
+ "acfe_clone_modal_size": "large"
1598
+ }
1599
+ ],
1600
+ "min": "",
1601
+ "max": "",
1602
+ "acfe_flexible_render_template": false,
1603
+ "acfe_flexible_render_style": false,
1604
+ "acfe_flexible_render_script": false,
1605
+ "acfe_flexible_thumbnail": false,
1606
+ "acfe_flexible_settings": false,
1607
+ "acfe_flexible_settings_size": "medium",
1608
+ "acfe_layout_locations": [],
1609
+ "acfe_flexible_modal_edit_size": false,
1610
+ "acfe_flexible_category": false,
1611
+ "acfe_layout_col": "auto",
1612
+ "acfe_layout_allowed_col": false
1613
+ },
1614
+ "layout_68ee4455a8874": {
1615
+ "key": "layout_68ee4455a8874",
1616
+ "name": "product_colour_label",
1617
+ "label": "Colour Label",
1618
+ "display": "block",
1619
+ "sub_fields": [
1620
+ {
1621
+ "key": "field_68ee4455a8877",
1622
+ "label": "Grid Layout",
1623
+ "name": "",
1624
+ "aria-label": "",
1625
+ "type": "tab",
1626
+ "instructions": "",
1627
+ "required": 0,
1628
+ "conditional_logic": 0,
1629
+ "wrapper": {
1630
+ "width": "",
1631
+ "class": "",
1632
+ "id": ""
1633
+ },
1634
+ "wpml_cf_preferences": 3,
1635
+ "placement": "top",
1636
+ "endpoint": 0,
1637
+ "no_preference": 0,
1638
+ "selected": 0
1639
+ },
1640
+ {
1641
+ "key": "field_68ee4455a8878",
1642
+ "label": "Grid layout",
1643
+ "name": "grid_layout",
1644
+ "aria-label": "",
1645
+ "type": "clone",
1646
+ "instructions": "",
1647
+ "required": 0,
1648
+ "conditional_logic": 0,
1649
+ "wrapper": {
1650
+ "width": "",
1651
+ "class": "",
1652
+ "id": ""
1653
+ },
1654
+ "wpml_cf_preferences": 3,
1655
+ "clone": [
1656
+ "group_68822860bda9f"
1657
+ ],
1658
+ "display": "seamless",
1659
+ "layout": "block",
1660
+ "prefix_label": 0,
1661
+ "prefix_name": 0,
1662
+ "acfe_seamless_style": 0,
1663
+ "acfe_clone_modal": 0,
1664
+ "acfe_clone_modal_close": 0,
1665
+ "acfe_clone_modal_button": "",
1666
+ "acfe_clone_modal_size": "large"
1667
+ },
1668
+ {
1669
+ "key": "field_68ee4455a8879",
1670
+ "label": "Style",
1671
+ "name": "",
1672
+ "aria-label": "",
1673
+ "type": "tab",
1674
+ "instructions": "",
1675
+ "required": 0,
1676
+ "conditional_logic": 0,
1677
+ "wrapper": {
1678
+ "width": "",
1679
+ "class": "",
1680
+ "id": ""
1681
+ },
1682
+ "wpml_cf_preferences": 3,
1683
+ "placement": "top",
1684
+ "endpoint": 0,
1685
+ "no_preference": 0,
1686
+ "selected": 0
1687
+ },
1688
+ {
1689
+ "key": "field_68ee4455a887a",
1690
+ "label": "Text editor settings fields",
1691
+ "name": "text_editor_settings_fields",
1692
+ "aria-label": "",
1693
+ "type": "clone",
1694
+ "instructions": "",
1695
+ "required": 0,
1696
+ "conditional_logic": 0,
1697
+ "wrapper": {
1698
+ "width": "",
1699
+ "class": "",
1700
+ "id": ""
1701
+ },
1702
+ "wpml_cf_preferences": 3,
1703
+ "clone": [
1704
+ "group_687a4e2334e37"
1705
+ ],
1706
+ "display": "seamless",
1707
+ "layout": "block",
1708
+ "prefix_label": 0,
1709
+ "prefix_name": 0,
1710
+ "acfe_seamless_style": 0,
1711
+ "acfe_clone_modal": 0,
1712
+ "acfe_clone_modal_close": 0,
1713
+ "acfe_clone_modal_button": "",
1714
+ "acfe_clone_modal_size": "large"
1715
+ }
1716
+ ],
1717
+ "min": "",
1718
+ "max": "",
1719
+ "acfe_flexible_render_template": false,
1720
+ "acfe_flexible_render_style": false,
1721
+ "acfe_flexible_render_script": false,
1722
+ "acfe_flexible_thumbnail": false,
1723
+ "acfe_flexible_settings": false,
1724
+ "acfe_flexible_settings_size": "medium",
1725
+ "acfe_layout_locations": [],
1726
+ "acfe_flexible_modal_edit_size": false,
1727
+ "acfe_flexible_category": false,
1728
+ "acfe_layout_col": "auto",
1729
+ "acfe_layout_allowed_col": false
1730
+ },
1497
1731
  "layout_6890c720b77bf": {
1498
1732
  "key": "layout_6890c720b77bf",
1499
1733
  "name": "product_nose",
@@ -3192,5 +3426,5 @@
3192
3426
  "acfe_display_title": "",
3193
3427
  "acfe_meta": "",
3194
3428
  "acfe_note": "",
3195
- "modified": 1760443034
3429
+ "modified": 1760445581
3196
3430
  }
@@ -0,0 +1,14 @@
1
+ {% set gridLayoutElement = include('components/grid-layout-element-v3.twig', { fields: field, block: block }, with_context = false) %}
2
+ {% set textEditorStyleVars = include('components/text-editor-settings-variables-v3.twig', { fields: field, block, blockClassName, is_preview }, with_context = false) %}
3
+ {% set textEditorContainerClasses = include('components/text-editor-settings-container-classes-v3.twig', { fields: field, block, blockClassName, is_preview }, with_context = false) %}
4
+ {% set textEditorElementClasses = include('components/text-editor-settings-element-classes-v3.twig', { fields: field, block, blockClassName, is_preview }, with_context = false) %}
5
+ {% set elementType = field.element_type|ru %}
6
+ <style>
7
+ .{{blockClassName}}__product-colour-label.{{block.id}}, .{{blockClassName}}__content-container.{{block.id}}{
8
+ {{textEditorStyleVars}}
9
+ {{gridLayoutElement}}
10
+ }
11
+ </style>
12
+ <div class="{{blockClassName}}__content-container {{textEditorContainerClasses}} {{blockClassName}}__info-item {{block.id}}">
13
+ <{{elementType|default('p')}} data-pattern-post-info="colour-label" class="{{blockClassName}}__product-colour-label {{textEditorElementClasses}} {{block.id}}">{{post.product_colour_label}}</{{elementType|default('p')}}>
14
+ </div>
@@ -0,0 +1,14 @@
1
+ {% set gridLayoutElement = include('components/grid-layout-element-v3.twig', { fields: field, block: block }, with_context = false) %}
2
+ {% set textEditorStyleVars = include('components/text-editor-settings-variables-v3.twig', { fields: field, block, blockClassName, is_preview }, with_context = false) %}
3
+ {% set textEditorContainerClasses = include('components/text-editor-settings-container-classes-v3.twig', { fields: field, block, blockClassName, is_preview }, with_context = false) %}
4
+ {% set textEditorElementClasses = include('components/text-editor-settings-element-classes-v3.twig', { fields: field, block, blockClassName, is_preview }, with_context = false) %}
5
+ {% set elementType = field.element_type|ru %}
6
+ <style>
7
+ .{{blockClassName}}__product-colour.{{block.id}}, .{{blockClassName}}__content-container.{{block.id}}{
8
+ {{textEditorStyleVars}}
9
+ {{gridLayoutElement}}
10
+ }
11
+ </style>
12
+ <div class="{{blockClassName}}__content-container {{textEditorContainerClasses}} {{blockClassName}}__info-item {{block.id}}">
13
+ <{{elementType|default('p')}} data-pattern-post-info="colour" class="{{blockClassName}}__product-colour {{textEditorElementClasses}} {{block.id}}">{{post.product_colour}}</{{elementType|default('p')}}>
14
+ </div>
@@ -1,13 +1,13 @@
1
1
  {% set gridLayoutElement = include('components/grid-layout-element-v3.twig', { fields: field, block: block }, with_context = false) %}
2
2
  {% set imageSelect = field.image_select|ru %}
3
3
  {% if imageSelect == 'image_accent' %}
4
- {% set positionVars = include('components/element-positioning.twig', {fields : field.product_image_positioning, block : block, blockClassName : imageClassname}, with_context = false) %}
4
+ {% set positionVars = include('components/element-positioning.twig', {fields : field.post_image_positioning, block : block, blockClassName : imageClassname}, with_context = false) %}
5
5
  {% endif %}
6
- {% set imageWidthPercentMobile = '--product-image-width-mobile: ' ~ field.product_image_width ~ '%;' %}
7
- {% set imageWidthPercentDesktop = '--product-image-width-desktop: ' ~ field.product_image_width ~ '%;' %}
6
+ {% set imageWidthPercentMobile = '--post-image-width-mobile: ' ~ field.post_image_width ~ '%;' %}
7
+ {% set imageWidthPercentDesktop = '--post-image-width-desktop: ' ~ field.post_image_width ~ '%;' %}
8
8
  {% if imageSelect == 'image_accent' %}
9
- {% set imageWidthPercentMobile = '--product-image-width-mobile: calc(' ~ field.product_image_width_mobile_px ~ ' / var(--mobile-design-reference) * var(--screen-width-mobile));' %}
10
- {% set imageWidthPercentDesktop = '--product-image-width-desktop: calc(' ~ field.product_image_width_desktop_px ~ ' / var(--desktop-design-reference) * var(--screen-width-desktop));' %}
9
+ {% set imageWidthPercentMobile = '--post-image-width-mobile: calc(' ~ field.post_image_width_mobile_px ~ ' / var(--mobile-design-reference) * var(--screen-width-mobile));' %}
10
+ {% set imageWidthPercentDesktop = '--post-image-width-desktop: calc(' ~ field.post_image_width_desktop_px ~ ' / var(--desktop-design-reference) * var(--screen-width-desktop));' %}
11
11
  {% endif %}
12
12
  {% set imageAspectRatioDesktop = '--image-aspect-ratio-desktop:' ~ field.image_aspect_ratio_desktop ~ ';' %}
13
13
  {% set imageAspectRatioPortrait = '--image-aspect-ratio-portrait:' ~ field.image_aspect_ratio_portrait ~ ';' %}
@@ -15,24 +15,25 @@
15
15
  {% set imageFitStyle = '--image-fit-style:' ~ (field.image_fit_style|ru|default('contain')) ~ ';' %}
16
16
  {% set styleVars = imageWidthPercentDesktop ~ imageWidthPercentMobile ~ imageWidthPercentMobilePx ~ imageWidthPercentDesktopPx ~ imageAspectRatioDesktop ~ imageAspectRatioPortrait ~ imageAspectRatioMobile ~ imageFitStyle %}
17
17
  <style>
18
- .{{blockClassName}}__product-image-container.{{block.id}}{
18
+ .{{blockClassName}}__post-image-container.{{block.id}}{
19
19
  {{styleVars}}
20
20
  {{gridLayoutElement}}
21
21
  {{positionVars}}
22
22
  }
23
23
  </style>
24
- <a aria-label="{{product.title}}" href="{{product.link}}" data-pattern-product-info="link" data-image-select="{{ imageSelect }}" class="{{blockClassName}}__product-image-container {{blockClassName}}__info-item {{blockClassName}}__info-item--{{productType}} {{blockClassName}}__product-image-container--{{imageSelect|replace({'_':'-'})}} {{block.id}}">
24
+ <a aria-label="{{post.title}}" href="{{post.link}}" data-pattern-post-info="link" data-image-select="{{ imageSelect }}" class="{{blockClassName}}__post-image-container {{blockClassName}}__info-item {{blockClassName}}__info-item--{{postType}} {{blockClassName}}__post-image-container--{{imageSelect|replace({'_':'-'})}} {{block.id}}">
25
25
  {% set imageSizes = imageSizes|default('(min-width: 1440px) 50vw, (min-width: 768px) 50vw, (min-width: 500px) 50vw, 100vw') %}
26
26
  {% set imageFields = [] %}
27
27
  {% set imageFields = imageFields|merge({'enable_image' : true}) %}
28
- {% set imageClassname = 'product-info-v3__product' %}
29
- {% if attribute(product, 'product_' ~ imageSelect) %}
30
- {% set imageFields = imageFields|merge({'image' : attribute(product, 'product_' ~ imageSelect)}) %}
31
- {% elseif attribute(product, productType ~ '_' ~ imageSelect) %}
32
- {% set imageFields = imageFields|merge({'image' : attribute(product, productType ~ '_' ~ imageSelect)}) %}
33
- {% elseif attribute(product, 'product_image') %}
34
- {% set imageFields = imageFields|merge({'image' : attribute(product, 'product_image')}) %}
28
+ {% set imageClassname = 'post-info-v3__post' %}
29
+ {% if attribute(post, 'post_' ~ imageSelect) %}
30
+ {% set imageFields = imageFields|merge({'image' : attribute(post, 'post_' ~ imageSelect)}) %}
31
+ {% elseif attribute(post, postType ~ '_' ~ imageSelect) %}
32
+ {% set imageFields = imageFields|merge({'image' : attribute(post, postType ~ '_' ~ imageSelect)}) %}
33
+ {% elseif attribute(post, 'post_image') %}
34
+ {% set imageFields = imageFields|merge({'image' : attribute(post, 'post_image')}) %}
35
35
  {% endif %}
36
+
36
37
  {{ include('components/single-image.twig', {
37
38
  fields: imageFields,
38
39
  block: block,
@@ -10,5 +10,5 @@
10
10
  }
11
11
  </style>
12
12
  <div class="{{blockClassName}}__content-container {{textEditorContainerClasses}} {{blockClassName}}__info-item {{block.id}}">
13
- <{{elementType|default('p')}} data-pattern-post-info="name" class="{{blockClassName}}__product-name {{textEditorElementClasses}} {{block.id}}">{{post.name}}</{{elementType|default('p')}}>
13
+ <{{elementType|default('p')}} data-pattern-post-info="name" class="{{blockClassName}}__product-name {{textEditorElementClasses}} {{block.id}}">{{post.product_name}}</{{elementType|default('p')}}>
14
14
  </div>
@@ -2,6 +2,26 @@
2
2
  "key": "group_689098dd3a131",
3
3
  "title": "Fields: Product Info v3",
4
4
  "fields": [
5
+ {
6
+ "key": "field_68db9dab6da56",
7
+ "label": "General Info",
8
+ "name": "",
9
+ "aria-label": "",
10
+ "type": "tab",
11
+ "instructions": "",
12
+ "required": 0,
13
+ "conditional_logic": 0,
14
+ "wrapper": {
15
+ "width": "",
16
+ "class": "",
17
+ "id": ""
18
+ },
19
+ "wpml_cf_preferences": 3,
20
+ "placement": "top",
21
+ "endpoint": 0,
22
+ "no_preference": 0,
23
+ "selected": 0
24
+ },
5
25
  {
6
26
  "key": "field_689098dd4ff5c",
7
27
  "label": "Product logo",
@@ -187,6 +207,27 @@
187
207
  "prepend": "",
188
208
  "append": ""
189
209
  },
210
+ {
211
+ "key": "field_68ee7b3a99137",
212
+ "label": "ABV Label",
213
+ "name": "product_abv_label",
214
+ "aria-label": "",
215
+ "type": "text",
216
+ "instructions": "",
217
+ "required": 0,
218
+ "conditional_logic": 0,
219
+ "wrapper": {
220
+ "width": "50",
221
+ "class": "",
222
+ "id": ""
223
+ },
224
+ "wpml_cf_preferences": 2,
225
+ "default_value": "",
226
+ "maxlength": "",
227
+ "placeholder": "",
228
+ "prepend": "",
229
+ "append": ""
230
+ },
190
231
  {
191
232
  "key": "field_689e80a3fb542",
192
233
  "label": "Volume",
@@ -209,6 +250,27 @@
209
250
  "prepend": "",
210
251
  "append": ""
211
252
  },
253
+ {
254
+ "key": "field_68ee7b4799138",
255
+ "label": "Volume Label",
256
+ "name": "product_volume_label",
257
+ "aria-label": "",
258
+ "type": "text",
259
+ "instructions": "",
260
+ "required": 0,
261
+ "conditional_logic": 0,
262
+ "wrapper": {
263
+ "width": "50",
264
+ "class": "",
265
+ "id": ""
266
+ },
267
+ "wpml_cf_preferences": 2,
268
+ "default_value": "",
269
+ "maxlength": "",
270
+ "placeholder": "",
271
+ "prepend": "",
272
+ "append": ""
273
+ },
212
274
  {
213
275
  "key": "field_689098dd52322",
214
276
  "label": "Whisky type",
@@ -254,6 +316,86 @@
254
316
  "placeholder": "",
255
317
  "new_lines": ""
256
318
  },
319
+ {
320
+ "key": "field_689098dd539f4",
321
+ "label": "History",
322
+ "name": "product_history",
323
+ "aria-label": "",
324
+ "type": "textarea",
325
+ "instructions": "",
326
+ "required": 0,
327
+ "conditional_logic": 0,
328
+ "wrapper": {
329
+ "width": "",
330
+ "class": "",
331
+ "id": ""
332
+ },
333
+ "wpml_cf_preferences": 2,
334
+ "user_roles": [
335
+ "all"
336
+ ],
337
+ "default_value": "",
338
+ "maxlength": "",
339
+ "rows": "",
340
+ "placeholder": "",
341
+ "new_lines": "",
342
+ "acfe_textarea_code": 0
343
+ },
344
+ {
345
+ "key": "field_689098dd545b8",
346
+ "label": "Related Products",
347
+ "name": "related_products",
348
+ "aria-label": "",
349
+ "type": "relationship",
350
+ "instructions": "",
351
+ "required": 0,
352
+ "conditional_logic": 0,
353
+ "wrapper": {
354
+ "width": "",
355
+ "class": "",
356
+ "id": ""
357
+ },
358
+ "wpml_cf_preferences": 3,
359
+ "post_type": [
360
+ "product"
361
+ ],
362
+ "post_status": "",
363
+ "taxonomy": "",
364
+ "filters": [
365
+ "search"
366
+ ],
367
+ "return_format": "object",
368
+ "acfe_add_post": 0,
369
+ "acfe_edit_post": 0,
370
+ "acfe_bidirectional": {
371
+ "acfe_bidirectional_enabled": "0"
372
+ },
373
+ "min": "",
374
+ "max": "",
375
+ "elements": "",
376
+ "bidirectional": 0,
377
+ "bidirectional_target": []
378
+ },
379
+ {
380
+ "key": "field_68db9e096da57",
381
+ "label": "Tasting Notes",
382
+ "name": "",
383
+ "aria-label": "",
384
+ "type": "tab",
385
+ "instructions": "",
386
+ "required": 0,
387
+ "conditional_logic": 0,
388
+ "wrapper": {
389
+ "width": "",
390
+ "class": "",
391
+ "id": ""
392
+ },
393
+ "wpml_cf_preferences": 3,
394
+ "placement": "top",
395
+ "endpoint": 0,
396
+ "no_preference": 0,
397
+ "selected": 0
398
+ },
257
399
  {
258
400
  "key": "field_6899cb3c882b9",
259
401
  "label": "Cask type Label",
@@ -339,9 +481,9 @@
339
481
  "append": ""
340
482
  },
341
483
  {
342
- "key": "field_68c05157f7a4b",
343
- "label": "Palate Label",
344
- "name": "product_palate_label",
484
+ "key": "field_68ee7b1399135",
485
+ "label": "Colour Label",
486
+ "name": "product_colour_label",
345
487
  "aria-label": "",
346
488
  "type": "text",
347
489
  "instructions": "",
@@ -360,9 +502,9 @@
360
502
  "append": ""
361
503
  },
362
504
  {
363
- "key": "field_68c05162f7a4c",
364
- "label": "Palate",
365
- "name": "product_palate",
505
+ "key": "field_68ee7b2499136",
506
+ "label": "Colour",
507
+ "name": "product_colour",
366
508
  "aria-label": "",
367
509
  "type": "text",
368
510
  "instructions": "",
@@ -381,9 +523,9 @@
381
523
  "append": ""
382
524
  },
383
525
  {
384
- "key": "field_6899cbab3620f",
385
- "label": "Taste Label",
386
- "name": "product_taste_label",
526
+ "key": "field_68c05157f7a4b",
527
+ "label": "Palate Label",
528
+ "name": "product_palate_label",
387
529
  "aria-label": "",
388
530
  "type": "text",
389
531
  "instructions": "",
@@ -402,9 +544,9 @@
402
544
  "append": ""
403
545
  },
404
546
  {
405
- "key": "field_689098dd53233",
406
- "label": "Taste",
407
- "name": "product_taste",
547
+ "key": "field_68c05162f7a4c",
548
+ "label": "Palate",
549
+ "name": "product_palate",
408
550
  "aria-label": "",
409
551
  "type": "text",
410
552
  "instructions": "",
@@ -465,9 +607,9 @@
465
607
  "append": ""
466
608
  },
467
609
  {
468
- "key": "field_68c051cbb5d71",
469
- "label": "Pair With Label",
470
- "name": "product_pair_with_label",
610
+ "key": "field_6899cbab3620f",
611
+ "label": "Taste Label",
612
+ "name": "product_taste_label",
471
613
  "aria-label": "",
472
614
  "type": "text",
473
615
  "instructions": "",
@@ -486,9 +628,9 @@
486
628
  "append": ""
487
629
  },
488
630
  {
489
- "key": "field_68c051d8b5d72",
490
- "label": "Pair With",
491
- "name": "product_pair_with",
631
+ "key": "field_689098dd53233",
632
+ "label": "Taste",
633
+ "name": "product_taste",
492
634
  "aria-label": "",
493
635
  "type": "text",
494
636
  "instructions": "",
@@ -507,64 +649,46 @@
507
649
  "append": ""
508
650
  },
509
651
  {
510
- "key": "field_689098dd539f4",
511
- "label": "History",
512
- "name": "product_history",
652
+ "key": "field_68c051cbb5d71",
653
+ "label": "Pair With Label",
654
+ "name": "product_pair_with_label",
513
655
  "aria-label": "",
514
- "type": "textarea",
656
+ "type": "text",
515
657
  "instructions": "",
516
658
  "required": 0,
517
659
  "conditional_logic": 0,
518
660
  "wrapper": {
519
- "width": "",
661
+ "width": "50",
520
662
  "class": "",
521
663
  "id": ""
522
664
  },
523
665
  "wpml_cf_preferences": 2,
524
- "user_roles": [
525
- "all"
526
- ],
527
666
  "default_value": "",
528
667
  "maxlength": "",
529
- "rows": "",
530
668
  "placeholder": "",
531
- "new_lines": "",
532
- "acfe_textarea_code": 0
669
+ "prepend": "",
670
+ "append": ""
533
671
  },
534
672
  {
535
- "key": "field_689098dd545b8",
536
- "label": "Related Products",
537
- "name": "related_products",
673
+ "key": "field_68c051d8b5d72",
674
+ "label": "Pair With",
675
+ "name": "product_pair_with",
538
676
  "aria-label": "",
539
- "type": "relationship",
677
+ "type": "text",
540
678
  "instructions": "",
541
679
  "required": 0,
542
680
  "conditional_logic": 0,
543
681
  "wrapper": {
544
- "width": "",
682
+ "width": "50",
545
683
  "class": "",
546
684
  "id": ""
547
685
  },
548
- "wpml_cf_preferences": 3,
549
- "post_type": [
550
- "product"
551
- ],
552
- "post_status": "",
553
- "taxonomy": "",
554
- "filters": [
555
- "search"
556
- ],
557
- "return_format": "object",
558
- "acfe_add_post": 0,
559
- "acfe_edit_post": 0,
560
- "acfe_bidirectional": {
561
- "acfe_bidirectional_enabled": "0"
562
- },
563
- "min": "",
564
- "max": "",
565
- "elements": "",
566
- "bidirectional": 0,
567
- "bidirectional_target": []
686
+ "wpml_cf_preferences": 2,
687
+ "default_value": "",
688
+ "maxlength": "",
689
+ "placeholder": "",
690
+ "prepend": "",
691
+ "append": ""
568
692
  }
569
693
  ],
570
694
  "location": [
@@ -593,5 +717,5 @@
593
717
  "acfe_display_title": "",
594
718
  "acfe_meta": "",
595
719
  "acfe_note": "",
596
- "modified": 1757606887
720
+ "modified": 1760459614
597
721
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "2.0.54",
3
+ "version": "2.0.58",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {