@mirohq/design-system-typography 0.6.9-new-focus-keyboard.1 → 0.6.9-sync-design-tokens.0
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 +15 -15
- package/package.json +4 -4
package/dist/types.d.ts
CHANGED
|
@@ -7,16 +7,16 @@ import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitiv
|
|
|
7
7
|
declare const H1: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"h1">>>, "v1" | "debug" | "level"> & _stitches_react_types_styled_component.TransformProps<{
|
|
8
8
|
v1?: boolean | "true" | undefined;
|
|
9
9
|
debug?: boolean | "true" | "false" | undefined;
|
|
10
|
-
level?: "1" | "2" | "3" | "4" |
|
|
10
|
+
level?: "1" | "2" | "3" | "4" | 1 | 3 | 2 | 4 | undefined;
|
|
11
11
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLHeadingElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"h1">>, {
|
|
12
12
|
v1?: boolean | "true" | undefined;
|
|
13
13
|
debug?: boolean | "true" | "false" | undefined;
|
|
14
|
-
level?: "1" | "2" | "3" | "4" |
|
|
14
|
+
level?: "1" | "2" | "3" | "4" | 1 | 3 | 2 | 4 | undefined;
|
|
15
15
|
}, {}>;
|
|
16
|
-
|
|
16
|
+
type StyledHeadingProps = ComponentPropsWithRef<typeof H1>;
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
type Level = 1 | 2 | 3 | 4;
|
|
19
|
+
type Tags = 'h1' | 'h2' | 'h3' | 'h4';
|
|
20
20
|
interface HeadingProps extends Omit<StyledHeadingProps, 'debug' | 'v1'> {
|
|
21
21
|
/**
|
|
22
22
|
* The sematic heading level used in the HTML markup.
|
|
@@ -32,15 +32,15 @@ declare const Heading: react__default.ForwardRefExoticComponent<Omit<HeadingProp
|
|
|
32
32
|
declare const StyledText: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"span">>>, "size" | "weight" | "v1" | "debug"> & _stitches_react_types_styled_component.TransformProps<{
|
|
33
33
|
v1?: boolean | "true" | undefined;
|
|
34
34
|
debug?: boolean | "true" | "false" | undefined;
|
|
35
|
-
size?: "
|
|
36
|
-
weight?: "
|
|
35
|
+
size?: "normal" | "small" | "mini" | undefined;
|
|
36
|
+
weight?: "normal" | "bold" | undefined;
|
|
37
37
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLSpanElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"span">>, {
|
|
38
38
|
v1?: boolean | "true" | undefined;
|
|
39
39
|
debug?: boolean | "true" | "false" | undefined;
|
|
40
|
-
size?: "
|
|
41
|
-
weight?: "
|
|
40
|
+
size?: "normal" | "small" | "mini" | undefined;
|
|
41
|
+
weight?: "normal" | "bold" | undefined;
|
|
42
42
|
}, {}>;
|
|
43
|
-
|
|
43
|
+
type StyledTextProps = ComponentPropsWithRef<typeof StyledText>;
|
|
44
44
|
|
|
45
45
|
interface TextProps extends Omit<StyledTextProps, 'v1' | 'debug'> {
|
|
46
46
|
/**
|
|
@@ -61,15 +61,15 @@ declare const Text: react__default.ForwardRefExoticComponent<Omit<TextProps, "re
|
|
|
61
61
|
declare const StyledParagraph: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"p">>>, "size" | "weight" | "v1" | "debug"> & _stitches_react_types_styled_component.TransformProps<{
|
|
62
62
|
v1?: boolean | "true" | undefined;
|
|
63
63
|
debug?: boolean | "true" | "false" | undefined;
|
|
64
|
-
size?: "
|
|
65
|
-
weight?: "
|
|
64
|
+
size?: "normal" | "small" | "mini" | undefined;
|
|
65
|
+
weight?: "normal" | "bold" | undefined;
|
|
66
66
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLParagraphElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"p">>, {
|
|
67
67
|
v1?: boolean | "true" | undefined;
|
|
68
68
|
debug?: boolean | "true" | "false" | undefined;
|
|
69
|
-
size?: "
|
|
70
|
-
weight?: "
|
|
69
|
+
size?: "normal" | "small" | "mini" | undefined;
|
|
70
|
+
weight?: "normal" | "bold" | undefined;
|
|
71
71
|
}, {}>;
|
|
72
|
-
|
|
72
|
+
type StyledParagraphProps = ComponentPropsWithRef<typeof StyledParagraph>;
|
|
73
73
|
|
|
74
74
|
interface ParagraphProps extends Omit<StyledParagraphProps, 'v1' | 'debug'> {
|
|
75
75
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-typography",
|
|
3
|
-
"version": "0.6.9-
|
|
3
|
+
"version": "0.6.9-sync-design-tokens.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@mirohq/design-system-experiments": "^0.2.0",
|
|
30
|
-
"@mirohq/design-system-
|
|
31
|
-
"@mirohq/design-system-stitches": "^2.6.31-
|
|
32
|
-
"@mirohq/design-system-
|
|
30
|
+
"@mirohq/design-system-use-local-storage": "^0.3.11",
|
|
31
|
+
"@mirohq/design-system-stitches": "^2.6.31-sync-design-tokens.0",
|
|
32
|
+
"@mirohq/design-system-primitive": "^1.1.2"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "rollup -c ../../../rollup.config.js",
|