@akemona-org/strapi-plugin-content-type-builder 3.7.4 → 3.7.5

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.
Files changed (36) hide show
  1. package/admin/src/InjectedComponents/ContentManager/EditSettingViewButton.js +1 -1
  2. package/admin/src/InjectedComponents/ContentManager/EditViewLink.js +1 -1
  3. package/admin/src/components/AllowedTypesSelect/MenuList.js +1 -1
  4. package/admin/src/components/AllowedTypesSelect/index.js +1 -1
  5. package/admin/src/components/AttributeOption/index.js +1 -1
  6. package/admin/src/components/BooleanBox/index.js +1 -1
  7. package/admin/src/components/ComponentIconPicker/Search.js +1 -1
  8. package/admin/src/components/ComponentIconPicker/SearchWrapper.js +1 -1
  9. package/admin/src/components/ComponentSelect/MenuList.js +1 -1
  10. package/admin/src/components/ComponentSelect/MultipleMenuList.js +1 -1
  11. package/admin/src/components/CustomLink/P.js +1 -1
  12. package/admin/src/components/List/index.js +1 -1
  13. package/admin/src/components/ListHeader/Title.js +1 -1
  14. package/admin/src/components/ListRow/Wrapper.js +1 -1
  15. package/admin/src/components/ModalHeader/index.js +1 -1
  16. package/admin/src/components/RelationForm/index.js +1 -1
  17. package/admin/src/components/RelationFormBox/Wrapper.js +1 -1
  18. package/admin/src/components/RelationFormBox/index.js +1 -1
  19. package/admin/src/components/RelationFormNaturePicker/Wrapper.js +1 -1
  20. package/admin/src/components/WrapperSelect/index.js +1 -1
  21. package/admin/src/containers/App/Wrapper.js +1 -1
  22. package/admin/src/containers/App/index.js +1 -1
  23. package/admin/src/containers/DataManagerProvider/index.js +1 -1
  24. package/admin/src/containers/FormModal/attributes/types.js +1 -1
  25. package/admin/src/containers/FormModal/attributes/validation/common.js +1 -1
  26. package/admin/src/containers/FormModal/category/createCategorySchema.js +1 -1
  27. package/admin/src/containers/FormModal/component/createComponentSchema.js +1 -1
  28. package/admin/src/containers/FormModal/contentType/createContentTypeSchema.js +1 -1
  29. package/admin/src/containers/FormModal/index.js +1 -1
  30. package/admin/src/containers/LeftMenu/Wrapper.js +1 -1
  31. package/admin/src/containers/LeftMenu/index.js +1 -1
  32. package/admin/src/containers/ListView/Wrapper.js +1 -1
  33. package/admin/src/containers/ListView/index.js +1 -1
  34. package/admin/src/containers/NotFoundPage/index.js +1 -1
  35. package/admin/src/containers/RecursivePath/index.js +1 -1
  36. package/package.json +6 -6
@@ -6,7 +6,7 @@
6
6
 
7
7
  import React from 'react';
8
8
  import PropTypes from 'prop-types';
9
- import { useGlobalContext, CheckPermissions } from 'strapi-helper-plugin';
9
+ import { useGlobalContext, CheckPermissions } from '@akemona-org/strapi-helper-plugin';
10
10
  import { get } from 'lodash';
11
11
  import { Button } from '@buffetjs/core';
12
12
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
@@ -6,7 +6,7 @@
6
6
 
7
7
  import React from 'react';
8
8
  import PropTypes from 'prop-types';
9
- import { LiLink, useGlobalContext, CheckPermissions } from 'strapi-helper-plugin';
9
+ import { LiLink, useGlobalContext, CheckPermissions } from '@akemona-org/strapi-helper-plugin';
10
10
  import pluginPermissions from '../../permissions';
11
11
 
12
12
  // Create link from content-type-builder to content-manager
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { components } from 'react-select';
4
- import { useGlobalContext } from 'strapi-helper-plugin';
4
+ import { useGlobalContext } from '@akemona-org/strapi-helper-plugin';
5
5
  import { CheckboxWrapper, Label } from '@buffetjs/styles';
6
6
  import getTrad from '../../utils/getTrad';
7
7
  import SelectCheckbox from '../SelectCheckbox';
@@ -1,7 +1,7 @@
1
1
  import React, { useRef } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import Select from 'react-select';
4
- import { useGlobalContext } from 'strapi-helper-plugin';
4
+ import { useGlobalContext } from '@akemona-org/strapi-helper-plugin';
5
5
  import { upperFirst } from 'lodash';
6
6
  import MenuList from './MenuList';
7
7
  import getTrad from '../../utils/getTrad';
@@ -9,7 +9,7 @@ import { AttributeIcon } from '@buffetjs/core';
9
9
  import PropTypes from 'prop-types';
10
10
  import { FormattedMessage } from 'react-intl';
11
11
  import { useHistory } from 'react-router-dom';
12
- import { useGlobalContext, useQuery } from 'strapi-helper-plugin';
12
+ import { useGlobalContext, useQuery } from '@akemona-org/strapi-helper-plugin';
13
13
  import getTrad from '../../utils/getTrad';
14
14
  import makeSearch from '../../utils/makeSearch';
15
15
  import Button from './Button';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { useGlobalContext } from 'strapi-helper-plugin';
3
+ import { useGlobalContext } from '@akemona-org/strapi-helper-plugin';
4
4
  import { Flex } from '@buffetjs/core';
5
5
  import styled from 'styled-components';
6
6
  import CTIcon from './CT';
@@ -1,6 +1,6 @@
1
1
  import styled from 'styled-components';
2
2
 
3
- import { colors } from 'strapi-helper-plugin';
3
+ import { colors } from '@akemona-org/strapi-helper-plugin';
4
4
 
5
5
  const Search = styled.input`
6
6
  width: 100%;
@@ -1,5 +1,5 @@
1
1
  import styled from 'styled-components';
2
- import { colors } from 'strapi-helper-plugin';
2
+ import { colors } from '@akemona-org/strapi-helper-plugin';
3
3
 
4
4
  const SearchWrapper = styled.div`
5
5
  position: relative;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { components } from 'react-select';
4
4
  import { upperFirst } from 'lodash';
5
- import { useQuery } from 'strapi-helper-plugin';
5
+ import { useQuery } from '@akemona-org/strapi-helper-plugin';
6
6
  import useDataManager from '../../hooks/useDataManager';
7
7
  import Ul from '../SelectMenuUl';
8
8
  import Category from './Category';
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
3
3
  import { components } from 'react-select';
4
4
  import { FormattedMessage } from 'react-intl';
5
5
  import { get } from 'lodash';
6
- import { useQuery } from 'strapi-helper-plugin';
6
+ import { useQuery } from '@akemona-org/strapi-helper-plugin';
7
7
  import { CheckboxWrapper, Label } from '@buffetjs/styles';
8
8
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
9
9
  import useDataManager from '../../hooks/useDataManager';
@@ -1,5 +1,5 @@
1
1
  import styled from 'styled-components';
2
- import { colors } from 'strapi-helper-plugin';
2
+ import { colors } from '@akemona-org/strapi-helper-plugin';
3
3
 
4
4
  const P = styled.p`
5
5
  color: ${colors.blue};
@@ -8,7 +8,7 @@
8
8
  import React from 'react';
9
9
  import PropTypes from 'prop-types';
10
10
  import { get } from 'lodash';
11
- import { useGlobalContext, ListButton } from 'strapi-helper-plugin';
11
+ import { useGlobalContext, ListButton } from '@akemona-org/strapi-helper-plugin';
12
12
  import { Button } from '@buffetjs/core';
13
13
  import { Plus } from '@buffetjs/icons';
14
14
 
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  import styled from 'styled-components';
8
- import { colors } from 'strapi-helper-plugin';
8
+ import { colors } from '@akemona-org/strapi-helper-plugin';
9
9
 
10
10
  const Title = styled.p`
11
11
  margin-bottom: 0;
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  import styled from 'styled-components';
8
- import { colors } from 'strapi-helper-plugin';
8
+ import { colors } from '@akemona-org/strapi-helper-plugin';
9
9
 
10
10
  /* eslint-disable indent */
11
11
 
@@ -1,6 +1,6 @@
1
1
  import React, { Fragment } from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { HeaderModalTitle } from 'strapi-helper-plugin';
3
+ import { HeaderModalTitle } from '@akemona-org/strapi-helper-plugin';
4
4
  import { get } from 'lodash';
5
5
  import { FormattedMessage } from 'react-intl';
6
6
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { get, isEmpty } from 'lodash';
4
- import { useGlobalContext } from 'strapi-helper-plugin';
4
+ import { useGlobalContext } from '@akemona-org/strapi-helper-plugin';
5
5
  import RelationFormBox from '../RelationFormBox';
6
6
  import RelationFormNaturePicker from '../RelationFormNaturePicker';
7
7
  import Wrapper from './Wrapper';
@@ -1,6 +1,6 @@
1
1
  import styled from 'styled-components';
2
2
 
3
- import { colors } from 'strapi-helper-plugin';
3
+ import { colors } from '@akemona-org/strapi-helper-plugin';
4
4
 
5
5
  const Wrapper = styled.div`
6
6
  width: 22rem;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { Inputs } from '@buffetjs/custom';
4
4
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
5
- import { useGlobalContext } from 'strapi-helper-plugin';
5
+ import { useGlobalContext } from '@akemona-org/strapi-helper-plugin';
6
6
  import getTrad from '../../utils/getTrad';
7
7
  import RelationTargetPicker from '../RelationTargetPicker';
8
8
  import Wrapper from './Wrapper';
@@ -1,6 +1,6 @@
1
1
  import styled from 'styled-components';
2
2
 
3
- import { colors } from 'strapi-helper-plugin';
3
+ import { colors } from '@akemona-org/strapi-helper-plugin';
4
4
 
5
5
  const StyledRelationNaturePicker = styled.div`
6
6
  position: relative;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { SelectWrapper, SelectNav } from 'strapi-helper-plugin';
3
+ import { SelectWrapper, SelectNav } from '@akemona-org/strapi-helper-plugin';
4
4
  import { ErrorMessage } from '@buffetjs/styles';
5
5
  import AllowedTypesSelect from '../AllowedTypesSelect';
6
6
  import ComponentSelect from '../ComponentSelect';
@@ -1,6 +1,6 @@
1
1
  import styled from 'styled-components';
2
2
 
3
- import { sizes } from 'strapi-helper-plugin';
3
+ import { sizes } from '@akemona-org/strapi-helper-plugin';
4
4
 
5
5
  const Wrapper = styled.div`
6
6
  min-height: calc(100vh - ${sizes.header.height});
@@ -6,7 +6,7 @@
6
6
 
7
7
  import React, { Suspense, lazy } from 'react';
8
8
  import { Switch, Route } from 'react-router-dom';
9
- import { LoadingIndicatorPage, CheckPagePermissions } from 'strapi-helper-plugin';
9
+ import { LoadingIndicatorPage, CheckPagePermissions } from '@akemona-org/strapi-helper-plugin';
10
10
  import pluginPermissions from '../../permissions';
11
11
  import pluginId from '../../pluginId';
12
12
  import DataManagerProvider from '../DataManagerProvider';
@@ -8,7 +8,7 @@ import {
8
8
  PopUpWarning,
9
9
  useStrapi,
10
10
  useUser,
11
- } from 'strapi-helper-plugin';
11
+ } from '@akemona-org/strapi-helper-plugin';
12
12
  import { useHistory, useLocation, useRouteMatch, Redirect } from 'react-router-dom';
13
13
  import { connect, useDispatch } from 'react-redux';
14
14
  import { compose } from 'redux';
@@ -1,5 +1,5 @@
1
1
  import * as yup from 'yup';
2
- import { translatedErrors as errorsTrads } from 'strapi-helper-plugin';
2
+ import { translatedErrors as errorsTrads } from '@akemona-org/strapi-helper-plugin';
3
3
  import getTrad from '../../../utils/getTrad';
4
4
  import {
5
5
  alreadyUsedAttributeNames,
@@ -1,6 +1,6 @@
1
1
  import * as yup from 'yup';
2
2
  import { get, toNumber } from 'lodash';
3
- import { translatedErrors as errorsTrads } from 'strapi-helper-plugin';
3
+ import { translatedErrors as errorsTrads } from '@akemona-org/strapi-helper-plugin';
4
4
  import getTrad from '../../../../utils/getTrad';
5
5
 
6
6
  const NAME_REGEX = new RegExp('^[A-Za-z][_0-9A-Za-z]*$');
@@ -1,6 +1,6 @@
1
1
  import * as yup from 'yup';
2
2
  import { toLower } from 'lodash';
3
- import { translatedErrors as errorsTrads } from 'strapi-helper-plugin';
3
+ import { translatedErrors as errorsTrads } from '@akemona-org/strapi-helper-plugin';
4
4
  import CATEGORY_NAME_REGEX from './regex';
5
5
 
6
6
  const createCategorySchema = (usedCategoryNames) => {
@@ -1,6 +1,6 @@
1
1
  import * as yup from 'yup';
2
2
  import { toLower, trim } from 'lodash';
3
- import { translatedErrors as errorsTrads } from 'strapi-helper-plugin';
3
+ import { translatedErrors as errorsTrads } from '@akemona-org/strapi-helper-plugin';
4
4
  import getTrad from '../../../utils/getTrad';
5
5
  import { createComponentUid } from '../utils/createUid';
6
6
  import { CATEGORY_NAME_REGEX } from '../category';
@@ -1,6 +1,6 @@
1
1
  import * as yup from 'yup';
2
2
  import { toLower, trim } from 'lodash';
3
- import { translatedErrors as errorsTrads } from 'strapi-helper-plugin';
3
+ import { translatedErrors as errorsTrads } from '@akemona-org/strapi-helper-plugin';
4
4
  import getTrad from '../../../utils/getTrad';
5
5
  import { createUid } from '../utils/createUid';
6
6
 
@@ -12,7 +12,7 @@ import {
12
12
  useQuery,
13
13
  useStrapi,
14
14
  InputsIndex,
15
- } from 'strapi-helper-plugin';
15
+ } from '@akemona-org/strapi-helper-plugin';
16
16
  import { Button, Text, Padded } from '@buffetjs/core';
17
17
  import { Inputs } from '@buffetjs/custom';
18
18
  import { useHistory, useLocation } from 'react-router-dom';
@@ -1,6 +1,6 @@
1
1
  import styled from 'styled-components';
2
2
 
3
- import { colors, sizes } from 'strapi-helper-plugin';
3
+ import { colors, sizes } from '@akemona-org/strapi-helper-plugin';
4
4
 
5
5
  const Wrapper = styled.div`
6
6
  width: 100%;
@@ -8,7 +8,7 @@ import React, { useMemo } from 'react';
8
8
  import PropTypes from 'prop-types';
9
9
  import { sortBy, camelCase, upperFirst } from 'lodash';
10
10
  import { useHistory } from 'react-router-dom';
11
- import { LeftMenuList, useGlobalContext } from 'strapi-helper-plugin';
11
+ import { LeftMenuList, useGlobalContext } from '@akemona-org/strapi-helper-plugin';
12
12
  import { Text } from '@buffetjs/core';
13
13
  import pluginId from '../../pluginId';
14
14
  import getTrad from '../../utils/getTrad';
@@ -1,5 +1,5 @@
1
1
  import styled from 'styled-components';
2
- import { ViewContainer } from 'strapi-helper-plugin';
2
+ import { ViewContainer } from '@akemona-org/strapi-helper-plugin';
3
3
 
4
4
  const Wrapper = styled(ViewContainer)`
5
5
  .button-secondary {
@@ -2,7 +2,7 @@ import React, { useEffect, useMemo, useState } from 'react';
2
2
  import { Prompt, useHistory, useLocation } from 'react-router-dom';
3
3
  import PropTypes from 'prop-types';
4
4
  import { get, has, isEqual } from 'lodash';
5
- import { BackHeader, ListWrapper, useGlobalContext } from 'strapi-helper-plugin';
5
+ import { BackHeader, ListWrapper, useGlobalContext } from '@akemona-org/strapi-helper-plugin';
6
6
  import { Header } from '@buffetjs/custom';
7
7
  import ListViewContext from '../../contexts/ListViewContext';
8
8
  import convertAttrObjToArray from '../../utils/convertAttrObjToArray';
@@ -11,7 +11,7 @@
11
11
 
12
12
  import React from 'react';
13
13
 
14
- import { NotFound } from 'strapi-helper-plugin';
14
+ import { NotFound } from '@akemona-org/strapi-helper-plugin';
15
15
 
16
16
  function NotFoundPage(props) {
17
17
  return <NotFound {...props} />;
@@ -1,6 +1,6 @@
1
1
  import React, { Suspense, lazy } from 'react';
2
2
  import { Switch, Route, useRouteMatch, useParams } from 'react-router-dom';
3
- import { LoadingIndicatorPage } from 'strapi-helper-plugin';
3
+ import { LoadingIndicatorPage } from '@akemona-org/strapi-helper-plugin';
4
4
 
5
5
  const ListView = lazy(() => import('../ListView'));
6
6
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.7.4",
6
+ "version": "3.7.5",
7
7
  "description": "Strapi plugin to create content type (API).",
8
8
  "strapi": {
9
9
  "name": "Content Type Builder",
@@ -11,10 +11,10 @@
11
11
  "description": "content-type-builder.plugin.description"
12
12
  },
13
13
  "dependencies": {
14
- "@akemona-org/strapi-generate": "3.7.4",
15
- "@akemona-org/strapi-generate-api": "3.7.4",
16
- "@akemona-org/strapi-helper-plugin": "3.7.4",
17
- "@akemona-org/strapi-utils": "3.7.4",
14
+ "@akemona-org/strapi-generate": "3.7.5",
15
+ "@akemona-org/strapi-generate-api": "3.7.5",
16
+ "@akemona-org/strapi-helper-plugin": "3.7.5",
17
+ "@akemona-org/strapi-utils": "3.7.5",
18
18
  "@buffetjs/core": "3.3.8",
19
19
  "@buffetjs/custom": "3.3.8",
20
20
  "@buffetjs/hooks": "3.3.8",
@@ -59,5 +59,5 @@
59
59
  "npm": ">=6.0.0"
60
60
  },
61
61
  "license": "SEE LICENSE IN LICENSE",
62
- "gitHead": "a627972678ce3f460d6b1786adb976f1d3a7c35d"
62
+ "gitHead": "c248936761bebd2fe75189c248a761c95a091fe0"
63
63
  }