@uxf/cms 11.52.0 → 11.52.2

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.
@@ -43,6 +43,7 @@
43
43
 
44
44
  &__sidebar {
45
45
  background-color: theme("colors.white");
46
+ flex-shrink: 0;
46
47
  overflow-y: auto;
47
48
  padding: theme("space.4") theme("space.4") theme("space.16");
48
49
  }
@@ -9,5 +9,6 @@ export interface ContentBuilderProps {
9
9
  ContentComponents: ContentComponent<any>[];
10
10
  uploadNamespace?: string;
11
11
  fields?: FieldsConfiguration;
12
+ title?: string;
12
13
  }
13
14
  export declare function ContentBuilder(props: ContentBuilderProps): React.JSX.Element;
@@ -39,11 +39,11 @@ var TabName;
39
39
  TabName["Seo"] = "seo";
40
40
  })(TabName || (TabName = {}));
41
41
  function ContentBuilder(props) {
42
- var _a;
42
+ var _a, _b;
43
43
  const generatedId = (0, react_1.useId)();
44
44
  const [activeTab, setActiveTab] = (0, react_1.useState)(TabName.Basic);
45
45
  return (react_1.default.createElement(content_builder_root_1.ContentBuilderRoot, { formApi: props.formApi, id: (_a = props.id) !== null && _a !== void 0 ? _a : generatedId, onSubmit: props.onSubmit },
46
- react_1.default.createElement(content_builder_header_1.ContentBuilderHeader, { title: "\u010Cl\u00E1nek knihovny" }),
46
+ react_1.default.createElement(content_builder_header_1.ContentBuilderHeader, { title: (_b = props.title) !== null && _b !== void 0 ? _b : "Článek knihovny" }),
47
47
  react_1.default.createElement(content_builder_body_1.ContentBuilderBody, null,
48
48
  react_1.default.createElement(content_builder_1.ContentField, { contentComponents: props.ContentComponents, control: props.formApi.control, name: "content" }),
49
49
  react_1.default.createElement(content_builder_sidebar_1.ContentBuilderSidebar, { title: "Nastaven\u00ED" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/cms",
3
- "version": "11.52.0",
3
+ "version": "11.52.2",
4
4
  "description": "UXF Cms",
5
5
  "author": "UXFans <dev@uxf.cz>",
6
6
  "homepage": "https://gitlab.com/uxf-npm/cms#readme",
@@ -30,13 +30,13 @@
30
30
  "@dnd-kit/utilities": "3.2.2",
31
31
  "@floating-ui/react": "0.26.28",
32
32
  "@redux-devtools/extension": "3.3.0",
33
- "@uxf/core": "11.52.0",
34
- "@uxf/core-react": "11.52.0",
35
- "@uxf/data-grid": "11.52.0",
36
- "@uxf/form": "11.52.0",
33
+ "@uxf/core": "11.52.2",
34
+ "@uxf/core-react": "11.52.2",
35
+ "@uxf/data-grid": "11.52.2",
36
+ "@uxf/form": "11.52.2",
37
37
  "@uxf/router": "11.49.1",
38
- "@uxf/ui": "11.52.0",
39
- "@uxf/wysiwyg": "11.52.0",
38
+ "@uxf/ui": "11.52.2",
39
+ "@uxf/wysiwyg": "11.52.2",
40
40
  "axios": "1.7.5",
41
41
  "axios-hooks": "5.0.2",
42
42
  "es6-error": "4.1.1",