@secondstaxorg/sscomp 1.7.14 → 1.7.16
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/dist/bundle.css +0 -1
- package/dist/index.css +0 -2
- package/dist/index.es.css +0 -2
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +5 -14
- package/dist/index.js.map +1 -1
- package/dist/index.min.css +0 -2
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/types/components/Tooltip/Tooltip.d.ts +0 -1
- package/types/components/Tooltip/type.d.ts +1 -9
package/dist/index.js
CHANGED
|
@@ -30425,28 +30425,19 @@ const _jsxFileName = "D:\\SSX\\Project\\Component Library\\sscomp\\src\\componen
|
|
|
30425
30425
|
* Tooltip text to be displayed on an element
|
|
30426
30426
|
*/
|
|
30427
30427
|
const Tooltip = (props) => {
|
|
30428
|
-
const {tooltipPosition,children,tooltipContent,
|
|
30428
|
+
const {tooltipPosition,children,tooltipContent,childElementClassName} = props;
|
|
30429
30429
|
|
|
30430
30430
|
React$1.useEffect(()=>{
|
|
30431
|
-
tippy(
|
|
30431
|
+
tippy(`.${childElementClassName}`,{
|
|
30432
30432
|
content:tooltipContent,
|
|
30433
30433
|
placement:tooltipPosition,
|
|
30434
|
-
interactive:
|
|
30434
|
+
interactive:true
|
|
30435
30435
|
});
|
|
30436
30436
|
},[]);
|
|
30437
30437
|
|
|
30438
30438
|
return (
|
|
30439
|
-
React$1.createElement(
|
|
30440
|
-
,
|
|
30441
|
-
React$1.createElement(TippyContainer, {__self: undefined, __source: {fileName: _jsxFileName, lineNumber: 25}}
|
|
30442
|
-
, children
|
|
30443
|
-
)
|
|
30444
|
-
|
|
30445
|
-
, !tooltipVisible &&
|
|
30446
|
-
React$1.createElement(React$1.Fragment, null
|
|
30447
|
-
, children
|
|
30448
|
-
)
|
|
30449
|
-
|
|
30439
|
+
React$1.createElement(TippyContainer, {__self: undefined, __source: {fileName: _jsxFileName, lineNumber: 23}}
|
|
30440
|
+
, children
|
|
30450
30441
|
)
|
|
30451
30442
|
)
|
|
30452
30443
|
};
|