@streamscloud/kit 0.94.6 → 0.94.7

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.
@@ -24,6 +24,8 @@ export {};
24
24
  Container surface with border, panel background, and rounded corners. Optional `header` and `footer`
25
25
  snippets render in chrome with their own dividers. Pass `on.click` to switch to button-mode — the
26
26
  whole card becomes a clickable target with hover and focus state, no `interactive` flag needed.
27
+ When a parent stretches the card (a grid row, a flex row), the body takes the free height, so body
28
+ content with `block-size: 100%` can pin its own bottom row.
27
29
 
28
30
  ### CSS Custom Properties
29
31
  | Property | Description | Default |
@@ -59,7 +61,8 @@ whole card becomes a clickable target with hover and focus state, no `interactiv
59
61
  --_card--header-padding: var(--sc-kit--card--header--padding, var(--sc-kit--space--3) var(--_card--chrome-padding-inline));
60
62
  --_card--body-padding: var(--sc-kit--card--body--padding, var(--_card--body-padding-default));
61
63
  --_card--footer-padding: var(--sc-kit--card--footer--padding, var(--sc-kit--space--3) var(--_card--chrome-padding-inline));
62
- display: block;
64
+ display: flex;
65
+ flex-direction: column;
63
66
  width: 100%;
64
67
  box-sizing: border-box;
65
68
  background: var(--_card--background);
@@ -89,6 +92,8 @@ whole card becomes a clickable target with hover and focus state, no `interactiv
89
92
  --_card--chrome-padding-inline: var(--sc-kit--space--6);
90
93
  }
91
94
  .card__body {
95
+ flex: 1 1 0%;
96
+ min-height: 0;
92
97
  padding: var(--_card--body-padding);
93
98
  }
94
99
  .card__header {
@@ -21,6 +21,8 @@ type Props = {
21
21
  * Container surface with border, panel background, and rounded corners. Optional `header` and `footer`
22
22
  * snippets render in chrome with their own dividers. Pass `on.click` to switch to button-mode — the
23
23
  * whole card becomes a clickable target with hover and focus state, no `interactive` flag needed.
24
+ * When a parent stretches the card (a grid row, a flex row), the body takes the free height, so body
25
+ * content with `block-size: 100%` can pin its own bottom row.
24
26
  *
25
27
  * ### CSS Custom Properties
26
28
  * | Property | Description | Default |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamscloud/kit",
3
- "version": "0.94.6",
3
+ "version": "0.94.7",
4
4
  "author": "StreamsCloud",
5
5
  "repository": {
6
6
  "type": "git",