@selfhelp/shared 1.14.15 → 1.14.17
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 +46 -0
- package/dist/index.d.mts +11 -3
- package/dist/index.d.ts +11 -3
- 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-QFmOGJUL.d.ts → styles.registry-D6u2lOw8.d.ts} +21 -1
- package/dist/{styles.registry-Bxm4jsbO.d.mts → styles.registry-DPNHAOM1.d.mts} +21 -1
- package/package.json +1 -1
- package/src/types/mobile-adapters.ts +9 -1
- package/src/types/styles/composite.ts +5 -0
- package/src/types/styles/forms.ts +24 -2
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,52 @@ 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.17
|
|
13
|
+
|
|
14
|
+
Mobile adapter contract additions for the form capability pass (so the mobile
|
|
15
|
+
`TextInput` / `Textarea` renderers can honour the new `shared_max_length` and
|
|
16
|
+
`mobile_*` fields through the adapter seam). All additions are optional.
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- **`IMobileInputProps`**: `maxLength` (RN `maxLength`, from `shared_max_length`),
|
|
21
|
+
`autoCapitalize` (`'none' | 'sentences' | 'words' | 'characters'`, from
|
|
22
|
+
`mobile_auto_capitalize`), and `'url'` added to the `keyboardType` union.
|
|
23
|
+
- **`IMobileTextareaProps`**: `maxLength` + `autoCapitalize` (same mapping).
|
|
24
|
+
|
|
25
|
+
## v1.14.16
|
|
26
|
+
|
|
27
|
+
Form / interactive capability pass (backend migration
|
|
28
|
+
`Version20260622132034`). All additions are optional, so the contract stays
|
|
29
|
+
backward compatible; the one removal (`ISelectStyle.alt`) drops a field that no
|
|
30
|
+
renderer read.
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
|
|
34
|
+
- **`INumberInputStyle`**: `web_number_input_prefix`,
|
|
35
|
+
`web_number_input_suffix`, `web_number_input_thousand_separator`,
|
|
36
|
+
`web_number_input_allow_negative`, `web_number_input_hide_controls` — Mantine
|
|
37
|
+
`NumberInput` currency/unit affixes + formatting/spinner toggles.
|
|
38
|
+
- **`IColorInputStyle`**: `web_color_input_with_eye_dropper`,
|
|
39
|
+
`web_color_input_disallow_input`, `web_color_input_with_preview` — Mantine
|
|
40
|
+
`ColorInput` picker behaviour toggles.
|
|
41
|
+
- **`ITabsStyle`**: `web_tabs_grow`, `web_tabs_justify`,
|
|
42
|
+
`web_tabs_keep_mounted`, `web_tabs_placement` — Mantine `Tabs` list layout +
|
|
43
|
+
panel mount behaviour.
|
|
44
|
+
- **`ISwitchStyle`**: `web_switch_with_thumb_indicator`,
|
|
45
|
+
`web_switch_thumb_icon` — Mantine `Switch` thumb indicator + optional thumb
|
|
46
|
+
icon.
|
|
47
|
+
- **`ITextInputStyle` / `ITextareaStyle`**: `shared_max_length` (cross-platform
|
|
48
|
+
max characters) plus mobile keyboard knobs `mobile_keyboard_type`,
|
|
49
|
+
`mobile_auto_capitalize`, and (text-input only) `mobile_secure_entry`.
|
|
50
|
+
- **`IProgressRootStyle.shared_radius`** — corner radius for the progress track
|
|
51
|
+
(links the existing shared radius field).
|
|
52
|
+
|
|
53
|
+
### Removed
|
|
54
|
+
|
|
55
|
+
- **`ISelectStyle.alt`** — unused legacy field; no web or mobile renderer read
|
|
56
|
+
it. Backend migration unlinks it from the `select` style.
|
|
57
|
+
|
|
12
58
|
## v1.14.15
|
|
13
59
|
|
|
14
60
|
Style-catalog field additions for the typography / media / interactive pass
|
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 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-
|
|
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';
|
|
@@ -1230,7 +1230,11 @@ interface IMobileInputProps extends IMobileAdapterBaseProps {
|
|
|
1230
1230
|
isInvalid?: boolean;
|
|
1231
1231
|
isRequired?: boolean;
|
|
1232
1232
|
secureTextEntry?: boolean;
|
|
1233
|
-
keyboardType?: 'default' | 'email-address' | 'numeric' | 'phone-pad';
|
|
1233
|
+
keyboardType?: 'default' | 'email-address' | 'numeric' | 'phone-pad' | 'url';
|
|
1234
|
+
/** Max characters (maps to RN `maxLength`; from `shared_max_length`). */
|
|
1235
|
+
maxLength?: number;
|
|
1236
|
+
/** Native auto-capitalize behaviour (from `mobile_auto_capitalize`). */
|
|
1237
|
+
autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
|
|
1234
1238
|
}
|
|
1235
1239
|
interface IMobileTextareaProps extends IMobileAdapterBaseProps {
|
|
1236
1240
|
value?: string;
|
|
@@ -1242,6 +1246,10 @@ interface IMobileTextareaProps extends IMobileAdapterBaseProps {
|
|
|
1242
1246
|
isRequired?: boolean;
|
|
1243
1247
|
/** Minimum visible rows (maps to RN `numberOfLines`). */
|
|
1244
1248
|
numberOfLines?: number;
|
|
1249
|
+
/** Max characters (maps to RN `maxLength`; from `shared_max_length`). */
|
|
1250
|
+
maxLength?: number;
|
|
1251
|
+
/** Native auto-capitalize behaviour (from `mobile_auto_capitalize`). */
|
|
1252
|
+
autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
|
|
1245
1253
|
}
|
|
1246
1254
|
interface IMobileSwitchProps extends IMobileAdapterBaseProps {
|
|
1247
1255
|
isSelected?: boolean;
|
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 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-
|
|
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';
|
|
@@ -1230,7 +1230,11 @@ interface IMobileInputProps extends IMobileAdapterBaseProps {
|
|
|
1230
1230
|
isInvalid?: boolean;
|
|
1231
1231
|
isRequired?: boolean;
|
|
1232
1232
|
secureTextEntry?: boolean;
|
|
1233
|
-
keyboardType?: 'default' | 'email-address' | 'numeric' | 'phone-pad';
|
|
1233
|
+
keyboardType?: 'default' | 'email-address' | 'numeric' | 'phone-pad' | 'url';
|
|
1234
|
+
/** Max characters (maps to RN `maxLength`; from `shared_max_length`). */
|
|
1235
|
+
maxLength?: number;
|
|
1236
|
+
/** Native auto-capitalize behaviour (from `mobile_auto_capitalize`). */
|
|
1237
|
+
autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
|
|
1234
1238
|
}
|
|
1235
1239
|
interface IMobileTextareaProps extends IMobileAdapterBaseProps {
|
|
1236
1240
|
value?: string;
|
|
@@ -1242,6 +1246,10 @@ interface IMobileTextareaProps extends IMobileAdapterBaseProps {
|
|
|
1242
1246
|
isRequired?: boolean;
|
|
1243
1247
|
/** Minimum visible rows (maps to RN `numberOfLines`). */
|
|
1244
1248
|
numberOfLines?: number;
|
|
1249
|
+
/** Max characters (maps to RN `maxLength`; from `shared_max_length`). */
|
|
1250
|
+
maxLength?: number;
|
|
1251
|
+
/** Native auto-capitalize behaviour (from `mobile_auto_capitalize`). */
|
|
1252
|
+
autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
|
|
1245
1253
|
}
|
|
1246
1254
|
interface IMobileSwitchProps extends IMobileAdapterBaseProps {
|
|
1247
1255
|
isSelected?: boolean;
|
|
@@ -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
|
/**
|
|
@@ -705,6 +705,10 @@ interface ITextInputStyle extends IStyleWithSpacing {
|
|
|
705
705
|
shared_size?: IContentField<TSharedSize>;
|
|
706
706
|
shared_radius?: IContentField<TSharedRadius>;
|
|
707
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>;
|
|
708
712
|
translatable?: IContentField<TMantineTranslatable>;
|
|
709
713
|
}
|
|
710
714
|
interface ITextareaStyle extends IStyleWithSpacing {
|
|
@@ -728,6 +732,8 @@ interface ITextareaStyle extends IStyleWithSpacing {
|
|
|
728
732
|
shared_size?: IContentField<TSharedSize>;
|
|
729
733
|
shared_radius?: IContentField<TSharedRadius>;
|
|
730
734
|
web_textarea_variant?: IContentField<TMantineTextareaVariant>;
|
|
735
|
+
shared_max_length?: IContentField<string>;
|
|
736
|
+
mobile_auto_capitalize?: IContentField<string>;
|
|
731
737
|
translatable?: IContentField<TMantineTranslatable>;
|
|
732
738
|
}
|
|
733
739
|
interface IRichTextEditorStyle extends IStyleWithSpacing {
|
|
@@ -748,7 +754,6 @@ interface IRichTextEditorStyle extends IStyleWithSpacing {
|
|
|
748
754
|
}
|
|
749
755
|
interface ISelectStyle extends IBaseStyle {
|
|
750
756
|
style_name: 'select';
|
|
751
|
-
alt?: IContentField<string>;
|
|
752
757
|
is_required?: IContentField<string>;
|
|
753
758
|
name?: IContentField<string>;
|
|
754
759
|
value?: IContentField<string>;
|
|
@@ -884,6 +889,8 @@ interface ISwitchStyle extends IStyleWithSpacing {
|
|
|
884
889
|
web_switch_on_value?: IContentField<string>;
|
|
885
890
|
web_use_input_wrapper?: IContentField<string>;
|
|
886
891
|
web_switch_off_value?: IContentField<string>;
|
|
892
|
+
web_switch_with_thumb_indicator?: IContentField<string>;
|
|
893
|
+
web_switch_thumb_icon?: IContentField<string>;
|
|
887
894
|
}
|
|
888
895
|
interface IComboboxStyle extends IStyleWithSpacing {
|
|
889
896
|
style_name: 'combobox';
|
|
@@ -907,6 +914,9 @@ interface IColorInputStyle extends IStyleWithSpacing {
|
|
|
907
914
|
label?: IContentField<string>;
|
|
908
915
|
web_color_format?: IContentField<string>;
|
|
909
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>;
|
|
910
920
|
shared_size?: IContentField<TSharedSize>;
|
|
911
921
|
shared_radius?: IContentField<TSharedRadius>;
|
|
912
922
|
placeholder?: IContentField<string>;
|
|
@@ -961,6 +971,11 @@ interface INumberInputStyle extends IStyleWithSpacing {
|
|
|
961
971
|
web_numeric_step?: IContentField<string>;
|
|
962
972
|
web_number_input_decimal_scale?: IContentField<string>;
|
|
963
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>;
|
|
964
979
|
shared_size?: IContentField<TSharedSize>;
|
|
965
980
|
shared_radius?: IContentField<TSharedRadius>;
|
|
966
981
|
placeholder?: IContentField<string>;
|
|
@@ -1018,6 +1033,7 @@ interface IProgressStyle extends IStyleWithSpacing {
|
|
|
1018
1033
|
interface IProgressRootStyle extends IBaseStyle {
|
|
1019
1034
|
style_name: 'progress-root';
|
|
1020
1035
|
shared_size?: IContentField<TSharedSize>;
|
|
1036
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
1021
1037
|
web_progress_auto_contrast?: IContentField<string>;
|
|
1022
1038
|
}
|
|
1023
1039
|
interface IProgressSectionStyle extends IBaseStyle {
|
|
@@ -1097,6 +1113,10 @@ interface ITabsStyle extends IStyleWithSpacing {
|
|
|
1097
1113
|
web_tabs_orientation?: IContentField<TMantineOrientation>;
|
|
1098
1114
|
web_tabs_radius?: IContentField<TMantineRadius>;
|
|
1099
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>;
|
|
1100
1120
|
web_width?: IContentField<TMantineWidth>;
|
|
1101
1121
|
web_height?: IContentField<TMantineHeight>;
|
|
1102
1122
|
}
|
|
@@ -705,6 +705,10 @@ interface ITextInputStyle extends IStyleWithSpacing {
|
|
|
705
705
|
shared_size?: IContentField<TSharedSize>;
|
|
706
706
|
shared_radius?: IContentField<TSharedRadius>;
|
|
707
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>;
|
|
708
712
|
translatable?: IContentField<TMantineTranslatable>;
|
|
709
713
|
}
|
|
710
714
|
interface ITextareaStyle extends IStyleWithSpacing {
|
|
@@ -728,6 +732,8 @@ interface ITextareaStyle extends IStyleWithSpacing {
|
|
|
728
732
|
shared_size?: IContentField<TSharedSize>;
|
|
729
733
|
shared_radius?: IContentField<TSharedRadius>;
|
|
730
734
|
web_textarea_variant?: IContentField<TMantineTextareaVariant>;
|
|
735
|
+
shared_max_length?: IContentField<string>;
|
|
736
|
+
mobile_auto_capitalize?: IContentField<string>;
|
|
731
737
|
translatable?: IContentField<TMantineTranslatable>;
|
|
732
738
|
}
|
|
733
739
|
interface IRichTextEditorStyle extends IStyleWithSpacing {
|
|
@@ -748,7 +754,6 @@ interface IRichTextEditorStyle extends IStyleWithSpacing {
|
|
|
748
754
|
}
|
|
749
755
|
interface ISelectStyle extends IBaseStyle {
|
|
750
756
|
style_name: 'select';
|
|
751
|
-
alt?: IContentField<string>;
|
|
752
757
|
is_required?: IContentField<string>;
|
|
753
758
|
name?: IContentField<string>;
|
|
754
759
|
value?: IContentField<string>;
|
|
@@ -884,6 +889,8 @@ interface ISwitchStyle extends IStyleWithSpacing {
|
|
|
884
889
|
web_switch_on_value?: IContentField<string>;
|
|
885
890
|
web_use_input_wrapper?: IContentField<string>;
|
|
886
891
|
web_switch_off_value?: IContentField<string>;
|
|
892
|
+
web_switch_with_thumb_indicator?: IContentField<string>;
|
|
893
|
+
web_switch_thumb_icon?: IContentField<string>;
|
|
887
894
|
}
|
|
888
895
|
interface IComboboxStyle extends IStyleWithSpacing {
|
|
889
896
|
style_name: 'combobox';
|
|
@@ -907,6 +914,9 @@ interface IColorInputStyle extends IStyleWithSpacing {
|
|
|
907
914
|
label?: IContentField<string>;
|
|
908
915
|
web_color_format?: IContentField<string>;
|
|
909
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>;
|
|
910
920
|
shared_size?: IContentField<TSharedSize>;
|
|
911
921
|
shared_radius?: IContentField<TSharedRadius>;
|
|
912
922
|
placeholder?: IContentField<string>;
|
|
@@ -961,6 +971,11 @@ interface INumberInputStyle extends IStyleWithSpacing {
|
|
|
961
971
|
web_numeric_step?: IContentField<string>;
|
|
962
972
|
web_number_input_decimal_scale?: IContentField<string>;
|
|
963
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>;
|
|
964
979
|
shared_size?: IContentField<TSharedSize>;
|
|
965
980
|
shared_radius?: IContentField<TSharedRadius>;
|
|
966
981
|
placeholder?: IContentField<string>;
|
|
@@ -1018,6 +1033,7 @@ interface IProgressStyle extends IStyleWithSpacing {
|
|
|
1018
1033
|
interface IProgressRootStyle extends IBaseStyle {
|
|
1019
1034
|
style_name: 'progress-root';
|
|
1020
1035
|
shared_size?: IContentField<TSharedSize>;
|
|
1036
|
+
shared_radius?: IContentField<TSharedRadius>;
|
|
1021
1037
|
web_progress_auto_contrast?: IContentField<string>;
|
|
1022
1038
|
}
|
|
1023
1039
|
interface IProgressSectionStyle extends IBaseStyle {
|
|
@@ -1097,6 +1113,10 @@ interface ITabsStyle extends IStyleWithSpacing {
|
|
|
1097
1113
|
web_tabs_orientation?: IContentField<TMantineOrientation>;
|
|
1098
1114
|
web_tabs_radius?: IContentField<TMantineRadius>;
|
|
1099
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>;
|
|
1100
1120
|
web_width?: IContentField<TMantineWidth>;
|
|
1101
1121
|
web_height?: IContentField<TMantineHeight>;
|
|
1102
1122
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@selfhelp/shared",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.17",
|
|
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",
|
|
@@ -87,7 +87,11 @@ export interface IMobileInputProps extends IMobileAdapterBaseProps {
|
|
|
87
87
|
isInvalid?: boolean;
|
|
88
88
|
isRequired?: boolean;
|
|
89
89
|
secureTextEntry?: boolean;
|
|
90
|
-
keyboardType?: 'default' | 'email-address' | 'numeric' | 'phone-pad';
|
|
90
|
+
keyboardType?: 'default' | 'email-address' | 'numeric' | 'phone-pad' | 'url';
|
|
91
|
+
/** Max characters (maps to RN `maxLength`; from `shared_max_length`). */
|
|
92
|
+
maxLength?: number;
|
|
93
|
+
/** Native auto-capitalize behaviour (from `mobile_auto_capitalize`). */
|
|
94
|
+
autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
|
|
91
95
|
}
|
|
92
96
|
|
|
93
97
|
export interface IMobileTextareaProps extends IMobileAdapterBaseProps {
|
|
@@ -100,6 +104,10 @@ export interface IMobileTextareaProps extends IMobileAdapterBaseProps {
|
|
|
100
104
|
isRequired?: boolean;
|
|
101
105
|
/** Minimum visible rows (maps to RN `numberOfLines`). */
|
|
102
106
|
numberOfLines?: number;
|
|
107
|
+
/** Max characters (maps to RN `maxLength`; from `shared_max_length`). */
|
|
108
|
+
maxLength?: number;
|
|
109
|
+
/** Native auto-capitalize behaviour (from `mobile_auto_capitalize`). */
|
|
110
|
+
autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
|
|
103
111
|
}
|
|
104
112
|
|
|
105
113
|
export interface IMobileSwitchProps extends IMobileAdapterBaseProps {
|
|
@@ -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 {
|