hight-orchestratorbot-components 1.0.0 → 1.2.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.
- package/dist/index.cjs.js +87 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +254 -1
- package/dist/{orchestratorbot-components.es.js → index.es.js} +853 -873
- package/dist/index.es.js.map +1 -0
- package/dist/index.iife.js +87 -0
- package/dist/index.iife.js.map +1 -0
- package/dist/{orchestratorbot-components.umd.js → index.umd.js} +11 -10
- package/dist/index.umd.js.map +1 -0
- package/package.json +60 -9
- package/dist/App.d.ts +0 -3
- package/dist/components/Base/Autocomplete.d.ts +0 -11
- package/dist/components/Base/BrandAccordion.d.ts +0 -10
- package/dist/components/Base/BrandAlert.d.ts +0 -9
- package/dist/components/Base/BrandAutocomplete.d.ts +0 -14
- package/dist/components/Base/BrandButton.d.ts +0 -7
- package/dist/components/Base/BrandCard.d.ts +0 -8
- package/dist/components/Base/BrandCheckbox.d.ts +0 -8
- package/dist/components/Base/BrandDialog.d.ts +0 -12
- package/dist/components/Base/BrandDrawer.d.ts +0 -12
- package/dist/components/Base/BrandInput.d.ts +0 -11
- package/dist/components/Base/BrandLink.d.ts +0 -8
- package/dist/components/Base/BrandMenu.d.ts +0 -8
- package/dist/components/Base/BrandSection.d.ts +0 -7
- package/dist/components/Base/BrandSelect.d.ts +0 -12
- package/dist/components/Base/BrandStepper.d.ts +0 -10
- package/dist/components/Base/BrandTabSwitcher.d.ts +0 -11
- package/dist/components/Base/BrandTabs.d.ts +0 -9
- package/dist/components/Base/BrandTextarea.d.ts +0 -10
- package/dist/components/Base/BrandTooltip.d.ts +0 -8
- package/dist/components/Base/Chip.d.ts +0 -9
- package/dist/components/Base/Divider.d.ts +0 -8
- package/dist/components/Base/IconLoader.d.ts +0 -12
- package/dist/components/Base/Spacing.d.ts +0 -6
- package/dist/components/Base/Typography.d.ts +0 -8
- package/dist/components/index.d.ts +0 -26
- package/dist/components/ui/accordion.d.ts +0 -7
- package/dist/components/ui/alert.d.ts +0 -8
- package/dist/components/ui/badge.d.ts +0 -9
- package/dist/components/ui/button.d.ts +0 -11
- package/dist/components/ui/card.d.ts +0 -8
- package/dist/components/ui/checkbox.d.ts +0 -4
- package/dist/components/ui/command.d.ts +0 -82
- package/dist/components/ui/dialog.d.ts +0 -19
- package/dist/components/ui/dropdown-menu.d.ts +0 -27
- package/dist/components/ui/input.d.ts +0 -5
- package/dist/components/ui/label.d.ts +0 -5
- package/dist/components/ui/popover.d.ts +0 -7
- package/dist/components/ui/scroll-area.d.ts +0 -5
- package/dist/components/ui/select.d.ts +0 -13
- package/dist/components/ui/tabs.d.ts +0 -7
- package/dist/components/ui/textarea.d.ts +0 -5
- package/dist/components/ui/tooltip.d.ts +0 -7
- package/dist/lib/utils.d.ts +0 -3
- package/dist/main.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,27 +1,78 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hight-orchestratorbot-components",
|
|
3
3
|
"description": "Hight OrchestratorBot Components",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "vite",
|
|
8
8
|
"build": "tsc && vite build",
|
|
9
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives
|
|
10
|
-
"preview": "vite preview"
|
|
11
|
-
"prepack": "json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\""
|
|
9
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives",
|
|
10
|
+
"preview": "vite preview"
|
|
12
11
|
},
|
|
13
12
|
"author": "nikolay@hight.io",
|
|
14
13
|
"license": "ISC",
|
|
15
14
|
"files": [
|
|
16
|
-
"dist"
|
|
15
|
+
"/dist"
|
|
17
16
|
],
|
|
18
|
-
"main": "
|
|
19
|
-
"module": "
|
|
20
|
-
"types": "
|
|
17
|
+
"main": "dist/my-lib.umd.js",
|
|
18
|
+
"module": "dist/my-lib.es.js",
|
|
19
|
+
"types": "dist/index.d.ts",
|
|
21
20
|
"exports": {
|
|
22
21
|
".": {
|
|
23
22
|
"import": "./dist/my-lib.es.js",
|
|
24
|
-
"require": "./dist/my-lib.umd.js"
|
|
23
|
+
"require": "./dist/my-lib.umd.js",
|
|
24
|
+
"types": "./dist/index.d.ts"
|
|
25
25
|
}
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@mdi/js": "^7.4.47",
|
|
29
|
+
"@mdi/react": "^1.6.1",
|
|
30
|
+
"@mdi/svg": "^7.4.47",
|
|
31
|
+
"@radix-ui/react-accordion": "^1.1.2",
|
|
32
|
+
"@radix-ui/react-checkbox": "^1.0.4",
|
|
33
|
+
"@radix-ui/react-collapsible": "^1.0.3",
|
|
34
|
+
"@radix-ui/react-context-menu": "^2.1.5",
|
|
35
|
+
"@radix-ui/react-dialog": "^1.0.5",
|
|
36
|
+
"@radix-ui/react-dropdown-menu": "^2.0.6",
|
|
37
|
+
"@radix-ui/react-hover-card": "^1.0.7",
|
|
38
|
+
"@radix-ui/react-icons": "^1.3.0",
|
|
39
|
+
"@radix-ui/react-label": "^2.0.2",
|
|
40
|
+
"@radix-ui/react-navigation-menu": "^1.1.4",
|
|
41
|
+
"@radix-ui/react-popover": "^1.0.7",
|
|
42
|
+
"@radix-ui/react-radio-group": "^1.1.3",
|
|
43
|
+
"@radix-ui/react-scroll-area": "^1.0.5",
|
|
44
|
+
"@radix-ui/react-select": "^2.0.0",
|
|
45
|
+
"@radix-ui/react-separator": "^1.0.3",
|
|
46
|
+
"@radix-ui/react-slot": "^1.0.2",
|
|
47
|
+
"@radix-ui/react-switch": "^1.0.3",
|
|
48
|
+
"@radix-ui/react-tabs": "^1.0.4",
|
|
49
|
+
"@radix-ui/react-toast": "^1.1.5",
|
|
50
|
+
"@radix-ui/react-tooltip": "^1.0.7",
|
|
51
|
+
"class-variance-authority": "^0.7.0",
|
|
52
|
+
"cmdk": "^1.0.0",
|
|
53
|
+
"react": "^18",
|
|
54
|
+
"react-colorful": "^5.6.1",
|
|
55
|
+
"react-dom": "^18",
|
|
56
|
+
"sonner": "^1.4.3",
|
|
57
|
+
"swiper": "^11.0.7",
|
|
58
|
+
"tailwindcss-animate": "^1.0.7"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@types/node": "^20.12.2",
|
|
62
|
+
"@types/react": "^18",
|
|
63
|
+
"@types/react-dom": "^18",
|
|
64
|
+
"@typescript-eslint/eslint-plugin": "^7.5.0",
|
|
65
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
66
|
+
"autoprefixer": "^10.4.17",
|
|
67
|
+
"eslint": "^8",
|
|
68
|
+
"eslint-config-next": "14.1.0",
|
|
69
|
+
"eslint-plugin-react-refresh": "^0.4.6",
|
|
70
|
+
"postcss": "^8.4.35",
|
|
71
|
+
"style-loader": "^3.3.4",
|
|
72
|
+
"tailwind-merge": "^2.2.1",
|
|
73
|
+
"tailwindcss": "^3.4.1",
|
|
74
|
+
"typescript": "^5",
|
|
75
|
+
"vite": "^5.2.8",
|
|
76
|
+
"vite-plugin-dts": "^3.8.1"
|
|
26
77
|
}
|
|
27
78
|
}
|
package/dist/App.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
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;
|
|
@@ -1,10 +0,0 @@
|
|
|
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;
|
|
@@ -1,9 +0,0 @@
|
|
|
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;
|
|
@@ -1,14 +0,0 @@
|
|
|
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;
|
|
@@ -1,8 +0,0 @@
|
|
|
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;
|
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
|
@@ -1,11 +0,0 @@
|
|
|
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;
|
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
|
@@ -1,10 +0,0 @@
|
|
|
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;
|
|
@@ -1,11 +0,0 @@
|
|
|
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;
|
|
@@ -1,9 +0,0 @@
|
|
|
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;
|
|
@@ -1,10 +0,0 @@
|
|
|
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;
|
|
@@ -1,8 +0,0 @@
|
|
|
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;
|
|
@@ -1,9 +0,0 @@
|
|
|
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;
|
|
@@ -1,8 +0,0 @@
|
|
|
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;
|
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
|
@@ -1,8 +0,0 @@
|
|
|
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;
|
|
@@ -1,26 +0,0 @@
|
|
|
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, };
|
|
@@ -1,7 +0,0 @@
|
|
|
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 };
|
|
@@ -1,8 +0,0 @@
|
|
|
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 };
|
|
@@ -1,9 +0,0 @@
|
|
|
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 };
|
|
@@ -1,11 +0,0 @@
|
|
|
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 };
|
|
@@ -1,8 +0,0 @@
|
|
|
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 };
|
|
@@ -1,4 +0,0 @@
|
|
|
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 };
|
|
@@ -1,82 +0,0 @@
|
|
|
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, };
|
|
@@ -1,19 +0,0 @@
|
|
|
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, };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
3
|
-
declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
4
|
-
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
-
declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
-
declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
7
|
-
declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
8
|
-
declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
10
|
-
inset?: boolean | 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, };
|
|
@@ -1,5 +0,0 @@
|
|
|
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 };
|
|
@@ -1,7 +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 PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };
|
|
@@ -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 };
|