@selfhelp/shared 1.14.9 → 1.14.12

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.
@@ -1,4 +1,4 @@
1
- import { T as TMantineColor, a as TMantineRadius, b as TSharedSize, c as TMantineSpacing, d as TMantineJustify, e as TMantineAlign, f as TMantineDirection, g as TMantineWrap, h as TMantineGridSpan, i as TMantineOrientation, j as TSharedRadius, k as TMantineTitleOrder, l as TMantineSize, m as TMantineFieldsetVariant, n as TMantineSpoilerMaxHeight, o as TMantineVariant, p as TMantineBadgeVariant, q as TMantineAvatarVariant, r as TMantineChipVariant, s as TMantineIndicatorPosition, t as TMantineThemeIconVariant, u as TMantineAccordionVariant, v as TMantineTabsVariant, w as TMantineTimelineLineVariant } from './common-DVC0R_AX.js';
1
+ import { T as TMantineColor, a as TMantineRadius, b as TSharedSize, c as TMantineJustify, d as TMantineAlign, e as TMantineDirection, f as TMantineWrap, g as TMantineGridOverflow, h as TMantineGridSpan, i as TMantineGridGrow, j as TMantineOrientation, k as TSharedRadius, l as TMantineTitleOrder, m as TMantineSize, n as TMantineFieldsetVariant, o as TMantineSpoilerMaxHeight, p as TMantineVariant, q as TMantineBadgeVariant, r as TMantineAvatarVariant, s as TMantineChipVariant, t as TMantineIndicatorPosition, u as TMantineThemeIconVariant, v as TMantineAccordionVariant, w as TMantineTabsVariant, x as TMantineTimelineLineVariant, y as TMantineSpacing } from './common-DMm4kymA.mjs';
2
2
 
3
3
  interface ILoginStyle extends IStyleWithSpacing {
4
4
  style_name: 'login';
@@ -178,24 +178,26 @@ interface IProfileStyle extends IStyleWithSpacing {
178
178
 
179
179
  type TMantineBorder = '0' | '1';
180
180
  type TSharedBorder = '0' | '1';
181
+ type TSharedDimension = string;
181
182
  type TMantineWidth = string;
182
183
  type TMantineHeight = string;
184
+ type TSharedDividerVariant = 'solid' | 'dashed' | 'dotted';
185
+ type TSharedDividerLabelPosition = 'left' | 'center' | 'right';
183
186
  type TMantineDividerVariant = 'solid' | 'dashed' | 'dotted';
184
187
  type TMantinePaperShadow = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
185
188
  type TMantineCardShadow = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
186
189
  type TMantineCardPadding = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
187
190
  type TMantineGap = '0' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
191
+ type TSharedCols = string;
188
192
  type TMantineCols = string;
189
193
  type TMantineGridOffset = string;
190
194
  type TMantineGridOrder = string;
191
195
  type TMantineScrollAreaSize = string;
192
- type TMantineScrollAreaType = 'hover' | 'always' | 'never' | 'scroll';
196
+ type TMantineScrollAreaType = 'hover' | 'always' | 'auto' | 'never' | 'scroll';
193
197
  interface IContainerStyle extends IStyleWithSpacing {
194
198
  style_name: 'container';
195
199
  shared_size?: IContentField<TSharedSize>;
196
200
  web_fluid?: IContentField<string>;
197
- web_px?: IContentField<TMantineSpacing>;
198
- web_py?: IContentField<TMantineSpacing>;
199
201
  }
200
202
  interface IBoxStyle extends IStyleWithSpacing {
201
203
  style_name: 'box';
@@ -208,86 +210,87 @@ interface IFlexStyle extends IStyleWithSpacing {
208
210
  shared_align?: IContentField<TMantineAlign>;
209
211
  shared_direction?: IContentField<TMantineDirection>;
210
212
  shared_wrap?: IContentField<TMantineWrap>;
211
- web_width?: IContentField<TMantineWidth>;
212
- web_height?: IContentField<TMantineHeight>;
213
+ shared_width?: IContentField<TSharedDimension>;
214
+ shared_height?: IContentField<TSharedDimension>;
213
215
  }
214
216
  interface IGroupStyle extends IStyleWithSpacing {
215
217
  style_name: 'group';
216
218
  shared_gap?: IContentField<TMantineGap>;
217
219
  shared_justify?: IContentField<TMantineJustify>;
218
220
  shared_align?: IContentField<TMantineAlign>;
221
+ shared_width?: IContentField<TSharedDimension>;
222
+ shared_height?: IContentField<TSharedDimension>;
219
223
  web_group_wrap?: IContentField<'0' | '1'>;
220
224
  web_group_grow?: IContentField<'0' | '1'>;
221
- web_width?: IContentField<TMantineWidth>;
222
- web_height?: IContentField<TMantineHeight>;
223
225
  }
224
226
  interface IStackStyle extends IStyleWithSpacing {
225
227
  style_name: 'stack';
226
228
  shared_gap?: IContentField<TMantineGap>;
227
229
  shared_justify?: IContentField<TMantineJustify>;
228
230
  shared_align?: IContentField<TMantineAlign>;
229
- web_width?: IContentField<TMantineWidth>;
230
- web_height?: IContentField<TMantineHeight>;
231
+ shared_width?: IContentField<TSharedDimension>;
232
+ shared_height?: IContentField<TSharedDimension>;
231
233
  }
232
234
  interface ISimpleGridStyle extends IStyleWithSpacing {
233
235
  style_name: 'simple-grid';
234
- web_cols?: IContentField<TMantineCols>;
235
- web_spacing?: IContentField<TMantineSpacing>;
236
- web_breakpoints?: IContentField<string>;
237
- web_vertical_spacing?: IContentField<TMantineSpacing>;
238
- web_width?: IContentField<TMantineWidth>;
239
- web_height?: IContentField<TMantineHeight>;
236
+ shared_cols?: IContentField<TSharedCols>;
237
+ shared_gap?: IContentField<TMantineGap>;
238
+ shared_vertical_spacing?: IContentField<TMantineGap>;
239
+ shared_width?: IContentField<TSharedDimension>;
240
+ shared_height?: IContentField<TSharedDimension>;
241
+ web_cols_sm?: IContentField<TSharedCols>;
242
+ web_cols_md?: IContentField<TSharedCols>;
243
+ web_cols_lg?: IContentField<TSharedCols>;
240
244
  }
241
245
  interface IGridStyle extends IStyleWithSpacing {
242
246
  style_name: 'grid';
243
- web_cols?: IContentField<TMantineCols>;
247
+ shared_cols?: IContentField<TSharedCols>;
244
248
  shared_gap?: IContentField<TMantineGap>;
245
249
  shared_justify?: IContentField<TMantineJustify>;
246
250
  shared_align?: IContentField<TMantineAlign>;
247
- web_grid_overflow?: IContentField<string>;
248
- web_width?: IContentField<TMantineWidth>;
249
- web_height?: IContentField<TMantineHeight>;
251
+ shared_width?: IContentField<TSharedDimension>;
252
+ shared_height?: IContentField<TSharedDimension>;
253
+ web_grid_overflow?: IContentField<TMantineGridOverflow>;
250
254
  }
251
255
  interface IGridColumnStyle extends IStyleWithSpacing {
252
256
  style_name: 'grid-column';
253
- web_grid_span?: IContentField<TMantineGridSpan>;
254
- web_grid_offset?: IContentField<TMantineGridOffset>;
255
- web_grid_order?: IContentField<TMantineGridOrder>;
256
- web_grid_grow?: IContentField<string>;
257
- web_width?: IContentField<TMantineWidth>;
258
- web_height?: IContentField<TMantineHeight>;
257
+ shared_grid_span?: IContentField<TMantineGridSpan>;
258
+ shared_grid_offset?: IContentField<TMantineGridOffset>;
259
+ shared_grid_order?: IContentField<TMantineGridOrder>;
260
+ shared_grid_grow?: IContentField<TMantineGridGrow>;
261
+ shared_width?: IContentField<TSharedDimension>;
262
+ shared_height?: IContentField<TSharedDimension>;
259
263
  }
260
264
  interface ISpaceStyle extends IStyleWithSpacing {
261
265
  style_name: 'space';
262
266
  shared_size?: IContentField<TSharedSize>;
263
- web_space_direction?: IContentField<string>;
267
+ shared_orientation?: IContentField<TMantineOrientation>;
264
268
  }
265
- interface IDividerStyle extends IBaseStyle {
269
+ interface IDividerStyle extends IStyleWithSpacing {
266
270
  style_name: 'divider';
267
- web_divider_variant?: IContentField<TMantineDividerVariant>;
271
+ shared_divider_variant?: IContentField<TSharedDividerVariant>;
268
272
  shared_size?: IContentField<TSharedSize>;
269
273
  divider_label?: IContentField<string>;
270
- web_divider_label_position?: IContentField<string>;
274
+ shared_divider_label_position?: IContentField<TSharedDividerLabelPosition>;
271
275
  shared_orientation?: IContentField<TMantineOrientation>;
272
276
  shared_color?: IContentField<TMantineColor>;
273
277
  }
274
278
  interface IPaperStyle extends IStyleWithSpacing {
275
279
  style_name: 'paper';
280
+ title?: IContentField<string>;
276
281
  web_paper_shadow?: IContentField<TMantinePaperShadow>;
277
282
  shared_radius?: IContentField<TSharedRadius>;
278
- web_px?: IContentField<TMantineSpacing>;
279
- web_py?: IContentField<TMantineSpacing>;
280
- web_border?: IContentField<TMantineBorder>;
283
+ shared_border?: IContentField<TSharedBorder>;
281
284
  }
282
- interface ICenterStyle extends IBaseStyle {
285
+ interface ICenterStyle extends IStyleWithSpacing {
283
286
  style_name: 'center';
284
287
  web_center_inline?: IContentField<string>;
285
- web_width?: IContentField<TMantineWidth>;
286
- web_height?: IContentField<TMantineHeight>;
287
- web_miw?: IContentField<TMantineWidth>;
288
- web_mih?: IContentField<TMantineHeight>;
289
- web_maw?: IContentField<TMantineWidth>;
290
- web_mah?: IContentField<TMantineHeight>;
288
+ shared_width?: IContentField<TSharedDimension>;
289
+ shared_height?: IContentField<TSharedDimension>;
290
+ shared_miw?: IContentField<TSharedDimension>;
291
+ shared_mih?: IContentField<TSharedDimension>;
292
+ shared_maw?: IContentField<TSharedDimension>;
293
+ shared_mah?: IContentField<TSharedDimension>;
291
294
  }
292
295
  interface IScrollAreaStyle extends IStyleWithSpacing {
293
296
  style_name: 'scroll-area';
@@ -295,15 +298,13 @@ interface IScrollAreaStyle extends IStyleWithSpacing {
295
298
  web_scroll_area_type?: IContentField<TMantineScrollAreaType>;
296
299
  web_scroll_area_offset_scrollbars?: IContentField<string>;
297
300
  web_scroll_area_scroll_hide_delay?: IContentField<string>;
298
- web_height?: IContentField<TMantineHeight>;
299
- web_width?: IContentField<TMantineWidth>;
301
+ shared_height?: IContentField<TSharedDimension>;
300
302
  }
301
303
  interface ICardStyle extends IStyleWithSpacing {
302
304
  style_name: 'card';
303
305
  title?: IContentField<string>;
304
306
  img_src?: IContentField<string>;
305
307
  shared_border?: IContentField<TSharedBorder>;
306
- web_card_padding?: IContentField<TMantineCardPadding>;
307
308
  web_card_shadow?: IContentField<TMantineCardShadow>;
308
309
  shared_radius?: IContentField<TSharedRadius>;
309
310
  }
@@ -2516,4 +2517,4 @@ declare function getPluginStyleRegistry(): Record<string, IPluginStyleRegistryEn
2516
2517
  */
2517
2518
  declare function _resetPluginStyleRegistry(): void;
2518
2519
 
2519
- export { type IGridStyle as $, type ICenterStyle as A, BASE_STYLE_REGISTRY as B, type ICheckboxStyle as C, type IChipStyle as D, type ICodeStyle as E, type IColorInputStyle as F, type IColorPickerStyle as G, type IComboboxStyle as H, type IStyleRegistryEntry as I, type IContainerStyle as J, type IDataContainerStyle as K, type IDatePickerStyle as L, type IDividerStyle as M, type IEntryListStyle as N, type IEntryRecordDeleteStyle as O, type IEntryRecordStyle as P, type IFieldsetStyle as Q, type IFigureStyle as R, STYLE_REGISTRY as S, type TStyleName as T, type IFileInputStyle as U, type IFlexStyle as V, type IFormLogStyle as W, type IFormRecordStyle as X, type IFormStyle as Y, type IGridColumnStyle as Z, type _AssertRegistryMatchesStyleName as _, type IPluginStyleRegistryEntry as a, type TMantineCols as a$, type IGroupStyle as a0, type IHighlightStyle as a1, type IHtmlTagStyle as a2, type IImageStyle as a3, type IIndicatorStyle as a4, type IInputStyle as a5, type IKbdStyle as a6, type ILinkStyle as a7, type IListItemStyle as a8, type IListStyle as a9, type ISpaceStyle as aA, type ISpoilerStyle as aB, type IStackStyle as aC, type IStyleWithSpacing as aD, type ISwitchStyle as aE, type ITabStyle as aF, type ITabsStyle as aG, type ITextInputStyle as aH, type ITextStyle as aI, type ITextareaStyle as aJ, type IThemeIconStyle as aK, type ITimelineItemStyle as aL, type ITimelineStyle as aM, type ITitleStyle as aN, type ITwoFactorAuthStyle as aO, type ITypographyStyle as aP, type IUnknownStyle as aQ, type IValidateStyle as aR, type IVersionStyle as aS, type IVideoStyle as aT, type TMantineAccordionChevronPosition as aU, type TMantineAccordionDisableChevronRotation as aV, type TMantineAccordionLoop as aW, type TMantineAccordionMultiple as aX, type TMantineBorder as aY, type TMantineCardPadding as aZ, type TMantineCardShadow as a_, type ILoginStyle as aa, type ILoopStyle as ab, type IMissingStyle as ac, type INoAccessStyle as ad, type INotFoundStyle as ae, type INotificationStyle as af, type INumberInputStyle as ag, type IPaperStyle as ah, type IProfileStyle as ai, type IProgressRootStyle as aj, type IProgressSectionStyle as ak, type IProgressStyle as al, type IRadioStyle as am, type IRangeSliderStyle as an, type IRatingStyle as ao, type IRefContainerStyle as ap, type IRegisterStyle as aq, type IResetPasswordStyle as ar, type IRichTextEditorStyle as as, type IScrollAreaStyle as at, type ISegmentedControlStyle as au, type ISelectStyle as av, type IShowUserInputEntry as aw, type IShowUserInputStyle as ax, type ISimpleGridStyle as ay, type ISliderStyle as az, type TStylePlacement as b, type TMantineDividerVariant as b0, type TMantineGap as b1, type TMantineGridOffset as b2, type TMantineGridOrder as b3, type TMantineHeight as b4, type TMantineIconSize as b5, type TMantineImageFit as b6, type TMantineLineClamp as b7, type TMantineListCenter as b8, type TMantineListStyleType as b9, type TSharedLabelPosition as bA, type TStyle as bB, type TMantineListType as ba, type TMantineListWithPadding as bb, type TMantinePaperShadow as bc, type TMantineProgressTransition as bd, type TMantineScrollAreaSize as be, type TMantineScrollAreaType as bf, type TMantineTextAlign as bg, type TMantineTextDecoration as bh, type TMantineTextFontStyle as bi, type TMantineTextFontWeight as bj, type TMantineTextInherit as bk, type TMantineTextInputVariant as bl, type TMantineTextSpan as bm, type TMantineTextTransform as bn, type TMantineTextTruncate as bo, type TMantineTextVariant as bp, type TMantineTextareaAutosize as bq, type TMantineTextareaResize as br, type TMantineTextareaVariant as bs, type TMantineTimelineAlign as bt, type TMantineTitleLineClamp as bu, type TMantineTitleTextWrap as bv, type TMantineTranslatable as bw, type TMantineUseInputWrapper as bx, type TMantineWidth as by, type TSharedBorder as bz, type TConcretePlatform as c, type TStylePlatform as d, type TStyleRegistryKey as e, _resetPluginStyleRegistry as f, extendStyleRegistry as g, getMergedStyleRegistry as h, getPluginStyleRegistry as i, type IContentField as j, type IAccordionItemStyle as k, type IAccordionStyle as l, type IActionIconStyle as m, type IAlertStyle as n, type IAspectRatioStyle as o, type IAudioStyle as p, type IAvatarStyle as q, type IBackgroundImageStyle as r, type IBadgeStyle as s, type IBaseStyle as t, type IBlockquoteStyle as u, type IBoxStyle as v, type IButtonStyle as w, type ICardSegmentStyle as x, type ICardStyle as y, type ICarouselStyle as z };
2520
+ export { type IGridStyle as $, type ICenterStyle as A, BASE_STYLE_REGISTRY as B, type ICheckboxStyle as C, type IChipStyle as D, type ICodeStyle as E, type IColorInputStyle as F, type IColorPickerStyle as G, type IComboboxStyle as H, type IStyleRegistryEntry as I, type IContainerStyle as J, type IDataContainerStyle as K, type IDatePickerStyle as L, type IDividerStyle as M, type IEntryListStyle as N, type IEntryRecordDeleteStyle as O, type IEntryRecordStyle as P, type IFieldsetStyle as Q, type IFigureStyle as R, STYLE_REGISTRY as S, type TStyleName as T, type IFileInputStyle as U, type IFlexStyle as V, type IFormLogStyle as W, type IFormRecordStyle as X, type IFormStyle as Y, type IGridColumnStyle as Z, type _AssertRegistryMatchesStyleName as _, type IPluginStyleRegistryEntry as a, type TMantineCols as a$, type IGroupStyle as a0, type IHighlightStyle as a1, type IHtmlTagStyle as a2, type IImageStyle as a3, type IIndicatorStyle as a4, type IInputStyle as a5, type IKbdStyle as a6, type ILinkStyle as a7, type IListItemStyle as a8, type IListStyle as a9, type ISpaceStyle as aA, type ISpoilerStyle as aB, type IStackStyle as aC, type IStyleWithSpacing as aD, type ISwitchStyle as aE, type ITabStyle as aF, type ITabsStyle as aG, type ITextInputStyle as aH, type ITextStyle as aI, type ITextareaStyle as aJ, type IThemeIconStyle as aK, type ITimelineItemStyle as aL, type ITimelineStyle as aM, type ITitleStyle as aN, type ITwoFactorAuthStyle as aO, type ITypographyStyle as aP, type IUnknownStyle as aQ, type IValidateStyle as aR, type IVersionStyle as aS, type IVideoStyle as aT, type TMantineAccordionChevronPosition as aU, type TMantineAccordionDisableChevronRotation as aV, type TMantineAccordionLoop as aW, type TMantineAccordionMultiple as aX, type TMantineBorder as aY, type TMantineCardPadding as aZ, type TMantineCardShadow as a_, type ILoginStyle as aa, type ILoopStyle as ab, type IMissingStyle as ac, type INoAccessStyle as ad, type INotFoundStyle as ae, type INotificationStyle as af, type INumberInputStyle as ag, type IPaperStyle as ah, type IProfileStyle as ai, type IProgressRootStyle as aj, type IProgressSectionStyle as ak, type IProgressStyle as al, type IRadioStyle as am, type IRangeSliderStyle as an, type IRatingStyle as ao, type IRefContainerStyle as ap, type IRegisterStyle as aq, type IResetPasswordStyle as ar, type IRichTextEditorStyle as as, type IScrollAreaStyle as at, type ISegmentedControlStyle as au, type ISelectStyle as av, type IShowUserInputEntry as aw, type IShowUserInputStyle as ax, type ISimpleGridStyle as ay, type ISliderStyle as az, type TStylePlacement as b, type TMantineDividerVariant as b0, type TMantineGap as b1, type TMantineGridOffset as b2, type TMantineGridOrder as b3, type TMantineHeight as b4, type TMantineIconSize as b5, type TMantineImageFit as b6, type TMantineLineClamp as b7, type TMantineListCenter as b8, type TMantineListStyleType as b9, type TSharedCols as bA, type TSharedDimension as bB, type TSharedDividerLabelPosition as bC, type TSharedDividerVariant as bD, type TSharedLabelPosition as bE, type TStyle as bF, type TMantineListType as ba, type TMantineListWithPadding as bb, type TMantinePaperShadow as bc, type TMantineProgressTransition as bd, type TMantineScrollAreaSize as be, type TMantineScrollAreaType as bf, type TMantineTextAlign as bg, type TMantineTextDecoration as bh, type TMantineTextFontStyle as bi, type TMantineTextFontWeight as bj, type TMantineTextInherit as bk, type TMantineTextInputVariant as bl, type TMantineTextSpan as bm, type TMantineTextTransform as bn, type TMantineTextTruncate as bo, type TMantineTextVariant as bp, type TMantineTextareaAutosize as bq, type TMantineTextareaResize as br, type TMantineTextareaVariant as bs, type TMantineTimelineAlign as bt, type TMantineTitleLineClamp as bu, type TMantineTitleTextWrap as bv, type TMantineTranslatable as bw, type TMantineUseInputWrapper as bx, type TMantineWidth as by, type TSharedBorder as bz, type TConcretePlatform as c, type TStylePlatform as d, type TStyleRegistryKey as e, _resetPluginStyleRegistry as f, extendStyleRegistry as g, getMergedStyleRegistry as h, getPluginStyleRegistry as i, type IContentField as j, type IAccordionItemStyle as k, type IAccordionStyle as l, type IActionIconStyle as m, type IAlertStyle as n, type IAspectRatioStyle as o, type IAudioStyle as p, type IAvatarStyle as q, type IBackgroundImageStyle as r, type IBadgeStyle as s, type IBaseStyle as t, type IBlockquoteStyle as u, type IBoxStyle as v, type IButtonStyle as w, type ICardSegmentStyle as x, type ICardStyle as y, type ICarouselStyle as z };
@@ -1,4 +1,4 @@
1
- import { T as TMantineColor, a as TMantineRadius, b as TSharedSize, c as TMantineSpacing, d as TMantineJustify, e as TMantineAlign, f as TMantineDirection, g as TMantineWrap, h as TMantineGridSpan, i as TMantineOrientation, j as TSharedRadius, k as TMantineTitleOrder, l as TMantineSize, m as TMantineFieldsetVariant, n as TMantineSpoilerMaxHeight, o as TMantineVariant, p as TMantineBadgeVariant, q as TMantineAvatarVariant, r as TMantineChipVariant, s as TMantineIndicatorPosition, t as TMantineThemeIconVariant, u as TMantineAccordionVariant, v as TMantineTabsVariant, w as TMantineTimelineLineVariant } from './common-DVC0R_AX.mjs';
1
+ import { T as TMantineColor, a as TMantineRadius, b as TSharedSize, c as TMantineJustify, d as TMantineAlign, e as TMantineDirection, f as TMantineWrap, g as TMantineGridOverflow, h as TMantineGridSpan, i as TMantineGridGrow, j as TMantineOrientation, k as TSharedRadius, l as TMantineTitleOrder, m as TMantineSize, n as TMantineFieldsetVariant, o as TMantineSpoilerMaxHeight, p as TMantineVariant, q as TMantineBadgeVariant, r as TMantineAvatarVariant, s as TMantineChipVariant, t as TMantineIndicatorPosition, u as TMantineThemeIconVariant, v as TMantineAccordionVariant, w as TMantineTabsVariant, x as TMantineTimelineLineVariant, y as TMantineSpacing } from './common-DMm4kymA.js';
2
2
 
3
3
  interface ILoginStyle extends IStyleWithSpacing {
4
4
  style_name: 'login';
@@ -178,24 +178,26 @@ interface IProfileStyle extends IStyleWithSpacing {
178
178
 
179
179
  type TMantineBorder = '0' | '1';
180
180
  type TSharedBorder = '0' | '1';
181
+ type TSharedDimension = string;
181
182
  type TMantineWidth = string;
182
183
  type TMantineHeight = string;
184
+ type TSharedDividerVariant = 'solid' | 'dashed' | 'dotted';
185
+ type TSharedDividerLabelPosition = 'left' | 'center' | 'right';
183
186
  type TMantineDividerVariant = 'solid' | 'dashed' | 'dotted';
184
187
  type TMantinePaperShadow = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
185
188
  type TMantineCardShadow = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
186
189
  type TMantineCardPadding = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
187
190
  type TMantineGap = '0' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
191
+ type TSharedCols = string;
188
192
  type TMantineCols = string;
189
193
  type TMantineGridOffset = string;
190
194
  type TMantineGridOrder = string;
191
195
  type TMantineScrollAreaSize = string;
192
- type TMantineScrollAreaType = 'hover' | 'always' | 'never' | 'scroll';
196
+ type TMantineScrollAreaType = 'hover' | 'always' | 'auto' | 'never' | 'scroll';
193
197
  interface IContainerStyle extends IStyleWithSpacing {
194
198
  style_name: 'container';
195
199
  shared_size?: IContentField<TSharedSize>;
196
200
  web_fluid?: IContentField<string>;
197
- web_px?: IContentField<TMantineSpacing>;
198
- web_py?: IContentField<TMantineSpacing>;
199
201
  }
200
202
  interface IBoxStyle extends IStyleWithSpacing {
201
203
  style_name: 'box';
@@ -208,86 +210,87 @@ interface IFlexStyle extends IStyleWithSpacing {
208
210
  shared_align?: IContentField<TMantineAlign>;
209
211
  shared_direction?: IContentField<TMantineDirection>;
210
212
  shared_wrap?: IContentField<TMantineWrap>;
211
- web_width?: IContentField<TMantineWidth>;
212
- web_height?: IContentField<TMantineHeight>;
213
+ shared_width?: IContentField<TSharedDimension>;
214
+ shared_height?: IContentField<TSharedDimension>;
213
215
  }
214
216
  interface IGroupStyle extends IStyleWithSpacing {
215
217
  style_name: 'group';
216
218
  shared_gap?: IContentField<TMantineGap>;
217
219
  shared_justify?: IContentField<TMantineJustify>;
218
220
  shared_align?: IContentField<TMantineAlign>;
221
+ shared_width?: IContentField<TSharedDimension>;
222
+ shared_height?: IContentField<TSharedDimension>;
219
223
  web_group_wrap?: IContentField<'0' | '1'>;
220
224
  web_group_grow?: IContentField<'0' | '1'>;
221
- web_width?: IContentField<TMantineWidth>;
222
- web_height?: IContentField<TMantineHeight>;
223
225
  }
224
226
  interface IStackStyle extends IStyleWithSpacing {
225
227
  style_name: 'stack';
226
228
  shared_gap?: IContentField<TMantineGap>;
227
229
  shared_justify?: IContentField<TMantineJustify>;
228
230
  shared_align?: IContentField<TMantineAlign>;
229
- web_width?: IContentField<TMantineWidth>;
230
- web_height?: IContentField<TMantineHeight>;
231
+ shared_width?: IContentField<TSharedDimension>;
232
+ shared_height?: IContentField<TSharedDimension>;
231
233
  }
232
234
  interface ISimpleGridStyle extends IStyleWithSpacing {
233
235
  style_name: 'simple-grid';
234
- web_cols?: IContentField<TMantineCols>;
235
- web_spacing?: IContentField<TMantineSpacing>;
236
- web_breakpoints?: IContentField<string>;
237
- web_vertical_spacing?: IContentField<TMantineSpacing>;
238
- web_width?: IContentField<TMantineWidth>;
239
- web_height?: IContentField<TMantineHeight>;
236
+ shared_cols?: IContentField<TSharedCols>;
237
+ shared_gap?: IContentField<TMantineGap>;
238
+ shared_vertical_spacing?: IContentField<TMantineGap>;
239
+ shared_width?: IContentField<TSharedDimension>;
240
+ shared_height?: IContentField<TSharedDimension>;
241
+ web_cols_sm?: IContentField<TSharedCols>;
242
+ web_cols_md?: IContentField<TSharedCols>;
243
+ web_cols_lg?: IContentField<TSharedCols>;
240
244
  }
241
245
  interface IGridStyle extends IStyleWithSpacing {
242
246
  style_name: 'grid';
243
- web_cols?: IContentField<TMantineCols>;
247
+ shared_cols?: IContentField<TSharedCols>;
244
248
  shared_gap?: IContentField<TMantineGap>;
245
249
  shared_justify?: IContentField<TMantineJustify>;
246
250
  shared_align?: IContentField<TMantineAlign>;
247
- web_grid_overflow?: IContentField<string>;
248
- web_width?: IContentField<TMantineWidth>;
249
- web_height?: IContentField<TMantineHeight>;
251
+ shared_width?: IContentField<TSharedDimension>;
252
+ shared_height?: IContentField<TSharedDimension>;
253
+ web_grid_overflow?: IContentField<TMantineGridOverflow>;
250
254
  }
251
255
  interface IGridColumnStyle extends IStyleWithSpacing {
252
256
  style_name: 'grid-column';
253
- web_grid_span?: IContentField<TMantineGridSpan>;
254
- web_grid_offset?: IContentField<TMantineGridOffset>;
255
- web_grid_order?: IContentField<TMantineGridOrder>;
256
- web_grid_grow?: IContentField<string>;
257
- web_width?: IContentField<TMantineWidth>;
258
- web_height?: IContentField<TMantineHeight>;
257
+ shared_grid_span?: IContentField<TMantineGridSpan>;
258
+ shared_grid_offset?: IContentField<TMantineGridOffset>;
259
+ shared_grid_order?: IContentField<TMantineGridOrder>;
260
+ shared_grid_grow?: IContentField<TMantineGridGrow>;
261
+ shared_width?: IContentField<TSharedDimension>;
262
+ shared_height?: IContentField<TSharedDimension>;
259
263
  }
260
264
  interface ISpaceStyle extends IStyleWithSpacing {
261
265
  style_name: 'space';
262
266
  shared_size?: IContentField<TSharedSize>;
263
- web_space_direction?: IContentField<string>;
267
+ shared_orientation?: IContentField<TMantineOrientation>;
264
268
  }
265
- interface IDividerStyle extends IBaseStyle {
269
+ interface IDividerStyle extends IStyleWithSpacing {
266
270
  style_name: 'divider';
267
- web_divider_variant?: IContentField<TMantineDividerVariant>;
271
+ shared_divider_variant?: IContentField<TSharedDividerVariant>;
268
272
  shared_size?: IContentField<TSharedSize>;
269
273
  divider_label?: IContentField<string>;
270
- web_divider_label_position?: IContentField<string>;
274
+ shared_divider_label_position?: IContentField<TSharedDividerLabelPosition>;
271
275
  shared_orientation?: IContentField<TMantineOrientation>;
272
276
  shared_color?: IContentField<TMantineColor>;
273
277
  }
274
278
  interface IPaperStyle extends IStyleWithSpacing {
275
279
  style_name: 'paper';
280
+ title?: IContentField<string>;
276
281
  web_paper_shadow?: IContentField<TMantinePaperShadow>;
277
282
  shared_radius?: IContentField<TSharedRadius>;
278
- web_px?: IContentField<TMantineSpacing>;
279
- web_py?: IContentField<TMantineSpacing>;
280
- web_border?: IContentField<TMantineBorder>;
283
+ shared_border?: IContentField<TSharedBorder>;
281
284
  }
282
- interface ICenterStyle extends IBaseStyle {
285
+ interface ICenterStyle extends IStyleWithSpacing {
283
286
  style_name: 'center';
284
287
  web_center_inline?: IContentField<string>;
285
- web_width?: IContentField<TMantineWidth>;
286
- web_height?: IContentField<TMantineHeight>;
287
- web_miw?: IContentField<TMantineWidth>;
288
- web_mih?: IContentField<TMantineHeight>;
289
- web_maw?: IContentField<TMantineWidth>;
290
- web_mah?: IContentField<TMantineHeight>;
288
+ shared_width?: IContentField<TSharedDimension>;
289
+ shared_height?: IContentField<TSharedDimension>;
290
+ shared_miw?: IContentField<TSharedDimension>;
291
+ shared_mih?: IContentField<TSharedDimension>;
292
+ shared_maw?: IContentField<TSharedDimension>;
293
+ shared_mah?: IContentField<TSharedDimension>;
291
294
  }
292
295
  interface IScrollAreaStyle extends IStyleWithSpacing {
293
296
  style_name: 'scroll-area';
@@ -295,15 +298,13 @@ interface IScrollAreaStyle extends IStyleWithSpacing {
295
298
  web_scroll_area_type?: IContentField<TMantineScrollAreaType>;
296
299
  web_scroll_area_offset_scrollbars?: IContentField<string>;
297
300
  web_scroll_area_scroll_hide_delay?: IContentField<string>;
298
- web_height?: IContentField<TMantineHeight>;
299
- web_width?: IContentField<TMantineWidth>;
301
+ shared_height?: IContentField<TSharedDimension>;
300
302
  }
301
303
  interface ICardStyle extends IStyleWithSpacing {
302
304
  style_name: 'card';
303
305
  title?: IContentField<string>;
304
306
  img_src?: IContentField<string>;
305
307
  shared_border?: IContentField<TSharedBorder>;
306
- web_card_padding?: IContentField<TMantineCardPadding>;
307
308
  web_card_shadow?: IContentField<TMantineCardShadow>;
308
309
  shared_radius?: IContentField<TSharedRadius>;
309
310
  }
@@ -2516,4 +2517,4 @@ declare function getPluginStyleRegistry(): Record<string, IPluginStyleRegistryEn
2516
2517
  */
2517
2518
  declare function _resetPluginStyleRegistry(): void;
2518
2519
 
2519
- export { type IGridStyle as $, type ICenterStyle as A, BASE_STYLE_REGISTRY as B, type ICheckboxStyle as C, type IChipStyle as D, type ICodeStyle as E, type IColorInputStyle as F, type IColorPickerStyle as G, type IComboboxStyle as H, type IStyleRegistryEntry as I, type IContainerStyle as J, type IDataContainerStyle as K, type IDatePickerStyle as L, type IDividerStyle as M, type IEntryListStyle as N, type IEntryRecordDeleteStyle as O, type IEntryRecordStyle as P, type IFieldsetStyle as Q, type IFigureStyle as R, STYLE_REGISTRY as S, type TStyleName as T, type IFileInputStyle as U, type IFlexStyle as V, type IFormLogStyle as W, type IFormRecordStyle as X, type IFormStyle as Y, type IGridColumnStyle as Z, type _AssertRegistryMatchesStyleName as _, type IPluginStyleRegistryEntry as a, type TMantineCols as a$, type IGroupStyle as a0, type IHighlightStyle as a1, type IHtmlTagStyle as a2, type IImageStyle as a3, type IIndicatorStyle as a4, type IInputStyle as a5, type IKbdStyle as a6, type ILinkStyle as a7, type IListItemStyle as a8, type IListStyle as a9, type ISpaceStyle as aA, type ISpoilerStyle as aB, type IStackStyle as aC, type IStyleWithSpacing as aD, type ISwitchStyle as aE, type ITabStyle as aF, type ITabsStyle as aG, type ITextInputStyle as aH, type ITextStyle as aI, type ITextareaStyle as aJ, type IThemeIconStyle as aK, type ITimelineItemStyle as aL, type ITimelineStyle as aM, type ITitleStyle as aN, type ITwoFactorAuthStyle as aO, type ITypographyStyle as aP, type IUnknownStyle as aQ, type IValidateStyle as aR, type IVersionStyle as aS, type IVideoStyle as aT, type TMantineAccordionChevronPosition as aU, type TMantineAccordionDisableChevronRotation as aV, type TMantineAccordionLoop as aW, type TMantineAccordionMultiple as aX, type TMantineBorder as aY, type TMantineCardPadding as aZ, type TMantineCardShadow as a_, type ILoginStyle as aa, type ILoopStyle as ab, type IMissingStyle as ac, type INoAccessStyle as ad, type INotFoundStyle as ae, type INotificationStyle as af, type INumberInputStyle as ag, type IPaperStyle as ah, type IProfileStyle as ai, type IProgressRootStyle as aj, type IProgressSectionStyle as ak, type IProgressStyle as al, type IRadioStyle as am, type IRangeSliderStyle as an, type IRatingStyle as ao, type IRefContainerStyle as ap, type IRegisterStyle as aq, type IResetPasswordStyle as ar, type IRichTextEditorStyle as as, type IScrollAreaStyle as at, type ISegmentedControlStyle as au, type ISelectStyle as av, type IShowUserInputEntry as aw, type IShowUserInputStyle as ax, type ISimpleGridStyle as ay, type ISliderStyle as az, type TStylePlacement as b, type TMantineDividerVariant as b0, type TMantineGap as b1, type TMantineGridOffset as b2, type TMantineGridOrder as b3, type TMantineHeight as b4, type TMantineIconSize as b5, type TMantineImageFit as b6, type TMantineLineClamp as b7, type TMantineListCenter as b8, type TMantineListStyleType as b9, type TSharedLabelPosition as bA, type TStyle as bB, type TMantineListType as ba, type TMantineListWithPadding as bb, type TMantinePaperShadow as bc, type TMantineProgressTransition as bd, type TMantineScrollAreaSize as be, type TMantineScrollAreaType as bf, type TMantineTextAlign as bg, type TMantineTextDecoration as bh, type TMantineTextFontStyle as bi, type TMantineTextFontWeight as bj, type TMantineTextInherit as bk, type TMantineTextInputVariant as bl, type TMantineTextSpan as bm, type TMantineTextTransform as bn, type TMantineTextTruncate as bo, type TMantineTextVariant as bp, type TMantineTextareaAutosize as bq, type TMantineTextareaResize as br, type TMantineTextareaVariant as bs, type TMantineTimelineAlign as bt, type TMantineTitleLineClamp as bu, type TMantineTitleTextWrap as bv, type TMantineTranslatable as bw, type TMantineUseInputWrapper as bx, type TMantineWidth as by, type TSharedBorder as bz, type TConcretePlatform as c, type TStylePlatform as d, type TStyleRegistryKey as e, _resetPluginStyleRegistry as f, extendStyleRegistry as g, getMergedStyleRegistry as h, getPluginStyleRegistry as i, type IContentField as j, type IAccordionItemStyle as k, type IAccordionStyle as l, type IActionIconStyle as m, type IAlertStyle as n, type IAspectRatioStyle as o, type IAudioStyle as p, type IAvatarStyle as q, type IBackgroundImageStyle as r, type IBadgeStyle as s, type IBaseStyle as t, type IBlockquoteStyle as u, type IBoxStyle as v, type IButtonStyle as w, type ICardSegmentStyle as x, type ICardStyle as y, type ICarouselStyle as z };
2520
+ export { type IGridStyle as $, type ICenterStyle as A, BASE_STYLE_REGISTRY as B, type ICheckboxStyle as C, type IChipStyle as D, type ICodeStyle as E, type IColorInputStyle as F, type IColorPickerStyle as G, type IComboboxStyle as H, type IStyleRegistryEntry as I, type IContainerStyle as J, type IDataContainerStyle as K, type IDatePickerStyle as L, type IDividerStyle as M, type IEntryListStyle as N, type IEntryRecordDeleteStyle as O, type IEntryRecordStyle as P, type IFieldsetStyle as Q, type IFigureStyle as R, STYLE_REGISTRY as S, type TStyleName as T, type IFileInputStyle as U, type IFlexStyle as V, type IFormLogStyle as W, type IFormRecordStyle as X, type IFormStyle as Y, type IGridColumnStyle as Z, type _AssertRegistryMatchesStyleName as _, type IPluginStyleRegistryEntry as a, type TMantineCols as a$, type IGroupStyle as a0, type IHighlightStyle as a1, type IHtmlTagStyle as a2, type IImageStyle as a3, type IIndicatorStyle as a4, type IInputStyle as a5, type IKbdStyle as a6, type ILinkStyle as a7, type IListItemStyle as a8, type IListStyle as a9, type ISpaceStyle as aA, type ISpoilerStyle as aB, type IStackStyle as aC, type IStyleWithSpacing as aD, type ISwitchStyle as aE, type ITabStyle as aF, type ITabsStyle as aG, type ITextInputStyle as aH, type ITextStyle as aI, type ITextareaStyle as aJ, type IThemeIconStyle as aK, type ITimelineItemStyle as aL, type ITimelineStyle as aM, type ITitleStyle as aN, type ITwoFactorAuthStyle as aO, type ITypographyStyle as aP, type IUnknownStyle as aQ, type IValidateStyle as aR, type IVersionStyle as aS, type IVideoStyle as aT, type TMantineAccordionChevronPosition as aU, type TMantineAccordionDisableChevronRotation as aV, type TMantineAccordionLoop as aW, type TMantineAccordionMultiple as aX, type TMantineBorder as aY, type TMantineCardPadding as aZ, type TMantineCardShadow as a_, type ILoginStyle as aa, type ILoopStyle as ab, type IMissingStyle as ac, type INoAccessStyle as ad, type INotFoundStyle as ae, type INotificationStyle as af, type INumberInputStyle as ag, type IPaperStyle as ah, type IProfileStyle as ai, type IProgressRootStyle as aj, type IProgressSectionStyle as ak, type IProgressStyle as al, type IRadioStyle as am, type IRangeSliderStyle as an, type IRatingStyle as ao, type IRefContainerStyle as ap, type IRegisterStyle as aq, type IResetPasswordStyle as ar, type IRichTextEditorStyle as as, type IScrollAreaStyle as at, type ISegmentedControlStyle as au, type ISelectStyle as av, type IShowUserInputEntry as aw, type IShowUserInputStyle as ax, type ISimpleGridStyle as ay, type ISliderStyle as az, type TStylePlacement as b, type TMantineDividerVariant as b0, type TMantineGap as b1, type TMantineGridOffset as b2, type TMantineGridOrder as b3, type TMantineHeight as b4, type TMantineIconSize as b5, type TMantineImageFit as b6, type TMantineLineClamp as b7, type TMantineListCenter as b8, type TMantineListStyleType as b9, type TSharedCols as bA, type TSharedDimension as bB, type TSharedDividerLabelPosition as bC, type TSharedDividerVariant as bD, type TSharedLabelPosition as bE, type TStyle as bF, type TMantineListType as ba, type TMantineListWithPadding as bb, type TMantinePaperShadow as bc, type TMantineProgressTransition as bd, type TMantineScrollAreaSize as be, type TMantineScrollAreaType as bf, type TMantineTextAlign as bg, type TMantineTextDecoration as bh, type TMantineTextFontStyle as bi, type TMantineTextFontWeight as bj, type TMantineTextInherit as bk, type TMantineTextInputVariant as bl, type TMantineTextSpan as bm, type TMantineTextTransform as bn, type TMantineTextTruncate as bo, type TMantineTextVariant as bp, type TMantineTextareaAutosize as bq, type TMantineTextareaResize as br, type TMantineTextareaVariant as bs, type TMantineTimelineAlign as bt, type TMantineTitleLineClamp as bu, type TMantineTitleTextWrap as bv, type TMantineTranslatable as bw, type TMantineUseInputWrapper as bx, type TMantineWidth as by, type TSharedBorder as bz, type TConcretePlatform as c, type TStylePlatform as d, type TStyleRegistryKey as e, _resetPluginStyleRegistry as f, extendStyleRegistry as g, getMergedStyleRegistry as h, getPluginStyleRegistry as i, type IContentField as j, type IAccordionItemStyle as k, type IAccordionStyle as l, type IActionIconStyle as m, type IAlertStyle as n, type IAspectRatioStyle as o, type IAudioStyle as p, type IAvatarStyle as q, type IBackgroundImageStyle as r, type IBadgeStyle as s, type IBaseStyle as t, type IBlockquoteStyle as u, type IBoxStyle as v, type IButtonStyle as w, type ICardSegmentStyle as x, type ICardStyle as y, type ICarouselStyle as z };
@@ -1,4 +1,4 @@
1
- import { l as TMantineSize, b as TSharedSize, j as TSharedRadius, T as TMantineColor, o as TMantineVariant } from '../common-DVC0R_AX.mjs';
1
+ import { m as TMantineSize, b as TSharedSize, k as TSharedRadius, T as TMantineColor, p as TMantineVariant } from '../common-DMm4kymA.mjs';
2
2
  export { sharedTailwindExtend, sharedTailwindPreset } from './tailwind.mjs';
3
3
 
4
4
  /**
@@ -274,6 +274,46 @@ declare function mapAccordionVariantToHeroUiVariant(variant: string | undefined)
274
274
  * - outline -> tertiary (transparent; the renderer adds the accent border)
275
275
  */
276
276
  declare function mapChipVariantToHeroUiVariant(variant: string | undefined): 'primary' | 'secondary' | 'tertiary' | 'soft';
277
+ /** A React Native-safe dimension: a px number, a percentage string, or "auto". */
278
+ type TReactNativeDimension = number | `${number}%` | 'auto';
279
+ /**
280
+ * Parse a CMS dimension string (`shared_width`/`shared_height`/`shared_mi*`/
281
+ * `shared_ma*`) into a React Native-safe value. Web (Mantine) accepts the raw
282
+ * string verbatim ("320px", "100%", "auto"); React Native does NOT accept a
283
+ * unit suffix, so a px value must become a unitless number:
284
+ * "320px" | "320" | 320 -> 320 (number)
285
+ * "50%" -> "50%" (percentage string)
286
+ * "auto" -> "auto"
287
+ * ""/undefined/unknown -> undefined (renderer keeps its default)
288
+ */
289
+ declare function parseDimensionToReactNative(value: string | number | undefined | null): TReactNativeDimension | undefined;
290
+ /**
291
+ * Web pass-through for a CMS dimension: Mantine accepts "320px"/"100%"/"auto"
292
+ * verbatim. Returns undefined for empty so the renderer omits the prop.
293
+ */
294
+ declare function parseDimensionToWeb(value: string | number | undefined | null): string | number | undefined;
295
+ /** React Native flex layout for one emulated grid column. */
296
+ interface IReactNativeGridColumn {
297
+ flexBasis: TReactNativeDimension;
298
+ flexGrow: number;
299
+ flexShrink: number;
300
+ }
301
+ /**
302
+ * Convert a Mantine `Grid.Col` span into a React Native flex layout for the
303
+ * emulated mobile grid. `cols` is the parent grid's column count (Mantine
304
+ * default 12).
305
+ * number -> a flex-basis percentage of (span / cols)
306
+ * "auto" -> grow to share remaining space (flexGrow 1, basis 0)
307
+ * "content" -> size to content (no grow/shrink, basis auto)
308
+ * invalid -> full row ("100%")
309
+ */
310
+ declare function gridSpanToReactNativeColumn(span: string | number | undefined | null, cols?: number): IReactNativeGridColumn;
311
+ /**
312
+ * Map a `shared_divider_variant` (solid/dashed/dotted) onto a React Native
313
+ * `borderStyle`. The vocabularies are identical, so this validates the domain
314
+ * and falls back to 'solid'.
315
+ */
316
+ declare function mapDividerVariantToReactNative(variant: string | undefined | null): 'solid' | 'dashed' | 'dotted';
277
317
  /**
278
318
  * Read the `shared_*` CMS fields of a section into {@link ISharedStyleProps}.
279
319
  *
@@ -354,4 +394,4 @@ interface IResolvedVariant {
354
394
  }
355
395
  declare function resolveMantineVariant(variant: string | undefined, color: string | undefined): IResolvedVariant;
356
396
 
357
- export { COLOR_PALETTE, COLOR_SCALES, CONTAINER_SIZE_PX, FONT_SIZE_PX, FULL_RADIUS_PX, type IHeroUiResolvedStyle, type IMantineResolvedStyle, type IReactNativeResolvedStyle, type IReactNativeThemeScales, type IResolvedVariant, type ISharedStyleProps, type ISpacingResolved, LINE_HEIGHT, RADIUS_PX, SPACING_PX, SPACING_TO_TAILWIND, type TCanonicalColor, type TCanonicalRadius, type TCanonicalSpacing, type THeroUiButtonVariant, type THeroUiColor, type THeroUiSize, type TMantineMappedColor, type TMantineMappedVariant, type TSemanticColor, type TSemanticIntent, type TSemanticRadius, type TSemanticSize, type TSemanticSpacing, type TSemanticState, type TSemanticVariant, colorToHex, mapAccordionVariantToHeroUiVariant, mapChipVariantToHeroUiVariant, mapIntentToHeroUiButtonVariant, mapIntentToHeroUiColor, mapIntentToMantine, mapMantineColorToHeroUiButtonVariant, mapMantineColorToHeroUiColor, mapMantineVariantToHeroUiButtonVariant, mapRadiusToMantine, mapRadiusToPx, mapSizeToHeroUi, mapSizeToMantine, mapSpacingToPx, radiusToPx, resolveMantineVariant, resolveSharedStyle, resolveSharedStyleForMobile, resolveSharedStyleForWeb, resolveSharedStyleProps, sizeToFontPx, spacingToPx, toHeroUiSemanticProps, toMantineSemanticProps, toReactNativeSemanticStyle };
397
+ export { COLOR_PALETTE, COLOR_SCALES, CONTAINER_SIZE_PX, FONT_SIZE_PX, FULL_RADIUS_PX, type IHeroUiResolvedStyle, type IMantineResolvedStyle, type IReactNativeGridColumn, type IReactNativeResolvedStyle, type IReactNativeThemeScales, type IResolvedVariant, type ISharedStyleProps, type ISpacingResolved, LINE_HEIGHT, RADIUS_PX, SPACING_PX, SPACING_TO_TAILWIND, type TCanonicalColor, type TCanonicalRadius, type TCanonicalSpacing, type THeroUiButtonVariant, type THeroUiColor, type THeroUiSize, type TMantineMappedColor, type TMantineMappedVariant, type TReactNativeDimension, type TSemanticColor, type TSemanticIntent, type TSemanticRadius, type TSemanticSize, type TSemanticSpacing, type TSemanticState, type 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 };
@@ -1,4 +1,4 @@
1
- import { l as TMantineSize, b as TSharedSize, j as TSharedRadius, T as TMantineColor, o as TMantineVariant } from '../common-DVC0R_AX.js';
1
+ import { m as TMantineSize, b as TSharedSize, k as TSharedRadius, T as TMantineColor, p as TMantineVariant } from '../common-DMm4kymA.js';
2
2
  export { sharedTailwindExtend, sharedTailwindPreset } from './tailwind.js';
3
3
 
4
4
  /**
@@ -274,6 +274,46 @@ declare function mapAccordionVariantToHeroUiVariant(variant: string | undefined)
274
274
  * - outline -> tertiary (transparent; the renderer adds the accent border)
275
275
  */
276
276
  declare function mapChipVariantToHeroUiVariant(variant: string | undefined): 'primary' | 'secondary' | 'tertiary' | 'soft';
277
+ /** A React Native-safe dimension: a px number, a percentage string, or "auto". */
278
+ type TReactNativeDimension = number | `${number}%` | 'auto';
279
+ /**
280
+ * Parse a CMS dimension string (`shared_width`/`shared_height`/`shared_mi*`/
281
+ * `shared_ma*`) into a React Native-safe value. Web (Mantine) accepts the raw
282
+ * string verbatim ("320px", "100%", "auto"); React Native does NOT accept a
283
+ * unit suffix, so a px value must become a unitless number:
284
+ * "320px" | "320" | 320 -> 320 (number)
285
+ * "50%" -> "50%" (percentage string)
286
+ * "auto" -> "auto"
287
+ * ""/undefined/unknown -> undefined (renderer keeps its default)
288
+ */
289
+ declare function parseDimensionToReactNative(value: string | number | undefined | null): TReactNativeDimension | undefined;
290
+ /**
291
+ * Web pass-through for a CMS dimension: Mantine accepts "320px"/"100%"/"auto"
292
+ * verbatim. Returns undefined for empty so the renderer omits the prop.
293
+ */
294
+ declare function parseDimensionToWeb(value: string | number | undefined | null): string | number | undefined;
295
+ /** React Native flex layout for one emulated grid column. */
296
+ interface IReactNativeGridColumn {
297
+ flexBasis: TReactNativeDimension;
298
+ flexGrow: number;
299
+ flexShrink: number;
300
+ }
301
+ /**
302
+ * Convert a Mantine `Grid.Col` span into a React Native flex layout for the
303
+ * emulated mobile grid. `cols` is the parent grid's column count (Mantine
304
+ * default 12).
305
+ * number -> a flex-basis percentage of (span / cols)
306
+ * "auto" -> grow to share remaining space (flexGrow 1, basis 0)
307
+ * "content" -> size to content (no grow/shrink, basis auto)
308
+ * invalid -> full row ("100%")
309
+ */
310
+ declare function gridSpanToReactNativeColumn(span: string | number | undefined | null, cols?: number): IReactNativeGridColumn;
311
+ /**
312
+ * Map a `shared_divider_variant` (solid/dashed/dotted) onto a React Native
313
+ * `borderStyle`. The vocabularies are identical, so this validates the domain
314
+ * and falls back to 'solid'.
315
+ */
316
+ declare function mapDividerVariantToReactNative(variant: string | undefined | null): 'solid' | 'dashed' | 'dotted';
277
317
  /**
278
318
  * Read the `shared_*` CMS fields of a section into {@link ISharedStyleProps}.
279
319
  *
@@ -354,4 +394,4 @@ interface IResolvedVariant {
354
394
  }
355
395
  declare function resolveMantineVariant(variant: string | undefined, color: string | undefined): IResolvedVariant;
356
396
 
357
- export { COLOR_PALETTE, COLOR_SCALES, CONTAINER_SIZE_PX, FONT_SIZE_PX, FULL_RADIUS_PX, type IHeroUiResolvedStyle, type IMantineResolvedStyle, type IReactNativeResolvedStyle, type IReactNativeThemeScales, type IResolvedVariant, type ISharedStyleProps, type ISpacingResolved, LINE_HEIGHT, RADIUS_PX, SPACING_PX, SPACING_TO_TAILWIND, type TCanonicalColor, type TCanonicalRadius, type TCanonicalSpacing, type THeroUiButtonVariant, type THeroUiColor, type THeroUiSize, type TMantineMappedColor, type TMantineMappedVariant, type TSemanticColor, type TSemanticIntent, type TSemanticRadius, type TSemanticSize, type TSemanticSpacing, type TSemanticState, type TSemanticVariant, colorToHex, mapAccordionVariantToHeroUiVariant, mapChipVariantToHeroUiVariant, mapIntentToHeroUiButtonVariant, mapIntentToHeroUiColor, mapIntentToMantine, mapMantineColorToHeroUiButtonVariant, mapMantineColorToHeroUiColor, mapMantineVariantToHeroUiButtonVariant, mapRadiusToMantine, mapRadiusToPx, mapSizeToHeroUi, mapSizeToMantine, mapSpacingToPx, radiusToPx, resolveMantineVariant, resolveSharedStyle, resolveSharedStyleForMobile, resolveSharedStyleForWeb, resolveSharedStyleProps, sizeToFontPx, spacingToPx, toHeroUiSemanticProps, toMantineSemanticProps, toReactNativeSemanticStyle };
397
+ export { COLOR_PALETTE, COLOR_SCALES, CONTAINER_SIZE_PX, FONT_SIZE_PX, FULL_RADIUS_PX, type IHeroUiResolvedStyle, type IMantineResolvedStyle, type IReactNativeGridColumn, type IReactNativeResolvedStyle, type IReactNativeThemeScales, type IResolvedVariant, type ISharedStyleProps, type ISpacingResolved, LINE_HEIGHT, RADIUS_PX, SPACING_PX, SPACING_TO_TAILWIND, type TCanonicalColor, type TCanonicalRadius, type TCanonicalSpacing, type THeroUiButtonVariant, type THeroUiColor, type THeroUiSize, type TMantineMappedColor, type TMantineMappedVariant, type TReactNativeDimension, type TSemanticColor, type TSemanticIntent, type TSemanticRadius, type TSemanticSize, type TSemanticSpacing, type TSemanticState, type 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 };
@@ -30,8 +30,10 @@ __export(theme_exports, {
30
30
  SPACING_PX: () => SPACING_PX,
31
31
  SPACING_TO_TAILWIND: () => SPACING_TO_TAILWIND,
32
32
  colorToHex: () => colorToHex,
33
+ gridSpanToReactNativeColumn: () => gridSpanToReactNativeColumn,
33
34
  mapAccordionVariantToHeroUiVariant: () => mapAccordionVariantToHeroUiVariant,
34
35
  mapChipVariantToHeroUiVariant: () => mapChipVariantToHeroUiVariant,
36
+ mapDividerVariantToReactNative: () => mapDividerVariantToReactNative,
35
37
  mapIntentToHeroUiButtonVariant: () => mapIntentToHeroUiButtonVariant,
36
38
  mapIntentToHeroUiColor: () => mapIntentToHeroUiColor,
37
39
  mapIntentToMantine: () => mapIntentToMantine,
@@ -43,6 +45,8 @@ __export(theme_exports, {
43
45
  mapSizeToHeroUi: () => mapSizeToHeroUi,
44
46
  mapSizeToMantine: () => mapSizeToMantine,
45
47
  mapSpacingToPx: () => mapSpacingToPx,
48
+ parseDimensionToReactNative: () => parseDimensionToReactNative,
49
+ parseDimensionToWeb: () => parseDimensionToWeb,
46
50
  radiusToPx: () => radiusToPx,
47
51
  resolveMantineVariant: () => resolveMantineVariant,
48
52
  resolveSharedStyle: () => resolveSharedStyle,
@@ -404,6 +408,48 @@ function mapChipVariantToHeroUiVariant(variant) {
404
408
  return "primary";
405
409
  }
406
410
  }
411
+ function parseDimensionToReactNative(value) {
412
+ if (value === void 0 || value === null) return void 0;
413
+ if (typeof value === "number") return Number.isFinite(value) ? value : void 0;
414
+ const trimmed = value.trim();
415
+ if (trimmed === "") return void 0;
416
+ if (trimmed === "auto") return "auto";
417
+ const pct = /^(\d+(?:\.\d+)?)%$/.exec(trimmed);
418
+ if (pct) {
419
+ const n = Number(pct[1]);
420
+ return `${n}%`;
421
+ }
422
+ const px2 = /^(\d+(?:\.\d+)?)(?:px)?$/.exec(trimmed);
423
+ if (px2) return Number(px2[1]);
424
+ return void 0;
425
+ }
426
+ function parseDimensionToWeb(value) {
427
+ if (value === void 0 || value === null) return void 0;
428
+ if (typeof value === "number") return value;
429
+ const trimmed = value.trim();
430
+ return trimmed === "" ? void 0 : trimmed;
431
+ }
432
+ function gridSpanToReactNativeColumn(span, cols = 12) {
433
+ const totalCols = cols > 0 ? cols : 12;
434
+ if (span === "auto") return { flexBasis: 0, flexGrow: 1, flexShrink: 1 };
435
+ if (span === "content") return { flexBasis: "auto", flexGrow: 0, flexShrink: 0 };
436
+ const n = typeof span === "number" ? span : Number.parseInt(String(span ?? ""), 10);
437
+ if (!Number.isFinite(n) || n <= 0) return { flexBasis: "100%", flexGrow: 0, flexShrink: 1 };
438
+ const clamped = Math.min(n, totalCols);
439
+ const pct = Math.round(clamped / totalCols * 1e4) / 100;
440
+ return { flexBasis: `${pct}%`, flexGrow: 0, flexShrink: 1 };
441
+ }
442
+ function mapDividerVariantToReactNative(variant) {
443
+ switch (variant) {
444
+ case "dashed":
445
+ return "dashed";
446
+ case "dotted":
447
+ return "dotted";
448
+ case "solid":
449
+ default:
450
+ return "solid";
451
+ }
452
+ }
407
453
  function hasState(states, state) {
408
454
  return !!states && states.includes(state);
409
455
  }
@@ -601,8 +647,10 @@ function resolveMantineVariant(variant, color) {
601
647
  SPACING_PX,
602
648
  SPACING_TO_TAILWIND,
603
649
  colorToHex,
650
+ gridSpanToReactNativeColumn,
604
651
  mapAccordionVariantToHeroUiVariant,
605
652
  mapChipVariantToHeroUiVariant,
653
+ mapDividerVariantToReactNative,
606
654
  mapIntentToHeroUiButtonVariant,
607
655
  mapIntentToHeroUiColor,
608
656
  mapIntentToMantine,
@@ -614,6 +662,8 @@ function resolveMantineVariant(variant, color) {
614
662
  mapSizeToHeroUi,
615
663
  mapSizeToMantine,
616
664
  mapSpacingToPx,
665
+ parseDimensionToReactNative,
666
+ parseDimensionToWeb,
617
667
  radiusToPx,
618
668
  resolveMantineVariant,
619
669
  resolveSharedStyle,