@mirohq/design-system-typography 0.4.6 → 0.4.7

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 +40 -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 H1: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"h1">>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
@@ -490,6 +491,19 @@ declare const H1: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_syste
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
  }>>>, "level"> & _stitches_react_types_styled_component.TransformProps<{
494
508
  level?: 1 | 4 | "1" | 2 | 3 | "4" | "2" | "3" | undefined;
495
509
  }, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLHeadingElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"h1">>, {
@@ -996,6 +1010,19 @@ declare const StyledText: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_desi
996
1010
  readonly [$$PropertyValue]: "width";
997
1011
  };
998
1012
  };
1013
+ _hover: (css: _stitches_react.CSS<{
1014
+ media: {};
1015
+ theme: {};
1016
+ themeMap: {};
1017
+ utils: {};
1018
+ }>) => {
1019
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
1020
+ media: {};
1021
+ theme: {};
1022
+ themeMap: {};
1023
+ utils: {};
1024
+ }>;
1025
+ };
999
1026
  }>>>, "size" | "weight"> & _stitches_react_types_styled_component.TransformProps<{
1000
1027
  size?: "small" | "normal" | "mini" | undefined;
1001
1028
  weight?: "bold" | "normal" | undefined;
@@ -1506,6 +1533,19 @@ declare const StyledParagraph: react.ForwardRefExoticComponent<Omit<Omit<_mirohq
1506
1533
  readonly [$$PropertyValue]: "width";
1507
1534
  };
1508
1535
  };
1536
+ _hover: (css: _stitches_react.CSS<{
1537
+ media: {};
1538
+ theme: {};
1539
+ themeMap: {};
1540
+ utils: {};
1541
+ }>) => {
1542
+ '&:hover, &[data-hovered]': _stitches_react.CSS<{
1543
+ media: {};
1544
+ theme: {};
1545
+ themeMap: {};
1546
+ utils: {};
1547
+ }>;
1548
+ };
1509
1549
  }>>>, "size" | "weight"> & _stitches_react_types_styled_component.TransformProps<{
1510
1550
  size?: "small" | "normal" | "mini" | undefined;
1511
1551
  weight?: "bold" | "normal" | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-typography",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@mirohq/design-system-primitive": "^1.1.1",
30
- "@mirohq/design-system-stitches": "^2.4.1"
30
+ "@mirohq/design-system-stitches": "^2.5.0"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "rollup -c ../../../rollup.config.js",