@wix/editor-react-components 1.2836.0 → 1.2838.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/manifest.js +1 -1
- package/dist/site/components/AudioPlayer/manifest.js +1 -1
- package/dist/site/components/Breadcrumbs/manifest.js +1 -1
- package/dist/site/components/Button/manifest.js +1 -1
- package/dist/site/components/Checkbox/Checkbox.types.d.ts +11 -11
- package/dist/site/components/Checkbox/component.js +67 -119
- package/dist/site/components/Checkbox/constants.d.ts +21 -24
- package/dist/site/components/Checkbox/css.css +48 -164
- package/dist/site/components/Checkbox/manifest.js +178 -89
- package/dist/site/components/CheckboxGroup/manifest.js +1 -1
- package/dist/site/components/CollapsibleText/manifest.js +1 -1
- package/dist/site/components/GoogleMap/manifest.js +1 -1
- package/dist/site/components/HTMLComponent/manifest.js +1 -1
- package/dist/site/components/LinkBar/manifest.js +1 -1
- package/dist/site/components/Lottie/manifest.js +1 -1
- package/dist/site/components/Menu/manifest.js +1 -1
- package/dist/site/components/MultiStateBox/manifest.js +1 -1
- package/dist/site/components/RadioButtons/manifest.js +1 -1
- package/dist/site/components/ShareButtons/manifest.js +1 -1
- package/dist/site/components/Slideshow/manifest.js +1 -1
- package/dist/site/components/Tabs/manifest.js +1 -1
- package/dist/site/components/TestComp/manifest.js +1 -1
- package/dist/site/components/TextBox/manifest.js +1 -1
- package/dist/site/components/TextInput/manifest.js +2 -16
- package/dist/site/components/VideoScrub/constants.d.ts +9 -4
- package/dist/site/components/VideoScrub/css.css +1 -0
- package/dist/site/components/VideoScrub/manifest.js +17 -14
- package/dist/site/components/VideoScrub/panels/videoScaling/extension.d.ts +4 -0
- package/dist/site/components/VideoScrub/panels/videoScaling/panel.d.ts +3 -0
- package/dist/site/components/VideoScrub/panels/videoScaling/translations/consts.d.ts +7 -0
- package/dist/site/components/chunks/constants40.js +29 -31
- package/dist/site/components/chunks/manifestSdkMixins.js +25 -7
- package/dist/site/components/chunks/types.js +3 -6
- package/dist/site/components/extensions.js +14 -0
- package/package.json +2 -2
- package/dist/site/components/Checkbox/component.preview.d.ts +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { E as ELEMENTS, N as NativeStateType, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, D as DATA, a as ACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
2
|
import { D as DisplayNames, c as DesignStates, d as defaultValues, s as selectors } from "../chunks/constants24.js";
|
|
3
3
|
import { g as getSelector } from "../chunks/manifest.js";
|
|
4
|
-
import {
|
|
4
|
+
import { b as manifestFocusable, c as manifestChangeable } from "../chunks/manifestSdkMixins.js";
|
|
5
5
|
import { m as manifestValidation } from "../chunks/manifest2.js";
|
|
6
6
|
const manifest = {
|
|
7
7
|
id: "01a3965d-95d7-49e2-903a-3a496de97054",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as CSS_PROPERTIES, N as NativeStateType, E as ELEMENTS, a as ACTIONS, D as DATA, I as INTERACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
2
|
import { g as getTranslationResources } from "../chunks/translationResources.js";
|
|
3
3
|
import { h as elementKeys, i as DesignStates, j as DisplayNames, k as DisplayConfig, d as DefaultValues, I as IconPositionOptions, S as StaticDisplayFilters, l as PageToShareOptions, m as DefaultButtons, B as ButtonWidthOptions, b as COMPONENT_TYPE } from "../chunks/constants22.js";
|
|
4
|
-
import {
|
|
4
|
+
import { d as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
|
|
5
5
|
const presets = {
|
|
6
6
|
horizontal: "horizontal",
|
|
7
7
|
vertical: "vertical"
|
|
@@ -2,7 +2,7 @@ import { E as ELEMENTS, C as CSS_PROPERTIES, D as DATA, a as ACTIONS, I as INTER
|
|
|
2
2
|
import { g as getTranslationResources } from "../chunks/translationResources.js";
|
|
3
3
|
import { g as getSelector } from "../chunks/manifest.js";
|
|
4
4
|
import { c as DisplayNames, a as semanticClassNames, d as slideshowCssCustomPropertiesDefaults, e as slideshowCssPropertiesDefaults, s as slideshowDataDefaults, C as COMPONENT_TYPE } from "../chunks/Slideshow.semanticClassNames.js";
|
|
5
|
-
import {
|
|
5
|
+
import { d as manifestMouseHover, e as manifestClickable, f as manifestPlayable, c as manifestChangeable } from "../chunks/manifestSdkMixins.js";
|
|
6
6
|
const navigationButtons = {
|
|
7
7
|
elementType: ELEMENTS.ELEMENT_TYPE.refElement,
|
|
8
8
|
refElement: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as ELEMENTS, N as NativeStateType, C as CSS_PROPERTIES, a as ACTIONS, I as INTERACTIONS, b as DISPLAY_GROUPS, D as DATA, L as LAYOUT, c as ContainerType, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
2
|
import { D as DesignStates, c as classes, R as ROOT_MENU_ITEM_CSS_PROPERTIES, a as ROOT_MENU_ITEM_CUSTOM_PROPERTIES } from "../chunks/constants20.js";
|
|
3
|
-
import {
|
|
3
|
+
import { b as manifestFocusable, d as manifestMouseHover, e as manifestClickable, c as manifestChangeable } from "../chunks/manifestSdkMixins.js";
|
|
4
4
|
const menuItemConfig = {
|
|
5
5
|
elementType: ELEMENTS.ELEMENT_TYPE.inlineElement,
|
|
6
6
|
[ELEMENTS.ELEMENT_TYPE.inlineElement]: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { L as LAYOUT, N as NativeStateType, E as ELEMENTS, D as DATA, b as DISPLAY_GROUPS, C as CSS_PROPERTIES, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
|
-
import {
|
|
2
|
+
import { b as manifestFocusable, d as manifestMouseHover, e as manifestClickable } from "../chunks/manifestSdkMixins.js";
|
|
3
3
|
const DesignStates = {
|
|
4
4
|
testCompCard: {
|
|
5
5
|
hover: { displayName: "Hover", className: "test-comp-card--hover" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { E as ELEMENTS, N as NativeStateType, b as DISPLAY_GROUPS, C as CSS_PROPERTIES, D as DATA, L as LAYOUT, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
2
|
import { D as DisplayNames, b as DesignStates, d as defaultValues, s as selectors } from "../chunks/constants18.js";
|
|
3
3
|
import { g as getSelector } from "../chunks/manifest.js";
|
|
4
|
-
import {
|
|
4
|
+
import { b as manifestFocusable, c as manifestChangeable } from "../chunks/manifestSdkMixins.js";
|
|
5
5
|
import { m as manifestValidation } from "../chunks/manifest2.js";
|
|
6
6
|
const manifest = {
|
|
7
7
|
id: "002d94d7-bec7-4082-8d00-fe4ede12024d",
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { I as INTERACTIONS, D as DATA, b as DISPLAY_GROUPS, E as ELEMENTS, C as CSS_PROPERTIES, N as NativeStateType, L as LAYOUT, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
|
-
import { D as DomEventType } from "../chunks/types.impl.js";
|
|
3
2
|
import { D as DesignStates, a as DisplayNames, F as FunctionalStateKeys, c as componentClassNames } from "../chunks/constants3.js";
|
|
4
|
-
import { m as
|
|
3
|
+
import { m as manifestKeyboard, a as manifestInputable, b as manifestFocusable } from "../chunks/manifestSdkMixins.js";
|
|
5
4
|
const designState = (s, pseudoClass) => ({
|
|
6
5
|
displayName: s.displayName,
|
|
7
6
|
className: s.className,
|
|
@@ -350,26 +349,13 @@ const manifest = {
|
|
|
350
349
|
},
|
|
351
350
|
...manifestFocusable(),
|
|
352
351
|
...manifestInputable(),
|
|
353
|
-
|
|
354
|
-
displayName: "On Key Up",
|
|
355
|
-
dataType: DATA.DATA_TYPE.function,
|
|
356
|
-
[DATA.DATA_TYPE.function]: {
|
|
357
|
-
parameters: [{ domEvent: DomEventType.KEYBOARD }]
|
|
358
|
-
}
|
|
359
|
-
},
|
|
352
|
+
...manifestKeyboard(),
|
|
360
353
|
onValueChange: {
|
|
361
354
|
displayName: "On Value Change",
|
|
362
355
|
dataType: DATA.DATA_TYPE.function,
|
|
363
356
|
[DATA.DATA_TYPE.function]: {
|
|
364
357
|
parameters: [{ dataType: DATA.DATA_TYPE.text }]
|
|
365
358
|
}
|
|
366
|
-
},
|
|
367
|
-
onKeyDown: {
|
|
368
|
-
displayName: "On Key Down",
|
|
369
|
-
dataType: DATA.DATA_TYPE.function,
|
|
370
|
-
[DATA.DATA_TYPE.function]: {
|
|
371
|
-
parameters: [{ domEvent: DomEventType.KEYBOARD }]
|
|
372
|
-
}
|
|
373
359
|
}
|
|
374
360
|
},
|
|
375
361
|
interactions: {
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
import { ScrollSpeed, ScrubStart } from './VideoScrub.types';
|
|
2
|
-
export declare const COMPONENT_TYPE = "wixEditorElements.
|
|
2
|
+
export declare const COMPONENT_TYPE = "wixEditorElements.VideoScrub__DEV__v17";
|
|
3
3
|
export declare const ROOT_CLASS = "video-scrub";
|
|
4
4
|
export declare const presets: {
|
|
5
5
|
readonly resizable: "resizable";
|
|
6
6
|
readonly stretched: "stretched";
|
|
7
7
|
};
|
|
8
|
-
export declare const
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
export declare const VIDEO_SCALING_PANEL_ID = "7b0ee0d4-5bc5-429e-a1cf-8b1e35837fb8";
|
|
9
|
+
export declare const VIDEO_SCALING_PANEL_BI_PARAMS: {
|
|
10
|
+
component_type: string;
|
|
11
|
+
builder_type: string;
|
|
12
|
+
panel_name: string;
|
|
13
|
+
control_type: string;
|
|
14
|
+
control_id: string;
|
|
15
|
+
panel_builder: string;
|
|
11
16
|
};
|
|
12
17
|
export declare const StickyMode: {
|
|
13
18
|
readonly on: "on";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { L as LAYOUT, b as DISPLAY_GROUPS, C as CSS_PROPERTIES, M as MEDIA, D as DATA, c as ContainerType, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
1
|
+
import { L as LAYOUT, b as DISPLAY_GROUPS, C as CSS_PROPERTIES, M as MEDIA, a as ACTIONS, D as DATA, c as ContainerType, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
2
|
import { g as getTranslationResources } from "../chunks/translationResources.js";
|
|
3
3
|
import { V as VideoCategoryTypes } from "../chunks/types.impl.js";
|
|
4
|
-
import { p as presets, k as TIMEFRAMES_GROUP_KEY, a as ScrollSpeed, j as ScrubStart,
|
|
4
|
+
import { p as presets, k as TIMEFRAMES_GROUP_KEY, a as ScrollSpeed, j as ScrubStart, l as StickyMode, V as VIDEO_SCALING_PANEL_ID, T as TIMEFRAME_CONTENT_CLASS, m as MAX_COUNT, R as ROOT_CLASS, C as COMPONENT_TYPE } from "../chunks/types.js";
|
|
5
5
|
const manifest = {
|
|
6
|
-
id: "
|
|
6
|
+
id: "1a46792f-9775-4e08-a78a-11daf6e4d08b",
|
|
7
7
|
type: COMPONENT_TYPE,
|
|
8
8
|
description: "A video that plays by page scroll: while the visitor scrolls past it, the video stays on screen and its time follows the scroll. Timeframes show elements over the video during parts of it.",
|
|
9
9
|
installation: {
|
|
@@ -128,6 +128,20 @@ const manifest = {
|
|
|
128
128
|
// stage, so it is hidden (GoogleMap pattern).
|
|
129
129
|
actions: { hide: ["manageItems"] }
|
|
130
130
|
},
|
|
131
|
+
// Picks the preset: Fit to screen (Stretched) or Custom size (Resizable). No presets display
|
|
132
|
+
// group, so Studio shows no native presets panel (Menu pattern).
|
|
133
|
+
customActions: {
|
|
134
|
+
videoScaling: {
|
|
135
|
+
displayName: "Video scaling",
|
|
136
|
+
execution: {
|
|
137
|
+
actionType: ACTIONS.ACTION_TYPE.panel,
|
|
138
|
+
panel: {
|
|
139
|
+
panelType: ACTIONS.PANEL_TYPE.panelId,
|
|
140
|
+
panelId: VIDEO_SCALING_PANEL_ID
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
},
|
|
131
145
|
// Custom properties, not cssProperties: Studio puts cssProperties on the root, and the root is
|
|
132
146
|
// the tall scroll track. The sticky stage reads these (VideoScrub.module.scss). Same set as
|
|
133
147
|
// VideoUpload, but the borders are per side (Tabs pattern).
|
|
@@ -326,15 +340,6 @@ const manifest = {
|
|
|
326
340
|
bottomRight: "borderEndEndRadius"
|
|
327
341
|
}
|
|
328
342
|
},
|
|
329
|
-
// The native presets panel (Explore Designs). One group, so the panel shows no tabs. The
|
|
330
|
-
// panel lists Resizable first whatever this order is.
|
|
331
|
-
layouts: {
|
|
332
|
-
groupType: DISPLAY_GROUPS.GROUP_TYPE.presets,
|
|
333
|
-
displayName: "Layouts",
|
|
334
|
-
presets: {
|
|
335
|
-
items: [presets.stretched, presets.resizable]
|
|
336
|
-
}
|
|
337
|
-
},
|
|
338
343
|
// The Settings panel does not follow the `data` key order.
|
|
339
344
|
orderedDataGroup: {
|
|
340
345
|
groupType: DISPLAY_GROUPS.GROUP_TYPE.data,
|
|
@@ -347,7 +352,6 @@ const manifest = {
|
|
|
347
352
|
[presets.stretched]: {
|
|
348
353
|
presetCssUrl: `./site/components/VideoScrub/presets/${presets.stretched}.css`,
|
|
349
354
|
displayName: "Stretched",
|
|
350
|
-
thumbnailUrl: PRESET_THUMBNAILS.stretched,
|
|
351
355
|
initialSize: {
|
|
352
356
|
width: { sizingType: LAYOUT.SIZING_TYPE.stretched },
|
|
353
357
|
height: { sizingType: LAYOUT.SIZING_TYPE.content }
|
|
@@ -361,7 +365,6 @@ const manifest = {
|
|
|
361
365
|
},
|
|
362
366
|
[presets.resizable]: {
|
|
363
367
|
displayName: "Resizable",
|
|
364
|
-
thumbnailUrl: PRESET_THUMBNAILS.resizable,
|
|
365
368
|
initialSize: {
|
|
366
369
|
width: { sizingType: LAYOUT.SIZING_TYPE.pixels, pixels: 640 },
|
|
367
370
|
height: { sizingType: LAYOUT.SIZING_TYPE.pixels, pixels: 360 }
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const TranslationKeys: {
|
|
2
|
+
readonly videoScalingLabel: "custompanel_video_scrub_video_scaling_label";
|
|
3
|
+
readonly fitToScreenOption: "custompanel_video_scrub_video_scaling_fit_to_screen";
|
|
4
|
+
readonly customSizeOption: "custompanel_video_scrub_video_scaling_custom_size";
|
|
5
|
+
};
|
|
6
|
+
export type Translations = Record<keyof typeof TranslationKeys, string>;
|
|
7
|
+
export declare const DefaultTranslations: Translations;
|
|
@@ -1,19 +1,23 @@
|
|
|
1
|
+
const TEXT_PROP_STATIC_VALUE_MAX_LENGTH = 400;
|
|
1
2
|
const DisplayNames = {
|
|
2
3
|
root: {
|
|
3
4
|
elementDisplayName: "Checkbox",
|
|
4
5
|
data: {
|
|
5
6
|
checked: "Checked",
|
|
6
|
-
defaultChecked: "Checked by default",
|
|
7
|
-
required: "Required",
|
|
8
7
|
readOnly: "Read only",
|
|
9
8
|
disabled: "Disabled",
|
|
10
|
-
indeterminate: "Indeterminate",
|
|
11
9
|
label: "Label",
|
|
12
|
-
|
|
10
|
+
errorMessage: "Error message"
|
|
11
|
+
},
|
|
12
|
+
descriptions: {
|
|
13
|
+
checked: "This field's current value. Connect it to your context to save the data your visitors provide. A value typed in this panel stays fixed.",
|
|
14
|
+
errorMessage: "The message shown when this field is invalid. Connect it to your context so it appears only when something's wrong. A message typed in this panel always shows."
|
|
13
15
|
},
|
|
14
16
|
cssCustomProperties: {
|
|
15
|
-
gap: "Spacing"
|
|
16
|
-
|
|
17
|
+
gap: "Spacing"
|
|
18
|
+
},
|
|
19
|
+
presets: {
|
|
20
|
+
baseCheckbox: "Base Checkbox"
|
|
17
21
|
}
|
|
18
22
|
},
|
|
19
23
|
indicator: {
|
|
@@ -23,13 +27,15 @@ const DisplayNames = {
|
|
|
23
27
|
uncheckedBorderColor: "Unchecked border color",
|
|
24
28
|
checkedBackgroundColor: "Checked background color",
|
|
25
29
|
checkedBorderColor: "Checked border color",
|
|
26
|
-
borderWidth: "Border width",
|
|
27
30
|
checkmarkColor: "Checkmark color",
|
|
28
|
-
|
|
31
|
+
checkboxSize: "Checkbox size"
|
|
29
32
|
}
|
|
30
33
|
},
|
|
31
34
|
label: {
|
|
32
35
|
elementDisplayName: "Label"
|
|
36
|
+
},
|
|
37
|
+
errorMessage: {
|
|
38
|
+
elementDisplayName: "Error message"
|
|
33
39
|
}
|
|
34
40
|
};
|
|
35
41
|
const DesignStates = {
|
|
@@ -40,51 +46,43 @@ const DesignStates = {
|
|
|
40
46
|
displayName: "Disabled",
|
|
41
47
|
className: "checkbox__indicator--disabled"
|
|
42
48
|
},
|
|
43
|
-
|
|
44
|
-
displayName: "
|
|
45
|
-
className: "checkbox__indicator--
|
|
49
|
+
error: {
|
|
50
|
+
displayName: "Error",
|
|
51
|
+
className: "checkbox__indicator--error"
|
|
46
52
|
}
|
|
47
53
|
}
|
|
48
54
|
};
|
|
55
|
+
const FunctionalStateKeys = {
|
|
56
|
+
previewError: "previewError"
|
|
57
|
+
};
|
|
58
|
+
const ERROR_MESSAGE_PREVIEW_TEXT = "Error message";
|
|
49
59
|
const defaultValues = {
|
|
50
60
|
label: "Label",
|
|
51
61
|
checked: false,
|
|
52
|
-
defaultChecked: false,
|
|
53
|
-
required: false,
|
|
54
62
|
readOnly: false,
|
|
55
|
-
disabled: false
|
|
56
|
-
indeterminate: false,
|
|
57
|
-
tooltip: ""
|
|
63
|
+
disabled: false
|
|
58
64
|
};
|
|
59
|
-
const VALUE_MISSING_MESSAGE = "This field is required";
|
|
60
65
|
const TestIds = {
|
|
61
66
|
root: "checkbox-root",
|
|
62
67
|
control: "checkbox-control",
|
|
63
68
|
indicator: "checkbox-indicator",
|
|
64
69
|
label: "checkbox-label",
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
errorMessage: "checkbox-error-message"
|
|
70
|
+
errorMessage: "checkbox-error-message",
|
|
71
|
+
accessibleName: "checkbox-accessible-name"
|
|
68
72
|
};
|
|
69
73
|
const selectors = {
|
|
70
74
|
root: "checkbox",
|
|
71
75
|
indicator: "checkbox__indicator",
|
|
72
|
-
label: "checkbox__label"
|
|
73
|
-
};
|
|
74
|
-
const semanticClassNames = {
|
|
75
|
-
root: "checkbox",
|
|
76
|
-
control: "checkbox__control",
|
|
77
|
-
indicator: "checkbox__indicator",
|
|
78
76
|
label: "checkbox__label",
|
|
79
|
-
requiredIndicator: "checkbox__required-indicator",
|
|
80
77
|
errorMessage: "checkbox__error-message"
|
|
81
78
|
};
|
|
82
79
|
export {
|
|
83
|
-
|
|
80
|
+
DesignStates as D,
|
|
81
|
+
ERROR_MESSAGE_PREVIEW_TEXT as E,
|
|
82
|
+
FunctionalStateKeys as F,
|
|
84
83
|
TestIds as T,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
DesignStates as b,
|
|
84
|
+
DisplayNames as a,
|
|
85
|
+
TEXT_PROP_STATIC_VALUE_MAX_LENGTH as b,
|
|
88
86
|
defaultValues as d,
|
|
89
87
|
selectors as s
|
|
90
88
|
};
|
|
@@ -7,6 +7,8 @@ const MANIFEST_DEFAULT_FUNCTION_DISPLAY_NAMES = {
|
|
|
7
7
|
onDblClick: "On Double Click",
|
|
8
8
|
onFocus: "On Focus",
|
|
9
9
|
onBlur: "On Blur",
|
|
10
|
+
onKeyDown: "On Key Down",
|
|
11
|
+
onKeyUp: "On Key Up",
|
|
10
12
|
onMouseIn: "On Mouse In",
|
|
11
13
|
onMouseOut: "On Mouse Out",
|
|
12
14
|
onPlay: "On Play",
|
|
@@ -73,6 +75,21 @@ function manifestFocusable(names = {}) {
|
|
|
73
75
|
)
|
|
74
76
|
};
|
|
75
77
|
}
|
|
78
|
+
function manifestKeyboard(names = {}) {
|
|
79
|
+
const payload = {
|
|
80
|
+
parameters: [{ domEvent: DomEventType.KEYBOARD }]
|
|
81
|
+
};
|
|
82
|
+
return {
|
|
83
|
+
onKeyDown: manifestFunction(
|
|
84
|
+
names.onKeyDown ?? MANIFEST_DEFAULT_FUNCTION_DISPLAY_NAMES.onKeyDown,
|
|
85
|
+
payload
|
|
86
|
+
),
|
|
87
|
+
onKeyUp: manifestFunction(
|
|
88
|
+
names.onKeyUp ?? MANIFEST_DEFAULT_FUNCTION_DISPLAY_NAMES.onKeyUp,
|
|
89
|
+
payload
|
|
90
|
+
)
|
|
91
|
+
};
|
|
92
|
+
}
|
|
76
93
|
function manifestMouseHover(names = {}) {
|
|
77
94
|
const payload = {
|
|
78
95
|
parameters: [{ domEvent: DomEventType.POINTER }]
|
|
@@ -115,11 +132,12 @@ function manifestMediaProgress(names = {}) {
|
|
|
115
132
|
};
|
|
116
133
|
}
|
|
117
134
|
export {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
135
|
+
manifestInputable as a,
|
|
136
|
+
manifestFocusable as b,
|
|
137
|
+
manifestChangeable as c,
|
|
138
|
+
manifestMouseHover as d,
|
|
139
|
+
manifestClickable as e,
|
|
140
|
+
manifestPlayable as f,
|
|
141
|
+
manifestMediaProgress as g,
|
|
142
|
+
manifestKeyboard as m
|
|
125
143
|
};
|
|
@@ -10,16 +10,13 @@ var ScrubStart = /* @__PURE__ */ ((ScrubStart2) => {
|
|
|
10
10
|
ScrubStart2["top"] = "top";
|
|
11
11
|
return ScrubStart2;
|
|
12
12
|
})(ScrubStart || {});
|
|
13
|
-
const COMPONENT_TYPE = "wixEditorElements.
|
|
13
|
+
const COMPONENT_TYPE = "wixEditorElements.VideoScrub__DEV__v17";
|
|
14
14
|
const ROOT_CLASS = "video-scrub";
|
|
15
15
|
const presets = {
|
|
16
16
|
resizable: "resizable",
|
|
17
17
|
stretched: "stretched"
|
|
18
18
|
};
|
|
19
|
-
const
|
|
20
|
-
stretched: "https://static.wixstatic.com/media/18873e_d780aeec5db34595bafd5f0d806b834b~mv2.png",
|
|
21
|
-
resizable: "https://static.wixstatic.com/media/18873e_7db03132e6d8443da903c91f02616b90~mv2.png"
|
|
22
|
-
};
|
|
19
|
+
const VIDEO_SCALING_PANEL_ID = "7b0ee0d4-5bc5-429e-a1cf-8b1e35837fb8";
|
|
23
20
|
const StickyMode = {
|
|
24
21
|
on: "on",
|
|
25
22
|
off: "off"
|
|
@@ -59,10 +56,10 @@ export {
|
|
|
59
56
|
DEFAULT_VIDEO_RATIO as D,
|
|
60
57
|
LEGACY_TIMEFRAMES_ARIA_LABEL_KEY as L,
|
|
61
58
|
MAX_SCROLL_VH as M,
|
|
62
|
-
PRESET_THUMBNAILS as P,
|
|
63
59
|
ROOT_CLASS as R,
|
|
64
60
|
STICKY_TOP as S,
|
|
65
61
|
TIMEFRAME_CONTENT_CLASS as T,
|
|
62
|
+
VIDEO_SCALING_PANEL_ID as V,
|
|
66
63
|
ScrollSpeed as a,
|
|
67
64
|
SCROLL_VH_PER_SECOND as b,
|
|
68
65
|
START_LINE as c,
|
|
@@ -65,6 +65,7 @@ import manifest$4 from "./TimePicker/manifest.js";
|
|
|
65
65
|
import manifest$3 from "./TransparentVideo/manifest.js";
|
|
66
66
|
import manifest$2 from "./VideoScrub/manifest.js";
|
|
67
67
|
import manifest$1 from "./VideoUpload/manifest.js";
|
|
68
|
+
import { V as VIDEO_SCALING_PANEL_ID } from "./chunks/types.js";
|
|
68
69
|
import manifest from "./WRichText/manifest.js";
|
|
69
70
|
const animatedIconPanelExtension = extensions.editorReactComponentPanel({
|
|
70
71
|
id: "d8d9ddca-d5e4-453a-bd36-7deb8b302d26",
|
|
@@ -414,6 +415,18 @@ const transparentVideoPanelExtension = extensions.editorReactComponentPanel({
|
|
|
414
415
|
width: "UNKNOWN_WIDTH"
|
|
415
416
|
}
|
|
416
417
|
});
|
|
418
|
+
const videoScrubVideoScalingPanelExtension = extensions.editorReactComponentPanel({
|
|
419
|
+
id: VIDEO_SCALING_PANEL_ID,
|
|
420
|
+
displayName: "Video scaling",
|
|
421
|
+
code: {
|
|
422
|
+
bundleUrl: "./site/components/VideoScrub/panels/videoScaling/panel.tsx"
|
|
423
|
+
},
|
|
424
|
+
contentType: "code",
|
|
425
|
+
size: {
|
|
426
|
+
height: 150,
|
|
427
|
+
width: "UNKNOWN_WIDTH"
|
|
428
|
+
}
|
|
429
|
+
});
|
|
417
430
|
const videoUploadPanelExtension = extensions.editorReactComponentPanel({
|
|
418
431
|
id: "a7f3b8c2-4e5d-4f8a-8b1c-2d3e4f5a6b7c",
|
|
419
432
|
displayName: "Cover Image",
|
|
@@ -523,6 +536,7 @@ const panelExtensions = {
|
|
|
523
536
|
textEffectsStickerPatternsPanelExtension,
|
|
524
537
|
textMarqueePanelExtension,
|
|
525
538
|
transparentVideoPanelExtension,
|
|
539
|
+
videoScrubVideoScalingPanelExtension,
|
|
526
540
|
videoUploadPanelExtension
|
|
527
541
|
};
|
|
528
542
|
const environment = typeof process === "undefined" ? {} : process.env;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/editor-react-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2838.0",
|
|
4
4
|
"description": "React components for the Wix Editor",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -228,5 +228,5 @@
|
|
|
228
228
|
"registry": "https://registry.npmjs.org/",
|
|
229
229
|
"access": "public"
|
|
230
230
|
},
|
|
231
|
-
"falconPackageHash": "
|
|
231
|
+
"falconPackageHash": "098d5314e74b592357b869dd0cebeeb40b0e16597928c11f76a69d2e"
|
|
232
232
|
}
|