@speakeasy-api/moonshine 1.33.4 → 2.0.0-alpha.2
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/README.md +26 -10
- package/package.json +12 -23
- 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/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-DsW1bFpz.mjs → src/components/Icon/customIcons/go.ts} +21 -19
- package/src/components/Icon/customIcons/index.ts +11 -0
- package/{dist/maven-Dub5liK1.mjs → src/components/Icon/customIcons/maven.ts} +17 -15
- package/src/components/Icon/customIcons/npm.ts +19 -0
- package/{dist/nuget-D86y5HDl.mjs → src/components/Icon/customIcons/nuget.ts} +17 -15
- package/src/components/Icon/customIcons/packagist.ts +124 -0
- package/{dist/pypi-2SUX-2OR.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/vite-env.d.ts +6 -0
- package/types/utilities.d.ts +1 -1
- package/dist/components/AIChat/AIChatContainer.d.ts +0 -26
- 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 -79
- 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/AppLayout/context.d.ts +0 -16
- package/dist/components/AppLayout/index.d.ts +0 -131
- package/dist/components/AppLayout/provider.d.ts +0 -8
- package/dist/components/AppLayout/useAppLayoutKeys.d.ts +0 -1
- package/dist/components/Badge/index.d.ts +0 -21
- package/dist/components/Button/index.d.ts +0 -22
- package/dist/components/Card/index.d.ts +0 -47
- package/dist/components/CodeEditorLayout/index.d.ts +0 -101
- package/dist/components/CodeHighlight/Pre.d.ts +0 -8
- package/dist/components/CodePlayground/index.d.ts +0 -102
- package/dist/components/CodeSnippet/index.d.ts +0 -49
- 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/Dialog/index.d.ts +0 -21
- 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/IconButton/index.d.ts +0 -14
- 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 -15
- 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/Modal/index.d.ts +0 -8
- 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/SegmentedButton/index.d.ts +0 -23
- 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 -6
- package/dist/components/Timeline/index.d.ts +0 -49
- package/dist/components/Tooltip/index.d.ts +0 -9
- 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 -12
- 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 -11
- package/dist/components/WorkspaceSelector/index.d.ts +0 -36
- package/dist/components/__beta__/CLIWizard/index.d.ts +0 -19
- 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/ModalContext.d.ts +0 -22
- package/dist/context/theme.d.ts +0 -1
- package/dist/createCustomLucideIcon-CatlpFc0.mjs +0 -19
- package/dist/createCustomLucideIcon-CatlpFc0.mjs.map +0 -1
- package/dist/gems-DQ7pOLLr.mjs +0 -24
- package/dist/gems-DQ7pOLLr.mjs.map +0 -1
- package/dist/github-kgjMtfE7.mjs +0 -11
- package/dist/github-kgjMtfE7.mjs.map +0 -1
- package/dist/go-DsW1bFpz.mjs.map +0 -1
- package/dist/hooks/useAppLayout.d.ts +0 -1
- package/dist/hooks/useConfig.d.ts +0 -2
- package/dist/hooks/useIsMounted.d.ts +0 -1
- package/dist/hooks/useModal.d.ts +0 -11
- package/dist/hooks/useTailwindBreakpoint.d.ts +0 -3
- package/dist/hooks/useTheme.d.ts +0 -6
- package/dist/index-C9bJtuJ5.mjs +0 -16347
- package/dist/index-C9bJtuJ5.mjs.map +0 -1
- package/dist/index.d.ts +0 -80
- package/dist/lib/assert.d.ts +0 -2
- package/dist/lib/codeUtils.d.ts +0 -36
- 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 -24
- package/dist/maven-Dub5liK1.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 -125
- 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-BYcG5_q9.mjs +0 -17
- package/dist/npm-BYcG5_q9.mjs.map +0 -1
- package/dist/nuget-CV5HU1JR.mjs +0 -11
- package/dist/nuget-CV5HU1JR.mjs.map +0 -1
- package/dist/nuget-D86y5HDl.mjs.map +0 -1
- package/dist/packagist-BFSSrw4p.mjs +0 -118
- package/dist/packagist-BFSSrw4p.mjs.map +0 -1
- package/dist/packagist-D01fn9N_.mjs +0 -11
- package/dist/packagist-D01fn9N_.mjs.map +0 -1
- package/dist/pypi-2SUX-2OR.mjs.map +0 -1
- package/dist/pypi-DLh6kIJe.mjs +0 -11
- package/dist/pypi-DLh6kIJe.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 -85
|
@@ -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: ("baseline" | "go" | "box" | "container" | "contrast" | "filter" | "scale-3d" | "scale" | "shrink" | "radius" | "text" | "replace" | "search" | "slice" | "split" | "repeat" | "anchor" | "bold" | "link" | "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" | "ghost" | "mouse" | "pen" | "focus" | "pause" | "play" | "scroll" | "power" | "check" | "expand" | "terminal" | "square" | "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" | "crosshair" | "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" | "grab" | "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" | "italic" | "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" | "pointer" | "popcorn" | "popsicle" | "pound-sterling" | "power-off" | "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" | "space" | "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" | "underline" | "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" | "wheat" | "whole-word" | "wifi-high" | "wifi-low" | "wifi-off" | "wifi-zero" | "wifi" | "wind" | "wine-off" | "wine" | "workflow" | "worm" | "wrap-text" | "wrench" | "youtube" | "zap-off" | "zap" | "zoom-in" | "zoom-out")[];
|
|
6
|
-
export type IconName = (typeof iconNames)[number];
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ButtonVariant, ButtonSize, ButtonContext } from '../../types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
type Attributes = Pick<React.ButtonHTMLAttributes<HTMLButtonElement>, 'disabled' | 'onClick' | 'type' | 'role' | 'onMouseEnter' | 'onMouseLeave' | 'onMouseDown' | 'onMouseUp'>;
|
|
4
|
-
export interface IconButtonProps extends Attributes {
|
|
5
|
-
icon: React.ReactNode;
|
|
6
|
-
variant?: ButtonVariant;
|
|
7
|
-
size?: ButtonSize;
|
|
8
|
-
context?: ButtonContext;
|
|
9
|
-
className?: string;
|
|
10
|
-
asChild?: boolean;
|
|
11
|
-
'aria-label': string;
|
|
12
|
-
}
|
|
13
|
-
declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
-
export { IconButton };
|
|
@@ -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,15 +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 extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
variant?: LinkVariant;
|
|
8
|
-
size?: TextVariant;
|
|
9
|
-
underline?: boolean;
|
|
10
|
-
iconPrefixName?: IconName;
|
|
11
|
-
iconSuffixName?: IconName;
|
|
12
|
-
asChild?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
15
|
-
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,8 +0,0 @@
|
|
|
1
|
-
import { Screen } from '../../context/ModalContext';
|
|
2
|
-
export interface ModalProps {
|
|
3
|
-
closable?: boolean;
|
|
4
|
-
className?: string;
|
|
5
|
-
layout: 'default' | 'custom';
|
|
6
|
-
onClose?: (currentScreen: Screen) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const Modal: ({ closable, className, layout, onClose, }: ModalProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { default as React, PropsWithChildren } from 'react';
|
|
2
|
-
import { LinkProps } from '../Link';
|
|
3
|
-
export interface PageHeaderProps extends PropsWithChildren {
|
|
4
|
-
className?: string;
|
|
5
|
-
}
|
|
6
|
-
interface ContextBarProps extends PropsWithChildren {
|
|
7
|
-
className?: string;
|
|
8
|
-
}
|
|
9
|
-
interface ParentLinkProps extends PropsWithChildren<Pick<LinkProps, 'href' | 'onClick'>> {
|
|
10
|
-
className?: string;
|
|
11
|
-
}
|
|
12
|
-
interface TitleBarProps extends PropsWithChildren {
|
|
13
|
-
className?: string;
|
|
14
|
-
}
|
|
15
|
-
interface TitleAreaProps extends PropsWithChildren {
|
|
16
|
-
className?: string;
|
|
17
|
-
}
|
|
18
|
-
interface LeadingVisualProps extends PropsWithChildren {
|
|
19
|
-
className?: string;
|
|
20
|
-
}
|
|
21
|
-
interface TitleProps extends PropsWithChildren {
|
|
22
|
-
className?: string;
|
|
23
|
-
viewTransitionName?: string;
|
|
24
|
-
}
|
|
25
|
-
interface ActionsProps extends PropsWithChildren {
|
|
26
|
-
className?: string;
|
|
27
|
-
}
|
|
28
|
-
interface FooterProps extends PropsWithChildren {
|
|
29
|
-
className?: string;
|
|
30
|
-
}
|
|
31
|
-
interface FooterItemProps extends PropsWithChildren {
|
|
32
|
-
className?: string;
|
|
33
|
-
}
|
|
34
|
-
export declare const PageHeader: React.FC<PageHeaderProps> & {
|
|
35
|
-
ContextBar: React.FC<ContextBarProps>;
|
|
36
|
-
ParentLink: React.FC<ParentLinkProps>;
|
|
37
|
-
TitleBar: React.FC<TitleBarProps>;
|
|
38
|
-
TitleArea: React.FC<TitleAreaProps>;
|
|
39
|
-
LeadingVisual: React.FC<LeadingVisualProps>;
|
|
40
|
-
Title: React.FC<TitleProps>;
|
|
41
|
-
Actions: React.FC<ActionsProps>;
|
|
42
|
-
Footer: React.FC<FooterProps>;
|
|
43
|
-
FooterItem: React.FC<FooterItemProps>;
|
|
44
|
-
};
|
|
45
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
3
|
-
declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
4
|
-
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
-
declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
-
declare const PopoverPortal: React.FC<PopoverPrimitive.PopoverPortalProps>;
|
|
7
|
-
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor, PopoverPortal };
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { IconName } from '../Icon/names';
|
|
2
|
-
export interface Suggestion {
|
|
3
|
-
id: string;
|
|
4
|
-
label: string;
|
|
5
|
-
onClick: (id: string) => void;
|
|
6
|
-
icon?: IconName;
|
|
7
|
-
className?: string;
|
|
8
|
-
iconClassName?: string;
|
|
9
|
-
}
|
|
10
|
-
export interface Attachment {
|
|
11
|
-
id: string;
|
|
12
|
-
name: string;
|
|
13
|
-
bytes: ArrayBuffer;
|
|
14
|
-
type: string;
|
|
15
|
-
size: number;
|
|
16
|
-
onRemove?: (id: string) => void;
|
|
17
|
-
}
|
|
18
|
-
export interface PromptInputProps {
|
|
19
|
-
prompt?: string;
|
|
20
|
-
placeholder: string;
|
|
21
|
-
onChange: (prompt: string) => void;
|
|
22
|
-
onSubmit: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
23
|
-
onFileUpload?: (files: Attachment[]) => void;
|
|
24
|
-
suggestions?: Suggestion[];
|
|
25
|
-
attachments?: Attachment[];
|
|
26
|
-
/**
|
|
27
|
-
* The icon to show when the prompt is being submitted.
|
|
28
|
-
*/
|
|
29
|
-
submittingIcon?: IconName;
|
|
30
|
-
/**
|
|
31
|
-
* Whether the prompt is being submitted.
|
|
32
|
-
*/
|
|
33
|
-
isSubmitting?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* The max height the prompt input can grow to in pixels.
|
|
36
|
-
*/
|
|
37
|
-
maxHeight?: number;
|
|
38
|
-
/**
|
|
39
|
-
* The ref to the file input.
|
|
40
|
-
*/
|
|
41
|
-
fileInputRef?: React.RefObject<HTMLInputElement>;
|
|
42
|
-
/**
|
|
43
|
-
* The file types that are accepted by the file input.
|
|
44
|
-
*/
|
|
45
|
-
acceptedFileTypes?: string[];
|
|
46
|
-
/**
|
|
47
|
-
* Whether the prompt input is disabled.
|
|
48
|
-
*/
|
|
49
|
-
isDisabled?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* The maximum number of attachments that can be uploaded.
|
|
52
|
-
*/
|
|
53
|
-
maxAttachments?: number;
|
|
54
|
-
}
|
|
55
|
-
export declare function PromptInput({ placeholder, onSubmit, suggestions, prompt, onChange, onFileUpload, attachments, maxHeight, isSubmitting, submittingIcon, fileInputRef, acceptedFileTypes, isDisabled, maxAttachments, }: PromptInputProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
type Status = 'open' | 'closed' | 'merged';
|
|
2
|
-
export interface PullRequestLinkProps {
|
|
3
|
-
href: string;
|
|
4
|
-
prNumber?: number;
|
|
5
|
-
status?: Status;
|
|
6
|
-
target?: '_blank' | '_self' | '_parent' | '_top';
|
|
7
|
-
className?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare function PullRequestLink({ href, prNumber, status, target, className, }: PullRequestLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { default as React, ComponentProps, ReactNode } from 'react';
|
|
2
|
-
import { ImperativePanelHandle, Panel, PanelGroup, PanelResizeHandle } from 'react-resizable-panels';
|
|
3
|
-
export interface ResizeHandleProps extends ComponentProps<typeof PanelResizeHandle> {
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
export interface ResizablePanelProps extends ComponentProps<typeof PanelGroup> {
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
className?: string;
|
|
9
|
-
useDefaultHandle?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface PaneProps extends ComponentProps<typeof Panel> {
|
|
12
|
-
children: ReactNode;
|
|
13
|
-
className?: string;
|
|
14
|
-
panelRef?: React.LegacyRef<ImperativePanelHandle>;
|
|
15
|
-
}
|
|
16
|
-
declare const ResizablePanelWithSubcomponents: (({ children, className, useDefaultHandle, onResize, ...props }: ResizablePanelProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
17
|
-
Pane: {
|
|
18
|
-
({ children, className, panelRef, ...props }: PaneProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
displayName: string;
|
|
20
|
-
};
|
|
21
|
-
ResizeHandle: {
|
|
22
|
-
({ children, ...props }: ResizeHandleProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
displayName: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export { ResizablePanelWithSubcomponents as ResizablePanel };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { Size } from '../../types';
|
|
2
|
-
import { Range } from '../../lib/typeUtils';
|
|
3
|
-
export type ScoreValue = Range<100>;
|
|
4
|
-
interface ThresholdStyles {
|
|
5
|
-
/**
|
|
6
|
-
* The color of the track when the score is greater than the threshold.
|
|
7
|
-
*/
|
|
8
|
-
[key: number]: string;
|
|
9
|
-
}
|
|
10
|
-
export interface ScoreProps {
|
|
11
|
-
/**
|
|
12
|
-
* The score to display. Must be between 0 and 100.
|
|
13
|
-
*/
|
|
14
|
-
score: ScoreValue;
|
|
15
|
-
/**
|
|
16
|
-
* The size of the score component e.g small, medium, large, xl, 2xl
|
|
17
|
-
*/
|
|
18
|
-
size?: Size;
|
|
19
|
-
/**
|
|
20
|
-
* Whether to show the label.
|
|
21
|
-
*/
|
|
22
|
-
showLabel?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* The color of the track.
|
|
25
|
-
*/
|
|
26
|
-
trackColor?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Custom definition of thresholds for color changes.
|
|
29
|
-
* e.g [50, 75] will change color to green at 75%, orange at 50%. Otherwise red.
|
|
30
|
-
*/
|
|
31
|
-
thresholds?: ThresholdStyles;
|
|
32
|
-
animate?: boolean;
|
|
33
|
-
animationDuration?: number;
|
|
34
|
-
className?: string;
|
|
35
|
-
}
|
|
36
|
-
export declare function Score({ score, size, showLabel, trackColor, thresholds, animate, animationDuration, className, }: ScoreProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
3
|
-
declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
-
declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
export { ScrollArea, ScrollBar };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { MotionProps } from 'motion/react';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
export interface SegmentedButtonProps {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface SegmentedButtonItemProps extends MotionProps {
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
className?: string;
|
|
10
|
-
active?: boolean;
|
|
11
|
-
highlighted?: boolean;
|
|
12
|
-
id: string;
|
|
13
|
-
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
14
|
-
}
|
|
15
|
-
export declare const SegmentedButton: {
|
|
16
|
-
({ children, className }: SegmentedButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
displayName: string;
|
|
18
|
-
} & {
|
|
19
|
-
Item: {
|
|
20
|
-
({ children, className, highlighted, ...props }: SegmentedButtonItemProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
displayName: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
3
|
-
declare const Select: React.FC<SelectPrimitive.SelectProps>;
|
|
4
|
-
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
6
|
-
declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
-
export { Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton, };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export interface SkeletonProps {
|
|
2
|
-
/**
|
|
3
|
-
* The children to display in the skeleton.
|
|
4
|
-
* The width and content of each child will be used to determine the width of the skeleton.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* <Skeleton>
|
|
8
|
-
* <div>foo</div>
|
|
9
|
-
* <div>bar</div>
|
|
10
|
-
* </Skeleton>
|
|
11
|
-
*
|
|
12
|
-
* You can also provide no content and use classNames to style the skeleton items:
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* <Skeleton>
|
|
16
|
-
* <div className="h-5 w-48 rounded-lg" />
|
|
17
|
-
* <div className="h-5 w-96 rounded-lg" />
|
|
18
|
-
* <div className="h-5 w-48 rounded-lg" />
|
|
19
|
-
* </Skeleton>
|
|
20
|
-
*/
|
|
21
|
-
children: React.ReactNode;
|
|
22
|
-
/**
|
|
23
|
-
* The class name to apply to each child.
|
|
24
|
-
*/
|
|
25
|
-
className?: string;
|
|
26
|
-
}
|
|
27
|
-
export declare function Skeleton({ children, className }: SkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { Gap, Padding, ResponsiveValue } from '../../types';
|
|
3
|
-
type StackDirection = 'horizontal' | 'vertical';
|
|
4
|
-
type StackAlign = 'stretch' | 'start' | 'center' | 'end' | 'baseline';
|
|
5
|
-
type StackJustify = 'start' | 'center' | 'end' | 'space-between' | 'space-evenly';
|
|
6
|
-
type StackWrap = 'wrap' | 'nowrap';
|
|
7
|
-
export interface StackProps {
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
/** Specify the orientation for the stack container */
|
|
10
|
-
direction?: ResponsiveValue<StackDirection>;
|
|
11
|
-
/** Specify the gap between children elements in the stack */
|
|
12
|
-
gap?: ResponsiveValue<Gap>;
|
|
13
|
-
/** Specify the padding of the stack container */
|
|
14
|
-
padding?: ResponsiveValue<Padding>;
|
|
15
|
-
/** Specify the alignment between items in the cross-axis of the orientation */
|
|
16
|
-
align?: ResponsiveValue<StackAlign>;
|
|
17
|
-
/** Specify how items will be distributed in the stacking direction */
|
|
18
|
-
justify?: ResponsiveValue<StackJustify>;
|
|
19
|
-
/** Specify whether items are forced onto one line or can wrap */
|
|
20
|
-
wrap?: ResponsiveValue<StackWrap>;
|
|
21
|
-
className?: string;
|
|
22
|
-
}
|
|
23
|
-
export declare function Stack({ children, direction, gap, padding, align, justify, wrap, className, }: StackProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
export declare namespace Stack {
|
|
25
|
-
var Item: ({ children, grow, className }: StackItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
}
|
|
27
|
-
interface StackItemProps {
|
|
28
|
-
children: React.ReactNode;
|
|
29
|
-
/** Allow item to keep size or expand to fill the available space */
|
|
30
|
-
grow?: ResponsiveValue<boolean>;
|
|
31
|
-
className?: string;
|
|
32
|
-
}
|
|
33
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface SubnavItem {
|
|
2
|
-
label: string;
|
|
3
|
-
href: string;
|
|
4
|
-
active?: boolean;
|
|
5
|
-
[key: string]: unknown;
|
|
6
|
-
}
|
|
7
|
-
export interface SubnavProps {
|
|
8
|
-
items: SubnavItem[];
|
|
9
|
-
renderItem: (item: SubnavItem) => React.ReactNode;
|
|
10
|
-
className?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare function Subnav({ items, renderItem, className }: SubnavProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
3
|
-
declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
|
-
export { Switch, type SwitchPrimitives as SwitchProps };
|