@edifice.io/react 2.4.0-develop-pedago.20251104152516 → 2.4.0-develop-pedago.20251104155002
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.
|
@@ -30,10 +30,10 @@ const TextArea = /* @__PURE__ */ forwardRef(({
|
|
|
30
30
|
"no-validation-icon": noValidationIcon
|
|
31
31
|
}, className);
|
|
32
32
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
33
|
-
/* @__PURE__ */ jsx("textarea", { ref, id, className: classes, placeholder, required: isRequired, readOnly: isReadOnly, onChange: (e) => {
|
|
33
|
+
/* @__PURE__ */ jsx("textarea", { ref, id, className: classes, placeholder, required: isRequired, readOnly: isReadOnly, ...restProps, onChange: (e) => {
|
|
34
34
|
var _a2;
|
|
35
35
|
setCurrentLength(e.target.value.length), (_a2 = restProps.onChange) == null || _a2.call(restProps, e);
|
|
36
|
-
}
|
|
36
|
+
} }),
|
|
37
37
|
showCounter && !status && /* @__PURE__ */ jsxs("span", { className: clsx("caption text-end float-end mt-n32 py-2 px-12 ", {
|
|
38
38
|
"text-danger": currentLength === restProps.maxLength,
|
|
39
39
|
"text-gray-700": currentLength !== restProps.maxLength
|
|
@@ -66,9 +66,7 @@ const DEFAULT_INPUT_MAX_LENGTH = 60, DEFAULT_TEXTAREA_MAX_LENGTH = 400, Resource
|
|
|
66
66
|
} = useThumb({
|
|
67
67
|
isUpdating,
|
|
68
68
|
selectedResource: isUpdating ? resource : void 0
|
|
69
|
-
})
|
|
70
|
-
watch("description");
|
|
71
|
-
const onSubmit = async function(formData) {
|
|
69
|
+
}), onSubmit = async function(formData) {
|
|
72
70
|
var _a2, _b2;
|
|
73
71
|
try {
|
|
74
72
|
const data = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/react",
|
|
3
|
-
"version": "2.4.0-develop-pedago.
|
|
3
|
+
"version": "2.4.0-develop-pedago.20251104155002",
|
|
4
4
|
"description": "Edifice React Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -131,9 +131,9 @@
|
|
|
131
131
|
"react-slugify": "^3.0.3",
|
|
132
132
|
"swiper": "^10.1.0",
|
|
133
133
|
"ua-parser-js": "^1.0.36",
|
|
134
|
-
"@edifice.io/tiptap-extensions": "2.4.0-develop-pedago.
|
|
135
|
-
"@edifice.io/bootstrap": "2.4.0-develop-pedago.
|
|
136
|
-
"@edifice.io/utilities": "2.4.0-develop-pedago.
|
|
134
|
+
"@edifice.io/tiptap-extensions": "2.4.0-develop-pedago.20251104155002",
|
|
135
|
+
"@edifice.io/bootstrap": "2.4.0-develop-pedago.20251104155002",
|
|
136
|
+
"@edifice.io/utilities": "2.4.0-develop-pedago.20251104155002"
|
|
137
137
|
},
|
|
138
138
|
"devDependencies": {
|
|
139
139
|
"@babel/plugin-transform-react-pure-annotations": "^7.23.3",
|
|
@@ -164,8 +164,8 @@
|
|
|
164
164
|
"vite": "^5.4.11",
|
|
165
165
|
"vite-plugin-dts": "^4.1.0",
|
|
166
166
|
"vite-tsconfig-paths": "^5.0.1",
|
|
167
|
-
"@edifice.io/client": "2.4.0-develop-pedago.
|
|
168
|
-
"@edifice.io/config": "2.4.0-develop-pedago.
|
|
167
|
+
"@edifice.io/client": "2.4.0-develop-pedago.20251104155002",
|
|
168
|
+
"@edifice.io/config": "2.4.0-develop-pedago.20251104155002"
|
|
169
169
|
},
|
|
170
170
|
"peerDependencies": {
|
|
171
171
|
"@react-spring/web": "^9.7.5",
|