@pathway-io/core 1.0.18 → 1.0.19
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.mts +44 -9
- package/dist/index.d.ts +44 -9
- package/dist/index.js +42 -7
- package/dist/index.mjs +42 -7
- package/package.json +1 -1
- package/src/styles/index.ts +71 -36
package/dist/index.d.mts
CHANGED
@@ -26,40 +26,75 @@ declare const colors: {
|
|
26
26
|
};
|
27
27
|
};
|
28
28
|
declare const fonts: {
|
29
|
-
readonly
|
29
|
+
readonly "3xl": {
|
30
30
|
readonly size: 40;
|
31
31
|
readonly lineHeight: 48;
|
32
|
-
readonly
|
32
|
+
readonly family: {
|
33
|
+
readonly light: "HelveticaNowDisplayLight";
|
34
|
+
readonly reg: "HelveticaNowDisplayRegular";
|
35
|
+
readonly med: "HelveticaNowDisplayMedium";
|
36
|
+
readonly bold: "HelveticaNowDisplayBold";
|
37
|
+
};
|
33
38
|
};
|
34
|
-
readonly
|
39
|
+
readonly "2xl": {
|
35
40
|
readonly size: 28;
|
36
41
|
readonly lineHeight: 36;
|
37
|
-
readonly
|
42
|
+
readonly family: {
|
43
|
+
readonly light: "HelveticaNowTextLight";
|
44
|
+
readonly reg: "HelveticaNowTextRegular";
|
45
|
+
readonly med: "HelveticaNowTextMedium";
|
46
|
+
readonly bold: "HelveticaNowTextBold";
|
47
|
+
};
|
38
48
|
};
|
39
49
|
readonly xl: {
|
40
50
|
readonly size: 24;
|
41
51
|
readonly lineHeight: 28;
|
42
|
-
readonly
|
52
|
+
readonly family: {
|
53
|
+
readonly light: "HelveticaNowTextLight";
|
54
|
+
readonly reg: "HelveticaNowTextRegular";
|
55
|
+
readonly med: "HelveticaNowTextMedium";
|
56
|
+
readonly bold: "HelveticaNowTextBold";
|
57
|
+
};
|
43
58
|
};
|
44
59
|
readonly lg: {
|
45
60
|
readonly size: 20;
|
46
61
|
readonly lineHeight: 28;
|
47
|
-
readonly
|
62
|
+
readonly family: {
|
63
|
+
readonly light: "HelveticaNowTextLight";
|
64
|
+
readonly reg: "HelveticaNowTextRegular";
|
65
|
+
readonly med: "HelveticaNowTextMedium";
|
66
|
+
readonly bold: "HelveticaNowTextBold";
|
67
|
+
};
|
48
68
|
};
|
49
69
|
readonly default: {
|
50
70
|
readonly size: 16;
|
51
71
|
readonly lineHeight: 22;
|
52
|
-
readonly
|
72
|
+
readonly family: {
|
73
|
+
readonly light: "HelveticaNowTextLight";
|
74
|
+
readonly reg: "HelveticaNowTextRegular";
|
75
|
+
readonly med: "HelveticaNowTextMedium";
|
76
|
+
readonly bold: "HelveticaNowTextBold";
|
77
|
+
};
|
53
78
|
};
|
54
79
|
readonly sm: {
|
55
80
|
readonly size: 14;
|
56
81
|
readonly lineHeight: 20;
|
57
|
-
readonly
|
82
|
+
readonly family: {
|
83
|
+
readonly light: "HelveticaNowMicroLight";
|
84
|
+
readonly reg: "HelveticaNowMicroRegular";
|
85
|
+
readonly med: "HelveticaNowMicroMedium";
|
86
|
+
readonly bold: "HelveticaNowMicroBold";
|
87
|
+
};
|
58
88
|
};
|
59
89
|
readonly xs: {
|
60
90
|
readonly size: 12;
|
61
91
|
readonly lineHeight: 18;
|
62
|
-
readonly
|
92
|
+
readonly family: {
|
93
|
+
readonly light: "HelveticaNowMicroLight";
|
94
|
+
readonly reg: "HelveticaNowMicroRegular";
|
95
|
+
readonly med: "HelveticaNowMicroMedium";
|
96
|
+
readonly bold: "HelveticaNowMicroBold";
|
97
|
+
};
|
63
98
|
};
|
64
99
|
};
|
65
100
|
|
package/dist/index.d.ts
CHANGED
@@ -26,40 +26,75 @@ declare const colors: {
|
|
26
26
|
};
|
27
27
|
};
|
28
28
|
declare const fonts: {
|
29
|
-
readonly
|
29
|
+
readonly "3xl": {
|
30
30
|
readonly size: 40;
|
31
31
|
readonly lineHeight: 48;
|
32
|
-
readonly
|
32
|
+
readonly family: {
|
33
|
+
readonly light: "HelveticaNowDisplayLight";
|
34
|
+
readonly reg: "HelveticaNowDisplayRegular";
|
35
|
+
readonly med: "HelveticaNowDisplayMedium";
|
36
|
+
readonly bold: "HelveticaNowDisplayBold";
|
37
|
+
};
|
33
38
|
};
|
34
|
-
readonly
|
39
|
+
readonly "2xl": {
|
35
40
|
readonly size: 28;
|
36
41
|
readonly lineHeight: 36;
|
37
|
-
readonly
|
42
|
+
readonly family: {
|
43
|
+
readonly light: "HelveticaNowTextLight";
|
44
|
+
readonly reg: "HelveticaNowTextRegular";
|
45
|
+
readonly med: "HelveticaNowTextMedium";
|
46
|
+
readonly bold: "HelveticaNowTextBold";
|
47
|
+
};
|
38
48
|
};
|
39
49
|
readonly xl: {
|
40
50
|
readonly size: 24;
|
41
51
|
readonly lineHeight: 28;
|
42
|
-
readonly
|
52
|
+
readonly family: {
|
53
|
+
readonly light: "HelveticaNowTextLight";
|
54
|
+
readonly reg: "HelveticaNowTextRegular";
|
55
|
+
readonly med: "HelveticaNowTextMedium";
|
56
|
+
readonly bold: "HelveticaNowTextBold";
|
57
|
+
};
|
43
58
|
};
|
44
59
|
readonly lg: {
|
45
60
|
readonly size: 20;
|
46
61
|
readonly lineHeight: 28;
|
47
|
-
readonly
|
62
|
+
readonly family: {
|
63
|
+
readonly light: "HelveticaNowTextLight";
|
64
|
+
readonly reg: "HelveticaNowTextRegular";
|
65
|
+
readonly med: "HelveticaNowTextMedium";
|
66
|
+
readonly bold: "HelveticaNowTextBold";
|
67
|
+
};
|
48
68
|
};
|
49
69
|
readonly default: {
|
50
70
|
readonly size: 16;
|
51
71
|
readonly lineHeight: 22;
|
52
|
-
readonly
|
72
|
+
readonly family: {
|
73
|
+
readonly light: "HelveticaNowTextLight";
|
74
|
+
readonly reg: "HelveticaNowTextRegular";
|
75
|
+
readonly med: "HelveticaNowTextMedium";
|
76
|
+
readonly bold: "HelveticaNowTextBold";
|
77
|
+
};
|
53
78
|
};
|
54
79
|
readonly sm: {
|
55
80
|
readonly size: 14;
|
56
81
|
readonly lineHeight: 20;
|
57
|
-
readonly
|
82
|
+
readonly family: {
|
83
|
+
readonly light: "HelveticaNowMicroLight";
|
84
|
+
readonly reg: "HelveticaNowMicroRegular";
|
85
|
+
readonly med: "HelveticaNowMicroMedium";
|
86
|
+
readonly bold: "HelveticaNowMicroBold";
|
87
|
+
};
|
58
88
|
};
|
59
89
|
readonly xs: {
|
60
90
|
readonly size: 12;
|
61
91
|
readonly lineHeight: 18;
|
62
|
-
readonly
|
92
|
+
readonly family: {
|
93
|
+
readonly light: "HelveticaNowMicroLight";
|
94
|
+
readonly reg: "HelveticaNowMicroRegular";
|
95
|
+
readonly med: "HelveticaNowMicroMedium";
|
96
|
+
readonly bold: "HelveticaNowMicroBold";
|
97
|
+
};
|
63
98
|
};
|
64
99
|
};
|
65
100
|
|
package/dist/index.js
CHANGED
@@ -59,37 +59,72 @@ var fonts = {
|
|
59
59
|
"3xl": {
|
60
60
|
size: 40,
|
61
61
|
lineHeight: 48,
|
62
|
-
|
62
|
+
family: {
|
63
|
+
light: "HelveticaNowDisplayLight",
|
64
|
+
reg: "HelveticaNowDisplayRegular",
|
65
|
+
med: "HelveticaNowDisplayMedium",
|
66
|
+
bold: "HelveticaNowDisplayBold"
|
67
|
+
}
|
63
68
|
},
|
64
69
|
"2xl": {
|
65
70
|
size: 28,
|
66
71
|
lineHeight: 36,
|
67
|
-
|
72
|
+
family: {
|
73
|
+
light: "HelveticaNowTextLight",
|
74
|
+
reg: "HelveticaNowTextRegular",
|
75
|
+
med: "HelveticaNowTextMedium",
|
76
|
+
bold: "HelveticaNowTextBold"
|
77
|
+
}
|
68
78
|
},
|
69
79
|
xl: {
|
70
80
|
size: 24,
|
71
81
|
lineHeight: 28,
|
72
|
-
|
82
|
+
family: {
|
83
|
+
light: "HelveticaNowTextLight",
|
84
|
+
reg: "HelveticaNowTextRegular",
|
85
|
+
med: "HelveticaNowTextMedium",
|
86
|
+
bold: "HelveticaNowTextBold"
|
87
|
+
}
|
73
88
|
},
|
74
89
|
lg: {
|
75
90
|
size: 20,
|
76
91
|
lineHeight: 28,
|
77
|
-
|
92
|
+
family: {
|
93
|
+
light: "HelveticaNowTextLight",
|
94
|
+
reg: "HelveticaNowTextRegular",
|
95
|
+
med: "HelveticaNowTextMedium",
|
96
|
+
bold: "HelveticaNowTextBold"
|
97
|
+
}
|
78
98
|
},
|
79
99
|
default: {
|
80
100
|
size: 16,
|
81
101
|
lineHeight: 22,
|
82
|
-
|
102
|
+
family: {
|
103
|
+
light: "HelveticaNowTextLight",
|
104
|
+
reg: "HelveticaNowTextRegular",
|
105
|
+
med: "HelveticaNowTextMedium",
|
106
|
+
bold: "HelveticaNowTextBold"
|
107
|
+
}
|
83
108
|
},
|
84
109
|
sm: {
|
85
110
|
size: 14,
|
86
111
|
lineHeight: 20,
|
87
|
-
|
112
|
+
family: {
|
113
|
+
light: "HelveticaNowMicroLight",
|
114
|
+
reg: "HelveticaNowMicroRegular",
|
115
|
+
med: "HelveticaNowMicroMedium",
|
116
|
+
bold: "HelveticaNowMicroBold"
|
117
|
+
}
|
88
118
|
},
|
89
119
|
xs: {
|
90
120
|
size: 12,
|
91
121
|
lineHeight: 18,
|
92
|
-
|
122
|
+
family: {
|
123
|
+
light: "HelveticaNowMicroLight",
|
124
|
+
reg: "HelveticaNowMicroRegular",
|
125
|
+
med: "HelveticaNowMicroMedium",
|
126
|
+
bold: "HelveticaNowMicroBold"
|
127
|
+
}
|
93
128
|
}
|
94
129
|
};
|
95
130
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/index.mjs
CHANGED
@@ -32,37 +32,72 @@ var fonts = {
|
|
32
32
|
"3xl": {
|
33
33
|
size: 40,
|
34
34
|
lineHeight: 48,
|
35
|
-
|
35
|
+
family: {
|
36
|
+
light: "HelveticaNowDisplayLight",
|
37
|
+
reg: "HelveticaNowDisplayRegular",
|
38
|
+
med: "HelveticaNowDisplayMedium",
|
39
|
+
bold: "HelveticaNowDisplayBold"
|
40
|
+
}
|
36
41
|
},
|
37
42
|
"2xl": {
|
38
43
|
size: 28,
|
39
44
|
lineHeight: 36,
|
40
|
-
|
45
|
+
family: {
|
46
|
+
light: "HelveticaNowTextLight",
|
47
|
+
reg: "HelveticaNowTextRegular",
|
48
|
+
med: "HelveticaNowTextMedium",
|
49
|
+
bold: "HelveticaNowTextBold"
|
50
|
+
}
|
41
51
|
},
|
42
52
|
xl: {
|
43
53
|
size: 24,
|
44
54
|
lineHeight: 28,
|
45
|
-
|
55
|
+
family: {
|
56
|
+
light: "HelveticaNowTextLight",
|
57
|
+
reg: "HelveticaNowTextRegular",
|
58
|
+
med: "HelveticaNowTextMedium",
|
59
|
+
bold: "HelveticaNowTextBold"
|
60
|
+
}
|
46
61
|
},
|
47
62
|
lg: {
|
48
63
|
size: 20,
|
49
64
|
lineHeight: 28,
|
50
|
-
|
65
|
+
family: {
|
66
|
+
light: "HelveticaNowTextLight",
|
67
|
+
reg: "HelveticaNowTextRegular",
|
68
|
+
med: "HelveticaNowTextMedium",
|
69
|
+
bold: "HelveticaNowTextBold"
|
70
|
+
}
|
51
71
|
},
|
52
72
|
default: {
|
53
73
|
size: 16,
|
54
74
|
lineHeight: 22,
|
55
|
-
|
75
|
+
family: {
|
76
|
+
light: "HelveticaNowTextLight",
|
77
|
+
reg: "HelveticaNowTextRegular",
|
78
|
+
med: "HelveticaNowTextMedium",
|
79
|
+
bold: "HelveticaNowTextBold"
|
80
|
+
}
|
56
81
|
},
|
57
82
|
sm: {
|
58
83
|
size: 14,
|
59
84
|
lineHeight: 20,
|
60
|
-
|
85
|
+
family: {
|
86
|
+
light: "HelveticaNowMicroLight",
|
87
|
+
reg: "HelveticaNowMicroRegular",
|
88
|
+
med: "HelveticaNowMicroMedium",
|
89
|
+
bold: "HelveticaNowMicroBold"
|
90
|
+
}
|
61
91
|
},
|
62
92
|
xs: {
|
63
93
|
size: 12,
|
64
94
|
lineHeight: 18,
|
65
|
-
|
95
|
+
family: {
|
96
|
+
light: "HelveticaNowMicroLight",
|
97
|
+
reg: "HelveticaNowMicroRegular",
|
98
|
+
med: "HelveticaNowMicroMedium",
|
99
|
+
bold: "HelveticaNowMicroBold"
|
100
|
+
}
|
66
101
|
}
|
67
102
|
};
|
68
103
|
export {
|
package/package.json
CHANGED
package/src/styles/index.ts
CHANGED
@@ -1,69 +1,104 @@
|
|
1
1
|
const gray = {
|
2
|
-
50:
|
3
|
-
100:
|
4
|
-
200:
|
5
|
-
300:
|
6
|
-
400:
|
7
|
-
500:
|
8
|
-
600:
|
9
|
-
700:
|
10
|
-
800:
|
11
|
-
900:
|
12
|
-
950:
|
13
|
-
}
|
2
|
+
50: "#fafaf9",
|
3
|
+
100: "#f5f5f4",
|
4
|
+
200: "#e7e5e4",
|
5
|
+
300: "#d6d3d1",
|
6
|
+
400: "#a8a29e",
|
7
|
+
500: "#78716c",
|
8
|
+
600: "#57534e",
|
9
|
+
700: "#44403c",
|
10
|
+
800: "#292524",
|
11
|
+
900: "#1c1917",
|
12
|
+
950: "#0c0a09",
|
13
|
+
};
|
14
14
|
|
15
15
|
const green = {
|
16
|
-
100:
|
17
|
-
200:
|
18
|
-
300:
|
19
|
-
400:
|
20
|
-
500:
|
21
|
-
600:
|
22
|
-
700:
|
23
|
-
800:
|
24
|
-
900:
|
25
|
-
950:
|
26
|
-
}
|
16
|
+
100: "#eeece8",
|
17
|
+
200: "#d1d5c3",
|
18
|
+
300: "#a3b18a",
|
19
|
+
400: "#7e9971",
|
20
|
+
500: "#588157",
|
21
|
+
600: "#3a5a40",
|
22
|
+
700: "#344e41",
|
23
|
+
800: "#23342b",
|
24
|
+
900: "#0b120f",
|
25
|
+
950: "#090f0c",
|
26
|
+
};
|
27
27
|
|
28
28
|
export const colors = {
|
29
29
|
neutral: gray,
|
30
|
-
primary: green
|
31
|
-
} as const
|
30
|
+
primary: green,
|
31
|
+
} as const;
|
32
32
|
|
33
33
|
export const fonts = {
|
34
|
-
|
34
|
+
"3xl": {
|
35
35
|
size: 40,
|
36
36
|
lineHeight: 48,
|
37
|
-
|
37
|
+
family: {
|
38
|
+
light: "HelveticaNowDisplayLight",
|
39
|
+
reg: "HelveticaNowDisplayRegular",
|
40
|
+
med: "HelveticaNowDisplayMedium",
|
41
|
+
bold: "HelveticaNowDisplayBold",
|
42
|
+
},
|
38
43
|
},
|
39
|
-
|
44
|
+
"2xl": {
|
40
45
|
size: 28,
|
41
46
|
lineHeight: 36,
|
42
|
-
|
47
|
+
family: {
|
48
|
+
light: "HelveticaNowTextLight",
|
49
|
+
reg: "HelveticaNowTextRegular",
|
50
|
+
med: "HelveticaNowTextMedium",
|
51
|
+
bold: "HelveticaNowTextBold",
|
52
|
+
},
|
43
53
|
},
|
44
54
|
xl: {
|
45
55
|
size: 24,
|
46
56
|
lineHeight: 28,
|
47
|
-
|
57
|
+
family: {
|
58
|
+
light: "HelveticaNowTextLight",
|
59
|
+
reg: "HelveticaNowTextRegular",
|
60
|
+
med: "HelveticaNowTextMedium",
|
61
|
+
bold: "HelveticaNowTextBold",
|
62
|
+
},
|
48
63
|
},
|
49
64
|
lg: {
|
50
65
|
size: 20,
|
51
66
|
lineHeight: 28,
|
52
|
-
|
67
|
+
family: {
|
68
|
+
light: "HelveticaNowTextLight",
|
69
|
+
reg: "HelveticaNowTextRegular",
|
70
|
+
med: "HelveticaNowTextMedium",
|
71
|
+
bold: "HelveticaNowTextBold",
|
72
|
+
},
|
53
73
|
},
|
54
74
|
default: {
|
55
75
|
size: 16,
|
56
76
|
lineHeight: 22,
|
57
|
-
|
77
|
+
family: {
|
78
|
+
light: "HelveticaNowTextLight",
|
79
|
+
reg: "HelveticaNowTextRegular",
|
80
|
+
med: "HelveticaNowTextMedium",
|
81
|
+
bold: "HelveticaNowTextBold",
|
82
|
+
},
|
58
83
|
},
|
59
84
|
sm: {
|
60
85
|
size: 14,
|
61
86
|
lineHeight: 20,
|
62
|
-
|
87
|
+
family: {
|
88
|
+
light: "HelveticaNowMicroLight",
|
89
|
+
reg: "HelveticaNowMicroRegular",
|
90
|
+
med: "HelveticaNowMicroMedium",
|
91
|
+
bold: "HelveticaNowMicroBold",
|
92
|
+
},
|
63
93
|
},
|
64
94
|
xs: {
|
65
95
|
size: 12,
|
66
96
|
lineHeight: 18,
|
67
|
-
|
68
|
-
|
69
|
-
|
97
|
+
family: {
|
98
|
+
light: "HelveticaNowMicroLight",
|
99
|
+
reg: "HelveticaNowMicroRegular",
|
100
|
+
med: "HelveticaNowMicroMedium",
|
101
|
+
bold: "HelveticaNowMicroBold",
|
102
|
+
},
|
103
|
+
},
|
104
|
+
} as const;
|