@selfhelp/shared 1.14.1 → 1.14.3
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 +64 -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-uNJIRoD2.d.ts → styles.registry-Boc1T8kh.d.ts} +21 -20
- package/dist/{styles.registry-CcTYRja9.d.mts → styles.registry-DtWH1jLu.d.mts} +21 -20
- package/package.json +1 -1
- package/src/types/styles/auth.ts +8 -7
- package/src/types/styles/composite.ts +4 -1
- package/src/types/styles/forms.ts +21 -12
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,70 @@ 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.3
|
|
13
|
+
|
|
14
|
+
Style-field cleanup slice 7 — form/validate button knobs (RF-21).
|
|
15
|
+
Pairs with backend migration `Version20260619100044` and the coupled web + mobile
|
|
16
|
+
renderer reads. Patch bump: `web_*` → `shared_*` rename of the portable button
|
|
17
|
+
knobs on the custom composite form styles, so the mobile custom form renders the
|
|
18
|
+
same authored config as the web Mantine form.
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- **`IFormStyle` (`form-log` / `form-record`):** `buttons_size` /
|
|
23
|
+
`buttons_radius` / `buttons_variant` / `buttons_position` / `btn_save_color` /
|
|
24
|
+
`btn_cancel_color` → the `shared_*` equivalents, and the previously-missing
|
|
25
|
+
`shared_buttons_order` is added. (The catalog field is `web_buttons_*`; the web
|
|
26
|
+
`FormStyle` had been reading the un-prefixed names, which matched neither the
|
|
27
|
+
catalog nor the type — so its button styling silently fell back to defaults.
|
|
28
|
+
This rename fixes that latent bug and unblocks mobile.)
|
|
29
|
+
- **`IFormRecordStyle`:** `btn_update_color` → `shared_btn_update_color`.
|
|
30
|
+
- **`IValidateStyle`:** `web_buttons_size` / `web_buttons_radius` /
|
|
31
|
+
`web_buttons_variant` / `web_buttons_position` / `web_buttons_order` /
|
|
32
|
+
`web_btn_save_color` / `web_btn_cancel_color` → the `shared_*` equivalents
|
|
33
|
+
(the web `ValidateStyle` already read the `web_` names correctly; both
|
|
34
|
+
renderers now agree on `shared_*`).
|
|
35
|
+
|
|
36
|
+
### Notes
|
|
37
|
+
|
|
38
|
+
- Pure web cosmetics stay `web_`: `web_card_padding`, `web_card_shadow`,
|
|
39
|
+
`web_border` on `validate` (RF-16 — no clean React Native peer).
|
|
40
|
+
- The mobile `FormUserInput` now builds its action row from these knobs
|
|
41
|
+
(`shared_btn_save_color` / `shared_btn_cancel_color`, `shared_buttons_order` /
|
|
42
|
+
`_position` / `_size` / `_radius` / `_variant`), themed inline.
|
|
43
|
+
|
|
44
|
+
## v1.14.2
|
|
45
|
+
|
|
46
|
+
Style-field cleanup slice 6 — mobile configurability (RF-17, RF-18, RF-19).
|
|
47
|
+
Pairs with backend migration `Version20260619095732` and the coupled web + mobile
|
|
48
|
+
renderer reads. Patch bump: behaviour/sizing knobs promoted from the web-only
|
|
49
|
+
`web_*` prefix to the semantic `shared_*` prefix so the mobile renderer can read
|
|
50
|
+
the same authored value.
|
|
51
|
+
|
|
52
|
+
### Changed
|
|
53
|
+
|
|
54
|
+
- **`ISelectStyle` (RF-17):** the stale, DB-absent `live_search` / `allow_clear`
|
|
55
|
+
are replaced by the portable `shared_searchable` / `shared_clearable`. The web
|
|
56
|
+
`SelectStyle` now reads them (previously hard-coded: searchable on, clearable
|
|
57
|
+
when not required — preserved as defaults). Mobile maps them to its
|
|
58
|
+
search-field / clear affordance where the select adapter supports it.
|
|
59
|
+
- **`ITextareaStyle` (RF-18):** `web_textarea_autosize` → `shared_autosize`,
|
|
60
|
+
`web_textarea_min_rows` → `shared_min_rows`, `web_textarea_max_rows` →
|
|
61
|
+
`shared_max_rows`. Row sizing is portable (mobile maps to `numberOfLines` /
|
|
62
|
+
auto-grow). `web_textarea_resize` / `web_textarea_variant` stay web-only (RF-16
|
|
63
|
+
— no clean RN peer). The redundant `web_textarea_rows` is also renamed to
|
|
64
|
+
`shared_rows` in the catalog (read by no renderer; Mantine uses min/max rows).
|
|
65
|
+
- **`IAccordionStyle` (RF-19):** `web_accordion_multiple` → `shared_multiple`
|
|
66
|
+
(selection mode — single vs multiple open). Both the web `AccordionStyle` and
|
|
67
|
+
the mobile `Accordion` already read it; only the name changes.
|
|
68
|
+
`web_accordion_variant` stays web-only (Mantine-specific visual, RF-16).
|
|
69
|
+
|
|
70
|
+
### Notes
|
|
71
|
+
|
|
72
|
+
- **RF-20** (`button` / `link` `open_in_new_tab`) needed no change — the field is
|
|
73
|
+
already unprefixed/common and both renderers already read it (web opens a new
|
|
74
|
+
tab; mobile `Link`/`Button` open via `Linking`/in-app navigation).
|
|
75
|
+
|
|
12
76
|
## v1.14.1
|
|
13
77
|
|
|
14
78
|
Style-field cleanup slice 5 — DB↔type reconciliation tail (RF-12, RF-22, RF-23).
|
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 TMantineBorder, aZ as TMantineCardShadow, a_ as TMantineCheckboxLabelPosition, a$ as TMantineCols, b0 as TMantineDividerVariant, b1 as TMantineGap, b2 as TMantineGridOffset, b3 as TMantineGridOrder, b4 as TMantineHeight, b5 as TMantineIconSize, b6 as TMantineImageFit, b7 as TMantineLineClamp, b8 as TMantineListCenter, b9 as TMantineListStyleType, ba as TMantineListType, bb as TMantineListWithPadding, bc as TMantinePaperShadow, bd as TMantineProgressTransition, be as TMantineScrollAreaSize, bf as TMantineScrollAreaType, bg as TMantineTextAlign, bh as TMantineTextDecoration, bi as TMantineTextFontStyle, bj as TMantineTextFontWeight, bk as TMantineTextInherit, bl as TMantineTextInputVariant, bm as TMantineTextSpan, bn as TMantineTextTransform, bo as TMantineTextTruncate, bp as TMantineTextVariant, bq as TMantineTextareaAutosize, br as TMantineTextareaResize, bs as TMantineTextareaVariant, bt as TMantineTimelineAlign, bu as TMantineTitleLineClamp, bv as TMantineTitleTextWrap, bw as TMantineTranslatable, bx as TMantineUseInputWrapper, by as TMantineWidth, bz 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-
|
|
1
|
+
import { T as TStyleName, j as IContentField } from './styles.registry-DtWH1jLu.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 TMantineBorder, aZ as TMantineCardShadow, a_ as TMantineCheckboxLabelPosition, a$ as TMantineCols, b0 as TMantineDividerVariant, b1 as TMantineGap, b2 as TMantineGridOffset, b3 as TMantineGridOrder, b4 as TMantineHeight, b5 as TMantineIconSize, b6 as TMantineImageFit, b7 as TMantineLineClamp, b8 as TMantineListCenter, b9 as TMantineListStyleType, ba as TMantineListType, bb as TMantineListWithPadding, bc as TMantinePaperShadow, bd as TMantineProgressTransition, be as TMantineScrollAreaSize, bf as TMantineScrollAreaType, bg as TMantineTextAlign, bh as TMantineTextDecoration, bi as TMantineTextFontStyle, bj as TMantineTextFontWeight, bk as TMantineTextInherit, bl as TMantineTextInputVariant, bm as TMantineTextSpan, bn as TMantineTextTransform, bo as TMantineTextTruncate, bp as TMantineTextVariant, bq as TMantineTextareaAutosize, br as TMantineTextareaResize, bs as TMantineTextareaVariant, bt as TMantineTimelineAlign, bu as TMantineTitleLineClamp, bv as TMantineTitleTextWrap, bw as TMantineTranslatable, bx as TMantineUseInputWrapper, by as TMantineWidth, bz 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-DtWH1jLu.mjs';
|
|
3
3
|
export { u as TMantineAccordionVariant, x as TMantineActionIconLoading, d as TMantineAlign, y as TMantineAllowNextClicks, z as TMantineAllowStepClick, A as TMantineAspectRatio, B as TMantineAutoContrast, q as TMantineAvatarVariant, p as TMantineBadgeVariant, C as TMantineBlock, D as TMantineCenterInline, E as TMantineChecked, F as TMantineChipChecked, G as TMantineChipMultiple, r as TMantineChipVariant, H as TMantineClampBehavior, I as TMantineCodeBlock, i as TMantineColor, J as TMantineColorFormat, K as TMantineColorInputSwatches, L as TMantineColorPickerSwatches, M as TMantineColorPickerSwatchesPerRow, N as TMantineCompact, O as TMantineContainerFluid, e as TMantineDirection, P as TMantineDisabled, m as TMantineFieldsetVariant, Q as TMantineFileAccept, R as TMantineFileInputMultiple, S as TMantineFluid, U as TMantineFullWidth, V as TMantineGridGrow, W as TMantineGridOverflow, g as TMantineGridSpan, X as TMantineGroupGrow, Y as TMantineGroupWrap, Z as TMantineGrow, _ as TMantineHighlight, s 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, h as TMantineOrientation, a7 as TMantineProcessing, T as TMantineRadius, a8 as TMantineRangeSliderMarks, a9 as TMantineRatingCount, aa as TMantineRatingFractions, ab as TMantineRatingReadonly, ac as TMantineReadonly, l as TMantineSize, ad as TMantineSpaceHorizontal, b as TMantineSpacing, n as TMantineSpoilerMaxHeight, ae as TMantineSwatches, af as TMantineTabDisabled, v as TMantineTabsVariant, t as TMantineThemeIconVariant, w as TMantineTimelineLineVariant, k as TMantineTitleOrder, ag as TMantineUseMantineStyle, o as TMantineVariant, ah as TMantineWithCloseButton, ai as TMantineWithIcon, f as TMantineWrap, j as TSharedRadius, a as TSharedSize } from './common-CJSHQL1E.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 TMantineBorder, aZ as TMantineCardShadow, a_ as TMantineCheckboxLabelPosition, a$ as TMantineCols, b0 as TMantineDividerVariant, b1 as TMantineGap, b2 as TMantineGridOffset, b3 as TMantineGridOrder, b4 as TMantineHeight, b5 as TMantineIconSize, b6 as TMantineImageFit, b7 as TMantineLineClamp, b8 as TMantineListCenter, b9 as TMantineListStyleType, ba as TMantineListType, bb as TMantineListWithPadding, bc as TMantinePaperShadow, bd as TMantineProgressTransition, be as TMantineScrollAreaSize, bf as TMantineScrollAreaType, bg as TMantineTextAlign, bh as TMantineTextDecoration, bi as TMantineTextFontStyle, bj as TMantineTextFontWeight, bk as TMantineTextInherit, bl as TMantineTextInputVariant, bm as TMantineTextSpan, bn as TMantineTextTransform, bo as TMantineTextTruncate, bp as TMantineTextVariant, bq as TMantineTextareaAutosize, br as TMantineTextareaResize, bs as TMantineTextareaVariant, bt as TMantineTimelineAlign, bu as TMantineTitleLineClamp, bv as TMantineTitleTextWrap, bw as TMantineTranslatable, bx as TMantineUseInputWrapper, by as TMantineWidth, bz 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-
|
|
1
|
+
import { T as TStyleName, j as IContentField } from './styles.registry-Boc1T8kh.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 TMantineBorder, aZ as TMantineCardShadow, a_ as TMantineCheckboxLabelPosition, a$ as TMantineCols, b0 as TMantineDividerVariant, b1 as TMantineGap, b2 as TMantineGridOffset, b3 as TMantineGridOrder, b4 as TMantineHeight, b5 as TMantineIconSize, b6 as TMantineImageFit, b7 as TMantineLineClamp, b8 as TMantineListCenter, b9 as TMantineListStyleType, ba as TMantineListType, bb as TMantineListWithPadding, bc as TMantinePaperShadow, bd as TMantineProgressTransition, be as TMantineScrollAreaSize, bf as TMantineScrollAreaType, bg as TMantineTextAlign, bh as TMantineTextDecoration, bi as TMantineTextFontStyle, bj as TMantineTextFontWeight, bk as TMantineTextInherit, bl as TMantineTextInputVariant, bm as TMantineTextSpan, bn as TMantineTextTransform, bo as TMantineTextTruncate, bp as TMantineTextVariant, bq as TMantineTextareaAutosize, br as TMantineTextareaResize, bs as TMantineTextareaVariant, bt as TMantineTimelineAlign, bu as TMantineTitleLineClamp, bv as TMantineTitleTextWrap, bw as TMantineTranslatable, bx as TMantineUseInputWrapper, by as TMantineWidth, bz 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-Boc1T8kh.js';
|
|
3
3
|
export { u as TMantineAccordionVariant, x as TMantineActionIconLoading, d as TMantineAlign, y as TMantineAllowNextClicks, z as TMantineAllowStepClick, A as TMantineAspectRatio, B as TMantineAutoContrast, q as TMantineAvatarVariant, p as TMantineBadgeVariant, C as TMantineBlock, D as TMantineCenterInline, E as TMantineChecked, F as TMantineChipChecked, G as TMantineChipMultiple, r as TMantineChipVariant, H as TMantineClampBehavior, I as TMantineCodeBlock, i as TMantineColor, J as TMantineColorFormat, K as TMantineColorInputSwatches, L as TMantineColorPickerSwatches, M as TMantineColorPickerSwatchesPerRow, N as TMantineCompact, O as TMantineContainerFluid, e as TMantineDirection, P as TMantineDisabled, m as TMantineFieldsetVariant, Q as TMantineFileAccept, R as TMantineFileInputMultiple, S as TMantineFluid, U as TMantineFullWidth, V as TMantineGridGrow, W as TMantineGridOverflow, g as TMantineGridSpan, X as TMantineGroupGrow, Y as TMantineGroupWrap, Z as TMantineGrow, _ as TMantineHighlight, s 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, h as TMantineOrientation, a7 as TMantineProcessing, T as TMantineRadius, a8 as TMantineRangeSliderMarks, a9 as TMantineRatingCount, aa as TMantineRatingFractions, ab as TMantineRatingReadonly, ac as TMantineReadonly, l as TMantineSize, ad as TMantineSpaceHorizontal, b as TMantineSpacing, n as TMantineSpoilerMaxHeight, ae as TMantineSwatches, af as TMantineTabDisabled, v as TMantineTabsVariant, t as TMantineThemeIconVariant, w as TMantineTimelineLineVariant, k as TMantineTitleOrder, ag as TMantineUseMantineStyle, o as TMantineVariant, ah as TMantineWithCloseButton, ai as TMantineWithIcon, f as TMantineWrap, j as TSharedRadius, a as TSharedSize } from './common-CJSHQL1E.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-DtWH1jLu.mjs';
|
|
3
3
|
import '../common-CJSHQL1E.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-Boc1T8kh.js';
|
|
3
3
|
import '../common-CJSHQL1E.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-DtWH1jLu.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-DtWH1jLu.mjs';
|
|
3
3
|
import '../common-CJSHQL1E.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-Boc1T8kh.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-Boc1T8kh.js';
|
|
3
3
|
import '../common-CJSHQL1E.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -50,13 +50,13 @@ interface IValidateStyle extends IStyleWithSpacing {
|
|
|
50
50
|
label_save?: IContentField<string>;
|
|
51
51
|
label_update?: IContentField<string>;
|
|
52
52
|
label_cancel?: IContentField<string>;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
53
|
+
shared_buttons_size?: IContentField<string>;
|
|
54
|
+
shared_buttons_radius?: IContentField<string>;
|
|
55
|
+
shared_buttons_variant?: IContentField<string>;
|
|
56
|
+
shared_buttons_position?: IContentField<string>;
|
|
57
|
+
shared_buttons_order?: IContentField<string>;
|
|
58
|
+
shared_btn_save_color?: IContentField<string>;
|
|
59
|
+
shared_btn_cancel_color?: IContentField<string>;
|
|
60
60
|
web_card_shadow?: IContentField<string>;
|
|
61
61
|
web_card_padding?: IContentField<string>;
|
|
62
62
|
shared_radius?: IContentField<TMantineRadius>;
|
|
@@ -613,12 +613,13 @@ interface IFormStyle extends IStyleWithSpacing {
|
|
|
613
613
|
btn_cancel_url?: IContentField<string>;
|
|
614
614
|
btn_cancel_label?: IContentField<string>;
|
|
615
615
|
alert_error?: IContentField<string>;
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
616
|
+
shared_buttons_size?: IContentField<string>;
|
|
617
|
+
shared_buttons_radius?: IContentField<string>;
|
|
618
|
+
shared_buttons_variant?: IContentField<string>;
|
|
619
|
+
shared_buttons_position?: IContentField<string>;
|
|
620
|
+
shared_buttons_order?: IContentField<string>;
|
|
621
|
+
shared_btn_save_color?: IContentField<string>;
|
|
622
|
+
shared_btn_cancel_color?: IContentField<string>;
|
|
622
623
|
}
|
|
623
624
|
interface IFormLogStyle extends IFormStyle {
|
|
624
625
|
style_name: 'form-log';
|
|
@@ -626,7 +627,7 @@ interface IFormLogStyle extends IFormStyle {
|
|
|
626
627
|
interface IFormRecordStyle extends IFormStyle {
|
|
627
628
|
style_name: 'form-record';
|
|
628
629
|
btn_update_label?: IContentField<string>;
|
|
629
|
-
|
|
630
|
+
shared_btn_update_color?: IContentField<string>;
|
|
630
631
|
}
|
|
631
632
|
interface IInputStyle extends IBaseStyle {
|
|
632
633
|
style_name: 'input';
|
|
@@ -670,9 +671,9 @@ interface ITextareaStyle extends IStyleWithSpacing {
|
|
|
670
671
|
disabled?: IContentField<string>;
|
|
671
672
|
web_left_icon?: IContentField<string>;
|
|
672
673
|
web_right_icon?: IContentField<string>;
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
674
|
+
shared_autosize?: IContentField<TMantineTextareaAutosize>;
|
|
675
|
+
shared_min_rows?: IContentField<string>;
|
|
676
|
+
shared_max_rows?: IContentField<string>;
|
|
676
677
|
web_textarea_resize?: IContentField<TMantineTextareaResize>;
|
|
677
678
|
shared_size?: IContentField<TSharedSize>;
|
|
678
679
|
shared_radius?: IContentField<TSharedRadius>;
|
|
@@ -705,10 +706,10 @@ interface ISelectStyle extends IBaseStyle {
|
|
|
705
706
|
options?: IContentField<string>;
|
|
706
707
|
is_multiple?: IContentField<string>;
|
|
707
708
|
max?: IContentField<string>;
|
|
708
|
-
|
|
709
|
+
shared_searchable?: IContentField<string>;
|
|
709
710
|
disabled?: IContentField<string>;
|
|
710
711
|
image_selector?: IContentField<string>;
|
|
711
|
-
|
|
712
|
+
shared_clearable?: IContentField<string>;
|
|
712
713
|
}
|
|
713
714
|
interface IRadioStyle extends IStyleWithSpacing {
|
|
714
715
|
style_name: 'radio';
|
|
@@ -1023,7 +1024,7 @@ type TMantineListCenter = '0' | '1';
|
|
|
1023
1024
|
interface IAccordionStyle extends IStyleWithSpacing {
|
|
1024
1025
|
style_name: 'accordion';
|
|
1025
1026
|
web_accordion_variant?: IContentField<TMantineAccordionVariant>;
|
|
1026
|
-
|
|
1027
|
+
shared_multiple?: IContentField<TMantineAccordionMultiple>;
|
|
1027
1028
|
web_accordion_chevron_position?: IContentField<TMantineAccordionChevronPosition>;
|
|
1028
1029
|
web_accordion_chevron_size?: IContentField<string>;
|
|
1029
1030
|
web_accordion_disable_chevron_rotation?: IContentField<TMantineAccordionDisableChevronRotation>;
|
|
@@ -50,13 +50,13 @@ interface IValidateStyle extends IStyleWithSpacing {
|
|
|
50
50
|
label_save?: IContentField<string>;
|
|
51
51
|
label_update?: IContentField<string>;
|
|
52
52
|
label_cancel?: IContentField<string>;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
53
|
+
shared_buttons_size?: IContentField<string>;
|
|
54
|
+
shared_buttons_radius?: IContentField<string>;
|
|
55
|
+
shared_buttons_variant?: IContentField<string>;
|
|
56
|
+
shared_buttons_position?: IContentField<string>;
|
|
57
|
+
shared_buttons_order?: IContentField<string>;
|
|
58
|
+
shared_btn_save_color?: IContentField<string>;
|
|
59
|
+
shared_btn_cancel_color?: IContentField<string>;
|
|
60
60
|
web_card_shadow?: IContentField<string>;
|
|
61
61
|
web_card_padding?: IContentField<string>;
|
|
62
62
|
shared_radius?: IContentField<TMantineRadius>;
|
|
@@ -613,12 +613,13 @@ interface IFormStyle extends IStyleWithSpacing {
|
|
|
613
613
|
btn_cancel_url?: IContentField<string>;
|
|
614
614
|
btn_cancel_label?: IContentField<string>;
|
|
615
615
|
alert_error?: IContentField<string>;
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
616
|
+
shared_buttons_size?: IContentField<string>;
|
|
617
|
+
shared_buttons_radius?: IContentField<string>;
|
|
618
|
+
shared_buttons_variant?: IContentField<string>;
|
|
619
|
+
shared_buttons_position?: IContentField<string>;
|
|
620
|
+
shared_buttons_order?: IContentField<string>;
|
|
621
|
+
shared_btn_save_color?: IContentField<string>;
|
|
622
|
+
shared_btn_cancel_color?: IContentField<string>;
|
|
622
623
|
}
|
|
623
624
|
interface IFormLogStyle extends IFormStyle {
|
|
624
625
|
style_name: 'form-log';
|
|
@@ -626,7 +627,7 @@ interface IFormLogStyle extends IFormStyle {
|
|
|
626
627
|
interface IFormRecordStyle extends IFormStyle {
|
|
627
628
|
style_name: 'form-record';
|
|
628
629
|
btn_update_label?: IContentField<string>;
|
|
629
|
-
|
|
630
|
+
shared_btn_update_color?: IContentField<string>;
|
|
630
631
|
}
|
|
631
632
|
interface IInputStyle extends IBaseStyle {
|
|
632
633
|
style_name: 'input';
|
|
@@ -670,9 +671,9 @@ interface ITextareaStyle extends IStyleWithSpacing {
|
|
|
670
671
|
disabled?: IContentField<string>;
|
|
671
672
|
web_left_icon?: IContentField<string>;
|
|
672
673
|
web_right_icon?: IContentField<string>;
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
674
|
+
shared_autosize?: IContentField<TMantineTextareaAutosize>;
|
|
675
|
+
shared_min_rows?: IContentField<string>;
|
|
676
|
+
shared_max_rows?: IContentField<string>;
|
|
676
677
|
web_textarea_resize?: IContentField<TMantineTextareaResize>;
|
|
677
678
|
shared_size?: IContentField<TSharedSize>;
|
|
678
679
|
shared_radius?: IContentField<TSharedRadius>;
|
|
@@ -705,10 +706,10 @@ interface ISelectStyle extends IBaseStyle {
|
|
|
705
706
|
options?: IContentField<string>;
|
|
706
707
|
is_multiple?: IContentField<string>;
|
|
707
708
|
max?: IContentField<string>;
|
|
708
|
-
|
|
709
|
+
shared_searchable?: IContentField<string>;
|
|
709
710
|
disabled?: IContentField<string>;
|
|
710
711
|
image_selector?: IContentField<string>;
|
|
711
|
-
|
|
712
|
+
shared_clearable?: IContentField<string>;
|
|
712
713
|
}
|
|
713
714
|
interface IRadioStyle extends IStyleWithSpacing {
|
|
714
715
|
style_name: 'radio';
|
|
@@ -1023,7 +1024,7 @@ type TMantineListCenter = '0' | '1';
|
|
|
1023
1024
|
interface IAccordionStyle extends IStyleWithSpacing {
|
|
1024
1025
|
style_name: 'accordion';
|
|
1025
1026
|
web_accordion_variant?: IContentField<TMantineAccordionVariant>;
|
|
1026
|
-
|
|
1027
|
+
shared_multiple?: IContentField<TMantineAccordionMultiple>;
|
|
1027
1028
|
web_accordion_chevron_position?: IContentField<TMantineAccordionChevronPosition>;
|
|
1028
1029
|
web_accordion_chevron_size?: IContentField<string>;
|
|
1029
1030
|
web_accordion_disable_chevron_rotation?: IContentField<TMantineAccordionDisableChevronRotation>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@selfhelp/shared",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.3",
|
|
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",
|
package/src/types/styles/auth.ts
CHANGED
|
@@ -59,13 +59,14 @@ export interface IValidateStyle extends IStyleWithSpacing {
|
|
|
59
59
|
label_save?: IContentField<string>;
|
|
60
60
|
label_update?: IContentField<string>;
|
|
61
61
|
label_cancel?: IContentField<string>;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
62
|
+
// RF-21: shared with form-log/form-record so the mobile custom form matches.
|
|
63
|
+
shared_buttons_size?: IContentField<string>;
|
|
64
|
+
shared_buttons_radius?: IContentField<string>;
|
|
65
|
+
shared_buttons_variant?: IContentField<string>;
|
|
66
|
+
shared_buttons_position?: IContentField<string>;
|
|
67
|
+
shared_buttons_order?: IContentField<string>;
|
|
68
|
+
shared_btn_save_color?: IContentField<string>;
|
|
69
|
+
shared_btn_cancel_color?: IContentField<string>;
|
|
69
70
|
web_card_shadow?: IContentField<string>;
|
|
70
71
|
web_card_padding?: IContentField<string>;
|
|
71
72
|
shared_radius?: IContentField<TMantineRadius>;
|
|
@@ -40,8 +40,11 @@ export type TMantineListCenter = '0' | '1';
|
|
|
40
40
|
|
|
41
41
|
export interface IAccordionStyle extends IStyleWithSpacing {
|
|
42
42
|
style_name: 'accordion';
|
|
43
|
+
// RF-16: variant is a Mantine-specific visual (contained/filled/separated)
|
|
44
|
+
// with no clean RN peer — stays web-only.
|
|
43
45
|
web_accordion_variant?: IContentField<TMantineAccordionVariant>;
|
|
44
|
-
|
|
46
|
+
// RF-19: selection mode (single vs multiple open) is portable; mobile reads it.
|
|
47
|
+
shared_multiple?: IContentField<TMantineAccordionMultiple>;
|
|
45
48
|
web_accordion_chevron_position?: IContentField<TMantineAccordionChevronPosition>;
|
|
46
49
|
web_accordion_chevron_size?: IContentField<string>;
|
|
47
50
|
web_accordion_disable_chevron_rotation?: IContentField<TMantineAccordionDisableChevronRotation>;
|
|
@@ -26,12 +26,16 @@ export interface IFormStyle extends IStyleWithSpacing {
|
|
|
26
26
|
btn_cancel_url?: IContentField<string>;
|
|
27
27
|
btn_cancel_label?: IContentField<string>;
|
|
28
28
|
alert_error?: IContentField<string>;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
// RF-21: button knobs are portable to the mobile custom form (not a 1:1
|
|
30
|
+
// component map). Promoted web_* -> shared_* so both renderers read them.
|
|
31
|
+
shared_buttons_size?: IContentField<string>;
|
|
32
|
+
shared_buttons_radius?: IContentField<string>;
|
|
33
|
+
shared_buttons_variant?: IContentField<string>;
|
|
34
|
+
shared_buttons_position?: IContentField<string>;
|
|
35
|
+
shared_buttons_order?: IContentField<string>;
|
|
36
|
+
shared_btn_save_color?: IContentField<string>;
|
|
37
|
+
shared_btn_cancel_color?: IContentField<string>;
|
|
38
|
+
}
|
|
35
39
|
|
|
36
40
|
export interface IFormLogStyle extends IFormStyle {
|
|
37
41
|
style_name: 'form-log';
|
|
@@ -40,7 +44,7 @@ export interface IFormLogStyle extends IFormStyle {
|
|
|
40
44
|
export interface IFormRecordStyle extends IFormStyle {
|
|
41
45
|
style_name: 'form-record';
|
|
42
46
|
btn_update_label?: IContentField<string>;
|
|
43
|
-
|
|
47
|
+
shared_btn_update_color?: IContentField<string>;
|
|
44
48
|
}
|
|
45
49
|
|
|
46
50
|
export interface IInputStyle extends IBaseStyle {
|
|
@@ -86,9 +90,11 @@ export interface ITextareaStyle extends IStyleWithSpacing {
|
|
|
86
90
|
disabled?: IContentField<string>;
|
|
87
91
|
web_left_icon?: IContentField<string>;
|
|
88
92
|
web_right_icon?: IContentField<string>;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
93
|
+
// RF-18: row sizing is portable (mobile maps to numberOfLines / auto-grow).
|
|
94
|
+
shared_autosize?: IContentField<TMantineTextareaAutosize>;
|
|
95
|
+
shared_min_rows?: IContentField<string>;
|
|
96
|
+
shared_max_rows?: IContentField<string>;
|
|
97
|
+
// RF-16: resize/variant have no clean React Native peer — stay web-only.
|
|
92
98
|
web_textarea_resize?: IContentField<TMantineTextareaResize>;
|
|
93
99
|
shared_size?: IContentField<TSharedSize>;
|
|
94
100
|
shared_radius?: IContentField<TSharedRadius>;
|
|
@@ -121,10 +127,13 @@ export interface ISelectStyle extends IBaseStyle {
|
|
|
121
127
|
options?: IContentField<string>;
|
|
122
128
|
is_multiple?: IContentField<string>;
|
|
123
129
|
max?: IContentField<string>;
|
|
124
|
-
|
|
130
|
+
// RF-17: searchable/clearable are portable behaviour (was the stale
|
|
131
|
+
// web-only `live_search` / `allow_clear`; mobile maps to search-field /
|
|
132
|
+
// clear affordance where the adapter supports it).
|
|
133
|
+
shared_searchable?: IContentField<string>;
|
|
125
134
|
disabled?: IContentField<string>;
|
|
126
135
|
image_selector?: IContentField<string>;
|
|
127
|
-
|
|
136
|
+
shared_clearable?: IContentField<string>;
|
|
128
137
|
}
|
|
129
138
|
|
|
130
139
|
export interface IRadioStyle extends IStyleWithSpacing {
|