@pathway-io/core 1.0.21 → 1.0.23

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.mts CHANGED
@@ -24,9 +24,10 @@ declare const colors: {
24
24
  900: string;
25
25
  950: string;
26
26
  };
27
+ readonly danger: "#FF801B";
27
28
  };
28
29
  declare const fonts: {
29
- readonly "3xl": {
30
+ readonly "4xl": {
30
31
  readonly size: 40;
31
32
  readonly lineHeight: 48;
32
33
  readonly family: {
@@ -36,7 +37,7 @@ declare const fonts: {
36
37
  readonly bold: "HelveticaNowDisplayBold";
37
38
  };
38
39
  };
39
- readonly "2xl": {
40
+ readonly "3xl": {
40
41
  readonly size: 28;
41
42
  readonly lineHeight: 36;
42
43
  readonly family: {
@@ -46,7 +47,7 @@ declare const fonts: {
46
47
  readonly bold: "HelveticaNowTextBold";
47
48
  };
48
49
  };
49
- readonly xl: {
50
+ readonly "2xl": {
50
51
  readonly size: 24;
51
52
  readonly lineHeight: 28;
52
53
  readonly family: {
@@ -56,7 +57,7 @@ declare const fonts: {
56
57
  readonly bold: "HelveticaNowTextBold";
57
58
  };
58
59
  };
59
- readonly lg: {
60
+ readonly xl: {
60
61
  readonly size: 20;
61
62
  readonly lineHeight: 28;
62
63
  readonly family: {
@@ -66,6 +67,16 @@ declare const fonts: {
66
67
  readonly bold: "HelveticaNowTextBold";
67
68
  };
68
69
  };
70
+ readonly lg: {
71
+ readonly size: 18;
72
+ readonly lineHeight: 25;
73
+ readonly family: {
74
+ readonly light: "HelveticaNowTextLight";
75
+ readonly reg: "HelveticaNowTextRegular";
76
+ readonly med: "HelveticaNowTextMedium";
77
+ readonly bold: "HelveticaNowTextBold";
78
+ };
79
+ };
69
80
  readonly default: {
70
81
  readonly size: 16;
71
82
  readonly lineHeight: 22;
package/dist/index.d.ts CHANGED
@@ -24,9 +24,10 @@ declare const colors: {
24
24
  900: string;
25
25
  950: string;
26
26
  };
27
+ readonly danger: "#FF801B";
27
28
  };
28
29
  declare const fonts: {
29
- readonly "3xl": {
30
+ readonly "4xl": {
30
31
  readonly size: 40;
31
32
  readonly lineHeight: 48;
32
33
  readonly family: {
@@ -36,7 +37,7 @@ declare const fonts: {
36
37
  readonly bold: "HelveticaNowDisplayBold";
37
38
  };
38
39
  };
39
- readonly "2xl": {
40
+ readonly "3xl": {
40
41
  readonly size: 28;
41
42
  readonly lineHeight: 36;
42
43
  readonly family: {
@@ -46,7 +47,7 @@ declare const fonts: {
46
47
  readonly bold: "HelveticaNowTextBold";
47
48
  };
48
49
  };
49
- readonly xl: {
50
+ readonly "2xl": {
50
51
  readonly size: 24;
51
52
  readonly lineHeight: 28;
52
53
  readonly family: {
@@ -56,7 +57,7 @@ declare const fonts: {
56
57
  readonly bold: "HelveticaNowTextBold";
57
58
  };
58
59
  };
59
- readonly lg: {
60
+ readonly xl: {
60
61
  readonly size: 20;
61
62
  readonly lineHeight: 28;
62
63
  readonly family: {
@@ -66,6 +67,16 @@ declare const fonts: {
66
67
  readonly bold: "HelveticaNowTextBold";
67
68
  };
68
69
  };
70
+ readonly lg: {
71
+ readonly size: 18;
72
+ readonly lineHeight: 25;
73
+ readonly family: {
74
+ readonly light: "HelveticaNowTextLight";
75
+ readonly reg: "HelveticaNowTextRegular";
76
+ readonly med: "HelveticaNowTextMedium";
77
+ readonly bold: "HelveticaNowTextBold";
78
+ };
79
+ };
69
80
  readonly default: {
70
81
  readonly size: 16;
71
82
  readonly lineHeight: 22;
package/dist/index.js CHANGED
@@ -39,6 +39,7 @@ var gray = {
39
39
  900: "#1c1917",
40
40
  950: "#0c0a09"
41
41
  };
42
+ var orange = "#FF801B";
42
43
  var green = {
43
44
  100: "#eeece8",
44
45
  200: "#d1d5c3",
@@ -53,10 +54,11 @@ var green = {
53
54
  };
54
55
  var colors = {
55
56
  neutral: gray,
56
- primary: green
57
+ primary: green,
58
+ danger: orange
57
59
  };
58
60
  var fonts = {
59
- "3xl": {
61
+ "4xl": {
60
62
  size: 40,
61
63
  lineHeight: 48,
62
64
  family: {
@@ -66,7 +68,7 @@ var fonts = {
66
68
  bold: "HelveticaNowDisplayBold"
67
69
  }
68
70
  },
69
- "2xl": {
71
+ "3xl": {
70
72
  size: 28,
71
73
  lineHeight: 36,
72
74
  family: {
@@ -76,7 +78,7 @@ var fonts = {
76
78
  bold: "HelveticaNowTextBold"
77
79
  }
78
80
  },
79
- xl: {
81
+ "2xl": {
80
82
  size: 24,
81
83
  lineHeight: 28,
82
84
  family: {
@@ -86,7 +88,7 @@ var fonts = {
86
88
  bold: "HelveticaNowTextBold"
87
89
  }
88
90
  },
89
- lg: {
91
+ xl: {
90
92
  size: 20,
91
93
  lineHeight: 28,
92
94
  family: {
@@ -96,6 +98,16 @@ var fonts = {
96
98
  bold: "HelveticaNowTextBold"
97
99
  }
98
100
  },
101
+ lg: {
102
+ size: 18,
103
+ lineHeight: 25,
104
+ family: {
105
+ light: "HelveticaNowTextLight",
106
+ reg: "HelveticaNowTextRegular",
107
+ med: "HelveticaNowTextMedium",
108
+ bold: "HelveticaNowTextBold"
109
+ }
110
+ },
99
111
  default: {
100
112
  size: 16,
101
113
  lineHeight: 22,
package/dist/index.mjs CHANGED
@@ -12,6 +12,7 @@ var gray = {
12
12
  900: "#1c1917",
13
13
  950: "#0c0a09"
14
14
  };
15
+ var orange = "#FF801B";
15
16
  var green = {
16
17
  100: "#eeece8",
17
18
  200: "#d1d5c3",
@@ -26,10 +27,11 @@ var green = {
26
27
  };
27
28
  var colors = {
28
29
  neutral: gray,
29
- primary: green
30
+ primary: green,
31
+ danger: orange
30
32
  };
31
33
  var fonts = {
32
- "3xl": {
34
+ "4xl": {
33
35
  size: 40,
34
36
  lineHeight: 48,
35
37
  family: {
@@ -39,7 +41,7 @@ var fonts = {
39
41
  bold: "HelveticaNowDisplayBold"
40
42
  }
41
43
  },
42
- "2xl": {
44
+ "3xl": {
43
45
  size: 28,
44
46
  lineHeight: 36,
45
47
  family: {
@@ -49,7 +51,7 @@ var fonts = {
49
51
  bold: "HelveticaNowTextBold"
50
52
  }
51
53
  },
52
- xl: {
54
+ "2xl": {
53
55
  size: 24,
54
56
  lineHeight: 28,
55
57
  family: {
@@ -59,7 +61,7 @@ var fonts = {
59
61
  bold: "HelveticaNowTextBold"
60
62
  }
61
63
  },
62
- lg: {
64
+ xl: {
63
65
  size: 20,
64
66
  lineHeight: 28,
65
67
  family: {
@@ -69,6 +71,16 @@ var fonts = {
69
71
  bold: "HelveticaNowTextBold"
70
72
  }
71
73
  },
74
+ lg: {
75
+ size: 18,
76
+ lineHeight: 25,
77
+ family: {
78
+ light: "HelveticaNowTextLight",
79
+ reg: "HelveticaNowTextRegular",
80
+ med: "HelveticaNowTextMedium",
81
+ bold: "HelveticaNowTextBold"
82
+ }
83
+ },
72
84
  default: {
73
85
  size: 16,
74
86
  lineHeight: 22,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pathway-io/core",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "description": "Shared constants and types for Pathway",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -12,6 +12,8 @@ const gray = {
12
12
  950: "#0c0a09",
13
13
  };
14
14
 
15
+ const orange = "#FF801B";
16
+
15
17
  const green = {
16
18
  100: "#eeece8",
17
19
  200: "#d1d5c3",
@@ -28,10 +30,11 @@ const green = {
28
30
  export const colors = {
29
31
  neutral: gray,
30
32
  primary: green,
33
+ danger: orange,
31
34
  } as const;
32
35
 
33
36
  export const fonts = {
34
- "3xl": {
37
+ "4xl": {
35
38
  size: 40,
36
39
  lineHeight: 48,
37
40
  family: {
@@ -41,7 +44,7 @@ export const fonts = {
41
44
  bold: "HelveticaNowDisplayBold",
42
45
  },
43
46
  },
44
- "2xl": {
47
+ "3xl": {
45
48
  size: 28,
46
49
  lineHeight: 36,
47
50
  family: {
@@ -51,7 +54,7 @@ export const fonts = {
51
54
  bold: "HelveticaNowTextBold",
52
55
  },
53
56
  },
54
- xl: {
57
+ "2xl": {
55
58
  size: 24,
56
59
  lineHeight: 28,
57
60
  family: {
@@ -61,7 +64,7 @@ export const fonts = {
61
64
  bold: "HelveticaNowTextBold",
62
65
  },
63
66
  },
64
- lg: {
67
+ xl: {
65
68
  size: 20,
66
69
  lineHeight: 28,
67
70
  family: {
@@ -71,6 +74,16 @@ export const fonts = {
71
74
  bold: "HelveticaNowTextBold",
72
75
  },
73
76
  },
77
+ lg: {
78
+ size: 18,
79
+ lineHeight: 25,
80
+ family: {
81
+ light: "HelveticaNowTextLight",
82
+ reg: "HelveticaNowTextRegular",
83
+ med: "HelveticaNowTextMedium",
84
+ bold: "HelveticaNowTextBold",
85
+ },
86
+ },
74
87
  default: {
75
88
  size: 16,
76
89
  lineHeight: 22,