@sentry/types 8.0.0-beta.6 → 8.0.0-rc.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/types",
|
|
3
|
-
"version": "8.0.0-
|
|
3
|
+
"version": "8.0.0-rc.1",
|
|
4
4
|
"description": "Types for all Sentry JavaScript SDKs",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/types",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
interface BaseStyles {
|
|
2
2
|
/**
|
|
3
3
|
* Font family for widget
|
|
4
4
|
*/
|
|
@@ -7,42 +7,70 @@ export interface FeedbackTheme {
|
|
|
7
7
|
* Font size for widget
|
|
8
8
|
*/
|
|
9
9
|
fontSize: string;
|
|
10
|
+
/**
|
|
11
|
+
* Foreground color (i.e. text color)
|
|
12
|
+
*/
|
|
13
|
+
foreground: string;
|
|
10
14
|
/**
|
|
11
15
|
* Background color for actor and dialog
|
|
12
16
|
*/
|
|
13
17
|
background: string;
|
|
14
18
|
/**
|
|
15
|
-
*
|
|
19
|
+
* Success color
|
|
16
20
|
*/
|
|
17
|
-
|
|
21
|
+
success: string;
|
|
18
22
|
/**
|
|
19
|
-
*
|
|
23
|
+
* Error color
|
|
20
24
|
*/
|
|
21
|
-
|
|
25
|
+
error: string;
|
|
26
|
+
}
|
|
27
|
+
interface ActorAndModal {
|
|
22
28
|
/**
|
|
23
|
-
*
|
|
29
|
+
* z-index of the floating Actor or Modal
|
|
24
30
|
*/
|
|
25
|
-
|
|
31
|
+
zIndex: number;
|
|
32
|
+
/**
|
|
33
|
+
* Border styling for actor and dialog
|
|
34
|
+
*/
|
|
35
|
+
border: string;
|
|
26
36
|
/**
|
|
27
37
|
* Box shadow for actor and dialog
|
|
28
38
|
*/
|
|
29
39
|
boxShadow: string;
|
|
40
|
+
}
|
|
41
|
+
interface ActorButton {
|
|
30
42
|
/**
|
|
31
|
-
*
|
|
43
|
+
* Background color on hover
|
|
32
44
|
*/
|
|
33
|
-
|
|
45
|
+
backgroundHover: string;
|
|
34
46
|
/**
|
|
35
|
-
*
|
|
47
|
+
* Border radius styling for actor
|
|
36
48
|
*/
|
|
37
|
-
|
|
49
|
+
borderRadius: string;
|
|
50
|
+
}
|
|
51
|
+
interface Modal {
|
|
38
52
|
/**
|
|
39
|
-
*
|
|
53
|
+
* Border radius for dialog
|
|
40
54
|
*/
|
|
41
|
-
|
|
55
|
+
formBorderRadius: string;
|
|
56
|
+
/**
|
|
57
|
+
* Border radius for form inputs
|
|
58
|
+
*/
|
|
59
|
+
formContentBorderRadius: string;
|
|
60
|
+
}
|
|
61
|
+
interface SubmitButton {
|
|
62
|
+
/**
|
|
63
|
+
* Foreground color for the submit button
|
|
64
|
+
*/
|
|
65
|
+
submitForeground: string;
|
|
42
66
|
/**
|
|
43
67
|
* Background color for the submit button
|
|
44
68
|
*/
|
|
45
69
|
submitBackground: string;
|
|
70
|
+
/**
|
|
71
|
+
* Foreground color for the submit button, in the hover state
|
|
72
|
+
*/
|
|
73
|
+
submitForegroundHover: string;
|
|
46
74
|
/**
|
|
47
75
|
* Background color when hovering over the submit button
|
|
48
76
|
*/
|
|
@@ -55,18 +83,20 @@ export interface FeedbackTheme {
|
|
|
55
83
|
* Border style for the submit button, in the focued state
|
|
56
84
|
*/
|
|
57
85
|
submitOutlineFocus: string;
|
|
86
|
+
}
|
|
87
|
+
interface CancelButton {
|
|
58
88
|
/**
|
|
59
|
-
* Foreground color for the
|
|
60
|
-
*/
|
|
61
|
-
submitForeground: string;
|
|
62
|
-
/**
|
|
63
|
-
* Foreground color for the submit button, in the hover state
|
|
89
|
+
* Foreground color for the cancel button
|
|
64
90
|
*/
|
|
65
|
-
|
|
91
|
+
cancelForeground: string;
|
|
66
92
|
/**
|
|
67
93
|
* Background color for the cancel button
|
|
68
94
|
*/
|
|
69
95
|
cancelBackground: string;
|
|
96
|
+
/**
|
|
97
|
+
* Foreground color for the cancel button, in the hover state
|
|
98
|
+
*/
|
|
99
|
+
cancelForegroundHover: string;
|
|
70
100
|
/**
|
|
71
101
|
* Background color when hovering over the cancel button
|
|
72
102
|
*/
|
|
@@ -79,14 +109,8 @@ export interface FeedbackTheme {
|
|
|
79
109
|
* Border style for the cancel button, in the focued state
|
|
80
110
|
*/
|
|
81
111
|
cancelOutlineFocus: string;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
*/
|
|
85
|
-
cancelForeground: string;
|
|
86
|
-
/**
|
|
87
|
-
* Foreground color for the cancel button, in the hover state
|
|
88
|
-
*/
|
|
89
|
-
cancelForegroundHover: string;
|
|
112
|
+
}
|
|
113
|
+
interface Input {
|
|
90
114
|
/**
|
|
91
115
|
* Background color for form inputs
|
|
92
116
|
*/
|
|
@@ -103,13 +127,8 @@ export interface FeedbackTheme {
|
|
|
103
127
|
* Border styles for form inputs when focused
|
|
104
128
|
*/
|
|
105
129
|
inputOutlineFocus: string;
|
|
106
|
-
/**
|
|
107
|
-
* Border radius for dialog
|
|
108
|
-
*/
|
|
109
|
-
formBorderRadius: string;
|
|
110
|
-
/**
|
|
111
|
-
* Border radius for form inputs
|
|
112
|
-
*/
|
|
113
|
-
formContentBorderRadius: string;
|
|
114
130
|
}
|
|
131
|
+
export interface FeedbackTheme extends BaseStyles, ActorAndModal, ActorButton, Modal, SubmitButton, CancelButton, Input {
|
|
132
|
+
}
|
|
133
|
+
export {};
|
|
115
134
|
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/feedback/theme.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/feedback/theme.ts"],"names":[],"mappings":"AAAA,UAAU,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AAU,KAAK;IACb;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,aACf,SAAQ,UAAU,EAChB,aAAa,EACb,WAAW,EACX,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,KAAK;CAAG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
interface BaseStyles {
|
|
2
2
|
/**
|
|
3
3
|
* Font family for widget
|
|
4
4
|
*/
|
|
@@ -7,42 +7,70 @@ export interface FeedbackTheme {
|
|
|
7
7
|
* Font size for widget
|
|
8
8
|
*/
|
|
9
9
|
fontSize: string;
|
|
10
|
+
/**
|
|
11
|
+
* Foreground color (i.e. text color)
|
|
12
|
+
*/
|
|
13
|
+
foreground: string;
|
|
10
14
|
/**
|
|
11
15
|
* Background color for actor and dialog
|
|
12
16
|
*/
|
|
13
17
|
background: string;
|
|
14
18
|
/**
|
|
15
|
-
*
|
|
19
|
+
* Success color
|
|
16
20
|
*/
|
|
17
|
-
|
|
21
|
+
success: string;
|
|
18
22
|
/**
|
|
19
|
-
*
|
|
23
|
+
* Error color
|
|
20
24
|
*/
|
|
21
|
-
|
|
25
|
+
error: string;
|
|
26
|
+
}
|
|
27
|
+
interface ActorAndModal {
|
|
22
28
|
/**
|
|
23
|
-
*
|
|
29
|
+
* z-index of the floating Actor or Modal
|
|
24
30
|
*/
|
|
25
|
-
|
|
31
|
+
zIndex: number;
|
|
32
|
+
/**
|
|
33
|
+
* Border styling for actor and dialog
|
|
34
|
+
*/
|
|
35
|
+
border: string;
|
|
26
36
|
/**
|
|
27
37
|
* Box shadow for actor and dialog
|
|
28
38
|
*/
|
|
29
39
|
boxShadow: string;
|
|
40
|
+
}
|
|
41
|
+
interface ActorButton {
|
|
30
42
|
/**
|
|
31
|
-
*
|
|
43
|
+
* Background color on hover
|
|
32
44
|
*/
|
|
33
|
-
|
|
45
|
+
backgroundHover: string;
|
|
34
46
|
/**
|
|
35
|
-
*
|
|
47
|
+
* Border radius styling for actor
|
|
36
48
|
*/
|
|
37
|
-
|
|
49
|
+
borderRadius: string;
|
|
50
|
+
}
|
|
51
|
+
interface Modal {
|
|
38
52
|
/**
|
|
39
|
-
*
|
|
53
|
+
* Border radius for dialog
|
|
40
54
|
*/
|
|
41
|
-
|
|
55
|
+
formBorderRadius: string;
|
|
56
|
+
/**
|
|
57
|
+
* Border radius for form inputs
|
|
58
|
+
*/
|
|
59
|
+
formContentBorderRadius: string;
|
|
60
|
+
}
|
|
61
|
+
interface SubmitButton {
|
|
62
|
+
/**
|
|
63
|
+
* Foreground color for the submit button
|
|
64
|
+
*/
|
|
65
|
+
submitForeground: string;
|
|
42
66
|
/**
|
|
43
67
|
* Background color for the submit button
|
|
44
68
|
*/
|
|
45
69
|
submitBackground: string;
|
|
70
|
+
/**
|
|
71
|
+
* Foreground color for the submit button, in the hover state
|
|
72
|
+
*/
|
|
73
|
+
submitForegroundHover: string;
|
|
46
74
|
/**
|
|
47
75
|
* Background color when hovering over the submit button
|
|
48
76
|
*/
|
|
@@ -55,18 +83,20 @@ export interface FeedbackTheme {
|
|
|
55
83
|
* Border style for the submit button, in the focued state
|
|
56
84
|
*/
|
|
57
85
|
submitOutlineFocus: string;
|
|
86
|
+
}
|
|
87
|
+
interface CancelButton {
|
|
58
88
|
/**
|
|
59
|
-
* Foreground color for the
|
|
60
|
-
*/
|
|
61
|
-
submitForeground: string;
|
|
62
|
-
/**
|
|
63
|
-
* Foreground color for the submit button, in the hover state
|
|
89
|
+
* Foreground color for the cancel button
|
|
64
90
|
*/
|
|
65
|
-
|
|
91
|
+
cancelForeground: string;
|
|
66
92
|
/**
|
|
67
93
|
* Background color for the cancel button
|
|
68
94
|
*/
|
|
69
95
|
cancelBackground: string;
|
|
96
|
+
/**
|
|
97
|
+
* Foreground color for the cancel button, in the hover state
|
|
98
|
+
*/
|
|
99
|
+
cancelForegroundHover: string;
|
|
70
100
|
/**
|
|
71
101
|
* Background color when hovering over the cancel button
|
|
72
102
|
*/
|
|
@@ -79,14 +109,8 @@ export interface FeedbackTheme {
|
|
|
79
109
|
* Border style for the cancel button, in the focued state
|
|
80
110
|
*/
|
|
81
111
|
cancelOutlineFocus: string;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
*/
|
|
85
|
-
cancelForeground: string;
|
|
86
|
-
/**
|
|
87
|
-
* Foreground color for the cancel button, in the hover state
|
|
88
|
-
*/
|
|
89
|
-
cancelForegroundHover: string;
|
|
112
|
+
}
|
|
113
|
+
interface Input {
|
|
90
114
|
/**
|
|
91
115
|
* Background color for form inputs
|
|
92
116
|
*/
|
|
@@ -103,13 +127,8 @@ export interface FeedbackTheme {
|
|
|
103
127
|
* Border styles for form inputs when focused
|
|
104
128
|
*/
|
|
105
129
|
inputOutlineFocus: string;
|
|
106
|
-
/**
|
|
107
|
-
* Border radius for dialog
|
|
108
|
-
*/
|
|
109
|
-
formBorderRadius: string;
|
|
110
|
-
/**
|
|
111
|
-
* Border radius for form inputs
|
|
112
|
-
*/
|
|
113
|
-
formContentBorderRadius: string;
|
|
114
130
|
}
|
|
131
|
+
export interface FeedbackTheme extends BaseStyles, ActorAndModal, ActorButton, Modal, SubmitButton, CancelButton, Input {
|
|
132
|
+
}
|
|
133
|
+
export {};
|
|
115
134
|
//# sourceMappingURL=theme.d.ts.map
|