@behivetech/atoms.card 0.4.3 → 0.4.4

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.
Files changed (3) hide show
  1. package/README.md +2 -14
  2. package/docs.json +1 -1
  3. package/package.json +3 -1
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  A surface container with configurable padding and an optional header (icon + title + an `action` slot).
4
4
 
5
+ Docs: https://bht-galaxy.vercel.app/behivetech/atoms/card
6
+
5
7
  ## Usage
6
8
 
7
9
  ```jsx
@@ -78,17 +80,3 @@ This is the same job MUI's `CardActionArea` does, folded into `Card` itself rath
78
80
  --card-radius: 0;
79
81
  }
80
82
  ```
81
-
82
- ## Props
83
-
84
- | Prop | Type | Default | Description |
85
- | ---------------- | -------------------------------------- | ------- | --------------------------------------------------------------------------------------------- |
86
- | `padding` | `none \| sm \| md \| lg` | `none` | Internal padding — applies to the body when a header is present |
87
- | `icon` | `ReactNode` | — | Optional icon rendered before the title |
88
- | `title` | `ReactNode` | — | Optional header title |
89
- | `headingLevel` | `1 \| 2 \| 3 \| 4 \| 5 \| 6` | `3` | Which heading tag wraps `title` |
90
- | `action` | `ReactNode` | — | Optional content rendered at the end of the header |
91
- | `onSelect` | `MouseEventHandler<HTMLButtonElement>` | — | Makes the body a clickable `<button>` with hover/focus affordance and a centered stack layout |
92
- | `scrollableBody` | `boolean` | `false` | Keeps the header fixed and scrolls only the body; for cards with a bounded height |
93
- | `children` | `ReactNode` | — | Card content |
94
- | `className` | `string` | — | Additional class names |
package/docs.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://github.com/behivetech/bht-component-registry/docs.schema.json",
3
3
  "version": 2,
4
- "generatedAt": "2026-10-23T16:58:38.627Z",
4
+ "generatedAt": "2026-10-23T19:00:25.314Z",
5
5
  "docs": [
6
6
  {
7
7
  "displayName": "Card",
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@behivetech/atoms.card",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "license": "MIT",
5
+ "description": "A surface container with configurable padding and an optional header (icon + title + an `action` slot).",
5
6
  "type": "module",
6
7
  "private": false,
7
8
  "exports": {
@@ -46,6 +47,7 @@
46
47
  "url": "https://github.com/behivetech/bht-galaxy.git",
47
48
  "directory": "registry/behivetech/atoms/card"
48
49
  },
50
+ "homepage": "https://bht-galaxy.vercel.app/behivetech/atoms/card",
49
51
  "publishConfig": {
50
52
  "registry": "https://registry.npmjs.org",
51
53
  "access": "public",