@wix/editor-react-components 1.2852.0 → 1.2853.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/Checkbox/constants.d.ts +0 -1
- package/dist/site/components/Checkbox/manifest.js +2 -2
- package/dist/site/components/DatePicker/manifest.js +13 -4
- package/dist/site/components/Dropdown/constants.d.ts +0 -1
- package/dist/site/components/Dropdown/manifest.js +2 -1
- package/dist/site/components/TextInput/manifest.js +9 -5
- package/dist/site/components/TimePicker/constants.d.ts +0 -1
- package/dist/site/components/TimePicker/manifest.js +2 -2
- package/dist/site/components/chunks/constants2.js +0 -2
- package/dist/site/components/chunks/constants36.js +0 -2
- package/dist/site/components/chunks/constants40.js +0 -2
- package/dist/site/components/chunks/manifest.js +2 -0
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { D as DATA, b as DISPLAY_GROUPS, E as ELEMENTS, N as NativeStateType, C as CSS_PROPERTIES, L as LAYOUT, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
|
-
import { d as defaultValues, a as DisplayNames,
|
|
2
|
+
import { d as defaultValues, a as DisplayNames, F as FunctionalStateKeys, D as DesignStates, s as selectors } from "../chunks/constants40.js";
|
|
3
3
|
import { b as manifestFocusable, m as manifestKeyboard } from "../chunks/manifestSdkMixins.js";
|
|
4
|
-
import { g as getSelector } from "../chunks/manifest.js";
|
|
4
|
+
import { T as TEXT_PROP_STATIC_VALUE_MAX_LENGTH, g as getSelector } from "../chunks/manifest.js";
|
|
5
5
|
const basePresetName = "baseCheckbox";
|
|
6
6
|
const manifest = {
|
|
7
7
|
id: "f98a2212-26c9-4403-ba6b-47a73d504152",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as CSS_PROPERTIES, N as NativeStateType, b as DISPLAY_GROUPS, D as DATA, E as ELEMENTS, L as LAYOUT, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
2
|
import { P as PREVIEW_CALENDAR_OPEN, D as DesignStates, d as defaultValues, b as DisplayNames, c as Descriptions, e as PREVIEW_ERROR_MESSAGE, C as COMPONENT_TYPE, s as selectors } from "../chunks/constants37.js";
|
|
3
|
-
import { g as getSelector } from "../chunks/manifest.js";
|
|
3
|
+
import { T as TEXT_PROP_STATIC_VALUE_MAX_LENGTH, g as getSelector } from "../chunks/manifest.js";
|
|
4
4
|
const basePresetName = "baseDatePicker";
|
|
5
5
|
const presetFont = (size) => ({
|
|
6
6
|
defaultValue: `normal normal 400 ${size}/1.3em 'Wix Madefor Text', sans-serif`
|
|
@@ -322,18 +322,27 @@ const manifest = {
|
|
|
322
322
|
label: {
|
|
323
323
|
dataType: DATA.DATA_TYPE.text,
|
|
324
324
|
displayName: DisplayNames.root.data.label,
|
|
325
|
-
defaultValue: defaultValues.label
|
|
325
|
+
defaultValue: defaultValues.label,
|
|
326
|
+
[DATA.DATA_TYPE.text]: {
|
|
327
|
+
maxLength: TEXT_PROP_STATIC_VALUE_MAX_LENGTH
|
|
328
|
+
}
|
|
326
329
|
},
|
|
327
330
|
helperText: {
|
|
328
331
|
dataType: DATA.DATA_TYPE.text,
|
|
329
332
|
displayName: DisplayNames.root.data.helperText,
|
|
330
333
|
description: Descriptions.root.data.helperText,
|
|
331
|
-
defaultValue: defaultValues.helperText
|
|
334
|
+
defaultValue: defaultValues.helperText,
|
|
335
|
+
[DATA.DATA_TYPE.text]: {
|
|
336
|
+
maxLength: TEXT_PROP_STATIC_VALUE_MAX_LENGTH
|
|
337
|
+
}
|
|
332
338
|
},
|
|
333
339
|
errorMessage: {
|
|
334
340
|
dataType: DATA.DATA_TYPE.text,
|
|
335
341
|
displayName: DisplayNames.root.data.errorMessage,
|
|
336
|
-
description: Descriptions.root.data.errorMessage
|
|
342
|
+
description: Descriptions.root.data.errorMessage,
|
|
343
|
+
[DATA.DATA_TYPE.text]: {
|
|
344
|
+
maxLength: TEXT_PROP_STATIC_VALUE_MAX_LENGTH
|
|
345
|
+
}
|
|
337
346
|
},
|
|
338
347
|
readOnly: {
|
|
339
348
|
dataType: DATA.DATA_TYPE.booleanValue,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { b as DISPLAY_GROUPS, D as DATA, E as ELEMENTS, N as NativeStateType, C as CSS_PROPERTIES, a as ACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
|
-
import { a as DisplayNames,
|
|
2
|
+
import { a as DisplayNames, F as FunctionalStateKeys, e as editorElementClassNames, D as DesignStates, C as COMPONENT_TYPE } from "../chunks/constants36.js";
|
|
3
|
+
import { T as TEXT_PROP_STATIC_VALUE_MAX_LENGTH } from "../chunks/manifest.js";
|
|
3
4
|
const basePresetName = "baseDropdown";
|
|
4
5
|
const manifest = {
|
|
5
6
|
id: "d46302be-0629-45c8-bdf3-cdb14c6457c8",
|
|
@@ -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 DesignStates, a as DisplayNames, F as FunctionalStateKeys, c as componentClassNames } from "../chunks/constants3.js";
|
|
3
3
|
import { m as manifestKeyboard, a as manifestInputable, b as manifestFocusable } from "../chunks/manifestSdkMixins.js";
|
|
4
|
+
import { T as TEXT_PROP_STATIC_VALUE_MAX_LENGTH } from "../chunks/manifest.js";
|
|
4
5
|
const designState = (s, pseudoClass) => ({
|
|
5
6
|
displayName: s.displayName,
|
|
6
7
|
className: s.className,
|
|
@@ -289,7 +290,10 @@ const manifest = {
|
|
|
289
290
|
value: {
|
|
290
291
|
displayName: DisplayNames.data.value,
|
|
291
292
|
description: DisplayNames.descriptions.value,
|
|
292
|
-
dataType: DATA.DATA_TYPE.text
|
|
293
|
+
dataType: DATA.DATA_TYPE.text,
|
|
294
|
+
[DATA.DATA_TYPE.text]: {
|
|
295
|
+
maxLength: TEXT_PROP_STATIC_VALUE_MAX_LENGTH
|
|
296
|
+
}
|
|
293
297
|
},
|
|
294
298
|
disabled: {
|
|
295
299
|
displayName: DisplayNames.data.disabled,
|
|
@@ -305,14 +309,14 @@ const manifest = {
|
|
|
305
309
|
displayName: DisplayNames.data.label,
|
|
306
310
|
dataType: DATA.DATA_TYPE.text,
|
|
307
311
|
[DATA.DATA_TYPE.text]: {
|
|
308
|
-
maxLength:
|
|
312
|
+
maxLength: TEXT_PROP_STATIC_VALUE_MAX_LENGTH
|
|
309
313
|
}
|
|
310
314
|
},
|
|
311
315
|
placeholder: {
|
|
312
316
|
displayName: DisplayNames.data.placeholder,
|
|
313
317
|
dataType: DATA.DATA_TYPE.text,
|
|
314
318
|
[DATA.DATA_TYPE.text]: {
|
|
315
|
-
maxLength:
|
|
319
|
+
maxLength: TEXT_PROP_STATIC_VALUE_MAX_LENGTH
|
|
316
320
|
}
|
|
317
321
|
},
|
|
318
322
|
helperText: {
|
|
@@ -320,7 +324,7 @@ const manifest = {
|
|
|
320
324
|
description: DisplayNames.descriptions.helperText,
|
|
321
325
|
dataType: DATA.DATA_TYPE.text,
|
|
322
326
|
[DATA.DATA_TYPE.text]: {
|
|
323
|
-
maxLength:
|
|
327
|
+
maxLength: TEXT_PROP_STATIC_VALUE_MAX_LENGTH
|
|
324
328
|
}
|
|
325
329
|
},
|
|
326
330
|
errorMessage: {
|
|
@@ -328,7 +332,7 @@ const manifest = {
|
|
|
328
332
|
description: DisplayNames.descriptions.errorMessage,
|
|
329
333
|
dataType: DATA.DATA_TYPE.text,
|
|
330
334
|
[DATA.DATA_TYPE.text]: {
|
|
331
|
-
maxLength:
|
|
335
|
+
maxLength: TEXT_PROP_STATIC_VALUE_MAX_LENGTH
|
|
332
336
|
}
|
|
333
337
|
},
|
|
334
338
|
// Accessibility
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b as DISPLAY_GROUPS, D as DATA, E as ELEMENTS, L as LAYOUT, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
|
-
import { b as DisplayNames, c as Descriptions,
|
|
3
|
-
import { g as getSelector } from "../chunks/manifest.js";
|
|
2
|
+
import { b as DisplayNames, c as Descriptions, D as DesignStates, P as PREVIEW_ERROR_MESSAGE, C as COMPONENT_TYPE, s as selectors } from "../chunks/constants2.js";
|
|
3
|
+
import { T as TEXT_PROP_STATIC_VALUE_MAX_LENGTH, g as getSelector } from "../chunks/manifest.js";
|
|
4
4
|
const basePresetName = "baseTimePicker";
|
|
5
5
|
const manifest = {
|
|
6
6
|
id: "41156bbe-2741-4a01-a715-7eba6e294f0b",
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
const COMPONENT_TYPE = "wixEditorElements.TimePicker__DEV__v7";
|
|
2
|
-
const TEXT_PROP_STATIC_VALUE_MAX_LENGTH = 400;
|
|
3
2
|
const DisplayNames = {
|
|
4
3
|
root: {
|
|
5
4
|
elementDisplayName: "Time Picker",
|
|
@@ -101,6 +100,5 @@ export {
|
|
|
101
100
|
DEFAULT_LOCALE as a,
|
|
102
101
|
DisplayNames as b,
|
|
103
102
|
Descriptions as c,
|
|
104
|
-
TEXT_PROP_STATIC_VALUE_MAX_LENGTH as d,
|
|
105
103
|
selectors as s
|
|
106
104
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
const COMPONENT_TYPE = "wixEditorElements.Dropdown__DEV__v5";
|
|
2
|
-
const TEXT_PROP_STATIC_VALUE_MAX_LENGTH = 400;
|
|
3
2
|
const DesignStates = {
|
|
4
3
|
input: {
|
|
5
4
|
hover: { displayName: "Hover", className: "dropdown__input--hover" },
|
|
@@ -94,6 +93,5 @@ export {
|
|
|
94
93
|
FunctionalStateKeys as F,
|
|
95
94
|
TestIds as T,
|
|
96
95
|
DisplayNames as a,
|
|
97
|
-
TEXT_PROP_STATIC_VALUE_MAX_LENGTH as b,
|
|
98
96
|
editorElementClassNames as e
|
|
99
97
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
const TEXT_PROP_STATIC_VALUE_MAX_LENGTH = 400;
|
|
2
1
|
const DisplayNames = {
|
|
3
2
|
root: {
|
|
4
3
|
elementDisplayName: "Checkbox",
|
|
@@ -82,7 +81,6 @@ export {
|
|
|
82
81
|
FunctionalStateKeys as F,
|
|
83
82
|
TestIds as T,
|
|
84
83
|
DisplayNames as a,
|
|
85
|
-
TEXT_PROP_STATIC_VALUE_MAX_LENGTH as b,
|
|
86
84
|
defaultValues as d,
|
|
87
85
|
selectors as s
|
|
88
86
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/editor-react-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2853.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": "286a3052bd87963bf707d00f61bf83f33271aee5670f458c6fc20e85"
|
|
232
232
|
}
|