@rippling/pebble-sdui-mobile 0.11.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/catalogs/custom-apps/action-params.d.ts +10 -1
- package/dist/catalogs/custom-apps/actions.d.ts +2 -1
- package/dist/catalogs/custom-apps/catalog.d.ts +2 -2
- package/dist/catalogs/custom-apps/component-events.d.ts +7 -6
- package/dist/catalogs/custom-apps/component-props.d.ts +98 -83
- package/dist/catalogs/custom-apps/components.d.ts +9 -8
- 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 +1805 -1721
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/core/catalog-validation.cjs +2 -0
- package/dist/core/catalog-validation.cjs.map +1 -0
- package/dist/core/catalog-validation.d.ts +21 -0
- package/dist/core/catalog-validation.js +245 -0
- package/dist/core/catalog-validation.js.map +1 -0
- package/dist/core/directives.cjs +2 -0
- package/dist/core/directives.cjs.map +1 -0
- package/dist/core/directives.d.ts +72 -0
- package/dist/core/directives.js +35 -0
- package/dist/core/directives.js.map +1 -0
- package/dist/core/expressions.d.ts +5 -15
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +28 -20
- package/dist/core/index.js.map +1 -1
- package/dist/docs/typescript/mobile/catalogs/custom-apps/actions.md +37 -0
- package/dist/docs/typescript/mobile/catalogs/custom-apps/components.md +164 -135
- package/dist/docs/typescript/mobile/catalogs/custom-apps/definitions.md +131 -23
- package/dist/docs/typescript/mobile/catalogs/custom-apps/readme.md +1 -1
- package/dist/docs/typescript/mobile/catalogs/custom-apps/types.md +109 -99
- package/package.json +1 -1
|
@@ -84,3 +84,40 @@ on: {
|
|
|
84
84
|
press: push({ ... })
|
|
85
85
|
}
|
|
86
86
|
```
|
|
87
|
+
|
|
88
|
+
## triggerApi
|
|
89
|
+
|
|
90
|
+
Call a Rippling internal API endpoint and optionally store its response in SDUI state.
|
|
91
|
+
|
|
92
|
+
`url` (required): relative Rippling path beginning with a single "/". Absolute and protocol-relative URLs are rejected.
|
|
93
|
+
`method` (optional): "GET" or "POST"; defaults to "POST".
|
|
94
|
+
`payload` (optional): query parameters for GET or the JSON body for POST.
|
|
95
|
+
`responsePath` (optional): state path where the response body is stored.
|
|
96
|
+
`errorPath` (optional): on failure, stores `{ status, message }`; a later success clears it to `null`.
|
|
97
|
+
`onSuccess` / `onError` (optional): action lifecycle configuration matching the web SDUI helper.
|
|
98
|
+
|
|
99
|
+
Catalog key: `triggerApi`
|
|
100
|
+
Creator: `triggerApi`
|
|
101
|
+
Params type: `TriggerApiParams`
|
|
102
|
+
|
|
103
|
+
### Params
|
|
104
|
+
|
|
105
|
+
| Name | Required | Type | Description |
|
|
106
|
+
|---|---:|---|---|
|
|
107
|
+
| `errorPath` | no | string | State path where a structured { status, message } error is stored. |
|
|
108
|
+
| `method` | no | [triggerApiMethod](./definitions.md#triggerapimethod) | HTTP method. Defaults to POST. |
|
|
109
|
+
| `onError` | no | unknown | Action lifecycle configuration run after a failed call. |
|
|
110
|
+
| `onSuccess` | no | unknown | Action lifecycle configuration run after a successful call. |
|
|
111
|
+
| `payload` | no | [Payload](./types.md#payload) | POST body or GET query parameters. Defaults to an empty object for POST. |
|
|
112
|
+
| `responsePath` | no | string | State path where the successful response body is stored. |
|
|
113
|
+
| `url` | yes | string | Relative Rippling API path. Absolute and protocol-relative URLs are not allowed. |
|
|
114
|
+
|
|
115
|
+
No additional properties.
|
|
116
|
+
|
|
117
|
+
### Usage Shape
|
|
118
|
+
|
|
119
|
+
```ts
|
|
120
|
+
on: {
|
|
121
|
+
press: triggerApi({ ... })
|
|
122
|
+
}
|
|
123
|
+
```
|
|
@@ -48,6 +48,32 @@ Events: `press`, `open`, `error`
|
|
|
48
48
|
|
|
49
49
|
No additional properties.
|
|
50
50
|
|
|
51
|
+
## Animation
|
|
52
|
+
|
|
53
|
+
Lottie-based branded animation from the pebble animation pack
|
|
54
|
+
|
|
55
|
+
`type` must be a valid pebble animation name. Leave `theme` unset to follow the app color mode.
|
|
56
|
+
|
|
57
|
+
Catalog key: `Animation`
|
|
58
|
+
Builder: `Animation`
|
|
59
|
+
Props type: `AnimationProps`
|
|
60
|
+
Accepts children: no
|
|
61
|
+
Events: _none_
|
|
62
|
+
|
|
63
|
+
### Props
|
|
64
|
+
|
|
65
|
+
| Name | Required | Type | Description |
|
|
66
|
+
|---|---:|---|---|
|
|
67
|
+
| `autoPlay` | no | boolean | Whether the animation auto-plays on mount. Default: true |
|
|
68
|
+
| `loop` | no | boolean | Whether the animation loops. Default: true |
|
|
69
|
+
| `size` | no | number | Square dimension (width = height) for the animation surface. Default: theme.size800 |
|
|
70
|
+
| `speed` | no | number | Playback speed multiplier. Default: 1 |
|
|
71
|
+
| `testID` | no | string | Sets testid on Animation (used for testing purposes) |
|
|
72
|
+
| `theme` | no | [AnimationTheme](./definitions.md#animationtheme) | Forces a specific theme variant. Defaults to the app current color mode |
|
|
73
|
+
| `type` | yes | [AnimationType](./definitions.md#animationtype) | Animation to be shown |
|
|
74
|
+
|
|
75
|
+
No additional properties.
|
|
76
|
+
|
|
51
77
|
## Avatar
|
|
52
78
|
|
|
53
79
|
Circular avatar showing a photo, icon, or initials
|
|
@@ -256,48 +282,6 @@ Events: `press`, `close`
|
|
|
256
282
|
|
|
257
283
|
No additional properties.
|
|
258
284
|
|
|
259
|
-
## CondensedFooter
|
|
260
|
-
|
|
261
|
-
Condensed footer with title, logo icon, and optional action button
|
|
262
|
-
|
|
263
|
-
Catalog key: `CondensedFooter`
|
|
264
|
-
Builder: `CondensedFooter`
|
|
265
|
-
Props type: `CondensedFooterProps`
|
|
266
|
-
Accepts children: no
|
|
267
|
-
Events: `action`
|
|
268
|
-
|
|
269
|
-
### Props
|
|
270
|
-
|
|
271
|
-
| Name | Required | Type | Description |
|
|
272
|
-
|---|---:|---|---|
|
|
273
|
-
| `action` | no | [CondensedFooterAction](./types.md#condensedfooteraction) | Optional action button. Press emits "action". |
|
|
274
|
-
| `logoIcon` | no | string | Pebble icon name to use as the logo |
|
|
275
|
-
| `testID` | no | string | Sets testid on CondensedFooter (used for testing purposes) |
|
|
276
|
-
| `title` | yes | string | Title text in the footer |
|
|
277
|
-
|
|
278
|
-
No additional properties.
|
|
279
|
-
|
|
280
|
-
## CondensedHeader
|
|
281
|
-
|
|
282
|
-
Condensed page header with title
|
|
283
|
-
|
|
284
|
-
Catalog key: `CondensedHeader`
|
|
285
|
-
Builder: `CondensedHeader`
|
|
286
|
-
Props type: `CondensedHeaderProps`
|
|
287
|
-
Accepts children: no
|
|
288
|
-
Events: _none_
|
|
289
|
-
|
|
290
|
-
### Props
|
|
291
|
-
|
|
292
|
-
| Name | Required | Type | Description |
|
|
293
|
-
|---|---:|---|---|
|
|
294
|
-
| `outlined` | no | boolean | Shows an outline border on the header. Default: false |
|
|
295
|
-
| `right` | no | [CondensedHeaderRight](./types.md#condensedheaderright) | A json-render spec to render as the right element on the header |
|
|
296
|
-
| `testID` | no | string | Sets testid on CondensedHeader (used for testing purposes) |
|
|
297
|
-
| `title` | yes | string | Title to show on the header |
|
|
298
|
-
|
|
299
|
-
No additional properties.
|
|
300
|
-
|
|
301
285
|
## Country
|
|
302
286
|
|
|
303
287
|
Country flag icon for a given ISO region code
|
|
@@ -563,29 +547,6 @@ Events: `press`
|
|
|
563
547
|
|
|
564
548
|
No additional properties.
|
|
565
549
|
|
|
566
|
-
## FilterHeader
|
|
567
|
-
|
|
568
|
-
Page header with title, badge, and collapsible filter menu
|
|
569
|
-
|
|
570
|
-
Catalog key: `FilterHeader`
|
|
571
|
-
Builder: `FilterHeader`
|
|
572
|
-
Props type: `FilterHeaderProps`
|
|
573
|
-
Accepts children: no
|
|
574
|
-
Events: `filterMenuPress`
|
|
575
|
-
|
|
576
|
-
### Props
|
|
577
|
-
|
|
578
|
-
| Name | Required | Type | Description |
|
|
579
|
-
|---|---:|---|---|
|
|
580
|
-
| `badge` | no | string | Badge text shown beside the title |
|
|
581
|
-
| `defaultExpanded` | no | boolean | Default expanded state of the filter menu. Default: false |
|
|
582
|
-
| `hideFilterMenu` | no | boolean | If true, hides the filter menu icon. Default: false |
|
|
583
|
-
| `testID` | no | string | Sets testid on FilterHeader (used for testing purposes) |
|
|
584
|
-
| `title` | yes | string | Title to show on the header |
|
|
585
|
-
| `transparent` | no | boolean | If true, transparent background will be applied. Default: false |
|
|
586
|
-
|
|
587
|
-
No additional properties.
|
|
588
|
-
|
|
589
550
|
## FloatingButton
|
|
590
551
|
|
|
591
552
|
Floating action button with shadow, configurable appearance, and haptic feedback
|
|
@@ -611,29 +572,7 @@ Events: `press`
|
|
|
611
572
|
| `spinner` | no | boolean | Shows a loading spinner. Bind to state for async feedback. Default: false |
|
|
612
573
|
| `testID` | no | string | Sets testid on FloatingButton (used for testing purposes) |
|
|
613
574
|
| `variant` | no | [FloatingButtonVariant](./definitions.md#floatingbuttonvariant) | Button variant. Default: base |
|
|
614
|
-
|
|
615
|
-
No additional properties.
|
|
616
|
-
|
|
617
|
-
## Footer
|
|
618
|
-
|
|
619
|
-
Page footer with action buttons
|
|
620
|
-
|
|
621
|
-
actions array items: { id, title, appearance?, disabled? }. All button presses emit "action".
|
|
622
|
-
|
|
623
|
-
Catalog key: `Footer`
|
|
624
|
-
Builder: `Footer`
|
|
625
|
-
Props type: `FooterProps`
|
|
626
|
-
Accepts children: no
|
|
627
|
-
Events: `action`
|
|
628
|
-
|
|
629
|
-
### Props
|
|
630
|
-
|
|
631
|
-
| Name | Required | Type | Description |
|
|
632
|
-
|---|---:|---|---|
|
|
633
|
-
| `actions` | no | [FooterAction](./types.md#footeraction)[] | Array of footer action buttons. All button presses emit "action". |
|
|
634
|
-
| `align` | no | [FooterAlign](./definitions.md#footeralign) | Alignment of buttons in the footer. Default: stretch |
|
|
635
|
-
| `testID` | no | string | Sets testid on Footer (used for testing purposes) |
|
|
636
|
-
| `transparent` | no | boolean | If true, transparent background will be applied |
|
|
575
|
+
| `visible` | no | boolean | Controls whether the floating button is shown. Default: true |
|
|
637
576
|
|
|
638
577
|
No additional properties.
|
|
639
578
|
|
|
@@ -692,29 +631,6 @@ Events: _none_
|
|
|
692
631
|
|
|
693
632
|
No additional properties.
|
|
694
633
|
|
|
695
|
-
## Header
|
|
696
|
-
|
|
697
|
-
Page header with title, optional subtitle and badge
|
|
698
|
-
|
|
699
|
-
Catalog key: `Header`
|
|
700
|
-
Builder: `Header`
|
|
701
|
-
Props type: `HeaderProps`
|
|
702
|
-
Accepts children: no
|
|
703
|
-
Events: _none_
|
|
704
|
-
|
|
705
|
-
### Props
|
|
706
|
-
|
|
707
|
-
| Name | Required | Type | Description |
|
|
708
|
-
|---|---:|---|---|
|
|
709
|
-
| `badge` | no | string | Badge text shown beside the title |
|
|
710
|
-
| `right` | no | [HeaderRight2](./types.md#headerright2) | A json-render spec to render as the right element on the header |
|
|
711
|
-
| `subtitle` | no | string | Subtitle to show on the header |
|
|
712
|
-
| `testID` | no | string | Sets testid on Header (used for testing purposes) |
|
|
713
|
-
| `title` | yes | string | Title to show on the header |
|
|
714
|
-
| `transparent` | no | boolean | If true, transparent background will be applied |
|
|
715
|
-
|
|
716
|
-
No additional properties.
|
|
717
|
-
|
|
718
634
|
## Hidden
|
|
719
635
|
|
|
720
636
|
Hidden state carrier — no visible UI
|
|
@@ -953,29 +869,6 @@ Events: `press`
|
|
|
953
869
|
|
|
954
870
|
No additional properties.
|
|
955
871
|
|
|
956
|
-
## ModalActionHeader
|
|
957
|
-
|
|
958
|
-
Sub-component of ModalSheet. Header with optional left/right action buttons; use inside ModalSheet
|
|
959
|
-
|
|
960
|
-
Catalog key: `ModalActionHeader`
|
|
961
|
-
Builder: `ModalActionHeader`
|
|
962
|
-
Props type: `ModalActionHeaderProps`
|
|
963
|
-
Accepts children: yes
|
|
964
|
-
Events: `leftPress`, `rightPress`
|
|
965
|
-
|
|
966
|
-
### Props
|
|
967
|
-
|
|
968
|
-
| Name | Required | Type | Description |
|
|
969
|
-
|---|---:|---|---|
|
|
970
|
-
| `indicator` | no | boolean | Whether to show an indicator on the header. Default: false |
|
|
971
|
-
| `left` | no | [Left](./types.md#left) | Left action: provide title for text button or iconType for icon button |
|
|
972
|
-
| `right` | no | [ModalActionHeaderRight](./types.md#modalactionheaderright) | Right action: provide title for text button or iconType for icon button |
|
|
973
|
-
| `subtitle` | no | string | Subtitle to show on the header |
|
|
974
|
-
| `testID` | no | string | Sets testid on ModalActionHeader (used for testing purposes) |
|
|
975
|
-
| `title` | no | string | Title to show on the header |
|
|
976
|
-
|
|
977
|
-
No additional properties.
|
|
978
|
-
|
|
979
872
|
## ModalSheet
|
|
980
873
|
|
|
981
874
|
Bottom sheet modal with gesture support and children slot
|
|
@@ -995,7 +888,7 @@ Events: `close`
|
|
|
995
888
|
| `animationDuration` | no | [ModalSheetAnimationDuration](./definitions.md#modalsheetanimationduration) | Motion duration token for the sheet animation. Default: moderate |
|
|
996
889
|
| `disableSafeArea` | no | boolean | If true, disables safe area insets inside the sheet. Default: false |
|
|
997
890
|
| `gesturePinVisible` | no | boolean | If true, shows the gesture pin at the top of the sheet. Default: true |
|
|
998
|
-
| `header` | no | [ModalSheetHeader](./types.md#modalsheetheader) | A json-render spec to render as the header component of the ModalSheet, e.g.
|
|
891
|
+
| `header` | no | [ModalSheetHeader](./types.md#modalsheetheader) | A json-render spec to render as the header component of the ModalSheet, e.g. PageModalActionHeader |
|
|
999
892
|
| `testID` | no | string | Sets testid on ModalSheet (used for testing purposes) |
|
|
1000
893
|
| `visible` | yes | boolean | If true, the ModalSheet will be visible |
|
|
1001
894
|
|
|
@@ -1160,6 +1053,142 @@ Events: _none_
|
|
|
1160
1053
|
|
|
1161
1054
|
No additional properties.
|
|
1162
1055
|
|
|
1056
|
+
## PageCondensedFooter
|
|
1057
|
+
|
|
1058
|
+
Condensed footer with title, logo icon, and optional action button
|
|
1059
|
+
|
|
1060
|
+
Catalog key: `PageCondensedFooter`
|
|
1061
|
+
Builder: `PageCondensedFooter`
|
|
1062
|
+
Props type: `PageCondensedFooterProps`
|
|
1063
|
+
Accepts children: no
|
|
1064
|
+
Events: `action`
|
|
1065
|
+
|
|
1066
|
+
### Props
|
|
1067
|
+
|
|
1068
|
+
| Name | Required | Type | Description |
|
|
1069
|
+
|---|---:|---|---|
|
|
1070
|
+
| `action` | no | [PageCondensedFooterAction](./types.md#pagecondensedfooteraction) | Optional action button. Press emits "action". |
|
|
1071
|
+
| `logoIcon` | no | string | Pebble icon name to use as the logo |
|
|
1072
|
+
| `testID` | no | string | Sets testid on CondensedFooter (used for testing purposes) |
|
|
1073
|
+
| `title` | yes | string | Title text in the footer |
|
|
1074
|
+
|
|
1075
|
+
No additional properties.
|
|
1076
|
+
|
|
1077
|
+
## PageCondensedHeader
|
|
1078
|
+
|
|
1079
|
+
Condensed page header with title
|
|
1080
|
+
|
|
1081
|
+
Catalog key: `PageCondensedHeader`
|
|
1082
|
+
Builder: `PageCondensedHeader`
|
|
1083
|
+
Props type: `PageCondensedHeaderProps`
|
|
1084
|
+
Accepts children: no
|
|
1085
|
+
Events: _none_
|
|
1086
|
+
|
|
1087
|
+
### Props
|
|
1088
|
+
|
|
1089
|
+
| Name | Required | Type | Description |
|
|
1090
|
+
|---|---:|---|---|
|
|
1091
|
+
| `outlined` | no | boolean | Shows an outline border on the header. Default: false |
|
|
1092
|
+
| `right` | no | [PageCondensedHeaderRight](./types.md#pagecondensedheaderright) | A json-render spec to render as the right element on the header |
|
|
1093
|
+
| `testID` | no | string | Sets testid on CondensedHeader (used for testing purposes) |
|
|
1094
|
+
| `title` | yes | string | Title to show on the header |
|
|
1095
|
+
|
|
1096
|
+
No additional properties.
|
|
1097
|
+
|
|
1098
|
+
## PageFilterHeader
|
|
1099
|
+
|
|
1100
|
+
Page header with title, badge, and collapsible filter menu
|
|
1101
|
+
|
|
1102
|
+
Catalog key: `PageFilterHeader`
|
|
1103
|
+
Builder: `PageFilterHeader`
|
|
1104
|
+
Props type: `PageFilterHeaderProps`
|
|
1105
|
+
Accepts children: no
|
|
1106
|
+
Events: `filterMenuPress`
|
|
1107
|
+
|
|
1108
|
+
### Props
|
|
1109
|
+
|
|
1110
|
+
| Name | Required | Type | Description |
|
|
1111
|
+
|---|---:|---|---|
|
|
1112
|
+
| `badge` | no | string | Badge text shown beside the title |
|
|
1113
|
+
| `defaultExpanded` | no | boolean | Default expanded state of the filter menu. Default: false |
|
|
1114
|
+
| `hideFilterMenu` | no | boolean | If true, hides the filter menu icon. Default: false |
|
|
1115
|
+
| `testID` | no | string | Sets testid on FilterHeader (used for testing purposes) |
|
|
1116
|
+
| `title` | yes | string | Title to show on the header |
|
|
1117
|
+
| `transparent` | no | boolean | If true, transparent background will be applied. Default: false |
|
|
1118
|
+
|
|
1119
|
+
No additional properties.
|
|
1120
|
+
|
|
1121
|
+
## PageFooter
|
|
1122
|
+
|
|
1123
|
+
A page-level footer displaying primary and secondary action buttons. Use with PageHeader and PageContent to construct a page layout.
|
|
1124
|
+
|
|
1125
|
+
PageFooter renders the Page.Footer component from Pebble Mobile. actions array items: { id, title, appearance?, disabled? }. All button presses emit "action".
|
|
1126
|
+
|
|
1127
|
+
Catalog key: `PageFooter`
|
|
1128
|
+
Builder: `PageFooter`
|
|
1129
|
+
Props type: `PageFooterProps`
|
|
1130
|
+
Accepts children: no
|
|
1131
|
+
Events: `action`
|
|
1132
|
+
|
|
1133
|
+
### Props
|
|
1134
|
+
|
|
1135
|
+
| Name | Required | Type | Description |
|
|
1136
|
+
|---|---:|---|---|
|
|
1137
|
+
| `actions` | no | [PageFooterAction](./types.md#pagefooteraction)[] | Array of page footer action buttons. All button presses emit "action". |
|
|
1138
|
+
| `align` | no | [PageFooterAlign](./definitions.md#pagefooteralign) | Alignment of buttons in the page footer. Default: stretch |
|
|
1139
|
+
| `testID` | no | string | Sets the test ID on PageFooter |
|
|
1140
|
+
| `transparent` | no | boolean | Applies a transparent background to the page footer |
|
|
1141
|
+
|
|
1142
|
+
No additional properties.
|
|
1143
|
+
|
|
1144
|
+
## PageHeader
|
|
1145
|
+
|
|
1146
|
+
A top-of-page header displaying a title, optional subtitle, and badge. Use with PageContent and PageFooter to construct a page layout.
|
|
1147
|
+
|
|
1148
|
+
PageHeader renders the Page.Header component from Pebble Mobile. Use it only as page-level chrome; use AppBar for push-navigated screens that require back navigation and safe-area handling.
|
|
1149
|
+
|
|
1150
|
+
Catalog key: `PageHeader`
|
|
1151
|
+
Builder: `PageHeader`
|
|
1152
|
+
Props type: `PageHeaderProps`
|
|
1153
|
+
Accepts children: no
|
|
1154
|
+
Events: _none_
|
|
1155
|
+
|
|
1156
|
+
### Props
|
|
1157
|
+
|
|
1158
|
+
| Name | Required | Type | Description |
|
|
1159
|
+
|---|---:|---|---|
|
|
1160
|
+
| `badge` | no | string | Badge text shown beside the title |
|
|
1161
|
+
| `right` | no | [PageHeaderRight](./types.md#pageheaderright) | A json-render spec rendered on the right side of the page header |
|
|
1162
|
+
| `subtitle` | no | string | Optional subtitle displayed below the page header title |
|
|
1163
|
+
| `testID` | no | string | Sets the test ID on PageHeader |
|
|
1164
|
+
| `title` | yes | string | Title displayed in the page header |
|
|
1165
|
+
| `transparent` | no | boolean | Applies a transparent background to the page header |
|
|
1166
|
+
|
|
1167
|
+
No additional properties.
|
|
1168
|
+
|
|
1169
|
+
## PageModalActionHeader
|
|
1170
|
+
|
|
1171
|
+
Sub-component of ModalSheet. Header with optional left/right action buttons; use inside ModalSheet
|
|
1172
|
+
|
|
1173
|
+
Catalog key: `PageModalActionHeader`
|
|
1174
|
+
Builder: `PageModalActionHeader`
|
|
1175
|
+
Props type: `PageModalActionHeaderProps`
|
|
1176
|
+
Accepts children: yes
|
|
1177
|
+
Events: `leftPress`, `rightPress`
|
|
1178
|
+
|
|
1179
|
+
### Props
|
|
1180
|
+
|
|
1181
|
+
| Name | Required | Type | Description |
|
|
1182
|
+
|---|---:|---|---|
|
|
1183
|
+
| `indicator` | no | boolean | Whether to show an indicator on the header. Default: false |
|
|
1184
|
+
| `left` | no | [Left](./types.md#left) | Left action: provide title for text button or iconType for icon button |
|
|
1185
|
+
| `right` | no | [PageModalActionHeaderRight](./types.md#pagemodalactionheaderright) | Right action: provide title for text button or iconType for icon button |
|
|
1186
|
+
| `subtitle` | no | string | Subtitle to show on the header |
|
|
1187
|
+
| `testID` | no | string | Sets testid on ModalActionHeader (used for testing purposes) |
|
|
1188
|
+
| `title` | no | string | Title to show on the header |
|
|
1189
|
+
|
|
1190
|
+
No additional properties.
|
|
1191
|
+
|
|
1163
1192
|
## Password
|
|
1164
1193
|
|
|
1165
1194
|
Password input with optional reveal toggle
|
|
@@ -3,6 +3,93 @@
|
|
|
3
3
|
|
|
4
4
|
Enum values are defined here so component, action, function, and type tables can link to them without duplicating allowed values.
|
|
5
5
|
|
|
6
|
+
## AnimationTheme
|
|
7
|
+
|
|
8
|
+
TypeScript type:
|
|
9
|
+
|
|
10
|
+
```ts
|
|
11
|
+
"light" | "dark"
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Allowed values:
|
|
15
|
+
|
|
16
|
+
| Value |
|
|
17
|
+
|---|
|
|
18
|
+
| `light` |
|
|
19
|
+
| `dark` |
|
|
20
|
+
|
|
21
|
+
Referenced by:
|
|
22
|
+
|
|
23
|
+
| Kind | Entity | Field |
|
|
24
|
+
|---|---|---|
|
|
25
|
+
| component | `Animation` | `theme` |
|
|
26
|
+
|
|
27
|
+
## AnimationType
|
|
28
|
+
|
|
29
|
+
TypeScript type:
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
"add" | "airplane" | "barChartDecrease" | "barChartIncrease" | "brain" | "brainAi" | "calendar" | "checkMark" | "clock" | "coinsUsd" | "creditCard" | "document" | "enterprise" | "exclamationMark" | "folders" | "gear" | "gearHeart" | "gearPlay" | "globe" | "gradCap" | "handshake" | "heart" | "integration" | "inventoryManagement" | "laptop" | "laptopDev" | "lightningBolt" | "lock" | "lockUnlocked" | "magnifyingGlass" | "magnifyingGlassQuestionMark" | "noWifi" | "offboarding" | "onboarding" | "payrollEuro" | "payrollRupee" | "payrollUsd" | "payrollYen" | "questionMark" | "receipt" | "refresh" | "shieldCheck" | "speechBubble" | "thirdParty" | "train" | "unifiedSystem" | "x"
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Allowed values:
|
|
36
|
+
|
|
37
|
+
| Value |
|
|
38
|
+
|---|
|
|
39
|
+
| `add` |
|
|
40
|
+
| `airplane` |
|
|
41
|
+
| `barChartDecrease` |
|
|
42
|
+
| `barChartIncrease` |
|
|
43
|
+
| `brain` |
|
|
44
|
+
| `brainAi` |
|
|
45
|
+
| `calendar` |
|
|
46
|
+
| `checkMark` |
|
|
47
|
+
| `clock` |
|
|
48
|
+
| `coinsUsd` |
|
|
49
|
+
| `creditCard` |
|
|
50
|
+
| `document` |
|
|
51
|
+
| `enterprise` |
|
|
52
|
+
| `exclamationMark` |
|
|
53
|
+
| `folders` |
|
|
54
|
+
| `gear` |
|
|
55
|
+
| `gearHeart` |
|
|
56
|
+
| `gearPlay` |
|
|
57
|
+
| `globe` |
|
|
58
|
+
| `gradCap` |
|
|
59
|
+
| `handshake` |
|
|
60
|
+
| `heart` |
|
|
61
|
+
| `integration` |
|
|
62
|
+
| `inventoryManagement` |
|
|
63
|
+
| `laptop` |
|
|
64
|
+
| `laptopDev` |
|
|
65
|
+
| `lightningBolt` |
|
|
66
|
+
| `lock` |
|
|
67
|
+
| `lockUnlocked` |
|
|
68
|
+
| `magnifyingGlass` |
|
|
69
|
+
| `magnifyingGlassQuestionMark` |
|
|
70
|
+
| `noWifi` |
|
|
71
|
+
| `offboarding` |
|
|
72
|
+
| `onboarding` |
|
|
73
|
+
| `payrollEuro` |
|
|
74
|
+
| `payrollRupee` |
|
|
75
|
+
| `payrollUsd` |
|
|
76
|
+
| `payrollYen` |
|
|
77
|
+
| `questionMark` |
|
|
78
|
+
| `receipt` |
|
|
79
|
+
| `refresh` |
|
|
80
|
+
| `shieldCheck` |
|
|
81
|
+
| `speechBubble` |
|
|
82
|
+
| `thirdParty` |
|
|
83
|
+
| `train` |
|
|
84
|
+
| `unifiedSystem` |
|
|
85
|
+
| `x` |
|
|
86
|
+
|
|
87
|
+
Referenced by:
|
|
88
|
+
|
|
89
|
+
| Kind | Entity | Field |
|
|
90
|
+
|---|---|---|
|
|
91
|
+
| component | `Animation` | `type` |
|
|
92
|
+
|
|
6
93
|
## AssetSize
|
|
7
94
|
|
|
8
95
|
TypeScript type:
|
|
@@ -1420,7 +1507,7 @@ Referenced by:
|
|
|
1420
1507
|
| type | `ButtonProp` | `leftIcon` |
|
|
1421
1508
|
| type | `ButtonProp` | `rightIcon` |
|
|
1422
1509
|
| type | `Left` | `iconType` |
|
|
1423
|
-
| type | `
|
|
1510
|
+
| type | `PageModalActionHeaderRight` | `iconType` |
|
|
1424
1511
|
|
|
1425
1512
|
## BadgeAppearance
|
|
1426
1513
|
|
|
@@ -1786,28 +1873,6 @@ Referenced by:
|
|
|
1786
1873
|
|---|---|---|
|
|
1787
1874
|
| component | `FloatingButton` | `variant` |
|
|
1788
1875
|
|
|
1789
|
-
## FooterAlign
|
|
1790
|
-
|
|
1791
|
-
TypeScript type:
|
|
1792
|
-
|
|
1793
|
-
```ts
|
|
1794
|
-
"left" | "stretch" | "right"
|
|
1795
|
-
```
|
|
1796
|
-
|
|
1797
|
-
Allowed values:
|
|
1798
|
-
|
|
1799
|
-
| Value |
|
|
1800
|
-
|---|
|
|
1801
|
-
| `left` |
|
|
1802
|
-
| `stretch` |
|
|
1803
|
-
| `right` |
|
|
1804
|
-
|
|
1805
|
-
Referenced by:
|
|
1806
|
-
|
|
1807
|
-
| Kind | Entity | Field |
|
|
1808
|
-
|---|---|---|
|
|
1809
|
-
| component | `Footer` | `align` |
|
|
1810
|
-
|
|
1811
1876
|
## HStackAlign
|
|
1812
1877
|
|
|
1813
1878
|
TypeScript type:
|
|
@@ -3090,6 +3155,28 @@ Referenced by:
|
|
|
3090
3155
|
|---|---|---|
|
|
3091
3156
|
| component | `ObjectItem` | `appearance` |
|
|
3092
3157
|
|
|
3158
|
+
## PageFooterAlign
|
|
3159
|
+
|
|
3160
|
+
TypeScript type:
|
|
3161
|
+
|
|
3162
|
+
```ts
|
|
3163
|
+
"left" | "stretch" | "right"
|
|
3164
|
+
```
|
|
3165
|
+
|
|
3166
|
+
Allowed values:
|
|
3167
|
+
|
|
3168
|
+
| Value |
|
|
3169
|
+
|---|
|
|
3170
|
+
| `left` |
|
|
3171
|
+
| `stretch` |
|
|
3172
|
+
| `right` |
|
|
3173
|
+
|
|
3174
|
+
Referenced by:
|
|
3175
|
+
|
|
3176
|
+
| Kind | Entity | Field |
|
|
3177
|
+
|---|---|---|
|
|
3178
|
+
| component | `PageFooter` | `align` |
|
|
3179
|
+
|
|
3093
3180
|
## PressableHaptic
|
|
3094
3181
|
|
|
3095
3182
|
TypeScript type:
|
|
@@ -3661,6 +3748,27 @@ Referenced by:
|
|
|
3661
3748
|
|---|---|---|
|
|
3662
3749
|
| component | `Time` | `format` |
|
|
3663
3750
|
|
|
3751
|
+
## triggerApiMethod
|
|
3752
|
+
|
|
3753
|
+
TypeScript type:
|
|
3754
|
+
|
|
3755
|
+
```ts
|
|
3756
|
+
"GET" | "POST"
|
|
3757
|
+
```
|
|
3758
|
+
|
|
3759
|
+
Allowed values:
|
|
3760
|
+
|
|
3761
|
+
| Value |
|
|
3762
|
+
|---|
|
|
3763
|
+
| `GET` |
|
|
3764
|
+
| `POST` |
|
|
3765
|
+
|
|
3766
|
+
Referenced by:
|
|
3767
|
+
|
|
3768
|
+
| Kind | Entity | Field |
|
|
3769
|
+
|---|---|---|
|
|
3770
|
+
| action | `triggerApi` | `method` |
|
|
3771
|
+
|
|
3664
3772
|
## WidgetContentShimmerTemplate
|
|
3665
3773
|
|
|
3666
3774
|
TypeScript type:
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# custom-apps Catalog
|
|
3
3
|
|
|
4
4
|
Catalog: `custom-apps`
|
|
5
|
-
Version: `1.
|
|
5
|
+
Version: `1.5.1`
|
|
6
6
|
SDK language: `typescript`
|
|
7
7
|
|
|
8
8
|
Use this catalog index after you have chosen this catalog for the spec. Do not mix components, actions, computed functions, or render helpers from another catalog unless that catalog explicitly documents compatibility.
|