@cloudvoyant/helical-ui 0.22.0 → 0.23.0
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.cjs +1031 -199
- package/dist/index.d.cts +17 -7
- package/dist/index.d.ts +17 -7
- package/dist/index.js +1459 -199
- package/package.json +1 -1
- package/src/components.css +7 -0
package/dist/index.d.cts
CHANGED
|
@@ -4,6 +4,7 @@ import { ClassValue } from 'clsx';
|
|
|
4
4
|
import * as ManimWeb from 'manim-web';
|
|
5
5
|
import { DomChartDefinition } from '@tanstack/charts';
|
|
6
6
|
import { LogicalKey, LetterKey, Modifier, ValidationResult } from '@tanstack/hotkeys';
|
|
7
|
+
export * from '@tanstack/hotkeys';
|
|
7
8
|
import { TreeCollection } from '@zag-js/collection';
|
|
8
9
|
import * as _tiptap_core from '@tiptap/core';
|
|
9
10
|
import { Editor, Range, Extensions, Extension, Node } from '@tiptap/core';
|
|
@@ -13,7 +14,7 @@ import * as _tiptap_extension_heading from '@tiptap/extension-heading';
|
|
|
13
14
|
import * as _tiptap_extension_code_block_lowlight from '@tiptap/extension-code-block-lowlight';
|
|
14
15
|
import { createLowlight } from 'lowlight';
|
|
15
16
|
import * as _tiptap_extension_mention from '@tiptap/extension-mention';
|
|
16
|
-
import { Slice } from '@tiptap/pm/model';
|
|
17
|
+
import { Slice, Node as Node$1 } from '@tiptap/pm/model';
|
|
17
18
|
import { PluginKey } from '@tiptap/pm/state';
|
|
18
19
|
|
|
19
20
|
declare const buttonVariants: (props?: ({
|
|
@@ -85,6 +86,7 @@ interface WhichKeyNode {
|
|
|
85
86
|
group?: string;
|
|
86
87
|
icon?: string;
|
|
87
88
|
mode?: KeymapMode | KeymapMode[];
|
|
89
|
+
when?: (ctx: KeymapCommandContext) => boolean;
|
|
88
90
|
sticky?: boolean;
|
|
89
91
|
loop?: boolean;
|
|
90
92
|
proxy?: string[];
|
|
@@ -131,9 +133,10 @@ interface WhichKeyTreeResult {
|
|
|
131
133
|
}
|
|
132
134
|
declare const DEFAULT_JUMP_ALPHABET = "asdfghjklqwertyuiopzxcvbnm";
|
|
133
135
|
declare function nodeMatchesMode(node: WhichKeyNode, mode?: KeymapMode): boolean;
|
|
136
|
+
declare function nodeExplicitlyIncludesMode(node: WhichKeyNode, mode: KeymapMode): boolean;
|
|
134
137
|
declare function normalizeNodeModes(node: WhichKeyNode): KeymapMode[];
|
|
135
138
|
declare function getNodeChildren(node: WhichKeyNode, rootTrie: Record<string, WhichKeyNode>, visitedProxies?: Set<string>): Record<string, WhichKeyNode>;
|
|
136
|
-
declare function resolveNode(rootTrie: Record<string, WhichKeyNode>, path: string[], mode?: KeymapMode): WhichKeyNode | null;
|
|
139
|
+
declare function resolveNode(rootTrie: Record<string, WhichKeyNode>, path: string[], mode?: KeymapMode, proxyRootTrie?: Record<string, WhichKeyNode>): WhichKeyNode | null;
|
|
137
140
|
declare function isGroupNode(node: WhichKeyNode, rootTrie: Record<string, WhichKeyNode>): boolean;
|
|
138
141
|
declare function formatWhichKeyLabel(label: string): string;
|
|
139
142
|
declare function buildWhichKeyTree(rootTrie: Record<string, WhichKeyNode>, activePath: string[], mode?: KeymapMode): WhichKeyTreeResult;
|
|
@@ -238,6 +241,15 @@ interface WhichKeyState {
|
|
|
238
241
|
jumpTargets: JumpTarget[];
|
|
239
242
|
statusMessage: string;
|
|
240
243
|
}
|
|
244
|
+
type KeymapPriority = 'overlay' | 'widget' | 'extension' | 'editor' | 'pane' | 'global';
|
|
245
|
+
type KeymapNodesInput = Record<string, WhichKeyNode> | (() => Record<string, WhichKeyNode>);
|
|
246
|
+
interface RegisterKeymapOptions {
|
|
247
|
+
scope?: string;
|
|
248
|
+
enabled?: boolean | (() => boolean);
|
|
249
|
+
priority?: KeymapPriority;
|
|
250
|
+
element?: HTMLElement | null | (() => HTMLElement | null);
|
|
251
|
+
matchesTarget?: (target: EventTarget | null, event: KeyboardEvent) => boolean;
|
|
252
|
+
}
|
|
241
253
|
interface WhichKeyControllerOptions {
|
|
242
254
|
preset?: KeybindingPreset;
|
|
243
255
|
defaultMode?: KeymapMode;
|
|
@@ -289,10 +301,7 @@ interface WhichKeyController {
|
|
|
289
301
|
closeExplorer(): void;
|
|
290
302
|
setExplorerQuery(query: string): void;
|
|
291
303
|
executeExplorerEntry(entry: KeymapExplorerEntry | string): boolean;
|
|
292
|
-
registerKeymap(id: string, nodes:
|
|
293
|
-
scope?: string;
|
|
294
|
-
enabled?: boolean;
|
|
295
|
-
}): () => void;
|
|
304
|
+
registerKeymap(id: string, nodes: KeymapNodesInput, options?: RegisterKeymapOptions): () => void;
|
|
296
305
|
registerCommand(commandId: string, handler: KeymapHandler): () => void;
|
|
297
306
|
executeCommand(commandId: string, partialCtx?: Partial<KeymapCommandContext>): boolean;
|
|
298
307
|
registerPane(pane: {
|
|
@@ -1645,6 +1654,7 @@ interface ModalKeymapStorage {
|
|
|
1645
1654
|
declare const modalKeymapPluginKey: PluginKey<ModalKeymapPluginState>;
|
|
1646
1655
|
declare function isEditorInInsertMode(editor: Editor): boolean;
|
|
1647
1656
|
declare function getEditorModalTarget(editor: Editor): ModalEditorTarget | undefined;
|
|
1657
|
+
declare function serializeModalSliceText(doc: Node$1, from: number, to: number): string;
|
|
1648
1658
|
declare const ModalKeymap: Extension<ModalKeymapOptions, ModalKeymapStorage>;
|
|
1649
1659
|
|
|
1650
|
-
export { type BadgeProps, type BadgeVariants, type BuildExtensionsOptions, type ButtonProps, type ButtonVariants, type CardCoverProps, type CardProps, type CardVariants, type ChartProps, type ChartSeries, type CheckboxProps, type CheckboxVariants, type CodeBlockProps, type ColonCommandColumns, type ColonCommandProps, type ColonCommandResolution, type ColonCommandVariants, type ComboboxItemVariants, type ComboboxProps, type CommandBreadcrumb, type CommandContextProps, type CommandContextValue, type CommandFlatItem, type CommandHighlightSegment, type CommandLevelResolution, type CommandMenuColumns, type CommandMenuProps, type CommandMenuResolution, type CommandMenuVariants, type CommandNode, type CommandPaletteProps, type CommandPaletteVariants, type CommandSelectContext, type CommandStyle, DEFAULT_JUMP_ALPHABET, type EditorCounts, EditorHeading, type EditorNodeViews, type EditorSeams, ExitHeading, type FigureProps, type FileEntry, HeadingWithId, type ImageUploadResult, type InputProps, type InputVariants, type ItemProps, type ItemVariants, type JumpAction, type JumpTarget, Jumplist, type JumplistEntry, type KbdChord, type KbdHotkey, type KbdProps, type KbdStepResult, type KbdVariants, type KeybindingPreset, type KeymapCommandContext, type KeymapExplorerEntry, type KeymapHandler, type KeymapMode, type LaTeXProps, type LanguageTab, type LinkPreviewAttributes, type LinkPreviewFetcher, type ListboxItemData, type ManimModule, type ManimProps, type ManimRecordingScene, type MentionItem, type MentionListElement, type MermaidProps, type ModalEditorTarget, ModalKeymap, type ModalKeymapOptions, type ModalKeymapPluginState, type ModalMotion, type ModalOperator, type ModalSelectionTransform, type ModalTextObjectSpec, type MultipleChoiceQuestionData, type NativeSelectVariants, type NavbarDensity, type NavbarMenuDensity, type NavbarMenuVariant, type NavbarVariant, type NodeViewFactory, type NoticeAttributes, type NoticeProps, type NoticeVariant, type NoticeVariants, type NumberInputProps, type NumericQuestionData, type OverlayPlacementOptions, type OverlayPosition, type PageGutterContentVariants, type PageGutterVariants, type PagePaneRegistrationProps, type PageVariants, type PaneDirection, type PaneProps, type PaneRect, type PaneRegistration, type PaneRegistrationProps, type PrevNextProps, type ProseProps, type ProseVariants, type Question, type RevealProps, SIDEBAR_KEYBOARD_SHORTCUT, SIDEBAR_WIDGET_DEFAULT_SNAP_POINT, SIDEBAR_WIDGET_SNAP_POINTS, SIDEBAR_WIDTH, SIDEBAR_WIDTH_ICON, SIDEBAR_WIDTH_MOBILE, type SecondaryCursorRange, type SelectItemData, type SelectProps, type SidebarContextProps, type SidebarMenuButtonVariants, type SidebarPaneRegistrationProps, type SingleChoiceQuestionData, type SlashCommandItem, type SplitterPanelPaneRegistrationProps, type SwitchProps, type SwitchVariants, THEMES, THEME_NAMES, type TabsIndicatorVariants, type TabsListVariants, type TagsInputProps, type TextareaProps, type ThemeMeta, TitleHeading, type ToastActionOptions, type ToastPlacement, type ToastType, type ToastVariants, type ToggleButtonProps, type ToggleButtonVariants, type ToggleGroupProps, type ToggleGroupRootVariants, type UrlMentionAttributes, type WhichKeyController, type WhichKeyControllerOptions, type WhichKeyExplorerProps, type WhichKeyModeBadgeVariants, type WhichKeyModeProps, type WhichKeyNode, type WhichKeyProps, type WhichKeyState, type WhichKeyTreeResult, type WhichKeyVariant, type WhichKeyVariants, type WindowPaneRegistrationProps, type YouTubeChapter, type YouTubeProps, announceCommandMessage, badgeVariants, buildChartDefinition, buildExtensions, buildWhichKeyTree, buttonVariants, cardBodyBase, cardCoverVariants, cardDescriptionBase, cardFooterBase, cardHeaderBase, cardTitleBase, cardVariants, centerBase, chartPlaceholderBase, chartPlaceholderLabelBase, chartRootBase, checkboxGroupBase, checkboxIndicatorBase, checkboxLabelBase, checkboxVariants, clipboardTriggerBase, cn, codeBlockBodyBase, codeBlockBodyScrollableBase, codeBlockContentBase, codeBlockCopyFloatBase, codeBlockHeaderBase, codeBlockHeaderInfoBase, codeBlockHighlightBase, codeBlockLineNumbersBase, codeBlockLoadingBase, codeBlockRootBase, codeBlockSpinnerBase, codeBlockTitleBase, colBase, colonCommandDialogContentBase, colonCommandErrorBase, colonCommandInputVariants, colonCommandItemVariants, colonCommandListVariants, colonCommandPositionerBase, colonCommandPrefixBase, colonCommandPromptBarVariants, colonCommandVariants, comboboxClearTriggerBase, comboboxContentBase, comboboxControlBase, comboboxEmptyBase, comboboxInputBase, comboboxItemGroupLabelBase, comboboxItemIndicatorBase, comboboxItemVariants, comboboxListBase, comboboxPositionerBase, comboboxTriggerBase, commandMenuDialogContentBase, commandMenuErrorBase, commandMenuInputVariants, commandMenuItemVariants, commandMenuListVariants, commandMenuPositionerBase, commandMenuPrefixBase, commandMenuPromptBarVariants, commandMenuVariants, commandPaletteBreadcrumbBase, commandPaletteDialogContentBase, commandPaletteFooterBase, commandPaletteHeaderBase, commandPaletteInputBase, commandPaletteItemBase, commandPaletteListBase, commandPalettePositionerBase, commandPaletteVariants, containerBase, createCodeBlockCustom, createCommandTree, createHelixPreset, createImageNode, createInternalMention, createJumplist, createKakounePreset, createLinkPreview, createNoticeNode, createUrlMention, createVimPreset, createWhichKeyController, defaultChartColor, defaultListboxFilter, dialogBackdropBase, dialogCloseTriggerBase, dialogContentBase, dialogDescriptionBase, dialogFooterBase, dialogFooterStickyBase, dialogFullscreenContentBase, dialogHeaderBase, dialogHeaderStickyBase, dialogPositionerBase, dialogTitleBase, eventToChordKeys, extractYouTubeId, feedbackCorrectBase, feedbackExplanationBase, feedbackIncorrectBase, fetchYouTubeMetadata, fieldErrorBase, fieldHelperBase, fieldLabelBase, fieldRequiredIndicatorBase, fieldRootBase, fieldsetErrorBase, fieldsetHelperBase, fieldsetLegendBase, fieldsetRootBase, figureCaptionBase, figureImageBase, figureRootBase, findDirectionalPane, findEditorScrollContainer, flattenKeymapEntries, formatColonCompletionInput, formatCommandMenuCompletionInput, formatKeyChord, formatKeySequence, formatTime, formatWhichKeyLabel, generateJumpLabels, getDocumentWhichKeyController, getEditorModalTarget, getModalEditor, getNodeChildren, getPresetKeymap, hstackBase, inferPlatform, injectCodeBlockStyles, inputVariants, insertPastedUrlAsLink, isChordCommandString, isEditorInInsertMode, isGroupNode, itemVariants, jumpBadgeMatchedPrefixBase, jumpBadgeVariants, jumpOverlayRootBase, kbdGroupBase, kbdVariants, latexDisplayBase, latexErrorBase, latexInlineBase, latexRootBase, listboxContentBase, listboxEmptyBase, listboxInputBase, listboxItemBase, listboxItemGroupBase, listboxItemGroupLabelBase, listboxItemIndicatorBase, listboxItemTextBase, listboxLabelBase, listboxRootBase, lockEditorOverlayScroll, manimCaptionBase, manimContainerBase, manimErrorBase, manimPlaceholderBase, manimPlaceholderLabelBase, manimRootBase, matchesCommandHotkey, mermaidLoadingBase, mermaidRootBase, mermaidSourceBase, mermaidSvgAspectRatio, mermaidSvgBase, modalKeymapPluginKey, nativeSelectIconBase, nativeSelectVariants, nativeSelectWrapperBase, navbarActionsBase, navbarActivationAreaBase, navbarBrandBase, navbarContainerBase, navbarDensityVariants, navbarMenuBase, navbarMenuContentBase, navbarMenuIndicatorBase, navbarMenuItemBase, navbarMenuLinkBase, navbarMenuListBase, navbarMenuPlacementVariants, navbarMenuRootBase, navbarMenuTriggerStyle, navbarMenuViewportBase, navbarMenuViewportPositionerBase, navbarMobileActionsBase, navbarMobileBase, navbarMobileContentBase, navbarMobileHeaderBase, navbarMobileMenuBase, navbarMobileMenuContentBase, navbarMobileMenuTriggerBase, navbarShrunkBase, navbarTriggerVariants, navbarVariants, nodeMatchesMode, normalizeNodeModes, noticeDescriptionBase, noticeTitleBase, noticeVariants, notifyAllModalEditors, numberInputControlBase, numberInputInputBase, numberInputRootBase, numberInputTriggerBase, pageContentBase, pageFooterBase, pageGutterAreaBase, pageGutterContentVariants, pageGutterVariants, pageSectionBase, pageVariants, paginationEllipsisBase, paginationItemBase, paginationRootBase, paginationTriggerBase, paneVariants, parseYouTubeChapters, placeEditorOverlay, placeEditorOverlayAt, popoverArrowBase, popoverCloseTriggerBase, popoverContentBase, popoverDescriptionBase, popoverIndicatorBase, popoverPositionerBase, popoverTitleBase, prevNextDirectionBase, prevNextLinkBase, prevNextLinkNextBase, prevNextRootBase, prevNextSpacerBase, prevNextTitleBase, proseVariants, questionCardBase, questionCheckButtonBase, questionGroupBase, questionInputBase, questionOptionBase, questionOptionCorrectBase, questionOptionIncorrectBase, questionPromptBase, questionUnitBase, quizHeaderBase, quizResetButtonBase, quizResultBase, quizResultTextBase, quizResultTitleBase, quizRootBase, quizScoreBase, quizSubmitButtonBase, quizTitleBase, radioGroupItemControlBase, radioGroupItemTextBase, radioGroupRootBase, registerImageInsertCallback, registerModalEditor, registerYouTubeInsertCallback, renderChartSvgString, renderCodeToHtml, renderMermaidSource, resolveColonCommandGridNavigation, resolveColonCommandGridStyle, resolveColonCommandState, resolveCommandLevel, resolveCommandMenuGridNavigation, resolveCommandMenuGridStyle, resolveCommandMenuState, resolveKbdSteps, resolveMermaidThemeVariables, resolveNode, revealChevronBase, revealContentBase, revealRootBase, revealTriggerBase, rowBase, scrollContentBase, scrollCornerBase, scrollRootBase, scrollScrollbarBase, scrollThumbBase, scrollViewportBase, selectClearTriggerBase, selectContentBase, selectIndicatorBase, selectItemBase, selectItemGroupLabelBase, selectItemIndicatorBase, selectItemTextBase, selectPositionerBase, selectTriggerBase, selectValueBase, shouldHandleCommandHotkey, sidebarMenuButtonVariants, sidebarStyles, slashCommands, splitHighlightSegments, splitterPanelBase, splitterResizeTriggerBase, splitterResizeTriggerIndicatorBase, splitterResizeTriggerSeparatorBase, splitterRootBase, stackBase, subscribeDocumentWhichKeyController, switchControlBase, switchLabelBase, switchThumbBase, switchVariants, tabsContentBase, tabsIndicatorBase, tabsIndicatorVariants, tabsListBase, tabsListVariants, tabsRootBase, tabsTriggerBase, tagsInputClearTriggerBase, tagsInputControlBase, tagsInputInputBase, tagsInputItemBase, tagsInputItemDeleteTriggerBase, tagsInputItemInputBase, tagsInputItemTextBase, tagsInputRootBase, textareaBase, toLaTeX, toastActionTriggerBase, toastCloseTriggerBase, toastDescriptionBase, toastIconBase, toastTitleBase, toastVariants, toasterBase, toggleButtonVariants, toggleGroupRootVariants, tooltipArrowBase, tooltipContentBase, tooltipPositionerBase, unregisterImageInsertCallback, unregisterYouTubeInsertCallback, validateKbdChord, validateKbdHotkey, vstackBase, whichKeyBodyVariants, whichKeyBreadcrumbBase, whichKeyExplorerContentBase, whichKeyExplorerHeaderBase, whichKeyExplorerHighlightMarkBase, whichKeyExplorerInputBase, whichKeyExplorerItemBase, whichKeyExplorerListContentBase, whichKeyExplorerListboxBase, whichKeyFooterBase, whichKeyHeaderBase, whichKeyItemBase, whichKeyItemLabelBase, whichKeyModeBadgeVariants, whichKeyTitleBase, whichKeyVariants, windowBodyBase, windowCloseTriggerBase, windowContentBase, windowControlBase, windowDragTriggerBase, windowHeaderBase, windowPositionerBase, windowResizeTriggerBase, windowStageTriggerBase, windowTitleBase, youtubeChapterButtonBase, youtubeChapterLabelBase, youtubeChapterTimeBase, youtubeChaptersBase, youtubeChaptersChevronBase, youtubeChaptersListBase, youtubeChaptersSummaryBase, youtubeDescriptionBase, youtubeFacadeBase, youtubePlayButtonBase, youtubePlayButtonInnerBase, youtubeRootBase, youtubeTitleBase };
|
|
1660
|
+
export { type BadgeProps, type BadgeVariants, type BuildExtensionsOptions, type ButtonProps, type ButtonVariants, type CardCoverProps, type CardProps, type CardVariants, type ChartProps, type ChartSeries, type CheckboxProps, type CheckboxVariants, type CodeBlockProps, type ColonCommandColumns, type ColonCommandProps, type ColonCommandResolution, type ColonCommandVariants, type ComboboxItemVariants, type ComboboxProps, type CommandBreadcrumb, type CommandContextProps, type CommandContextValue, type CommandFlatItem, type CommandHighlightSegment, type CommandLevelResolution, type CommandMenuColumns, type CommandMenuProps, type CommandMenuResolution, type CommandMenuVariants, type CommandNode, type CommandPaletteProps, type CommandPaletteVariants, type CommandSelectContext, type CommandStyle, DEFAULT_JUMP_ALPHABET, type EditorCounts, EditorHeading, type EditorNodeViews, type EditorSeams, ExitHeading, type FigureProps, type FileEntry, HeadingWithId, type ImageUploadResult, type InputProps, type InputVariants, type ItemProps, type ItemVariants, type JumpAction, type JumpTarget, Jumplist, type JumplistEntry, type KbdChord, type KbdHotkey, type KbdProps, type KbdStepResult, type KbdVariants, type KeybindingPreset, type KeymapCommandContext, type KeymapExplorerEntry, type KeymapHandler, type KeymapMode, type KeymapNodesInput, type KeymapPriority, type LaTeXProps, type LanguageTab, type LinkPreviewAttributes, type LinkPreviewFetcher, type ListboxItemData, type ManimModule, type ManimProps, type ManimRecordingScene, type MentionItem, type MentionListElement, type MermaidProps, type ModalEditorTarget, ModalKeymap, type ModalKeymapOptions, type ModalKeymapPluginState, type ModalKeymapStorage, type ModalMotion, type ModalOperator, type ModalSelectionTransform, type ModalTextObjectSpec, type MultipleChoiceQuestionData, type NativeSelectVariants, type NavbarDensity, type NavbarMenuDensity, type NavbarMenuVariant, type NavbarVariant, type NodeViewFactory, type NoticeAttributes, type NoticeProps, type NoticeVariant, type NoticeVariants, type NumberInputProps, type NumericQuestionData, type OverlayPlacementOptions, type OverlayPosition, type PageGutterContentVariants, type PageGutterVariants, type PagePaneRegistrationProps, type PageVariants, type PaneDirection, type PaneProps, type PaneRect, type PaneRegistration, type PaneRegistrationProps, type PrevNextProps, type ProseProps, type ProseVariants, type Question, type RegisterKeymapOptions, type RevealProps, SIDEBAR_KEYBOARD_SHORTCUT, SIDEBAR_WIDGET_DEFAULT_SNAP_POINT, SIDEBAR_WIDGET_SNAP_POINTS, SIDEBAR_WIDTH, SIDEBAR_WIDTH_ICON, SIDEBAR_WIDTH_MOBILE, type SecondaryCursorRange, type SelectItemData, type SelectProps, type SidebarContextProps, type SidebarMenuButtonVariants, type SidebarPaneRegistrationProps, type SingleChoiceQuestionData, type SlashCommandItem, type SplitterPanelPaneRegistrationProps, type SwitchProps, type SwitchVariants, THEMES, THEME_NAMES, type TabsIndicatorVariants, type TabsListVariants, type TagsInputProps, type TextareaProps, type ThemeMeta, TitleHeading, type ToastActionOptions, type ToastPlacement, type ToastType, type ToastVariants, type ToggleButtonProps, type ToggleButtonVariants, type ToggleGroupProps, type ToggleGroupRootVariants, type UrlMentionAttributes, type WhichKeyController, type WhichKeyControllerOptions, type WhichKeyExplorerProps, type WhichKeyModeBadgeVariants, type WhichKeyModeProps, type WhichKeyNode, type WhichKeyProps, type WhichKeyState, type WhichKeyTreeResult, type WhichKeyVariant, type WhichKeyVariants, type WindowPaneRegistrationProps, type YouTubeChapter, type YouTubeProps, announceCommandMessage, badgeVariants, buildChartDefinition, buildExtensions, buildWhichKeyTree, buttonVariants, cardBodyBase, cardCoverVariants, cardDescriptionBase, cardFooterBase, cardHeaderBase, cardTitleBase, cardVariants, centerBase, chartPlaceholderBase, chartPlaceholderLabelBase, chartRootBase, checkboxGroupBase, checkboxIndicatorBase, checkboxLabelBase, checkboxVariants, clipboardTriggerBase, cn, codeBlockBodyBase, codeBlockBodyScrollableBase, codeBlockContentBase, codeBlockCopyFloatBase, codeBlockHeaderBase, codeBlockHeaderInfoBase, codeBlockHighlightBase, codeBlockLineNumbersBase, codeBlockLoadingBase, codeBlockRootBase, codeBlockSpinnerBase, codeBlockTitleBase, colBase, colonCommandDialogContentBase, colonCommandErrorBase, colonCommandInputVariants, colonCommandItemVariants, colonCommandListVariants, colonCommandPositionerBase, colonCommandPrefixBase, colonCommandPromptBarVariants, colonCommandVariants, comboboxClearTriggerBase, comboboxContentBase, comboboxControlBase, comboboxEmptyBase, comboboxInputBase, comboboxItemGroupLabelBase, comboboxItemIndicatorBase, comboboxItemVariants, comboboxListBase, comboboxPositionerBase, comboboxTriggerBase, commandMenuDialogContentBase, commandMenuErrorBase, commandMenuInputVariants, commandMenuItemVariants, commandMenuListVariants, commandMenuPositionerBase, commandMenuPrefixBase, commandMenuPromptBarVariants, commandMenuVariants, commandPaletteBreadcrumbBase, commandPaletteDialogContentBase, commandPaletteFooterBase, commandPaletteHeaderBase, commandPaletteInputBase, commandPaletteItemBase, commandPaletteListBase, commandPalettePositionerBase, commandPaletteVariants, containerBase, createCodeBlockCustom, createCommandTree, createHelixPreset, createImageNode, createInternalMention, createJumplist, createKakounePreset, createLinkPreview, createNoticeNode, createUrlMention, createVimPreset, createWhichKeyController, defaultChartColor, defaultListboxFilter, dialogBackdropBase, dialogCloseTriggerBase, dialogContentBase, dialogDescriptionBase, dialogFooterBase, dialogFooterStickyBase, dialogFullscreenContentBase, dialogHeaderBase, dialogHeaderStickyBase, dialogPositionerBase, dialogTitleBase, eventToChordKeys, extractYouTubeId, feedbackCorrectBase, feedbackExplanationBase, feedbackIncorrectBase, fetchYouTubeMetadata, fieldErrorBase, fieldHelperBase, fieldLabelBase, fieldRequiredIndicatorBase, fieldRootBase, fieldsetErrorBase, fieldsetHelperBase, fieldsetLegendBase, fieldsetRootBase, figureCaptionBase, figureImageBase, figureRootBase, findDirectionalPane, findEditorScrollContainer, flattenKeymapEntries, formatColonCompletionInput, formatCommandMenuCompletionInput, formatKeyChord, formatKeySequence, formatTime, formatWhichKeyLabel, generateJumpLabels, getDocumentWhichKeyController, getEditorModalTarget, getModalEditor, getNodeChildren, getPresetKeymap, hstackBase, inferPlatform, injectCodeBlockStyles, inputVariants, insertPastedUrlAsLink, isChordCommandString, isEditorInInsertMode, isGroupNode, itemVariants, jumpBadgeMatchedPrefixBase, jumpBadgeVariants, jumpOverlayRootBase, kbdGroupBase, kbdVariants, latexDisplayBase, latexErrorBase, latexInlineBase, latexRootBase, listboxContentBase, listboxEmptyBase, listboxInputBase, listboxItemBase, listboxItemGroupBase, listboxItemGroupLabelBase, listboxItemIndicatorBase, listboxItemTextBase, listboxLabelBase, listboxRootBase, lockEditorOverlayScroll, manimCaptionBase, manimContainerBase, manimErrorBase, manimPlaceholderBase, manimPlaceholderLabelBase, manimRootBase, matchesCommandHotkey, mermaidLoadingBase, mermaidRootBase, mermaidSourceBase, mermaidSvgAspectRatio, mermaidSvgBase, modalKeymapPluginKey, nativeSelectIconBase, nativeSelectVariants, nativeSelectWrapperBase, navbarActionsBase, navbarActivationAreaBase, navbarBrandBase, navbarContainerBase, navbarDensityVariants, navbarMenuBase, navbarMenuContentBase, navbarMenuIndicatorBase, navbarMenuItemBase, navbarMenuLinkBase, navbarMenuListBase, navbarMenuPlacementVariants, navbarMenuRootBase, navbarMenuTriggerStyle, navbarMenuViewportBase, navbarMenuViewportPositionerBase, navbarMobileActionsBase, navbarMobileBase, navbarMobileContentBase, navbarMobileHeaderBase, navbarMobileMenuBase, navbarMobileMenuContentBase, navbarMobileMenuTriggerBase, navbarShrunkBase, navbarTriggerVariants, navbarVariants, nodeExplicitlyIncludesMode, nodeMatchesMode, normalizeNodeModes, noticeDescriptionBase, noticeTitleBase, noticeVariants, notifyAllModalEditors, numberInputControlBase, numberInputInputBase, numberInputRootBase, numberInputTriggerBase, pageContentBase, pageFooterBase, pageGutterAreaBase, pageGutterContentVariants, pageGutterVariants, pageSectionBase, pageVariants, paginationEllipsisBase, paginationItemBase, paginationRootBase, paginationTriggerBase, paneVariants, parseYouTubeChapters, placeEditorOverlay, placeEditorOverlayAt, popoverArrowBase, popoverCloseTriggerBase, popoverContentBase, popoverDescriptionBase, popoverIndicatorBase, popoverPositionerBase, popoverTitleBase, prevNextDirectionBase, prevNextLinkBase, prevNextLinkNextBase, prevNextRootBase, prevNextSpacerBase, prevNextTitleBase, proseVariants, questionCardBase, questionCheckButtonBase, questionGroupBase, questionInputBase, questionOptionBase, questionOptionCorrectBase, questionOptionIncorrectBase, questionPromptBase, questionUnitBase, quizHeaderBase, quizResetButtonBase, quizResultBase, quizResultTextBase, quizResultTitleBase, quizRootBase, quizScoreBase, quizSubmitButtonBase, quizTitleBase, radioGroupItemControlBase, radioGroupItemTextBase, radioGroupRootBase, registerImageInsertCallback, registerModalEditor, registerYouTubeInsertCallback, renderChartSvgString, renderCodeToHtml, renderMermaidSource, resolveColonCommandGridNavigation, resolveColonCommandGridStyle, resolveColonCommandState, resolveCommandLevel, resolveCommandMenuGridNavigation, resolveCommandMenuGridStyle, resolveCommandMenuState, resolveKbdSteps, resolveMermaidThemeVariables, resolveNode, revealChevronBase, revealContentBase, revealRootBase, revealTriggerBase, rowBase, scrollContentBase, scrollCornerBase, scrollRootBase, scrollScrollbarBase, scrollThumbBase, scrollViewportBase, selectClearTriggerBase, selectContentBase, selectIndicatorBase, selectItemBase, selectItemGroupLabelBase, selectItemIndicatorBase, selectItemTextBase, selectPositionerBase, selectTriggerBase, selectValueBase, serializeModalSliceText, shouldHandleCommandHotkey, sidebarMenuButtonVariants, sidebarStyles, slashCommands, splitHighlightSegments, splitterPanelBase, splitterResizeTriggerBase, splitterResizeTriggerIndicatorBase, splitterResizeTriggerSeparatorBase, splitterRootBase, stackBase, subscribeDocumentWhichKeyController, switchControlBase, switchLabelBase, switchThumbBase, switchVariants, tabsContentBase, tabsIndicatorBase, tabsIndicatorVariants, tabsListBase, tabsListVariants, tabsRootBase, tabsTriggerBase, tagsInputClearTriggerBase, tagsInputControlBase, tagsInputInputBase, tagsInputItemBase, tagsInputItemDeleteTriggerBase, tagsInputItemInputBase, tagsInputItemTextBase, tagsInputRootBase, textareaBase, toLaTeX, toastActionTriggerBase, toastCloseTriggerBase, toastDescriptionBase, toastIconBase, toastTitleBase, toastVariants, toasterBase, toggleButtonVariants, toggleGroupRootVariants, tooltipArrowBase, tooltipContentBase, tooltipPositionerBase, unregisterImageInsertCallback, unregisterYouTubeInsertCallback, validateKbdChord, validateKbdHotkey, vstackBase, whichKeyBodyVariants, whichKeyBreadcrumbBase, whichKeyExplorerContentBase, whichKeyExplorerHeaderBase, whichKeyExplorerHighlightMarkBase, whichKeyExplorerInputBase, whichKeyExplorerItemBase, whichKeyExplorerListContentBase, whichKeyExplorerListboxBase, whichKeyFooterBase, whichKeyHeaderBase, whichKeyItemBase, whichKeyItemLabelBase, whichKeyModeBadgeVariants, whichKeyTitleBase, whichKeyVariants, windowBodyBase, windowCloseTriggerBase, windowContentBase, windowControlBase, windowDragTriggerBase, windowHeaderBase, windowPositionerBase, windowResizeTriggerBase, windowStageTriggerBase, windowTitleBase, youtubeChapterButtonBase, youtubeChapterLabelBase, youtubeChapterTimeBase, youtubeChaptersBase, youtubeChaptersChevronBase, youtubeChaptersListBase, youtubeChaptersSummaryBase, youtubeDescriptionBase, youtubeFacadeBase, youtubePlayButtonBase, youtubePlayButtonInnerBase, youtubeRootBase, youtubeTitleBase };
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { ClassValue } from 'clsx';
|
|
|
4
4
|
import * as ManimWeb from 'manim-web';
|
|
5
5
|
import { DomChartDefinition } from '@tanstack/charts';
|
|
6
6
|
import { LogicalKey, LetterKey, Modifier, ValidationResult } from '@tanstack/hotkeys';
|
|
7
|
+
export * from '@tanstack/hotkeys';
|
|
7
8
|
import { TreeCollection } from '@zag-js/collection';
|
|
8
9
|
import * as _tiptap_core from '@tiptap/core';
|
|
9
10
|
import { Editor, Range, Extensions, Extension, Node } from '@tiptap/core';
|
|
@@ -13,7 +14,7 @@ import * as _tiptap_extension_heading from '@tiptap/extension-heading';
|
|
|
13
14
|
import * as _tiptap_extension_code_block_lowlight from '@tiptap/extension-code-block-lowlight';
|
|
14
15
|
import { createLowlight } from 'lowlight';
|
|
15
16
|
import * as _tiptap_extension_mention from '@tiptap/extension-mention';
|
|
16
|
-
import { Slice } from '@tiptap/pm/model';
|
|
17
|
+
import { Slice, Node as Node$1 } from '@tiptap/pm/model';
|
|
17
18
|
import { PluginKey } from '@tiptap/pm/state';
|
|
18
19
|
|
|
19
20
|
declare const buttonVariants: (props?: ({
|
|
@@ -85,6 +86,7 @@ interface WhichKeyNode {
|
|
|
85
86
|
group?: string;
|
|
86
87
|
icon?: string;
|
|
87
88
|
mode?: KeymapMode | KeymapMode[];
|
|
89
|
+
when?: (ctx: KeymapCommandContext) => boolean;
|
|
88
90
|
sticky?: boolean;
|
|
89
91
|
loop?: boolean;
|
|
90
92
|
proxy?: string[];
|
|
@@ -131,9 +133,10 @@ interface WhichKeyTreeResult {
|
|
|
131
133
|
}
|
|
132
134
|
declare const DEFAULT_JUMP_ALPHABET = "asdfghjklqwertyuiopzxcvbnm";
|
|
133
135
|
declare function nodeMatchesMode(node: WhichKeyNode, mode?: KeymapMode): boolean;
|
|
136
|
+
declare function nodeExplicitlyIncludesMode(node: WhichKeyNode, mode: KeymapMode): boolean;
|
|
134
137
|
declare function normalizeNodeModes(node: WhichKeyNode): KeymapMode[];
|
|
135
138
|
declare function getNodeChildren(node: WhichKeyNode, rootTrie: Record<string, WhichKeyNode>, visitedProxies?: Set<string>): Record<string, WhichKeyNode>;
|
|
136
|
-
declare function resolveNode(rootTrie: Record<string, WhichKeyNode>, path: string[], mode?: KeymapMode): WhichKeyNode | null;
|
|
139
|
+
declare function resolveNode(rootTrie: Record<string, WhichKeyNode>, path: string[], mode?: KeymapMode, proxyRootTrie?: Record<string, WhichKeyNode>): WhichKeyNode | null;
|
|
137
140
|
declare function isGroupNode(node: WhichKeyNode, rootTrie: Record<string, WhichKeyNode>): boolean;
|
|
138
141
|
declare function formatWhichKeyLabel(label: string): string;
|
|
139
142
|
declare function buildWhichKeyTree(rootTrie: Record<string, WhichKeyNode>, activePath: string[], mode?: KeymapMode): WhichKeyTreeResult;
|
|
@@ -238,6 +241,15 @@ interface WhichKeyState {
|
|
|
238
241
|
jumpTargets: JumpTarget[];
|
|
239
242
|
statusMessage: string;
|
|
240
243
|
}
|
|
244
|
+
type KeymapPriority = 'overlay' | 'widget' | 'extension' | 'editor' | 'pane' | 'global';
|
|
245
|
+
type KeymapNodesInput = Record<string, WhichKeyNode> | (() => Record<string, WhichKeyNode>);
|
|
246
|
+
interface RegisterKeymapOptions {
|
|
247
|
+
scope?: string;
|
|
248
|
+
enabled?: boolean | (() => boolean);
|
|
249
|
+
priority?: KeymapPriority;
|
|
250
|
+
element?: HTMLElement | null | (() => HTMLElement | null);
|
|
251
|
+
matchesTarget?: (target: EventTarget | null, event: KeyboardEvent) => boolean;
|
|
252
|
+
}
|
|
241
253
|
interface WhichKeyControllerOptions {
|
|
242
254
|
preset?: KeybindingPreset;
|
|
243
255
|
defaultMode?: KeymapMode;
|
|
@@ -289,10 +301,7 @@ interface WhichKeyController {
|
|
|
289
301
|
closeExplorer(): void;
|
|
290
302
|
setExplorerQuery(query: string): void;
|
|
291
303
|
executeExplorerEntry(entry: KeymapExplorerEntry | string): boolean;
|
|
292
|
-
registerKeymap(id: string, nodes:
|
|
293
|
-
scope?: string;
|
|
294
|
-
enabled?: boolean;
|
|
295
|
-
}): () => void;
|
|
304
|
+
registerKeymap(id: string, nodes: KeymapNodesInput, options?: RegisterKeymapOptions): () => void;
|
|
296
305
|
registerCommand(commandId: string, handler: KeymapHandler): () => void;
|
|
297
306
|
executeCommand(commandId: string, partialCtx?: Partial<KeymapCommandContext>): boolean;
|
|
298
307
|
registerPane(pane: {
|
|
@@ -1645,6 +1654,7 @@ interface ModalKeymapStorage {
|
|
|
1645
1654
|
declare const modalKeymapPluginKey: PluginKey<ModalKeymapPluginState>;
|
|
1646
1655
|
declare function isEditorInInsertMode(editor: Editor): boolean;
|
|
1647
1656
|
declare function getEditorModalTarget(editor: Editor): ModalEditorTarget | undefined;
|
|
1657
|
+
declare function serializeModalSliceText(doc: Node$1, from: number, to: number): string;
|
|
1648
1658
|
declare const ModalKeymap: Extension<ModalKeymapOptions, ModalKeymapStorage>;
|
|
1649
1659
|
|
|
1650
|
-
export { type BadgeProps, type BadgeVariants, type BuildExtensionsOptions, type ButtonProps, type ButtonVariants, type CardCoverProps, type CardProps, type CardVariants, type ChartProps, type ChartSeries, type CheckboxProps, type CheckboxVariants, type CodeBlockProps, type ColonCommandColumns, type ColonCommandProps, type ColonCommandResolution, type ColonCommandVariants, type ComboboxItemVariants, type ComboboxProps, type CommandBreadcrumb, type CommandContextProps, type CommandContextValue, type CommandFlatItem, type CommandHighlightSegment, type CommandLevelResolution, type CommandMenuColumns, type CommandMenuProps, type CommandMenuResolution, type CommandMenuVariants, type CommandNode, type CommandPaletteProps, type CommandPaletteVariants, type CommandSelectContext, type CommandStyle, DEFAULT_JUMP_ALPHABET, type EditorCounts, EditorHeading, type EditorNodeViews, type EditorSeams, ExitHeading, type FigureProps, type FileEntry, HeadingWithId, type ImageUploadResult, type InputProps, type InputVariants, type ItemProps, type ItemVariants, type JumpAction, type JumpTarget, Jumplist, type JumplistEntry, type KbdChord, type KbdHotkey, type KbdProps, type KbdStepResult, type KbdVariants, type KeybindingPreset, type KeymapCommandContext, type KeymapExplorerEntry, type KeymapHandler, type KeymapMode, type LaTeXProps, type LanguageTab, type LinkPreviewAttributes, type LinkPreviewFetcher, type ListboxItemData, type ManimModule, type ManimProps, type ManimRecordingScene, type MentionItem, type MentionListElement, type MermaidProps, type ModalEditorTarget, ModalKeymap, type ModalKeymapOptions, type ModalKeymapPluginState, type ModalMotion, type ModalOperator, type ModalSelectionTransform, type ModalTextObjectSpec, type MultipleChoiceQuestionData, type NativeSelectVariants, type NavbarDensity, type NavbarMenuDensity, type NavbarMenuVariant, type NavbarVariant, type NodeViewFactory, type NoticeAttributes, type NoticeProps, type NoticeVariant, type NoticeVariants, type NumberInputProps, type NumericQuestionData, type OverlayPlacementOptions, type OverlayPosition, type PageGutterContentVariants, type PageGutterVariants, type PagePaneRegistrationProps, type PageVariants, type PaneDirection, type PaneProps, type PaneRect, type PaneRegistration, type PaneRegistrationProps, type PrevNextProps, type ProseProps, type ProseVariants, type Question, type RevealProps, SIDEBAR_KEYBOARD_SHORTCUT, SIDEBAR_WIDGET_DEFAULT_SNAP_POINT, SIDEBAR_WIDGET_SNAP_POINTS, SIDEBAR_WIDTH, SIDEBAR_WIDTH_ICON, SIDEBAR_WIDTH_MOBILE, type SecondaryCursorRange, type SelectItemData, type SelectProps, type SidebarContextProps, type SidebarMenuButtonVariants, type SidebarPaneRegistrationProps, type SingleChoiceQuestionData, type SlashCommandItem, type SplitterPanelPaneRegistrationProps, type SwitchProps, type SwitchVariants, THEMES, THEME_NAMES, type TabsIndicatorVariants, type TabsListVariants, type TagsInputProps, type TextareaProps, type ThemeMeta, TitleHeading, type ToastActionOptions, type ToastPlacement, type ToastType, type ToastVariants, type ToggleButtonProps, type ToggleButtonVariants, type ToggleGroupProps, type ToggleGroupRootVariants, type UrlMentionAttributes, type WhichKeyController, type WhichKeyControllerOptions, type WhichKeyExplorerProps, type WhichKeyModeBadgeVariants, type WhichKeyModeProps, type WhichKeyNode, type WhichKeyProps, type WhichKeyState, type WhichKeyTreeResult, type WhichKeyVariant, type WhichKeyVariants, type WindowPaneRegistrationProps, type YouTubeChapter, type YouTubeProps, announceCommandMessage, badgeVariants, buildChartDefinition, buildExtensions, buildWhichKeyTree, buttonVariants, cardBodyBase, cardCoverVariants, cardDescriptionBase, cardFooterBase, cardHeaderBase, cardTitleBase, cardVariants, centerBase, chartPlaceholderBase, chartPlaceholderLabelBase, chartRootBase, checkboxGroupBase, checkboxIndicatorBase, checkboxLabelBase, checkboxVariants, clipboardTriggerBase, cn, codeBlockBodyBase, codeBlockBodyScrollableBase, codeBlockContentBase, codeBlockCopyFloatBase, codeBlockHeaderBase, codeBlockHeaderInfoBase, codeBlockHighlightBase, codeBlockLineNumbersBase, codeBlockLoadingBase, codeBlockRootBase, codeBlockSpinnerBase, codeBlockTitleBase, colBase, colonCommandDialogContentBase, colonCommandErrorBase, colonCommandInputVariants, colonCommandItemVariants, colonCommandListVariants, colonCommandPositionerBase, colonCommandPrefixBase, colonCommandPromptBarVariants, colonCommandVariants, comboboxClearTriggerBase, comboboxContentBase, comboboxControlBase, comboboxEmptyBase, comboboxInputBase, comboboxItemGroupLabelBase, comboboxItemIndicatorBase, comboboxItemVariants, comboboxListBase, comboboxPositionerBase, comboboxTriggerBase, commandMenuDialogContentBase, commandMenuErrorBase, commandMenuInputVariants, commandMenuItemVariants, commandMenuListVariants, commandMenuPositionerBase, commandMenuPrefixBase, commandMenuPromptBarVariants, commandMenuVariants, commandPaletteBreadcrumbBase, commandPaletteDialogContentBase, commandPaletteFooterBase, commandPaletteHeaderBase, commandPaletteInputBase, commandPaletteItemBase, commandPaletteListBase, commandPalettePositionerBase, commandPaletteVariants, containerBase, createCodeBlockCustom, createCommandTree, createHelixPreset, createImageNode, createInternalMention, createJumplist, createKakounePreset, createLinkPreview, createNoticeNode, createUrlMention, createVimPreset, createWhichKeyController, defaultChartColor, defaultListboxFilter, dialogBackdropBase, dialogCloseTriggerBase, dialogContentBase, dialogDescriptionBase, dialogFooterBase, dialogFooterStickyBase, dialogFullscreenContentBase, dialogHeaderBase, dialogHeaderStickyBase, dialogPositionerBase, dialogTitleBase, eventToChordKeys, extractYouTubeId, feedbackCorrectBase, feedbackExplanationBase, feedbackIncorrectBase, fetchYouTubeMetadata, fieldErrorBase, fieldHelperBase, fieldLabelBase, fieldRequiredIndicatorBase, fieldRootBase, fieldsetErrorBase, fieldsetHelperBase, fieldsetLegendBase, fieldsetRootBase, figureCaptionBase, figureImageBase, figureRootBase, findDirectionalPane, findEditorScrollContainer, flattenKeymapEntries, formatColonCompletionInput, formatCommandMenuCompletionInput, formatKeyChord, formatKeySequence, formatTime, formatWhichKeyLabel, generateJumpLabels, getDocumentWhichKeyController, getEditorModalTarget, getModalEditor, getNodeChildren, getPresetKeymap, hstackBase, inferPlatform, injectCodeBlockStyles, inputVariants, insertPastedUrlAsLink, isChordCommandString, isEditorInInsertMode, isGroupNode, itemVariants, jumpBadgeMatchedPrefixBase, jumpBadgeVariants, jumpOverlayRootBase, kbdGroupBase, kbdVariants, latexDisplayBase, latexErrorBase, latexInlineBase, latexRootBase, listboxContentBase, listboxEmptyBase, listboxInputBase, listboxItemBase, listboxItemGroupBase, listboxItemGroupLabelBase, listboxItemIndicatorBase, listboxItemTextBase, listboxLabelBase, listboxRootBase, lockEditorOverlayScroll, manimCaptionBase, manimContainerBase, manimErrorBase, manimPlaceholderBase, manimPlaceholderLabelBase, manimRootBase, matchesCommandHotkey, mermaidLoadingBase, mermaidRootBase, mermaidSourceBase, mermaidSvgAspectRatio, mermaidSvgBase, modalKeymapPluginKey, nativeSelectIconBase, nativeSelectVariants, nativeSelectWrapperBase, navbarActionsBase, navbarActivationAreaBase, navbarBrandBase, navbarContainerBase, navbarDensityVariants, navbarMenuBase, navbarMenuContentBase, navbarMenuIndicatorBase, navbarMenuItemBase, navbarMenuLinkBase, navbarMenuListBase, navbarMenuPlacementVariants, navbarMenuRootBase, navbarMenuTriggerStyle, navbarMenuViewportBase, navbarMenuViewportPositionerBase, navbarMobileActionsBase, navbarMobileBase, navbarMobileContentBase, navbarMobileHeaderBase, navbarMobileMenuBase, navbarMobileMenuContentBase, navbarMobileMenuTriggerBase, navbarShrunkBase, navbarTriggerVariants, navbarVariants, nodeMatchesMode, normalizeNodeModes, noticeDescriptionBase, noticeTitleBase, noticeVariants, notifyAllModalEditors, numberInputControlBase, numberInputInputBase, numberInputRootBase, numberInputTriggerBase, pageContentBase, pageFooterBase, pageGutterAreaBase, pageGutterContentVariants, pageGutterVariants, pageSectionBase, pageVariants, paginationEllipsisBase, paginationItemBase, paginationRootBase, paginationTriggerBase, paneVariants, parseYouTubeChapters, placeEditorOverlay, placeEditorOverlayAt, popoverArrowBase, popoverCloseTriggerBase, popoverContentBase, popoverDescriptionBase, popoverIndicatorBase, popoverPositionerBase, popoverTitleBase, prevNextDirectionBase, prevNextLinkBase, prevNextLinkNextBase, prevNextRootBase, prevNextSpacerBase, prevNextTitleBase, proseVariants, questionCardBase, questionCheckButtonBase, questionGroupBase, questionInputBase, questionOptionBase, questionOptionCorrectBase, questionOptionIncorrectBase, questionPromptBase, questionUnitBase, quizHeaderBase, quizResetButtonBase, quizResultBase, quizResultTextBase, quizResultTitleBase, quizRootBase, quizScoreBase, quizSubmitButtonBase, quizTitleBase, radioGroupItemControlBase, radioGroupItemTextBase, radioGroupRootBase, registerImageInsertCallback, registerModalEditor, registerYouTubeInsertCallback, renderChartSvgString, renderCodeToHtml, renderMermaidSource, resolveColonCommandGridNavigation, resolveColonCommandGridStyle, resolveColonCommandState, resolveCommandLevel, resolveCommandMenuGridNavigation, resolveCommandMenuGridStyle, resolveCommandMenuState, resolveKbdSteps, resolveMermaidThemeVariables, resolveNode, revealChevronBase, revealContentBase, revealRootBase, revealTriggerBase, rowBase, scrollContentBase, scrollCornerBase, scrollRootBase, scrollScrollbarBase, scrollThumbBase, scrollViewportBase, selectClearTriggerBase, selectContentBase, selectIndicatorBase, selectItemBase, selectItemGroupLabelBase, selectItemIndicatorBase, selectItemTextBase, selectPositionerBase, selectTriggerBase, selectValueBase, shouldHandleCommandHotkey, sidebarMenuButtonVariants, sidebarStyles, slashCommands, splitHighlightSegments, splitterPanelBase, splitterResizeTriggerBase, splitterResizeTriggerIndicatorBase, splitterResizeTriggerSeparatorBase, splitterRootBase, stackBase, subscribeDocumentWhichKeyController, switchControlBase, switchLabelBase, switchThumbBase, switchVariants, tabsContentBase, tabsIndicatorBase, tabsIndicatorVariants, tabsListBase, tabsListVariants, tabsRootBase, tabsTriggerBase, tagsInputClearTriggerBase, tagsInputControlBase, tagsInputInputBase, tagsInputItemBase, tagsInputItemDeleteTriggerBase, tagsInputItemInputBase, tagsInputItemTextBase, tagsInputRootBase, textareaBase, toLaTeX, toastActionTriggerBase, toastCloseTriggerBase, toastDescriptionBase, toastIconBase, toastTitleBase, toastVariants, toasterBase, toggleButtonVariants, toggleGroupRootVariants, tooltipArrowBase, tooltipContentBase, tooltipPositionerBase, unregisterImageInsertCallback, unregisterYouTubeInsertCallback, validateKbdChord, validateKbdHotkey, vstackBase, whichKeyBodyVariants, whichKeyBreadcrumbBase, whichKeyExplorerContentBase, whichKeyExplorerHeaderBase, whichKeyExplorerHighlightMarkBase, whichKeyExplorerInputBase, whichKeyExplorerItemBase, whichKeyExplorerListContentBase, whichKeyExplorerListboxBase, whichKeyFooterBase, whichKeyHeaderBase, whichKeyItemBase, whichKeyItemLabelBase, whichKeyModeBadgeVariants, whichKeyTitleBase, whichKeyVariants, windowBodyBase, windowCloseTriggerBase, windowContentBase, windowControlBase, windowDragTriggerBase, windowHeaderBase, windowPositionerBase, windowResizeTriggerBase, windowStageTriggerBase, windowTitleBase, youtubeChapterButtonBase, youtubeChapterLabelBase, youtubeChapterTimeBase, youtubeChaptersBase, youtubeChaptersChevronBase, youtubeChaptersListBase, youtubeChaptersSummaryBase, youtubeDescriptionBase, youtubeFacadeBase, youtubePlayButtonBase, youtubePlayButtonInnerBase, youtubeRootBase, youtubeTitleBase };
|
|
1660
|
+
export { type BadgeProps, type BadgeVariants, type BuildExtensionsOptions, type ButtonProps, type ButtonVariants, type CardCoverProps, type CardProps, type CardVariants, type ChartProps, type ChartSeries, type CheckboxProps, type CheckboxVariants, type CodeBlockProps, type ColonCommandColumns, type ColonCommandProps, type ColonCommandResolution, type ColonCommandVariants, type ComboboxItemVariants, type ComboboxProps, type CommandBreadcrumb, type CommandContextProps, type CommandContextValue, type CommandFlatItem, type CommandHighlightSegment, type CommandLevelResolution, type CommandMenuColumns, type CommandMenuProps, type CommandMenuResolution, type CommandMenuVariants, type CommandNode, type CommandPaletteProps, type CommandPaletteVariants, type CommandSelectContext, type CommandStyle, DEFAULT_JUMP_ALPHABET, type EditorCounts, EditorHeading, type EditorNodeViews, type EditorSeams, ExitHeading, type FigureProps, type FileEntry, HeadingWithId, type ImageUploadResult, type InputProps, type InputVariants, type ItemProps, type ItemVariants, type JumpAction, type JumpTarget, Jumplist, type JumplistEntry, type KbdChord, type KbdHotkey, type KbdProps, type KbdStepResult, type KbdVariants, type KeybindingPreset, type KeymapCommandContext, type KeymapExplorerEntry, type KeymapHandler, type KeymapMode, type KeymapNodesInput, type KeymapPriority, type LaTeXProps, type LanguageTab, type LinkPreviewAttributes, type LinkPreviewFetcher, type ListboxItemData, type ManimModule, type ManimProps, type ManimRecordingScene, type MentionItem, type MentionListElement, type MermaidProps, type ModalEditorTarget, ModalKeymap, type ModalKeymapOptions, type ModalKeymapPluginState, type ModalKeymapStorage, type ModalMotion, type ModalOperator, type ModalSelectionTransform, type ModalTextObjectSpec, type MultipleChoiceQuestionData, type NativeSelectVariants, type NavbarDensity, type NavbarMenuDensity, type NavbarMenuVariant, type NavbarVariant, type NodeViewFactory, type NoticeAttributes, type NoticeProps, type NoticeVariant, type NoticeVariants, type NumberInputProps, type NumericQuestionData, type OverlayPlacementOptions, type OverlayPosition, type PageGutterContentVariants, type PageGutterVariants, type PagePaneRegistrationProps, type PageVariants, type PaneDirection, type PaneProps, type PaneRect, type PaneRegistration, type PaneRegistrationProps, type PrevNextProps, type ProseProps, type ProseVariants, type Question, type RegisterKeymapOptions, type RevealProps, SIDEBAR_KEYBOARD_SHORTCUT, SIDEBAR_WIDGET_DEFAULT_SNAP_POINT, SIDEBAR_WIDGET_SNAP_POINTS, SIDEBAR_WIDTH, SIDEBAR_WIDTH_ICON, SIDEBAR_WIDTH_MOBILE, type SecondaryCursorRange, type SelectItemData, type SelectProps, type SidebarContextProps, type SidebarMenuButtonVariants, type SidebarPaneRegistrationProps, type SingleChoiceQuestionData, type SlashCommandItem, type SplitterPanelPaneRegistrationProps, type SwitchProps, type SwitchVariants, THEMES, THEME_NAMES, type TabsIndicatorVariants, type TabsListVariants, type TagsInputProps, type TextareaProps, type ThemeMeta, TitleHeading, type ToastActionOptions, type ToastPlacement, type ToastType, type ToastVariants, type ToggleButtonProps, type ToggleButtonVariants, type ToggleGroupProps, type ToggleGroupRootVariants, type UrlMentionAttributes, type WhichKeyController, type WhichKeyControllerOptions, type WhichKeyExplorerProps, type WhichKeyModeBadgeVariants, type WhichKeyModeProps, type WhichKeyNode, type WhichKeyProps, type WhichKeyState, type WhichKeyTreeResult, type WhichKeyVariant, type WhichKeyVariants, type WindowPaneRegistrationProps, type YouTubeChapter, type YouTubeProps, announceCommandMessage, badgeVariants, buildChartDefinition, buildExtensions, buildWhichKeyTree, buttonVariants, cardBodyBase, cardCoverVariants, cardDescriptionBase, cardFooterBase, cardHeaderBase, cardTitleBase, cardVariants, centerBase, chartPlaceholderBase, chartPlaceholderLabelBase, chartRootBase, checkboxGroupBase, checkboxIndicatorBase, checkboxLabelBase, checkboxVariants, clipboardTriggerBase, cn, codeBlockBodyBase, codeBlockBodyScrollableBase, codeBlockContentBase, codeBlockCopyFloatBase, codeBlockHeaderBase, codeBlockHeaderInfoBase, codeBlockHighlightBase, codeBlockLineNumbersBase, codeBlockLoadingBase, codeBlockRootBase, codeBlockSpinnerBase, codeBlockTitleBase, colBase, colonCommandDialogContentBase, colonCommandErrorBase, colonCommandInputVariants, colonCommandItemVariants, colonCommandListVariants, colonCommandPositionerBase, colonCommandPrefixBase, colonCommandPromptBarVariants, colonCommandVariants, comboboxClearTriggerBase, comboboxContentBase, comboboxControlBase, comboboxEmptyBase, comboboxInputBase, comboboxItemGroupLabelBase, comboboxItemIndicatorBase, comboboxItemVariants, comboboxListBase, comboboxPositionerBase, comboboxTriggerBase, commandMenuDialogContentBase, commandMenuErrorBase, commandMenuInputVariants, commandMenuItemVariants, commandMenuListVariants, commandMenuPositionerBase, commandMenuPrefixBase, commandMenuPromptBarVariants, commandMenuVariants, commandPaletteBreadcrumbBase, commandPaletteDialogContentBase, commandPaletteFooterBase, commandPaletteHeaderBase, commandPaletteInputBase, commandPaletteItemBase, commandPaletteListBase, commandPalettePositionerBase, commandPaletteVariants, containerBase, createCodeBlockCustom, createCommandTree, createHelixPreset, createImageNode, createInternalMention, createJumplist, createKakounePreset, createLinkPreview, createNoticeNode, createUrlMention, createVimPreset, createWhichKeyController, defaultChartColor, defaultListboxFilter, dialogBackdropBase, dialogCloseTriggerBase, dialogContentBase, dialogDescriptionBase, dialogFooterBase, dialogFooterStickyBase, dialogFullscreenContentBase, dialogHeaderBase, dialogHeaderStickyBase, dialogPositionerBase, dialogTitleBase, eventToChordKeys, extractYouTubeId, feedbackCorrectBase, feedbackExplanationBase, feedbackIncorrectBase, fetchYouTubeMetadata, fieldErrorBase, fieldHelperBase, fieldLabelBase, fieldRequiredIndicatorBase, fieldRootBase, fieldsetErrorBase, fieldsetHelperBase, fieldsetLegendBase, fieldsetRootBase, figureCaptionBase, figureImageBase, figureRootBase, findDirectionalPane, findEditorScrollContainer, flattenKeymapEntries, formatColonCompletionInput, formatCommandMenuCompletionInput, formatKeyChord, formatKeySequence, formatTime, formatWhichKeyLabel, generateJumpLabels, getDocumentWhichKeyController, getEditorModalTarget, getModalEditor, getNodeChildren, getPresetKeymap, hstackBase, inferPlatform, injectCodeBlockStyles, inputVariants, insertPastedUrlAsLink, isChordCommandString, isEditorInInsertMode, isGroupNode, itemVariants, jumpBadgeMatchedPrefixBase, jumpBadgeVariants, jumpOverlayRootBase, kbdGroupBase, kbdVariants, latexDisplayBase, latexErrorBase, latexInlineBase, latexRootBase, listboxContentBase, listboxEmptyBase, listboxInputBase, listboxItemBase, listboxItemGroupBase, listboxItemGroupLabelBase, listboxItemIndicatorBase, listboxItemTextBase, listboxLabelBase, listboxRootBase, lockEditorOverlayScroll, manimCaptionBase, manimContainerBase, manimErrorBase, manimPlaceholderBase, manimPlaceholderLabelBase, manimRootBase, matchesCommandHotkey, mermaidLoadingBase, mermaidRootBase, mermaidSourceBase, mermaidSvgAspectRatio, mermaidSvgBase, modalKeymapPluginKey, nativeSelectIconBase, nativeSelectVariants, nativeSelectWrapperBase, navbarActionsBase, navbarActivationAreaBase, navbarBrandBase, navbarContainerBase, navbarDensityVariants, navbarMenuBase, navbarMenuContentBase, navbarMenuIndicatorBase, navbarMenuItemBase, navbarMenuLinkBase, navbarMenuListBase, navbarMenuPlacementVariants, navbarMenuRootBase, navbarMenuTriggerStyle, navbarMenuViewportBase, navbarMenuViewportPositionerBase, navbarMobileActionsBase, navbarMobileBase, navbarMobileContentBase, navbarMobileHeaderBase, navbarMobileMenuBase, navbarMobileMenuContentBase, navbarMobileMenuTriggerBase, navbarShrunkBase, navbarTriggerVariants, navbarVariants, nodeExplicitlyIncludesMode, nodeMatchesMode, normalizeNodeModes, noticeDescriptionBase, noticeTitleBase, noticeVariants, notifyAllModalEditors, numberInputControlBase, numberInputInputBase, numberInputRootBase, numberInputTriggerBase, pageContentBase, pageFooterBase, pageGutterAreaBase, pageGutterContentVariants, pageGutterVariants, pageSectionBase, pageVariants, paginationEllipsisBase, paginationItemBase, paginationRootBase, paginationTriggerBase, paneVariants, parseYouTubeChapters, placeEditorOverlay, placeEditorOverlayAt, popoverArrowBase, popoverCloseTriggerBase, popoverContentBase, popoverDescriptionBase, popoverIndicatorBase, popoverPositionerBase, popoverTitleBase, prevNextDirectionBase, prevNextLinkBase, prevNextLinkNextBase, prevNextRootBase, prevNextSpacerBase, prevNextTitleBase, proseVariants, questionCardBase, questionCheckButtonBase, questionGroupBase, questionInputBase, questionOptionBase, questionOptionCorrectBase, questionOptionIncorrectBase, questionPromptBase, questionUnitBase, quizHeaderBase, quizResetButtonBase, quizResultBase, quizResultTextBase, quizResultTitleBase, quizRootBase, quizScoreBase, quizSubmitButtonBase, quizTitleBase, radioGroupItemControlBase, radioGroupItemTextBase, radioGroupRootBase, registerImageInsertCallback, registerModalEditor, registerYouTubeInsertCallback, renderChartSvgString, renderCodeToHtml, renderMermaidSource, resolveColonCommandGridNavigation, resolveColonCommandGridStyle, resolveColonCommandState, resolveCommandLevel, resolveCommandMenuGridNavigation, resolveCommandMenuGridStyle, resolveCommandMenuState, resolveKbdSteps, resolveMermaidThemeVariables, resolveNode, revealChevronBase, revealContentBase, revealRootBase, revealTriggerBase, rowBase, scrollContentBase, scrollCornerBase, scrollRootBase, scrollScrollbarBase, scrollThumbBase, scrollViewportBase, selectClearTriggerBase, selectContentBase, selectIndicatorBase, selectItemBase, selectItemGroupLabelBase, selectItemIndicatorBase, selectItemTextBase, selectPositionerBase, selectTriggerBase, selectValueBase, serializeModalSliceText, shouldHandleCommandHotkey, sidebarMenuButtonVariants, sidebarStyles, slashCommands, splitHighlightSegments, splitterPanelBase, splitterResizeTriggerBase, splitterResizeTriggerIndicatorBase, splitterResizeTriggerSeparatorBase, splitterRootBase, stackBase, subscribeDocumentWhichKeyController, switchControlBase, switchLabelBase, switchThumbBase, switchVariants, tabsContentBase, tabsIndicatorBase, tabsIndicatorVariants, tabsListBase, tabsListVariants, tabsRootBase, tabsTriggerBase, tagsInputClearTriggerBase, tagsInputControlBase, tagsInputInputBase, tagsInputItemBase, tagsInputItemDeleteTriggerBase, tagsInputItemInputBase, tagsInputItemTextBase, tagsInputRootBase, textareaBase, toLaTeX, toastActionTriggerBase, toastCloseTriggerBase, toastDescriptionBase, toastIconBase, toastTitleBase, toastVariants, toasterBase, toggleButtonVariants, toggleGroupRootVariants, tooltipArrowBase, tooltipContentBase, tooltipPositionerBase, unregisterImageInsertCallback, unregisterYouTubeInsertCallback, validateKbdChord, validateKbdHotkey, vstackBase, whichKeyBodyVariants, whichKeyBreadcrumbBase, whichKeyExplorerContentBase, whichKeyExplorerHeaderBase, whichKeyExplorerHighlightMarkBase, whichKeyExplorerInputBase, whichKeyExplorerItemBase, whichKeyExplorerListContentBase, whichKeyExplorerListboxBase, whichKeyFooterBase, whichKeyHeaderBase, whichKeyItemBase, whichKeyItemLabelBase, whichKeyModeBadgeVariants, whichKeyTitleBase, whichKeyVariants, windowBodyBase, windowCloseTriggerBase, windowContentBase, windowControlBase, windowDragTriggerBase, windowHeaderBase, windowPositionerBase, windowResizeTriggerBase, windowStageTriggerBase, windowTitleBase, youtubeChapterButtonBase, youtubeChapterLabelBase, youtubeChapterTimeBase, youtubeChaptersBase, youtubeChaptersChevronBase, youtubeChaptersListBase, youtubeChaptersSummaryBase, youtubeDescriptionBase, youtubeFacadeBase, youtubePlayButtonBase, youtubePlayButtonInnerBase, youtubeRootBase, youtubeTitleBase };
|