@mirohq/design-system-switch 3.0.21 → 3.0.23

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +2 -0
  2. package/package.json +5 -5
package/dist/types.d.ts CHANGED
@@ -238,6 +238,7 @@ declare const StyledSwitch: react.ForwardRefExoticComponent<Omit<Omit<{
238
238
  readonly 'focus-large': "0 0 0 4px $colors$border-focus-inner, inset 0 0 0 2px $colors$border-focus-middle, inset 0 0 0 3px $colors$border-focus-outer";
239
239
  readonly 'focus-controls': "0 0 0 1px $colors$border-focus-inner, 0 0 0 3px $colors$border-focus-middle, 0 0 0 5px $colors$border-focus-outer";
240
240
  readonly 'focus-controls-error': "0 0 0 1px $colors$border-focus-inner, 0 0 0 3px $colors$border-danger, 0 0 0 5px $colors$background-danger-subtle-hover";
241
+ readonly 'focus-controls-success': "0 0 0 1px $colors$border-focus-inner, 0 0 0 3px $colors$background-success-prominent, 0 0 0 5px $colors$background-success";
241
242
  };
242
243
  sizes: {
243
244
  readonly number: string;
@@ -342,6 +343,7 @@ declare const StyledSwitch: react.ForwardRefExoticComponent<Omit<Omit<{
342
343
  readonly borderRightColor: "colors";
343
344
  readonly borderRightStyle: "border-styles";
344
345
  readonly borderRightWidth: "border-widths";
346
+ readonly borderSpacing: "space-offset";
345
347
  readonly borderStyle: "border-styles";
346
348
  readonly borderTop: "colors";
347
349
  readonly borderTopColor: "colors";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-switch",
3
- "version": "3.0.21",
3
+ "version": "3.0.23",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -28,11 +28,11 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@radix-ui/react-switch": "^1.0.0",
31
- "@mirohq/design-system-base-switch": "^0.1.13",
32
- "@mirohq/design-system-stitches": "^2.3.15",
33
- "@mirohq/design-system-styles": "^1.1.12",
31
+ "@mirohq/design-system-base-switch": "^0.1.15",
34
32
  "@mirohq/design-system-types": "^0.6.2",
35
- "@mirohq/design-system-utils": "^0.14.3"
33
+ "@mirohq/design-system-utils": "^0.14.3",
34
+ "@mirohq/design-system-styles": "^1.1.14",
35
+ "@mirohq/design-system-stitches": "^2.4.0"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "rollup -c ../../../rollup.config.js",