@rippling/pebble-sdui-mobile 0.8.0 → 0.11.0

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,8 +1,8 @@
1
1
  <!-- Auto-generated from catalogs/custom-apps.catalog.json; do not edit directly. -->
2
2
  # custom-apps Catalog
3
3
 
4
- Catalog: `custom-apps`
5
- Version: `1.1.3`
4
+ Catalog: `custom-apps`
5
+ Version: `1.4.0`
6
6
  SDK language: `typescript`
7
7
 
8
8
  Use this catalog index after you have chosen this catalog for the spec. Do not mix components, actions, computed functions, or render helpers from another catalog unless that catalog explicitly documents compatibility.
@@ -40,6 +40,56 @@ Asset displayed on the action card
40
40
 
41
41
  No additional properties.
42
42
 
43
+ ## AvatarHeader
44
+
45
+ HTTP headers to attach to the image request
46
+
47
+ ### Fields
48
+
49
+ _No fields._
50
+
51
+ Additional properties: string.
52
+
53
+ ## AvatarSource
54
+
55
+ Structured remote image source
56
+
57
+ ### Fields
58
+
59
+ | Name | Required | Type | Description |
60
+ |---|---:|---|---|
61
+ | `headers` | no | [AvatarHeader](./types.md#avatarheader) | HTTP headers to attach to the image request |
62
+ | `height` | no | number | Intrinsic height hint in logical pixels |
63
+ | `uri` | yes | string | Remote image URI |
64
+ | `width` | no | number | Intrinsic width hint in logical pixels |
65
+
66
+ No additional properties.
67
+
68
+ ## AvatarStackHeader
69
+
70
+ HTTP headers to attach to the image request
71
+
72
+ ### Fields
73
+
74
+ _No fields._
75
+
76
+ Additional properties: string.
77
+
78
+ ## AvatarStackSource
79
+
80
+ Structured remote image source
81
+
82
+ ### Fields
83
+
84
+ | Name | Required | Type | Description |
85
+ |---|---:|---|---|
86
+ | `headers` | no | [AvatarStackHeader](./types.md#avatarstackheader) | HTTP headers to attach to the image request |
87
+ | `height` | no | number | Intrinsic height hint in logical pixels |
88
+ | `uri` | yes | string | Remote image URI |
89
+ | `width` | no | number | Intrinsic width hint in logical pixels |
90
+
91
+ No additional properties.
92
+
43
93
  ## AvatarValue
44
94
 
45
95
  ### Fields
@@ -47,7 +97,7 @@ No additional properties.
47
97
  | Name | Required | Type | Description |
48
98
  |---|---:|---|---|
49
99
  | `recyclingKey` | no | string | Key to prevent showing previous image during recycling |
50
- | `source` | no | unknown | Remote photo URL or Pebble icon name for this avatar |
100
+ | `source` | no | [AvatarSource](./definitions.md#avatarsource) \| string \| [AvatarStackSource](./types.md#avatarstacksource) \| [AvatarStackSource](./types.md#avatarstacksource) | Remote photo URL or Pebble icon name for this avatar |
51
101
  | `title` | no | string | Initials or short text shown when no source is provided |
52
102
 
53
103
  No additional properties.
@@ -65,9 +115,9 @@ Optional Button props (label, appearance, icons, etc.). `onPress` is owned by th
65
115
  | `disabled` | no | boolean | Disables the button. Default: false |
66
116
  | `fluid` | no | boolean | If true, button stretches to full available width |
67
117
  | `haptic` | no | boolean | Enables haptic feedback on press. Default: true for base/pill/small variants, false for text variant |
68
- | `leftIcon` | no | [ButtonLeftIcon](./definitions.md#buttonlefticon) | Pebble icon name to show on the left of the button |
118
+ | `leftIcon` | no | [AvatarSource](./definitions.md#avatarsource) | Pebble icon name to show on the left of the button |
69
119
  | `outlined` | no | boolean | Shows button with outline border style |
70
- | `rightIcon` | no | [ButtonLeftIcon](./definitions.md#buttonlefticon) | Pebble icon name to show on the right of the button |
120
+ | `rightIcon` | no | [AvatarSource](./definitions.md#avatarsource) | Pebble icon name to show on the right of the button |
71
121
  | `spinner` | no | boolean | Shows a loading spinner. Bind to state for async feedback. Default: false |
72
122
  | `style` | no | [FileViewerButtonStyle](./types.md#fileviewerbuttonstyle) | Container style overrides applied to a wrapping View — token keys only, e.g. { marginTop: "space200", alignSelf: "center" } |
73
123
  | `testID` | no | string | Sets testid on Button (used for testing purposes) |
@@ -105,13 +155,13 @@ Container style overrides applied to a wrapping View — token keys only, e.g. {
105
155
  | `columnGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Column gap between children — space token |
106
156
  | `display` | no | [ButtonStyleDisplay](./definitions.md#buttonstyledisplay) | Display type. Default: flex |
107
157
  | `flex` | no | number | Flex grow/shrink factor |
108
- | `flexBasis` | no | unknown | Initial main size — size token or percentage |
158
+ | `flexBasis` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Initial main size — size token or percentage |
109
159
  | `flexDirection` | no | [ButtonStyleFlexDirection](./definitions.md#buttonstyleflexdirection) | Main axis direction. Default: column |
110
160
  | `flexGrow` | no | number | Flex grow factor |
111
161
  | `flexShrink` | no | number | Flex shrink factor |
112
162
  | `flexWrap` | no | [HStackWrap](./definitions.md#hstackwrap) | Whether children wrap to next line. Default: nowrap |
113
163
  | `gap` | no | [HStackBottom](./definitions.md#hstackbottom) | Gap between children — space token |
114
- | `height` | no | unknown | Height — size token or percentage (e.g. "50%") |
164
+ | `height` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Height — size token or percentage (e.g. "50%") |
115
165
  | `justifyContent` | no | [HStackJustify](./definitions.md#hstackjustify) | Align children along the main axis. Default: flex-start |
116
166
  | `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
117
167
  | `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
@@ -121,10 +171,10 @@ Container style overrides applied to a wrapping View — token keys only, e.g. {
121
171
  | `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
122
172
  | `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
123
173
  | `marginVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom margin — space token |
124
- | `maxHeight` | no | unknown | Maximum height — size token or percentage |
125
- | `maxWidth` | no | unknown | Maximum width — size token or percentage |
126
- | `minHeight` | no | unknown | Minimum height — size token or percentage |
127
- | `minWidth` | no | unknown | Minimum width — size token or percentage |
174
+ | `maxHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum height — size token or percentage |
175
+ | `maxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width — size token or percentage |
176
+ | `minHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum height — size token or percentage |
177
+ | `minWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum width — size token or percentage |
128
178
  | `opacity` | no | [ButtonStyleOpacity](./definitions.md#buttonstyleopacity) | Opacity token (e.g. opacity0, opacity50, opacity100) |
129
179
  | `overflow` | no | [HStackOverflow](./definitions.md#hstackoverflow) | How content overflow is handled. Default: visible |
130
180
  | `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
@@ -138,7 +188,7 @@ Container style overrides applied to a wrapping View — token keys only, e.g. {
138
188
  | `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
139
189
  | `rowGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Row gap between children — space token |
140
190
  | `top` | no | [HStackBottom](./definitions.md#hstackbottom) | Top offset — space token |
141
- | `width` | no | unknown | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
191
+ | `width` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
142
192
  | `zIndex` | no | number | Stack order |
143
193
 
144
194
  No additional properties.
@@ -277,6 +327,26 @@ Duration to add — object with optional years, months, weeks, days, hours, minu
277
327
 
278
328
  No additional properties.
279
329
 
330
+ ## EmailArg
331
+
332
+ ### Fields
333
+
334
+ _No fields._
335
+
336
+ Additional properties: unknown.
337
+
338
+ ## EmailCheck
339
+
340
+ ### Fields
341
+
342
+ | Name | Required | Type | Description |
343
+ |---|---:|---|---|
344
+ | `args` | no | [EmailArg](./types.md#emailarg) | |
345
+ | `message` | yes | string | |
346
+ | `type` | yes | string | |
347
+
348
+ No additional properties.
349
+
280
350
  ## ExpansionPanelElement
281
351
 
282
352
  ### Fields
@@ -342,13 +412,13 @@ Container style overrides applied to a wrapping View — token keys only, e.g. {
342
412
  | `columnGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Column gap between children — space token |
343
413
  | `display` | no | [ButtonStyleDisplay](./definitions.md#buttonstyledisplay) | Display type. Default: flex |
344
414
  | `flex` | no | number | Flex grow/shrink factor |
345
- | `flexBasis` | no | unknown | Initial main size — size token or percentage |
415
+ | `flexBasis` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Initial main size — size token or percentage |
346
416
  | `flexDirection` | no | [ButtonStyleFlexDirection](./definitions.md#buttonstyleflexdirection) | Main axis direction. Default: column |
347
417
  | `flexGrow` | no | number | Flex grow factor |
348
418
  | `flexShrink` | no | number | Flex shrink factor |
349
419
  | `flexWrap` | no | [HStackWrap](./definitions.md#hstackwrap) | Whether children wrap to next line. Default: nowrap |
350
420
  | `gap` | no | [HStackBottom](./definitions.md#hstackbottom) | Gap between children — space token |
351
- | `height` | no | unknown | Height — size token or percentage (e.g. "50%") |
421
+ | `height` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Height — size token or percentage (e.g. "50%") |
352
422
  | `justifyContent` | no | [HStackJustify](./definitions.md#hstackjustify) | Align children along the main axis. Default: flex-start |
353
423
  | `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
354
424
  | `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
@@ -358,10 +428,10 @@ Container style overrides applied to a wrapping View — token keys only, e.g. {
358
428
  | `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
359
429
  | `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
360
430
  | `marginVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom margin — space token |
361
- | `maxHeight` | no | unknown | Maximum height — size token or percentage |
362
- | `maxWidth` | no | unknown | Maximum width — size token or percentage |
363
- | `minHeight` | no | unknown | Minimum height — size token or percentage |
364
- | `minWidth` | no | unknown | Minimum width — size token or percentage |
431
+ | `maxHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum height — size token or percentage |
432
+ | `maxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width — size token or percentage |
433
+ | `minHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum height — size token or percentage |
434
+ | `minWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum width — size token or percentage |
365
435
  | `opacity` | no | [ButtonStyleOpacity](./definitions.md#buttonstyleopacity) | Opacity token (e.g. opacity0, opacity50, opacity100) |
366
436
  | `overflow` | no | [HStackOverflow](./definitions.md#hstackoverflow) | How content overflow is handled. Default: visible |
367
437
  | `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
@@ -375,7 +445,7 @@ Container style overrides applied to a wrapping View — token keys only, e.g. {
375
445
  | `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
376
446
  | `rowGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Row gap between children — space token |
377
447
  | `top` | no | [HStackBottom](./definitions.md#hstackbottom) | Top offset — space token |
378
- | `width` | no | unknown | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
448
+ | `width` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
379
449
  | `zIndex` | no | number | Stack order |
380
450
 
381
451
  No additional properties.
@@ -429,13 +499,13 @@ Container style overrides — token keys only, e.g. { padding: "space200", backg
429
499
  | `columnGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Column gap between children — space token |
430
500
  | `display` | no | [ButtonStyleDisplay](./definitions.md#buttonstyledisplay) | Display type. Default: flex |
431
501
  | `flex` | no | number | Flex grow/shrink factor |
432
- | `flexBasis` | no | unknown | Initial main size — size token or percentage |
502
+ | `flexBasis` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Initial main size — size token or percentage |
433
503
  | `flexDirection` | no | [ButtonStyleFlexDirection](./definitions.md#buttonstyleflexdirection) | Main axis direction. Default: column |
434
504
  | `flexGrow` | no | number | Flex grow factor |
435
505
  | `flexShrink` | no | number | Flex shrink factor |
436
506
  | `flexWrap` | no | [HStackWrap](./definitions.md#hstackwrap) | Whether children wrap to next line. Default: nowrap |
437
507
  | `gap` | no | [HStackBottom](./definitions.md#hstackbottom) | Gap between children — space token |
438
- | `height` | no | unknown | Height — size token or percentage (e.g. "50%") |
508
+ | `height` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Height — size token or percentage (e.g. "50%") |
439
509
  | `justifyContent` | no | [HStackJustify](./definitions.md#hstackjustify) | Align children along the main axis. Default: flex-start |
440
510
  | `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
441
511
  | `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
@@ -445,10 +515,10 @@ Container style overrides — token keys only, e.g. { padding: "space200", backg
445
515
  | `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
446
516
  | `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
447
517
  | `marginVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom margin — space token |
448
- | `maxHeight` | no | unknown | Maximum height — size token or percentage |
449
- | `maxWidth` | no | unknown | Maximum width — size token or percentage |
450
- | `minHeight` | no | unknown | Minimum height — size token or percentage |
451
- | `minWidth` | no | unknown | Minimum width — size token or percentage |
518
+ | `maxHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum height — size token or percentage |
519
+ | `maxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width — size token or percentage |
520
+ | `minHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum height — size token or percentage |
521
+ | `minWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum width — size token or percentage |
452
522
  | `opacity` | no | [ButtonStyleOpacity](./definitions.md#buttonstyleopacity) | Opacity token (e.g. opacity0, opacity50, opacity100) |
453
523
  | `overflow` | no | [HStackOverflow](./definitions.md#hstackoverflow) | How content overflow is handled. Default: visible |
454
524
  | `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
@@ -462,7 +532,7 @@ Container style overrides — token keys only, e.g. { padding: "space200", backg
462
532
  | `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
463
533
  | `rowGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Row gap between children — space token |
464
534
  | `top` | no | [HStackBottom](./definitions.md#hstackbottom) | Top offset — space token |
465
- | `width` | no | unknown | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
535
+ | `width` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
466
536
  | `zIndex` | no | number | Stack order |
467
537
 
468
538
  No additional properties.
@@ -510,13 +580,13 @@ Container style overrides applied to the form wrapper — token keys only, e.g.
510
580
  | `columnGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Column gap between children — space token |
511
581
  | `display` | no | [ButtonStyleDisplay](./definitions.md#buttonstyledisplay) | Display type. Default: flex |
512
582
  | `flex` | no | number | Flex grow/shrink factor |
513
- | `flexBasis` | no | unknown | Initial main size — size token or percentage |
583
+ | `flexBasis` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Initial main size — size token or percentage |
514
584
  | `flexDirection` | no | [ButtonStyleFlexDirection](./definitions.md#buttonstyleflexdirection) | Main axis direction. Default: column |
515
585
  | `flexGrow` | no | number | Flex grow factor |
516
586
  | `flexShrink` | no | number | Flex shrink factor |
517
587
  | `flexWrap` | no | [HStackWrap](./definitions.md#hstackwrap) | Whether children wrap to next line. Default: nowrap |
518
588
  | `gap` | no | [HStackBottom](./definitions.md#hstackbottom) | Gap between children — space token |
519
- | `height` | no | unknown | Height — size token or percentage (e.g. "50%") |
589
+ | `height` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Height — size token or percentage (e.g. "50%") |
520
590
  | `justifyContent` | no | [HStackJustify](./definitions.md#hstackjustify) | Align children along the main axis. Default: flex-start |
521
591
  | `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
522
592
  | `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
@@ -526,10 +596,10 @@ Container style overrides applied to the form wrapper — token keys only, e.g.
526
596
  | `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
527
597
  | `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
528
598
  | `marginVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom margin — space token |
529
- | `maxHeight` | no | unknown | Maximum height — size token or percentage |
530
- | `maxWidth` | no | unknown | Maximum width — size token or percentage |
531
- | `minHeight` | no | unknown | Minimum height — size token or percentage |
532
- | `minWidth` | no | unknown | Minimum width — size token or percentage |
599
+ | `maxHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum height — size token or percentage |
600
+ | `maxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width — size token or percentage |
601
+ | `minHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum height — size token or percentage |
602
+ | `minWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum width — size token or percentage |
533
603
  | `opacity` | no | [ButtonStyleOpacity](./definitions.md#buttonstyleopacity) | Opacity token (e.g. opacity0, opacity50, opacity100) |
534
604
  | `overflow` | no | [HStackOverflow](./definitions.md#hstackoverflow) | How content overflow is handled. Default: visible |
535
605
  | `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
@@ -543,7 +613,7 @@ Container style overrides applied to the form wrapper — token keys only, e.g.
543
613
  | `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
544
614
  | `rowGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Row gap between children — space token |
545
615
  | `top` | no | [HStackBottom](./definitions.md#hstackbottom) | Top offset — space token |
546
- | `width` | no | unknown | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
616
+ | `width` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
547
617
  | `zIndex` | no | number | Stack order |
548
618
 
549
619
  No additional properties.
@@ -606,17 +676,28 @@ _No fields._
606
676
 
607
677
  Additional properties: unknown.
608
678
 
609
- ## HeaderValue
679
+ ## ImageHeader
610
680
 
611
- A json-render spec to render as the header component of the ModalSheet, e.g. ModalActionHeader
681
+ HTTP headers to attach to the image request
682
+
683
+ ### Fields
684
+
685
+ _No fields._
686
+
687
+ Additional properties: string.
688
+
689
+ ## ImageSource
690
+
691
+ Structured remote image source
612
692
 
613
693
  ### Fields
614
694
 
615
695
  | Name | Required | Type | Description |
616
696
  |---|---:|---|---|
617
- | `elements` | yes | [ModalSheetElement](./types.md#modalsheetelement) | |
618
- | `root` | yes | string | |
619
- | `state` | no | [ModalSheetState](./types.md#modalsheetstate) | |
697
+ | `headers` | no | [ImageHeader](./types.md#imageheader) | HTTP headers to attach to the image request |
698
+ | `height` | no | number | Intrinsic height hint in logical pixels |
699
+ | `uri` | yes | string | Remote image URI |
700
+ | `width` | no | number | Intrinsic width hint in logical pixels |
620
701
 
621
702
  No additional properties.
622
703
 
@@ -649,10 +730,10 @@ Image style overrides — token keys only, e.g. { width: "size400", height: "siz
649
730
  | `bottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom offset — space token |
650
731
  | `color` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Fill/tint color for SVG sources — color token (e.g. colorPrimary) |
651
732
  | `flex` | no | number | Flex grow/shrink factor |
652
- | `flexBasis` | no | unknown | Initial main size — size token or percentage |
733
+ | `flexBasis` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Initial main size — size token or percentage |
653
734
  | `flexGrow` | no | number | Flex grow factor |
654
735
  | `flexShrink` | no | number | Flex shrink factor |
655
- | `height` | no | unknown | Height — size token or percentage (e.g. "50%") |
736
+ | `height` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Height — size token or percentage (e.g. "50%") |
656
737
  | `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
657
738
  | `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
658
739
  | `marginBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom margin — space token |
@@ -661,10 +742,10 @@ Image style overrides — token keys only, e.g. { width: "size400", height: "siz
661
742
  | `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
662
743
  | `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
663
744
  | `marginVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom margin — space token |
664
- | `maxHeight` | no | unknown | Maximum height — size token or percentage |
665
- | `maxWidth` | no | unknown | Maximum width — size token or percentage |
666
- | `minHeight` | no | unknown | Minimum height — size token or percentage |
667
- | `minWidth` | no | unknown | Minimum width — size token or percentage |
745
+ | `maxHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum height — size token or percentage |
746
+ | `maxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width — size token or percentage |
747
+ | `minHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum height — size token or percentage |
748
+ | `minWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum width — size token or percentage |
668
749
  | `opacity` | no | [ButtonStyleOpacity](./definitions.md#buttonstyleopacity) | Opacity token (e.g. opacity0, opacity50, opacity100) |
669
750
  | `overflow` | no | [ImageStyleOverflow](./definitions.md#imagestyleoverflow) | How content overflow is handled. Default: visible |
670
751
  | `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
@@ -679,7 +760,7 @@ Image style overrides — token keys only, e.g. { width: "size400", height: "siz
679
760
  | `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
680
761
  | `tintColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Image tint color token (e.g. colorOnSurface) |
681
762
  | `top` | no | [HStackBottom](./definitions.md#hstackbottom) | Top offset — space token |
682
- | `width` | no | unknown | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
763
+ | `width` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
683
764
  | `zIndex` | no | number | Stack order |
684
765
 
685
766
  No additional properties.
@@ -725,7 +806,7 @@ Left action: provide title for text button or iconType for icon button
725
806
 
726
807
  | Name | Required | Type | Description |
727
808
  |---|---:|---|---|
728
- | `iconType` | no | [ButtonLeftIcon](./definitions.md#buttonlefticon) | Pebble icon name to use as the action button |
809
+ | `iconType` | no | [AvatarSource](./definitions.md#avatarsource) | Pebble icon name to use as the action button |
729
810
  | `title` | no | string | Text label for the action button |
730
811
 
731
812
  No additional properties.
@@ -796,7 +877,7 @@ Right action: provide title for text button or iconType for icon button
796
877
 
797
878
  | Name | Required | Type | Description |
798
879
  |---|---:|---|---|
799
- | `iconType` | no | [ButtonLeftIcon](./definitions.md#buttonlefticon) | Pebble icon name to use as the action button |
880
+ | `iconType` | no | [AvatarSource](./definitions.md#avatarsource) | Pebble icon name to use as the action button |
800
881
  | `title` | no | string | Text label for the action button |
801
882
 
802
883
  No additional properties.
@@ -809,6 +890,20 @@ _No fields._
809
890
 
810
891
  Additional properties: unknown.
811
892
 
893
+ ## ModalSheetHeader
894
+
895
+ A json-render spec to render as the header component of the ModalSheet, e.g. ModalActionHeader
896
+
897
+ ### Fields
898
+
899
+ | Name | Required | Type | Description |
900
+ |---|---:|---|---|
901
+ | `elements` | yes | [ModalSheetElement](./types.md#modalsheetelement) | |
902
+ | `root` | yes | string | |
903
+ | `state` | no | [ModalSheetState](./types.md#modalsheetstate) | |
904
+
905
+ No additional properties.
906
+
812
907
  ## ModalSheetState
813
908
 
814
909
  ### Fields
@@ -817,6 +912,16 @@ _No fields._
817
912
 
818
913
  Additional properties: unknown.
819
914
 
915
+ ## NavigateParamsParam
916
+
917
+ Optional params object forwarded to the target screen.
918
+
919
+ ### Fields
920
+
921
+ _No fields._
922
+
923
+ Additional properties: unknown.
924
+
820
925
  ## NoticePrimaryAction
821
926
 
822
927
  Primary action button — wire to `primaryPress` event
@@ -879,16 +984,6 @@ _No fields._
879
984
 
880
985
  Additional properties: unknown.
881
986
 
882
- ## Param
883
-
884
- Optional params object forwarded to the target screen.
885
-
886
- ### Fields
887
-
888
- _No fields._
889
-
890
- Additional properties: unknown.
891
-
892
987
  ## PasswordArg
893
988
 
894
989
  ### Fields
@@ -1010,13 +1105,13 @@ Container style overrides — token keys only, e.g. { padding: "space200", backg
1010
1105
  | `columnGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Column gap between children — space token |
1011
1106
  | `display` | no | [ButtonStyleDisplay](./definitions.md#buttonstyledisplay) | Display type. Default: flex |
1012
1107
  | `flex` | no | number | Flex grow/shrink factor |
1013
- | `flexBasis` | no | unknown | Initial main size — size token or percentage |
1108
+ | `flexBasis` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Initial main size — size token or percentage |
1014
1109
  | `flexDirection` | no | [ButtonStyleFlexDirection](./definitions.md#buttonstyleflexdirection) | Main axis direction. Default: column |
1015
1110
  | `flexGrow` | no | number | Flex grow factor |
1016
1111
  | `flexShrink` | no | number | Flex shrink factor |
1017
1112
  | `flexWrap` | no | [HStackWrap](./definitions.md#hstackwrap) | Whether children wrap to next line. Default: nowrap |
1018
1113
  | `gap` | no | [HStackBottom](./definitions.md#hstackbottom) | Gap between children — space token |
1019
- | `height` | no | unknown | Height — size token or percentage (e.g. "50%") |
1114
+ | `height` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Height — size token or percentage (e.g. "50%") |
1020
1115
  | `justifyContent` | no | [HStackJustify](./definitions.md#hstackjustify) | Align children along the main axis. Default: flex-start |
1021
1116
  | `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
1022
1117
  | `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
@@ -1026,10 +1121,10 @@ Container style overrides — token keys only, e.g. { padding: "space200", backg
1026
1121
  | `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
1027
1122
  | `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
1028
1123
  | `marginVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom margin — space token |
1029
- | `maxHeight` | no | unknown | Maximum height — size token or percentage |
1030
- | `maxWidth` | no | unknown | Maximum width — size token or percentage |
1031
- | `minHeight` | no | unknown | Minimum height — size token or percentage |
1032
- | `minWidth` | no | unknown | Minimum width — size token or percentage |
1124
+ | `maxHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum height — size token or percentage |
1125
+ | `maxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width — size token or percentage |
1126
+ | `minHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum height — size token or percentage |
1127
+ | `minWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum width — size token or percentage |
1033
1128
  | `opacity` | no | [ButtonStyleOpacity](./definitions.md#buttonstyleopacity) | Opacity token (e.g. opacity0, opacity50, opacity100) |
1034
1129
  | `overflow` | no | [HStackOverflow](./definitions.md#hstackoverflow) | How content overflow is handled. Default: visible |
1035
1130
  | `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
@@ -1043,7 +1138,7 @@ Container style overrides — token keys only, e.g. { padding: "space200", backg
1043
1138
  | `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
1044
1139
  | `rowGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Row gap between children — space token |
1045
1140
  | `top` | no | [HStackBottom](./definitions.md#hstackbottom) | Top offset — space token |
1046
- | `width` | no | unknown | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
1141
+ | `width` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
1047
1142
  | `zIndex` | no | number | Stack order |
1048
1143
 
1049
1144
  No additional properties.
@@ -1059,6 +1154,16 @@ No additional properties.
1059
1154
 
1060
1155
  No additional properties.
1061
1156
 
1157
+ ## PushParamsParam
1158
+
1159
+ Optional params object forwarded to the target screen.
1160
+
1161
+ ### Fields
1162
+
1163
+ _No fields._
1164
+
1165
+ Additional properties: unknown.
1166
+
1062
1167
  ## RadioArg
1063
1168
 
1064
1169
  ### Fields
@@ -1215,6 +1320,101 @@ Additional properties: unknown.
1215
1320
 
1216
1321
  No additional properties.
1217
1322
 
1323
+ ## TextStyle
1324
+
1325
+ TextStyle object — all values must be pebble design token keys. Color example: { color: 'colorOnSurface' }. Spacing example: { marginTop: 'space200' }.
1326
+
1327
+ ### Fields
1328
+
1329
+ | Name | Required | Type | Description |
1330
+ |---|---:|---|---|
1331
+ | `alignItems` | no | [HStackAlign](./definitions.md#hstackalign) | Align children along the cross axis. Default: stretch |
1332
+ | `alignSelf` | no | [HStackAlignSelf](./definitions.md#hstackalignself) | Override parent alignItems for this element. Default: auto |
1333
+ | `backgroundColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Background color token (e.g. colorSurface, colorPrimaryContainer) |
1334
+ | `borderBottomColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Bottom border color token |
1335
+ | `borderBottomLeftRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Bottom-left border radius — shape corner token |
1336
+ | `borderBottomRightRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Bottom-right border radius — shape corner token |
1337
+ | `borderBottomWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Bottom border width — shape border width token |
1338
+ | `borderColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Border color token on all sides (e.g. colorBorder) |
1339
+ | `borderLeftColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Left border color token |
1340
+ | `borderLeftWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Left border width — shape border width token |
1341
+ | `borderRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg) |
1342
+ | `borderRightColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Right border color token |
1343
+ | `borderRightWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Right border width — shape border width token |
1344
+ | `borderTopColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Top border color token |
1345
+ | `borderTopLeftRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Top-left border radius — shape corner token |
1346
+ | `borderTopRightRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Top-right border radius — shape corner token |
1347
+ | `borderTopWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Top border width — shape border width token |
1348
+ | `borderWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd) |
1349
+ | `bottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom offset — space token |
1350
+ | `color` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Text color token (e.g. colorOnSurface, colorPrimary) |
1351
+ | `columnGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Column gap between children — space token |
1352
+ | `display` | no | [ButtonStyleDisplay](./definitions.md#buttonstyledisplay) | Display type. Default: flex |
1353
+ | `flex` | no | number | Flex grow/shrink factor |
1354
+ | `flexBasis` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Initial main size — size token or percentage |
1355
+ | `flexDirection` | no | [ButtonStyleFlexDirection](./definitions.md#buttonstyleflexdirection) | Main axis direction. Default: column |
1356
+ | `flexGrow` | no | number | Flex grow factor |
1357
+ | `flexShrink` | no | number | Flex shrink factor |
1358
+ | `flexWrap` | no | [HStackWrap](./definitions.md#hstackwrap) | Whether children wrap to next line. Default: nowrap |
1359
+ | `fontFamily` | no | string | Font family name |
1360
+ | `fontSize` | no | number | Font size in logical pixels |
1361
+ | `fontStyle` | no | [TextStyleFontStyle](./definitions.md#textstylefontstyle) | Font style. Default: normal |
1362
+ | `fontWeight` | no | [TextStyleFontWeight](./definitions.md#textstylefontweight) | Font weight. Default: normal |
1363
+ | `gap` | no | [HStackBottom](./definitions.md#hstackbottom) | Gap between children — space token |
1364
+ | `height` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Height — size token or percentage (e.g. "50%") |
1365
+ | `includeFontPadding` | no | boolean | Include extra font padding (Android only). Default: true |
1366
+ | `justifyContent` | no | [HStackJustify](./definitions.md#hstackjustify) | Align children along the main axis. Default: flex-start |
1367
+ | `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
1368
+ | `letterSpacing` | no | number | Extra space between characters in logical pixels (e.g. 0.5, 1.5) |
1369
+ | `lineHeight` | no | number | Line height in logical pixels |
1370
+ | `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
1371
+ | `marginBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom margin — space token |
1372
+ | `marginHorizontal` | no | [HStackBottom](./definitions.md#hstackbottom) | Left and right margin — space token |
1373
+ | `marginLeft` | no | [HStackBottom](./definitions.md#hstackbottom) | Left margin — space token |
1374
+ | `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
1375
+ | `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
1376
+ | `marginVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom margin — space token |
1377
+ | `maxHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum height — size token or percentage |
1378
+ | `maxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width — size token or percentage |
1379
+ | `minHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum height — size token or percentage |
1380
+ | `minWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum width — size token or percentage |
1381
+ | `opacity` | no | [ButtonStyleOpacity](./definitions.md#buttonstyleopacity) | Opacity token (e.g. opacity0, opacity50, opacity100) |
1382
+ | `overflow` | no | [HStackOverflow](./definitions.md#hstackoverflow) | How content overflow is handled. Default: visible |
1383
+ | `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
1384
+ | `paddingBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom padding — space token |
1385
+ | `paddingHorizontal` | no | [HStackBottom](./definitions.md#hstackbottom) | Left and right padding — space token |
1386
+ | `paddingLeft` | no | [HStackBottom](./definitions.md#hstackbottom) | Left padding — space token |
1387
+ | `paddingRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right padding — space token |
1388
+ | `paddingTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top padding — space token |
1389
+ | `paddingVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom padding — space token |
1390
+ | `position` | no | [HStackPosition](./definitions.md#hstackposition) | Positioning type. Default: relative |
1391
+ | `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
1392
+ | `rowGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Row gap between children — space token |
1393
+ | `textAlign` | no | [TextStyleTextAlign](./definitions.md#textstyletextalign) | Horizontal text alignment. Default: auto |
1394
+ | `textAlignVertical` | no | [TextStyleTextAlignVertical](./definitions.md#textstyletextalignvertical) | Vertical text alignment (Android only). Default: auto |
1395
+ | `textDecorationColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Text decoration color token. Requires textDecorationLine |
1396
+ | `textDecorationLine` | no | [TextStyleTextDecorationLine](./definitions.md#textstyletextdecorationline) | Text decoration. Default: none |
1397
+ | `textDecorationStyle` | no | [TextStyleTextDecorationStyle](./definitions.md#textstyletextdecorationstyle) | Text decoration style (iOS only). Default: solid |
1398
+ | `textShadowColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Text shadow color token |
1399
+ | `textShadowOffsetHeight` | no | [HStackBottom](./definitions.md#hstackbottom) | Vertical text shadow offset — space token |
1400
+ | `textShadowOffsetWidth` | no | [HStackBottom](./definitions.md#hstackbottom) | Horizontal text shadow offset — space token |
1401
+ | `textShadowRadius` | no | [HStackBottom](./definitions.md#hstackbottom) | Text shadow blur radius — space token |
1402
+ | `textTransform` | no | [TextStyleTextTransform](./definitions.md#textstyletexttransform) | Text case transformation. Default: none |
1403
+ | `top` | no | [HStackBottom](./definitions.md#hstackbottom) | Top offset — space token |
1404
+ | `width` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
1405
+ | `writingDirection` | no | [TextStyleWritingDirection](./definitions.md#textstylewritingdirection) | Writing direction. Default: auto |
1406
+ | `zIndex` | no | number | Stack order |
1407
+
1408
+ No additional properties.
1409
+
1410
+ ## Token
1411
+
1412
+ ### Fields
1413
+
1414
+ _No fields._
1415
+
1416
+ Additional properties: unknown.
1417
+
1218
1418
  ## WidgetAction
1219
1419
 
1220
1420
  Action buttons. primary emits "primaryAction", secondary emits "secondaryAction".
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rippling/pebble-sdui-mobile",
3
- "version": "0.8.0",
3
+ "version": "0.11.0",
4
4
  "description": "Type-safe TypeScript mobile SDK for authoring json-render specs",
5
5
  "repository": {
6
6
  "type": "git",