@selfhelp/shared 1.7.2 → 1.10.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 +72 -0
- package/dist/{common-B96dASgu.d.mts → common-CJSHQL1E.d.mts} +13 -1
- package/dist/{common-B96dASgu.d.ts → common-CJSHQL1E.d.ts} +13 -1
- package/dist/index.d.mts +7 -44
- package/dist/index.d.ts +7 -44
- package/dist/index.js +400 -13
- package/dist/index.mjs +376 -13
- package/dist/plugin-sdk/index.d.mts +2 -2
- package/dist/plugin-sdk/index.d.ts +2 -2
- package/dist/plugin-sdk/index.js +15 -6
- package/dist/plugin-sdk/index.mjs +15 -6
- package/dist/registry/index.d.mts +42 -4
- package/dist/registry/index.d.ts +42 -4
- package/dist/registry/index.js +61 -8
- package/dist/registry/index.mjs +53 -7
- package/dist/{styles.registry-B147FVHY.d.mts → styles.registry-BV1iF7k-.d.ts} +695 -478
- package/dist/{styles.registry-D49K8F5z.d.ts → styles.registry-DkoT-FmN.d.mts} +695 -478
- package/dist/theme/index.d.mts +225 -4
- package/dist/theme/index.d.ts +225 -4
- package/dist/theme/index.js +343 -9
- package/dist/theme/index.mjs +325 -8
- package/dist/theme/tailwind.d.mts +2 -2
- package/dist/theme/tailwind.d.ts +2 -2
- package/package.json +1 -1
- package/src/registry/__tests__/platform.test.ts +187 -0
- package/src/registry/index.ts +73 -0
- package/src/registry/styles.registry.ts +65 -5
- package/src/theme/__tests__/mantineVariant.test.ts +87 -0
- package/src/theme/__tests__/semantic.test.ts +231 -0
- package/src/theme/index.ts +2 -0
- package/src/theme/mantineVariant.ts +145 -0
- package/src/theme/semantic.ts +472 -0
- package/src/theme/tailwind.ts +2 -2
- package/src/theme/tokens.ts +2 -2
- package/src/types/mantine/common.ts +13 -0
- package/src/types/styles/auth.ts +13 -13
- package/src/types/styles/base.ts +5 -5
- package/src/types/styles/composite.ts +62 -48
- package/src/types/styles/error.ts +26 -15
- package/src/types/styles/forms.ts +185 -185
- package/src/types/styles/interactive.ts +81 -76
- package/src/types/styles/layout.ts +103 -85
- package/src/types/styles/media.ts +20 -20
- package/src/types/styles/typography.ts +39 -39
- package/src/types/styles/unknown.ts +20 -2
- package/src/utils/spacing.ts +1 -1
|
@@ -4,9 +4,9 @@ SPDX-License-Identifier: MPL-2.0
|
|
|
4
4
|
*/
|
|
5
5
|
import type { IBaseStyle, IContentField, IStyleWithSpacing } from './base';
|
|
6
6
|
import type {
|
|
7
|
-
TMantineSize,
|
|
8
7
|
TMantineColor,
|
|
9
|
-
|
|
8
|
+
TSharedSize,
|
|
9
|
+
TSharedRadius,
|
|
10
10
|
} from '../mantine/common';
|
|
11
11
|
|
|
12
12
|
export type TMantineTextInputVariant = 'default' | 'filled' | 'unstyled';
|
|
@@ -34,7 +34,7 @@ export interface IFormStyle extends IStyleWithSpacing {
|
|
|
34
34
|
btn_cancel_color?: IContentField<string>;
|
|
35
35
|
buttons_variant?: IContentField<string>;
|
|
36
36
|
buttons_position?: IContentField<string>;
|
|
37
|
-
|
|
37
|
+
use_web_style?: IContentField<string>;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
export interface IFormLogStyle extends IFormStyle {
|
|
@@ -69,12 +69,12 @@ export interface ITextInputStyle extends IStyleWithSpacing {
|
|
|
69
69
|
description?: IContentField<string>;
|
|
70
70
|
is_required?: IContentField<string>;
|
|
71
71
|
disabled?: IContentField<string>;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
72
|
+
web_left_icon?: IContentField<string>;
|
|
73
|
+
web_right_icon?: IContentField<string>;
|
|
74
|
+
use_web_style?: IContentField<string>;
|
|
75
|
+
shared_size?: IContentField<TSharedSize>;
|
|
76
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
77
|
+
web_text_input_variant?: IContentField<TMantineTextInputVariant>;
|
|
78
78
|
translatable?: IContentField<TMantineTranslatable>;
|
|
79
79
|
}
|
|
80
80
|
|
|
@@ -90,16 +90,16 @@ export interface ITextareaStyle extends IStyleWithSpacing {
|
|
|
90
90
|
markdown_editor?: IContentField<string>;
|
|
91
91
|
description?: IContentField<string>;
|
|
92
92
|
disabled?: IContentField<string>;
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
93
|
+
web_left_icon?: IContentField<string>;
|
|
94
|
+
web_right_icon?: IContentField<string>;
|
|
95
|
+
web_textarea_autosize?: IContentField<TMantineTextareaAutosize>;
|
|
96
|
+
web_textarea_min_rows?: IContentField<string>;
|
|
97
|
+
web_textarea_max_rows?: IContentField<string>;
|
|
98
|
+
web_textarea_resize?: IContentField<TMantineTextareaResize>;
|
|
99
|
+
shared_size?: IContentField<TSharedSize>;
|
|
100
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
101
|
+
web_textarea_variant?: IContentField<TMantineTextareaVariant>;
|
|
102
|
+
use_web_style?: IContentField<string>;
|
|
103
103
|
translatable?: IContentField<TMantineTranslatable>;
|
|
104
104
|
}
|
|
105
105
|
|
|
@@ -112,12 +112,12 @@ export interface IRichTextEditorStyle extends IStyleWithSpacing {
|
|
|
112
112
|
description?: IContentField<string>;
|
|
113
113
|
is_required?: IContentField<string>;
|
|
114
114
|
disabled?: IContentField<string>;
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
115
|
+
web_rich_text_editor_variant?: IContentField<string>;
|
|
116
|
+
web_rich_text_editor_placeholder?: IContentField<string>;
|
|
117
|
+
web_rich_text_editor_bubble_menu?: IContentField<string>;
|
|
118
|
+
web_rich_text_editor_text_color?: IContentField<string>;
|
|
119
|
+
web_rich_text_editor_task_list?: IContentField<string>;
|
|
120
|
+
use_web_style?: IContentField<string>;
|
|
121
121
|
translatable?: IContentField<TMantineTranslatable>;
|
|
122
122
|
}
|
|
123
123
|
|
|
@@ -146,18 +146,18 @@ export interface IRadioStyle extends IStyleWithSpacing {
|
|
|
146
146
|
is_required?: IContentField<string>;
|
|
147
147
|
items?: IContentField<unknown[]>;
|
|
148
148
|
is_inline?: IContentField<string>;
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
149
|
+
shared_orientation?: IContentField<string>;
|
|
150
|
+
shared_size?: IContentField<TSharedSize>;
|
|
151
|
+
web_color?: IContentField<TMantineColor>;
|
|
152
|
+
web_radio_options?: IContentField<string>;
|
|
153
|
+
web_radio_label_position?: IContentField<string>;
|
|
154
|
+
web_radio_variant?: IContentField<string>;
|
|
155
|
+
web_radio_card?: IContentField<string>;
|
|
156
|
+
web_tooltip_label?: IContentField<string>;
|
|
157
|
+
web_tooltip_position?: IContentField<string>;
|
|
158
158
|
disabled?: IContentField<string>;
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
use_web_style?: IContentField<string>;
|
|
160
|
+
web_use_input_wrapper?: IContentField<string>;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
export interface ICheckboxStyle extends IStyleWithSpacing {
|
|
@@ -167,15 +167,15 @@ export interface ICheckboxStyle extends IStyleWithSpacing {
|
|
|
167
167
|
value?: IContentField<string>;
|
|
168
168
|
is_required?: IContentField<string>;
|
|
169
169
|
checkbox_value?: IContentField<string>;
|
|
170
|
-
|
|
171
|
-
|
|
170
|
+
web_checkbox_icon?: IContentField<string>;
|
|
171
|
+
web_checkbox_labelPosition?: IContentField<TMantineCheckboxLabelPosition>;
|
|
172
172
|
description?: IContentField<string>;
|
|
173
173
|
disabled?: IContentField<string>;
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
174
|
+
shared_size?: IContentField<TSharedSize>;
|
|
175
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
176
|
+
web_color?: IContentField<TMantineColor>;
|
|
177
|
+
use_web_style?: IContentField<string>;
|
|
178
|
+
web_use_input_wrapper?: IContentField<TMantineUseInputWrapper>;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
export interface ISliderStyle extends IStyleWithSpacing {
|
|
@@ -184,20 +184,20 @@ export interface ISliderStyle extends IStyleWithSpacing {
|
|
|
184
184
|
description?: IContentField<string>;
|
|
185
185
|
name?: IContentField<string>;
|
|
186
186
|
value?: IContentField<string>;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
187
|
+
web_numeric_min?: IContentField<string>;
|
|
188
|
+
web_numeric_max?: IContentField<string>;
|
|
189
|
+
web_numeric_step?: IContentField<string>;
|
|
190
|
+
shared_size?: IContentField<TSharedSize>;
|
|
191
|
+
web_color?: IContentField<TMantineColor>;
|
|
192
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
193
193
|
disabled?: IContentField<string>;
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
194
|
+
use_web_style?: IContentField<string>;
|
|
195
|
+
web_slider_marks_values?: IContentField<string>;
|
|
196
|
+
web_slider_show_label?: IContentField<string>;
|
|
197
|
+
web_slider_labels_always_on?: IContentField<string>;
|
|
198
|
+
web_slider_inverted?: IContentField<string>;
|
|
199
|
+
web_slider_thumb_size?: IContentField<string>;
|
|
200
|
+
web_slider_required?: IContentField<string>;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
export interface IRangeSliderStyle extends IStyleWithSpacing {
|
|
@@ -206,18 +206,18 @@ export interface IRangeSliderStyle extends IStyleWithSpacing {
|
|
|
206
206
|
description?: IContentField<string>;
|
|
207
207
|
name?: IContentField<string>;
|
|
208
208
|
value?: IContentField<string>;
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
209
|
+
web_numeric_min?: IContentField<string>;
|
|
210
|
+
web_numeric_max?: IContentField<string>;
|
|
211
|
+
web_numeric_step?: IContentField<string>;
|
|
212
|
+
web_range_slider_marks_values?: IContentField<string>;
|
|
213
|
+
web_range_slider_show_label?: IContentField<string>;
|
|
214
|
+
web_range_slider_labels_always_on?: IContentField<string>;
|
|
215
|
+
web_range_slider_inverted?: IContentField<string>;
|
|
216
|
+
shared_size?: IContentField<TSharedSize>;
|
|
217
|
+
web_color?: IContentField<TMantineColor>;
|
|
218
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
219
219
|
disabled?: IContentField<string>;
|
|
220
|
-
|
|
220
|
+
use_web_style?: IContentField<string>;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
export interface IDatePickerStyle extends IStyleWithSpacing {
|
|
@@ -228,122 +228,122 @@ export interface IDatePickerStyle extends IStyleWithSpacing {
|
|
|
228
228
|
is_required?: IContentField<string>;
|
|
229
229
|
disabled?: IContentField<string>;
|
|
230
230
|
description?: IContentField<string>;
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
231
|
+
web_datepicker_type?: IContentField<string>;
|
|
232
|
+
web_datepicker_format?: IContentField<string>;
|
|
233
|
+
web_datepicker_locale?: IContentField<string>;
|
|
234
|
+
web_datepicker_placeholder?: IContentField<string>;
|
|
235
|
+
web_datepicker_min_date?: IContentField<string>;
|
|
236
|
+
web_datepicker_max_date?: IContentField<string>;
|
|
237
|
+
web_datepicker_first_day_of_week?: IContentField<string>;
|
|
238
|
+
web_datepicker_weekend_days?: IContentField<string>;
|
|
239
|
+
web_datepicker_clearable?: IContentField<string>;
|
|
240
|
+
web_datepicker_allow_deselect?: IContentField<string>;
|
|
241
|
+
web_datepicker_readonly?: IContentField<string>;
|
|
242
|
+
web_datepicker_with_time_grid?: IContentField<string>;
|
|
243
|
+
web_datepicker_consistent_weeks?: IContentField<string>;
|
|
244
|
+
web_datepicker_hide_outside_dates?: IContentField<string>;
|
|
245
|
+
web_datepicker_hide_weekends?: IContentField<string>;
|
|
246
|
+
web_datepicker_time_step?: IContentField<string>;
|
|
247
|
+
web_datepicker_time_format?: IContentField<string>;
|
|
248
|
+
web_datepicker_date_format?: IContentField<string>;
|
|
249
|
+
web_datepicker_time_grid_config?: IContentField<string>;
|
|
250
|
+
web_datepicker_with_seconds?: IContentField<string>;
|
|
251
|
+
shared_size?: IContentField<TSharedSize>;
|
|
252
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
253
|
+
use_web_style?: IContentField<string>;
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
export interface ISwitchStyle extends IStyleWithSpacing {
|
|
257
257
|
style_name: 'switch';
|
|
258
258
|
label?: IContentField<string>;
|
|
259
259
|
description?: IContentField<string>;
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
260
|
+
web_switch_on_label?: IContentField<string>;
|
|
261
|
+
web_switch_off_label?: IContentField<string>;
|
|
262
|
+
shared_size?: IContentField<TSharedSize>;
|
|
263
|
+
web_color?: IContentField<TMantineColor>;
|
|
264
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
265
265
|
disabled?: IContentField<string>;
|
|
266
|
-
|
|
266
|
+
use_web_style?: IContentField<string>;
|
|
267
267
|
name?: IContentField<string>;
|
|
268
268
|
is_required?: IContentField<string>;
|
|
269
|
-
|
|
269
|
+
web_label_position?: IContentField<string>;
|
|
270
270
|
value?: IContentField<string>;
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
271
|
+
web_switch_on_value?: IContentField<string>;
|
|
272
|
+
web_use_input_wrapper?: IContentField<string>;
|
|
273
|
+
web_switch_off_value?: IContentField<string>;
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
export interface IComboboxStyle extends IStyleWithSpacing {
|
|
277
277
|
style_name: 'combobox';
|
|
278
278
|
placeholder?: IContentField<string>;
|
|
279
|
-
|
|
279
|
+
web_combobox_options?: IContentField<string>;
|
|
280
280
|
disabled?: IContentField<string>;
|
|
281
|
-
|
|
281
|
+
use_web_style?: IContentField<string>;
|
|
282
282
|
label?: IContentField<string>;
|
|
283
283
|
description?: IContentField<string>;
|
|
284
284
|
name?: IContentField<string>;
|
|
285
285
|
value?: IContentField<string>;
|
|
286
286
|
is_required?: IContentField<string>;
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
287
|
+
web_combobox_multi_select?: IContentField<string>;
|
|
288
|
+
web_combobox_searchable?: IContentField<string>;
|
|
289
|
+
web_combobox_creatable?: IContentField<string>;
|
|
290
|
+
web_combobox_clearable?: IContentField<string>;
|
|
291
|
+
web_combobox_separator?: IContentField<string>;
|
|
292
|
+
web_multi_select_max_values?: IContentField<string>;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
export interface IColorInputStyle extends IStyleWithSpacing {
|
|
296
296
|
style_name: 'color-input';
|
|
297
297
|
label?: IContentField<string>;
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
298
|
+
web_color_format?: IContentField<string>;
|
|
299
|
+
web_color_input_swatches?: IContentField<string>;
|
|
300
|
+
shared_size?: IContentField<TSharedSize>;
|
|
301
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
302
302
|
placeholder?: IContentField<string>;
|
|
303
303
|
name?: IContentField<string>;
|
|
304
304
|
value?: IContentField<string>;
|
|
305
305
|
description?: IContentField<string>;
|
|
306
306
|
is_required?: IContentField<string>;
|
|
307
307
|
disabled?: IContentField<string>;
|
|
308
|
-
|
|
308
|
+
use_web_style?: IContentField<string>;
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
export interface IColorPickerStyle extends IStyleWithSpacing {
|
|
312
312
|
style_name: 'color-picker';
|
|
313
313
|
label?: IContentField<string>;
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
314
|
+
web_color_format?: IContentField<string>;
|
|
315
|
+
web_color_picker_swatches_per_row?: IContentField<string>;
|
|
316
|
+
web_color_picker_swatches?: IContentField<string>;
|
|
317
|
+
web_color_picker_with_picker?: IContentField<string>;
|
|
318
|
+
web_color_picker_saturation_label?: IContentField<string>;
|
|
319
|
+
web_color_picker_hue_label?: IContentField<string>;
|
|
320
|
+
web_color_picker_alpha_label?: IContentField<string>;
|
|
321
|
+
web_color_picker_as_button?: IContentField<string>;
|
|
322
|
+
web_color_picker_button_label?: IContentField<string>;
|
|
323
|
+
shared_size?: IContentField<TSharedSize>;
|
|
324
|
+
shared_full_width?: IContentField<string>;
|
|
325
325
|
name?: IContentField<string>;
|
|
326
326
|
value?: IContentField<string>;
|
|
327
327
|
description?: IContentField<string>;
|
|
328
328
|
is_required?: IContentField<string>;
|
|
329
|
-
|
|
329
|
+
use_web_style?: IContentField<string>;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
export interface IFileInputStyle extends IStyleWithSpacing {
|
|
333
333
|
style_name: 'file-input';
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
334
|
+
web_file_input_multiple?: IContentField<string>;
|
|
335
|
+
web_file_input_accept?: IContentField<string>;
|
|
336
|
+
web_file_input_clearable?: IContentField<string>;
|
|
337
|
+
web_file_input_max_size?: IContentField<string>;
|
|
338
|
+
web_file_input_max_files?: IContentField<string>;
|
|
339
|
+
web_file_input_drag_drop?: IContentField<string>;
|
|
340
|
+
shared_size?: IContentField<TSharedSize>;
|
|
341
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
342
|
+
web_left_icon?: IContentField<string>;
|
|
343
|
+
web_right_icon?: IContentField<string>;
|
|
344
344
|
placeholder?: IContentField<string>;
|
|
345
345
|
disabled?: IContentField<string>;
|
|
346
|
-
|
|
346
|
+
use_web_style?: IContentField<string>;
|
|
347
347
|
is_required?: IContentField<string>;
|
|
348
348
|
name?: IContentField<string>;
|
|
349
349
|
label?: IContentField<string>;
|
|
@@ -352,13 +352,13 @@ export interface IFileInputStyle extends IStyleWithSpacing {
|
|
|
352
352
|
|
|
353
353
|
export interface INumberInputStyle extends IStyleWithSpacing {
|
|
354
354
|
style_name: 'number-input';
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
355
|
+
web_numeric_min?: IContentField<string>;
|
|
356
|
+
web_numeric_max?: IContentField<string>;
|
|
357
|
+
web_numeric_step?: IContentField<string>;
|
|
358
|
+
web_number_input_decimal_scale?: IContentField<string>;
|
|
359
|
+
web_number_input_clamp_behavior?: IContentField<string>;
|
|
360
|
+
shared_size?: IContentField<TSharedSize>;
|
|
361
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
362
362
|
placeholder?: IContentField<string>;
|
|
363
363
|
label?: IContentField<string>;
|
|
364
364
|
description?: IContentField<string>;
|
|
@@ -366,21 +366,21 @@ export interface INumberInputStyle extends IStyleWithSpacing {
|
|
|
366
366
|
value?: IContentField<string>;
|
|
367
367
|
is_required?: IContentField<string>;
|
|
368
368
|
disabled?: IContentField<string>;
|
|
369
|
-
|
|
369
|
+
use_web_style?: IContentField<string>;
|
|
370
370
|
}
|
|
371
371
|
|
|
372
372
|
export interface ISegmentedControlStyle extends IStyleWithSpacing {
|
|
373
373
|
style_name: 'segmented-control';
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
374
|
+
web_segmented_control_data?: IContentField<string>;
|
|
375
|
+
shared_orientation?: IContentField<string>;
|
|
376
|
+
shared_size?: IContentField<TSharedSize>;
|
|
377
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
378
|
+
web_color?: IContentField<TMantineColor>;
|
|
379
379
|
fullwidth?: IContentField<string>;
|
|
380
380
|
disabled?: IContentField<string>;
|
|
381
381
|
readonly?: IContentField<string>;
|
|
382
|
-
|
|
383
|
-
|
|
382
|
+
use_web_style?: IContentField<string>;
|
|
383
|
+
web_segmented_control_item_border?: IContentField<string>;
|
|
384
384
|
label?: IContentField<string>;
|
|
385
385
|
description?: IContentField<string>;
|
|
386
386
|
value?: IContentField<string>;
|
|
@@ -396,46 +396,46 @@ export interface IRatingStyle extends IStyleWithSpacing {
|
|
|
396
396
|
disabled?: IContentField<string>;
|
|
397
397
|
value?: IContentField<string>;
|
|
398
398
|
readonly?: IContentField<string>;
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
399
|
+
web_rating_count?: IContentField<string>;
|
|
400
|
+
web_rating_fractions?: IContentField<string>;
|
|
401
|
+
web_rating_use_smiles?: IContentField<string>;
|
|
402
|
+
web_rating_empty_icon?: IContentField<string>;
|
|
403
|
+
web_rating_full_icon?: IContentField<string>;
|
|
404
|
+
web_rating_highlight_selected_only?: IContentField<string>;
|
|
405
|
+
shared_size?: IContentField<TSharedSize>;
|
|
406
|
+
web_color?: IContentField<TMantineColor>;
|
|
407
|
+
use_web_style?: IContentField<string>;
|
|
408
408
|
}
|
|
409
409
|
|
|
410
410
|
export interface IProgressStyle extends IStyleWithSpacing {
|
|
411
411
|
style_name: 'progress';
|
|
412
412
|
value?: IContentField<string>;
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
413
|
+
web_color?: IContentField<TMantineColor>;
|
|
414
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
415
|
+
shared_size?: IContentField<TSharedSize>;
|
|
416
|
+
web_progress_striped?: IContentField<string>;
|
|
417
|
+
web_progress_animated?: IContentField<string>;
|
|
418
|
+
web_progress_transition_duration?: IContentField<TMantineProgressTransition>;
|
|
419
|
+
use_web_style?: IContentField<string>;
|
|
420
420
|
}
|
|
421
421
|
|
|
422
422
|
export interface IProgressRootStyle extends IBaseStyle {
|
|
423
423
|
style_name: 'progress-root';
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
424
|
+
shared_size?: IContentField<TSharedSize>;
|
|
425
|
+
web_progress_auto_contrast?: IContentField<string>;
|
|
426
|
+
use_web_style?: IContentField<string>;
|
|
427
427
|
}
|
|
428
428
|
|
|
429
429
|
export interface IProgressSectionStyle extends IBaseStyle {
|
|
430
430
|
style_name: 'progress-section';
|
|
431
431
|
value?: IContentField<string>;
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
432
|
+
web_color?: IContentField<TMantineColor>;
|
|
433
|
+
web_progress_striped?: IContentField<string>;
|
|
434
|
+
web_progress_animated?: IContentField<string>;
|
|
435
435
|
label?: IContentField<string>;
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
436
|
+
web_tooltip_label?: IContentField<string>;
|
|
437
|
+
web_tooltip_position?: IContentField<string>;
|
|
438
|
+
use_web_style?: IContentField<string>;
|
|
439
439
|
}
|
|
440
440
|
|
|
441
441
|
export interface IShowUserInputEntry {
|
|
@@ -446,7 +446,7 @@ export interface IShowUserInputEntry {
|
|
|
446
446
|
}
|
|
447
447
|
|
|
448
448
|
export interface IShowUserInputStyle extends IBaseStyle {
|
|
449
|
-
style_name: '
|
|
449
|
+
style_name: 'show-user-input';
|
|
450
450
|
own_entries_only?: IContentField<string>;
|
|
451
451
|
show_timestamp?: IContentField<string>;
|
|
452
452
|
dt_sortable?: IContentField<string>;
|
|
@@ -460,13 +460,13 @@ export interface IShowUserInputStyle extends IBaseStyle {
|
|
|
460
460
|
fields_map?: IContentField<string>;
|
|
461
461
|
delete_modal_title?: IContentField<string>;
|
|
462
462
|
delete_modal_body?: IContentField<string>;
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
463
|
+
shared_spacing?: IContentField<string>;
|
|
464
|
+
web_table_striped?: IContentField<string>;
|
|
465
|
+
web_table_highlight_on_hover?: IContentField<string>;
|
|
466
|
+
web_table_with_table_border?: IContentField<string>;
|
|
467
|
+
web_table_with_column_borders?: IContentField<string>;
|
|
468
|
+
web_table_with_row_borders?: IContentField<string>;
|
|
469
|
+
web_table_sticky_header?: IContentField<string>;
|
|
470
|
+
web_table_caption_side?: IContentField<string>;
|
|
471
471
|
entries?: IShowUserInputEntry[];
|
|
472
472
|
}
|