@selfhelp/shared 1.14.20 → 1.14.23
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-DMm4kymA.d.mts → common-udJ0O8qC.d.mts} +1 -1
- package/dist/{common-DMm4kymA.d.ts → common-udJ0O8qC.d.ts} +1 -1
- package/dist/index.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +6 -6
- package/dist/index.mjs +6 -6
- package/dist/plugin-sdk/index.d.mts +2 -2
- package/dist/plugin-sdk/index.d.ts +2 -2
- package/dist/plugin-sdk/index.js +1 -1
- package/dist/plugin-sdk/index.mjs +1 -1
- package/dist/registry/index.d.mts +3 -3
- package/dist/registry/index.d.ts +3 -3
- package/dist/registry/index.js +1 -1
- package/dist/registry/index.mjs +1 -1
- package/dist/{styles.registry-B8IaEULk.d.ts → styles.registry-CZZwODJY.d.mts} +194 -178
- package/dist/{styles.registry-DhkxrV2-.d.mts → styles.registry-DQKcvIBZ.d.ts} +194 -178
- package/dist/theme/index.d.mts +20 -20
- package/dist/theme/index.d.ts +20 -20
- package/dist/theme/index.js +5 -5
- package/dist/theme/index.mjs +5 -5
- package/dist/theme/tailwind.d.mts +2 -2
- package/dist/theme/tailwind.d.ts +2 -2
- package/package.json +1 -1
- package/src/registry/styles.registry.ts +1 -1
- package/src/theme/__tests__/semantic.test.ts +19 -19
- package/src/theme/mantineVariant.ts +1 -1
- package/src/theme/semantic.ts +24 -24
- package/src/theme/tailwind.ts +2 -2
- package/src/theme/tokens.ts +1 -1
- package/src/types/__tests__/mobile-adapters.test.ts +1 -1
- package/src/types/mantine/common.ts +1 -1
- package/src/types/mobile-adapters.ts +4 -4
- package/src/types/styles/auth.ts +10 -10
- package/src/types/styles/base.ts +2 -2
- package/src/types/styles/composite.ts +7 -7
- package/src/types/styles/error.ts +9 -9
- package/src/types/styles/forms.ts +74 -58
- package/src/types/styles/interactive.ts +34 -32
- package/src/types/styles/layout.ts +42 -42
- package/src/types/styles/media.ts +6 -6
- package/src/types/styles/typography.ts +13 -13
- package/src/utils/spacing.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TMantineColor, a as TMantineRadius, b as TSharedSize, c as TMantineJustify, d as TMantineAlign, e as TMantineDirection, f as TMantineWrap, g as TMantineGridOverflow, h as TMantineGridSpan, i as TMantineGridGrow, j as TMantineOrientation, k as TSharedRadius, l as TMantineTitleOrder, m as TMantineSize, n as TMantineFieldsetVariant, o as TMantineSpoilerMaxHeight, p as TMantineVariant, q as TMantineBadgeVariant, r as TMantineAvatarVariant, s as TMantineChipVariant, t as TMantineIndicatorPosition, u as TMantineThemeIconVariant, v as TMantineAccordionVariant, w as TMantineTabsVariant, x as TMantineTimelineLineVariant, y as TMantineSpacing } from './common-
|
|
1
|
+
import { T as TMantineColor, a as TMantineRadius, b as TSharedSize, c as TMantineJustify, d as TMantineAlign, e as TMantineDirection, f as TMantineWrap, g as TMantineGridOverflow, h as TMantineGridSpan, i as TMantineGridGrow, j as TMantineOrientation, k as TSharedRadius, l as TMantineTitleOrder, m as TMantineSize, n as TMantineFieldsetVariant, o as TMantineSpoilerMaxHeight, p as TMantineVariant, q as TMantineBadgeVariant, r as TMantineAvatarVariant, s as TMantineChipVariant, t as TMantineIndicatorPosition, u as TMantineThemeIconVariant, v as TMantineAccordionVariant, w as TMantineTabsVariant, x as TMantineTimelineLineVariant, y as TMantineSpacing } from './common-udJ0O8qC.js';
|
|
2
2
|
|
|
3
3
|
interface ILoginStyle extends IStyleWithSpacing {
|
|
4
4
|
style_name: 'login';
|
|
@@ -11,7 +11,7 @@ interface ILoginStyle extends IStyleWithSpacing {
|
|
|
11
11
|
/** Optional subtitle under the title; hidden when empty. */
|
|
12
12
|
subtitle?: IContentField<string>;
|
|
13
13
|
/** Submit-button colour (cross-platform, via the shared mapper). */
|
|
14
|
-
|
|
14
|
+
color?: IContentField<TMantineColor>;
|
|
15
15
|
/** Label of the link that opens the registration page. */
|
|
16
16
|
label_register?: IContentField<string>;
|
|
17
17
|
}
|
|
@@ -56,16 +56,16 @@ interface IValidateStyle extends IStyleWithSpacing {
|
|
|
56
56
|
label_save?: IContentField<string>;
|
|
57
57
|
label_update?: IContentField<string>;
|
|
58
58
|
label_cancel?: IContentField<string>;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
59
|
+
buttons_size?: IContentField<string>;
|
|
60
|
+
buttons_radius?: IContentField<string>;
|
|
61
|
+
buttons_variant?: IContentField<string>;
|
|
62
|
+
buttons_position?: IContentField<string>;
|
|
63
|
+
buttons_order?: IContentField<string>;
|
|
64
|
+
btn_save_color?: IContentField<string>;
|
|
65
|
+
btn_cancel_color?: IContentField<string>;
|
|
66
66
|
web_card_shadow?: IContentField<string>;
|
|
67
67
|
web_card_padding?: IContentField<string>;
|
|
68
|
-
|
|
68
|
+
radius?: IContentField<TMantineRadius>;
|
|
69
69
|
web_border?: IContentField<string>;
|
|
70
70
|
/** Activation lifecycle status text (shown after the registration email). */
|
|
71
71
|
loading_title?: IContentField<string>;
|
|
@@ -80,7 +80,7 @@ interface IValidateStyle extends IStyleWithSpacing {
|
|
|
80
80
|
interface IResetPasswordStyle extends IStyleWithSpacing {
|
|
81
81
|
style_name: 'reset-password';
|
|
82
82
|
/** Submit/link-button colour (cross-platform, via the shared mapper). */
|
|
83
|
-
|
|
83
|
+
color?: IContentField<TMantineColor>;
|
|
84
84
|
label_pw_reset?: IContentField<string>;
|
|
85
85
|
alert_success?: IContentField<string>;
|
|
86
86
|
placeholder?: IContentField<string>;
|
|
@@ -200,7 +200,7 @@ type TMantineScrollAreaSize = string;
|
|
|
200
200
|
type TMantineScrollAreaType = 'hover' | 'always' | 'auto' | 'never' | 'scroll';
|
|
201
201
|
interface IContainerStyle extends IStyleWithSpacing {
|
|
202
202
|
style_name: 'container';
|
|
203
|
-
|
|
203
|
+
size?: IContentField<TSharedSize>;
|
|
204
204
|
web_fluid?: IContentField<string>;
|
|
205
205
|
}
|
|
206
206
|
interface IBoxStyle extends IStyleWithSpacing {
|
|
@@ -209,19 +209,19 @@ interface IBoxStyle extends IStyleWithSpacing {
|
|
|
209
209
|
}
|
|
210
210
|
interface IFlexStyle extends IStyleWithSpacing {
|
|
211
211
|
style_name: 'flex';
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
212
|
+
gap?: IContentField<TMantineGap>;
|
|
213
|
+
justify?: IContentField<TMantineJustify>;
|
|
214
|
+
align?: IContentField<TMantineAlign>;
|
|
215
|
+
direction?: IContentField<TMantineDirection>;
|
|
216
|
+
wrap?: IContentField<TMantineWrap>;
|
|
217
217
|
shared_width?: IContentField<TSharedDimension>;
|
|
218
218
|
shared_height?: IContentField<TSharedDimension>;
|
|
219
219
|
}
|
|
220
220
|
interface IGroupStyle extends IStyleWithSpacing {
|
|
221
221
|
style_name: 'group';
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
222
|
+
gap?: IContentField<TMantineGap>;
|
|
223
|
+
justify?: IContentField<TMantineJustify>;
|
|
224
|
+
align?: IContentField<TMantineAlign>;
|
|
225
225
|
shared_width?: IContentField<TSharedDimension>;
|
|
226
226
|
shared_height?: IContentField<TSharedDimension>;
|
|
227
227
|
web_group_wrap?: IContentField<'0' | '1'>;
|
|
@@ -229,17 +229,17 @@ interface IGroupStyle extends IStyleWithSpacing {
|
|
|
229
229
|
}
|
|
230
230
|
interface IStackStyle extends IStyleWithSpacing {
|
|
231
231
|
style_name: 'stack';
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
232
|
+
gap?: IContentField<TMantineGap>;
|
|
233
|
+
justify?: IContentField<TMantineJustify>;
|
|
234
|
+
align?: IContentField<TMantineAlign>;
|
|
235
235
|
shared_width?: IContentField<TSharedDimension>;
|
|
236
236
|
shared_height?: IContentField<TSharedDimension>;
|
|
237
237
|
}
|
|
238
238
|
interface ISimpleGridStyle extends IStyleWithSpacing {
|
|
239
239
|
style_name: 'simple-grid';
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
240
|
+
cols?: IContentField<TSharedCols>;
|
|
241
|
+
gap?: IContentField<TMantineGap>;
|
|
242
|
+
vertical_spacing?: IContentField<TMantineGap>;
|
|
243
243
|
shared_width?: IContentField<TSharedDimension>;
|
|
244
244
|
shared_height?: IContentField<TSharedDimension>;
|
|
245
245
|
web_cols_sm?: IContentField<TSharedCols>;
|
|
@@ -248,53 +248,53 @@ interface ISimpleGridStyle extends IStyleWithSpacing {
|
|
|
248
248
|
}
|
|
249
249
|
interface IGridStyle extends IStyleWithSpacing {
|
|
250
250
|
style_name: 'grid';
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
251
|
+
cols?: IContentField<TSharedCols>;
|
|
252
|
+
gap?: IContentField<TMantineGap>;
|
|
253
|
+
justify?: IContentField<TMantineJustify>;
|
|
254
|
+
align?: IContentField<TMantineAlign>;
|
|
255
255
|
shared_width?: IContentField<TSharedDimension>;
|
|
256
256
|
shared_height?: IContentField<TSharedDimension>;
|
|
257
257
|
web_grid_overflow?: IContentField<TMantineGridOverflow>;
|
|
258
258
|
}
|
|
259
259
|
interface IGridColumnStyle extends IStyleWithSpacing {
|
|
260
260
|
style_name: 'grid-column';
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
261
|
+
grid_span?: IContentField<TMantineGridSpan>;
|
|
262
|
+
grid_offset?: IContentField<TMantineGridOffset>;
|
|
263
|
+
grid_order?: IContentField<TMantineGridOrder>;
|
|
264
|
+
grid_grow?: IContentField<TMantineGridGrow>;
|
|
265
265
|
shared_width?: IContentField<TSharedDimension>;
|
|
266
266
|
shared_height?: IContentField<TSharedDimension>;
|
|
267
267
|
}
|
|
268
268
|
interface ISpaceStyle extends IStyleWithSpacing {
|
|
269
269
|
style_name: 'space';
|
|
270
|
-
|
|
271
|
-
|
|
270
|
+
size?: IContentField<TSharedSize>;
|
|
271
|
+
orientation?: IContentField<TMantineOrientation>;
|
|
272
272
|
}
|
|
273
273
|
interface IDividerStyle extends IStyleWithSpacing {
|
|
274
274
|
style_name: 'divider';
|
|
275
|
-
|
|
276
|
-
|
|
275
|
+
divider_variant?: IContentField<TSharedDividerVariant>;
|
|
276
|
+
size?: IContentField<TSharedSize>;
|
|
277
277
|
divider_label?: IContentField<string>;
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
278
|
+
divider_label_position?: IContentField<TSharedDividerLabelPosition>;
|
|
279
|
+
orientation?: IContentField<TMantineOrientation>;
|
|
280
|
+
color?: IContentField<TMantineColor>;
|
|
281
281
|
}
|
|
282
282
|
interface IPaperStyle extends IStyleWithSpacing {
|
|
283
283
|
style_name: 'paper';
|
|
284
284
|
title?: IContentField<string>;
|
|
285
285
|
web_paper_shadow?: IContentField<TMantinePaperShadow>;
|
|
286
|
-
|
|
287
|
-
|
|
286
|
+
radius?: IContentField<TSharedRadius>;
|
|
287
|
+
border?: IContentField<TSharedBorder>;
|
|
288
288
|
}
|
|
289
289
|
interface ICenterStyle extends IStyleWithSpacing {
|
|
290
290
|
style_name: 'center';
|
|
291
291
|
web_center_inline?: IContentField<string>;
|
|
292
292
|
shared_width?: IContentField<TSharedDimension>;
|
|
293
293
|
shared_height?: IContentField<TSharedDimension>;
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
294
|
+
miw?: IContentField<TSharedDimension>;
|
|
295
|
+
mih?: IContentField<TSharedDimension>;
|
|
296
|
+
maw?: IContentField<TSharedDimension>;
|
|
297
|
+
mah?: IContentField<TSharedDimension>;
|
|
298
298
|
}
|
|
299
299
|
interface IScrollAreaStyle extends IStyleWithSpacing {
|
|
300
300
|
style_name: 'scroll-area';
|
|
@@ -308,13 +308,13 @@ interface ICardStyle extends IStyleWithSpacing {
|
|
|
308
308
|
style_name: 'card';
|
|
309
309
|
title?: IContentField<string>;
|
|
310
310
|
img_src?: IContentField<string>;
|
|
311
|
-
|
|
311
|
+
border?: IContentField<TSharedBorder>;
|
|
312
312
|
web_card_shadow?: IContentField<TMantineCardShadow>;
|
|
313
|
-
|
|
313
|
+
radius?: IContentField<TSharedRadius>;
|
|
314
314
|
}
|
|
315
315
|
interface ICardSegmentStyle extends IStyleWithSpacing {
|
|
316
316
|
style_name: 'card-segment';
|
|
317
|
-
|
|
317
|
+
border?: IContentField<TSharedBorder>;
|
|
318
318
|
web_segment_inherit_padding?: IContentField<'0' | '1'>;
|
|
319
319
|
}
|
|
320
320
|
interface IAspectRatioStyle extends IBaseStyle {
|
|
@@ -324,7 +324,7 @@ interface IAspectRatioStyle extends IBaseStyle {
|
|
|
324
324
|
interface IBackgroundImageStyle extends IStyleWithSpacing {
|
|
325
325
|
style_name: 'background-image';
|
|
326
326
|
img_src?: IContentField<string>;
|
|
327
|
-
|
|
327
|
+
radius?: IContentField<TSharedRadius>;
|
|
328
328
|
}
|
|
329
329
|
/**
|
|
330
330
|
* Renders content referenced from another section. Has no own fields; the
|
|
@@ -360,21 +360,21 @@ interface ITitleStyle extends IStyleWithSpacing {
|
|
|
360
360
|
style_name: 'title';
|
|
361
361
|
content?: IContentField<string>;
|
|
362
362
|
title_order?: IContentField<TMantineTitleOrder>;
|
|
363
|
-
|
|
364
|
-
|
|
363
|
+
size?: IContentField<TMantineSize>;
|
|
364
|
+
color?: IContentField<TMantineColor>;
|
|
365
365
|
web_title_text_wrap?: IContentField<TMantineTitleTextWrap>;
|
|
366
|
-
|
|
366
|
+
line_clamp?: IContentField<TMantineTitleLineClamp>;
|
|
367
367
|
}
|
|
368
368
|
interface ITextStyle extends IStyleWithSpacing {
|
|
369
369
|
style_name: 'text';
|
|
370
370
|
text?: IContentField<string>;
|
|
371
|
-
|
|
372
|
-
|
|
371
|
+
size?: IContentField<TMantineSize>;
|
|
372
|
+
color?: IContentField<TMantineColor>;
|
|
373
373
|
web_text_font_weight?: IContentField<TMantineTextFontWeight>;
|
|
374
374
|
web_text_font_style?: IContentField<TMantineTextFontStyle>;
|
|
375
375
|
web_text_text_decoration?: IContentField<TMantineTextDecoration>;
|
|
376
376
|
web_text_text_transform?: IContentField<TMantineTextTransform>;
|
|
377
|
-
|
|
377
|
+
text_align?: IContentField<TMantineTextAlign>;
|
|
378
378
|
web_text_variant?: IContentField<TMantineTextVariant>;
|
|
379
379
|
web_text_gradient?: IContentField<string>;
|
|
380
380
|
web_text_truncate?: IContentField<TMantineTextTruncate>;
|
|
@@ -385,15 +385,15 @@ interface ITextStyle extends IStyleWithSpacing {
|
|
|
385
385
|
interface ICodeStyle extends IStyleWithSpacing {
|
|
386
386
|
style_name: 'code';
|
|
387
387
|
code_block?: IContentField<string>;
|
|
388
|
-
|
|
389
|
-
|
|
388
|
+
color?: IContentField<TMantineColor>;
|
|
389
|
+
radius?: IContentField<TSharedRadius>;
|
|
390
390
|
content?: IContentField<string>;
|
|
391
391
|
}
|
|
392
392
|
interface IHighlightStyle extends IStyleWithSpacing {
|
|
393
393
|
style_name: 'highlight';
|
|
394
394
|
text?: IContentField<string>;
|
|
395
395
|
highlight_highlight?: IContentField<string>;
|
|
396
|
-
|
|
396
|
+
color?: IContentField<TMantineColor>;
|
|
397
397
|
}
|
|
398
398
|
interface IBlockquoteStyle extends IStyleWithSpacing {
|
|
399
399
|
style_name: 'blockquote';
|
|
@@ -402,7 +402,7 @@ interface IBlockquoteStyle extends IStyleWithSpacing {
|
|
|
402
402
|
cite?: IContentField<string>;
|
|
403
403
|
web_left_icon?: IContentField<string>;
|
|
404
404
|
web_icon_size?: IContentField<TMantineIconSize>;
|
|
405
|
-
|
|
405
|
+
color?: IContentField<TMantineColor>;
|
|
406
406
|
}
|
|
407
407
|
interface IHtmlTagStyle extends IBaseStyle {
|
|
408
408
|
style_name: 'html-tag';
|
|
@@ -412,7 +412,7 @@ interface IHtmlTagStyle extends IBaseStyle {
|
|
|
412
412
|
interface IKbdStyle extends IStyleWithSpacing {
|
|
413
413
|
style_name: 'kbd';
|
|
414
414
|
label?: IContentField<string>;
|
|
415
|
-
|
|
415
|
+
size?: IContentField<TMantineSize>;
|
|
416
416
|
}
|
|
417
417
|
interface ITypographyStyle extends IStyleWithSpacing {
|
|
418
418
|
style_name: 'typography';
|
|
@@ -422,7 +422,7 @@ interface IFieldsetStyle extends IStyleWithSpacing {
|
|
|
422
422
|
label?: IContentField<string>;
|
|
423
423
|
legend?: IContentField<string>;
|
|
424
424
|
web_fieldset_variant?: IContentField<TMantineFieldsetVariant>;
|
|
425
|
-
|
|
425
|
+
radius?: IContentField<TMantineRadius>;
|
|
426
426
|
disabled?: IContentField<string>;
|
|
427
427
|
}
|
|
428
428
|
interface ISpoilerStyle extends IStyleWithSpacing {
|
|
@@ -431,7 +431,7 @@ interface ISpoilerStyle extends IStyleWithSpacing {
|
|
|
431
431
|
spoiler_show_label?: IContentField<string>;
|
|
432
432
|
spoiler_hide_label?: IContentField<string>;
|
|
433
433
|
/** Color of the show/hide control link. */
|
|
434
|
-
|
|
434
|
+
color?: IContentField<TMantineColor>;
|
|
435
435
|
}
|
|
436
436
|
|
|
437
437
|
type TMantineImageFit = 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
|
|
@@ -441,12 +441,10 @@ interface IImageStyle extends IStyleWithSpacing {
|
|
|
441
441
|
is_fluid?: IContentField<string>;
|
|
442
442
|
alt?: IContentField<string>;
|
|
443
443
|
img_src?: IContentField<string>;
|
|
444
|
-
height?: IContentField<string>;
|
|
445
|
-
width?: IContentField<string>;
|
|
446
444
|
web_image_fit?: IContentField<TMantineImageFit>;
|
|
447
445
|
web_width?: IContentField<TMantineWidth>;
|
|
448
446
|
web_height?: IContentField<TMantineHeight>;
|
|
449
|
-
|
|
447
|
+
radius?: IContentField<TMantineRadius>;
|
|
450
448
|
/** Image shown when the main source fails to load (Mantine Image fallbackSrc). */
|
|
451
449
|
fallback_src?: IContentField<string>;
|
|
452
450
|
}
|
|
@@ -490,7 +488,7 @@ interface ICarouselStyle extends IStyleWithSpacing {
|
|
|
490
488
|
web_height?: IContentField<string>;
|
|
491
489
|
web_carousel_slide_size?: IContentField<string>;
|
|
492
490
|
web_carousel_slide_gap?: IContentField<string>;
|
|
493
|
-
|
|
491
|
+
orientation?: IContentField<string>;
|
|
494
492
|
web_control_size?: IContentField<string>;
|
|
495
493
|
web_carousel_controls_offset?: IContentField<string>;
|
|
496
494
|
web_carousel_next_control_icon?: IContentField<string>;
|
|
@@ -514,13 +512,13 @@ type TMantineAnchorUnderline = 'always' | 'hover' | 'never';
|
|
|
514
512
|
type TMobileButtonFeedback = 'scale-highlight' | 'scale-ripple' | 'scale' | 'none';
|
|
515
513
|
interface IButtonStyle extends IStyleWithSpacing {
|
|
516
514
|
style_name: 'button';
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
515
|
+
variant?: IContentField<TMantineVariant>;
|
|
516
|
+
color?: IContentField<TMantineColor>;
|
|
517
|
+
size?: IContentField<TSharedSize>;
|
|
518
|
+
radius?: IContentField<TSharedRadius>;
|
|
521
519
|
web_left_icon?: IContentField<string>;
|
|
522
520
|
web_right_icon?: IContentField<string>;
|
|
523
|
-
|
|
521
|
+
full_width?: IContentField<string>;
|
|
524
522
|
web_compact?: IContentField<string>;
|
|
525
523
|
web_auto_contrast?: IContentField<string>;
|
|
526
524
|
is_link?: IContentField<string>;
|
|
@@ -540,7 +538,7 @@ interface ILinkStyle extends IStyleWithSpacing {
|
|
|
540
538
|
label?: IContentField<string>;
|
|
541
539
|
url?: IContentField<string>;
|
|
542
540
|
open_in_new_tab?: IContentField<string>;
|
|
543
|
-
|
|
541
|
+
color?: IContentField<TMantineColor>;
|
|
544
542
|
web_link_underline?: IContentField<TMantineAnchorUnderline>;
|
|
545
543
|
web_left_icon?: IContentField<string>;
|
|
546
544
|
web_right_icon?: IContentField<string>;
|
|
@@ -549,9 +547,9 @@ interface IActionIconStyle extends IStyleWithSpacing {
|
|
|
549
547
|
style_name: 'action-icon';
|
|
550
548
|
web_variant?: IContentField<TMantineVariant>;
|
|
551
549
|
web_action_icon_loading?: IContentField<string>;
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
550
|
+
size?: IContentField<TSharedSize>;
|
|
551
|
+
radius?: IContentField<TSharedRadius>;
|
|
552
|
+
color?: IContentField<TMantineColor>;
|
|
555
553
|
web_left_icon?: IContentField<string>;
|
|
556
554
|
is_link?: IContentField<string>;
|
|
557
555
|
page_keyword?: IContentField<string>;
|
|
@@ -564,8 +562,8 @@ interface IAlertStyle extends IStyleWithSpacing {
|
|
|
564
562
|
style_name: 'alert';
|
|
565
563
|
alert_title?: IContentField<string>;
|
|
566
564
|
web_variant?: IContentField<TMantineVariant>;
|
|
567
|
-
|
|
568
|
-
|
|
565
|
+
color?: IContentField<TMantineColor>;
|
|
566
|
+
radius?: IContentField<TSharedRadius>;
|
|
569
567
|
web_left_icon?: IContentField<string>;
|
|
570
568
|
/** Cross-platform dismiss toggle (was the web-only `web_with_close_button`). */
|
|
571
569
|
closable?: IContentField<string>;
|
|
@@ -575,15 +573,15 @@ interface IBadgeStyle extends IStyleWithSpacing {
|
|
|
575
573
|
style_name: 'badge';
|
|
576
574
|
label?: IContentField<string>;
|
|
577
575
|
/** Cross-platform variant (web Mantine + mobile HeroUI). Primary control. */
|
|
578
|
-
|
|
579
|
-
/** Web-only variant override (e.g. `dot`); empty falls back to
|
|
576
|
+
variant?: IContentField<TMantineBadgeVariant>;
|
|
577
|
+
/** Web-only variant override (e.g. `dot`); empty falls back to variant. */
|
|
580
578
|
web_variant?: IContentField<TMantineBadgeVariant>;
|
|
581
579
|
/** Render as a circle (equal width/height) for short counts. */
|
|
582
580
|
circle?: IContentField<string>;
|
|
583
|
-
|
|
581
|
+
size?: IContentField<TSharedSize>;
|
|
584
582
|
web_left_icon?: IContentField<string>;
|
|
585
|
-
|
|
586
|
-
|
|
583
|
+
radius?: IContentField<TSharedRadius>;
|
|
584
|
+
color?: IContentField<TMantineColor>;
|
|
587
585
|
web_right_icon?: IContentField<string>;
|
|
588
586
|
web_auto_contrast?: IContentField<string>;
|
|
589
587
|
}
|
|
@@ -593,9 +591,9 @@ interface IAvatarStyle extends IStyleWithSpacing {
|
|
|
593
591
|
/** Person name; seeds auto-initials + a stable auto colour when no image. */
|
|
594
592
|
name?: IContentField<string>;
|
|
595
593
|
web_variant?: IContentField<TMantineAvatarVariant>;
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
594
|
+
size?: IContentField<TSharedSize>;
|
|
595
|
+
radius?: IContentField<TSharedRadius>;
|
|
596
|
+
color?: IContentField<TMantineColor>;
|
|
599
597
|
web_left_icon?: IContentField<string>;
|
|
600
598
|
web_avatar_initials?: IContentField<string>;
|
|
601
599
|
img_src?: IContentField<string>;
|
|
@@ -603,10 +601,10 @@ interface IAvatarStyle extends IStyleWithSpacing {
|
|
|
603
601
|
interface IChipStyle extends IStyleWithSpacing {
|
|
604
602
|
style_name: 'chip';
|
|
605
603
|
label?: IContentField<string>;
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
604
|
+
chip_variant?: IContentField<TMantineChipVariant>;
|
|
605
|
+
size?: IContentField<TSharedSize>;
|
|
606
|
+
radius?: IContentField<TSharedRadius>;
|
|
607
|
+
color?: IContentField<TMantineColor>;
|
|
610
608
|
web_chip_checked?: IContentField<string>;
|
|
611
609
|
web_chip_multiple?: IContentField<string>;
|
|
612
610
|
disabled?: IContentField<string>;
|
|
@@ -633,27 +631,29 @@ interface IIndicatorStyle extends IBaseStyle {
|
|
|
633
631
|
web_indicator_inline?: IContentField<string>;
|
|
634
632
|
web_indicator_offset?: IContentField<string>;
|
|
635
633
|
web_border?: IContentField<string>;
|
|
636
|
-
|
|
637
|
-
|
|
634
|
+
radius?: IContentField<TSharedRadius>;
|
|
635
|
+
color?: IContentField<TMantineColor>;
|
|
638
636
|
}
|
|
639
637
|
interface IThemeIconStyle extends IStyleWithSpacing {
|
|
640
638
|
style_name: 'theme-icon';
|
|
641
639
|
web_variant?: IContentField<TMantineThemeIconVariant>;
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
640
|
+
size?: IContentField<TSharedSize>;
|
|
641
|
+
radius?: IContentField<TSharedRadius>;
|
|
642
|
+
color?: IContentField<TMantineColor>;
|
|
645
643
|
web_left_icon?: IContentField<string>;
|
|
646
644
|
}
|
|
647
645
|
interface INotificationStyle extends IStyleWithSpacing {
|
|
648
646
|
style_name: 'notification';
|
|
649
647
|
title?: IContentField<string>;
|
|
650
648
|
content?: IContentField<string>;
|
|
651
|
-
|
|
652
|
-
|
|
649
|
+
/** Portable icon: honoured by both web (Mantine) and mobile renderers. */
|
|
650
|
+
shared_icon?: IContentField<string>;
|
|
651
|
+
color?: IContentField<TMantineColor>;
|
|
653
652
|
web_notification_loading?: IContentField<string>;
|
|
654
|
-
|
|
653
|
+
/** Portable dismiss toggle: both platforms show a close button when '1'. */
|
|
654
|
+
with_close_button?: IContentField<string>;
|
|
655
655
|
web_border?: IContentField<string>;
|
|
656
|
-
|
|
656
|
+
radius?: IContentField<TSharedRadius>;
|
|
657
657
|
}
|
|
658
658
|
|
|
659
659
|
type TMantineTextInputVariant = 'default' | 'filled' | 'unstyled';
|
|
@@ -668,20 +668,32 @@ type TMobileSelectPresentation = 'bottom-sheet' | 'dialog' | 'popover';
|
|
|
668
668
|
type TMobileFieldVariant = 'primary' | 'secondary';
|
|
669
669
|
interface IFormStyle extends IStyleWithSpacing {
|
|
670
670
|
style_name: 'form-log' | 'form-record';
|
|
671
|
+
/** Optional auto-styled heading rendered above the form when set. */
|
|
672
|
+
title?: IContentField<string>;
|
|
673
|
+
/** Optional sub-heading rendered below the title when set. */
|
|
674
|
+
description?: IContentField<string>;
|
|
671
675
|
btn_save_label?: IContentField<string>;
|
|
672
676
|
alert_success?: IContentField<string>;
|
|
677
|
+
/** Translatable heading of the success alert (default "Success"). */
|
|
678
|
+
alert_success_title?: IContentField<string>;
|
|
673
679
|
name?: IContentField<string>;
|
|
674
680
|
redirect_at_end?: IContentField<string>;
|
|
675
681
|
btn_cancel_url?: IContentField<string>;
|
|
676
682
|
btn_cancel_label?: IContentField<string>;
|
|
677
683
|
alert_error?: IContentField<string>;
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
684
|
+
/** Translatable heading of the error alert (default "Error"). */
|
|
685
|
+
alert_error_title?: IContentField<string>;
|
|
686
|
+
/** When '1', a confirmation dialog is shown before submit. */
|
|
687
|
+
confirm_submit?: IContentField<string>;
|
|
688
|
+
/** Message shown in the confirmation dialog before submit. */
|
|
689
|
+
confirm_message?: IContentField<string>;
|
|
690
|
+
buttons_size?: IContentField<string>;
|
|
691
|
+
buttons_radius?: IContentField<string>;
|
|
692
|
+
buttons_variant?: IContentField<string>;
|
|
693
|
+
buttons_position?: IContentField<string>;
|
|
694
|
+
buttons_order?: IContentField<string>;
|
|
695
|
+
btn_save_color?: IContentField<string>;
|
|
696
|
+
btn_cancel_color?: IContentField<string>;
|
|
685
697
|
}
|
|
686
698
|
interface IFormLogStyle extends IFormStyle {
|
|
687
699
|
style_name: 'form-log';
|
|
@@ -689,7 +701,7 @@ interface IFormLogStyle extends IFormStyle {
|
|
|
689
701
|
interface IFormRecordStyle extends IFormStyle {
|
|
690
702
|
style_name: 'form-record';
|
|
691
703
|
btn_update_label?: IContentField<string>;
|
|
692
|
-
|
|
704
|
+
btn_update_color?: IContentField<string>;
|
|
693
705
|
}
|
|
694
706
|
interface IInputStyle extends IBaseStyle {
|
|
695
707
|
style_name: 'input';
|
|
@@ -714,10 +726,10 @@ interface ITextInputStyle extends IStyleWithSpacing {
|
|
|
714
726
|
disabled?: IContentField<string>;
|
|
715
727
|
web_left_icon?: IContentField<string>;
|
|
716
728
|
web_right_icon?: IContentField<string>;
|
|
717
|
-
|
|
718
|
-
|
|
729
|
+
size?: IContentField<TSharedSize>;
|
|
730
|
+
radius?: IContentField<TSharedRadius>;
|
|
719
731
|
web_text_input_variant?: IContentField<TMantineTextInputVariant>;
|
|
720
|
-
|
|
732
|
+
max_length?: IContentField<string>;
|
|
721
733
|
mobile_keyboard_type?: IContentField<string>;
|
|
722
734
|
mobile_auto_capitalize?: IContentField<string>;
|
|
723
735
|
mobile_secure_entry?: IContentField<string>;
|
|
@@ -738,14 +750,14 @@ interface ITextareaStyle extends IStyleWithSpacing {
|
|
|
738
750
|
disabled?: IContentField<string>;
|
|
739
751
|
web_left_icon?: IContentField<string>;
|
|
740
752
|
web_right_icon?: IContentField<string>;
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
753
|
+
autosize?: IContentField<TMantineTextareaAutosize>;
|
|
754
|
+
min_rows?: IContentField<string>;
|
|
755
|
+
max_rows?: IContentField<string>;
|
|
744
756
|
web_textarea_resize?: IContentField<TMantineTextareaResize>;
|
|
745
|
-
|
|
746
|
-
|
|
757
|
+
size?: IContentField<TSharedSize>;
|
|
758
|
+
radius?: IContentField<TSharedRadius>;
|
|
747
759
|
web_textarea_variant?: IContentField<TMantineTextareaVariant>;
|
|
748
|
-
|
|
760
|
+
max_length?: IContentField<string>;
|
|
749
761
|
mobile_auto_capitalize?: IContentField<string>;
|
|
750
762
|
mobile_textarea_variant?: IContentField<TMobileFieldVariant>;
|
|
751
763
|
translatable?: IContentField<TMantineTranslatable>;
|
|
@@ -776,10 +788,10 @@ interface ISelectStyle extends IBaseStyle {
|
|
|
776
788
|
options?: IContentField<string>;
|
|
777
789
|
is_multiple?: IContentField<string>;
|
|
778
790
|
max?: IContentField<string>;
|
|
779
|
-
|
|
791
|
+
searchable?: IContentField<string>;
|
|
780
792
|
disabled?: IContentField<string>;
|
|
781
793
|
image_selector?: IContentField<string>;
|
|
782
|
-
|
|
794
|
+
clearable?: IContentField<string>;
|
|
783
795
|
mobile_select_presentation?: IContentField<TMobileSelectPresentation>;
|
|
784
796
|
}
|
|
785
797
|
interface IRadioStyle extends IStyleWithSpacing {
|
|
@@ -791,9 +803,9 @@ interface IRadioStyle extends IStyleWithSpacing {
|
|
|
791
803
|
is_required?: IContentField<string>;
|
|
792
804
|
items?: IContentField<unknown[]>;
|
|
793
805
|
is_inline?: IContentField<string>;
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
806
|
+
orientation?: IContentField<string>;
|
|
807
|
+
size?: IContentField<TSharedSize>;
|
|
808
|
+
color?: IContentField<TMantineColor>;
|
|
797
809
|
radio_options?: IContentField<string>;
|
|
798
810
|
web_radio_label_position?: IContentField<string>;
|
|
799
811
|
web_radio_variant?: IContentField<string>;
|
|
@@ -811,12 +823,12 @@ interface ICheckboxStyle extends IStyleWithSpacing {
|
|
|
811
823
|
is_required?: IContentField<string>;
|
|
812
824
|
checkbox_value?: IContentField<string>;
|
|
813
825
|
web_checkbox_icon?: IContentField<string>;
|
|
814
|
-
|
|
826
|
+
label_position?: IContentField<TSharedLabelPosition>;
|
|
815
827
|
description?: IContentField<string>;
|
|
816
828
|
disabled?: IContentField<string>;
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
829
|
+
size?: IContentField<TSharedSize>;
|
|
830
|
+
radius?: IContentField<TSharedRadius>;
|
|
831
|
+
color?: IContentField<TMantineColor>;
|
|
820
832
|
web_use_input_wrapper?: IContentField<TMantineUseInputWrapper>;
|
|
821
833
|
mobile_checkbox_variant?: IContentField<TMobileFieldVariant>;
|
|
822
834
|
}
|
|
@@ -829,9 +841,9 @@ interface ISliderStyle extends IStyleWithSpacing {
|
|
|
829
841
|
web_numeric_min?: IContentField<string>;
|
|
830
842
|
web_numeric_max?: IContentField<string>;
|
|
831
843
|
web_numeric_step?: IContentField<string>;
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
844
|
+
size?: IContentField<TSharedSize>;
|
|
845
|
+
color?: IContentField<TMantineColor>;
|
|
846
|
+
radius?: IContentField<TSharedRadius>;
|
|
835
847
|
disabled?: IContentField<string>;
|
|
836
848
|
slider_marks_values?: IContentField<string>;
|
|
837
849
|
web_slider_show_label?: IContentField<string>;
|
|
@@ -854,9 +866,9 @@ interface IRangeSliderStyle extends IStyleWithSpacing {
|
|
|
854
866
|
web_range_slider_show_label?: IContentField<string>;
|
|
855
867
|
web_range_slider_labels_always_on?: IContentField<string>;
|
|
856
868
|
web_range_slider_inverted?: IContentField<string>;
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
869
|
+
size?: IContentField<TSharedSize>;
|
|
870
|
+
color?: IContentField<TMantineColor>;
|
|
871
|
+
radius?: IContentField<TSharedRadius>;
|
|
860
872
|
disabled?: IContentField<string>;
|
|
861
873
|
mobile_range_slider_show_value?: IContentField<string>;
|
|
862
874
|
}
|
|
@@ -888,8 +900,8 @@ interface IDatePickerStyle extends IStyleWithSpacing {
|
|
|
888
900
|
web_datepicker_date_format?: IContentField<string>;
|
|
889
901
|
web_datepicker_time_grid_config?: IContentField<string>;
|
|
890
902
|
web_datepicker_with_seconds?: IContentField<string>;
|
|
891
|
-
|
|
892
|
-
|
|
903
|
+
size?: IContentField<TSharedSize>;
|
|
904
|
+
radius?: IContentField<TSharedRadius>;
|
|
893
905
|
}
|
|
894
906
|
interface ISwitchStyle extends IStyleWithSpacing {
|
|
895
907
|
style_name: 'switch';
|
|
@@ -897,9 +909,9 @@ interface ISwitchStyle extends IStyleWithSpacing {
|
|
|
897
909
|
description?: IContentField<string>;
|
|
898
910
|
switch_on_label?: IContentField<string>;
|
|
899
911
|
switch_off_label?: IContentField<string>;
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
912
|
+
size?: IContentField<TSharedSize>;
|
|
913
|
+
color?: IContentField<TMantineColor>;
|
|
914
|
+
radius?: IContentField<TSharedRadius>;
|
|
903
915
|
disabled?: IContentField<string>;
|
|
904
916
|
name?: IContentField<string>;
|
|
905
917
|
is_required?: IContentField<string>;
|
|
@@ -937,8 +949,8 @@ interface IColorInputStyle extends IStyleWithSpacing {
|
|
|
937
949
|
web_color_input_with_eye_dropper?: IContentField<string>;
|
|
938
950
|
web_color_input_disallow_input?: IContentField<string>;
|
|
939
951
|
web_color_input_with_preview?: IContentField<string>;
|
|
940
|
-
|
|
941
|
-
|
|
952
|
+
size?: IContentField<TSharedSize>;
|
|
953
|
+
radius?: IContentField<TSharedRadius>;
|
|
942
954
|
placeholder?: IContentField<string>;
|
|
943
955
|
name?: IContentField<string>;
|
|
944
956
|
value?: IContentField<string>;
|
|
@@ -958,8 +970,8 @@ interface IColorPickerStyle extends IStyleWithSpacing {
|
|
|
958
970
|
color_picker_alpha_label?: IContentField<string>;
|
|
959
971
|
web_color_picker_as_button?: IContentField<string>;
|
|
960
972
|
web_color_picker_button_label?: IContentField<string>;
|
|
961
|
-
|
|
962
|
-
|
|
973
|
+
size?: IContentField<TSharedSize>;
|
|
974
|
+
full_width?: IContentField<string>;
|
|
963
975
|
name?: IContentField<string>;
|
|
964
976
|
value?: IContentField<string>;
|
|
965
977
|
description?: IContentField<string>;
|
|
@@ -973,8 +985,8 @@ interface IFileInputStyle extends IStyleWithSpacing {
|
|
|
973
985
|
web_file_input_max_size?: IContentField<string>;
|
|
974
986
|
web_file_input_max_files?: IContentField<string>;
|
|
975
987
|
web_file_input_drag_drop?: IContentField<string>;
|
|
976
|
-
|
|
977
|
-
|
|
988
|
+
size?: IContentField<TSharedSize>;
|
|
989
|
+
radius?: IContentField<TSharedRadius>;
|
|
978
990
|
web_left_icon?: IContentField<string>;
|
|
979
991
|
web_right_icon?: IContentField<string>;
|
|
980
992
|
placeholder?: IContentField<string>;
|
|
@@ -996,8 +1008,8 @@ interface INumberInputStyle extends IStyleWithSpacing {
|
|
|
996
1008
|
web_number_input_thousand_separator?: IContentField<string>;
|
|
997
1009
|
web_number_input_allow_negative?: IContentField<string>;
|
|
998
1010
|
web_number_input_hide_controls?: IContentField<string>;
|
|
999
|
-
|
|
1000
|
-
|
|
1011
|
+
size?: IContentField<TSharedSize>;
|
|
1012
|
+
radius?: IContentField<TSharedRadius>;
|
|
1001
1013
|
placeholder?: IContentField<string>;
|
|
1002
1014
|
label?: IContentField<string>;
|
|
1003
1015
|
description?: IContentField<string>;
|
|
@@ -1009,10 +1021,10 @@ interface INumberInputStyle extends IStyleWithSpacing {
|
|
|
1009
1021
|
interface ISegmentedControlStyle extends IStyleWithSpacing {
|
|
1010
1022
|
style_name: 'segmented-control';
|
|
1011
1023
|
segmented_control_data?: IContentField<string>;
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1024
|
+
orientation?: IContentField<string>;
|
|
1025
|
+
size?: IContentField<TSharedSize>;
|
|
1026
|
+
radius?: IContentField<TSharedRadius>;
|
|
1027
|
+
color?: IContentField<TMantineColor>;
|
|
1016
1028
|
fullwidth?: IContentField<string>;
|
|
1017
1029
|
disabled?: IContentField<string>;
|
|
1018
1030
|
readonly?: IContentField<string>;
|
|
@@ -1037,29 +1049,29 @@ interface IRatingStyle extends IStyleWithSpacing {
|
|
|
1037
1049
|
web_rating_empty_icon?: IContentField<string>;
|
|
1038
1050
|
web_rating_full_icon?: IContentField<string>;
|
|
1039
1051
|
web_rating_highlight_selected_only?: IContentField<string>;
|
|
1040
|
-
|
|
1041
|
-
|
|
1052
|
+
size?: IContentField<TSharedSize>;
|
|
1053
|
+
color?: IContentField<TMantineColor>;
|
|
1042
1054
|
}
|
|
1043
1055
|
interface IProgressStyle extends IStyleWithSpacing {
|
|
1044
1056
|
style_name: 'progress';
|
|
1045
1057
|
value?: IContentField<string>;
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1058
|
+
color?: IContentField<TMantineColor>;
|
|
1059
|
+
radius?: IContentField<TSharedRadius>;
|
|
1060
|
+
size?: IContentField<TSharedSize>;
|
|
1049
1061
|
web_progress_striped?: IContentField<string>;
|
|
1050
1062
|
web_progress_animated?: IContentField<string>;
|
|
1051
1063
|
web_progress_transition_duration?: IContentField<TMantineProgressTransition>;
|
|
1052
1064
|
}
|
|
1053
1065
|
interface IProgressRootStyle extends IBaseStyle {
|
|
1054
1066
|
style_name: 'progress-root';
|
|
1055
|
-
|
|
1056
|
-
|
|
1067
|
+
size?: IContentField<TSharedSize>;
|
|
1068
|
+
radius?: IContentField<TSharedRadius>;
|
|
1057
1069
|
web_progress_auto_contrast?: IContentField<string>;
|
|
1058
1070
|
}
|
|
1059
1071
|
interface IProgressSectionStyle extends IBaseStyle {
|
|
1060
1072
|
style_name: 'progress-section';
|
|
1061
1073
|
value?: IContentField<string>;
|
|
1062
|
-
|
|
1074
|
+
color?: IContentField<TMantineColor>;
|
|
1063
1075
|
web_progress_striped?: IContentField<string>;
|
|
1064
1076
|
web_progress_animated?: IContentField<string>;
|
|
1065
1077
|
label?: IContentField<string>;
|
|
@@ -1074,6 +1086,10 @@ interface IShowUserInputEntry {
|
|
|
1074
1086
|
}
|
|
1075
1087
|
interface IShowUserInputStyle extends IBaseStyle {
|
|
1076
1088
|
style_name: 'show-user-input';
|
|
1089
|
+
/** Optional auto-styled heading rendered above the entries when set. */
|
|
1090
|
+
title?: IContentField<string>;
|
|
1091
|
+
/** Message shown when there are no entries to display (default "No entries found."). */
|
|
1092
|
+
empty_text?: IContentField<string>;
|
|
1077
1093
|
/** Source data table the form entries are read from (backend data binding). */
|
|
1078
1094
|
data_table?: IContentField<string>;
|
|
1079
1095
|
own_entries_only?: IContentField<string>;
|
|
@@ -1089,7 +1105,7 @@ interface IShowUserInputStyle extends IBaseStyle {
|
|
|
1089
1105
|
fields_map?: IContentField<string>;
|
|
1090
1106
|
delete_modal_title?: IContentField<string>;
|
|
1091
1107
|
delete_modal_body?: IContentField<string>;
|
|
1092
|
-
|
|
1108
|
+
spacing?: IContentField<string>;
|
|
1093
1109
|
web_table_striped?: IContentField<string>;
|
|
1094
1110
|
web_table_highlight_on_hover?: IContentField<string>;
|
|
1095
1111
|
web_table_with_table_border?: IContentField<string>;
|
|
@@ -1111,15 +1127,15 @@ type TMantineListWithPadding = '0' | '1';
|
|
|
1111
1127
|
type TMantineListCenter = '0' | '1';
|
|
1112
1128
|
interface IAccordionStyle extends IStyleWithSpacing {
|
|
1113
1129
|
style_name: 'accordion';
|
|
1114
|
-
|
|
1115
|
-
|
|
1130
|
+
accordion_variant?: IContentField<TMantineAccordionVariant>;
|
|
1131
|
+
multiple?: IContentField<TMantineAccordionMultiple>;
|
|
1116
1132
|
web_accordion_chevron_position?: IContentField<TMantineAccordionChevronPosition>;
|
|
1117
1133
|
web_accordion_chevron_size?: IContentField<string>;
|
|
1118
1134
|
web_accordion_disable_chevron_rotation?: IContentField<TMantineAccordionDisableChevronRotation>;
|
|
1119
1135
|
web_accordion_loop?: IContentField<TMantineAccordionLoop>;
|
|
1120
1136
|
web_accordion_transition_duration?: IContentField<string>;
|
|
1121
1137
|
web_accordion_default_value?: IContentField<string>;
|
|
1122
|
-
|
|
1138
|
+
radius?: IContentField<TSharedRadius>;
|
|
1123
1139
|
}
|
|
1124
1140
|
interface IAccordionItemStyle extends IStyleWithSpacing {
|
|
1125
1141
|
style_name: 'accordion-item';
|
|
@@ -1134,7 +1150,7 @@ interface ITabsStyle extends IStyleWithSpacing {
|
|
|
1134
1150
|
web_tabs_variant?: IContentField<TMantineTabsVariant>;
|
|
1135
1151
|
web_tabs_orientation?: IContentField<TMantineOrientation>;
|
|
1136
1152
|
web_tabs_radius?: IContentField<TMantineRadius>;
|
|
1137
|
-
|
|
1153
|
+
color?: IContentField<TMantineColor>;
|
|
1138
1154
|
web_tabs_grow?: IContentField<string>;
|
|
1139
1155
|
web_tabs_justify?: IContentField<string>;
|
|
1140
1156
|
web_tabs_keep_mounted?: IContentField<string>;
|
|
@@ -1158,7 +1174,7 @@ interface ITimelineStyle extends IStyleWithSpacing {
|
|
|
1158
1174
|
web_timeline_active?: IContentField<string>;
|
|
1159
1175
|
web_timeline_align?: IContentField<TMantineTimelineAlign>;
|
|
1160
1176
|
web_timeline_line_variant?: IContentField<TMantineTimelineLineVariant>;
|
|
1161
|
-
|
|
1177
|
+
color?: IContentField<TMantineColor>;
|
|
1162
1178
|
}
|
|
1163
1179
|
/**
|
|
1164
1180
|
* A single entry inside a `timeline`. Child-only style; placement is enforced
|
|
@@ -1169,13 +1185,13 @@ interface ITimelineItemStyle extends IBaseStyle {
|
|
|
1169
1185
|
title?: IContentField<string>;
|
|
1170
1186
|
web_timeline_item_bullet?: IContentField<string>;
|
|
1171
1187
|
web_timeline_item_line_variant?: IContentField<TMantineTimelineLineVariant>;
|
|
1172
|
-
|
|
1188
|
+
color?: IContentField<TMantineColor>;
|
|
1173
1189
|
}
|
|
1174
1190
|
interface IListStyle extends IStyleWithSpacing {
|
|
1175
1191
|
style_name: 'list';
|
|
1176
1192
|
web_list_type?: IContentField<TMantineListType>;
|
|
1177
1193
|
web_spacing?: IContentField<TMantineSpacing>;
|
|
1178
|
-
|
|
1194
|
+
size?: IContentField<TSharedSize>;
|
|
1179
1195
|
web_list_list_style_type?: IContentField<TMantineListStyleType>;
|
|
1180
1196
|
web_list_with_padding?: IContentField<TMantineListWithPadding>;
|
|
1181
1197
|
web_list_center?: IContentField<TMantineListCenter>;
|
|
@@ -1208,10 +1224,10 @@ interface INoAccessStyle extends IStyleWithSpacing {
|
|
|
1208
1224
|
button_label?: IContentField<string>;
|
|
1209
1225
|
login_label?: IContentField<string>;
|
|
1210
1226
|
show_login?: IContentField<string>;
|
|
1211
|
-
|
|
1212
|
-
|
|
1227
|
+
color?: IContentField<string>;
|
|
1228
|
+
radius?: IContentField<TSharedRadius>;
|
|
1213
1229
|
web_shadow?: IContentField<string>;
|
|
1214
|
-
|
|
1230
|
+
variant?: IContentField<string>;
|
|
1215
1231
|
show_icon?: IContentField<string>;
|
|
1216
1232
|
}
|
|
1217
1233
|
interface INotFoundStyle extends IStyleWithSpacing {
|
|
@@ -1220,10 +1236,10 @@ interface INotFoundStyle extends IStyleWithSpacing {
|
|
|
1220
1236
|
message?: IContentField<string>;
|
|
1221
1237
|
button_label?: IContentField<string>;
|
|
1222
1238
|
login_label?: IContentField<string>;
|
|
1223
|
-
|
|
1224
|
-
|
|
1239
|
+
color?: IContentField<string>;
|
|
1240
|
+
radius?: IContentField<TSharedRadius>;
|
|
1225
1241
|
web_shadow?: IContentField<string>;
|
|
1226
|
-
|
|
1242
|
+
variant?: IContentField<string>;
|
|
1227
1243
|
show_icon?: IContentField<string>;
|
|
1228
1244
|
}
|
|
1229
1245
|
interface IMissingStyle extends IStyleWithSpacing {
|
|
@@ -1231,10 +1247,10 @@ interface IMissingStyle extends IStyleWithSpacing {
|
|
|
1231
1247
|
title?: IContentField<string>;
|
|
1232
1248
|
message?: IContentField<string>;
|
|
1233
1249
|
button_label?: IContentField<string>;
|
|
1234
|
-
|
|
1235
|
-
|
|
1250
|
+
color?: IContentField<string>;
|
|
1251
|
+
radius?: IContentField<TSharedRadius>;
|
|
1236
1252
|
web_shadow?: IContentField<string>;
|
|
1237
|
-
|
|
1253
|
+
variant?: IContentField<string>;
|
|
1238
1254
|
show_icon?: IContentField<string>;
|
|
1239
1255
|
}
|
|
1240
1256
|
/**
|
|
@@ -1340,8 +1356,8 @@ interface IBaseStyle {
|
|
|
1340
1356
|
}
|
|
1341
1357
|
/** Styles that support the unified spacing field. */
|
|
1342
1358
|
interface IStyleWithSpacing extends IBaseStyle {
|
|
1343
|
-
/** Portable box-model spacing (margin + padding). Backend field `
|
|
1344
|
-
|
|
1359
|
+
/** Portable box-model spacing (margin + padding). Backend field `spacing`; RF-15 merged the legacy margin-only `web_spacing_margin` into this, so every spacing-capable style now uses it. */
|
|
1360
|
+
spacing?: IContentField<string>;
|
|
1345
1361
|
}
|
|
1346
1362
|
|
|
1347
1363
|
/**
|
|
@@ -1773,7 +1789,7 @@ declare const BASE_STYLE_REGISTRY: {
|
|
|
1773
1789
|
readonly canHaveChildren: false;
|
|
1774
1790
|
};
|
|
1775
1791
|
readonly 'rich-text-editor': {
|
|
1776
|
-
readonly description: "Tiptap editor on web;
|
|
1792
|
+
readonly description: "Tiptap editor on web; native inline-format toolbar editor on mobile";
|
|
1777
1793
|
readonly category: "forms";
|
|
1778
1794
|
readonly frontendOnly: true;
|
|
1779
1795
|
readonly canHaveChildren: false;
|
|
@@ -2321,7 +2337,7 @@ declare const STYLE_REGISTRY: {
|
|
|
2321
2337
|
readonly canHaveChildren: false;
|
|
2322
2338
|
};
|
|
2323
2339
|
readonly 'rich-text-editor': {
|
|
2324
|
-
readonly description: "Tiptap editor on web;
|
|
2340
|
+
readonly description: "Tiptap editor on web; native inline-format toolbar editor on mobile";
|
|
2325
2341
|
readonly category: "forms";
|
|
2326
2342
|
readonly frontendOnly: true;
|
|
2327
2343
|
readonly canHaveChildren: false;
|