@elementor/editor-props 4.2.0-beta2 → 4.2.3
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.d.mts +16 -16
- package/dist/index.d.ts +16 -16
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/prop-types/border-radius.ts +1 -1
- package/src/prop-types/border-width.ts +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -351,7 +351,7 @@ declare const borderRadiusPropTypeUtil: {
|
|
|
351
351
|
'end-start'?: any;
|
|
352
352
|
'end-end'?: any;
|
|
353
353
|
} | null;
|
|
354
|
-
isValid: (prop: unknown) => prop is TransformablePropValue$1<"border-radius", {
|
|
354
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"border-radius-v2", {
|
|
355
355
|
'start-start'?: any;
|
|
356
356
|
'start-end'?: any;
|
|
357
357
|
'end-start'?: any;
|
|
@@ -363,7 +363,7 @@ declare const borderRadiusPropTypeUtil: {
|
|
|
363
363
|
'start-end'?: any;
|
|
364
364
|
'end-start'?: any;
|
|
365
365
|
'end-end'?: any;
|
|
366
|
-
}): TransformablePropValue$1<"border-radius", {
|
|
366
|
+
}): TransformablePropValue$1<"border-radius-v2", {
|
|
367
367
|
'start-start'?: any;
|
|
368
368
|
'start-end'?: any;
|
|
369
369
|
'end-start'?: any;
|
|
@@ -374,7 +374,7 @@ declare const borderRadiusPropTypeUtil: {
|
|
|
374
374
|
'start-end'?: any;
|
|
375
375
|
'end-start'?: any;
|
|
376
376
|
'end-end'?: any;
|
|
377
|
-
}, createOptions?: CreateOptions): TransformablePropValue$1<"border-radius", {
|
|
377
|
+
}, createOptions?: CreateOptions): TransformablePropValue$1<"border-radius-v2", {
|
|
378
378
|
'start-start'?: any;
|
|
379
379
|
'start-end'?: any;
|
|
380
380
|
'end-start'?: any;
|
|
@@ -390,7 +390,7 @@ declare const borderRadiusPropTypeUtil: {
|
|
|
390
390
|
'start-end'?: any;
|
|
391
391
|
'end-start'?: any;
|
|
392
392
|
'end-end'?: any;
|
|
393
|
-
}, createOptions: CreateOptions): TransformablePropValue$1<"border-radius", {
|
|
393
|
+
}, createOptions: CreateOptions): TransformablePropValue$1<"border-radius-v2", {
|
|
394
394
|
'start-start'?: any;
|
|
395
395
|
'start-end'?: any;
|
|
396
396
|
'end-start'?: any;
|
|
@@ -398,7 +398,7 @@ declare const borderRadiusPropTypeUtil: {
|
|
|
398
398
|
}>;
|
|
399
399
|
};
|
|
400
400
|
schema: z.ZodObject<{
|
|
401
|
-
$$type: z.ZodLiteral<"border-radius">;
|
|
401
|
+
$$type: z.ZodLiteral<"border-radius-v2">;
|
|
402
402
|
value: z.ZodType<{
|
|
403
403
|
'start-start'?: any;
|
|
404
404
|
'start-end'?: any;
|
|
@@ -412,7 +412,7 @@ declare const borderRadiusPropTypeUtil: {
|
|
|
412
412
|
}>;
|
|
413
413
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
414
414
|
}, "strict", z.ZodTypeAny, {
|
|
415
|
-
$$type: "border-radius";
|
|
415
|
+
$$type: "border-radius-v2";
|
|
416
416
|
value: {
|
|
417
417
|
'start-start'?: any;
|
|
418
418
|
'start-end'?: any;
|
|
@@ -421,7 +421,7 @@ declare const borderRadiusPropTypeUtil: {
|
|
|
421
421
|
};
|
|
422
422
|
disabled?: boolean | undefined;
|
|
423
423
|
}, {
|
|
424
|
-
$$type: "border-radius";
|
|
424
|
+
$$type: "border-radius-v2";
|
|
425
425
|
value: {
|
|
426
426
|
'start-start'?: any;
|
|
427
427
|
'start-end'?: any;
|
|
@@ -430,7 +430,7 @@ declare const borderRadiusPropTypeUtil: {
|
|
|
430
430
|
};
|
|
431
431
|
disabled?: boolean | undefined;
|
|
432
432
|
}>;
|
|
433
|
-
key: "border-radius";
|
|
433
|
+
key: "border-radius-v2";
|
|
434
434
|
};
|
|
435
435
|
type BorderRadiusPropValue = z.infer<typeof borderRadiusPropTypeUtil.schema>;
|
|
436
436
|
|
|
@@ -441,7 +441,7 @@ declare const borderWidthPropTypeUtil: {
|
|
|
441
441
|
'inline-start'?: any;
|
|
442
442
|
'inline-end'?: any;
|
|
443
443
|
} | null;
|
|
444
|
-
isValid: (prop: unknown) => prop is TransformablePropValue$1<"border-width", {
|
|
444
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"border-width-v2", {
|
|
445
445
|
'block-start'?: any;
|
|
446
446
|
'block-end'?: any;
|
|
447
447
|
'inline-start'?: any;
|
|
@@ -453,7 +453,7 @@ declare const borderWidthPropTypeUtil: {
|
|
|
453
453
|
'block-end'?: any;
|
|
454
454
|
'inline-start'?: any;
|
|
455
455
|
'inline-end'?: any;
|
|
456
|
-
}): TransformablePropValue$1<"border-width", {
|
|
456
|
+
}): TransformablePropValue$1<"border-width-v2", {
|
|
457
457
|
'block-start'?: any;
|
|
458
458
|
'block-end'?: any;
|
|
459
459
|
'inline-start'?: any;
|
|
@@ -464,7 +464,7 @@ declare const borderWidthPropTypeUtil: {
|
|
|
464
464
|
'block-end'?: any;
|
|
465
465
|
'inline-start'?: any;
|
|
466
466
|
'inline-end'?: any;
|
|
467
|
-
}, createOptions?: CreateOptions): TransformablePropValue$1<"border-width", {
|
|
467
|
+
}, createOptions?: CreateOptions): TransformablePropValue$1<"border-width-v2", {
|
|
468
468
|
'block-start'?: any;
|
|
469
469
|
'block-end'?: any;
|
|
470
470
|
'inline-start'?: any;
|
|
@@ -480,7 +480,7 @@ declare const borderWidthPropTypeUtil: {
|
|
|
480
480
|
'block-end'?: any;
|
|
481
481
|
'inline-start'?: any;
|
|
482
482
|
'inline-end'?: any;
|
|
483
|
-
}, createOptions: CreateOptions): TransformablePropValue$1<"border-width", {
|
|
483
|
+
}, createOptions: CreateOptions): TransformablePropValue$1<"border-width-v2", {
|
|
484
484
|
'block-start'?: any;
|
|
485
485
|
'block-end'?: any;
|
|
486
486
|
'inline-start'?: any;
|
|
@@ -488,7 +488,7 @@ declare const borderWidthPropTypeUtil: {
|
|
|
488
488
|
}>;
|
|
489
489
|
};
|
|
490
490
|
schema: z.ZodObject<{
|
|
491
|
-
$$type: z.ZodLiteral<"border-width">;
|
|
491
|
+
$$type: z.ZodLiteral<"border-width-v2">;
|
|
492
492
|
value: z.ZodType<{
|
|
493
493
|
'block-start'?: any;
|
|
494
494
|
'block-end'?: any;
|
|
@@ -502,7 +502,7 @@ declare const borderWidthPropTypeUtil: {
|
|
|
502
502
|
}>;
|
|
503
503
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
504
504
|
}, "strict", z.ZodTypeAny, {
|
|
505
|
-
$$type: "border-width";
|
|
505
|
+
$$type: "border-width-v2";
|
|
506
506
|
value: {
|
|
507
507
|
'block-start'?: any;
|
|
508
508
|
'block-end'?: any;
|
|
@@ -511,7 +511,7 @@ declare const borderWidthPropTypeUtil: {
|
|
|
511
511
|
};
|
|
512
512
|
disabled?: boolean | undefined;
|
|
513
513
|
}, {
|
|
514
|
-
$$type: "border-width";
|
|
514
|
+
$$type: "border-width-v2";
|
|
515
515
|
value: {
|
|
516
516
|
'block-start'?: any;
|
|
517
517
|
'block-end'?: any;
|
|
@@ -520,7 +520,7 @@ declare const borderWidthPropTypeUtil: {
|
|
|
520
520
|
};
|
|
521
521
|
disabled?: boolean | undefined;
|
|
522
522
|
}>;
|
|
523
|
-
key: "border-width";
|
|
523
|
+
key: "border-width-v2";
|
|
524
524
|
};
|
|
525
525
|
type BorderWidthPropValue = z.infer<typeof borderWidthPropTypeUtil.schema>;
|
|
526
526
|
|
package/dist/index.d.ts
CHANGED
|
@@ -351,7 +351,7 @@ declare const borderRadiusPropTypeUtil: {
|
|
|
351
351
|
'end-start'?: any;
|
|
352
352
|
'end-end'?: any;
|
|
353
353
|
} | null;
|
|
354
|
-
isValid: (prop: unknown) => prop is TransformablePropValue$1<"border-radius", {
|
|
354
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"border-radius-v2", {
|
|
355
355
|
'start-start'?: any;
|
|
356
356
|
'start-end'?: any;
|
|
357
357
|
'end-start'?: any;
|
|
@@ -363,7 +363,7 @@ declare const borderRadiusPropTypeUtil: {
|
|
|
363
363
|
'start-end'?: any;
|
|
364
364
|
'end-start'?: any;
|
|
365
365
|
'end-end'?: any;
|
|
366
|
-
}): TransformablePropValue$1<"border-radius", {
|
|
366
|
+
}): TransformablePropValue$1<"border-radius-v2", {
|
|
367
367
|
'start-start'?: any;
|
|
368
368
|
'start-end'?: any;
|
|
369
369
|
'end-start'?: any;
|
|
@@ -374,7 +374,7 @@ declare const borderRadiusPropTypeUtil: {
|
|
|
374
374
|
'start-end'?: any;
|
|
375
375
|
'end-start'?: any;
|
|
376
376
|
'end-end'?: any;
|
|
377
|
-
}, createOptions?: CreateOptions): TransformablePropValue$1<"border-radius", {
|
|
377
|
+
}, createOptions?: CreateOptions): TransformablePropValue$1<"border-radius-v2", {
|
|
378
378
|
'start-start'?: any;
|
|
379
379
|
'start-end'?: any;
|
|
380
380
|
'end-start'?: any;
|
|
@@ -390,7 +390,7 @@ declare const borderRadiusPropTypeUtil: {
|
|
|
390
390
|
'start-end'?: any;
|
|
391
391
|
'end-start'?: any;
|
|
392
392
|
'end-end'?: any;
|
|
393
|
-
}, createOptions: CreateOptions): TransformablePropValue$1<"border-radius", {
|
|
393
|
+
}, createOptions: CreateOptions): TransformablePropValue$1<"border-radius-v2", {
|
|
394
394
|
'start-start'?: any;
|
|
395
395
|
'start-end'?: any;
|
|
396
396
|
'end-start'?: any;
|
|
@@ -398,7 +398,7 @@ declare const borderRadiusPropTypeUtil: {
|
|
|
398
398
|
}>;
|
|
399
399
|
};
|
|
400
400
|
schema: z.ZodObject<{
|
|
401
|
-
$$type: z.ZodLiteral<"border-radius">;
|
|
401
|
+
$$type: z.ZodLiteral<"border-radius-v2">;
|
|
402
402
|
value: z.ZodType<{
|
|
403
403
|
'start-start'?: any;
|
|
404
404
|
'start-end'?: any;
|
|
@@ -412,7 +412,7 @@ declare const borderRadiusPropTypeUtil: {
|
|
|
412
412
|
}>;
|
|
413
413
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
414
414
|
}, "strict", z.ZodTypeAny, {
|
|
415
|
-
$$type: "border-radius";
|
|
415
|
+
$$type: "border-radius-v2";
|
|
416
416
|
value: {
|
|
417
417
|
'start-start'?: any;
|
|
418
418
|
'start-end'?: any;
|
|
@@ -421,7 +421,7 @@ declare const borderRadiusPropTypeUtil: {
|
|
|
421
421
|
};
|
|
422
422
|
disabled?: boolean | undefined;
|
|
423
423
|
}, {
|
|
424
|
-
$$type: "border-radius";
|
|
424
|
+
$$type: "border-radius-v2";
|
|
425
425
|
value: {
|
|
426
426
|
'start-start'?: any;
|
|
427
427
|
'start-end'?: any;
|
|
@@ -430,7 +430,7 @@ declare const borderRadiusPropTypeUtil: {
|
|
|
430
430
|
};
|
|
431
431
|
disabled?: boolean | undefined;
|
|
432
432
|
}>;
|
|
433
|
-
key: "border-radius";
|
|
433
|
+
key: "border-radius-v2";
|
|
434
434
|
};
|
|
435
435
|
type BorderRadiusPropValue = z.infer<typeof borderRadiusPropTypeUtil.schema>;
|
|
436
436
|
|
|
@@ -441,7 +441,7 @@ declare const borderWidthPropTypeUtil: {
|
|
|
441
441
|
'inline-start'?: any;
|
|
442
442
|
'inline-end'?: any;
|
|
443
443
|
} | null;
|
|
444
|
-
isValid: (prop: unknown) => prop is TransformablePropValue$1<"border-width", {
|
|
444
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"border-width-v2", {
|
|
445
445
|
'block-start'?: any;
|
|
446
446
|
'block-end'?: any;
|
|
447
447
|
'inline-start'?: any;
|
|
@@ -453,7 +453,7 @@ declare const borderWidthPropTypeUtil: {
|
|
|
453
453
|
'block-end'?: any;
|
|
454
454
|
'inline-start'?: any;
|
|
455
455
|
'inline-end'?: any;
|
|
456
|
-
}): TransformablePropValue$1<"border-width", {
|
|
456
|
+
}): TransformablePropValue$1<"border-width-v2", {
|
|
457
457
|
'block-start'?: any;
|
|
458
458
|
'block-end'?: any;
|
|
459
459
|
'inline-start'?: any;
|
|
@@ -464,7 +464,7 @@ declare const borderWidthPropTypeUtil: {
|
|
|
464
464
|
'block-end'?: any;
|
|
465
465
|
'inline-start'?: any;
|
|
466
466
|
'inline-end'?: any;
|
|
467
|
-
}, createOptions?: CreateOptions): TransformablePropValue$1<"border-width", {
|
|
467
|
+
}, createOptions?: CreateOptions): TransformablePropValue$1<"border-width-v2", {
|
|
468
468
|
'block-start'?: any;
|
|
469
469
|
'block-end'?: any;
|
|
470
470
|
'inline-start'?: any;
|
|
@@ -480,7 +480,7 @@ declare const borderWidthPropTypeUtil: {
|
|
|
480
480
|
'block-end'?: any;
|
|
481
481
|
'inline-start'?: any;
|
|
482
482
|
'inline-end'?: any;
|
|
483
|
-
}, createOptions: CreateOptions): TransformablePropValue$1<"border-width", {
|
|
483
|
+
}, createOptions: CreateOptions): TransformablePropValue$1<"border-width-v2", {
|
|
484
484
|
'block-start'?: any;
|
|
485
485
|
'block-end'?: any;
|
|
486
486
|
'inline-start'?: any;
|
|
@@ -488,7 +488,7 @@ declare const borderWidthPropTypeUtil: {
|
|
|
488
488
|
}>;
|
|
489
489
|
};
|
|
490
490
|
schema: z.ZodObject<{
|
|
491
|
-
$$type: z.ZodLiteral<"border-width">;
|
|
491
|
+
$$type: z.ZodLiteral<"border-width-v2">;
|
|
492
492
|
value: z.ZodType<{
|
|
493
493
|
'block-start'?: any;
|
|
494
494
|
'block-end'?: any;
|
|
@@ -502,7 +502,7 @@ declare const borderWidthPropTypeUtil: {
|
|
|
502
502
|
}>;
|
|
503
503
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
504
504
|
}, "strict", z.ZodTypeAny, {
|
|
505
|
-
$$type: "border-width";
|
|
505
|
+
$$type: "border-width-v2";
|
|
506
506
|
value: {
|
|
507
507
|
'block-start'?: any;
|
|
508
508
|
'block-end'?: any;
|
|
@@ -511,7 +511,7 @@ declare const borderWidthPropTypeUtil: {
|
|
|
511
511
|
};
|
|
512
512
|
disabled?: boolean | undefined;
|
|
513
513
|
}, {
|
|
514
|
-
$$type: "border-width";
|
|
514
|
+
$$type: "border-width-v2";
|
|
515
515
|
value: {
|
|
516
516
|
'block-start'?: any;
|
|
517
517
|
'block-end'?: any;
|
|
@@ -520,7 +520,7 @@ declare const borderWidthPropTypeUtil: {
|
|
|
520
520
|
};
|
|
521
521
|
disabled?: boolean | undefined;
|
|
522
522
|
}>;
|
|
523
|
-
key: "border-width";
|
|
523
|
+
key: "border-width-v2";
|
|
524
524
|
};
|
|
525
525
|
type BorderWidthPropValue = z.infer<typeof borderWidthPropTypeUtil.schema>;
|
|
526
526
|
|
package/dist/index.js
CHANGED
|
@@ -191,7 +191,7 @@ var boxShadowPropTypeUtil = createPropUtils("box-shadow", import_schema4.z.array
|
|
|
191
191
|
// src/prop-types/border-radius.ts
|
|
192
192
|
var import_schema5 = require("@elementor/schema");
|
|
193
193
|
var borderRadiusPropTypeUtil = createPropUtils(
|
|
194
|
-
"border-radius",
|
|
194
|
+
"border-radius-v2",
|
|
195
195
|
import_schema5.z.strictObject({
|
|
196
196
|
"start-start": unknownChildrenSchema,
|
|
197
197
|
"start-end": unknownChildrenSchema,
|
|
@@ -203,7 +203,7 @@ var borderRadiusPropTypeUtil = createPropUtils(
|
|
|
203
203
|
// src/prop-types/border-width.ts
|
|
204
204
|
var import_schema6 = require("@elementor/schema");
|
|
205
205
|
var borderWidthPropTypeUtil = createPropUtils(
|
|
206
|
-
"border-width",
|
|
206
|
+
"border-width-v2",
|
|
207
207
|
import_schema6.z.strictObject({
|
|
208
208
|
"block-start": unknownChildrenSchema,
|
|
209
209
|
"block-end": unknownChildrenSchema,
|