@mirohq/design-system-switch 3.0.19 → 3.0.20

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 +13 -0
  2. package/package.json +4 -4
package/dist/types.d.ts CHANGED
@@ -121,6 +121,9 @@ declare const StyledSwitch: react.ForwardRefExoticComponent<Omit<Omit<{
121
121
  "background-primary-subtle-pressed-hover"?: any;
122
122
  "background-primary-subtle-selected"?: any;
123
123
  "background-success"?: any;
124
+ "background-success-prominent"?: any;
125
+ "background-success-prominent-active"?: any;
126
+ "background-success-prominent-hover"?: any;
124
127
  "background-warning-prominent"?: any;
125
128
  "background-warning-subtle"?: any;
126
129
  "border-danger"?: any;
@@ -149,6 +152,8 @@ declare const StyledSwitch: react.ForwardRefExoticComponent<Omit<Omit<{
149
152
  "border-primary-hover"?: any;
150
153
  "border-primary-inverted"?: any;
151
154
  "border-success"?: any;
155
+ "border-success-active"?: any;
156
+ "border-success-hover"?: any;
152
157
  "border-warning"?: any;
153
158
  "icon-danger"?: any;
154
159
  "icon-danger-active"?: any;
@@ -168,9 +173,12 @@ declare const StyledSwitch: react.ForwardRefExoticComponent<Omit<Omit<{
168
173
  "icon-primary-inverted"?: any;
169
174
  "icon-primary-selected"?: any;
170
175
  "icon-success"?: any;
176
+ "icon-success-active"?: any;
177
+ "icon-success-hover"?: any;
171
178
  "icon-success-inverted"?: any;
172
179
  "icon-warning"?: any;
173
180
  "icon-warning-prominent"?: any;
181
+ "icon-warning-subtle"?: any;
174
182
  "text-danger"?: any;
175
183
  "text-danger-active"?: any;
176
184
  "text-danger-hover"?: any;
@@ -192,7 +200,11 @@ declare const StyledSwitch: react.ForwardRefExoticComponent<Omit<Omit<{
192
200
  "text-primary-inverted-subtle"?: any;
193
201
  "text-primary-selected"?: any;
194
202
  "text-success"?: any;
203
+ "text-success-active"?: any;
204
+ "text-success-hover"?: any;
205
+ "text-success-inverted"?: any;
195
206
  "text-warning"?: any;
207
+ "text-warning-subtle"?: any;
196
208
  };
197
209
  'font-sizes': {
198
210
  readonly 150: "0.75rem";
@@ -235,6 +247,7 @@ declare const StyledSwitch: react.ForwardRefExoticComponent<Omit<Omit<{
235
247
  };
236
248
  space: {
237
249
  readonly 0: "0px";
250
+ readonly 25: "2px";
238
251
  readonly 50: "4px";
239
252
  readonly 100: "8px";
240
253
  readonly 150: "12px";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-switch",
3
- "version": "3.0.19",
3
+ "version": "3.0.20",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -28,9 +28,9 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@radix-ui/react-switch": "^1.0.0",
31
- "@mirohq/design-system-base-switch": "^0.1.11",
32
- "@mirohq/design-system-stitches": "^2.3.13",
33
- "@mirohq/design-system-styles": "^1.1.10",
31
+ "@mirohq/design-system-base-switch": "^0.1.12",
32
+ "@mirohq/design-system-stitches": "^2.3.14",
33
+ "@mirohq/design-system-styles": "^1.1.11",
34
34
  "@mirohq/design-system-types": "^0.6.2",
35
35
  "@mirohq/design-system-utils": "^0.14.3"
36
36
  },