@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.
@@ -32,15 +32,13 @@ export interface ITitleStyle extends IStyleWithSpacing {
32
32
  web_title_order?: IContentField<TMantineTitleOrder>;
33
33
  shared_size?: IContentField<TMantineSize>;
34
34
  web_title_text_wrap?: IContentField<TMantineTitleTextWrap>;
35
- web_title_line_clamp?: IContentField<TMantineTitleLineClamp>;
36
- use_web_style?: IContentField<string>;
37
- }
35
+ web_title_line_clamp?: IContentField<TMantineTitleLineClamp>;}
38
36
 
39
37
  export interface ITextStyle extends IStyleWithSpacing {
40
38
  style_name: 'text';
41
39
  text?: IContentField<string>;
42
40
  shared_size?: IContentField<TMantineSize>;
43
- web_color?: IContentField<TMantineColor>;
41
+ shared_color?: IContentField<TMantineColor>;
44
42
  web_text_font_weight?: IContentField<TMantineTextFontWeight>;
45
43
  web_text_font_style?: IContentField<TMantineTextFontStyle>;
46
44
  web_text_text_decoration?: IContentField<TMantineTextDecoration>;
@@ -51,25 +49,19 @@ export interface ITextStyle extends IStyleWithSpacing {
51
49
  web_text_truncate?: IContentField<TMantineTextTruncate>;
52
50
  web_text_line_clamp?: IContentField<TMantineLineClamp>;
53
51
  web_text_inherit?: IContentField<TMantineTextInherit>;
54
- web_text_span?: IContentField<TMantineTextSpan>;
55
- use_web_style?: IContentField<string>;
56
- }
52
+ web_text_span?: IContentField<TMantineTextSpan>;}
57
53
 
58
54
  export interface ICodeStyle extends IStyleWithSpacing {
59
55
  style_name: 'code';
60
56
  web_code_block?: IContentField<string>;
61
- web_color?: IContentField<TMantineColor>;
62
- use_web_style?: IContentField<string>;
63
- content?: IContentField<string>;
57
+ shared_color?: IContentField<TMantineColor>; content?: IContentField<string>;
64
58
  }
65
59
 
66
60
  export interface IHighlightStyle extends IStyleWithSpacing {
67
61
  style_name: 'highlight';
68
62
  text?: IContentField<string>;
69
63
  web_highlight_highlight?: IContentField<string>;
70
- web_color?: IContentField<TMantineColor>;
71
- use_web_style?: IContentField<string>;
72
- }
64
+ shared_color?: IContentField<TMantineColor>;}
73
65
 
74
66
  export interface IBlockquoteStyle extends IStyleWithSpacing {
75
67
  style_name: 'blockquote';
@@ -77,9 +69,7 @@ export interface IBlockquoteStyle extends IStyleWithSpacing {
77
69
  cite?: IContentField<string>;
78
70
  web_left_icon?: IContentField<string>;
79
71
  web_icon_size?: IContentField<TMantineIconSize>;
80
- web_color?: IContentField<TMantineColor>;
81
- use_web_style?: IContentField<string>;
82
- }
72
+ shared_color?: IContentField<TMantineColor>;}
83
73
 
84
74
  export interface IHtmlTagStyle extends IBaseStyle {
85
75
  style_name: 'html-tag';
@@ -90,29 +80,21 @@ export interface IHtmlTagStyle extends IBaseStyle {
90
80
  export interface IKbdStyle extends IStyleWithSpacing {
91
81
  style_name: 'kbd';
92
82
  label?: IContentField<string>;
93
- shared_size?: IContentField<TMantineSize>;
94
- use_web_style?: IContentField<string>;
95
- }
83
+ shared_size?: IContentField<TMantineSize>;}
96
84
 
97
85
  export interface ITypographyStyle extends IStyleWithSpacing {
98
- style_name: 'typography';
99
- use_web_style?: IContentField<string>;
100
- }
86
+ style_name: 'typography';}
101
87
 
102
88
  export interface IFieldsetStyle extends IStyleWithSpacing {
103
89
  style_name: 'fieldset';
104
90
  label?: IContentField<string>;
105
91
  legend?: IContentField<string>;
106
92
  web_fieldset_variant?: IContentField<TMantineFieldsetVariant>;
107
- shared_radius?: IContentField<TMantineRadius>;
108
- use_web_style?: IContentField<string>;
109
- disabled?: IContentField<string>;
93
+ shared_radius?: IContentField<TMantineRadius>; disabled?: IContentField<string>;
110
94
  }
111
95
 
112
96
  export interface ISpoilerStyle extends IStyleWithSpacing {
113
97
  style_name: 'spoiler';
114
98
  web_height?: IContentField<TMantineSpoilerMaxHeight>;
115
99
  web_spoiler_show_label?: IContentField<string>;
116
- web_spoiler_hide_label?: IContentField<string>;
117
- use_web_style?: IContentField<string>;
118
- }
100
+ web_spoiler_hide_label?: IContentField<string>;}
@@ -233,6 +233,4 @@ export interface IUnknownStyle {
233
233
  children?: TStyle[];
234
234
  fields: Record<string, IContentField<unknown>>;
235
235
  css?: string;
236
- css_mobile?: string;
237
- use_web_style?: IContentField<string>;
238
- }
236
+ css_mobile?: string;}