@commercetools-frontend/application-components 21.0.0-rc.1 → 21.1.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/README.md
CHANGED
|
@@ -4,17 +4,4 @@
|
|
|
4
4
|
<a href="https://www.npmjs.com/package/@commercetools-frontend/application-components"><img src="https://badgen.net/npm/v/@commercetools-frontend/application-components" alt="Latest release (latest dist-tag)" /></a> <a href="https://www.npmjs.com/package/@commercetools-frontend/application-components"><img src="https://badgen.net/npm/v/@commercetools-frontend/application-components/next" alt="Latest release (next dist-tag)" /></a> <a href="https://bundlephobia.com/result?p=@commercetools-frontend/application-components"><img src="https://badgen.net/bundlephobia/minzip/@commercetools-frontend/application-components" alt="Minified + GZipped size" /></a> <a href="https://github.com/commercetools/merchant-center-application-kit/blob/main/LICENSE"><img src="https://badgen.net/github/license/commercetools/merchant-center-application-kit" alt="GitHub license" /></a>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
The components follow the same principles of the [UIKit](https://github.com/commercetools/ui-kit) components, but are more specific to Merchant Center applications.
|
|
9
|
-
|
|
10
|
-
## Install
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
$ npm install --save @commercetools-frontend/application-components
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Usage outside of Custom Applications
|
|
17
|
-
|
|
18
|
-
If you happen to use some of the components outside of a Custom Application, you need to additionally render the `<PortalsContainer>`.
|
|
19
|
-
|
|
20
|
-
The `<PortalsContainer>` renders an empty HTML element with a specific identifier and is used to render all modal components (dialogs, modal pages, etc.). Make sure to render this component once in your application.
|
|
7
|
+
Check out the [documentation](https://docs.commercetools.com/custom-applications/api-reference/commercetools-frontend-application-components) for more information.
|
|
@@ -69,7 +69,7 @@ var PageNotFoundSVG__default = /*#__PURE__*/_interopDefault(PageNotFoundSVG);
|
|
|
69
69
|
var FailedAuthorizationSVG__default = /*#__PURE__*/_interopDefault(FailedAuthorizationSVG);
|
|
70
70
|
|
|
71
71
|
// NOTE: This string will be replaced on build time with the package version.
|
|
72
|
-
var version = "21.
|
|
72
|
+
var version = "21.1.0";
|
|
73
73
|
|
|
74
74
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$8() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
75
75
|
|
|
@@ -68,7 +68,7 @@ var PageNotFoundSVG__default = /*#__PURE__*/_interopDefault(PageNotFoundSVG);
|
|
|
68
68
|
var FailedAuthorizationSVG__default = /*#__PURE__*/_interopDefault(FailedAuthorizationSVG);
|
|
69
69
|
|
|
70
70
|
// NOTE: This string will be replaced on build time with the package version.
|
|
71
|
-
var version = "21.
|
|
71
|
+
var version = "21.1.0";
|
|
72
72
|
|
|
73
73
|
var getConstraintForGridStyle = function getConstraintForGridStyle(size) {
|
|
74
74
|
switch (size) {
|
|
@@ -36,7 +36,7 @@ import PageNotFoundSVG from '@commercetools-frontend/assets/images/desert-fox.sv
|
|
|
36
36
|
import FailedAuthorizationSVG from '@commercetools-frontend/assets/images/folder-full-locked.svg';
|
|
37
37
|
|
|
38
38
|
// NOTE: This string will be replaced on build time with the package version.
|
|
39
|
-
var version = "21.
|
|
39
|
+
var version = "21.1.0";
|
|
40
40
|
|
|
41
41
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$8() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
42
42
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-components",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.1.0",
|
|
4
4
|
"description": "Generic components for building Merchant Center applications",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "https://github.com/commercetools/merchant-center-application-kit.git",
|
|
9
9
|
"directory": "packages/application-components"
|
|
10
10
|
},
|
|
11
|
-
"homepage": "https://docs.commercetools.com/custom-applications",
|
|
11
|
+
"homepage": "https://docs.commercetools.com/custom-applications/api-reference/commercetools-frontend-application-components",
|
|
12
12
|
"keywords": ["javascript", "frontend", "react", "toolkit"],
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"publishConfig": {
|
|
@@ -29,23 +29,23 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@babel/runtime": "^7.16.7",
|
|
31
31
|
"@babel/runtime-corejs3": "^7.16.8",
|
|
32
|
-
"@commercetools-frontend/application-shell-connectors": "21.0.0
|
|
33
|
-
"@commercetools-frontend/assets": "21.0.0
|
|
34
|
-
"@commercetools-frontend/constants": "21.0.0
|
|
35
|
-
"@commercetools-frontend/i18n": "21.
|
|
36
|
-
"@commercetools-frontend/l10n": "21.0.0
|
|
37
|
-
"@commercetools-uikit/card": "^
|
|
38
|
-
"@commercetools-uikit/constraints": "^
|
|
39
|
-
"@commercetools-uikit/design-system": "^
|
|
40
|
-
"@commercetools-uikit/flat-button": "^
|
|
41
|
-
"@commercetools-uikit/icon-button": "^
|
|
42
|
-
"@commercetools-uikit/icons": "^
|
|
43
|
-
"@commercetools-uikit/messages": "^
|
|
44
|
-
"@commercetools-uikit/primary-button": "^
|
|
45
|
-
"@commercetools-uikit/secondary-button": "^
|
|
46
|
-
"@commercetools-uikit/secondary-icon-button": "^
|
|
47
|
-
"@commercetools-uikit/spacings": "^
|
|
48
|
-
"@commercetools-uikit/text": "^
|
|
32
|
+
"@commercetools-frontend/application-shell-connectors": "21.0.0",
|
|
33
|
+
"@commercetools-frontend/assets": "21.0.0",
|
|
34
|
+
"@commercetools-frontend/constants": "21.0.0",
|
|
35
|
+
"@commercetools-frontend/i18n": "21.1.0",
|
|
36
|
+
"@commercetools-frontend/l10n": "21.0.0",
|
|
37
|
+
"@commercetools-uikit/card": "^13.0.2",
|
|
38
|
+
"@commercetools-uikit/constraints": "^13.0.2",
|
|
39
|
+
"@commercetools-uikit/design-system": "^13.0.0",
|
|
40
|
+
"@commercetools-uikit/flat-button": "^13.0.2",
|
|
41
|
+
"@commercetools-uikit/icon-button": "^13.0.2",
|
|
42
|
+
"@commercetools-uikit/icons": "^13.0.2",
|
|
43
|
+
"@commercetools-uikit/messages": "^13.0.2",
|
|
44
|
+
"@commercetools-uikit/primary-button": "^13.0.2",
|
|
45
|
+
"@commercetools-uikit/secondary-button": "^13.0.2",
|
|
46
|
+
"@commercetools-uikit/secondary-icon-button": "^13.0.2",
|
|
47
|
+
"@commercetools-uikit/spacings": "^13.0.2",
|
|
48
|
+
"@commercetools-uikit/text": "^13.0.2",
|
|
49
49
|
"@emotion/react": "11.7.1",
|
|
50
50
|
"@emotion/styled": "11.6.0",
|
|
51
51
|
"@types/lodash": "^4.14.178",
|