@jetbrains/kotlin-web-site-ui 4.13.0-alpha.8 → 4.13.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.
@@ -39,7 +39,7 @@ const BREAKPOINTS_UP_MEDIA = Object.fromEntries(Object.entries(BREAKPOINTS).map(
39
39
  function generateDownMediaItem([name, value]) {
40
40
  if (!isBreakpointKey(name)) throw new Error(`Invalid breakpoint name: ${name}`);
41
41
  if (value === Infinity) return null;
42
- return [name, `(${value}px <= width)`];
42
+ return [name, `(width <= ${value}px)`];
43
43
  }
44
44
 
45
45
  const BREAKPOINTS_DOWN_MEDIA = Object.fromEntries(Object.entries(BREAKPOINTS).map(generateDownMediaItem).filter(Boolean)); // ===== BACKWARD COMPATIBILITY =====
@@ -19,8 +19,8 @@
19
19
  @custom-media --ktl-tl-up (808px < width);
20
20
  @custom-media --ktl-ds-up (1000px < width);
21
21
  @custom-media --ktl-dl-up (1190px < width);
22
- @custom-media --ktl-ms-down (472px <= width);
23
- @custom-media --ktl-ml-down (640px <= width);
24
- @custom-media --ktl-ts-down (808px <= width);
25
- @custom-media --ktl-tl-down (1000px <= width);
26
- @custom-media --ktl-ds-down (1190px <= width);
22
+ @custom-media --ktl-ms-down (width <= 472px);
23
+ @custom-media --ktl-ml-down (width <= 640px);
24
+ @custom-media --ktl-ts-down (width <= 808px);
25
+ @custom-media --ktl-tl-down (width <= 1000px);
26
+ @custom-media --ktl-ds-down (width <= 1190px);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jetbrains/kotlin-web-site-ui",
3
3
  "description": "UI components for Kotlin web sites development",
4
- "version": "4.13.0-alpha.8",
4
+ "version": "4.13.0",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
7
7
  "files": [