@plusrouter/ui 0.0.0-stage → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/SideNavigation-qz3aib86.js +5974 -0
- package/dist/assets/BASE-LICENSE +25 -0
- package/dist/assets/SpaceGrotesk.LICENSE +93 -0
- package/dist/assets/SpaceGrotesk.ttf +0 -0
- package/dist/assets/UPSTREAM-LICENSE +21 -0
- package/dist/brand.css +204 -0
- package/dist/components.js +3702 -0
- package/dist/index.js +2250 -0
- package/dist/styles.css +20496 -0
- package/dist/tokens.css +179 -0
- package/dist/types/components/Components/AlertDialog/AlertDialog.d.ts +25 -0
- package/dist/types/components/Components/AlertDialog/index.d.ts +1 -0
- package/dist/types/components/Components/AuthCard/AuthCard.d.ts +19 -0
- package/dist/types/components/Components/AuthCard/index.d.ts +1 -0
- package/dist/types/components/Components/BarChart/BarChart.d.ts +7 -0
- package/dist/types/components/Components/BarChart/index.d.ts +1 -0
- package/dist/types/components/Components/Billing/Billing.d.ts +125 -0
- package/dist/types/components/Components/Billing/index.d.ts +1 -0
- package/dist/types/components/Components/Effects/BackgroundCursor.d.ts +16 -0
- package/dist/types/components/Components/Effects/BackgroundDotted.d.ts +2 -0
- package/dist/types/components/Components/Effects/BackgroundLineField.d.ts +9 -0
- package/dist/types/components/Components/Effects/BackgroundPlus.d.ts +8 -0
- package/dist/types/components/Components/Effects/BackgroundSquare.d.ts +6 -0
- package/dist/types/components/Components/Effects/BrandIntro.d.ts +4 -0
- package/dist/types/components/Components/Effects/EffectCard.d.ts +5 -0
- package/dist/types/components/Components/Effects/PlusField.d.ts +4 -0
- package/dist/types/components/Components/Effects/ThemeTransition.d.ts +3 -0
- package/dist/types/components/Components/Effects/blast.d.ts +21 -0
- package/dist/types/components/Components/Effects/useBackgroundField.d.ts +2 -0
- package/dist/types/components/Components/Effects/useLineField.d.ts +2 -0
- package/dist/types/components/Components/Footer/Footer.d.ts +14 -0
- package/dist/types/components/Components/Footer/index.d.ts +1 -0
- package/dist/types/components/Components/Header/Header.d.ts +26 -0
- package/dist/types/components/Components/Header/index.d.ts +2 -0
- package/dist/types/components/Components/Heatmap/Heatmap.d.ts +9 -0
- package/dist/types/components/Components/Heatmap/index.d.ts +1 -0
- package/dist/types/components/Components/MetricStrip/MetricStrip.d.ts +12 -0
- package/dist/types/components/Components/MetricStrip/index.d.ts +1 -0
- package/dist/types/components/Components/Panel/Panel.d.ts +9 -0
- package/dist/types/components/Components/Panel/index.d.ts +1 -0
- package/dist/types/components/Components/Ranking/Ranking.d.ts +15 -0
- package/dist/types/components/Components/Ranking/index.d.ts +1 -0
- package/dist/types/components/Components/RequestTable/RequestTable.d.ts +18 -0
- package/dist/types/components/Components/RequestTable/index.d.ts +1 -0
- package/dist/types/components/Components/SessionShape/SessionShape.d.ts +5 -0
- package/dist/types/components/Components/SessionShape/index.d.ts +1 -0
- package/dist/types/components/Components/Shop/Shop.d.ts +2 -0
- package/dist/types/components/Components/Shop/Shop.types.d.ts +95 -0
- package/dist/types/components/Components/Shop/ShopAccountCard.d.ts +3 -0
- package/dist/types/components/Components/Shop/ShopCard.d.ts +8 -0
- package/dist/types/components/Components/Shop/index.d.ts +4 -0
- package/dist/types/components/Components/Support/Support.d.ts +49 -0
- package/dist/types/components/Components/Support/index.d.ts +2 -0
- package/dist/types/components/Components/UsageList/UsageList.d.ts +5 -0
- package/dist/types/components/Components/UsageList/index.d.ts +1 -0
- package/dist/types/components/Components/Workspace/CustomerDashboard.d.ts +4 -0
- package/dist/types/components/Components/Workspace/Provider.d.ts +24 -0
- package/dist/types/components/Components/Workspace/RouterPlusWorkspace.d.ts +114 -0
- package/dist/types/components/Components/Workspace/WorkspaceIcons.d.ts +248 -0
- package/dist/types/components/Components/index.d.ts +30 -0
- package/dist/types/components/TokensAndAssets/ThemeContext.d.ts +1 -0
- package/dist/types/components/ui/Accordion/Accordion.d.ts +11 -0
- package/dist/types/components/ui/Accordion/index.d.ts +1 -0
- package/dist/types/components/ui/Avatar/Avatar.d.ts +14 -0
- package/dist/types/components/ui/Avatar/index.d.ts +1 -0
- package/dist/types/components/ui/Badge/Badge.d.ts +7 -0
- package/dist/types/components/ui/Badge/index.d.ts +1 -0
- package/dist/types/components/ui/Brand/Brand.d.ts +6 -0
- package/dist/types/components/ui/Brand/index.d.ts +1 -0
- package/dist/types/components/ui/Button/Button.d.ts +10 -0
- package/dist/types/components/ui/Button/index.d.ts +1 -0
- package/dist/types/components/ui/Card/Card.d.ts +7 -0
- package/dist/types/components/ui/Card/index.d.ts +1 -0
- package/dist/types/components/ui/Checkbox/Checkbox.d.ts +10 -0
- package/dist/types/components/ui/Checkbox/Primitive/Checkbox.d.ts +11 -0
- package/dist/types/components/ui/Checkbox/index.d.ts +1 -0
- package/dist/types/components/ui/Collapsible/Collapsible.d.ts +8 -0
- package/dist/types/components/ui/Collapsible/index.d.ts +1 -0
- package/dist/types/components/ui/ContextMenu/ContextMenu.d.ts +21 -0
- package/dist/types/components/ui/ContextMenu/index.d.ts +1 -0
- package/dist/types/components/ui/Dialog/Dialog.d.ts +33 -0
- package/dist/types/components/ui/Dialog/index.d.ts +1 -0
- package/dist/types/components/ui/Drawer/Drawer.d.ts +11 -0
- package/dist/types/components/ui/Drawer/index.d.ts +1 -0
- package/dist/types/components/ui/DropdownMenu/DropdownMenu.d.ts +21 -0
- package/dist/types/components/ui/DropdownMenu/index.d.ts +1 -0
- package/dist/types/components/ui/EmptyState/EmptyState.d.ts +7 -0
- package/dist/types/components/ui/EmptyState/index.d.ts +1 -0
- package/dist/types/components/ui/Field/Field.d.ts +12 -0
- package/dist/types/components/ui/Field/index.d.ts +1 -0
- package/dist/types/components/ui/FilterSelect/FilterSelect.d.ts +14 -0
- package/dist/types/components/ui/FilterSelect/index.d.ts +1 -0
- package/dist/types/components/ui/Form/Form.d.ts +31 -0
- package/dist/types/components/ui/Form/index.d.ts +1 -0
- package/dist/types/components/ui/HoverCard/HoverCard.d.ts +10 -0
- package/dist/types/components/ui/HoverCard/index.d.ts +1 -0
- package/dist/types/components/ui/Icon/Icon.d.ts +36 -0
- package/dist/types/components/ui/Icon/index.d.ts +1 -0
- package/dist/types/components/ui/InfoHeader/InfoHeader.d.ts +14 -0
- package/dist/types/components/ui/InfoHeader/index.d.ts +1 -0
- package/dist/types/components/ui/InfoTooltip/InfoTooltip.d.ts +5 -0
- package/dist/types/components/ui/InfoTooltip/index.d.ts +1 -0
- package/dist/types/components/ui/Input/Input.d.ts +7 -0
- package/dist/types/components/ui/Input/index.d.ts +1 -0
- package/dist/types/components/ui/InputGroup/InputGroup.d.ts +14 -0
- package/dist/types/components/ui/InputGroup/index.d.ts +1 -0
- package/dist/types/components/ui/Label/Label.d.ts +6 -0
- package/dist/types/components/ui/Label/index.d.ts +1 -0
- package/dist/types/components/ui/LegacySlider/Slider.d.ts +16 -0
- package/dist/types/components/ui/LegacySlider/index.d.ts +1 -0
- package/dist/types/components/ui/LegacyTabs/Tabs.d.ts +16 -0
- package/dist/types/components/ui/LegacyTabs/index.d.ts +1 -0
- package/dist/types/components/ui/LinkCard/LinkCard.d.ts +5 -0
- package/dist/types/components/ui/LinkCard/index.d.ts +1 -0
- package/dist/types/components/ui/Logo/Logo.d.ts +69 -0
- package/dist/types/components/ui/Logo/ProviderLogos.d.ts +69 -0
- package/dist/types/components/ui/Logo/index.d.ts +2 -0
- package/dist/types/components/ui/Menubar/Menubar.d.ts +67 -0
- package/dist/types/components/ui/Menubar/index.d.ts +1 -0
- package/dist/types/components/ui/Modal/Modal.d.ts +10 -0
- package/dist/types/components/ui/Modal/index.d.ts +1 -0
- package/dist/types/components/ui/ModelCard/ModelCard.d.ts +50 -0
- package/dist/types/components/ui/ModelCard/ModelSelector.d.ts +76 -0
- package/dist/types/components/ui/ModelCard/icons.d.ts +20 -0
- package/dist/types/components/ui/ModelCard/index.d.ts +2 -0
- package/dist/types/components/ui/NavigationMenu/NavigationMenu.d.ts +38 -0
- package/dist/types/components/ui/NavigationMenu/index.d.ts +1 -0
- package/dist/types/components/ui/Popover/Popover.d.ts +14 -0
- package/dist/types/components/ui/Popover/index.d.ts +1 -0
- package/dist/types/components/ui/Progress/Progress.d.ts +10 -0
- package/dist/types/components/ui/Progress/index.d.ts +1 -0
- package/dist/types/components/ui/ProgressBar/ProgressBar.d.ts +10 -0
- package/dist/types/components/ui/ProgressBar/index.d.ts +1 -0
- package/dist/types/components/ui/Radio/Radio.d.ts +8 -0
- package/dist/types/components/ui/Radio/RadioGroup.d.ts +3 -0
- package/dist/types/components/ui/RadioGroup/RadioGroup.d.ts +16 -0
- package/dist/types/components/ui/RadioGroup/index.d.ts +1 -0
- package/dist/types/components/ui/ScrollArea/ScrollArea.d.ts +26 -0
- package/dist/types/components/ui/ScrollArea/index.d.ts +1 -0
- package/dist/types/components/ui/SegmentedControl/SegmentedControl.d.ts +14 -0
- package/dist/types/components/ui/SegmentedControl/index.d.ts +1 -0
- package/dist/types/components/ui/Select/Primitive/Select.d.ts +79 -0
- package/dist/types/components/ui/Select/Select.d.ts +29 -0
- package/dist/types/components/ui/Select/index.d.ts +1 -0
- package/dist/types/components/ui/Separator/Separator.d.ts +6 -0
- package/dist/types/components/ui/Separator/index.d.ts +1 -0
- package/dist/types/components/ui/SideNavigation/SideNavigation.d.ts +171 -0
- package/dist/types/components/ui/SideNavigation/index.d.ts +1 -0
- package/dist/types/components/ui/Skeleton/Skeleton.d.ts +4 -0
- package/dist/types/components/ui/Skeleton/index.d.ts +1 -0
- package/dist/types/components/ui/Slider/Slider.d.ts +21 -0
- package/dist/types/components/ui/Slider/index.d.ts +1 -0
- package/dist/types/components/ui/Spinner/Spinner.d.ts +5 -0
- package/dist/types/components/ui/Spinner/index.d.ts +1 -0
- package/dist/types/components/ui/Switch/Primitive/Switch.d.ts +11 -0
- package/dist/types/components/ui/Switch/Switch.d.ts +18 -0
- package/dist/types/components/ui/Switch/index.d.ts +1 -0
- package/dist/types/components/ui/Tabs/Tabs.d.ts +21 -0
- package/dist/types/components/ui/Tabs/index.d.ts +1 -0
- package/dist/types/components/ui/Text/Text.d.ts +16 -0
- package/dist/types/components/ui/Text/text-variants.d.ts +31 -0
- package/dist/types/components/ui/ThemeSwitch/ThemeSwitch.d.ts +9 -0
- package/dist/types/components/ui/ThemeSwitch/index.d.ts +1 -0
- package/dist/types/components/ui/Toast/Toast.d.ts +29 -0
- package/dist/types/components/ui/Toast/index.d.ts +1 -0
- package/dist/types/components/ui/Toggle/Toggle.d.ts +6 -0
- package/dist/types/components/ui/Toggle/index.d.ts +1 -0
- package/dist/types/components/ui/ToggleGroup/ToggleGroup.d.ts +16 -0
- package/dist/types/components/ui/ToggleGroup/index.d.ts +1 -0
- package/dist/types/components/ui/Tooltip/Tooltip.d.ts +27 -0
- package/dist/types/components/ui/Tooltip/index.d.ts +1 -0
- package/dist/types/components/ui/UIProvider/PortalHost.d.ts +1 -0
- package/dist/types/components/ui/UIProvider/UIProvider.d.ts +8 -0
- package/dist/types/components/ui/index.d.ts +56 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/workspace.css +25823 -0
- package/package.json +101 -5
- package/README.md +0 -3
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type AnchorHTMLAttributes, type ButtonHTMLAttributes } from 'react';
|
|
2
|
+
import { ButtonTextVariant } from '../Text/text-variants.js';
|
|
3
|
+
export type ButtonVariant = 'text' | 'update' | 'icon' | 'primary' | 'secondary' | 'ghost' | 'danger' | 'outline';
|
|
4
|
+
export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, Omit<AnchorHTMLAttributes<HTMLAnchorElement>, keyof ButtonHTMLAttributes<HTMLButtonElement>> {
|
|
5
|
+
variant?: ButtonVariant;
|
|
6
|
+
textVariant?: ButtonTextVariant;
|
|
7
|
+
href?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Button.js';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export interface CardProps extends ComponentPropsWithoutRef<'div'> {
|
|
3
|
+
variant?: 'default' | 'reference';
|
|
4
|
+
/** Semantic element for the same visual treatment, e.g. an article in a list. */
|
|
5
|
+
as?: 'div' | 'article';
|
|
6
|
+
}
|
|
7
|
+
export declare const Card: ({ variant, as: Tag, className, ...props }: CardProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Card.js';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export interface CheckboxProps {
|
|
3
|
+
checked: boolean;
|
|
4
|
+
onCheckedChange: (checked: boolean) => void;
|
|
5
|
+
label: ReactNode;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
/** Labelled checkbox built on the styled Radix Checkbox primitive. */
|
|
10
|
+
export declare const Checkbox: ({ checked, onCheckedChange, label, disabled, className, }: CheckboxProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
2
|
+
export interface CheckboxProps extends CheckboxPrimitive.CheckboxProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface CheckboxIndicatorProps extends CheckboxPrimitive.CheckboxIndicatorProps {
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
/** Square boolean control that uses the RouterPlus accent token. */
|
|
9
|
+
export declare const Checkbox: ({ className, ...rest }: CheckboxProps) => import("react").JSX.Element;
|
|
10
|
+
/** Check mark drawn inside a checked or indeterminate Checkbox. */
|
|
11
|
+
export declare const CheckboxIndicator: ({ className, ...rest }: CheckboxIndicatorProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Checkbox.js';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
2
|
+
export interface CollapsibleProps extends CollapsiblePrimitive.CollapsibleProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
}
|
|
5
|
+
/** Single disclosure section with controlled or uncontrolled state. */
|
|
6
|
+
export declare const Collapsible: ({ className, ...rest }: CollapsibleProps) => import("react").JSX.Element;
|
|
7
|
+
export declare const CollapsibleTrigger: ({ className, ...rest }: CollapsiblePrimitive.CollapsibleTriggerProps) => import("react").JSX.Element;
|
|
8
|
+
export declare const CollapsibleContent: ({ className, ...rest }: CollapsiblePrimitive.CollapsibleContentProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Collapsible.js';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
2
|
+
export interface ContextMenuProps extends ContextMenuPrimitive.ContextMenuProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
}
|
|
5
|
+
/** Menu opened by right-clicking (or long-pressing) its trigger area. */
|
|
6
|
+
export declare const ContextMenu: (props: ContextMenuProps) => import("react").JSX.Element;
|
|
7
|
+
export declare const ContextMenuTrigger: ({ className, ...rest }: ContextMenuPrimitive.ContextMenuTriggerProps) => import("react").JSX.Element;
|
|
8
|
+
export declare const ContextMenuPortal: import("react").FC<ContextMenuPrimitive.ContextMenuPortalProps>;
|
|
9
|
+
export declare const ContextMenuContent: ({ className, ...rest }: ContextMenuPrimitive.ContextMenuContentProps) => import("react").JSX.Element;
|
|
10
|
+
export declare const ContextMenuArrow: ({ className, ...rest }: ContextMenuPrimitive.ContextMenuArrowProps) => import("react").JSX.Element;
|
|
11
|
+
export declare const ContextMenuGroup: ({ className, ...rest }: ContextMenuPrimitive.ContextMenuGroupProps) => import("react").JSX.Element;
|
|
12
|
+
export declare const ContextMenuLabel: ({ className, ...rest }: ContextMenuPrimitive.ContextMenuLabelProps) => import("react").JSX.Element;
|
|
13
|
+
export declare const ContextMenuItem: ({ className, ...rest }: ContextMenuPrimitive.ContextMenuItemProps) => import("react").JSX.Element;
|
|
14
|
+
export declare const ContextMenuItemIndicator: ({ className, ...rest }: ContextMenuPrimitive.ContextMenuItemIndicatorProps) => import("react").JSX.Element;
|
|
15
|
+
export declare const ContextMenuCheckboxItem: ({ className, ...rest }: ContextMenuPrimitive.ContextMenuCheckboxItemProps) => import("react").JSX.Element;
|
|
16
|
+
export declare const ContextMenuRadioGroup: ({ className, ...rest }: ContextMenuPrimitive.ContextMenuRadioGroupProps) => import("react").JSX.Element;
|
|
17
|
+
export declare const ContextMenuRadioItem: ({ className, ...rest }: ContextMenuPrimitive.ContextMenuRadioItemProps) => import("react").JSX.Element;
|
|
18
|
+
export declare const ContextMenuSeparator: ({ className, ...rest }: ContextMenuPrimitive.ContextMenuSeparatorProps) => import("react").JSX.Element;
|
|
19
|
+
export declare const ContextMenuSub: import("react").FC<ContextMenuPrimitive.ContextMenuSubProps>;
|
|
20
|
+
export declare const ContextMenuSubTrigger: ({ className, ...rest }: ContextMenuPrimitive.ContextMenuSubTriggerProps) => import("react").JSX.Element;
|
|
21
|
+
export declare const ContextMenuSubContent: ({ className, ...rest }: ContextMenuPrimitive.ContextMenuSubContentProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ContextMenu.js';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
2
|
+
import type { ComponentPropsWithoutRef } from 'react';
|
|
3
|
+
export type DialogRootProps = DialogPrimitive.DialogProps;
|
|
4
|
+
export declare const DialogRoot: (props: DialogRootProps) => import("react").JSX.Element;
|
|
5
|
+
export declare const DialogTrigger: import("react").ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
export declare const DialogPortal: import("react").FC<DialogPrimitive.DialogPortalProps>;
|
|
7
|
+
export declare const DialogOverlay: import("react").ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export interface DialogContentProps extends ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
|
|
9
|
+
/**
|
|
10
|
+
* `center` is the modal default; `floating` anchors a flush panel in the
|
|
11
|
+
* corner. Floating size and inset are tunable with the
|
|
12
|
+
* `--rp-dialog-floating-width`, `--rp-dialog-floating-height` and
|
|
13
|
+
* `--rp-dialog-floating-inset` CSS variables.
|
|
14
|
+
*/
|
|
15
|
+
placement?: 'center' | 'floating';
|
|
16
|
+
}
|
|
17
|
+
export declare const DialogContent: import("react").ForwardRefExoticComponent<DialogContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
18
|
+
export declare const DialogTitle: import("react").ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
19
|
+
export declare const DialogDescription: import("react").ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>, "ref"> & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
20
|
+
export declare const DialogClose: import("react").ForwardRefExoticComponent<Omit<DialogPrimitive.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
21
|
+
export declare const DialogFooter: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
22
|
+
export declare const Dialog: ((props: DialogRootProps) => import("react").JSX.Element) & {
|
|
23
|
+
Root: (props: DialogRootProps) => import("react").JSX.Element;
|
|
24
|
+
Trigger: import("react").ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
25
|
+
Portal: import("react").FC<DialogPrimitive.DialogPortalProps>;
|
|
26
|
+
Overlay: import("react").ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
27
|
+
Content: import("react").ForwardRefExoticComponent<DialogContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
28
|
+
Title: import("react").ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
29
|
+
Description: import("react").ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>, "ref"> & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
30
|
+
Close: import("react").ForwardRefExoticComponent<Omit<DialogPrimitive.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
31
|
+
Footer: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
32
|
+
};
|
|
33
|
+
export type DialogProps = DialogRootProps;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Dialog.js';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export type DrawerProps = {
|
|
3
|
+
open: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
title: ReactNode;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
footer?: ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
};
|
|
10
|
+
/** A right-side sheet. The drawer owns scrolling; content provides the body. */
|
|
11
|
+
export declare function Drawer({ open, onClose, title, children, footer, className, }: DrawerProps): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Drawer.js';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
2
|
+
export interface DropdownMenuProps extends DropdownMenuPrimitive.DropdownMenuProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
}
|
|
5
|
+
/** Menu opened from a trigger button, with keyboard navigation. */
|
|
6
|
+
export declare const DropdownMenu: (props: DropdownMenuProps) => import("react").JSX.Element;
|
|
7
|
+
export declare const DropdownMenuTrigger: ({ className, ...rest }: DropdownMenuPrimitive.DropdownMenuTriggerProps) => import("react").JSX.Element;
|
|
8
|
+
export declare const DropdownMenuPortal: import("react").FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
9
|
+
export declare const DropdownMenuContent: ({ className, ...rest }: DropdownMenuPrimitive.DropdownMenuContentProps) => import("react").JSX.Element;
|
|
10
|
+
export declare const DropdownMenuArrow: ({ className, ...rest }: DropdownMenuPrimitive.DropdownMenuArrowProps) => import("react").JSX.Element;
|
|
11
|
+
export declare const DropdownMenuGroup: ({ className, ...rest }: DropdownMenuPrimitive.DropdownMenuGroupProps) => import("react").JSX.Element;
|
|
12
|
+
export declare const DropdownMenuLabel: ({ className, ...rest }: DropdownMenuPrimitive.DropdownMenuLabelProps) => import("react").JSX.Element;
|
|
13
|
+
export declare const DropdownMenuItem: ({ className, ...rest }: DropdownMenuPrimitive.DropdownMenuItemProps) => import("react").JSX.Element;
|
|
14
|
+
export declare const DropdownMenuItemIndicator: ({ className, ...rest }: DropdownMenuPrimitive.DropdownMenuItemIndicatorProps) => import("react").JSX.Element;
|
|
15
|
+
export declare const DropdownMenuCheckboxItem: ({ className, ...rest }: DropdownMenuPrimitive.DropdownMenuCheckboxItemProps) => import("react").JSX.Element;
|
|
16
|
+
export declare const DropdownMenuRadioGroup: ({ className, ...rest }: DropdownMenuPrimitive.DropdownMenuRadioGroupProps) => import("react").JSX.Element;
|
|
17
|
+
export declare const DropdownMenuRadioItem: ({ className, ...rest }: DropdownMenuPrimitive.DropdownMenuRadioItemProps) => import("react").JSX.Element;
|
|
18
|
+
export declare const DropdownMenuSeparator: ({ className, ...rest }: DropdownMenuPrimitive.DropdownMenuSeparatorProps) => import("react").JSX.Element;
|
|
19
|
+
export declare const DropdownMenuSub: import("react").FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
20
|
+
export declare const DropdownMenuSubTrigger: ({ className, ...rest }: DropdownMenuPrimitive.DropdownMenuSubTriggerProps) => import("react").JSX.Element;
|
|
21
|
+
export declare const DropdownMenuSubContent: ({ className, ...rest }: DropdownMenuPrimitive.DropdownMenuSubContentProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DropdownMenu.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EmptyState.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ReactElement } from 'react';
|
|
2
|
+
export interface FieldProps {
|
|
3
|
+
label: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
error?: string;
|
|
6
|
+
children: ReactElement<{
|
|
7
|
+
id?: string;
|
|
8
|
+
'aria-describedby'?: string;
|
|
9
|
+
'aria-invalid'?: boolean;
|
|
10
|
+
}>;
|
|
11
|
+
}
|
|
12
|
+
export declare const Field: ({ label, description, error, children }: FieldProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Field.js';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface FilterSelectProps {
|
|
2
|
+
/** Visible label, also used as the select's accessible name. */
|
|
3
|
+
label: string;
|
|
4
|
+
/** Currently selected value. */
|
|
5
|
+
value: string;
|
|
6
|
+
/** Choices to show in the popup. */
|
|
7
|
+
options: readonly string[];
|
|
8
|
+
/** Called with the newly selected value. */
|
|
9
|
+
onChange: (value: string) => void;
|
|
10
|
+
/** Additional class names for the wrapper. */
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
/** Compact labelled select used for toolbar and table filters. */
|
|
14
|
+
export declare const FilterSelect: ({ label, value, options, onChange, className, }: FilterSelectProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FilterSelect.js';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as FormPrimitive from '@radix-ui/react-form';
|
|
2
|
+
export interface FormProps extends FormPrimitive.FormProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface FormFieldProps extends FormPrimitive.FormFieldProps {
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface FormLabelProps extends FormPrimitive.FormLabelProps {
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface FormControlProps extends FormPrimitive.FormControlProps {
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface FormMessageProps extends FormPrimitive.FormMessageProps {
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface FormSubmitProps extends FormPrimitive.FormSubmitProps {
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
/** Tokenized form with accessible field, label and message parts. */
|
|
21
|
+
export declare const Form: ({ className, ...rest }: FormProps) => import("react").JSX.Element;
|
|
22
|
+
export declare const FormField: ({ className, ...rest }: FormFieldProps) => import("react").JSX.Element;
|
|
23
|
+
export declare const FormLabel: ({ className, ...rest }: FormLabelProps) => import("react").JSX.Element;
|
|
24
|
+
export declare const FormControl: ({ className, ...rest }: FormControlProps) => import("react").JSX.Element;
|
|
25
|
+
export declare const FormMessage: ({ className, ...rest }: FormMessageProps) => import("react").JSX.Element;
|
|
26
|
+
export declare const FormSubmit: ({ className, ...rest }: FormSubmitProps) => import("react").JSX.Element;
|
|
27
|
+
/** Render-prop part with no DOM element of its own, so it is passed through. */
|
|
28
|
+
export declare const FormValidityState: (props: FormPrimitive.FormValidityStateProps & {
|
|
29
|
+
__scopeForm?: import("@radix-ui/react-context").Scope | undefined;
|
|
30
|
+
}) => import("react").JSX.Element;
|
|
31
|
+
export type FormValidityStateProps = FormPrimitive.FormValidityStateProps;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Form.js';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
2
|
+
export interface HoverCardProps extends HoverCardPrimitive.HoverCardProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
}
|
|
5
|
+
/** Preview card that appears when a target is hovered or focused. */
|
|
6
|
+
export declare const HoverCard: (props: HoverCardProps) => import("react").JSX.Element;
|
|
7
|
+
export declare const HoverCardTrigger: ({ className, ...rest }: HoverCardPrimitive.HoverCardTriggerProps) => import("react").JSX.Element;
|
|
8
|
+
export declare const HoverCardPortal: import("react").FC<HoverCardPrimitive.HoverCardPortalProps>;
|
|
9
|
+
export declare const HoverCardContent: ({ className, ...rest }: HoverCardPrimitive.HoverCardContentProps) => import("react").JSX.Element;
|
|
10
|
+
export declare const HoverCardArrow: ({ className, ...rest }: HoverCardPrimitive.HoverCardArrowProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './HoverCard.js';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type SVGProps } from 'react';
|
|
2
|
+
export interface IconProps extends SVGProps<SVGSVGElement> {
|
|
3
|
+
/** Sets both dimensions unless width or height is supplied. Defaults to 16. */
|
|
4
|
+
size?: number | string;
|
|
5
|
+
}
|
|
6
|
+
/** Decorative by default; supply aria-label to expose an accessible image. */
|
|
7
|
+
export declare const Icon: {
|
|
8
|
+
Ai: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
9
|
+
Bolt: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
10
|
+
Calendar: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
11
|
+
Card: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
12
|
+
Chart: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
13
|
+
Check: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
14
|
+
Chevron: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
15
|
+
Clock: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
16
|
+
Close: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
17
|
+
Compute: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
18
|
+
Copy: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
19
|
+
Down: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
20
|
+
Globe: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
21
|
+
Key: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
22
|
+
Library: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
23
|
+
Manage: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
24
|
+
Moon: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
25
|
+
Plugin: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
26
|
+
Plus: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
27
|
+
Refresh: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
28
|
+
Screen: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
29
|
+
Search: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
30
|
+
Settings: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
31
|
+
Shop: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
32
|
+
Sun: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
33
|
+
Telegram: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
34
|
+
Terminal: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
35
|
+
Wallet: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
36
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Icon, type IconProps } from './Icon.js';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export interface InfoHeaderProps {
|
|
3
|
+
/** Accessible name for the announcement region. */
|
|
4
|
+
label?: string;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
actionLabel?: string;
|
|
7
|
+
actionHref?: string;
|
|
8
|
+
onAction?: () => void;
|
|
9
|
+
onDismiss?: () => void;
|
|
10
|
+
dismissLabel?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
/** Thin, dismissible announcement bar with a centered message and inline link. */
|
|
14
|
+
export declare function InfoHeader({ label, children, actionLabel, actionHref, onAction, onDismiss, dismissLabel, className, }: InfoHeaderProps): import("react").JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InfoHeader, type InfoHeaderProps } from './InfoHeader.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './InfoTooltip.js';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { InputHTMLAttributes } from 'react';
|
|
2
|
+
export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
+
/** Marks the control as invalid so it can render the error treatment. */
|
|
4
|
+
invalid?: boolean;
|
|
5
|
+
}
|
|
6
|
+
/** Base UI input with the RouterPlus form styling. */
|
|
7
|
+
export declare const Input: ({ className, disabled, type, invalid, ...rest }: InputProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Input.js';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import { type InputProps } from '@base-ui/react/input';
|
|
3
|
+
type InputGroupProps = Omit<ComponentProps<'div'>, 'role'> & {
|
|
4
|
+
role?: 'group' | 'region' | 'presentation';
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
invalid?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare function InputGroupRoot({ role, disabled, invalid, ...props }: InputGroupProps): import("react").JSX.Element;
|
|
9
|
+
declare function InputGroupControl(props: InputProps): import("react").JSX.Element;
|
|
10
|
+
export declare const InputGroup: {
|
|
11
|
+
Root: typeof InputGroupRoot;
|
|
12
|
+
Control: typeof InputGroupControl;
|
|
13
|
+
};
|
|
14
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './InputGroup.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
2
|
+
export interface LabelProps extends LabelPrimitive.LabelProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
}
|
|
5
|
+
/** Accessible label styled with the RouterPlus text token. */
|
|
6
|
+
export declare const Label: ({ className, ...rest }: LabelProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Label.js';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type SliderMark = {
|
|
2
|
+
value: number;
|
|
3
|
+
label: string;
|
|
4
|
+
};
|
|
5
|
+
export type SliderProps = {
|
|
6
|
+
value: number;
|
|
7
|
+
min: number;
|
|
8
|
+
max: number;
|
|
9
|
+
step?: number;
|
|
10
|
+
onChange: (value: number) => void;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
marks?: SliderMark[];
|
|
13
|
+
'aria-label'?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
};
|
|
16
|
+
export declare function Slider({ value, min, max, step, onChange, disabled, marks, 'aria-label': label, className, }: SliderProps): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Slider.js';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export type TabItem = {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
icon?: ReactNode;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
content?: ReactNode;
|
|
8
|
+
};
|
|
9
|
+
export declare function Tabs({ items, value, onChange, ariaLabel, className, size, }: {
|
|
10
|
+
items: TabItem[];
|
|
11
|
+
value: string;
|
|
12
|
+
onChange: (value: string) => void;
|
|
13
|
+
ariaLabel?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
size?: 'sm' | 'md';
|
|
16
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Tabs.js';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export interface LinkCardProps extends ComponentPropsWithoutRef<'a'> {
|
|
3
|
+
interactive?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare const LinkCard: ({ interactive, className, ...props }: LinkCardProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './LinkCard.js';
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export type LogoVariant = 'full' | 'short' | 'monogram';
|
|
2
|
+
export interface LogoProps {
|
|
3
|
+
/** `full` = RouterPlus, `short` = Router+, `monogram` = R+. */
|
|
4
|
+
variant?: LogoVariant;
|
|
5
|
+
href?: string;
|
|
6
|
+
footer?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const Logo: (({ variant, href, footer, className, }: LogoProps) => import("react").JSX.Element) & {
|
|
10
|
+
Chatgpt: import("./ProviderLogos.js").BrandLogoComponent;
|
|
11
|
+
Codex: import("./ProviderLogos.js").BrandLogoComponent;
|
|
12
|
+
Zed: import("./ProviderLogos.js").BrandLogoComponent;
|
|
13
|
+
Omp: import("./ProviderLogos.js").BrandLogoComponent;
|
|
14
|
+
Raycast: import("./ProviderLogos.js").BrandLogoComponent;
|
|
15
|
+
ClaudeCode: import("./ProviderLogos.js").BrandLogoComponent;
|
|
16
|
+
Claude: import("./ProviderLogos.js").BrandLogoComponent;
|
|
17
|
+
Openai: import("./ProviderLogos.js").BrandLogoComponent;
|
|
18
|
+
GithubCopilot: import("./ProviderLogos.js").BrandLogoComponent;
|
|
19
|
+
GeminiCli: import("./ProviderLogos.js").BrandLogoComponent;
|
|
20
|
+
Antigravity: import("./ProviderLogos.js").BrandLogoComponent;
|
|
21
|
+
Gemini: import("./ProviderLogos.js").BrandLogoComponent;
|
|
22
|
+
VertexAi: import("./ProviderLogos.js").BrandLogoComponent;
|
|
23
|
+
Deepseek: import("./ProviderLogos.js").BrandLogoComponent;
|
|
24
|
+
Xai: import("./ProviderLogos.js").BrandLogoComponent;
|
|
25
|
+
Kimi: import("./ProviderLogos.js").BrandLogoComponent;
|
|
26
|
+
Zhipu: import("./ProviderLogos.js").BrandLogoComponent;
|
|
27
|
+
Zai: import("./ProviderLogos.js").BrandLogoComponent;
|
|
28
|
+
Minimax: import("./ProviderLogos.js").BrandLogoComponent;
|
|
29
|
+
Stepfun: import("./ProviderLogos.js").BrandLogoComponent;
|
|
30
|
+
Mimo: import("./ProviderLogos.js").BrandLogoComponent;
|
|
31
|
+
Longcat: import("./ProviderLogos.js").BrandLogoComponent;
|
|
32
|
+
BaiduCloud: import("./ProviderLogos.js").BrandLogoComponent;
|
|
33
|
+
TencentCloud: import("./ProviderLogos.js").BrandLogoComponent;
|
|
34
|
+
HuaweiCloud: import("./ProviderLogos.js").BrandLogoComponent;
|
|
35
|
+
Volcengine: import("./ProviderLogos.js").BrandLogoComponent;
|
|
36
|
+
Qwen: import("./ProviderLogos.js").BrandLogoComponent;
|
|
37
|
+
Bailian: import("./ProviderLogos.js").BrandLogoComponent;
|
|
38
|
+
Mistral: import("./ProviderLogos.js").BrandLogoComponent;
|
|
39
|
+
Groq: import("./ProviderLogos.js").BrandLogoComponent;
|
|
40
|
+
Bedrock: import("./ProviderLogos.js").BrandLogoComponent;
|
|
41
|
+
Azure: import("./ProviderLogos.js").BrandLogoComponent;
|
|
42
|
+
Ollama: import("./ProviderLogos.js").BrandLogoComponent;
|
|
43
|
+
NousResearch: import("./ProviderLogos.js").BrandLogoComponent;
|
|
44
|
+
Typesafe: import("./ProviderLogos.js").BrandLogoComponent;
|
|
45
|
+
Openrouter: import("./ProviderLogos.js").BrandLogoComponent;
|
|
46
|
+
Opencode: import("./ProviderLogos.js").BrandLogoComponent;
|
|
47
|
+
Cline: import("./ProviderLogos.js").BrandLogoComponent;
|
|
48
|
+
Kilo: import("./ProviderLogos.js").BrandLogoComponent;
|
|
49
|
+
CommandCode: import("./ProviderLogos.js").BrandLogoComponent;
|
|
50
|
+
Together: import("./ProviderLogos.js").BrandLogoComponent;
|
|
51
|
+
Fireworks: import("./ProviderLogos.js").BrandLogoComponent;
|
|
52
|
+
SiliconCloud: import("./ProviderLogos.js").BrandLogoComponent;
|
|
53
|
+
Nvidia: import("./ProviderLogos.js").BrandLogoComponent;
|
|
54
|
+
Modelscope: import("./ProviderLogos.js").BrandLogoComponent;
|
|
55
|
+
AiHubMix: import("./ProviderLogos.js").BrandLogoComponent;
|
|
56
|
+
PipeLlm: import("./ProviderLogos.js").BrandLogoComponent;
|
|
57
|
+
Ai302: import("./ProviderLogos.js").BrandLogoComponent;
|
|
58
|
+
CherryIn: import("./ProviderLogos.js").BrandLogoComponent;
|
|
59
|
+
Yylx: import("./ProviderLogos.js").BrandLogoComponent;
|
|
60
|
+
Vercel: import("./ProviderLogos.js").BrandLogoComponent;
|
|
61
|
+
Cloudflare: import("./ProviderLogos.js").BrandLogoComponent;
|
|
62
|
+
LmStudio: import("./ProviderLogos.js").BrandLogoComponent;
|
|
63
|
+
Omlx: import("./ProviderLogos.js").BrandLogoComponent;
|
|
64
|
+
MlxServe: import("./ProviderLogos.js").BrandLogoComponent;
|
|
65
|
+
Figma: import("./ProviderLogos.js").BrandLogoComponent;
|
|
66
|
+
Metamuse: import("./ProviderLogos.js").BrandLogoComponent;
|
|
67
|
+
XiaomiMimo: import("./ProviderLogos.js").BrandLogoComponent;
|
|
68
|
+
WorkersAi: import("./ProviderLogos.js").BrandLogoComponent;
|
|
69
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { FunctionComponent } from 'react';
|
|
2
|
+
import type { ProviderLogoProps } from '../../Components/Workspace/Provider.js';
|
|
3
|
+
export type BrandLogoProps = Omit<ProviderLogoProps, 'icon'>;
|
|
4
|
+
export interface BrandLogoComponent extends FunctionComponent<BrandLogoProps> {
|
|
5
|
+
/** Brand name for documentation and wordmark-only rendering. */
|
|
6
|
+
brandLabel: string;
|
|
7
|
+
}
|
|
8
|
+
/** Named brand marks. The mark has no tile or label of its own; pair it with Text to show the brand name. Set showIcon={false} for a wordmark without the mark. */
|
|
9
|
+
export declare const brandLogos: {
|
|
10
|
+
Chatgpt: BrandLogoComponent;
|
|
11
|
+
Codex: BrandLogoComponent;
|
|
12
|
+
Zed: BrandLogoComponent;
|
|
13
|
+
Omp: BrandLogoComponent;
|
|
14
|
+
Raycast: BrandLogoComponent;
|
|
15
|
+
ClaudeCode: BrandLogoComponent;
|
|
16
|
+
Claude: BrandLogoComponent;
|
|
17
|
+
Openai: BrandLogoComponent;
|
|
18
|
+
GithubCopilot: BrandLogoComponent;
|
|
19
|
+
GeminiCli: BrandLogoComponent;
|
|
20
|
+
Antigravity: BrandLogoComponent;
|
|
21
|
+
Gemini: BrandLogoComponent;
|
|
22
|
+
VertexAi: BrandLogoComponent;
|
|
23
|
+
Deepseek: BrandLogoComponent;
|
|
24
|
+
Xai: BrandLogoComponent;
|
|
25
|
+
Kimi: BrandLogoComponent;
|
|
26
|
+
Zhipu: BrandLogoComponent;
|
|
27
|
+
Zai: BrandLogoComponent;
|
|
28
|
+
Minimax: BrandLogoComponent;
|
|
29
|
+
Stepfun: BrandLogoComponent;
|
|
30
|
+
Mimo: BrandLogoComponent;
|
|
31
|
+
Longcat: BrandLogoComponent;
|
|
32
|
+
BaiduCloud: BrandLogoComponent;
|
|
33
|
+
TencentCloud: BrandLogoComponent;
|
|
34
|
+
HuaweiCloud: BrandLogoComponent;
|
|
35
|
+
Volcengine: BrandLogoComponent;
|
|
36
|
+
Qwen: BrandLogoComponent;
|
|
37
|
+
Bailian: BrandLogoComponent;
|
|
38
|
+
Mistral: BrandLogoComponent;
|
|
39
|
+
Groq: BrandLogoComponent;
|
|
40
|
+
Bedrock: BrandLogoComponent;
|
|
41
|
+
Azure: BrandLogoComponent;
|
|
42
|
+
Ollama: BrandLogoComponent;
|
|
43
|
+
NousResearch: BrandLogoComponent;
|
|
44
|
+
Typesafe: BrandLogoComponent;
|
|
45
|
+
Openrouter: BrandLogoComponent;
|
|
46
|
+
Opencode: BrandLogoComponent;
|
|
47
|
+
Cline: BrandLogoComponent;
|
|
48
|
+
Kilo: BrandLogoComponent;
|
|
49
|
+
CommandCode: BrandLogoComponent;
|
|
50
|
+
Together: BrandLogoComponent;
|
|
51
|
+
Fireworks: BrandLogoComponent;
|
|
52
|
+
SiliconCloud: BrandLogoComponent;
|
|
53
|
+
Nvidia: BrandLogoComponent;
|
|
54
|
+
Modelscope: BrandLogoComponent;
|
|
55
|
+
AiHubMix: BrandLogoComponent;
|
|
56
|
+
PipeLlm: BrandLogoComponent;
|
|
57
|
+
Ai302: BrandLogoComponent;
|
|
58
|
+
CherryIn: BrandLogoComponent;
|
|
59
|
+
Yylx: BrandLogoComponent;
|
|
60
|
+
Vercel: BrandLogoComponent;
|
|
61
|
+
Cloudflare: BrandLogoComponent;
|
|
62
|
+
LmStudio: BrandLogoComponent;
|
|
63
|
+
Omlx: BrandLogoComponent;
|
|
64
|
+
MlxServe: BrandLogoComponent;
|
|
65
|
+
Figma: BrandLogoComponent;
|
|
66
|
+
Metamuse: BrandLogoComponent;
|
|
67
|
+
XiaomiMimo: BrandLogoComponent;
|
|
68
|
+
WorkersAi: BrandLogoComponent;
|
|
69
|
+
};
|