@krak-stack/registry 0.1.28 → 0.1.30
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/ui/code-block.js +1 -5
- package/dist/components/ui/copy-button.js +1 -5
- package/dist/components/ui/data-table.d.ts +149 -45
- package/dist/components/ui/data-table.js +808 -768
- package/dist/components/ui/editing-locale-switcher.js +1 -5
- package/dist/components/ui/effect-form.js +1 -5
- package/dist/components/ui/error-component.d.ts +30 -0
- package/dist/components/ui/error-component.js +811 -0
- package/dist/components/ui/file-picker.js +1 -5
- package/dist/components/ui/form.js +1 -5
- package/dist/components/ui/google-map.js +1 -5
- package/dist/components/ui/icon-input.js +1 -5
- package/dist/components/ui/loading.js +1 -5
- package/dist/components/ui/locale-switcher.js +1 -5
- package/dist/components/ui/pagination.js +1 -5
- package/dist/components/ui/search-menu.js +1 -5
- package/dist/components/ui/sidebar-layout.js +1 -5
- package/dist/components/ui/stats-card.js +1 -5
- package/dist/components/ui/theme-switcher.js +1 -5
- package/dist/components/ui/virtualized-combobox.js +1 -5
- package/dist/lib/docs.js +1 -5
- package/dist/lib/docs.server.js +1 -2
- package/dist/lib/documentation-toolkit.js +1 -2
- package/dist/lib/utils.d.ts +1 -2
- package/dist/services/agent/client/index.js +3 -5
- package/dist/services/agent/index.d.ts +4 -0
- package/dist/services/agent/index.js +1 -1
- package/dist/services/agent/schema.d.ts +6 -0
- package/dist/services/agent/schema.js +1 -0
- package/dist/services/notification/client/index.js +1 -5
- package/dist/services/notification/public.js +1 -5
- package/package.json +7 -4
|
@@ -2,11 +2,7 @@
|
|
|
2
2
|
import { SquarePen } from "lucide-react";
|
|
3
3
|
|
|
4
4
|
// ../../src/lib/utils.ts
|
|
5
|
-
import {
|
|
6
|
-
import { twMerge } from "tailwind-merge";
|
|
7
|
-
function cn(...inputs) {
|
|
8
|
-
return twMerge(clsx(inputs));
|
|
9
|
-
}
|
|
5
|
+
import { cn } from "cn";
|
|
10
6
|
|
|
11
7
|
// ../../src/components/ui/label.tsx
|
|
12
8
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -9,11 +9,7 @@ import { Languages, Loader2, Plus, Trash } from "lucide-react";
|
|
|
9
9
|
import { AlertDialog as AlertDialogPrimitive } from "@base-ui/react/alert-dialog";
|
|
10
10
|
|
|
11
11
|
// ../../src/lib/utils.ts
|
|
12
|
-
import {
|
|
13
|
-
import { twMerge } from "tailwind-merge";
|
|
14
|
-
function cn(...inputs) {
|
|
15
|
-
return twMerge(clsx(inputs));
|
|
16
|
-
}
|
|
12
|
+
import { cn } from "cn";
|
|
17
13
|
|
|
18
14
|
// ../../src/components/ui/button.tsx
|
|
19
15
|
import { Button as ButtonPrimitive } from "@base-ui/react/button";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type ErrorComponentProps as RouterErrorComponentProps } from "@tanstack/react-router";
|
|
2
|
+
export type ErrorComponentMessages = {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
retry: string;
|
|
6
|
+
home: string;
|
|
7
|
+
copy: string;
|
|
8
|
+
copied: string;
|
|
9
|
+
copyFailed: string;
|
|
10
|
+
details: string;
|
|
11
|
+
errorLabel: string;
|
|
12
|
+
messageLabel: string;
|
|
13
|
+
pageLabel: string;
|
|
14
|
+
timeLabel: string;
|
|
15
|
+
languageLabel: string;
|
|
16
|
+
appLabel: string;
|
|
17
|
+
versionLabel: string;
|
|
18
|
+
referenceLabel: string;
|
|
19
|
+
};
|
|
20
|
+
export type ErrorComponentProps = RouterErrorComponentProps & {
|
|
21
|
+
messages?: Partial<ErrorComponentMessages>;
|
|
22
|
+
retryable?: boolean;
|
|
23
|
+
className?: string;
|
|
24
|
+
diagnostics?: {
|
|
25
|
+
app?: string;
|
|
26
|
+
version?: string;
|
|
27
|
+
reference?: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export declare const ErrorComponent: ({ error, messages, retryable, className, diagnostics, }: ErrorComponentProps) => import("react").JSX.Element;
|