@akemona-org/strapi-plugin-documentation 3.12.3 → 3.13.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.
@@ -10,8 +10,8 @@ import { Wrapper, Title } from './components';
10
10
 
11
11
  const renderMsg = (msg) => <p>{msg}</p>;
12
12
 
13
- const Block = ({ children, description, style, title }) => (
14
- <div className="col-md-12">
13
+ function Block({ children, description, style, title }) {
14
+ return <div className="col-md-12">
15
15
  <Wrapper style={style}>
16
16
  <Title>
17
17
  <FormattedMessage id={title} />
@@ -20,7 +20,7 @@ const Block = ({ children, description, style, title }) => (
20
20
  {children}
21
21
  </Wrapper>
22
22
  </div>
23
- );
23
+ }
24
24
 
25
25
  Block.defaultProps = {
26
26
  children: null,
@@ -6,7 +6,7 @@ import pluginPermissions from '../../permissions';
6
6
  import openWithNewTab from '../../utils/openWithNewTab';
7
7
  import { StyledButton } from './components';
8
8
 
9
- const ButtonContainer = ({ currentDocVersion, isHeader, onClick, onClickDelete, version }) => {
9
+ function ButtonContainer({ currentDocVersion, isHeader, onClick, onClickDelete, version }) {
10
10
  if (isHeader) {
11
11
  return <div />;
12
12
  }
@@ -32,7 +32,7 @@ const ButtonContainer = ({ currentDocVersion, isHeader, onClick, onClickDelete,
32
32
  </CheckPermissions>
33
33
  </div>
34
34
  );
35
- };
35
+ }
36
36
 
37
37
  ButtonContainer.defaultProps = {
38
38
  currentDocVersion: '1.0.0',
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.12.3",
6
+ "version": "3.13.0",
7
7
  "description": "Create an OpenAPI Document and visualize your API with SWAGGER UI.",
8
8
  "strapi": {
9
9
  "name": "Documentation",
@@ -14,7 +14,7 @@
14
14
  "test": "echo \"no tests yet\""
15
15
  },
16
16
  "dependencies": {
17
- "@akemona-org/strapi-helper-plugin": "3.12.3",
17
+ "@akemona-org/strapi-helper-plugin": "3.13.0",
18
18
  "@buffetjs/core": "3.3.8",
19
19
  "@buffetjs/custom": "3.3.8",
20
20
  "@buffetjs/hooks": "3.3.8",
@@ -85,5 +85,5 @@
85
85
  "npm": ">=6.0.0"
86
86
  },
87
87
  "license": "SEE LICENSE IN LICENSE",
88
- "gitHead": "3bfc6b17b14507d445020f846054a0beb0d21c86"
88
+ "gitHead": "8bb7b41ae9cc2110f94b9338f0ec2df437e49161"
89
89
  }