@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 TABLET_WIDTH = 1279;
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 MOBILE_WIDTH = 719;
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 TABLET_WIDTH = 1279;
5
+ export const TABLET_MAX_WIDTH_BREAKPOINT = 1279;
6
6
  export const TABLET = (style) => css `
7
- @media (max-width: ${TABLET_WIDTH}px) {
7
+ @media (max-width: ${TABLET_MAX_WIDTH_BREAKPOINT}px) {
8
8
  ${style}
9
9
  }
10
- @container main (width < ${TABLET_WIDTH}px) {
10
+ @container main (width < ${TABLET_MAX_WIDTH_BREAKPOINT}px) {
11
11
  ${style}
12
12
  }
13
13
  `;
14
- export const MOBILE_WIDTH = 719;
14
+ export const MOBILE_MAX_WIDTH_BREAKPOINT = 719;
15
15
  export const MOBILE = (style) => css `
16
- @media (max-width: ${MOBILE_WIDTH}px) {
16
+ @media (max-width: ${MOBILE_MAX_WIDTH_BREAKPOINT}px) {
17
17
  ${style}
18
18
  }
19
- @container main (width < ${MOBILE_WIDTH}px) {
19
+ @container main (width < ${MOBILE_MAX_WIDTH_BREAKPOINT}px) {
20
20
  ${style}
21
21
  }
22
22
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-monolith/cds",
3
- "version": "1.122.5",
3
+ "version": "1.122.6",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "sideEffects": false,