@wix/editor-react-components 1.2816.0 → 1.2818.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/manifest.js +1 -1
- 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/TextInput.types.d.ts +2 -2
- package/dist/site/components/TextInput/component.js +10 -0
- package/dist/site/components/TextInput/manifest.js +31 -0
- package/dist/site/components/chunks/manifestSdkMixins.js +19 -6
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as CSS_PROPERTIES, b as DISPLAY_GROUPS, D as DATA, L as LAYOUT, c as ContainerType, a as ACTIONS, E as ELEMENTS, N as NativeStateType, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
2
|
import { D as DesignStates, b as DISPLAY_NAMES, c as accordionManifestDefaults, C as CONTAINER_INITIAL_HEIGHT } from "../chunks/constants44.js";
|
|
3
|
-
import {
|
|
3
|
+
import { a 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";
|
|
6
6
|
const options = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as DISPLAY_GROUPS, N as NativeStateType, C as CSS_PROPERTIES, E as ELEMENTS, D as DATA, I as INTERACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
|
-
import {
|
|
2
|
+
import { c as manifestMouseHover, f as manifestMediaProgress, e as manifestPlayable } from "../chunks/manifestSdkMixins.js";
|
|
3
3
|
import { D as DesignStates, a as DisplayNames, s as selectors, b as borderDefaultValue } from "../chunks/constants43.js";
|
|
4
4
|
import manifest$1 from "../Image3/manifest.js";
|
|
5
5
|
import { w as withSpec } from "../chunks/manifest.js";
|
|
@@ -3,7 +3,7 @@ import { g as getTranslationResources } from "../chunks/translationResources.js"
|
|
|
3
3
|
import { w as withSpec, g as getSelector } from "../chunks/manifest.js";
|
|
4
4
|
import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
|
|
5
5
|
import { D as DesignStates, a as DisplayNames, h as homepageModeValues, b as defaultStateValues, e as separatorValues, c as componentMetadata, s as semanticClassNames } from "../chunks/constants41.js";
|
|
6
|
-
import {
|
|
6
|
+
import { c as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
|
|
7
7
|
const manifest = {
|
|
8
8
|
id: componentMetadata.id,
|
|
9
9
|
type: componentMetadata.type,
|
|
@@ -1,6 +1,6 @@
|
|
|
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-LDITHLYN.js";
|
|
2
2
|
import { D as DesignStates, b as DisplayNames, c as DEFAULT_ICON_POSITION, C as COMPONENT_TYPE } from "../chunks/constants21.js";
|
|
3
|
-
import {
|
|
3
|
+
import { a 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";
|
|
6
6
|
const displayConfig = {
|
|
@@ -2,7 +2,7 @@ import { E as ELEMENTS, N as NativeStateType, C as CSS_PROPERTIES, D as DATA, L
|
|
|
2
2
|
import { D as DesignStates, b as DisplayNames, d as defaultValues, s as selectors } from "../chunks/constants40.js";
|
|
3
3
|
import { w as withSpec, g as getSelector } from "../chunks/manifest.js";
|
|
4
4
|
import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
|
|
5
|
-
import {
|
|
5
|
+
import { a as manifestFocusable, b as manifestChangeable } from "../chunks/manifestSdkMixins.js";
|
|
6
6
|
import { m as manifestValidation } from "../chunks/manifest2.js";
|
|
7
7
|
const manifest = {
|
|
8
8
|
id: "fcdba628-aba7-4d3d-9eac-deeef69fe3fe",
|
|
@@ -2,7 +2,7 @@ import { E as ELEMENTS, C as CSS_PROPERTIES, N as NativeStateType, b as DISPLAY_
|
|
|
2
2
|
import { D as DesignStates, c as DisplayNames, d as defaultValues, s as selectors } from "../chunks/constants39.js";
|
|
3
3
|
import { w as withSpec, g as getSelector } from "../chunks/manifest.js";
|
|
4
4
|
import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
|
|
5
|
-
import {
|
|
5
|
+
import { a as manifestFocusable, b as manifestChangeable } from "../chunks/manifestSdkMixins.js";
|
|
6
6
|
import { m as manifestValidation } from "../chunks/manifest2.js";
|
|
7
7
|
const manifest = {
|
|
8
8
|
id: "aa224b85-e2af-462b-9a15-5de3a753bea8",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as CSS_PROPERTIES, E as ELEMENTS, D as DATA, b as DISPLAY_GROUPS, L as LAYOUT, I as INTERACTIONS, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
2
|
import { D as DisplayNames, d as defaultValues, m as manifestClasses } from "../chunks/constants38.js";
|
|
3
3
|
import { g as getSelector } from "../chunks/manifest.js";
|
|
4
|
-
import {
|
|
4
|
+
import { c as manifestMouseHover, d as manifestClickable } from "../chunks/manifestSdkMixins.js";
|
|
5
5
|
const manifest = {
|
|
6
6
|
id: "1392cc2d-20e7-411a-8b60-6e0af55b8ece",
|
|
7
7
|
type: "wixEditorElements.CollapsibleText",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as DISPLAY_GROUPS, D as DATA, M as MEDIA, a as ACTIONS, I as INTERACTIONS, A as Archetype, L as LAYOUT } from "../chunks/chunk-LDITHLYN.js";
|
|
2
2
|
import { g as getTranslationResources } from "../chunks/translationResources.js";
|
|
3
3
|
import { n as DisplayNames, o as MAP_STYLE_KEYS, p as defaultValues, a as MAX_ZOOM, M as MIN_ZOOM, C as COMPONENT_TYPE } from "../chunks/consts2.js";
|
|
4
|
-
import {
|
|
4
|
+
import { c as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
|
|
5
5
|
const manifest = {
|
|
6
6
|
id: "bf8a38af-5784-47d5-92d3-3627a6a60bc6",
|
|
7
7
|
type: COMPONENT_TYPE,
|
|
@@ -2,7 +2,7 @@ var _a, _b;
|
|
|
2
2
|
import { D as DATA, a as ACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
3
3
|
import { g as getTranslationResources } from "../chunks/translationResources.js";
|
|
4
4
|
import { C as COMPONENT_TYPE } from "../chunks/constants35.js";
|
|
5
|
-
import {
|
|
5
|
+
import { c as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
|
|
6
6
|
const DisplayNames = {
|
|
7
7
|
root: {
|
|
8
8
|
elementDisplayName: "HTML Element",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as ACTIONS, D as DATA, M as MEDIA, N as NativeStateType, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, L as LAYOUT, I as INTERACTIONS, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
2
|
import { g as getTranslationResources } from "../chunks/translationResources.js";
|
|
3
3
|
import { a as DesignStates, p as presets, b as DisplayNames, C as COMPONENT_TYPE } from "../chunks/constants31.js";
|
|
4
|
-
import {
|
|
4
|
+
import { c as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
|
|
5
5
|
import { w as withSpec } from "../chunks/manifest.js";
|
|
6
6
|
import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
|
|
7
7
|
const manifest = {
|
|
@@ -2,7 +2,7 @@ import { b as DISPLAY_GROUPS, E as ELEMENTS, D as DATA, L as LAYOUT, A as Archet
|
|
|
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 speedConstraints, d as playButtonDefaults, e as DisplayNames, r as rootDataDefaults, b as showButtonOnHoverDefaults, f as borderDefaultValue, i as initialSize, C as COMPONENT_TYPE, s as semanticSelectors } from "../chunks/constants29.js";
|
|
5
|
-
import {
|
|
5
|
+
import { a as manifestFocusable, c as manifestMouseHover, d as manifestClickable } from "../chunks/manifestSdkMixins.js";
|
|
6
6
|
const manifest = {
|
|
7
7
|
id: "13165477-8205-4050-b078-424a1479159e",
|
|
8
8
|
type: COMPONENT_TYPE,
|
|
@@ -3,7 +3,7 @@ import { g as getTranslationResources } from "../chunks/translationResources.js"
|
|
|
3
3
|
import { c as DesignStates, f as DisplayNames, s as selectors, g as DropdownAnchorPositions, h as DropdownAppliedStyleProperties, i as elementKeys, j as customActionKeys, k as MENU_ANIMATED_ICON_SPEC, m as states, p as presets, n as menuBuiltInActions, C as COMPONENT_TYPE } from "../chunks/constants27.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";
|
|
6
|
-
import {
|
|
6
|
+
import { c as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
|
|
7
7
|
const dropdownItemConfig = {
|
|
8
8
|
elementType: ELEMENTS.ELEMENT_TYPE.inlineElement,
|
|
9
9
|
[ELEMENTS.ELEMENT_TYPE.inlineElement]: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b as DISPLAY_GROUPS, a as ACTIONS, D as DATA, L as LAYOUT, c as ContainerType, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
2
|
import { D as DESCRIPTIONS, a as DISPLAY_NAMES, s as selectors } from "../chunks/constants26.js";
|
|
3
|
-
import {
|
|
3
|
+
import { a as manifestFocusable, c as manifestMouseHover, d as manifestClickable, b as manifestChangeable } from "../chunks/manifestSdkMixins.js";
|
|
4
4
|
import { g as getSelector } from "../chunks/manifest.js";
|
|
5
5
|
const manifest = {
|
|
6
6
|
id: "32d6f6fe-72ef-4490-82aa-d3b13cce6ef1",
|
|
@@ -2,7 +2,7 @@ import { E as ELEMENTS, N as NativeStateType, C as CSS_PROPERTIES, b as DISPLAY_
|
|
|
2
2
|
import { D as DesignStates, c as DisplayNames, d as defaultValues, s as selectors } from "../chunks/constants24.js";
|
|
3
3
|
import { w as withSpec, g as getSelector } from "../chunks/manifest.js";
|
|
4
4
|
import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
|
|
5
|
-
import {
|
|
5
|
+
import { a as manifestFocusable, b as manifestChangeable } from "../chunks/manifestSdkMixins.js";
|
|
6
6
|
import { m as manifestValidation } from "../chunks/manifest2.js";
|
|
7
7
|
const manifest = {
|
|
8
8
|
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 { c as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
|
|
5
5
|
import { w as withSpec } from "../chunks/manifest.js";
|
|
6
6
|
import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
|
|
7
7
|
const presets = {
|
|
@@ -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 { c as manifestMouseHover, d as manifestClickable, e as manifestPlayable, b as manifestChangeable } from "../chunks/manifestSdkMixins.js";
|
|
6
6
|
const navigationButtons = {
|
|
7
7
|
elementType: ELEMENTS.ELEMENT_TYPE.refElement,
|
|
8
8
|
refElement: {
|
|
@@ -2,7 +2,7 @@ import { E as ELEMENTS, N as NativeStateType, C as CSS_PROPERTIES, a as ACTIONS,
|
|
|
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
3
|
import { w as withSpec } from "../chunks/manifest.js";
|
|
4
4
|
import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
|
|
5
|
-
import {
|
|
5
|
+
import { a as manifestFocusable, c as manifestMouseHover, d as manifestClickable, b as manifestChangeable } from "../chunks/manifestSdkMixins.js";
|
|
6
6
|
const menuItemConfig = {
|
|
7
7
|
elementType: ELEMENTS.ELEMENT_TYPE.inlineElement,
|
|
8
8
|
[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 { a as manifestFocusable, c as manifestMouseHover, d as manifestClickable } from "../chunks/manifestSdkMixins.js";
|
|
3
3
|
const DesignStates = {
|
|
4
4
|
testCompCard: {
|
|
5
5
|
hover: { displayName: "Hover", className: "test-comp-card--hover" },
|
|
@@ -2,7 +2,7 @@ import { E as ELEMENTS, N as NativeStateType, b as DISPLAY_GROUPS, C as CSS_PROP
|
|
|
2
2
|
import { D as DesignStates, b as DisplayNames, d as defaultValues, s as selectors } from "../chunks/constants18.js";
|
|
3
3
|
import { w as withSpec, g as getSelector } from "../chunks/manifest.js";
|
|
4
4
|
import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
|
|
5
|
-
import {
|
|
5
|
+
import { a as manifestFocusable, b as manifestChangeable } from "../chunks/manifestSdkMixins.js";
|
|
6
6
|
import { m as manifestValidation } from "../chunks/manifest2.js";
|
|
7
7
|
const manifest = {
|
|
8
8
|
id: "002d94d7-bec7-4082-8d00-fe4ede12024d",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { A11y, Direction } from '@wix/editor-react-types';
|
|
2
|
+
import { SdkFunctionFocusableProps, SdkFunctionInputableProps, SdkFunctionKeyboardProps } from '../../../utils/functions/sdkFunctionCallbackProps';
|
|
2
3
|
import type * as React from 'react';
|
|
3
4
|
/**
|
|
4
5
|
* Per-element className overrides. Keys match the manifest element keys — the
|
|
@@ -31,12 +32,11 @@ export type ITextInputProps = ITextInputMapperProps & {
|
|
|
31
32
|
presetsWrapperProps?: Record<string, unknown>;
|
|
32
33
|
};
|
|
33
34
|
};
|
|
34
|
-
export type ITextInputMapperProps = {
|
|
35
|
+
export type ITextInputMapperProps = SdkFunctionFocusableProps<HTMLInputElement> & SdkFunctionInputableProps<HTMLInputElement> & SdkFunctionKeyboardProps<HTMLInputElement> & {
|
|
35
36
|
a11y?: A11y;
|
|
36
37
|
/** Controlled value. Omission renders an empty input; edits require a parent update. */
|
|
37
38
|
value?: string;
|
|
38
39
|
onValueChange?: (value: string) => void;
|
|
39
|
-
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
40
40
|
label?: string;
|
|
41
41
|
placeholder?: string;
|
|
42
42
|
helperText?: string;
|
|
@@ -213,6 +213,11 @@ const TextInput = (props) => {
|
|
|
213
213
|
autoFocus,
|
|
214
214
|
onValueChange = noop,
|
|
215
215
|
onKeyDown,
|
|
216
|
+
onKeyUp,
|
|
217
|
+
onKeyPress,
|
|
218
|
+
onInput,
|
|
219
|
+
onFocus,
|
|
220
|
+
onBlur,
|
|
216
221
|
a11y,
|
|
217
222
|
contentRef,
|
|
218
223
|
elementProps,
|
|
@@ -276,6 +281,11 @@ const TextInput = (props) => {
|
|
|
276
281
|
className: inputClasses,
|
|
277
282
|
id: `input_${id}`,
|
|
278
283
|
onKeyDown,
|
|
284
|
+
onKeyUp,
|
|
285
|
+
onKeyPress,
|
|
286
|
+
onInput,
|
|
287
|
+
onFocus,
|
|
288
|
+
onBlur,
|
|
279
289
|
"aria-invalid": ariaInvalid,
|
|
280
290
|
...ariaLabel && { "aria-label": ariaLabel },
|
|
281
291
|
...customAccessibleNameId && {
|
|
@@ -1,6 +1,7 @@
|
|
|
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
2
|
import { D as DomEventType } from "../chunks/types.impl.js";
|
|
3
3
|
import { D as DesignStates, a as DisplayNames, F as FunctionalStateKeys, c as componentClassNames } from "../chunks/constants3.js";
|
|
4
|
+
import { m as manifestInputable, a as manifestFocusable } from "../chunks/manifestSdkMixins.js";
|
|
4
5
|
import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
|
|
5
6
|
const designState = (s, pseudoClass) => ({
|
|
6
7
|
spec: IS_SUPPORT_DESIGN_STATE_SPEC,
|
|
@@ -266,6 +267,20 @@ const manifest = {
|
|
|
266
267
|
"disabled"
|
|
267
268
|
]
|
|
268
269
|
}
|
|
270
|
+
},
|
|
271
|
+
orderedEventsGroup: {
|
|
272
|
+
groupType: DISPLAY_GROUPS.GROUP_TYPE.data,
|
|
273
|
+
data: {
|
|
274
|
+
items: [
|
|
275
|
+
"onValueChange",
|
|
276
|
+
"onInput",
|
|
277
|
+
"onKeyDown",
|
|
278
|
+
"onKeyPress",
|
|
279
|
+
"onKeyUp",
|
|
280
|
+
"onFocus",
|
|
281
|
+
"onBlur"
|
|
282
|
+
]
|
|
283
|
+
}
|
|
269
284
|
}
|
|
270
285
|
},
|
|
271
286
|
data: {
|
|
@@ -330,6 +345,22 @@ const manifest = {
|
|
|
330
345
|
displayName: DisplayNames.data.readOnly,
|
|
331
346
|
dataType: DATA.DATA_TYPE.booleanValue
|
|
332
347
|
},
|
|
348
|
+
...manifestFocusable(),
|
|
349
|
+
...manifestInputable(),
|
|
350
|
+
onKeyUp: {
|
|
351
|
+
displayName: "On Key Up",
|
|
352
|
+
dataType: DATA.DATA_TYPE.function,
|
|
353
|
+
[DATA.DATA_TYPE.function]: {
|
|
354
|
+
parameters: [{ domEvent: DomEventType.KEYBOARD }]
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
onKeyPress: {
|
|
358
|
+
displayName: "On Key Press",
|
|
359
|
+
dataType: DATA.DATA_TYPE.function,
|
|
360
|
+
[DATA.DATA_TYPE.function]: {
|
|
361
|
+
parameters: [{ domEvent: DomEventType.KEYBOARD }]
|
|
362
|
+
}
|
|
363
|
+
},
|
|
333
364
|
onValueChange: {
|
|
334
365
|
displayName: "On Value Change",
|
|
335
366
|
dataType: DATA.DATA_TYPE.function,
|
|
@@ -2,6 +2,7 @@ import { D as DATA } from "./chunk-LDITHLYN.js";
|
|
|
2
2
|
import { D as DomEventType } from "./types.impl.js";
|
|
3
3
|
const MANIFEST_DEFAULT_FUNCTION_DISPLAY_NAMES = {
|
|
4
4
|
onChange: "On Change",
|
|
5
|
+
onInput: "On Input",
|
|
5
6
|
onClick: "On Click",
|
|
6
7
|
onDblClick: "On Double Click",
|
|
7
8
|
onFocus: "On Focus",
|
|
@@ -31,6 +32,17 @@ function manifestChangeable(names = {}) {
|
|
|
31
32
|
)
|
|
32
33
|
};
|
|
33
34
|
}
|
|
35
|
+
function manifestInputable(names = {}) {
|
|
36
|
+
const payload = {
|
|
37
|
+
parameters: [{ domEvent: DomEventType.CHANGE }]
|
|
38
|
+
};
|
|
39
|
+
return {
|
|
40
|
+
onInput: manifestFunction(
|
|
41
|
+
names.onInput ?? MANIFEST_DEFAULT_FUNCTION_DISPLAY_NAMES.onInput,
|
|
42
|
+
payload
|
|
43
|
+
)
|
|
44
|
+
};
|
|
45
|
+
}
|
|
34
46
|
function manifestClickable(names = {}) {
|
|
35
47
|
const payload = {
|
|
36
48
|
parameters: [{ domEvent: DomEventType.POINTER }]
|
|
@@ -103,10 +115,11 @@ function manifestMediaProgress(names = {}) {
|
|
|
103
115
|
};
|
|
104
116
|
}
|
|
105
117
|
export {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
118
|
+
manifestFocusable as a,
|
|
119
|
+
manifestChangeable as b,
|
|
120
|
+
manifestMouseHover as c,
|
|
121
|
+
manifestClickable as d,
|
|
122
|
+
manifestPlayable as e,
|
|
123
|
+
manifestMediaProgress as f,
|
|
124
|
+
manifestInputable as m
|
|
112
125
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/editor-react-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2818.0",
|
|
4
4
|
"description": "React components for the Wix Editor",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -224,5 +224,5 @@
|
|
|
224
224
|
"registry": "https://registry.npmjs.org/",
|
|
225
225
|
"access": "public"
|
|
226
226
|
},
|
|
227
|
-
"falconPackageHash": "
|
|
227
|
+
"falconPackageHash": "66998737c16a2cfc0269efff91d7d7eab79c3acff7c4a8c28f499ac2"
|
|
228
228
|
}
|