@selfhelp/shared 1.11.0 → 1.13.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 +57 -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-BV1iF7k-.d.ts → styles.registry-BU5jGENN.d.ts} +31 -96
- package/dist/{styles.registry-DkoT-FmN.d.mts → styles.registry-NwlAWkvW.d.mts} +31 -96
- package/dist/theme/index.d.mts +3 -2
- package/dist/theme/index.d.ts +3 -2
- package/package.json +1 -1
- package/src/theme/mantineVariant.ts +3 -2
- package/src/types/styles/auth.ts +1 -6
- package/src/types/styles/composite.ts +9 -25
- package/src/types/styles/error.ts +3 -3
- package/src/types/styles/forms.ts +29 -71
- package/src/types/styles/interactive.ts +15 -35
- package/src/types/styles/layout.ts +10 -30
- package/src/types/styles/media.ts +2 -6
- package/src/types/styles/typography.ts +10 -28
- package/src/types/styles/unknown.ts +1 -3
|
@@ -48,29 +48,23 @@ export interface IAccordionStyle extends IStyleWithSpacing {
|
|
|
48
48
|
web_accordion_loop?: IContentField<TMantineAccordionLoop>;
|
|
49
49
|
web_accordion_transition_duration?: IContentField<string>;
|
|
50
50
|
web_accordion_default_value?: IContentField<string>;
|
|
51
|
-
shared_radius?: IContentField<TSharedRadius>;
|
|
52
|
-
use_web_style?: IContentField<string>;
|
|
53
|
-
}
|
|
51
|
+
shared_radius?: IContentField<TSharedRadius>;}
|
|
54
52
|
|
|
55
53
|
export interface IAccordionItemStyle extends IStyleWithSpacing {
|
|
56
54
|
style_name: 'accordion-item';
|
|
57
55
|
web_accordion_item_value?: IContentField<string>;
|
|
58
56
|
label?: IContentField<string>;
|
|
59
57
|
web_accordion_item_icon?: IContentField<string>;
|
|
60
|
-
disabled?: IContentField<string>;
|
|
61
|
-
use_web_style?: IContentField<string>;
|
|
62
|
-
}
|
|
58
|
+
disabled?: IContentField<string>;}
|
|
63
59
|
|
|
64
60
|
export interface ITabsStyle extends IStyleWithSpacing {
|
|
65
61
|
style_name: 'tabs';
|
|
66
62
|
web_tabs_variant?: IContentField<TMantineTabsVariant>;
|
|
67
63
|
web_tabs_orientation?: IContentField<TMantineOrientation>;
|
|
68
64
|
web_tabs_radius?: IContentField<TMantineRadius>;
|
|
69
|
-
|
|
65
|
+
shared_color?: IContentField<TMantineColor>;
|
|
70
66
|
web_width?: IContentField<TMantineWidth>;
|
|
71
|
-
web_height?: IContentField<TMantineHeight>;
|
|
72
|
-
use_web_style?: IContentField<string>;
|
|
73
|
-
}
|
|
67
|
+
web_height?: IContentField<TMantineHeight>;}
|
|
74
68
|
|
|
75
69
|
export interface ITabStyle extends IBaseStyle {
|
|
76
70
|
style_name: 'tab';
|
|
@@ -79,9 +73,7 @@ export interface ITabStyle extends IBaseStyle {
|
|
|
79
73
|
web_right_icon?: IContentField<string>;
|
|
80
74
|
web_tab_disabled?: IContentField<string>;
|
|
81
75
|
web_width?: IContentField<TMantineWidth>;
|
|
82
|
-
web_height?: IContentField<TMantineHeight>;
|
|
83
|
-
use_web_style?: IContentField<string>;
|
|
84
|
-
}
|
|
76
|
+
web_height?: IContentField<TMantineHeight>;}
|
|
85
77
|
|
|
86
78
|
export interface ITimelineStyle extends IStyleWithSpacing {
|
|
87
79
|
style_name: 'timeline';
|
|
@@ -90,9 +82,7 @@ export interface ITimelineStyle extends IStyleWithSpacing {
|
|
|
90
82
|
web_timeline_active?: IContentField<string>;
|
|
91
83
|
web_timeline_align?: IContentField<TMantineTimelineAlign>;
|
|
92
84
|
web_timeline_line_variant?: IContentField<TMantineTimelineLineVariant>;
|
|
93
|
-
|
|
94
|
-
use_web_style?: IContentField<string>;
|
|
95
|
-
}
|
|
85
|
+
shared_color?: IContentField<TMantineColor>;}
|
|
96
86
|
|
|
97
87
|
/**
|
|
98
88
|
* A single entry inside a `timeline`. Child-only style; placement is enforced
|
|
@@ -103,17 +93,13 @@ export interface ITimelineItemStyle extends IBaseStyle {
|
|
|
103
93
|
title?: IContentField<string>;
|
|
104
94
|
web_timeline_item_bullet?: IContentField<string>;
|
|
105
95
|
web_timeline_item_line_variant?: IContentField<TMantineTimelineLineVariant>;
|
|
106
|
-
|
|
107
|
-
use_web_style?: IContentField<string>;
|
|
108
|
-
}
|
|
96
|
+
shared_color?: IContentField<TMantineColor>;}
|
|
109
97
|
|
|
110
98
|
export interface IListStyle extends IStyleWithSpacing {
|
|
111
99
|
style_name: 'list';
|
|
112
100
|
web_list_type?: IContentField<TMantineListType>;
|
|
113
101
|
web_spacing?: IContentField<TMantineSpacing>;
|
|
114
|
-
shared_size?: IContentField<TSharedSize>;
|
|
115
|
-
use_web_style?: IContentField<string>;
|
|
116
|
-
web_list_list_style_type?: IContentField<TMantineListStyleType>;
|
|
102
|
+
shared_size?: IContentField<TSharedSize>; web_list_list_style_type?: IContentField<TMantineListStyleType>;
|
|
117
103
|
web_list_with_padding?: IContentField<TMantineListWithPadding>;
|
|
118
104
|
web_list_center?: IContentField<TMantineListCenter>;
|
|
119
105
|
web_list_icon?: IContentField<string>;
|
|
@@ -122,9 +108,7 @@ export interface IListStyle extends IStyleWithSpacing {
|
|
|
122
108
|
export interface IListItemStyle extends IStyleWithSpacing {
|
|
123
109
|
style_name: 'list-item';
|
|
124
110
|
web_list_item_content?: IContentField<string>;
|
|
125
|
-
web_list_item_icon?: IContentField<string>;
|
|
126
|
-
use_web_style?: IContentField<string>;
|
|
127
|
-
}
|
|
111
|
+
web_list_item_icon?: IContentField<string>;}
|
|
128
112
|
|
|
129
113
|
export interface IEntryListStyle extends IBaseStyle {
|
|
130
114
|
style_name: 'entry-list';
|
|
@@ -12,7 +12,7 @@ export interface INoAccessStyle extends IStyleWithSpacing {
|
|
|
12
12
|
button_label?: IContentField<string>;
|
|
13
13
|
login_label?: IContentField<string>;
|
|
14
14
|
show_login?: IContentField<string>;
|
|
15
|
-
|
|
15
|
+
shared_color?: IContentField<string>;
|
|
16
16
|
shared_radius?: IContentField<TSharedRadius>;
|
|
17
17
|
web_shadow?: IContentField<string>;
|
|
18
18
|
web_button_variant?: IContentField<string>;
|
|
@@ -25,7 +25,7 @@ export interface INotFoundStyle extends IStyleWithSpacing {
|
|
|
25
25
|
message?: IContentField<string>;
|
|
26
26
|
button_label?: IContentField<string>;
|
|
27
27
|
login_label?: IContentField<string>;
|
|
28
|
-
|
|
28
|
+
shared_color?: IContentField<string>;
|
|
29
29
|
shared_radius?: IContentField<TSharedRadius>;
|
|
30
30
|
web_shadow?: IContentField<string>;
|
|
31
31
|
web_button_variant?: IContentField<string>;
|
|
@@ -37,7 +37,7 @@ export interface IMissingStyle extends IStyleWithSpacing {
|
|
|
37
37
|
title?: IContentField<string>;
|
|
38
38
|
message?: IContentField<string>;
|
|
39
39
|
button_label?: IContentField<string>;
|
|
40
|
-
|
|
40
|
+
shared_color?: IContentField<string>;
|
|
41
41
|
shared_radius?: IContentField<TSharedRadius>;
|
|
42
42
|
web_shadow?: IContentField<string>;
|
|
43
43
|
web_button_variant?: IContentField<string>;
|
|
@@ -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 {
|
|
@@ -148,16 +138,14 @@ export interface IRadioStyle extends IStyleWithSpacing {
|
|
|
148
138
|
is_inline?: IContentField<string>;
|
|
149
139
|
shared_orientation?: IContentField<string>;
|
|
150
140
|
shared_size?: IContentField<TSharedSize>;
|
|
151
|
-
|
|
141
|
+
shared_color?: IContentField<TMantineColor>;
|
|
152
142
|
web_radio_options?: IContentField<string>;
|
|
153
143
|
web_radio_label_position?: IContentField<string>;
|
|
154
144
|
web_radio_variant?: IContentField<string>;
|
|
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 {
|
|
@@ -168,14 +156,12 @@ export interface ICheckboxStyle extends IStyleWithSpacing {
|
|
|
168
156
|
is_required?: IContentField<string>;
|
|
169
157
|
checkbox_value?: IContentField<string>;
|
|
170
158
|
web_checkbox_icon?: IContentField<string>;
|
|
171
|
-
|
|
159
|
+
web_checkbox_label_position?: IContentField<TMantineCheckboxLabelPosition>;
|
|
172
160
|
description?: IContentField<string>;
|
|
173
161
|
disabled?: IContentField<string>;
|
|
174
162
|
shared_size?: IContentField<TSharedSize>;
|
|
175
163
|
shared_radius?: IContentField<TSharedRadius>;
|
|
176
|
-
|
|
177
|
-
use_web_style?: IContentField<string>;
|
|
178
|
-
web_use_input_wrapper?: IContentField<TMantineUseInputWrapper>;
|
|
164
|
+
shared_color?: IContentField<TMantineColor>; web_use_input_wrapper?: IContentField<TMantineUseInputWrapper>;
|
|
179
165
|
}
|
|
180
166
|
|
|
181
167
|
export interface ISliderStyle extends IStyleWithSpacing {
|
|
@@ -188,11 +174,9 @@ export interface ISliderStyle extends IStyleWithSpacing {
|
|
|
188
174
|
web_numeric_max?: IContentField<string>;
|
|
189
175
|
web_numeric_step?: IContentField<string>;
|
|
190
176
|
shared_size?: IContentField<TSharedSize>;
|
|
191
|
-
|
|
177
|
+
shared_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>;
|
|
@@ -214,11 +198,9 @@ export interface IRangeSliderStyle extends IStyleWithSpacing {
|
|
|
214
198
|
web_range_slider_labels_always_on?: IContentField<string>;
|
|
215
199
|
web_range_slider_inverted?: IContentField<string>;
|
|
216
200
|
shared_size?: IContentField<TSharedSize>;
|
|
217
|
-
|
|
201
|
+
shared_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';
|
|
@@ -260,11 +240,9 @@ export interface ISwitchStyle extends IStyleWithSpacing {
|
|
|
260
240
|
web_switch_on_label?: IContentField<string>;
|
|
261
241
|
web_switch_off_label?: IContentField<string>;
|
|
262
242
|
shared_size?: IContentField<TSharedSize>;
|
|
263
|
-
|
|
243
|
+
shared_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';
|
|
@@ -375,12 +343,10 @@ export interface ISegmentedControlStyle extends IStyleWithSpacing {
|
|
|
375
343
|
shared_orientation?: IContentField<string>;
|
|
376
344
|
shared_size?: IContentField<TSharedSize>;
|
|
377
345
|
shared_radius?: IContentField<TSharedRadius>;
|
|
378
|
-
|
|
346
|
+
shared_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,40 +369,32 @@ 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
|
-
|
|
407
|
-
use_web_style?: IContentField<string>;
|
|
408
|
-
}
|
|
372
|
+
shared_color?: IContentField<TMantineColor>;}
|
|
409
373
|
|
|
410
374
|
export interface IProgressStyle extends IStyleWithSpacing {
|
|
411
375
|
style_name: 'progress';
|
|
412
376
|
value?: IContentField<string>;
|
|
413
|
-
|
|
377
|
+
shared_color?: IContentField<TMantineColor>;
|
|
414
378
|
shared_radius?: IContentField<TSharedRadius>;
|
|
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';
|
|
431
391
|
value?: IContentField<string>;
|
|
432
|
-
|
|
392
|
+
shared_color?: IContentField<TMantineColor>;
|
|
433
393
|
web_progress_striped?: IContentField<string>;
|
|
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;
|
|
@@ -19,7 +19,7 @@ import type { TMantineIconSize } from './typography';
|
|
|
19
19
|
export interface IButtonStyle extends IStyleWithSpacing {
|
|
20
20
|
style_name: 'button';
|
|
21
21
|
web_variant?: IContentField<TMantineVariant>;
|
|
22
|
-
|
|
22
|
+
shared_color?: IContentField<TMantineColor>;
|
|
23
23
|
shared_size?: IContentField<TSharedSize>;
|
|
24
24
|
shared_radius?: IContentField<TSharedRadius>;
|
|
25
25
|
web_left_icon?: IContentField<string>;
|
|
@@ -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>;
|
|
@@ -53,27 +51,21 @@ export interface IActionIconStyle extends IStyleWithSpacing {
|
|
|
53
51
|
web_action_icon_loading?: IContentField<string>;
|
|
54
52
|
shared_size?: IContentField<TSharedSize>;
|
|
55
53
|
shared_radius?: IContentField<TSharedRadius>;
|
|
56
|
-
|
|
54
|
+
shared_color?: IContentField<TMantineColor>;
|
|
57
55
|
web_left_icon?: IContentField<string>;
|
|
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
|
-
|
|
69
|
-
web_variant?: IContentField<TMantineVariant>;
|
|
70
|
-
web_color?: IContentField<TMantineColor>;
|
|
63
|
+
alert_title?: IContentField<string>; web_variant?: IContentField<TMantineVariant>;
|
|
64
|
+
shared_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
|
-
|
|
86
|
-
use_web_style?: IContentField<string>;
|
|
87
|
-
web_right_icon?: IContentField<string>;
|
|
77
|
+
shared_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
|
-
|
|
98
|
-
use_web_style?: IContentField<string>;
|
|
99
|
-
web_left_icon?: IContentField<string>;
|
|
87
|
+
shared_color?: IContentField<TMantineColor>; web_left_icon?: IContentField<string>;
|
|
100
88
|
web_avatar_initials?: IContentField<string>;
|
|
101
89
|
img_src?: IContentField<string>;
|
|
102
90
|
}
|
|
@@ -107,12 +95,10 @@ export interface IChipStyle extends IStyleWithSpacing {
|
|
|
107
95
|
web_chip_variant?: IContentField<TMantineChipVariant>;
|
|
108
96
|
shared_size?: IContentField<TSharedSize>;
|
|
109
97
|
shared_radius?: IContentField<TSharedRadius>;
|
|
110
|
-
|
|
98
|
+
shared_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
|
-
|
|
141
|
-
use_web_style?: IContentField<string>;
|
|
142
|
-
}
|
|
126
|
+
shared_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
|
-
|
|
150
|
-
use_web_style?: IContentField<string>;
|
|
151
|
-
web_left_icon?: IContentField<string>;
|
|
133
|
+
shared_color?: IContentField<TMantineColor>; web_left_icon?: IContentField<string>;
|
|
152
134
|
}
|
|
153
135
|
|
|
154
136
|
export interface INotificationStyle extends IStyleWithSpacing {
|
|
@@ -156,13 +138,11 @@ export interface INotificationStyle extends IStyleWithSpacing {
|
|
|
156
138
|
title?: IContentField<string>;
|
|
157
139
|
content?: IContentField<string>;
|
|
158
140
|
web_left_icon?: IContentField<string>;
|
|
159
|
-
|
|
141
|
+
shared_color?: IContentField<TMantineColor>;
|
|
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
|
-
|
|
126
|
-
use_web_style?: IContentField<string>;
|
|
127
|
-
}
|
|
117
|
+
shared_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>;}
|