@selfhelp/shared 1.12.0 → 1.14.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.
@@ -19,7 +19,7 @@ import type { TMantineIconSize } from './typography';
19
19
  export interface IButtonStyle extends IStyleWithSpacing {
20
20
  style_name: 'button';
21
21
  web_variant?: IContentField<TMantineVariant>;
22
- web_color?: IContentField<TMantineColor>;
22
+ shared_color?: IContentField<TMantineColor>;
23
23
  shared_size?: IContentField<TSharedSize>;
24
24
  shared_radius?: IContentField<TSharedRadius>;
25
25
  web_left_icon?: IContentField<string>;
@@ -51,7 +51,7 @@ export interface IActionIconStyle extends IStyleWithSpacing {
51
51
  web_action_icon_loading?: IContentField<string>;
52
52
  shared_size?: IContentField<TSharedSize>;
53
53
  shared_radius?: IContentField<TSharedRadius>;
54
- web_color?: IContentField<TMantineColor>;
54
+ shared_color?: IContentField<TMantineColor>;
55
55
  web_left_icon?: IContentField<string>;
56
56
  is_link?: IContentField<string>;
57
57
  page_keyword?: IContentField<string>;
@@ -61,7 +61,7 @@ export interface IActionIconStyle extends IStyleWithSpacing {
61
61
  export interface IAlertStyle extends IStyleWithSpacing {
62
62
  style_name: 'alert';
63
63
  alert_title?: IContentField<string>; web_variant?: IContentField<TMantineVariant>;
64
- web_color?: IContentField<TMantineColor>;
64
+ shared_color?: IContentField<TMantineColor>;
65
65
  shared_radius?: IContentField<TSharedRadius>;
66
66
  web_left_icon?: IContentField<string>;
67
67
  web_with_close_button?: IContentField<string>;
@@ -74,7 +74,7 @@ export interface IBadgeStyle extends IStyleWithSpacing {
74
74
  shared_size?: IContentField<TSharedSize>;
75
75
  web_left_icon?: IContentField<string>;
76
76
  shared_radius?: IContentField<TSharedRadius>;
77
- web_color?: IContentField<TMantineColor>; web_right_icon?: IContentField<string>;
77
+ shared_color?: IContentField<TMantineColor>; web_right_icon?: IContentField<string>;
78
78
  web_auto_contrast?: IContentField<string>;
79
79
  }
80
80
 
@@ -84,7 +84,7 @@ export interface IAvatarStyle extends IStyleWithSpacing {
84
84
  web_avatar_variant?: IContentField<TMantineAvatarVariant>;
85
85
  shared_size?: IContentField<TSharedSize>;
86
86
  shared_radius?: IContentField<TSharedRadius>;
87
- web_color?: IContentField<TMantineColor>; web_left_icon?: IContentField<string>;
87
+ shared_color?: IContentField<TMantineColor>; web_left_icon?: IContentField<string>;
88
88
  web_avatar_initials?: IContentField<string>;
89
89
  img_src?: IContentField<string>;
90
90
  }
@@ -95,7 +95,7 @@ export interface IChipStyle extends IStyleWithSpacing {
95
95
  web_chip_variant?: IContentField<TMantineChipVariant>;
96
96
  shared_size?: IContentField<TSharedSize>;
97
97
  shared_radius?: IContentField<TSharedRadius>;
98
- web_color?: IContentField<TMantineColor>;
98
+ shared_color?: IContentField<TMantineColor>;
99
99
  web_chip_checked?: IContentField<string>;
100
100
  web_chip_multiple?: IContentField<string>;
101
101
  disabled?: IContentField<string>; web_left_icon?: IContentField<string>;
@@ -123,14 +123,14 @@ export interface IIndicatorStyle extends IBaseStyle {
123
123
  web_indicator_offset?: IContentField<string>;
124
124
  web_border?: IContentField<string>;
125
125
  shared_radius?: IContentField<TSharedRadius>;
126
- web_color?: IContentField<TMantineColor>;}
126
+ shared_color?: IContentField<TMantineColor>;}
127
127
 
128
128
  export interface IThemeIconStyle extends IStyleWithSpacing {
129
129
  style_name: 'theme-icon';
130
130
  web_variant?: IContentField<TMantineThemeIconVariant>;
131
131
  shared_size?: IContentField<TSharedSize>;
132
132
  shared_radius?: IContentField<TSharedRadius>;
133
- web_color?: IContentField<TMantineColor>; web_left_icon?: IContentField<string>;
133
+ shared_color?: IContentField<TMantineColor>; web_left_icon?: IContentField<string>;
134
134
  }
135
135
 
136
136
  export interface INotificationStyle extends IStyleWithSpacing {
@@ -138,7 +138,7 @@ export interface INotificationStyle extends IStyleWithSpacing {
138
138
  title?: IContentField<string>;
139
139
  content?: IContentField<string>;
140
140
  web_left_icon?: IContentField<string>;
141
- web_color?: IContentField<TMantineColor>;
141
+ shared_color?: IContentField<TMantineColor>;
142
142
  web_notification_loading?: IContentField<string>;
143
143
  web_notification_with_close_button?: IContentField<string>;
144
144
  web_border?: IContentField<string>;
@@ -111,10 +111,10 @@ export interface IDividerStyle extends IBaseStyle {
111
111
  style_name: 'divider';
112
112
  web_divider_variant?: IContentField<TMantineDividerVariant>;
113
113
  shared_size?: IContentField<TSharedSize>;
114
- web_divider_label?: IContentField<string>;
114
+ divider_label?: IContentField<string>;
115
115
  web_divider_label_position?: IContentField<string>;
116
116
  shared_orientation?: IContentField<TMantineOrientation>;
117
- web_color?: IContentField<TMantineColor>;}
117
+ shared_color?: IContentField<TMantineColor>;}
118
118
 
119
119
  export interface IPaperStyle extends IStyleWithSpacing {
120
120
  style_name: 'paper';
@@ -38,7 +38,7 @@ export interface ITextStyle extends IStyleWithSpacing {
38
38
  style_name: 'text';
39
39
  text?: IContentField<string>;
40
40
  shared_size?: IContentField<TMantineSize>;
41
- web_color?: IContentField<TMantineColor>;
41
+ shared_color?: IContentField<TMantineColor>;
42
42
  web_text_font_weight?: IContentField<TMantineTextFontWeight>;
43
43
  web_text_font_style?: IContentField<TMantineTextFontStyle>;
44
44
  web_text_text_decoration?: IContentField<TMantineTextDecoration>;
@@ -54,14 +54,14 @@ export interface ITextStyle extends IStyleWithSpacing {
54
54
  export interface ICodeStyle extends IStyleWithSpacing {
55
55
  style_name: 'code';
56
56
  web_code_block?: IContentField<string>;
57
- web_color?: IContentField<TMantineColor>; content?: IContentField<string>;
57
+ shared_color?: IContentField<TMantineColor>; content?: IContentField<string>;
58
58
  }
59
59
 
60
60
  export interface IHighlightStyle extends IStyleWithSpacing {
61
61
  style_name: 'highlight';
62
62
  text?: IContentField<string>;
63
- web_highlight_highlight?: IContentField<string>;
64
- web_color?: IContentField<TMantineColor>;}
63
+ highlight_highlight?: IContentField<string>;
64
+ shared_color?: IContentField<TMantineColor>;}
65
65
 
66
66
  export interface IBlockquoteStyle extends IStyleWithSpacing {
67
67
  style_name: 'blockquote';
@@ -69,7 +69,7 @@ export interface IBlockquoteStyle extends IStyleWithSpacing {
69
69
  cite?: IContentField<string>;
70
70
  web_left_icon?: IContentField<string>;
71
71
  web_icon_size?: IContentField<TMantineIconSize>;
72
- web_color?: IContentField<TMantineColor>;}
72
+ shared_color?: IContentField<TMantineColor>;}
73
73
 
74
74
  export interface IHtmlTagStyle extends IBaseStyle {
75
75
  style_name: 'html-tag';
@@ -96,5 +96,5 @@ export interface IFieldsetStyle extends IStyleWithSpacing {
96
96
  export interface ISpoilerStyle extends IStyleWithSpacing {
97
97
  style_name: 'spoiler';
98
98
  web_height?: IContentField<TMantineSpoilerMaxHeight>;
99
- web_spoiler_show_label?: IContentField<string>;
100
- web_spoiler_hide_label?: IContentField<string>;}
99
+ spoiler_show_label?: IContentField<string>;
100
+ spoiler_hide_label?: IContentField<string>;}