@krak-stack/registry 0.1.32 → 0.1.34
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.d.ts +8 -6
- package/dist/components/ui/code-block.js +44 -19
- package/dist/components/ui/copy-button.d.ts +9 -6
- package/dist/components/ui/copy-button.js +17 -8
- package/dist/components/ui/data-table.d.ts +9 -5
- package/dist/components/ui/data-table.js +90 -486
- package/dist/components/ui/editing-locale-switcher.d.ts +8 -4
- package/dist/components/ui/editing-locale-switcher.js +26 -448
- package/dist/components/ui/effect-form.d.ts +39 -10
- package/dist/components/ui/effect-form.js +171 -541
- package/dist/components/ui/error-component.d.ts +4 -2
- package/dist/components/ui/error-component.js +28 -450
- package/dist/components/ui/file-picker.d.ts +4 -2
- package/dist/components/ui/file-picker.js +27 -452
- package/dist/components/ui/form.d.ts +123 -71
- package/dist/components/ui/form.js +95 -476
- package/dist/components/ui/google-map.d.ts +3 -2
- package/dist/components/ui/google-map.js +6 -439
- package/dist/components/ui/icon-input.d.ts +50 -1
- package/dist/components/ui/icon-input.js +38 -448
- package/dist/components/ui/krakstack-provider.d.ts +9 -0
- package/dist/components/ui/krakstack-provider.js +28 -0
- package/dist/components/ui/loading.d.ts +7 -1
- package/dist/components/ui/loading.js +6 -438
- package/dist/components/ui/locale-switcher.d.ts +8 -4
- package/dist/components/ui/locale-switcher.js +35 -453
- package/dist/components/ui/pagination.d.ts +5 -3
- package/dist/components/ui/pagination.js +7 -439
- package/dist/components/ui/search-menu.d.ts +4 -2
- package/dist/components/ui/search-menu.js +8 -440
- package/dist/components/ui/theme-switcher.d.ts +5 -3
- package/dist/components/ui/theme-switcher.js +8 -440
- package/dist/components/ui/virtualized-combobox.d.ts +4 -2
- package/dist/components/ui/virtualized-combobox.js +17 -445
- package/dist/lib/docs.d.ts +2 -0
- package/dist/lib/docs.js +92 -481
- package/dist/lib/docs.server.js +4 -20
- package/dist/lib/documentation-toolkit.js +4 -20
- package/dist/lib/markdown/content.d.ts +4 -5
- package/dist/services/agent/client/index.js +81 -463
- package/dist/services/agent/client/widget.d.ts +6 -3
- package/dist/services/notification/client/index.js +11 -440
- package/dist/services/notification/client/notification-menu.d.ts +7 -4
- package/dist/services/notification/public.js +11 -440
- package/package.json +5 -1
- package/dist/paraglide/runtime.d.ts +0 -978
package/dist/lib/docs.server.js
CHANGED
|
@@ -75,12 +75,14 @@ var buttonVariants = cva2("group/button inline-flex shrink-0 items-center justif
|
|
|
75
75
|
// ../../src/components/ui/copy-button.tsx
|
|
76
76
|
import { Check, Copy, TriangleAlert } from "lucide-react";
|
|
77
77
|
import { useEffect, useRef, useState } from "react";
|
|
78
|
+
import { useKrakstackLocale } from "@krak-stack/registry/krakstack-provider";
|
|
78
79
|
|
|
79
80
|
// ../../src/components/ui/code-block.tsx
|
|
80
81
|
import { highlight } from "@tanstack/highlight";
|
|
81
82
|
import { createThemeCss } from "@tanstack/highlight/theme";
|
|
82
83
|
import { githubDarkTheme } from "@tanstack/highlight/themes/github-dark";
|
|
83
84
|
import { githubLightTheme } from "@tanstack/highlight/themes/github-light";
|
|
85
|
+
import { useKrakstackLocale as useKrakstackLocale2 } from "@krak-stack/registry/krakstack-provider";
|
|
84
86
|
var themeCss = `${createThemeCss({
|
|
85
87
|
light: githubLightTheme,
|
|
86
88
|
dark: githubDarkTheme,
|
|
@@ -113,26 +115,8 @@ import { SearchIcon } from "lucide-react";
|
|
|
113
115
|
import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
|
|
114
116
|
import { XIcon } from "lucide-react";
|
|
115
117
|
|
|
116
|
-
// ../../src/
|
|
117
|
-
import"@
|
|
118
|
-
var isServer = import.meta.env?.SSR ?? typeof window === "undefined";
|
|
119
|
-
globalThis.__paraglide = globalThis.__paraglide ?? {};
|
|
120
|
-
globalThis.__paraglide.ssr = globalThis.__paraglide.ssr ?? {};
|
|
121
|
-
var rtlLanguages = new Set([
|
|
122
|
-
"ar",
|
|
123
|
-
"dv",
|
|
124
|
-
"fa",
|
|
125
|
-
"he",
|
|
126
|
-
"ks",
|
|
127
|
-
"ku",
|
|
128
|
-
"ps",
|
|
129
|
-
"sd",
|
|
130
|
-
"ug",
|
|
131
|
-
"ur",
|
|
132
|
-
"yi"
|
|
133
|
-
]);
|
|
134
|
-
var customServerStrategies = new Map;
|
|
135
|
-
var customClientStrategies = new Map;
|
|
118
|
+
// ../../src/components/ui/search-menu.tsx
|
|
119
|
+
import { useKrakstackLocale as useKrakstackLocale3 } from "@krak-stack/registry/krakstack-provider";
|
|
136
120
|
|
|
137
121
|
// ../../src/components/ui/sidebar-layout.tsx
|
|
138
122
|
import { Link as Link2, Outlet, useRouterState } from "@tanstack/react-router";
|
|
@@ -75,12 +75,14 @@ var buttonVariants = cva2("group/button inline-flex shrink-0 items-center justif
|
|
|
75
75
|
// ../../src/components/ui/copy-button.tsx
|
|
76
76
|
import { Check, Copy, TriangleAlert } from "lucide-react";
|
|
77
77
|
import { useEffect, useRef, useState } from "react";
|
|
78
|
+
import { useKrakstackLocale } from "@krak-stack/registry/krakstack-provider";
|
|
78
79
|
|
|
79
80
|
// ../../src/components/ui/code-block.tsx
|
|
80
81
|
import { highlight } from "@tanstack/highlight";
|
|
81
82
|
import { createThemeCss } from "@tanstack/highlight/theme";
|
|
82
83
|
import { githubDarkTheme } from "@tanstack/highlight/themes/github-dark";
|
|
83
84
|
import { githubLightTheme } from "@tanstack/highlight/themes/github-light";
|
|
85
|
+
import { useKrakstackLocale as useKrakstackLocale2 } from "@krak-stack/registry/krakstack-provider";
|
|
84
86
|
var themeCss = `${createThemeCss({
|
|
85
87
|
light: githubLightTheme,
|
|
86
88
|
dark: githubDarkTheme,
|
|
@@ -113,26 +115,8 @@ import { SearchIcon } from "lucide-react";
|
|
|
113
115
|
import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
|
|
114
116
|
import { XIcon } from "lucide-react";
|
|
115
117
|
|
|
116
|
-
// ../../src/
|
|
117
|
-
import"@
|
|
118
|
-
var isServer = import.meta.env?.SSR ?? typeof window === "undefined";
|
|
119
|
-
globalThis.__paraglide = globalThis.__paraglide ?? {};
|
|
120
|
-
globalThis.__paraglide.ssr = globalThis.__paraglide.ssr ?? {};
|
|
121
|
-
var rtlLanguages = new Set([
|
|
122
|
-
"ar",
|
|
123
|
-
"dv",
|
|
124
|
-
"fa",
|
|
125
|
-
"he",
|
|
126
|
-
"ks",
|
|
127
|
-
"ku",
|
|
128
|
-
"ps",
|
|
129
|
-
"sd",
|
|
130
|
-
"ug",
|
|
131
|
-
"ur",
|
|
132
|
-
"yi"
|
|
133
|
-
]);
|
|
134
|
-
var customServerStrategies = new Map;
|
|
135
|
-
var customClientStrategies = new Map;
|
|
118
|
+
// ../../src/components/ui/search-menu.tsx
|
|
119
|
+
import { useKrakstackLocale as useKrakstackLocale3 } from "@krak-stack/registry/krakstack-provider";
|
|
136
120
|
|
|
137
121
|
// ../../src/components/ui/sidebar-layout.tsx
|
|
138
122
|
import { Link as Link2, Outlet, useRouterState } from "@tanstack/react-router";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type CodeBlockMessageTranslations } from "../../components/ui/code-block.js";
|
|
1
2
|
export type MarkdownContentProps = {
|
|
2
3
|
readonly className?: string;
|
|
3
4
|
readonly codeBlocks: ReadonlyArray<{
|
|
@@ -5,9 +6,7 @@ export type MarkdownContentProps = {
|
|
|
5
6
|
readonly language: string;
|
|
6
7
|
}>;
|
|
7
8
|
readonly html: string;
|
|
8
|
-
readonly
|
|
9
|
-
|
|
10
|
-
readonly copy?: string;
|
|
11
|
-
};
|
|
9
|
+
readonly locale?: string;
|
|
10
|
+
readonly messages?: CodeBlockMessageTranslations;
|
|
12
11
|
};
|
|
13
|
-
export declare const MarkdownContent: ({ className, codeBlocks, html, messages, }: MarkdownContentProps) => import("react").JSX.Element;
|
|
12
|
+
export declare const MarkdownContent: ({ className, codeBlocks, html, locale, messages, }: MarkdownContentProps) => import("react").JSX.Element;
|