@total_onion/onion-library 2.0.183 → 2.0.185

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.
@@ -1,2 +1,7 @@
1
1
  .cover-link-v3 {
2
+ &__link {
3
+ position: absolute;
4
+ inset: 0;
5
+ z-index: 10;
6
+ }
2
7
  }
@@ -11,6 +11,6 @@
11
11
  {{sectionStyles}}
12
12
  }
13
13
  </style>
14
- <section {{block.anchor ? "id=" ~ block.anchor : ''}} class="{{blockClassName}} {{block.className}} {{loop ? block.className.index ~ '-' ~ loop.index : ''}} {{classNameEntryPoint}} {{block.id}} lazy-fade" {{dataAttributeEntryPoint}} data-blockid="{{block.id}}" data-assetkey="{{blockClassName}}">
15
- {{htmlEntryPoint}}
14
+ <section {{block.anchor ? "id=" ~ block.anchor : ''}} class="{{blockClassName}} {{loop ? block.className.index ~ '-' ~ loop.index : ''}} {{classNameEntryPoint}} {{block.id}} lazy-fade" {{dataAttributeEntryPoint}} data-blockid="{{block.id}}" data-assetkey="{{blockClassName}}">
15
+ <a href="{{fields.cover_link.url}}" class="{{blockClassName}}__link"></a>
16
16
  </section>
@@ -1,64 +1,96 @@
1
1
  {
2
- "key": "group_687192c28b7eb",
3
- "title": "Block: Cover Link v3",
4
- "fields": [
5
- {
6
- "key": "field_6865575689b08",
7
- "label": "cover link fields",
8
- "name": "cover_link_fields",
9
- "aria-label": "",
10
- "type": "clone",
11
- "instructions": "",
12
- "required": 0,
13
- "conditional_logic": 0,
14
- "wrapper": {
15
- "width": "",
16
- "class": "",
17
- "id": ""
18
- },
19
- "wpml_cf_preferences": 3,
20
- "user_roles": [
21
- "administrator"
22
- ],
23
- "clone": [
24
- "group_65ca55f45368c"
25
- ],
26
- "display": "seamless",
27
- "layout": "block",
28
- "prefix_label": 0,
29
- "prefix_name": 0,
30
- "acfe_seamless_style": 0,
31
- "acfe_clone_modal": 0,
32
- "acfe_clone_modal_close": 0,
33
- "acfe_clone_modal_button": "",
34
- "acfe_clone_modal_size": "large"
35
- }
36
- ],
37
- "location": [
38
- [
39
- {
40
- "param": "block",
41
- "operator": "==",
42
- "value": "all"
43
- }
44
- ]
45
- ],
46
- "menu_order": 0,
47
- "position": "normal",
48
- "style": "default",
49
- "label_placement": "left",
50
- "instruction_placement": "label",
51
- "hide_on_screen": "",
52
- "active": false,
53
- "description": "",
54
- "show_in_rest": 0,
55
- "display_title": "",
56
- "acfe_autosync": [
57
- "json"
58
- ],
59
- "acfe_form": 0,
60
- "acfe_display_title": "",
61
- "acfe_meta": "",
62
- "acfe_note": "",
63
- "modified": 1762794520
2
+ "key": "group_687192c28b7eb",
3
+ "title": "Block: Cover Link v3",
4
+ "fields": [
5
+ {
6
+ "key": "field_6956c443b96a8",
7
+ "label": "Cover Link",
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
+ "placement": "top",
20
+ "endpoint": 0,
21
+ "no_preference": 0,
22
+ "selected": 0
23
+ },
24
+ {
25
+ "key": "field_6956c07662240",
26
+ "label": "Enable cover link",
27
+ "name": "enable_cover_link",
28
+ "aria-label": "",
29
+ "type": "true_false",
30
+ "instructions": "",
31
+ "required": 0,
32
+ "conditional_logic": 0,
33
+ "wrapper": {
34
+ "width": "",
35
+ "class": "",
36
+ "id": ""
37
+ },
38
+ "message": "",
39
+ "default_value": 0,
40
+ "allow_in_bindings": 0,
41
+ "ui_on_text": "",
42
+ "ui_off_text": "",
43
+ "ui": 1,
44
+ "style": ""
45
+ },
46
+ {
47
+ "key": "field_6956c05d6223f",
48
+ "label": "Cover link",
49
+ "name": "cover_link",
50
+ "aria-label": "",
51
+ "type": "link",
52
+ "instructions": "",
53
+ "required": 0,
54
+ "conditional_logic": [
55
+ [
56
+ {
57
+ "field": "field_6956c07662240",
58
+ "operator": "==",
59
+ "value": "1"
60
+ }
61
+ ]
62
+ ],
63
+ "wrapper": {
64
+ "width": "",
65
+ "class": "",
66
+ "id": ""
67
+ },
68
+ "return_format": "array",
69
+ "allow_in_bindings": 0
70
+ }
71
+ ],
72
+ "location": [
73
+ [
74
+ {
75
+ "param": "block",
76
+ "operator": "==",
77
+ "value": "all"
78
+ }
79
+ ]
80
+ ],
81
+ "menu_order": 0,
82
+ "position": "normal",
83
+ "style": "default",
84
+ "label_placement": "left",
85
+ "instruction_placement": "label",
86
+ "hide_on_screen": "",
87
+ "active": false,
88
+ "description": "",
89
+ "show_in_rest": 0,
90
+ "display_title": "",
91
+ "acfe_autosync": ["json"],
92
+ "acfe_form": 0,
93
+ "acfe_meta": "",
94
+ "acfe_note": "",
95
+ "modified": 1767294033
64
96
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "2.0.183",
3
+ "version": "2.0.185",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {