@hexdspace/react 0.1.40 → 0.1.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +11 -10
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -713,6 +713,15 @@ interface ShortcutBinding {
|
|
|
713
713
|
group?: string;
|
|
714
714
|
}
|
|
715
715
|
|
|
716
|
+
interface ListedShortcut {
|
|
717
|
+
registrationId: string;
|
|
718
|
+
scopeId: string;
|
|
719
|
+
combos: string[];
|
|
720
|
+
description: string;
|
|
721
|
+
group?: string;
|
|
722
|
+
}
|
|
723
|
+
type GroupedShortcuts = Record<string, ListedShortcut[]>;
|
|
724
|
+
|
|
716
725
|
interface ShortcutRegistration {
|
|
717
726
|
id: string;
|
|
718
727
|
scopeId: string;
|
|
@@ -747,15 +756,6 @@ interface DisableScope {
|
|
|
747
756
|
disableScope(id: string): void;
|
|
748
757
|
}
|
|
749
758
|
|
|
750
|
-
interface ListedShortcut {
|
|
751
|
-
registrationId: string;
|
|
752
|
-
scopeId: string;
|
|
753
|
-
combos: string[];
|
|
754
|
-
description: string;
|
|
755
|
-
group?: string;
|
|
756
|
-
}
|
|
757
|
-
type GroupedShortcuts = Record<string, ListedShortcut[]>;
|
|
758
|
-
|
|
759
759
|
interface ListShortcuts {
|
|
760
760
|
listShortcutsByScope(): GroupedShortcuts;
|
|
761
761
|
}
|
|
@@ -841,6 +841,7 @@ declare class KeyboardController {
|
|
|
841
841
|
handleUnregisterShortcut(id: string): void;
|
|
842
842
|
handleListShortcutsByScope(): GroupedShortcuts;
|
|
843
843
|
}
|
|
844
|
+
declare const keyboardController: KeyboardController;
|
|
844
845
|
|
|
845
846
|
declare const KeyboardProvider: React__default.FC<{
|
|
846
847
|
children: React__default.ReactNode;
|
|
@@ -1130,4 +1131,4 @@ interface KbdProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<t
|
|
|
1130
1131
|
}
|
|
1131
1132
|
declare const Kbd: React.ForwardRefExoticComponent<KbdProps & React.RefAttributes<HTMLSpanElement>>;
|
|
1132
1133
|
|
|
1133
|
-
export { AuthController, AuthControllerCtx, type AuthControllerDeps, AuthControllerProvider, AuthDispatchCtx, AuthProvider, type AuthState, AuthStateCtx, Button, type ButtonProps, type CacheInstruction, type ClearSelectionArgs, type ClearTarget, type CombineMode, ConfirmDialog, type ConfirmDialogProps, type ConfirmPayload, type CursorFallback, CustomDialog, type CustomDialogPayload, type CustomDialogProps, type CustomInstruction, DEFAULT_NOTIFICATION_CHANNEL, type DefaultDialogPayloads, type DefaultDialogTemplateKey, DefaultDialogTemplateKeys, Dialog, DialogContent, DialogController, DialogHost, type DialogInstance, type DialogOptions, type DialogProps, type DialogTemplate, type DisableScope, DisableScopeUseCase, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, DropdownMenuSeparator, type EnableScope, EnableScopeUseCase, type ErrorResponse, Field, type FieldProps, type GenericResponse, type HandleSelection, type HttpClient, HttpError, type HttpMethod, type HttpResponse, InMemorySelectionStore, InfoDialog, type InfoDialogProps, type InfoPayload, Input, type InputProps, type Instruction, type InstructionContext, type ItemId, Kbd, type KbdProps, KeyboardProvider, type ListShortcuts, ListShortcutsUseCase, MockAuthHttpClient, MockHttpClient, type Mode, type MutationFn, type Notification, type NotificationAction, NotificationHost, type NotificationInstruction, type NotificationVariant, NotifierController, type OnSuccessFn, type OptimisticSnapshot, type OptimisticUpdateFn, Popover, type PopoverProps, type QuerySelection, RedirectIfAuthed, type RedirectIfAuthedProps, type RegionId, type RegionKey, type RegionSelection, type RegisterRegionArgs, type RegisterShortcut, RegisterShortcutUseCase, type RequestConfig, RequireAuth, type RequireAuthProps, type ResolvedToastTheme, type ResponsiveMutation, type ScopeId, ScopeManager, type ScopeState, SelectionController, type SelectionControllerDeps, SelectionControllerProvider, type SelectionState, type SelectionStore, type ShortcutBinding, type ShortcutHandler, type ShortcutRegistration, type ShortcutScope, Skeleton, type SkeletonProps, Textarea, type TextareaProps, type ToastActionTheme, type ToastTheme, type ToastTransition, type ToastifyCSSVars, Tooltip, type UIFail, type UIOk, type UIResult, type UnregisterShortcut, UnregisterShortcutUseCase, type UseVimRegionArgs, type UseVimRegionResult, type User, VimController, type VimControllerDeps, VimControllerProvider, type VimDirection, type VimInterDirection, type VimKeyState, type VimPending, type VimRegionMeta, VimRegionRegistry, authController, controllerFactory, createAuthController, createSelectionController, createVimController, dialogController, httpClient as fetchHttpClient, getDialogTemplate, notifierController, registerDefaultDialogs, registerDialogTemplate, resolveToastTheme, ui, unregisterDialogTemplate, useAuth, useAuthActions, useAuthController, useAuthDispatch, useAuthedUser, useDialog, useKeyboardController, useResponsiveMutation, useSelectionController, useShortcut, useShortcutScope, useVimBindings, useVimController, useVimRegion };
|
|
1134
|
+
export { AuthController, AuthControllerCtx, type AuthControllerDeps, AuthControllerProvider, AuthDispatchCtx, AuthProvider, type AuthState, AuthStateCtx, Button, type ButtonProps, type CacheInstruction, type ClearSelectionArgs, type ClearTarget, type CombineMode, ConfirmDialog, type ConfirmDialogProps, type ConfirmPayload, type CursorFallback, CustomDialog, type CustomDialogPayload, type CustomDialogProps, type CustomInstruction, DEFAULT_NOTIFICATION_CHANNEL, type DefaultDialogPayloads, type DefaultDialogTemplateKey, DefaultDialogTemplateKeys, Dialog, DialogContent, DialogController, DialogHost, type DialogInstance, type DialogOptions, type DialogProps, type DialogTemplate, type DisableScope, DisableScopeUseCase, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, DropdownMenuSeparator, type EnableScope, EnableScopeUseCase, type ErrorResponse, Field, type FieldProps, type GenericResponse, type GroupedShortcuts, type HandleSelection, type HttpClient, HttpError, type HttpMethod, type HttpResponse, InMemorySelectionStore, InfoDialog, type InfoDialogProps, type InfoPayload, Input, type InputProps, type Instruction, type InstructionContext, type ItemId, Kbd, type KbdProps, KeyboardController, KeyboardProvider, type ListShortcuts, ListShortcutsUseCase, type ListedShortcut, MockAuthHttpClient, MockHttpClient, type Mode, type MutationFn, type Notification, type NotificationAction, NotificationHost, type NotificationInstruction, type NotificationVariant, NotifierController, type OnSuccessFn, type OptimisticSnapshot, type OptimisticUpdateFn, Popover, type PopoverProps, type QuerySelection, RedirectIfAuthed, type RedirectIfAuthedProps, type RegionId, type RegionKey, type RegionSelection, type RegisterRegionArgs, type RegisterShortcut, RegisterShortcutUseCase, type RequestConfig, RequireAuth, type RequireAuthProps, type ResolvedToastTheme, type ResponsiveMutation, type ScopeId, ScopeManager, type ScopeState, SelectionController, type SelectionControllerDeps, SelectionControllerProvider, type SelectionState, type SelectionStore, type ShortcutBinding, type ShortcutHandler, type ShortcutRegistration, type ShortcutScope, Skeleton, type SkeletonProps, Textarea, type TextareaProps, type ToastActionTheme, type ToastTheme, type ToastTransition, type ToastifyCSSVars, Tooltip, type UIFail, type UIOk, type UIResult, type UnregisterShortcut, UnregisterShortcutUseCase, type UseVimRegionArgs, type UseVimRegionResult, type User, VimController, type VimControllerDeps, VimControllerProvider, type VimDirection, type VimInterDirection, type VimKeyState, type VimPending, type VimRegionMeta, VimRegionRegistry, authController, controllerFactory, createAuthController, createSelectionController, createVimController, dialogController, httpClient as fetchHttpClient, getDialogTemplate, keyboardController, notifierController, registerDefaultDialogs, registerDialogTemplate, resolveToastTheme, ui, unregisterDialogTemplate, useAuth, useAuthActions, useAuthController, useAuthDispatch, useAuthedUser, useDialog, useKeyboardController, useResponsiveMutation, useSelectionController, useShortcut, useShortcutScope, useVimBindings, useVimController, useVimRegion };
|
package/dist/index.js
CHANGED
|
@@ -4821,6 +4821,7 @@ export {
|
|
|
4821
4821
|
InfoDialog,
|
|
4822
4822
|
Input,
|
|
4823
4823
|
Kbd,
|
|
4824
|
+
KeyboardController,
|
|
4824
4825
|
KeyboardProvider,
|
|
4825
4826
|
ListShortcutsUseCase,
|
|
4826
4827
|
MockAuthHttpClient,
|
|
@@ -4849,6 +4850,7 @@ export {
|
|
|
4849
4850
|
dialogController,
|
|
4850
4851
|
httpClient as fetchHttpClient,
|
|
4851
4852
|
getDialogTemplate,
|
|
4853
|
+
keyboardController,
|
|
4852
4854
|
notifierController,
|
|
4853
4855
|
registerDefaultDialogs,
|
|
4854
4856
|
registerDialogTemplate,
|