mirror of
https://github.com/strapi/strapi.git
synced 2025-12-25 14:14:10 +00:00
Bumping buffet and fixing list radius (#9911)
This commit is contained in:
parent
e3790eba15
commit
a7f4bcbcfe
@ -24,12 +24,12 @@
|
||||
"@babel/preset-env": "^7.13.8",
|
||||
"@babel/preset-react": "^7.12.13",
|
||||
"@babel/runtime": "^7.13.10",
|
||||
"@buffetjs/core": "3.3.5-next.2",
|
||||
"@buffetjs/custom": "3.3.5-next.2",
|
||||
"@buffetjs/hooks": "3.3.5-next.2",
|
||||
"@buffetjs/icons": "3.3.5-next.2",
|
||||
"@buffetjs/styles": "3.3.5-next.2",
|
||||
"@buffetjs/utils": "3.3.5-next.2",
|
||||
"@buffetjs/core": "3.3.5-next.3",
|
||||
"@buffetjs/custom": "3.3.5-next.3",
|
||||
"@buffetjs/hooks": "3.3.5-next.3",
|
||||
"@buffetjs/icons": "3.3.5-next.3",
|
||||
"@buffetjs/styles": "3.3.5-next.3",
|
||||
"@buffetjs/utils": "3.3.5-next.3",
|
||||
"@casl/ability": "^4.1.5",
|
||||
"@fingerprintjs/fingerprintjs": "3.0.6",
|
||||
"@fortawesome/fontawesome-free": "^5.15.2",
|
||||
|
||||
@ -50,12 +50,12 @@
|
||||
"rollup-plugin-terser": "^4.0.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@buffetjs/core": "3.3.5-next.2",
|
||||
"@buffetjs/custom": "3.3.5-next.2",
|
||||
"@buffetjs/hooks": "3.3.5-next.2",
|
||||
"@buffetjs/icons": "3.3.5-next.2",
|
||||
"@buffetjs/styles": "3.3.5-next.2",
|
||||
"@buffetjs/utils": "3.3.5-next.2",
|
||||
"@buffetjs/core": "3.3.5-next.3",
|
||||
"@buffetjs/custom": "3.3.5-next.3",
|
||||
"@buffetjs/hooks": "3.3.5-next.3",
|
||||
"@buffetjs/icons": "3.3.5-next.3",
|
||||
"@buffetjs/styles": "3.3.5-next.3",
|
||||
"@buffetjs/utils": "3.3.5-next.3",
|
||||
"@fortawesome/fontawesome-free": "^5.15.2",
|
||||
"@fortawesome/fontawesome-svg-core": "^1.2.35",
|
||||
"@fortawesome/free-brands-svg-icons": "^5.15.2",
|
||||
|
||||
@ -9,12 +9,12 @@
|
||||
"required": true
|
||||
},
|
||||
"dependencies": {
|
||||
"@buffetjs/core": "3.3.5-next.2",
|
||||
"@buffetjs/custom": "3.3.5-next.2",
|
||||
"@buffetjs/hooks": "3.3.5-next.2",
|
||||
"@buffetjs/icons": "3.3.5-next.2",
|
||||
"@buffetjs/styles": "3.3.5-next.2",
|
||||
"@buffetjs/utils": "3.3.5-next.2",
|
||||
"@buffetjs/core": "3.3.5-next.3",
|
||||
"@buffetjs/custom": "3.3.5-next.3",
|
||||
"@buffetjs/hooks": "3.3.5-next.3",
|
||||
"@buffetjs/icons": "3.3.5-next.3",
|
||||
"@buffetjs/styles": "3.3.5-next.3",
|
||||
"@buffetjs/utils": "3.3.5-next.3",
|
||||
"@sindresorhus/slugify": "1.1.0",
|
||||
"classnames": "^2.2.6",
|
||||
"codemirror": "^5.59.4",
|
||||
|
||||
@ -8,12 +8,12 @@
|
||||
"description": "content-type-builder.plugin.description"
|
||||
},
|
||||
"dependencies": {
|
||||
"@buffetjs/core": "3.3.5-next.2",
|
||||
"@buffetjs/custom": "3.3.5-next.2",
|
||||
"@buffetjs/hooks": "3.3.5-next.2",
|
||||
"@buffetjs/icons": "3.3.5-next.2",
|
||||
"@buffetjs/styles": "3.3.5-next.2",
|
||||
"@buffetjs/utils": "3.3.5-next.2",
|
||||
"@buffetjs/core": "3.3.5-next.3",
|
||||
"@buffetjs/custom": "3.3.5-next.3",
|
||||
"@buffetjs/hooks": "3.3.5-next.3",
|
||||
"@buffetjs/icons": "3.3.5-next.3",
|
||||
"@buffetjs/styles": "3.3.5-next.3",
|
||||
"@buffetjs/utils": "3.3.5-next.3",
|
||||
"@sindresorhus/slugify": "1.1.0",
|
||||
"fs-extra": "^9.1.0",
|
||||
"immutable": "^3.8.2",
|
||||
|
||||
@ -11,12 +11,12 @@
|
||||
"test": "echo \"no tests yet\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@buffetjs/core": "3.3.5-next.2",
|
||||
"@buffetjs/custom": "3.3.5-next.2",
|
||||
"@buffetjs/hooks": "3.3.5-next.2",
|
||||
"@buffetjs/icons": "3.3.5-next.2",
|
||||
"@buffetjs/styles": "3.3.5-next.2",
|
||||
"@buffetjs/utils": "3.3.5-next.2",
|
||||
"@buffetjs/core": "3.3.5-next.3",
|
||||
"@buffetjs/custom": "3.3.5-next.3",
|
||||
"@buffetjs/hooks": "3.3.5-next.3",
|
||||
"@buffetjs/icons": "3.3.5-next.3",
|
||||
"@buffetjs/styles": "3.3.5-next.3",
|
||||
"@buffetjs/utils": "3.3.5-next.3",
|
||||
"cheerio": "^1.0.0-rc.5",
|
||||
"fs-extra": "^9.1.0",
|
||||
"immutable": "^3.8.2",
|
||||
|
||||
@ -5,7 +5,6 @@ import { List } from '@buffetjs/custom';
|
||||
import { Button } from '@buffetjs/core';
|
||||
import { Plus } from '@buffetjs/icons';
|
||||
import PropTypes from 'prop-types';
|
||||
import styled from 'styled-components';
|
||||
import useLocales from '../../hooks/useLocales';
|
||||
import LocaleRow from '../LocaleRow';
|
||||
import { getTrad } from '../../utils';
|
||||
@ -13,11 +12,6 @@ import ModalEdit from '../ModalEdit';
|
||||
import ModalDelete from '../ModalDelete';
|
||||
import ModalCreate from '../ModalCreate';
|
||||
|
||||
const LocaleListWrapper = styled.div`
|
||||
border-radius: 2px;
|
||||
overflow: hidden;
|
||||
`;
|
||||
|
||||
const LocaleList = ({ canUpdateLocale, canDeleteLocale, onToggleCreateModal, isCreating }) => {
|
||||
const [localeToDelete, setLocaleToDelete] = useState();
|
||||
const [localeToEdit, setLocaleToEdit] = useState();
|
||||
@ -47,8 +41,9 @@ const LocaleList = ({ canUpdateLocale, canDeleteLocale, onToggleCreateModal, isC
|
||||
);
|
||||
|
||||
return (
|
||||
<LocaleListWrapper>
|
||||
<>
|
||||
<List
|
||||
radius="2px"
|
||||
title={listTitle}
|
||||
items={locales}
|
||||
isLoading={isLoading}
|
||||
@ -60,7 +55,7 @@ const LocaleList = ({ canUpdateLocale, canDeleteLocale, onToggleCreateModal, isC
|
||||
<ModalCreate isOpened={isCreating} onClose={onToggleCreateModal} />
|
||||
<ModalDelete localeToDelete={localeToDelete} onClose={closeModalToDelete} />
|
||||
<ModalEdit localeToEdit={localeToEdit} onClose={closeModalToEdit} locales={locales} />
|
||||
</LocaleListWrapper>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@ -12,12 +12,12 @@
|
||||
"test": "echo \"no tests yet\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@buffetjs/core": "3.3.5-next.2",
|
||||
"@buffetjs/custom": "3.3.5-next.2",
|
||||
"@buffetjs/hooks": "3.3.5-next.2",
|
||||
"@buffetjs/icons": "3.3.5-next.2",
|
||||
"@buffetjs/styles": "3.3.5-next.2",
|
||||
"@buffetjs/utils": "3.3.5-next.2",
|
||||
"@buffetjs/core": "3.3.5-next.3",
|
||||
"@buffetjs/custom": "3.3.5-next.3",
|
||||
"@buffetjs/hooks": "3.3.5-next.3",
|
||||
"@buffetjs/icons": "3.3.5-next.3",
|
||||
"@buffetjs/styles": "3.3.5-next.3",
|
||||
"@buffetjs/utils": "3.3.5-next.3",
|
||||
"byte-size": "^7.0.1",
|
||||
"cropperjs": "^1.5.11",
|
||||
"immer": "^8.0.1",
|
||||
|
||||
@ -12,12 +12,12 @@
|
||||
"test": "echo \"no tests yet\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@buffetjs/core": "3.3.5-next.2",
|
||||
"@buffetjs/custom": "3.3.5-next.2",
|
||||
"@buffetjs/hooks": "3.3.5-next.2",
|
||||
"@buffetjs/icons": "3.3.5-next.2",
|
||||
"@buffetjs/styles": "3.3.5-next.2",
|
||||
"@buffetjs/utils": "3.3.5-next.2",
|
||||
"@buffetjs/core": "3.3.5-next.3",
|
||||
"@buffetjs/custom": "3.3.5-next.3",
|
||||
"@buffetjs/hooks": "3.3.5-next.3",
|
||||
"@buffetjs/icons": "3.3.5-next.3",
|
||||
"@buffetjs/styles": "3.3.5-next.3",
|
||||
"@buffetjs/utils": "3.3.5-next.3",
|
||||
"@purest/providers": "^1.0.2",
|
||||
"bcryptjs": "^2.4.3",
|
||||
"grant-koa": "5.4.8",
|
||||
|
||||
62
yarn.lock
62
yarn.lock
@ -1114,15 +1114,15 @@
|
||||
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
|
||||
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
|
||||
|
||||
"@buffetjs/core@3.3.5-next.2":
|
||||
version "3.3.5-next.2"
|
||||
resolved "https://registry.yarnpkg.com/@buffetjs/core/-/core-3.3.5-next.2.tgz#57d52a8bc6c94a0daf4c4b5e34f117cf7925f7da"
|
||||
integrity sha512-aCKg8OuvucPL/UQ24lvnAWxb5eYIu8fPjDXtsrAyLR61hLPxu+m72KiP3yKjeSnsjHHddoXoMVU4tTXrp7tgPw==
|
||||
"@buffetjs/core@3.3.5-next.3":
|
||||
version "3.3.5-next.3"
|
||||
resolved "https://registry.yarnpkg.com/@buffetjs/core/-/core-3.3.5-next.3.tgz#80a056f4023381fe211008563b053efec927588a"
|
||||
integrity sha512-wSGjtAZogMP/cIktTmfnp7ALjbTbVdRy7GkMxLaVdjdV1cTpdb3+jvRK6ayPz/ZSMWpo22k01UuoR9W+iHSI8A==
|
||||
dependencies:
|
||||
"@buffetjs/hooks" "3.3.5-next.2"
|
||||
"@buffetjs/icons" "3.3.5-next.2"
|
||||
"@buffetjs/styles" "3.3.5-next.2"
|
||||
"@buffetjs/utils" "3.3.5-next.2"
|
||||
"@buffetjs/hooks" "3.3.5-next.3"
|
||||
"@buffetjs/icons" "3.3.5-next.3"
|
||||
"@buffetjs/styles" "3.3.5-next.3"
|
||||
"@buffetjs/utils" "3.3.5-next.3"
|
||||
"@fortawesome/fontawesome-svg-core" "^1.2.25"
|
||||
"@fortawesome/free-regular-svg-icons" "^5.11.2"
|
||||
"@fortawesome/free-solid-svg-icons" "^5.11.2"
|
||||
@ -1138,35 +1138,35 @@
|
||||
react-with-direction "^1.3.1"
|
||||
reactstrap "^8.5.1"
|
||||
|
||||
"@buffetjs/custom@3.3.5-next.2":
|
||||
version "3.3.5-next.2"
|
||||
resolved "https://registry.yarnpkg.com/@buffetjs/custom/-/custom-3.3.5-next.2.tgz#c61f83f5f9492d8a035dcdc70d8ee59b230d8e21"
|
||||
integrity sha512-spYulBeJNmbK1aNZS/ZuBQ+3aqOfj9rEchDLT0NrzQxOBSYglFkewhIUe2INNOrxw4tQYWjeYF+xEj8+E7wS7w==
|
||||
"@buffetjs/custom@3.3.5-next.3":
|
||||
version "3.3.5-next.3"
|
||||
resolved "https://registry.yarnpkg.com/@buffetjs/custom/-/custom-3.3.5-next.3.tgz#088eeea3d5a9836d2521c06e710539e5954e2fd7"
|
||||
integrity sha512-ICxV8C43tZaWx03sZgM3YNeAEtTTzRlWMmlQ4SNWB6xwt/zUeFGRmWMZWDjM2obWJDbygUtUwOWT/m/EYpCSuQ==
|
||||
dependencies:
|
||||
"@buffetjs/core" "3.3.5-next.2"
|
||||
"@buffetjs/styles" "3.3.5-next.2"
|
||||
"@buffetjs/utils" "3.3.5-next.2"
|
||||
"@buffetjs/core" "3.3.5-next.3"
|
||||
"@buffetjs/styles" "3.3.5-next.3"
|
||||
"@buffetjs/utils" "3.3.5-next.3"
|
||||
lodash "4.17.20"
|
||||
moment "^2.24.0"
|
||||
prop-types "^15.5.10"
|
||||
react-moment-proptypes "^1.7.0"
|
||||
|
||||
"@buffetjs/hooks@3.3.5-next.2":
|
||||
version "3.3.5-next.2"
|
||||
resolved "https://registry.yarnpkg.com/@buffetjs/hooks/-/hooks-3.3.5-next.2.tgz#790acf996fe8204543a043a4f437e454e8a5dff5"
|
||||
integrity sha512-s8d0Kcon/HDkwnjsba6m78+TtHcQQnAB70d2ew8i9cgqIY2ywrEiSiTJZLgNmmBb2b734bg8OJww4tXQznMDTw==
|
||||
"@buffetjs/hooks@3.3.5-next.3":
|
||||
version "3.3.5-next.3"
|
||||
resolved "https://registry.yarnpkg.com/@buffetjs/hooks/-/hooks-3.3.5-next.3.tgz#0e8b8338376bec07380c0b95b0242afc55f5e997"
|
||||
integrity sha512-YT7VYS35D3JM8G6Pe8ja+16vXzfcorCUKgZYqAqw9pppKd4zoAE244h7Xo8oOKD8zj/Sr5zbkHaKJFXvZEIaoQ==
|
||||
|
||||
"@buffetjs/icons@3.3.5-next.2":
|
||||
version "3.3.5-next.2"
|
||||
resolved "https://registry.yarnpkg.com/@buffetjs/icons/-/icons-3.3.5-next.2.tgz#a40ee6871143dabd3005ce2707ff1d2892594574"
|
||||
integrity sha512-LEppEA0xeu2pd4uYQRYbRS1bkHia0p8m/IH6dTBj8l5cNeduny+12FLx7LnMr0shv3XvWZHwvCQomqYW1GsDhw==
|
||||
"@buffetjs/icons@3.3.5-next.3":
|
||||
version "3.3.5-next.3"
|
||||
resolved "https://registry.yarnpkg.com/@buffetjs/icons/-/icons-3.3.5-next.3.tgz#a1d3555aafbdccc0ea4859f5563b241bd384b861"
|
||||
integrity sha512-GQtup1le2oUWtsaELKzT+xWC0Y+vGKegCfPENnqfpiklK7rcSMyfQ0CbdIiYq/qWlq1LNoUTg3KeGj7h9JjDWQ==
|
||||
dependencies:
|
||||
prop-types "^15.5.10"
|
||||
|
||||
"@buffetjs/styles@3.3.5-next.2":
|
||||
version "3.3.5-next.2"
|
||||
resolved "https://registry.yarnpkg.com/@buffetjs/styles/-/styles-3.3.5-next.2.tgz#ffd5ee0b37f7b4275fcac5bd6c07c41a93077e35"
|
||||
integrity sha512-YzZRsTlRONweWt2SUxyfy3YAVnuIVHqxfxWh+NqRDOEMHX8Vyi7GqNVoF9RldJSuoTUS+CRY+73wG6jBrXhHHg==
|
||||
"@buffetjs/styles@3.3.5-next.3":
|
||||
version "3.3.5-next.3"
|
||||
resolved "https://registry.yarnpkg.com/@buffetjs/styles/-/styles-3.3.5-next.3.tgz#6826f23beb56657ef18560a80ab248241bbd310f"
|
||||
integrity sha512-c06EvgYhVwuoNorwcb+/tzcaF+JGwPmvMkTkJ24wyZZj+o+5WOeqjBtFtcrx5BjdWfKpxRajnNPaEjdHvFBU0w==
|
||||
dependencies:
|
||||
"@fortawesome/fontawesome-free" "^5.12.0"
|
||||
"@fortawesome/fontawesome-svg-core" "^1.2.22"
|
||||
@ -1177,10 +1177,10 @@
|
||||
react-dates "^21.1.0"
|
||||
react-tooltip "^4.2.11"
|
||||
|
||||
"@buffetjs/utils@3.3.5-next.2":
|
||||
version "3.3.5-next.2"
|
||||
resolved "https://registry.yarnpkg.com/@buffetjs/utils/-/utils-3.3.5-next.2.tgz#8710eda8121bb736d75d1b18da4f6a6f8e08e3f8"
|
||||
integrity sha512-BthfCmNFpO/XY4mphP4zZziikE+609MKNfYkQ4c3goP2utP2s6ZuaGudhgNC0Q9OI4RGC3Gn7oKHTsEd+g8/Ww==
|
||||
"@buffetjs/utils@3.3.5-next.3":
|
||||
version "3.3.5-next.3"
|
||||
resolved "https://registry.yarnpkg.com/@buffetjs/utils/-/utils-3.3.5-next.3.tgz#5d1c36872906134ded093415187a11f9eed35d47"
|
||||
integrity sha512-1Ecc5tMBfuG4S/1Jl7E8yNChbCsiaJDaVqUu9nTKDNCBsVthIHxHQNVo+e8B9rkVGXx4sS/BCW6BC8wjRDGpNg==
|
||||
dependencies:
|
||||
lodash "4.17.20"
|
||||
yup "^0.27.0"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user