@uxf/cms 12.0.0 → 12.2.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.
|
@@ -74,7 +74,7 @@ function WysiwygInput(props) {
|
|
|
74
74
|
const input = (0, use_input_focus_1.useInputFocus)(innerRef, props.onBlur, props.onFocus);
|
|
75
75
|
const isInvalid = (0, is_not_nil_1.isNotNil)(fieldState.error);
|
|
76
76
|
const errorId = isInvalid ? `${props.id}--error-message` : undefined;
|
|
77
|
-
const rootClassName = (0, cx_1.cx)("uxf-text-input", ((_b = props.
|
|
77
|
+
const rootClassName = (0, cx_1.cx)("uxf-text-input", ((_b = props._isFocused) !== null && _b !== void 0 ? _b : input.focused) && classes_1.CLASSES.IS_FOCUSED, props.isDisabled && classes_1.CLASSES.IS_DISABLED, isInvalid && classes_1.CLASSES.IS_INVALID, props.isReadOnly && classes_1.CLASSES.IS_READONLY, props.isRequired && classes_1.CLASSES.IS_REQUIRED, props.className);
|
|
78
78
|
const onFocus = (0, react_1.useCallback)((e) => {
|
|
79
79
|
var _a, _b;
|
|
80
80
|
input.onFocus(e);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uxf/cms",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.2.0",
|
|
4
4
|
"description": "UXF Cms",
|
|
5
5
|
"author": "UXFans <dev@uxf.cz>",
|
|
6
6
|
"homepage": "https://gitlab.com/uxf-npm/cms#readme",
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"@floating-ui/react": "^0.27.20",
|
|
32
32
|
"@uxf/core": "11.129.0",
|
|
33
33
|
"@uxf/core-react": "12.0.0",
|
|
34
|
-
"@uxf/data-grid": "12.
|
|
34
|
+
"@uxf/data-grid": "12.2.0",
|
|
35
35
|
"@uxf/dnd": "12.0.0",
|
|
36
|
-
"@uxf/form": "12.
|
|
36
|
+
"@uxf/form": "12.2.0",
|
|
37
37
|
"@uxf/router": "11.129.0",
|
|
38
38
|
"@uxf/styles": "11.129.0",
|
|
39
|
-
"@uxf/ui": "12.
|
|
40
|
-
"@uxf/wysiwyg": "12.
|
|
39
|
+
"@uxf/ui": "12.2.0",
|
|
40
|
+
"@uxf/wysiwyg": "12.2.0",
|
|
41
41
|
"axios": "^1.19.0",
|
|
42
42
|
"axios-hooks": "^5.1.1",
|
|
43
43
|
"next": ">=13.2.0",
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
"@types/react-dom": "18.3.7",
|
|
54
54
|
"@uxf/core": "11.129.0",
|
|
55
55
|
"@uxf/core-react": "12.0.0",
|
|
56
|
-
"@uxf/data-grid": "12.
|
|
56
|
+
"@uxf/data-grid": "12.2.0",
|
|
57
57
|
"@uxf/dnd": "12.0.0",
|
|
58
|
-
"@uxf/form": "12.
|
|
58
|
+
"@uxf/form": "12.2.0",
|
|
59
59
|
"@uxf/router": "11.129.0",
|
|
60
60
|
"@uxf/styles": "11.129.0",
|
|
61
|
-
"@uxf/ui": "12.
|
|
62
|
-
"@uxf/wysiwyg": "12.
|
|
61
|
+
"@uxf/ui": "12.2.0",
|
|
62
|
+
"@uxf/wysiwyg": "12.2.0",
|
|
63
63
|
"axios": "^1.19.0",
|
|
64
64
|
"axios-hooks": "^5.1.1",
|
|
65
65
|
"next": "16.3.0",
|