@behivetech/atoms.tooltip 1.1.1 → 1.1.2

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/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-11-28T17:51:27.010Z",
4
+ "generatedAt": "2026-11-30T23:21:13.924Z",
5
5
  "docs": [
6
6
  {
7
7
  "displayName": "Tooltip",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@behivetech/atoms.tooltip",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "license": "MIT",
5
5
  "description": "Names a control on hover and on keyboard focus, built on [`@radix-ui/react-tooltip`](https://www.radix-ui.com/primitives/docs/components/tooltip).",
6
6
  "type": "module",
@@ -38,7 +38,7 @@
38
38
  "tags": []
39
39
  },
40
40
  "dependencies": {
41
- "@behivetech/blocks.core": "0.1.1",
41
+ "@behivetech/blocks.core": "0.2.0",
42
42
  "@radix-ui/react-tooltip": "^1.4.1"
43
43
  },
44
44
  "peerDependencies": {
@@ -52,8 +52,9 @@
52
52
  }
53
53
  },
54
54
  "devDependencies": {
55
- "@behivetech/blocks.builder": "0.1.1",
56
- "@behivetech/blocks.native-test": "0.0.2",
55
+ "@behivetech/atoms.button": "1.1.2",
56
+ "@behivetech/blocks.builder": "0.2.0",
57
+ "@behivetech/blocks.native-test": "0.0.3",
57
58
  "@bht-component-registry/env": "0.3.0",
58
59
  "@types/react": "19.3.3",
59
60
  "@types/react-dom": "19.3.0",
@@ -1,24 +1,25 @@
1
+ import { Button } from "@behivetech/atoms.button";
1
2
  import { Tooltip } from "./tooltip.js";
2
3
 
3
4
  export const BasicTooltip = () => (
4
5
  <Tooltip label="Rectangle">
5
- <button type="button">Rect</button>
6
+ <Button variant="secondary">Rect</Button>
6
7
  </Tooltip>
7
8
  );
8
9
 
9
10
  export const TooltipSides = () => (
10
11
  <div style={{ display: "flex", gap: "1.5rem", padding: "3rem" }}>
11
12
  <Tooltip label="Above" side="top">
12
- <button type="button">Top</button>
13
+ <Button variant="secondary">Top</Button>
13
14
  </Tooltip>
14
15
  <Tooltip label="To the right" side="right">
15
- <button type="button">Right</button>
16
+ <Button variant="secondary">Right</Button>
16
17
  </Tooltip>
17
18
  <Tooltip label="Below" side="bottom">
18
- <button type="button">Bottom</button>
19
+ <Button variant="secondary">Bottom</Button>
19
20
  </Tooltip>
20
21
  <Tooltip label="To the left" side="left">
21
- <button type="button">Left</button>
22
+ <Button variant="secondary">Left</Button>
22
23
  </Tooltip>
23
24
  </div>
24
25
  );
@@ -26,8 +27,8 @@ export const TooltipSides = () => (
26
27
  /** The case a bare Radix tooltip cannot do — and the reason this is an atom. */
27
28
  export const DisabledTrigger = () => (
28
29
  <Tooltip label="You do not have permission to edit roads" side="right">
29
- <button type="button" disabled>
30
+ <Button variant="secondary" disabled>
30
31
  Road
31
- </button>
32
+ </Button>
32
33
  </Tooltip>
33
34
  );