@wix/editor-react-components 1.2473.0 → 1.2474.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/dist/site/components/AccordionComponent/component.js +11 -79
- package/dist/site/components/AccordionComponent/manifestConfigs/iconPositionConfig.d.ts +2 -2
- package/dist/site/components/AudioPlayer/manifestConfigs/controlsConfig.d.ts +8 -8
- package/dist/site/components/AudioPlayer/manifestConfigs/coverMediaConfig.d.ts +1 -1
- package/dist/site/components/Line/manifestConfigs/shapeConfig.d.ts +2 -2
- package/dist/site/components/Line/manifestConfigs/typeConfig.d.ts +2 -2
- package/dist/site/components/Menu/manifestConfigs/dropdownConfig.d.ts +45 -45
- package/dist/site/components/ShareButtons/constants.d.ts +1 -1
- package/dist/site/components/TextEffectsShared/manifestBase.d.ts +15 -15
- package/dist/site/components/TransparentVideo/useTransparentVideo.d.ts +1 -1
- package/package.json +4 -4
|
@@ -1365,18 +1365,18 @@ function composeContextScopes(...scopes) {
|
|
|
1365
1365
|
createScope.scopeName = baseScope.scopeName;
|
|
1366
1366
|
return createScope;
|
|
1367
1367
|
}
|
|
1368
|
-
function setRef
|
|
1368
|
+
function setRef(ref, value) {
|
|
1369
1369
|
if (typeof ref === "function") {
|
|
1370
1370
|
return ref(value);
|
|
1371
1371
|
} else if (ref !== null && ref !== void 0) {
|
|
1372
1372
|
ref.current = value;
|
|
1373
1373
|
}
|
|
1374
1374
|
}
|
|
1375
|
-
function composeRefs
|
|
1375
|
+
function composeRefs(...refs) {
|
|
1376
1376
|
return (node) => {
|
|
1377
1377
|
let hasCleanup = false;
|
|
1378
1378
|
const cleanups = refs.map((ref) => {
|
|
1379
|
-
const cleanup = setRef
|
|
1379
|
+
const cleanup = setRef(ref, node);
|
|
1380
1380
|
if (!hasCleanup && typeof cleanup == "function") {
|
|
1381
1381
|
hasCleanup = true;
|
|
1382
1382
|
}
|
|
@@ -1389,15 +1389,15 @@ function composeRefs$2(...refs) {
|
|
|
1389
1389
|
if (typeof cleanup == "function") {
|
|
1390
1390
|
cleanup();
|
|
1391
1391
|
} else {
|
|
1392
|
-
setRef
|
|
1392
|
+
setRef(refs[i], null);
|
|
1393
1393
|
}
|
|
1394
1394
|
}
|
|
1395
1395
|
};
|
|
1396
1396
|
}
|
|
1397
1397
|
};
|
|
1398
1398
|
}
|
|
1399
|
-
function useComposedRefs
|
|
1400
|
-
return React.useCallback(composeRefs
|
|
1399
|
+
function useComposedRefs(...refs) {
|
|
1400
|
+
return React.useCallback(composeRefs(...refs), refs);
|
|
1401
1401
|
}
|
|
1402
1402
|
// @__NO_SIDE_EFFECTS__
|
|
1403
1403
|
function createSlot$2(ownerName) {
|
|
@@ -1431,7 +1431,7 @@ function createSlotClone$2(ownerName) {
|
|
|
1431
1431
|
const childrenRef = getElementRef$3(children);
|
|
1432
1432
|
const props2 = mergeProps$2(slotProps, children.props);
|
|
1433
1433
|
if (children.type !== React.Fragment) {
|
|
1434
|
-
props2.ref = forwardedRef ? composeRefs
|
|
1434
|
+
props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
|
|
1435
1435
|
}
|
|
1436
1436
|
return React.cloneElement(children, props2);
|
|
1437
1437
|
}
|
|
@@ -1502,7 +1502,7 @@ function createCollection(name) {
|
|
|
1502
1502
|
(props, forwardedRef) => {
|
|
1503
1503
|
const { scope, children } = props;
|
|
1504
1504
|
const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);
|
|
1505
|
-
const composedRefs = useComposedRefs
|
|
1505
|
+
const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);
|
|
1506
1506
|
return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });
|
|
1507
1507
|
}
|
|
1508
1508
|
);
|
|
@@ -1514,7 +1514,7 @@ function createCollection(name) {
|
|
|
1514
1514
|
(props, forwardedRef) => {
|
|
1515
1515
|
const { scope, children, ...itemData } = props;
|
|
1516
1516
|
const ref = React__default.useRef(null);
|
|
1517
|
-
const composedRefs = useComposedRefs
|
|
1517
|
+
const composedRefs = useComposedRefs(forwardedRef, ref);
|
|
1518
1518
|
const context = useCollectionContext(ITEM_SLOT_NAME, scope);
|
|
1519
1519
|
React__default.useEffect(() => {
|
|
1520
1520
|
context.itemMap.set(ref, { ref, ...itemData });
|
|
@@ -1544,40 +1544,6 @@ function createCollection(name) {
|
|
|
1544
1544
|
createCollectionScope2
|
|
1545
1545
|
];
|
|
1546
1546
|
}
|
|
1547
|
-
function setRef$1(ref, value) {
|
|
1548
|
-
if (typeof ref === "function") {
|
|
1549
|
-
return ref(value);
|
|
1550
|
-
} else if (ref !== null && ref !== void 0) {
|
|
1551
|
-
ref.current = value;
|
|
1552
|
-
}
|
|
1553
|
-
}
|
|
1554
|
-
function composeRefs$1(...refs) {
|
|
1555
|
-
return (node) => {
|
|
1556
|
-
let hasCleanup = false;
|
|
1557
|
-
const cleanups = refs.map((ref) => {
|
|
1558
|
-
const cleanup = setRef$1(ref, node);
|
|
1559
|
-
if (!hasCleanup && typeof cleanup == "function") {
|
|
1560
|
-
hasCleanup = true;
|
|
1561
|
-
}
|
|
1562
|
-
return cleanup;
|
|
1563
|
-
});
|
|
1564
|
-
if (hasCleanup) {
|
|
1565
|
-
return () => {
|
|
1566
|
-
for (let i = 0; i < cleanups.length; i++) {
|
|
1567
|
-
const cleanup = cleanups[i];
|
|
1568
|
-
if (typeof cleanup == "function") {
|
|
1569
|
-
cleanup();
|
|
1570
|
-
} else {
|
|
1571
|
-
setRef$1(refs[i], null);
|
|
1572
|
-
}
|
|
1573
|
-
}
|
|
1574
|
-
};
|
|
1575
|
-
}
|
|
1576
|
-
};
|
|
1577
|
-
}
|
|
1578
|
-
function useComposedRefs$1(...refs) {
|
|
1579
|
-
return React.useCallback(composeRefs$1(...refs), refs);
|
|
1580
|
-
}
|
|
1581
1547
|
function composeEventHandlers$1(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
|
|
1582
1548
|
return function handleEvent(event) {
|
|
1583
1549
|
originalEventHandler == null ? void 0 : originalEventHandler(event);
|
|
@@ -1686,7 +1652,7 @@ function createSlotClone$1(ownerName) {
|
|
|
1686
1652
|
const childrenRef = getElementRef$2(children);
|
|
1687
1653
|
const props2 = mergeProps$1(slotProps, children.props);
|
|
1688
1654
|
if (children.type !== React.Fragment) {
|
|
1689
|
-
props2.ref = forwardedRef ? composeRefs
|
|
1655
|
+
props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
|
|
1690
1656
|
}
|
|
1691
1657
|
return React.cloneElement(children, props2);
|
|
1692
1658
|
}
|
|
@@ -1779,40 +1745,6 @@ function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForD
|
|
|
1779
1745
|
}
|
|
1780
1746
|
var useLayoutEffect2$1 = (globalThis == null ? void 0 : globalThis.document) ? React.useLayoutEffect : () => {
|
|
1781
1747
|
};
|
|
1782
|
-
function setRef(ref, value) {
|
|
1783
|
-
if (typeof ref === "function") {
|
|
1784
|
-
return ref(value);
|
|
1785
|
-
} else if (ref !== null && ref !== void 0) {
|
|
1786
|
-
ref.current = value;
|
|
1787
|
-
}
|
|
1788
|
-
}
|
|
1789
|
-
function composeRefs(...refs) {
|
|
1790
|
-
return (node) => {
|
|
1791
|
-
let hasCleanup = false;
|
|
1792
|
-
const cleanups = refs.map((ref) => {
|
|
1793
|
-
const cleanup = setRef(ref, node);
|
|
1794
|
-
if (!hasCleanup && typeof cleanup == "function") {
|
|
1795
|
-
hasCleanup = true;
|
|
1796
|
-
}
|
|
1797
|
-
return cleanup;
|
|
1798
|
-
});
|
|
1799
|
-
if (hasCleanup) {
|
|
1800
|
-
return () => {
|
|
1801
|
-
for (let i = 0; i < cleanups.length; i++) {
|
|
1802
|
-
const cleanup = cleanups[i];
|
|
1803
|
-
if (typeof cleanup == "function") {
|
|
1804
|
-
cleanup();
|
|
1805
|
-
} else {
|
|
1806
|
-
setRef(refs[i], null);
|
|
1807
|
-
}
|
|
1808
|
-
}
|
|
1809
|
-
};
|
|
1810
|
-
}
|
|
1811
|
-
};
|
|
1812
|
-
}
|
|
1813
|
-
function useComposedRefs(...refs) {
|
|
1814
|
-
return React.useCallback(composeRefs(...refs), refs);
|
|
1815
|
-
}
|
|
1816
1748
|
// @__NO_SIDE_EFFECTS__
|
|
1817
1749
|
function createSlot(ownerName) {
|
|
1818
1750
|
const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
|
|
@@ -2287,7 +2219,7 @@ var AccordionImpl = React__default.forwardRef(
|
|
|
2287
2219
|
(props, forwardedRef) => {
|
|
2288
2220
|
const { __scopeAccordion, disabled, dir, orientation = "vertical", ...accordionProps } = props;
|
|
2289
2221
|
const accordionRef = React__default.useRef(null);
|
|
2290
|
-
const composedRefs = useComposedRefs
|
|
2222
|
+
const composedRefs = useComposedRefs(accordionRef, forwardedRef);
|
|
2291
2223
|
const getItems = useCollection(__scopeAccordion);
|
|
2292
2224
|
const direction = useDirection(dir);
|
|
2293
2225
|
const isDirectionLTR = direction === "ltr";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const iconPositionConfig: {
|
|
2
2
|
customEnum: {
|
|
3
|
-
cssPropertyType: import('@wix/component-
|
|
3
|
+
cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
|
|
4
4
|
options: {
|
|
5
5
|
value: string;
|
|
6
6
|
displayName: string;
|
|
@@ -12,5 +12,5 @@ export declare const iconPositionConfig: {
|
|
|
12
12
|
};
|
|
13
13
|
displayName: string;
|
|
14
14
|
defaultValue: string;
|
|
15
|
-
cssPropertyType: import('@wix/component-
|
|
15
|
+
cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
|
|
16
16
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NATIVE_STATE_TYPE } from '@wix/component-protocol/schema';
|
|
2
2
|
export declare const controlsConfig: {
|
|
3
|
-
elementType: import('@wix/component-
|
|
3
|
+
elementType: import('@wix/ambassador-devcenter-v1-component-type-data/types').ElementTypeEnumElementType;
|
|
4
4
|
inlineElement: {
|
|
5
5
|
selector: string;
|
|
6
6
|
displayName: string;
|
|
@@ -10,27 +10,27 @@ export declare const controlsConfig: {
|
|
|
10
10
|
};
|
|
11
11
|
cssCustomProperties: {
|
|
12
12
|
'progress-fill-color': {
|
|
13
|
-
cssPropertyType: import('@wix/component-
|
|
13
|
+
cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
|
|
14
14
|
displayName: string;
|
|
15
15
|
defaultValue: string;
|
|
16
16
|
};
|
|
17
17
|
'volume-control-color': {
|
|
18
|
-
cssPropertyType: import('@wix/component-
|
|
18
|
+
cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
|
|
19
19
|
displayName: string;
|
|
20
20
|
defaultValue: string;
|
|
21
21
|
};
|
|
22
22
|
'time-display-color': {
|
|
23
|
-
cssPropertyType: import('@wix/component-
|
|
23
|
+
cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
|
|
24
24
|
displayName: string;
|
|
25
25
|
defaultValue: string;
|
|
26
26
|
};
|
|
27
27
|
'play-icon-color': {
|
|
28
|
-
cssPropertyType: import('@wix/component-
|
|
28
|
+
cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
|
|
29
29
|
displayName: string;
|
|
30
30
|
defaultValue: string;
|
|
31
31
|
};
|
|
32
32
|
'play-icon-size': {
|
|
33
|
-
cssPropertyType: import("@wix/component-
|
|
33
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.length;
|
|
34
34
|
displayName: string;
|
|
35
35
|
defaultValue: string;
|
|
36
36
|
};
|
|
@@ -46,14 +46,14 @@ export declare const controlsConfig: {
|
|
|
46
46
|
displayGroups: {
|
|
47
47
|
fillColors: {
|
|
48
48
|
displayName: string;
|
|
49
|
-
groupType: import('@wix/component-
|
|
49
|
+
groupType: import('@wix/ambassador-devcenter-v1-component-type-data/types').GroupType;
|
|
50
50
|
cssDataType: {
|
|
51
51
|
items: string[];
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
icon: {
|
|
55
55
|
displayName: string;
|
|
56
|
-
groupType: import('@wix/component-
|
|
56
|
+
groupType: import('@wix/ambassador-devcenter-v1-component-type-data/types').GroupType;
|
|
57
57
|
cssDataType: {
|
|
58
58
|
items: string[];
|
|
59
59
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const coverMediaConfig: {
|
|
2
|
-
elementType: import('@wix/component-
|
|
2
|
+
elementType: import('@wix/ambassador-devcenter-v1-component-type-data/types').ElementTypeEnumElementType;
|
|
3
3
|
refElement: {
|
|
4
4
|
selector: string;
|
|
5
5
|
type: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export type Edge = 'before' | 'after';
|
|
2
2
|
export declare const getShapeConfig: (edge: Edge, displayName: string) => {
|
|
3
|
-
cssPropertyType: import('@wix/component-
|
|
3
|
+
cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
|
|
4
4
|
defaultValue: string;
|
|
5
5
|
displayName: string;
|
|
6
6
|
customEnum: {
|
|
7
|
-
cssPropertyType: import('@wix/component-
|
|
7
|
+
cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
|
|
8
8
|
options: {
|
|
9
9
|
value: string;
|
|
10
10
|
displayName: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const newTypeConfig: {
|
|
2
2
|
customEnum: {
|
|
3
|
-
cssPropertyType: import('@wix/component-
|
|
3
|
+
cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
|
|
4
4
|
options: {
|
|
5
5
|
value: string;
|
|
6
6
|
displayName: string;
|
|
@@ -12,5 +12,5 @@ export declare const newTypeConfig: {
|
|
|
12
12
|
};
|
|
13
13
|
displayName: string;
|
|
14
14
|
defaultValue: string;
|
|
15
|
-
cssPropertyType: import('@wix/component-
|
|
15
|
+
cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
|
|
16
16
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElementItem } from '@wix/component-protocol/schema';
|
|
2
2
|
import { elementKeys } from '../constants';
|
|
3
3
|
export declare const dropdownConfig: {
|
|
4
|
-
elementType: import("@wix/component-
|
|
4
|
+
elementType: import("@wix/ambassador-devcenter-v1-component-type-data/types").ElementTypeEnumElementType.inlineElement;
|
|
5
5
|
inlineElement: {
|
|
6
6
|
selector: string;
|
|
7
7
|
displayName: string;
|
|
@@ -10,7 +10,7 @@ export declare const dropdownConfig: {
|
|
|
10
10
|
};
|
|
11
11
|
displayGroups: {
|
|
12
12
|
dropdownContainerGroup: {
|
|
13
|
-
groupType: import("@wix/component-
|
|
13
|
+
groupType: import("@wix/ambassador-devcenter-v1-component-type-data/types").GroupType.padding;
|
|
14
14
|
padding: {
|
|
15
15
|
top: string;
|
|
16
16
|
bottom: string;
|
|
@@ -19,7 +19,7 @@ export declare const dropdownConfig: {
|
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
gapGroup: {
|
|
22
|
-
groupType: import("@wix/component-
|
|
22
|
+
groupType: import("@wix/ambassador-devcenter-v1-component-type-data/types").GroupType.gap;
|
|
23
23
|
displayName: string;
|
|
24
24
|
gap: {
|
|
25
25
|
columnGap: string;
|
|
@@ -27,7 +27,7 @@ export declare const dropdownConfig: {
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
borderColorGroup: {
|
|
30
|
-
groupType: import("@wix/component-
|
|
30
|
+
groupType: import("@wix/ambassador-devcenter-v1-component-type-data/types").GroupType.borderColor;
|
|
31
31
|
borderColor: {
|
|
32
32
|
top: string;
|
|
33
33
|
right: string;
|
|
@@ -36,7 +36,7 @@ export declare const dropdownConfig: {
|
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
borderWidthGroup: {
|
|
39
|
-
groupType: import("@wix/component-
|
|
39
|
+
groupType: import("@wix/ambassador-devcenter-v1-component-type-data/types").GroupType.borderWidth;
|
|
40
40
|
borderWidth: {
|
|
41
41
|
top: string;
|
|
42
42
|
right: string;
|
|
@@ -45,7 +45,7 @@ export declare const dropdownConfig: {
|
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
borderStyleGroup: {
|
|
48
|
-
groupType: import("@wix/component-
|
|
48
|
+
groupType: import("@wix/ambassador-devcenter-v1-component-type-data/types").GroupType.borderStyle;
|
|
49
49
|
borderStyle: {
|
|
50
50
|
top: string;
|
|
51
51
|
right: string;
|
|
@@ -54,7 +54,7 @@ export declare const dropdownConfig: {
|
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
56
|
borderGroup: {
|
|
57
|
-
groupType: import("@wix/component-
|
|
57
|
+
groupType: import("@wix/ambassador-devcenter-v1-component-type-data/types").GroupType.border;
|
|
58
58
|
border: {
|
|
59
59
|
color: string;
|
|
60
60
|
width: string;
|
|
@@ -62,7 +62,7 @@ export declare const dropdownConfig: {
|
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
64
|
layoutGroup: {
|
|
65
|
-
groupType: import("@wix/component-
|
|
65
|
+
groupType: import("@wix/ambassador-devcenter-v1-component-type-data/types").GroupType.cssDataType;
|
|
66
66
|
cssDataType: {
|
|
67
67
|
items: string[];
|
|
68
68
|
};
|
|
@@ -71,10 +71,10 @@ export declare const dropdownConfig: {
|
|
|
71
71
|
cssCustomProperties: {
|
|
72
72
|
anchor: {
|
|
73
73
|
displayName: string;
|
|
74
|
-
cssPropertyType: import("@wix/component-
|
|
74
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.customEnum;
|
|
75
75
|
defaultValue: string;
|
|
76
76
|
customEnum: {
|
|
77
|
-
cssPropertyType: import("@wix/component-
|
|
77
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.string;
|
|
78
78
|
options: ({
|
|
79
79
|
displayName: string;
|
|
80
80
|
value: string;
|
|
@@ -101,10 +101,10 @@ export declare const dropdownConfig: {
|
|
|
101
101
|
};
|
|
102
102
|
align: {
|
|
103
103
|
displayName: string;
|
|
104
|
-
cssPropertyType: import("@wix/component-
|
|
104
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.customEnum;
|
|
105
105
|
defaultValue: string;
|
|
106
106
|
customEnum: {
|
|
107
|
-
cssPropertyType: import("@wix/component-
|
|
107
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.string;
|
|
108
108
|
options: {
|
|
109
109
|
displayName: string;
|
|
110
110
|
value: string;
|
|
@@ -113,10 +113,10 @@ export declare const dropdownConfig: {
|
|
|
113
113
|
};
|
|
114
114
|
'items-width': {
|
|
115
115
|
displayName: string;
|
|
116
|
-
cssPropertyType: import("@wix/component-
|
|
116
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.customEnum;
|
|
117
117
|
defaultValue: string;
|
|
118
118
|
customEnum: {
|
|
119
|
-
cssPropertyType: import("@wix/component-
|
|
119
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.string;
|
|
120
120
|
options: {
|
|
121
121
|
value: string;
|
|
122
122
|
displayName: string;
|
|
@@ -129,106 +129,106 @@ export declare const dropdownConfig: {
|
|
|
129
129
|
};
|
|
130
130
|
'dropdown-menu-item-text-align': {
|
|
131
131
|
displayName: string;
|
|
132
|
-
cssPropertyType: import("@wix/component-
|
|
132
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.justifyContent;
|
|
133
133
|
};
|
|
134
134
|
'dropdown-menu-item-container-align': {
|
|
135
135
|
displayName: string;
|
|
136
|
-
cssPropertyType: import("@wix/component-
|
|
136
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.justifyContent;
|
|
137
137
|
};
|
|
138
138
|
'columns-number': {
|
|
139
139
|
displayName: string;
|
|
140
|
-
cssPropertyType: import("@wix/component-
|
|
140
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.number;
|
|
141
141
|
number: {
|
|
142
142
|
minimum: number;
|
|
143
143
|
};
|
|
144
144
|
};
|
|
145
145
|
'space-above': {
|
|
146
146
|
displayName: string;
|
|
147
|
-
cssPropertyType: import("@wix/component-
|
|
147
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.rowGap;
|
|
148
148
|
};
|
|
149
149
|
'horizontal-margin': {
|
|
150
150
|
displayName: string;
|
|
151
|
-
cssPropertyType: import("@wix/component-
|
|
151
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.columnGap;
|
|
152
152
|
};
|
|
153
153
|
'dropdown-container-background': {
|
|
154
|
-
cssPropertyType: import("@wix/component-
|
|
154
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.background;
|
|
155
155
|
background: {};
|
|
156
156
|
};
|
|
157
157
|
'dropdown-container-box-shadow': {
|
|
158
|
-
cssPropertyType: import("@wix/component-
|
|
158
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.boxShadow;
|
|
159
159
|
};
|
|
160
160
|
'dropdown-container-border-inline-start-color': {
|
|
161
|
-
cssPropertyType: import("@wix/component-
|
|
161
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.borderInlineStartColor;
|
|
162
162
|
};
|
|
163
163
|
'dropdown-container-border-inline-start-style': {
|
|
164
|
-
cssPropertyType: import("@wix/component-
|
|
164
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.borderInlineStartStyle;
|
|
165
165
|
};
|
|
166
166
|
'dropdown-container-border-inline-start-width': {
|
|
167
|
-
cssPropertyType: import("@wix/component-
|
|
167
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.borderInlineStartWidth;
|
|
168
168
|
};
|
|
169
169
|
'dropdown-container-border-inline-end-color': {
|
|
170
|
-
cssPropertyType: import("@wix/component-
|
|
170
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.borderInlineEndColor;
|
|
171
171
|
};
|
|
172
172
|
'dropdown-container-border-inline-end-style': {
|
|
173
|
-
cssPropertyType: import("@wix/component-
|
|
173
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.borderInlineEndStyle;
|
|
174
174
|
};
|
|
175
175
|
'dropdown-container-border-inline-end-width': {
|
|
176
|
-
cssPropertyType: import("@wix/component-
|
|
176
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.borderInlineEndWidth;
|
|
177
177
|
};
|
|
178
178
|
'dropdown-container-border-top-color': {
|
|
179
|
-
cssPropertyType: import("@wix/component-
|
|
179
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.borderTopColor;
|
|
180
180
|
};
|
|
181
181
|
'dropdown-container-border-top-style': {
|
|
182
|
-
cssPropertyType: import("@wix/component-
|
|
182
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.borderTopStyle;
|
|
183
183
|
};
|
|
184
184
|
'dropdown-container-border-top-width': {
|
|
185
|
-
cssPropertyType: import("@wix/component-
|
|
185
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.borderTopWidth;
|
|
186
186
|
};
|
|
187
187
|
'dropdown-container-border-bottom-color': {
|
|
188
|
-
cssPropertyType: import("@wix/component-
|
|
188
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.borderBottomColor;
|
|
189
189
|
};
|
|
190
190
|
'dropdown-container-border-bottom-style': {
|
|
191
|
-
cssPropertyType: import("@wix/component-
|
|
191
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.borderBottomStyle;
|
|
192
192
|
};
|
|
193
193
|
'dropdown-container-border-bottom-width': {
|
|
194
|
-
cssPropertyType: import("@wix/component-
|
|
194
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.borderBottomWidth;
|
|
195
195
|
};
|
|
196
196
|
'dropdown-container-border-start-start-radius': {
|
|
197
|
-
cssPropertyType: import("@wix/component-
|
|
197
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.borderStartStartRadius;
|
|
198
198
|
};
|
|
199
199
|
'dropdown-container-border-start-end-radius': {
|
|
200
|
-
cssPropertyType: import("@wix/component-
|
|
200
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.borderStartEndRadius;
|
|
201
201
|
};
|
|
202
202
|
'dropdown-container-border-end-start-radius': {
|
|
203
|
-
cssPropertyType: import("@wix/component-
|
|
203
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.borderEndStartRadius;
|
|
204
204
|
};
|
|
205
205
|
'dropdown-container-border-end-end-radius': {
|
|
206
|
-
cssPropertyType: import("@wix/component-
|
|
206
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.borderEndEndRadius;
|
|
207
207
|
};
|
|
208
208
|
'dropdown-container-padding-top': {
|
|
209
|
-
cssPropertyType: import("@wix/component-
|
|
209
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.paddingTop;
|
|
210
210
|
};
|
|
211
211
|
'dropdown-container-padding-bottom': {
|
|
212
|
-
cssPropertyType: import("@wix/component-
|
|
212
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.paddingBottom;
|
|
213
213
|
};
|
|
214
214
|
'dropdown-container-padding-inline-start': {
|
|
215
|
-
cssPropertyType: import("@wix/component-
|
|
215
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.paddingInlineStart;
|
|
216
216
|
};
|
|
217
217
|
'dropdown-container-padding-inline-end': {
|
|
218
|
-
cssPropertyType: import("@wix/component-
|
|
218
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.paddingInlineEnd;
|
|
219
219
|
};
|
|
220
220
|
'dropdown-menu-item-horizontal-spacing': {
|
|
221
|
-
cssPropertyType: import("@wix/component-
|
|
221
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.columnGap;
|
|
222
222
|
};
|
|
223
223
|
'dropdown-menu-item-vertical-spacing': {
|
|
224
|
-
cssPropertyType: import("@wix/component-
|
|
224
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.rowGap;
|
|
225
225
|
};
|
|
226
226
|
'item-position': {
|
|
227
227
|
displayName: string;
|
|
228
|
-
cssPropertyType: import("@wix/component-
|
|
228
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.customEnum;
|
|
229
229
|
defaultValue: string;
|
|
230
230
|
customEnum: {
|
|
231
|
-
cssPropertyType: import("@wix/component-
|
|
231
|
+
cssPropertyType: import("@wix/ambassador-devcenter-v1-component-type-data/types").CssPropertyEnumCssPropertyType.string;
|
|
232
232
|
options: {
|
|
233
233
|
displayName: string;
|
|
234
234
|
value: string;
|
|
@@ -152,5 +152,5 @@ export declare const DefaultButtons: {
|
|
|
152
152
|
isDefault: boolean;
|
|
153
153
|
}[];
|
|
154
154
|
export declare const DisplayConfig: {
|
|
155
|
-
displayValues: import('@wix/component-
|
|
155
|
+
displayValues: import('@wix/ambassador-devcenter-v1-component-type-data/types').DisplayValueEnumDisplayValue[];
|
|
156
156
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
export declare const textEffectsInstallation: {
|
|
2
2
|
initialSize: {
|
|
3
3
|
width: {
|
|
4
|
-
sizingType: import('@wix/component-
|
|
4
|
+
sizingType: import('@wix/ambassador-devcenter-v1-component-type-data/types').SizingType;
|
|
5
5
|
};
|
|
6
6
|
height: {
|
|
7
|
-
sizingType: import('@wix/component-
|
|
7
|
+
sizingType: import('@wix/ambassador-devcenter-v1-component-type-data/types').SizingType;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
export declare const textEffectsLayout: {
|
|
12
|
-
resizeDirection: import('@wix/component-
|
|
13
|
-
contentResizeDirection: import('@wix/component-
|
|
12
|
+
resizeDirection: import('@wix/ambassador-devcenter-v1-component-type-data/types').ResizeDirection;
|
|
13
|
+
contentResizeDirection: import('@wix/ambassador-devcenter-v1-component-type-data/types').ContentResizeDirection;
|
|
14
14
|
disableStretching: boolean;
|
|
15
15
|
disablePositioning: boolean;
|
|
16
16
|
};
|
|
17
17
|
export declare const textEffectsCommonData: {
|
|
18
18
|
direction: {
|
|
19
|
-
dataType: import('@wix/component-
|
|
19
|
+
dataType: import('@wix/ambassador-devcenter-v1-component-type-data/types').DataType;
|
|
20
20
|
};
|
|
21
21
|
patternScope: {
|
|
22
22
|
displayName: string;
|
|
23
|
-
dataType: import('@wix/component-
|
|
23
|
+
dataType: import('@wix/ambassador-devcenter-v1-component-type-data/types').DataType;
|
|
24
24
|
textEnum: {
|
|
25
25
|
options: ({
|
|
26
26
|
value: "none";
|
|
@@ -36,9 +36,9 @@ export declare const textEffectsCommonData: {
|
|
|
36
36
|
defaultValue: "none";
|
|
37
37
|
};
|
|
38
38
|
a11y: {
|
|
39
|
-
dataType: import('@wix/component-
|
|
39
|
+
dataType: import('@wix/ambassador-devcenter-v1-component-type-data/types').DataType;
|
|
40
40
|
a11y: {
|
|
41
|
-
attributes: import('@wix/component-
|
|
41
|
+
attributes: import('@wix/ambassador-devcenter-v1-component-type-data/types').A11yAttributes[];
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
};
|
|
@@ -58,12 +58,12 @@ export declare const textEffectsBaseCssProperties: {
|
|
|
58
58
|
textTransform: {};
|
|
59
59
|
};
|
|
60
60
|
export declare const textEffectsInteractions: {
|
|
61
|
-
triggers: import('@wix/component-
|
|
61
|
+
triggers: import('@wix/ambassador-devcenter-v1-component-type-data/types').InteractionsTrigger[];
|
|
62
62
|
};
|
|
63
63
|
export declare const textEffectsPatternCssCustomProperties: {
|
|
64
64
|
'rotation-pattern-intensity': {
|
|
65
65
|
displayName: string;
|
|
66
|
-
cssPropertyType: import('@wix/component-
|
|
66
|
+
cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
|
|
67
67
|
number: {
|
|
68
68
|
min: string;
|
|
69
69
|
max: string;
|
|
@@ -71,7 +71,7 @@ export declare const textEffectsPatternCssCustomProperties: {
|
|
|
71
71
|
};
|
|
72
72
|
'offset-pattern-intensity': {
|
|
73
73
|
displayName: string;
|
|
74
|
-
cssPropertyType: import('@wix/component-
|
|
74
|
+
cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
|
|
75
75
|
number: {
|
|
76
76
|
min: string;
|
|
77
77
|
max: string;
|
|
@@ -79,9 +79,9 @@ export declare const textEffectsPatternCssCustomProperties: {
|
|
|
79
79
|
};
|
|
80
80
|
'pattern-preset': {
|
|
81
81
|
displayName: string;
|
|
82
|
-
cssPropertyType: import('@wix/component-
|
|
82
|
+
cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
|
|
83
83
|
customEnum: {
|
|
84
|
-
cssPropertyType: import('@wix/component-
|
|
84
|
+
cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
|
|
85
85
|
options: ({
|
|
86
86
|
value: "Fridge Magnet" | "Wave" | "Bounce";
|
|
87
87
|
displayName: "Fridge Magnet" | "Wave" | "Bounce";
|
|
@@ -93,9 +93,9 @@ export declare const textEffectsPatternCssCustomProperties: {
|
|
|
93
93
|
};
|
|
94
94
|
'is-capitalize': {
|
|
95
95
|
displayName: string;
|
|
96
|
-
cssPropertyType: import('@wix/component-
|
|
96
|
+
cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
|
|
97
97
|
customEnum: {
|
|
98
|
-
cssPropertyType: import('@wix/component-
|
|
98
|
+
cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
|
|
99
99
|
options: {
|
|
100
100
|
value: string;
|
|
101
101
|
displayName: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MouseEvent } from 'react';
|
|
2
2
|
import { TransparentVideoProps, VideoEndType } from './TransparentVideo.types';
|
|
3
3
|
export declare function useTransparentVideo(props: TransparentVideoProps): {
|
|
4
|
-
a11y: Pick<typeof import('@wix/component-
|
|
4
|
+
a11y: Pick<typeof import('@wix/ambassador-devcenter-v1-component-type-data/types').A11yAttributes, "ariaLabel"> | undefined;
|
|
5
5
|
className: string | undefined;
|
|
6
6
|
canvasRef: import('react').RefObject<HTMLCanvasElement>;
|
|
7
7
|
isMuted: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/editor-react-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2474.0",
|
|
4
4
|
"description": "React components for the Wix Editor",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@wix/sdk": "^1.21.14",
|
|
83
83
|
"@wix/services-manager-react": "^0.1.27",
|
|
84
84
|
"@wix/site-service-rendering-context": "^1.0.1",
|
|
85
|
-
"@wix/site-ui": "1.
|
|
85
|
+
"@wix/site-ui": "1.211.0",
|
|
86
86
|
"@wix/video": "^1.85.0",
|
|
87
87
|
"@wix/viewer-service-consent-policy": "^1.0.101",
|
|
88
88
|
"@wix/web-bi-logger": "^2.1.29",
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"@wix/component-protocol": "^1.245.0",
|
|
121
121
|
"@wix/components-infra": "^1.0.0",
|
|
122
122
|
"@wix/design-system": "^1.297.0",
|
|
123
|
-
"@wix/editor": "^1.
|
|
123
|
+
"@wix/editor": "^1.726.0",
|
|
124
124
|
"@wix/editor-elements-scripts": "^1.0.0",
|
|
125
125
|
"@wix/editor-elements-test-utils": "^1.0.0",
|
|
126
126
|
"@wix/editor-react-types": "^1.0.77",
|
|
@@ -197,5 +197,5 @@
|
|
|
197
197
|
"registry": "https://registry.npmjs.org/",
|
|
198
198
|
"access": "public"
|
|
199
199
|
},
|
|
200
|
-
"falconPackageHash": "
|
|
200
|
+
"falconPackageHash": "95fc415b1ec1a0e9d1ce80409799da378e24126e26e7848c3b5b91fc"
|
|
201
201
|
}
|