@selfhelp/shared 1.8.0 → 1.11.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.
Files changed (49) hide show
  1. package/CHANGELOG.md +67 -0
  2. package/dist/{common-B96dASgu.d.mts → common-CJSHQL1E.d.mts} +13 -1
  3. package/dist/{common-B96dASgu.d.ts → common-CJSHQL1E.d.ts} +13 -1
  4. package/dist/index.d.mts +136 -44
  5. package/dist/index.d.ts +136 -44
  6. package/dist/index.js +395 -8
  7. package/dist/index.mjs +371 -8
  8. package/dist/plugin-sdk/index.d.mts +2 -2
  9. package/dist/plugin-sdk/index.d.ts +2 -2
  10. package/dist/plugin-sdk/index.js +10 -1
  11. package/dist/plugin-sdk/index.mjs +10 -1
  12. package/dist/registry/index.d.mts +42 -4
  13. package/dist/registry/index.d.ts +42 -4
  14. package/dist/registry/index.js +56 -3
  15. package/dist/registry/index.mjs +48 -2
  16. package/dist/{styles.registry-ClluRYkN.d.ts → styles.registry-BV1iF7k-.d.ts} +678 -461
  17. package/dist/{styles.registry-nl8uzvMN.d.mts → styles.registry-DkoT-FmN.d.mts} +678 -461
  18. package/dist/theme/index.d.mts +225 -4
  19. package/dist/theme/index.d.ts +225 -4
  20. package/dist/theme/index.js +343 -9
  21. package/dist/theme/index.mjs +325 -8
  22. package/dist/theme/tailwind.d.mts +2 -2
  23. package/dist/theme/tailwind.d.ts +2 -2
  24. package/package.json +1 -1
  25. package/src/registry/__tests__/platform.test.ts +187 -0
  26. package/src/registry/index.ts +73 -0
  27. package/src/registry/styles.registry.ts +60 -0
  28. package/src/theme/__tests__/mantineVariant.test.ts +87 -0
  29. package/src/theme/__tests__/semantic.test.ts +231 -0
  30. package/src/theme/index.ts +2 -0
  31. package/src/theme/mantineVariant.ts +145 -0
  32. package/src/theme/semantic.ts +472 -0
  33. package/src/theme/tailwind.ts +2 -2
  34. package/src/theme/tokens.ts +2 -2
  35. package/src/types/__tests__/mobile-adapters.test.ts +80 -0
  36. package/src/types/index.ts +1 -0
  37. package/src/types/mantine/common.ts +13 -0
  38. package/src/types/mobile-adapters.ts +144 -0
  39. package/src/types/styles/auth.ts +11 -11
  40. package/src/types/styles/base.ts +4 -4
  41. package/src/types/styles/composite.ts +59 -45
  42. package/src/types/styles/error.ts +24 -13
  43. package/src/types/styles/forms.ts +184 -184
  44. package/src/types/styles/interactive.ts +81 -76
  45. package/src/types/styles/layout.ts +103 -85
  46. package/src/types/styles/media.ts +20 -20
  47. package/src/types/styles/typography.ts +39 -39
  48. package/src/types/styles/unknown.ts +20 -2
  49. 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
- TMantineRadius,
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
- use_mantine_style?: IContentField<string>;
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
- mantine_left_icon?: IContentField<string>;
73
- mantine_right_icon?: IContentField<string>;
74
- use_mantine_style?: IContentField<string>;
75
- mantine_size?: IContentField<TMantineSize>;
76
- mantine_radius?: IContentField<TMantineRadius>;
77
- mantine_text_input_variant?: IContentField<TMantineTextInputVariant>;
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
- mantine_left_icon?: IContentField<string>;
94
- mantine_right_icon?: IContentField<string>;
95
- mantine_textarea_autosize?: IContentField<TMantineTextareaAutosize>;
96
- mantine_textarea_min_rows?: IContentField<string>;
97
- mantine_textarea_max_rows?: IContentField<string>;
98
- mantine_textarea_resize?: IContentField<TMantineTextareaResize>;
99
- mantine_size?: IContentField<TMantineSize>;
100
- mantine_radius?: IContentField<TMantineRadius>;
101
- mantine_textarea_variant?: IContentField<TMantineTextareaVariant>;
102
- use_mantine_style?: IContentField<string>;
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
- mantine_rich_text_editor_variant?: IContentField<string>;
116
- mantine_rich_text_editor_placeholder?: IContentField<string>;
117
- mantine_rich_text_editor_bubble_menu?: IContentField<string>;
118
- mantine_rich_text_editor_text_color?: IContentField<string>;
119
- mantine_rich_text_editor_task_list?: IContentField<string>;
120
- use_mantine_style?: IContentField<string>;
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
- mantine_orientation?: IContentField<string>;
150
- mantine_size?: IContentField<TMantineSize>;
151
- mantine_color?: IContentField<TMantineColor>;
152
- mantine_radio_options?: IContentField<string>;
153
- mantine_radio_label_position?: IContentField<string>;
154
- mantine_radio_variant?: IContentField<string>;
155
- mantine_radio_card?: IContentField<string>;
156
- mantine_tooltip_label?: IContentField<string>;
157
- mantine_tooltip_position?: IContentField<string>;
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
- use_mantine_style?: IContentField<string>;
160
- mantine_use_input_wrapper?: IContentField<string>;
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
- mantine_checkbox_icon?: IContentField<string>;
171
- mantine_checkbox_labelPosition?: IContentField<TMantineCheckboxLabelPosition>;
170
+ web_checkbox_icon?: IContentField<string>;
171
+ web_checkbox_labelPosition?: IContentField<TMantineCheckboxLabelPosition>;
172
172
  description?: IContentField<string>;
173
173
  disabled?: IContentField<string>;
174
- mantine_size?: IContentField<TMantineSize>;
175
- mantine_radius?: IContentField<TMantineRadius>;
176
- mantine_color?: IContentField<TMantineColor>;
177
- use_mantine_style?: IContentField<string>;
178
- mantine_use_input_wrapper?: IContentField<TMantineUseInputWrapper>;
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
- mantine_numeric_min?: IContentField<string>;
188
- mantine_numeric_max?: IContentField<string>;
189
- mantine_numeric_step?: IContentField<string>;
190
- mantine_size?: IContentField<TMantineSize>;
191
- mantine_color?: IContentField<TMantineColor>;
192
- mantine_radius?: IContentField<TMantineRadius>;
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
- use_mantine_style?: IContentField<string>;
195
- mantine_slider_marks_values?: IContentField<string>;
196
- mantine_slider_show_label?: IContentField<string>;
197
- mantine_slider_labels_always_on?: IContentField<string>;
198
- mantine_slider_inverted?: IContentField<string>;
199
- mantine_slider_thumb_size?: IContentField<string>;
200
- mantine_slider_required?: IContentField<string>;
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
- mantine_numeric_min?: IContentField<string>;
210
- mantine_numeric_max?: IContentField<string>;
211
- mantine_numeric_step?: IContentField<string>;
212
- mantine_range_slider_marks_values?: IContentField<string>;
213
- mantine_range_slider_show_label?: IContentField<string>;
214
- mantine_range_slider_labels_always_on?: IContentField<string>;
215
- mantine_range_slider_inverted?: IContentField<string>;
216
- mantine_size?: IContentField<TMantineSize>;
217
- mantine_color?: IContentField<TMantineColor>;
218
- mantine_radius?: IContentField<TMantineRadius>;
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
- use_mantine_style?: IContentField<string>;
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
- mantine_datepicker_type?: IContentField<string>;
232
- mantine_datepicker_format?: IContentField<string>;
233
- mantine_datepicker_locale?: IContentField<string>;
234
- mantine_datepicker_placeholder?: IContentField<string>;
235
- mantine_datepicker_min_date?: IContentField<string>;
236
- mantine_datepicker_max_date?: IContentField<string>;
237
- mantine_datepicker_first_day_of_week?: IContentField<string>;
238
- mantine_datepicker_weekend_days?: IContentField<string>;
239
- mantine_datepicker_clearable?: IContentField<string>;
240
- mantine_datepicker_allow_deselect?: IContentField<string>;
241
- mantine_datepicker_readonly?: IContentField<string>;
242
- mantine_datepicker_with_time_grid?: IContentField<string>;
243
- mantine_datepicker_consistent_weeks?: IContentField<string>;
244
- mantine_datepicker_hide_outside_dates?: IContentField<string>;
245
- mantine_datepicker_hide_weekends?: IContentField<string>;
246
- mantine_datepicker_time_step?: IContentField<string>;
247
- mantine_datepicker_time_format?: IContentField<string>;
248
- mantine_datepicker_date_format?: IContentField<string>;
249
- mantine_datepicker_time_grid_config?: IContentField<string>;
250
- mantine_datepicker_with_seconds?: IContentField<string>;
251
- mantine_size?: IContentField<TMantineSize>;
252
- mantine_radius?: IContentField<TMantineRadius>;
253
- use_mantine_style?: IContentField<string>;
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
- mantine_switch_on_label?: IContentField<string>;
261
- mantine_switch_off_label?: IContentField<string>;
262
- mantine_size?: IContentField<TMantineSize>;
263
- mantine_color?: IContentField<TMantineColor>;
264
- mantine_radius?: IContentField<TMantineRadius>;
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
- use_mantine_style?: IContentField<string>;
266
+ use_web_style?: IContentField<string>;
267
267
  name?: IContentField<string>;
268
268
  is_required?: IContentField<string>;
269
- mantine_label_position?: IContentField<string>;
269
+ web_label_position?: IContentField<string>;
270
270
  value?: IContentField<string>;
271
- mantine_switch_on_value?: IContentField<string>;
272
- mantine_use_input_wrapper?: IContentField<string>;
273
- mantine_switch_off_value?: IContentField<string>;
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
- mantine_combobox_options?: IContentField<string>;
279
+ web_combobox_options?: IContentField<string>;
280
280
  disabled?: IContentField<string>;
281
- use_mantine_style?: IContentField<string>;
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
- mantine_combobox_multi_select?: IContentField<string>;
288
- mantine_combobox_searchable?: IContentField<string>;
289
- mantine_combobox_creatable?: IContentField<string>;
290
- mantine_combobox_clearable?: IContentField<string>;
291
- mantine_combobox_separator?: IContentField<string>;
292
- mantine_multi_select_max_values?: IContentField<string>;
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
- mantine_color_format?: IContentField<string>;
299
- mantine_color_input_swatches?: IContentField<string>;
300
- mantine_size?: IContentField<TMantineSize>;
301
- mantine_radius?: IContentField<TMantineRadius>;
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
- use_mantine_style?: IContentField<string>;
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
- mantine_color_format?: IContentField<string>;
315
- mantine_color_picker_swatches_per_row?: IContentField<string>;
316
- mantine_color_picker_swatches?: IContentField<string>;
317
- mantine_color_picker_with_picker?: IContentField<string>;
318
- mantine_color_picker_saturation_label?: IContentField<string>;
319
- mantine_color_picker_hue_label?: IContentField<string>;
320
- mantine_color_picker_alpha_label?: IContentField<string>;
321
- mantine_color_picker_as_button?: IContentField<string>;
322
- mantine_color_picker_button_label?: IContentField<string>;
323
- mantine_size?: IContentField<TMantineSize>;
324
- mantine_fullwidth?: IContentField<string>;
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
- use_mantine_style?: IContentField<string>;
329
+ use_web_style?: IContentField<string>;
330
330
  }
331
331
 
332
332
  export interface IFileInputStyle extends IStyleWithSpacing {
333
333
  style_name: 'file-input';
334
- mantine_file_input_multiple?: IContentField<string>;
335
- mantine_file_input_accept?: IContentField<string>;
336
- mantine_file_input_clearable?: IContentField<string>;
337
- mantine_file_input_max_size?: IContentField<string>;
338
- mantine_file_input_max_files?: IContentField<string>;
339
- mantine_file_input_drag_drop?: IContentField<string>;
340
- mantine_size?: IContentField<TMantineSize>;
341
- mantine_radius?: IContentField<TMantineRadius>;
342
- mantine_left_icon?: IContentField<string>;
343
- mantine_right_icon?: IContentField<string>;
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
- use_mantine_style?: IContentField<string>;
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
- mantine_numeric_min?: IContentField<string>;
356
- mantine_numeric_max?: IContentField<string>;
357
- mantine_numeric_step?: IContentField<string>;
358
- mantine_number_input_decimal_scale?: IContentField<string>;
359
- mantine_number_input_clamp_behavior?: IContentField<string>;
360
- mantine_size?: IContentField<TMantineSize>;
361
- mantine_radius?: IContentField<TMantineRadius>;
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
- use_mantine_style?: IContentField<string>;
369
+ use_web_style?: IContentField<string>;
370
370
  }
371
371
 
372
372
  export interface ISegmentedControlStyle extends IStyleWithSpacing {
373
373
  style_name: 'segmented-control';
374
- mantine_segmented_control_data?: IContentField<string>;
375
- mantine_orientation?: IContentField<string>;
376
- mantine_size?: IContentField<TMantineSize>;
377
- mantine_radius?: IContentField<TMantineRadius>;
378
- mantine_color?: IContentField<TMantineColor>;
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
- use_mantine_style?: IContentField<string>;
383
- mantine_segmented_control_item_border?: IContentField<string>;
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
- mantine_rating_count?: IContentField<string>;
400
- mantine_rating_fractions?: IContentField<string>;
401
- mantine_rating_use_smiles?: IContentField<string>;
402
- mantine_rating_empty_icon?: IContentField<string>;
403
- mantine_rating_full_icon?: IContentField<string>;
404
- mantine_rating_highlight_selected_only?: IContentField<string>;
405
- mantine_size?: IContentField<TMantineSize>;
406
- mantine_color?: IContentField<TMantineColor>;
407
- use_mantine_style?: IContentField<string>;
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
- mantine_color?: IContentField<TMantineColor>;
414
- mantine_radius?: IContentField<TMantineRadius>;
415
- mantine_size?: IContentField<TMantineSize>;
416
- mantine_progress_striped?: IContentField<string>;
417
- mantine_progress_animated?: IContentField<string>;
418
- mantine_progress_transition_duration?: IContentField<TMantineProgressTransition>;
419
- use_mantine_style?: IContentField<string>;
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
- mantine_size?: IContentField<TMantineSize>;
425
- mantine_progress_auto_contrast?: IContentField<string>;
426
- use_mantine_style?: IContentField<string>;
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
- mantine_color?: IContentField<TMantineColor>;
433
- mantine_progress_striped?: IContentField<string>;
434
- mantine_progress_animated?: IContentField<string>;
432
+ web_color?: IContentField<TMantineColor>;
433
+ web_progress_striped?: IContentField<string>;
434
+ web_progress_animated?: IContentField<string>;
435
435
  label?: IContentField<string>;
436
- mantine_tooltip_label?: IContentField<string>;
437
- mantine_tooltip_position?: IContentField<string>;
438
- use_mantine_style?: IContentField<string>;
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 {
@@ -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
- mantine_spacing_margin_padding?: IContentField<string>;
464
- mantine_table_striped?: IContentField<string>;
465
- mantine_table_highlight_on_hover?: IContentField<string>;
466
- mantine_table_with_table_border?: IContentField<string>;
467
- mantine_table_with_column_borders?: IContentField<string>;
468
- mantine_table_with_row_borders?: IContentField<string>;
469
- mantine_table_sticky_header?: IContentField<string>;
470
- mantine_table_caption_side?: IContentField<string>;
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
  }