@kyro-cms/admin 0.12.11 → 0.12.16

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/index.d.cts CHANGED
@@ -1,7 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { CollectionConfig, GlobalConfig, KyroConfig } from '@kyro-cms/core/client';
3
1
  import * as React$1 from 'react';
4
2
  import React__default, { ReactNode, ComponentType, SVGAttributes, ButtonHTMLAttributes } from 'react';
3
+ import { CollectionConfig, GlobalConfig, KyroConfig } from '@kyro-cms/core/client';
5
4
  import { CollectionConfig as CollectionConfig$1, Block, Field, FieldType } from '@kyro-cms/core';
6
5
 
7
6
  interface ThemeColors {
@@ -136,9 +135,9 @@ interface ThemeProviderProps {
136
135
  light?: Partial<KyroTheme>;
137
136
  dark?: Partial<KyroTheme>;
138
137
  }
139
- declare function ThemeProvider({ children, defaultMode, light: lightOverrides, dark: darkOverrides, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
140
- declare const LightThemeProvider: (props: Omit<ThemeProviderProps, "defaultMode">) => react_jsx_runtime.JSX.Element;
141
- declare const DarkThemeProvider: (props: Omit<ThemeProviderProps, "defaultMode">) => react_jsx_runtime.JSX.Element;
138
+ declare function ThemeProvider({ children, defaultMode, light: lightOverrides, dark: darkOverrides, }: ThemeProviderProps): React__default.JSX.Element;
139
+ declare const LightThemeProvider: (props: Omit<ThemeProviderProps, "defaultMode">) => React__default.JSX.Element;
140
+ declare const DarkThemeProvider: (props: Omit<ThemeProviderProps, "defaultMode">) => React__default.JSX.Element;
142
141
 
143
142
  interface KyroAdminConfig {
144
143
  collections?: CollectionConfig[] | Record<string, CollectionConfig>;
@@ -151,13 +150,13 @@ interface AdminProps {
151
150
  theme?: ThemeMode;
152
151
  onThemeChange?: (mode: ThemeMode) => void;
153
152
  }
154
- declare function Admin({ config, theme, onThemeChange }: AdminProps): react_jsx_runtime.JSX.Element;
153
+ declare function Admin({ config, theme, onThemeChange }: AdminProps): React$1.JSX.Element;
155
154
 
156
155
  interface LoginPageProps {
157
156
  onAuth: (token: string, user: Record<string, unknown>) => void;
158
157
  theme?: ThemeMode;
159
158
  }
160
- declare function LoginPage({ onAuth, theme }: LoginPageProps): react_jsx_runtime.JSX.Element;
159
+ declare function LoginPage({ onAuth, theme }: LoginPageProps): React$1.JSX.Element;
161
160
 
162
161
  interface ListViewProps {
163
162
  collection: CollectionConfig$1;
@@ -171,7 +170,7 @@ interface ListViewProps {
171
170
  /**
172
171
  * Unified ListView component used across both SPA (Admin.tsx) and MPA (Astro pages) modes.
173
172
  */
174
- declare function ListView({ collection, collectionSlug: providedSlug, initialDocs, initialTotal, onCreate: providedOnCreate, onEdit: providedOnEdit, config, }: ListViewProps): react_jsx_runtime.JSX.Element;
173
+ declare function ListView({ collection, collectionSlug: providedSlug, initialDocs, initialTotal, onCreate: providedOnCreate, onEdit: providedOnEdit, config, }: ListViewProps): React$1.JSX.Element;
175
174
 
176
175
  interface DetailViewProps {
177
176
  config: KyroConfig;
@@ -184,7 +183,7 @@ interface DetailViewProps {
184
183
  onError: (message: string) => void;
185
184
  mode?: "collection" | "global";
186
185
  }
187
- declare function DetailView({ config, collection, global, documentId, onBack, onSave, onDelete, onError, mode, }: DetailViewProps): react_jsx_runtime.JSX.Element;
186
+ declare function DetailView({ config, collection, global, documentId, onBack, onSave, onDelete, onError, mode, }: DetailViewProps): React__default.JSX.Element;
188
187
 
189
188
  interface CreateViewProps {
190
189
  config: KyroConfig;
@@ -193,7 +192,7 @@ interface CreateViewProps {
193
192
  onSuccess: () => void;
194
193
  onError: (message: string) => void;
195
194
  }
196
- declare function CreateView({ config, collection, onCancel, onSuccess, onError, }: CreateViewProps): react_jsx_runtime.JSX.Element;
195
+ declare function CreateView({ config, collection, onCancel, onSuccess, onError, }: CreateViewProps): React$1.JSX.Element;
197
196
 
198
197
  interface AutoFormProps {
199
198
  config: CollectionConfig | GlobalConfig;
@@ -211,7 +210,7 @@ interface AutoFormProps {
211
210
  justSaved?: boolean;
212
211
  documentStatus?: string;
213
212
  }
214
- 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;
213
+ declare function AutoForm({ config: propConfig, data: initialData, errors, onChange, disabled: propDisabled, collectionSlug, globalSlug, documentId, documentName, layout, onActionSuccess, onActionError, justSaved, }: AutoFormProps): React$1.JSX.Element;
215
214
 
216
215
  type DocumentStatus = "draft" | "published" | "scheduled" | "archived";
217
216
  type SaveStatus = "idle" | "saving" | "saved" | "error";
@@ -233,7 +232,7 @@ interface ActionBarProps {
233
232
  onCopyData?: () => void;
234
233
  onPasteData?: () => void;
235
234
  }
236
- declare function ActionBar({ status, saveStatus, hasChanges, onSave, onPublish, onUnpublish, onDuplicate, onViewHistory, onPreview, onDelete, onBack, onToggleSidebar, publishedAt, updatedAt, onCopyData, onPasteData, }: ActionBarProps): react_jsx_runtime.JSX.Element;
235
+ declare function ActionBar({ status, saveStatus, hasChanges, onSave, onPublish, onUnpublish, onDuplicate, onViewHistory, onPreview, onDelete, onBack, onToggleSidebar, publishedAt, updatedAt, onCopyData, onPasteData, }: ActionBarProps): React$1.JSX.Element;
237
236
 
238
237
  interface BulkAction {
239
238
  label: string;
@@ -247,7 +246,7 @@ interface BulkActionsBarProps {
247
246
  actions: BulkAction[];
248
247
  onSelectAll?: () => void;
249
248
  }
250
- declare function BulkActionsBar({ selectedCount, onClearSelection, actions, onSelectAll, }: BulkActionsBarProps): react_jsx_runtime.JSX.Element | null;
249
+ declare function BulkActionsBar({ selectedCount, onClearSelection, actions, onSelectAll, }: BulkActionsBarProps): React__default.JSX.Element | null;
251
250
 
252
251
  type BadgeVariant = "default" | "success" | "warning" | "danger" | "info" | "outline" | "draft" | "published" | "scheduled" | "archived" | "active" | "inactive" | "pending" | "completed" | "cancelled";
253
252
  interface BadgeProps {
@@ -257,11 +256,11 @@ interface BadgeProps {
257
256
  children?: ReactNode;
258
257
  dot?: boolean;
259
258
  }
260
- declare function Badge({ variant, status, className, children, dot, }: BadgeProps): react_jsx_runtime.JSX.Element;
259
+ declare function Badge({ variant, status, className, children, dot, }: BadgeProps): React$1.JSX.Element;
261
260
  declare function CountBadge({ count, max }: {
262
261
  count: number;
263
262
  max?: number;
264
- }): react_jsx_runtime.JSX.Element | null;
263
+ }): React$1.JSX.Element | null;
265
264
 
266
265
  interface Breadcrumb {
267
266
  label: string;
@@ -292,7 +291,7 @@ interface PageHeaderProps {
292
291
  actions?: ReactNode | Action[];
293
292
  children?: ReactNode;
294
293
  }
295
- declare function PageHeader({ title, description, icon: Icon, breadcrumbs, metadata, back, action, actions, children, }: PageHeaderProps): react_jsx_runtime.JSX.Element;
294
+ declare function PageHeader({ title, description, icon: Icon, breadcrumbs, metadata, back, action, actions, children, }: PageHeaderProps): React__default.JSX.Element;
296
295
 
297
296
  interface Version {
298
297
  id: string;
@@ -317,14 +316,14 @@ interface VersionHistoryPanelProps {
317
316
  onCompare?: (v1: Version, v2: Version) => void;
318
317
  loading?: boolean;
319
318
  }
320
- declare function VersionHistoryPanel({ open, onClose, versions, currentVersionId, onPreview, onRestore, onCompare, loading, }: VersionHistoryPanelProps): react_jsx_runtime.JSX.Element;
319
+ declare function VersionHistoryPanel({ open, onClose, versions, currentVersionId, onPreview, onRestore, onCompare, loading, }: VersionHistoryPanelProps): React__default.JSX.Element;
321
320
 
322
321
  interface HeaderProps {
323
322
  title: string;
324
323
  onMenuClick: () => void;
325
324
  actions?: ReactNode;
326
325
  }
327
- declare function Header({ title, onMenuClick, actions }: HeaderProps): react_jsx_runtime.JSX.Element;
326
+ declare function Header({ title, onMenuClick, actions }: HeaderProps): React$1.JSX.Element;
328
327
 
329
328
  type ButtonVariant = 'primary' | 'secondary' | 'danger' | 'ghost';
330
329
  type ButtonSize = 'sm' | 'md' | 'lg';
@@ -334,13 +333,13 @@ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
334
333
  loading?: boolean;
335
334
  children: ReactNode;
336
335
  }
337
- declare function Button({ variant, size, loading, children, className, disabled, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
336
+ declare function Button({ variant, size, loading, children, className, disabled, ...props }: ButtonProps): React$1.JSX.Element;
338
337
 
339
338
  interface SpinnerProps {
340
339
  size?: "sm" | "md" | "lg";
341
340
  className?: string;
342
341
  }
343
- declare function Spinner({ size, className }: SpinnerProps): react_jsx_runtime.JSX.Element;
342
+ declare function Spinner({ size, className }: SpinnerProps): React$1.JSX.Element;
344
343
 
345
344
  interface Toast$1 {
346
345
  id: string;
@@ -354,11 +353,11 @@ interface ToastProps {
354
353
  message: string;
355
354
  onClose: () => void;
356
355
  }
357
- declare function Toast({ type, message, onClose }: ToastProps): react_jsx_runtime.JSX.Element;
356
+ declare function Toast({ type, message, onClose }: ToastProps): React__default.JSX.Element;
358
357
  interface ToastProviderProps {
359
358
  children: ReactNode;
360
359
  }
361
- declare function ToastProvider({ children }: ToastProviderProps): react_jsx_runtime.JSX.Element;
360
+ declare function ToastProvider({ children }: ToastProviderProps): React__default.JSX.Element;
362
361
  declare function useToast(): {
363
362
  toasts: Toast$1[];
364
363
  addToast: (type: Toast$1["type"], message: string) => void;
@@ -371,7 +370,7 @@ interface DropdownProps {
371
370
  align?: "left" | "right";
372
371
  direction?: "up" | "down";
373
372
  }
374
- declare function Dropdown({ trigger, children, align, direction, }: DropdownProps): react_jsx_runtime.JSX.Element;
373
+ declare function Dropdown({ trigger, children, align, direction, }: DropdownProps): React__default.JSX.Element;
375
374
  interface DropdownItemProps {
376
375
  children: ReactNode;
377
376
  onClick?: () => void;
@@ -380,8 +379,8 @@ interface DropdownItemProps {
380
379
  disabled?: boolean;
381
380
  className?: string;
382
381
  }
383
- declare function DropdownItem({ children, onClick, icon, danger, disabled, className, }: DropdownItemProps): react_jsx_runtime.JSX.Element;
384
- declare function DropdownSeparator(): react_jsx_runtime.JSX.Element;
382
+ declare function DropdownItem({ children, onClick, icon, danger, disabled, className, }: DropdownItemProps): React__default.JSX.Element;
383
+ declare function DropdownSeparator(): React__default.JSX.Element;
385
384
 
386
385
  interface ModalProps {
387
386
  open: boolean;
@@ -404,7 +403,7 @@ interface ConfirmModalProps {
404
403
  variant?: "default" | "danger";
405
404
  loading?: boolean;
406
405
  }
407
- declare function ConfirmModal({ open, onClose, onConfirm, title, message, confirmLabel, cancelLabel, variant, loading, }: ConfirmModalProps): react_jsx_runtime.JSX.Element;
406
+ declare function ConfirmModal({ open, onClose, onConfirm, title, message, confirmLabel, cancelLabel, variant, loading, }: ConfirmModalProps): React__default.JSX.Element;
408
407
 
409
408
  interface SlidePanelProps {
410
409
  open: boolean;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { CollectionConfig, GlobalConfig, KyroConfig } from '@kyro-cms/core/client';
3
1
  import * as React$1 from 'react';
4
2
  import React__default, { ReactNode, ComponentType, SVGAttributes, ButtonHTMLAttributes } from 'react';
3
+ import { CollectionConfig, GlobalConfig, KyroConfig } from '@kyro-cms/core/client';
5
4
  import { CollectionConfig as CollectionConfig$1, Block, Field, FieldType } from '@kyro-cms/core';
6
5
 
7
6
  interface ThemeColors {
@@ -136,9 +135,9 @@ interface ThemeProviderProps {
136
135
  light?: Partial<KyroTheme>;
137
136
  dark?: Partial<KyroTheme>;
138
137
  }
139
- declare function ThemeProvider({ children, defaultMode, light: lightOverrides, dark: darkOverrides, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
140
- declare const LightThemeProvider: (props: Omit<ThemeProviderProps, "defaultMode">) => react_jsx_runtime.JSX.Element;
141
- declare const DarkThemeProvider: (props: Omit<ThemeProviderProps, "defaultMode">) => react_jsx_runtime.JSX.Element;
138
+ declare function ThemeProvider({ children, defaultMode, light: lightOverrides, dark: darkOverrides, }: ThemeProviderProps): React__default.JSX.Element;
139
+ declare const LightThemeProvider: (props: Omit<ThemeProviderProps, "defaultMode">) => React__default.JSX.Element;
140
+ declare const DarkThemeProvider: (props: Omit<ThemeProviderProps, "defaultMode">) => React__default.JSX.Element;
142
141
 
143
142
  interface KyroAdminConfig {
144
143
  collections?: CollectionConfig[] | Record<string, CollectionConfig>;
@@ -151,13 +150,13 @@ interface AdminProps {
151
150
  theme?: ThemeMode;
152
151
  onThemeChange?: (mode: ThemeMode) => void;
153
152
  }
154
- declare function Admin({ config, theme, onThemeChange }: AdminProps): react_jsx_runtime.JSX.Element;
153
+ declare function Admin({ config, theme, onThemeChange }: AdminProps): React$1.JSX.Element;
155
154
 
156
155
  interface LoginPageProps {
157
156
  onAuth: (token: string, user: Record<string, unknown>) => void;
158
157
  theme?: ThemeMode;
159
158
  }
160
- declare function LoginPage({ onAuth, theme }: LoginPageProps): react_jsx_runtime.JSX.Element;
159
+ declare function LoginPage({ onAuth, theme }: LoginPageProps): React$1.JSX.Element;
161
160
 
162
161
  interface ListViewProps {
163
162
  collection: CollectionConfig$1;
@@ -171,7 +170,7 @@ interface ListViewProps {
171
170
  /**
172
171
  * Unified ListView component used across both SPA (Admin.tsx) and MPA (Astro pages) modes.
173
172
  */
174
- declare function ListView({ collection, collectionSlug: providedSlug, initialDocs, initialTotal, onCreate: providedOnCreate, onEdit: providedOnEdit, config, }: ListViewProps): react_jsx_runtime.JSX.Element;
173
+ declare function ListView({ collection, collectionSlug: providedSlug, initialDocs, initialTotal, onCreate: providedOnCreate, onEdit: providedOnEdit, config, }: ListViewProps): React$1.JSX.Element;
175
174
 
176
175
  interface DetailViewProps {
177
176
  config: KyroConfig;
@@ -184,7 +183,7 @@ interface DetailViewProps {
184
183
  onError: (message: string) => void;
185
184
  mode?: "collection" | "global";
186
185
  }
187
- declare function DetailView({ config, collection, global, documentId, onBack, onSave, onDelete, onError, mode, }: DetailViewProps): react_jsx_runtime.JSX.Element;
186
+ declare function DetailView({ config, collection, global, documentId, onBack, onSave, onDelete, onError, mode, }: DetailViewProps): React__default.JSX.Element;
188
187
 
189
188
  interface CreateViewProps {
190
189
  config: KyroConfig;
@@ -193,7 +192,7 @@ interface CreateViewProps {
193
192
  onSuccess: () => void;
194
193
  onError: (message: string) => void;
195
194
  }
196
- declare function CreateView({ config, collection, onCancel, onSuccess, onError, }: CreateViewProps): react_jsx_runtime.JSX.Element;
195
+ declare function CreateView({ config, collection, onCancel, onSuccess, onError, }: CreateViewProps): React$1.JSX.Element;
197
196
 
198
197
  interface AutoFormProps {
199
198
  config: CollectionConfig | GlobalConfig;
@@ -211,7 +210,7 @@ interface AutoFormProps {
211
210
  justSaved?: boolean;
212
211
  documentStatus?: string;
213
212
  }
214
- 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;
213
+ declare function AutoForm({ config: propConfig, data: initialData, errors, onChange, disabled: propDisabled, collectionSlug, globalSlug, documentId, documentName, layout, onActionSuccess, onActionError, justSaved, }: AutoFormProps): React$1.JSX.Element;
215
214
 
216
215
  type DocumentStatus = "draft" | "published" | "scheduled" | "archived";
217
216
  type SaveStatus = "idle" | "saving" | "saved" | "error";
@@ -233,7 +232,7 @@ interface ActionBarProps {
233
232
  onCopyData?: () => void;
234
233
  onPasteData?: () => void;
235
234
  }
236
- declare function ActionBar({ status, saveStatus, hasChanges, onSave, onPublish, onUnpublish, onDuplicate, onViewHistory, onPreview, onDelete, onBack, onToggleSidebar, publishedAt, updatedAt, onCopyData, onPasteData, }: ActionBarProps): react_jsx_runtime.JSX.Element;
235
+ declare function ActionBar({ status, saveStatus, hasChanges, onSave, onPublish, onUnpublish, onDuplicate, onViewHistory, onPreview, onDelete, onBack, onToggleSidebar, publishedAt, updatedAt, onCopyData, onPasteData, }: ActionBarProps): React$1.JSX.Element;
237
236
 
238
237
  interface BulkAction {
239
238
  label: string;
@@ -247,7 +246,7 @@ interface BulkActionsBarProps {
247
246
  actions: BulkAction[];
248
247
  onSelectAll?: () => void;
249
248
  }
250
- declare function BulkActionsBar({ selectedCount, onClearSelection, actions, onSelectAll, }: BulkActionsBarProps): react_jsx_runtime.JSX.Element | null;
249
+ declare function BulkActionsBar({ selectedCount, onClearSelection, actions, onSelectAll, }: BulkActionsBarProps): React__default.JSX.Element | null;
251
250
 
252
251
  type BadgeVariant = "default" | "success" | "warning" | "danger" | "info" | "outline" | "draft" | "published" | "scheduled" | "archived" | "active" | "inactive" | "pending" | "completed" | "cancelled";
253
252
  interface BadgeProps {
@@ -257,11 +256,11 @@ interface BadgeProps {
257
256
  children?: ReactNode;
258
257
  dot?: boolean;
259
258
  }
260
- declare function Badge({ variant, status, className, children, dot, }: BadgeProps): react_jsx_runtime.JSX.Element;
259
+ declare function Badge({ variant, status, className, children, dot, }: BadgeProps): React$1.JSX.Element;
261
260
  declare function CountBadge({ count, max }: {
262
261
  count: number;
263
262
  max?: number;
264
- }): react_jsx_runtime.JSX.Element | null;
263
+ }): React$1.JSX.Element | null;
265
264
 
266
265
  interface Breadcrumb {
267
266
  label: string;
@@ -292,7 +291,7 @@ interface PageHeaderProps {
292
291
  actions?: ReactNode | Action[];
293
292
  children?: ReactNode;
294
293
  }
295
- declare function PageHeader({ title, description, icon: Icon, breadcrumbs, metadata, back, action, actions, children, }: PageHeaderProps): react_jsx_runtime.JSX.Element;
294
+ declare function PageHeader({ title, description, icon: Icon, breadcrumbs, metadata, back, action, actions, children, }: PageHeaderProps): React__default.JSX.Element;
296
295
 
297
296
  interface Version {
298
297
  id: string;
@@ -317,14 +316,14 @@ interface VersionHistoryPanelProps {
317
316
  onCompare?: (v1: Version, v2: Version) => void;
318
317
  loading?: boolean;
319
318
  }
320
- declare function VersionHistoryPanel({ open, onClose, versions, currentVersionId, onPreview, onRestore, onCompare, loading, }: VersionHistoryPanelProps): react_jsx_runtime.JSX.Element;
319
+ declare function VersionHistoryPanel({ open, onClose, versions, currentVersionId, onPreview, onRestore, onCompare, loading, }: VersionHistoryPanelProps): React__default.JSX.Element;
321
320
 
322
321
  interface HeaderProps {
323
322
  title: string;
324
323
  onMenuClick: () => void;
325
324
  actions?: ReactNode;
326
325
  }
327
- declare function Header({ title, onMenuClick, actions }: HeaderProps): react_jsx_runtime.JSX.Element;
326
+ declare function Header({ title, onMenuClick, actions }: HeaderProps): React$1.JSX.Element;
328
327
 
329
328
  type ButtonVariant = 'primary' | 'secondary' | 'danger' | 'ghost';
330
329
  type ButtonSize = 'sm' | 'md' | 'lg';
@@ -334,13 +333,13 @@ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
334
333
  loading?: boolean;
335
334
  children: ReactNode;
336
335
  }
337
- declare function Button({ variant, size, loading, children, className, disabled, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
336
+ declare function Button({ variant, size, loading, children, className, disabled, ...props }: ButtonProps): React$1.JSX.Element;
338
337
 
339
338
  interface SpinnerProps {
340
339
  size?: "sm" | "md" | "lg";
341
340
  className?: string;
342
341
  }
343
- declare function Spinner({ size, className }: SpinnerProps): react_jsx_runtime.JSX.Element;
342
+ declare function Spinner({ size, className }: SpinnerProps): React$1.JSX.Element;
344
343
 
345
344
  interface Toast$1 {
346
345
  id: string;
@@ -354,11 +353,11 @@ interface ToastProps {
354
353
  message: string;
355
354
  onClose: () => void;
356
355
  }
357
- declare function Toast({ type, message, onClose }: ToastProps): react_jsx_runtime.JSX.Element;
356
+ declare function Toast({ type, message, onClose }: ToastProps): React__default.JSX.Element;
358
357
  interface ToastProviderProps {
359
358
  children: ReactNode;
360
359
  }
361
- declare function ToastProvider({ children }: ToastProviderProps): react_jsx_runtime.JSX.Element;
360
+ declare function ToastProvider({ children }: ToastProviderProps): React__default.JSX.Element;
362
361
  declare function useToast(): {
363
362
  toasts: Toast$1[];
364
363
  addToast: (type: Toast$1["type"], message: string) => void;
@@ -371,7 +370,7 @@ interface DropdownProps {
371
370
  align?: "left" | "right";
372
371
  direction?: "up" | "down";
373
372
  }
374
- declare function Dropdown({ trigger, children, align, direction, }: DropdownProps): react_jsx_runtime.JSX.Element;
373
+ declare function Dropdown({ trigger, children, align, direction, }: DropdownProps): React__default.JSX.Element;
375
374
  interface DropdownItemProps {
376
375
  children: ReactNode;
377
376
  onClick?: () => void;
@@ -380,8 +379,8 @@ interface DropdownItemProps {
380
379
  disabled?: boolean;
381
380
  className?: string;
382
381
  }
383
- declare function DropdownItem({ children, onClick, icon, danger, disabled, className, }: DropdownItemProps): react_jsx_runtime.JSX.Element;
384
- declare function DropdownSeparator(): react_jsx_runtime.JSX.Element;
382
+ declare function DropdownItem({ children, onClick, icon, danger, disabled, className, }: DropdownItemProps): React__default.JSX.Element;
383
+ declare function DropdownSeparator(): React__default.JSX.Element;
385
384
 
386
385
  interface ModalProps {
387
386
  open: boolean;
@@ -404,7 +403,7 @@ interface ConfirmModalProps {
404
403
  variant?: "default" | "danger";
405
404
  loading?: boolean;
406
405
  }
407
- declare function ConfirmModal({ open, onClose, onConfirm, title, message, confirmLabel, cancelLabel, variant, loading, }: ConfirmModalProps): react_jsx_runtime.JSX.Element;
406
+ declare function ConfirmModal({ open, onClose, onConfirm, title, message, confirmLabel, cancelLabel, variant, loading, }: ConfirmModalProps): React__default.JSX.Element;
408
407
 
409
408
  interface SlidePanelProps {
410
409
  open: boolean;