@cloudtower/eagle 0.34.7 → 0.34.8

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,61 @@
1
+ import { cx } from '@linaria/core';
2
+ import Tooltip from '../../core/Tooltip/index.js';
3
+ import React__default from 'react';
4
+
5
+ var __defProp = Object.defineProperty;
6
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
9
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
10
+ enumerable: true,
11
+ configurable: true,
12
+ writable: true,
13
+ value
14
+ }) : obj[key] = value;
15
+ var __spreadValues = (a, b) => {
16
+ for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]);
17
+ if (__getOwnPropSymbols) for (var prop of __getOwnPropSymbols(b)) {
18
+ if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]);
19
+ }
20
+ return a;
21
+ };
22
+ var __objRest = (source, exclude) => {
23
+ var target = {};
24
+ for (var prop in source) if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
25
+ if (source != null && __getOwnPropSymbols) for (var prop of __getOwnPropSymbols(source)) {
26
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) target[prop] = source[prop];
27
+ }
28
+ return target;
29
+ };
30
+ const UnderlineTooltipStyle = "E_u15heuvq";
31
+ const UnderlineTooltip = props => {
32
+ const _a = props,
33
+ {
34
+ style = "dashed",
35
+ color = "rgba(107, 128, 167, 0.6)",
36
+ width = "1px",
37
+ contentColor,
38
+ customContentColor,
39
+ link,
40
+ underlineContentClassName,
41
+ title,
42
+ children,
43
+ className
44
+ } = _a,
45
+ rest = __objRest(_a, ["style", "color", "width", "contentColor", "customContentColor", "link", "underlineContentClassName", "title", "children", "className"]);
46
+ return /* @__PURE__ */React__default.createElement(Tooltip, __spreadValues({
47
+ className: cx(UnderlineTooltipStyle, className),
48
+ title: title || children
49
+ }, rest), /* @__PURE__ */React__default.createElement("span", {
50
+ className: cx("content", !customContentColor && contentColor, link && "link", underlineContentClassName),
51
+ style: {
52
+ borderBottomColor: color,
53
+ borderBottomStyle: style,
54
+ borderBottomWidth: width,
55
+ color: customContentColor
56
+ }
57
+ }, children));
58
+ };
59
+ var UnderlineTooltip$1 = UnderlineTooltip;
60
+
61
+ export { UnderlineTooltipStyle, UnderlineTooltip$1 as default };
package/dist/esm/index.js CHANGED
@@ -136,6 +136,7 @@ export { default as DeprecatedDonutChart } from './coreX/DeprecatedDonutChart/in
136
136
  export { default as DropdownTransition } from './coreX/DropdownTransition/index.js';
137
137
  export { default as GoBackButton } from './coreX/GoBackButton/index.js';
138
138
  export { default as I18nNameTag } from './coreX/I18nNameTag/index.js';
139
+ export { default as KubeConfigModal } from './coreX/KubeConfigModal/index.js';
139
140
  export { default as NamesTooltip } from './coreX/NamesTooltip/index.js';
140
141
  export { default as OverflowTooltip } from './coreX/OverflowTooltip/index.js';
141
142
  export { default as SidebarSubtitle } from './coreX/SidebarSubtitle/index.js';
@@ -144,8 +145,8 @@ export { default as SortableList } from './coreX/SortableList/index.js';
144
145
  export { default as SummaryTable, SummaryTableRow } from './coreX/SummaryTable/index.js';
145
146
  export { default as SwitchWithText } from './coreX/SwitchWithText/index.js';
146
147
  export { default as TabMenu } from './coreX/TabMenu/index.js';
148
+ export { default as UnderlineTooltip, UnderlineTooltipStyle } from './coreX/UnderlineTootip/index.js';
147
149
  export { default as UnitWithChart, UnitWrapper } from './coreX/UnitWithChart/index.js';
148
- export { default as KubeConfigModal } from './coreX/KubeConfigModal/index.js';
149
150
  export { CheckPointItem, CheckPointList } from './coreX/CheckPointList/index.js';
150
151
  export { getCalendarTitle } from './coreX/common/getCalendarTitle.js';
151
152
  export { default as AbsoluteDate } from './coreX/DateRangePicker/AbsoluteDate.js';