@elementor/editor-props 0.9.4 → 0.11.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 +13 -0
- package/dist/index.d.mts +231 -25
- package/dist/index.d.ts +231 -25
- package/dist/index.js +39 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +35 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/prop-types/background-prop-types/background-color-overlay.ts +3 -2
- package/src/prop-types/background-prop-types/background-gradient-overlay.ts +4 -0
- package/src/prop-types/classes.ts +6 -1
- package/src/prop-types/color-stop.ts +14 -0
- 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,18 @@
|
|
|
1
1
|
# @elementor/editor-props
|
|
2
2
|
|
|
3
|
+
## 0.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 4c2935b: Added support to atomic elements for command "document/elements/reset-style"
|
|
8
|
+
- c002cba: Change background color overlay shape to support variables
|
|
9
|
+
|
|
10
|
+
## 0.10.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- 7d37fc1: Add background gradient overlay control
|
|
15
|
+
|
|
3
16
|
## 0.9.4
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -441,6 +441,7 @@ declare const borderWidthPropTypeUtil: {
|
|
|
441
441
|
};
|
|
442
442
|
type BorderWidthPropValue = z.infer<typeof borderWidthPropTypeUtil.schema>;
|
|
443
443
|
|
|
444
|
+
declare const CLASSES_PROP_KEY = "classes";
|
|
444
445
|
declare const classesPropTypeUtil: {
|
|
445
446
|
extract: (prop: unknown) => string[] | null;
|
|
446
447
|
isValid: (prop: unknown) => prop is TransformablePropValue$1<"classes", string[]>;
|
|
@@ -1299,15 +1300,15 @@ type BackgroundPropValue = z.infer<typeof backgroundPropTypeUtil.schema>;
|
|
|
1299
1300
|
|
|
1300
1301
|
declare const backgroundOverlayItem: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
1301
1302
|
$$type: z.ZodLiteral<"background-color-overlay">;
|
|
1302
|
-
value: z.ZodType<
|
|
1303
|
+
value: z.ZodType<any, z.ZodTypeDef, any>;
|
|
1303
1304
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1304
1305
|
}, "strict", z.ZodTypeAny, {
|
|
1305
1306
|
$$type: "background-color-overlay";
|
|
1306
|
-
value
|
|
1307
|
+
value?: any;
|
|
1307
1308
|
disabled?: boolean | undefined;
|
|
1308
1309
|
}, {
|
|
1309
1310
|
$$type: "background-color-overlay";
|
|
1310
|
-
value
|
|
1311
|
+
value?: any;
|
|
1311
1312
|
disabled?: boolean | undefined;
|
|
1312
1313
|
}>, z.ZodObject<{
|
|
1313
1314
|
$$type: z.ZodLiteral<"background-gradient-overlay">;
|
|
@@ -1337,7 +1338,7 @@ declare const backgroundOverlayItem: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1337
1338
|
declare const backgroundOverlayPropTypeUtil: {
|
|
1338
1339
|
extract: (prop: unknown) => ({
|
|
1339
1340
|
$$type: "background-color-overlay";
|
|
1340
|
-
value
|
|
1341
|
+
value?: any;
|
|
1341
1342
|
disabled?: boolean | undefined;
|
|
1342
1343
|
} | {
|
|
1343
1344
|
$$type: "background-gradient-overlay";
|
|
@@ -1350,7 +1351,7 @@ declare const backgroundOverlayPropTypeUtil: {
|
|
|
1350
1351
|
})[] | null;
|
|
1351
1352
|
isValid: (prop: unknown) => prop is TransformablePropValue$1<"background-overlay", ({
|
|
1352
1353
|
$$type: "background-color-overlay";
|
|
1353
|
-
value
|
|
1354
|
+
value?: any;
|
|
1354
1355
|
disabled?: boolean | undefined;
|
|
1355
1356
|
} | {
|
|
1356
1357
|
$$type: "background-gradient-overlay";
|
|
@@ -1364,7 +1365,7 @@ declare const backgroundOverlayPropTypeUtil: {
|
|
|
1364
1365
|
create: {
|
|
1365
1366
|
(value: ({
|
|
1366
1367
|
$$type: "background-color-overlay";
|
|
1367
|
-
value
|
|
1368
|
+
value?: any;
|
|
1368
1369
|
disabled?: boolean | undefined;
|
|
1369
1370
|
} | {
|
|
1370
1371
|
$$type: "background-gradient-overlay";
|
|
@@ -1376,7 +1377,7 @@ declare const backgroundOverlayPropTypeUtil: {
|
|
|
1376
1377
|
disabled?: boolean | undefined;
|
|
1377
1378
|
})[]): TransformablePropValue$1<"background-overlay", ({
|
|
1378
1379
|
$$type: "background-color-overlay";
|
|
1379
|
-
value
|
|
1380
|
+
value?: any;
|
|
1380
1381
|
disabled?: boolean | undefined;
|
|
1381
1382
|
} | {
|
|
1382
1383
|
$$type: "background-gradient-overlay";
|
|
@@ -1389,7 +1390,7 @@ declare const backgroundOverlayPropTypeUtil: {
|
|
|
1389
1390
|
})[]>;
|
|
1390
1391
|
(value: ({
|
|
1391
1392
|
$$type: "background-color-overlay";
|
|
1392
|
-
value
|
|
1393
|
+
value?: any;
|
|
1393
1394
|
disabled?: boolean | undefined;
|
|
1394
1395
|
} | {
|
|
1395
1396
|
$$type: "background-gradient-overlay";
|
|
@@ -1401,7 +1402,7 @@ declare const backgroundOverlayPropTypeUtil: {
|
|
|
1401
1402
|
disabled?: boolean | undefined;
|
|
1402
1403
|
})[], createOptions?: CreateOptions): TransformablePropValue$1<"background-overlay", ({
|
|
1403
1404
|
$$type: "background-color-overlay";
|
|
1404
|
-
value
|
|
1405
|
+
value?: any;
|
|
1405
1406
|
disabled?: boolean | undefined;
|
|
1406
1407
|
} | {
|
|
1407
1408
|
$$type: "background-gradient-overlay";
|
|
@@ -1414,7 +1415,7 @@ declare const backgroundOverlayPropTypeUtil: {
|
|
|
1414
1415
|
})[]>;
|
|
1415
1416
|
(value: (prev?: ({
|
|
1416
1417
|
$$type: "background-color-overlay";
|
|
1417
|
-
value
|
|
1418
|
+
value?: any;
|
|
1418
1419
|
disabled?: boolean | undefined;
|
|
1419
1420
|
} | {
|
|
1420
1421
|
$$type: "background-gradient-overlay";
|
|
@@ -1426,7 +1427,7 @@ declare const backgroundOverlayPropTypeUtil: {
|
|
|
1426
1427
|
disabled?: boolean | undefined;
|
|
1427
1428
|
})[] | undefined) => ({
|
|
1428
1429
|
$$type: "background-color-overlay";
|
|
1429
|
-
value
|
|
1430
|
+
value?: any;
|
|
1430
1431
|
disabled?: boolean | undefined;
|
|
1431
1432
|
} | {
|
|
1432
1433
|
$$type: "background-gradient-overlay";
|
|
@@ -1438,7 +1439,7 @@ declare const backgroundOverlayPropTypeUtil: {
|
|
|
1438
1439
|
disabled?: boolean | undefined;
|
|
1439
1440
|
})[], createOptions: CreateOptions): TransformablePropValue$1<"background-overlay", ({
|
|
1440
1441
|
$$type: "background-color-overlay";
|
|
1441
|
-
value
|
|
1442
|
+
value?: any;
|
|
1442
1443
|
disabled?: boolean | undefined;
|
|
1443
1444
|
} | {
|
|
1444
1445
|
$$type: "background-gradient-overlay";
|
|
@@ -1454,7 +1455,7 @@ declare const backgroundOverlayPropTypeUtil: {
|
|
|
1454
1455
|
$$type: z.ZodLiteral<"background-overlay">;
|
|
1455
1456
|
value: z.ZodType<({
|
|
1456
1457
|
$$type: "background-color-overlay";
|
|
1457
|
-
value
|
|
1458
|
+
value?: any;
|
|
1458
1459
|
disabled?: boolean | undefined;
|
|
1459
1460
|
} | {
|
|
1460
1461
|
$$type: "background-gradient-overlay";
|
|
@@ -1466,7 +1467,7 @@ declare const backgroundOverlayPropTypeUtil: {
|
|
|
1466
1467
|
disabled?: boolean | undefined;
|
|
1467
1468
|
})[], z.ZodTypeDef, ({
|
|
1468
1469
|
$$type: "background-color-overlay";
|
|
1469
|
-
value
|
|
1470
|
+
value?: any;
|
|
1470
1471
|
disabled?: boolean | undefined;
|
|
1471
1472
|
} | {
|
|
1472
1473
|
$$type: "background-gradient-overlay";
|
|
@@ -1482,7 +1483,7 @@ declare const backgroundOverlayPropTypeUtil: {
|
|
|
1482
1483
|
$$type: "background-overlay";
|
|
1483
1484
|
value: ({
|
|
1484
1485
|
$$type: "background-color-overlay";
|
|
1485
|
-
value
|
|
1486
|
+
value?: any;
|
|
1486
1487
|
disabled?: boolean | undefined;
|
|
1487
1488
|
} | {
|
|
1488
1489
|
$$type: "background-gradient-overlay";
|
|
@@ -1498,7 +1499,7 @@ declare const backgroundOverlayPropTypeUtil: {
|
|
|
1498
1499
|
$$type: "background-overlay";
|
|
1499
1500
|
value: ({
|
|
1500
1501
|
$$type: "background-color-overlay";
|
|
1501
|
-
value
|
|
1502
|
+
value?: any;
|
|
1502
1503
|
disabled?: boolean | undefined;
|
|
1503
1504
|
} | {
|
|
1504
1505
|
$$type: "background-gradient-overlay";
|
|
@@ -1517,24 +1518,24 @@ type BackgroundOverlayPropValue = z.infer<typeof backgroundOverlayPropTypeUtil.s
|
|
|
1517
1518
|
type BackgroundOverlayItemPropValue = z.infer<typeof backgroundOverlayItem>;
|
|
1518
1519
|
|
|
1519
1520
|
declare const backgroundColorOverlayPropTypeUtil: {
|
|
1520
|
-
extract: (prop: unknown) =>
|
|
1521
|
-
isValid: (prop: unknown) => prop is TransformablePropValue$1<"background-color-overlay",
|
|
1521
|
+
extract: (prop: unknown) => any;
|
|
1522
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"background-color-overlay", any>;
|
|
1522
1523
|
create: {
|
|
1523
|
-
(value:
|
|
1524
|
-
(value:
|
|
1525
|
-
(value: (prev?:
|
|
1524
|
+
(value: any): TransformablePropValue$1<"background-color-overlay", any>;
|
|
1525
|
+
(value: any, createOptions?: CreateOptions): TransformablePropValue$1<"background-color-overlay", any>;
|
|
1526
|
+
(value: (prev?: any) => any, createOptions: CreateOptions): TransformablePropValue$1<"background-color-overlay", any>;
|
|
1526
1527
|
};
|
|
1527
1528
|
schema: z.ZodObject<{
|
|
1528
1529
|
$$type: z.ZodLiteral<"background-color-overlay">;
|
|
1529
|
-
value: z.ZodType<
|
|
1530
|
+
value: z.ZodType<any, z.ZodTypeDef, any>;
|
|
1530
1531
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1531
1532
|
}, "strict", z.ZodTypeAny, {
|
|
1532
1533
|
$$type: "background-color-overlay";
|
|
1533
|
-
value
|
|
1534
|
+
value?: any;
|
|
1534
1535
|
disabled?: boolean | undefined;
|
|
1535
1536
|
}, {
|
|
1536
1537
|
$$type: "background-color-overlay";
|
|
1537
|
-
value
|
|
1538
|
+
value?: any;
|
|
1538
1539
|
disabled?: boolean | undefined;
|
|
1539
1540
|
}>;
|
|
1540
1541
|
key: "background-color-overlay";
|
|
@@ -1566,6 +1567,31 @@ declare const backgroundImageOverlayPropTypeUtil: {
|
|
|
1566
1567
|
};
|
|
1567
1568
|
type BackgroundImageOverlayPropValue = z.infer<typeof backgroundImageOverlayPropTypeUtil.schema>;
|
|
1568
1569
|
|
|
1570
|
+
declare const backgroundGradientOverlayPropTypeUtil: {
|
|
1571
|
+
extract: (prop: unknown) => any;
|
|
1572
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"background-gradient-overlay", any>;
|
|
1573
|
+
create: {
|
|
1574
|
+
(value: any): TransformablePropValue$1<"background-gradient-overlay", any>;
|
|
1575
|
+
(value: any, createOptions?: CreateOptions): TransformablePropValue$1<"background-gradient-overlay", any>;
|
|
1576
|
+
(value: (prev?: any) => any, createOptions: CreateOptions): TransformablePropValue$1<"background-gradient-overlay", any>;
|
|
1577
|
+
};
|
|
1578
|
+
schema: z.ZodObject<{
|
|
1579
|
+
$$type: z.ZodLiteral<"background-gradient-overlay">;
|
|
1580
|
+
value: z.ZodType<any, z.ZodTypeDef, any>;
|
|
1581
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1582
|
+
}, "strict", z.ZodTypeAny, {
|
|
1583
|
+
$$type: "background-gradient-overlay";
|
|
1584
|
+
value?: any;
|
|
1585
|
+
disabled?: boolean | undefined;
|
|
1586
|
+
}, {
|
|
1587
|
+
$$type: "background-gradient-overlay";
|
|
1588
|
+
value?: any;
|
|
1589
|
+
disabled?: boolean | undefined;
|
|
1590
|
+
}>;
|
|
1591
|
+
key: "background-gradient-overlay";
|
|
1592
|
+
};
|
|
1593
|
+
type BackgroundGradientOverlayPropValue = z.infer<typeof backgroundGradientOverlayPropTypeUtil.schema>;
|
|
1594
|
+
|
|
1569
1595
|
declare const backgroundImagePositionOffsetPropTypeUtil: {
|
|
1570
1596
|
extract: (prop: unknown) => any;
|
|
1571
1597
|
isValid: (prop: unknown) => prop is TransformablePropValue$1<"background-image-position-offset", any>;
|
|
@@ -1641,6 +1667,186 @@ declare const booleanPropTypeUtil: {
|
|
|
1641
1667
|
};
|
|
1642
1668
|
type BooleanPropValue = z.infer<typeof booleanPropTypeUtil.schema>;
|
|
1643
1669
|
|
|
1670
|
+
declare const colorStopPropTypeUtil: {
|
|
1671
|
+
extract: (prop: unknown) => {
|
|
1672
|
+
color?: any;
|
|
1673
|
+
offset?: any;
|
|
1674
|
+
} | null;
|
|
1675
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"color-stop", {
|
|
1676
|
+
color?: any;
|
|
1677
|
+
offset?: any;
|
|
1678
|
+
}>;
|
|
1679
|
+
create: {
|
|
1680
|
+
(value: {
|
|
1681
|
+
color?: any;
|
|
1682
|
+
offset?: any;
|
|
1683
|
+
}): TransformablePropValue$1<"color-stop", {
|
|
1684
|
+
color?: any;
|
|
1685
|
+
offset?: any;
|
|
1686
|
+
}>;
|
|
1687
|
+
(value: {
|
|
1688
|
+
color?: any;
|
|
1689
|
+
offset?: any;
|
|
1690
|
+
}, createOptions?: CreateOptions): TransformablePropValue$1<"color-stop", {
|
|
1691
|
+
color?: any;
|
|
1692
|
+
offset?: any;
|
|
1693
|
+
}>;
|
|
1694
|
+
(value: (prev?: {
|
|
1695
|
+
color?: any;
|
|
1696
|
+
offset?: any;
|
|
1697
|
+
} | undefined) => {
|
|
1698
|
+
color?: any;
|
|
1699
|
+
offset?: any;
|
|
1700
|
+
}, createOptions: CreateOptions): TransformablePropValue$1<"color-stop", {
|
|
1701
|
+
color?: any;
|
|
1702
|
+
offset?: any;
|
|
1703
|
+
}>;
|
|
1704
|
+
};
|
|
1705
|
+
schema: z.ZodObject<{
|
|
1706
|
+
$$type: z.ZodLiteral<"color-stop">;
|
|
1707
|
+
value: z.ZodType<{
|
|
1708
|
+
color?: any;
|
|
1709
|
+
offset?: any;
|
|
1710
|
+
}, z.ZodTypeDef, {
|
|
1711
|
+
color?: any;
|
|
1712
|
+
offset?: any;
|
|
1713
|
+
}>;
|
|
1714
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1715
|
+
}, "strict", z.ZodTypeAny, {
|
|
1716
|
+
$$type: "color-stop";
|
|
1717
|
+
value: {
|
|
1718
|
+
color?: any;
|
|
1719
|
+
offset?: any;
|
|
1720
|
+
};
|
|
1721
|
+
disabled?: boolean | undefined;
|
|
1722
|
+
}, {
|
|
1723
|
+
$$type: "color-stop";
|
|
1724
|
+
value: {
|
|
1725
|
+
color?: any;
|
|
1726
|
+
offset?: any;
|
|
1727
|
+
};
|
|
1728
|
+
disabled?: boolean | undefined;
|
|
1729
|
+
}>;
|
|
1730
|
+
key: "color-stop";
|
|
1731
|
+
};
|
|
1732
|
+
type ColorStopPropValue = z.infer<typeof colorStopPropTypeUtil.schema>;
|
|
1733
|
+
|
|
1734
|
+
declare const gradientColorStopPropTypeUtil: {
|
|
1735
|
+
extract: (prop: unknown) => {
|
|
1736
|
+
$$type: "color-stop";
|
|
1737
|
+
value: {
|
|
1738
|
+
color?: any;
|
|
1739
|
+
offset?: any;
|
|
1740
|
+
};
|
|
1741
|
+
disabled?: boolean | undefined;
|
|
1742
|
+
}[] | null;
|
|
1743
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"gradient-color-stop", {
|
|
1744
|
+
$$type: "color-stop";
|
|
1745
|
+
value: {
|
|
1746
|
+
color?: any;
|
|
1747
|
+
offset?: any;
|
|
1748
|
+
};
|
|
1749
|
+
disabled?: boolean | undefined;
|
|
1750
|
+
}[]>;
|
|
1751
|
+
create: {
|
|
1752
|
+
(value: {
|
|
1753
|
+
$$type: "color-stop";
|
|
1754
|
+
value: {
|
|
1755
|
+
color?: any;
|
|
1756
|
+
offset?: any;
|
|
1757
|
+
};
|
|
1758
|
+
disabled?: boolean | undefined;
|
|
1759
|
+
}[]): TransformablePropValue$1<"gradient-color-stop", {
|
|
1760
|
+
$$type: "color-stop";
|
|
1761
|
+
value: {
|
|
1762
|
+
color?: any;
|
|
1763
|
+
offset?: any;
|
|
1764
|
+
};
|
|
1765
|
+
disabled?: boolean | undefined;
|
|
1766
|
+
}[]>;
|
|
1767
|
+
(value: {
|
|
1768
|
+
$$type: "color-stop";
|
|
1769
|
+
value: {
|
|
1770
|
+
color?: any;
|
|
1771
|
+
offset?: any;
|
|
1772
|
+
};
|
|
1773
|
+
disabled?: boolean | undefined;
|
|
1774
|
+
}[], createOptions?: CreateOptions): TransformablePropValue$1<"gradient-color-stop", {
|
|
1775
|
+
$$type: "color-stop";
|
|
1776
|
+
value: {
|
|
1777
|
+
color?: any;
|
|
1778
|
+
offset?: any;
|
|
1779
|
+
};
|
|
1780
|
+
disabled?: boolean | undefined;
|
|
1781
|
+
}[]>;
|
|
1782
|
+
(value: (prev?: {
|
|
1783
|
+
$$type: "color-stop";
|
|
1784
|
+
value: {
|
|
1785
|
+
color?: any;
|
|
1786
|
+
offset?: any;
|
|
1787
|
+
};
|
|
1788
|
+
disabled?: boolean | undefined;
|
|
1789
|
+
}[] | undefined) => {
|
|
1790
|
+
$$type: "color-stop";
|
|
1791
|
+
value: {
|
|
1792
|
+
color?: any;
|
|
1793
|
+
offset?: any;
|
|
1794
|
+
};
|
|
1795
|
+
disabled?: boolean | undefined;
|
|
1796
|
+
}[], createOptions: CreateOptions): TransformablePropValue$1<"gradient-color-stop", {
|
|
1797
|
+
$$type: "color-stop";
|
|
1798
|
+
value: {
|
|
1799
|
+
color?: any;
|
|
1800
|
+
offset?: any;
|
|
1801
|
+
};
|
|
1802
|
+
disabled?: boolean | undefined;
|
|
1803
|
+
}[]>;
|
|
1804
|
+
};
|
|
1805
|
+
schema: z.ZodObject<{
|
|
1806
|
+
$$type: z.ZodLiteral<"gradient-color-stop">;
|
|
1807
|
+
value: z.ZodType<{
|
|
1808
|
+
$$type: "color-stop";
|
|
1809
|
+
value: {
|
|
1810
|
+
color?: any;
|
|
1811
|
+
offset?: any;
|
|
1812
|
+
};
|
|
1813
|
+
disabled?: boolean | undefined;
|
|
1814
|
+
}[], z.ZodTypeDef, {
|
|
1815
|
+
$$type: "color-stop";
|
|
1816
|
+
value: {
|
|
1817
|
+
color?: any;
|
|
1818
|
+
offset?: any;
|
|
1819
|
+
};
|
|
1820
|
+
disabled?: boolean | undefined;
|
|
1821
|
+
}[]>;
|
|
1822
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1823
|
+
}, "strict", z.ZodTypeAny, {
|
|
1824
|
+
$$type: "gradient-color-stop";
|
|
1825
|
+
value: {
|
|
1826
|
+
$$type: "color-stop";
|
|
1827
|
+
value: {
|
|
1828
|
+
color?: any;
|
|
1829
|
+
offset?: any;
|
|
1830
|
+
};
|
|
1831
|
+
disabled?: boolean | undefined;
|
|
1832
|
+
}[];
|
|
1833
|
+
disabled?: boolean | undefined;
|
|
1834
|
+
}, {
|
|
1835
|
+
$$type: "gradient-color-stop";
|
|
1836
|
+
value: {
|
|
1837
|
+
$$type: "color-stop";
|
|
1838
|
+
value: {
|
|
1839
|
+
color?: any;
|
|
1840
|
+
offset?: any;
|
|
1841
|
+
};
|
|
1842
|
+
disabled?: boolean | undefined;
|
|
1843
|
+
}[];
|
|
1844
|
+
disabled?: boolean | undefined;
|
|
1845
|
+
}>;
|
|
1846
|
+
key: "gradient-color-stop";
|
|
1847
|
+
};
|
|
1848
|
+
type GradientColorStopPropValue = z.infer<typeof gradientColorStopPropTypeUtil.schema>;
|
|
1849
|
+
|
|
1644
1850
|
declare function mergeProps(current: Props, updates: Props): Props;
|
|
1645
1851
|
|
|
1646
1852
|
declare const transformableSchema: z.ZodObject<{
|
|
@@ -1659,4 +1865,4 @@ declare const transformableSchema: z.ZodObject<{
|
|
|
1659
1865
|
type TransformablePropValue = z.infer<typeof transformableSchema>;
|
|
1660
1866
|
declare const isTransformable: (value: unknown) => value is TransformablePropValue;
|
|
1661
1867
|
|
|
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 };
|
|
1868
|
+
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, CLASSES_PROP_KEY, 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 };
|