@mirohq/design-system-typography 0.4.17 → 0.4.19
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 +4 -22
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import react__default, { ComponentPropsWithRef } from 'react';
|
|
3
|
-
import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
|
|
4
3
|
import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
|
|
5
4
|
import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
|
|
5
|
+
import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
|
|
6
6
|
|
|
7
|
-
declare const H1: react.ForwardRefExoticComponent<Omit<Omit<
|
|
8
|
-
ref?: ((instance: HTMLHeadingElement | null) => void) | react.RefObject<HTMLHeadingElement> | null | undefined;
|
|
9
|
-
} & {
|
|
10
|
-
asChild?: boolean | undefined;
|
|
11
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
12
|
-
children?: react.ReactNode;
|
|
13
|
-
} & _stitches_react_types_styled_component.TransformProps<{
|
|
7
|
+
declare const H1: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"h1">>>, "level"> & _stitches_react_types_styled_component.TransformProps<{
|
|
14
8
|
level?: 1 | 4 | "1" | 2 | 3 | "4" | "2" | "3" | undefined;
|
|
15
9
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLHeadingElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"h1">>, {
|
|
16
10
|
level?: 1 | 4 | "1" | 2 | 3 | "4" | "2" | "3" | undefined;
|
|
@@ -31,13 +25,7 @@ interface HeadingProps extends StyledHeadingProps {
|
|
|
31
25
|
}
|
|
32
26
|
declare const Heading: react__default.ForwardRefExoticComponent<Omit<HeadingProps, "ref"> & react__default.RefAttributes<HTMLHeadingElement>>;
|
|
33
27
|
|
|
34
|
-
declare const StyledText: react.ForwardRefExoticComponent<Omit<Omit<
|
|
35
|
-
ref?: ((instance: HTMLSpanElement | null) => void) | react.RefObject<HTMLSpanElement> | null | undefined;
|
|
36
|
-
} & {
|
|
37
|
-
asChild?: boolean | undefined;
|
|
38
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
39
|
-
children?: react.ReactNode;
|
|
40
|
-
} & _stitches_react_types_styled_component.TransformProps<{
|
|
28
|
+
declare const StyledText: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"span">>>, "size" | "weight"> & _stitches_react_types_styled_component.TransformProps<{
|
|
41
29
|
size?: "small" | "normal" | "mini" | undefined;
|
|
42
30
|
weight?: "bold" | "normal" | undefined;
|
|
43
31
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLSpanElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"span">>, {
|
|
@@ -62,13 +50,7 @@ interface TextProps extends StyledTextProps {
|
|
|
62
50
|
}
|
|
63
51
|
declare const Text: react__default.ForwardRefExoticComponent<Omit<TextProps, "ref"> & react__default.RefAttributes<HTMLSpanElement>>;
|
|
64
52
|
|
|
65
|
-
declare const StyledParagraph: react.ForwardRefExoticComponent<Omit<Omit<
|
|
66
|
-
ref?: ((instance: HTMLParagraphElement | null) => void) | react.RefObject<HTMLParagraphElement> | null | undefined;
|
|
67
|
-
} & {
|
|
68
|
-
asChild?: boolean | undefined;
|
|
69
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
70
|
-
children?: react.ReactNode;
|
|
71
|
-
} & _stitches_react_types_styled_component.TransformProps<{
|
|
53
|
+
declare const StyledParagraph: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"p">>>, "size" | "weight"> & _stitches_react_types_styled_component.TransformProps<{
|
|
72
54
|
size?: "small" | "normal" | "mini" | undefined;
|
|
73
55
|
weight?: "bold" | "normal" | undefined;
|
|
74
56
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLParagraphElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"p">>, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-typography",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.19",
|
|
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.2",
|
|
30
|
-
"@mirohq/design-system-stitches": "^2.6.
|
|
30
|
+
"@mirohq/design-system-stitches": "^2.6.9"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "rollup -c ../../../rollup.config.js",
|