@rippling/pebble-sdui-web 0.24.0 → 0.25.3
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/catalog.d.ts +1 -1
- package/dist/catalogs/custom-apps/component-events.d.ts +1 -0
- package/dist/catalogs/custom-apps/component-props.d.ts +22 -0
- package/dist/catalogs/custom-apps/components.d.ts +3 -2
- package/dist/catalogs/custom-apps/index.cjs +2 -2
- package/dist/catalogs/custom-apps/index.cjs.map +1 -1
- package/dist/catalogs/custom-apps/index.d.ts +3 -3
- package/dist/catalogs/custom-apps/index.js +180 -93
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/docs/typescript/web/catalogs/custom-apps/components.md +28 -3
- package/dist/docs/typescript/web/catalogs/custom-apps/definitions.md +21 -0
- package/dist/docs/typescript/web/catalogs/custom-apps/readme.md +1 -1
- package/dist/docs/typescript/web/catalogs/custom-apps/types.md +36 -0
- package/package.json +1 -1
|
@@ -619,7 +619,7 @@ No additional properties.
|
|
|
619
619
|
|
|
620
620
|
Visually groups related information and components into a contained, interactive card. Use for summarizing content, facilitating comparisons, or guiding users toward specific actions. Renders as a simple layout container when used with children only (no title/content).
|
|
621
621
|
|
|
622
|
-
Card emits "click" when clicked, "edit"/"delete" for those actions, "add" for add cards, and "action" when a dropdown action is clicked. The clicked action id is written to the selectedActionId bound state before the "action" event fires. Use "to" prop for navigation. Use "content" prop for simple text or children for complex layouts.
|
|
622
|
+
Card emits "click" when clicked, "edit"/"delete" for those actions, "add" for add cards, and "action" when a dropdown action is clicked. The clicked action id is written to the selectedActionId bound state before the "action" event fires. Use "to" prop for navigation. Use "content" prop for simple text or children for complex layouts. Padding and fluid work in both modes, including when title or content selects Card.Basic. Prefer spacing tokens for padding (e.g. space300); existing numeric and CSS padding inputs remain supported. Omitted padding preserves each mode's existing default. The theme prop only applies to layout mode (children only, no title/content). IMPORTANT: There is no margin beneath the card title. Use a VStack with a top padding token as the first child of the Card to create spacing between the title and the content below.
|
|
623
623
|
|
|
624
624
|
Catalog key: `Card`
|
|
625
625
|
Builder: `Card`
|
|
@@ -634,11 +634,11 @@ Events: `edit`, `delete`, `add`, `click`, `action`
|
|
|
634
634
|
| `actions` | no | [CardAction](./types.md#cardaction)[] | Array of action objects {id, label, icon}. Displayed as dropdown options. Emits "action" event with clicked action id written to actionId state |
|
|
635
635
|
| `actionsDropdownWidth` | no | number | Width in pixels for the actions dropdown |
|
|
636
636
|
| `content` | no | string | Text content to display in the card body |
|
|
637
|
-
| `fluid` | no | boolean |
|
|
637
|
+
| `fluid` | no | boolean | When true, the card fills its parent width in both layout and basic card modes, including inside row layouts where it would otherwise size to its content. Default: false |
|
|
638
638
|
| `isAddCard` | no | boolean | Render as add card with plus icon. Emits "add" event when clicked. Default: false |
|
|
639
639
|
| `isDisabled` | no | boolean | Whether the card is disabled. Default: false |
|
|
640
640
|
| `minCardHeight` | no | number \| string | Minimum height of card. Number values are pixels. Default: 150 |
|
|
641
|
-
| `padding` | no | 0 \| 8 \| 16 \| 24 \| 32 \| [BoxGap](./definitions.md#boxgap) \| string |
|
|
641
|
+
| `padding` | no | 0 \| 8 \| 16 \| 24 \| 32 \| [BoxGap](./definitions.md#boxgap) \| string | Padding in layout and basic card modes. Spacing token (e.g. space300), number (0, 8, 16, 24, 32), or CSS padding string. Spacing tokens are resolved from the active theme. CSS strings pass through unchanged. Omit to preserve each mode's existing default |
|
|
642
642
|
| `selectedActionId` | no | string | Bound state path for the selected action id. Written before "action" event fires |
|
|
643
643
|
| `showDelete` | no | boolean | Show delete button. Emits "delete" event when clicked. Default: false |
|
|
644
644
|
| `showEdit` | no | boolean | Show edit button. Emits "edit" event when clicked. Default: false |
|
|
@@ -5298,6 +5298,31 @@ Events: `change`
|
|
|
5298
5298
|
|
|
5299
5299
|
No additional properties.
|
|
5300
5300
|
|
|
5301
|
+
## RPassCredentialSelection
|
|
5302
|
+
|
|
5303
|
+
Open the first-party RPass credential picker and return the confirmed local item identity through a bound selection.
|
|
5304
|
+
|
|
5305
|
+
Both isOpen and selection must use $bindState paths. Initialize selection as {status:"unselected"}. approved fires only after selection is written and isOpen is closed; cancelled keeps the prior selection. Events are notification-only. Never put secrets in state.
|
|
5306
|
+
|
|
5307
|
+
Catalog key: `RPassCredentialSelection`
|
|
5308
|
+
Builder: `RPassCredentialSelection`
|
|
5309
|
+
Props type: `RPassCredentialSelectionProps`
|
|
5310
|
+
Accepts children: no
|
|
5311
|
+
Events: `approved`, `cancelled`
|
|
5312
|
+
|
|
5313
|
+
### Props
|
|
5314
|
+
|
|
5315
|
+
| Name | Required | Type | Description |
|
|
5316
|
+
|---|---:|---|---|
|
|
5317
|
+
| `defaultCredentialName` | no | string | Editable login name prefilled when the user creates a credential. Existing credentials are not renamed. |
|
|
5318
|
+
| `defaultCredentialUrl` | no | string | Editable website URL prefilled when creating a credential, including its login path. Defaults to the approval request targetOrigin. Does not change the authorized origin. |
|
|
5319
|
+
| `isOpen` | yes | boolean | Required writable state binding controlling the picker. |
|
|
5320
|
+
| `requestedFields` | yes | string[] | Fields requested by the caller. |
|
|
5321
|
+
| `selection` | yes | [Selection](./types.md#selection) \| [SelectionVariant2](./types.md#selectionvariant2) | Required writable state binding. Initialize with {status:"unselected"}; approval replaces it with the exact local credential identity. |
|
|
5322
|
+
| `targetOrigin` | yes | string | HTTPS website origin requesting credential use. |
|
|
5323
|
+
|
|
5324
|
+
No additional properties.
|
|
5325
|
+
|
|
5301
5326
|
## SegmentedControl
|
|
5302
5327
|
|
|
5303
5328
|
A linear set of buttons for toggling between closely related choices (2-5 short-label options) and instantly applying a selection. Supports single, multi, and range selection modes. NOT suitable for binary (2-option) choices — use Toggle or ToggleButton instead. Prefer over Radio when options are short labels needing a compact inline layout; use Radio for longer phrases, Tabs for content navigation.
|
|
@@ -4113,6 +4113,27 @@ Referenced by:
|
|
|
4113
4113
|
|---|---|---|
|
|
4114
4114
|
| component | `SelectableMenu` | `theme` |
|
|
4115
4115
|
|
|
4116
|
+
## SelectionVariant2CredentialVault
|
|
4117
|
+
|
|
4118
|
+
TypeScript type:
|
|
4119
|
+
|
|
4120
|
+
```ts
|
|
4121
|
+
"personal" | "company"
|
|
4122
|
+
```
|
|
4123
|
+
|
|
4124
|
+
Allowed values:
|
|
4125
|
+
|
|
4126
|
+
| Value |
|
|
4127
|
+
|---|
|
|
4128
|
+
| `personal` |
|
|
4129
|
+
| `company` |
|
|
4130
|
+
|
|
4131
|
+
Referenced by:
|
|
4132
|
+
|
|
4133
|
+
| Kind | Entity | Field |
|
|
4134
|
+
|---|---|---|
|
|
4135
|
+
| type | `SelectionVariant2` | `credentialVault` |
|
|
4136
|
+
|
|
4116
4137
|
## showNotificationVariant
|
|
4117
4138
|
|
|
4118
4139
|
TypeScript type:
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# custom-apps Catalog
|
|
3
3
|
|
|
4
4
|
Catalog: `custom-apps`
|
|
5
|
-
Version: `1.
|
|
5
|
+
Version: `1.16.3`
|
|
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.
|
|
@@ -1113,6 +1113,19 @@ No additional properties.
|
|
|
1113
1113
|
|
|
1114
1114
|
No additional properties.
|
|
1115
1115
|
|
|
1116
|
+
## Display
|
|
1117
|
+
|
|
1118
|
+
Display title and username/owner line from the picker. Never includes passwords or vault keys.
|
|
1119
|
+
|
|
1120
|
+
### Fields
|
|
1121
|
+
|
|
1122
|
+
| Name | Required | Type | Description |
|
|
1123
|
+
|---|---:|---|---|
|
|
1124
|
+
| `subtitle` | yes | string | |
|
|
1125
|
+
| `title` | yes | string | |
|
|
1126
|
+
|
|
1127
|
+
No additional properties.
|
|
1128
|
+
|
|
1116
1129
|
## DraggableListList
|
|
1117
1130
|
|
|
1118
1131
|
### Fields
|
|
@@ -4200,6 +4213,29 @@ _No fields._
|
|
|
4200
4213
|
|
|
4201
4214
|
Additional properties: unknown.
|
|
4202
4215
|
|
|
4216
|
+
## Selection
|
|
4217
|
+
|
|
4218
|
+
### Fields
|
|
4219
|
+
|
|
4220
|
+
| Name | Required | Type | Description |
|
|
4221
|
+
|---|---:|---|---|
|
|
4222
|
+
| `status` | yes | "unselected" | |
|
|
4223
|
+
|
|
4224
|
+
No additional properties.
|
|
4225
|
+
|
|
4226
|
+
## SelectionVariant2
|
|
4227
|
+
|
|
4228
|
+
### Fields
|
|
4229
|
+
|
|
4230
|
+
| Name | Required | Type | Description |
|
|
4231
|
+
|---|---:|---|---|
|
|
4232
|
+
| `credentialItemId` | yes | string | |
|
|
4233
|
+
| `credentialVault` | yes | [SelectionVariant2CredentialVault](./definitions.md#selectionvariant2credentialvault) | |
|
|
4234
|
+
| `display` | no | [Display](./types.md#display) | Display title and username/owner line from the picker. Never includes passwords or vault keys. |
|
|
4235
|
+
| `requestId` | yes | string | |
|
|
4236
|
+
|
|
4237
|
+
No additional properties.
|
|
4238
|
+
|
|
4203
4239
|
## SelectList
|
|
4204
4240
|
|
|
4205
4241
|
### Fields
|