@strapi/plugin-documentation 4.6.1 → 4.6.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.
@@ -1,5 +1,5 @@
1
1
  import styled from 'styled-components';
2
- import { FieldAction } from '@strapi/design-system/Field';
2
+ import { FieldAction } from '@strapi/design-system';
3
3
 
4
4
  const FieldActionWrapper = styled(FieldAction)`
5
5
  svg {
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  import React from 'react';
8
- import Information from '@strapi/icons/Information';
8
+ import { Information } from '@strapi/icons';
9
9
 
10
10
  const PluginIcon = () => <Information />;
11
11
 
@@ -16,17 +16,24 @@ import {
16
16
  useFocusWhenNavigate,
17
17
  } from '@strapi/helper-plugin';
18
18
  import { Helmet } from 'react-helmet';
19
- import { Button } from '@strapi/design-system/Button';
20
- import { Layout, HeaderLayout, ContentLayout } from '@strapi/design-system/Layout';
21
- import { Main } from '@strapi/design-system/Main';
22
- import { IconButton } from '@strapi/design-system/IconButton';
23
- import { Typography } from '@strapi/design-system/Typography';
24
- import { Flex } from '@strapi/design-system/Flex';
25
- import { Table, Tr, Thead, Th, Tbody, Td } from '@strapi/design-system/Table';
19
+ import {
20
+ Button,
21
+ Layout,
22
+ HeaderLayout,
23
+ ContentLayout,
24
+ Main,
25
+ IconButton,
26
+ Typography,
27
+ Flex,
28
+ Table,
29
+ Tr,
30
+ Thead,
31
+ Th,
32
+ Tbody,
33
+ Td,
34
+ } from '@strapi/design-system';
26
35
 
27
- import Trash from '@strapi/icons/Trash';
28
- import Show from '@strapi/icons/Eye';
29
- import Reload from '@strapi/icons/Refresh';
36
+ import { Trash, Eye as Show, Refresh as Reload } from '@strapi/icons';
30
37
 
31
38
  import permissions from '../../permissions';
32
39
  import { getTrad } from '../../utils';
@@ -9,20 +9,22 @@ import {
9
9
  } from '@strapi/helper-plugin';
10
10
 
11
11
  // Strapi Parts
12
- import { ContentLayout, HeaderLayout } from '@strapi/design-system/Layout';
13
- import { Main } from '@strapi/design-system/Main';
14
- import { Button } from '@strapi/design-system/Button';
15
- import { Box } from '@strapi/design-system/Box';
16
- import { Stack } from '@strapi/design-system/Stack';
17
- import { Typography } from '@strapi/design-system/Typography';
18
- import { ToggleInput } from '@strapi/design-system/ToggleInput';
19
- import { TextInput } from '@strapi/design-system/TextInput';
20
- import { Grid, GridItem } from '@strapi/design-system/Grid';
12
+ import {
13
+ ContentLayout,
14
+ HeaderLayout,
15
+ Main,
16
+ Button,
17
+ Box,
18
+ Stack,
19
+ Typography,
20
+ ToggleInput,
21
+ TextInput,
22
+ Grid,
23
+ GridItem,
24
+ } from '@strapi/design-system';
21
25
 
22
26
  // Strapi Icons
23
- import Show from '@strapi/icons/Eye';
24
- import Hide from '@strapi/icons/EyeStriked';
25
- import Check from '@strapi/icons/Check';
27
+ import { Eye as Show, EyeStriked as Hide, Check } from '@strapi/icons';
26
28
 
27
29
  import permissions from '../../permissions';
28
30
  import { getTrad } from '../../utils';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/plugin-documentation",
3
- "version": "4.6.1",
3
+ "version": "4.6.2",
4
4
  "description": "Create an OpenAPI Document and visualize your API with SWAGGER UI.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,8 +24,8 @@
24
24
  "test": "echo \"no tests yet\""
25
25
  },
26
26
  "dependencies": {
27
- "@strapi/helper-plugin": "4.6.1",
28
- "@strapi/utils": "4.6.1",
27
+ "@strapi/helper-plugin": "4.6.2",
28
+ "@strapi/utils": "4.6.2",
29
29
  "bcryptjs": "2.4.3",
30
30
  "cheerio": "^1.0.0-rc.12",
31
31
  "fs-extra": "10.0.0",
@@ -36,11 +36,11 @@
36
36
  "react": "^17.0.2",
37
37
  "react-copy-to-clipboard": "^5.1.0",
38
38
  "react-dom": "^17.0.2",
39
- "react-intl": "6.2.7",
40
- "react-redux": "7.2.8",
39
+ "react-intl": "6.2.8",
40
+ "react-redux": "8.0.5",
41
41
  "react-router": "^5.2.0",
42
42
  "react-router-dom": "5.3.4",
43
- "redux": "^4.0.1",
43
+ "redux": "^4.2.1",
44
44
  "reselect": "^4.0.0",
45
45
  "swagger-ui-dist": "4.15.5",
46
46
  "yaml": "1.10.2"
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "devDependencies": {
52
52
  "@testing-library/react": "12.1.4",
53
- "msw": "0.49.1"
53
+ "msw": "1.0.1"
54
54
  },
55
55
  "engines": {
56
56
  "node": ">=14.19.1 <=18.x.x",
@@ -62,5 +62,5 @@
62
62
  "description": "Create an OpenAPI Document and visualize your API with SWAGGER UI.",
63
63
  "kind": "plugin"
64
64
  },
65
- "gitHead": "17a7845e3d453ea2e7911bda6ec25ed196dd5f16"
65
+ "gitHead": "bae505f44c3a779905f6b8dbc0c497e24d9eabfb"
66
66
  }