@elementor/editor-props 0.9.3 → 0.10.0
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/CHANGELOG.md +12 -0
- package/dist/index.d.mts +310 -105
- package/dist/index.d.ts +310 -105
- package/dist/index.js +36 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +33 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/prop-types/background-prop-types/background-gradient-overlay.ts +4 -0
- package/src/prop-types/border-width.ts +4 -4
- package/src/prop-types/color-stop.ts +14 -0
- package/src/prop-types/dimensions.ts +4 -4
- package/src/prop-types/gradient-color-stop.ts +11 -0
- package/src/prop-types/index.ts +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @elementor/editor-props
|
|
2
2
|
|
|
3
|
+
## 0.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 7d37fc1: Add background gradient overlay control
|
|
8
|
+
|
|
9
|
+
## 0.9.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 23458d1: Make atomic controls use Logical Properties
|
|
14
|
+
|
|
3
15
|
## 0.9.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -353,87 +353,87 @@ type BorderRadiusPropValue = z.infer<typeof borderRadiusPropTypeUtil.schema>;
|
|
|
353
353
|
|
|
354
354
|
declare const borderWidthPropTypeUtil: {
|
|
355
355
|
extract: (prop: unknown) => {
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
356
|
+
'block-start'?: any;
|
|
357
|
+
'block-end'?: any;
|
|
358
|
+
'inline-start'?: any;
|
|
359
|
+
'inline-end'?: any;
|
|
360
360
|
} | null;
|
|
361
361
|
isValid: (prop: unknown) => prop is TransformablePropValue$1<"border-width", {
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
362
|
+
'block-start'?: any;
|
|
363
|
+
'block-end'?: any;
|
|
364
|
+
'inline-start'?: any;
|
|
365
|
+
'inline-end'?: any;
|
|
366
366
|
}>;
|
|
367
367
|
create: {
|
|
368
368
|
(value: {
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
369
|
+
'block-start'?: any;
|
|
370
|
+
'block-end'?: any;
|
|
371
|
+
'inline-start'?: any;
|
|
372
|
+
'inline-end'?: any;
|
|
373
373
|
}): TransformablePropValue$1<"border-width", {
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
374
|
+
'block-start'?: any;
|
|
375
|
+
'block-end'?: any;
|
|
376
|
+
'inline-start'?: any;
|
|
377
|
+
'inline-end'?: any;
|
|
378
378
|
}>;
|
|
379
379
|
(value: {
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
380
|
+
'block-start'?: any;
|
|
381
|
+
'block-end'?: any;
|
|
382
|
+
'inline-start'?: any;
|
|
383
|
+
'inline-end'?: any;
|
|
384
384
|
}, createOptions?: CreateOptions): TransformablePropValue$1<"border-width", {
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
385
|
+
'block-start'?: any;
|
|
386
|
+
'block-end'?: any;
|
|
387
|
+
'inline-start'?: any;
|
|
388
|
+
'inline-end'?: any;
|
|
389
389
|
}>;
|
|
390
390
|
(value: (prev?: {
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
391
|
+
'block-start'?: any;
|
|
392
|
+
'block-end'?: any;
|
|
393
|
+
'inline-start'?: any;
|
|
394
|
+
'inline-end'?: any;
|
|
395
395
|
} | undefined) => {
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
396
|
+
'block-start'?: any;
|
|
397
|
+
'block-end'?: any;
|
|
398
|
+
'inline-start'?: any;
|
|
399
|
+
'inline-end'?: any;
|
|
400
400
|
}, createOptions: CreateOptions): TransformablePropValue$1<"border-width", {
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
401
|
+
'block-start'?: any;
|
|
402
|
+
'block-end'?: any;
|
|
403
|
+
'inline-start'?: any;
|
|
404
|
+
'inline-end'?: any;
|
|
405
405
|
}>;
|
|
406
406
|
};
|
|
407
407
|
schema: z.ZodObject<{
|
|
408
408
|
$$type: z.ZodLiteral<"border-width">;
|
|
409
409
|
value: z.ZodType<{
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
410
|
+
'block-start'?: any;
|
|
411
|
+
'block-end'?: any;
|
|
412
|
+
'inline-start'?: any;
|
|
413
|
+
'inline-end'?: any;
|
|
414
414
|
}, z.ZodTypeDef, {
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
415
|
+
'block-start'?: any;
|
|
416
|
+
'block-end'?: any;
|
|
417
|
+
'inline-start'?: any;
|
|
418
|
+
'inline-end'?: any;
|
|
419
419
|
}>;
|
|
420
420
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
421
421
|
}, "strict", z.ZodTypeAny, {
|
|
422
422
|
$$type: "border-width";
|
|
423
423
|
value: {
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
424
|
+
'block-start'?: any;
|
|
425
|
+
'block-end'?: any;
|
|
426
|
+
'inline-start'?: any;
|
|
427
|
+
'inline-end'?: any;
|
|
428
428
|
};
|
|
429
429
|
disabled?: boolean | undefined;
|
|
430
430
|
}, {
|
|
431
431
|
$$type: "border-width";
|
|
432
432
|
value: {
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
433
|
+
'block-start'?: any;
|
|
434
|
+
'block-end'?: any;
|
|
435
|
+
'inline-start'?: any;
|
|
436
|
+
'inline-end'?: any;
|
|
437
437
|
};
|
|
438
438
|
disabled?: boolean | undefined;
|
|
439
439
|
}>;
|
|
@@ -685,87 +685,87 @@ type ImageSrcPropValue = z.infer<typeof imageSrcPropTypeUtil.schema>;
|
|
|
685
685
|
|
|
686
686
|
declare const dimensionsPropTypeUtil: {
|
|
687
687
|
extract: (prop: unknown) => {
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
688
|
+
'block-start'?: any;
|
|
689
|
+
'block-end'?: any;
|
|
690
|
+
'inline-start'?: any;
|
|
691
|
+
'inline-end'?: any;
|
|
692
692
|
} | null;
|
|
693
693
|
isValid: (prop: unknown) => prop is TransformablePropValue$1<"dimensions", {
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
694
|
+
'block-start'?: any;
|
|
695
|
+
'block-end'?: any;
|
|
696
|
+
'inline-start'?: any;
|
|
697
|
+
'inline-end'?: any;
|
|
698
698
|
}>;
|
|
699
699
|
create: {
|
|
700
700
|
(value: {
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
701
|
+
'block-start'?: any;
|
|
702
|
+
'block-end'?: any;
|
|
703
|
+
'inline-start'?: any;
|
|
704
|
+
'inline-end'?: any;
|
|
705
705
|
}): TransformablePropValue$1<"dimensions", {
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
706
|
+
'block-start'?: any;
|
|
707
|
+
'block-end'?: any;
|
|
708
|
+
'inline-start'?: any;
|
|
709
|
+
'inline-end'?: any;
|
|
710
710
|
}>;
|
|
711
711
|
(value: {
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
712
|
+
'block-start'?: any;
|
|
713
|
+
'block-end'?: any;
|
|
714
|
+
'inline-start'?: any;
|
|
715
|
+
'inline-end'?: any;
|
|
716
716
|
}, createOptions?: CreateOptions): TransformablePropValue$1<"dimensions", {
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
717
|
+
'block-start'?: any;
|
|
718
|
+
'block-end'?: any;
|
|
719
|
+
'inline-start'?: any;
|
|
720
|
+
'inline-end'?: any;
|
|
721
721
|
}>;
|
|
722
722
|
(value: (prev?: {
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
723
|
+
'block-start'?: any;
|
|
724
|
+
'block-end'?: any;
|
|
725
|
+
'inline-start'?: any;
|
|
726
|
+
'inline-end'?: any;
|
|
727
727
|
} | undefined) => {
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
728
|
+
'block-start'?: any;
|
|
729
|
+
'block-end'?: any;
|
|
730
|
+
'inline-start'?: any;
|
|
731
|
+
'inline-end'?: any;
|
|
732
732
|
}, createOptions: CreateOptions): TransformablePropValue$1<"dimensions", {
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
733
|
+
'block-start'?: any;
|
|
734
|
+
'block-end'?: any;
|
|
735
|
+
'inline-start'?: any;
|
|
736
|
+
'inline-end'?: any;
|
|
737
737
|
}>;
|
|
738
738
|
};
|
|
739
739
|
schema: z.ZodObject<{
|
|
740
740
|
$$type: z.ZodLiteral<"dimensions">;
|
|
741
741
|
value: z.ZodType<{
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
742
|
+
'block-start'?: any;
|
|
743
|
+
'block-end'?: any;
|
|
744
|
+
'inline-start'?: any;
|
|
745
|
+
'inline-end'?: any;
|
|
746
746
|
}, z.ZodTypeDef, {
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
747
|
+
'block-start'?: any;
|
|
748
|
+
'block-end'?: any;
|
|
749
|
+
'inline-start'?: any;
|
|
750
|
+
'inline-end'?: any;
|
|
751
751
|
}>;
|
|
752
752
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
753
753
|
}, "strict", z.ZodTypeAny, {
|
|
754
754
|
$$type: "dimensions";
|
|
755
755
|
value: {
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
756
|
+
'block-start'?: any;
|
|
757
|
+
'block-end'?: any;
|
|
758
|
+
'inline-start'?: any;
|
|
759
|
+
'inline-end'?: any;
|
|
760
760
|
};
|
|
761
761
|
disabled?: boolean | undefined;
|
|
762
762
|
}, {
|
|
763
763
|
$$type: "dimensions";
|
|
764
764
|
value: {
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
765
|
+
'block-start'?: any;
|
|
766
|
+
'block-end'?: any;
|
|
767
|
+
'inline-start'?: any;
|
|
768
|
+
'inline-end'?: any;
|
|
769
769
|
};
|
|
770
770
|
disabled?: boolean | undefined;
|
|
771
771
|
}>;
|
|
@@ -1566,6 +1566,31 @@ declare const backgroundImageOverlayPropTypeUtil: {
|
|
|
1566
1566
|
};
|
|
1567
1567
|
type BackgroundImageOverlayPropValue = z.infer<typeof backgroundImageOverlayPropTypeUtil.schema>;
|
|
1568
1568
|
|
|
1569
|
+
declare const backgroundGradientOverlayPropTypeUtil: {
|
|
1570
|
+
extract: (prop: unknown) => any;
|
|
1571
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"background-gradient-overlay", any>;
|
|
1572
|
+
create: {
|
|
1573
|
+
(value: any): TransformablePropValue$1<"background-gradient-overlay", any>;
|
|
1574
|
+
(value: any, createOptions?: CreateOptions): TransformablePropValue$1<"background-gradient-overlay", any>;
|
|
1575
|
+
(value: (prev?: any) => any, createOptions: CreateOptions): TransformablePropValue$1<"background-gradient-overlay", any>;
|
|
1576
|
+
};
|
|
1577
|
+
schema: z.ZodObject<{
|
|
1578
|
+
$$type: z.ZodLiteral<"background-gradient-overlay">;
|
|
1579
|
+
value: z.ZodType<any, z.ZodTypeDef, any>;
|
|
1580
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1581
|
+
}, "strict", z.ZodTypeAny, {
|
|
1582
|
+
$$type: "background-gradient-overlay";
|
|
1583
|
+
value?: any;
|
|
1584
|
+
disabled?: boolean | undefined;
|
|
1585
|
+
}, {
|
|
1586
|
+
$$type: "background-gradient-overlay";
|
|
1587
|
+
value?: any;
|
|
1588
|
+
disabled?: boolean | undefined;
|
|
1589
|
+
}>;
|
|
1590
|
+
key: "background-gradient-overlay";
|
|
1591
|
+
};
|
|
1592
|
+
type BackgroundGradientOverlayPropValue = z.infer<typeof backgroundGradientOverlayPropTypeUtil.schema>;
|
|
1593
|
+
|
|
1569
1594
|
declare const backgroundImagePositionOffsetPropTypeUtil: {
|
|
1570
1595
|
extract: (prop: unknown) => any;
|
|
1571
1596
|
isValid: (prop: unknown) => prop is TransformablePropValue$1<"background-image-position-offset", any>;
|
|
@@ -1641,6 +1666,186 @@ declare const booleanPropTypeUtil: {
|
|
|
1641
1666
|
};
|
|
1642
1667
|
type BooleanPropValue = z.infer<typeof booleanPropTypeUtil.schema>;
|
|
1643
1668
|
|
|
1669
|
+
declare const colorStopPropTypeUtil: {
|
|
1670
|
+
extract: (prop: unknown) => {
|
|
1671
|
+
color?: any;
|
|
1672
|
+
offset?: any;
|
|
1673
|
+
} | null;
|
|
1674
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"color-stop", {
|
|
1675
|
+
color?: any;
|
|
1676
|
+
offset?: any;
|
|
1677
|
+
}>;
|
|
1678
|
+
create: {
|
|
1679
|
+
(value: {
|
|
1680
|
+
color?: any;
|
|
1681
|
+
offset?: any;
|
|
1682
|
+
}): TransformablePropValue$1<"color-stop", {
|
|
1683
|
+
color?: any;
|
|
1684
|
+
offset?: any;
|
|
1685
|
+
}>;
|
|
1686
|
+
(value: {
|
|
1687
|
+
color?: any;
|
|
1688
|
+
offset?: any;
|
|
1689
|
+
}, createOptions?: CreateOptions): TransformablePropValue$1<"color-stop", {
|
|
1690
|
+
color?: any;
|
|
1691
|
+
offset?: any;
|
|
1692
|
+
}>;
|
|
1693
|
+
(value: (prev?: {
|
|
1694
|
+
color?: any;
|
|
1695
|
+
offset?: any;
|
|
1696
|
+
} | undefined) => {
|
|
1697
|
+
color?: any;
|
|
1698
|
+
offset?: any;
|
|
1699
|
+
}, createOptions: CreateOptions): TransformablePropValue$1<"color-stop", {
|
|
1700
|
+
color?: any;
|
|
1701
|
+
offset?: any;
|
|
1702
|
+
}>;
|
|
1703
|
+
};
|
|
1704
|
+
schema: z.ZodObject<{
|
|
1705
|
+
$$type: z.ZodLiteral<"color-stop">;
|
|
1706
|
+
value: z.ZodType<{
|
|
1707
|
+
color?: any;
|
|
1708
|
+
offset?: any;
|
|
1709
|
+
}, z.ZodTypeDef, {
|
|
1710
|
+
color?: any;
|
|
1711
|
+
offset?: any;
|
|
1712
|
+
}>;
|
|
1713
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1714
|
+
}, "strict", z.ZodTypeAny, {
|
|
1715
|
+
$$type: "color-stop";
|
|
1716
|
+
value: {
|
|
1717
|
+
color?: any;
|
|
1718
|
+
offset?: any;
|
|
1719
|
+
};
|
|
1720
|
+
disabled?: boolean | undefined;
|
|
1721
|
+
}, {
|
|
1722
|
+
$$type: "color-stop";
|
|
1723
|
+
value: {
|
|
1724
|
+
color?: any;
|
|
1725
|
+
offset?: any;
|
|
1726
|
+
};
|
|
1727
|
+
disabled?: boolean | undefined;
|
|
1728
|
+
}>;
|
|
1729
|
+
key: "color-stop";
|
|
1730
|
+
};
|
|
1731
|
+
type ColorStopPropValue = z.infer<typeof colorStopPropTypeUtil.schema>;
|
|
1732
|
+
|
|
1733
|
+
declare const gradientColorStopPropTypeUtil: {
|
|
1734
|
+
extract: (prop: unknown) => {
|
|
1735
|
+
$$type: "color-stop";
|
|
1736
|
+
value: {
|
|
1737
|
+
color?: any;
|
|
1738
|
+
offset?: any;
|
|
1739
|
+
};
|
|
1740
|
+
disabled?: boolean | undefined;
|
|
1741
|
+
}[] | null;
|
|
1742
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"gradient-color-stop", {
|
|
1743
|
+
$$type: "color-stop";
|
|
1744
|
+
value: {
|
|
1745
|
+
color?: any;
|
|
1746
|
+
offset?: any;
|
|
1747
|
+
};
|
|
1748
|
+
disabled?: boolean | undefined;
|
|
1749
|
+
}[]>;
|
|
1750
|
+
create: {
|
|
1751
|
+
(value: {
|
|
1752
|
+
$$type: "color-stop";
|
|
1753
|
+
value: {
|
|
1754
|
+
color?: any;
|
|
1755
|
+
offset?: any;
|
|
1756
|
+
};
|
|
1757
|
+
disabled?: boolean | undefined;
|
|
1758
|
+
}[]): TransformablePropValue$1<"gradient-color-stop", {
|
|
1759
|
+
$$type: "color-stop";
|
|
1760
|
+
value: {
|
|
1761
|
+
color?: any;
|
|
1762
|
+
offset?: any;
|
|
1763
|
+
};
|
|
1764
|
+
disabled?: boolean | undefined;
|
|
1765
|
+
}[]>;
|
|
1766
|
+
(value: {
|
|
1767
|
+
$$type: "color-stop";
|
|
1768
|
+
value: {
|
|
1769
|
+
color?: any;
|
|
1770
|
+
offset?: any;
|
|
1771
|
+
};
|
|
1772
|
+
disabled?: boolean | undefined;
|
|
1773
|
+
}[], createOptions?: CreateOptions): TransformablePropValue$1<"gradient-color-stop", {
|
|
1774
|
+
$$type: "color-stop";
|
|
1775
|
+
value: {
|
|
1776
|
+
color?: any;
|
|
1777
|
+
offset?: any;
|
|
1778
|
+
};
|
|
1779
|
+
disabled?: boolean | undefined;
|
|
1780
|
+
}[]>;
|
|
1781
|
+
(value: (prev?: {
|
|
1782
|
+
$$type: "color-stop";
|
|
1783
|
+
value: {
|
|
1784
|
+
color?: any;
|
|
1785
|
+
offset?: any;
|
|
1786
|
+
};
|
|
1787
|
+
disabled?: boolean | undefined;
|
|
1788
|
+
}[] | undefined) => {
|
|
1789
|
+
$$type: "color-stop";
|
|
1790
|
+
value: {
|
|
1791
|
+
color?: any;
|
|
1792
|
+
offset?: any;
|
|
1793
|
+
};
|
|
1794
|
+
disabled?: boolean | undefined;
|
|
1795
|
+
}[], createOptions: CreateOptions): TransformablePropValue$1<"gradient-color-stop", {
|
|
1796
|
+
$$type: "color-stop";
|
|
1797
|
+
value: {
|
|
1798
|
+
color?: any;
|
|
1799
|
+
offset?: any;
|
|
1800
|
+
};
|
|
1801
|
+
disabled?: boolean | undefined;
|
|
1802
|
+
}[]>;
|
|
1803
|
+
};
|
|
1804
|
+
schema: z.ZodObject<{
|
|
1805
|
+
$$type: z.ZodLiteral<"gradient-color-stop">;
|
|
1806
|
+
value: z.ZodType<{
|
|
1807
|
+
$$type: "color-stop";
|
|
1808
|
+
value: {
|
|
1809
|
+
color?: any;
|
|
1810
|
+
offset?: any;
|
|
1811
|
+
};
|
|
1812
|
+
disabled?: boolean | undefined;
|
|
1813
|
+
}[], z.ZodTypeDef, {
|
|
1814
|
+
$$type: "color-stop";
|
|
1815
|
+
value: {
|
|
1816
|
+
color?: any;
|
|
1817
|
+
offset?: any;
|
|
1818
|
+
};
|
|
1819
|
+
disabled?: boolean | undefined;
|
|
1820
|
+
}[]>;
|
|
1821
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1822
|
+
}, "strict", z.ZodTypeAny, {
|
|
1823
|
+
$$type: "gradient-color-stop";
|
|
1824
|
+
value: {
|
|
1825
|
+
$$type: "color-stop";
|
|
1826
|
+
value: {
|
|
1827
|
+
color?: any;
|
|
1828
|
+
offset?: any;
|
|
1829
|
+
};
|
|
1830
|
+
disabled?: boolean | undefined;
|
|
1831
|
+
}[];
|
|
1832
|
+
disabled?: boolean | undefined;
|
|
1833
|
+
}, {
|
|
1834
|
+
$$type: "gradient-color-stop";
|
|
1835
|
+
value: {
|
|
1836
|
+
$$type: "color-stop";
|
|
1837
|
+
value: {
|
|
1838
|
+
color?: any;
|
|
1839
|
+
offset?: any;
|
|
1840
|
+
};
|
|
1841
|
+
disabled?: boolean | undefined;
|
|
1842
|
+
}[];
|
|
1843
|
+
disabled?: boolean | undefined;
|
|
1844
|
+
}>;
|
|
1845
|
+
key: "gradient-color-stop";
|
|
1846
|
+
};
|
|
1847
|
+
type GradientColorStopPropValue = z.infer<typeof gradientColorStopPropTypeUtil.schema>;
|
|
1848
|
+
|
|
1644
1849
|
declare function mergeProps(current: Props, updates: Props): Props;
|
|
1645
1850
|
|
|
1646
1851
|
declare const transformableSchema: z.ZodObject<{
|
|
@@ -1659,4 +1864,4 @@ declare const transformableSchema: z.ZodObject<{
|
|
|
1659
1864
|
type TransformablePropValue = z.infer<typeof transformableSchema>;
|
|
1660
1865
|
declare const isTransformable: (value: unknown) => value is TransformablePropValue;
|
|
1661
1866
|
|
|
1662
|
-
export { type AnyTransformable, type ArrayPropType, type ArrayPropValue, type BackgroundColorOverlayPropValue, type BackgroundImageOverlayPropValue, type BackgroundImagePositionOffsetPropValue, type BackgroundImageSizeScalePropValue, type BackgroundOverlayItemPropValue, type BackgroundOverlayPropValue, type BackgroundPropValue, type BooleanPropValue, type BorderRadiusPropValue, type BorderWidthPropValue, type BoxShadowPropValue, type ClassesPropValue, type ColorPropValue, type CreateOptions, type DimensionsPropValue, type ImageAttachmentIdPropValue, type ImagePropValue, type ImageSrcPropValue, type LayoutDirectionPropValue, type LinkPropValue, type NumberPropValue, type ObjectPropType, type ObjectPropValue, type PlainPropType, type PlainPropValue, type PropKey, type PropType, type PropTypeUtil, type PropValue, type Props, type PropsSchema, type ShadowPropValue, type SizePropValue, type StringPropValue, type StrokePropValue, type TransformablePropType, type TransformablePropValue$1 as TransformablePropValue, type UnionPropType, type UrlPropValue, backgroundColorOverlayPropTypeUtil, backgroundImageOverlayPropTypeUtil, backgroundImagePositionOffsetPropTypeUtil, backgroundImageSizeScalePropTypeUtil, backgroundOverlayPropTypeUtil, backgroundPropTypeUtil, booleanPropTypeUtil, borderRadiusPropTypeUtil, borderWidthPropTypeUtil, boxShadowPropTypeUtil, classesPropTypeUtil, colorPropTypeUtil, createPropUtils, dimensionsPropTypeUtil, imageAttachmentIdPropType, imagePropTypeUtil, imageSrcPropTypeUtil, isTransformable, layoutDirectionPropTypeUtil, linkPropTypeUtil, mergeProps, numberPropTypeUtil, shadowPropTypeUtil, sizePropTypeUtil, stringPropTypeUtil, strokePropTypeUtil, urlPropTypeUtil };
|
|
1867
|
+
export { type AnyTransformable, type ArrayPropType, type ArrayPropValue, type BackgroundColorOverlayPropValue, type BackgroundGradientOverlayPropValue, type BackgroundImageOverlayPropValue, type BackgroundImagePositionOffsetPropValue, type BackgroundImageSizeScalePropValue, type BackgroundOverlayItemPropValue, type BackgroundOverlayPropValue, type BackgroundPropValue, type BooleanPropValue, type BorderRadiusPropValue, type BorderWidthPropValue, type BoxShadowPropValue, type ClassesPropValue, type ColorPropValue, type ColorStopPropValue, type CreateOptions, type DimensionsPropValue, type GradientColorStopPropValue, type ImageAttachmentIdPropValue, type ImagePropValue, type ImageSrcPropValue, type LayoutDirectionPropValue, type LinkPropValue, type NumberPropValue, type ObjectPropType, type ObjectPropValue, type PlainPropType, type PlainPropValue, type PropKey, type PropType, type PropTypeUtil, type PropValue, type Props, type PropsSchema, type ShadowPropValue, type SizePropValue, type StringPropValue, type StrokePropValue, type TransformablePropType, type TransformablePropValue$1 as TransformablePropValue, type UnionPropType, type UrlPropValue, backgroundColorOverlayPropTypeUtil, backgroundGradientOverlayPropTypeUtil, backgroundImageOverlayPropTypeUtil, backgroundImagePositionOffsetPropTypeUtil, backgroundImageSizeScalePropTypeUtil, backgroundOverlayPropTypeUtil, backgroundPropTypeUtil, booleanPropTypeUtil, borderRadiusPropTypeUtil, borderWidthPropTypeUtil, boxShadowPropTypeUtil, classesPropTypeUtil, colorPropTypeUtil, colorStopPropTypeUtil, createPropUtils, dimensionsPropTypeUtil, gradientColorStopPropTypeUtil, imageAttachmentIdPropType, imagePropTypeUtil, imageSrcPropTypeUtil, isTransformable, layoutDirectionPropTypeUtil, linkPropTypeUtil, mergeProps, numberPropTypeUtil, shadowPropTypeUtil, sizePropTypeUtil, stringPropTypeUtil, strokePropTypeUtil, urlPropTypeUtil };
|