@hyperbridge/ui 0.0.12 → 0.0.13
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/index.d.mts +4 -4
- package/dist/index.mjs +4 -7
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -557,9 +557,6 @@ declare const SummaryValues: {
|
|
|
557
557
|
};
|
|
558
558
|
};
|
|
559
559
|
|
|
560
|
-
declare function TimelineList(props: {
|
|
561
|
-
children: React__default.ReactNode;
|
|
562
|
-
}): react_jsx_runtime.JSX.Element;
|
|
563
560
|
type TimePrefix = "min" | "second" | "hours";
|
|
564
561
|
type EstimatedTimeFormatted = `${number} ${TimePrefix | `${TimePrefix}s`}` | "";
|
|
565
562
|
type Prettify<T> = {
|
|
@@ -574,7 +571,7 @@ type Level = {
|
|
|
574
571
|
type TimelineData = {
|
|
575
572
|
processingStatus: "processing";
|
|
576
573
|
data: {
|
|
577
|
-
eta:
|
|
574
|
+
eta: React__default.ReactNode;
|
|
578
575
|
};
|
|
579
576
|
} | {
|
|
580
577
|
processingStatus: "upcoming" | "error";
|
|
@@ -594,6 +591,9 @@ declare function TimelineItem(props: TimelineItemProps): react_jsx_runtime.JSX.E
|
|
|
594
591
|
declare function TimelineListGroup(props: {
|
|
595
592
|
children: React__default.ReactNode;
|
|
596
593
|
}): react_jsx_runtime.JSX.Element;
|
|
594
|
+
declare function TimelineList(props: {
|
|
595
|
+
children: React__default.ReactNode;
|
|
596
|
+
}): react_jsx_runtime.JSX.Element;
|
|
597
597
|
declare const TimelineRoot: React__default.ForwardRefExoticComponent<Omit<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React__default.RefAttributes<HTMLUListElement>>;
|
|
598
598
|
type TimerProps = {
|
|
599
599
|
hours: number;
|
package/dist/index.mjs
CHANGED
|
@@ -3246,9 +3246,6 @@ function Progress(_a) {
|
|
|
3246
3246
|
|
|
3247
3247
|
// src/components/molecules/timeline.tsx
|
|
3248
3248
|
import { jsx as jsx35, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
3249
|
-
function TimelineList(props) {
|
|
3250
|
-
return /* @__PURE__ */ jsx35("ul", { className: "flex flex-col", children: props.children });
|
|
3251
|
-
}
|
|
3252
3249
|
var StatusTextMap = {
|
|
3253
3250
|
processing: "Processing",
|
|
3254
3251
|
upcoming: "Upcoming",
|
|
@@ -3346,10 +3343,7 @@ function TimelineItem(props) {
|
|
|
3346
3343
|
layoutId,
|
|
3347
3344
|
className: "flex gap-[calc(10rem/16)] items-center",
|
|
3348
3345
|
children: [
|
|
3349
|
-
!hideTime && /* @__PURE__ */
|
|
3350
|
-
"~ ",
|
|
3351
|
-
(_d = props == null ? void 0 : props.data) == null ? void 0 : _d.eta
|
|
3352
|
-
] }),
|
|
3346
|
+
!hideTime && /* @__PURE__ */ jsx35("span", { className: "text-[calc(13rem/16)]", children: (_d = props == null ? void 0 : props.data) == null ? void 0 : _d.eta }),
|
|
3353
3347
|
/* @__PURE__ */ jsx35(
|
|
3354
3348
|
Loader2,
|
|
3355
3349
|
{
|
|
@@ -3370,6 +3364,9 @@ function TimelineItem(props) {
|
|
|
3370
3364
|
function TimelineListGroup(props) {
|
|
3371
3365
|
return /* @__PURE__ */ jsx35("ul", { className: cn("flex flex-col overflow-hidden"), children: props.children });
|
|
3372
3366
|
}
|
|
3367
|
+
function TimelineList(props) {
|
|
3368
|
+
return /* @__PURE__ */ jsx35("ul", { className: "flex flex-col", children: props.children });
|
|
3369
|
+
}
|
|
3373
3370
|
var TimelineRoot = React13.forwardRef((props, ref) => {
|
|
3374
3371
|
return /* @__PURE__ */ jsx35(
|
|
3375
3372
|
"ul",
|