@commentkit/comment-kit 0.6.5 → 0.6.7
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/CHANGELOG.md +12 -0
- package/dist/angular/comment-kit-ui-ClsgTVKj.js +24898 -0
- package/dist/angular/mount-ui-EPLnH0YJ.js +72 -0
- package/dist/{preact/shadow-root-DAhpHo_W.js → angular/shadow-root-yMOaW9pk.js} +48 -41
- package/dist/angular/styles-CMz7-p8x.js +2 -0
- package/dist/angular/{ShadowRootContext-2BrAO1qU.js → widget-theme-CYPYAwhR.js} +18 -1
- package/dist/angular.es.js +3 -3
- package/dist/comment-kit.css +2 -0
- package/dist/comment-kit.es.js +3 -3
- package/dist/core/comment-kit-ui-BTYGcSK-.js +24898 -0
- package/dist/core/mount-ui-B6jipL2Z.js +72 -0
- package/dist/core/{shadow-root-09zwHxly.js → shadow-root-DAtdjHG2.js} +48 -41
- package/dist/core/styles-ClRoB6ro.js +2 -0
- package/dist/core/{ShadowRootContext--ArKkwbH.js → widget-theme-BWDYr7VR.js} +18 -1
- package/dist/preact/comment-kit-ui-nhY36fa4.js +24898 -0
- package/dist/preact/mount-ui-Dri-RQe3.js +72 -0
- package/dist/{qwik/shadow-root-tLjXys-_.js → preact/shadow-root-D-NcwruG.js} +48 -41
- package/dist/preact/styles-D6i7be5-.js +2 -0
- package/dist/preact/{ShadowRootContext-CJWLIRy4.js → widget-theme-B7Z2pbaA.js} +18 -1
- package/dist/preact.es.js +3 -3
- package/dist/qwik/comment-kit-ui-B2oSKreb.js +24898 -0
- package/dist/qwik/mount-ui-DkvDtcft.js +72 -0
- package/dist/{angular/shadow-root-C7wgghDv.js → qwik/shadow-root-PkjcnvPe.js} +48 -41
- package/dist/qwik/styles-DmEmq5Lh.js +2 -0
- package/dist/qwik/{ShadowRootContext-CTbULRKq.js → widget-theme-lbPF3I0A.js} +18 -1
- package/dist/qwik.es.js +3 -3
- package/dist/react.es.js +18649 -11656
- package/dist/solid/comment-kit-ui-B7GeN0T8.js +24898 -0
- package/dist/solid/mount-ui-CTFITRP7.js +72 -0
- package/dist/solid/shadow-root-CssU3bQb.js +93 -0
- package/dist/solid/styles-DbueS9xx.js +2 -0
- package/dist/solid/widget-theme-B4DJ14fI.js +24 -0
- package/dist/solid.es.js +3 -3
- package/dist/svelte/comment-kit-ui-CKmdu0gr.js +24898 -0
- package/dist/svelte/mount-ui-N1vul-tl.js +72 -0
- package/dist/svelte/shadow-root-DG8inbf6.js +93 -0
- package/dist/svelte/styles-BK_MaUpD.js +2 -0
- package/dist/svelte/widget-theme-CkfJNysI.js +24 -0
- package/dist/svelte.es.js +3 -3
- package/dist/types/react/comments/outcomes.d.ts +7 -1
- package/dist/types/react/comments/view-model.d.ts +8 -1
- package/dist/types/react/components/annotation-toolbar.d.ts +36 -0
- package/dist/types/react/components/build-panel-shared-props.d.ts +25 -0
- package/dist/types/react/components/comment-actions.d.ts +1 -2
- package/dist/types/react/components/comment-body.d.ts +1 -1
- package/dist/types/react/components/comment-branch-filter.d.ts +15 -0
- package/dist/types/react/components/comment-composer-extras-fields.d.ts +4 -7
- package/dist/types/react/components/comment-composer-extras-toolbar.d.ts +3 -22
- package/dist/types/react/components/comment-composer-extras.d.ts +1 -1
- package/dist/types/react/components/comment-composer-extras.state.d.ts +24 -0
- package/dist/types/react/components/comment-composer-hook.d.ts +1 -53
- package/dist/types/react/components/comment-composer-media.d.ts +1 -14
- package/dist/types/react/components/comment-composer.d.ts +1 -1
- package/dist/types/react/components/comment-composer.types.d.ts +41 -0
- package/dist/types/react/components/comment-composer.utils.d.ts +3 -0
- package/dist/types/react/components/comment-cursor-layer.d.ts +14 -0
- package/dist/types/react/components/comment-drawing-canvas.d.ts +10 -0
- package/dist/types/react/components/comment-extension-banner.d.ts +8 -0
- package/dist/types/react/components/comment-fab-tools.d.ts +37 -0
- package/dist/types/react/components/comment-filter-assignee.d.ts +9 -0
- package/dist/types/react/components/comment-filter-bar.d.ts +27 -0
- package/dist/types/react/components/comment-filter-popover.d.ts +20 -0
- package/dist/types/react/components/comment-format-toolbar.constants.d.ts +34 -0
- package/dist/types/react/components/comment-header.d.ts +1 -8
- package/dist/types/react/components/comment-highlight-layer.d.ts +11 -0
- package/dist/types/react/components/comment-highlight-marker.d.ts +9 -0
- package/dist/types/react/components/comment-image-lightbox.d.ts +1 -9
- package/dist/types/react/components/comment-images.d.ts +2 -10
- package/dist/types/react/components/comment-item.d.ts +2 -1
- package/dist/types/react/components/comment-keyboard-shortcuts.d.ts +7 -0
- package/dist/types/react/components/comment-kit-overlays.d.ts +15 -0
- package/dist/types/react/components/comment-kit.d.ts +12 -0
- package/dist/types/react/components/comment-list-filters.d.ts +14 -0
- package/dist/types/react/components/comment-marker-layer.d.ts +2 -1
- package/dist/types/react/components/comment-marker.d.ts +2 -1
- package/dist/types/react/components/comment-member-list.d.ts +10 -0
- package/dist/types/react/components/comment-mode-bar.d.ts +15 -0
- package/dist/types/react/components/comment-online-users.d.ts +8 -0
- package/dist/types/react/components/comment-panel-header.d.ts +22 -0
- package/dist/types/react/components/comment-panel-mobile.d.ts +9 -0
- package/dist/types/react/components/comment-panel-utils.d.ts +6 -0
- package/dist/types/react/components/comment-panel-view-body.d.ts +23 -0
- package/dist/types/react/components/comment-panel.d.ts +22 -2
- package/dist/types/react/components/comment-remote-cursor.d.ts +11 -0
- package/dist/types/react/components/comment-screenshot-annotator.d.ts +11 -0
- package/dist/types/react/components/comment-screenshot-overlay.d.ts +10 -0
- package/dist/types/react/components/comment-search-bar.d.ts +7 -0
- package/dist/types/react/components/comment-settings-view.d.ts +20 -0
- package/dist/types/react/components/comment-skeletons.d.ts +9 -0
- package/dist/types/react/components/comment-thread-detail-meta.d.ts +2 -1
- package/dist/types/react/components/comment-thread-detail.d.ts +4 -1
- package/dist/types/react/components/comment-thread-list-item.d.ts +2 -1
- package/dist/types/react/components/comment-thread-list.d.ts +9 -1
- package/dist/types/react/components/comment-users-context.d.ts +15 -0
- package/dist/types/react/components/comment-utils.d.ts +20 -0
- package/dist/types/react/components/comment.d.ts +26 -0
- package/dist/types/react/components/constants.d.ts +50 -0
- package/dist/types/react/components/drawing-path-renderer.d.ts +10 -0
- package/dist/types/react/components/ui.d.ts +44 -0
- package/dist/types/react/components/use-comment-composer.d.ts +28 -0
- package/dist/types/react/hooks/use-comment-fab-drag.d.ts +21 -0
- package/dist/types/react/hooks/use-comment-hash-link.d.ts +20 -0
- package/dist/types/react/hooks/use-comment-kit-filters.d.ts +19 -0
- package/dist/types/react/hooks/use-comment-kit-keyboard.d.ts +11 -0
- package/dist/types/react/hooks/use-comment-kit-prop-sync.d.ts +12 -0
- package/dist/types/react/hooks/use-comment-marker-drag.d.ts +23 -0
- package/dist/types/react/hooks/use-comment-panel-navigation.d.ts +21 -0
- package/dist/types/react/hooks/use-comment-realtime.d.ts +6 -0
- package/dist/types/react/hooks/use-comment-thread-actions.d.ts +15 -0
- package/dist/types/react/hooks/use-connection-retry.d.ts +9 -0
- package/dist/types/react/hooks/use-drawing.d.ts +32 -0
- package/dist/types/react/hooks/use-extension-conflicts.d.ts +13 -0
- package/dist/types/react/hooks/use-filtered-threads.d.ts +7 -0
- package/dist/types/react/hooks/use-marker-layer.d.ts +19 -0
- package/dist/types/react/hooks/use-screenshot.d.ts +18 -0
- package/dist/types/react/hooks/use-text-selection.d.ts +17 -0
- package/dist/types/react/hooks/use-websocket.d.ts +9 -0
- package/dist/types/react/ui/lib/widget-theme.d.ts +7 -0
- package/dist/types/react/ui/primitives/breadcrumb/breadcrumb.d.ts +10 -0
- package/dist/types/react/ui/primitives/breadcrumb/index.d.ts +1 -0
- package/dist/types/react/ui/primitives/button-group/button-group.d.ts +9 -0
- package/dist/types/react/ui/primitives/button-group/index.d.ts +1 -0
- package/dist/types/react/ui/primitives/input-otp/index.d.ts +1 -0
- package/dist/types/react/ui/primitives/input-otp/input-otp.d.ts +11 -0
- package/dist/vue/comment-kit-ui-MfED5JLH.js +24898 -0
- package/dist/vue/mount-ui-C85XBX4V.js +72 -0
- package/dist/vue/shadow-root-zwd_wUIP.js +93 -0
- package/dist/vue/styles-B0NAkbKu.js +2 -0
- package/dist/vue/widget-theme-D7Vkagk7.js +24 -0
- package/dist/vue.es.js +3 -3
- package/package.json +2 -1
- package/dist/angular/comment-kit-ui-D8YIOzCe.js +0 -17929
- package/dist/angular/mount-ui-hhCRg_hE.js +0 -55
- package/dist/angular/styles-CmEq782M.js +0 -2
- package/dist/core/comment-kit-ui-CYYImlEM.js +0 -17929
- package/dist/core/mount-ui-_GMxCfLy.js +0 -55
- package/dist/core/styles-Dzn_nEz7.js +0 -2
- package/dist/preact/comment-kit-ui-fCVNh5Gq.js +0 -17929
- package/dist/preact/mount-ui-HWdd5qAJ.js +0 -55
- package/dist/preact/styles-ECCK6Z_C.js +0 -2
- package/dist/qwik/comment-kit-ui-BVoctltC.js +0 -17929
- package/dist/qwik/mount-ui-KC4IJqjG.js +0 -55
- package/dist/qwik/styles-CMcDFAyE.js +0 -2
- package/dist/solid/ShadowRootContext-BS6MCclL.js +0 -7
- package/dist/solid/comment-kit-ui-CnlHcwzZ.js +0 -17929
- package/dist/solid/mount-ui-C1voqvrE.js +0 -55
- package/dist/solid/shadow-root-D5nErAFI.js +0 -86
- package/dist/solid/styles-Be_8-1ZV.js +0 -2
- package/dist/svelte/ShadowRootContext-DhByMr-q.js +0 -7
- package/dist/svelte/comment-kit-ui-BFWous-b.js +0 -17929
- package/dist/svelte/mount-ui-dOE2KN0m.js +0 -55
- package/dist/svelte/shadow-root-Cz-v-rYe.js +0 -86
- package/dist/svelte/styles-B863Tn5m.js +0 -2
- package/dist/vue/ShadowRootContext-BQTcHNil.js +0 -7
- package/dist/vue/comment-kit-ui-oPTLTwxG.js +0 -17929
- package/dist/vue/mount-ui-CszzjVeF.js +0 -55
- package/dist/vue/shadow-root-SLTVf5yk.js +0 -86
- package/dist/vue/styles-C4t8gcea.js +0 -2
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
interface MarkerPoint {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
}
|
|
6
|
+
interface UseCommentMarkerDragOptions {
|
|
7
|
+
isActive?: boolean;
|
|
8
|
+
pos: MarkerPoint | undefined;
|
|
9
|
+
threadId: string;
|
|
10
|
+
onPositionChange?: (threadId: string, x: number, y: number) => void;
|
|
11
|
+
}
|
|
12
|
+
declare function useCommentMarkerDrag({ isActive, pos, threadId, onPositionChange, }: UseCommentMarkerDragOptions): {
|
|
13
|
+
dragging: boolean;
|
|
14
|
+
dragOffset: {
|
|
15
|
+
dx: number;
|
|
16
|
+
dy: number;
|
|
17
|
+
} | null;
|
|
18
|
+
handlePointerDown: (event: React.PointerEvent) => void;
|
|
19
|
+
handlePointerMove: (event: React.PointerEvent) => void;
|
|
20
|
+
handlePointerUp: (event: React.PointerEvent) => void;
|
|
21
|
+
handleClick: (event: React.MouseEvent) => void;
|
|
22
|
+
};
|
|
23
|
+
export { useCommentMarkerDrag };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ThreadView } from "../comments/view-model";
|
|
2
|
+
import type { CommentListFilters } from "../components/comment-list-filters";
|
|
3
|
+
interface UseCommentPanelNavigationOptions {
|
|
4
|
+
filteredThreads: readonly ThreadView[];
|
|
5
|
+
navIndex: number;
|
|
6
|
+
onSelectThread: (id: string) => void;
|
|
7
|
+
setPageFilter: (filter: CommentListFilters["pageFilter"]) => void;
|
|
8
|
+
setStatusFilter: (filter: CommentListFilters["statusFilter"]) => void;
|
|
9
|
+
setSortOrder: (order: CommentListFilters["sortOrder"]) => void;
|
|
10
|
+
setPriorityFilter: (filter: CommentListFilters["priorityFilter"]) => void;
|
|
11
|
+
setUserFilter: (filter: CommentListFilters["userFilter"]) => void;
|
|
12
|
+
setAssigneeFilter: (filter: CommentListFilters["assigneeFilter"]) => void;
|
|
13
|
+
setSearchQuery: (query: string) => void;
|
|
14
|
+
setSearchOpen: (open: boolean) => void;
|
|
15
|
+
}
|
|
16
|
+
declare function useCommentPanelNavigation({ filteredThreads, navIndex, onSelectThread, setPageFilter, setStatusFilter, setSortOrder, setPriorityFilter, setUserFilter, setAssigneeFilter, setSearchQuery, setSearchOpen, }: UseCommentPanelNavigationOptions): {
|
|
17
|
+
resetFilters: () => void;
|
|
18
|
+
selectPrevious: () => void;
|
|
19
|
+
selectNext: () => void;
|
|
20
|
+
};
|
|
21
|
+
export { useCommentPanelNavigation };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CommentKitCore } from "../../core/comment-kit-core";
|
|
2
|
+
/**
|
|
3
|
+
* Toasts when someone joins or leaves. The engine already owns the socket,
|
|
4
|
+
* presence list, and connection status.
|
|
5
|
+
*/
|
|
6
|
+
export declare function useCommentRealtime(core: CommentKitCore, currentUserId: string | null): void;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface LocatableThread {
|
|
2
|
+
id: string;
|
|
3
|
+
position: {
|
|
4
|
+
x: number;
|
|
5
|
+
y: number;
|
|
6
|
+
element?: string;
|
|
7
|
+
xpath?: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
declare function useCommentThreadActions(threads: readonly LocatableThread[]): {
|
|
11
|
+
copyUrl: (threadId: string) => Promise<void>;
|
|
12
|
+
locate: (threadId: string) => void;
|
|
13
|
+
};
|
|
14
|
+
export { useCommentThreadActions };
|
|
15
|
+
export type { LocatableThread };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Asks the engine to reconnect the live socket. The reference demo reloaded
|
|
3
|
+
* the page because it had no socket; this keeps the current comments open.
|
|
4
|
+
*/
|
|
5
|
+
declare function useConnectionRetry(retry: () => void): {
|
|
6
|
+
isRetrying: boolean;
|
|
7
|
+
handleRetry: () => void;
|
|
8
|
+
};
|
|
9
|
+
export { useConnectionRetry };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { DrawingTool } from "../components/annotation-toolbar";
|
|
2
|
+
export interface StrokePoint {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
}
|
|
6
|
+
/** In-progress stroke. Saved comments use the engine's DrawingPath shape. */
|
|
7
|
+
export interface StrokePath {
|
|
8
|
+
id: string;
|
|
9
|
+
tool: DrawingTool;
|
|
10
|
+
points: StrokePoint[];
|
|
11
|
+
color: string;
|
|
12
|
+
strokeWidth: number;
|
|
13
|
+
}
|
|
14
|
+
export declare function useDrawing(): {
|
|
15
|
+
setTool: (tool: DrawingTool) => void;
|
|
16
|
+
setColor: (color: string) => void;
|
|
17
|
+
setStrokeWidth: (strokeWidth: number) => void;
|
|
18
|
+
startPath: (x: number, y: number) => void;
|
|
19
|
+
addPoint: (x: number, y: number) => void;
|
|
20
|
+
endPath: () => void;
|
|
21
|
+
undo: () => void;
|
|
22
|
+
redo: () => void;
|
|
23
|
+
clear: () => void;
|
|
24
|
+
canUndo: boolean;
|
|
25
|
+
canRedo: boolean;
|
|
26
|
+
paths: StrokePath[];
|
|
27
|
+
undone: StrokePath[];
|
|
28
|
+
activePath: StrokePath | null;
|
|
29
|
+
tool: DrawingTool;
|
|
30
|
+
color: string;
|
|
31
|
+
strokeWidth: number;
|
|
32
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface DetectedExtension {
|
|
2
|
+
name: string;
|
|
3
|
+
description: string;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Detects browser extensions that conflict with CommentKit.
|
|
7
|
+
* Waits briefly so extensions can inject their DOM after mount.
|
|
8
|
+
*/
|
|
9
|
+
export declare function useExtensionConflicts(): {
|
|
10
|
+
conflicts: DetectedExtension[];
|
|
11
|
+
hasConflicts: boolean;
|
|
12
|
+
dismiss: () => void;
|
|
13
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ThreadView } from "../comments/view-model";
|
|
2
|
+
import { type CommentListFilters } from "../components/comment-list-filters";
|
|
3
|
+
/**
|
|
4
|
+
* Threads for the panel list. Branch is a separate control: comments do not
|
|
5
|
+
* carry a branch, so this does not hide threads by branch name.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useFilteredThreads(threads: readonly ThreadView[], filters: CommentListFilters): ThreadView[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
interface UseMarkerLayerOptions {
|
|
3
|
+
/** A new-pin composer is on screen. */
|
|
4
|
+
open: boolean;
|
|
5
|
+
composerRef: React.RefObject<HTMLDivElement | null>;
|
|
6
|
+
onDismissed: () => void;
|
|
7
|
+
/** True while a save is in flight. Escape and outside clicks wait. */
|
|
8
|
+
blockedRef: React.RefObject<boolean>;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Exit animation for the new-pin composer. Saved threads stay on the engine;
|
|
12
|
+
* this hook does not keep a local copy or fire confetti.
|
|
13
|
+
*/
|
|
14
|
+
export declare function useMarkerLayer({ open, composerRef, onDismissed, blockedRef, }: UseMarkerLayerOptions): {
|
|
15
|
+
dismissing: boolean;
|
|
16
|
+
dismiss: () => void;
|
|
17
|
+
cancelDismiss: () => void;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface ScreenshotRegion {
|
|
2
|
+
x: number;
|
|
3
|
+
y: number;
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Captures a page region with the same html2canvas dependency the engine uses.
|
|
9
|
+
* Widget hosts are ignored so the overlay itself never appears in the image.
|
|
10
|
+
*/
|
|
11
|
+
declare function useScreenshot(): {
|
|
12
|
+
imageUrl: string | null;
|
|
13
|
+
capturing: boolean;
|
|
14
|
+
capture: (region?: ScreenshotRegion) => Promise<void>;
|
|
15
|
+
reset: () => void;
|
|
16
|
+
};
|
|
17
|
+
export { useScreenshot };
|
|
18
|
+
export type { ScreenshotRegion };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface TextSelectionState {
|
|
2
|
+
text: string;
|
|
3
|
+
range: Range;
|
|
4
|
+
rect: DOMRect;
|
|
5
|
+
/** Serialized rect snapshot for positioning (rect may go stale on scroll). */
|
|
6
|
+
serializedRect: {
|
|
7
|
+
top: number;
|
|
8
|
+
left: number;
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
bottom: number;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export declare function useTextSelection(enabled: boolean): {
|
|
15
|
+
selection: TextSelectionState | null;
|
|
16
|
+
clear: () => void;
|
|
17
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ConnectionStatus } from "../../core/types";
|
|
2
|
+
/**
|
|
3
|
+
* Tracks whether realtime has connected at least once.
|
|
4
|
+
* The engine owns the socket, heartbeat, and reconnect. This does not
|
|
5
|
+
* open a second WebSocket.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useWebSocket(status: ConnectionStatus): {
|
|
8
|
+
hadConnection: boolean;
|
|
9
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type WidgetThemeName = "light" | "dark";
|
|
2
|
+
export declare function getWidgetThemeOverride(): WidgetThemeName | null;
|
|
3
|
+
export declare function setWidgetThemeOverride(theme: WidgetThemeName): void;
|
|
4
|
+
export declare function subscribeWidgetTheme(listener: () => void): () => void;
|
|
5
|
+
/** Test helper. Production theme follows the host until the user toggles it. */
|
|
6
|
+
export declare function resetWidgetThemeOverride(): void;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
3
|
+
declare function Breadcrumb({ className, ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function BreadcrumbItem({ className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function BreadcrumbLink({ className, render, ...props }: useRender.ComponentProps<"a">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
7
|
+
declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "./breadcrumb";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
3
|
+
import { Separator } from "../separator/separator";
|
|
4
|
+
declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<"div"> & {
|
|
5
|
+
orientation?: "horizontal" | "vertical";
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function ButtonGroupText({ className, render, ...props }: useRender.ComponentProps<"div">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
8
|
+
declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText } from "./button-group";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot } from "./input-otp";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { type OTPInputProps } from "input-otp";
|
|
3
|
+
declare const InputOTP: React.ForwardRefExoticComponent<(OTPInputProps & {
|
|
4
|
+
containerClassName?: string;
|
|
5
|
+
}) & React.RefAttributes<HTMLInputElement>>;
|
|
6
|
+
declare function InputOTPGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function InputOTPSlot({ index, className, ...props }: React.ComponentProps<"div"> & {
|
|
8
|
+
index: number;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function InputOTPSeparator({ ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator };
|