@assistant-ui/react-o11y 0.0.44 → 0.0.45
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/context/SpanByIndexProvider.d.ts +1 -2
- package/dist/context/SpanByIndexProvider.d.ts.map +1 -1
- package/dist/o11y-scope.d.ts +2 -3
- package/dist/o11y-scope.d.ts.map +1 -1
- package/dist/primitives/span/SpanChildren.d.ts +4 -5
- package/dist/primitives/span/SpanChildren.d.ts.map +1 -1
- package/dist/primitives/span/SpanCollapseToggle.d.ts +2 -3
- package/dist/primitives/span/SpanCollapseToggle.d.ts.map +1 -1
- package/dist/primitives/span/SpanIndent.d.ts +2 -3
- package/dist/primitives/span/SpanIndent.d.ts.map +1 -1
- package/dist/primitives/span/SpanName.d.ts +2 -3
- package/dist/primitives/span/SpanName.d.ts.map +1 -1
- package/dist/primitives/span/SpanRoot.d.ts +2 -3
- package/dist/primitives/span/SpanRoot.d.ts.map +1 -1
- package/dist/primitives/span/SpanStatusIndicator.d.ts +2 -3
- package/dist/primitives/span/SpanStatusIndicator.d.ts.map +1 -1
- package/dist/primitives/span/SpanTimeline.d.ts +6 -7
- package/dist/primitives/span/SpanTimeline.d.ts.map +1 -1
- package/dist/primitives/span/SpanTypeBadge.d.ts +2 -3
- package/dist/primitives/span/SpanTypeBadge.d.ts.map +1 -1
- package/dist/resources/SpanResource.d.ts +2 -3
- package/dist/resources/SpanResource.d.ts.map +1 -1
- package/package.json +11 -10
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from "react";
|
|
2
2
|
//#region src/context/SpanByIndexProvider.d.ts
|
|
3
|
-
declare const SpanByIndexProvider: FC<PropsWithChildren<{
|
|
3
|
+
export declare const SpanByIndexProvider: FC<PropsWithChildren<{
|
|
4
4
|
index: number;
|
|
5
5
|
}>>;
|
|
6
6
|
//#endregion
|
|
7
|
-
export { SpanByIndexProvider };
|
|
8
7
|
//# sourceMappingURL=SpanByIndexProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpanByIndexProvider.d.ts","names":[],"sources":["../../src/context/SpanByIndexProvider.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"SpanByIndexProvider.d.ts","names":[],"sources":["../../src/context/SpanByIndexProvider.tsx"],"mappings":";;qBAGa,qBAAqB,GAAG;EAAoB"}
|
package/dist/o11y-scope.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@assistant-ui/store";
|
|
2
2
|
//#region src/o11y-scope.d.ts
|
|
3
|
-
type SpanItemState = {
|
|
3
|
+
export type SpanItemState = {
|
|
4
4
|
id: string;
|
|
5
5
|
parentSpanId: string | null;
|
|
6
6
|
name: string;
|
|
@@ -13,7 +13,7 @@ type SpanItemState = {
|
|
|
13
13
|
hasChildren: boolean;
|
|
14
14
|
isCollapsed: boolean;
|
|
15
15
|
};
|
|
16
|
-
type SpanState = SpanItemState & {
|
|
16
|
+
export type SpanState = SpanItemState & {
|
|
17
17
|
children: SpanItemState[];
|
|
18
18
|
timeRange: {
|
|
19
19
|
min: number;
|
|
@@ -42,5 +42,4 @@ declare module "@assistant-ui/store" {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
//#endregion
|
|
45
|
-
export { SpanItemState, SpanState };
|
|
46
45
|
//# sourceMappingURL=o11y-scope.d.ts.map
|
package/dist/o11y-scope.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"o11y-scope.d.ts","names":[],"sources":["../src/o11y-scope.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"o11y-scope.d.ts","names":[],"sources":["../src/o11y-scope.ts"],"mappings":";;YAEY;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;YAGU,YAAY;EACtB,UAAU;EACV;IAAa;IAAa;;;KAGvB;EACH,gBAAgB;EAChB,QAAQ,QAAQ,sBAAsB;EACtC;;KAGG;EACH;EACA;IAAS;;IAAoB;;;;YAInB;IACR;MACE,SAAS;MACT,MAAM"}
|
|
@@ -4,7 +4,7 @@ import { ComponentType, FC, ReactNode } from "react";
|
|
|
4
4
|
type SpanChildrenComponentConfig = {
|
|
5
5
|
Span: ComponentType;
|
|
6
6
|
};
|
|
7
|
-
declare namespace SpanPrimitiveChildren {
|
|
7
|
+
export declare namespace SpanPrimitiveChildren {
|
|
8
8
|
type Props = {
|
|
9
9
|
components: SpanChildrenComponentConfig;
|
|
10
10
|
children?: never;
|
|
@@ -16,14 +16,13 @@ declare namespace SpanPrimitiveChildren {
|
|
|
16
16
|
components?: never;
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
-
declare namespace SpanPrimitiveChildByIndex {
|
|
19
|
+
export declare namespace SpanPrimitiveChildByIndex {
|
|
20
20
|
type Props = {
|
|
21
21
|
index: number;
|
|
22
22
|
components: SpanChildrenComponentConfig;
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
|
-
declare const SpanPrimitiveChildByIndex: FC<SpanPrimitiveChildByIndex.Props>;
|
|
26
|
-
declare const SpanPrimitiveChildren: FC<SpanPrimitiveChildren.Props>;
|
|
25
|
+
export declare const SpanPrimitiveChildByIndex: FC<SpanPrimitiveChildByIndex.Props>;
|
|
26
|
+
export declare const SpanPrimitiveChildren: FC<SpanPrimitiveChildren.Props>;
|
|
27
27
|
//#endregion
|
|
28
|
-
export { SpanPrimitiveChildByIndex, SpanPrimitiveChildren };
|
|
29
28
|
//# sourceMappingURL=SpanChildren.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpanChildren.d.ts","names":[],"sources":["../../../src/primitives/span/SpanChildren.tsx"],"mappings":";;;KAWK;EACH,MAAM;;
|
|
1
|
+
{"version":3,"file":"SpanChildren.d.ts","names":[],"sources":["../../../src/primitives/span/SpanChildren.tsx"],"mappings":";;;KAWK;EACH,MAAM;;yBAGS;OACH;IAEN,YAAY;IACZ;;;IAIA,WAAW;MAAS,MAAM;UAAgB;IAC1C;;;yBAIS;OACH;IACV;IACA,YAAY;;;qBAIH,2BAA2B,GAAG,0BAA0B;qBAqDxD,uBAAuB,GAAG,sBAAsB"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, ComponentRef } from "react";
|
|
2
2
|
import { Primitive } from "@radix-ui/react-primitive";
|
|
3
3
|
//#region src/primitives/span/SpanCollapseToggle.d.ts
|
|
4
|
-
declare namespace SpanPrimitiveCollapseToggle {
|
|
4
|
+
export declare namespace SpanPrimitiveCollapseToggle {
|
|
5
5
|
type Element = ComponentRef<typeof Primitive.button>;
|
|
6
6
|
type Props = ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
7
7
|
}
|
|
8
|
-
declare const SpanPrimitiveCollapseToggle: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
8
|
+
export declare const SpanPrimitiveCollapseToggle: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
9
9
|
asChild?: boolean;
|
|
10
10
|
}, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
11
11
|
//#endregion
|
|
12
|
-
export { SpanPrimitiveCollapseToggle };
|
|
13
12
|
//# sourceMappingURL=SpanCollapseToggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpanCollapseToggle.d.ts","names":[],"sources":["../../../src/primitives/span/SpanCollapseToggle.tsx"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"SpanCollapseToggle.d.ts","names":[],"sources":["../../../src/primitives/span/SpanCollapseToggle.tsx"],"mappings":";;;yBAQiB;OACH,UAAU,oBAAoB,UAAU;OACxC,QAAQ,gCAAgC,UAAU;;qBAGnD,6CAA2B,0BAAA,qBAAA,gBAAA,qCAAA,qBAAA;;4BAuBtC,cAAA"}
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, ComponentRef } from "react";
|
|
2
2
|
import { Primitive } from "@radix-ui/react-primitive";
|
|
3
3
|
//#region src/primitives/span/SpanIndent.d.ts
|
|
4
|
-
declare namespace SpanPrimitiveIndent {
|
|
4
|
+
export declare namespace SpanPrimitiveIndent {
|
|
5
5
|
type Element = ComponentRef<typeof Primitive.div>;
|
|
6
6
|
type Props = ComponentPropsWithoutRef<typeof Primitive.div> & {
|
|
7
7
|
baseIndent?: number;
|
|
8
8
|
indentPerLevel?: number;
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
|
-
declare const SpanPrimitiveIndent: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
11
|
+
export declare const SpanPrimitiveIndent: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
12
12
|
asChild?: boolean;
|
|
13
13
|
}, "ref"> & {
|
|
14
14
|
baseIndent?: number;
|
|
15
15
|
indentPerLevel?: number;
|
|
16
16
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
17
17
|
//#endregion
|
|
18
|
-
export { SpanPrimitiveIndent };
|
|
19
18
|
//# sourceMappingURL=SpanIndent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpanIndent.d.ts","names":[],"sources":["../../../src/primitives/span/SpanIndent.tsx"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"SpanIndent.d.ts","names":[],"sources":["../../../src/primitives/span/SpanIndent.tsx"],"mappings":";;;yBASiB;OACH,UAAU,oBAAoB,UAAU;OACxC,QAAQ,gCAAgC,UAAU;IAC5D;IACA;;;qBAIS,qCAAmB,0BAAA,qBAAA,gBAAA,kCAAA,eAAA;;;EALf;EACI;oBA0BnB,cAAA"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, ComponentRef } from "react";
|
|
2
2
|
import { Primitive } from "@radix-ui/react-primitive";
|
|
3
3
|
//#region src/primitives/span/SpanName.d.ts
|
|
4
|
-
declare namespace SpanPrimitiveName {
|
|
4
|
+
export declare namespace SpanPrimitiveName {
|
|
5
5
|
type Element = ComponentRef<typeof Primitive.span>;
|
|
6
6
|
type Props = ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
7
7
|
}
|
|
8
|
-
declare const SpanPrimitiveName: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
|
|
8
|
+
export declare const SpanPrimitiveName: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
|
|
9
9
|
asChild?: boolean;
|
|
10
10
|
}, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
11
11
|
//#endregion
|
|
12
|
-
export { SpanPrimitiveName };
|
|
13
12
|
//# sourceMappingURL=SpanName.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpanName.d.ts","names":[],"sources":["../../../src/primitives/span/SpanName.tsx"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"SpanName.d.ts","names":[],"sources":["../../../src/primitives/span/SpanName.tsx"],"mappings":";;;yBAQiB;OACH,UAAU,oBAAoB,UAAU;OACxC,QAAQ,gCAAgC,UAAU;;qBAGnD,mCAAiB,0BAAA,qBAAA,gBAAA,mCAAA,eAAA;;4BAW5B,cAAA"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, ComponentRef } from "react";
|
|
2
2
|
import { Primitive } from "@radix-ui/react-primitive";
|
|
3
3
|
//#region src/primitives/span/SpanRoot.d.ts
|
|
4
|
-
declare namespace SpanPrimitiveRoot {
|
|
4
|
+
export declare namespace SpanPrimitiveRoot {
|
|
5
5
|
type Element = ComponentRef<typeof Primitive.div>;
|
|
6
6
|
type Props = ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
7
7
|
}
|
|
8
|
-
declare const SpanPrimitiveRoot: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
8
|
+
export declare const SpanPrimitiveRoot: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
9
9
|
asChild?: boolean;
|
|
10
10
|
}, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
11
|
//#endregion
|
|
12
|
-
export { SpanPrimitiveRoot };
|
|
13
12
|
//# sourceMappingURL=SpanRoot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpanRoot.d.ts","names":[],"sources":["../../../src/primitives/span/SpanRoot.tsx"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"SpanRoot.d.ts","names":[],"sources":["../../../src/primitives/span/SpanRoot.tsx"],"mappings":";;;yBAQiB;OACH,UAAU,oBAAoB,UAAU;OACxC,QAAQ,gCAAgC,UAAU;;qBAGnD,mCAAiB,0BAAA,qBAAA,gBAAA,kCAAA,eAAA;;4BAqB5B,cAAA"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, ComponentRef } from "react";
|
|
2
2
|
import { Primitive } from "@radix-ui/react-primitive";
|
|
3
3
|
//#region src/primitives/span/SpanStatusIndicator.d.ts
|
|
4
|
-
declare namespace SpanPrimitiveStatusIndicator {
|
|
4
|
+
export declare namespace SpanPrimitiveStatusIndicator {
|
|
5
5
|
type Element = ComponentRef<typeof Primitive.span>;
|
|
6
6
|
type Props = ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
7
7
|
}
|
|
8
|
-
declare const SpanPrimitiveStatusIndicator: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
|
|
8
|
+
export declare const SpanPrimitiveStatusIndicator: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
|
|
9
9
|
asChild?: boolean;
|
|
10
10
|
}, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
11
11
|
//#endregion
|
|
12
|
-
export { SpanPrimitiveStatusIndicator };
|
|
13
12
|
//# sourceMappingURL=SpanStatusIndicator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpanStatusIndicator.d.ts","names":[],"sources":["../../../src/primitives/span/SpanStatusIndicator.tsx"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"SpanStatusIndicator.d.ts","names":[],"sources":["../../../src/primitives/span/SpanStatusIndicator.tsx"],"mappings":";;;yBAQiB;OACH,UAAU,oBAAoB,UAAU;OACxC,QAAQ,gCAAgC,UAAU;;qBAGnD,8CAA4B,0BAAA,qBAAA,gBAAA,mCAAA,eAAA;;4BAOvC,cAAA"}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, ComponentRef } from "react";
|
|
2
2
|
import { Primitive } from "@radix-ui/react-primitive";
|
|
3
3
|
//#region src/primitives/span/SpanTimeline.d.ts
|
|
4
|
-
type SpanTimelineRange = {
|
|
4
|
+
export type SpanTimelineRange = {
|
|
5
5
|
min: number;
|
|
6
6
|
max: number;
|
|
7
7
|
};
|
|
8
|
-
declare namespace SpanPrimitiveTimeline {
|
|
8
|
+
export declare namespace SpanPrimitiveTimeline {
|
|
9
9
|
type Element = ComponentRef<typeof Primitive.div>;
|
|
10
10
|
type Props = ComponentPropsWithoutRef<typeof Primitive.div> & {
|
|
11
11
|
timeRange?: SpanTimelineRange | undefined;
|
|
12
12
|
paddingEnd?: number | undefined;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
declare const SpanPrimitiveTimeline: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
15
|
+
export declare const SpanPrimitiveTimeline: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
16
16
|
asChild?: boolean;
|
|
17
17
|
}, "ref"> & {
|
|
18
18
|
timeRange?: SpanTimelineRange | undefined;
|
|
19
19
|
paddingEnd?: number | undefined;
|
|
20
20
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
21
|
-
declare namespace SpanPrimitiveTimelineBar {
|
|
21
|
+
export declare namespace SpanPrimitiveTimelineBar {
|
|
22
22
|
type Element = ComponentRef<typeof Primitive.div>;
|
|
23
23
|
type Props = ComponentPropsWithoutRef<typeof Primitive.div> & {
|
|
24
24
|
now?: number | undefined;
|
|
25
25
|
timeRange?: SpanTimelineRange | undefined;
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
|
-
declare const getSpanTimelineBarVars: ({ startedAt, endedAt, timeRange, now }: {
|
|
28
|
+
export declare const getSpanTimelineBarVars: ({ startedAt, endedAt, timeRange, now }: {
|
|
29
29
|
startedAt: number;
|
|
30
30
|
endedAt: number | null;
|
|
31
31
|
timeRange: SpanTimelineRange;
|
|
@@ -37,12 +37,11 @@ declare const getSpanTimelineBarVars: ({ startedAt, endedAt, timeRange, now }: {
|
|
|
37
37
|
durationMs: number;
|
|
38
38
|
effectiveEnd: number;
|
|
39
39
|
};
|
|
40
|
-
declare const SpanPrimitiveTimelineBar: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
40
|
+
export declare const SpanPrimitiveTimelineBar: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
41
41
|
asChild?: boolean;
|
|
42
42
|
}, "ref"> & {
|
|
43
43
|
now?: number | undefined;
|
|
44
44
|
timeRange?: SpanTimelineRange | undefined;
|
|
45
45
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
46
46
|
//#endregion
|
|
47
|
-
export { SpanPrimitiveTimeline, SpanPrimitiveTimelineBar, SpanTimelineRange, getSpanTimelineBarVars };
|
|
48
47
|
//# sourceMappingURL=SpanTimeline.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpanTimeline.d.ts","names":[],"sources":["../../../src/primitives/span/SpanTimeline.tsx"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"SpanTimeline.d.ts","names":[],"sources":["../../../src/primitives/span/SpanTimeline.tsx"],"mappings":";;;YAYY;EAAsB;EAAa;;yBA6B9B;OACH,UAAU,oBAAoB,UAAU;OACxC,QAAQ,gCAAgC,UAAU;IAC5D,YAAY;IACZ;;;qBAIS,uCAAqB,0BAAA,qBAAA,gBAAA,kCAAA,eAAA;;;EALlB,YAAA;EACC;oBAkCf,cAAA;yBAIe;OACH,UAAU,oBAAoB,UAAU;OACxC,QAAQ,gCAAgC,UAAU;IAC5D;IACA,YAAY;;;qBAIH,2BAA0B,WAAA,SAAA,WAAA;EAMrC;EACA;EACA,WAAW;EACX;;;;;;;;qBAqBW,0CAAwB,0BAAA,qBAAA,gBAAA,kCAAA,eAAA;;;EAnC3B;EACM,YAAA;oBA0Ed,cAAA"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, ComponentRef } from "react";
|
|
2
2
|
import { Primitive } from "@radix-ui/react-primitive";
|
|
3
3
|
//#region src/primitives/span/SpanTypeBadge.d.ts
|
|
4
|
-
declare namespace SpanPrimitiveTypeBadge {
|
|
4
|
+
export declare namespace SpanPrimitiveTypeBadge {
|
|
5
5
|
type Element = ComponentRef<typeof Primitive.span>;
|
|
6
6
|
type Props = ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
7
7
|
}
|
|
8
|
-
declare const SpanPrimitiveTypeBadge: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
|
|
8
|
+
export declare const SpanPrimitiveTypeBadge: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
|
|
9
9
|
asChild?: boolean;
|
|
10
10
|
}, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
11
11
|
//#endregion
|
|
12
|
-
export { SpanPrimitiveTypeBadge };
|
|
13
12
|
//# sourceMappingURL=SpanTypeBadge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpanTypeBadge.d.ts","names":[],"sources":["../../../src/primitives/span/SpanTypeBadge.tsx"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"SpanTypeBadge.d.ts","names":[],"sources":["../../../src/primitives/span/SpanTypeBadge.tsx"],"mappings":";;;yBAQiB;OACH,UAAU,oBAAoB,UAAU;OACxC,QAAQ,gCAAgC,UAAU;;qBAGnD,wCAAsB,0BAAA,qBAAA,gBAAA,mCAAA,eAAA;;4BAWjC,cAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../o11y-scope.js";
|
|
2
2
|
import { ClientOutput } from "@assistant-ui/store";
|
|
3
3
|
//#region src/resources/SpanResource.d.ts
|
|
4
|
-
type SpanData = {
|
|
4
|
+
export type SpanData = {
|
|
5
5
|
id: string;
|
|
6
6
|
parentSpanId: string | null;
|
|
7
7
|
name: string;
|
|
@@ -11,9 +11,8 @@ type SpanData = {
|
|
|
11
11
|
endedAt: number | null;
|
|
12
12
|
latencyMs: number | null;
|
|
13
13
|
};
|
|
14
|
-
declare const SpanResource: import("@assistant-ui/tap").Resource<ClientOutput<"span">, [{
|
|
14
|
+
export declare const SpanResource: import("@assistant-ui/tap").Resource<ClientOutput<"span">, [{
|
|
15
15
|
spans: SpanData[];
|
|
16
16
|
}]>;
|
|
17
17
|
//#endregion
|
|
18
|
-
export { SpanData, SpanResource };
|
|
19
18
|
//# sourceMappingURL=SpanResource.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpanResource.d.ts","names":[],"sources":["../../src/resources/SpanResource.tsx"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"SpanResource.d.ts","names":[],"sources":["../../src/resources/SpanResource.tsx"],"mappings":";;;YAOY;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;qBAqQW,0CAAY,SAAA;EAlEhB,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@assistant-ui/react-o11y",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.45",
|
|
4
4
|
"description": "Observability primitives for @assistant-ui",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"observability",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
],
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@assistant-ui/store": "^0.3.
|
|
32
|
-
"@assistant-ui/tap": "^0.9.
|
|
31
|
+
"@assistant-ui/store": "^0.3.14",
|
|
32
|
+
"@assistant-ui/tap": "^0.9.18",
|
|
33
33
|
"@radix-ui/react-primitive": "^2.1.10"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@assistant-ui/x-buildutils": "0.0.
|
|
46
|
-
"@types/react": "^19.
|
|
47
|
-
"@types/react-dom": "^19.
|
|
48
|
-
"react": "^19.
|
|
49
|
-
"react-dom": "^19.
|
|
50
|
-
"vitest": "^
|
|
45
|
+
"@assistant-ui/x-buildutils": "0.0.28",
|
|
46
|
+
"@types/react": "^19.3.0",
|
|
47
|
+
"@types/react-dom": "^19.3.0",
|
|
48
|
+
"react": "^19.3.0",
|
|
49
|
+
"react-dom": "^19.3.0",
|
|
50
|
+
"vitest": "^5.0.1"
|
|
51
51
|
},
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public",
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"build": "aui-build",
|
|
67
|
-
"test": "vitest run"
|
|
67
|
+
"test": "vitest run",
|
|
68
|
+
"typecheck": "tsc --noEmit"
|
|
68
69
|
}
|
|
69
70
|
}
|