@uxf/cms 11.19.3 → 11.20.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,8 +24,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.WysiwygInput = void 0;
27
+ const use_input_focus_1 = require("@uxf/core-react/hooks/use-input-focus");
27
28
  const classes_1 = require("@uxf/core/constants/classes");
28
- const useInputFocus_1 = require("@uxf/core/hooks/useInputFocus");
29
29
  const cx_1 = require("@uxf/core/utils/cx");
30
30
  const file_1 = require("@uxf/core/utils/file");
31
31
  const form_component_1 = require("@uxf/ui/form-component");
@@ -55,7 +55,7 @@ function WysiwygInput(props) {
55
55
  const generatedId = (0, react_1.useId)();
56
56
  const id = (_b = props.id) !== null && _b !== void 0 ? _b : generatedId;
57
57
  const innerRef = (0, react_1.useRef)(null);
58
- const input = (0, useInputFocus_1.useInputFocus)(innerRef, props.onBlur, props.onFocus);
58
+ const input = (0, use_input_focus_1.useInputFocus)(innerRef, props.onBlur, props.onFocus);
59
59
  const isInvalid = !!fieldState.error;
60
60
  const errorId = isInvalid ? `${props.id}--error-message` : undefined;
61
61
  const rootClassName = (0, cx_1.cx)("uxf-text-input", ((_c = props.isFocused) !== null && _c !== void 0 ? _c : 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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/cms",
3
- "version": "11.19.3",
3
+ "version": "11.20.0",
4
4
  "description": "UXF Cms",
5
5
  "author": "UXFans <dev@uxf.cz>",
6
6
  "homepage": "https://gitlab.com/uxf-npm/cms#readme",
@@ -30,12 +30,13 @@
30
30
  "@dnd-kit/utilities": "3.2.2",
31
31
  "@floating-ui/react": "0.26.9",
32
32
  "@redux-devtools/extension": "3.3.0",
33
- "@uxf/core": "11.19.0",
34
- "@uxf/data-grid": "11.19.3",
35
- "@uxf/form": "11.19.2",
33
+ "@uxf/core": "11.20.0",
34
+ "@uxf/core-react": "11.20.0",
35
+ "@uxf/data-grid": "11.20.0",
36
+ "@uxf/form": "11.20.0",
36
37
  "@uxf/router": "11.11.3",
37
- "@uxf/ui": "11.19.0",
38
- "@uxf/wysiwyg": "11.19.0",
38
+ "@uxf/ui": "11.20.0",
39
+ "@uxf/wysiwyg": "11.20.0",
39
40
  "axios": "1.6.7",
40
41
  "axios-hooks": "5.0.2",
41
42
  "es6-error": "4.1.1",
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.ContentHeader = void 0;
27
- const useClickableProps_1 = require("@uxf/core/hooks/useClickableProps");
27
+ const use_clickable_props_1 = require("@uxf/core-react/hooks/use-clickable-props");
28
28
  const button_1 = require("@uxf/ui/button");
29
29
  const datetime_picker_input_1 = require("@uxf/ui/datetime-picker-input");
30
30
  const icon_1 = require("@uxf/ui/icon");
@@ -45,7 +45,7 @@ const ContentHeader = (props) => {
45
45
  },
46
46
  // eslint-disable-next-line react-hooks/exhaustive-deps
47
47
  [props.onRemove]);
48
- const clickableProps = (0, useClickableProps_1.useClickableProps)({
48
+ const clickableProps = (0, use_clickable_props_1.useClickableProps)({
49
49
  className: "flex w-full cursor-pointer flex-row items-center justify-between p-4",
50
50
  onClick: toggleVisibility,
51
51
  });
@@ -72,7 +72,6 @@ const GridPageComponent = (props) => {
72
72
  const { data, isLoading, error, onReload } = (0, use_data_grid_fetching_1.useDataGridFetching)({
73
73
  loader: (_c = props.loader) !== null && _c !== void 0 ? _c : universalLoader,
74
74
  schema: props.gridSchema,
75
- gridName: props.entityAlias,
76
75
  state,
77
76
  });
78
77
  const actionsBag = (0, react_1.useMemo)(() => ({