@strapi/admin 4.4.0-rc.0 → 4.4.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.
- package/admin/src/content-manager/components/DynamicZone/components/Component/index.js +19 -9
- package/admin/src/translations/en.json +1 -1
- package/build/{Admin-authenticatedApp.9dec5230.chunk.js → Admin-authenticatedApp.3a7e3b2c.chunk.js} +1 -1
- package/build/{content-manager.feb0d540.chunk.js → content-manager.66c251d0.chunk.js} +91 -91
- package/build/{content-type-builder.a684b2e8.chunk.js → content-type-builder.cc76b669.chunk.js} +7 -7
- package/build/{en-json.a9918c93.chunk.js → en-json.e936d40e.chunk.js} +1 -1
- package/build/index.html +1 -1
- package/build/{main.e4065f58.js → main.dedec9ab.js} +1 -1
- package/build/{runtime~main.4204f341.js → runtime~main.813e8901.js} +1 -1
- package/package.json +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { memo, useMemo } from 'react';
|
|
1
|
+
import React, { memo, Suspense, useMemo } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import styled from 'styled-components';
|
|
4
4
|
import isEqual from 'react-fast-compare';
|
|
@@ -8,7 +8,9 @@ import { Accordion, AccordionToggle, AccordionContent } from '@strapi/design-sys
|
|
|
8
8
|
import { IconButton } from '@strapi/design-system/IconButton';
|
|
9
9
|
import { FocusTrap } from '@strapi/design-system/FocusTrap';
|
|
10
10
|
import { Box } from '@strapi/design-system/Box';
|
|
11
|
+
import { Flex } from '@strapi/design-system/Flex';
|
|
11
12
|
import { Stack } from '@strapi/design-system/Stack';
|
|
13
|
+
import { Loader } from '@strapi/design-system/Loader';
|
|
12
14
|
import Trash from '@strapi/icons/Trash';
|
|
13
15
|
import ArrowDown from '@strapi/icons/ArrowDown';
|
|
14
16
|
import ArrowUp from '@strapi/icons/ArrowUp';
|
|
@@ -147,14 +149,22 @@ const Component = ({
|
|
|
147
149
|
/>
|
|
148
150
|
<AccordionContent>
|
|
149
151
|
<AccordionContentRadius background="neutral0">
|
|
150
|
-
<
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
152
|
+
<Suspense
|
|
153
|
+
fallback={
|
|
154
|
+
<Flex justifyContent="center" paddingTop={4} paddingBottom={4}>
|
|
155
|
+
<Loader>Loading content.</Loader>
|
|
156
|
+
</Flex>
|
|
157
|
+
}
|
|
158
|
+
>
|
|
159
|
+
<FocusTrap onEscape={() => onToggle(index)}>
|
|
160
|
+
<FieldComponent
|
|
161
|
+
componentUid={componentUid}
|
|
162
|
+
icon={icon}
|
|
163
|
+
name={`${name}.${index}`}
|
|
164
|
+
isFromDynamicZone
|
|
165
|
+
/>
|
|
166
|
+
</FocusTrap>
|
|
167
|
+
</Suspense>
|
|
158
168
|
</AccordionContentRadius>
|
|
159
169
|
</AccordionContent>
|
|
160
170
|
</Accordion>
|
|
@@ -422,7 +422,7 @@
|
|
|
422
422
|
"app.containers.Users.EditPage.roles-bloc-title": "Attributed roles",
|
|
423
423
|
"app.containers.Users.ModalForm.footer.button-success": "Invite user",
|
|
424
424
|
"app.links.configure-view": "Configure the view",
|
|
425
|
-
"app.page.not.found": "Oops! We can't seem to find the page you're
|
|
425
|
+
"app.page.not.found": "Oops! We can't seem to find the page you're looking for...",
|
|
426
426
|
"app.static.links.cheatsheet": "CheatSheet",
|
|
427
427
|
"app.utils.SelectOption.defaultMessage": " ",
|
|
428
428
|
"app.utils.add-filter": "Add filter",
|
package/build/{Admin-authenticatedApp.9dec5230.chunk.js → Admin-authenticatedApp.3a7e3b2c.chunk.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[801],{19782:(k,M,n)=>{n.r(M),n.d(M,{default:()=>tn});var e=n(32735),i=n(88425),b=n(84968),P=n(33795),X=n.n(P);const C={i8:"4.4.0
|
|
1
|
+
"use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[801],{19782:(k,M,n)=>{n.r(M),n.d(M,{default:()=>tn});var e=n(32735),i=n(88425),b=n(84968),P=n(33795),X=n.n(P);const C={i8:"4.4.0"};var $=n(775),p=n(5141),N=n(4409),D=n(74506),K=n(51968),F=n(88311),G=n.n(F),O=n(58107),T=n(19615),U=n(60216),r=n.n(U),d=n(5636),v=n(64410),E=n(54742),f=n(19192),R=n(9808),J=n(90662),Ne=n(20763),re=n(44526),Ge=n(94009),Ue=n.n(Ge);const Fe=(0,T.default)(f.Flex)`
|
|
2
2
|
position: fixed;
|
|
3
3
|
z-index: 4;
|
|
4
4
|
inset: 0;
|