@mirohq/design-system-grid 2.1.30 → 2.1.31

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 +27 -0
  2. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -3,6 +3,7 @@ import react__default, { ComponentPropsWithRef } from 'react';
3
3
  import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
4
4
  import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
5
5
  import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
6
+ import * as _stitches_react from '@stitches/react';
6
7
  import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
7
8
 
8
9
  declare const StyledGrid: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
@@ -490,6 +491,19 @@ declare const StyledGrid: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_desi
490
491
  readonly [$$PropertyValue]: "width";
491
492
  };
492
493
  };
494
+ _hover: (css: _stitches_react.CSS<{
495
+ media: {};
496
+ theme: {};
497
+ themeMap: {};
498
+ utils: {};
499
+ }>) => {
500
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
501
+ media: {};
502
+ theme: {};
503
+ themeMap: {};
504
+ utils: {};
505
+ }>;
506
+ };
493
507
  }>>>, "rows" | "align" | "columns" | "justify" | "justifyItems" | "gap" | "flow" | "gapX" | "gapY"> & _stitches_react_types_styled_component.TransformProps<{
494
508
  align?: "center" | "end" | "baseline" | "start" | "stretch" | undefined;
495
509
  flow?: "row" | "column" | "dense" | "rowDense" | "columnDense" | undefined;
@@ -998,6 +1012,19 @@ declare const StyledItem: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_desi
998
1012
  readonly [$$PropertyValue]: "width";
999
1013
  };
1000
1014
  };
1015
+ _hover: (css: _stitches_react.CSS<{
1016
+ media: {};
1017
+ theme: {};
1018
+ themeMap: {};
1019
+ utils: {};
1020
+ }>) => {
1021
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
1022
+ media: {};
1023
+ theme: {};
1024
+ themeMap: {};
1025
+ utils: {};
1026
+ }>;
1027
+ };
1001
1028
  }>>>, "columnStart" | "rowStart" | "columnEnd" | "rowEnd"> & _stitches_react_types_styled_component.TransformProps<{
1002
1029
  columnStart?: "1" | 1 | 4 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -1 | "4" | "2" | "3" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "-1" | undefined;
1003
1030
  rowStart?: "1" | 1 | 4 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -1 | "4" | "2" | "3" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "-1" | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-grid",
3
- "version": "2.1.30",
3
+ "version": "2.1.31",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -26,8 +26,8 @@
26
26
  "react": "^16.14 || ^17 || ^18"
27
27
  },
28
28
  "dependencies": {
29
- "@mirohq/design-system-stitches": "^2.4.1",
30
29
  "@mirohq/design-system-primitive": "^1.1.1",
30
+ "@mirohq/design-system-stitches": "^2.5.0",
31
31
  "@mirohq/design-system-utils": "^0.14.3"
32
32
  },
33
33
  "scripts": {