@mirohq/design-system-switch 3.0.3-dropdown.0 → 3.0.3-dropdown.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.
- package/dist/types.d.ts +17 -11
- package/package.json +6 -6
package/dist/types.d.ts
CHANGED
|
@@ -84,7 +84,6 @@ declare const StyledSwitch: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
84
84
|
readonly 'background-danger-prominent-active'?: any;
|
|
85
85
|
readonly 'background-danger-prominent-hover'?: any;
|
|
86
86
|
readonly 'background-neutrals'?: any;
|
|
87
|
-
readonly 'background-neutrals-body'?: any;
|
|
88
87
|
readonly 'background-neutrals-container'?: any;
|
|
89
88
|
readonly 'background-neutrals-controls-disabled'?: any;
|
|
90
89
|
readonly 'background-neutrals-disabled'?: any;
|
|
@@ -92,6 +91,8 @@ declare const StyledSwitch: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
92
91
|
readonly 'background-neutrals-inactive-hover'?: any;
|
|
93
92
|
readonly 'background-neutrals-inverted'?: any;
|
|
94
93
|
readonly 'background-neutrals-inverted-subtle'?: any;
|
|
94
|
+
readonly 'background-neutrals-page'?: any;
|
|
95
|
+
readonly 'background-neutrals-page-subtle'?: any;
|
|
95
96
|
readonly 'background-neutrals-scrolls'?: any;
|
|
96
97
|
readonly 'background-neutrals-scrolls-hover'?: any;
|
|
97
98
|
readonly 'background-neutrals-subtle'?: any;
|
|
@@ -115,12 +116,11 @@ declare const StyledSwitch: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
115
116
|
readonly 'text-neutrals'?: any;
|
|
116
117
|
readonly 'text-neutrals-disabled'?: any;
|
|
117
118
|
readonly 'text-neutrals-inverted'?: any;
|
|
118
|
-
readonly 'text-neutrals-link'?: any;
|
|
119
|
-
readonly 'text-neutrals-link-active'?: any;
|
|
120
|
-
readonly 'text-neutrals-link-hover'?: any;
|
|
121
119
|
readonly 'text-neutrals-placeholder'?: any;
|
|
122
120
|
readonly 'text-neutrals-placeholder-only'?: any;
|
|
123
121
|
readonly 'text-neutrals-subtle'?: any;
|
|
122
|
+
readonly 'text-neutrals-subtle-active'?: any;
|
|
123
|
+
readonly 'text-neutrals-subtle-hover'?: any;
|
|
124
124
|
readonly 'text-primary'?: any;
|
|
125
125
|
readonly 'text-primary-active'?: any;
|
|
126
126
|
readonly 'text-primary-hover'?: any;
|
|
@@ -140,7 +140,7 @@ declare const StyledSwitch: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
140
140
|
readonly 'icon-neutrals-inverted'?: any;
|
|
141
141
|
readonly 'icon-neutrals-search'?: any;
|
|
142
142
|
readonly 'icon-neutrals-subtle'?: any;
|
|
143
|
-
readonly 'icon-neutrals-
|
|
143
|
+
readonly 'icon-neutrals-text'?: any;
|
|
144
144
|
readonly 'icon-primary'?: any;
|
|
145
145
|
readonly 'icon-primary-active'?: any;
|
|
146
146
|
readonly 'icon-primary-hover'?: any;
|
|
@@ -149,7 +149,10 @@ declare const StyledSwitch: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
149
149
|
readonly 'icon-success'?: any;
|
|
150
150
|
readonly 'icon-success-inverted'?: any;
|
|
151
151
|
readonly 'icon-warning'?: any;
|
|
152
|
+
readonly 'icon-warning-prominent'?: any;
|
|
152
153
|
readonly 'border-danger'?: any;
|
|
154
|
+
readonly 'border-danger-active'?: any;
|
|
155
|
+
readonly 'border-danger-hover'?: any;
|
|
153
156
|
readonly 'border-focus-inner'?: any;
|
|
154
157
|
readonly 'border-focus-middle'?: any;
|
|
155
158
|
readonly 'border-focus-outer'?: any;
|
|
@@ -161,6 +164,9 @@ declare const StyledSwitch: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
161
164
|
readonly 'border-neutrals-hover'?: any;
|
|
162
165
|
readonly 'border-neutrals-inverted'?: any;
|
|
163
166
|
readonly 'border-neutrals-subtle'?: any;
|
|
167
|
+
readonly 'border-neutrals-text-subtle'?: any;
|
|
168
|
+
readonly 'border-neutrals-text-subtle-active'?: any;
|
|
169
|
+
readonly 'border-neutrals-text-subtle-hover'?: any;
|
|
164
170
|
readonly 'border-primary'?: any;
|
|
165
171
|
readonly 'border-primary-active'?: any;
|
|
166
172
|
readonly 'border-primary-hover'?: any;
|
|
@@ -205,28 +211,28 @@ declare const StyledSwitch: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
205
211
|
readonly 'icon-400': "32px";
|
|
206
212
|
};
|
|
207
213
|
space: {
|
|
208
|
-
readonly
|
|
214
|
+
readonly 0: 0;
|
|
209
215
|
readonly 50: "4px";
|
|
210
216
|
readonly 100: "8px";
|
|
211
217
|
readonly 150: "12px";
|
|
212
218
|
readonly 200: "16px";
|
|
213
219
|
readonly 300: "24px";
|
|
214
220
|
readonly 400: "32px";
|
|
215
|
-
readonly 500: "
|
|
221
|
+
readonly 500: "40px";
|
|
216
222
|
readonly 600: "48px";
|
|
217
223
|
readonly 800: "64px";
|
|
218
224
|
readonly 1200: "96px";
|
|
219
225
|
readonly 1600: "128px";
|
|
220
226
|
};
|
|
221
227
|
'space-gap': {
|
|
222
|
-
readonly
|
|
228
|
+
readonly 0: any;
|
|
223
229
|
readonly 50: any;
|
|
224
230
|
readonly 100: any;
|
|
225
231
|
readonly 200: any;
|
|
226
232
|
readonly 300: any;
|
|
227
233
|
};
|
|
228
234
|
'space-inset': {
|
|
229
|
-
readonly
|
|
235
|
+
readonly 0: any;
|
|
230
236
|
readonly 50: any;
|
|
231
237
|
readonly 100: any;
|
|
232
238
|
readonly 150: any;
|
|
@@ -239,7 +245,7 @@ declare const StyledSwitch: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
239
245
|
readonly 1600: any;
|
|
240
246
|
};
|
|
241
247
|
'space-offset': {
|
|
242
|
-
readonly
|
|
248
|
+
readonly 0: any;
|
|
243
249
|
readonly 50: any;
|
|
244
250
|
readonly 100: any;
|
|
245
251
|
readonly 150: any;
|
|
@@ -250,7 +256,7 @@ declare const StyledSwitch: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
250
256
|
readonly 800: any;
|
|
251
257
|
readonly 1200: any;
|
|
252
258
|
readonly 1600: any;
|
|
253
|
-
readonly 'stacking-
|
|
259
|
+
readonly 'stacking-0': any;
|
|
254
260
|
readonly 'stacking-100': any;
|
|
255
261
|
readonly 'stacking-200': any;
|
|
256
262
|
readonly 'stacking-300': any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-switch",
|
|
3
|
-
"version": "3.0.3-dropdown.
|
|
3
|
+
"version": "3.0.3-dropdown.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@radix-ui/react-switch": "^1.0.0",
|
|
31
31
|
"@react-aria/interactions": "^3.13.0",
|
|
32
|
-
"@mirohq/design-system-base-switch": "^0.1.0-dropdown.
|
|
33
|
-
"@mirohq/design-system-
|
|
34
|
-
"@mirohq/design-system-
|
|
35
|
-
"@mirohq/design-system-
|
|
36
|
-
"@mirohq/design-system-
|
|
32
|
+
"@mirohq/design-system-base-switch": "^0.1.0-dropdown.1",
|
|
33
|
+
"@mirohq/design-system-utils": "^0.13.2",
|
|
34
|
+
"@mirohq/design-system-stitches": "^2.3.2-dropdown.0",
|
|
35
|
+
"@mirohq/design-system-styles": "^1.0.24-dropdown.1",
|
|
36
|
+
"@mirohq/design-system-types": "^0.5.0"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "rollup -c ../../../rollup.config.js",
|