@team-monolith/cds 1.122.5 → 1.122.6
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSInterpolation } from "@emotion/serialize";
|
|
2
2
|
export declare const MAIN_CONTAINER_STYLE: import("@emotion/utils").SerializedStyles;
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const TABLET_MAX_WIDTH_BREAKPOINT = 1279;
|
|
4
4
|
export declare const TABLET: (style: CSSInterpolation) => import("@emotion/utils").SerializedStyles;
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const MOBILE_MAX_WIDTH_BREAKPOINT = 719;
|
|
6
6
|
export declare const MOBILE: (style: CSSInterpolation) => import("@emotion/utils").SerializedStyles;
|
|
@@ -2,21 +2,21 @@ import { css } from "@emotion/react";
|
|
|
2
2
|
export const MAIN_CONTAINER_STYLE = css `
|
|
3
3
|
container: main / inline-size;
|
|
4
4
|
`;
|
|
5
|
-
export const
|
|
5
|
+
export const TABLET_MAX_WIDTH_BREAKPOINT = 1279;
|
|
6
6
|
export const TABLET = (style) => css `
|
|
7
|
-
@media (max-width: ${
|
|
7
|
+
@media (max-width: ${TABLET_MAX_WIDTH_BREAKPOINT}px) {
|
|
8
8
|
${style}
|
|
9
9
|
}
|
|
10
|
-
@container main (width < ${
|
|
10
|
+
@container main (width < ${TABLET_MAX_WIDTH_BREAKPOINT}px) {
|
|
11
11
|
${style}
|
|
12
12
|
}
|
|
13
13
|
`;
|
|
14
|
-
export const
|
|
14
|
+
export const MOBILE_MAX_WIDTH_BREAKPOINT = 719;
|
|
15
15
|
export const MOBILE = (style) => css `
|
|
16
|
-
@media (max-width: ${
|
|
16
|
+
@media (max-width: ${MOBILE_MAX_WIDTH_BREAKPOINT}px) {
|
|
17
17
|
${style}
|
|
18
18
|
}
|
|
19
|
-
@container main (width < ${
|
|
19
|
+
@container main (width < ${MOBILE_MAX_WIDTH_BREAKPOINT}px) {
|
|
20
20
|
${style}
|
|
21
21
|
}
|
|
22
22
|
`;
|