revdev-components 0.182.0 → 0.183.0

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,7 +1,8 @@
1
1
  import React from "react";
2
2
  import { RegularIconName } from "../icon";
3
3
  export interface HelpTipProps {
4
- title: string;
4
+ title: React.ReactNode;
5
+ children?: React.ReactNode;
5
6
  className?: string;
6
7
  iconName?: RegularIconName;
7
8
  href?: string;
package/build/index.js CHANGED
@@ -5780,9 +5780,9 @@ var AudioPlayer = function (_a) {
5780
5780
  var s = {"icon":"index-module_icon__-KK3y"};
5781
5781
 
5782
5782
  var HelpTip = function (_a) {
5783
- var title = _a.title, className = _a.className, _b = _a.iconName, iconName = _b === void 0 ? "help" : _b, href = _a.href, target = _a.target;
5783
+ var title = _a.title, className = _a.className, _b = _a.iconName, iconName = _b === void 0 ? "help" : _b, href = _a.href, target = _a.target, children = _a.children;
5784
5784
  var iconNode = React.createElement(RegularIcon, { name: iconName, className: classNames(s.icon, className) });
5785
- return (React.createElement(AppTooltip, { title: title, placement: "top" }, href ? (React.createElement(AppLink, { href: href, target: target }, iconNode)) : (iconNode)));
5785
+ return (React.createElement(AppTooltip, { title: title || children, placement: "top" }, href ? (React.createElement(AppLink, { href: href, target: target }, iconNode)) : (iconNode)));
5786
5786
  };
5787
5787
 
5788
5788
  exports.AlfaAttributor = AlfaAttributor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.182.0",
3
+ "version": "0.183.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {