@kyro-cms/admin 0.11.1 → 0.11.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kyro-cms/admin",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "engines": {
5
5
  "node": ">=22"
6
6
  },
@@ -18,6 +18,7 @@ import {
18
18
  DndContext,
19
19
  closestCenter,
20
20
  PointerSensor,
21
+ TouchSensor,
21
22
  useSensor,
22
23
  useSensors,
23
24
  KeyboardSensor,
@@ -131,7 +132,7 @@ const SortableBlockComponent = ({
131
132
  }`}
132
133
  >
133
134
  <div
134
- className="absolute left-0.5 top-1/2 -translate-y-1/2 p-0.5 cursor-grab active:cursor-grabbing text-[var(--kyro-text-muted)] opacity-0 group-hover:opacity-100 transition-opacity hover:bg-[var(--kyro-surface-accent)] rounded"
135
+ className="absolute left-0.5 top-1/2 -translate-y-1/2 p-0.5 cursor-grab active:cursor-grabbing text-[var(--kyro-text-muted)] opacity-0 group-hover:opacity-100 transition-opacity hover:bg-[var(--kyro-surface-accent)] rounded touch-none"
135
136
  {...attributes}
136
137
  {...listeners}
137
138
  onClick={(e) => e.stopPropagation()}
@@ -244,7 +245,7 @@ const SortableBlockComponent = ({
244
245
  }`}
245
246
  >
246
247
  <div
247
- className="p-1 cursor-grab active:cursor-grabbing text-[var(--kyro-text-muted)] hover:bg-[var(--kyro-surface-accent)] rounded flex-shrink-0"
248
+ className="p-1 cursor-grab active:cursor-grabbing text-[var(--kyro-text-muted)] hover:bg-[var(--kyro-surface-accent)] rounded flex-shrink-0 touch-none"
248
249
  {...attributes}
249
250
  {...listeners}
250
251
  onClick={(e) => e.stopPropagation()}
@@ -549,6 +550,12 @@ export const BlocksField: React.FC<BlocksFieldProps> = ({
549
550
  distance: 3,
550
551
  },
551
552
  }),
553
+ useSensor(TouchSensor, {
554
+ activationConstraint: {
555
+ delay: 250,
556
+ tolerance: 5,
557
+ },
558
+ }),
552
559
  useSensor(KeyboardSensor),
553
560
  );
554
561
 
package/dist/index.d.cts DELETED
@@ -1,567 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { CollectionConfig, GlobalConfig, KyroConfig } from '@kyro-cms/core/client';
3
- import * as React$1 from 'react';
4
- import React__default, { ReactNode, ComponentType, SVGAttributes, ButtonHTMLAttributes } from 'react';
5
- import { CollectionConfig as CollectionConfig$1, Block, Field, FieldType } from '@kyro-cms/core';
6
- import { AstroIntegration } from 'astro';
7
-
8
- interface ThemeColors {
9
- primary?: string;
10
- secondary?: string;
11
- accent?: string;
12
- background?: string;
13
- surface?: string;
14
- text?: string;
15
- textMuted?: string;
16
- border?: string;
17
- success?: string;
18
- error?: string;
19
- warning?: string;
20
- info?: string;
21
- }
22
- interface ThemeTypography {
23
- fontFamily?: string;
24
- fontFamilyMono?: string;
25
- fontSize?: {
26
- xs?: string;
27
- sm?: string;
28
- md?: string;
29
- lg?: string;
30
- xl?: string;
31
- "2xl"?: string;
32
- "3xl"?: string;
33
- "4xl"?: string;
34
- };
35
- fontWeight?: {
36
- normal?: number;
37
- medium?: number;
38
- semibold?: number;
39
- bold?: number;
40
- };
41
- }
42
- interface ThemeSpacing {
43
- xs?: string;
44
- sm?: string;
45
- md?: string;
46
- lg?: string;
47
- xl?: string;
48
- "2xl"?: string;
49
- }
50
- interface ThemeRadius {
51
- sm?: string;
52
- md?: string;
53
- lg?: string;
54
- full?: string;
55
- }
56
- interface ThemeShadows {
57
- sm?: string;
58
- md?: string;
59
- lg?: string;
60
- xl?: string;
61
- }
62
- interface BlockThemeOverrides {
63
- card?: {
64
- background?: string;
65
- borderRadius?: string;
66
- padding?: string;
67
- shadow?: string;
68
- };
69
- hero?: {
70
- background?: string;
71
- textAlign?: "left" | "center" | "right";
72
- };
73
- gallery?: {
74
- gridColumns?: number;
75
- gap?: string;
76
- };
77
- code?: {
78
- fontFamily?: string;
79
- fontSize?: string;
80
- background?: string;
81
- };
82
- }
83
- interface FieldThemeOverrides {
84
- input?: {
85
- background?: string;
86
- border?: string;
87
- borderRadius?: string;
88
- padding?: string;
89
- focusRing?: string;
90
- };
91
- select?: {
92
- background?: string;
93
- border?: string;
94
- };
95
- textarea?: {
96
- background?: string;
97
- minHeight?: string;
98
- };
99
- richText?: {
100
- toolbarBackground?: string;
101
- buttonActive?: string;
102
- };
103
- upload?: {
104
- dropzoneBackground?: string;
105
- dropzoneActive?: string;
106
- };
107
- }
108
- interface KyroTheme {
109
- id?: string;
110
- label?: string;
111
- colors?: ThemeColors;
112
- typography?: ThemeTypography;
113
- spacing?: ThemeSpacing;
114
- borderRadius?: ThemeRadius;
115
- shadows?: ThemeShadows;
116
- blocks?: BlockThemeOverrides;
117
- fields?: FieldThemeOverrides;
118
- }
119
- declare const LIGHT_THEME: KyroTheme;
120
- declare const DARK_THEME: KyroTheme;
121
- declare function mergeThemes(base: KyroTheme, overrides: Partial<KyroTheme>): KyroTheme;
122
-
123
- type ThemeMode = "light" | "dark" | "system";
124
- interface ThemeContextValue {
125
- mode: ThemeMode;
126
- theme: KyroTheme;
127
- lightTheme: KyroTheme;
128
- darkTheme: KyroTheme;
129
- setMode: (mode: ThemeMode) => void;
130
- updateTheme: (overrides: Partial<KyroTheme>) => void;
131
- getCssVar: (key: string) => string;
132
- }
133
- declare function useTheme(): ThemeContextValue;
134
- interface ThemeProviderProps {
135
- children: ReactNode;
136
- defaultMode?: ThemeMode;
137
- light?: Partial<KyroTheme>;
138
- dark?: Partial<KyroTheme>;
139
- }
140
- declare function ThemeProvider({ children, defaultMode, light: lightOverrides, dark: darkOverrides, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
141
- declare const LightThemeProvider: (props: Omit<ThemeProviderProps, "defaultMode">) => react_jsx_runtime.JSX.Element;
142
- declare const DarkThemeProvider: (props: Omit<ThemeProviderProps, "defaultMode">) => react_jsx_runtime.JSX.Element;
143
-
144
- interface KyroAdminConfig {
145
- collections?: CollectionConfig[] | Record<string, CollectionConfig>;
146
- globals?: GlobalConfig[] | Record<string, GlobalConfig>;
147
- adapter?: unknown;
148
- name?: string;
149
- }
150
- interface AdminProps {
151
- config: KyroAdminConfig;
152
- theme?: ThemeMode;
153
- onThemeChange?: (mode: ThemeMode) => void;
154
- }
155
- declare function Admin({ config, theme, onThemeChange }: AdminProps): react_jsx_runtime.JSX.Element;
156
-
157
- interface LoginPageProps {
158
- onAuth: (token: string, user: Record<string, unknown>) => void;
159
- theme?: ThemeMode;
160
- }
161
- declare function LoginPage({ onAuth, theme }: LoginPageProps): react_jsx_runtime.JSX.Element;
162
-
163
- interface ListViewProps {
164
- collection: CollectionConfig$1;
165
- collectionSlug?: string;
166
- initialDocs?: any[];
167
- initialTotal?: number;
168
- onCreate?: () => void;
169
- onEdit?: (id: string) => void;
170
- config?: any;
171
- }
172
- /**
173
- * Unified ListView component used across both SPA (Admin.tsx) and MPA (Astro pages) modes.
174
- */
175
- declare function ListView({ collection, collectionSlug: providedSlug, initialDocs, initialTotal, onCreate: providedOnCreate, onEdit: providedOnEdit, config, }: ListViewProps): react_jsx_runtime.JSX.Element;
176
-
177
- interface DetailViewProps {
178
- config: KyroConfig;
179
- collection?: CollectionConfig;
180
- global?: GlobalConfig;
181
- documentId?: string;
182
- onBack: () => void;
183
- onSave: () => void;
184
- onDelete?: () => void;
185
- onError: (message: string) => void;
186
- mode?: "collection" | "global";
187
- }
188
- declare function DetailView({ config, collection, global, documentId, onBack, onSave, onDelete, onError, mode, }: DetailViewProps): react_jsx_runtime.JSX.Element;
189
-
190
- interface CreateViewProps {
191
- config: KyroConfig;
192
- collection: CollectionConfig;
193
- onCancel: () => void;
194
- onSuccess: () => void;
195
- onError: (message: string) => void;
196
- }
197
- declare function CreateView({ config, collection, onCancel, onSuccess, onError, }: CreateViewProps): react_jsx_runtime.JSX.Element;
198
-
199
- interface AutoFormProps {
200
- config: CollectionConfig | GlobalConfig;
201
- data?: Record<string, unknown>;
202
- errors?: Record<string, string>;
203
- onChange?: (data: Record<string, unknown>) => void;
204
- disabled?: boolean;
205
- collectionSlug?: string;
206
- globalSlug?: string;
207
- documentId?: string;
208
- documentName?: string;
209
- layout?: "split" | "single";
210
- onActionSuccess?: (message: string) => void;
211
- onActionError?: (message: string) => void;
212
- justSaved?: boolean;
213
- documentStatus?: string;
214
- }
215
- declare function AutoForm({ config: propConfig, data: initialData, errors, onChange, disabled: propDisabled, collectionSlug, globalSlug, documentId, documentName, layout, onActionSuccess, onActionError, justSaved, }: AutoFormProps): react_jsx_runtime.JSX.Element;
216
-
217
- type DocumentStatus = "draft" | "published" | "scheduled" | "archived";
218
- type SaveStatus = "idle" | "saving" | "saved" | "error";
219
- interface ActionBarProps {
220
- status: DocumentStatus;
221
- saveStatus: SaveStatus;
222
- hasChanges: boolean;
223
- onSave: () => void;
224
- onPublish?: () => void;
225
- onUnpublish?: () => void;
226
- onDuplicate?: () => void;
227
- onViewHistory?: () => void;
228
- onPreview?: () => void;
229
- onDelete?: () => void;
230
- onBack?: () => void;
231
- onToggleSidebar?: () => void;
232
- publishedAt?: string | null;
233
- updatedAt?: string | null;
234
- }
235
- declare function ActionBar({ status, saveStatus, hasChanges, onSave, onPublish, onUnpublish, onDuplicate, onViewHistory, onPreview, onDelete, onBack, onToggleSidebar, publishedAt, updatedAt, }: ActionBarProps): react_jsx_runtime.JSX.Element;
236
-
237
- interface BulkAction {
238
- label: string;
239
- onClick: () => void;
240
- icon?: React__default.ReactNode;
241
- danger?: boolean;
242
- }
243
- interface BulkActionsBarProps {
244
- selectedCount: number;
245
- onClearSelection: () => void;
246
- actions: BulkAction[];
247
- onSelectAll?: () => void;
248
- }
249
- declare function BulkActionsBar({ selectedCount, onClearSelection, actions, onSelectAll, }: BulkActionsBarProps): react_jsx_runtime.JSX.Element | null;
250
-
251
- type BadgeVariant = "default" | "success" | "warning" | "danger" | "info" | "outline" | "draft" | "published" | "scheduled" | "archived" | "active" | "inactive" | "pending" | "completed" | "cancelled";
252
- interface BadgeProps {
253
- variant?: BadgeVariant;
254
- status?: BadgeVariant;
255
- className?: string;
256
- children?: ReactNode;
257
- dot?: boolean;
258
- }
259
- declare function Badge({ variant, status, className, children, dot, }: BadgeProps): react_jsx_runtime.JSX.Element;
260
- declare function CountBadge({ count, max }: {
261
- count: number;
262
- max?: number;
263
- }): react_jsx_runtime.JSX.Element | null;
264
-
265
- interface Breadcrumb {
266
- label: string;
267
- href?: string;
268
- onClick?: () => void;
269
- }
270
- interface Action {
271
- label: string;
272
- onClick: () => void;
273
- icon?: ComponentType<SVGAttributes<SVGSVGElement>>;
274
- variant?: "primary" | "outline" | "ghost";
275
- className?: string;
276
- }
277
- interface PageHeaderProps {
278
- title?: string;
279
- description?: string;
280
- icon?: ComponentType<SVGAttributes<SVGSVGElement>>;
281
- breadcrumbs?: Breadcrumb[];
282
- metadata?: ReactNode[];
283
- back?: {
284
- label?: string;
285
- href?: string;
286
- onClick?: () => void;
287
- };
288
- action?: Action;
289
- actions?: ReactNode | Action[];
290
- children?: ReactNode;
291
- }
292
- declare function PageHeader({ title, description, icon: Icon, breadcrumbs, metadata, back, action, actions, children, }: PageHeaderProps): react_jsx_runtime.JSX.Element;
293
-
294
- interface Version {
295
- id: string;
296
- version: number;
297
- createdAt: string;
298
- updatedAt: string;
299
- createdBy?: {
300
- id: string;
301
- name: string;
302
- email?: string;
303
- };
304
- status: "draft" | "published";
305
- changelog?: string;
306
- }
307
- interface VersionHistoryPanelProps {
308
- open: boolean;
309
- onClose: () => void;
310
- versions: Version[];
311
- currentVersionId?: string;
312
- onPreview: (version: Version) => void;
313
- onRestore: (version: Version) => void;
314
- onCompare?: (v1: Version, v2: Version) => void;
315
- loading?: boolean;
316
- }
317
- declare function VersionHistoryPanel({ open, onClose, versions, currentVersionId, onPreview, onRestore, onCompare, loading, }: VersionHistoryPanelProps): react_jsx_runtime.JSX.Element;
318
-
319
- interface HeaderProps {
320
- title: string;
321
- onMenuClick: () => void;
322
- actions?: ReactNode;
323
- }
324
- declare function Header({ title, onMenuClick, actions }: HeaderProps): react_jsx_runtime.JSX.Element;
325
-
326
- interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
327
- variant?: 'primary' | 'secondary' | 'danger' | 'ghost';
328
- size?: 'sm' | 'md' | 'lg';
329
- loading?: boolean;
330
- children: ReactNode;
331
- }
332
- declare function Button({ variant, size, loading, children, className, disabled, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
333
-
334
- interface SpinnerProps {
335
- size?: "sm" | "md" | "lg";
336
- className?: string;
337
- }
338
- declare function Spinner({ size, className }: SpinnerProps): react_jsx_runtime.JSX.Element;
339
-
340
- interface Toast$1 {
341
- id: string;
342
- type: "success" | "error" | "warning" | "info";
343
- message: string;
344
- }
345
-
346
- type ToastType = "success" | "error" | "warning" | "info";
347
- interface ToastProps {
348
- type: ToastType;
349
- message: string;
350
- onClose: () => void;
351
- }
352
- declare function Toast({ type, message, onClose }: ToastProps): react_jsx_runtime.JSX.Element;
353
- interface ToastProviderProps {
354
- children: ReactNode;
355
- }
356
- declare function ToastProvider({ children }: ToastProviderProps): react_jsx_runtime.JSX.Element;
357
- declare function useToast(): {
358
- toasts: Toast$1[];
359
- addToast: (type: Toast$1["type"], message: string) => void;
360
- removeToast: (id: string) => void;
361
- };
362
-
363
- interface DropdownProps {
364
- trigger: ReactNode;
365
- children: ReactNode;
366
- align?: "left" | "right";
367
- direction?: "up" | "down";
368
- }
369
- declare function Dropdown({ trigger, children, align, direction, }: DropdownProps): react_jsx_runtime.JSX.Element;
370
- interface DropdownItemProps {
371
- children: ReactNode;
372
- onClick?: () => void;
373
- icon?: ReactNode;
374
- danger?: boolean;
375
- disabled?: boolean;
376
- className?: string;
377
- }
378
- declare function DropdownItem({ children, onClick, icon, danger, disabled, className, }: DropdownItemProps): react_jsx_runtime.JSX.Element;
379
- declare function DropdownSeparator(): react_jsx_runtime.JSX.Element;
380
-
381
- interface ModalProps {
382
- open: boolean;
383
- onClose: () => void;
384
- title: string;
385
- children: ReactNode;
386
- footer?: ReactNode;
387
- size?: "sm" | "md" | "lg" | "full";
388
- variant?: "default" | "danger" | "lightbox";
389
- }
390
- declare function Modal({ open, onClose, title, children, footer, size, variant, }: ModalProps): React__default.ReactPortal | null;
391
- interface ConfirmModalProps {
392
- open: boolean;
393
- onClose: () => void;
394
- onConfirm: () => void;
395
- title: string;
396
- message: string;
397
- confirmLabel?: string;
398
- cancelLabel?: string;
399
- variant?: "default" | "danger";
400
- loading?: boolean;
401
- }
402
- declare function ConfirmModal({ open, onClose, onConfirm, title, message, confirmLabel, cancelLabel, variant, loading, }: ConfirmModalProps): react_jsx_runtime.JSX.Element;
403
-
404
- interface SlidePanelProps {
405
- open: boolean;
406
- onClose: () => void;
407
- title: string;
408
- subtitle?: string;
409
- size?: "sm" | "md" | "lg" | "xl";
410
- children: ReactNode;
411
- width?: "sm" | "md" | "lg" | "xl";
412
- showOverlay?: boolean;
413
- accentClass?: string;
414
- }
415
- declare function SlidePanel({ open, onClose, title, children, width, showOverlay, accentClass, }: SlidePanelProps): React__default.ReactPortal | null;
416
-
417
- interface AuthUser {
418
- id: string;
419
- email: string;
420
- role: string;
421
- tenantId?: string;
422
- }
423
- interface TenantInfo {
424
- id: string;
425
- slug: string;
426
- name: string;
427
- }
428
- interface AdminContext {
429
- user: AuthUser | null;
430
- tenant: TenantInfo | null;
431
- config: Record<string, unknown>;
432
- api: {
433
- baseUrl: string;
434
- token: string | null;
435
- };
436
- }
437
- interface HookResult {
438
- success: boolean;
439
- error?: string;
440
- }
441
- type LifecycleHook = (ctx: AdminContext) => void | HookResult | Promise<void | HookResult>;
442
-
443
- declare function onAdminReady(hook: LifecycleHook): () => void;
444
- declare function beforeDeploy(hook: LifecycleHook): () => void;
445
- declare function afterDeploy(hook: (ctx: AdminContext, result: HookResult) => void): () => void;
446
- declare function emitAdminReady(ctx: AdminContext): Promise<HookResult[]>;
447
- declare function emitBeforeDeploy(ctx: AdminContext): Promise<HookResult[]>;
448
- declare function emitAfterDeploy(ctx: AdminContext, result: HookResult): Promise<void>;
449
-
450
- interface QueryOptions {
451
- page?: number;
452
- limit?: number;
453
- filter?: Record<string, unknown>;
454
- sort?: string;
455
- order?: "asc" | "desc";
456
- }
457
- interface QueryResult<T> {
458
- data: T | null;
459
- loading: boolean;
460
- error: string | null;
461
- refetch: () => Promise<void>;
462
- }
463
- interface MutationResult {
464
- mutate: (data?: Record<string, unknown>) => Promise<Record<string, unknown> | null>;
465
- loading: boolean;
466
- error: string | null;
467
- }
468
- declare function useKyroQuery<T = Record<string, unknown>>(slug: string, options?: QueryOptions): QueryResult<T>;
469
- declare function useKyroMutation(slug: string, method?: "POST" | "PATCH" | "DELETE"): MutationResult;
470
-
471
- interface KyroPlugin {
472
- name: string;
473
- version: string;
474
- description?: string;
475
- apply?: (config: Record<string, unknown>) => void;
476
- hooks?: {
477
- onAdminReady?: (ctx: AdminContext) => void | HookResult | Promise<void | HookResult>;
478
- beforeDeploy?: (ctx: AdminContext) => void | HookResult | Promise<void | HookResult>;
479
- afterDeploy?: (ctx: AdminContext, result: HookResult) => void | Promise<void>;
480
- beforeRender?: (ctx: AdminContext) => void;
481
- afterRender?: (ctx: AdminContext) => void;
482
- };
483
- }
484
-
485
- declare function registerPlugin(plugin: KyroPlugin): void;
486
- declare function unregisterPlugin(name: string): void;
487
- declare function getPlugin(name: string): KyroPlugin | undefined;
488
- declare function getPlugins(): KyroPlugin[];
489
- declare function getPluginsWithHook<K extends keyof NonNullable<KyroPlugin["hooks"]>>(hookName: K): KyroPlugin[];
490
-
491
- interface BlockRenderProps {
492
- data: Record<string, unknown>;
493
- context: {
494
- theme: KyroTheme;
495
- locale: string;
496
- isPreview: boolean;
497
- };
498
- }
499
- interface KyroBlock extends Omit<Block, "fields" | "slug"> {
500
- id: string;
501
- label: string;
502
- category?: string;
503
- icon?: ReactNode;
504
- schema: Field[];
505
- render: (props: BlockRenderProps) => ReactNode;
506
- preview?: (props: BlockRenderProps) => ReactNode;
507
- settings?: Record<string, unknown>;
508
- }
509
-
510
- declare function registerBlock(block: KyroBlock): void;
511
- declare function unregisterBlock(id: string): void;
512
- declare function getBlock(id: string): KyroBlock | undefined;
513
- declare function getBlocks(): KyroBlock[];
514
- declare function getBlocksByCategory(category: string): KyroBlock[];
515
- declare function useBlockRenderer(id: string): ((props: BlockRenderProps) => React$1.ReactNode) | null;
516
-
517
- interface FieldEditorProps {
518
- name: string;
519
- label: string;
520
- value: unknown;
521
- onChange: (value: unknown) => void;
522
- onBlur?: () => void;
523
- error?: string;
524
- required?: boolean;
525
- disabled?: boolean;
526
- schema?: Record<string, unknown>;
527
- }
528
- interface KyroField {
529
- id: string;
530
- type: FieldType;
531
- label?: string;
532
- editor: React.ComponentType<FieldEditorProps>;
533
- schema?: Record<string, unknown>;
534
- defaultValue?: unknown;
535
- validate?: (value: unknown) => string | null;
536
- }
537
-
538
- declare function registerField(field: KyroField): void;
539
- declare function unregisterField(id: string): void;
540
- declare function getField(id: string): KyroField | undefined;
541
- declare function getFields(): KyroField[];
542
- declare function getFieldByType(type: FieldType): KyroField | undefined;
543
- declare function useFieldRenderer(fieldId: string, props: Omit<FieldEditorProps, "onChange"> & {
544
- onChange?: (value: unknown) => void;
545
- }): ReactNode | null;
546
-
547
- interface KyroAdminOptions {
548
- basePath?: string;
549
- apiPath?: string;
550
- configPath?: string;
551
- }
552
- declare function kyroAdmin(options?: KyroAdminOptions): AstroIntegration;
553
-
554
- declare const adminPath: string;
555
- declare const apiPath: string;
556
- declare function resolveApi(url: string): string;
557
- declare function resolveAdmin(url: string): string;
558
- declare function resolveMedia(url: unknown): string;
559
- declare const paths: {
560
- readonly admin: string;
561
- readonly api: string;
562
- readonly resolveApi: typeof resolveApi;
563
- readonly resolveAdmin: typeof resolveAdmin;
564
- readonly resolveMedia: typeof resolveMedia;
565
- };
566
-
567
- export { ActionBar, type ActionBarProps, Admin, type AdminContext, type AuthUser, AutoForm, Badge, type BadgeVariant, type BlockRenderProps, type BlockThemeOverrides, BulkActionsBar, Button, ConfirmModal, CountBadge, CreateView, DARK_THEME, DarkThemeProvider, DetailView, type DocumentStatus, Dropdown, DropdownItem, DropdownSeparator, DarkThemeProvider as ExtDarkThemeProvider, LightThemeProvider as ExtLightThemeProvider, type ThemeMode as ExtThemeMode, ThemeProvider as ExtThemeProvider, type FieldEditorProps, type FieldThemeOverrides, Header, type HookResult, type KyroAdminOptions, type KyroBlock, type KyroField, type KyroPlugin, type KyroTheme, LIGHT_THEME, type LifecycleHook, LightThemeProvider, ListView, LoginPage, Modal, type MutationResult, PageHeader, type QueryOptions, type QueryResult, type SaveStatus, SlidePanel, Spinner, type TenantInfo, type ThemeColors, type ThemeMode, ThemeProvider, type ThemeRadius, type ThemeShadows, type ThemeSpacing, type ThemeTypography, Toast, ToastProvider, VersionHistoryPanel, adminPath, afterDeploy, apiPath, beforeDeploy, emitAdminReady, emitAfterDeploy, emitBeforeDeploy, getBlock, getBlocks, getBlocksByCategory, getField, getFieldByType, getFields, getPlugin, getPlugins, getPluginsWithHook, kyroAdmin, mergeThemes, onAdminReady, paths, registerBlock, registerField, registerPlugin, resolveAdmin, resolveApi, unregisterBlock, unregisterField, unregisterPlugin, useBlockRenderer, useTheme as useExtTheme, useFieldRenderer, useKyroMutation, useKyroQuery, useTheme, useToast };