@selfhelp/shared 1.14.0 → 1.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +72 -0
- package/dist/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-Do9q4NOK.d.mts → styles.registry-BALBu66w.d.mts} +7 -15
- package/dist/{styles.registry-HutHKku8.d.ts → styles.registry-BhtpghU2.d.ts} +7 -15
- package/package.json +1 -1
- package/src/types/styles/auth.ts +3 -10
- package/src/types/styles/composite.ts +4 -1
- package/src/types/styles/forms.ts +10 -5
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,78 @@ 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.2
|
|
13
|
+
|
|
14
|
+
Style-field cleanup slice 6 — mobile configurability (RF-17, RF-18, RF-19).
|
|
15
|
+
Pairs with backend migration `Version20260619095732` and the coupled web + mobile
|
|
16
|
+
renderer reads. Patch bump: behaviour/sizing knobs promoted from the web-only
|
|
17
|
+
`web_*` prefix to the semantic `shared_*` prefix so the mobile renderer can read
|
|
18
|
+
the same authored value.
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- **`ISelectStyle` (RF-17):** the stale, DB-absent `live_search` / `allow_clear`
|
|
23
|
+
are replaced by the portable `shared_searchable` / `shared_clearable`. The web
|
|
24
|
+
`SelectStyle` now reads them (previously hard-coded: searchable on, clearable
|
|
25
|
+
when not required — preserved as defaults). Mobile maps them to its
|
|
26
|
+
search-field / clear affordance where the select adapter supports it.
|
|
27
|
+
- **`ITextareaStyle` (RF-18):** `web_textarea_autosize` → `shared_autosize`,
|
|
28
|
+
`web_textarea_min_rows` → `shared_min_rows`, `web_textarea_max_rows` →
|
|
29
|
+
`shared_max_rows`. Row sizing is portable (mobile maps to `numberOfLines` /
|
|
30
|
+
auto-grow). `web_textarea_resize` / `web_textarea_variant` stay web-only (RF-16
|
|
31
|
+
— no clean RN peer). The redundant `web_textarea_rows` is also renamed to
|
|
32
|
+
`shared_rows` in the catalog (read by no renderer; Mantine uses min/max rows).
|
|
33
|
+
- **`IAccordionStyle` (RF-19):** `web_accordion_multiple` → `shared_multiple`
|
|
34
|
+
(selection mode — single vs multiple open). Both the web `AccordionStyle` and
|
|
35
|
+
the mobile `Accordion` already read it; only the name changes.
|
|
36
|
+
`web_accordion_variant` stays web-only (Mantine-specific visual, RF-16).
|
|
37
|
+
|
|
38
|
+
### Notes
|
|
39
|
+
|
|
40
|
+
- **RF-20** (`button` / `link` `open_in_new_tab`) needed no change — the field is
|
|
41
|
+
already unprefixed/common and both renderers already read it (web opens a new
|
|
42
|
+
tab; mobile `Link`/`Button` open via `Linking`/in-app navigation).
|
|
43
|
+
|
|
44
|
+
## v1.14.1
|
|
45
|
+
|
|
46
|
+
Style-field cleanup slice 5 — DB↔type reconciliation tail (RF-12, RF-22, RF-23).
|
|
47
|
+
Pairs with backend migration `Version20260619095112` and the coupled web + mobile
|
|
48
|
+
renderer reads. Patch bump: type-only changes (stale-field drops + one canonical
|
|
49
|
+
rename); no runtime/registry code reads these by name.
|
|
50
|
+
|
|
51
|
+
### Changed
|
|
52
|
+
|
|
53
|
+
- **`IValidateStyle.cancel_url` → `btn_cancel_url` (RF-12).** The cancel-button
|
|
54
|
+
target page is one concept across the form family: the DB, `form-log`/
|
|
55
|
+
`form-record`, `FormStyle` (web), and the mobile `FormUserInput` all use
|
|
56
|
+
`btn_cancel_url`. Only `validate` (type + web renderer) used the divergent
|
|
57
|
+
`cancel_url`, so the cancel button never resolved a URL. Renamed to the
|
|
58
|
+
canonical name; the web `ValidateStyle` now reads `btn_cancel_url` (the DB
|
|
59
|
+
already has the field, so no migration is needed for this).
|
|
60
|
+
|
|
61
|
+
### Removed
|
|
62
|
+
|
|
63
|
+
- **`IProfileStyle`: dropped `alert_fail`, `alert_del_fail`, `alert_del_success`,
|
|
64
|
+
`alert_success` (RF-22).** Runtime evidence: no web or mobile renderer reads
|
|
65
|
+
these on `profile` (it uses the per-section `profile_*_success` /
|
|
66
|
+
`profile_*_error_general` copy instead). They were stale type fields and never
|
|
67
|
+
existed in the catalog.
|
|
68
|
+
- **`IValidateStyle`: dropped `label_login`, `success`, `page_keyword`,
|
|
69
|
+
`value_name` (RF-12).** Not present in the catalog and read by no renderer
|
|
70
|
+
(`validate` is a web-only activation surface; the web renderer reads
|
|
71
|
+
`success_title`, not `success`). `page_keyword` / `value_name` were never
|
|
72
|
+
catalog fields here.
|
|
73
|
+
|
|
74
|
+
### Notes
|
|
75
|
+
|
|
76
|
+
- `two-factor-auth` heading is unified on `title` (DB seeded it in slice 4; the
|
|
77
|
+
mobile `TwoFactorAuth` now reads `title` instead of the divergent
|
|
78
|
+
`label_title`). The unused DB `label` link on `two-factor-auth` is dropped by
|
|
79
|
+
the backend migration.
|
|
80
|
+
- `validate.label_timezone` exists in the catalog but no renderer reads it yet
|
|
81
|
+
(first-login timezone selection is a documented gap); it is intentionally NOT
|
|
82
|
+
added to the type until a renderer consumes it.
|
|
83
|
+
|
|
12
84
|
## v1.14.0
|
|
13
85
|
|
|
14
86
|
Style-field cleanup slice 3 — semantic variant promotion (RF-14) plus the
|
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-BALBu66w.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-BALBu66w.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-BhtpghU2.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-BhtpghU2.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-BALBu66w.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-BhtpghU2.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-BALBu66w.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-BALBu66w.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-BhtpghU2.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-BhtpghU2.js';
|
|
3
3
|
import '../common-CJSHQL1E.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -33,7 +33,6 @@ interface IRegisterStyle extends IStyleWithSpacing {
|
|
|
33
33
|
interface IValidateStyle extends IStyleWithSpacing {
|
|
34
34
|
style_name: 'validate';
|
|
35
35
|
label_pw?: IContentField<string>;
|
|
36
|
-
label_login?: IContentField<string>;
|
|
37
36
|
alert_fail?: IContentField<string>;
|
|
38
37
|
label_pw_confirm?: IContentField<string>;
|
|
39
38
|
title?: IContentField<string>;
|
|
@@ -44,13 +43,10 @@ interface IValidateStyle extends IStyleWithSpacing {
|
|
|
44
43
|
name_description?: IContentField<string>;
|
|
45
44
|
label_activate?: IContentField<string>;
|
|
46
45
|
pw_placeholder?: IContentField<string>;
|
|
47
|
-
success?: IContentField<string>;
|
|
48
46
|
name?: IContentField<string>;
|
|
49
|
-
page_keyword?: IContentField<string>;
|
|
50
|
-
value_name?: IContentField<string>;
|
|
51
47
|
anonymous_user_name_description?: IContentField<string>;
|
|
52
48
|
redirect_at_end?: IContentField<string>;
|
|
53
|
-
|
|
49
|
+
btn_cancel_url?: IContentField<string>;
|
|
54
50
|
label_save?: IContentField<string>;
|
|
55
51
|
label_update?: IContentField<string>;
|
|
56
52
|
label_cancel?: IContentField<string>;
|
|
@@ -174,10 +170,6 @@ interface IProfileStyle extends IStyleWithSpacing {
|
|
|
174
170
|
profile_radius?: IContentField<string>;
|
|
175
171
|
profile_shadow?: IContentField<string>;
|
|
176
172
|
profile_columns?: IContentField<string>;
|
|
177
|
-
alert_fail?: IContentField<string>;
|
|
178
|
-
alert_del_fail?: IContentField<string>;
|
|
179
|
-
alert_del_success?: IContentField<string>;
|
|
180
|
-
alert_success?: IContentField<string>;
|
|
181
173
|
}
|
|
182
174
|
|
|
183
175
|
type TMantineBorder = '0' | '1';
|
|
@@ -678,9 +670,9 @@ interface ITextareaStyle extends IStyleWithSpacing {
|
|
|
678
670
|
disabled?: IContentField<string>;
|
|
679
671
|
web_left_icon?: IContentField<string>;
|
|
680
672
|
web_right_icon?: IContentField<string>;
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
673
|
+
shared_autosize?: IContentField<TMantineTextareaAutosize>;
|
|
674
|
+
shared_min_rows?: IContentField<string>;
|
|
675
|
+
shared_max_rows?: IContentField<string>;
|
|
684
676
|
web_textarea_resize?: IContentField<TMantineTextareaResize>;
|
|
685
677
|
shared_size?: IContentField<TSharedSize>;
|
|
686
678
|
shared_radius?: IContentField<TSharedRadius>;
|
|
@@ -713,10 +705,10 @@ interface ISelectStyle extends IBaseStyle {
|
|
|
713
705
|
options?: IContentField<string>;
|
|
714
706
|
is_multiple?: IContentField<string>;
|
|
715
707
|
max?: IContentField<string>;
|
|
716
|
-
|
|
708
|
+
shared_searchable?: IContentField<string>;
|
|
717
709
|
disabled?: IContentField<string>;
|
|
718
710
|
image_selector?: IContentField<string>;
|
|
719
|
-
|
|
711
|
+
shared_clearable?: IContentField<string>;
|
|
720
712
|
}
|
|
721
713
|
interface IRadioStyle extends IStyleWithSpacing {
|
|
722
714
|
style_name: 'radio';
|
|
@@ -1031,7 +1023,7 @@ type TMantineListCenter = '0' | '1';
|
|
|
1031
1023
|
interface IAccordionStyle extends IStyleWithSpacing {
|
|
1032
1024
|
style_name: 'accordion';
|
|
1033
1025
|
web_accordion_variant?: IContentField<TMantineAccordionVariant>;
|
|
1034
|
-
|
|
1026
|
+
shared_multiple?: IContentField<TMantineAccordionMultiple>;
|
|
1035
1027
|
web_accordion_chevron_position?: IContentField<TMantineAccordionChevronPosition>;
|
|
1036
1028
|
web_accordion_chevron_size?: IContentField<string>;
|
|
1037
1029
|
web_accordion_disable_chevron_rotation?: IContentField<TMantineAccordionDisableChevronRotation>;
|
|
@@ -33,7 +33,6 @@ interface IRegisterStyle extends IStyleWithSpacing {
|
|
|
33
33
|
interface IValidateStyle extends IStyleWithSpacing {
|
|
34
34
|
style_name: 'validate';
|
|
35
35
|
label_pw?: IContentField<string>;
|
|
36
|
-
label_login?: IContentField<string>;
|
|
37
36
|
alert_fail?: IContentField<string>;
|
|
38
37
|
label_pw_confirm?: IContentField<string>;
|
|
39
38
|
title?: IContentField<string>;
|
|
@@ -44,13 +43,10 @@ interface IValidateStyle extends IStyleWithSpacing {
|
|
|
44
43
|
name_description?: IContentField<string>;
|
|
45
44
|
label_activate?: IContentField<string>;
|
|
46
45
|
pw_placeholder?: IContentField<string>;
|
|
47
|
-
success?: IContentField<string>;
|
|
48
46
|
name?: IContentField<string>;
|
|
49
|
-
page_keyword?: IContentField<string>;
|
|
50
|
-
value_name?: IContentField<string>;
|
|
51
47
|
anonymous_user_name_description?: IContentField<string>;
|
|
52
48
|
redirect_at_end?: IContentField<string>;
|
|
53
|
-
|
|
49
|
+
btn_cancel_url?: IContentField<string>;
|
|
54
50
|
label_save?: IContentField<string>;
|
|
55
51
|
label_update?: IContentField<string>;
|
|
56
52
|
label_cancel?: IContentField<string>;
|
|
@@ -174,10 +170,6 @@ interface IProfileStyle extends IStyleWithSpacing {
|
|
|
174
170
|
profile_radius?: IContentField<string>;
|
|
175
171
|
profile_shadow?: IContentField<string>;
|
|
176
172
|
profile_columns?: IContentField<string>;
|
|
177
|
-
alert_fail?: IContentField<string>;
|
|
178
|
-
alert_del_fail?: IContentField<string>;
|
|
179
|
-
alert_del_success?: IContentField<string>;
|
|
180
|
-
alert_success?: IContentField<string>;
|
|
181
173
|
}
|
|
182
174
|
|
|
183
175
|
type TMantineBorder = '0' | '1';
|
|
@@ -678,9 +670,9 @@ interface ITextareaStyle extends IStyleWithSpacing {
|
|
|
678
670
|
disabled?: IContentField<string>;
|
|
679
671
|
web_left_icon?: IContentField<string>;
|
|
680
672
|
web_right_icon?: IContentField<string>;
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
673
|
+
shared_autosize?: IContentField<TMantineTextareaAutosize>;
|
|
674
|
+
shared_min_rows?: IContentField<string>;
|
|
675
|
+
shared_max_rows?: IContentField<string>;
|
|
684
676
|
web_textarea_resize?: IContentField<TMantineTextareaResize>;
|
|
685
677
|
shared_size?: IContentField<TSharedSize>;
|
|
686
678
|
shared_radius?: IContentField<TSharedRadius>;
|
|
@@ -713,10 +705,10 @@ interface ISelectStyle extends IBaseStyle {
|
|
|
713
705
|
options?: IContentField<string>;
|
|
714
706
|
is_multiple?: IContentField<string>;
|
|
715
707
|
max?: IContentField<string>;
|
|
716
|
-
|
|
708
|
+
shared_searchable?: IContentField<string>;
|
|
717
709
|
disabled?: IContentField<string>;
|
|
718
710
|
image_selector?: IContentField<string>;
|
|
719
|
-
|
|
711
|
+
shared_clearable?: IContentField<string>;
|
|
720
712
|
}
|
|
721
713
|
interface IRadioStyle extends IStyleWithSpacing {
|
|
722
714
|
style_name: 'radio';
|
|
@@ -1031,7 +1023,7 @@ type TMantineListCenter = '0' | '1';
|
|
|
1031
1023
|
interface IAccordionStyle extends IStyleWithSpacing {
|
|
1032
1024
|
style_name: 'accordion';
|
|
1033
1025
|
web_accordion_variant?: IContentField<TMantineAccordionVariant>;
|
|
1034
|
-
|
|
1026
|
+
shared_multiple?: IContentField<TMantineAccordionMultiple>;
|
|
1035
1027
|
web_accordion_chevron_position?: IContentField<TMantineAccordionChevronPosition>;
|
|
1036
1028
|
web_accordion_chevron_size?: IContentField<string>;
|
|
1037
1029
|
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.2",
|
|
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
|
@@ -40,7 +40,6 @@ export interface IRegisterStyle extends IStyleWithSpacing {
|
|
|
40
40
|
export interface IValidateStyle extends IStyleWithSpacing {
|
|
41
41
|
style_name: 'validate';
|
|
42
42
|
label_pw?: IContentField<string>;
|
|
43
|
-
label_login?: IContentField<string>;
|
|
44
43
|
alert_fail?: IContentField<string>;
|
|
45
44
|
label_pw_confirm?: IContentField<string>;
|
|
46
45
|
title?: IContentField<string>;
|
|
@@ -51,13 +50,12 @@ export interface IValidateStyle extends IStyleWithSpacing {
|
|
|
51
50
|
name_description?: IContentField<string>;
|
|
52
51
|
label_activate?: IContentField<string>;
|
|
53
52
|
pw_placeholder?: IContentField<string>;
|
|
54
|
-
success?: IContentField<string>;
|
|
55
53
|
name?: IContentField<string>;
|
|
56
|
-
page_keyword?: IContentField<string>;
|
|
57
|
-
value_name?: IContentField<string>;
|
|
58
54
|
anonymous_user_name_description?: IContentField<string>;
|
|
59
55
|
redirect_at_end?: IContentField<string>;
|
|
60
|
-
|
|
56
|
+
// Cancel-button target page. Canonical name shared with form-log/form-record
|
|
57
|
+
// and the mobile FormUserInput (slice 5 / RF-12: was the web-only `cancel_url`).
|
|
58
|
+
btn_cancel_url?: IContentField<string>;
|
|
61
59
|
label_save?: IContentField<string>;
|
|
62
60
|
label_update?: IContentField<string>;
|
|
63
61
|
label_cancel?: IContentField<string>;
|
|
@@ -192,9 +190,4 @@ export interface IProfileStyle extends IStyleWithSpacing {
|
|
|
192
190
|
profile_shadow?: IContentField<string>;
|
|
193
191
|
|
|
194
192
|
profile_columns?: IContentField<string>;
|
|
195
|
-
|
|
196
|
-
alert_fail?: IContentField<string>;
|
|
197
|
-
alert_del_fail?: IContentField<string>;
|
|
198
|
-
alert_del_success?: IContentField<string>;
|
|
199
|
-
alert_success?: IContentField<string>;
|
|
200
193
|
}
|
|
@@ -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>;
|
|
@@ -86,9 +86,11 @@ export interface ITextareaStyle extends IStyleWithSpacing {
|
|
|
86
86
|
disabled?: IContentField<string>;
|
|
87
87
|
web_left_icon?: IContentField<string>;
|
|
88
88
|
web_right_icon?: IContentField<string>;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
// RF-18: row sizing is portable (mobile maps to numberOfLines / auto-grow).
|
|
90
|
+
shared_autosize?: IContentField<TMantineTextareaAutosize>;
|
|
91
|
+
shared_min_rows?: IContentField<string>;
|
|
92
|
+
shared_max_rows?: IContentField<string>;
|
|
93
|
+
// RF-16: resize/variant have no clean React Native peer — stay web-only.
|
|
92
94
|
web_textarea_resize?: IContentField<TMantineTextareaResize>;
|
|
93
95
|
shared_size?: IContentField<TSharedSize>;
|
|
94
96
|
shared_radius?: IContentField<TSharedRadius>;
|
|
@@ -121,10 +123,13 @@ export interface ISelectStyle extends IBaseStyle {
|
|
|
121
123
|
options?: IContentField<string>;
|
|
122
124
|
is_multiple?: IContentField<string>;
|
|
123
125
|
max?: IContentField<string>;
|
|
124
|
-
|
|
126
|
+
// RF-17: searchable/clearable are portable behaviour (was the stale
|
|
127
|
+
// web-only `live_search` / `allow_clear`; mobile maps to search-field /
|
|
128
|
+
// clear affordance where the adapter supports it).
|
|
129
|
+
shared_searchable?: IContentField<string>;
|
|
125
130
|
disabled?: IContentField<string>;
|
|
126
131
|
image_selector?: IContentField<string>;
|
|
127
|
-
|
|
132
|
+
shared_clearable?: IContentField<string>;
|
|
128
133
|
}
|
|
129
134
|
|
|
130
135
|
export interface IRadioStyle extends IStyleWithSpacing {
|