@mirohq/design-system-switch 3.0.25 → 3.0.26

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 +14 -0
  2. package/package.json +6 -6
package/dist/types.d.ts CHANGED
@@ -5,6 +5,7 @@ import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches'
5
5
  import { StrictComponentProps } from '@mirohq/design-system-stitches';
6
6
  import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
7
7
  import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
8
+ import * as _stitches_react from '@stitches/react';
8
9
  import * as RadixSwitch from '@radix-ui/react-switch';
9
10
 
10
11
  declare const StyledSwitch: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<RadixSwitch.SwitchProps & react.RefAttributes<HTMLButtonElement>>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
@@ -492,6 +493,19 @@ declare const StyledSwitch: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_de
492
493
  readonly [$$PropertyValue]: "width";
493
494
  };
494
495
  };
496
+ _hover: (css: _stitches_react.CSS<{
497
+ media: {};
498
+ theme: {};
499
+ themeMap: {};
500
+ utils: {};
501
+ }>) => {
502
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
503
+ media: {};
504
+ theme: {};
505
+ themeMap: {};
506
+ utils: {};
507
+ }>;
508
+ };
495
509
  }>>>, "size"> & _stitches_react_types_styled_component.TransformProps<{
496
510
  size?: "medium" | "large" | undefined;
497
511
  }, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<RadixSwitch.SwitchProps & react.RefAttributes<HTMLButtonElement>>, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-switch",
3
- "version": "3.0.25",
3
+ "version": "3.0.26",
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-stitches": "^2.4.1",
32
- "@mirohq/design-system-base-switch": "^0.1.16",
33
- "@mirohq/design-system-styles": "^1.1.16",
34
- "@mirohq/design-system-types": "^0.6.2",
35
- "@mirohq/design-system-utils": "^0.14.3"
31
+ "@mirohq/design-system-base-switch": "^0.1.17",
32
+ "@mirohq/design-system-styles": "^1.1.17",
33
+ "@mirohq/design-system-utils": "^0.14.3",
34
+ "@mirohq/design-system-stitches": "^2.5.0",
35
+ "@mirohq/design-system-types": "^0.6.2"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "rollup -c ../../../rollup.config.js",