@speakeasy-api/moonshine 2.0.0-alpha.1 → 2.0.0-alpha.3
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/LICENSE +21 -0
- package/README.md +49 -23
- package/package.json +33 -50
- package/scripts/generate-utility-docs.js +324 -0
- package/src/assets/icons/external/github.svg +3 -0
- package/src/assets/icons/external/maven.svg +152 -0
- package/src/assets/icons/external/npm.svg +4 -0
- package/src/assets/icons/external/nuget.svg +5 -0
- package/src/assets/icons/external/packagist.svg +1 -0
- package/src/assets/icons/external/pypi.svg +182 -0
- package/src/assets/icons/external/rubygems.svg +14 -0
- package/src/assets/icons/external/terraform.svg +1 -0
- package/src/assets/icons/languages/csharp.svg +1 -0
- package/src/assets/icons/languages/go.svg +1 -0
- package/src/assets/icons/languages/java.svg +1 -0
- package/src/assets/icons/languages/json.svg +2 -0
- package/src/assets/icons/languages/php.svg +1 -0
- package/src/assets/icons/languages/postman.svg +3 -0
- package/src/assets/icons/languages/python.svg +1 -0
- package/src/assets/icons/languages/ruby.svg +1 -0
- package/src/assets/icons/languages/swift.svg +1 -0
- package/src/assets/icons/languages/terraform.svg +1 -0
- package/src/assets/icons/languages/typescript.svg +1 -0
- package/src/assets/icons/languages/unity.svg +1 -0
- package/src/base.css +12 -12
- package/src/components/AIChat/AIChatContainer.tsx +71 -0
- package/src/components/AIChat/AIChatMessage.tsx +135 -0
- package/src/components/AIChat/AIChatMessageComposer.tsx +175 -0
- package/src/components/AIChat/AIChatMessageList.tsx +34 -0
- package/src/components/AIChat/AIChatModelSelector.tsx +159 -0
- package/src/components/AIChat/componentsTypes.ts +36 -0
- package/src/components/AIChat/context.ts +15 -0
- package/src/components/AIChat/index.ts +12 -0
- package/src/components/AIChat/parts/AIChatMessageFilePart.tsx +129 -0
- package/src/components/AIChat/parts/AIChatMessageReasoningPart.tsx +23 -0
- package/src/components/AIChat/parts/AIChatMessageSourcePart.tsx +58 -0
- package/src/components/AIChat/parts/AIChatMessageTextPart.tsx +33 -0
- package/src/components/AIChat/parts/AIChatMessageToolInvocationPart.tsx +53 -0
- package/src/components/AIChat/parts/AIChatMessageToolPart.tsx +395 -0
- package/src/components/AIChat/parts/AIChatMessageToolResultPart.tsx +46 -0
- package/src/components/AIChat/toolCallApproval.ts +61 -0
- package/src/components/AIChat/types.ts +97 -0
- package/src/components/ActionBar/index.tsx +184 -0
- package/src/components/Alert/index.tsx +118 -0
- package/src/components/Alert/types.ts +12 -0
- package/src/components/AppLayout/context.tsx +31 -0
- package/src/components/AppLayout/index.tsx +550 -0
- package/src/components/AppLayout/provider.tsx +40 -0
- package/src/components/AppLayout/useAppLayoutKeys.ts +26 -0
- package/src/components/Badge/index.tsx +227 -0
- package/src/components/Button/index.tsx +531 -0
- package/src/components/Card/index.tsx +193 -0
- package/src/components/CodeEditorLayout/index.tsx +394 -0
- package/src/components/CodeEditorLayout/styles.module.css +8 -0
- package/src/components/CodeHighlight/Pre.tsx +63 -0
- package/src/components/CodePlayground/index.tsx +411 -0
- package/src/components/CodeSnippet/codeSnippet.css +97 -0
- package/src/components/CodeSnippet/index.tsx +224 -0
- package/src/components/Combobox/index.tsx +193 -0
- package/src/components/Command/index.tsx +152 -0
- package/src/components/Container/index.tsx +31 -0
- package/src/components/ContextDropdown/index.tsx +150 -0
- package/src/components/Dialog/index.tsx +123 -0
- package/src/components/DragNDrop/DragNDropArea.tsx +30 -0
- package/src/components/DragNDrop/DragOverlay.tsx +4 -0
- package/src/components/DragNDrop/Draggable.tsx +97 -0
- package/src/components/DragNDrop/Droppable.tsx +51 -0
- package/src/components/Dropdown/index.tsx +201 -0
- package/src/components/ExternalPill/index.tsx +58 -0
- package/src/components/Facepile/index.tsx +309 -0
- package/src/components/GradientCircle/gradientCircle.css +34 -0
- package/src/components/GradientCircle/index.tsx +143 -0
- package/src/components/Grid/index.tsx +150 -0
- package/src/components/Heading/index.tsx +54 -0
- package/src/components/HighlightedText/index.tsx +152 -0
- package/src/components/Icon/customIcons/createCustomLucideIcon.ts +25 -0
- package/src/components/Icon/customIcons/gems.ts +26 -0
- package/{dist/go-CiWl_aXI.mjs → src/components/Icon/customIcons/go.ts} +21 -19
- package/src/components/Icon/customIcons/index.ts +11 -0
- package/{dist/maven-DhmnGXoB.mjs → src/components/Icon/customIcons/maven.ts} +17 -15
- package/src/components/Icon/customIcons/npm.ts +19 -0
- package/{dist/nuget-5a2icRS2.mjs → src/components/Icon/customIcons/nuget.ts} +17 -15
- package/src/components/Icon/customIcons/packagist.ts +124 -0
- package/{dist/pypi-DsuRYjdK.mjs → src/components/Icon/customIcons/pypi.ts} +16 -14
- package/src/components/Icon/index.tsx +83 -0
- package/src/components/Icon/isIconName.ts +10 -0
- package/src/components/Icon/names.ts +14 -0
- package/src/components/IconButton/index.tsx +51 -0
- package/src/components/Input/index.tsx +98 -0
- package/src/components/KeyHint/index.tsx +118 -0
- package/src/components/LanguageIndicator/index.tsx +68 -0
- package/src/components/Link/index.tsx +153 -0
- package/src/components/LoggedInUserMenu/index.tsx +116 -0
- package/src/components/Logo/Animated.tsx +191 -0
- package/src/components/Logo/index.tsx +17 -0
- package/src/components/Logo/speakeasy-logo.riv +0 -0
- package/src/components/Logo/svgs/index.tsx +126 -0
- package/src/components/Modal/index.tsx +104 -0
- package/src/components/PageHeader/index.tsx +227 -0
- package/src/components/PageHeader/styles.module.css +27 -0
- package/src/components/Popover/index.tsx +35 -0
- package/src/components/PromptInput/index.tsx +372 -0
- package/src/components/PullRequestLink/index.tsx +64 -0
- package/src/components/ResizablePanel/index.tsx +119 -0
- package/src/components/Score/index.module.css +32 -0
- package/src/components/Score/index.tsx +268 -0
- package/src/components/ScrollArea/index.tsx +48 -0
- package/src/components/SegmentedButton/index.module.css +19 -0
- package/src/components/SegmentedButton/index.tsx +101 -0
- package/src/components/Select/index.tsx +159 -0
- package/src/components/Separator/index.tsx +23 -0
- package/src/components/Skeleton/index.tsx +61 -0
- package/src/components/Skeleton/skeleton.css +52 -0
- package/src/components/Stack/index.tsx +137 -0
- package/src/components/Subnav/index.tsx +315 -0
- package/src/components/Switch/index.tsx +29 -0
- package/src/components/Table/context/context.tsx +19 -0
- package/src/components/Table/context/tableProvider.tsx +39 -0
- package/src/components/Table/index.tsx +707 -0
- package/src/components/Table/styles.module.css +25 -0
- package/src/components/Tabs/index.tsx +87 -0
- package/src/components/TargetLanguageIcon/index.tsx +84 -0
- package/src/components/Text/index.tsx +59 -0
- package/src/components/ThemeSwitcher/index.tsx +118 -0
- package/src/components/Timeline/index.tsx +290 -0
- package/src/components/Tooltip/index.tsx +41 -0
- package/src/components/UserAvatar/index.tsx +87 -0
- package/src/components/UserAvatar/sizeMap.ts +12 -0
- package/src/components/Wizard/index.tsx +208 -0
- package/src/components/Wizard/types.ts +17 -0
- package/src/components/WorkspaceSelector/CreateOrg.tsx +95 -0
- package/src/components/WorkspaceSelector/CreateWorkspace.tsx +196 -0
- package/src/components/WorkspaceSelector/OrgList.tsx +115 -0
- package/src/components/WorkspaceSelector/OrgSelector.tsx +207 -0
- package/src/components/WorkspaceSelector/RecentWorkspaces.tsx +83 -0
- package/src/components/WorkspaceSelector/ScrollingList.tsx +84 -0
- package/src/components/WorkspaceSelector/SearchBox.tsx +40 -0
- package/src/components/WorkspaceSelector/WorkspaceItem.tsx +37 -0
- package/src/components/WorkspaceSelector/WorkspaceList.tsx +107 -0
- package/src/components/WorkspaceSelector/index.tsx +400 -0
- package/src/components/WorkspaceSelector/styles.css +74 -0
- package/src/components/__beta__/CLIWizard/index.tsx +357 -0
- package/src/components/__beta__/CLIWizard/terminal-command.tsx +108 -0
- package/src/components/__beta__/CLIWizard/terminal.tsx +83 -0
- package/src/components/__beta__/README.md +3 -0
- package/src/components/index.mdx +38 -0
- package/src/context/ConfigContext.tsx +43 -0
- package/src/context/ModalContext.tsx +118 -0
- package/src/context/theme.ts +1 -0
- package/src/hooks/useAppLayout.ts +10 -0
- package/src/hooks/useConfig.ts +10 -0
- package/src/hooks/useIsMounted.ts +13 -0
- package/src/hooks/useModal.tsx +10 -0
- package/src/hooks/useTailwindBreakpoint.ts +47 -0
- package/src/hooks/useTheme.ts +13 -0
- package/src/index.ts +234 -0
- package/src/lib/assert.ts +9 -0
- package/src/lib/codeUtils.ts +177 -0
- package/src/lib/debounce.ts +9 -0
- package/src/lib/responsiveMappers.ts +69 -0
- package/src/lib/responsiveUtils.ts +23 -0
- package/src/lib/storybookUtils.tsx +26 -0
- package/src/lib/typeUtils.ts +109 -0
- package/src/lib/utils.ts +85 -0
- package/src/styles/codeSyntax.css +59 -0
- package/src/styles/globals.css +51 -0
- package/src/types.ts +200 -0
- package/src/utilities.css +347 -6
- package/src/vite-env.d.ts +6 -0
- package/types/utilities.d.ts +43 -1
- package/dist/components/AIChat/AIChatContainer.d.ts +0 -25
- package/dist/components/AIChat/AIChatMessage.d.ts +0 -19
- package/dist/components/AIChat/AIChatMessageComposer.d.ts +0 -22
- package/dist/components/AIChat/AIChatMessageList.d.ts +0 -6
- package/dist/components/AIChat/AIChatModelSelector.d.ts +0 -14
- package/dist/components/AIChat/componentsTypes.d.ts +0 -11
- package/dist/components/AIChat/context.d.ts +0 -3
- package/dist/components/AIChat/index.d.ts +0 -12
- package/dist/components/AIChat/parts/AIChatMessageFilePart.d.ts +0 -7
- package/dist/components/AIChat/parts/AIChatMessageReasoningPart.d.ts +0 -5
- package/dist/components/AIChat/parts/AIChatMessageSourcePart.d.ts +0 -9
- package/dist/components/AIChat/parts/AIChatMessageTextPart.d.ts +0 -5
- package/dist/components/AIChat/parts/AIChatMessageToolInvocationPart.d.ts +0 -6
- package/dist/components/AIChat/parts/AIChatMessageToolPart.d.ts +0 -33
- package/dist/components/AIChat/parts/AIChatMessageToolResultPart.d.ts +0 -5
- package/dist/components/AIChat/toolCallApproval.d.ts +0 -15
- package/dist/components/AIChat/types.d.ts +0 -78
- package/dist/components/ActionBar/index.d.ts +0 -36
- package/dist/components/Alert/index.d.ts +0 -18
- package/dist/components/Alert/types.d.ts +0 -4
- package/dist/components/Badge/index.d.ts +0 -10
- package/dist/components/Button/index.d.ts +0 -11
- package/dist/components/Card/index.d.ts +0 -47
- package/dist/components/CodeEditorLayout/index.d.ts +0 -101
- package/dist/components/CodePlayground/index.d.ts +0 -108
- package/dist/components/CodePlayground/lineNumbers.d.ts +0 -2
- package/dist/components/CodePlayground/tokenTransitions.d.ts +0 -2
- package/dist/components/CodePlayground/wordWrap.d.ts +0 -2
- package/dist/components/CodeSnippet/index.d.ts +0 -50
- package/dist/components/Combobox/index.d.ts +0 -35
- package/dist/components/Command/index.d.ts +0 -80
- package/dist/components/Container/index.d.ts +0 -9
- package/dist/components/ContextDropdown/index.d.ts +0 -7
- package/dist/components/ContextDropdown/provider.d.ts +0 -22
- package/dist/components/ContextDropdown/useModal.d.ts +0 -11
- package/dist/components/Dialog/index.d.ts +0 -19
- package/dist/components/DragNDrop/DragNDropArea.d.ts +0 -8
- package/dist/components/DragNDrop/DragOverlay.d.ts +0 -1
- package/dist/components/DragNDrop/Draggable.d.ts +0 -29
- package/dist/components/DragNDrop/Droppable.d.ts +0 -28
- package/dist/components/Dropdown/index.d.ts +0 -27
- package/dist/components/ExternalPill/index.d.ts +0 -12
- package/dist/components/Facepile/index.d.ts +0 -16
- package/dist/components/GradientCircle/index.d.ts +0 -10
- package/dist/components/Grid/index.d.ts +0 -80
- package/dist/components/Heading/index.d.ts +0 -12
- package/dist/components/HighlightedText/index.d.ts +0 -19
- package/dist/components/Icon/customIcons/createCustomLucideIcon.d.ts +0 -3
- package/dist/components/Icon/customIcons/gems.d.ts +0 -2
- package/dist/components/Icon/customIcons/go.d.ts +0 -2
- package/dist/components/Icon/customIcons/index.d.ts +0 -10
- package/dist/components/Icon/customIcons/maven.d.ts +0 -2
- package/dist/components/Icon/customIcons/npm.d.ts +0 -2
- package/dist/components/Icon/customIcons/nuget.d.ts +0 -2
- package/dist/components/Icon/customIcons/packagist.d.ts +0 -2
- package/dist/components/Icon/customIcons/pypi.d.ts +0 -2
- package/dist/components/Icon/index.d.ts +0 -10
- package/dist/components/Icon/isIconName.d.ts +0 -2
- package/dist/components/Icon/names.d.ts +0 -6
- package/dist/components/Input/index.d.ts +0 -8
- package/dist/components/KeyHint/index.d.ts +0 -16
- package/dist/components/LanguageIndicator/index.d.ts +0 -7
- package/dist/components/Link/index.d.ts +0 -19
- package/dist/components/LoggedInUserMenu/index.d.ts +0 -17
- package/dist/components/Logo/Animated.d.ts +0 -7
- package/dist/components/Logo/index.d.ts +0 -7
- package/dist/components/Logo/svgs/index.d.ts +0 -6
- package/dist/components/Navbar/Slim.d.ts +0 -33
- package/dist/components/Navbar/index.d.ts +0 -15
- package/dist/components/PageHeader/index.d.ts +0 -45
- package/dist/components/Popover/index.d.ts +0 -8
- package/dist/components/PromptInput/index.d.ts +0 -55
- package/dist/components/PullRequestLink/index.d.ts +0 -10
- package/dist/components/ResizablePanel/index.d.ts +0 -26
- package/dist/components/Score/index.d.ts +0 -37
- package/dist/components/ScrollArea/index.d.ts +0 -5
- package/dist/components/Select/index.d.ts +0 -13
- package/dist/components/Separator/index.d.ts +0 -6
- package/dist/components/Skeleton/index.d.ts +0 -27
- package/dist/components/Stack/index.d.ts +0 -33
- package/dist/components/Subnav/index.d.ts +0 -12
- package/dist/components/Switch/index.d.ts +0 -4
- package/dist/components/Table/context/context.d.ts +0 -8
- package/dist/components/Table/context/tableProvider.d.ts +0 -6
- package/dist/components/Table/index.d.ts +0 -94
- package/dist/components/Tabs/index.d.ts +0 -21
- package/dist/components/TargetLanguageIcon/index.d.ts +0 -7
- package/dist/components/Text/index.d.ts +0 -19
- package/dist/components/ThemeSwitcher/index.d.ts +0 -5
- package/dist/components/Tooltip/index.d.ts +0 -8
- package/dist/components/UserAvatar/index.d.ts +0 -9
- package/dist/components/UserAvatar/sizeMap.d.ts +0 -3
- package/dist/components/Wizard/index.d.ts +0 -19
- package/dist/components/Wizard/types.d.ts +0 -15
- package/dist/components/WorkspaceSelector/CreateOrg.d.ts +0 -6
- package/dist/components/WorkspaceSelector/CreateWorkspace.d.ts +0 -17
- package/dist/components/WorkspaceSelector/OrgList.d.ts +0 -11
- package/dist/components/WorkspaceSelector/OrgSelector.d.ts +0 -13
- package/dist/components/WorkspaceSelector/RecentWorkspaces.d.ts +0 -11
- package/dist/components/WorkspaceSelector/ScrollingList.d.ts +0 -21
- package/dist/components/WorkspaceSelector/SearchBox.d.ts +0 -9
- package/dist/components/WorkspaceSelector/WorkspaceItem.d.ts +0 -9
- package/dist/components/WorkspaceSelector/WorkspaceList.d.ts +0 -10
- package/dist/components/WorkspaceSelector/index.d.ts +0 -34
- package/dist/components/__beta__/CLIWizard/index.d.ts +0 -21
- package/dist/components/__beta__/CLIWizard/terminal-command.d.ts +0 -19
- package/dist/components/__beta__/CLIWizard/terminal.d.ts +0 -26
- package/dist/context/ConfigContext.d.ts +0 -18
- package/dist/context/theme.d.ts +0 -1
- package/dist/createCustomLucideIcon-YlrRX5h9.mjs +0 -19
- package/dist/createCustomLucideIcon-YlrRX5h9.mjs.map +0 -1
- package/dist/gems-BcsO9cXq.mjs +0 -24
- package/dist/gems-BcsO9cXq.mjs.map +0 -1
- package/dist/github-kgjMtfE7.mjs +0 -11
- package/dist/github-kgjMtfE7.mjs.map +0 -1
- package/dist/go-CiWl_aXI.mjs.map +0 -1
- package/dist/hooks/useConfig.d.ts +0 -2
- package/dist/hooks/useIsMounted.d.ts +0 -1
- package/dist/hooks/useTailwindBreakpoint.d.ts +0 -3
- package/dist/hooks/useTheme.d.ts +0 -6
- package/dist/index-COXZ9O-g.mjs +0 -50882
- package/dist/index-COXZ9O-g.mjs.map +0 -1
- package/dist/index.d.ts +0 -73
- package/dist/lib/assert.d.ts +0 -2
- package/dist/lib/codeUtils.d.ts +0 -35
- package/dist/lib/debounce.d.ts +0 -1
- package/dist/lib/responsiveMappers.d.ts +0 -10
- package/dist/lib/responsiveUtils.d.ts +0 -3
- package/dist/lib/storybookUtils.d.ts +0 -5
- package/dist/lib/typeUtils.d.ts +0 -24
- package/dist/lib/utils.d.ts +0 -23
- package/dist/lucide-icons-BDw0imyx.mjs +0 -28054
- package/dist/lucide-icons-BDw0imyx.mjs.map +0 -1
- package/dist/maven-DhmnGXoB.mjs.map +0 -1
- package/dist/maven-W_nkSDNW.mjs +0 -107
- package/dist/maven-W_nkSDNW.mjs.map +0 -1
- package/dist/moonshine.es.js +0 -114
- package/dist/moonshine.es.js.map +0 -1
- package/dist/npm-BWTcVvFH.mjs +0 -11
- package/dist/npm-BWTcVvFH.mjs.map +0 -1
- package/dist/npm-CvQ4GKW4.mjs +0 -17
- package/dist/npm-CvQ4GKW4.mjs.map +0 -1
- package/dist/nuget-5a2icRS2.mjs.map +0 -1
- package/dist/nuget-CV5HU1JR.mjs +0 -11
- package/dist/nuget-CV5HU1JR.mjs.map +0 -1
- package/dist/packagist-CET6q9hi.mjs +0 -118
- package/dist/packagist-CET6q9hi.mjs.map +0 -1
- package/dist/packagist-D01fn9N_.mjs +0 -11
- package/dist/packagist-D01fn9N_.mjs.map +0 -1
- package/dist/pypi-DLh6kIJe.mjs +0 -11
- package/dist/pypi-DLh6kIJe.mjs.map +0 -1
- package/dist/pypi-DsuRYjdK.mjs.map +0 -1
- package/dist/rubygems-DeiNjcDV.mjs +0 -11
- package/dist/rubygems-DeiNjcDV.mjs.map +0 -1
- package/dist/speakeasy-logo-ByBTXLWb.mjs +0 -5
- package/dist/speakeasy-logo-ByBTXLWb.mjs.map +0 -1
- package/dist/style.css +0 -1
- package/dist/terraform-C4aktQ0o.mjs +0 -11
- package/dist/terraform-C4aktQ0o.mjs.map +0 -1
- package/dist/types.d.ts +0 -80
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
3
|
-
export declare const Dialog: React.FC<DialogPrimitive.DialogProps> & {
|
|
4
|
-
Portal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
5
|
-
Overlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
-
Close: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
Trigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
8
|
-
Content: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
Header: {
|
|
10
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
Footer: {
|
|
14
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
displayName: string;
|
|
16
|
-
};
|
|
17
|
-
Title: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
18
|
-
Description: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
19
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CollisionDetection, Modifier } from '@dnd-kit/core';
|
|
2
|
-
export interface DragNDropAreaProps {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
modifiers?: Modifier[];
|
|
5
|
-
className?: string;
|
|
6
|
-
collisionDetectionAlgo?: CollisionDetection;
|
|
7
|
-
}
|
|
8
|
-
export declare function DragNDropArea({ children, modifiers, className, collisionDetectionAlgo, }: DragNDropAreaProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DragOverlay: import('react').MemoExoticComponent<({ adjustScale, children, dropAnimation: dropAnimationConfig, style, transition, modifiers, wrapperElement, className, zIndex, }: import('@dnd-kit/core').DragOverlayProps) => JSX.Element>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Active, DndMonitorListener, Over, Data, UniqueIdentifier } from '@dnd-kit/core';
|
|
2
|
-
import { ClientRect } from '@dnd-kit/core/dist/types/rect';
|
|
3
|
-
import { MutableRefObject } from 'react';
|
|
4
|
-
export interface DraggableChildrenProps {
|
|
5
|
-
over: Over | null;
|
|
6
|
-
active: Active | null;
|
|
7
|
-
activeNodeRect: ClientRect | null;
|
|
8
|
-
isDragging: boolean;
|
|
9
|
-
node: MutableRefObject<HTMLElement | null> | null;
|
|
10
|
-
}
|
|
11
|
-
export interface DraggableProps<TData> extends DndMonitorListener {
|
|
12
|
-
/**
|
|
13
|
-
* The children to render.
|
|
14
|
-
*
|
|
15
|
-
* If a function is provided, it will be called with the current state of the draggable.
|
|
16
|
-
*/
|
|
17
|
-
children: React.ReactNode | ((props: DraggableChildrenProps) => React.ReactNode);
|
|
18
|
-
/**
|
|
19
|
-
* The unique identifier for the draggable.
|
|
20
|
-
*/
|
|
21
|
-
id: UniqueIdentifier;
|
|
22
|
-
className?: string;
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* The data to pass to the draggable of generic type TData.
|
|
26
|
-
*/
|
|
27
|
-
data?: TData;
|
|
28
|
-
}
|
|
29
|
-
export declare function Draggable<TData extends Data>({ children, id, onDragEnd, onDragStart, onDragCancel, onDragOver, className, disabled, data, }: DraggableProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Over, UniqueIdentifier } from '@dnd-kit/core';
|
|
2
|
-
import { ClientRect } from '@dnd-kit/core/dist/types/rect';
|
|
3
|
-
import { MutableRefObject, ReactNode } from 'react';
|
|
4
|
-
interface DroppableData {
|
|
5
|
-
isOver: boolean;
|
|
6
|
-
over: Over | null;
|
|
7
|
-
rect: MutableRefObject<ClientRect | null>;
|
|
8
|
-
node: MutableRefObject<HTMLElement | null>;
|
|
9
|
-
}
|
|
10
|
-
export interface DroppableProps<TData extends Record<string, unknown>> {
|
|
11
|
-
/**
|
|
12
|
-
* A function that returns a React node or a React node.
|
|
13
|
-
* If a function is provided, it will be called with the droppable data.
|
|
14
|
-
*/
|
|
15
|
-
children: ReactNode | ((props: DroppableData) => ReactNode);
|
|
16
|
-
/**
|
|
17
|
-
* The unique identifier for the droppable container.
|
|
18
|
-
*/
|
|
19
|
-
id: UniqueIdentifier;
|
|
20
|
-
/**
|
|
21
|
-
* The data to pass to the droppable container.
|
|
22
|
-
* Will be returned in any dragOver events for draggables that are over this droppable.
|
|
23
|
-
*/
|
|
24
|
-
data?: TData;
|
|
25
|
-
className?: string;
|
|
26
|
-
}
|
|
27
|
-
export declare function Droppable<TData extends Record<string, unknown>>({ children, id, data, className, }: DroppableProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
export {};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
3
|
-
declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
4
|
-
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
-
declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
-
declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
7
|
-
declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
8
|
-
declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
10
|
-
inset?: boolean;
|
|
11
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
-
declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
-
declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
15
|
-
inset?: boolean;
|
|
16
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
-
declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
-
declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
-
declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
20
|
-
inset?: boolean;
|
|
21
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
-
declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
-
declare const DropdownMenuShortcut: {
|
|
24
|
-
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
displayName: string;
|
|
26
|
-
};
|
|
27
|
-
export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
type AllExternalIcons = 'github' | 'npm' | 'rubygems' | 'nuget' | 'maven' | 'pypi' | 'packagist' | 'terraform';
|
|
3
|
-
export interface ExternalPillProps {
|
|
4
|
-
href: string;
|
|
5
|
-
icon: AllExternalIcons;
|
|
6
|
-
text: React.ReactNode;
|
|
7
|
-
title?: string;
|
|
8
|
-
target?: '_blank' | '_self' | '_parent' | '_top';
|
|
9
|
-
className?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare function ExternalPill({ href, icon, text, target, title, className, }: ExternalPillProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ResponsiveValue, Size } from '../../types';
|
|
2
|
-
import { UserAvatarProps } from '../UserAvatar';
|
|
3
|
-
type FacepileVariant = 'interactive' | 'static';
|
|
4
|
-
type AvatarProps = Omit<UserAvatarProps, 'size'> & {
|
|
5
|
-
href?: string;
|
|
6
|
-
};
|
|
7
|
-
export interface FacepileProps {
|
|
8
|
-
avatars: AvatarProps[];
|
|
9
|
-
maxFaces?: number;
|
|
10
|
-
avatarSize?: ResponsiveValue<Size>;
|
|
11
|
-
variant?: FacepileVariant;
|
|
12
|
-
tooltips?: boolean;
|
|
13
|
-
className?: string;
|
|
14
|
-
}
|
|
15
|
-
export declare function Facepile({ avatars, maxFaces, avatarSize, variant, tooltips, className, }: FacepileProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Size } from '../../types';
|
|
2
|
-
export interface GradientCircleProps {
|
|
3
|
-
name: string;
|
|
4
|
-
size?: Size;
|
|
5
|
-
transition?: boolean;
|
|
6
|
-
showInitial?: boolean;
|
|
7
|
-
inactive?: boolean;
|
|
8
|
-
className?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare function GradientCircle({ name, size, transition, showInitial, inactive, className, }: GradientCircleProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { Columns, Gap, Padding, ResponsiveValue } from '../../types';
|
|
2
|
-
import { ReactElement } from 'react';
|
|
3
|
-
export interface GridProps {
|
|
4
|
-
/**
|
|
5
|
-
* The number of columns in the grid.
|
|
6
|
-
* @default 1
|
|
7
|
-
* @example Default
|
|
8
|
-
* <Grid columns={2}>
|
|
9
|
-
* <Grid.Item>Item 1</Grid.Item>
|
|
10
|
-
* <Grid.Item>Item 2</Grid.Item>
|
|
11
|
-
* </Grid>
|
|
12
|
-
* @example With responsive columns
|
|
13
|
-
* <Grid columns={{ xs: 1, md: 2 }}>
|
|
14
|
-
* <Grid.Item>Item 1</Grid.Item>
|
|
15
|
-
* <Grid.Item>Item 2</Grid.Item>
|
|
16
|
-
* </Grid>
|
|
17
|
-
*/
|
|
18
|
-
columns?: ResponsiveValue<Columns>;
|
|
19
|
-
/**
|
|
20
|
-
* The gap between the grid items.
|
|
21
|
-
* @default 0
|
|
22
|
-
* @example Default
|
|
23
|
-
* <Grid gap={4}>
|
|
24
|
-
* <Grid.Item>Item 1</Grid.Item>
|
|
25
|
-
* <Grid.Item>Item 2</Grid.Item>
|
|
26
|
-
* </Grid>
|
|
27
|
-
* @example With responsive gap
|
|
28
|
-
* <Grid gap={{ xs: 2, md: 4 }}>
|
|
29
|
-
* <Grid.Item>Item 1</Grid.Item>
|
|
30
|
-
* <Grid.Item>Item 2</Grid.Item>
|
|
31
|
-
* </Grid>
|
|
32
|
-
*/
|
|
33
|
-
gap?: ResponsiveValue<Gap>;
|
|
34
|
-
/**
|
|
35
|
-
* The Grid.Item children of the grid.
|
|
36
|
-
* @example
|
|
37
|
-
* <Grid>
|
|
38
|
-
* <Grid.Item>Item 1</Grid.Item>
|
|
39
|
-
* <Grid.Item>Item 2</Grid.Item>
|
|
40
|
-
* </Grid>
|
|
41
|
-
*/
|
|
42
|
-
children: Array<ReactElement<typeof GridItem>>;
|
|
43
|
-
/**
|
|
44
|
-
* If true, the grid will wrap its children.
|
|
45
|
-
* @default false
|
|
46
|
-
*/
|
|
47
|
-
wrap?: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Can be an object of responsive Padding values, or just Padding values.
|
|
50
|
-
*
|
|
51
|
-
* @example Simple Padding
|
|
52
|
-
* padding: 10
|
|
53
|
-
*
|
|
54
|
-
* @example Responsive Padding
|
|
55
|
-
* padding: { xs: 10, md: 20, lg: 30, xl: 40 }
|
|
56
|
-
*
|
|
57
|
-
* @example Padding per side
|
|
58
|
-
* padding: { top: 10, right: 0, bottom: 10, left: 0 }
|
|
59
|
-
*
|
|
60
|
-
* @example Responsive Padding per side (just x and y axis)
|
|
61
|
-
* padding: { xs: 0, md: 0, lg: 0, xl: { x: 10, y: 12 } }
|
|
62
|
-
*
|
|
63
|
-
* @example Responsive Padding per side with different values for each side
|
|
64
|
-
* padding: { xs: 0, md: 0, lg: 0, xl: { top: 10, right: 0, bottom: 10, left: 0 } }
|
|
65
|
-
*/
|
|
66
|
-
padding?: ResponsiveValue<Padding>;
|
|
67
|
-
className?: string;
|
|
68
|
-
}
|
|
69
|
-
type PermittedHTMLAttributes = Omit<React.HTMLAttributes<HTMLDivElement>, 'className'>;
|
|
70
|
-
interface GridItemProps extends PermittedHTMLAttributes {
|
|
71
|
-
children: React.ReactNode;
|
|
72
|
-
colSpan?: ResponsiveValue<number>;
|
|
73
|
-
padding?: ResponsiveValue<Padding>;
|
|
74
|
-
className?: string;
|
|
75
|
-
}
|
|
76
|
-
declare const GridItem: ({ children, colSpan, padding, className, ...props }: GridItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
77
|
-
declare const GridWithSubcomponents: (({ children, columns, gap, wrap, padding, className, }: GridProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
78
|
-
Item: ({ children, colSpan, padding, className, ...props }: GridItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
79
|
-
};
|
|
80
|
-
export { GridWithSubcomponents as Grid };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
type HeadingVariant = 'xl' | 'lg' | 'md' | 'sm' | 'xs';
|
|
3
|
-
type HeadingElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
4
|
-
export interface HeadingProps extends React.HTMLAttributes<HTMLHeadingElement> {
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
variant?: HeadingVariant;
|
|
7
|
-
as?: HeadingElement;
|
|
8
|
-
className?: string;
|
|
9
|
-
viewTransitionName?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<HTMLElement>>;
|
|
12
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export interface HighlightedTextProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
2
|
-
children: string;
|
|
3
|
-
color?: Color;
|
|
4
|
-
muted?: boolean;
|
|
5
|
-
animate?: boolean;
|
|
6
|
-
animationDuration?: number;
|
|
7
|
-
/**
|
|
8
|
-
* Whether the animation should trigger when the element is in view or immediately.
|
|
9
|
-
*/
|
|
10
|
-
animationTrigger?: 'inView' | 'instant';
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare function HighlightedText({ children, color, muted, animate, className, animationTrigger, animationDuration, }: HighlightedTextProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export declare const highlightColors: readonly ["green", "blue", "purple", "orange", "emerald"];
|
|
15
|
-
export type Color = (typeof highlightColors)[number];
|
|
16
|
-
export declare const highlightBgMap: Record<Color, string>;
|
|
17
|
-
export declare const mutedBgMap: Record<Color, string>;
|
|
18
|
-
export declare const mutedFgMap: Record<Color, string>;
|
|
19
|
-
export declare const highlightFgMap: Record<Color, string>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { IconNode, LucideProps } from 'lucide-react';
|
|
2
|
-
declare const createCustomLucideIcon: (iconName: string, iconNode: IconNode, lucideProps?: Partial<LucideProps>) => import('react').ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
3
|
-
export default createCustomLucideIcon;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
declare const dynamicIconImports: {
|
|
2
|
-
npm: () => Promise<typeof import("./npm")>;
|
|
3
|
-
pypi: () => Promise<typeof import("./pypi")>;
|
|
4
|
-
nuget: () => Promise<typeof import("./nuget")>;
|
|
5
|
-
go: () => Promise<typeof import("./go")>;
|
|
6
|
-
gems: () => Promise<typeof import("./gems")>;
|
|
7
|
-
maven: () => Promise<typeof import("./maven")>;
|
|
8
|
-
packagist: () => Promise<typeof import("./packagist")>;
|
|
9
|
-
};
|
|
10
|
-
export { dynamicIconImports as default };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { LucideProps } from 'lucide-react';
|
|
2
|
-
import { ResponsiveValue, Size } from '../../types';
|
|
3
|
-
import { IconName } from './names';
|
|
4
|
-
type SvgProps = Pick<LucideProps, 'stroke' | 'strokeWidth' | 'strokeOpacity' | 'size' | 'viewBox' | 'fill' | 'fillOpacity' | 'className'>;
|
|
5
|
-
export interface IconProps extends Omit<SvgProps, 'size'> {
|
|
6
|
-
name: IconName;
|
|
7
|
-
size?: ResponsiveValue<Size>;
|
|
8
|
-
}
|
|
9
|
-
export declare function Icon({ name, size, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { default as dynamicIconImports } from 'lucide-react/dynamicIconImports';
|
|
2
|
-
import { default as customDynamicIconImports } from './customIcons';
|
|
3
|
-
export declare const lucideIconNames: (keyof typeof dynamicIconImports)[];
|
|
4
|
-
export declare const customIconNames: (keyof typeof customDynamicIconImports)[];
|
|
5
|
-
export declare const iconNames: ("ghost" | "link" | "baseline" | "go" | "box" | "container" | "contrast" | "filter" | "scale-3d" | "scale" | "shrink" | "radius" | "text" | "replace" | "search" | "slice" | "split" | "repeat" | "anchor" | "bold" | "heading" | "code" | "map" | "menu" | "option" | "section" | "table" | "video" | "circle" | "image" | "view" | "key" | "target" | "type" | "x" | "download" | "list" | "frame" | "send" | "group" | "navigation" | "presentation" | "radio" | "timer" | "copy" | "move" | "mouse" | "pen" | "focus" | "pause" | "play" | "scroll" | "crosshair" | "grab" | "pointer" | "zoom-in" | "zoom-out" | "wheat" | "space" | "italic" | "square" | "underline" | "check" | "expand" | "terminal" | "npm" | "pypi" | "nuget" | "gems" | "maven" | "packagist" | "a-arrow-down" | "a-arrow-up" | "a-large-small" | "accessibility" | "activity" | "air-vent" | "airplay" | "alarm-clock-check" | "alarm-clock-minus" | "alarm-clock-off" | "alarm-clock-plus" | "alarm-clock" | "alarm-smoke" | "album" | "align-center-horizontal" | "align-center-vertical" | "align-center" | "align-end-horizontal" | "align-end-vertical" | "align-horizontal-distribute-center" | "align-horizontal-distribute-end" | "align-horizontal-distribute-start" | "align-horizontal-justify-center" | "align-horizontal-justify-end" | "align-horizontal-justify-start" | "align-horizontal-space-around" | "align-horizontal-space-between" | "align-justify" | "align-left" | "align-right" | "align-start-horizontal" | "align-start-vertical" | "align-vertical-distribute-center" | "align-vertical-distribute-end" | "align-vertical-distribute-start" | "align-vertical-justify-center" | "align-vertical-justify-end" | "align-vertical-justify-start" | "align-vertical-space-around" | "align-vertical-space-between" | "ambulance" | "ampersand" | "ampersands" | "amphora" | "angry" | "annoyed" | "antenna" | "anvil" | "aperture" | "app-window-mac" | "app-window" | "apple" | "archive-restore" | "archive-x" | "archive" | "armchair" | "arrow-big-down-dash" | "arrow-big-down" | "arrow-big-left-dash" | "arrow-big-left" | "arrow-big-right-dash" | "arrow-big-right" | "arrow-big-up-dash" | "arrow-big-up" | "arrow-down-0-1" | "arrow-down-1-0" | "arrow-down-a-z" | "arrow-down-from-line" | "arrow-down-left" | "arrow-down-narrow-wide" | "arrow-down-right" | "arrow-down-to-dot" | "arrow-down-to-line" | "arrow-down-up" | "arrow-down-wide-narrow" | "arrow-down-z-a" | "arrow-down" | "arrow-left-from-line" | "arrow-left-right" | "arrow-left-to-line" | "arrow-left" | "arrow-right-from-line" | "arrow-right-left" | "arrow-right-to-line" | "arrow-right" | "arrow-up-0-1" | "arrow-up-1-0" | "arrow-up-a-z" | "arrow-up-down" | "arrow-up-from-dot" | "arrow-up-from-line" | "arrow-up-left" | "arrow-up-narrow-wide" | "arrow-up-right" | "arrow-up-to-line" | "arrow-up-wide-narrow" | "arrow-up-z-a" | "arrow-up" | "arrows-up-from-line" | "asterisk" | "at-sign" | "atom" | "audio-lines" | "audio-waveform" | "award" | "axe" | "axis-3d" | "baby" | "backpack" | "badge-alert" | "badge-cent" | "badge-check" | "badge-dollar-sign" | "badge-euro" | "badge-help" | "badge-indian-rupee" | "badge-info" | "badge-japanese-yen" | "badge-minus" | "badge-percent" | "badge-plus" | "badge-pound-sterling" | "badge-russian-ruble" | "badge-swiss-franc" | "badge-x" | "badge" | "baggage-claim" | "ban" | "banana" | "bandage" | "banknote" | "barcode" | "bath" | "battery-charging" | "battery-full" | "battery-low" | "battery-medium" | "battery-warning" | "battery" | "beaker" | "bean-off" | "bean" | "bed-double" | "bed-single" | "bed" | "beef" | "beer-off" | "beer" | "bell-dot" | "bell-electric" | "bell-minus" | "bell-off" | "bell-plus" | "bell-ring" | "bell" | "between-horizontal-end" | "between-horizontal-start" | "between-vertical-end" | "between-vertical-start" | "biceps-flexed" | "bike" | "binary" | "binoculars" | "biohazard" | "bird" | "bitcoin" | "blend" | "blinds" | "blocks" | "bluetooth-connected" | "bluetooth-off" | "bluetooth-searching" | "bluetooth" | "bolt" | "bomb" | "bone" | "book-a" | "book-audio" | "book-check" | "book-copy" | "book-dashed" | "book-down" | "book-headphones" | "book-heart" | "book-image" | "book-key" | "book-lock" | "book-marked" | "book-minus" | "book-open-check" | "book-open-text" | "book-open" | "book-plus" | "book-text" | "book-type" | "book-up-2" | "book-up" | "book-user" | "book-x" | "book" | "bookmark-check" | "bookmark-minus" | "bookmark-plus" | "bookmark-x" | "bookmark" | "boom-box" | "bot-message-square" | "bot-off" | "bot" | "boxes" | "braces" | "brackets" | "brain-circuit" | "brain-cog" | "brain" | "brick-wall" | "briefcase-business" | "briefcase-conveyor-belt" | "briefcase-medical" | "briefcase" | "bring-to-front" | "brush" | "bug-off" | "bug-play" | "bug" | "building-2" | "building" | "bus-front" | "bus" | "cable-car" | "cable" | "cake-slice" | "cake" | "calculator" | "calendar-1" | "calendar-arrow-down" | "calendar-arrow-up" | "calendar-check-2" | "calendar-check" | "calendar-clock" | "calendar-cog" | "calendar-days" | "calendar-fold" | "calendar-heart" | "calendar-minus-2" | "calendar-minus" | "calendar-off" | "calendar-plus-2" | "calendar-plus" | "calendar-range" | "calendar-search" | "calendar-x-2" | "calendar-x" | "calendar" | "camera-off" | "camera" | "candy-cane" | "candy-off" | "candy" | "cannabis" | "captions-off" | "captions" | "car-front" | "car-taxi-front" | "car" | "caravan" | "carrot" | "case-lower" | "case-sensitive" | "case-upper" | "cassette-tape" | "cast" | "castle" | "cat" | "cctv" | "chart-area" | "chart-bar-big" | "chart-bar-decreasing" | "chart-bar-increasing" | "chart-bar-stacked" | "chart-bar" | "chart-candlestick" | "chart-column-big" | "chart-column-decreasing" | "chart-column-increasing" | "chart-column-stacked" | "chart-column" | "chart-gantt" | "chart-line" | "chart-network" | "chart-no-axes-column-decreasing" | "chart-no-axes-column-increasing" | "chart-no-axes-column" | "chart-no-axes-combined" | "chart-no-axes-gantt" | "chart-pie" | "chart-scatter" | "chart-spline" | "check-check" | "chef-hat" | "cherry" | "chevron-down" | "chevron-first" | "chevron-last" | "chevron-left" | "chevron-right" | "chevron-up" | "chevrons-down-up" | "chevrons-down" | "chevrons-left-right-ellipsis" | "chevrons-left-right" | "chevrons-left" | "chevrons-right-left" | "chevrons-right" | "chevrons-up-down" | "chevrons-up" | "chrome" | "church" | "cigarette-off" | "cigarette" | "circle-alert" | "circle-arrow-down" | "circle-arrow-left" | "circle-arrow-out-down-left" | "circle-arrow-out-down-right" | "circle-arrow-out-up-left" | "circle-arrow-out-up-right" | "circle-arrow-right" | "circle-arrow-up" | "circle-check-big" | "circle-check" | "circle-chevron-down" | "circle-chevron-left" | "circle-chevron-right" | "circle-chevron-up" | "circle-dashed" | "circle-divide" | "circle-dollar-sign" | "circle-dot-dashed" | "circle-dot" | "circle-ellipsis" | "circle-equal" | "circle-fading-arrow-up" | "circle-fading-plus" | "circle-gauge" | "circle-help" | "circle-minus" | "circle-off" | "circle-parking-off" | "circle-parking" | "circle-pause" | "circle-percent" | "circle-play" | "circle-plus" | "circle-power" | "circle-slash-2" | "circle-slash" | "circle-stop" | "circle-user-round" | "circle-user" | "circle-x" | "circuit-board" | "citrus" | "clapperboard" | "clipboard-check" | "clipboard-copy" | "clipboard-list" | "clipboard-minus" | "clipboard-paste" | "clipboard-pen-line" | "clipboard-pen" | "clipboard-plus" | "clipboard-type" | "clipboard-x" | "clipboard" | "clock-1" | "clock-10" | "clock-11" | "clock-12" | "clock-2" | "clock-3" | "clock-4" | "clock-5" | "clock-6" | "clock-7" | "clock-8" | "clock-9" | "clock-alert" | "clock-arrow-down" | "clock-arrow-up" | "clock" | "cloud-cog" | "cloud-download" | "cloud-drizzle" | "cloud-fog" | "cloud-hail" | "cloud-lightning" | "cloud-moon-rain" | "cloud-moon" | "cloud-off" | "cloud-rain-wind" | "cloud-rain" | "cloud-snow" | "cloud-sun-rain" | "cloud-sun" | "cloud-upload" | "cloud" | "cloudy" | "clover" | "club" | "code-xml" | "codepen" | "codesandbox" | "coffee" | "cog" | "coins" | "columns-2" | "columns-3" | "columns-4" | "combine" | "command" | "compass" | "component" | "computer" | "concierge-bell" | "cone" | "construction" | "contact-round" | "contact" | "cookie" | "cooking-pot" | "copy-check" | "copy-minus" | "copy-plus" | "copy-slash" | "copy-x" | "copyleft" | "copyright" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "cpu" | "creative-commons" | "credit-card" | "croissant" | "crop" | "cross" | "crown" | "cuboid" | "cup-soda" | "currency" | "cylinder" | "dam" | "database-backup" | "database-zap" | "database" | "delete" | "dessert" | "diameter" | "diamond-minus" | "diamond-percent" | "diamond-plus" | "diamond" | "dice-1" | "dice-2" | "dice-3" | "dice-4" | "dice-5" | "dice-6" | "dices" | "diff" | "disc-2" | "disc-3" | "disc-album" | "disc" | "divide" | "dna-off" | "dna" | "dock" | "dog" | "dollar-sign" | "donut" | "door-closed" | "door-open" | "dot" | "drafting-compass" | "drama" | "dribbble" | "drill" | "droplet" | "droplets" | "drum" | "drumstick" | "dumbbell" | "ear-off" | "ear" | "earth-lock" | "earth" | "eclipse" | "egg-fried" | "egg-off" | "egg" | "ellipsis-vertical" | "ellipsis" | "equal-not" | "equal" | "eraser" | "ethernet-port" | "euro" | "external-link" | "eye-closed" | "eye-off" | "eye" | "facebook" | "factory" | "fan" | "fast-forward" | "feather" | "fence" | "ferris-wheel" | "figma" | "file-archive" | "file-audio-2" | "file-audio" | "file-axis-3d" | "file-badge-2" | "file-badge" | "file-box" | "file-chart-column-increasing" | "file-chart-column" | "file-chart-line" | "file-chart-pie" | "file-check-2" | "file-check" | "file-clock" | "file-code-2" | "file-code" | "file-cog" | "file-diff" | "file-digit" | "file-down" | "file-heart" | "file-image" | "file-input" | "file-json-2" | "file-json" | "file-key-2" | "file-key" | "file-lock-2" | "file-lock" | "file-minus-2" | "file-minus" | "file-music" | "file-output" | "file-pen-line" | "file-pen" | "file-plus-2" | "file-plus" | "file-question" | "file-scan" | "file-search-2" | "file-search" | "file-sliders" | "file-spreadsheet" | "file-stack" | "file-symlink" | "file-terminal" | "file-text" | "file-type-2" | "file-type" | "file-up" | "file-user" | "file-video-2" | "file-video" | "file-volume-2" | "file-volume" | "file-warning" | "file-x-2" | "file-x" | "file" | "files" | "film" | "filter-x" | "fingerprint" | "fire-extinguisher" | "fish-off" | "fish-symbol" | "fish" | "flag-off" | "flag-triangle-left" | "flag-triangle-right" | "flag" | "flame-kindling" | "flame" | "flashlight-off" | "flashlight" | "flask-conical-off" | "flask-conical" | "flask-round" | "flip-horizontal-2" | "flip-horizontal" | "flip-vertical-2" | "flip-vertical" | "flower-2" | "flower" | "fold-horizontal" | "fold-vertical" | "folder-archive" | "folder-check" | "folder-clock" | "folder-closed" | "folder-code" | "folder-cog" | "folder-dot" | "folder-down" | "folder-git-2" | "folder-git" | "folder-heart" | "folder-input" | "folder-kanban" | "folder-key" | "folder-lock" | "folder-minus" | "folder-open-dot" | "folder-open" | "folder-output" | "folder-pen" | "folder-plus" | "folder-root" | "folder-search-2" | "folder-search" | "folder-symlink" | "folder-sync" | "folder-tree" | "folder-up" | "folder-x" | "folder" | "folders" | "footprints" | "forklift" | "forward" | "framer" | "frown" | "fuel" | "fullscreen" | "gallery-horizontal-end" | "gallery-horizontal" | "gallery-thumbnails" | "gallery-vertical-end" | "gallery-vertical" | "gamepad-2" | "gamepad" | "gauge" | "gavel" | "gem" | "gift" | "git-branch-plus" | "git-branch" | "git-commit-horizontal" | "git-commit-vertical" | "git-compare-arrows" | "git-compare" | "git-fork" | "git-graph" | "git-merge" | "git-pull-request-arrow" | "git-pull-request-closed" | "git-pull-request-create-arrow" | "git-pull-request-create" | "git-pull-request-draft" | "git-pull-request" | "github" | "gitlab" | "glass-water" | "glasses" | "globe-lock" | "globe" | "goal" | "graduation-cap" | "grape" | "grid-2x2-check" | "grid-2x2-plus" | "grid-2x2-x" | "grid-2x2" | "grid-3x3" | "grip-horizontal" | "grip-vertical" | "grip" | "guitar" | "ham" | "hammer" | "hand-coins" | "hand-heart" | "hand-helping" | "hand-metal" | "hand-platter" | "hand" | "handshake" | "hard-drive-download" | "hard-drive-upload" | "hard-drive" | "hard-hat" | "hash" | "haze" | "hdmi-port" | "heading-1" | "heading-2" | "heading-3" | "heading-4" | "heading-5" | "heading-6" | "headphone-off" | "headphones" | "headset" | "heart-crack" | "heart-handshake" | "heart-off" | "heart-pulse" | "heart" | "heater" | "hexagon" | "highlighter" | "history" | "hop-off" | "hop" | "hospital" | "hotel" | "hourglass" | "house-plug" | "house-plus" | "house" | "ice-cream-bowl" | "ice-cream-cone" | "id-card" | "image-down" | "image-minus" | "image-off" | "image-play" | "image-plus" | "image-up" | "images" | "import" | "inbox" | "indent-decrease" | "indent-increase" | "indian-rupee" | "infinity" | "info" | "inspection-panel" | "instagram" | "iteration-ccw" | "iteration-cw" | "japanese-yen" | "joystick" | "kanban" | "key-round" | "key-square" | "keyboard-music" | "keyboard-off" | "keyboard" | "lamp-ceiling" | "lamp-desk" | "lamp-floor" | "lamp-wall-down" | "lamp-wall-up" | "lamp" | "land-plot" | "landmark" | "languages" | "laptop-minimal" | "laptop" | "lasso-select" | "lasso" | "laugh" | "layers-2" | "layers-3" | "layers" | "layout-dashboard" | "layout-grid" | "layout-list" | "layout-panel-left" | "layout-panel-top" | "layout-template" | "leaf" | "leafy-green" | "lectern" | "letter-text" | "library-big" | "library" | "life-buoy" | "ligature" | "lightbulb-off" | "lightbulb" | "link-2-off" | "link-2" | "linkedin" | "list-check" | "list-checks" | "list-collapse" | "list-end" | "list-filter" | "list-minus" | "list-music" | "list-ordered" | "list-plus" | "list-restart" | "list-start" | "list-todo" | "list-tree" | "list-video" | "list-x" | "loader-circle" | "loader-pinwheel" | "loader" | "locate-fixed" | "locate-off" | "locate" | "lock-keyhole-open" | "lock-keyhole" | "lock-open" | "lock" | "log-in" | "log-out" | "logs" | "lollipop" | "luggage" | "magnet" | "mail-check" | "mail-minus" | "mail-open" | "mail-plus" | "mail-question" | "mail-search" | "mail-warning" | "mail-x" | "mail" | "mailbox" | "mails" | "map-pin-check-inside" | "map-pin-check" | "map-pin-house" | "map-pin-minus-inside" | "map-pin-minus" | "map-pin-off" | "map-pin-plus-inside" | "map-pin-plus" | "map-pin-x-inside" | "map-pin-x" | "map-pin" | "map-pinned" | "martini" | "maximize-2" | "maximize" | "medal" | "megaphone-off" | "megaphone" | "meh" | "memory-stick" | "merge" | "message-circle-code" | "message-circle-dashed" | "message-circle-heart" | "message-circle-more" | "message-circle-off" | "message-circle-plus" | "message-circle-question" | "message-circle-reply" | "message-circle-warning" | "message-circle-x" | "message-circle" | "message-square-code" | "message-square-dashed" | "message-square-diff" | "message-square-dot" | "message-square-heart" | "message-square-lock" | "message-square-more" | "message-square-off" | "message-square-plus" | "message-square-quote" | "message-square-reply" | "message-square-share" | "message-square-text" | "message-square-warning" | "message-square-x" | "message-square" | "messages-square" | "mic-off" | "mic-vocal" | "mic" | "microchip" | "microscope" | "microwave" | "milestone" | "milk-off" | "milk" | "minimize-2" | "minimize" | "minus" | "monitor-check" | "monitor-cog" | "monitor-dot" | "monitor-down" | "monitor-off" | "monitor-pause" | "monitor-play" | "monitor-smartphone" | "monitor-speaker" | "monitor-stop" | "monitor-up" | "monitor-x" | "monitor" | "moon-star" | "moon" | "mountain-snow" | "mountain" | "mouse-off" | "mouse-pointer-2" | "mouse-pointer-ban" | "mouse-pointer-click" | "mouse-pointer" | "move-3d" | "move-diagonal-2" | "move-diagonal" | "move-down-left" | "move-down-right" | "move-down" | "move-horizontal" | "move-left" | "move-right" | "move-up-left" | "move-up-right" | "move-up" | "move-vertical" | "music-2" | "music-3" | "music-4" | "music" | "navigation-2-off" | "navigation-2" | "navigation-off" | "network" | "newspaper" | "nfc" | "notebook-pen" | "notebook-tabs" | "notebook-text" | "notebook" | "notepad-text-dashed" | "notepad-text" | "nut-off" | "nut" | "octagon-alert" | "octagon-minus" | "octagon-pause" | "octagon-x" | "octagon" | "omega" | "orbit" | "origami" | "package-2" | "package-check" | "package-minus" | "package-open" | "package-plus" | "package-search" | "package-x" | "package" | "paint-bucket" | "paint-roller" | "paintbrush-vertical" | "paintbrush" | "palette" | "panel-bottom-close" | "panel-bottom-dashed" | "panel-bottom-open" | "panel-bottom" | "panel-left-close" | "panel-left-dashed" | "panel-left-open" | "panel-left" | "panel-right-close" | "panel-right-dashed" | "panel-right-open" | "panel-right" | "panel-top-close" | "panel-top-dashed" | "panel-top-open" | "panel-top" | "panels-left-bottom" | "panels-right-bottom" | "panels-top-left" | "paperclip" | "parentheses" | "parking-meter" | "party-popper" | "paw-print" | "pc-case" | "pen-line" | "pen-off" | "pen-tool" | "pencil-line" | "pencil-off" | "pencil-ruler" | "pencil" | "pentagon" | "percent" | "person-standing" | "philippine-peso" | "phone-call" | "phone-forwarded" | "phone-incoming" | "phone-missed" | "phone-off" | "phone-outgoing" | "phone" | "pi" | "piano" | "pickaxe" | "picture-in-picture-2" | "picture-in-picture" | "piggy-bank" | "pilcrow-left" | "pilcrow-right" | "pilcrow" | "pill-bottle" | "pill" | "pin-off" | "pin" | "pipette" | "pizza" | "plane-landing" | "plane-takeoff" | "plane" | "plug-2" | "plug-zap" | "plug" | "plus" | "pocket-knife" | "pocket" | "podcast" | "pointer-off" | "popcorn" | "popsicle" | "pound-sterling" | "power-off" | "power" | "printer-check" | "printer" | "projector" | "proportions" | "puzzle" | "pyramid" | "qr-code" | "quote" | "rabbit" | "radar" | "radiation" | "radical" | "radio-receiver" | "radio-tower" | "rail-symbol" | "rainbow" | "rat" | "ratio" | "receipt-cent" | "receipt-euro" | "receipt-indian-rupee" | "receipt-japanese-yen" | "receipt-pound-sterling" | "receipt-russian-ruble" | "receipt-swiss-franc" | "receipt-text" | "receipt" | "rectangle-ellipsis" | "rectangle-horizontal" | "rectangle-vertical" | "recycle" | "redo-2" | "redo-dot" | "redo" | "refresh-ccw-dot" | "refresh-ccw" | "refresh-cw-off" | "refresh-cw" | "refrigerator" | "regex" | "remove-formatting" | "repeat-1" | "repeat-2" | "replace-all" | "reply-all" | "reply" | "rewind" | "ribbon" | "rocket" | "rocking-chair" | "roller-coaster" | "rotate-3d" | "rotate-ccw-square" | "rotate-ccw" | "rotate-cw-square" | "rotate-cw" | "route-off" | "route" | "router" | "rows-2" | "rows-3" | "rows-4" | "rss" | "ruler" | "russian-ruble" | "sailboat" | "salad" | "sandwich" | "satellite-dish" | "satellite" | "save-all" | "save-off" | "save" | "scaling" | "scan-barcode" | "scan-eye" | "scan-face" | "scan-line" | "scan-qr-code" | "scan-search" | "scan-text" | "scan" | "school" | "scissors-line-dashed" | "scissors" | "screen-share-off" | "screen-share" | "scroll-text" | "search-check" | "search-code" | "search-slash" | "search-x" | "send-horizontal" | "send-to-back" | "separator-horizontal" | "separator-vertical" | "server-cog" | "server-crash" | "server-off" | "server" | "settings-2" | "settings" | "shapes" | "share-2" | "share" | "sheet" | "shell" | "shield-alert" | "shield-ban" | "shield-check" | "shield-ellipsis" | "shield-half" | "shield-minus" | "shield-off" | "shield-plus" | "shield-question" | "shield-x" | "shield" | "ship-wheel" | "ship" | "shirt" | "shopping-bag" | "shopping-basket" | "shopping-cart" | "shovel" | "shower-head" | "shrub" | "shuffle" | "sigma" | "signal-high" | "signal-low" | "signal-medium" | "signal-zero" | "signal" | "signature" | "signpost-big" | "signpost" | "siren" | "skip-back" | "skip-forward" | "skull" | "slack" | "slash" | "sliders-horizontal" | "sliders-vertical" | "smartphone-charging" | "smartphone-nfc" | "smartphone" | "smile-plus" | "smile" | "snail" | "snowflake" | "sofa" | "soup" | "spade" | "sparkle" | "sparkles" | "speaker" | "speech" | "spell-check-2" | "spell-check" | "spline" | "spray-can" | "sprout" | "square-activity" | "square-arrow-down-left" | "square-arrow-down-right" | "square-arrow-down" | "square-arrow-left" | "square-arrow-out-down-left" | "square-arrow-out-down-right" | "square-arrow-out-up-left" | "square-arrow-out-up-right" | "square-arrow-right" | "square-arrow-up-left" | "square-arrow-up-right" | "square-arrow-up" | "square-asterisk" | "square-bottom-dashed-scissors" | "square-chart-gantt" | "square-check-big" | "square-check" | "square-chevron-down" | "square-chevron-left" | "square-chevron-right" | "square-chevron-up" | "square-code" | "square-dashed-bottom-code" | "square-dashed-bottom" | "square-dashed-kanban" | "square-dashed-mouse-pointer" | "square-dashed" | "square-divide" | "square-dot" | "square-equal" | "square-function" | "square-kanban" | "square-library" | "square-m" | "square-menu" | "square-minus" | "square-mouse-pointer" | "square-parking-off" | "square-parking" | "square-pen" | "square-percent" | "square-pi" | "square-pilcrow" | "square-play" | "square-plus" | "square-power" | "square-radical" | "square-scissors" | "square-sigma" | "square-slash" | "square-split-horizontal" | "square-split-vertical" | "square-square" | "square-stack" | "square-terminal" | "square-user-round" | "square-user" | "square-x" | "squircle" | "squirrel" | "stamp" | "star-half" | "star-off" | "star" | "step-back" | "step-forward" | "stethoscope" | "sticker" | "sticky-note" | "store" | "stretch-horizontal" | "stretch-vertical" | "strikethrough" | "subscript" | "sun-dim" | "sun-medium" | "sun-moon" | "sun-snow" | "sun" | "sunrise" | "sunset" | "superscript" | "swatch-book" | "swiss-franc" | "switch-camera" | "sword" | "swords" | "syringe" | "table-2" | "table-cells-merge" | "table-cells-split" | "table-columns-split" | "table-of-contents" | "table-properties" | "table-rows-split" | "tablet-smartphone" | "tablet" | "tablets" | "tag" | "tags" | "tally-1" | "tally-2" | "tally-3" | "tally-4" | "tally-5" | "tangent" | "telescope" | "tent-tree" | "tent" | "test-tube-diagonal" | "test-tube" | "test-tubes" | "text-cursor-input" | "text-cursor" | "text-quote" | "text-search" | "text-select" | "theater" | "thermometer-snowflake" | "thermometer-sun" | "thermometer" | "thumbs-down" | "thumbs-up" | "ticket-check" | "ticket-minus" | "ticket-percent" | "ticket-plus" | "ticket-slash" | "ticket-x" | "ticket" | "tickets-plane" | "tickets" | "timer-off" | "timer-reset" | "toggle-left" | "toggle-right" | "tornado" | "torus" | "touchpad-off" | "touchpad" | "tower-control" | "toy-brick" | "tractor" | "traffic-cone" | "train-front-tunnel" | "train-front" | "train-track" | "tram-front" | "trash-2" | "trash" | "tree-deciduous" | "tree-palm" | "tree-pine" | "trees" | "trello" | "trending-down" | "trending-up-down" | "trending-up" | "triangle-alert" | "triangle-right" | "triangle" | "trophy" | "truck" | "turtle" | "tv-minimal-play" | "tv-minimal" | "tv" | "twitch" | "twitter" | "type-outline" | "umbrella-off" | "umbrella" | "undo-2" | "undo-dot" | "undo" | "unfold-horizontal" | "unfold-vertical" | "ungroup" | "university" | "unlink-2" | "unlink" | "unplug" | "upload" | "usb" | "user-check" | "user-cog" | "user-minus" | "user-pen" | "user-plus" | "user-round-check" | "user-round-cog" | "user-round-minus" | "user-round-pen" | "user-round-plus" | "user-round-search" | "user-round-x" | "user-round" | "user-search" | "user-x" | "user" | "users-round" | "users" | "utensils-crossed" | "utensils" | "utility-pole" | "variable" | "vault" | "vegan" | "venetian-mask" | "vibrate-off" | "vibrate" | "video-off" | "videotape" | "voicemail" | "volleyball" | "volume-1" | "volume-2" | "volume-off" | "volume-x" | "volume" | "vote" | "wallet-cards" | "wallet-minimal" | "wallet" | "wallpaper" | "wand-sparkles" | "wand" | "warehouse" | "washing-machine" | "watch" | "waves" | "waypoints" | "webcam" | "webhook-off" | "webhook" | "weight" | "wheat-off" | "whole-word" | "wifi-high" | "wifi-low" | "wifi-off" | "wifi-zero" | "wifi" | "wind" | "wine-off" | "wine" | "workflow" | "worm" | "wrap-text" | "wrench" | "youtube" | "zap-off" | "zap")[];
|
|
6
|
-
export type IconName = (typeof iconNames)[number];
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IconName } from '../Icon/names';
|
|
2
|
-
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
|
|
3
|
-
icon?: IconName;
|
|
4
|
-
multiline?: boolean;
|
|
5
|
-
error?: boolean;
|
|
6
|
-
className?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare function Input({ value, onChange, placeholder, disabled, icon, multiline, error, className, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
type Modifier = 'shift' | 'ctrlorcommand' | 'alt' | 'meta' | 'esc';
|
|
2
|
-
export interface KeyProps {
|
|
3
|
-
value: string;
|
|
4
|
-
className?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare function Key({ value, className }: KeyProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export interface KeyHintProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
8
|
-
modifiers: Modifier[];
|
|
9
|
-
keys: string[];
|
|
10
|
-
actionText: string;
|
|
11
|
-
titleText?: string;
|
|
12
|
-
dismissable?: boolean;
|
|
13
|
-
onDismiss?: () => void;
|
|
14
|
-
}
|
|
15
|
-
export declare function KeyHint({ modifiers, keys, actionText, className, dismissable, onDismiss, titleText, ...props }: KeyHintProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { SupportedLanguage } from '../../types';
|
|
2
|
-
export interface LanguageIndicatorProps {
|
|
3
|
-
language: SupportedLanguage;
|
|
4
|
-
className?: string;
|
|
5
|
-
indicatorOnly?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare function LanguageIndicator({ language, className, indicatorOnly, }: LanguageIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { IconName } from '../Icon/names';
|
|
3
|
-
import { TextVariant } from '../Text';
|
|
4
|
-
type LinkVariant = 'primary' | 'secondary';
|
|
5
|
-
export interface LinkProps {
|
|
6
|
-
href?: string;
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
variant?: LinkVariant;
|
|
9
|
-
size?: TextVariant;
|
|
10
|
-
underline?: boolean;
|
|
11
|
-
target?: '_blank' | '_self';
|
|
12
|
-
rel?: string;
|
|
13
|
-
iconPrefixName?: IconName;
|
|
14
|
-
iconSuffixName?: IconName;
|
|
15
|
-
className?: string;
|
|
16
|
-
onClick?: (e: React.MouseEvent<HTMLAnchorElement>) => void;
|
|
17
|
-
}
|
|
18
|
-
export declare const Link: React.FC<LinkProps>;
|
|
19
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { UserAvatarProps } from '../UserAvatar';
|
|
2
|
-
import { default as React, ReactNode } from 'react';
|
|
3
|
-
export interface LoggedInUserProps extends UserAvatarProps {
|
|
4
|
-
email: string;
|
|
5
|
-
children?: ReactNode | ReactNode[];
|
|
6
|
-
onSignOut: () => void;
|
|
7
|
-
}
|
|
8
|
-
interface LoggedInMenuItemProps {
|
|
9
|
-
onSelect: () => void;
|
|
10
|
-
children?: ReactNode | ReactNode[];
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const LoggedInUserMenu: React.FC<LoggedInUserProps> & {
|
|
14
|
-
MenuItem: React.FC<LoggedInMenuItemProps>;
|
|
15
|
-
Seperator: React.FC<{}>;
|
|
16
|
-
};
|
|
17
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
type Size = 'sm' | 'md' | 'lg' | 'xl';
|
|
2
|
-
export declare const AnimatedLogo: ({ className, size, variant, onMouseEnter, onMouseLeave, ...rest }: {
|
|
3
|
-
className?: string;
|
|
4
|
-
size?: Size;
|
|
5
|
-
variant?: "icon" | "icon-with-wordmark";
|
|
6
|
-
} & React.HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
type LogoVariant = 'wordmark' | 'icon';
|
|
2
|
-
export interface LogoProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
-
variant: LogoVariant;
|
|
4
|
-
muted?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare function Logo({ variant, className, ...props }: LogoProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
interface SvgProps extends React.SVGProps<SVGSVGElement> {
|
|
2
|
-
muted?: boolean;
|
|
3
|
-
}
|
|
4
|
-
export declare function Wordmark({ className, muted, ...props }: SvgProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare function Logo({ className, muted, ...props }: SvgProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { IconName } from '../../index';
|
|
2
|
-
export interface SlimProps {
|
|
3
|
-
navItems?: NavItem[];
|
|
4
|
-
className?: string;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
defaultExpanded?: boolean;
|
|
7
|
-
/**
|
|
8
|
-
* Called when the user clicks the home button.
|
|
9
|
-
*/
|
|
10
|
-
onHomeNavigation?: () => void;
|
|
11
|
-
onItemClick?: (item: NavItem) => void;
|
|
12
|
-
}
|
|
13
|
-
export interface RenderNavItemProps extends NavItem {
|
|
14
|
-
expanded: boolean;
|
|
15
|
-
}
|
|
16
|
-
export interface NavItem {
|
|
17
|
-
id: string;
|
|
18
|
-
icon: IconName;
|
|
19
|
-
label: string;
|
|
20
|
-
active: boolean;
|
|
21
|
-
disabled: boolean;
|
|
22
|
-
onClick: () => void;
|
|
23
|
-
render?: (props: RenderNavItemProps) => React.ReactNode;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* A slim version of the Navbar.
|
|
27
|
-
* To be used on full screen pages.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
export declare const Slim: {
|
|
31
|
-
({ onHomeNavigation, navItems, className, children, defaultExpanded, onItemClick, }: SlimProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
displayName: string;
|
|
33
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { SlimProps } from './Slim';
|
|
2
|
-
declare const Navbar: {
|
|
3
|
-
({ onHomeNavigation, navItems, className, children, defaultExpanded, onItemClick, }: SlimProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
displayName: string;
|
|
5
|
-
} & {
|
|
6
|
-
/**
|
|
7
|
-
* A slim version of the Navbar; used on full screen pages.
|
|
8
|
-
*/
|
|
9
|
-
Slim: {
|
|
10
|
-
({ onHomeNavigation, navItems, className, children, defaultExpanded, onItemClick, }: SlimProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export { Navbar, type SlimProps as NavbarProps };
|
|
15
|
-
export { type NavItem } from './Slim';
|