@brainfish-ai/components 0.18.4-alpha.6 → 0.18.4
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/accordion.d.ts +12 -0
- package/dist/alert-dialog.d.ts +46 -0
- package/dist/alert.d.ts +18 -0
- package/dist/badge.d.ts +14 -0
- package/dist/button-group.d.ts +21 -0
- package/dist/button.d.ts +16 -0
- package/dist/calendar.d.ts +12 -0
- package/dist/card.d.ts +15 -0
- package/dist/chart-area-linear.d.ts +41 -0
- package/dist/chart-radial-stacked.d.ts +39 -0
- package/dist/chat-search.d.ts +426 -0
- package/dist/collapsible.d.ts +10 -0
- package/dist/colors.d.ts +161 -0
- package/dist/combobox.d.ts +23 -0
- package/dist/command.d.ts +90 -0
- package/dist/components/ui/accordion.d.ts +2 -0
- package/dist/components/ui/alert-dialog.d.ts +2 -0
- package/dist/components/ui/alert.d.ts +2 -0
- package/dist/components/ui/badge.d.ts +2 -0
- package/dist/components/ui/button-group.d.ts +2 -0
- package/dist/components/ui/button.d.ts +2 -0
- package/dist/components/ui/calendar.d.ts +2 -0
- package/dist/components/ui/card.d.ts +2 -0
- package/dist/components/ui/collapsible.d.ts +2 -0
- package/dist/components/ui/command.d.ts +2 -0
- package/dist/components/ui/dialog.d.ts +2 -0
- package/dist/components/ui/div-button.d.ts +2 -0
- package/dist/components/ui/dropdown-menu.d.ts +2 -0
- package/dist/components/ui/icon.d.ts +2 -0
- package/dist/components/ui/input.d.ts +2 -0
- package/dist/components/ui/item.d.ts +2 -0
- package/dist/components/ui/label.d.ts +2 -0
- package/dist/components/ui/popover.d.ts +2 -0
- package/dist/components/ui/progress.d.ts +2 -0
- package/dist/components/ui/scroll-area.d.ts +2 -0
- package/dist/components/ui/select.d.ts +2 -0
- package/dist/components/ui/separator.d.ts +2 -0
- package/dist/components/ui/sheet.d.ts +2 -0
- package/dist/components/ui/spinner.d.ts +2 -0
- package/dist/components/ui/switch.d.ts +2 -0
- package/dist/components/ui/table.d.ts +2 -0
- package/dist/components/ui/textarea.d.ts +2 -0
- package/dist/components/ui/tooltip.d.ts +2 -0
- package/dist/confirm-dialog.d.ts +35 -0
- package/dist/convos.d.ts +179 -0
- package/dist/data-table.d.ts +23 -0
- package/dist/date-picker.d.ts +12 -0
- package/dist/dialog.d.ts +30 -0
- package/dist/div-button.d.ts +16 -0
- package/dist/dropdown-menu.d.ts +43 -0
- package/dist/esm/ChatSearch.css +1 -0
- package/dist/esm/chunks/ChatSearch.BJtS7ZMs.js +6482 -0
- package/dist/esm/chunks/ChatSearch.BJtS7ZMs.js.map +1 -0
- package/dist/esm/chunks/FormattedMessage.ieoe4jPf.js +39760 -0
- package/dist/esm/chunks/FormattedMessage.ieoe4jPf.js.map +1 -0
- package/dist/esm/chunks/_commonjsHelpers.BFTU3MAI.js +8 -0
- package/dist/esm/chunks/_commonjsHelpers.BFTU3MAI.js.map +1 -0
- package/dist/esm/chunks/chart.DGCX9VIn.js +219 -0
- package/dist/esm/chunks/chart.DGCX9VIn.js.map +1 -0
- package/dist/esm/chunks/combobox.CkN-wAHB.js +74 -0
- package/dist/esm/chunks/combobox.CkN-wAHB.js.map +1 -0
- package/dist/esm/chunks/dark.Cl9Z44CU.js +17 -0
- package/dist/esm/chunks/dark.Cl9Z44CU.js.map +1 -0
- package/dist/esm/chunks/data-table.DbcAYxMY.js +102 -0
- package/dist/esm/chunks/data-table.DbcAYxMY.js.map +1 -0
- package/dist/esm/chunks/date-picker.sQXSlqNZ.js +26 -0
- package/dist/esm/chunks/date-picker.sQXSlqNZ.js.map +1 -0
- package/dist/esm/chunks/extends.mO86zOh3.js +12 -0
- package/dist/esm/chunks/extends.mO86zOh3.js.map +1 -0
- package/dist/esm/chunks/feedback.D139-1Wr.js +214 -0
- package/dist/esm/chunks/feedback.D139-1Wr.js.map +1 -0
- package/dist/esm/chunks/file-upload-status.Vw0Zxmir.js +141 -0
- package/dist/esm/chunks/file-upload-status.Vw0Zxmir.js.map +1 -0
- package/dist/esm/chunks/filters.Be4KPvMA.js +565 -0
- package/dist/esm/chunks/filters.Be4KPvMA.js.map +1 -0
- package/dist/esm/chunks/formatNumber.Bm2k8QrT.js +10 -0
- package/dist/esm/chunks/formatNumber.Bm2k8QrT.js.map +1 -0
- package/dist/esm/chunks/generating-star.CozjECmM.js +1490 -0
- package/dist/esm/chunks/generating-star.CozjECmM.js.map +1 -0
- package/dist/esm/chunks/index.BqibIWDw.js +137 -0
- package/dist/esm/chunks/index.BqibIWDw.js.map +1 -0
- package/dist/esm/chunks/logo.BXk28Fqo.js +181 -0
- package/dist/esm/chunks/logo.BXk28Fqo.js.map +1 -0
- package/dist/esm/chunks/primary.CtiRZbqq.js +18 -0
- package/dist/esm/chunks/primary.CtiRZbqq.js.map +1 -0
- package/dist/esm/chunks/simpleSelect.B1rktKkt.js +23 -0
- package/dist/esm/chunks/simpleSelect.B1rktKkt.js.map +1 -0
- package/dist/esm/chunks/trend-value.COSukPwk.js +51 -0
- package/dist/esm/chunks/trend-value.COSukPwk.js.map +1 -0
- package/dist/esm/chunks/two-level-combobox.DsWPDcI6.js +132 -0
- package/dist/esm/chunks/two-level-combobox.DsWPDcI6.js.map +1 -0
- package/dist/esm/chunks/utils.Cwtlq8dh.js +45 -0
- package/dist/esm/chunks/utils.Cwtlq8dh.js.map +1 -0
- package/dist/esm/colors.js +170 -0
- package/dist/esm/colors.js.map +1 -0
- package/dist/esm/components/chart-area-linear.js +87 -0
- package/dist/esm/components/chart-area-linear.js.map +1 -0
- package/dist/esm/components/chart-radial-stacked.js +49 -0
- package/dist/esm/components/chart-radial-stacked.js.map +1 -0
- package/dist/esm/components/chat-search.js +2 -0
- package/dist/esm/components/chat-search.js.map +1 -0
- package/dist/esm/components/combobox.js +2 -0
- package/dist/esm/components/combobox.js.map +1 -0
- package/dist/esm/components/confirm-dialog.js +48 -0
- package/dist/esm/components/confirm-dialog.js.map +1 -0
- package/dist/esm/components/convos.js +602 -0
- package/dist/esm/components/convos.js.map +1 -0
- package/dist/esm/components/data-table.js +2 -0
- package/dist/esm/components/data-table.js.map +1 -0
- package/dist/esm/components/date-picker.js +2 -0
- package/dist/esm/components/date-picker.js.map +1 -0
- package/dist/esm/components/feedback.js +2 -0
- package/dist/esm/components/feedback.js.map +1 -0
- package/dist/esm/components/file-upload.js +2 -0
- package/dist/esm/components/file-upload.js.map +1 -0
- package/dist/esm/components/filter.js +2 -0
- package/dist/esm/components/filter.js.map +1 -0
- package/dist/esm/components/generating-star.js +2 -0
- package/dist/esm/components/generating-star.js.map +1 -0
- package/dist/esm/components/logo.js +2 -0
- package/dist/esm/components/logo.js.map +1 -0
- package/dist/esm/components/markdown.js +2 -0
- package/dist/esm/components/markdown.js.map +1 -0
- package/dist/esm/components/metric-card.js +28 -0
- package/dist/esm/components/metric-card.js.map +1 -0
- package/dist/esm/components/select.js +2 -0
- package/dist/esm/components/select.js.map +1 -0
- package/dist/esm/components/trend-value.js +2 -0
- package/dist/esm/components/trend-value.js.map +1 -0
- package/dist/esm/components/two-level-combobox.js +2 -0
- package/dist/esm/components/two-level-combobox.js.map +1 -0
- package/dist/esm/components/ui/accordion.js +47 -0
- package/dist/esm/components/ui/accordion.js.map +1 -0
- package/dist/esm/components/ui/alert-dialog.js +147 -0
- package/dist/esm/components/ui/alert-dialog.js.map +1 -0
- package/dist/esm/components/ui/alert.js +121 -0
- package/dist/esm/components/ui/alert.js.map +1 -0
- package/dist/esm/components/ui/badge.js +27 -0
- package/dist/esm/components/ui/badge.js.map +1 -0
- package/dist/esm/components/ui/button-group.js +74 -0
- package/dist/esm/components/ui/button-group.js.map +1 -0
- package/dist/esm/components/ui/button.js +52 -0
- package/dist/esm/components/ui/button.js.map +1 -0
- package/dist/esm/components/ui/calendar.js +26 -0
- package/dist/esm/components/ui/calendar.js.map +1 -0
- package/dist/esm/components/ui/card.js +56 -0
- package/dist/esm/components/ui/card.js.map +1 -0
- package/dist/esm/components/ui/collapsible.js +34 -0
- package/dist/esm/components/ui/collapsible.js.map +1 -0
- package/dist/esm/components/ui/command.js +103 -0
- package/dist/esm/components/ui/command.js.map +1 -0
- package/dist/esm/components/ui/dialog.js +88 -0
- package/dist/esm/components/ui/dialog.js.map +1 -0
- package/dist/esm/components/ui/div-button.js +61 -0
- package/dist/esm/components/ui/div-button.js.map +1 -0
- package/dist/esm/components/ui/dropdown-menu.js +132 -0
- package/dist/esm/components/ui/dropdown-menu.js.map +1 -0
- package/dist/esm/components/ui/icon.js +16 -0
- package/dist/esm/components/ui/icon.js.map +1 -0
- package/dist/esm/components/ui/input.js +29 -0
- package/dist/esm/components/ui/input.js.map +1 -0
- package/dist/esm/components/ui/item.js +179 -0
- package/dist/esm/components/ui/item.js.map +1 -0
- package/dist/esm/components/ui/label.js +20 -0
- package/dist/esm/components/ui/label.js.map +1 -0
- package/dist/esm/components/ui/popover.js +24 -0
- package/dist/esm/components/ui/popover.js.map +1 -0
- package/dist/esm/components/ui/progress.js +23 -0
- package/dist/esm/components/ui/progress.js.map +1 -0
- package/dist/esm/components/ui/scroll-area.js +34 -0
- package/dist/esm/components/ui/scroll-area.js.map +1 -0
- package/dist/esm/components/ui/select.js +81 -0
- package/dist/esm/components/ui/select.js.map +1 -0
- package/dist/esm/components/ui/separator.js +24 -0
- package/dist/esm/components/ui/separator.js.map +1 -0
- package/dist/esm/components/ui/sheet.js +99 -0
- package/dist/esm/components/ui/sheet.js.map +1 -0
- package/dist/esm/components/ui/spinner.js +18 -0
- package/dist/esm/components/ui/spinner.js.map +1 -0
- package/dist/esm/components/ui/switch.js +27 -0
- package/dist/esm/components/ui/switch.js.map +1 -0
- package/dist/esm/components/ui/table.js +83 -0
- package/dist/esm/components/ui/table.js.map +1 -0
- package/dist/esm/components/ui/textarea.js +34 -0
- package/dist/esm/components/ui/textarea.js.map +1 -0
- package/dist/esm/components/ui/tooltip.js +34 -0
- package/dist/esm/components/ui/tooltip.js.map +1 -0
- package/dist/esm/convos.css +1 -0
- package/dist/esm/date-picker.css +1 -0
- package/dist/esm/global.css +1 -0
- package/dist/esm/index.js +150 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/tailwind.preset.js +1492 -0
- package/dist/esm/tailwind.preset.js.map +1 -0
- package/dist/feedback.d.ts +21 -0
- package/dist/file-upload.d.ts +45 -0
- package/dist/filter.d.ts +82 -0
- package/dist/generating-star.d.ts +15 -0
- package/dist/icon.d.ts +26 -0
- package/dist/index.d.ts +1378 -0
- package/dist/input.d.ts +11 -0
- package/dist/item.d.ts +39 -0
- package/dist/label.d.ts +8 -0
- package/dist/logo.d.ts +14 -0
- package/dist/markdown.d.ts +55 -0
- package/dist/metric-card.d.ts +21 -0
- package/dist/popover.d.ts +12 -0
- package/dist/progress.d.ts +8 -0
- package/dist/scroll-area.d.ts +8 -0
- package/dist/select.d.ts +20 -0
- package/dist/separator.d.ts +6 -0
- package/dist/sheet.d.ts +39 -0
- package/dist/spinner.d.ts +5 -0
- package/dist/stats.html +4949 -0
- package/dist/switch.d.ts +6 -0
- package/dist/table.d.ts +19 -0
- package/dist/tailwind.preset.d.ts +1 -0
- package/dist/textarea.d.ts +9 -0
- package/dist/tooltip.d.ts +18 -0
- package/dist/trend-value.d.ts +19 -0
- package/dist/two-level-combobox.d.ts +24 -0
- package/package.json +2 -2
package/dist/input.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as default_2 } from 'react';
|
|
2
|
+
import { Icon } from '@phosphor-icons/react';
|
|
3
|
+
|
|
4
|
+
export declare const Input: default_2.ForwardRefExoticComponent<InputProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
5
|
+
|
|
6
|
+
export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLInputElement> {
|
|
7
|
+
startIcon?: Icon;
|
|
8
|
+
endIcon?: Icon;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { }
|
package/dist/item.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
+
import * as React_2 from 'react';
|
|
3
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
export declare function Item({ className, variant, size, asChild, ...props }: React_2.ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
|
|
7
|
+
asChild?: boolean;
|
|
8
|
+
}): React_2.JSX.Element;
|
|
9
|
+
|
|
10
|
+
export declare function ItemActions({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
|
|
11
|
+
|
|
12
|
+
export declare function ItemContent({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
|
|
13
|
+
|
|
14
|
+
export declare function ItemDescription({ className, ...props }: React_2.ComponentProps<"p">): React_2.JSX.Element;
|
|
15
|
+
|
|
16
|
+
export declare function ItemFooter({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
|
|
17
|
+
|
|
18
|
+
export declare function ItemGroup({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
|
|
19
|
+
|
|
20
|
+
export declare function ItemHeader({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
|
|
21
|
+
|
|
22
|
+
export declare function ItemMedia({ className, variant, ...props }: React_2.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): React_2.JSX.Element;
|
|
23
|
+
|
|
24
|
+
declare const itemMediaVariants: (props?: ({
|
|
25
|
+
variant?: "image" | "default" | "icon" | null | undefined;
|
|
26
|
+
} & ClassProp) | undefined) => string;
|
|
27
|
+
|
|
28
|
+
export declare function ItemSeparator({ className, ...props }: React_2.ComponentProps<typeof Separator>): React_2.JSX.Element;
|
|
29
|
+
|
|
30
|
+
export declare function ItemTitle({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
|
|
31
|
+
|
|
32
|
+
declare const itemVariants: (props?: ({
|
|
33
|
+
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
34
|
+
size?: "default" | "sm" | null | undefined;
|
|
35
|
+
} & ClassProp) | undefined) => string;
|
|
36
|
+
|
|
37
|
+
declare const Separator: React_2.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
38
|
+
|
|
39
|
+
export { }
|
package/dist/label.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
3
|
+
import * as React_2 from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
export declare const Label: React_2.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React_2.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ClassProp | undefined) => string> & React_2.RefAttributes<HTMLLabelElement>>;
|
|
7
|
+
|
|
8
|
+
export { }
|
package/dist/logo.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React_2 from 'react';
|
|
2
|
+
|
|
3
|
+
export declare const Logo: React_2.ForwardRefExoticComponent<Omit<LogoProps, "ref"> & React_2.RefAttributes<SVGSVGElement>>;
|
|
4
|
+
|
|
5
|
+
export declare type LogoColor = 'default' | 'outline' | 'fill';
|
|
6
|
+
|
|
7
|
+
export declare interface LogoProps extends React_2.SVGProps<SVGSVGElement> {
|
|
8
|
+
variant: LogoVariant;
|
|
9
|
+
color?: LogoColor;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export declare type LogoVariant = 'mark' | 'text' | 'full';
|
|
13
|
+
|
|
14
|
+
export { }
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { default as default_2 } from 'react';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { Options } from 'react-markdown';
|
|
4
|
+
import * as React_2 from 'react';
|
|
5
|
+
|
|
6
|
+
export declare const CodeBlock: FC<Props_2>;
|
|
7
|
+
|
|
8
|
+
export declare const FormattedMessage: FC<Props>;
|
|
9
|
+
|
|
10
|
+
export declare const MemoizedReactMarkdown: FC<MemoizedReactMarkdownProps>;
|
|
11
|
+
|
|
12
|
+
export declare interface MemoizedReactMarkdownProps extends Options {
|
|
13
|
+
isStreaming?: boolean;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export declare const MermaidDiagram: default_2.FC<MermaidDiagramProps>;
|
|
17
|
+
|
|
18
|
+
declare interface MermaidDiagramProps {
|
|
19
|
+
content: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
declare type Message = {
|
|
23
|
+
content: string;
|
|
24
|
+
uncertaintyFallbackText?: Record<string, string>;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export declare interface Props {
|
|
28
|
+
message: Message;
|
|
29
|
+
isStreaming?: boolean;
|
|
30
|
+
redirectRules?: RedirectRule[];
|
|
31
|
+
contentTypeEndpoint?: string;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
declare interface Props_2 {
|
|
35
|
+
language: string;
|
|
36
|
+
value: string;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Defines a URL redirect rule with pattern matching
|
|
41
|
+
* @example { source: '/knowledge/:id/:path', destination: '/knowledge/test/:path' }
|
|
42
|
+
*/
|
|
43
|
+
declare type RedirectRule = {
|
|
44
|
+
source: string;
|
|
45
|
+
destination: string;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export declare const ZoomableImage: React_2.FC<ZoomableImageProps>;
|
|
49
|
+
|
|
50
|
+
declare interface ZoomableImageProps {
|
|
51
|
+
src?: string;
|
|
52
|
+
alt?: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export { }
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { default as default_2 } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare const description = "A card to display metrics and its trend";
|
|
4
|
+
|
|
5
|
+
export declare function MetricCard({ title, value, trend, trendValue, className }: MetricCardProps): default_2.JSX.Element;
|
|
6
|
+
|
|
7
|
+
export declare interface MetricCardProps {
|
|
8
|
+
title: string;
|
|
9
|
+
value: string;
|
|
10
|
+
trend: Trend;
|
|
11
|
+
trendValue: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare enum Trend {
|
|
16
|
+
UP = "up",
|
|
17
|
+
DOWN = "down",
|
|
18
|
+
FLAT = "flat"
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { }
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
2
|
+
import * as React_2 from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const Popover: React_2.FC<PopoverPrimitive.PopoverProps>;
|
|
5
|
+
|
|
6
|
+
export declare const PopoverAnchor: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
|
|
8
|
+
export declare const PopoverContent: React_2.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
|
|
10
|
+
export declare const PopoverTrigger: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
11
|
+
|
|
12
|
+
export { }
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
2
|
+
import * as React_2 from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const Progress: React_2.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
5
|
+
indicatorClassName?: string | undefined;
|
|
6
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
|
|
8
|
+
export { }
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React_2 from 'react';
|
|
2
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
3
|
+
|
|
4
|
+
export declare const ScrollArea: React_2.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
|
|
6
|
+
export declare const ScrollBar: React_2.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
|
|
8
|
+
export { }
|
package/dist/select.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React_2 from 'react';
|
|
2
|
+
|
|
3
|
+
export declare type SelectOption = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export declare function SimpleSelect({ options, value, onChange, placeholder, disabled, className, appendToBody, }: SimpleSelectProps): React_2.JSX.Element;
|
|
9
|
+
|
|
10
|
+
export declare interface SimpleSelectProps {
|
|
11
|
+
options: SelectOption[];
|
|
12
|
+
value?: string;
|
|
13
|
+
onChange?: (value: string) => void;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
className?: string;
|
|
17
|
+
appendToBody?: boolean;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { }
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React_2 from 'react';
|
|
2
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
3
|
+
|
|
4
|
+
export declare const Separator: React_2.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
|
|
6
|
+
export { }
|
package/dist/sheet.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
+
import * as React_2 from 'react';
|
|
3
|
+
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
export declare const Sheet: React_2.FC<SheetPrimitive.DialogProps>;
|
|
7
|
+
|
|
8
|
+
export declare const SheetClose: React_2.ForwardRefExoticComponent<SheetPrimitive.DialogCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
9
|
+
|
|
10
|
+
export declare const SheetContent: React_2.ForwardRefExoticComponent<SheetContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
|
|
12
|
+
declare interface SheetContentProps extends React_2.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export declare const SheetDescription: React_2.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
16
|
+
|
|
17
|
+
export declare const SheetFooter: {
|
|
18
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): React_2.JSX.Element;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export declare const SheetHeader: {
|
|
23
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): React_2.JSX.Element;
|
|
24
|
+
displayName: string;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export declare const SheetOverlay: React_2.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogOverlayProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
28
|
+
|
|
29
|
+
export declare const SheetPortal: React_2.FC<SheetPrimitive.DialogPortalProps>;
|
|
30
|
+
|
|
31
|
+
export declare const SheetTitle: React_2.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
|
|
32
|
+
|
|
33
|
+
export declare const SheetTrigger: React_2.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
34
|
+
|
|
35
|
+
declare const sheetVariants: (props?: ({
|
|
36
|
+
side?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
37
|
+
} & ClassProp) | undefined) => string;
|
|
38
|
+
|
|
39
|
+
export { }
|