mtxuilib 0.1.12 → 0.1.13
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/common/DeleteComfirm.d.ts +20 -0
- package/dist/common/FullCenter.d.ts +2 -0
- package/dist/common/GlobalSearch.d.ts +11 -0
- package/dist/common/MtImage.d.ts +5 -0
- package/dist/common/MtProgressBar.d.ts +1 -0
- package/dist/common/NotFoundGoBack.d.ts +1 -0
- package/dist/common/SlntTree/Slnt.z.d.ts +28 -0
- package/dist/common/SlntTree/SlntChildrenTabs.d.ts +1 -0
- package/dist/common/SlntTree/SlntTreeNode.d.ts +19 -0
- package/dist/common/TrpcQuery.d.ts +0 -0
- package/dist/common/devtools/DebugValue.d.ts +5 -0
- package/dist/common/devtools/DevTools.d.ts +2 -0
- package/dist/common/mtlink.d.ts +14 -0
- package/dist/common/pip/PipExamplePage.d.ts +1 -0
- package/dist/common/pip/ReactDocumentPictureInPicture.d.ts +28 -0
- package/dist/common/react-markdown/Code.d.ts +6 -0
- package/dist/common/react-markdown/MarkdownToolbar.d.ts +4 -0
- package/dist/common/react-markdown/ReactMarkdownExample.d.ts +1 -0
- package/dist/common/schema-form/SchemaFormFieldsRender.d.ts +4 -0
- package/dist/common/schema-form/SchemaFormView.d.ts +12 -0
- package/dist/common/schema-form/schema-form.z.d.ts +90 -0
- package/dist/common/table/SimpleTable.d.ts +4 -0
- package/dist/common/table/cells/ExpenderCell.d.ts +2 -0
- package/dist/common/table/cells/SelectCell.d.ts +12 -0
- package/dist/common/table/cells/Text.d.ts +8 -0
- package/dist/common/table/cells/ViewLink.d.ts +12 -0
- package/dist/common/table/cells/container/cellWrapper.d.ts +6 -0
- package/dist/common/table/cells/number.d.ts +2 -0
- package/dist/common/table/cells/string.d.ts +2 -0
- package/dist/common/table/data-table-pagination.d.ts +6 -0
- package/dist/common/table/data-table-view-options.d.ts +6 -0
- package/dist/common/table/datatable-view-options.d.ts +12 -0
- package/dist/common/table/example/ExampleTable.d.ts +1 -0
- package/dist/common/table/header/SimpleHeader.d.ts +4 -0
- package/dist/common/table/header/header.d.ts +5 -0
- package/dist/common/table/table.z.d.ts +189 -0
- package/dist/common/tailwind-indicator.d.ts +1 -0
- package/dist/common/theme/mode-toggle.d.ts +1 -0
- package/dist/common/theme/theme-toggle.d.ts +1 -0
- package/dist/common/tiptap/MenuBar.d.ts +1 -0
- package/dist/common/tiptap/TiptapEditor.d.ts +5 -0
- package/dist/common/tiptap/examples/Demo-Default.d.ts +1 -0
- package/dist/common/tiptap/examples/Demo-Tiptap.d.ts +1 -0
- package/dist/demos/bigcode/BigCode.d.ts +4 -0
- package/dist/demos/condition-type/serialize.d.ts +3 -0
- package/dist/demos/demo-react-use.d.ts +1 -0
- package/dist/demos/lib.d.ts +3 -0
- package/dist/demos/scrollarea/LongListDemo.d.ts +1 -0
- package/dist/demos/scrollarea/ScrollAreaDemo.d.ts +1 -0
- package/dist/demos/suspense-ssr/ExampleOg.d.ts +4 -0
- package/dist/demos/suspense-ssr/ExamplePage.d.ts +3 -0
- package/dist/demos/suspense-ssr/ExampleProviderProviders.d.ts +4 -0
- package/dist/demos/suspense-ssr/ReadMe.d.ts +1 -0
- package/dist/demos/suspense-ssr/examplesPostDetail.d.ts +3 -0
- package/dist/demos/suspense-ssr/examplesPosts.d.ts +1 -0
- package/dist/form/EditFormToolbar.d.ts +13 -0
- package/dist/form/ZodForm.d.ts +14 -0
- package/dist/form/deleteConform.d.ts +8 -0
- package/dist/hooks/use-config.d.ts +5 -0
- package/dist/hooks/use-local-storage.d.ts +2 -0
- package/dist/hooks/use-lock-body.d.ts +1 -0
- package/dist/hooks/use-media-query.d.ts +7 -0
- package/dist/hooks/use-mutation-observer.d.ts +7 -0
- package/dist/hooks/use-router.d.ts +18 -0
- package/dist/hooks/useIsIntersecting.d.ts +2 -0
- package/dist/hooks/useLayoutPath.d.ts +2 -0
- package/dist/hooks/useMounted.d.ts +1 -0
- package/dist/hooks/useScript.d.ts +3 -0
- package/dist/icons/Cross2Icon.d.ts +1 -0
- package/dist/icons/DotsHorizontalIcon.d.ts +1 -0
- package/dist/icons/MixerHorizontal.d.ts +1 -0
- package/dist/icons/crazy-spinner.d.ts +2 -0
- package/dist/icons/font-default.d.ts +3 -0
- package/dist/icons/font-mono.d.ts +3 -0
- package/dist/icons/font-serif.d.ts +3 -0
- package/dist/icons/github.d.ts +3 -0
- package/dist/icons/icons.d.ts +133 -0
- package/dist/icons/index.d.ts +4 -0
- package/dist/icons/loading-circle.d.ts +3 -0
- package/dist/icons/magic.d.ts +3 -0
- package/dist/index.d.ts +1 -0
- package/dist/lib/111.test.d.ts +1 -0
- package/dist/lib/clientlib/clientlib.d.ts +6 -0
- package/dist/lib/clientlib/domutils.d.ts +2 -0
- package/dist/lib/clientlib/selectPath.d.ts +4 -0
- package/dist/lib/componentHelper.d.ts +7 -0
- package/dist/lib/errors.d.ts +4 -0
- package/dist/lib/fetch-proxy/fetch-proxy.d.ts +1 -0
- package/dist/lib/highlight-code.d.ts +1 -0
- package/dist/lib/htmlparse/components/ItemActionButton.d.ts +2 -0
- package/dist/lib/htmlparse/htmlParse.d.ts +2 -0
- package/dist/lib/react-query/ReactQueryProvider.d.ts +4 -0
- package/dist/lib/render.d.ts +4 -0
- package/dist/lib/service-worker/ServiceWorkerMain.d.ts +1 -0
- package/dist/lib/service-worker/lib.d.ts +1 -0
- package/dist/lib/service-worker/worker.d.ts +1 -0
- package/dist/lib/service-worker.d.ts +5 -0
- package/dist/lib/trpc/types.d.ts +6 -0
- package/dist/lib/trpc-query/TrpcComponents/TrpcDehydrate.d.ts +5 -0
- package/dist/lib/url.d.ts +2 -0
- package/dist/lib/useScript.d.ts +3 -0
- package/dist/lib/utils.d.ts +27 -0
- package/dist/lib/zod/common.z.d.ts +71 -0
- package/dist/lib/zod/demo.z.d.ts +1 -0
- package/dist/lib/zod/listView.z.d.ts +7688 -0
- package/dist/lib/zod/meta.d.ts +51 -0
- package/dist/lib/zod/msg.z.d.ts +9 -0
- package/dist/lib/zod/taskStatus.z.d.ts +17 -0
- package/dist/lib/zustand.d.ts +5 -0
- package/dist/misc/CustomErrorRetry.d.ts +4 -0
- package/dist/misc/ExampleErrorDemo.d.ts +4 -0
- package/dist/misc/MtErrorBoundary.d.ts +16 -0
- package/dist/misc/MtErrorBoundary.stories.d.ts +15 -0
- package/dist/misc/MtErrorBoundaryV2.d.ts +2 -0
- package/dist/misc/MtErrorBoundaryV2.stories.d.ts +17 -0
- package/dist/mtapp/History.d.ts +24 -0
- package/dist/mtapp/MtAppProvider.d.ts +58 -0
- package/dist/mtedtior/AiButtons.d.ts +10 -0
- package/dist/mtedtior/MtEditor.d.ts +29 -0
- package/dist/mtedtior/components/editor-bubble-item.d.ts +9 -0
- package/dist/mtedtior/components/editor-bubble.d.ts +7 -0
- package/dist/mtedtior/components/editor-command-item.d.ts +20 -0
- package/dist/mtedtior/components/editor-command.d.ts +29 -0
- package/dist/mtedtior/components/editor.d.ts +21 -0
- package/dist/mtedtior/components/index.d.ts +8 -0
- package/dist/mtedtior/content.d.ts +132 -0
- package/dist/mtedtior/extensions/ai-highlight.d.ts +22 -0
- package/dist/mtedtior/extensions/custom-keymap.d.ts +10 -0
- package/dist/mtedtior/extensions/drag-and-drop.d.ts +6 -0
- package/dist/mtedtior/extensions/image-resizer.d.ts +2 -0
- package/dist/mtedtior/extensions/index.d.ts +12 -0
- package/dist/mtedtior/extensions/slash-command.d.ts +33 -0
- package/dist/mtedtior/extensions/updated-image.d.ts +2 -0
- package/dist/mtedtior/generative/ai-completion-command.d.ts +5 -0
- package/dist/mtedtior/generative/ai-selector-commands.d.ts +5 -0
- package/dist/mtedtior/generative/ai-selector.d.ts +6 -0
- package/dist/mtedtior/generative/generative-menu-switch.d.ts +8 -0
- package/dist/mtedtior/mtextesions/DemoComponent.d.ts +2 -0
- package/dist/mtedtior/plugins/index.d.ts +1 -0
- package/dist/mtedtior/plugins/upload-images.d.ts +13 -0
- package/dist/mtedtior/selectors/color-selector.d.ts +8 -0
- package/dist/mtedtior/selectors/link-selector.d.ts +8 -0
- package/dist/mtedtior/selectors/node-selector.d.ts +14 -0
- package/dist/mtedtior/selectors/text-buttons.d.ts +1 -0
- package/dist/mtedtior/tw_extensions.d.ts +1 -0
- package/dist/mtedtior/utils/summary.d.ts +1 -0
- package/dist/mtedtior/utils/utils.d.ts +9 -0
- package/dist/mtedtior/utils.d.ts +9 -0
- package/dist/scripts/build-registry.d.ts +3 -0
- package/dist/service-worker/ServiceWorkerMain.d.ts +1 -0
- package/dist/service-worker/lib.d.ts +1 -0
- package/dist/service-worker/sw.d.ts +1 -0
- package/dist/styled-system/css/conditions.d.mts +3 -0
- package/dist/styled-system/css/css.d.mts +6 -0
- package/dist/styled-system/css/cva.d.mts +14 -0
- package/dist/styled-system/css/cx.d.mts +1 -0
- package/dist/styled-system/css/index.d.mts +4 -0
- package/dist/styled-system/css/sva.d.mts +10 -0
- package/dist/styled-system/helpers.d.mts +39 -0
- package/dist/styled-system/patterns/aspect-ratio.d.mts +5 -0
- package/dist/styled-system/patterns/bleed.d.mts +5 -0
- package/dist/styled-system/patterns/box.d.mts +5 -0
- package/dist/styled-system/patterns/center.d.mts +5 -0
- package/dist/styled-system/patterns/circle.d.mts +5 -0
- package/dist/styled-system/patterns/container.d.mts +5 -0
- package/dist/styled-system/patterns/cq.d.mts +5 -0
- package/dist/styled-system/patterns/divider.d.mts +5 -0
- package/dist/styled-system/patterns/flex.d.mts +5 -0
- package/dist/styled-system/patterns/float.d.mts +5 -0
- package/dist/styled-system/patterns/grid-item.d.mts +5 -0
- package/dist/styled-system/patterns/grid.d.mts +5 -0
- package/dist/styled-system/patterns/hstack.d.mts +5 -0
- package/dist/styled-system/patterns/index.d.mts +20 -0
- package/dist/styled-system/patterns/link-overlay.d.mts +5 -0
- package/dist/styled-system/patterns/spacer.d.mts +5 -0
- package/dist/styled-system/patterns/square.d.mts +5 -0
- package/dist/styled-system/patterns/stack.d.mts +5 -0
- package/dist/styled-system/patterns/visually-hidden.d.mts +5 -0
- package/dist/styled-system/patterns/vstack.d.mts +5 -0
- package/dist/styled-system/patterns/wrap.d.mts +5 -0
- package/dist/styled-system/tokens/index.d.mts +6 -0
- package/dist/tailwind copy.d.cts +2 -0
- package/dist/tailwind.d.ts +3 -0
- package/dist/types/common.d.ts +16 -0
- package/dist/ui/accordion.d.ts +7 -0
- package/dist/ui/alert-dialog.d.ts +20 -0
- package/dist/ui/alert.d.ts +8 -0
- package/dist/ui/aspect-ratio.d.ts +4 -0
- package/dist/ui/avatar.d.ts +6 -0
- package/dist/ui/badge.d.ts +9 -0
- package/dist/ui/breadcrumb.d.ts +19 -0
- package/dist/ui/button.d.ts +11 -0
- package/dist/ui/calendar.d.ts +8 -0
- package/dist/ui/card.d.ts +8 -0
- package/dist/ui/checkbox.d.ts +4 -0
- package/dist/ui/collapsible.d.ts +6 -0
- package/dist/ui/command.d.ts +50 -0
- package/dist/ui/context-menu.d.ts +27 -0
- package/dist/ui/dialog.d.ts +19 -0
- package/dist/ui/drawer.d.ts +24 -0
- package/dist/ui/dropdown-menu.d.ts +27 -0
- package/dist/ui/form.d.ts +23 -0
- package/dist/ui/hover-card.d.ts +6 -0
- package/dist/ui/input.d.ts +5 -0
- package/dist/ui/label.d.ts +5 -0
- package/dist/ui/menubar.d.ts +31 -0
- package/dist/ui/navigation-menu.d.ts +12 -0
- package/dist/ui/pagination.d.ts +28 -0
- package/dist/ui/popover.d.ts +6 -0
- package/dist/ui/progress.d.ts +4 -0
- package/dist/ui/radio-group.d.ts +5 -0
- package/dist/ui/resizable.d.ts +24 -0
- package/dist/ui/scroll-area.d.ts +5 -0
- package/dist/ui/select.d.ts +11 -0
- package/dist/ui/separator.d.ts +4 -0
- package/dist/ui/sheet.d.ts +25 -0
- package/dist/ui/skeleton.d.ts +2 -0
- package/dist/ui/slider.d.ts +4 -0
- package/dist/ui/sonner.d.ts +5 -0
- package/dist/ui/switch.d.ts +4 -0
- package/dist/ui/table.d.ts +10 -0
- package/dist/ui/tabs.d.ts +7 -0
- package/dist/ui/textarea.d.ts +5 -0
- package/dist/ui/toast.d.ts +15 -0
- package/dist/ui/toaster.d.ts +1 -0
- package/dist/ui/toggle.d.ts +12 -0
- package/dist/ui/tooltip.d.ts +7 -0
- package/dist/ui/use-toast.d.ts +44 -0
- package/dist/ui-mt/Boundary.d.ts +9 -0
- package/dist/ui-mt/Button.d.ts +2 -0
- package/dist/ui-mt/DropdownMenuItemLink.d.ts +7 -0
- package/dist/ui-mt/ErrorMessage.d.ts +2 -0
- package/dist/ui-mt/ExampleTree.d.ts +1 -0
- package/dist/ui-mt/MtDialog.d.ts +19 -0
- package/dist/ui-mt/MtForm.d.ts +2 -0
- package/dist/ui-mt/NavTag.d.ts +10 -0
- package/dist/ui-mt/ScreenPanel.d.ts +4 -0
- package/dist/ui-mt/Separator.d.ts +2 -0
- package/dist/ui-mt/SimpleModel.d.ts +4 -0
- package/dist/ui-mt/SimpleTag.d.ts +5 -0
- package/dist/ui-mt/Slot.d.ts +1 -0
- package/dist/ui-mt/Tree.d.ts +14 -0
- package/dist/ui-mt/WithLinkIf.d.ts +4 -0
- package/dist/ui-mt/headline.d.ts +8 -0
- package/dist/ui-mt/input-field/InputField.d.ts +4 -0
- package/dist/ui-mt/input-field/RichEditorInput.d.ts +6 -0
- package/dist/ui-mt/input-field/SingleUploadForm.d.ts +2 -0
- package/dist/ui-mt/input-field/TextArea.d.ts +4 -0
- package/dist/ui-mt/input-field/TextFileInput.d.ts +8 -0
- package/dist/ui-mt/input-field/select/InputSelect.d.ts +8 -0
- package/dist/ui-mt/inputs/SearchInput.d.ts +2 -0
- package/dist/ui-mt/inputs/TaskStatusInput.d.ts +2 -0
- package/dist/ui-mt/inputs/UrlsInput.d.ts +2 -0
- package/dist/ui-mt/inputs/input.d.ts +2 -0
- package/dist/ui-mt/modal/MtModal.d.ts +30 -0
- package/dist/ui-mt/mt-tree-view/MtTreeViewExample.d.ts +1 -0
- package/dist/ui-mt/mt-tree-view/mt-tree-view-api.d.ts +38 -0
- package/dist/ui-mt/mt-tree-view/mt-treeview.d.ts +24 -0
- package/dist/ui-mt/pagination.d.ts +7 -0
- package/dist/ui-mt/skeleton/NewLoading.d.ts +1 -0
- package/dist/ui-mt/skeleton/SkeletonDashboardShell.d.ts +0 -0
- package/dist/ui-mt/skeleton/SkeletonInput.d.ts +1 -0
- package/dist/ui-mt/skeleton/SkeletonLayout.d.ts +1 -0
- package/dist/ui-mt/skeleton/SkeletonLoading.d.ts +3 -0
- package/dist/ui-mt/skeleton/skeleton-card.d.ts +3 -0
- package/dist/ui-mt/skeleton/skeleton2.d.ts +1 -0
- package/dist/ui-mt/skeleton/skeletons.d.ts +6 -0
- package/dist/ui-mt/skeleton.d.ts +5 -0
- package/dist/ui-mt/types.d.ts +5 -0
- package/dist/ui-vamp/alert.d.ts +17 -0
- package/dist/ui-vamp/button.d.ts +13 -0
- package/dist/ui-vamp/card.d.ts +23 -0
- package/dist/ui-vamp/chip.d.ts +11 -0
- package/dist/ui-vamp/dropdown.d.ts +12 -0
- package/dist/ui-vamp/external-link.d.ts +7 -0
- package/dist/ui-vamp/input.d.ts +13 -0
- package/dist/ui-vamp/keyvalue.d.ts +7 -0
- package/dist/ui-vamp/mobile-nav-button.d.ts +1 -0
- package/dist/ui-vamp/modal.d.ts +11 -0
- package/dist/ui-vamp/textarea.d.ts +12 -0
- package/dist/ui-vamp/toggle-group.d.ts +8 -0
- package/dist/video-player/mt-video-player.d.ts +6 -0
- package/dist/video-player/video-player2/modal-video-player.d.ts +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UploadImagesPlugin, type UploadFn, type ImageUploadOptions, createImageUpload, handleImageDrop, handleImagePaste, } from "./upload-images";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Plugin } from "@tiptap/pm/state";
|
|
2
|
+
import { DecorationSet, type EditorView } from "@tiptap/pm/view";
|
|
3
|
+
export declare const UploadImagesPlugin: ({ imageClass }: {
|
|
4
|
+
imageClass: string;
|
|
5
|
+
}) => Plugin<DecorationSet>;
|
|
6
|
+
export interface ImageUploadOptions {
|
|
7
|
+
validateFn?: (file: File) => void;
|
|
8
|
+
onUpload: (file: File) => Promise<unknown>;
|
|
9
|
+
}
|
|
10
|
+
export declare const createImageUpload: ({ validateFn, onUpload }: ImageUploadOptions) => UploadFn;
|
|
11
|
+
export type UploadFn = (file: File, view: EditorView, pos: number) => void;
|
|
12
|
+
export declare const handleImagePaste: (view: EditorView, event: ClipboardEvent, uploadFn: UploadFn) => boolean;
|
|
13
|
+
export declare const handleImageDrop: (view: EditorView, event: DragEvent, moved: boolean, uploadFn: UploadFn) => boolean;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function isValidUrl(url: string): boolean;
|
|
2
|
+
export declare function getUrlFromString(str: string): string | null | undefined;
|
|
3
|
+
interface LinkSelectorProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
onOpenChange: (open: boolean) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const LinkSelector: ({ open, onOpenChange }: LinkSelectorProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type LucideIcon } from "lucide-react";
|
|
2
|
+
import { useEditor } from "../components";
|
|
3
|
+
export type SelectorItem = {
|
|
4
|
+
name: string;
|
|
5
|
+
icon: LucideIcon;
|
|
6
|
+
command: (editor: ReturnType<typeof useEditor>["editor"]) => void;
|
|
7
|
+
isActive: (editor: ReturnType<typeof useEditor>["editor"]) => boolean;
|
|
8
|
+
};
|
|
9
|
+
interface NodeSelectorProps {
|
|
10
|
+
open: boolean;
|
|
11
|
+
onOpenChange: (open: boolean) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const NodeSelector: ({ open, onOpenChange }: NodeSelectorProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TextButtons: () => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const defaultExtensions: (import("@tiptap/core").Extension<any, any> | import("@tiptap/core").Node<import("@tiptap/extension-horizontal-rule").HorizontalRuleOptions, any> | import("@tiptap/core").Mark<import("./extensions/ai-highlight").AIHighlightOptions, any>)[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function truncate(string: string, max: number, suffix: string): string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Editor } from "@tiptap/core";
|
|
2
|
+
export declare function convertEditorJsonToHTML(editorJsonValue: any): string;
|
|
3
|
+
export declare function convertEditorHTMLToJson(html: string): Record<string, any>;
|
|
4
|
+
export declare function isValidUrl(url: string): boolean;
|
|
5
|
+
export declare function getUrlFromString(str: string): string | null | undefined;
|
|
6
|
+
export declare const getPrevText: (editor: Editor, {}: {
|
|
7
|
+
chars: number;
|
|
8
|
+
offset?: number;
|
|
9
|
+
}) => any;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Editor } from "@tiptap/core";
|
|
2
|
+
export declare function convertEditorJsonToHTML(editorJsonValue: any): string;
|
|
3
|
+
export declare function convertEditorHTMLToJson(html: string): Record<string, any>;
|
|
4
|
+
export declare function isValidUrl(url: string): boolean;
|
|
5
|
+
export declare function getUrlFromString(str: string): string | null | undefined;
|
|
6
|
+
export declare const getPrevText: (editor: Editor, {}: {
|
|
7
|
+
chars: number;
|
|
8
|
+
offset?: number;
|
|
9
|
+
}) => any;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const BASE_STYLES = "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n";
|
|
2
|
+
export declare const BASE_STYLES_WITH_VARIABLES = "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n@layer base {\n :root {\n --background: <%- colors.light[\"background\"] %>;\n --foreground: <%- colors.light[\"foreground\"] %>;\n\n --card: <%- colors.light[\"card\"] %>;\n --card-foreground: <%- colors.light[\"card-foreground\"] %>;\n\n --popover: <%- colors.light[\"popover\"] %>;\n --popover-foreground: <%- colors.light[\"popover-foreground\"] %>;\n\n --primary: <%- colors.light[\"primary\"] %>;\n --primary-foreground: <%- colors.light[\"primary-foreground\"] %>;\n\n --secondary: <%- colors.light[\"secondary\"] %>;\n --secondary-foreground: <%- colors.light[\"secondary-foreground\"] %>;\n\n --muted: <%- colors.light[\"muted\"] %>;\n --muted-foreground: <%- colors.light[\"muted-foreground\"] %>;\n\n --accent: <%- colors.light[\"accent\"] %>;\n --accent-foreground: <%- colors.light[\"accent-foreground\"] %>;\n\n --destructive: <%- colors.light[\"destructive\"] %>;\n --destructive-foreground: <%- colors.light[\"destructive-foreground\"] %>;\n\n --border: <%- colors.light[\"border\"] %>;\n --input: <%- colors.light[\"input\"] %>;\n --ring: <%- colors.light[\"ring\"] %>;\n\n --radius: 0.5rem;\n }\n\n .dark {\n --background: <%- colors.dark[\"background\"] %>;\n --foreground: <%- colors.dark[\"foreground\"] %>;\n\n --card: <%- colors.dark[\"card\"] %>;\n --card-foreground: <%- colors.dark[\"card-foreground\"] %>;\n\n --popover: <%- colors.dark[\"popover\"] %>;\n --popover-foreground: <%- colors.dark[\"popover-foreground\"] %>;\n\n --primary: <%- colors.dark[\"primary\"] %>;\n --primary-foreground: <%- colors.dark[\"primary-foreground\"] %>;\n\n --secondary: <%- colors.dark[\"secondary\"] %>;\n --secondary-foreground: <%- colors.dark[\"secondary-foreground\"] %>;\n\n --muted: <%- colors.dark[\"muted\"] %>;\n --muted-foreground: <%- colors.dark[\"muted-foreground\"] %>;\n\n --accent: <%- colors.dark[\"accent\"] %>;\n --accent-foreground: <%- colors.dark[\"accent-foreground\"] %>;\n\n --destructive: <%- colors.dark[\"destructive\"] %>;\n --destructive-foreground: <%- colors.dark[\"destructive-foreground\"] %>;\n\n --border: <%- colors.dark[\"border\"] %>;\n --input: <%- colors.dark[\"input\"] %>;\n --ring: <%- colors.dark[\"ring\"] %>;\n }\n}\n\n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}";
|
|
3
|
+
export declare const THEME_STYLES_WITH_VARIABLES = "\n .theme-<%- theme %> {\n --background: <%- colors.light[\"background\"] %>;\n --foreground: <%- colors.light[\"foreground\"] %>;\n\n --muted: <%- colors.light[\"muted\"] %>;\n --muted-foreground: <%- colors.light[\"muted-foreground\"] %>;\n\n --popover: <%- colors.light[\"popover\"] %>;\n --popover-foreground: <%- colors.light[\"popover-foreground\"] %>;\n\n --card: <%- colors.light[\"card\"] %>;\n --card-foreground: <%- colors.light[\"card-foreground\"] %>;\n\n --border: <%- colors.light[\"border\"] %>;\n --input: <%- colors.light[\"input\"] %>;\n\n --primary: <%- colors.light[\"primary\"] %>;\n --primary-foreground: <%- colors.light[\"primary-foreground\"] %>;\n\n --secondary: <%- colors.light[\"secondary\"] %>;\n --secondary-foreground: <%- colors.light[\"secondary-foreground\"] %>;\n\n --accent: <%- colors.light[\"accent\"] %>;\n --accent-foreground: <%- colors.light[\"accent-foreground\"] %>;\n\n --destructive: <%- colors.light[\"destructive\"] %>;\n --destructive-foreground: <%- colors.light[\"destructive-foreground\"] %>;\n\n --ring: <%- colors.light[\"ring\"] %>;\n\n --radius: <%- colors.light[\"radius\"] %>;\n }\n\n .dark .theme-<%- theme %> {\n --background: <%- colors.dark[\"background\"] %>;\n --foreground: <%- colors.dark[\"foreground\"] %>;\n\n --muted: <%- colors.dark[\"muted\"] %>;\n --muted-foreground: <%- colors.dark[\"muted-foreground\"] %>;\n\n --popover: <%- colors.dark[\"popover\"] %>;\n --popover-foreground: <%- colors.dark[\"popover-foreground\"] %>;\n\n --card: <%- colors.dark[\"card\"] %>;\n --card-foreground: <%- colors.dark[\"card-foreground\"] %>;\n\n --border: <%- colors.dark[\"border\"] %>;\n --input: <%- colors.dark[\"input\"] %>;\n\n --primary: <%- colors.dark[\"primary\"] %>;\n --primary-foreground: <%- colors.dark[\"primary-foreground\"] %>;\n\n --secondary: <%- colors.dark[\"secondary\"] %>;\n --secondary-foreground: <%- colors.dark[\"secondary-foreground\"] %>;\n\n --accent: <%- colors.dark[\"accent\"] %>;\n --accent-foreground: <%- colors.dark[\"accent-foreground\"] %>;\n\n --destructive: <%- colors.dark[\"destructive\"] %>;\n --destructive-foreground: <%- colors.dark[\"destructive-foreground\"] %>;\n\n --ring: <%- colors.dark[\"ring\"] %>;\n }";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ServiceWorkerMain: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function pi(n: number): number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export function cva(config: any): ((...args: any[]) => any) & {
|
|
2
|
+
__cva__: boolean;
|
|
3
|
+
variantMap: {
|
|
4
|
+
[k: string]: string[];
|
|
5
|
+
};
|
|
6
|
+
variantKeys: string[];
|
|
7
|
+
raw: (props?: {}) => any;
|
|
8
|
+
config: any;
|
|
9
|
+
merge: (__cva: any) => ((...args: any[]) => any) & any;
|
|
10
|
+
splitVariantProps: (props: any) => {}[];
|
|
11
|
+
getVariantProps: (variants: any) => any;
|
|
12
|
+
};
|
|
13
|
+
export function getCompoundVariantCss(compoundVariants: any, variantMap: any): {};
|
|
14
|
+
export function assertCompoundVariant(name: any, compoundVariants: any, variants: any, prop: any): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function cx(...args: any[]): string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export function sva(config: any): ((...args: any[]) => any) & {
|
|
2
|
+
__cva__: boolean;
|
|
3
|
+
raw: (props: any) => any;
|
|
4
|
+
variantMap: {
|
|
5
|
+
[k: string]: string[];
|
|
6
|
+
};
|
|
7
|
+
variantKeys: string[];
|
|
8
|
+
splitVariantProps: (props: any) => {}[];
|
|
9
|
+
getVariantProps: (variants: any) => any;
|
|
10
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export function __spreadValues(a: any, b: any): any;
|
|
2
|
+
export function __objRest(source: any, exclude: any): {
|
|
3
|
+
[k: string]: any;
|
|
4
|
+
};
|
|
5
|
+
export function compact(value: any): {
|
|
6
|
+
[k: string]: any;
|
|
7
|
+
};
|
|
8
|
+
export function createCss(context: any): (...args: any[]) => any;
|
|
9
|
+
export function createMergeCss(context: any): {
|
|
10
|
+
mergeCss: (...args: any[]) => any;
|
|
11
|
+
assignCss: (...styles: any[]) => any;
|
|
12
|
+
};
|
|
13
|
+
export function filterBaseConditions(c: any): any;
|
|
14
|
+
export function getPatternStyles(pattern: any, styles: any): any;
|
|
15
|
+
export function getSlotCompoundVariant(compoundVariants: any, slotName: any): any;
|
|
16
|
+
export function getSlotRecipes(recipe?: {}): {
|
|
17
|
+
[k: string]: any;
|
|
18
|
+
};
|
|
19
|
+
export function hypenateProperty(...args: any[]): any;
|
|
20
|
+
export function isBaseCondition(v: any): boolean;
|
|
21
|
+
export function isObject(value: any): boolean;
|
|
22
|
+
export function mapObject(obj: any, fn: any): any;
|
|
23
|
+
export function memo(fn: any): (...args: any[]) => any;
|
|
24
|
+
export function mergeProps(...sources: any[]): any;
|
|
25
|
+
export namespace patternFns {
|
|
26
|
+
export { mapObject as map };
|
|
27
|
+
export { isCssFunction };
|
|
28
|
+
export { isCssVar };
|
|
29
|
+
export { isCssUnit };
|
|
30
|
+
}
|
|
31
|
+
export function splitProps(props: any, ...keys: any[]): {}[];
|
|
32
|
+
export function toHash(value: any): string;
|
|
33
|
+
export function uniq(...items: any[]): any;
|
|
34
|
+
export function walkObject(target: any, predicate: any, options?: {}): any;
|
|
35
|
+
export function withoutSpace(str: any): any;
|
|
36
|
+
declare function isCssFunction(v: any): boolean;
|
|
37
|
+
declare function isCssVar(v: any): boolean;
|
|
38
|
+
declare function isCssUnit(v: any): boolean;
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export * from "./box.mjs";
|
|
2
|
+
export * from "./flex.mjs";
|
|
3
|
+
export * from "./stack.mjs";
|
|
4
|
+
export * from "./vstack.mjs";
|
|
5
|
+
export * from "./hstack.mjs";
|
|
6
|
+
export * from "./spacer.mjs";
|
|
7
|
+
export * from "./square.mjs";
|
|
8
|
+
export * from "./circle.mjs";
|
|
9
|
+
export * from "./center.mjs";
|
|
10
|
+
export * from "./link-overlay.mjs";
|
|
11
|
+
export * from "./aspect-ratio.mjs";
|
|
12
|
+
export * from "./grid.mjs";
|
|
13
|
+
export * from "./grid-item.mjs";
|
|
14
|
+
export * from "./wrap.mjs";
|
|
15
|
+
export * from "./container.mjs";
|
|
16
|
+
export * from "./divider.mjs";
|
|
17
|
+
export * from "./float.mjs";
|
|
18
|
+
export * from "./bleed.mjs";
|
|
19
|
+
export * from "./visually-hidden.mjs";
|
|
20
|
+
export * from "./cq.mjs";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { DialogProps } from "@radix-ui/react-dialog";
|
|
3
|
+
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
+
}
|
|
5
|
+
export type EditDlgProps = {
|
|
6
|
+
onSubmit: (values: any) => Promise<void>;
|
|
7
|
+
onDelete: (values: any) => Promise<void>;
|
|
8
|
+
defaultValues?: any;
|
|
9
|
+
} & DialogProps;
|
|
10
|
+
export type MaybePromise<TType> = Promise<TType> | TType;
|
|
11
|
+
export type Nullable<T> = {
|
|
12
|
+
[P in keyof T]: T[P] | null;
|
|
13
|
+
};
|
|
14
|
+
export type searchParams = {
|
|
15
|
+
[key: string]: string | string[] | undefined;
|
|
16
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare const Accordion: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
4
|
+
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
6
|
+
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
declare const AlertDialogHeader: {
|
|
9
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
12
|
+
declare const AlertDialogFooter: {
|
|
13
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
};
|
|
16
|
+
declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
17
|
+
declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
18
|
+
declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
19
|
+
declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
20
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type VariantProps } from "class-variance-authority";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare const Alert: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
4
|
+
variant?: "destructive" | "default" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
declare const AlertTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
7
|
+
declare const AlertDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
8
|
+
export { Alert, AlertDescription, AlertTitle };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
|
|
3
|
+
declare const AspectRatio: import("react").ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export { AspectRatio };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
4
|
+
declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
5
|
+
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
6
|
+
export { Avatar, AvatarFallback, AvatarImage };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type VariantProps } from "class-variance-authority";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare const badgeVariants: (props?: ({
|
|
4
|
+
variant?: "secondary" | "destructive" | "default" | "outline" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
+
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
7
|
+
}
|
|
8
|
+
declare function Badge({ className, variant, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export { Badge, badgeVariants };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const Breadcrumb: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
3
|
+
separator?: React.ReactNode;
|
|
4
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
5
|
+
declare const BreadcrumbList: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
6
|
+
declare const BreadcrumbItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
7
|
+
declare const BreadcrumbLink: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
8
|
+
asChild?: boolean | undefined;
|
|
9
|
+
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
10
|
+
declare const BreadcrumbPage: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
11
|
+
declare const BreadcrumbSeparator: {
|
|
12
|
+
({ children, className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
declare const BreadcrumbEllipsis: {
|
|
16
|
+
({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
19
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type VariantProps } from "class-variance-authority";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare const buttonVariants: (props?: ({
|
|
4
|
+
variant?: "link" | "secondary" | "destructive" | "default" | "outline" | "ghost" | null | undefined;
|
|
5
|
+
size?: "lg" | "sm" | "default" | "icon" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
+
export { Button, buttonVariants };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { DayPicker } from "react-day-picker";
|
|
3
|
+
export type CalendarProps = React.ComponentProps<typeof DayPicker>;
|
|
4
|
+
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare namespace Calendar {
|
|
6
|
+
var displayName: string;
|
|
7
|
+
}
|
|
8
|
+
export { Calendar };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
3
|
+
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
5
|
+
declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
6
|
+
declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
|
+
export { Checkbox };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
|
|
3
|
+
declare const Collapsible: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const CollapsibleTrigger: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const CollapsibleContent: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { type DialogProps } from "@radix-ui/react-dialog";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
} & React.HTMLAttributes<HTMLDivElement> & {
|
|
6
|
+
label?: string | undefined;
|
|
7
|
+
shouldFilter?: boolean | undefined;
|
|
8
|
+
filter?: ((value: string, search: string) => number) | undefined;
|
|
9
|
+
defaultValue?: string | undefined;
|
|
10
|
+
value?: string | undefined;
|
|
11
|
+
onValueChange?: ((value: string) => void) | undefined;
|
|
12
|
+
loop?: boolean | undefined;
|
|
13
|
+
vimBindings?: boolean | undefined;
|
|
14
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
interface CommandDialogProps extends DialogProps {
|
|
16
|
+
}
|
|
17
|
+
declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "value" | "onChange"> & {
|
|
19
|
+
value?: string | undefined;
|
|
20
|
+
onValueChange?: ((search: string) => void) | undefined;
|
|
21
|
+
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
22
|
+
declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
23
|
+
children?: React.ReactNode;
|
|
24
|
+
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
26
|
+
children?: React.ReactNode;
|
|
27
|
+
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
+
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
29
|
+
children?: React.ReactNode;
|
|
30
|
+
} & Omit<React.HTMLAttributes<HTMLDivElement>, "value" | "heading"> & {
|
|
31
|
+
heading?: React.ReactNode;
|
|
32
|
+
value?: string | undefined;
|
|
33
|
+
forceMount?: boolean | undefined;
|
|
34
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
+
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement> & {
|
|
36
|
+
alwaysRender?: boolean | undefined;
|
|
37
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
38
|
+
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
39
|
+
children?: React.ReactNode;
|
|
40
|
+
} & Omit<React.HTMLAttributes<HTMLDivElement>, "disabled" | "value" | "onSelect"> & {
|
|
41
|
+
disabled?: boolean | undefined;
|
|
42
|
+
onSelect?: ((value: string) => void) | undefined;
|
|
43
|
+
value?: string | undefined;
|
|
44
|
+
forceMount?: boolean | undefined;
|
|
45
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
46
|
+
declare const CommandShortcut: {
|
|
47
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
displayName: string;
|
|
49
|
+
};
|
|
50
|
+
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
|