@cloudtower/eagle 0.35.8 → 481.0.2
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/cjs/core/MediumDialog/MediumDialog.js +1 -1
- package/dist/cjs/core/index.js +12 -15
- package/dist/cjs/coreX/Dialogs/RejectDialog/RejectDialog.js +4 -16
- package/dist/cjs/index.js +245 -249
- package/dist/cjs/stats1.html +1 -1
- package/dist/components.css +2314 -2492
- package/dist/esm/core/MediumDialog/MediumDialog.js +1 -1
- package/dist/esm/core/index.js +2 -4
- package/dist/esm/coreX/Dialogs/RejectDialog/RejectDialog.js +4 -16
- package/dist/esm/index.js +0 -2
- package/dist/esm/stats1.html +1 -1
- package/dist/linaria.merged.scss +2952 -3142
- package/dist/src/core/index.d.ts +0 -5
- package/dist/src/coreX/Dialogs/RejectDialog/RejectDialog.type.d.ts +1 -5
- package/dist/src/coreX/index.d.ts +0 -1
- package/dist/src/hooks/index.d.ts +0 -1
- package/dist/src/utils/index.d.ts +0 -1
- package/dist/stories/docs/coreX/Dialogs/RejectDialog.stories.d.ts +1 -3
- package/dist/style.css +2314 -2492
- package/package.json +4 -6
- package/dist/cjs/core/Duration/index.js +0 -78
- package/dist/cjs/core/LocalUpload/LocalUpload.hooks.js +0 -66
- package/dist/cjs/core/LocalUpload/LocalUpload.js +0 -103
- package/dist/cjs/core/LocalUpload/LocalUpload.style.js +0 -13
- package/dist/cjs/core/LocalUpload/LocalUpload.widget.js +0 -379
- package/dist/cjs/hooks/useFormatDuration.js +0 -35
- package/dist/cjs/utils/formatDuration.js +0 -67
- package/dist/esm/core/Duration/index.js +0 -72
- package/dist/esm/core/LocalUpload/LocalUpload.hooks.js +0 -63
- package/dist/esm/core/LocalUpload/LocalUpload.js +0 -97
- package/dist/esm/core/LocalUpload/LocalUpload.style.js +0 -10
- package/dist/esm/core/LocalUpload/LocalUpload.widget.js +0 -365
- package/dist/esm/hooks/useFormatDuration.js +0 -33
- package/dist/esm/utils/formatDuration.js +0 -65
- package/dist/src/core/Duration/duration.type.d.ts +0 -42
- package/dist/src/core/Duration/index.d.ts +0 -4
- package/dist/src/core/LocalUpload/LocalUpload.d.ts +0 -15
- package/dist/src/core/LocalUpload/LocalUpload.hooks.d.ts +0 -32
- package/dist/src/core/LocalUpload/LocalUpload.style.d.ts +0 -3
- package/dist/src/core/LocalUpload/LocalUpload.type.d.ts +0 -175
- package/dist/src/core/LocalUpload/LocalUpload.widget.d.ts +0 -23
- package/dist/src/core/LocalUpload/index.d.ts +0 -2
- package/dist/src/coreX/Copy/CopyButton.d.ts +0 -5
- package/dist/src/coreX/Copy/CopyButton.type.d.ts +0 -8
- package/dist/src/coreX/Copy/CopyTooltip.d.ts +0 -5
- package/dist/src/coreX/Copy/CopyTooltip.typs.d.ts +0 -16
- package/dist/src/coreX/Copy/index.d.ts +0 -2
- package/dist/src/hooks/__tests__/useFormatDuration.test.d.ts +0 -1
- package/dist/src/hooks/useFormatDuration.d.ts +0 -31
- package/dist/src/utils/__test__/formatDuration.spec.d.ts +0 -1
- package/dist/src/utils/formatDuration.d.ts +0 -28
- package/dist/stories/docs/core/Duration.stories.d.ts +0 -88
- package/dist/stories/docs/core/LocalUpload.stories.d.ts +0 -74
- package/dist/stories/docs/coreX/Copy/CopyButton.stories.d.ts +0 -66
- package/dist/stories/docs/coreX/Copy/CopyTooltip.stories.d.ts +0 -66
|
@@ -42,7 +42,7 @@ const MediumDialog = _a => {
|
|
|
42
42
|
}) => /* @__PURE__ */React__default.createElement("span", {
|
|
43
43
|
className: Typo.Display.d1s_bold_title
|
|
44
44
|
}, title),
|
|
45
|
-
className: cx(MediumDialogStyle,
|
|
45
|
+
className: cx(MediumDialogStyle, isContentFull && "content-full", className),
|
|
46
46
|
initializingSkeletonRows: 3,
|
|
47
47
|
width: isContentFull ? "calc(100vw - 160px)" : 720
|
|
48
48
|
}, restProps));
|
package/dist/esm/core/index.js
CHANGED
|
@@ -3,7 +3,6 @@ import BitPerSecond from './BitPerSecond/index.js';
|
|
|
3
3
|
import Bps from './Bps/index.js';
|
|
4
4
|
import Byte from './Byte/index.js';
|
|
5
5
|
import BytePerSecond from './BytePerSecond/index.js';
|
|
6
|
-
import Duration from './Duration/index.js';
|
|
7
6
|
import Frequency from './Frequency/index.js';
|
|
8
7
|
import Percent from './Percent/index.js';
|
|
9
8
|
import Second from './Second/index.js';
|
|
@@ -18,8 +17,7 @@ const units = {
|
|
|
18
17
|
Bps,
|
|
19
18
|
BitPerSecond,
|
|
20
19
|
Bit,
|
|
21
|
-
Second
|
|
22
|
-
Duration
|
|
20
|
+
Second
|
|
23
21
|
};
|
|
24
22
|
|
|
25
|
-
export { Bit, BitPerSecond, Bps, Byte, BytePerSecond,
|
|
23
|
+
export { Bit, BitPerSecond, Bps, Byte, BytePerSecond, Frequency, Percent, Second, Speed, units as Units, units };
|
|
@@ -30,17 +30,8 @@ const SecondaryDesc = "E_srje1h0";
|
|
|
30
30
|
const Divider = "E_di3zi7v";
|
|
31
31
|
const SingleRejectContent = ({
|
|
32
32
|
content,
|
|
33
|
-
listType = "ordered"
|
|
34
|
-
resourceIcon
|
|
33
|
+
listType = "ordered"
|
|
35
34
|
}) => {
|
|
36
|
-
if (listType === "resource" && Array.isArray(content)) {
|
|
37
|
-
return /* @__PURE__ */React__default.createElement("div", {
|
|
38
|
-
className: cx(MultiRejectContentList)
|
|
39
|
-
}, content.map((name, index) => /* @__PURE__ */React__default.createElement("li", {
|
|
40
|
-
className: Typo.Label.l4_regular,
|
|
41
|
-
key: index
|
|
42
|
-
}, resourceIcon, /* @__PURE__ */React__default.createElement("span", null, name))));
|
|
43
|
-
}
|
|
44
35
|
if (Array.isArray(content) && content.length > 1) {
|
|
45
36
|
if (listType === "ordered") {
|
|
46
37
|
return /* @__PURE__ */React__default.createElement("ol", {
|
|
@@ -88,13 +79,10 @@ const RejectDialog = props => {
|
|
|
88
79
|
const renderContent = () => {
|
|
89
80
|
switch (props.type) {
|
|
90
81
|
case RejectDialogType.Single:
|
|
91
|
-
return /* @__PURE__ */React__default.createElement(
|
|
92
|
-
className: cx(SecondaryDesc, Typo.Label.l4_regular)
|
|
93
|
-
}, props.secondaryDesc), /* @__PURE__ */React__default.createElement(SingleRejectContent, {
|
|
82
|
+
return /* @__PURE__ */React__default.createElement(SingleRejectContent, {
|
|
94
83
|
content: props.content,
|
|
95
|
-
listType: props.listType
|
|
96
|
-
|
|
97
|
-
}));
|
|
84
|
+
listType: props.listType
|
|
85
|
+
});
|
|
98
86
|
case RejectDialogType.All:
|
|
99
87
|
case RejectDialogType.Part:
|
|
100
88
|
return /* @__PURE__ */React__default.createElement(React__default.Fragment, null, props.secondaryDesc && /* @__PURE__ */React__default.createElement("div", {
|
package/dist/esm/index.js
CHANGED
|
@@ -31,7 +31,6 @@ export { default as DeprecatedProgress } from './core/DeprecatedProgress/index.j
|
|
|
31
31
|
export { default as DetailCard } from './core/DetailCard/index.js';
|
|
32
32
|
export { default as DonutChart, DonutChartColor, formatChartData, formatCollapse } from './core/DonutChart/index.js';
|
|
33
33
|
export { default as DropdownMenu, RenderMenuItem } from './core/DropdownMenu/index.js';
|
|
34
|
-
export { default as Duration } from './core/Duration/index.js';
|
|
35
34
|
export { default as Empty } from './core/Empty/index.js';
|
|
36
35
|
export { default as Error } from './core/Error/index.js';
|
|
37
36
|
export { default as ErrorBoundary } from './core/ErrorBoundary/index.js';
|
|
@@ -99,7 +98,6 @@ export { ImmersiveDialog } from './core/ImmersiveDialog/index.js';
|
|
|
99
98
|
export { LineChartColorBlock, default as LineChartLegend } from './core/LineChart/LineChartLegend.js';
|
|
100
99
|
export { ILineChartGraphType, ILineChartMetricUnit, ILineChartTimeUnit } from './core/LineChart/type.js';
|
|
101
100
|
export { UNIT_FORMATTER, addMissingDataWithZero, convertLineChartDataStruct, convertLineChartUnit, deletePointsOutOfRange, filterLineChartDataOverlapping, filterLineChartOverlappingMetric, filterLineChartPointsByDateRange, getFirstExpectedTimestamp, getLineChartRangeTimestamp, getLineChartStep, getLineChartXAxisDomain, getLineChartYDataMax, getYAxisDomain, getYAxisUpperBound, lineChartTickFormatter, lineChartXaxisCal, lineChartYaxisTickFormatter, parseLineChartRange } from './core/LineChart/utils.js';
|
|
102
|
-
export { LocalUpload } from './core/LocalUpload/LocalUpload.js';
|
|
103
101
|
export { MediumDialog } from './core/MediumDialog/MediumDialog.js';
|
|
104
102
|
export { Batcher, createBatchMessageMethods, makeUUID } from './core/message-group/index.js';
|
|
105
103
|
export { default as MetricActions } from './core/Metric/MetricActions.js';
|