@krak-stack/registry 0.1.59 → 0.1.60
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/CHANGELOG.md +4 -1
- package/dist/components/ui/data-table.d.ts +2 -0
- package/dist/components/ui/data-table.js +6 -2
- package/dist/components/ui/item.d.ts +22 -0
- package/dist/components/ui/trace.d.ts +18 -0
- package/dist/services/agent/client/index.js +584 -434
- package/dist/services/agent/client/widget.d.ts +1 -0
- package/dist/services/events/browser.js +29 -3
- package/dist/services/events/client/audit-log-table.js +6 -2
- package/dist/services/events/client/tracking-notice.js +2 -1
- package/dist/services/events/index.d.ts +26 -56
- package/dist/services/events/index.js +118 -7
- package/dist/services/events/schema.d.ts +66 -24
- package/dist/services/events/schema.js +34 -3
- package/dist/services/opentelemetry/api.js +2 -1
- package/dist/services/opentelemetry/browser.d.ts +1 -1
- package/dist/services/opentelemetry/browser.js +2 -1
- package/dist/services/opentelemetry/events.d.ts +1 -1
- package/dist/services/opentelemetry/index.d.ts +1 -1
- package/dist/services/opentelemetry/index.js +2 -1
- package/dist/services/opentelemetry/schema.d.ts +3 -1
- package/dist/services/opentelemetry/web-vitals.js +2 -1
- package/dist/services/webhooks/http-client.d.ts +7 -0
- package/dist/services/webhooks/http-client.js +57 -0
- package/dist/services/webhooks/index.d.ts +341 -0
- package/dist/services/webhooks/index.js +737 -0
- package/dist/services/webhooks/migrations.d.ts +5 -0
- package/dist/services/webhooks/migrations.js +44 -0
- package/dist/services/webhooks/schema.d.ts +243 -0
- package/dist/services/webhooks/schema.js +333 -0
- package/dist/services/webhooks/url.d.ts +3 -0
- package/dist/services/webhooks/url.js +32 -0
- package/package.json +25 -1
- package/dist/components/ui/marker.d.ts +0 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
# @krak-stack/registry
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 0.1.60
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
+
- Add durable server-event subscriptions and JSON snapshot normalization to Events.
|
|
8
|
+
- Export reusable Webhooks with protected delivery, durable retries, endpoint names, sanitized errors, tenant-scoped statistics, and paginated delivery history.
|
|
9
|
+
- Support icons and icon styling in data-table reference cells.
|
|
7
10
|
- Merge the error component's homepage link classes with `cn` so its outline border is visible instead of being overridden by the base transparent border.
|
|
8
11
|
|
|
9
12
|
## 0.1.59
|
|
@@ -21,6 +21,8 @@ export interface DataTableListItem {
|
|
|
21
21
|
}
|
|
22
22
|
export interface DataTableReferenceItem {
|
|
23
23
|
label: string;
|
|
24
|
+
icon?: ReactNode;
|
|
25
|
+
iconClassName?: string;
|
|
24
26
|
/** Secondary text, such as a user's email or a record identifier. */
|
|
25
27
|
description?: string | null;
|
|
26
28
|
imageSrc?: string | null;
|
|
@@ -1224,8 +1224,12 @@ var DataTableReferenceCell = ({
|
|
|
1224
1224
|
className: "flex min-w-0 items-center gap-2",
|
|
1225
1225
|
children: [
|
|
1226
1226
|
/* @__PURE__ */ jsx15("div", {
|
|
1227
|
-
className: cn("bg-muted flex size-8 shrink-0 items-center justify-center overflow-hidden text-xs font-medium", imageVariant === "circle" ? "rounded-full" : "rounded-md"),
|
|
1228
|
-
children: item.
|
|
1227
|
+
className: cn("bg-muted flex size-8 shrink-0 items-center justify-center overflow-hidden text-xs font-medium", imageVariant === "circle" ? "rounded-full" : "rounded-md", item.iconClassName),
|
|
1228
|
+
children: item.icon ? /* @__PURE__ */ jsx15("span", {
|
|
1229
|
+
"aria-hidden": "true",
|
|
1230
|
+
className: "[&_svg]:size-4",
|
|
1231
|
+
children: item.icon
|
|
1232
|
+
}) : item.imageSrc && item.imageSrc !== failedImage ? /* @__PURE__ */ jsx15("img", {
|
|
1229
1233
|
src: item.imageSrc,
|
|
1230
1234
|
alt: item.label,
|
|
1231
1235
|
className: "size-full object-cover",
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
3
|
+
import { type VariantProps } from "class-variance-authority";
|
|
4
|
+
import { Separator } from "./separator.js";
|
|
5
|
+
declare function ItemGroup({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
6
|
+
declare function ItemSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): React.JSX.Element;
|
|
7
|
+
declare const itemVariants: (props?: ({
|
|
8
|
+
variant?: "default" | "muted" | "outline" | null | undefined;
|
|
9
|
+
size?: "default" | "sm" | "xs" | null | undefined;
|
|
10
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
|
+
declare function Item({ className, variant, size, render, ...props }: useRender.ComponentProps<"div"> & VariantProps<typeof itemVariants>): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
12
|
+
declare const itemMediaVariants: (props?: ({
|
|
13
|
+
variant?: "default" | "icon" | "image" | null | undefined;
|
|
14
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
|
+
declare function ItemMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): React.JSX.Element;
|
|
16
|
+
declare function ItemContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
17
|
+
declare function ItemTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
18
|
+
declare function ItemDescription({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element;
|
|
19
|
+
declare function ItemActions({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
20
|
+
declare function ItemHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
21
|
+
declare function ItemFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
22
|
+
export { Item, ItemMedia, ItemContent, ItemActions, ItemGroup, ItemSeparator, ItemTitle, ItemDescription, ItemHeader, ItemFooter, };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./collapsible.js";
|
|
3
|
+
declare function Trace({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
4
|
+
declare function TraceLine({ className, status, ...props }: React.ComponentProps<"span"> & {
|
|
5
|
+
status?: "running" | "error" | "pending";
|
|
6
|
+
}): React.JSX.Element;
|
|
7
|
+
declare function TraceIcon({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
8
|
+
declare function TraceTitle({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
9
|
+
declare function TraceDescription({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
10
|
+
declare function TraceCollapsible({ className, ...props }: Omit<React.ComponentProps<typeof Collapsible>, "open"> & ({
|
|
11
|
+
open?: undefined;
|
|
12
|
+
} | {
|
|
13
|
+
open: boolean;
|
|
14
|
+
onOpenChange: NonNullable<React.ComponentProps<typeof Collapsible>["onOpenChange"]>;
|
|
15
|
+
})): React.JSX.Element;
|
|
16
|
+
declare function TraceCollapsibleTrigger({ className, children, ...props }: React.ComponentProps<typeof CollapsibleTrigger>): React.JSX.Element;
|
|
17
|
+
declare function TraceCollapsibleContent({ className, children, ...props }: React.ComponentProps<typeof CollapsibleContent>): React.JSX.Element;
|
|
18
|
+
export { Trace, TraceLine, TraceIcon, TraceTitle, TraceDescription, TraceCollapsible, TraceCollapsibleTrigger, TraceCollapsibleContent, };
|