@particle-network/ui-react 0.4.1-beta.0 → 0.4.1-beta.1
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,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import ExtendedTooltip from './tooltip.extend';
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type ExtendedTooltip from './tooltip.extend';
|
|
3
3
|
export type UXTooltipProps = React.ComponentPropsWithRef<typeof ExtendedTooltip>;
|
|
4
4
|
export declare const UXTooltip: React.FC<UXTooltipProps>;
|
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import "react";
|
|
3
|
-
import tooltip_extend from "./tooltip.extend.js";
|
|
4
|
-
const UXTooltip = (props)=>{
|
|
5
|
-
const { content, classNames, ...restProps } = props;
|
|
6
|
-
const { content: contentClassName, ...restClassNames } = classNames ?? {};
|
|
7
|
-
return /*#__PURE__*/ jsx(tooltip_extend, {
|
|
8
|
-
content: content,
|
|
9
|
-
classNames: {
|
|
10
|
-
content: [
|
|
11
|
-
contentClassName
|
|
12
|
-
],
|
|
13
|
-
...restClassNames
|
|
14
|
-
},
|
|
15
|
-
...restProps
|
|
16
|
-
});
|
|
17
|
-
};
|
|
1
|
+
const UXTooltip = (props)=>props.content;
|
|
18
2
|
UXTooltip.displayName = 'UX.Tooltip';
|
|
19
3
|
export { UXTooltip };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@particle-network/ui-react",
|
|
3
|
-
"version": "0.4.1-beta.
|
|
3
|
+
"version": "0.4.1-beta.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"ahooks": "^3.9.4",
|
|
50
50
|
"copy-to-clipboard": "^3.3.3",
|
|
51
51
|
"zustand": "^5.0.8",
|
|
52
|
-
"@particle-network/
|
|
53
|
-
"@particle-network/
|
|
52
|
+
"@particle-network/icons": "0.4.1-beta.0",
|
|
53
|
+
"@particle-network/ui-shared": "0.3.1-beta.0"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"build": "rslib build",
|