hight-orchestratorbot-components 1.0.0

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.
Files changed (51) hide show
  1. package/README.md +30 -0
  2. package/dist/App.d.ts +3 -0
  3. package/dist/components/Base/Autocomplete.d.ts +11 -0
  4. package/dist/components/Base/BrandAccordion.d.ts +10 -0
  5. package/dist/components/Base/BrandAlert.d.ts +9 -0
  6. package/dist/components/Base/BrandAutocomplete.d.ts +14 -0
  7. package/dist/components/Base/BrandButton.d.ts +7 -0
  8. package/dist/components/Base/BrandCard.d.ts +8 -0
  9. package/dist/components/Base/BrandCheckbox.d.ts +8 -0
  10. package/dist/components/Base/BrandDialog.d.ts +12 -0
  11. package/dist/components/Base/BrandDrawer.d.ts +12 -0
  12. package/dist/components/Base/BrandInput.d.ts +11 -0
  13. package/dist/components/Base/BrandLink.d.ts +8 -0
  14. package/dist/components/Base/BrandMenu.d.ts +8 -0
  15. package/dist/components/Base/BrandSection.d.ts +7 -0
  16. package/dist/components/Base/BrandSelect.d.ts +12 -0
  17. package/dist/components/Base/BrandStepper.d.ts +10 -0
  18. package/dist/components/Base/BrandTabSwitcher.d.ts +11 -0
  19. package/dist/components/Base/BrandTabs.d.ts +9 -0
  20. package/dist/components/Base/BrandTextarea.d.ts +10 -0
  21. package/dist/components/Base/BrandTooltip.d.ts +8 -0
  22. package/dist/components/Base/Chip.d.ts +9 -0
  23. package/dist/components/Base/Divider.d.ts +8 -0
  24. package/dist/components/Base/IconLoader.d.ts +12 -0
  25. package/dist/components/Base/Spacing.d.ts +6 -0
  26. package/dist/components/Base/Typography.d.ts +8 -0
  27. package/dist/components/index.d.ts +26 -0
  28. package/dist/components/ui/accordion.d.ts +7 -0
  29. package/dist/components/ui/alert.d.ts +8 -0
  30. package/dist/components/ui/badge.d.ts +9 -0
  31. package/dist/components/ui/button.d.ts +11 -0
  32. package/dist/components/ui/card.d.ts +8 -0
  33. package/dist/components/ui/checkbox.d.ts +4 -0
  34. package/dist/components/ui/command.d.ts +82 -0
  35. package/dist/components/ui/dialog.d.ts +19 -0
  36. package/dist/components/ui/dropdown-menu.d.ts +27 -0
  37. package/dist/components/ui/input.d.ts +5 -0
  38. package/dist/components/ui/label.d.ts +5 -0
  39. package/dist/components/ui/popover.d.ts +7 -0
  40. package/dist/components/ui/scroll-area.d.ts +5 -0
  41. package/dist/components/ui/select.d.ts +13 -0
  42. package/dist/components/ui/tabs.d.ts +7 -0
  43. package/dist/components/ui/textarea.d.ts +5 -0
  44. package/dist/components/ui/tooltip.d.ts +7 -0
  45. package/dist/index.d.ts +1 -0
  46. package/dist/lib/utils.d.ts +3 -0
  47. package/dist/main.d.ts +1 -0
  48. package/dist/orchestratorbot-components.es.js +19144 -0
  49. package/dist/orchestratorbot-components.umd.js +86 -0
  50. package/dist/vite.svg +1 -0
  51. package/package.json +27 -0
package/README.md ADDED
@@ -0,0 +1,30 @@
1
+ # React + TypeScript + Vite
2
+
3
+ This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4
+
5
+ Currently, two official plugins are available:
6
+
7
+ - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
8
+ - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
9
+
10
+ ## Expanding the ESLint configuration
11
+
12
+ If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
13
+
14
+ - Configure the top-level `parserOptions` property like this:
15
+
16
+ ```js
17
+ export default {
18
+ // other rules...
19
+ parserOptions: {
20
+ ecmaVersion: 'latest',
21
+ sourceType: 'module',
22
+ project: ['./tsconfig.json', './tsconfig.node.json'],
23
+ tsconfigRootDir: __dirname,
24
+ },
25
+ }
26
+ ```
27
+
28
+ - Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
29
+ - Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
30
+ - Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
package/dist/App.d.ts ADDED
@@ -0,0 +1,3 @@
1
+
2
+ declare function App(): import("react/jsx-runtime").JSX.Element;
3
+ export default App;
@@ -0,0 +1,11 @@
1
+ interface IAutocompleteProps {
2
+ options: Array<Record<string, string | number>>;
3
+ label: string;
4
+ value: string;
5
+ displayValue: string;
6
+ selection: string;
7
+ className?: string;
8
+ setSelection: (value: string) => void;
9
+ }
10
+ declare const Autocomplete: ({ options, label, value, displayValue, selection, className, setSelection, }: IAutocompleteProps) => import("react/jsx-runtime").JSX.Element;
11
+ export default Autocomplete;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ interface IProps {
3
+ title: string;
4
+ className?: string;
5
+ children: React.ReactNode;
6
+ defaultExpanded?: boolean;
7
+ triggerClassName?: string;
8
+ }
9
+ declare const BrandAccordion: (props: IProps) => import("react/jsx-runtime").JSX.Element;
10
+ export default BrandAccordion;
@@ -0,0 +1,9 @@
1
+ interface IBrandAlertProps {
2
+ trigger: boolean;
3
+ icon?: string;
4
+ title: string;
5
+ description: string;
6
+ variant?: "default" | "destructive";
7
+ }
8
+ declare const BrandAlert: (props: IBrandAlertProps) => import("react/jsx-runtime").JSX.Element | null;
9
+ export default BrandAlert;
@@ -0,0 +1,14 @@
1
+ import { HTMLProps } from 'react';
2
+
3
+ interface IProps extends HTMLProps<HTMLDivElement> {
4
+ disabled?: boolean;
5
+ defaultValue?: Array<string>;
6
+ label: string;
7
+ elements: Array<SelectOption>;
8
+ multiple?: boolean;
9
+ loading?: boolean;
10
+ hint?: string;
11
+ onValueChange: (e: Array<string>) => void;
12
+ }
13
+ declare const BrandAutocomplete: (props: IProps) => import("react/jsx-runtime").JSX.Element;
14
+ export default BrandAutocomplete;
@@ -0,0 +1,7 @@
1
+ import { ButtonProps } from '../ui/button';
2
+
3
+ interface IBrandButton extends ButtonProps {
4
+ loading?: boolean;
5
+ }
6
+ declare const BrandButton: (props: IBrandButton) => import("react/jsx-runtime").JSX.Element;
7
+ export default BrandButton;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface IBrandCard extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
3
+ title?: string | React.ReactElement;
4
+ description?: string;
5
+ contentClassName?: string;
6
+ }
7
+ declare const BrandCard: (props: IBrandCard) => import("react/jsx-runtime").JSX.Element;
8
+ export default BrandCard;
@@ -0,0 +1,8 @@
1
+ interface IBrandCheckboxProps {
2
+ state: boolean;
3
+ description?: string;
4
+ label: string;
5
+ setState: (e: boolean) => void;
6
+ }
7
+ declare const BrandCheckbox: (props: IBrandCheckboxProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default BrandCheckbox;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ interface IProps {
3
+ isOpen: boolean;
4
+ title?: string;
5
+ children: React.ReactNode;
6
+ widthClasses?: string;
7
+ fullScreen?: boolean;
8
+ onClose?: () => void;
9
+ persistent?: boolean;
10
+ }
11
+ declare const BrandDialog: (props: IProps) => import("react/jsx-runtime").JSX.Element;
12
+ export default BrandDialog;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ interface IProps {
3
+ open: boolean;
4
+ children: React.ReactNode;
5
+ defaultExpanded?: boolean;
6
+ closedWidth?: number;
7
+ openWidth?: number;
8
+ className?: string;
9
+ restrictedHeight?: boolean;
10
+ }
11
+ declare const BrandDrawer: (props: IProps) => import("react/jsx-runtime").JSX.Element;
12
+ export default BrandDrawer;
@@ -0,0 +1,11 @@
1
+ import { InputProps } from '../ui/input';
2
+
3
+ interface IProps extends InputProps {
4
+ label: string;
5
+ fullWidth?: boolean;
6
+ separateLabel?: boolean;
7
+ endIcon?: React.ReactNode;
8
+ hint?: string;
9
+ }
10
+ declare const BrandInput: (props: IProps) => import("react/jsx-runtime").JSX.Element;
11
+ export default BrandInput;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface IProps {
3
+ children: React.ReactNode;
4
+ className?: string;
5
+ onClick?: () => void;
6
+ }
7
+ declare const BrandLink: (props: IProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default BrandLink;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface IProps {
3
+ trigger: React.ReactNode;
4
+ children: React.ReactNode;
5
+ onClose?: () => void;
6
+ }
7
+ declare const BrandMenu: (props: IProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default BrandMenu;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ interface IProps {
3
+ title: string;
4
+ children: React.ReactNode;
5
+ }
6
+ declare const BrandSection: (props: IProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default BrandSection;
@@ -0,0 +1,12 @@
1
+ import { SelectProps } from '@radix-ui/react-select';
2
+
3
+ interface IProps extends SelectProps {
4
+ disabled?: boolean;
5
+ placeholder: string;
6
+ elements: Array<SelectOption>;
7
+ separateLabel?: boolean;
8
+ loading?: boolean;
9
+ onValueChange?: (e: string) => void;
10
+ }
11
+ declare const BrandSelect: (props: IProps) => import("react/jsx-runtime").JSX.Element;
12
+ export default BrandSelect;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ interface IProps {
3
+ children: React.ReactNode;
4
+ steps: Array<Tab>;
5
+ defaultValue?: number;
6
+ orientation?: "horizontal" | "vertical";
7
+ config?: StepperConfig;
8
+ }
9
+ declare const BrandStepper: (props: IProps) => import("react/jsx-runtime").JSX.Element;
10
+ export default BrandStepper;
@@ -0,0 +1,11 @@
1
+ interface IProps {
2
+ tabOptions: {
3
+ label: string;
4
+ value: string;
5
+ }[];
6
+ disabledTabs?: string[];
7
+ selectedTab: string;
8
+ setSelectedTab: (tab: string) => void;
9
+ }
10
+ declare const BrandTabSwitcher: (props: IProps) => import("react/jsx-runtime").JSX.Element;
11
+ export default BrandTabSwitcher;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ interface IProps {
3
+ children: React.ReactNode;
4
+ tabs: Array<Tab>;
5
+ defaultValue?: string;
6
+ orientation?: "horizontal" | "vertical";
7
+ }
8
+ declare const BrandTabs: (props: IProps) => import("react/jsx-runtime").JSX.Element;
9
+ export default BrandTabs;
@@ -0,0 +1,10 @@
1
+ import { TextareaProps } from '../ui/textarea';
2
+
3
+ interface IProps extends TextareaProps {
4
+ label: string;
5
+ fullWidth?: boolean;
6
+ separateLabel?: boolean;
7
+ rows?: number;
8
+ }
9
+ declare const BrandTextarea: (props: IProps) => import("react/jsx-runtime").JSX.Element;
10
+ export default BrandTextarea;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface IProps {
3
+ children: React.ReactNode;
4
+ text: string;
5
+ side?: "top" | "right" | "bottom" | "left";
6
+ }
7
+ declare const BrandTooltip: (props: IProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default BrandTooltip;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ interface IProps {
3
+ color?: string;
4
+ variant: "default" | "destructive" | "outline" | "secondary" | null | undefined;
5
+ value: string;
6
+ endIcon?: React.ReactNode;
7
+ }
8
+ declare const Chip: (params: IProps) => import("react/jsx-runtime").JSX.Element;
9
+ export default Chip;
@@ -0,0 +1,8 @@
1
+ import { MouseEvent } from 'react';
2
+
3
+ interface IProps {
4
+ className?: string;
5
+ onClick?: (e: MouseEvent<HTMLHRElement>) => void;
6
+ }
7
+ declare const Divider: import('react').ForwardRefExoticComponent<IProps & import("react").RefAttributes<HTMLHRElement>>;
8
+ export default Divider;
@@ -0,0 +1,12 @@
1
+ import { MouseEvent } from 'react';
2
+
3
+ interface IIconLoader {
4
+ icon: string;
5
+ size?: string;
6
+ color?: string;
7
+ className?: string;
8
+ disabled?: boolean;
9
+ onClick?: (e: MouseEvent) => void;
10
+ }
11
+ declare const IconLoader: (props: IIconLoader) => import("react/jsx-runtime").JSX.Element;
12
+ export default IconLoader;
@@ -0,0 +1,6 @@
1
+ interface IProps {
2
+ size?: "small" | "medium" | "large";
3
+ direction?: "horizontal" | "vertical";
4
+ }
5
+ declare const Spacing: (props: IProps) => import("react/jsx-runtime").JSX.Element;
6
+ export default Spacing;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface IProps {
3
+ children: React.ReactNode;
4
+ className?: string;
5
+ variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "caption";
6
+ }
7
+ declare const Typography: (props: IProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default Typography;
@@ -0,0 +1,26 @@
1
+ import { default as BrandAutocomplete } from './Base/BrandAutocomplete';
2
+ import { default as BrandTextarea } from './Base/BrandTextarea';
3
+ import { default as BrandTabSwitcher } from './Base/BrandTabSwitcher';
4
+ import { default as BrandStepper } from './Base/BrandStepper';
5
+ import { default as BrandTabs } from './Base/BrandTabs';
6
+ import { default as BrandDialog } from './Base/BrandDialog';
7
+ import { default as Chip } from './Base/Chip';
8
+ import { default as BrandMenu } from './Base/BrandMenu';
9
+ import { default as BrandCheckbox } from './Base/BrandCheckbox';
10
+ import { default as BrandAlert } from './Base/BrandAlert';
11
+ import { default as Spacing } from './Base/Spacing';
12
+ import { default as Autocomplete } from './Base/Autocomplete';
13
+ import { default as BrandInput } from './Base/BrandInput';
14
+ import { default as BrandButton } from './Base/BrandButton';
15
+ import { default as BrandLink } from './Base/BrandLink';
16
+ import { default as BrandSection } from './Base/BrandSection';
17
+ import { default as BrandSelect } from './Base/BrandSelect';
18
+ import { default as BrandTooltip } from './Base/BrandTooltip';
19
+ import { default as BrandAccordion } from './Base/BrandAccordion';
20
+ import { default as Typography } from './Base/Typography';
21
+ import { default as BrandCard } from './Base/BrandCard';
22
+ import { default as BrandDrawer } from './Base/BrandDrawer';
23
+ import { default as IconLoader } from './Base/IconLoader';
24
+ import { default as Divider } from './Base/Divider';
25
+
26
+ export { Divider, Spacing, BrandDrawer, BrandCard, IconLoader, Typography, BrandAccordion, BrandTooltip, BrandSection, BrandSelect, BrandLink, BrandButton, BrandInput, Autocomplete, BrandAlert, BrandCheckbox, BrandMenu, Chip, BrandDialog, BrandTabs, BrandStepper, BrandTabSwitcher, BrandTextarea, BrandAutocomplete, };
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ import * as AccordionPrimitive from "@radix-ui/react-accordion";
3
+ declare const Accordion: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
4
+ declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
+ declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
6
+ declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
@@ -0,0 +1,8 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from "react";
3
+ declare const Alert: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
4
+ variant?: "destructive" | "default" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
6
+ declare const AlertTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
7
+ declare const AlertDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
8
+ export { Alert, AlertTitle, AlertDescription };
@@ -0,0 +1,9 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from "react";
3
+ declare const badgeVariants: (props?: ({
4
+ variant?: "secondary" | "destructive" | "default" | "outline" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
7
+ }
8
+ declare function Badge({ className, variant, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
9
+ export { Badge, badgeVariants };
@@ -0,0 +1,11 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from "react";
3
+ declare const buttonVariants: (props?: ({
4
+ variant?: "link" | "secondary" | "destructive" | "default" | "outline" | "ghost" | null | undefined;
5
+ size?: "icon" | "default" | "sm" | "lg" | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
8
+ asChild?: boolean;
9
+ }
10
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
11
+ export { Button, buttonVariants };
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
3
+ declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
4
+ declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
5
+ declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
6
+ declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
7
+ declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
8
+ export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
3
+ declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
+ export { Checkbox };
@@ -0,0 +1,82 @@
1
+ import { DialogProps } from '@radix-ui/react-dialog';
2
+ import * as React from "react";
3
+ declare const Command: React.ForwardRefExoticComponent<Omit<{
4
+ children?: React.ReactNode;
5
+ } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
6
+ ref?: React.Ref<HTMLDivElement> | undefined;
7
+ } & {
8
+ asChild?: boolean | undefined;
9
+ }, keyof React.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
10
+ label?: string | undefined;
11
+ shouldFilter?: boolean | undefined;
12
+ filter?: ((value: string, search: string, keywords?: string[] | undefined) => number) | undefined;
13
+ defaultValue?: string | undefined;
14
+ value?: string | undefined;
15
+ onValueChange?: ((value: string) => void) | undefined;
16
+ loop?: boolean | undefined;
17
+ disablePointerSelection?: boolean | undefined;
18
+ vimBindings?: boolean | undefined;
19
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
20
+ interface CommandDialogProps extends DialogProps {
21
+ }
22
+ declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => import("react/jsx-runtime").JSX.Element;
23
+ declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
24
+ ref?: React.Ref<HTMLInputElement> | undefined;
25
+ } & {
26
+ asChild?: boolean | undefined;
27
+ }, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
28
+ value?: string | undefined;
29
+ onValueChange?: ((search: string) => void) | undefined;
30
+ } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
31
+ declare const CommandList: React.ForwardRefExoticComponent<Omit<{
32
+ children?: React.ReactNode;
33
+ } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
34
+ ref?: React.Ref<HTMLDivElement> | undefined;
35
+ } & {
36
+ asChild?: boolean | undefined;
37
+ }, keyof React.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
38
+ label?: string | undefined;
39
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
40
+ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
41
+ children?: React.ReactNode;
42
+ } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
43
+ ref?: React.Ref<HTMLDivElement> | undefined;
44
+ } & {
45
+ asChild?: boolean | undefined;
46
+ }, keyof React.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
47
+ declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
48
+ children?: React.ReactNode;
49
+ } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
50
+ ref?: React.Ref<HTMLDivElement> | undefined;
51
+ } & {
52
+ asChild?: boolean | undefined;
53
+ }, keyof React.HTMLAttributes<HTMLDivElement> | "key" | "asChild">, "heading" | "value"> & {
54
+ heading?: React.ReactNode;
55
+ value?: string | undefined;
56
+ forceMount?: boolean | undefined;
57
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
58
+ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
59
+ ref?: React.Ref<HTMLDivElement> | undefined;
60
+ } & {
61
+ asChild?: boolean | undefined;
62
+ }, keyof React.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
63
+ alwaysRender?: boolean | undefined;
64
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
65
+ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
66
+ children?: React.ReactNode;
67
+ } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
68
+ ref?: React.Ref<HTMLDivElement> | undefined;
69
+ } & {
70
+ asChild?: boolean | undefined;
71
+ }, keyof React.HTMLAttributes<HTMLDivElement> | "key" | "asChild">, "disabled" | "onSelect" | "value"> & {
72
+ disabled?: boolean | undefined;
73
+ onSelect?: ((value: string) => void) | undefined;
74
+ value?: string | undefined;
75
+ keywords?: string[] | undefined;
76
+ forceMount?: boolean | undefined;
77
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
78
+ declare const CommandShortcut: {
79
+ ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
80
+ displayName: string;
81
+ };
82
+ export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };
@@ -0,0 +1,19 @@
1
+ import * as React from "react";
2
+ import * as DialogPrimitive from "@radix-ui/react-dialog";
3
+ declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
4
+ declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
+ declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
6
+ declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
7
+ declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
+ declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
9
+ declare const DialogHeader: {
10
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
11
+ displayName: string;
12
+ };
13
+ declare const DialogFooter: {
14
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
15
+ displayName: string;
16
+ };
17
+ declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
18
+ declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
19
+ export { Dialog, DialogPortal, DialogOverlay, DialogTrigger, DialogClose, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
@@ -0,0 +1,27 @@
1
+ import * as React from "react";
2
+ import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
3
+ declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
4
+ declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
+ declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
6
+ declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
7
+ declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
8
+ declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
9
+ declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
10
+ inset?: boolean | undefined;
11
+ } & React.RefAttributes<HTMLDivElement>>;
12
+ declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
+ declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
+ declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
15
+ inset?: boolean | undefined;
16
+ } & React.RefAttributes<HTMLDivElement>>;
17
+ declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
18
+ declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
+ declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
20
+ inset?: boolean | undefined;
21
+ } & React.RefAttributes<HTMLDivElement>>;
22
+ declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
23
+ declare const DropdownMenuShortcut: {
24
+ ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
25
+ displayName: string;
26
+ };
27
+ export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, };
@@ -0,0 +1,5 @@
1
+ import * as React from "react";
2
+ export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
3
+ }
4
+ declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
5
+ export { Input };
@@ -0,0 +1,5 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from "react";
3
+ import * as LabelPrimitive from "@radix-ui/react-label";
4
+ declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import('class-variance-authority/types').ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
5
+ export { Label };
@@ -0,0 +1,7 @@
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 PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };
@@ -0,0 +1,5 @@
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 };
@@ -0,0 +1,13 @@
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, };
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ import * as TabsPrimitive from "@radix-ui/react-tabs";
3
+ declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
4
+ declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
+ declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
6
+ declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ export { Tabs, TabsList, TabsTrigger, TabsContent };
@@ -0,0 +1,5 @@
1
+ import * as React from "react";
2
+ export interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
3
+ }
4
+ declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
5
+ export { Textarea };
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ import * as TooltipPrimitive from "@radix-ui/react-tooltip";
3
+ declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
4
+ declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
5
+ declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
6
+ declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
@@ -0,0 +1 @@
1
+ export * from './components/index'
@@ -0,0 +1,3 @@
1
+ import { ClassValue } from 'clsx';
2
+
3
+ export declare function cn(...inputs: ClassValue[]): string;
package/dist/main.d.ts ADDED
@@ -0,0 +1 @@
1
+