@strapi/design-system 1.8.1 → 1.8.2

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,4 +1,4 @@
1
- import { SIGMA as e, PI as s, OMEGA as t, EPSILON as o, DELTA as l, BETA as f, ALPHA as r } from "./constants.js";
1
+ import { SIGMA as e, PI as s, OMEGA as t, EPSILON as o, DELTA as f, BETA as l, ALPHA as r } from "./constants.js";
2
2
  const $ = ({ ellipsis: n = !1 }) => n && `
3
3
  display: block;
4
4
  white-space: nowrap;
@@ -12,13 +12,13 @@ const $ = ({ ellipsis: n = !1 }) => n && `
12
12
  font-size: ${i.fontSizes[5]};
13
13
  line-height: ${i.lineHeights[2]};
14
14
  `;
15
- case f:
15
+ case l:
16
16
  return `
17
17
  font-weight: ${i.fontWeights.bold};
18
18
  font-size: ${i.fontSizes[4]};
19
19
  line-height: ${i.lineHeights[1]};
20
20
  `;
21
- case l:
21
+ case f:
22
22
  return `
23
23
  font-weight: ${i.fontWeights.semiBold};
24
24
  font-size: ${i.fontSizes[3]};
@@ -51,9 +51,8 @@ const $ = ({ ellipsis: n = !1 }) => n && `
51
51
  font-size: ${i.fontSizes[2]};
52
52
  `;
53
53
  }
54
- }, z = ({ theme: n, textColor: i }) => n.colors[i || "neutral800"];
54
+ };
55
55
  export {
56
56
  $ as ellipsisStyle,
57
- z as handleColor,
58
57
  a as variantStyle
59
58
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/design-system",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -19,22 +19,22 @@
19
19
  ],
20
20
  "dependencies": {
21
21
  "@codemirror/lang-json": "^6.0.1",
22
- "@floating-ui/react-dom": "^1.3.0",
23
- "@internationalized/date": "^3.2.0",
24
- "@internationalized/number": "^3.2.0",
22
+ "@floating-ui/react-dom": "^2.0.1",
23
+ "@internationalized/date": "^3.3.0",
24
+ "@internationalized/number": "^3.2.1",
25
25
  "@radix-ui/react-dismissable-layer": "^1.0.4",
26
26
  "@radix-ui/react-dropdown-menu": "^2.0.5",
27
27
  "@radix-ui/react-focus-scope": "1.0.3",
28
- "@strapi/ui-primitives": "^1.8.1",
29
- "@uiw/react-codemirror": "^4.21.3",
28
+ "@strapi/ui-primitives": "^1.8.2",
29
+ "@uiw/react-codemirror": "^4.21.7",
30
30
  "aria-hidden": "^1.2.3",
31
31
  "compute-scroll-into-view": "^3.0.3",
32
32
  "prop-types": "^15.8.1",
33
- "react-remove-scroll": "^2.5.5"
33
+ "react-remove-scroll": "^2.5.6"
34
34
  },
35
35
  "devDependencies": {
36
- "@playwright/test": "1.33.0",
37
- "@strapi/icons": "^1.8.1",
36
+ "@playwright/test": "1.35.1",
37
+ "@strapi/icons": "^1.8.2",
38
38
  "@types/react-router-dom": "^5.3.3",
39
39
  "@types/styled-components": "^5.1.26",
40
40
  "axe-playwright": "^1.2.3",
@@ -65,5 +65,5 @@
65
65
  "test:e2e:watch": "chokidar '**/__tests__/*.e2e.js' -c 'npm run test:e2e -- --retries=0 {path}'",
66
66
  "test:e2e:debug": "cross-env PWDEBUG=1 playwright test"
67
67
  },
68
- "gitHead": "203b39b5eae476962807fa10b73ed0731d694da6"
68
+ "gitHead": "770d9832b8a67d3dabd6ad3dec6408308cc35d99"
69
69
  }