@sentry/types 8.0.0-rc.3 → 8.0.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/package.json +1 -1
- package/types/feedback/theme.d.ts +16 -117
- package/types/feedback/theme.d.ts.map +1 -1
- package/types-ts3.8/feedback/theme.d.ts +16 -117
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",
|
|
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,136 +1,35 @@
|
|
|
1
|
-
interface
|
|
1
|
+
export interface FeedbackTheme {
|
|
2
2
|
/**
|
|
3
3
|
* Foreground color (i.e. text color)
|
|
4
4
|
*/
|
|
5
|
-
foreground
|
|
5
|
+
foreground?: string;
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
successForeground: string;
|
|
10
|
-
/**
|
|
11
|
-
* Error color
|
|
12
|
-
*/
|
|
13
|
-
errorForeground: string;
|
|
14
|
-
/**
|
|
15
|
-
* Background color for actor and dialog
|
|
16
|
-
*/
|
|
17
|
-
background: string;
|
|
18
|
-
/**
|
|
19
|
-
* Border styling for actor and dialog
|
|
20
|
-
*/
|
|
21
|
-
border: string;
|
|
22
|
-
/**
|
|
23
|
-
* Box shadow for actor and dialog
|
|
24
|
-
*/
|
|
25
|
-
boxShadow: string;
|
|
26
|
-
}
|
|
27
|
-
interface Input {
|
|
28
|
-
/**
|
|
29
|
-
* Foreground color for form inputs
|
|
30
|
-
*/
|
|
31
|
-
inputForeground: string;
|
|
32
|
-
/**
|
|
33
|
-
* Background color for form inputs
|
|
34
|
-
*/
|
|
35
|
-
inputBackground: string;
|
|
36
|
-
/**
|
|
37
|
-
* Background color for form inputs, in the hover state
|
|
38
|
-
*/
|
|
39
|
-
inputBackgroundHover: string;
|
|
40
|
-
/**
|
|
41
|
-
* Background color for form inputs, in the focus state
|
|
42
|
-
*/
|
|
43
|
-
inputBackgroundFocus: string;
|
|
44
|
-
/**
|
|
45
|
-
* Border styles for form inputs
|
|
46
|
-
*/
|
|
47
|
-
inputBorder: string;
|
|
48
|
-
/**
|
|
49
|
-
* Border radius for form inputs
|
|
50
|
-
*/
|
|
51
|
-
inputBorderRadius: string;
|
|
52
|
-
/**
|
|
53
|
-
* Border styles for form inputs when focused
|
|
54
|
-
*/
|
|
55
|
-
inputOutlineFocus: string;
|
|
56
|
-
}
|
|
57
|
-
interface Button {
|
|
58
|
-
/**
|
|
59
|
-
* Foreground color for buttons
|
|
60
|
-
*/
|
|
61
|
-
buttonForeground: string;
|
|
62
|
-
/**
|
|
63
|
-
* Foreground color for buttons, in the hover state
|
|
64
|
-
*/
|
|
65
|
-
buttonForegroundHover: string;
|
|
66
|
-
/**
|
|
67
|
-
* Background color for buttons
|
|
68
|
-
*/
|
|
69
|
-
buttonBackground: string;
|
|
70
|
-
/**
|
|
71
|
-
* Background color when hovering over buttons
|
|
72
|
-
*/
|
|
73
|
-
buttonBackgroundHover: string;
|
|
74
|
-
/**
|
|
75
|
-
* Border style for buttons
|
|
76
|
-
*/
|
|
77
|
-
buttonBorder: string;
|
|
78
|
-
/**
|
|
79
|
-
* Border style for buttons, in the focued state
|
|
80
|
-
*/
|
|
81
|
-
buttonOutlineFocus: string;
|
|
82
|
-
}
|
|
83
|
-
interface SubmitButton {
|
|
84
|
-
/**
|
|
85
|
-
* Foreground color for submit buttons
|
|
7
|
+
* Background color for surfaces
|
|
86
8
|
*/
|
|
87
|
-
|
|
9
|
+
background?: string;
|
|
88
10
|
/**
|
|
89
|
-
* Foreground color for
|
|
11
|
+
* Foreground color for accented elements
|
|
90
12
|
*/
|
|
91
|
-
|
|
13
|
+
accentForeground?: string;
|
|
92
14
|
/**
|
|
93
|
-
* Background color for
|
|
15
|
+
* Background color for accented elements
|
|
94
16
|
*/
|
|
95
|
-
|
|
17
|
+
accentBackground?: string;
|
|
96
18
|
/**
|
|
97
|
-
*
|
|
98
|
-
*/
|
|
99
|
-
submitBackgroundHover: string;
|
|
100
|
-
/**
|
|
101
|
-
* Border style for submit buttons
|
|
102
|
-
*/
|
|
103
|
-
submitBorder: string;
|
|
104
|
-
/**
|
|
105
|
-
* Border style for submit buttons, in the focued state
|
|
106
|
-
*/
|
|
107
|
-
submitOutlineFocus: string;
|
|
108
|
-
}
|
|
109
|
-
interface Trigger {
|
|
110
|
-
/**
|
|
111
|
-
* Background color of the actor button
|
|
112
|
-
*/
|
|
113
|
-
triggerBackground: string;
|
|
114
|
-
/**
|
|
115
|
-
* Background color on hover
|
|
19
|
+
* Success color
|
|
116
20
|
*/
|
|
117
|
-
|
|
21
|
+
successColor?: string;
|
|
118
22
|
/**
|
|
119
|
-
*
|
|
23
|
+
* Error color
|
|
120
24
|
*/
|
|
121
|
-
|
|
122
|
-
}
|
|
123
|
-
interface Dialog {
|
|
25
|
+
errorColor?: string;
|
|
124
26
|
/**
|
|
125
|
-
*
|
|
27
|
+
* Box shadow for floating elements
|
|
126
28
|
*/
|
|
127
|
-
|
|
29
|
+
boxShadow?: string;
|
|
128
30
|
/**
|
|
129
|
-
*
|
|
31
|
+
* Styles for focused interactive components
|
|
130
32
|
*/
|
|
131
|
-
|
|
132
|
-
}
|
|
133
|
-
export interface FeedbackTheme extends BaseStyles, Input, Button, SubmitButton, Trigger, Dialog {
|
|
33
|
+
outline?: string;
|
|
134
34
|
}
|
|
135
|
-
export {};
|
|
136
35
|
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/feedback/theme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/feedback/theme.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -1,136 +1,35 @@
|
|
|
1
|
-
interface
|
|
1
|
+
export interface FeedbackTheme {
|
|
2
2
|
/**
|
|
3
3
|
* Foreground color (i.e. text color)
|
|
4
4
|
*/
|
|
5
|
-
foreground
|
|
5
|
+
foreground?: string;
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
successForeground: string;
|
|
10
|
-
/**
|
|
11
|
-
* Error color
|
|
12
|
-
*/
|
|
13
|
-
errorForeground: string;
|
|
14
|
-
/**
|
|
15
|
-
* Background color for actor and dialog
|
|
16
|
-
*/
|
|
17
|
-
background: string;
|
|
18
|
-
/**
|
|
19
|
-
* Border styling for actor and dialog
|
|
20
|
-
*/
|
|
21
|
-
border: string;
|
|
22
|
-
/**
|
|
23
|
-
* Box shadow for actor and dialog
|
|
24
|
-
*/
|
|
25
|
-
boxShadow: string;
|
|
26
|
-
}
|
|
27
|
-
interface Input {
|
|
28
|
-
/**
|
|
29
|
-
* Foreground color for form inputs
|
|
30
|
-
*/
|
|
31
|
-
inputForeground: string;
|
|
32
|
-
/**
|
|
33
|
-
* Background color for form inputs
|
|
34
|
-
*/
|
|
35
|
-
inputBackground: string;
|
|
36
|
-
/**
|
|
37
|
-
* Background color for form inputs, in the hover state
|
|
38
|
-
*/
|
|
39
|
-
inputBackgroundHover: string;
|
|
40
|
-
/**
|
|
41
|
-
* Background color for form inputs, in the focus state
|
|
42
|
-
*/
|
|
43
|
-
inputBackgroundFocus: string;
|
|
44
|
-
/**
|
|
45
|
-
* Border styles for form inputs
|
|
46
|
-
*/
|
|
47
|
-
inputBorder: string;
|
|
48
|
-
/**
|
|
49
|
-
* Border radius for form inputs
|
|
50
|
-
*/
|
|
51
|
-
inputBorderRadius: string;
|
|
52
|
-
/**
|
|
53
|
-
* Border styles for form inputs when focused
|
|
54
|
-
*/
|
|
55
|
-
inputOutlineFocus: string;
|
|
56
|
-
}
|
|
57
|
-
interface Button {
|
|
58
|
-
/**
|
|
59
|
-
* Foreground color for buttons
|
|
60
|
-
*/
|
|
61
|
-
buttonForeground: string;
|
|
62
|
-
/**
|
|
63
|
-
* Foreground color for buttons, in the hover state
|
|
64
|
-
*/
|
|
65
|
-
buttonForegroundHover: string;
|
|
66
|
-
/**
|
|
67
|
-
* Background color for buttons
|
|
68
|
-
*/
|
|
69
|
-
buttonBackground: string;
|
|
70
|
-
/**
|
|
71
|
-
* Background color when hovering over buttons
|
|
72
|
-
*/
|
|
73
|
-
buttonBackgroundHover: string;
|
|
74
|
-
/**
|
|
75
|
-
* Border style for buttons
|
|
76
|
-
*/
|
|
77
|
-
buttonBorder: string;
|
|
78
|
-
/**
|
|
79
|
-
* Border style for buttons, in the focued state
|
|
80
|
-
*/
|
|
81
|
-
buttonOutlineFocus: string;
|
|
82
|
-
}
|
|
83
|
-
interface SubmitButton {
|
|
84
|
-
/**
|
|
85
|
-
* Foreground color for submit buttons
|
|
7
|
+
* Background color for surfaces
|
|
86
8
|
*/
|
|
87
|
-
|
|
9
|
+
background?: string;
|
|
88
10
|
/**
|
|
89
|
-
* Foreground color for
|
|
11
|
+
* Foreground color for accented elements
|
|
90
12
|
*/
|
|
91
|
-
|
|
13
|
+
accentForeground?: string;
|
|
92
14
|
/**
|
|
93
|
-
* Background color for
|
|
15
|
+
* Background color for accented elements
|
|
94
16
|
*/
|
|
95
|
-
|
|
17
|
+
accentBackground?: string;
|
|
96
18
|
/**
|
|
97
|
-
*
|
|
98
|
-
*/
|
|
99
|
-
submitBackgroundHover: string;
|
|
100
|
-
/**
|
|
101
|
-
* Border style for submit buttons
|
|
102
|
-
*/
|
|
103
|
-
submitBorder: string;
|
|
104
|
-
/**
|
|
105
|
-
* Border style for submit buttons, in the focued state
|
|
106
|
-
*/
|
|
107
|
-
submitOutlineFocus: string;
|
|
108
|
-
}
|
|
109
|
-
interface Trigger {
|
|
110
|
-
/**
|
|
111
|
-
* Background color of the actor button
|
|
112
|
-
*/
|
|
113
|
-
triggerBackground: string;
|
|
114
|
-
/**
|
|
115
|
-
* Background color on hover
|
|
19
|
+
* Success color
|
|
116
20
|
*/
|
|
117
|
-
|
|
21
|
+
successColor?: string;
|
|
118
22
|
/**
|
|
119
|
-
*
|
|
23
|
+
* Error color
|
|
120
24
|
*/
|
|
121
|
-
|
|
122
|
-
}
|
|
123
|
-
interface Dialog {
|
|
25
|
+
errorColor?: string;
|
|
124
26
|
/**
|
|
125
|
-
*
|
|
27
|
+
* Box shadow for floating elements
|
|
126
28
|
*/
|
|
127
|
-
|
|
29
|
+
boxShadow?: string;
|
|
128
30
|
/**
|
|
129
|
-
*
|
|
31
|
+
* Styles for focused interactive components
|
|
130
32
|
*/
|
|
131
|
-
|
|
132
|
-
}
|
|
133
|
-
export interface FeedbackTheme extends BaseStyles, Input, Button, SubmitButton, Trigger, Dialog {
|
|
33
|
+
outline?: string;
|
|
134
34
|
}
|
|
135
|
-
export {};
|
|
136
35
|
//# sourceMappingURL=theme.d.ts.map
|