@strapi/design-system 1.10.0-alpha.0 → 1.10.1

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.
@@ -52,14 +52,13 @@ const IconButton = React__namespace.forwardRef(({ label, background, borderWidth
52
52
  return label ? jsxRuntime.jsx(Tooltip.Tooltip, { label: label, children: component }) : component;
53
53
  });
54
54
  const IconButtonWrapper = styled__default.default(BaseButton.BaseButton) `
55
- background: ${({ theme, variant }) => {
55
+ background-color: ${({ theme, variant }) => {
56
56
  if (variant === VARIANT_SECONDARY) {
57
57
  return theme.colors.primary100;
58
58
  }
59
59
  return undefined;
60
60
  }};
61
- border: 1px solid
62
- ${({ theme, variant }) => {
61
+ border-color: ${({ theme, variant }) => {
63
62
  if (variant === VARIANT_SECONDARY) {
64
63
  return theme.colors.primary200;
65
64
  }
@@ -25,14 +25,13 @@ const IconButton = React.forwardRef(({ label, background, borderWidth, noBorder
25
25
  return label ? jsx(Tooltip, { label: label, children: component }) : component;
26
26
  });
27
27
  const IconButtonWrapper = styled(BaseButton) `
28
- background: ${({ theme, variant }) => {
28
+ background-color: ${({ theme, variant }) => {
29
29
  if (variant === VARIANT_SECONDARY) {
30
30
  return theme.colors.primary100;
31
31
  }
32
32
  return undefined;
33
33
  }};
34
- border: 1px solid
35
- ${({ theme, variant }) => {
34
+ border-color: ${({ theme, variant }) => {
36
35
  if (variant === VARIANT_SECONDARY) {
37
36
  return theme.colors.primary200;
38
37
  }
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
@@ -0,0 +1 @@
1
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/design-system",
3
- "version": "1.10.0-alpha.0",
3
+ "version": "1.10.1",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -33,7 +33,7 @@
33
33
  "@radix-ui/react-dismissable-layer": "^1.0.4",
34
34
  "@radix-ui/react-dropdown-menu": "^2.0.5",
35
35
  "@radix-ui/react-focus-scope": "1.0.3",
36
- "@strapi/ui-primitives": "^1.10.0-alpha.0",
36
+ "@strapi/ui-primitives": "^1.10.1",
37
37
  "@uiw/react-codemirror": "^4.21.13",
38
38
  "aria-hidden": "^1.2.3",
39
39
  "compute-scroll-into-view": "^3.0.3",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@playwright/test": "1.37.1",
45
- "@strapi/icons": "^1.10.0-alpha.0",
45
+ "@strapi/icons": "^1.10.1",
46
46
  "@types/react-router-dom": "^5.3.3",
47
47
  "@types/styled-components": "^5.1.26",
48
48
  "axe-playwright": "^1.2.3",
@@ -51,7 +51,7 @@
51
51
  "styled-components": "^5.3.11"
52
52
  },
53
53
  "peerDependencies": {
54
- "@strapi/icons": "^1.10.0-alpha.0",
54
+ "@strapi/icons": "^1.5.0",
55
55
  "react": "^17.0.0 || ^18.0.0",
56
56
  "react-dom": "^17.0.0 || ^18.0.0",
57
57
  "react-router-dom": "^5.2.0",