@classic-homes/theme-react 0.2.3 → 0.3.1

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.mts CHANGED
@@ -234,6 +234,424 @@ interface PageHeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantPr
234
234
  }
235
235
  declare const PageHeader: React$1.ForwardRefExoticComponent<PageHeaderProps & React$1.RefAttributes<HTMLElement>>;
236
236
 
237
+ interface SheetProps {
238
+ open?: boolean;
239
+ onOpenChange?: (open: boolean) => void;
240
+ /** Edge the sheet slides in from (default: right) */
241
+ side?: 'left' | 'right' | 'bottom';
242
+ /** Width of a left/right sheet from `sm` up; phones always get the full width */
243
+ size?: 'sm' | 'md' | 'lg';
244
+ /** Heading, also the sheet's accessible name */
245
+ title: string;
246
+ /**
247
+ * Hide the heading row (the title still names the sheet for screen readers)
248
+ * when the content brings its own header. The close button moves into the
249
+ * grab bar (bottom) or the top-right corner (left/right).
250
+ */
251
+ hideTitle?: boolean;
252
+ description?: string;
253
+ /** Buttons beside the close button */
254
+ headerActions?: React$1.ReactNode;
255
+ /** Pinned footer, e.g. the sheet's primary action */
256
+ footer?: React$1.ReactNode;
257
+ children: React$1.ReactNode;
258
+ className?: string;
259
+ }
260
+ /**
261
+ * Sheet - a modal panel that slides in from an edge of the screen. Same Radix
262
+ * dialog as `Dialog` (focus trap, Escape, scrim click, focus return); only the
263
+ * placement differs. Use it for version history, filters, or an editor's
264
+ * outline and inspector on small screens.
265
+ */
266
+ declare function Sheet({ open, onOpenChange, side, size, title, hideTitle, description, headerActions, footer, children, className, }: SheetProps): React$1.JSX.Element;
267
+
268
+ /** Props to spread on the element that acts as an item's drag handle */
269
+ interface SortableHandleProps {
270
+ type: 'button';
271
+ 'aria-label': string;
272
+ 'aria-roledescription': string;
273
+ 'aria-describedby': string;
274
+ 'aria-pressed': boolean;
275
+ 'data-sortable-handle': string;
276
+ onPointerDown: (event: React$1.PointerEvent<HTMLElement>) => void;
277
+ onPointerMove: (event: React$1.PointerEvent<HTMLElement>) => void;
278
+ onPointerUp: (event: React$1.PointerEvent<HTMLElement>) => void;
279
+ onPointerCancel: (event: React$1.PointerEvent<HTMLElement>) => void;
280
+ onKeyDown: (event: React$1.KeyboardEvent<HTMLElement>) => void;
281
+ onBlur: () => void;
282
+ }
283
+ interface SortableItemContext<T> {
284
+ item: T;
285
+ index: number;
286
+ /** Spread on a `<button>` inside the item: `<button {...handle}>` */
287
+ handle: SortableHandleProps;
288
+ /** The item is being dragged or is picked up by the keyboard */
289
+ dragging: boolean;
290
+ }
291
+ interface SortableListProps<T> {
292
+ items: T[];
293
+ /** Stable key for each item */
294
+ getKey: (item: T, index: number) => string | number;
295
+ /** Move the item at `from` so it ends up at index `to` */
296
+ onReorder: (from: number, to: number) => void;
297
+ /** Renders one item; spread `handle` on its drag-handle button */
298
+ renderItem: (context: SortableItemContext<T>) => React$1.ReactNode;
299
+ /** Accessible name of the list, e.g. "Questions" */
300
+ label: string;
301
+ /** Name used in announcements and handle labels (default: "Item n") */
302
+ getItemLabel?: (item: T, index: number) => string;
303
+ /** Disables reordering; handles stay rendered but do nothing */
304
+ disabled?: boolean;
305
+ className?: string;
306
+ itemClassName?: string;
307
+ }
308
+ /**
309
+ * SortableList - a vertical list the user can reorder by drag or keyboard.
310
+ *
311
+ * Each item renders its own drag handle by spreading `handle` on a button.
312
+ * Pointer: press and drag the handle. Keyboard: focus the handle, Space or
313
+ * Enter picks the item up, arrows move it, Space/Enter drops, Escape puts it
314
+ * back; Alt+Arrow moves one step without picking up. Every move is announced.
315
+ * The list never reorders `items` itself: it calls `onReorder(from, to)`.
316
+ */
317
+ declare function SortableList<T>({ items, getKey, onReorder, renderItem, label, getItemLabel, disabled, className, itemClassName, }: SortableListProps<T>): React$1.JSX.Element;
318
+
319
+ interface StudioProps {
320
+ /** Top bar, normally a `StudioBar` */
321
+ bar: React$1.ReactNode;
322
+ /** One message slot under the bar, for conflicts and decisions that block editing */
323
+ banner?: React$1.ReactNode;
324
+ /** Left column, normally a `StudioOutline` */
325
+ rail?: React$1.ReactNode;
326
+ /** Main area, normally a `StudioCanvas` or `StudioPage` */
327
+ canvas: React$1.ReactNode;
328
+ /** Right column, normally a `StudioInspector` */
329
+ inspector?: React$1.ReactNode;
330
+ /** Name of the rail and the button that opens it (default: "Outline") */
331
+ railLabel?: string;
332
+ /** Name of the inspector and the button that opens it (default: "Properties") */
333
+ inspectorLabel?: string;
334
+ /** Rail sheet open below 1280px (controlled) */
335
+ railOpen?: boolean;
336
+ onRailOpenChange?: (open: boolean) => void;
337
+ /** Inspector sheet open below 768px (controlled) */
338
+ inspectorOpen?: boolean;
339
+ onInspectorOpenChange?: (open: boolean) => void;
340
+ className?: string;
341
+ }
342
+ /**
343
+ * Studio - full-screen frame for editors (survey builders, slide decks, page
344
+ * and form builders): bar on top, then outline rail, live canvas and an
345
+ * inspector for the selection. Only the three columns scroll. Below 1280px
346
+ * the rail moves into a left sheet; below 768px the inspector moves into a
347
+ * bottom sheet. Parts read the layout through `useStudio()`. Leave out
348
+ * `rail` and `inspector` for settings-style modes and pass a `StudioPage`.
349
+ */
350
+ declare function Studio({ bar, banner, rail, canvas, inspector, railLabel, inspectorLabel, railOpen: railOpenProp, onRailOpenChange, inspectorOpen: inspectorOpenProp, onInspectorOpenChange, className, }: StudioProps): React$1.JSX.Element;
351
+
352
+ type StudioMenuItem = {
353
+ type?: 'item';
354
+ label: string;
355
+ onSelect?: () => void;
356
+ icon?: React$1.ReactNode;
357
+ disabled?: boolean;
358
+ destructive?: boolean;
359
+ } | {
360
+ type: 'separator';
361
+ };
362
+
363
+ interface StudioMode {
364
+ value: string;
365
+ label: string;
366
+ icon?: React$1.ReactNode;
367
+ }
368
+ interface StudioBarProps {
369
+ /** Title of the document being edited */
370
+ title: string;
371
+ /** Called on every keystroke in the title */
372
+ onTitleInput?: (title: string) => void;
373
+ /** Called when an edited title is committed (blur or Enter); Escape reverts */
374
+ onTitleChange?: (title: string) => void;
375
+ /** Show the title as text instead of an input */
376
+ titleReadonly?: boolean;
377
+ titlePlaceholder?: string;
378
+ /** Small line under the title, e.g. "Survey · 5 questions" */
379
+ subtitle?: string;
380
+ backHref?: string;
381
+ /** Accessible name of the back link (default: "Back") */
382
+ backLabel?: string;
383
+ /** Mode tabs; omit for single-mode editors */
384
+ modes?: StudioMode[];
385
+ mode?: string;
386
+ onModeChange?: (mode: string) => void;
387
+ /** Save state, normally a `SaveStatus` */
388
+ status?: React$1.ReactNode;
389
+ /** Issues, normally an `IssuesButton` */
390
+ issues?: React$1.ReactNode;
391
+ /** Primary action(s), e.g. Publish or Present */
392
+ actions?: React$1.ReactNode;
393
+ /** Overflow menu: export, history, delete... */
394
+ menuItems?: StudioMenuItem[];
395
+ menuLabel?: string;
396
+ className?: string;
397
+ }
398
+ /**
399
+ * StudioBar - the one bar across the top of a Studio: back link and the title
400
+ * edited in place; modes (Build · Settings · Share); then save status,
401
+ * issues, the primary action and one overflow menu. Modes wrap onto their own
402
+ * row on phones.
403
+ */
404
+ declare function StudioBar({ title, onTitleInput, onTitleChange, titleReadonly, titlePlaceholder, subtitle, backHref, backLabel, modes, mode, onModeChange, status, issues, actions, menuItems, menuLabel, className, }: StudioBarProps): React$1.JSX.Element;
405
+
406
+ interface StudioOutlineEntry {
407
+ id: string;
408
+ title: string;
409
+ /** Second line, e.g. the question type or slide layout */
410
+ subtitle?: string;
411
+ icon?: React$1.ReactNode;
412
+ /** Number of problems on this item; shown as a count, not just a colour */
413
+ issues?: number;
414
+ issueSeverity?: 'error' | 'warning';
415
+ /** Dim the row, e.g. a hidden slide */
416
+ muted?: boolean;
417
+ /** Short trailing tag, e.g. "Hidden" */
418
+ badge?: string;
419
+ }
420
+ interface StudioOutlineProps {
421
+ items: StudioOutlineEntry[];
422
+ selected?: string | null;
423
+ onSelect?: (id: string) => void;
424
+ /** Move item `from` to index `to`; omit to turn reordering off */
425
+ onReorder?: (from: number, to: number) => void;
426
+ /** Row menu items; Move up/down are added when `onReorder` is set */
427
+ menuItems?: (entry: StudioOutlineEntry, index: number) => StudioMenuItem[];
428
+ /** Shows the add button at the bottom of the rail */
429
+ onAdd?: () => void;
430
+ addLabel?: string;
431
+ /** Accessible name of the list (default: "Items") */
432
+ label?: string;
433
+ /** Number rows 1, 2, 3... (default: true) */
434
+ numbered?: boolean;
435
+ /** Preview per row, e.g. a slide thumbnail */
436
+ renderThumbnail?: (entry: StudioOutlineEntry, index: number) => React$1.ReactNode;
437
+ header?: React$1.ReactNode;
438
+ empty?: React$1.ReactNode;
439
+ className?: string;
440
+ }
441
+ /**
442
+ * StudioOutline - the Studio's rail: every item in order, the one place to
443
+ * select, reorder (drag handle or keyboard) and add. Arrow keys move between
444
+ * rows. Picking a row in the phone sheet closes it and opens the inspector.
445
+ */
446
+ declare function StudioOutline({ items, selected, onSelect, onReorder, menuItems, onAdd, addLabel, label, numbered, renderThumbnail, header, empty, className, }: StudioOutlineProps): React$1.JSX.Element;
447
+
448
+ interface StudioCanvasProps {
449
+ children: React$1.ReactNode;
450
+ /** Show the Desktop/Phone switch (hidden on phones, where it would do nothing) */
451
+ deviceToggle?: boolean;
452
+ device?: 'desktop' | 'phone';
453
+ onDeviceChange?: (device: 'desktop' | 'phone') => void;
454
+ /** Width of the frame on desktop (default: 48rem) */
455
+ maxWidth?: string;
456
+ /** Extra controls beside the device switch */
457
+ toolbar?: React$1.ReactNode;
458
+ /** Accessible name of the canvas region (default: "Canvas") */
459
+ label?: string;
460
+ /** Clicked on the backdrop, outside any item: usually clears the selection */
461
+ onBackgroundClick?: () => void;
462
+ frameClassName?: string;
463
+ className?: string;
464
+ }
465
+ /**
466
+ * StudioCanvas - the middle of a Studio: the real thing, as people will see
467
+ * it, centred on a quiet backdrop and scrolling on its own. Wrap selectable
468
+ * parts in `StudioCanvasItem`.
469
+ */
470
+ declare function StudioCanvas({ children, deviceToggle, device: deviceProp, onDeviceChange, maxWidth, toolbar, label, onBackgroundClick, frameClassName, className, }: StudioCanvasProps): React$1.JSX.Element;
471
+
472
+ interface StudioCanvasItemProps {
473
+ children: React$1.ReactNode;
474
+ selected?: boolean;
475
+ onSelect?: () => void;
476
+ /** Names the item for screen readers and its Edit button, e.g. "Question 2" */
477
+ label: string;
478
+ /** Quick actions shown on the selected item */
479
+ toolbar?: React$1.ReactNode;
480
+ /** Shows a "+" below the item that inserts after it */
481
+ onInsert?: () => void;
482
+ /** Accessible name of the insert button (default: "Add below {label}") */
483
+ insertLabel?: string;
484
+ /** Marks the item as having problems (dashed amber outline) */
485
+ invalid?: boolean;
486
+ className?: string;
487
+ }
488
+ /**
489
+ * StudioCanvasItem - one selectable part of the canvas. Clicking anywhere in
490
+ * it, or tabbing into it, selects it; the content stays live. The selected
491
+ * item gets a ring and its `toolbar`; `onInsert` adds a "+" below it. On
492
+ * phones picking an item opens the inspector sheet.
493
+ */
494
+ declare function StudioCanvasItem({ children, selected, onSelect, label, toolbar, onInsert, insertLabel, invalid, className, }: StudioCanvasItemProps): React$1.JSX.Element;
495
+
496
+ interface StudioInspectorTab {
497
+ id: string;
498
+ label: string;
499
+ /** Shown after the label, e.g. the number of comments */
500
+ count?: number;
501
+ }
502
+ interface StudioInspectorProps {
503
+ /** What is selected, e.g. "Question 3" */
504
+ title?: string;
505
+ /** Its kind, e.g. "Single choice" */
506
+ description?: string;
507
+ /** Header action, e.g. a Change type menu */
508
+ headerActions?: React$1.ReactNode;
509
+ tabs?: StudioInspectorTab[];
510
+ tab?: string;
511
+ onTabChange?: (tab: string) => void;
512
+ /** The fields; with tabs, render the active tab's content */
513
+ children: React$1.ReactNode;
514
+ /** Pinned under the fields */
515
+ footer?: React$1.ReactNode;
516
+ className?: string;
517
+ }
518
+ /**
519
+ * StudioInspector - the Studio's right column: settings for whatever is
520
+ * selected, and nothing else. `tabs` put related views beside editing (e.g.
521
+ * Slide · Comments) instead of replacing it.
522
+ */
523
+ declare function StudioInspector({ title, description, headerActions, tabs, tab: tabProp, onTabChange, children, footer, className, }: StudioInspectorProps): React$1.JSX.Element;
524
+ interface StudioInspectorSectionProps {
525
+ title?: string;
526
+ /** Short hint under the title */
527
+ description?: string;
528
+ /** Collapse behind the title (e.g. "Advanced"); starts closed */
529
+ collapsible?: boolean;
530
+ defaultOpen?: boolean;
531
+ /** Shown beside a collapsed title, e.g. "2 on" */
532
+ summary?: string;
533
+ children: React$1.ReactNode;
534
+ className?: string;
535
+ }
536
+ /** StudioInspectorSection - a titled group of inspector fields, optionally collapsible. */
537
+ declare function StudioInspectorSection({ title, description, collapsible, defaultOpen, summary, children, className, }: StudioInspectorSectionProps): React$1.JSX.Element;
538
+ interface StudioPageProps {
539
+ title?: string;
540
+ description?: string;
541
+ children: React$1.ReactNode;
542
+ /** Content width (default: 42rem) */
543
+ maxWidth?: string;
544
+ className?: string;
545
+ }
546
+ /**
547
+ * StudioPage - a full-width, scrolling page inside a Studio for modes that
548
+ * configure rather than build (Settings, Share). Pass it as the canvas with
549
+ * no rail or inspector.
550
+ */
551
+ declare function StudioPage({ title, description, children, maxWidth, className, }: StudioPageProps): React$1.JSX.Element;
552
+
553
+ type SaveState = 'saved' | 'saving' | 'unsaved' | 'error' | 'offline' | 'conflict' | 'invalid' | 'readonly';
554
+ interface SaveStatusProps {
555
+ state: SaveState;
556
+ /** Longer explanation shown in the popover */
557
+ detail?: string;
558
+ /** Offered in the popover for `error` and `offline` */
559
+ onRetry?: () => void;
560
+ /** Override the one-word label */
561
+ label?: string;
562
+ className?: string;
563
+ }
564
+ /**
565
+ * SaveStatus - one compact signal for an autosaving editor: an icon and one
566
+ * word, with a popover for detail and Retry when there is more to say. Only
567
+ * problems are announced to screen readers.
568
+ */
569
+ declare function SaveStatus({ state, detail, onRetry, label, className }: SaveStatusProps): React$1.JSX.Element;
570
+
571
+ interface StudioIssue {
572
+ id: string;
573
+ /** What is wrong, phrased as what to do: "Add at least two options" */
574
+ message: string;
575
+ /** `error` blocks publishing; `warning` is advice (default: error) */
576
+ severity?: 'error' | 'warning';
577
+ /** Where it is, e.g. "Question 3" or "Settings" */
578
+ location?: string;
579
+ }
580
+ interface IssuesButtonProps<I extends StudioIssue = StudioIssue> {
581
+ issues: I[];
582
+ /** Jump to an issue: select its item and focus the field */
583
+ onSelect?: (issue: I) => void;
584
+ /** Controlled open state, e.g. to show the list when Publish is blocked */
585
+ open?: boolean;
586
+ onOpenChange?: (open: boolean) => void;
587
+ /** Heading of the list (default: "Before you publish") */
588
+ title?: string;
589
+ /** Render a quiet "No issues" chip when the list is empty */
590
+ showWhenEmpty?: boolean;
591
+ className?: string;
592
+ }
593
+ /**
594
+ * IssuesButton - the single place an editor lists what needs fixing: a count
595
+ * in the bar that opens a checklist; picking an entry calls `onSelect`.
596
+ * Hidden when there is nothing to fix, unless `showWhenEmpty`.
597
+ */
598
+ declare function IssuesButton<I extends StudioIssue>({ issues, onSelect, open: openProp, onOpenChange, title, showWhenEmpty, className, }: IssuesButtonProps<I>): React$1.JSX.Element | null;
599
+
600
+ interface InsertPaletteItem {
601
+ id: string;
602
+ label: string;
603
+ /** One line on when to use it */
604
+ description?: string;
605
+ icon?: React$1.ReactNode;
606
+ disabled?: boolean;
607
+ /** Extra search terms */
608
+ keywords?: string[];
609
+ }
610
+ interface InsertPaletteGroup {
611
+ label: string;
612
+ items: InsertPaletteItem[];
613
+ }
614
+ interface InsertPaletteProps {
615
+ open: boolean;
616
+ onOpenChange: (open: boolean) => void;
617
+ groups: InsertPaletteGroup[];
618
+ onSelect: (id: string) => void;
619
+ /** Dialog title (default: "Add") */
620
+ title?: string;
621
+ description?: string;
622
+ searchPlaceholder?: string;
623
+ /** Picture per entry; switches to a grid of cards */
624
+ renderThumbnail?: (item: InsertPaletteItem) => React$1.ReactNode;
625
+ }
626
+ /**
627
+ * InsertPalette - the one way to add something to a Studio: a searchable,
628
+ * grouped picker. Type to filter, Enter adds the first match, arrow keys move
629
+ * between entries.
630
+ */
631
+ declare function InsertPalette({ open, onOpenChange, groups, onSelect, title, description, searchPlaceholder, renderThumbnail, }: InsertPaletteProps): React$1.JSX.Element;
632
+
633
+ /**
634
+ * How much room the Studio has:
635
+ * - `wide` (≥1280px): outline, canvas and inspector side by side
636
+ * - `medium` (768–1279px): the outline moves into a sheet
637
+ * - `compact` (<768px): canvas only; outline and inspector open as sheets
638
+ */
639
+ type StudioLayout = 'wide' | 'medium' | 'compact';
640
+ interface StudioContextValue {
641
+ layout: StudioLayout;
642
+ /** The outline is shown in a sheet rather than as a column */
643
+ railInSheet: boolean;
644
+ /** The inspector is shown in a sheet rather than as a column */
645
+ inspectorInSheet: boolean;
646
+ openRail(): void;
647
+ closeRail(): void;
648
+ /** After a pick: close the outline sheet and, on phones, open the inspector sheet */
649
+ revealInspector(): void;
650
+ closeInspector(): void;
651
+ }
652
+ /** The surrounding Studio, or undefined when a Studio part is used on its own */
653
+ declare function useStudio(): StudioContextValue | undefined;
654
+
237
655
  interface DataPanelProps {
238
656
  /** Panel visibility */
239
657
  open?: boolean;
@@ -989,4 +1407,4 @@ declare function useClickOutside<T extends HTMLElement>(ref: React$1.RefObject<T
989
1407
  */
990
1408
  declare function cn(...inputs: ClassValue[]): string;
991
1409
 
992
- export { type ArrowNavigationOrientation, Avatar, AvatarFallback, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, DataPanel, DataPanelContent, type DataPanelContentProps, DataPanelFooter, type DataPanelFooterProps, DataPanelHeader, type DataPanelProps, DataPanelTab, type DataPanelTabProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Input, type InputProps, Label, LiveRegion, type LiveRegionProps, LoadingLogo, type LoadingLogoProps, LoadingOverlay, type LoadingOverlayProps, LoadingPage, type LoadingPageProps, LoadingSection, type LoadingSectionProps, PageHeader, type PageHeaderProps, PasswordInput, type PasswordInputProps, ProgressBar, type ProgressBarProps, Separator, type SeparatorProps, Skeleton, type SkeletonProps, SkipLink, type SkipLinkProps, Spinner, type SpinnerProps, Switch, type SwitchProps, type UseAnnounceOptions, type UseAnnounceReturn, type UseArrowNavigationOptions, type UseClickOutsideOptions, type UseEscapeKeyOptions, type UseFocusRefOptions, type UseFocusTrapOptions, type UseRovingTabindexOptions, badgeVariants, buttonVariants, cn, pageHeaderActionsVariants, pageHeaderContainerVariants, pageHeaderSubtitleVariants, pageHeaderTitleVariants, progressBarVariants, skeletonVariants, spinnerVariants, useAnnounce, useArrowNavigation, useClickOutside, useDataPanel, useEscapeKey, useFocusRef, useFocusTrap, useReducedMotion, useRovingTabindex };
1410
+ export { type ArrowNavigationOrientation, Avatar, AvatarFallback, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, DataPanel, DataPanelContent, type DataPanelContentProps, DataPanelFooter, type DataPanelFooterProps, DataPanelHeader, type DataPanelProps, DataPanelTab, type DataPanelTabProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Input, type InputProps, InsertPalette, type InsertPaletteGroup, type InsertPaletteItem, type InsertPaletteProps, IssuesButton, type IssuesButtonProps, Label, LiveRegion, type LiveRegionProps, LoadingLogo, type LoadingLogoProps, LoadingOverlay, type LoadingOverlayProps, LoadingPage, type LoadingPageProps, LoadingSection, type LoadingSectionProps, PageHeader, type PageHeaderProps, PasswordInput, type PasswordInputProps, ProgressBar, type ProgressBarProps, type SaveState, SaveStatus, type SaveStatusProps, Separator, type SeparatorProps, Sheet, type SheetProps, Skeleton, type SkeletonProps, SkipLink, type SkipLinkProps, type SortableHandleProps, type SortableItemContext, SortableList, type SortableListProps, Spinner, type SpinnerProps, Studio, StudioBar, type StudioBarProps, StudioCanvas, StudioCanvasItem, type StudioCanvasItemProps, type StudioCanvasProps, type StudioContextValue, StudioInspector, type StudioInspectorProps, StudioInspectorSection, type StudioInspectorSectionProps, type StudioInspectorTab, type StudioIssue, type StudioLayout, type StudioMenuItem, type StudioMode, StudioOutline, type StudioOutlineEntry, type StudioOutlineProps, StudioPage, type StudioPageProps, type StudioProps, Switch, type SwitchProps, type UseAnnounceOptions, type UseAnnounceReturn, type UseArrowNavigationOptions, type UseClickOutsideOptions, type UseEscapeKeyOptions, type UseFocusRefOptions, type UseFocusTrapOptions, type UseRovingTabindexOptions, badgeVariants, buttonVariants, cn, pageHeaderActionsVariants, pageHeaderContainerVariants, pageHeaderSubtitleVariants, pageHeaderTitleVariants, progressBarVariants, skeletonVariants, spinnerVariants, useAnnounce, useArrowNavigation, useClickOutside, useDataPanel, useEscapeKey, useFocusRef, useFocusTrap, useReducedMotion, useRovingTabindex, useStudio };