@open-resource-discovery/ui-components 0.0.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +191 -0
- package/README.md +131 -1
- package/dist/index.d.ts +2 -0
- package/dist/src/components/avatar/Avatar.d.ts +20 -0
- package/dist/src/components/avatar/Avatar.d.ts.map +1 -0
- package/dist/src/components/avatar/index.d.ts +3 -0
- package/dist/src/components/avatar/index.d.ts.map +1 -0
- package/dist/src/components/badge/Badge.d.ts +12 -0
- package/dist/src/components/badge/Badge.d.ts.map +1 -0
- package/dist/src/components/badge/index.d.ts +3 -0
- package/dist/src/components/badge/index.d.ts.map +1 -0
- package/dist/src/components/button/Button.d.ts +12 -0
- package/dist/src/components/button/Button.d.ts.map +1 -0
- package/dist/src/components/button/index.d.ts +3 -0
- package/dist/src/components/button/index.d.ts.map +1 -0
- package/dist/src/components/card/Card.d.ts +16 -0
- package/dist/src/components/card/Card.d.ts.map +1 -0
- package/dist/src/components/card/SimpleCard.d.ts +9 -0
- package/dist/src/components/card/SimpleCard.d.ts.map +1 -0
- package/dist/src/components/card/index.d.ts +5 -0
- package/dist/src/components/card/index.d.ts.map +1 -0
- package/dist/src/components/chat-input/ChatInput.d.ts +16 -0
- package/dist/src/components/chat-input/ChatInput.d.ts.map +1 -0
- package/dist/src/components/chat-input/index.d.ts +3 -0
- package/dist/src/components/chat-input/index.d.ts.map +1 -0
- package/dist/src/components/chat-message/ChatMessage.d.ts +18 -0
- package/dist/src/components/chat-message/ChatMessage.d.ts.map +1 -0
- package/dist/src/components/chat-message/index.d.ts +3 -0
- package/dist/src/components/chat-message/index.d.ts.map +1 -0
- package/dist/src/components/checkbox/Checkbox.d.ts +13 -0
- package/dist/src/components/checkbox/Checkbox.d.ts.map +1 -0
- package/dist/src/components/checkbox/index.d.ts +3 -0
- package/dist/src/components/checkbox/index.d.ts.map +1 -0
- package/dist/src/components/code-block/CodeBlock.d.ts +30 -0
- package/dist/src/components/code-block/CodeBlock.d.ts.map +1 -0
- package/dist/src/components/code-block/index.d.ts +3 -0
- package/dist/src/components/code-block/index.d.ts.map +1 -0
- package/dist/src/components/code-editor/CodeEditor.d.ts +13 -0
- package/dist/src/components/code-editor/CodeEditor.d.ts.map +1 -0
- package/dist/src/components/code-editor/index.d.ts +3 -0
- package/dist/src/components/code-editor/index.d.ts.map +1 -0
- package/dist/src/components/collapsible-section/CollapsibleSection.d.ts +27 -0
- package/dist/src/components/collapsible-section/CollapsibleSection.d.ts.map +1 -0
- package/dist/src/components/collapsible-section/index.d.ts +3 -0
- package/dist/src/components/collapsible-section/index.d.ts.map +1 -0
- package/dist/src/components/combobox/Combobox.d.ts +35 -0
- package/dist/src/components/combobox/Combobox.d.ts.map +1 -0
- package/dist/src/components/combobox/SimpleCombobox.d.ts +16 -0
- package/dist/src/components/combobox/SimpleCombobox.d.ts.map +1 -0
- package/dist/src/components/combobox/index.d.ts +5 -0
- package/dist/src/components/combobox/index.d.ts.map +1 -0
- package/dist/src/components/connection-card/ConnectionCard.d.ts +15 -0
- package/dist/src/components/connection-card/ConnectionCard.d.ts.map +1 -0
- package/dist/src/components/connection-card/index.d.ts +3 -0
- package/dist/src/components/connection-card/index.d.ts.map +1 -0
- package/dist/src/components/dialog/Dialog.d.ts +31 -0
- package/dist/src/components/dialog/Dialog.d.ts.map +1 -0
- package/dist/src/components/dialog/SimpleDialog.d.ts +14 -0
- package/dist/src/components/dialog/SimpleDialog.d.ts.map +1 -0
- package/dist/src/components/dialog/index.d.ts +5 -0
- package/dist/src/components/dialog/index.d.ts.map +1 -0
- package/dist/src/components/field/Field.d.ts +21 -0
- package/dist/src/components/field/Field.d.ts.map +1 -0
- package/dist/src/components/field/index.d.ts +3 -0
- package/dist/src/components/field/index.d.ts.map +1 -0
- package/dist/src/components/http-log-entry/HttpLogEntry.d.ts +37 -0
- package/dist/src/components/http-log-entry/HttpLogEntry.d.ts.map +1 -0
- package/dist/src/components/http-log-entry/index.d.ts +3 -0
- package/dist/src/components/http-log-entry/index.d.ts.map +1 -0
- package/dist/src/components/info-card/InfoCard.d.ts +25 -0
- package/dist/src/components/info-card/InfoCard.d.ts.map +1 -0
- package/dist/src/components/info-card/index.d.ts +3 -0
- package/dist/src/components/info-card/index.d.ts.map +1 -0
- package/dist/src/components/input/Input.d.ts +5 -0
- package/dist/src/components/input/Input.d.ts.map +1 -0
- package/dist/src/components/input/index.d.ts +3 -0
- package/dist/src/components/input/index.d.ts.map +1 -0
- package/dist/src/components/markdown-text/MarkdownText.d.ts +8 -0
- package/dist/src/components/markdown-text/MarkdownText.d.ts.map +1 -0
- package/dist/src/components/markdown-text/index.d.ts +3 -0
- package/dist/src/components/markdown-text/index.d.ts.map +1 -0
- package/dist/src/components/password-input/PasswordInput.d.ts +5 -0
- package/dist/src/components/password-input/PasswordInput.d.ts.map +1 -0
- package/dist/src/components/password-input/index.d.ts +3 -0
- package/dist/src/components/password-input/index.d.ts.map +1 -0
- package/dist/src/components/progress/Progress.d.ts +12 -0
- package/dist/src/components/progress/Progress.d.ts.map +1 -0
- package/dist/src/components/progress/index.d.ts +3 -0
- package/dist/src/components/progress/index.d.ts.map +1 -0
- package/dist/src/components/radio-group/RadioGroup.d.ts +11 -0
- package/dist/src/components/radio-group/RadioGroup.d.ts.map +1 -0
- package/dist/src/components/radio-group/index.d.ts +3 -0
- package/dist/src/components/radio-group/index.d.ts.map +1 -0
- package/dist/src/components/scroll-area/ScrollArea.d.ts +8 -0
- package/dist/src/components/scroll-area/ScrollArea.d.ts.map +1 -0
- package/dist/src/components/scroll-area/index.d.ts +3 -0
- package/dist/src/components/scroll-area/index.d.ts.map +1 -0
- package/dist/src/components/section-card/SectionCard.d.ts +28 -0
- package/dist/src/components/section-card/SectionCard.d.ts.map +1 -0
- package/dist/src/components/section-card/index.d.ts +3 -0
- package/dist/src/components/section-card/index.d.ts.map +1 -0
- package/dist/src/components/select/Select.d.ts +43 -0
- package/dist/src/components/select/Select.d.ts.map +1 -0
- package/dist/src/components/select/SimpleSelect.d.ts +20 -0
- package/dist/src/components/select/SimpleSelect.d.ts.map +1 -0
- package/dist/src/components/select/index.d.ts +5 -0
- package/dist/src/components/select/index.d.ts.map +1 -0
- package/dist/src/components/separator/Separator.d.ts +8 -0
- package/dist/src/components/separator/Separator.d.ts.map +1 -0
- package/dist/src/components/separator/index.d.ts +3 -0
- package/dist/src/components/separator/index.d.ts.map +1 -0
- package/dist/src/components/sheet/Sheet.d.ts +39 -0
- package/dist/src/components/sheet/Sheet.d.ts.map +1 -0
- package/dist/src/components/sheet/SimpleSheet.d.ts +15 -0
- package/dist/src/components/sheet/SimpleSheet.d.ts.map +1 -0
- package/dist/src/components/sheet/index.d.ts +5 -0
- package/dist/src/components/sheet/index.d.ts.map +1 -0
- package/dist/src/components/spinner/Spinner.d.ts +11 -0
- package/dist/src/components/spinner/Spinner.d.ts.map +1 -0
- package/dist/src/components/spinner/index.d.ts +3 -0
- package/dist/src/components/spinner/index.d.ts.map +1 -0
- package/dist/src/components/split-pane/SplitPane.d.ts +46 -0
- package/dist/src/components/split-pane/SplitPane.d.ts.map +1 -0
- package/dist/src/components/split-pane/index.d.ts +3 -0
- package/dist/src/components/split-pane/index.d.ts.map +1 -0
- package/dist/src/components/switch/Switch.d.ts +11 -0
- package/dist/src/components/switch/Switch.d.ts.map +1 -0
- package/dist/src/components/switch/index.d.ts +3 -0
- package/dist/src/components/switch/index.d.ts.map +1 -0
- package/dist/src/components/tabs/Tabs.d.ts +17 -0
- package/dist/src/components/tabs/Tabs.d.ts.map +1 -0
- package/dist/src/components/tabs/index.d.ts +3 -0
- package/dist/src/components/tabs/index.d.ts.map +1 -0
- package/dist/src/components/textarea/Textarea.d.ts +5 -0
- package/dist/src/components/textarea/Textarea.d.ts.map +1 -0
- package/dist/src/components/textarea/index.d.ts +3 -0
- package/dist/src/components/textarea/index.d.ts.map +1 -0
- package/dist/src/components/tooltip/Tooltip.d.ts +33 -0
- package/dist/src/components/tooltip/Tooltip.d.ts.map +1 -0
- package/dist/src/components/tooltip/index.d.ts +3 -0
- package/dist/src/components/tooltip/index.d.ts.map +1 -0
- package/dist/src/components/typing-indicator/TypingIndicator.d.ts +4 -0
- package/dist/src/components/typing-indicator/TypingIndicator.d.ts.map +1 -0
- package/dist/src/components/typing-indicator/index.d.ts +3 -0
- package/dist/src/components/typing-indicator/index.d.ts.map +1 -0
- package/dist/src/components/validation-entry/ValidationEntry.d.ts +10 -0
- package/dist/src/components/validation-entry/ValidationEntry.d.ts.map +1 -0
- package/dist/src/components/validation-entry/index.d.ts +3 -0
- package/dist/src/components/validation-entry/index.d.ts.map +1 -0
- package/dist/src/components/validation-pass/ValidationPass.d.ts +7 -0
- package/dist/src/components/validation-pass/ValidationPass.d.ts.map +1 -0
- package/dist/src/components/validation-pass/index.d.ts +3 -0
- package/dist/src/components/validation-pass/index.d.ts.map +1 -0
- package/dist/src/index.d.ts +84 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/theme/ThemeRoot.d.ts +11 -0
- package/dist/src/theme/ThemeRoot.d.ts.map +1 -0
- package/dist/src/theme/useTheme.d.ts +9 -0
- package/dist/src/theme/useTheme.d.ts.map +1 -0
- package/dist/src/utils/cn.d.ts +3 -0
- package/dist/src/utils/cn.d.ts.map +1 -0
- package/dist/ui-components.cjs +15 -0
- package/dist/ui-components.css +3 -0
- package/dist/ui-components.js +9836 -0
- package/package.json +119 -2
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { default as React, ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export interface SelectItem {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface SelectGroup {
|
|
8
|
+
label: string;
|
|
9
|
+
items: SelectItem[];
|
|
10
|
+
}
|
|
11
|
+
export interface SimpleSelectProps extends Omit<ComponentPropsWithoutRef<"div">, "onChange"> {
|
|
12
|
+
items: (SelectItem | SelectGroup)[];
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
value?: string;
|
|
15
|
+
defaultValue?: string;
|
|
16
|
+
onChange?: (value: string) => void;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare const SimpleSelect: React.ForwardRefExoticComponent<SimpleSelectProps & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
//# sourceMappingURL=SimpleSelect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/select/SimpleSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAuB,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAIlF,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,UAAU,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IAC1F,KAAK,EAAE,CAAC,UAAU,GAAG,WAAW,CAAC,EAAE,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAMD,eAAO,MAAM,YAAY,0FA4DxB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { Select } from './Select';
|
|
2
|
+
export type { SelectRootProps, SelectTriggerProps, SelectValueProps, SelectIconProps, SelectPortalProps, SelectPositionerProps, SelectPopupProps, SelectItemProps, SelectItemIndicatorProps, SelectItemTextProps, SelectGroupProps, SelectGroupLabelProps, SelectScrollUpArrowProps, SelectScrollDownArrowProps, } from './Select';
|
|
3
|
+
export { SimpleSelect } from './SimpleSelect';
|
|
4
|
+
export type { SimpleSelectProps, SelectItem, SelectGroup } from './SimpleSelect';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EACV,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,gBAAgB,EAChB,eAAe,EACf,wBAAwB,EACxB,mBAAmB,EACnB,gBAAgB,EAChB,qBAAqB,EACrB,wBAAwB,EACxB,0BAA0B,GAC3B,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
|
+
import { Separator as BaseSeparator } from '@base-ui/react/separator';
|
|
3
|
+
import { SeparatorProps } from '@base-ui/react';
|
|
4
|
+
type SeparatorProps = ComponentPropsWithoutRef<typeof BaseSeparator>;
|
|
5
|
+
declare const Separator: ForwardRefExoticComponent<Omit<Omit< SeparatorProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export { Separator };
|
|
7
|
+
export type { SeparatorProps };
|
|
8
|
+
//# sourceMappingURL=Separator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../../src/components/separator/Separator.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAc,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAItE,KAAK,cAAc,GAAG,wBAAwB,CAAC,OAAO,aAAa,CAAC,CAAC;AAErE,QAAA,MAAM,SAAS,8MASd,CAAC;AAGF,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,YAAY,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/separator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { default as React, ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { Dialog as BaseDialog } from '@base-ui/react/dialog';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
5
|
+
import { DialogTriggerProps, AlertDialogBackdropProps, AlertDialogPopupProps, AlertDialogTitleProps, AlertDialogDescriptionProps, AlertDialogCloseProps } from '@base-ui/react';
|
|
6
|
+
type SheetRootProps = ComponentPropsWithoutRef<typeof BaseDialog.Root>;
|
|
7
|
+
declare function SheetRoot(props: SheetRootProps): React.JSX.Element;
|
|
8
|
+
declare namespace SheetRoot {
|
|
9
|
+
var displayName: string;
|
|
10
|
+
}
|
|
11
|
+
type SheetTriggerProps = ComponentPropsWithoutRef<typeof BaseDialog.Trigger>;
|
|
12
|
+
type SheetPortalProps = ComponentPropsWithoutRef<typeof BaseDialog.Portal>;
|
|
13
|
+
declare function SheetPortal(props: SheetPortalProps): React.JSX.Element;
|
|
14
|
+
declare namespace SheetPortal {
|
|
15
|
+
var displayName: string;
|
|
16
|
+
}
|
|
17
|
+
type SheetBackdropProps = ComponentPropsWithoutRef<typeof BaseDialog.Backdrop>;
|
|
18
|
+
declare const sheetPopupVariants: (props?: ({
|
|
19
|
+
side?: "top" | "bottom" | "left" | "right" | null | undefined;
|
|
20
|
+
} & ClassProp) | undefined) => string;
|
|
21
|
+
type SheetPopupProps = ComponentPropsWithoutRef<typeof BaseDialog.Popup> & VariantProps<typeof sheetPopupVariants>;
|
|
22
|
+
type SheetTitleProps = ComponentPropsWithoutRef<typeof BaseDialog.Title>;
|
|
23
|
+
type SheetDescriptionProps = ComponentPropsWithoutRef<typeof BaseDialog.Description>;
|
|
24
|
+
type SheetCloseProps = ComponentPropsWithoutRef<typeof BaseDialog.Close>;
|
|
25
|
+
export declare const Sheet: {
|
|
26
|
+
Root: typeof SheetRoot;
|
|
27
|
+
Trigger: React.ForwardRefExoticComponent<Omit< DialogTriggerProps<unknown> & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
28
|
+
Portal: typeof SheetPortal;
|
|
29
|
+
Backdrop: React.ForwardRefExoticComponent<Omit<Omit< AlertDialogBackdropProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
+
Popup: React.ForwardRefExoticComponent<Omit<Omit< AlertDialogPopupProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
31
|
+
side?: "top" | "bottom" | "left" | "right" | null | undefined;
|
|
32
|
+
} & ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
|
|
33
|
+
Title: React.ForwardRefExoticComponent<Omit<Omit< AlertDialogTitleProps, "ref"> & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
34
|
+
Description: React.ForwardRefExoticComponent<Omit<Omit< AlertDialogDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
35
|
+
Close: React.ForwardRefExoticComponent<Omit<Omit< AlertDialogCloseProps, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
36
|
+
};
|
|
37
|
+
export { sheetPopupVariants };
|
|
38
|
+
export type { SheetRootProps, SheetTriggerProps, SheetPortalProps, SheetBackdropProps, SheetPopupProps, SheetTitleProps, SheetDescriptionProps, SheetCloseProps, };
|
|
39
|
+
//# sourceMappingURL=Sheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../../../../src/components/sheet/Sheet.tsx"],"names":[],"mappings":";;AAAA,OAAO,KAAK,EAAE,EAAc,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AACzE,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,KAAK,cAAc,GAAG,wBAAwB,CAAC,OAAO,UAAU,CAAC,IAAI,CAAC,CAAC;AAEvE,iBAAS,SAAS,CAAC,KAAK,EAAE,cAAc,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAE3D;kBAFQ,SAAS;;;AAMlB,KAAK,iBAAiB,GAAG,wBAAwB,CAAC,OAAO,UAAU,CAAC,OAAO,CAAC,CAAC;AAQ7E,KAAK,gBAAgB,GAAG,wBAAwB,CAAC,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC;AAE3E,iBAAS,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAG/D;kBAHQ,WAAW;;;AAOpB,KAAK,kBAAkB,GAAG,wBAAwB,CAAC,OAAO,UAAU,CAAC,QAAQ,CAAC,CAAC;AAe/E,QAAA,MAAM,kBAAkB;;8EAYtB,CAAC;AAEH,KAAK,eAAe,GAAG,wBAAwB,CAAC,OAAO,UAAU,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAQnH,KAAK,eAAe,GAAG,wBAAwB,CAAC,OAAO,UAAU,CAAC,KAAK,CAAC,CAAC;AAYzE,KAAK,qBAAqB,GAAG,wBAAwB,CAAC,OAAO,UAAU,CAAC,WAAW,CAAC,CAAC;AAQrF,KAAK,eAAe,GAAG,wBAAwB,CAAC,OAAO,UAAU,CAAC,KAAK,CAAC,CAAC;AAQzE,eAAO,MAAM,KAAK;;;;;;;;;;;CAYjB,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAE9B,YAAY,EACV,cAAc,EACd,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,qBAAqB,EACrB,eAAe,GAChB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React, ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
+
export interface SimpleSheetProps extends Omit<ComponentPropsWithoutRef<"div">, "title" | "children"> {
|
|
3
|
+
trigger?: ReactNode;
|
|
4
|
+
title?: ReactNode;
|
|
5
|
+
description?: ReactNode;
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
footer?: ReactNode;
|
|
8
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
9
|
+
open?: boolean;
|
|
10
|
+
defaultOpen?: boolean;
|
|
11
|
+
onOpenChange?: (open: boolean) => void;
|
|
12
|
+
showClose?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const SimpleSheet: React.ForwardRefExoticComponent<SimpleSheetProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
//# sourceMappingURL=SimpleSheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleSheet.d.ts","sourceRoot":"","sources":["../../../../src/components/sheet/SimpleSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,KAAK,wBAAwB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzF,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IACnG,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC3C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,WAAW,yFAuDvB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { Sheet, sheetPopupVariants } from './Sheet';
|
|
2
|
+
export type { SheetRootProps, SheetTriggerProps, SheetPortalProps, SheetBackdropProps, SheetPopupProps, SheetTitleProps, SheetDescriptionProps, SheetCloseProps, } from './Sheet';
|
|
3
|
+
export { SimpleSheet } from './SimpleSheet';
|
|
4
|
+
export type { SimpleSheetProps } from './SimpleSheet';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/sheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AACpD,YAAY,EACV,cAAc,EACd,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,qBAAqB,EACrB,eAAe,GAChB,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
4
|
+
declare const spinnerVariants: (props?: ({
|
|
5
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
6
|
+
} & ClassProp) | undefined) => string;
|
|
7
|
+
export interface SpinnerProps extends HTMLAttributes<SVGSVGElement>, VariantProps<typeof spinnerVariants> {
|
|
8
|
+
}
|
|
9
|
+
declare const Spinner: ForwardRefExoticComponent<SpinnerProps & RefAttributes<SVGSVGElement>>;
|
|
10
|
+
export { Spinner, spinnerVariants };
|
|
11
|
+
//# sourceMappingURL=Spinner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../../src/components/spinner/Spinner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,QAAA,MAAM,eAAe;;8EAWnB,CAAC;AAEH,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,aAAa,CAAC,EAAE,YAAY,CAAC,OAAO,eAAe,CAAC;CAAG;AAE5G,QAAA,MAAM,OAAO,wGAmBX,CAAC;AAGH,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/spinner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACrD,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode, ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
+
type Orientation = "horizontal" | "vertical";
|
|
3
|
+
export type SplitPaneRootProps = ComponentPropsWithoutRef<"div"> & {
|
|
4
|
+
orientation?: Orientation;
|
|
5
|
+
autoSaveId?: string;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
};
|
|
8
|
+
export type SplitPanelProps = ComponentPropsWithoutRef<"div"> & {
|
|
9
|
+
defaultSize?: number;
|
|
10
|
+
minSize?: number;
|
|
11
|
+
maxSize?: number;
|
|
12
|
+
collapsible?: boolean;
|
|
13
|
+
collapsedSize?: number;
|
|
14
|
+
onCollapse?: () => void;
|
|
15
|
+
onExpand?: () => void;
|
|
16
|
+
children: ReactNode;
|
|
17
|
+
};
|
|
18
|
+
export type SplitPaneHandleProps = ComponentPropsWithoutRef<"div"> & {
|
|
19
|
+
showGrip?: boolean;
|
|
20
|
+
};
|
|
21
|
+
export declare const SplitPane: ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
22
|
+
orientation?: Orientation;
|
|
23
|
+
autoSaveId?: string;
|
|
24
|
+
children: ReactNode;
|
|
25
|
+
} & RefAttributes<HTMLDivElement>> & {
|
|
26
|
+
Root: ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
27
|
+
orientation?: Orientation;
|
|
28
|
+
autoSaveId?: string;
|
|
29
|
+
children: ReactNode;
|
|
30
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
31
|
+
Panel: ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
32
|
+
defaultSize?: number;
|
|
33
|
+
minSize?: number;
|
|
34
|
+
maxSize?: number;
|
|
35
|
+
collapsible?: boolean;
|
|
36
|
+
collapsedSize?: number;
|
|
37
|
+
onCollapse?: () => void;
|
|
38
|
+
onExpand?: () => void;
|
|
39
|
+
children: ReactNode;
|
|
40
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
41
|
+
Handle: ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
42
|
+
showGrip?: boolean;
|
|
43
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
44
|
+
};
|
|
45
|
+
export {};
|
|
46
|
+
//# sourceMappingURL=SplitPane.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SplitPane.d.ts","sourceRoot":"","sources":["../../../../src/components/split-pane/SplitPane.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyC,KAAK,wBAAwB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAI7G,KAAK,WAAW,GAAG,YAAY,GAAG,UAAU,CAAC;AAI7C,MAAM,MAAM,kBAAkB,GAAG,wBAAwB,CAAC,KAAK,CAAC,GAAG;IACjE,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAqBF,MAAM,MAAM,eAAe,GAAG,wBAAwB,CAAC,KAAK,CAAC,GAAG;IAC9D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AA+CF,MAAM,MAAM,oBAAoB,GAAG,wBAAwB,CAAC,KAAK,CAAC,GAAG;IACnE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAoEF,eAAO,MAAM,SAAS;kBAtJN,WAAW;iBACZ,MAAM;cACT,SAAS;;;sBAFL,WAAW;qBACZ,MAAM;kBACT,SAAS;;;sBAuBL,MAAM;kBACV,MAAM;kBACN,MAAM;sBACF,OAAO;wBACL,MAAM;qBACT,MAAM,IAAI;mBACZ,MAAM,IAAI;kBACX,SAAS;;;mBAiDR,OAAO;;CAyElB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/split-pane/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,kBAAkB,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
|
+
import { Switch as BaseSwitch } from '@base-ui/react/switch';
|
|
3
|
+
import { SwitchRootProps, SwitchThumbProps } from '@base-ui/react';
|
|
4
|
+
type SwitchRootProps = ComponentPropsWithoutRef<typeof BaseSwitch.Root>;
|
|
5
|
+
type SwitchThumbProps = ComponentPropsWithoutRef<typeof BaseSwitch.Thumb>;
|
|
6
|
+
export declare const Switch: {
|
|
7
|
+
Root: ForwardRefExoticComponent<Omit<Omit< SwitchRootProps, "ref"> & RefAttributes<HTMLElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
Thumb: ForwardRefExoticComponent<Omit<Omit< SwitchThumbProps, "ref"> & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
9
|
+
};
|
|
10
|
+
export type { SwitchRootProps, SwitchThumbProps };
|
|
11
|
+
//# sourceMappingURL=Switch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/Switch.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAc,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAI7D,KAAK,eAAe,GAAG,wBAAwB,CAAC,OAAO,UAAU,CAAC,IAAI,CAAC,CAAC;AAgBxE,KAAK,gBAAgB,GAAG,wBAAwB,CAAC,OAAO,UAAU,CAAC,KAAK,CAAC,CAAC;AAe1E,eAAO,MAAM,MAAM;;;CAMlB,CAAC;AAEF,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
|
+
import { Tabs as BaseTabs } from '@base-ui/react/tabs';
|
|
3
|
+
import { TabsRootProps, TabsListProps, TabsTabProps, TabsPanelProps, TabsIndicatorProps } from '@base-ui/react';
|
|
4
|
+
type TabsRootProps = ComponentPropsWithoutRef<typeof BaseTabs.Root>;
|
|
5
|
+
type TabsListProps = ComponentPropsWithoutRef<typeof BaseTabs.List>;
|
|
6
|
+
type TabsTabProps = ComponentPropsWithoutRef<typeof BaseTabs.Tab>;
|
|
7
|
+
type TabsPanelProps = ComponentPropsWithoutRef<typeof BaseTabs.Panel>;
|
|
8
|
+
type TabsIndicatorProps = ComponentPropsWithoutRef<typeof BaseTabs.Indicator>;
|
|
9
|
+
export declare const Tabs: {
|
|
10
|
+
Root: ForwardRefExoticComponent<Omit<Omit< TabsRootProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
11
|
+
List: ForwardRefExoticComponent<Omit<Omit< TabsListProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
12
|
+
Tab: ForwardRefExoticComponent<Omit<Omit< TabsTabProps, "ref"> & RefAttributes<HTMLElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
Panel: ForwardRefExoticComponent<Omit<Omit< TabsPanelProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
14
|
+
Indicator: ForwardRefExoticComponent<Omit<Omit< TabsIndicatorProps, "ref"> & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
15
|
+
};
|
|
16
|
+
export type { TabsRootProps, TabsListProps, TabsTabProps, TabsPanelProps, TabsIndicatorProps };
|
|
17
|
+
//# sourceMappingURL=Tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/Tabs.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAc,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAIvD,KAAK,aAAa,GAAG,wBAAwB,CAAC,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC;AAQpE,KAAK,aAAa,GAAG,wBAAwB,CAAC,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC;AAepE,KAAK,YAAY,GAAG,wBAAwB,CAAC,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAC;AAelE,KAAK,cAAc,GAAG,wBAAwB,CAAC,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC;AAetE,KAAK,kBAAkB,GAAG,wBAAwB,CAAC,OAAO,QAAQ,CAAC,SAAS,CAAC,CAAC;AAY9E,eAAO,MAAM,IAAI;;;;;;CAShB,CAAC;AAEF,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TextareaHTMLAttributes, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
|
+
export type TextareaProps = TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
3
|
+
declare const Textarea: ForwardRefExoticComponent<TextareaProps & RefAttributes<HTMLTextAreaElement>>;
|
|
4
|
+
export { Textarea };
|
|
5
|
+
//# sourceMappingURL=Textarea.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../../src/components/textarea/Textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,sBAAsB,EAAE,MAAM,OAAO,CAAC;AAGhE,MAAM,MAAM,aAAa,GAAG,sBAAsB,CAAC,mBAAmB,CAAC,CAAC;AAExE,QAAA,MAAM,QAAQ,+GAWZ,CAAC;AAGH,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/textarea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { default as React, ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { Tooltip as BaseTooltip } from '@base-ui/react/tooltip';
|
|
3
|
+
import { TooltipPositionerProps, TooltipPopupProps, TooltipArrowProps } from '@base-ui/react';
|
|
4
|
+
type TooltipProviderProps = ComponentPropsWithoutRef<typeof BaseTooltip.Provider>;
|
|
5
|
+
declare function TooltipProvider(props: TooltipProviderProps): React.JSX.Element;
|
|
6
|
+
declare namespace TooltipProvider {
|
|
7
|
+
var displayName: string;
|
|
8
|
+
}
|
|
9
|
+
type TooltipRootProps = ComponentPropsWithoutRef<typeof BaseTooltip.Root>;
|
|
10
|
+
declare function TooltipRoot(props: TooltipRootProps): React.JSX.Element;
|
|
11
|
+
declare namespace TooltipRoot {
|
|
12
|
+
var displayName: string;
|
|
13
|
+
}
|
|
14
|
+
type TooltipTriggerProps = ComponentPropsWithoutRef<typeof BaseTooltip.Trigger>;
|
|
15
|
+
type TooltipPortalProps = ComponentPropsWithoutRef<typeof BaseTooltip.Portal>;
|
|
16
|
+
declare function TooltipPortal(props: TooltipPortalProps): React.JSX.Element;
|
|
17
|
+
declare namespace TooltipPortal {
|
|
18
|
+
var displayName: string;
|
|
19
|
+
}
|
|
20
|
+
type TooltipPositionerProps = ComponentPropsWithoutRef<typeof BaseTooltip.Positioner>;
|
|
21
|
+
type TooltipPopupProps = ComponentPropsWithoutRef<typeof BaseTooltip.Popup>;
|
|
22
|
+
type TooltipArrowProps = ComponentPropsWithoutRef<typeof BaseTooltip.Arrow>;
|
|
23
|
+
export declare const Tooltip: {
|
|
24
|
+
Provider: typeof TooltipProvider;
|
|
25
|
+
Root: typeof TooltipRoot;
|
|
26
|
+
Trigger: React.ForwardRefExoticComponent<Omit<BaseTooltip.Trigger.Props<unknown> & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
27
|
+
Portal: typeof TooltipPortal;
|
|
28
|
+
Positioner: React.ForwardRefExoticComponent<Omit<Omit< TooltipPositionerProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
29
|
+
Popup: React.ForwardRefExoticComponent<Omit<Omit< TooltipPopupProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
+
Arrow: React.ForwardRefExoticComponent<Omit<Omit< TooltipArrowProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
31
|
+
};
|
|
32
|
+
export type { TooltipProviderProps, TooltipRootProps, TooltipTriggerProps, TooltipPortalProps, TooltipPositionerProps, TooltipPopupProps, TooltipArrowProps, };
|
|
33
|
+
//# sourceMappingURL=Tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/Tooltip.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAc,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAKhE,KAAK,oBAAoB,GAAG,wBAAwB,CAAC,OAAO,WAAW,CAAC,QAAQ,CAAC,CAAC;AAElF,iBAAS,eAAe,CAAC,KAAK,EAAE,oBAAoB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAEvE;kBAFQ,eAAe;;;AAMxB,KAAK,gBAAgB,GAAG,wBAAwB,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,CAAC;AAE1E,iBAAS,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAE/D;kBAFQ,WAAW;;;AAMpB,KAAK,mBAAmB,GAAG,wBAAwB,CAAC,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;AAQhF,KAAK,kBAAkB,GAAG,wBAAwB,CAAC,OAAO,WAAW,CAAC,MAAM,CAAC,CAAC;AAE9E,iBAAS,aAAa,CAAC,KAAK,EAAE,kBAAkB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAGnE;kBAHQ,aAAa;;;AAOtB,KAAK,sBAAsB,GAAG,wBAAwB,CAAC,OAAO,WAAW,CAAC,UAAU,CAAC,CAAC;AAQtF,KAAK,iBAAiB,GAAG,wBAAwB,CAAC,OAAO,WAAW,CAAC,KAAK,CAAC,CAAC;AAe5E,KAAK,iBAAiB,GAAG,wBAAwB,CAAC,OAAO,WAAW,CAAC,KAAK,CAAC,CAAC;AAQ5E,eAAO,MAAM,OAAO;;;;;;;;CAWnB,CAAC;AAEF,YAAY,EACV,oBAAoB,EACpB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,GAClB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EACV,oBAAoB,EACpB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
+
export type TypingIndicatorProps = ComponentPropsWithoutRef<"div">;
|
|
3
|
+
export declare const TypingIndicator: ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4
|
+
//# sourceMappingURL=TypingIndicator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypingIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/typing-indicator/TypingIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGlE,MAAM,MAAM,oBAAoB,GAAG,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAEnE,eAAO,MAAM,eAAe,2MAM1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/typing-indicator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
|
+
export type ValidationStatus = "pass" | "fail" | "warning";
|
|
3
|
+
export interface ValidationEntryProps extends ComponentPropsWithoutRef<"div"> {
|
|
4
|
+
status: ValidationStatus;
|
|
5
|
+
rule: string;
|
|
6
|
+
message: string;
|
|
7
|
+
path?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const ValidationEntry: ForwardRefExoticComponent<ValidationEntryProps & RefAttributes<HTMLDivElement>>;
|
|
10
|
+
//# sourceMappingURL=ValidationEntry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ValidationEntry.d.ts","sourceRoot":"","sources":["../../../../src/components/validation-entry/ValidationEntry.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGlE,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;AAE3D,MAAM,WAAW,oBAAqB,SAAQ,wBAAwB,CAAC,KAAK,CAAC;IAC3E,MAAM,EAAE,gBAAgB,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AA6DD,eAAO,MAAM,eAAe,iHA0B3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/validation-entry/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
|
+
export interface ValidationPassProps extends ComponentPropsWithoutRef<"div"> {
|
|
3
|
+
title?: string;
|
|
4
|
+
suffix?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const ValidationPass: ForwardRefExoticComponent<ValidationPassProps & RefAttributes<HTMLDivElement>>;
|
|
7
|
+
//# sourceMappingURL=ValidationPass.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ValidationPass.d.ts","sourceRoot":"","sources":["../../../../src/components/validation-pass/ValidationPass.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGlE,MAAM,WAAW,mBAAoB,SAAQ,wBAAwB,CAAC,KAAK,CAAC;IAC1E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,cAAc,gHAmB1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/validation-pass/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
export { ThemeRoot, usePortalContainer } from './theme/ThemeRoot';
|
|
2
|
+
export { useTheme } from './theme/useTheme';
|
|
3
|
+
export { cn } from './utils/cn';
|
|
4
|
+
export { Button, buttonVariants } from './components/button';
|
|
5
|
+
export type { ButtonProps } from './components/button';
|
|
6
|
+
export { Input } from './components/input';
|
|
7
|
+
export type { InputProps } from './components/input';
|
|
8
|
+
export { Textarea } from './components/textarea';
|
|
9
|
+
export type { TextareaProps } from './components/textarea';
|
|
10
|
+
export { PasswordInput } from './components/password-input';
|
|
11
|
+
export type { PasswordInputProps } from './components/password-input';
|
|
12
|
+
export { Checkbox } from './components/checkbox';
|
|
13
|
+
export type { CheckboxProps } from './components/checkbox';
|
|
14
|
+
export { RadioGroup } from './components/radio-group';
|
|
15
|
+
export type { RadioGroupProps } from './components/radio-group';
|
|
16
|
+
export { Field } from './components/field';
|
|
17
|
+
export type { FieldRootProps, FieldLabelProps, FieldDescriptionProps, FieldErrorProps } from './components/field';
|
|
18
|
+
export { Combobox } from './components/combobox';
|
|
19
|
+
export type { ComboboxRootProps, ComboboxInputProps, ComboboxPortalProps, ComboboxPositionerProps, ComboboxPopupProps, ComboboxItemProps, ComboboxItemIndicatorProps, ComboboxEmptyProps, ComboboxGroupProps, ComboboxGroupLabelProps, } from './components/combobox';
|
|
20
|
+
export { SimpleCombobox } from './components/combobox';
|
|
21
|
+
export type { SimpleComboboxProps, ComboboxItem } from './components/combobox';
|
|
22
|
+
export { Select } from './components/select';
|
|
23
|
+
export type { SelectRootProps, SelectTriggerProps, SelectValueProps, SelectIconProps, SelectPortalProps, SelectPositionerProps, SelectPopupProps, SelectItemProps, SelectItemIndicatorProps, SelectItemTextProps, SelectGroupProps, SelectGroupLabelProps, SelectScrollUpArrowProps, SelectScrollDownArrowProps, } from './components/select';
|
|
24
|
+
export { SimpleSelect } from './components/select';
|
|
25
|
+
export type { SimpleSelectProps, SelectItem, SelectGroup } from './components/select';
|
|
26
|
+
export { Switch } from './components/switch';
|
|
27
|
+
export type { SwitchRootProps, SwitchThumbProps } from './components/switch';
|
|
28
|
+
export { Dialog } from './components/dialog';
|
|
29
|
+
export type { DialogRootProps, DialogTriggerProps, DialogPortalProps, DialogBackdropProps, DialogPopupProps, DialogTitleProps, DialogDescriptionProps, DialogCloseProps, } from './components/dialog';
|
|
30
|
+
export { SimpleDialog } from './components/dialog';
|
|
31
|
+
export type { SimpleDialogProps } from './components/dialog';
|
|
32
|
+
export { Sheet, sheetPopupVariants } from './components/sheet';
|
|
33
|
+
export type { SheetRootProps, SheetTriggerProps, SheetPortalProps, SheetBackdropProps, SheetPopupProps, SheetTitleProps, SheetDescriptionProps, SheetCloseProps, } from './components/sheet';
|
|
34
|
+
export { SimpleSheet } from './components/sheet';
|
|
35
|
+
export type { SimpleSheetProps } from './components/sheet';
|
|
36
|
+
export { Card } from './components/card';
|
|
37
|
+
export type { CardRootProps, CardHeaderProps, CardTitleProps, CardDescriptionProps, CardContentProps, CardFooterProps, } from './components/card';
|
|
38
|
+
export { SimpleCard } from './components/card';
|
|
39
|
+
export type { SimpleCardProps } from './components/card';
|
|
40
|
+
export { Tabs } from './components/tabs';
|
|
41
|
+
export type { TabsRootProps, TabsListProps, TabsTabProps, TabsPanelProps, TabsIndicatorProps } from './components/tabs';
|
|
42
|
+
export { Separator } from './components/separator';
|
|
43
|
+
export type { SeparatorProps } from './components/separator';
|
|
44
|
+
export { Badge, badgeVariants } from './components/badge';
|
|
45
|
+
export type { BadgeProps } from './components/badge';
|
|
46
|
+
export { Tooltip } from './components/tooltip';
|
|
47
|
+
export type { TooltipProviderProps, TooltipRootProps, TooltipTriggerProps, TooltipPortalProps, TooltipPositionerProps, TooltipPopupProps, TooltipArrowProps, } from './components/tooltip';
|
|
48
|
+
export { Avatar } from './components/avatar';
|
|
49
|
+
export type { AvatarRootProps, AvatarImageProps, AvatarFallbackProps } from './components/avatar';
|
|
50
|
+
export { Progress } from './components/progress';
|
|
51
|
+
export type { ProgressRootProps, ProgressTrackProps, ProgressIndicatorProps } from './components/progress';
|
|
52
|
+
export { Spinner, spinnerVariants } from './components/spinner';
|
|
53
|
+
export type { SpinnerProps } from './components/spinner';
|
|
54
|
+
export { ConnectionCard } from './components/connection-card';
|
|
55
|
+
export type { ConnectionCardRootProps, ConnectionCardHeaderProps, ConnectionCardTitleProps, ConnectionCardDescriptionProps, ConnectionCardTagsProps, } from './components/connection-card';
|
|
56
|
+
export { InfoCard } from './components/info-card';
|
|
57
|
+
export type { InfoCardRootProps, InfoCardHeaderProps, InfoCardIconProps, InfoCardTitleProps, InfoCardSubtitleProps, InfoCardContentProps, InfoCardSectionProps, } from './components/info-card';
|
|
58
|
+
export { CollapsibleSection } from './components/collapsible-section';
|
|
59
|
+
export type { CollapsibleSectionRootProps, CollapsibleSectionTriggerProps, CollapsibleSectionContentProps, } from './components/collapsible-section';
|
|
60
|
+
export { SectionCard } from './components/section-card';
|
|
61
|
+
export type { SectionCardRootProps, SectionCardHeaderProps, SectionCardContentProps } from './components/section-card';
|
|
62
|
+
export { MarkdownText } from './components/markdown-text';
|
|
63
|
+
export type { MarkdownTextProps } from './components/markdown-text';
|
|
64
|
+
export { ChatMessage } from './components/chat-message';
|
|
65
|
+
export type { ChatMessageProps } from './components/chat-message';
|
|
66
|
+
export { ChatInput } from './components/chat-input';
|
|
67
|
+
export type { ChatInputProps } from './components/chat-input';
|
|
68
|
+
export { TypingIndicator } from './components/typing-indicator';
|
|
69
|
+
export type { TypingIndicatorProps } from './components/typing-indicator';
|
|
70
|
+
export { ScrollArea } from './components/scroll-area';
|
|
71
|
+
export type { ScrollAreaProps } from './components/scroll-area';
|
|
72
|
+
export { HttpLogEntry } from './components/http-log-entry';
|
|
73
|
+
export type { HttpLogEntryProps } from './components/http-log-entry';
|
|
74
|
+
export { CodeBlock } from './components/code-block';
|
|
75
|
+
export type { CodeBlockProps } from './components/code-block';
|
|
76
|
+
export { SplitPane } from './components/split-pane';
|
|
77
|
+
export type { SplitPaneRootProps, SplitPanelProps, SplitPaneHandleProps } from './components/split-pane';
|
|
78
|
+
export { ValidationEntry } from './components/validation-entry';
|
|
79
|
+
export type { ValidationEntryProps, ValidationStatus } from './components/validation-entry';
|
|
80
|
+
export { ValidationPass } from './components/validation-pass';
|
|
81
|
+
export type { ValidationPassProps } from './components/validation-pass';
|
|
82
|
+
export { CodeEditor } from './components/code-editor';
|
|
83
|
+
export type { CodeEditorProps } from './components/code-editor';
|
|
84
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
export declare const usePortalContainer: () => HTMLElement | null;
|
|
3
|
+
interface ThemeRootProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
defaultTheme?: "light" | "dark" | "system";
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
}
|
|
9
|
+
export declare function ThemeRoot({ children, defaultTheme, className, style }: ThemeRootProps): ReactNode;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=ThemeRoot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeRoot.d.ts","sourceRoot":"","sources":["../../../src/theme/ThemeRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+D,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIxH,eAAO,MAAM,kBAAkB,QAAO,WAAW,GAAG,IAA0C,CAAC;AAE/F,UAAU,cAAc;IACtB,QAAQ,EAAE,SAAS,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,YAAuB,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,cAAc,GAAG,SAAS,CAmB5G"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type Theme = "light" | "dark" | "system";
|
|
2
|
+
type ResolvedTheme = "light" | "dark";
|
|
3
|
+
export declare function useTheme(defaultTheme?: Theme): {
|
|
4
|
+
theme: Theme;
|
|
5
|
+
resolvedTheme: ResolvedTheme;
|
|
6
|
+
setTheme: (newTheme: Theme) => void;
|
|
7
|
+
};
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=useTheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/useTheme.ts"],"names":[],"mappings":"AAEA,KAAK,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AACzC,KAAK,aAAa,GAAG,OAAO,GAAG,MAAM,CAAC;AAStC,wBAAgB,QAAQ,CAAC,YAAY,GAAE,KAAgB,GAAG;IACxD,KAAK,EAAE,KAAK,CAAC;IACb,aAAa,EAAE,aAAa,CAAC;IAC7B,QAAQ,EAAE,CAAC,QAAQ,EAAE,KAAK,KAAK,IAAI,CAAC;CACrC,CA2BA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../../src/utils/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAG7C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAElD"}
|