@commercetools-frontend/application-components 22.40.0 → 22.41.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/dist/commercetools-frontend-application-components.cjs.dev.js +279 -205
- package/dist/commercetools-frontend-application-components.cjs.prod.js +243 -175
- package/dist/commercetools-frontend-application-components.esm.js +281 -206
- package/dist/{custom-views-selector-36368b71.cjs.prod.js → custom-views-selector-4a4c5740.cjs.prod.js} +1 -1
- package/dist/{custom-views-selector-f8bc3071.esm.js → custom-views-selector-67fa3f78.esm.js} +1 -1
- package/dist/{custom-views-selector-473e176e.cjs.dev.js → custom-views-selector-feec1e5d.cjs.dev.js} +1 -1
- package/dist/declarations/src/components/dialogs/info-dialog/info-dialog.d.ts +1 -1
- package/dist/declarations/src/components/dialogs/internals/dialog-container.d.ts +1 -1
- package/dist/declarations/src/components/dialogs/internals/dialog.styles.d.ts +12 -1
- package/dist/declarations/src/components/modal-pages/internals/modal-page.d.ts +1 -1
- package/dist/declarations/src/components/modal-pages/internals/modal-page.styles.d.ts +13 -12
- package/package.json +11 -11
|
@@ -33,7 +33,7 @@ var constants = require('@commercetools-frontend/constants');
|
|
|
33
33
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
34
34
|
require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
|
|
35
35
|
require('@commercetools-uikit/utils');
|
|
36
|
-
require('react-
|
|
36
|
+
require('@radix-ui/react-dialog');
|
|
37
37
|
require('@commercetools-uikit/card');
|
|
38
38
|
require('@commercetools-uikit/secondary-icon-button');
|
|
39
39
|
require('@commercetools-frontend/i18n');
|
package/dist/{custom-views-selector-f8bc3071.esm.js → custom-views-selector-67fa3f78.esm.js}
RENAMED
|
@@ -31,7 +31,7 @@ import { featureFlags, GRAPHQL_TARGETS } from '@commercetools-frontend/constants
|
|
|
31
31
|
import { jsx, jsxs } from '@emotion/react/jsx-runtime';
|
|
32
32
|
import '@babel/runtime-corejs3/helpers/objectWithoutProperties';
|
|
33
33
|
import '@commercetools-uikit/utils';
|
|
34
|
-
import 'react-
|
|
34
|
+
import '@radix-ui/react-dialog';
|
|
35
35
|
import '@commercetools-uikit/card';
|
|
36
36
|
import '@commercetools-uikit/secondary-icon-button';
|
|
37
37
|
import '@commercetools-frontend/i18n';
|
package/dist/{custom-views-selector-473e176e.cjs.dev.js → custom-views-selector-feec1e5d.cjs.dev.js}
RENAMED
|
@@ -33,7 +33,7 @@ var constants = require('@commercetools-frontend/constants');
|
|
|
33
33
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
34
34
|
require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
|
|
35
35
|
require('@commercetools-uikit/utils');
|
|
36
|
-
require('react-
|
|
36
|
+
require('@radix-ui/react-dialog');
|
|
37
37
|
require('@commercetools-uikit/card');
|
|
38
38
|
require('@commercetools-uikit/secondary-icon-button');
|
|
39
39
|
require('@commercetools-frontend/i18n');
|
|
@@ -1,8 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { type SerializedStyles } from '@emotion/react';
|
|
2
3
|
type StyleProps = {
|
|
3
4
|
size: 'm' | 'l' | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 16 | 'scale';
|
|
4
5
|
zIndex?: number;
|
|
5
6
|
};
|
|
6
7
|
export declare const getModalContentStyles: (props: StyleProps) => SerializedStyles;
|
|
7
|
-
export declare const
|
|
8
|
+
export declare const ClickableDialogContent: import("@emotion/styled").StyledComponent<import("@radix-ui/react-dialog").DialogContentProps & import("react").RefAttributes<HTMLDivElement> & {
|
|
9
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
+
} & StyleProps, {}, {}>;
|
|
11
|
+
export declare const DialogOverlay: import("@emotion/styled").StyledComponent<{
|
|
12
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
+
as?: import("react").ElementType<any> | undefined;
|
|
14
|
+
} & Pick<StyleProps, "zIndex">, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
15
|
+
export declare const DialogContent: import("@emotion/styled").StyledComponent<{
|
|
16
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
17
|
+
as?: import("react").ElementType<any> | undefined;
|
|
18
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
19
|
export {};
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import type { TModalPageSize } from './modal-page';
|
|
3
|
-
type StyleProps = {
|
|
4
|
-
zIndex?: number;
|
|
5
|
-
size: TModalPageSize;
|
|
6
|
-
};
|
|
7
3
|
export declare const stylesBySize: {
|
|
8
4
|
'10': {
|
|
9
5
|
width: string;
|
|
@@ -22,10 +18,15 @@ export declare const stylesBySize: {
|
|
|
22
18
|
transitionTime: number;
|
|
23
19
|
};
|
|
24
20
|
};
|
|
25
|
-
export declare const
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
21
|
+
export declare const ModalOverlay: import("@emotion/styled").StyledComponent<{
|
|
22
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
+
as?: import("react").ElementType<any> | undefined;
|
|
24
|
+
} & {
|
|
25
|
+
size: TModalPageSize;
|
|
26
|
+
zIndex?: number | undefined;
|
|
27
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
28
|
+
export declare const ModalContent: import("@emotion/styled").StyledComponent<import("@radix-ui/react-dialog").DialogContentProps & import("react").RefAttributes<HTMLDivElement> & {
|
|
29
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
30
|
+
} & {
|
|
31
|
+
size: TModalPageSize;
|
|
32
|
+
}, {}, {}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-components",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.41.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": {
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@babel/runtime": "^7.22.15",
|
|
38
38
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
39
|
-
"@commercetools-frontend/actions-global": "22.
|
|
40
|
-
"@commercetools-frontend/application-config": "22.
|
|
41
|
-
"@commercetools-frontend/application-shell-connectors": "22.
|
|
42
|
-
"@commercetools-frontend/assets": "22.
|
|
43
|
-
"@commercetools-frontend/constants": "22.
|
|
44
|
-
"@commercetools-frontend/i18n": "22.
|
|
45
|
-
"@commercetools-frontend/l10n": "22.
|
|
46
|
-
"@commercetools-frontend/sentry": "22.
|
|
39
|
+
"@commercetools-frontend/actions-global": "22.41.0",
|
|
40
|
+
"@commercetools-frontend/application-config": "22.41.0",
|
|
41
|
+
"@commercetools-frontend/application-shell-connectors": "22.41.0",
|
|
42
|
+
"@commercetools-frontend/assets": "22.41.0",
|
|
43
|
+
"@commercetools-frontend/constants": "22.41.0",
|
|
44
|
+
"@commercetools-frontend/i18n": "22.41.0",
|
|
45
|
+
"@commercetools-frontend/l10n": "22.41.0",
|
|
46
|
+
"@commercetools-frontend/sentry": "22.41.0",
|
|
47
47
|
"@commercetools-uikit/accessible-button": "^19.17.1",
|
|
48
48
|
"@commercetools-uikit/card": "^19.17.1",
|
|
49
49
|
"@commercetools-uikit/constraints": "^19.17.1",
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
"@emotion/react": "^11.11.4",
|
|
65
65
|
"@emotion/styled": "^11.11.0",
|
|
66
66
|
"@flopflip/react-broadcast": "14.0.2",
|
|
67
|
+
"@radix-ui/react-dialog": "1.1.4",
|
|
67
68
|
"@react-hook/latest": "1.0.3",
|
|
68
69
|
"@react-hook/resize-observer": "1.2.6",
|
|
69
70
|
"@types/history": "^4.7.11",
|
|
@@ -76,8 +77,7 @@
|
|
|
76
77
|
"history": "4.10.1",
|
|
77
78
|
"lodash": "4.17.21",
|
|
78
79
|
"prop-types": "15.8.1",
|
|
79
|
-
"raf-schd": "^4.0.3"
|
|
80
|
-
"react-modal": "3.16.1"
|
|
80
|
+
"raf-schd": "^4.0.3"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@apollo/client": "3.7.14",
|