@rippling/pebble-sdui-web 0.24.0 → 0.24.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/catalog.d.ts +1 -1
- package/dist/catalogs/custom-apps/index.cjs +1 -1
- package/dist/catalogs/custom-apps/index.cjs.map +1 -1
- package/dist/catalogs/custom-apps/index.js +3 -3
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/docs/typescript/web/catalogs/custom-apps/components.md +3 -3
- package/dist/docs/typescript/web/catalogs/custom-apps/readme.md +1 -1
- 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 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# custom-apps Catalog
|
|
3
3
|
|
|
4
4
|
Catalog: `custom-apps`
|
|
5
|
-
Version: `1.15.
|
|
5
|
+
Version: `1.15.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.
|