@wix/editor-react-components 1.2295.0 → 1.2297.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.
|
@@ -86,7 +86,7 @@ function TextBoxComponent(props) {
|
|
|
86
86
|
"data-testid": TestIds.root,
|
|
87
87
|
children: /* @__PURE__ */ jsxs(Field.Root, { className: styles.field, disabled, children: [
|
|
88
88
|
(hasLabel || hasTooltip) && /* @__PURE__ */ jsxs("div", { className: styles.labelRow, children: [
|
|
89
|
-
hasLabel && /* @__PURE__ */
|
|
89
|
+
hasLabel && /* @__PURE__ */ jsxs(
|
|
90
90
|
Field.Label,
|
|
91
91
|
{
|
|
92
92
|
className: clsx(
|
|
@@ -95,7 +95,17 @@ function TextBoxComponent(props) {
|
|
|
95
95
|
formatClassNames(semanticClassNames.label)
|
|
96
96
|
),
|
|
97
97
|
"data-testid": TestIds.label,
|
|
98
|
-
children:
|
|
98
|
+
children: [
|
|
99
|
+
label2,
|
|
100
|
+
required && /* @__PURE__ */ jsx(
|
|
101
|
+
"span",
|
|
102
|
+
{
|
|
103
|
+
"data-testid": TestIds.requiredIndicator,
|
|
104
|
+
"aria-hidden": "true",
|
|
105
|
+
children: " *"
|
|
106
|
+
}
|
|
107
|
+
)
|
|
108
|
+
]
|
|
99
109
|
}
|
|
100
110
|
),
|
|
101
111
|
hasTooltip && /* @__PURE__ */ jsx(Tooltip.Provider, { delay: 0, children: /* @__PURE__ */ jsxs(Tooltip.Root, { children: [
|
|
@@ -65,6 +65,7 @@ export declare const TestIds: {
|
|
|
65
65
|
readonly root: "textbox-root";
|
|
66
66
|
readonly input: "textbox-input";
|
|
67
67
|
readonly label: "textbox-label";
|
|
68
|
+
readonly requiredIndicator: "textbox-required-indicator";
|
|
68
69
|
readonly tooltipButton: "textbox-tooltip-button";
|
|
69
70
|
};
|
|
70
71
|
export declare const selectors: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/editor-react-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2297.0",
|
|
4
4
|
"description": "React components for the Wix Editor",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"dev": "yarn validate:manifests && yarn cli-dev",
|
|
42
42
|
"clean": "rm -rf dist",
|
|
43
43
|
"generate": "wix generate",
|
|
44
|
-
"preview": "NODE_OPTIONS=\"--import
|
|
44
|
+
"preview": "NODE_OPTIONS=\"--import $PWD/scripts/intercept.js\" wix preview",
|
|
45
45
|
"release": "echo 'Do not use manual GA, use DevPortal GA only!'",
|
|
46
|
-
"cli-dev": "NODE_OPTIONS=\"--import
|
|
46
|
+
"cli-dev": "NODE_OPTIONS=\"--import $PWD/scripts/intercept.js\" wix dev",
|
|
47
47
|
"build:dependencies": "yarn workspace @wix/components-infra run build",
|
|
48
48
|
"test": "yarn prepare:manifest-tests && vitest",
|
|
49
49
|
"test:watch": "yarn prepare:manifest-tests && vitest watch",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@vimeo/player": "^2.20.1",
|
|
77
77
|
"@vis.gl/react-google-maps": "^1.5.2",
|
|
78
78
|
"@wix/services-manager-react": "^0.1.27",
|
|
79
|
-
"@wix/site-ui": "1.
|
|
79
|
+
"@wix/site-ui": "1.138.0",
|
|
80
80
|
"@wix/video": "^1.85.0",
|
|
81
81
|
"@wix/wix-ui-icons-common": "^3.173.0",
|
|
82
82
|
"bidi-js": "^1.0.3",
|
|
@@ -186,5 +186,5 @@
|
|
|
186
186
|
"registry": "https://registry.npmjs.org/",
|
|
187
187
|
"access": "public"
|
|
188
188
|
},
|
|
189
|
-
"falconPackageHash": "
|
|
189
|
+
"falconPackageHash": "9f8a2b2ec5512fbadb11bc5a3ee4c9c405379be84bedf9458c54319a"
|
|
190
190
|
}
|