@refraction-ui/react 0.19.0 → 0.19.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/dist/chunk-533MCMSU.js +2355 -0
- package/dist/chunk-533MCMSU.js.map +7 -0
- package/dist/chunk-AMK4VCBG.js +250 -0
- package/dist/chunk-AMK4VCBG.js.map +7 -0
- package/dist/chunk-BOLFYVI6.js +90 -0
- package/dist/chunk-BOLFYVI6.js.map +7 -0
- package/dist/chunk-F7B64KT3.js +187 -0
- package/dist/chunk-F7B64KT3.js.map +7 -0
- package/dist/chunk-FD37DFCC.js +77 -0
- package/dist/chunk-FD37DFCC.js.map +7 -0
- package/dist/chunk-GFXGXZDB.js +23543 -0
- package/dist/chunk-GFXGXZDB.js.map +7 -0
- package/dist/chunk-H54FLNAF.js +132 -0
- package/dist/chunk-H54FLNAF.js.map +7 -0
- package/dist/chunk-INP46354.js +664 -0
- package/dist/chunk-INP46354.js.map +7 -0
- package/dist/chunk-O4R4W2KY.js +6460 -0
- package/dist/chunk-O4R4W2KY.js.map +7 -0
- package/dist/chunk-ONACRMG4.js +116 -0
- package/dist/chunk-ONACRMG4.js.map +7 -0
- package/dist/chunk-SDZ3LROZ.js +7 -0
- package/dist/chunk-SDZ3LROZ.js.map +7 -0
- package/dist/chunk-UJ6BBWQM.js +154 -0
- package/dist/chunk-UJ6BBWQM.js.map +7 -0
- package/dist/chunk-UNEM2TRI.js +225 -0
- package/dist/chunk-UNEM2TRI.js.map +7 -0
- package/dist/chunk-VK3EQ34F.js +92 -0
- package/dist/chunk-VK3EQ34F.js.map +7 -0
- package/dist/chunk-WK2IIUFO.js +316 -0
- package/dist/chunk-WK2IIUFO.js.map +7 -0
- package/dist/chunk-XWP763SH.js +3 -2
- package/dist/chunk-XWP763SH.js.map +7 -1
- package/dist/chunk-Y2FNNAIL.js +80 -0
- package/dist/chunk-Y2FNNAIL.js.map +1 -0
- package/dist/{chunk-4A4BW3GR.js → chunk-ZF3OHCGV.js} +28 -5
- package/dist/chunk-ZF3OHCGV.js.map +7 -0
- package/dist/form.cjs +5 -11
- package/dist/form.cjs.map +1 -1
- package/dist/form.js +6 -12
- package/dist/form.js.map +1 -1
- package/dist/index.cjs +4061 -3147
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +125 -28768
- package/dist/internal/command-input/index.d.cts +10 -2
- package/dist/internal/command-input/index.d.ts +10 -2
- package/dist/internal/react-app-shell/index.d.cts +2 -22
- package/dist/internal/react-app-shell/index.d.ts +2 -22
- package/dist/internal/react-collapsible/index.d.cts +0 -3
- package/dist/internal/react-collapsible/index.d.ts +0 -3
- package/dist/internal/react-combobox/index.d.cts +0 -3
- package/dist/internal/react-combobox/index.d.ts +0 -3
- package/dist/internal/react-command/index.d.cts +0 -3
- package/dist/internal/react-command/index.d.ts +0 -3
- package/dist/internal/react-data-table/index.d.cts +0 -3
- package/dist/internal/react-data-table/index.d.ts +0 -3
- package/dist/internal/react-date-picker/index.d.cts +1 -0
- package/dist/internal/react-date-picker/index.d.ts +1 -0
- package/dist/internal/react-dialog/index.d.cts +0 -3
- package/dist/internal/react-dialog/index.d.ts +0 -3
- package/dist/internal/react-dropdown-menu/index.d.cts +0 -3
- package/dist/internal/react-dropdown-menu/index.d.ts +0 -3
- package/dist/internal/react-feedback-dialog/index.d.cts +0 -3
- package/dist/internal/react-feedback-dialog/index.d.ts +0 -3
- package/dist/internal/react-keyboard-shortcut/index.d.cts +0 -6
- package/dist/internal/react-keyboard-shortcut/index.d.ts +0 -6
- package/dist/internal/react-popover/index.d.cts +0 -3
- package/dist/internal/react-popover/index.d.ts +0 -3
- package/dist/internal/react-sheet/index.d.cts +0 -3
- package/dist/internal/react-sheet/index.d.ts +0 -3
- package/dist/internal/react-toast/index.d.cts +0 -3
- package/dist/internal/react-toast/index.d.ts +0 -3
- package/dist/internal/react-tooltip/index.d.cts +0 -3
- package/dist/internal/react-tooltip/index.d.ts +0 -3
- package/dist/module-X3HTTRQK.js +6438 -0
- package/dist/module-X3HTTRQK.js.map +1 -0
- package/dist/react-accordion.js +125 -0
- package/dist/react-accordion.js.map +7 -0
- package/dist/react-ai.js +257 -0
- package/dist/react-ai.js.map +7 -0
- package/dist/react-analytics.js +1698 -0
- package/dist/react-analytics.js.map +7 -0
- package/dist/react-animated-text.js +164 -0
- package/dist/react-animated-text.js.map +7 -0
- package/dist/react-app-shell.js +631 -0
- package/dist/react-app-shell.js.map +7 -0
- package/dist/react-audience-feature-card.js +53 -0
- package/dist/react-audience-feature-card.js.map +7 -0
- package/dist/react-audio-room.js +166 -0
- package/dist/react-audio-room.js.map +7 -0
- package/dist/react-auth.js +211 -0
- package/dist/react-auth.js.map +7 -0
- package/dist/react-avatar-group.js +154 -0
- package/dist/react-avatar-group.js.map +7 -0
- package/dist/react-avatar.js +168 -0
- package/dist/react-avatar.js.map +7 -0
- package/dist/react-badge.js +70 -0
- package/dist/react-badge.js.map +7 -0
- package/dist/react-bottom-nav.js +67 -0
- package/dist/react-bottom-nav.js.map +7 -0
- package/dist/react-brand-network-cell.js +92 -0
- package/dist/react-brand-network-cell.js.map +7 -0
- package/dist/react-breadcrumbs.js +104 -0
- package/dist/react-breadcrumbs.js.map +7 -0
- package/dist/react-browser-chrome-mock.js +89 -0
- package/dist/react-browser-chrome-mock.js.map +7 -0
- package/dist/react-button.js +13 -0
- package/dist/react-button.js.map +7 -0
- package/dist/react-calendar.js +301 -0
- package/dist/react-calendar.js.map +7 -0
- package/dist/react-call-controls.js +113 -0
- package/dist/react-call-controls.js.map +7 -0
- package/dist/react-callout.js +136 -0
- package/dist/react-callout.js.map +7 -0
- package/dist/react-card-grid.js +34 -0
- package/dist/react-card-grid.js.map +7 -0
- package/dist/react-card.js +184 -0
- package/dist/react-card.js.map +7 -0
- package/dist/react-carousel.js +132 -0
- package/dist/react-carousel.js.map +7 -0
- package/dist/react-charts.js +509 -0
- package/dist/react-charts.js.map +7 -0
- package/dist/react-checkbox.js +156 -0
- package/dist/react-checkbox.js.map +7 -0
- package/dist/react-checklist.js +168 -0
- package/dist/react-checklist.js.map +7 -0
- package/dist/react-code-block.js +78 -0
- package/dist/react-code-block.js.map +7 -0
- package/dist/react-code-editor.js +184 -0
- package/dist/react-code-editor.js.map +7 -0
- package/dist/react-collapsible.js +192 -0
- package/dist/react-collapsible.js.map +7 -0
- package/dist/react-combobox.js +609 -0
- package/dist/react-combobox.js.map +7 -0
- package/dist/react-command-input.js +202 -0
- package/dist/react-command-input.js.map +7 -0
- package/dist/react-command.js +364 -0
- package/dist/react-command.js.map +7 -0
- package/dist/react-composer.js +2036 -0
- package/dist/react-composer.js.map +7 -0
- package/dist/react-content-protection.js +133 -0
- package/dist/react-content-protection.js.map +7 -0
- package/dist/react-conversation.js +1226 -0
- package/dist/react-conversation.js.map +7 -0
- package/dist/react-cookie-consent.js +291 -0
- package/dist/react-cookie-consent.js.map +7 -0
- package/dist/react-data-table.js +310 -0
- package/dist/react-data-table.js.map +7 -0
- package/dist/react-date-picker.js +95 -0
- package/dist/react-date-picker.js.map +7 -0
- package/dist/react-device-frame.js +137 -0
- package/dist/react-device-frame.js.map +7 -0
- package/dist/react-dialog.js +218 -0
- package/dist/react-dialog.js.map +7 -0
- package/dist/react-diff-viewer.js +460 -0
- package/dist/react-diff-viewer.js.map +7 -0
- package/dist/react-dropdown-menu.js +292 -0
- package/dist/react-dropdown-menu.js.map +7 -0
- package/dist/react-editor-status-bar.js +148 -0
- package/dist/react-editor-status-bar.js.map +7 -0
- package/dist/react-editor-tabs.js +159 -0
- package/dist/react-editor-tabs.js.map +7 -0
- package/dist/react-emoji-picker.js +238 -0
- package/dist/react-emoji-picker.js.map +7 -0
- package/dist/react-empty-state.js +90 -0
- package/dist/react-empty-state.js.map +7 -0
- package/dist/react-feedback-dialog.js +275 -0
- package/dist/react-feedback-dialog.js.map +7 -0
- package/dist/react-file-tree.js +376 -0
- package/dist/react-file-tree.js.map +7 -0
- package/dist/react-file-upload.js +360 -0
- package/dist/react-file-upload.js.map +7 -0
- package/dist/react-floating-reactions.js +124 -0
- package/dist/react-floating-reactions.js.map +7 -0
- package/dist/react-flow-editor.js +198 -0
- package/dist/react-flow-editor.js.map +7 -0
- package/dist/react-footer.js +67 -0
- package/dist/react-footer.js.map +7 -0
- package/dist/react-graph-view.js +197 -0
- package/dist/react-graph-view.js.map +7 -0
- package/dist/react-icon-system.js +9 -0
- package/dist/react-icon-system.js.map +7 -0
- package/dist/react-infinite-canvas.js +8 -0
- package/dist/react-infinite-canvas.js.map +7 -0
- package/dist/react-inline-editor.js +216 -0
- package/dist/react-inline-editor.js.map +7 -0
- package/dist/react-input-group.js +150 -0
- package/dist/react-input-group.js.map +7 -0
- package/dist/react-input.js +10 -0
- package/dist/react-input.js.map +7 -0
- package/dist/react-install-prompt.js +132 -0
- package/dist/react-install-prompt.js.map +7 -0
- package/dist/react-kanban-board.js +198 -0
- package/dist/react-kanban-board.js.map +7 -0
- package/dist/react-keyboard-shortcut.js +36 -0
- package/dist/react-keyboard-shortcut.js.map +7 -0
- package/dist/react-language-selector.js +311 -0
- package/dist/react-language-selector.js.map +7 -0
- package/dist/react-link-card.js +34 -0
- package/dist/react-link-card.js.map +7 -0
- package/dist/react-live-captions.js +92 -0
- package/dist/react-live-captions.js.map +7 -0
- package/dist/react-live-cursors.js +145 -0
- package/dist/react-live-cursors.js.map +7 -0
- package/dist/react-live-transcript.js +117 -0
- package/dist/react-live-transcript.js.map +7 -0
- package/dist/react-location-selector.js +252 -0
- package/dist/react-location-selector.js.map +7 -0
- package/dist/react-logger.js +415 -0
- package/dist/react-logger.js.map +7 -0
- package/dist/react-markdown-renderer.js +12 -0
- package/dist/react-markdown-renderer.js.map +7 -0
- package/dist/react-marquee-strip.js +62 -0
- package/dist/react-marquee-strip.js.map +7 -0
- package/dist/react-mascot.js +367 -0
- package/dist/react-mascot.js.map +7 -0
- package/dist/react-mastery-bar.js +97 -0
- package/dist/react-mastery-bar.js.map +7 -0
- package/dist/react-mini-map.js +207 -0
- package/dist/react-mini-map.js.map +7 -0
- package/dist/react-mobile-nav.js +216 -0
- package/dist/react-mobile-nav.js.map +7 -0
- package/dist/react-navbar.js +96 -0
- package/dist/react-navbar.js.map +7 -0
- package/dist/react-numbered-steps.js +67 -0
- package/dist/react-numbered-steps.js.map +7 -0
- package/dist/react-otp-input.js +318 -0
- package/dist/react-otp-input.js.map +7 -0
- package/dist/react-pagination.js +199 -0
- package/dist/react-pagination.js.map +7 -0
- package/dist/react-password-input.js +104 -0
- package/dist/react-password-input.js.map +7 -0
- package/dist/react-payment.js +81 -0
- package/dist/react-payment.js.map +7 -0
- package/dist/react-popover.js +176 -0
- package/dist/react-popover.js.map +7 -0
- package/dist/react-pre-call-lobby.js +309 -0
- package/dist/react-pre-call-lobby.js.map +7 -0
- package/dist/react-presence-indicator.js +86 -0
- package/dist/react-presence-indicator.js.map +7 -0
- package/dist/react-pricing-card.js +142 -0
- package/dist/react-pricing-card.js.map +7 -0
- package/dist/react-progress-display.js +188 -0
- package/dist/react-progress-display.js.map +7 -0
- package/dist/react-radial-gauge.js +193 -0
- package/dist/react-radial-gauge.js.map +7 -0
- package/dist/react-radio.js +169 -0
- package/dist/react-radio.js.map +7 -0
- package/dist/react-rating-scale.js +171 -0
- package/dist/react-rating-scale.js.map +7 -0
- package/dist/react-reaction-bar.js +111 -0
- package/dist/react-reaction-bar.js.map +7 -0
- package/dist/react-resizable-layout.js +298 -0
- package/dist/react-resizable-layout.js.map +7 -0
- package/dist/react-rich-editor.js +1 -0
- package/dist/react-rich-editor.js.map +7 -0
- package/dist/react-search-bar.js +285 -0
- package/dist/react-search-bar.js.map +7 -0
- package/dist/react-section-head.js +65 -0
- package/dist/react-section-head.js.map +7 -0
- package/dist/react-segmented-control.js +215 -0
- package/dist/react-segmented-control.js.map +7 -0
- package/dist/react-select.js +389 -0
- package/dist/react-select.js.map +7 -0
- package/dist/react-separator.js +86 -0
- package/dist/react-separator.js.map +7 -0
- package/dist/react-sheet.js +310 -0
- package/dist/react-sheet.js.map +7 -0
- package/dist/react-sidebar.js +100 -0
- package/dist/react-sidebar.js.map +7 -0
- package/dist/react-skeleton.js +91 -0
- package/dist/react-skeleton.js.map +7 -0
- package/dist/react-skip-to-content.js +38 -0
- package/dist/react-skip-to-content.js.map +7 -0
- package/dist/react-slide-viewer.js +264 -0
- package/dist/react-slide-viewer.js.map +7 -0
- package/dist/react-slider.js +105 -0
- package/dist/react-slider.js.map +7 -0
- package/dist/react-slot-picker.js +184 -0
- package/dist/react-slot-picker.js.map +7 -0
- package/dist/react-social-auth-button.js +169 -0
- package/dist/react-social-auth-button.js.map +7 -0
- package/dist/react-sortable-list.js +204 -0
- package/dist/react-sortable-list.js.map +7 -0
- package/dist/react-stat-grid.js +69 -0
- package/dist/react-stat-grid.js.map +7 -0
- package/dist/react-status-indicator.js +117 -0
- package/dist/react-status-indicator.js.map +7 -0
- package/dist/react-steps.js +167 -0
- package/dist/react-steps.js.map +7 -0
- package/dist/react-sticky-note.js +131 -0
- package/dist/react-sticky-note.js.map +7 -0
- package/dist/react-switch.js +139 -0
- package/dist/react-switch.js.map +7 -0
- package/dist/react-table-of-contents.js +80 -0
- package/dist/react-table-of-contents.js.map +7 -0
- package/dist/react-tabs.js +230 -0
- package/dist/react-tabs.js.map +7 -0
- package/dist/react-terminal.js +101 -0
- package/dist/react-terminal.js.map +7 -0
- package/dist/react-test-results.js +158 -0
- package/dist/react-test-results.js.map +7 -0
- package/dist/react-textarea.js +89 -0
- package/dist/react-textarea.js.map +7 -0
- package/dist/react-thread-view.js +139 -0
- package/dist/react-thread-view.js.map +7 -0
- package/dist/react-timeline.js +153 -0
- package/dist/react-timeline.js.map +7 -0
- package/dist/react-toast.js +253 -0
- package/dist/react-toast.js.map +7 -0
- package/dist/react-tooltip.js +221 -0
- package/dist/react-tooltip.js.map +7 -0
- package/dist/react-version-selector.js +270 -0
- package/dist/react-version-selector.js.map +7 -0
- package/dist/react-video-grid.js +129 -0
- package/dist/react-video-grid.js.map +7 -0
- package/dist/react-video-player.js +206 -0
- package/dist/react-video-player.js.map +7 -0
- package/dist/react-video-tile.js +8 -0
- package/dist/react-video-tile.js.map +7 -0
- package/dist/react-voice-pill.js +314 -0
- package/dist/react-voice-pill.js.map +7 -0
- package/dist/react-waveform.js +558 -0
- package/dist/react-waveform.js.map +7 -0
- package/dist/react-wizard.js +337 -0
- package/dist/react-wizard.js.map +7 -0
- package/dist/theme.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-4A4BW3GR.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/module-XHEQRMQB.js +0 -5320
- package/dist/module-XHEQRMQB.js.map +0 -1
|
@@ -26,16 +26,24 @@ interface CommandInputOptions {
|
|
|
26
26
|
onCommandCommit?: (trigger: Trigger, text: string) => void;
|
|
27
27
|
onCommandCancel?: () => void;
|
|
28
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* Minimal keyboard-event surface {@link CommandInput.handleKeyDown} needs.
|
|
31
|
+
* DOM `KeyboardEvent`s and framework synthetic events (e.g. React's) both
|
|
32
|
+
* satisfy this structurally, so adapters can pass their events without casts.
|
|
33
|
+
*/
|
|
34
|
+
interface CommandKeyEvent {
|
|
35
|
+
preventDefault(): void;
|
|
36
|
+
}
|
|
29
37
|
declare class CommandInput {
|
|
30
38
|
private state;
|
|
31
39
|
private options;
|
|
32
40
|
constructor(options: CommandInputOptions);
|
|
33
41
|
handleInput(text: string, cursorPosition: number): void;
|
|
34
|
-
handleKeyDown(key: string, event?:
|
|
42
|
+
handleKeyDown(key: string, event?: CommandKeyEvent): void;
|
|
35
43
|
get value(): InputNode[];
|
|
36
44
|
getState(): CommandInputState;
|
|
37
45
|
private parseInput;
|
|
38
46
|
private notifyStateChange;
|
|
39
47
|
}
|
|
40
48
|
|
|
41
|
-
export { CommandInput, type CommandInputOptions, type CommandInputState, type CommandNode, type InputNode, type TextNode, type Trigger };
|
|
49
|
+
export { CommandInput, type CommandInputOptions, type CommandInputState, type CommandKeyEvent, type CommandNode, type InputNode, type TextNode, type Trigger };
|
|
@@ -26,16 +26,24 @@ interface CommandInputOptions {
|
|
|
26
26
|
onCommandCommit?: (trigger: Trigger, text: string) => void;
|
|
27
27
|
onCommandCancel?: () => void;
|
|
28
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* Minimal keyboard-event surface {@link CommandInput.handleKeyDown} needs.
|
|
31
|
+
* DOM `KeyboardEvent`s and framework synthetic events (e.g. React's) both
|
|
32
|
+
* satisfy this structurally, so adapters can pass their events without casts.
|
|
33
|
+
*/
|
|
34
|
+
interface CommandKeyEvent {
|
|
35
|
+
preventDefault(): void;
|
|
36
|
+
}
|
|
29
37
|
declare class CommandInput {
|
|
30
38
|
private state;
|
|
31
39
|
private options;
|
|
32
40
|
constructor(options: CommandInputOptions);
|
|
33
41
|
handleInput(text: string, cursorPosition: number): void;
|
|
34
|
-
handleKeyDown(key: string, event?:
|
|
42
|
+
handleKeyDown(key: string, event?: CommandKeyEvent): void;
|
|
35
43
|
get value(): InputNode[];
|
|
36
44
|
getState(): CommandInputState;
|
|
37
45
|
private parseInput;
|
|
38
46
|
private notifyStateChange;
|
|
39
47
|
}
|
|
40
48
|
|
|
41
|
-
export { CommandInput, type CommandInputOptions, type CommandInputState, type CommandNode, type InputNode, type TextNode, type Trigger };
|
|
49
|
+
export { CommandInput, type CommandInputOptions, type CommandInputState, type CommandKeyEvent, type CommandNode, type InputNode, type TextNode, type Trigger };
|
|
@@ -54,10 +54,6 @@ interface PageShellProps {
|
|
|
54
54
|
children?: React.ReactNode;
|
|
55
55
|
className?: string;
|
|
56
56
|
}
|
|
57
|
-
declare function PageShellRoot({ config, children, className }: PageShellProps): React.FunctionComponentElement<React.ProviderProps<PageShellContextValue | null>>;
|
|
58
|
-
declare namespace PageShellRoot {
|
|
59
|
-
var displayName: string;
|
|
60
|
-
}
|
|
61
57
|
interface PageShellNavProps {
|
|
62
58
|
children?: React.ReactNode;
|
|
63
59
|
className?: string;
|
|
@@ -65,9 +61,6 @@ interface PageShellNavProps {
|
|
|
65
61
|
declare function Nav({ children, className }: PageShellNavProps): React.DetailedReactHTMLElement<{
|
|
66
62
|
className: string;
|
|
67
63
|
}, HTMLElement>;
|
|
68
|
-
declare namespace Nav {
|
|
69
|
-
var displayName: string;
|
|
70
|
-
}
|
|
71
64
|
interface PageShellSectionProps extends SectionConfig {
|
|
72
65
|
children?: React.ReactNode;
|
|
73
66
|
className?: string;
|
|
@@ -75,9 +68,6 @@ interface PageShellSectionProps extends SectionConfig {
|
|
|
75
68
|
declare function Section({ children, className, fullWidth, maxWidth, padding, background, }: PageShellSectionProps): React.DetailedReactHTMLElement<{
|
|
76
69
|
className: string;
|
|
77
70
|
}, HTMLElement>;
|
|
78
|
-
declare namespace Section {
|
|
79
|
-
var displayName: string;
|
|
80
|
-
}
|
|
81
71
|
interface PageShellFooterProps {
|
|
82
72
|
children?: React.ReactNode;
|
|
83
73
|
className?: string;
|
|
@@ -86,10 +76,7 @@ interface PageShellFooterProps {
|
|
|
86
76
|
declare function Footer({ children, className, columns }: PageShellFooterProps): React.DetailedReactHTMLElement<{
|
|
87
77
|
className: string;
|
|
88
78
|
}, HTMLElement>;
|
|
89
|
-
declare
|
|
90
|
-
var displayName: string;
|
|
91
|
-
}
|
|
92
|
-
declare const PageShell: typeof PageShellRoot & {
|
|
79
|
+
declare const PageShell: (({ config, children, className }: PageShellProps) => React.FunctionComponentElement<React.ProviderProps<PageShellContextValue | null>>) & {
|
|
93
80
|
Nav: typeof Nav;
|
|
94
81
|
Section: typeof Section;
|
|
95
82
|
Footer: typeof Footer;
|
|
@@ -103,10 +90,6 @@ interface AuthShellProps {
|
|
|
103
90
|
children?: React.ReactNode;
|
|
104
91
|
className?: string;
|
|
105
92
|
}
|
|
106
|
-
declare function AuthShellRoot({ config, children, className }: AuthShellProps): React.FunctionComponentElement<React.ProviderProps<AuthShellContextValue | null>>;
|
|
107
|
-
declare namespace AuthShellRoot {
|
|
108
|
-
var displayName: string;
|
|
109
|
-
}
|
|
110
93
|
interface AuthShellCardProps {
|
|
111
94
|
children?: React.ReactNode;
|
|
112
95
|
className?: string;
|
|
@@ -115,10 +98,7 @@ declare function AuthShellCard({ children, className }: AuthShellCardProps): Rea
|
|
|
115
98
|
className: string;
|
|
116
99
|
'data-auth-card': string;
|
|
117
100
|
}, HTMLElement>;
|
|
118
|
-
declare
|
|
119
|
-
var displayName: string;
|
|
120
|
-
}
|
|
121
|
-
declare const AuthShell: typeof AuthShellRoot & {
|
|
101
|
+
declare const AuthShell: (({ config, children, className }: AuthShellProps) => React.FunctionComponentElement<React.ProviderProps<AuthShellContextValue | null>>) & {
|
|
122
102
|
Card: typeof AuthShellCard;
|
|
123
103
|
};
|
|
124
104
|
|
|
@@ -54,10 +54,6 @@ interface PageShellProps {
|
|
|
54
54
|
children?: React.ReactNode;
|
|
55
55
|
className?: string;
|
|
56
56
|
}
|
|
57
|
-
declare function PageShellRoot({ config, children, className }: PageShellProps): React.FunctionComponentElement<React.ProviderProps<PageShellContextValue | null>>;
|
|
58
|
-
declare namespace PageShellRoot {
|
|
59
|
-
var displayName: string;
|
|
60
|
-
}
|
|
61
57
|
interface PageShellNavProps {
|
|
62
58
|
children?: React.ReactNode;
|
|
63
59
|
className?: string;
|
|
@@ -65,9 +61,6 @@ interface PageShellNavProps {
|
|
|
65
61
|
declare function Nav({ children, className }: PageShellNavProps): React.DetailedReactHTMLElement<{
|
|
66
62
|
className: string;
|
|
67
63
|
}, HTMLElement>;
|
|
68
|
-
declare namespace Nav {
|
|
69
|
-
var displayName: string;
|
|
70
|
-
}
|
|
71
64
|
interface PageShellSectionProps extends SectionConfig {
|
|
72
65
|
children?: React.ReactNode;
|
|
73
66
|
className?: string;
|
|
@@ -75,9 +68,6 @@ interface PageShellSectionProps extends SectionConfig {
|
|
|
75
68
|
declare function Section({ children, className, fullWidth, maxWidth, padding, background, }: PageShellSectionProps): React.DetailedReactHTMLElement<{
|
|
76
69
|
className: string;
|
|
77
70
|
}, HTMLElement>;
|
|
78
|
-
declare namespace Section {
|
|
79
|
-
var displayName: string;
|
|
80
|
-
}
|
|
81
71
|
interface PageShellFooterProps {
|
|
82
72
|
children?: React.ReactNode;
|
|
83
73
|
className?: string;
|
|
@@ -86,10 +76,7 @@ interface PageShellFooterProps {
|
|
|
86
76
|
declare function Footer({ children, className, columns }: PageShellFooterProps): React.DetailedReactHTMLElement<{
|
|
87
77
|
className: string;
|
|
88
78
|
}, HTMLElement>;
|
|
89
|
-
declare
|
|
90
|
-
var displayName: string;
|
|
91
|
-
}
|
|
92
|
-
declare const PageShell: typeof PageShellRoot & {
|
|
79
|
+
declare const PageShell: (({ config, children, className }: PageShellProps) => React.FunctionComponentElement<React.ProviderProps<PageShellContextValue | null>>) & {
|
|
93
80
|
Nav: typeof Nav;
|
|
94
81
|
Section: typeof Section;
|
|
95
82
|
Footer: typeof Footer;
|
|
@@ -103,10 +90,6 @@ interface AuthShellProps {
|
|
|
103
90
|
children?: React.ReactNode;
|
|
104
91
|
className?: string;
|
|
105
92
|
}
|
|
106
|
-
declare function AuthShellRoot({ config, children, className }: AuthShellProps): React.FunctionComponentElement<React.ProviderProps<AuthShellContextValue | null>>;
|
|
107
|
-
declare namespace AuthShellRoot {
|
|
108
|
-
var displayName: string;
|
|
109
|
-
}
|
|
110
93
|
interface AuthShellCardProps {
|
|
111
94
|
children?: React.ReactNode;
|
|
112
95
|
className?: string;
|
|
@@ -115,10 +98,7 @@ declare function AuthShellCard({ children, className }: AuthShellCardProps): Rea
|
|
|
115
98
|
className: string;
|
|
116
99
|
'data-auth-card': string;
|
|
117
100
|
}, HTMLElement>;
|
|
118
|
-
declare
|
|
119
|
-
var displayName: string;
|
|
120
|
-
}
|
|
121
|
-
declare const AuthShell: typeof AuthShellRoot & {
|
|
101
|
+
declare const AuthShell: (({ config, children, className }: AuthShellProps) => React.FunctionComponentElement<React.ProviderProps<AuthShellContextValue | null>>) & {
|
|
122
102
|
Card: typeof AuthShellCard;
|
|
123
103
|
};
|
|
124
104
|
|
|
@@ -16,9 +16,6 @@ interface CollapsibleProps {
|
|
|
16
16
|
className?: string;
|
|
17
17
|
}
|
|
18
18
|
declare function Collapsible({ open: controlledOpen, defaultOpen, onOpenChange, disabled, children, className, }: CollapsibleProps): React.FunctionComponentElement<React.ProviderProps<CollapsibleContextValue | null>>;
|
|
19
|
-
declare namespace Collapsible {
|
|
20
|
-
var displayName: string;
|
|
21
|
-
}
|
|
22
19
|
interface CollapsibleTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
23
20
|
}
|
|
24
21
|
declare const CollapsibleTrigger: React.ForwardRefExoticComponent<CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -16,9 +16,6 @@ interface CollapsibleProps {
|
|
|
16
16
|
className?: string;
|
|
17
17
|
}
|
|
18
18
|
declare function Collapsible({ open: controlledOpen, defaultOpen, onOpenChange, disabled, children, className, }: CollapsibleProps): React.FunctionComponentElement<React.ProviderProps<CollapsibleContextValue | null>>;
|
|
19
|
-
declare namespace Collapsible {
|
|
20
|
-
var displayName: string;
|
|
21
|
-
}
|
|
22
19
|
interface CollapsibleTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
23
20
|
}
|
|
24
21
|
declare const CollapsibleTrigger: React.ForwardRefExoticComponent<CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -61,9 +61,6 @@ interface ComboboxProps {
|
|
|
61
61
|
* <ComboboxItem> children inside <ComboboxList> for full control.
|
|
62
62
|
*/
|
|
63
63
|
declare function Combobox({ value: valueProp, defaultValue, onValueChange, open: openProp, defaultOpen, onOpenChange, options, filter, disabled, children, }: ComboboxProps): react_jsx_runtime.JSX.Element;
|
|
64
|
-
declare namespace Combobox {
|
|
65
|
-
var displayName: string;
|
|
66
|
-
}
|
|
67
64
|
interface ComboboxTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
68
65
|
size?: 'sm' | 'default' | 'lg';
|
|
69
66
|
placeholder?: string;
|
|
@@ -61,9 +61,6 @@ interface ComboboxProps {
|
|
|
61
61
|
* <ComboboxItem> children inside <ComboboxList> for full control.
|
|
62
62
|
*/
|
|
63
63
|
declare function Combobox({ value: valueProp, defaultValue, onValueChange, open: openProp, defaultOpen, onOpenChange, options, filter, disabled, children, }: ComboboxProps): react_jsx_runtime.JSX.Element;
|
|
64
|
-
declare namespace Combobox {
|
|
65
|
-
var displayName: string;
|
|
66
|
-
}
|
|
67
64
|
interface ComboboxTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
68
65
|
size?: 'sm' | 'default' | 'lg';
|
|
69
66
|
placeholder?: string;
|
|
@@ -22,9 +22,6 @@ interface CommandProps {
|
|
|
22
22
|
children?: React.ReactNode;
|
|
23
23
|
}
|
|
24
24
|
declare function Command({ open, onOpenChange, filter, className, children, }: CommandProps): React.FunctionComponentElement<React.ProviderProps<CommandContextValue | null>>;
|
|
25
|
-
declare namespace Command {
|
|
26
|
-
var displayName: string;
|
|
27
|
-
}
|
|
28
25
|
interface CommandInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
29
26
|
}
|
|
30
27
|
declare const CommandInput: React.ForwardRefExoticComponent<CommandInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -22,9 +22,6 @@ interface CommandProps {
|
|
|
22
22
|
children?: React.ReactNode;
|
|
23
23
|
}
|
|
24
24
|
declare function Command({ open, onOpenChange, filter, className, children, }: CommandProps): React.FunctionComponentElement<React.ProviderProps<CommandContextValue | null>>;
|
|
25
|
-
declare namespace Command {
|
|
26
|
-
var displayName: string;
|
|
27
|
-
}
|
|
28
25
|
interface CommandInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
29
26
|
}
|
|
30
27
|
declare const CommandInput: React.ForwardRefExoticComponent<CommandInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -15,8 +15,5 @@ interface DataTableProps<T = Record<string, unknown>> {
|
|
|
15
15
|
declare function DataTable<T = Record<string, unknown>>({ columns, data, sortBy: controlledSortBy, sortDir: controlledSortDir, onSort, filters: controlledFilters, className, emptyMessage, }: DataTableProps<T>): React.DetailedReactHTMLElement<{
|
|
16
16
|
className: string;
|
|
17
17
|
}, HTMLElement>;
|
|
18
|
-
declare namespace DataTable {
|
|
19
|
-
var displayName: string;
|
|
20
|
-
}
|
|
21
18
|
|
|
22
19
|
export { DataTable, type DataTableProps };
|
|
@@ -15,8 +15,5 @@ interface DataTableProps<T = Record<string, unknown>> {
|
|
|
15
15
|
declare function DataTable<T = Record<string, unknown>>({ columns, data, sortBy: controlledSortBy, sortDir: controlledSortDir, onSort, filters: controlledFilters, className, emptyMessage, }: DataTableProps<T>): React.DetailedReactHTMLElement<{
|
|
16
16
|
className: string;
|
|
17
17
|
}, HTMLElement>;
|
|
18
|
-
declare namespace DataTable {
|
|
19
|
-
var displayName: string;
|
|
20
|
-
}
|
|
21
18
|
|
|
22
19
|
export { DataTable, type DataTableProps };
|
|
@@ -7,6 +7,7 @@ interface DatePickerProps extends Omit<React.InputHTMLAttributes<HTMLInputElemen
|
|
|
7
7
|
minDate?: Date;
|
|
8
8
|
maxDate?: Date;
|
|
9
9
|
showTime?: boolean;
|
|
10
|
+
/** Display format for the selected-date text shown next to the input (e.g. 'DD/MM/YYYY'). The native input value itself stays ISO (`YYYY-MM-DD`). */
|
|
10
11
|
format?: string;
|
|
11
12
|
placeholder?: string;
|
|
12
13
|
}
|
|
@@ -7,6 +7,7 @@ interface DatePickerProps extends Omit<React.InputHTMLAttributes<HTMLInputElemen
|
|
|
7
7
|
minDate?: Date;
|
|
8
8
|
maxDate?: Date;
|
|
9
9
|
showTime?: boolean;
|
|
10
|
+
/** Display format for the selected-date text shown next to the input (e.g. 'DD/MM/YYYY'). The native input value itself stays ISO (`YYYY-MM-DD`). */
|
|
10
11
|
format?: string;
|
|
11
12
|
placeholder?: string;
|
|
12
13
|
}
|
|
@@ -17,9 +17,6 @@ interface DialogProps {
|
|
|
17
17
|
children?: React.ReactNode;
|
|
18
18
|
}
|
|
19
19
|
declare function Dialog({ open: controlledOpen, defaultOpen, onOpenChange, modal, children, }: DialogProps): React.FunctionComponentElement<React.ProviderProps<DialogContextValue | null>>;
|
|
20
|
-
declare namespace Dialog {
|
|
21
|
-
var displayName: string;
|
|
22
|
-
}
|
|
23
20
|
interface DialogTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
24
21
|
asChild?: boolean;
|
|
25
22
|
}
|
|
@@ -17,9 +17,6 @@ interface DialogProps {
|
|
|
17
17
|
children?: React.ReactNode;
|
|
18
18
|
}
|
|
19
19
|
declare function Dialog({ open: controlledOpen, defaultOpen, onOpenChange, modal, children, }: DialogProps): React.FunctionComponentElement<React.ProviderProps<DialogContextValue | null>>;
|
|
20
|
-
declare namespace Dialog {
|
|
21
|
-
var displayName: string;
|
|
22
|
-
}
|
|
23
20
|
interface DialogTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
24
21
|
asChild?: boolean;
|
|
25
22
|
}
|
|
@@ -13,9 +13,6 @@ interface DropdownMenuProps {
|
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
}
|
|
15
15
|
declare function DropdownMenu({ open: controlledOpen, defaultOpen, onOpenChange, children, }: DropdownMenuProps): React.FunctionComponentElement<React.ProviderProps<DropdownMenuContextValue | null>>;
|
|
16
|
-
declare namespace DropdownMenu {
|
|
17
|
-
var displayName: string;
|
|
18
|
-
}
|
|
19
16
|
interface DropdownMenuTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
20
17
|
/** Merge the trigger's props/behavior onto the child element instead of
|
|
21
18
|
* rendering a `<button>` around it (Radix-style `asChild`). Use it with
|
|
@@ -13,9 +13,6 @@ interface DropdownMenuProps {
|
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
}
|
|
15
15
|
declare function DropdownMenu({ open: controlledOpen, defaultOpen, onOpenChange, children, }: DropdownMenuProps): React.FunctionComponentElement<React.ProviderProps<DropdownMenuContextValue | null>>;
|
|
16
|
-
declare namespace DropdownMenu {
|
|
17
|
-
var displayName: string;
|
|
18
|
-
}
|
|
19
16
|
interface DropdownMenuTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
20
17
|
/** Merge the trigger's props/behavior onto the child element instead of
|
|
21
18
|
* rendering a `<button>` around it (Radix-style `asChild`). Use it with
|
|
@@ -15,9 +15,6 @@ interface FeedbackDialogProps {
|
|
|
15
15
|
declare function FeedbackDialog({ open: controlledOpen, defaultOpen, onOpenChange, onSubmit, type, className, children, }: FeedbackDialogProps): React.FunctionComponentElement<{
|
|
16
16
|
children?: React.ReactNode | undefined;
|
|
17
17
|
}>;
|
|
18
|
-
declare namespace FeedbackDialog {
|
|
19
|
-
var displayName: string;
|
|
20
|
-
}
|
|
21
18
|
interface FeedbackButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
22
19
|
children?: React.ReactNode;
|
|
23
20
|
}
|
|
@@ -15,9 +15,6 @@ interface FeedbackDialogProps {
|
|
|
15
15
|
declare function FeedbackDialog({ open: controlledOpen, defaultOpen, onOpenChange, onSubmit, type, className, children, }: FeedbackDialogProps): React.FunctionComponentElement<{
|
|
16
16
|
children?: React.ReactNode | undefined;
|
|
17
17
|
}>;
|
|
18
|
-
declare namespace FeedbackDialog {
|
|
19
|
-
var displayName: string;
|
|
20
|
-
}
|
|
21
18
|
interface FeedbackButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
22
19
|
children?: React.ReactNode;
|
|
23
20
|
}
|
|
@@ -37,9 +37,6 @@ interface KeyboardShortcutProps {
|
|
|
37
37
|
* Attaches a global keydown listener and calls onTrigger when the combo matches.
|
|
38
38
|
*/
|
|
39
39
|
declare function KeyboardShortcut({ keys, onTrigger, enabled, preventDefault, }: KeyboardShortcutProps): null;
|
|
40
|
-
declare namespace KeyboardShortcut {
|
|
41
|
-
var displayName: string;
|
|
42
|
-
}
|
|
43
40
|
interface ShortcutBadgeProps {
|
|
44
41
|
/** Key combination to display */
|
|
45
42
|
keys: string[];
|
|
@@ -50,8 +47,5 @@ interface ShortcutBadgeProps {
|
|
|
50
47
|
declare function ShortcutBadge({ keys, platform, className }: ShortcutBadgeProps): React.DetailedReactHTMLElement<{
|
|
51
48
|
className: string;
|
|
52
49
|
}, HTMLElement>;
|
|
53
|
-
declare namespace ShortcutBadge {
|
|
54
|
-
var displayName: string;
|
|
55
|
-
}
|
|
56
50
|
|
|
57
51
|
export { KeyboardShortcut, type KeyboardShortcutProps, ShortcutBadge, type ShortcutBadgeProps, ShortcutContext, ShortcutHint, type ShortcutHintProps, ShortcutProvider, type UseShortcutOptions, useShortcut };
|
|
@@ -37,9 +37,6 @@ interface KeyboardShortcutProps {
|
|
|
37
37
|
* Attaches a global keydown listener and calls onTrigger when the combo matches.
|
|
38
38
|
*/
|
|
39
39
|
declare function KeyboardShortcut({ keys, onTrigger, enabled, preventDefault, }: KeyboardShortcutProps): null;
|
|
40
|
-
declare namespace KeyboardShortcut {
|
|
41
|
-
var displayName: string;
|
|
42
|
-
}
|
|
43
40
|
interface ShortcutBadgeProps {
|
|
44
41
|
/** Key combination to display */
|
|
45
42
|
keys: string[];
|
|
@@ -50,8 +47,5 @@ interface ShortcutBadgeProps {
|
|
|
50
47
|
declare function ShortcutBadge({ keys, platform, className }: ShortcutBadgeProps): React.DetailedReactHTMLElement<{
|
|
51
48
|
className: string;
|
|
52
49
|
}, HTMLElement>;
|
|
53
|
-
declare namespace ShortcutBadge {
|
|
54
|
-
var displayName: string;
|
|
55
|
-
}
|
|
56
50
|
|
|
57
51
|
export { KeyboardShortcut, type KeyboardShortcutProps, ShortcutBadge, type ShortcutBadgeProps, ShortcutContext, ShortcutHint, type ShortcutHintProps, ShortcutProvider, type UseShortcutOptions, useShortcut };
|
|
@@ -16,9 +16,6 @@ interface PopoverProps {
|
|
|
16
16
|
children: React.ReactNode;
|
|
17
17
|
}
|
|
18
18
|
declare function Popover({ open: controlledOpen, defaultOpen, onOpenChange, placement, children }: PopoverProps): React.FunctionComponentElement<React.ProviderProps<PopoverContextValue | null>>;
|
|
19
|
-
declare namespace Popover {
|
|
20
|
-
var displayName: string;
|
|
21
|
-
}
|
|
22
19
|
interface PopoverTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
23
20
|
}
|
|
24
21
|
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -16,9 +16,6 @@ interface PopoverProps {
|
|
|
16
16
|
children: React.ReactNode;
|
|
17
17
|
}
|
|
18
18
|
declare function Popover({ open: controlledOpen, defaultOpen, onOpenChange, placement, children }: PopoverProps): React.FunctionComponentElement<React.ProviderProps<PopoverContextValue | null>>;
|
|
19
|
-
declare namespace Popover {
|
|
20
|
-
var displayName: string;
|
|
21
|
-
}
|
|
22
19
|
interface PopoverTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
23
20
|
}
|
|
24
21
|
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -26,9 +26,6 @@ interface SheetProps {
|
|
|
26
26
|
children?: React.ReactNode;
|
|
27
27
|
}
|
|
28
28
|
declare function Sheet({ open: controlledOpen, defaultOpen, onOpenChange, modal, side, children, }: SheetProps): React.FunctionComponentElement<React.ProviderProps<SheetContextValue | null>>;
|
|
29
|
-
declare namespace Sheet {
|
|
30
|
-
var displayName: string;
|
|
31
|
-
}
|
|
32
29
|
interface SheetTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
33
30
|
}
|
|
34
31
|
declare const SheetTrigger: React.ForwardRefExoticComponent<SheetTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -26,9 +26,6 @@ interface SheetProps {
|
|
|
26
26
|
children?: React.ReactNode;
|
|
27
27
|
}
|
|
28
28
|
declare function Sheet({ open: controlledOpen, defaultOpen, onOpenChange, modal, side, children, }: SheetProps): React.FunctionComponentElement<React.ProviderProps<SheetContextValue | null>>;
|
|
29
|
-
declare namespace Sheet {
|
|
30
|
-
var displayName: string;
|
|
31
|
-
}
|
|
32
29
|
interface SheetTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
33
30
|
}
|
|
34
31
|
declare const SheetTrigger: React.ForwardRefExoticComponent<SheetTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -9,9 +9,6 @@ interface ToastProviderProps {
|
|
|
9
9
|
children?: React.ReactNode;
|
|
10
10
|
}
|
|
11
11
|
declare function ToastProvider({ children }: ToastProviderProps): React.FunctionComponentElement<React.ProviderProps<ToastContextValue | null>>;
|
|
12
|
-
declare namespace ToastProvider {
|
|
13
|
-
var displayName: string;
|
|
14
|
-
}
|
|
15
12
|
interface UseToastReturn {
|
|
16
13
|
/** Show a new toast */
|
|
17
14
|
toast: (message: string, opts?: {
|
|
@@ -9,9 +9,6 @@ interface ToastProviderProps {
|
|
|
9
9
|
children?: React.ReactNode;
|
|
10
10
|
}
|
|
11
11
|
declare function ToastProvider({ children }: ToastProviderProps): React.FunctionComponentElement<React.ProviderProps<ToastContextValue | null>>;
|
|
12
|
-
declare namespace ToastProvider {
|
|
13
|
-
var displayName: string;
|
|
14
|
-
}
|
|
15
12
|
interface UseToastReturn {
|
|
16
13
|
/** Show a new toast */
|
|
17
14
|
toast: (message: string, opts?: {
|
|
@@ -19,9 +19,6 @@ interface TooltipProps {
|
|
|
19
19
|
children: React.ReactNode;
|
|
20
20
|
}
|
|
21
21
|
declare function Tooltip({ open: controlledOpen, defaultOpen, onOpenChange, placement, delayDuration, children, }: TooltipProps): React.FunctionComponentElement<React.ProviderProps<TooltipContextValue | null>>;
|
|
22
|
-
declare namespace Tooltip {
|
|
23
|
-
var displayName: string;
|
|
24
|
-
}
|
|
25
22
|
interface TooltipTriggerProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
26
23
|
}
|
|
27
24
|
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipTriggerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -19,9 +19,6 @@ interface TooltipProps {
|
|
|
19
19
|
children: React.ReactNode;
|
|
20
20
|
}
|
|
21
21
|
declare function Tooltip({ open: controlledOpen, defaultOpen, onOpenChange, placement, delayDuration, children, }: TooltipProps): React.FunctionComponentElement<React.ProviderProps<TooltipContextValue | null>>;
|
|
22
|
-
declare namespace Tooltip {
|
|
23
|
-
var displayName: string;
|
|
24
|
-
}
|
|
25
22
|
interface TooltipTriggerProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
26
23
|
}
|
|
27
24
|
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipTriggerProps & React.RefAttributes<HTMLSpanElement>>;
|