@elementor/editor-props 4.4.0-1087 → 4.4.0-1089

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.
package/dist/index.mjs CHANGED
@@ -232,92 +232,161 @@ var dimensionsPropTypeUtil = createPropUtils(
232
232
  import { z as z19 } from "@elementor/schema";
233
233
  var numberPropTypeUtil = createPropUtils("number", z19.number().nullable());
234
234
 
235
- // src/prop-types/size.ts
235
+ // src/prop-types/responsive.ts
236
236
  import { z as z20 } from "@elementor/schema";
237
- var sizeNumberOrEmpty = z20.union([z20.number(), z20.literal("")]);
237
+
238
+ // src/utils/resolve-responsive-value.ts
239
+ var RESPONSIVE_BREAKPOINT_KEYS = [
240
+ "mobile",
241
+ "mobile_extra",
242
+ "tablet",
243
+ "tablet_extra",
244
+ "laptop",
245
+ "desktop",
246
+ "widescreen"
247
+ ];
248
+ function responsiveFallbackChain(breakpoint) {
249
+ const keys = [...RESPONSIVE_BREAKPOINT_KEYS];
250
+ const index = keys.indexOf(breakpoint);
251
+ const desktopIndex = keys.indexOf("desktop");
252
+ if (-1 === index || -1 === desktopIndex) {
253
+ return ["desktop"];
254
+ }
255
+ if (index > desktopIndex) {
256
+ return [breakpoint, "desktop"];
257
+ }
258
+ return keys.slice(index, desktopIndex + 1);
259
+ }
260
+ function isBreakpointActive(key, activeBreakpoints) {
261
+ if ("desktop" === key || !activeBreakpoints) {
262
+ return true;
263
+ }
264
+ if (Array.isArray(activeBreakpoints)) {
265
+ return activeBreakpoints.includes(key);
266
+ }
267
+ return Object.prototype.hasOwnProperty.call(activeBreakpoints, key);
268
+ }
269
+ function unwrapResponsiveEntry(entry) {
270
+ if (null === entry || void 0 === entry || "" === entry) {
271
+ return null;
272
+ }
273
+ if (typeof entry === "object" && !Array.isArray(entry) && entry !== null && "$$type" in entry && "value" in entry) {
274
+ return entry.value;
275
+ }
276
+ return entry;
277
+ }
278
+ function resolveResponsiveValue(value, breakpoint, activeBreakpoints) {
279
+ if (value === null || value === void 0) {
280
+ return null;
281
+ }
282
+ if (typeof value !== "object" || Array.isArray(value)) {
283
+ return value;
284
+ }
285
+ const map = value;
286
+ for (const key of responsiveFallbackChain(breakpoint)) {
287
+ if (!isBreakpointActive(key, activeBreakpoints)) {
288
+ continue;
289
+ }
290
+ const resolved = unwrapResponsiveEntry(map[key]);
291
+ if (resolved !== null && resolved !== void 0) {
292
+ return resolved;
293
+ }
294
+ }
295
+ return unwrapResponsiveEntry(map.desktop);
296
+ }
297
+
298
+ // src/prop-types/responsive.ts
299
+ var responsiveShape = Object.fromEntries(
300
+ RESPONSIVE_BREAKPOINT_KEYS.map((key) => [key, unknownChildrenSchema.optional()])
301
+ );
302
+ var responsivePropTypeUtil = createPropUtils("responsive", z20.object(responsiveShape).partial());
303
+
304
+ // src/prop-types/size.ts
305
+ import { z as z21 } from "@elementor/schema";
306
+ var sizeNumberOrEmpty = z21.union([z21.number(), z21.literal("")]);
238
307
  var sizePropTypeUtil = createPropUtils(
239
308
  "size",
240
- z20.strictObject({
241
- unit: z20.enum(["px", "em", "rem", "%", "vw", "vh", "ch", "fr"]),
309
+ z21.strictObject({
310
+ unit: z21.enum(["px", "em", "rem", "%", "vw", "vh", "ch", "fr"]),
242
311
  size: sizeNumberOrEmpty
243
312
  }).or(
244
- z20.strictObject({
245
- unit: z20.enum(["deg", "rad", "grad", "turn"]),
313
+ z21.strictObject({
314
+ unit: z21.enum(["deg", "rad", "grad", "turn"]),
246
315
  size: sizeNumberOrEmpty
247
316
  })
248
317
  ).or(
249
- z20.strictObject({
250
- unit: z20.enum(["s", "ms"]),
318
+ z21.strictObject({
319
+ unit: z21.enum(["s", "ms"]),
251
320
  size: sizeNumberOrEmpty
252
321
  })
253
322
  ).or(
254
- z20.strictObject({
255
- unit: z20.literal("auto"),
256
- size: z20.literal("")
323
+ z21.strictObject({
324
+ unit: z21.literal("auto"),
325
+ size: z21.literal("")
257
326
  })
258
327
  ).or(
259
- z20.strictObject({
260
- unit: z20.literal("custom"),
261
- size: z20.string()
328
+ z21.strictObject({
329
+ unit: z21.literal("custom"),
330
+ size: z21.string()
262
331
  })
263
332
  )
264
333
  );
265
334
 
266
335
  // src/prop-types/grid-track-size.ts
267
- import { z as z21 } from "@elementor/schema";
336
+ import { z as z22 } from "@elementor/schema";
268
337
  var gridTrackSizePropTypeUtil = createPropUtils(
269
338
  "grid-track-size",
270
- z21.strictObject({
271
- unit: z21.literal("fr"),
272
- size: z21.union([z21.number(), z21.literal("")])
339
+ z22.strictObject({
340
+ unit: z22.literal("fr"),
341
+ size: z22.union([z22.number(), z22.literal("")])
273
342
  }).or(
274
- z21.strictObject({
275
- unit: z21.literal("custom"),
276
- size: z21.string()
343
+ z22.strictObject({
344
+ unit: z22.literal("custom"),
345
+ size: z22.string()
277
346
  })
278
347
  )
279
348
  );
280
349
 
281
350
  // src/prop-types/span.ts
282
- import { z as z22 } from "@elementor/schema";
283
- var spanPropTypeUtil = createPropUtils("span", z22.string().nullable());
351
+ import { z as z23 } from "@elementor/schema";
352
+ var spanPropTypeUtil = createPropUtils("span", z23.string().nullable());
284
353
 
285
354
  // src/prop-types/string.ts
286
- import { z as z23 } from "@elementor/schema";
287
- var stringPropTypeUtil = createPropUtils("string", z23.string().nullable());
355
+ import { z as z24 } from "@elementor/schema";
356
+ var stringPropTypeUtil = createPropUtils("string", z24.string().nullable());
288
357
 
289
358
  // src/prop-types/string-array.ts
290
359
  var stringArrayPropTypeUtil = createArrayPropUtils(stringPropTypeUtil.key, stringPropTypeUtil.schema);
291
360
 
292
361
  // src/prop-types/stroke.ts
293
- import { z as z24 } from "@elementor/schema";
362
+ import { z as z25 } from "@elementor/schema";
294
363
  var strokePropTypeUtil = createPropUtils(
295
364
  "stroke",
296
- z24.strictObject({
365
+ z25.strictObject({
297
366
  color: unknownChildrenSchema,
298
367
  width: unknownChildrenSchema
299
368
  })
300
369
  );
301
370
 
302
371
  // src/prop-types/url.ts
303
- import { z as z25 } from "@elementor/schema";
304
- var urlPropTypeUtil = createPropUtils("url", z25.string().nullable());
372
+ import { z as z26 } from "@elementor/schema";
373
+ var urlPropTypeUtil = createPropUtils("url", z26.string().nullable());
305
374
 
306
375
  // src/prop-types/layout-direction.ts
307
- import { z as z26 } from "@elementor/schema";
376
+ import { z as z27 } from "@elementor/schema";
308
377
  var layoutDirectionPropTypeUtil = createPropUtils(
309
378
  "layout-direction",
310
- z26.object({
311
- row: z26.any(),
312
- column: z26.any()
379
+ z27.object({
380
+ row: z27.any(),
381
+ column: z27.any()
313
382
  })
314
383
  );
315
384
 
316
385
  // src/prop-types/link.ts
317
- import { z as z27 } from "@elementor/schema";
386
+ import { z as z28 } from "@elementor/schema";
318
387
  var linkPropTypeUtil = createPropUtils(
319
388
  "link",
320
- z27.strictObject({
389
+ z28.strictObject({
321
390
  destination: unknownChildrenSchema,
322
391
  isTargetBlank: unknownChildrenSchema,
323
392
  tag: unknownChildrenSchema
@@ -325,10 +394,10 @@ var linkPropTypeUtil = createPropUtils(
325
394
  );
326
395
 
327
396
  // src/prop-types/email.ts
328
- import { z as z28 } from "@elementor/schema";
397
+ import { z as z29 } from "@elementor/schema";
329
398
  var emailPropTypeUtil = createPropUtils(
330
399
  "email",
331
- z28.strictObject({
400
+ z29.strictObject({
332
401
  to: unknownChildrenSchema,
333
402
  subject: unknownChildrenSchema,
334
403
  message: unknownChildrenSchema,
@@ -343,10 +412,10 @@ var emailPropTypeUtil = createPropUtils(
343
412
  );
344
413
 
345
414
  // src/prop-types/emails.ts
346
- import { z as z29 } from "@elementor/schema";
415
+ import { z as z30 } from "@elementor/schema";
347
416
  var emailsPropTypeUtil = createPropUtils(
348
417
  "emails",
349
- z29.strictObject({
418
+ z30.strictObject({
350
419
  to: unknownChildrenSchema,
351
420
  subject: unknownChildrenSchema,
352
421
  message: unknownChildrenSchema,
@@ -361,13 +430,13 @@ var emailsPropTypeUtil = createPropUtils(
361
430
  );
362
431
 
363
432
  // src/prop-types/selection-size.ts
364
- import { z as z31 } from "@elementor/schema";
433
+ import { z as z32 } from "@elementor/schema";
365
434
 
366
435
  // src/prop-types/key-value.ts
367
- import { z as z30 } from "@elementor/schema";
436
+ import { z as z31 } from "@elementor/schema";
368
437
  var keyValuePropTypeUtil = createPropUtils(
369
438
  "key-value",
370
- z30.strictObject({
439
+ z31.strictObject({
371
440
  key: unknownChildrenSchema,
372
441
  value: unknownChildrenSchema
373
442
  })
@@ -376,17 +445,17 @@ var keyValuePropTypeUtil = createPropUtils(
376
445
  // src/prop-types/selection-size.ts
377
446
  var selectionSizePropTypeUtil = createPropUtils(
378
447
  "selection-size",
379
- z31.strictObject({
380
- selection: z31.union([keyValuePropTypeUtil.schema, stringPropTypeUtil.schema]),
448
+ z32.strictObject({
449
+ selection: z32.union([keyValuePropTypeUtil.schema, stringPropTypeUtil.schema]),
381
450
  size: unknownChildrenSchema
382
451
  })
383
452
  );
384
453
 
385
454
  // src/prop-types/background-prop-types/background.ts
386
- import { z as z32 } from "@elementor/schema";
455
+ import { z as z33 } from "@elementor/schema";
387
456
  var backgroundPropTypeUtil = createPropUtils(
388
457
  "background",
389
- z32.strictObject({
458
+ z33.strictObject({
390
459
  color: unknownChildrenSchema,
391
460
  clip: unknownChildrenSchema,
392
461
  "background-overlay": unknownChildrenSchema
@@ -394,7 +463,7 @@ var backgroundPropTypeUtil = createPropUtils(
394
463
  );
395
464
 
396
465
  // src/prop-types/background-prop-types/background-overlay.ts
397
- import { z as z33 } from "@elementor/schema";
466
+ import { z as z34 } from "@elementor/schema";
398
467
 
399
468
  // src/prop-types/background-prop-types/background-color-overlay.ts
400
469
  var backgroundColorOverlayPropTypeUtil = createPropUtils("background-color-overlay", unknownChildrenSchema);
@@ -410,7 +479,7 @@ var backgroundImageOverlayPropTypeUtil = createPropUtils("background-image-overl
410
479
 
411
480
  // src/prop-types/background-prop-types/background-overlay.ts
412
481
  var backgroundOverlayItem = backgroundColorOverlayPropTypeUtil.schema.or(backgroundGradientOverlayPropTypeUtil.schema).or(backgroundImageOverlayPropTypeUtil.schema);
413
- var backgroundOverlayPropTypeUtil = createPropUtils("background-overlay", z33.array(backgroundOverlayItem));
482
+ var backgroundOverlayPropTypeUtil = createPropUtils("background-overlay", z34.array(backgroundOverlayItem));
414
483
 
415
484
  // src/prop-types/background-prop-types/background-image-position-offset.ts
416
485
  var backgroundImagePositionOffsetPropTypeUtil = createPropUtils(
@@ -425,71 +494,71 @@ var backgroundImageSizeScalePropTypeUtil = createPropUtils(
425
494
  );
426
495
 
427
496
  // src/prop-types/boolean.ts
428
- import { z as z34 } from "@elementor/schema";
429
- var booleanPropTypeUtil = createPropUtils("boolean", z34.boolean().nullable());
497
+ import { z as z35 } from "@elementor/schema";
498
+ var booleanPropTypeUtil = createPropUtils("boolean", z35.boolean().nullable());
430
499
 
431
500
  // src/prop-types/color-stop.ts
432
- import { z as z35 } from "@elementor/schema";
501
+ import { z as z36 } from "@elementor/schema";
433
502
  var colorStopPropTypeUtil = createPropUtils(
434
503
  "color-stop",
435
- z35.strictObject({
504
+ z36.strictObject({
436
505
  color: unknownChildrenSchema,
437
506
  offset: unknownChildrenSchema
438
507
  })
439
508
  );
440
509
 
441
510
  // src/prop-types/gradient-color-stop.ts
442
- import { z as z36 } from "@elementor/schema";
511
+ import { z as z37 } from "@elementor/schema";
443
512
  var gradientColorStopPropTypeUtil = createPropUtils(
444
513
  "gradient-color-stop",
445
- z36.array(colorStopPropTypeUtil.schema)
514
+ z37.array(colorStopPropTypeUtil.schema)
446
515
  );
447
516
 
448
517
  // src/prop-types/number-range.ts
449
- import { z as z37 } from "@elementor/schema";
518
+ import { z as z38 } from "@elementor/schema";
450
519
  var numberRangePropTypeUtil = createPropUtils(
451
520
  "number-range",
452
- z37.strictObject({
521
+ z38.strictObject({
453
522
  min: unknownChildrenSchema,
454
523
  max: unknownChildrenSchema
455
524
  })
456
525
  );
457
526
 
458
527
  // src/prop-types/date-time.ts
459
- import { z as z38 } from "@elementor/schema";
528
+ import { z as z39 } from "@elementor/schema";
460
529
  var DateTimePropTypeUtil = createPropUtils(
461
530
  "date-time",
462
- z38.strictObject({
531
+ z39.strictObject({
463
532
  date: unknownChildrenSchema,
464
533
  time: unknownChildrenSchema
465
534
  })
466
535
  );
467
536
 
468
537
  // src/prop-types/position.ts
469
- import { z as z39 } from "@elementor/schema";
538
+ import { z as z40 } from "@elementor/schema";
470
539
  var positionPropTypeUtil = createPropUtils(
471
540
  "object-position",
472
- z39.strictObject({
541
+ z40.strictObject({
473
542
  x: unknownChildrenSchema,
474
543
  y: unknownChildrenSchema
475
544
  })
476
545
  );
477
546
 
478
547
  // src/prop-types/query.ts
479
- import { z as z40 } from "@elementor/schema";
548
+ import { z as z41 } from "@elementor/schema";
480
549
  var queryPropTypeUtil = createPropUtils(
481
550
  "query",
482
- z40.strictObject({
551
+ z41.strictObject({
483
552
  id: unknownChildrenSchema,
484
553
  label: unknownChildrenSchema
485
554
  })
486
555
  );
487
556
 
488
557
  // src/prop-types/query-filter.ts
489
- import { z as z41 } from "@elementor/schema";
558
+ import { z as z42 } from "@elementor/schema";
490
559
  var queryFilterPropTypeUtil = createPropUtils(
491
560
  "query-filter",
492
- z41.strictObject({
561
+ z42.strictObject({
493
562
  key: unknownChildrenSchema,
494
563
  values: unknownChildrenSchema,
495
564
  taxonomies: unknownChildrenSchema
@@ -501,45 +570,45 @@ var queryFilterArrayPropTypeUtil = createArrayPropUtils(
501
570
  );
502
571
 
503
572
  // src/prop-types/html.ts
504
- import { z as z42 } from "@elementor/schema";
505
- var htmlPropTypeUtil = createPropUtils("html", z42.string().nullable());
573
+ import { z as z43 } from "@elementor/schema";
574
+ var htmlPropTypeUtil = createPropUtils("html", z43.string().nullable());
506
575
 
507
576
  // src/prop-types/html-v2.ts
508
- import { z as z43 } from "@elementor/schema";
509
- var childElementSchema = z43.lazy(
510
- () => z43.object({
511
- id: z43.string(),
512
- type: z43.string(),
513
- content: z43.string().optional(),
514
- children: z43.array(childElementSchema).optional()
577
+ import { z as z44 } from "@elementor/schema";
578
+ var childElementSchema = z44.lazy(
579
+ () => z44.object({
580
+ id: z44.string(),
581
+ type: z44.string(),
582
+ content: z44.string().optional(),
583
+ children: z44.array(childElementSchema).optional()
515
584
  })
516
585
  );
517
- var htmlV2ValueSchema = z43.object({
518
- content: z43.string().nullable(),
519
- children: z43.array(childElementSchema)
586
+ var htmlV2ValueSchema = z44.object({
587
+ content: z44.string().nullable(),
588
+ children: z44.array(childElementSchema)
520
589
  });
521
590
  var htmlV2PropTypeUtil = createPropUtils("html-v2", htmlV2ValueSchema);
522
591
 
523
592
  // src/prop-types/html-v3.ts
524
- import { z as z44 } from "@elementor/schema";
525
- var htmlV3ValueSchema = z44.object({
593
+ import { z as z45 } from "@elementor/schema";
594
+ var htmlV3ValueSchema = z45.object({
526
595
  content: stringPropTypeUtil.schema.nullable(),
527
- children: z44.array(z44.unknown())
596
+ children: z45.array(z45.unknown())
528
597
  });
529
598
  var htmlV3PropTypeUtil = createPropUtils("html-v3", htmlV3ValueSchema);
530
599
 
531
600
  // src/prop-types/escaped-html.ts
532
- import { z as z45 } from "@elementor/schema";
533
- var escapedHtmlPropTypeUtil = createPropUtils("escaped-html", z45.string().nullable());
601
+ import { z as z46 } from "@elementor/schema";
602
+ var escapedHtmlPropTypeUtil = createPropUtils("escaped-html", z46.string().nullable());
534
603
 
535
604
  // src/prop-types/filter-prop-types/filter.ts
536
- import { z as z51 } from "@elementor/schema";
605
+ import { z as z52 } from "@elementor/schema";
537
606
 
538
607
  // src/prop-types/filter-prop-types/drop-shadow-filter.ts
539
- import { z as z46 } from "@elementor/schema";
608
+ import { z as z47 } from "@elementor/schema";
540
609
  var dropShadowFilterPropTypeUtil = createPropUtils(
541
610
  "drop-shadow",
542
- z46.object({
611
+ z47.object({
543
612
  xAxis: unknownChildrenSchema,
544
613
  yAxis: unknownChildrenSchema,
545
614
  blur: unknownChildrenSchema,
@@ -548,37 +617,37 @@ var dropShadowFilterPropTypeUtil = createPropUtils(
548
617
  );
549
618
 
550
619
  // src/prop-types/filter-prop-types/filter-functions/blur-filter.ts
551
- import { z as z47 } from "@elementor/schema";
620
+ import { z as z48 } from "@elementor/schema";
552
621
  var blurFilterPropTypeUtil = createPropUtils(
553
622
  "blur",
554
- z47.strictObject({
623
+ z48.strictObject({
555
624
  size: unknownChildrenSchema
556
625
  })
557
626
  );
558
627
 
559
628
  // src/prop-types/filter-prop-types/filter-functions/color-tone-filter.ts
560
- import { z as z48 } from "@elementor/schema";
629
+ import { z as z49 } from "@elementor/schema";
561
630
  var colorToneFilterPropTypeUtil = createPropUtils(
562
631
  "color-tone",
563
- z48.strictObject({
632
+ z49.strictObject({
564
633
  size: unknownChildrenSchema
565
634
  })
566
635
  );
567
636
 
568
637
  // src/prop-types/filter-prop-types/filter-functions/hue-rotate-filter.ts
569
- import { z as z49 } from "@elementor/schema";
638
+ import { z as z50 } from "@elementor/schema";
570
639
  var hueRotateFilterPropTypeUtil = createPropUtils(
571
640
  "hue-rotate",
572
- z49.strictObject({
641
+ z50.strictObject({
573
642
  size: unknownChildrenSchema
574
643
  })
575
644
  );
576
645
 
577
646
  // src/prop-types/filter-prop-types/filter-functions/intensity-filter.ts
578
- import { z as z50 } from "@elementor/schema";
647
+ import { z as z51 } from "@elementor/schema";
579
648
  var intensityFilterPropTypeUtil = createPropUtils(
580
649
  "intensity",
581
- z50.strictObject({
650
+ z51.strictObject({
582
651
  size: unknownChildrenSchema
583
652
  })
584
653
  );
@@ -586,9 +655,9 @@ var intensityFilterPropTypeUtil = createPropUtils(
586
655
  // src/prop-types/filter-prop-types/filter.ts
587
656
  var cssFilterFunctionPropUtil = createPropUtils(
588
657
  "css-filter-func",
589
- z51.object({
658
+ z52.object({
590
659
  func: stringPropTypeUtil.schema,
591
- args: z51.union([
660
+ args: z52.union([
592
661
  blurFilterPropTypeUtil.schema,
593
662
  intensityFilterPropTypeUtil.schema,
594
663
  colorToneFilterPropTypeUtil.schema,
@@ -597,13 +666,13 @@ var cssFilterFunctionPropUtil = createPropUtils(
597
666
  ])
598
667
  })
599
668
  );
600
- var filterPropTypeUtil = createPropUtils("filter", z51.array(cssFilterFunctionPropUtil.schema));
669
+ var filterPropTypeUtil = createPropUtils("filter", z52.array(cssFilterFunctionPropUtil.schema));
601
670
 
602
671
  // src/prop-types/transform-prop-types/transform.ts
603
- import { z as z52 } from "@elementor/schema";
672
+ import { z as z53 } from "@elementor/schema";
604
673
  var transformPropTypeUtil = createPropUtils(
605
674
  "transform",
606
- z52.strictObject({
675
+ z53.strictObject({
607
676
  "transform-functions": unknownChildrenSchema,
608
677
  "transform-origin": unknownChildrenSchema,
609
678
  perspective: unknownChildrenSchema,
@@ -612,10 +681,10 @@ var transformPropTypeUtil = createPropUtils(
612
681
  );
613
682
 
614
683
  // src/prop-types/transform-prop-types/transform-functions.ts
615
- import { z as z57 } from "@elementor/schema";
684
+ import { z as z58 } from "@elementor/schema";
616
685
 
617
686
  // src/prop-types/transform-prop-types/transform-functions/move-transform.ts
618
- import { z as z53 } from "@elementor/schema";
687
+ import { z as z54 } from "@elementor/schema";
619
688
 
620
689
  // src/prop-types/transform-prop-types/types.ts
621
690
  var TransformFunctionKeys = {
@@ -628,7 +697,7 @@ var TransformFunctionKeys = {
628
697
  // src/prop-types/transform-prop-types/transform-functions/move-transform.ts
629
698
  var moveTransformPropTypeUtil = createPropUtils(
630
699
  TransformFunctionKeys.move,
631
- z53.strictObject({
700
+ z54.strictObject({
632
701
  x: unknownChildrenSchema,
633
702
  y: unknownChildrenSchema,
634
703
  z: unknownChildrenSchema
@@ -636,10 +705,10 @@ var moveTransformPropTypeUtil = createPropUtils(
636
705
  );
637
706
 
638
707
  // src/prop-types/transform-prop-types/transform-functions/rotate-transform.ts
639
- import { z as z54 } from "@elementor/schema";
708
+ import { z as z55 } from "@elementor/schema";
640
709
  var rotateTransformPropTypeUtil = createPropUtils(
641
710
  TransformFunctionKeys.rotate,
642
- z54.strictObject({
711
+ z55.strictObject({
643
712
  x: unknownChildrenSchema,
644
713
  y: unknownChildrenSchema,
645
714
  z: unknownChildrenSchema
@@ -647,10 +716,10 @@ var rotateTransformPropTypeUtil = createPropUtils(
647
716
  );
648
717
 
649
718
  // src/prop-types/transform-prop-types/transform-functions/scale-transform.ts
650
- import { z as z55 } from "@elementor/schema";
719
+ import { z as z56 } from "@elementor/schema";
651
720
  var scaleTransformPropTypeUtil = createPropUtils(
652
721
  TransformFunctionKeys.scale,
653
- z55.strictObject({
722
+ z56.strictObject({
654
723
  x: numberPropTypeUtil.schema.nullable(),
655
724
  y: numberPropTypeUtil.schema.nullable(),
656
725
  z: numberPropTypeUtil.schema.nullable()
@@ -658,10 +727,10 @@ var scaleTransformPropTypeUtil = createPropUtils(
658
727
  );
659
728
 
660
729
  // src/prop-types/transform-prop-types/transform-functions/skew-transform.ts
661
- import { z as z56 } from "@elementor/schema";
730
+ import { z as z57 } from "@elementor/schema";
662
731
  var skewTransformPropTypeUtil = createPropUtils(
663
732
  TransformFunctionKeys.skew,
664
- z56.strictObject({
733
+ z57.strictObject({
665
734
  x: unknownChildrenSchema,
666
735
  y: unknownChildrenSchema
667
736
  })
@@ -669,13 +738,13 @@ var skewTransformPropTypeUtil = createPropUtils(
669
738
 
670
739
  // src/prop-types/transform-prop-types/transform-functions.ts
671
740
  var filterTypes = moveTransformPropTypeUtil.schema.or(scaleTransformPropTypeUtil.schema).or(rotateTransformPropTypeUtil.schema).or(skewTransformPropTypeUtil.schema);
672
- var transformFunctionsPropTypeUtil = createPropUtils("transform-functions", z57.array(filterTypes));
741
+ var transformFunctionsPropTypeUtil = createPropUtils("transform-functions", z58.array(filterTypes));
673
742
 
674
743
  // src/prop-types/transform-prop-types/transform-origin.ts
675
- import { z as z58 } from "@elementor/schema";
744
+ import { z as z59 } from "@elementor/schema";
676
745
  var transformOriginPropTypeUtil = createPropUtils(
677
746
  "transform-origin",
678
- z58.strictObject({
747
+ z59.strictObject({
679
748
  x: unknownChildrenSchema,
680
749
  y: unknownChildrenSchema,
681
750
  z: unknownChildrenSchema
@@ -683,49 +752,49 @@ var transformOriginPropTypeUtil = createPropUtils(
683
752
  );
684
753
 
685
754
  // src/prop-types/transform-prop-types/perspective-origin.ts
686
- import { z as z59 } from "@elementor/schema";
755
+ import { z as z60 } from "@elementor/schema";
687
756
  var perspectiveOriginPropTypeUtil = createPropUtils(
688
757
  "perspective-origin",
689
- z59.strictObject({
758
+ z60.strictObject({
690
759
  x: unknownChildrenSchema,
691
760
  y: unknownChildrenSchema
692
761
  })
693
762
  );
694
763
 
695
764
  // src/prop-types/filter-prop-types/backdrop-filter.ts
696
- import { z as z60 } from "@elementor/schema";
765
+ import { z as z61 } from "@elementor/schema";
697
766
  var backdropFilterPropTypeUtil = createPropUtils(
698
767
  "backdrop-filter",
699
- z60.array(cssFilterFunctionPropUtil.schema)
768
+ z61.array(cssFilterFunctionPropUtil.schema)
700
769
  );
701
770
 
702
771
  // src/prop-types/date-range.ts
703
- import { z as z61 } from "@elementor/schema";
772
+ import { z as z62 } from "@elementor/schema";
704
773
  var dateRangePropTypeUtil = createPropUtils(
705
774
  "date-range",
706
- z61.strictObject({
775
+ z62.strictObject({
707
776
  min: unknownChildrenSchema,
708
777
  max: unknownChildrenSchema
709
778
  })
710
779
  );
711
780
 
712
781
  // src/prop-types/date-string.ts
713
- import { z as z62 } from "@elementor/schema";
714
- var dateStringPropTypeUtil = createPropUtils("date-string", z62.string());
782
+ import { z as z63 } from "@elementor/schema";
783
+ var dateStringPropTypeUtil = createPropUtils("date-string", z63.string());
715
784
 
716
785
  // src/prop-types/time-range.ts
717
- import { z as z63 } from "@elementor/schema";
786
+ import { z as z64 } from "@elementor/schema";
718
787
  var timeRangePropTypeUtil = createPropUtils(
719
788
  "time-range",
720
- z63.strictObject({
789
+ z64.strictObject({
721
790
  min: unknownChildrenSchema,
722
791
  max: unknownChildrenSchema
723
792
  })
724
793
  );
725
794
 
726
795
  // src/prop-types/time-string.ts
727
- import { z as z64 } from "@elementor/schema";
728
- var timeStringPropTypeUtil = createPropUtils("time-string", z64.string());
796
+ import { z as z65 } from "@elementor/schema";
797
+ var timeStringPropTypeUtil = createPropUtils("time-string", z65.string());
729
798
 
730
799
  // src/utils/adjust-llm-prop-value-schema.ts
731
800
  var ensureNotNull = (v, fallback) => v === null ? fallback : v;
@@ -1192,11 +1261,11 @@ var validatePropValue = (schema, value) => {
1192
1261
  };
1193
1262
 
1194
1263
  // src/utils/is-transformable.ts
1195
- import { z as z65 } from "@elementor/schema";
1196
- var transformableSchema = z65.object({
1197
- $$type: z65.string(),
1198
- value: z65.any(),
1199
- disabled: z65.boolean().optional()
1264
+ import { z as z66 } from "@elementor/schema";
1265
+ var transformableSchema = z66.object({
1266
+ $$type: z66.string(),
1267
+ value: z66.any(),
1268
+ disabled: z66.boolean().optional()
1200
1269
  });
1201
1270
  var isTransformable = (value) => {
1202
1271
  return transformableSchema.safeParse(value).success;
@@ -1436,6 +1505,7 @@ var Schema = {
1436
1505
  export {
1437
1506
  CLASSES_PROP_KEY,
1438
1507
  DateTimePropTypeUtil,
1508
+ RESPONSIVE_BREAKPOINT_KEYS,
1439
1509
  Schema,
1440
1510
  backdropFilterPropTypeUtil,
1441
1511
  backgroundColorOverlayPropTypeUtil,
@@ -1501,6 +1571,9 @@ export {
1501
1571
  queryFilterArrayPropTypeUtil,
1502
1572
  queryFilterPropTypeUtil,
1503
1573
  queryPropTypeUtil,
1574
+ resolveResponsiveValue,
1575
+ responsiveFallbackChain,
1576
+ responsivePropTypeUtil,
1504
1577
  rewrapOverridableValue,
1505
1578
  rotateTransformPropTypeUtil,
1506
1579
  scaleTransformPropTypeUtil,