@rippling/pebble-sdui-mobile 0.7.0 → 0.7.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/index.cjs +6 -6
- package/dist/catalogs/custom-apps/index.cjs.map +1 -1
- package/dist/catalogs/custom-apps/index.js +2613 -2631
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/docs/README.md +16 -0
- package/dist/docs/catalogs.md +10 -0
- package/dist/docs/concepts.md +370 -0
- package/dist/docs/recipes.md +8 -0
- package/dist/docs/typescript/README.md +17 -0
- package/dist/docs/typescript/api-reference.md +400 -0
- package/dist/docs/typescript/catalogs.md +8 -0
- package/dist/docs/typescript/mobile/catalogs/custom-apps/actions.md +59 -0
- package/dist/docs/typescript/mobile/catalogs/custom-apps/components.md +1991 -0
- package/dist/docs/typescript/mobile/catalogs/custom-apps/computed-functions.md +162 -0
- package/dist/docs/typescript/mobile/catalogs/custom-apps/definitions.md +3316 -0
- package/dist/docs/typescript/mobile/catalogs/custom-apps/readme.md +16 -0
- package/dist/docs/typescript/mobile/catalogs/custom-apps/types.md +1265 -0
- package/dist/docs/typescript/mobile/catalogs.md +5 -0
- package/dist/docs/typescript/recipes.md +383 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1265 @@
|
|
|
1
|
+
<!-- Auto-generated from catalogs/custom-apps.catalog.json; do not edit directly. -->
|
|
2
|
+
# custom-apps Types
|
|
3
|
+
|
|
4
|
+
Nested object types are referenced from component props, action params, and computed function params. Read this file only when another catalog doc links to a nested type.
|
|
5
|
+
|
|
6
|
+
## ActionCardPrimaryAction
|
|
7
|
+
|
|
8
|
+
Primary action button. Press emits "primaryAction".
|
|
9
|
+
|
|
10
|
+
### Fields
|
|
11
|
+
|
|
12
|
+
| Name | Required | Type | Description |
|
|
13
|
+
|---|---:|---|---|
|
|
14
|
+
| `title` | yes | string | Primary action button label |
|
|
15
|
+
|
|
16
|
+
No additional properties.
|
|
17
|
+
|
|
18
|
+
## ActionCardSecondaryAction
|
|
19
|
+
|
|
20
|
+
Secondary action button. Press emits "secondaryAction".
|
|
21
|
+
|
|
22
|
+
### Fields
|
|
23
|
+
|
|
24
|
+
| Name | Required | Type | Description |
|
|
25
|
+
|---|---:|---|---|
|
|
26
|
+
| `title` | yes | string | Secondary action button label |
|
|
27
|
+
|
|
28
|
+
No additional properties.
|
|
29
|
+
|
|
30
|
+
## Asset
|
|
31
|
+
|
|
32
|
+
Asset displayed on the action card
|
|
33
|
+
|
|
34
|
+
### Fields
|
|
35
|
+
|
|
36
|
+
| Name | Required | Type | Description |
|
|
37
|
+
|---|---:|---|---|
|
|
38
|
+
| `iconType` | no | string | Pebble icon name to use as the card asset |
|
|
39
|
+
| `size` | no | [AssetSize](./definitions.md#assetsize) | Size of the asset. Default: medium |
|
|
40
|
+
|
|
41
|
+
No additional properties.
|
|
42
|
+
|
|
43
|
+
## AvatarValue
|
|
44
|
+
|
|
45
|
+
### Fields
|
|
46
|
+
|
|
47
|
+
| Name | Required | Type | Description |
|
|
48
|
+
|---|---:|---|---|
|
|
49
|
+
| `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 |
|
|
51
|
+
| `title` | no | string | Initials or short text shown when no source is provided |
|
|
52
|
+
|
|
53
|
+
No additional properties.
|
|
54
|
+
|
|
55
|
+
## ButtonProp
|
|
56
|
+
|
|
57
|
+
Optional Button props (label, appearance, icons, etc.). `onPress` is owned by the file viewer.
|
|
58
|
+
|
|
59
|
+
### Fields
|
|
60
|
+
|
|
61
|
+
| Name | Required | Type | Description |
|
|
62
|
+
|---|---:|---|---|
|
|
63
|
+
| `appearance` | no | [ButtonAppearance](./definitions.md#buttonappearance) | Button appearance. Default: primary |
|
|
64
|
+
| `children` | no | string | Button label text |
|
|
65
|
+
| `disabled` | no | boolean | Disables the button. Default: false |
|
|
66
|
+
| `fluid` | no | boolean | If true, button stretches to full available width |
|
|
67
|
+
| `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 |
|
|
69
|
+
| `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 |
|
|
71
|
+
| `spinner` | no | boolean | Shows a loading spinner. Bind to state for async feedback. Default: false |
|
|
72
|
+
| `style` | no | [FileViewerButtonStyle](./types.md#fileviewerbuttonstyle) | Container style overrides applied to a wrapping View — token keys only, e.g. { marginTop: "space200", alignSelf: "center" } |
|
|
73
|
+
| `testID` | no | string | Sets testid on Button (used for testing purposes) |
|
|
74
|
+
| `variant` | no | [ButtonVariant](./definitions.md#buttonvariant) | Button variant. Default: base |
|
|
75
|
+
|
|
76
|
+
No additional properties.
|
|
77
|
+
|
|
78
|
+
## ButtonStyle
|
|
79
|
+
|
|
80
|
+
Container style overrides applied to a wrapping View — token keys only, e.g. { marginTop: "space200", alignSelf: "center" }
|
|
81
|
+
|
|
82
|
+
### Fields
|
|
83
|
+
|
|
84
|
+
| Name | Required | Type | Description |
|
|
85
|
+
|---|---:|---|---|
|
|
86
|
+
| `alignItems` | no | [HStackAlign](./definitions.md#hstackalign) | Align children along the cross axis. Default: stretch |
|
|
87
|
+
| `alignSelf` | no | [HStackAlignSelf](./definitions.md#hstackalignself) | Override parent alignItems for this element. Default: auto |
|
|
88
|
+
| `backgroundColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Background color token (e.g. colorSurface, colorPrimaryContainer) |
|
|
89
|
+
| `borderBottomColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Bottom border color token |
|
|
90
|
+
| `borderBottomLeftRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Bottom-left border radius — shape corner token |
|
|
91
|
+
| `borderBottomRightRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Bottom-right border radius — shape corner token |
|
|
92
|
+
| `borderBottomWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Bottom border width — shape border width token |
|
|
93
|
+
| `borderColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Border color token on all sides (e.g. colorBorder) |
|
|
94
|
+
| `borderLeftColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Left border color token |
|
|
95
|
+
| `borderLeftWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Left border width — shape border width token |
|
|
96
|
+
| `borderRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg) |
|
|
97
|
+
| `borderRightColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Right border color token |
|
|
98
|
+
| `borderRightWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Right border width — shape border width token |
|
|
99
|
+
| `borderTopColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Top border color token |
|
|
100
|
+
| `borderTopLeftRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Top-left border radius — shape corner token |
|
|
101
|
+
| `borderTopRightRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Top-right border radius — shape corner token |
|
|
102
|
+
| `borderTopWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Top border width — shape border width token |
|
|
103
|
+
| `borderWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd) |
|
|
104
|
+
| `bottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom offset — space token |
|
|
105
|
+
| `columnGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Column gap between children — space token |
|
|
106
|
+
| `display` | no | [ButtonStyleDisplay](./definitions.md#buttonstyledisplay) | Display type. Default: flex |
|
|
107
|
+
| `flex` | no | number | Flex grow/shrink factor |
|
|
108
|
+
| `flexBasis` | no | unknown | Initial main size — size token or percentage |
|
|
109
|
+
| `flexDirection` | no | [ButtonStyleFlexDirection](./definitions.md#buttonstyleflexdirection) | Main axis direction. Default: column |
|
|
110
|
+
| `flexGrow` | no | number | Flex grow factor |
|
|
111
|
+
| `flexShrink` | no | number | Flex shrink factor |
|
|
112
|
+
| `flexWrap` | no | [HStackWrap](./definitions.md#hstackwrap) | Whether children wrap to next line. Default: nowrap |
|
|
113
|
+
| `gap` | no | [HStackBottom](./definitions.md#hstackbottom) | Gap between children — space token |
|
|
114
|
+
| `height` | no | unknown | Height — size token or percentage (e.g. "50%") |
|
|
115
|
+
| `justifyContent` | no | [HStackJustify](./definitions.md#hstackjustify) | Align children along the main axis. Default: flex-start |
|
|
116
|
+
| `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
|
|
117
|
+
| `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
|
|
118
|
+
| `marginBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom margin — space token |
|
|
119
|
+
| `marginHorizontal` | no | [HStackBottom](./definitions.md#hstackbottom) | Left and right margin — space token |
|
|
120
|
+
| `marginLeft` | no | [HStackBottom](./definitions.md#hstackbottom) | Left margin — space token |
|
|
121
|
+
| `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
|
|
122
|
+
| `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
|
|
123
|
+
| `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 |
|
|
128
|
+
| `opacity` | no | [ButtonStyleOpacity](./definitions.md#buttonstyleopacity) | Opacity token (e.g. opacity0, opacity50, opacity100) |
|
|
129
|
+
| `overflow` | no | [HStackOverflow](./definitions.md#hstackoverflow) | How content overflow is handled. Default: visible |
|
|
130
|
+
| `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
|
|
131
|
+
| `paddingBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom padding — space token |
|
|
132
|
+
| `paddingHorizontal` | no | [HStackBottom](./definitions.md#hstackbottom) | Left and right padding — space token |
|
|
133
|
+
| `paddingLeft` | no | [HStackBottom](./definitions.md#hstackbottom) | Left padding — space token |
|
|
134
|
+
| `paddingRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right padding — space token |
|
|
135
|
+
| `paddingTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top padding — space token |
|
|
136
|
+
| `paddingVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom padding — space token |
|
|
137
|
+
| `position` | no | [HStackPosition](./definitions.md#hstackposition) | Positioning type. Default: relative |
|
|
138
|
+
| `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
|
|
139
|
+
| `rowGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Row gap between children — space token |
|
|
140
|
+
| `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%") |
|
|
142
|
+
| `zIndex` | no | number | Stack order |
|
|
143
|
+
|
|
144
|
+
No additional properties.
|
|
145
|
+
|
|
146
|
+
## CheckboxArg
|
|
147
|
+
|
|
148
|
+
### Fields
|
|
149
|
+
|
|
150
|
+
_No fields._
|
|
151
|
+
|
|
152
|
+
Additional properties: unknown.
|
|
153
|
+
|
|
154
|
+
## CheckboxCheck
|
|
155
|
+
|
|
156
|
+
### Fields
|
|
157
|
+
|
|
158
|
+
| Name | Required | Type | Description |
|
|
159
|
+
|---|---:|---|---|
|
|
160
|
+
| `args` | no | [CheckboxArg](./types.md#checkboxarg) | |
|
|
161
|
+
| `message` | yes | string | |
|
|
162
|
+
| `type` | yes | string | |
|
|
163
|
+
|
|
164
|
+
No additional properties.
|
|
165
|
+
|
|
166
|
+
## CheckboxGroupOption
|
|
167
|
+
|
|
168
|
+
### Fields
|
|
169
|
+
|
|
170
|
+
| Name | Required | Type | Description |
|
|
171
|
+
|---|---:|---|---|
|
|
172
|
+
| `disabled` | no | boolean | Disables this individual option |
|
|
173
|
+
| `error` | no | boolean | Marks this option in error state |
|
|
174
|
+
| `id` | yes | string | Unique identifier for this option |
|
|
175
|
+
| `label` | no | string | Label text for this option |
|
|
176
|
+
| `tag` | no | string | Tag text shown above the label |
|
|
177
|
+
|
|
178
|
+
No additional properties.
|
|
179
|
+
|
|
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
|
+
## CurrencyArg
|
|
223
|
+
|
|
224
|
+
### Fields
|
|
225
|
+
|
|
226
|
+
_No fields._
|
|
227
|
+
|
|
228
|
+
Additional properties: unknown.
|
|
229
|
+
|
|
230
|
+
## CurrencyCheck
|
|
231
|
+
|
|
232
|
+
### Fields
|
|
233
|
+
|
|
234
|
+
| Name | Required | Type | Description |
|
|
235
|
+
|---|---:|---|---|
|
|
236
|
+
| `args` | no | [CurrencyArg](./types.md#currencyarg) | |
|
|
237
|
+
| `message` | yes | string | |
|
|
238
|
+
| `type` | yes | string | |
|
|
239
|
+
|
|
240
|
+
No additional properties.
|
|
241
|
+
|
|
242
|
+
## DateTimeAddParamsOption
|
|
243
|
+
|
|
244
|
+
Optional AddOptions (parseFormat, parseTimeZone).
|
|
245
|
+
|
|
246
|
+
### Fields
|
|
247
|
+
|
|
248
|
+
_No fields._
|
|
249
|
+
|
|
250
|
+
Additional properties: unknown.
|
|
251
|
+
|
|
252
|
+
## DateTimeFormatParamsOption
|
|
253
|
+
|
|
254
|
+
Optional FormatOptions (parseFormat, timeZone, parseTimeZone, unit).
|
|
255
|
+
|
|
256
|
+
### Fields
|
|
257
|
+
|
|
258
|
+
_No fields._
|
|
259
|
+
|
|
260
|
+
Additional properties: unknown.
|
|
261
|
+
|
|
262
|
+
## Duration
|
|
263
|
+
|
|
264
|
+
Duration to add — object with optional years, months, weeks, days, hours, minutes, seconds.
|
|
265
|
+
|
|
266
|
+
### Fields
|
|
267
|
+
|
|
268
|
+
| Name | Required | Type | Description |
|
|
269
|
+
|---|---:|---|---|
|
|
270
|
+
| `days` | no | number | |
|
|
271
|
+
| `hours` | no | number | |
|
|
272
|
+
| `minutes` | no | number | |
|
|
273
|
+
| `months` | no | number | |
|
|
274
|
+
| `seconds` | no | number | |
|
|
275
|
+
| `weeks` | no | number | |
|
|
276
|
+
| `years` | no | number | |
|
|
277
|
+
|
|
278
|
+
No additional properties.
|
|
279
|
+
|
|
280
|
+
## ExpansionPanelElement
|
|
281
|
+
|
|
282
|
+
### Fields
|
|
283
|
+
|
|
284
|
+
_No fields._
|
|
285
|
+
|
|
286
|
+
Additional properties: unknown.
|
|
287
|
+
|
|
288
|
+
## ExpansionPanelState
|
|
289
|
+
|
|
290
|
+
### Fields
|
|
291
|
+
|
|
292
|
+
_No fields._
|
|
293
|
+
|
|
294
|
+
Additional properties: unknown.
|
|
295
|
+
|
|
296
|
+
## FileViewerButtonFile
|
|
297
|
+
|
|
298
|
+
Target file; provide url for remote assets or uri for on-device files
|
|
299
|
+
|
|
300
|
+
### Fields
|
|
301
|
+
|
|
302
|
+
| Name | Required | Type | Description |
|
|
303
|
+
|---|---:|---|---|
|
|
304
|
+
| `name` | no | string | Original file name for display |
|
|
305
|
+
| `base64` | no | string | Optional base64 payload when the spec embeds small assets |
|
|
306
|
+
| `id` | no | string | Stable file id when available |
|
|
307
|
+
| `previewUri` | no | string | Optional preview image URI for thumbnails |
|
|
308
|
+
| `size` | no | number | Size in bytes |
|
|
309
|
+
| `type` | no | string | MIME or logical type (e.g. photo, video) — helps choose viewer when HEAD is unavailable |
|
|
310
|
+
| `uri` | no | string | Local content URI (e.g. from document picker). Copied to url when url is omitted |
|
|
311
|
+
| `url` | no | string | HTTP(S) URL for remote files; used for HEAD content-type detection. Default: use uri when local only |
|
|
312
|
+
|
|
313
|
+
No additional properties.
|
|
314
|
+
|
|
315
|
+
## FileViewerButtonStyle
|
|
316
|
+
|
|
317
|
+
Container style overrides applied to a wrapping View — token keys only, e.g. { marginTop: "space200", alignSelf: "center" }
|
|
318
|
+
|
|
319
|
+
### Fields
|
|
320
|
+
|
|
321
|
+
| Name | Required | Type | Description |
|
|
322
|
+
|---|---:|---|---|
|
|
323
|
+
| `alignItems` | no | [HStackAlign](./definitions.md#hstackalign) | Align children along the cross axis. Default: stretch |
|
|
324
|
+
| `alignSelf` | no | [HStackAlignSelf](./definitions.md#hstackalignself) | Override parent alignItems for this element. Default: auto |
|
|
325
|
+
| `backgroundColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Background color token (e.g. colorSurface, colorPrimaryContainer) |
|
|
326
|
+
| `borderBottomColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Bottom border color token |
|
|
327
|
+
| `borderBottomLeftRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Bottom-left border radius — shape corner token |
|
|
328
|
+
| `borderBottomRightRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Bottom-right border radius — shape corner token |
|
|
329
|
+
| `borderBottomWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Bottom border width — shape border width token |
|
|
330
|
+
| `borderColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Border color token on all sides (e.g. colorBorder) |
|
|
331
|
+
| `borderLeftColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Left border color token |
|
|
332
|
+
| `borderLeftWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Left border width — shape border width token |
|
|
333
|
+
| `borderRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg) |
|
|
334
|
+
| `borderRightColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Right border color token |
|
|
335
|
+
| `borderRightWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Right border width — shape border width token |
|
|
336
|
+
| `borderTopColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Top border color token |
|
|
337
|
+
| `borderTopLeftRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Top-left border radius — shape corner token |
|
|
338
|
+
| `borderTopRightRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Top-right border radius — shape corner token |
|
|
339
|
+
| `borderTopWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Top border width — shape border width token |
|
|
340
|
+
| `borderWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd) |
|
|
341
|
+
| `bottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom offset — space token |
|
|
342
|
+
| `columnGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Column gap between children — space token |
|
|
343
|
+
| `display` | no | [ButtonStyleDisplay](./definitions.md#buttonstyledisplay) | Display type. Default: flex |
|
|
344
|
+
| `flex` | no | number | Flex grow/shrink factor |
|
|
345
|
+
| `flexBasis` | no | unknown | Initial main size — size token or percentage |
|
|
346
|
+
| `flexDirection` | no | [ButtonStyleFlexDirection](./definitions.md#buttonstyleflexdirection) | Main axis direction. Default: column |
|
|
347
|
+
| `flexGrow` | no | number | Flex grow factor |
|
|
348
|
+
| `flexShrink` | no | number | Flex shrink factor |
|
|
349
|
+
| `flexWrap` | no | [HStackWrap](./definitions.md#hstackwrap) | Whether children wrap to next line. Default: nowrap |
|
|
350
|
+
| `gap` | no | [HStackBottom](./definitions.md#hstackbottom) | Gap between children — space token |
|
|
351
|
+
| `height` | no | unknown | Height — size token or percentage (e.g. "50%") |
|
|
352
|
+
| `justifyContent` | no | [HStackJustify](./definitions.md#hstackjustify) | Align children along the main axis. Default: flex-start |
|
|
353
|
+
| `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
|
|
354
|
+
| `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
|
|
355
|
+
| `marginBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom margin — space token |
|
|
356
|
+
| `marginHorizontal` | no | [HStackBottom](./definitions.md#hstackbottom) | Left and right margin — space token |
|
|
357
|
+
| `marginLeft` | no | [HStackBottom](./definitions.md#hstackbottom) | Left margin — space token |
|
|
358
|
+
| `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
|
|
359
|
+
| `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
|
|
360
|
+
| `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 |
|
|
365
|
+
| `opacity` | no | [ButtonStyleOpacity](./definitions.md#buttonstyleopacity) | Opacity token (e.g. opacity0, opacity50, opacity100) |
|
|
366
|
+
| `overflow` | no | [HStackOverflow](./definitions.md#hstackoverflow) | How content overflow is handled. Default: visible |
|
|
367
|
+
| `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
|
|
368
|
+
| `paddingBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom padding — space token |
|
|
369
|
+
| `paddingHorizontal` | no | [HStackBottom](./definitions.md#hstackbottom) | Left and right padding — space token |
|
|
370
|
+
| `paddingLeft` | no | [HStackBottom](./definitions.md#hstackbottom) | Left padding — space token |
|
|
371
|
+
| `paddingRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right padding — space token |
|
|
372
|
+
| `paddingTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top padding — space token |
|
|
373
|
+
| `paddingVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom padding — space token |
|
|
374
|
+
| `position` | no | [HStackPosition](./definitions.md#hstackposition) | Positioning type. Default: relative |
|
|
375
|
+
| `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
|
|
376
|
+
| `rowGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Row gap between children — space token |
|
|
377
|
+
| `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%") |
|
|
379
|
+
| `zIndex` | no | number | Stack order |
|
|
380
|
+
|
|
381
|
+
No additional properties.
|
|
382
|
+
|
|
383
|
+
## FileViewerPressableFile
|
|
384
|
+
|
|
385
|
+
Target file; provide url for remote assets or uri for on-device files
|
|
386
|
+
|
|
387
|
+
### Fields
|
|
388
|
+
|
|
389
|
+
| Name | Required | Type | Description |
|
|
390
|
+
|---|---:|---|---|
|
|
391
|
+
| `name` | no | string | Original file name for display |
|
|
392
|
+
| `base64` | no | string | Optional base64 payload when the spec embeds small assets |
|
|
393
|
+
| `id` | no | string | Stable file id when available |
|
|
394
|
+
| `previewUri` | no | string | Optional preview image URI for thumbnails |
|
|
395
|
+
| `size` | no | number | Size in bytes |
|
|
396
|
+
| `type` | no | string | MIME or logical type (e.g. photo, video) — helps choose viewer when HEAD is unavailable |
|
|
397
|
+
| `uri` | no | string | Local content URI (e.g. from document picker). Copied to url when url is omitted |
|
|
398
|
+
| `url` | no | string | HTTP(S) URL for remote files; used for HEAD content-type detection. Default: use uri when local only |
|
|
399
|
+
|
|
400
|
+
No additional properties.
|
|
401
|
+
|
|
402
|
+
## FileViewerPressableStyle
|
|
403
|
+
|
|
404
|
+
Container style overrides — token keys only, e.g. { padding: "space200", backgroundColor: "colorSurface" }
|
|
405
|
+
|
|
406
|
+
### Fields
|
|
407
|
+
|
|
408
|
+
| Name | Required | Type | Description |
|
|
409
|
+
|---|---:|---|---|
|
|
410
|
+
| `alignItems` | no | [HStackAlign](./definitions.md#hstackalign) | Align children along the cross axis. Default: stretch |
|
|
411
|
+
| `alignSelf` | no | [HStackAlignSelf](./definitions.md#hstackalignself) | Override parent alignItems for this element. Default: auto |
|
|
412
|
+
| `backgroundColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Background color token (e.g. colorSurface, colorPrimaryContainer) |
|
|
413
|
+
| `borderBottomColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Bottom border color token |
|
|
414
|
+
| `borderBottomLeftRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Bottom-left border radius — shape corner token |
|
|
415
|
+
| `borderBottomRightRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Bottom-right border radius — shape corner token |
|
|
416
|
+
| `borderBottomWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Bottom border width — shape border width token |
|
|
417
|
+
| `borderColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Border color token on all sides (e.g. colorBorder) |
|
|
418
|
+
| `borderLeftColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Left border color token |
|
|
419
|
+
| `borderLeftWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Left border width — shape border width token |
|
|
420
|
+
| `borderRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg) |
|
|
421
|
+
| `borderRightColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Right border color token |
|
|
422
|
+
| `borderRightWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Right border width — shape border width token |
|
|
423
|
+
| `borderTopColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Top border color token |
|
|
424
|
+
| `borderTopLeftRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Top-left border radius — shape corner token |
|
|
425
|
+
| `borderTopRightRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Top-right border radius — shape corner token |
|
|
426
|
+
| `borderTopWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Top border width — shape border width token |
|
|
427
|
+
| `borderWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd) |
|
|
428
|
+
| `bottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom offset — space token |
|
|
429
|
+
| `columnGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Column gap between children — space token |
|
|
430
|
+
| `display` | no | [ButtonStyleDisplay](./definitions.md#buttonstyledisplay) | Display type. Default: flex |
|
|
431
|
+
| `flex` | no | number | Flex grow/shrink factor |
|
|
432
|
+
| `flexBasis` | no | unknown | Initial main size — size token or percentage |
|
|
433
|
+
| `flexDirection` | no | [ButtonStyleFlexDirection](./definitions.md#buttonstyleflexdirection) | Main axis direction. Default: column |
|
|
434
|
+
| `flexGrow` | no | number | Flex grow factor |
|
|
435
|
+
| `flexShrink` | no | number | Flex shrink factor |
|
|
436
|
+
| `flexWrap` | no | [HStackWrap](./definitions.md#hstackwrap) | Whether children wrap to next line. Default: nowrap |
|
|
437
|
+
| `gap` | no | [HStackBottom](./definitions.md#hstackbottom) | Gap between children — space token |
|
|
438
|
+
| `height` | no | unknown | Height — size token or percentage (e.g. "50%") |
|
|
439
|
+
| `justifyContent` | no | [HStackJustify](./definitions.md#hstackjustify) | Align children along the main axis. Default: flex-start |
|
|
440
|
+
| `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
|
|
441
|
+
| `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
|
|
442
|
+
| `marginBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom margin — space token |
|
|
443
|
+
| `marginHorizontal` | no | [HStackBottom](./definitions.md#hstackbottom) | Left and right margin — space token |
|
|
444
|
+
| `marginLeft` | no | [HStackBottom](./definitions.md#hstackbottom) | Left margin — space token |
|
|
445
|
+
| `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
|
|
446
|
+
| `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
|
|
447
|
+
| `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 |
|
|
452
|
+
| `opacity` | no | [ButtonStyleOpacity](./definitions.md#buttonstyleopacity) | Opacity token (e.g. opacity0, opacity50, opacity100) |
|
|
453
|
+
| `overflow` | no | [HStackOverflow](./definitions.md#hstackoverflow) | How content overflow is handled. Default: visible |
|
|
454
|
+
| `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
|
|
455
|
+
| `paddingBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom padding — space token |
|
|
456
|
+
| `paddingHorizontal` | no | [HStackBottom](./definitions.md#hstackbottom) | Left and right padding — space token |
|
|
457
|
+
| `paddingLeft` | no | [HStackBottom](./definitions.md#hstackbottom) | Left padding — space token |
|
|
458
|
+
| `paddingRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right padding — space token |
|
|
459
|
+
| `paddingTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top padding — space token |
|
|
460
|
+
| `paddingVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom padding — space token |
|
|
461
|
+
| `position` | no | [HStackPosition](./definitions.md#hstackposition) | Positioning type. Default: relative |
|
|
462
|
+
| `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
|
|
463
|
+
| `rowGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Row gap between children — space token |
|
|
464
|
+
| `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%") |
|
|
466
|
+
| `zIndex` | no | number | Stack order |
|
|
467
|
+
|
|
468
|
+
No additional properties.
|
|
469
|
+
|
|
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
|
+
## FormStyle
|
|
484
|
+
|
|
485
|
+
Container style overrides applied to the form wrapper — token keys only, e.g. { marginTop: "space200" }
|
|
486
|
+
|
|
487
|
+
### Fields
|
|
488
|
+
|
|
489
|
+
| Name | Required | Type | Description |
|
|
490
|
+
|---|---:|---|---|
|
|
491
|
+
| `alignItems` | no | [HStackAlign](./definitions.md#hstackalign) | Align children along the cross axis. Default: stretch |
|
|
492
|
+
| `alignSelf` | no | [HStackAlignSelf](./definitions.md#hstackalignself) | Override parent alignItems for this element. Default: auto |
|
|
493
|
+
| `backgroundColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Background color token (e.g. colorSurface, colorPrimaryContainer) |
|
|
494
|
+
| `borderBottomColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Bottom border color token |
|
|
495
|
+
| `borderBottomLeftRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Bottom-left border radius — shape corner token |
|
|
496
|
+
| `borderBottomRightRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Bottom-right border radius — shape corner token |
|
|
497
|
+
| `borderBottomWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Bottom border width — shape border width token |
|
|
498
|
+
| `borderColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Border color token on all sides (e.g. colorBorder) |
|
|
499
|
+
| `borderLeftColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Left border color token |
|
|
500
|
+
| `borderLeftWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Left border width — shape border width token |
|
|
501
|
+
| `borderRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg) |
|
|
502
|
+
| `borderRightColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Right border color token |
|
|
503
|
+
| `borderRightWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Right border width — shape border width token |
|
|
504
|
+
| `borderTopColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Top border color token |
|
|
505
|
+
| `borderTopLeftRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Top-left border radius — shape corner token |
|
|
506
|
+
| `borderTopRightRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Top-right border radius — shape corner token |
|
|
507
|
+
| `borderTopWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Top border width — shape border width token |
|
|
508
|
+
| `borderWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd) |
|
|
509
|
+
| `bottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom offset — space token |
|
|
510
|
+
| `columnGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Column gap between children — space token |
|
|
511
|
+
| `display` | no | [ButtonStyleDisplay](./definitions.md#buttonstyledisplay) | Display type. Default: flex |
|
|
512
|
+
| `flex` | no | number | Flex grow/shrink factor |
|
|
513
|
+
| `flexBasis` | no | unknown | Initial main size — size token or percentage |
|
|
514
|
+
| `flexDirection` | no | [ButtonStyleFlexDirection](./definitions.md#buttonstyleflexdirection) | Main axis direction. Default: column |
|
|
515
|
+
| `flexGrow` | no | number | Flex grow factor |
|
|
516
|
+
| `flexShrink` | no | number | Flex shrink factor |
|
|
517
|
+
| `flexWrap` | no | [HStackWrap](./definitions.md#hstackwrap) | Whether children wrap to next line. Default: nowrap |
|
|
518
|
+
| `gap` | no | [HStackBottom](./definitions.md#hstackbottom) | Gap between children — space token |
|
|
519
|
+
| `height` | no | unknown | Height — size token or percentage (e.g. "50%") |
|
|
520
|
+
| `justifyContent` | no | [HStackJustify](./definitions.md#hstackjustify) | Align children along the main axis. Default: flex-start |
|
|
521
|
+
| `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
|
|
522
|
+
| `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
|
|
523
|
+
| `marginBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom margin — space token |
|
|
524
|
+
| `marginHorizontal` | no | [HStackBottom](./definitions.md#hstackbottom) | Left and right margin — space token |
|
|
525
|
+
| `marginLeft` | no | [HStackBottom](./definitions.md#hstackbottom) | Left margin — space token |
|
|
526
|
+
| `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
|
|
527
|
+
| `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
|
|
528
|
+
| `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 |
|
|
533
|
+
| `opacity` | no | [ButtonStyleOpacity](./definitions.md#buttonstyleopacity) | Opacity token (e.g. opacity0, opacity50, opacity100) |
|
|
534
|
+
| `overflow` | no | [HStackOverflow](./definitions.md#hstackoverflow) | How content overflow is handled. Default: visible |
|
|
535
|
+
| `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
|
|
536
|
+
| `paddingBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom padding — space token |
|
|
537
|
+
| `paddingHorizontal` | no | [HStackBottom](./definitions.md#hstackbottom) | Left and right padding — space token |
|
|
538
|
+
| `paddingLeft` | no | [HStackBottom](./definitions.md#hstackbottom) | Left padding — space token |
|
|
539
|
+
| `paddingRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right padding — space token |
|
|
540
|
+
| `paddingTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top padding — space token |
|
|
541
|
+
| `paddingVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom padding — space token |
|
|
542
|
+
| `position` | no | [HStackPosition](./definitions.md#hstackposition) | Positioning type. Default: relative |
|
|
543
|
+
| `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
|
|
544
|
+
| `rowGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Row gap between children — space token |
|
|
545
|
+
| `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%") |
|
|
547
|
+
| `zIndex` | no | number | Stack order |
|
|
548
|
+
|
|
549
|
+
No additional properties.
|
|
550
|
+
|
|
551
|
+
## HeaderElement
|
|
552
|
+
|
|
553
|
+
### Fields
|
|
554
|
+
|
|
555
|
+
_No fields._
|
|
556
|
+
|
|
557
|
+
Additional properties: unknown.
|
|
558
|
+
|
|
559
|
+
## HeaderLeft
|
|
560
|
+
|
|
561
|
+
A json-render spec to render as the left slot of the panel header
|
|
562
|
+
|
|
563
|
+
### Fields
|
|
564
|
+
|
|
565
|
+
| Name | Required | Type | Description |
|
|
566
|
+
|---|---:|---|---|
|
|
567
|
+
| `elements` | yes | [ExpansionPanelElement](./types.md#expansionpanelelement) | |
|
|
568
|
+
| `root` | yes | string | |
|
|
569
|
+
| `state` | no | [ExpansionPanelState](./types.md#expansionpanelstate) | |
|
|
570
|
+
|
|
571
|
+
No additional properties.
|
|
572
|
+
|
|
573
|
+
## HeaderRight
|
|
574
|
+
|
|
575
|
+
A json-render spec to render as the right slot of the panel header
|
|
576
|
+
|
|
577
|
+
### Fields
|
|
578
|
+
|
|
579
|
+
| Name | Required | Type | Description |
|
|
580
|
+
|---|---:|---|---|
|
|
581
|
+
| `elements` | yes | [ExpansionPanelElement](./types.md#expansionpanelelement) | |
|
|
582
|
+
| `root` | yes | string | |
|
|
583
|
+
| `state` | no | [ExpansionPanelState](./types.md#expansionpanelstate) | |
|
|
584
|
+
|
|
585
|
+
No additional properties.
|
|
586
|
+
|
|
587
|
+
## HeaderRight2
|
|
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.
|
|
600
|
+
|
|
601
|
+
## HeaderState
|
|
602
|
+
|
|
603
|
+
### Fields
|
|
604
|
+
|
|
605
|
+
_No fields._
|
|
606
|
+
|
|
607
|
+
Additional properties: unknown.
|
|
608
|
+
|
|
609
|
+
## HeaderValue
|
|
610
|
+
|
|
611
|
+
A json-render spec to render as the header component of the ModalSheet, e.g. ModalActionHeader
|
|
612
|
+
|
|
613
|
+
### Fields
|
|
614
|
+
|
|
615
|
+
| Name | Required | Type | Description |
|
|
616
|
+
|---|---:|---|---|
|
|
617
|
+
| `elements` | yes | [ModalSheetElement](./types.md#modalsheetelement) | |
|
|
618
|
+
| `root` | yes | string | |
|
|
619
|
+
| `state` | no | [ModalSheetState](./types.md#modalsheetstate) | |
|
|
620
|
+
|
|
621
|
+
No additional properties.
|
|
622
|
+
|
|
623
|
+
## ImageStyle
|
|
624
|
+
|
|
625
|
+
Image style overrides — token keys only, e.g. { width: "size400", height: "size400", marginTop: "space200" }
|
|
626
|
+
|
|
627
|
+
### Fields
|
|
628
|
+
|
|
629
|
+
| Name | Required | Type | Description |
|
|
630
|
+
|---|---:|---|---|
|
|
631
|
+
| `alignSelf` | no | [HStackAlignSelf](./definitions.md#hstackalignself) | Override parent alignItems for this element. Default: auto |
|
|
632
|
+
| `aspectRatio` | no | number | Width-to-height aspect ratio (e.g. 1 for square) |
|
|
633
|
+
| `backgroundColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Background color token (e.g. colorSurface, colorPrimaryContainer) |
|
|
634
|
+
| `borderBottomColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Bottom border color token |
|
|
635
|
+
| `borderBottomLeftRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Bottom-left border radius — shape corner token |
|
|
636
|
+
| `borderBottomRightRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Bottom-right border radius — shape corner token |
|
|
637
|
+
| `borderBottomWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Bottom border width — shape border width token |
|
|
638
|
+
| `borderColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Border color token on all sides (e.g. colorBorder) |
|
|
639
|
+
| `borderLeftColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Left border color token |
|
|
640
|
+
| `borderLeftWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Left border width — shape border width token |
|
|
641
|
+
| `borderRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg) |
|
|
642
|
+
| `borderRightColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Right border color token |
|
|
643
|
+
| `borderRightWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Right border width — shape border width token |
|
|
644
|
+
| `borderTopColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Top border color token |
|
|
645
|
+
| `borderTopLeftRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Top-left border radius — shape corner token |
|
|
646
|
+
| `borderTopRightRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Top-right border radius — shape corner token |
|
|
647
|
+
| `borderTopWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Top border width — shape border width token |
|
|
648
|
+
| `borderWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd) |
|
|
649
|
+
| `bottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom offset — space token |
|
|
650
|
+
| `color` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Fill/tint color for SVG sources — color token (e.g. colorPrimary) |
|
|
651
|
+
| `flex` | no | number | Flex grow/shrink factor |
|
|
652
|
+
| `flexBasis` | no | unknown | Initial main size — size token or percentage |
|
|
653
|
+
| `flexGrow` | no | number | Flex grow factor |
|
|
654
|
+
| `flexShrink` | no | number | Flex shrink factor |
|
|
655
|
+
| `height` | no | unknown | Height — size token or percentage (e.g. "50%") |
|
|
656
|
+
| `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
|
|
657
|
+
| `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
|
|
658
|
+
| `marginBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom margin — space token |
|
|
659
|
+
| `marginHorizontal` | no | [HStackBottom](./definitions.md#hstackbottom) | Left and right margin — space token |
|
|
660
|
+
| `marginLeft` | no | [HStackBottom](./definitions.md#hstackbottom) | Left margin — space token |
|
|
661
|
+
| `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
|
|
662
|
+
| `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
|
|
663
|
+
| `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 |
|
|
668
|
+
| `opacity` | no | [ButtonStyleOpacity](./definitions.md#buttonstyleopacity) | Opacity token (e.g. opacity0, opacity50, opacity100) |
|
|
669
|
+
| `overflow` | no | [ImageStyleOverflow](./definitions.md#imagestyleoverflow) | How content overflow is handled. Default: visible |
|
|
670
|
+
| `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
|
|
671
|
+
| `paddingBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom padding — space token |
|
|
672
|
+
| `paddingHorizontal` | no | [HStackBottom](./definitions.md#hstackbottom) | Left and right padding — space token |
|
|
673
|
+
| `paddingLeft` | no | [HStackBottom](./definitions.md#hstackbottom) | Left padding — space token |
|
|
674
|
+
| `paddingRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right padding — space token |
|
|
675
|
+
| `paddingTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top padding — space token |
|
|
676
|
+
| `paddingVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom padding — space token |
|
|
677
|
+
| `position` | no | [HStackPosition](./definitions.md#hstackposition) | Positioning type. Default: relative |
|
|
678
|
+
| `resizeMode` | no | [ImageStyleResizeMode](./definitions.md#imagestyleresizemode) | How the image scales within its bounds. Default: cover |
|
|
679
|
+
| `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
|
|
680
|
+
| `tintColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Image tint color token (e.g. colorOnSurface) |
|
|
681
|
+
| `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%") |
|
|
683
|
+
| `zIndex` | no | number | Stack order |
|
|
684
|
+
|
|
685
|
+
No additional properties.
|
|
686
|
+
|
|
687
|
+
## InputTextArg
|
|
688
|
+
|
|
689
|
+
### Fields
|
|
690
|
+
|
|
691
|
+
_No fields._
|
|
692
|
+
|
|
693
|
+
Additional properties: unknown.
|
|
694
|
+
|
|
695
|
+
## InputTextCheck
|
|
696
|
+
|
|
697
|
+
### Fields
|
|
698
|
+
|
|
699
|
+
| Name | Required | Type | Description |
|
|
700
|
+
|---|---:|---|---|
|
|
701
|
+
| `args` | no | [InputTextArg](./types.md#inputtextarg) | |
|
|
702
|
+
| `message` | yes | string | |
|
|
703
|
+
| `type` | yes | string | |
|
|
704
|
+
|
|
705
|
+
No additional properties.
|
|
706
|
+
|
|
707
|
+
## Item
|
|
708
|
+
|
|
709
|
+
### Fields
|
|
710
|
+
|
|
711
|
+
| Name | Required | Type | Description |
|
|
712
|
+
|---|---:|---|---|
|
|
713
|
+
| `badge` | no | string | Badge text shown on the tab |
|
|
714
|
+
| `icon` | no | string | Pebble icon name shown on the tab |
|
|
715
|
+
| `id` | yes | string | Unique tab identifier — written to state on change |
|
|
716
|
+
| `title` | yes | string | Tab label text |
|
|
717
|
+
|
|
718
|
+
No additional properties.
|
|
719
|
+
|
|
720
|
+
## Left
|
|
721
|
+
|
|
722
|
+
Left action: provide title for text button or iconType for icon button
|
|
723
|
+
|
|
724
|
+
### Fields
|
|
725
|
+
|
|
726
|
+
| Name | Required | Type | Description |
|
|
727
|
+
|---|---:|---|---|
|
|
728
|
+
| `iconType` | no | [ButtonLeftIcon](./definitions.md#buttonlefticon) | Pebble icon name to use as the action button |
|
|
729
|
+
| `title` | no | string | Text label for the action button |
|
|
730
|
+
|
|
731
|
+
No additional properties.
|
|
732
|
+
|
|
733
|
+
## Lh
|
|
734
|
+
|
|
735
|
+
A json-render spec to render as the prefix (left-hand side) of the ObjectItem, e.g. an Avatar or Icon
|
|
736
|
+
|
|
737
|
+
### Fields
|
|
738
|
+
|
|
739
|
+
| Name | Required | Type | Description |
|
|
740
|
+
|---|---:|---|---|
|
|
741
|
+
| `elements` | yes | [ObjectItemElement](./types.md#objectitemelement) | |
|
|
742
|
+
| `root` | yes | string | |
|
|
743
|
+
| `state` | no | [ObjectItemState](./types.md#objectitemstate) | |
|
|
744
|
+
|
|
745
|
+
No additional properties.
|
|
746
|
+
|
|
747
|
+
## ListItemElement
|
|
748
|
+
|
|
749
|
+
### Fields
|
|
750
|
+
|
|
751
|
+
_No fields._
|
|
752
|
+
|
|
753
|
+
Additional properties: unknown.
|
|
754
|
+
|
|
755
|
+
## ListItemRight
|
|
756
|
+
|
|
757
|
+
A json-render spec to render on the right side of the ListItem, e.g. a Badge or Label
|
|
758
|
+
|
|
759
|
+
### Fields
|
|
760
|
+
|
|
761
|
+
| Name | Required | Type | Description |
|
|
762
|
+
|---|---:|---|---|
|
|
763
|
+
| `elements` | yes | [ListItemElement](./types.md#listitemelement) | |
|
|
764
|
+
| `root` | yes | string | |
|
|
765
|
+
| `state` | no | [ListItemState](./types.md#listitemstate) | |
|
|
766
|
+
|
|
767
|
+
No additional properties.
|
|
768
|
+
|
|
769
|
+
## ListItemState
|
|
770
|
+
|
|
771
|
+
### Fields
|
|
772
|
+
|
|
773
|
+
_No fields._
|
|
774
|
+
|
|
775
|
+
Additional properties: unknown.
|
|
776
|
+
|
|
777
|
+
## Meta
|
|
778
|
+
|
|
779
|
+
A json-render spec to render as meta content beside the widget title
|
|
780
|
+
|
|
781
|
+
### Fields
|
|
782
|
+
|
|
783
|
+
| Name | Required | Type | Description |
|
|
784
|
+
|---|---:|---|---|
|
|
785
|
+
| `elements` | yes | [WidgetElement](./types.md#widgetelement) | |
|
|
786
|
+
| `root` | yes | string | |
|
|
787
|
+
| `state` | no | [WidgetState](./types.md#widgetstate) | |
|
|
788
|
+
|
|
789
|
+
No additional properties.
|
|
790
|
+
|
|
791
|
+
## ModalActionHeaderRight
|
|
792
|
+
|
|
793
|
+
Right action: provide title for text button or iconType for icon button
|
|
794
|
+
|
|
795
|
+
### Fields
|
|
796
|
+
|
|
797
|
+
| Name | Required | Type | Description |
|
|
798
|
+
|---|---:|---|---|
|
|
799
|
+
| `iconType` | no | [ButtonLeftIcon](./definitions.md#buttonlefticon) | Pebble icon name to use as the action button |
|
|
800
|
+
| `title` | no | string | Text label for the action button |
|
|
801
|
+
|
|
802
|
+
No additional properties.
|
|
803
|
+
|
|
804
|
+
## ModalSheetElement
|
|
805
|
+
|
|
806
|
+
### Fields
|
|
807
|
+
|
|
808
|
+
_No fields._
|
|
809
|
+
|
|
810
|
+
Additional properties: unknown.
|
|
811
|
+
|
|
812
|
+
## ModalSheetState
|
|
813
|
+
|
|
814
|
+
### Fields
|
|
815
|
+
|
|
816
|
+
_No fields._
|
|
817
|
+
|
|
818
|
+
Additional properties: unknown.
|
|
819
|
+
|
|
820
|
+
## NoticePrimaryAction
|
|
821
|
+
|
|
822
|
+
Primary action button — wire to `primaryPress` event
|
|
823
|
+
|
|
824
|
+
### Fields
|
|
825
|
+
|
|
826
|
+
| Name | Required | Type | Description |
|
|
827
|
+
|---|---:|---|---|
|
|
828
|
+
| `disabled` | no | boolean | Disables this action button |
|
|
829
|
+
| `title` | yes | string | Button label text for this action |
|
|
830
|
+
|
|
831
|
+
No additional properties.
|
|
832
|
+
|
|
833
|
+
## NoticeSecondaryAction
|
|
834
|
+
|
|
835
|
+
Secondary action button — wire to `secondaryPress` event
|
|
836
|
+
|
|
837
|
+
### Fields
|
|
838
|
+
|
|
839
|
+
| Name | Required | Type | Description |
|
|
840
|
+
|---|---:|---|---|
|
|
841
|
+
| `disabled` | no | boolean | Disables this action button |
|
|
842
|
+
| `title` | yes | string | Button label text for this action |
|
|
843
|
+
|
|
844
|
+
No additional properties.
|
|
845
|
+
|
|
846
|
+
## NumberArg
|
|
847
|
+
|
|
848
|
+
### Fields
|
|
849
|
+
|
|
850
|
+
_No fields._
|
|
851
|
+
|
|
852
|
+
Additional properties: unknown.
|
|
853
|
+
|
|
854
|
+
## NumberCheck
|
|
855
|
+
|
|
856
|
+
### Fields
|
|
857
|
+
|
|
858
|
+
| Name | Required | Type | Description |
|
|
859
|
+
|---|---:|---|---|
|
|
860
|
+
| `args` | no | [NumberArg](./types.md#numberarg) | |
|
|
861
|
+
| `message` | yes | string | |
|
|
862
|
+
| `type` | yes | string | |
|
|
863
|
+
|
|
864
|
+
No additional properties.
|
|
865
|
+
|
|
866
|
+
## ObjectItemElement
|
|
867
|
+
|
|
868
|
+
### Fields
|
|
869
|
+
|
|
870
|
+
_No fields._
|
|
871
|
+
|
|
872
|
+
Additional properties: unknown.
|
|
873
|
+
|
|
874
|
+
## ObjectItemState
|
|
875
|
+
|
|
876
|
+
### Fields
|
|
877
|
+
|
|
878
|
+
_No fields._
|
|
879
|
+
|
|
880
|
+
Additional properties: unknown.
|
|
881
|
+
|
|
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
|
+
## PasswordArg
|
|
893
|
+
|
|
894
|
+
### Fields
|
|
895
|
+
|
|
896
|
+
_No fields._
|
|
897
|
+
|
|
898
|
+
Additional properties: unknown.
|
|
899
|
+
|
|
900
|
+
## PasswordCheck
|
|
901
|
+
|
|
902
|
+
### Fields
|
|
903
|
+
|
|
904
|
+
| Name | Required | Type | Description |
|
|
905
|
+
|---|---:|---|---|
|
|
906
|
+
| `args` | no | [PasswordArg](./types.md#passwordarg) | |
|
|
907
|
+
| `message` | yes | string | |
|
|
908
|
+
| `type` | yes | string | |
|
|
909
|
+
|
|
910
|
+
No additional properties.
|
|
911
|
+
|
|
912
|
+
## PercentageArg
|
|
913
|
+
|
|
914
|
+
### Fields
|
|
915
|
+
|
|
916
|
+
_No fields._
|
|
917
|
+
|
|
918
|
+
Additional properties: unknown.
|
|
919
|
+
|
|
920
|
+
## PercentageCheck
|
|
921
|
+
|
|
922
|
+
### Fields
|
|
923
|
+
|
|
924
|
+
| Name | Required | Type | Description |
|
|
925
|
+
|---|---:|---|---|
|
|
926
|
+
| `args` | no | [PercentageArg](./types.md#percentagearg) | |
|
|
927
|
+
| `message` | yes | string | |
|
|
928
|
+
| `type` | yes | string | |
|
|
929
|
+
|
|
930
|
+
No additional properties.
|
|
931
|
+
|
|
932
|
+
## PhoneArg
|
|
933
|
+
|
|
934
|
+
### Fields
|
|
935
|
+
|
|
936
|
+
_No fields._
|
|
937
|
+
|
|
938
|
+
Additional properties: unknown.
|
|
939
|
+
|
|
940
|
+
## PhoneCheck
|
|
941
|
+
|
|
942
|
+
### Fields
|
|
943
|
+
|
|
944
|
+
| Name | Required | Type | Description |
|
|
945
|
+
|---|---:|---|---|
|
|
946
|
+
| `args` | no | [PhoneArg](./types.md#phonearg) | |
|
|
947
|
+
| `message` | yes | string | |
|
|
948
|
+
| `type` | yes | string | |
|
|
949
|
+
|
|
950
|
+
No additional properties.
|
|
951
|
+
|
|
952
|
+
## Prefix
|
|
953
|
+
|
|
954
|
+
A json-render spec to render as the prefix (left) element of the ListItem, e.g. an Avatar or Icon
|
|
955
|
+
|
|
956
|
+
### Fields
|
|
957
|
+
|
|
958
|
+
| Name | Required | Type | Description |
|
|
959
|
+
|---|---:|---|---|
|
|
960
|
+
| `elements` | yes | [ListItemElement](./types.md#listitemelement) | |
|
|
961
|
+
| `root` | yes | string | |
|
|
962
|
+
| `state` | no | [ListItemState](./types.md#listitemstate) | |
|
|
963
|
+
|
|
964
|
+
No additional properties.
|
|
965
|
+
|
|
966
|
+
## PressableProp
|
|
967
|
+
|
|
968
|
+
Optional Pressable props (underlay, disabled, etc.). `onPress` is owned by the file viewer; put visible UI in children.
|
|
969
|
+
|
|
970
|
+
### Fields
|
|
971
|
+
|
|
972
|
+
| Name | Required | Type | Description |
|
|
973
|
+
|---|---:|---|---|
|
|
974
|
+
| `disabled` | no | boolean | Disables press interaction |
|
|
975
|
+
| `enableScaleAnimation` | no | boolean | Enables scale-down animation on press. Default: false |
|
|
976
|
+
| `haptic` | no | [PressableHaptic](./definitions.md#pressablehaptic) | Haptic feedback token to trigger on press (e.g. hapticControlLow, hapticControlHigh) |
|
|
977
|
+
| `style` | no | [FileViewerPressableStyle](./types.md#fileviewerpressablestyle) | Container style overrides — token keys only, e.g. { padding: "space200", backgroundColor: "colorSurface" } |
|
|
978
|
+
| `testID` | no | string | Sets testid on Pressable (used for testing purposes) |
|
|
979
|
+
| `underlayAppearance` | no | [ListItemUnderlayAppearance](./definitions.md#listitemunderlayappearance) | Active layer appearance when pressed. Default: base |
|
|
980
|
+
|
|
981
|
+
No additional properties.
|
|
982
|
+
|
|
983
|
+
## PressableStyle
|
|
984
|
+
|
|
985
|
+
Container style overrides — token keys only, e.g. { padding: "space200", backgroundColor: "colorSurface" }
|
|
986
|
+
|
|
987
|
+
### Fields
|
|
988
|
+
|
|
989
|
+
| Name | Required | Type | Description |
|
|
990
|
+
|---|---:|---|---|
|
|
991
|
+
| `alignItems` | no | [HStackAlign](./definitions.md#hstackalign) | Align children along the cross axis. Default: stretch |
|
|
992
|
+
| `alignSelf` | no | [HStackAlignSelf](./definitions.md#hstackalignself) | Override parent alignItems for this element. Default: auto |
|
|
993
|
+
| `backgroundColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Background color token (e.g. colorSurface, colorPrimaryContainer) |
|
|
994
|
+
| `borderBottomColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Bottom border color token |
|
|
995
|
+
| `borderBottomLeftRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Bottom-left border radius — shape corner token |
|
|
996
|
+
| `borderBottomRightRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Bottom-right border radius — shape corner token |
|
|
997
|
+
| `borderBottomWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Bottom border width — shape border width token |
|
|
998
|
+
| `borderColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Border color token on all sides (e.g. colorBorder) |
|
|
999
|
+
| `borderLeftColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Left border color token |
|
|
1000
|
+
| `borderLeftWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Left border width — shape border width token |
|
|
1001
|
+
| `borderRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg) |
|
|
1002
|
+
| `borderRightColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Right border color token |
|
|
1003
|
+
| `borderRightWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Right border width — shape border width token |
|
|
1004
|
+
| `borderTopColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Top border color token |
|
|
1005
|
+
| `borderTopLeftRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Top-left border radius — shape corner token |
|
|
1006
|
+
| `borderTopRightRadius` | no | [HStackRadius](./definitions.md#hstackradius) | Top-right border radius — shape corner token |
|
|
1007
|
+
| `borderTopWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Top border width — shape border width token |
|
|
1008
|
+
| `borderWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd) |
|
|
1009
|
+
| `bottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom offset — space token |
|
|
1010
|
+
| `columnGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Column gap between children — space token |
|
|
1011
|
+
| `display` | no | [ButtonStyleDisplay](./definitions.md#buttonstyledisplay) | Display type. Default: flex |
|
|
1012
|
+
| `flex` | no | number | Flex grow/shrink factor |
|
|
1013
|
+
| `flexBasis` | no | unknown | Initial main size — size token or percentage |
|
|
1014
|
+
| `flexDirection` | no | [ButtonStyleFlexDirection](./definitions.md#buttonstyleflexdirection) | Main axis direction. Default: column |
|
|
1015
|
+
| `flexGrow` | no | number | Flex grow factor |
|
|
1016
|
+
| `flexShrink` | no | number | Flex shrink factor |
|
|
1017
|
+
| `flexWrap` | no | [HStackWrap](./definitions.md#hstackwrap) | Whether children wrap to next line. Default: nowrap |
|
|
1018
|
+
| `gap` | no | [HStackBottom](./definitions.md#hstackbottom) | Gap between children — space token |
|
|
1019
|
+
| `height` | no | unknown | Height — size token or percentage (e.g. "50%") |
|
|
1020
|
+
| `justifyContent` | no | [HStackJustify](./definitions.md#hstackjustify) | Align children along the main axis. Default: flex-start |
|
|
1021
|
+
| `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
|
|
1022
|
+
| `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
|
|
1023
|
+
| `marginBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom margin — space token |
|
|
1024
|
+
| `marginHorizontal` | no | [HStackBottom](./definitions.md#hstackbottom) | Left and right margin — space token |
|
|
1025
|
+
| `marginLeft` | no | [HStackBottom](./definitions.md#hstackbottom) | Left margin — space token |
|
|
1026
|
+
| `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
|
|
1027
|
+
| `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
|
|
1028
|
+
| `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 |
|
|
1033
|
+
| `opacity` | no | [ButtonStyleOpacity](./definitions.md#buttonstyleopacity) | Opacity token (e.g. opacity0, opacity50, opacity100) |
|
|
1034
|
+
| `overflow` | no | [HStackOverflow](./definitions.md#hstackoverflow) | How content overflow is handled. Default: visible |
|
|
1035
|
+
| `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
|
|
1036
|
+
| `paddingBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom padding — space token |
|
|
1037
|
+
| `paddingHorizontal` | no | [HStackBottom](./definitions.md#hstackbottom) | Left and right padding — space token |
|
|
1038
|
+
| `paddingLeft` | no | [HStackBottom](./definitions.md#hstackbottom) | Left padding — space token |
|
|
1039
|
+
| `paddingRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right padding — space token |
|
|
1040
|
+
| `paddingTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top padding — space token |
|
|
1041
|
+
| `paddingVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom padding — space token |
|
|
1042
|
+
| `position` | no | [HStackPosition](./definitions.md#hstackposition) | Positioning type. Default: relative |
|
|
1043
|
+
| `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
|
|
1044
|
+
| `rowGap` | no | [HStackBottom](./definitions.md#hstackbottom) | Row gap between children — space token |
|
|
1045
|
+
| `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%") |
|
|
1047
|
+
| `zIndex` | no | number | Stack order |
|
|
1048
|
+
|
|
1049
|
+
No additional properties.
|
|
1050
|
+
|
|
1051
|
+
## Primary
|
|
1052
|
+
|
|
1053
|
+
### Fields
|
|
1054
|
+
|
|
1055
|
+
| Name | Required | Type | Description |
|
|
1056
|
+
|---|---:|---|---|
|
|
1057
|
+
| `disabled` | no | boolean | |
|
|
1058
|
+
| `title` | yes | string | |
|
|
1059
|
+
|
|
1060
|
+
No additional properties.
|
|
1061
|
+
|
|
1062
|
+
## RadioArg
|
|
1063
|
+
|
|
1064
|
+
### Fields
|
|
1065
|
+
|
|
1066
|
+
_No fields._
|
|
1067
|
+
|
|
1068
|
+
Additional properties: unknown.
|
|
1069
|
+
|
|
1070
|
+
## RadioCheck
|
|
1071
|
+
|
|
1072
|
+
### Fields
|
|
1073
|
+
|
|
1074
|
+
| Name | Required | Type | Description |
|
|
1075
|
+
|---|---:|---|---|
|
|
1076
|
+
| `args` | no | [RadioArg](./types.md#radioarg) | |
|
|
1077
|
+
| `message` | yes | string | |
|
|
1078
|
+
| `type` | yes | string | |
|
|
1079
|
+
|
|
1080
|
+
No additional properties.
|
|
1081
|
+
|
|
1082
|
+
## RadioGroupOption
|
|
1083
|
+
|
|
1084
|
+
### Fields
|
|
1085
|
+
|
|
1086
|
+
| Name | Required | Type | Description |
|
|
1087
|
+
|---|---:|---|---|
|
|
1088
|
+
| `disabled` | no | boolean | Disables this individual option |
|
|
1089
|
+
| `error` | no | boolean | Marks this option in error state |
|
|
1090
|
+
| `id` | yes | string | Unique identifier for this option |
|
|
1091
|
+
| `label` | no | string | Label text for this option |
|
|
1092
|
+
| `tag` | no | string | Tag text shown above the label |
|
|
1093
|
+
|
|
1094
|
+
No additional properties.
|
|
1095
|
+
|
|
1096
|
+
## Rh
|
|
1097
|
+
|
|
1098
|
+
A json-render spec to render on the right side of the ObjectItem, e.g. Label or Status elements
|
|
1099
|
+
|
|
1100
|
+
### Fields
|
|
1101
|
+
|
|
1102
|
+
| Name | Required | Type | Description |
|
|
1103
|
+
|---|---:|---|---|
|
|
1104
|
+
| `elements` | yes | [ObjectItemElement](./types.md#objectitemelement) | |
|
|
1105
|
+
| `root` | yes | string | |
|
|
1106
|
+
| `state` | no | [ObjectItemState](./types.md#objectitemstate) | |
|
|
1107
|
+
|
|
1108
|
+
No additional properties.
|
|
1109
|
+
|
|
1110
|
+
## Secondary
|
|
1111
|
+
|
|
1112
|
+
### Fields
|
|
1113
|
+
|
|
1114
|
+
| Name | Required | Type | Description |
|
|
1115
|
+
|---|---:|---|---|
|
|
1116
|
+
| `disabled` | no | boolean | |
|
|
1117
|
+
| `title` | yes | string | |
|
|
1118
|
+
|
|
1119
|
+
No additional properties.
|
|
1120
|
+
|
|
1121
|
+
## SelectChipsOption
|
|
1122
|
+
|
|
1123
|
+
### Fields
|
|
1124
|
+
|
|
1125
|
+
| Name | Required | Type | Description |
|
|
1126
|
+
|---|---:|---|---|
|
|
1127
|
+
| `id` | yes | string | |
|
|
1128
|
+
| `label` | yes | string | |
|
|
1129
|
+
|
|
1130
|
+
No additional properties.
|
|
1131
|
+
|
|
1132
|
+
## SelectOption
|
|
1133
|
+
|
|
1134
|
+
### Fields
|
|
1135
|
+
|
|
1136
|
+
| Name | Required | Type | Description |
|
|
1137
|
+
|---|---:|---|---|
|
|
1138
|
+
| `description` | no | string | Secondary description text |
|
|
1139
|
+
| `disabled` | no | boolean | Disables this individual option |
|
|
1140
|
+
| `icon` | no | string | Pebble icon name shown beside the option |
|
|
1141
|
+
| `id` | yes | string | Unique identifier for this option |
|
|
1142
|
+
| `title` | yes | string | Display text for this option |
|
|
1143
|
+
|
|
1144
|
+
No additional properties.
|
|
1145
|
+
|
|
1146
|
+
## SinArg
|
|
1147
|
+
|
|
1148
|
+
### Fields
|
|
1149
|
+
|
|
1150
|
+
_No fields._
|
|
1151
|
+
|
|
1152
|
+
Additional properties: unknown.
|
|
1153
|
+
|
|
1154
|
+
## SinCheck
|
|
1155
|
+
|
|
1156
|
+
### Fields
|
|
1157
|
+
|
|
1158
|
+
| Name | Required | Type | Description |
|
|
1159
|
+
|---|---:|---|---|
|
|
1160
|
+
| `args` | no | [SinArg](./types.md#sinarg) | |
|
|
1161
|
+
| `message` | yes | string | |
|
|
1162
|
+
| `type` | yes | string | |
|
|
1163
|
+
|
|
1164
|
+
No additional properties.
|
|
1165
|
+
|
|
1166
|
+
## SnackBarAction
|
|
1167
|
+
|
|
1168
|
+
Action button shown on the right. Emits the "action" event when pressed.
|
|
1169
|
+
|
|
1170
|
+
### Fields
|
|
1171
|
+
|
|
1172
|
+
| Name | Required | Type | Description |
|
|
1173
|
+
|---|---:|---|---|
|
|
1174
|
+
| `title` | yes | string | |
|
|
1175
|
+
|
|
1176
|
+
No additional properties.
|
|
1177
|
+
|
|
1178
|
+
## SsnArg
|
|
1179
|
+
|
|
1180
|
+
### Fields
|
|
1181
|
+
|
|
1182
|
+
_No fields._
|
|
1183
|
+
|
|
1184
|
+
Additional properties: unknown.
|
|
1185
|
+
|
|
1186
|
+
## SsnCheck
|
|
1187
|
+
|
|
1188
|
+
### Fields
|
|
1189
|
+
|
|
1190
|
+
| Name | Required | Type | Description |
|
|
1191
|
+
|---|---:|---|---|
|
|
1192
|
+
| `args` | no | [SsnArg](./types.md#ssnarg) | |
|
|
1193
|
+
| `message` | yes | string | |
|
|
1194
|
+
| `type` | yes | string | |
|
|
1195
|
+
|
|
1196
|
+
No additional properties.
|
|
1197
|
+
|
|
1198
|
+
## TextareaArg
|
|
1199
|
+
|
|
1200
|
+
### Fields
|
|
1201
|
+
|
|
1202
|
+
_No fields._
|
|
1203
|
+
|
|
1204
|
+
Additional properties: unknown.
|
|
1205
|
+
|
|
1206
|
+
## TextareaCheck
|
|
1207
|
+
|
|
1208
|
+
### Fields
|
|
1209
|
+
|
|
1210
|
+
| Name | Required | Type | Description |
|
|
1211
|
+
|---|---:|---|---|
|
|
1212
|
+
| `args` | no | [TextareaArg](./types.md#textareaarg) | |
|
|
1213
|
+
| `message` | yes | string | |
|
|
1214
|
+
| `type` | yes | string | |
|
|
1215
|
+
|
|
1216
|
+
No additional properties.
|
|
1217
|
+
|
|
1218
|
+
## WidgetAction
|
|
1219
|
+
|
|
1220
|
+
Action buttons. primary emits "primaryAction", secondary emits "secondaryAction".
|
|
1221
|
+
|
|
1222
|
+
### Fields
|
|
1223
|
+
|
|
1224
|
+
| Name | Required | Type | Description |
|
|
1225
|
+
|---|---:|---|---|
|
|
1226
|
+
| `primary` | no | [Primary](./types.md#primary) | |
|
|
1227
|
+
| `secondary` | no | [Secondary](./types.md#secondary) | |
|
|
1228
|
+
|
|
1229
|
+
No additional properties.
|
|
1230
|
+
|
|
1231
|
+
## WidgetElement
|
|
1232
|
+
|
|
1233
|
+
### Fields
|
|
1234
|
+
|
|
1235
|
+
_No fields._
|
|
1236
|
+
|
|
1237
|
+
Additional properties: unknown.
|
|
1238
|
+
|
|
1239
|
+
## WidgetState
|
|
1240
|
+
|
|
1241
|
+
### Fields
|
|
1242
|
+
|
|
1243
|
+
_No fields._
|
|
1244
|
+
|
|
1245
|
+
Additional properties: unknown.
|
|
1246
|
+
|
|
1247
|
+
## WorkEmailArg
|
|
1248
|
+
|
|
1249
|
+
### Fields
|
|
1250
|
+
|
|
1251
|
+
_No fields._
|
|
1252
|
+
|
|
1253
|
+
Additional properties: unknown.
|
|
1254
|
+
|
|
1255
|
+
## WorkEmailCheck
|
|
1256
|
+
|
|
1257
|
+
### Fields
|
|
1258
|
+
|
|
1259
|
+
| Name | Required | Type | Description |
|
|
1260
|
+
|---|---:|---|---|
|
|
1261
|
+
| `args` | no | [WorkEmailArg](./types.md#workemailarg) | |
|
|
1262
|
+
| `message` | yes | string | |
|
|
1263
|
+
| `type` | yes | string | |
|
|
1264
|
+
|
|
1265
|
+
No additional properties.
|