@total_onion/onion-library 2.0.99 → 2.0.101

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.
@@ -42,13 +42,13 @@
42
42
 
43
43
  <script type="speculationrules">
44
44
  {
45
- "prefetch": [
46
- {
47
- "where": { "href_matches": ["/"] },
48
- "eagerness": "eager"
49
- }
50
- ]
51
- }
45
+ "prefetch": [
46
+ {
47
+ "where": { "href_matches": ["/"] },
48
+ "eagerness": "eager"
49
+ }
50
+ ]
51
+ }
52
52
  </script>
53
53
  {# speculation api end #}
54
54
 
@@ -66,7 +66,9 @@
66
66
  "ui": 1,
67
67
  "ajax": 0,
68
68
  "placeholder": "",
69
- "min": ""
69
+ "min": "",
70
+ "create_options": 0,
71
+ "save_options": 0
70
72
  },
71
73
  {
72
74
  "key": "field_6867bc5407cee",
@@ -180,7 +182,9 @@
180
182
  "ui": 1,
181
183
  "ajax": 0,
182
184
  "placeholder": "",
183
- "min": ""
185
+ "min": "",
186
+ "create_options": 0,
187
+ "save_options": 0
184
188
  },
185
189
  {
186
190
  "key": "field_6867bc540abd4",
@@ -299,7 +303,9 @@
299
303
  "ui": 1,
300
304
  "ajax": 0,
301
305
  "placeholder": "",
302
- "min": ""
306
+ "min": "",
307
+ "create_options": 0,
308
+ "save_options": 0
303
309
  },
304
310
  {
305
311
  "key": "field_6867bc540d2e4",
@@ -543,7 +549,9 @@
543
549
  "placeholder": "",
544
550
  "allow_custom": 0,
545
551
  "search_placeholder": "",
546
- "min": ""
552
+ "min": "",
553
+ "create_options": 0,
554
+ "save_options": 0
547
555
  },
548
556
  {
549
557
  "key": "field_6867bc5411177",
@@ -614,7 +622,10 @@
614
622
  "input": 1,
615
623
  "allow_null": 1,
616
624
  "theme_colors": 0,
617
- "colors": []
625
+ "colors": [],
626
+ "custom_palette_source": "",
627
+ "palette_colors": "",
628
+ "show_color_wheel": true
618
629
  },
619
630
  {
620
631
  "key": "field_6867bc541193a",
@@ -661,7 +672,9 @@
661
672
  "placeholder": "",
662
673
  "allow_custom": 0,
663
674
  "search_placeholder": "",
664
- "min": ""
675
+ "min": "",
676
+ "create_options": 0,
677
+ "save_options": 0
665
678
  },
666
679
  {
667
680
  "key": "field_6867bc5411d21",
@@ -707,7 +720,9 @@
707
720
  "placeholder": "",
708
721
  "allow_custom": 0,
709
722
  "search_placeholder": "",
710
- "min": ""
723
+ "min": "",
724
+ "create_options": 0,
725
+ "save_options": 0
711
726
  },
712
727
  {
713
728
  "key": "field_6867bc5412105",
@@ -749,7 +764,9 @@
749
764
  "placeholder": "",
750
765
  "allow_custom": 0,
751
766
  "search_placeholder": "",
752
- "min": ""
767
+ "min": "",
768
+ "create_options": 0,
769
+ "save_options": 0
753
770
  },
754
771
  {
755
772
  "key": "field_6867bc54124ed",
@@ -793,7 +810,9 @@
793
810
  "placeholder": "",
794
811
  "allow_custom": 0,
795
812
  "search_placeholder": "",
796
- "min": ""
813
+ "min": "",
814
+ "create_options": 0,
815
+ "save_options": 0
797
816
  },
798
817
  {
799
818
  "key": "field_6867bc54128d5",
@@ -934,7 +953,9 @@
934
953
  "placeholder": "",
935
954
  "allow_custom": 0,
936
955
  "search_placeholder": "",
937
- "min": ""
956
+ "min": "",
957
+ "create_options": 0,
958
+ "save_options": 0
938
959
  },
939
960
  {
940
961
  "key": "field_6867bc5413875",
@@ -979,7 +1000,9 @@
979
1000
  "placeholder": "",
980
1001
  "allow_custom": 0,
981
1002
  "search_placeholder": "",
982
- "min": ""
1003
+ "min": "",
1004
+ "create_options": 0,
1005
+ "save_options": 0
983
1006
  },
984
1007
  {
985
1008
  "key": "field_6867bc5413c5e",
@@ -1112,93 +1135,6 @@
1112
1135
  "prepend": "",
1113
1136
  "append": ""
1114
1137
  },
1115
- {
1116
- "key": "field_6867bc5414bfc",
1117
- "label": "Image aspect ratio desktop",
1118
- "name": "image_aspect_ratio_desktop",
1119
- "aria-label": "",
1120
- "type": "text",
1121
- "instructions": "",
1122
- "required": 0,
1123
- "conditional_logic": [
1124
- [
1125
- {
1126
- "field": "field_6867bc54074c9",
1127
- "operator": "==",
1128
- "value": "1"
1129
- }
1130
- ]
1131
- ],
1132
- "wrapper": {
1133
- "width": "",
1134
- "class": "",
1135
- "id": ""
1136
- },
1137
- "wpml_cf_preferences": 2,
1138
- "default_value": "",
1139
- "maxlength": "",
1140
- "placeholder": "",
1141
- "prepend": "",
1142
- "append": ""
1143
- },
1144
- {
1145
- "key": "field_6867bc5414fe5",
1146
- "label": "Image aspect ratio portrait",
1147
- "name": "image_aspect_ratio_portrait",
1148
- "aria-label": "",
1149
- "type": "text",
1150
- "instructions": "",
1151
- "required": 0,
1152
- "conditional_logic": [
1153
- [
1154
- {
1155
- "field": "field_6867bc54074c9",
1156
- "operator": "==",
1157
- "value": "1"
1158
- }
1159
- ]
1160
- ],
1161
- "wrapper": {
1162
- "width": "",
1163
- "class": "",
1164
- "id": ""
1165
- },
1166
- "wpml_cf_preferences": 2,
1167
- "default_value": "",
1168
- "maxlength": "",
1169
- "placeholder": "",
1170
- "prepend": "",
1171
- "append": ""
1172
- },
1173
- {
1174
- "key": "field_6867bc5415316",
1175
- "label": "Image aspect ratio mobile",
1176
- "name": "image_aspect_ratio_mobile",
1177
- "aria-label": "",
1178
- "type": "text",
1179
- "instructions": "",
1180
- "required": 0,
1181
- "conditional_logic": [
1182
- [
1183
- {
1184
- "field": "field_6867bc54074c9",
1185
- "operator": "==",
1186
- "value": "1"
1187
- }
1188
- ]
1189
- ],
1190
- "wrapper": {
1191
- "width": "",
1192
- "class": "",
1193
- "id": ""
1194
- },
1195
- "wpml_cf_preferences": 2,
1196
- "default_value": "",
1197
- "maxlength": "",
1198
- "placeholder": "",
1199
- "prepend": "",
1200
- "append": ""
1201
- },
1202
1138
  {
1203
1139
  "key": "field_6867bc54157e6",
1204
1140
  "label": "Image offset vertical (% transform)",
@@ -1567,13 +1503,13 @@
1567
1503
  "active": false,
1568
1504
  "description": "Library version - Do not modify in this project as any changes will be overwritten by future updates.",
1569
1505
  "show_in_rest": 0,
1506
+ "display_title": "",
1570
1507
  "acfe_autosync": [
1571
1508
  "json"
1572
1509
  ],
1573
- "acfml_field_group_mode": "localization",
1574
1510
  "acfe_form": 0,
1575
1511
  "acfe_display_title": "",
1576
1512
  "acfe_meta": "",
1577
1513
  "acfe_note": "",
1578
- "modified": 1759402944
1514
+ "modified": 1761671801
1579
1515
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "2.0.99",
3
+ "version": "2.0.101",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -9,7 +9,7 @@
9
9
  right: 0;
10
10
  bottom: 0;
11
11
  left: 0;
12
- min-height: 100%;
12
+ min-height: 0;
13
13
  display: flex;
14
14
  z-index: var(--image-z-index);
15
15
  border: calc(var(--image-border-width) / var(--desktop-design-reference) * var(--screen-width-static)) var(--image-border-style) var(--image-border-colour);
@@ -1,7 +0,0 @@
1
- export default function responsivetableJs(options = {}) {
2
- try {
3
- const {block} = options;
4
- } catch (error) {
5
- console.error(error);
6
- }
7
- }
@@ -1,48 +0,0 @@
1
- @use '../fields-core-functions-v3/core-functions-v3';
2
- @use '../fields-core-mixins-v3/core-mixins-v3';
3
- @use '../../breakpoints';
4
-
5
- .responsive-table-v3 {
6
- &__wrapper {
7
- display: grid;
8
- grid-auto-flow: column;
9
- gap: calc(
10
- var(--global-inline-spacing) * var(--table-spacing-gap-desktop)
11
- );
12
- overflow: auto;
13
- }
14
- &__headings {
15
- display: grid;
16
- grid-auto-flow: column;
17
- grid-column: 1/ (var(--headings));
18
- grid-template-columns: subgrid;
19
- }
20
-
21
- &__heading {
22
- grid-row: 1;
23
- background-color: var(--background-column-headers);
24
- padding: core-functions-v3.fluidSize(5, 'mobile');
25
- @include core-mixins-v3.device(breakpoints.$tabPortrait) {
26
- padding: core-functions-v3.fluidSize(5, 'portrait');
27
- }
28
- @include core-mixins-v3.device(breakpoints.$tabLandscape) {
29
- padding: core-functions-v3.fluidSize(5, 'desktop');
30
- }
31
- }
32
- &__item {
33
- display: grid;
34
- grid-auto-flow: column;
35
- grid-column: 1/ (var(--headings));
36
- grid-template-columns: subgrid;
37
- }
38
- &__item-value {
39
- background-color: var(--background-colour-items);
40
- padding: core-functions-v3.fluidSize(5, 'mobile');
41
- @include core-mixins-v3.device(breakpoints.$tabPortrait) {
42
- padding: core-functions-v3.fluidSize(5, 'portrait');
43
- }
44
- @include core-mixins-v3.device(breakpoints.$tabLandscape) {
45
- padding: core-functions-v3.fluidSize(5, 'desktop');
46
- }
47
- }
48
- }