@wix/editor-react-components 1.2707.0 → 1.2709.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/Button/constants.d.ts +1 -0
- package/dist/site/components/Button/manifest.js +2 -2
- package/dist/site/components/Slideshow/constants.d.ts +7 -0
- package/dist/site/components/Slideshow/css.css +2 -1
- package/dist/site/components/Slideshow/manifest.js +10 -0
- package/dist/site/components/chunks/Slideshow.semanticClassNames.js +4 -0
- package/dist/site/components/chunks/constants21.js +2 -0
- package/package.json +2 -2
|
@@ -5,6 +5,7 @@ export declare const TestIds: {
|
|
|
5
5
|
};
|
|
6
6
|
export declare const TRANSITION_DURATION = 400;
|
|
7
7
|
export declare const DEFAULT_ICON_POSITION = "row-reverse";
|
|
8
|
+
export declare const HIDDEN_DATA_ITEMS: string[];
|
|
8
9
|
export declare const SEMANTIC_CLASS_NAMES: {
|
|
9
10
|
readonly root: "button";
|
|
10
11
|
readonly buttonLabel: "button__label";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as ACTIONS, E as ELEMENTS, N as NativeStateType, C as CSS_PROPERTIES, I as INTERACTIONS, D as DATA, L as LAYOUT, A as Archetype } from "../chunks/chunk-ZHYIPFVN.js";
|
|
2
|
-
import { D as DesignStates, b as DisplayNames, c as DEFAULT_ICON_POSITION, C as COMPONENT_TYPE } from "../chunks/constants21.js";
|
|
2
|
+
import { D as DesignStates, b as DisplayNames, H as HIDDEN_DATA_ITEMS, c as DEFAULT_ICON_POSITION, C as COMPONENT_TYPE } from "../chunks/constants21.js";
|
|
3
3
|
import { m as manifestFocusable, c as manifestMouseHover, d as manifestClickable } from "../chunks/manifestSdkMixins.js";
|
|
4
4
|
import { w as withSpec } from "../chunks/manifest.js";
|
|
5
5
|
import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
|
|
@@ -84,7 +84,7 @@ const manifest = {
|
|
|
84
84
|
},
|
|
85
85
|
displayFilters: {
|
|
86
86
|
data: {
|
|
87
|
-
hide: [
|
|
87
|
+
hide: [...HIDDEN_DATA_ITEMS]
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
90
|
cssProperties: {
|
|
@@ -39,6 +39,8 @@ export declare const DisplayNames: {
|
|
|
39
39
|
readonly 'navigation-buttons-position': "Navigation button position";
|
|
40
40
|
readonly 'navigation-buttons-arrangement': "Navigation button arrangement";
|
|
41
41
|
readonly 'navigation-buttons-alignment': "Navigation button alignment";
|
|
42
|
+
readonly 'navigation-buttons-row-gap': "Space between buttons";
|
|
43
|
+
readonly 'navigation-buttons-column-gap': "Space between buttons";
|
|
42
44
|
readonly 'slide-indicators-position': "Slide indicator position";
|
|
43
45
|
readonly 'controls-padding': "Padding";
|
|
44
46
|
readonly 'pause-button-position': "Pause & play button position";
|
|
@@ -169,6 +171,8 @@ export declare const slideshowCssCustomPropertiesDefaults: {
|
|
|
169
171
|
readonly 'navigation-buttons-position': "center";
|
|
170
172
|
readonly 'navigation-buttons-arrangement': "separated";
|
|
171
173
|
readonly 'navigation-buttons-alignment': "center";
|
|
174
|
+
readonly 'navigation-buttons-row-gap': "20px";
|
|
175
|
+
readonly 'navigation-buttons-column-gap': "20px";
|
|
172
176
|
readonly 'slide-indicators-position': "end";
|
|
173
177
|
readonly 'controls-padding': "0px";
|
|
174
178
|
readonly 'pause-button-position': "bottom-end";
|
|
@@ -178,6 +182,9 @@ export declare const navigationButtonsPositionFields: readonly ["navigation-butt
|
|
|
178
182
|
export declare const navigationButtonsArrangementFields: readonly ["navigation-buttons-arrangement"];
|
|
179
183
|
export declare const navigationButtonsAlignmentFields: readonly ["navigation-buttons-alignment"];
|
|
180
184
|
export declare const slideIndicatorsPositionFields: readonly ["slide-indicators-position-horizontal", "slide-indicators-position-vertical"];
|
|
185
|
+
export declare const navigationButtonsRowGapFields: readonly ["navigation-buttons-row-gap"];
|
|
186
|
+
export declare const navigationButtonsColumnGapFields: readonly ["navigation-buttons-column-gap"];
|
|
187
|
+
export declare const navigationButtonsSpacingFields: readonly ["navigation-buttons-row-gap", "navigation-buttons-column-gap"];
|
|
181
188
|
export declare const iconPlacementFields: readonly ["icon-placement-horizontal", "icon-placement-vertical"];
|
|
182
189
|
export declare const ARIA_LABEL_NAMESPACE = "ariaLabels";
|
|
183
190
|
export declare const TranslationKeys: {
|
|
@@ -215,7 +215,8 @@
|
|
|
215
215
|
flex-direction: var(--navigation-flex-direction, row);
|
|
216
216
|
justify-content: var(--navigation-justify-content, space-between);
|
|
217
217
|
align-items: var(--navigation-align-items, stretch);
|
|
218
|
-
gap: var(--gap, 20px);
|
|
218
|
+
row-gap: var(--navigation-buttons-row-gap, var(--gap, 20px));
|
|
219
|
+
column-gap: var(--navigation-buttons-column-gap, var(--gap, 20px));
|
|
219
220
|
isolation: isolate;
|
|
220
221
|
min-width: 0;
|
|
221
222
|
max-width: 100%;
|
|
@@ -924,6 +924,16 @@ const manifest = {
|
|
|
924
924
|
]
|
|
925
925
|
}
|
|
926
926
|
},
|
|
927
|
+
"navigation-buttons-row-gap": {
|
|
928
|
+
cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.rowGap,
|
|
929
|
+
displayName: DisplayNames.root.cssCustomProperties["navigation-buttons-row-gap"],
|
|
930
|
+
defaultValue: slideshowCssCustomPropertiesDefaults["navigation-buttons-row-gap"]
|
|
931
|
+
},
|
|
932
|
+
"navigation-buttons-column-gap": {
|
|
933
|
+
cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.columnGap,
|
|
934
|
+
displayName: DisplayNames.root.cssCustomProperties["navigation-buttons-column-gap"],
|
|
935
|
+
defaultValue: slideshowCssCustomPropertiesDefaults["navigation-buttons-column-gap"]
|
|
936
|
+
},
|
|
927
937
|
"slide-indicators-position-horizontal": {
|
|
928
938
|
cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.customEnum,
|
|
929
939
|
displayName: DisplayNames.root.cssCustomProperties["slide-indicators-position"],
|
|
@@ -38,6 +38,8 @@ const DisplayNames = {
|
|
|
38
38
|
"navigation-buttons-position": "Navigation button position",
|
|
39
39
|
"navigation-buttons-arrangement": "Navigation button arrangement",
|
|
40
40
|
"navigation-buttons-alignment": "Navigation button alignment",
|
|
41
|
+
"navigation-buttons-row-gap": "Space between buttons",
|
|
42
|
+
"navigation-buttons-column-gap": "Space between buttons",
|
|
41
43
|
"slide-indicators-position": "Slide indicator position",
|
|
42
44
|
"controls-padding": "Padding",
|
|
43
45
|
"pause-button-position": "Pause & play button position"
|
|
@@ -154,6 +156,8 @@ const slideshowCssCustomPropertiesDefaults = {
|
|
|
154
156
|
"icon-placement-vertical": "vertically-stacked",
|
|
155
157
|
"navigation-buttons-arrangement": "separated",
|
|
156
158
|
"navigation-buttons-alignment": "center",
|
|
159
|
+
"navigation-buttons-row-gap": "20px",
|
|
160
|
+
"navigation-buttons-column-gap": "20px",
|
|
157
161
|
"controls-padding": "0px",
|
|
158
162
|
"pause-button-position": "bottom-end"
|
|
159
163
|
};
|
|
@@ -5,6 +5,7 @@ const TestIds = {
|
|
|
5
5
|
};
|
|
6
6
|
const TRANSITION_DURATION = 400;
|
|
7
7
|
const DEFAULT_ICON_POSITION = "row-reverse";
|
|
8
|
+
const HIDDEN_DATA_ITEMS = ["iconCollapsed"];
|
|
8
9
|
const SEMANTIC_CLASS_NAMES = {
|
|
9
10
|
root: "button",
|
|
10
11
|
buttonLabel: "button__label"
|
|
@@ -55,6 +56,7 @@ const DisplayNames = {
|
|
|
55
56
|
export {
|
|
56
57
|
COMPONENT_TYPE as C,
|
|
57
58
|
DesignStates as D,
|
|
59
|
+
HIDDEN_DATA_ITEMS as H,
|
|
58
60
|
SEMANTIC_CLASS_NAMES as S,
|
|
59
61
|
TRANSITION_DURATION as T,
|
|
60
62
|
TestIds as a,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/editor-react-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2709.0",
|
|
4
4
|
"description": "React components for the Wix Editor",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -200,5 +200,5 @@
|
|
|
200
200
|
"registry": "https://registry.npmjs.org/",
|
|
201
201
|
"access": "public"
|
|
202
202
|
},
|
|
203
|
-
"falconPackageHash": "
|
|
203
|
+
"falconPackageHash": "5a6676b4804c7cec0e22df302e289bfebd060e62366f1fd804614fda"
|
|
204
204
|
}
|