@helpdice/ui 2.5.2 → 2.5.4
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/auto-complete/index.js +999 -1249
- package/dist/index.js +1012 -1249
- package/dist/input/index.js +999 -1249
- package/dist/table/index.js +1012 -1249
- package/dist/tooltip/index.d.ts +6 -1
- package/dist/tooltip/index.js +13 -0
- package/dist/tooltip/tooltip-small.d.ts +7 -0
- package/esm/input/input-phone.js +1000 -1
- package/esm/tooltip/index.d.ts +6 -1
- package/esm/tooltip/index.js +2 -0
- package/esm/tooltip/tooltip-small.d.ts +7 -0
- package/esm/tooltip/tooltip-small.js +13 -0
- package/package.json +1 -1
package/dist/tooltip/index.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
import Tooltip from './tooltip';
|
|
2
2
|
export type { TooltipProps, TooltipOnVisibleChange, TooltipTypes, TooltipTriggers, TooltipPlacement, } from './tooltip';
|
|
3
|
-
|
|
3
|
+
import SmallTooltip from './tooltip-small';
|
|
4
|
+
export type TooltipComponentType = typeof Tooltip & {
|
|
5
|
+
Small: typeof SmallTooltip;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: TooltipComponentType;
|
|
8
|
+
export default _default;
|
package/dist/tooltip/index.js
CHANGED
|
@@ -1517,4 +1517,17 @@ var TooltipComponent = function TooltipComponent(_ref) {
|
|
|
1517
1517
|
TooltipComponent.displayName = 'Tooltip';
|
|
1518
1518
|
var Tooltip = withScale(TooltipComponent);
|
|
1519
1519
|
|
|
1520
|
+
var SmallTooltip = function SmallTooltip(props) {
|
|
1521
|
+
return /*#__PURE__*/React.createElement(Tooltip, _extends({
|
|
1522
|
+
text: props.text,
|
|
1523
|
+
font: 0.8,
|
|
1524
|
+
px: 0.6,
|
|
1525
|
+
py: 0.4
|
|
1526
|
+
}, props), props.children);
|
|
1527
|
+
};
|
|
1528
|
+
SmallTooltip.displayName = 'Tooltip.Small';
|
|
1529
|
+
var SmallTooltip$1 = /*#__PURE__*/React.memo(SmallTooltip);
|
|
1530
|
+
|
|
1531
|
+
Tooltip.Small = SmallTooltip$1;
|
|
1532
|
+
|
|
1520
1533
|
exports.default = Tooltip;
|