@strapi/admin 4.1.8 → 4.1.10
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.
- package/admin/src/assets/images/homepage-logo.png +0 -0
- package/admin/src/components/AutoReloadOverlayBlockerProvider/Blocker.js +2 -6
- package/admin/src/components/GuidedTour/Homepage/index.js +1 -2
- package/admin/src/components/GuidedTour/Modal/components/Stepper.js +1 -2
- package/admin/src/components/LeftMenu/index.js +7 -5
- package/admin/src/components/Notifications/Notification/index.js +2 -2
- package/admin/src/components/UpgradePlanModal/index.js +6 -2
- package/admin/src/content-manager/components/SelectMany/ListItem.js +1 -2
- package/admin/src/content-manager/components/SelectWrapper/index.js +8 -7
- package/admin/src/content-manager/components/SingleTypeFormWrapper/index.js +2 -2
- package/admin/src/content-manager/components/Wysiwyg/Editor.js +2 -0
- package/admin/src/content-manager/pages/App/LeftMenu/index.js +8 -7
- package/admin/src/content-manager/pages/EditSettingsView/components/ComponentFieldList.js +1 -1
- package/admin/src/content-manager/pages/EditSettingsView/components/LinkToCTB.js +1 -2
- package/admin/src/content-manager/pages/EditSettingsView/index.js +1 -2
- package/admin/src/content-manager/pages/EditView/Header/index.js +3 -3
- package/admin/src/content-manager/pages/EditView/index.js +1 -4
- package/admin/src/content-manager/pages/ListSettingsView/index.js +1 -2
- package/admin/src/content-manager/pages/ListView/index.js +1 -1
- package/admin/src/content-manager/pages/NoContentType/index.js +1 -2
- package/admin/src/pages/AuthPage/components/ForgotPassword/index.js +1 -2
- package/admin/src/pages/AuthPage/components/ForgotPasswordSuccess/index.js +1 -1
- package/admin/src/pages/AuthPage/components/Login/BaseLogin.js +1 -2
- package/admin/src/pages/AuthPage/components/Oops/index.js +1 -2
- package/admin/src/pages/AuthPage/components/Register/index.js +12 -12
- package/admin/src/pages/AuthPage/components/ResetPassword/index.js +3 -4
- package/admin/src/pages/HomePage/HomeHeader.js +2 -2
- package/admin/src/pages/HomePage/SocialLinks.js +4 -3
- package/admin/src/pages/InternalErrorPage/index.js +1 -2
- package/admin/src/pages/MarketplacePage/components/PageHeader/index.js +2 -1
- package/admin/src/pages/MarketplacePage/components/PluginCard/index.js +4 -3
- package/admin/src/pages/NotFoundPage/index.js +1 -2
- package/admin/src/pages/SettingsPage/components/SettingsNav/index.js +5 -4
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/ApiTokens/ListView/DynamicTable/UpdateButton/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/ApiTokens/ListView/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/index.js +8 -2
- package/admin/src/pages/SettingsPage/pages/Roles/EditPage/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/Users/EditPage/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/WebhookForm/index.js +1 -2
- package/admin/src/pages/SettingsPage/pages/Webhooks/ListView/index.js +1 -1
- package/admin/src/translations/ca.json +699 -0
- package/admin/src/translations/languageNativeNames.js +1 -0
- package/admin/src/translations/ru.json +34 -0
- package/build/1856.521a99fd.chunk.js +172 -0
- package/build/2077.51485bfb.chunk.js +194 -0
- package/build/{2758.19d211ea.chunk.js → 2758.927ecb6d.chunk.js} +17 -16
- package/build/2912.79c2b3c8.chunk.js +253 -0
- package/build/4715.77e04177.chunk.js +385 -0
- package/build/4982.f53b78a4.chunk.js +308 -0
- package/build/6706.7f57cb76.chunk.js +113 -0
- package/build/7589.95466f9a.chunk.js +194 -0
- package/build/{5289.ef1a4517.chunk.js → 7757.6d20cfe0.chunk.js} +91 -102
- package/build/7841.f0e7d629.chunk.js +253 -0
- package/build/8681.96961454.chunk.js +163 -0
- package/build/9066.118ecccd.chunk.js +101 -0
- package/build/9115.abdf4e3b.chunk.js +1 -0
- package/build/9158.60fcd720.chunk.js +503 -0
- package/build/{9298.22f09063.chunk.js → 9298.5b5c6ea1.chunk.js} +80 -91
- package/build/9420.cb0b75e8.chunk.js +508 -0
- package/build/Admin-authenticatedApp.ec0f0834.chunk.js +80 -0
- package/build/Admin_homePage.e6d4d977.chunk.js +71 -0
- package/build/Admin_marketplace.25133b64.chunk.js +11 -0
- package/build/Admin_settingsPage.e1dfbb1d.chunk.js +172 -0
- package/build/admin-edit-roles-page.e77a2acc.chunk.js +1 -0
- package/build/admin-edit-users.4c49fe98.chunk.js +11 -0
- package/build/api-tokens-create-page.618b3e40.chunk.js +1 -0
- package/build/api-tokens-edit-page.8d19dfe1.chunk.js +1 -0
- package/build/api-tokens-list-page.274e1c80.chunk.js +15 -0
- package/build/ca-json.0097e443.chunk.js +1 -0
- package/build/content-manager.d6449678.chunk.js +1204 -0
- package/build/{content-type-builder.0d8729ad.chunk.js → content-type-builder.a9554707.chunk.js} +8 -8
- package/build/{email-settings-page.c520fd0d.chunk.js → email-settings-page.fcc7e65d.chunk.js} +5 -5
- package/build/fb376b132d18bf4522ca.png +0 -0
- package/build/{i18n-settings-page.24c106d4.chunk.js → i18n-settings-page.477ffac7.chunk.js} +5 -5
- package/build/index.html +1 -1
- package/build/main.6dad6108.js +8404 -0
- package/build/ru-json.28147733.chunk.js +1 -0
- package/build/runtime~main.26528011.js +2 -0
- package/build/{upload-settings.4fcb502d.chunk.js → upload-settings.1456cd65.chunk.js} +5 -5
- package/build/{upload.0ca61128.chunk.js → upload.d45af2c9.chunk.js} +5 -5
- package/build/{users-advanced-settings-page.a8c38517.chunk.js → users-advanced-settings-page.5aa21b84.chunk.js} +5 -5
- package/build/users-roles-settings-page.28bf6bdc.chunk.js +30 -0
- package/build/{webhook-edit-page.2e6727ab.chunk.js → webhook-edit-page.ca670f8d.chunk.js} +3 -3
- package/build/webhook-list-page.ce1fa92f.chunk.js +133 -0
- package/ee/admin/pages/AuthPage/components/Providers/index.js +1 -1
- package/ee/admin/pages/SettingsPage/pages/Roles/CreatePage/index.js +1 -1
- package/package.json +7 -7
- package/server/services/permission/permissions-manager/sanitize.js +22 -0
- package/server/services/user.js +1 -1
- package/webpack.config.js +2 -2
- package/build/1856.e2bce2e8.chunk.js +0 -171
- package/build/2481.5fe150c7.chunk.js +0 -184
- package/build/2912.5a7b0406.chunk.js +0 -252
- package/build/2a9e9ef5c4c775bb7c7b.png +0 -0
- package/build/372.f3b7829c.chunk.js +0 -896
- package/build/4715.7f616cf6.chunk.js +0 -387
- package/build/497.2ba35e90.chunk.js +0 -284
- package/build/4982.91235074.chunk.js +0 -310
- package/build/6404.25d0f0d8.chunk.js +0 -508
- package/build/6706.b0b5124d.chunk.js +0 -113
- package/build/7589.f3b26345.chunk.js +0 -194
- package/build/7841.0d73dde1.chunk.js +0 -252
- package/build/9115.318a6841.chunk.js +0 -1
- package/build/9853.b7d6aba5.chunk.js +0 -354
- package/build/Admin-authenticatedApp.f7b81029.chunk.js +0 -80
- package/build/Admin_homePage.50b6c129.chunk.js +0 -71
- package/build/Admin_marketplace.514ace37.chunk.js +0 -11
- package/build/Admin_settingsPage.f83a7c21.chunk.js +0 -172
- package/build/admin-edit-roles-page.06f3d288.chunk.js +0 -1
- package/build/admin-edit-users.6a325cca.chunk.js +0 -11
- package/build/api-tokens-create-page.635e20c8.chunk.js +0 -1
- package/build/api-tokens-edit-page.db07253e.chunk.js +0 -1
- package/build/api-tokens-list-page.346c2149.chunk.js +0 -15
- package/build/content-manager.78e3f35c.chunk.js +0 -1204
- package/build/main.3ca0e44c.js +0 -7918
- package/build/ru-json.4560906c.chunk.js +0 -1
- package/build/runtime~main.fcd5a5b5.js +0 -2
- package/build/users-roles-settings-page.97d7092d.chunk.js +0 -30
- package/build/webhook-list-page.d893312b.chunk.js +0 -132
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { NavLink } from 'react-router-dom';
|
|
3
|
+
import { useIntl } from 'react-intl';
|
|
4
|
+
import PropTypes from 'prop-types';
|
|
2
5
|
import {
|
|
3
6
|
SubNav,
|
|
4
7
|
SubNavHeader,
|
|
5
8
|
SubNavSection,
|
|
6
9
|
SubNavSections,
|
|
7
10
|
SubNavLink,
|
|
8
|
-
} from '@strapi/design-system/SubNav';
|
|
9
|
-
import { useIntl } from 'react-intl';
|
|
10
|
-
import PropTypes from 'prop-types';
|
|
11
|
+
} from '@strapi/design-system/v2/SubNav';
|
|
11
12
|
import { getSectionsToDisplay } from '../../utils';
|
|
12
13
|
|
|
13
14
|
const SettingsNav = ({ menu }) => {
|
|
@@ -41,7 +42,7 @@ const SettingsNav = ({ menu }) => {
|
|
|
41
42
|
{sections.map(section => (
|
|
42
43
|
<SubNavSection key={section.id} label={formatMessage(section.intlLabel)}>
|
|
43
44
|
{section.links.map(link => (
|
|
44
|
-
<SubNavLink withBullet={link.hasNotification} to={link.to} key={link.id}>
|
|
45
|
+
<SubNavLink as={NavLink} withBullet={link.hasNotification} to={link.to} key={link.id}>
|
|
45
46
|
{formatMessage(link.intlLabel)}
|
|
46
47
|
</SubNavLink>
|
|
47
48
|
))}
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
useNotification,
|
|
9
9
|
useTracking,
|
|
10
10
|
useGuidedTour,
|
|
11
|
+
Link,
|
|
11
12
|
} from '@strapi/helper-plugin';
|
|
12
13
|
import { HeaderLayout, ContentLayout } from '@strapi/design-system/Layout';
|
|
13
14
|
import { Main } from '@strapi/design-system/Main';
|
|
14
15
|
import { Button } from '@strapi/design-system/Button';
|
|
15
16
|
import Check from '@strapi/icons/Check';
|
|
16
17
|
import ArrowLeft from '@strapi/icons/ArrowLeft';
|
|
17
|
-
import { Link } from '@strapi/design-system/Link';
|
|
18
18
|
import { Formik } from 'formik';
|
|
19
19
|
import { Stack } from '@strapi/design-system/Stack';
|
|
20
20
|
import { Box } from '@strapi/design-system/Box';
|
package/admin/src/pages/SettingsPage/pages/ApiTokens/ListView/DynamicTable/UpdateButton/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import Pencil from '@strapi/icons/Pencil';
|
|
3
3
|
import { useIntl } from 'react-intl';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
|
-
import { Link } from '@strapi/
|
|
5
|
+
import { Link } from '@strapi/helper-plugin';
|
|
6
6
|
import { useHistory } from 'react-router-dom';
|
|
7
7
|
import styled from 'styled-components';
|
|
8
8
|
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
DynamicTable,
|
|
11
11
|
useTracking,
|
|
12
12
|
useGuidedTour,
|
|
13
|
+
LinkButton,
|
|
13
14
|
} from '@strapi/helper-plugin';
|
|
14
15
|
import { HeaderLayout, ContentLayout } from '@strapi/design-system/Layout';
|
|
15
16
|
import { Main } from '@strapi/design-system/Main';
|
|
16
17
|
import { Button } from '@strapi/design-system/Button';
|
|
17
|
-
import { LinkButton } from '@strapi/design-system/LinkButton';
|
|
18
18
|
import Plus from '@strapi/icons/Plus';
|
|
19
19
|
import { useQuery, useMutation, useQueryClient } from 'react-query';
|
|
20
20
|
import { useHistory } from 'react-router-dom';
|
|
@@ -8,7 +8,7 @@ import { Grid, GridItem } from '@strapi/design-system/Grid';
|
|
|
8
8
|
import { Typography } from '@strapi/design-system/Typography';
|
|
9
9
|
|
|
10
10
|
import { Stack } from '@strapi/design-system/Stack';
|
|
11
|
-
import { Link } from '@strapi/design-system/Link';
|
|
11
|
+
import { Link } from '@strapi/design-system/v2/Link';
|
|
12
12
|
import ExternalLink from '@strapi/icons/ExternalLink';
|
|
13
13
|
|
|
14
14
|
const ApplicationInfosPage = () => {
|
|
@@ -65,6 +65,7 @@ const ApplicationInfosPage = () => {
|
|
|
65
65
|
? 'https://discord.strapi.io'
|
|
66
66
|
: 'https://support.strapi.io/support/home'
|
|
67
67
|
}
|
|
68
|
+
isExternal
|
|
68
69
|
endIcon={<ExternalLink />}
|
|
69
70
|
>
|
|
70
71
|
{formatMessage({
|
|
@@ -96,6 +97,7 @@ const ApplicationInfosPage = () => {
|
|
|
96
97
|
{shouldUpdateStrapi && (
|
|
97
98
|
<Link
|
|
98
99
|
href={`https://github.com/strapi/strapi/releases/tag/${latestStrapiReleaseTag}`}
|
|
100
|
+
isExternal
|
|
99
101
|
endIcon={<ExternalLink />}
|
|
100
102
|
>
|
|
101
103
|
{formatMessage({
|
|
@@ -106,7 +108,11 @@ const ApplicationInfosPage = () => {
|
|
|
106
108
|
)}
|
|
107
109
|
</GridItem>
|
|
108
110
|
<GridItem col={6} s={12}>
|
|
109
|
-
<Link
|
|
111
|
+
<Link
|
|
112
|
+
href="https://strapi.io/pricing-self-hosted"
|
|
113
|
+
isExternal
|
|
114
|
+
endIcon={<ExternalLink />}
|
|
115
|
+
>
|
|
110
116
|
{formatMessage({
|
|
111
117
|
id: 'Settings.application.link-pricing',
|
|
112
118
|
defaultMessage: 'See all pricing plans',
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
useTracking,
|
|
7
7
|
LoadingIndicatorPage,
|
|
8
8
|
SettingsPageTitle,
|
|
9
|
+
Link,
|
|
9
10
|
} from '@strapi/helper-plugin';
|
|
10
11
|
import { Box } from '@strapi/design-system/Box';
|
|
11
12
|
import { Button } from '@strapi/design-system/Button';
|
|
@@ -13,7 +14,6 @@ import { ContentLayout, HeaderLayout } from '@strapi/design-system/Layout';
|
|
|
13
14
|
import { Main } from '@strapi/design-system/Main';
|
|
14
15
|
import { Stack } from '@strapi/design-system/Stack';
|
|
15
16
|
import { Formik } from 'formik';
|
|
16
|
-
import { Link } from '@strapi/design-system/Link';
|
|
17
17
|
import ArrowLeft from '@strapi/icons/ArrowLeft';
|
|
18
18
|
import get from 'lodash/get';
|
|
19
19
|
import { useIntl } from 'react-intl';
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
useNotification,
|
|
16
16
|
useOverlayBlocker,
|
|
17
17
|
LoadingIndicatorPage,
|
|
18
|
+
Link,
|
|
18
19
|
} from '@strapi/helper-plugin';
|
|
19
20
|
import { useQuery } from 'react-query';
|
|
20
21
|
import { Formik } from 'formik';
|
|
@@ -22,7 +23,6 @@ import { Box } from '@strapi/design-system/Box';
|
|
|
22
23
|
import { Button } from '@strapi/design-system/Button';
|
|
23
24
|
import { Grid, GridItem } from '@strapi/design-system/Grid';
|
|
24
25
|
import { HeaderLayout, ContentLayout } from '@strapi/design-system/Layout';
|
|
25
|
-
import { Link } from '@strapi/design-system/Link';
|
|
26
26
|
import { Typography } from '@strapi/design-system/Typography';
|
|
27
27
|
import { Main } from '@strapi/design-system/Main';
|
|
28
28
|
import { Stack } from '@strapi/design-system/Stack';
|
package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/WebhookForm/index.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import { Form } from '@strapi/helper-plugin';
|
|
3
|
+
import { Form, Link } from '@strapi/helper-plugin';
|
|
4
4
|
import ArrowLeft from '@strapi/icons/ArrowLeft';
|
|
5
5
|
import Check from '@strapi/icons/Check';
|
|
6
6
|
import Publish from '@strapi/icons/Play';
|
|
7
7
|
import { ContentLayout, HeaderLayout } from '@strapi/design-system/Layout';
|
|
8
8
|
import { Box } from '@strapi/design-system/Box';
|
|
9
9
|
import { Button } from '@strapi/design-system/Button';
|
|
10
|
-
import { Link } from '@strapi/design-system/Link';
|
|
11
10
|
import { Stack } from '@strapi/design-system/Stack';
|
|
12
11
|
import { TextInput } from '@strapi/design-system/TextInput';
|
|
13
12
|
import { Grid, GridItem } from '@strapi/design-system/Grid';
|
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
ConfirmDialog,
|
|
18
18
|
onRowClick,
|
|
19
19
|
stopPropagation,
|
|
20
|
+
LinkButton,
|
|
20
21
|
} from '@strapi/helper-plugin';
|
|
21
22
|
import { HeaderLayout, Layout, ContentLayout, ActionLayout } from '@strapi/design-system/Layout';
|
|
22
23
|
import { EmptyStateLayout } from '@strapi/design-system/EmptyStateLayout';
|
|
@@ -30,7 +31,6 @@ import { Button } from '@strapi/design-system/Button';
|
|
|
30
31
|
import { VisuallyHidden } from '@strapi/design-system/VisuallyHidden';
|
|
31
32
|
import { Switch } from '@strapi/design-system/Switch';
|
|
32
33
|
import { Main } from '@strapi/design-system/Main';
|
|
33
|
-
import { LinkButton } from '@strapi/design-system/LinkButton';
|
|
34
34
|
import { useNotifyAT } from '@strapi/design-system/LiveRegions';
|
|
35
35
|
import { Box } from '@strapi/design-system/Box';
|
|
36
36
|
import Plus from '@strapi/icons/Plus';
|