@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.
@@ -8,7 +8,6 @@ interface ILoginStyle extends IStyleWithSpacing {
8
8
  label_pw_reset?: IContentField<string>;
9
9
  alert_fail?: IContentField<string>;
10
10
  login_title?: IContentField<string>;
11
- type?: IContentField<string>;
12
11
  /** Label of the link that opens the registration page. */
13
12
  label_register?: IContentField<string>;
14
13
  }
@@ -79,11 +78,8 @@ interface IValidateStyle extends IStyleWithSpacing {
79
78
  interface IResetPasswordStyle extends IStyleWithSpacing {
80
79
  style_name: 'reset-password';
81
80
  label_pw_reset?: IContentField<string>;
82
- type?: IContentField<string>;
83
81
  alert_success?: IContentField<string>;
84
82
  placeholder?: IContentField<string>;
85
- subject_user?: IContentField<string>;
86
- is_html?: IContentField<string>;
87
83
  reset_title?: IContentField<string>;
88
84
  reset_label_pw?: IContentField<string>;
89
85
  reset_pw_placeholder?: IContentField<string>;
@@ -202,12 +198,10 @@ interface IContainerStyle extends IStyleWithSpacing {
202
198
  web_fluid?: IContentField<string>;
203
199
  web_px?: IContentField<TMantineSpacing>;
204
200
  web_py?: IContentField<TMantineSpacing>;
205
- use_web_style?: IContentField<string>;
206
201
  }
207
202
  interface IBoxStyle extends IStyleWithSpacing {
208
203
  style_name: 'box';
209
204
  content?: IContentField<string>;
210
- use_web_style?: IContentField<string>;
211
205
  }
212
206
  interface IFlexStyle extends IStyleWithSpacing {
213
207
  style_name: 'flex';
@@ -255,7 +249,6 @@ interface IGridStyle extends IStyleWithSpacing {
255
249
  web_grid_overflow?: IContentField<string>;
256
250
  web_width?: IContentField<TMantineWidth>;
257
251
  web_height?: IContentField<TMantineHeight>;
258
- use_web_style?: IContentField<string>;
259
252
  }
260
253
  interface IGridColumnStyle extends IStyleWithSpacing {
261
254
  style_name: 'grid-column';
@@ -265,7 +258,6 @@ interface IGridColumnStyle extends IStyleWithSpacing {
265
258
  web_grid_grow?: IContentField<string>;
266
259
  web_width?: IContentField<TMantineWidth>;
267
260
  web_height?: IContentField<TMantineHeight>;
268
- use_web_style?: IContentField<string>;
269
261
  }
270
262
  interface ISpaceStyle extends IStyleWithSpacing {
271
263
  style_name: 'space';
@@ -279,8 +271,7 @@ interface IDividerStyle extends IBaseStyle {
279
271
  web_divider_label?: IContentField<string>;
280
272
  web_divider_label_position?: IContentField<string>;
281
273
  shared_orientation?: IContentField<TMantineOrientation>;
282
- web_color?: IContentField<TMantineColor>;
283
- use_web_style?: IContentField<string>;
274
+ shared_color?: IContentField<TMantineColor>;
284
275
  }
285
276
  interface IPaperStyle extends IStyleWithSpacing {
286
277
  style_name: 'paper';
@@ -289,7 +280,6 @@ interface IPaperStyle extends IStyleWithSpacing {
289
280
  web_px?: IContentField<TMantineSpacing>;
290
281
  web_py?: IContentField<TMantineSpacing>;
291
282
  web_border?: IContentField<TMantineBorder>;
292
- use_web_style?: IContentField<string>;
293
283
  }
294
284
  interface ICenterStyle extends IBaseStyle {
295
285
  style_name: 'center';
@@ -315,22 +305,18 @@ interface ICardStyle extends IStyleWithSpacing {
315
305
  web_card_shadow?: IContentField<TMantineCardShadow>;
316
306
  web_border?: IContentField<TMantineBorder>;
317
307
  shared_radius?: IContentField<TSharedRadius>;
318
- use_web_style?: IContentField<string>;
319
308
  }
320
309
  interface ICardSegmentStyle extends IStyleWithSpacing {
321
310
  style_name: 'card-segment';
322
- use_web_style?: IContentField<string>;
323
311
  }
324
312
  interface IAspectRatioStyle extends IBaseStyle {
325
313
  style_name: 'aspect-ratio';
326
314
  web_aspect_ratio?: IContentField<string>;
327
- use_web_style?: IContentField<string>;
328
315
  }
329
316
  interface IBackgroundImageStyle extends IStyleWithSpacing {
330
317
  style_name: 'background-image';
331
318
  img_src?: IContentField<string>;
332
319
  shared_radius?: IContentField<TSharedRadius>;
333
- use_web_style?: IContentField<string>;
334
320
  }
335
321
  /**
336
322
  * Renders content referenced from another section. Has no own fields; the
@@ -369,13 +355,12 @@ interface ITitleStyle extends IStyleWithSpacing {
369
355
  shared_size?: IContentField<TMantineSize>;
370
356
  web_title_text_wrap?: IContentField<TMantineTitleTextWrap>;
371
357
  web_title_line_clamp?: IContentField<TMantineTitleLineClamp>;
372
- use_web_style?: IContentField<string>;
373
358
  }
374
359
  interface ITextStyle extends IStyleWithSpacing {
375
360
  style_name: 'text';
376
361
  text?: IContentField<string>;
377
362
  shared_size?: IContentField<TMantineSize>;
378
- web_color?: IContentField<TMantineColor>;
363
+ shared_color?: IContentField<TMantineColor>;
379
364
  web_text_font_weight?: IContentField<TMantineTextFontWeight>;
380
365
  web_text_font_style?: IContentField<TMantineTextFontStyle>;
381
366
  web_text_text_decoration?: IContentField<TMantineTextDecoration>;
@@ -387,21 +372,18 @@ interface ITextStyle extends IStyleWithSpacing {
387
372
  web_text_line_clamp?: IContentField<TMantineLineClamp>;
388
373
  web_text_inherit?: IContentField<TMantineTextInherit>;
389
374
  web_text_span?: IContentField<TMantineTextSpan>;
390
- use_web_style?: IContentField<string>;
391
375
  }
392
376
  interface ICodeStyle extends IStyleWithSpacing {
393
377
  style_name: 'code';
394
378
  web_code_block?: IContentField<string>;
395
- web_color?: IContentField<TMantineColor>;
396
- use_web_style?: IContentField<string>;
379
+ shared_color?: IContentField<TMantineColor>;
397
380
  content?: IContentField<string>;
398
381
  }
399
382
  interface IHighlightStyle extends IStyleWithSpacing {
400
383
  style_name: 'highlight';
401
384
  text?: IContentField<string>;
402
385
  web_highlight_highlight?: IContentField<string>;
403
- web_color?: IContentField<TMantineColor>;
404
- use_web_style?: IContentField<string>;
386
+ shared_color?: IContentField<TMantineColor>;
405
387
  }
406
388
  interface IBlockquoteStyle extends IStyleWithSpacing {
407
389
  style_name: 'blockquote';
@@ -409,8 +391,7 @@ interface IBlockquoteStyle extends IStyleWithSpacing {
409
391
  cite?: IContentField<string>;
410
392
  web_left_icon?: IContentField<string>;
411
393
  web_icon_size?: IContentField<TMantineIconSize>;
412
- web_color?: IContentField<TMantineColor>;
413
- use_web_style?: IContentField<string>;
394
+ shared_color?: IContentField<TMantineColor>;
414
395
  }
415
396
  interface IHtmlTagStyle extends IBaseStyle {
416
397
  style_name: 'html-tag';
@@ -421,11 +402,9 @@ interface IKbdStyle extends IStyleWithSpacing {
421
402
  style_name: 'kbd';
422
403
  label?: IContentField<string>;
423
404
  shared_size?: IContentField<TMantineSize>;
424
- use_web_style?: IContentField<string>;
425
405
  }
426
406
  interface ITypographyStyle extends IStyleWithSpacing {
427
407
  style_name: 'typography';
428
- use_web_style?: IContentField<string>;
429
408
  }
430
409
  interface IFieldsetStyle extends IStyleWithSpacing {
431
410
  style_name: 'fieldset';
@@ -433,7 +412,6 @@ interface IFieldsetStyle extends IStyleWithSpacing {
433
412
  legend?: IContentField<string>;
434
413
  web_fieldset_variant?: IContentField<TMantineFieldsetVariant>;
435
414
  shared_radius?: IContentField<TMantineRadius>;
436
- use_web_style?: IContentField<string>;
437
415
  disabled?: IContentField<string>;
438
416
  }
439
417
  interface ISpoilerStyle extends IStyleWithSpacing {
@@ -441,7 +419,6 @@ interface ISpoilerStyle extends IStyleWithSpacing {
441
419
  web_height?: IContentField<TMantineSpoilerMaxHeight>;
442
420
  web_spoiler_show_label?: IContentField<string>;
443
421
  web_spoiler_hide_label?: IContentField<string>;
444
- use_web_style?: IContentField<string>;
445
422
  }
446
423
 
447
424
  type TMantineImageFit = 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
@@ -457,7 +434,6 @@ interface IImageStyle extends IStyleWithSpacing {
457
434
  web_width?: IContentField<TMantineWidth>;
458
435
  web_height?: IContentField<TMantineHeight>;
459
436
  shared_radius?: IContentField<TMantineRadius>;
460
- use_web_style?: IContentField<string>;
461
437
  }
462
438
  interface IVideoStyle extends IBaseStyle {
463
439
  style_name: 'video';
@@ -497,13 +473,12 @@ interface ICarouselStyle extends IStyleWithSpacing {
497
473
  web_carousel_in_view_threshold?: IContentField<string>;
498
474
  web_carousel_duration?: IContentField<string>;
499
475
  web_carousel_embla_options?: IContentField<string>;
500
- use_web_style?: IContentField<string>;
501
476
  }
502
477
 
503
478
  interface IButtonStyle extends IStyleWithSpacing {
504
479
  style_name: 'button';
505
480
  web_variant?: IContentField<TMantineVariant>;
506
- web_color?: IContentField<TMantineColor>;
481
+ shared_color?: IContentField<TMantineColor>;
507
482
  shared_size?: IContentField<TSharedSize>;
508
483
  shared_radius?: IContentField<TSharedRadius>;
509
484
  web_left_icon?: IContentField<string>;
@@ -512,7 +487,6 @@ interface IButtonStyle extends IStyleWithSpacing {
512
487
  web_compact?: IContentField<string>;
513
488
  web_auto_contrast?: IContentField<string>;
514
489
  is_link?: IContentField<string>;
515
- use_web_style?: IContentField<string>;
516
490
  disabled?: IContentField<string>;
517
491
  open_in_new_tab?: IContentField<string>;
518
492
  page_keyword?: IContentField<string>;
@@ -535,25 +509,22 @@ interface IActionIconStyle extends IStyleWithSpacing {
535
509
  web_action_icon_loading?: IContentField<string>;
536
510
  shared_size?: IContentField<TSharedSize>;
537
511
  shared_radius?: IContentField<TSharedRadius>;
538
- web_color?: IContentField<TMantineColor>;
512
+ shared_color?: IContentField<TMantineColor>;
539
513
  web_left_icon?: IContentField<string>;
540
514
  is_link?: IContentField<string>;
541
515
  page_keyword?: IContentField<string>;
542
516
  open_in_new_tab?: IContentField<string>;
543
517
  disabled?: IContentField<string>;
544
- use_web_style?: IContentField<string>;
545
518
  }
546
519
  interface IAlertStyle extends IStyleWithSpacing {
547
520
  style_name: 'alert';
548
- web_alert_title?: IContentField<string>;
549
- close_button_label?: IContentField<string>;
521
+ alert_title?: IContentField<string>;
550
522
  web_variant?: IContentField<TMantineVariant>;
551
- web_color?: IContentField<TMantineColor>;
523
+ shared_color?: IContentField<TMantineColor>;
552
524
  shared_radius?: IContentField<TSharedRadius>;
553
525
  web_left_icon?: IContentField<string>;
554
526
  web_with_close_button?: IContentField<string>;
555
527
  content?: IContentField<string>;
556
- use_web_style?: IContentField<string>;
557
528
  }
558
529
  interface IBadgeStyle extends IStyleWithSpacing {
559
530
  style_name: 'badge';
@@ -562,8 +533,7 @@ interface IBadgeStyle extends IStyleWithSpacing {
562
533
  shared_size?: IContentField<TSharedSize>;
563
534
  web_left_icon?: IContentField<string>;
564
535
  shared_radius?: IContentField<TSharedRadius>;
565
- web_color?: IContentField<TMantineColor>;
566
- use_web_style?: IContentField<string>;
536
+ shared_color?: IContentField<TMantineColor>;
567
537
  web_right_icon?: IContentField<string>;
568
538
  web_auto_contrast?: IContentField<string>;
569
539
  }
@@ -573,8 +543,7 @@ interface IAvatarStyle extends IStyleWithSpacing {
573
543
  web_avatar_variant?: IContentField<TMantineAvatarVariant>;
574
544
  shared_size?: IContentField<TSharedSize>;
575
545
  shared_radius?: IContentField<TSharedRadius>;
576
- web_color?: IContentField<TMantineColor>;
577
- use_web_style?: IContentField<string>;
546
+ shared_color?: IContentField<TMantineColor>;
578
547
  web_left_icon?: IContentField<string>;
579
548
  web_avatar_initials?: IContentField<string>;
580
549
  img_src?: IContentField<string>;
@@ -585,11 +554,10 @@ interface IChipStyle extends IStyleWithSpacing {
585
554
  web_chip_variant?: IContentField<TMantineChipVariant>;
586
555
  shared_size?: IContentField<TSharedSize>;
587
556
  shared_radius?: IContentField<TSharedRadius>;
588
- web_color?: IContentField<TMantineColor>;
557
+ shared_color?: IContentField<TMantineColor>;
589
558
  web_chip_checked?: IContentField<string>;
590
559
  web_chip_multiple?: IContentField<string>;
591
560
  disabled?: IContentField<string>;
592
- use_web_style?: IContentField<string>;
593
561
  web_left_icon?: IContentField<string>;
594
562
  web_icon_size?: IContentField<TMantineIconSize>;
595
563
  name?: IContentField<string>;
@@ -614,16 +582,14 @@ interface IIndicatorStyle extends IBaseStyle {
614
582
  web_indicator_offset?: IContentField<string>;
615
583
  web_border?: IContentField<string>;
616
584
  shared_radius?: IContentField<TSharedRadius>;
617
- web_color?: IContentField<TMantineColor>;
618
- use_web_style?: IContentField<string>;
585
+ shared_color?: IContentField<TMantineColor>;
619
586
  }
620
587
  interface IThemeIconStyle extends IStyleWithSpacing {
621
588
  style_name: 'theme-icon';
622
589
  web_variant?: IContentField<TMantineThemeIconVariant>;
623
590
  shared_size?: IContentField<TSharedSize>;
624
591
  shared_radius?: IContentField<TSharedRadius>;
625
- web_color?: IContentField<TMantineColor>;
626
- use_web_style?: IContentField<string>;
592
+ shared_color?: IContentField<TMantineColor>;
627
593
  web_left_icon?: IContentField<string>;
628
594
  }
629
595
  interface INotificationStyle extends IStyleWithSpacing {
@@ -631,12 +597,11 @@ interface INotificationStyle extends IStyleWithSpacing {
631
597
  title?: IContentField<string>;
632
598
  content?: IContentField<string>;
633
599
  web_left_icon?: IContentField<string>;
634
- web_color?: IContentField<TMantineColor>;
600
+ shared_color?: IContentField<TMantineColor>;
635
601
  web_notification_loading?: IContentField<string>;
636
602
  web_notification_with_close_button?: IContentField<string>;
637
603
  web_border?: IContentField<string>;
638
604
  shared_radius?: IContentField<TSharedRadius>;
639
- use_web_style?: IContentField<string>;
640
605
  }
641
606
 
642
607
  type TMantineTextInputVariant = 'default' | 'filled' | 'unstyled';
@@ -652,7 +617,6 @@ interface IFormStyle extends IStyleWithSpacing {
652
617
  btn_save_label?: IContentField<string>;
653
618
  alert_success?: IContentField<string>;
654
619
  name?: IContentField<string>;
655
- is_log?: IContentField<string>;
656
620
  redirect_at_end?: IContentField<string>;
657
621
  btn_cancel_url?: IContentField<string>;
658
622
  btn_cancel_label?: IContentField<string>;
@@ -663,7 +627,6 @@ interface IFormStyle extends IStyleWithSpacing {
663
627
  btn_cancel_color?: IContentField<string>;
664
628
  buttons_variant?: IContentField<string>;
665
629
  buttons_position?: IContentField<string>;
666
- use_web_style?: IContentField<string>;
667
630
  }
668
631
  interface IFormLogStyle extends IFormStyle {
669
632
  style_name: 'form-log';
@@ -696,7 +659,6 @@ interface ITextInputStyle extends IStyleWithSpacing {
696
659
  disabled?: IContentField<string>;
697
660
  web_left_icon?: IContentField<string>;
698
661
  web_right_icon?: IContentField<string>;
699
- use_web_style?: IContentField<string>;
700
662
  shared_size?: IContentField<TSharedSize>;
701
663
  shared_radius?: IContentField<TSharedRadius>;
702
664
  web_text_input_variant?: IContentField<TMantineTextInputVariant>;
@@ -723,7 +685,6 @@ interface ITextareaStyle extends IStyleWithSpacing {
723
685
  shared_size?: IContentField<TSharedSize>;
724
686
  shared_radius?: IContentField<TSharedRadius>;
725
687
  web_textarea_variant?: IContentField<TMantineTextareaVariant>;
726
- use_web_style?: IContentField<string>;
727
688
  translatable?: IContentField<TMantineTranslatable>;
728
689
  }
729
690
  interface IRichTextEditorStyle extends IStyleWithSpacing {
@@ -740,7 +701,6 @@ interface IRichTextEditorStyle extends IStyleWithSpacing {
740
701
  web_rich_text_editor_bubble_menu?: IContentField<string>;
741
702
  web_rich_text_editor_text_color?: IContentField<string>;
742
703
  web_rich_text_editor_task_list?: IContentField<string>;
743
- use_web_style?: IContentField<string>;
744
704
  translatable?: IContentField<TMantineTranslatable>;
745
705
  }
746
706
  interface ISelectStyle extends IBaseStyle {
@@ -769,7 +729,7 @@ interface IRadioStyle extends IStyleWithSpacing {
769
729
  is_inline?: IContentField<string>;
770
730
  shared_orientation?: IContentField<string>;
771
731
  shared_size?: IContentField<TSharedSize>;
772
- web_color?: IContentField<TMantineColor>;
732
+ shared_color?: IContentField<TMantineColor>;
773
733
  web_radio_options?: IContentField<string>;
774
734
  web_radio_label_position?: IContentField<string>;
775
735
  web_radio_variant?: IContentField<string>;
@@ -777,7 +737,6 @@ interface IRadioStyle extends IStyleWithSpacing {
777
737
  web_tooltip_label?: IContentField<string>;
778
738
  web_tooltip_position?: IContentField<string>;
779
739
  disabled?: IContentField<string>;
780
- use_web_style?: IContentField<string>;
781
740
  web_use_input_wrapper?: IContentField<string>;
782
741
  }
783
742
  interface ICheckboxStyle extends IStyleWithSpacing {
@@ -788,13 +747,12 @@ interface ICheckboxStyle extends IStyleWithSpacing {
788
747
  is_required?: IContentField<string>;
789
748
  checkbox_value?: IContentField<string>;
790
749
  web_checkbox_icon?: IContentField<string>;
791
- web_checkbox_labelPosition?: IContentField<TMantineCheckboxLabelPosition>;
750
+ web_checkbox_label_position?: IContentField<TMantineCheckboxLabelPosition>;
792
751
  description?: IContentField<string>;
793
752
  disabled?: IContentField<string>;
794
753
  shared_size?: IContentField<TSharedSize>;
795
754
  shared_radius?: IContentField<TSharedRadius>;
796
- web_color?: IContentField<TMantineColor>;
797
- use_web_style?: IContentField<string>;
755
+ shared_color?: IContentField<TMantineColor>;
798
756
  web_use_input_wrapper?: IContentField<TMantineUseInputWrapper>;
799
757
  }
800
758
  interface ISliderStyle extends IStyleWithSpacing {
@@ -807,10 +765,9 @@ interface ISliderStyle extends IStyleWithSpacing {
807
765
  web_numeric_max?: IContentField<string>;
808
766
  web_numeric_step?: IContentField<string>;
809
767
  shared_size?: IContentField<TSharedSize>;
810
- web_color?: IContentField<TMantineColor>;
768
+ shared_color?: IContentField<TMantineColor>;
811
769
  shared_radius?: IContentField<TSharedRadius>;
812
770
  disabled?: IContentField<string>;
813
- use_web_style?: IContentField<string>;
814
771
  web_slider_marks_values?: IContentField<string>;
815
772
  web_slider_show_label?: IContentField<string>;
816
773
  web_slider_labels_always_on?: IContentField<string>;
@@ -832,10 +789,9 @@ interface IRangeSliderStyle extends IStyleWithSpacing {
832
789
  web_range_slider_labels_always_on?: IContentField<string>;
833
790
  web_range_slider_inverted?: IContentField<string>;
834
791
  shared_size?: IContentField<TSharedSize>;
835
- web_color?: IContentField<TMantineColor>;
792
+ shared_color?: IContentField<TMantineColor>;
836
793
  shared_radius?: IContentField<TSharedRadius>;
837
794
  disabled?: IContentField<string>;
838
- use_web_style?: IContentField<string>;
839
795
  }
840
796
  interface IDatePickerStyle extends IStyleWithSpacing {
841
797
  style_name: 'datepicker';
@@ -867,7 +823,6 @@ interface IDatePickerStyle extends IStyleWithSpacing {
867
823
  web_datepicker_with_seconds?: IContentField<string>;
868
824
  shared_size?: IContentField<TSharedSize>;
869
825
  shared_radius?: IContentField<TSharedRadius>;
870
- use_web_style?: IContentField<string>;
871
826
  }
872
827
  interface ISwitchStyle extends IStyleWithSpacing {
873
828
  style_name: 'switch';
@@ -876,10 +831,9 @@ interface ISwitchStyle extends IStyleWithSpacing {
876
831
  web_switch_on_label?: IContentField<string>;
877
832
  web_switch_off_label?: IContentField<string>;
878
833
  shared_size?: IContentField<TSharedSize>;
879
- web_color?: IContentField<TMantineColor>;
834
+ shared_color?: IContentField<TMantineColor>;
880
835
  shared_radius?: IContentField<TSharedRadius>;
881
836
  disabled?: IContentField<string>;
882
- use_web_style?: IContentField<string>;
883
837
  name?: IContentField<string>;
884
838
  is_required?: IContentField<string>;
885
839
  web_label_position?: IContentField<string>;
@@ -893,7 +847,6 @@ interface IComboboxStyle extends IStyleWithSpacing {
893
847
  placeholder?: IContentField<string>;
894
848
  web_combobox_options?: IContentField<string>;
895
849
  disabled?: IContentField<string>;
896
- use_web_style?: IContentField<string>;
897
850
  label?: IContentField<string>;
898
851
  description?: IContentField<string>;
899
852
  name?: IContentField<string>;
@@ -919,7 +872,6 @@ interface IColorInputStyle extends IStyleWithSpacing {
919
872
  description?: IContentField<string>;
920
873
  is_required?: IContentField<string>;
921
874
  disabled?: IContentField<string>;
922
- use_web_style?: IContentField<string>;
923
875
  }
924
876
  interface IColorPickerStyle extends IStyleWithSpacing {
925
877
  style_name: 'color-picker';
@@ -939,7 +891,6 @@ interface IColorPickerStyle extends IStyleWithSpacing {
939
891
  value?: IContentField<string>;
940
892
  description?: IContentField<string>;
941
893
  is_required?: IContentField<string>;
942
- use_web_style?: IContentField<string>;
943
894
  }
944
895
  interface IFileInputStyle extends IStyleWithSpacing {
945
896
  style_name: 'file-input';
@@ -955,7 +906,6 @@ interface IFileInputStyle extends IStyleWithSpacing {
955
906
  web_right_icon?: IContentField<string>;
956
907
  placeholder?: IContentField<string>;
957
908
  disabled?: IContentField<string>;
958
- use_web_style?: IContentField<string>;
959
909
  is_required?: IContentField<string>;
960
910
  name?: IContentField<string>;
961
911
  label?: IContentField<string>;
@@ -977,7 +927,6 @@ interface INumberInputStyle extends IStyleWithSpacing {
977
927
  value?: IContentField<string>;
978
928
  is_required?: IContentField<string>;
979
929
  disabled?: IContentField<string>;
980
- use_web_style?: IContentField<string>;
981
930
  }
982
931
  interface ISegmentedControlStyle extends IStyleWithSpacing {
983
932
  style_name: 'segmented-control';
@@ -985,11 +934,10 @@ interface ISegmentedControlStyle extends IStyleWithSpacing {
985
934
  shared_orientation?: IContentField<string>;
986
935
  shared_size?: IContentField<TSharedSize>;
987
936
  shared_radius?: IContentField<TSharedRadius>;
988
- web_color?: IContentField<TMantineColor>;
937
+ shared_color?: IContentField<TMantineColor>;
989
938
  fullwidth?: IContentField<string>;
990
939
  disabled?: IContentField<string>;
991
940
  readonly?: IContentField<string>;
992
- use_web_style?: IContentField<string>;
993
941
  web_segmented_control_item_border?: IContentField<string>;
994
942
  label?: IContentField<string>;
995
943
  description?: IContentField<string>;
@@ -1012,36 +960,32 @@ interface IRatingStyle extends IStyleWithSpacing {
1012
960
  web_rating_full_icon?: IContentField<string>;
1013
961
  web_rating_highlight_selected_only?: IContentField<string>;
1014
962
  shared_size?: IContentField<TSharedSize>;
1015
- web_color?: IContentField<TMantineColor>;
1016
- use_web_style?: IContentField<string>;
963
+ shared_color?: IContentField<TMantineColor>;
1017
964
  }
1018
965
  interface IProgressStyle extends IStyleWithSpacing {
1019
966
  style_name: 'progress';
1020
967
  value?: IContentField<string>;
1021
- web_color?: IContentField<TMantineColor>;
968
+ shared_color?: IContentField<TMantineColor>;
1022
969
  shared_radius?: IContentField<TSharedRadius>;
1023
970
  shared_size?: IContentField<TSharedSize>;
1024
971
  web_progress_striped?: IContentField<string>;
1025
972
  web_progress_animated?: IContentField<string>;
1026
973
  web_progress_transition_duration?: IContentField<TMantineProgressTransition>;
1027
- use_web_style?: IContentField<string>;
1028
974
  }
1029
975
  interface IProgressRootStyle extends IBaseStyle {
1030
976
  style_name: 'progress-root';
1031
977
  shared_size?: IContentField<TSharedSize>;
1032
978
  web_progress_auto_contrast?: IContentField<string>;
1033
- use_web_style?: IContentField<string>;
1034
979
  }
1035
980
  interface IProgressSectionStyle extends IBaseStyle {
1036
981
  style_name: 'progress-section';
1037
982
  value?: IContentField<string>;
1038
- web_color?: IContentField<TMantineColor>;
983
+ shared_color?: IContentField<TMantineColor>;
1039
984
  web_progress_striped?: IContentField<string>;
1040
985
  web_progress_animated?: IContentField<string>;
1041
986
  label?: IContentField<string>;
1042
987
  web_tooltip_label?: IContentField<string>;
1043
988
  web_tooltip_position?: IContentField<string>;
1044
- use_web_style?: IContentField<string>;
1045
989
  }
1046
990
  interface IShowUserInputEntry {
1047
991
  record_id: number;
@@ -1095,7 +1039,6 @@ interface IAccordionStyle extends IStyleWithSpacing {
1095
1039
  web_accordion_transition_duration?: IContentField<string>;
1096
1040
  web_accordion_default_value?: IContentField<string>;
1097
1041
  shared_radius?: IContentField<TSharedRadius>;
1098
- use_web_style?: IContentField<string>;
1099
1042
  }
1100
1043
  interface IAccordionItemStyle extends IStyleWithSpacing {
1101
1044
  style_name: 'accordion-item';
@@ -1103,17 +1046,15 @@ interface IAccordionItemStyle extends IStyleWithSpacing {
1103
1046
  label?: IContentField<string>;
1104
1047
  web_accordion_item_icon?: IContentField<string>;
1105
1048
  disabled?: IContentField<string>;
1106
- use_web_style?: IContentField<string>;
1107
1049
  }
1108
1050
  interface ITabsStyle extends IStyleWithSpacing {
1109
1051
  style_name: 'tabs';
1110
1052
  web_tabs_variant?: IContentField<TMantineTabsVariant>;
1111
1053
  web_tabs_orientation?: IContentField<TMantineOrientation>;
1112
1054
  web_tabs_radius?: IContentField<TMantineRadius>;
1113
- web_color?: IContentField<TMantineColor>;
1055
+ shared_color?: IContentField<TMantineColor>;
1114
1056
  web_width?: IContentField<TMantineWidth>;
1115
1057
  web_height?: IContentField<TMantineHeight>;
1116
- use_web_style?: IContentField<string>;
1117
1058
  }
1118
1059
  interface ITabStyle extends IBaseStyle {
1119
1060
  style_name: 'tab';
@@ -1123,7 +1064,6 @@ interface ITabStyle extends IBaseStyle {
1123
1064
  web_tab_disabled?: IContentField<string>;
1124
1065
  web_width?: IContentField<TMantineWidth>;
1125
1066
  web_height?: IContentField<TMantineHeight>;
1126
- use_web_style?: IContentField<string>;
1127
1067
  }
1128
1068
  interface ITimelineStyle extends IStyleWithSpacing {
1129
1069
  style_name: 'timeline';
@@ -1132,8 +1072,7 @@ interface ITimelineStyle extends IStyleWithSpacing {
1132
1072
  web_timeline_active?: IContentField<string>;
1133
1073
  web_timeline_align?: IContentField<TMantineTimelineAlign>;
1134
1074
  web_timeline_line_variant?: IContentField<TMantineTimelineLineVariant>;
1135
- web_color?: IContentField<TMantineColor>;
1136
- use_web_style?: IContentField<string>;
1075
+ shared_color?: IContentField<TMantineColor>;
1137
1076
  }
1138
1077
  /**
1139
1078
  * A single entry inside a `timeline`. Child-only style; placement is enforced
@@ -1144,15 +1083,13 @@ interface ITimelineItemStyle extends IBaseStyle {
1144
1083
  title?: IContentField<string>;
1145
1084
  web_timeline_item_bullet?: IContentField<string>;
1146
1085
  web_timeline_item_line_variant?: IContentField<TMantineTimelineLineVariant>;
1147
- web_color?: IContentField<TMantineColor>;
1148
- use_web_style?: IContentField<string>;
1086
+ shared_color?: IContentField<TMantineColor>;
1149
1087
  }
1150
1088
  interface IListStyle extends IStyleWithSpacing {
1151
1089
  style_name: 'list';
1152
1090
  web_list_type?: IContentField<TMantineListType>;
1153
1091
  web_spacing?: IContentField<TMantineSpacing>;
1154
1092
  shared_size?: IContentField<TSharedSize>;
1155
- use_web_style?: IContentField<string>;
1156
1093
  web_list_list_style_type?: IContentField<TMantineListStyleType>;
1157
1094
  web_list_with_padding?: IContentField<TMantineListWithPadding>;
1158
1095
  web_list_center?: IContentField<TMantineListCenter>;
@@ -1162,7 +1099,6 @@ interface IListItemStyle extends IStyleWithSpacing {
1162
1099
  style_name: 'list-item';
1163
1100
  web_list_item_content?: IContentField<string>;
1164
1101
  web_list_item_icon?: IContentField<string>;
1165
- use_web_style?: IContentField<string>;
1166
1102
  }
1167
1103
  interface IEntryListStyle extends IBaseStyle {
1168
1104
  style_name: 'entry-list';
@@ -1186,7 +1122,7 @@ interface INoAccessStyle extends IStyleWithSpacing {
1186
1122
  button_label?: IContentField<string>;
1187
1123
  login_label?: IContentField<string>;
1188
1124
  show_login?: IContentField<string>;
1189
- web_color?: IContentField<string>;
1125
+ shared_color?: IContentField<string>;
1190
1126
  shared_radius?: IContentField<TSharedRadius>;
1191
1127
  web_shadow?: IContentField<string>;
1192
1128
  web_button_variant?: IContentField<string>;
@@ -1198,7 +1134,7 @@ interface INotFoundStyle extends IStyleWithSpacing {
1198
1134
  message?: IContentField<string>;
1199
1135
  button_label?: IContentField<string>;
1200
1136
  login_label?: IContentField<string>;
1201
- web_color?: IContentField<string>;
1137
+ shared_color?: IContentField<string>;
1202
1138
  shared_radius?: IContentField<TSharedRadius>;
1203
1139
  web_shadow?: IContentField<string>;
1204
1140
  web_button_variant?: IContentField<string>;
@@ -1209,7 +1145,7 @@ interface IMissingStyle extends IStyleWithSpacing {
1209
1145
  title?: IContentField<string>;
1210
1146
  message?: IContentField<string>;
1211
1147
  button_label?: IContentField<string>;
1212
- web_color?: IContentField<string>;
1148
+ shared_color?: IContentField<string>;
1213
1149
  shared_radius?: IContentField<TSharedRadius>;
1214
1150
  web_shadow?: IContentField<string>;
1215
1151
  web_button_variant?: IContentField<string>;
@@ -1257,7 +1193,6 @@ interface IUnknownStyle {
1257
1193
  fields: Record<string, IContentField<unknown>>;
1258
1194
  css?: string;
1259
1195
  css_mobile?: string;
1260
- use_web_style?: IContentField<string>;
1261
1196
  }
1262
1197
 
1263
1198
  /**
@@ -253,8 +253,9 @@ declare const resolveSharedStyleForMobile: typeof toHeroUiSemanticProps;
253
253
  * for style mapping:
254
254
  * - `semantic.ts` maps renderer-agnostic shared fields
255
255
  * (`intent` / `size` / `radius` / `spacing`) per platform.
256
- * - `mantineVariant.ts` resolves the web-specific `web_color` / `web_variant`
257
- * Mantine palette into concrete RGB. Its only runtime
256
+ * - `mantineVariant.ts` resolves a Mantine palette `color` + `variant` value
257
+ * pair (e.g. the semantic `shared_color` + `web_variant`)
258
+ * into concrete RGB. Its only runtime
258
259
  * consumer today is the mobile **Expo Web preview**
259
260
  * fallback (where `heroui-native` cannot render and the
260
261
  * renderer reproduces the Mantine look); the web
@@ -253,8 +253,9 @@ declare const resolveSharedStyleForMobile: typeof toHeroUiSemanticProps;
253
253
  * for style mapping:
254
254
  * - `semantic.ts` maps renderer-agnostic shared fields
255
255
  * (`intent` / `size` / `radius` / `spacing`) per platform.
256
- * - `mantineVariant.ts` resolves the web-specific `web_color` / `web_variant`
257
- * Mantine palette into concrete RGB. Its only runtime
256
+ * - `mantineVariant.ts` resolves a Mantine palette `color` + `variant` value
257
+ * pair (e.g. the semantic `shared_color` + `web_variant`)
258
+ * into concrete RGB. Its only runtime
258
259
  * consumer today is the mobile **Expo Web preview**
259
260
  * fallback (where `heroui-native` cannot render and the
260
261
  * renderer reproduces the Mantine look); the web
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selfhelp/shared",
3
- "version": "1.11.0",
3
+ "version": "1.13.0",
4
4
  "description": "Shared TypeScript package for SelfHelp web frontend and mobile app: style registry, types, API contracts, Mantine theme tokens, condition + interpolation engines, CMS class allow-list.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,8 +15,9 @@ SPDX-License-Identifier: MPL-2.0
15
15
  * for style mapping:
16
16
  * - `semantic.ts` maps renderer-agnostic shared fields
17
17
  * (`intent` / `size` / `radius` / `spacing`) per platform.
18
- * - `mantineVariant.ts` resolves the web-specific `web_color` / `web_variant`
19
- * Mantine palette into concrete RGB. Its only runtime
18
+ * - `mantineVariant.ts` resolves a Mantine palette `color` + `variant` value
19
+ * pair (e.g. the semantic `shared_color` + `web_variant`)
20
+ * into concrete RGB. Its only runtime
20
21
  * consumer today is the mobile **Expo Web preview**
21
22
  * fallback (where `heroui-native` cannot render and the
22
23
  * renderer reproduces the Mantine look); the web
@@ -13,7 +13,6 @@ export interface ILoginStyle extends IStyleWithSpacing {
13
13
  label_pw_reset?: IContentField<string>;
14
14
  alert_fail?: IContentField<string>;
15
15
  login_title?: IContentField<string>;
16
- type?: IContentField<string>;
17
16
  /** Label of the link that opens the registration page. */
18
17
  label_register?: IContentField<string>;
19
18
  }
@@ -87,12 +86,8 @@ export interface IValidateStyle extends IStyleWithSpacing {
87
86
  export interface IResetPasswordStyle extends IStyleWithSpacing {
88
87
  style_name: 'reset-password';
89
88
  label_pw_reset?: IContentField<string>;
90
- type?: IContentField<string>;
91
89
  alert_success?: IContentField<string>;
92
- placeholder?: IContentField<string>;
93
- subject_user?: IContentField<string>;
94
- is_html?: IContentField<string>;
95
- reset_title?: IContentField<string>;
90
+ placeholder?: IContentField<string>; reset_title?: IContentField<string>;
96
91
  reset_label_pw?: IContentField<string>;
97
92
  reset_pw_placeholder?: IContentField<string>;
98
93
  reset_label_pw_confirm?: IContentField<string>;