@akemona-org/strapi-plugin-documentation 3.13.2 → 3.14.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.
@@ -2,7 +2,7 @@ import styled from 'styled-components';
2
2
 
3
3
  const Wrapper = styled.div`
4
4
  margin-bottom: 28px;
5
- background: #ffffff;
5
+ background: #fff;
6
6
  padding: 22px 28px 18px;
7
7
  border-radius: 2px;
8
8
  box-shadow: 0 2px 4px #e3e9f3;
@@ -10,7 +10,7 @@ const Wrapper = styled.div`
10
10
  `;
11
11
 
12
12
  const Title = styled.div`
13
- padding-top: 0px;
13
+ padding-top: 0;
14
14
  line-height: 18px;
15
15
  > span {
16
16
  font-weight: 600;
@@ -11,15 +11,17 @@ import { Wrapper, Title } from './components';
11
11
  const renderMsg = (msg) => <p>{msg}</p>;
12
12
 
13
13
  function Block({ children, description, style, title }) {
14
- return <div className="col-md-12">
15
- <Wrapper style={style}>
16
- <Title>
17
- <FormattedMessage id={title} />
18
- <FormattedMessage id={description}>{renderMsg}</FormattedMessage>
19
- </Title>
20
- {children}
21
- </Wrapper>
22
- </div>
14
+ return (
15
+ <div className="col-md-12">
16
+ <Wrapper style={style}>
17
+ <Title>
18
+ <FormattedMessage id={title} />
19
+ <FormattedMessage id={description}>{renderMsg}</FormattedMessage>
20
+ </Title>
21
+ {children}
22
+ </Wrapper>
23
+ </div>
24
+ );
23
25
  }
24
26
 
25
27
  Block.defaultProps = {
@@ -7,7 +7,7 @@ const Wrapper = styled.div`
7
7
  line-height: 53px;
8
8
  margin: 0 28px 0 36px;
9
9
  justify-content: space-between;
10
- border-bottom: 1px solid rgba(14, 22, 34, 0.04);
10
+ border-bottom: 1px solid rgb(14 22 34 / 4%);
11
11
  font-size: 13px;
12
12
  color: #333740;
13
13
  > div:first-child {
@@ -24,6 +24,7 @@ const Wrapper = styled.div`
24
24
  align-self: center;
25
25
  text-align: right;
26
26
  }
27
+
27
28
  -webkit-font-smoothing: antialiased;
28
29
  `;
29
30
 
@@ -39,10 +40,10 @@ const StyledButton = styled(Button)`
39
40
  return css`
40
41
  margin-right: 10px;
41
42
  border: 1px solid #dfe0e1;
42
- &:before {
43
+ &::before {
43
44
  margin-right: 10px;
44
45
  content: '\f08e';
45
- font-family: 'FontAwesome';
46
+ font-family: FontAwesome;
46
47
  font-size: 10px;
47
48
  }
48
49
  `;
@@ -52,10 +53,10 @@ const StyledButton = styled(Button)`
52
53
  background: #e6f0fb;
53
54
  border: 1px solid #aed4fb;
54
55
  color: #007eff;
55
- &:before {
56
+ &::before {
56
57
  margin-right: 10px;
57
58
  content: '\f021';
58
- font-family: 'FontAwesome';
59
+ font-family: FontAwesome;
59
60
  font-size: 10px;
60
61
  }
61
62
  `;
@@ -64,10 +65,10 @@ const StyledButton = styled(Button)`
64
65
  return css`
65
66
  margin-left: 25px;
66
67
  font-weight: 400;
67
- &:before {
68
+ &::before {
68
69
  margin-right: 10px;
69
70
  content: '\f2ed';
70
- font-family: 'FontAwesome';
71
+ font-family: FontAwesome;
71
72
  font-size: 12 px;
72
73
  }
73
74
  `;
@@ -12,10 +12,10 @@ const ContainerFluid = styled.div`
12
12
  border: 1px solid #dfe0e1;
13
13
  font-weight: 500;
14
14
  font-size: 13px;
15
- &:before {
15
+ &::before {
16
16
  margin-right: 10px;
17
17
  content: '\f08e';
18
- font-family: 'FontAwesome';
18
+ font-family: FontAwesome;
19
19
  font-size: 10px;
20
20
  }
21
21
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.13.2",
6
+ "version": "3.14.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.13.2",
17
+ "@akemona-org/strapi-helper-plugin": "3.14.0",
18
18
  "@buffetjs/core": "3.3.8",
19
19
  "@buffetjs/custom": "3.3.8",
20
20
  "@buffetjs/hooks": "3.3.8",
@@ -81,9 +81,9 @@
81
81
  }
82
82
  ],
83
83
  "engines": {
84
- "node": ">=14.19.1 <=18.x.x",
84
+ "node": ">=18.17.0 <=20.x.x",
85
85
  "npm": ">=6.0.0"
86
86
  },
87
87
  "license": "SEE LICENSE IN LICENSE",
88
- "gitHead": "b0b438b488e293906dc4041239967f16c68e281a"
88
+ "gitHead": "241f7ad8f4277aa7f522f580557e15d65af4a0cc"
89
89
  }