@selfhelp/shared 1.14.17 → 1.14.23

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +136 -0
  2. package/dist/{common-DMm4kymA.d.mts → common-udJ0O8qC.d.mts} +1 -1
  3. package/dist/{common-DMm4kymA.d.ts → common-udJ0O8qC.d.ts} +1 -1
  4. package/dist/index.d.mts +33 -9
  5. package/dist/index.d.ts +33 -9
  6. package/dist/index.js +6 -6
  7. package/dist/index.mjs +6 -6
  8. package/dist/plugin-sdk/index.d.mts +2 -2
  9. package/dist/plugin-sdk/index.d.ts +2 -2
  10. package/dist/plugin-sdk/index.js +1 -1
  11. package/dist/plugin-sdk/index.mjs +1 -1
  12. package/dist/registry/index.d.mts +3 -3
  13. package/dist/registry/index.d.ts +3 -3
  14. package/dist/registry/index.js +1 -1
  15. package/dist/registry/index.mjs +1 -1
  16. package/dist/{styles.registry-D6u2lOw8.d.ts → styles.registry-CZZwODJY.d.mts} +216 -178
  17. package/dist/{styles.registry-DPNHAOM1.d.mts → styles.registry-DQKcvIBZ.d.ts} +216 -178
  18. package/dist/theme/index.d.mts +20 -20
  19. package/dist/theme/index.d.ts +20 -20
  20. package/dist/theme/index.js +5 -5
  21. package/dist/theme/index.mjs +5 -5
  22. package/dist/theme/tailwind.d.mts +2 -2
  23. package/dist/theme/tailwind.d.ts +2 -2
  24. package/package.json +1 -1
  25. package/src/registry/styles.registry.ts +1 -1
  26. package/src/theme/__tests__/semantic.test.ts +19 -19
  27. package/src/theme/mantineVariant.ts +1 -1
  28. package/src/theme/semantic.ts +24 -24
  29. package/src/theme/tailwind.ts +2 -2
  30. package/src/theme/tokens.ts +1 -1
  31. package/src/types/__tests__/mobile-adapters.test.ts +1 -1
  32. package/src/types/mantine/common.ts +1 -1
  33. package/src/types/mobile-adapters.ts +30 -4
  34. package/src/types/styles/auth.ts +13 -9
  35. package/src/types/styles/base.ts +2 -2
  36. package/src/types/styles/composite.ts +7 -7
  37. package/src/types/styles/error.ts +9 -9
  38. package/src/types/styles/forms.ts +99 -59
  39. package/src/types/styles/interactive.ts +42 -32
  40. package/src/types/styles/layout.ts +42 -42
  41. package/src/types/styles/media.ts +6 -6
  42. package/src/types/styles/typography.ts +13 -13
  43. package/src/utils/spacing.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -9,6 +9,142 @@ 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.23
13
+
14
+ Contract tidy on the back of the cross-repo style audit (no runtime behaviour
15
+ change).
16
+
17
+ ### Removed
18
+
19
+ - **`IImageStyle.height` / `IImageStyle.width`** — orphan optional fields with no
20
+ backing catalog field (image sizing is web-only via `web_width`/`web_height`).
21
+ No renderer read them as typed props; the mobile renderer's dead
22
+ `width`/`height` fallback was dropped in the same wave.
23
+
24
+ ### Changed
25
+
26
+ - `rich-text-editor` registry description updated — it is a native inline-format
27
+ toolbar **editor** on mobile, not the old "READ-ONLY viewer on mobile v1".
28
+ - `media.ts` interface closings reformatted (`;}` on one line → `;` + `}` on its
29
+ own line) so line-based tooling (e.g. the backend style-field audit parser)
30
+ reads each interface cleanly.
31
+
32
+ ## v1.14.22
33
+
34
+ Field-naming unification (Option B): the `shared_*` field-name prefix is dropped
35
+ so that **no prefix = applies to both platforms**. `shared_*` (cross-platform
36
+ presentation) and the unprefixed `common` fields (cross-platform behaviour) were
37
+ the same scope, so the prefix was redundant. Backend migration
38
+ `Version20260622165615` renames the catalog in lockstep; consumers read the new
39
+ unprefixed field names. Pre-1.0 coordinated breaking change.
40
+
41
+ ### Changed
42
+
43
+ - **47 `shared_*` style props renamed to unprefixed** across the style
44
+ interfaces (`size`, `spacing`, `radius`, `color`, `variant`, `gap`, `cols`,
45
+ `justify`, `align`, `direction`, `wrap`, `full_width`, `orientation`,
46
+ `multiple`, `clearable`, `searchable`, `max_length`, `min_rows`/`max_rows`,
47
+ `mih`/`miw`/`mah`/`maw`, `grid_*`, `buttons_*`, `btn_*_color`, `text_align`,
48
+ `vertical_spacing`, `line_clamp`, `label_position`, `with_close_button`,
49
+ `*_variant`, …). The rule is now: no prefix = both platforms (translatable
50
+ when `display=1`), `web_`/`mobile_` = platform-specific.
51
+
52
+ ### Kept (reserved-name exceptions)
53
+
54
+ - **`shared_height`, `shared_width`, `shared_icon`** keep their prefix. The bare
55
+ names `height`/`width`/`icon` already exist as **page-type** fields in the
56
+ globally-unique backend `fields` table (page `icon` is live on real pages), so
57
+ these three style fields cannot drop the prefix without a collision.
58
+
59
+ ## v1.14.21
60
+
61
+ Style authoring upgrade contracts for the form / notification / show-user-input
62
+ styles (approved `/style` run, 2026-06-22). All additions are optional and the
63
+ two notification renames are pre-1.0 portability promotions; consumers read the
64
+ new field names.
65
+
66
+ ### Added
67
+
68
+ - **`IFormStyle.title` + `description`** — optional auto-styled heading/subtitle
69
+ rendered above `form-record` / `form-log` when set (empty = unchanged).
70
+ - **`IFormStyle.alert_success_title` + `alert_error_title`** — translatable
71
+ headings for the success/error alerts (were hardcoded `Success`/`Error`).
72
+ - **`IFormStyle.confirm_submit` + `confirm_message`** — optional
73
+ confirm-before-save dialog (off by default).
74
+ - **`IShowUserInputStyle.title` + `empty_text`** — optional heading and a
75
+ configurable empty-state message (was hardcoded `No entries found.`).
76
+
77
+ ### Changed
78
+
79
+ - **`INotificationStyle`** — `web_left_icon` → **`shared_icon`** and
80
+ `web_notification_with_close_button` → **`shared_with_close_button`**: the icon
81
+ and dismiss toggle are now portable so the mobile renderer honours them too.
82
+ (`web_left_icon` stays a web-only field on the other 15 styles that use it.)
83
+
84
+ ## v1.14.20
85
+
86
+ Type-contract drift fixes for three styles, reconciling the `@selfhelp/shared`
87
+ interfaces with the live `admin/styles/schema` catalog. All additions are
88
+ optional fields the DB already returns, so the contract stays backward
89
+ compatible.
90
+
91
+ ### Added
92
+
93
+ - **`IResetPasswordStyle.shared_color`** — the `reset-password` style has a
94
+ `shared_color` field in the CMS (the submit/link-button accent, default
95
+ `blue`), which the web `ResetPasswordStyle` renderer already reads via an
96
+ inline cast. Typing it removes the cast and documents the cross-platform
97
+ button colour.
98
+ - **`IValidateStyle.label_timezone`** — the `validate` activation form renders a
99
+ timezone select for anonymous users; its label field existed in the DB but was
100
+ missing from the type.
101
+ - **`IShowUserInputStyle.data_table`** — the `show-user-input` style binds to a
102
+ source data table (`data_table`, common scope); the field was in the DB and
103
+ documented in the reference but missing from the type.
104
+
105
+ ## v1.14.19
106
+
107
+ Fixes for the select renderers (web label + mobile multi-select), both additive
108
+ so the contract stays backward compatible.
109
+
110
+ ### Added
111
+
112
+ - **`ISelectStyle.label`** — the `select` style has always had a `label`
113
+ (markdown-inline, content scope) field in the CMS, but the type omitted it, so
114
+ the web `SelectStyle` renderer never displayed it. Typing it lets the frontend
115
+ render the label like every other form field.
116
+ - **`IMobileSelectProps.multiple`** — multi-select mode for the mobile select
117
+ adapter (CMS `is_multiple`). The contract value stays a single string, now a
118
+ comma-separated list in multiple mode; the adapter maps it to HeroUI Native's
119
+ `selectionMode="multiple"`.
120
+
121
+ ## v1.14.18
122
+
123
+ Mobile-only capability pass (backend migration `Version20260622145334`): HeroUI
124
+ Native props that have no web/Mantine equivalent, exposed as `mobile_*` CMS
125
+ fields so authors configure the native look from the CMS. The web renderer
126
+ ignores `mobile_*`. All additions are optional, so the contract stays backward
127
+ compatible.
128
+
129
+ ### Added
130
+
131
+ - **Type aliases**: `TMobileSelectPresentation` (`'bottom-sheet' | 'dialog' |
132
+ 'popover'`), `TMobileFieldVariant` (`'primary' | 'secondary'`),
133
+ `TMobileButtonFeedback` (`'scale-highlight' | 'scale-ripple' | 'scale' |
134
+ 'none'`).
135
+ - **`ISelectStyle` / `IComboboxStyle`**: `mobile_select_presentation` — how the
136
+ HeroUI Native option list opens (combobox reuses the mobile select renderer).
137
+ - **`IButtonStyle`**: `mobile_button_feedback` — HeroUI Native press feedback.
138
+ - **`ISliderStyle` / `IRangeSliderStyle`**: `mobile_slider_show_value` /
139
+ `mobile_range_slider_show_value` — toggle the HeroUI Native `Slider.Output`
140
+ value bubble.
141
+ - **`ITextInputStyle` / `ITextareaStyle` / `ICheckboxStyle`**:
142
+ `mobile_input_variant` / `mobile_textarea_variant` / `mobile_checkbox_variant`
143
+ — HeroUI Native primary/secondary field variant.
144
+ - **Mobile adapter contract**: `IMobileSelectProps.presentation`,
145
+ `IMobileButtonProps.feedbackVariant`, `IMobileInputProps.variant`,
146
+ `IMobileTextareaProps.variant`, `IMobileCheckboxProps.variant`.
147
+
12
148
  ## v1.14.17
13
149
 
14
150
  Mobile adapter contract additions for the form capability pass (so the mobile
@@ -11,7 +11,7 @@ type TMantineSpacing = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'none' | string;
11
11
  /**
12
12
  * Cross-platform (`shared_*`) semantic scales — the TRUE common denominator
13
13
  * between Mantine (web) and HeroUI Native / React Native (mobile). HeroUI Native
14
- * only exposes `sm | md | lg`, so portable `shared_size` / `shared_radius` fields
14
+ * only exposes `sm | md | lg`, so portable `size` / `radius` fields
15
15
  * use these narrowed scales instead of the full Mantine `xs..xl` range. The
16
16
  * backend enforces the same domain (migration `Version20260618195450`), and the
17
17
  * semantic mapper (`theme/semantic.ts`) maps these 1:1 without clamping.
@@ -11,7 +11,7 @@ type TMantineSpacing = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'none' | string;
11
11
  /**
12
12
  * Cross-platform (`shared_*`) semantic scales — the TRUE common denominator
13
13
  * between Mantine (web) and HeroUI Native / React Native (mobile). HeroUI Native
14
- * only exposes `sm | md | lg`, so portable `shared_size` / `shared_radius` fields
14
+ * only exposes `sm | md | lg`, so portable `size` / `radius` fields
15
15
  * use these narrowed scales instead of the full Mantine `xs..xl` range. The
16
16
  * backend enforces the same domain (migration `Version20260618195450`), and the
17
17
  * semantic mapper (`theme/semantic.ts`) maps these 1:1 without clamping.
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
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
- 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';
1
+ import { T as TStyleName, j as IContentField, k as TMobileButtonFeedback, l as TMobileFieldVariant, m as TMobileSelectPresentation } from './styles.registry-CZZwODJY.mjs';
2
+ export { B as BASE_STYLE_REGISTRY, n as IAccordionItemStyle, o as IAccordionStyle, p as IActionIconStyle, q as IAlertStyle, r as IAspectRatioStyle, s as IAudioStyle, t as IAvatarStyle, u as IBackgroundImageStyle, v as IBadgeStyle, w as IBaseStyle, x as IBlockquoteStyle, y as IBoxStyle, z as IButtonStyle, A as ICardSegmentStyle, C as ICardStyle, D as ICarouselStyle, E as ICenterStyle, F as ICheckboxStyle, G as IChipStyle, H as ICodeStyle, J as IColorInputStyle, K as IColorPickerStyle, L as IComboboxStyle, M as IContainerStyle, N as IDataContainerStyle, O as IDatePickerStyle, P as IDividerStyle, Q as IEntryListStyle, R as IEntryRecordDeleteStyle, U as IEntryRecordStyle, V as IFieldsetStyle, W as IFigureStyle, X as IFileInputStyle, Y as IFlexStyle, Z as IFormLogStyle, $ as IFormRecordStyle, a0 as IFormStyle, a1 as IGridColumnStyle, a2 as IGridStyle, a3 as IGroupStyle, a4 as IHighlightStyle, a5 as IHtmlTagStyle, a6 as IImageStyle, a7 as IIndicatorStyle, a8 as IInputStyle, a9 as IKbdStyle, aa as ILinkStyle, ab as IListItemStyle, ac as IListStyle, ad as ILoginStyle, ae as ILoopStyle, af as IMissingStyle, ag as INoAccessStyle, ah as INotFoundStyle, ai as INotificationStyle, aj as INumberInputStyle, ak as IPaperStyle, a as IPluginStyleRegistryEntry, al as IProfileStyle, am as IProgressRootStyle, an as IProgressSectionStyle, ao as IProgressStyle, ap as IRadioStyle, aq as IRangeSliderStyle, ar as IRatingStyle, as as IRefContainerStyle, at as IRegisterStyle, au as IResetPasswordStyle, av as IRichTextEditorStyle, aw as IScrollAreaStyle, ax as ISegmentedControlStyle, ay as ISelectStyle, az as IShowUserInputEntry, aA as IShowUserInputStyle, aB as ISimpleGridStyle, aC as ISliderStyle, aD as ISpaceStyle, aE as ISpoilerStyle, aF as IStackStyle, I as IStyleRegistryEntry, aG as IStyleWithSpacing, aH as ISwitchStyle, aI as ITabStyle, aJ as ITabsStyle, aK as ITextInputStyle, aL as ITextStyle, aM as ITextareaStyle, aN as IThemeIconStyle, aO as ITimelineItemStyle, aP as ITimelineStyle, aQ as ITitleStyle, aR as ITwoFactorAuthStyle, aS as ITypographyStyle, aT as IUnknownStyle, aU as IValidateStyle, aV as IVersionStyle, aW as IVideoStyle, S as STYLE_REGISTRY, c as TConcretePlatform, aX as TMantineAccordionChevronPosition, aY as TMantineAccordionDisableChevronRotation, aZ as TMantineAccordionLoop, a_ as TMantineAccordionMultiple, a$ as TMantineAnchorUnderline, b0 as TMantineBorder, b1 as TMantineCardPadding, b2 as TMantineCardShadow, b3 as TMantineCols, b4 as TMantineDividerVariant, b5 as TMantineGap, b6 as TMantineGridOffset, b7 as TMantineGridOrder, b8 as TMantineHeight, b9 as TMantineIconSize, ba as TMantineImageFit, bb as TMantineLineClamp, bc as TMantineListCenter, bd as TMantineListStyleType, be as TMantineListType, bf as TMantineListWithPadding, bg as TMantinePaperShadow, bh as TMantineProgressTransition, bi as TMantineScrollAreaSize, bj as TMantineScrollAreaType, bk as TMantineTextAlign, bl as TMantineTextDecoration, bm as TMantineTextFontStyle, bn as TMantineTextFontWeight, bo as TMantineTextInherit, bp as TMantineTextInputVariant, bq as TMantineTextSpan, br as TMantineTextTransform, bs as TMantineTextTruncate, bt as TMantineTextVariant, bu as TMantineTextareaAutosize, bv as TMantineTextareaResize, bw as TMantineTextareaVariant, bx as TMantineTimelineAlign, by as TMantineTitleLineClamp, bz as TMantineTitleTextWrap, bA as TMantineTranslatable, bB as TMantineUseInputWrapper, bC as TMantineWidth, bD as TSharedBorder, bE as TSharedCols, bF as TSharedDimension, bG as TSharedDividerLabelPosition, bH as TSharedDividerVariant, bI as TSharedLabelPosition, bJ 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-CZZwODJY.mjs';
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-udJ0O8qC.mjs';
4
4
  import { ReactNode, ComponentType } from 'react';
5
5
  import { THeroUiButtonVariant, THeroUiSize } from './theme/index.mjs';
6
6
  export { COLOR_PALETTE, COLOR_SCALES, CONTAINER_SIZE_PX, FONT_SIZE_PX, FULL_RADIUS_PX, IHeroUiResolvedStyle, IMantineResolvedStyle, IReactNativeGridColumn, IReactNativeResolvedStyle, IReactNativeThemeScales, IResolvedVariant, ISharedStyleProps, ISpacingResolved, LINE_HEIGHT, RADIUS_PX, SPACING_PX, SPACING_TO_TAILWIND, TCanonicalColor, TCanonicalRadius, TCanonicalSpacing, THeroUiColor, TMantineMappedColor, TMantineMappedVariant, TReactNativeDimension, TSemanticColor, TSemanticIntent, TSemanticRadius, TSemanticSize, TSemanticSpacing, TSemanticState, TSemanticVariant, colorToHex, gridSpanToReactNativeColumn, mapAccordionVariantToHeroUiVariant, mapChipVariantToHeroUiVariant, mapDividerVariantToReactNative, mapIntentToHeroUiButtonVariant, mapIntentToHeroUiColor, mapIntentToMantine, mapMantineColorToHeroUiButtonVariant, mapMantineColorToHeroUiColor, mapMantineVariantToHeroUiButtonVariant, mapRadiusToMantine, mapRadiusToPx, mapSizeToHeroUi, mapSizeToMantine, mapSpacingToPx, parseDimensionToReactNative, parseDimensionToWeb, radiusToPx, resolveMantineVariant, resolveSharedStyle, resolveSharedStyleForMobile, resolveSharedStyleForWeb, resolveSharedStyleProps, sizeToFontPx, spacingToPx, toHeroUiSemanticProps, toMantineSemanticProps, toReactNativeSemanticStyle } from './theme/index.mjs';
@@ -1192,10 +1192,15 @@ interface IMobileButtonProps extends IMobileAdapterBaseProps {
1192
1192
  isLoading?: boolean;
1193
1193
  isIconOnly?: boolean;
1194
1194
  fullWidth?: boolean;
1195
+ /**
1196
+ * Native press feedback (HeroUI Native `feedbackVariant`). No web
1197
+ * equivalent — driven by the mobile-only `mobile_button_feedback` field.
1198
+ */
1199
+ feedbackVariant?: TMobileButtonFeedback;
1195
1200
  /**
1196
1201
  * Optional concrete background colour (resolved hex) that overrides the
1197
1202
  * variant's themed fill, used for cross-platform parity when a CMS style
1198
- * exposes an authored colour (e.g. `login`'s `shared_color`, which Mantine
1203
+ * exposes an authored colour (e.g. `login`'s `color`, which Mantine
1199
1204
  * applies to the web button via `color`). The adapter keeps the variant's
1200
1205
  * readable foreground (white on a filled button). Leave undefined to use the
1201
1206
  * variant's default themed colour. Resolve it through the shared mapper
@@ -1231,10 +1236,12 @@ interface IMobileInputProps extends IMobileAdapterBaseProps {
1231
1236
  isRequired?: boolean;
1232
1237
  secureTextEntry?: boolean;
1233
1238
  keyboardType?: 'default' | 'email-address' | 'numeric' | 'phone-pad' | 'url';
1234
- /** Max characters (maps to RN `maxLength`; from `shared_max_length`). */
1239
+ /** Max characters (maps to RN `maxLength`; from `max_length`). */
1235
1240
  maxLength?: number;
1236
1241
  /** Native auto-capitalize behaviour (from `mobile_auto_capitalize`). */
1237
1242
  autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
1243
+ /** HeroUI Native field variant (from `mobile_input_variant`). */
1244
+ variant?: TMobileFieldVariant;
1238
1245
  }
1239
1246
  interface IMobileTextareaProps extends IMobileAdapterBaseProps {
1240
1247
  value?: string;
@@ -1246,10 +1253,12 @@ interface IMobileTextareaProps extends IMobileAdapterBaseProps {
1246
1253
  isRequired?: boolean;
1247
1254
  /** Minimum visible rows (maps to RN `numberOfLines`). */
1248
1255
  numberOfLines?: number;
1249
- /** Max characters (maps to RN `maxLength`; from `shared_max_length`). */
1256
+ /** Max characters (maps to RN `maxLength`; from `max_length`). */
1250
1257
  maxLength?: number;
1251
1258
  /** Native auto-capitalize behaviour (from `mobile_auto_capitalize`). */
1252
1259
  autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
1260
+ /** HeroUI Native field variant (from `mobile_textarea_variant`). */
1261
+ variant?: TMobileFieldVariant;
1253
1262
  }
1254
1263
  interface IMobileSwitchProps extends IMobileAdapterBaseProps {
1255
1264
  isSelected?: boolean;
@@ -1264,10 +1273,12 @@ interface IMobileCheckboxProps extends IMobileAdapterBaseProps {
1264
1273
  label?: string;
1265
1274
  /**
1266
1275
  * Where the label sits relative to the box. Mirrors the cross-platform
1267
- * `shared_label_position` field (Mantine `labelPosition` on web). Defaults
1276
+ * `label_position` field (Mantine `labelPosition` on web). Defaults
1268
1277
  * to `right`.
1269
1278
  */
1270
1279
  labelPosition?: 'left' | 'right';
1280
+ /** HeroUI Native checkbox variant (from `mobile_checkbox_variant`). */
1281
+ variant?: TMobileFieldVariant;
1271
1282
  }
1272
1283
  interface IMobileSelectOption {
1273
1284
  value: string;
@@ -1279,6 +1290,19 @@ interface IMobileSelectProps extends IMobileAdapterBaseProps {
1279
1290
  options: readonly IMobileSelectOption[];
1280
1291
  placeholder?: string;
1281
1292
  isDisabled?: boolean;
1293
+ /**
1294
+ * Multi-select mode (CMS `is_multiple`). When true the contract value is a
1295
+ * comma-separated list of option values and `onValueChange` emits the same
1296
+ * comma-separated form; the adapter renders HeroUI Native's
1297
+ * `selectionMode="multiple"`.
1298
+ */
1299
+ multiple?: boolean;
1300
+ /**
1301
+ * How the option list opens (HeroUI Native Select.Content presentation).
1302
+ * From the mobile-only `mobile_select_presentation` field; empty/undefined
1303
+ * falls back to the renderer default (`bottom-sheet`).
1304
+ */
1305
+ presentation?: TMobileSelectPresentation;
1282
1306
  }
1283
1307
  interface IMobileModalProps extends IMobileAdapterBaseProps {
1284
1308
  isOpen: boolean;
@@ -1592,7 +1616,7 @@ declare function hasInlineFormatting(value: string | null | undefined): boolean;
1592
1616
  declare function stripHtmlToText(value: string | null | undefined): string;
1593
1617
 
1594
1618
  /**
1595
- * Parse the unified `shared_spacing` field. The CMS
1619
+ * Parse the unified `spacing` field. The CMS
1596
1620
  * stores this as a JSON string with optional keys for each side:
1597
1621
  *
1598
1622
  * { "mt": "md", "mb": "lg", "ms": "0", "me": "auto",
@@ -1670,4 +1694,4 @@ declare function transformPageData(apiPage: IRawPage): IPageItem;
1670
1694
  */
1671
1695
  declare function transformPagesData(pages: IRawPage[] | null | undefined): IPageItem[];
1672
1696
 
1673
- export { API_VERSION_PREFIX, type AdvisoryAffected, type AdvisoryFeed, type AdvisorySeverity, type BackupManifest, type BackupRetentionPolicy, type BackupSchedulePolicy, CLASS_PATTERNS, CLASS_REMAP, CLIENT_TYPE_MOBILE, CLIENT_TYPE_MOBILE_AND_WEB, CLIENT_TYPE_WEB, COLOR_NAMES, type CheckSeverity, type CompatibilityRules, type CoreRelease, type DatabaseMigrationMetadata, ENDPOINTS, type FrontendRelease, HEADER_CLIENT_TYPE, type IApiError, type IApiMeta, type IAssetSource, type IBaseApiResponse, type IBasePageInfo, type IBasePageSection, type IClassPattern, type IClassRemap, type ICompatibilityError, type IConditionContext, IContentField, type IEvaluatedCondition, type IForgotPasswordRequest, type IForgotPasswordResponse, type IFormDeleteRequest, type IFormDeleteResponse, type IFormResultLegacyFields, type IFormSubmitData, type IFormSubmitRequest, type IFormSubmitResponse, type IFormUpdateData, type IFormUpdateRequest, type IFormUpdateResponse, type IFrontendUpdatePreflight, type IFrontendUpdatePreflightResponse, type IFrontendUpdateReleases, type IFrontendUpdateReleasesResponse, type IFrontendUpdateRequest, type IFrontendUpdateRequestResponse, type IGetPageResponse, type IGetPagesResponse, type IInlineNode, type IJwtPayload, type ILanguage, type ILanguageItem, type ILanguagePreference, type ILanguagePreferenceUpdateResponse, type ILanguagesResponse, type ILoginRequest, type ILoginSuccessData, type ILoginSuccessResponse, type ILogoutSuccessResponse, type IMaintenanceSetRequest, type IMeta, type IMobileAdapterBaseProps, type IMobileButtonProps, type IMobileCardProps, type IMobileCheckboxProps, type IMobileContainerProps, type IMobileInputProps, type IMobileModalProps, type IMobileSelectOption, type IMobileSelectProps, type IMobileSwitchProps, type IMobileTextProps, type IMobileTextareaProps, type IMobileUiAdapters, type IPageAccessTypeInfo, type IPageContent, type IPageField, type IPageFieldTranslation, type IPageFieldsData, type IPageItem, type IPageSectionWithFields, type IPageSectionsData, type IRefreshRequest, type IRefreshSuccessResponse, type IResetPasswordRequest, type IResetPasswordResponse, type ISpacingValue, type ISystemAdvisories, type ISystemAdvisoriesResponse, type ISystemAdvisory, type ISystemAdvisoryAffected, type ISystemHealth, type ISystemHealthComponent, type ISystemHealthResponse, type ISystemInstalledPlugin, type ISystemMaintenance, type ISystemMaintenanceResponse, type ISystemVersion, type ISystemVersionResponse, type ITwoFactorRequiredData, type ITwoFactorRequiredResponse, type ITwoFactorVerifyRequest, type ITwoFactorVerifySuccessResponse, type IUpdatePreflight, type IUpdatePreflightCheck, type IUpdatePreflightOption, type IUpdatePreflightResponse, type IUpdateRelease, type IUpdateReleases, type IUpdateReleasesResponse, type IUpdateRequest, type IUpdateRequestResponse, type IUpdateStatus, type IUpdateStatusManager, type IUpdateStatusResponse, type IUpdateStep, type IUserData, type IUserDataResponse, type ImageRef, type InstalledPlugin, type InstanceImages, type InstanceLock, type InstanceManifest, type InstanceMode, type InstanceResourceConfig, type InstanceRouting, type InstanceStatus, type InstanceVersions, type InventoryInstanceEntry, LITERAL_CLASSES, type LockPluginEntry, type LockServiceEntry, PERMISSIONS, type PluginRelease, type PreflightCheck, type PreflightOption, type PreflightStatus, RELEASE_CHANNELS, type RegistryIndex, type RegistryReleaseRef, type ReleaseChannel, type RuntimeServicePolicy, type RuntimeServiceRange, SIZE_VALUES, SPACING_VALUES, SYSTEM_ENDPOINTS, type SchedulerRelease, type SecurityAdvisory, type ServerInventory, type ServiceBackendCompatibility, type SignatureBlock, type SupportBundleMeta, type TCalcedValues, type TClassDecision, type TClientType, THeroUiButtonVariant, THeroUiSize, type TPermission, type TPlatform, TStyleName, type TSystemAdvisorySeverity, type TSystemComponentStatus, type TSystemDeployment, type TSystemHealthOverall, type TUpdateCheckSeverity, type TUpdateKind, type TUpdateOperationStatus, type TUpdatePreflightStatus, type TrustLevel, type TrustedKey, type TrustedKeysFile, type UpdatePreflightResult, type WorkerRelease, buildConditionContext, classifyClass, classifyClassString, evaluateCondition, findRemap, hasInlineFormatting, parseInlineRich, parseSpacing, replaceCalcedValues, resolveAssetSources, resolveAssetUrl, spacingToClasses, stripHtmlToText, transformPageData, transformPagesData };
1697
+ export { API_VERSION_PREFIX, type AdvisoryAffected, type AdvisoryFeed, type AdvisorySeverity, type BackupManifest, type BackupRetentionPolicy, type BackupSchedulePolicy, CLASS_PATTERNS, CLASS_REMAP, CLIENT_TYPE_MOBILE, CLIENT_TYPE_MOBILE_AND_WEB, CLIENT_TYPE_WEB, COLOR_NAMES, type CheckSeverity, type CompatibilityRules, type CoreRelease, type DatabaseMigrationMetadata, ENDPOINTS, type FrontendRelease, HEADER_CLIENT_TYPE, type IApiError, type IApiMeta, type IAssetSource, type IBaseApiResponse, type IBasePageInfo, type IBasePageSection, type IClassPattern, type IClassRemap, type ICompatibilityError, type IConditionContext, IContentField, type IEvaluatedCondition, type IForgotPasswordRequest, type IForgotPasswordResponse, type IFormDeleteRequest, type IFormDeleteResponse, type IFormResultLegacyFields, type IFormSubmitData, type IFormSubmitRequest, type IFormSubmitResponse, type IFormUpdateData, type IFormUpdateRequest, type IFormUpdateResponse, type IFrontendUpdatePreflight, type IFrontendUpdatePreflightResponse, type IFrontendUpdateReleases, type IFrontendUpdateReleasesResponse, type IFrontendUpdateRequest, type IFrontendUpdateRequestResponse, type IGetPageResponse, type IGetPagesResponse, type IInlineNode, type IJwtPayload, type ILanguage, type ILanguageItem, type ILanguagePreference, type ILanguagePreferenceUpdateResponse, type ILanguagesResponse, type ILoginRequest, type ILoginSuccessData, type ILoginSuccessResponse, type ILogoutSuccessResponse, type IMaintenanceSetRequest, type IMeta, type IMobileAdapterBaseProps, type IMobileButtonProps, type IMobileCardProps, type IMobileCheckboxProps, type IMobileContainerProps, type IMobileInputProps, type IMobileModalProps, type IMobileSelectOption, type IMobileSelectProps, type IMobileSwitchProps, type IMobileTextProps, type IMobileTextareaProps, type IMobileUiAdapters, type IPageAccessTypeInfo, type IPageContent, type IPageField, type IPageFieldTranslation, type IPageFieldsData, type IPageItem, type IPageSectionWithFields, type IPageSectionsData, type IRefreshRequest, type IRefreshSuccessResponse, type IResetPasswordRequest, type IResetPasswordResponse, type ISpacingValue, type ISystemAdvisories, type ISystemAdvisoriesResponse, type ISystemAdvisory, type ISystemAdvisoryAffected, type ISystemHealth, type ISystemHealthComponent, type ISystemHealthResponse, type ISystemInstalledPlugin, type ISystemMaintenance, type ISystemMaintenanceResponse, type ISystemVersion, type ISystemVersionResponse, type ITwoFactorRequiredData, type ITwoFactorRequiredResponse, type ITwoFactorVerifyRequest, type ITwoFactorVerifySuccessResponse, type IUpdatePreflight, type IUpdatePreflightCheck, type IUpdatePreflightOption, type IUpdatePreflightResponse, type IUpdateRelease, type IUpdateReleases, type IUpdateReleasesResponse, type IUpdateRequest, type IUpdateRequestResponse, type IUpdateStatus, type IUpdateStatusManager, type IUpdateStatusResponse, type IUpdateStep, type IUserData, type IUserDataResponse, type ImageRef, type InstalledPlugin, type InstanceImages, type InstanceLock, type InstanceManifest, type InstanceMode, type InstanceResourceConfig, type InstanceRouting, type InstanceStatus, type InstanceVersions, type InventoryInstanceEntry, LITERAL_CLASSES, type LockPluginEntry, type LockServiceEntry, PERMISSIONS, type PluginRelease, type PreflightCheck, type PreflightOption, type PreflightStatus, RELEASE_CHANNELS, type RegistryIndex, type RegistryReleaseRef, type ReleaseChannel, type RuntimeServicePolicy, type RuntimeServiceRange, SIZE_VALUES, SPACING_VALUES, SYSTEM_ENDPOINTS, type SchedulerRelease, type SecurityAdvisory, type ServerInventory, type ServiceBackendCompatibility, type SignatureBlock, type SupportBundleMeta, type TCalcedValues, type TClassDecision, type TClientType, THeroUiButtonVariant, THeroUiSize, TMobileButtonFeedback, TMobileFieldVariant, TMobileSelectPresentation, type TPermission, type TPlatform, TStyleName, type TSystemAdvisorySeverity, type TSystemComponentStatus, type TSystemDeployment, type TSystemHealthOverall, type TUpdateCheckSeverity, type TUpdateKind, type TUpdateOperationStatus, type TUpdatePreflightStatus, type TrustLevel, type TrustedKey, type TrustedKeysFile, type UpdatePreflightResult, type WorkerRelease, buildConditionContext, classifyClass, classifyClassString, evaluateCondition, findRemap, hasInlineFormatting, parseInlineRich, parseSpacing, replaceCalcedValues, resolveAssetSources, resolveAssetUrl, spacingToClasses, stripHtmlToText, transformPageData, transformPagesData };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
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
- 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';
1
+ import { T as TStyleName, j as IContentField, k as TMobileButtonFeedback, l as TMobileFieldVariant, m as TMobileSelectPresentation } from './styles.registry-DQKcvIBZ.js';
2
+ export { B as BASE_STYLE_REGISTRY, n as IAccordionItemStyle, o as IAccordionStyle, p as IActionIconStyle, q as IAlertStyle, r as IAspectRatioStyle, s as IAudioStyle, t as IAvatarStyle, u as IBackgroundImageStyle, v as IBadgeStyle, w as IBaseStyle, x as IBlockquoteStyle, y as IBoxStyle, z as IButtonStyle, A as ICardSegmentStyle, C as ICardStyle, D as ICarouselStyle, E as ICenterStyle, F as ICheckboxStyle, G as IChipStyle, H as ICodeStyle, J as IColorInputStyle, K as IColorPickerStyle, L as IComboboxStyle, M as IContainerStyle, N as IDataContainerStyle, O as IDatePickerStyle, P as IDividerStyle, Q as IEntryListStyle, R as IEntryRecordDeleteStyle, U as IEntryRecordStyle, V as IFieldsetStyle, W as IFigureStyle, X as IFileInputStyle, Y as IFlexStyle, Z as IFormLogStyle, $ as IFormRecordStyle, a0 as IFormStyle, a1 as IGridColumnStyle, a2 as IGridStyle, a3 as IGroupStyle, a4 as IHighlightStyle, a5 as IHtmlTagStyle, a6 as IImageStyle, a7 as IIndicatorStyle, a8 as IInputStyle, a9 as IKbdStyle, aa as ILinkStyle, ab as IListItemStyle, ac as IListStyle, ad as ILoginStyle, ae as ILoopStyle, af as IMissingStyle, ag as INoAccessStyle, ah as INotFoundStyle, ai as INotificationStyle, aj as INumberInputStyle, ak as IPaperStyle, a as IPluginStyleRegistryEntry, al as IProfileStyle, am as IProgressRootStyle, an as IProgressSectionStyle, ao as IProgressStyle, ap as IRadioStyle, aq as IRangeSliderStyle, ar as IRatingStyle, as as IRefContainerStyle, at as IRegisterStyle, au as IResetPasswordStyle, av as IRichTextEditorStyle, aw as IScrollAreaStyle, ax as ISegmentedControlStyle, ay as ISelectStyle, az as IShowUserInputEntry, aA as IShowUserInputStyle, aB as ISimpleGridStyle, aC as ISliderStyle, aD as ISpaceStyle, aE as ISpoilerStyle, aF as IStackStyle, I as IStyleRegistryEntry, aG as IStyleWithSpacing, aH as ISwitchStyle, aI as ITabStyle, aJ as ITabsStyle, aK as ITextInputStyle, aL as ITextStyle, aM as ITextareaStyle, aN as IThemeIconStyle, aO as ITimelineItemStyle, aP as ITimelineStyle, aQ as ITitleStyle, aR as ITwoFactorAuthStyle, aS as ITypographyStyle, aT as IUnknownStyle, aU as IValidateStyle, aV as IVersionStyle, aW as IVideoStyle, S as STYLE_REGISTRY, c as TConcretePlatform, aX as TMantineAccordionChevronPosition, aY as TMantineAccordionDisableChevronRotation, aZ as TMantineAccordionLoop, a_ as TMantineAccordionMultiple, a$ as TMantineAnchorUnderline, b0 as TMantineBorder, b1 as TMantineCardPadding, b2 as TMantineCardShadow, b3 as TMantineCols, b4 as TMantineDividerVariant, b5 as TMantineGap, b6 as TMantineGridOffset, b7 as TMantineGridOrder, b8 as TMantineHeight, b9 as TMantineIconSize, ba as TMantineImageFit, bb as TMantineLineClamp, bc as TMantineListCenter, bd as TMantineListStyleType, be as TMantineListType, bf as TMantineListWithPadding, bg as TMantinePaperShadow, bh as TMantineProgressTransition, bi as TMantineScrollAreaSize, bj as TMantineScrollAreaType, bk as TMantineTextAlign, bl as TMantineTextDecoration, bm as TMantineTextFontStyle, bn as TMantineTextFontWeight, bo as TMantineTextInherit, bp as TMantineTextInputVariant, bq as TMantineTextSpan, br as TMantineTextTransform, bs as TMantineTextTruncate, bt as TMantineTextVariant, bu as TMantineTextareaAutosize, bv as TMantineTextareaResize, bw as TMantineTextareaVariant, bx as TMantineTimelineAlign, by as TMantineTitleLineClamp, bz as TMantineTitleTextWrap, bA as TMantineTranslatable, bB as TMantineUseInputWrapper, bC as TMantineWidth, bD as TSharedBorder, bE as TSharedCols, bF as TSharedDimension, bG as TSharedDividerLabelPosition, bH as TSharedDividerVariant, bI as TSharedLabelPosition, bJ 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-DQKcvIBZ.js';
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-udJ0O8qC.js';
4
4
  import { ReactNode, ComponentType } from 'react';
5
5
  import { THeroUiButtonVariant, THeroUiSize } from './theme/index.js';
6
6
  export { COLOR_PALETTE, COLOR_SCALES, CONTAINER_SIZE_PX, FONT_SIZE_PX, FULL_RADIUS_PX, IHeroUiResolvedStyle, IMantineResolvedStyle, IReactNativeGridColumn, IReactNativeResolvedStyle, IReactNativeThemeScales, IResolvedVariant, ISharedStyleProps, ISpacingResolved, LINE_HEIGHT, RADIUS_PX, SPACING_PX, SPACING_TO_TAILWIND, TCanonicalColor, TCanonicalRadius, TCanonicalSpacing, THeroUiColor, TMantineMappedColor, TMantineMappedVariant, TReactNativeDimension, TSemanticColor, TSemanticIntent, TSemanticRadius, TSemanticSize, TSemanticSpacing, TSemanticState, TSemanticVariant, colorToHex, gridSpanToReactNativeColumn, mapAccordionVariantToHeroUiVariant, mapChipVariantToHeroUiVariant, mapDividerVariantToReactNative, mapIntentToHeroUiButtonVariant, mapIntentToHeroUiColor, mapIntentToMantine, mapMantineColorToHeroUiButtonVariant, mapMantineColorToHeroUiColor, mapMantineVariantToHeroUiButtonVariant, mapRadiusToMantine, mapRadiusToPx, mapSizeToHeroUi, mapSizeToMantine, mapSpacingToPx, parseDimensionToReactNative, parseDimensionToWeb, radiusToPx, resolveMantineVariant, resolveSharedStyle, resolveSharedStyleForMobile, resolveSharedStyleForWeb, resolveSharedStyleProps, sizeToFontPx, spacingToPx, toHeroUiSemanticProps, toMantineSemanticProps, toReactNativeSemanticStyle } from './theme/index.js';
@@ -1192,10 +1192,15 @@ interface IMobileButtonProps extends IMobileAdapterBaseProps {
1192
1192
  isLoading?: boolean;
1193
1193
  isIconOnly?: boolean;
1194
1194
  fullWidth?: boolean;
1195
+ /**
1196
+ * Native press feedback (HeroUI Native `feedbackVariant`). No web
1197
+ * equivalent — driven by the mobile-only `mobile_button_feedback` field.
1198
+ */
1199
+ feedbackVariant?: TMobileButtonFeedback;
1195
1200
  /**
1196
1201
  * Optional concrete background colour (resolved hex) that overrides the
1197
1202
  * variant's themed fill, used for cross-platform parity when a CMS style
1198
- * exposes an authored colour (e.g. `login`'s `shared_color`, which Mantine
1203
+ * exposes an authored colour (e.g. `login`'s `color`, which Mantine
1199
1204
  * applies to the web button via `color`). The adapter keeps the variant's
1200
1205
  * readable foreground (white on a filled button). Leave undefined to use the
1201
1206
  * variant's default themed colour. Resolve it through the shared mapper
@@ -1231,10 +1236,12 @@ interface IMobileInputProps extends IMobileAdapterBaseProps {
1231
1236
  isRequired?: boolean;
1232
1237
  secureTextEntry?: boolean;
1233
1238
  keyboardType?: 'default' | 'email-address' | 'numeric' | 'phone-pad' | 'url';
1234
- /** Max characters (maps to RN `maxLength`; from `shared_max_length`). */
1239
+ /** Max characters (maps to RN `maxLength`; from `max_length`). */
1235
1240
  maxLength?: number;
1236
1241
  /** Native auto-capitalize behaviour (from `mobile_auto_capitalize`). */
1237
1242
  autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
1243
+ /** HeroUI Native field variant (from `mobile_input_variant`). */
1244
+ variant?: TMobileFieldVariant;
1238
1245
  }
1239
1246
  interface IMobileTextareaProps extends IMobileAdapterBaseProps {
1240
1247
  value?: string;
@@ -1246,10 +1253,12 @@ interface IMobileTextareaProps extends IMobileAdapterBaseProps {
1246
1253
  isRequired?: boolean;
1247
1254
  /** Minimum visible rows (maps to RN `numberOfLines`). */
1248
1255
  numberOfLines?: number;
1249
- /** Max characters (maps to RN `maxLength`; from `shared_max_length`). */
1256
+ /** Max characters (maps to RN `maxLength`; from `max_length`). */
1250
1257
  maxLength?: number;
1251
1258
  /** Native auto-capitalize behaviour (from `mobile_auto_capitalize`). */
1252
1259
  autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
1260
+ /** HeroUI Native field variant (from `mobile_textarea_variant`). */
1261
+ variant?: TMobileFieldVariant;
1253
1262
  }
1254
1263
  interface IMobileSwitchProps extends IMobileAdapterBaseProps {
1255
1264
  isSelected?: boolean;
@@ -1264,10 +1273,12 @@ interface IMobileCheckboxProps extends IMobileAdapterBaseProps {
1264
1273
  label?: string;
1265
1274
  /**
1266
1275
  * Where the label sits relative to the box. Mirrors the cross-platform
1267
- * `shared_label_position` field (Mantine `labelPosition` on web). Defaults
1276
+ * `label_position` field (Mantine `labelPosition` on web). Defaults
1268
1277
  * to `right`.
1269
1278
  */
1270
1279
  labelPosition?: 'left' | 'right';
1280
+ /** HeroUI Native checkbox variant (from `mobile_checkbox_variant`). */
1281
+ variant?: TMobileFieldVariant;
1271
1282
  }
1272
1283
  interface IMobileSelectOption {
1273
1284
  value: string;
@@ -1279,6 +1290,19 @@ interface IMobileSelectProps extends IMobileAdapterBaseProps {
1279
1290
  options: readonly IMobileSelectOption[];
1280
1291
  placeholder?: string;
1281
1292
  isDisabled?: boolean;
1293
+ /**
1294
+ * Multi-select mode (CMS `is_multiple`). When true the contract value is a
1295
+ * comma-separated list of option values and `onValueChange` emits the same
1296
+ * comma-separated form; the adapter renders HeroUI Native's
1297
+ * `selectionMode="multiple"`.
1298
+ */
1299
+ multiple?: boolean;
1300
+ /**
1301
+ * How the option list opens (HeroUI Native Select.Content presentation).
1302
+ * From the mobile-only `mobile_select_presentation` field; empty/undefined
1303
+ * falls back to the renderer default (`bottom-sheet`).
1304
+ */
1305
+ presentation?: TMobileSelectPresentation;
1282
1306
  }
1283
1307
  interface IMobileModalProps extends IMobileAdapterBaseProps {
1284
1308
  isOpen: boolean;
@@ -1592,7 +1616,7 @@ declare function hasInlineFormatting(value: string | null | undefined): boolean;
1592
1616
  declare function stripHtmlToText(value: string | null | undefined): string;
1593
1617
 
1594
1618
  /**
1595
- * Parse the unified `shared_spacing` field. The CMS
1619
+ * Parse the unified `spacing` field. The CMS
1596
1620
  * stores this as a JSON string with optional keys for each side:
1597
1621
  *
1598
1622
  * { "mt": "md", "mb": "lg", "ms": "0", "me": "auto",
@@ -1670,4 +1694,4 @@ declare function transformPageData(apiPage: IRawPage): IPageItem;
1670
1694
  */
1671
1695
  declare function transformPagesData(pages: IRawPage[] | null | undefined): IPageItem[];
1672
1696
 
1673
- export { API_VERSION_PREFIX, type AdvisoryAffected, type AdvisoryFeed, type AdvisorySeverity, type BackupManifest, type BackupRetentionPolicy, type BackupSchedulePolicy, CLASS_PATTERNS, CLASS_REMAP, CLIENT_TYPE_MOBILE, CLIENT_TYPE_MOBILE_AND_WEB, CLIENT_TYPE_WEB, COLOR_NAMES, type CheckSeverity, type CompatibilityRules, type CoreRelease, type DatabaseMigrationMetadata, ENDPOINTS, type FrontendRelease, HEADER_CLIENT_TYPE, type IApiError, type IApiMeta, type IAssetSource, type IBaseApiResponse, type IBasePageInfo, type IBasePageSection, type IClassPattern, type IClassRemap, type ICompatibilityError, type IConditionContext, IContentField, type IEvaluatedCondition, type IForgotPasswordRequest, type IForgotPasswordResponse, type IFormDeleteRequest, type IFormDeleteResponse, type IFormResultLegacyFields, type IFormSubmitData, type IFormSubmitRequest, type IFormSubmitResponse, type IFormUpdateData, type IFormUpdateRequest, type IFormUpdateResponse, type IFrontendUpdatePreflight, type IFrontendUpdatePreflightResponse, type IFrontendUpdateReleases, type IFrontendUpdateReleasesResponse, type IFrontendUpdateRequest, type IFrontendUpdateRequestResponse, type IGetPageResponse, type IGetPagesResponse, type IInlineNode, type IJwtPayload, type ILanguage, type ILanguageItem, type ILanguagePreference, type ILanguagePreferenceUpdateResponse, type ILanguagesResponse, type ILoginRequest, type ILoginSuccessData, type ILoginSuccessResponse, type ILogoutSuccessResponse, type IMaintenanceSetRequest, type IMeta, type IMobileAdapterBaseProps, type IMobileButtonProps, type IMobileCardProps, type IMobileCheckboxProps, type IMobileContainerProps, type IMobileInputProps, type IMobileModalProps, type IMobileSelectOption, type IMobileSelectProps, type IMobileSwitchProps, type IMobileTextProps, type IMobileTextareaProps, type IMobileUiAdapters, type IPageAccessTypeInfo, type IPageContent, type IPageField, type IPageFieldTranslation, type IPageFieldsData, type IPageItem, type IPageSectionWithFields, type IPageSectionsData, type IRefreshRequest, type IRefreshSuccessResponse, type IResetPasswordRequest, type IResetPasswordResponse, type ISpacingValue, type ISystemAdvisories, type ISystemAdvisoriesResponse, type ISystemAdvisory, type ISystemAdvisoryAffected, type ISystemHealth, type ISystemHealthComponent, type ISystemHealthResponse, type ISystemInstalledPlugin, type ISystemMaintenance, type ISystemMaintenanceResponse, type ISystemVersion, type ISystemVersionResponse, type ITwoFactorRequiredData, type ITwoFactorRequiredResponse, type ITwoFactorVerifyRequest, type ITwoFactorVerifySuccessResponse, type IUpdatePreflight, type IUpdatePreflightCheck, type IUpdatePreflightOption, type IUpdatePreflightResponse, type IUpdateRelease, type IUpdateReleases, type IUpdateReleasesResponse, type IUpdateRequest, type IUpdateRequestResponse, type IUpdateStatus, type IUpdateStatusManager, type IUpdateStatusResponse, type IUpdateStep, type IUserData, type IUserDataResponse, type ImageRef, type InstalledPlugin, type InstanceImages, type InstanceLock, type InstanceManifest, type InstanceMode, type InstanceResourceConfig, type InstanceRouting, type InstanceStatus, type InstanceVersions, type InventoryInstanceEntry, LITERAL_CLASSES, type LockPluginEntry, type LockServiceEntry, PERMISSIONS, type PluginRelease, type PreflightCheck, type PreflightOption, type PreflightStatus, RELEASE_CHANNELS, type RegistryIndex, type RegistryReleaseRef, type ReleaseChannel, type RuntimeServicePolicy, type RuntimeServiceRange, SIZE_VALUES, SPACING_VALUES, SYSTEM_ENDPOINTS, type SchedulerRelease, type SecurityAdvisory, type ServerInventory, type ServiceBackendCompatibility, type SignatureBlock, type SupportBundleMeta, type TCalcedValues, type TClassDecision, type TClientType, THeroUiButtonVariant, THeroUiSize, type TPermission, type TPlatform, TStyleName, type TSystemAdvisorySeverity, type TSystemComponentStatus, type TSystemDeployment, type TSystemHealthOverall, type TUpdateCheckSeverity, type TUpdateKind, type TUpdateOperationStatus, type TUpdatePreflightStatus, type TrustLevel, type TrustedKey, type TrustedKeysFile, type UpdatePreflightResult, type WorkerRelease, buildConditionContext, classifyClass, classifyClassString, evaluateCondition, findRemap, hasInlineFormatting, parseInlineRich, parseSpacing, replaceCalcedValues, resolveAssetSources, resolveAssetUrl, spacingToClasses, stripHtmlToText, transformPageData, transformPagesData };
1697
+ export { API_VERSION_PREFIX, type AdvisoryAffected, type AdvisoryFeed, type AdvisorySeverity, type BackupManifest, type BackupRetentionPolicy, type BackupSchedulePolicy, CLASS_PATTERNS, CLASS_REMAP, CLIENT_TYPE_MOBILE, CLIENT_TYPE_MOBILE_AND_WEB, CLIENT_TYPE_WEB, COLOR_NAMES, type CheckSeverity, type CompatibilityRules, type CoreRelease, type DatabaseMigrationMetadata, ENDPOINTS, type FrontendRelease, HEADER_CLIENT_TYPE, type IApiError, type IApiMeta, type IAssetSource, type IBaseApiResponse, type IBasePageInfo, type IBasePageSection, type IClassPattern, type IClassRemap, type ICompatibilityError, type IConditionContext, IContentField, type IEvaluatedCondition, type IForgotPasswordRequest, type IForgotPasswordResponse, type IFormDeleteRequest, type IFormDeleteResponse, type IFormResultLegacyFields, type IFormSubmitData, type IFormSubmitRequest, type IFormSubmitResponse, type IFormUpdateData, type IFormUpdateRequest, type IFormUpdateResponse, type IFrontendUpdatePreflight, type IFrontendUpdatePreflightResponse, type IFrontendUpdateReleases, type IFrontendUpdateReleasesResponse, type IFrontendUpdateRequest, type IFrontendUpdateRequestResponse, type IGetPageResponse, type IGetPagesResponse, type IInlineNode, type IJwtPayload, type ILanguage, type ILanguageItem, type ILanguagePreference, type ILanguagePreferenceUpdateResponse, type ILanguagesResponse, type ILoginRequest, type ILoginSuccessData, type ILoginSuccessResponse, type ILogoutSuccessResponse, type IMaintenanceSetRequest, type IMeta, type IMobileAdapterBaseProps, type IMobileButtonProps, type IMobileCardProps, type IMobileCheckboxProps, type IMobileContainerProps, type IMobileInputProps, type IMobileModalProps, type IMobileSelectOption, type IMobileSelectProps, type IMobileSwitchProps, type IMobileTextProps, type IMobileTextareaProps, type IMobileUiAdapters, type IPageAccessTypeInfo, type IPageContent, type IPageField, type IPageFieldTranslation, type IPageFieldsData, type IPageItem, type IPageSectionWithFields, type IPageSectionsData, type IRefreshRequest, type IRefreshSuccessResponse, type IResetPasswordRequest, type IResetPasswordResponse, type ISpacingValue, type ISystemAdvisories, type ISystemAdvisoriesResponse, type ISystemAdvisory, type ISystemAdvisoryAffected, type ISystemHealth, type ISystemHealthComponent, type ISystemHealthResponse, type ISystemInstalledPlugin, type ISystemMaintenance, type ISystemMaintenanceResponse, type ISystemVersion, type ISystemVersionResponse, type ITwoFactorRequiredData, type ITwoFactorRequiredResponse, type ITwoFactorVerifyRequest, type ITwoFactorVerifySuccessResponse, type IUpdatePreflight, type IUpdatePreflightCheck, type IUpdatePreflightOption, type IUpdatePreflightResponse, type IUpdateRelease, type IUpdateReleases, type IUpdateReleasesResponse, type IUpdateRequest, type IUpdateRequestResponse, type IUpdateStatus, type IUpdateStatusManager, type IUpdateStatusResponse, type IUpdateStep, type IUserData, type IUserDataResponse, type ImageRef, type InstalledPlugin, type InstanceImages, type InstanceLock, type InstanceManifest, type InstanceMode, type InstanceResourceConfig, type InstanceRouting, type InstanceStatus, type InstanceVersions, type InventoryInstanceEntry, LITERAL_CLASSES, type LockPluginEntry, type LockServiceEntry, PERMISSIONS, type PluginRelease, type PreflightCheck, type PreflightOption, type PreflightStatus, RELEASE_CHANNELS, type RegistryIndex, type RegistryReleaseRef, type ReleaseChannel, type RuntimeServicePolicy, type RuntimeServiceRange, SIZE_VALUES, SPACING_VALUES, SYSTEM_ENDPOINTS, type SchedulerRelease, type SecurityAdvisory, type ServerInventory, type ServiceBackendCompatibility, type SignatureBlock, type SupportBundleMeta, type TCalcedValues, type TClassDecision, type TClientType, THeroUiButtonVariant, THeroUiSize, TMobileButtonFeedback, TMobileFieldVariant, TMobileSelectPresentation, type TPermission, type TPlatform, TStyleName, type TSystemAdvisorySeverity, type TSystemComponentStatus, type TSystemDeployment, type TSystemHealthOverall, type TUpdateCheckSeverity, type TUpdateKind, type TUpdateOperationStatus, type TUpdatePreflightStatus, type TrustLevel, type TrustedKey, type TrustedKeysFile, type UpdatePreflightResult, type WorkerRelease, buildConditionContext, classifyClass, classifyClassString, evaluateCondition, findRemap, hasInlineFormatting, parseInlineRich, parseSpacing, replaceCalcedValues, resolveAssetSources, resolveAssetUrl, spacingToClasses, stripHtmlToText, transformPageData, transformPagesData };
package/dist/index.js CHANGED
@@ -258,7 +258,7 @@ var BASE_STYLE_REGISTRY = {
258
258
  input: { description: "Plain HTML input", category: "forms", frontendOnly: true, canHaveChildren: false },
259
259
  "text-input": { description: "Mantine TextInput", category: "forms", frontendOnly: true, canHaveChildren: false },
260
260
  textarea: { description: "Mantine Textarea", category: "forms", frontendOnly: true, canHaveChildren: false },
261
- "rich-text-editor": { description: "Tiptap editor on web; READ-ONLY viewer on mobile v1", category: "forms", frontendOnly: true, canHaveChildren: false },
261
+ "rich-text-editor": { description: "Tiptap editor on web; native inline-format toolbar editor on mobile", category: "forms", frontendOnly: true, canHaveChildren: false },
262
262
  select: { description: "HTML select / Mantine Select", category: "forms", frontendOnly: true, canHaveChildren: false },
263
263
  radio: { description: "Mantine Radio / RadioGroup", category: "forms", frontendOnly: true, canHaveChildren: false },
264
264
  checkbox: { description: "Mantine Checkbox", category: "forms", frontendOnly: true, canHaveChildren: false },
@@ -854,19 +854,19 @@ function readBool(value) {
854
854
  }
855
855
  function resolveSharedStyleProps(fields) {
856
856
  const resolved = {};
857
- const size = readString(fields.shared_size);
857
+ const size = readString(fields.size);
858
858
  if (size !== void 0 && SEMANTIC_SIZES.includes(size)) {
859
859
  resolved.size = size;
860
860
  }
861
- const radius = readString(fields.shared_radius);
861
+ const radius = readString(fields.radius);
862
862
  if (radius !== void 0 && SEMANTIC_RADII.includes(radius)) {
863
863
  resolved.radius = radius;
864
864
  }
865
- const color = readString(fields.shared_color);
865
+ const color = readString(fields.color);
866
866
  if (color !== void 0) {
867
867
  resolved.color = color;
868
868
  }
869
- const variant = readString(fields.shared_variant);
869
+ const variant = readString(fields.variant);
870
870
  if (variant !== void 0) {
871
871
  resolved.variant = variant;
872
872
  }
@@ -874,7 +874,7 @@ function resolveSharedStyleProps(fields) {
874
874
  if (intent !== void 0 && SEMANTIC_INTENTS.includes(intent)) {
875
875
  resolved.intent = intent;
876
876
  }
877
- const fullWidth = readBool(fields.shared_full_width);
877
+ const fullWidth = readBool(fields.full_width);
878
878
  if (fullWidth !== void 0) {
879
879
  resolved.fullWidth = fullWidth;
880
880
  }
package/dist/index.mjs CHANGED
@@ -135,7 +135,7 @@ var BASE_STYLE_REGISTRY = {
135
135
  input: { description: "Plain HTML input", category: "forms", frontendOnly: true, canHaveChildren: false },
136
136
  "text-input": { description: "Mantine TextInput", category: "forms", frontendOnly: true, canHaveChildren: false },
137
137
  textarea: { description: "Mantine Textarea", category: "forms", frontendOnly: true, canHaveChildren: false },
138
- "rich-text-editor": { description: "Tiptap editor on web; READ-ONLY viewer on mobile v1", category: "forms", frontendOnly: true, canHaveChildren: false },
138
+ "rich-text-editor": { description: "Tiptap editor on web; native inline-format toolbar editor on mobile", category: "forms", frontendOnly: true, canHaveChildren: false },
139
139
  select: { description: "HTML select / Mantine Select", category: "forms", frontendOnly: true, canHaveChildren: false },
140
140
  radio: { description: "Mantine Radio / RadioGroup", category: "forms", frontendOnly: true, canHaveChildren: false },
141
141
  checkbox: { description: "Mantine Checkbox", category: "forms", frontendOnly: true, canHaveChildren: false },
@@ -731,19 +731,19 @@ function readBool(value) {
731
731
  }
732
732
  function resolveSharedStyleProps(fields) {
733
733
  const resolved = {};
734
- const size = readString(fields.shared_size);
734
+ const size = readString(fields.size);
735
735
  if (size !== void 0 && SEMANTIC_SIZES.includes(size)) {
736
736
  resolved.size = size;
737
737
  }
738
- const radius = readString(fields.shared_radius);
738
+ const radius = readString(fields.radius);
739
739
  if (radius !== void 0 && SEMANTIC_RADII.includes(radius)) {
740
740
  resolved.radius = radius;
741
741
  }
742
- const color = readString(fields.shared_color);
742
+ const color = readString(fields.color);
743
743
  if (color !== void 0) {
744
744
  resolved.color = color;
745
745
  }
746
- const variant = readString(fields.shared_variant);
746
+ const variant = readString(fields.variant);
747
747
  if (variant !== void 0) {
748
748
  resolved.variant = variant;
749
749
  }
@@ -751,7 +751,7 @@ function resolveSharedStyleProps(fields) {
751
751
  if (intent !== void 0 && SEMANTIC_INTENTS.includes(intent)) {
752
752
  resolved.intent = intent;
753
753
  }
754
- const fullWidth = readBool(fields.shared_full_width);
754
+ const fullWidth = readBool(fields.full_width);
755
755
  if (fullWidth !== void 0) {
756
756
  resolved.fullWidth = fullWidth;
757
757
  }
@@ -1,6 +1,6 @@
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-DPNHAOM1.mjs';
3
- import '../common-DMm4kymA.mjs';
2
+ import { I as IStyleRegistryEntry } from '../styles.registry-CZZwODJY.mjs';
3
+ import '../common-udJ0O8qC.mjs';
4
4
 
5
5
  /**
6
6
  * SDK contract version. Plugins declare which API they target in
@@ -1,6 +1,6 @@
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-D6u2lOw8.js';
3
- import '../common-DMm4kymA.js';
2
+ import { I as IStyleRegistryEntry } from '../styles.registry-DQKcvIBZ.js';
3
+ import '../common-udJ0O8qC.js';
4
4
 
5
5
  /**
6
6
  * SDK contract version. Plugins declare which API they target in
@@ -235,7 +235,7 @@ var BASE_STYLE_REGISTRY = {
235
235
  input: { description: "Plain HTML input", category: "forms", frontendOnly: true, canHaveChildren: false },
236
236
  "text-input": { description: "Mantine TextInput", category: "forms", frontendOnly: true, canHaveChildren: false },
237
237
  textarea: { description: "Mantine Textarea", category: "forms", frontendOnly: true, canHaveChildren: false },
238
- "rich-text-editor": { description: "Tiptap editor on web; READ-ONLY viewer on mobile v1", category: "forms", frontendOnly: true, canHaveChildren: false },
238
+ "rich-text-editor": { description: "Tiptap editor on web; native inline-format toolbar editor on mobile", category: "forms", frontendOnly: true, canHaveChildren: false },
239
239
  select: { description: "HTML select / Mantine Select", category: "forms", frontendOnly: true, canHaveChildren: false },
240
240
  radio: { description: "Mantine Radio / RadioGroup", category: "forms", frontendOnly: true, canHaveChildren: false },
241
241
  checkbox: { description: "Mantine Checkbox", category: "forms", frontendOnly: true, canHaveChildren: false },
@@ -191,7 +191,7 @@ var BASE_STYLE_REGISTRY = {
191
191
  input: { description: "Plain HTML input", category: "forms", frontendOnly: true, canHaveChildren: false },
192
192
  "text-input": { description: "Mantine TextInput", category: "forms", frontendOnly: true, canHaveChildren: false },
193
193
  textarea: { description: "Mantine Textarea", category: "forms", frontendOnly: true, canHaveChildren: false },
194
- "rich-text-editor": { description: "Tiptap editor on web; READ-ONLY viewer on mobile v1", category: "forms", frontendOnly: true, canHaveChildren: false },
194
+ "rich-text-editor": { description: "Tiptap editor on web; native inline-format toolbar editor on mobile", category: "forms", frontendOnly: true, canHaveChildren: false },
195
195
  select: { description: "HTML select / Mantine Select", category: "forms", frontendOnly: true, canHaveChildren: false },
196
196
  radio: { description: "Mantine Radio / RadioGroup", category: "forms", frontendOnly: true, canHaveChildren: false },
197
197
  checkbox: { description: "Mantine Checkbox", category: "forms", frontendOnly: true, canHaveChildren: false },
@@ -1,6 +1,6 @@
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
- import '../common-DMm4kymA.mjs';
1
+ import { T as TStyleName, I as IStyleRegistryEntry, a as IPluginStyleRegistryEntry, b as TStylePlacement, c as TConcretePlatform, d as TStylePlatform } from '../styles.registry-CZZwODJY.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-CZZwODJY.mjs';
3
+ import '../common-udJ0O8qC.mjs';
4
4
 
5
5
  /**
6
6
  * Open style-name type: a core `TStyleName` literal OR any plugin style
@@ -1,6 +1,6 @@
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
- import '../common-DMm4kymA.js';
1
+ import { T as TStyleName, I as IStyleRegistryEntry, a as IPluginStyleRegistryEntry, b as TStylePlacement, c as TConcretePlatform, d as TStylePlatform } from '../styles.registry-DQKcvIBZ.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-DQKcvIBZ.js';
3
+ import '../common-udJ0O8qC.js';
4
4
 
5
5
  /**
6
6
  * Open style-name type: a core `TStyleName` literal OR any plugin style