@rippling/pebble-sdui-mobile 0.8.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/catalogs/custom-apps/action-params.d.ts +16 -3
- package/dist/catalogs/custom-apps/actions.d.ts +3 -1
- package/dist/catalogs/custom-apps/catalog.d.ts +2 -2
- package/dist/catalogs/custom-apps/component-events.d.ts +9 -6
- package/dist/catalogs/custom-apps/component-props.d.ts +337 -174
- package/dist/catalogs/custom-apps/components.d.ts +11 -8
- package/dist/catalogs/custom-apps/function-params.d.ts +3 -3
- package/dist/catalogs/custom-apps/index.cjs +4 -4
- package/dist/catalogs/custom-apps/index.cjs.map +1 -1
- package/dist/catalogs/custom-apps/index.d.ts +5 -5
- package/dist/catalogs/custom-apps/index.js +1764 -1567
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/core/catalog-validation.cjs +2 -0
- package/dist/core/catalog-validation.cjs.map +1 -0
- package/dist/core/catalog-validation.d.ts +21 -0
- package/dist/core/catalog-validation.js +245 -0
- package/dist/core/catalog-validation.js.map +1 -0
- package/dist/core/directives.cjs +2 -0
- package/dist/core/directives.cjs.map +1 -0
- package/dist/core/directives.d.ts +72 -0
- package/dist/core/directives.js +35 -0
- package/dist/core/directives.js.map +1 -0
- package/dist/core/expressions.d.ts +5 -15
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +28 -20
- package/dist/core/index.js.map +1 -1
- package/dist/docs/typescript/mobile/catalogs/custom-apps/actions.md +75 -11
- package/dist/docs/typescript/mobile/catalogs/custom-apps/components.md +537 -452
- package/dist/docs/typescript/mobile/catalogs/custom-apps/computed-functions.md +17 -17
- package/dist/docs/typescript/mobile/catalogs/custom-apps/definitions.md +631 -134
- package/dist/docs/typescript/mobile/catalogs/custom-apps/readme.md +2 -2
- package/dist/docs/typescript/mobile/catalogs/custom-apps/types.md +347 -137
- package/package.json +1 -1
|
@@ -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 |
|
|
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 | [
|
|
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 | [
|
|
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 |
|
|
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 |
|
|
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 |
|
|
125
|
-
| `maxWidth` | no |
|
|
126
|
-
| `minHeight` | no |
|
|
127
|
-
| `minWidth` | no |
|
|
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 |
|
|
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.
|
|
@@ -177,48 +227,6 @@ No additional properties.
|
|
|
177
227
|
|
|
178
228
|
No additional properties.
|
|
179
229
|
|
|
180
|
-
## CondensedFooterAction
|
|
181
|
-
|
|
182
|
-
Optional action button. Press emits "action".
|
|
183
|
-
|
|
184
|
-
### Fields
|
|
185
|
-
|
|
186
|
-
| Name | Required | Type | Description |
|
|
187
|
-
|---|---:|---|---|
|
|
188
|
-
| `title` | yes | string | Action button label |
|
|
189
|
-
|
|
190
|
-
No additional properties.
|
|
191
|
-
|
|
192
|
-
## CondensedHeaderElement
|
|
193
|
-
|
|
194
|
-
### Fields
|
|
195
|
-
|
|
196
|
-
_No fields._
|
|
197
|
-
|
|
198
|
-
Additional properties: unknown.
|
|
199
|
-
|
|
200
|
-
## CondensedHeaderRight
|
|
201
|
-
|
|
202
|
-
A json-render spec to render as the right element on the header
|
|
203
|
-
|
|
204
|
-
### Fields
|
|
205
|
-
|
|
206
|
-
| Name | Required | Type | Description |
|
|
207
|
-
|---|---:|---|---|
|
|
208
|
-
| `elements` | yes | [CondensedHeaderElement](./types.md#condensedheaderelement) | |
|
|
209
|
-
| `root` | yes | string | |
|
|
210
|
-
| `state` | no | [CondensedHeaderState](./types.md#condensedheaderstate) | |
|
|
211
|
-
|
|
212
|
-
No additional properties.
|
|
213
|
-
|
|
214
|
-
## CondensedHeaderState
|
|
215
|
-
|
|
216
|
-
### Fields
|
|
217
|
-
|
|
218
|
-
_No fields._
|
|
219
|
-
|
|
220
|
-
Additional properties: unknown.
|
|
221
|
-
|
|
222
230
|
## CurrencyArg
|
|
223
231
|
|
|
224
232
|
### Fields
|
|
@@ -277,6 +285,26 @@ Duration to add — object with optional years, months, weeks, days, hours, minu
|
|
|
277
285
|
|
|
278
286
|
No additional properties.
|
|
279
287
|
|
|
288
|
+
## EmailArg
|
|
289
|
+
|
|
290
|
+
### Fields
|
|
291
|
+
|
|
292
|
+
_No fields._
|
|
293
|
+
|
|
294
|
+
Additional properties: unknown.
|
|
295
|
+
|
|
296
|
+
## EmailCheck
|
|
297
|
+
|
|
298
|
+
### Fields
|
|
299
|
+
|
|
300
|
+
| Name | Required | Type | Description |
|
|
301
|
+
|---|---:|---|---|
|
|
302
|
+
| `args` | no | [EmailArg](./types.md#emailarg) | |
|
|
303
|
+
| `message` | yes | string | |
|
|
304
|
+
| `type` | yes | string | |
|
|
305
|
+
|
|
306
|
+
No additional properties.
|
|
307
|
+
|
|
280
308
|
## ExpansionPanelElement
|
|
281
309
|
|
|
282
310
|
### Fields
|
|
@@ -342,13 +370,13 @@ Container style overrides applied to a wrapping View — token keys only, e.g. {
|
|
|
342
370
|
| `columnGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Column gap between children — space token |
|
|
343
371
|
| `display` | no | [ButtonStyleDisplay](./definitions.md#buttonstyledisplay) | Display type. Default: flex |
|
|
344
372
|
| `flex` | no | number | Flex grow/shrink factor |
|
|
345
|
-
| `flexBasis` | no |
|
|
373
|
+
| `flexBasis` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Initial main size — size token or percentage |
|
|
346
374
|
| `flexDirection` | no | [ButtonStyleFlexDirection](./definitions.md#buttonstyleflexdirection) | Main axis direction. Default: column |
|
|
347
375
|
| `flexGrow` | no | number | Flex grow factor |
|
|
348
376
|
| `flexShrink` | no | number | Flex shrink factor |
|
|
349
377
|
| `flexWrap` | no | [HStackWrap](./definitions.md#hstackwrap) | Whether children wrap to next line. Default: nowrap |
|
|
350
378
|
| `gap` | no | [HStackBottom](./definitions.md#hstackbottom) | Gap between children — space token |
|
|
351
|
-
| `height` | no |
|
|
379
|
+
| `height` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Height — size token or percentage (e.g. "50%") |
|
|
352
380
|
| `justifyContent` | no | [HStackJustify](./definitions.md#hstackjustify) | Align children along the main axis. Default: flex-start |
|
|
353
381
|
| `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
|
|
354
382
|
| `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
|
|
@@ -358,10 +386,10 @@ Container style overrides applied to a wrapping View — token keys only, e.g. {
|
|
|
358
386
|
| `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
|
|
359
387
|
| `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
|
|
360
388
|
| `marginVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom margin — space token |
|
|
361
|
-
| `maxHeight` | no |
|
|
362
|
-
| `maxWidth` | no |
|
|
363
|
-
| `minHeight` | no |
|
|
364
|
-
| `minWidth` | no |
|
|
389
|
+
| `maxHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum height — size token or percentage |
|
|
390
|
+
| `maxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width — size token or percentage |
|
|
391
|
+
| `minHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum height — size token or percentage |
|
|
392
|
+
| `minWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum width — size token or percentage |
|
|
365
393
|
| `opacity` | no | [ButtonStyleOpacity](./definitions.md#buttonstyleopacity) | Opacity token (e.g. opacity0, opacity50, opacity100) |
|
|
366
394
|
| `overflow` | no | [HStackOverflow](./definitions.md#hstackoverflow) | How content overflow is handled. Default: visible |
|
|
367
395
|
| `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
|
|
@@ -375,7 +403,7 @@ Container style overrides applied to a wrapping View — token keys only, e.g. {
|
|
|
375
403
|
| `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
|
|
376
404
|
| `rowGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Row gap between children — space token |
|
|
377
405
|
| `top` | no | [HStackBottom](./definitions.md#hstackbottom) | Top offset — space token |
|
|
378
|
-
| `width` | no |
|
|
406
|
+
| `width` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
|
|
379
407
|
| `zIndex` | no | number | Stack order |
|
|
380
408
|
|
|
381
409
|
No additional properties.
|
|
@@ -429,13 +457,13 @@ Container style overrides — token keys only, e.g. { padding: "space200", backg
|
|
|
429
457
|
| `columnGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Column gap between children — space token |
|
|
430
458
|
| `display` | no | [ButtonStyleDisplay](./definitions.md#buttonstyledisplay) | Display type. Default: flex |
|
|
431
459
|
| `flex` | no | number | Flex grow/shrink factor |
|
|
432
|
-
| `flexBasis` | no |
|
|
460
|
+
| `flexBasis` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Initial main size — size token or percentage |
|
|
433
461
|
| `flexDirection` | no | [ButtonStyleFlexDirection](./definitions.md#buttonstyleflexdirection) | Main axis direction. Default: column |
|
|
434
462
|
| `flexGrow` | no | number | Flex grow factor |
|
|
435
463
|
| `flexShrink` | no | number | Flex shrink factor |
|
|
436
464
|
| `flexWrap` | no | [HStackWrap](./definitions.md#hstackwrap) | Whether children wrap to next line. Default: nowrap |
|
|
437
465
|
| `gap` | no | [HStackBottom](./definitions.md#hstackbottom) | Gap between children — space token |
|
|
438
|
-
| `height` | no |
|
|
466
|
+
| `height` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Height — size token or percentage (e.g. "50%") |
|
|
439
467
|
| `justifyContent` | no | [HStackJustify](./definitions.md#hstackjustify) | Align children along the main axis. Default: flex-start |
|
|
440
468
|
| `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
|
|
441
469
|
| `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
|
|
@@ -445,10 +473,10 @@ Container style overrides — token keys only, e.g. { padding: "space200", backg
|
|
|
445
473
|
| `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
|
|
446
474
|
| `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
|
|
447
475
|
| `marginVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom margin — space token |
|
|
448
|
-
| `maxHeight` | no |
|
|
449
|
-
| `maxWidth` | no |
|
|
450
|
-
| `minHeight` | no |
|
|
451
|
-
| `minWidth` | no |
|
|
476
|
+
| `maxHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum height — size token or percentage |
|
|
477
|
+
| `maxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width — size token or percentage |
|
|
478
|
+
| `minHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum height — size token or percentage |
|
|
479
|
+
| `minWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum width — size token or percentage |
|
|
452
480
|
| `opacity` | no | [ButtonStyleOpacity](./definitions.md#buttonstyleopacity) | Opacity token (e.g. opacity0, opacity50, opacity100) |
|
|
453
481
|
| `overflow` | no | [HStackOverflow](./definitions.md#hstackoverflow) | How content overflow is handled. Default: visible |
|
|
454
482
|
| `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
|
|
@@ -462,24 +490,11 @@ Container style overrides — token keys only, e.g. { padding: "space200", backg
|
|
|
462
490
|
| `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
|
|
463
491
|
| `rowGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Row gap between children — space token |
|
|
464
492
|
| `top` | no | [HStackBottom](./definitions.md#hstackbottom) | Top offset — space token |
|
|
465
|
-
| `width` | no |
|
|
493
|
+
| `width` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
|
|
466
494
|
| `zIndex` | no | number | Stack order |
|
|
467
495
|
|
|
468
496
|
No additional properties.
|
|
469
497
|
|
|
470
|
-
## FooterAction
|
|
471
|
-
|
|
472
|
-
### Fields
|
|
473
|
-
|
|
474
|
-
| Name | Required | Type | Description |
|
|
475
|
-
|---|---:|---|---|
|
|
476
|
-
| `appearance` | no | string | Button appearance variant |
|
|
477
|
-
| `disabled` | no | boolean | Disables the button |
|
|
478
|
-
| `id` | yes | string | Unique identifier for the action |
|
|
479
|
-
| `title` | yes | string | Button label |
|
|
480
|
-
|
|
481
|
-
No additional properties.
|
|
482
|
-
|
|
483
498
|
## FormStyle
|
|
484
499
|
|
|
485
500
|
Container style overrides applied to the form wrapper — token keys only, e.g. { marginTop: "space200" }
|
|
@@ -510,13 +525,13 @@ Container style overrides applied to the form wrapper — token keys only, e.g.
|
|
|
510
525
|
| `columnGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Column gap between children — space token |
|
|
511
526
|
| `display` | no | [ButtonStyleDisplay](./definitions.md#buttonstyledisplay) | Display type. Default: flex |
|
|
512
527
|
| `flex` | no | number | Flex grow/shrink factor |
|
|
513
|
-
| `flexBasis` | no |
|
|
528
|
+
| `flexBasis` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Initial main size — size token or percentage |
|
|
514
529
|
| `flexDirection` | no | [ButtonStyleFlexDirection](./definitions.md#buttonstyleflexdirection) | Main axis direction. Default: column |
|
|
515
530
|
| `flexGrow` | no | number | Flex grow factor |
|
|
516
531
|
| `flexShrink` | no | number | Flex shrink factor |
|
|
517
532
|
| `flexWrap` | no | [HStackWrap](./definitions.md#hstackwrap) | Whether children wrap to next line. Default: nowrap |
|
|
518
533
|
| `gap` | no | [HStackBottom](./definitions.md#hstackbottom) | Gap between children — space token |
|
|
519
|
-
| `height` | no |
|
|
534
|
+
| `height` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Height — size token or percentage (e.g. "50%") |
|
|
520
535
|
| `justifyContent` | no | [HStackJustify](./definitions.md#hstackjustify) | Align children along the main axis. Default: flex-start |
|
|
521
536
|
| `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
|
|
522
537
|
| `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
|
|
@@ -526,10 +541,10 @@ Container style overrides applied to the form wrapper — token keys only, e.g.
|
|
|
526
541
|
| `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
|
|
527
542
|
| `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
|
|
528
543
|
| `marginVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom margin — space token |
|
|
529
|
-
| `maxHeight` | no |
|
|
530
|
-
| `maxWidth` | no |
|
|
531
|
-
| `minHeight` | no |
|
|
532
|
-
| `minWidth` | no |
|
|
544
|
+
| `maxHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum height — size token or percentage |
|
|
545
|
+
| `maxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width — size token or percentage |
|
|
546
|
+
| `minHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum height — size token or percentage |
|
|
547
|
+
| `minWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum width — size token or percentage |
|
|
533
548
|
| `opacity` | no | [ButtonStyleOpacity](./definitions.md#buttonstyleopacity) | Opacity token (e.g. opacity0, opacity50, opacity100) |
|
|
534
549
|
| `overflow` | no | [HStackOverflow](./definitions.md#hstackoverflow) | How content overflow is handled. Default: visible |
|
|
535
550
|
| `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
|
|
@@ -543,19 +558,11 @@ Container style overrides applied to the form wrapper — token keys only, e.g.
|
|
|
543
558
|
| `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
|
|
544
559
|
| `rowGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Row gap between children — space token |
|
|
545
560
|
| `top` | no | [HStackBottom](./definitions.md#hstackbottom) | Top offset — space token |
|
|
546
|
-
| `width` | no |
|
|
561
|
+
| `width` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
|
|
547
562
|
| `zIndex` | no | number | Stack order |
|
|
548
563
|
|
|
549
564
|
No additional properties.
|
|
550
565
|
|
|
551
|
-
## HeaderElement
|
|
552
|
-
|
|
553
|
-
### Fields
|
|
554
|
-
|
|
555
|
-
_No fields._
|
|
556
|
-
|
|
557
|
-
Additional properties: unknown.
|
|
558
|
-
|
|
559
566
|
## HeaderLeft
|
|
560
567
|
|
|
561
568
|
A json-render spec to render as the left slot of the panel header
|
|
@@ -584,39 +591,28 @@ A json-render spec to render as the right slot of the panel header
|
|
|
584
591
|
|
|
585
592
|
No additional properties.
|
|
586
593
|
|
|
587
|
-
##
|
|
588
|
-
|
|
589
|
-
A json-render spec to render as the right element on the header
|
|
590
|
-
|
|
591
|
-
### Fields
|
|
592
|
-
|
|
593
|
-
| Name | Required | Type | Description |
|
|
594
|
-
|---|---:|---|---|
|
|
595
|
-
| `elements` | yes | [HeaderElement](./types.md#headerelement) | |
|
|
596
|
-
| `root` | yes | string | |
|
|
597
|
-
| `state` | no | [HeaderState](./types.md#headerstate) | |
|
|
598
|
-
|
|
599
|
-
No additional properties.
|
|
594
|
+
## ImageHeader
|
|
600
595
|
|
|
601
|
-
|
|
596
|
+
HTTP headers to attach to the image request
|
|
602
597
|
|
|
603
598
|
### Fields
|
|
604
599
|
|
|
605
600
|
_No fields._
|
|
606
601
|
|
|
607
|
-
Additional properties:
|
|
602
|
+
Additional properties: string.
|
|
608
603
|
|
|
609
|
-
##
|
|
604
|
+
## ImageSource
|
|
610
605
|
|
|
611
|
-
|
|
606
|
+
Structured remote image source
|
|
612
607
|
|
|
613
608
|
### Fields
|
|
614
609
|
|
|
615
610
|
| Name | Required | Type | Description |
|
|
616
611
|
|---|---:|---|---|
|
|
617
|
-
| `
|
|
618
|
-
| `
|
|
619
|
-
| `
|
|
612
|
+
| `headers` | no | [ImageHeader](./types.md#imageheader) | HTTP headers to attach to the image request |
|
|
613
|
+
| `height` | no | number | Intrinsic height hint in logical pixels |
|
|
614
|
+
| `uri` | yes | string | Remote image URI |
|
|
615
|
+
| `width` | no | number | Intrinsic width hint in logical pixels |
|
|
620
616
|
|
|
621
617
|
No additional properties.
|
|
622
618
|
|
|
@@ -649,10 +645,10 @@ Image style overrides — token keys only, e.g. { width: "size400", height: "siz
|
|
|
649
645
|
| `bottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom offset — space token |
|
|
650
646
|
| `color` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Fill/tint color for SVG sources — color token (e.g. colorPrimary) |
|
|
651
647
|
| `flex` | no | number | Flex grow/shrink factor |
|
|
652
|
-
| `flexBasis` | no |
|
|
648
|
+
| `flexBasis` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Initial main size — size token or percentage |
|
|
653
649
|
| `flexGrow` | no | number | Flex grow factor |
|
|
654
650
|
| `flexShrink` | no | number | Flex shrink factor |
|
|
655
|
-
| `height` | no |
|
|
651
|
+
| `height` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Height — size token or percentage (e.g. "50%") |
|
|
656
652
|
| `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
|
|
657
653
|
| `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
|
|
658
654
|
| `marginBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom margin — space token |
|
|
@@ -661,10 +657,10 @@ Image style overrides — token keys only, e.g. { width: "size400", height: "siz
|
|
|
661
657
|
| `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
|
|
662
658
|
| `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
|
|
663
659
|
| `marginVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom margin — space token |
|
|
664
|
-
| `maxHeight` | no |
|
|
665
|
-
| `maxWidth` | no |
|
|
666
|
-
| `minHeight` | no |
|
|
667
|
-
| `minWidth` | no |
|
|
660
|
+
| `maxHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum height — size token or percentage |
|
|
661
|
+
| `maxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width — size token or percentage |
|
|
662
|
+
| `minHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum height — size token or percentage |
|
|
663
|
+
| `minWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum width — size token or percentage |
|
|
668
664
|
| `opacity` | no | [ButtonStyleOpacity](./definitions.md#buttonstyleopacity) | Opacity token (e.g. opacity0, opacity50, opacity100) |
|
|
669
665
|
| `overflow` | no | [ImageStyleOverflow](./definitions.md#imagestyleoverflow) | How content overflow is handled. Default: visible |
|
|
670
666
|
| `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
|
|
@@ -679,7 +675,7 @@ Image style overrides — token keys only, e.g. { width: "size400", height: "siz
|
|
|
679
675
|
| `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
|
|
680
676
|
| `tintColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Image tint color token (e.g. colorOnSurface) |
|
|
681
677
|
| `top` | no | [HStackBottom](./definitions.md#hstackbottom) | Top offset — space token |
|
|
682
|
-
| `width` | no |
|
|
678
|
+
| `width` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
|
|
683
679
|
| `zIndex` | no | number | Stack order |
|
|
684
680
|
|
|
685
681
|
No additional properties.
|
|
@@ -725,7 +721,7 @@ Left action: provide title for text button or iconType for icon button
|
|
|
725
721
|
|
|
726
722
|
| Name | Required | Type | Description |
|
|
727
723
|
|---|---:|---|---|
|
|
728
|
-
| `iconType` | no | [
|
|
724
|
+
| `iconType` | no | [AvatarSource](./definitions.md#avatarsource) | Pebble icon name to use as the action button |
|
|
729
725
|
| `title` | no | string | Text label for the action button |
|
|
730
726
|
|
|
731
727
|
No additional properties.
|
|
@@ -788,20 +784,29 @@ A json-render spec to render as meta content beside the widget title
|
|
|
788
784
|
|
|
789
785
|
No additional properties.
|
|
790
786
|
|
|
791
|
-
##
|
|
787
|
+
## ModalSheetElement
|
|
792
788
|
|
|
793
|
-
|
|
789
|
+
### Fields
|
|
790
|
+
|
|
791
|
+
_No fields._
|
|
792
|
+
|
|
793
|
+
Additional properties: unknown.
|
|
794
|
+
|
|
795
|
+
## ModalSheetHeader
|
|
796
|
+
|
|
797
|
+
A json-render spec to render as the header component of the ModalSheet, e.g. PageModalActionHeader
|
|
794
798
|
|
|
795
799
|
### Fields
|
|
796
800
|
|
|
797
801
|
| Name | Required | Type | Description |
|
|
798
802
|
|---|---:|---|---|
|
|
799
|
-
| `
|
|
800
|
-
| `
|
|
803
|
+
| `elements` | yes | [ModalSheetElement](./types.md#modalsheetelement) | |
|
|
804
|
+
| `root` | yes | string | |
|
|
805
|
+
| `state` | no | [ModalSheetState](./types.md#modalsheetstate) | |
|
|
801
806
|
|
|
802
807
|
No additional properties.
|
|
803
808
|
|
|
804
|
-
##
|
|
809
|
+
## ModalSheetState
|
|
805
810
|
|
|
806
811
|
### Fields
|
|
807
812
|
|
|
@@ -809,7 +814,9 @@ _No fields._
|
|
|
809
814
|
|
|
810
815
|
Additional properties: unknown.
|
|
811
816
|
|
|
812
|
-
##
|
|
817
|
+
## NavigateParamsParam
|
|
818
|
+
|
|
819
|
+
Optional params object forwarded to the target screen.
|
|
813
820
|
|
|
814
821
|
### Fields
|
|
815
822
|
|
|
@@ -879,9 +886,19 @@ _No fields._
|
|
|
879
886
|
|
|
880
887
|
Additional properties: unknown.
|
|
881
888
|
|
|
882
|
-
##
|
|
889
|
+
## PageCondensedFooterAction
|
|
883
890
|
|
|
884
|
-
Optional
|
|
891
|
+
Optional action button. Press emits "action".
|
|
892
|
+
|
|
893
|
+
### Fields
|
|
894
|
+
|
|
895
|
+
| Name | Required | Type | Description |
|
|
896
|
+
|---|---:|---|---|
|
|
897
|
+
| `title` | yes | string | Action button label |
|
|
898
|
+
|
|
899
|
+
No additional properties.
|
|
900
|
+
|
|
901
|
+
## PageCondensedHeaderElement
|
|
885
902
|
|
|
886
903
|
### Fields
|
|
887
904
|
|
|
@@ -889,6 +906,84 @@ _No fields._
|
|
|
889
906
|
|
|
890
907
|
Additional properties: unknown.
|
|
891
908
|
|
|
909
|
+
## PageCondensedHeaderRight
|
|
910
|
+
|
|
911
|
+
A json-render spec to render as the right element on the header
|
|
912
|
+
|
|
913
|
+
### Fields
|
|
914
|
+
|
|
915
|
+
| Name | Required | Type | Description |
|
|
916
|
+
|---|---:|---|---|
|
|
917
|
+
| `elements` | yes | [PageCondensedHeaderElement](./types.md#pagecondensedheaderelement) | |
|
|
918
|
+
| `root` | yes | string | |
|
|
919
|
+
| `state` | no | [PageCondensedHeaderState](./types.md#pagecondensedheaderstate) | |
|
|
920
|
+
|
|
921
|
+
No additional properties.
|
|
922
|
+
|
|
923
|
+
## PageCondensedHeaderState
|
|
924
|
+
|
|
925
|
+
### Fields
|
|
926
|
+
|
|
927
|
+
_No fields._
|
|
928
|
+
|
|
929
|
+
Additional properties: unknown.
|
|
930
|
+
|
|
931
|
+
## PageFooterAction
|
|
932
|
+
|
|
933
|
+
### Fields
|
|
934
|
+
|
|
935
|
+
| Name | Required | Type | Description |
|
|
936
|
+
|---|---:|---|---|
|
|
937
|
+
| `appearance` | no | string | Button appearance variant |
|
|
938
|
+
| `disabled` | no | boolean | Disables the button |
|
|
939
|
+
| `id` | yes | string | Unique identifier for the action |
|
|
940
|
+
| `title` | yes | string | Button label |
|
|
941
|
+
|
|
942
|
+
No additional properties.
|
|
943
|
+
|
|
944
|
+
## PageHeaderElement
|
|
945
|
+
|
|
946
|
+
### Fields
|
|
947
|
+
|
|
948
|
+
_No fields._
|
|
949
|
+
|
|
950
|
+
Additional properties: unknown.
|
|
951
|
+
|
|
952
|
+
## PageHeaderRight
|
|
953
|
+
|
|
954
|
+
A json-render spec rendered on the right side of the page header
|
|
955
|
+
|
|
956
|
+
### Fields
|
|
957
|
+
|
|
958
|
+
| Name | Required | Type | Description |
|
|
959
|
+
|---|---:|---|---|
|
|
960
|
+
| `elements` | yes | [PageHeaderElement](./types.md#pageheaderelement) | |
|
|
961
|
+
| `root` | yes | string | |
|
|
962
|
+
| `state` | no | [PageHeaderState](./types.md#pageheaderstate) | |
|
|
963
|
+
|
|
964
|
+
No additional properties.
|
|
965
|
+
|
|
966
|
+
## PageHeaderState
|
|
967
|
+
|
|
968
|
+
### Fields
|
|
969
|
+
|
|
970
|
+
_No fields._
|
|
971
|
+
|
|
972
|
+
Additional properties: unknown.
|
|
973
|
+
|
|
974
|
+
## PageModalActionHeaderRight
|
|
975
|
+
|
|
976
|
+
Right action: provide title for text button or iconType for icon button
|
|
977
|
+
|
|
978
|
+
### Fields
|
|
979
|
+
|
|
980
|
+
| Name | Required | Type | Description |
|
|
981
|
+
|---|---:|---|---|
|
|
982
|
+
| `iconType` | no | [AvatarSource](./definitions.md#avatarsource) | Pebble icon name to use as the action button |
|
|
983
|
+
| `title` | no | string | Text label for the action button |
|
|
984
|
+
|
|
985
|
+
No additional properties.
|
|
986
|
+
|
|
892
987
|
## PasswordArg
|
|
893
988
|
|
|
894
989
|
### Fields
|
|
@@ -909,6 +1004,16 @@ Additional properties: unknown.
|
|
|
909
1004
|
|
|
910
1005
|
No additional properties.
|
|
911
1006
|
|
|
1007
|
+
## Payload
|
|
1008
|
+
|
|
1009
|
+
POST body or GET query parameters. Defaults to an empty object for POST.
|
|
1010
|
+
|
|
1011
|
+
### Fields
|
|
1012
|
+
|
|
1013
|
+
_No fields._
|
|
1014
|
+
|
|
1015
|
+
Additional properties: unknown.
|
|
1016
|
+
|
|
912
1017
|
## PercentageArg
|
|
913
1018
|
|
|
914
1019
|
### Fields
|
|
@@ -1010,13 +1115,13 @@ Container style overrides — token keys only, e.g. { padding: "space200", backg
|
|
|
1010
1115
|
| `columnGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Column gap between children — space token |
|
|
1011
1116
|
| `display` | no | [ButtonStyleDisplay](./definitions.md#buttonstyledisplay) | Display type. Default: flex |
|
|
1012
1117
|
| `flex` | no | number | Flex grow/shrink factor |
|
|
1013
|
-
| `flexBasis` | no |
|
|
1118
|
+
| `flexBasis` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Initial main size — size token or percentage |
|
|
1014
1119
|
| `flexDirection` | no | [ButtonStyleFlexDirection](./definitions.md#buttonstyleflexdirection) | Main axis direction. Default: column |
|
|
1015
1120
|
| `flexGrow` | no | number | Flex grow factor |
|
|
1016
1121
|
| `flexShrink` | no | number | Flex shrink factor |
|
|
1017
1122
|
| `flexWrap` | no | [HStackWrap](./definitions.md#hstackwrap) | Whether children wrap to next line. Default: nowrap |
|
|
1018
1123
|
| `gap` | no | [HStackBottom](./definitions.md#hstackbottom) | Gap between children — space token |
|
|
1019
|
-
| `height` | no |
|
|
1124
|
+
| `height` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Height — size token or percentage (e.g. "50%") |
|
|
1020
1125
|
| `justifyContent` | no | [HStackJustify](./definitions.md#hstackjustify) | Align children along the main axis. Default: flex-start |
|
|
1021
1126
|
| `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
|
|
1022
1127
|
| `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
|
|
@@ -1026,10 +1131,10 @@ Container style overrides — token keys only, e.g. { padding: "space200", backg
|
|
|
1026
1131
|
| `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
|
|
1027
1132
|
| `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
|
|
1028
1133
|
| `marginVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom margin — space token |
|
|
1029
|
-
| `maxHeight` | no |
|
|
1030
|
-
| `maxWidth` | no |
|
|
1031
|
-
| `minHeight` | no |
|
|
1032
|
-
| `minWidth` | no |
|
|
1134
|
+
| `maxHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum height — size token or percentage |
|
|
1135
|
+
| `maxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width — size token or percentage |
|
|
1136
|
+
| `minHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum height — size token or percentage |
|
|
1137
|
+
| `minWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum width — size token or percentage |
|
|
1033
1138
|
| `opacity` | no | [ButtonStyleOpacity](./definitions.md#buttonstyleopacity) | Opacity token (e.g. opacity0, opacity50, opacity100) |
|
|
1034
1139
|
| `overflow` | no | [HStackOverflow](./definitions.md#hstackoverflow) | How content overflow is handled. Default: visible |
|
|
1035
1140
|
| `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
|
|
@@ -1043,7 +1148,7 @@ Container style overrides — token keys only, e.g. { padding: "space200", backg
|
|
|
1043
1148
|
| `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
|
|
1044
1149
|
| `rowGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Row gap between children — space token |
|
|
1045
1150
|
| `top` | no | [HStackBottom](./definitions.md#hstackbottom) | Top offset — space token |
|
|
1046
|
-
| `width` | no |
|
|
1151
|
+
| `width` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
|
|
1047
1152
|
| `zIndex` | no | number | Stack order |
|
|
1048
1153
|
|
|
1049
1154
|
No additional properties.
|
|
@@ -1059,6 +1164,16 @@ No additional properties.
|
|
|
1059
1164
|
|
|
1060
1165
|
No additional properties.
|
|
1061
1166
|
|
|
1167
|
+
## PushParamsParam
|
|
1168
|
+
|
|
1169
|
+
Optional params object forwarded to the target screen.
|
|
1170
|
+
|
|
1171
|
+
### Fields
|
|
1172
|
+
|
|
1173
|
+
_No fields._
|
|
1174
|
+
|
|
1175
|
+
Additional properties: unknown.
|
|
1176
|
+
|
|
1062
1177
|
## RadioArg
|
|
1063
1178
|
|
|
1064
1179
|
### Fields
|
|
@@ -1215,6 +1330,101 @@ Additional properties: unknown.
|
|
|
1215
1330
|
|
|
1216
1331
|
No additional properties.
|
|
1217
1332
|
|
|
1333
|
+
## TextStyle
|
|
1334
|
+
|
|
1335
|
+
TextStyle object — all values must be pebble design token keys. Color example: { color: 'colorOnSurface' }. Spacing example: { marginTop: 'space200' }.
|
|
1336
|
+
|
|
1337
|
+
### Fields
|
|
1338
|
+
|
|
1339
|
+
| Name | Required | Type | Description |
|
|
1340
|
+
|---|---:|---|---|
|
|
1341
|
+
| `alignItems` | no | [HStackAlign](./definitions.md#hstackalign) | Align children along the cross axis. Default: stretch |
|
|
1342
|
+
| `alignSelf` | no | [HStackAlignSelf](./definitions.md#hstackalignself) | Override parent alignItems for this element. Default: auto |
|
|
1343
|
+
| `backgroundColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Background color token (e.g. colorSurface, colorPrimaryContainer) |
|
|
1344
|
+
| `borderBottomColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Bottom border color token |
|
|
1345
|
+
| `borderBottomLeftRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Bottom-left border radius — shape corner token |
|
|
1346
|
+
| `borderBottomRightRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Bottom-right border radius — shape corner token |
|
|
1347
|
+
| `borderBottomWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Bottom border width — shape border width token |
|
|
1348
|
+
| `borderColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Border color token on all sides (e.g. colorBorder) |
|
|
1349
|
+
| `borderLeftColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Left border color token |
|
|
1350
|
+
| `borderLeftWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Left border width — shape border width token |
|
|
1351
|
+
| `borderRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg) |
|
|
1352
|
+
| `borderRightColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Right border color token |
|
|
1353
|
+
| `borderRightWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Right border width — shape border width token |
|
|
1354
|
+
| `borderTopColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Top border color token |
|
|
1355
|
+
| `borderTopLeftRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Top-left border radius — shape corner token |
|
|
1356
|
+
| `borderTopRightRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Top-right border radius — shape corner token |
|
|
1357
|
+
| `borderTopWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Top border width — shape border width token |
|
|
1358
|
+
| `borderWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd) |
|
|
1359
|
+
| `bottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom offset — space token |
|
|
1360
|
+
| `color` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Text color token (e.g. colorOnSurface, colorPrimary) |
|
|
1361
|
+
| `columnGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Column gap between children — space token |
|
|
1362
|
+
| `display` | no | [ButtonStyleDisplay](./definitions.md#buttonstyledisplay) | Display type. Default: flex |
|
|
1363
|
+
| `flex` | no | number | Flex grow/shrink factor |
|
|
1364
|
+
| `flexBasis` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Initial main size — size token or percentage |
|
|
1365
|
+
| `flexDirection` | no | [ButtonStyleFlexDirection](./definitions.md#buttonstyleflexdirection) | Main axis direction. Default: column |
|
|
1366
|
+
| `flexGrow` | no | number | Flex grow factor |
|
|
1367
|
+
| `flexShrink` | no | number | Flex shrink factor |
|
|
1368
|
+
| `flexWrap` | no | [HStackWrap](./definitions.md#hstackwrap) | Whether children wrap to next line. Default: nowrap |
|
|
1369
|
+
| `fontFamily` | no | string | Font family name |
|
|
1370
|
+
| `fontSize` | no | number | Font size in logical pixels |
|
|
1371
|
+
| `fontStyle` | no | [TextStyleFontStyle](./definitions.md#textstylefontstyle) | Font style. Default: normal |
|
|
1372
|
+
| `fontWeight` | no | [TextStyleFontWeight](./definitions.md#textstylefontweight) | Font weight. Default: normal |
|
|
1373
|
+
| `gap` | no | [HStackBottom](./definitions.md#hstackbottom) | Gap between children — space token |
|
|
1374
|
+
| `height` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Height — size token or percentage (e.g. "50%") |
|
|
1375
|
+
| `includeFontPadding` | no | boolean | Include extra font padding (Android only). Default: true |
|
|
1376
|
+
| `justifyContent` | no | [HStackJustify](./definitions.md#hstackjustify) | Align children along the main axis. Default: flex-start |
|
|
1377
|
+
| `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
|
|
1378
|
+
| `letterSpacing` | no | number | Extra space between characters in logical pixels (e.g. 0.5, 1.5) |
|
|
1379
|
+
| `lineHeight` | no | number | Line height in logical pixels |
|
|
1380
|
+
| `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
|
|
1381
|
+
| `marginBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom margin — space token |
|
|
1382
|
+
| `marginHorizontal` | no | [HStackBottom](./definitions.md#hstackbottom) | Left and right margin — space token |
|
|
1383
|
+
| `marginLeft` | no | [HStackBottom](./definitions.md#hstackbottom) | Left margin — space token |
|
|
1384
|
+
| `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
|
|
1385
|
+
| `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
|
|
1386
|
+
| `marginVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom margin — space token |
|
|
1387
|
+
| `maxHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum height — size token or percentage |
|
|
1388
|
+
| `maxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width — size token or percentage |
|
|
1389
|
+
| `minHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum height — size token or percentage |
|
|
1390
|
+
| `minWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum width — size token or percentage |
|
|
1391
|
+
| `opacity` | no | [ButtonStyleOpacity](./definitions.md#buttonstyleopacity) | Opacity token (e.g. opacity0, opacity50, opacity100) |
|
|
1392
|
+
| `overflow` | no | [HStackOverflow](./definitions.md#hstackoverflow) | How content overflow is handled. Default: visible |
|
|
1393
|
+
| `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
|
|
1394
|
+
| `paddingBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom padding — space token |
|
|
1395
|
+
| `paddingHorizontal` | no | [HStackBottom](./definitions.md#hstackbottom) | Left and right padding — space token |
|
|
1396
|
+
| `paddingLeft` | no | [HStackBottom](./definitions.md#hstackbottom) | Left padding — space token |
|
|
1397
|
+
| `paddingRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right padding — space token |
|
|
1398
|
+
| `paddingTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top padding — space token |
|
|
1399
|
+
| `paddingVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom padding — space token |
|
|
1400
|
+
| `position` | no | [HStackPosition](./definitions.md#hstackposition) | Positioning type. Default: relative |
|
|
1401
|
+
| `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
|
|
1402
|
+
| `rowGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Row gap between children — space token |
|
|
1403
|
+
| `textAlign` | no | [TextStyleTextAlign](./definitions.md#textstyletextalign) | Horizontal text alignment. Default: auto |
|
|
1404
|
+
| `textAlignVertical` | no | [TextStyleTextAlignVertical](./definitions.md#textstyletextalignvertical) | Vertical text alignment (Android only). Default: auto |
|
|
1405
|
+
| `textDecorationColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Text decoration color token. Requires textDecorationLine |
|
|
1406
|
+
| `textDecorationLine` | no | [TextStyleTextDecorationLine](./definitions.md#textstyletextdecorationline) | Text decoration. Default: none |
|
|
1407
|
+
| `textDecorationStyle` | no | [TextStyleTextDecorationStyle](./definitions.md#textstyletextdecorationstyle) | Text decoration style (iOS only). Default: solid |
|
|
1408
|
+
| `textShadowColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Text shadow color token |
|
|
1409
|
+
| `textShadowOffsetHeight` | no | [HStackBottom](./definitions.md#hstackbottom) | Vertical text shadow offset — space token |
|
|
1410
|
+
| `textShadowOffsetWidth` | no | [HStackBottom](./definitions.md#hstackbottom) | Horizontal text shadow offset — space token |
|
|
1411
|
+
| `textShadowRadius` | no | [HStackBottom](./definitions.md#hstackbottom) | Text shadow blur radius — space token |
|
|
1412
|
+
| `textTransform` | no | [TextStyleTextTransform](./definitions.md#textstyletexttransform) | Text case transformation. Default: none |
|
|
1413
|
+
| `top` | no | [HStackBottom](./definitions.md#hstackbottom) | Top offset — space token |
|
|
1414
|
+
| `width` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
|
|
1415
|
+
| `writingDirection` | no | [TextStyleWritingDirection](./definitions.md#textstylewritingdirection) | Writing direction. Default: auto |
|
|
1416
|
+
| `zIndex` | no | number | Stack order |
|
|
1417
|
+
|
|
1418
|
+
No additional properties.
|
|
1419
|
+
|
|
1420
|
+
## Token
|
|
1421
|
+
|
|
1422
|
+
### Fields
|
|
1423
|
+
|
|
1424
|
+
_No fields._
|
|
1425
|
+
|
|
1426
|
+
Additional properties: unknown.
|
|
1427
|
+
|
|
1218
1428
|
## WidgetAction
|
|
1219
1429
|
|
|
1220
1430
|
Action buttons. primary emits "primaryAction", secondary emits "secondaryAction".
|