b44ui 0.0.8 → 0.0.9

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 (2) hide show
  1. package/index.tsx +1 -1
  2. package/package.json +1 -1
package/index.tsx CHANGED
@@ -102,7 +102,7 @@ export const Popover = (props: DProps & { text: ReactNode, color?: Color }) => {
102
102
  return <span className="relative inline-block" onMouseEnter={() => setOpen(true)} onMouseLeave={() => setOpen(false)}>
103
103
  <span className={CN("cursor-pointer", color && tintCn(color), color && "border-b-2", c)}>{children}</span>
104
104
  {open && <div className="absolute left-0 top-full z-10 mt-1">
105
- <Card cn="w-64 shadow-lg text-sm" p={3}>{text}</Card>
105
+ <Card cn="w-64 shadow-lg text-sm" p={props.p ?? 3} gap={props.gap}>{text}</Card>
106
106
  </div>}
107
107
  </span>
108
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "b44ui",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "npm run dev --prefix example"