@cloudtower/eagle 0.28.0-alpha.0 → 0.28.0-dry
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/components.css +1534 -1527
- package/dist/esm/index.js +35 -16
- package/dist/esm/stats1.html +1 -1
- package/dist/src/components/OverflowTooltip/OverflowTooltip.stories.d.ts +13 -15
- package/dist/src/spec/base.d.ts +1 -1
- package/dist/style.css +1317 -1310
- package/dist/umd/index.js +35 -16
- package/dist/umd/stats1.html +1 -1
- package/package.json +6 -6
package/dist/esm/index.js
CHANGED
|
@@ -2585,7 +2585,7 @@ var __objRest$t = (source, exclude) => {
|
|
|
2585
2585
|
}
|
|
2586
2586
|
return target;
|
|
2587
2587
|
};
|
|
2588
|
-
const _exp$
|
|
2588
|
+
const _exp$6 = () => InputNumber$1;
|
|
2589
2589
|
const _exp2$2 = () => props => props.controls ? "initial" : "none";
|
|
2590
2590
|
const _exp3$1 = () => props => `"${props.suffix ? props.suffix : ""}"`;
|
|
2591
2591
|
const _exp4$1 = () => ({
|
|
@@ -2595,7 +2595,7 @@ const _exp5$1 = () => props => `"${props.prefix ? props.prefix : ""}"`;
|
|
|
2595
2595
|
const _exp6$1 = () => ({
|
|
2596
2596
|
prefix
|
|
2597
2597
|
}) => prefix ? "flex" : "none";
|
|
2598
|
-
const AntdInputNumberStyled = /*#__PURE__*/styled(_exp$
|
|
2598
|
+
const AntdInputNumberStyled = /*#__PURE__*/styled(_exp$6())({
|
|
2599
2599
|
name: "AntdInputNumberStyled",
|
|
2600
2600
|
class: "a6dbbkm",
|
|
2601
2601
|
propsAsIs: true,
|
|
@@ -2852,7 +2852,7 @@ var __objRest$p = (source, exclude) => {
|
|
|
2852
2852
|
}
|
|
2853
2853
|
return target;
|
|
2854
2854
|
};
|
|
2855
|
-
const _exp$
|
|
2855
|
+
const _exp$5 = () => InputNumber$1;
|
|
2856
2856
|
const _exp2$1 = () => props => props.controls ? "initial" : "none";
|
|
2857
2857
|
const _exp3 = () => props => `"${props.suffix ? props.suffix : ""}"`;
|
|
2858
2858
|
const _exp4 = () => ({
|
|
@@ -2862,7 +2862,7 @@ const _exp5 = () => props => `"${props.prefix ? props.prefix : ""}"`;
|
|
|
2862
2862
|
const _exp6 = () => ({
|
|
2863
2863
|
prefix
|
|
2864
2864
|
}) => prefix ? "flex" : "none";
|
|
2865
|
-
const AntdIntStyled = /*#__PURE__*/styled(_exp$
|
|
2865
|
+
const AntdIntStyled = /*#__PURE__*/styled(_exp$5())({
|
|
2866
2866
|
name: "AntdIntStyled",
|
|
2867
2867
|
class: "at4ovwe",
|
|
2868
2868
|
propsAsIs: true,
|
|
@@ -5322,8 +5322,8 @@ const ChartTooltipRow = /*#__PURE__*/styled('div')({
|
|
|
5322
5322
|
class: "c14wcxf0",
|
|
5323
5323
|
propsAsIs: false
|
|
5324
5324
|
});
|
|
5325
|
-
const _exp$
|
|
5326
|
-
const ChartTooltipTitle = /*#__PURE__*/styled(_exp$
|
|
5325
|
+
const _exp$4 = () => ChartTooltipRow;
|
|
5326
|
+
const ChartTooltipTitle = /*#__PURE__*/styled(_exp$4())({
|
|
5327
5327
|
name: "ChartTooltipTitle",
|
|
5328
5328
|
class: "coy29mj",
|
|
5329
5329
|
propsAsIs: true
|
|
@@ -5684,13 +5684,13 @@ const TableRow = /*#__PURE__*/styled('div')({
|
|
|
5684
5684
|
class: "t93e4cf",
|
|
5685
5685
|
propsAsIs: false
|
|
5686
5686
|
});
|
|
5687
|
-
const _exp$
|
|
5687
|
+
const _exp$3 = () => props => props.width;
|
|
5688
5688
|
const RowLabel = /*#__PURE__*/styled('label')({
|
|
5689
5689
|
name: "RowLabel",
|
|
5690
5690
|
class: "rhz2uv5",
|
|
5691
5691
|
propsAsIs: false,
|
|
5692
5692
|
vars: {
|
|
5693
|
-
"rhz2uv5-0": [_exp$
|
|
5693
|
+
"rhz2uv5-0": [_exp$3()]
|
|
5694
5694
|
}
|
|
5695
5695
|
});
|
|
5696
5696
|
const SummaryTableRow = props => {
|
|
@@ -6147,8 +6147,8 @@ const Wrapper = forwardRef(props => {
|
|
|
6147
6147
|
}, className)
|
|
6148
6148
|
}, otherProps), children);
|
|
6149
6149
|
});
|
|
6150
|
-
const _exp$
|
|
6151
|
-
const CardWrapper = /*#__PURE__*/styled(_exp$
|
|
6150
|
+
const _exp$2 = () => Wrapper;
|
|
6151
|
+
const CardWrapper = /*#__PURE__*/styled(_exp$2())({
|
|
6152
6152
|
name: "CardWrapper",
|
|
6153
6153
|
class: "cav4gt6",
|
|
6154
6154
|
propsAsIs: true
|
|
@@ -6559,8 +6559,8 @@ const I18nNameTag = props => {
|
|
|
6559
6559
|
}));
|
|
6560
6560
|
};
|
|
6561
6561
|
|
|
6562
|
-
const _exp = () => Input$1.Group;
|
|
6563
|
-
const InputGroup = /*#__PURE__*/styled(_exp())({
|
|
6562
|
+
const _exp$1 = () => Input$1.Group;
|
|
6563
|
+
const InputGroup = /*#__PURE__*/styled(_exp$1())({
|
|
6564
6564
|
name: "InputGroup",
|
|
6565
6565
|
class: "iiqau4c",
|
|
6566
6566
|
propsAsIs: true
|
|
@@ -7289,17 +7289,29 @@ var __spreadValues$f = (a, b) => {
|
|
|
7289
7289
|
};
|
|
7290
7290
|
var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
|
|
7291
7291
|
const OverflowText = "o8ocss1";
|
|
7292
|
-
const
|
|
7292
|
+
const SingleLineStyle = "s17syc35";
|
|
7293
|
+
const _exp = () => ({
|
|
7294
|
+
lineClamp = 2
|
|
7295
|
+
}) => lineClamp;
|
|
7296
|
+
const MultipleLine = /*#__PURE__*/styled('div')({
|
|
7297
|
+
name: "MultipleLine",
|
|
7298
|
+
class: "m1rk4s1l",
|
|
7299
|
+
propsAsIs: false,
|
|
7300
|
+
vars: {
|
|
7301
|
+
"m1rk4s1l-0": [_exp()]
|
|
7302
|
+
}
|
|
7303
|
+
});
|
|
7293
7304
|
const OverflowTooltip = props => {
|
|
7294
7305
|
const {
|
|
7295
7306
|
content,
|
|
7296
7307
|
className,
|
|
7297
7308
|
onClick,
|
|
7298
|
-
|
|
7309
|
+
multiLines
|
|
7299
7310
|
} = props;
|
|
7300
7311
|
const tooltip = props.tooltip || content;
|
|
7301
7312
|
const [ellipsis, setEllipsis] = useState(false);
|
|
7302
7313
|
const textRef = useRef(null);
|
|
7314
|
+
const isMultiLine = multiLines && multiLines > 1;
|
|
7303
7315
|
useEffect(() => {
|
|
7304
7316
|
const ele = textRef.current;
|
|
7305
7317
|
let observer;
|
|
@@ -7322,9 +7334,16 @@ const OverflowTooltip = props => {
|
|
|
7322
7334
|
visible: false
|
|
7323
7335
|
}), {
|
|
7324
7336
|
title: tooltip
|
|
7325
|
-
}), /* @__PURE__ */React__default.createElement(
|
|
7337
|
+
}), isMultiLine ? /* @__PURE__ */React__default.createElement(MultipleLine, {
|
|
7338
|
+
ref: textRef,
|
|
7339
|
+
className: cx(OverflowText, className),
|
|
7340
|
+
lineClamp: multiLines,
|
|
7341
|
+
onClick: () => {
|
|
7342
|
+
onClick && onClick();
|
|
7343
|
+
}
|
|
7344
|
+
}, /* @__PURE__ */React__default.createElement("span", null, content)) : /* @__PURE__ */React__default.createElement("div", {
|
|
7326
7345
|
ref: textRef,
|
|
7327
|
-
className: cx(OverflowText,
|
|
7346
|
+
className: cx(OverflowText, SingleLineStyle, className),
|
|
7328
7347
|
onClick: () => {
|
|
7329
7348
|
onClick && onClick();
|
|
7330
7349
|
}
|