@rulab/adminjs-components 0.1.0-alpha.7 → 0.1.0-alpha.8
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.
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./Editor.jsx
|
|
2
|
-
export * from "./EditorShow.jsx
|
|
3
|
-
export * from "./EditorList.jsx
|
|
1
|
+
export * from "./Editor.jsx";
|
|
2
|
+
export * from "./EditorShow.jsx";
|
|
3
|
+
export * from "./EditorList.jsx";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useEffect, useState, } from "react";
|
|
2
2
|
import { ThemeProvider } from "styled-components";
|
|
3
3
|
import { theme } from "@adminjs/design-system";
|
|
4
|
-
import { slugifyTitle } from "../../utils.js";
|
|
4
|
+
import { slugifyTitle } from "../../utils/index.js";
|
|
5
5
|
import { StyledCustomInput, StyledGenerateButton, StyledInputWrapper, StyledLabel, } from "./styles.js";
|
|
6
6
|
const SlugEdit = ({ property, record, resource, onChange, }) => {
|
|
7
7
|
const [inputValue, setInputValue] = useState(record.params.slug);
|
package/dist/components/index.js
CHANGED
|
@@ -2,9 +2,9 @@ export { default as ColorStatusEdit } from "./ColorStatus/ColorStatusEdit.js";
|
|
|
2
2
|
export { default as ColorStatusShow } from "./ColorStatus/ColorStatusShow.js";
|
|
3
3
|
export { default as ColorStatusList } from "./ColorStatus/ColorStatusList.js";
|
|
4
4
|
export { default as SlugEdit } from "./Slug/SlugEdit.js";
|
|
5
|
-
//export { default as Editor } from "./Editor/Editor.jsx
|
|
6
|
-
//export { default as EditorList } from "./Editor/EditorList.jsx
|
|
7
|
-
//export { default as EditorShow } from "./Editor/EditorShow.jsx
|
|
5
|
+
//export { default as Editor } from "./Editor/Editor.jsx";
|
|
6
|
+
//export { default as EditorList } from "./Editor/EditorList.jsx";
|
|
7
|
+
//export { default as EditorShow } from "./Editor/EditorShow.jsx";
|
|
8
8
|
export { default as StringList } from "./StringList/StringList.js";
|
|
9
9
|
export { default as StringListShow } from "./StringList/StringListShow.js";
|
|
10
10
|
export { default as SlugFeature } from "./Slug/SlugFeature.js";
|