labsense-ui-kit 1.1.51 → 1.1.52

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.
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ import { IconProps } from '../Icons';
3
+ interface ITooltipProps {
4
+ icon: IconProps;
5
+ infoIcon?: IconProps;
6
+ infoText: string;
7
+ infoText2?: string;
8
+ infoText3?: string;
9
+ infoText4?: string;
10
+ tooltipCSS?: {
11
+ background?: string;
12
+ color?: string;
13
+ gap?: string;
14
+ minWidth?: string;
15
+ position?: 'topLeft' | 'topCenter' | 'topRight' | 'bottomLeft' | 'bottomCenter' | 'bottomRight';
16
+ tooltipTop?: string;
17
+ fontSize?: string;
18
+ fontWeight?: string;
19
+ };
20
+ }
21
+ declare const IconTooltip: React.FC<ITooltipProps>;
22
+ export default IconTooltip;
@@ -1,3 +1,3 @@
1
1
  import Badge from './Badge';
2
- import Tooltip from './Tooltip';
3
- export { Badge, Tooltip };
2
+ import IconTooltip from './IconTooltip';
3
+ export { Badge, IconTooltip };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Badge, Tooltip } from './Badge';
1
+ import { Badge, IconTooltip } from './Badge';
2
2
  import { Breadcrumbs, BreadcrumbDetail } from './Breadcrums';
3
3
  import { Button, ButtonProps, ButtonLoaderProps } from './Buttons';
4
4
  import { ButtonCarousel } from './Carousel';
@@ -17,7 +17,7 @@ import { InternalTabs, Tabs, TabContentProps } from './Tabs';
17
17
  import { ThemeColorsInterface } from './Themes';
18
18
  import { colorVariables, themes } from './Themes/Colors';
19
19
  import { convertToEpoch, formatDate, formatTimestamp, formatCalendarDateTime, timeAgo, formatEpochToIST, convertEpochToDateString, convertEpochToOnlyDate, getSystemTimezoneAbbreviation, timeStringToSeconds } from './Utils/Date&Time';
20
- export { Badge, Tooltip };
20
+ export { Badge, IconTooltip };
21
21
  export { Breadcrumbs, BreadcrumbDetail };
22
22
  export { Button, ButtonProps, ButtonLoaderProps };
23
23
  export { ButtonCarousel };
package/dist/index.js CHANGED
@@ -3633,7 +3633,7 @@ var TooltipContainer = styled__default.div(_templateObject$3 || (_templateObject
3633
3633
  }
3634
3634
  });
3635
3635
  var TooltipWrapper$1 = styled__default.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteralLoose(["\n display: flex;\n position: relative;\n align-items: center;\n cursor: pointer;\n\n &:hover ", " {\n visibility: visible;\n opacity: 1;\n }\n"])), TooltipContainer);
3636
- var InfoTooltip = function InfoTooltip(_ref7) {
3636
+ var IconTooltip = function IconTooltip(_ref7) {
3637
3637
  var _tooltipCSS$position;
3638
3638
  var _ref7$icon = _ref7.icon,
3639
3639
  icon = _ref7$icon === void 0 ? {
@@ -7034,6 +7034,7 @@ exports.Container = Container;
7034
7034
  exports.DatePicker = DatePicker;
7035
7035
  exports.DropdownMenu = DropdownMenu$1;
7036
7036
  exports.Icon = Icon;
7037
+ exports.IconTooltip = IconTooltip;
7037
7038
  exports.InternalTabs = InternalTabs;
7038
7039
  exports.Loader = Loader;
7039
7040
  exports.MultiSelectDropdown = MultiSelectDropdown;
@@ -7053,7 +7054,6 @@ exports.Tabs = Tabs;
7053
7054
  exports.TextArea = TextArea;
7054
7055
  exports.TextField = TextField;
7055
7056
  exports.TextFieldWithDropdown = TextFieldWithDropdown;
7056
- exports.Tooltip = InfoTooltip;
7057
7057
  exports.colorVariables = colorVariables;
7058
7058
  exports.convertEpochToDateString = convertEpochToDateString;
7059
7059
  exports.convertEpochToOnlyDate = convertEpochToOnlyDate;