@particle-network/ui-react 0.1.3-beta.5 → 0.1.3-beta.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.
@@ -1,23 +1,26 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import "react";
3
+ import { cn } from "@heroui/theme";
3
4
  import { UXButton, UXTooltip } from "../index.js";
4
5
  import { CircleQuestionIcon } from "../../icons/index.js";
5
- const UXHint = (props)=>{
6
+ const UXHint_UXHint = (props)=>{
6
7
  const { content, children, buttonClassName, iconClassName, ...restProps } = props;
7
8
  return /*#__PURE__*/ jsx(UXTooltip, {
8
9
  content: content || children,
9
10
  ...restProps,
10
11
  children: /*#__PURE__*/ jsx(UXButton, {
11
- variant: "text",
12
+ isIconOnly: true,
13
+ variant: "light",
14
+ size: "xs",
12
15
  color: "secondary",
13
- className: buttonClassName,
16
+ className: cn('data-[hover=true]:bg-transparent', buttonClassName),
14
17
  children: /*#__PURE__*/ jsx(CircleQuestionIcon, {
15
- size: 12,
18
+ size: 14,
16
19
  className: iconClassName
17
20
  })
18
21
  })
19
22
  });
20
23
  };
21
- UXHint.displayName = 'UX.Hint';
22
- const components_UXHint = UXHint;
23
- export { components_UXHint as default };
24
+ UXHint_UXHint.displayName = 'UX.Hint';
25
+ const UXHint = UXHint_UXHint;
26
+ export { UXHint as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-network/ui-react",
3
- "version": "0.1.3-beta.5",
3
+ "version": "0.1.3-beta.7",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -39,8 +39,8 @@
39
39
  "@types/react": "^19.1.10",
40
40
  "react": "^19.1.0",
41
41
  "typescript": "^5.8.3",
42
- "@particle-network/eslint-config": "0.2.0",
43
- "@particle-network/lintstaged-config": "0.0.0"
42
+ "@particle-network/lintstaged-config": "0.0.0",
43
+ "@particle-network/eslint-config": "0.2.0"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "react": ">=16.9.0",