@rippling/pebble-sdui-mobile 0.8.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/catalogs/custom-apps/action-params.d.ts +7 -3
- package/dist/catalogs/custom-apps/actions.d.ts +2 -1
- package/dist/catalogs/custom-apps/catalog.d.ts +1 -1
- package/dist/catalogs/custom-apps/component-events.d.ts +2 -0
- package/dist/catalogs/custom-apps/component-props.d.ts +244 -96
- package/dist/catalogs/custom-apps/components.d.ts +4 -2
- 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 +655 -542
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/docs/typescript/mobile/catalogs/custom-apps/actions.md +38 -11
- package/dist/docs/typescript/mobile/catalogs/custom-apps/components.md +398 -342
- package/dist/docs/typescript/mobile/catalogs/custom-apps/computed-functions.md +17 -17
- package/dist/docs/typescript/mobile/catalogs/custom-apps/definitions.md +511 -122
- package/dist/docs/typescript/mobile/catalogs/custom-apps/readme.md +2 -2
- package/dist/docs/typescript/mobile/catalogs/custom-apps/types.md +262 -62
- package/package.json +1 -1
|
@@ -7,10 +7,10 @@ Import component builders from `@rippling/pebble-sdui-mobile/catalogs/custom-app
|
|
|
7
7
|
|
|
8
8
|
Card with icon asset, title, caption, and action buttons
|
|
9
9
|
|
|
10
|
-
Catalog key: `ActionCard`
|
|
11
|
-
Builder: `ActionCard`
|
|
12
|
-
Props type: `ActionCardProps`
|
|
13
|
-
Accepts children: no
|
|
10
|
+
Catalog key: `ActionCard`
|
|
11
|
+
Builder: `ActionCard`
|
|
12
|
+
Props type: `ActionCardProps`
|
|
13
|
+
Accepts children: no
|
|
14
14
|
Events: `primaryAction`, `secondaryAction`
|
|
15
15
|
|
|
16
16
|
### Props
|
|
@@ -26,6 +26,28 @@ Events: `primaryAction`, `secondaryAction`
|
|
|
26
26
|
|
|
27
27
|
No additional properties.
|
|
28
28
|
|
|
29
|
+
## Anchor
|
|
30
|
+
|
|
31
|
+
Inline text link that opens supported URLs
|
|
32
|
+
|
|
33
|
+
Use Anchor for inline links that open external destinations through React Native Linking. Supported URL schemes are http, https, mailto, tel, and sms. Wire the `press` event for side effects before opening, `open` for successful opens, and `error` for unsupported URLs, URLs the device cannot open, or Linking failures.
|
|
34
|
+
|
|
35
|
+
Catalog key: `Anchor`
|
|
36
|
+
Builder: `Anchor`
|
|
37
|
+
Props type: `AnchorProps`
|
|
38
|
+
Accepts children: no
|
|
39
|
+
Events: `press`, `open`, `error`
|
|
40
|
+
|
|
41
|
+
### Props
|
|
42
|
+
|
|
43
|
+
| Name | Required | Type | Description |
|
|
44
|
+
|---|---:|---|---|
|
|
45
|
+
| `children` | yes | string | Text content shown as the link |
|
|
46
|
+
| `href` | yes | string | URL to open. Supports http, https, mailto, tel, and sms schemes. |
|
|
47
|
+
| `testID` | no | string | Sets testid on Anchor (used for testing purposes) |
|
|
48
|
+
|
|
49
|
+
No additional properties.
|
|
50
|
+
|
|
29
51
|
## Avatar
|
|
30
52
|
|
|
31
53
|
Circular avatar showing a photo, icon, or initials
|
|
@@ -33,10 +55,10 @@ Circular avatar showing a photo, icon, or initials
|
|
|
33
55
|
Use `source` for a remote image URL or an icon type name. Use `title` for initials when no image is available.
|
|
34
56
|
When `onPress` is wired, the avatar becomes tappable — wire to the 'press' event.
|
|
35
57
|
|
|
36
|
-
Catalog key: `Avatar`
|
|
37
|
-
Builder: `Avatar`
|
|
38
|
-
Props type: `AvatarProps`
|
|
39
|
-
Accepts children: no
|
|
58
|
+
Catalog key: `Avatar`
|
|
59
|
+
Builder: `Avatar`
|
|
60
|
+
Props type: `AvatarProps`
|
|
61
|
+
Accepts children: no
|
|
40
62
|
Events: `press`
|
|
41
63
|
|
|
42
64
|
### Props
|
|
@@ -46,7 +68,7 @@ Events: `press`
|
|
|
46
68
|
| `contentFit` | no | [AvatarContentFit](./definitions.md#avatarcontentfit) | How the avatar image scales within its bounds |
|
|
47
69
|
| `recyclingKey` | no | string | Sets the image view to blank before loading the final image — prevents showing the previous image during recycling |
|
|
48
70
|
| `size` | no | [AvatarSize](./definitions.md#avatarsize) | Size of the avatar. Default: medium |
|
|
49
|
-
| `source` | no |
|
|
71
|
+
| `source` | no | [AvatarSource](./definitions.md#avatarsource) \| string \| [AvatarSource](./types.md#avatarsource) \| [AvatarSource](./types.md#avatarsource) | Remote photo URL or Pebble icon name to render as the avatar image |
|
|
50
72
|
| `testID` | no | string | Sets testid on Avatar (used for testing purposes) |
|
|
51
73
|
| `title` | no | string | Initials or short text shown when no source is provided (e.g. "JD" for John Doe) |
|
|
52
74
|
|
|
@@ -58,10 +80,10 @@ Overlapping row of circular avatars
|
|
|
58
80
|
|
|
59
81
|
`avatars` is an array of avatar data objects. Each item supports the same `source` and `title` props as the Avatar component.
|
|
60
82
|
|
|
61
|
-
Catalog key: `AvatarStack`
|
|
62
|
-
Builder: `AvatarStack`
|
|
63
|
-
Props type: `AvatarStackProps`
|
|
64
|
-
Accepts children: no
|
|
83
|
+
Catalog key: `AvatarStack`
|
|
84
|
+
Builder: `AvatarStack`
|
|
85
|
+
Props type: `AvatarStackProps`
|
|
86
|
+
Accepts children: no
|
|
65
87
|
Events: _none_
|
|
66
88
|
|
|
67
89
|
### Props
|
|
@@ -77,10 +99,10 @@ No additional properties.
|
|
|
77
99
|
|
|
78
100
|
Small status label with colored appearance
|
|
79
101
|
|
|
80
|
-
Catalog key: `Badge`
|
|
81
|
-
Builder: `Badge`
|
|
82
|
-
Props type: `BadgeProps`
|
|
83
|
-
Accepts children: no
|
|
102
|
+
Catalog key: `Badge`
|
|
103
|
+
Builder: `Badge`
|
|
104
|
+
Props type: `BadgeProps`
|
|
105
|
+
Accepts children: no
|
|
84
106
|
Events: _none_
|
|
85
107
|
|
|
86
108
|
### Props
|
|
@@ -99,10 +121,10 @@ Tappable button with label and configurable appearance
|
|
|
99
121
|
|
|
100
122
|
Wire `onPress` to the `press` event. Set `spinner: { $bindState: "/loading" }` to show a spinner while an async action runs. Use `style` with token keys (e.g. { marginTop: "space200", alignSelf: "center" }) to override container spacing and alignment.
|
|
101
123
|
|
|
102
|
-
Catalog key: `Button`
|
|
103
|
-
Builder: `Button`
|
|
104
|
-
Props type: `ButtonProps`
|
|
105
|
-
Accepts children: no
|
|
124
|
+
Catalog key: `Button`
|
|
125
|
+
Builder: `Button`
|
|
126
|
+
Props type: `ButtonProps`
|
|
127
|
+
Accepts children: no
|
|
106
128
|
Events: `press`
|
|
107
129
|
|
|
108
130
|
### Props
|
|
@@ -114,9 +136,9 @@ Events: `press`
|
|
|
114
136
|
| `disabled` | no | boolean | Disables the button. Default: false |
|
|
115
137
|
| `fluid` | no | boolean | If true, button stretches to full available width |
|
|
116
138
|
| `haptic` | no | boolean | Enables haptic feedback on press. Default: true for base/pill/small variants, false for text variant |
|
|
117
|
-
| `leftIcon` | no | [
|
|
139
|
+
| `leftIcon` | no | [AvatarSource](./definitions.md#avatarsource) | Pebble icon name to show on the left of the button |
|
|
118
140
|
| `outlined` | no | boolean | Shows button with outline border style |
|
|
119
|
-
| `rightIcon` | no | [
|
|
141
|
+
| `rightIcon` | no | [AvatarSource](./definitions.md#avatarsource) | Pebble icon name to show on the right of the button |
|
|
120
142
|
| `spinner` | no | boolean | Shows a loading spinner. Bind to state for async feedback. Default: false |
|
|
121
143
|
| `style` | no | [ButtonStyle](./types.md#buttonstyle) | Container style overrides applied to a wrapping View — token keys only, e.g. { marginTop: "space200", alignSelf: "center" } |
|
|
122
144
|
| `testID` | no | string | Sets testid on Button (used for testing purposes) |
|
|
@@ -130,10 +152,10 @@ Elevated container card, optionally tappable
|
|
|
130
152
|
|
|
131
153
|
Wire the `press` event to handle card tap. Set `disabled: true` to prevent press interaction. Add children to fill card body.
|
|
132
154
|
|
|
133
|
-
Catalog key: `Card`
|
|
134
|
-
Builder: `Card`
|
|
135
|
-
Props type: `CardProps`
|
|
136
|
-
Accepts children: yes
|
|
155
|
+
Catalog key: `Card`
|
|
156
|
+
Builder: `Card`
|
|
157
|
+
Props type: `CardProps`
|
|
158
|
+
Accepts children: yes
|
|
137
159
|
Events: `press`
|
|
138
160
|
|
|
139
161
|
### Props
|
|
@@ -153,10 +175,10 @@ Single checkbox toggle with label and optional validation
|
|
|
153
175
|
|
|
154
176
|
Use a single Checkbox ONLY for a standalone boolean toggle (e.g. "I agree to terms"). For 2 or more related options, use CheckboxGroup instead — it renders all options in a grouped card layout automatically. Never place multiple individual Checkbox components in a VStack or Card manually.
|
|
155
177
|
|
|
156
|
-
Catalog key: `Checkbox`
|
|
157
|
-
Builder: `Checkbox`
|
|
158
|
-
Props type: `CheckboxProps`
|
|
159
|
-
Accepts children: no
|
|
178
|
+
Catalog key: `Checkbox`
|
|
179
|
+
Builder: `Checkbox`
|
|
180
|
+
Props type: `CheckboxProps`
|
|
181
|
+
Accepts children: no
|
|
160
182
|
Events: `change`, `blur`
|
|
161
183
|
|
|
162
184
|
### Props
|
|
@@ -169,7 +191,7 @@ Events: `change`, `blur`
|
|
|
169
191
|
| `checks` | no | [CheckboxCheck](./types.md#checkboxcheck)[] | Array of {type, message, args?} validation rule objects. Requires validateOn to be set |
|
|
170
192
|
| `defaultValue` | no | boolean | Initial value for uncontrolled mode. Default: false |
|
|
171
193
|
| `disabled` | no | boolean | Disables the checkbox. Default: false |
|
|
172
|
-
| `error` | no |
|
|
194
|
+
| `error` | no | boolean \| string | Error state or error message |
|
|
173
195
|
| `haptic` | no | boolean | Enables haptic feedback on toggle. Default: true |
|
|
174
196
|
| `helperText` | no | string | Help text shown below the checkbox |
|
|
175
197
|
| `indeterminate` | no | boolean | Sets the checkbox to an indeterminate state. Default: false |
|
|
@@ -191,10 +213,10 @@ Group of checkboxes allowing multiple selections
|
|
|
191
213
|
|
|
192
214
|
Preferred over multiple individual Checkbox components. Pass all options via the `options` array (each with `id` and `label`). Wrap in a Card for visual grouping. `onChange` stores the array of selected ids to the bound state path. State shape: string[].
|
|
193
215
|
|
|
194
|
-
Catalog key: `CheckboxGroup`
|
|
195
|
-
Builder: `CheckboxGroup`
|
|
196
|
-
Props type: `CheckboxGroupProps`
|
|
197
|
-
Accepts children: no
|
|
216
|
+
Catalog key: `CheckboxGroup`
|
|
217
|
+
Builder: `CheckboxGroup`
|
|
218
|
+
Props type: `CheckboxGroupProps`
|
|
219
|
+
Accepts children: no
|
|
198
220
|
Events: `change`
|
|
199
221
|
|
|
200
222
|
### Props
|
|
@@ -203,7 +225,7 @@ Events: `change`
|
|
|
203
225
|
|---|---:|---|---|
|
|
204
226
|
| `defaultValue` | no | string[] | Initial selected ids for uncontrolled mode |
|
|
205
227
|
| `disabled` | no | boolean | Disables all options. Default: false |
|
|
206
|
-
| `error` | no |
|
|
228
|
+
| `error` | no | boolean \| string | Error state or error message shown below the group |
|
|
207
229
|
| `helperText` | no | string | Help text shown below the group |
|
|
208
230
|
| `options` | yes | [CheckboxGroupOption](./types.md#checkboxgroupoption)[] | Array of checkbox options: [{ id, label?, tag?, disabled? }] |
|
|
209
231
|
| `testID` | no | string | Sets testid on CheckboxGroup (used for testing purposes) |
|
|
@@ -217,10 +239,10 @@ Compact tag chip with optional dismiss button
|
|
|
217
239
|
|
|
218
240
|
Wire `close` event to handle chip removal. Wire `press` event for chip tap.
|
|
219
241
|
|
|
220
|
-
Catalog key: `Chip`
|
|
221
|
-
Builder: `Chip`
|
|
222
|
-
Props type: `ChipProps`
|
|
223
|
-
Accepts children: no
|
|
242
|
+
Catalog key: `Chip`
|
|
243
|
+
Builder: `Chip`
|
|
244
|
+
Props type: `ChipProps`
|
|
245
|
+
Accepts children: no
|
|
224
246
|
Events: `press`, `close`
|
|
225
247
|
|
|
226
248
|
### Props
|
|
@@ -238,10 +260,10 @@ No additional properties.
|
|
|
238
260
|
|
|
239
261
|
Condensed footer with title, logo icon, and optional action button
|
|
240
262
|
|
|
241
|
-
Catalog key: `CondensedFooter`
|
|
242
|
-
Builder: `CondensedFooter`
|
|
243
|
-
Props type: `CondensedFooterProps`
|
|
244
|
-
Accepts children: no
|
|
263
|
+
Catalog key: `CondensedFooter`
|
|
264
|
+
Builder: `CondensedFooter`
|
|
265
|
+
Props type: `CondensedFooterProps`
|
|
266
|
+
Accepts children: no
|
|
245
267
|
Events: `action`
|
|
246
268
|
|
|
247
269
|
### Props
|
|
@@ -259,10 +281,10 @@ No additional properties.
|
|
|
259
281
|
|
|
260
282
|
Condensed page header with title
|
|
261
283
|
|
|
262
|
-
Catalog key: `CondensedHeader`
|
|
263
|
-
Builder: `CondensedHeader`
|
|
264
|
-
Props type: `CondensedHeaderProps`
|
|
265
|
-
Accepts children: no
|
|
284
|
+
Catalog key: `CondensedHeader`
|
|
285
|
+
Builder: `CondensedHeader`
|
|
286
|
+
Props type: `CondensedHeaderProps`
|
|
287
|
+
Accepts children: no
|
|
266
288
|
Events: _none_
|
|
267
289
|
|
|
268
290
|
### Props
|
|
@@ -282,10 +304,10 @@ Country flag icon for a given ISO region code
|
|
|
282
304
|
|
|
283
305
|
`region` should be a valid ISO 3166-1 alpha-2 country code (e.g. "US", "GB", "IN").
|
|
284
306
|
|
|
285
|
-
Catalog key: `Country`
|
|
286
|
-
Builder: `Country`
|
|
287
|
-
Props type: `CountryProps`
|
|
288
|
-
Accepts children: no
|
|
307
|
+
Catalog key: `Country`
|
|
308
|
+
Builder: `Country`
|
|
309
|
+
Props type: `CountryProps`
|
|
310
|
+
Accepts children: no
|
|
289
311
|
Events: _none_
|
|
290
312
|
|
|
291
313
|
### Props
|
|
@@ -303,10 +325,10 @@ Currency input
|
|
|
303
325
|
|
|
304
326
|
Currency input. `onChange` stores formatted currency string in state.
|
|
305
327
|
|
|
306
|
-
Catalog key: `Currency`
|
|
307
|
-
Builder: `Currency`
|
|
308
|
-
Props type: `CurrencyProps`
|
|
309
|
-
Accepts children: no
|
|
328
|
+
Catalog key: `Currency`
|
|
329
|
+
Builder: `Currency`
|
|
330
|
+
Props type: `CurrencyProps`
|
|
331
|
+
Accepts children: no
|
|
310
332
|
Events: `change`, `blur`
|
|
311
333
|
|
|
312
334
|
### Props
|
|
@@ -319,7 +341,7 @@ Events: `change`, `blur`
|
|
|
319
341
|
| `decimalPlaces` | no | number | Number of decimal places allowed |
|
|
320
342
|
| `defaultValue` | no | string | Initial value for uncontrolled mode |
|
|
321
343
|
| `disabled` | no | boolean | Disables the input. Default: false |
|
|
322
|
-
| `error` | no |
|
|
344
|
+
| `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
|
|
323
345
|
| `helperText` | no | string | Help text shown below the input |
|
|
324
346
|
| `label` | no | string | Label shown above the input |
|
|
325
347
|
| `placeholder` | no | string | Placeholder text shown when the field is empty |
|
|
@@ -338,10 +360,10 @@ Date picker input field
|
|
|
338
360
|
|
|
339
361
|
Date picker input. onChange stores ISO date string in state. Use format prop to control output format.
|
|
340
362
|
|
|
341
|
-
Catalog key: `Date`
|
|
342
|
-
Builder: `Date`
|
|
343
|
-
Props type: `DateProps`
|
|
344
|
-
Accepts children: no
|
|
363
|
+
Catalog key: `Date`
|
|
364
|
+
Builder: `Date`
|
|
365
|
+
Props type: `DateProps`
|
|
366
|
+
Accepts children: no
|
|
345
367
|
Events: `change`, `blur`
|
|
346
368
|
|
|
347
369
|
### Props
|
|
@@ -352,7 +374,7 @@ Events: `change`, `blur`
|
|
|
352
374
|
| `clearable` | no | boolean | Shows a clear button to reset the value. Default: false |
|
|
353
375
|
| `defaultValue` | no | string | Default ISO date string for uncontrolled mode |
|
|
354
376
|
| `disabled` | no | boolean | Disables the date input. Default: false |
|
|
355
|
-
| `error` | no |
|
|
377
|
+
| `error` | no | string \| boolean | Error state or error message |
|
|
356
378
|
| `format` | no | string | Date format string e.g. "YYYY-MM-DD". Default: ISO string |
|
|
357
379
|
| `helperText` | no | string | Help text shown below the date input |
|
|
358
380
|
| `label` | yes | string | Label shown above the date input |
|
|
@@ -370,10 +392,10 @@ Date range picker with start and end date inputs
|
|
|
370
392
|
|
|
371
393
|
Date range picker. label must be [startLabel, endLabel]. onChange stores [startISO, endISO] in state.
|
|
372
394
|
|
|
373
|
-
Catalog key: `DateRange`
|
|
374
|
-
Builder: `DateRange`
|
|
375
|
-
Props type: `DateRangeProps`
|
|
376
|
-
Accepts children: no
|
|
395
|
+
Catalog key: `DateRange`
|
|
396
|
+
Builder: `DateRange`
|
|
397
|
+
Props type: `DateRangeProps`
|
|
398
|
+
Accepts children: no
|
|
377
399
|
Events: `change`
|
|
378
400
|
|
|
379
401
|
### Props
|
|
@@ -401,10 +423,10 @@ Modal date/time picker overlay
|
|
|
401
423
|
|
|
402
424
|
Modal date/time picker. Set visible:true to open. Wire "close" event to toggle visible. "change" event fires when user selects a date/time.
|
|
403
425
|
|
|
404
|
-
Catalog key: `DateTimePicker`
|
|
405
|
-
Builder: `DateTimePicker`
|
|
406
|
-
Props type: `DateTimePickerProps`
|
|
407
|
-
Accepts children: no
|
|
426
|
+
Catalog key: `DateTimePicker`
|
|
427
|
+
Builder: `DateTimePicker`
|
|
428
|
+
Props type: `DateTimePickerProps`
|
|
429
|
+
Accepts children: no
|
|
408
430
|
Events: `close`, `change`
|
|
409
431
|
|
|
410
432
|
### Props
|
|
@@ -424,10 +446,10 @@ No additional properties.
|
|
|
424
446
|
|
|
425
447
|
Sub-component of ObjectUI. Horizontal rule that separates ObjectUI sections
|
|
426
448
|
|
|
427
|
-
Catalog key: `Divider`
|
|
428
|
-
Builder: `Divider`
|
|
429
|
-
Props type: `DividerProps`
|
|
430
|
-
Accepts children: no
|
|
449
|
+
Catalog key: `Divider`
|
|
450
|
+
Builder: `Divider`
|
|
451
|
+
Props type: `DividerProps`
|
|
452
|
+
Accepts children: no
|
|
431
453
|
Events: _none_
|
|
432
454
|
|
|
433
455
|
### Props
|
|
@@ -438,16 +460,50 @@ Events: _none_
|
|
|
438
460
|
|
|
439
461
|
No additional properties.
|
|
440
462
|
|
|
463
|
+
## Email
|
|
464
|
+
|
|
465
|
+
Email text input that validates email format
|
|
466
|
+
|
|
467
|
+
Email text input that validates email format. `onChange` stores a string in state.
|
|
468
|
+
|
|
469
|
+
Catalog key: `Email`
|
|
470
|
+
Builder: `Email`
|
|
471
|
+
Props type: `EmailProps`
|
|
472
|
+
Accepts children: no
|
|
473
|
+
Events: `change`, `blur`
|
|
474
|
+
|
|
475
|
+
### Props
|
|
476
|
+
|
|
477
|
+
| Name | Required | Type | Description |
|
|
478
|
+
|---|---:|---|---|
|
|
479
|
+
| `name` | no | string | Field name identifier for form binding |
|
|
480
|
+
| `checks` | no | [EmailCheck](./types.md#emailcheck)[] | Array of {type, message, args?} validation rule objects. Requires validateOn to be set |
|
|
481
|
+
| `clearable` | no | boolean | Shows a clear button when the field has a value. Default: false |
|
|
482
|
+
| `defaultValue` | no | string | Initial value for uncontrolled mode |
|
|
483
|
+
| `disabled` | no | boolean | Disables the input. Default: false |
|
|
484
|
+
| `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
|
|
485
|
+
| `helperText` | no | string | Help text shown below the input |
|
|
486
|
+
| `label` | no | string | Label shown above the input |
|
|
487
|
+
| `placeholder` | no | string | Placeholder text shown when the field is empty |
|
|
488
|
+
| `readOnly` | no | boolean | Shows value without allowing edits. Default: false |
|
|
489
|
+
| `required` | no | boolean | Marks the field as required. Default: false |
|
|
490
|
+
| `sensitive` | no | boolean | Marks the field as sensitive (e.g. for screenshot masking) |
|
|
491
|
+
| `testID` | no | string | Sets testid on InputEmail (used for testing purposes) |
|
|
492
|
+
| `validateOn` | no | [CheckboxValidateOn](./definitions.md#checkboxvalidateon) | When to run validation checks. Requires checks to be set |
|
|
493
|
+
| `value` | no | string | Current email value — bind to state with $bindState |
|
|
494
|
+
|
|
495
|
+
No additional properties.
|
|
496
|
+
|
|
441
497
|
## ExpansionPanel
|
|
442
498
|
|
|
443
499
|
Collapsible panel with a header that toggles content visibility
|
|
444
500
|
|
|
445
501
|
The `toggle` event fires when the panel is expanded or collapsed. Use `expanded: { $bindState: "/panel/open" }` for fully controlled mode. Use `headerLeft` and `headerRight` to render content in the header slots via json-render sub-specs.
|
|
446
502
|
|
|
447
|
-
Catalog key: `ExpansionPanel`
|
|
448
|
-
Builder: `ExpansionPanel`
|
|
449
|
-
Props type: `ExpansionPanelProps`
|
|
450
|
-
Accepts children: yes
|
|
503
|
+
Catalog key: `ExpansionPanel`
|
|
504
|
+
Builder: `ExpansionPanel`
|
|
505
|
+
Props type: `ExpansionPanelProps`
|
|
506
|
+
Accepts children: yes
|
|
451
507
|
Events: `toggle`
|
|
452
508
|
|
|
453
509
|
### Props
|
|
@@ -471,10 +527,10 @@ Button that opens the in-app viewer for a given file
|
|
|
471
527
|
|
|
472
528
|
Set `file.url` or `file.uri` (or both). Optional `buttonProps` matches `Button` props except `onPress` is owned by the viewer. Wire `press` for side effects after the viewer is invoked.
|
|
473
529
|
|
|
474
|
-
Catalog key: `FileViewerButton`
|
|
475
|
-
Builder: `FileViewerButton`
|
|
476
|
-
Props type: `FileViewerButtonProps`
|
|
477
|
-
Accepts children: no
|
|
530
|
+
Catalog key: `FileViewerButton`
|
|
531
|
+
Builder: `FileViewerButton`
|
|
532
|
+
Props type: `FileViewerButtonProps`
|
|
533
|
+
Accepts children: no
|
|
478
534
|
Events: `press`
|
|
479
535
|
|
|
480
536
|
### Props
|
|
@@ -492,10 +548,10 @@ Pressable region that opens the in-app viewer for a given file
|
|
|
492
548
|
|
|
493
549
|
Set `file.url` or `file.uri`. Optional `pressableProps` matches `Pressable` props except `onPress` is owned by the viewer. Put visible content in children. Wire `press` for analytics or follow-up actions.
|
|
494
550
|
|
|
495
|
-
Catalog key: `FileViewerPressable`
|
|
496
|
-
Builder: `FileViewerPressable`
|
|
497
|
-
Props type: `FileViewerPressableProps`
|
|
498
|
-
Accepts children: yes
|
|
551
|
+
Catalog key: `FileViewerPressable`
|
|
552
|
+
Builder: `FileViewerPressable`
|
|
553
|
+
Props type: `FileViewerPressableProps`
|
|
554
|
+
Accepts children: yes
|
|
499
555
|
Events: `press`
|
|
500
556
|
|
|
501
557
|
### Props
|
|
@@ -511,10 +567,10 @@ No additional properties.
|
|
|
511
567
|
|
|
512
568
|
Page header with title, badge, and collapsible filter menu
|
|
513
569
|
|
|
514
|
-
Catalog key: `FilterHeader`
|
|
515
|
-
Builder: `FilterHeader`
|
|
516
|
-
Props type: `FilterHeaderProps`
|
|
517
|
-
Accepts children: no
|
|
570
|
+
Catalog key: `FilterHeader`
|
|
571
|
+
Builder: `FilterHeader`
|
|
572
|
+
Props type: `FilterHeaderProps`
|
|
573
|
+
Accepts children: no
|
|
518
574
|
Events: `filterMenuPress`
|
|
519
575
|
|
|
520
576
|
### Props
|
|
@@ -534,10 +590,10 @@ No additional properties.
|
|
|
534
590
|
|
|
535
591
|
Floating action button with shadow, configurable appearance, and haptic feedback
|
|
536
592
|
|
|
537
|
-
Catalog key: `FloatingButton`
|
|
538
|
-
Builder: `FloatingButton`
|
|
539
|
-
Props type: `FloatingButtonProps`
|
|
540
|
-
Accepts children: no
|
|
593
|
+
Catalog key: `FloatingButton`
|
|
594
|
+
Builder: `FloatingButton`
|
|
595
|
+
Props type: `FloatingButtonProps`
|
|
596
|
+
Accepts children: no
|
|
541
597
|
Events: `press`
|
|
542
598
|
|
|
543
599
|
### Props
|
|
@@ -564,10 +620,10 @@ Page footer with action buttons
|
|
|
564
620
|
|
|
565
621
|
actions array items: { id, title, appearance?, disabled? }. All button presses emit "action".
|
|
566
622
|
|
|
567
|
-
Catalog key: `Footer`
|
|
568
|
-
Builder: `Footer`
|
|
569
|
-
Props type: `FooterProps`
|
|
570
|
-
Accepts children: no
|
|
623
|
+
Catalog key: `Footer`
|
|
624
|
+
Builder: `Footer`
|
|
625
|
+
Props type: `FooterProps`
|
|
626
|
+
Accepts children: no
|
|
571
627
|
Events: `action`
|
|
572
628
|
|
|
573
629
|
### Props
|
|
@@ -587,10 +643,10 @@ Form container that manages validation, submission, and input layout
|
|
|
587
643
|
|
|
588
644
|
Wrap form inputs as children. "submit" event fires with validated data. Use hideSubmitButton:true when providing a custom submit button.
|
|
589
645
|
|
|
590
|
-
Catalog key: `Form`
|
|
591
|
-
Builder: `Form`
|
|
592
|
-
Props type: `FormProps`
|
|
593
|
-
Accepts children: yes
|
|
646
|
+
Catalog key: `Form`
|
|
647
|
+
Builder: `Form`
|
|
648
|
+
Props type: `FormProps`
|
|
649
|
+
Accepts children: yes
|
|
594
650
|
Events: `submit`, `valid`, `invalid`
|
|
595
651
|
|
|
596
652
|
### Props
|
|
@@ -618,10 +674,10 @@ Groups two input children side-by-side with shared validation state
|
|
|
618
674
|
|
|
619
675
|
Groups 2 input children side-by-side. Provides shared error and helper text.
|
|
620
676
|
|
|
621
|
-
Catalog key: `Group`
|
|
622
|
-
Builder: `Group`
|
|
623
|
-
Props type: `GroupProps`
|
|
624
|
-
Accepts children: yes
|
|
677
|
+
Catalog key: `Group`
|
|
678
|
+
Builder: `Group`
|
|
679
|
+
Props type: `GroupProps`
|
|
680
|
+
Accepts children: yes
|
|
625
681
|
Events: _none_
|
|
626
682
|
|
|
627
683
|
### Props
|
|
@@ -629,7 +685,7 @@ Events: _none_
|
|
|
629
685
|
| Name | Required | Type | Description |
|
|
630
686
|
|---|---:|---|---|
|
|
631
687
|
| `disabled` | no | boolean | Disables all inputs in the group. Default: false |
|
|
632
|
-
| `error` | no |
|
|
688
|
+
| `error` | no | string \| boolean | Error state or error message for the group |
|
|
633
689
|
| `helperText` | no | string | Helper text shown below the grouped inputs |
|
|
634
690
|
| `required` | no | boolean | Marks the group as required. Default: false |
|
|
635
691
|
| `testID` | no | string | Sets testid on Group (used for testing purposes) |
|
|
@@ -640,10 +696,10 @@ No additional properties.
|
|
|
640
696
|
|
|
641
697
|
Page header with title, optional subtitle and badge
|
|
642
698
|
|
|
643
|
-
Catalog key: `Header`
|
|
644
|
-
Builder: `Header`
|
|
645
|
-
Props type: `HeaderProps`
|
|
646
|
-
Accepts children: no
|
|
699
|
+
Catalog key: `Header`
|
|
700
|
+
Builder: `Header`
|
|
701
|
+
Props type: `HeaderProps`
|
|
702
|
+
Accepts children: no
|
|
647
703
|
Events: _none_
|
|
648
704
|
|
|
649
705
|
### Props
|
|
@@ -665,10 +721,10 @@ Hidden state carrier — no visible UI
|
|
|
665
721
|
|
|
666
722
|
Hidden state carrier — no visible UI. Use $bindState on value to store any JSON-serializable value in spec state.
|
|
667
723
|
|
|
668
|
-
Catalog key: `Hidden`
|
|
669
|
-
Builder: `Hidden`
|
|
670
|
-
Props type: `HiddenProps`
|
|
671
|
-
Accepts children: no
|
|
724
|
+
Catalog key: `Hidden`
|
|
725
|
+
Builder: `Hidden`
|
|
726
|
+
Props type: `HiddenProps`
|
|
727
|
+
Accepts children: no
|
|
672
728
|
Events: `change`
|
|
673
729
|
|
|
674
730
|
### Props
|
|
@@ -686,10 +742,10 @@ Horizontal flex row container
|
|
|
686
742
|
|
|
687
743
|
Lays children out horizontally. By default, HStack wraps its content (shrinks to fit children). Use `width: "sizeFull"` to stretch and fill the available width. Use `gap` for spacing, `align` for cross-axis alignment, `justify` for main-axis distribution.
|
|
688
744
|
|
|
689
|
-
Catalog key: `HStack`
|
|
690
|
-
Builder: `HStack`
|
|
691
|
-
Props type: `HStackProps`
|
|
692
|
-
Accepts children: yes
|
|
745
|
+
Catalog key: `HStack`
|
|
746
|
+
Builder: `HStack`
|
|
747
|
+
Props type: `HStackProps`
|
|
748
|
+
Accepts children: yes
|
|
693
749
|
Events: _none_
|
|
694
750
|
|
|
695
751
|
### Props
|
|
@@ -705,7 +761,7 @@ Events: _none_
|
|
|
705
761
|
| `flex` | no | number | Flex grow/shrink factor |
|
|
706
762
|
| `gap` | no | [HStackBottom](./definitions.md#hstackbottom) | Gap between children — space token |
|
|
707
763
|
| `grow` | no | number | Flex grow factor |
|
|
708
|
-
| `height` | no |
|
|
764
|
+
| `height` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Height — size token or percentage (e.g. "50%") |
|
|
709
765
|
| `justify` | no | [HStackJustify](./definitions.md#hstackjustify) | Align children along the main axis. Default: flex-start |
|
|
710
766
|
| `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
|
|
711
767
|
| `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
|
|
@@ -715,10 +771,10 @@ Events: _none_
|
|
|
715
771
|
| `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
|
|
716
772
|
| `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
|
|
717
773
|
| `marginVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom margin — space token |
|
|
718
|
-
| `maxHeight` | no |
|
|
719
|
-
| `maxWidth` | no |
|
|
720
|
-
| `minHeight` | no |
|
|
721
|
-
| `minWidth` | no |
|
|
774
|
+
| `maxHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum height — size token or percentage |
|
|
775
|
+
| `maxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width — size token or percentage |
|
|
776
|
+
| `minHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum height — size token or percentage |
|
|
777
|
+
| `minWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum width — size token or percentage |
|
|
722
778
|
| `overflow` | no | [HStackOverflow](./definitions.md#hstackoverflow) | How content overflow is handled. Default: visible |
|
|
723
779
|
| `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
|
|
724
780
|
| `paddingBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom padding — space token |
|
|
@@ -735,7 +791,7 @@ Events: _none_
|
|
|
735
791
|
| `shrink` | no | number | Flex shrink factor |
|
|
736
792
|
| `testID` | no | string | Sets testid on HStack (used for testing purposes) |
|
|
737
793
|
| `top` | no | [HStackBottom](./definitions.md#hstackbottom) | Top offset — space token |
|
|
738
|
-
| `width` | no |
|
|
794
|
+
| `width` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
|
|
739
795
|
| `wrap` | no | [HStackWrap](./definitions.md#hstackwrap) | Whether children wrap to next line. Default: nowrap |
|
|
740
796
|
| `zIndex` | no | number | Stack order |
|
|
741
797
|
|
|
@@ -747,10 +803,10 @@ Scalable vector icon from the pebble icon pack
|
|
|
747
803
|
|
|
748
804
|
`type` must be a valid pebble icon name. Wire `onPress` to the `press` event to make the icon tappable.
|
|
749
805
|
|
|
750
|
-
Catalog key: `Icon`
|
|
751
|
-
Builder: `Icon`
|
|
752
|
-
Props type: `IconProps`
|
|
753
|
-
Accepts children: no
|
|
806
|
+
Catalog key: `Icon`
|
|
807
|
+
Builder: `Icon`
|
|
808
|
+
Props type: `IconProps`
|
|
809
|
+
Accepts children: no
|
|
754
810
|
Events: `press`
|
|
755
811
|
|
|
756
812
|
### Props
|
|
@@ -771,10 +827,10 @@ Displays a raster or SVG image from a remote URL
|
|
|
771
827
|
|
|
772
828
|
Use `style` with token keys (e.g. { width: "size400", height: "size400", marginTop: "space200" }) for layout and sizing. `shapeCorner` sets preset border radius; style `borderRadius` tokens can further override corners. Use `contentFit` to control how the image scales within its bounds.
|
|
773
829
|
|
|
774
|
-
Catalog key: `Image`
|
|
775
|
-
Builder: `Image`
|
|
776
|
-
Props type: `ImageProps`
|
|
777
|
-
Accepts children: no
|
|
830
|
+
Catalog key: `Image`
|
|
831
|
+
Builder: `Image`
|
|
832
|
+
Props type: `ImageProps`
|
|
833
|
+
Accepts children: no
|
|
778
834
|
Events: _none_
|
|
779
835
|
|
|
780
836
|
### Props
|
|
@@ -783,7 +839,7 @@ Events: _none_
|
|
|
783
839
|
|---|---:|---|---|
|
|
784
840
|
| `contentFit` | no | [AvatarContentFit](./definitions.md#avatarcontentfit) | How the image scales within its bounds. Default: cover |
|
|
785
841
|
| `shapeCorner` | no | [ImageShapeCorner](./definitions.md#imageshapecorner) | Border radius of the image. Default: none |
|
|
786
|
-
| `source` | no |
|
|
842
|
+
| `source` | no | string \| [ImageSource](./types.md#imagesource) \| [ImageSource](./types.md#imagesource) | Image source — a URI string, a structured source object { uri, width?, height?, headers? }, or a themed variant { light: source, dark: source } |
|
|
787
843
|
| `style` | no | [ImageStyle](./types.md#imagestyle) | Image style overrides — token keys only, e.g. { width: "size400", height: "size400", marginTop: "space200" } |
|
|
788
844
|
| `supportsSvgCss` | no | boolean | If true, CSS support for remote SVG URI will be added. Default: false |
|
|
789
845
|
| `testID` | no | string | Sets testid on Image (used for testing purposes) |
|
|
@@ -796,10 +852,10 @@ Single-line text input field
|
|
|
796
852
|
|
|
797
853
|
`onChange` stores the string value to the bound state path. Use `checks` + `validateOn` for inline validation.
|
|
798
854
|
|
|
799
|
-
Catalog key: `InputText`
|
|
800
|
-
Builder: `InputText`
|
|
801
|
-
Props type: `InputTextProps`
|
|
802
|
-
Accepts children: no
|
|
855
|
+
Catalog key: `InputText`
|
|
856
|
+
Builder: `InputText`
|
|
857
|
+
Props type: `InputTextProps`
|
|
858
|
+
Accepts children: no
|
|
803
859
|
Events: `change`, `blur`
|
|
804
860
|
|
|
805
861
|
### Props
|
|
@@ -811,13 +867,13 @@ Events: `change`, `blur`
|
|
|
811
867
|
| `clearable` | no | boolean | Shows a clear button when the field has a value. Default: false |
|
|
812
868
|
| `defaultValue` | no | string | Initial value for uncontrolled mode |
|
|
813
869
|
| `disabled` | no | boolean | Disables the input. Default: false |
|
|
814
|
-
| `error` | no |
|
|
870
|
+
| `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
|
|
815
871
|
| `helperText` | no | string | Help text shown below the input |
|
|
816
872
|
| `label` | no | string | Label shown above the input |
|
|
817
873
|
| `placeholder` | no | string | Placeholder text shown when the field is empty |
|
|
818
874
|
| `readOnly` | no | boolean | Shows value without allowing edits. Default: false |
|
|
819
875
|
| `required` | no | boolean | Marks the field as required. Default: false |
|
|
820
|
-
| `rightIcon` | no | [
|
|
876
|
+
| `rightIcon` | no | [AvatarSource](./definitions.md#avatarsource) | Pebble icon name shown on the right side of the input |
|
|
821
877
|
| `sensitive` | no | boolean | Marks the field as sensitive (e.g. masked in screenshots). Default: false |
|
|
822
878
|
| `testID` | no | string | Sets testid on InputText (used for testing purposes) |
|
|
823
879
|
| `validateOn` | no | [CheckboxValidateOn](./definitions.md#checkboxvalidateon) | When to run validation checks. Requires checks to be set |
|
|
@@ -829,10 +885,10 @@ No additional properties.
|
|
|
829
885
|
|
|
830
886
|
Styled inline text label with predefined appearances
|
|
831
887
|
|
|
832
|
-
Catalog key: `Label`
|
|
833
|
-
Builder: `Label`
|
|
834
|
-
Props type: `LabelProps`
|
|
835
|
-
Accepts children: no
|
|
888
|
+
Catalog key: `Label`
|
|
889
|
+
Builder: `Label`
|
|
890
|
+
Props type: `LabelProps`
|
|
891
|
+
Accepts children: no
|
|
836
892
|
Events: _none_
|
|
837
893
|
|
|
838
894
|
### Props
|
|
@@ -851,10 +907,10 @@ Scrollable list container for ListItem children
|
|
|
851
907
|
|
|
852
908
|
Place `ListItem` components as children. The list renders them vertically with optional separator lines.
|
|
853
909
|
|
|
854
|
-
Catalog key: `List`
|
|
855
|
-
Builder: `List`
|
|
856
|
-
Props type: `ListProps`
|
|
857
|
-
Accepts children: yes
|
|
910
|
+
Catalog key: `List`
|
|
911
|
+
Builder: `List`
|
|
912
|
+
Props type: `ListProps`
|
|
913
|
+
Accepts children: yes
|
|
858
914
|
Events: _none_
|
|
859
915
|
|
|
860
916
|
### Props
|
|
@@ -872,10 +928,10 @@ Sub-component of List. Row item used inside a List container
|
|
|
872
928
|
|
|
873
929
|
Wire the `press` event to handle row taps. Pass `prefix` and/or `right` as json-render sub-specs to render content in the left and right slots.
|
|
874
930
|
|
|
875
|
-
Catalog key: `ListItem`
|
|
876
|
-
Builder: `ListItem`
|
|
877
|
-
Props type: `ListItemProps`
|
|
878
|
-
Accepts children: no
|
|
931
|
+
Catalog key: `ListItem`
|
|
932
|
+
Builder: `ListItem`
|
|
933
|
+
Props type: `ListItemProps`
|
|
934
|
+
Accepts children: no
|
|
879
935
|
Events: `press`
|
|
880
936
|
|
|
881
937
|
### Props
|
|
@@ -901,10 +957,10 @@ No additional properties.
|
|
|
901
957
|
|
|
902
958
|
Sub-component of ModalSheet. Header with optional left/right action buttons; use inside ModalSheet
|
|
903
959
|
|
|
904
|
-
Catalog key: `ModalActionHeader`
|
|
905
|
-
Builder: `ModalActionHeader`
|
|
906
|
-
Props type: `ModalActionHeaderProps`
|
|
907
|
-
Accepts children: yes
|
|
960
|
+
Catalog key: `ModalActionHeader`
|
|
961
|
+
Builder: `ModalActionHeader`
|
|
962
|
+
Props type: `ModalActionHeaderProps`
|
|
963
|
+
Accepts children: yes
|
|
908
964
|
Events: `leftPress`, `rightPress`
|
|
909
965
|
|
|
910
966
|
### Props
|
|
@@ -926,10 +982,10 @@ Bottom sheet modal with gesture support and children slot
|
|
|
926
982
|
|
|
927
983
|
Set visible:true to show the sheet. Wire "close" event to toggle visible state.
|
|
928
984
|
|
|
929
|
-
Catalog key: `ModalSheet`
|
|
930
|
-
Builder: `ModalSheet`
|
|
931
|
-
Props type: `ModalSheetProps`
|
|
932
|
-
Accepts children: yes
|
|
985
|
+
Catalog key: `ModalSheet`
|
|
986
|
+
Builder: `ModalSheet`
|
|
987
|
+
Props type: `ModalSheetProps`
|
|
988
|
+
Accepts children: yes
|
|
933
989
|
Events: `close`
|
|
934
990
|
|
|
935
991
|
### Props
|
|
@@ -939,7 +995,7 @@ Events: `close`
|
|
|
939
995
|
| `animationDuration` | no | [ModalSheetAnimationDuration](./definitions.md#modalsheetanimationduration) | Motion duration token for the sheet animation. Default: moderate |
|
|
940
996
|
| `disableSafeArea` | no | boolean | If true, disables safe area insets inside the sheet. Default: false |
|
|
941
997
|
| `gesturePinVisible` | no | boolean | If true, shows the gesture pin at the top of the sheet. Default: true |
|
|
942
|
-
| `header` | no | [
|
|
998
|
+
| `header` | no | [ModalSheetHeader](./types.md#modalsheetheader) | A json-render spec to render as the header component of the ModalSheet, e.g. ModalActionHeader |
|
|
943
999
|
| `testID` | no | string | Sets testid on ModalSheet (used for testing purposes) |
|
|
944
1000
|
| `visible` | yes | boolean | If true, the ModalSheet will be visible |
|
|
945
1001
|
|
|
@@ -951,10 +1007,10 @@ Inline alert banner with title, description, and actions
|
|
|
951
1007
|
|
|
952
1008
|
`description` and action buttons are only shown in `base` variant (default). Wire `primaryPress` / `secondaryPress` events to handle button taps. Wire `close` event to handle the X dismiss button (base variant only).
|
|
953
1009
|
|
|
954
|
-
Catalog key: `Notice`
|
|
955
|
-
Builder: `Notice`
|
|
956
|
-
Props type: `NoticeProps`
|
|
957
|
-
Accepts children: no
|
|
1010
|
+
Catalog key: `Notice`
|
|
1011
|
+
Builder: `Notice`
|
|
1012
|
+
Props type: `NoticeProps`
|
|
1013
|
+
Accepts children: no
|
|
958
1014
|
Events: `primaryPress`, `secondaryPress`, `close`
|
|
959
1015
|
|
|
960
1016
|
### Props
|
|
@@ -964,7 +1020,7 @@ Events: `primaryPress`, `secondaryPress`, `close`
|
|
|
964
1020
|
| `appearance` | no | [NoticeAppearance](./definitions.md#noticeappearance) | Notice appearance. Default: primary |
|
|
965
1021
|
| `description` | no | string | Notice description text (only shown in base variant) |
|
|
966
1022
|
| `haptic` | no | boolean | Enables haptic feedback when notice appears. Default: true |
|
|
967
|
-
| `icon` | no | [
|
|
1023
|
+
| `icon` | no | [AvatarSource](./definitions.md#avatarsource) | Pebble icon name to display above the title |
|
|
968
1024
|
| `primaryAction` | no | [NoticePrimaryAction](./types.md#noticeprimaryaction) | Primary action button — wire to `primaryPress` event |
|
|
969
1025
|
| `secondaryAction` | no | [NoticeSecondaryAction](./types.md#noticesecondaryaction) | Secondary action button — wire to `secondaryPress` event |
|
|
970
1026
|
| `testID` | no | string | Sets testid on Notice (used for testing purposes) |
|
|
@@ -979,10 +1035,10 @@ Numeric text input
|
|
|
979
1035
|
|
|
980
1036
|
Numeric text input. `onChange` stores a number string in state.
|
|
981
1037
|
|
|
982
|
-
Catalog key: `Number`
|
|
983
|
-
Builder: `Number`
|
|
984
|
-
Props type: `NumberProps`
|
|
985
|
-
Accepts children: no
|
|
1038
|
+
Catalog key: `Number`
|
|
1039
|
+
Builder: `Number`
|
|
1040
|
+
Props type: `NumberProps`
|
|
1041
|
+
Accepts children: no
|
|
986
1042
|
Events: `change`, `blur`
|
|
987
1043
|
|
|
988
1044
|
### Props
|
|
@@ -995,7 +1051,7 @@ Events: `change`, `blur`
|
|
|
995
1051
|
| `decimalPlaces` | no | number | Number of decimal places allowed |
|
|
996
1052
|
| `defaultValue` | no | string | Initial value for uncontrolled mode |
|
|
997
1053
|
| `disabled` | no | boolean | Disables the input. Default: false |
|
|
998
|
-
| `error` | no |
|
|
1054
|
+
| `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
|
|
999
1055
|
| `helperText` | no | string | Help text shown below the input |
|
|
1000
1056
|
| `label` | no | string | Label shown above the input |
|
|
1001
1057
|
| `locale` | no | string | Locale string for number formatting e.g. "en-US" |
|
|
@@ -1015,10 +1071,10 @@ No additional properties.
|
|
|
1015
1071
|
|
|
1016
1072
|
Sub-component of ObjectUI. Footer with approve, reject, notes buttons and optional chevrons
|
|
1017
1073
|
|
|
1018
|
-
Catalog key: `ObjectFooter`
|
|
1019
|
-
Builder: `ObjectFooter`
|
|
1020
|
-
Props type: `ObjectFooterProps`
|
|
1021
|
-
Accepts children: no
|
|
1074
|
+
Catalog key: `ObjectFooter`
|
|
1075
|
+
Builder: `ObjectFooter`
|
|
1076
|
+
Props type: `ObjectFooterProps`
|
|
1077
|
+
Accepts children: no
|
|
1022
1078
|
Events: `reject`, `approve`, `notes`, `leftChevron`, `rightChevron`
|
|
1023
1079
|
|
|
1024
1080
|
### Props
|
|
@@ -1037,10 +1093,10 @@ Sub-component of ObjectUI. A row item for object detail views with title, option
|
|
|
1037
1093
|
|
|
1038
1094
|
Pass `lhs` and/or `rhs` props as json-render specs ({ root, elements }) to render prefix and suffix content. Each spec is rendered inline via the Renderer.
|
|
1039
1095
|
|
|
1040
|
-
Catalog key: `ObjectItem`
|
|
1041
|
-
Builder: `ObjectItem`
|
|
1042
|
-
Props type: `ObjectItemProps`
|
|
1043
|
-
Accepts children: no
|
|
1096
|
+
Catalog key: `ObjectItem`
|
|
1097
|
+
Builder: `ObjectItem`
|
|
1098
|
+
Props type: `ObjectItemProps`
|
|
1099
|
+
Accepts children: no
|
|
1044
1100
|
Events: _none_
|
|
1045
1101
|
|
|
1046
1102
|
### Props
|
|
@@ -1052,9 +1108,9 @@ Events: _none_
|
|
|
1052
1108
|
| `chevron` | no | boolean | If true, displays chevron on the right side. Default: false |
|
|
1053
1109
|
| `heavy` | no | boolean | If true, makes the title font weight heavy. Default: false |
|
|
1054
1110
|
| `lhs` | no | [Lh](./types.md#lh) | A json-render spec to render as the prefix (left-hand side) of the ObjectItem, e.g. an Avatar or Icon |
|
|
1055
|
-
| `lhsMaxWidth` | no |
|
|
1111
|
+
| `lhsMaxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width of the left-hand side content — size token |
|
|
1056
1112
|
| `rhs` | no | [Rh](./types.md#rh) | A json-render spec to render on the right side of the ObjectItem, e.g. Label or Status elements |
|
|
1057
|
-
| `rhsMaxWidth` | no |
|
|
1113
|
+
| `rhsMaxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width of the right-hand side content — size token |
|
|
1058
1114
|
| `testID` | no | string | Sets testid on ObjectItem (used for testing purposes) |
|
|
1059
1115
|
| `title` | no | string | Title to show on the ObjectItem |
|
|
1060
1116
|
|
|
@@ -1066,10 +1122,10 @@ Displays a mobile custom object list view for the provided custom object API nam
|
|
|
1066
1122
|
|
|
1067
1123
|
Use this component as the root view for custom app object pages. It fetches the first page of records for the provided custom object API name.
|
|
1068
1124
|
|
|
1069
|
-
Catalog key: `ObjectListView`
|
|
1070
|
-
Builder: `ObjectListView`
|
|
1071
|
-
Props type: `ObjectListViewProps`
|
|
1072
|
-
Accepts children: no
|
|
1125
|
+
Catalog key: `ObjectListView`
|
|
1126
|
+
Builder: `ObjectListView`
|
|
1127
|
+
Props type: `ObjectListViewProps`
|
|
1128
|
+
Accepts children: no
|
|
1073
1129
|
Events: _none_
|
|
1074
1130
|
|
|
1075
1131
|
### Props
|
|
@@ -1088,10 +1144,10 @@ Displays a compact card preview for a mobile custom object list view.
|
|
|
1088
1144
|
|
|
1089
1145
|
Use this component when a custom app page should show a preview card first. Tapping the card opens the full ObjectListView.
|
|
1090
1146
|
|
|
1091
|
-
Catalog key: `ObjectListViewCard`
|
|
1092
|
-
Builder: `ObjectListViewCard`
|
|
1093
|
-
Props type: `ObjectListViewCardProps`
|
|
1094
|
-
Accepts children: no
|
|
1147
|
+
Catalog key: `ObjectListViewCard`
|
|
1148
|
+
Builder: `ObjectListViewCard`
|
|
1149
|
+
Props type: `ObjectListViewCardProps`
|
|
1150
|
+
Accepts children: no
|
|
1095
1151
|
Events: _none_
|
|
1096
1152
|
|
|
1097
1153
|
### Props
|
|
@@ -1110,10 +1166,10 @@ Password input with optional reveal toggle
|
|
|
1110
1166
|
|
|
1111
1167
|
Password input with optional reveal toggle. `onChange` stores a string in state.
|
|
1112
1168
|
|
|
1113
|
-
Catalog key: `Password`
|
|
1114
|
-
Builder: `Password`
|
|
1115
|
-
Props type: `PasswordProps`
|
|
1116
|
-
Accepts children: no
|
|
1169
|
+
Catalog key: `Password`
|
|
1170
|
+
Builder: `Password`
|
|
1171
|
+
Props type: `PasswordProps`
|
|
1172
|
+
Accepts children: no
|
|
1117
1173
|
Events: `change`, `blur`
|
|
1118
1174
|
|
|
1119
1175
|
### Props
|
|
@@ -1125,7 +1181,7 @@ Events: `change`, `blur`
|
|
|
1125
1181
|
| `clearable` | no | boolean | Shows a clear button when the field has a value. Default: false |
|
|
1126
1182
|
| `defaultValue` | no | string | Initial value for uncontrolled mode |
|
|
1127
1183
|
| `disabled` | no | boolean | Disables the input. Default: false |
|
|
1128
|
-
| `error` | no |
|
|
1184
|
+
| `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
|
|
1129
1185
|
| `helperText` | no | string | Help text shown below the input |
|
|
1130
1186
|
| `label` | no | string | Label shown above the input |
|
|
1131
1187
|
| `readOnly` | no | boolean | Shows value without allowing edits. Default: false |
|
|
@@ -1144,10 +1200,10 @@ Percentage input
|
|
|
1144
1200
|
|
|
1145
1201
|
Percentage input. `onChange` stores a number string in state.
|
|
1146
1202
|
|
|
1147
|
-
Catalog key: `Percentage`
|
|
1148
|
-
Builder: `Percentage`
|
|
1149
|
-
Props type: `PercentageProps`
|
|
1150
|
-
Accepts children: no
|
|
1203
|
+
Catalog key: `Percentage`
|
|
1204
|
+
Builder: `Percentage`
|
|
1205
|
+
Props type: `PercentageProps`
|
|
1206
|
+
Accepts children: no
|
|
1151
1207
|
Events: `change`, `blur`
|
|
1152
1208
|
|
|
1153
1209
|
### Props
|
|
@@ -1160,7 +1216,7 @@ Events: `change`, `blur`
|
|
|
1160
1216
|
| `decimalPlaces` | no | number | Number of decimal places allowed |
|
|
1161
1217
|
| `defaultValue` | no | string | Initial value for uncontrolled mode |
|
|
1162
1218
|
| `disabled` | no | boolean | Disables the input. Default: false |
|
|
1163
|
-
| `error` | no |
|
|
1219
|
+
| `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
|
|
1164
1220
|
| `helperText` | no | string | Help text shown below the input |
|
|
1165
1221
|
| `label` | no | string | Label shown above the input |
|
|
1166
1222
|
| `placeholder` | no | string | Placeholder text shown when the field is empty |
|
|
@@ -1179,10 +1235,10 @@ Phone number input with optional country code
|
|
|
1179
1235
|
|
|
1180
1236
|
Phone number input with optional country code. `onChange` stores phone string in state.
|
|
1181
1237
|
|
|
1182
|
-
Catalog key: `Phone`
|
|
1183
|
-
Builder: `Phone`
|
|
1184
|
-
Props type: `PhoneProps`
|
|
1185
|
-
Accepts children: no
|
|
1238
|
+
Catalog key: `Phone`
|
|
1239
|
+
Builder: `Phone`
|
|
1240
|
+
Props type: `PhoneProps`
|
|
1241
|
+
Accepts children: no
|
|
1186
1242
|
Events: `change`, `blur`
|
|
1187
1243
|
|
|
1188
1244
|
### Props
|
|
@@ -1193,7 +1249,7 @@ Events: `change`, `blur`
|
|
|
1193
1249
|
| `checks` | no | [PhoneCheck](./types.md#phonecheck)[] | Array of {type, message, args?} validation rule objects. Requires validateOn to be set |
|
|
1194
1250
|
| `defaultValue` | no | string | Initial value for uncontrolled mode |
|
|
1195
1251
|
| `disabled` | no | boolean | Disables the input. Default: false |
|
|
1196
|
-
| `error` | no |
|
|
1252
|
+
| `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
|
|
1197
1253
|
| `helperText` | no | string | Help text shown below the input |
|
|
1198
1254
|
| `inputWithCountryCode` | no | boolean | If true, country code will be included as part of the value. Default: false |
|
|
1199
1255
|
| `label` | no | string | Label shown above the input |
|
|
@@ -1214,10 +1270,10 @@ Tappable container that wraps any content
|
|
|
1214
1270
|
|
|
1215
1271
|
Wrap any content to make it tappable. Wire the `press` event to handle taps.
|
|
1216
1272
|
|
|
1217
|
-
Catalog key: `Pressable`
|
|
1218
|
-
Builder: `Pressable`
|
|
1219
|
-
Props type: `PressableProps`
|
|
1220
|
-
Accepts children: yes
|
|
1273
|
+
Catalog key: `Pressable`
|
|
1274
|
+
Builder: `Pressable`
|
|
1275
|
+
Props type: `PressableProps`
|
|
1276
|
+
Accepts children: yes
|
|
1221
1277
|
Events: `press`
|
|
1222
1278
|
|
|
1223
1279
|
### Props
|
|
@@ -1239,10 +1295,10 @@ Horizontal progress bar showing completion percentage
|
|
|
1239
1295
|
|
|
1240
1296
|
`value` is required and must be between 0 and `max` (default 100). Set `steps` > 1 for a segmented bar.
|
|
1241
1297
|
|
|
1242
|
-
Catalog key: `ProgressIndicator`
|
|
1243
|
-
Builder: `ProgressIndicator`
|
|
1244
|
-
Props type: `ProgressIndicatorProps`
|
|
1245
|
-
Accepts children: no
|
|
1298
|
+
Catalog key: `ProgressIndicator`
|
|
1299
|
+
Builder: `ProgressIndicator`
|
|
1300
|
+
Props type: `ProgressIndicatorProps`
|
|
1301
|
+
Accepts children: no
|
|
1246
1302
|
Events: _none_
|
|
1247
1303
|
|
|
1248
1304
|
### Props
|
|
@@ -1266,10 +1322,10 @@ Single radio button option with label
|
|
|
1266
1322
|
|
|
1267
1323
|
Always prefer RadioGroup. A single Radio is almost never the right primitive — use Checkbox or Switch for a standalone boolean option, and RadioGroup for any set of mutually exclusive options. Never place multiple individual Radio components in a VStack or Card manually.
|
|
1268
1324
|
|
|
1269
|
-
Catalog key: `Radio`
|
|
1270
|
-
Builder: `Radio`
|
|
1271
|
-
Props type: `RadioProps`
|
|
1272
|
-
Accepts children: no
|
|
1325
|
+
Catalog key: `Radio`
|
|
1326
|
+
Builder: `Radio`
|
|
1327
|
+
Props type: `RadioProps`
|
|
1328
|
+
Accepts children: no
|
|
1273
1329
|
Events: `change`, `blur`
|
|
1274
1330
|
|
|
1275
1331
|
### Props
|
|
@@ -1282,7 +1338,7 @@ Events: `change`, `blur`
|
|
|
1282
1338
|
| `checks` | no | [RadioCheck](./types.md#radiocheck)[] | Array of {type, message, args?} validation rule objects. Requires validateOn to be set |
|
|
1283
1339
|
| `defaultValue` | no | boolean | Initial value for uncontrolled mode. Default: false |
|
|
1284
1340
|
| `disabled` | no | boolean | Disables the radio button. Default: false |
|
|
1285
|
-
| `error` | no |
|
|
1341
|
+
| `error` | no | boolean \| string | Error state or error message |
|
|
1286
1342
|
| `haptic` | no | boolean | Enables haptic feedback on selection. Default: true |
|
|
1287
1343
|
| `helperText` | no | string | Help text shown below the radio group |
|
|
1288
1344
|
| `label` | no | string | Label text shown beside the radio |
|
|
@@ -1302,10 +1358,10 @@ Group of radio buttons for single-selection from a list
|
|
|
1302
1358
|
|
|
1303
1359
|
Preferred over multiple individual Radio components. Pass all options via the `options` array (each with `id` and `label`). Wrap in a Card for visual grouping. `onChange` stores the selected option id (string) to the bound state path.
|
|
1304
1360
|
|
|
1305
|
-
Catalog key: `RadioGroup`
|
|
1306
|
-
Builder: `RadioGroup`
|
|
1307
|
-
Props type: `RadioGroupProps`
|
|
1308
|
-
Accepts children: no
|
|
1361
|
+
Catalog key: `RadioGroup`
|
|
1362
|
+
Builder: `RadioGroup`
|
|
1363
|
+
Props type: `RadioGroupProps`
|
|
1364
|
+
Accepts children: no
|
|
1309
1365
|
Events: `change`
|
|
1310
1366
|
|
|
1311
1367
|
### Props
|
|
@@ -1314,7 +1370,7 @@ Events: `change`
|
|
|
1314
1370
|
|---|---:|---|---|
|
|
1315
1371
|
| `defaultValue` | no | string | Initial selected id for uncontrolled mode |
|
|
1316
1372
|
| `disabled` | no | boolean | Disables all options. Default: false |
|
|
1317
|
-
| `error` | no |
|
|
1373
|
+
| `error` | no | boolean \| string | Error state or error message shown below the group |
|
|
1318
1374
|
| `helperText` | no | string | Help text shown below the group |
|
|
1319
1375
|
| `options` | yes | [RadioGroupOption](./types.md#radiogroupoption)[] | Array of radio options: [{ id, label?, tag?, disabled? }] |
|
|
1320
1376
|
| `testID` | no | string | Sets testid on RadioGroup (used for testing purposes) |
|
|
@@ -1328,10 +1384,10 @@ Search input field with clear and cancel controls
|
|
|
1328
1384
|
|
|
1329
1385
|
`onChange` stores the query string to the bound state path. `cancel` event fires when the cancel button is pressed.
|
|
1330
1386
|
|
|
1331
|
-
Catalog key: `Search`
|
|
1332
|
-
Builder: `Search`
|
|
1333
|
-
Props type: `SearchProps`
|
|
1334
|
-
Accepts children: no
|
|
1387
|
+
Catalog key: `Search`
|
|
1388
|
+
Builder: `Search`
|
|
1389
|
+
Props type: `SearchProps`
|
|
1390
|
+
Accepts children: no
|
|
1335
1391
|
Events: `change`, `cancel`
|
|
1336
1392
|
|
|
1337
1393
|
### Props
|
|
@@ -1353,10 +1409,10 @@ No additional properties.
|
|
|
1353
1409
|
|
|
1354
1410
|
Section divider label with configurable background
|
|
1355
1411
|
|
|
1356
|
-
Catalog key: `SectionHeader`
|
|
1357
|
-
Builder: `SectionHeader`
|
|
1358
|
-
Props type: `SectionHeaderProps`
|
|
1359
|
-
Accepts children: no
|
|
1412
|
+
Catalog key: `SectionHeader`
|
|
1413
|
+
Builder: `SectionHeader`
|
|
1414
|
+
Props type: `SectionHeaderProps`
|
|
1415
|
+
Accepts children: no
|
|
1360
1416
|
Events: _none_
|
|
1361
1417
|
|
|
1362
1418
|
### Props
|
|
@@ -1376,10 +1432,10 @@ Dropdown picker input with a searchable action sheet
|
|
|
1376
1432
|
|
|
1377
1433
|
`onChange` stores the selected option id to the bound state path. For multi-select set `multiple: true` — state becomes a string[]. `options` must have unique `id` values.
|
|
1378
1434
|
|
|
1379
|
-
Catalog key: `Select`
|
|
1380
|
-
Builder: `Select`
|
|
1381
|
-
Props type: `SelectProps`
|
|
1382
|
-
Accepts children: no
|
|
1435
|
+
Catalog key: `Select`
|
|
1436
|
+
Builder: `Select`
|
|
1437
|
+
Props type: `SelectProps`
|
|
1438
|
+
Accepts children: no
|
|
1383
1439
|
Events: `change`
|
|
1384
1440
|
|
|
1385
1441
|
### Props
|
|
@@ -1391,7 +1447,7 @@ Events: `change`
|
|
|
1391
1447
|
| `defaultValue` | no | string | Default selected option id for uncontrolled mode |
|
|
1392
1448
|
| `descriptionNumberOfLines` | no | number | Max lines for option description text in the picker. Default: 1 |
|
|
1393
1449
|
| `disabled` | no | boolean | Disables the select input. Default: false |
|
|
1394
|
-
| `error` | no |
|
|
1450
|
+
| `error` | no | boolean \| string | Error state or error message |
|
|
1395
1451
|
| `helperText` | no | string | Help text shown below the select input |
|
|
1396
1452
|
| `hideDismissButton` | no | boolean | Hides the dismiss button in the picker sheet header. Default: false |
|
|
1397
1453
|
| `label` | yes | string | Label shown above the select input |
|
|
@@ -1415,26 +1471,26 @@ Chip-based multi-select or single-select input
|
|
|
1415
1471
|
|
|
1416
1472
|
Chip-based selection. options must be [{id, label}]. onChange stores selected id (single) or id[] (multiple) in state.
|
|
1417
1473
|
|
|
1418
|
-
Catalog key: `SelectChips`
|
|
1419
|
-
Builder: `SelectChips`
|
|
1420
|
-
Props type: `SelectChipsProps`
|
|
1421
|
-
Accepts children: no
|
|
1474
|
+
Catalog key: `SelectChips`
|
|
1475
|
+
Builder: `SelectChips`
|
|
1476
|
+
Props type: `SelectChipsProps`
|
|
1477
|
+
Accepts children: no
|
|
1422
1478
|
Events: `change`
|
|
1423
1479
|
|
|
1424
1480
|
### Props
|
|
1425
1481
|
|
|
1426
1482
|
| Name | Required | Type | Description |
|
|
1427
1483
|
|---|---:|---|---|
|
|
1428
|
-
| `defaultValue` | no |
|
|
1484
|
+
| `defaultValue` | no | string \| string[] | Initial value for uncontrolled mode |
|
|
1429
1485
|
| `disabled` | no | boolean | Disables the chips. Default: false |
|
|
1430
|
-
| `error` | no |
|
|
1486
|
+
| `error` | no | string \| boolean | Error state or error message |
|
|
1431
1487
|
| `helperText` | no | string | Help text shown below the chips |
|
|
1432
1488
|
| `multiple` | no | boolean | Allow multiple selection. Default: true |
|
|
1433
1489
|
| `options` | yes | [SelectChipsOption](./types.md#selectchipsoption)[] | Array of selectable chip options |
|
|
1434
1490
|
| `readOnly` | no | boolean | Displays value without allowing edits. Default: false |
|
|
1435
1491
|
| `sensitive` | no | boolean | Masks chip values. Default: false |
|
|
1436
1492
|
| `testID` | no | string | Sets testid on SelectChips (used for testing purposes) |
|
|
1437
|
-
| `value` | no |
|
|
1493
|
+
| `value` | no | string \| string[] | Selected id or array of ids — bind via $bindState |
|
|
1438
1494
|
|
|
1439
1495
|
No additional properties.
|
|
1440
1496
|
|
|
@@ -1444,10 +1500,10 @@ Signature canvas input
|
|
|
1444
1500
|
|
|
1445
1501
|
Signature canvas input. `onChange` stores base64 PNG string in state.
|
|
1446
1502
|
|
|
1447
|
-
Catalog key: `Signature`
|
|
1448
|
-
Builder: `Signature`
|
|
1449
|
-
Props type: `SignatureProps`
|
|
1450
|
-
Accepts children: no
|
|
1503
|
+
Catalog key: `Signature`
|
|
1504
|
+
Builder: `Signature`
|
|
1505
|
+
Props type: `SignatureProps`
|
|
1506
|
+
Accepts children: no
|
|
1451
1507
|
Events: `change`
|
|
1452
1508
|
|
|
1453
1509
|
### Props
|
|
@@ -1456,7 +1512,7 @@ Events: `change`
|
|
|
1456
1512
|
|---|---:|---|---|
|
|
1457
1513
|
| `defaultValue` | no | string | Initial value for uncontrolled mode |
|
|
1458
1514
|
| `disabled` | no | boolean | Disables the input. Default: false |
|
|
1459
|
-
| `error` | no |
|
|
1515
|
+
| `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
|
|
1460
1516
|
| `readOnly` | no | boolean | Shows value without allowing edits. Default: false |
|
|
1461
1517
|
| `required` | no | boolean | Marks the field as required. Default: false |
|
|
1462
1518
|
| `testID` | no | string | Sets testid on InputSignature (used for testing purposes) |
|
|
@@ -1470,10 +1526,10 @@ Masked Social Insurance Number input
|
|
|
1470
1526
|
|
|
1471
1527
|
Masked Social Insurance Number input. `onChange` stores the SIN string in state.
|
|
1472
1528
|
|
|
1473
|
-
Catalog key: `Sin`
|
|
1474
|
-
Builder: `Sin`
|
|
1475
|
-
Props type: `SinProps`
|
|
1476
|
-
Accepts children: no
|
|
1529
|
+
Catalog key: `Sin`
|
|
1530
|
+
Builder: `Sin`
|
|
1531
|
+
Props type: `SinProps`
|
|
1532
|
+
Accepts children: no
|
|
1477
1533
|
Events: `change`, `blur`
|
|
1478
1534
|
|
|
1479
1535
|
### Props
|
|
@@ -1484,7 +1540,7 @@ Events: `change`, `blur`
|
|
|
1484
1540
|
| `checks` | no | [SinCheck](./types.md#sincheck)[] | Array of {type, message, args?} validation rule objects. Requires validateOn to be set |
|
|
1485
1541
|
| `defaultValue` | no | string | Initial value for uncontrolled mode |
|
|
1486
1542
|
| `disabled` | no | boolean | Disables the input. Default: false |
|
|
1487
|
-
| `error` | no |
|
|
1543
|
+
| `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
|
|
1488
1544
|
| `helperText` | no | string | Help text shown below the input |
|
|
1489
1545
|
| `label` | no | string | Label shown above the input |
|
|
1490
1546
|
| `placeholder` | no | string | Placeholder text shown when the field is empty |
|
|
@@ -1503,10 +1559,10 @@ Draggable range slider for numeric input
|
|
|
1503
1559
|
|
|
1504
1560
|
`onChange` stores the numeric value to the bound state path.
|
|
1505
1561
|
|
|
1506
|
-
Catalog key: `Slider`
|
|
1507
|
-
Builder: `Slider`
|
|
1508
|
-
Props type: `SliderProps`
|
|
1509
|
-
Accepts children: no
|
|
1562
|
+
Catalog key: `Slider`
|
|
1563
|
+
Builder: `Slider`
|
|
1564
|
+
Props type: `SliderProps`
|
|
1565
|
+
Accepts children: no
|
|
1510
1566
|
Events: `change`
|
|
1511
1567
|
|
|
1512
1568
|
### Props
|
|
@@ -1532,10 +1588,10 @@ Dual-handle range slider for selecting a numeric range
|
|
|
1532
1588
|
|
|
1533
1589
|
Dual-handle range slider. onChange stores [number, number] in state.
|
|
1534
1590
|
|
|
1535
|
-
Catalog key: `SliderRange`
|
|
1536
|
-
Builder: `SliderRange`
|
|
1537
|
-
Props type: `SliderRangeProps`
|
|
1538
|
-
Accepts children: no
|
|
1591
|
+
Catalog key: `SliderRange`
|
|
1592
|
+
Builder: `SliderRange`
|
|
1593
|
+
Props type: `SliderRangeProps`
|
|
1594
|
+
Accepts children: no
|
|
1539
1595
|
Events: `change`
|
|
1540
1596
|
|
|
1541
1597
|
### Props
|
|
@@ -1559,10 +1615,10 @@ No additional properties.
|
|
|
1559
1615
|
|
|
1560
1616
|
Inline notification banner with optional action button and auto-dismiss
|
|
1561
1617
|
|
|
1562
|
-
Catalog key: `SnackBar`
|
|
1563
|
-
Builder: `SnackBar`
|
|
1564
|
-
Props type: `SnackBarProps`
|
|
1565
|
-
Accepts children: no
|
|
1618
|
+
Catalog key: `SnackBar`
|
|
1619
|
+
Builder: `SnackBar`
|
|
1620
|
+
Props type: `SnackBarProps`
|
|
1621
|
+
Accepts children: no
|
|
1566
1622
|
Events: `dismiss`, `action`
|
|
1567
1623
|
|
|
1568
1624
|
### Props
|
|
@@ -1583,10 +1639,10 @@ No additional properties.
|
|
|
1583
1639
|
|
|
1584
1640
|
Sub-component of ObjectUI. Empty vertical space between ObjectUI rows
|
|
1585
1641
|
|
|
1586
|
-
Catalog key: `Spacer`
|
|
1587
|
-
Builder: `Spacer`
|
|
1588
|
-
Props type: `SpacerProps`
|
|
1589
|
-
Accepts children: no
|
|
1642
|
+
Catalog key: `Spacer`
|
|
1643
|
+
Builder: `Spacer`
|
|
1644
|
+
Props type: `SpacerProps`
|
|
1645
|
+
Accepts children: no
|
|
1590
1646
|
Events: _none_
|
|
1591
1647
|
|
|
1592
1648
|
### Props
|
|
@@ -1601,10 +1657,10 @@ No additional properties.
|
|
|
1601
1657
|
|
|
1602
1658
|
Animated loading indicator
|
|
1603
1659
|
|
|
1604
|
-
Catalog key: `Spinner`
|
|
1605
|
-
Builder: `Spinner`
|
|
1606
|
-
Props type: `SpinnerProps`
|
|
1607
|
-
Accepts children: no
|
|
1660
|
+
Catalog key: `Spinner`
|
|
1661
|
+
Builder: `Spinner`
|
|
1662
|
+
Props type: `SpinnerProps`
|
|
1663
|
+
Accepts children: no
|
|
1608
1664
|
Events: _none_
|
|
1609
1665
|
|
|
1610
1666
|
### Props
|
|
@@ -1626,10 +1682,10 @@ Masked Social Security Number input
|
|
|
1626
1682
|
|
|
1627
1683
|
Masked Social Security Number input. `onChange` stores the SSN string in state.
|
|
1628
1684
|
|
|
1629
|
-
Catalog key: `Ssn`
|
|
1630
|
-
Builder: `Ssn`
|
|
1631
|
-
Props type: `SsnProps`
|
|
1632
|
-
Accepts children: no
|
|
1685
|
+
Catalog key: `Ssn`
|
|
1686
|
+
Builder: `Ssn`
|
|
1687
|
+
Props type: `SsnProps`
|
|
1688
|
+
Accepts children: no
|
|
1633
1689
|
Events: `change`, `blur`
|
|
1634
1690
|
|
|
1635
1691
|
### Props
|
|
@@ -1640,7 +1696,7 @@ Events: `change`, `blur`
|
|
|
1640
1696
|
| `checks` | no | [SsnCheck](./types.md#ssncheck)[] | Array of {type, message, args?} validation rule objects. Requires validateOn to be set |
|
|
1641
1697
|
| `defaultValue` | no | string | Initial value for uncontrolled mode |
|
|
1642
1698
|
| `disabled` | no | boolean | Disables the input. Default: false |
|
|
1643
|
-
| `error` | no |
|
|
1699
|
+
| `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
|
|
1644
1700
|
| `helperText` | no | string | Help text shown below the input |
|
|
1645
1701
|
| `label` | no | string | Label shown above the input |
|
|
1646
1702
|
| `placeholder` | no | string | Placeholder text shown when the field is empty |
|
|
@@ -1657,10 +1713,10 @@ No additional properties.
|
|
|
1657
1713
|
|
|
1658
1714
|
Pill-shaped status indicator with colored appearance
|
|
1659
1715
|
|
|
1660
|
-
Catalog key: `Status`
|
|
1661
|
-
Builder: `Status`
|
|
1662
|
-
Props type: `StatusProps`
|
|
1663
|
-
Accepts children: no
|
|
1716
|
+
Catalog key: `Status`
|
|
1717
|
+
Builder: `Status`
|
|
1718
|
+
Props type: `StatusProps`
|
|
1719
|
+
Accepts children: no
|
|
1664
1720
|
Events: _none_
|
|
1665
1721
|
|
|
1666
1722
|
### Props
|
|
@@ -1678,10 +1734,10 @@ No additional properties.
|
|
|
1678
1734
|
|
|
1679
1735
|
Sets the native status bar style. Renders no visible UI — place once near the top of a screen.
|
|
1680
1736
|
|
|
1681
|
-
Catalog key: `StatusBar`
|
|
1682
|
-
Builder: `StatusBar`
|
|
1683
|
-
Props type: `StatusBarProps`
|
|
1684
|
-
Accepts children: no
|
|
1737
|
+
Catalog key: `StatusBar`
|
|
1738
|
+
Builder: `StatusBar`
|
|
1739
|
+
Props type: `StatusBarProps`
|
|
1740
|
+
Accepts children: no
|
|
1685
1741
|
Events: _none_
|
|
1686
1742
|
|
|
1687
1743
|
### Props
|
|
@@ -1699,10 +1755,10 @@ Toggle switch for boolean on/off input
|
|
|
1699
1755
|
|
|
1700
1756
|
`onChange` stores the boolean value to the bound state path. `change` event fires after each toggle.
|
|
1701
1757
|
|
|
1702
|
-
Catalog key: `Switch`
|
|
1703
|
-
Builder: `Switch`
|
|
1704
|
-
Props type: `SwitchProps`
|
|
1705
|
-
Accepts children: no
|
|
1758
|
+
Catalog key: `Switch`
|
|
1759
|
+
Builder: `Switch`
|
|
1760
|
+
Props type: `SwitchProps`
|
|
1761
|
+
Accepts children: no
|
|
1706
1762
|
Events: `change`
|
|
1707
1763
|
|
|
1708
1764
|
### Props
|
|
@@ -1712,8 +1768,8 @@ Events: `change`
|
|
|
1712
1768
|
| `defaultValue` | no | boolean | Initial value for uncontrolled mode. Default: false |
|
|
1713
1769
|
| `disabled` | no | boolean | Disables the switch. Default: false |
|
|
1714
1770
|
| `haptic` | no | boolean | Enables haptic feedback on toggle. Default: true |
|
|
1715
|
-
| `offIcon` | no | [
|
|
1716
|
-
| `onIcon` | no | [
|
|
1771
|
+
| `offIcon` | no | [AvatarSource](./definitions.md#avatarsource) | Pebble icon name for the off-state thumb icon |
|
|
1772
|
+
| `onIcon` | no | [AvatarSource](./definitions.md#avatarsource) | Pebble icon name for the on-state thumb icon |
|
|
1717
1773
|
| `testID` | no | string | Sets testid on Switch (used for testing purposes) |
|
|
1718
1774
|
| `value` | no | boolean | Controlled on/off state — bind to state with $bindState |
|
|
1719
1775
|
|
|
@@ -1725,10 +1781,10 @@ Tab navigation switcher for toggling between views
|
|
|
1725
1781
|
|
|
1726
1782
|
`onChange` stores the selected tab `id` string to the bound state path. Tab content is rendered externally — use conditional rendering in sibling elements based on the active state. `items` must have unique `id` values.
|
|
1727
1783
|
|
|
1728
|
-
Catalog key: `Tabs`
|
|
1729
|
-
Builder: `Tabs`
|
|
1730
|
-
Props type: `TabsProps`
|
|
1731
|
-
Accepts children: no
|
|
1784
|
+
Catalog key: `Tabs`
|
|
1785
|
+
Builder: `Tabs`
|
|
1786
|
+
Props type: `TabsProps`
|
|
1787
|
+
Accepts children: no
|
|
1732
1788
|
Events: `change`
|
|
1733
1789
|
|
|
1734
1790
|
### Props
|
|
@@ -1748,14 +1804,14 @@ No additional properties.
|
|
|
1748
1804
|
|
|
1749
1805
|
## Text
|
|
1750
1806
|
|
|
1751
|
-
|
|
1807
|
+
Typography primitive using Pebble typestyle tokens
|
|
1752
1808
|
|
|
1753
|
-
|
|
1809
|
+
Renders text with Pebble typestyle tokens. Pass typestyle and color as top-level props, or supply typography via the style prop as a plain object or array of typestyle token keys and/or style overrides — later style entries win and override matching top-level typestyle or color values. Style values may be token keys (e.g. colorOnSurface, space200) or literals. ellipsizeMode only takes effect when numberOfLines is set. In style objects, textShadowOffsetWidth and textShadowOffsetHeight combine into textShadowOffset: {width, height}.
|
|
1754
1810
|
|
|
1755
|
-
Catalog key: `Text`
|
|
1756
|
-
Builder: `Text`
|
|
1757
|
-
Props type: `TextProps`
|
|
1758
|
-
Accepts children: no
|
|
1811
|
+
Catalog key: `Text`
|
|
1812
|
+
Builder: `Text`
|
|
1813
|
+
Props type: `TextProps`
|
|
1814
|
+
Accepts children: no
|
|
1759
1815
|
Events: _none_
|
|
1760
1816
|
|
|
1761
1817
|
### Props
|
|
@@ -1764,15 +1820,15 @@ Events: _none_
|
|
|
1764
1820
|
|---|---:|---|---|
|
|
1765
1821
|
| `accessibilityLabel` | no | string | Accessibility label read by screen readers |
|
|
1766
1822
|
| `accessible` | no | boolean | Whether the element is an accessibility element. Default: true |
|
|
1767
|
-
| `
|
|
1823
|
+
| `color` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Pebble color token key for text color. Overridden by color in the style prop. |
|
|
1768
1824
|
| `disabled` | no | boolean | Whether the text is disabled (accessibility and styling). Default: false |
|
|
1769
1825
|
| `ellipsizeMode` | no | [TextEllipsizeMode](./definitions.md#textellipsizemode) | How text is truncated when it exceeds numberOfLines. Requires numberOfLines to be set. Default: tail |
|
|
1770
|
-
| `maxFontSizeMultiplier` | no | number | Upper limit on font scaling. 0 means no limit. Requires allowFontScaling to not be false |
|
|
1771
1826
|
| `numberOfLines` | no | number | Maximum number of lines before truncating with ellipsis. Omit for unlimited lines |
|
|
1772
1827
|
| `selectable` | no | boolean | Whether the user can select and copy the text. Default: false |
|
|
1773
|
-
| `style` | no |
|
|
1828
|
+
| `style` | no | [TextStyle](./types.md#textstyle) \| [TextStyle](./definitions.md#textstyle) \| [TextStyle](./types.md#textstyle)[] | Text style — plain object or array of typestyle token keys and/or style override objects. Plain object: { color: 'colorOnSurface', marginTop: 'space200' }. Array: ['typestyleV2BodyLarge', { color: 'colorOnSurface' }]. |
|
|
1774
1829
|
| `testID` | no | string | Sets testid on Text (used for testing purposes) |
|
|
1775
1830
|
| `text` | yes | string | Text content to display |
|
|
1831
|
+
| `typestyle` | no | [TextStyle](./definitions.md#textstyle) | Pebble typestyle token key. Overridden by matching typography in the style prop. |
|
|
1776
1832
|
|
|
1777
1833
|
No additional properties.
|
|
1778
1834
|
|
|
@@ -1782,10 +1838,10 @@ Multi-line text input field
|
|
|
1782
1838
|
|
|
1783
1839
|
`onChange` stores the string value to the bound state path. Use `checks` + `validateOn` for inline validation.
|
|
1784
1840
|
|
|
1785
|
-
Catalog key: `Textarea`
|
|
1786
|
-
Builder: `Textarea`
|
|
1787
|
-
Props type: `TextareaProps`
|
|
1788
|
-
Accepts children: no
|
|
1841
|
+
Catalog key: `Textarea`
|
|
1842
|
+
Builder: `Textarea`
|
|
1843
|
+
Props type: `TextareaProps`
|
|
1844
|
+
Accepts children: no
|
|
1789
1845
|
Events: `change`, `blur`
|
|
1790
1846
|
|
|
1791
1847
|
### Props
|
|
@@ -1796,7 +1852,7 @@ Events: `change`, `blur`
|
|
|
1796
1852
|
| `checks` | no | [TextareaCheck](./types.md#textareacheck)[] | Array of {type, message, args?} validation rule objects. Requires validateOn to be set |
|
|
1797
1853
|
| `defaultValue` | no | string | Initial value for uncontrolled mode |
|
|
1798
1854
|
| `disabled` | no | boolean | Disables the textarea. Default: false |
|
|
1799
|
-
| `error` | no |
|
|
1855
|
+
| `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
|
|
1800
1856
|
| `height` | no | number | Fixed height of the textarea in points |
|
|
1801
1857
|
| `helperText` | no | string | Help text shown below the textarea |
|
|
1802
1858
|
| `label` | no | string | Label shown above the textarea |
|
|
@@ -1815,10 +1871,10 @@ Time picker input field
|
|
|
1815
1871
|
|
|
1816
1872
|
Time picker input. onChange stores ISO time string in state.
|
|
1817
1873
|
|
|
1818
|
-
Catalog key: `Time`
|
|
1819
|
-
Builder: `Time`
|
|
1820
|
-
Props type: `TimeProps`
|
|
1821
|
-
Accepts children: no
|
|
1874
|
+
Catalog key: `Time`
|
|
1875
|
+
Builder: `Time`
|
|
1876
|
+
Props type: `TimeProps`
|
|
1877
|
+
Accepts children: no
|
|
1822
1878
|
Events: `change`, `blur`
|
|
1823
1879
|
|
|
1824
1880
|
### Props
|
|
@@ -1827,7 +1883,7 @@ Events: `change`, `blur`
|
|
|
1827
1883
|
|---|---:|---|---|
|
|
1828
1884
|
| `defaultValue` | no | string | Default ISO time string for uncontrolled mode |
|
|
1829
1885
|
| `disabled` | no | boolean | Disables the time input. Default: false |
|
|
1830
|
-
| `error` | no |
|
|
1886
|
+
| `error` | no | string \| boolean | Error state or error message |
|
|
1831
1887
|
| `format` | no | [TimeFormat](./definitions.md#timeformat) | Time format. Default: isoString |
|
|
1832
1888
|
| `helperText` | no | string | Help text shown below the time input |
|
|
1833
1889
|
| `label` | yes | string | Label shown above the time input |
|
|
@@ -1844,10 +1900,10 @@ Time range picker with start and end time inputs
|
|
|
1844
1900
|
|
|
1845
1901
|
Time range picker. label must be [startLabel, endLabel]. onChange stores [startISO, endISO] in state.
|
|
1846
1902
|
|
|
1847
|
-
Catalog key: `TimeRange`
|
|
1848
|
-
Builder: `TimeRange`
|
|
1849
|
-
Props type: `TimeRangeProps`
|
|
1850
|
-
Accepts children: no
|
|
1903
|
+
Catalog key: `TimeRange`
|
|
1904
|
+
Builder: `TimeRange`
|
|
1905
|
+
Props type: `TimeRangeProps`
|
|
1906
|
+
Accepts children: no
|
|
1851
1907
|
Events: `change`
|
|
1852
1908
|
|
|
1853
1909
|
### Props
|
|
@@ -1872,10 +1928,10 @@ No additional properties.
|
|
|
1872
1928
|
|
|
1873
1929
|
Informational tip block with a title, description, and optional children content
|
|
1874
1930
|
|
|
1875
|
-
Catalog key: `Tip`
|
|
1876
|
-
Builder: `Tip`
|
|
1877
|
-
Props type: `TipProps`
|
|
1878
|
-
Accepts children: yes
|
|
1931
|
+
Catalog key: `Tip`
|
|
1932
|
+
Builder: `Tip`
|
|
1933
|
+
Props type: `TipProps`
|
|
1934
|
+
Accepts children: yes
|
|
1879
1935
|
Events: _none_
|
|
1880
1936
|
|
|
1881
1937
|
### Props
|
|
@@ -1894,10 +1950,10 @@ Vertical flex column container
|
|
|
1894
1950
|
|
|
1895
1951
|
Lays children out vertically. By default, VStack wraps its content (shrinks to fit children). Use `width: "sizeFull"` to stretch and fill the available width. Use `gap` for spacing between items.
|
|
1896
1952
|
|
|
1897
|
-
Catalog key: `VStack`
|
|
1898
|
-
Builder: `VStack`
|
|
1899
|
-
Props type: `VStackProps`
|
|
1900
|
-
Accepts children: yes
|
|
1953
|
+
Catalog key: `VStack`
|
|
1954
|
+
Builder: `VStack`
|
|
1955
|
+
Props type: `VStackProps`
|
|
1956
|
+
Accepts children: yes
|
|
1901
1957
|
Events: _none_
|
|
1902
1958
|
|
|
1903
1959
|
### Props
|
|
@@ -1913,7 +1969,7 @@ Events: _none_
|
|
|
1913
1969
|
| `flex` | no | number | Flex grow/shrink factor |
|
|
1914
1970
|
| `gap` | no | [HStackBottom](./definitions.md#hstackbottom) | Gap between children — space token |
|
|
1915
1971
|
| `grow` | no | number | Flex grow factor |
|
|
1916
|
-
| `height` | no |
|
|
1972
|
+
| `height` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Height — size token or percentage (e.g. "50%") |
|
|
1917
1973
|
| `justify` | no | [HStackJustify](./definitions.md#hstackjustify) | Align children along the main axis. Default: flex-start |
|
|
1918
1974
|
| `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
|
|
1919
1975
|
| `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
|
|
@@ -1923,10 +1979,10 @@ Events: _none_
|
|
|
1923
1979
|
| `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
|
|
1924
1980
|
| `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
|
|
1925
1981
|
| `marginVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom margin — space token |
|
|
1926
|
-
| `maxHeight` | no |
|
|
1927
|
-
| `maxWidth` | no |
|
|
1928
|
-
| `minHeight` | no |
|
|
1929
|
-
| `minWidth` | no |
|
|
1982
|
+
| `maxHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum height — size token or percentage |
|
|
1983
|
+
| `maxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width — size token or percentage |
|
|
1984
|
+
| `minHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum height — size token or percentage |
|
|
1985
|
+
| `minWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum width — size token or percentage |
|
|
1930
1986
|
| `overflow` | no | [HStackOverflow](./definitions.md#hstackoverflow) | How content overflow is handled. Default: visible |
|
|
1931
1987
|
| `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
|
|
1932
1988
|
| `paddingBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom padding — space token |
|
|
@@ -1943,7 +1999,7 @@ Events: _none_
|
|
|
1943
1999
|
| `shrink` | no | number | Flex shrink factor |
|
|
1944
2000
|
| `testID` | no | string | Sets testid on VStack (used for testing purposes) |
|
|
1945
2001
|
| `top` | no | [HStackBottom](./definitions.md#hstackbottom) | Top offset — space token |
|
|
1946
|
-
| `width` | no |
|
|
2002
|
+
| `width` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
|
|
1947
2003
|
| `zIndex` | no | number | Stack order |
|
|
1948
2004
|
|
|
1949
2005
|
No additional properties.
|
|
@@ -1954,10 +2010,10 @@ Card-like widget with a title, body content, and optional action buttons
|
|
|
1954
2010
|
|
|
1955
2011
|
Pass children for body content. Use isLoading to show shimmer placeholders.
|
|
1956
2012
|
|
|
1957
|
-
Catalog key: `Widget`
|
|
1958
|
-
Builder: `Widget`
|
|
1959
|
-
Props type: `WidgetProps`
|
|
1960
|
-
Accepts children: yes
|
|
2013
|
+
Catalog key: `Widget`
|
|
2014
|
+
Builder: `Widget`
|
|
2015
|
+
Props type: `WidgetProps`
|
|
2016
|
+
Accepts children: yes
|
|
1961
2017
|
Events: `titlePress`, `primaryAction`, `secondaryAction`
|
|
1962
2018
|
|
|
1963
2019
|
### Props
|
|
@@ -1984,10 +2040,10 @@ Email text input that validates work email format
|
|
|
1984
2040
|
|
|
1985
2041
|
Email text input that validates work email format. `onChange` stores a string in state.
|
|
1986
2042
|
|
|
1987
|
-
Catalog key: `WorkEmail`
|
|
1988
|
-
Builder: `WorkEmail`
|
|
1989
|
-
Props type: `WorkEmailProps`
|
|
1990
|
-
Accepts children: no
|
|
2043
|
+
Catalog key: `WorkEmail`
|
|
2044
|
+
Builder: `WorkEmail`
|
|
2045
|
+
Props type: `WorkEmailProps`
|
|
2046
|
+
Accepts children: no
|
|
1991
2047
|
Events: `change`, `blur`
|
|
1992
2048
|
|
|
1993
2049
|
### Props
|
|
@@ -1999,7 +2055,7 @@ Events: `change`, `blur`
|
|
|
1999
2055
|
| `clearable` | no | boolean | Shows a clear button when the field has a value. Default: false |
|
|
2000
2056
|
| `defaultValue` | no | string | Initial value for uncontrolled mode |
|
|
2001
2057
|
| `disabled` | no | boolean | Disables the input. Default: false |
|
|
2002
|
-
| `error` | no |
|
|
2058
|
+
| `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
|
|
2003
2059
|
| `helperText` | no | string | Help text shown below the input |
|
|
2004
2060
|
| `label` | no | string | Label shown above the input |
|
|
2005
2061
|
| `placeholder` | no | string | Placeholder text shown when the field is empty |
|