@mirohq/design-system-switch 2.1.2-changelog-1.0 → 2.1.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.
Files changed (2) hide show
  1. package/dist/types.d.ts +5 -0
  2. package/package.json +4 -4
package/dist/types.d.ts CHANGED
@@ -103,6 +103,8 @@ declare const StyledSwitch: react.ForwardRefExoticComponent<Pick<Omit<{
103
103
  readonly 'background-danger'?: any;
104
104
  readonly 'background-danger-hover'?: any;
105
105
  readonly 'background-success'?: any;
106
+ readonly 'background-warning-subtle'?: any;
107
+ readonly 'background-warning-prominent'?: any;
106
108
  readonly 'text-neutrals-inverted'?: any;
107
109
  readonly 'text-neutrals'?: any;
108
110
  readonly 'text-neutrals-subtle'?: any;
@@ -147,6 +149,8 @@ declare const StyledSwitch: react.ForwardRefExoticComponent<Pick<Omit<{
147
149
  readonly 'border-neutrals-disabled'?: any;
148
150
  readonly 'border-neutrals-controls'?: any;
149
151
  readonly 'border-neutrals-controls-disabled'?: any;
152
+ readonly 'border-neutrals-subtle'?: any;
153
+ readonly 'border-neutrals-inverted'?: any;
150
154
  readonly 'border-primary'?: any;
151
155
  readonly 'border-primary-hover'?: any;
152
156
  readonly 'border-primary-active'?: any;
@@ -181,6 +185,7 @@ declare const StyledSwitch: react.ForwardRefExoticComponent<Pick<Omit<{
181
185
  readonly 50: "0 4px 16px #05003812";
182
186
  readonly 100: "0 8px 32px #05003808";
183
187
  readonly 'focus-small': "0 0 0 2px $colors$blue-200, inset 0 0 0 2px $colors$blue-500, inset 0 0 0 3px $colors$white";
188
+ readonly 'focus-small-outline': "0 0 0 2px $colors$blue-200, inset 0 0 0 1px $colors$blue-500, inset 0 0 0 2px $colors$white";
184
189
  readonly 'focus-large': "0 0 0 4px $colors$blue-200, inset 0 0 0 2px $colors$blue-500, inset 0 0 0 3px $colors$white";
185
190
  readonly 'focus-controls': "0 0 0 1px $colors$white, 0 0 0 3px $colors$blue-500, 0 0 0 5px $colors$blue-200";
186
191
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-switch",
3
- "version": "2.1.2-changelog-1.0",
3
+ "version": "2.1.2",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -28,10 +28,10 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@radix-ui/react-switch": "^1.0.0",
31
- "@mirohq/design-system-stitches": "^2.1.2-changelog-1.0",
32
- "@mirohq/design-system-styles": "^1.0.15-changelog-1.0",
31
+ "@mirohq/design-system-stitches": "^2.1.2",
32
+ "@mirohq/design-system-styles": "^1.0.15",
33
33
  "@mirohq/design-system-types": "^0.3.0",
34
- "@mirohq/design-system-utils": "^0.12.0"
34
+ "@mirohq/design-system-utils": "^0.12.1"
35
35
  },
36
36
  "scripts": {
37
37
  "build": "rollup -c ../../../rollup.config.js",