caplink-saas-ui-shared-component-library 1.78.1 → 1.80.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/components/accordion/accordion.d.ts +1 -1
- package/dist/components/accordion/accordion.variants.d.ts +1 -1
- package/dist/components/alert/alert.d.ts +1 -1
- package/dist/components/alert/alert.variants.d.ts +1 -1
- package/dist/components/alert-banner/alert-banner.d.ts +1 -1
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button/button.variants.d.ts +1 -1
- package/dist/components/icon-button/icon-button.d.ts +1 -1
- package/dist/components/icon-button/icon-button.variants.d.ts +1 -1
- package/dist/components/input-otp/input-otp.d.ts +2 -2
- package/dist/components/status/status-text.variants.d.ts +1 -1
- package/dist/components/toast/toast.d.ts +1 -1
- package/dist/components/toast/toast.variants.d.ts +1 -1
- package/dist/features/spreadsheet/ui/indicators/column-indicator.d.ts +1 -1
- package/dist/features/spreadsheet/ui/indicators/column-title-indicator.d.ts +11 -0
- package/dist/index.d.ts +45 -45
- package/dist/index.es.js +24168 -24150
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +128 -128
- package/dist/index.umd.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
|
@@ -37,5 +37,5 @@ export declare const Accordion: import('react').ForwardRefExoticComponent<{
|
|
|
37
37
|
} & {
|
|
38
38
|
children?: ReactNode;
|
|
39
39
|
} & HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
40
|
-
variant?: "
|
|
40
|
+
variant?: "custom" | "simple" | "dragNDrop" | null | undefined;
|
|
41
41
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const accordionStartingClassNames: string;
|
|
2
2
|
export declare const accordionVariants: (props?: ({
|
|
3
|
-
variant?: "
|
|
3
|
+
variant?: "custom" | "simple" | "dragNDrop" | null | undefined;
|
|
4
4
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -9,5 +9,5 @@ export declare const Alert: import('react').ForwardRefExoticComponent<{
|
|
|
9
9
|
} & {
|
|
10
10
|
children?: ReactNode;
|
|
11
11
|
} & HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
12
|
-
variant?: "default" | "
|
|
12
|
+
variant?: "default" | "info" | "success" | "warning" | "danger" | null | undefined;
|
|
13
13
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const alertStartingClassNames: string;
|
|
2
2
|
export declare const alertVariants: (props?: ({
|
|
3
|
-
variant?: "default" | "
|
|
3
|
+
variant?: "default" | "info" | "success" | "warning" | "danger" | null | undefined;
|
|
4
4
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -12,5 +12,5 @@ export declare const AlertBanner: import('react').ForwardRefExoticComponent<{
|
|
|
12
12
|
} & {
|
|
13
13
|
children?: ReactNode;
|
|
14
14
|
} & HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
15
|
-
variant?: "default" | "
|
|
15
|
+
variant?: "default" | "info" | "success" | "warning" | "danger" | null | undefined;
|
|
16
16
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CustomVariantProp } from '../../shared/lib/custom-variant-prop';
|
|
2
2
|
import type * as React from 'react';
|
|
3
3
|
declare const badgeVariants: (props?: ({
|
|
4
|
-
variant?: "default" | "
|
|
4
|
+
variant?: "default" | "info" | "success" | null | undefined;
|
|
5
5
|
active?: boolean | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export interface BadgeProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, CustomVariantProp<typeof badgeVariants> {
|
|
@@ -11,5 +11,5 @@ export declare const Button: import('react').ForwardRefExoticComponent<{
|
|
|
11
11
|
leftAdornment?: ReactNode;
|
|
12
12
|
isLoading?: boolean | undefined;
|
|
13
13
|
} & ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({
|
|
14
|
-
variant?: "default" | "
|
|
14
|
+
variant?: "default" | "info" | "success" | "warning" | "danger" | "secondary" | "ghost" | null | undefined;
|
|
15
15
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const buttonStartingClassNames: string;
|
|
2
2
|
export declare const buttonVariants: (props?: ({
|
|
3
|
-
variant?: "default" | "
|
|
3
|
+
variant?: "default" | "info" | "success" | "warning" | "danger" | "secondary" | "ghost" | null | undefined;
|
|
4
4
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -7,5 +7,5 @@ export type IconButtonProps = {
|
|
|
7
7
|
export declare const IconButton: import('react').ForwardRefExoticComponent<{
|
|
8
8
|
asChild?: boolean | undefined;
|
|
9
9
|
} & ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({
|
|
10
|
-
variant?: "default" | "
|
|
10
|
+
variant?: "default" | "info" | "success" | "warning" | "danger" | null | undefined;
|
|
11
11
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const iconButtonStartingClassNames: string;
|
|
2
2
|
export declare const iconButtonVariants: (props?: ({
|
|
3
|
-
variant?: "default" | "
|
|
3
|
+
variant?: "default" | "info" | "success" | "warning" | "danger" | null | undefined;
|
|
4
4
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const InputOTP: {
|
|
3
|
-
Root: import('react').ForwardRefExoticComponent<((Omit<Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "
|
|
3
|
+
Root: import('react').ForwardRefExoticComponent<((Omit<Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "containerClassName" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "noScriptCSSFallback"> & {
|
|
4
4
|
value?: string | undefined;
|
|
5
5
|
onChange?: ((newValue: string) => unknown) | undefined;
|
|
6
6
|
maxLength: number;
|
|
@@ -12,7 +12,7 @@ export declare const InputOTP: {
|
|
|
12
12
|
} & {
|
|
13
13
|
render: (props: import('input-otp').RenderProps) => import('react').ReactNode;
|
|
14
14
|
children?: undefined;
|
|
15
|
-
} & import('react').RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "
|
|
15
|
+
} & import('react').RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "containerClassName" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "noScriptCSSFallback"> & {
|
|
16
16
|
value?: string | undefined;
|
|
17
17
|
onChange?: ((newValue: string) => unknown) | undefined;
|
|
18
18
|
maxLength: number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const statusTextVariants: (props?: ({
|
|
2
|
-
variant?: "default" | "
|
|
2
|
+
variant?: "default" | "info" | "success" | "warning" | null | undefined;
|
|
3
3
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -6,7 +6,7 @@ type ToastActionElement = React.ReactElement<typeof ToastAction>;
|
|
|
6
6
|
declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
|
|
7
7
|
declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
8
8
|
declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
9
|
-
variant?: "default" | "
|
|
9
|
+
variant?: "default" | "info" | "success" | "warning" | "danger" | null | undefined;
|
|
10
10
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLLIElement>>;
|
|
11
11
|
declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const toastVariants: (props?: ({
|
|
2
|
-
variant?: "default" | "
|
|
2
|
+
variant?: "default" | "info" | "success" | "warning" | "danger" | null | undefined;
|
|
3
3
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -7,5 +7,5 @@ type ColumnIndicatorProps = PropsWithChildren<{
|
|
|
7
7
|
visible?: boolean;
|
|
8
8
|
width: number;
|
|
9
9
|
}>;
|
|
10
|
-
export declare function ColumnIndicator({ className, column, visible,
|
|
10
|
+
export declare function ColumnIndicator({ className, column, visible, width, style, }: ColumnIndicatorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
11
11
|
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import * as Spreadsheet from '../../model/spreadsheet';
|
|
3
|
+
type ColumnTitleIndicatorProps = {
|
|
4
|
+
className?: string;
|
|
5
|
+
column: Spreadsheet.Column;
|
|
6
|
+
width: number;
|
|
7
|
+
visible?: boolean;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
};
|
|
10
|
+
export declare function ColumnTitleIndicator({ column, width, visible, style, className, }: ColumnTitleIndicatorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,43 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { Status } from './components/status';
|
|
5
|
-
import { Switch } from './components/switch';
|
|
6
|
-
import { Tooltip } from './components/tooltip';
|
|
7
|
-
import { Popover } from './components/popover';
|
|
8
|
-
import { Radio } from './components/radio-group';
|
|
9
|
-
import { Checkbox } from './components/checkbox';
|
|
10
|
-
import { InputOTP } from './components/input-otp';
|
|
1
|
+
import { Alert, AlertProps, alertVariants } from './components/alert';
|
|
2
|
+
import { AlertBanner, AlertBannerProps } from './components/alert-banner';
|
|
3
|
+
import { AlertDialog, AlertDialogContentProps, AlertDialogProps } from './components/alert-dialog';
|
|
11
4
|
import { Breadcrumb } from './components/breadcrumb';
|
|
5
|
+
import { Button, ButtonProps, buttonVariants } from './components/button';
|
|
12
6
|
import { Card, CardProps } from './components/card';
|
|
7
|
+
import { Checkbox } from './components/checkbox';
|
|
8
|
+
import { Dialog, DialogContentProps, DialogProps } from './components/dialog';
|
|
9
|
+
import { DataEditorCellProps, DataViewerProps, DocumentFolder, DocumentFolderCellProps, DocumentFolderDataEditor } from './components/document-folder';
|
|
10
|
+
import { DownloadFileButton, DownloadFileButtonProps, DownloadFileButtonVariant } from './components/download-file-button';
|
|
11
|
+
import { IconButton, IconButtonProps, iconButtonVariants } from './components/icon-button';
|
|
13
12
|
import { Input, InputProps } from './components/input';
|
|
14
|
-
import {
|
|
13
|
+
import { InputOTP } from './components/input-otp';
|
|
15
14
|
import { InputPassword } from './components/input-password';
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
15
|
+
import { NumericInput } from './components/numeric-input';
|
|
16
|
+
import { Popover } from './components/popover';
|
|
18
17
|
import { ProgressBar, ProgressBarProps } from './components/progress-bar';
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
18
|
+
import { Radio } from './components/radio-group';
|
|
19
|
+
import { ActiveMenuButtons, HEADING_1_CLASS, HEADING_2_CLASS, HEADING_3_CLASS, HEADING_4_CLASS, HEADING_BASE_CLASS, LINK_CLASS, P_TAG_CLASS_NAME, RichText, RichTextEditorProps, RichTextViewerProps, TEXT_BASE_CLASS, TEXT_BOLD_CLASS, TEXT_ITALIC_CLASS, TEXT_UNDERLINE_CLASS, UseEditorProps, VariableOption, isRichTextEmpty, useRichTextEditor } from './components/rich-text';
|
|
20
|
+
import { SearchStringInput, SearchStringInputProps } from './components/search-string-input';
|
|
21
|
+
import { Searchbar, SearchbarProps } from './components/searchbar';
|
|
22
|
+
import { Select } from './components/select';
|
|
23
|
+
import { Sheet, SheetContentProps, SheetProps } from './components/sheet';
|
|
24
|
+
import { Status } from './components/status';
|
|
25
|
+
import { Switch } from './components/switch';
|
|
26
|
+
import { Table, TablePaginationProps } from './components/table';
|
|
27
|
+
import { Tabs } from './components/tabs';
|
|
23
28
|
import { Textarea, TextareaProps, textareaVariants } from './components/textarea';
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import { IconButton, IconButtonProps, iconButtonVariants } from './components/icon-button';
|
|
27
|
-
import { RichText, RichTextEditorProps, RichTextViewerProps, ActiveMenuButtons, VariableOption, TEXT_BASE_CLASS, P_TAG_CLASS_NAME, TEXT_BOLD_CLASS, TEXT_ITALIC_CLASS, TEXT_UNDERLINE_CLASS, LINK_CLASS, HEADING_BASE_CLASS, HEADING_1_CLASS, HEADING_2_CLASS, HEADING_3_CLASS, HEADING_4_CLASS, useRichTextEditor, UseEditorProps, isRichTextEmpty } from './components/rich-text';
|
|
28
|
-
import { AlertDialog, AlertDialogProps, AlertDialogContentProps } from './components/alert-dialog';
|
|
29
|
-
import { DownloadFileButton, DownloadFileButtonProps, DownloadFileButtonVariant } from './components/download-file-button';
|
|
29
|
+
import { ToastFnProps, ToastProvider, Toaster, useToast } from './components/toast';
|
|
30
|
+
import { Tooltip } from './components/tooltip';
|
|
30
31
|
import { UploadImageInput, UploadImageInputProps, UploadImageInputVariant } from './components/upload-image-input';
|
|
31
|
-
import {
|
|
32
|
-
import { Table, TablePaginationProps } from './components/table';
|
|
33
|
-
import { NumericInput } from './components/numeric-input';
|
|
34
|
-
import { Select } from './components/select';
|
|
35
|
-
import { Workbook, WorkbookTabs } from './features';
|
|
32
|
+
import { ConditionalFormattingCondition, ConditionalFormatting, ConditionalFormattingRule } from './features/spreadsheet/lib/conditional-formatting';
|
|
36
33
|
import { WorkbookProps } from './features/spreadsheet/ui/workbook';
|
|
37
34
|
import { WorkbookTabsProps } from './features/spreadsheet/ui/workbook-tabs';
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
35
|
+
import { Accordion, AccordionProps, accordionVariants } from './components/accordion';
|
|
36
|
+
import { CopyTextButton, CopyTextButtonProps } from './components/copy-text-button';
|
|
37
|
+
import { FancyAccordion, FancyAccordionProps, FancyAccordionStatusEnum } from './components/fancy-accordion';
|
|
38
|
+
import { Workbook, WorkbookTabs } from './features';
|
|
39
|
+
import { EmptyFolderIcon } from './svg/empty-folder-icon';
|
|
40
|
+
import { EmptySearchIcon } from './svg/empty-search-icon';
|
|
41
|
+
import { FloatButton, FloatButtonProps } from './components/float-button/float-button';
|
|
42
|
+
import { ContentSplit, ContentSplitProps, Sidebar, SidebarHeader, SidebarProps } from './components/sidebar/ui';
|
|
41
43
|
import { useGetAdjacentNodesProps } from './features/dag/hooks';
|
|
42
44
|
import { Dag, DagContainer } from './features/dag/ui';
|
|
43
45
|
import { AdjacentNodes, AdjacentNodesProps } from './features/dag/ui/adjacent-nodes';
|
|
@@ -45,18 +47,16 @@ import { DefaultEdge, DefaultNode, SkeletonNode } from './features/dag/ui/defaul
|
|
|
45
47
|
import { FloatMenu, FloatMenuButton, FloatMenuButtonGroup, FloatMenuProps } from './features/dag/ui/float-menu';
|
|
46
48
|
import { ButtonChangeOrientationProps } from './features/dag/ui/float-menu/default-float-buttons';
|
|
47
49
|
import { SearchNode, SearchNodeProps } from './features/dag/ui/search-node';
|
|
48
|
-
import {
|
|
49
|
-
import { EmptySearchIcon } from './svg/empty-search-icon';
|
|
50
|
-
import { EmptyFolderIcon } from './svg/empty-folder-icon';
|
|
51
|
-
import { FloatButton, FloatButtonProps } from './components/float-button/float-button';
|
|
50
|
+
import { ImageUploader, ImageUploaderProps } from './features/image-uploader/ui';
|
|
52
51
|
import { InitialColumn } from './features/spreadsheet/lib/setup-columns';
|
|
53
|
-
import {
|
|
52
|
+
import { Spreadsheet } from './features/spreadsheet/ui';
|
|
53
|
+
import { Badge, BadgeProps } from './components/badge';
|
|
54
|
+
import { IconTextButtonProps } from './components/icon-text-button';
|
|
55
|
+
import { CustomPaginationProps } from './components/pagination';
|
|
54
56
|
import { Position, Connection, DagProps, DefaultNodeDataProps, Edge, EdgePosition, EdgeProps, Node, NodeProps, UseDagProps } from './features/dag/model';
|
|
55
57
|
import { GetLayoutedElementsProps } from './features/dag/utils/get-layout-elements';
|
|
56
58
|
import { CapLinkProvider } from './providers';
|
|
57
|
-
import {
|
|
58
|
-
import { Badge, BadgeProps } from './components/badge';
|
|
59
|
-
import { CustomPaginationProps } from './components/pagination';
|
|
59
|
+
import { MatrixTypes, SpreadsheetTypes } from './types';
|
|
60
60
|
export { Accordion, accordionVariants, FancyAccordion, FancyAccordionStatusEnum, Tabs, Status, Switch, Tooltip, Popover, Radio, Checkbox, InputOTP, Card, Input, SearchStringInput, Breadcrumb, Alert, alertVariants, ProgressBar, Button, buttonVariants, AlertBanner, Sheet, CopyTextButton, Textarea, textareaVariants, Dialog, ToastProvider, Toaster, useToast, IconButton, iconButtonVariants, AlertDialog, DownloadFileButton, UploadImageInput, InputPassword, Searchbar, RichText, TEXT_BASE_CLASS, P_TAG_CLASS_NAME, TEXT_BOLD_CLASS, TEXT_ITALIC_CLASS, TEXT_UNDERLINE_CLASS, LINK_CLASS, HEADING_BASE_CLASS, HEADING_1_CLASS, HEADING_2_CLASS, HEADING_3_CLASS, HEADING_4_CLASS, useRichTextEditor, isRichTextEmpty, DocumentFolder, DocumentFolderDataEditor, Table, NumericInput, Select, Workbook, WorkbookTabs, ConditionalFormattingCondition, };
|
|
61
61
|
export type { AccordionProps, CardProps, InputProps, SearchStringInputProps, TextareaProps, AlertProps, ProgressBarProps, ButtonProps, AlertBannerProps, SheetProps, SheetContentProps, CopyTextButtonProps, DialogProps, DialogContentProps, ToastFnProps, IconButtonProps, AlertDialogProps, AlertDialogContentProps, DownloadFileButtonProps, DownloadFileButtonVariant, UploadImageInputProps, UploadImageInputVariant, SearchbarProps, RichTextViewerProps, RichTextEditorProps, ActiveMenuButtons, VariableOption, UseEditorProps, DocumentFolderCellProps, DataEditorCellProps, DataViewerProps, TablePaginationProps, WorkbookProps, WorkbookTabsProps, ConditionalFormatting, ConditionalFormattingRule, };
|
|
62
62
|
/** ----------- Updated Components ----------- */
|
|
@@ -75,10 +75,10 @@ export declare const CapLink: {
|
|
|
75
75
|
IconButton: import('react').ForwardRefExoticComponent<{
|
|
76
76
|
asChild?: boolean | undefined;
|
|
77
77
|
} & import('react').ButtonHTMLAttributes<HTMLButtonElement> & import('class-variance-authority').VariantProps<(props?: ({
|
|
78
|
-
variant?: "default" | "
|
|
78
|
+
variant?: "default" | "info" | "success" | "warning" | "danger" | null | undefined;
|
|
79
79
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
80
80
|
iconButtonVariants: (props?: ({
|
|
81
|
-
variant?: "default" | "
|
|
81
|
+
variant?: "default" | "info" | "success" | "warning" | "danger" | null | undefined;
|
|
82
82
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
83
83
|
FloatButton: typeof FloatButton;
|
|
84
84
|
ContentSplit: typeof ContentSplit;
|
|
@@ -205,7 +205,7 @@ export declare const CapLink: {
|
|
|
205
205
|
({ className, ...props }: {
|
|
206
206
|
asChild?: boolean | undefined;
|
|
207
207
|
} & import('react').ButtonHTMLAttributes<HTMLButtonElement> & import('class-variance-authority').VariantProps<(props?: ({
|
|
208
|
-
variant?: "default" | "
|
|
208
|
+
variant?: "default" | "info" | "success" | "warning" | "danger" | null | undefined;
|
|
209
209
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & import('react').RefAttributes<HTMLButtonElement>): import("react/jsx-runtime").JSX.Element;
|
|
210
210
|
displayName: string;
|
|
211
211
|
};
|
|
@@ -213,13 +213,13 @@ export declare const CapLink: {
|
|
|
213
213
|
({ className, ...props }: {
|
|
214
214
|
asChild?: boolean | undefined;
|
|
215
215
|
} & import('react').ButtonHTMLAttributes<HTMLButtonElement> & import('class-variance-authority').VariantProps<(props?: ({
|
|
216
|
-
variant?: "default" | "
|
|
216
|
+
variant?: "default" | "info" | "success" | "warning" | "danger" | null | undefined;
|
|
217
217
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & import('react').RefAttributes<HTMLButtonElement>): import("react/jsx-runtime").JSX.Element;
|
|
218
218
|
displayName: string;
|
|
219
219
|
};
|
|
220
220
|
IconTextButton: import('react').ForwardRefExoticComponent<IconTextButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
221
221
|
InputOTP: {
|
|
222
|
-
Root: import('react').ForwardRefExoticComponent<((Omit<Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "
|
|
222
|
+
Root: import('react').ForwardRefExoticComponent<((Omit<Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "containerClassName" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "noScriptCSSFallback"> & {
|
|
223
223
|
value?: string | undefined;
|
|
224
224
|
onChange?: ((newValue: string) => unknown) | undefined;
|
|
225
225
|
maxLength: number;
|
|
@@ -231,7 +231,7 @@ export declare const CapLink: {
|
|
|
231
231
|
} & {
|
|
232
232
|
render: (props: import('input-otp').RenderProps) => import('react').ReactNode;
|
|
233
233
|
children?: undefined;
|
|
234
|
-
} & import('react').RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "
|
|
234
|
+
} & import('react').RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "containerClassName" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "noScriptCSSFallback"> & {
|
|
235
235
|
value?: string | undefined;
|
|
236
236
|
onChange?: ((newValue: string) => unknown) | undefined;
|
|
237
237
|
maxLength: number;
|