@selfhelp/shared 1.14.14 → 1.14.16
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 +66 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/plugin-sdk/index.d.mts +1 -1
- package/dist/plugin-sdk/index.d.ts +1 -1
- package/dist/registry/index.d.mts +2 -2
- package/dist/registry/index.d.ts +2 -2
- package/dist/{styles.registry-DACrC1dz.d.ts → styles.registry-D6u2lOw8.d.ts} +54 -6
- package/dist/{styles.registry-CA6p55GE.d.mts → styles.registry-DPNHAOM1.d.mts} +54 -6
- package/package.json +1 -1
- package/src/types/styles/composite.ts +5 -0
- package/src/types/styles/forms.ts +24 -2
- package/src/types/styles/interactive.ts +10 -1
- package/src/types/styles/media.ts +21 -4
- package/src/types/styles/typography.ts +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,72 @@ All notable changes to `@selfhelp/shared` will be documented in this file.
|
|
|
9
9
|
|
|
10
10
|
This project follows semantic versioning.
|
|
11
11
|
|
|
12
|
+
## v1.14.16
|
|
13
|
+
|
|
14
|
+
Form / interactive capability pass (backend migration
|
|
15
|
+
`Version20260622132034`). All additions are optional, so the contract stays
|
|
16
|
+
backward compatible; the one removal (`ISelectStyle.alt`) drops a field that no
|
|
17
|
+
renderer read.
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- **`INumberInputStyle`**: `web_number_input_prefix`,
|
|
22
|
+
`web_number_input_suffix`, `web_number_input_thousand_separator`,
|
|
23
|
+
`web_number_input_allow_negative`, `web_number_input_hide_controls` — Mantine
|
|
24
|
+
`NumberInput` currency/unit affixes + formatting/spinner toggles.
|
|
25
|
+
- **`IColorInputStyle`**: `web_color_input_with_eye_dropper`,
|
|
26
|
+
`web_color_input_disallow_input`, `web_color_input_with_preview` — Mantine
|
|
27
|
+
`ColorInput` picker behaviour toggles.
|
|
28
|
+
- **`ITabsStyle`**: `web_tabs_grow`, `web_tabs_justify`,
|
|
29
|
+
`web_tabs_keep_mounted`, `web_tabs_placement` — Mantine `Tabs` list layout +
|
|
30
|
+
panel mount behaviour.
|
|
31
|
+
- **`ISwitchStyle`**: `web_switch_with_thumb_indicator`,
|
|
32
|
+
`web_switch_thumb_icon` — Mantine `Switch` thumb indicator + optional thumb
|
|
33
|
+
icon.
|
|
34
|
+
- **`ITextInputStyle` / `ITextareaStyle`**: `shared_max_length` (cross-platform
|
|
35
|
+
max characters) plus mobile keyboard knobs `mobile_keyboard_type`,
|
|
36
|
+
`mobile_auto_capitalize`, and (text-input only) `mobile_secure_entry`.
|
|
37
|
+
- **`IProgressRootStyle.shared_radius`** — corner radius for the progress track
|
|
38
|
+
(links the existing shared radius field).
|
|
39
|
+
|
|
40
|
+
### Removed
|
|
41
|
+
|
|
42
|
+
- **`ISelectStyle.alt`** — unused legacy field; no web or mobile renderer read
|
|
43
|
+
it. Backend migration unlinks it from the `select` style.
|
|
44
|
+
|
|
45
|
+
## v1.14.15
|
|
46
|
+
|
|
47
|
+
Style-catalog field additions for the typography / media / interactive pass
|
|
48
|
+
(backend migration `Version20260622110041`). All additions are optional, so the
|
|
49
|
+
contract stays backward compatible.
|
|
50
|
+
|
|
51
|
+
### Changed
|
|
52
|
+
|
|
53
|
+
- **`IBlockquoteStyle`**: the quote body now uses a dedicated
|
|
54
|
+
`blockquote_content` (markdown-inline) field instead of the generic shared
|
|
55
|
+
`content`, so authors can apply inline bold/italic/links inside a quote without
|
|
56
|
+
affecting the `code` style (which keeps the plain `content` field). Renderers
|
|
57
|
+
must read `blockquote_content`.
|
|
58
|
+
- **`IVideoStyle` / `IAudioStyle`** now extend `IStyleWithSpacing` (they expose
|
|
59
|
+
the standard spacing block like the other media styles).
|
|
60
|
+
|
|
61
|
+
### Added
|
|
62
|
+
|
|
63
|
+
- **`IImageStyle.fallback_src`** — image shown when the main source fails to load
|
|
64
|
+
(maps to Mantine `Image.fallbackSrc`).
|
|
65
|
+
- **`IFigureStyle.img_src` + `IFigureStyle.alt`** — optional built-in image so a
|
|
66
|
+
figure can render without a child image section (renderer only; never
|
|
67
|
+
auto-creates a section).
|
|
68
|
+
- **`ILinkStyle.shared_color`, `web_link_underline` (`'always' | 'hover' |
|
|
69
|
+
'never'`), `web_left_icon`, `web_right_icon`** — link colour, Mantine `Anchor`
|
|
70
|
+
underline behaviour, and optional leading/trailing icons.
|
|
71
|
+
- **`IActionIconStyle.aria_label`** — accessible name for the icon-only control.
|
|
72
|
+
- **`ISpoilerStyle.shared_color`** — colour of the show/hide control.
|
|
73
|
+
- **`IVideoStyle`**: `video_src`, `poster_src`, `has_controls`, `media_loop`,
|
|
74
|
+
`media_autoplay`, `media_muted` playback fields (`'0' | '1'` toggles).
|
|
75
|
+
- **`IAudioStyle`**: `alt`, `has_controls`, `media_loop`, `media_autoplay`.
|
|
76
|
+
- New `TMantineAnchorUnderline` union exported from the interactive style types.
|
|
77
|
+
|
|
12
78
|
## v1.14.14
|
|
13
79
|
|
|
14
80
|
Cross-platform **inline rich-text** keystone. CMS authors can apply lightweight
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TStyleName, j as IContentField } from './styles.registry-
|
|
2
|
-
export { B as BASE_STYLE_REGISTRY, k as IAccordionItemStyle, l as IAccordionStyle, m as IActionIconStyle, n as IAlertStyle, o as IAspectRatioStyle, p as IAudioStyle, q as IAvatarStyle, r as IBackgroundImageStyle, s as IBadgeStyle, t as IBaseStyle, u as IBlockquoteStyle, v as IBoxStyle, w as IButtonStyle, x as ICardSegmentStyle, y as ICardStyle, z as ICarouselStyle, A as ICenterStyle, C as ICheckboxStyle, D as IChipStyle, E as ICodeStyle, F as IColorInputStyle, G as IColorPickerStyle, H as IComboboxStyle, J as IContainerStyle, K as IDataContainerStyle, L as IDatePickerStyle, M as IDividerStyle, N as IEntryListStyle, O as IEntryRecordDeleteStyle, P as IEntryRecordStyle, Q as IFieldsetStyle, R as IFigureStyle, U as IFileInputStyle, V as IFlexStyle, W as IFormLogStyle, X as IFormRecordStyle, Y as IFormStyle, Z as IGridColumnStyle, $ as IGridStyle, a0 as IGroupStyle, a1 as IHighlightStyle, a2 as IHtmlTagStyle, a3 as IImageStyle, a4 as IIndicatorStyle, a5 as IInputStyle, a6 as IKbdStyle, a7 as ILinkStyle, a8 as IListItemStyle, a9 as IListStyle, aa as ILoginStyle, ab as ILoopStyle, ac as IMissingStyle, ad as INoAccessStyle, ae as INotFoundStyle, af as INotificationStyle, ag as INumberInputStyle, ah as IPaperStyle, a as IPluginStyleRegistryEntry, ai as IProfileStyle, aj as IProgressRootStyle, ak as IProgressSectionStyle, al as IProgressStyle, am as IRadioStyle, an as IRangeSliderStyle, ao as IRatingStyle, ap as IRefContainerStyle, aq as IRegisterStyle, ar as IResetPasswordStyle, as as IRichTextEditorStyle, at as IScrollAreaStyle, au as ISegmentedControlStyle, av as ISelectStyle, aw as IShowUserInputEntry, ax as IShowUserInputStyle, ay as ISimpleGridStyle, az as ISliderStyle, aA as ISpaceStyle, aB as ISpoilerStyle, aC as IStackStyle, I as IStyleRegistryEntry, aD as IStyleWithSpacing, aE as ISwitchStyle, aF as ITabStyle, aG as ITabsStyle, aH as ITextInputStyle, aI as ITextStyle, aJ as ITextareaStyle, aK as IThemeIconStyle, aL as ITimelineItemStyle, aM as ITimelineStyle, aN as ITitleStyle, aO as ITwoFactorAuthStyle, aP as ITypographyStyle, aQ as IUnknownStyle, aR as IValidateStyle, aS as IVersionStyle, aT as IVideoStyle, S as STYLE_REGISTRY, c as TConcretePlatform, aU as TMantineAccordionChevronPosition, aV as TMantineAccordionDisableChevronRotation, aW as TMantineAccordionLoop, aX as TMantineAccordionMultiple, aY as
|
|
1
|
+
import { T as TStyleName, j as IContentField } from './styles.registry-DPNHAOM1.mjs';
|
|
2
|
+
export { B as BASE_STYLE_REGISTRY, k as IAccordionItemStyle, l as IAccordionStyle, m as IActionIconStyle, n as IAlertStyle, o as IAspectRatioStyle, p as IAudioStyle, q as IAvatarStyle, r as IBackgroundImageStyle, s as IBadgeStyle, t as IBaseStyle, u as IBlockquoteStyle, v as IBoxStyle, w as IButtonStyle, x as ICardSegmentStyle, y as ICardStyle, z as ICarouselStyle, A as ICenterStyle, C as ICheckboxStyle, D as IChipStyle, E as ICodeStyle, F as IColorInputStyle, G as IColorPickerStyle, H as IComboboxStyle, J as IContainerStyle, K as IDataContainerStyle, L as IDatePickerStyle, M as IDividerStyle, N as IEntryListStyle, O as IEntryRecordDeleteStyle, P as IEntryRecordStyle, Q as IFieldsetStyle, R as IFigureStyle, U as IFileInputStyle, V as IFlexStyle, W as IFormLogStyle, X as IFormRecordStyle, Y as IFormStyle, Z as IGridColumnStyle, $ as IGridStyle, a0 as IGroupStyle, a1 as IHighlightStyle, a2 as IHtmlTagStyle, a3 as IImageStyle, a4 as IIndicatorStyle, a5 as IInputStyle, a6 as IKbdStyle, a7 as ILinkStyle, a8 as IListItemStyle, a9 as IListStyle, aa as ILoginStyle, ab as ILoopStyle, ac as IMissingStyle, ad as INoAccessStyle, ae as INotFoundStyle, af as INotificationStyle, ag as INumberInputStyle, ah as IPaperStyle, a as IPluginStyleRegistryEntry, ai as IProfileStyle, aj as IProgressRootStyle, ak as IProgressSectionStyle, al as IProgressStyle, am as IRadioStyle, an as IRangeSliderStyle, ao as IRatingStyle, ap as IRefContainerStyle, aq as IRegisterStyle, ar as IResetPasswordStyle, as as IRichTextEditorStyle, at as IScrollAreaStyle, au as ISegmentedControlStyle, av as ISelectStyle, aw as IShowUserInputEntry, ax as IShowUserInputStyle, ay as ISimpleGridStyle, az as ISliderStyle, aA as ISpaceStyle, aB as ISpoilerStyle, aC as IStackStyle, I as IStyleRegistryEntry, aD as IStyleWithSpacing, aE as ISwitchStyle, aF as ITabStyle, aG as ITabsStyle, aH as ITextInputStyle, aI as ITextStyle, aJ as ITextareaStyle, aK as IThemeIconStyle, aL as ITimelineItemStyle, aM as ITimelineStyle, aN as ITitleStyle, aO as ITwoFactorAuthStyle, aP as ITypographyStyle, aQ as IUnknownStyle, aR as IValidateStyle, aS as IVersionStyle, aT as IVideoStyle, S as STYLE_REGISTRY, c as TConcretePlatform, aU as TMantineAccordionChevronPosition, aV as TMantineAccordionDisableChevronRotation, aW as TMantineAccordionLoop, aX as TMantineAccordionMultiple, aY as TMantineAnchorUnderline, aZ as TMantineBorder, a_ as TMantineCardPadding, a$ as TMantineCardShadow, b0 as TMantineCols, b1 as TMantineDividerVariant, b2 as TMantineGap, b3 as TMantineGridOffset, b4 as TMantineGridOrder, b5 as TMantineHeight, b6 as TMantineIconSize, b7 as TMantineImageFit, b8 as TMantineLineClamp, b9 as TMantineListCenter, ba as TMantineListStyleType, bb as TMantineListType, bc as TMantineListWithPadding, bd as TMantinePaperShadow, be as TMantineProgressTransition, bf as TMantineScrollAreaSize, bg as TMantineScrollAreaType, bh as TMantineTextAlign, bi as TMantineTextDecoration, bj as TMantineTextFontStyle, bk as TMantineTextFontWeight, bl as TMantineTextInherit, bm as TMantineTextInputVariant, bn as TMantineTextSpan, bo as TMantineTextTransform, bp as TMantineTextTruncate, bq as TMantineTextVariant, br as TMantineTextareaAutosize, bs as TMantineTextareaResize, bt as TMantineTextareaVariant, bu as TMantineTimelineAlign, bv as TMantineTitleLineClamp, bw as TMantineTitleTextWrap, bx as TMantineTranslatable, by as TMantineUseInputWrapper, bz as TMantineWidth, bA as TSharedBorder, bB as TSharedCols, bC as TSharedDimension, bD as TSharedDividerLabelPosition, bE as TSharedDividerVariant, bF as TSharedLabelPosition, bG as TStyle, b as TStylePlacement, d as TStylePlatform, e as TStyleRegistryKey, _ as _AssertRegistryMatchesStyleName, f as _resetPluginStyleRegistry, g as extendStyleRegistry, h as getMergedStyleRegistry, i as getPluginStyleRegistry } from './styles.registry-DPNHAOM1.mjs';
|
|
3
3
|
export { v as TMantineAccordionVariant, z as TMantineActionIconLoading, d as TMantineAlign, A as TMantineAllowNextClicks, B as TMantineAllowStepClick, C as TMantineAspectRatio, D as TMantineAutoContrast, r as TMantineAvatarVariant, q as TMantineBadgeVariant, E as TMantineBlock, F as TMantineCenterInline, G as TMantineChecked, H as TMantineChipChecked, I as TMantineChipMultiple, s as TMantineChipVariant, J as TMantineClampBehavior, K as TMantineCodeBlock, T as TMantineColor, L as TMantineColorFormat, M as TMantineColorInputSwatches, N as TMantineColorPickerSwatches, O as TMantineColorPickerSwatchesPerRow, P as TMantineCompact, Q as TMantineContainerFluid, e as TMantineDirection, R as TMantineDisabled, n as TMantineFieldsetVariant, S as TMantineFileAccept, U as TMantineFileInputMultiple, V as TMantineFluid, W as TMantineFullWidth, i as TMantineGridGrow, g as TMantineGridOverflow, h as TMantineGridSpan, X as TMantineGroupGrow, Y as TMantineGroupWrap, Z as TMantineGrow, _ as TMantineHighlight, t as TMantineIndicatorPosition, $ as TMantineInline, a0 as TMantineIsLink, c as TMantineJustify, a1 as TMantineKbdSize, a2 as TMantineLoading, a3 as TMantineMultiple, a4 as TMantineNotificationWithCloseButton, a5 as TMantineNumberInputDecimalScale, a6 as TMantineOpenInNewTab, j as TMantineOrientation, a7 as TMantineProcessing, a as TMantineRadius, a8 as TMantineRangeSliderMarks, a9 as TMantineRatingCount, aa as TMantineRatingFractions, ab as TMantineRatingReadonly, ac as TMantineReadonly, m as TMantineSize, ad as TMantineSpaceHorizontal, y as TMantineSpacing, o as TMantineSpoilerMaxHeight, ae as TMantineSwatches, af as TMantineTabDisabled, w as TMantineTabsVariant, u as TMantineThemeIconVariant, x as TMantineTimelineLineVariant, l as TMantineTitleOrder, ag as TMantineUseMantineStyle, p as TMantineVariant, ah as TMantineWithCloseButton, ai as TMantineWithIcon, f as TMantineWrap, k as TSharedRadius, b as TSharedSize } from './common-DMm4kymA.mjs';
|
|
4
4
|
import { ReactNode, ComponentType } from 'react';
|
|
5
5
|
import { THeroUiButtonVariant, THeroUiSize } from './theme/index.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TStyleName, j as IContentField } from './styles.registry-
|
|
2
|
-
export { B as BASE_STYLE_REGISTRY, k as IAccordionItemStyle, l as IAccordionStyle, m as IActionIconStyle, n as IAlertStyle, o as IAspectRatioStyle, p as IAudioStyle, q as IAvatarStyle, r as IBackgroundImageStyle, s as IBadgeStyle, t as IBaseStyle, u as IBlockquoteStyle, v as IBoxStyle, w as IButtonStyle, x as ICardSegmentStyle, y as ICardStyle, z as ICarouselStyle, A as ICenterStyle, C as ICheckboxStyle, D as IChipStyle, E as ICodeStyle, F as IColorInputStyle, G as IColorPickerStyle, H as IComboboxStyle, J as IContainerStyle, K as IDataContainerStyle, L as IDatePickerStyle, M as IDividerStyle, N as IEntryListStyle, O as IEntryRecordDeleteStyle, P as IEntryRecordStyle, Q as IFieldsetStyle, R as IFigureStyle, U as IFileInputStyle, V as IFlexStyle, W as IFormLogStyle, X as IFormRecordStyle, Y as IFormStyle, Z as IGridColumnStyle, $ as IGridStyle, a0 as IGroupStyle, a1 as IHighlightStyle, a2 as IHtmlTagStyle, a3 as IImageStyle, a4 as IIndicatorStyle, a5 as IInputStyle, a6 as IKbdStyle, a7 as ILinkStyle, a8 as IListItemStyle, a9 as IListStyle, aa as ILoginStyle, ab as ILoopStyle, ac as IMissingStyle, ad as INoAccessStyle, ae as INotFoundStyle, af as INotificationStyle, ag as INumberInputStyle, ah as IPaperStyle, a as IPluginStyleRegistryEntry, ai as IProfileStyle, aj as IProgressRootStyle, ak as IProgressSectionStyle, al as IProgressStyle, am as IRadioStyle, an as IRangeSliderStyle, ao as IRatingStyle, ap as IRefContainerStyle, aq as IRegisterStyle, ar as IResetPasswordStyle, as as IRichTextEditorStyle, at as IScrollAreaStyle, au as ISegmentedControlStyle, av as ISelectStyle, aw as IShowUserInputEntry, ax as IShowUserInputStyle, ay as ISimpleGridStyle, az as ISliderStyle, aA as ISpaceStyle, aB as ISpoilerStyle, aC as IStackStyle, I as IStyleRegistryEntry, aD as IStyleWithSpacing, aE as ISwitchStyle, aF as ITabStyle, aG as ITabsStyle, aH as ITextInputStyle, aI as ITextStyle, aJ as ITextareaStyle, aK as IThemeIconStyle, aL as ITimelineItemStyle, aM as ITimelineStyle, aN as ITitleStyle, aO as ITwoFactorAuthStyle, aP as ITypographyStyle, aQ as IUnknownStyle, aR as IValidateStyle, aS as IVersionStyle, aT as IVideoStyle, S as STYLE_REGISTRY, c as TConcretePlatform, aU as TMantineAccordionChevronPosition, aV as TMantineAccordionDisableChevronRotation, aW as TMantineAccordionLoop, aX as TMantineAccordionMultiple, aY as
|
|
1
|
+
import { T as TStyleName, j as IContentField } from './styles.registry-D6u2lOw8.js';
|
|
2
|
+
export { B as BASE_STYLE_REGISTRY, k as IAccordionItemStyle, l as IAccordionStyle, m as IActionIconStyle, n as IAlertStyle, o as IAspectRatioStyle, p as IAudioStyle, q as IAvatarStyle, r as IBackgroundImageStyle, s as IBadgeStyle, t as IBaseStyle, u as IBlockquoteStyle, v as IBoxStyle, w as IButtonStyle, x as ICardSegmentStyle, y as ICardStyle, z as ICarouselStyle, A as ICenterStyle, C as ICheckboxStyle, D as IChipStyle, E as ICodeStyle, F as IColorInputStyle, G as IColorPickerStyle, H as IComboboxStyle, J as IContainerStyle, K as IDataContainerStyle, L as IDatePickerStyle, M as IDividerStyle, N as IEntryListStyle, O as IEntryRecordDeleteStyle, P as IEntryRecordStyle, Q as IFieldsetStyle, R as IFigureStyle, U as IFileInputStyle, V as IFlexStyle, W as IFormLogStyle, X as IFormRecordStyle, Y as IFormStyle, Z as IGridColumnStyle, $ as IGridStyle, a0 as IGroupStyle, a1 as IHighlightStyle, a2 as IHtmlTagStyle, a3 as IImageStyle, a4 as IIndicatorStyle, a5 as IInputStyle, a6 as IKbdStyle, a7 as ILinkStyle, a8 as IListItemStyle, a9 as IListStyle, aa as ILoginStyle, ab as ILoopStyle, ac as IMissingStyle, ad as INoAccessStyle, ae as INotFoundStyle, af as INotificationStyle, ag as INumberInputStyle, ah as IPaperStyle, a as IPluginStyleRegistryEntry, ai as IProfileStyle, aj as IProgressRootStyle, ak as IProgressSectionStyle, al as IProgressStyle, am as IRadioStyle, an as IRangeSliderStyle, ao as IRatingStyle, ap as IRefContainerStyle, aq as IRegisterStyle, ar as IResetPasswordStyle, as as IRichTextEditorStyle, at as IScrollAreaStyle, au as ISegmentedControlStyle, av as ISelectStyle, aw as IShowUserInputEntry, ax as IShowUserInputStyle, ay as ISimpleGridStyle, az as ISliderStyle, aA as ISpaceStyle, aB as ISpoilerStyle, aC as IStackStyle, I as IStyleRegistryEntry, aD as IStyleWithSpacing, aE as ISwitchStyle, aF as ITabStyle, aG as ITabsStyle, aH as ITextInputStyle, aI as ITextStyle, aJ as ITextareaStyle, aK as IThemeIconStyle, aL as ITimelineItemStyle, aM as ITimelineStyle, aN as ITitleStyle, aO as ITwoFactorAuthStyle, aP as ITypographyStyle, aQ as IUnknownStyle, aR as IValidateStyle, aS as IVersionStyle, aT as IVideoStyle, S as STYLE_REGISTRY, c as TConcretePlatform, aU as TMantineAccordionChevronPosition, aV as TMantineAccordionDisableChevronRotation, aW as TMantineAccordionLoop, aX as TMantineAccordionMultiple, aY as TMantineAnchorUnderline, aZ as TMantineBorder, a_ as TMantineCardPadding, a$ as TMantineCardShadow, b0 as TMantineCols, b1 as TMantineDividerVariant, b2 as TMantineGap, b3 as TMantineGridOffset, b4 as TMantineGridOrder, b5 as TMantineHeight, b6 as TMantineIconSize, b7 as TMantineImageFit, b8 as TMantineLineClamp, b9 as TMantineListCenter, ba as TMantineListStyleType, bb as TMantineListType, bc as TMantineListWithPadding, bd as TMantinePaperShadow, be as TMantineProgressTransition, bf as TMantineScrollAreaSize, bg as TMantineScrollAreaType, bh as TMantineTextAlign, bi as TMantineTextDecoration, bj as TMantineTextFontStyle, bk as TMantineTextFontWeight, bl as TMantineTextInherit, bm as TMantineTextInputVariant, bn as TMantineTextSpan, bo as TMantineTextTransform, bp as TMantineTextTruncate, bq as TMantineTextVariant, br as TMantineTextareaAutosize, bs as TMantineTextareaResize, bt as TMantineTextareaVariant, bu as TMantineTimelineAlign, bv as TMantineTitleLineClamp, bw as TMantineTitleTextWrap, bx as TMantineTranslatable, by as TMantineUseInputWrapper, bz as TMantineWidth, bA as TSharedBorder, bB as TSharedCols, bC as TSharedDimension, bD as TSharedDividerLabelPosition, bE as TSharedDividerVariant, bF as TSharedLabelPosition, bG as TStyle, b as TStylePlacement, d as TStylePlatform, e as TStyleRegistryKey, _ as _AssertRegistryMatchesStyleName, f as _resetPluginStyleRegistry, g as extendStyleRegistry, h as getMergedStyleRegistry, i as getPluginStyleRegistry } from './styles.registry-D6u2lOw8.js';
|
|
3
3
|
export { v as TMantineAccordionVariant, z as TMantineActionIconLoading, d as TMantineAlign, A as TMantineAllowNextClicks, B as TMantineAllowStepClick, C as TMantineAspectRatio, D as TMantineAutoContrast, r as TMantineAvatarVariant, q as TMantineBadgeVariant, E as TMantineBlock, F as TMantineCenterInline, G as TMantineChecked, H as TMantineChipChecked, I as TMantineChipMultiple, s as TMantineChipVariant, J as TMantineClampBehavior, K as TMantineCodeBlock, T as TMantineColor, L as TMantineColorFormat, M as TMantineColorInputSwatches, N as TMantineColorPickerSwatches, O as TMantineColorPickerSwatchesPerRow, P as TMantineCompact, Q as TMantineContainerFluid, e as TMantineDirection, R as TMantineDisabled, n as TMantineFieldsetVariant, S as TMantineFileAccept, U as TMantineFileInputMultiple, V as TMantineFluid, W as TMantineFullWidth, i as TMantineGridGrow, g as TMantineGridOverflow, h as TMantineGridSpan, X as TMantineGroupGrow, Y as TMantineGroupWrap, Z as TMantineGrow, _ as TMantineHighlight, t as TMantineIndicatorPosition, $ as TMantineInline, a0 as TMantineIsLink, c as TMantineJustify, a1 as TMantineKbdSize, a2 as TMantineLoading, a3 as TMantineMultiple, a4 as TMantineNotificationWithCloseButton, a5 as TMantineNumberInputDecimalScale, a6 as TMantineOpenInNewTab, j as TMantineOrientation, a7 as TMantineProcessing, a as TMantineRadius, a8 as TMantineRangeSliderMarks, a9 as TMantineRatingCount, aa as TMantineRatingFractions, ab as TMantineRatingReadonly, ac as TMantineReadonly, m as TMantineSize, ad as TMantineSpaceHorizontal, y as TMantineSpacing, o as TMantineSpoilerMaxHeight, ae as TMantineSwatches, af as TMantineTabDisabled, w as TMantineTabsVariant, u as TMantineThemeIconVariant, x as TMantineTimelineLineVariant, l as TMantineTitleOrder, ag as TMantineUseMantineStyle, p as TMantineVariant, ah as TMantineWithCloseButton, ai as TMantineWithIcon, f as TMantineWrap, k as TSharedRadius, b as TSharedSize } from './common-DMm4kymA.js';
|
|
4
4
|
import { ReactNode, ComponentType } from 'react';
|
|
5
5
|
import { THeroUiButtonVariant, THeroUiSize } from './theme/index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { I as IPluginManifest, a as IPluginManifestAdminPage, b as IPluginManifestApiRoute, c as IPluginManifestAsset, d as IPluginManifestCapability, e as IPluginManifestCompatibility, f as IPluginManifestConflict, g as IPluginManifestDataAccess, h as IPluginManifestDependency, i as IPluginManifestExternalHost, j as IPluginManifestFeatureFlag, k as IPluginManifestHealth, l as IPluginManifestLookupExtension, m as IPluginManifestMobile, n as IPluginManifestPermission, o as IPluginManifestRealtimeTopic, p as IPluginManifestScheduledJob, q as IPluginManifestSecurity, r as IPluginManifestStyle, s as IPluginManifestTrustLevel } from '../manifest-C8sBTLJb.mjs';
|
|
2
|
-
import { I as IStyleRegistryEntry } from '../styles.registry-
|
|
2
|
+
import { I as IStyleRegistryEntry } from '../styles.registry-DPNHAOM1.mjs';
|
|
3
3
|
import '../common-DMm4kymA.mjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { I as IPluginManifest, a as IPluginManifestAdminPage, b as IPluginManifestApiRoute, c as IPluginManifestAsset, d as IPluginManifestCapability, e as IPluginManifestCompatibility, f as IPluginManifestConflict, g as IPluginManifestDataAccess, h as IPluginManifestDependency, i as IPluginManifestExternalHost, j as IPluginManifestFeatureFlag, k as IPluginManifestHealth, l as IPluginManifestLookupExtension, m as IPluginManifestMobile, n as IPluginManifestPermission, o as IPluginManifestRealtimeTopic, p as IPluginManifestScheduledJob, q as IPluginManifestSecurity, r as IPluginManifestStyle, s as IPluginManifestTrustLevel } from '../manifest-C8sBTLJb.js';
|
|
2
|
-
import { I as IStyleRegistryEntry } from '../styles.registry-
|
|
2
|
+
import { I as IStyleRegistryEntry } from '../styles.registry-D6u2lOw8.js';
|
|
3
3
|
import '../common-DMm4kymA.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TStyleName, I as IStyleRegistryEntry, a as IPluginStyleRegistryEntry, b as TStylePlacement, c as TConcretePlatform, d as TStylePlatform } from '../styles.registry-
|
|
2
|
-
export { B as BASE_STYLE_REGISTRY, S as STYLE_REGISTRY, e as TStyleRegistryKey, _ as _AssertRegistryMatchesStyleName, f as _resetPluginStyleRegistry, g as extendStyleRegistry, h as getMergedStyleRegistry, i as getPluginStyleRegistry } from '../styles.registry-
|
|
1
|
+
import { T as TStyleName, I as IStyleRegistryEntry, a as IPluginStyleRegistryEntry, b as TStylePlacement, c as TConcretePlatform, d as TStylePlatform } from '../styles.registry-DPNHAOM1.mjs';
|
|
2
|
+
export { B as BASE_STYLE_REGISTRY, S as STYLE_REGISTRY, e as TStyleRegistryKey, _ as _AssertRegistryMatchesStyleName, f as _resetPluginStyleRegistry, g as extendStyleRegistry, h as getMergedStyleRegistry, i as getPluginStyleRegistry } from '../styles.registry-DPNHAOM1.mjs';
|
|
3
3
|
import '../common-DMm4kymA.mjs';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/registry/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TStyleName, I as IStyleRegistryEntry, a as IPluginStyleRegistryEntry, b as TStylePlacement, c as TConcretePlatform, d as TStylePlatform } from '../styles.registry-
|
|
2
|
-
export { B as BASE_STYLE_REGISTRY, S as STYLE_REGISTRY, e as TStyleRegistryKey, _ as _AssertRegistryMatchesStyleName, f as _resetPluginStyleRegistry, g as extendStyleRegistry, h as getMergedStyleRegistry, i as getPluginStyleRegistry } from '../styles.registry-
|
|
1
|
+
import { T as TStyleName, I as IStyleRegistryEntry, a as IPluginStyleRegistryEntry, b as TStylePlacement, c as TConcretePlatform, d as TStylePlatform } from '../styles.registry-D6u2lOw8.js';
|
|
2
|
+
export { B as BASE_STYLE_REGISTRY, S as STYLE_REGISTRY, e as TStyleRegistryKey, _ as _AssertRegistryMatchesStyleName, f as _resetPluginStyleRegistry, g as extendStyleRegistry, h as getMergedStyleRegistry, i as getPluginStyleRegistry } from '../styles.registry-D6u2lOw8.js';
|
|
3
3
|
import '../common-DMm4kymA.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -393,7 +393,8 @@ interface IHighlightStyle extends IStyleWithSpacing {
|
|
|
393
393
|
}
|
|
394
394
|
interface IBlockquoteStyle extends IStyleWithSpacing {
|
|
395
395
|
style_name: 'blockquote';
|
|
396
|
-
content
|
|
396
|
+
/** Quote body. Dedicated markdown-inline field (not the generic `content`) so authors can bold/italic/link inside the quote without affecting the `code` style. */
|
|
397
|
+
blockquote_content?: IContentField<string>;
|
|
397
398
|
cite?: IContentField<string>;
|
|
398
399
|
web_left_icon?: IContentField<string>;
|
|
399
400
|
web_icon_size?: IContentField<TMantineIconSize>;
|
|
@@ -425,6 +426,8 @@ interface ISpoilerStyle extends IStyleWithSpacing {
|
|
|
425
426
|
web_height?: IContentField<TMantineSpoilerMaxHeight>;
|
|
426
427
|
spoiler_show_label?: IContentField<string>;
|
|
427
428
|
spoiler_hide_label?: IContentField<string>;
|
|
429
|
+
/** Color of the show/hide control link. */
|
|
430
|
+
shared_color?: IContentField<TMantineColor>;
|
|
428
431
|
}
|
|
429
432
|
|
|
430
433
|
type TMantineImageFit = 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
|
|
@@ -440,21 +443,38 @@ interface IImageStyle extends IStyleWithSpacing {
|
|
|
440
443
|
web_width?: IContentField<TMantineWidth>;
|
|
441
444
|
web_height?: IContentField<TMantineHeight>;
|
|
442
445
|
shared_radius?: IContentField<TMantineRadius>;
|
|
446
|
+
/** Image shown when the main source fails to load (Mantine Image fallbackSrc). */
|
|
447
|
+
fallback_src?: IContentField<string>;
|
|
443
448
|
}
|
|
444
|
-
interface IVideoStyle extends
|
|
449
|
+
interface IVideoStyle extends IStyleWithSpacing {
|
|
445
450
|
style_name: 'video';
|
|
446
451
|
is_fluid?: IContentField<string>;
|
|
447
452
|
alt?: IContentField<string>;
|
|
448
|
-
|
|
453
|
+
video_src?: IContentField<string>;
|
|
454
|
+
/** Poster image shown before playback. */
|
|
455
|
+
poster_src?: IContentField<string>;
|
|
456
|
+
/** Cross-platform playback toggles ('0' | '1'). */
|
|
457
|
+
has_controls?: IContentField<string>;
|
|
458
|
+
media_loop?: IContentField<string>;
|
|
459
|
+
media_autoplay?: IContentField<string>;
|
|
460
|
+
media_muted?: IContentField<string>;
|
|
449
461
|
}
|
|
450
|
-
interface IAudioStyle extends
|
|
462
|
+
interface IAudioStyle extends IStyleWithSpacing {
|
|
451
463
|
style_name: 'audio';
|
|
464
|
+
alt?: IContentField<string>;
|
|
452
465
|
sources?: IContentField<unknown[]>;
|
|
466
|
+
/** Cross-platform playback toggles ('0' | '1'). */
|
|
467
|
+
has_controls?: IContentField<string>;
|
|
468
|
+
media_loop?: IContentField<string>;
|
|
469
|
+
media_autoplay?: IContentField<string>;
|
|
453
470
|
}
|
|
454
471
|
interface IFigureStyle extends IBaseStyle {
|
|
455
472
|
style_name: 'figure';
|
|
456
473
|
caption_title?: IContentField<string>;
|
|
457
474
|
caption?: IContentField<string>;
|
|
475
|
+
/** Optional built-in image so a figure needs no child image section. */
|
|
476
|
+
img_src?: IContentField<string>;
|
|
477
|
+
alt?: IContentField<string>;
|
|
458
478
|
}
|
|
459
479
|
interface ICarouselStyle extends IStyleWithSpacing {
|
|
460
480
|
style_name: 'carousel';
|
|
@@ -481,6 +501,8 @@ interface ICarouselStyle extends IStyleWithSpacing {
|
|
|
481
501
|
web_carousel_embla_options?: IContentField<string>;
|
|
482
502
|
}
|
|
483
503
|
|
|
504
|
+
/** Mantine `Anchor` `underline` behaviour. */
|
|
505
|
+
type TMantineAnchorUnderline = 'always' | 'hover' | 'never';
|
|
484
506
|
interface IButtonStyle extends IStyleWithSpacing {
|
|
485
507
|
style_name: 'button';
|
|
486
508
|
shared_variant?: IContentField<TMantineVariant>;
|
|
@@ -508,6 +530,10 @@ interface ILinkStyle extends IStyleWithSpacing {
|
|
|
508
530
|
label?: IContentField<string>;
|
|
509
531
|
url?: IContentField<string>;
|
|
510
532
|
open_in_new_tab?: IContentField<string>;
|
|
533
|
+
shared_color?: IContentField<TMantineColor>;
|
|
534
|
+
web_link_underline?: IContentField<TMantineAnchorUnderline>;
|
|
535
|
+
web_left_icon?: IContentField<string>;
|
|
536
|
+
web_right_icon?: IContentField<string>;
|
|
511
537
|
}
|
|
512
538
|
interface IActionIconStyle extends IStyleWithSpacing {
|
|
513
539
|
style_name: 'action-icon';
|
|
@@ -521,6 +547,8 @@ interface IActionIconStyle extends IStyleWithSpacing {
|
|
|
521
547
|
page_keyword?: IContentField<string>;
|
|
522
548
|
open_in_new_tab?: IContentField<string>;
|
|
523
549
|
disabled?: IContentField<string>;
|
|
550
|
+
/** Accessible name for the icon-only control (screen readers). */
|
|
551
|
+
aria_label?: IContentField<string>;
|
|
524
552
|
}
|
|
525
553
|
interface IAlertStyle extends IStyleWithSpacing {
|
|
526
554
|
style_name: 'alert';
|
|
@@ -677,6 +705,10 @@ interface ITextInputStyle extends IStyleWithSpacing {
|
|
|
677
705
|
shared_size?: IContentField<TSharedSize>;
|
|
678
706
|
shared_radius?: IContentField<TSharedRadius>;
|
|
679
707
|
web_text_input_variant?: IContentField<TMantineTextInputVariant>;
|
|
708
|
+
shared_max_length?: IContentField<string>;
|
|
709
|
+
mobile_keyboard_type?: IContentField<string>;
|
|
710
|
+
mobile_auto_capitalize?: IContentField<string>;
|
|
711
|
+
mobile_secure_entry?: IContentField<string>;
|
|
680
712
|
translatable?: IContentField<TMantineTranslatable>;
|
|
681
713
|
}
|
|
682
714
|
interface ITextareaStyle extends IStyleWithSpacing {
|
|
@@ -700,6 +732,8 @@ interface ITextareaStyle extends IStyleWithSpacing {
|
|
|
700
732
|
shared_size?: IContentField<TSharedSize>;
|
|
701
733
|
shared_radius?: IContentField<TSharedRadius>;
|
|
702
734
|
web_textarea_variant?: IContentField<TMantineTextareaVariant>;
|
|
735
|
+
shared_max_length?: IContentField<string>;
|
|
736
|
+
mobile_auto_capitalize?: IContentField<string>;
|
|
703
737
|
translatable?: IContentField<TMantineTranslatable>;
|
|
704
738
|
}
|
|
705
739
|
interface IRichTextEditorStyle extends IStyleWithSpacing {
|
|
@@ -720,7 +754,6 @@ interface IRichTextEditorStyle extends IStyleWithSpacing {
|
|
|
720
754
|
}
|
|
721
755
|
interface ISelectStyle extends IBaseStyle {
|
|
722
756
|
style_name: 'select';
|
|
723
|
-
alt?: IContentField<string>;
|
|
724
757
|
is_required?: IContentField<string>;
|
|
725
758
|
name?: IContentField<string>;
|
|
726
759
|
value?: IContentField<string>;
|
|
@@ -856,6 +889,8 @@ interface ISwitchStyle extends IStyleWithSpacing {
|
|
|
856
889
|
web_switch_on_value?: IContentField<string>;
|
|
857
890
|
web_use_input_wrapper?: IContentField<string>;
|
|
858
891
|
web_switch_off_value?: IContentField<string>;
|
|
892
|
+
web_switch_with_thumb_indicator?: IContentField<string>;
|
|
893
|
+
web_switch_thumb_icon?: IContentField<string>;
|
|
859
894
|
}
|
|
860
895
|
interface IComboboxStyle extends IStyleWithSpacing {
|
|
861
896
|
style_name: 'combobox';
|
|
@@ -879,6 +914,9 @@ interface IColorInputStyle extends IStyleWithSpacing {
|
|
|
879
914
|
label?: IContentField<string>;
|
|
880
915
|
web_color_format?: IContentField<string>;
|
|
881
916
|
web_color_input_swatches?: IContentField<string>;
|
|
917
|
+
web_color_input_with_eye_dropper?: IContentField<string>;
|
|
918
|
+
web_color_input_disallow_input?: IContentField<string>;
|
|
919
|
+
web_color_input_with_preview?: IContentField<string>;
|
|
882
920
|
shared_size?: IContentField<TSharedSize>;
|
|
883
921
|
shared_radius?: IContentField<TSharedRadius>;
|
|
884
922
|
placeholder?: IContentField<string>;
|
|
@@ -933,6 +971,11 @@ interface INumberInputStyle extends IStyleWithSpacing {
|
|
|
933
971
|
web_numeric_step?: IContentField<string>;
|
|
934
972
|
web_number_input_decimal_scale?: IContentField<string>;
|
|
935
973
|
web_number_input_clamp_behavior?: IContentField<string>;
|
|
974
|
+
web_number_input_prefix?: IContentField<string>;
|
|
975
|
+
web_number_input_suffix?: IContentField<string>;
|
|
976
|
+
web_number_input_thousand_separator?: IContentField<string>;
|
|
977
|
+
web_number_input_allow_negative?: IContentField<string>;
|
|
978
|
+
web_number_input_hide_controls?: IContentField<string>;
|
|
936
979
|
shared_size?: IContentField<TSharedSize>;
|
|
937
980
|
shared_radius?: IContentField<TSharedRadius>;
|
|
938
981
|
placeholder?: IContentField<string>;
|
|
@@ -990,6 +1033,7 @@ interface IProgressStyle extends IStyleWithSpacing {
|
|
|
990
1033
|
interface IProgressRootStyle extends IBaseStyle {
|
|
991
1034
|
style_name: 'progress-root';
|
|
992
1035
|
shared_size?: IContentField<TSharedSize>;
|
|
1036
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
993
1037
|
web_progress_auto_contrast?: IContentField<string>;
|
|
994
1038
|
}
|
|
995
1039
|
interface IProgressSectionStyle extends IBaseStyle {
|
|
@@ -1069,6 +1113,10 @@ interface ITabsStyle extends IStyleWithSpacing {
|
|
|
1069
1113
|
web_tabs_orientation?: IContentField<TMantineOrientation>;
|
|
1070
1114
|
web_tabs_radius?: IContentField<TMantineRadius>;
|
|
1071
1115
|
shared_color?: IContentField<TMantineColor>;
|
|
1116
|
+
web_tabs_grow?: IContentField<string>;
|
|
1117
|
+
web_tabs_justify?: IContentField<string>;
|
|
1118
|
+
web_tabs_keep_mounted?: IContentField<string>;
|
|
1119
|
+
web_tabs_placement?: IContentField<string>;
|
|
1072
1120
|
web_width?: IContentField<TMantineWidth>;
|
|
1073
1121
|
web_height?: IContentField<TMantineHeight>;
|
|
1074
1122
|
}
|
|
@@ -2517,4 +2565,4 @@ declare function getPluginStyleRegistry(): Record<string, IPluginStyleRegistryEn
|
|
|
2517
2565
|
*/
|
|
2518
2566
|
declare function _resetPluginStyleRegistry(): void;
|
|
2519
2567
|
|
|
2520
|
-
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
|
|
2568
|
+
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 TMantineCardShadow 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 TMantineAnchorUnderline as aY, type TMantineBorder as aZ, type TMantineCardPadding 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 TMantineCols as b0, type TMantineDividerVariant as b1, type TMantineGap as b2, type TMantineGridOffset as b3, type TMantineGridOrder as b4, type TMantineHeight as b5, type TMantineIconSize as b6, type TMantineImageFit as b7, type TMantineLineClamp as b8, type TMantineListCenter as b9, type TSharedBorder as bA, type TSharedCols as bB, type TSharedDimension as bC, type TSharedDividerLabelPosition as bD, type TSharedDividerVariant as bE, type TSharedLabelPosition as bF, type TStyle as bG, type TMantineListStyleType as ba, type TMantineListType as bb, type TMantineListWithPadding as bc, type TMantinePaperShadow as bd, type TMantineProgressTransition as be, type TMantineScrollAreaSize as bf, type TMantineScrollAreaType as bg, type TMantineTextAlign as bh, type TMantineTextDecoration as bi, type TMantineTextFontStyle as bj, type TMantineTextFontWeight as bk, type TMantineTextInherit as bl, type TMantineTextInputVariant as bm, type TMantineTextSpan as bn, type TMantineTextTransform as bo, type TMantineTextTruncate as bp, type TMantineTextVariant as bq, type TMantineTextareaAutosize as br, type TMantineTextareaResize as bs, type TMantineTextareaVariant as bt, type TMantineTimelineAlign as bu, type TMantineTitleLineClamp as bv, type TMantineTitleTextWrap as bw, type TMantineTranslatable as bx, type TMantineUseInputWrapper as by, type TMantineWidth 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 };
|
|
@@ -393,7 +393,8 @@ interface IHighlightStyle extends IStyleWithSpacing {
|
|
|
393
393
|
}
|
|
394
394
|
interface IBlockquoteStyle extends IStyleWithSpacing {
|
|
395
395
|
style_name: 'blockquote';
|
|
396
|
-
content
|
|
396
|
+
/** Quote body. Dedicated markdown-inline field (not the generic `content`) so authors can bold/italic/link inside the quote without affecting the `code` style. */
|
|
397
|
+
blockquote_content?: IContentField<string>;
|
|
397
398
|
cite?: IContentField<string>;
|
|
398
399
|
web_left_icon?: IContentField<string>;
|
|
399
400
|
web_icon_size?: IContentField<TMantineIconSize>;
|
|
@@ -425,6 +426,8 @@ interface ISpoilerStyle extends IStyleWithSpacing {
|
|
|
425
426
|
web_height?: IContentField<TMantineSpoilerMaxHeight>;
|
|
426
427
|
spoiler_show_label?: IContentField<string>;
|
|
427
428
|
spoiler_hide_label?: IContentField<string>;
|
|
429
|
+
/** Color of the show/hide control link. */
|
|
430
|
+
shared_color?: IContentField<TMantineColor>;
|
|
428
431
|
}
|
|
429
432
|
|
|
430
433
|
type TMantineImageFit = 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
|
|
@@ -440,21 +443,38 @@ interface IImageStyle extends IStyleWithSpacing {
|
|
|
440
443
|
web_width?: IContentField<TMantineWidth>;
|
|
441
444
|
web_height?: IContentField<TMantineHeight>;
|
|
442
445
|
shared_radius?: IContentField<TMantineRadius>;
|
|
446
|
+
/** Image shown when the main source fails to load (Mantine Image fallbackSrc). */
|
|
447
|
+
fallback_src?: IContentField<string>;
|
|
443
448
|
}
|
|
444
|
-
interface IVideoStyle extends
|
|
449
|
+
interface IVideoStyle extends IStyleWithSpacing {
|
|
445
450
|
style_name: 'video';
|
|
446
451
|
is_fluid?: IContentField<string>;
|
|
447
452
|
alt?: IContentField<string>;
|
|
448
|
-
|
|
453
|
+
video_src?: IContentField<string>;
|
|
454
|
+
/** Poster image shown before playback. */
|
|
455
|
+
poster_src?: IContentField<string>;
|
|
456
|
+
/** Cross-platform playback toggles ('0' | '1'). */
|
|
457
|
+
has_controls?: IContentField<string>;
|
|
458
|
+
media_loop?: IContentField<string>;
|
|
459
|
+
media_autoplay?: IContentField<string>;
|
|
460
|
+
media_muted?: IContentField<string>;
|
|
449
461
|
}
|
|
450
|
-
interface IAudioStyle extends
|
|
462
|
+
interface IAudioStyle extends IStyleWithSpacing {
|
|
451
463
|
style_name: 'audio';
|
|
464
|
+
alt?: IContentField<string>;
|
|
452
465
|
sources?: IContentField<unknown[]>;
|
|
466
|
+
/** Cross-platform playback toggles ('0' | '1'). */
|
|
467
|
+
has_controls?: IContentField<string>;
|
|
468
|
+
media_loop?: IContentField<string>;
|
|
469
|
+
media_autoplay?: IContentField<string>;
|
|
453
470
|
}
|
|
454
471
|
interface IFigureStyle extends IBaseStyle {
|
|
455
472
|
style_name: 'figure';
|
|
456
473
|
caption_title?: IContentField<string>;
|
|
457
474
|
caption?: IContentField<string>;
|
|
475
|
+
/** Optional built-in image so a figure needs no child image section. */
|
|
476
|
+
img_src?: IContentField<string>;
|
|
477
|
+
alt?: IContentField<string>;
|
|
458
478
|
}
|
|
459
479
|
interface ICarouselStyle extends IStyleWithSpacing {
|
|
460
480
|
style_name: 'carousel';
|
|
@@ -481,6 +501,8 @@ interface ICarouselStyle extends IStyleWithSpacing {
|
|
|
481
501
|
web_carousel_embla_options?: IContentField<string>;
|
|
482
502
|
}
|
|
483
503
|
|
|
504
|
+
/** Mantine `Anchor` `underline` behaviour. */
|
|
505
|
+
type TMantineAnchorUnderline = 'always' | 'hover' | 'never';
|
|
484
506
|
interface IButtonStyle extends IStyleWithSpacing {
|
|
485
507
|
style_name: 'button';
|
|
486
508
|
shared_variant?: IContentField<TMantineVariant>;
|
|
@@ -508,6 +530,10 @@ interface ILinkStyle extends IStyleWithSpacing {
|
|
|
508
530
|
label?: IContentField<string>;
|
|
509
531
|
url?: IContentField<string>;
|
|
510
532
|
open_in_new_tab?: IContentField<string>;
|
|
533
|
+
shared_color?: IContentField<TMantineColor>;
|
|
534
|
+
web_link_underline?: IContentField<TMantineAnchorUnderline>;
|
|
535
|
+
web_left_icon?: IContentField<string>;
|
|
536
|
+
web_right_icon?: IContentField<string>;
|
|
511
537
|
}
|
|
512
538
|
interface IActionIconStyle extends IStyleWithSpacing {
|
|
513
539
|
style_name: 'action-icon';
|
|
@@ -521,6 +547,8 @@ interface IActionIconStyle extends IStyleWithSpacing {
|
|
|
521
547
|
page_keyword?: IContentField<string>;
|
|
522
548
|
open_in_new_tab?: IContentField<string>;
|
|
523
549
|
disabled?: IContentField<string>;
|
|
550
|
+
/** Accessible name for the icon-only control (screen readers). */
|
|
551
|
+
aria_label?: IContentField<string>;
|
|
524
552
|
}
|
|
525
553
|
interface IAlertStyle extends IStyleWithSpacing {
|
|
526
554
|
style_name: 'alert';
|
|
@@ -677,6 +705,10 @@ interface ITextInputStyle extends IStyleWithSpacing {
|
|
|
677
705
|
shared_size?: IContentField<TSharedSize>;
|
|
678
706
|
shared_radius?: IContentField<TSharedRadius>;
|
|
679
707
|
web_text_input_variant?: IContentField<TMantineTextInputVariant>;
|
|
708
|
+
shared_max_length?: IContentField<string>;
|
|
709
|
+
mobile_keyboard_type?: IContentField<string>;
|
|
710
|
+
mobile_auto_capitalize?: IContentField<string>;
|
|
711
|
+
mobile_secure_entry?: IContentField<string>;
|
|
680
712
|
translatable?: IContentField<TMantineTranslatable>;
|
|
681
713
|
}
|
|
682
714
|
interface ITextareaStyle extends IStyleWithSpacing {
|
|
@@ -700,6 +732,8 @@ interface ITextareaStyle extends IStyleWithSpacing {
|
|
|
700
732
|
shared_size?: IContentField<TSharedSize>;
|
|
701
733
|
shared_radius?: IContentField<TSharedRadius>;
|
|
702
734
|
web_textarea_variant?: IContentField<TMantineTextareaVariant>;
|
|
735
|
+
shared_max_length?: IContentField<string>;
|
|
736
|
+
mobile_auto_capitalize?: IContentField<string>;
|
|
703
737
|
translatable?: IContentField<TMantineTranslatable>;
|
|
704
738
|
}
|
|
705
739
|
interface IRichTextEditorStyle extends IStyleWithSpacing {
|
|
@@ -720,7 +754,6 @@ interface IRichTextEditorStyle extends IStyleWithSpacing {
|
|
|
720
754
|
}
|
|
721
755
|
interface ISelectStyle extends IBaseStyle {
|
|
722
756
|
style_name: 'select';
|
|
723
|
-
alt?: IContentField<string>;
|
|
724
757
|
is_required?: IContentField<string>;
|
|
725
758
|
name?: IContentField<string>;
|
|
726
759
|
value?: IContentField<string>;
|
|
@@ -856,6 +889,8 @@ interface ISwitchStyle extends IStyleWithSpacing {
|
|
|
856
889
|
web_switch_on_value?: IContentField<string>;
|
|
857
890
|
web_use_input_wrapper?: IContentField<string>;
|
|
858
891
|
web_switch_off_value?: IContentField<string>;
|
|
892
|
+
web_switch_with_thumb_indicator?: IContentField<string>;
|
|
893
|
+
web_switch_thumb_icon?: IContentField<string>;
|
|
859
894
|
}
|
|
860
895
|
interface IComboboxStyle extends IStyleWithSpacing {
|
|
861
896
|
style_name: 'combobox';
|
|
@@ -879,6 +914,9 @@ interface IColorInputStyle extends IStyleWithSpacing {
|
|
|
879
914
|
label?: IContentField<string>;
|
|
880
915
|
web_color_format?: IContentField<string>;
|
|
881
916
|
web_color_input_swatches?: IContentField<string>;
|
|
917
|
+
web_color_input_with_eye_dropper?: IContentField<string>;
|
|
918
|
+
web_color_input_disallow_input?: IContentField<string>;
|
|
919
|
+
web_color_input_with_preview?: IContentField<string>;
|
|
882
920
|
shared_size?: IContentField<TSharedSize>;
|
|
883
921
|
shared_radius?: IContentField<TSharedRadius>;
|
|
884
922
|
placeholder?: IContentField<string>;
|
|
@@ -933,6 +971,11 @@ interface INumberInputStyle extends IStyleWithSpacing {
|
|
|
933
971
|
web_numeric_step?: IContentField<string>;
|
|
934
972
|
web_number_input_decimal_scale?: IContentField<string>;
|
|
935
973
|
web_number_input_clamp_behavior?: IContentField<string>;
|
|
974
|
+
web_number_input_prefix?: IContentField<string>;
|
|
975
|
+
web_number_input_suffix?: IContentField<string>;
|
|
976
|
+
web_number_input_thousand_separator?: IContentField<string>;
|
|
977
|
+
web_number_input_allow_negative?: IContentField<string>;
|
|
978
|
+
web_number_input_hide_controls?: IContentField<string>;
|
|
936
979
|
shared_size?: IContentField<TSharedSize>;
|
|
937
980
|
shared_radius?: IContentField<TSharedRadius>;
|
|
938
981
|
placeholder?: IContentField<string>;
|
|
@@ -990,6 +1033,7 @@ interface IProgressStyle extends IStyleWithSpacing {
|
|
|
990
1033
|
interface IProgressRootStyle extends IBaseStyle {
|
|
991
1034
|
style_name: 'progress-root';
|
|
992
1035
|
shared_size?: IContentField<TSharedSize>;
|
|
1036
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
993
1037
|
web_progress_auto_contrast?: IContentField<string>;
|
|
994
1038
|
}
|
|
995
1039
|
interface IProgressSectionStyle extends IBaseStyle {
|
|
@@ -1069,6 +1113,10 @@ interface ITabsStyle extends IStyleWithSpacing {
|
|
|
1069
1113
|
web_tabs_orientation?: IContentField<TMantineOrientation>;
|
|
1070
1114
|
web_tabs_radius?: IContentField<TMantineRadius>;
|
|
1071
1115
|
shared_color?: IContentField<TMantineColor>;
|
|
1116
|
+
web_tabs_grow?: IContentField<string>;
|
|
1117
|
+
web_tabs_justify?: IContentField<string>;
|
|
1118
|
+
web_tabs_keep_mounted?: IContentField<string>;
|
|
1119
|
+
web_tabs_placement?: IContentField<string>;
|
|
1072
1120
|
web_width?: IContentField<TMantineWidth>;
|
|
1073
1121
|
web_height?: IContentField<TMantineHeight>;
|
|
1074
1122
|
}
|
|
@@ -2517,4 +2565,4 @@ declare function getPluginStyleRegistry(): Record<string, IPluginStyleRegistryEn
|
|
|
2517
2565
|
*/
|
|
2518
2566
|
declare function _resetPluginStyleRegistry(): void;
|
|
2519
2567
|
|
|
2520
|
-
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
|
|
2568
|
+
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 TMantineCardShadow 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 TMantineAnchorUnderline as aY, type TMantineBorder as aZ, type TMantineCardPadding 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 TMantineCols as b0, type TMantineDividerVariant as b1, type TMantineGap as b2, type TMantineGridOffset as b3, type TMantineGridOrder as b4, type TMantineHeight as b5, type TMantineIconSize as b6, type TMantineImageFit as b7, type TMantineLineClamp as b8, type TMantineListCenter as b9, type TSharedBorder as bA, type TSharedCols as bB, type TSharedDimension as bC, type TSharedDividerLabelPosition as bD, type TSharedDividerVariant as bE, type TSharedLabelPosition as bF, type TStyle as bG, type TMantineListStyleType as ba, type TMantineListType as bb, type TMantineListWithPadding as bc, type TMantinePaperShadow as bd, type TMantineProgressTransition as be, type TMantineScrollAreaSize as bf, type TMantineScrollAreaType as bg, type TMantineTextAlign as bh, type TMantineTextDecoration as bi, type TMantineTextFontStyle as bj, type TMantineTextFontWeight as bk, type TMantineTextInherit as bl, type TMantineTextInputVariant as bm, type TMantineTextSpan as bn, type TMantineTextTransform as bo, type TMantineTextTruncate as bp, type TMantineTextVariant as bq, type TMantineTextareaAutosize as br, type TMantineTextareaResize as bs, type TMantineTextareaVariant as bt, type TMantineTimelineAlign as bu, type TMantineTitleLineClamp as bv, type TMantineTitleTextWrap as bw, type TMantineTranslatable as bx, type TMantineUseInputWrapper as by, type TMantineWidth 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 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@selfhelp/shared",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.16",
|
|
4
4
|
"description": "Shared TypeScript package for SelfHelp web frontend and mobile app: style registry, types, API contracts, Mantine theme tokens, condition + interpolation engines, CMS class allow-list.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -69,6 +69,11 @@ export interface ITabsStyle extends IStyleWithSpacing {
|
|
|
69
69
|
web_tabs_orientation?: IContentField<TMantineOrientation>;
|
|
70
70
|
web_tabs_radius?: IContentField<TMantineRadius>;
|
|
71
71
|
shared_color?: IContentField<TMantineColor>;
|
|
72
|
+
// Capability pass (2026-06-22): list layout + panel mount behaviour.
|
|
73
|
+
web_tabs_grow?: IContentField<string>;
|
|
74
|
+
web_tabs_justify?: IContentField<string>;
|
|
75
|
+
web_tabs_keep_mounted?: IContentField<string>;
|
|
76
|
+
web_tabs_placement?: IContentField<string>;
|
|
72
77
|
web_width?: IContentField<TMantineWidth>;
|
|
73
78
|
web_height?: IContentField<TMantineHeight>;}
|
|
74
79
|
|
|
@@ -73,6 +73,11 @@ export interface ITextInputStyle extends IStyleWithSpacing {
|
|
|
73
73
|
web_right_icon?: IContentField<string>; shared_size?: IContentField<TSharedSize>;
|
|
74
74
|
shared_radius?: IContentField<TSharedRadius>;
|
|
75
75
|
web_text_input_variant?: IContentField<TMantineTextInputVariant>;
|
|
76
|
+
// Capability pass (2026-06-22): max length (web + mobile) + mobile keyboard knobs.
|
|
77
|
+
shared_max_length?: IContentField<string>;
|
|
78
|
+
mobile_keyboard_type?: IContentField<string>;
|
|
79
|
+
mobile_auto_capitalize?: IContentField<string>;
|
|
80
|
+
mobile_secure_entry?: IContentField<string>;
|
|
76
81
|
translatable?: IContentField<TMantineTranslatable>;
|
|
77
82
|
}
|
|
78
83
|
|
|
@@ -98,7 +103,11 @@ export interface ITextareaStyle extends IStyleWithSpacing {
|
|
|
98
103
|
web_textarea_resize?: IContentField<TMantineTextareaResize>;
|
|
99
104
|
shared_size?: IContentField<TSharedSize>;
|
|
100
105
|
shared_radius?: IContentField<TSharedRadius>;
|
|
101
|
-
web_textarea_variant?: IContentField<TMantineTextareaVariant>;
|
|
106
|
+
web_textarea_variant?: IContentField<TMantineTextareaVariant>;
|
|
107
|
+
// Capability pass (2026-06-22): max length (web + mobile) + mobile auto-capitalize.
|
|
108
|
+
shared_max_length?: IContentField<string>;
|
|
109
|
+
mobile_auto_capitalize?: IContentField<string>;
|
|
110
|
+
translatable?: IContentField<TMantineTranslatable>;
|
|
102
111
|
}
|
|
103
112
|
|
|
104
113
|
export interface IRichTextEditorStyle extends IStyleWithSpacing {
|
|
@@ -119,7 +128,6 @@ export interface IRichTextEditorStyle extends IStyleWithSpacing {
|
|
|
119
128
|
|
|
120
129
|
export interface ISelectStyle extends IBaseStyle {
|
|
121
130
|
style_name: 'select';
|
|
122
|
-
alt?: IContentField<string>;
|
|
123
131
|
is_required?: IContentField<string>;
|
|
124
132
|
name?: IContentField<string>;
|
|
125
133
|
value?: IContentField<string>;
|
|
@@ -259,6 +267,9 @@ export interface ISwitchStyle extends IStyleWithSpacing {
|
|
|
259
267
|
web_switch_on_value?: IContentField<string>;
|
|
260
268
|
web_use_input_wrapper?: IContentField<string>;
|
|
261
269
|
web_switch_off_value?: IContentField<string>;
|
|
270
|
+
// Capability pass (2026-06-22): thumb indicator + optional thumb icon.
|
|
271
|
+
web_switch_with_thumb_indicator?: IContentField<string>;
|
|
272
|
+
web_switch_thumb_icon?: IContentField<string>;
|
|
262
273
|
}
|
|
263
274
|
|
|
264
275
|
export interface IComboboxStyle extends IStyleWithSpacing {
|
|
@@ -283,6 +294,10 @@ export interface IColorInputStyle extends IStyleWithSpacing {
|
|
|
283
294
|
label?: IContentField<string>;
|
|
284
295
|
web_color_format?: IContentField<string>;
|
|
285
296
|
web_color_input_swatches?: IContentField<string>;
|
|
297
|
+
// Capability pass (2026-06-22): picker behaviour toggles.
|
|
298
|
+
web_color_input_with_eye_dropper?: IContentField<string>;
|
|
299
|
+
web_color_input_disallow_input?: IContentField<string>;
|
|
300
|
+
web_color_input_with_preview?: IContentField<string>;
|
|
286
301
|
shared_size?: IContentField<TSharedSize>;
|
|
287
302
|
shared_radius?: IContentField<TSharedRadius>;
|
|
288
303
|
placeholder?: IContentField<string>;
|
|
@@ -337,6 +352,12 @@ export interface INumberInputStyle extends IStyleWithSpacing {
|
|
|
337
352
|
web_numeric_step?: IContentField<string>;
|
|
338
353
|
web_number_input_decimal_scale?: IContentField<string>;
|
|
339
354
|
web_number_input_clamp_behavior?: IContentField<string>;
|
|
355
|
+
// Capability pass (2026-06-22): currency/units prefix-suffix + formatting.
|
|
356
|
+
web_number_input_prefix?: IContentField<string>;
|
|
357
|
+
web_number_input_suffix?: IContentField<string>;
|
|
358
|
+
web_number_input_thousand_separator?: IContentField<string>;
|
|
359
|
+
web_number_input_allow_negative?: IContentField<string>;
|
|
360
|
+
web_number_input_hide_controls?: IContentField<string>;
|
|
340
361
|
shared_size?: IContentField<TSharedSize>;
|
|
341
362
|
shared_radius?: IContentField<TSharedRadius>;
|
|
342
363
|
placeholder?: IContentField<string>;
|
|
@@ -394,6 +415,7 @@ export interface IProgressStyle extends IStyleWithSpacing {
|
|
|
394
415
|
export interface IProgressRootStyle extends IBaseStyle {
|
|
395
416
|
style_name: 'progress-root';
|
|
396
417
|
shared_size?: IContentField<TSharedSize>;
|
|
418
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
397
419
|
web_progress_auto_contrast?: IContentField<string>;}
|
|
398
420
|
|
|
399
421
|
export interface IProgressSectionStyle extends IBaseStyle {
|
|
@@ -16,6 +16,9 @@ import type {
|
|
|
16
16
|
} from '../mantine/common';
|
|
17
17
|
import type { TMantineIconSize } from './typography';
|
|
18
18
|
|
|
19
|
+
/** Mantine `Anchor` `underline` behaviour. */
|
|
20
|
+
export type TMantineAnchorUnderline = 'always' | 'hover' | 'never';
|
|
21
|
+
|
|
19
22
|
export interface IButtonStyle extends IStyleWithSpacing {
|
|
20
23
|
style_name: 'button';
|
|
21
24
|
shared_variant?: IContentField<TMantineVariant>;
|
|
@@ -43,6 +46,10 @@ export interface ILinkStyle extends IStyleWithSpacing {
|
|
|
43
46
|
label?: IContentField<string>;
|
|
44
47
|
url?: IContentField<string>;
|
|
45
48
|
open_in_new_tab?: IContentField<string>;
|
|
49
|
+
shared_color?: IContentField<TMantineColor>;
|
|
50
|
+
web_link_underline?: IContentField<TMantineAnchorUnderline>;
|
|
51
|
+
web_left_icon?: IContentField<string>;
|
|
52
|
+
web_right_icon?: IContentField<string>;
|
|
46
53
|
}
|
|
47
54
|
|
|
48
55
|
export interface IActionIconStyle extends IStyleWithSpacing {
|
|
@@ -56,7 +63,9 @@ export interface IActionIconStyle extends IStyleWithSpacing {
|
|
|
56
63
|
is_link?: IContentField<string>;
|
|
57
64
|
page_keyword?: IContentField<string>;
|
|
58
65
|
open_in_new_tab?: IContentField<string>;
|
|
59
|
-
disabled?: IContentField<string>;
|
|
66
|
+
disabled?: IContentField<string>;
|
|
67
|
+
/** Accessible name for the icon-only control (screen readers). */
|
|
68
|
+
aria_label?: IContentField<string>;}
|
|
60
69
|
|
|
61
70
|
export interface IAlertStyle extends IStyleWithSpacing {
|
|
62
71
|
style_name: 'alert';
|
|
@@ -19,24 +19,41 @@ export interface IImageStyle extends IStyleWithSpacing {
|
|
|
19
19
|
web_image_fit?: IContentField<TMantineImageFit>;
|
|
20
20
|
web_width?: IContentField<TMantineWidth>;
|
|
21
21
|
web_height?: IContentField<TMantineHeight>;
|
|
22
|
-
shared_radius?: IContentField<TMantineRadius>;
|
|
22
|
+
shared_radius?: IContentField<TMantineRadius>;
|
|
23
|
+
/** Image shown when the main source fails to load (Mantine Image fallbackSrc). */
|
|
24
|
+
fallback_src?: IContentField<string>;}
|
|
23
25
|
|
|
24
|
-
export interface IVideoStyle extends
|
|
26
|
+
export interface IVideoStyle extends IStyleWithSpacing {
|
|
25
27
|
style_name: 'video';
|
|
26
28
|
is_fluid?: IContentField<string>;
|
|
27
29
|
alt?: IContentField<string>;
|
|
28
|
-
|
|
30
|
+
video_src?: IContentField<string>;
|
|
31
|
+
/** Poster image shown before playback. */
|
|
32
|
+
poster_src?: IContentField<string>;
|
|
33
|
+
/** Cross-platform playback toggles ('0' | '1'). */
|
|
34
|
+
has_controls?: IContentField<string>;
|
|
35
|
+
media_loop?: IContentField<string>;
|
|
36
|
+
media_autoplay?: IContentField<string>;
|
|
37
|
+
media_muted?: IContentField<string>;
|
|
29
38
|
}
|
|
30
39
|
|
|
31
|
-
export interface IAudioStyle extends
|
|
40
|
+
export interface IAudioStyle extends IStyleWithSpacing {
|
|
32
41
|
style_name: 'audio';
|
|
42
|
+
alt?: IContentField<string>;
|
|
33
43
|
sources?: IContentField<unknown[]>;
|
|
44
|
+
/** Cross-platform playback toggles ('0' | '1'). */
|
|
45
|
+
has_controls?: IContentField<string>;
|
|
46
|
+
media_loop?: IContentField<string>;
|
|
47
|
+
media_autoplay?: IContentField<string>;
|
|
34
48
|
}
|
|
35
49
|
|
|
36
50
|
export interface IFigureStyle extends IBaseStyle {
|
|
37
51
|
style_name: 'figure';
|
|
38
52
|
caption_title?: IContentField<string>;
|
|
39
53
|
caption?: IContentField<string>;
|
|
54
|
+
/** Optional built-in image so a figure needs no child image section. */
|
|
55
|
+
img_src?: IContentField<string>;
|
|
56
|
+
alt?: IContentField<string>;
|
|
40
57
|
}
|
|
41
58
|
|
|
42
59
|
export interface ICarouselStyle extends IStyleWithSpacing {
|
|
@@ -72,7 +72,8 @@ export interface IHighlightStyle extends IStyleWithSpacing {
|
|
|
72
72
|
|
|
73
73
|
export interface IBlockquoteStyle extends IStyleWithSpacing {
|
|
74
74
|
style_name: 'blockquote';
|
|
75
|
-
content
|
|
75
|
+
/** Quote body. Dedicated markdown-inline field (not the generic `content`) so authors can bold/italic/link inside the quote without affecting the `code` style. */
|
|
76
|
+
blockquote_content?: IContentField<string>;
|
|
76
77
|
cite?: IContentField<string>;
|
|
77
78
|
web_left_icon?: IContentField<string>;
|
|
78
79
|
web_icon_size?: IContentField<TMantineIconSize>;
|
|
@@ -104,4 +105,6 @@ export interface ISpoilerStyle extends IStyleWithSpacing {
|
|
|
104
105
|
style_name: 'spoiler';
|
|
105
106
|
web_height?: IContentField<TMantineSpoilerMaxHeight>;
|
|
106
107
|
spoiler_show_label?: IContentField<string>;
|
|
107
|
-
spoiler_hide_label?: IContentField<string>;
|
|
108
|
+
spoiler_hide_label?: IContentField<string>;
|
|
109
|
+
/** Color of the show/hide control link. */
|
|
110
|
+
shared_color?: IContentField<TMantineColor>;}
|