@jalvin/ui 2.0.38 → 2.0.39
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/__tests__/annotated-string.test.d.ts +1 -1
- package/dist/__tests__/annotated-string.test.d.ts.map +1 -1
- package/dist/__tests__/annotated-string.test.js +26 -39
- package/dist/__tests__/annotated-string.test.js.map +1 -1
- package/dist/__tests__/children-signature.test.js +20 -20
- package/dist/__tests__/children-signature.test.js.map +1 -1
- package/dist/__tests__/interaction.test.js +52 -35
- package/dist/__tests__/interaction.test.js.map +1 -1
- package/dist/__tests__/text.test.d.ts +1 -1
- package/dist/__tests__/text.test.d.ts.map +1 -1
- package/dist/__tests__/text.test.js +22 -16
- package/dist/__tests__/text.test.js.map +1 -1
- package/dist/__tests__/windowsizeclass.test.js +57 -66
- package/dist/__tests__/windowsizeclass.test.js.map +1 -1
- package/dist/annotated-string.d.ts +2 -4
- package/dist/annotated-string.d.ts.map +1 -1
- package/dist/annotated-string.js +19 -17
- package/dist/annotated-string.js.map +1 -1
- package/dist/button.d.ts +2 -3
- package/dist/button.d.ts.map +1 -1
- package/dist/button.js +8 -12
- package/dist/button.js.map +1 -1
- package/dist/canvas.d.ts +3 -3
- package/dist/canvas.d.ts.map +1 -1
- package/dist/canvas.js +31 -40
- package/dist/canvas.js.map +1 -1
- package/dist/checkbox.d.ts +1 -2
- package/dist/checkbox.d.ts.map +1 -1
- package/dist/checkbox.js +18 -11
- package/dist/checkbox.js.map +1 -1
- package/dist/image.d.ts +4 -6
- package/dist/image.d.ts.map +1 -1
- package/dist/image.js +32 -21
- package/dist/image.js.map +1 -1
- package/dist/index.d.ts +15 -14
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -19
- package/dist/index.js.map +1 -1
- package/dist/input.d.ts +1 -3
- package/dist/input.d.ts.map +1 -1
- package/dist/input.js +20 -13
- package/dist/input.js.map +1 -1
- package/dist/interaction.d.ts.map +1 -1
- package/dist/interaction.js +9 -27
- package/dist/interaction.js.map +1 -1
- package/dist/layout.d.ts +3 -4
- package/dist/layout.d.ts.map +1 -1
- package/dist/layout.js +7 -7
- package/dist/layout.js.map +1 -1
- package/dist/spacer.d.ts +2 -3
- package/dist/spacer.d.ts.map +1 -1
- package/dist/spacer.js +5 -5
- package/dist/spacer.js.map +1 -1
- package/dist/surface.d.ts +9 -10
- package/dist/surface.d.ts.map +1 -1
- package/dist/surface.js +30 -13
- package/dist/surface.js.map +1 -1
- package/dist/text.d.ts +3 -5
- package/dist/text.d.ts.map +1 -1
- package/dist/text.js +23 -12
- package/dist/text.js.map +1 -1
- package/dist/textarea.d.ts +1 -3
- package/dist/textarea.d.ts.map +1 -1
- package/dist/textarea.js +20 -13
- package/dist/textarea.js.map +1 -1
- package/dist/typography.d.ts +101 -129
- package/dist/typography.d.ts.map +1 -1
- package/dist/typography.js +29 -25
- package/dist/typography.js.map +1 -1
- package/package.json +3 -8
package/dist/textarea.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textarea.js","sourceRoot":"","sources":["../src/textarea.
|
|
1
|
+
{"version":3,"file":"textarea.js","sourceRoot":"","sources":["../src/textarea.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAmBtD,4BAA4B;AAC5B,MAAM,UAAU,QAAQ,CAAC,EACvB,KAAK,EACL,aAAa,EACb,WAAW,EACX,QAAQ,EACR,OAAO,GAAG,IAAI,EACd,QAAQ,GAAG,KAAK,EAChB,KAAK,EACL,cAAc,EACd,OAAO,GAAG,KAAK,EACf,SAAS,EACT,IAAI,GAAG,CAAC,EACR,OAAO,EACP,MAAM,EACN,SAAS,GACK;IACd,MAAM,QAAQ,GAAG,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC3C,MAAM,WAAW,GAAG,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;IAEpD,MAAM,Q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CAAC,CAAC;IACjC,IAAI,cAAc,EAAE,CAAC;QACnB,iBAAiB,CAAC,IAAI,CAAC,mBAAmB,CAAC,MAAM,EAAE;YACjD,KAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,EAAE;SACvE,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IACjD,CAAC;IAED,OAAO,mBAAmB,CAAC,KAAK,EAAE;QAChC,GAAG,QAAQ;QACX,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAC,KAAK,EAAE;KACnF,EAAE,iBAAiB,CAAC,CAAC;AACxB,CAAC"}
|
package/dist/typography.d.ts
CHANGED
|
@@ -1,137 +1,109 @@
|
|
|
1
|
-
|
|
1
|
+
/** Local definition for standard CSS properties. */
|
|
2
|
+
export type CSSProperties = {
|
|
3
|
+
[key: string]: string | number | undefined;
|
|
4
|
+
};
|
|
2
5
|
export interface TextStyleDef {
|
|
3
|
-
fontSize:
|
|
6
|
+
fontSize: number;
|
|
7
|
+
lineHeight: number;
|
|
4
8
|
fontWeight: number | "bold" | "normal";
|
|
5
|
-
|
|
6
|
-
|
|
9
|
+
letterSpacing: number;
|
|
10
|
+
fontFamily?: string;
|
|
11
|
+
color?: string;
|
|
7
12
|
}
|
|
8
13
|
export declare const TextStyle: {
|
|
9
|
-
displayLarge: {
|
|
10
|
-
fontSize:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
lineHeight:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
fontWeight:
|
|
37
|
-
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
fontSize:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
lineHeight:
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
lineHeight:
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
lineHeight:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
lineHeight:
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
lineHeight:
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
lineHeight:
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
lineHeight:
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
lineHeight:
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
lineHeight:
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
fontSize: string;
|
|
99
|
-
fontWeight: "bold";
|
|
100
|
-
lineHeight: string;
|
|
101
|
-
};
|
|
102
|
-
h3: {
|
|
103
|
-
fontSize: string;
|
|
104
|
-
fontWeight: "bold";
|
|
105
|
-
lineHeight: string;
|
|
106
|
-
};
|
|
107
|
-
h4: {
|
|
108
|
-
fontSize: string;
|
|
109
|
-
fontWeight: "bold";
|
|
110
|
-
lineHeight: string;
|
|
111
|
-
};
|
|
112
|
-
body: {
|
|
113
|
-
fontSize: string;
|
|
114
|
-
fontWeight: "normal";
|
|
115
|
-
lineHeight: string;
|
|
116
|
-
};
|
|
117
|
-
caption: {
|
|
118
|
-
fontSize: string;
|
|
119
|
-
fontWeight: "normal";
|
|
120
|
-
lineHeight: string;
|
|
121
|
-
};
|
|
122
|
-
button: {
|
|
123
|
-
fontSize: string;
|
|
124
|
-
fontWeight: number;
|
|
125
|
-
lineHeight: string;
|
|
126
|
-
letterSpacing: string;
|
|
127
|
-
};
|
|
128
|
-
code: {
|
|
129
|
-
fontSize: string;
|
|
130
|
-
fontWeight: "normal";
|
|
131
|
-
lineHeight: string;
|
|
132
|
-
letterSpacing: string;
|
|
14
|
+
readonly displayLarge: {
|
|
15
|
+
readonly fontSize: 57;
|
|
16
|
+
readonly lineHeight: 64;
|
|
17
|
+
readonly fontWeight: 400;
|
|
18
|
+
readonly letterSpacing: -0.25;
|
|
19
|
+
};
|
|
20
|
+
readonly displayMedium: {
|
|
21
|
+
readonly fontSize: 45;
|
|
22
|
+
readonly lineHeight: 52;
|
|
23
|
+
readonly fontWeight: 400;
|
|
24
|
+
readonly letterSpacing: 0;
|
|
25
|
+
};
|
|
26
|
+
readonly displaySmall: {
|
|
27
|
+
readonly fontSize: 36;
|
|
28
|
+
readonly lineHeight: 44;
|
|
29
|
+
readonly fontWeight: 400;
|
|
30
|
+
readonly letterSpacing: 0;
|
|
31
|
+
};
|
|
32
|
+
readonly headlineLarge: {
|
|
33
|
+
readonly fontSize: 32;
|
|
34
|
+
readonly lineHeight: 40;
|
|
35
|
+
readonly fontWeight: 400;
|
|
36
|
+
readonly letterSpacing: 0;
|
|
37
|
+
};
|
|
38
|
+
readonly headlineMedium: {
|
|
39
|
+
readonly fontSize: 28;
|
|
40
|
+
readonly lineHeight: 36;
|
|
41
|
+
readonly fontWeight: 400;
|
|
42
|
+
readonly letterSpacing: 0;
|
|
43
|
+
};
|
|
44
|
+
readonly headlineSmall: {
|
|
45
|
+
readonly fontSize: 24;
|
|
46
|
+
readonly lineHeight: 32;
|
|
47
|
+
readonly fontWeight: 400;
|
|
48
|
+
readonly letterSpacing: 0;
|
|
49
|
+
};
|
|
50
|
+
readonly titleLarge: {
|
|
51
|
+
readonly fontSize: 22;
|
|
52
|
+
readonly lineHeight: 28;
|
|
53
|
+
readonly fontWeight: 400;
|
|
54
|
+
readonly letterSpacing: 0;
|
|
55
|
+
};
|
|
56
|
+
readonly titleMedium: {
|
|
57
|
+
readonly fontSize: 16;
|
|
58
|
+
readonly lineHeight: 24;
|
|
59
|
+
readonly fontWeight: 500;
|
|
60
|
+
readonly letterSpacing: 0.15;
|
|
61
|
+
};
|
|
62
|
+
readonly titleSmall: {
|
|
63
|
+
readonly fontSize: 14;
|
|
64
|
+
readonly lineHeight: 20;
|
|
65
|
+
readonly fontWeight: 500;
|
|
66
|
+
readonly letterSpacing: 0.1;
|
|
67
|
+
};
|
|
68
|
+
readonly labelLarge: {
|
|
69
|
+
readonly fontSize: 14;
|
|
70
|
+
readonly lineHeight: 20;
|
|
71
|
+
readonly fontWeight: 500;
|
|
72
|
+
readonly letterSpacing: 0.1;
|
|
73
|
+
};
|
|
74
|
+
readonly labelMedium: {
|
|
75
|
+
readonly fontSize: 12;
|
|
76
|
+
readonly lineHeight: 16;
|
|
77
|
+
readonly fontWeight: 500;
|
|
78
|
+
readonly letterSpacing: 0.5;
|
|
79
|
+
};
|
|
80
|
+
readonly labelSmall: {
|
|
81
|
+
readonly fontSize: 11;
|
|
82
|
+
readonly lineHeight: 16;
|
|
83
|
+
readonly fontWeight: 500;
|
|
84
|
+
readonly letterSpacing: 0.5;
|
|
85
|
+
};
|
|
86
|
+
readonly bodyLarge: {
|
|
87
|
+
readonly fontSize: 16;
|
|
88
|
+
readonly lineHeight: 24;
|
|
89
|
+
readonly fontWeight: 400;
|
|
90
|
+
readonly letterSpacing: 0.5;
|
|
91
|
+
};
|
|
92
|
+
readonly bodyMedium: {
|
|
93
|
+
readonly fontSize: 14;
|
|
94
|
+
readonly lineHeight: 20;
|
|
95
|
+
readonly fontWeight: 400;
|
|
96
|
+
readonly letterSpacing: 0.25;
|
|
97
|
+
};
|
|
98
|
+
readonly bodySmall: {
|
|
99
|
+
readonly fontSize: 12;
|
|
100
|
+
readonly lineHeight: 16;
|
|
101
|
+
readonly fontWeight: 400;
|
|
102
|
+
readonly letterSpacing: 0.4;
|
|
133
103
|
};
|
|
134
104
|
};
|
|
135
|
-
|
|
105
|
+
/**
|
|
106
|
+
* Converts a TextStyle token to standard CSS properties.
|
|
107
|
+
*/
|
|
136
108
|
export declare function textStyleToCSS(style: TextStyleDef): CSSProperties;
|
|
137
109
|
//# sourceMappingURL=typography.d.ts.map
|
package/dist/typography.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../src/typography.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../src/typography.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,MAAM,MAAM,aAAa,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC;AAE3E,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;IACvC,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBZ,CAAC;AAEX;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,YAAY,GAAG,aAAa,CAUjE"}
|
package/dist/typography.js
CHANGED
|
@@ -1,30 +1,34 @@
|
|
|
1
1
|
export const TextStyle = {
|
|
2
|
-
displayLarge: { fontSize:
|
|
3
|
-
displayMedium: { fontSize:
|
|
4
|
-
displaySmall: { fontSize:
|
|
5
|
-
headlineLarge: { fontSize:
|
|
6
|
-
headlineMedium: { fontSize:
|
|
7
|
-
headlineSmall: { fontSize:
|
|
8
|
-
titleLarge: { fontSize:
|
|
9
|
-
titleMedium: { fontSize:
|
|
10
|
-
titleSmall: { fontSize:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
// Shortcuts
|
|
18
|
-
h1: { fontSize: "2rem", fontWeight: "bold", lineHeight: "2.5rem" },
|
|
19
|
-
h2: { fontSize: "1.5rem", fontWeight: "bold", lineHeight: "2rem" },
|
|
20
|
-
h3: { fontSize: "1.25rem", fontWeight: "bold", lineHeight: "1.75rem" },
|
|
21
|
-
h4: { fontSize: "1.125rem", fontWeight: "bold", lineHeight: "1.5rem" },
|
|
22
|
-
body: { fontSize: "1rem", fontWeight: "normal", lineHeight: "1.5rem" },
|
|
23
|
-
caption: { fontSize: "0.75rem", fontWeight: "normal", lineHeight: "1rem" },
|
|
24
|
-
button: { fontSize: "0.875rem", fontWeight: 500, lineHeight: "1rem", letterSpacing: "0.031em" },
|
|
25
|
-
code: { fontSize: "0.875rem", fontWeight: "normal", lineHeight: "1.4rem", letterSpacing: "-0.01em" },
|
|
2
|
+
displayLarge: { fontSize: 57, lineHeight: 64, fontWeight: 400, letterSpacing: -0.25 },
|
|
3
|
+
displayMedium: { fontSize: 45, lineHeight: 52, fontWeight: 400, letterSpacing: 0 },
|
|
4
|
+
displaySmall: { fontSize: 36, lineHeight: 44, fontWeight: 400, letterSpacing: 0 },
|
|
5
|
+
headlineLarge: { fontSize: 32, lineHeight: 40, fontWeight: 400, letterSpacing: 0 },
|
|
6
|
+
headlineMedium: { fontSize: 28, lineHeight: 36, fontWeight: 400, letterSpacing: 0 },
|
|
7
|
+
headlineSmall: { fontSize: 24, lineHeight: 32, fontWeight: 400, letterSpacing: 0 },
|
|
8
|
+
titleLarge: { fontSize: 22, lineHeight: 28, fontWeight: 400, letterSpacing: 0 },
|
|
9
|
+
titleMedium: { fontSize: 16, lineHeight: 24, fontWeight: 500, letterSpacing: 0.15 },
|
|
10
|
+
titleSmall: { fontSize: 14, lineHeight: 20, fontWeight: 500, letterSpacing: 0.1 },
|
|
11
|
+
labelLarge: { fontSize: 14, lineHeight: 20, fontWeight: 500, letterSpacing: 0.1 },
|
|
12
|
+
labelMedium: { fontSize: 12, lineHeight: 16, fontWeight: 500, letterSpacing: 0.5 },
|
|
13
|
+
labelSmall: { fontSize: 11, lineHeight: 16, fontWeight: 500, letterSpacing: 0.5 },
|
|
14
|
+
bodyLarge: { fontSize: 16, lineHeight: 24, fontWeight: 400, letterSpacing: 0.5 },
|
|
15
|
+
bodyMedium: { fontSize: 14, lineHeight: 20, fontWeight: 400, letterSpacing: 0.25 },
|
|
16
|
+
bodySmall: { fontSize: 12, lineHeight: 16, fontWeight: 400, letterSpacing: 0.4 },
|
|
26
17
|
};
|
|
18
|
+
/**
|
|
19
|
+
* Converts a TextStyle token to standard CSS properties.
|
|
20
|
+
*/
|
|
27
21
|
export function textStyleToCSS(style) {
|
|
28
|
-
|
|
22
|
+
const css = {
|
|
23
|
+
fontSize: `${style.fontSize}px`,
|
|
24
|
+
lineHeight: `${style.lineHeight}px`,
|
|
25
|
+
fontWeight: style.fontWeight,
|
|
26
|
+
letterSpacing: `${style.letterSpacing}px`,
|
|
27
|
+
};
|
|
28
|
+
if (style.fontFamily)
|
|
29
|
+
css.fontFamily = style.fontFamily;
|
|
30
|
+
if (style.color)
|
|
31
|
+
css.color = style.color;
|
|
32
|
+
return css;
|
|
29
33
|
}
|
|
30
34
|
//# sourceMappingURL=typography.js.map
|
package/dist/typography.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.js","sourceRoot":"","sources":["../src/typography.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typography.js","sourceRoot":"","sources":["../src/typography.ts"],"names":[],"mappings":"AAYA,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,YAAY,EAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,EAAE,aAAa,EAAE,CAAC,IAAI,EAAE;IACxF,aAAa,EAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,EAAE,aAAa,EAAE,CAAC,EAAE;IACpF,YAAY,EAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,EAAE,aAAa,EAAE,CAAC,EAAE;IACpF,aAAa,EAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,EAAE,aAAa,EAAE,CAAC,EAAE;IACpF,cAAc,EAAG,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,EAAE,aAAa,EAAE,CAAC,EAAE;IACpF,aAAa,EAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,EAAE,aAAa,EAAE,CAAC,EAAE;IACpF,UAAU,EAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,EAAE,aAAa,EAAE,CAAC,EAAE;IACpF,WAAW,EAAM,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE;IACvF,UAAU,EAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,EAAE,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AACb,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jalvin/ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.39",
|
|
4
4
|
"description": "Jalvin UI — Compose-style component library (Column, Row, Box, Button, Text, …)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -17,17 +17,12 @@
|
|
|
17
17
|
"files": [
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
|
-
"peerDependencies": {
|
|
21
|
-
"react": ">=18.0.0"
|
|
22
|
-
},
|
|
23
20
|
"devDependencies": {
|
|
24
|
-
"@jalvin/runtime": "
|
|
21
|
+
"@jalvin/runtime": "2.0.39",
|
|
22
|
+
"@testing-library/dom": "^10.4.1",
|
|
25
23
|
"@testing-library/jest-dom": "^6.9.1",
|
|
26
|
-
"@testing-library/react": "^16.3.2",
|
|
27
24
|
"@types/node": "^20.0.0",
|
|
28
|
-
"@types/react": "^18.0.0",
|
|
29
25
|
"jsdom": "^29.1.1",
|
|
30
|
-
"react": "^19.2.5",
|
|
31
26
|
"typescript": "^5.4.0",
|
|
32
27
|
"vitest": "^2.1.9"
|
|
33
28
|
},
|