@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.
@@ -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. In layout mode (children only, no title/content), padding, theme, and fluid are passed to Card.Layout. Prefer spacing tokens for padding (e.g. space300). Existing numeric and CSS padding inputs remain supported. Padding is ignored in basic card mode. IMPORTANT: There is no margin beneath the card title. Always 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.
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 | Layout mode only. When true, the card fills its parent width (including inside row layouts, where it would otherwise size to its content). Ignored when title or content is set (basic card mode). Default: false |
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 | Layout mode only (children without title/content). Spacing token (e.g. space300), Card.Layout PADDINGS number (0, 8, 16, 24, 32), or CSS padding string. Spacing tokens are resolved from the active theme. CSS strings pass through unchanged. Ignored in basic card mode |
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.0`
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rippling/pebble-sdui-web",
3
- "version": "0.24.0",
3
+ "version": "0.24.1",
4
4
  "description": "Type-safe TypeScript web SDK for authoring json-render specs",
5
5
  "repository": {
6
6
  "type": "git",