@selfhelp/shared 1.8.0 → 1.10.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.
- package/CHANGELOG.md +48 -0
- package/dist/{common-B96dASgu.d.mts → common-CJSHQL1E.d.mts} +13 -1
- package/dist/{common-B96dASgu.d.ts → common-CJSHQL1E.d.ts} +13 -1
- package/dist/index.d.mts +7 -44
- package/dist/index.d.ts +7 -44
- package/dist/index.js +395 -8
- package/dist/index.mjs +371 -8
- package/dist/plugin-sdk/index.d.mts +2 -2
- package/dist/plugin-sdk/index.d.ts +2 -2
- package/dist/plugin-sdk/index.js +10 -1
- package/dist/plugin-sdk/index.mjs +10 -1
- package/dist/registry/index.d.mts +42 -4
- package/dist/registry/index.d.ts +42 -4
- package/dist/registry/index.js +56 -3
- package/dist/registry/index.mjs +48 -2
- package/dist/{styles.registry-ClluRYkN.d.ts → styles.registry-BV1iF7k-.d.ts} +678 -461
- package/dist/{styles.registry-nl8uzvMN.d.mts → styles.registry-DkoT-FmN.d.mts} +678 -461
- package/dist/theme/index.d.mts +225 -4
- package/dist/theme/index.d.ts +225 -4
- package/dist/theme/index.js +343 -9
- package/dist/theme/index.mjs +325 -8
- package/dist/theme/tailwind.d.mts +2 -2
- package/dist/theme/tailwind.d.ts +2 -2
- package/package.json +1 -1
- package/src/registry/__tests__/platform.test.ts +187 -0
- package/src/registry/index.ts +73 -0
- package/src/registry/styles.registry.ts +60 -0
- package/src/theme/__tests__/mantineVariant.test.ts +87 -0
- package/src/theme/__tests__/semantic.test.ts +231 -0
- package/src/theme/index.ts +2 -0
- package/src/theme/mantineVariant.ts +145 -0
- package/src/theme/semantic.ts +472 -0
- package/src/theme/tailwind.ts +2 -2
- package/src/theme/tokens.ts +2 -2
- package/src/types/mantine/common.ts +13 -0
- package/src/types/styles/auth.ts +11 -11
- package/src/types/styles/base.ts +4 -4
- package/src/types/styles/composite.ts +59 -45
- package/src/types/styles/error.ts +24 -13
- package/src/types/styles/forms.ts +184 -184
- package/src/types/styles/interactive.ts +81 -76
- package/src/types/styles/layout.ts +103 -85
- package/src/types/styles/media.ts +20 -20
- package/src/types/styles/typography.ts +39 -39
- package/src/types/styles/unknown.ts +20 -2
- package/src/utils/spacing.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TMantineRadius, a as
|
|
1
|
+
import { T as TMantineRadius, a as TSharedSize, b as TMantineSpacing, c as TMantineJustify, d as TMantineAlign, e as TMantineDirection, f as TMantineWrap, g as TMantineGridSpan, h as TMantineOrientation, i as TMantineColor, j as TSharedRadius, k as TMantineTitleOrder, l as TMantineSize, m as TMantineFieldsetVariant, n as TMantineSpoilerMaxHeight, o as TMantineVariant, p as TMantineBadgeVariant, q as TMantineAvatarVariant, r as TMantineChipVariant, s as TMantineIndicatorPosition, t as TMantineThemeIconVariant, u as TMantineAccordionVariant, v as TMantineTabsVariant, w as TMantineTimelineLineVariant } from './common-CJSHQL1E.mjs';
|
|
2
2
|
|
|
3
3
|
interface ILoginStyle extends IStyleWithSpacing {
|
|
4
4
|
style_name: 'login';
|
|
@@ -55,17 +55,17 @@ interface IValidateStyle extends IStyleWithSpacing {
|
|
|
55
55
|
label_save?: IContentField<string>;
|
|
56
56
|
label_update?: IContentField<string>;
|
|
57
57
|
label_cancel?: IContentField<string>;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
58
|
+
web_buttons_size?: IContentField<string>;
|
|
59
|
+
web_buttons_radius?: IContentField<string>;
|
|
60
|
+
web_buttons_variant?: IContentField<string>;
|
|
61
|
+
web_buttons_position?: IContentField<string>;
|
|
62
|
+
web_buttons_order?: IContentField<string>;
|
|
63
|
+
web_btn_save_color?: IContentField<string>;
|
|
64
|
+
web_btn_cancel_color?: IContentField<string>;
|
|
65
|
+
web_card_shadow?: IContentField<string>;
|
|
66
|
+
web_card_padding?: IContentField<string>;
|
|
67
|
+
shared_radius?: IContentField<TMantineRadius>;
|
|
68
|
+
web_border?: IContentField<string>;
|
|
69
69
|
/** Activation lifecycle status text (shown after the registration email). */
|
|
70
70
|
loading_title?: IContentField<string>;
|
|
71
71
|
loading_text?: IContentField<string>;
|
|
@@ -198,139 +198,155 @@ type TMantineScrollAreaSize = string;
|
|
|
198
198
|
type TMantineScrollAreaType = 'hover' | 'always' | 'never' | 'scroll';
|
|
199
199
|
interface IContainerStyle extends IStyleWithSpacing {
|
|
200
200
|
style_name: 'container';
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
201
|
+
shared_size?: IContentField<TSharedSize>;
|
|
202
|
+
web_fluid?: IContentField<string>;
|
|
203
|
+
web_px?: IContentField<TMantineSpacing>;
|
|
204
|
+
web_py?: IContentField<TMantineSpacing>;
|
|
205
|
+
use_web_style?: IContentField<string>;
|
|
206
206
|
}
|
|
207
207
|
interface IBoxStyle extends IStyleWithSpacing {
|
|
208
208
|
style_name: 'box';
|
|
209
209
|
content?: IContentField<string>;
|
|
210
|
-
|
|
210
|
+
use_web_style?: IContentField<string>;
|
|
211
211
|
}
|
|
212
212
|
interface IFlexStyle extends IStyleWithSpacing {
|
|
213
213
|
style_name: 'flex';
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
214
|
+
shared_gap?: IContentField<TMantineGap>;
|
|
215
|
+
shared_justify?: IContentField<TMantineJustify>;
|
|
216
|
+
shared_align?: IContentField<TMantineAlign>;
|
|
217
|
+
shared_direction?: IContentField<TMantineDirection>;
|
|
218
|
+
shared_wrap?: IContentField<TMantineWrap>;
|
|
219
|
+
web_width?: IContentField<TMantineWidth>;
|
|
220
|
+
web_height?: IContentField<TMantineHeight>;
|
|
221
221
|
}
|
|
222
222
|
interface IGroupStyle extends IStyleWithSpacing {
|
|
223
223
|
style_name: 'group';
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
224
|
+
shared_gap?: IContentField<TMantineGap>;
|
|
225
|
+
shared_justify?: IContentField<TMantineJustify>;
|
|
226
|
+
shared_align?: IContentField<TMantineAlign>;
|
|
227
|
+
web_group_wrap?: IContentField<'0' | '1'>;
|
|
228
|
+
web_group_grow?: IContentField<'0' | '1'>;
|
|
229
|
+
web_width?: IContentField<TMantineWidth>;
|
|
230
|
+
web_height?: IContentField<TMantineHeight>;
|
|
231
231
|
}
|
|
232
232
|
interface IStackStyle extends IStyleWithSpacing {
|
|
233
233
|
style_name: 'stack';
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
234
|
+
shared_gap?: IContentField<TMantineGap>;
|
|
235
|
+
shared_justify?: IContentField<TMantineJustify>;
|
|
236
|
+
shared_align?: IContentField<TMantineAlign>;
|
|
237
|
+
web_width?: IContentField<TMantineWidth>;
|
|
238
|
+
web_height?: IContentField<TMantineHeight>;
|
|
239
239
|
}
|
|
240
240
|
interface ISimpleGridStyle extends IStyleWithSpacing {
|
|
241
241
|
style_name: 'simple-grid';
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
242
|
+
web_cols?: IContentField<TMantineCols>;
|
|
243
|
+
web_spacing?: IContentField<TMantineSpacing>;
|
|
244
|
+
web_breakpoints?: IContentField<string>;
|
|
245
|
+
web_vertical_spacing?: IContentField<TMantineSpacing>;
|
|
246
|
+
web_width?: IContentField<TMantineWidth>;
|
|
247
|
+
web_height?: IContentField<TMantineHeight>;
|
|
248
248
|
}
|
|
249
249
|
interface IGridStyle extends IStyleWithSpacing {
|
|
250
250
|
style_name: 'grid';
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
251
|
+
web_cols?: IContentField<TMantineCols>;
|
|
252
|
+
shared_gap?: IContentField<TMantineGap>;
|
|
253
|
+
shared_justify?: IContentField<TMantineJustify>;
|
|
254
|
+
shared_align?: IContentField<TMantineAlign>;
|
|
255
|
+
web_grid_overflow?: IContentField<string>;
|
|
256
|
+
web_width?: IContentField<TMantineWidth>;
|
|
257
|
+
web_height?: IContentField<TMantineHeight>;
|
|
258
|
+
use_web_style?: IContentField<string>;
|
|
259
259
|
}
|
|
260
260
|
interface IGridColumnStyle extends IStyleWithSpacing {
|
|
261
261
|
style_name: 'grid-column';
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
262
|
+
web_grid_span?: IContentField<TMantineGridSpan>;
|
|
263
|
+
web_grid_offset?: IContentField<TMantineGridOffset>;
|
|
264
|
+
web_grid_order?: IContentField<TMantineGridOrder>;
|
|
265
|
+
web_grid_grow?: IContentField<string>;
|
|
266
|
+
web_width?: IContentField<TMantineWidth>;
|
|
267
|
+
web_height?: IContentField<TMantineHeight>;
|
|
268
|
+
use_web_style?: IContentField<string>;
|
|
269
269
|
}
|
|
270
270
|
interface ISpaceStyle extends IStyleWithSpacing {
|
|
271
271
|
style_name: 'space';
|
|
272
|
-
|
|
273
|
-
|
|
272
|
+
shared_size?: IContentField<TSharedSize>;
|
|
273
|
+
web_space_direction?: IContentField<string>;
|
|
274
274
|
}
|
|
275
275
|
interface IDividerStyle extends IBaseStyle {
|
|
276
276
|
style_name: 'divider';
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
277
|
+
web_divider_variant?: IContentField<TMantineDividerVariant>;
|
|
278
|
+
shared_size?: IContentField<TSharedSize>;
|
|
279
|
+
web_divider_label?: IContentField<string>;
|
|
280
|
+
web_divider_label_position?: IContentField<string>;
|
|
281
|
+
shared_orientation?: IContentField<TMantineOrientation>;
|
|
282
|
+
web_color?: IContentField<TMantineColor>;
|
|
283
|
+
use_web_style?: IContentField<string>;
|
|
284
284
|
}
|
|
285
285
|
interface IPaperStyle extends IStyleWithSpacing {
|
|
286
286
|
style_name: 'paper';
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
287
|
+
web_paper_shadow?: IContentField<TMantinePaperShadow>;
|
|
288
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
289
|
+
web_px?: IContentField<TMantineSpacing>;
|
|
290
|
+
web_py?: IContentField<TMantineSpacing>;
|
|
291
|
+
web_border?: IContentField<TMantineBorder>;
|
|
292
|
+
use_web_style?: IContentField<string>;
|
|
293
293
|
}
|
|
294
294
|
interface ICenterStyle extends IBaseStyle {
|
|
295
295
|
style_name: 'center';
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
296
|
+
web_center_inline?: IContentField<string>;
|
|
297
|
+
web_width?: IContentField<TMantineWidth>;
|
|
298
|
+
web_height?: IContentField<TMantineHeight>;
|
|
299
|
+
web_miw?: IContentField<TMantineWidth>;
|
|
300
|
+
web_mih?: IContentField<TMantineHeight>;
|
|
301
|
+
web_maw?: IContentField<TMantineWidth>;
|
|
302
|
+
web_mah?: IContentField<TMantineHeight>;
|
|
303
303
|
}
|
|
304
304
|
interface IScrollAreaStyle extends IStyleWithSpacing {
|
|
305
305
|
style_name: 'scroll-area';
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
306
|
+
web_scroll_area_scrollbar_size?: IContentField<TMantineScrollAreaSize>;
|
|
307
|
+
web_scroll_area_type?: IContentField<TMantineScrollAreaType>;
|
|
308
|
+
web_scroll_area_offset_scrollbars?: IContentField<string>;
|
|
309
|
+
web_scroll_area_scroll_hide_delay?: IContentField<string>;
|
|
310
|
+
web_height?: IContentField<TMantineHeight>;
|
|
311
|
+
web_width?: IContentField<TMantineWidth>;
|
|
312
312
|
}
|
|
313
313
|
interface ICardStyle extends IStyleWithSpacing {
|
|
314
314
|
style_name: 'card';
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
315
|
+
web_card_shadow?: IContentField<TMantineCardShadow>;
|
|
316
|
+
web_border?: IContentField<TMantineBorder>;
|
|
317
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
318
|
+
use_web_style?: IContentField<string>;
|
|
319
319
|
}
|
|
320
320
|
interface ICardSegmentStyle extends IStyleWithSpacing {
|
|
321
321
|
style_name: 'card-segment';
|
|
322
|
-
|
|
322
|
+
use_web_style?: IContentField<string>;
|
|
323
323
|
}
|
|
324
324
|
interface IAspectRatioStyle extends IBaseStyle {
|
|
325
325
|
style_name: 'aspect-ratio';
|
|
326
|
-
|
|
327
|
-
|
|
326
|
+
web_aspect_ratio?: IContentField<string>;
|
|
327
|
+
use_web_style?: IContentField<string>;
|
|
328
328
|
}
|
|
329
329
|
interface IBackgroundImageStyle extends IStyleWithSpacing {
|
|
330
330
|
style_name: 'background-image';
|
|
331
331
|
img_src?: IContentField<string>;
|
|
332
|
-
|
|
333
|
-
|
|
332
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
333
|
+
use_web_style?: IContentField<string>;
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* Renders content referenced from another section. Has no own fields; the
|
|
337
|
+
* referenced subtree arrives as `children`. Renderers must reuse the normal
|
|
338
|
+
* recursive section renderer (no second renderer).
|
|
339
|
+
*/
|
|
340
|
+
interface IRefContainerStyle extends IBaseStyle {
|
|
341
|
+
style_name: 'ref-container';
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* A data-scoped container. `scope` selects the backend data context that the
|
|
345
|
+
* subtree is rendered against (mirrors backend `data-container`).
|
|
346
|
+
*/
|
|
347
|
+
interface IDataContainerStyle extends IBaseStyle {
|
|
348
|
+
style_name: 'data-container';
|
|
349
|
+
scope?: IContentField<string>;
|
|
334
350
|
}
|
|
335
351
|
|
|
336
352
|
type TMantineTitleTextWrap = 'wrap' | 'balance' | 'nowrap';
|
|
@@ -349,52 +365,52 @@ type TMantineIconSize = string;
|
|
|
349
365
|
interface ITitleStyle extends IStyleWithSpacing {
|
|
350
366
|
style_name: 'title';
|
|
351
367
|
content?: IContentField<string>;
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
368
|
+
web_title_order?: IContentField<TMantineTitleOrder>;
|
|
369
|
+
shared_size?: IContentField<TMantineSize>;
|
|
370
|
+
web_title_text_wrap?: IContentField<TMantineTitleTextWrap>;
|
|
371
|
+
web_title_line_clamp?: IContentField<TMantineTitleLineClamp>;
|
|
372
|
+
use_web_style?: IContentField<string>;
|
|
357
373
|
}
|
|
358
374
|
interface ITextStyle extends IStyleWithSpacing {
|
|
359
375
|
style_name: 'text';
|
|
360
376
|
text?: IContentField<string>;
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
377
|
+
shared_size?: IContentField<TMantineSize>;
|
|
378
|
+
web_color?: IContentField<TMantineColor>;
|
|
379
|
+
web_text_font_weight?: IContentField<TMantineTextFontWeight>;
|
|
380
|
+
web_text_font_style?: IContentField<TMantineTextFontStyle>;
|
|
381
|
+
web_text_text_decoration?: IContentField<TMantineTextDecoration>;
|
|
382
|
+
web_text_text_transform?: IContentField<TMantineTextTransform>;
|
|
383
|
+
shared_text_align?: IContentField<TMantineTextAlign>;
|
|
384
|
+
web_text_variant?: IContentField<TMantineTextVariant>;
|
|
385
|
+
web_text_gradient?: IContentField<string>;
|
|
386
|
+
web_text_truncate?: IContentField<TMantineTextTruncate>;
|
|
387
|
+
web_text_line_clamp?: IContentField<TMantineLineClamp>;
|
|
388
|
+
web_text_inherit?: IContentField<TMantineTextInherit>;
|
|
389
|
+
web_text_span?: IContentField<TMantineTextSpan>;
|
|
390
|
+
use_web_style?: IContentField<string>;
|
|
375
391
|
}
|
|
376
392
|
interface ICodeStyle extends IStyleWithSpacing {
|
|
377
393
|
style_name: 'code';
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
394
|
+
web_code_block?: IContentField<string>;
|
|
395
|
+
web_color?: IContentField<TMantineColor>;
|
|
396
|
+
use_web_style?: IContentField<string>;
|
|
381
397
|
content?: IContentField<string>;
|
|
382
398
|
}
|
|
383
399
|
interface IHighlightStyle extends IStyleWithSpacing {
|
|
384
400
|
style_name: 'highlight';
|
|
385
401
|
text?: IContentField<string>;
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
402
|
+
web_highlight_highlight?: IContentField<string>;
|
|
403
|
+
web_color?: IContentField<TMantineColor>;
|
|
404
|
+
use_web_style?: IContentField<string>;
|
|
389
405
|
}
|
|
390
406
|
interface IBlockquoteStyle extends IStyleWithSpacing {
|
|
391
407
|
style_name: 'blockquote';
|
|
392
408
|
content?: IContentField<string>;
|
|
393
409
|
cite?: IContentField<string>;
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
410
|
+
web_left_icon?: IContentField<string>;
|
|
411
|
+
web_icon_size?: IContentField<TMantineIconSize>;
|
|
412
|
+
web_color?: IContentField<TMantineColor>;
|
|
413
|
+
use_web_style?: IContentField<string>;
|
|
398
414
|
}
|
|
399
415
|
interface IHtmlTagStyle extends IBaseStyle {
|
|
400
416
|
style_name: 'html-tag';
|
|
@@ -404,28 +420,28 @@ interface IHtmlTagStyle extends IBaseStyle {
|
|
|
404
420
|
interface IKbdStyle extends IStyleWithSpacing {
|
|
405
421
|
style_name: 'kbd';
|
|
406
422
|
label?: IContentField<string>;
|
|
407
|
-
|
|
408
|
-
|
|
423
|
+
shared_size?: IContentField<TMantineSize>;
|
|
424
|
+
use_web_style?: IContentField<string>;
|
|
409
425
|
}
|
|
410
426
|
interface ITypographyStyle extends IStyleWithSpacing {
|
|
411
427
|
style_name: 'typography';
|
|
412
|
-
|
|
428
|
+
use_web_style?: IContentField<string>;
|
|
413
429
|
}
|
|
414
430
|
interface IFieldsetStyle extends IStyleWithSpacing {
|
|
415
431
|
style_name: 'fieldset';
|
|
416
432
|
label?: IContentField<string>;
|
|
417
433
|
legend?: IContentField<string>;
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
434
|
+
web_fieldset_variant?: IContentField<TMantineFieldsetVariant>;
|
|
435
|
+
shared_radius?: IContentField<TMantineRadius>;
|
|
436
|
+
use_web_style?: IContentField<string>;
|
|
421
437
|
disabled?: IContentField<string>;
|
|
422
438
|
}
|
|
423
439
|
interface ISpoilerStyle extends IStyleWithSpacing {
|
|
424
440
|
style_name: 'spoiler';
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
441
|
+
web_height?: IContentField<TMantineSpoilerMaxHeight>;
|
|
442
|
+
web_spoiler_show_label?: IContentField<string>;
|
|
443
|
+
web_spoiler_hide_label?: IContentField<string>;
|
|
444
|
+
use_web_style?: IContentField<string>;
|
|
429
445
|
}
|
|
430
446
|
|
|
431
447
|
type TMantineImageFit = 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
|
|
@@ -437,11 +453,11 @@ interface IImageStyle extends IStyleWithSpacing {
|
|
|
437
453
|
img_src?: IContentField<string>;
|
|
438
454
|
height?: IContentField<string>;
|
|
439
455
|
width?: IContentField<string>;
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
456
|
+
web_image_fit?: IContentField<TMantineImageFit>;
|
|
457
|
+
web_width?: IContentField<TMantineWidth>;
|
|
458
|
+
web_height?: IContentField<TMantineHeight>;
|
|
459
|
+
shared_radius?: IContentField<TMantineRadius>;
|
|
460
|
+
use_web_style?: IContentField<string>;
|
|
445
461
|
}
|
|
446
462
|
interface IVideoStyle extends IBaseStyle {
|
|
447
463
|
style_name: 'video';
|
|
@@ -465,38 +481,38 @@ interface ICarouselStyle extends IStyleWithSpacing {
|
|
|
465
481
|
has_indicators?: IContentField<string>;
|
|
466
482
|
has_crossfade?: IContentField<string>;
|
|
467
483
|
sources?: IContentField<unknown[]>;
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
484
|
+
web_height?: IContentField<string>;
|
|
485
|
+
web_carousel_slide_size?: IContentField<string>;
|
|
486
|
+
web_carousel_slide_gap?: IContentField<string>;
|
|
487
|
+
shared_orientation?: IContentField<string>;
|
|
488
|
+
web_control_size?: IContentField<string>;
|
|
489
|
+
web_carousel_controls_offset?: IContentField<string>;
|
|
490
|
+
web_carousel_next_control_icon?: IContentField<string>;
|
|
491
|
+
web_carousel_previous_control_icon?: IContentField<string>;
|
|
492
|
+
web_loop?: IContentField<string>;
|
|
477
493
|
drag_free?: IContentField<string>;
|
|
478
|
-
|
|
479
|
-
|
|
494
|
+
web_carousel_align?: IContentField<string>;
|
|
495
|
+
web_carousel_contain_scroll?: IContentField<string>;
|
|
480
496
|
skip_snaps?: IContentField<string>;
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
497
|
+
web_carousel_in_view_threshold?: IContentField<string>;
|
|
498
|
+
web_carousel_duration?: IContentField<string>;
|
|
499
|
+
web_carousel_embla_options?: IContentField<string>;
|
|
500
|
+
use_web_style?: IContentField<string>;
|
|
485
501
|
}
|
|
486
502
|
|
|
487
503
|
interface IButtonStyle extends IStyleWithSpacing {
|
|
488
504
|
style_name: 'button';
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
505
|
+
web_variant?: IContentField<TMantineVariant>;
|
|
506
|
+
web_color?: IContentField<TMantineColor>;
|
|
507
|
+
shared_size?: IContentField<TSharedSize>;
|
|
508
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
509
|
+
web_left_icon?: IContentField<string>;
|
|
510
|
+
web_right_icon?: IContentField<string>;
|
|
511
|
+
shared_full_width?: IContentField<string>;
|
|
512
|
+
web_compact?: IContentField<string>;
|
|
513
|
+
web_auto_contrast?: IContentField<string>;
|
|
498
514
|
is_link?: IContentField<string>;
|
|
499
|
-
|
|
515
|
+
use_web_style?: IContentField<string>;
|
|
500
516
|
disabled?: IContentField<string>;
|
|
501
517
|
open_in_new_tab?: IContentField<string>;
|
|
502
518
|
page_keyword?: IContentField<string>;
|
|
@@ -515,112 +531,112 @@ interface ILinkStyle extends IStyleWithSpacing {
|
|
|
515
531
|
}
|
|
516
532
|
interface IActionIconStyle extends IStyleWithSpacing {
|
|
517
533
|
style_name: 'action-icon';
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
534
|
+
web_variant?: IContentField<TMantineVariant>;
|
|
535
|
+
web_action_icon_loading?: IContentField<string>;
|
|
536
|
+
shared_size?: IContentField<TSharedSize>;
|
|
537
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
538
|
+
web_color?: IContentField<TMantineColor>;
|
|
539
|
+
web_left_icon?: IContentField<string>;
|
|
524
540
|
is_link?: IContentField<string>;
|
|
525
541
|
page_keyword?: IContentField<string>;
|
|
526
542
|
open_in_new_tab?: IContentField<string>;
|
|
527
543
|
disabled?: IContentField<string>;
|
|
528
|
-
|
|
544
|
+
use_web_style?: IContentField<string>;
|
|
529
545
|
}
|
|
530
546
|
interface IAlertStyle extends IStyleWithSpacing {
|
|
531
547
|
style_name: 'alert';
|
|
532
|
-
|
|
548
|
+
web_alert_title?: IContentField<string>;
|
|
533
549
|
close_button_label?: IContentField<string>;
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
550
|
+
web_variant?: IContentField<TMantineVariant>;
|
|
551
|
+
web_color?: IContentField<TMantineColor>;
|
|
552
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
553
|
+
web_left_icon?: IContentField<string>;
|
|
554
|
+
web_with_close_button?: IContentField<string>;
|
|
539
555
|
content?: IContentField<string>;
|
|
540
|
-
|
|
556
|
+
use_web_style?: IContentField<string>;
|
|
541
557
|
}
|
|
542
558
|
interface IBadgeStyle extends IStyleWithSpacing {
|
|
543
559
|
style_name: 'badge';
|
|
544
560
|
label?: IContentField<string>;
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
561
|
+
web_variant?: IContentField<TMantineBadgeVariant>;
|
|
562
|
+
shared_size?: IContentField<TSharedSize>;
|
|
563
|
+
web_left_icon?: IContentField<string>;
|
|
564
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
565
|
+
web_color?: IContentField<TMantineColor>;
|
|
566
|
+
use_web_style?: IContentField<string>;
|
|
567
|
+
web_right_icon?: IContentField<string>;
|
|
568
|
+
web_auto_contrast?: IContentField<string>;
|
|
553
569
|
}
|
|
554
570
|
interface IAvatarStyle extends IStyleWithSpacing {
|
|
555
571
|
style_name: 'avatar';
|
|
556
572
|
alt?: IContentField<string>;
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
573
|
+
web_avatar_variant?: IContentField<TMantineAvatarVariant>;
|
|
574
|
+
shared_size?: IContentField<TSharedSize>;
|
|
575
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
576
|
+
web_color?: IContentField<TMantineColor>;
|
|
577
|
+
use_web_style?: IContentField<string>;
|
|
578
|
+
web_left_icon?: IContentField<string>;
|
|
579
|
+
web_avatar_initials?: IContentField<string>;
|
|
564
580
|
img_src?: IContentField<string>;
|
|
565
581
|
}
|
|
566
582
|
interface IChipStyle extends IStyleWithSpacing {
|
|
567
583
|
style_name: 'chip';
|
|
568
584
|
label?: IContentField<string>;
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
585
|
+
web_chip_variant?: IContentField<TMantineChipVariant>;
|
|
586
|
+
shared_size?: IContentField<TSharedSize>;
|
|
587
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
588
|
+
web_color?: IContentField<TMantineColor>;
|
|
589
|
+
web_chip_checked?: IContentField<string>;
|
|
590
|
+
web_chip_multiple?: IContentField<string>;
|
|
575
591
|
disabled?: IContentField<string>;
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
592
|
+
use_web_style?: IContentField<string>;
|
|
593
|
+
web_left_icon?: IContentField<string>;
|
|
594
|
+
web_icon_size?: IContentField<TMantineIconSize>;
|
|
579
595
|
name?: IContentField<string>;
|
|
580
596
|
value?: IContentField<string>;
|
|
581
|
-
|
|
582
|
-
|
|
597
|
+
web_chip_on_value?: IContentField<string>;
|
|
598
|
+
web_chip_off_value?: IContentField<string>;
|
|
583
599
|
is_required?: IContentField<string>;
|
|
584
600
|
tooltip?: IContentField<string>;
|
|
585
|
-
|
|
601
|
+
web_tooltip_position?: IContentField<string>;
|
|
586
602
|
chip_on_value?: IContentField<string>;
|
|
587
603
|
chip_off_value?: IContentField<string>;
|
|
588
604
|
chip_checked?: IContentField<string>;
|
|
589
605
|
}
|
|
590
606
|
interface IIndicatorStyle extends IBaseStyle {
|
|
591
607
|
style_name: 'indicator';
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
608
|
+
web_indicator_processing?: IContentField<string>;
|
|
609
|
+
web_indicator_disabled?: IContentField<string>;
|
|
610
|
+
web_indicator_size?: IContentField<string>;
|
|
611
|
+
web_indicator_position?: IContentField<TMantineIndicatorPosition>;
|
|
596
612
|
label?: IContentField<string>;
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
613
|
+
web_indicator_inline?: IContentField<string>;
|
|
614
|
+
web_indicator_offset?: IContentField<string>;
|
|
615
|
+
web_border?: IContentField<string>;
|
|
616
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
617
|
+
web_color?: IContentField<TMantineColor>;
|
|
618
|
+
use_web_style?: IContentField<string>;
|
|
603
619
|
}
|
|
604
620
|
interface IThemeIconStyle extends IStyleWithSpacing {
|
|
605
621
|
style_name: 'theme-icon';
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
622
|
+
web_variant?: IContentField<TMantineThemeIconVariant>;
|
|
623
|
+
shared_size?: IContentField<TSharedSize>;
|
|
624
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
625
|
+
web_color?: IContentField<TMantineColor>;
|
|
626
|
+
use_web_style?: IContentField<string>;
|
|
627
|
+
web_left_icon?: IContentField<string>;
|
|
612
628
|
}
|
|
613
629
|
interface INotificationStyle extends IStyleWithSpacing {
|
|
614
630
|
style_name: 'notification';
|
|
615
631
|
title?: IContentField<string>;
|
|
616
632
|
content?: IContentField<string>;
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
633
|
+
web_left_icon?: IContentField<string>;
|
|
634
|
+
web_color?: IContentField<TMantineColor>;
|
|
635
|
+
web_notification_loading?: IContentField<string>;
|
|
636
|
+
web_notification_with_close_button?: IContentField<string>;
|
|
637
|
+
web_border?: IContentField<string>;
|
|
638
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
639
|
+
use_web_style?: IContentField<string>;
|
|
624
640
|
}
|
|
625
641
|
|
|
626
642
|
type TMantineTextInputVariant = 'default' | 'filled' | 'unstyled';
|
|
@@ -647,7 +663,7 @@ interface IFormStyle extends IStyleWithSpacing {
|
|
|
647
663
|
btn_cancel_color?: IContentField<string>;
|
|
648
664
|
buttons_variant?: IContentField<string>;
|
|
649
665
|
buttons_position?: IContentField<string>;
|
|
650
|
-
|
|
666
|
+
use_web_style?: IContentField<string>;
|
|
651
667
|
}
|
|
652
668
|
interface IFormLogStyle extends IFormStyle {
|
|
653
669
|
style_name: 'form-log';
|
|
@@ -678,12 +694,12 @@ interface ITextInputStyle extends IStyleWithSpacing {
|
|
|
678
694
|
description?: IContentField<string>;
|
|
679
695
|
is_required?: IContentField<string>;
|
|
680
696
|
disabled?: IContentField<string>;
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
697
|
+
web_left_icon?: IContentField<string>;
|
|
698
|
+
web_right_icon?: IContentField<string>;
|
|
699
|
+
use_web_style?: IContentField<string>;
|
|
700
|
+
shared_size?: IContentField<TSharedSize>;
|
|
701
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
702
|
+
web_text_input_variant?: IContentField<TMantineTextInputVariant>;
|
|
687
703
|
translatable?: IContentField<TMantineTranslatable>;
|
|
688
704
|
}
|
|
689
705
|
interface ITextareaStyle extends IStyleWithSpacing {
|
|
@@ -698,16 +714,16 @@ interface ITextareaStyle extends IStyleWithSpacing {
|
|
|
698
714
|
markdown_editor?: IContentField<string>;
|
|
699
715
|
description?: IContentField<string>;
|
|
700
716
|
disabled?: IContentField<string>;
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
717
|
+
web_left_icon?: IContentField<string>;
|
|
718
|
+
web_right_icon?: IContentField<string>;
|
|
719
|
+
web_textarea_autosize?: IContentField<TMantineTextareaAutosize>;
|
|
720
|
+
web_textarea_min_rows?: IContentField<string>;
|
|
721
|
+
web_textarea_max_rows?: IContentField<string>;
|
|
722
|
+
web_textarea_resize?: IContentField<TMantineTextareaResize>;
|
|
723
|
+
shared_size?: IContentField<TSharedSize>;
|
|
724
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
725
|
+
web_textarea_variant?: IContentField<TMantineTextareaVariant>;
|
|
726
|
+
use_web_style?: IContentField<string>;
|
|
711
727
|
translatable?: IContentField<TMantineTranslatable>;
|
|
712
728
|
}
|
|
713
729
|
interface IRichTextEditorStyle extends IStyleWithSpacing {
|
|
@@ -719,12 +735,12 @@ interface IRichTextEditorStyle extends IStyleWithSpacing {
|
|
|
719
735
|
description?: IContentField<string>;
|
|
720
736
|
is_required?: IContentField<string>;
|
|
721
737
|
disabled?: IContentField<string>;
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
738
|
+
web_rich_text_editor_variant?: IContentField<string>;
|
|
739
|
+
web_rich_text_editor_placeholder?: IContentField<string>;
|
|
740
|
+
web_rich_text_editor_bubble_menu?: IContentField<string>;
|
|
741
|
+
web_rich_text_editor_text_color?: IContentField<string>;
|
|
742
|
+
web_rich_text_editor_task_list?: IContentField<string>;
|
|
743
|
+
use_web_style?: IContentField<string>;
|
|
728
744
|
translatable?: IContentField<TMantineTranslatable>;
|
|
729
745
|
}
|
|
730
746
|
interface ISelectStyle extends IBaseStyle {
|
|
@@ -751,18 +767,18 @@ interface IRadioStyle extends IStyleWithSpacing {
|
|
|
751
767
|
is_required?: IContentField<string>;
|
|
752
768
|
items?: IContentField<unknown[]>;
|
|
753
769
|
is_inline?: IContentField<string>;
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
770
|
+
shared_orientation?: IContentField<string>;
|
|
771
|
+
shared_size?: IContentField<TSharedSize>;
|
|
772
|
+
web_color?: IContentField<TMantineColor>;
|
|
773
|
+
web_radio_options?: IContentField<string>;
|
|
774
|
+
web_radio_label_position?: IContentField<string>;
|
|
775
|
+
web_radio_variant?: IContentField<string>;
|
|
776
|
+
web_radio_card?: IContentField<string>;
|
|
777
|
+
web_tooltip_label?: IContentField<string>;
|
|
778
|
+
web_tooltip_position?: IContentField<string>;
|
|
763
779
|
disabled?: IContentField<string>;
|
|
764
|
-
|
|
765
|
-
|
|
780
|
+
use_web_style?: IContentField<string>;
|
|
781
|
+
web_use_input_wrapper?: IContentField<string>;
|
|
766
782
|
}
|
|
767
783
|
interface ICheckboxStyle extends IStyleWithSpacing {
|
|
768
784
|
style_name: 'checkbox';
|
|
@@ -771,15 +787,15 @@ interface ICheckboxStyle extends IStyleWithSpacing {
|
|
|
771
787
|
value?: IContentField<string>;
|
|
772
788
|
is_required?: IContentField<string>;
|
|
773
789
|
checkbox_value?: IContentField<string>;
|
|
774
|
-
|
|
775
|
-
|
|
790
|
+
web_checkbox_icon?: IContentField<string>;
|
|
791
|
+
web_checkbox_labelPosition?: IContentField<TMantineCheckboxLabelPosition>;
|
|
776
792
|
description?: IContentField<string>;
|
|
777
793
|
disabled?: IContentField<string>;
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
794
|
+
shared_size?: IContentField<TSharedSize>;
|
|
795
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
796
|
+
web_color?: IContentField<TMantineColor>;
|
|
797
|
+
use_web_style?: IContentField<string>;
|
|
798
|
+
web_use_input_wrapper?: IContentField<TMantineUseInputWrapper>;
|
|
783
799
|
}
|
|
784
800
|
interface ISliderStyle extends IStyleWithSpacing {
|
|
785
801
|
style_name: 'slider';
|
|
@@ -787,20 +803,20 @@ interface ISliderStyle extends IStyleWithSpacing {
|
|
|
787
803
|
description?: IContentField<string>;
|
|
788
804
|
name?: IContentField<string>;
|
|
789
805
|
value?: IContentField<string>;
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
806
|
+
web_numeric_min?: IContentField<string>;
|
|
807
|
+
web_numeric_max?: IContentField<string>;
|
|
808
|
+
web_numeric_step?: IContentField<string>;
|
|
809
|
+
shared_size?: IContentField<TSharedSize>;
|
|
810
|
+
web_color?: IContentField<TMantineColor>;
|
|
811
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
796
812
|
disabled?: IContentField<string>;
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
813
|
+
use_web_style?: IContentField<string>;
|
|
814
|
+
web_slider_marks_values?: IContentField<string>;
|
|
815
|
+
web_slider_show_label?: IContentField<string>;
|
|
816
|
+
web_slider_labels_always_on?: IContentField<string>;
|
|
817
|
+
web_slider_inverted?: IContentField<string>;
|
|
818
|
+
web_slider_thumb_size?: IContentField<string>;
|
|
819
|
+
web_slider_required?: IContentField<string>;
|
|
804
820
|
}
|
|
805
821
|
interface IRangeSliderStyle extends IStyleWithSpacing {
|
|
806
822
|
style_name: 'range-slider';
|
|
@@ -808,18 +824,18 @@ interface IRangeSliderStyle extends IStyleWithSpacing {
|
|
|
808
824
|
description?: IContentField<string>;
|
|
809
825
|
name?: IContentField<string>;
|
|
810
826
|
value?: IContentField<string>;
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
827
|
+
web_numeric_min?: IContentField<string>;
|
|
828
|
+
web_numeric_max?: IContentField<string>;
|
|
829
|
+
web_numeric_step?: IContentField<string>;
|
|
830
|
+
web_range_slider_marks_values?: IContentField<string>;
|
|
831
|
+
web_range_slider_show_label?: IContentField<string>;
|
|
832
|
+
web_range_slider_labels_always_on?: IContentField<string>;
|
|
833
|
+
web_range_slider_inverted?: IContentField<string>;
|
|
834
|
+
shared_size?: IContentField<TSharedSize>;
|
|
835
|
+
web_color?: IContentField<TMantineColor>;
|
|
836
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
821
837
|
disabled?: IContentField<string>;
|
|
822
|
-
|
|
838
|
+
use_web_style?: IContentField<string>;
|
|
823
839
|
}
|
|
824
840
|
interface IDatePickerStyle extends IStyleWithSpacing {
|
|
825
841
|
style_name: 'datepicker';
|
|
@@ -829,117 +845,117 @@ interface IDatePickerStyle extends IStyleWithSpacing {
|
|
|
829
845
|
is_required?: IContentField<string>;
|
|
830
846
|
disabled?: IContentField<string>;
|
|
831
847
|
description?: IContentField<string>;
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
848
|
+
web_datepicker_type?: IContentField<string>;
|
|
849
|
+
web_datepicker_format?: IContentField<string>;
|
|
850
|
+
web_datepicker_locale?: IContentField<string>;
|
|
851
|
+
web_datepicker_placeholder?: IContentField<string>;
|
|
852
|
+
web_datepicker_min_date?: IContentField<string>;
|
|
853
|
+
web_datepicker_max_date?: IContentField<string>;
|
|
854
|
+
web_datepicker_first_day_of_week?: IContentField<string>;
|
|
855
|
+
web_datepicker_weekend_days?: IContentField<string>;
|
|
856
|
+
web_datepicker_clearable?: IContentField<string>;
|
|
857
|
+
web_datepicker_allow_deselect?: IContentField<string>;
|
|
858
|
+
web_datepicker_readonly?: IContentField<string>;
|
|
859
|
+
web_datepicker_with_time_grid?: IContentField<string>;
|
|
860
|
+
web_datepicker_consistent_weeks?: IContentField<string>;
|
|
861
|
+
web_datepicker_hide_outside_dates?: IContentField<string>;
|
|
862
|
+
web_datepicker_hide_weekends?: IContentField<string>;
|
|
863
|
+
web_datepicker_time_step?: IContentField<string>;
|
|
864
|
+
web_datepicker_time_format?: IContentField<string>;
|
|
865
|
+
web_datepicker_date_format?: IContentField<string>;
|
|
866
|
+
web_datepicker_time_grid_config?: IContentField<string>;
|
|
867
|
+
web_datepicker_with_seconds?: IContentField<string>;
|
|
868
|
+
shared_size?: IContentField<TSharedSize>;
|
|
869
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
870
|
+
use_web_style?: IContentField<string>;
|
|
855
871
|
}
|
|
856
872
|
interface ISwitchStyle extends IStyleWithSpacing {
|
|
857
873
|
style_name: 'switch';
|
|
858
874
|
label?: IContentField<string>;
|
|
859
875
|
description?: IContentField<string>;
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
876
|
+
web_switch_on_label?: IContentField<string>;
|
|
877
|
+
web_switch_off_label?: IContentField<string>;
|
|
878
|
+
shared_size?: IContentField<TSharedSize>;
|
|
879
|
+
web_color?: IContentField<TMantineColor>;
|
|
880
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
865
881
|
disabled?: IContentField<string>;
|
|
866
|
-
|
|
882
|
+
use_web_style?: IContentField<string>;
|
|
867
883
|
name?: IContentField<string>;
|
|
868
884
|
is_required?: IContentField<string>;
|
|
869
|
-
|
|
885
|
+
web_label_position?: IContentField<string>;
|
|
870
886
|
value?: IContentField<string>;
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
887
|
+
web_switch_on_value?: IContentField<string>;
|
|
888
|
+
web_use_input_wrapper?: IContentField<string>;
|
|
889
|
+
web_switch_off_value?: IContentField<string>;
|
|
874
890
|
}
|
|
875
891
|
interface IComboboxStyle extends IStyleWithSpacing {
|
|
876
892
|
style_name: 'combobox';
|
|
877
893
|
placeholder?: IContentField<string>;
|
|
878
|
-
|
|
894
|
+
web_combobox_options?: IContentField<string>;
|
|
879
895
|
disabled?: IContentField<string>;
|
|
880
|
-
|
|
896
|
+
use_web_style?: IContentField<string>;
|
|
881
897
|
label?: IContentField<string>;
|
|
882
898
|
description?: IContentField<string>;
|
|
883
899
|
name?: IContentField<string>;
|
|
884
900
|
value?: IContentField<string>;
|
|
885
901
|
is_required?: IContentField<string>;
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
902
|
+
web_combobox_multi_select?: IContentField<string>;
|
|
903
|
+
web_combobox_searchable?: IContentField<string>;
|
|
904
|
+
web_combobox_creatable?: IContentField<string>;
|
|
905
|
+
web_combobox_clearable?: IContentField<string>;
|
|
906
|
+
web_combobox_separator?: IContentField<string>;
|
|
907
|
+
web_multi_select_max_values?: IContentField<string>;
|
|
892
908
|
}
|
|
893
909
|
interface IColorInputStyle extends IStyleWithSpacing {
|
|
894
910
|
style_name: 'color-input';
|
|
895
911
|
label?: IContentField<string>;
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
912
|
+
web_color_format?: IContentField<string>;
|
|
913
|
+
web_color_input_swatches?: IContentField<string>;
|
|
914
|
+
shared_size?: IContentField<TSharedSize>;
|
|
915
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
900
916
|
placeholder?: IContentField<string>;
|
|
901
917
|
name?: IContentField<string>;
|
|
902
918
|
value?: IContentField<string>;
|
|
903
919
|
description?: IContentField<string>;
|
|
904
920
|
is_required?: IContentField<string>;
|
|
905
921
|
disabled?: IContentField<string>;
|
|
906
|
-
|
|
922
|
+
use_web_style?: IContentField<string>;
|
|
907
923
|
}
|
|
908
924
|
interface IColorPickerStyle extends IStyleWithSpacing {
|
|
909
925
|
style_name: 'color-picker';
|
|
910
926
|
label?: IContentField<string>;
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
927
|
+
web_color_format?: IContentField<string>;
|
|
928
|
+
web_color_picker_swatches_per_row?: IContentField<string>;
|
|
929
|
+
web_color_picker_swatches?: IContentField<string>;
|
|
930
|
+
web_color_picker_with_picker?: IContentField<string>;
|
|
931
|
+
web_color_picker_saturation_label?: IContentField<string>;
|
|
932
|
+
web_color_picker_hue_label?: IContentField<string>;
|
|
933
|
+
web_color_picker_alpha_label?: IContentField<string>;
|
|
934
|
+
web_color_picker_as_button?: IContentField<string>;
|
|
935
|
+
web_color_picker_button_label?: IContentField<string>;
|
|
936
|
+
shared_size?: IContentField<TSharedSize>;
|
|
937
|
+
shared_full_width?: IContentField<string>;
|
|
922
938
|
name?: IContentField<string>;
|
|
923
939
|
value?: IContentField<string>;
|
|
924
940
|
description?: IContentField<string>;
|
|
925
941
|
is_required?: IContentField<string>;
|
|
926
|
-
|
|
942
|
+
use_web_style?: IContentField<string>;
|
|
927
943
|
}
|
|
928
944
|
interface IFileInputStyle extends IStyleWithSpacing {
|
|
929
945
|
style_name: 'file-input';
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
946
|
+
web_file_input_multiple?: IContentField<string>;
|
|
947
|
+
web_file_input_accept?: IContentField<string>;
|
|
948
|
+
web_file_input_clearable?: IContentField<string>;
|
|
949
|
+
web_file_input_max_size?: IContentField<string>;
|
|
950
|
+
web_file_input_max_files?: IContentField<string>;
|
|
951
|
+
web_file_input_drag_drop?: IContentField<string>;
|
|
952
|
+
shared_size?: IContentField<TSharedSize>;
|
|
953
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
954
|
+
web_left_icon?: IContentField<string>;
|
|
955
|
+
web_right_icon?: IContentField<string>;
|
|
940
956
|
placeholder?: IContentField<string>;
|
|
941
957
|
disabled?: IContentField<string>;
|
|
942
|
-
|
|
958
|
+
use_web_style?: IContentField<string>;
|
|
943
959
|
is_required?: IContentField<string>;
|
|
944
960
|
name?: IContentField<string>;
|
|
945
961
|
label?: IContentField<string>;
|
|
@@ -947,13 +963,13 @@ interface IFileInputStyle extends IStyleWithSpacing {
|
|
|
947
963
|
}
|
|
948
964
|
interface INumberInputStyle extends IStyleWithSpacing {
|
|
949
965
|
style_name: 'number-input';
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
966
|
+
web_numeric_min?: IContentField<string>;
|
|
967
|
+
web_numeric_max?: IContentField<string>;
|
|
968
|
+
web_numeric_step?: IContentField<string>;
|
|
969
|
+
web_number_input_decimal_scale?: IContentField<string>;
|
|
970
|
+
web_number_input_clamp_behavior?: IContentField<string>;
|
|
971
|
+
shared_size?: IContentField<TSharedSize>;
|
|
972
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
957
973
|
placeholder?: IContentField<string>;
|
|
958
974
|
label?: IContentField<string>;
|
|
959
975
|
description?: IContentField<string>;
|
|
@@ -961,20 +977,20 @@ interface INumberInputStyle extends IStyleWithSpacing {
|
|
|
961
977
|
value?: IContentField<string>;
|
|
962
978
|
is_required?: IContentField<string>;
|
|
963
979
|
disabled?: IContentField<string>;
|
|
964
|
-
|
|
980
|
+
use_web_style?: IContentField<string>;
|
|
965
981
|
}
|
|
966
982
|
interface ISegmentedControlStyle extends IStyleWithSpacing {
|
|
967
983
|
style_name: 'segmented-control';
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
984
|
+
web_segmented_control_data?: IContentField<string>;
|
|
985
|
+
shared_orientation?: IContentField<string>;
|
|
986
|
+
shared_size?: IContentField<TSharedSize>;
|
|
987
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
988
|
+
web_color?: IContentField<TMantineColor>;
|
|
973
989
|
fullwidth?: IContentField<string>;
|
|
974
990
|
disabled?: IContentField<string>;
|
|
975
991
|
readonly?: IContentField<string>;
|
|
976
|
-
|
|
977
|
-
|
|
992
|
+
use_web_style?: IContentField<string>;
|
|
993
|
+
web_segmented_control_item_border?: IContentField<string>;
|
|
978
994
|
label?: IContentField<string>;
|
|
979
995
|
description?: IContentField<string>;
|
|
980
996
|
value?: IContentField<string>;
|
|
@@ -989,43 +1005,43 @@ interface IRatingStyle extends IStyleWithSpacing {
|
|
|
989
1005
|
disabled?: IContentField<string>;
|
|
990
1006
|
value?: IContentField<string>;
|
|
991
1007
|
readonly?: IContentField<string>;
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1008
|
+
web_rating_count?: IContentField<string>;
|
|
1009
|
+
web_rating_fractions?: IContentField<string>;
|
|
1010
|
+
web_rating_use_smiles?: IContentField<string>;
|
|
1011
|
+
web_rating_empty_icon?: IContentField<string>;
|
|
1012
|
+
web_rating_full_icon?: IContentField<string>;
|
|
1013
|
+
web_rating_highlight_selected_only?: IContentField<string>;
|
|
1014
|
+
shared_size?: IContentField<TSharedSize>;
|
|
1015
|
+
web_color?: IContentField<TMantineColor>;
|
|
1016
|
+
use_web_style?: IContentField<string>;
|
|
1001
1017
|
}
|
|
1002
1018
|
interface IProgressStyle extends IStyleWithSpacing {
|
|
1003
1019
|
style_name: 'progress';
|
|
1004
1020
|
value?: IContentField<string>;
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1021
|
+
web_color?: IContentField<TMantineColor>;
|
|
1022
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
1023
|
+
shared_size?: IContentField<TSharedSize>;
|
|
1024
|
+
web_progress_striped?: IContentField<string>;
|
|
1025
|
+
web_progress_animated?: IContentField<string>;
|
|
1026
|
+
web_progress_transition_duration?: IContentField<TMantineProgressTransition>;
|
|
1027
|
+
use_web_style?: IContentField<string>;
|
|
1012
1028
|
}
|
|
1013
1029
|
interface IProgressRootStyle extends IBaseStyle {
|
|
1014
1030
|
style_name: 'progress-root';
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1031
|
+
shared_size?: IContentField<TSharedSize>;
|
|
1032
|
+
web_progress_auto_contrast?: IContentField<string>;
|
|
1033
|
+
use_web_style?: IContentField<string>;
|
|
1018
1034
|
}
|
|
1019
1035
|
interface IProgressSectionStyle extends IBaseStyle {
|
|
1020
1036
|
style_name: 'progress-section';
|
|
1021
1037
|
value?: IContentField<string>;
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1038
|
+
web_color?: IContentField<TMantineColor>;
|
|
1039
|
+
web_progress_striped?: IContentField<string>;
|
|
1040
|
+
web_progress_animated?: IContentField<string>;
|
|
1025
1041
|
label?: IContentField<string>;
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1042
|
+
web_tooltip_label?: IContentField<string>;
|
|
1043
|
+
web_tooltip_position?: IContentField<string>;
|
|
1044
|
+
use_web_style?: IContentField<string>;
|
|
1029
1045
|
}
|
|
1030
1046
|
interface IShowUserInputEntry {
|
|
1031
1047
|
record_id: number;
|
|
@@ -1048,14 +1064,14 @@ interface IShowUserInputStyle extends IBaseStyle {
|
|
|
1048
1064
|
fields_map?: IContentField<string>;
|
|
1049
1065
|
delete_modal_title?: IContentField<string>;
|
|
1050
1066
|
delete_modal_body?: IContentField<string>;
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1067
|
+
shared_spacing?: IContentField<string>;
|
|
1068
|
+
web_table_striped?: IContentField<string>;
|
|
1069
|
+
web_table_highlight_on_hover?: IContentField<string>;
|
|
1070
|
+
web_table_with_table_border?: IContentField<string>;
|
|
1071
|
+
web_table_with_column_borders?: IContentField<string>;
|
|
1072
|
+
web_table_with_row_borders?: IContentField<string>;
|
|
1073
|
+
web_table_sticky_header?: IContentField<string>;
|
|
1074
|
+
web_table_caption_side?: IContentField<string>;
|
|
1059
1075
|
entries?: IShowUserInputEntry[];
|
|
1060
1076
|
}
|
|
1061
1077
|
|
|
@@ -1070,71 +1086,83 @@ type TMantineListWithPadding = '0' | '1';
|
|
|
1070
1086
|
type TMantineListCenter = '0' | '1';
|
|
1071
1087
|
interface IAccordionStyle extends IStyleWithSpacing {
|
|
1072
1088
|
style_name: 'accordion';
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1089
|
+
web_accordion_variant?: IContentField<TMantineAccordionVariant>;
|
|
1090
|
+
web_accordion_multiple?: IContentField<TMantineAccordionMultiple>;
|
|
1091
|
+
web_accordion_chevron_position?: IContentField<TMantineAccordionChevronPosition>;
|
|
1092
|
+
web_accordion_chevron_size?: IContentField<string>;
|
|
1093
|
+
web_accordion_disable_chevron_rotation?: IContentField<TMantineAccordionDisableChevronRotation>;
|
|
1094
|
+
web_accordion_loop?: IContentField<TMantineAccordionLoop>;
|
|
1095
|
+
web_accordion_transition_duration?: IContentField<string>;
|
|
1096
|
+
web_accordion_default_value?: IContentField<string>;
|
|
1097
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
1098
|
+
use_web_style?: IContentField<string>;
|
|
1083
1099
|
}
|
|
1084
1100
|
interface IAccordionItemStyle extends IStyleWithSpacing {
|
|
1085
1101
|
style_name: 'accordion-item';
|
|
1086
|
-
|
|
1102
|
+
web_accordion_item_value?: IContentField<string>;
|
|
1087
1103
|
label?: IContentField<string>;
|
|
1088
|
-
|
|
1104
|
+
web_accordion_item_icon?: IContentField<string>;
|
|
1089
1105
|
disabled?: IContentField<string>;
|
|
1090
|
-
|
|
1106
|
+
use_web_style?: IContentField<string>;
|
|
1091
1107
|
}
|
|
1092
1108
|
interface ITabsStyle extends IStyleWithSpacing {
|
|
1093
1109
|
style_name: 'tabs';
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1110
|
+
web_tabs_variant?: IContentField<TMantineTabsVariant>;
|
|
1111
|
+
web_tabs_orientation?: IContentField<TMantineOrientation>;
|
|
1112
|
+
web_tabs_radius?: IContentField<TMantineRadius>;
|
|
1113
|
+
web_color?: IContentField<TMantineColor>;
|
|
1114
|
+
web_width?: IContentField<TMantineWidth>;
|
|
1115
|
+
web_height?: IContentField<TMantineHeight>;
|
|
1116
|
+
use_web_style?: IContentField<string>;
|
|
1101
1117
|
}
|
|
1102
1118
|
interface ITabStyle extends IBaseStyle {
|
|
1103
1119
|
style_name: 'tab';
|
|
1104
1120
|
label?: IContentField<string>;
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1121
|
+
web_left_icon?: IContentField<string>;
|
|
1122
|
+
web_right_icon?: IContentField<string>;
|
|
1123
|
+
web_tab_disabled?: IContentField<string>;
|
|
1124
|
+
web_width?: IContentField<TMantineWidth>;
|
|
1125
|
+
web_height?: IContentField<TMantineHeight>;
|
|
1126
|
+
use_web_style?: IContentField<string>;
|
|
1111
1127
|
}
|
|
1112
1128
|
interface ITimelineStyle extends IStyleWithSpacing {
|
|
1113
1129
|
style_name: 'timeline';
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1130
|
+
web_timeline_bullet_size?: IContentField<string>;
|
|
1131
|
+
web_timeline_line_width?: IContentField<string>;
|
|
1132
|
+
web_timeline_active?: IContentField<string>;
|
|
1133
|
+
web_timeline_align?: IContentField<TMantineTimelineAlign>;
|
|
1134
|
+
web_timeline_line_variant?: IContentField<TMantineTimelineLineVariant>;
|
|
1135
|
+
web_color?: IContentField<TMantineColor>;
|
|
1136
|
+
use_web_style?: IContentField<string>;
|
|
1137
|
+
}
|
|
1138
|
+
/**
|
|
1139
|
+
* A single entry inside a `timeline`. Child-only style; placement is enforced
|
|
1140
|
+
* by the backend parent/child relationship rules.
|
|
1141
|
+
*/
|
|
1142
|
+
interface ITimelineItemStyle extends IBaseStyle {
|
|
1143
|
+
style_name: 'timeline-item';
|
|
1144
|
+
title?: IContentField<string>;
|
|
1145
|
+
web_timeline_item_bullet?: IContentField<string>;
|
|
1146
|
+
web_timeline_item_line_variant?: IContentField<TMantineTimelineLineVariant>;
|
|
1147
|
+
web_color?: IContentField<TMantineColor>;
|
|
1148
|
+
use_web_style?: IContentField<string>;
|
|
1121
1149
|
}
|
|
1122
1150
|
interface IListStyle extends IStyleWithSpacing {
|
|
1123
1151
|
style_name: 'list';
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1152
|
+
web_list_type?: IContentField<TMantineListType>;
|
|
1153
|
+
web_spacing?: IContentField<TMantineSpacing>;
|
|
1154
|
+
shared_size?: IContentField<TSharedSize>;
|
|
1155
|
+
use_web_style?: IContentField<string>;
|
|
1156
|
+
web_list_list_style_type?: IContentField<TMantineListStyleType>;
|
|
1157
|
+
web_list_with_padding?: IContentField<TMantineListWithPadding>;
|
|
1158
|
+
web_list_center?: IContentField<TMantineListCenter>;
|
|
1159
|
+
web_list_icon?: IContentField<string>;
|
|
1132
1160
|
}
|
|
1133
1161
|
interface IListItemStyle extends IStyleWithSpacing {
|
|
1134
1162
|
style_name: 'list-item';
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1163
|
+
web_list_item_content?: IContentField<string>;
|
|
1164
|
+
web_list_item_icon?: IContentField<string>;
|
|
1165
|
+
use_web_style?: IContentField<string>;
|
|
1138
1166
|
}
|
|
1139
1167
|
interface IEntryListStyle extends IBaseStyle {
|
|
1140
1168
|
style_name: 'entry-list';
|
|
@@ -1151,6 +1179,52 @@ interface ILoopStyle extends IBaseStyle {
|
|
|
1151
1179
|
loop?: IContentField<unknown[]>;
|
|
1152
1180
|
}
|
|
1153
1181
|
|
|
1182
|
+
interface INoAccessStyle extends IStyleWithSpacing {
|
|
1183
|
+
style_name: 'no-access';
|
|
1184
|
+
title?: IContentField<string>;
|
|
1185
|
+
message?: IContentField<string>;
|
|
1186
|
+
button_label?: IContentField<string>;
|
|
1187
|
+
login_label?: IContentField<string>;
|
|
1188
|
+
show_login?: IContentField<string>;
|
|
1189
|
+
web_color?: IContentField<string>;
|
|
1190
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
1191
|
+
web_shadow?: IContentField<string>;
|
|
1192
|
+
web_button_variant?: IContentField<string>;
|
|
1193
|
+
show_icon?: IContentField<string>;
|
|
1194
|
+
}
|
|
1195
|
+
interface INotFoundStyle extends IStyleWithSpacing {
|
|
1196
|
+
style_name: 'not-found';
|
|
1197
|
+
title?: IContentField<string>;
|
|
1198
|
+
message?: IContentField<string>;
|
|
1199
|
+
button_label?: IContentField<string>;
|
|
1200
|
+
login_label?: IContentField<string>;
|
|
1201
|
+
web_color?: IContentField<string>;
|
|
1202
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
1203
|
+
web_shadow?: IContentField<string>;
|
|
1204
|
+
web_button_variant?: IContentField<string>;
|
|
1205
|
+
show_icon?: IContentField<string>;
|
|
1206
|
+
}
|
|
1207
|
+
interface IMissingStyle extends IStyleWithSpacing {
|
|
1208
|
+
style_name: 'missing';
|
|
1209
|
+
title?: IContentField<string>;
|
|
1210
|
+
message?: IContentField<string>;
|
|
1211
|
+
button_label?: IContentField<string>;
|
|
1212
|
+
web_color?: IContentField<string>;
|
|
1213
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
1214
|
+
web_shadow?: IContentField<string>;
|
|
1215
|
+
web_button_variant?: IContentField<string>;
|
|
1216
|
+
show_icon?: IContentField<string>;
|
|
1217
|
+
}
|
|
1218
|
+
/**
|
|
1219
|
+
* Build/version diagnostic surface. Has no content fields in the catalog.
|
|
1220
|
+
* Per the mobile rendering plan (section 5.3) it is a candidate to be marked
|
|
1221
|
+
* web-only or removed after a zero-reference check; kept `both` for now to
|
|
1222
|
+
* match the backend render-target backfill.
|
|
1223
|
+
*/
|
|
1224
|
+
interface IVersionStyle extends IBaseStyle {
|
|
1225
|
+
style_name: 'version';
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1154
1228
|
/**
|
|
1155
1229
|
* Discriminated union of every supported user-facing style. Adding a new
|
|
1156
1230
|
* style means adding its interface AND extending this union AND registering
|
|
@@ -1159,7 +1233,7 @@ interface ILoopStyle extends IBaseStyle {
|
|
|
1159
1233
|
* Admin/CMS-only styles are intentionally NOT in this union — the mobile
|
|
1160
1234
|
* app does not render them.
|
|
1161
1235
|
*/
|
|
1162
|
-
type TStyle = ILoginStyle | IRegisterStyle | IValidateStyle | IResetPasswordStyle | ITwoFactorAuthStyle | IProfileStyle | IContainerStyle | IBoxStyle | IFlexStyle | IGroupStyle | IStackStyle | ISimpleGridStyle | IGridStyle | IGridColumnStyle | ISpaceStyle | IDividerStyle | IPaperStyle | ICenterStyle | IScrollAreaStyle | ICardStyle | ICardSegmentStyle | IAspectRatioStyle | IBackgroundImageStyle | ITitleStyle | ITextStyle | ICodeStyle | IHighlightStyle | IBlockquoteStyle | IHtmlTagStyle | IKbdStyle | ITypographyStyle | IFieldsetStyle | ISpoilerStyle | IImageStyle | IVideoStyle | IAudioStyle | IFigureStyle | ICarouselStyle | IButtonStyle | ILinkStyle | IActionIconStyle | IAlertStyle | IBadgeStyle | IAvatarStyle | IChipStyle | IIndicatorStyle | IThemeIconStyle | INotificationStyle | IFormLogStyle | IFormRecordStyle | IInputStyle | ITextInputStyle | ITextareaStyle | IRichTextEditorStyle | ISelectStyle | IRadioStyle | ICheckboxStyle | ISliderStyle | IRangeSliderStyle | IDatePickerStyle | ISwitchStyle | IComboboxStyle | IColorInputStyle | IColorPickerStyle | IFileInputStyle | INumberInputStyle | ISegmentedControlStyle | IRatingStyle | IProgressStyle | IProgressRootStyle | IProgressSectionStyle | IAccordionStyle | IAccordionItemStyle | ITabsStyle | ITabStyle | ITimelineStyle | IListStyle | IListItemStyle | IEntryListStyle | IEntryRecordStyle | IEntryRecordDeleteStyle | ILoopStyle;
|
|
1236
|
+
type TStyle = ILoginStyle | IRegisterStyle | IValidateStyle | IResetPasswordStyle | ITwoFactorAuthStyle | IProfileStyle | IContainerStyle | IBoxStyle | IFlexStyle | IGroupStyle | IStackStyle | ISimpleGridStyle | IGridStyle | IGridColumnStyle | ISpaceStyle | IDividerStyle | IPaperStyle | ICenterStyle | IScrollAreaStyle | ICardStyle | ICardSegmentStyle | IAspectRatioStyle | IBackgroundImageStyle | ITitleStyle | ITextStyle | ICodeStyle | IHighlightStyle | IBlockquoteStyle | IHtmlTagStyle | IKbdStyle | ITypographyStyle | IFieldsetStyle | ISpoilerStyle | IImageStyle | IVideoStyle | IAudioStyle | IFigureStyle | ICarouselStyle | IButtonStyle | ILinkStyle | IActionIconStyle | IAlertStyle | IBadgeStyle | IAvatarStyle | IChipStyle | IIndicatorStyle | IThemeIconStyle | INotificationStyle | IFormLogStyle | IFormRecordStyle | IInputStyle | ITextInputStyle | ITextareaStyle | IRichTextEditorStyle | ISelectStyle | IRadioStyle | ICheckboxStyle | ISliderStyle | IRangeSliderStyle | IDatePickerStyle | ISwitchStyle | IComboboxStyle | IColorInputStyle | IColorPickerStyle | IFileInputStyle | INumberInputStyle | ISegmentedControlStyle | IRatingStyle | IProgressStyle | IProgressRootStyle | IProgressSectionStyle | IAccordionStyle | IAccordionItemStyle | ITabsStyle | ITabStyle | ITimelineStyle | IListStyle | IListItemStyle | IEntryListStyle | IEntryRecordStyle | IEntryRecordDeleteStyle | ILoopStyle | ITimelineItemStyle | INoAccessStyle | INotFoundStyle | IMissingStyle | IVersionStyle | IRefContainerStyle | IDataContainerStyle | IShowUserInputStyle;
|
|
1163
1237
|
/**
|
|
1164
1238
|
* Discriminator — name of every supported style. Derived from the
|
|
1165
1239
|
* `STYLE_REGISTRY` keys (declared in `src/registry/styles.registry.ts`).
|
|
@@ -1183,7 +1257,7 @@ interface IUnknownStyle {
|
|
|
1183
1257
|
fields: Record<string, IContentField<unknown>>;
|
|
1184
1258
|
css?: string;
|
|
1185
1259
|
css_mobile?: string;
|
|
1186
|
-
|
|
1260
|
+
use_web_style?: IContentField<string>;
|
|
1187
1261
|
}
|
|
1188
1262
|
|
|
1189
1263
|
/**
|
|
@@ -1245,10 +1319,10 @@ interface IBaseStyle {
|
|
|
1245
1319
|
}
|
|
1246
1320
|
/** Styles that support the unified spacing field. */
|
|
1247
1321
|
interface IStyleWithSpacing extends IBaseStyle {
|
|
1248
|
-
/** Legacy / margin-only field still used by many
|
|
1249
|
-
|
|
1250
|
-
/**
|
|
1251
|
-
|
|
1322
|
+
/** Legacy / margin-only field still used by many web styles in the DB (web-only; not consolidated into shared_spacing). */
|
|
1323
|
+
web_spacing_margin?: IContentField<string>;
|
|
1324
|
+
/** Portable box-model spacing (margin + padding). Backend field `shared_spacing` (was `mantine_spacing_margin_padding`). */
|
|
1325
|
+
shared_spacing?: IContentField<string>;
|
|
1252
1326
|
}
|
|
1253
1327
|
|
|
1254
1328
|
/**
|
|
@@ -1281,6 +1355,34 @@ interface IStyleWithSpacing extends IBaseStyle {
|
|
|
1281
1355
|
* styles.
|
|
1282
1356
|
*/
|
|
1283
1357
|
|
|
1358
|
+
/**
|
|
1359
|
+
* Concrete render targets a CMS style can support. The web frontend
|
|
1360
|
+
* renders `web`; the mobile app renders `mobile`.
|
|
1361
|
+
*/
|
|
1362
|
+
type TConcretePlatform = 'web' | 'mobile';
|
|
1363
|
+
/**
|
|
1364
|
+
* Where a style may be placed in the section tree:
|
|
1365
|
+
* - `any` (default) — page root or inside any container.
|
|
1366
|
+
* - `rootOnly` — page/root level only (e.g. a page-overlay style).
|
|
1367
|
+
* - `containerOnly`— only inside a parent container, never at page root.
|
|
1368
|
+
*
|
|
1369
|
+
* Distinct from parent/child `rel_styles_allowed_relationships`: placement is a
|
|
1370
|
+
* coarse root-vs-container rule the CMS picker enforces in addition to the
|
|
1371
|
+
* fine-grained compound parent/child rules.
|
|
1372
|
+
*/
|
|
1373
|
+
type TStylePlacement = 'any' | 'rootOnly' | 'containerOnly';
|
|
1374
|
+
/**
|
|
1375
|
+
* CMS-facing render target of a style. Mirrors the backend
|
|
1376
|
+
* `styles.id_render_target` (`styleRenderTargets` lookup) and the
|
|
1377
|
+
* `renderTarget` field returned by the style schema/catalog API. `both`
|
|
1378
|
+
* expands to `['web','mobile']`. A platform's dispatcher silently skips a
|
|
1379
|
+
* style whose render target excludes it — distinct from the
|
|
1380
|
+
* "compatible-but-unimplemented" `UnknownStyle` / "Open on web" fallback.
|
|
1381
|
+
*
|
|
1382
|
+
* Page render target is NOT modelled here: a page's web/mobile/both scope is
|
|
1383
|
+
* the existing `pageAccessTypes` value, never a duplicate page platform field.
|
|
1384
|
+
*/
|
|
1385
|
+
type TStylePlatform = TConcretePlatform | 'both';
|
|
1284
1386
|
interface IStyleRegistryEntry {
|
|
1285
1387
|
/** Human description for docs / tooling. */
|
|
1286
1388
|
description: string;
|
|
@@ -1298,6 +1400,25 @@ interface IStyleRegistryEntry {
|
|
|
1298
1400
|
* children traversal.
|
|
1299
1401
|
*/
|
|
1300
1402
|
canHaveChildren: boolean;
|
|
1403
|
+
/**
|
|
1404
|
+
* Render targets this style supports (compile-time fallback for the
|
|
1405
|
+
* backend `renderTarget`). Omitted = both platforms (`['web','mobile']`),
|
|
1406
|
+
* which is the default for every established core style. A mobile-only
|
|
1407
|
+
* style sets `['mobile']`; a web-only style sets `['web']`. The renderer
|
|
1408
|
+
* reads this through `getStylePlatforms()` / `isStyleSupportedOnPlatform()`
|
|
1409
|
+
* and silently skips styles that do not target the current platform.
|
|
1410
|
+
*
|
|
1411
|
+
* Runtime filtering should prefer the per-section `renderTarget` from the
|
|
1412
|
+
* backend payload when present (installed catalog data may differ from the
|
|
1413
|
+
* app build); this registry value is the compile-time source of truth.
|
|
1414
|
+
*/
|
|
1415
|
+
platforms?: readonly TConcretePlatform[];
|
|
1416
|
+
/**
|
|
1417
|
+
* Placement rule in the section tree. Omitted = `any`. The CMS add-section
|
|
1418
|
+
* picker hides `rootOnly` styles when adding as a child and `containerOnly`
|
|
1419
|
+
* styles when adding at page root.
|
|
1420
|
+
*/
|
|
1421
|
+
placement?: TStylePlacement;
|
|
1301
1422
|
}
|
|
1302
1423
|
/**
|
|
1303
1424
|
* Plugin-contributed registry entry. Same shape as the base entry plus
|
|
@@ -1806,6 +1927,54 @@ declare const BASE_STYLE_REGISTRY: {
|
|
|
1806
1927
|
readonly frontendOnly: true;
|
|
1807
1928
|
readonly canHaveChildren: true;
|
|
1808
1929
|
};
|
|
1930
|
+
readonly 'timeline-item': {
|
|
1931
|
+
readonly description: "A single entry inside a timeline (child-only)";
|
|
1932
|
+
readonly category: "composite";
|
|
1933
|
+
readonly frontendOnly: true;
|
|
1934
|
+
readonly canHaveChildren: true;
|
|
1935
|
+
};
|
|
1936
|
+
readonly 'no-access': {
|
|
1937
|
+
readonly description: "Access-denied surface shown when the user lacks page access";
|
|
1938
|
+
readonly category: "auth";
|
|
1939
|
+
readonly frontendOnly: true;
|
|
1940
|
+
readonly canHaveChildren: false;
|
|
1941
|
+
};
|
|
1942
|
+
readonly missing: {
|
|
1943
|
+
readonly description: "Generic \"content missing\" system surface";
|
|
1944
|
+
readonly category: "auth";
|
|
1945
|
+
readonly frontendOnly: true;
|
|
1946
|
+
readonly canHaveChildren: false;
|
|
1947
|
+
};
|
|
1948
|
+
readonly 'not-found': {
|
|
1949
|
+
readonly description: "Page-not-found system surface";
|
|
1950
|
+
readonly category: "auth";
|
|
1951
|
+
readonly frontendOnly: true;
|
|
1952
|
+
readonly canHaveChildren: false;
|
|
1953
|
+
};
|
|
1954
|
+
readonly version: {
|
|
1955
|
+
readonly description: "Build/version diagnostic surface";
|
|
1956
|
+
readonly category: "auth";
|
|
1957
|
+
readonly frontendOnly: true;
|
|
1958
|
+
readonly canHaveChildren: false;
|
|
1959
|
+
};
|
|
1960
|
+
readonly 'ref-container': {
|
|
1961
|
+
readonly description: "Renders content referenced from another section";
|
|
1962
|
+
readonly category: "layout";
|
|
1963
|
+
readonly frontendOnly: true;
|
|
1964
|
+
readonly canHaveChildren: true;
|
|
1965
|
+
};
|
|
1966
|
+
readonly 'data-container': {
|
|
1967
|
+
readonly description: "Data-scoped container (renders subtree against a data scope)";
|
|
1968
|
+
readonly category: "layout";
|
|
1969
|
+
readonly frontendOnly: true;
|
|
1970
|
+
readonly canHaveChildren: true;
|
|
1971
|
+
};
|
|
1972
|
+
readonly 'show-user-input': {
|
|
1973
|
+
readonly description: "Displays previously submitted user input as a list/card view";
|
|
1974
|
+
readonly category: "forms";
|
|
1975
|
+
readonly frontendOnly: true;
|
|
1976
|
+
readonly canHaveChildren: false;
|
|
1977
|
+
};
|
|
1809
1978
|
};
|
|
1810
1979
|
/**
|
|
1811
1980
|
* Backward-compatible alias for the core registry. Pre-plugin code
|
|
@@ -2306,6 +2475,54 @@ declare const STYLE_REGISTRY: {
|
|
|
2306
2475
|
readonly frontendOnly: true;
|
|
2307
2476
|
readonly canHaveChildren: true;
|
|
2308
2477
|
};
|
|
2478
|
+
readonly 'timeline-item': {
|
|
2479
|
+
readonly description: "A single entry inside a timeline (child-only)";
|
|
2480
|
+
readonly category: "composite";
|
|
2481
|
+
readonly frontendOnly: true;
|
|
2482
|
+
readonly canHaveChildren: true;
|
|
2483
|
+
};
|
|
2484
|
+
readonly 'no-access': {
|
|
2485
|
+
readonly description: "Access-denied surface shown when the user lacks page access";
|
|
2486
|
+
readonly category: "auth";
|
|
2487
|
+
readonly frontendOnly: true;
|
|
2488
|
+
readonly canHaveChildren: false;
|
|
2489
|
+
};
|
|
2490
|
+
readonly missing: {
|
|
2491
|
+
readonly description: "Generic \"content missing\" system surface";
|
|
2492
|
+
readonly category: "auth";
|
|
2493
|
+
readonly frontendOnly: true;
|
|
2494
|
+
readonly canHaveChildren: false;
|
|
2495
|
+
};
|
|
2496
|
+
readonly 'not-found': {
|
|
2497
|
+
readonly description: "Page-not-found system surface";
|
|
2498
|
+
readonly category: "auth";
|
|
2499
|
+
readonly frontendOnly: true;
|
|
2500
|
+
readonly canHaveChildren: false;
|
|
2501
|
+
};
|
|
2502
|
+
readonly version: {
|
|
2503
|
+
readonly description: "Build/version diagnostic surface";
|
|
2504
|
+
readonly category: "auth";
|
|
2505
|
+
readonly frontendOnly: true;
|
|
2506
|
+
readonly canHaveChildren: false;
|
|
2507
|
+
};
|
|
2508
|
+
readonly 'ref-container': {
|
|
2509
|
+
readonly description: "Renders content referenced from another section";
|
|
2510
|
+
readonly category: "layout";
|
|
2511
|
+
readonly frontendOnly: true;
|
|
2512
|
+
readonly canHaveChildren: true;
|
|
2513
|
+
};
|
|
2514
|
+
readonly 'data-container': {
|
|
2515
|
+
readonly description: "Data-scoped container (renders subtree against a data scope)";
|
|
2516
|
+
readonly category: "layout";
|
|
2517
|
+
readonly frontendOnly: true;
|
|
2518
|
+
readonly canHaveChildren: true;
|
|
2519
|
+
};
|
|
2520
|
+
readonly 'show-user-input': {
|
|
2521
|
+
readonly description: "Displays previously submitted user input as a list/card view";
|
|
2522
|
+
readonly category: "forms";
|
|
2523
|
+
readonly frontendOnly: true;
|
|
2524
|
+
readonly canHaveChildren: false;
|
|
2525
|
+
};
|
|
2309
2526
|
};
|
|
2310
2527
|
type TStyleRegistryKey = keyof typeof BASE_STYLE_REGISTRY;
|
|
2311
2528
|
/**
|
|
@@ -2351,4 +2568,4 @@ declare function getPluginStyleRegistry(): Record<string, IPluginStyleRegistryEn
|
|
|
2351
2568
|
*/
|
|
2352
2569
|
declare function _resetPluginStyleRegistry(): void;
|
|
2353
2570
|
|
|
2354
|
-
export { type
|
|
2571
|
+
export { type IGridStyle as $, type ICenterStyle as A, BASE_STYLE_REGISTRY as B, type ICheckboxStyle as C, type IChipStyle as D, type ICodeStyle as E, type IColorInputStyle as F, type IColorPickerStyle as G, type IComboboxStyle as H, type IStyleRegistryEntry as I, type IContainerStyle as J, type IDataContainerStyle as K, type IDatePickerStyle as L, type IDividerStyle as M, type IEntryListStyle as N, type IEntryRecordDeleteStyle as O, type IEntryRecordStyle as P, type IFieldsetStyle as Q, type IFigureStyle as R, STYLE_REGISTRY as S, type TStyleName as T, type IFileInputStyle as U, type IFlexStyle as V, type IFormLogStyle as W, type IFormRecordStyle as X, type IFormStyle as Y, type IGridColumnStyle as Z, type _AssertRegistryMatchesStyleName as _, type IPluginStyleRegistryEntry as a, type TMantineCols as a$, type IGroupStyle as a0, type IHighlightStyle as a1, type IHtmlTagStyle as a2, type IImageStyle as a3, type IIndicatorStyle as a4, type IInputStyle as a5, type IKbdStyle as a6, type ILinkStyle as a7, type IListItemStyle as a8, type IListStyle as a9, type ISpaceStyle as aA, type ISpoilerStyle as aB, type IStackStyle as aC, type IStyleWithSpacing as aD, type ISwitchStyle as aE, type ITabStyle as aF, type ITabsStyle as aG, type ITextInputStyle as aH, type ITextStyle as aI, type ITextareaStyle as aJ, type IThemeIconStyle as aK, type ITimelineItemStyle as aL, type ITimelineStyle as aM, type ITitleStyle as aN, type ITwoFactorAuthStyle as aO, type ITypographyStyle as aP, type IUnknownStyle as aQ, type IValidateStyle as aR, type IVersionStyle as aS, type IVideoStyle as aT, type TMantineAccordionChevronPosition as aU, type TMantineAccordionDisableChevronRotation as aV, type TMantineAccordionLoop as aW, type TMantineAccordionMultiple as aX, type TMantineBorder as aY, type TMantineCardShadow as aZ, type TMantineCheckboxLabelPosition as a_, type ILoginStyle as aa, type ILoopStyle as ab, type IMissingStyle as ac, type INoAccessStyle as ad, type INotFoundStyle as ae, type INotificationStyle as af, type INumberInputStyle as ag, type IPaperStyle as ah, type IProfileStyle as ai, type IProgressRootStyle as aj, type IProgressSectionStyle as ak, type IProgressStyle as al, type IRadioStyle as am, type IRangeSliderStyle as an, type IRatingStyle as ao, type IRefContainerStyle as ap, type IRegisterStyle as aq, type IResetPasswordStyle as ar, type IRichTextEditorStyle as as, type IScrollAreaStyle as at, type ISegmentedControlStyle as au, type ISelectStyle as av, type IShowUserInputEntry as aw, type IShowUserInputStyle as ax, type ISimpleGridStyle as ay, type ISliderStyle as az, type TStylePlacement as b, type TMantineDividerVariant as b0, type TMantineGap as b1, type TMantineGridOffset as b2, type TMantineGridOrder as b3, type TMantineHeight as b4, type TMantineIconSize as b5, type TMantineImageFit as b6, type TMantineLineClamp as b7, type TMantineListCenter as b8, type TMantineListStyleType as b9, type TMantineListType as ba, type TMantineListWithPadding as bb, type TMantinePaperShadow as bc, type TMantineProgressTransition as bd, type TMantineScrollAreaSize as be, type TMantineScrollAreaType as bf, type TMantineTextAlign as bg, type TMantineTextDecoration as bh, type TMantineTextFontStyle as bi, type TMantineTextFontWeight as bj, type TMantineTextInherit as bk, type TMantineTextInputVariant as bl, type TMantineTextSpan as bm, type TMantineTextTransform as bn, type TMantineTextTruncate as bo, type TMantineTextVariant as bp, type TMantineTextareaAutosize as bq, type TMantineTextareaResize as br, type TMantineTextareaVariant as bs, type TMantineTimelineAlign as bt, type TMantineTitleLineClamp as bu, type TMantineTitleTextWrap as bv, type TMantineTranslatable as bw, type TMantineUseInputWrapper as bx, type TMantineWidth as by, type TStyle as bz, type TConcretePlatform as c, type TStylePlatform as d, type TStyleRegistryKey as e, _resetPluginStyleRegistry as f, extendStyleRegistry as g, getMergedStyleRegistry as h, getPluginStyleRegistry as i, type IContentField as j, type IAccordionItemStyle as k, type IAccordionStyle as l, type IActionIconStyle as m, type IAlertStyle as n, type IAspectRatioStyle as o, type IAudioStyle as p, type IAvatarStyle as q, type IBackgroundImageStyle as r, type IBadgeStyle as s, type IBaseStyle as t, type IBlockquoteStyle as u, type IBoxStyle as v, type IButtonStyle as w, type ICardSegmentStyle as x, type ICardStyle as y, type ICarouselStyle as z };
|