@orion-studios/payload-studio 0.5.0-beta.31 → 0.5.0-beta.33

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.
@@ -245,6 +245,17 @@ var BeforeAfterBlock = {
245
245
  relationTo: "media",
246
246
  required: false
247
247
  },
248
+ {
249
+ name: "imageHeight",
250
+ type: "number",
251
+ defaultValue: 160,
252
+ min: 60,
253
+ max: 600,
254
+ admin: {
255
+ description: "Overrides the before/after image height (in pixels).",
256
+ step: 10
257
+ }
258
+ },
248
259
  {
249
260
  name: "imageFit",
250
261
  type: "select",
@@ -275,6 +286,26 @@ var BeforeAfterBlock = {
275
286
  { label: "Right", value: "right" }
276
287
  ]
277
288
  },
289
+ {
290
+ name: "imagePositionX",
291
+ type: "number",
292
+ min: 0,
293
+ max: 100,
294
+ admin: {
295
+ description: "Optional custom horizontal focus (0-100). Overrides Image Position when set.",
296
+ step: 1
297
+ }
298
+ },
299
+ {
300
+ name: "imagePositionY",
301
+ type: "number",
302
+ min: 0,
303
+ max: 100,
304
+ admin: {
305
+ description: "Optional custom vertical focus (0-100). Overrides Image Position when set.",
306
+ step: 1
307
+ }
308
+ },
278
309
  {
279
310
  name: "description",
280
311
  type: "textarea"
@@ -473,6 +504,17 @@ var FeatureGridBlock = {
473
504
  relationTo: "media",
474
505
  required: false
475
506
  },
507
+ {
508
+ name: "imageHeight",
509
+ type: "number",
510
+ defaultValue: 160,
511
+ min: 40,
512
+ max: 600,
513
+ admin: {
514
+ description: "Overrides the image height in the builder/section (in pixels).",
515
+ step: 10
516
+ }
517
+ },
476
518
  {
477
519
  name: "imageFit",
478
520
  type: "select",
@@ -502,6 +544,26 @@ var FeatureGridBlock = {
502
544
  { label: "Left", value: "left" },
503
545
  { label: "Right", value: "right" }
504
546
  ]
547
+ },
548
+ {
549
+ name: "imagePositionX",
550
+ type: "number",
551
+ min: 0,
552
+ max: 100,
553
+ admin: {
554
+ description: "Optional custom horizontal focus (0-100). Overrides Image Position when set.",
555
+ step: 1
556
+ }
557
+ },
558
+ {
559
+ name: "imagePositionY",
560
+ type: "number",
561
+ min: 0,
562
+ max: 100,
563
+ admin: {
564
+ description: "Optional custom vertical focus (0-100). Overrides Image Position when set.",
565
+ step: 1
566
+ }
505
567
  }
506
568
  ]
507
569
  },
@@ -757,6 +819,17 @@ var LogoWallBlock = {
757
819
  relationTo: "media",
758
820
  required: false
759
821
  },
822
+ {
823
+ name: "imageHeight",
824
+ type: "number",
825
+ defaultValue: 64,
826
+ min: 24,
827
+ max: 200,
828
+ admin: {
829
+ description: "Overrides the logo image height (in pixels).",
830
+ step: 4
831
+ }
832
+ },
760
833
  {
761
834
  name: "imageFit",
762
835
  type: "select",
@@ -787,6 +860,26 @@ var LogoWallBlock = {
787
860
  { label: "Right", value: "right" }
788
861
  ]
789
862
  },
863
+ {
864
+ name: "imagePositionX",
865
+ type: "number",
866
+ min: 0,
867
+ max: 100,
868
+ admin: {
869
+ description: "Optional custom horizontal focus (0-100). Overrides Image Position when set.",
870
+ step: 1
871
+ }
872
+ },
873
+ {
874
+ name: "imagePositionY",
875
+ type: "number",
876
+ min: 0,
877
+ max: 100,
878
+ admin: {
879
+ description: "Optional custom vertical focus (0-100). Overrides Image Position when set.",
880
+ step: 1
881
+ }
882
+ },
790
883
  {
791
884
  name: "href",
792
885
  type: "text"
@@ -17,7 +17,7 @@ import {
17
17
  defaultPageLayoutBlocks,
18
18
  sectionPresets,
19
19
  templateStarterPresets
20
- } from "../chunk-H7DSTEVT.mjs";
20
+ } from "../chunk-DUPYIJJH.mjs";
21
21
  import "../chunk-SIL2J5MF.mjs";
22
22
  import "../chunk-6BWS3CLP.mjs";
23
23
  export {
@@ -81,6 +81,17 @@ var BeforeAfterBlock = {
81
81
  relationTo: "media",
82
82
  required: false
83
83
  },
84
+ {
85
+ name: "imageHeight",
86
+ type: "number",
87
+ defaultValue: 160,
88
+ min: 60,
89
+ max: 600,
90
+ admin: {
91
+ description: "Overrides the before/after image height (in pixels).",
92
+ step: 10
93
+ }
94
+ },
84
95
  {
85
96
  name: "imageFit",
86
97
  type: "select",
@@ -111,6 +122,26 @@ var BeforeAfterBlock = {
111
122
  { label: "Right", value: "right" }
112
123
  ]
113
124
  },
125
+ {
126
+ name: "imagePositionX",
127
+ type: "number",
128
+ min: 0,
129
+ max: 100,
130
+ admin: {
131
+ description: "Optional custom horizontal focus (0-100). Overrides Image Position when set.",
132
+ step: 1
133
+ }
134
+ },
135
+ {
136
+ name: "imagePositionY",
137
+ type: "number",
138
+ min: 0,
139
+ max: 100,
140
+ admin: {
141
+ description: "Optional custom vertical focus (0-100). Overrides Image Position when set.",
142
+ step: 1
143
+ }
144
+ },
114
145
  {
115
146
  name: "description",
116
147
  type: "textarea"
@@ -309,6 +340,17 @@ var FeatureGridBlock = {
309
340
  relationTo: "media",
310
341
  required: false
311
342
  },
343
+ {
344
+ name: "imageHeight",
345
+ type: "number",
346
+ defaultValue: 160,
347
+ min: 40,
348
+ max: 600,
349
+ admin: {
350
+ description: "Overrides the image height in the builder/section (in pixels).",
351
+ step: 10
352
+ }
353
+ },
312
354
  {
313
355
  name: "imageFit",
314
356
  type: "select",
@@ -338,6 +380,26 @@ var FeatureGridBlock = {
338
380
  { label: "Left", value: "left" },
339
381
  { label: "Right", value: "right" }
340
382
  ]
383
+ },
384
+ {
385
+ name: "imagePositionX",
386
+ type: "number",
387
+ min: 0,
388
+ max: 100,
389
+ admin: {
390
+ description: "Optional custom horizontal focus (0-100). Overrides Image Position when set.",
391
+ step: 1
392
+ }
393
+ },
394
+ {
395
+ name: "imagePositionY",
396
+ type: "number",
397
+ min: 0,
398
+ max: 100,
399
+ admin: {
400
+ description: "Optional custom vertical focus (0-100). Overrides Image Position when set.",
401
+ step: 1
402
+ }
341
403
  }
342
404
  ]
343
405
  },
@@ -593,6 +655,17 @@ var LogoWallBlock = {
593
655
  relationTo: "media",
594
656
  required: false
595
657
  },
658
+ {
659
+ name: "imageHeight",
660
+ type: "number",
661
+ defaultValue: 64,
662
+ min: 24,
663
+ max: 200,
664
+ admin: {
665
+ description: "Overrides the logo image height (in pixels).",
666
+ step: 4
667
+ }
668
+ },
596
669
  {
597
670
  name: "imageFit",
598
671
  type: "select",
@@ -623,6 +696,26 @@ var LogoWallBlock = {
623
696
  { label: "Right", value: "right" }
624
697
  ]
625
698
  },
699
+ {
700
+ name: "imagePositionX",
701
+ type: "number",
702
+ min: 0,
703
+ max: 100,
704
+ admin: {
705
+ description: "Optional custom horizontal focus (0-100). Overrides Image Position when set.",
706
+ step: 1
707
+ }
708
+ },
709
+ {
710
+ name: "imagePositionY",
711
+ type: "number",
712
+ min: 0,
713
+ max: 100,
714
+ admin: {
715
+ description: "Optional custom vertical focus (0-100). Overrides Image Position when set.",
716
+ step: 1
717
+ }
718
+ },
626
719
  {
627
720
  name: "href",
628
721
  type: "text"
package/dist/index.js CHANGED
@@ -786,6 +786,17 @@ var BeforeAfterBlock = {
786
786
  relationTo: "media",
787
787
  required: false
788
788
  },
789
+ {
790
+ name: "imageHeight",
791
+ type: "number",
792
+ defaultValue: 160,
793
+ min: 60,
794
+ max: 600,
795
+ admin: {
796
+ description: "Overrides the before/after image height (in pixels).",
797
+ step: 10
798
+ }
799
+ },
789
800
  {
790
801
  name: "imageFit",
791
802
  type: "select",
@@ -816,6 +827,26 @@ var BeforeAfterBlock = {
816
827
  { label: "Right", value: "right" }
817
828
  ]
818
829
  },
830
+ {
831
+ name: "imagePositionX",
832
+ type: "number",
833
+ min: 0,
834
+ max: 100,
835
+ admin: {
836
+ description: "Optional custom horizontal focus (0-100). Overrides Image Position when set.",
837
+ step: 1
838
+ }
839
+ },
840
+ {
841
+ name: "imagePositionY",
842
+ type: "number",
843
+ min: 0,
844
+ max: 100,
845
+ admin: {
846
+ description: "Optional custom vertical focus (0-100). Overrides Image Position when set.",
847
+ step: 1
848
+ }
849
+ },
819
850
  {
820
851
  name: "description",
821
852
  type: "textarea"
@@ -1014,6 +1045,17 @@ var FeatureGridBlock = {
1014
1045
  relationTo: "media",
1015
1046
  required: false
1016
1047
  },
1048
+ {
1049
+ name: "imageHeight",
1050
+ type: "number",
1051
+ defaultValue: 160,
1052
+ min: 40,
1053
+ max: 600,
1054
+ admin: {
1055
+ description: "Overrides the image height in the builder/section (in pixels).",
1056
+ step: 10
1057
+ }
1058
+ },
1017
1059
  {
1018
1060
  name: "imageFit",
1019
1061
  type: "select",
@@ -1043,6 +1085,26 @@ var FeatureGridBlock = {
1043
1085
  { label: "Left", value: "left" },
1044
1086
  { label: "Right", value: "right" }
1045
1087
  ]
1088
+ },
1089
+ {
1090
+ name: "imagePositionX",
1091
+ type: "number",
1092
+ min: 0,
1093
+ max: 100,
1094
+ admin: {
1095
+ description: "Optional custom horizontal focus (0-100). Overrides Image Position when set.",
1096
+ step: 1
1097
+ }
1098
+ },
1099
+ {
1100
+ name: "imagePositionY",
1101
+ type: "number",
1102
+ min: 0,
1103
+ max: 100,
1104
+ admin: {
1105
+ description: "Optional custom vertical focus (0-100). Overrides Image Position when set.",
1106
+ step: 1
1107
+ }
1046
1108
  }
1047
1109
  ]
1048
1110
  },
@@ -1298,6 +1360,17 @@ var LogoWallBlock = {
1298
1360
  relationTo: "media",
1299
1361
  required: false
1300
1362
  },
1363
+ {
1364
+ name: "imageHeight",
1365
+ type: "number",
1366
+ defaultValue: 64,
1367
+ min: 24,
1368
+ max: 200,
1369
+ admin: {
1370
+ description: "Overrides the logo image height (in pixels).",
1371
+ step: 4
1372
+ }
1373
+ },
1301
1374
  {
1302
1375
  name: "imageFit",
1303
1376
  type: "select",
@@ -1328,6 +1401,26 @@ var LogoWallBlock = {
1328
1401
  { label: "Right", value: "right" }
1329
1402
  ]
1330
1403
  },
1404
+ {
1405
+ name: "imagePositionX",
1406
+ type: "number",
1407
+ min: 0,
1408
+ max: 100,
1409
+ admin: {
1410
+ description: "Optional custom horizontal focus (0-100). Overrides Image Position when set.",
1411
+ step: 1
1412
+ }
1413
+ },
1414
+ {
1415
+ name: "imagePositionY",
1416
+ type: "number",
1417
+ min: 0,
1418
+ max: 100,
1419
+ admin: {
1420
+ description: "Optional custom vertical focus (0-100). Overrides Image Position when set.",
1421
+ step: 1
1422
+ }
1423
+ },
1331
1424
  {
1332
1425
  name: "href",
1333
1426
  type: "text"
package/dist/index.mjs CHANGED
@@ -1,22 +1,22 @@
1
+ import {
2
+ blocks_exports
3
+ } from "./chunk-DUPYIJJH.mjs";
1
4
  import {
2
5
  admin_exports
3
6
  } from "./chunk-7IGLXLUB.mjs";
4
7
  import {
5
8
  admin_app_exports
6
9
  } from "./chunk-XVH5SCBD.mjs";
7
- import {
8
- blocks_exports
9
- } from "./chunk-H7DSTEVT.mjs";
10
10
  import {
11
11
  nextjs_exports
12
- } from "./chunk-GPQPDEB5.mjs";
13
- import {
14
- studio_exports
15
- } from "./chunk-N67KVM2S.mjs";
12
+ } from "./chunk-RZZFLVWG.mjs";
16
13
  import {
17
14
  studio_pages_exports
18
15
  } from "./chunk-QW24Y4UH.mjs";
19
16
  import "./chunk-SIL2J5MF.mjs";
17
+ import {
18
+ studio_exports
19
+ } from "./chunk-N67KVM2S.mjs";
20
20
  import "./chunk-6BWS3CLP.mjs";
21
21
  export {
22
22
  admin_exports as admin,
@@ -4,10 +4,10 @@ import {
4
4
  createPayloadClient,
5
5
  createSiteQueries,
6
6
  resolveMedia
7
- } from "../chunk-GPQPDEB5.mjs";
8
- import "../chunk-N67KVM2S.mjs";
7
+ } from "../chunk-RZZFLVWG.mjs";
9
8
  import "../chunk-QW24Y4UH.mjs";
10
9
  import "../chunk-SIL2J5MF.mjs";
10
+ import "../chunk-N67KVM2S.mjs";
11
11
  import "../chunk-6BWS3CLP.mjs";
12
12
  export {
13
13
  WEBSITE_CONTENT_TAG,