@trebired/frontend 5.1.2 → 6.0.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/CHANGELOG.md +12 -0
- package/README.md +22 -3
- package/dist/actions/styles/index.scss +42 -42
- package/dist/config/component-tokens.d.ts +297 -126
- package/dist/config/component-tokens.d.ts.map +1 -1
- package/dist/config/component-tokens.js +276 -102
- package/dist/config/component-tokens.js.map +1 -1
- package/dist/config/index.d.ts +1 -1
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/interactions.d.ts +2 -2
- package/dist/config/interactions.d.ts.map +1 -1
- package/dist/config/interactions.js +7 -7
- package/dist/config/interactions.js.map +1 -1
- package/dist/config/normalize.d.ts.map +1 -1
- package/dist/config/normalize.js +113 -51
- package/dist/config/normalize.js.map +1 -1
- package/dist/config/scss.d.ts.map +1 -1
- package/dist/config/scss.js +24 -23
- package/dist/config/scss.js.map +1 -1
- package/dist/config/types.d.ts +97 -33
- package/dist/config/types.d.ts.map +1 -1
- package/dist/flash/styles/index.scss +30 -30
- package/dist/graph/advanced/contributions_heatmap/model.d.ts +1 -1
- package/dist/graph/advanced/contributions_heatmap/model.d.ts.map +1 -1
- package/dist/graph/advanced/contributions_heatmap/model.js +5 -5
- package/dist/graph/advanced/contributions_heatmap/model.js.map +1 -1
- package/dist/graph/advanced/presets.js +4 -4
- package/dist/graph/advanced/presets.js.map +1 -1
- package/dist/inputs/advanced/checkbox/styles.scss +11 -11
- package/dist/inputs/advanced/dropdown/styles/base.scss +4 -4
- package/dist/inputs/advanced/dropdown/styles/portaled.scss +3 -3
- package/dist/inputs/advanced/input/styles/file.scss +5 -2
- package/dist/inputs/advanced/radio/styles.scss +8 -8
- package/dist/inputs/advanced/tabs/styles.scss +21 -21
- package/dist/inputs/advanced/toggle/styles.scss +4 -4
- package/dist/language/styles/index.scss +2 -2
- package/dist/layout/styles/chrome.scss +1 -1
- package/dist/logs/styles.scss +2 -2
- package/dist/popover/styles/index.scss +17 -17
- package/dist/primitives/styles/_card.scss +16 -16
- package/dist/primitives/styles/_controls.scss +54 -54
- package/dist/primitives/styles/_display.scss +9 -9
- package/dist/primitives/styles/_indicators.scss +5 -5
- package/dist/progress/styles/index.scss +4 -4
- package/dist/src/config/component-tokens.d.ts +297 -126
- package/dist/src/config/component-tokens.d.ts.map +1 -1
- package/dist/src/config/component-tokens.js +276 -102
- package/dist/src/config/component-tokens.js.map +1 -1
- package/dist/src/config/index.d.ts +1 -1
- package/dist/src/config/index.d.ts.map +1 -1
- package/dist/src/config/interactions.d.ts +2 -2
- package/dist/src/config/interactions.d.ts.map +1 -1
- package/dist/src/config/interactions.js +7 -7
- package/dist/src/config/interactions.js.map +1 -1
- package/dist/src/config/normalize.d.ts.map +1 -1
- package/dist/src/config/normalize.js +113 -51
- package/dist/src/config/normalize.js.map +1 -1
- package/dist/src/config/scss.d.ts.map +1 -1
- package/dist/src/config/scss.js +24 -23
- package/dist/src/config/scss.js.map +1 -1
- package/dist/src/config/types.d.ts +97 -33
- package/dist/src/config/types.d.ts.map +1 -1
- package/dist/src/graph/advanced/contributions_heatmap/model.d.ts +1 -1
- package/dist/src/graph/advanced/contributions_heatmap/model.d.ts.map +1 -1
- package/dist/src/graph/advanced/contributions_heatmap/model.js +5 -5
- package/dist/src/graph/advanced/contributions_heatmap/model.js.map +1 -1
- package/dist/src/graph/advanced/presets.js +4 -4
- package/dist/src/graph/advanced/presets.js.map +1 -1
- package/dist/surface/styles/index.scss +55 -55
- package/dist/theme/styles/index.scss +3 -3
- package/dist/tooltip/styles/index.scss +29 -29
- package/package.json +1 -1
|
@@ -1,149 +1,320 @@
|
|
|
1
1
|
import type { NormalizedFrontendComponentsConfig } from "./types.js";
|
|
2
2
|
declare const DEFAULT_FRONTEND_COMPONENTS_CONFIG: Readonly<{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
3
|
+
data: Readonly<{
|
|
4
|
+
graph: Readonly<{
|
|
5
|
+
download: Readonly<{}>;
|
|
6
|
+
heatmap: Readonly<{}>;
|
|
7
|
+
upload: Readonly<{}>;
|
|
8
|
+
}>;
|
|
9
|
+
log: Readonly<{
|
|
10
|
+
line: Readonly<{}>;
|
|
11
|
+
selection: Readonly<{}>;
|
|
12
|
+
}>;
|
|
13
|
+
}>;
|
|
14
|
+
feedback: Readonly<{
|
|
15
|
+
flash: Readonly<{
|
|
16
|
+
container: {
|
|
17
|
+
background: string;
|
|
18
|
+
border: string;
|
|
19
|
+
color: string;
|
|
20
|
+
padding: string;
|
|
21
|
+
radius: string;
|
|
20
22
|
};
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
intents: {
|
|
24
|
+
error: {};
|
|
25
|
+
info: {};
|
|
26
|
+
success: {};
|
|
27
|
+
warn: {};
|
|
24
28
|
};
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
29
|
+
layout: {
|
|
30
|
+
actionsGap: string;
|
|
31
|
+
bodyGap: string;
|
|
32
|
+
gap: string;
|
|
28
33
|
};
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
34
|
+
placement: {
|
|
35
|
+
maxWidth: string;
|
|
36
|
+
offset: string;
|
|
32
37
|
};
|
|
33
|
-
|
|
34
|
-
|
|
38
|
+
slots: {
|
|
39
|
+
description: {
|
|
40
|
+
fontSize: string;
|
|
41
|
+
};
|
|
42
|
+
icon: {
|
|
43
|
+
fontWeight: string;
|
|
44
|
+
size: string;
|
|
45
|
+
};
|
|
46
|
+
progress: {
|
|
47
|
+
height: string;
|
|
48
|
+
};
|
|
49
|
+
title: {
|
|
50
|
+
fontWeight: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}>;
|
|
55
|
+
overlays: Readonly<{
|
|
56
|
+
modal: Readonly<{}>;
|
|
57
|
+
popover: Readonly<{
|
|
58
|
+
item: {
|
|
59
|
+
root: {
|
|
60
|
+
height: string;
|
|
61
|
+
padding: string;
|
|
62
|
+
radius: string;
|
|
63
|
+
};
|
|
64
|
+
states: {
|
|
65
|
+
hover: {};
|
|
66
|
+
selected: {};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
panel: {
|
|
70
|
+
background: string;
|
|
71
|
+
border: string;
|
|
72
|
+
color: string;
|
|
73
|
+
gap: string;
|
|
74
|
+
padding: string;
|
|
75
|
+
radius: string;
|
|
76
|
+
};
|
|
77
|
+
}>;
|
|
78
|
+
tooltip: Readonly<{
|
|
79
|
+
arrow: {
|
|
80
|
+
borderWidth: string;
|
|
35
81
|
size: string;
|
|
36
82
|
};
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
83
|
+
motion: {
|
|
84
|
+
duration: string;
|
|
85
|
+
easing: string;
|
|
86
|
+
};
|
|
87
|
+
panel: {
|
|
88
|
+
background: string;
|
|
89
|
+
border: string;
|
|
90
|
+
color: string;
|
|
91
|
+
fontFamily: string;
|
|
43
92
|
fontSize: string;
|
|
44
|
-
|
|
45
|
-
|
|
93
|
+
lineHeight: string;
|
|
94
|
+
padding: string;
|
|
95
|
+
radius: string;
|
|
46
96
|
};
|
|
47
|
-
|
|
97
|
+
}>;
|
|
98
|
+
}>;
|
|
99
|
+
primitives: Readonly<{
|
|
100
|
+
actionControl: Readonly<{}>;
|
|
101
|
+
button: Readonly<{
|
|
102
|
+
root: {
|
|
103
|
+
background: string;
|
|
104
|
+
border: string;
|
|
105
|
+
color: string;
|
|
48
106
|
fontSize: string;
|
|
107
|
+
fontWeight: string;
|
|
108
|
+
gap: string;
|
|
49
109
|
height: string;
|
|
50
|
-
|
|
110
|
+
padding: string;
|
|
111
|
+
paddingBlock: string;
|
|
112
|
+
radius: string;
|
|
113
|
+
};
|
|
114
|
+
sizes: {
|
|
115
|
+
lg: {
|
|
116
|
+
fontSize: string;
|
|
117
|
+
height: string;
|
|
118
|
+
paddingInline: string;
|
|
119
|
+
};
|
|
120
|
+
md: {
|
|
121
|
+
fontSize: string;
|
|
122
|
+
height: string;
|
|
123
|
+
paddingInline: string;
|
|
124
|
+
};
|
|
125
|
+
sm: {
|
|
126
|
+
fontSize: string;
|
|
127
|
+
height: string;
|
|
128
|
+
paddingInline: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
slots: {
|
|
132
|
+
icon: {
|
|
133
|
+
fontSize: string;
|
|
134
|
+
size: string;
|
|
135
|
+
sizes: {
|
|
136
|
+
lg: {
|
|
137
|
+
fontSize: string;
|
|
138
|
+
size: string;
|
|
139
|
+
};
|
|
140
|
+
md: {
|
|
141
|
+
fontSize: string;
|
|
142
|
+
size: string;
|
|
143
|
+
};
|
|
144
|
+
sm: {
|
|
145
|
+
fontSize: string;
|
|
146
|
+
size: string;
|
|
147
|
+
};
|
|
148
|
+
xs: {
|
|
149
|
+
fontSize: string;
|
|
150
|
+
size: string;
|
|
151
|
+
};
|
|
152
|
+
xs2: {
|
|
153
|
+
fontSize: string;
|
|
154
|
+
size: string;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
};
|
|
51
158
|
};
|
|
52
|
-
|
|
159
|
+
states: {
|
|
160
|
+
disabled: {
|
|
161
|
+
opacity: string;
|
|
162
|
+
};
|
|
163
|
+
hover: {};
|
|
164
|
+
};
|
|
165
|
+
tones: {
|
|
166
|
+
green: {
|
|
167
|
+
states: {
|
|
168
|
+
hover: {};
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
highlight: {
|
|
172
|
+
states: {
|
|
173
|
+
hover: {};
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
red: {
|
|
177
|
+
states: {
|
|
178
|
+
hover: {};
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
yellow: {
|
|
182
|
+
states: {
|
|
183
|
+
hover: {};
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
}>;
|
|
188
|
+
choice: Readonly<{
|
|
189
|
+
checked: Readonly<{}>;
|
|
190
|
+
control: Readonly<{}>;
|
|
191
|
+
}>;
|
|
192
|
+
dot: Readonly<{}>;
|
|
193
|
+
dropdown: Readonly<{
|
|
194
|
+
arrow: Readonly<{}>;
|
|
195
|
+
menu: Readonly<{}>;
|
|
196
|
+
option: Readonly<{
|
|
197
|
+
states: {
|
|
198
|
+
hover: {};
|
|
199
|
+
selected: {};
|
|
200
|
+
};
|
|
201
|
+
}>;
|
|
202
|
+
}>;
|
|
203
|
+
input: Readonly<{
|
|
204
|
+
file: {
|
|
205
|
+
button: {
|
|
206
|
+
states: {
|
|
207
|
+
hover: {};
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
states: {
|
|
212
|
+
focus: {};
|
|
213
|
+
};
|
|
214
|
+
}>;
|
|
215
|
+
loader: Readonly<{}>;
|
|
216
|
+
pill: Readonly<{}>;
|
|
217
|
+
progress: Readonly<{}>;
|
|
218
|
+
tabs: Readonly<{
|
|
219
|
+
list: {
|
|
220
|
+
gap: string;
|
|
221
|
+
};
|
|
222
|
+
responsive: {
|
|
223
|
+
mobile: {
|
|
224
|
+
fontSize: string;
|
|
225
|
+
height: string;
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
root: {
|
|
229
|
+
background: string;
|
|
230
|
+
border: string;
|
|
231
|
+
color: string;
|
|
232
|
+
fontFamily: string;
|
|
53
233
|
fontSize: string;
|
|
54
234
|
height: string;
|
|
55
235
|
paddingInline: string;
|
|
236
|
+
radius: string;
|
|
56
237
|
};
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
minHeight: "var(--height-xs4, 35px)";
|
|
61
|
-
padding: "14px 14px 12px 14px";
|
|
62
|
-
radius: "var(--radius-lg, var(--tbf-radius, 0))";
|
|
63
|
-
row: {
|
|
64
|
-
padding: string;
|
|
65
|
-
radius: string;
|
|
66
|
-
};
|
|
67
|
-
title: {
|
|
68
|
-
fontSize: string;
|
|
69
|
-
fontWeight: string;
|
|
70
|
-
margin: string;
|
|
71
|
-
};
|
|
72
|
-
}>;
|
|
73
|
-
flash: Readonly<{
|
|
74
|
-
actionsGap: "8px";
|
|
75
|
-
bodyGap: "8px";
|
|
76
|
-
descriptionFontSize: "0.92rem";
|
|
77
|
-
gap: "10px";
|
|
78
|
-
icon: {
|
|
79
|
-
fontSize: string;
|
|
80
|
-
fontWeight: string;
|
|
81
|
-
};
|
|
82
|
-
maxWidth: "520px";
|
|
83
|
-
offset: "18px";
|
|
84
|
-
padding: "15px";
|
|
85
|
-
progressHeight: "4px";
|
|
86
|
-
radius: "var(--radius-lg, var(--tbf-radius, 0))";
|
|
87
|
-
title: {
|
|
88
|
-
fontWeight: string;
|
|
89
|
-
};
|
|
90
|
-
}>;
|
|
91
|
-
header: Readonly<{
|
|
92
|
-
brand: {
|
|
93
|
-
tag: {
|
|
94
|
-
offsetY: string;
|
|
238
|
+
states: {
|
|
239
|
+
active: {};
|
|
240
|
+
hover: {};
|
|
95
241
|
};
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
242
|
+
}>;
|
|
243
|
+
textLink: Readonly<{
|
|
244
|
+
root: {
|
|
245
|
+
color: string;
|
|
246
|
+
fontWeight: string;
|
|
247
|
+
textDecorationLine: string;
|
|
248
|
+
textDecorationStyle: string;
|
|
249
|
+
textDecorationThickness: string;
|
|
250
|
+
textUnderlineOffset: string;
|
|
251
|
+
transition: string;
|
|
252
|
+
};
|
|
253
|
+
states: {
|
|
254
|
+
hover: {
|
|
255
|
+
textDecorationStyle: string;
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
}>;
|
|
259
|
+
toggle: Readonly<{
|
|
260
|
+
active: Readonly<{}>;
|
|
261
|
+
thumb: Readonly<{}>;
|
|
262
|
+
track: Readonly<{}>;
|
|
263
|
+
}>;
|
|
116
264
|
}>;
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
265
|
+
shell: Readonly<{
|
|
266
|
+
header: Readonly<{
|
|
267
|
+
brand: {
|
|
268
|
+
tag: {
|
|
269
|
+
offsetY: string;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
}>;
|
|
273
|
+
language: Readonly<{
|
|
274
|
+
option: {
|
|
275
|
+
states: {
|
|
276
|
+
current: {};
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
}>;
|
|
280
|
+
sidebar: Readonly<{}>;
|
|
281
|
+
theme: Readonly<{
|
|
282
|
+
option: {
|
|
283
|
+
states: {
|
|
284
|
+
current: {};
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
}>;
|
|
129
288
|
}>;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
289
|
+
surfaces: Readonly<{
|
|
290
|
+
button: Readonly<{}>;
|
|
291
|
+
card: Readonly<{
|
|
292
|
+
body: {
|
|
293
|
+
divider: {};
|
|
294
|
+
};
|
|
295
|
+
root: {
|
|
296
|
+
background: string;
|
|
297
|
+
border: string;
|
|
298
|
+
minHeight: string;
|
|
299
|
+
padding: string;
|
|
300
|
+
radius: string;
|
|
301
|
+
};
|
|
302
|
+
row: {
|
|
303
|
+
background: string;
|
|
304
|
+
padding: string;
|
|
305
|
+
radius: string;
|
|
306
|
+
states: {
|
|
307
|
+
excluded: {};
|
|
308
|
+
hover: {};
|
|
309
|
+
selected: {};
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
title: {
|
|
313
|
+
fontSize: string;
|
|
314
|
+
fontWeight: string;
|
|
315
|
+
margin: string;
|
|
316
|
+
};
|
|
317
|
+
}>;
|
|
147
318
|
}>;
|
|
148
319
|
}>;
|
|
149
320
|
declare function normalizeComponentsConfig(value: unknown): NormalizedFrontendComponentsConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-tokens.d.ts","sourceRoot":"","sources":["../../../src/config/component-tokens.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kCAAkC,EAGnC,MAAM,YAAY,CAAC;AAIpB,QAAA,MAAM,kCAAkC
|
|
1
|
+
{"version":3,"file":"component-tokens.d.ts","sourceRoot":"","sources":["../../../src/config/component-tokens.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kCAAkC,EAGnC,MAAM,YAAY,CAAC;AAIpB,QAAA,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkQO,CAAC;AA8ChD,iBAAS,yBAAyB,CAAC,KAAK,EAAE,OAAO,GAAG,kCAAkC,CAiBrF;AAED,OAAO,EACL,kCAAkC,EAClC,yBAAyB,GAC1B,CAAC"}
|