@behivetech/atoms.button 0.4.2 → 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 -12
  2. package/docs.json +1 -1
  3. package/package.json +5 -3
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  A flexible button component with variants, sizes, loading and disabled states.
4
4
 
5
+ Docs: https://bht-galaxy.vercel.app/behivetech/atoms/button
6
+
5
7
  ## Variants
6
8
 
7
9
  ```jsx
@@ -41,15 +43,3 @@ For buttons whose content is a single icon (glyph, `<svg>`, etc.) with no visibl
41
43
  ✕
42
44
  </Button>
43
45
  ```
44
-
45
- ## Props
46
-
47
- | Prop | Type | Default | Description |
48
- | ----------- | ----------------------------------------- | --------- | -------------------------------------------------------------------------- |
49
- | `variant` | `primary \| secondary \| ghost \| danger` | `primary` | Visual style |
50
- | `size` | `sm \| md \| lg` | `md` | Button size |
51
- | `loading` | `boolean` | `false` | Shows spinner, disables interaction |
52
- | `iconOnly` | `boolean` | `false` | Square, padding-free layout for icon-only content — pair with `aria-label` |
53
- | `disabled` | `boolean` | `false` | Disables the button |
54
- | `children` | `ReactNode` | — | Button label |
55
- | `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-20T05:49:23.249Z",
4
+ "generatedAt": "2026-10-23T19:00:24.741Z",
5
5
  "docs": [
6
6
  {
7
7
  "displayName": "Button",
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@behivetech/atoms.button",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "license": "MIT",
5
+ "description": "A flexible button component with variants, sizes, loading and disabled states.",
5
6
  "type": "module",
6
7
  "private": false,
7
8
  "exports": {
@@ -38,14 +39,15 @@
38
39
  "tsup": "^8.5.1",
39
40
  "typescript": "^6.0.3",
40
41
  "vitest": "^4.1.10",
41
- "@bht-component-registry/env": "0.1.0",
42
- "@bht-component-registry/class-names": "0.0.6"
42
+ "@bht-component-registry/class-names": "0.0.6",
43
+ "@bht-component-registry/env": "0.1.0"
43
44
  },
44
45
  "repository": {
45
46
  "type": "git",
46
47
  "url": "https://github.com/behivetech/bht-galaxy.git",
47
48
  "directory": "registry/behivetech/atoms/button"
48
49
  },
50
+ "homepage": "https://bht-galaxy.vercel.app/behivetech/atoms/button",
49
51
  "publishConfig": {
50
52
  "registry": "https://registry.npmjs.org",
51
53
  "access": "public",