@selfhelp/shared 1.11.0 → 1.12.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/CHANGELOG.md +27 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/plugin-sdk/index.d.mts +1 -1
- package/dist/plugin-sdk/index.d.ts +1 -1
- package/dist/registry/index.d.mts +2 -2
- package/dist/registry/index.d.ts +2 -2
- package/dist/{styles.registry-DkoT-FmN.d.mts → styles.registry-B8OzYnXv.d.mts} +1 -66
- package/dist/{styles.registry-BV1iF7k-.d.ts → styles.registry-CtM17edk.d.ts} +1 -66
- package/package.json +1 -1
- package/src/types/styles/auth.ts +1 -6
- package/src/types/styles/composite.ts +8 -24
- package/src/types/styles/forms.ts +21 -63
- package/src/types/styles/interactive.ts +10 -30
- package/src/types/styles/layout.ts +10 -30
- package/src/types/styles/media.ts +2 -6
- package/src/types/styles/typography.ts +9 -27
- package/src/types/styles/unknown.ts +1 -3
|
@@ -22,9 +22,7 @@ export interface IFormStyle extends IStyleWithSpacing {
|
|
|
22
22
|
style_name: 'form-log' | 'form-record';
|
|
23
23
|
btn_save_label?: IContentField<string>;
|
|
24
24
|
alert_success?: IContentField<string>;
|
|
25
|
-
name?: IContentField<string>;
|
|
26
|
-
is_log?: IContentField<string>;
|
|
27
|
-
redirect_at_end?: IContentField<string>;
|
|
25
|
+
name?: IContentField<string>; redirect_at_end?: IContentField<string>;
|
|
28
26
|
btn_cancel_url?: IContentField<string>;
|
|
29
27
|
btn_cancel_label?: IContentField<string>;
|
|
30
28
|
alert_error?: IContentField<string>;
|
|
@@ -33,9 +31,7 @@ export interface IFormStyle extends IStyleWithSpacing {
|
|
|
33
31
|
btn_save_color?: IContentField<string>;
|
|
34
32
|
btn_cancel_color?: IContentField<string>;
|
|
35
33
|
buttons_variant?: IContentField<string>;
|
|
36
|
-
buttons_position?: IContentField<string>;
|
|
37
|
-
use_web_style?: IContentField<string>;
|
|
38
|
-
}
|
|
34
|
+
buttons_position?: IContentField<string>;}
|
|
39
35
|
|
|
40
36
|
export interface IFormLogStyle extends IFormStyle {
|
|
41
37
|
style_name: 'form-log';
|
|
@@ -70,9 +66,7 @@ export interface ITextInputStyle extends IStyleWithSpacing {
|
|
|
70
66
|
is_required?: IContentField<string>;
|
|
71
67
|
disabled?: IContentField<string>;
|
|
72
68
|
web_left_icon?: IContentField<string>;
|
|
73
|
-
web_right_icon?: IContentField<string>;
|
|
74
|
-
use_web_style?: IContentField<string>;
|
|
75
|
-
shared_size?: IContentField<TSharedSize>;
|
|
69
|
+
web_right_icon?: IContentField<string>; shared_size?: IContentField<TSharedSize>;
|
|
76
70
|
shared_radius?: IContentField<TSharedRadius>;
|
|
77
71
|
web_text_input_variant?: IContentField<TMantineTextInputVariant>;
|
|
78
72
|
translatable?: IContentField<TMantineTranslatable>;
|
|
@@ -98,9 +92,7 @@ export interface ITextareaStyle extends IStyleWithSpacing {
|
|
|
98
92
|
web_textarea_resize?: IContentField<TMantineTextareaResize>;
|
|
99
93
|
shared_size?: IContentField<TSharedSize>;
|
|
100
94
|
shared_radius?: IContentField<TSharedRadius>;
|
|
101
|
-
web_textarea_variant?: IContentField<TMantineTextareaVariant>;
|
|
102
|
-
use_web_style?: IContentField<string>;
|
|
103
|
-
translatable?: IContentField<TMantineTranslatable>;
|
|
95
|
+
web_textarea_variant?: IContentField<TMantineTextareaVariant>; translatable?: IContentField<TMantineTranslatable>;
|
|
104
96
|
}
|
|
105
97
|
|
|
106
98
|
export interface IRichTextEditorStyle extends IStyleWithSpacing {
|
|
@@ -116,9 +108,7 @@ export interface IRichTextEditorStyle extends IStyleWithSpacing {
|
|
|
116
108
|
web_rich_text_editor_placeholder?: IContentField<string>;
|
|
117
109
|
web_rich_text_editor_bubble_menu?: IContentField<string>;
|
|
118
110
|
web_rich_text_editor_text_color?: IContentField<string>;
|
|
119
|
-
web_rich_text_editor_task_list?: IContentField<string>;
|
|
120
|
-
use_web_style?: IContentField<string>;
|
|
121
|
-
translatable?: IContentField<TMantineTranslatable>;
|
|
111
|
+
web_rich_text_editor_task_list?: IContentField<string>; translatable?: IContentField<TMantineTranslatable>;
|
|
122
112
|
}
|
|
123
113
|
|
|
124
114
|
export interface ISelectStyle extends IBaseStyle {
|
|
@@ -155,9 +145,7 @@ export interface IRadioStyle extends IStyleWithSpacing {
|
|
|
155
145
|
web_radio_card?: IContentField<string>;
|
|
156
146
|
web_tooltip_label?: IContentField<string>;
|
|
157
147
|
web_tooltip_position?: IContentField<string>;
|
|
158
|
-
disabled?: IContentField<string>;
|
|
159
|
-
use_web_style?: IContentField<string>;
|
|
160
|
-
web_use_input_wrapper?: IContentField<string>;
|
|
148
|
+
disabled?: IContentField<string>; web_use_input_wrapper?: IContentField<string>;
|
|
161
149
|
}
|
|
162
150
|
|
|
163
151
|
export interface ICheckboxStyle extends IStyleWithSpacing {
|
|
@@ -173,9 +161,7 @@ export interface ICheckboxStyle extends IStyleWithSpacing {
|
|
|
173
161
|
disabled?: IContentField<string>;
|
|
174
162
|
shared_size?: IContentField<TSharedSize>;
|
|
175
163
|
shared_radius?: IContentField<TSharedRadius>;
|
|
176
|
-
web_color?: IContentField<TMantineColor>;
|
|
177
|
-
use_web_style?: IContentField<string>;
|
|
178
|
-
web_use_input_wrapper?: IContentField<TMantineUseInputWrapper>;
|
|
164
|
+
web_color?: IContentField<TMantineColor>; web_use_input_wrapper?: IContentField<TMantineUseInputWrapper>;
|
|
179
165
|
}
|
|
180
166
|
|
|
181
167
|
export interface ISliderStyle extends IStyleWithSpacing {
|
|
@@ -190,9 +176,7 @@ export interface ISliderStyle extends IStyleWithSpacing {
|
|
|
190
176
|
shared_size?: IContentField<TSharedSize>;
|
|
191
177
|
web_color?: IContentField<TMantineColor>;
|
|
192
178
|
shared_radius?: IContentField<TSharedRadius>;
|
|
193
|
-
disabled?: IContentField<string>;
|
|
194
|
-
use_web_style?: IContentField<string>;
|
|
195
|
-
web_slider_marks_values?: IContentField<string>;
|
|
179
|
+
disabled?: IContentField<string>; web_slider_marks_values?: IContentField<string>;
|
|
196
180
|
web_slider_show_label?: IContentField<string>;
|
|
197
181
|
web_slider_labels_always_on?: IContentField<string>;
|
|
198
182
|
web_slider_inverted?: IContentField<string>;
|
|
@@ -216,9 +200,7 @@ export interface IRangeSliderStyle extends IStyleWithSpacing {
|
|
|
216
200
|
shared_size?: IContentField<TSharedSize>;
|
|
217
201
|
web_color?: IContentField<TMantineColor>;
|
|
218
202
|
shared_radius?: IContentField<TSharedRadius>;
|
|
219
|
-
disabled?: IContentField<string>;
|
|
220
|
-
use_web_style?: IContentField<string>;
|
|
221
|
-
}
|
|
203
|
+
disabled?: IContentField<string>;}
|
|
222
204
|
|
|
223
205
|
export interface IDatePickerStyle extends IStyleWithSpacing {
|
|
224
206
|
style_name: 'datepicker';
|
|
@@ -249,9 +231,7 @@ export interface IDatePickerStyle extends IStyleWithSpacing {
|
|
|
249
231
|
web_datepicker_time_grid_config?: IContentField<string>;
|
|
250
232
|
web_datepicker_with_seconds?: IContentField<string>;
|
|
251
233
|
shared_size?: IContentField<TSharedSize>;
|
|
252
|
-
shared_radius?: IContentField<TSharedRadius>;
|
|
253
|
-
use_web_style?: IContentField<string>;
|
|
254
|
-
}
|
|
234
|
+
shared_radius?: IContentField<TSharedRadius>;}
|
|
255
235
|
|
|
256
236
|
export interface ISwitchStyle extends IStyleWithSpacing {
|
|
257
237
|
style_name: 'switch';
|
|
@@ -262,9 +242,7 @@ export interface ISwitchStyle extends IStyleWithSpacing {
|
|
|
262
242
|
shared_size?: IContentField<TSharedSize>;
|
|
263
243
|
web_color?: IContentField<TMantineColor>;
|
|
264
244
|
shared_radius?: IContentField<TSharedRadius>;
|
|
265
|
-
disabled?: IContentField<string>;
|
|
266
|
-
use_web_style?: IContentField<string>;
|
|
267
|
-
name?: IContentField<string>;
|
|
245
|
+
disabled?: IContentField<string>; name?: IContentField<string>;
|
|
268
246
|
is_required?: IContentField<string>;
|
|
269
247
|
web_label_position?: IContentField<string>;
|
|
270
248
|
value?: IContentField<string>;
|
|
@@ -277,9 +255,7 @@ export interface IComboboxStyle extends IStyleWithSpacing {
|
|
|
277
255
|
style_name: 'combobox';
|
|
278
256
|
placeholder?: IContentField<string>;
|
|
279
257
|
web_combobox_options?: IContentField<string>;
|
|
280
|
-
disabled?: IContentField<string>;
|
|
281
|
-
use_web_style?: IContentField<string>;
|
|
282
|
-
label?: IContentField<string>;
|
|
258
|
+
disabled?: IContentField<string>; label?: IContentField<string>;
|
|
283
259
|
description?: IContentField<string>;
|
|
284
260
|
name?: IContentField<string>;
|
|
285
261
|
value?: IContentField<string>;
|
|
@@ -304,9 +280,7 @@ export interface IColorInputStyle extends IStyleWithSpacing {
|
|
|
304
280
|
value?: IContentField<string>;
|
|
305
281
|
description?: IContentField<string>;
|
|
306
282
|
is_required?: IContentField<string>;
|
|
307
|
-
disabled?: IContentField<string>;
|
|
308
|
-
use_web_style?: IContentField<string>;
|
|
309
|
-
}
|
|
283
|
+
disabled?: IContentField<string>;}
|
|
310
284
|
|
|
311
285
|
export interface IColorPickerStyle extends IStyleWithSpacing {
|
|
312
286
|
style_name: 'color-picker';
|
|
@@ -325,9 +299,7 @@ export interface IColorPickerStyle extends IStyleWithSpacing {
|
|
|
325
299
|
name?: IContentField<string>;
|
|
326
300
|
value?: IContentField<string>;
|
|
327
301
|
description?: IContentField<string>;
|
|
328
|
-
is_required?: IContentField<string>;
|
|
329
|
-
use_web_style?: IContentField<string>;
|
|
330
|
-
}
|
|
302
|
+
is_required?: IContentField<string>;}
|
|
331
303
|
|
|
332
304
|
export interface IFileInputStyle extends IStyleWithSpacing {
|
|
333
305
|
style_name: 'file-input';
|
|
@@ -342,9 +314,7 @@ export interface IFileInputStyle extends IStyleWithSpacing {
|
|
|
342
314
|
web_left_icon?: IContentField<string>;
|
|
343
315
|
web_right_icon?: IContentField<string>;
|
|
344
316
|
placeholder?: IContentField<string>;
|
|
345
|
-
disabled?: IContentField<string>;
|
|
346
|
-
use_web_style?: IContentField<string>;
|
|
347
|
-
is_required?: IContentField<string>;
|
|
317
|
+
disabled?: IContentField<string>; is_required?: IContentField<string>;
|
|
348
318
|
name?: IContentField<string>;
|
|
349
319
|
label?: IContentField<string>;
|
|
350
320
|
description?: IContentField<string>;
|
|
@@ -365,9 +335,7 @@ export interface INumberInputStyle extends IStyleWithSpacing {
|
|
|
365
335
|
name?: IContentField<string>;
|
|
366
336
|
value?: IContentField<string>;
|
|
367
337
|
is_required?: IContentField<string>;
|
|
368
|
-
disabled?: IContentField<string>;
|
|
369
|
-
use_web_style?: IContentField<string>;
|
|
370
|
-
}
|
|
338
|
+
disabled?: IContentField<string>;}
|
|
371
339
|
|
|
372
340
|
export interface ISegmentedControlStyle extends IStyleWithSpacing {
|
|
373
341
|
style_name: 'segmented-control';
|
|
@@ -378,9 +346,7 @@ export interface ISegmentedControlStyle extends IStyleWithSpacing {
|
|
|
378
346
|
web_color?: IContentField<TMantineColor>;
|
|
379
347
|
fullwidth?: IContentField<string>;
|
|
380
348
|
disabled?: IContentField<string>;
|
|
381
|
-
readonly?: IContentField<string>;
|
|
382
|
-
use_web_style?: IContentField<string>;
|
|
383
|
-
web_segmented_control_item_border?: IContentField<string>;
|
|
349
|
+
readonly?: IContentField<string>; web_segmented_control_item_border?: IContentField<string>;
|
|
384
350
|
label?: IContentField<string>;
|
|
385
351
|
description?: IContentField<string>;
|
|
386
352
|
value?: IContentField<string>;
|
|
@@ -403,9 +369,7 @@ export interface IRatingStyle extends IStyleWithSpacing {
|
|
|
403
369
|
web_rating_full_icon?: IContentField<string>;
|
|
404
370
|
web_rating_highlight_selected_only?: IContentField<string>;
|
|
405
371
|
shared_size?: IContentField<TSharedSize>;
|
|
406
|
-
web_color?: IContentField<TMantineColor>;
|
|
407
|
-
use_web_style?: IContentField<string>;
|
|
408
|
-
}
|
|
372
|
+
web_color?: IContentField<TMantineColor>;}
|
|
409
373
|
|
|
410
374
|
export interface IProgressStyle extends IStyleWithSpacing {
|
|
411
375
|
style_name: 'progress';
|
|
@@ -415,16 +379,12 @@ export interface IProgressStyle extends IStyleWithSpacing {
|
|
|
415
379
|
shared_size?: IContentField<TSharedSize>;
|
|
416
380
|
web_progress_striped?: IContentField<string>;
|
|
417
381
|
web_progress_animated?: IContentField<string>;
|
|
418
|
-
web_progress_transition_duration?: IContentField<TMantineProgressTransition>;
|
|
419
|
-
use_web_style?: IContentField<string>;
|
|
420
|
-
}
|
|
382
|
+
web_progress_transition_duration?: IContentField<TMantineProgressTransition>;}
|
|
421
383
|
|
|
422
384
|
export interface IProgressRootStyle extends IBaseStyle {
|
|
423
385
|
style_name: 'progress-root';
|
|
424
386
|
shared_size?: IContentField<TSharedSize>;
|
|
425
|
-
web_progress_auto_contrast?: IContentField<string>;
|
|
426
|
-
use_web_style?: IContentField<string>;
|
|
427
|
-
}
|
|
387
|
+
web_progress_auto_contrast?: IContentField<string>;}
|
|
428
388
|
|
|
429
389
|
export interface IProgressSectionStyle extends IBaseStyle {
|
|
430
390
|
style_name: 'progress-section';
|
|
@@ -434,9 +394,7 @@ export interface IProgressSectionStyle extends IBaseStyle {
|
|
|
434
394
|
web_progress_animated?: IContentField<string>;
|
|
435
395
|
label?: IContentField<string>;
|
|
436
396
|
web_tooltip_label?: IContentField<string>;
|
|
437
|
-
web_tooltip_position?: IContentField<string>;
|
|
438
|
-
use_web_style?: IContentField<string>;
|
|
439
|
-
}
|
|
397
|
+
web_tooltip_position?: IContentField<string>;}
|
|
440
398
|
|
|
441
399
|
export interface IShowUserInputEntry {
|
|
442
400
|
record_id: number;
|
|
@@ -27,9 +27,7 @@ export interface IButtonStyle extends IStyleWithSpacing {
|
|
|
27
27
|
shared_full_width?: IContentField<string>;
|
|
28
28
|
web_compact?: IContentField<string>;
|
|
29
29
|
web_auto_contrast?: IContentField<string>;
|
|
30
|
-
is_link?: IContentField<string>;
|
|
31
|
-
use_web_style?: IContentField<string>;
|
|
32
|
-
disabled?: IContentField<string>;
|
|
30
|
+
is_link?: IContentField<string>; disabled?: IContentField<string>;
|
|
33
31
|
open_in_new_tab?: IContentField<string>;
|
|
34
32
|
page_keyword?: IContentField<string>;
|
|
35
33
|
url?: IContentField<string>;
|
|
@@ -58,22 +56,16 @@ export interface IActionIconStyle extends IStyleWithSpacing {
|
|
|
58
56
|
is_link?: IContentField<string>;
|
|
59
57
|
page_keyword?: IContentField<string>;
|
|
60
58
|
open_in_new_tab?: IContentField<string>;
|
|
61
|
-
disabled?: IContentField<string>;
|
|
62
|
-
use_web_style?: IContentField<string>;
|
|
63
|
-
}
|
|
59
|
+
disabled?: IContentField<string>;}
|
|
64
60
|
|
|
65
61
|
export interface IAlertStyle extends IStyleWithSpacing {
|
|
66
62
|
style_name: 'alert';
|
|
67
|
-
|
|
68
|
-
close_button_label?: IContentField<string>;
|
|
69
|
-
web_variant?: IContentField<TMantineVariant>;
|
|
63
|
+
alert_title?: IContentField<string>; web_variant?: IContentField<TMantineVariant>;
|
|
70
64
|
web_color?: IContentField<TMantineColor>;
|
|
71
65
|
shared_radius?: IContentField<TSharedRadius>;
|
|
72
66
|
web_left_icon?: IContentField<string>;
|
|
73
67
|
web_with_close_button?: IContentField<string>;
|
|
74
|
-
content?: IContentField<string>;
|
|
75
|
-
use_web_style?: IContentField<string>;
|
|
76
|
-
}
|
|
68
|
+
content?: IContentField<string>;}
|
|
77
69
|
|
|
78
70
|
export interface IBadgeStyle extends IStyleWithSpacing {
|
|
79
71
|
style_name: 'badge';
|
|
@@ -82,9 +74,7 @@ export interface IBadgeStyle extends IStyleWithSpacing {
|
|
|
82
74
|
shared_size?: IContentField<TSharedSize>;
|
|
83
75
|
web_left_icon?: IContentField<string>;
|
|
84
76
|
shared_radius?: IContentField<TSharedRadius>;
|
|
85
|
-
web_color?: IContentField<TMantineColor>;
|
|
86
|
-
use_web_style?: IContentField<string>;
|
|
87
|
-
web_right_icon?: IContentField<string>;
|
|
77
|
+
web_color?: IContentField<TMantineColor>; web_right_icon?: IContentField<string>;
|
|
88
78
|
web_auto_contrast?: IContentField<string>;
|
|
89
79
|
}
|
|
90
80
|
|
|
@@ -94,9 +84,7 @@ export interface IAvatarStyle extends IStyleWithSpacing {
|
|
|
94
84
|
web_avatar_variant?: IContentField<TMantineAvatarVariant>;
|
|
95
85
|
shared_size?: IContentField<TSharedSize>;
|
|
96
86
|
shared_radius?: IContentField<TSharedRadius>;
|
|
97
|
-
web_color?: IContentField<TMantineColor>;
|
|
98
|
-
use_web_style?: IContentField<string>;
|
|
99
|
-
web_left_icon?: IContentField<string>;
|
|
87
|
+
web_color?: IContentField<TMantineColor>; web_left_icon?: IContentField<string>;
|
|
100
88
|
web_avatar_initials?: IContentField<string>;
|
|
101
89
|
img_src?: IContentField<string>;
|
|
102
90
|
}
|
|
@@ -110,9 +98,7 @@ export interface IChipStyle extends IStyleWithSpacing {
|
|
|
110
98
|
web_color?: IContentField<TMantineColor>;
|
|
111
99
|
web_chip_checked?: IContentField<string>;
|
|
112
100
|
web_chip_multiple?: IContentField<string>;
|
|
113
|
-
disabled?: IContentField<string>;
|
|
114
|
-
use_web_style?: IContentField<string>;
|
|
115
|
-
web_left_icon?: IContentField<string>;
|
|
101
|
+
disabled?: IContentField<string>; web_left_icon?: IContentField<string>;
|
|
116
102
|
web_icon_size?: IContentField<TMantineIconSize>;
|
|
117
103
|
name?: IContentField<string>;
|
|
118
104
|
value?: IContentField<string>;
|
|
@@ -137,18 +123,14 @@ export interface IIndicatorStyle extends IBaseStyle {
|
|
|
137
123
|
web_indicator_offset?: IContentField<string>;
|
|
138
124
|
web_border?: IContentField<string>;
|
|
139
125
|
shared_radius?: IContentField<TSharedRadius>;
|
|
140
|
-
web_color?: IContentField<TMantineColor>;
|
|
141
|
-
use_web_style?: IContentField<string>;
|
|
142
|
-
}
|
|
126
|
+
web_color?: IContentField<TMantineColor>;}
|
|
143
127
|
|
|
144
128
|
export interface IThemeIconStyle extends IStyleWithSpacing {
|
|
145
129
|
style_name: 'theme-icon';
|
|
146
130
|
web_variant?: IContentField<TMantineThemeIconVariant>;
|
|
147
131
|
shared_size?: IContentField<TSharedSize>;
|
|
148
132
|
shared_radius?: IContentField<TSharedRadius>;
|
|
149
|
-
web_color?: IContentField<TMantineColor>;
|
|
150
|
-
use_web_style?: IContentField<string>;
|
|
151
|
-
web_left_icon?: IContentField<string>;
|
|
133
|
+
web_color?: IContentField<TMantineColor>; web_left_icon?: IContentField<string>;
|
|
152
134
|
}
|
|
153
135
|
|
|
154
136
|
export interface INotificationStyle extends IStyleWithSpacing {
|
|
@@ -160,9 +142,7 @@ export interface INotificationStyle extends IStyleWithSpacing {
|
|
|
160
142
|
web_notification_loading?: IContentField<string>;
|
|
161
143
|
web_notification_with_close_button?: IContentField<string>;
|
|
162
144
|
web_border?: IContentField<string>;
|
|
163
|
-
shared_radius?: IContentField<TSharedRadius>;
|
|
164
|
-
use_web_style?: IContentField<string>;
|
|
165
|
-
}
|
|
145
|
+
shared_radius?: IContentField<TSharedRadius>;}
|
|
166
146
|
|
|
167
147
|
// NOTE: `fab-button` and `biometric-login-button` are deferred (mobile rendering
|
|
168
148
|
// plan, milestone-one scope). They are NOT part of the established 90-style
|
|
@@ -35,15 +35,11 @@ export interface IContainerStyle extends IStyleWithSpacing {
|
|
|
35
35
|
shared_size?: IContentField<TSharedSize>;
|
|
36
36
|
web_fluid?: IContentField<string>;
|
|
37
37
|
web_px?: IContentField<TMantineSpacing>;
|
|
38
|
-
web_py?: IContentField<TMantineSpacing>;
|
|
39
|
-
use_web_style?: IContentField<string>;
|
|
40
|
-
}
|
|
38
|
+
web_py?: IContentField<TMantineSpacing>;}
|
|
41
39
|
|
|
42
40
|
export interface IBoxStyle extends IStyleWithSpacing {
|
|
43
41
|
style_name: 'box';
|
|
44
|
-
content?: IContentField<string>;
|
|
45
|
-
use_web_style?: IContentField<string>;
|
|
46
|
-
}
|
|
42
|
+
content?: IContentField<string>;}
|
|
47
43
|
|
|
48
44
|
export interface IFlexStyle extends IStyleWithSpacing {
|
|
49
45
|
style_name: 'flex';
|
|
@@ -94,9 +90,7 @@ export interface IGridStyle extends IStyleWithSpacing {
|
|
|
94
90
|
shared_align?: IContentField<TMantineAlign>;
|
|
95
91
|
web_grid_overflow?: IContentField<string>;
|
|
96
92
|
web_width?: IContentField<TMantineWidth>;
|
|
97
|
-
web_height?: IContentField<TMantineHeight>;
|
|
98
|
-
use_web_style?: IContentField<string>;
|
|
99
|
-
}
|
|
93
|
+
web_height?: IContentField<TMantineHeight>;}
|
|
100
94
|
|
|
101
95
|
export interface IGridColumnStyle extends IStyleWithSpacing {
|
|
102
96
|
style_name: 'grid-column';
|
|
@@ -105,9 +99,7 @@ export interface IGridColumnStyle extends IStyleWithSpacing {
|
|
|
105
99
|
web_grid_order?: IContentField<TMantineGridOrder>;
|
|
106
100
|
web_grid_grow?: IContentField<string>;
|
|
107
101
|
web_width?: IContentField<TMantineWidth>;
|
|
108
|
-
web_height?: IContentField<TMantineHeight>;
|
|
109
|
-
use_web_style?: IContentField<string>;
|
|
110
|
-
}
|
|
102
|
+
web_height?: IContentField<TMantineHeight>;}
|
|
111
103
|
|
|
112
104
|
export interface ISpaceStyle extends IStyleWithSpacing {
|
|
113
105
|
style_name: 'space';
|
|
@@ -122,9 +114,7 @@ export interface IDividerStyle extends IBaseStyle {
|
|
|
122
114
|
web_divider_label?: IContentField<string>;
|
|
123
115
|
web_divider_label_position?: IContentField<string>;
|
|
124
116
|
shared_orientation?: IContentField<TMantineOrientation>;
|
|
125
|
-
web_color?: IContentField<TMantineColor>;
|
|
126
|
-
use_web_style?: IContentField<string>;
|
|
127
|
-
}
|
|
117
|
+
web_color?: IContentField<TMantineColor>;}
|
|
128
118
|
|
|
129
119
|
export interface IPaperStyle extends IStyleWithSpacing {
|
|
130
120
|
style_name: 'paper';
|
|
@@ -132,9 +122,7 @@ export interface IPaperStyle extends IStyleWithSpacing {
|
|
|
132
122
|
shared_radius?: IContentField<TSharedRadius>;
|
|
133
123
|
web_px?: IContentField<TMantineSpacing>;
|
|
134
124
|
web_py?: IContentField<TMantineSpacing>;
|
|
135
|
-
web_border?: IContentField<TMantineBorder>;
|
|
136
|
-
use_web_style?: IContentField<string>;
|
|
137
|
-
}
|
|
125
|
+
web_border?: IContentField<TMantineBorder>;}
|
|
138
126
|
|
|
139
127
|
export interface ICenterStyle extends IBaseStyle {
|
|
140
128
|
style_name: 'center';
|
|
@@ -161,27 +149,19 @@ export interface ICardStyle extends IStyleWithSpacing {
|
|
|
161
149
|
style_name: 'card';
|
|
162
150
|
web_card_shadow?: IContentField<TMantineCardShadow>;
|
|
163
151
|
web_border?: IContentField<TMantineBorder>;
|
|
164
|
-
shared_radius?: IContentField<TSharedRadius>;
|
|
165
|
-
use_web_style?: IContentField<string>;
|
|
166
|
-
}
|
|
152
|
+
shared_radius?: IContentField<TSharedRadius>;}
|
|
167
153
|
|
|
168
154
|
export interface ICardSegmentStyle extends IStyleWithSpacing {
|
|
169
|
-
style_name: 'card-segment';
|
|
170
|
-
use_web_style?: IContentField<string>;
|
|
171
|
-
}
|
|
155
|
+
style_name: 'card-segment';}
|
|
172
156
|
|
|
173
157
|
export interface IAspectRatioStyle extends IBaseStyle {
|
|
174
158
|
style_name: 'aspect-ratio';
|
|
175
|
-
web_aspect_ratio?: IContentField<string>;
|
|
176
|
-
use_web_style?: IContentField<string>;
|
|
177
|
-
}
|
|
159
|
+
web_aspect_ratio?: IContentField<string>;}
|
|
178
160
|
|
|
179
161
|
export interface IBackgroundImageStyle extends IStyleWithSpacing {
|
|
180
162
|
style_name: 'background-image';
|
|
181
163
|
img_src?: IContentField<string>;
|
|
182
|
-
shared_radius?: IContentField<TSharedRadius>;
|
|
183
|
-
use_web_style?: IContentField<string>;
|
|
184
|
-
}
|
|
164
|
+
shared_radius?: IContentField<TSharedRadius>;}
|
|
185
165
|
|
|
186
166
|
/**
|
|
187
167
|
* Renders content referenced from another section. Has no own fields; the
|
|
@@ -19,9 +19,7 @@ export interface IImageStyle extends IStyleWithSpacing {
|
|
|
19
19
|
web_image_fit?: IContentField<TMantineImageFit>;
|
|
20
20
|
web_width?: IContentField<TMantineWidth>;
|
|
21
21
|
web_height?: IContentField<TMantineHeight>;
|
|
22
|
-
shared_radius?: IContentField<TMantineRadius>;
|
|
23
|
-
use_web_style?: IContentField<string>;
|
|
24
|
-
}
|
|
22
|
+
shared_radius?: IContentField<TMantineRadius>;}
|
|
25
23
|
|
|
26
24
|
export interface IVideoStyle extends IBaseStyle {
|
|
27
25
|
style_name: 'video';
|
|
@@ -63,6 +61,4 @@ export interface ICarouselStyle extends IStyleWithSpacing {
|
|
|
63
61
|
skip_snaps?: IContentField<string>;
|
|
64
62
|
web_carousel_in_view_threshold?: IContentField<string>;
|
|
65
63
|
web_carousel_duration?: IContentField<string>;
|
|
66
|
-
web_carousel_embla_options?: IContentField<string>;
|
|
67
|
-
use_web_style?: IContentField<string>;
|
|
68
|
-
}
|
|
64
|
+
web_carousel_embla_options?: IContentField<string>;}
|
|
@@ -32,9 +32,7 @@ export interface ITitleStyle extends IStyleWithSpacing {
|
|
|
32
32
|
web_title_order?: IContentField<TMantineTitleOrder>;
|
|
33
33
|
shared_size?: IContentField<TMantineSize>;
|
|
34
34
|
web_title_text_wrap?: IContentField<TMantineTitleTextWrap>;
|
|
35
|
-
web_title_line_clamp?: IContentField<TMantineTitleLineClamp>;
|
|
36
|
-
use_web_style?: IContentField<string>;
|
|
37
|
-
}
|
|
35
|
+
web_title_line_clamp?: IContentField<TMantineTitleLineClamp>;}
|
|
38
36
|
|
|
39
37
|
export interface ITextStyle extends IStyleWithSpacing {
|
|
40
38
|
style_name: 'text';
|
|
@@ -51,25 +49,19 @@ export interface ITextStyle extends IStyleWithSpacing {
|
|
|
51
49
|
web_text_truncate?: IContentField<TMantineTextTruncate>;
|
|
52
50
|
web_text_line_clamp?: IContentField<TMantineLineClamp>;
|
|
53
51
|
web_text_inherit?: IContentField<TMantineTextInherit>;
|
|
54
|
-
web_text_span?: IContentField<TMantineTextSpan>;
|
|
55
|
-
use_web_style?: IContentField<string>;
|
|
56
|
-
}
|
|
52
|
+
web_text_span?: IContentField<TMantineTextSpan>;}
|
|
57
53
|
|
|
58
54
|
export interface ICodeStyle extends IStyleWithSpacing {
|
|
59
55
|
style_name: 'code';
|
|
60
56
|
web_code_block?: IContentField<string>;
|
|
61
|
-
web_color?: IContentField<TMantineColor>;
|
|
62
|
-
use_web_style?: IContentField<string>;
|
|
63
|
-
content?: IContentField<string>;
|
|
57
|
+
web_color?: IContentField<TMantineColor>; content?: IContentField<string>;
|
|
64
58
|
}
|
|
65
59
|
|
|
66
60
|
export interface IHighlightStyle extends IStyleWithSpacing {
|
|
67
61
|
style_name: 'highlight';
|
|
68
62
|
text?: IContentField<string>;
|
|
69
63
|
web_highlight_highlight?: IContentField<string>;
|
|
70
|
-
web_color?: IContentField<TMantineColor>;
|
|
71
|
-
use_web_style?: IContentField<string>;
|
|
72
|
-
}
|
|
64
|
+
web_color?: IContentField<TMantineColor>;}
|
|
73
65
|
|
|
74
66
|
export interface IBlockquoteStyle extends IStyleWithSpacing {
|
|
75
67
|
style_name: 'blockquote';
|
|
@@ -77,9 +69,7 @@ export interface IBlockquoteStyle extends IStyleWithSpacing {
|
|
|
77
69
|
cite?: IContentField<string>;
|
|
78
70
|
web_left_icon?: IContentField<string>;
|
|
79
71
|
web_icon_size?: IContentField<TMantineIconSize>;
|
|
80
|
-
web_color?: IContentField<TMantineColor>;
|
|
81
|
-
use_web_style?: IContentField<string>;
|
|
82
|
-
}
|
|
72
|
+
web_color?: IContentField<TMantineColor>;}
|
|
83
73
|
|
|
84
74
|
export interface IHtmlTagStyle extends IBaseStyle {
|
|
85
75
|
style_name: 'html-tag';
|
|
@@ -90,29 +80,21 @@ export interface IHtmlTagStyle extends IBaseStyle {
|
|
|
90
80
|
export interface IKbdStyle extends IStyleWithSpacing {
|
|
91
81
|
style_name: 'kbd';
|
|
92
82
|
label?: IContentField<string>;
|
|
93
|
-
shared_size?: IContentField<TMantineSize>;
|
|
94
|
-
use_web_style?: IContentField<string>;
|
|
95
|
-
}
|
|
83
|
+
shared_size?: IContentField<TMantineSize>;}
|
|
96
84
|
|
|
97
85
|
export interface ITypographyStyle extends IStyleWithSpacing {
|
|
98
|
-
style_name: 'typography';
|
|
99
|
-
use_web_style?: IContentField<string>;
|
|
100
|
-
}
|
|
86
|
+
style_name: 'typography';}
|
|
101
87
|
|
|
102
88
|
export interface IFieldsetStyle extends IStyleWithSpacing {
|
|
103
89
|
style_name: 'fieldset';
|
|
104
90
|
label?: IContentField<string>;
|
|
105
91
|
legend?: IContentField<string>;
|
|
106
92
|
web_fieldset_variant?: IContentField<TMantineFieldsetVariant>;
|
|
107
|
-
shared_radius?: IContentField<TMantineRadius>;
|
|
108
|
-
use_web_style?: IContentField<string>;
|
|
109
|
-
disabled?: IContentField<string>;
|
|
93
|
+
shared_radius?: IContentField<TMantineRadius>; disabled?: IContentField<string>;
|
|
110
94
|
}
|
|
111
95
|
|
|
112
96
|
export interface ISpoilerStyle extends IStyleWithSpacing {
|
|
113
97
|
style_name: 'spoiler';
|
|
114
98
|
web_height?: IContentField<TMantineSpoilerMaxHeight>;
|
|
115
99
|
web_spoiler_show_label?: IContentField<string>;
|
|
116
|
-
web_spoiler_hide_label?: IContentField<string>;
|
|
117
|
-
use_web_style?: IContentField<string>;
|
|
118
|
-
}
|
|
100
|
+
web_spoiler_hide_label?: IContentField<string>;}
|